@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
|
@@ -4,18 +4,26 @@ import "@arcgis/toolkit/intl";
|
|
|
4
4
|
import "lodash-es";
|
|
5
5
|
import { W as x } from "../../chunks/series-types.js";
|
|
6
6
|
import "d3-array";
|
|
7
|
-
import "../../chunks/
|
|
7
|
+
import { Y as $ } from "../../chunks/index.js";
|
|
8
|
+
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
9
|
+
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
10
|
+
import "@arcgis/core/Graphic.js";
|
|
11
|
+
import "@arcgis/core/intl.js";
|
|
12
|
+
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
13
|
+
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
14
|
+
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
15
|
+
import "simple-statistics";
|
|
16
|
+
import "@arcgis/core/request.js";
|
|
17
|
+
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
8
18
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
9
19
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
10
20
|
import "@arcgis/core/rest/support/Query.js";
|
|
11
21
|
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
12
22
|
import "@arcgis/core/time/TimeExtent.js";
|
|
13
23
|
import "@arcgis/core/core/promiseUtils.js";
|
|
14
|
-
import "@arcgis/core/request.js";
|
|
15
|
-
import { A as $ } from "../../chunks/interfaces2.js";
|
|
16
24
|
import "@arcgis/toolkit/dom";
|
|
17
|
-
import { A as t, a as o, D as e } from "../../chunks/
|
|
18
|
-
import { f as E } from "../../chunks/
|
|
25
|
+
import { A as t, a as o, D as e } from "../../chunks/index4.js";
|
|
26
|
+
import { f as E } from "../../chunks/interfaces.js";
|
|
19
27
|
import { g as z } from "../../chunks/action-bar-utils.js";
|
|
20
28
|
import { u as b } from "../../chunks/useT9n.js";
|
|
21
29
|
import { createRef as C, ref as y } from "lit/directives/ref.js";
|
|
@@ -23,7 +31,7 @@ import { LitElement as O, renderElement as B, safeStyleMap as D, createEvent as
|
|
|
23
31
|
import { d as n } from "../../chunks/chart-ui-utils2.js";
|
|
24
32
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
25
33
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
26
|
-
v5.0.0-next.
|
|
34
|
+
v5.0.0-next.25 */
|
|
27
35
|
function V(h) {
|
|
28
36
|
return h?.tagName.toLowerCase() === "arcgis-chart";
|
|
29
37
|
}
|
|
@@ -132,11 +140,11 @@ class N extends O {
|
|
|
132
140
|
})));
|
|
133
141
|
}
|
|
134
142
|
renderDefaultActions() {
|
|
135
|
-
const c = z(this.chartType).filter((I) => !this.hiddenActions?.includes(I)), a = this.chartElement?.layer && "isTable" in this.chartElement.layer ? this.chartElement.layer.isTable : !1, i = c.includes(e.EditChart), r = c.includes(e.Legend), d = c.includes(e.RotateChart), g = c.includes(e.FilterBySelection), m = c.includes(e.FilterByExtent) && !a, p = c.includes(e.Zoom),
|
|
143
|
+
const c = z(this.chartType).filter((I) => !this.hiddenActions?.includes(I)), a = this.chartElement?.layer && "isTable" in this.chartElement.layer ? this.chartElement.layer.isTable : !1, i = c.includes(e.EditChart), r = c.includes(e.Legend), d = c.includes(e.RotateChart), g = c.includes(e.FilterBySelection), m = c.includes(e.FilterByExtent) && !a, p = c.includes(e.Zoom), u = c.includes(e.Selection), A = c.includes(e.ClearSelection), v = c.includes(e.FullExtent), f = c.includes(e.SwitchSelection), T = c.includes(e.ExportAsImage), S = c.includes(e.ExportAsCSV);
|
|
136
144
|
return [
|
|
137
145
|
r || d ? l`<calcite-action-group>${i ? l`<div @mouseover=${this.handleMouseOver}><calcite-action id=${e.EditChart ?? s} icon=gear .text=${this.commonStrings?.utilsStrings.actions?.editChart ?? ""} .active=${this.editChartToggle === t.Active} .disabled=${this.editChartState === o.Disabled || this.forceDisableActions} @click=${this.onDefaultActionClick}></calcite-action></div>` : null}${r ? l`<div @mouseover=${this.handleMouseOver}><calcite-action id=${e.Legend ?? s} .text=${this.legendTitle ?? this._messages?.legend ?? ""} .active=${this.legendToggle === t.Active} .disabled=${this.legendState === o.Disabled || this.forceDisableActions} @click=${this.onDefaultActionClick}><calcite-icon icon=legend scale=s flip-rtl></calcite-icon></calcite-action></div>` : null}${d ? l`<div @mouseover=${this.handleMouseOver}><calcite-action id=${e.RotateChart ?? s} icon=rotate .text=${this.rotateChartTitle ?? this._messages?.rotateChart ?? ""} .active=${this.rotateChartToggle === t.Active} .disabled=${this.rotateChartState === o.Disabled || this.forceDisableActions} @click=${this.onDefaultActionClick}></calcite-action></div>` : null}</calcite-action-group>` : null,
|
|
138
146
|
g || m ? l`<calcite-action-group>${g ? l`<div @mouseover=${this.handleMouseOver}><calcite-action id=${e.FilterBySelection ?? s} icon=selection-filter .text=${this.filterBySelectionTitle ?? this._messages?.filterBySelection ?? ""} .active=${this.filterBySelectionToggle === t.Active} .disabled=${this.filterBySelectionState === o.Disabled || this.forceDisableActions} @click=${this.onDefaultActionClick}></calcite-action></div>` : null}${m ? l`<div @mouseover=${this.handleMouseOver}><calcite-action id=${e.FilterByExtent ?? s} icon=extent-filter .text=${this.filterByExtentTitle ?? this._messages?.filterByExtent ?? ""} .active=${this.filterByExtentToggle === t.Active} .disabled=${this.filterByExtentState === o.Disabled || this.forceDisableActions} @click=${this.onDefaultActionClick}></calcite-action></div>` : null}</calcite-action-group>` : null,
|
|
139
|
-
|
|
147
|
+
u || p || v || A || f ? l`<calcite-action-group>${p ? l`<div @mouseover=${this.handleMouseOver}><calcite-action id=${e.Zoom ?? s} icon=magnifying-glass .text=${this.zoomTitle ?? this._messages?.zoom ?? ""} .active=${this.zoomToggle === t.Active} .disabled=${this.zoomState === o.Disabled || this.forceDisableActions} @click=${this.onDefaultActionClick}></calcite-action></div>` : null}${u ? l`<div @mouseover=${this.handleMouseOver}><calcite-action id=${e.Selection ?? s} icon=cursor-selection .text=${this.selectionTitle ?? this._messages?.selection ?? ""} .active=${this.selectionToggle === t.Active} .disabled=${this.selectionState === o.Disabled || this.forceDisableActions} @click=${this.onDefaultActionClick}></calcite-action></div>` : null}${A ? l`<div @mouseover=${this.handleMouseOver}><calcite-action id=${e.ClearSelection ?? s} icon=erase .text=${this.clearSelectionTitle ?? this._messages?.clearSelection ?? ""} .active=${this.clearSelectionToggle === t.Active} .disabled=${this.clearSelectionState === o.Disabled || this.forceDisableActions} @click=${this.onDefaultActionClick}></calcite-action></div>` : null}${v ? l`<div @mouseover=${this.handleMouseOver}><calcite-action id=${e.FullExtent ?? s} icon=zoom-out-fixed .text=${this.fullExtentTitle ?? this._messages?.fullExtent ?? ""} .active=${this.fullExtentToggle === t.Active} .disabled=${this.fullExtentState === o.Disabled || this.forceDisableActions} @click=${this.onDefaultActionClick}></calcite-action></div>` : null}${f ? l`<div @mouseover=${this.handleMouseOver}><calcite-action id=${e.SwitchSelection ?? s} icon=arrow-right-left .text=${this.switchSelectionTitle ?? this._messages?.switchSelection ?? ""} .active=${this.switchSelectionToggle === t.Active} .disabled=${this.switchSelectionState === o.Disabled || this.forceDisableActions} @click=${this.onDefaultActionClick}></calcite-action></div>` : null}</calcite-action-group>` : null,
|
|
140
148
|
T || S ? l`<calcite-action-menu .label=${this._messages?.export ?? ""} ${y(this.exportCalciteActionBar)}><calcite-action id=export icon=export .text=${this._messages?.export ?? ""} .disabled=${this.exportActionState === o.Disabled || this.forceDisableActions} @mouseover=${this.handleMouseOver} slot=trigger></calcite-action>${T ? l`<div><calcite-action id=${e.ExportAsImage ?? s} icon=graph-bar .text=${this.exportAsImageTitle ?? this._messages?.exportAsImage ?? ""} .disabled=${this.exportAsImageState === o.Disabled || this.forceDisableActions} @click=${this.onDefaultActionClick} text-enabled></calcite-action></div>` : null}${S ? l`<div><calcite-action id=${e.ExportAsCSV ?? s} icon=table .text=${this.exportAsCSVTitle ?? this._messages?.exportAsTable ?? ""} .disabled=${this.exportAsCSVState === o.Disabled || this.forceDisableActions || this.chartType && this.disableCSVExportForChartTypes.includes(this.chartType)} @click=${this.onDefaultActionClick} text-enabled></calcite-action></div>` : null}</calcite-action-menu>` : null
|
|
141
149
|
];
|
|
142
150
|
}
|
|
@@ -4,7 +4,7 @@ import { u as e } from "../../chunks/useT9n.js";
|
|
|
4
4
|
import { LitElement as d } from "@arcgis/lumina";
|
|
5
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
6
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
7
|
-
v5.0.0-next.
|
|
7
|
+
v5.0.0-next.25 */
|
|
8
8
|
const u = o`:host{display:flex;flex-direction:column;width:var(--arcgis-charts-config-calcite-block-default-width)}`;
|
|
9
9
|
class l extends d {
|
|
10
10
|
constructor() {
|
|
@@ -10,7 +10,7 @@ import { createRef as r, ref as h } from "lit/directives/ref.js";
|
|
|
10
10
|
import { LitElement as C, renderElement as I, safeClassMap as u } from "@arcgis/lumina";
|
|
11
11
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
12
12
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
13
|
-
v5.0.0-next.
|
|
13
|
+
v5.0.0-next.25 */
|
|
14
14
|
const o = {
|
|
15
15
|
linkContainer: "link-container",
|
|
16
16
|
label: "label",
|
|
@@ -3,29 +3,38 @@ import "@arcgis/toolkit/intl";
|
|
|
3
3
|
import { isEqual as r } from "lodash-es";
|
|
4
4
|
import "../../chunks/series-types.js";
|
|
5
5
|
import "d3-array";
|
|
6
|
-
import { g as n,
|
|
6
|
+
import { g as n, bx as h, bB as c } from "../../chunks/index.js";
|
|
7
|
+
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
8
|
+
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
9
|
+
import "@arcgis/core/Graphic.js";
|
|
10
|
+
import "@arcgis/core/intl.js";
|
|
11
|
+
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
12
|
+
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
13
|
+
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
14
|
+
import "simple-statistics";
|
|
15
|
+
import "@arcgis/core/request.js";
|
|
16
|
+
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
7
17
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
8
18
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
9
19
|
import "@arcgis/core/rest/support/Query.js";
|
|
10
20
|
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
11
21
|
import "@arcgis/core/time/TimeExtent.js";
|
|
12
22
|
import "@arcgis/core/core/promiseUtils.js";
|
|
13
|
-
import "
|
|
14
|
-
import { b as d, h as g } from "../../chunks/index4.js";
|
|
23
|
+
import { b as d, h as m } from "../../chunks/index3.js";
|
|
15
24
|
import "@arcgis/toolkit/dom";
|
|
16
|
-
import { LitElement as
|
|
17
|
-
import { css as
|
|
18
|
-
import { C as s } from "../../chunks/
|
|
25
|
+
import { LitElement as p, createEvent as g } from "@arcgis/lumina";
|
|
26
|
+
import { css as f, html as a } from "lit";
|
|
27
|
+
import { C as s } from "../../chunks/interfaces.js";
|
|
19
28
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
20
29
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
21
|
-
v5.0.0-next.
|
|
22
|
-
const u =
|
|
23
|
-
class C extends
|
|
30
|
+
v5.0.0-next.25 */
|
|
31
|
+
const u = f`:host{margin-bottom:var(--arcgis-charts-intra-section-margin);margin-top:var(--arcgis-charts-intra-section-margin);height:100%}`;
|
|
32
|
+
class C extends p {
|
|
24
33
|
constructor() {
|
|
25
34
|
super(...arguments), this.onModelConfigChange = async (e) => {
|
|
26
35
|
const i = e?.detail.config ?? this.model.config;
|
|
27
36
|
this.layer === void 0 && await this.updateFetchLayerFieldsInfo(i);
|
|
28
|
-
}, this.activeColorMatch = !1, this.popoverPlacement = "leading", this.arcgisChartsConfigNoSeriesUpdate =
|
|
37
|
+
}, this.activeColorMatch = !1, this.popoverPlacement = "leading", this.arcgisChartsConfigNoSeriesUpdate = g();
|
|
29
38
|
}
|
|
30
39
|
static {
|
|
31
40
|
this.properties = { layerFieldsInfo: 16, activeColorMatch: 16, model: 0, timeZone: 1, popoverPlacement: 1, seriesColor: 0, calculatedMinMaxBounds: 0, page: 1, layer: 0, usePopupTemplateFieldsInfo: 5 };
|
|
@@ -42,57 +51,57 @@ class C extends m {
|
|
|
42
51
|
disconnectedCallback() {
|
|
43
52
|
super.disconnectedCallback(), this.model.removeEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange);
|
|
44
53
|
}
|
|
45
|
-
modelChange(e,
|
|
46
|
-
|
|
54
|
+
modelChange(e, t) {
|
|
55
|
+
t?.removeEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange), e?.addEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange);
|
|
47
56
|
}
|
|
48
|
-
async layerChange(e,
|
|
49
|
-
e !== void 0 && !r(
|
|
57
|
+
async layerChange(e, t) {
|
|
58
|
+
e !== void 0 && !r(t, e) && await this.updateFetchLayerFieldsInfo();
|
|
50
59
|
}
|
|
51
|
-
async usePopupTemplateFieldsInfoChange(e,
|
|
52
|
-
e !== void 0 && e !==
|
|
60
|
+
async usePopupTemplateFieldsInfoChange(e, t) {
|
|
61
|
+
e !== void 0 && e !== t && await this.updateFetchLayerFieldsInfo();
|
|
53
62
|
}
|
|
54
63
|
seriesColorChange(e) {
|
|
55
|
-
this.activeColorMatch = e?.get(0) === void 0, this.model.colorMatch && e?.forEach((
|
|
56
|
-
d(
|
|
64
|
+
this.activeColorMatch = e?.get(0) === void 0, this.model.colorMatch && e?.forEach((t, i) => {
|
|
65
|
+
d(t) && e?.get(0) !== void 0 && t?.color !== void 0 && !r(this.model.getSeriesColor(i), t?.color) && this.model.setSeriesColor(t?.color, i);
|
|
57
66
|
});
|
|
58
67
|
}
|
|
59
68
|
async updateDataFilters() {
|
|
60
|
-
const e = this.model.getDataFilters(),
|
|
61
|
-
r(
|
|
69
|
+
const e = this.model.getDataFilters(), t = e?.where, i = this.layer?.definitionExpression ?? void 0;
|
|
70
|
+
r(t, i) || await this.model.setDataFilters({
|
|
62
71
|
...e,
|
|
63
72
|
where: i
|
|
64
73
|
});
|
|
65
74
|
}
|
|
66
75
|
async updateFetchLayerFieldsInfo(e) {
|
|
67
|
-
const
|
|
76
|
+
const t = e ?? this.model.config;
|
|
68
77
|
let i = this.layer;
|
|
69
78
|
if (!i) {
|
|
70
|
-
const o =
|
|
79
|
+
const o = m(t) ? t.iLayer : void 0;
|
|
71
80
|
o && (i = await n(o));
|
|
72
81
|
}
|
|
73
82
|
i && (this.layerFieldsInfo = await h(i, this.usePopupTemplateFieldsInfo));
|
|
74
83
|
}
|
|
75
84
|
render() {
|
|
76
|
-
const e = this.layerFieldsInfo?.find((o) => o.name === this.model.xAxisField),
|
|
85
|
+
const e = this.layerFieldsInfo?.find((o) => o.name === this.model.xAxisField), t = e !== void 0 && c(e);
|
|
77
86
|
let i;
|
|
78
87
|
switch (this.page) {
|
|
79
88
|
case s.Data:
|
|
80
|
-
i =
|
|
89
|
+
i = a`<arcgis-charts-config-bar-chart-data .model=${this.model} .layerFieldsInfo=${this.layerFieldsInfo}></arcgis-charts-config-bar-chart-data>`;
|
|
81
90
|
break;
|
|
82
91
|
case s.Series:
|
|
83
|
-
i =
|
|
92
|
+
i = a`<arcgis-charts-config-bar-chart-series .model=${this.model} .activeColorMatch=${this.activeColorMatch} .popoverPlacement=${this.popoverPlacement}></arcgis-charts-config-bar-chart-series>`;
|
|
84
93
|
break;
|
|
85
94
|
case s.Axes:
|
|
86
|
-
i =
|
|
95
|
+
i = a`<arcgis-charts-config-axes .model=${this.model} show-max-y-bound-option .calculatedMinMaxBounds=${this.calculatedMinMaxBounds}></arcgis-charts-config-axes>`;
|
|
87
96
|
break;
|
|
88
97
|
case s.Guides:
|
|
89
|
-
i =
|
|
98
|
+
i = a`<arcgis-charts-config-guides .model=${this.model} .timeZone=${this.timeZone} .enableXAxisGuide=${t} enable-y-axis-guide .calculatedMinMaxBounds=${this.calculatedMinMaxBounds}></arcgis-charts-config-guides>`;
|
|
90
99
|
break;
|
|
91
100
|
case s.Format:
|
|
92
|
-
i =
|
|
101
|
+
i = a`<arcgis-charts-config-format .model=${this.model}></arcgis-charts-config-format>`;
|
|
93
102
|
break;
|
|
94
103
|
case s.General:
|
|
95
|
-
i =
|
|
104
|
+
i = a`<arcgis-charts-config-general .model=${this.model}></arcgis-charts-config-general>`;
|
|
96
105
|
break;
|
|
97
106
|
default:
|
|
98
107
|
i = "";
|
|
@@ -4,7 +4,7 @@ import "@arcgis/toolkit/intl";
|
|
|
4
4
|
import { isEqual as v } from "lodash-es";
|
|
5
5
|
import { a as g, i as F, W as p, m as b } from "../../chunks/series-types.js";
|
|
6
6
|
import { a as y } from "../../chunks/rest-js-object-literals.js";
|
|
7
|
-
import {
|
|
7
|
+
import { bz as B, bi as O, bj as D, b as E, cN as S, cO as P, da as U, p as x, d5 as A, cU as _ } from "../../chunks/index.js";
|
|
8
8
|
import "d3-array";
|
|
9
9
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
10
10
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
@@ -14,21 +14,20 @@ import "@arcgis/core/time/TimeExtent.js";
|
|
|
14
14
|
import "@arcgis/core/core/promiseUtils.js";
|
|
15
15
|
import "@arcgis/core/request.js";
|
|
16
16
|
import "@arcgis/toolkit/dom";
|
|
17
|
-
import { r as
|
|
17
|
+
import { r as N } from "../../chunks/popover-ui-utils.js";
|
|
18
18
|
import { S as d } from "../../chunks/common.js";
|
|
19
|
-
import { repeat as
|
|
20
|
-
import { B as a, e as f } from "../../chunks/
|
|
21
|
-
import { d as
|
|
22
|
-
import { U as
|
|
19
|
+
import { repeat as V } from "lit/directives/repeat.js";
|
|
20
|
+
import { B as a, e as f } from "../../chunks/interfaces.js";
|
|
21
|
+
import { d as z, s as $, r as M, g as R } from "../../chunks/store.js";
|
|
22
|
+
import { U as K } from "../../chunks/chart-ui-utils2.js";
|
|
23
23
|
import { u as L } from "../../chunks/useT9n.js";
|
|
24
|
-
import { css as
|
|
24
|
+
import { css as j, html as n, nothing as H } from "lit";
|
|
25
25
|
import { createRef as c, ref as m } from "lit/directives/ref.js";
|
|
26
|
-
import { LitElement as
|
|
27
|
-
import { C as q } from "../../chunks/interfaces4.js";
|
|
26
|
+
import { LitElement as W, createEvent as C, safeClassMap as l, renderElement as q } from "@arcgis/lumina";
|
|
28
27
|
import { s as Z } from "../../chunks/data.js";
|
|
29
28
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
30
29
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
31
|
-
v5.0.0-next.
|
|
30
|
+
v5.0.0-next.25 */
|
|
32
31
|
const r = {
|
|
33
32
|
label: "label",
|
|
34
33
|
fieldList: "field-list",
|
|
@@ -40,14 +39,14 @@ const r = {
|
|
|
40
39
|
customSortButtons: "custom-sort-buttons",
|
|
41
40
|
dimText: "dim-text",
|
|
42
41
|
intervalContainer: "interval-container"
|
|
43
|
-
}, G =
|
|
44
|
-
class
|
|
42
|
+
}, G = j`.hide{display:none}.am5-modal{width:100%;height:100%;position:absolute;z-index:100000;top:0;left:0}.am5-html-container{z-index:101!important}.am5-modal-curtain{top:0;left:0;width:100%;height:100%;position:absolute;background:#fff!important;z-index:100}.am5-modal-wrapper{top:0;left:0;width:100%;height:100%;position:absolute;display:flex;align-items:center;justify-content:center;white-space:nowrap;background:#ffffff80;z-index:101}.am5-modal-content{display:inline-block;padding:1.2em;vertical-align:middle;text-align:start;white-space:normal;background:#fff;border-radius:4px;box-shadow:#00000073 0 0 36px;color:#000}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.arcgis-charts-modal{box-shadow:none!important}.arcgis-charts-modal-header{background-color:#0000000d;font-weight:700;padding:4px;align-content:center}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}:host{display:flex;flex-direction:column;width:var(--arcgis-charts-config-calcite-block-default-width);margin:var(--arcgis-charts-config-calcite-block-default-margin);margin-top:var(--arcgis-charts-top-section-margin)}.label,.disabled-label{display:flex;margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor);margin-bottom:var(--arcgis-charts-config-margin-minor);justify-content:space-between}.time-binning-header{display:flex;font-weight:700;margin-left:.5rem;margin-right:.5rem;justify-content:space-between}.text{display:flex;margin-left:var(--arcgis-charts-config-margin-minor);width:calc(100% - 1.5rem);height:2rem;margin-bottom:var(--arcgis-charts-config-margin-minor);justify-content:space-between}.field-list{max-height:50vh;overflow-y:auto}.disabled-label{pointer-events:none}.fab{display:flex;margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor);margin-bottom:1.5rem;justify-content:center}.link-container{display:flex;justify-content:flex-end}.list{margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor);margin-bottom:var(--arcgis-charts-config-margin-major)}.custom-sort-buttons{display:flex;justify-content:space-between;align-items:center;font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size-0)}.mb-2{margin-bottom:var(--arcgis-charts-config-margin-minor)}.interval-container{margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor);margin-bottom:var(--arcgis-charts-config-margin-minor)}`;
|
|
43
|
+
class J extends W {
|
|
45
44
|
constructor() {
|
|
46
45
|
super(...arguments), this._messages = L(), this.commonStrings = L({ name: "common", blocking: !0 }), this.barChartPopover = null, this.sortOrderElement = c(), this.aggregationElement = c(), this.categoryElement = c(), this.numericFieldsElement = c(), this.splitByFieldElement = c(), this.enableTimeBinningSwitch = c(), this.intervalAlignmentElement = c(), this.intervalElement = c(), this.originalCustomSortLabels = [], this.isCustomSortDisabled = !1, this.onBarChartDataChange = async (e) => {
|
|
47
46
|
try {
|
|
48
47
|
if (e.detail !== null && e.detail?.value !== void 0) {
|
|
49
48
|
const { contentKind: t } = e.detail, i = [...e.detail.value];
|
|
50
|
-
switch (
|
|
49
|
+
switch (z($), t) {
|
|
51
50
|
case a.aggregation:
|
|
52
51
|
this.model.aggregationType = i[0] !== g.NoAggregation ? i[0] : g.NoAggregation;
|
|
53
52
|
break;
|
|
@@ -89,7 +88,7 @@ class X extends H {
|
|
|
89
88
|
default:
|
|
90
89
|
break;
|
|
91
90
|
}
|
|
92
|
-
t !== a.interval && t !== a.intervalAlignment &&
|
|
91
|
+
t !== a.interval && t !== a.intervalAlignment && M($);
|
|
93
92
|
}
|
|
94
93
|
} catch (t) {
|
|
95
94
|
throw this.arcgisChartsConfigDataChangeError.emit({ error: t, model: this.model }), t;
|
|
@@ -148,9 +147,9 @@ class X extends H {
|
|
|
148
147
|
this.popoverClose(e), this.model.resetTimeInterval !== void 0 && (this.model.resetTimeInterval(), this.arcgisChartsConfigResetTimeInterval.emit());
|
|
149
148
|
}
|
|
150
149
|
buildCustomSortListItems() {
|
|
151
|
-
return
|
|
152
|
-
const i = P(this.layerFieldsInfo, t), o = this.model.nullCategory !== void 0 && t.trim() ===
|
|
153
|
-
return n`<calcite-list-item id=${t ??
|
|
150
|
+
return V(this.model.orderByList, (t) => t, (t) => {
|
|
151
|
+
const i = P(this.layerFieldsInfo, t), o = this.model.nullCategory !== void 0 && t.trim() === U.nullCategory?.text?.trim();
|
|
152
|
+
return n`<calcite-list-item id=${t ?? H} .label=${t} .closed=${o} .description=${i} .value=${t} .selected=${this.selectedCustomSortItemId === t} @calciteListItemSelect=${this.onCustomSortItemSelected}><calcite-icon slot=content-end></calcite-icon></calcite-list-item>`;
|
|
154
153
|
});
|
|
155
154
|
}
|
|
156
155
|
buildCustomSortList() {
|
|
@@ -203,7 +202,7 @@ class X extends H {
|
|
|
203
202
|
async updateCustomSortProps() {
|
|
204
203
|
const e = await this.model.getCustomSortValues();
|
|
205
204
|
this.originalCustomSortLabels = [...e];
|
|
206
|
-
const t = e.length >
|
|
205
|
+
const t = e.length > K.customSortLimit;
|
|
207
206
|
return t && (this.sortOrderElement.value && (this.sortOrderElement.value.label = this._messages.xAxisAsc), this.model.setSortOrder(d.xAxisAsc)), this.isCustomSortDisabled = t, e;
|
|
208
207
|
}
|
|
209
208
|
setupPopover(e) {
|
|
@@ -236,10 +235,10 @@ class X extends H {
|
|
|
236
235
|
i = this.intervalAlignmentElement.value, s = this._messages.intervalAlignment, o = this.model.timeAggregationType ?? "";
|
|
237
236
|
break;
|
|
238
237
|
}
|
|
239
|
-
this.barChartPopover =
|
|
238
|
+
this.barChartPopover = q(n`<arcgis-charts-config-bar-chart-popover .headingTitle=${s} .referenceElement=${i} open .contentKind=${this.contentKind} .layerFieldsInfo=${this.layerFieldsInfo} .selectedContent=${o} .isCustomSortDisabled=${u} .isNoAggregationDisabled=${h} @arcgisChartsConfigBarChartDataPopoverChange=${this.onBarChartDataChange} @arcgisChartsConfigPopoverClose=${this.popoverClose}></arcgis-charts-config-bar-chart-popover>`), !document.body.contains(this.barChartPopover) && this.barChartPopover !== null && document.body.appendChild(this.barChartPopover);
|
|
240
239
|
}
|
|
241
240
|
removeBarChartDataPopover() {
|
|
242
|
-
this.barChartPopover !== null && (this.barChartPopover.open = !1, this.barChartPopover =
|
|
241
|
+
this.barChartPopover !== null && (this.barChartPopover.open = !1, this.barChartPopover = N(this.barChartPopover));
|
|
243
242
|
}
|
|
244
243
|
resetToOriginalCustomSortLabels() {
|
|
245
244
|
this.selectedCustomSortItemId = "", this.model.orderByList = [...this.originalCustomSortLabels], this.sortOrderResetCounter += 1;
|
|
@@ -279,7 +278,7 @@ class X extends H {
|
|
|
279
278
|
return t === p.CategoryAxisFormat && e === d.customSort && !this.isCustomSortDisabled ? n`<calcite-label class=${l(r.label)}><div class=${l(r.customSortButtons)}><div><calcite-button appearance=transparent .disabled=${i === 0 || i === -1 || this.selectedCustomSortItemId.trim() === ""} icon-start=arrow-bold-up id=${f.Up} kind=neutral scale=s @click=${this.onCustomSortItemMoved}></calcite-button><calcite-button appearance=transparent .disabled=${i === -1 || i === this.model.orderByList.length - 1 || this.selectedCustomSortItemId.trim() === ""} icon-start=arrow-bold-down id=${f.Down} kind=neutral scale=s @click=${this.onCustomSortItemMoved}></calcite-button></div><calcite-button @click=${this.resetToOriginalCustomSortLabels} .disabled=${v(this.model.orderByList, this.originalCustomSortLabels)} appearance=transparent icon-end=reset>${this._messages.reset}</calcite-button></div>${x(this.model.config.series ?? []) === A.BarAndLineFromFields ? this._messages.values : this._messages.category}${this.buildCustomSortList()}</calcite-label>` : null;
|
|
280
279
|
}
|
|
281
280
|
renderInterval() {
|
|
282
|
-
const e = (this.model.temporalBinningSize ?? 0) <= 0, t = this.model.temporalBinningSize ?? "", i = _(this.model.temporalBinningUnit ?? F.Second, this._messages) ?? "", s =
|
|
281
|
+
const e = (this.model.temporalBinningSize ?? 0) <= 0, t = this.model.temporalBinningSize ?? "", i = _(this.model.temporalBinningUnit ?? F.Second, this._messages) ?? "", s = R($), o = {
|
|
283
282
|
size: this.model.temporalBinningSize,
|
|
284
283
|
unit: this.model.temporalBinningUnit
|
|
285
284
|
}, h = v(o, s);
|
|
@@ -300,7 +299,7 @@ class X extends H {
|
|
|
300
299
|
return n`<calcite-label class=${l(r.label)}>${this._messages.category}${t}</calcite-label><calcite-label class=${l(r.label)}>${this._messages.aggregation}${e}</calcite-label><calcite-label class=${l(r.label)}>${this._messages.numericFields}${o}</calcite-label><div class=${l(r.fab)}><calcite-fab appearance=outline-fill kind=neutral scale=m .label=${this._messages.selectNumericFields} text-enabled .text=${this._messages.selectNumericFields} icon=plus @click=${this.onAddNumericFields}></calcite-fab></div><calcite-label class=${l(r.label)}><span class=${l(this.disableSplitBy ? r.dimText : "")}>${this._messages.splitBy}</span>${i}</calcite-label><div .hidden=${!this.shouldShowTimeBinning()}><h3 class=${l(r.timeBinningHeader)}>${this._messages.timeBinningOptions}</h3><calcite-label class=${l(r.label)} layout=inline-space-between>${this._messages.enableTemporalBinning}<calcite-switch .checked=${this.model.binTemporalData} @calciteSwitchChange=${this.onEnableTimeBinningChange} ${m(this.enableTimeBinningSwitch)}></calcite-switch></calcite-label><div .hidden=${!this.model.binTemporalData || !this.shouldShowTimeBinning()}><calcite-label class=${l(r.label)}>${this._messages.interval}${u}</calcite-label><calcite-label class=${l(r.label)}>${this._messages.intervalAlignment}${w}</calcite-label><calcite-label class=${l(r.label)} layout=inline-space-between>${this._messages.trimIncompleteInterval}<calcite-switch .checked=${this.model.trimIncompleteTimeInterval} @calciteSwitchChange=${this.onTrimIncompleteIntervalChange}></calcite-switch></calcite-label><calcite-label class=${l(r.label)}>${this._messages.emptyBins}${T}</calcite-label></div></div><calcite-label class=${l(r.label)} layout=inline-space-between>${this._messages.treatNullAsCategory}<calcite-switch .checked=${this.model.fetchNULLValues} @calciteSwitchChange=${this.onTreatNullAsCategoryChange}></calcite-switch></calcite-label><calcite-label class=${l(r.label)} layout=inline-space-between>${this._messages.showDataLabels}<calcite-switch .checked=${this.model.dataLabelsVisibility} @calciteSwitchChange=${this.onShowDataLabelsChange}></calcite-switch></calcite-label><calcite-label class=${l(this.model.getAxisValueFormat(0)?.type === p.DateAxisFormat ? r.disabledLabel : r.label)}>${this._messages.sortOrder}${s}</calcite-label>${h}`;
|
|
301
300
|
}
|
|
302
301
|
}
|
|
303
|
-
k("arcgis-charts-config-bar-chart-data",
|
|
302
|
+
k("arcgis-charts-config-bar-chart-data", J);
|
|
304
303
|
export {
|
|
305
|
-
|
|
304
|
+
J as ArcgisChartsConfigBarChartData
|
|
306
305
|
};
|
|
@@ -1,32 +1,39 @@
|
|
|
1
1
|
import { c as T } from "../../chunks/runtime.js";
|
|
2
2
|
import { repeat as f } from "lit/directives/repeat.js";
|
|
3
|
-
import { keyed as
|
|
3
|
+
import { keyed as C } from "lit/directives/keyed.js";
|
|
4
4
|
import { n as u, a as S, i as p } from "../../chunks/series-types.js";
|
|
5
5
|
import { a as h } from "../../chunks/rest-js-object-literals.js";
|
|
6
|
-
import { LitElement as x, createEvent as $, renderElement as F, safeStyleMap as
|
|
7
|
-
import { substitute as
|
|
6
|
+
import { LitElement as x, createEvent as $, renderElement as F, safeStyleMap as A, safeClassMap as c } from "@arcgis/lumina";
|
|
7
|
+
import { substitute as P } from "@arcgis/core/intl.js";
|
|
8
8
|
import { css as D, html as a } from "lit";
|
|
9
9
|
import { createRef as b, ref as d } from "lit/directives/ref.js";
|
|
10
10
|
import { isEqual as k } from "lodash-es";
|
|
11
11
|
import { u as L } from "../../chunks/useT9n.js";
|
|
12
|
-
import { B as n } from "../../chunks/
|
|
12
|
+
import { B as n } from "../../chunks/interfaces.js";
|
|
13
13
|
import { S as m } from "../../chunks/common.js";
|
|
14
14
|
import "@arcgis/toolkit/intl";
|
|
15
15
|
import "d3-array";
|
|
16
|
-
import {
|
|
16
|
+
import { bi as w, bj as E, cC as z, cN as N, bC as I, bA as B, cU as K } from "../../chunks/index.js";
|
|
17
|
+
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
18
|
+
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
19
|
+
import "@arcgis/core/Graphic.js";
|
|
20
|
+
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
21
|
+
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
22
|
+
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
23
|
+
import "simple-statistics";
|
|
24
|
+
import "@arcgis/core/request.js";
|
|
25
|
+
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
17
26
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
18
27
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
19
28
|
import "@arcgis/core/rest/support/Query.js";
|
|
20
29
|
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
21
30
|
import "@arcgis/core/time/TimeExtent.js";
|
|
22
31
|
import "@arcgis/core/core/promiseUtils.js";
|
|
23
|
-
import "
|
|
24
|
-
import { d as
|
|
25
|
-
import { e as _, p as O } from "../../chunks/popover-ui-utils.js";
|
|
26
|
-
import { h as C, U as y, i as g, d as U, e as j, s as H } from "../../chunks/chart-ui-utils2.js";
|
|
32
|
+
import { e as _, p as U } from "../../chunks/popover-ui-utils.js";
|
|
33
|
+
import { h as v, U as y, i as g, d as j, e as O, s as H } from "../../chunks/chart-ui-utils2.js";
|
|
27
34
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
28
35
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
29
|
-
v5.0.0-next.
|
|
36
|
+
v5.0.0-next.25 */
|
|
30
37
|
const M = D`.hide{display:none}.am5-modal{width:100%;height:100%;position:absolute;z-index:100000;top:0;left:0}.am5-html-container{z-index:101!important}.am5-modal-curtain{top:0;left:0;width:100%;height:100%;position:absolute;background:#fff!important;z-index:100}.am5-modal-wrapper{top:0;left:0;width:100%;height:100%;position:absolute;display:flex;align-items:center;justify-content:center;white-space:nowrap;background:#ffffff80;z-index:101}.am5-modal-content{display:inline-block;padding:1.2em;vertical-align:middle;text-align:start;white-space:normal;background:#fff;border-radius:4px;box-shadow:#00000073 0 0 36px;color:#000}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.arcgis-charts-modal{box-shadow:none!important}.arcgis-charts-modal-header{background-color:#0000000d;font-weight:700;padding:4px;align-content:center}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}.name{display:flex;flex-direction:column;margin:.5rem;padding:.5rem;background:#fff;min-width:250px}.header{margin:0;font-weight:bolder}.fab{display:flex;justify-content:stretch}.pick-list-item-label{font-size:small}.sort-icon-color{color:#000}.sort-y-axis{transform:rotate(90deg)}.sort-order-pick-list{overflow-y:hidden}.panel{max-height:60vh}.panel .size-section{width:19rem;margin:1rem 0;display:flex;flex-wrap:wrap;justify-content:space-evenly}.panel .size-section calcite-label{width:8rem;margin-bottom:.25rem}.panel .apply-button{width:17rem}`, o = {
|
|
31
38
|
jsAppFlyout: "js-app-flyout",
|
|
32
39
|
name: "bar-chart-data-popover",
|
|
@@ -55,7 +62,7 @@ class W extends x {
|
|
|
55
62
|
}
|
|
56
63
|
willUpdate(e) {
|
|
57
64
|
e.has("selectedContent") && this.selectedContentChange(this.selectedContent, e.get("selectedContent"));
|
|
58
|
-
const t =
|
|
65
|
+
const t = v.map((s) => w(s, this.commonStrings));
|
|
59
66
|
k(this.aggregationLabels, t) || (this.aggregationLabels = t);
|
|
60
67
|
const l = [u.Start, u.End].map((s) => E(s, this.commonStrings));
|
|
61
68
|
k(this.timeAggregationLabels, l) || (this.timeAggregationLabels = l);
|
|
@@ -68,22 +75,22 @@ class W extends x {
|
|
|
68
75
|
}, y.PopoverTimer);
|
|
69
76
|
}
|
|
70
77
|
selectedContentChange(e, t) {
|
|
71
|
-
this.pickListHasChanged =
|
|
78
|
+
this.pickListHasChanged = U(e, t);
|
|
72
79
|
}
|
|
73
80
|
buildAggregationListItems() {
|
|
74
|
-
const e = this.isNoAggregationDisabled ?
|
|
81
|
+
const e = this.isNoAggregationDisabled ? v.filter((t) => t !== S.NoAggregation) : v;
|
|
75
82
|
return f(e, (t) => t, (t, i) => a`<calcite-list-item .label=${this.aggregationLabels[i]} .value=${t} .selected=${g(t, this.selectedContent)}></calcite-list-item>`);
|
|
76
83
|
}
|
|
77
84
|
createTooltip(e) {
|
|
78
85
|
if (e.target?.label === this._messages.customSort && this.isCustomSortDisabled) {
|
|
79
|
-
const t = e.target, i =
|
|
86
|
+
const t = e.target, i = z(t), s = new Intl.NumberFormat(i).format(y.customSortLimit), r = P(this._messages.customSortLimit ?? "", {
|
|
80
87
|
totalLimit: s
|
|
81
88
|
});
|
|
82
|
-
this.tooltip = F(a`<calcite-tooltip style=${
|
|
89
|
+
this.tooltip = F(a`<calcite-tooltip style=${A({ opacity: 1, zIndex: "var(--calcite-floating-ui-z-index)" })} .referenceElement=${t} open placement=top>${r}</calcite-tooltip>`), document.body.appendChild(this.tooltip);
|
|
83
90
|
}
|
|
84
91
|
}
|
|
85
92
|
destroyTooltip() {
|
|
86
|
-
|
|
93
|
+
j(this.tooltip);
|
|
87
94
|
}
|
|
88
95
|
buildSortOrder() {
|
|
89
96
|
const e = Object.keys(m);
|
|
@@ -116,7 +123,7 @@ class W extends x {
|
|
|
116
123
|
});
|
|
117
124
|
}
|
|
118
125
|
buildPickListItem(e) {
|
|
119
|
-
return
|
|
126
|
+
return C(e.name, a`<calcite-list-item .label=${N(this.layerFieldsInfo, e.name)} .value=${e.name} .selected=${g(e.name, this.selectedContent)}></calcite-list-item>`);
|
|
120
127
|
}
|
|
121
128
|
buildPickListItems(e) {
|
|
122
129
|
const t = this.layerFieldsInfo?.length ?? 0, i = [];
|
|
@@ -124,12 +131,12 @@ class W extends x {
|
|
|
124
131
|
case n.numericFields: {
|
|
125
132
|
for (let l = 0; l < t; l += 1) {
|
|
126
133
|
const s = this.layerFieldsInfo?.[l];
|
|
127
|
-
s &&
|
|
134
|
+
s && B(s) && i.push(this.buildPickListItem(s));
|
|
128
135
|
}
|
|
129
136
|
break;
|
|
130
137
|
}
|
|
131
138
|
case n.category: {
|
|
132
|
-
const l =
|
|
139
|
+
const l = C(" ", a`<calcite-list-item label=" " value=" " .selected=${g("", this.selectedContent)}></calcite-list-item>`);
|
|
133
140
|
i.push(l);
|
|
134
141
|
for (let s = 0; s < t; s += 1) {
|
|
135
142
|
const r = this.layerFieldsInfo?.[s];
|
|
@@ -138,7 +145,7 @@ class W extends x {
|
|
|
138
145
|
break;
|
|
139
146
|
}
|
|
140
147
|
case n.splitByField: {
|
|
141
|
-
const l =
|
|
148
|
+
const l = C(" ", a`<calcite-list-item label=" " value=" " .selected=${g("", this.selectedContent)}></calcite-list-item>`);
|
|
142
149
|
i.push(l);
|
|
143
150
|
for (let s = 0; s < t; s += 1) {
|
|
144
151
|
const r = this.layerFieldsInfo?.[s];
|
|
@@ -156,7 +163,7 @@ class W extends x {
|
|
|
156
163
|
eventEmitter: this.arcgisChartsConfigBarChartDataPopoverChange,
|
|
157
164
|
contentKind: this.contentKind
|
|
158
165
|
};
|
|
159
|
-
|
|
166
|
+
O(e);
|
|
160
167
|
}
|
|
161
168
|
this.open = !1, this.arcgisChartsConfigPopoverClose.emit();
|
|
162
169
|
}
|
|
@@ -218,7 +225,7 @@ class W extends x {
|
|
|
218
225
|
p.Month,
|
|
219
226
|
p.Year
|
|
220
227
|
];
|
|
221
|
-
return a`<div><div class=${c(o.sizeSection)}><calcite-label scale=m>${this._messages.intervalSize}<calcite-input type=number scale=m min=1 step=any .value=${H(e?.size, 1)} ${d(this.intervalSizeElement)}></calcite-input></calcite-label><calcite-label scale=m>${this._messages.intervalType}<calcite-select .label=${this._messages.intervalType ?? ""} ${d(this.intervalTypeElement)}>${t.map((i) => a`<calcite-option .value=${i} .label=${
|
|
228
|
+
return a`<div><div class=${c(o.sizeSection)}><calcite-label scale=m>${this._messages.intervalSize}<calcite-input type=number scale=m min=1 step=any .value=${H(e?.size, 1)} ${d(this.intervalSizeElement)}></calcite-input></calcite-label><calcite-label scale=m>${this._messages.intervalType}<calcite-select .label=${this._messages.intervalType ?? ""} ${d(this.intervalTypeElement)}>${t.map((i) => a`<calcite-option .value=${i} .label=${K(i, this._messages)} .selected=${e?.unit === i}></calcite-option>`)}</calcite-select></calcite-label><calcite-button class=${c(o.applyButton)} appearance=outline @click=${this.intervalChange}>${this._messages.apply}</calcite-button></div></div>`;
|
|
222
229
|
}
|
|
223
230
|
renderPopoverInfo() {
|
|
224
231
|
let e;
|
|
@@ -4,25 +4,33 @@ import "@arcgis/toolkit/intl";
|
|
|
4
4
|
import "lodash-es";
|
|
5
5
|
import { e as r, a as C } from "../../chunks/series-types.js";
|
|
6
6
|
import "d3-array";
|
|
7
|
-
import {
|
|
7
|
+
import { d5 as T, da as u } from "../../chunks/index.js";
|
|
8
|
+
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
9
|
+
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
10
|
+
import "@arcgis/core/Graphic.js";
|
|
11
|
+
import "@arcgis/core/intl.js";
|
|
12
|
+
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
13
|
+
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
14
|
+
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
15
|
+
import "simple-statistics";
|
|
16
|
+
import "@arcgis/core/request.js";
|
|
17
|
+
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
8
18
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
9
19
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
10
20
|
import "@arcgis/core/rest/support/Query.js";
|
|
11
21
|
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
12
22
|
import "@arcgis/core/time/TimeExtent.js";
|
|
13
23
|
import "@arcgis/core/core/promiseUtils.js";
|
|
14
|
-
import "@arcgis/core/request.js";
|
|
15
24
|
import "@arcgis/toolkit/dom";
|
|
16
|
-
import { r as
|
|
25
|
+
import { r as v } from "../../chunks/popover-ui-utils.js";
|
|
17
26
|
import { repeat as L } from "lit/directives/repeat.js";
|
|
18
27
|
import { u as M } from "../../chunks/useT9n.js";
|
|
19
28
|
import { css as N, html as l } from "lit";
|
|
20
|
-
import { LitElement as O, createEvent as
|
|
29
|
+
import { LitElement as O, createEvent as f, renderElement as S, safeStyleMap as h, safeClassMap as a } from "@arcgis/lumina";
|
|
21
30
|
import { d as _ } from "../../chunks/chart-ui-utils2.js";
|
|
22
|
-
import { C as S } from "../../chunks/interfaces4.js";
|
|
23
31
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
24
32
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
25
|
-
v5.0.0-next.
|
|
33
|
+
v5.0.0-next.25 */
|
|
26
34
|
const E = {
|
|
27
35
|
stackedType: "stacked-type"
|
|
28
36
|
}, o = {
|
|
@@ -67,10 +75,10 @@ class D extends O {
|
|
|
67
75
|
}
|
|
68
76
|
}, this.seriesPopoverClose = (e) => {
|
|
69
77
|
const { selectedSeriesIndex: t } = e.detail;
|
|
70
|
-
this.selectedSeriesIndex === t && (this.seriesPopover =
|
|
78
|
+
this.selectedSeriesIndex === t && (this.seriesPopover = v(this.seriesPopover), this.selectedSeriesIndex = void 0);
|
|
71
79
|
}, this.onModelConfigChange = () => {
|
|
72
80
|
this.requestUpdate();
|
|
73
|
-
}, this.seriesOrderResetCounter = 0, this.activeColorMatch = !1, this.popoverPlacement = "leading", this.arcgisChartsConfigDataChangeError =
|
|
81
|
+
}, this.seriesOrderResetCounter = 0, this.activeColorMatch = !1, this.popoverPlacement = "leading", this.arcgisChartsConfigDataChangeError = f(), this.arcgisChartsConfigPopoverOpenChange = f();
|
|
74
82
|
}
|
|
75
83
|
static {
|
|
76
84
|
this.properties = { seriesOrderResetCounter: 16, selectedSeriesIndex: 16, messageOverrides: 0, model: 0, activeColorMatch: 5, popoverPlacement: 1 };
|
|
@@ -91,10 +99,10 @@ class D extends O {
|
|
|
91
99
|
t?.removeEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange), e?.addEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange);
|
|
92
100
|
}
|
|
93
101
|
removeSeriesPopover() {
|
|
94
|
-
this.seriesPopover !== null && this.seriesPopover !== void 0 && (this.seriesPopover.open = !1, this.seriesPopover =
|
|
102
|
+
this.seriesPopover !== null && this.seriesPopover !== void 0 && (this.seriesPopover.open = !1, this.seriesPopover = v(this.seriesPopover));
|
|
95
103
|
}
|
|
96
104
|
selectedSeriesIndexChange() {
|
|
97
|
-
this.selectedSeriesIndex !== void 0 && (this.seriesPopover =
|
|
105
|
+
this.selectedSeriesIndex !== void 0 && (this.seriesPopover = S(l`<arcgis-charts-config-bar-chart-series-popover .referenceElement=${this.el} .selectedName=${this.selectedSeriesIndex != null ? this.model.getSeriesName(this.selectedSeriesIndex) : void 0} .selectedColor=${this.selectedSeriesIndex != null ? this.model.getSeriesColor(this.selectedSeriesIndex) : void 0} .placement=${this.popoverPlacement} .selectedSeriesIndex=${this.selectedSeriesIndex != null ? this.selectedSeriesIndex : void 0} .nullCategory=${this.isNullCategorySelected ? this.model.nullCategory : void 0} .open=${this.open} @arcgisChartsConfigSeriesPopoverNameChange=${this.seriesNameChange} @arcgisChartsConfigSeriesPopoverColorChange=${this.seriesColorChange} @arcgisChartsConfigPopoverClose=${this.seriesPopoverClose}></arcgis-charts-config-bar-chart-series-popover>`), this.seriesPopover && !document.body.contains(this.seriesPopover) && document.body.appendChild(this.seriesPopover));
|
|
98
106
|
}
|
|
99
107
|
buildSeriesListItems() {
|
|
100
108
|
const e = this.model.seriesLength ?? 0, t = Array.from({ length: e }, (s, n) => n);
|
|
@@ -113,7 +121,7 @@ class D extends O {
|
|
|
113
121
|
return P(this.seriesOrderResetCounter, l`<calcite-list label class=${a(o.list)} drag-enabled selection-mode=single selection-appearance=border @calciteListOrderChange=${this.onCalciteListOrderChange}>${this.buildSeriesListItems()}</calcite-list>`);
|
|
114
122
|
}
|
|
115
123
|
buildNullCategoryUI() {
|
|
116
|
-
const e = this.model.nullCategory, t = this._messages.nullCategory, i = e?.symbol?.color ??
|
|
124
|
+
const e = this.model.nullCategory, t = this._messages.nullCategory, i = e?.symbol?.color ?? u.nullCategory?.symbol?.color ?? u.grayColor, [s, n, c, d] = [...i], m = `rgba(${s},${n},${c},${d / 255})`;
|
|
117
125
|
return l`<calcite-list label class=${a(o.list)} selection-mode=none><calcite-list-item .label=${t} .value=${t} .selected=${this.selectedSeriesIndex === null} @click=${this.openSeriesPopOver}><calcite-icon icon=square-f style=${h({ color: m })} slot=content-end></calcite-icon></calcite-list-item></calcite-list>`;
|
|
118
126
|
}
|
|
119
127
|
buildMultipleBarTypeList() {
|
|
@@ -142,7 +150,7 @@ class D extends O {
|
|
|
142
150
|
}
|
|
143
151
|
createTooltip(e) {
|
|
144
152
|
const t = e.target, i = (this.model.aggregationType === C.NoAggregation ? this._messages.noAggStackingDisabled : this._messages.singleStackingDisabled) ?? "";
|
|
145
|
-
this.tooltip =
|
|
153
|
+
this.tooltip = S(l`<calcite-tooltip style=${h({ opacity: 1, zIndex: "var(--calcite-floating-ui-z-index)" })} .referenceElement=${t} open placement=top>${i}</calcite-tooltip>`), document.body.appendChild(this.tooltip);
|
|
146
154
|
}
|
|
147
155
|
destroyTooltip() {
|
|
148
156
|
_(this.tooltip);
|