@arcgis/charts-components 5.0.0-next.102 → 5.0.0-next.104
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/{VKNKTJHI.js → 245K5FJX.js} +2 -2
- package/dist/cdn/{AZ7OKGGJ.js → 27J4EAQA.js} +2 -2
- package/dist/cdn/{UDX43XBB.js → 27QHSQZN.js} +2 -2
- package/dist/cdn/{V7AEILOZ.js → 2BNFITDB.js} +2 -2
- package/dist/cdn/{SN2FRRCJ.js → 2IHV5IUQ.js} +2 -2
- package/dist/cdn/{KAMUEAHK.js → 32WHAIKF.js} +2 -2
- package/dist/cdn/{NY5FVVO6.js → 33TSEV4K.js} +2 -2
- package/dist/cdn/{KX7UJABF.js → 366RRSWE.js} +2 -2
- package/dist/cdn/{RU2HCVG6.js → 3GAGOSAQ.js} +2 -2
- package/dist/cdn/{MZV5RMMS.js → 3PUTAXNL.js} +1 -1
- package/dist/cdn/{MOBWDJSO.js → 3Z2DC66T.js} +2 -2
- package/dist/cdn/{UAK33ITT.js → 4CXIBXAK.js} +2 -2
- package/dist/cdn/{54DJTEQE.js → 4H5TH3RL.js} +2 -2
- package/dist/cdn/{XTDCNDP6.js → 4HOW6KC5.js} +2 -2
- package/dist/cdn/{33ULPLL6.js → 4UF7U7H6.js} +2 -2
- package/dist/cdn/{IXN6XYIO.js → 4ZHMHCLF.js} +2 -2
- package/dist/cdn/{YYN2QFXF.js → 5BVR6QW2.js} +2 -2
- package/dist/cdn/{B6KHLUKY.js → 5JPKVJ3V.js} +2 -2
- package/dist/cdn/{YRNQ5M3J.js → 6FJ6OZ7O.js} +1 -1
- package/dist/cdn/{LMLIHFSE.js → 6HNUVSLH.js} +2 -2
- package/dist/cdn/{AHUK4GAJ.js → 6LIEIDQC.js} +2 -2
- package/dist/cdn/{O5CRUYV2.js → 6VJDBNSD.js} +2 -2
- package/dist/cdn/{6T7JES7C.js → 6WWX7QNB.js} +2 -2
- package/dist/cdn/{DY652DZC.js → 6ZH4CPTS.js} +2 -2
- package/dist/cdn/{QIUFX7LS.js → 7EQKS4PC.js} +2 -2
- package/dist/cdn/{CEEOVLI2.js → 7IZQQMU2.js} +1 -1
- package/dist/cdn/{HCKYU4DJ.js → 7L7PG7WZ.js} +2 -2
- package/dist/cdn/{GX7XI5E6.js → 7M2XVBUL.js} +2 -2
- package/dist/cdn/{BRV4NK74.js → 7NXZ34DU.js} +2 -2
- package/dist/cdn/{HUSHFX2M.js → AHC3EKA5.js} +2 -2
- package/dist/cdn/{7JTAXO6X.js → AI5E2QGU.js} +2 -2
- package/dist/cdn/{O4CSRPGF.js → ARI4YYCM.js} +2 -2
- package/dist/cdn/{LKL3R7UD.js → ATX2WN4Q.js} +2 -2
- package/dist/cdn/{CSO6O43I.js → AXDTHFRY.js} +2 -2
- package/dist/cdn/{FKIJGFB5.js → BDXY5Y45.js} +2 -2
- package/dist/cdn/{AUCFCZPN.js → C6NMTDM2.js} +2 -2
- package/dist/cdn/{GTRWXFSD.js → CI5QS26H.js} +1 -1
- package/dist/cdn/{ZFOGU7JL.js → CKA2TILS.js} +2 -2
- package/dist/cdn/{OCIKRFP6.js → CRW4FQRH.js} +2 -2
- package/dist/cdn/{N3LA7KMK.js → D7J4NT5W.js} +2 -2
- package/dist/cdn/{COE3LBYM.js → DDMJRH3A.js} +2 -2
- package/dist/cdn/{65E3VDVX.js → DJGTF6BZ.js} +2 -2
- package/dist/cdn/{MJDMUXPV.js → DKHI3XZU.js} +2 -2
- package/dist/cdn/{ELXNSRZI.js → DLNPUZPT.js} +2 -2
- package/dist/cdn/DLVYR6CX.js +6 -0
- package/dist/cdn/{QNMH5WVM.js → DMIFFN3Y.js} +2 -2
- package/dist/cdn/{LK4BBXFO.js → DNYKXMX7.js} +2 -2
- package/dist/cdn/{D5YBFYC4.js → E54IXQXY.js} +2 -2
- package/dist/cdn/{JJQEYUZU.js → EAFTY4HK.js} +2 -2
- package/dist/cdn/{2BPUFV3E.js → ED7HRJ7U.js} +2 -2
- package/dist/cdn/{GXR3MLSX.js → EPEJRLLI.js} +2 -2
- package/dist/cdn/{QUFEY2KE.js → EQ5LLGNP.js} +2 -2
- package/dist/cdn/{3WL5JUZ3.js → ESOEI42Q.js} +2 -2
- package/dist/cdn/{7YKDGAE6.js → F4FOYOV5.js} +2 -2
- package/dist/cdn/{3ZNWO7HO.js → F4X642QH.js} +2 -2
- package/dist/cdn/{EEFRRYZ7.js → FB4KTPIB.js} +2 -2
- package/dist/cdn/{S3MY57PT.js → FPUVLUIY.js} +2 -2
- package/dist/cdn/{7BYS23IM.js → FPY2IOH5.js} +2 -2
- package/dist/cdn/{4TFGJ4BH.js → FQESRKCV.js} +2 -2
- package/dist/cdn/{4X5U7ZYO.js → GC27HAFA.js} +2 -2
- package/dist/cdn/{TLM22DYH.js → GLSONNM6.js} +1 -1
- package/dist/cdn/{OARJ6MHQ.js → GU77T424.js} +2 -2
- package/dist/cdn/{37JWCJOL.js → GXQVBS57.js} +2 -2
- package/dist/cdn/{N4GTWOSJ.js → HCIJOT3M.js} +2 -2
- package/dist/cdn/{SWXOTWQ3.js → HE43ZVHC.js} +2 -2
- package/dist/cdn/{5MHH4WZK.js → HJI36GA5.js} +2 -2
- package/dist/cdn/{MWVAN7WZ.js → HWSC6R3R.js} +2 -2
- package/dist/cdn/{TKGYQYLW.js → I62DZYFP.js} +1 -1
- package/dist/cdn/{XHASSS5R.js → ITPQHJDR.js} +2 -2
- package/dist/cdn/{RO6V2NCO.js → IUTCIIFY.js} +2 -2
- package/dist/cdn/{WUNFRDMP.js → IWKC2MZG.js} +2 -2
- package/dist/cdn/{NBIPH2LP.js → J4MRFN3M.js} +2 -2
- package/dist/cdn/{DJZSHEIT.js → JBYOILTJ.js} +2 -2
- package/dist/cdn/{4HZ6UE3P.js → JDL4OD36.js} +2 -2
- package/dist/cdn/{MAUTZ7UB.js → JFQOVL2P.js} +2 -2
- package/dist/cdn/{UARM42ZY.js → JOI4RCXM.js} +2 -2
- package/dist/cdn/{KCLSP4YZ.js → JQTREK36.js} +2 -2
- package/dist/cdn/{3ZJ33IVL.js → KNGCSWYG.js} +2 -2
- package/dist/cdn/{ROQ4XK6L.js → KQVX5EF7.js} +2 -2
- package/dist/cdn/{7QFNJN4W.js → KSOSRN2G.js} +2 -2
- package/dist/cdn/{HDSL5A7V.js → KZO2D647.js} +2 -2
- package/dist/cdn/{Q52YD7ND.js → LIDTZKIM.js} +2 -2
- package/dist/cdn/{AF4BRJUN.js → LZIJ27C2.js} +2 -2
- package/dist/cdn/{SJJ5L5SW.js → MDMJMXHW.js} +2 -2
- package/dist/cdn/{FYBKHP7O.js → MKSHLDMK.js} +2 -2
- package/dist/cdn/{RZLKAKU2.js → MMHX6BH6.js} +9 -9
- package/dist/cdn/{SZKBSVQB.js → MMWYZC7L.js} +2 -2
- package/dist/cdn/{K732GGAO.js → MOGH6U7L.js} +2 -2
- package/dist/cdn/{MJLTSZ63.js → MVOA5KCJ.js} +2 -2
- package/dist/cdn/{ERLWXJJE.js → N4CNML2R.js} +2 -2
- package/dist/cdn/{SNEQJFZL.js → N7LXJZJL.js} +2 -2
- package/dist/cdn/NCGXIJ3Z.js +4 -0
- package/dist/cdn/{ZCZYMOHL.js → NFKOFL22.js} +2 -2
- package/dist/cdn/{E5GMAB4Q.js → NGVNV2DO.js} +2 -2
- package/dist/cdn/{AZYRVQMV.js → NIURPQMA.js} +2 -2
- package/dist/cdn/{6NGM3L2C.js → NM4BKF27.js} +2 -2
- package/dist/cdn/{BW46LSXV.js → NPSMOOIS.js} +2 -2
- package/dist/cdn/{NEFHBQ6U.js → NPSUTLNK.js} +2 -2
- package/dist/cdn/{2IFCXOCH.js → NS42WVJY.js} +2 -2
- package/dist/cdn/{R4BCIEIP.js → NYXIH3BU.js} +2 -2
- package/dist/cdn/{PXBIU6TE.js → O3NOU74G.js} +2 -2
- package/dist/cdn/{RM3CCXZN.js → O5BSRBG7.js} +2 -2
- package/dist/cdn/{VKSSENI2.js → O6U3KKLP.js} +2 -2
- package/dist/cdn/{EGPUTZW6.js → OM4XBNVZ.js} +2 -2
- package/dist/cdn/{Q64R5T75.js → PHCHMEFE.js} +2 -2
- package/dist/cdn/{AMEMS37G.js → PUAPSNAE.js} +2 -2
- package/dist/cdn/{ALNZBBKL.js → PUVGI7LR.js} +2 -2
- package/dist/cdn/{55I7AIEJ.js → QDZQ7XBH.js} +2 -2
- package/dist/cdn/{VQ3LQCKQ.js → QFNCKSUS.js} +2 -2
- package/dist/cdn/{7NHXXYON.js → QG443QDC.js} +2 -2
- package/dist/cdn/{3PESWDXU.js → QWLWOKT2.js} +2 -2
- package/dist/cdn/{COH7VU46.js → QYR2KAP3.js} +2 -2
- package/dist/cdn/{ORQNKXVC.js → RFXVNZO6.js} +2 -2
- package/dist/cdn/{JGMHPA5V.js → RKXAKHCJ.js} +2 -2
- package/dist/cdn/{SFMVRE4F.js → ROCUMH5L.js} +2 -2
- package/dist/cdn/{BUHUYA5O.js → S6NMDYRW.js} +2 -2
- package/dist/cdn/{TX4WKLFV.js → SBFKRB4T.js} +2 -2
- package/dist/cdn/{DSR3ELSG.js → SCS5IXHO.js} +2 -2
- package/dist/cdn/{2OVSKLWM.js → SDOKOHIW.js} +2 -2
- package/dist/cdn/{2LI5AEMF.js → SFWYD7H5.js} +2 -2
- package/dist/cdn/{REZCDBYX.js → SI3JHB6M.js} +2 -2
- package/dist/cdn/{RROMIMDM.js → SICPBNKN.js} +2 -2
- package/dist/cdn/{ET5EBHJD.js → SKLBZZYE.js} +2 -2
- package/dist/cdn/{G675UJLI.js → SVJ6LK7O.js} +2 -2
- package/dist/cdn/{3DXAOXHJ.js → SW4H4QIL.js} +8 -8
- package/dist/cdn/{HZJFNRAT.js → T46JRZQA.js} +2 -2
- package/dist/cdn/{NOPZQ2RJ.js → T5FFCKVE.js} +2 -2
- package/dist/cdn/{UIMH44QF.js → T6546QJI.js} +2 -2
- package/dist/cdn/{YBLEOKUP.js → TD3HB6TO.js} +2 -2
- package/dist/cdn/{5G5TLNFP.js → TT235BJV.js} +2 -2
- package/dist/cdn/{2DSKRPUF.js → TUE3P57I.js} +2 -2
- package/dist/cdn/{ZLB6TCRW.js → UC7GMJQS.js} +2 -2
- package/dist/cdn/{6SUF6LVA.js → UDVE6CK5.js} +2 -2
- package/dist/cdn/{GQPTCCI4.js → UDXOOMW3.js} +2 -2
- package/dist/cdn/{RNQOULPD.js → UFZEZ73O.js} +2 -2
- package/dist/cdn/{5LZX2UDV.js → UIZ426PI.js} +2 -2
- package/dist/cdn/{ILJTUKQZ.js → ULHPG474.js} +2 -2
- package/dist/cdn/{E73VA3FX.js → ULVQXW3S.js} +2 -2
- package/dist/cdn/{2UERDYYK.js → UMAJ5PS5.js} +2 -2
- package/dist/cdn/{MRZ4B67F.js → UO275E5Y.js} +2 -2
- package/dist/cdn/{V3XGCBNX.js → UTYCWP2K.js} +2 -2
- package/dist/cdn/{F3ZGRTCA.js → UUASPB2M.js} +2 -2
- package/dist/cdn/{YPIQOHMD.js → V7WICVI3.js} +2 -2
- package/dist/cdn/{BPZW6PXW.js → VAYJR72T.js} +1 -1
- package/dist/cdn/{CWE7WAGF.js → VJ4OQ6AN.js} +2 -2
- package/dist/cdn/{FYWZ5NU4.js → W2W2CBNS.js} +2 -2
- package/dist/cdn/{XQ4CFCGB.js → W4PNCKMD.js} +2 -2
- package/dist/cdn/{TP7BIYYT.js → W6OVU6UJ.js} +2 -2
- package/dist/cdn/{4G4GVLPM.js → WB7CQHH7.js} +1 -1
- package/dist/cdn/{4P746Q3F.js → WHM7JNUT.js} +2 -2
- package/dist/cdn/{TQMO5KEM.js → WJ6IVIED.js} +2 -2
- package/dist/cdn/{FRAESJ5H.js → WKSW34FM.js} +2 -2
- package/dist/cdn/{DLW3EVLT.js → WSAW7VHK.js} +2 -2
- package/dist/cdn/{YOEPTM3J.js → WY7GEXOZ.js} +2 -2
- package/dist/cdn/{G5CP7AO3.js → XEK5PQDB.js} +2 -2
- package/dist/cdn/{CYT6OYHT.js → XFCEVE7T.js} +2 -2
- package/dist/cdn/{YRGL6LV6.js → XQU7YLLT.js} +2 -2
- package/dist/cdn/{6XLGPGVV.js → XRIRBRJP.js} +2 -2
- package/dist/cdn/{2JPDE2HT.js → XTPH2C7U.js} +2 -2
- package/dist/cdn/{W4DAC7H7.js → XZCBFNGG.js} +2 -2
- package/dist/cdn/{A6V2DCGB.js → YEDRDZEY.js} +2 -2
- package/dist/cdn/{JZZLPTXN.js → YL2SB54B.js} +2 -2
- package/dist/cdn/{R4RO45LL.js → YMAGS3BK.js} +2 -2
- package/dist/cdn/{QP3VQEVL.js → YRRKNNI3.js} +2 -2
- package/dist/cdn/{VTTWGTBF.js → YWKAUOH4.js} +2 -2
- package/dist/cdn/{LHBUSPCJ.js → Z2QCAAUB.js} +2 -2
- package/dist/cdn/{32XQFBJ5.js → Z4VAPPVU.js} +2 -2
- package/dist/cdn/{EJ4PI7IS.js → Z6VRUTFS.js} +2 -2
- package/dist/cdn/{56VAR6ZY.js → Z7EWF6YD.js} +2 -2
- package/dist/cdn/{WM36WGJY.js → ZPXIWFKI.js} +2 -2
- package/dist/cdn/{BKNLG5J6.js → ZTXON7SB.js} +2 -2
- package/dist/cdn/{O5NRXBZB.js → ZYENXJM2.js} +2 -2
- package/dist/cdn/{5NW3WG6M.js → ZYNRS5VY.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/chart-rendering/next/defaults/index.d.ts +1 -0
- package/dist/chunks/action-bar-utils.js +9 -9
- 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 +28 -28
- package/dist/chunks/box-plot-model.js +7 -7
- package/dist/chunks/chart-ui-utils.js +1 -1
- package/dist/chunks/chart-ui-utils2.js +2 -2
- package/dist/chunks/combo-bar-line-chart-model.js +6 -6
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/data.js +24 -24
- package/dist/chunks/default.js +1 -1
- package/dist/chunks/gauge-model.js +14 -14
- package/dist/chunks/heat-chart-model.js +84 -73
- package/dist/chunks/histogram-data.js +9 -9
- package/dist/chunks/histogram-model.js +5 -5
- package/dist/chunks/index.js +1207 -1166
- package/dist/chunks/index2.js +20 -20
- 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 +10 -10
- package/dist/chunks/model-with-multi-axes.js +128 -128
- package/dist/chunks/pie-chart-data.js +19 -19
- package/dist/chunks/pie-chart-model.js +25 -25
- package/dist/chunks/popover-ui-utils.js +1 -1
- package/dist/chunks/radar-chart-model.js +7 -7
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/rest-js-object-literals.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/scatterplot-model.js +24 -24
- package/dist/chunks/serial-chart-data.js +162 -158
- package/dist/chunks/serial-chart-model.js +12 -12
- 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 +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/web-component-utils.js +23 -23
- package/dist/components/arcgis-chart/customElement.js +3 -3
- 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 +5 -5
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +10 -10
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +2 -2
- 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 +8 -8
- 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 +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 +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +10 -10
- 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 +1 -1
- 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 +6 -6
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
- 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 +2 -2
- 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 +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 +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 +5 -5
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +7 -7
- 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 +2 -2
- package/dist/docs/docs.json +2 -2
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +222 -221
- package/dist/json-schema/index.d.ts +7 -2
- package/dist/loader.js +1 -1
- package/dist/model/heat-chart-model/heat-chart-model.d.ts +5 -0
- package/dist/model/heat-chart-model/utils/heat-chart-data.d.ts +60 -49
- package/dist/model.js +1 -1
- package/dist/spec/web-chart.d.ts +7 -2
- package/dist/utils/chart-config/converter/index.d.ts +4 -4
- package/dist/utils/chart-config/utils/index.d.ts +8 -1
- package/dist/utils/data/interfaces.d.ts +1 -0
- package/dist/utils/layer/query-parser/index.d.ts +3 -0
- package/package.json +3 -3
- package/dist/cdn/F6LLFVW7.js +0 -6
- package/dist/cdn/YM4QNWCO.js +0 -4
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { fetchT9nStringsBundle as Me, getElementLocale as Ue } from "@arcgis/toolkit/intl";
|
|
2
|
-
import { cloneDeep as
|
|
3
|
-
import { g as ue, e as
|
|
2
|
+
import { cloneDeep as R, memoize as de, isEmpty as Ee } from "lodash-es";
|
|
3
|
+
import { g as ue, e as Re, a as T, u as ye, W as P, d as $e, t as b, m as z, n as Xe, i as H } from "./series-types.js";
|
|
4
4
|
import "d3-array";
|
|
5
|
-
import {
|
|
5
|
+
import { bP as ke, cg as ge, bQ as ee, ai as fe, bR as te, d0 as je, bK as D, l as Y, dd as We, aL as G, cU as _e, bs as pe, cY as L, aJ as M, aH as U, bC as N, b1 as Ye, g as re, bH as Ke, aR as Qe, aK as ze, r as I, V as He, X as Ge, cH as Je, p as K, df as q, k as Ze, cF as et, bL as tt, bX as it, ao as st, q as at, dl as rt, cB as nt, dm as ne, cc as ot, c8 as lt, $, dh as me, m as ct, b as j, bO as dt, b4 as ut, b5 as yt, b7 as gt, bN as oe, aM as ft, aN as pt } 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";
|
|
@@ -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 X, d as he, g as ie, e as le, f as bt } from "./data.js";
|
|
28
28
|
import { c as Fe } 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.104 */
|
|
32
32
|
async function Tt(t) {
|
|
33
33
|
const { config: e, layer: i, xAxisField: s, splitByField: a, layerFieldsInfo: r, aggregationFields: n, fetchNullValues: o } = t, l = r.filter((p) => p.name === a)[0]?.type, y = o !== !0 ? `${a} IS NOT NULL` : "", d = s && o !== !0 ? `${s} IS NOT NULL` : "", { where: x } = e?.dataFilters ?? {}, m = {
|
|
34
34
|
where: ge([x, y, d]),
|
|
@@ -46,7 +46,7 @@ async function Tt(t) {
|
|
|
46
46
|
queryConfig: m
|
|
47
47
|
});
|
|
48
48
|
if (e) {
|
|
49
|
-
const p = e?.series.map((g) =>
|
|
49
|
+
const p = e?.series.map((g) => Y({ where: g.query?.where })?.toString() ?? "").filter((g) => g !== void 0 && g !== "");
|
|
50
50
|
S = We({
|
|
51
51
|
arrayA: S,
|
|
52
52
|
arrayB: p,
|
|
@@ -65,7 +65,7 @@ function Vi(t, e) {
|
|
|
65
65
|
return i;
|
|
66
66
|
}
|
|
67
67
|
function Oi(t, e) {
|
|
68
|
-
const i =
|
|
68
|
+
const i = ke(t);
|
|
69
69
|
let s = e.length === 0, a = 0;
|
|
70
70
|
for (const r of e) {
|
|
71
71
|
for (const n of i)
|
|
@@ -123,7 +123,7 @@ function be(t) {
|
|
|
123
123
|
const { config: e, layerInfo: i, commonStrings: s, numericFields: a, aggregationType: r } = t;
|
|
124
124
|
let n = "";
|
|
125
125
|
if (e)
|
|
126
|
-
if (_e(e) ===
|
|
126
|
+
if (_e(e) === Re.Stacked100)
|
|
127
127
|
n = s.utilsStrings.statistics.percent;
|
|
128
128
|
else {
|
|
129
129
|
const c = pe(r, s);
|
|
@@ -139,7 +139,7 @@ function be(t) {
|
|
|
139
139
|
}
|
|
140
140
|
return n;
|
|
141
141
|
}
|
|
142
|
-
const Te = (t, e, i) => t.axes?.[e] ??
|
|
142
|
+
const Te = (t, e, i) => t.axes?.[e] ?? Ye(i, t.type)[e], Ae = (t) => {
|
|
143
143
|
const { config: e, axis: i, axisIndex: s } = t;
|
|
144
144
|
e.axes !== void 0 && (e.axes[s] = i);
|
|
145
145
|
}, qi = (t) => {
|
|
@@ -151,7 +151,7 @@ const Te = (t, e, i) => t.axes?.[e] ?? Ke(i, t.type)[e], Ae = (t) => {
|
|
|
151
151
|
r !== void 0 && (a ? r.maximum = i : r.minimum = i);
|
|
152
152
|
}, Pi = (t, e) => {
|
|
153
153
|
F({ config: t, value: e, axisIndex: 0, isMax: !1 });
|
|
154
|
-
}, ve = (t) => t.axes?.[0]?.valueFormat ??
|
|
154
|
+
}, ve = (t) => t.axes?.[0]?.valueFormat ?? G(), vt = (t, e, i) => {
|
|
155
155
|
const s = Te(t, 0, e);
|
|
156
156
|
if (s !== void 0 && i !== void 0) {
|
|
157
157
|
const a = {
|
|
@@ -190,10 +190,10 @@ const Te = (t, e, i) => t.axes?.[e] ?? Ke(i, t.type)[e], Ae = (t) => {
|
|
|
190
190
|
axisIndex: a
|
|
191
191
|
});
|
|
192
192
|
}
|
|
193
|
-
}, Ei = (t, e) => t.axes?.[e]?.isLogarithmic ?? !1,
|
|
193
|
+
}, Ei = (t, e) => t.axes?.[e]?.isLogarithmic ?? !1, Ri = (t) => {
|
|
194
194
|
const { config: e, isLogarithmic: i, axisIndex: s } = t, a = e.axes?.[s];
|
|
195
195
|
a && (a.isLogarithmic = i, F({ config: e, value: null, axisIndex: s, isMax: !0 }), F({ config: e, value: null, axisIndex: s, isMax: !1 }));
|
|
196
|
-
},
|
|
196
|
+
}, $i = (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
|
};
|
|
@@ -243,14 +243,14 @@ class se extends EventTarget {
|
|
|
243
243
|
);
|
|
244
244
|
let r = i;
|
|
245
245
|
if (!r && s ? r = await re(s) : !r && a?.iLayer && (r = await re(a.iLayer)), r) {
|
|
246
|
-
const n = await
|
|
246
|
+
const n = await Ke(r, !0), o = D(r).idField;
|
|
247
247
|
this.layerInfo = {
|
|
248
248
|
layer: r,
|
|
249
249
|
layerFieldsInfo: n,
|
|
250
250
|
objectIdField: o
|
|
251
251
|
};
|
|
252
252
|
}
|
|
253
|
-
this._config = a ? await Fe(a) : this.generateDefaultConfig(), this._config.legend !== void 0 && this._config.legend?.title === void 0 && (this._config.legend.title =
|
|
253
|
+
this._config = a ? await Fe(a) : this.generateDefaultConfig(), this._config.legend !== void 0 && this._config.legend?.title === void 0 && (this._config.legend.title = Qe().title), s && (this._config.iLayer = s);
|
|
254
254
|
}
|
|
255
255
|
/**
|
|
256
256
|
* Manually block the async guard to queue up config updates until unblocked.
|
|
@@ -306,7 +306,7 @@ class wt extends se {
|
|
|
306
306
|
Vt([
|
|
307
307
|
Lt
|
|
308
308
|
], wt.prototype, "titleText");
|
|
309
|
-
const
|
|
309
|
+
const Xi = (t, e) => t.axes?.[e]?.title?.content, ki = (t) => {
|
|
310
310
|
const { config: e, axisIndex: i, symbol: s } = t, a = e.axes?.[i];
|
|
311
311
|
if (a !== void 0) {
|
|
312
312
|
const r = a.title?.content.text;
|
|
@@ -330,32 +330,32 @@ const Ri = (t, e) => t.axes?.[e]?.title?.content, Xi = (t) => {
|
|
|
330
330
|
visible: !0,
|
|
331
331
|
font: U(N.AxisLabels),
|
|
332
332
|
type: N.AxisLabels
|
|
333
|
-
}) : i.labels.content =
|
|
333
|
+
}) : i.labels.content = R(t), i.labels.content.text = s;
|
|
334
334
|
}
|
|
335
335
|
}, _i = (t) => {
|
|
336
336
|
for (const e of t.axes ?? [])
|
|
337
337
|
if (e?.lineSymbol !== void 0)
|
|
338
338
|
return e.lineSymbol;
|
|
339
|
-
},
|
|
339
|
+
}, Yi = (t, e) => {
|
|
340
340
|
for (const i of e.axes ?? [])
|
|
341
|
-
i !== void 0 && (i.lineSymbol =
|
|
342
|
-
},
|
|
341
|
+
i !== void 0 && (i.lineSymbol = R(t) ?? ze());
|
|
342
|
+
}, Ki = (t) => {
|
|
343
343
|
for (const e of t.axes ?? [])
|
|
344
344
|
if (e?.grid !== void 0)
|
|
345
345
|
return e.grid;
|
|
346
|
-
},
|
|
346
|
+
}, Qi = (t, e, i) => {
|
|
347
347
|
const s = e.axes;
|
|
348
348
|
i.forEach((a) => {
|
|
349
|
-
s?.[a] !== void 0 && (s[a].grid =
|
|
349
|
+
s?.[a] !== void 0 && (s[a].grid = R(t));
|
|
350
350
|
});
|
|
351
|
-
},
|
|
351
|
+
}, k = (t, e) => e.axes?.[t]?.title?.content.text ?? "", zi = (t, e, i) => {
|
|
352
352
|
const s = i.axes?.[e];
|
|
353
353
|
s?.title !== void 0 ? s.title.content.text = t : s !== void 0 && s?.title === void 0 && (s.title = M({
|
|
354
354
|
text: t,
|
|
355
355
|
visible: !0,
|
|
356
356
|
font: U(N.AxisTitle)
|
|
357
357
|
}));
|
|
358
|
-
},
|
|
358
|
+
}, Hi = (t, e) => e.axes?.[t]?.visible ?? !0, Gi = (t, e, i) => {
|
|
359
359
|
const s = i.axes?.[e];
|
|
360
360
|
s !== void 0 && (s.visible = t);
|
|
361
361
|
}, Ji = (t, e) => e.axes?.[t]?.labels?.visible ?? !0, Zi = (t, e, i) => {
|
|
@@ -369,7 +369,7 @@ const Ri = (t, e) => t.axes?.[e]?.title?.content, Xi = (t) => {
|
|
|
369
369
|
}, es = (t, e) => e.axes?.[t]?.title?.visible ?? !1, ts = (t, e, i) => {
|
|
370
370
|
const s = i.axes?.[e];
|
|
371
371
|
s?.title !== void 0 ? s.title.visible = t : s !== void 0 && s?.title === void 0 && (s.title = M({
|
|
372
|
-
text:
|
|
372
|
+
text: k(e, i),
|
|
373
373
|
visible: t,
|
|
374
374
|
font: U(N.AxisTitle)
|
|
375
375
|
}));
|
|
@@ -387,7 +387,7 @@ const Ri = (t, e) => t.axes?.[e]?.title?.content, Xi = (t) => {
|
|
|
387
387
|
}, ds = (t, e) => t.axes?.[e]?.integerOnlyValues ?? !1, us = (t) => {
|
|
388
388
|
const { config: e, integerOnlyValues: i, axisIndex: s } = t;
|
|
389
389
|
e.axes?.[s] !== void 0 && (e.axes[s].integerOnlyValues = i);
|
|
390
|
-
}, qt = (t) => t.series.map((e) => String(
|
|
390
|
+
}, qt = (t) => t.series.map((e) => String(Y({ where: e.query?.where }))).filter((e) => e !== void 0 && e.trim() !== "");
|
|
391
391
|
class ys extends se {
|
|
392
392
|
/**
|
|
393
393
|
* The split-by values for the chart.
|
|
@@ -420,7 +420,7 @@ const Pt = (t) => {
|
|
|
420
420
|
e?.series?.forEach((i) => {
|
|
421
421
|
I(i) && (i.temporalBinning ??= {}, i.temporalBinning.size = t);
|
|
422
422
|
}), F({ config: e, value: null, axisIndex: 1, isMax: !1 }), F({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
423
|
-
},
|
|
423
|
+
}, Rt = (t, e) => {
|
|
424
424
|
e?.series?.forEach((i) => {
|
|
425
425
|
I(i) && (i.temporalBinning ??= {}, i.temporalBinning.nullPolicy = t);
|
|
426
426
|
}), F({ config: e, value: null, axisIndex: 1, isMax: !1 }), F({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
@@ -466,10 +466,10 @@ function Ie(t) {
|
|
|
466
466
|
function bs(t, e) {
|
|
467
467
|
return e != null || Se(t);
|
|
468
468
|
}
|
|
469
|
-
async function
|
|
469
|
+
async function $t(t) {
|
|
470
470
|
const { queryObject: e, chartConfig: i, options: s, splitByField: a } = t;
|
|
471
471
|
let r = [], n;
|
|
472
|
-
const o =
|
|
472
|
+
const o = R(i), c = o.series[0], l = it({
|
|
473
473
|
queryObject: e,
|
|
474
474
|
chartConfig: o,
|
|
475
475
|
runtimeDataFilters: s?.runtimeDataFilters,
|
|
@@ -520,10 +520,10 @@ async function kt(t) {
|
|
|
520
520
|
}
|
|
521
521
|
return { allValues: r, preFetchedQueryResponse: n };
|
|
522
522
|
}
|
|
523
|
-
function
|
|
523
|
+
function Xt(t, e) {
|
|
524
524
|
const i = /* @__PURE__ */ new Map();
|
|
525
525
|
return t.series.forEach((s) => {
|
|
526
|
-
let a =
|
|
526
|
+
let a = Y({
|
|
527
527
|
where: s.query?.where,
|
|
528
528
|
// normalize the value so it matches what we get from getAllValues()
|
|
529
529
|
// Refer to https://devtopia.esri.com/WebGIS/arcgis-charts/issues/8127
|
|
@@ -540,7 +540,7 @@ function Rt(t, e) {
|
|
|
540
540
|
]);
|
|
541
541
|
}), i;
|
|
542
542
|
}
|
|
543
|
-
function
|
|
543
|
+
function kt(t) {
|
|
544
544
|
const { allValues: e, configUniqueValuesPerSeriesType: i, initialConfigWasEmpty: s } = t, a = /* @__PURE__ */ new Map();
|
|
545
545
|
return Array.from(i.keys()).forEach((r) => {
|
|
546
546
|
const n = i.get(r) ?? [];
|
|
@@ -573,18 +573,18 @@ async function Wt(t) {
|
|
|
573
573
|
if (e !== void 0 && i !== void 0 && (i.series.length > 0 || r !== void 0) && e.addMissingSeries) {
|
|
574
574
|
const o = i.series.length === 0;
|
|
575
575
|
i.series.length === 0 && r !== void 0 && i.series.push(r);
|
|
576
|
-
const c =
|
|
576
|
+
const c = K(i.series);
|
|
577
577
|
if ((c === q.BoxPlotMonoFieldAndSplitBy || c === q.BoxPlotMultiFieldsAndSplitBy || c === q.BoxPlotMonoFieldAndCategoryAndSplitBy || c === q.BarAndLineSplitBy || c === q.BarAndLineSplitByNoAggregation) && a !== void 0) {
|
|
578
578
|
const l = Ze(i.series[0]?.query?.where), y = et(a);
|
|
579
579
|
await y.load();
|
|
580
|
-
const d = y.getField(l)?.toJSON(), x = tt(d), m = await
|
|
580
|
+
const d = y.getField(l)?.toJSON(), x = tt(d), m = await $t({
|
|
581
581
|
queryObject: a,
|
|
582
582
|
chartConfig: i,
|
|
583
583
|
splitByField: l,
|
|
584
584
|
options: s
|
|
585
585
|
}), { allValues: f } = m;
|
|
586
586
|
if ({ preFetchedQueryResponse: n } = m, f.length > 0) {
|
|
587
|
-
const u =
|
|
587
|
+
const u = Xt(i, x), S = kt({
|
|
588
588
|
allValues: f,
|
|
589
589
|
configUniqueValuesPerSeriesType: u,
|
|
590
590
|
initialConfigWasEmpty: o
|
|
@@ -627,15 +627,15 @@ async function Ts(t) {
|
|
|
627
627
|
config: y,
|
|
628
628
|
options: c,
|
|
629
629
|
queryObject: o
|
|
630
|
-
})), (n || l &&
|
|
630
|
+
})), (n || l && He(l, y)) && (y = Ge(y, r))), { alteredConfig: y, preFetchedQueryResponse: d };
|
|
631
631
|
}
|
|
632
632
|
const As = (t) => {
|
|
633
|
-
const { xField: e, config: i, layerInfo: s } = t, { layerFieldsInfo: a } = s, r =
|
|
633
|
+
const { xField: e, config: i, layerInfo: s } = t, { layerFieldsInfo: a } = s, r = k(0, i), n = Yt(i), o = $(i), c = i.series[0];
|
|
634
634
|
if (typeof e == "string" && n !== e && c && (c.x = e, Ie(i), n === r || o)) {
|
|
635
635
|
const l = L(a, e);
|
|
636
636
|
W(i, 0, l);
|
|
637
637
|
}
|
|
638
|
-
},
|
|
638
|
+
}, Yt = (t) => t.series[0].x ?? "", vs = (t) => t.hideEmptyRowsAndColumns, Bs = (t, e) => {
|
|
639
639
|
t.hideEmptyRowsAndColumns = e;
|
|
640
640
|
}, Cs = (t, e) => {
|
|
641
641
|
const i = t.series[0];
|
|
@@ -644,18 +644,18 @@ const As = (t) => {
|
|
|
644
644
|
const i = t.series[0];
|
|
645
645
|
i.gradientRules = e;
|
|
646
646
|
}, Ns = (t) => t.series[0].gradientRules, Vs = (t) => {
|
|
647
|
-
const { yField: e, config: i, layerInfo: s } = t, { layerFieldsInfo: a } = s, r =
|
|
647
|
+
const { yField: e, config: i, layerInfo: s } = t, { layerFieldsInfo: a } = s, r = k(1, i), n = Kt(i), o = $(i), c = i.series[0];
|
|
648
648
|
if (typeof e == "string" && n !== e && c && (c.y = e, Ie(i), n === r || o)) {
|
|
649
649
|
const l = L(a, e);
|
|
650
650
|
W(i, 1, l);
|
|
651
651
|
}
|
|
652
|
-
},
|
|
652
|
+
}, Kt = (t) => t.series[0].y ?? "", Os = (t, e) => {
|
|
653
653
|
const i = e.series[0];
|
|
654
654
|
i.xTemporalBinning = t;
|
|
655
655
|
}, ws = (t) => t.series[0].xTemporalBinning, qs = (t, e) => {
|
|
656
656
|
const i = e.series[0];
|
|
657
657
|
i.yTemporalBinning = t;
|
|
658
|
-
}, Ps = (t) => t.series[0].yTemporalBinning,
|
|
658
|
+
}, Ps = (t) => t.series[0].yTemporalBinning, Qt = (t, e) => {
|
|
659
659
|
e.orderOptions ??= {};
|
|
660
660
|
const i = e.axes?.[0]?.valueFormat?.type === "category" ? b.Category : b.YValue, s = Z(e)[0], a = e.axes?.[1]?.valueFormat?.type === "category" ? b.Category : b.YValue, r = Z(e)[1], n = {
|
|
661
661
|
...e.orderOptions.data ?? {},
|
|
@@ -668,20 +668,22 @@ const As = (t) => {
|
|
|
668
668
|
}, Ms = (t) => t.series[0].gridLine?.width, Us = (t, e) => {
|
|
669
669
|
const i = e.series[0], s = t?.length === 4 && t.every((a) => typeof a == "number");
|
|
670
670
|
i.gridLine && s && (i.gridLine.color = t);
|
|
671
|
-
}, Es = (t) => t.series[0].gridLine?.color,
|
|
671
|
+
}, Es = (t) => t.series[0].gridLine?.color, Rs = (t, e) => {
|
|
672
672
|
const i = e.legend;
|
|
673
673
|
i && (i.position = t);
|
|
674
|
-
},
|
|
674
|
+
}, $s = (t) => t.legend?.position ?? $e.Bottom, Xs = (t) => t.series[0].query?.outStatistics?.[0]?.onStatisticField, ks = (t, e) => {
|
|
675
675
|
const i = e.series[0].query?.outStatistics?.[0];
|
|
676
676
|
i && (i.onStatisticField = t, i.outStatisticFieldName = `${i.statisticType}_${t}`);
|
|
677
677
|
}, js = (t) => t.series[0].query?.outStatistics?.[0].statisticType ?? T.Count, Ws = (t, e) => {
|
|
678
678
|
const i = e.series[0]?.query?.outStatistics?.[0];
|
|
679
679
|
i && t !== T.NoAggregation && (i.statisticType = t, i.outStatisticFieldName = `${t}_${i.onStatisticField}`);
|
|
680
|
-
}, _s = (t) => t.nullPolicy,
|
|
680
|
+
}, _s = (t) => t.nullPolicy, Ys = (t, e) => {
|
|
681
681
|
e.nullPolicy = t;
|
|
682
|
-
},
|
|
682
|
+
}, Ks = (t) => t.series[0].emptyCells?.text, Qs = (t, e) => {
|
|
683
683
|
e.series[0].emptyCells ? e.series[0].emptyCells.text = t : e.series[0].emptyCells = { text: t };
|
|
684
|
-
},
|
|
684
|
+
}, zs = (t) => t.includeLeapDay, Hs = (t, e) => {
|
|
685
|
+
e.includeLeapDay = t;
|
|
686
|
+
}, Gs = (t) => t.series[0].emptyCells?.symbol, Js = (t, e) => {
|
|
685
687
|
e.series[0].emptyCells ? e.series[0].emptyCells.symbol = t : e.series[0].emptyCells = { symbol: t };
|
|
686
688
|
};
|
|
687
689
|
function E(t) {
|
|
@@ -732,9 +734,9 @@ function E(t) {
|
|
|
732
734
|
}
|
|
733
735
|
if (v(m) || B(m) || C(m) && a.series[0]?.binTemporalData) {
|
|
734
736
|
let f;
|
|
735
|
-
if (a?.series?.[0] !== void 0 && (f =
|
|
737
|
+
if (a?.series?.[0] !== void 0 && (f = K(a.series)), f !== q.BarAndLineNoAggregation && f !== q.BarAndLineSplitByNoAggregation) {
|
|
736
738
|
let u = Dt(a);
|
|
737
|
-
u ===
|
|
739
|
+
u === H.Quarter && (u = H.Month), m.temporalBinning = {
|
|
738
740
|
size: Pt(a),
|
|
739
741
|
unit: u,
|
|
740
742
|
timeAggregationType: Mt(a),
|
|
@@ -743,10 +745,10 @@ function E(t) {
|
|
|
743
745
|
};
|
|
744
746
|
}
|
|
745
747
|
}
|
|
746
|
-
return
|
|
748
|
+
return R(m);
|
|
747
749
|
}
|
|
748
750
|
function Ne(t, e, i) {
|
|
749
|
-
const { layerFieldsInfo: s } = e, { idField: a, isTraditionalTypeOID: r } = D(e.layer), n =
|
|
751
|
+
const { layerFieldsInfo: s } = e, { idField: a, isTraditionalTypeOID: r } = D(e.layer), n = X(t), o = ae(t), c = Oe(t), l = _(t), y = r && (o.length === 0 || o.includes(a)), d = pe(c, i), x = y ? "" : o.map((h) => L(s ?? [], h)).join(", "), m = L(s ?? [], n), f = L(s ?? [], l), u = t.series.some((h) => C(h)), S = u ? "category" : "xAxisField", p = m;
|
|
750
752
|
let g = "";
|
|
751
753
|
if (he({
|
|
752
754
|
fieldName: n,
|
|
@@ -806,7 +808,7 @@ function Ne(t, e, i) {
|
|
|
806
808
|
}
|
|
807
809
|
return g;
|
|
808
810
|
}
|
|
809
|
-
const Ve = (t) =>
|
|
811
|
+
const Ve = (t) => Y({
|
|
810
812
|
where: t.query?.where,
|
|
811
813
|
normalize: !1,
|
|
812
814
|
escape: !1
|
|
@@ -835,7 +837,7 @@ const Ve = (t) => K({
|
|
|
835
837
|
// using series array address as key, since a change to the numeric fields will always rebuild a fresh series array
|
|
836
838
|
(t) => t?.series
|
|
837
839
|
);
|
|
838
|
-
function
|
|
840
|
+
function zt(t) {
|
|
839
841
|
const { numericFields: e, aggregationType: i, config: s, layerInfo: a } = t;
|
|
840
842
|
let r = !1;
|
|
841
843
|
i === T.Count ? r = !0 : i === T.NoAggregation && (r = e.every((c) => {
|
|
@@ -844,7 +846,7 @@ function Qt(t) {
|
|
|
844
846
|
})), ce(s, 1, r);
|
|
845
847
|
const n = s.series.some((c) => v(c)), o = s.series.some((c) => B(c));
|
|
846
848
|
if (n || o) {
|
|
847
|
-
const c =
|
|
849
|
+
const c = X(s), l = a.layerFieldsInfo.find((d) => d.name === c), y = l !== void 0 && oe(l);
|
|
848
850
|
ce(s, 0, y);
|
|
849
851
|
}
|
|
850
852
|
}
|
|
@@ -859,7 +861,7 @@ const Z = (t) => {
|
|
|
859
861
|
}
|
|
860
862
|
return e;
|
|
861
863
|
};
|
|
862
|
-
function
|
|
864
|
+
function Ht(t) {
|
|
863
865
|
const { xAxisField: e, numericFields: i, aggregationType: s, config: a, layerInfo: r, commonStrings: n } = t, { layerFieldsInfo: o } = r;
|
|
864
866
|
let c = !1;
|
|
865
867
|
const l = E({
|
|
@@ -952,7 +954,7 @@ function we(t) {
|
|
|
952
954
|
}
|
|
953
955
|
return a.series.length === 1 && l.length === 1 && !a.colorMatch && (C(a.series[0]) && C(l[0]) ? l[0].fillSymbol = a.series[0].fillSymbol : (v(a.series[0]) && v(l[0]) || B(a.series[0]) && B(l[0])) && (l[0].lineSymbol = a.series[0].lineSymbol, l[0].markerSymbol = a.series[0].markerSymbol), y = !0), a.colorMatch = !y, l;
|
|
954
956
|
}
|
|
955
|
-
async function
|
|
957
|
+
async function Gt(t) {
|
|
956
958
|
const { splitByField: e, xAxisField: i, numericFields: s, aggregationType: a, config: r, layerInfo: n, commonStrings: o } = t, { layer: c, layerFieldsInfo: l } = n, { fetchNullValues: y } = r?.series?.[0]?.query ?? {}, d = i !== j ? i : void 0, { categoriesArray: x, splitByFieldType: m, numericalField: f } = await Tt({
|
|
957
959
|
config: r,
|
|
958
960
|
layer: c,
|
|
@@ -997,10 +999,10 @@ async function Ht(t) {
|
|
|
997
999
|
fieldValueToMatch: g ?? "",
|
|
998
1000
|
subtypeInfo: ee(n.layer),
|
|
999
1001
|
fieldList: n.layerFieldsInfo
|
|
1000
|
-
}, Pe = te(qe),
|
|
1002
|
+
}, Pe = te(qe), Q = `${g}`, A = {
|
|
1001
1003
|
...V,
|
|
1002
|
-
id:
|
|
1003
|
-
name: Pe ??
|
|
1004
|
+
id: Q,
|
|
1005
|
+
name: Pe ?? Q,
|
|
1004
1006
|
y: h,
|
|
1005
1007
|
query: {
|
|
1006
1008
|
...V.query,
|
|
@@ -1017,19 +1019,19 @@ async function Ht(t) {
|
|
|
1017
1019
|
};
|
|
1018
1020
|
a === T.NoAggregation && (A.query !== void 0 && (delete A.query.outStatistics, delete A.query.groupByFieldsForStatistics), A.y = f);
|
|
1019
1021
|
const O = r.series.find(
|
|
1020
|
-
(De) => String(Ve(De)).trim().replace(/'/gu, "") ===
|
|
1022
|
+
(De) => String(Ve(De)).trim().replace(/'/gu, "") === Q
|
|
1021
1023
|
);
|
|
1022
1024
|
O !== void 0 && (r.colorMatch || (C(A) && C(O) ? A.fillSymbol = O.fillSymbol : (v(A) && v(O) || B(A) && B(O)) && (A.lineSymbol = O.lineSymbol, A.markerSymbol = O.markerSymbol), S = !0), A.id = O.id, A.name = O.name), u.push(A);
|
|
1023
1025
|
}
|
|
1024
1026
|
return r.colorMatch = !S, u;
|
|
1025
1027
|
}
|
|
1026
|
-
const
|
|
1027
|
-
const { xAxisField: e, splitByField: i, numericFields: s, aggregationType: a, config: r, layerInfo: n, commonStrings: o } = t, { layerFieldsInfo: c } = n ?? {}, l = Le(r), y =
|
|
1028
|
+
const Zs = async (t) => {
|
|
1029
|
+
const { xAxisField: e, splitByField: i, numericFields: s, aggregationType: a, config: r, layerInfo: n, commonStrings: o } = t, { layerFieldsInfo: c } = n ?? {}, l = Le(r), y = X(r), d = Jt(r, n, o), x = Zt(r, n, o), m = ei(r, n);
|
|
1028
1030
|
let f = ve(r);
|
|
1029
1031
|
const u = r.series.some((g) => C(g)), S = ht(r.series), p = Ft(r.series);
|
|
1030
1032
|
if (c !== void 0) {
|
|
1031
1033
|
const g = dt(c);
|
|
1032
|
-
!g.includes(y) && g.includes(e) ? f = ft() : g.includes(y) && !g.includes(e) && (u ? f =
|
|
1034
|
+
!g.includes(y) && g.includes(e) ? f = ft() : g.includes(y) && !g.includes(e) && (u ? f = G() : f = pt()), c.find((V) => V.name === e)?.type === xe.String && (f = G()), f !== void 0 && vt(r, o, f);
|
|
1033
1035
|
}
|
|
1034
1036
|
if (l === 0 && (r.series = [
|
|
1035
1037
|
E({ config: r, xAxisField: e, aggregationType: a, layerInfo: n, commonStrings: o })
|
|
@@ -1039,7 +1041,7 @@ const Hs = async (t) => {
|
|
|
1039
1041
|
fieldName: e,
|
|
1040
1042
|
numericFields: s,
|
|
1041
1043
|
fieldList: c
|
|
1042
|
-
}) ? r.series =
|
|
1044
|
+
}) ? r.series = Ht({
|
|
1043
1045
|
config: r,
|
|
1044
1046
|
layerInfo: n,
|
|
1045
1047
|
xAxisField: e,
|
|
@@ -1053,7 +1055,7 @@ const Hs = async (t) => {
|
|
|
1053
1055
|
numericFields: s,
|
|
1054
1056
|
aggregationType: a,
|
|
1055
1057
|
commonStrings: o
|
|
1056
|
-
}) : (await Promise.resolve(), r.series = await
|
|
1058
|
+
}) : (await Promise.resolve(), r.series = await Gt({
|
|
1057
1059
|
config: r,
|
|
1058
1060
|
layerInfo: n,
|
|
1059
1061
|
splitByField: i,
|
|
@@ -1075,15 +1077,15 @@ const Hs = async (t) => {
|
|
|
1075
1077
|
});
|
|
1076
1078
|
W(r, 1, g);
|
|
1077
1079
|
}
|
|
1078
|
-
if (r.title && d && (r.title.content.text = Ne(r, n, o)), F({ config: r, value: null, axisIndex: 1, isMax: !1 }), F({ config: r, value: null, axisIndex: 1, isMax: !0 }),
|
|
1080
|
+
if (r.title && d && (r.title.content.text = Ne(r, n, o)), F({ config: r, value: null, axisIndex: 1, isMax: !1 }), F({ config: r, value: null, axisIndex: 1, isMax: !0 }), zt({ numericFields: s, aggregationType: a, config: r, layerInfo: n }), S || p) {
|
|
1079
1081
|
F({ config: r, value: null, axisIndex: 0, isMax: !1 }), F({ config: r, value: null, axisIndex: 0, isMax: !0 }), Ce(0, r);
|
|
1080
|
-
const g = f?.type === P.DateAxisFormat ?
|
|
1081
|
-
|
|
1082
|
+
const g = f?.type === P.DateAxisFormat ? z.Null : z.Interpolate;
|
|
1083
|
+
Rt(g, r);
|
|
1082
1084
|
}
|
|
1083
|
-
},
|
|
1085
|
+
}, ea = (t) => {
|
|
1084
1086
|
const { config: e, seriesIndex: i, layerInfo: s, commonStrings: a } = t, r = e.series?.[i], n = _(e);
|
|
1085
1087
|
let o;
|
|
1086
|
-
if (
|
|
1088
|
+
if (K(e.series) === q.BarAndLineFromFields)
|
|
1087
1089
|
o = a.axisLabels.values;
|
|
1088
1090
|
else if (Ee(n)) {
|
|
1089
1091
|
const l = r.query?.outStatistics?.[0]?.onStatisticField;
|
|
@@ -1098,9 +1100,9 @@ const Hs = async (t) => {
|
|
|
1098
1100
|
o = te(y) ?? l;
|
|
1099
1101
|
}
|
|
1100
1102
|
return o ?? r.id;
|
|
1101
|
-
},
|
|
1103
|
+
}, ta = (t, e) => {
|
|
1102
1104
|
if (me(e))
|
|
1103
|
-
|
|
1105
|
+
Qt(t, e);
|
|
1104
1106
|
else {
|
|
1105
1107
|
e.orderOptions ??= {};
|
|
1106
1108
|
const i = e.orderOptions?.data?.orderType;
|
|
@@ -1109,8 +1111,8 @@ const Hs = async (t) => {
|
|
|
1109
1111
|
orderBy: [...t]
|
|
1110
1112
|
});
|
|
1111
1113
|
}
|
|
1112
|
-
},
|
|
1113
|
-
const i =
|
|
1114
|
+
}, ia = async (t, e) => {
|
|
1115
|
+
const i = X(t), s = ve(t)?.type, a = ae(t), r = K(t.series);
|
|
1114
1116
|
let n = [];
|
|
1115
1117
|
return s === P.CategoryAxisFormat && (r === q.BarAndLineFromFields || i === j ? n = a.map((o) => L(e?.layerFieldsInfo, o)) : i.trim() !== "" && i !== j && e !== void 0 && (n = await At({
|
|
1116
1118
|
layerInfo: e,
|
|
@@ -1119,7 +1121,7 @@ const Hs = async (t) => {
|
|
|
1119
1121
|
}))), n;
|
|
1120
1122
|
};
|
|
1121
1123
|
function Jt(t, e, i) {
|
|
1122
|
-
const s = Ne(t, e, i), a = Be(t), r =
|
|
1124
|
+
const s = Ne(t, e, i), a = Be(t), r = $(t);
|
|
1123
1125
|
return s === a || r;
|
|
1124
1126
|
}
|
|
1125
1127
|
function Zt(t, e, i) {
|
|
@@ -1129,29 +1131,29 @@ function Zt(t, e, i) {
|
|
|
1129
1131
|
commonStrings: i,
|
|
1130
1132
|
numericFields: ae(t),
|
|
1131
1133
|
aggregationType: Oe(t)
|
|
1132
|
-
}), a =
|
|
1134
|
+
}), a = k(1, t), r = $(t);
|
|
1133
1135
|
return s === a || r;
|
|
1134
1136
|
}
|
|
1135
1137
|
function ei(t, e) {
|
|
1136
|
-
const i = L(e.layerFieldsInfo,
|
|
1138
|
+
const i = L(e.layerFieldsInfo, X(t)), s = k(0, t), a = $(t);
|
|
1137
1139
|
return i === s || a;
|
|
1138
1140
|
}
|
|
1139
|
-
function
|
|
1141
|
+
function sa(t) {
|
|
1140
1142
|
return t.series[0]?.binTemporalData ?? !1;
|
|
1141
1143
|
}
|
|
1142
|
-
function
|
|
1144
|
+
function aa(t, e) {
|
|
1143
1145
|
e?.series.forEach((i) => {
|
|
1144
1146
|
(i?.type === P.BarSeries || i?.type === P.LineSeries) && (i.binTemporalData = t, t ? i.temporalBinning = {
|
|
1145
|
-
unit:
|
|
1147
|
+
unit: H.Day,
|
|
1146
1148
|
size: 0,
|
|
1147
|
-
timeAggregationType:
|
|
1149
|
+
timeAggregationType: Xe.Start,
|
|
1148
1150
|
trimIncompleteTimeInterval: !0,
|
|
1149
|
-
nullPolicy:
|
|
1151
|
+
nullPolicy: z.Null
|
|
1150
1152
|
} : delete i.temporalBinning);
|
|
1151
1153
|
});
|
|
1152
1154
|
}
|
|
1153
1155
|
export {
|
|
1154
|
-
|
|
1156
|
+
ve as $,
|
|
1155
1157
|
Ps as A,
|
|
1156
1158
|
qs as B,
|
|
1157
1159
|
vs as C,
|
|
@@ -1164,100 +1166,102 @@ export {
|
|
|
1164
1166
|
Cs as J,
|
|
1165
1167
|
Ns as K,
|
|
1166
1168
|
Is as L,
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
+
Xs as M,
|
|
1170
|
+
ks as N,
|
|
1169
1171
|
js as O,
|
|
1170
1172
|
Ws as P,
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
+
$s as Q,
|
|
1174
|
+
Rs as R,
|
|
1173
1175
|
_s as S,
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1176
|
+
Ys as T,
|
|
1177
|
+
Ks as U,
|
|
1178
|
+
Qs as V,
|
|
1179
|
+
zs as W,
|
|
1180
|
+
Hs as X,
|
|
1181
|
+
Gs as Y,
|
|
1182
|
+
Js as Z,
|
|
1183
|
+
qt as _,
|
|
1184
|
+
k as a,
|
|
1185
|
+
At as a0,
|
|
1186
|
+
vt as a1,
|
|
1187
|
+
Tt as a2,
|
|
1188
|
+
ce as a3,
|
|
1189
|
+
se as a4,
|
|
1190
|
+
wt as a5,
|
|
1191
|
+
xs as a6,
|
|
1192
|
+
ys as a7,
|
|
1193
|
+
zi as a8,
|
|
1194
|
+
Ji as a9,
|
|
1195
|
+
Hi as aA,
|
|
1196
|
+
Gi as aB,
|
|
1197
|
+
Mi as aC,
|
|
1198
|
+
Ui as aD,
|
|
1199
|
+
Ei as aE,
|
|
1200
|
+
Ri as aF,
|
|
1201
|
+
$i as aG,
|
|
1202
|
+
is as aH,
|
|
1203
|
+
ss as aI,
|
|
1204
|
+
as as aJ,
|
|
1205
|
+
rs as aK,
|
|
1206
|
+
ns as aL,
|
|
1207
|
+
os as aM,
|
|
1208
|
+
cs as aN,
|
|
1209
|
+
ds as aO,
|
|
1210
|
+
us as aP,
|
|
1211
|
+
Ts as aQ,
|
|
1212
|
+
bs as aR,
|
|
1213
|
+
Fs as aS,
|
|
1214
|
+
Ss as aT,
|
|
1215
|
+
hs as aU,
|
|
1216
|
+
Ie as aV,
|
|
1217
|
+
Zi as aa,
|
|
1218
|
+
es as ab,
|
|
1219
|
+
ts as ac,
|
|
1220
|
+
qi as ad,
|
|
1221
|
+
Pi as ae,
|
|
1222
|
+
Xi as af,
|
|
1223
|
+
ki as ag,
|
|
1224
|
+
ji as ah,
|
|
1225
|
+
Wi as ai,
|
|
1226
|
+
_i as aj,
|
|
1227
|
+
Yi as ak,
|
|
1228
|
+
Pt as al,
|
|
1229
|
+
Ce as am,
|
|
1230
|
+
Dt as an,
|
|
1231
|
+
gs as ao,
|
|
1232
|
+
Mt as ap,
|
|
1233
|
+
fs as aq,
|
|
1234
|
+
Ut as ar,
|
|
1235
|
+
ps as as,
|
|
1236
|
+
Et as at,
|
|
1237
|
+
Rt as au,
|
|
1238
|
+
ms as av,
|
|
1239
|
+
Di as aw,
|
|
1240
|
+
Ki as ax,
|
|
1241
|
+
Qi as ay,
|
|
1242
|
+
ls as az,
|
|
1239
1243
|
be as b,
|
|
1240
|
-
|
|
1244
|
+
ea as c,
|
|
1241
1245
|
wi as d,
|
|
1242
1246
|
Oi as e,
|
|
1243
1247
|
Z as f,
|
|
1244
1248
|
Be as g,
|
|
1245
|
-
|
|
1249
|
+
ia as h,
|
|
1246
1250
|
Vi as i,
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1251
|
+
ta as j,
|
|
1252
|
+
sa as k,
|
|
1253
|
+
aa as l,
|
|
1250
1254
|
Lt as m,
|
|
1251
1255
|
Oe as n,
|
|
1252
1256
|
_ as o,
|
|
1253
1257
|
ae as p,
|
|
1254
|
-
|
|
1258
|
+
Zs as q,
|
|
1255
1259
|
Ne as r,
|
|
1256
1260
|
F as s,
|
|
1257
|
-
|
|
1261
|
+
Yt as t,
|
|
1258
1262
|
W as u,
|
|
1259
1263
|
As as v,
|
|
1260
|
-
|
|
1264
|
+
Kt as w,
|
|
1261
1265
|
Vs as x,
|
|
1262
1266
|
ws as y,
|
|
1263
1267
|
Os as z
|