@arcgis/charts-components 5.0.0-next.24 → 5.0.0-next.26
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/23E4LPNS.js +4 -0
- package/dist/cdn/{VL3VPK6Z.js → 25HZOQTX.js} +2 -2
- package/dist/cdn/{5VLE3SJG.js → 27QGMPZD.js} +2 -2
- package/dist/cdn/{XNPV3IB3.js → 2AYISO5D.js} +2 -2
- package/dist/cdn/2BZ7PJIL.js +4 -0
- package/dist/cdn/{KTCLKKQV.js → 2JGAL4GB.js} +2 -2
- package/dist/cdn/2XGFJUCN.js +4 -0
- package/dist/cdn/{O2KI7OAN.js → 332M56GM.js} +2 -2
- package/dist/cdn/{2CIIM437.js → 33XHOU6V.js} +2 -2
- package/dist/cdn/3CVWC6SY.js +4 -0
- package/dist/cdn/{U5H3KFO7.js → 3F5JD26W.js} +2 -2
- package/dist/cdn/{Z34TFSAK.js → 3FVANFOS.js} +2 -2
- package/dist/cdn/3LACCDLK.js +4 -0
- package/dist/cdn/{HESTXB4W.js → 3QC256ST.js} +2 -2
- package/dist/cdn/3UUAWID3.js +4 -0
- package/dist/cdn/{DOAHYWSH.js → 4IFU7RPW.js} +1 -1
- package/dist/cdn/4IUBBOAD.js +4 -0
- package/dist/cdn/4RJCQGPF.js +4 -0
- package/dist/cdn/{C34F3MI2.js → 4UVPS7K2.js} +2 -2
- package/dist/cdn/{PTN6JMSD.js → 4VV5DORA.js} +1 -1
- package/dist/cdn/{KRNJ6725.js → 4WXELQMS.js} +2 -2
- package/dist/cdn/5BI5J562.js +4 -0
- package/dist/cdn/{S6OPXP57.js → 5DMDCDZ4.js} +2 -2
- package/dist/cdn/5GD5UNTI.js +4 -0
- package/dist/cdn/5OFRVFMT.js +4 -0
- package/dist/cdn/{TQHWGSEQ.js → 5RIWWNNT.js} +1 -1
- package/dist/cdn/{MUAY2ZFD.js → 5V6QTYNK.js} +2 -2
- package/dist/cdn/{BTVKBWYL.js → 66ZJOSHQ.js} +2 -2
- package/dist/cdn/{AQJMM6PQ.js → 6BM2V4O6.js} +2 -2
- package/dist/cdn/{R3FN2YWH.js → 6MYCPXRT.js} +2 -2
- package/dist/cdn/{TQU7G77A.js → 6NBVHVRM.js} +2 -2
- package/dist/cdn/72TRGWAJ.js +4 -0
- package/dist/cdn/7PIIXLVM.js +4 -0
- package/dist/cdn/{7KNB6BCT.js → 7TQI2CXA.js} +2 -2
- package/dist/cdn/7UNKPVH7.js +4 -0
- package/dist/cdn/{AORLOH4J.js → 7WM62IVH.js} +2 -2
- package/dist/cdn/{IGVADTNV.js → A54YJTLP.js} +2 -2
- package/dist/cdn/A7FU4JAL.js +4 -0
- package/dist/cdn/AGFVBD3L.js +4 -0
- package/dist/cdn/{6WWUZICV.js → AHGYW7G3.js} +2 -2
- package/dist/cdn/{LCPQLW4N.js → APOQ4Q3M.js} +2 -2
- package/dist/cdn/{7WL7JFUE.js → ARGYGBP3.js} +2 -2
- package/dist/cdn/AT4XALSL.js +4 -0
- package/dist/cdn/{YSMOM5ME.js → AVP4PQYR.js} +2 -2
- package/dist/cdn/{LRZ4KPRH.js → BE6W3PJV.js} +1 -1
- package/dist/cdn/{QX5L2GN7.js → BIJ3T3PI.js} +2 -2
- package/dist/cdn/BZNYXZNM.js +4 -0
- package/dist/cdn/CAX3OP3N.js +6 -0
- package/dist/cdn/{ZZWJPJT4.js → CFXELRNV.js} +2 -2
- package/dist/cdn/{RQRNMZRC.js → CHU3NFAE.js} +2 -2
- package/dist/cdn/{EK6GYHQW.js → CIL6JPAD.js} +2 -2
- package/dist/cdn/{CG5E2OSK.js → CIQO4U2E.js} +2 -2
- package/dist/cdn/{WZ5R2GBE.js → CMK5TGPQ.js} +1 -1
- package/dist/cdn/COEOU6CR.js +4 -0
- package/dist/cdn/{43ZMJSAY.js → CPWGBODJ.js} +2 -2
- package/dist/cdn/{XIBEFKZ6.js → D2VHVDGZ.js} +2 -2
- package/dist/cdn/D4GARF42.js +4 -0
- package/dist/cdn/{6Q3FTC6I.js → EAFL2KMZ.js} +2 -2
- package/dist/cdn/{QP6QF7TO.js → ECMVV33O.js} +2 -2
- package/dist/cdn/EG4TCGXY.js +4 -0
- package/dist/cdn/{7O5HNYLE.js → ERLGCTUZ.js} +2 -2
- package/dist/cdn/F3IPPQFJ.js +4 -0
- package/dist/cdn/FE6ZJ4SE.js +4 -0
- package/dist/cdn/{GKDC255O.js → FMOR2YIZ.js} +2 -2
- package/dist/cdn/{DFR5ASOW.js → FSP4NA4P.js} +2 -2
- package/dist/cdn/{DOZXKG5J.js → FUC6B4ZL.js} +2 -2
- package/dist/cdn/{52ZNPAKG.js → G4AJJHIJ.js} +2 -2
- package/dist/cdn/{2KYCZ6HY.js → G66J47YY.js} +2 -2
- package/dist/cdn/G6P7D6OB.js +4 -0
- package/dist/cdn/{AABHM5IU.js → GLLV62GT.js} +2 -2
- package/dist/cdn/{6GB7GIXA.js → GNNPQW7X.js} +2 -2
- package/dist/cdn/GRDK45K7.js +4 -0
- package/dist/cdn/{MVRWISV7.js → GZUKM3RJ.js} +2 -2
- package/dist/cdn/{6BOTXYP6.js → HDPWOBGA.js} +2 -2
- package/dist/cdn/{2Q33IXZB.js → HNCWQMEY.js} +2 -2
- package/dist/cdn/{SVATWD7C.js → HR2HAGGA.js} +1 -1
- package/dist/cdn/HRLNKZKN.js +4 -0
- package/dist/cdn/HRPZQQHK.js +4 -0
- package/dist/cdn/{IYX7JQCS.js → HZLS7COC.js} +2 -2
- package/dist/cdn/ID5FYKBD.js +4 -0
- package/dist/cdn/{RFUL7F6Q.js → IDCGW65V.js} +2 -2
- package/dist/cdn/{HFN33C3O.js → IEJWBUPO.js} +2 -2
- package/dist/cdn/{G5DQS6R3.js → IF3USOPD.js} +2 -2
- package/dist/cdn/{MWWXWMZ3.js → INEBJIXD.js} +2 -2
- package/dist/cdn/{OULDTBSA.js → IORITAUU.js} +2 -2
- package/dist/cdn/J52ECIR4.js +4 -0
- package/dist/cdn/{75ABSXHK.js → JJQJONWF.js} +2 -2
- package/dist/cdn/{2HIMITPJ.js → JRRAM4VD.js} +2 -2
- package/dist/cdn/JSMFOZIK.js +4 -0
- package/dist/cdn/{TB6LX2UK.js → KIE6RUUG.js} +2 -2
- package/dist/cdn/{AEQ4THFN.js → KRHGYAZ5.js} +2 -2
- package/dist/cdn/LDEQSESW.js +4 -0
- package/dist/cdn/{ZIYPW7CB.js → LIS5RHP6.js} +2 -2
- package/dist/cdn/{R6IXZQL2.js → LKFZBHST.js} +2 -2
- package/dist/cdn/LKLGRSBU.js +4 -0
- package/dist/cdn/{YDGDTK3Q.js → LP5NAXFX.js} +2 -2
- package/dist/cdn/{CS2SKG6L.js → LTANHXIT.js} +2 -2
- package/dist/cdn/LYQRTDG6.js +4 -0
- package/dist/cdn/M3DIZU2T.js +4 -0
- package/dist/cdn/M4DKVZJB.js +4 -0
- package/dist/cdn/M6JSF6QW.js +4 -0
- package/dist/cdn/{BF4ZUY4Z.js → MLREXGAU.js} +2 -2
- package/dist/cdn/{5LJLYRXP.js → MUY2UPBA.js} +2 -2
- package/dist/cdn/MXXI5QAL.js +4 -0
- package/dist/cdn/{YAFNWOUG.js → MZK5YAN5.js} +2 -2
- package/dist/cdn/{X627ILMN.js → N44FVY4K.js} +2 -2
- package/dist/cdn/{PDLU3IN5.js → NPSG3MVS.js} +2 -2
- package/dist/cdn/NZUIATMA.js +4 -0
- package/dist/cdn/{IHDBVR3V.js → O6WNFWDP.js} +2 -2
- package/dist/cdn/{M6I4GWPX.js → O7L4DJOG.js} +2 -2
- package/dist/cdn/{66Z7CGSI.js → ODHMJ6DI.js} +2 -2
- package/dist/cdn/{YY5YAH4F.js → OH3YMTUV.js} +2 -2
- package/dist/cdn/{6P554JVC.js → OJ3PFH74.js} +2 -2
- package/dist/cdn/{XJQ267Y6.js → OOH6HKRF.js} +2 -2
- package/dist/cdn/{HXKLCDWF.js → OSVO2GWO.js} +2 -2
- package/dist/cdn/OTRV6XPO.js +4 -0
- package/dist/cdn/{AAB5CYMF.js → PBYCQZQD.js} +2 -2
- package/dist/cdn/PQRMDCCV.js +4 -0
- package/dist/cdn/QHIIX4PM.js +4 -0
- package/dist/cdn/QHXRP7HS.js +4 -0
- package/dist/cdn/{7BUM6BJN.js → QLFEKZEG.js} +2 -2
- package/dist/cdn/QLL2MCOY.js +4 -0
- package/dist/cdn/QNAIF4X5.js +4 -0
- package/dist/cdn/{WWMV6AFN.js → QQLQ6ZSH.js} +2 -2
- package/dist/cdn/{5CTQIA4D.js → R5A6TIHX.js} +2 -2
- package/dist/cdn/{3E6Q52LF.js → RHGTW7GR.js} +2 -2
- package/dist/cdn/{IRH6JXTV.js → RM3EKBV5.js} +2 -2
- package/dist/cdn/{LH7JXFZV.js → RU4L3NLV.js} +2 -2
- package/dist/cdn/{5MSKZ3X6.js → SHRU5LBD.js} +2 -2
- package/dist/cdn/SQ3ZQJNR.js +4 -0
- package/dist/cdn/SRX4G4EV.js +4 -0
- package/dist/cdn/T2XT7YWS.js +4 -0
- package/dist/cdn/TEIFE3LY.js +4 -0
- package/dist/cdn/TEUPQUIC.js +4 -0
- package/dist/cdn/TLSMKDSF.js +4 -0
- package/dist/cdn/{3XTDYZCX.js → TSWPQA7S.js} +2 -2
- package/dist/cdn/{NZOTAYYG.js → UDVKYV4G.js} +2 -2
- package/dist/cdn/{LKQS4G43.js → UFEI5KTV.js} +1 -1
- package/dist/cdn/UJJYRPTS.js +42 -0
- package/dist/cdn/{MAZJEBZX.js → UU3QURAQ.js} +2 -2
- package/dist/cdn/{K2TRHPCU.js → UU53DFSK.js} +2 -2
- package/dist/cdn/UYXJZG6X.js +4 -0
- package/dist/cdn/{5WQDNSG6.js → V665L64E.js} +2 -2
- package/dist/cdn/{HIKMPMPH.js → V7LDKI6D.js} +2 -2
- package/dist/cdn/{F2NR3K6J.js → VCTPWHDP.js} +2 -2
- package/dist/cdn/{24UUJDMB.js → VNPJ2C6V.js} +2 -2
- package/dist/cdn/{EJY7M4TB.js → VQ3OIY6U.js} +2 -2
- package/dist/cdn/{54LTRZAM.js → VVOMA2WC.js} +2 -2
- package/dist/cdn/VX6K556G.js +4 -0
- package/dist/cdn/{JE2VQESS.js → VYQENGG3.js} +2 -2
- package/dist/cdn/{JGVJ4QZU.js → VYQSBNTL.js} +2 -2
- package/dist/cdn/W3ZI3QI3.js +4 -0
- package/dist/cdn/W7JLOWCH.js +4 -0
- package/dist/cdn/WHA6AQOY.js +4 -0
- package/dist/cdn/{56MT7MME.js → WHNERWHH.js} +2 -2
- package/dist/cdn/WI7XQQGQ.js +4 -0
- package/dist/cdn/WR374TXI.js +4 -0
- package/dist/cdn/WWXPQGWV.js +4 -0
- package/dist/cdn/X6KPBMU7.js +4 -0
- package/dist/cdn/{3PWK2OEA.js → X722FXZQ.js} +2 -2
- package/dist/cdn/{UOUSF765.js → XANF6KUE.js} +2 -2
- package/dist/cdn/{YUK4R65L.js → XEDCOUTO.js} +2 -2
- package/dist/cdn/{J5WOV4L5.js → XL2GH5BU.js} +1 -1
- package/dist/cdn/{CBPCNXVK.js → Y6JXL6SB.js} +2 -2
- package/dist/cdn/{3ZMUG5W5.js → YCXFNCSZ.js} +1 -1
- package/dist/cdn/YD6CJ5QA.js +4 -0
- package/dist/cdn/YEE4VNND.js +4 -0
- package/dist/cdn/{BHQ2JJ5Y.js → YFCB2747.js} +36 -36
- package/dist/cdn/YO7F2HQT.js +4 -0
- package/dist/cdn/{7SUFZGMR.js → YVT4P5ZR.js} +2 -2
- package/dist/cdn/YYYQTEW4.js +4 -0
- package/dist/cdn/{22LMNVZ2.js → Z26J7TTK.js} +2 -2
- package/dist/cdn/Z3QXHCIS.js +4 -0
- package/dist/cdn/{PXYBVARC.js → ZCABV6MS.js} +2 -2
- package/dist/cdn/{53YQYJVG.js → ZHXREOWX.js} +2 -2
- package/dist/cdn/{R6JYMGAL.js → ZLSOT6XB.js} +2 -2
- package/dist/cdn/{V7W7DXLH.js → ZUKKXIVM.js} +2 -2
- package/dist/cdn/{CYZUI6RX.js → ZVENXLPI.js} +2 -2
- package/dist/cdn/{D625Q6AO.js → ZWNHR5CT.js} +2 -2
- package/dist/cdn/{AVZCQNM7.js → ZZN2FND3.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/chart-rendering/common/config-utils/index.d.ts +2 -104
- package/dist/chart-rendering/common/data/index.d.ts +3 -2
- package/dist/chart-rendering/common/data/utils/misc/index.d.ts +2 -157
- package/dist/chart-rendering/common/data/utils/summarize-data/interfaces.d.ts +4 -1
- package/dist/chart-rendering/common/data/utils/summarize-data/time-binning/index.d.ts +2 -2
- package/dist/chart-rendering/common/defaults/interfaces.d.ts +2 -1
- package/dist/chart-rendering/common/events/index.d.ts +0 -2
- package/dist/chart-rendering/common/interfaces.d.ts +12 -3
- package/dist/chart-rendering/common/loading-indicator/index.d.ts +4 -0
- package/dist/chart-rendering/common/memory-storage/interfaces.d.ts +1 -2
- package/dist/chart-rendering/next/chart-library-elements/loading-indicator/index.d.ts +1 -1
- package/dist/chart-rendering/next/chart-library-elements/loading-indicator/interfaces.d.ts +0 -4
- package/dist/chart-rendering/next/chart-library-elements/series/bar-chart/index.d.ts +1 -1
- package/dist/chart-rendering/next/chart-library-elements/series/index.d.ts +1 -1
- package/dist/chart-rendering/next/chart-library-elements/series/interfaces.d.ts +1 -1
- package/dist/chart-rendering/next/chart-library-elements/series/utils/index.d.ts +3 -4
- package/dist/chart-rendering/next/index.d.ts +1 -1
- package/dist/chart-rendering/next/utils/index.d.ts +1 -7
- package/dist/chart-rendering/stable/chart-library-elements/loading-indicator/index.d.ts +2 -1
- package/dist/chart-rendering/stable/chart-library-elements/loading-indicator/interfaces.d.ts +0 -4
- package/dist/chart-rendering/stable/chart-library-elements/series/histogram/interfaces.d.ts +1 -1
- package/dist/chart-rendering/stable/chart-library-elements/series/interfaces.d.ts +1 -1
- package/dist/chart-rendering/stable/chart-library-elements/series/pie-chart/index.d.ts +1 -1
- package/dist/chart-rendering/stable/chart-library-elements/series/scatter-plot/interfaces.d.ts +1 -1
- package/dist/chart-rendering/stable/index.d.ts +3 -1
- package/dist/chart-rendering/stable/interfaces.d.ts +2 -1
- package/dist/chart-rendering/stable/utils/misc/index.d.ts +2 -8
- package/dist/chunks/action-bar-utils.js +12 -13
- package/dist/chunks/axis-model-wrapper.js +1 -1
- package/dist/chunks/bar-chart-model.js +22 -13
- package/dist/chunks/bar-chart-series.js +21 -12
- package/dist/chunks/baseline-stacking.js +49 -40
- package/dist/chunks/bg_BG.js +1 -1
- package/dist/chunks/bg_BG2.js +1 -1
- package/dist/chunks/box-plot-data.js +78 -70
- package/dist/chunks/box-plot-model.js +29 -21
- package/dist/chunks/chart-ui-utils.js +1 -1
- package/dist/chunks/chart-ui-utils2.js +58 -50
- package/dist/chunks/combo-bar-line-chart-model.js +22 -13
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/config-update.js +147 -5391
- package/dist/chunks/data.js +2 -2
- package/dist/chunks/default.js +1 -1
- package/dist/chunks/gauge-model.js +33 -25
- package/dist/chunks/heat-chart-model.js +38 -30
- package/dist/chunks/histogram-data.js +55 -47
- package/dist/chunks/histogram-model.js +19 -11
- package/dist/chunks/index.js +27652 -596
- package/dist/chunks/index2.js +670 -36
- package/dist/chunks/index3.js +90 -63
- package/dist/chunks/index4.js +62 -91
- package/dist/chunks/interfaces.js +90 -21887
- package/dist/chunks/line-chart-model.js +19 -11
- package/dist/chunks/model-with-baseline-stacking.js +1 -1
- package/dist/chunks/model-with-data-labels.js +30 -21
- package/dist/chunks/model-with-multi-axes.js +19 -11
- package/dist/chunks/model-with-rotation.js +14 -5
- package/dist/chunks/pie-chart-data.js +45 -37
- package/dist/chunks/pie-chart-model.js +72 -64
- package/dist/chunks/popover-ui-utils.js +1 -1
- package/dist/chunks/radar-chart-model.js +18 -10
- 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 +44 -36
- package/dist/chunks/{data2.js → serial-chart-data.js} +283 -278
- package/dist/chunks/serial-chart-model.js +44 -35
- package/dist/chunks/series-types.js +1 -1
- package/dist/chunks/series.js +18 -9
- 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 +195 -183
- package/dist/components/arcgis-chart/customElement.d.ts +1 -1
- package/dist/components/arcgis-chart/customElement.js +6791 -6791
- package/dist/components/arcgis-charts-action-bar/customElement.js +16 -8
- 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 +38 -29
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +22 -23
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +29 -22
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +20 -12
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +17 -8
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +19 -10
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +47 -38
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +22 -15
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +12 -3
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +18 -9
- package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +18 -9
- 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 +43 -36
- package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-font-style/customElement.js +19 -10
- package/dist/components/arcgis-charts-config-format/customElement.js +33 -24
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +12 -3
- package/dist/components/arcgis-charts-config-general/customElement.js +15 -6
- package/dist/components/arcgis-charts-config-guide/customElement.js +29 -30
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +16 -7
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +20 -11
- package/dist/components/arcgis-charts-config-histogram/customElement.js +14 -5
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +22 -13
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +13 -4
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +24 -15
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +13 -4
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +13 -4
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +35 -26
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +12 -3
- 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 +30 -21
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +13 -4
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +38 -29
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +27 -18
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +12 -3
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +33 -24
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +26 -17
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +13 -4
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +16 -7
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +19 -10
- package/dist/docs/api.json +3 -3
- package/dist/docs/docs.json +5 -5
- package/dist/docs/web-types.json +2 -2
- package/dist/index.js +424 -407
- package/dist/loader.js +1 -1
- package/dist/model.js +1 -1
- package/dist/utils/chart-config/utils/index.d.ts +255 -3
- package/dist/utils/components/config-update.d.ts +19 -14
- package/dist/utils/components/data-update.d.ts +33 -0
- package/dist/utils/components/web-component-utils.d.ts +8 -2
- package/dist/utils/data/interfaces.d.ts +30 -2
- package/dist/utils/data/time-binning/interfaces.d.ts +0 -4
- package/dist/utils/defaults/index.d.ts +1 -1
- package/dist/utils/layer/index.d.ts +6 -11
- package/dist/utils/layer/query-features/index.d.ts +2 -2
- package/package.json +3 -3
- package/dist/cdn/2HCJFTCX.js +0 -4
- package/dist/cdn/2W3SVPRK.js +0 -4
- package/dist/cdn/34BE47CG.js +0 -4
- package/dist/cdn/3FAXGDQG.js +0 -4
- package/dist/cdn/4AHQ5SXI.js +0 -4
- package/dist/cdn/4K5H4IIC.js +0 -4
- package/dist/cdn/4UHZZJIJ.js +0 -4
- package/dist/cdn/4Y2HJNTD.js +0 -4
- package/dist/cdn/57DL54HK.js +0 -4
- package/dist/cdn/5O2H4A2X.js +0 -4
- package/dist/cdn/6RBVOBYK.js +0 -4
- package/dist/cdn/74FN5PHE.js +0 -4
- package/dist/cdn/A5SLMYH4.js +0 -4
- package/dist/cdn/ARYJXNZY.js +0 -4
- package/dist/cdn/AWWCMSB6.js +0 -4
- package/dist/cdn/BILZPN5Z.js +0 -4
- package/dist/cdn/C3SO6A2I.js +0 -4
- package/dist/cdn/C4OP6FL2.js +0 -4
- package/dist/cdn/CE4OHHT6.js +0 -4
- package/dist/cdn/CIQUCT5V.js +0 -4
- package/dist/cdn/CIZIXCQI.js +0 -4
- package/dist/cdn/DAKQGQTK.js +0 -4
- package/dist/cdn/DTVDB7XR.js +0 -4
- package/dist/cdn/E3OU73RM.js +0 -4
- package/dist/cdn/ERTDHAQ2.js +0 -4
- package/dist/cdn/F6TI5VZ3.js +0 -4
- package/dist/cdn/FPJNPTR2.js +0 -4
- package/dist/cdn/G4ODLV5V.js +0 -4
- package/dist/cdn/GGXAEV4J.js +0 -4
- package/dist/cdn/GLISPNPO.js +0 -4
- package/dist/cdn/GU56O5YZ.js +0 -4
- package/dist/cdn/HPDUVIFG.js +0 -4
- package/dist/cdn/IHRUJZ4V.js +0 -42
- package/dist/cdn/IRTPBRMM.js +0 -4
- package/dist/cdn/IVAD3MLP.js +0 -4
- package/dist/cdn/JC2TOH2N.js +0 -4
- package/dist/cdn/KCATM5A6.js +0 -4
- package/dist/cdn/KMIQYYPD.js +0 -4
- package/dist/cdn/KQNCBAFR.js +0 -4
- package/dist/cdn/KRQU2VVH.js +0 -4
- package/dist/cdn/LCABMHS3.js +0 -4
- package/dist/cdn/LNABTX6W.js +0 -4
- package/dist/cdn/LZYHEE3A.js +0 -6
- package/dist/cdn/MOOH4R4I.js +0 -4
- package/dist/cdn/MTH4ZJMT.js +0 -4
- package/dist/cdn/MWFMMCZ2.js +0 -4
- package/dist/cdn/N42ZTZTN.js +0 -4
- package/dist/cdn/NPZM43GJ.js +0 -4
- package/dist/cdn/ODBKMQU5.js +0 -4
- package/dist/cdn/OH354KS5.js +0 -4
- package/dist/cdn/OWC76L4E.js +0 -4
- package/dist/cdn/P4FOVDOK.js +0 -4
- package/dist/cdn/P4SZVGSI.js +0 -4
- package/dist/cdn/PSIFLLVB.js +0 -4
- package/dist/cdn/RAAUIA77.js +0 -4
- package/dist/cdn/RVUCITO5.js +0 -4
- package/dist/cdn/SEQG6AC3.js +0 -4
- package/dist/cdn/TPD4XFBX.js +0 -4
- package/dist/cdn/TRWXADFK.js +0 -4
- package/dist/cdn/VLN7GOTE.js +0 -4
- package/dist/cdn/VSSRAQAB.js +0 -4
- package/dist/cdn/VTMJJADU.js +0 -4
- package/dist/cdn/W4LTEWOO.js +0 -4
- package/dist/cdn/WZV3KQDI.js +0 -4
- package/dist/cdn/XHLDGKPF.js +0 -4
- package/dist/cdn/YF3F3EB5.js +0 -4
- package/dist/cdn/YNXFAFRS.js +0 -4
- package/dist/cdn/Z5IFN4LC.js +0 -4
- package/dist/cdn/ZZR7VDLV.js +0 -4
- package/dist/chart-rendering/common/data/utils/misc/interfaces.d.ts +0 -30
- package/dist/chunks/index5.js +0 -66
- package/dist/chunks/interfaces2.js +0 -18
- package/dist/chunks/interfaces3.js +0 -96
- package/dist/chunks/interfaces4.js +0 -491
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import { substitute as V } from "@arcgis/core/intl.js";
|
|
2
|
-
import { cloneDeep as R, memoize as le, isEmpty as he } from "lodash-es";
|
|
3
|
-
import { e as ve, a as I, u as Ie, W as O, g as U, t as k, m as $, n as Be, i as z } from "./series-types.js";
|
|
4
|
-
import { a as re, R as Ce } from "./rest-js-object-literals.js";
|
|
5
|
-
import { ae as Y, ce as Le, aX as oe, ci as D, ac as B, aa as C, b5 as h, aw as Ne, ad as Ve, r as L, bh as De, bK as ne, bi as Z, bj as _, cm as Oe, l as G, cA as qe, p as Q, cC as E, m as we, b as K, bg as Me, x as H, az as ke, aA as je, aC as Pe, bf as ie, af as Ue, ag as Ee } from "./interfaces.js";
|
|
6
1
|
import "@arcgis/toolkit/intl";
|
|
2
|
+
import { cloneDeep as R, memoize as le, isEmpty as he } from "lodash-es";
|
|
3
|
+
import { g as U, e as ve, a as I, u as Ie, W as O, t as k, m as $, n as Be, i as z } from "./series-types.js";
|
|
7
4
|
import "d3-array";
|
|
5
|
+
import { bE as Ce, c5 as re, bF as Z, aa as oe, bG as G, cR as Le, l as _, d3 as Ne, aB as Y, cJ as Ve, bi as ne, cN as D, az as B, ax as C, bs as h, aT as De, aA as Oe, r as L, p as J, d5 as E, m as qe, b as X, bD as we, S as Q, aW as Me, aX as ke, aZ as je, bC as ie, aC as Pe, aD as Ue } from "./index.js";
|
|
8
6
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
9
7
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
10
8
|
import "@arcgis/core/rest/support/Query.js";
|
|
@@ -13,14 +11,105 @@ import "@arcgis/core/time/TimeExtent.js";
|
|
|
13
11
|
import "@arcgis/core/core/promiseUtils.js";
|
|
14
12
|
import "@arcgis/core/request.js";
|
|
15
13
|
import "./runtime.js";
|
|
16
|
-
import { q as Ke, l as v, n as Xe, o as Re, j as T, k as A } from "./index4.js";
|
|
17
14
|
import "@arcgis/toolkit/dom";
|
|
15
|
+
import { substitute as V } from "@arcgis/core/intl.js";
|
|
16
|
+
import { a as ce, R as Ee } from "./rest-js-object-literals.js";
|
|
17
|
+
import { q as Xe, l as v, n as Ke, o as Re, j as T, k as A } from "./index3.js";
|
|
18
18
|
import { S as w } from "./common.js";
|
|
19
|
-
import
|
|
20
|
-
import
|
|
19
|
+
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
20
|
+
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
21
|
+
import "@arcgis/core/Graphic.js";
|
|
22
|
+
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
23
|
+
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
24
|
+
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
25
|
+
import "simple-statistics";
|
|
26
|
+
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
27
|
+
import { a as P, s as de, g as H } from "./data.js";
|
|
21
28
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
22
29
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
23
|
-
v5.0.0-next.
|
|
30
|
+
v5.0.0-next.26 */
|
|
31
|
+
async function We(t) {
|
|
32
|
+
const { config: e, layer: i, xAxisField: s, splitByField: a, layerFieldsInfo: l, aggregationFields: r, fetchNullValues: c } = t, n = l.filter((f) => f.name === a)[0]?.type, x = c !== !0 ? `${a} IS NOT NULL` : "", d = s && c !== !0 ? `${s} IS NOT NULL` : "", { where: p } = e?.dataFilters ?? {}, m = {
|
|
33
|
+
where: re([p, x, d]),
|
|
34
|
+
// excluding the null values from the list
|
|
35
|
+
orderByFields: Le(a) ? [] : [`${a} ${U.Ascending}`],
|
|
36
|
+
// default sorting ascending for split-by field
|
|
37
|
+
geometry: e?.dataFilters?.geometry
|
|
38
|
+
}, g = i;
|
|
39
|
+
let u = "";
|
|
40
|
+
r.length === 0 ? u = g?.objectIdField ?? "" : [u] = r;
|
|
41
|
+
let S = await oe({
|
|
42
|
+
queryObject: g,
|
|
43
|
+
category: e?.series[0].x ?? "",
|
|
44
|
+
splitByField: a,
|
|
45
|
+
queryConfig: m
|
|
46
|
+
});
|
|
47
|
+
if (e) {
|
|
48
|
+
const f = e?.series.map((o) => _({ where: o.query?.where })?.toString() ?? "").filter((o) => o !== void 0 && o !== "");
|
|
49
|
+
S = Ne({
|
|
50
|
+
arrayA: S,
|
|
51
|
+
arrayB: f,
|
|
52
|
+
getKey: (o) => o === null ? null : o?.toString()
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
return { categoriesArray: S, splitByFieldType: n, numericalField: u };
|
|
56
|
+
}
|
|
57
|
+
function Ut(t, e) {
|
|
58
|
+
let i = e === "";
|
|
59
|
+
for (const s of t)
|
|
60
|
+
if (e === s.name) {
|
|
61
|
+
i = !0;
|
|
62
|
+
break;
|
|
63
|
+
}
|
|
64
|
+
return i;
|
|
65
|
+
}
|
|
66
|
+
function Et(t, e) {
|
|
67
|
+
const i = Ce(t);
|
|
68
|
+
let s = e.length === 0, a = 0;
|
|
69
|
+
for (const l of e) {
|
|
70
|
+
for (const r of i)
|
|
71
|
+
if (l === r && (a += 1), a === e.length) {
|
|
72
|
+
s = !0;
|
|
73
|
+
break;
|
|
74
|
+
}
|
|
75
|
+
if (s)
|
|
76
|
+
break;
|
|
77
|
+
}
|
|
78
|
+
return s;
|
|
79
|
+
}
|
|
80
|
+
function Xt(t, e) {
|
|
81
|
+
e.forEach((i) => {
|
|
82
|
+
Object.getOwnPropertyNames(i.prototype).forEach((s) => {
|
|
83
|
+
Object.defineProperty(
|
|
84
|
+
t.prototype,
|
|
85
|
+
s,
|
|
86
|
+
Object.getOwnPropertyDescriptor(i.prototype, s) || /* @__PURE__ */ Object.create(null)
|
|
87
|
+
);
|
|
88
|
+
});
|
|
89
|
+
});
|
|
90
|
+
}
|
|
91
|
+
async function $e(t) {
|
|
92
|
+
const { layerInfo: e, config: i, category: s } = t, { layer: a } = e, { where: l } = i?.dataFilters ?? {}, { fetchNullValues: r } = i?.series?.[0]?.query ?? {}, c = r !== !0 ? `${s} IS NOT NULL` : "", y = {
|
|
93
|
+
where: re([l, c]),
|
|
94
|
+
// excluding the null values from the list
|
|
95
|
+
orderByFields: [],
|
|
96
|
+
geometry: i?.dataFilters?.geometry
|
|
97
|
+
}, n = Z(a);
|
|
98
|
+
return (
|
|
99
|
+
// fetch unique category values asynchronously
|
|
100
|
+
(await oe({ queryObject: a, category: s, queryConfig: y })).map((d) => {
|
|
101
|
+
const p = String(d);
|
|
102
|
+
return G({
|
|
103
|
+
fieldName: s,
|
|
104
|
+
fieldValueToMatch: p,
|
|
105
|
+
subtypeInfo: n,
|
|
106
|
+
// use the retrieved subtype information
|
|
107
|
+
fieldList: e.layerFieldsInfo
|
|
108
|
+
// list of field information from the layer
|
|
109
|
+
}) ?? p;
|
|
110
|
+
})
|
|
111
|
+
);
|
|
112
|
+
}
|
|
24
113
|
function se(t, e, i) {
|
|
25
114
|
const s = t?.axes?.[e];
|
|
26
115
|
s?.title !== void 0 ? s.title.content.text = i : s !== void 0 && (s.title = B({
|
|
@@ -33,10 +122,10 @@ function ue(t) {
|
|
|
33
122
|
const { config: e, layerInfo: i, commonStrings: s, numericFields: a, aggregationType: l } = t;
|
|
34
123
|
let r = "";
|
|
35
124
|
if (e)
|
|
36
|
-
if (
|
|
125
|
+
if (Ve(e) === ve.Stacked100)
|
|
37
126
|
r = s.utilsStrings.statistics.percent;
|
|
38
127
|
else {
|
|
39
|
-
const y =
|
|
128
|
+
const y = ne(l, s);
|
|
40
129
|
if (a.length === 1) {
|
|
41
130
|
const n = D(i.layerFieldsInfo, a[0]);
|
|
42
131
|
l === I.NoAggregation ? r = n : l === I.Count && a[0] === i.objectIdField ? r = s.utilsStrings.statistics.count : r = V(s.axisLabels.aggregationOfFieldName, {
|
|
@@ -49,19 +138,19 @@ function ue(t) {
|
|
|
49
138
|
}
|
|
50
139
|
return r;
|
|
51
140
|
}
|
|
52
|
-
const ye = (t, e, i) => t.axes?.[e] ??
|
|
141
|
+
const ye = (t, e, i) => t.axes?.[e] ?? De(i, t.type)[e], ge = (t) => {
|
|
53
142
|
const { config: e, axis: i, axisIndex: s } = t;
|
|
54
143
|
e.axes !== void 0 && (e.axes[s] = i);
|
|
55
|
-
},
|
|
144
|
+
}, Kt = (t) => {
|
|
56
145
|
const { config: e, axisIndex: i, isMax: s } = t;
|
|
57
146
|
let a = Number.NaN;
|
|
58
147
|
return s ? a = e.axes?.[i]?.maximum : a = e.axes?.[i]?.minimum, a ?? Number.NaN;
|
|
59
148
|
}, b = (t) => {
|
|
60
149
|
const { config: e, value: i, axisIndex: s, isMax: a } = t, l = e?.axes?.[s];
|
|
61
150
|
l !== void 0 && (a ? l.maximum = i : l.minimum = i);
|
|
62
|
-
},
|
|
151
|
+
}, Rt = (t, e) => {
|
|
63
152
|
b({ config: t, value: e, axisIndex: 0, isMax: !1 });
|
|
64
|
-
}, fe = (t) => t.axes?.[0]?.valueFormat ?? Y(),
|
|
153
|
+
}, fe = (t) => t.axes?.[0]?.valueFormat ?? Y(), ze = (t, e, i) => {
|
|
65
154
|
const s = ye(t, 0, e);
|
|
66
155
|
if (s !== void 0 && i !== void 0) {
|
|
67
156
|
const a = {
|
|
@@ -73,21 +162,21 @@ const ye = (t, e, i) => t.axes?.[e] ?? Ne(i, t.type)[e], ge = (t) => {
|
|
|
73
162
|
}, ae = (t, e, i) => {
|
|
74
163
|
const s = t.axes?.[e];
|
|
75
164
|
s !== void 0 && (s.integerOnlyValues = i);
|
|
76
|
-
},
|
|
165
|
+
}, Ye = (t) => {
|
|
77
166
|
const e = Ie(t.series);
|
|
78
167
|
return e === O.BarSeries || e === O.ComboLineAndBarSeries || e === O.LineSeries;
|
|
79
|
-
},
|
|
168
|
+
}, Ze = (t) => {
|
|
80
169
|
const { axisIndex: e, config: i, isMultiAxis: s } = t;
|
|
81
170
|
let a = !1;
|
|
82
|
-
return e === 0 || e === 1 && s ? a = !0 : e === 2 && (a =
|
|
83
|
-
},
|
|
171
|
+
return e === 0 || e === 1 && s ? a = !0 : e === 2 && (a = Ye(i)), a;
|
|
172
|
+
}, Wt = (t) => {
|
|
84
173
|
const { axisIndex: e, func: i, config: s } = t;
|
|
85
|
-
return
|
|
86
|
-
},
|
|
174
|
+
return Ze({ axisIndex: e, config: s, isMultiAxis: !0 }) ? i(e) : void 0;
|
|
175
|
+
}, $t = (t, e) => {
|
|
87
176
|
let i;
|
|
88
177
|
const s = e.axes?.[t]?.valueFormat;
|
|
89
|
-
return (t === 0 || t >= 1 &&
|
|
90
|
-
},
|
|
178
|
+
return (t === 0 || t >= 1 && Xe(s)) && (i = s), i;
|
|
179
|
+
}, zt = (t) => {
|
|
91
180
|
const { config: e, commonStrings: i, valueFormat: s, axisIndex: a = 0 } = t, l = ye(e, a, i);
|
|
92
181
|
if (l !== void 0 && s !== void 0) {
|
|
93
182
|
const r = {
|
|
@@ -100,51 +189,51 @@ const ye = (t, e, i) => t.axes?.[e] ?? Ne(i, t.type)[e], ge = (t) => {
|
|
|
100
189
|
axisIndex: a
|
|
101
190
|
});
|
|
102
191
|
}
|
|
103
|
-
},
|
|
192
|
+
}, Yt = (t, e) => t.axes?.[e]?.isLogarithmic ?? !1, Zt = (t) => {
|
|
104
193
|
const { config: e, isLogarithmic: i, axisIndex: s } = t, a = e.axes?.[s];
|
|
105
194
|
a && (a.isLogarithmic = i, b({ config: e, value: null, axisIndex: s, isMax: !0 }), b({ config: e, value: null, axisIndex: s, isMax: !1 }));
|
|
106
|
-
},
|
|
195
|
+
}, Gt = (t) => {
|
|
107
196
|
const { config: e, scrollbar: i, axisIndex: s } = t;
|
|
108
197
|
e.axes?.[s] !== void 0 && (e.axes[s].scrollbar = i);
|
|
109
|
-
},
|
|
198
|
+
}, _t = (t) => t.version, Ge = (t) => t.title?.content.text ?? "", Jt = (t, e) => {
|
|
110
199
|
e.title !== void 0 ? e.title.content.text = t : e.title === void 0 && t !== void 0 && (e.title = B({
|
|
111
200
|
text: t,
|
|
112
201
|
visible: !0,
|
|
113
202
|
font: C(h.ChartTitle)
|
|
114
203
|
}));
|
|
115
|
-
},
|
|
204
|
+
}, Qt = (t) => t.subtitle?.content.text ?? "", Ht = (t, e) => {
|
|
116
205
|
e.subtitle !== void 0 ? e.subtitle.content.text = t : e.subtitle === void 0 && t !== void 0 && (e.subtitle = B({
|
|
117
206
|
text: t,
|
|
118
207
|
visible: !0,
|
|
119
208
|
font: C(h.ChartSubtitle)
|
|
120
209
|
}));
|
|
121
|
-
},
|
|
210
|
+
}, ei = (t) => t.footer?.content.text ?? "", ti = (t, e) => {
|
|
122
211
|
e.footer !== void 0 ? e.footer.content.text = t : e.footer === void 0 && t !== void 0 && (e.footer = B({
|
|
123
212
|
text: t,
|
|
124
213
|
visible: !0,
|
|
125
214
|
font: C(h.DescriptionText)
|
|
126
215
|
}));
|
|
127
|
-
},
|
|
216
|
+
}, ii = (t) => t.title ? t.title.visible ?? !0 : !1, si = (t, e) => {
|
|
128
217
|
e.title !== void 0 ? e.title.visible = t : e.title === void 0 && (e.title = B({
|
|
129
218
|
text: "",
|
|
130
219
|
visible: t,
|
|
131
220
|
font: C(h.ChartTitle)
|
|
132
221
|
}));
|
|
133
|
-
},
|
|
222
|
+
}, ai = (t) => t.subtitle ? t.subtitle.visible ?? !0 : !1, li = (t, e) => {
|
|
134
223
|
e.subtitle !== void 0 ? e.subtitle.visible = t : e.subtitle === void 0 && (e.subtitle = B({
|
|
135
224
|
text: "",
|
|
136
225
|
visible: t,
|
|
137
226
|
font: C(h.ChartSubtitle)
|
|
138
227
|
}));
|
|
139
|
-
},
|
|
140
|
-
e.footer !== void 0 ? e.footer.visible = t : e.footer === void 0 && t !==
|
|
228
|
+
}, _e = (t) => t.footer?.visible ?? !1, ri = (t, e) => {
|
|
229
|
+
e.footer !== void 0 ? e.footer.visible = t : e.footer === void 0 && t !== _e(e) && (e.footer = B({
|
|
141
230
|
text: "",
|
|
142
231
|
visible: !0,
|
|
143
232
|
font: C(h.DescriptionText)
|
|
144
233
|
}));
|
|
145
|
-
},
|
|
234
|
+
}, oi = (t) => t.chartRenderer, ni = (t, e) => {
|
|
146
235
|
e.chartRenderer = t;
|
|
147
|
-
},
|
|
236
|
+
}, ci = (t, e) => t.axes?.[e]?.title?.content, di = (t) => {
|
|
148
237
|
const { config: e, axisIndex: i, symbol: s } = t, a = e.axes?.[i];
|
|
149
238
|
if (a !== void 0) {
|
|
150
239
|
const l = a.title?.content.text;
|
|
@@ -155,11 +244,11 @@ const ye = (t, e, i) => t.axes?.[e] ?? Ne(i, t.type)[e], ge = (t) => {
|
|
|
155
244
|
type: h.AxisTitle
|
|
156
245
|
})), s !== void 0 && (a.title.content = s), a.title.content.text = l;
|
|
157
246
|
}
|
|
158
|
-
},
|
|
247
|
+
}, ui = (t) => {
|
|
159
248
|
for (const e of t.axes ?? [])
|
|
160
249
|
if (e?.labels !== void 0)
|
|
161
250
|
return e.labels.content;
|
|
162
|
-
},
|
|
251
|
+
}, yi = (t, e) => {
|
|
163
252
|
for (const i of e.axes ?? [])
|
|
164
253
|
if (i !== void 0) {
|
|
165
254
|
const s = i.labels?.content.text;
|
|
@@ -170,67 +259,76 @@ const ye = (t, e, i) => t.axes?.[e] ?? Ne(i, t.type)[e], ge = (t) => {
|
|
|
170
259
|
type: h.AxisLabels
|
|
171
260
|
}) : i.labels.content = R(t), i.labels.content.text = s;
|
|
172
261
|
}
|
|
173
|
-
},
|
|
262
|
+
}, gi = (t) => {
|
|
174
263
|
for (const e of t.axes ?? [])
|
|
175
264
|
if (e?.lineSymbol !== void 0)
|
|
176
265
|
return e.lineSymbol;
|
|
177
|
-
},
|
|
266
|
+
}, fi = (t, e) => {
|
|
178
267
|
for (const i of e.axes ?? [])
|
|
179
|
-
i !== void 0 && (i.lineSymbol = R(t) ??
|
|
180
|
-
},
|
|
268
|
+
i !== void 0 && (i.lineSymbol = R(t) ?? Oe());
|
|
269
|
+
}, mi = (t) => {
|
|
181
270
|
for (const e of t.axes ?? [])
|
|
182
271
|
if (e?.grid !== void 0)
|
|
183
272
|
return e.grid;
|
|
184
|
-
},
|
|
273
|
+
}, xi = (t, e, i) => {
|
|
185
274
|
const s = e.axes;
|
|
186
275
|
i.forEach((a) => {
|
|
187
276
|
s?.[a] !== void 0 && (s[a].grid = R(t));
|
|
188
277
|
});
|
|
189
|
-
}, ee = (t, e) => e.axes?.[t]?.title?.content.text ?? "",
|
|
278
|
+
}, ee = (t, e) => e.axes?.[t]?.title?.content.text ?? "", pi = (t, e, i) => {
|
|
190
279
|
const s = i.axes?.[e];
|
|
191
280
|
s?.title !== void 0 ? s.title.content.text = t : s !== void 0 && s?.title === void 0 && (s.title = B({
|
|
192
281
|
text: t,
|
|
193
282
|
visible: !0,
|
|
194
283
|
font: C(h.AxisTitle)
|
|
195
284
|
}));
|
|
196
|
-
},
|
|
285
|
+
}, Si = (t, e) => e.axes?.[t]?.title?.visible ?? !1, bi = (t, e, i) => {
|
|
197
286
|
const s = i.axes?.[e];
|
|
198
287
|
s?.title !== void 0 ? s.title.visible = t : s !== void 0 && s?.title === void 0 && (s.title = B({
|
|
199
288
|
text: ee(e, i),
|
|
200
289
|
visible: t,
|
|
201
290
|
font: C(h.AxisTitle)
|
|
202
291
|
}));
|
|
203
|
-
},
|
|
292
|
+
}, Fi = (t, e) => t.axes?.[e]?.displayZeroLine ?? !1, Ti = (t, e, i) => {
|
|
204
293
|
t.axes?.[i] !== void 0 && (t.axes[i].displayZeroLine = e);
|
|
205
|
-
},
|
|
294
|
+
}, Ai = (t, e) => t.axes?.[e]?.displayCursorTooltip ?? !1, hi = (t) => {
|
|
206
295
|
const { config: e, displayCursorTooltip: i, axisIndex: s } = t;
|
|
207
296
|
e.axes?.[s] !== void 0 && (e.axes[s].displayCursorTooltip = i);
|
|
208
|
-
},
|
|
297
|
+
}, vi = (t, e) => t.axes?.[e]?.buffer ?? !1, Ii = (t) => {
|
|
209
298
|
const { config: e, buffer: i, axisIndex: s } = t, a = e.axes?.[s];
|
|
210
299
|
a !== void 0 && (a.buffer = i);
|
|
211
|
-
},
|
|
300
|
+
}, Bi = (t, e) => t.axes?.[e]?.tickSpacing, Ci = (t) => {
|
|
212
301
|
const { config: e, tickSpacing: i, axisIndex: s } = t;
|
|
213
302
|
e.axes?.[s] !== void 0 && (e.axes[s].tickSpacing = i);
|
|
214
|
-
},
|
|
303
|
+
}, Li = (t, e) => t.axes?.[e]?.integerOnlyValues ?? !1, Ni = (t) => {
|
|
215
304
|
const { config: e, integerOnlyValues: i, axisIndex: s } = t;
|
|
216
305
|
e.axes?.[s] !== void 0 && (e.axes[s].integerOnlyValues = i);
|
|
217
|
-
},
|
|
306
|
+
}, Vi = (t, e) => {
|
|
307
|
+
e.series.forEach((i) => {
|
|
308
|
+
i.query && (i.query.fetchNullValues = t);
|
|
309
|
+
});
|
|
310
|
+
}, Di = (t) => t.series.some((e) => e.query?.fetchNullValues), Oi = (t) => (
|
|
311
|
+
// TODO: Look into split-by values gotchas cases once done
|
|
312
|
+
t.series.map((e) => String(_({ where: e.query?.where }))).filter((e) => e !== void 0 && e.trim() !== "")
|
|
313
|
+
), qi = (t) => t.dataFilters, wi = (t, e) => {
|
|
314
|
+
t !== void 0 ? e.dataFilters = t : delete e.dataFilters;
|
|
315
|
+
}, Je = (t) => {
|
|
218
316
|
let e;
|
|
219
317
|
const i = t.series[0];
|
|
220
318
|
return L(i) && (e = i.temporalBinning?.size), e;
|
|
221
|
-
},
|
|
319
|
+
}, Qe = (t) => {
|
|
222
320
|
let e;
|
|
223
321
|
const i = t.series[0];
|
|
224
322
|
return L(i) && (e = i.temporalBinning?.unit), e;
|
|
225
|
-
},
|
|
323
|
+
}, He = (t) => {
|
|
226
324
|
let e;
|
|
227
325
|
const i = t.series[0];
|
|
228
326
|
return L(i) && (e = i.temporalBinning?.timeAggregationType), e;
|
|
229
|
-
},
|
|
327
|
+
}, et = (t) => {
|
|
230
328
|
let e;
|
|
231
329
|
const i = t.series[0];
|
|
232
330
|
return L(i) && (e = i.temporalBinning?.trimIncompleteTimeInterval), e;
|
|
233
|
-
},
|
|
331
|
+
}, tt = (t) => {
|
|
234
332
|
let e;
|
|
235
333
|
const i = t.series[0];
|
|
236
334
|
return L(i) && (e = i.temporalBinning?.nullPolicy), e;
|
|
@@ -238,113 +336,30 @@ const ye = (t, e, i) => t.axes?.[e] ?? Ne(i, t.type)[e], ge = (t) => {
|
|
|
238
336
|
e?.series?.forEach((i) => {
|
|
239
337
|
L(i) && (i.temporalBinning ??= {}, i.temporalBinning.size = t);
|
|
240
338
|
}), b({ config: e, value: null, axisIndex: 1, isMax: !1 }), b({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
241
|
-
},
|
|
339
|
+
}, it = (t, e) => {
|
|
242
340
|
e?.series?.forEach((i) => {
|
|
243
341
|
L(i) && (i.temporalBinning ??= {}, i.temporalBinning.nullPolicy = t);
|
|
244
342
|
}), b({ config: e, value: null, axisIndex: 1, isMax: !1 }), b({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
245
|
-
},
|
|
343
|
+
}, Mi = (t, e) => {
|
|
246
344
|
e.series?.forEach((i) => {
|
|
247
345
|
L(i) && (i.temporalBinning ??= {}, i.temporalBinning.unit = t);
|
|
248
346
|
}), b({ config: e, value: null, axisIndex: 1, isMax: !1 }), b({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
249
|
-
},
|
|
347
|
+
}, ki = (t, e) => {
|
|
250
348
|
e.series?.forEach((i) => {
|
|
251
349
|
L(i) && (i.temporalBinning ??= {}, i.temporalBinning.timeAggregationType = t);
|
|
252
350
|
}), b({ config: e, value: null, axisIndex: 1, isMax: !1 }), b({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
253
|
-
},
|
|
351
|
+
}, ji = (t, e) => {
|
|
254
352
|
e.series?.forEach((i) => {
|
|
255
353
|
L(i) && (i.temporalBinning ??= {}, i.temporalBinning.trimIncompleteTimeInterval = t);
|
|
256
354
|
}), b({ config: e, value: null, axisIndex: 1, isMax: !1 }), b({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
257
|
-
},
|
|
355
|
+
}, Pi = (t) => {
|
|
258
356
|
me(0, t);
|
|
259
|
-
};
|
|
260
|
-
|
|
261
|
-
const { config: e, layer: i, xAxisField: s, splitByField: a, layerFieldsInfo: l, aggregationFields: r, fetchNullValues: c } = t, n = l.filter((f) => f.name === a)[0]?.type, x = c !== !0 ? `${a} IS NOT NULL` : "", d = s && c !== !0 ? `${s} IS NOT NULL` : "", { where: p } = e?.dataFilters ?? {}, m = {
|
|
262
|
-
where: ne([p, x, d]),
|
|
263
|
-
// excluding the null values from the list
|
|
264
|
-
orderByFields: Oe(a) ? [] : [`${a} ${U.Ascending}`],
|
|
265
|
-
// default sorting ascending for split-by field
|
|
266
|
-
geometry: e?.dataFilters?.geometry
|
|
267
|
-
}, g = i;
|
|
268
|
-
let u = "";
|
|
269
|
-
r.length === 0 ? u = g?.objectIdField ?? "" : [u] = r;
|
|
270
|
-
let S = await de({
|
|
271
|
-
queryObject: g,
|
|
272
|
-
category: e?.series[0].x ?? "",
|
|
273
|
-
splitByField: a,
|
|
274
|
-
queryConfig: m
|
|
275
|
-
});
|
|
276
|
-
if (e) {
|
|
277
|
-
const f = e?.series.map((o) => G({ where: o.query?.where })?.toString() ?? "").filter((o) => o !== void 0 && o !== "");
|
|
278
|
-
S = qe({
|
|
279
|
-
arrayA: S,
|
|
280
|
-
arrayB: f,
|
|
281
|
-
getKey: (o) => o === null ? null : o?.toString()
|
|
282
|
-
});
|
|
283
|
-
}
|
|
284
|
-
return { categoriesArray: S, splitByFieldType: n, numericalField: u };
|
|
285
|
-
}
|
|
286
|
-
function vi(t, e) {
|
|
287
|
-
let i = e === "";
|
|
288
|
-
for (const s of t)
|
|
289
|
-
if (e === s.name) {
|
|
290
|
-
i = !0;
|
|
291
|
-
break;
|
|
292
|
-
}
|
|
293
|
-
return i;
|
|
294
|
-
}
|
|
295
|
-
function Ii(t, e) {
|
|
296
|
-
const i = De(t);
|
|
297
|
-
let s = e.length === 0, a = 0;
|
|
298
|
-
for (const l of e) {
|
|
299
|
-
for (const r of i)
|
|
300
|
-
if (l === r && (a += 1), a === e.length) {
|
|
301
|
-
s = !0;
|
|
302
|
-
break;
|
|
303
|
-
}
|
|
304
|
-
if (s)
|
|
305
|
-
break;
|
|
306
|
-
}
|
|
307
|
-
return s;
|
|
308
|
-
}
|
|
309
|
-
function Bi(t, e) {
|
|
310
|
-
e.forEach((i) => {
|
|
311
|
-
Object.getOwnPropertyNames(i.prototype).forEach((s) => {
|
|
312
|
-
Object.defineProperty(
|
|
313
|
-
t.prototype,
|
|
314
|
-
s,
|
|
315
|
-
Object.getOwnPropertyDescriptor(i.prototype, s) || /* @__PURE__ */ Object.create(null)
|
|
316
|
-
);
|
|
317
|
-
});
|
|
318
|
-
});
|
|
319
|
-
}
|
|
320
|
-
async function it(t) {
|
|
321
|
-
const { layerInfo: e, config: i, category: s } = t, { layer: a } = e, { where: l } = i?.dataFilters ?? {}, { fetchNullValues: r } = i?.series?.[0]?.query ?? {}, c = r !== !0 ? `${s} IS NOT NULL` : "", y = {
|
|
322
|
-
where: ne([l, c]),
|
|
323
|
-
// excluding the null values from the list
|
|
324
|
-
orderByFields: [],
|
|
325
|
-
geometry: i?.dataFilters?.geometry
|
|
326
|
-
}, n = Z(a);
|
|
327
|
-
return (
|
|
328
|
-
// fetch unique category values asynchronously
|
|
329
|
-
(await de({ queryObject: a, category: s, queryConfig: y })).map((d) => {
|
|
330
|
-
const p = String(d);
|
|
331
|
-
return _({
|
|
332
|
-
fieldName: s,
|
|
333
|
-
fieldValueToMatch: p,
|
|
334
|
-
subtypeInfo: n,
|
|
335
|
-
// use the retrieved subtype information
|
|
336
|
-
fieldList: e.layerFieldsInfo
|
|
337
|
-
// list of field information from the layer
|
|
338
|
-
}) ?? p;
|
|
339
|
-
})
|
|
340
|
-
);
|
|
341
|
-
}
|
|
342
|
-
const Ci = (t, e) => e.series[t]?.id, Li = (t, e) => e.series.findIndex((i) => i.id === t), st = (t) => t.series.length ?? 0, Ni = (t, e) => e.series[t].visible ?? !0;
|
|
343
|
-
function Vi(t, e) {
|
|
357
|
+
}, Ui = (t, e) => e.series[t]?.id, Ei = (t, e) => e.series.findIndex((i) => i.id === t), st = (t) => t.series.length ?? 0, Xi = (t, e) => e.series[t].visible ?? !0;
|
|
358
|
+
function Ki(t, e) {
|
|
344
359
|
let i;
|
|
345
360
|
return t.length !== 0 && e < t.length && (i = t[e].dataTooltipValueFormat), i;
|
|
346
361
|
}
|
|
347
|
-
function
|
|
362
|
+
function Ri(t) {
|
|
348
363
|
const { series: e, seriesIndex: i, valueFormat: s } = t;
|
|
349
364
|
e.length !== 0 && i < e.length && (e[i].dataTooltipValueFormat = s);
|
|
350
365
|
}
|
|
@@ -358,15 +373,15 @@ function j(t) {
|
|
|
358
373
|
x = g.slice(0, e).every((u) => T(u)), d = g.slice(0, e).every((u) => A(u));
|
|
359
374
|
} else
|
|
360
375
|
x = T(n), d = A(n);
|
|
361
|
-
x ? y =
|
|
376
|
+
x ? y = Me({
|
|
362
377
|
commonStrings: r,
|
|
363
378
|
seriesIndex: e,
|
|
364
379
|
objectIDField: c
|
|
365
|
-
}) : d ? y =
|
|
380
|
+
}) : d ? y = ke({
|
|
366
381
|
commonStrings: r,
|
|
367
382
|
seriesIndex: e,
|
|
368
383
|
objectIDField: c
|
|
369
|
-
}) : y =
|
|
384
|
+
}) : y = je({
|
|
370
385
|
seriesIndex: e,
|
|
371
386
|
objectIDField: c,
|
|
372
387
|
commonStrings: r
|
|
@@ -378,7 +393,7 @@ function j(t) {
|
|
|
378
393
|
dataLabels: {
|
|
379
394
|
...y.dataLabels,
|
|
380
395
|
type: y.dataLabels?.type ?? O.Text,
|
|
381
|
-
content: { ...y.dataLabels?.content, ...p?.content, type:
|
|
396
|
+
content: { ...y.dataLabels?.content, ...p?.content, type: Ee.TS },
|
|
382
397
|
visible: p?.visible ?? !1
|
|
383
398
|
}
|
|
384
399
|
};
|
|
@@ -396,23 +411,23 @@ function j(t) {
|
|
|
396
411
|
}
|
|
397
412
|
if (T(m) || A(m) || v(m) && a.series[0]?.binTemporalData) {
|
|
398
413
|
let g;
|
|
399
|
-
if (a?.series?.[0] !== void 0 && (g =
|
|
400
|
-
let u =
|
|
414
|
+
if (a?.series?.[0] !== void 0 && (g = J(a.series)), g !== E.BarAndLineNoAggregation && g !== E.BarAndLineSplitByNoAggregation) {
|
|
415
|
+
let u = Qe(a);
|
|
401
416
|
u === z.Quarter && (u = z.Month), m.temporalBinning = {
|
|
402
|
-
size:
|
|
417
|
+
size: Je(a),
|
|
403
418
|
unit: u,
|
|
404
|
-
timeAggregationType:
|
|
405
|
-
trimIncompleteTimeInterval:
|
|
406
|
-
nullPolicy:
|
|
419
|
+
timeAggregationType: He(a),
|
|
420
|
+
trimIncompleteTimeInterval: et(a),
|
|
421
|
+
nullPolicy: tt(a)
|
|
407
422
|
};
|
|
408
423
|
}
|
|
409
424
|
}
|
|
410
425
|
return R(m);
|
|
411
426
|
}
|
|
412
427
|
function xe(t, e, i) {
|
|
413
|
-
const { layerFieldsInfo: s, objectIdField: a } = e, l = P(t), r = te(t), c = Se(t), y =
|
|
428
|
+
const { layerFieldsInfo: s, objectIdField: a } = e, l = P(t), r = te(t), c = Se(t), y = K(t), n = r.length === 0 || r.includes(a), x = ne(c, i), d = n ? "" : r.map((o) => D(s ?? [], o)).join(", "), p = D(s ?? [], l), m = D(s ?? [], y), g = t.series.some((o) => v(o)), u = g ? "category" : "xAxisField", S = p;
|
|
414
429
|
let f = "";
|
|
415
|
-
if (
|
|
430
|
+
if (de({
|
|
416
431
|
fieldName: l,
|
|
417
432
|
numericFields: r,
|
|
418
433
|
fieldList: s
|
|
@@ -470,14 +485,14 @@ function xe(t, e, i) {
|
|
|
470
485
|
}
|
|
471
486
|
return f;
|
|
472
487
|
}
|
|
473
|
-
const pe = (t) =>
|
|
488
|
+
const pe = (t) => _({
|
|
474
489
|
where: t.query?.where,
|
|
475
490
|
normalize: !1,
|
|
476
491
|
escape: !1
|
|
477
|
-
}) ?? "", Se = (t) => t?.series?.[0]?.query?.outStatistics?.[0]?.statisticType ?? I.NoAggregation,
|
|
492
|
+
}) ?? "", Se = (t) => t?.series?.[0]?.query?.outStatistics?.[0]?.statisticType ?? I.NoAggregation, K = le(
|
|
478
493
|
(t) => {
|
|
479
494
|
const e = t?.series?.[0]?.query?.where?.split("=")[0].trim() ?? "";
|
|
480
|
-
return
|
|
495
|
+
return qe(t?.series?.[0]?.query?.where) ? "" : e;
|
|
481
496
|
},
|
|
482
497
|
(t) => t?.series?.[0]?.query?.where
|
|
483
498
|
), te = le(
|
|
@@ -485,7 +500,7 @@ const pe = (t) => G({
|
|
|
485
500
|
// with memoizing, the worst case efficiency for repeated calls becomes O(1)
|
|
486
501
|
(t) => {
|
|
487
502
|
let e = [];
|
|
488
|
-
if (
|
|
503
|
+
if (K(t) === "")
|
|
489
504
|
e = t?.series.map((i) => {
|
|
490
505
|
const s = i.query?.outStatistics?.map((a) => a.onStatisticField) ?? [];
|
|
491
506
|
return s?.length > 0 ? s : i.y;
|
|
@@ -527,7 +542,7 @@ function rt(t) {
|
|
|
527
542
|
layerInfo: l,
|
|
528
543
|
seriesIndex: 0,
|
|
529
544
|
commonStrings: r
|
|
530
|
-
}), x =
|
|
545
|
+
}), x = H({
|
|
531
546
|
config: a,
|
|
532
547
|
xAxisField: e,
|
|
533
548
|
numericFields: i,
|
|
@@ -538,7 +553,7 @@ function rt(t) {
|
|
|
538
553
|
...n,
|
|
539
554
|
id: `series_${Date.now()}`,
|
|
540
555
|
name: r.axisLabels.values,
|
|
541
|
-
x:
|
|
556
|
+
x: X,
|
|
542
557
|
y: x
|
|
543
558
|
}, p = [];
|
|
544
559
|
for (const g of i)
|
|
@@ -562,7 +577,7 @@ function be(t) {
|
|
|
562
577
|
layerInfo: l,
|
|
563
578
|
seriesIndex: d,
|
|
564
579
|
commonStrings: r
|
|
565
|
-
}), m =
|
|
580
|
+
}), m = H({
|
|
566
581
|
config: a,
|
|
567
582
|
xAxisField: e,
|
|
568
583
|
numericFields: i,
|
|
@@ -611,7 +626,7 @@ function be(t) {
|
|
|
611
626
|
return a.series.length === 1 && n.length === 1 && !a.colorMatch && (v(a.series[0]) && v(n[0]) ? n[0].fillSymbol = a.series[0].fillSymbol : (T(a.series[0]) && T(n[0]) || A(a.series[0]) && A(n[0])) && (n[0].lineSymbol = a.series[0].lineSymbol, n[0].markerSymbol = a.series[0].markerSymbol), x = !0), a.colorMatch = !x, n;
|
|
612
627
|
}
|
|
613
628
|
async function ot(t) {
|
|
614
|
-
const { splitByField: e, xAxisField: i, numericFields: s, aggregationType: a, config: l, layerInfo: r, commonStrings: c } = t, { layer: y, layerFieldsInfo: n } = r, { fetchNullValues: x } = l?.series?.[0]?.query ?? {}, d = i !==
|
|
629
|
+
const { splitByField: e, xAxisField: i, numericFields: s, aggregationType: a, config: l, layerInfo: r, commonStrings: c } = t, { layer: y, layerFieldsInfo: n } = r, { fetchNullValues: x } = l?.series?.[0]?.query ?? {}, d = i !== X ? i : void 0, { categoriesArray: p, splitByFieldType: m, numericalField: g } = await We({
|
|
615
630
|
config: l,
|
|
616
631
|
layer: y,
|
|
617
632
|
layerFieldsInfo: n,
|
|
@@ -634,7 +649,7 @@ async function ot(t) {
|
|
|
634
649
|
f.query && (f.query.where = `${e}=''`);
|
|
635
650
|
} else
|
|
636
651
|
for (let f = 0; f < p.length; f += 1) {
|
|
637
|
-
const o = p[f], q =
|
|
652
|
+
const o = p[f], q = H({
|
|
638
653
|
config: l,
|
|
639
654
|
xAxisField: i,
|
|
640
655
|
numericFields: s,
|
|
@@ -655,14 +670,14 @@ async function ot(t) {
|
|
|
655
670
|
fieldValueToMatch: o ?? "",
|
|
656
671
|
subtypeInfo: Z(r.layer),
|
|
657
672
|
fieldList: r.layerFieldsInfo
|
|
658
|
-
}, Te =
|
|
673
|
+
}, Te = G(Fe), W = `${o}`, F = {
|
|
659
674
|
...M,
|
|
660
675
|
id: W,
|
|
661
676
|
name: Te ?? W,
|
|
662
677
|
y: q,
|
|
663
678
|
query: {
|
|
664
679
|
...M.query,
|
|
665
|
-
where: `${e}=${m ===
|
|
680
|
+
where: `${e}=${m === ce.String && o !== null ? `'${o}'` : o}`,
|
|
666
681
|
outStatistics: a !== I.NoAggregation ? [
|
|
667
682
|
{
|
|
668
683
|
...M.query?.outStatistics?.[0] ?? {},
|
|
@@ -681,19 +696,19 @@ async function ot(t) {
|
|
|
681
696
|
}
|
|
682
697
|
return l.colorMatch = !S, u;
|
|
683
698
|
}
|
|
684
|
-
const
|
|
699
|
+
const Wi = async (t) => {
|
|
685
700
|
const { xAxisField: e, splitByField: i, numericFields: s, aggregationType: a, config: l, layerInfo: r, commonStrings: c } = t, { layerFieldsInfo: y } = r ?? {}, n = st(l), x = P(l), d = nt(l, r, c), p = ct(l, r, c), m = dt(l, r);
|
|
686
701
|
let g = fe(l);
|
|
687
|
-
const u = l.series.some((o) => v(o)), S =
|
|
702
|
+
const u = l.series.some((o) => v(o)), S = Ke(l.series), f = Re(l.series);
|
|
688
703
|
if (y !== void 0) {
|
|
689
|
-
const o =
|
|
690
|
-
!o.includes(x) && o.includes(e) ? g =
|
|
704
|
+
const o = we(y);
|
|
705
|
+
!o.includes(x) && o.includes(e) ? g = Pe() : o.includes(x) && !o.includes(e) && (u ? g = Y() : g = Ue()), y.find((M) => M.name === e)?.type === ce.String && (g = Y()), g !== void 0 && ze(l, c, g);
|
|
691
706
|
}
|
|
692
707
|
if (n === 0 && (l.series = [
|
|
693
708
|
j({ config: l, xAxisField: e, aggregationType: a, layerInfo: r, commonStrings: c })
|
|
694
709
|
]), l.series.forEach((o) => {
|
|
695
710
|
o.x = e, o.query !== void 0 && (o.query.groupByFieldsForStatistics = [e]);
|
|
696
|
-
}), i === "" || s.length > 1 ?
|
|
711
|
+
}), i === "" || s.length > 1 ? de({
|
|
697
712
|
fieldName: e,
|
|
698
713
|
numericFields: s,
|
|
699
714
|
fieldList: y
|
|
@@ -736,44 +751,44 @@ const Oi = async (t) => {
|
|
|
736
751
|
if (l.title && d && (l.title.content.text = xe(l, r, c)), b({ config: l, value: null, axisIndex: 1, isMax: !1 }), b({ config: l, value: null, axisIndex: 1, isMax: !0 }), at({ numericFields: s, aggregationType: a, config: l, layerInfo: r }), S || f) {
|
|
737
752
|
b({ config: l, value: null, axisIndex: 0, isMax: !1 }), b({ config: l, value: null, axisIndex: 0, isMax: !0 }), me(0, l);
|
|
738
753
|
const o = g?.type === O.DateAxisFormat ? $.Null : $.Interpolate;
|
|
739
|
-
|
|
754
|
+
it(o, l);
|
|
740
755
|
}
|
|
741
|
-
},
|
|
742
|
-
const { config: e, seriesIndex: i, layerInfo: s, commonStrings: a } = t, l = e.series?.[i], r =
|
|
756
|
+
}, $i = (t) => {
|
|
757
|
+
const { config: e, seriesIndex: i, layerInfo: s, commonStrings: a } = t, l = e.series?.[i], r = K(e);
|
|
743
758
|
let c;
|
|
744
|
-
if (
|
|
759
|
+
if (J(e.series) === E.BarAndLineFromFields)
|
|
745
760
|
c = a.axisLabels.values;
|
|
746
761
|
else if (he(r)) {
|
|
747
762
|
const n = l.query?.outStatistics?.[0]?.onStatisticField;
|
|
748
763
|
n !== void 0 && n !== s.objectIdField && (c = D(s.layerFieldsInfo, n));
|
|
749
764
|
} else {
|
|
750
765
|
const n = String(pe(l)).trim().replace(/'/gu, ""), x = {
|
|
751
|
-
fieldName:
|
|
766
|
+
fieldName: K(e),
|
|
752
767
|
fieldValueToMatch: n ?? "",
|
|
753
768
|
subtypeInfo: Z(s.layer),
|
|
754
769
|
fieldList: s.layerFieldsInfo
|
|
755
770
|
};
|
|
756
|
-
c =
|
|
771
|
+
c = G(x) ?? n;
|
|
757
772
|
}
|
|
758
773
|
return c ?? l.id;
|
|
759
|
-
},
|
|
774
|
+
}, zi = (t, e) => {
|
|
760
775
|
e.orderOptions ??= {};
|
|
761
776
|
const i = e.orderOptions?.data?.orderType;
|
|
762
777
|
lt(e) === w.customSort && i === k.Category && (e.orderOptions.data = {
|
|
763
778
|
orderType: k.Category,
|
|
764
779
|
orderBy: [...t]
|
|
765
780
|
});
|
|
766
|
-
},
|
|
767
|
-
const i = P(t), s = fe(t)?.type, a = te(t), l =
|
|
781
|
+
}, Yi = async (t, e) => {
|
|
782
|
+
const i = P(t), s = fe(t)?.type, a = te(t), l = J(t.series);
|
|
768
783
|
let r = [];
|
|
769
|
-
return s === O.CategoryAxisFormat && (l === E.BarAndLineFromFields || i ===
|
|
784
|
+
return s === O.CategoryAxisFormat && (l === E.BarAndLineFromFields || i === X ? r = a.map((c) => D(e?.layerFieldsInfo, c)) : i.trim() !== "" && i !== X && e !== void 0 && (r = await $e({
|
|
770
785
|
layerInfo: e,
|
|
771
786
|
config: t,
|
|
772
787
|
category: i
|
|
773
788
|
}))), r;
|
|
774
789
|
};
|
|
775
790
|
function nt(t, e, i) {
|
|
776
|
-
const s = xe(t, e, i), a =
|
|
791
|
+
const s = xe(t, e, i), a = Ge(t), l = Q(t);
|
|
777
792
|
return s === a || l;
|
|
778
793
|
}
|
|
779
794
|
function ct(t, e, i) {
|
|
@@ -783,17 +798,17 @@ function ct(t, e, i) {
|
|
|
783
798
|
commonStrings: i,
|
|
784
799
|
numericFields: te(t),
|
|
785
800
|
aggregationType: Se(t)
|
|
786
|
-
}), a = ee(1, t), l =
|
|
801
|
+
}), a = ee(1, t), l = Q(t);
|
|
787
802
|
return s === a || l;
|
|
788
803
|
}
|
|
789
804
|
function dt(t, e) {
|
|
790
|
-
const i = D(e.layerFieldsInfo, P(t)), s = ee(0, t), a =
|
|
805
|
+
const i = D(e.layerFieldsInfo, P(t)), s = ee(0, t), a = Q(t);
|
|
791
806
|
return i === s || a;
|
|
792
807
|
}
|
|
793
|
-
function
|
|
808
|
+
function Zi(t) {
|
|
794
809
|
return t.series[0]?.binTemporalData ?? !1;
|
|
795
810
|
}
|
|
796
|
-
function
|
|
811
|
+
function Gi(t, e) {
|
|
797
812
|
e?.series.forEach((i) => {
|
|
798
813
|
(i?.type === O.BarSeries || i?.type === O.LineSeries) && (i.binTemporalData = t, t ? i.temporalBinning = {
|
|
799
814
|
unit: z.Day,
|
|
@@ -804,104 +819,94 @@ function ji(t, e) {
|
|
|
804
819
|
} : delete i.temporalBinning);
|
|
805
820
|
});
|
|
806
821
|
}
|
|
807
|
-
const Pi = (t, e) => {
|
|
808
|
-
e.series.forEach((i) => {
|
|
809
|
-
i.query && (i.query.fetchNullValues = t);
|
|
810
|
-
});
|
|
811
|
-
}, Ui = (t) => t.series.some((e) => e.query?.fetchNullValues), Ei = (t) => (
|
|
812
|
-
// TODO: Look into split-by values gotchas cases once done
|
|
813
|
-
t.series.map((e) => String(G({ where: e.query?.where }))).filter((e) => e !== void 0 && e.trim() !== "")
|
|
814
|
-
), Ki = (t) => t.dataFilters, Xi = (t, e) => {
|
|
815
|
-
t !== void 0 ? e.dataFilters = t : delete e.dataFilters;
|
|
816
|
-
};
|
|
817
822
|
export {
|
|
818
823
|
st as $,
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
824
|
+
tt as A,
|
|
825
|
+
it as B,
|
|
826
|
+
Pi as C,
|
|
822
827
|
lt as D,
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
+
Yi as E,
|
|
829
|
+
zi as F,
|
|
830
|
+
Zi as G,
|
|
831
|
+
Gi as H,
|
|
832
|
+
Wi as I,
|
|
828
833
|
xe as J,
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
834
|
+
ei as K,
|
|
835
|
+
_t as L,
|
|
836
|
+
Jt as M,
|
|
837
|
+
Qt as N,
|
|
838
|
+
Ht as O,
|
|
839
|
+
ti as P,
|
|
840
|
+
ii as Q,
|
|
841
|
+
si as R,
|
|
842
|
+
ai as S,
|
|
843
|
+
li as T,
|
|
844
|
+
_e as U,
|
|
845
|
+
ri as V,
|
|
846
|
+
oi as W,
|
|
847
|
+
ni as X,
|
|
848
|
+
Xi as Y,
|
|
849
|
+
Ui as Z,
|
|
850
|
+
Ei as _,
|
|
846
851
|
ee as a,
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
852
|
+
Ki as a0,
|
|
853
|
+
Ri as a1,
|
|
854
|
+
Di as a2,
|
|
855
|
+
Vi as a3,
|
|
856
|
+
qi as a4,
|
|
857
|
+
wi as a5,
|
|
858
|
+
pi as a6,
|
|
859
|
+
Si as a7,
|
|
860
|
+
bi as a8,
|
|
861
|
+
Kt as a9,
|
|
862
|
+
Rt as aa,
|
|
863
|
+
ci as ab,
|
|
864
|
+
di as ac,
|
|
865
|
+
ui as ad,
|
|
866
|
+
yi as ae,
|
|
867
|
+
gi as af,
|
|
868
|
+
fi as ag,
|
|
869
|
+
Wt as ah,
|
|
870
|
+
mi as ai,
|
|
871
|
+
xi as aj,
|
|
872
|
+
Bi as ak,
|
|
873
|
+
$t as al,
|
|
874
|
+
zt as am,
|
|
875
|
+
Yt as an,
|
|
876
|
+
Zt as ao,
|
|
877
|
+
Gt as ap,
|
|
878
|
+
Fi as aq,
|
|
879
|
+
Ti as ar,
|
|
880
|
+
Ai as as,
|
|
881
|
+
hi as at,
|
|
882
|
+
vi as au,
|
|
883
|
+
Ii as av,
|
|
884
|
+
Ci as aw,
|
|
885
|
+
Li as ax,
|
|
886
|
+
Ni as ay,
|
|
882
887
|
ue as b,
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
888
|
+
$i as c,
|
|
889
|
+
Xt as d,
|
|
890
|
+
Ut as e,
|
|
891
|
+
fe as f,
|
|
892
|
+
Ge as g,
|
|
893
|
+
$e as h,
|
|
894
|
+
Et as i,
|
|
895
|
+
ze as j,
|
|
896
|
+
We as k,
|
|
897
|
+
ae as l,
|
|
898
|
+
Se as m,
|
|
899
|
+
te as n,
|
|
900
|
+
Oi as o,
|
|
901
|
+
K as p,
|
|
902
|
+
Je as q,
|
|
898
903
|
me as r,
|
|
899
904
|
b as s,
|
|
900
|
-
|
|
905
|
+
Qe as t,
|
|
901
906
|
se as u,
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
+
Mi as v,
|
|
908
|
+
He as w,
|
|
909
|
+
ki as x,
|
|
910
|
+
et as y,
|
|
911
|
+
ji as z
|
|
907
912
|
};
|