@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,14 +4,13 @@ import { keyed as y } from "lit/directives/keyed.js";
|
|
|
4
4
|
import { debounce as f } from "es-toolkit/compat";
|
|
5
5
|
import { d, e as a, H as s } from "../../chunks/interfaces.js";
|
|
6
6
|
import { i as k, m as C, U as S, b as $, n as L, s as V, D as T } from "../../chunks/chart-ui-utils.js";
|
|
7
|
-
import { d as
|
|
7
|
+
import { d as x, a as P } from "../../chunks/store.js";
|
|
8
8
|
import { u as B } from "../../chunks/useT9n.js";
|
|
9
9
|
import { css as N, html as c } from "lit";
|
|
10
10
|
import { createRef as u, ref as v } from "lit/directives/ref.js";
|
|
11
11
|
import { LitElement as F, createEvent as D, renderElement as _, safeStyleMap as O, safeClassMap as o } from "@arcgis/lumina";
|
|
12
|
-
import { S as H, E as K } from "../../chunks/
|
|
13
|
-
import {
|
|
14
|
-
import { i as U } from "../../chunks/type-guards.js";
|
|
12
|
+
import { S as H, E as K } from "../../chunks/index2.js";
|
|
13
|
+
import { x as A, l as U } from "../../chunks/index.js";
|
|
15
14
|
import { r as z } from "../../chunks/popover-ui-utils.js";
|
|
16
15
|
import { b as R } from "../../chunks/rest-js-object-literals.js";
|
|
17
16
|
import { s as b } from "../../chunks/chart-object-literals.js";
|
|
@@ -48,7 +47,7 @@ class q extends F {
|
|
|
48
47
|
try {
|
|
49
48
|
if (e.detail !== null && e.detail !== void 0) {
|
|
50
49
|
const { contentKind: t } = e.detail, { value: i } = e.detail;
|
|
51
|
-
switch (P
|
|
50
|
+
switch (x(P), t) {
|
|
52
51
|
case d.transformation:
|
|
53
52
|
this.model.dataTransformationType = i ?? b.None;
|
|
54
53
|
break;
|
|
@@ -10,9 +10,8 @@ import { LitElement as b, createEvent as p, safeClassMap as o } from "@arcgis/lu
|
|
|
10
10
|
import { b as $ } from "../../chunks/rest-js-object-literals.js";
|
|
11
11
|
import { s } from "../../chunks/chart-object-literals.js";
|
|
12
12
|
import { e as P } from "../../chunks/popover-ui-utils.js";
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import { r as T } from "../../chunks/index3.js";
|
|
13
|
+
import { b4 as S, x as k } from "../../chunks/index.js";
|
|
14
|
+
import { r as T } from "../../chunks/index2.js";
|
|
16
15
|
const l = {
|
|
17
16
|
symbolPropertyPopover: "symbol-property-popover",
|
|
18
17
|
colorPicker: "color-picker",
|
|
@@ -20,8 +19,8 @@ const l = {
|
|
|
20
19
|
popoverPickList: "popover-pick-list",
|
|
21
20
|
fieldSelectPanel: "field-select-panel",
|
|
22
21
|
transformationPanel: "transformation-panel"
|
|
23
|
-
},
|
|
24
|
-
class
|
|
22
|
+
}, x = v`.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)}.right{display:block;text-align:right}.inline{display:inline-flex;flex-wrap:wrap}.symbol-property-popover{min-width:300px}.symbol-property-popover .inline{align-items:center;margin-bottom:1rem}.symbol-property-popover .inline calcite-action{margin-left:.2rem}.symbol-property-popover .inline input,.symbol-property-popover .inline select{width:4rem;margin-left:.5rem;height:24px}.symbol-property-popover .inline select{width:6rem}.symbol-property-popover .inline{padding:0 1rem}.symbol-property-popover .color calcite-icon{margin-left:.5rem}.symbol-property-popover .color .color-picker{padding:1rem}.header{margin:0;font-weight:bolder}.popover-pick-list{font-size:small;max-width:var(--arcgis-charts-config-popover-pick-list-max-width)}.field-select-panel{max-height:60vh}.transformation-panel{width:calc(var(--calcite-panel-width-multiplier) * 12vw);max-width:calc(var(--calcite-panel-width-multiplier) * 300px);min-width:calc(var(--calcite-panel-width-multiplier) * 150px);min-width:calc(var(--calcite-panel-width-multiplier) * 170px)}`;
|
|
23
|
+
class w extends b {
|
|
25
24
|
constructor() {
|
|
26
25
|
super(...arguments), this._messages = u(), this.picklist = m(), this.popoverElement = m(), this.layerFieldsInfo = [], this.open = !1, this.arcgisChartsConfigHistogramPopoverChange = p(), this.arcgisChartsConfigHistogramPopoverSymbolChange = p(), this.arcgisChartsConfigPopoverClose = p();
|
|
27
26
|
}
|
|
@@ -29,7 +28,7 @@ class x extends b {
|
|
|
29
28
|
this.properties = { messageOverrides: 0, layerFieldsInfo: 0, headingTitle: 1, selectedNumericField: 1, selectedTransformationType: 1, selectedOverlaySymbol: 0, selectedBinColor: 0, referenceElement: 0, contentKind: 1, placement: 1, open: 5, selectedOverlaySymbolType: 1 };
|
|
30
29
|
}
|
|
31
30
|
static {
|
|
32
|
-
this.styles =
|
|
31
|
+
this.styles = x;
|
|
33
32
|
}
|
|
34
33
|
async reposition() {
|
|
35
34
|
await this.popoverElement.value?.reposition();
|
|
@@ -44,7 +43,7 @@ class x extends b {
|
|
|
44
43
|
if (e === i.numericFields)
|
|
45
44
|
for (let r = 0; r < this.layerFieldsInfo?.length; r += 1) {
|
|
46
45
|
const a = this.layerFieldsInfo[r];
|
|
47
|
-
|
|
46
|
+
S(a) && n.push(c(a.name, t`<calcite-list-item .label=${k(this.layerFieldsInfo, a.name)} .value=${a.name} .selected=${this.selectedNumericField === a.name}></calcite-list-item>`));
|
|
48
47
|
}
|
|
49
48
|
else {
|
|
50
49
|
const r = [
|
|
@@ -110,7 +109,7 @@ class x extends b {
|
|
|
110
109
|
}
|
|
111
110
|
}
|
|
112
111
|
}
|
|
113
|
-
f("arcgis-charts-config-histogram-popover",
|
|
112
|
+
f("arcgis-charts-config-histogram-popover", w);
|
|
114
113
|
export {
|
|
115
|
-
|
|
114
|
+
w as ArcgisChartsConfigHistogramPopover
|
|
116
115
|
};
|
|
@@ -11,7 +11,7 @@ class a extends e {
|
|
|
11
11
|
this.properties = { invalidInputMessage: 1, isInvalid: 5 };
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return this.isInvalid ? s`<calcite-input-message .status=${t.INVALID} icon=
|
|
14
|
+
return this.isInvalid ? s`<calcite-input-message .status=${t.INVALID} icon=exclamation-mark-triangle .hidden=${!this.isInvalid}>${this.invalidInputMessage}</calcite-input-message>` : null;
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
i("arcgis-charts-config-invalid-input-message", a);
|
|
@@ -4,7 +4,7 @@ import { isEqual as a } from "es-toolkit/compat";
|
|
|
4
4
|
import { LitElement as n, createEvent as d } from "@arcgis/lumina";
|
|
5
5
|
import { css as h, html as o } from "lit";
|
|
6
6
|
import { C as s } from "../../chunks/interfaces.js";
|
|
7
|
-
import {
|
|
7
|
+
import { ca as c, cb as m, v as f, b4 as g, b5 as p } from "../../chunks/index.js";
|
|
8
8
|
const u = h`: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%}`;
|
|
9
9
|
class C extends n {
|
|
10
10
|
constructor() {
|
|
@@ -1,20 +1,19 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
3
|
-
import { keyed as
|
|
2
|
+
import { c as A } from "../../chunks/runtime.js";
|
|
3
|
+
import { keyed as x } from "lit/directives/keyed.js";
|
|
4
4
|
import { LitElement as I, createEvent as u, renderElement as B, safeClassMap as s } from "@arcgis/lumina";
|
|
5
5
|
import { css as k, html as r } from "lit";
|
|
6
|
-
import { createRef as
|
|
6
|
+
import { createRef as h, ref as m } from "lit/directives/ref.js";
|
|
7
7
|
import { u as f } from "../../chunks/useT9n.js";
|
|
8
8
|
import { L as l } from "../../chunks/interfaces.js";
|
|
9
9
|
import { d as p, a as c, r as C, b as T } from "../../chunks/store.js";
|
|
10
10
|
import { isEqual as S } from "es-toolkit/compat";
|
|
11
11
|
import { x as E } from "../../chunks/data.js";
|
|
12
12
|
import { d, e as y, h as g } from "../../chunks/chart-object-literals.js";
|
|
13
|
-
import { J as L, K as P } from "../../chunks/
|
|
14
|
-
import { b,
|
|
15
|
-
import {
|
|
16
|
-
|
|
17
|
-
const D = k`.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);margin-top:var(--arcgis-charts-top-section-margin)}.label,.disabled-label{display:flex;margin-left:.5rem;margin-right:.5rem;margin-bottom:.5rem;justify-content:space-between}.time-binning-header{display:flex;font-weight:700;margin-left:.5rem;margin-right:.5rem;justify-content:space-between}.field-list{max-height:50vh;overflow-y:auto}.disabled-label{pointer-events:none}.fab{display:flex;margin-left:.5rem;margin-right:.5rem;margin-bottom:1.5rem;justify-content:center}.link-container{display:flex;justify-content:flex-end}`, n = {
|
|
13
|
+
import { J as L, K as P } from "../../chunks/index2.js";
|
|
14
|
+
import { u as $, x as b, b5 as w, c8 as _ } from "../../chunks/index.js";
|
|
15
|
+
import { r as D } from "../../chunks/popover-ui-utils.js";
|
|
16
|
+
const N = k`.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);margin-top:var(--arcgis-charts-top-section-margin)}.label,.disabled-label{display:flex;margin-left:.5rem;margin-right:.5rem;margin-bottom:.5rem;justify-content:space-between}.time-binning-header{display:flex;font-weight:700;margin-left:.5rem;margin-right:.5rem;justify-content:space-between}.field-list{max-height:50vh;overflow-y:auto}.disabled-label{pointer-events:none}.fab{display:flex;margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor);margin-bottom:1.5rem;justify-content:center}.fab>calcite-button{--calcite-button-shadow: var(--calcite-shadow-md)}.fab span{white-space:normal;overflow-wrap:anywhere}.link-container{display:flex;justify-content:flex-end}`, n = {
|
|
18
17
|
label: "label",
|
|
19
18
|
fieldList: "field-list",
|
|
20
19
|
fab: "fab",
|
|
@@ -24,7 +23,7 @@ const D = k`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.a
|
|
|
24
23
|
};
|
|
25
24
|
class U extends I {
|
|
26
25
|
constructor() {
|
|
27
|
-
super(...arguments), this._messages = f(), this.commonStrings = f({ name: "common", blocking: !0 }), this.lineChartPopover = null, this.aggregationElement =
|
|
26
|
+
super(...arguments), this._messages = f(), this.commonStrings = f({ name: "common", blocking: !0 }), this.lineChartPopover = null, this.aggregationElement = h(), this.xAxisFieldElement = h(), this.numericFieldsElement = h(), this.splitByFieldElement = h(), this.intervalAlignmentElement = h(), this.intervalElement = h(), this.onLineChartDataChange = (e) => {
|
|
28
27
|
try {
|
|
29
28
|
if (e.detail !== null && e.detail?.value !== void 0) {
|
|
30
29
|
const { contentKind: t } = e.detail, i = [...e.detail.value];
|
|
@@ -72,7 +71,7 @@ class U extends I {
|
|
|
72
71
|
this.properties = { aggregationLabel: 16, timeAggregationLabel: 16, disableSplitBy: 16, messageOverrides: 0, model: 0, resetTimeInterval: 0, layerFieldsInfo: 0 };
|
|
73
72
|
}
|
|
74
73
|
static {
|
|
75
|
-
this.styles =
|
|
74
|
+
this.styles = N;
|
|
76
75
|
}
|
|
77
76
|
load() {
|
|
78
77
|
this.modelChange(this.model), this.onModelConfigChange();
|
|
@@ -89,7 +88,7 @@ class U extends I {
|
|
|
89
88
|
t?.removeEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange), e?.addEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange);
|
|
90
89
|
}
|
|
91
90
|
buildNumericFieldItem(e) {
|
|
92
|
-
return
|
|
91
|
+
return x(e, r`<calcite-list-item .label=${b(this.layerFieldsInfo, e)} .value=${e} closable @calciteListItemClose=${this.onRemoveNumericField}></calcite-list-item>`);
|
|
93
92
|
}
|
|
94
93
|
resetTimeIntervalOriginal(e) {
|
|
95
94
|
this.popoverClose(e), this.model.resetTimeInterval !== void 0 && (this.model.resetTimeInterval(), this.arcgisChartsConfigResetTimeInterval.emit());
|
|
@@ -136,7 +135,7 @@ class U extends I {
|
|
|
136
135
|
}
|
|
137
136
|
shouldShowTimeBinning() {
|
|
138
137
|
const e = this.layerFieldsInfo.find((i) => i.name === this.model.xAxisField), t = this.model.aggregationType !== d.NoAggregation;
|
|
139
|
-
return e !== void 0 &&
|
|
138
|
+
return e !== void 0 && w(e) && t;
|
|
140
139
|
}
|
|
141
140
|
setupPopover(e) {
|
|
142
141
|
e.stopImmediatePropagation(), this.removeLineChartDataPopover();
|
|
@@ -168,48 +167,48 @@ class U extends I {
|
|
|
168
167
|
this.lineChartPopover = B(r`<arcgis-charts-config-line-chart-popover .headingTitle=${a} .referenceElement=${i} open .contentKind=${this.contentKind} .layerFieldsInfo=${this.layerFieldsInfo} .selectedContent=${o} @arcgisChartsConfigLineChartDataPopoverChange=${this.onLineChartDataChange} @arcgisChartsConfigLineChartPopoverClose=${this.popoverClose}></arcgis-charts-config-line-chart-popover>`), !document.body.contains(this.lineChartPopover) && this.lineChartPopover !== null && document.body.appendChild(this.lineChartPopover);
|
|
169
168
|
}
|
|
170
169
|
removeLineChartDataPopover() {
|
|
171
|
-
this.lineChartPopover !== null && (this.lineChartPopover.open = !1, this.lineChartPopover =
|
|
170
|
+
this.lineChartPopover !== null && (this.lineChartPopover.open = !1, this.lineChartPopover = D(this.lineChartPopover));
|
|
172
171
|
}
|
|
173
172
|
renderAggregation() {
|
|
174
|
-
return r`<arcgis-charts-config-field-picker .label=${this.model.aggregationType === d.NoAggregation ? this._messages.noAggregation : this.aggregationLabel} @click=${this.onAggregationSelect} ${
|
|
173
|
+
return r`<arcgis-charts-config-field-picker .label=${this.model.aggregationType === d.NoAggregation ? this._messages.noAggregation : this.aggregationLabel} @click=${this.onAggregationSelect} ${m(this.aggregationElement)}></arcgis-charts-config-field-picker>`;
|
|
175
174
|
}
|
|
176
175
|
renderXAxisField() {
|
|
177
176
|
const e = this.getCorrectedXAxisValue();
|
|
178
|
-
return r`<arcgis-charts-config-field-picker .label=${e} @click=${this.onXAxisFieldSelect} ${
|
|
177
|
+
return r`<arcgis-charts-config-field-picker .label=${e} @click=${this.onXAxisFieldSelect} ${m(this.xAxisFieldElement)}></arcgis-charts-config-field-picker>`;
|
|
179
178
|
}
|
|
180
179
|
renderSplitBy() {
|
|
181
180
|
const e = this.getCorrectedSplitByValue();
|
|
182
|
-
return r`<arcgis-charts-config-field-picker .label=${e} .disabled=${this.disableSplitBy} @click=${this.onSplitBySelect} ${
|
|
181
|
+
return r`<arcgis-charts-config-field-picker .label=${e} .disabled=${this.disableSplitBy} @click=${this.onSplitBySelect} ${m(this.splitByFieldElement)}></arcgis-charts-config-field-picker>`;
|
|
183
182
|
}
|
|
184
183
|
renderNumericFields(e) {
|
|
185
184
|
const t = $(this.model.layer).idField, i = [];
|
|
186
185
|
for (const a of e)
|
|
187
186
|
a !== t && i.push(this.buildNumericFieldItem(a));
|
|
188
|
-
return r`<calcite-list label class=${s(n.fieldList)} ${
|
|
187
|
+
return r`<calcite-list label class=${s(n.fieldList)} ${m(this.numericFieldsElement)}>${i}</calcite-list>`;
|
|
189
188
|
}
|
|
190
189
|
renderInterval() {
|
|
191
|
-
const e = (this.model.temporalBinningSize ?? 0) <= 0, t = this.model.temporalBinningSize ?? "", i =
|
|
190
|
+
const e = (this.model.temporalBinningSize ?? 0) <= 0, t = this.model.temporalBinningSize ?? "", i = _(this.model.temporalBinningUnit ?? y.Second, this._messages) ?? "", a = T(c), o = {
|
|
192
191
|
size: this.model.temporalBinningSize,
|
|
193
192
|
unit: this.model.temporalBinningUnit
|
|
194
193
|
}, v = S(o, a);
|
|
195
194
|
return [
|
|
196
195
|
r`<calcite-list label selection-appearance=border><calcite-list-item .value=${e ? "" : `${t} ${i}`} .label=${e ? "" : `${t} ${i}`} @click=${e ? () => {
|
|
197
|
-
} : this.onIntervalSelect} ${
|
|
196
|
+
} : this.onIntervalSelect} ${m(this.intervalElement)}><calcite-icon slot=content-end icon=pencil></calcite-icon></calcite-list-item></calcite-list>`,
|
|
198
197
|
r`<div class=${s(n.linkContainer)}><calcite-button .disabled=${v} appearance=transparent scale=s icon-end=reset @click=${this.resetTimeIntervalOriginal}>${this._messages.reset}</calcite-button></div>`
|
|
199
198
|
];
|
|
200
199
|
}
|
|
201
200
|
renderIntervalAlignment() {
|
|
202
|
-
return r`<arcgis-charts-config-field-picker .label=${this.timeAggregationLabel} @click=${this.onIntervalAlignmentSelect} ${
|
|
201
|
+
return r`<arcgis-charts-config-field-picker .label=${this.timeAggregationLabel} @click=${this.onIntervalAlignmentSelect} ${m(this.intervalAlignmentElement)}></arcgis-charts-config-field-picker>`;
|
|
203
202
|
}
|
|
204
203
|
renderEmptyBins() {
|
|
205
204
|
return r`<calcite-radio-button-group name=empty-bins layout=vertical @calciteRadioButtonGroupChange=${this.onNullPolicyChange}><calcite-label layout=inline><calcite-radio-button .value=${g.Zero} .checked=${this.model.nullPolicy === g.Zero}></calcite-radio-button>${this._messages.treatAsZero}</calcite-label><calcite-label layout=inline><calcite-radio-button .value=${g.Interpolate} .checked=${this.model.nullPolicy === g.Interpolate}></calcite-radio-button>${this._messages.connectLine}</calcite-label><calcite-label layout=inline><calcite-radio-button .value=${g.Null} .checked=${this.model.nullPolicy === g.Null}></calcite-radio-button>${this._messages.breakLine}</calcite-label></calcite-radio-button-group>`;
|
|
206
205
|
}
|
|
207
206
|
render() {
|
|
208
207
|
const e = this.renderAggregation(), t = this.renderXAxisField(), i = this.renderSplitBy(), a = this.renderNumericFields([...this.model.numericFields]), o = this.renderInterval(), v = this.renderIntervalAlignment(), F = this.renderEmptyBins();
|
|
209
|
-
return r`<calcite-label class=${s(n.label)}>${this._messages.xAxisField}${t}</calcite-label><calcite-label class=${s(n.label)}>${this._messages.aggregation}${e}</calcite-label><calcite-label class=${s(n.label)}>${this._messages.numericFields}${a}</calcite-label><div class=${s(n.fab)}><calcite-
|
|
208
|
+
return r`<calcite-label class=${s(n.label)}>${this._messages.xAxisField}${t}</calcite-label><calcite-label class=${s(n.label)}>${this._messages.aggregation}${e}</calcite-label><calcite-label class=${s(n.label)}>${this._messages.numericFields}${a}</calcite-label><div class=${s(n.fab)}><calcite-button appearance=outline-fill kind=neutral scale=m width=auto round icon-start=plus @click=${this.onAddNumericFields}><span>${this._messages.selectNumericFields}</span></calcite-button></div><calcite-label class=${s(n.label)}><span class=${s(this.disableSplitBy ? n.dimText : "")}>${this._messages.splitBy}</span>${i}</calcite-label><div .hidden=${!this.shouldShowTimeBinning()}><h3 class=${s(n.timeBinningHeader)}>${this._messages.timeBinningOptions}</h3><calcite-label class=${s(n.label)}>${this._messages.interval}${o}</calcite-label><calcite-label class=${s(n.label)}>${this._messages.intervalAlignment}${v}</calcite-label><calcite-label class=${s(n.label)} layout=inline-space-between>${this._messages.trimIncompleteInterval}<calcite-switch .checked=${this.model.trimIncompleteTimeInterval} @calciteSwitchChange=${this.onTrimIncompleteIntervalChange}></calcite-switch></calcite-label>${this.model.aggregationType !== d.Count ? r`<calcite-label class=${s(n.label)}>${this._messages.emptyBins}${F}</calcite-label>` : null}</div><calcite-label class=${s(n.label)} layout=inline-space-between>${this._messages.showDataLabels}<calcite-switch .checked=${this.model.dataLabelsVisibility} @calciteSwitchChange=${this.onShowDataLabelsChange}></calcite-switch></calcite-label>`;
|
|
210
209
|
}
|
|
211
210
|
}
|
|
212
|
-
|
|
211
|
+
A("arcgis-charts-config-line-chart-data", U);
|
|
213
212
|
export {
|
|
214
213
|
U as ArcgisChartsConfigLineChartData
|
|
215
214
|
};
|
|
@@ -7,6 +7,5 @@ import "@esri/calcite-components/components/calcite-button";
|
|
|
7
7
|
import "@esri/calcite-components/components/calcite-radio-button-group";
|
|
8
8
|
import "@esri/calcite-components/components/calcite-label";
|
|
9
9
|
import "@esri/calcite-components/components/calcite-radio-button";
|
|
10
|
-
import "@esri/calcite-components/components/calcite-fab";
|
|
11
10
|
import "@esri/calcite-components/components/calcite-switch";
|
|
12
11
|
export * from "./customElement.js";
|
|
@@ -8,13 +8,12 @@ import { createRef as h, ref as p } from "lit/directives/ref.js";
|
|
|
8
8
|
import { isEqual as b } from "es-toolkit/compat";
|
|
9
9
|
import { u as C } from "../../chunks/useT9n.js";
|
|
10
10
|
import { L as a } from "../../chunks/interfaces.js";
|
|
11
|
-
import { c as $, b as F, e as d, f as I, s as
|
|
12
|
-
import { d as
|
|
11
|
+
import { c as $, b as F, e as d, f as I, s as x } from "../../chunks/chart-ui-utils.js";
|
|
12
|
+
import { d as T } from "../../chunks/rest-js-object-literals.js";
|
|
13
13
|
import { b as g, e as c } from "../../chunks/chart-object-literals.js";
|
|
14
14
|
import { e as A, p as D } from "../../chunks/popover-ui-utils.js";
|
|
15
|
-
import { J as E, K as S } from "../../chunks/
|
|
16
|
-
import {
|
|
17
|
-
import { bL as N, aQ as L, aR as K, a_ as B } from "../../chunks/index.js";
|
|
15
|
+
import { J as E, K as S } from "../../chunks/index2.js";
|
|
16
|
+
import { x as z, c9 as w, b4 as L, b5 as N, bj as K, c8 as B } from "../../chunks/index.js";
|
|
18
17
|
const _ = 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)}.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-y-axis{transform:rotate(90deg)}calcite-panel{max-height:60vh}calcite-panel .size-section{width:19rem;margin:1rem 0;display:flex;flex-wrap:wrap;justify-content:space-evenly}calcite-panel .size-section calcite-label{width:8rem;margin-bottom:.25rem}calcite-panel .apply-button{width:17rem}`, r = {
|
|
19
18
|
name: "line-chart-data-popover",
|
|
20
19
|
header: "header",
|
|
@@ -74,7 +73,7 @@ class H extends k {
|
|
|
74
73
|
case a.xAxisField: {
|
|
75
74
|
for (let l = 0; l < t; l += 1) {
|
|
76
75
|
const i = this.layerFieldsInfo?.[l];
|
|
77
|
-
i && (L(i) ||
|
|
76
|
+
i && (L(i) || N(i) || K(i)) && s.push(this.buildPickListItem(i));
|
|
78
77
|
}
|
|
79
78
|
break;
|
|
80
79
|
}
|
|
@@ -83,7 +82,7 @@ class H extends k {
|
|
|
83
82
|
s.push(l);
|
|
84
83
|
for (let i = 0; i < t; i += 1) {
|
|
85
84
|
const m = this.layerFieldsInfo?.[i];
|
|
86
|
-
m && (
|
|
85
|
+
m && (w(m) || m.type === T.String) && s.push(this.buildPickListItem(m));
|
|
87
86
|
}
|
|
88
87
|
break;
|
|
89
88
|
}
|
|
@@ -152,7 +151,7 @@ class H extends k {
|
|
|
152
151
|
c.Month,
|
|
153
152
|
c.Year
|
|
154
153
|
];
|
|
155
|
-
return n`<div><div class=${o(r.sizeSection)}><calcite-label scale=m>${this._messages.intervalSize}<calcite-input type=number scale=m min=1 step=any .value=${
|
|
154
|
+
return n`<div><div class=${o(r.sizeSection)}><calcite-label scale=m>${this._messages.intervalSize}<calcite-input type=number scale=m min=1 step=any .value=${x(e?.size, 1)} ${p(this.intervalSizeElement)}></calcite-input></calcite-label><calcite-label scale=m>${this._messages.intervalType}<calcite-select .label=${this._messages.intervalType ?? ""} ${p(this.intervalTypeElement)}>${t.map((s) => n`<calcite-option .value=${s} .label=${B(s, this._messages)} .selected=${e?.unit === s}></calcite-option>`)}</calcite-select></calcite-label><calcite-button class=${o(r.applyButton)} appearance=outline @click=${this.intervalChange}>${this._messages.apply}</calcite-button></div></div>`;
|
|
156
155
|
}
|
|
157
156
|
renderPopoverInfo() {
|
|
158
157
|
let e;
|
|
@@ -1,54 +1,59 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
2
|
import { c as f } from "../../chunks/runtime.js";
|
|
3
3
|
import { keyed as u } from "lit/directives/keyed.js";
|
|
4
|
-
import { LitElement as I, renderElement as
|
|
5
|
-
import { css as
|
|
6
|
-
import { repeat as
|
|
7
|
-
import { u as
|
|
4
|
+
import { LitElement as I, renderElement as P, safeStyleMap as $ } from "@arcgis/lumina";
|
|
5
|
+
import { css as L, html as o } from "lit";
|
|
6
|
+
import { repeat as y } from "lit/directives/repeat.js";
|
|
7
|
+
import { u as x } from "../../chunks/useT9n.js";
|
|
8
8
|
import { j as b } from "../../chunks/chart-ui-utils.js";
|
|
9
|
-
import {
|
|
10
|
-
import { r as
|
|
11
|
-
const O =
|
|
9
|
+
import { y as M } from "../../chunks/index.js";
|
|
10
|
+
import { r as a } from "../../chunks/popover-ui-utils.js";
|
|
11
|
+
const O = L`:host{display:flex;flex-direction:column;width:var(--arcgis-charts-config-calcite-block-default-width);margin:var(--arcgis-charts-config-calcite-block-default-margin)}`;
|
|
12
12
|
class k extends I {
|
|
13
13
|
constructor() {
|
|
14
|
-
super(...arguments), this._messages =
|
|
14
|
+
super(...arguments), this._messages = x(), this.seriesPopover = null, this.open = !1, this.seriesNameChange = (e) => {
|
|
15
15
|
if (e.detail !== null || e.detail !== void 0) {
|
|
16
|
-
const s = e.detail?.name;
|
|
17
|
-
this.model.setSeriesName(s,
|
|
16
|
+
const s = e.detail?.name, i = this.selectedSeriesIndex;
|
|
17
|
+
i !== void 0 && i >= 0 && this.model.setSeriesName(s, i);
|
|
18
18
|
}
|
|
19
19
|
}, this.seriesColorChange = (e) => {
|
|
20
20
|
if (e.detail !== null && e.detail !== void 0) {
|
|
21
21
|
const { color: s } = e.detail;
|
|
22
|
-
this.model.colorMatch = !1
|
|
22
|
+
this.model.colorMatch = !1;
|
|
23
|
+
const i = this.selectedSeriesIndex;
|
|
24
|
+
s !== void 0 && i !== void 0 && i >= 0 && (this.model.setSeriesColor(s, i), this.model.setSeriesMarkerColor(s, i));
|
|
23
25
|
}
|
|
24
26
|
}, this.seriesLineStyleChange = (e) => {
|
|
25
27
|
if (e.detail !== null && e.detail !== void 0) {
|
|
26
|
-
const { lineStyle: s } = e.detail;
|
|
27
|
-
s !== void 0 && this.model.setSeriesLineStyle(s,
|
|
28
|
+
const { lineStyle: s } = e.detail, i = this.selectedSeriesIndex;
|
|
29
|
+
s !== void 0 && i !== void 0 && i >= 0 && this.model.setSeriesLineStyle(s, i);
|
|
28
30
|
}
|
|
29
31
|
}, this.seriesLineWidthChange = (e) => {
|
|
30
32
|
if (e.detail !== null && e.detail !== void 0) {
|
|
31
|
-
const { lineWidth: s } = e.detail;
|
|
32
|
-
s !== void 0 && (this.model.setSeriesLineWidth(s,
|
|
33
|
+
const { lineWidth: s } = e.detail, i = this.selectedSeriesIndex;
|
|
34
|
+
s !== void 0 && i !== void 0 && i >= 0 && (this.model.setSeriesLineWidth(s, i), this.model.setSeriesMarkerSize(s * 2, i));
|
|
33
35
|
}
|
|
34
36
|
}, this.seriesPopoverClose = (e) => {
|
|
35
37
|
const { selectedSeriesIndex: s } = e.detail;
|
|
36
|
-
this.selectedSeriesIndex === s && (this.seriesPopover =
|
|
38
|
+
this.selectedSeriesIndex === s && (this.seriesPopover = a(this.seriesPopover), this.selectedSeriesId = void 0);
|
|
37
39
|
}, this.onModelConfigChange = () => {
|
|
38
|
-
this.requestUpdate();
|
|
40
|
+
this.selectedSeriesId !== void 0 && this.selectedSeriesIndex === -1 ? (this.removeSeriesPopover(), this.selectedSeriesId = void 0) : this.seriesPopover && (this.seriesPopover.selectedSeriesIndex = this.selectedSeriesIndex), this.requestUpdate();
|
|
39
41
|
}, this.seriesOrderResetCounter = 0, this.activeColorMatch = !1, this.popoverPlacement = "leading";
|
|
40
42
|
}
|
|
41
43
|
static {
|
|
42
|
-
this.properties = {
|
|
44
|
+
this.properties = { selectedSeriesId: 16, seriesOrderResetCounter: 16, messageOverrides: 0, model: 0, activeColorMatch: 5, popoverPlacement: 1 };
|
|
43
45
|
}
|
|
44
46
|
static {
|
|
45
47
|
this.styles = O;
|
|
46
48
|
}
|
|
49
|
+
get selectedSeriesIndex() {
|
|
50
|
+
return this.selectedSeriesId === void 0 ? void 0 : this.model.getSeriesIndex(this.selectedSeriesId);
|
|
51
|
+
}
|
|
47
52
|
load() {
|
|
48
53
|
this.modelChange(this.model), this.onModelConfigChange();
|
|
49
54
|
}
|
|
50
55
|
willUpdate(e) {
|
|
51
|
-
e.has("model") && this.modelChange(this.model, e.get("model")), e.has("
|
|
56
|
+
e.has("model") && this.modelChange(this.model, e.get("model")), e.has("selectedSeriesId") && this.selectedSeriesChange();
|
|
52
57
|
}
|
|
53
58
|
disconnectedCallback() {
|
|
54
59
|
super.disconnectedCallback(), this.removeSeriesPopover(), this.model.removeEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange);
|
|
@@ -56,41 +61,41 @@ class k extends I {
|
|
|
56
61
|
modelChange(e, s) {
|
|
57
62
|
s?.removeEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange), e?.addEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange);
|
|
58
63
|
}
|
|
59
|
-
|
|
60
|
-
this.selectedSeriesIndex !== void 0 && (this.seriesPopover =
|
|
64
|
+
selectedSeriesChange() {
|
|
65
|
+
this.selectedSeriesIndex !== void 0 && (this.seriesPopover = P(o`<arcgis-charts-config-line-chart-series-popover .referenceElement=${this.el} .selectedName=${this.model.getSeriesName(this.selectedSeriesIndex)} .selectedColor=${this.model.getSeriesColor(this.selectedSeriesIndex)} .selectedLineStyle=${this.model.getSeriesLineStyle(this.selectedSeriesIndex)} .selectedLineWidth=${this.model.getSeriesLineWidth(this.selectedSeriesIndex)} .placement=${this.popoverPlacement} .open=${this.open} .selectedSeriesIndex=${this.selectedSeriesIndex} @arcgisChartsConfigSeriesPopoverNameChange=${this.seriesNameChange} @arcgisChartsConfigSeriesPopoverColorChange=${this.seriesColorChange} @arcgisChartsConfigSeriesPopoverLineStyleChange=${this.seriesLineStyleChange} @arcgisChartsConfigSeriesPopoverLineWidthChange=${this.seriesLineWidthChange} @arcgisChartsConfigPopoverClose=${this.seriesPopoverClose}></arcgis-charts-config-line-chart-series-popover>`), this.seriesPopover && !document.body.contains(this.seriesPopover) && document.body.appendChild(this.seriesPopover));
|
|
61
66
|
}
|
|
62
67
|
removeSeriesPopover() {
|
|
63
|
-
this.seriesPopover !== void 0 && this.seriesPopover !== null && (this.seriesPopover.open = !1, this.seriesPopover =
|
|
68
|
+
this.seriesPopover !== void 0 && this.seriesPopover !== null && (this.seriesPopover.open = !1, this.seriesPopover = a(this.seriesPopover));
|
|
64
69
|
}
|
|
65
70
|
buildSeriesListItems() {
|
|
66
|
-
const e = this.model.seriesLength, s = Array.from({ length: e }, (
|
|
67
|
-
return
|
|
68
|
-
const r = this.model.getSeriesId(
|
|
69
|
-
let n = "#CCCCCC",
|
|
71
|
+
const e = this.model.seriesLength, s = Array.from({ length: e }, (t, r) => r);
|
|
72
|
+
return y(s, (t) => this.model.getSeriesId(t), (t) => {
|
|
73
|
+
const r = this.model.getSeriesId(t), l = this.model.getSeriesColor(t), h = this.model.getSeriesName(t), c = this.model.chartSubType === M.BarAndLineFromFields ? this._messages.series : r, m = this.model.getSeriesLineStyle(t), g = b(m);
|
|
74
|
+
let n = "#CCCCCC", d = "minus-circle";
|
|
70
75
|
if ((e > 1 || !this.activeColorMatch) && l !== void 0) {
|
|
71
|
-
|
|
72
|
-
const [
|
|
73
|
-
n = `rgba(${
|
|
76
|
+
d = `line-${g}`;
|
|
77
|
+
const [p, C, S, v] = [...l];
|
|
78
|
+
n = `rgba(${p},${C},${S},${v / 255})`;
|
|
74
79
|
}
|
|
75
|
-
return o`<calcite-list-item .label=${h ?? r ?? ""} .description=${c} .value=${r} .selected=${this.
|
|
80
|
+
return o`<calcite-list-item .label=${h ?? r ?? ""} .description=${c} .value=${r} .selected=${this.selectedSeriesId === r} @click=${this.openSeriesPopOver}><calcite-icon slot=content-end .icon=${d} style=${$({ color: n })}></calcite-icon></calcite-list-item>`;
|
|
76
81
|
});
|
|
77
82
|
}
|
|
78
83
|
buildSeriesList() {
|
|
79
84
|
return u(this.seriesOrderResetCounter, o`<calcite-list label drag-enabled selection-mode=single selection-appearance=border @calciteListOrderChange=${this.onCalciteListOrderChange}>${this.buildSeriesListItems()}</calcite-list>`);
|
|
80
85
|
}
|
|
81
86
|
resetSeriesOriginal() {
|
|
82
|
-
this.
|
|
87
|
+
this.selectedSeriesId = void 0, this.model.resetSeriesStyling(), this.seriesOrderResetCounter += 1;
|
|
83
88
|
}
|
|
84
89
|
onCalciteListOrderChange(e) {
|
|
85
90
|
if (e.detail !== null && e.detail !== void 0) {
|
|
86
|
-
const { newIndex: s, oldIndex:
|
|
87
|
-
this.model.moveSeries(
|
|
91
|
+
const { newIndex: s, oldIndex: i } = e.detail;
|
|
92
|
+
this.model.moveSeries(i ?? 0, s ?? i ?? 0), this.seriesOrderResetCounter += 1;
|
|
88
93
|
}
|
|
89
94
|
}
|
|
90
95
|
openSeriesPopOver(e) {
|
|
91
96
|
e.stopImmediatePropagation(), this.removeSeriesPopover();
|
|
92
|
-
const s = e.target,
|
|
93
|
-
this.open = this.
|
|
97
|
+
const s = e.target, i = s.localName === "calcite-list-item" ? s : s.parentNode;
|
|
98
|
+
this.open = this.selectedSeriesId !== i.value, this.selectedSeriesId = this.open ? i.value : void 0;
|
|
94
99
|
}
|
|
95
100
|
render() {
|
|
96
101
|
return o`<calcite-panel .heading=${this._messages.series}><calcite-button slot=header-actions-end @click=${this.resetSeriesOriginal} .disabled=${!this.model.resetAvailable()} appearance=transparent scale=s icon-end=reset>${this._messages.reset}</calcite-button>${this.buildSeriesList()}</calcite-panel>`;
|
|
@@ -6,7 +6,7 @@ import { u as y } from "../../chunks/useT9n.js";
|
|
|
6
6
|
import { createRef as a, ref as o } from "lit/directives/ref.js";
|
|
7
7
|
import { LitElement as $, createEvent as s, safeClassMap as l, nothing as c } from "@arcgis/lumina";
|
|
8
8
|
import { e as I } from "../../chunks/popover-ui-utils.js";
|
|
9
|
-
import { r as b } from "../../chunks/
|
|
9
|
+
import { r as b } from "../../chunks/index2.js";
|
|
10
10
|
import { R as i } from "../../chunks/rest-js-object-literals.js";
|
|
11
11
|
const n = {
|
|
12
12
|
sizeSection: "size-section",
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
2
|
import { c as u } from "../../chunks/runtime.js";
|
|
3
|
-
import { isEqual as
|
|
4
|
-
import { LitElement as C, createEvent as
|
|
5
|
-
import { css as y, html as
|
|
6
|
-
import { C as
|
|
7
|
-
import {
|
|
8
|
-
import { b } from "../../chunks/rest-js-object-literals.js";
|
|
9
|
-
const
|
|
10
|
-
class
|
|
3
|
+
import { isEqual as c, cloneDeep as p } from "es-toolkit/compat";
|
|
4
|
+
import { LitElement as C, createEvent as g } from "@arcgis/lumina";
|
|
5
|
+
import { css as y, html as d } from "lit";
|
|
6
|
+
import { C as h } from "../../chunks/interfaces.js";
|
|
7
|
+
import { ca as I, cb as b, v as F } from "../../chunks/index.js";
|
|
8
|
+
import { b as v } from "../../chunks/rest-js-object-literals.js";
|
|
9
|
+
const L = y`: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%}`;
|
|
10
|
+
class S extends C {
|
|
11
11
|
constructor() {
|
|
12
12
|
super(...arguments), this.onModelConfigChange = async (e) => {
|
|
13
13
|
const s = e?.detail.config ?? this.model.config;
|
|
14
14
|
this.layer === void 0 && await this.updateFetchLayerFieldsInfo(s);
|
|
15
|
-
}, this.popoverPlacement = "leading", this.usePopupTemplateFieldsInfo = !1, this.filterBySelection = !1, this.arcgisChartsConfigNoSeriesUpdate =
|
|
15
|
+
}, this.popoverPlacement = "leading", this.usePopupTemplateFieldsInfo = !1, this.filterBySelection = !1, this.arcgisChartsConfigNoSeriesUpdate = g(), this.arcgisChartsConfigWebChartChange = g();
|
|
16
16
|
}
|
|
17
17
|
static {
|
|
18
18
|
this.properties = { layerFieldsInfo: 16, model: 0, popoverPlacement: 1, seriesColor: 0, calculatedMinMaxBounds: 0, page: 1, layer: 0, usePopupTemplateFieldsInfo: 5, popupTemplateFieldInfosEnabled: 5, filterBySelection: 5, chartData: 0 };
|
|
19
19
|
}
|
|
20
20
|
static {
|
|
21
|
-
this.styles =
|
|
21
|
+
this.styles = L;
|
|
22
22
|
}
|
|
23
23
|
async load() {
|
|
24
24
|
this.seriesColor !== void 0 && this.seriesColorChange(this.seriesColor), await this.updateFetchLayerFieldsInfo(this.model?.config), this.modelChange(this.model);
|
|
25
25
|
}
|
|
26
26
|
willUpdate(e) {
|
|
27
27
|
let i = !1;
|
|
28
|
-
e.has("model") && this.modelChange(this.model, e.get("model")), e.has("layer") && this.layer !== void 0 && !
|
|
28
|
+
e.has("model") && this.modelChange(this.model, e.get("model")), e.has("layer") && this.layer !== void 0 && !c(e.get("layer"), this.layer) && (i = !0), (e.has("usePopupTemplateFieldsInfo") && this.usePopupTemplateFieldsInfo !== e.get("usePopupTemplateFieldsInfo") || e.has("popupTemplateFieldInfosEnabled") && this.popupTemplateFieldInfosEnabled !== e.get("popupTemplateFieldInfosEnabled")) && (i = !0), e.has("seriesColor") && this.seriesColorChange(this.seriesColor), this.layerFieldsInfo === void 0 && (i = !0), i && this.updateFetchLayerFieldsInfo();
|
|
29
29
|
}
|
|
30
30
|
disconnectedCallback() {
|
|
31
31
|
super.disconnectedCallback(), this.model.removeEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange);
|
|
@@ -34,44 +34,48 @@ class L extends C {
|
|
|
34
34
|
i?.removeEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange), e?.addEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange);
|
|
35
35
|
}
|
|
36
36
|
seriesColorChange(e) {
|
|
37
|
-
const { slices: i, groupedSlices: s, groupOfSlices:
|
|
38
|
-
let
|
|
39
|
-
this.filterBySelection ?
|
|
40
|
-
const
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
37
|
+
const { slices: i, groupedSlices: s, groupOfSlices: l } = e?.get(0) ?? {};
|
|
38
|
+
let t = [];
|
|
39
|
+
this.filterBySelection ? t = this.model.slices?.map((o) => i?.find((a) => a.sliceId === o.sliceId) ?? s?.find((a) => a.sliceId === o.sliceId) ?? o) ?? [] : t = (i ?? []).concat(s ?? []), t.forEach((o, a) => {
|
|
40
|
+
const n = this.model.slices?.find((f) => f.sliceId === o.sliceId);
|
|
41
|
+
if (n) {
|
|
42
|
+
t[a] = { ...o, ...n };
|
|
43
|
+
const f = n.label !== n.originalLabel;
|
|
44
|
+
t[a].label = f ? n.label : o.label, t[a].originalLabel = o.originalLabel;
|
|
45
|
+
}
|
|
46
|
+
const r = t[a].fillSymbol;
|
|
47
|
+
r !== void 0 && !c(r?.outline?.color, r?.color) && (r.outline = {
|
|
44
48
|
...r.outline ?? {},
|
|
45
|
-
type:
|
|
49
|
+
type: v.SLS,
|
|
46
50
|
color: r.color
|
|
47
51
|
});
|
|
48
52
|
});
|
|
49
|
-
const
|
|
50
|
-
s !== void 0 && !
|
|
53
|
+
const m = (s ?? []).map((o) => o.sliceId);
|
|
54
|
+
s !== void 0 && !c(m, this.model.groupedSliceIds) && (this.model.groupedSliceIds = p(m)), c(t, this.model.slices) || (this.model.slices = p(t)), l !== void 0 && !c(l, this.model.sliceGrouping) && (this.model.sliceGrouping = p(l));
|
|
51
55
|
}
|
|
52
56
|
async updateFetchLayerFieldsInfo(e) {
|
|
53
57
|
const i = e ?? this.model.config;
|
|
54
58
|
let s = this.layer;
|
|
55
59
|
if (!s) {
|
|
56
|
-
const
|
|
57
|
-
|
|
60
|
+
const l = I(i) ? i.iLayer : void 0;
|
|
61
|
+
l && (s = await b(l));
|
|
58
62
|
}
|
|
59
|
-
s && (await s.load(), this.layerFieldsInfo =
|
|
63
|
+
s && (await s.load(), this.layerFieldsInfo = F(s, this.usePopupTemplateFieldsInfo || this.popupTemplateFieldInfosEnabled));
|
|
60
64
|
}
|
|
61
65
|
render() {
|
|
62
66
|
let e;
|
|
63
67
|
switch (this.page) {
|
|
64
|
-
case
|
|
65
|
-
e =
|
|
68
|
+
case h.Data:
|
|
69
|
+
e = d`<arcgis-charts-config-pie-chart-data .model=${this.model} .layerFieldsInfo=${this.layerFieldsInfo}></arcgis-charts-config-pie-chart-data>`;
|
|
66
70
|
break;
|
|
67
|
-
case
|
|
68
|
-
e =
|
|
71
|
+
case h.Slices:
|
|
72
|
+
e = d`<arcgis-charts-config-pie-chart-slices .model=${this.model} .chartData=${this.chartData} .popoverPlacement=${this.popoverPlacement}></arcgis-charts-config-pie-chart-slices>`;
|
|
69
73
|
break;
|
|
70
|
-
case
|
|
71
|
-
e =
|
|
74
|
+
case h.Format:
|
|
75
|
+
e = d`<arcgis-charts-config-format .model=${this.model}></arcgis-charts-config-format>`;
|
|
72
76
|
break;
|
|
73
|
-
case
|
|
74
|
-
e =
|
|
77
|
+
case h.General:
|
|
78
|
+
e = d`<arcgis-charts-config-general .model=${this.model}></arcgis-charts-config-general>`;
|
|
75
79
|
break;
|
|
76
80
|
default:
|
|
77
81
|
e = "";
|
|
@@ -80,7 +84,7 @@ class L extends C {
|
|
|
80
84
|
return e;
|
|
81
85
|
}
|
|
82
86
|
}
|
|
83
|
-
u("arcgis-charts-config-pie-chart",
|
|
87
|
+
u("arcgis-charts-config-pie-chart", S);
|
|
84
88
|
export {
|
|
85
|
-
|
|
89
|
+
S as ArcgisChartsConfigPieChart
|
|
86
90
|
};
|