@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,311 +1,318 @@
|
|
|
1
|
-
import { W as P, u as
|
|
2
|
-
import { isEqual as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { g as
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import { g as re } from "./index3.js";
|
|
1
|
+
import { W as P, u as U } from "./series-types.js";
|
|
2
|
+
import { isEqual as Z, capitalize as p, isNumber as h, zip as H } from "lodash-es";
|
|
3
|
+
import { v5 as k } from "uuid";
|
|
4
|
+
import { cx as Q, p as w, cu as W, d5 as d, a4 as R, bq as D, da as A, aq as $, bD as J, ab as B, bn as ee, bo as N } from "./index.js";
|
|
5
|
+
import { d as V } from "./interfaces.js";
|
|
6
|
+
import { a as z } from "./common.js";
|
|
7
|
+
import { j as te, n as K, p as X, o as I } from "./box-plot-data.js";
|
|
8
|
+
import { m as oe, n as ae, o as Y, p as ie } from "./serial-chart-data.js";
|
|
9
|
+
import { g as se } from "./histogram-data.js";
|
|
10
|
+
import { g as le, a as ne, b as re } from "./pie-chart-data.js";
|
|
11
|
+
import { a as ce, g as E } from "./data.js";
|
|
13
12
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
14
13
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
15
|
-
v5.0.0-next.
|
|
16
|
-
const
|
|
14
|
+
v5.0.0-next.26 */
|
|
15
|
+
const Te = [
|
|
17
16
|
P.BarSeries,
|
|
18
17
|
P.BoxPlotSeries,
|
|
19
18
|
P.LineSeries,
|
|
20
19
|
P.PieSeries,
|
|
21
20
|
P.HistogramSeries,
|
|
22
21
|
P.ScatterSeries
|
|
23
|
-
],
|
|
24
|
-
|
|
25
|
-
|
|
22
|
+
], Oe = 1, Ve = { PNG: "png" }, ue = "arcgis-charts-randomization-seed", de = k(ue, k.URL), ke = {
|
|
23
|
+
XAxisTitle: "XAxisTitle",
|
|
24
|
+
YAxisTitle: "YAxisTitle",
|
|
25
|
+
ChartTitle: "ChartTitle",
|
|
26
|
+
ChartSubTitle: "ChartSubTitle",
|
|
27
|
+
ChartFooter: "ChartFooter",
|
|
28
|
+
GuideLabel: "GuideLabel",
|
|
29
|
+
LegendTitle: "LegendTitle"
|
|
30
|
+
};
|
|
31
|
+
function fe(c, e) {
|
|
32
|
+
return !Z(c, e);
|
|
26
33
|
}
|
|
27
|
-
function
|
|
28
|
-
return
|
|
34
|
+
function Re(c, e) {
|
|
35
|
+
return fe(c, e) || c !== e;
|
|
29
36
|
}
|
|
30
|
-
function
|
|
31
|
-
return (new Intl.NumberFormat(
|
|
37
|
+
function me(c) {
|
|
38
|
+
return (new Intl.NumberFormat(c, {
|
|
32
39
|
minimumFractionDigits: 1,
|
|
33
40
|
maximumFractionDigits: 1
|
|
34
41
|
}).formatToParts(1.1).find((n) => n.type === "decimal")?.value ?? ".") === "." ? "," : ";";
|
|
35
42
|
}
|
|
36
|
-
const
|
|
37
|
-
const { value: e, quoteAll: t = !1, locale: n = "en" } =
|
|
38
|
-
let
|
|
39
|
-
if (Number.isFinite(Number(
|
|
40
|
-
const
|
|
41
|
-
|
|
43
|
+
const q = (c) => {
|
|
44
|
+
const { value: e, quoteAll: t = !1, locale: n = "en" } = c;
|
|
45
|
+
let a = e == null ? "" : String(e);
|
|
46
|
+
if (Number.isFinite(Number(a))) {
|
|
47
|
+
const i = Number(a);
|
|
48
|
+
a = new Intl.NumberFormat(n, {
|
|
42
49
|
minimumFractionDigits: 0,
|
|
43
50
|
maximumFractionDigits: 2
|
|
44
|
-
}).format(
|
|
51
|
+
}).format(i).replace(/\u202F/gu, " ");
|
|
45
52
|
}
|
|
46
|
-
return (t || /[",\r\n]/u.test(
|
|
53
|
+
return (t || /[",\r\n]/u.test(a)) && (a = `"${a.replace(/"/gu, '""')}"`), a;
|
|
47
54
|
};
|
|
48
|
-
function
|
|
49
|
-
const { columns: t, delimiter: n, includeHeader:
|
|
55
|
+
function Ne(c, e = {}) {
|
|
56
|
+
const { columns: t, delimiter: n, includeHeader: a = !0, quoteAll: o = !1, locale: i } = e, m = c.length === 0;
|
|
50
57
|
let r = "";
|
|
51
58
|
if (!m) {
|
|
52
|
-
const f = t ?? Object.keys(
|
|
59
|
+
const f = t ?? Object.keys(c[0]), F = [], g = i ?? Q().formatLocale, y = n ?? me(g);
|
|
53
60
|
if (r += `sep=${y}\r
|
|
54
|
-
`,
|
|
55
|
-
const s = f.map((
|
|
61
|
+
`, a) {
|
|
62
|
+
const s = f.map((u) => q({ value: u, quoteAll: o, locale: g }));
|
|
56
63
|
F.push(s.join(y));
|
|
57
64
|
}
|
|
58
|
-
|
|
59
|
-
const
|
|
60
|
-
F.push(
|
|
65
|
+
c.forEach((s) => {
|
|
66
|
+
const u = f.map((l) => q({ value: s[l], quoteAll: o, locale: g }));
|
|
67
|
+
F.push(u.join(y));
|
|
61
68
|
}), r += F.join(`\r
|
|
62
69
|
`);
|
|
63
70
|
}
|
|
64
71
|
return r;
|
|
65
72
|
}
|
|
66
|
-
function
|
|
67
|
-
const { rawData: e, config: t, layer: n, fieldList:
|
|
73
|
+
function Ke(c) {
|
|
74
|
+
const { rawData: e, config: t, layer: n, fieldList: a } = c;
|
|
68
75
|
let o = e;
|
|
69
76
|
if (t !== void 0 && Array.isArray(e) && e.length > 0) {
|
|
70
|
-
const
|
|
71
|
-
|
|
77
|
+
const i = U(t?.series);
|
|
78
|
+
i === P.HistogramSeries ? o = ye(t, e) : i === P.BarSeries || i === P.LineSeries || i === P.ComboLineAndBarSeries ? o = ge({
|
|
72
79
|
config: t,
|
|
73
80
|
rows: e,
|
|
74
81
|
layer: n,
|
|
75
|
-
fieldList:
|
|
76
|
-
}) :
|
|
82
|
+
fieldList: a
|
|
83
|
+
}) : i === P.PieSeries ? o = Fe({
|
|
77
84
|
config: t,
|
|
78
85
|
rows: e,
|
|
79
86
|
layer: n,
|
|
80
|
-
fieldList:
|
|
81
|
-
}) :
|
|
87
|
+
fieldList: a
|
|
88
|
+
}) : i === P.BoxPlotSeries && (o = be({
|
|
82
89
|
config: t,
|
|
83
90
|
rows: e,
|
|
84
|
-
fieldList:
|
|
91
|
+
fieldList: a
|
|
85
92
|
}));
|
|
86
93
|
}
|
|
87
94
|
return o;
|
|
88
95
|
}
|
|
89
|
-
function
|
|
90
|
-
const t =
|
|
91
|
-
return e.map((
|
|
92
|
-
const { minValue: m, maxValue: r, count: f } =
|
|
93
|
-
return F && (s[n] = m.toFixed(2)),
|
|
96
|
+
function ye(c, e) {
|
|
97
|
+
const t = se(c), n = `${p(V.Min)} of ${t}`, a = `${p(V.Max)} of ${t}`, o = `${p(V.Count)} of ${t}`;
|
|
98
|
+
return e.map((i) => {
|
|
99
|
+
const { minValue: m, maxValue: r, count: f } = i, F = h(m), g = h(r), y = h(f), s = {};
|
|
100
|
+
return F && (s[n] = m.toFixed(2)), g && (s[a] = r.toFixed(2)), F && g && (s.Label = `${m.toFixed(2)} - ${r.toFixed(2)}`), y && (s[o] = f), s;
|
|
94
101
|
});
|
|
95
102
|
}
|
|
96
|
-
function
|
|
97
|
-
const n = Object.keys(
|
|
98
|
-
let
|
|
99
|
-
return t ?
|
|
103
|
+
function G(c, e, t) {
|
|
104
|
+
const n = Object.keys(c);
|
|
105
|
+
let a = [];
|
|
106
|
+
return t ? a = t.map((o) => n.find((i) => i.toLowerCase().includes(o.toLowerCase())) || "") : a = n.filter((i) => i.toLowerCase().includes(e.toLowerCase())), a.filter((o) => o.trim() !== "");
|
|
100
107
|
}
|
|
101
|
-
function
|
|
102
|
-
const { config: e, rows: t, layer: n, fieldList:
|
|
103
|
-
let
|
|
108
|
+
function ge(c) {
|
|
109
|
+
const { config: e, rows: t, layer: n, fieldList: a } = c, o = ce(e), i = oe(e), m = p(i), r = ae(e), f = w(e.series), F = Y(e), g = ie(e), y = W(n)?.objectIdField ?? "FID", s = r.length === 1 && r[0] === y;
|
|
110
|
+
let u;
|
|
104
111
|
switch (f) {
|
|
105
112
|
case d.BarAndLineNoAggregation:
|
|
106
|
-
|
|
113
|
+
u = t.map((l) => {
|
|
107
114
|
const x = C({
|
|
108
115
|
field: o,
|
|
109
116
|
value: l[o],
|
|
110
|
-
fieldList:
|
|
117
|
+
fieldList: a
|
|
111
118
|
}), b = { [o]: x };
|
|
112
119
|
return Object.assign(b, ...r.map((S) => ({ [S]: l[S] }))), b;
|
|
113
120
|
});
|
|
114
121
|
break;
|
|
115
122
|
case d.BarAndLineFromFields:
|
|
116
|
-
|
|
117
|
-
const b =
|
|
123
|
+
u = H(r, t).map(([l, x]) => {
|
|
124
|
+
const b = R(e.series)[0], S = {};
|
|
118
125
|
return x !== void 0 && l !== void 0 && (S.Field = x[o], S.Value = x[b]), S;
|
|
119
126
|
});
|
|
120
127
|
break;
|
|
121
128
|
case d.BarAndLineMonoField:
|
|
122
129
|
case d.BarAndLineMultiFields:
|
|
123
|
-
|
|
130
|
+
u = t.map((l) => {
|
|
124
131
|
const x = C({
|
|
125
132
|
field: o,
|
|
126
133
|
value: l[o],
|
|
127
|
-
fieldList:
|
|
134
|
+
fieldList: a
|
|
128
135
|
}), b = { [o]: x };
|
|
129
136
|
return r.forEach((S, L) => {
|
|
130
|
-
const
|
|
137
|
+
const T = E({
|
|
131
138
|
config: e,
|
|
132
139
|
xAxisField: o,
|
|
133
140
|
numericFields: r,
|
|
134
|
-
aggregationType:
|
|
141
|
+
aggregationType: i,
|
|
135
142
|
layer: n,
|
|
136
143
|
numericFieldIndex: L,
|
|
137
|
-
fieldList:
|
|
138
|
-
}),
|
|
139
|
-
let
|
|
140
|
-
|
|
144
|
+
fieldList: a
|
|
145
|
+
}), O = R(e.series)[L];
|
|
146
|
+
let j = O, _ = O;
|
|
147
|
+
O.toLowerCase() === T.name.toLowerCase() && (j = T.description, _ = T.name), b[j] = l[_];
|
|
141
148
|
}), b;
|
|
142
149
|
});
|
|
143
150
|
break;
|
|
144
151
|
case d.BarAndLineSplitBy:
|
|
145
|
-
|
|
146
|
-
const x =
|
|
152
|
+
u = t.flatMap((l) => {
|
|
153
|
+
const x = G(l, r[0]), b = C({
|
|
147
154
|
field: o,
|
|
148
155
|
value: l[o],
|
|
149
|
-
fieldList:
|
|
156
|
+
fieldList: a
|
|
150
157
|
});
|
|
151
158
|
return F.map(
|
|
152
159
|
(S, L) => ({
|
|
153
160
|
[o]: b,
|
|
154
|
-
[
|
|
161
|
+
[g]: S,
|
|
155
162
|
[s ? m : `${m} of ${r[0]}`]: l[x[L]]
|
|
156
163
|
})
|
|
157
164
|
);
|
|
158
165
|
});
|
|
159
166
|
break;
|
|
160
167
|
case d.BarAndLineSplitByNoAggregation:
|
|
161
|
-
|
|
168
|
+
u = t.map((l) => {
|
|
162
169
|
const x = C({
|
|
163
170
|
field: o,
|
|
164
171
|
value: l[o],
|
|
165
|
-
fieldList:
|
|
166
|
-
}), b =
|
|
172
|
+
fieldList: a
|
|
173
|
+
}), b = G(l, r[0], F);
|
|
167
174
|
return {
|
|
168
175
|
[o]: x,
|
|
169
|
-
[
|
|
176
|
+
[g]: l[g],
|
|
170
177
|
[r[0]]: l[b[0]]
|
|
171
178
|
};
|
|
172
179
|
});
|
|
173
180
|
break;
|
|
174
181
|
default:
|
|
175
|
-
|
|
182
|
+
u = t;
|
|
176
183
|
}
|
|
177
|
-
return
|
|
184
|
+
return u;
|
|
178
185
|
}
|
|
179
|
-
function
|
|
180
|
-
if (
|
|
186
|
+
function pe(c, e = 2) {
|
|
187
|
+
if (c.length === 0)
|
|
181
188
|
return [];
|
|
182
|
-
const t =
|
|
183
|
-
for (const [o,
|
|
184
|
-
typeof
|
|
189
|
+
const t = c.reduce((n, a) => {
|
|
190
|
+
for (const [o, i] of Object.entries(a))
|
|
191
|
+
typeof i == "number" && Number.isFinite(i) && (n[o] = (n[o] ?? 0) + i);
|
|
185
192
|
return n;
|
|
186
193
|
}, {});
|
|
187
|
-
return
|
|
188
|
-
const
|
|
189
|
-
for (const [o,
|
|
190
|
-
if (typeof
|
|
191
|
-
const m =
|
|
192
|
-
|
|
194
|
+
return c.map((n) => {
|
|
195
|
+
const a = { ...n };
|
|
196
|
+
for (const [o, i] of Object.entries(n))
|
|
197
|
+
if (typeof i == "number" && t[o] > 0) {
|
|
198
|
+
const m = i / t[o] * 100;
|
|
199
|
+
a[`${o}${D}`] = `${m.toFixed(e)}%`;
|
|
193
200
|
}
|
|
194
|
-
return
|
|
201
|
+
return a;
|
|
195
202
|
});
|
|
196
203
|
}
|
|
197
|
-
function
|
|
198
|
-
const { config: e, rows: t, layer: n, fieldList:
|
|
199
|
-
let m =
|
|
200
|
-
const r =
|
|
204
|
+
function Fe(c) {
|
|
205
|
+
const { config: e, rows: t, layer: n, fieldList: a } = c, o = le(e), i = w(e.series);
|
|
206
|
+
let m = pe(t, 2);
|
|
207
|
+
const r = ne(e), f = i !== d.PieFromFields ? z.Category : z.Fields, F = re(e, f), g = E({
|
|
201
208
|
config: e,
|
|
202
209
|
xAxisField: o,
|
|
203
210
|
numericFields: r,
|
|
204
211
|
aggregationType: F,
|
|
205
212
|
mode: f,
|
|
206
213
|
layer: n,
|
|
207
|
-
fieldList:
|
|
208
|
-
}), y =
|
|
209
|
-
return
|
|
210
|
-
const
|
|
214
|
+
fieldList: a
|
|
215
|
+
}), y = R(e.series)[0];
|
|
216
|
+
return i === d.PieFromCategory ? m = m.map((s) => {
|
|
217
|
+
const u = C({
|
|
211
218
|
field: o,
|
|
212
219
|
value: s[o],
|
|
213
|
-
fieldList:
|
|
214
|
-
}), l = { [o]:
|
|
220
|
+
fieldList: a
|
|
221
|
+
}), l = { [o]: u };
|
|
215
222
|
let x = y, b = y;
|
|
216
|
-
return y.toLowerCase() ===
|
|
217
|
-
}) :
|
|
223
|
+
return y.toLowerCase() === g.name.toLowerCase() && (x = g.description, b = g.name), l[x] = s[b], l[p(D.trim())] = s[`${b}${D}`], l;
|
|
224
|
+
}) : i === d.PieFromFields && (m = H(r, m).map(([s, u]) => {
|
|
218
225
|
const l = {};
|
|
219
|
-
return
|
|
226
|
+
return u !== void 0 && s !== void 0 && (l.Field = u[o], l.Value = u[y], l[p(D.trim())] = u[`${y}${D}`]), l;
|
|
220
227
|
})), m;
|
|
221
228
|
}
|
|
222
|
-
function
|
|
223
|
-
const { rawData: e, keyBase: t = "", outRow: n } =
|
|
224
|
-
for (const [
|
|
225
|
-
const
|
|
226
|
-
|
|
227
|
-
const m = e[t + o +
|
|
228
|
-
m !== void 0 && (n[`${
|
|
229
|
-
const r = e[t + o +
|
|
230
|
-
r !== void 0 && (n[`${
|
|
229
|
+
function v(c) {
|
|
230
|
+
const { rawData: e, keyBase: t = "", outRow: n } = c;
|
|
231
|
+
for (const [a, o] of Object.entries(B)) {
|
|
232
|
+
const i = e[t + o];
|
|
233
|
+
i !== void 0 && (n[a] = h(i) ? i.toFixed(2) : i);
|
|
234
|
+
const m = e[t + o + ee];
|
|
235
|
+
m !== void 0 && (n[`${a} Outlier`] = h(m) ? m.toFixed(2) : m);
|
|
236
|
+
const r = e[t + o + N];
|
|
237
|
+
r !== void 0 && (n[`${a} Z-Score`] = h(r) ? r.toFixed(2) : r);
|
|
231
238
|
}
|
|
232
239
|
}
|
|
233
|
-
function
|
|
234
|
-
const { rawData: e, outRow: t, config: n, boxPlotSubType:
|
|
240
|
+
function M(c) {
|
|
241
|
+
const { rawData: e, outRow: t, config: n, boxPlotSubType: a, fieldList: o } = c, i = K(n), m = X(n), r = I(n);
|
|
235
242
|
let f = B.Outlier;
|
|
236
|
-
const F =
|
|
237
|
-
switch (
|
|
243
|
+
const F = $;
|
|
244
|
+
switch (a) {
|
|
238
245
|
case d.BoxPlotMonoFieldAndCategory: {
|
|
239
246
|
const s = C({
|
|
240
|
-
field:
|
|
241
|
-
value: e[
|
|
247
|
+
field: i,
|
|
248
|
+
value: e[i],
|
|
242
249
|
fieldList: o
|
|
243
250
|
});
|
|
244
|
-
t[
|
|
251
|
+
t[i] = s, t[p(B.Outlier)] = e[f];
|
|
245
252
|
break;
|
|
246
253
|
}
|
|
247
254
|
case d.BoxPlotMultiFieldsAndCategory: {
|
|
248
|
-
t[
|
|
249
|
-
(
|
|
250
|
-
) ?? ""}_${f}`, t[
|
|
255
|
+
t[p(i)] = e[i], f = `${m.find(
|
|
256
|
+
(u) => Object.keys(e).some((l) => l.toLowerCase().includes(u.toLowerCase()))
|
|
257
|
+
) ?? ""}_${f}`, t[p(B.Outlier)] = e[f];
|
|
251
258
|
break;
|
|
252
259
|
}
|
|
253
260
|
case d.BoxPlotMonoFieldAndSplitBy:
|
|
254
261
|
case d.BoxPlotMultiFieldsAndSplitBy: {
|
|
255
262
|
const s = e[r];
|
|
256
|
-
f = `${s}_${f}`, t.Field = e[F], t[
|
|
263
|
+
f = `${s}_${f}`, t.Field = e[F], t[p(r)] = s, t[p(B.Outlier)] = e[f];
|
|
257
264
|
break;
|
|
258
265
|
}
|
|
259
266
|
case d.BoxPlotMonoFieldAndCategoryAndSplitBy: {
|
|
260
267
|
const s = e[r];
|
|
261
|
-
f = `${s}_${f}`, t[
|
|
268
|
+
f = `${s}_${f}`, t[p(i)] = e[i], t[p(r)] = s, t[p(B.Outlier)] = e[f];
|
|
262
269
|
break;
|
|
263
270
|
}
|
|
264
271
|
case d.BoxPlotMonoField:
|
|
265
272
|
case d.BoxPlotMultiFields:
|
|
266
273
|
default: {
|
|
267
|
-
t.Field = e[F], t[
|
|
274
|
+
t.Field = e[F], t[p(B.Outlier)] = e[f];
|
|
268
275
|
break;
|
|
269
276
|
}
|
|
270
277
|
}
|
|
271
|
-
const
|
|
272
|
-
y !== void 0 && (t[`${
|
|
278
|
+
const g = `${f}${N}`, y = e[g];
|
|
279
|
+
y !== void 0 && (t[`${p(B.Outlier)} Z-Score`] = h(y) ? y.toFixed(2) : y);
|
|
273
280
|
}
|
|
274
|
-
function
|
|
275
|
-
const { rawData: e, outRow: t, config: n, splitByValue:
|
|
281
|
+
function xe(c) {
|
|
282
|
+
const { rawData: e, outRow: t, config: n, splitByValue: a } = c, o = w(n.series), i = e[`${a}_${B.Average}`], m = I(n), r = K(n);
|
|
276
283
|
let f = "";
|
|
277
284
|
switch (o) {
|
|
278
285
|
case d.BoxPlotMonoFieldAndSplitBy: {
|
|
279
|
-
f = `${
|
|
286
|
+
f = `${a}_${m}`, t.Field = e[$], t[p(m)] = e[f];
|
|
280
287
|
break;
|
|
281
288
|
}
|
|
282
289
|
case d.BoxPlotMultiFieldsAndSplitBy: {
|
|
283
|
-
f = `${
|
|
290
|
+
f = `${a}_${B.Average}`, t.Field = e[$], t[p(m)] = e[f];
|
|
284
291
|
break;
|
|
285
292
|
}
|
|
286
293
|
case d.BoxPlotMonoFieldAndCategoryAndSplitBy: {
|
|
287
|
-
f = `${
|
|
294
|
+
f = `${a}_${B.Average}`, t[r] = e[r], t[p(m)] = a;
|
|
288
295
|
break;
|
|
289
296
|
}
|
|
290
297
|
}
|
|
291
|
-
t[
|
|
292
|
-
const F = `${
|
|
293
|
-
|
|
298
|
+
t[p(B.Average)] = h(i) ? i.toFixed(2) : i;
|
|
299
|
+
const F = `${i}${N}`, g = e[F];
|
|
300
|
+
g !== void 0 && (t[`${p(B.Average)} Z-Score`] = h(g) ? g.toFixed(2) : g);
|
|
294
301
|
}
|
|
295
|
-
function
|
|
296
|
-
const { config: e, rows: t, fieldList: n } =
|
|
297
|
-
let o =
|
|
298
|
-
const
|
|
299
|
-
|
|
300
|
-
const r =
|
|
302
|
+
function be(c) {
|
|
303
|
+
const { config: e, rows: t, fieldList: n } = c, a = w(e.series);
|
|
304
|
+
let o = a;
|
|
305
|
+
const i = te(e), m = Array.isArray(t) && t.length > 0 && t.every((s) => s[A.boxPlot.boxPlotMeanLineMarkerId] !== void 0);
|
|
306
|
+
i && !m && (a === d.BoxPlotMonoFieldAndSplitBy ? o = d.BoxPlotMonoField : a === d.BoxPlotMultiFieldsAndSplitBy ? o = d.BoxPlotMultiFields : a === d.BoxPlotMonoFieldAndCategoryAndSplitBy && (o = d.BoxPlotMonoFieldAndCategory));
|
|
307
|
+
const r = K(e), f = X(e), F = Y(e), g = I(e);
|
|
301
308
|
let y;
|
|
302
309
|
switch (o) {
|
|
303
310
|
case d.BoxPlotMonoField:
|
|
304
311
|
case d.BoxPlotMonoFieldAndCategory: {
|
|
305
312
|
y = t.map((s) => {
|
|
306
|
-
const
|
|
307
|
-
if (s[
|
|
308
|
-
|
|
313
|
+
const u = {};
|
|
314
|
+
if (s[A.boxPlot.boxPlotOutlierId])
|
|
315
|
+
M({ rawData: s, outRow: u, config: e, boxPlotSubType: o });
|
|
309
316
|
else {
|
|
310
317
|
if (o === d.BoxPlotMonoFieldAndCategory) {
|
|
311
318
|
const l = C({
|
|
@@ -313,33 +320,33 @@ function ge(u) {
|
|
|
313
320
|
value: s[r],
|
|
314
321
|
fieldList: n
|
|
315
322
|
});
|
|
316
|
-
|
|
317
|
-
} else o === d.BoxPlotMonoField && (
|
|
318
|
-
|
|
323
|
+
u[r] = l;
|
|
324
|
+
} else o === d.BoxPlotMonoField && (u.Field = s[$]);
|
|
325
|
+
v({ rawData: s, outRow: u });
|
|
319
326
|
}
|
|
320
|
-
return
|
|
327
|
+
return u;
|
|
321
328
|
});
|
|
322
329
|
break;
|
|
323
330
|
}
|
|
324
331
|
case d.BoxPlotMultiFields: {
|
|
325
332
|
y = t.flatMap((s) => {
|
|
326
|
-
const
|
|
327
|
-
return s[
|
|
333
|
+
const u = {};
|
|
334
|
+
return s[A.boxPlot.boxPlotOutlierId] ? M({
|
|
328
335
|
rawData: s,
|
|
329
|
-
outRow:
|
|
336
|
+
outRow: u,
|
|
330
337
|
config: e,
|
|
331
338
|
boxPlotSubType: o
|
|
332
|
-
}) : (
|
|
339
|
+
}) : (u.Field = s[$], v({ rawData: s, outRow: u })), [u];
|
|
333
340
|
});
|
|
334
341
|
break;
|
|
335
342
|
}
|
|
336
343
|
case d.BoxPlotMultiFieldsAndCategory: {
|
|
337
344
|
y = t.flatMap(
|
|
338
|
-
(s) => f.map((
|
|
345
|
+
(s) => f.map((u) => {
|
|
339
346
|
const l = {};
|
|
340
347
|
let x = "";
|
|
341
|
-
if (l.Field =
|
|
342
|
-
|
|
348
|
+
if (l.Field = u, s[A.boxPlot.boxPlotOutlierId])
|
|
349
|
+
M({
|
|
343
350
|
rawData: s,
|
|
344
351
|
outRow: l,
|
|
345
352
|
config: e,
|
|
@@ -352,9 +359,9 @@ function ge(u) {
|
|
|
352
359
|
value: s[r],
|
|
353
360
|
fieldList: n
|
|
354
361
|
});
|
|
355
|
-
l[r] = b, x = `${
|
|
362
|
+
l[r] = b, x = `${u}_`;
|
|
356
363
|
}
|
|
357
|
-
|
|
364
|
+
v({ rawData: s, outRow: l, keyBase: x });
|
|
358
365
|
}
|
|
359
366
|
return l;
|
|
360
367
|
})
|
|
@@ -365,23 +372,23 @@ function ge(u) {
|
|
|
365
372
|
case d.BoxPlotMultiFieldsAndSplitBy:
|
|
366
373
|
case d.BoxPlotMonoFieldAndCategoryAndSplitBy: {
|
|
367
374
|
y = t.flatMap((s) => {
|
|
368
|
-
if (s[
|
|
369
|
-
const
|
|
370
|
-
return
|
|
375
|
+
if (s[A.boxPlot.boxPlotOutlierId]) {
|
|
376
|
+
const u = {};
|
|
377
|
+
return M({
|
|
371
378
|
rawData: s,
|
|
372
|
-
outRow:
|
|
379
|
+
outRow: u,
|
|
373
380
|
config: e,
|
|
374
381
|
boxPlotSubType: o
|
|
375
|
-
}), [
|
|
376
|
-
} else return s[
|
|
382
|
+
}), [u];
|
|
383
|
+
} else return s[A.boxPlot.boxPlotMeanLineMarkerId] ? F?.map((u) => {
|
|
377
384
|
const l = {};
|
|
378
|
-
return
|
|
385
|
+
return xe({
|
|
379
386
|
rawData: s,
|
|
380
387
|
outRow: l,
|
|
381
|
-
splitByValue:
|
|
388
|
+
splitByValue: u,
|
|
382
389
|
config: e
|
|
383
390
|
}), l;
|
|
384
|
-
}) : F.map((
|
|
391
|
+
}) : F.map((u) => {
|
|
385
392
|
const l = {};
|
|
386
393
|
if (o === d.BoxPlotMonoFieldAndCategoryAndSplitBy) {
|
|
387
394
|
const x = C({
|
|
@@ -391,12 +398,12 @@ function ge(u) {
|
|
|
391
398
|
});
|
|
392
399
|
l[r] = x;
|
|
393
400
|
}
|
|
394
|
-
return s[
|
|
401
|
+
return s[A.boxPlot.boxPlotOutlierId] ? M({
|
|
395
402
|
rawData: s,
|
|
396
403
|
outRow: l,
|
|
397
404
|
config: e,
|
|
398
405
|
boxPlotSubType: o
|
|
399
|
-
}) : (l[
|
|
406
|
+
}) : (l[g] = u, v({ rawData: s, outRow: l, keyBase: `${u}_` })), l;
|
|
400
407
|
});
|
|
401
408
|
});
|
|
402
409
|
break;
|
|
@@ -406,20 +413,25 @@ function ge(u) {
|
|
|
406
413
|
}
|
|
407
414
|
return y;
|
|
408
415
|
}
|
|
409
|
-
const
|
|
416
|
+
const Be = (c) => {
|
|
410
417
|
let e = !1;
|
|
411
|
-
return (typeof
|
|
412
|
-
}, C = (
|
|
413
|
-
const { field: e, value: t, fieldList: n } =
|
|
414
|
-
let
|
|
415
|
-
return n !== void 0 && n.length > 0 && (
|
|
418
|
+
return (typeof c == "string" || typeof c == "number") && (e = !Number.isNaN(new Date(c).getTime())), e;
|
|
419
|
+
}, C = (c) => {
|
|
420
|
+
const { field: e, value: t, fieldList: n } = c;
|
|
421
|
+
let a = !1;
|
|
422
|
+
return n !== void 0 && n.length > 0 && (a = J(n).some((i) => i === e)), Be(t) && a ? new Date(t).toISOString() : t;
|
|
416
423
|
};
|
|
424
|
+
function Ie(c) {
|
|
425
|
+
return k(c, de);
|
|
426
|
+
}
|
|
417
427
|
export {
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
428
|
+
Ve as D,
|
|
429
|
+
ke as L,
|
|
430
|
+
fe as a,
|
|
431
|
+
Ne as b,
|
|
432
|
+
Ie as g,
|
|
433
|
+
Re as h,
|
|
434
|
+
Oe as m,
|
|
435
|
+
Te as s,
|
|
436
|
+
Ke as t
|
|
425
437
|
};
|
|
@@ -4,10 +4,10 @@ import { default as SceneView } from '@arcgis/core/views/SceneView';
|
|
|
4
4
|
import { default as FeatureLayerView } from '@arcgis/core/views/layers/FeatureLayerView';
|
|
5
5
|
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
6
6
|
import { PropertyValues } from 'lit';
|
|
7
|
-
import { SupportedLayer, WebChart, WebChartDataFilters, WebChartDataTypes, WebChartLegendPositions } from '../../spec';
|
|
8
7
|
import { AxisLabelFormatCallback, ChartOptions, GaugeInnerLabelFormatCallback, GuideTooltipFormatCallback, NotifyOptions, PieChartLegendValueLabelFormatCallback, PreRenderCallback } from '../../chart-rendering/common/interfaces';
|
|
9
8
|
import { CSVOptions } from '../../interfaces';
|
|
10
9
|
import { ChartModel } from '../../model';
|
|
10
|
+
import { SupportedLayer, WebChart, WebChartDataFilters, WebChartDataTypes, WebChartLegendPositions } from '../../spec';
|
|
11
11
|
import { ActionModes, ChartElementLimit, CursorRange, DataWarningObject, LoaderColors, SelectionData, SelectionTheme, ValidationStatus, ErrorPolicy, LayerFieldsChangePolicy, LayerFilterChangePolicy, LayerRendererChangePolicy, SyncSelectionsBetweenChartAndLayerViewPolicy, ViewTimeExtentChangePolicy } from '../../utils';
|
|
12
12
|
import { AxesMinMaxChangePayload, DataProcessCompletePayload, LegendItemVisibilityChangePayload, NoRenderPropChangePayload, SelectionCompletePayload, SeriesColorChangePayload } from '../../utils/components/event-payloads';
|
|
13
13
|
import { MissingSplitBySeriesProps, DownloadableChartImagesTypes } from '../../utils/components/interfaces';
|