@arcgis/charts-components 5.0.0-next.23 → 5.0.0-next.25
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/2LB3RGCX.js +4 -0
- package/dist/cdn/{7CSI47XV.js → 2QHQE5ZV.js} +2 -2
- package/dist/cdn/{RF2GZQBP.js → 32B7NK6R.js} +2 -2
- package/dist/cdn/{6PX7WRBS.js → 35QHLP4X.js} +2 -2
- package/dist/cdn/{WWIJWOTL.js → 3C6YVITK.js} +2 -2
- package/dist/cdn/{EONFJMJM.js → 3FJHINHH.js} +2 -2
- package/dist/cdn/3Q7PB3LZ.js +4 -0
- package/dist/cdn/3RKBJ6L2.js +4 -0
- package/dist/cdn/3RYYZSRU.js +4 -0
- package/dist/cdn/{NXOOVNCR.js → 3SYITQYV.js} +2 -2
- package/dist/cdn/3TJOPIWT.js +4 -0
- package/dist/cdn/3TPQMYHS.js +4 -0
- package/dist/cdn/3TV225BG.js +4 -0
- package/dist/cdn/{PGHOHWP5.js → 43K7C6JR.js} +2 -2
- package/dist/cdn/45X2Z32E.js +4 -0
- package/dist/cdn/46K3WYDV.js +4 -0
- package/dist/cdn/4DOKD2PJ.js +4 -0
- package/dist/cdn/{UQ54R7IO.js → 4R3F6EZP.js} +2 -2
- package/dist/cdn/{MHXTRGQE.js → 4RUT2SR2.js} +2 -2
- package/dist/cdn/4TE7E3FG.js +4 -0
- package/dist/cdn/{KCQ5OWCV.js → 4UB2QVG6.js} +2 -2
- package/dist/cdn/4Y5AMAWC.js +4 -0
- package/dist/cdn/{OX36PHC5.js → 5DSVWFO4.js} +2 -2
- package/dist/cdn/{WMJQMUZ2.js → 5EXRVJCQ.js} +2 -2
- package/dist/cdn/{XQZVOJCY.js → 5G7W5QPH.js} +2 -2
- package/dist/cdn/5JKSTD6R.js +4 -0
- package/dist/cdn/5QBWWBML.js +4 -0
- package/dist/cdn/{QVSF6LVO.js → 5SPRKODR.js} +2 -2
- package/dist/cdn/{HUDW7ICC.js → 67ZNPNGE.js} +2 -2
- package/dist/cdn/{RY7PWV56.js → 6BRXDDYM.js} +2 -2
- package/dist/cdn/6I6K3QGT.js +4 -0
- package/dist/cdn/{DDDYIA2P.js → 6LLNOAGJ.js} +2 -2
- package/dist/cdn/{MTEFTSUR.js → 6MZOYT57.js} +2 -2
- package/dist/cdn/{SH45OG27.js → 6OEAGHL2.js} +2 -2
- package/dist/cdn/{PHY23JIN.js → 6RGIMYPD.js} +2 -2
- package/dist/cdn/{QY3DCJBW.js → 72OFDENI.js} +1 -1
- package/dist/cdn/{2K7THD3M.js → 74H4ZG6R.js} +2 -2
- package/dist/cdn/75N7C7JI.js +4 -0
- package/dist/cdn/{L5SEXM73.js → 76J4FFCW.js} +2 -2
- package/dist/cdn/{P7VG7YYD.js → 7A6KBLXI.js} +1 -1
- package/dist/cdn/7A6X4UNQ.js +4 -0
- package/dist/cdn/{G4JMPXVY.js → 7BDAJJ6Z.js} +2 -2
- package/dist/cdn/7EORBKBB.js +4 -0
- package/dist/cdn/7KPTBFCN.js +4 -0
- package/dist/cdn/{QCRE3DFH.js → 7MXO4NEX.js} +2 -2
- package/dist/cdn/7RWLWUMJ.js +4 -0
- package/dist/cdn/7T7SC5AV.js +4 -0
- package/dist/cdn/{X7BBKKUS.js → 7WPDZ2C4.js} +2 -2
- package/dist/cdn/{BCNZXXU6.js → 7X3LD5IZ.js} +1 -1
- package/dist/cdn/A7XANT5F.js +4 -0
- package/dist/cdn/{AR6HQJXG.js → AKCHRLIL.js} +2 -2
- package/dist/cdn/{VRMZ3LWX.js → AOCE5FFZ.js} +2 -2
- package/dist/cdn/{WH7LTP4E.js → ASCUAFX4.js} +2 -2
- package/dist/cdn/AW7V2KES.js +4 -0
- package/dist/cdn/{EHO64YGK.js → AZQ7LVAN.js} +2 -2
- package/dist/cdn/BQAIOIED.js +4 -0
- package/dist/cdn/CDJWSJC6.js +4 -0
- package/dist/cdn/{2JCNU36N.js → CEB7GZ7S.js} +2 -2
- package/dist/cdn/CEUBA74F.js +4 -0
- package/dist/cdn/CIZVARYT.js +4 -0
- package/dist/cdn/{UKFSMX2Z.js → COZQL34W.js} +2 -2
- package/dist/cdn/CR7NLXKA.js +4 -0
- package/dist/cdn/CRDWASDR.js +4 -0
- package/dist/cdn/{TJQKRWL5.js → CXMRWSIZ.js} +2 -2
- package/dist/cdn/{PIYWJG3S.js → CZIFLNHV.js} +2 -2
- package/dist/cdn/{JMKIG7KV.js → D2NMK3FP.js} +2 -2
- package/dist/cdn/D35PI53O.js +4 -0
- package/dist/cdn/{KMMW5J55.js → DI7JQVJG.js} +2 -2
- package/dist/cdn/{OJUZB35W.js → DJ6GTR4O.js} +1 -1
- package/dist/cdn/EEVHPUBR.js +4 -0
- package/dist/cdn/{QTB3K5RF.js → EJRW6EGW.js} +1 -1
- package/dist/cdn/EJTZEILW.js +4 -0
- package/dist/cdn/EKXZZLN3.js +4 -0
- package/dist/cdn/EMGK3SOB.js +4 -0
- package/dist/cdn/{5CWQ56OJ.js → EMOTDAVQ.js} +2 -2
- package/dist/cdn/{PXSDUELU.js → EMVYWLNG.js} +2 -2
- package/dist/cdn/{2Y5SQY5R.js → EN24M45A.js} +2 -2
- package/dist/cdn/{NKZLCXPO.js → ESQZYCHQ.js} +2 -2
- package/dist/cdn/{WNXSIGHQ.js → F2NYQEON.js} +2 -2
- package/dist/cdn/F4NDOVIU.js +4 -0
- package/dist/cdn/F7IZOOX6.js +4 -0
- package/dist/cdn/{P5BIHUHS.js → FGOX55C4.js} +2 -2
- package/dist/cdn/{I5GRMUSN.js → FI6MJTJ7.js} +2 -2
- package/dist/cdn/GB2H6R2N.js +4 -0
- package/dist/cdn/GNM5FM2B.js +4 -0
- package/dist/cdn/{55E2UR6U.js → GSH7AKRI.js} +2 -2
- package/dist/cdn/H5H4IUFE.js +4 -0
- package/dist/cdn/{JEOQ45DV.js → H755SBMQ.js} +2 -2
- package/dist/cdn/{AL7IFCXO.js → HB4Q5UYO.js} +2 -2
- package/dist/cdn/{5AYQK66X.js → HF6IVBFO.js} +2 -2
- package/dist/cdn/{HB7ECJEJ.js → HOROK7TG.js} +1 -1
- package/dist/cdn/{NGBVKLRQ.js → HSHRMGXH.js} +2 -2
- package/dist/cdn/{HPFOWU4H.js → HUMRVDJF.js} +2 -2
- package/dist/cdn/ICKRZCYM.js +4 -0
- package/dist/cdn/INZSBVVV.js +6 -0
- package/dist/cdn/{OS253VZO.js → IPFHYBPD.js} +2 -2
- package/dist/cdn/{PYO4BPCU.js → IYMTY3IJ.js} +2 -2
- package/dist/cdn/{6T5G7OWG.js → IZ3WOPMB.js} +2 -2
- package/dist/cdn/{7ELEMZWW.js → J3T45KPW.js} +2 -2
- package/dist/cdn/{7DAMR4C5.js → J6KK6MQS.js} +2 -2
- package/dist/cdn/{XO2QQ7ZD.js → JTV3AI7Y.js} +2 -2
- package/dist/cdn/{NB4IFGPC.js → JWMAKM5E.js} +2 -2
- package/dist/cdn/{ML3GI3LY.js → JWPULDA2.js} +2 -2
- package/dist/cdn/{7K6TBFBK.js → K3JXMEHL.js} +2 -2
- package/dist/cdn/K3VTWIQG.js +4 -0
- package/dist/cdn/{ORFL4XTM.js → K3WP2LQE.js} +2 -2
- package/dist/cdn/{T4L5EGZ3.js → KABVDMTW.js} +2 -2
- package/dist/cdn/{LNPRAH5D.js → KDN7BZCU.js} +2 -2
- package/dist/cdn/{DOADITCW.js → KIPLWMVF.js} +2 -2
- package/dist/cdn/KKHS7OIE.js +4 -0
- package/dist/cdn/L4BTIOVR.js +4 -0
- package/dist/cdn/M6Z7ZJQN.js +4 -0
- package/dist/cdn/{Z7YAQKV4.js → MBRUS43Y.js} +2 -2
- package/dist/cdn/MDO63QDR.js +4 -0
- package/dist/cdn/{PLMOPHUD.js → MERBZPAQ.js} +2 -2
- package/dist/cdn/{GPQ2HBJD.js → MGIDKJ5W.js} +2 -2
- package/dist/cdn/MKNYQDY3.js +4 -0
- package/dist/cdn/{74RHJ4FH.js → MOFU52CO.js} +1 -1
- package/dist/cdn/MPO2CG2I.js +4 -0
- package/dist/cdn/{L5PXS6IU.js → MRW4UOEY.js} +2 -2
- package/dist/cdn/{CDQUD4KN.js → MUHVLWHH.js} +2 -2
- package/dist/cdn/{XTVC3SKV.js → NAJXUNKP.js} +36 -36
- package/dist/cdn/NLWYRFXG.js +4 -0
- package/dist/cdn/{A6DFKP5C.js → NZSUFDK3.js} +2 -2
- package/dist/cdn/{4WJHOV5L.js → OA3P34QU.js} +2 -2
- package/dist/cdn/{NSWNB22O.js → OAGPJLGD.js} +2 -2
- package/dist/cdn/{AQOJCPFP.js → OAL6QA5E.js} +2 -2
- package/dist/cdn/{C3XAV5ID.js → OEJE4ABW.js} +2 -2
- package/dist/cdn/{P3FKOD5N.js → OINUS33V.js} +2 -2
- package/dist/cdn/{CJU7OKTQ.js → ORAYWZKT.js} +2 -2
- package/dist/cdn/P5RXZSM4.js +4 -0
- package/dist/cdn/{M22LGT54.js → P6N5KDDW.js} +2 -2
- package/dist/cdn/{FGPB2VT7.js → P6UGNK7R.js} +2 -2
- package/dist/cdn/{LE3BERPI.js → PUF3ZU5M.js} +2 -2
- package/dist/cdn/PZRBGFH5.js +42 -0
- package/dist/cdn/QBEZUHOL.js +4 -0
- package/dist/cdn/QDW5QZEF.js +4 -0
- package/dist/cdn/{6G7Y2NQY.js → QJCFDPZC.js} +2 -2
- package/dist/cdn/{EQBMNUA2.js → R2Q2YLNS.js} +2 -2
- package/dist/cdn/{BPUC4TEG.js → R7HAJMO7.js} +2 -2
- package/dist/cdn/RX5EFKRL.js +4 -0
- package/dist/cdn/{QNAGU4JT.js → RYZWXIOS.js} +2 -2
- package/dist/cdn/S3WGYGWC.js +4 -0
- package/dist/cdn/{ES5CUH52.js → S3ZKXFOV.js} +2 -2
- package/dist/cdn/SEMKG6JB.js +4 -0
- package/dist/cdn/TBK43SY3.js +4 -0
- package/dist/cdn/{QJJUIDXT.js → TD4HFT33.js} +2 -2
- package/dist/cdn/U54YBH6Y.js +4 -0
- package/dist/cdn/{UCEIVMFK.js → UB2EO5RR.js} +2 -2
- package/dist/cdn/{N5ZSVQNE.js → UD4DWQF3.js} +2 -2
- package/dist/cdn/{ZWP2J7OP.js → UEOUFYUT.js} +2 -2
- package/dist/cdn/{FJVGGF5W.js → UNJKYANY.js} +2 -2
- package/dist/cdn/UTZJQMHC.js +4 -0
- package/dist/cdn/{VEHFBMAW.js → UWHXT675.js} +2 -2
- package/dist/cdn/{ZRNOQOVE.js → V2OYZLMZ.js} +2 -2
- package/dist/cdn/V3EIGRDD.js +4 -0
- package/dist/cdn/{62ZJW3ZL.js → VCVYYFAX.js} +2 -2
- package/dist/cdn/{C6KGARTB.js → VDNYLGYI.js} +2 -2
- package/dist/cdn/{A2AVCME4.js → VL2T33M5.js} +2 -2
- package/dist/cdn/{SPGULS5J.js → VM2A3I7Q.js} +2 -2
- package/dist/cdn/{5NPFIH5R.js → VO4ON3SF.js} +2 -2
- package/dist/cdn/{KKIY5PON.js → VRFN3WIT.js} +2 -2
- package/dist/cdn/{IFD7LKUW.js → VS7K4KWZ.js} +2 -2
- package/dist/cdn/{OSVYRQYR.js → W6USKCF7.js} +2 -2
- package/dist/cdn/WBNROLN6.js +4 -0
- package/dist/cdn/{HENQDR66.js → WFR2W32S.js} +1 -1
- package/dist/cdn/{67IIXQZW.js → WFUJ7JUL.js} +2 -2
- package/dist/cdn/{U76BGC5L.js → WPIJIAWT.js} +2 -2
- package/dist/cdn/WRN5VLSI.js +4 -0
- package/dist/cdn/WVUU435P.js +4 -0
- package/dist/cdn/{Q5QOYEXH.js → XIQY3RRR.js} +1 -1
- package/dist/cdn/{U4LFUA7H.js → XJSLSWVF.js} +2 -2
- package/dist/cdn/{W32WOR7O.js → XMPJNFMX.js} +2 -2
- package/dist/cdn/XRNAWRF2.js +4 -0
- package/dist/cdn/YBKEWO6S.js +4 -0
- package/dist/cdn/{X4V2I2UN.js → YJ3H2CGT.js} +2 -2
- package/dist/cdn/{UYWVGJ7N.js → YR6JAFUZ.js} +2 -2
- package/dist/cdn/{CUJ7HTP2.js → Z2XWCH7X.js} +2 -2
- package/dist/cdn/ZMPDMIMG.js +4 -0
- package/dist/cdn/{BCAHE4CH.js → ZTW3KFKM.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 -21895
- 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 +48 -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 +6793 -6793
- 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/serial-chart-model/serial-chart-model.d.ts +4 -0
- 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/2CNOZVQC.js +0 -4
- package/dist/cdn/3IGDV4ZR.js +0 -4
- package/dist/cdn/3L36ZXPY.js +0 -4
- package/dist/cdn/3QPH5D7P.js +0 -4
- package/dist/cdn/43MAKNY3.js +0 -4
- package/dist/cdn/4C5MBPZX.js +0 -4
- package/dist/cdn/4ZZOUYL4.js +0 -4
- package/dist/cdn/52DGPYON.js +0 -4
- package/dist/cdn/54XUDOYF.js +0 -4
- package/dist/cdn/55HXOCTO.js +0 -4
- package/dist/cdn/5ABO5FLN.js +0 -4
- package/dist/cdn/5CFVTVNZ.js +0 -4
- package/dist/cdn/5QTNWB6M.js +0 -4
- package/dist/cdn/5R3UNDPR.js +0 -4
- package/dist/cdn/7GCROMZ3.js +0 -4
- package/dist/cdn/7QOUCRNR.js +0 -4
- package/dist/cdn/B5CVWRBC.js +0 -4
- package/dist/cdn/BSVWOFVL.js +0 -4
- package/dist/cdn/BTJDBHCA.js +0 -4
- package/dist/cdn/CBCBPNHH.js +0 -4
- package/dist/cdn/CNH6TZ77.js +0 -6
- package/dist/cdn/DBITGGFE.js +0 -4
- package/dist/cdn/DGOZ66IX.js +0 -4
- package/dist/cdn/DGQV2WQU.js +0 -4
- package/dist/cdn/E2JQ5WXV.js +0 -4
- package/dist/cdn/EAM5GJBT.js +0 -4
- package/dist/cdn/EBZWRTY5.js +0 -4
- package/dist/cdn/EYK5L3UK.js +0 -4
- package/dist/cdn/FM2Y235W.js +0 -4
- package/dist/cdn/FMPXNTO4.js +0 -4
- package/dist/cdn/FOAZUMOO.js +0 -4
- package/dist/cdn/FT34C2M6.js +0 -4
- package/dist/cdn/FTMWG3KU.js +0 -4
- package/dist/cdn/H3RCVBHM.js +0 -4
- package/dist/cdn/HJC3VAP6.js +0 -4
- package/dist/cdn/I25IEX6C.js +0 -4
- package/dist/cdn/IA4RH3OE.js +0 -4
- package/dist/cdn/IDULS6KH.js +0 -4
- package/dist/cdn/IDVGADCW.js +0 -4
- package/dist/cdn/IKRO5KIH.js +0 -4
- package/dist/cdn/ILBO3YRY.js +0 -4
- package/dist/cdn/IZOTLMFR.js +0 -4
- package/dist/cdn/J6LAGYZB.js +0 -4
- package/dist/cdn/JPTGILNV.js +0 -4
- package/dist/cdn/JVNPGZSH.js +0 -4
- package/dist/cdn/JW6FA2AV.js +0 -42
- package/dist/cdn/KNPOBWLH.js +0 -4
- package/dist/cdn/KWFPH3L3.js +0 -4
- package/dist/cdn/LH3D2GKS.js +0 -4
- package/dist/cdn/M7NOPC4L.js +0 -4
- package/dist/cdn/MGKSVOOU.js +0 -4
- package/dist/cdn/MKNUPWSR.js +0 -4
- package/dist/cdn/N2EBAIZA.js +0 -4
- package/dist/cdn/NBIS6UXR.js +0 -4
- package/dist/cdn/OCDA44TP.js +0 -4
- package/dist/cdn/ODC2XNQX.js +0 -4
- package/dist/cdn/OII65FLB.js +0 -4
- package/dist/cdn/OIMAZMSL.js +0 -4
- package/dist/cdn/PXDQQOJT.js +0 -4
- package/dist/cdn/QLNYATU6.js +0 -4
- package/dist/cdn/RU43A6Z2.js +0 -4
- package/dist/cdn/T66G6T3M.js +0 -4
- package/dist/cdn/UBL4ASS3.js +0 -4
- package/dist/cdn/UP6DQ7D2.js +0 -4
- package/dist/cdn/VL74YRA6.js +0 -4
- package/dist/cdn/VZYTA244.js +0 -4
- package/dist/cdn/WPBN6EQO.js +0 -4
- package/dist/cdn/X5M6F4RY.js +0 -4
- package/dist/cdn/ZOJAWFEL.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.25 */
|
|
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';
|