@arcgis/charts-components 5.0.0-next.24 → 5.0.0-next.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/2LB3RGCX.js +4 -0
- package/dist/cdn/{PDLU3IN5.js → 2QHQE5ZV.js} +2 -2
- package/dist/cdn/{54LTRZAM.js → 32B7NK6R.js} +2 -2
- package/dist/cdn/{KRNJ6725.js → 35QHLP4X.js} +2 -2
- package/dist/cdn/{OULDTBSA.js → 3C6YVITK.js} +2 -2
- package/dist/cdn/{MUAY2ZFD.js → 3FJHINHH.js} +2 -2
- package/dist/cdn/3Q7PB3LZ.js +4 -0
- package/dist/cdn/3RKBJ6L2.js +4 -0
- package/dist/cdn/3RYYZSRU.js +4 -0
- package/dist/cdn/{AEQ4THFN.js → 3SYITQYV.js} +2 -2
- package/dist/cdn/3TJOPIWT.js +4 -0
- package/dist/cdn/3TPQMYHS.js +4 -0
- package/dist/cdn/3TV225BG.js +4 -0
- package/dist/cdn/{D625Q6AO.js → 43K7C6JR.js} +2 -2
- package/dist/cdn/45X2Z32E.js +4 -0
- package/dist/cdn/46K3WYDV.js +4 -0
- package/dist/cdn/4DOKD2PJ.js +4 -0
- package/dist/cdn/{3PWK2OEA.js → 4R3F6EZP.js} +2 -2
- package/dist/cdn/{X627ILMN.js → 4RUT2SR2.js} +2 -2
- package/dist/cdn/4TE7E3FG.js +4 -0
- package/dist/cdn/{CS2SKG6L.js → 4UB2QVG6.js} +2 -2
- package/dist/cdn/4Y5AMAWC.js +4 -0
- package/dist/cdn/{PXYBVARC.js → 5DSVWFO4.js} +2 -2
- package/dist/cdn/{2Q33IXZB.js → 5EXRVJCQ.js} +2 -2
- package/dist/cdn/{6WWUZICV.js → 5G7W5QPH.js} +2 -2
- package/dist/cdn/5JKSTD6R.js +4 -0
- package/dist/cdn/5QBWWBML.js +4 -0
- package/dist/cdn/{EK6GYHQW.js → 5SPRKODR.js} +2 -2
- package/dist/cdn/{C34F3MI2.js → 67ZNPNGE.js} +2 -2
- package/dist/cdn/{QX5L2GN7.js → 6BRXDDYM.js} +2 -2
- package/dist/cdn/6I6K3QGT.js +4 -0
- package/dist/cdn/{66Z7CGSI.js → 6LLNOAGJ.js} +2 -2
- package/dist/cdn/{2HIMITPJ.js → 6MZOYT57.js} +2 -2
- package/dist/cdn/{AABHM5IU.js → 6OEAGHL2.js} +2 -2
- package/dist/cdn/{AORLOH4J.js → 6RGIMYPD.js} +2 -2
- package/dist/cdn/{J5WOV4L5.js → 72OFDENI.js} +1 -1
- package/dist/cdn/{AAB5CYMF.js → 74H4ZG6R.js} +2 -2
- package/dist/cdn/75N7C7JI.js +4 -0
- package/dist/cdn/{5CTQIA4D.js → 76J4FFCW.js} +2 -2
- package/dist/cdn/{LRZ4KPRH.js → 7A6KBLXI.js} +1 -1
- package/dist/cdn/7A6X4UNQ.js +4 -0
- package/dist/cdn/{O2KI7OAN.js → 7BDAJJ6Z.js} +2 -2
- package/dist/cdn/7EORBKBB.js +4 -0
- package/dist/cdn/7KPTBFCN.js +4 -0
- package/dist/cdn/{VL3VPK6Z.js → 7MXO4NEX.js} +2 -2
- package/dist/cdn/7RWLWUMJ.js +4 -0
- package/dist/cdn/7T7SC5AV.js +4 -0
- package/dist/cdn/{EJY7M4TB.js → 7WPDZ2C4.js} +2 -2
- package/dist/cdn/{WZ5R2GBE.js → 7X3LD5IZ.js} +1 -1
- package/dist/cdn/A7XANT5F.js +4 -0
- package/dist/cdn/{ZIYPW7CB.js → AKCHRLIL.js} +2 -2
- package/dist/cdn/{TB6LX2UK.js → AOCE5FFZ.js} +2 -2
- package/dist/cdn/{5MSKZ3X6.js → ASCUAFX4.js} +2 -2
- package/dist/cdn/AW7V2KES.js +4 -0
- package/dist/cdn/{TQU7G77A.js → AZQ7LVAN.js} +2 -2
- package/dist/cdn/BQAIOIED.js +4 -0
- package/dist/cdn/CDJWSJC6.js +4 -0
- package/dist/cdn/{75ABSXHK.js → CEB7GZ7S.js} +2 -2
- package/dist/cdn/CEUBA74F.js +4 -0
- package/dist/cdn/CIZVARYT.js +4 -0
- package/dist/cdn/{6GB7GIXA.js → COZQL34W.js} +2 -2
- package/dist/cdn/CR7NLXKA.js +4 -0
- package/dist/cdn/CRDWASDR.js +4 -0
- package/dist/cdn/{UOUSF765.js → CXMRWSIZ.js} +2 -2
- package/dist/cdn/{56MT7MME.js → CZIFLNHV.js} +2 -2
- package/dist/cdn/{HIKMPMPH.js → D2NMK3FP.js} +2 -2
- package/dist/cdn/D35PI53O.js +4 -0
- package/dist/cdn/{GKDC255O.js → DI7JQVJG.js} +2 -2
- package/dist/cdn/{PTN6JMSD.js → DJ6GTR4O.js} +1 -1
- package/dist/cdn/EEVHPUBR.js +4 -0
- package/dist/cdn/{TQHWGSEQ.js → EJRW6EGW.js} +1 -1
- package/dist/cdn/EJTZEILW.js +4 -0
- package/dist/cdn/EKXZZLN3.js +4 -0
- package/dist/cdn/EMGK3SOB.js +4 -0
- package/dist/cdn/{DOZXKG5J.js → EMOTDAVQ.js} +2 -2
- package/dist/cdn/{CYZUI6RX.js → EMVYWLNG.js} +2 -2
- package/dist/cdn/{2CIIM437.js → EN24M45A.js} +2 -2
- package/dist/cdn/{YSMOM5ME.js → ESQZYCHQ.js} +2 -2
- package/dist/cdn/{DFR5ASOW.js → F2NYQEON.js} +2 -2
- package/dist/cdn/F4NDOVIU.js +4 -0
- package/dist/cdn/F7IZOOX6.js +4 -0
- package/dist/cdn/{XIBEFKZ6.js → FGOX55C4.js} +2 -2
- package/dist/cdn/{HESTXB4W.js → FI6MJTJ7.js} +2 -2
- package/dist/cdn/GB2H6R2N.js +4 -0
- package/dist/cdn/GNM5FM2B.js +4 -0
- package/dist/cdn/{AQJMM6PQ.js → GSH7AKRI.js} +2 -2
- package/dist/cdn/H5H4IUFE.js +4 -0
- package/dist/cdn/{7KNB6BCT.js → H755SBMQ.js} +2 -2
- package/dist/cdn/{CG5E2OSK.js → HB4Q5UYO.js} +2 -2
- package/dist/cdn/{WWMV6AFN.js → HF6IVBFO.js} +2 -2
- package/dist/cdn/{3ZMUG5W5.js → HOROK7TG.js} +1 -1
- package/dist/cdn/{JGVJ4QZU.js → HSHRMGXH.js} +2 -2
- package/dist/cdn/{3E6Q52LF.js → HUMRVDJF.js} +2 -2
- package/dist/cdn/ICKRZCYM.js +4 -0
- package/dist/cdn/INZSBVVV.js +6 -0
- package/dist/cdn/{BF4ZUY4Z.js → IPFHYBPD.js} +2 -2
- package/dist/cdn/{IYX7JQCS.js → IYMTY3IJ.js} +2 -2
- package/dist/cdn/{YUK4R65L.js → IZ3WOPMB.js} +2 -2
- package/dist/cdn/{NZOTAYYG.js → J3T45KPW.js} +2 -2
- package/dist/cdn/{HFN33C3O.js → J6KK6MQS.js} +2 -2
- package/dist/cdn/{52ZNPAKG.js → JTV3AI7Y.js} +2 -2
- package/dist/cdn/{24UUJDMB.js → JWMAKM5E.js} +2 -2
- package/dist/cdn/{LH7JXFZV.js → JWPULDA2.js} +2 -2
- package/dist/cdn/{53YQYJVG.js → K3JXMEHL.js} +2 -2
- package/dist/cdn/K3VTWIQG.js +4 -0
- package/dist/cdn/{5VLE3SJG.js → K3WP2LQE.js} +2 -2
- package/dist/cdn/{MAZJEBZX.js → KABVDMTW.js} +2 -2
- package/dist/cdn/{KTCLKKQV.js → KDN7BZCU.js} +2 -2
- package/dist/cdn/{HXKLCDWF.js → KIPLWMVF.js} +2 -2
- package/dist/cdn/KKHS7OIE.js +4 -0
- package/dist/cdn/L4BTIOVR.js +4 -0
- package/dist/cdn/M6Z7ZJQN.js +4 -0
- package/dist/cdn/{S6OPXP57.js → MBRUS43Y.js} +2 -2
- package/dist/cdn/MDO63QDR.js +4 -0
- package/dist/cdn/{XJQ267Y6.js → MERBZPAQ.js} +2 -2
- package/dist/cdn/{RFUL7F6Q.js → MGIDKJ5W.js} +2 -2
- package/dist/cdn/MKNYQDY3.js +4 -0
- package/dist/cdn/{LKQS4G43.js → MOFU52CO.js} +1 -1
- package/dist/cdn/MPO2CG2I.js +4 -0
- package/dist/cdn/{QP6QF7TO.js → MRW4UOEY.js} +2 -2
- package/dist/cdn/{22LMNVZ2.js → MUHVLWHH.js} +2 -2
- package/dist/cdn/{BHQ2JJ5Y.js → NAJXUNKP.js} +36 -36
- package/dist/cdn/NLWYRFXG.js +4 -0
- package/dist/cdn/{R6IXZQL2.js → NZSUFDK3.js} +2 -2
- package/dist/cdn/{G5DQS6R3.js → OA3P34QU.js} +2 -2
- package/dist/cdn/{K2TRHPCU.js → OAGPJLGD.js} +2 -2
- package/dist/cdn/{IGVADTNV.js → OAL6QA5E.js} +2 -2
- package/dist/cdn/{5WQDNSG6.js → OEJE4ABW.js} +2 -2
- package/dist/cdn/{YAFNWOUG.js → OINUS33V.js} +2 -2
- package/dist/cdn/{ZZWJPJT4.js → ORAYWZKT.js} +2 -2
- package/dist/cdn/P5RXZSM4.js +4 -0
- package/dist/cdn/{2KYCZ6HY.js → P6N5KDDW.js} +2 -2
- package/dist/cdn/{6BOTXYP6.js → P6UGNK7R.js} +2 -2
- package/dist/cdn/{6Q3FTC6I.js → PUF3ZU5M.js} +2 -2
- package/dist/cdn/PZRBGFH5.js +42 -0
- package/dist/cdn/QBEZUHOL.js +4 -0
- package/dist/cdn/QDW5QZEF.js +4 -0
- package/dist/cdn/{5LJLYRXP.js → QJCFDPZC.js} +2 -2
- package/dist/cdn/{M6I4GWPX.js → R2Q2YLNS.js} +2 -2
- package/dist/cdn/{YDGDTK3Q.js → R7HAJMO7.js} +2 -2
- package/dist/cdn/RX5EFKRL.js +4 -0
- package/dist/cdn/{MWWXWMZ3.js → RYZWXIOS.js} +2 -2
- package/dist/cdn/S3WGYGWC.js +4 -0
- package/dist/cdn/{7O5HNYLE.js → S3ZKXFOV.js} +2 -2
- package/dist/cdn/SEMKG6JB.js +4 -0
- package/dist/cdn/TBK43SY3.js +4 -0
- package/dist/cdn/{F2NR3K6J.js → TD4HFT33.js} +2 -2
- package/dist/cdn/U54YBH6Y.js +4 -0
- package/dist/cdn/{AVZCQNM7.js → UB2EO5RR.js} +2 -2
- package/dist/cdn/{7BUM6BJN.js → UD4DWQF3.js} +2 -2
- package/dist/cdn/{YY5YAH4F.js → UEOUFYUT.js} +2 -2
- package/dist/cdn/{MVRWISV7.js → UNJKYANY.js} +2 -2
- package/dist/cdn/UTZJQMHC.js +4 -0
- package/dist/cdn/{RQRNMZRC.js → UWHXT675.js} +2 -2
- package/dist/cdn/{V7W7DXLH.js → V2OYZLMZ.js} +2 -2
- package/dist/cdn/V3EIGRDD.js +4 -0
- package/dist/cdn/{U5H3KFO7.js → VCVYYFAX.js} +2 -2
- package/dist/cdn/{3XTDYZCX.js → VDNYLGYI.js} +2 -2
- package/dist/cdn/{LCPQLW4N.js → VL2T33M5.js} +2 -2
- package/dist/cdn/{7WL7JFUE.js → VM2A3I7Q.js} +2 -2
- package/dist/cdn/{Z34TFSAK.js → VO4ON3SF.js} +2 -2
- package/dist/cdn/{6P554JVC.js → VRFN3WIT.js} +2 -2
- package/dist/cdn/{JE2VQESS.js → VS7K4KWZ.js} +2 -2
- package/dist/cdn/{43ZMJSAY.js → W6USKCF7.js} +2 -2
- package/dist/cdn/WBNROLN6.js +4 -0
- package/dist/cdn/{DOAHYWSH.js → WFR2W32S.js} +1 -1
- package/dist/cdn/{XNPV3IB3.js → WFUJ7JUL.js} +2 -2
- package/dist/cdn/{CBPCNXVK.js → WPIJIAWT.js} +2 -2
- package/dist/cdn/WRN5VLSI.js +4 -0
- package/dist/cdn/WVUU435P.js +4 -0
- package/dist/cdn/{SVATWD7C.js → XIQY3RRR.js} +1 -1
- package/dist/cdn/{BTVKBWYL.js → XJSLSWVF.js} +2 -2
- package/dist/cdn/{R3FN2YWH.js → XMPJNFMX.js} +2 -2
- package/dist/cdn/XRNAWRF2.js +4 -0
- package/dist/cdn/YBKEWO6S.js +4 -0
- package/dist/cdn/{7SUFZGMR.js → YJ3H2CGT.js} +2 -2
- package/dist/cdn/{R6JYMGAL.js → YR6JAFUZ.js} +2 -2
- package/dist/cdn/{IHDBVR3V.js → Z2XWCH7X.js} +2 -2
- package/dist/cdn/ZMPDMIMG.js +4 -0
- package/dist/cdn/{IRH6JXTV.js → ZTW3KFKM.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/chart-rendering/common/config-utils/index.d.ts +2 -104
- package/dist/chart-rendering/common/data/index.d.ts +3 -2
- package/dist/chart-rendering/common/data/utils/misc/index.d.ts +2 -157
- package/dist/chart-rendering/common/data/utils/summarize-data/interfaces.d.ts +4 -1
- package/dist/chart-rendering/common/data/utils/summarize-data/time-binning/index.d.ts +2 -2
- package/dist/chart-rendering/common/defaults/interfaces.d.ts +2 -1
- package/dist/chart-rendering/common/events/index.d.ts +0 -2
- package/dist/chart-rendering/common/interfaces.d.ts +12 -3
- package/dist/chart-rendering/common/loading-indicator/index.d.ts +4 -0
- package/dist/chart-rendering/common/memory-storage/interfaces.d.ts +1 -2
- package/dist/chart-rendering/next/chart-library-elements/loading-indicator/index.d.ts +1 -1
- package/dist/chart-rendering/next/chart-library-elements/loading-indicator/interfaces.d.ts +0 -4
- package/dist/chart-rendering/next/chart-library-elements/series/bar-chart/index.d.ts +1 -1
- package/dist/chart-rendering/next/chart-library-elements/series/index.d.ts +1 -1
- package/dist/chart-rendering/next/chart-library-elements/series/interfaces.d.ts +1 -1
- package/dist/chart-rendering/next/chart-library-elements/series/utils/index.d.ts +3 -4
- package/dist/chart-rendering/next/index.d.ts +1 -1
- package/dist/chart-rendering/next/utils/index.d.ts +1 -7
- package/dist/chart-rendering/stable/chart-library-elements/loading-indicator/index.d.ts +2 -1
- package/dist/chart-rendering/stable/chart-library-elements/loading-indicator/interfaces.d.ts +0 -4
- package/dist/chart-rendering/stable/chart-library-elements/series/histogram/interfaces.d.ts +1 -1
- package/dist/chart-rendering/stable/chart-library-elements/series/interfaces.d.ts +1 -1
- package/dist/chart-rendering/stable/chart-library-elements/series/pie-chart/index.d.ts +1 -1
- package/dist/chart-rendering/stable/chart-library-elements/series/scatter-plot/interfaces.d.ts +1 -1
- package/dist/chart-rendering/stable/index.d.ts +3 -1
- package/dist/chart-rendering/stable/interfaces.d.ts +2 -1
- package/dist/chart-rendering/stable/utils/misc/index.d.ts +2 -8
- package/dist/chunks/action-bar-utils.js +12 -13
- package/dist/chunks/axis-model-wrapper.js +1 -1
- package/dist/chunks/bar-chart-model.js +22 -13
- package/dist/chunks/bar-chart-series.js +21 -12
- package/dist/chunks/baseline-stacking.js +49 -40
- package/dist/chunks/bg_BG.js +1 -1
- package/dist/chunks/bg_BG2.js +1 -1
- package/dist/chunks/box-plot-data.js +78 -70
- package/dist/chunks/box-plot-model.js +29 -21
- package/dist/chunks/chart-ui-utils.js +1 -1
- package/dist/chunks/chart-ui-utils2.js +58 -50
- package/dist/chunks/combo-bar-line-chart-model.js +22 -13
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/config-update.js +147 -5391
- package/dist/chunks/data.js +2 -2
- package/dist/chunks/default.js +1 -1
- package/dist/chunks/gauge-model.js +33 -25
- package/dist/chunks/heat-chart-model.js +38 -30
- package/dist/chunks/histogram-data.js +55 -47
- package/dist/chunks/histogram-model.js +19 -11
- package/dist/chunks/index.js +27652 -596
- package/dist/chunks/index2.js +670 -36
- package/dist/chunks/index3.js +90 -63
- package/dist/chunks/index4.js +62 -91
- package/dist/chunks/interfaces.js +90 -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
|
@@ -5,7 +5,7 @@ import { u as h } from "../../chunks/useT9n.js";
|
|
|
5
5
|
import { LitElement as m, createEvent as n } from "@arcgis/lumina";
|
|
6
6
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
7
7
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
8
|
-
v5.0.0-next.
|
|
8
|
+
v5.0.0-next.25 */
|
|
9
9
|
const u = "arcgis-charts-config-storage-colors", v = l`:host{--calcite-color-border-1: transparent}.color-header{margin-bottom:.5rem}`;
|
|
10
10
|
class b extends m {
|
|
11
11
|
constructor() {
|
|
@@ -2,37 +2,44 @@ import { c as A } from "../../chunks/runtime.js";
|
|
|
2
2
|
import { repeat as N } from "lit/directives/repeat.js";
|
|
3
3
|
import { keyed as v } from "lit/directives/keyed.js";
|
|
4
4
|
import { createModel as V } from "../../model.js";
|
|
5
|
-
import { b as $, a as b, f as U, p as
|
|
5
|
+
import { b as $, a as b, f as U, p as S, k as _, j as L } from "../../chunks/type-guards.js";
|
|
6
6
|
import "@arcgis/toolkit/intl";
|
|
7
7
|
import { isEqual as B } from "lodash-es";
|
|
8
8
|
import { W as o, i as z } from "../../chunks/series-types.js";
|
|
9
|
-
import {
|
|
9
|
+
import { S as w, d3 as D, cQ as E, da as R, a9 as W } from "../../chunks/index.js";
|
|
10
10
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
11
11
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
12
12
|
import "@arcgis/core/rest/support/Query.js";
|
|
13
13
|
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
14
14
|
import "@arcgis/core/time/TimeExtent.js";
|
|
15
|
-
import "@arcgis/core/
|
|
15
|
+
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
16
|
+
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
17
|
+
import "@arcgis/core/Graphic.js";
|
|
18
|
+
import "d3-array";
|
|
19
|
+
import { substitute as H } from "@arcgis/core/intl.js";
|
|
20
|
+
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
21
|
+
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
22
|
+
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
23
|
+
import "simple-statistics";
|
|
16
24
|
import "@arcgis/core/request.js";
|
|
25
|
+
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
26
|
+
import "@arcgis/core/core/promiseUtils.js";
|
|
17
27
|
import "@arcgis/toolkit/dom";
|
|
18
|
-
import { C } from "../../chunks/
|
|
28
|
+
import { C } from "../../chunks/index4.js";
|
|
19
29
|
import { a as T } from "../../chunks/chart-ui-utils.js";
|
|
20
|
-
import { r as
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import "
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import { A as ee } from "../../chunks/axis-model-wrapper.js";
|
|
31
|
-
import { d as te } from "../../chunks/chart-ui-utils2.js";
|
|
32
|
-
import { C as ae } from "../../chunks/interfaces4.js";
|
|
30
|
+
import { r as G } from "../../chunks/popover-ui-utils.js";
|
|
31
|
+
import { C as n } from "../../chunks/interfaces.js";
|
|
32
|
+
import { LitElement as X, createEvent as y, renderElement as I, safeStyleMap as Z, safeClassMap as d } from "@arcgis/lumina";
|
|
33
|
+
import { css as O, html as c } from "lit";
|
|
34
|
+
import { createRef as j, ref as K } from "lit/directives/ref.js";
|
|
35
|
+
import { u as q } from "../../chunks/useT9n.js";
|
|
36
|
+
import { a as Q, s as x, b as Y } from "../../chunks/store.js";
|
|
37
|
+
import { h as J, a as M, s as ee } from "../../chunks/web-component-utils.js";
|
|
38
|
+
import { A as te } from "../../chunks/axis-model-wrapper.js";
|
|
39
|
+
import { d as ae } from "../../chunks/chart-ui-utils2.js";
|
|
33
40
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
34
41
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
35
|
-
v5.0.0-next.
|
|
42
|
+
v5.0.0-next.25 */
|
|
36
43
|
const m = {
|
|
37
44
|
chartUIComponent: "chart-ui-component",
|
|
38
45
|
tabBar: "tab-bar",
|
|
@@ -89,17 +96,17 @@ function ne(p, e) {
|
|
|
89
96
|
}), a.charts = t;
|
|
90
97
|
}
|
|
91
98
|
}
|
|
92
|
-
const le =
|
|
93
|
-
class ce extends
|
|
99
|
+
const le = O`:host{display:flex;flex-direction:column;flex:1 1 auto;overflow:hidden;height:inherit;max-height:100%}.chart-ui-component{overflow-y:auto;overflow-x:hidden}.label{display:flex;margin-left:1rem;margin-bottom:.5rem;justify-content:space-between}.text{display:flex;margin-left:1rem;width:calc(100% - 1.5rem);height:2rem;margin-bottom:.5rem;justify-content:space-between}.field-list{max-height:50vh;overflow-y:scroll}.row{padding:.5rem}.bin-count-container{display:flex;width:calc(100% - 1rem);padding:.5rem}.bin-count-slider{margin-left:1rem;width:calc(90% - 1rem)}.bin-count-input{margin-left:1rem;height:2rem;width:2rem}.bin-row{padding:.5rem 0 .5rem .5rem}.tab-bar{display:flex}.tab{flex:1;height:2.5rem}`;
|
|
100
|
+
class ce extends X {
|
|
94
101
|
constructor() {
|
|
95
|
-
super(), this.selectChartTypePopover = null, this.chartsListFlowItem =
|
|
102
|
+
super(), this.selectChartTypePopover = null, this.chartsListFlowItem = j(), this.supportedChartTypes = [
|
|
96
103
|
o.BarSeries,
|
|
97
104
|
o.BoxPlotSeries,
|
|
98
105
|
o.LineSeries,
|
|
99
106
|
o.PieSeries,
|
|
100
107
|
o.HistogramSeries,
|
|
101
108
|
o.ScatterSeries
|
|
102
|
-
], this._messages =
|
|
109
|
+
], this._messages = q(), this.chartDataProcessComplete = (e) => {
|
|
103
110
|
const a = e, { chartData: t, model: i } = a.detail, s = this.getModel(this.selectedChartId);
|
|
104
111
|
if (i?.isSameChartAs(s))
|
|
105
112
|
switch (s?.chartType) {
|
|
@@ -119,9 +126,9 @@ class ce extends G {
|
|
|
119
126
|
case o.LineSeries:
|
|
120
127
|
case o.BarSeries: {
|
|
121
128
|
const { dataItems: l, timeIntervalInfo: h } = t;
|
|
122
|
-
if (($(s) || b(s) && s.binTemporalData) && (h?.size !== void 0 && s.temporalBinningSize !== h?.size && (s.temporalBinningSize = h?.size), h?.unit !== void 0 && s.temporalBinningUnit !== h?.unit && h?.unit !== z.Quarter && (s.temporalBinningUnit = h?.unit), h?.size !== void 0 && h?.unit !== void 0 &&
|
|
129
|
+
if (($(s) || b(s) && s.binTemporalData) && (h?.size !== void 0 && s.temporalBinningSize !== h?.size && (s.temporalBinningSize = h?.size), h?.unit !== void 0 && s.temporalBinningUnit !== h?.unit && h?.unit !== z.Quarter && (s.temporalBinningUnit = h?.unit), h?.size !== void 0 && h?.unit !== void 0 && Q(x, { size: h.size, unit: h.unit })), this.calculatedDataMinMaxBounds = this.getDataExtent(l), i && (i.dataStore.calculatedDataMinMaxBounds = this.calculatedDataMinMaxBounds), b(s)) {
|
|
123
130
|
const g = s.xAxisField, u = l.some((F) => F[g] === null), f = s.nullCategory;
|
|
124
|
-
u && f === void 0 && (s.nullCategory =
|
|
131
|
+
u && f === void 0 && (s.nullCategory = R.nullCategory);
|
|
125
132
|
}
|
|
126
133
|
break;
|
|
127
134
|
}
|
|
@@ -163,15 +170,15 @@ class ce extends G {
|
|
|
163
170
|
typeof i == "boolean" && _(r) && (r.rotatedState = i);
|
|
164
171
|
break;
|
|
165
172
|
case "legendPosition":
|
|
166
|
-
typeof i == "string" &&
|
|
173
|
+
typeof i == "string" && S(r) && (r.legendPosition = i);
|
|
167
174
|
break;
|
|
168
175
|
case "legendVisibility":
|
|
169
|
-
typeof i == "boolean" &&
|
|
176
|
+
typeof i == "boolean" && S(r) && (r.legendVisibility = i);
|
|
170
177
|
break;
|
|
171
178
|
}
|
|
172
179
|
}, this.chartLegendItemVisibilityChange = async (e) => {
|
|
173
180
|
const a = e, { legendItemVisibility: t, model: i } = a.detail, s = this.modelList.find((r) => i?.isSameChartAs(r));
|
|
174
|
-
s?.setSeriesVisibility(t),
|
|
181
|
+
s?.setSeriesVisibility(t), L(s) && ((s.getMinBound(1) === null || Number.isNaN(s.getMinBound(1))) && s.setMinBound(null, 1), (s.getMaxBound(1) === null || Number.isNaN(s.getMaxBound(1))) && s.setMaxBound(null, 1), $(s) && ((s.getMinBound(0) === null || Number.isNaN(s.getMinBound(0))) && s.setMinBound(null, 0), (s.getMaxBound(0) === null || Number.isNaN(s.getMaxBound(0))) && s.setMaxBound(null, 0)));
|
|
175
182
|
}, this.onSelectChartTypeChange = (e) => {
|
|
176
183
|
this.currentChartTypeText = "", this.calculatedDataMinMaxBounds = void 0, this.calculatedMinMaxBounds = void 0, this.removeSelectChartTypePopover();
|
|
177
184
|
const { selectedModelType: a, layerId: t } = e.target;
|
|
@@ -191,7 +198,7 @@ class ce extends G {
|
|
|
191
198
|
}, this.allowChartSyncing = !1, this.currentChartTypeText = "", this.modelList = [], this.layerList = [], this.disableEditing = !1, this.syncChartsToLayers = !1, this.panelNumber = 0, this.arcgisChartsConfigChartViewChartClose = y(), this.arcgisChartsConfigModelListChange = y(), this.arcgisChartsConfigNewChart = y(), this.arcgisChartsConfigPanelNumberChange = y(), this.arcgisChartsConfigSelectedChartChange = y(), this.listen("arcgisChartsConfigModelListReorder", this.modelListReorderChangeListener);
|
|
192
199
|
}
|
|
193
200
|
static {
|
|
194
|
-
this.properties = { selectedPanel: 16, currentChartTypeText: 16, messageOverrides: 0, modelList: [0, { hasChanged: M }], layerList: [0, { hasChanged: M }], selectedChartId: 1, activeLayerId: 1, disableEditing: 5, syncChartsToLayers: 5, timeZone: 1, headerTitle: 1, open: 5, chartData: [0, { hasChanged: M }], r2: 9, calculatedDataMinMaxBounds: [0, { hasChanged: M }], calculatedMinMaxBounds: [0, { hasChanged: M }], seriesColor: [0, { hasChanged:
|
|
201
|
+
this.properties = { selectedPanel: 16, currentChartTypeText: 16, messageOverrides: 0, modelList: [0, { hasChanged: M }], layerList: [0, { hasChanged: M }], selectedChartId: 1, activeLayerId: 1, disableEditing: 5, syncChartsToLayers: 5, timeZone: 1, headerTitle: 1, open: 5, chartData: [0, { hasChanged: M }], r2: 9, calculatedDataMinMaxBounds: [0, { hasChanged: M }], calculatedMinMaxBounds: [0, { hasChanged: M }], seriesColor: [0, { hasChanged: J }], popoverPlacement: 1, usePopupTemplateFieldsInfo: 5, panelNumber: 9, filterBySelection: 5 };
|
|
195
202
|
}
|
|
196
203
|
static {
|
|
197
204
|
this.styles = le;
|
|
@@ -279,7 +286,7 @@ class ce extends G {
|
|
|
279
286
|
const a = this.getModel(this.selectedChartId)?.config;
|
|
280
287
|
let t = [];
|
|
281
288
|
if (a !== void 0 && e !== void 0) {
|
|
282
|
-
const i =
|
|
289
|
+
const i = W({
|
|
283
290
|
chartConfig: a,
|
|
284
291
|
chartData: e
|
|
285
292
|
}), { minY: s, maxY: r, minX: l, maxX: h } = i;
|
|
@@ -293,8 +300,8 @@ class ce extends G {
|
|
|
293
300
|
updateAxesBoundsInAppState(e) {
|
|
294
301
|
e?.forEach((a) => {
|
|
295
302
|
const { isXAxis: t, maximum: i, minimum: s } = a, r = this.getModel(this.selectedChartId);
|
|
296
|
-
if (r !== void 0 &&
|
|
297
|
-
const l = new
|
|
303
|
+
if (r !== void 0 && L(r) && this.selectedChartId !== void 0) {
|
|
304
|
+
const l = new te(r, t), h = Y({
|
|
298
305
|
chartId: this.selectedChartId,
|
|
299
306
|
isXAxis: t,
|
|
300
307
|
isLogarithmic: l.getLogarithmic()
|
|
@@ -315,7 +322,7 @@ class ce extends G {
|
|
|
315
322
|
if (this.popoverPlacement !== void 0)
|
|
316
323
|
e = this.popoverPlacement;
|
|
317
324
|
else {
|
|
318
|
-
const a = this.modelList?.filter((i) => E(
|
|
325
|
+
const a = this.modelList?.filter((i) => E(ee, i.config)).length;
|
|
319
326
|
e = Number(a) <= 2 ? "bottom" : "top";
|
|
320
327
|
}
|
|
321
328
|
return e;
|
|
@@ -335,7 +342,7 @@ class ce extends G {
|
|
|
335
342
|
return this.modelList?.find((a) => a.chartId === e);
|
|
336
343
|
}
|
|
337
344
|
removeSelectChartTypePopover() {
|
|
338
|
-
this.selectChartTypePopover !== void 0 && (this.selectChartTypePopover?.remove(), this.selectChartTypePopover =
|
|
345
|
+
this.selectChartTypePopover !== void 0 && (this.selectChartTypePopover?.remove(), this.selectChartTypePopover = G(this.selectChartTypePopover));
|
|
339
346
|
}
|
|
340
347
|
clearPartialModels() {
|
|
341
348
|
this.modelList = this.modelList.filter((e) => !w(e.config));
|
|
@@ -393,10 +400,10 @@ class ce extends G {
|
|
|
393
400
|
t = "";
|
|
394
401
|
break;
|
|
395
402
|
}
|
|
396
|
-
this.tooltip = I(c`<calcite-tooltip style=${
|
|
403
|
+
this.tooltip = I(c`<calcite-tooltip style=${Z({ opacity: 1, zIndex: "var(--calcite-floating-ui-z-index)" })} .referenceElement=${a} open placement=top>${t}</calcite-tooltip>`), document.body.appendChild(this.tooltip);
|
|
397
404
|
}
|
|
398
405
|
destroyTooltip() {
|
|
399
|
-
|
|
406
|
+
ae(this.tooltip);
|
|
400
407
|
}
|
|
401
408
|
renderViewCharts() {
|
|
402
409
|
const e = se({
|
|
@@ -408,7 +415,7 @@ class ce extends G {
|
|
|
408
415
|
return N(e, (a) => a.id, (a) => c`<arcgis-charts-config-view-charts .noGroup=${this.activeLayerId !== void 0} .modelList=${ie(this.modelList, a.id.toString(), this.supportedChartTypes)} .selectedChartId=${this.selectedChartId ?? ""} .layer=${a} .disableEditing=${this.disableEditing} @arcgisChartsConfigViewChartSelect=${this.onViewChartsSelect} @arcgisChartsConfigViewChartEdit=${this.onViewChartsEdit} @arcgisChartsConfigViewChartDelete=${this.onViewChartDelete} @arcgisChartsConfigViewChartAddChart=${this.onAddChartClick}></arcgis-charts-config-view-charts>`);
|
|
409
416
|
}
|
|
410
417
|
render() {
|
|
411
|
-
return this.open !== !1 ? c`<calcite-flow>${v("charts-list", c`<calcite-flow-item .selected=${this.panelNumber === 0 || this.disableEditing} .heading=${this.headerTitle ?? this._messages.defaultHeaderTitle} closable @calciteFlowItemClose=${this.onViewChartClose} ${
|
|
418
|
+
return this.open !== !1 ? c`<calcite-flow>${v("charts-list", c`<calcite-flow-item .selected=${this.panelNumber === 0 || this.disableEditing} .heading=${this.headerTitle ?? this._messages.defaultHeaderTitle} closable @calciteFlowItemClose=${this.onViewChartClose} ${K(this.chartsListFlowItem)}>${this.renderViewCharts()}</calcite-flow-item>`)}${this.renderTabs()}</calcite-flow>` : null;
|
|
412
419
|
}
|
|
413
420
|
renderTabs() {
|
|
414
421
|
const e = this.getModel(this.selectedChartId);
|
|
@@ -3,7 +3,7 @@ import { css as l, html as c } from "lit";
|
|
|
3
3
|
import { LitElement as a, safeClassMap as t } from "@arcgis/lumina";
|
|
4
4
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
5
5
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
6
|
-
v5.0.0-next.
|
|
6
|
+
v5.0.0-next.25 */
|
|
7
7
|
const e = {
|
|
8
8
|
fieldSelectButtonSection: "field-select-btn-section",
|
|
9
9
|
fieldSelectButton: "field-select-btn",
|
|
@@ -5,22 +5,31 @@ import { merge as i } from "lodash-es";
|
|
|
5
5
|
import "../../chunks/series-types.js";
|
|
6
6
|
import { R as u, h as s, g as c, i as r } from "../../chunks/rest-js-object-literals.js";
|
|
7
7
|
import "d3-array";
|
|
8
|
-
import {
|
|
8
|
+
import { ay 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
|
-
import { b as g, m
|
|
26
|
+
import { b as g, m, s as b, c as p } from "../../chunks/chart-ui-utils2.js";
|
|
18
27
|
import { u as v } from "../../chunks/useT9n.js";
|
|
19
28
|
import { createRef as C, ref as x } from "lit/directives/ref.js";
|
|
20
|
-
import { LitElement as $, createEvent as
|
|
29
|
+
import { LitElement as $, createEvent as h, safeClassMap as n } 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.25 */
|
|
24
33
|
const w = {
|
|
25
34
|
arial: "Arial",
|
|
26
35
|
arialBlack: "Arial Black",
|
|
@@ -46,7 +55,7 @@ class I extends $ {
|
|
|
46
55
|
constructor() {
|
|
47
56
|
super(...arguments), this._messages = v(), this.fontSizeInputElement = C(), this.fontStyle = {
|
|
48
57
|
type: u.TS
|
|
49
|
-
}, this.arcgisChartsConfigFontStyleChange =
|
|
58
|
+
}, this.arcgisChartsConfigFontStyleChange = h(), this.arcgisChartsConfigFontStyleClose = h();
|
|
50
59
|
}
|
|
51
60
|
static {
|
|
52
61
|
this.properties = { messageOverrides: 0, fontStyle: 0, header: 1, open: 5, enableClose: 5 };
|
|
@@ -72,13 +81,13 @@ class I extends $ {
|
|
|
72
81
|
const e = {
|
|
73
82
|
size: Number.parseInt(t)
|
|
74
83
|
};
|
|
75
|
-
this.isNewFontProperty("size", e) && (this.fontStyle = i(this.fontStyle, { font: e }), this.emitFontStyleEvent({ font: e })), this.fontSizeInputElement.value &&
|
|
84
|
+
this.isNewFontProperty("size", e) && (this.fontStyle = i(this.fontStyle, { font: e }), this.emitFontStyleEvent({ font: e })), this.fontSizeInputElement.value && m({
|
|
76
85
|
inputElement: this.fontSizeInputElement.value,
|
|
77
|
-
status:
|
|
86
|
+
status: p.IDLE
|
|
78
87
|
});
|
|
79
|
-
} else this.fontSizeInputElement.value &&
|
|
88
|
+
} else this.fontSizeInputElement.value && m({
|
|
80
89
|
inputElement: this.fontSizeInputElement.value,
|
|
81
|
-
status:
|
|
90
|
+
status: p.INVALID
|
|
82
91
|
});
|
|
83
92
|
}
|
|
84
93
|
boldSelect() {
|
|
@@ -1,21 +1,30 @@
|
|
|
1
1
|
import { c as A } from "../../chunks/runtime.js";
|
|
2
2
|
import { ref as $ } from "lit/directives/ref.js";
|
|
3
|
-
import { C as B, F as i, L as
|
|
3
|
+
import { C as B, F as i, L as c } from "../../chunks/common.js";
|
|
4
4
|
import { d as T, j as h, h as n, l as E, p, m as L, f as M } from "../../chunks/type-guards.js";
|
|
5
5
|
import { W as d } from "../../chunks/series-types.js";
|
|
6
6
|
import { c as V, R as f, h as w, g as N, i as D } from "../../chunks/rest-js-object-literals.js";
|
|
7
7
|
import "@arcgis/toolkit/intl";
|
|
8
8
|
import { isEmpty as u, cloneDeep as r, isArray as v, isObject as k, mergeWith as W } from "lodash-es";
|
|
9
9
|
import "d3-array";
|
|
10
|
-
import "../../chunks/
|
|
10
|
+
import "../../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 "@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 { c as x, e as l } from "../../chunks/index4.js";
|
|
27
|
+
import { c as x, e as l } from "../../chunks/index3.js";
|
|
19
28
|
import "@arcgis/toolkit/dom";
|
|
20
29
|
import { r as F } from "../../chunks/popover-ui-utils.js";
|
|
21
30
|
import { l as G } from "../../chunks/chart-ui-utils2.js";
|
|
@@ -24,7 +33,7 @@ import { css as j, html as S } from "lit";
|
|
|
24
33
|
import { LitElement as I, renderElement as O, safeClassMap as g } from "@arcgis/lumina";
|
|
25
34
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
26
35
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
27
|
-
v5.0.0-next.
|
|
36
|
+
v5.0.0-next.25 */
|
|
28
37
|
const P = {
|
|
29
38
|
type: f.TS,
|
|
30
39
|
color: [1, 1, 1, 255],
|
|
@@ -65,8 +74,8 @@ class _ extends I {
|
|
|
65
74
|
if (e.target?.localName === "calcite-list-item" ? s = e.target?.value : s = e.target?.parentNode?.value, this.selectedSymbols = [], this.selectedBackground = [], e.shiftKey) {
|
|
66
75
|
this.selectedTexts = [];
|
|
67
76
|
const o = this.textProperties.indexOf(this.lastSelectedText ?? s), a = this.textProperties.indexOf(s);
|
|
68
|
-
this.textProperties.forEach((
|
|
69
|
-
y >= Math.min(o, a) && y <= Math.max(o, a) && this.selectedTexts.push(
|
|
77
|
+
this.textProperties.forEach((m, y) => {
|
|
78
|
+
y >= Math.min(o, a) && y <= Math.max(o, a) && this.selectedTexts.push(m);
|
|
70
79
|
}), this.updateSelectedElement(this.selectedTexts), this.setupFormatPopover();
|
|
71
80
|
} else if (e.ctrlKey)
|
|
72
81
|
this.selectedTexts.includes(s) ? (this.selectedTexts = this.selectedTexts.filter((o) => o !== s), this.updateSelectedElement(this.selectedTexts)) : (this.selectedTexts = [...this.selectedTexts, s], this.updateSelectedElement(this.selectedTexts)), this.setupFormatPopover();
|
|
@@ -92,12 +101,12 @@ class _ extends I {
|
|
|
92
101
|
}, this.updateTextProps = (t) => {
|
|
93
102
|
const { font: e, color: s } = t.detail;
|
|
94
103
|
this.selectedTexts.forEach((o) => {
|
|
95
|
-
const a = this.getFormatValue(o),
|
|
104
|
+
const a = this.getFormatValue(o), m = l(a) ? a : void 0;
|
|
96
105
|
this.setFormatValue(o, {
|
|
97
|
-
...
|
|
106
|
+
...m,
|
|
98
107
|
type: f.TS,
|
|
99
|
-
font: { ...
|
|
100
|
-
color: s ??
|
|
108
|
+
font: { ...m?.font, ...e },
|
|
109
|
+
color: s ?? m?.color
|
|
101
110
|
});
|
|
102
111
|
}), this.selectedElement = r(t.target.selectedElement);
|
|
103
112
|
}, this.onModelConfigChange = () => {
|
|
@@ -141,8 +150,8 @@ class _ extends I {
|
|
|
141
150
|
if (this.selectedElement = void 0, e === void 0) {
|
|
142
151
|
const s = r(this.getFormatValue(t[0]));
|
|
143
152
|
this.selectedElement = t?.reduce((o, a) => {
|
|
144
|
-
const
|
|
145
|
-
return W(o,
|
|
153
|
+
const m = this.getFormatValue(a);
|
|
154
|
+
return W(o, m, this.mergeFormatValues);
|
|
146
155
|
}, s);
|
|
147
156
|
} else {
|
|
148
157
|
let s = r(e);
|
|
@@ -186,11 +195,11 @@ class _ extends I {
|
|
|
186
195
|
return p(this.model) ? this.model.legendTitleSymbol : void 0;
|
|
187
196
|
case i.DataLabels:
|
|
188
197
|
return E(this.model) ? this.model.dataLabelsSymbol : void 0;
|
|
189
|
-
case
|
|
198
|
+
case c.AxisLines:
|
|
190
199
|
return n(this.model) ? this.model.axisLinesSymbol : void 0;
|
|
191
|
-
case
|
|
200
|
+
case c.GridLines:
|
|
192
201
|
return h(this.model) ? this.model.getGridLinesSymbol() : void 0;
|
|
193
|
-
case
|
|
202
|
+
case c.LeaderLines:
|
|
194
203
|
return T(this.model) ? this.model.ticksSymbol : void 0;
|
|
195
204
|
case i.Background:
|
|
196
205
|
return this.model.backgroundColor;
|
|
@@ -227,10 +236,10 @@ class _ extends I {
|
|
|
227
236
|
case i.DataLabels:
|
|
228
237
|
E(this.model) && l(e) && (this.model.dataLabelsSymbol = e);
|
|
229
238
|
break;
|
|
230
|
-
case
|
|
239
|
+
case c.AxisLines:
|
|
231
240
|
n(this.model) && x(e) && (this.model.axisLinesSymbol = e);
|
|
232
241
|
break;
|
|
233
|
-
case
|
|
242
|
+
case c.GridLines:
|
|
234
243
|
if (h(this.model) && x(e)) {
|
|
235
244
|
const s = this.model.chartType;
|
|
236
245
|
let o = [];
|
|
@@ -254,7 +263,7 @@ class _ extends I {
|
|
|
254
263
|
this.model.setGridLinesSymbol(e, o);
|
|
255
264
|
}
|
|
256
265
|
break;
|
|
257
|
-
case
|
|
266
|
+
case c.LeaderLines:
|
|
258
267
|
T(this.model) && x(e) && (this.model.ticksSymbol = e);
|
|
259
268
|
break;
|
|
260
269
|
case i.Background:
|
|
@@ -275,16 +284,16 @@ class _ extends I {
|
|
|
275
284
|
...E(this.model) ? [i.DataLabels] : []
|
|
276
285
|
], M(this.model) && (this.textProperties = this.textProperties.filter((s) => s !== i.DataLabels)), this.symbolProperties = [
|
|
277
286
|
i.Background,
|
|
278
|
-
...n(this.model) ? [
|
|
279
|
-
...h(this.model) ? [
|
|
280
|
-
...T(this.model) ? [
|
|
287
|
+
...n(this.model) ? [c.AxisLines] : [],
|
|
288
|
+
...h(this.model) ? [c.GridLines] : [],
|
|
289
|
+
...T(this.model) ? [c.LeaderLines] : []
|
|
281
290
|
];
|
|
282
291
|
const t = this.textProperties.map((s) => this.renderTextElement(s, this.textPropertyChange)), e = this.symbolProperties.map((s) => s === i.Background ? this.renderTextElement(s, this.backgroundChange) : this.renderTextElement(s, this.symbolPropertyChange));
|
|
283
292
|
return { textElements: t, symbolElements: e };
|
|
284
293
|
}
|
|
285
294
|
renderTextElement(t, e) {
|
|
286
|
-
const s = G(t), o = this.getFormatValue(t), a = typeof o == "string" ? o : "",
|
|
287
|
-
return S`<calcite-list-item class=${g(b.element)} .label=${this._messages[t]} .description=${a} .value=${t} .selected=${
|
|
295
|
+
const s = G(t), o = this.getFormatValue(t), a = typeof o == "string" ? o : "", m = this.selectedTexts.includes(t) || this.selectedSymbols.includes(t) || this.selectedBackground.includes(t);
|
|
296
|
+
return S`<calcite-list-item class=${g(b.element)} .label=${this._messages[t]} .description=${a} .value=${t} .selected=${m} @click=${e} ${$(this.updateSelectableElements)}>${s !== void 0 ? S`<calcite-icon slot=content-start scale=s .icon=${s}></calcite-icon>` : null}</calcite-list-item>`;
|
|
288
297
|
}
|
|
289
298
|
render() {
|
|
290
299
|
const { textElements: t, symbolElements: e } = this.renderFormatElements();
|
|
@@ -5,14 +5,23 @@ import "lodash-es";
|
|
|
5
5
|
import "../../chunks/series-types.js";
|
|
6
6
|
import { R as r } from "../../chunks/rest-js-object-literals.js";
|
|
7
7
|
import "d3-array";
|
|
8
|
-
import "../../chunks/
|
|
8
|
+
import "../../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 l } from "../../chunks/popover-ui-utils.js";
|
|
18
27
|
import { u as n } from "../../chunks/useT9n.js";
|
|
@@ -20,7 +29,7 @@ import { createRef as p, ref as c } from "lit/directives/ref.js";
|
|
|
20
29
|
import { LitElement as m, createEvent as s, safeClassMap as h } 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.25 */
|
|
24
33
|
const g = {
|
|
25
34
|
jsAppFlyout: "js-app-flyout"
|
|
26
35
|
}, C = a``;
|
|
@@ -1,26 +1,35 @@
|
|
|
1
1
|
import { c as g } from "../../chunks/runtime.js";
|
|
2
2
|
import { h as n, j as c, g as h, p as r } from "../../chunks/type-guards.js";
|
|
3
3
|
import { d as l } from "../../chunks/series-types.js";
|
|
4
|
-
import { isEmpty as
|
|
5
|
-
import { m as
|
|
4
|
+
import { isEmpty as p } from "lodash-es";
|
|
5
|
+
import { m as b, c as m } from "../../chunks/chart-ui-utils2.js";
|
|
6
6
|
import { u as x } from "../../chunks/useT9n.js";
|
|
7
7
|
import { css as u, html as a } from "lit";
|
|
8
8
|
import { createRef as T, ref as f } from "lit/directives/ref.js";
|
|
9
9
|
import { LitElement as C, safeClassMap as i } from "@arcgis/lumina";
|
|
10
10
|
import "@arcgis/toolkit/intl";
|
|
11
11
|
import "d3-array";
|
|
12
|
-
import {
|
|
12
|
+
import { S as $ } from "../../chunks/index.js";
|
|
13
|
+
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
14
|
+
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
15
|
+
import "@arcgis/core/Graphic.js";
|
|
16
|
+
import "@arcgis/core/intl.js";
|
|
17
|
+
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
18
|
+
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
19
|
+
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
20
|
+
import "simple-statistics";
|
|
21
|
+
import "@arcgis/core/request.js";
|
|
22
|
+
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
13
23
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
14
24
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
15
25
|
import "@arcgis/core/rest/support/Query.js";
|
|
16
26
|
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
17
27
|
import "@arcgis/core/time/TimeExtent.js";
|
|
18
28
|
import "@arcgis/core/core/promiseUtils.js";
|
|
19
|
-
import "@arcgis/core/request.js";
|
|
20
29
|
import "@arcgis/toolkit/dom";
|
|
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.25 */
|
|
24
33
|
const s = {
|
|
25
34
|
textInput: "text-input",
|
|
26
35
|
label: "label",
|
|
@@ -80,7 +89,7 @@ class y extends C {
|
|
|
80
89
|
}
|
|
81
90
|
setChartTitle(e) {
|
|
82
91
|
const { value: t } = e.target;
|
|
83
|
-
this.isChartTitleInvalid =
|
|
92
|
+
this.isChartTitleInvalid = p(t.trim()), this.characterLimitInputElement.value && b({
|
|
84
93
|
inputElement: this.characterLimitInputElement.value,
|
|
85
94
|
status: this.isChartTitleInvalid ? m.INVALID : m.IDLE
|
|
86
95
|
}), this.isChartTitleInvalid || (this.model.titleText = t);
|