@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
|
@@ -6,25 +6,34 @@ import { a as h } from "../../chunks/rest-js-object-literals.js";
|
|
|
6
6
|
import "@arcgis/toolkit/intl";
|
|
7
7
|
import { isEqual as v } from "lodash-es";
|
|
8
8
|
import "d3-array";
|
|
9
|
-
import {
|
|
9
|
+
import { bi as F, bj as x, cN as P, bC as T, bA as C, cU as A } from "../../chunks/index.js";
|
|
10
|
+
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
11
|
+
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
12
|
+
import "@arcgis/core/Graphic.js";
|
|
13
|
+
import "@arcgis/core/intl.js";
|
|
14
|
+
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
15
|
+
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
16
|
+
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
17
|
+
import "simple-statistics";
|
|
18
|
+
import "@arcgis/core/request.js";
|
|
19
|
+
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
10
20
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
11
21
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
12
22
|
import "@arcgis/core/rest/support/Query.js";
|
|
13
23
|
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
14
24
|
import "@arcgis/core/time/TimeExtent.js";
|
|
15
25
|
import "@arcgis/core/core/promiseUtils.js";
|
|
16
|
-
import "@arcgis/core/request.js";
|
|
17
26
|
import "@arcgis/toolkit/dom";
|
|
18
27
|
import { e as w, p as D } from "../../chunks/popover-ui-utils.js";
|
|
19
28
|
import { LitElement as E, createEvent as y, safeClassMap as o } from "@arcgis/lumina";
|
|
20
29
|
import { css as S, html as n } from "lit";
|
|
21
30
|
import { createRef as g, ref as m } from "lit/directives/ref.js";
|
|
22
31
|
import { u as L } from "../../chunks/useT9n.js";
|
|
23
|
-
import { L as a } from "../../chunks/
|
|
32
|
+
import { L as a } from "../../chunks/interfaces.js";
|
|
24
33
|
import { h as $, U as k, i as u, e as z, s as N } from "../../chunks/chart-ui-utils2.js";
|
|
25
34
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
26
35
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
27
|
-
v5.0.0-next.
|
|
36
|
+
v5.0.0-next.25 */
|
|
28
37
|
const K = S`.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)}calcite-panel{max-height:60vh}calcite-panel .size-section{width:19rem;margin:1rem 0;display:flex;flex-wrap:wrap;justify-content:space-evenly}calcite-panel .size-section calcite-label{width:8rem;margin-bottom:.25rem}calcite-panel .apply-button{width:17rem}`, r = {
|
|
29
38
|
jsAppFlyout: "js-app-flyout",
|
|
30
39
|
name: "line-chart-data-popover",
|
|
@@ -4,14 +4,23 @@ import "@arcgis/toolkit/intl";
|
|
|
4
4
|
import "lodash-es";
|
|
5
5
|
import "../../chunks/series-types.js";
|
|
6
6
|
import "d3-array";
|
|
7
|
-
import {
|
|
7
|
+
import { d5 as I } 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
25
|
import { r as d } from "../../chunks/popover-ui-utils.js";
|
|
17
26
|
import { LitElement as $, renderElement as L, safeStyleMap as x } from "@arcgis/lumina";
|
|
@@ -21,33 +30,33 @@ import { u as b } from "../../chunks/useT9n.js";
|
|
|
21
30
|
import { g as M } from "../../chunks/chart-ui-utils2.js";
|
|
22
31
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
23
32
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
24
|
-
v5.0.0-next.
|
|
33
|
+
v5.0.0-next.25 */
|
|
25
34
|
const O = P`:host{display:flex;flex-direction:column;width:var(--arcgis-charts-config-calcite-block-default-width);margin:var(--arcgis-charts-config-calcite-block-default-margin)}`;
|
|
26
35
|
class k extends $ {
|
|
27
36
|
constructor() {
|
|
28
37
|
super(...arguments), this._messages = b(), this.seriesPopover = null, this.open = !1, this.seriesNameChange = (e) => {
|
|
29
38
|
if (e.detail !== null || e.detail !== void 0) {
|
|
30
|
-
const
|
|
31
|
-
this.model.setSeriesName(
|
|
39
|
+
const i = e.detail?.name;
|
|
40
|
+
this.model.setSeriesName(i, this.selectedSeriesIndex ?? -1);
|
|
32
41
|
}
|
|
33
42
|
}, this.seriesColorChange = (e) => {
|
|
34
43
|
if (e.detail !== null && e.detail !== void 0) {
|
|
35
|
-
const { color:
|
|
36
|
-
this.model.colorMatch = !1,
|
|
44
|
+
const { color: i } = e.detail;
|
|
45
|
+
this.model.colorMatch = !1, i !== void 0 && (this.model.setSeriesColor(i, this.selectedSeriesIndex ?? -1), this.model.setSeriesMarkerColor(i, this.selectedSeriesIndex ?? -1));
|
|
37
46
|
}
|
|
38
47
|
}, this.seriesLineStyleChange = (e) => {
|
|
39
48
|
if (e.detail !== null && e.detail !== void 0) {
|
|
40
|
-
const { lineStyle:
|
|
41
|
-
|
|
49
|
+
const { lineStyle: i } = e.detail;
|
|
50
|
+
i !== void 0 && this.model.setSeriesLineStyle(i, this.selectedSeriesIndex ?? -1);
|
|
42
51
|
}
|
|
43
52
|
}, this.seriesLineWidthChange = (e) => {
|
|
44
53
|
if (e.detail !== null && e.detail !== void 0) {
|
|
45
|
-
const { lineWidth:
|
|
46
|
-
|
|
54
|
+
const { lineWidth: i } = e.detail;
|
|
55
|
+
i !== void 0 && (this.model.setSeriesLineWidth(i, this.selectedSeriesIndex ?? -1), this.model.setSeriesMarkerSize(i * 2, this.selectedSeriesIndex ?? -1));
|
|
47
56
|
}
|
|
48
57
|
}, this.seriesPopoverClose = (e) => {
|
|
49
|
-
const { selectedSeriesIndex:
|
|
50
|
-
this.selectedSeriesIndex ===
|
|
58
|
+
const { selectedSeriesIndex: i } = e.detail;
|
|
59
|
+
this.selectedSeriesIndex === i && (this.seriesPopover = d(this.seriesPopover), this.selectedSeriesIndex = void 0);
|
|
51
60
|
}, this.onModelConfigChange = () => {
|
|
52
61
|
this.requestUpdate();
|
|
53
62
|
}, this.seriesOrderResetCounter = 0, this.activeColorMatch = !1, this.popoverPlacement = "leading";
|
|
@@ -67,8 +76,8 @@ class k extends $ {
|
|
|
67
76
|
disconnectedCallback() {
|
|
68
77
|
super.disconnectedCallback(), this.removeSeriesPopover(), this.model.removeEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange);
|
|
69
78
|
}
|
|
70
|
-
modelChange(e,
|
|
71
|
-
|
|
79
|
+
modelChange(e, i) {
|
|
80
|
+
i?.removeEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange), e?.addEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange);
|
|
72
81
|
}
|
|
73
82
|
selectedSeriesIndexChange() {
|
|
74
83
|
this.selectedSeriesIndex !== void 0 && (this.seriesPopover = L(o`<arcgis-charts-config-line-chart-series-popover .referenceElement=${this.el} .selectedName=${this.model.getSeriesName(this.selectedSeriesIndex)} .selectedColor=${this.model.getSeriesColor(this.selectedSeriesIndex)} .selectedLineStyle=${this.model.getSeriesLineStyle(this.selectedSeriesIndex)} .selectedLineWidth=${this.model.getSeriesLineWidth(this.selectedSeriesIndex)} .placement=${this.popoverPlacement} .open=${this.open} .selectedSeriesIndex=${this.selectedSeriesIndex} @arcgisChartsConfigSeriesPopoverNameChange=${this.seriesNameChange} @arcgisChartsConfigSeriesPopoverColorChange=${this.seriesColorChange} @arcgisChartsConfigSeriesPopoverLineStyleChange=${this.seriesLineStyleChange} @arcgisChartsConfigSeriesPopoverLineWidthChange=${this.seriesLineWidthChange} @arcgisChartsConfigPopoverClose=${this.seriesPopoverClose}></arcgis-charts-config-line-chart-series-popover>`), this.seriesPopover && !document.body.contains(this.seriesPopover) && document.body.appendChild(this.seriesPopover));
|
|
@@ -77,16 +86,16 @@ class k extends $ {
|
|
|
77
86
|
this.seriesPopover !== void 0 && this.seriesPopover !== null && (this.seriesPopover.open = !1, this.seriesPopover = d(this.seriesPopover));
|
|
78
87
|
}
|
|
79
88
|
buildSeriesListItems() {
|
|
80
|
-
const e = this.model.seriesLength,
|
|
81
|
-
return y(
|
|
82
|
-
const t = this.model.getSeriesId(
|
|
89
|
+
const e = this.model.seriesLength, i = Array.from({ length: e }, (s, t) => t);
|
|
90
|
+
return y(i, (s) => this.model.getSeriesId(s), (s) => {
|
|
91
|
+
const t = this.model.getSeriesId(s), l = this.model.getSeriesColor(s), h = this.model.getSeriesName(s), c = this.model.chartSubType === I.BarAndLineFromFields ? this._messages.series : t, m = this.model.getSeriesLineStyle(s), p = M(m);
|
|
83
92
|
let n = "#CCCCCC", a = "minus-circle";
|
|
84
93
|
if ((e > 1 || !this.activeColorMatch) && l !== void 0) {
|
|
85
|
-
a = `line-${
|
|
86
|
-
const [
|
|
87
|
-
n = `rgba(${
|
|
94
|
+
a = `line-${p}`;
|
|
95
|
+
const [g, C, S, v] = [...l];
|
|
96
|
+
n = `rgba(${g},${C},${S},${v / 255})`;
|
|
88
97
|
}
|
|
89
|
-
return o`<calcite-list-item .label=${h ?? t ?? ""} .description=${c} .value=${t} .selected=${this.selectedSeriesIndex ===
|
|
98
|
+
return o`<calcite-list-item .label=${h ?? t ?? ""} .description=${c} .value=${t} .selected=${this.selectedSeriesIndex === s} @click=${this.openSeriesPopOver}><calcite-icon slot=content-end .icon=${a} style=${x({ color: n })}></calcite-icon></calcite-list-item>`;
|
|
90
99
|
});
|
|
91
100
|
}
|
|
92
101
|
buildSeriesList() {
|
|
@@ -97,14 +106,14 @@ class k extends $ {
|
|
|
97
106
|
}
|
|
98
107
|
onCalciteListOrderChange(e) {
|
|
99
108
|
if (e.detail !== null && e.detail !== void 0) {
|
|
100
|
-
const { newIndex:
|
|
101
|
-
this.model.moveSeries(r,
|
|
109
|
+
const { newIndex: i, oldIndex: r } = e.detail;
|
|
110
|
+
this.model.moveSeries(r, i), this.seriesOrderResetCounter += 1;
|
|
102
111
|
}
|
|
103
112
|
}
|
|
104
113
|
openSeriesPopOver(e) {
|
|
105
114
|
e.stopImmediatePropagation(), this.removeSeriesPopover();
|
|
106
|
-
const
|
|
107
|
-
this.open = this.selectedSeriesIndex !==
|
|
115
|
+
const i = e.target, r = i.localName === "calcite-list-item" ? i : i.parentNode, s = this.model.getSeriesIndex(r.value);
|
|
116
|
+
this.open = this.selectedSeriesIndex !== s, this.selectedSeriesIndex = this.selectedSeriesIndex !== s ? s : void 0;
|
|
108
117
|
}
|
|
109
118
|
render() {
|
|
110
119
|
return o`<calcite-panel .heading=${this._messages.series}><calcite-button slot=header-actions-end @click=${this.resetSeriesOriginal} .disabled=${!this.model.resetAvailable()} appearance=transparent scale=s icon-end=reset>${this._messages.reset}</calcite-button>${this.buildSeriesList()}</calcite-panel>`;
|
|
@@ -5,14 +5,23 @@ import "lodash-es";
|
|
|
5
5
|
import "../../chunks/series-types.js";
|
|
6
6
|
import { c as i } from "../../chunks/rest-js-object-literals.js";
|
|
7
7
|
import "d3-array";
|
|
8
|
-
import {
|
|
8
|
+
import { aj as v } from "../../chunks/index.js";
|
|
9
|
+
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
10
|
+
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
11
|
+
import "@arcgis/core/Graphic.js";
|
|
12
|
+
import "@arcgis/core/intl.js";
|
|
13
|
+
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
14
|
+
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
15
|
+
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
16
|
+
import "simple-statistics";
|
|
17
|
+
import "@arcgis/core/request.js";
|
|
18
|
+
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
9
19
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
10
20
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
11
21
|
import "@arcgis/core/rest/support/Query.js";
|
|
12
22
|
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
13
23
|
import "@arcgis/core/time/TimeExtent.js";
|
|
14
24
|
import "@arcgis/core/core/promiseUtils.js";
|
|
15
|
-
import "@arcgis/core/request.js";
|
|
16
25
|
import "@arcgis/toolkit/dom";
|
|
17
26
|
import { e as y } from "../../chunks/popover-ui-utils.js";
|
|
18
27
|
import { U as S, b, m, s as w, c as g } from "../../chunks/chart-ui-utils2.js";
|
|
@@ -21,7 +30,7 @@ import { createRef as n, ref as a } from "lit/directives/ref.js";
|
|
|
21
30
|
import { LitElement as $, createEvent as s, safeClassMap as o, nothing as r } from "@arcgis/lumina";
|
|
22
31
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
23
32
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
24
|
-
v5.0.0-next.
|
|
33
|
+
v5.0.0-next.25 */
|
|
25
34
|
const l = {
|
|
26
35
|
jsAppFlyout: "js-app-flyout",
|
|
27
36
|
sizeSection: "size-section",
|
|
@@ -8,7 +8,7 @@ import { createRef as r, ref as d } from "lit/directives/ref.js";
|
|
|
8
8
|
import { LitElement as S, createEvent as h, safeClassMap as s, nothing as n } from "@arcgis/lumina";
|
|
9
9
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
10
10
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
11
|
-
v5.0.0-next.
|
|
11
|
+
v5.0.0-next.25 */
|
|
12
12
|
const a = {
|
|
13
13
|
sizeSection: "size-section",
|
|
14
14
|
dropdownText: "dropdown-text",
|
|
@@ -6,7 +6,7 @@ import { createRef as b, ref as f } from "lit/directives/ref.js";
|
|
|
6
6
|
import { LitElement as v, createEvent as x, safeClassMap as i } from "@arcgis/lumina";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
9
|
-
v5.0.0-next.
|
|
9
|
+
v5.0.0-next.25 */
|
|
10
10
|
const n = {
|
|
11
11
|
container: "container",
|
|
12
12
|
label: "label",
|
|
@@ -4,29 +4,38 @@ import { isEqual as n, cloneDeep as d } from "lodash-es";
|
|
|
4
4
|
import "../../chunks/series-types.js";
|
|
5
5
|
import { R as u } from "../../chunks/rest-js-object-literals.js";
|
|
6
6
|
import "d3-array";
|
|
7
|
-
import { g as y,
|
|
7
|
+
import { g as y, bx as I } 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 "
|
|
15
|
-
import { h as F } from "../../chunks/index4.js";
|
|
24
|
+
import { h as F } from "../../chunks/index3.js";
|
|
16
25
|
import "@arcgis/toolkit/dom";
|
|
17
|
-
import { LitElement as v, createEvent as
|
|
26
|
+
import { LitElement as v, createEvent as f } from "@arcgis/lumina";
|
|
18
27
|
import { css as P, html as c } from "lit";
|
|
19
|
-
import { C as h } from "../../chunks/
|
|
28
|
+
import { C as h } from "../../chunks/interfaces.js";
|
|
20
29
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
21
30
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
22
|
-
v5.0.0-next.
|
|
31
|
+
v5.0.0-next.25 */
|
|
23
32
|
const L = P`:host{overflow-y:auto;overflow-x:hidden;margin-bottom:var(--arcgis-charts-intra-section-margin);margin-top:var(--arcgis-charts-intra-section-margin);height:100%}`;
|
|
24
33
|
class S extends v {
|
|
25
34
|
constructor() {
|
|
26
35
|
super(...arguments), this.onModelConfigChange = async (e) => {
|
|
27
|
-
const
|
|
28
|
-
this.layer === void 0 && await this.updateFetchLayerFieldsInfo(
|
|
29
|
-
}, this.popoverPlacement = "leading", this.arcgisChartsConfigNoSeriesUpdate =
|
|
36
|
+
const o = e?.detail.config ?? this.model.config;
|
|
37
|
+
this.layer === void 0 && await this.updateFetchLayerFieldsInfo(o);
|
|
38
|
+
}, this.popoverPlacement = "leading", this.arcgisChartsConfigNoSeriesUpdate = f(), this.arcgisChartsConfigWebChartChange = f();
|
|
30
39
|
}
|
|
31
40
|
static {
|
|
32
41
|
this.properties = { layerFieldsInfo: 16, model: 0, popoverPlacement: 1, seriesColor: 0, calculatedMinMaxBounds: 0, page: 1, layer: 0, usePopupTemplateFieldsInfo: 5, filterBySelection: 5, chartData: 0 };
|
|
@@ -53,29 +62,29 @@ class S extends v {
|
|
|
53
62
|
e !== void 0 && e !== i && await this.updateFetchLayerFieldsInfo();
|
|
54
63
|
}
|
|
55
64
|
seriesColorChange(e) {
|
|
56
|
-
const { slices: i, groupedSlices:
|
|
57
|
-
let
|
|
58
|
-
this.filterBySelection === !0 ?
|
|
59
|
-
const
|
|
60
|
-
|
|
61
|
-
const l =
|
|
65
|
+
const { slices: i, groupedSlices: o, groupOfSlices: a } = e?.get(0) ?? {};
|
|
66
|
+
let t = [];
|
|
67
|
+
this.filterBySelection === !0 ? t = this.model.slices?.map((r) => i?.find((s) => s.sliceId === r.sliceId) ?? o?.find((s) => s.sliceId === r.sliceId) ?? r) ?? [] : t = (i ?? []).concat(o ?? []), t.forEach((r, s) => {
|
|
68
|
+
const m = this.model.slices?.find((g) => g.sliceId === t[s].sliceId);
|
|
69
|
+
m && (t[s] = { ...t[s], ...m });
|
|
70
|
+
const l = t[s].fillSymbol;
|
|
62
71
|
l !== void 0 && !n(l?.outline?.color, l?.color) && (l.outline = {
|
|
63
72
|
...l.outline ?? {},
|
|
64
73
|
type: u.SLS,
|
|
65
74
|
color: l.color
|
|
66
75
|
});
|
|
67
76
|
});
|
|
68
|
-
const p = (
|
|
69
|
-
|
|
77
|
+
const p = (o ?? []).map((r) => r.sliceId);
|
|
78
|
+
o !== void 0 && !n(p, this.model.groupedSliceIds) && (this.model.groupedSliceIds = d(p)), n(t, this.model.slices) || (this.model.slices = d(t)), a !== void 0 && !n(a, this.model.sliceGrouping) && (this.model.sliceGrouping = d(a));
|
|
70
79
|
}
|
|
71
80
|
async updateFetchLayerFieldsInfo(e) {
|
|
72
81
|
const i = e ?? this.model.config;
|
|
73
|
-
let
|
|
74
|
-
if (!
|
|
82
|
+
let o = this.layer;
|
|
83
|
+
if (!o) {
|
|
75
84
|
const a = F(i) ? i.iLayer : void 0;
|
|
76
|
-
a && (
|
|
85
|
+
a && (o = await y(a));
|
|
77
86
|
}
|
|
78
|
-
|
|
87
|
+
o && (this.layerFieldsInfo = await I(o, this.usePopupTemplateFieldsInfo));
|
|
79
88
|
}
|
|
80
89
|
render() {
|
|
81
90
|
let e;
|
|
@@ -3,19 +3,28 @@ import { keyed as u } from "lit/directives/keyed.js";
|
|
|
3
3
|
import "@arcgis/toolkit/intl";
|
|
4
4
|
import "lodash-es";
|
|
5
5
|
import { a as C } from "../../chunks/series-types.js";
|
|
6
|
-
import { d as c,
|
|
6
|
+
import { d as c, cN as m, bz as v } from "../../chunks/index.js";
|
|
7
7
|
import "d3-array";
|
|
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
25
|
import { r as b } from "../../chunks/popover-ui-utils.js";
|
|
17
26
|
import { a as g } from "../../chunks/common.js";
|
|
18
|
-
import { P as a } from "../../chunks/
|
|
27
|
+
import { P as a } from "../../chunks/interfaces.js";
|
|
19
28
|
import { u as y } from "../../chunks/useT9n.js";
|
|
20
29
|
import { css as F, html as s } from "lit";
|
|
21
30
|
import { createRef as n, ref as d } from "lit/directives/ref.js";
|
|
@@ -23,7 +32,7 @@ import { LitElement as $, createEvent as p, renderElement as P, safeClassMap as
|
|
|
23
32
|
import { s as E } from "../../chunks/data.js";
|
|
24
33
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
25
34
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
26
|
-
v5.0.0-next.
|
|
35
|
+
v5.0.0-next.25 */
|
|
27
36
|
const l = {
|
|
28
37
|
label: "label",
|
|
29
38
|
fieldList: "field-list",
|
|
@@ -6,27 +6,36 @@ import { isEqual as v } from "lodash-es";
|
|
|
6
6
|
import "../../chunks/series-types.js";
|
|
7
7
|
import { a as $ } from "../../chunks/rest-js-object-literals.js";
|
|
8
8
|
import "d3-array";
|
|
9
|
-
import {
|
|
9
|
+
import { bi as y, cN as L, bC as P, bA as F } from "../../chunks/index.js";
|
|
10
|
+
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
11
|
+
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
12
|
+
import "@arcgis/core/Graphic.js";
|
|
13
|
+
import "@arcgis/core/intl.js";
|
|
14
|
+
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
15
|
+
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
16
|
+
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
17
|
+
import "simple-statistics";
|
|
18
|
+
import "@arcgis/core/request.js";
|
|
19
|
+
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
10
20
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
11
21
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
12
22
|
import "@arcgis/core/rest/support/Query.js";
|
|
13
23
|
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
14
24
|
import "@arcgis/core/time/TimeExtent.js";
|
|
15
25
|
import "@arcgis/core/core/promiseUtils.js";
|
|
16
|
-
import "@arcgis/core/request.js";
|
|
17
26
|
import "@arcgis/toolkit/dom";
|
|
18
27
|
import { e as x, p as I } from "../../chunks/popover-ui-utils.js";
|
|
19
|
-
import { P as
|
|
20
|
-
import { P as a } from "../../chunks/
|
|
28
|
+
import { P as r } from "../../chunks/common.js";
|
|
29
|
+
import { P as a } from "../../chunks/interfaces.js";
|
|
21
30
|
import { p as f, U as w, i as p, e as D } from "../../chunks/chart-ui-utils2.js";
|
|
22
31
|
import { u } from "../../chunks/useT9n.js";
|
|
23
|
-
import { css as S, html as
|
|
32
|
+
import { css as S, html as o } from "lit";
|
|
24
33
|
import { createRef as b, ref as d } from "lit/directives/ref.js";
|
|
25
34
|
import { LitElement as T, createEvent as C, safeClassMap as l } from "@arcgis/lumina";
|
|
26
35
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
27
36
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
28
|
-
v5.0.0-next.
|
|
29
|
-
const
|
|
37
|
+
v5.0.0-next.25 */
|
|
38
|
+
const n = {
|
|
30
39
|
jsAppFlyout: "js-app-flyout",
|
|
31
40
|
name: "pie-chart-data-popover",
|
|
32
41
|
numericFieldPickList: "pie-chart-data-numeric-fields-pick-list",
|
|
@@ -63,49 +72,49 @@ class A extends T {
|
|
|
63
72
|
this.pickListHasChanged = I(e, t);
|
|
64
73
|
}
|
|
65
74
|
buildAggregationPickListItems() {
|
|
66
|
-
return h(f, (e) => e, (e, t) =>
|
|
75
|
+
return h(f, (e) => e, (e, t) => o`<calcite-list-item .label=${this.aggregationLabels[t]} .value=${e} .selected=${p(e, this.selectedContent)}></calcite-list-item>`);
|
|
67
76
|
}
|
|
68
77
|
buildSortOrder() {
|
|
69
|
-
const e = Object.keys(
|
|
70
|
-
return e.splice(e.indexOf(
|
|
78
|
+
const e = Object.keys(r);
|
|
79
|
+
return e.splice(e.indexOf(r.customSort), 1), h(e, (t) => t, (t) => {
|
|
71
80
|
let i = "string";
|
|
72
|
-
const
|
|
81
|
+
const c = "rotate";
|
|
73
82
|
let s = "";
|
|
74
83
|
switch (t) {
|
|
75
|
-
case
|
|
84
|
+
case r.labelAsc:
|
|
76
85
|
i = "string";
|
|
77
86
|
break;
|
|
78
|
-
case
|
|
79
|
-
i = "string", s =
|
|
87
|
+
case r.labelDesc:
|
|
88
|
+
i = "string", s = n.flipClass;
|
|
80
89
|
break;
|
|
81
|
-
case
|
|
90
|
+
case r.valueAsc:
|
|
82
91
|
i = "number";
|
|
83
92
|
break;
|
|
84
|
-
case
|
|
85
|
-
i = "number", s =
|
|
93
|
+
case r.valueDesc:
|
|
94
|
+
i = "number", s = n.flipClass;
|
|
86
95
|
break;
|
|
87
96
|
// Do nothing for customSort for now
|
|
88
|
-
case
|
|
97
|
+
case r.customSort:
|
|
89
98
|
}
|
|
90
|
-
return
|
|
99
|
+
return o`<calcite-list-item .selected=${this.selectedContent === t} .label=${this._messages[t]} .value=${r[t]}><calcite-icon slot=content-end .icon=${i}></calcite-icon><calcite-icon class=${l(s)} slot=content-end .icon=${c}></calcite-icon></calcite-list-item>`;
|
|
91
100
|
});
|
|
92
101
|
}
|
|
93
102
|
buildPickListItem(e) {
|
|
94
|
-
return g(e.name,
|
|
103
|
+
return g(e.name, o`<calcite-list-item .label=${L(this.layerFieldsInfo, e.name)} .value=${e.name} .selected=${p(e.name, this.selectedContent)}></calcite-list-item>`);
|
|
95
104
|
}
|
|
96
105
|
buildPickListItems(e) {
|
|
97
106
|
const t = this.layerFieldsInfo?.length ?? 0, i = [];
|
|
98
107
|
switch (e) {
|
|
99
108
|
case a.numericFields: {
|
|
100
|
-
for (let
|
|
101
|
-
const s = this.layerFieldsInfo[
|
|
109
|
+
for (let c = 0; c < t; c += 1) {
|
|
110
|
+
const s = this.layerFieldsInfo[c];
|
|
102
111
|
F(s) && i.push(this.buildPickListItem(s));
|
|
103
112
|
}
|
|
104
113
|
break;
|
|
105
114
|
}
|
|
106
115
|
case a.category: {
|
|
107
|
-
const
|
|
108
|
-
i.push(
|
|
116
|
+
const c = g(" ", o`<calcite-list-item label=" " value=" " .selected=${p("", this.selectedContent)}></calcite-list-item>`);
|
|
117
|
+
i.push(c);
|
|
109
118
|
for (let s = 0; s < t; s += 1) {
|
|
110
119
|
const m = this.layerFieldsInfo[s];
|
|
111
120
|
(P(m) || m.type === $.String) && i.push(this.buildPickListItem(m));
|
|
@@ -142,19 +151,19 @@ class A extends T {
|
|
|
142
151
|
}
|
|
143
152
|
renderAggregationType() {
|
|
144
153
|
const e = this.buildAggregationPickListItems();
|
|
145
|
-
return
|
|
154
|
+
return o`<calcite-list label class=${l(n.pickListItemLabel)} selection-mode=single selection-appearance=border @calciteListChange=${this.onDataContentTypeChange}>${e}</calcite-list>`;
|
|
146
155
|
}
|
|
147
156
|
renderCategory() {
|
|
148
157
|
const e = this.buildPickListItems(a.category);
|
|
149
|
-
return
|
|
158
|
+
return o`<calcite-list label class=${l(n.pickListItemLabel)} selection-mode=single selection-appearance=border filter-enabled @calciteListChange=${this.onDataContentTypeChange} ${d(this.picklist)}>${e}</calcite-list>`;
|
|
150
159
|
}
|
|
151
160
|
renderNumericFields() {
|
|
152
161
|
const e = this.buildPickListItems(a.numericFields);
|
|
153
|
-
return
|
|
162
|
+
return o`<calcite-list label class=${l(n.numericFieldPickList)} selection-mode=multiple filter-enabled @calciteListChange=${this.onNumericFieldsChange} ${d(this.picklist)}>${e}</calcite-list>`;
|
|
154
163
|
}
|
|
155
164
|
renderSortOrder() {
|
|
156
165
|
const e = this.buildSortOrder();
|
|
157
|
-
return
|
|
166
|
+
return o`<calcite-list label selection-mode=single selection-appearance=border @calciteListChange=${this.onDataContentTypeChange}>${e}</calcite-list>`;
|
|
158
167
|
}
|
|
159
168
|
renderPopoverInfo() {
|
|
160
169
|
let e;
|
|
@@ -176,7 +185,7 @@ class A extends T {
|
|
|
176
185
|
}
|
|
177
186
|
render() {
|
|
178
187
|
let e;
|
|
179
|
-
return this.contentKind === a.numericFields && (e =
|
|
188
|
+
return this.contentKind === a.numericFields && (e = o`<div slot=footer><calcite-fab class=${l(n.fab)} appearance=outline-fill kind=neutral icon .label=${this._messages.selectionDone} scale=s text-enabled .text=${this._messages.selectionDone} @click=${this.onNumericFieldSelectionDone}></calcite-fab></div>`), o`<div class=${l(n.jsAppFlyout)}><calcite-popover class=${l(n.name)} .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} @calcitePopoverClose=${this.closePopover} .offsetDistance=${this.offsetDistance} .open=${this.open} label auto-close ${d(this.popoverElement)}><calcite-panel class=${l(n.panel)} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div slot=header-content class=${l(n.header)}>${this.headingTitle ?? ""}</div>${this.renderPopoverInfo()}${e}</calcite-panel></calcite-popover></div>`;
|
|
180
189
|
}
|
|
181
190
|
}
|
|
182
191
|
k("arcgis-charts-config-pie-chart-popover", A);
|
|
@@ -6,14 +6,23 @@ import { R as E } from "../../chunks/rest-js-object-literals.js";
|
|
|
6
6
|
import "@arcgis/toolkit/intl";
|
|
7
7
|
import { debounce as C, isEmpty as N, toNumber as x } from "lodash-es";
|
|
8
8
|
import "d3-array";
|
|
9
|
-
import {
|
|
9
|
+
import { bm as $, ap as S } from "../../chunks/index.js";
|
|
10
|
+
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
11
|
+
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
12
|
+
import "@arcgis/core/Graphic.js";
|
|
13
|
+
import "@arcgis/core/intl.js";
|
|
14
|
+
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
15
|
+
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
16
|
+
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
17
|
+
import "simple-statistics";
|
|
18
|
+
import "@arcgis/core/request.js";
|
|
19
|
+
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
10
20
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
11
21
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
12
22
|
import "@arcgis/core/rest/support/Query.js";
|
|
13
23
|
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
14
24
|
import "@arcgis/core/time/TimeExtent.js";
|
|
15
25
|
import "@arcgis/core/core/promiseUtils.js";
|
|
16
|
-
import "@arcgis/core/request.js";
|
|
17
26
|
import "@arcgis/toolkit/dom";
|
|
18
27
|
import { r as I } from "../../chunks/popover-ui-utils.js";
|
|
19
28
|
import { U as y, d as G, s as g } from "../../chunks/chart-ui-utils2.js";
|
|
@@ -23,8 +32,8 @@ import { createRef as m, ref as p } from "lit/directives/ref.js";
|
|
|
23
32
|
import { LitElement as M, renderElement as P, safeStyleMap as u, safeClassMap as s } from "@arcgis/lumina";
|
|
24
33
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
25
34
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
26
|
-
v5.0.0-next.
|
|
27
|
-
const
|
|
35
|
+
v5.0.0-next.25 */
|
|
36
|
+
const o = {
|
|
28
37
|
sectionLabel: "section-label",
|
|
29
38
|
label: "label",
|
|
30
39
|
sliceList: "slice-list",
|
|
@@ -107,22 +116,22 @@ class k extends M {
|
|
|
107
116
|
const i = [];
|
|
108
117
|
let t = this.model.slices;
|
|
109
118
|
const r = this.chartData?.dataItems;
|
|
110
|
-
r && (t = t?.filter((
|
|
111
|
-
if (
|
|
119
|
+
r && (t = t?.filter((a) => r?.findIndex((c) => c.arcgis_charts_slice_id === a.sliceId) !== -1)), t?.forEach((a) => {
|
|
120
|
+
if (a.fillSymbol?.color !== void 0) {
|
|
112
121
|
l = "square-f";
|
|
113
|
-
const [c, b, v, L] = [...
|
|
122
|
+
const [c, b, v, L] = [...a.fillSymbol.color];
|
|
114
123
|
e = `rgba(${c},${b},${v},${L / 255})`;
|
|
115
124
|
}
|
|
116
|
-
if (
|
|
117
|
-
let c =
|
|
118
|
-
c === S.emptySliceId ? c = this._messages.emptySlice ?? "" : c === S.nullSliceId && (c = this._messages.nullSlice ?? ""), i?.push(f(
|
|
125
|
+
if (a !== void 0 && !this.model.groupedSliceIds.includes(a.sliceId)) {
|
|
126
|
+
let c = a.sliceId;
|
|
127
|
+
c === S.emptySliceId ? c = this._messages.emptySlice ?? "" : c === S.nullSliceId && (c = this._messages.nullSlice ?? ""), i?.push(f(a.sliceId, d`<calcite-list-item .label=${a.label ?? a.sliceId} .description=${c} .value=${a.sliceId} .selected=${this.selectedSliceId === a.sliceId} @click=${this.openSlicesPopover}><calcite-icon slot=content-end .icon=${l} style=${u({ color: e })}></calcite-icon></calcite-list-item>`));
|
|
119
128
|
}
|
|
120
129
|
});
|
|
121
130
|
const n = this.model.sliceGrouping;
|
|
122
131
|
if (n?.fillSymbol?.color !== void 0) {
|
|
123
132
|
l = "square-f";
|
|
124
|
-
const [
|
|
125
|
-
e = `rgba(${
|
|
133
|
+
const [a, c, b, v] = [...n.fillSymbol.color];
|
|
134
|
+
e = `rgba(${a},${c},${b},${v / 255})`;
|
|
126
135
|
}
|
|
127
136
|
return this.model.groupedSliceIds.length > 0 && i?.push(f(n?.sliceId, d`<calcite-list-item .label=${n?.label ?? n?.sliceId ?? ""} .description=${this._messages.groupedSlices} .value=${n?.sliceId ?? ""} .selected=${this.selectedSliceId === n?.sliceId} @click=${this.openSlicesPopover}><calcite-icon slot=content-end .icon=${l} style=${u({ color: e })}></calcite-icon></calcite-list-item>`)), i;
|
|
128
137
|
}
|
|
@@ -132,17 +141,17 @@ class k extends M {
|
|
|
132
141
|
return this.model.slices?.forEach((t) => {
|
|
133
142
|
if (t.fillSymbol?.color !== void 0) {
|
|
134
143
|
l = "square-f";
|
|
135
|
-
const [r, n,
|
|
136
|
-
e = `rgba(${r},${n},${
|
|
144
|
+
const [r, n, a, c] = [...t.fillSymbol.color];
|
|
145
|
+
e = `rgba(${r},${n},${a},${c / 255})`;
|
|
137
146
|
}
|
|
138
147
|
t !== void 0 && this.model.groupedSliceIds.includes(t.sliceId) && i?.push(f(t.sliceId, d`<calcite-list-item .label=${t.label ?? t.sliceId} .description=${t.sliceId} .value=${t.sliceId} .selected=${this.selectedSliceId === t.sliceId} @click=${this.openSlicesPopover}><calcite-icon slot=content-end .icon=${l} style=${u({ color: e })}></calcite-icon></calcite-list-item>`));
|
|
139
148
|
}), i;
|
|
140
149
|
}
|
|
141
150
|
buildSliceList() {
|
|
142
|
-
return d`<calcite-list label class=${s(
|
|
151
|
+
return d`<calcite-list label class=${s(o.sliceList)} selection-mode=single selection-appearance=border @calciteListOrderChange=${this.onCalciteListOrderChange}>${this.buildSliceListItem()}</calcite-list>`;
|
|
143
152
|
}
|
|
144
153
|
buildGroupedSliceList() {
|
|
145
|
-
return d`<calcite-list label class=${s(
|
|
154
|
+
return d`<calcite-list label class=${s(o.sliceList)} selection-mode=single selection-appearance=border @calciteListOrderChange=${this.onCalciteListOrderChange}>${this.buildGroupedSlicesListItem()}</calcite-list>`;
|
|
146
155
|
}
|
|
147
156
|
onGroupingThresholdChange(e) {
|
|
148
157
|
const l = e.target.value;
|
|
@@ -185,9 +194,9 @@ class k extends M {
|
|
|
185
194
|
G(this.tooltip);
|
|
186
195
|
}
|
|
187
196
|
render() {
|
|
188
|
-
return d`<div class=${s(
|
|
197
|
+
return d`<div class=${s(o.sectionLabel)}>${this._messages.settings}</div><calcite-label class=${s(o.label)}>${this._messages.shape}<calcite-slider min=0 max=100 step=1 snap .value=${this.model.innerRadiusSize ?? $} @calciteSliderChange=${this.onDonutSizeSliderChange} ${p(this.donutSizeSliderElement)}></calcite-slider></calcite-label><div class=${s(o.pieDonutLabelsContainer)}><calcite-label class=${s(o.label)}>${this._messages.pie}</calcite-label><calcite-label class=${s(o.label)}>${this._messages.donut}</calcite-label></div><calcite-label class=${s(o.label)}><div class=${s(o.groupingLabelContainer)}><div>${this._messages.groupingPercent}</div><calcite-icon icon=information scale=s flip-rtl @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip}></calcite-icon></div><div class=${s(o.sliderInputContainer)}><calcite-slider min=0 max=50 step=1 snap .value=${x(g(this.model.groupingThreshold ?? 0))} @calciteSliderChange=${this.onGroupingThresholdSliderChange} ${p(this.groupingThresholdSliderElement)}></calcite-slider><calcite-input class=${s(o.numberInput)} type=number min=0 max=100 step=1 suffix-text=% .value=${g(this.model.groupingThreshold ?? 0)} @calciteInputInput=${this.onGroupingThresholdChange} @click=${(e) => {
|
|
189
198
|
e.stopPropagation();
|
|
190
|
-
}} ${p(this.groupingThresholdElement)}></calcite-input></div></calcite-label><div class=${s(
|
|
199
|
+
}} ${p(this.groupingThresholdElement)}></calcite-input></div></calcite-label><div class=${s(o.sectionLabel)}>${this._messages.labels}</div><calcite-label class=${s(o.label)}>${this._messages.labelCharacterLimit}<calcite-input type=number min=1 step=1 .value=${g(this.model.labelCharacterLimit)} @calciteInputInput=${this.onLabelCharacterLimitChange} ${p(this.labelCharacterLimitElement)}></calcite-input></calcite-label><calcite-label class=${s(o.label)}>${this._messages.decimalPlaces}<calcite-input type=number min=0 max=20 step=1 .value=${g(this.model.decimalPlaces)} @calciteInputInput=${this.onDecimalPlacesChange} ${p(this.decimalPlacesElement)}></calcite-input></calcite-label><calcite-label class=${s(o.label)}>${this._messages.display}<calcite-radio-button-group class=${s(o.radioGroup)} name=display layout=vertical @calciteRadioButtonGroupChange=${this.onDisplayTypeChange}><calcite-label layout=inline><calcite-radio-button .value=${h.Value} .checked=${this.model.displayType === h.Value}></calcite-radio-button>${this._messages.value}</calcite-label><calcite-label layout=inline><calcite-radio-button .value=${h.Percentage} .checked=${this.model.displayType === h.Percentage}></calcite-radio-button>${this._messages.percentage}</calcite-label><calcite-label layout=inline><calcite-radio-button .value=${h.Both} .checked=${this.model.displayType === h.Both}></calcite-radio-button>${this._messages.both}</calcite-label></calcite-radio-button-group></calcite-label><div class=${s(o.sectionLabel)}>${this._messages.slices}<calcite-button @click=${this.resetSlicesOriginal} .disabled=${!this.model.resetAvailable()} appearance=transparent icon-end=reset>${this._messages.reset}</calcite-button></div>${this.buildSliceList()}<div class=${s(o.sectionLabel)}>${this._messages.groupedSlices}</div>${this.buildGroupedSliceList()}`;
|
|
191
200
|
}
|
|
192
201
|
}
|
|
193
202
|
T("arcgis-charts-config-pie-chart-slices", k);
|