@ -61860,15 +61860,21 @@ const Pembayaran = ({
} ]
} ;
} ;
return /*#__PURE__*/ react . createElement ( react . Fragment , null , /*#__PURE__*/ react . createElement ( es _Row , null , /*#__PURE__*/ react . createElement ( es _Col , null , /*#__PURE__*/ react . createElement ( ( highcharts _react _min _default ( ) ) , {
return /*#__PURE__*/ react . createElement ( react . Fragment , null , /*#__PURE__*/ react . createElement ( es _Row , null , /*#__PURE__*/ react . createElement ( es _Col , {
md : "4"
} , /*#__PURE__*/ react . createElement ( ( highcharts _react _min _default ( ) ) , {
ref : refChart ,
highcharts : ( highcharts _default ( ) ) ,
options : optionsChart ( dataC , "s.d. bulan ini" , "C" )
} ) ) , /*#__PURE__*/ react . createElement ( es _Col , null , /*#__PURE__*/ react . createElement ( ( highcharts _react _min _default ( ) ) , {
} ) ) , /*#__PURE__*/ react . createElement ( es _Col , {
md : "4"
} , /*#__PURE__*/ react . createElement ( ( highcharts _react _min _default ( ) ) , {
ref : refChart1 ,
highcharts : ( highcharts _default ( ) ) ,
options : optionsChart ( dataMin1 , "s.d. bulan lalu" , "Min1" )
} ) ) , /*#__PURE__*/ react . createElement ( es _Col , null , /*#__PURE__*/ react . createElement ( ( highcharts _react _min _default ( ) ) , {
} ) ) , /*#__PURE__*/ react . createElement ( es _Col , {
md : "4"
} , /*#__PURE__*/ react . createElement ( ( highcharts _react _min _default ( ) ) , {
ref : refChart2 ,
highcharts : ( highcharts _default ( ) ) ,
options : optionsChart ( dataMin2 , "s.d. 2 bulan yang lalu" , "Min2" )
@ -62036,15 +62042,21 @@ const PayComp = ({
} ]
} ;
} ;
return /*#__PURE__*/ react . createElement ( react . Fragment , null , /*#__PURE__*/ react . createElement ( es _Row , null , /*#__PURE__*/ react . createElement ( es _Col , null , /*#__PURE__*/ react . createElement ( ( highcharts _react _min _default ( ) ) , {
return /*#__PURE__*/ react . createElement ( react . Fragment , null , /*#__PURE__*/ react . createElement ( es _Row , null , /*#__PURE__*/ react . createElement ( es _Col , {
md : "4"
} , /*#__PURE__*/ react . createElement ( ( highcharts _react _min _default ( ) ) , {
ref : refChart ,
highcharts : ( highcharts _default ( ) ) ,
options : optionsChart ( dataC , "s.d. bulan ini" , "C" )
} ) ) , /*#__PURE__*/ react . createElement ( es _Col , null , /*#__PURE__*/ react . createElement ( ( highcharts _react _min _default ( ) ) , {
} ) ) , /*#__PURE__*/ react . createElement ( es _Col , {
md : "4"
} , /*#__PURE__*/ react . createElement ( ( highcharts _react _min _default ( ) ) , {
ref : refChart1 ,
highcharts : ( highcharts _default ( ) ) ,
options : optionsChart ( dataMin1 , "s.d. bulan lalu" , "Min1" )
} ) ) , /*#__PURE__*/ react . createElement ( es _Col , null , /*#__PURE__*/ react . createElement ( ( highcharts _react _min _default ( ) ) , {
} ) ) , /*#__PURE__*/ react . createElement ( es _Col , {
md : "4"
} , /*#__PURE__*/ react . createElement ( ( highcharts _react _min _default ( ) ) , {
ref : refChart2 ,
highcharts : ( highcharts _default ( ) ) ,
options : optionsChart ( dataMin2 , "s.d. 2 bulan yang lalu" , "Min2" )
@ -62372,7 +62384,7 @@ const Pengampu = ({
}
} ,
tooltip : {
pointFormat : "<b>{point.percentage:.1f}%</b><br>: {point.y} dari " + format _angka ( total _wp ) + " total NPWP "
pointFormat : "<b>{point.percentage:.1f}%</b><br>: {point.y} dari " + format _angka ( total _wp ) + " total lokasi KPDL "
} ,
accessibility : {
point : {
@ -62414,6 +62426,182 @@ const Pengampu = ({
} ) ) ) ) ;
} ;
/* harmony default export */ const componentProgresifitas _Pengampu = ( Pengampu ) ;
; // CONCATENATED MODULE: ./app/Views/kewilayahan/kytp/componentProgresifitas/SPTTahunan.js
const SPTTahunan = ( {
dataSend
} ) => {
const base _url = "<?=base_url()?>" ;
const refChart = ( 0 , react . useRef ) ( null ) ;
const [ data , setData ] = ( 0 , react . useState ) ( null ) ;
( 0 , react . useEffect ) ( ( ) => {
jQuery . get ( {
url : base _url + "kewilayahan/kytp/sebaranSPTTahunan" ,
dataType : "json" ,
type : "POST" ,
data : {
... dataSend
} ,
success : data => {
setData ( data . data ) ;
}
} ) ;
} , [ dataSend ] ) ;
const optionsChart = ( data , title ) => {
const total _wp = dist _default ( ) ( data ) . sum ( "y" ) ;
return {
chart : {
plotBackgroundColor : null ,
plotBorderWidth : null ,
plotShadow : false ,
type : "pie" ,
zoomType : "xy" ,
height : "300"
} ,
title : {
text : title ,
style : {
fontSize : "10px"
}
} ,
tooltip : {
pointFormat : "<b>{point.percentage:.1f}%</b><br>: {point.y} dari " + format _angka ( total _wp ) + " total NPWP yang ada"
} ,
accessibility : {
point : {
valueSuffix : "%"
}
} ,
plotOptions : {
pie : {
allowPointSelect : true ,
cursor : "pointer" ,
dataLabels : {
enabled : true ,
style : {
fontSize : "10px"
} ,
format : "{point.name}: <br> {point.percentage:.1f} %"
}
}
// series: pie_click
} ,
series : [ {
name : "" ,
data
} ]
} ;
} ;
return /*#__PURE__*/ react . createElement ( react . Fragment , null , /*#__PURE__*/ react . createElement ( es _Row , null , /*#__PURE__*/ react . createElement ( es _Col , null , /*#__PURE__*/ react . createElement ( ( highcharts _react _min _default ( ) ) , {
ref : refChart ,
highcharts : ( highcharts _default ( ) ) ,
options : optionsChart ( data , "SPT Tahunan" )
} ) ) ) ) ;
} ;
/* harmony default export */ const componentProgresifitas _SPTTahunan = ( SPTTahunan ) ;
; // CONCATENATED MODULE: ./app/Views/kewilayahan/kytp/componentProgresifitas/KLU.js
const KLU = ( {
dataSend
} ) => {
const base _url = "<?=base_url()?>" ;
const refChart = ( 0 , react . useRef ) ( null ) ;
const refChart1 = ( 0 , react . useRef ) ( null ) ;
const refChart2 = ( 0 , react . useRef ) ( null ) ;
const [ dataKluTerdaftar , setDataKluTerdaftar ] = ( 0 , react . useState ) ( null ) ;
const [ dataKluYgBayar , setDataKluYgbayar ] = ( 0 , react . useState ) ( null ) ;
const [ dataRupiahBayar , setDataRupiahBayar ] = ( 0 , react . useState ) ( null ) ;
( 0 , react . useEffect ) ( ( ) => {
jQuery . get ( {
url : base _url + "kewilayahan/kytp/sebaranKLU" ,
dataType : "json" ,
type : "POST" ,
data : {
... dataSend
} ,
success : resp => {
setDataKluTerdaftar ( resp . dataKluTerdaftar ) ;
setDataKluYgbayar ( resp . dataKluYgBayar ) ;
setDataRupiahBayar ( resp . dataRupiahBayar ) ;
}
} ) ;
} , [ dataSend ] ) ;
const optionsChart = ( data , title , attribute1 ) => {
const total _wp = dist _default ( ) ( data ) . sum ( "y" ) ;
return {
chart : {
plotBackgroundColor : null ,
plotBorderWidth : null ,
plotShadow : false ,
type : "pie" ,
zoomType : "xy" ,
height : "300"
} ,
title : {
text : title ,
style : {
fontSize : "10px"
}
} ,
tooltip : {
pointFormat : "<b>{point.percentage:.1f}%</b><br>: {point.y} dari " + format _angka ( total _wp ) + " total " + attribute1
} ,
accessibility : {
point : {
valueSuffix : "%"
}
} ,
plotOptions : {
pie : {
allowPointSelect : true ,
cursor : "pointer" ,
dataLabels : {
enabled : true ,
style : {
fontSize : "10px"
} ,
format : "{point.name}: <br> {point.percentage:.1f} %"
}
}
// series: pie_click
} ,
series : [ {
name : "" ,
data
} ]
} ;
} ;
return /*#__PURE__*/ react . createElement ( react . Fragment , null , /*#__PURE__*/ react . createElement ( es _Row , null , /*#__PURE__*/ react . createElement ( es _Col , {
md : "6"
} , /*#__PURE__*/ react . createElement ( ( highcharts _react _min _default ( ) ) , {
ref : refChart ,
highcharts : ( highcharts _default ( ) ) ,
options : optionsChart ( dataKluTerdaftar , "KLU Terdaftar" , "NPWP" )
} ) ) , /*#__PURE__*/ react . createElement ( es _Col , {
md : "6"
} , /*#__PURE__*/ react . createElement ( ( highcharts _react _min _default ( ) ) , {
ref : refChart1 ,
highcharts : ( highcharts _default ( ) ) ,
options : optionsChart ( dataKluYgBayar , "KLU Yang Bayar" , "NPWP" )
} ) ) , /*#__PURE__*/ react . createElement ( es _Col , {
md : "12"
} , /*#__PURE__*/ react . createElement ( ( highcharts _react _min _default ( ) ) , {
ref : refChart2 ,
highcharts : ( highcharts _default ( ) ) ,
options : optionsChart ( dataRupiahBayar , "Dominasi KLU berdarkan Jumlah Bayar" , "Keseluruhan Pembayaran" )
} ) ) ) ) ;
} ;
/* harmony default export */ const componentProgresifitas _KLU = ( KLU ) ;
; // CONCATENATED MODULE: ./app/Views/kewilayahan/kytp/TabProgresifitas.js
@ -62424,6 +62612,8 @@ const Pengampu = ({
function TabProgresifitas ( {
dataSend
} ) {
@ -62459,30 +62649,323 @@ function TabProgresifitas({
header : "Pengampu"
} , /*#__PURE__*/ react . createElement ( componentProgresifitas _Pengampu , {
dataSend : dataSend
} ) ) , /*#__PURE__*/ react . createElement ( TabPanel , {
id : "tab_5" ,
header : "SPT Tahunan"
} , /*#__PURE__*/ react . createElement ( componentProgresifitas _SPTTahunan , {
dataSend : dataSend
} ) ) , /*#__PURE__*/ react . createElement ( TabPanel , {
id : "tab_6" ,
header : "KLU"
} ) ) ) ;
} , /*#__PURE__*/ react . createElement ( componentProgresifitas _KLU , {
dataSend : dataSend
} ) ) ) ) ;
}
; // CONCATENATED MODULE: ./node_modules/primereact/badge/badge.esm.js
'use client' ;
function badge _esm _typeof ( o ) {
"@babel/helpers - typeof" ;
return badge _esm _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol . iterator ? function ( o ) {
return typeof o ;
} : function ( o ) {
return o && "function" == typeof Symbol && o . constructor === Symbol && o !== Symbol . prototype ? "symbol" : typeof o ;
} , badge _esm _typeof ( o ) ;
}
function badge _esm _toPrimitive ( input , hint ) {
if ( badge _esm _typeof ( input ) !== "object" || input === null ) return input ;
var prim = input [ Symbol . toPrimitive ] ;
if ( prim !== undefined ) {
var res = prim . call ( input , hint || "default" ) ;
if ( badge _esm _typeof ( res ) !== "object" ) return res ;
throw new TypeError ( "@@toPrimitive must return a primitive value." ) ;
}
return ( hint === "string" ? String : Number ) ( input ) ;
}
function badge _esm _toPropertyKey ( arg ) {
var key = badge _esm _toPrimitive ( arg , "string" ) ;
return badge _esm _typeof ( key ) === "symbol" ? key : String ( key ) ;
}
function badge _esm _defineProperty ( obj , key , value ) {
key = badge _esm _toPropertyKey ( key ) ;
if ( key in obj ) {
Object . defineProperty ( obj , key , {
value : value ,
enumerable : true ,
configurable : true ,
writable : true
} ) ;
} else {
obj [ key ] = value ;
}
return obj ;
}
var badge _esm _classes = {
root : function root ( _ref ) {
var props = _ref . props ;
return utils _esm _classNames ( 'p-badge p-component' , badge _esm _defineProperty ( {
'p-badge-no-gutter' : utils _esm _ObjectUtils . isNotEmpty ( props . value ) && String ( props . value ) . length === 1 ,
'p-badge-dot' : utils _esm _ObjectUtils . isEmpty ( props . value ) ,
'p-badge-lg' : props . size === 'large' ,
'p-badge-xl' : props . size === 'xlarge'
} , "p-badge-" . concat ( props . severity ) , props . severity !== null ) ) ;
}
} ;
var badge _esm _styles = "\n@layer primereact {\n .p-badge {\n display: inline-block;\n border-radius: 10px;\n text-align: center;\n padding: 0 .5rem;\n }\n \n .p-overlay-badge {\n position: relative;\n }\n \n .p-overlay-badge .p-badge {\n position: absolute;\n top: 0;\n right: 0;\n transform: translate(50%,-50%);\n transform-origin: 100% 0;\n margin: 0;\n }\n \n .p-badge-dot {\n width: .5rem;\n min-width: .5rem;\n height: .5rem;\n border-radius: 50%;\n padding: 0;\n }\n \n .p-badge-no-gutter {\n padding: 0;\n border-radius: 50%;\n }\n}\n" ;
var badge _esm _BadgeBase = ComponentBase . extend ( {
defaultProps : {
_ _TYPE : 'Badge' ,
_ _parentMetadata : null ,
value : null ,
severity : null ,
size : null ,
style : null ,
className : null ,
children : undefined
} ,
css : {
classes : badge _esm _classes ,
styles : badge _esm _styles
}
} ) ;
function badge _esm _ownKeys ( e , r ) { var t = Object . keys ( e ) ; if ( Object . getOwnPropertySymbols ) { var o = Object . getOwnPropertySymbols ( e ) ; r && ( o = o . filter ( function ( r ) { return Object . getOwnPropertyDescriptor ( e , r ) . enumerable ; } ) ) , t . push . apply ( t , o ) ; } return t ; }
function badge _esm _objectSpread ( e ) { for ( var r = 1 ; r < arguments . length ; r ++ ) { var t = null != arguments [ r ] ? arguments [ r ] : { } ; r % 2 ? badge _esm _ownKeys ( Object ( t ) , ! 0 ) . forEach ( function ( r ) { badge _esm _defineProperty ( e , r , t [ r ] ) ; } ) : Object . getOwnPropertyDescriptors ? Object . defineProperties ( e , Object . getOwnPropertyDescriptors ( t ) ) : badge _esm _ownKeys ( Object ( t ) ) . forEach ( function ( r ) { Object . defineProperty ( e , r , Object . getOwnPropertyDescriptor ( t , r ) ) ; } ) ; } return e ; }
var badge _esm _Badge = /*#__PURE__*/ react . memo ( /*#__PURE__*/ react . forwardRef ( function ( inProps , ref ) {
var mergeProps = useMergeProps ( ) ;
var context = react . useContext ( PrimeReactContext ) ;
var props = badge _esm _BadgeBase . getProps ( inProps , context ) ;
var _BadgeBase$setMetaDat = badge _esm _BadgeBase . setMetaData ( badge _esm _objectSpread ( {
props : props
} , props . _ _parentMetadata ) ) ,
ptm = _BadgeBase$setMetaDat . ptm ,
cx = _BadgeBase$setMetaDat . cx ,
isUnstyled = _BadgeBase$setMetaDat . isUnstyled ;
useHandleStyle ( badge _esm _BadgeBase . css . styles , isUnstyled , {
name : 'badge'
} ) ;
var elementRef = react . useRef ( null ) ;
react . useImperativeHandle ( ref , function ( ) {
return {
props : props ,
getElement : function getElement ( ) {
return elementRef . current ;
}
} ;
} ) ;
var rootProps = mergeProps ( {
ref : elementRef ,
style : props . style ,
className : utils _esm _classNames ( props . className , cx ( 'root' ) )
} , badge _esm _BadgeBase . getOtherProps ( props ) , ptm ( 'root' ) ) ;
return /*#__PURE__*/ react . createElement ( "span" , rootProps , props . value ) ;
} ) ) ;
badge _esm _Badge . displayName = 'Badge' ;
; // CONCATENATED MODULE: ./app/Views/kewilayahan/kytp/componentProgresifitas/ChartKPDL.js
const ChartKpdl = ( {
dataSend
} ) => {
const base _url = "<?=base_url()?>" ;
const refChart = ( 0 , react . useRef ) ( null ) ;
const [ data , setData ] = ( 0 , react . useState ) ( {
kpdl : [ ] ,
akum : [ ] ,
categories : [ "Jan" , "Feb" , "Mar" , "Apr" , "May" , "Jun" , "Jul" , "Aug" , "Sep" , "Oct" , "Nov" , "Dec" ]
} ) ;
const [ selectedBulan , setSelectedBulan ] = ( 0 , react . useState ) ( "semua" ) ;
const [ bulan , setBulan ] = ( 0 , react . useState ) ( [ ] ) ;
( 0 , react . useEffect ) ( ( ) => {
jquery _default ( ) . get ( {
url : base _url + "kewilayahan/kytp/identifikasiLapangan" ,
dataType : "json" ,
type : "POST" ,
data : {
... dataSend ,
bulan : selectedBulan
} ,
success : data => {
setData ( data ) ;
}
} ) ;
} , [ dataSend , selectedBulan ] ) ;
( 0 , react . useEffect ) ( ( ) => {
jquery _default ( ) . get ( {
url : base _url + "kewilayahan/kytp/getBulan" ,
dataType : "json" ,
type : "GET" ,
success : data => {
setBulan ( data ) ;
}
} ) ;
} , [ ] ) ;
const optionsChart1 = ( ) => {
return {
chart : {
zoomType : "xy" ,
height : "320pt"
} ,
title : {
text : "" ,
align : "left"
} ,
subtitle : {
align : "left"
} ,
xAxis : [ {
categories : data . categories ,
crosshair : true
} ] ,
yAxis : [ {
labels : {
style : {
color : highcharts _default ( ) . getOptions ( ) . colors [ 2 ]
}
} ,
title : {
text : "Lokasi KPDL" ,
style : {
color : highcharts _default ( ) . getOptions ( ) . colors [ 2 ]
}
} ,
opposite : true
} , {
title : {
text : "Lokasi KPDL s.d." ,
style : {
color : highcharts _default ( ) . getOptions ( ) . colors [ 0 ]
}
} ,
labels : {
style : {
color : highcharts _default ( ) . getOptions ( ) . colors [ 0 ]
}
} ,
opposite : true
} ] ,
tooltip : {
shared : true
} ,
legend : {
layout : "horizontal" ,
align : "center" ,
verticalAlign : "top" ,
backgroundColor : ( highcharts _default ( ) ) . defaultOptions . legend . backgroundColor ||
// theme
"rgba(255,255,255,0.25)"
} ,
// plotOptions: {
// // series: hijau_klik_series
// },
series : [ {
name : "Lokasi KPDL" ,
type : "column" ,
yAxis : 0 ,
color : highcharts _default ( ) . getOptions ( ) . colors [ 2 ] ,
data : data . kpdl ,
marker : {
enabled : true
} ,
tooltip : {
valueSuffix : " Kpdl"
}
} , {
name : "Lokasi KPDL akumulasi" ,
type : "spline" ,
yAxis : 1 ,
data : data . akum ,
marker : {
enabled : true
} ,
tooltip : {
valueSuffix : " data"
} ,
visible : false
} ]
} ;
} ;
const refBulanOnClick = e => {
const kodeBulan = e . target . dataset . value ;
console . log ( kodeBulan ) ;
setSelectedBulan ( kodeBulan ) ;
} ;
return /*#__PURE__*/ react . createElement ( react . Fragment , null , /*#__PURE__*/ react . createElement ( es _Row , null , /*#__PURE__*/ react . createElement ( es _Col , {
md : "12"
} , /*#__PURE__*/ react . createElement ( "div" , {
className : "d-flex justify-content-between "
} , /*#__PURE__*/ react . createElement ( "div" , null , /*#__PURE__*/ react . createElement ( "span" , {
className : "mr-2"
} , "Bulan :" ) , bulan . map ( ( val , idx ) => {
return /*#__PURE__*/ react . createElement ( badge _esm _Badge , {
id : idx ,
"data-value" : val ,
severity : "warning" ,
value : val ,
className : "ref_bulan_a cursor-pointer mr-10" ,
onClick : e => refBulanOnClick ( e )
} ) ;
} ) ) , /*#__PURE__*/ react . createElement ( "div" , null , /*#__PURE__*/ react . createElement ( "span" , null , "Bulan terpilih : " ) , /*#__PURE__*/ react . createElement ( "span" , null , selectedBulan ) ) ) ) ) , /*#__PURE__*/ react . createElement ( es _Row , null , /*#__PURE__*/ react . createElement ( es _Col , null , /*#__PURE__*/ react . createElement ( ( highcharts _react _min _default ( ) ) , {
ref : refChart ,
highcharts : ( highcharts _default ( ) ) ,
options : optionsChart1 ( )
} ) ) ) ) ;
} ;
/* harmony default export */ const ChartKPDL = ( ChartKpdl ) ;
; // CONCATENATED MODULE: ./app/Views/kewilayahan/kytp/TabPenugasan.js
function TabPenugasan ( {
const TabPenugasan = ( {
dataSend
} ) {
return /*#__PURE__*/ react . createElement ( "div" , {
className : "card"
} , /*#__PURE__*/ react . createElement ( TabView , null , /*#__PURE__*/ react . createElement ( TabPanel , {
} ) => {
return /*#__PURE__*/ react . createElement ( react . Fragment , null , /*#__PURE__*/ react . createElement ( es _Card , null , /*#__PURE__*/ react . createElement ( es _CardBody , {
className : ""
} , /*#__PURE__*/ react . createElement ( TabView , {
className : "p-1" ,
pt : {
panelContainer : {
className : "p-1"
}
}
} , /*#__PURE__*/ react . createElement ( TabPanel , {
className : "p-" ,
id : "tab_1" ,
header : "Identifikasi Lapangan (KPDL)"
} ) , /*#__PURE__*/ react . createElement ( TabPanel , {
header : "Identifikasi Lapangan (KPDL/MATOA)"
} , /*#__PURE__*/ react . createElement ( ChartKPDL , {
dataSend : dataSend
} ) ) , /*#__PURE__*/ react . createElement ( TabPanel , {
id : "tab_2" ,
header : "Aktifitas pasca identifikasi"
} ) , /*#__PURE__*/ react . createElement ( TabPanel , {
id : "tab_3" ,
header : "Hasil"
} ) ) ) ;
}
} ) ) ) ) ) ;
} ;
/* harmony default export */ const kytp _TabPenugasan = ( TabPenugasan ) ;
; // CONCATENATED MODULE: ./app/Views/kewilayahan/kytp/kpdl.js
@ -62623,11 +63106,11 @@ const Root = () => {
}
} , [ kecSelected ] ) ;
( 0 , react . useEffect ) ( ( ) => {
setKpp ( [ ] ) ;
setKpp ( null ) ;
setSeksi ( [ ] ) ;
setAr ( [ ] ) ;
setZp ( [ ] ) ;
setKppSelected ( [ ] ) ;
setKppSelected ( null ) ;
setSeksiSelected ( [ ] ) ;
setArSelected ( [ ] ) ;
setZpSelected ( [ ] ) ;
@ -62654,7 +63137,8 @@ const Root = () => {
setArSelected ( [ ] ) ;
setZpSelected ( [ ] ) ;
if ( kppSelected && ! isObjEmpty ( kppSelected ) ) {
const kpp = dist _default ( ) ( kppSelected ) . pluck ( "value" ) . all ( ) ;
// const kpp = collect(kppSelected).pluck("value").all()
const kpp = [ kppSelected . value ] ;
jquery _default ( ) . ajax ( {
url : base _url + "kewilayahan/ref/zpseksi" ,
method : "GET" ,
@ -62674,7 +63158,7 @@ const Root = () => {
setArSelected ( [ ] ) ;
setZpSelected ( [ ] ) ;
if ( seksiSelected && ! isObjEmpty ( seksiSelected ) ) {
const kpp = dist _default ( ) ( kppSelected ) . pluck ( "value" ) . all ( ) ;
const kpp = [ kppSelected . value ] ;
const seksi = dist _default ( ) ( seksiSelected ) . pluck ( "value" ) . all ( ) ;
jquery _default ( ) . ajax ( {
url : base _url + "kewilayahan/ref/zpar" ,
@ -62694,7 +63178,7 @@ const Root = () => {
setZp ( [ ] ) ;
setZpSelected ( [ ] ) ;
if ( arSelected && ! isObjEmpty ( arSelected ) ) {
const kpp = dist _default ( ) ( kppSelected ) . pluck ( " value" ) . all ( ) ;
const kpp = kppSelected . value ;
const seksi = dist _default ( ) ( seksiSelected ) . pluck ( "value" ) . all ( ) ;
const ar = dist _default ( ) ( arSelected ) . pluck ( "value" ) . all ( ) ;
jquery _default ( ) . ajax ( {
@ -63020,8 +63504,9 @@ const Root = () => {
onChange : e => {
setKanwilSelected ( e ) ;
} ,
classNamePrefix : "select" ,
defaultValue : kanwilSelected ,
classNamePrefix : "select"
// defaultValue={kanwilSelected}
,
value : kanwilSelected ,
isClearable : false ,
options : kanwil
@ -63030,20 +63515,18 @@ const Root = () => {
} , /*#__PURE__*/ react . createElement ( es _Label , {
className : "form-label" ,
for : "Pilih KPP"
} , "KPP" ) , /*#__PURE__*/ react . createElement ( je , {
className : "me-1 w-full" ,
hasSelectAll : true ,
debounceDuration : 300 ,
options : kpp ,
value : kppSelected ,
} , "KPP" ) , /*#__PURE__*/ react . createElement ( StateManagedSelect$1 , {
placeholder : "Pilih KPP" ,
className : "basic-single w-100" ,
onChange : e => {
setKppSelected ( e ) ;
} ,
labelledBy : "Pilih KPP" ,
overrideStrings : {
allItemsAreSelected : "Semua dipilih" ,
selectSomeItems : "Pilih KPP"
}
classNamePrefix : "select"
// defaultValue={kanwilSelected}
,
value : kppSelected ,
isClearable : false ,
options : kpp
} ) ) , /*#__PURE__*/ react . createElement ( es _Col , {
md : "2"
} , /*#__PURE__*/ react . createElement ( es _Label , {
@ -63130,9 +63613,9 @@ const Root = () => {
dataSend : dataSend
} ) ) ) ) ) , /*#__PURE__*/ react . createElement ( es _Row , null , /*#__PURE__*/ react . createElement ( es _Col , {
sm : "12"
} , /*#__PURE__*/ react . createElement ( es _Card , null , /*#__PURE__*/ react . createElement ( es _CardBody , null , /*#__PURE__*/ react . createElement ( TabPenugasan , {
} , /*#__PURE__*/ react . createElement ( kytp _ TabPenugasan, {
dataSend : dataSend
} ) ) ) ) ) , /*#__PURE__*/ react . createElement ( Toast , {
} ) ) ) , /*#__PURE__*/ react . createElement ( Toast , {
ref : toast
} ) ) ;
} ;