@arcgis/charts-components 6.0.0-next.3 → 6.0.0-next.30
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/25QC6GIT.js +2 -0
- package/dist/cdn/3LRLDG7X.js +2 -0
- package/dist/cdn/43Q7OGOH.js +2 -0
- package/dist/cdn/4DNJYU33.js +2 -0
- package/dist/cdn/{HMZRDWG2.js → 53B3EJBT.js} +27 -27
- package/dist/cdn/{H5VCT3XP.js → 5EAIW2ZK.js} +1 -1
- package/dist/cdn/5UYTQNHS.js +2 -0
- package/dist/cdn/6534DFFO.js +2 -0
- package/dist/cdn/{33LWKOPD.js → 6GBCPR5J.js} +1 -1
- package/dist/cdn/6JD4UQO2.js +2 -0
- package/dist/cdn/{563H5HEV.js → 6SLVQTPT.js} +1 -1
- package/dist/cdn/{VSKK65CP.js → 6SVLCTQS.js} +1 -1
- package/dist/cdn/6WKJ5VRI.js +2 -0
- package/dist/cdn/7F6LOZLY.js +2 -0
- package/dist/cdn/A3VQPJ6Y.js +2 -0
- package/dist/cdn/AN7IJ6AX.js +2 -0
- package/dist/cdn/B3QNMX44.js +2 -0
- package/dist/cdn/B5AQ3NNL.js +2 -0
- package/dist/cdn/CKDPIIRG.js +2 -0
- package/dist/cdn/CRLM4T6V.js +2 -0
- package/dist/cdn/{FKES55PK.js → DH2G4KHH.js} +1 -1
- package/dist/cdn/FCIX6GGU.js +2 -0
- package/dist/cdn/FFU63U6V.js +2 -0
- package/dist/cdn/GCTV22SA.js +2 -0
- package/dist/cdn/{V5Z75IQI.js → GG5WH22M.js} +2 -2
- package/dist/cdn/GGQH47WY.js +2 -0
- package/dist/cdn/{KK445MLC.js → GU6VG5TK.js} +1 -1
- package/dist/cdn/GUAULB6T.js +2 -0
- package/dist/cdn/GY26ZORC.js +2 -0
- package/dist/cdn/HA4Y6XKL.js +2 -0
- package/dist/cdn/HECZ3OT6.js +4 -0
- package/dist/cdn/HFTFNQJQ.js +2 -0
- package/dist/cdn/HM4I3F2W.js +4 -0
- package/dist/cdn/HQUV6P3J.js +2 -0
- package/dist/cdn/HSPGNGWN.js +2 -0
- package/dist/cdn/{CLCHZMZ5.js → HYE4BAPU.js} +1 -1
- package/dist/cdn/IL5NGTL7.js +2 -0
- package/dist/cdn/JEFLBTJD.js +2 -0
- package/dist/cdn/JRSS3F4L.js +2 -0
- package/dist/cdn/JYA5U7KT.js +2 -0
- package/dist/cdn/K5EKMEXI.js +2 -0
- package/dist/cdn/KK2MZ4JC.js +2 -0
- package/dist/cdn/KL5AVH4O.js +2 -0
- package/dist/cdn/{6RGTAMGU.js → KLDHTXQX.js} +1 -1
- package/dist/cdn/{S2BGEXZV.js → KMPKCXZM.js} +1 -1
- package/dist/cdn/{OYUTQX4U.js → KW3N46DO.js} +1 -1
- package/dist/cdn/L2G4TISY.js +2 -0
- package/dist/cdn/LB4HNAIE.js +2 -0
- package/dist/cdn/M3F5FMP4.js +2 -0
- package/dist/cdn/{PIGINE4M.js → M7MSRLEE.js} +1 -1
- package/dist/cdn/MHW64E3A.js +2 -0
- package/dist/cdn/MSBIMCZD.js +2 -0
- package/dist/cdn/MUN2S3E4.js +2 -0
- package/dist/cdn/NFX7AZX3.js +2 -0
- package/dist/cdn/NHEMQ3ZY.js +2 -0
- package/dist/cdn/NPHI6WI5.js +2 -0
- package/dist/cdn/OAOD5CD6.js +2 -0
- package/dist/cdn/{2WQNU554.js → OLXXAT2G.js} +1 -1
- package/dist/cdn/{LPLMRI3E.js → PHRAHDAC.js} +1 -1
- package/dist/cdn/{FM6F6ZYW.js → PSKIJ3SM.js} +1 -1
- package/dist/cdn/PVJD76IR.js +2 -0
- package/dist/cdn/{FNXREQOE.js → Q3P2IG23.js} +1 -1
- package/dist/cdn/QBXMZDH4.js +2 -0
- package/dist/cdn/QD55AYES.js +2 -0
- package/dist/cdn/QDSTYON4.js +2 -0
- package/dist/cdn/QJ5GAILY.js +2 -0
- package/dist/cdn/R5VTRDCV.js +2 -0
- package/dist/cdn/SGJJDKKA.js +2 -0
- package/dist/cdn/SGWNVFIC.js +2 -0
- package/dist/cdn/{CUMXC4O4.js → SQ6PNUM5.js} +1 -1
- package/dist/cdn/SSE23HGJ.js +2 -0
- package/dist/cdn/SYNIRISM.js +2 -0
- package/dist/cdn/TD2A5VIL.js +2 -0
- package/dist/cdn/TO36XQBZ.js +2 -0
- package/dist/cdn/TTGVSQVW.js +2 -0
- package/dist/cdn/U47KTF7M.js +2 -0
- package/dist/cdn/U4AHEAFG.js +2 -0
- package/dist/cdn/UD6HCV4U.js +2 -0
- package/dist/cdn/VCLQRZI2.js +2 -0
- package/dist/cdn/{PQ3XCNCP.js → VHFV37DA.js} +1 -1
- package/dist/cdn/{INYMF2BQ.js → VKMVMHTT.js} +1 -1
- package/dist/cdn/VOFQH5IC.js +2 -0
- package/dist/cdn/VRZET2BS.js +4 -0
- package/dist/cdn/W4Y3QYJT.js +2 -0
- package/dist/cdn/WCUPRSJO.js +2 -0
- package/dist/cdn/WHN4YP6X.js +2 -0
- package/dist/cdn/WP6CEEFY.js +2 -0
- package/dist/cdn/WPAN7ZED.js +2 -0
- package/dist/cdn/WPBGJ7TA.js +2 -0
- package/dist/cdn/WWTDXZGS.js +2 -0
- package/dist/cdn/X2DZWHQW.js +2 -0
- package/dist/cdn/XR4X7LVB.js +2 -0
- package/dist/cdn/Y5ROZLS4.js +2 -0
- package/dist/cdn/{OZSHGMU6.js → Y6URECIF.js} +1 -1
- package/dist/cdn/YKSQH65V.js +2 -0
- package/dist/cdn/YOJFH5RX.js +2 -0
- package/dist/cdn/YT2VNZV4.js +2 -0
- package/dist/cdn/ZCYWZBOA.js +2 -0
- package/dist/cdn/{QQFMQAJ3.js → ZHMYNWSY.js} +1 -1
- package/dist/cdn/ZRZICFCQ.js +2 -0
- package/dist/cdn/ZWDCZ3BB.js +2 -0
- package/dist/cdn/ZWTCLURV.js +2 -0
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/model/shared/setup-utils.js +1 -1
- package/dist/chart-rendering/common/interfaces.d.ts +7 -0
- package/dist/chunks/action-bar-utils.js +18 -20
- package/dist/chunks/axis-lines-symbol.js +6 -6
- package/dist/chunks/bar-chart-model.js +6 -8
- package/dist/chunks/box-plot-data.js +164 -163
- package/dist/chunks/box-plot-model.js +40 -38
- package/dist/chunks/chart-model.js +37 -39
- package/dist/chunks/chart-ui-utils.js +45 -47
- package/dist/chunks/chart-ui-utils2.js +1 -1
- package/dist/chunks/class-breaks.js +11 -11
- package/dist/chunks/combo-bar-line-chart-model.js +15 -16
- package/dist/chunks/data-labels-symbol.js +1 -1
- package/dist/chunks/data-labels-visibility.js +1 -1
- package/dist/chunks/data.js +49 -51
- package/dist/chunks/gauge-model.js +64 -64
- package/dist/chunks/generate-x-axis-title.js +17 -17
- package/dist/chunks/heat-chart-model.js +13 -14
- package/dist/chunks/histogram-data.js +41 -42
- package/dist/chunks/histogram-model.js +2 -2
- package/dist/chunks/index.js +5423 -4246
- package/dist/chunks/index2.js +1165 -871
- package/dist/chunks/index3.js +11040 -1173
- package/dist/chunks/index4.js +65 -11086
- package/dist/chunks/line-chart-model.js +17 -18
- package/dist/chunks/model-setter.js +6 -6
- package/dist/chunks/model-with-x-guides.js +1 -1
- package/dist/chunks/model-with-y-guides.js +25 -25
- package/dist/chunks/negative-values-stacked-to-baseline.js +2 -2
- package/dist/chunks/pie-chart-data.js +25 -27
- package/dist/chunks/pie-chart-model.js +168 -167
- package/dist/chunks/radar-chart-model.js +6 -7
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/rotated-state.js +1 -1
- package/dist/chunks/rounded-corners.js +2 -2
- package/dist/chunks/scatterplot-model.js +74 -75
- package/dist/chunks/serial-chart-data.js +513 -513
- package/dist/chunks/serial-chart-model.js +61 -58
- package/dist/chunks/series-length.js +4 -4
- package/dist/chunks/series.js +1 -1
- package/dist/chunks/type-guards.js +109 -55
- package/dist/chunks/utils.js +146 -212
- package/dist/chunks/web-component-utils.js +55 -56
- package/dist/chunks/x-bounds.js +20 -21
- package/dist/components/arcgis-chart/customElement.d.ts +76 -22
- package/dist/components/arcgis-chart/customElement.js +8339 -8116
- package/dist/components/arcgis-charts-action-bar/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +63 -58
- package/dist/components/arcgis-charts-config-bar-chart-data/index.js +0 -1
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +11 -12
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +51 -45
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +115 -113
- package/dist/components/arcgis-charts-config-box-plot-data/index.js +0 -1
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +11 -12
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +52 -46
- package/dist/components/arcgis-charts-config-box-plot-series-popover/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 +189 -184
- package/dist/components/arcgis-charts-config-font-style/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-format/customElement.js +37 -38
- package/dist/components/arcgis-charts-config-general/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-guide/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +13 -14
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +32 -33
- package/dist/components/arcgis-charts-config-histogram/customElement.js +2 -3
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +4 -5
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +8 -9
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +21 -22
- package/dist/components/arcgis-charts-config-line-chart-data/index.js +0 -1
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +7 -8
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +40 -35
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +38 -34
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +21 -22
- package/dist/components/arcgis-charts-config-pie-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +9 -10
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +3 -4
- package/dist/components/arcgis-charts-config-scatter-plot-aoi/customElement.js +20 -24
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +79 -79
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +3 -4
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +21 -25
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +20 -21
- package/dist/components/arcgis-charts-info-modal/customElement.js +4 -4
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +322 -322
- package/dist/loader.js +3 -3
- package/dist/model/box-plot-model/box-plot-model.d.ts +6 -2
- package/dist/model/mixins/model-with-multi-axes.d.ts +53 -2
- package/dist/model/pie-chart-model/pie-chart-model.d.ts +6 -2
- package/dist/model/serial-chart-model/serial-chart-model.d.ts +6 -2
- package/dist/spec/rest-js-types.d.ts +1 -5
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +1 -1
- package/dist/utils/chart-config/converter/index.js +91 -93
- package/dist/utils/chart-config/utils/index.d.ts +10 -3
- package/dist/utils/components/interfaces.d.ts +7 -0
- package/dist/utils/data/categorical-data/index.d.ts +1 -0
- package/dist/utils/misc/index.d.ts +4 -4
- package/package.json +7 -7
- package/dist/cdn/23NH4HLE.js +0 -2
- package/dist/cdn/2DRKIHTI.js +0 -2
- package/dist/cdn/2E3WHSEW.js +0 -2
- package/dist/cdn/2RG5JCBW.js +0 -3
- package/dist/cdn/2X2QOEKX.js +0 -2
- package/dist/cdn/37WXQO5B.js +0 -2
- package/dist/cdn/3INTJJ4X.js +0 -2
- package/dist/cdn/3RJNZA24.js +0 -2
- package/dist/cdn/4CU5D5WQ.js +0 -2
- package/dist/cdn/4WQUPC2P.js +0 -2
- package/dist/cdn/5DAVFUDX.js +0 -2
- package/dist/cdn/5VCTFSTZ.js +0 -2
- package/dist/cdn/5XGX5QH2.js +0 -2
- package/dist/cdn/6XH6ZRHO.js +0 -2
- package/dist/cdn/732AMNPK.js +0 -2
- package/dist/cdn/7WD2VKG4.js +0 -2
- package/dist/cdn/7YN565O4.js +0 -2
- package/dist/cdn/A2BFOCSN.js +0 -2
- package/dist/cdn/A5TI5TEO.js +0 -2
- package/dist/cdn/AHB4IS7P.js +0 -2
- package/dist/cdn/B6ADEFC7.js +0 -2
- package/dist/cdn/B6APNE72.js +0 -3
- package/dist/cdn/BDIRQUQE.js +0 -2
- package/dist/cdn/BWZA3447.js +0 -2
- package/dist/cdn/BZTSUXUT.js +0 -2
- package/dist/cdn/CFACTMRG.js +0 -2
- package/dist/cdn/D2LNPCIA.js +0 -2
- package/dist/cdn/D6WQTOUC.js +0 -2
- package/dist/cdn/DTSX7SEI.js +0 -2
- package/dist/cdn/EPFEFHM2.js +0 -2
- package/dist/cdn/EW2P4QSN.js +0 -2
- package/dist/cdn/GDJDA5MG.js +0 -2
- package/dist/cdn/GE7CLC6K.js +0 -4
- package/dist/cdn/GEPIPU4G.js +0 -2
- package/dist/cdn/GSCC3FON.js +0 -2
- package/dist/cdn/GXYGXB4U.js +0 -2
- package/dist/cdn/IEOIKLLK.js +0 -2
- package/dist/cdn/ISSUAEJS.js +0 -2
- package/dist/cdn/KJNBURYA.js +0 -2
- package/dist/cdn/L3AKSDIB.js +0 -2
- package/dist/cdn/L5MTHGFZ.js +0 -2
- package/dist/cdn/LHLPK6TU.js +0 -2
- package/dist/cdn/LXFY54NF.js +0 -2
- package/dist/cdn/MJUCIYQN.js +0 -2
- package/dist/cdn/NGBBNBA7.js +0 -2
- package/dist/cdn/NIZC75X3.js +0 -2
- package/dist/cdn/OBKDR3MU.js +0 -2
- package/dist/cdn/OQKL344Q.js +0 -2
- package/dist/cdn/OZSOICXE.js +0 -2
- package/dist/cdn/PBQRZBQM.js +0 -2
- package/dist/cdn/PT66VVXN.js +0 -2
- package/dist/cdn/QOENPUSD.js +0 -2
- package/dist/cdn/QPVBVDRP.js +0 -2
- package/dist/cdn/RGMPFNUN.js +0 -2
- package/dist/cdn/RGSJ3JFI.js +0 -2
- package/dist/cdn/RVHNFMTN.js +0 -2
- package/dist/cdn/RVQPEB4W.js +0 -2
- package/dist/cdn/RXTO6RE2.js +0 -2
- package/dist/cdn/SCEFJRON.js +0 -2
- package/dist/cdn/SEILP6QP.js +0 -2
- package/dist/cdn/SKI5Z6UH.js +0 -2
- package/dist/cdn/SSEWUPML.js +0 -2
- package/dist/cdn/TCE6PLHN.js +0 -2
- package/dist/cdn/TOCU6UKM.js +0 -2
- package/dist/cdn/TSASF4ZC.js +0 -2
- package/dist/cdn/UDAJILEU.js +0 -2
- package/dist/cdn/UZOYADSB.js +0 -2
- package/dist/cdn/W2PTHYOT.js +0 -2
- package/dist/cdn/W53DMMGZ.js +0 -2
- package/dist/cdn/WAQJ7V62.js +0 -2
- package/dist/cdn/WEPXOYBS.js +0 -2
- package/dist/cdn/WLPUBXN7.js +0 -2
- package/dist/cdn/XPCXTKEY.js +0 -2
- package/dist/cdn/Y2S7EWZR.js +0 -2
- package/dist/cdn/YF6ML4P6.js +0 -4
- package/dist/cdn/YGLBPPXP.js +0 -2
- package/dist/cdn/YWUNLBCQ.js +0 -2
- package/dist/cdn/YYTAWATK.js +0 -2
- package/dist/cdn/ZDQWMMOA.js +0 -2
- package/dist/cdn/ZFHMGE36.js +0 -2
- package/dist/cdn/ZGNJFT7B.js +0 -2
- package/dist/cdn/ZMVIOIBB.js +0 -2
- package/dist/cdn/ZTHSDPEH.js +0 -2
- package/dist/chunks/index5.js +0 -69
- package/dist/chunks/type-guards2.js +0 -113
- package/dist/chunks/utils2.js +0 -63
- /package/dist/cdn/{XFEWDUTX.js → 2PUVZIJ6.js} +0 -0
- /package/dist/cdn/{UHSL7Y3B.js → 33NEGHM6.js} +0 -0
- /package/dist/cdn/{6FW2SXLC.js → 55OFHBXV.js} +0 -0
- /package/dist/cdn/{SMHUUBEU.js → 5OSVKP4N.js} +0 -0
- /package/dist/cdn/{VITUV4HV.js → 5QLZ66AU.js} +0 -0
- /package/dist/cdn/{UQRD2CTK.js → 5SOADBYD.js} +0 -0
- /package/dist/cdn/{55DRYT5X.js → 5ZZZKI7V.js} +0 -0
- /package/dist/cdn/{5ANJA54O.js → 6IIBIZJH.js} +0 -0
- /package/dist/cdn/{QLBO3URO.js → 6QY2OFUO.js} +0 -0
- /package/dist/cdn/{UITA7CSN.js → 7AWJIBMG.js} +0 -0
- /package/dist/cdn/{OTV3YYDU.js → 7JMZPDM5.js} +0 -0
- /package/dist/cdn/{373UZR4I.js → 7N2LSD5J.js} +0 -0
- /package/dist/cdn/{SCS4MWFN.js → A6DV5ILW.js} +0 -0
- /package/dist/cdn/{VT3NOR5A.js → BGHJMVNV.js} +0 -0
- /package/dist/cdn/{L4KDCWA7.js → BGVIOGAX.js} +0 -0
- /package/dist/cdn/{Z2IHEWWP.js → CYZPIC2B.js} +0 -0
- /package/dist/cdn/{AVRIN2FL.js → CZKZMSFJ.js} +0 -0
- /package/dist/cdn/{WMGJN3JL.js → D66GTKJ7.js} +0 -0
- /package/dist/cdn/{XR7RCGIT.js → DJGQM3EK.js} +0 -0
- /package/dist/cdn/{PQESGESY.js → FOHR4IFG.js} +0 -0
- /package/dist/cdn/{3DDSV3IF.js → GOVIUHKT.js} +0 -0
- /package/dist/cdn/{KE7XE22Z.js → H44RQIWN.js} +0 -0
- /package/dist/cdn/{W7VPVF72.js → HJUHYEJT.js} +0 -0
- /package/dist/cdn/{57RWTLRG.js → HL6ANDJH.js} +0 -0
- /package/dist/cdn/{HUU3QFFC.js → IDVYAUPY.js} +0 -0
- /package/dist/cdn/{XIE5EUIH.js → IQSNWDU6.js} +0 -0
- /package/dist/cdn/{K43DVQFC.js → JE32QM44.js} +0 -0
- /package/dist/cdn/{52PHJCYM.js → JETTF7E2.js} +0 -0
- /package/dist/cdn/{L26HYK34.js → JSOFN65T.js} +0 -0
- /package/dist/cdn/{LE3B3ATZ.js → KMZIRJIR.js} +0 -0
- /package/dist/cdn/{XUSFQDK4.js → KQ36C2RK.js} +0 -0
- /package/dist/cdn/{O6GVF76X.js → KRRYFLG4.js} +0 -0
- /package/dist/cdn/{4MSDOPVE.js → M4AD4UJU.js} +0 -0
- /package/dist/cdn/{2BPLDZAJ.js → NUH2GAPZ.js} +0 -0
- /package/dist/cdn/{Q4H5YVTW.js → OWEVDN6C.js} +0 -0
- /package/dist/cdn/{GCUOASRZ.js → QCFAV626.js} +0 -0
- /package/dist/cdn/{R4PFJLD2.js → QMBHZ5JE.js} +0 -0
- /package/dist/cdn/{J5VMBGYI.js → SWHSL245.js} +0 -0
- /package/dist/cdn/{C7VQM4TH.js → T7LKXFIZ.js} +0 -0
- /package/dist/cdn/{KCP6AJV7.js → XQTLPFTW.js} +0 -0
- /package/dist/cdn/{27C6PCQ2.js → XXO5K6N4.js} +0 -0
- /package/dist/cdn/{3VZK52LO.js → Z5DYKSTK.js} +0 -0
|
@@ -4,15 +4,14 @@ import { keyed as p } from "lit/directives/keyed.js";
|
|
|
4
4
|
import { repeat as k } from "lit/directives/repeat.js";
|
|
5
5
|
import { substitute as $ } from "@arcgis/core/intl.js";
|
|
6
6
|
import { b as l } from "../../chunks/interfaces.js";
|
|
7
|
-
import { b as
|
|
8
|
-
import { u as
|
|
9
|
-
import { css as
|
|
10
|
-
import { createRef as
|
|
7
|
+
import { b as u, f as y, e as h, a as P } from "../../chunks/chart-ui-utils.js";
|
|
8
|
+
import { u as F } from "../../chunks/useT9n.js";
|
|
9
|
+
import { css as L, html as n } from "lit";
|
|
10
|
+
import { createRef as f, ref as m } from "lit/directives/ref.js";
|
|
11
11
|
import { LitElement as x, createEvent as g, renderElement as I, safeStyleMap as D, safeClassMap as d } from "@arcgis/lumina";
|
|
12
12
|
import { B as r } from "../../chunks/common.js";
|
|
13
13
|
import { e as S, p as T } from "../../chunks/popover-ui-utils.js";
|
|
14
|
-
import {
|
|
15
|
-
import { b as B } from "../../chunks/index2.js";
|
|
14
|
+
import { x as E, c9 as b, b4 as w, J as B } from "../../chunks/index.js";
|
|
16
15
|
import { d as C } from "../../chunks/rest-js-object-literals.js";
|
|
17
16
|
const o = {
|
|
18
17
|
name: "bar-chart-data-popover",
|
|
@@ -23,10 +22,10 @@ const o = {
|
|
|
23
22
|
sortMedian: "sort-median",
|
|
24
23
|
sortOrderPickList: "sort-order-pick-list",
|
|
25
24
|
panel: "panel"
|
|
26
|
-
}, N =
|
|
25
|
+
}, N = L`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.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}.popover-pick-list{font-size:small;max-width:var(--arcgis-charts-config-popover-pick-list-max-width)}.sort-icon-color{color:#000}.sort-mean,.sort-median{transform:rotate(90deg)}.sort-order-pick-list{overflow-y:hidden}.panel{max-height:60vh}`;
|
|
27
26
|
class K extends x {
|
|
28
27
|
constructor() {
|
|
29
|
-
super(...arguments), this._messages =
|
|
28
|
+
super(...arguments), this._messages = F(), this.picklist = f(), this.placement = "leading", this.popoverElement = f(), this.offsetDistance = -200, this.pickListHasChanged = !1, this.open = !1, this.layerFieldsInfo = [], this.isCustomSortDisabled = !1, this.arcgisChartsConfigBoxPlotDataPopoverChange = g(), this.arcgisChartsConfigPopoverClose = g();
|
|
30
29
|
}
|
|
31
30
|
static {
|
|
32
31
|
this.properties = { messageOverrides: 0, headingTitle: 1, referenceElement: 0, open: 5, contentKind: 1, layerFieldsInfo: 0, isCustomSortDisabled: 5, selectedContent: 1 };
|
|
@@ -43,7 +42,7 @@ class K extends x {
|
|
|
43
42
|
updated() {
|
|
44
43
|
setTimeout(() => {
|
|
45
44
|
typeof this.picklist.value?.setFocus == "function" && this.picklist.value?.setFocus();
|
|
46
|
-
},
|
|
45
|
+
}, u.PopoverTimer), S(this.popoverElement.value, this.open);
|
|
47
46
|
}
|
|
48
47
|
selectedContentChange(e, t) {
|
|
49
48
|
this.pickListHasChanged = T(e, t);
|
|
@@ -68,7 +67,7 @@ class K extends x {
|
|
|
68
67
|
}), this.open = !1;
|
|
69
68
|
}
|
|
70
69
|
buildPickListItem(e) {
|
|
71
|
-
return p(e.name, n`<calcite-list-item .label=${
|
|
70
|
+
return p(e.name, n`<calcite-list-item .label=${E(this.layerFieldsInfo, e.name)} .value=${e.name} .selected=${h(e.name, this.selectedContent)}></calcite-list-item>`);
|
|
72
71
|
}
|
|
73
72
|
buildPickListItems(e) {
|
|
74
73
|
const t = this.layerFieldsInfo?.length ?? 0, i = [];
|
|
@@ -76,7 +75,7 @@ class K extends x {
|
|
|
76
75
|
case l.numericFields: {
|
|
77
76
|
for (let s = 0; s < t; s += 1) {
|
|
78
77
|
const a = this.layerFieldsInfo[s];
|
|
79
|
-
|
|
78
|
+
w(a) && i.push(this.buildPickListItem(a));
|
|
80
79
|
}
|
|
81
80
|
break;
|
|
82
81
|
}
|
|
@@ -146,7 +145,7 @@ class K extends x {
|
|
|
146
145
|
}
|
|
147
146
|
createTooltip(e) {
|
|
148
147
|
if (e.target?.label === this._messages.customSort && this.isCustomSortDisabled) {
|
|
149
|
-
const t = e.target, i =
|
|
148
|
+
const t = e.target, i = B(t), a = new Intl.NumberFormat(i).format(u.customSortLimit), c = $(this._messages.customSortLimit ?? "", {
|
|
150
149
|
totalLimit: a
|
|
151
150
|
});
|
|
152
151
|
this.tooltip = I(n`<calcite-tooltip style=${D({ opacity: 1, zIndex: "var(--calcite-floating-ui-z-index)" })} .referenceElement=${t} open placement=top>${c}</calcite-tooltip>`), document.body.appendChild(this.tooltip);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
2
|
+
import { c as b } from "../../chunks/runtime.js";
|
|
3
3
|
import { css as P, html as n } from "lit";
|
|
4
4
|
import { keyed as y } from "lit/directives/keyed.js";
|
|
5
5
|
import { repeat as M } from "lit/directives/repeat.js";
|
|
6
|
-
import { u as
|
|
7
|
-
import { LitElement as
|
|
6
|
+
import { u as O } from "../../chunks/useT9n.js";
|
|
7
|
+
import { LitElement as B, renderElement as d, safeStyleMap as h, safeClassMap as a } from "@arcgis/lumina";
|
|
8
8
|
import { a as w } from "../../chunks/chart-ui-utils.js";
|
|
9
|
-
import {
|
|
9
|
+
import { y as S } from "../../chunks/index.js";
|
|
10
10
|
import { r as f } from "../../chunks/popover-ui-utils.js";
|
|
11
11
|
import { p as m } from "../../chunks/chart-object-literals.js";
|
|
12
12
|
const l = {
|
|
@@ -15,73 +15,82 @@ const l = {
|
|
|
15
15
|
list: "list",
|
|
16
16
|
infoIcon: "info-icon"
|
|
17
17
|
}, T = P`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}:host{display:flex;flex-direction:column;width:var(--arcgis-charts-config-calcite-block-default-width);margin:var(--arcgis-charts-config-calcite-block-default-margin)}.top-section{margin-top:var(--arcgis-charts-config-margin-minor)}.section-label{display:flex;margin-bottom:var(--arcgis-charts-config-margin-major);margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor);justify-content:space-between;align-items:center;font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size-0)}.list{margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor);margin-bottom:var(--arcgis-charts-config-margin-major)}.info-icon{margin:auto 1rem;pointer-events:auto}`;
|
|
18
|
-
class N extends
|
|
18
|
+
class N extends B {
|
|
19
19
|
constructor() {
|
|
20
|
-
super(...arguments), this._messages =
|
|
21
|
-
this.configSeriesOpen = !1, this.
|
|
20
|
+
super(...arguments), this._messages = O(), this.resetSeriesOriginal = () => {
|
|
21
|
+
this.configSeriesOpen = !1, this.selectedSeriesId = void 0, this.model.resetSeriesStyling(), this.seriesOrderResetCounter += 1;
|
|
22
22
|
}, this.onMultipleSeriesSelect = (e) => {
|
|
23
23
|
if (!this.shouldDisableMeanLinesOption()) {
|
|
24
|
-
const i = e.target,
|
|
25
|
-
this.model.showMeanLines =
|
|
24
|
+
const i = e.target, s = i.value ?? i.parentElement.value ?? "";
|
|
25
|
+
this.model.showMeanLines = s === m.MeanLines;
|
|
26
26
|
}
|
|
27
27
|
}, this.seriesNameChange = (e) => {
|
|
28
28
|
if (e.detail !== null || e.detail !== void 0) {
|
|
29
|
-
const i = e.detail?.name;
|
|
30
|
-
this.model.setSeriesName(i,
|
|
29
|
+
const i = e.detail?.name, s = this.selectedSeriesIndex;
|
|
30
|
+
s !== void 0 && s >= 0 && this.model.setSeriesName(i, s);
|
|
31
31
|
}
|
|
32
32
|
}, this.seriesColorChange = (e) => {
|
|
33
33
|
if (e.detail !== null && e.detail !== void 0) {
|
|
34
34
|
const { color: i } = e.detail;
|
|
35
|
-
i !== void 0
|
|
35
|
+
if (i !== void 0)
|
|
36
|
+
if (this.meanLinesBoxColorIsSelected)
|
|
37
|
+
this.model.meanLinesBoxColor = i;
|
|
38
|
+
else {
|
|
39
|
+
const s = this.selectedSeriesIndex;
|
|
40
|
+
s !== void 0 && s >= 0 && (this.model.colorMatch = !1, this.model.setSeriesColor(i, s));
|
|
41
|
+
}
|
|
36
42
|
}
|
|
37
43
|
}, this.seriesLineStyleChange = (e) => {
|
|
38
44
|
if (e.detail !== null && e.detail !== void 0) {
|
|
39
|
-
const { style: i } = e.detail;
|
|
40
|
-
i !== void 0 && this.model.setSeriesLineStyle(i,
|
|
45
|
+
const { style: i } = e.detail, s = this.selectedSeriesIndex;
|
|
46
|
+
i !== void 0 && s !== void 0 && s >= 0 && this.model.setSeriesLineStyle(i, s);
|
|
41
47
|
}
|
|
42
48
|
}, this.seriesLineWidthChange = (e) => {
|
|
43
49
|
if (e.detail !== null && e.detail !== void 0) {
|
|
44
|
-
const { width: i } = e.detail;
|
|
45
|
-
i !== void 0 && this.model.setSeriesLineWidth(i,
|
|
50
|
+
const { width: i } = e.detail, s = this.selectedSeriesIndex;
|
|
51
|
+
i !== void 0 && s !== void 0 && s >= 0 && this.model.setSeriesLineWidth(i, s);
|
|
46
52
|
}
|
|
47
53
|
}, this.onCalciteListOrderChange = (e) => {
|
|
48
54
|
const i = this.model.boxPlotSeriesIndexWhenMeanLinesShown;
|
|
49
55
|
if (e.detail !== null && e.detail !== void 0) {
|
|
50
|
-
const { newIndex:
|
|
51
|
-
let
|
|
52
|
-
i !== -1 && (
|
|
56
|
+
const { newIndex: s, oldIndex: r } = e.detail;
|
|
57
|
+
let t = r, o = s;
|
|
58
|
+
i !== -1 && (t = r >= i ? r + 1 : r, o = s >= i ? s + 1 : s), this.model.moveSeries(t, o), this.seriesOrderResetCounter += 1;
|
|
53
59
|
}
|
|
54
60
|
}, this.seriesPopoverClose = () => {
|
|
55
|
-
this.
|
|
61
|
+
this.selectedSeriesId = void 0, this.meanLinesBoxColorIsSelected = !1, this.configSeriesOpen = !1, this.seriesPopover = f(this.seriesPopover);
|
|
56
62
|
}, this.openSeriesPopOver = (e) => {
|
|
57
63
|
e.stopImmediatePropagation(), this.removeSeriesPopover();
|
|
58
|
-
const i = e.target,
|
|
59
|
-
if (
|
|
60
|
-
this.configSeriesOpen = this.selectedSeriesIndex ===
|
|
61
|
-
else if (
|
|
64
|
+
const i = e.target, s = i.localName === "calcite-list-item" ? i : i.parentNode, r = !this.configSeriesOpen, t = this.model.getSeriesIndex(s.value);
|
|
65
|
+
if (t !== void 0 && t !== -1)
|
|
66
|
+
this.configSeriesOpen = this.selectedSeriesIndex === t ? r : !0, this.configSeriesOpen ? this.selectedSeriesId = s.value : this.selectedSeriesId = void 0, this.meanLinesBoxColorIsSelected = !1;
|
|
67
|
+
else if (s.value === "box-plot-color") {
|
|
62
68
|
const o = !this.meanLinesBoxColorIsSelected;
|
|
63
|
-
this.configSeriesOpen = o, this.meanLinesBoxColorIsSelected = o, this.
|
|
69
|
+
this.configSeriesOpen = o, this.meanLinesBoxColorIsSelected = o, this.selectedSeriesId = void 0;
|
|
64
70
|
}
|
|
65
71
|
}, this.createTooltip = (e, i) => {
|
|
66
|
-
const
|
|
67
|
-
this.tooltip = d(n`<calcite-tooltip style=${h({ opacity: 1, zIndex: "var(--calcite-floating-ui-z-index)" })} .referenceElement=${
|
|
72
|
+
const s = e.target;
|
|
73
|
+
this.tooltip = d(n`<calcite-tooltip style=${h({ opacity: 1, zIndex: "var(--calcite-floating-ui-z-index)" })} .referenceElement=${s} open placement=top>${i ?? ""}</calcite-tooltip>`), document.body.appendChild(this.tooltip);
|
|
68
74
|
}, this.destroyTooltip = () => {
|
|
69
75
|
w(this.tooltip);
|
|
70
76
|
}, this.onModelConfigChange = () => {
|
|
71
|
-
this.requestUpdate();
|
|
77
|
+
this.selectedSeriesId !== void 0 && this.selectedSeriesIndex === -1 ? this.seriesPopoverClose() : this.seriesPopover && (this.seriesPopover.selectedSeriesIndex = this.selectedSeriesIndex), this.requestUpdate();
|
|
72
78
|
}, this.meanLinesBoxColorIsSelected = !1, this.seriesOrderResetCounter = 0, this.configSeriesOpen = !1, this.activeColorMatch = !1, this.popoverPlacement = "leading";
|
|
73
79
|
}
|
|
74
80
|
static {
|
|
75
|
-
this.properties = {
|
|
81
|
+
this.properties = { selectedSeriesId: 16, meanLinesBoxColorIsSelected: 16, seriesOrderResetCounter: 16, messageOverrides: 0, model: 0, configSeriesOpen: 5, activeColorMatch: 5, popoverPlacement: 1 };
|
|
76
82
|
}
|
|
77
83
|
static {
|
|
78
84
|
this.styles = T;
|
|
79
85
|
}
|
|
86
|
+
get selectedSeriesIndex() {
|
|
87
|
+
return this.selectedSeriesId === void 0 ? void 0 : this.model.getSeriesIndex(this.selectedSeriesId);
|
|
88
|
+
}
|
|
80
89
|
load() {
|
|
81
90
|
this.modelChange(this.model), this.onModelConfigChange();
|
|
82
91
|
}
|
|
83
92
|
willUpdate(e) {
|
|
84
|
-
e.has("model") && this.modelChange(this.model, e.get("model")), e.has("
|
|
93
|
+
e.has("model") && this.modelChange(this.model, e.get("model")), (e.has("selectedSeriesId") || e.has("meanLinesBoxColorIsSelected")) && this.selectedSeriesChange();
|
|
85
94
|
}
|
|
86
95
|
disconnectedCallback() {
|
|
87
96
|
super.disconnectedCallback(), this.removeSeriesPopover(), this.model.removeEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange);
|
|
@@ -89,26 +98,23 @@ class N extends O {
|
|
|
89
98
|
modelChange(e, i) {
|
|
90
99
|
i?.removeEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange), e.addEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange);
|
|
91
100
|
}
|
|
92
|
-
|
|
93
|
-
this.selectedSeriesIndex !== void 0 && this.configSeriesOpen ? this.setupSeriesPopover() : this.removeSeriesPopover();
|
|
94
|
-
}
|
|
95
|
-
meanLinesBoxColorIsSelectedChange() {
|
|
96
|
-
this.meanLinesBoxColorIsSelected && this.configSeriesOpen ? this.setupSeriesPopover() : this.removeSeriesPopover();
|
|
101
|
+
selectedSeriesChange() {
|
|
102
|
+
(this.selectedSeriesIndex !== void 0 || this.meanLinesBoxColorIsSelected) && this.configSeriesOpen ? this.setupSeriesPopover() : this.removeSeriesPopover();
|
|
97
103
|
}
|
|
98
104
|
removeSeriesPopover() {
|
|
99
105
|
this.seriesPopover !== null && this.seriesPopover !== void 0 && (this.seriesPopover.open = !1, this.seriesPopover = f(this.seriesPopover));
|
|
100
106
|
}
|
|
101
107
|
buildSeriesListItems() {
|
|
102
|
-
const e = this.model.seriesLength, i = this.model.boxPlotSeriesIndexWhenMeanLinesShown,
|
|
103
|
-
return M(
|
|
104
|
-
const o = this.model.getSeriesId(
|
|
108
|
+
const e = this.model.seriesLength, i = this.model.boxPlotSeriesIndexWhenMeanLinesShown, s = Array.from({ length: e }, (t, o) => o);
|
|
109
|
+
return M(s, (t) => this.model.getSeriesId(t), (t) => {
|
|
110
|
+
const o = this.model.getSeriesId(t), c = this.model.getSeriesColor(t), v = this.model.getSeriesName(t), g = this.model.chartSubType, u = g === S.BoxPlotC1MonoField || g === S.BoxPlotC2MultiFields ? this._messages.series : o;
|
|
105
111
|
let p = "#CCCCCC", C = "minus-square";
|
|
106
112
|
if ((e > 1 || !this.activeColorMatch) && c !== void 0) {
|
|
107
113
|
C = this.model.showMeanLines === !0 ? "line-solid" : "square-f";
|
|
108
|
-
const [x, $,
|
|
109
|
-
p = `rgba(${x},${$},${
|
|
114
|
+
const [x, $, I, L] = [...c];
|
|
115
|
+
p = `rgba(${x},${$},${I},${L / 255})`;
|
|
110
116
|
}
|
|
111
|
-
return i !==
|
|
117
|
+
return i !== t ? n`<calcite-list-item .label=${v ?? o ?? ""} .description=${u} .value=${o} .selected=${this.selectedSeriesId === o} @click=${this.openSeriesPopOver}><calcite-icon slot=content-end .icon=${C} style=${h({ color: p })}></calcite-icon></calcite-list-item>` : null;
|
|
112
118
|
});
|
|
113
119
|
}
|
|
114
120
|
buildSeriesList() {
|
|
@@ -122,11 +128,11 @@ class N extends O {
|
|
|
122
128
|
}
|
|
123
129
|
renderMeanLinesBoxColorItem() {
|
|
124
130
|
let e = "#CCCCCC", i = "minus-square";
|
|
125
|
-
const
|
|
126
|
-
if (
|
|
131
|
+
const s = this.model.meanLinesBoxColor;
|
|
132
|
+
if (s !== void 0) {
|
|
127
133
|
i = "square-f";
|
|
128
|
-
const [r,
|
|
129
|
-
e = `rgba(${r},${
|
|
134
|
+
const [r, t, o, c] = [...s];
|
|
135
|
+
e = `rgba(${r},${t},${o},${c / 255})`;
|
|
130
136
|
}
|
|
131
137
|
return n`<calcite-list label class=${a(l.list)}><calcite-list-item value=box-plot-color .label=${this._messages.boxPlotColor} .selected=${this.meanLinesBoxColorIsSelected} @click=${this.openSeriesPopOver}><calcite-icon slot=content-end .icon=${i} style=${h({ color: e })}></calcite-icon></calcite-list-item></calcite-list>`;
|
|
132
138
|
}
|
|
@@ -142,7 +148,7 @@ class N extends O {
|
|
|
142
148
|
return n`${this.renderMultipleSeriesOption()}<div class=${a(l.sectionLabel)}>${this._messages.series}<calcite-button @click=${this.resetSeriesOriginal} .disabled=${!this.model.resetAvailable()} appearance=transparent icon-end=reset>${this._messages.reset}</calcite-button></div>${this.buildSeriesList()}`;
|
|
143
149
|
}
|
|
144
150
|
}
|
|
145
|
-
|
|
151
|
+
b("arcgis-charts-config-box-plot-series", N);
|
|
146
152
|
export {
|
|
147
153
|
N as ArcgisChartsConfigBoxPlotSeries
|
|
148
154
|
};
|
|
@@ -6,7 +6,7 @@ import { u as v } from "../../chunks/useT9n.js";
|
|
|
6
6
|
import { createRef as y, ref as S } from "lit/directives/ref.js";
|
|
7
7
|
import { LitElement as b, createEvent as n, safeClassMap as p } from "@arcgis/lumina";
|
|
8
8
|
import { e as u } from "../../chunks/popover-ui-utils.js";
|
|
9
|
-
import { r as m } from "../../chunks/
|
|
9
|
+
import { r as m } from "../../chunks/index2.js";
|
|
10
10
|
import { b as $ } from "../../chunks/rest-js-object-literals.js";
|
|
11
11
|
const d = {
|
|
12
12
|
panelChildrenContainer: "panel-children-container"
|
|
@@ -32,7 +32,7 @@ class b extends m {
|
|
|
32
32
|
const [e, t, r] = this.rgba;
|
|
33
33
|
s = { r: e, g: t, b: r };
|
|
34
34
|
}
|
|
35
|
-
return c`<calcite-label>${this.heading ?? this._messages.color}</calcite-label><calcite-color-picker .value=${g(s)} @
|
|
35
|
+
return c`<calcite-label>${this.heading ?? this._messages.color}</calcite-label><calcite-color-picker .value=${g(s)} @calciteColorPickerChange=${this.onColorSelect} .messageOverrides=${{
|
|
36
36
|
g: this._messages.g,
|
|
37
37
|
green: this._messages.green,
|
|
38
38
|
h: this._messages.h,
|