@arcgis/charts-components 5.0.0-next.92 → 5.0.0-next.93
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/{WODUPWQJ.js → 25NVRCT6.js} +2 -2
- package/dist/cdn/{55DS4LOX.js → 2IXKMILJ.js} +2 -2
- package/dist/cdn/{MALMNJGS.js → 2MSMGA2J.js} +2 -2
- package/dist/cdn/{BOZLCMTH.js → 2NN7DTQI.js} +2 -2
- package/dist/cdn/{MAW4POZR.js → 3EJD4IXF.js} +2 -2
- package/dist/cdn/{XVKA5WBJ.js → 3HMU3PVL.js} +2 -2
- package/dist/cdn/{XTAO3PRD.js → 3HSFH7N2.js} +2 -2
- package/dist/cdn/{VXLW5ERI.js → 3KWO7E3K.js} +2 -2
- package/dist/cdn/{RH7TSPZI.js → 3MKEPXJ7.js} +2 -2
- package/dist/cdn/{KQCSEHI7.js → 3Z2QSCTV.js} +2 -2
- package/dist/cdn/{6DDMIL4X.js → 44YYFJKT.js} +2 -2
- package/dist/cdn/{EYAL4FRL.js → 4KFXWKQ6.js} +2 -2
- package/dist/cdn/{ZNG4CFXZ.js → 4LJ4JQJ7.js} +2 -2
- package/dist/cdn/4OGDPZU4.js +4 -0
- package/dist/cdn/{YVKVLWFH.js → 4OQDLJ47.js} +2 -2
- package/dist/cdn/{XSBF3TUF.js → 4Q36RWLW.js} +2 -2
- package/dist/cdn/{4R6LUGSM.js → 4RMWQX3V.js} +2 -2
- package/dist/cdn/{N34TAWFT.js → 4XHCRD2W.js} +2 -2
- package/dist/cdn/{TN23IJY4.js → 5CJM57Q3.js} +2 -2
- package/dist/cdn/{RI6CGF7Q.js → 5EYMB54L.js} +2 -2
- package/dist/cdn/{3M3GO6E4.js → 5FRU47KA.js} +2 -2
- package/dist/cdn/{K56TSX5A.js → 5KOCJLXO.js} +2 -2
- package/dist/cdn/{HSI6OOJB.js → 5NZMPRMC.js} +2 -2
- package/dist/cdn/{YLOMCWHK.js → 5PJDTFKF.js} +2 -2
- package/dist/cdn/5W5OABAX.js +4 -0
- package/dist/cdn/{OVG7MVAO.js → 5XMAGN24.js} +2 -2
- package/dist/cdn/{6DFYJBII.js → 5YCW374H.js} +2 -2
- package/dist/cdn/{S7G7QMWT.js → 5YH3BEGE.js} +2 -2
- package/dist/cdn/{OK4U5LPQ.js → 6GTU6OIS.js} +2 -2
- package/dist/cdn/{SPRMVZEV.js → 6RFZ5GHL.js} +2 -2
- package/dist/cdn/{UKSH7SZU.js → 6UEXWTID.js} +2 -2
- package/dist/cdn/{E33O6BDQ.js → 6WV3HHL3.js} +2 -2
- package/dist/cdn/{SZCQ5QNJ.js → 6ZBGSDBP.js} +2 -2
- package/dist/cdn/{XR3G2FWH.js → 77U5H6TC.js} +2 -2
- package/dist/cdn/{QOAF3BEM.js → 7N42OAF5.js} +2 -2
- package/dist/cdn/{FCIITVHF.js → 7RTYOWRE.js} +1 -1
- package/dist/cdn/{FCCAQSJN.js → 7VEIW6BO.js} +2 -2
- package/dist/cdn/{ZLPJTJHE.js → 7YJ6DBB4.js} +2 -2
- package/dist/cdn/{RTJ7I6AU.js → A225XV4O.js} +2 -2
- package/dist/cdn/{35O2XZHG.js → A73DJHKG.js} +2 -2
- package/dist/cdn/A7BFPV6D.js +4 -0
- package/dist/cdn/{3TREVBT6.js → ACP52WBE.js} +2 -2
- package/dist/cdn/{EGGBGFEA.js → AGBJUYQI.js} +2 -2
- package/dist/cdn/{22AK4F2F.js → B2BGJQNP.js} +2 -2
- package/dist/cdn/{EGALYNNE.js → BAHKLOWY.js} +2 -2
- package/dist/cdn/{PM3JC75G.js → BTW3B5RQ.js} +2 -2
- package/dist/cdn/BTYDNDRO.js +4 -0
- package/dist/cdn/{YZGWI7F6.js → CCCD7SQM.js} +2 -2
- package/dist/cdn/{JPGBEFJY.js → CGY65CGB.js} +2 -2
- package/dist/cdn/{WCLEO3FE.js → CIKKQQIV.js} +1 -1
- package/dist/cdn/{HYKMJDEO.js → CRLH7XPB.js} +2 -2
- package/dist/cdn/{ADAO26AB.js → CSKFAIL3.js} +2 -2
- package/dist/cdn/{W7NIWUUF.js → D2PRTFSA.js} +2 -2
- package/dist/cdn/{O7MHYL5H.js → DEMM5Y74.js} +2 -2
- package/dist/cdn/{PI5QXU3R.js → DNYRP3S2.js} +2 -2
- package/dist/cdn/{4KT4OKBI.js → DV6XXDO5.js} +4 -4
- package/dist/cdn/{RLYRHI6F.js → DWM7CRT2.js} +2 -2
- package/dist/cdn/{B6GMWMC3.js → EHRODA5M.js} +2 -2
- package/dist/cdn/{64FFLV2Z.js → EJJA2CDN.js} +2 -2
- package/dist/cdn/{UNVW7MKQ.js → EPKFOC2Y.js} +2 -2
- package/dist/cdn/{5X3KPGHV.js → ET76CRZP.js} +2 -2
- package/dist/cdn/{L5CO2JJU.js → EXMRNG3S.js} +2 -2
- package/dist/cdn/{RJAVBT7B.js → F76XUZ25.js} +2 -2
- package/dist/cdn/{SHH4SOQ7.js → FCALQILZ.js} +2 -2
- package/dist/cdn/{HA4SKVSE.js → FH4X2QLC.js} +1 -1
- package/dist/cdn/{BBL25543.js → FIAAFHXU.js} +2 -2
- package/dist/cdn/{G6CSJDUZ.js → FK4IRDPX.js} +2 -2
- package/dist/cdn/{QAYQKKZW.js → FN5637J3.js} +2 -2
- package/dist/cdn/{SORRW6L2.js → FSDWXW4O.js} +2 -2
- package/dist/cdn/{EWEEDI2N.js → FSYRFW3I.js} +2 -2
- package/dist/cdn/{WB37ZNNA.js → FTK47RG3.js} +2 -2
- package/dist/cdn/{DXA2FAEM.js → FZGEGRKZ.js} +2 -2
- package/dist/cdn/{RYQ6SCXY.js → GAIQQUOT.js} +2 -2
- package/dist/cdn/{XCBQ6WPS.js → GCKF33T7.js} +2 -2
- package/dist/cdn/{RLNYLN7R.js → GH7OQ4OD.js} +2 -2
- package/dist/cdn/{6ONOSKIW.js → GHWIHXXL.js} +2 -2
- package/dist/cdn/{Q2SBTG5O.js → GTIREMJ6.js} +2 -2
- package/dist/cdn/{4KQATRP2.js → GUHM7HZH.js} +2 -2
- package/dist/cdn/{OS3UZMYX.js → GXHJSEQS.js} +2 -2
- package/dist/cdn/{SJYLKIX2.js → HFTFS2QM.js} +2 -2
- package/dist/cdn/{FBBJQGTQ.js → HNJVNSXX.js} +2 -2
- package/dist/cdn/{2JTQH26T.js → HYBT33ME.js} +2 -2
- package/dist/cdn/{SE3MVGV3.js → I3IFVDAK.js} +2 -2
- package/dist/cdn/{RJ5XK5JE.js → IDZVHCFR.js} +2 -2
- package/dist/cdn/{RRA3W5KX.js → IE33YJON.js} +2 -2
- package/dist/cdn/{NKT7GWGS.js → IEIXE3OQ.js} +2 -2
- package/dist/cdn/{RMCMTSKO.js → IJS45TBY.js} +2 -2
- package/dist/cdn/{HNTO4WLF.js → IRLBAZYM.js} +2 -2
- package/dist/cdn/{NYDRB42C.js → ISXWM2OK.js} +2 -2
- package/dist/cdn/{55EN2NXJ.js → IT67OUEE.js} +2 -2
- package/dist/cdn/{EL4AH2XG.js → IZMWTHFC.js} +2 -2
- package/dist/cdn/{NDPXJ25Q.js → J6NHMZ3R.js} +2 -2
- package/dist/cdn/{4JZIZCJQ.js → JJXE7GKV.js} +2 -2
- package/dist/cdn/{3ZC4BUPF.js → JK3JVA5A.js} +2 -2
- package/dist/cdn/{XHVLCVK4.js → JLPIXSYU.js} +2 -2
- package/dist/cdn/{DP5EMB5H.js → JSXDDBVL.js} +3 -3
- package/dist/cdn/{POOLKYHJ.js → JW5YMLJT.js} +2 -2
- package/dist/cdn/{E7ZQWB2M.js → JWIKRNCB.js} +2 -2
- package/dist/cdn/{T77ONTPI.js → JXHDBPT6.js} +2 -2
- package/dist/cdn/{DVCOVYWF.js → KAZ5P7A3.js} +2 -2
- package/dist/cdn/{MKQ7K6MX.js → KE3DDQR4.js} +2 -2
- package/dist/cdn/{IQ3E64TG.js → KIUVQGAD.js} +2 -2
- package/dist/cdn/{EA2MSUSU.js → L65P7HWG.js} +2 -2
- package/dist/cdn/{5ZNIFW36.js → LAJJTOOI.js} +2 -2
- package/dist/cdn/{6R2BOBKT.js → LWJ3KNGH.js} +2 -2
- package/dist/cdn/{FF7I7CQ5.js → MGS63JHV.js} +2 -2
- package/dist/cdn/{4VLLPVUD.js → MH7W3VD7.js} +2 -2
- package/dist/cdn/{3WOXEF52.js → MHA5ADHY.js} +2 -2
- package/dist/cdn/{XADR427A.js → MHRLFRCI.js} +2 -2
- package/dist/cdn/{JGPUHVUA.js → MKLPOMZL.js} +2 -2
- package/dist/cdn/{BMKTYALT.js → MRIC23VP.js} +2 -2
- package/dist/cdn/{ZUAQNNTO.js → NEPHLRES.js} +2 -2
- package/dist/cdn/{HZ23PIDY.js → NLXHEPHE.js} +2 -2
- package/dist/cdn/{2TLDPAT3.js → NX4ZYQKI.js} +2 -2
- package/dist/cdn/{AAZBQ4WV.js → O2IDJNIQ.js} +2 -2
- package/dist/cdn/{B7P2A6H4.js → OH5N5A25.js} +2 -2
- package/dist/cdn/{YR5HPG2Z.js → OI5LIKMK.js} +2 -2
- package/dist/cdn/{GPV25PDE.js → P7Q7VGOV.js} +2 -2
- package/dist/cdn/PASITS4S.js +4 -0
- package/dist/cdn/{6NTRO5KX.js → PXPZ52KW.js} +2 -2
- package/dist/cdn/{4777QUW4.js → PZMWBEQD.js} +2 -2
- package/dist/cdn/{VQLNQFW3.js → QBDHQMBT.js} +2 -2
- package/dist/cdn/{HHSW7P2D.js → QDIN3724.js} +1 -1
- package/dist/cdn/{NHR4AORZ.js → QQYVRX5O.js} +1 -1
- package/dist/cdn/{KTRD4KGM.js → R3ARFK7U.js} +1 -1
- package/dist/cdn/{HCGKMVNY.js → R4XPHEQA.js} +1 -1
- package/dist/cdn/{2LURLH2T.js → RLBG4KL3.js} +2 -2
- package/dist/cdn/{QQNRTBSD.js → S44EDX7K.js} +2 -2
- package/dist/cdn/{FWHFUJH2.js → SHRPD3BH.js} +2 -2
- package/dist/cdn/{TJMM56E5.js → SIHY4ZJT.js} +2 -2
- package/dist/cdn/{FJQBFLZT.js → SNMRFKE4.js} +2 -2
- package/dist/cdn/{BJH2D36B.js → SP5BCW6D.js} +2 -2
- package/dist/cdn/{IRYHVRLL.js → SPCKOH4U.js} +2 -2
- package/dist/cdn/{5SIATZAU.js → SWLLI4I6.js} +2 -2
- package/dist/cdn/{EXD2UGCV.js → SZEDL76Q.js} +2 -2
- package/dist/cdn/{52VUFEZY.js → TON755AO.js} +2 -2
- package/dist/cdn/{LVOZOQFD.js → TROW2MMR.js} +2 -2
- package/dist/cdn/{OR5BOTJS.js → TZXRKTSQ.js} +2 -2
- package/dist/cdn/{KTOREEDV.js → U4M7M63Y.js} +2 -2
- package/dist/cdn/{4VZ6QMG5.js → UAPNXZFH.js} +2 -2
- package/dist/cdn/{XY44M4HH.js → UCQCQCRT.js} +2 -2
- package/dist/cdn/{O65YUIVN.js → UKIVUV46.js} +2 -2
- package/dist/cdn/{KOBFWR75.js → ULM7PJN3.js} +2 -2
- package/dist/cdn/{JFRJ5JXQ.js → UUSGQX34.js} +2 -2
- package/dist/cdn/{PVMMRVX2.js → UYCAKFS5.js} +2 -2
- package/dist/cdn/{CME4FZL3.js → UZ2IKZEE.js} +2 -2
- package/dist/cdn/{BVRRYTYE.js → V2BTZTTF.js} +2 -2
- package/dist/cdn/{RPR4JNE2.js → V2DPDVG2.js} +2 -2
- package/dist/cdn/{CBMDPUVW.js → VEAH7EOT.js} +2 -2
- package/dist/cdn/{T2N7PRNS.js → VKKYYLX7.js} +2 -2
- package/dist/cdn/{Z27KXTHV.js → VKLQAILN.js} +2 -2
- package/dist/cdn/{LWQTDICJ.js → VN2NYXC5.js} +2 -2
- package/dist/cdn/{Y6LD4Z7J.js → VQ64OCX7.js} +2 -2
- package/dist/cdn/{4QV5HUW7.js → VTSGZ4ND.js} +2 -2
- package/dist/cdn/{YQJIH6TU.js → VVIT3L65.js} +2 -2
- package/dist/cdn/{CXD6IB6P.js → WAZU2WPD.js} +2 -2
- package/dist/cdn/{7YJRE2QY.js → WOFAT6UF.js} +2 -2
- package/dist/cdn/{GAF7ZMZC.js → WRI5TFQC.js} +2 -2
- package/dist/cdn/{33YOF5RY.js → X7AMREMG.js} +1 -1
- package/dist/cdn/{OP5DH6EI.js → X7EUF4HO.js} +2 -2
- package/dist/cdn/{F32QBAZA.js → XFMYRFQI.js} +2 -2
- package/dist/cdn/{7WKH6224.js → XXJAOJ7R.js} +2 -2
- package/dist/cdn/{W2OVUC3H.js → Y3E37OLZ.js} +2 -2
- package/dist/cdn/{RG7WAFGP.js → YAYYVHLA.js} +2 -2
- package/dist/cdn/YBU2OWH6.js +4 -0
- package/dist/cdn/{UMQEBGAU.js → YBZDUPL2.js} +2 -2
- package/dist/cdn/{WTUTZVLM.js → YUCNN7WQ.js} +2 -2
- package/dist/cdn/{GNJ55HZ3.js → YXXUBCXK.js} +2 -2
- package/dist/cdn/{IGUDJWE5.js → Z5AKM2PE.js} +2 -2
- package/dist/cdn/{HRYX5JOT.js → Z7FX5SJM.js} +2 -2
- package/dist/cdn/{3GT2R7QQ.js → ZGRD4WOV.js} +2 -2
- package/dist/cdn/{WQ3IKXAI.js → ZIWU65CX.js} +18 -18
- package/dist/cdn/{PGINT6OT.js → ZNNYQFJJ.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/action-bar-utils.js +10 -10
- package/dist/chunks/axis-model-wrapper.js +1 -1
- package/dist/chunks/bar-chart-model.js +2 -2
- package/dist/chunks/bar-chart-series.js +1 -1
- package/dist/chunks/bg_BG.js +1 -1
- package/dist/chunks/bg_BG2.js +1 -1
- package/dist/chunks/box-plot-data.js +27 -27
- package/dist/chunks/box-plot-model.js +2 -2
- package/dist/chunks/chart-ui-utils.js +1 -1
- package/dist/chunks/chart-ui-utils2.js +16 -16
- package/dist/chunks/combo-bar-line-chart-model.js +2 -2
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/data.js +5 -5
- package/dist/chunks/default.js +1 -1
- package/dist/chunks/gauge-model.js +11 -11
- package/dist/chunks/heat-chart-model.js +9 -9
- package/dist/chunks/histogram-data.js +2 -2
- package/dist/chunks/histogram-model.js +8 -8
- package/dist/chunks/index.js +410 -378
- package/dist/chunks/index2.js +2 -2
- package/dist/chunks/index3.js +1 -1
- package/dist/chunks/index4.js +1 -1
- package/dist/chunks/interfaces.js +1 -1
- package/dist/chunks/line-chart-model.js +9 -9
- package/dist/chunks/model-with-multi-axes.js +536 -467
- package/dist/chunks/pie-chart-data.js +22 -22
- package/dist/chunks/pie-chart-model.js +250 -191
- package/dist/chunks/popover-ui-utils.js +1 -1
- package/dist/chunks/radar-chart-model.js +5 -5
- package/dist/chunks/resource.js +4 -4
- package/dist/chunks/rest-js-object-literals.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/scatterplot-model.js +20 -20
- package/dist/chunks/serial-chart-data.js +295 -280
- package/dist/chunks/serial-chart-model.js +2 -2
- package/dist/chunks/series-types.js +1 -1
- package/dist/chunks/sk_SK.js +1 -1
- package/dist/chunks/store.js +1 -1
- package/dist/chunks/type-guards.js +76 -44
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/web-component-utils.js +55 -55
- package/dist/components/arcgis-chart/customElement.d.ts +7 -0
- package/dist/components/arcgis-chart/customElement.js +2930 -2758
- package/dist/components/arcgis-charts-action-bar/customElement.js +2 -2
- 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 +2 -2
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +10 -10
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +13 -13
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +1 -1
- 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 +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +11 -11
- package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-font-style/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-format/customElement.js +10 -10
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-general/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-guide/customElement.js +16 -16
- 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-histogram/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +2 -2
- 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 +2 -2
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -1
- 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 +2 -2
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +2 -2
- 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 +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +1 -1
- package/dist/docs/api.json +31 -2
- package/dist/docs/docs.json +24 -2
- package/dist/docs/vscode.html-custom-data.json +5 -0
- package/dist/docs/web-types.json +14 -1
- package/dist/index.js +406 -396
- package/dist/loader.js +2 -2
- package/dist/model/mixins/model-with-basic-x-axis.d.ts +5 -0
- package/dist/model/mixins/model-with-multi-axes.d.ts +27 -1
- package/dist/model/mixins/utils/axes.d.ts +29 -1
- package/dist/model/mixins/utils/guides.d.ts +2 -0
- package/dist/model/pie-chart-model/pie-chart-legend-model.d.ts +12 -1
- package/dist/model/pie-chart-model/pie-chart-model.d.ts +18 -0
- package/dist/model/pie-chart-model/utils/pie-chart-legend.d.ts +13 -1
- package/dist/model/pie-chart-model/utils/pie-chart-series.d.ts +26 -0
- package/dist/model/shared/type-guards.d.ts +44 -3
- package/dist/model.js +36 -28
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/preact10.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +1 -1
- package/dist/utils/components/themes.d.ts +133 -0
- package/dist/utils/defaults/index.d.ts +2 -0
- package/package.json +3 -3
- package/dist/cdn/HSESSWPA.js +0 -4
- package/dist/cdn/KAL77LC7.js +0 -4
- package/dist/cdn/QLEYELDZ.js +0 -4
- package/dist/cdn/TNIMF6GQ.js +0 -4
- package/dist/cdn/UO33HVTL.js +0 -4
- package/dist/cdn/X33LEDFS.js +0 -4
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "@arcgis/toolkit/intl";
|
|
2
2
|
import { cloneDeep as R, memoize as ne, isEmpty as qe } from "lodash-es";
|
|
3
|
-
import { g as ce, e as Oe, a as
|
|
3
|
+
import { g as ce, e as Oe, a as h, u as de, W as M, d as G, t as T, m as Q, n as we, i as _ } from "./series-types.js";
|
|
4
4
|
import "d3-array";
|
|
5
|
-
import {
|
|
5
|
+
import { bN as De, ce as ue, bO as ee, ah as ye, bP as te, c_ as Me, l as Y, db as Pe, aK as H, cS as Ee, br as ge, cW as V, aI as I, aG as L, bB as F, b0 as Re, aJ as ke, r as N, U as $e, V as Xe, cF as je, p as K, dd as D, k as Ue, cD as We, bJ as Ye, bV as Ke, an as ze, q as Ge, dj as Qe, cz as _e, dk as ae, ca as He, c6 as Je, _ as k, df as fe, m as Ze, b as j, bM as et, b3 as tt, b4 as it, b6 as st, bL as re, aL as at, aM as rt } from "./index.js";
|
|
6
6
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
7
7
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
8
8
|
import "@arcgis/core/rest/support/Query.js";
|
|
@@ -14,7 +14,7 @@ import "./runtime.js";
|
|
|
14
14
|
import "@arcgis/toolkit/dom";
|
|
15
15
|
import { substitute as w } from "@arcgis/core/intl.js";
|
|
16
16
|
import { a as pe, R as ot } from "./rest-js-object-literals.js";
|
|
17
|
-
import { q as lt, h as me, l as C, n as nt, o as ct, j as A, k as
|
|
17
|
+
import { q as lt, h as me, l as C, n as nt, o as ct, j as A, k as B } from "./index3.js";
|
|
18
18
|
import { S as J } from "./common.js";
|
|
19
19
|
import "@arcgis/core/Graphic.js";
|
|
20
20
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
@@ -24,11 +24,11 @@ import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
|
24
24
|
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
25
25
|
import "simple-statistics";
|
|
26
26
|
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
27
|
-
import { b as
|
|
27
|
+
import { b as $, d as xe, g as ie, e as oe, f as dt } from "./data.js";
|
|
28
28
|
import { c as ut } from "./index2.js";
|
|
29
29
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
30
30
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
31
|
-
v5.0.0-next.
|
|
31
|
+
v5.0.0-next.93 */
|
|
32
32
|
async function yt(t) {
|
|
33
33
|
const { config: e, layer: i, xAxisField: s, splitByField: a, layerFieldsInfo: r, aggregationFields: o, fetchNullValues: l } = t, c = r.filter((p) => p.name === a)[0]?.type, f = l !== !0 ? `${a} IS NOT NULL` : "", d = s && l !== !0 ? `${s} IS NOT NULL` : "", { where: x } = e?.dataFilters ?? {}, m = {
|
|
34
34
|
where: ue([x, f, d]),
|
|
@@ -46,7 +46,7 @@ async function yt(t) {
|
|
|
46
46
|
queryConfig: m
|
|
47
47
|
});
|
|
48
48
|
if (e) {
|
|
49
|
-
const p = e?.series.map((u) =>
|
|
49
|
+
const p = e?.series.map((u) => Y({ where: u.query?.where })?.toString() ?? "").filter((u) => u !== void 0 && u !== "");
|
|
50
50
|
S = Pe({
|
|
51
51
|
arrayA: S,
|
|
52
52
|
arrayB: p,
|
|
@@ -111,12 +111,12 @@ async function gt(t) {
|
|
|
111
111
|
})
|
|
112
112
|
);
|
|
113
113
|
}
|
|
114
|
-
function
|
|
114
|
+
function U(t, e, i) {
|
|
115
115
|
const s = t?.axes?.[e];
|
|
116
|
-
s?.title !== void 0 ? s.title.content.text = i : s !== void 0 && (s.title =
|
|
116
|
+
s?.title !== void 0 ? s.title.content.text = i : s !== void 0 && (s.title = I({
|
|
117
117
|
text: i,
|
|
118
118
|
visible: !0,
|
|
119
|
-
font:
|
|
119
|
+
font: L(F.AxisTitle)
|
|
120
120
|
}));
|
|
121
121
|
}
|
|
122
122
|
function Se(t) {
|
|
@@ -128,37 +128,37 @@ function Se(t) {
|
|
|
128
128
|
else {
|
|
129
129
|
const n = ge(r, s);
|
|
130
130
|
if (a.length === 1) {
|
|
131
|
-
const c =
|
|
132
|
-
r ===
|
|
131
|
+
const c = V(i.layerFieldsInfo, a[0]);
|
|
132
|
+
r === h.NoAggregation ? o = c : r === h.Count && a[0] === i.objectIdField ? o = s.utilsStrings.statistics.count : o = w(s.axisLabels.aggregationOfFieldName, {
|
|
133
133
|
aggregation: n,
|
|
134
134
|
fieldName: c
|
|
135
135
|
});
|
|
136
|
-
} else a.length > 1 && (r ===
|
|
136
|
+
} else a.length > 1 && (r === h.NoAggregation ? o = s.axisLabels.values : o = w(s.axisLabels.aggregationOfValues, {
|
|
137
137
|
aggregation: n
|
|
138
138
|
}));
|
|
139
139
|
}
|
|
140
140
|
return o;
|
|
141
141
|
}
|
|
142
|
-
const
|
|
142
|
+
const be = (t, e, i) => t.axes?.[e] ?? Re(i, t.type)[e], Fe = (t) => {
|
|
143
143
|
const { config: e, axis: i, axisIndex: s } = t;
|
|
144
144
|
e.axes !== void 0 && (e.axes[s] = i);
|
|
145
|
-
},
|
|
145
|
+
}, bi = (t) => {
|
|
146
146
|
const { config: e, axisIndex: i, isMax: s } = t;
|
|
147
147
|
let a = Number.NaN;
|
|
148
148
|
return s ? a = e.axes?.[i]?.maximum : a = e.axes?.[i]?.minimum, a ?? Number.NaN;
|
|
149
|
-
},
|
|
149
|
+
}, b = (t) => {
|
|
150
150
|
const { config: e, value: i, axisIndex: s, isMax: a } = t, r = e?.axes?.[s];
|
|
151
151
|
r !== void 0 && (a ? r.maximum = i : r.minimum = i);
|
|
152
|
-
},
|
|
153
|
-
|
|
154
|
-
}, Te = (t) => t.axes?.[0]?.valueFormat ??
|
|
155
|
-
const s =
|
|
152
|
+
}, Fi = (t, e) => {
|
|
153
|
+
b({ config: t, value: e, axisIndex: 0, isMax: !1 });
|
|
154
|
+
}, Te = (t) => t.axes?.[0]?.valueFormat ?? H(), ft = (t, e, i) => {
|
|
155
|
+
const s = be(t, 0, e);
|
|
156
156
|
if (s !== void 0 && i !== void 0) {
|
|
157
157
|
const a = {
|
|
158
158
|
...s,
|
|
159
159
|
valueFormat: i
|
|
160
160
|
};
|
|
161
|
-
|
|
161
|
+
Fe({ config: t, axis: a, axisIndex: 0 });
|
|
162
162
|
}
|
|
163
163
|
}, le = (t, e, i) => {
|
|
164
164
|
const s = t.axes?.[e];
|
|
@@ -177,97 +177,97 @@ const Fe = (t, e, i) => t.axes?.[e] ?? Re(i, t.type)[e], be = (t) => {
|
|
|
177
177
|
let i;
|
|
178
178
|
const s = e.axes?.[t]?.valueFormat;
|
|
179
179
|
return (t === 0 || t >= 1 && lt(s)) && (i = s), i;
|
|
180
|
-
},
|
|
181
|
-
const { config: e, commonStrings: i, valueFormat: s, axisIndex: a = 0 } = t, r =
|
|
180
|
+
}, vi = (t) => {
|
|
181
|
+
const { config: e, commonStrings: i, valueFormat: s, axisIndex: a = 0 } = t, r = be(e, a, i);
|
|
182
182
|
if (r !== void 0 && s !== void 0) {
|
|
183
183
|
const o = {
|
|
184
184
|
...r,
|
|
185
185
|
valueFormat: s
|
|
186
186
|
};
|
|
187
|
-
|
|
187
|
+
Fe({
|
|
188
188
|
config: e,
|
|
189
189
|
axis: o,
|
|
190
190
|
axisIndex: a
|
|
191
191
|
});
|
|
192
192
|
}
|
|
193
|
-
},
|
|
193
|
+
}, Ai = (t, e) => t.axes?.[e]?.isLogarithmic ?? !1, Bi = (t) => {
|
|
194
194
|
const { config: e, isLogarithmic: i, axisIndex: s } = t, a = e.axes?.[s];
|
|
195
|
-
a && (a.isLogarithmic = i,
|
|
195
|
+
a && (a.isLogarithmic = i, b({ config: e, value: null, axisIndex: s, isMax: !0 }), b({ config: e, value: null, axisIndex: s, isMax: !1 }));
|
|
196
196
|
}, Ci = (t) => {
|
|
197
197
|
const { config: e, scrollbar: i, axisIndex: s } = t;
|
|
198
198
|
e.axes?.[s] !== void 0 && (e.axes[s].scrollbar = i);
|
|
199
199
|
}, Ii = (t) => t.version, xt = (t) => t.title?.content.text ?? "", Li = (t, e) => {
|
|
200
|
-
e.title !== void 0 ? e.title.content.text = t : e.title === void 0 && t !== void 0 && (e.title =
|
|
200
|
+
e.title !== void 0 ? e.title.content.text = t : e.title === void 0 && t !== void 0 && (e.title = I({
|
|
201
201
|
text: t,
|
|
202
202
|
visible: !0,
|
|
203
|
-
font:
|
|
203
|
+
font: L(F.ChartTitle)
|
|
204
204
|
}));
|
|
205
205
|
}, Vi = (t) => t.subtitle?.content.text ?? "", Ni = (t, e) => {
|
|
206
|
-
e.subtitle !== void 0 ? e.subtitle.content.text = t : e.subtitle === void 0 && t !== void 0 && (e.subtitle =
|
|
206
|
+
e.subtitle !== void 0 ? e.subtitle.content.text = t : e.subtitle === void 0 && t !== void 0 && (e.subtitle = I({
|
|
207
207
|
text: t,
|
|
208
208
|
visible: !0,
|
|
209
|
-
font:
|
|
209
|
+
font: L(F.ChartSubtitle)
|
|
210
210
|
}));
|
|
211
211
|
}, qi = (t) => t.footer?.content.text ?? "", Oi = (t, e) => {
|
|
212
|
-
e.footer !== void 0 ? e.footer.content.text = t : e.footer === void 0 && t !== void 0 && (e.footer =
|
|
212
|
+
e.footer !== void 0 ? e.footer.content.text = t : e.footer === void 0 && t !== void 0 && (e.footer = I({
|
|
213
213
|
text: t,
|
|
214
214
|
visible: !0,
|
|
215
|
-
font:
|
|
215
|
+
font: L(F.DescriptionText)
|
|
216
216
|
}));
|
|
217
217
|
}, wi = (t) => t.title ? t.title.visible ?? !0 : !1, Di = (t, e) => {
|
|
218
|
-
e.title !== void 0 ? e.title.visible = t : e.title === void 0 && (e.title =
|
|
218
|
+
e.title !== void 0 ? e.title.visible = t : e.title === void 0 && (e.title = I({
|
|
219
219
|
text: "",
|
|
220
220
|
visible: t,
|
|
221
|
-
font:
|
|
221
|
+
font: L(F.ChartTitle)
|
|
222
222
|
}));
|
|
223
223
|
}, Mi = (t) => t.subtitle ? t.subtitle.visible ?? !0 : !1, Pi = (t, e) => {
|
|
224
|
-
e.subtitle !== void 0 ? e.subtitle.visible = t : e.subtitle === void 0 && (e.subtitle =
|
|
224
|
+
e.subtitle !== void 0 ? e.subtitle.visible = t : e.subtitle === void 0 && (e.subtitle = I({
|
|
225
225
|
text: "",
|
|
226
226
|
visible: t,
|
|
227
|
-
font:
|
|
227
|
+
font: L(F.ChartSubtitle)
|
|
228
228
|
}));
|
|
229
229
|
}, St = (t) => t.footer?.visible ?? !1, Ei = (t, e) => {
|
|
230
|
-
e.footer !== void 0 ? e.footer.visible = t : e.footer === void 0 && t !== St(e) && (e.footer =
|
|
230
|
+
e.footer !== void 0 ? e.footer.visible = t : e.footer === void 0 && t !== St(e) && (e.footer = I({
|
|
231
231
|
text: "",
|
|
232
232
|
visible: !0,
|
|
233
|
-
font:
|
|
233
|
+
font: L(F.DescriptionText)
|
|
234
234
|
}));
|
|
235
|
-
}, Ri = (t) => t.chartRenderer,
|
|
235
|
+
}, Ri = (t) => t.chartRenderer, ki = (t, e) => {
|
|
236
236
|
e.chartRenderer = t;
|
|
237
|
-
},
|
|
237
|
+
}, $i = (t, e) => t.axes?.[e]?.title?.content, Xi = (t) => {
|
|
238
238
|
const { config: e, axisIndex: i, symbol: s } = t, a = e.axes?.[i];
|
|
239
239
|
if (a !== void 0) {
|
|
240
240
|
const r = a.title?.content.text;
|
|
241
|
-
(a.title === void 0 || s === void 0) && (a.title =
|
|
241
|
+
(a.title === void 0 || s === void 0) && (a.title = I({
|
|
242
242
|
text: "",
|
|
243
243
|
visible: !0,
|
|
244
|
-
font:
|
|
245
|
-
type:
|
|
244
|
+
font: L(F.AxisTitle),
|
|
245
|
+
type: F.AxisTitle
|
|
246
246
|
})), s !== void 0 && (a.title.content = s), a.title.content.text = r;
|
|
247
247
|
}
|
|
248
|
-
},
|
|
248
|
+
}, ji = (t) => {
|
|
249
249
|
for (const e of t.axes ?? [])
|
|
250
250
|
if (e?.labels !== void 0)
|
|
251
251
|
return e.labels.content;
|
|
252
|
-
},
|
|
252
|
+
}, Ui = (t, e) => {
|
|
253
253
|
for (const i of e.axes ?? [])
|
|
254
254
|
if (i !== void 0) {
|
|
255
255
|
const s = i.labels?.content.text;
|
|
256
|
-
t === void 0 ? i.labels =
|
|
256
|
+
t === void 0 ? i.labels = I({
|
|
257
257
|
text: "",
|
|
258
258
|
visible: !0,
|
|
259
|
-
font:
|
|
260
|
-
type:
|
|
259
|
+
font: L(F.AxisLabels),
|
|
260
|
+
type: F.AxisLabels
|
|
261
261
|
}) : i.labels.content = R(t), i.labels.content.text = s;
|
|
262
262
|
}
|
|
263
|
-
},
|
|
263
|
+
}, Wi = (t) => {
|
|
264
264
|
for (const e of t.axes ?? [])
|
|
265
265
|
if (e?.lineSymbol !== void 0)
|
|
266
266
|
return e.lineSymbol;
|
|
267
|
-
},
|
|
267
|
+
}, Yi = (t, e) => {
|
|
268
268
|
for (const i of e.axes ?? [])
|
|
269
|
-
i !== void 0 && (i.lineSymbol = R(t) ??
|
|
270
|
-
},
|
|
269
|
+
i !== void 0 && (i.lineSymbol = R(t) ?? ke());
|
|
270
|
+
}, Ki = (t) => {
|
|
271
271
|
for (const e of t.axes ?? [])
|
|
272
272
|
if (e?.grid !== void 0)
|
|
273
273
|
return e.grid;
|
|
@@ -276,48 +276,59 @@ const Fe = (t, e, i) => t.axes?.[e] ?? Re(i, t.type)[e], be = (t) => {
|
|
|
276
276
|
i.forEach((a) => {
|
|
277
277
|
s?.[a] !== void 0 && (s[a].grid = R(t));
|
|
278
278
|
});
|
|
279
|
-
}, X = (t, e) => e.axes?.[t]?.title?.content.text ?? "",
|
|
279
|
+
}, X = (t, e) => e.axes?.[t]?.title?.content.text ?? "", Gi = (t, e, i) => {
|
|
280
280
|
const s = i.axes?.[e];
|
|
281
|
-
s?.title !== void 0 ? s.title.content.text = t : s !== void 0 && s?.title === void 0 && (s.title =
|
|
281
|
+
s?.title !== void 0 ? s.title.content.text = t : s !== void 0 && s?.title === void 0 && (s.title = I({
|
|
282
282
|
text: t,
|
|
283
283
|
visible: !0,
|
|
284
|
-
font:
|
|
284
|
+
font: L(F.AxisTitle)
|
|
285
|
+
}));
|
|
286
|
+
}, Qi = (t, e) => e.axes?.[t]?.visible ?? !0, _i = (t, e, i) => {
|
|
287
|
+
const s = i.axes?.[e];
|
|
288
|
+
s !== void 0 && (s.visible = t);
|
|
289
|
+
}, Hi = (t, e) => e.axes?.[t]?.labels?.visible ?? !0, Ji = (t, e, i) => {
|
|
290
|
+
const s = i.axes?.[e];
|
|
291
|
+
s?.labels !== void 0 ? s.labels.visible = t : s !== void 0 && s?.labels === void 0 && (s.labels = I({
|
|
292
|
+
text: "",
|
|
293
|
+
visible: t,
|
|
294
|
+
font: L(F.AxisLabels),
|
|
295
|
+
type: F.AxisLabels
|
|
285
296
|
}));
|
|
286
|
-
},
|
|
297
|
+
}, Zi = (t, e) => e.axes?.[t]?.title?.visible ?? !1, es = (t, e, i) => {
|
|
287
298
|
const s = i.axes?.[e];
|
|
288
|
-
s?.title !== void 0 ? s.title.visible = t : s !== void 0 && s?.title === void 0 && (s.title =
|
|
299
|
+
s?.title !== void 0 ? s.title.visible = t : s !== void 0 && s?.title === void 0 && (s.title = I({
|
|
289
300
|
text: X(e, i),
|
|
290
301
|
visible: t,
|
|
291
|
-
font:
|
|
302
|
+
font: L(F.AxisTitle)
|
|
292
303
|
}));
|
|
293
|
-
},
|
|
304
|
+
}, ts = (t, e) => t.axes?.[e]?.displayZeroLine ?? !1, is = (t, e, i) => {
|
|
294
305
|
t.axes?.[i] !== void 0 && (t.axes[i].displayZeroLine = e);
|
|
295
|
-
},
|
|
306
|
+
}, ss = (t, e) => t.axes?.[e]?.displayCursorTooltip ?? !1, as = (t) => {
|
|
296
307
|
const { config: e, displayCursorTooltip: i, axisIndex: s } = t;
|
|
297
308
|
e.axes?.[s] !== void 0 && (e.axes[s].displayCursorTooltip = i);
|
|
298
|
-
},
|
|
309
|
+
}, rs = (t, e) => t.axes?.[e]?.buffer ?? !1, os = (t) => {
|
|
299
310
|
const { config: e, buffer: i, axisIndex: s } = t, a = e.axes?.[s];
|
|
300
311
|
a !== void 0 && (a.buffer = i);
|
|
301
|
-
},
|
|
312
|
+
}, ls = (t, e) => t.axes?.[e]?.tickSpacing, ns = (t) => {
|
|
302
313
|
const { config: e, tickSpacing: i, axisIndex: s } = t;
|
|
303
314
|
e.axes?.[s] !== void 0 && (e.axes[s].tickSpacing = i);
|
|
304
|
-
},
|
|
315
|
+
}, cs = (t, e) => t.axes?.[e]?.integerOnlyValues ?? !1, ds = (t) => {
|
|
305
316
|
const { config: e, integerOnlyValues: i, axisIndex: s } = t;
|
|
306
317
|
e.axes?.[s] !== void 0 && (e.axes[s].integerOnlyValues = i);
|
|
307
|
-
},
|
|
318
|
+
}, us = (t, e) => {
|
|
308
319
|
e.series.forEach((i) => {
|
|
309
320
|
i.query && (i.query.fetchNullValues = t);
|
|
310
321
|
});
|
|
311
|
-
},
|
|
322
|
+
}, ys = (t) => t.series.some((e) => e.query?.fetchNullValues), gs = (t) => (
|
|
312
323
|
// TODO: Look into split-by values gotchas cases once done
|
|
313
|
-
t.series.map((e) => String(
|
|
314
|
-
),
|
|
324
|
+
t.series.map((e) => String(Y({ where: e.query?.where }))).filter((e) => e !== void 0 && e.trim() !== "")
|
|
325
|
+
), fs = (t) => t.dataFilters, ps = (t, e) => {
|
|
315
326
|
t !== void 0 ? e.dataFilters = t : delete e.dataFilters;
|
|
316
|
-
},
|
|
327
|
+
}, bt = (t) => {
|
|
317
328
|
let e;
|
|
318
329
|
const i = t.series[0];
|
|
319
330
|
return N(i) && (e = i.temporalBinning?.size), e;
|
|
320
|
-
},
|
|
331
|
+
}, Ft = (t) => {
|
|
321
332
|
let e;
|
|
322
333
|
const i = t.series[0];
|
|
323
334
|
return N(i) && (e = i.temporalBinning?.unit), e;
|
|
@@ -329,81 +340,81 @@ const Fe = (t, e, i) => t.axes?.[e] ?? Re(i, t.type)[e], be = (t) => {
|
|
|
329
340
|
let e;
|
|
330
341
|
const i = t.series[0];
|
|
331
342
|
return N(i) && (e = i.temporalBinning?.trimIncompleteTimeInterval), e;
|
|
332
|
-
},
|
|
343
|
+
}, vt = (t) => {
|
|
333
344
|
let e;
|
|
334
345
|
const i = t.series[0];
|
|
335
346
|
return N(i) && (e = i.temporalBinning?.nullPolicy), e;
|
|
336
347
|
}, he = (t, e) => {
|
|
337
348
|
e?.series?.forEach((i) => {
|
|
338
349
|
N(i) && (i.temporalBinning ??= {}, i.temporalBinning.size = t);
|
|
339
|
-
}),
|
|
340
|
-
},
|
|
350
|
+
}), b({ config: e, value: null, axisIndex: 1, isMax: !1 }), b({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
351
|
+
}, At = (t, e) => {
|
|
341
352
|
e?.series?.forEach((i) => {
|
|
342
353
|
N(i) && (i.temporalBinning ??= {}, i.temporalBinning.nullPolicy = t);
|
|
343
|
-
}),
|
|
344
|
-
},
|
|
354
|
+
}), b({ config: e, value: null, axisIndex: 1, isMax: !1 }), b({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
355
|
+
}, ms = (t, e) => {
|
|
345
356
|
e.series?.forEach((i) => {
|
|
346
357
|
N(i) && (i.temporalBinning ??= {}, i.temporalBinning.unit = t);
|
|
347
|
-
}),
|
|
348
|
-
},
|
|
358
|
+
}), b({ config: e, value: null, axisIndex: 1, isMax: !1 }), b({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
359
|
+
}, xs = (t, e) => {
|
|
349
360
|
e.series?.forEach((i) => {
|
|
350
361
|
N(i) && (i.temporalBinning ??= {}, i.temporalBinning.timeAggregationType = t);
|
|
351
|
-
}),
|
|
352
|
-
},
|
|
362
|
+
}), b({ config: e, value: null, axisIndex: 1, isMax: !1 }), b({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
363
|
+
}, Ss = (t, e) => {
|
|
353
364
|
e.series?.forEach((i) => {
|
|
354
365
|
N(i) && (i.temporalBinning ??= {}, i.temporalBinning.trimIncompleteTimeInterval = t);
|
|
355
|
-
}),
|
|
356
|
-
},
|
|
366
|
+
}), b({ config: e, value: null, axisIndex: 1, isMax: !1 }), b({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
367
|
+
}, bs = (t) => {
|
|
357
368
|
he(0, t);
|
|
358
|
-
}, Bt = (t) => t.series.length ?? 0,
|
|
359
|
-
function
|
|
369
|
+
}, Bt = (t) => t.series.length ?? 0, Fs = (t, e) => e.series[t].visible ?? !0;
|
|
370
|
+
function Ts(t, e) {
|
|
360
371
|
let i;
|
|
361
372
|
return t.length !== 0 && e < t.length && (i = t[e].dataTooltipValueFormat), i;
|
|
362
373
|
}
|
|
363
|
-
function
|
|
374
|
+
function hs(t) {
|
|
364
375
|
const { series: e, seriesIndex: i, valueFormat: s } = t;
|
|
365
376
|
e.length !== 0 && i < e.length && (e[i].dataTooltipValueFormat = s);
|
|
366
377
|
}
|
|
367
|
-
function
|
|
378
|
+
function vs(t, e) {
|
|
368
379
|
let i;
|
|
369
380
|
return e !== void 0 && (i = { ...e }, i.legend !== void 0 && (i.legend.position = t)), i;
|
|
370
381
|
}
|
|
371
|
-
function
|
|
382
|
+
function As(t, e) {
|
|
372
383
|
let i;
|
|
373
384
|
return e !== void 0 && (i = { ...e }, i.legend !== void 0 && (i.legend.visible = t)), i;
|
|
374
385
|
}
|
|
375
|
-
function
|
|
386
|
+
function Bs(t, e) {
|
|
376
387
|
let i;
|
|
377
388
|
return e !== void 0 && (i = { ...e, rotated: t }), i;
|
|
378
389
|
}
|
|
379
|
-
function
|
|
390
|
+
function ve(t) {
|
|
380
391
|
let e;
|
|
381
392
|
return t !== void 0 && (e = { ...t }, delete e.axes?.[0]?.minimum, delete e.axes?.[0]?.maximum, delete e.axes?.[1]?.minimum, delete e.axes?.[1]?.maximum), e;
|
|
382
393
|
}
|
|
383
|
-
function
|
|
394
|
+
function Cs(t, e) {
|
|
384
395
|
return e != null || me(t);
|
|
385
396
|
}
|
|
386
397
|
async function Ct(t) {
|
|
387
398
|
const { queryObject: e, chartConfig: i, options: s, splitByField: a } = t;
|
|
388
399
|
let r = [], o;
|
|
389
|
-
const l = R(i), n = l.series[0], c =
|
|
400
|
+
const l = R(i), n = l.series[0], c = Ke({
|
|
390
401
|
queryObject: e,
|
|
391
402
|
chartConfig: l,
|
|
392
403
|
runtimeDataFilters: s?.runtimeDataFilters,
|
|
393
404
|
ignoreViewExtent: s?.ignoreViewExtent
|
|
394
405
|
});
|
|
395
|
-
if (c.outStatistics?.[0]?.outStatisticFieldName && (c.outStatistics[0].outStatisticFieldName = ze.outStatistics.outStatisticFieldName), N(n) &&
|
|
396
|
-
xAxisValueFormatType:
|
|
406
|
+
if (c.outStatistics?.[0]?.outStatisticFieldName && (c.outStatistics[0].outStatisticFieldName = ze.outStatistics.outStatisticFieldName), N(n) && Ge({
|
|
407
|
+
xAxisValueFormatType: Qe(l),
|
|
397
408
|
setTimeBinningInfoWhenNotProvided: s?.setTimeBinningInfoWhenNotProvided,
|
|
398
409
|
seriesConfig: n
|
|
399
|
-
}) &&
|
|
410
|
+
}) && _e(e)) {
|
|
400
411
|
const { temporalBinning: f, x: d } = n, { uniqueQuery: x } = await ae({
|
|
401
412
|
chartConfig: l,
|
|
402
413
|
queryConfig: c,
|
|
403
414
|
queryObject: e,
|
|
404
415
|
options: s
|
|
405
416
|
});
|
|
406
|
-
o = await
|
|
417
|
+
o = await He({
|
|
407
418
|
queryObject: e,
|
|
408
419
|
dateField: d,
|
|
409
420
|
splitByField: a,
|
|
@@ -440,7 +451,7 @@ async function Ct(t) {
|
|
|
440
451
|
function It(t, e) {
|
|
441
452
|
const i = /* @__PURE__ */ new Map();
|
|
442
453
|
return t.series.forEach((s) => {
|
|
443
|
-
let a =
|
|
454
|
+
let a = Y({
|
|
444
455
|
where: s.query?.where,
|
|
445
456
|
// normalize the value so it matches what we get from getAllValues()
|
|
446
457
|
// Refer to https://devtopia.esri.com/WebGIS/arcgis-charts/issues/8127
|
|
@@ -490,11 +501,11 @@ async function Nt(t) {
|
|
|
490
501
|
if (e !== void 0 && i !== void 0 && (i.series.length > 0 || r !== void 0) && e.addMissingSeries) {
|
|
491
502
|
const l = i.series.length === 0;
|
|
492
503
|
i.series.length === 0 && r !== void 0 && i.series.push(r);
|
|
493
|
-
const n =
|
|
504
|
+
const n = K(i.series);
|
|
494
505
|
if ((n === D.BoxPlotMonoFieldAndSplitBy || n === D.BoxPlotMultiFieldsAndSplitBy || n === D.BoxPlotMonoFieldAndCategoryAndSplitBy || n === D.BarAndLineSplitBy || n === D.BarAndLineSplitByNoAggregation) && a !== void 0) {
|
|
495
|
-
const c =
|
|
506
|
+
const c = Ue(i.series[0]?.query?.where), f = We(a);
|
|
496
507
|
await f.load();
|
|
497
|
-
const d = f.getField(c)?.toJSON(), x =
|
|
508
|
+
const d = f.getField(c)?.toJSON(), x = Ye(d), m = await Ct({
|
|
498
509
|
queryObject: a,
|
|
499
510
|
chartConfig: i,
|
|
500
511
|
splitByField: c,
|
|
@@ -524,9 +535,9 @@ async function Nt(t) {
|
|
|
524
535
|
return o;
|
|
525
536
|
}
|
|
526
537
|
function qt(t, e) {
|
|
527
|
-
e && !me(e) && (e =
|
|
538
|
+
e && !me(e) && (e = je({ chartConfig: e, queryObject: t }));
|
|
528
539
|
}
|
|
529
|
-
async function
|
|
540
|
+
async function Is(t) {
|
|
530
541
|
const {
|
|
531
542
|
configToAlter: e,
|
|
532
543
|
layer: i,
|
|
@@ -544,61 +555,61 @@ async function As(t) {
|
|
|
544
555
|
config: f,
|
|
545
556
|
options: n,
|
|
546
557
|
queryObject: l
|
|
547
|
-
})), (o || c &&
|
|
558
|
+
})), (o || c && $e(c, f)) && (f = Xe(f, r)), { alteredConfig: f, preFetchedQueryResponse: d };
|
|
548
559
|
}
|
|
549
|
-
const
|
|
550
|
-
const { xField: e, config: i, layerInfo: s } = t, { layerFieldsInfo: a } = s, r = X(0, i), o = Ot(i), l =
|
|
551
|
-
if (typeof e == "string" && o !== e && n && (n.x = e,
|
|
552
|
-
const c =
|
|
553
|
-
|
|
560
|
+
const Ls = (t) => {
|
|
561
|
+
const { xField: e, config: i, layerInfo: s } = t, { layerFieldsInfo: a } = s, r = X(0, i), o = Ot(i), l = k(i), n = i.series[0];
|
|
562
|
+
if (typeof e == "string" && o !== e && n && (n.x = e, ve(i), o === r || l)) {
|
|
563
|
+
const c = V(a, e);
|
|
564
|
+
U(i, 0, c);
|
|
554
565
|
}
|
|
555
|
-
}, Ot = (t) => t.series[0].x ?? "",
|
|
566
|
+
}, Ot = (t) => t.series[0].x ?? "", Vs = (t) => t.hideEmptyRowsAndColumns, Ns = (t, e) => {
|
|
556
567
|
t.hideEmptyRowsAndColumns = e;
|
|
557
|
-
},
|
|
568
|
+
}, qs = (t, e) => {
|
|
558
569
|
const i = t.series[0];
|
|
559
570
|
i.heatRulesType = e;
|
|
560
|
-
},
|
|
571
|
+
}, Os = (t) => t.series[0].heatRulesType, ws = (t, e) => {
|
|
561
572
|
const i = t.series[0];
|
|
562
573
|
i.gradientRules = e;
|
|
563
|
-
},
|
|
564
|
-
const { yField: e, config: i, layerInfo: s } = t, { layerFieldsInfo: a } = s, r = X(1, i), o = wt(i), l =
|
|
565
|
-
if (typeof e == "string" && o !== e && n && (n.y = e,
|
|
566
|
-
const c =
|
|
567
|
-
|
|
574
|
+
}, Ds = (t) => t.series[0].gradientRules, Ms = (t) => {
|
|
575
|
+
const { yField: e, config: i, layerInfo: s } = t, { layerFieldsInfo: a } = s, r = X(1, i), o = wt(i), l = k(i), n = i.series[0];
|
|
576
|
+
if (typeof e == "string" && o !== e && n && (n.y = e, ve(i), o === r || l)) {
|
|
577
|
+
const c = V(a, e);
|
|
578
|
+
U(i, 1, c);
|
|
568
579
|
}
|
|
569
|
-
}, wt = (t) => t.series[0].y ?? "",
|
|
580
|
+
}, wt = (t) => t.series[0].y ?? "", Ps = (t, e) => {
|
|
570
581
|
const i = e.series[0];
|
|
571
582
|
i.xTemporalBinning = t;
|
|
572
|
-
},
|
|
583
|
+
}, Es = (t) => t.series[0].xTemporalBinning, Rs = (t, e) => {
|
|
573
584
|
const i = e.series[0];
|
|
574
585
|
i.yTemporalBinning = t;
|
|
575
|
-
},
|
|
586
|
+
}, ks = (t) => t.series[0].yTemporalBinning, Dt = (t, e) => {
|
|
576
587
|
e.orderOptions ??= {};
|
|
577
|
-
const i = e.axes?.[0]?.valueFormat?.type === "category" ?
|
|
588
|
+
const i = e.axes?.[0]?.valueFormat?.type === "category" ? T.Category : T.YValue, s = Z(e)[0], a = e.axes?.[1]?.valueFormat?.type === "category" ? T.Category : T.YValue, r = Z(e)[1], o = {
|
|
578
589
|
...e.orderOptions.data ?? {},
|
|
579
|
-
orderType:
|
|
590
|
+
orderType: T.MultiAxes
|
|
580
591
|
};
|
|
581
|
-
s === J.customSort && i ===
|
|
582
|
-
},
|
|
592
|
+
s === J.customSort && i === T.Category && (o.orderByX = [...t]), r === J.customSort && a === T.Category && (o.orderByY = [...t]), Object.keys(o).length > 1 && (e.orderOptions.data = o);
|
|
593
|
+
}, $s = (t, e) => {
|
|
583
594
|
const i = e.series[0];
|
|
584
595
|
i.gridLine && (i.gridLine.width = t);
|
|
585
|
-
},
|
|
596
|
+
}, Xs = (t) => t.series[0].gridLine?.width, js = (t, e) => {
|
|
586
597
|
const i = e.series[0], s = t?.length === 4 && t.every((a) => typeof a == "number");
|
|
587
598
|
i.gridLine && s && (i.gridLine.color = t);
|
|
588
|
-
},
|
|
599
|
+
}, Us = (t) => t.series[0].gridLine?.color, Ws = (t, e) => {
|
|
589
600
|
const i = e.legend;
|
|
590
|
-
t ===
|
|
591
|
-
},
|
|
601
|
+
t === G.Bottom && i && (i.position = G.Bottom);
|
|
602
|
+
}, Ys = (t) => t.legend?.position ?? G.Bottom, Ks = (t) => t.series[0].query?.outStatistics?.[0]?.onStatisticField, zs = (t, e) => {
|
|
592
603
|
const i = e.series[0].query?.outStatistics?.[0];
|
|
593
604
|
i && (i.onStatisticField = t, i.outStatisticFieldName = `${i.statisticType}_${t}`);
|
|
594
|
-
},
|
|
605
|
+
}, Gs = (t) => t.series[0].query?.outStatistics?.[0].statisticType ?? h.Count, Qs = (t, e) => {
|
|
595
606
|
const i = e.series[0]?.query?.outStatistics?.[0];
|
|
596
|
-
i && t !==
|
|
597
|
-
},
|
|
607
|
+
i && t !== h.NoAggregation && (i.statisticType = t, i.outStatisticFieldName = `${t}_${i.onStatisticField}`);
|
|
608
|
+
}, _s = (t) => t.nullPolicy, Hs = (t, e) => {
|
|
598
609
|
e.nullPolicy = t;
|
|
599
|
-
},
|
|
610
|
+
}, Js = (t) => t.series[0].emptyCells?.text, Zs = (t, e) => {
|
|
600
611
|
e.series[0].emptyCells ? e.series[0].emptyCells.text = t : e.series[0].emptyCells = { text: t };
|
|
601
|
-
},
|
|
612
|
+
}, ea = (t) => t.series[0].emptyCells?.symbol, ta = (t, e) => {
|
|
602
613
|
e.series[0].emptyCells ? e.series[0].emptyCells.symbol = t : e.series[0].emptyCells = { symbol: t };
|
|
603
614
|
};
|
|
604
615
|
function E(t) {
|
|
@@ -608,9 +619,9 @@ function E(t) {
|
|
|
608
619
|
let f = !1, d = !1;
|
|
609
620
|
if (c === void 0) {
|
|
610
621
|
const y = a.series;
|
|
611
|
-
f = y.slice(0, e).every((g) => A(g)), d = y.slice(0, e).every((g) =>
|
|
622
|
+
f = y.slice(0, e).every((g) => A(g)), d = y.slice(0, e).every((g) => B(g));
|
|
612
623
|
} else
|
|
613
|
-
f = A(c), d =
|
|
624
|
+
f = A(c), d = B(c);
|
|
614
625
|
f ? n = tt({
|
|
615
626
|
commonStrings: o,
|
|
616
627
|
seriesIndex: e,
|
|
@@ -637,7 +648,7 @@ function E(t) {
|
|
|
637
648
|
};
|
|
638
649
|
if (m.query = {
|
|
639
650
|
groupByFieldsForStatistics: [i]
|
|
640
|
-
}, s !==
|
|
651
|
+
}, s !== h.NoAggregation && l !== void 0) {
|
|
641
652
|
const y = `${s}_${l}_0`.toUpperCase();
|
|
642
653
|
m.y = y, m.query.outStatistics = [
|
|
643
654
|
{
|
|
@@ -647,23 +658,23 @@ function E(t) {
|
|
|
647
658
|
}
|
|
648
659
|
];
|
|
649
660
|
}
|
|
650
|
-
if (A(m) ||
|
|
661
|
+
if (A(m) || B(m) || C(m) && a.series[0]?.binTemporalData) {
|
|
651
662
|
let y;
|
|
652
|
-
if (a?.series?.[0] !== void 0 && (y =
|
|
653
|
-
let g =
|
|
654
|
-
g ===
|
|
655
|
-
size:
|
|
663
|
+
if (a?.series?.[0] !== void 0 && (y = K(a.series)), y !== D.BarAndLineNoAggregation && y !== D.BarAndLineSplitByNoAggregation) {
|
|
664
|
+
let g = Ft(a);
|
|
665
|
+
g === _.Quarter && (g = _.Month), m.temporalBinning = {
|
|
666
|
+
size: bt(a),
|
|
656
667
|
unit: g,
|
|
657
668
|
timeAggregationType: Tt(a),
|
|
658
669
|
trimIncompleteTimeInterval: ht(a),
|
|
659
|
-
nullPolicy:
|
|
670
|
+
nullPolicy: vt(a)
|
|
660
671
|
};
|
|
661
672
|
}
|
|
662
673
|
}
|
|
663
674
|
return R(m);
|
|
664
675
|
}
|
|
665
|
-
function
|
|
666
|
-
const { layerFieldsInfo: s, objectIdField: a } = e, r =
|
|
676
|
+
function Ae(t, e, i) {
|
|
677
|
+
const { layerFieldsInfo: s, objectIdField: a } = e, r = $(t), o = se(t), l = Ce(t), n = W(t), c = o.length === 0 || o.includes(a), f = ge(l, i), d = c ? "" : o.map((u) => V(s ?? [], u)).join(", "), x = V(s ?? [], r), m = V(s ?? [], n), y = t.series.some((u) => C(u)), g = y ? "category" : "xAxisField", S = x;
|
|
667
678
|
let p = "";
|
|
668
679
|
if (xe({
|
|
669
680
|
fieldName: r,
|
|
@@ -674,7 +685,7 @@ function ve(t, e, i) {
|
|
|
674
685
|
aggregationType: f,
|
|
675
686
|
aggregationFields: d
|
|
676
687
|
});
|
|
677
|
-
else if (l ===
|
|
688
|
+
else if (l === h.NoAggregation) {
|
|
678
689
|
const u = c ? a : d;
|
|
679
690
|
if (n === "") {
|
|
680
691
|
const q = y ? "aggrTypeCategory" : "aggrTypeXAxisField";
|
|
@@ -690,7 +701,7 @@ function ve(t, e, i) {
|
|
|
690
701
|
splitByField: m
|
|
691
702
|
});
|
|
692
703
|
}
|
|
693
|
-
} else if (l ===
|
|
704
|
+
} else if (l === h.Count)
|
|
694
705
|
if (n === "") {
|
|
695
706
|
const u = y ? "aggrTypeCategory" : "aggrTypeXAxisField";
|
|
696
707
|
p = w(i.titleLabels[u], {
|
|
@@ -723,11 +734,11 @@ function ve(t, e, i) {
|
|
|
723
734
|
}
|
|
724
735
|
return p;
|
|
725
736
|
}
|
|
726
|
-
const Be = (t) =>
|
|
737
|
+
const Be = (t) => Y({
|
|
727
738
|
where: t.query?.where,
|
|
728
739
|
normalize: !1,
|
|
729
740
|
escape: !1
|
|
730
|
-
}) ?? "", Ce = (t) => t?.series?.[0]?.query?.outStatistics?.[0]?.statisticType ??
|
|
741
|
+
}) ?? "", Ce = (t) => t?.series?.[0]?.query?.outStatistics?.[0]?.statisticType ?? h.NoAggregation, W = ne(
|
|
731
742
|
(t) => {
|
|
732
743
|
const e = t?.series?.[0]?.query?.where?.split("=")[0].trim() ?? "";
|
|
733
744
|
return Ze(t?.series?.[0]?.query?.where) ? "" : e;
|
|
@@ -738,7 +749,7 @@ const Be = (t) => K({
|
|
|
738
749
|
// with memoizing, the worst case efficiency for repeated calls becomes O(1)
|
|
739
750
|
(t) => {
|
|
740
751
|
let e = [];
|
|
741
|
-
if (
|
|
752
|
+
if (W(t) === "")
|
|
742
753
|
e = t?.series.map((i) => {
|
|
743
754
|
const s = i.query?.outStatistics?.map((a) => a.onStatisticField) ?? [];
|
|
744
755
|
return s?.length > 0 ? s : i.y;
|
|
@@ -755,23 +766,23 @@ const Be = (t) => K({
|
|
|
755
766
|
function Mt(t) {
|
|
756
767
|
const { numericFields: e, aggregationType: i, config: s, layerInfo: a } = t;
|
|
757
768
|
let r = !1;
|
|
758
|
-
i ===
|
|
769
|
+
i === h.Count ? r = !0 : i === h.NoAggregation && (r = e.every((n) => {
|
|
759
770
|
const c = a.layerFieldsInfo.find((f) => f.name === n);
|
|
760
771
|
return c !== void 0 ? re(c) : !1;
|
|
761
772
|
})), le(s, 1, r);
|
|
762
|
-
const o = s.series.some((n) => A(n)), l = s.series.some((n) =>
|
|
773
|
+
const o = s.series.some((n) => A(n)), l = s.series.some((n) => B(n));
|
|
763
774
|
if (o || l) {
|
|
764
|
-
const n =
|
|
775
|
+
const n = $(s), c = a.layerFieldsInfo.find((d) => d.name === n), f = c !== void 0 && re(c);
|
|
765
776
|
le(s, 0, f);
|
|
766
777
|
}
|
|
767
778
|
}
|
|
768
779
|
const Z = (t) => {
|
|
769
780
|
let e;
|
|
770
781
|
if (fe(t)) {
|
|
771
|
-
const i = t.orderOptions?.data?.orderByX ?? [""], s = t.orderOptions?.data?.orderByY ?? [""], a = t.axes?.[0]?.valueFormat?.type === "category" ?
|
|
782
|
+
const i = t.orderOptions?.data?.orderByX ?? [""], s = t.orderOptions?.data?.orderByY ?? [""], a = t.axes?.[0]?.valueFormat?.type === "category" ? T.Category : T.YValue, r = t.axes?.[1]?.valueFormat?.type === "category" ? T.Category : T.YValue;
|
|
772
783
|
e = [oe(i, a), oe(s, r)];
|
|
773
784
|
} else {
|
|
774
|
-
const i = t.orderOptions?.data?.orderType ??
|
|
785
|
+
const i = t.orderOptions?.data?.orderType ?? T.Category, s = t.orderOptions?.data && "orderBy" in t.orderOptions.data ? t.orderOptions.data.orderBy : ce.Ascending;
|
|
775
786
|
e = [dt(s, i)];
|
|
776
787
|
}
|
|
777
788
|
return e;
|
|
@@ -797,7 +808,7 @@ function Pt(t) {
|
|
|
797
808
|
...c,
|
|
798
809
|
id: `series_${Date.now()}`,
|
|
799
810
|
name: o.axisLabels.values,
|
|
800
|
-
x:
|
|
811
|
+
x: j,
|
|
801
812
|
y: f
|
|
802
813
|
}, x = [];
|
|
803
814
|
for (const y of i)
|
|
@@ -808,7 +819,7 @@ function Pt(t) {
|
|
|
808
819
|
});
|
|
809
820
|
d.query = { outStatistics: x };
|
|
810
821
|
const m = a.series[0];
|
|
811
|
-
return m !== void 0 && (d.id = m.id, a.colorMatch || (C(m) && C(d) ? d.fillSymbol = m.fillSymbol : (A(d) && A(m) ||
|
|
822
|
+
return m !== void 0 && (d.id = m.id, a.colorMatch || (C(m) && C(d) ? d.fillSymbol = m.fillSymbol : (A(d) && A(m) || B(d) && B(m)) && (d.lineSymbol = m.lineSymbol, d.markerSymbol = m.markerSymbol), n = !0), d.id = m.id, m.name !== c.name && (d.name = m.name)), a.series.length === 1 && !a.colorMatch && (C(d) ? d.fillSymbol = a.series[0].fillSymbol : (A(d) || B(d)) && (d.lineSymbol = a.series[0].lineSymbol, d.markerSymbol = a.series[0].markerSymbol), n = !0), a.colorMatch = !n, [d];
|
|
812
823
|
}
|
|
813
824
|
function Ie(t) {
|
|
814
825
|
const { xAxisField: e, numericFields: i, aggregationType: s, config: a, layerInfo: r, commonStrings: o } = t, { layerFieldsInfo: l, objectIdField: n } = r, c = [];
|
|
@@ -839,10 +850,10 @@ function Ie(t) {
|
|
|
839
850
|
y !== n && (g = {
|
|
840
851
|
...g,
|
|
841
852
|
id: y,
|
|
842
|
-
name:
|
|
853
|
+
name: V(l, y)
|
|
843
854
|
});
|
|
844
855
|
let S = y;
|
|
845
|
-
g.query !== void 0 && (s !==
|
|
856
|
+
g.query !== void 0 && (s !== h.NoAggregation ? (S = m, g.query.outStatistics = [
|
|
846
857
|
{
|
|
847
858
|
...x.query?.outStatistics?.[0] ?? {},
|
|
848
859
|
onStatisticField: y,
|
|
@@ -854,7 +865,7 @@ function Ie(t) {
|
|
|
854
865
|
(u) => u.query?.outStatistics?.[0]?.onStatisticField === y && u.query.where === void 0
|
|
855
866
|
);
|
|
856
867
|
if (p !== void 0 && typeof p.y == "string" && p.y.trim() !== "") {
|
|
857
|
-
a.colorMatch || (C(g) && C(p) ? g.fillSymbol = p.fillSymbol : (A(g) && A(p) ||
|
|
868
|
+
a.colorMatch || (C(g) && C(p) ? g.fillSymbol = p.fillSymbol : (A(g) && A(p) || B(g) && B(p)) && (g.lineSymbol = p.lineSymbol, g.markerSymbol = p.markerSymbol), f = !0);
|
|
858
869
|
const u = E({
|
|
859
870
|
config: a,
|
|
860
871
|
xAxisField: e,
|
|
@@ -867,10 +878,10 @@ function Ie(t) {
|
|
|
867
878
|
}
|
|
868
879
|
c.push(g);
|
|
869
880
|
}
|
|
870
|
-
return a.series.length === 1 && c.length === 1 && !a.colorMatch && (C(a.series[0]) && C(c[0]) ? c[0].fillSymbol = a.series[0].fillSymbol : (A(a.series[0]) && A(c[0]) ||
|
|
881
|
+
return a.series.length === 1 && c.length === 1 && !a.colorMatch && (C(a.series[0]) && C(c[0]) ? c[0].fillSymbol = a.series[0].fillSymbol : (A(a.series[0]) && A(c[0]) || B(a.series[0]) && B(c[0])) && (c[0].lineSymbol = a.series[0].lineSymbol, c[0].markerSymbol = a.series[0].markerSymbol), f = !0), a.colorMatch = !f, c;
|
|
871
882
|
}
|
|
872
883
|
async function Et(t) {
|
|
873
|
-
const { splitByField: e, xAxisField: i, numericFields: s, aggregationType: a, config: r, layerInfo: o, commonStrings: l } = t, { layer: n, layerFieldsInfo: c } = o, { fetchNullValues: f } = r?.series?.[0]?.query ?? {}, d = i !==
|
|
884
|
+
const { splitByField: e, xAxisField: i, numericFields: s, aggregationType: a, config: r, layerInfo: o, commonStrings: l } = t, { layer: n, layerFieldsInfo: c } = o, { fetchNullValues: f } = r?.series?.[0]?.query ?? {}, d = i !== j ? i : void 0, { categoriesArray: x, splitByFieldType: m, numericalField: y } = await yt({
|
|
874
885
|
config: r,
|
|
875
886
|
layer: n,
|
|
876
887
|
layerFieldsInfo: c,
|
|
@@ -914,7 +925,7 @@ async function Et(t) {
|
|
|
914
925
|
fieldValueToMatch: u ?? "",
|
|
915
926
|
subtypeInfo: ee(o.layer),
|
|
916
927
|
fieldList: o.layerFieldsInfo
|
|
917
|
-
}, Ve = te(Le), z = `${u}`,
|
|
928
|
+
}, Ve = te(Le), z = `${u}`, v = {
|
|
918
929
|
...P,
|
|
919
930
|
id: z,
|
|
920
931
|
name: Ve ?? z,
|
|
@@ -922,7 +933,7 @@ async function Et(t) {
|
|
|
922
933
|
query: {
|
|
923
934
|
...P.query,
|
|
924
935
|
where: `${e}=${m === pe.String && u !== null ? `'${u}'` : u}`,
|
|
925
|
-
outStatistics: a !==
|
|
936
|
+
outStatistics: a !== h.NoAggregation ? [
|
|
926
937
|
{
|
|
927
938
|
...P.query?.outStatistics?.[0] ?? {},
|
|
928
939
|
onStatisticField: y,
|
|
@@ -932,21 +943,21 @@ async function Et(t) {
|
|
|
932
943
|
] : void 0
|
|
933
944
|
}
|
|
934
945
|
};
|
|
935
|
-
a ===
|
|
946
|
+
a === h.NoAggregation && (v.query !== void 0 && (delete v.query.outStatistics, delete v.query.groupByFieldsForStatistics), v.y = y);
|
|
936
947
|
const O = r.series.find(
|
|
937
948
|
(Ne) => String(Be(Ne)).trim().replace(/'/gu, "") === z
|
|
938
949
|
);
|
|
939
|
-
O !== void 0 && (r.colorMatch || (C(
|
|
950
|
+
O !== void 0 && (r.colorMatch || (C(v) && C(O) ? v.fillSymbol = O.fillSymbol : (A(v) && A(O) || B(v) && B(O)) && (v.lineSymbol = O.lineSymbol, v.markerSymbol = O.markerSymbol), S = !0), v.id = O.id, v.name = O.name), g.push(v);
|
|
940
951
|
}
|
|
941
952
|
return r.colorMatch = !S, g;
|
|
942
953
|
}
|
|
943
|
-
const
|
|
944
|
-
const { xAxisField: e, splitByField: i, numericFields: s, aggregationType: a, config: r, layerInfo: o, commonStrings: l } = t, { layerFieldsInfo: n } = o ?? {}, c = Bt(r), f =
|
|
954
|
+
const ia = async (t) => {
|
|
955
|
+
const { xAxisField: e, splitByField: i, numericFields: s, aggregationType: a, config: r, layerInfo: o, commonStrings: l } = t, { layerFieldsInfo: n } = o ?? {}, c = Bt(r), f = $(r), d = Rt(r, o, l), x = kt(r, o, l), m = $t(r, o);
|
|
945
956
|
let y = Te(r);
|
|
946
957
|
const g = r.series.some((u) => C(u)), S = nt(r.series), p = ct(r.series);
|
|
947
958
|
if (n !== void 0) {
|
|
948
959
|
const u = et(n);
|
|
949
|
-
!u.includes(f) && u.includes(e) ? y = at() : u.includes(f) && !u.includes(e) && (g ? y =
|
|
960
|
+
!u.includes(f) && u.includes(e) ? y = at() : u.includes(f) && !u.includes(e) && (g ? y = H() : y = rt()), n.find((P) => P.name === e)?.type === pe.String && (y = H()), y !== void 0 && ft(r, l, y);
|
|
950
961
|
}
|
|
951
962
|
if (c === 0 && (r.series = [
|
|
952
963
|
E({ config: r, xAxisField: e, aggregationType: a, layerInfo: o, commonStrings: l })
|
|
@@ -979,8 +990,8 @@ const Js = async (t) => {
|
|
|
979
990
|
aggregationType: a,
|
|
980
991
|
commonStrings: l
|
|
981
992
|
})), m) {
|
|
982
|
-
const u =
|
|
983
|
-
|
|
993
|
+
const u = V(n, e);
|
|
994
|
+
U(r, 0, u);
|
|
984
995
|
}
|
|
985
996
|
if (x) {
|
|
986
997
|
const u = Se({
|
|
@@ -990,24 +1001,24 @@ const Js = async (t) => {
|
|
|
990
1001
|
numericFields: s,
|
|
991
1002
|
aggregationType: a
|
|
992
1003
|
});
|
|
993
|
-
|
|
1004
|
+
U(r, 1, u);
|
|
994
1005
|
}
|
|
995
|
-
if (r.title && d && (r.title.content.text =
|
|
996
|
-
|
|
997
|
-
const u = y?.type === M.DateAxisFormat ?
|
|
998
|
-
|
|
1006
|
+
if (r.title && d && (r.title.content.text = Ae(r, o, l)), b({ config: r, value: null, axisIndex: 1, isMax: !1 }), b({ config: r, value: null, axisIndex: 1, isMax: !0 }), Mt({ numericFields: s, aggregationType: a, config: r, layerInfo: o }), S || p) {
|
|
1007
|
+
b({ config: r, value: null, axisIndex: 0, isMax: !1 }), b({ config: r, value: null, axisIndex: 0, isMax: !0 }), he(0, r);
|
|
1008
|
+
const u = y?.type === M.DateAxisFormat ? Q.Null : Q.Interpolate;
|
|
1009
|
+
At(u, r);
|
|
999
1010
|
}
|
|
1000
|
-
},
|
|
1001
|
-
const { config: e, seriesIndex: i, layerInfo: s, commonStrings: a } = t, r = e.series?.[i], o =
|
|
1011
|
+
}, sa = (t) => {
|
|
1012
|
+
const { config: e, seriesIndex: i, layerInfo: s, commonStrings: a } = t, r = e.series?.[i], o = W(e);
|
|
1002
1013
|
let l;
|
|
1003
|
-
if (
|
|
1014
|
+
if (K(e.series) === D.BarAndLineFromFields)
|
|
1004
1015
|
l = a.axisLabels.values;
|
|
1005
1016
|
else if (qe(o)) {
|
|
1006
1017
|
const c = r.query?.outStatistics?.[0]?.onStatisticField;
|
|
1007
|
-
c !== void 0 && c !== s.objectIdField && (l =
|
|
1018
|
+
c !== void 0 && c !== s.objectIdField && (l = V(s.layerFieldsInfo, c));
|
|
1008
1019
|
} else {
|
|
1009
1020
|
const c = String(Be(r)).trim().replace(/'/gu, ""), f = {
|
|
1010
|
-
fieldName:
|
|
1021
|
+
fieldName: W(e),
|
|
1011
1022
|
fieldValueToMatch: c ?? "",
|
|
1012
1023
|
subtypeInfo: ee(s.layer),
|
|
1013
1024
|
fieldList: s.layerFieldsInfo
|
|
@@ -1015,89 +1026,89 @@ const Js = async (t) => {
|
|
|
1015
1026
|
l = te(f) ?? c;
|
|
1016
1027
|
}
|
|
1017
1028
|
return l ?? r.id;
|
|
1018
|
-
},
|
|
1029
|
+
}, aa = (t, e) => {
|
|
1019
1030
|
if (fe(e))
|
|
1020
1031
|
Dt(t, e);
|
|
1021
1032
|
else {
|
|
1022
1033
|
e.orderOptions ??= {};
|
|
1023
1034
|
const i = e.orderOptions?.data?.orderType;
|
|
1024
|
-
Z(e)[0] === J.customSort && i ===
|
|
1025
|
-
orderType:
|
|
1035
|
+
Z(e)[0] === J.customSort && i === T.Category && (e.orderOptions.data = {
|
|
1036
|
+
orderType: T.Category,
|
|
1026
1037
|
orderBy: [...t]
|
|
1027
1038
|
});
|
|
1028
1039
|
}
|
|
1029
|
-
},
|
|
1030
|
-
const i =
|
|
1040
|
+
}, ra = async (t, e) => {
|
|
1041
|
+
const i = $(t), s = Te(t)?.type, a = se(t), r = K(t.series);
|
|
1031
1042
|
let o = [];
|
|
1032
|
-
return s === M.CategoryAxisFormat && (r === D.BarAndLineFromFields || i ===
|
|
1043
|
+
return s === M.CategoryAxisFormat && (r === D.BarAndLineFromFields || i === j ? o = a.map((l) => V(e?.layerFieldsInfo, l)) : i.trim() !== "" && i !== j && e !== void 0 && (o = await gt({
|
|
1033
1044
|
layerInfo: e,
|
|
1034
1045
|
config: t,
|
|
1035
1046
|
category: i
|
|
1036
1047
|
}))), o;
|
|
1037
1048
|
};
|
|
1038
1049
|
function Rt(t, e, i) {
|
|
1039
|
-
const s =
|
|
1050
|
+
const s = Ae(t, e, i), a = xt(t), r = k(t);
|
|
1040
1051
|
return s === a || r;
|
|
1041
1052
|
}
|
|
1042
|
-
function
|
|
1053
|
+
function kt(t, e, i) {
|
|
1043
1054
|
const s = Se({
|
|
1044
1055
|
config: t,
|
|
1045
1056
|
layerInfo: e,
|
|
1046
1057
|
commonStrings: i,
|
|
1047
1058
|
numericFields: se(t),
|
|
1048
1059
|
aggregationType: Ce(t)
|
|
1049
|
-
}), a = X(1, t), r =
|
|
1060
|
+
}), a = X(1, t), r = k(t);
|
|
1050
1061
|
return s === a || r;
|
|
1051
1062
|
}
|
|
1052
|
-
function
|
|
1053
|
-
const i =
|
|
1063
|
+
function $t(t, e) {
|
|
1064
|
+
const i = V(e.layerFieldsInfo, $(t)), s = X(0, t), a = k(t);
|
|
1054
1065
|
return i === s || a;
|
|
1055
1066
|
}
|
|
1056
|
-
function
|
|
1067
|
+
function oa(t) {
|
|
1057
1068
|
return t.series[0]?.binTemporalData ?? !1;
|
|
1058
1069
|
}
|
|
1059
|
-
function
|
|
1070
|
+
function la(t, e) {
|
|
1060
1071
|
e?.series.forEach((i) => {
|
|
1061
1072
|
(i?.type === M.BarSeries || i?.type === M.LineSeries) && (i.binTemporalData = t, t ? i.temporalBinning = {
|
|
1062
|
-
unit:
|
|
1073
|
+
unit: _.Day,
|
|
1063
1074
|
size: 0,
|
|
1064
1075
|
timeAggregationType: we.Start,
|
|
1065
1076
|
trimIncompleteTimeInterval: !0,
|
|
1066
|
-
nullPolicy:
|
|
1077
|
+
nullPolicy: Q.Null
|
|
1067
1078
|
} : delete i.temporalBinning);
|
|
1068
1079
|
});
|
|
1069
1080
|
}
|
|
1070
1081
|
export {
|
|
1071
1082
|
yt as $,
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1083
|
+
Rs as A,
|
|
1084
|
+
Vs as B,
|
|
1085
|
+
Ns as C,
|
|
1086
|
+
Xs as D,
|
|
1087
|
+
$s as E,
|
|
1088
|
+
Us as F,
|
|
1089
|
+
js as G,
|
|
1090
|
+
Os as H,
|
|
1091
|
+
qs as I,
|
|
1092
|
+
Ds as J,
|
|
1093
|
+
ws as K,
|
|
1094
|
+
Ks as L,
|
|
1095
|
+
zs as M,
|
|
1096
|
+
Gs as N,
|
|
1097
|
+
Qs as O,
|
|
1098
|
+
Ys as P,
|
|
1099
|
+
Ws as Q,
|
|
1100
|
+
_s as R,
|
|
1101
|
+
Hs as S,
|
|
1102
|
+
Js as T,
|
|
1103
|
+
Zs as U,
|
|
1104
|
+
ea as V,
|
|
1105
|
+
ta as W,
|
|
1106
|
+
gs as X,
|
|
1096
1107
|
Te as Y,
|
|
1097
1108
|
gt as Z,
|
|
1098
1109
|
ft as _,
|
|
1099
1110
|
X as a,
|
|
1100
|
-
|
|
1111
|
+
os as a$,
|
|
1101
1112
|
le as a0,
|
|
1102
1113
|
qi as a1,
|
|
1103
1114
|
Ii as a2,
|
|
@@ -1109,86 +1120,90 @@ export {
|
|
|
1109
1120
|
Di as a8,
|
|
1110
1121
|
Mi as a9,
|
|
1111
1122
|
bt as aA,
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1123
|
+
he as aB,
|
|
1124
|
+
Ft as aC,
|
|
1125
|
+
ms as aD,
|
|
1126
|
+
Tt as aE,
|
|
1127
|
+
xs as aF,
|
|
1128
|
+
ht as aG,
|
|
1129
|
+
Ss as aH,
|
|
1130
|
+
vt as aI,
|
|
1131
|
+
At as aJ,
|
|
1132
|
+
bs as aK,
|
|
1133
|
+
Ti as aL,
|
|
1134
|
+
Ki as aM,
|
|
1135
|
+
zi as aN,
|
|
1136
|
+
ls as aO,
|
|
1137
|
+
Qi as aP,
|
|
1138
|
+
_i as aQ,
|
|
1139
|
+
hi as aR,
|
|
1140
|
+
vi as aS,
|
|
1141
|
+
Ai as aT,
|
|
1142
|
+
Bi as aU,
|
|
1143
|
+
Ci as aV,
|
|
1133
1144
|
ts as aW,
|
|
1134
1145
|
is as aX,
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1146
|
+
ss as aY,
|
|
1147
|
+
as as aZ,
|
|
1148
|
+
rs as a_,
|
|
1138
1149
|
Pi as aa,
|
|
1139
1150
|
St as ab,
|
|
1140
1151
|
Ei as ac,
|
|
1141
1152
|
Ri as ad,
|
|
1142
|
-
|
|
1143
|
-
|
|
1153
|
+
ki as ae,
|
|
1154
|
+
Fs as af,
|
|
1144
1155
|
Bt as ag,
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1156
|
+
Ts as ah,
|
|
1157
|
+
hs as ai,
|
|
1158
|
+
ys as aj,
|
|
1159
|
+
us as ak,
|
|
1160
|
+
fs as al,
|
|
1161
|
+
ps as am,
|
|
1162
|
+
Gi as an,
|
|
1163
|
+
Hi as ao,
|
|
1164
|
+
Ji as ap,
|
|
1165
|
+
Zi as aq,
|
|
1166
|
+
es as ar,
|
|
1167
|
+
bi as as,
|
|
1168
|
+
Fi as at,
|
|
1169
|
+
$i as au,
|
|
1170
|
+
Xi as av,
|
|
1171
|
+
ji as aw,
|
|
1172
|
+
Ui as ax,
|
|
1173
|
+
Wi as ay,
|
|
1174
|
+
Yi as az,
|
|
1164
1175
|
Se as b,
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1176
|
+
ns as b0,
|
|
1177
|
+
cs as b1,
|
|
1178
|
+
ds as b2,
|
|
1179
|
+
Is as b3,
|
|
1180
|
+
Cs as b4,
|
|
1181
|
+
Bs as b5,
|
|
1182
|
+
vs as b6,
|
|
1183
|
+
As as b7,
|
|
1184
|
+
ve as b8,
|
|
1185
|
+
sa as c,
|
|
1171
1186
|
Si as d,
|
|
1172
1187
|
xi as e,
|
|
1173
1188
|
Z as f,
|
|
1174
1189
|
xt as g,
|
|
1175
|
-
|
|
1190
|
+
ra as h,
|
|
1176
1191
|
mi as i,
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1192
|
+
aa as j,
|
|
1193
|
+
oa as k,
|
|
1194
|
+
la as l,
|
|
1180
1195
|
Ce as m,
|
|
1181
|
-
|
|
1196
|
+
W as n,
|
|
1182
1197
|
se as o,
|
|
1183
|
-
|
|
1184
|
-
|
|
1198
|
+
ia as p,
|
|
1199
|
+
Ae as q,
|
|
1185
1200
|
Ot as r,
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1201
|
+
b as s,
|
|
1202
|
+
Ls as t,
|
|
1203
|
+
U as u,
|
|
1189
1204
|
wt as v,
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1205
|
+
Ms as w,
|
|
1206
|
+
Es as x,
|
|
1207
|
+
Ps as y,
|
|
1208
|
+
ks as z
|
|
1194
1209
|
};
|