@arcgis/charts-components 5.0.0-next.24 → 5.0.0-next.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/23E4LPNS.js +4 -0
- package/dist/cdn/{VL3VPK6Z.js → 25HZOQTX.js} +2 -2
- package/dist/cdn/{5VLE3SJG.js → 27QGMPZD.js} +2 -2
- package/dist/cdn/{XNPV3IB3.js → 2AYISO5D.js} +2 -2
- package/dist/cdn/2BZ7PJIL.js +4 -0
- package/dist/cdn/{KTCLKKQV.js → 2JGAL4GB.js} +2 -2
- package/dist/cdn/2XGFJUCN.js +4 -0
- package/dist/cdn/{O2KI7OAN.js → 332M56GM.js} +2 -2
- package/dist/cdn/{2CIIM437.js → 33XHOU6V.js} +2 -2
- package/dist/cdn/3CVWC6SY.js +4 -0
- package/dist/cdn/{U5H3KFO7.js → 3F5JD26W.js} +2 -2
- package/dist/cdn/{Z34TFSAK.js → 3FVANFOS.js} +2 -2
- package/dist/cdn/3LACCDLK.js +4 -0
- package/dist/cdn/{HESTXB4W.js → 3QC256ST.js} +2 -2
- package/dist/cdn/3UUAWID3.js +4 -0
- package/dist/cdn/{DOAHYWSH.js → 4IFU7RPW.js} +1 -1
- package/dist/cdn/4IUBBOAD.js +4 -0
- package/dist/cdn/4RJCQGPF.js +4 -0
- package/dist/cdn/{C34F3MI2.js → 4UVPS7K2.js} +2 -2
- package/dist/cdn/{PTN6JMSD.js → 4VV5DORA.js} +1 -1
- package/dist/cdn/{KRNJ6725.js → 4WXELQMS.js} +2 -2
- package/dist/cdn/5BI5J562.js +4 -0
- package/dist/cdn/{S6OPXP57.js → 5DMDCDZ4.js} +2 -2
- package/dist/cdn/5GD5UNTI.js +4 -0
- package/dist/cdn/5OFRVFMT.js +4 -0
- package/dist/cdn/{TQHWGSEQ.js → 5RIWWNNT.js} +1 -1
- package/dist/cdn/{MUAY2ZFD.js → 5V6QTYNK.js} +2 -2
- package/dist/cdn/{BTVKBWYL.js → 66ZJOSHQ.js} +2 -2
- package/dist/cdn/{AQJMM6PQ.js → 6BM2V4O6.js} +2 -2
- package/dist/cdn/{R3FN2YWH.js → 6MYCPXRT.js} +2 -2
- package/dist/cdn/{TQU7G77A.js → 6NBVHVRM.js} +2 -2
- package/dist/cdn/72TRGWAJ.js +4 -0
- package/dist/cdn/7PIIXLVM.js +4 -0
- package/dist/cdn/{7KNB6BCT.js → 7TQI2CXA.js} +2 -2
- package/dist/cdn/7UNKPVH7.js +4 -0
- package/dist/cdn/{AORLOH4J.js → 7WM62IVH.js} +2 -2
- package/dist/cdn/{IGVADTNV.js → A54YJTLP.js} +2 -2
- package/dist/cdn/A7FU4JAL.js +4 -0
- package/dist/cdn/AGFVBD3L.js +4 -0
- package/dist/cdn/{6WWUZICV.js → AHGYW7G3.js} +2 -2
- package/dist/cdn/{LCPQLW4N.js → APOQ4Q3M.js} +2 -2
- package/dist/cdn/{7WL7JFUE.js → ARGYGBP3.js} +2 -2
- package/dist/cdn/AT4XALSL.js +4 -0
- package/dist/cdn/{YSMOM5ME.js → AVP4PQYR.js} +2 -2
- package/dist/cdn/{LRZ4KPRH.js → BE6W3PJV.js} +1 -1
- package/dist/cdn/{QX5L2GN7.js → BIJ3T3PI.js} +2 -2
- package/dist/cdn/BZNYXZNM.js +4 -0
- package/dist/cdn/CAX3OP3N.js +6 -0
- package/dist/cdn/{ZZWJPJT4.js → CFXELRNV.js} +2 -2
- package/dist/cdn/{RQRNMZRC.js → CHU3NFAE.js} +2 -2
- package/dist/cdn/{EK6GYHQW.js → CIL6JPAD.js} +2 -2
- package/dist/cdn/{CG5E2OSK.js → CIQO4U2E.js} +2 -2
- package/dist/cdn/{WZ5R2GBE.js → CMK5TGPQ.js} +1 -1
- package/dist/cdn/COEOU6CR.js +4 -0
- package/dist/cdn/{43ZMJSAY.js → CPWGBODJ.js} +2 -2
- package/dist/cdn/{XIBEFKZ6.js → D2VHVDGZ.js} +2 -2
- package/dist/cdn/D4GARF42.js +4 -0
- package/dist/cdn/{6Q3FTC6I.js → EAFL2KMZ.js} +2 -2
- package/dist/cdn/{QP6QF7TO.js → ECMVV33O.js} +2 -2
- package/dist/cdn/EG4TCGXY.js +4 -0
- package/dist/cdn/{7O5HNYLE.js → ERLGCTUZ.js} +2 -2
- package/dist/cdn/F3IPPQFJ.js +4 -0
- package/dist/cdn/FE6ZJ4SE.js +4 -0
- package/dist/cdn/{GKDC255O.js → FMOR2YIZ.js} +2 -2
- package/dist/cdn/{DFR5ASOW.js → FSP4NA4P.js} +2 -2
- package/dist/cdn/{DOZXKG5J.js → FUC6B4ZL.js} +2 -2
- package/dist/cdn/{52ZNPAKG.js → G4AJJHIJ.js} +2 -2
- package/dist/cdn/{2KYCZ6HY.js → G66J47YY.js} +2 -2
- package/dist/cdn/G6P7D6OB.js +4 -0
- package/dist/cdn/{AABHM5IU.js → GLLV62GT.js} +2 -2
- package/dist/cdn/{6GB7GIXA.js → GNNPQW7X.js} +2 -2
- package/dist/cdn/GRDK45K7.js +4 -0
- package/dist/cdn/{MVRWISV7.js → GZUKM3RJ.js} +2 -2
- package/dist/cdn/{6BOTXYP6.js → HDPWOBGA.js} +2 -2
- package/dist/cdn/{2Q33IXZB.js → HNCWQMEY.js} +2 -2
- package/dist/cdn/{SVATWD7C.js → HR2HAGGA.js} +1 -1
- package/dist/cdn/HRLNKZKN.js +4 -0
- package/dist/cdn/HRPZQQHK.js +4 -0
- package/dist/cdn/{IYX7JQCS.js → HZLS7COC.js} +2 -2
- package/dist/cdn/ID5FYKBD.js +4 -0
- package/dist/cdn/{RFUL7F6Q.js → IDCGW65V.js} +2 -2
- package/dist/cdn/{HFN33C3O.js → IEJWBUPO.js} +2 -2
- package/dist/cdn/{G5DQS6R3.js → IF3USOPD.js} +2 -2
- package/dist/cdn/{MWWXWMZ3.js → INEBJIXD.js} +2 -2
- package/dist/cdn/{OULDTBSA.js → IORITAUU.js} +2 -2
- package/dist/cdn/J52ECIR4.js +4 -0
- package/dist/cdn/{75ABSXHK.js → JJQJONWF.js} +2 -2
- package/dist/cdn/{2HIMITPJ.js → JRRAM4VD.js} +2 -2
- package/dist/cdn/JSMFOZIK.js +4 -0
- package/dist/cdn/{TB6LX2UK.js → KIE6RUUG.js} +2 -2
- package/dist/cdn/{AEQ4THFN.js → KRHGYAZ5.js} +2 -2
- package/dist/cdn/LDEQSESW.js +4 -0
- package/dist/cdn/{ZIYPW7CB.js → LIS5RHP6.js} +2 -2
- package/dist/cdn/{R6IXZQL2.js → LKFZBHST.js} +2 -2
- package/dist/cdn/LKLGRSBU.js +4 -0
- package/dist/cdn/{YDGDTK3Q.js → LP5NAXFX.js} +2 -2
- package/dist/cdn/{CS2SKG6L.js → LTANHXIT.js} +2 -2
- package/dist/cdn/LYQRTDG6.js +4 -0
- package/dist/cdn/M3DIZU2T.js +4 -0
- package/dist/cdn/M4DKVZJB.js +4 -0
- package/dist/cdn/M6JSF6QW.js +4 -0
- package/dist/cdn/{BF4ZUY4Z.js → MLREXGAU.js} +2 -2
- package/dist/cdn/{5LJLYRXP.js → MUY2UPBA.js} +2 -2
- package/dist/cdn/MXXI5QAL.js +4 -0
- package/dist/cdn/{YAFNWOUG.js → MZK5YAN5.js} +2 -2
- package/dist/cdn/{X627ILMN.js → N44FVY4K.js} +2 -2
- package/dist/cdn/{PDLU3IN5.js → NPSG3MVS.js} +2 -2
- package/dist/cdn/NZUIATMA.js +4 -0
- package/dist/cdn/{IHDBVR3V.js → O6WNFWDP.js} +2 -2
- package/dist/cdn/{M6I4GWPX.js → O7L4DJOG.js} +2 -2
- package/dist/cdn/{66Z7CGSI.js → ODHMJ6DI.js} +2 -2
- package/dist/cdn/{YY5YAH4F.js → OH3YMTUV.js} +2 -2
- package/dist/cdn/{6P554JVC.js → OJ3PFH74.js} +2 -2
- package/dist/cdn/{XJQ267Y6.js → OOH6HKRF.js} +2 -2
- package/dist/cdn/{HXKLCDWF.js → OSVO2GWO.js} +2 -2
- package/dist/cdn/OTRV6XPO.js +4 -0
- package/dist/cdn/{AAB5CYMF.js → PBYCQZQD.js} +2 -2
- package/dist/cdn/PQRMDCCV.js +4 -0
- package/dist/cdn/QHIIX4PM.js +4 -0
- package/dist/cdn/QHXRP7HS.js +4 -0
- package/dist/cdn/{7BUM6BJN.js → QLFEKZEG.js} +2 -2
- package/dist/cdn/QLL2MCOY.js +4 -0
- package/dist/cdn/QNAIF4X5.js +4 -0
- package/dist/cdn/{WWMV6AFN.js → QQLQ6ZSH.js} +2 -2
- package/dist/cdn/{5CTQIA4D.js → R5A6TIHX.js} +2 -2
- package/dist/cdn/{3E6Q52LF.js → RHGTW7GR.js} +2 -2
- package/dist/cdn/{IRH6JXTV.js → RM3EKBV5.js} +2 -2
- package/dist/cdn/{LH7JXFZV.js → RU4L3NLV.js} +2 -2
- package/dist/cdn/{5MSKZ3X6.js → SHRU5LBD.js} +2 -2
- package/dist/cdn/SQ3ZQJNR.js +4 -0
- package/dist/cdn/SRX4G4EV.js +4 -0
- package/dist/cdn/T2XT7YWS.js +4 -0
- package/dist/cdn/TEIFE3LY.js +4 -0
- package/dist/cdn/TEUPQUIC.js +4 -0
- package/dist/cdn/TLSMKDSF.js +4 -0
- package/dist/cdn/{3XTDYZCX.js → TSWPQA7S.js} +2 -2
- package/dist/cdn/{NZOTAYYG.js → UDVKYV4G.js} +2 -2
- package/dist/cdn/{LKQS4G43.js → UFEI5KTV.js} +1 -1
- package/dist/cdn/UJJYRPTS.js +42 -0
- package/dist/cdn/{MAZJEBZX.js → UU3QURAQ.js} +2 -2
- package/dist/cdn/{K2TRHPCU.js → UU53DFSK.js} +2 -2
- package/dist/cdn/UYXJZG6X.js +4 -0
- package/dist/cdn/{5WQDNSG6.js → V665L64E.js} +2 -2
- package/dist/cdn/{HIKMPMPH.js → V7LDKI6D.js} +2 -2
- package/dist/cdn/{F2NR3K6J.js → VCTPWHDP.js} +2 -2
- package/dist/cdn/{24UUJDMB.js → VNPJ2C6V.js} +2 -2
- package/dist/cdn/{EJY7M4TB.js → VQ3OIY6U.js} +2 -2
- package/dist/cdn/{54LTRZAM.js → VVOMA2WC.js} +2 -2
- package/dist/cdn/VX6K556G.js +4 -0
- package/dist/cdn/{JE2VQESS.js → VYQENGG3.js} +2 -2
- package/dist/cdn/{JGVJ4QZU.js → VYQSBNTL.js} +2 -2
- package/dist/cdn/W3ZI3QI3.js +4 -0
- package/dist/cdn/W7JLOWCH.js +4 -0
- package/dist/cdn/WHA6AQOY.js +4 -0
- package/dist/cdn/{56MT7MME.js → WHNERWHH.js} +2 -2
- package/dist/cdn/WI7XQQGQ.js +4 -0
- package/dist/cdn/WR374TXI.js +4 -0
- package/dist/cdn/WWXPQGWV.js +4 -0
- package/dist/cdn/X6KPBMU7.js +4 -0
- package/dist/cdn/{3PWK2OEA.js → X722FXZQ.js} +2 -2
- package/dist/cdn/{UOUSF765.js → XANF6KUE.js} +2 -2
- package/dist/cdn/{YUK4R65L.js → XEDCOUTO.js} +2 -2
- package/dist/cdn/{J5WOV4L5.js → XL2GH5BU.js} +1 -1
- package/dist/cdn/{CBPCNXVK.js → Y6JXL6SB.js} +2 -2
- package/dist/cdn/{3ZMUG5W5.js → YCXFNCSZ.js} +1 -1
- package/dist/cdn/YD6CJ5QA.js +4 -0
- package/dist/cdn/YEE4VNND.js +4 -0
- package/dist/cdn/{BHQ2JJ5Y.js → YFCB2747.js} +36 -36
- package/dist/cdn/YO7F2HQT.js +4 -0
- package/dist/cdn/{7SUFZGMR.js → YVT4P5ZR.js} +2 -2
- package/dist/cdn/YYYQTEW4.js +4 -0
- package/dist/cdn/{22LMNVZ2.js → Z26J7TTK.js} +2 -2
- package/dist/cdn/Z3QXHCIS.js +4 -0
- package/dist/cdn/{PXYBVARC.js → ZCABV6MS.js} +2 -2
- package/dist/cdn/{53YQYJVG.js → ZHXREOWX.js} +2 -2
- package/dist/cdn/{R6JYMGAL.js → ZLSOT6XB.js} +2 -2
- package/dist/cdn/{V7W7DXLH.js → ZUKKXIVM.js} +2 -2
- package/dist/cdn/{CYZUI6RX.js → ZVENXLPI.js} +2 -2
- package/dist/cdn/{D625Q6AO.js → ZWNHR5CT.js} +2 -2
- package/dist/cdn/{AVZCQNM7.js → ZZN2FND3.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/chart-rendering/common/config-utils/index.d.ts +2 -104
- package/dist/chart-rendering/common/data/index.d.ts +3 -2
- package/dist/chart-rendering/common/data/utils/misc/index.d.ts +2 -157
- package/dist/chart-rendering/common/data/utils/summarize-data/interfaces.d.ts +4 -1
- package/dist/chart-rendering/common/data/utils/summarize-data/time-binning/index.d.ts +2 -2
- package/dist/chart-rendering/common/defaults/interfaces.d.ts +2 -1
- package/dist/chart-rendering/common/events/index.d.ts +0 -2
- package/dist/chart-rendering/common/interfaces.d.ts +12 -3
- package/dist/chart-rendering/common/loading-indicator/index.d.ts +4 -0
- package/dist/chart-rendering/common/memory-storage/interfaces.d.ts +1 -2
- package/dist/chart-rendering/next/chart-library-elements/loading-indicator/index.d.ts +1 -1
- package/dist/chart-rendering/next/chart-library-elements/loading-indicator/interfaces.d.ts +0 -4
- package/dist/chart-rendering/next/chart-library-elements/series/bar-chart/index.d.ts +1 -1
- package/dist/chart-rendering/next/chart-library-elements/series/index.d.ts +1 -1
- package/dist/chart-rendering/next/chart-library-elements/series/interfaces.d.ts +1 -1
- package/dist/chart-rendering/next/chart-library-elements/series/utils/index.d.ts +3 -4
- package/dist/chart-rendering/next/index.d.ts +1 -1
- package/dist/chart-rendering/next/utils/index.d.ts +1 -7
- package/dist/chart-rendering/stable/chart-library-elements/loading-indicator/index.d.ts +2 -1
- package/dist/chart-rendering/stable/chart-library-elements/loading-indicator/interfaces.d.ts +0 -4
- package/dist/chart-rendering/stable/chart-library-elements/series/histogram/interfaces.d.ts +1 -1
- package/dist/chart-rendering/stable/chart-library-elements/series/interfaces.d.ts +1 -1
- package/dist/chart-rendering/stable/chart-library-elements/series/pie-chart/index.d.ts +1 -1
- package/dist/chart-rendering/stable/chart-library-elements/series/scatter-plot/interfaces.d.ts +1 -1
- package/dist/chart-rendering/stable/index.d.ts +3 -1
- package/dist/chart-rendering/stable/interfaces.d.ts +2 -1
- package/dist/chart-rendering/stable/utils/misc/index.d.ts +2 -8
- package/dist/chunks/action-bar-utils.js +12 -13
- package/dist/chunks/axis-model-wrapper.js +1 -1
- package/dist/chunks/bar-chart-model.js +22 -13
- package/dist/chunks/bar-chart-series.js +21 -12
- package/dist/chunks/baseline-stacking.js +49 -40
- package/dist/chunks/bg_BG.js +1 -1
- package/dist/chunks/bg_BG2.js +1 -1
- package/dist/chunks/box-plot-data.js +78 -70
- package/dist/chunks/box-plot-model.js +29 -21
- package/dist/chunks/chart-ui-utils.js +1 -1
- package/dist/chunks/chart-ui-utils2.js +58 -50
- package/dist/chunks/combo-bar-line-chart-model.js +22 -13
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/config-update.js +147 -5391
- package/dist/chunks/data.js +2 -2
- package/dist/chunks/default.js +1 -1
- package/dist/chunks/gauge-model.js +33 -25
- package/dist/chunks/heat-chart-model.js +38 -30
- package/dist/chunks/histogram-data.js +55 -47
- package/dist/chunks/histogram-model.js +19 -11
- package/dist/chunks/index.js +27652 -596
- package/dist/chunks/index2.js +670 -36
- package/dist/chunks/index3.js +90 -63
- package/dist/chunks/index4.js +62 -91
- package/dist/chunks/interfaces.js +90 -21887
- package/dist/chunks/line-chart-model.js +19 -11
- package/dist/chunks/model-with-baseline-stacking.js +1 -1
- package/dist/chunks/model-with-data-labels.js +30 -21
- package/dist/chunks/model-with-multi-axes.js +19 -11
- package/dist/chunks/model-with-rotation.js +14 -5
- package/dist/chunks/pie-chart-data.js +45 -37
- package/dist/chunks/pie-chart-model.js +72 -64
- package/dist/chunks/popover-ui-utils.js +1 -1
- package/dist/chunks/radar-chart-model.js +18 -10
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/rest-js-object-literals.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/scatterplot-model.js +44 -36
- package/dist/chunks/{data2.js → serial-chart-data.js} +283 -278
- package/dist/chunks/serial-chart-model.js +44 -35
- package/dist/chunks/series-types.js +1 -1
- package/dist/chunks/series.js +18 -9
- package/dist/chunks/sk_SK.js +1 -1
- package/dist/chunks/store.js +1 -1
- package/dist/chunks/type-guards.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/web-component-utils.js +195 -183
- package/dist/components/arcgis-chart/customElement.d.ts +1 -1
- package/dist/components/arcgis-chart/customElement.js +6791 -6791
- package/dist/components/arcgis-charts-action-bar/customElement.js +16 -8
- package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-axis/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +38 -29
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +22 -23
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +29 -22
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +20 -12
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +17 -8
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +19 -10
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +47 -38
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +22 -15
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +12 -3
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +18 -9
- package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +18 -9
- package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +43 -36
- package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-font-style/customElement.js +19 -10
- package/dist/components/arcgis-charts-config-format/customElement.js +33 -24
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +12 -3
- package/dist/components/arcgis-charts-config-general/customElement.js +15 -6
- package/dist/components/arcgis-charts-config-guide/customElement.js +29 -30
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +16 -7
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +20 -11
- package/dist/components/arcgis-charts-config-histogram/customElement.js +14 -5
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +22 -13
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +13 -4
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +24 -15
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +13 -4
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +13 -4
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +35 -26
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +12 -3
- package/dist/components/arcgis-charts-config-line-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +30 -21
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +13 -4
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +38 -29
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +27 -18
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +12 -3
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +33 -24
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +26 -17
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +13 -4
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +16 -7
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +19 -10
- package/dist/docs/api.json +3 -3
- package/dist/docs/docs.json +5 -5
- package/dist/docs/web-types.json +2 -2
- package/dist/index.js +424 -407
- package/dist/loader.js +1 -1
- package/dist/model.js +1 -1
- package/dist/utils/chart-config/utils/index.d.ts +255 -3
- package/dist/utils/components/config-update.d.ts +19 -14
- package/dist/utils/components/data-update.d.ts +33 -0
- package/dist/utils/components/web-component-utils.d.ts +8 -2
- package/dist/utils/data/interfaces.d.ts +30 -2
- package/dist/utils/data/time-binning/interfaces.d.ts +0 -4
- package/dist/utils/defaults/index.d.ts +1 -1
- package/dist/utils/layer/index.d.ts +6 -11
- package/dist/utils/layer/query-features/index.d.ts +2 -2
- package/package.json +3 -3
- package/dist/cdn/2HCJFTCX.js +0 -4
- package/dist/cdn/2W3SVPRK.js +0 -4
- package/dist/cdn/34BE47CG.js +0 -4
- package/dist/cdn/3FAXGDQG.js +0 -4
- package/dist/cdn/4AHQ5SXI.js +0 -4
- package/dist/cdn/4K5H4IIC.js +0 -4
- package/dist/cdn/4UHZZJIJ.js +0 -4
- package/dist/cdn/4Y2HJNTD.js +0 -4
- package/dist/cdn/57DL54HK.js +0 -4
- package/dist/cdn/5O2H4A2X.js +0 -4
- package/dist/cdn/6RBVOBYK.js +0 -4
- package/dist/cdn/74FN5PHE.js +0 -4
- package/dist/cdn/A5SLMYH4.js +0 -4
- package/dist/cdn/ARYJXNZY.js +0 -4
- package/dist/cdn/AWWCMSB6.js +0 -4
- package/dist/cdn/BILZPN5Z.js +0 -4
- package/dist/cdn/C3SO6A2I.js +0 -4
- package/dist/cdn/C4OP6FL2.js +0 -4
- package/dist/cdn/CE4OHHT6.js +0 -4
- package/dist/cdn/CIQUCT5V.js +0 -4
- package/dist/cdn/CIZIXCQI.js +0 -4
- package/dist/cdn/DAKQGQTK.js +0 -4
- package/dist/cdn/DTVDB7XR.js +0 -4
- package/dist/cdn/E3OU73RM.js +0 -4
- package/dist/cdn/ERTDHAQ2.js +0 -4
- package/dist/cdn/F6TI5VZ3.js +0 -4
- package/dist/cdn/FPJNPTR2.js +0 -4
- package/dist/cdn/G4ODLV5V.js +0 -4
- package/dist/cdn/GGXAEV4J.js +0 -4
- package/dist/cdn/GLISPNPO.js +0 -4
- package/dist/cdn/GU56O5YZ.js +0 -4
- package/dist/cdn/HPDUVIFG.js +0 -4
- package/dist/cdn/IHRUJZ4V.js +0 -42
- package/dist/cdn/IRTPBRMM.js +0 -4
- package/dist/cdn/IVAD3MLP.js +0 -4
- package/dist/cdn/JC2TOH2N.js +0 -4
- package/dist/cdn/KCATM5A6.js +0 -4
- package/dist/cdn/KMIQYYPD.js +0 -4
- package/dist/cdn/KQNCBAFR.js +0 -4
- package/dist/cdn/KRQU2VVH.js +0 -4
- package/dist/cdn/LCABMHS3.js +0 -4
- package/dist/cdn/LNABTX6W.js +0 -4
- package/dist/cdn/LZYHEE3A.js +0 -6
- package/dist/cdn/MOOH4R4I.js +0 -4
- package/dist/cdn/MTH4ZJMT.js +0 -4
- package/dist/cdn/MWFMMCZ2.js +0 -4
- package/dist/cdn/N42ZTZTN.js +0 -4
- package/dist/cdn/NPZM43GJ.js +0 -4
- package/dist/cdn/ODBKMQU5.js +0 -4
- package/dist/cdn/OH354KS5.js +0 -4
- package/dist/cdn/OWC76L4E.js +0 -4
- package/dist/cdn/P4FOVDOK.js +0 -4
- package/dist/cdn/P4SZVGSI.js +0 -4
- package/dist/cdn/PSIFLLVB.js +0 -4
- package/dist/cdn/RAAUIA77.js +0 -4
- package/dist/cdn/RVUCITO5.js +0 -4
- package/dist/cdn/SEQG6AC3.js +0 -4
- package/dist/cdn/TPD4XFBX.js +0 -4
- package/dist/cdn/TRWXADFK.js +0 -4
- package/dist/cdn/VLN7GOTE.js +0 -4
- package/dist/cdn/VSSRAQAB.js +0 -4
- package/dist/cdn/VTMJJADU.js +0 -4
- package/dist/cdn/W4LTEWOO.js +0 -4
- package/dist/cdn/WZV3KQDI.js +0 -4
- package/dist/cdn/XHLDGKPF.js +0 -4
- package/dist/cdn/YF3F3EB5.js +0 -4
- package/dist/cdn/YNXFAFRS.js +0 -4
- package/dist/cdn/Z5IFN4LC.js +0 -4
- package/dist/cdn/ZZR7VDLV.js +0 -4
- package/dist/chart-rendering/common/data/utils/misc/interfaces.d.ts +0 -30
- package/dist/chunks/index5.js +0 -66
- package/dist/chunks/interfaces2.js +0 -18
- package/dist/chunks/interfaces3.js +0 -96
- package/dist/chunks/interfaces4.js +0 -491
|
@@ -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.26 */
|
|
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.26 */
|
|
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.26 */
|
|
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.26 */
|
|
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.26 */
|
|
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.26 */
|
|
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.26 */
|
|
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.26 */
|
|
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.26 */
|
|
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);
|