@arcgis/charts-components 6.0.0-next.1 → 6.0.0-next.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/{CYGMXV56.js → 2AQOOOLP.js} +2 -2
- package/dist/cdn/{6P652GSA.js → 2BPLDZAJ.js} +2 -2
- package/dist/cdn/{EQZBQP5A.js → 2IME76YJ.js} +2 -2
- package/dist/cdn/{5D2QRMC6.js → 2U7I6WSI.js} +2 -2
- package/dist/cdn/{BGQBOLMO.js → 2WQNU554.js} +2 -2
- package/dist/cdn/{G4A4HBNN.js → 33LWKOPD.js} +2 -2
- package/dist/cdn/{KGUFKVDR.js → 373UZR4I.js} +2 -2
- package/dist/cdn/{VKU5WPWI.js → 3DDSV3IF.js} +2 -2
- package/dist/cdn/3MXANTL7.js +2 -0
- package/dist/cdn/{WTF2PFHV.js → 3VLTTU3Q.js} +2 -2
- package/dist/cdn/{KFLVZ3W6.js → 3VZK52LO.js} +2 -2
- package/dist/cdn/4CUMUAAH.js +2 -0
- package/dist/cdn/4MCM2HLB.js +2 -0
- package/dist/cdn/{HP4BKU3R.js → 4MSDOPVE.js} +2 -2
- package/dist/cdn/{UQSD6YZM.js → 4PZOGAUO.js} +2 -2
- package/dist/cdn/{ACJYOVLW.js → 52PHJCYM.js} +2 -2
- package/dist/cdn/{UT5D2ZKJ.js → 55DRYT5X.js} +2 -2
- package/dist/cdn/{L6O73HFV.js → 57RWTLRG.js} +2 -2
- package/dist/cdn/{POA2XTTK.js → 5AKOPV7Z.js} +2 -2
- package/dist/cdn/{Q4U7XCT6.js → 5ANJA54O.js} +2 -2
- package/dist/cdn/5BRIW4JG.js +2 -0
- package/dist/cdn/{CB6RALFJ.js → 5JK6VH6K.js} +2 -2
- package/dist/cdn/5OYAVQQE.js +2 -0
- package/dist/cdn/{7COM5REK.js → 5RNBCLC3.js} +2 -2
- package/dist/cdn/5ZUY5423.js +2 -0
- package/dist/cdn/62FX3J5X.js +2 -0
- package/dist/cdn/{2BE3GYK4.js → 67ANW3I4.js} +2 -2
- package/dist/cdn/{77MRFLGO.js → 6FW2SXLC.js} +2 -2
- package/dist/cdn/6QBSP4KD.js +2 -0
- package/dist/cdn/6RWOVGNO.js +2 -0
- package/dist/cdn/7CKN3OHT.js +2 -0
- package/dist/cdn/7GF7IASO.js +2 -0
- package/dist/cdn/{Q45WYAOY.js → 7JMZPDM5.js} +1 -1
- package/dist/cdn/A2PYAGE3.js +2 -0
- package/dist/cdn/ADQTDPLB.js +2 -0
- package/dist/cdn/{CPHTAVGQ.js → AS2IRRXE.js} +2 -2
- package/dist/cdn/{Z5QPCSUQ.js → AUKJ4CBR.js} +2 -2
- package/dist/cdn/{E3EMRNWO.js → AVRIN2FL.js} +2 -2
- package/dist/cdn/{QVG3TOL4.js → BNAX4Y53.js} +1 -1
- package/dist/cdn/BNNHHDU7.js +2 -0
- package/dist/cdn/{PIZPF2BH.js → BRDWYHNB.js} +2 -2
- package/dist/cdn/BRTTYFXT.js +2 -0
- package/dist/cdn/{ENFJM3LJ.js → C7VQM4TH.js} +2 -2
- package/dist/cdn/CI5EMPAM.js +2 -0
- package/dist/cdn/{VLCUXTLC.js → D2PAS7YI.js} +2 -2
- package/dist/cdn/D6GRNBZP.js +2 -0
- package/dist/cdn/D6WOKCOW.js +2 -0
- package/dist/cdn/DEXP6J3O.js +2 -0
- package/dist/cdn/{ZLCRTIQH.js → DGKQXBUX.js} +2 -2
- package/dist/cdn/{OKAZOAYZ.js → DKV3ENOO.js} +2 -2
- package/dist/cdn/DMOEIZNS.js +2 -0
- package/dist/cdn/DRUWV4QU.js +2 -0
- package/dist/cdn/{B2SUC7VR.js → DTUR5Z3G.js} +2 -2
- package/dist/cdn/{XEUHT7JB.js → DXDQ6EMD.js} +25 -25
- package/dist/cdn/{6WKTHJQK.js → E5DTUNML.js} +2 -2
- package/dist/cdn/{UUVJGPFG.js → ECJI2AWN.js} +2 -2
- package/dist/cdn/{7C2LVFNV.js → EMVUIELY.js} +2 -2
- package/dist/cdn/EOTR4BKX.js +2 -0
- package/dist/cdn/EPY6V4CJ.js +4 -0
- package/dist/cdn/ESXR5BLH.js +2 -0
- package/dist/cdn/{YCQLYXH4.js → ETGI2F7C.js} +2 -2
- package/dist/cdn/EYDYH5BT.js +2 -0
- package/dist/cdn/F3RF7JPT.js +2 -0
- package/dist/cdn/{QP5UAIC6.js → FHN6CIIO.js} +1 -1
- package/dist/cdn/{24MSASQQ.js → FKBLB3H6.js} +2 -2
- package/dist/cdn/{QD7SXYTF.js → FKES55PK.js} +2 -2
- package/dist/cdn/{LAEUROZM.js → FLCOXPGW.js} +2 -2
- package/dist/cdn/{2C2NIEZB.js → FM6F6ZYW.js} +2 -2
- package/dist/cdn/{LVFZRGTZ.js → FNXREQOE.js} +2 -2
- package/dist/cdn/FYQGRCBG.js +2 -0
- package/dist/cdn/G37AUFZF.js +2 -0
- package/dist/cdn/G5VMZ4VH.js +2 -0
- package/dist/cdn/GAKY2U56.js +2 -0
- package/dist/cdn/GBX7JKXH.js +2 -0
- package/dist/cdn/{LN2ZLCLE.js → GCUOASRZ.js} +2 -2
- package/dist/cdn/GOIPGQBY.js +2 -0
- package/dist/cdn/{BK7DHYA7.js → GPGC4L7H.js} +2 -2
- package/dist/cdn/GRGXX2Z5.js +2 -0
- package/dist/cdn/GRMO7AJJ.js +2 -0
- package/dist/cdn/{RP6LD7CU.js → GSCC3FON.js} +2 -2
- package/dist/cdn/{TB7JE5XK.js → GV333VNC.js} +2 -2
- package/dist/cdn/{L7USVDCR.js → H3ZHPXRC.js} +2 -2
- package/dist/cdn/{YNHYJOH7.js → H5VCT3XP.js} +2 -2
- package/dist/cdn/HHHAJL7M.js +2 -0
- package/dist/cdn/HNXEJNF2.js +2 -0
- package/dist/cdn/{DOOQHQ3P.js → HUU3QFFC.js} +2 -2
- package/dist/cdn/HVJPAZGC.js +2 -0
- package/dist/cdn/HVNTD3Q6.js +2 -0
- package/dist/cdn/HXMLK3YJ.js +2 -0
- package/dist/cdn/HZTTUPNN.js +2 -0
- package/dist/cdn/I6SVVJK3.js +2 -0
- package/dist/cdn/{OBPAQN4H.js → IBCFYECI.js} +1 -1
- package/dist/cdn/IBZIYVHR.js +2 -0
- package/dist/cdn/{J7CDASEM.js → INILFUNG.js} +2 -2
- package/dist/cdn/IVTDNZSZ.js +2 -0
- package/dist/cdn/{I2BM5KSH.js → J2BBY6FO.js} +2 -2
- package/dist/cdn/{5FZODM64.js → J5VMBGYI.js} +2 -2
- package/dist/cdn/{M3XUZXNC.js → JYLCRNMW.js} +2 -2
- package/dist/cdn/{NKPZCF5U.js → K2BDZCYY.js} +2 -2
- package/dist/cdn/{5XJT5ZZ3.js → K43DVQFC.js} +2 -2
- package/dist/cdn/{S6QN5N3G.js → KCP6AJV7.js} +2 -2
- package/dist/cdn/{YU3PMXUH.js → KE7XE22Z.js} +2 -2
- package/dist/cdn/{NWITMWCT.js → KK445MLC.js} +2 -2
- package/dist/cdn/{NRXCKYYY.js → KK532FRP.js} +2 -2
- package/dist/cdn/{ADI63OO7.js → KR6LSUUG.js} +2 -2
- package/dist/cdn/{TOL6YNER.js → KRRYFLG4.js} +2 -2
- package/dist/cdn/{NWLNHFHJ.js → KWC3D6QX.js} +2 -2
- package/dist/cdn/{ZSPRUAWO.js → L26HYK34.js} +2 -2
- package/dist/cdn/{5ZQUHYTV.js → L4KDCWA7.js} +2 -2
- package/dist/cdn/{MFJTFFLO.js → LE3B3ATZ.js} +2 -2
- package/dist/cdn/{BDEDEGCZ.js → LYEEM2QH.js} +2 -2
- package/dist/cdn/{H36JC7RS.js → M7MSRLEE.js} +2 -2
- package/dist/cdn/{P37JASN4.js → MG5KAUC3.js} +2 -2
- package/dist/cdn/MVIMCR4O.js +2 -0
- package/dist/cdn/{ZZHKDFTA.js → MXQONC3S.js} +2 -2
- package/dist/cdn/MXTS44AG.js +2 -0
- package/dist/cdn/{3VMHKSYP.js → N7JJ6DIC.js} +1 -1
- package/dist/cdn/NCPNWQMP.js +2 -0
- package/dist/cdn/NHJPAIVY.js +2 -0
- package/dist/cdn/{TK2F34AK.js → NUTUTE7W.js} +2 -2
- package/dist/cdn/OA24BIJ5.js +2 -0
- package/dist/cdn/OO25ZLEY.js +2 -0
- package/dist/cdn/OQ2DAU4S.js +2 -0
- package/dist/cdn/{ZD6FBRAV.js → OYUTQX4U.js} +2 -2
- package/dist/cdn/{PABVNO3N.js → OZSHGMU6.js} +2 -2
- package/dist/cdn/{NGXRBJKL.js → OZSOICXE.js} +1 -1
- package/dist/cdn/{L7CMLBHB.js → P67ON5B6.js} +1 -1
- package/dist/cdn/{64B7ILJI.js → PANHH53Q.js} +2 -2
- package/dist/cdn/PBQRZBQM.js +2 -0
- package/dist/cdn/PBWXTUZG.js +2 -0
- package/dist/cdn/{64JQTZPV.js → PQESGESY.js} +2 -2
- package/dist/cdn/{5GAM5RFW.js → Q4H5YVTW.js} +2 -2
- package/dist/cdn/{64L7VJJK.js → QGHI4FS2.js} +2 -2
- package/dist/cdn/{UGNJ4AF4.js → QLBO3URO.js} +2 -2
- package/dist/cdn/{4DXGXATO.js → QM6ITQXX.js} +2 -2
- package/dist/cdn/{RJB4BUDG.js → R4PFJLD2.js} +2 -2
- package/dist/cdn/R53Q2XGQ.js +2 -0
- package/dist/cdn/REHZ6CP3.js +2 -0
- package/dist/cdn/{OQFM5DBD.js → RFOCYJOH.js} +2 -2
- package/dist/cdn/{K7KTLLN3.js → RPB56XMC.js} +3 -3
- package/dist/cdn/RWR5WVPG.js +2 -0
- package/dist/cdn/{JC3KQC4M.js → RZY26VLW.js} +2 -2
- package/dist/cdn/{TOFHR6G7.js → SBJXOYLB.js} +2 -2
- package/dist/cdn/{UIH663J3.js → SCS4MWFN.js} +2 -2
- package/dist/cdn/{SSOL6PCL.js → SDQYOTQB.js} +2 -2
- package/dist/cdn/SERDXBEF.js +2 -0
- package/dist/cdn/SFX2QCRS.js +2 -0
- package/dist/cdn/{Y3X7AUIP.js → SMHUUBEU.js} +2 -2
- package/dist/cdn/SOSQGEYI.js +2 -0
- package/dist/cdn/{UD724V36.js → SZACRMUM.js} +2 -2
- package/dist/cdn/{AX6KSFYK.js → TFWCYDKN.js} +2 -2
- package/dist/cdn/TG37UNR7.js +2 -0
- package/dist/cdn/{BYSUABOV.js → TIWCUJOG.js} +1 -1
- package/dist/cdn/TTV7DGFQ.js +2 -0
- package/dist/cdn/TU3OFQPY.js +2 -0
- package/dist/cdn/{OISERMTF.js → U2FUO2GZ.js} +2 -2
- package/dist/cdn/{CG7KYJ6V.js → UHSL7Y3B.js} +2 -2
- package/dist/cdn/{Y3C3CPH6.js → UITA7CSN.js} +2 -2
- package/dist/cdn/{ZEI2ZKEJ.js → UQRD2CTK.js} +2 -2
- package/dist/cdn/UUEYN7QY.js +2 -0
- package/dist/cdn/{QIG5H6WA.js → UWQ27S2B.js} +2 -2
- package/dist/cdn/V35YA4VJ.js +2 -0
- package/dist/cdn/{O7QPA3NH.js → V7SVV26H.js} +2 -2
- package/dist/cdn/{NUD4N547.js → VITUV4HV.js} +2 -2
- package/dist/cdn/VJMXXMFI.js +2 -0
- package/dist/cdn/{SO5USEBM.js → VKMVMHTT.js} +2 -2
- package/dist/cdn/{5WIR3JWC.js → VRDO75EG.js} +2 -2
- package/dist/cdn/{2BYGCYAZ.js → VT3NOR5A.js} +2 -2
- package/dist/cdn/{LWT3HZYN.js → W7VPVF72.js} +2 -2
- package/dist/cdn/WAHJIOS5.js +2 -0
- package/dist/cdn/{TRAVRA3M.js → WIOGS5VR.js} +2 -2
- package/dist/cdn/WIXK4A6U.js +2 -0
- package/dist/cdn/{KX7KGXKQ.js → WKF53DYD.js} +1 -1
- package/dist/cdn/{YG254BNH.js → WMGJN3JL.js} +2 -2
- package/dist/cdn/X5TWBBO6.js +2 -0
- package/dist/cdn/XF7SJJ6J.js +2 -0
- package/dist/cdn/{YD3ETL5Z.js → XFEWDUTX.js} +2 -2
- package/dist/cdn/{6HBAS6LD.js → XIE5EUIH.js} +2 -2
- package/dist/cdn/XJUMOE6X.js +2 -0
- package/dist/cdn/{GL2VXFGY.js → XR7RCGIT.js} +2 -2
- package/dist/cdn/XS33HEQ4.js +4 -0
- package/dist/cdn/{IJGJ7LW4.js → XTGFTMVI.js} +2 -2
- package/dist/cdn/XTYXEE3J.js +2 -0
- package/dist/cdn/{ZSP5DFLS.js → XUSFQDK4.js} +2 -2
- package/dist/cdn/{5L7BAEX5.js → XXO5K6N4.js} +2 -2
- package/dist/cdn/Y67ETZ3T.js +2 -0
- package/dist/cdn/Y7P2RW24.js +2 -0
- package/dist/cdn/{P5I5RQTN.js → Y7ZYTQQ5.js} +2 -2
- package/dist/cdn/{IDAOLPMA.js → YA4OQLNH.js} +2 -2
- package/dist/cdn/{UE4KTI5X.js → YF6ML4P6.js} +2 -2
- package/dist/cdn/{QKZK6MTN.js → YKNX76GX.js} +2 -2
- package/dist/cdn/{5ALFG7T4.js → Z2IHEWWP.js} +2 -2
- package/dist/cdn/{KOY5DWSR.js → Z7AXROEU.js} +2 -2
- package/dist/cdn/{AKW3NHSY.js → ZCEZ3K6F.js} +2 -2
- package/dist/cdn/{OD2NWPCL.js → ZCJFZFEV.js} +2 -2
- package/dist/cdn/ZFWGZCEY.js +2 -0
- package/dist/cdn/ZK3ZCNLZ.js +2 -0
- package/dist/cdn/index.js +2 -2
- package/dist/cdn/model/shared/setup-utils.js +2 -2
- package/dist/chunks/action-bar-utils.js +19 -21
- package/dist/chunks/axis-lines-symbol.js +7 -7
- package/dist/chunks/axis-model-wrapper.js +1 -1
- package/dist/chunks/bar-chart-model.js +6 -8
- package/dist/chunks/bg_BG.js +1 -1
- package/dist/chunks/box-plot-data.js +134 -135
- package/dist/chunks/box-plot-model.js +45 -43
- package/dist/chunks/chart-model.js +32 -34
- package/dist/chunks/chart-object-literals.js +1 -1
- package/dist/chunks/chart-ui-utils.js +46 -48
- package/dist/chunks/chart-ui-utils2.js +2 -2
- package/dist/chunks/class-breaks.js +15 -15
- package/dist/chunks/combo-bar-line-chart-model.js +16 -17
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/data-labels-symbol.js +2 -2
- package/dist/chunks/data-labels-visibility.js +2 -2
- package/dist/chunks/data.js +53 -55
- package/dist/chunks/default.js +1 -1
- package/dist/chunks/gauge-model.js +66 -66
- package/dist/chunks/generate-x-axis-title.js +20 -20
- package/dist/chunks/heat-chart-model.js +14 -15
- package/dist/chunks/histogram-data.js +48 -49
- package/dist/chunks/histogram-model.js +7 -7
- package/dist/chunks/index.js +5321 -4202
- package/dist/chunks/index2.js +1166 -872
- package/dist/chunks/index3.js +11041 -1174
- package/dist/chunks/index4.js +66 -11087
- package/dist/chunks/interfaces.js +1 -1
- package/dist/chunks/line-chart-model.js +19 -20
- package/dist/chunks/model-setter.js +7 -7
- package/dist/chunks/model-types.js +1 -1
- package/dist/chunks/model-with-line-marker-styling.js +1 -1
- package/dist/chunks/model-with-x-guides.js +2 -2
- package/dist/chunks/model-with-y-guides.js +26 -26
- package/dist/chunks/negative-values-stacked-to-baseline.js +7 -7
- package/dist/chunks/pie-chart-data.js +26 -28
- package/dist/chunks/pie-chart-model.js +30 -29
- package/dist/chunks/popover-ui-utils.js +1 -1
- package/dist/chunks/radar-chart-model.js +7 -8
- package/dist/chunks/resource.js +2 -2
- package/dist/chunks/resources.js +1 -1
- package/dist/chunks/rest-js-object-literals.js +1 -1
- package/dist/chunks/rotated-state.js +2 -2
- package/dist/chunks/rounded-corners.js +3 -3
- package/dist/chunks/runtime.js +2 -2
- package/dist/chunks/scatterplot-model.js +14 -16
- package/dist/chunks/serial-chart-data.js +459 -461
- package/dist/chunks/serial-chart-model.js +71 -68
- package/dist/chunks/series-length.js +5 -5
- package/dist/chunks/series-types.js +1 -1
- package/dist/chunks/series.js +2 -2
- package/dist/chunks/store.js +1 -1
- package/dist/chunks/type-guards.js +110 -56
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/utils.js +147 -213
- package/dist/chunks/web-component-utils.js +56 -57
- package/dist/chunks/x-bounds.js +25 -26
- package/dist/components/arcgis-chart/customElement.d.ts +112 -30
- package/dist/components/arcgis-chart/customElement.js +8089 -7870
- package/dist/components/arcgis-charts-action-bar/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-axis/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +8 -8
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +63 -58
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +11 -12
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +52 -46
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +107 -105
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +12 -13
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +53 -47
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-colors/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +190 -185
- package/dist/components/arcgis-charts-config-field-picker/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-font-style/customElement.js +8 -8
- package/dist/components/arcgis-charts-config-format/customElement.js +38 -39
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-general/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-guide/customElement.js +8 -8
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +15 -16
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +33 -34
- package/dist/components/arcgis-charts-config-histogram/customElement.js +3 -4
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +3 -4
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +4 -5
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +5 -6
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +6 -7
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +39 -34
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +6 -7
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +10 -11
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +9 -10
- package/dist/components/arcgis-charts-config-scatter-plot-aoi/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +9 -11
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +4 -5
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +22 -26
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +21 -22
- package/dist/components/arcgis-charts-info-modal/customElement.js +5 -5
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +397 -399
- package/dist/loader.js +3 -3
- package/dist/model/box-plot-model/box-plot-model.d.ts +6 -2
- package/dist/model/pie-chart-model/pie-chart-model.d.ts +6 -2
- package/dist/model/serial-chart-model/serial-chart-model.d.ts +6 -2
- package/dist/model/shared/setup-utils.js +1 -1
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +1 -1
- package/dist/utils/chart-config/converter/index.js +74 -76
- package/dist/utils/data/categorical-data/index.d.ts +1 -0
- package/dist/utils/misc/index.d.ts +4 -4
- package/package.json +5 -5
- package/dist/cdn/2JIOGP7R.js +0 -2
- package/dist/cdn/32URMI5E.js +0 -2
- package/dist/cdn/3C5377V2.js +0 -2
- package/dist/cdn/3EOTHJWP.js +0 -2
- package/dist/cdn/3U6UEUC3.js +0 -2
- package/dist/cdn/3V7MD72Y.js +0 -2
- package/dist/cdn/4IZR4ZL4.js +0 -2
- package/dist/cdn/4R6YXEBJ.js +0 -2
- package/dist/cdn/53QW4BYR.js +0 -2
- package/dist/cdn/5CXU3NKH.js +0 -2
- package/dist/cdn/5DHZV7X2.js +0 -2
- package/dist/cdn/64VXZM5A.js +0 -2
- package/dist/cdn/6RB4RYGN.js +0 -2
- package/dist/cdn/7TK4GSLV.js +0 -2
- package/dist/cdn/A5EZTVKV.js +0 -2
- package/dist/cdn/AL6ZEHZK.js +0 -2
- package/dist/cdn/B5SRZGC2.js +0 -2
- package/dist/cdn/BF2W5NTN.js +0 -2
- package/dist/cdn/BRBAHSCB.js +0 -2
- package/dist/cdn/BRW7VZ2C.js +0 -2
- package/dist/cdn/C7WUBEMI.js +0 -2
- package/dist/cdn/CE2OEL6G.js +0 -2
- package/dist/cdn/DA5DYK4X.js +0 -2
- package/dist/cdn/DP3ALDSI.js +0 -2
- package/dist/cdn/DPXBPL2Y.js +0 -2
- package/dist/cdn/DUIC7PGW.js +0 -2
- package/dist/cdn/EETR5IRC.js +0 -2
- package/dist/cdn/EHD6HNUK.js +0 -2
- package/dist/cdn/EJAZWHRG.js +0 -2
- package/dist/cdn/EWFT2JV5.js +0 -2
- package/dist/cdn/EWS4XDX5.js +0 -2
- package/dist/cdn/FI67QJAR.js +0 -2
- package/dist/cdn/FTR2IWDM.js +0 -2
- package/dist/cdn/G2T43FGA.js +0 -2
- package/dist/cdn/GPFDXMZV.js +0 -2
- package/dist/cdn/GUU5K7KZ.js +0 -2
- package/dist/cdn/HGCITTOQ.js +0 -2
- package/dist/cdn/HPXU7UB6.js +0 -2
- package/dist/cdn/HPZNKDNN.js +0 -2
- package/dist/cdn/HRYM365L.js +0 -2
- package/dist/cdn/J24X7IAD.js +0 -2
- package/dist/cdn/JBGGX4GF.js +0 -2
- package/dist/cdn/JCSGUVJN.js +0 -2
- package/dist/cdn/JZCSDGTO.js +0 -2
- package/dist/cdn/KCJ3UIVJ.js +0 -2
- package/dist/cdn/KFS2IDLJ.js +0 -2
- package/dist/cdn/KOPGJ6GL.js +0 -2
- package/dist/cdn/KWJG3BJA.js +0 -2
- package/dist/cdn/L6ACX7PK.js +0 -3
- package/dist/cdn/L6AHDF5D.js +0 -2
- package/dist/cdn/M4G56EOH.js +0 -2
- package/dist/cdn/NNIAFAEK.js +0 -2
- package/dist/cdn/O3VCA2HA.js +0 -2
- package/dist/cdn/OAQCPPNF.js +0 -2
- package/dist/cdn/ORTPYOO7.js +0 -2
- package/dist/cdn/OWAETVFH.js +0 -2
- package/dist/cdn/PNFPQKYB.js +0 -3
- package/dist/cdn/PXKD656W.js +0 -2
- package/dist/cdn/QKPEMJRH.js +0 -2
- package/dist/cdn/QXIFJISA.js +0 -2
- package/dist/cdn/R44U46BF.js +0 -2
- package/dist/cdn/RB2DJJAF.js +0 -2
- package/dist/cdn/RV2J4OPJ.js +0 -2
- package/dist/cdn/TLPP547P.js +0 -2
- package/dist/cdn/TPFFIATK.js +0 -2
- package/dist/cdn/U64ICCSZ.js +0 -2
- package/dist/cdn/UW35QKDS.js +0 -4
- package/dist/cdn/VB6XKC4W.js +0 -2
- package/dist/cdn/VCER6DFQ.js +0 -2
- package/dist/cdn/W5Z2EI2D.js +0 -2
- package/dist/cdn/WAUIROBC.js +0 -2
- package/dist/cdn/WOGALV3T.js +0 -2
- package/dist/cdn/WULMITJI.js +0 -2
- package/dist/cdn/WYDO2IF4.js +0 -2
- package/dist/cdn/WYIHJMCL.js +0 -2
- package/dist/cdn/XE6MQ6IR.js +0 -2
- package/dist/cdn/ZLI33FIZ.js +0 -2
- package/dist/cdn/ZQPCVZ2Z.js +0 -2
- package/dist/chunks/index5.js +0 -69
- package/dist/chunks/type-guards2.js +0 -113
- package/dist/chunks/utils2.js +0 -63
|
@@ -1,22 +1,19 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
2
|
import { substitute as M } from "@arcgis/core/intl.js";
|
|
3
|
-
import { cloneDeep as te, memoize as
|
|
3
|
+
import { cloneDeep as te, memoize as We, isEmpty as Ue, isEqual as je } from "es-toolkit/compat";
|
|
4
4
|
import { S as ce } from "./common.js";
|
|
5
|
-
import {
|
|
6
|
-
import { u as $, s as Ve,
|
|
7
|
-
import { a as
|
|
8
|
-
import { a as x, d as I, f as
|
|
9
|
-
import { d as Re, b as
|
|
10
|
-
import { i as
|
|
11
|
-
import { q as
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import { C as Rt, m as kt } from "./model-setter.js";
|
|
5
|
+
import { aa as L, b6 as X, bI as Ze, cl as Ke, l as ue, c3 as _e, cm as Qe, c9 as Ne, g as ze, r as ie, a8 as Ge, a6 as Je, cn as et, x as w, Z as ge, bj as tt, co as it, Y as st, v as at, cp as rt, b3 as nt, $ as ot, cq as lt, ad as ct, bZ as ut, cr as dt, cs as Se, ct as yt, cu as mt, cv as gt, C as Fe, _ as pt, cw as he, cx as _, B as k, cy as ft, b4 as q, bi as Q, X as St, u as j, ah as Oe, cz as Y, c5 as U, cA as Ft, cB as ht, cC as Tt, cD as O, cE as V, cF as Te, c8 as xe } from "./index.js";
|
|
6
|
+
import { g as se, u as $, s as Ve, a as pe, b as qe, c as xt, d as z, e as Be } from "./utils.js";
|
|
7
|
+
import { a as P, s as fe, g as ae, b as Ce, c as Bt } from "./data.js";
|
|
8
|
+
import { a as x, d as I, f as Ct, l as R, t as N, h as H, g as At, b as bt, e as de } from "./chart-object-literals.js";
|
|
9
|
+
import { d as Re, b as vt } from "./rest-js-object-literals.js";
|
|
10
|
+
import { i as re } from "./index3.js";
|
|
11
|
+
import { q as It, I as G, _ as J, $ as ye, J as Lt, a0 as Dt, a1 as Nt, a2 as Ot, a3 as Vt, k as qt } from "./index2.js";
|
|
12
|
+
import { g as ke, s as Rt } from "./series-types.js";
|
|
13
|
+
import { C as kt, m as wt } from "./model-setter.js";
|
|
15
14
|
import { convertChartSpec as Pt } from "../utils/chart-config/converter/index.js";
|
|
16
|
-
import { i as ye, b as wt } from "./type-guards.js";
|
|
17
|
-
import { g as re } from "./utils2.js";
|
|
18
15
|
import { b as Et, g as Mt } from "./series-length.js";
|
|
19
|
-
const
|
|
16
|
+
const Vi = (i) => {
|
|
20
17
|
let e;
|
|
21
18
|
const t = i.series[0];
|
|
22
19
|
return L(t) && (e = t.temporalBinning?.size), e;
|
|
@@ -24,15 +21,15 @@ const ki = (i) => {
|
|
|
24
21
|
let e;
|
|
25
22
|
const t = i.series[0];
|
|
26
23
|
return L(t) && (e = t.temporalBinning?.unit), e;
|
|
27
|
-
},
|
|
24
|
+
}, qi = (i) => {
|
|
28
25
|
let e;
|
|
29
26
|
const t = i.series[0];
|
|
30
27
|
return L(t) && (e = t.temporalBinning?.timeAggregationType), e;
|
|
31
|
-
},
|
|
28
|
+
}, Ri = (i) => {
|
|
32
29
|
let e;
|
|
33
30
|
const t = i.series[0];
|
|
34
31
|
return L(t) && (e = t.temporalBinning?.trimIncompleteTimeInterval), e;
|
|
35
|
-
},
|
|
32
|
+
}, ki = (i) => {
|
|
36
33
|
let e;
|
|
37
34
|
const t = i.series[0];
|
|
38
35
|
return L(t) && (e = t.temporalBinning?.nullPolicy), e;
|
|
@@ -44,38 +41,38 @@ const ki = (i) => {
|
|
|
44
41
|
e?.series?.forEach((t) => {
|
|
45
42
|
L(t) && (t.temporalBinning ??= {}, t.temporalBinning.nullPolicy = i);
|
|
46
43
|
});
|
|
47
|
-
},
|
|
44
|
+
}, wi = (i, e) => {
|
|
48
45
|
e.series?.forEach((t) => {
|
|
49
46
|
L(t) && (t.temporalBinning ??= {}, t.temporalBinning.unit = i);
|
|
50
47
|
});
|
|
51
|
-
},
|
|
48
|
+
}, Pi = (i, e) => {
|
|
52
49
|
e.series?.forEach((t) => {
|
|
53
50
|
L(t) && (t.temporalBinning ??= {}, t.temporalBinning.timeAggregationType = i);
|
|
54
51
|
});
|
|
55
|
-
},
|
|
52
|
+
}, Ei = (i, e) => {
|
|
56
53
|
e.series?.forEach((t) => {
|
|
57
54
|
L(t) && (t.temporalBinning ??= {}, t.temporalBinning.trimIncompleteTimeInterval = i);
|
|
58
55
|
});
|
|
59
|
-
},
|
|
56
|
+
}, Ht = (i) => {
|
|
60
57
|
$t(0, i);
|
|
61
58
|
};
|
|
62
|
-
var
|
|
63
|
-
for (var s = Ut(e, t),
|
|
64
|
-
(n = i[
|
|
65
|
-
return s &&
|
|
59
|
+
var Wt = Object.defineProperty, Ut = Object.getOwnPropertyDescriptor, jt = (i, e, t, r) => {
|
|
60
|
+
for (var s = Ut(e, t), a = i.length - 1, n; a >= 0; a--)
|
|
61
|
+
(n = i[a]) && (s = n(e, t, s) || s);
|
|
62
|
+
return s && Wt(e, t, s), s;
|
|
66
63
|
};
|
|
67
64
|
const Zt = (i) => {
|
|
68
65
|
let e;
|
|
69
66
|
return X(i) ? e = i.outTimeZone : i?.series.forEach((t) => {
|
|
70
67
|
(t.type === x.BarSeries || t.type === x.RadarSeries || t.type === x.LineSeries) && t.temporalBinning && (e = t.temporalBinning.outTimeZone);
|
|
71
68
|
}), e || (e = i?.axes?.[0]?.valueFormat.type === x.DateAxisFormat ? i.axes[0].valueFormat.intlOptions.timeZone : void 0), e;
|
|
72
|
-
},
|
|
69
|
+
}, we = (i, e) => {
|
|
73
70
|
const t = Ze(i);
|
|
74
|
-
X(e) ? i ? e.outTimeZone = t : delete e.outTimeZone : e?.series.forEach((
|
|
75
|
-
(
|
|
71
|
+
X(e) ? i ? e.outTimeZone = t : delete e.outTimeZone : e?.series.forEach((r) => {
|
|
72
|
+
(r.type === x.BarSeries || r.type === x.RadarSeries || r.type === x.LineSeries) && (i ? (r.temporalBinning ??= {}, r.temporalBinning.outTimeZone = t) : r.temporalBinning && delete r.temporalBinning.outTimeZone);
|
|
76
73
|
}), e?.axes?.[0]?.valueFormat.type === x.DateAxisFormat && (i ? e.axes[0].valueFormat.intlOptions.timeZone = t : delete e.axes[0].valueFormat.intlOptions.timeZone);
|
|
77
74
|
};
|
|
78
|
-
class Kt extends
|
|
75
|
+
class Kt extends kt {
|
|
79
76
|
/**
|
|
80
77
|
* Gets the time zone for the chart.
|
|
81
78
|
*/
|
|
@@ -83,21 +80,21 @@ class Kt extends Rt {
|
|
|
83
80
|
return Zt(this._config);
|
|
84
81
|
}
|
|
85
82
|
set timeZone(e) {
|
|
86
|
-
|
|
83
|
+
we(e, this._config), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"));
|
|
87
84
|
}
|
|
88
85
|
}
|
|
89
86
|
jt([
|
|
90
|
-
|
|
87
|
+
wt
|
|
91
88
|
], Kt.prototype, "timeZone");
|
|
92
|
-
function
|
|
89
|
+
function Mi(i, e) {
|
|
93
90
|
let t;
|
|
94
91
|
return e !== void 0 && (t = { ...e }, t.legend !== void 0 && (t.legend.position = i)), t;
|
|
95
92
|
}
|
|
96
|
-
function
|
|
93
|
+
function Yi(i, e) {
|
|
97
94
|
let t;
|
|
98
95
|
return e !== void 0 && (t = { ...e }, t.legend !== void 0 && (t.legend.visible = i)), t;
|
|
99
96
|
}
|
|
100
|
-
function
|
|
97
|
+
function $i(i, e) {
|
|
101
98
|
let t;
|
|
102
99
|
return e !== void 0 && (t = { ...e, rotated: i }), t;
|
|
103
100
|
}
|
|
@@ -105,65 +102,65 @@ function _t(i) {
|
|
|
105
102
|
let e;
|
|
106
103
|
return i !== void 0 && (e = { ...i }, delete e.axes?.[0]?.minimum, delete e.axes?.[0]?.maximum, delete e.axes?.[1]?.minimum, delete e.axes?.[1]?.maximum), e;
|
|
107
104
|
}
|
|
108
|
-
function
|
|
105
|
+
function Xi(i, e) {
|
|
109
106
|
return e != null || Ne(i);
|
|
110
107
|
}
|
|
111
|
-
async function
|
|
112
|
-
const { config: e, layer: t, abortSignal:
|
|
108
|
+
async function Hi(i) {
|
|
109
|
+
const { config: e, layer: t, abortSignal: r } = i;
|
|
113
110
|
let s = !1;
|
|
114
|
-
return
|
|
111
|
+
return ue(t) || _e(e) ? e && ue(t) && (s = await Qe({ config: e, layer: t, abortSignal: r })) : s = !0, s;
|
|
115
112
|
}
|
|
116
113
|
async function Qt(i) {
|
|
117
114
|
const {
|
|
118
115
|
queryObject: e,
|
|
119
116
|
chartConfig: t,
|
|
120
|
-
splitByField:
|
|
117
|
+
splitByField: r,
|
|
121
118
|
errorStrings: s,
|
|
122
|
-
abortSignal:
|
|
119
|
+
abortSignal: a,
|
|
123
120
|
runtimeDataFilters: n,
|
|
124
121
|
ignoreViewExtent: o,
|
|
125
|
-
setTimeBinningInfoWhenNotProvided:
|
|
126
|
-
returnFeaturesExtent:
|
|
127
|
-
returnStatisticsAggregatedIds:
|
|
122
|
+
setTimeBinningInfoWhenNotProvided: c,
|
|
123
|
+
returnFeaturesExtent: l,
|
|
124
|
+
returnStatisticsAggregatedIds: m,
|
|
128
125
|
chartLimits: f
|
|
129
126
|
} = i;
|
|
130
127
|
let p = [], u;
|
|
131
|
-
const d = te(t), y = d.series[0],
|
|
128
|
+
const d = te(t), y = d.series[0], g = lt({
|
|
132
129
|
queryObject: e,
|
|
133
130
|
chartConfig: d,
|
|
134
131
|
runtimeDataFilters: n,
|
|
135
132
|
ignoreViewExtent: o
|
|
136
133
|
});
|
|
137
|
-
if (
|
|
138
|
-
xAxisValueFormatType:
|
|
139
|
-
setTimeBinningInfoWhenNotProvided:
|
|
134
|
+
if (g.outStatistics?.[0]?.outStatisticFieldName && (g.outStatistics[0].outStatisticFieldName = It.outStatistics.outStatisticFieldName), L(y) && ct({
|
|
135
|
+
xAxisValueFormatType: ut(d),
|
|
136
|
+
setTimeBinningInfoWhenNotProvided: c,
|
|
140
137
|
seriesConfig: y,
|
|
141
138
|
queryObject: e
|
|
142
|
-
}) &&
|
|
139
|
+
}) && dt(r, e)) {
|
|
143
140
|
const { temporalBinning: F, x: S } = y, { uniqueQuery: h } = Se({
|
|
144
141
|
chartConfig: d,
|
|
145
|
-
queryConfig:
|
|
142
|
+
queryConfig: g,
|
|
146
143
|
queryObject: e,
|
|
147
|
-
setTimeBinningInfoWhenNotProvided:
|
|
148
|
-
returnFeaturesExtent:
|
|
144
|
+
setTimeBinningInfoWhenNotProvided: c,
|
|
145
|
+
returnFeaturesExtent: l,
|
|
149
146
|
chartLimits: f
|
|
150
|
-
}),
|
|
151
|
-
u = await
|
|
147
|
+
}), A = t.axes?.[0].valueFormat.type === x.DateAxisFormat ? t.axes[0].valueFormat.intlOptions.timeZone : void 0;
|
|
148
|
+
u = await yt({
|
|
152
149
|
queryObject: e,
|
|
153
150
|
dateField: S,
|
|
154
|
-
splitByField:
|
|
151
|
+
splitByField: r,
|
|
155
152
|
queryConfig: h,
|
|
156
|
-
axisTimeZone:
|
|
153
|
+
axisTimeZone: A,
|
|
157
154
|
temporalBinning: F,
|
|
158
|
-
returnStatisticsAggregatedIds:
|
|
155
|
+
returnStatisticsAggregatedIds: m,
|
|
159
156
|
errorStrings: s,
|
|
160
|
-
abortSignal:
|
|
157
|
+
abortSignal: a
|
|
161
158
|
}), p = Array.from(
|
|
162
159
|
new Set(
|
|
163
160
|
u.flatMap((C) => {
|
|
164
161
|
const { stackedAttributes: T } = C;
|
|
165
|
-
let
|
|
166
|
-
return T && (
|
|
162
|
+
let b = [];
|
|
163
|
+
return T && (b = T.map((v) => v[r]).filter((v) => v !== void 0)), b;
|
|
167
164
|
})
|
|
168
165
|
).values()
|
|
169
166
|
);
|
|
@@ -171,28 +168,28 @@ async function Qt(i) {
|
|
|
171
168
|
const { uniqueQuery: F } = Se({
|
|
172
169
|
chartConfig: d,
|
|
173
170
|
queryObject: e,
|
|
174
|
-
queryConfig:
|
|
175
|
-
setTimeBinningInfoWhenNotProvided:
|
|
176
|
-
returnFeaturesExtent:
|
|
171
|
+
queryConfig: g,
|
|
172
|
+
setTimeBinningInfoWhenNotProvided: c,
|
|
173
|
+
returnFeaturesExtent: l,
|
|
177
174
|
chartLimits: f
|
|
178
|
-
}), { elementCount: S } = await
|
|
175
|
+
}), { elementCount: S } = await mt({
|
|
179
176
|
chartConfig: d,
|
|
180
177
|
queryObject: e,
|
|
181
|
-
queryConfig:
|
|
178
|
+
queryConfig: g,
|
|
182
179
|
behaviorAfterLimit: f?.behaviorAfterLimit,
|
|
183
180
|
numberMaxOfFeaturesToFetch: F.num,
|
|
184
|
-
abortSignal:
|
|
181
|
+
abortSignal: a
|
|
185
182
|
});
|
|
186
|
-
u = await
|
|
183
|
+
u = await gt({
|
|
187
184
|
queryObject: e,
|
|
188
185
|
queryConfig: F,
|
|
189
186
|
featureCount: S,
|
|
190
|
-
returnStatisticsAggregatedIds:
|
|
187
|
+
returnStatisticsAggregatedIds: m,
|
|
191
188
|
errorStrings: s,
|
|
192
|
-
abortSignal:
|
|
189
|
+
abortSignal: a
|
|
193
190
|
}), p = Array.from(
|
|
194
191
|
new Set(
|
|
195
|
-
u.map((h) => h.attributes[
|
|
192
|
+
u.map((h) => h.attributes[r]).filter((h) => h !== void 0)
|
|
196
193
|
).values()
|
|
197
194
|
);
|
|
198
195
|
}
|
|
@@ -200,9 +197,9 @@ async function Qt(i) {
|
|
|
200
197
|
}
|
|
201
198
|
function zt(i, e) {
|
|
202
199
|
const t = /* @__PURE__ */ new Map();
|
|
203
|
-
return i.series.forEach((
|
|
200
|
+
return i.series.forEach((r) => {
|
|
204
201
|
let s = ge({
|
|
205
|
-
where:
|
|
202
|
+
where: r.query?.where,
|
|
206
203
|
// normalize the value so it matches what we get from getAllValues()
|
|
207
204
|
// Refer to https://devtopia.esri.com/WebGIS/arcgis-charts/issues/8127
|
|
208
205
|
normalize: !0,
|
|
@@ -211,87 +208,87 @@ function zt(i, e) {
|
|
|
211
208
|
escape: !1
|
|
212
209
|
});
|
|
213
210
|
e && s !== null && (s = Number(s));
|
|
214
|
-
const
|
|
215
|
-
|
|
216
|
-
...t.get(
|
|
211
|
+
const a = ke([r]);
|
|
212
|
+
a !== void 0 && t.set(a, [
|
|
213
|
+
...t.get(a) ?? [],
|
|
217
214
|
s
|
|
218
215
|
]);
|
|
219
216
|
}), t;
|
|
220
217
|
}
|
|
221
218
|
function Gt(i) {
|
|
222
|
-
const { allValues: e, configUniqueValuesPerSeriesType: t, initialConfigWasEmpty:
|
|
223
|
-
return Array.from(t.keys()).forEach((
|
|
224
|
-
const n = t.get(
|
|
219
|
+
const { allValues: e, configUniqueValuesPerSeriesType: t, initialConfigWasEmpty: r } = i, s = /* @__PURE__ */ new Map();
|
|
220
|
+
return Array.from(t.keys()).forEach((a) => {
|
|
221
|
+
const n = t.get(a) ?? [];
|
|
225
222
|
let o = [];
|
|
226
|
-
|
|
227
|
-
n.includes(
|
|
228
|
-
}), s.set(
|
|
223
|
+
r ? o = e : e.forEach((c) => {
|
|
224
|
+
n.includes(c) || o.push(c);
|
|
225
|
+
}), s.set(a, o);
|
|
229
226
|
}), s;
|
|
230
227
|
}
|
|
231
228
|
function Jt(i) {
|
|
232
|
-
const { chartConfig: e, missingValue: t, splitByField:
|
|
229
|
+
const { chartConfig: e, missingValue: t, splitByField: r, seriesTemplate: s } = i, a = JSON.parse(
|
|
233
230
|
JSON.stringify({
|
|
234
231
|
...e.series[0],
|
|
235
232
|
...s
|
|
236
233
|
})
|
|
237
234
|
);
|
|
238
|
-
if (
|
|
239
|
-
if (t === null ?
|
|
240
|
-
const o =
|
|
241
|
-
|
|
235
|
+
if (a.query) {
|
|
236
|
+
if (t === null ? a.id = Fe.nullValue : t === "" ? a.id = Fe.emptyStringValue : a.id = `${t}`, a.name = `${t}`, a.query.outStatistics?.[0] !== void 0) {
|
|
237
|
+
const o = a.id;
|
|
238
|
+
a.query.outStatistics[0].outStatisticFieldName = o, "y" in a && (a.y = o);
|
|
242
239
|
}
|
|
243
240
|
const n = typeof t == "number" || t === null ? t : `'${t}'`;
|
|
244
|
-
|
|
241
|
+
a.query.where = `${r}=${n}`;
|
|
245
242
|
}
|
|
246
|
-
return
|
|
243
|
+
return a;
|
|
247
244
|
}
|
|
248
245
|
async function ei(i) {
|
|
249
246
|
const {
|
|
250
247
|
updateSplitBySeries: e,
|
|
251
248
|
config: t,
|
|
252
|
-
queryObject:
|
|
249
|
+
queryObject: r,
|
|
253
250
|
errorStrings: s,
|
|
254
|
-
abortSignal:
|
|
251
|
+
abortSignal: a,
|
|
255
252
|
runtimeDataFilters: n,
|
|
256
253
|
ignoreViewExtent: o,
|
|
257
|
-
setTimeBinningInfoWhenNotProvided:
|
|
258
|
-
returnFeaturesExtent:
|
|
259
|
-
returnStatisticsAggregatedIds:
|
|
254
|
+
setTimeBinningInfoWhenNotProvided: c,
|
|
255
|
+
returnFeaturesExtent: l,
|
|
256
|
+
returnStatisticsAggregatedIds: m,
|
|
260
257
|
chartLimits: f
|
|
261
258
|
} = i, { seriesTemplate: p } = e ?? {};
|
|
262
259
|
let u;
|
|
263
|
-
if (
|
|
260
|
+
if (r && !ue(r) && e !== void 0 && t !== void 0 && (t.series.length > 0 || p !== void 0) && e.addMissingSeries) {
|
|
264
261
|
const d = t.series.length === 0;
|
|
265
262
|
t.series.length === 0 && p !== void 0 && t.series.push(p);
|
|
266
263
|
const y = ie(t.series);
|
|
267
|
-
if (y ===
|
|
268
|
-
const
|
|
269
|
-
queryObject:
|
|
264
|
+
if (y === w.BoxPlotC5MonoFieldAndSplitBy || y === w.BoxPlotC6MultiFieldsAndSplitBy || y === w.BoxPlotC7MonoFieldAndCategoryAndSplitBy || y === w.BarAndLineSplitBy || y === w.BarAndLineSplitByNoAggregation) {
|
|
265
|
+
const g = st(t.series[0]?.query?.where), F = at(r), S = rt(g, F), h = S ? nt(S) : !1, A = await Qt({
|
|
266
|
+
queryObject: r,
|
|
270
267
|
chartConfig: t,
|
|
271
|
-
splitByField:
|
|
272
|
-
abortSignal:
|
|
268
|
+
splitByField: g,
|
|
269
|
+
abortSignal: a,
|
|
273
270
|
runtimeDataFilters: n,
|
|
274
271
|
ignoreViewExtent: o,
|
|
275
|
-
setTimeBinningInfoWhenNotProvided:
|
|
276
|
-
returnFeaturesExtent:
|
|
277
|
-
returnStatisticsAggregatedIds:
|
|
272
|
+
setTimeBinningInfoWhenNotProvided: c,
|
|
273
|
+
returnFeaturesExtent: l,
|
|
274
|
+
returnStatisticsAggregatedIds: m,
|
|
278
275
|
chartLimits: f,
|
|
279
276
|
errorStrings: s
|
|
280
|
-
}), { allValues: C } =
|
|
281
|
-
if ({ preFetchedQueryResponse: u } =
|
|
282
|
-
const T = zt(t, h),
|
|
277
|
+
}), { allValues: C } = A;
|
|
278
|
+
if ({ preFetchedQueryResponse: u } = A, C.length > 0) {
|
|
279
|
+
const T = zt(t, h), b = Gt({
|
|
283
280
|
allValues: C,
|
|
284
281
|
configUniqueValuesPerSeriesType: T,
|
|
285
282
|
initialConfigWasEmpty: d
|
|
286
283
|
});
|
|
287
|
-
Array.from(
|
|
288
|
-
(
|
|
284
|
+
Array.from(b.keys()).forEach((v) => {
|
|
285
|
+
(b.get(v) ?? []).forEach((D) => {
|
|
289
286
|
t.series.push(
|
|
290
287
|
Jt({
|
|
291
288
|
chartConfig: t,
|
|
292
289
|
seriesTemplate: p,
|
|
293
290
|
missingValue: D,
|
|
294
|
-
splitByField:
|
|
291
|
+
splitByField: g
|
|
295
292
|
})
|
|
296
293
|
);
|
|
297
294
|
}), d && t.series.shift();
|
|
@@ -302,148 +299,148 @@ async function ei(i) {
|
|
|
302
299
|
return u;
|
|
303
300
|
}
|
|
304
301
|
function ti(i, e) {
|
|
305
|
-
e && !Ne(e) && (e =
|
|
302
|
+
e && !Ne(e) && (e = it({ chartConfig: e, queryObject: i }));
|
|
306
303
|
}
|
|
307
|
-
async function
|
|
304
|
+
async function Wi(i) {
|
|
308
305
|
const {
|
|
309
306
|
configToAlter: e,
|
|
310
307
|
layer: t,
|
|
311
|
-
addMissingSeries:
|
|
308
|
+
addMissingSeries: r,
|
|
312
309
|
updateSplitBySeries: s,
|
|
313
|
-
chartContainer:
|
|
310
|
+
chartContainer: a,
|
|
314
311
|
queryObject: n,
|
|
315
312
|
abortSignal: o,
|
|
316
|
-
runtimeDataFilters:
|
|
317
|
-
ignoreViewExtent:
|
|
318
|
-
setTimeBinningInfoWhenNotProvided:
|
|
313
|
+
runtimeDataFilters: c,
|
|
314
|
+
ignoreViewExtent: l,
|
|
315
|
+
setTimeBinningInfoWhenNotProvided: m,
|
|
319
316
|
returnFeaturesExtent: f,
|
|
320
317
|
returnStatisticsAggregatedIds: p,
|
|
321
318
|
chartLimits: u,
|
|
322
319
|
timeZone: d,
|
|
323
320
|
errorStrings: y
|
|
324
321
|
} = i;
|
|
325
|
-
let
|
|
326
|
-
return
|
|
322
|
+
let g = e, F;
|
|
323
|
+
return g && (ti(t, g), g = await Pt(g, t, void 0, o), r && n && (F = await ei({
|
|
327
324
|
updateSplitBySeries: s,
|
|
328
|
-
config:
|
|
325
|
+
config: g,
|
|
329
326
|
queryObject: n,
|
|
330
327
|
errorStrings: y,
|
|
331
328
|
abortSignal: o,
|
|
332
|
-
runtimeDataFilters:
|
|
333
|
-
ignoreViewExtent:
|
|
334
|
-
setTimeBinningInfoWhenNotProvided:
|
|
329
|
+
runtimeDataFilters: c,
|
|
330
|
+
ignoreViewExtent: l,
|
|
331
|
+
setTimeBinningInfoWhenNotProvided: m,
|
|
335
332
|
returnFeaturesExtent: f,
|
|
336
333
|
returnStatisticsAggregatedIds: p,
|
|
337
334
|
chartLimits: u
|
|
338
|
-
})),
|
|
335
|
+
})), g = Ke(g, a), we(d, g)), { alteredConfig: g, preFetchedQueryResponse: F };
|
|
339
336
|
}
|
|
340
337
|
function ii(i, e) {
|
|
341
338
|
let t = !1;
|
|
342
339
|
if (e !== void 0) {
|
|
343
|
-
const
|
|
344
|
-
t = Number.isFinite(i[
|
|
340
|
+
const r = ot({ key: pt.Average, splitBy: e });
|
|
341
|
+
t = Number.isFinite(i[r]);
|
|
345
342
|
}
|
|
346
343
|
return t;
|
|
347
344
|
}
|
|
348
|
-
function
|
|
349
|
-
const { data: e, config: t, showEmptySeries:
|
|
345
|
+
function Ui(i) {
|
|
346
|
+
const { data: e, config: t, showEmptySeries: r } = i, s = t.series.length, a = te(t);
|
|
350
347
|
let n = !1;
|
|
351
|
-
if (!
|
|
352
|
-
const o =
|
|
353
|
-
switch (
|
|
348
|
+
if (!r && s > 1 && e) {
|
|
349
|
+
const o = ze(e), c = ke(t?.series), l = ie(t?.series), m = /* @__PURE__ */ new Set();
|
|
350
|
+
switch (c) {
|
|
354
351
|
case x.ComboLineAndBarSeries:
|
|
355
352
|
case x.BarSeries:
|
|
356
353
|
case x.RadarSeries:
|
|
357
354
|
case x.LineSeries: {
|
|
358
|
-
|
|
355
|
+
a.series.forEach((p) => {
|
|
359
356
|
if (Array.isArray(o)) {
|
|
360
357
|
let u = "";
|
|
361
|
-
"y" in p && (u = Array.isArray(p.y) ? p.y[0] : p.y,
|
|
362
|
-
(y) =>
|
|
358
|
+
"y" in p && (u = Array.isArray(p.y) ? p.y[0] : p.y, l === w.BarAndLineSplitByNoAggregation && (u = `${u}_${ge({ where: p.query?.where, keepSurroundingQuotes: !1, escape: !1 })}`), o.some(
|
|
359
|
+
(y) => tt({
|
|
363
360
|
dataItem: y,
|
|
364
361
|
x: p.x,
|
|
365
362
|
y: u,
|
|
366
363
|
aggregationType: t.series[0].query?.outStatistics?.[0]?.statisticType
|
|
367
364
|
})
|
|
368
|
-
) &&
|
|
365
|
+
) && m.add(p));
|
|
369
366
|
}
|
|
370
367
|
});
|
|
371
368
|
break;
|
|
372
369
|
}
|
|
373
370
|
case x.BoxPlotSeries: {
|
|
374
|
-
if (
|
|
375
|
-
const p =
|
|
371
|
+
if (Ge(t)) {
|
|
372
|
+
const p = Je(t);
|
|
376
373
|
t.series.forEach((u) => {
|
|
377
374
|
let d, y;
|
|
378
375
|
u.type === x.BoxPlotSeries ? (d = e.dataItems, y = d?.some(
|
|
379
|
-
(
|
|
380
|
-
dataItem:
|
|
376
|
+
(g) => et({
|
|
377
|
+
dataItem: g,
|
|
381
378
|
splitBy: u.query?.where,
|
|
382
379
|
showOutliers: p
|
|
383
380
|
})
|
|
384
381
|
)) : u.type === x.LineSeries && (d = e.meanLines, y = d?.some(
|
|
385
|
-
(
|
|
386
|
-
)), y &&
|
|
382
|
+
(g) => ii(g, u.query?.where)
|
|
383
|
+
)), y && m.add(u);
|
|
387
384
|
});
|
|
388
385
|
}
|
|
389
386
|
break;
|
|
390
387
|
}
|
|
391
388
|
}
|
|
392
|
-
const f = Array.from(
|
|
393
|
-
n = f.length > 0 && f.length < s, n && (
|
|
389
|
+
const f = Array.from(m.values());
|
|
390
|
+
n = f.length > 0 && f.length < s, n && (a.series = f);
|
|
394
391
|
}
|
|
395
|
-
return { seriesFilteredOut: n, filteredConfig:
|
|
392
|
+
return { seriesFilteredOut: n, filteredConfig: a };
|
|
396
393
|
}
|
|
397
|
-
const
|
|
394
|
+
const ji = (i) => i.hideEmptyRowsAndColumns, Zi = (i, e) => {
|
|
398
395
|
i.hideEmptyRowsAndColumns = e;
|
|
399
|
-
},
|
|
396
|
+
}, Ki = (i, e) => {
|
|
400
397
|
const t = i.series[0];
|
|
401
398
|
t.heatRulesType = e;
|
|
402
|
-
},
|
|
399
|
+
}, _i = (i) => i.series[0].heatRulesType, Qi = (i, e) => {
|
|
403
400
|
const t = i.series[0];
|
|
404
401
|
t.gradientRules = e;
|
|
405
|
-
},
|
|
406
|
-
const { yField: e, config: t, layerInfo:
|
|
407
|
-
if (typeof e == "string" && o !== e &&
|
|
408
|
-
if (
|
|
409
|
-
const
|
|
410
|
-
$(t, 1,
|
|
402
|
+
}, zi = (i) => i.series[0].gradientRules, Gi = (i) => {
|
|
403
|
+
const { yField: e, config: t, layerInfo: r, commonStrings: s } = i, { layerFieldsInfo: a } = r, n = se(1, t), o = si(t), c = re(t), l = t.series[0];
|
|
404
|
+
if (typeof e == "string" && o !== e && l) {
|
|
405
|
+
if (l.y = e, _t(t), o === n || c) {
|
|
406
|
+
const m = k(a, e);
|
|
407
|
+
$(t, 1, m);
|
|
411
408
|
}
|
|
412
|
-
|
|
409
|
+
Pe({ commonStrings: s, config: t, layerInfo: r });
|
|
413
410
|
}
|
|
414
|
-
}, si = (i) => i.series[0].y ?? "",
|
|
415
|
-
const { binning: e, config: t, commonStrings:
|
|
416
|
-
if (s.xTemporalBinning = e, e?.unit !== void 0 && e.unit in
|
|
417
|
-
const
|
|
418
|
-
$(t, 0,
|
|
411
|
+
}, si = (i) => i.series[0].y ?? "", Ji = (i) => {
|
|
412
|
+
const { binning: e, config: t, commonStrings: r } = i, s = t.series[0];
|
|
413
|
+
if (s.xTemporalBinning = e, e?.unit !== void 0 && e.unit in r.utilsStrings.heatChartCalendarDatePartsUnits) {
|
|
414
|
+
const a = r.utilsStrings.heatChartCalendarDatePartsUnits[e.unit];
|
|
415
|
+
$(t, 0, a);
|
|
419
416
|
}
|
|
420
|
-
ee({ axisIndex: 0, commonStrings:
|
|
421
|
-
}, ai = (i) => i.series[0].xTemporalBinning,
|
|
422
|
-
const { binning: e, config: t, commonStrings:
|
|
423
|
-
if (s.yTemporalBinning = e, e?.unit !== void 0 && e.unit in
|
|
424
|
-
const
|
|
425
|
-
$(t, 1,
|
|
417
|
+
ee({ axisIndex: 0, commonStrings: r, config: t });
|
|
418
|
+
}, ai = (i) => i.series[0].xTemporalBinning, es = (i) => {
|
|
419
|
+
const { binning: e, config: t, commonStrings: r } = i, s = t.series[0];
|
|
420
|
+
if (s.yTemporalBinning = e, e?.unit !== void 0 && e.unit in r.utilsStrings.heatChartCalendarDatePartsUnits) {
|
|
421
|
+
const a = r.utilsStrings.heatChartCalendarDatePartsUnits[e.unit];
|
|
422
|
+
$(t, 1, a);
|
|
426
423
|
}
|
|
427
|
-
ee({ axisIndex: 1, commonStrings:
|
|
424
|
+
ee({ axisIndex: 1, commonStrings: r, config: t });
|
|
428
425
|
}, ri = (i) => i.series[0].yTemporalBinning, ni = (i, e) => {
|
|
429
426
|
e.orderOptions ??= {};
|
|
430
|
-
const t = e.axes?.[0]?.valueFormat?.type === "category" ? N.Category : N.YValue,
|
|
427
|
+
const t = e.axes?.[0]?.valueFormat?.type === "category" ? N.Category : N.YValue, r = me(e)[0], s = e.axes?.[1]?.valueFormat?.type === "category" ? N.Category : N.YValue, a = me(e)[1], n = {
|
|
431
428
|
...e.orderOptions.data ?? {},
|
|
432
429
|
orderType: N.MultiAxes
|
|
433
430
|
};
|
|
434
|
-
|
|
435
|
-
},
|
|
431
|
+
r === ce.customSort && t === N.Category && (n.orderByX = [...i]), a === ce.customSort && s === N.Category && (n.orderByY = [...i]), Object.keys(n).length > 1 && (e.orderOptions.data = n);
|
|
432
|
+
}, ts = (i, e) => {
|
|
436
433
|
const t = e.series[0];
|
|
437
434
|
t.gridLine && (t.gridLine.width = i);
|
|
438
|
-
},
|
|
439
|
-
const t = e.series[0],
|
|
440
|
-
t.gridLine &&
|
|
441
|
-
},
|
|
435
|
+
}, is = (i) => i.series[0].gridLine?.width, ss = (i, e) => {
|
|
436
|
+
const t = e.series[0], r = i?.length === 4 && i.every((s) => typeof s == "number");
|
|
437
|
+
t.gridLine && r && (t.gridLine.color = i);
|
|
438
|
+
}, as = (i) => i.series[0].gridLine?.color, rs = (i, e) => {
|
|
442
439
|
const t = e.legend;
|
|
443
440
|
t && (t.position = i);
|
|
444
|
-
},
|
|
445
|
-
const { field: e, config: t, layerInfo:
|
|
446
|
-
|
|
441
|
+
}, ns = (i) => i.legend?.position ?? Ct.Bottom, os = (i) => i.series[0].query?.outStatistics?.[0]?.onStatisticField, ls = (i) => {
|
|
442
|
+
const { field: e, config: t, layerInfo: r, commonStrings: s } = i, a = t.series[0].query?.outStatistics?.[0], n = le(t, r, s);
|
|
443
|
+
a ? (a.onStatisticField = e, a.outStatisticFieldName = `${a.statisticType}_${e}`) : t.series[0].query = {
|
|
447
444
|
outStatistics: [
|
|
448
445
|
{
|
|
449
446
|
onStatisticField: e,
|
|
@@ -451,53 +448,53 @@ const _i = (i) => i.hideEmptyRowsAndColumns, Qi = (i, e) => {
|
|
|
451
448
|
statisticType: I.Count
|
|
452
449
|
}
|
|
453
450
|
]
|
|
454
|
-
}, n && t.title && (t.title.content.text = Z(t,
|
|
455
|
-
},
|
|
456
|
-
const { aggregationType: e, config: t, layerInfo:
|
|
457
|
-
|
|
458
|
-
},
|
|
451
|
+
}, n && t.title && (t.title.content.text = Z(t, r, s));
|
|
452
|
+
}, cs = (i) => i.series[0].query?.outStatistics?.[0].statisticType ?? I.Count, us = (i) => {
|
|
453
|
+
const { aggregationType: e, config: t, layerInfo: r, commonStrings: s } = i, a = t.series[0]?.query?.outStatistics?.[0], n = le(t, r, s);
|
|
454
|
+
a && e !== I.NoAggregation && (a.statisticType = e, a.outStatisticFieldName = `${e}_${a.onStatisticField}`), (e === I.Count || e === I.Sum) && oi(H.Zero, t), n && t.title && (t.title.content.text = Z(t, r, s));
|
|
455
|
+
}, ds = (i) => i.nullPolicy, oi = (i, e) => {
|
|
459
456
|
e.nullPolicy = i;
|
|
460
|
-
},
|
|
457
|
+
}, ys = (i) => i.series[0].emptyCells, ms = (i, e) => {
|
|
461
458
|
e.series[0].emptyCells = i;
|
|
462
|
-
},
|
|
459
|
+
}, gs = (i) => i.series[0].emptyCells?.text, ps = (i, e) => {
|
|
463
460
|
e.series[0].emptyCells ? e.series[0].emptyCells.text = i : e.series[0].emptyCells = { text: i };
|
|
464
|
-
},
|
|
461
|
+
}, fs = (i) => i.includeLeapDay, Ss = (i, e) => {
|
|
465
462
|
e.includeLeapDay = i;
|
|
466
|
-
},
|
|
463
|
+
}, Fs = (i) => i.series[0].emptyCells?.symbol, hs = (i, e) => {
|
|
467
464
|
e.series[0].emptyCells ? e.series[0].emptyCells.symbol = i : e.series[0].emptyCells = { symbol: i };
|
|
468
465
|
};
|
|
469
|
-
function
|
|
466
|
+
function Ts(i) {
|
|
470
467
|
return i.viewType;
|
|
471
468
|
}
|
|
472
|
-
function
|
|
473
|
-
|
|
469
|
+
function xs(i, e) {
|
|
470
|
+
ft(e) || (e.viewType = i);
|
|
474
471
|
}
|
|
475
|
-
function
|
|
472
|
+
function Bs(i) {
|
|
476
473
|
return i.series[0].classBreaksRules?.breaksCount ?? G;
|
|
477
474
|
}
|
|
478
|
-
function
|
|
475
|
+
function Cs(i, e) {
|
|
479
476
|
e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.breaksCount = i ?? G : e.series[0].classBreaksRules = {
|
|
480
477
|
breaksCount: i ?? G
|
|
481
478
|
};
|
|
482
479
|
}
|
|
483
|
-
function
|
|
480
|
+
function As(i) {
|
|
484
481
|
return i.series[0].classBreaksRules?.classificationMethod;
|
|
485
482
|
}
|
|
486
|
-
function
|
|
483
|
+
function bs(i, e) {
|
|
487
484
|
e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.classificationMethod = i : e.series[0].classBreaksRules = {
|
|
488
485
|
classificationMethod: i
|
|
489
486
|
}, e.series[0].classBreaksRules.breaksCount = e.series[0].classBreaksRules.breaksCount ?? G;
|
|
490
487
|
}
|
|
491
|
-
function
|
|
488
|
+
function vs(i, e) {
|
|
492
489
|
e.firstDayOfWeek = i;
|
|
493
490
|
}
|
|
494
|
-
function
|
|
491
|
+
function Is(i) {
|
|
495
492
|
return i.firstDayOfWeek;
|
|
496
493
|
}
|
|
497
|
-
function
|
|
494
|
+
function Ls(i) {
|
|
498
495
|
return i.series[0].classBreaksRules?.colorRampInfo?.name;
|
|
499
496
|
}
|
|
500
|
-
function
|
|
497
|
+
function Ds(i, e) {
|
|
501
498
|
e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.colorRampInfo = {
|
|
502
499
|
...e.series[0].classBreaksRules.colorRampInfo,
|
|
503
500
|
name: i
|
|
@@ -508,10 +505,10 @@ function Vs(i, e) {
|
|
|
508
505
|
}
|
|
509
506
|
};
|
|
510
507
|
}
|
|
511
|
-
function
|
|
508
|
+
function Ns(i) {
|
|
512
509
|
return i.series[0].classBreaksRules?.colorRampInfo?.flipped ?? !1;
|
|
513
510
|
}
|
|
514
|
-
function
|
|
511
|
+
function Os(i, e) {
|
|
515
512
|
e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.colorRampInfo = {
|
|
516
513
|
...e.series[0].classBreaksRules.colorRampInfo,
|
|
517
514
|
flipped: i
|
|
@@ -524,12 +521,12 @@ function Rs(i, e) {
|
|
|
524
521
|
const li = [
|
|
525
522
|
R.DayOfMonth,
|
|
526
523
|
R.MonthOfYear
|
|
527
|
-
],
|
|
524
|
+
], Ae = (i) => {
|
|
528
525
|
let e;
|
|
529
|
-
return _(i) ? e =
|
|
530
|
-
},
|
|
531
|
-
const { axisIndex: e, commonStrings: t, config:
|
|
532
|
-
s !== void 0 &&
|
|
526
|
+
return _(i) ? e = ye() : (q(i) || Q(i)) && (e = J()), e;
|
|
527
|
+
}, be = (i) => q(i) || Q(i), ve = (i) => {
|
|
528
|
+
const { axisIndex: e, commonStrings: t, config: r, valueFormat: s } = i, a = r.axes?.[e]?.valueFormat;
|
|
529
|
+
s !== void 0 && a?.type !== s.type && Ve({ config: r, commonStrings: t, valueFormat: s, axisIndex: e });
|
|
533
530
|
}, ci = (i, e) => {
|
|
534
531
|
let t;
|
|
535
532
|
return e === 0 ? t = i.series[0]?.xTemporalBinning : e === 1 && (t = i.series[0]?.yTemporalBinning), t;
|
|
@@ -563,14 +560,14 @@ const li = [
|
|
|
563
560
|
intlOptions: e
|
|
564
561
|
};
|
|
565
562
|
}, De = (i) => {
|
|
566
|
-
const { axisIndex: e, binning: t, commonStrings:
|
|
567
|
-
e === 0 ? o.xTemporalBinning = t : e === 1 && (o.yTemporalBinning = t), t !== void 0 && (
|
|
563
|
+
const { axisIndex: e, binning: t, commonStrings: r, config: s, fieldName: a, layerInfo: n } = i, o = s.series[0], c = se(e, s), l = k(n.layerFieldsInfo, a);
|
|
564
|
+
e === 0 ? o.xTemporalBinning = t : e === 1 && (o.yTemporalBinning = t), t !== void 0 && (c === "" || c === l || c === Ie(r, t.unit) || c === r.xAxis) && $(s, e, Ie(r, t.unit));
|
|
568
565
|
}, ee = (i) => {
|
|
569
|
-
const { axisIndex: e, commonStrings: t, config:
|
|
570
|
-
Ve({ config:
|
|
571
|
-
},
|
|
572
|
-
const { commonStrings: e, config: t, layerInfo:
|
|
573
|
-
if (ve({ axisIndex: 0, commonStrings: e, config: t, valueFormat:
|
|
566
|
+
const { axisIndex: e, commonStrings: t, config: r } = i, s = ci(r, e), a = s ? ui(s) : void 0;
|
|
567
|
+
Ve({ config: r, commonStrings: t, valueFormat: a, axisIndex: e });
|
|
568
|
+
}, Pe = (i) => {
|
|
569
|
+
const { commonStrings: e, config: t, layerInfo: r } = i, s = t.series[0]?.x ?? "", a = t.series[0]?.y ?? "", n = he(r.layerFieldsInfo, s), o = he(r.layerFieldsInfo, a), c = Ae(n), l = Ae(o), m = be(n) && be(o), f = _(n) && _(o);
|
|
570
|
+
if (ve({ axisIndex: 0, commonStrings: e, config: t, valueFormat: c }), ve({ axisIndex: 1, commonStrings: e, config: t, valueFormat: l }), m) {
|
|
574
571
|
const p = ai(t) === void 0, u = ri(t) === void 0;
|
|
575
572
|
p && (De({
|
|
576
573
|
axisIndex: 0,
|
|
@@ -578,7 +575,7 @@ const li = [
|
|
|
578
575
|
commonStrings: e,
|
|
579
576
|
config: t,
|
|
580
577
|
fieldName: s,
|
|
581
|
-
layerInfo:
|
|
578
|
+
layerInfo: r
|
|
582
579
|
}), ee({
|
|
583
580
|
axisIndex: 0,
|
|
584
581
|
commonStrings: e,
|
|
@@ -588,8 +585,8 @@ const li = [
|
|
|
588
585
|
binning: Le(1, t.series[0].xTemporalBinning),
|
|
589
586
|
commonStrings: e,
|
|
590
587
|
config: t,
|
|
591
|
-
fieldName:
|
|
592
|
-
layerInfo:
|
|
588
|
+
fieldName: a,
|
|
589
|
+
layerInfo: r
|
|
593
590
|
}), ee({
|
|
594
591
|
axisIndex: 1,
|
|
595
592
|
commonStrings: e,
|
|
@@ -601,57 +598,57 @@ const li = [
|
|
|
601
598
|
function di(i) {
|
|
602
599
|
const e = {};
|
|
603
600
|
return i.series.forEach((t) => {
|
|
604
|
-
|
|
601
|
+
Rt(t) && "nullCategory" in t && t.nullCategory !== void 0 && (e.text ??= t.nullCategory.text, t.type === x.BarSeries ? e.fillSymbol ??= t.nullCategory.fillSymbol : e.markerSymbol ??= t.nullCategory.markerSymbol);
|
|
605
602
|
}), e.text || e.fillSymbol || e.markerSymbol ? e : void 0;
|
|
606
603
|
}
|
|
607
604
|
function ne(i) {
|
|
608
|
-
const { seriesIndex: e, xAxisField: t, aggregationType:
|
|
609
|
-
let
|
|
610
|
-
const
|
|
611
|
-
let
|
|
612
|
-
if (
|
|
605
|
+
const { seriesIndex: e, xAxisField: t, aggregationType: r, config: s, layerInfo: a, commonStrings: n } = i, o = j(a?.layer).idField;
|
|
606
|
+
let c;
|
|
607
|
+
const l = s.series[e ?? 0];
|
|
608
|
+
let m = !1, f = !1, p = !1;
|
|
609
|
+
if (l === void 0) {
|
|
613
610
|
const T = s.series;
|
|
614
|
-
|
|
611
|
+
m = T.slice(0, e).every((b) => O(b)), f = T.slice(0, e).every((b) => V(b)), p = T.slice(0, e).every((b) => Te(b));
|
|
615
612
|
} else
|
|
616
|
-
|
|
617
|
-
|
|
613
|
+
m = O(l), f = V(l), p = Te(l);
|
|
614
|
+
m ? c = Dt({
|
|
618
615
|
commonStrings: n,
|
|
619
616
|
seriesIndex: e,
|
|
620
617
|
objectIDField: o
|
|
621
|
-
}) : f ?
|
|
618
|
+
}) : f ? c = Nt({
|
|
622
619
|
commonStrings: n,
|
|
623
620
|
seriesIndex: e,
|
|
624
621
|
objectIDField: o
|
|
625
|
-
}) : p ?
|
|
622
|
+
}) : p ? c = Ot(n, o) : c = Vt({
|
|
626
623
|
seriesIndex: e,
|
|
627
624
|
objectIDField: o,
|
|
628
625
|
commonStrings: n
|
|
629
626
|
});
|
|
630
|
-
const u = s.series[0]?.dataLabels, d = "nullCategory" in s.series[0] ? di(s) : void 0, y = "binTemporalData" in s.series[0] ? s.series[0].binTemporalData : void 0,
|
|
631
|
-
...
|
|
627
|
+
const u = s.series[0]?.dataLabels, d = "nullCategory" in s.series[0] ? di(s) : void 0, y = "binTemporalData" in s.series[0] ? s.series[0].binTemporalData : void 0, g = "classBreakRules" in s.series[0] ? s.series[0].classBreakRules : void 0, F = "xTemporalBinning" in s.series[0] ? s.series[0].xTemporalBinning : void 0, S = "yTemporalBinning" in s.series[0] ? s.series[0].yTemporalBinning : void 0, h = "emptyCells" in s.series[0] ? s.series[0].emptyCells : void 0, A = s.series[0].query && "fetchNullValues" in s.series[0].query ? s.series[0].query?.fetchNullValues : void 0, C = {
|
|
628
|
+
...c,
|
|
632
629
|
x: t,
|
|
633
630
|
y: "",
|
|
634
631
|
dataLabels: {
|
|
635
|
-
...
|
|
636
|
-
type:
|
|
637
|
-
content: { ...
|
|
632
|
+
...c.dataLabels,
|
|
633
|
+
type: c.dataLabels?.type ?? x.Text,
|
|
634
|
+
content: { ...c.dataLabels?.content, ...u?.content, type: vt.TS },
|
|
638
635
|
visible: u?.visible ?? !1
|
|
639
636
|
},
|
|
640
637
|
...d !== void 0 ? { nullCategory: d } : {},
|
|
641
638
|
...y !== void 0 ? { binTemporalData: y } : {},
|
|
642
|
-
...
|
|
639
|
+
...g !== void 0 ? { classBreakRules: g } : {},
|
|
643
640
|
...F !== void 0 ? { xTemporalBinning: F } : {},
|
|
644
641
|
...S !== void 0 ? { yTemporalBinning: S } : {},
|
|
645
642
|
...h !== void 0 ? { emptyCells: h } : {}
|
|
646
643
|
};
|
|
647
644
|
if (C.query = {
|
|
648
645
|
groupByFieldsForStatistics: [t],
|
|
649
|
-
...
|
|
650
|
-
},
|
|
651
|
-
const T = `${
|
|
646
|
+
...A !== void 0 ? { fetchNullValues: A } : {}
|
|
647
|
+
}, r !== I.NoAggregation && o !== void 0) {
|
|
648
|
+
const T = `${r}_${o}_0`.toUpperCase();
|
|
652
649
|
C.y = T, C.query.outStatistics = [
|
|
653
650
|
{
|
|
654
|
-
statisticType:
|
|
651
|
+
statisticType: r,
|
|
655
652
|
onStatisticField: o,
|
|
656
653
|
outStatisticFieldName: T
|
|
657
654
|
}
|
|
@@ -659,7 +656,7 @@ function ne(i) {
|
|
|
659
656
|
}
|
|
660
657
|
if (L(s.series[0]) && L(C)) {
|
|
661
658
|
let T = Yt(s);
|
|
662
|
-
T ===
|
|
659
|
+
T === de.Quarter && (T = de.Month), C.temporalBinning = {
|
|
663
660
|
...s.series[0]?.temporalBinning,
|
|
664
661
|
unit: T
|
|
665
662
|
};
|
|
@@ -667,54 +664,54 @@ function ne(i) {
|
|
|
667
664
|
return te(C);
|
|
668
665
|
}
|
|
669
666
|
function Z(i, e, t) {
|
|
670
|
-
const { layerFieldsInfo:
|
|
667
|
+
const { layerFieldsInfo: r } = e, { idField: s, isTraditionalTypeOID: a } = j(e.layer), n = P(i), o = W(i), c = oe(i), l = K(i), m = a && (o.length === 0 || o.includes(s)), f = Lt(c, t), p = m ? "" : o.map((h) => k(r ?? [], h)).join(", "), u = k(r ?? [], n), d = k(r ?? [], l), y = i.series.some((h) => Y(h)), g = y ? "category" : "xAxisField", F = u;
|
|
671
668
|
let S = "";
|
|
672
669
|
if (fe({
|
|
673
670
|
fieldName: n,
|
|
674
671
|
numericFields: o,
|
|
675
|
-
fieldList:
|
|
672
|
+
fieldList: r
|
|
676
673
|
}))
|
|
677
674
|
S = M(t.titleLabels.aggrTypeOfAggrFields, {
|
|
678
675
|
aggregationType: f,
|
|
679
676
|
aggregationFields: p
|
|
680
677
|
});
|
|
681
|
-
else if (
|
|
682
|
-
const h =
|
|
683
|
-
if (
|
|
684
|
-
const
|
|
685
|
-
S = M(t.titleLabels[
|
|
678
|
+
else if (c === I.NoAggregation) {
|
|
679
|
+
const h = m ? s : p;
|
|
680
|
+
if (l === "") {
|
|
681
|
+
const A = y ? "aggrTypeCategory" : "aggrTypeXAxisField";
|
|
682
|
+
S = M(t.titleLabels[A], {
|
|
686
683
|
aggregationType: h,
|
|
687
|
-
[
|
|
684
|
+
[g]: F
|
|
688
685
|
});
|
|
689
686
|
} else {
|
|
690
|
-
const
|
|
691
|
-
S = M(t.titleLabels[
|
|
687
|
+
const A = y ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
|
|
688
|
+
S = M(t.titleLabels[A], {
|
|
692
689
|
aggregationType: h,
|
|
693
|
-
[
|
|
690
|
+
[g]: F,
|
|
694
691
|
splitByField: d
|
|
695
692
|
});
|
|
696
693
|
}
|
|
697
|
-
} else if (
|
|
698
|
-
if (
|
|
694
|
+
} else if (c === I.Count)
|
|
695
|
+
if (l === "") {
|
|
699
696
|
const h = y ? "aggrTypeCategory" : "aggrTypeXAxisField";
|
|
700
697
|
S = M(t.titleLabels[h], {
|
|
701
698
|
aggregationType: f,
|
|
702
|
-
[
|
|
699
|
+
[g]: F
|
|
703
700
|
});
|
|
704
701
|
} else {
|
|
705
702
|
const h = y ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
|
|
706
703
|
S = M(t.titleLabels[h], {
|
|
707
704
|
aggregationType: f,
|
|
708
|
-
[
|
|
705
|
+
[g]: F,
|
|
709
706
|
splitByField: d
|
|
710
707
|
});
|
|
711
708
|
}
|
|
712
|
-
else if (
|
|
709
|
+
else if (l !== "") {
|
|
713
710
|
const h = y ? "aggrTypeOfAggrFieldByCategoryBySplitByField" : "aggrTypeOfAggrFieldByXAxisFieldBySplitByField";
|
|
714
711
|
S = M(t.titleLabels[h], {
|
|
715
712
|
aggregationType: f,
|
|
716
713
|
aggregationField: p,
|
|
717
|
-
[
|
|
714
|
+
[g]: F,
|
|
718
715
|
splitByField: d
|
|
719
716
|
});
|
|
720
717
|
} else if (o.length > 0) {
|
|
@@ -722,7 +719,7 @@ function Z(i, e, t) {
|
|
|
722
719
|
S = M(t.titleLabels[h], {
|
|
723
720
|
aggregationType: f,
|
|
724
721
|
aggregationFields: p,
|
|
725
|
-
[
|
|
722
|
+
[g]: F
|
|
726
723
|
});
|
|
727
724
|
}
|
|
728
725
|
return S;
|
|
@@ -731,40 +728,40 @@ const Ee = (i) => ge({
|
|
|
731
728
|
where: i.query?.where,
|
|
732
729
|
normalize: !1,
|
|
733
730
|
escape: !1
|
|
734
|
-
}) ?? "", oe = (i) => i?.series?.[0]?.query?.outStatistics?.[0]?.statisticType ?? I.NoAggregation, K =
|
|
731
|
+
}) ?? "", oe = (i) => i?.series?.[0]?.query?.outStatistics?.[0]?.statisticType ?? I.NoAggregation, K = We(
|
|
735
732
|
(i) => {
|
|
736
733
|
const e = i?.series?.[0]?.query?.where?.split("=")[0].trim() ?? "";
|
|
737
|
-
return
|
|
734
|
+
return St(i?.series?.[0]?.query?.where) ? "" : e;
|
|
738
735
|
},
|
|
739
736
|
(i) => i?.series?.[0]?.query?.where
|
|
740
|
-
),
|
|
737
|
+
), W = (i) => {
|
|
741
738
|
let e = [];
|
|
742
739
|
if (K(i) === "")
|
|
743
740
|
e = i?.series.map((t) => {
|
|
744
|
-
const
|
|
745
|
-
return
|
|
741
|
+
const r = t.query?.outStatistics?.map((s) => s.onStatisticField) ?? [];
|
|
742
|
+
return r?.length > 0 ? r : t.y;
|
|
746
743
|
}).flat() ?? [];
|
|
747
744
|
else {
|
|
748
|
-
const t = i?.series?.[0],
|
|
749
|
-
e =
|
|
745
|
+
const t = i?.series?.[0], r = t?.query?.outStatistics?.[0]?.onStatisticField ?? [t?.y].flat()[0];
|
|
746
|
+
e = r !== void 0 ? [r] : [];
|
|
750
747
|
}
|
|
751
748
|
return e.filter((t) => t !== "");
|
|
752
749
|
};
|
|
753
750
|
function Me(i) {
|
|
754
|
-
const { splitByField: e, numericFields: t, layer:
|
|
755
|
-
return e === "" ? t[s] ??
|
|
751
|
+
const { splitByField: e, numericFields: t, layer: r, seriesIndex: s } = i, a = j(r).idField ?? "";
|
|
752
|
+
return e === "" ? t[s] ?? a : t[0] ?? a;
|
|
756
753
|
}
|
|
757
754
|
function yi(i) {
|
|
758
|
-
const { numericFields: e, aggregationType: t, config:
|
|
759
|
-
let
|
|
760
|
-
t === I.Count ?
|
|
761
|
-
const
|
|
762
|
-
return
|
|
763
|
-
})),
|
|
764
|
-
const n =
|
|
755
|
+
const { numericFields: e, aggregationType: t, config: r, layerInfo: s } = i;
|
|
756
|
+
let a = !1;
|
|
757
|
+
t === I.Count ? a = !0 : t === I.NoAggregation && (a = e.every((c) => {
|
|
758
|
+
const l = s.layerFieldsInfo.find((m) => m.name === c);
|
|
759
|
+
return l !== void 0 ? xe(l) : !1;
|
|
760
|
+
})), Be(r, 1, a);
|
|
761
|
+
const n = r.series.some((c) => O(c)), o = r.series.some((c) => V(c));
|
|
765
762
|
if (n || o) {
|
|
766
|
-
const
|
|
767
|
-
|
|
763
|
+
const c = P(r), l = s.layerFieldsInfo.find((f) => f.name === c), m = l !== void 0 && xe(l);
|
|
764
|
+
Be(r, 0, m);
|
|
768
765
|
}
|
|
769
766
|
}
|
|
770
767
|
function Ye(i) {
|
|
@@ -774,111 +771,111 @@ function Ye(i) {
|
|
|
774
771
|
const me = (i) => {
|
|
775
772
|
let e;
|
|
776
773
|
if (X(i)) {
|
|
777
|
-
const t = i.orderOptions?.data?.orderByX ?? [""],
|
|
778
|
-
e = [
|
|
774
|
+
const t = i.orderOptions?.data?.orderByX ?? [""], r = i.orderOptions?.data?.orderByY ?? [""], s = i.axes?.[0]?.valueFormat?.type === "category" ? N.Category : N.YValue, a = i.axes?.[1]?.valueFormat?.type === "category" ? N.Category : N.YValue;
|
|
775
|
+
e = [Ce(t, s), Ce(r, a)];
|
|
779
776
|
} else {
|
|
780
|
-
const t = i.orderOptions?.data?.orderType ?? N.Category,
|
|
781
|
-
e = [
|
|
777
|
+
const t = i.orderOptions?.data?.orderType ?? N.Category, r = i.orderOptions?.data && "orderBy" in i.orderOptions.data ? i.orderOptions.data.orderBy : At.Ascending;
|
|
778
|
+
e = [Bt(r, t)];
|
|
782
779
|
}
|
|
783
780
|
return e;
|
|
784
781
|
};
|
|
785
782
|
function mi(i) {
|
|
786
|
-
const { xAxisField: e, numericFields: t, aggregationType:
|
|
783
|
+
const { xAxisField: e, numericFields: t, aggregationType: r, config: s, layerInfo: a, commonStrings: n } = i, { layerFieldsInfo: o } = a, c = ne({
|
|
787
784
|
config: s,
|
|
788
785
|
xAxisField: e,
|
|
789
|
-
aggregationType:
|
|
790
|
-
layerInfo:
|
|
786
|
+
aggregationType: r,
|
|
787
|
+
layerInfo: a,
|
|
791
788
|
seriesIndex: 0,
|
|
792
789
|
commonStrings: n
|
|
793
|
-
}),
|
|
790
|
+
}), l = ae({
|
|
794
791
|
config: s,
|
|
795
792
|
xAxisField: e,
|
|
796
793
|
numericFields: t,
|
|
797
|
-
aggregationType:
|
|
798
|
-
layer:
|
|
794
|
+
aggregationType: r,
|
|
795
|
+
layer: a.layer,
|
|
799
796
|
fieldList: o
|
|
800
|
-
}).name,
|
|
801
|
-
fieldName:
|
|
797
|
+
}).name, m = P(s), f = W(s), p = fe({
|
|
798
|
+
fieldName: m,
|
|
802
799
|
numericFields: f,
|
|
803
800
|
fieldList: o
|
|
804
801
|
}) ? s.series[0] : void 0, u = `series_${Date.now()}`, d = p?.id ?? u, y = p?.name ?? n.axisLabels.values, F = {
|
|
805
|
-
...p ??
|
|
802
|
+
...p ?? c,
|
|
806
803
|
id: d,
|
|
807
804
|
name: y,
|
|
808
805
|
x: U,
|
|
809
|
-
y:
|
|
806
|
+
y: l
|
|
810
807
|
}, S = [];
|
|
811
808
|
for (const h of t)
|
|
812
809
|
S.push({
|
|
813
810
|
onStatisticField: h,
|
|
814
811
|
outStatisticFieldName: `${h}_0`.toUpperCase(),
|
|
815
|
-
statisticType:
|
|
812
|
+
statisticType: r
|
|
816
813
|
});
|
|
817
814
|
return F.query = { outStatistics: S }, s.series.length === 1 && ((O(F) || V(F)) && Xe(F, s.series[0]), Y(F) ? F.fillSymbol = s.series[0].fillSymbol : (O(F) || V(F)) && (F.lineSymbol = s.series[0].lineSymbol, F.markerSymbol = s.series[0].markerSymbol)), [F];
|
|
818
815
|
}
|
|
819
816
|
function $e(i) {
|
|
820
|
-
const { xAxisField: e, numericFields: t, aggregationType:
|
|
817
|
+
const { xAxisField: e, numericFields: t, aggregationType: r, config: s, layerInfo: a, commonStrings: n } = i, { layerFieldsInfo: o } = a, c = j(a.layer).idField, l = [];
|
|
821
818
|
for (let d = 0; d < t.length; d += 1) {
|
|
822
819
|
const y = ne({
|
|
823
820
|
config: s,
|
|
824
821
|
xAxisField: e,
|
|
825
|
-
aggregationType:
|
|
826
|
-
layerInfo:
|
|
822
|
+
aggregationType: r,
|
|
823
|
+
layerInfo: a,
|
|
827
824
|
seriesIndex: d,
|
|
828
825
|
commonStrings: n
|
|
829
|
-
}),
|
|
826
|
+
}), g = s.series[d]?.y, F = typeof g == "string" && g.trim() !== "" && !o.find((D) => D.name === g) ? g : ae({
|
|
830
827
|
config: s,
|
|
831
828
|
xAxisField: e,
|
|
832
829
|
numericFields: t,
|
|
833
|
-
aggregationType:
|
|
834
|
-
layer:
|
|
830
|
+
aggregationType: r,
|
|
831
|
+
layer: a.layer,
|
|
835
832
|
numericFieldIndex: d,
|
|
836
833
|
fieldList: o
|
|
837
834
|
}).name, S = t[d], h = s.series.find(
|
|
838
835
|
(D) => D.query?.where === void 0 && (D.query?.outStatistics?.length === 1 && D.query?.outStatistics?.[0]?.onStatisticField === S || D.query?.outStatistics === void 0 && (D.y === S || D.x === S))
|
|
839
|
-
),
|
|
840
|
-
...
|
|
836
|
+
), A = S !== c ? S : y.id, C = h?.id ?? A, T = h?.name ?? k(o, S) ?? C, b = h ?? y, v = {
|
|
837
|
+
...b,
|
|
841
838
|
id: C,
|
|
842
839
|
name: T
|
|
843
840
|
};
|
|
844
841
|
let E = S;
|
|
845
|
-
v.query !== void 0 && (
|
|
842
|
+
v.query !== void 0 && (r !== I.NoAggregation ? (E = v.type === x.HeatSeries && h?.type === x.HeatSeries ? S : F, v.query.outStatistics = [
|
|
846
843
|
{
|
|
847
|
-
...
|
|
844
|
+
...b.query?.outStatistics?.[0] ?? {},
|
|
848
845
|
onStatisticField: S,
|
|
849
846
|
outStatisticFieldName: F,
|
|
850
|
-
statisticType:
|
|
847
|
+
statisticType: r
|
|
851
848
|
}
|
|
852
|
-
]) : delete v.query.outStatistics), v.y = E,
|
|
849
|
+
]) : delete v.query.outStatistics), v.y = E, l.push(v);
|
|
853
850
|
}
|
|
854
|
-
const
|
|
851
|
+
const m = l.filter((d) => Y(d)), f = l.filter(
|
|
855
852
|
(d) => O(d) || V(d)
|
|
856
853
|
), p = s.series.filter((d) => Y(d)), u = s.series.filter(
|
|
857
854
|
(d) => O(d) || V(d)
|
|
858
855
|
);
|
|
859
|
-
return p.length === 1 &&
|
|
856
|
+
return p.length === 1 && m.length === 1 && Y(p[0]) && Y(m[0]) && (m[0].fillSymbol = p[0].fillSymbol), u.length === 1 && f.length === 1 && ((O(u[0]) && O(f[0]) || V(u[0]) && V(f[0])) && Xe(f[0], u[0]), (O(u[0]) && O(f[0]) || V(u[0]) && V(f[0])) && (f[0].lineSymbol = u[0].lineSymbol, f[0].markerSymbol = u[0].markerSymbol)), l;
|
|
860
857
|
}
|
|
861
|
-
function
|
|
862
|
-
const { aggregationType: e, config: t, layerInfo:
|
|
858
|
+
function Vs(i) {
|
|
859
|
+
const { aggregationType: e, config: t, layerInfo: r, commonStrings: s } = i, { layerFieldsInfo: a, layer: n } = r, o = P(t), c = W(t), l = K(t), m = oe(t), f = le(t, r, s), p = He(t, r, s);
|
|
863
860
|
if (t.series.forEach((u, d) => {
|
|
864
|
-
const y =
|
|
861
|
+
const y = ae({
|
|
865
862
|
config: t,
|
|
866
863
|
xAxisField: o,
|
|
867
|
-
numericFields:
|
|
864
|
+
numericFields: c,
|
|
868
865
|
aggregationType: e,
|
|
869
|
-
splitByField:
|
|
866
|
+
splitByField: l,
|
|
870
867
|
layer: n,
|
|
871
868
|
seriesIndex: d,
|
|
872
869
|
numericFieldIndex: d,
|
|
873
|
-
fieldList:
|
|
870
|
+
fieldList: a
|
|
874
871
|
}).name;
|
|
875
872
|
u.y = y;
|
|
876
|
-
const
|
|
877
|
-
splitByField:
|
|
878
|
-
numericFields:
|
|
873
|
+
const g = Me({
|
|
874
|
+
splitByField: l,
|
|
875
|
+
numericFields: c,
|
|
879
876
|
layer: n,
|
|
880
877
|
seriesIndex: d
|
|
881
|
-
}), F = u.query?.outStatistics?.[0]?.onStatisticField ??
|
|
878
|
+
}), F = u.query?.outStatistics?.[0]?.onStatisticField ?? g;
|
|
882
879
|
u.query = {
|
|
883
880
|
...u.query,
|
|
884
881
|
outStatistics: e === I.NoAggregation ? void 0 : [
|
|
@@ -889,42 +886,42 @@ function ks(i) {
|
|
|
889
886
|
onStatisticField: F
|
|
890
887
|
}
|
|
891
888
|
]
|
|
892
|
-
}, "temporalBinning" in u && u.temporalBinning !== void 0 && (u.temporalBinning.nullPolicy = e === I.NoAggregation ?
|
|
893
|
-
}), f && t.title && (t.title.content.text = Z(t,
|
|
889
|
+
}, "temporalBinning" in u && u.temporalBinning !== void 0 && (u.temporalBinning.nullPolicy = e === I.NoAggregation ? H.Interpolate : H.Null), e === I.NoAggregation && Ht(t);
|
|
890
|
+
}), f && t.title && (t.title.content.text = Z(t, r, s)), p && t.series[0].type !== x.HeatSeries) {
|
|
894
891
|
const u = pe({
|
|
895
892
|
config: t,
|
|
896
|
-
layerInfo:
|
|
893
|
+
layerInfo: r,
|
|
897
894
|
commonStrings: s,
|
|
898
|
-
numericFields:
|
|
895
|
+
numericFields: c,
|
|
899
896
|
aggregationType: e
|
|
900
897
|
});
|
|
901
898
|
$(t, 1, u);
|
|
902
899
|
}
|
|
903
|
-
|
|
900
|
+
m !== e && Ye(t);
|
|
904
901
|
}
|
|
905
902
|
function gi(i) {
|
|
906
903
|
const {
|
|
907
904
|
splitByField: e,
|
|
908
905
|
xAxisField: t,
|
|
909
|
-
numericFields:
|
|
906
|
+
numericFields: r,
|
|
910
907
|
aggregationType: s,
|
|
911
|
-
config:
|
|
908
|
+
config: a,
|
|
912
909
|
layerInfo: n,
|
|
913
910
|
commonStrings: o,
|
|
914
|
-
splitByFieldInfos:
|
|
915
|
-
} = i, { layer:
|
|
911
|
+
splitByFieldInfos: c
|
|
912
|
+
} = i, { layer: l, layerFieldsInfo: m } = n, { categoriesArray: f, splitByFieldType: p } = c, u = Me({
|
|
916
913
|
splitByField: e,
|
|
917
|
-
numericFields:
|
|
918
|
-
layer:
|
|
914
|
+
numericFields: r,
|
|
915
|
+
layer: l,
|
|
919
916
|
seriesIndex: 0
|
|
920
917
|
});
|
|
921
918
|
let d = [];
|
|
922
919
|
if (f.length === 0) {
|
|
923
920
|
d = $e({
|
|
924
921
|
xAxisField: t,
|
|
925
|
-
numericFields:
|
|
922
|
+
numericFields: r,
|
|
926
923
|
aggregationType: s,
|
|
927
|
-
config:
|
|
924
|
+
config: a,
|
|
928
925
|
layerInfo: n,
|
|
929
926
|
commonStrings: o
|
|
930
927
|
});
|
|
@@ -932,17 +929,17 @@ function gi(i) {
|
|
|
932
929
|
y.query && (y.query.where = `${e}=''`);
|
|
933
930
|
} else
|
|
934
931
|
for (let y = 0; y < f.length; y += 1) {
|
|
935
|
-
const
|
|
936
|
-
config:
|
|
932
|
+
const g = f[y], F = ae({
|
|
933
|
+
config: a,
|
|
937
934
|
xAxisField: t,
|
|
938
|
-
numericFields:
|
|
935
|
+
numericFields: r,
|
|
939
936
|
aggregationType: s,
|
|
940
937
|
layer: n.layer,
|
|
941
938
|
seriesIndex: y,
|
|
942
939
|
splitByField: e,
|
|
943
|
-
fieldList:
|
|
940
|
+
fieldList: m
|
|
944
941
|
}).name, S = ne({
|
|
945
|
-
config:
|
|
942
|
+
config: a,
|
|
946
943
|
xAxisField: t,
|
|
947
944
|
aggregationType: s,
|
|
948
945
|
layerInfo: n,
|
|
@@ -951,17 +948,17 @@ function gi(i) {
|
|
|
951
948
|
}), h = Oe({
|
|
952
949
|
queryObject: n.layer,
|
|
953
950
|
fieldName: e,
|
|
954
|
-
fieldValue:
|
|
955
|
-
}),
|
|
956
|
-
(D) => String(Ee(D)).trim().replace(/'/gu, "") ===
|
|
957
|
-
), T = C?.id ??
|
|
951
|
+
fieldValue: g ?? ""
|
|
952
|
+
}), A = `${g}`, C = a.series.find(
|
|
953
|
+
(D) => String(Ee(D)).trim().replace(/'/gu, "") === A
|
|
954
|
+
), T = C?.id ?? A, b = C?.name ?? h ?? T, v = C ?? S, E = {
|
|
958
955
|
...v,
|
|
959
956
|
id: T,
|
|
960
|
-
name:
|
|
957
|
+
name: b,
|
|
961
958
|
y: F,
|
|
962
959
|
query: {
|
|
963
960
|
...v.query,
|
|
964
|
-
where: `${e}=${p === Re.String &&
|
|
961
|
+
where: `${e}=${p === Re.String && g !== null ? `'${g}'` : g}`,
|
|
965
962
|
outStatistics: s !== I.NoAggregation ? [
|
|
966
963
|
{
|
|
967
964
|
...v.query?.outStatistics?.[0] ?? {},
|
|
@@ -976,94 +973,94 @@ function gi(i) {
|
|
|
976
973
|
}
|
|
977
974
|
return d;
|
|
978
975
|
}
|
|
979
|
-
const
|
|
976
|
+
const qs = (i) => {
|
|
980
977
|
const {
|
|
981
978
|
xAxisFieldName: e,
|
|
982
979
|
splitByField: t,
|
|
983
|
-
numericFields:
|
|
980
|
+
numericFields: r,
|
|
984
981
|
aggregationType: s,
|
|
985
|
-
config:
|
|
982
|
+
config: a,
|
|
986
983
|
layerInfo: n,
|
|
987
984
|
commonStrings: o,
|
|
988
|
-
splitByFieldInfos:
|
|
989
|
-
} = i, { layerFieldsInfo:
|
|
990
|
-
let T = qe(
|
|
991
|
-
const
|
|
992
|
-
if (_(S) ? T =
|
|
993
|
-
ne({ config:
|
|
994
|
-
]),
|
|
985
|
+
splitByFieldInfos: c
|
|
986
|
+
} = i, { layerFieldsInfo: l } = n ?? {}, m = te(a), f = Et(a), p = P(m), u = K(m), d = oe(m), y = l.find((B) => B.name === p), g = a.series[0]?.query === void 0, F = W(m), S = l.find((B) => B.name === e), h = le(m, n, o), A = He(m, n, o), C = pi({ config: m, layerInfo: n, commonStrings: o });
|
|
987
|
+
let T = qe(a);
|
|
988
|
+
const b = m.series.some((B) => Y(B)), v = ht(m.series), E = Tt(m.series), D = q(y) || q(S);
|
|
989
|
+
if (_(S) ? T = ye() : !Q(y) && Q(S) ? T = J() : !q(y) && q(S) ? T = J() : q(y) && !q(S) && (b ? T = ye() : T = qt()), T !== void 0 && xt(a, o, T), f === 0 && (a.series = [
|
|
990
|
+
ne({ config: a, xAxisField: e, aggregationType: s, layerInfo: n, commonStrings: o })
|
|
991
|
+
]), a.series.forEach((B) => {
|
|
995
992
|
B.x = e, B.query !== void 0 && (B.query.groupByFieldsForStatistics = [e]);
|
|
996
|
-
}), t === "" ||
|
|
993
|
+
}), t === "" || r.length > 1 ? fe({
|
|
997
994
|
fieldName: e,
|
|
998
|
-
numericFields:
|
|
999
|
-
fieldList:
|
|
1000
|
-
}) ?
|
|
1001
|
-
config:
|
|
995
|
+
numericFields: r,
|
|
996
|
+
fieldList: l
|
|
997
|
+
}) ? a.series = mi({
|
|
998
|
+
config: a,
|
|
1002
999
|
layerInfo: n,
|
|
1003
1000
|
xAxisField: e,
|
|
1004
|
-
numericFields:
|
|
1001
|
+
numericFields: r,
|
|
1005
1002
|
aggregationType: s,
|
|
1006
1003
|
commonStrings: o
|
|
1007
|
-
}) :
|
|
1008
|
-
config:
|
|
1004
|
+
}) : a.series = $e({
|
|
1005
|
+
config: a,
|
|
1009
1006
|
layerInfo: n,
|
|
1010
1007
|
xAxisField: e,
|
|
1011
|
-
numericFields:
|
|
1008
|
+
numericFields: r,
|
|
1012
1009
|
aggregationType: s,
|
|
1013
1010
|
commonStrings: o
|
|
1014
|
-
}) :
|
|
1015
|
-
config:
|
|
1011
|
+
}) : c && (a.series = gi({
|
|
1012
|
+
config: a,
|
|
1016
1013
|
layerInfo: n,
|
|
1017
1014
|
splitByField: t,
|
|
1018
1015
|
xAxisField: e,
|
|
1019
|
-
numericFields:
|
|
1016
|
+
numericFields: r,
|
|
1020
1017
|
aggregationType: s,
|
|
1021
1018
|
commonStrings: o,
|
|
1022
|
-
splitByFieldInfos:
|
|
1023
|
-
})), C && e !== U &&
|
|
1024
|
-
const B = k(
|
|
1025
|
-
$(
|
|
1019
|
+
splitByFieldInfos: c
|
|
1020
|
+
})), C && e !== U && a.series[0].type !== x.HeatSeries) {
|
|
1021
|
+
const B = k(l, e);
|
|
1022
|
+
$(a, 0, B);
|
|
1026
1023
|
}
|
|
1027
|
-
if (
|
|
1024
|
+
if (A && a.series[0].type !== x.HeatSeries) {
|
|
1028
1025
|
const B = pe({
|
|
1029
|
-
config:
|
|
1026
|
+
config: a,
|
|
1030
1027
|
layerInfo: n,
|
|
1031
1028
|
commonStrings: o,
|
|
1032
|
-
numericFields:
|
|
1029
|
+
numericFields: r,
|
|
1033
1030
|
aggregationType: s
|
|
1034
1031
|
});
|
|
1035
|
-
$(
|
|
1032
|
+
$(a, 1, B);
|
|
1036
1033
|
}
|
|
1037
|
-
if (h &&
|
|
1038
|
-
const B = q(S) ?
|
|
1039
|
-
Xt(B,
|
|
1034
|
+
if (h && a.title && (a.title.content.text = Z(a, n, o)), p === e && u === t && d === s && je(F, r) || Ye(a), yi({ numericFields: r, aggregationType: s, config: a, layerInfo: n }), (v || E) && (z({ config: a, value: null, axisIndex: 0, isMax: !1 }), z({ config: a, value: null, axisIndex: 0, isMax: !0 }), D && s !== I.NoAggregation && !X(m))) {
|
|
1035
|
+
const B = q(S) ? H.Null : H.Interpolate;
|
|
1036
|
+
Xt(B, a);
|
|
1040
1037
|
}
|
|
1041
|
-
X(
|
|
1042
|
-
|
|
1038
|
+
X(a) && Pe({ commonStrings: o, config: a, layerInfo: n }), a.series.forEach((B) => {
|
|
1039
|
+
g && delete B.query, p !== e && L(B) && (S?.type === Re.TimeOnly ? B.binTemporalData = !1 : B.binTemporalData = B.type === x.LineSeries && q(S));
|
|
1043
1040
|
});
|
|
1044
1041
|
}, Xe = (i, e) => {
|
|
1045
1042
|
i.markerVisible = e.markerVisible, i.lineSmoothed = e.lineSmoothed, i.showArea = e.showArea, i.areaColor = e.areaColor, i.stackNegativeValuesToBaseline = e.stackNegativeValuesToBaseline, e.lineSymbol && (i.lineSymbol = { ...e.lineSymbol, color: i.lineSymbol?.color }), e.markerSymbol && (i.markerSymbol = {
|
|
1046
1043
|
...e.markerSymbol,
|
|
1047
1044
|
color: i.markerSymbol?.color
|
|
1048
1045
|
});
|
|
1049
|
-
},
|
|
1050
|
-
const { config: e, seriesIndex: t, layerInfo:
|
|
1046
|
+
}, Rs = (i) => {
|
|
1047
|
+
const { config: e, seriesIndex: t, layerInfo: r, commonStrings: s } = i, a = e.series?.[t], n = K(e);
|
|
1051
1048
|
let o;
|
|
1052
|
-
if (ie(e.series) ===
|
|
1049
|
+
if (ie(e.series) === w.BarAndLineFromFields)
|
|
1053
1050
|
o = s.axisLabels.values;
|
|
1054
1051
|
else if (Ue(n)) {
|
|
1055
|
-
const
|
|
1056
|
-
|
|
1052
|
+
const l = a.query?.outStatistics?.[0]?.onStatisticField;
|
|
1053
|
+
l !== void 0 && l !== j(r.layer).idField && (o = k(r.layerFieldsInfo, l));
|
|
1057
1054
|
} else {
|
|
1058
|
-
const
|
|
1055
|
+
const l = String(Ee(a)).trim().replace(/'/gu, "");
|
|
1059
1056
|
o = Oe({
|
|
1060
|
-
queryObject:
|
|
1057
|
+
queryObject: r.layer,
|
|
1061
1058
|
fieldName: n,
|
|
1062
|
-
fieldValue:
|
|
1063
|
-
}) ??
|
|
1059
|
+
fieldValue: l ?? ""
|
|
1060
|
+
}) ?? l;
|
|
1064
1061
|
}
|
|
1065
|
-
return o ??
|
|
1066
|
-
},
|
|
1062
|
+
return o ?? a.id;
|
|
1063
|
+
}, ks = (i, e) => {
|
|
1067
1064
|
if (X(e))
|
|
1068
1065
|
ni(i, e);
|
|
1069
1066
|
else {
|
|
@@ -1074,125 +1071,126 @@ const Ps = (i) => {
|
|
|
1074
1071
|
orderBy: [...i]
|
|
1075
1072
|
});
|
|
1076
1073
|
}
|
|
1077
|
-
},
|
|
1078
|
-
const { config: e, layerInfo: t, errorStrings:
|
|
1074
|
+
}, ws = async (i) => {
|
|
1075
|
+
const { config: e, layerInfo: t, num: r, errorStrings: s } = i, a = P(e), n = qe(e)?.type, o = W(e), c = ie(e.series);
|
|
1079
1076
|
let l = [];
|
|
1080
|
-
return
|
|
1077
|
+
return n === x.CategoryAxisFormat && (c === w.BarAndLineFromFields || a === U ? l = o.map((m) => k(t?.layerFieldsInfo, m)) : a.trim() !== "" && a !== U && t !== void 0 && (l = await Ft({
|
|
1081
1078
|
layerInfo: t,
|
|
1082
1079
|
config: e,
|
|
1083
|
-
category:
|
|
1084
|
-
|
|
1080
|
+
category: a,
|
|
1081
|
+
num: r,
|
|
1082
|
+
errorStrings: s
|
|
1085
1083
|
}))), l;
|
|
1086
1084
|
};
|
|
1087
1085
|
function le(i, e, t) {
|
|
1088
|
-
const
|
|
1089
|
-
return
|
|
1086
|
+
const r = Z(i, e, t), s = Mt(i), a = re(i);
|
|
1087
|
+
return r === s || a;
|
|
1090
1088
|
}
|
|
1091
|
-
function
|
|
1092
|
-
const
|
|
1089
|
+
function He(i, e, t) {
|
|
1090
|
+
const r = pe({
|
|
1093
1091
|
config: i,
|
|
1094
1092
|
layerInfo: e,
|
|
1095
1093
|
commonStrings: t,
|
|
1096
|
-
numericFields:
|
|
1094
|
+
numericFields: W(i),
|
|
1097
1095
|
aggregationType: oe(i)
|
|
1098
|
-
}), s =
|
|
1099
|
-
return
|
|
1096
|
+
}), s = se(1, i), a = re(i);
|
|
1097
|
+
return r === s || a;
|
|
1100
1098
|
}
|
|
1101
1099
|
function pi(i) {
|
|
1102
|
-
const { config: e, layerInfo: t, commonStrings:
|
|
1103
|
-
return s ===
|
|
1100
|
+
const { config: e, layerInfo: t, commonStrings: r } = i, s = k(t.layerFieldsInfo, P(e)), a = se(0, e), n = re(e), o = P(e) === U && (a === "" || a === r.xAxis);
|
|
1101
|
+
return s === a || n || o;
|
|
1104
1102
|
}
|
|
1105
|
-
function
|
|
1103
|
+
function Ps(i) {
|
|
1106
1104
|
return L(i.series[0]) ? i.series[0].binTemporalData ?? !0 : !1;
|
|
1107
1105
|
}
|
|
1108
|
-
function
|
|
1106
|
+
function Es(i, e) {
|
|
1109
1107
|
e?.series.forEach((t) => {
|
|
1110
1108
|
L(t) && (t.binTemporalData = i, i ? t.temporalBinning = {
|
|
1111
|
-
unit:
|
|
1109
|
+
unit: de.Day,
|
|
1112
1110
|
size: 0,
|
|
1113
1111
|
timeAggregationType: bt.Start,
|
|
1114
1112
|
trimIncompleteTimeInterval: !0,
|
|
1115
|
-
nullPolicy:
|
|
1113
|
+
nullPolicy: H.Null
|
|
1116
1114
|
} : delete t.temporalBinning);
|
|
1117
1115
|
});
|
|
1118
1116
|
}
|
|
1119
1117
|
export {
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1118
|
+
ts as $,
|
|
1119
|
+
ws as A,
|
|
1120
|
+
ks as B,
|
|
1121
|
+
qs as C,
|
|
1122
|
+
Ps as D,
|
|
1123
|
+
Es as E,
|
|
1126
1124
|
Z as F,
|
|
1127
|
-
|
|
1125
|
+
Pe as G,
|
|
1128
1126
|
si as H,
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1127
|
+
Gi as I,
|
|
1128
|
+
Ts as J,
|
|
1129
|
+
xs as K,
|
|
1132
1130
|
ai as L,
|
|
1133
|
-
|
|
1131
|
+
Ji as M,
|
|
1134
1132
|
ri as N,
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1133
|
+
es as O,
|
|
1134
|
+
Bs as P,
|
|
1135
|
+
Cs as Q,
|
|
1136
|
+
As as R,
|
|
1137
|
+
bs as S,
|
|
1138
|
+
Ls as T,
|
|
1139
|
+
Ds as U,
|
|
1140
|
+
Ns as V,
|
|
1143
1141
|
Kt as W,
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1142
|
+
Os as X,
|
|
1143
|
+
ji as Y,
|
|
1144
|
+
Zi as Z,
|
|
1145
|
+
is as _,
|
|
1146
|
+
Xi as a,
|
|
1147
|
+
as as a0,
|
|
1148
|
+
ss as a1,
|
|
1149
|
+
_i as a2,
|
|
1150
|
+
Ki as a3,
|
|
1151
|
+
zi as a4,
|
|
1152
|
+
Qi as a5,
|
|
1153
|
+
os as a6,
|
|
1154
|
+
ls as a7,
|
|
1155
|
+
cs as a8,
|
|
1156
|
+
us as a9,
|
|
1157
|
+
ns as aa,
|
|
1158
|
+
rs as ab,
|
|
1159
|
+
ds as ac,
|
|
1162
1160
|
oi as ad,
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1161
|
+
ys as ae,
|
|
1162
|
+
ms as af,
|
|
1163
|
+
gs as ag,
|
|
1164
|
+
ps as ah,
|
|
1165
|
+
fs as ai,
|
|
1166
|
+
Ss as aj,
|
|
1167
|
+
Is as ak,
|
|
1168
|
+
vs as al,
|
|
1169
|
+
Fs as am,
|
|
1170
|
+
hs as an,
|
|
1171
|
+
Mi as b,
|
|
1172
|
+
Yi as c,
|
|
1173
|
+
W as d,
|
|
1176
1174
|
K as e,
|
|
1177
|
-
|
|
1175
|
+
Ui as f,
|
|
1178
1176
|
oe as g,
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1177
|
+
Rs as h,
|
|
1178
|
+
Hi as i,
|
|
1179
|
+
Vi as j,
|
|
1182
1180
|
$t as k,
|
|
1183
1181
|
Yt as l,
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1182
|
+
wi as m,
|
|
1183
|
+
qi as n,
|
|
1184
|
+
Pi as o,
|
|
1185
|
+
Wi as p,
|
|
1186
|
+
Ri as q,
|
|
1189
1187
|
_t as r,
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1188
|
+
we as s,
|
|
1189
|
+
Ei as t,
|
|
1190
|
+
$i as u,
|
|
1191
|
+
ki as v,
|
|
1194
1192
|
Xt as w,
|
|
1195
|
-
|
|
1196
|
-
|
|
1193
|
+
Ht as x,
|
|
1194
|
+
Vs as y,
|
|
1197
1195
|
me as z
|
|
1198
1196
|
};
|