@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
|
@@ -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 { aj as h } 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 { e as d } from "../../chunks/popover-ui-utils.js";
|
|
17
26
|
import { U as g } from "../../chunks/chart-ui-utils2.js";
|
|
@@ -20,8 +29,8 @@ import { createRef as C, ref as u } from "lit/directives/ref.js";
|
|
|
20
29
|
import { LitElement as v, createEvent as o, safeClassMap as i } from "@arcgis/lumina";
|
|
21
30
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
22
31
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
23
|
-
v5.0.0-next.
|
|
24
|
-
const
|
|
32
|
+
v5.0.0-next.26 */
|
|
33
|
+
const r = {
|
|
25
34
|
jsAppFlyout: "js-app-flyout",
|
|
26
35
|
panelChildrenContainer: "panel-children-container"
|
|
27
36
|
}, x = p`.hide{display:none}.am5-modal{width:100%;height:100%;position:absolute;z-index:100000;top:0;left:0}.am5-html-container{z-index:101!important}.am5-modal-curtain{top:0;left:0;width:100%;height:100%;position:absolute;background:#fff!important;z-index:100}.am5-modal-wrapper{top:0;left:0;width:100%;height:100%;position:absolute;display:flex;align-items:center;justify-content:center;white-space:nowrap;background:#ffffff80;z-index:101}.am5-modal-content{display:inline-block;padding:1.2em;vertical-align:middle;text-align:start;white-space:normal;background:#fff;border-radius:4px;box-shadow:#00000073 0 0 36px;color:#000}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.arcgis-charts-modal{box-shadow:none!important}.arcgis-charts-modal-header{background-color:#0000000d;font-weight:700;padding:4px;align-content:center}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}:host{overflow-y:auto;width:min-content}.panel-children-container{display:flex;padding:0 1rem;margin-top:1rem}.panel-children-container calcite-label{flex:1 1 0px;display:flex;width:0px}`;
|
|
@@ -53,14 +62,14 @@ class b extends v {
|
|
|
53
62
|
});
|
|
54
63
|
}
|
|
55
64
|
colorChange(e) {
|
|
56
|
-
const t = e instanceof CustomEvent ? e.detail : e, [
|
|
57
|
-
this.selectedColor = [
|
|
65
|
+
const t = e instanceof CustomEvent ? e.detail : e, [s, a, n] = t, l = h * 255;
|
|
66
|
+
this.selectedColor = [s, a, n, l], this.arcgisChartsConfigSeriesPopoverColorChange.emit({ color: [s, a, n, l] });
|
|
58
67
|
}
|
|
59
68
|
render() {
|
|
60
69
|
const e = this.nullCategory?.symbol?.color ?? this.selectedColor, t = this.nullCategory?.text ?? this.selectedName;
|
|
61
70
|
return m`<div class=${i({
|
|
62
|
-
[
|
|
63
|
-
})}><calcite-popover .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} .open=${this.open} @calcitePopoverClose=${this.closePopover} label auto-close ${u(this.popoverElement)}><calcite-panel .heading=${this._messages.seriesElement} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div class=${i(
|
|
71
|
+
[r.jsAppFlyout]: !0
|
|
72
|
+
})}><calcite-popover .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} .open=${this.open} @calcitePopoverClose=${this.closePopover} label auto-close ${u(this.popoverElement)}><calcite-panel .heading=${this._messages.seriesElement} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div class=${i(r.panelChildrenContainer)}><calcite-label>${this._messages.label}<calcite-input type=text .value=${t} @calciteInputInput=${this.seriesNameChange}></calcite-input></calcite-label></div><div class=${i(r.panelChildrenContainer)}><arcgis-charts-config-colors .heading=${this._messages.symbolColor} .rgba=${e} @colorSelect=${this.colorChange}></arcgis-charts-config-colors></div></calcite-panel></calcite-popover></div>`;
|
|
64
73
|
}
|
|
65
74
|
}
|
|
66
75
|
c("arcgis-charts-config-bar-chart-series-popover", b);
|
|
@@ -3,24 +3,33 @@ import "@arcgis/toolkit/intl";
|
|
|
3
3
|
import { isEqual as r } from "lodash-es";
|
|
4
4
|
import "../../chunks/series-types.js";
|
|
5
5
|
import "d3-array";
|
|
6
|
-
import { g as n,
|
|
6
|
+
import { g as n, bx as h } from "../../chunks/index.js";
|
|
7
|
+
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
8
|
+
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
9
|
+
import "@arcgis/core/Graphic.js";
|
|
10
|
+
import "@arcgis/core/intl.js";
|
|
11
|
+
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
12
|
+
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
13
|
+
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
14
|
+
import "simple-statistics";
|
|
15
|
+
import "@arcgis/core/request.js";
|
|
16
|
+
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
7
17
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
8
18
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
9
19
|
import "@arcgis/core/rest/support/Query.js";
|
|
10
20
|
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
11
21
|
import "@arcgis/core/time/TimeExtent.js";
|
|
12
22
|
import "@arcgis/core/core/promiseUtils.js";
|
|
13
|
-
import "
|
|
14
|
-
import { h as c } from "../../chunks/index4.js";
|
|
23
|
+
import { h as c } from "../../chunks/index3.js";
|
|
15
24
|
import "@arcgis/toolkit/dom";
|
|
16
25
|
import { LitElement as d } from "@arcgis/lumina";
|
|
17
26
|
import { css as m, html as a } from "lit";
|
|
18
|
-
import { C as s } from "../../chunks/
|
|
27
|
+
import { C as s } from "../../chunks/interfaces.js";
|
|
19
28
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
20
29
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
21
|
-
v5.0.0-next.
|
|
22
|
-
const
|
|
23
|
-
class
|
|
30
|
+
v5.0.0-next.26 */
|
|
31
|
+
const p = m`: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%}`;
|
|
32
|
+
class f extends d {
|
|
24
33
|
constructor() {
|
|
25
34
|
super(...arguments), this.onModelConfigChange = async (e) => {
|
|
26
35
|
const o = e?.detail.config ?? this.model.config;
|
|
@@ -31,7 +40,7 @@ class g extends d {
|
|
|
31
40
|
this.properties = { layerFieldsInfo: 16, activeColorMatch: 16, model: 0, popoverPlacement: 1, seriesColor: 0, page: 1, calculatedMinMaxBounds: 0, layer: 0, usePopupTemplateFieldsInfo: 5 };
|
|
32
41
|
}
|
|
33
42
|
static {
|
|
34
|
-
this.styles =
|
|
43
|
+
this.styles = p;
|
|
35
44
|
}
|
|
36
45
|
async load() {
|
|
37
46
|
this.layer !== void 0 && await this.layerChange(this.layer, void 0), this.seriesColor !== void 0 && this.seriesColorChange(this.seriesColor), this.usePopupTemplateFieldsInfo !== void 0 && await this.usePopupTemplateFieldsInfoChange(this.usePopupTemplateFieldsInfo, void 0), this.modelChange(this.model), this.onModelConfigChange(), this.updateDataFilters();
|
|
@@ -101,7 +110,7 @@ class g extends d {
|
|
|
101
110
|
return e;
|
|
102
111
|
}
|
|
103
112
|
}
|
|
104
|
-
l("arcgis-charts-config-box-plot",
|
|
113
|
+
l("arcgis-charts-config-box-plot", f);
|
|
105
114
|
export {
|
|
106
|
-
|
|
115
|
+
f as ArcgisChartsConfigBoxPlot
|
|
107
116
|
};
|
|
@@ -5,18 +5,27 @@ import { W as y } from "../../chunks/series-types.js";
|
|
|
5
5
|
import "@arcgis/toolkit/intl";
|
|
6
6
|
import { isEqual as b } from "lodash-es";
|
|
7
7
|
import "d3-array";
|
|
8
|
-
import {
|
|
8
|
+
import { aq as d, cO as S, cN as u } 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 { r as p } from "../../chunks/popover-ui-utils.js";
|
|
18
27
|
import { repeat as v } from "lit/directives/repeat.js";
|
|
19
|
-
import { a as l, e as m } from "../../chunks/
|
|
28
|
+
import { a as l, e as m } from "../../chunks/interfaces.js";
|
|
20
29
|
import { d as $, s as x } from "../../chunks/store.js";
|
|
21
30
|
import { U as F } from "../../chunks/chart-ui-utils2.js";
|
|
22
31
|
import { u as I } from "../../chunks/useT9n.js";
|
|
@@ -25,7 +34,7 @@ import { createRef as h, ref as g } from "lit/directives/ref.js";
|
|
|
25
34
|
import { LitElement as P, createEvent as O, safeClassMap as o, renderElement 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.
|
|
37
|
+
v5.0.0-next.26 */
|
|
29
38
|
const r = {
|
|
30
39
|
label: "label",
|
|
31
40
|
fieldList: "field-list",
|
|
@@ -43,38 +52,38 @@ class E extends P {
|
|
|
43
52
|
}, this.onBoxPlotDataChange = async (t) => {
|
|
44
53
|
try {
|
|
45
54
|
if (t.detail !== null && t.detail?.value !== void 0) {
|
|
46
|
-
const { contentKind: e } = t.detail,
|
|
55
|
+
const { contentKind: e } = t.detail, i = [...t.detail.value];
|
|
47
56
|
switch ($(x), e) {
|
|
48
57
|
case l.category: {
|
|
49
|
-
const
|
|
50
|
-
if (this.model.category =
|
|
58
|
+
const s = i[0]?.trim() || d;
|
|
59
|
+
if (this.model.category = s, this.model.getSortOrder() === c.customSort) {
|
|
51
60
|
const n = await this.updateCustomSortProps();
|
|
52
61
|
this.model.orderByList = n, this.sortOrderResetCounter += 1;
|
|
53
62
|
}
|
|
54
63
|
break;
|
|
55
64
|
}
|
|
56
65
|
case l.numericFields: {
|
|
57
|
-
this.model.numericFields =
|
|
58
|
-
const
|
|
59
|
-
if (this.model.standardizeValues =
|
|
66
|
+
this.model.numericFields = i;
|
|
67
|
+
const s = i.length > 1;
|
|
68
|
+
if (this.model.standardizeValues = s, this.model.getSortOrder() === c.customSort) {
|
|
60
69
|
const n = await this.updateCustomSortProps();
|
|
61
70
|
this.model.orderByList = n, this.sortOrderResetCounter += 1;
|
|
62
71
|
}
|
|
63
72
|
break;
|
|
64
73
|
}
|
|
65
74
|
case l.splitByField: {
|
|
66
|
-
const
|
|
67
|
-
this.model.splitByField =
|
|
75
|
+
const s = i[0]?.trim() || "";
|
|
76
|
+
this.model.splitByField = s;
|
|
68
77
|
break;
|
|
69
78
|
}
|
|
70
79
|
case l.sortOrder:
|
|
71
80
|
{
|
|
72
|
-
const
|
|
73
|
-
if (
|
|
81
|
+
const s = i[0];
|
|
82
|
+
if (s === c.customSort) {
|
|
74
83
|
const n = await this.updateCustomSortProps();
|
|
75
|
-
this.model.setSortOrder(
|
|
84
|
+
this.model.setSortOrder(s, n);
|
|
76
85
|
} else
|
|
77
|
-
this.model.setSortOrder(
|
|
86
|
+
this.model.setSortOrder(s);
|
|
78
87
|
this.sortOrderResetCounter += 1;
|
|
79
88
|
}
|
|
80
89
|
break;
|
|
@@ -108,8 +117,8 @@ class E extends P {
|
|
|
108
117
|
}
|
|
109
118
|
onCalciteListOrderChange(t) {
|
|
110
119
|
if (t.detail !== null && t.detail !== void 0) {
|
|
111
|
-
const { newIndex: e, oldIndex:
|
|
112
|
-
this.model.moveCustomSortValuesInOrderByList(
|
|
120
|
+
const { newIndex: e, oldIndex: i } = t.detail;
|
|
121
|
+
this.model.moveCustomSortValuesInOrderByList(i, e);
|
|
113
122
|
}
|
|
114
123
|
}
|
|
115
124
|
onCustomSortItemSelected(t) {
|
|
@@ -118,14 +127,14 @@ class E extends P {
|
|
|
118
127
|
}
|
|
119
128
|
onCustomSortItemMoved(t) {
|
|
120
129
|
const { id: e } = t.target;
|
|
121
|
-
let
|
|
122
|
-
const
|
|
123
|
-
e === m.Up ?
|
|
130
|
+
let i = this.model.orderByList.length;
|
|
131
|
+
const s = this.model.orderByList.indexOf(this.selectedCustomSortItemId);
|
|
132
|
+
e === m.Up ? i = s - 1 : e === m.Down && (i = s + 1), s >= 0 && i >= 0 && i < this.model.orderByList.length && (this.model.moveCustomSortValuesInOrderByList(s, i), this.sortOrderResetCounter += 1);
|
|
124
133
|
}
|
|
125
134
|
buildCustomSortListItems() {
|
|
126
135
|
return v(this.model.orderByList, (e) => e, (e) => {
|
|
127
|
-
const
|
|
128
|
-
return a`<calcite-list-item id=${e ?? B} .label=${e ?? ""} .description=${
|
|
136
|
+
const i = S(this.layerFieldsInfo, e);
|
|
137
|
+
return a`<calcite-list-item id=${e ?? B} .label=${e ?? ""} .description=${i} .value=${e} .selected=${this.selectedCustomSortItemId === e} @calciteListItemSelect=${this.onCustomSortItemSelected}><calcite-icon slot=content-end></calcite-icon></calcite-list-item>`;
|
|
129
138
|
});
|
|
130
139
|
}
|
|
131
140
|
buildCustomSortList() {
|
|
@@ -139,9 +148,9 @@ class E extends P {
|
|
|
139
148
|
}
|
|
140
149
|
async onRemoveNumericField(t) {
|
|
141
150
|
const e = t.target.value;
|
|
142
|
-
if (this.model.numericFields = this.model.numericFields.filter((
|
|
143
|
-
const
|
|
144
|
-
this.model.orderByList =
|
|
151
|
+
if (this.model.numericFields = this.model.numericFields.filter((i) => i !== e), this.model.numericFields.length === 0 && this.model.resetConfig(), this.model.getSortOrder() === c.customSort) {
|
|
152
|
+
const i = await this.updateCustomSortProps();
|
|
153
|
+
this.model.orderByList = i, this.sortOrderResetCounter += 1;
|
|
145
154
|
}
|
|
146
155
|
}
|
|
147
156
|
async updateCustomSortProps() {
|
|
@@ -164,22 +173,22 @@ class E extends P {
|
|
|
164
173
|
}
|
|
165
174
|
setupPopover(t) {
|
|
166
175
|
t.stopImmediatePropagation(), this.boxPlotPopover = p(this.boxPlotPopover);
|
|
167
|
-
let e,
|
|
176
|
+
let e, i, s, n = !1;
|
|
168
177
|
switch (this.contentKind) {
|
|
169
178
|
case l.category:
|
|
170
|
-
e = this.categoryElement.value,
|
|
179
|
+
e = this.categoryElement.value, i = this._messages.categoryHeader, s = this.model.category === d ? "" : this.model.category;
|
|
171
180
|
break;
|
|
172
181
|
case l.numericFields:
|
|
173
|
-
e = this.numericFieldsElement.value,
|
|
182
|
+
e = this.numericFieldsElement.value, i = this._messages.numericFieldsHeader, s = this.model.numericFields;
|
|
174
183
|
break;
|
|
175
184
|
case l.splitByField:
|
|
176
|
-
e = this.splitByFieldElement.value,
|
|
185
|
+
e = this.splitByFieldElement.value, i = this._messages.splitByFieldHeader, s = this.model.splitByField;
|
|
177
186
|
break;
|
|
178
187
|
case l.sortOrder:
|
|
179
|
-
e = this.sortOrderElement.value,
|
|
188
|
+
e = this.sortOrderElement.value, i = this._messages.selectSortOrder, s = this.model.getSortOrder(), n = this.isCustomSortDisabled;
|
|
180
189
|
break;
|
|
181
190
|
}
|
|
182
|
-
this.boxPlotPopover = L(a`<arcgis-charts-config-box-plot-popover .headingTitle=${
|
|
191
|
+
this.boxPlotPopover = L(a`<arcgis-charts-config-box-plot-popover .headingTitle=${i} .referenceElement=${e} open .contentKind=${this.contentKind} .layerFieldsInfo=${this.layerFieldsInfo} .selectedContent=${s} .isCustomSortDisabled=${n} @arcgisChartsConfigBoxPlotDataPopoverChange=${this.onBoxPlotDataChange} @arcgisChartsConfigPopoverClose=${this.popoverClose}></arcgis-charts-config-box-plot-popover>`), !document.body.contains(this.boxPlotPopover) && this.boxPlotPopover !== null && document.body.appendChild(this.boxPlotPopover);
|
|
183
192
|
}
|
|
184
193
|
onAddNumericFields(t) {
|
|
185
194
|
this.contentKind = l.numericFields, this.setupPopover(t);
|
|
@@ -194,13 +203,13 @@ class E extends P {
|
|
|
194
203
|
this.selectedCustomSortItemId = "", this.model.orderByList = [...this.originalCustomSortLabels], this.sortOrderResetCounter += 1;
|
|
195
204
|
}
|
|
196
205
|
renderCustomSortUI() {
|
|
197
|
-
const t = this.model.getSortOrder(), e = this.model.getAxisValueFormat(0)?.type,
|
|
198
|
-
return e === y.CategoryAxisFormat && t === c.customSort && !this.isCustomSortDisabled ? a`<calcite-label class=${o(r.label)}><div class=${o(r.customSortButtons)}><div><calcite-button appearance=transparent .disabled=${
|
|
206
|
+
const t = this.model.getSortOrder(), e = this.model.getAxisValueFormat(0)?.type, i = this.model.orderByList.indexOf(this.selectedCustomSortItemId);
|
|
207
|
+
return e === y.CategoryAxisFormat && t === c.customSort && !this.isCustomSortDisabled ? a`<calcite-label class=${o(r.label)}><div class=${o(r.customSortButtons)}><div><calcite-button appearance=transparent .disabled=${i === 0 || i === -1 || this.selectedCustomSortItemId.trim() === ""} icon-start=arrow-bold-up id=${m.Up} kind=neutral scale=s @click=${this.onCustomSortItemMoved}></calcite-button><calcite-button appearance=transparent .disabled=${i === -1 || i === this.model.orderByList.length - 1 || this.selectedCustomSortItemId.trim() === ""} icon-start=arrow-bold-down id=${m.Down} kind=neutral scale=s @click=${this.onCustomSortItemMoved}></calcite-button></div><calcite-button @click=${this.resetToOriginalCustomSortLabels} .disabled=${b(this.model.orderByList, this.originalCustomSortLabels)} appearance=transparent icon-end=reset>${this._messages.reset}</calcite-button></div>${this.model.category === d ? this._messages.values : this._messages.category}${this.buildCustomSortList()}</calcite-label>` : null;
|
|
199
208
|
}
|
|
200
209
|
renderNumericFields(t) {
|
|
201
210
|
const e = [];
|
|
202
|
-
for (const
|
|
203
|
-
e.push(this.buildNumericFieldItem(
|
|
211
|
+
for (const i of t)
|
|
212
|
+
e.push(this.buildNumericFieldItem(i));
|
|
204
213
|
return a`<calcite-list label class=${o(r.fieldList)} ${g(this.numericFieldsElement)}>${e}</calcite-list>`;
|
|
205
214
|
}
|
|
206
215
|
renderCategory() {
|
|
@@ -215,8 +224,8 @@ class E extends P {
|
|
|
215
224
|
return a`<arcgis-charts-config-field-select .label=${this._messages[this.model.getSortOrder()]} @click=${this.onSortOrderSelect} ${g(this.sortOrderElement)}></arcgis-charts-config-field-select>`;
|
|
216
225
|
}
|
|
217
226
|
render() {
|
|
218
|
-
const t = this.renderCategory(), e = this.renderNumericFields([...this.model.numericFields ?? []]),
|
|
219
|
-
return a`<div><calcite-label class=${o(r.label)}>${this._messages.numericFields}${e}</calcite-label><div class=${o(r.fab)}><calcite-fab appearance=outline-fill kind=neutral scale=m .label=${this._messages.selectNumericFields} text-enabled .text=${this._messages.selectNumericFields} icon=plus @click=${this.onAddNumericFields}></calcite-fab></div><calcite-label class=${o(r.label)}><div>${this._messages.category} <span class=${o(r.dimText)}>(${this._messages.optional})</span></div>${t}</calcite-label><calcite-label class=${o(r.label)}><div class=${o(this.disableSplitBy ? r.dimText : "")}>${this._messages.splitBy} <span class=${o(r.dimText)}>(${this._messages.optional})</span></div>${
|
|
227
|
+
const t = this.renderCategory(), e = this.renderNumericFields([...this.model.numericFields ?? []]), i = this.renderSplitBy(), s = this.renderSorting(), n = this.renderCustomSortUI();
|
|
228
|
+
return a`<div><calcite-label class=${o(r.label)}>${this._messages.numericFields}${e}</calcite-label><div class=${o(r.fab)}><calcite-fab appearance=outline-fill kind=neutral scale=m .label=${this._messages.selectNumericFields} text-enabled .text=${this._messages.selectNumericFields} icon=plus @click=${this.onAddNumericFields}></calcite-fab></div><calcite-label class=${o(r.label)}><div>${this._messages.category} <span class=${o(r.dimText)}>(${this._messages.optional})</span></div>${t}</calcite-label><calcite-label class=${o(r.label)}><div class=${o(this.disableSplitBy ? r.dimText : "")}>${this._messages.splitBy} <span class=${o(r.dimText)}>(${this._messages.optional})</span></div>${i}</calcite-label><div>${(this.model.numericFields ?? []).length > 1 ? a`<calcite-label class=${o(r.label)} layout=inline-space-between>${this._messages.standardizeValues}<calcite-switch .checked=${this.model.standardizeValues} @calciteSwitchChange=${this.onStandardizeValuesChange}></calcite-switch></calcite-label>` : null}</div><calcite-label class=${o(r.label)} layout=inline-space-between>${this._messages.showOutliers}<calcite-switch .checked=${this.model.showOutliers} @calciteSwitchChange=${this.onShowOutliersChange}></calcite-switch></calcite-label><calcite-label class=${o(r.label)}>${this._messages.sortOrder}${s}</calcite-label>${n}</div>`;
|
|
220
229
|
}
|
|
221
230
|
}
|
|
222
231
|
C("arcgis-charts-config-box-plot-data", E);
|
|
@@ -7,18 +7,25 @@ import { a as u } from "../../chunks/rest-js-object-literals.js";
|
|
|
7
7
|
import "@arcgis/toolkit/intl";
|
|
8
8
|
import "lodash-es";
|
|
9
9
|
import "d3-array";
|
|
10
|
-
import {
|
|
10
|
+
import { cN as v, bC as g, bA as $, cC as x } from "../../chunks/index.js";
|
|
11
|
+
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
12
|
+
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
13
|
+
import "@arcgis/core/Graphic.js";
|
|
14
|
+
import { substitute as F } from "@arcgis/core/intl.js";
|
|
15
|
+
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
16
|
+
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
17
|
+
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
18
|
+
import "simple-statistics";
|
|
19
|
+
import "@arcgis/core/request.js";
|
|
20
|
+
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
11
21
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
12
22
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
13
23
|
import "@arcgis/core/rest/support/Query.js";
|
|
14
24
|
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
15
25
|
import "@arcgis/core/time/TimeExtent.js";
|
|
16
26
|
import "@arcgis/core/core/promiseUtils.js";
|
|
17
|
-
import "
|
|
18
|
-
import {
|
|
19
|
-
import { e as F, p as L } from "../../chunks/popover-ui-utils.js";
|
|
20
|
-
import { substitute as P } from "@arcgis/core/intl.js";
|
|
21
|
-
import { a as n } from "../../chunks/interfaces3.js";
|
|
27
|
+
import { e as L, p as P } from "../../chunks/popover-ui-utils.js";
|
|
28
|
+
import { a as n } from "../../chunks/interfaces.js";
|
|
22
29
|
import { U as h, e as I, i as f, d as w } from "../../chunks/chart-ui-utils2.js";
|
|
23
30
|
import { u as D } from "../../chunks/useT9n.js";
|
|
24
31
|
import { css as S, html as l } from "lit";
|
|
@@ -26,7 +33,7 @@ import { createRef as b, ref as m } from "lit/directives/ref.js";
|
|
|
26
33
|
import { LitElement as T, createEvent as C, renderElement as E, safeStyleMap as B, safeClassMap as d } from "@arcgis/lumina";
|
|
27
34
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
28
35
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
29
|
-
v5.0.0-next.
|
|
36
|
+
v5.0.0-next.26 */
|
|
30
37
|
const o = {
|
|
31
38
|
jsAppFlyout: "js-app-flyout",
|
|
32
39
|
name: "bar-chart-data-popover",
|
|
@@ -38,8 +45,8 @@ const o = {
|
|
|
38
45
|
sortMedian: "sort-median",
|
|
39
46
|
sortOrderPickList: "sort-order-pick-list",
|
|
40
47
|
panel: "panel"
|
|
41
|
-
},
|
|
42
|
-
class
|
|
48
|
+
}, N = 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-mean,.sort-median{transform:rotate(90deg)}.sort-order-pick-list{overflow-y:hidden}.panel{max-height:60vh}`;
|
|
49
|
+
class z extends T {
|
|
43
50
|
constructor() {
|
|
44
51
|
super(...arguments), this._messages = D(), this.picklist = b(), this.placement = "leading", this.popoverElement = b(), this.offsetDistance = -200, this.pickListHasChanged = !1, this.layerFieldsInfo = [], this.isCustomSortDisabled = !1, this.arcgisChartsConfigBoxPlotDataPopoverChange = C(), this.arcgisChartsConfigPopoverClose = C();
|
|
45
52
|
}
|
|
@@ -47,7 +54,7 @@ class N extends T {
|
|
|
47
54
|
this.properties = { messageOverrides: 0, headingTitle: 1, referenceElement: 0, open: 5, contentKind: 1, layerFieldsInfo: 0, isCustomSortDisabled: 5, selectedContent: 1 };
|
|
48
55
|
}
|
|
49
56
|
static {
|
|
50
|
-
this.styles =
|
|
57
|
+
this.styles = N;
|
|
51
58
|
}
|
|
52
59
|
async reposition() {
|
|
53
60
|
await this.popoverElement.value?.reposition();
|
|
@@ -58,12 +65,12 @@ class N extends T {
|
|
|
58
65
|
async updated() {
|
|
59
66
|
setTimeout(async () => {
|
|
60
67
|
typeof this.picklist.value?.setFocus == "function" && await this.picklist.value?.setFocus();
|
|
61
|
-
}, h.PopoverTimer),
|
|
68
|
+
}, h.PopoverTimer), L(this.popoverElement.value, this.open), this.hasUpdated || setTimeout(() => {
|
|
62
69
|
this.popoverElement.value?.reposition();
|
|
63
70
|
}, h.PopoverTimer);
|
|
64
71
|
}
|
|
65
72
|
selectedContentChange(e, t) {
|
|
66
|
-
this.pickListHasChanged =
|
|
73
|
+
this.pickListHasChanged = P(e, t);
|
|
67
74
|
}
|
|
68
75
|
closePopover() {
|
|
69
76
|
if (this.contentKind === n.numericFields && this.pickListHasChanged) {
|
|
@@ -163,7 +170,7 @@ class N extends T {
|
|
|
163
170
|
}
|
|
164
171
|
createTooltip(e) {
|
|
165
172
|
if (e.target?.label === this._messages.customSort && this.isCustomSortDisabled) {
|
|
166
|
-
const t = e.target, i = x(t), a = new Intl.NumberFormat(i).format(h.customSortLimit), c =
|
|
173
|
+
const t = e.target, i = x(t), a = new Intl.NumberFormat(i).format(h.customSortLimit), c = F(this._messages.customSortLimit ?? "", {
|
|
167
174
|
totalLimit: a
|
|
168
175
|
});
|
|
169
176
|
this.tooltip = E(l`<calcite-tooltip style=${B({ opacity: 1, zIndex: "var(--calcite-floating-ui-z-index)" })} .referenceElement=${t} open placement=top>${c}</calcite-tooltip>`), document.body.appendChild(this.tooltip);
|
|
@@ -211,7 +218,7 @@ class N extends T {
|
|
|
211
218
|
return this.contentKind === n.numericFields && (e = l`<div slot=footer><calcite-fab class=${d(o.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>`), l`<div class=${d(o.jsAppFlyout)}><calcite-popover class=${d(o.name)} .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} .offsetDistance=${this.offsetDistance} .open=${this.open} @calcitePopoverClose=${this.closePopover} label auto-close ${m(this.popoverElement)}><calcite-panel class=${d(o.panel)} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div slot=header-content class=${d(o.header)}>${this.headingTitle ?? ""}</div>${this.renderPopoverInfo()}${e}</calcite-panel></calcite-popover></div>`;
|
|
212
219
|
}
|
|
213
220
|
}
|
|
214
|
-
k("arcgis-charts-config-box-plot-popover",
|
|
221
|
+
k("arcgis-charts-config-box-plot-popover", z);
|
|
215
222
|
export {
|
|
216
|
-
|
|
223
|
+
z as ArcgisChartsConfigBoxPlotPopover
|
|
217
224
|
};
|
|
@@ -5,14 +5,23 @@ import "@arcgis/toolkit/intl";
|
|
|
5
5
|
import "lodash-es";
|
|
6
6
|
import { f as d } from "../../chunks/series-types.js";
|
|
7
7
|
import "d3-array";
|
|
8
|
-
import {
|
|
8
|
+
import { d5 as S } 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 { r as f } from "../../chunks/popover-ui-utils.js";
|
|
18
27
|
import { repeat as M } from "lit/directives/repeat.js";
|
|
@@ -21,7 +30,7 @@ import { LitElement as B, renderElement as h, safeStyleMap as m, createEvent as
|
|
|
21
30
|
import { d as T } 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 l = {
|
|
26
35
|
topSection: "top-section",
|
|
27
36
|
sectionLabel: "section-label",
|
|
@@ -5,30 +5,39 @@ import { isEqual as C } from "lodash-es";
|
|
|
5
5
|
import "../../chunks/series-types.js";
|
|
6
6
|
import { R as v } from "../../chunks/rest-js-object-literals.js";
|
|
7
7
|
import "d3-array";
|
|
8
|
-
import {
|
|
8
|
+
import { aj as d } 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 u } from "../../chunks/popover-ui-utils.js";
|
|
18
27
|
import { U as y } from "../../chunks/chart-ui-utils2.js";
|
|
19
28
|
import { u as b } from "../../chunks/useT9n.js";
|
|
20
29
|
import { createRef as S, ref as x } from "lit/directives/ref.js";
|
|
21
|
-
import { LitElement as $, createEvent as
|
|
30
|
+
import { LitElement as $, createEvent as a, safeClassMap as l } 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 c = {
|
|
26
35
|
jsAppFlyout: "js-app-flyout",
|
|
27
36
|
panelChildrenContainer: "panel-children-container"
|
|
28
37
|
}, P = f`.hide{display:none}.am5-modal{width:100%;height:100%;position:absolute;z-index:100000;top:0;left:0}.am5-html-container{z-index:101!important}.am5-modal-curtain{top:0;left:0;width:100%;height:100%;position:absolute;background:#fff!important;z-index:100}.am5-modal-wrapper{top:0;left:0;width:100%;height:100%;position:absolute;display:flex;align-items:center;justify-content:center;white-space:nowrap;background:#ffffff80;z-index:101}.am5-modal-content{display:inline-block;padding:1.2em;vertical-align:middle;text-align:start;white-space:normal;background:#fff;border-radius:4px;box-shadow:#00000073 0 0 36px;color:#000}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.arcgis-charts-modal{box-shadow:none!important}.arcgis-charts-modal-header{background-color:#0000000d;font-weight:700;padding:4px;align-content:center}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}:host{overflow-y:auto;width:min-content}.panel-children-container{display:flex;padding:0 1rem;margin-top:1rem}.panel-children-container calcite-label{flex:1 1 0px;display:flex;width:0px}`;
|
|
29
38
|
class L extends $ {
|
|
30
39
|
constructor() {
|
|
31
|
-
super(...arguments), this._messages = b(), this.popoverElement = S(), this.isLineSymbol = !1, this.arcgisChartsConfigPopoverClose =
|
|
40
|
+
super(...arguments), this._messages = b(), this.popoverElement = S(), this.isLineSymbol = !1, this.arcgisChartsConfigPopoverClose = a(), this.arcgisChartsConfigSeriesPopoverColorChange = a(), this.arcgisChartsConfigSeriesPopoverLineStyleChange = a(), this.arcgisChartsConfigSeriesPopoverLineWidthChange = a(), this.arcgisChartsConfigSeriesPopoverNameChange = a();
|
|
32
41
|
}
|
|
33
42
|
static {
|
|
34
43
|
this.properties = { messageOverrides: 0, referenceElement: 0, selectedName: 1, selectedColor: 0, selectedLineStyle: 1, selectedLineWidth: 9, selectedSeriesIndex: 9, isLineSymbol: 5, placement: 1, open: 5, labelCanBeConfigured: 5 };
|
|
@@ -52,14 +61,14 @@ class L extends $ {
|
|
|
52
61
|
this.open = !1, this.arcgisChartsConfigPopoverClose.emit();
|
|
53
62
|
}
|
|
54
63
|
colorChange(e) {
|
|
55
|
-
const t = e instanceof CustomEvent ? e.detail : e, [s, i, o] = t,
|
|
56
|
-
this.selectedColor = [s, i, o,
|
|
64
|
+
const t = e instanceof CustomEvent ? e.detail : e, [s, i, o] = t, r = d * 255;
|
|
65
|
+
this.selectedColor = [s, i, o, r], this.arcgisChartsConfigSeriesPopoverColorChange.emit({ color: [s, i, o, r] });
|
|
57
66
|
}
|
|
58
67
|
lineSymbolChange(e) {
|
|
59
68
|
const { lineStyle: t } = e.target, { color: s, style: i, width: o } = t;
|
|
60
69
|
if (s !== void 0 && !C(s, this.selectedColor)) {
|
|
61
|
-
const [
|
|
62
|
-
this.selectedColor = [
|
|
70
|
+
const [r, p, h] = s, m = d * 255;
|
|
71
|
+
this.selectedColor = [r, p, h, m], this.arcgisChartsConfigSeriesPopoverColorChange.emit({ color: [r, p, h, m] });
|
|
63
72
|
}
|
|
64
73
|
i !== void 0 && i !== this.selectedLineStyle && (this.selectedLineStyle = i, this.arcgisChartsConfigSeriesPopoverLineStyleChange.emit({ style: i })), o !== void 0 && o !== this.selectedLineWidth && (this.selectedLineWidth = o, this.arcgisChartsConfigSeriesPopoverLineWidthChange.emit({ width: o }));
|
|
65
74
|
}
|
|
@@ -6,7 +6,7 @@ import { createRef as d, ref as g } from "lit/directives/ref.js";
|
|
|
6
6
|
import { LitElement as f, createEvent as b, safeClassMap as a } 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 e = {
|
|
11
11
|
container: "container",
|
|
12
12
|
label: "label",
|
|
@@ -3,24 +3,33 @@ import "@arcgis/toolkit/intl";
|
|
|
3
3
|
import { isEmpty as c } from "lodash-es";
|
|
4
4
|
import "../../chunks/series-types.js";
|
|
5
5
|
import "d3-array";
|
|
6
|
-
import "../../chunks/
|
|
6
|
+
import "../../chunks/index.js";
|
|
7
|
+
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
8
|
+
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
9
|
+
import "@arcgis/core/Graphic.js";
|
|
10
|
+
import "@arcgis/core/intl.js";
|
|
11
|
+
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
12
|
+
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
13
|
+
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
14
|
+
import "simple-statistics";
|
|
15
|
+
import "@arcgis/core/request.js";
|
|
16
|
+
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
7
17
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
8
18
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
9
19
|
import "@arcgis/core/rest/support/Query.js";
|
|
10
20
|
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
11
21
|
import "@arcgis/core/time/TimeExtent.js";
|
|
12
22
|
import "@arcgis/core/core/promiseUtils.js";
|
|
13
|
-
import "@arcgis/core/request.js";
|
|
14
23
|
import "@arcgis/toolkit/dom";
|
|
15
24
|
import { e as m } from "../../chunks/popover-ui-utils.js";
|
|
16
|
-
import { m as
|
|
17
|
-
import { u as
|
|
25
|
+
import { m as p, c as n } from "../../chunks/chart-ui-utils2.js";
|
|
26
|
+
import { u as h } from "../../chunks/useT9n.js";
|
|
18
27
|
import { css as d, html as g } from "lit";
|
|
19
|
-
import { createRef as
|
|
28
|
+
import { createRef as o, ref as s } from "lit/directives/ref.js";
|
|
20
29
|
import { LitElement as u, createEvent as r, safeClassMap as a } from "@arcgis/lumina";
|
|
21
30
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
22
31
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
23
|
-
v5.0.0-next.
|
|
32
|
+
v5.0.0-next.26 */
|
|
24
33
|
const t = {
|
|
25
34
|
jsAppFlyout: "js-app-flyout",
|
|
26
35
|
chartRenameComponent: "chart-rename-component",
|
|
@@ -29,7 +38,7 @@ const t = {
|
|
|
29
38
|
}, f = d`.hide{display:none}.am5-modal{width:100%;height:100%;position:absolute;z-index:100000;top:0;left:0}.am5-html-container{z-index:101!important}.am5-modal-curtain{top:0;left:0;width:100%;height:100%;position:absolute;background:#fff!important;z-index:100}.am5-modal-wrapper{top:0;left:0;width:100%;height:100%;position:absolute;display:flex;align-items:center;justify-content:center;white-space:nowrap;background:#ffffff80;z-index:101}.am5-modal-content{display:inline-block;padding:1.2em;vertical-align:middle;text-align:start;white-space:normal;background:#fff;border-radius:4px;box-shadow:#00000073 0 0 36px;color:#000}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.arcgis-charts-modal{box-shadow:none!important}.arcgis-charts-modal-header{background-color:#0000000d;font-weight:700;padding:4px;align-content:center}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}.chart-rename-component{width:var(--arcgis-charts-config-panel-width-medium);height:var(--arcgis-charts-config-panel-height)}:host{overflow-y:auto;width:min-content}.rename-label-container{display:flex;padding:0 1rem;margin-top:1rem}.rename-label-container calcite-label{flex:1 1 0px;display:flex;width:0px}.rename-panel{width:calc(var(--calcite-panel-width-multiplier) * 20vw);max-width:calc(var(--calcite-panel-width-multiplier) * 420px);min-width:calc(var(--calcite-panel-width-multiplier) * 240px)}`;
|
|
30
39
|
class v extends u {
|
|
31
40
|
constructor() {
|
|
32
|
-
super(...arguments), this._messages =
|
|
41
|
+
super(...arguments), this._messages = h(), this.characterLimitInputElement = o(), this.popoverElement = o(), this.isChartTitleInvalid = !1, this.changedName = "", this.name = "", this.arcgisChartsConfigChartRenamePopoverChange = r(), this.arcgisChartsConfigPopoverClose = r();
|
|
33
42
|
}
|
|
34
43
|
static {
|
|
35
44
|
this.properties = { isChartTitleInvalid: 16, changedName: 16, messageOverrides: 0, name: 1, open: 5, referenceElement: 0 };
|
|
@@ -54,7 +63,7 @@ class v extends u {
|
|
|
54
63
|
}
|
|
55
64
|
onNameChange(e) {
|
|
56
65
|
const i = e.target.value;
|
|
57
|
-
this.changedName = i, this.isChartTitleInvalid = c(i.trim()), this.characterLimitInputElement.value &&
|
|
66
|
+
this.changedName = i, this.isChartTitleInvalid = c(i.trim()), this.characterLimitInputElement.value && p({
|
|
58
67
|
inputElement: this.characterLimitInputElement.value,
|
|
59
68
|
status: this.isChartTitleInvalid ? n.INVALID : n.IDLE
|
|
60
69
|
});
|
|
@@ -72,7 +81,7 @@ class v extends u {
|
|
|
72
81
|
return g`<div class=${a({
|
|
73
82
|
[t.chartRenameComponent]: !0,
|
|
74
83
|
[t.jsAppFlyout]: !0
|
|
75
|
-
})}><calcite-popover .referenceElement=${this.referenceElement ?? document.body} @calcitePopoverClose=${this.popoverClose} .open=${this.open} placement=bottom label .autoClose=${this.open} ${
|
|
84
|
+
})}><calcite-popover .referenceElement=${this.referenceElement ?? document.body} @calcitePopoverClose=${this.popoverClose} .open=${this.open} placement=bottom label .autoClose=${this.open} ${s(this.popoverElement)}><calcite-panel class=${a(t.renamePanel)} closable .closed=${!this.open} @calcitePanelClose=${this.popoverClose} .heading=${this._messages.renameChart}><div class=${a(t.renameLabelContainer)}><calcite-label>${this._messages.chartName}<calcite-input required type=text .value=${this.changedName} @calciteInputInput=${this.onNameChange} ${s(this.characterLimitInputElement)}></calcite-input><arcgis-charts-config-invalid-input-message .invalidInputMessage=${this._messages.emptyChartTitle} .isInvalid=${this.isChartTitleInvalid}></arcgis-charts-config-invalid-input-message></calcite-label></div><calcite-button slot=footer appearance=solid scale=m width=half @click=${this.onSubmitClick}>${this._messages.submit}</calcite-button><calcite-button slot=footer appearance=outline-fill scale=m width=half @click=${this.onCancelClick}>${this._messages.cancel}</calcite-button></calcite-panel></calcite-popover></div>`;
|
|
76
85
|
}
|
|
77
86
|
}
|
|
78
87
|
l("arcgis-charts-config-chart-rename-popover", v);
|
|
@@ -4,7 +4,7 @@ import { u as i } from "../../chunks/useT9n.js";
|
|
|
4
4
|
import { LitElement as l, createEvent as t, safeClassMap as r } from "@arcgis/lumina";
|
|
5
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
6
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
7
|
-
v5.0.0-next.
|
|
7
|
+
v5.0.0-next.26 */
|
|
8
8
|
const n = {
|
|
9
9
|
colorStyleContainer: "color-style-container"
|
|
10
10
|
}, c = a`.hide{display:none}.am5-modal{width:100%;height:100%;position:absolute;z-index:100000;top:0;left:0}.am5-html-container{z-index:101!important}.am5-modal-curtain{top:0;left:0;width:100%;height:100%;position:absolute;background:#fff!important;z-index:100}.am5-modal-wrapper{top:0;left:0;width:100%;height:100%;position:absolute;display:flex;align-items:center;justify-content:center;white-space:nowrap;background:#ffffff80;z-index:101}.am5-modal-content{display:inline-block;padding:1.2em;vertical-align:middle;text-align:start;white-space:normal;background:#fff;border-radius:4px;box-shadow:#00000073 0 0 36px;color:#000}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.arcgis-charts-modal{box-shadow:none!important}.arcgis-charts-modal-header{background-color:#0000000d;font-weight:700;padding:4px;align-content:center}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}:host{overflow-y:auto;width:min-content}:host calcite-panel .color-style-container{display:flex;padding:0 1rem;margin-top:1rem}:host calcite-panel .color-style-container calcite-label{flex:1 1 0px;display:flex;width:0px}.color-styling-panel>.panel-body{padding:var(--arcgis-charts-panel-padding);margin-top:var(--arcgis-charts-inter-section-margin)}`;
|