@arcgis/charts-components 6.0.0-next.4 → 6.0.0-next.41
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/2CMGEGOB.js +2 -0
- package/dist/cdn/{WKF53DYD.js → 2JY4BULO.js} +1 -1
- package/dist/cdn/2NLUPVHC.js +2 -0
- package/dist/cdn/{OYUTQX4U.js → 2POSDCZH.js} +1 -1
- package/dist/cdn/2V6RDUQ4.js +2 -0
- package/dist/cdn/2XLWTT5J.js +2 -0
- package/dist/cdn/{FKES55PK.js → 35MV6UPM.js} +1 -1
- package/dist/cdn/{H5VCT3XP.js → 36MF6B63.js} +1 -1
- package/dist/cdn/3SON5ZPC.js +2 -0
- package/dist/cdn/3T4EFKYY.js +2 -0
- package/dist/cdn/5HGXAW7L.js +2 -0
- package/dist/cdn/632TROA6.js +2 -0
- package/dist/cdn/6FZRG4EO.js +2 -0
- package/dist/cdn/77J6TCGN.js +2 -0
- package/dist/cdn/{LPLMRI3E.js → 7BGIK4OA.js} +1 -1
- package/dist/cdn/7KZBWHVH.js +2 -0
- package/dist/cdn/ABAVANHR.js +2 -0
- package/dist/cdn/ACTB6ZBK.js +2 -0
- package/dist/cdn/AIJWEEVP.js +2 -0
- package/dist/cdn/AYTSMVNG.js +2 -0
- package/dist/cdn/B4M6AGX7.js +2 -0
- package/dist/cdn/BIBYAKIS.js +4 -0
- package/dist/cdn/BUQ5MOP3.js +2 -0
- package/dist/cdn/{PQ3XCNCP.js → CBVIPAP3.js} +1 -1
- package/dist/cdn/{CLCHZMZ5.js → CMQLHBQN.js} +1 -1
- package/dist/cdn/D3DZ7A7U.js +2 -0
- package/dist/cdn/{OTV3YYDU.js → DCUEO36P.js} +1 -1
- package/dist/cdn/{OZSHGMU6.js → DH3CD2VT.js} +1 -1
- package/dist/cdn/DPWHTNBE.js +2 -0
- package/dist/cdn/DRSKZGA5.js +2 -0
- package/dist/cdn/EMAAJMBF.js +2 -0
- package/dist/cdn/EOHEGVDJ.js +2 -0
- package/dist/cdn/EYPUS3OS.js +2 -0
- package/dist/cdn/{FM6F6ZYW.js → FKWL3PHQ.js} +1 -1
- package/dist/cdn/FQTWIBKD.js +2 -0
- package/dist/cdn/{732AMNPK.js → G7AMXOVC.js} +1 -1
- package/dist/cdn/GH6LRRWO.js +2 -0
- package/dist/cdn/GLCI3ZBA.js +2 -0
- package/dist/cdn/GSMBQFDI.js +2 -0
- package/dist/cdn/GVAS6PT3.js +2 -0
- package/dist/cdn/{CUMXC4O4.js → H6DQWWRK.js} +1 -1
- package/dist/cdn/HADWVYUW.js +2 -0
- package/dist/cdn/HTLGMV4S.js +2 -0
- package/dist/cdn/I7MZOOIY.js +2 -0
- package/dist/cdn/I7YQ3JCN.js +2 -0
- package/dist/cdn/{V5Z75IQI.js → IEFTCPY3.js} +5 -5
- package/dist/cdn/INDJVCWV.js +2 -0
- package/dist/cdn/{33LWKOPD.js → IWIBZTFJ.js} +1 -1
- package/dist/cdn/J423NIGD.js +4 -0
- package/dist/cdn/J6SK2Z5T.js +2 -0
- package/dist/cdn/{MXTS44AG.js → J6XOSXEE.js} +1 -1
- package/dist/cdn/{GE7CLC6K.js → JOVBNTEF.js} +2 -2
- package/dist/cdn/{FNXREQOE.js → KH3XGJ6Z.js} +1 -1
- package/dist/cdn/KIFYEOUU.js +2 -0
- package/dist/cdn/{27C6PCQ2.js → KISYJDGT.js} +1 -1
- package/dist/cdn/KPX7NHM3.js +2 -0
- package/dist/cdn/LSPD3MG7.js +2 -0
- package/dist/cdn/M3N747C7.js +2 -0
- package/dist/cdn/M5UN3MYY.js +2 -0
- package/dist/cdn/{PIGINE4M.js → M7MSRLEE.js} +1 -1
- package/dist/cdn/ME7EHCPR.js +2 -0
- package/dist/cdn/{QQFMQAJ3.js → MUDUWLYM.js} +1 -1
- package/dist/cdn/{2WQNU554.js → N3IQELQL.js} +1 -1
- package/dist/cdn/NKO2OO5N.js +2 -0
- package/dist/cdn/{6RGTAMGU.js → NWG4Q36V.js} +1 -1
- package/dist/cdn/O5MLVZLK.js +2 -0
- package/dist/cdn/OLCWI4XN.js +2 -0
- package/dist/cdn/{INYMF2BQ.js → PDBNCJTF.js} +1 -1
- package/dist/cdn/PER6C4U2.js +2 -0
- package/dist/cdn/PLEMHP2B.js +2 -0
- package/dist/cdn/PSOSE6LU.js +2 -0
- package/dist/cdn/{563H5HEV.js → Q63KS3AS.js} +1 -1
- package/dist/cdn/QBPDUGAU.js +2 -0
- package/dist/cdn/QD733XNJ.js +2 -0
- package/dist/cdn/QVOSII2D.js +2 -0
- package/dist/cdn/R3UAKAS4.js +2 -0
- package/dist/cdn/RGWPVW43.js +2 -0
- package/dist/cdn/{HMZRDWG2.js → RTKJNT6E.js} +27 -27
- package/dist/cdn/S22VFPC7.js +2 -0
- package/dist/cdn/S6G2OZSX.js +2 -0
- package/dist/cdn/SQHNAWY2.js +2 -0
- package/dist/cdn/SU7RJZNV.js +2 -0
- package/dist/cdn/T2GIGPPW.js +2 -0
- package/dist/cdn/TKKV7KPJ.js +2 -0
- package/dist/cdn/TMXVA27K.js +2 -0
- package/dist/cdn/{S2BGEXZV.js → UK2UPGTC.js} +1 -1
- package/dist/cdn/UNOJKM7H.js +2 -0
- package/dist/cdn/UNRUZFCG.js +2 -0
- package/dist/cdn/UO6RHQGP.js +2 -0
- package/dist/cdn/UQHIV37J.js +2 -0
- package/dist/cdn/VEVROTSG.js +2 -0
- package/dist/cdn/VIID7SQW.js +2 -0
- package/dist/cdn/VKHE2T45.js +2 -0
- package/dist/cdn/VM2DWR75.js +2 -0
- package/dist/cdn/VRB6ZKPF.js +2 -0
- package/dist/cdn/VWX73OUH.js +2 -0
- package/dist/cdn/{KK445MLC.js → W7TD4Z24.js} +1 -1
- package/dist/cdn/WBU6UBT7.js +2 -0
- package/dist/cdn/WBVI4QWE.js +2 -0
- package/dist/cdn/WIT3P7NV.js +2 -0
- package/dist/cdn/WKDTX36G.js +2 -0
- package/dist/cdn/WORMNHOD.js +2 -0
- package/dist/cdn/XE5JJDCZ.js +2 -0
- package/dist/cdn/XTWKVYX3.js +2 -0
- package/dist/cdn/YUUYX57N.js +2 -0
- package/dist/cdn/{VSKK65CP.js → ZYZASO4B.js} +1 -1
- 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 -16
- package/dist/chunks/action-bar-utils.js +53 -55
- package/dist/chunks/axis-lines-symbol.js +6 -6
- package/dist/chunks/bar-chart-model.js +7 -9
- package/dist/chunks/box-plot-data.js +172 -171
- package/dist/chunks/box-plot-model.js +41 -39
- package/dist/chunks/chart-model.js +18 -20
- package/dist/chunks/chart-ui-utils.js +61 -63
- package/dist/chunks/chart-ui-utils2.js +1 -1
- package/dist/chunks/class-breaks.js +5 -5
- 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 +51 -53
- package/dist/chunks/gauge-model.js +66 -66
- package/dist/chunks/generate-x-axis-title.js +17 -17
- package/dist/chunks/heat-chart-model.js +20 -21
- package/dist/chunks/histogram-data.js +41 -42
- package/dist/chunks/histogram-model.js +5 -5
- package/dist/chunks/index.js +5432 -4273
- package/dist/chunks/index2.js +1165 -871
- package/dist/chunks/index3.js +10987 -1173
- package/dist/chunks/index4.js +54 -11086
- package/dist/chunks/line-chart-model.js +19 -20
- 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 +6 -6
- package/dist/chunks/pie-chart-data.js +25 -27
- package/dist/chunks/pie-chart-model.js +166 -165
- package/dist/chunks/radar-chart-model.js +7 -8
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/rest-js-object-literals.js +5 -41
- package/dist/chunks/rotated-state.js +1 -1
- package/dist/chunks/rounded-corners.js +6 -6
- package/dist/chunks/scatterplot-model.js +75 -76
- package/dist/chunks/serial-chart-data.js +512 -517
- package/dist/chunks/serial-chart-model.js +64 -61
- package/dist/chunks/series-length.js +14 -14
- 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 +70 -71
- package/dist/chunks/x-bounds.js +32 -33
- package/dist/components/arcgis-chart/customElement.d.ts +79 -72
- package/dist/components/arcgis-chart/customElement.js +8482 -8273
- package/dist/components/arcgis-charts-action-bar/customElement.d.ts +1 -176
- package/dist/components/arcgis-charts-action-bar/customElement.js +82 -79
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +18 -18
- 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 +10 -11
- 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 +61 -54
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-colors/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +186 -185
- package/dist/components/arcgis-charts-config-font-style/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-format/customElement.js +96 -95
- package/dist/components/arcgis-charts-config-general/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-guide/customElement.js +51 -50
- 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 +35 -32
- 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 +48 -43
- 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 +81 -81
- 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.d.ts +1 -1
- package/dist/index.js +400 -411
- package/dist/interfaces.d.ts +1 -15
- package/dist/json-schema/index.d.ts +38 -68
- package/dist/loader.js +7 -7
- package/dist/model/box-plot-model/box-plot-model.d.ts +6 -2
- package/dist/model/heat-chart-model/heat-chart-model.d.ts +1 -1
- 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/properties/layer.d.ts +2 -2
- package/dist/model/serial-chart-model/serial-chart-model.d.ts +6 -2
- package/dist/spec/rest-js-object-literals.d.ts +0 -66
- package/dist/spec/rest-js-types.d.ts +1 -5
- package/dist/spec/web-chart.d.ts +2 -2
- package/dist/types/lumina.d.ts +4 -2
- package/dist/types/preact.d.ts +4 -2
- package/dist/types/react.d.ts +4 -2
- package/dist/types/stencil.d.ts +4 -2
- package/dist/utils/chart-config/converter/index.js +97 -99
- 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/layer/index.d.ts +6 -6
- package/dist/utils/layer/interfaces.d.ts +13 -3
- package/dist/utils/layer/query-parser/index.d.ts +2 -2
- package/dist/utils/layer/utils/index.d.ts +6 -18
- package/dist/utils/misc/index.d.ts +4 -4
- package/dist/utils/types/index.d.ts +0 -35
- package/package.json +8 -8
- 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/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/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/{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/{3VZK52LO.js → Z5DYKSTK.js} +0 -0
|
@@ -1,54 +1,59 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
3
|
-
import { keyed as
|
|
4
|
-
import { LitElement as
|
|
5
|
-
import { css as
|
|
6
|
-
import { repeat as
|
|
7
|
-
import { u as
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { r as
|
|
11
|
-
const
|
|
12
|
-
class
|
|
2
|
+
import { c as v } from "../../chunks/runtime.js";
|
|
3
|
+
import { keyed as f } from "lit/directives/keyed.js";
|
|
4
|
+
import { LitElement as u, renderElement as I, safeStyleMap as P } from "@arcgis/lumina";
|
|
5
|
+
import { css as L, html as o } from "lit";
|
|
6
|
+
import { repeat as $ } from "lit/directives/repeat.js";
|
|
7
|
+
import { u as x } from "../../chunks/useT9n.js";
|
|
8
|
+
import { g as y } from "../../chunks/chart-ui-utils.js";
|
|
9
|
+
import { y as b } from "../../chunks/index.js";
|
|
10
|
+
import { r as a } from "../../chunks/popover-ui-utils.js";
|
|
11
|
+
const M = 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
|
+
class O extends u {
|
|
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
|
-
this.styles =
|
|
47
|
+
this.styles = M;
|
|
48
|
+
}
|
|
49
|
+
get selectedSeriesIndex() {
|
|
50
|
+
return this.selectedSeriesId === void 0 ? void 0 : this.model.getSeriesIndex(this.selectedSeriesId);
|
|
46
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,47 +61,47 @@ 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 = I(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 $(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 === b.BarAndLineFromFields ? this._messages.series : r, m = this.model.getSeriesLineStyle(t);
|
|
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 = y(m);
|
|
77
|
+
const [g, p, C, S] = [...l];
|
|
78
|
+
n = `rgba(${g},${p},${C},${S / 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=${P({ color: n })}></calcite-icon></calcite-list-item>`;
|
|
76
81
|
});
|
|
77
82
|
}
|
|
78
83
|
buildSeriesList() {
|
|
79
|
-
return
|
|
84
|
+
return f(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>`;
|
|
97
102
|
}
|
|
98
103
|
}
|
|
99
|
-
|
|
104
|
+
v("arcgis-charts-config-line-chart-series", O);
|
|
100
105
|
export {
|
|
101
|
-
|
|
106
|
+
O as ArcgisChartsConfigLineChartSeries
|
|
102
107
|
};
|
|
@@ -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 { cb as I, cc 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
|
};
|
|
@@ -2,37 +2,36 @@
|
|
|
2
2
|
import { c as p } from "../../chunks/runtime.js";
|
|
3
3
|
import { keyed as f } from "lit/directives/keyed.js";
|
|
4
4
|
import { P as r } from "../../chunks/interfaces.js";
|
|
5
|
-
import { u
|
|
6
|
-
import { css as
|
|
5
|
+
import { u } from "../../chunks/useT9n.js";
|
|
6
|
+
import { css as C, html as s } from "lit";
|
|
7
7
|
import { createRef as n, ref as c } from "lit/directives/ref.js";
|
|
8
|
-
import { LitElement as b, createEvent as
|
|
8
|
+
import { LitElement as b, createEvent as d, renderElement as v, safeClassMap as o } from "@arcgis/lumina";
|
|
9
9
|
import { x as y } from "../../chunks/data.js";
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import { d as P } from "../../chunks/chart-object-literals.js";
|
|
10
|
+
import { B as m, x as g, u as F } from "../../chunks/index.js";
|
|
11
|
+
import { r as P } from "../../chunks/popover-ui-utils.js";
|
|
12
|
+
import { d as $ } from "../../chunks/chart-object-literals.js";
|
|
14
13
|
const l = {
|
|
15
14
|
label: "label",
|
|
16
15
|
fieldList: "field-list",
|
|
17
16
|
fab: "fab"
|
|
18
|
-
},
|
|
19
|
-
class
|
|
17
|
+
}, w = C`.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:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor);margin-bottom:var(--arcgis-charts-config-margin-minor);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}`;
|
|
18
|
+
class k extends b {
|
|
20
19
|
constructor() {
|
|
21
|
-
super(...arguments), this._messages =
|
|
20
|
+
super(...arguments), this._messages = u(), this.pieChartPopover = null, this.sortOrderElement = n(), this.categoryElement = n(), this.numericFieldsElement = n(), this.onPieChartDataChange = (e) => {
|
|
22
21
|
try {
|
|
23
22
|
if (e.detail !== null && e.detail?.value !== void 0) {
|
|
24
23
|
const { contentKind: i } = e.detail, t = [...e.detail.value];
|
|
25
24
|
switch (i) {
|
|
26
25
|
case r.aggregation:
|
|
27
|
-
this.model.aggregationType = t[0] !==
|
|
26
|
+
this.model.aggregationType = t[0] !== $.NoAggregation ? t[0] : "";
|
|
28
27
|
break;
|
|
29
28
|
case r.category: {
|
|
30
|
-
const a = t[0]?.trim() || "",
|
|
31
|
-
|
|
29
|
+
const a = t[0]?.trim() || "", h = this.model.numericFields;
|
|
30
|
+
h.length > 1 && a !== m && (this.model.numericFields = [h[0]]), this.model.category = a, this.model.colorMatch = !0;
|
|
32
31
|
break;
|
|
33
32
|
}
|
|
34
33
|
case r.numericFields:
|
|
35
|
-
(t.length > 1 || t.length > 0 && this.model.category.trim() === "") && (this.model.category =
|
|
34
|
+
(t.length > 1 || t.length > 0 && this.model.category.trim() === "") && (this.model.category = m), this.model.numericFields = t;
|
|
36
35
|
break;
|
|
37
36
|
case r.sortOrder:
|
|
38
37
|
this.model.setDataSortOrder(t[0]);
|
|
@@ -49,13 +48,13 @@ class E extends b {
|
|
|
49
48
|
this.requestUpdate();
|
|
50
49
|
}, this.popoverClose = (e) => {
|
|
51
50
|
this.pieChartPopover === e?.target && this.removePieChartDataPopover();
|
|
52
|
-
}, this.layerFieldsInfo = [], this.arcgisChartsConfigDataChangeError =
|
|
51
|
+
}, this.layerFieldsInfo = [], this.arcgisChartsConfigDataChangeError = d(), this.arcgisChartsConfigPieChartDataNumericFieldValidate = d();
|
|
53
52
|
}
|
|
54
53
|
static {
|
|
55
54
|
this.properties = { messageOverrides: 0, model: 0, layerFieldsInfo: 0 };
|
|
56
55
|
}
|
|
57
56
|
static {
|
|
58
|
-
this.styles =
|
|
57
|
+
this.styles = w;
|
|
59
58
|
}
|
|
60
59
|
load() {
|
|
61
60
|
this.modelChange(this.model), this.onModelConfigChange();
|
|
@@ -70,7 +69,7 @@ class E extends b {
|
|
|
70
69
|
i?.removeEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange), e?.addEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange);
|
|
71
70
|
}
|
|
72
71
|
buildNumericFieldItem(e) {
|
|
73
|
-
return f(e, s`<calcite-list-item .label=${
|
|
72
|
+
return f(e, s`<calcite-list-item .label=${g(this.layerFieldsInfo, e)} .value=${e} closable @calciteListItemClose=${this.onRemoveNumericField}></calcite-list-item>`);
|
|
74
73
|
}
|
|
75
74
|
onSortOrderSelect(e) {
|
|
76
75
|
this.contentKind = r.sortOrder, this.setupPopover(e);
|
|
@@ -108,10 +107,10 @@ class E extends b {
|
|
|
108
107
|
return y({
|
|
109
108
|
fieldName: this.model.category,
|
|
110
109
|
fieldList: this.layerFieldsInfo
|
|
111
|
-
}) ? "" :
|
|
110
|
+
}) ? "" : g(this.layerFieldsInfo, this.model.category);
|
|
112
111
|
}
|
|
113
112
|
removePieChartDataPopover() {
|
|
114
|
-
this.pieChartPopover !== null && (this.pieChartPopover.open = !1, this.pieChartPopover =
|
|
113
|
+
this.pieChartPopover !== null && (this.pieChartPopover.open = !1, this.pieChartPopover = P(this.pieChartPopover));
|
|
115
114
|
}
|
|
116
115
|
renderSorting() {
|
|
117
116
|
return s`<arcgis-charts-config-field-picker .label=${this._messages[this.model.getDataSortOrder()]} @click=${this.onSortOrderSelect} ${c(this.sortOrderElement)}></arcgis-charts-config-field-picker>`;
|
|
@@ -130,11 +129,11 @@ class E extends b {
|
|
|
130
129
|
const e = this.renderCategory(), i = this.renderSorting(), t = this.renderNumericFields([...this.model.numericFields]);
|
|
131
130
|
return s`<calcite-label class=${o(l.label)}>${this._messages.category}${e}</calcite-label>${[
|
|
132
131
|
s`<calcite-label class=${o(l.label)}>${this._messages.numericFields}${t}</calcite-label>`,
|
|
133
|
-
s`<div class=${o(l.fab)}><calcite-
|
|
132
|
+
s`<div class=${o(l.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>`
|
|
134
133
|
]}<calcite-label class=${o(l.label)} layout=inline-space-between>${this._messages.showDataLabels}<calcite-switch .checked=${this.model.dataLabelsVisibility} @calciteSwitchChange=${this.onShowDataLabelsChange}></calcite-switch></calcite-label><calcite-label class=${o(l.label)}>${this._messages.sortOrder}${i}</calcite-label>`;
|
|
135
134
|
}
|
|
136
135
|
}
|
|
137
|
-
p("arcgis-charts-config-pie-chart-data",
|
|
136
|
+
p("arcgis-charts-config-pie-chart-data", k);
|
|
138
137
|
export {
|
|
139
|
-
|
|
138
|
+
k as ArcgisChartsConfigPieChartData
|
|
140
139
|
};
|
|
@@ -3,6 +3,6 @@ import "../arcgis-charts-config-pie-chart-popover/index.js";
|
|
|
3
3
|
import "../arcgis-charts-config-field-picker/index.js";
|
|
4
4
|
import "@esri/calcite-components/components/calcite-list";
|
|
5
5
|
import "@esri/calcite-components/components/calcite-label";
|
|
6
|
-
import "@esri/calcite-components/components/calcite-
|
|
6
|
+
import "@esri/calcite-components/components/calcite-button";
|
|
7
7
|
import "@esri/calcite-components/components/calcite-switch";
|
|
8
8
|
export * from "./customElement.js";
|
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
2
|
import { c as v } from "../../chunks/runtime.js";
|
|
3
|
-
import { repeat as
|
|
3
|
+
import { repeat as m } from "lit/directives/repeat.js";
|
|
4
4
|
import { keyed as g } from "lit/directives/keyed.js";
|
|
5
5
|
import { isEqual as k } from "es-toolkit/compat";
|
|
6
6
|
import { P as o } from "../../chunks/interfaces.js";
|
|
7
7
|
import { p as f, b as $, e as d, f as P } from "../../chunks/chart-ui-utils.js";
|
|
8
8
|
import { u } from "../../chunks/useT9n.js";
|
|
9
9
|
import { css as L, html as n } from "lit";
|
|
10
|
-
import { createRef as C, ref as
|
|
10
|
+
import { createRef as C, ref as h } from "lit/directives/ref.js";
|
|
11
11
|
import { LitElement as y, createEvent as b, safeClassMap as l } from "@arcgis/lumina";
|
|
12
12
|
import { e as F, p as I } from "../../chunks/popover-ui-utils.js";
|
|
13
|
-
import { J as D } from "../../chunks/
|
|
14
|
-
import {
|
|
15
|
-
import { bL as S, aQ as T } from "../../chunks/index.js";
|
|
13
|
+
import { J as D } from "../../chunks/index2.js";
|
|
14
|
+
import { x, ca as S, b5 as T } from "../../chunks/index.js";
|
|
16
15
|
import { d as E } from "../../chunks/rest-js-object-literals.js";
|
|
17
16
|
import { a as r } from "../../chunks/common.js";
|
|
18
17
|
const s = {
|
|
@@ -51,11 +50,11 @@ class A extends y {
|
|
|
51
50
|
this.pickListHasChanged = I(e, t);
|
|
52
51
|
}
|
|
53
52
|
buildAggregationPickListItems() {
|
|
54
|
-
return
|
|
53
|
+
return m(f, (e) => e, (e, t) => n`<calcite-list-item .label=${this.aggregationLabels[t]} .value=${e} .selected=${d(e, this.selectedContent)}></calcite-list-item>`);
|
|
55
54
|
}
|
|
56
55
|
buildSortOrder() {
|
|
57
56
|
const e = Object.keys(r);
|
|
58
|
-
return e.splice(e.indexOf(r.customSort), 1),
|
|
57
|
+
return e.splice(e.indexOf(r.customSort), 1), m(e, (t) => t, (t) => {
|
|
59
58
|
let i = "string";
|
|
60
59
|
const c = "rotate";
|
|
61
60
|
let a = "";
|
|
@@ -134,11 +133,11 @@ class A extends y {
|
|
|
134
133
|
}
|
|
135
134
|
renderCategory() {
|
|
136
135
|
const e = this.buildPickListItems(o.category);
|
|
137
|
-
return n`<calcite-list label class=${l(s.popoverPickList)} selection-mode=single selection-appearance=border filter-enabled @calciteListChange=${this.onDataContentTypeChange} ${
|
|
136
|
+
return n`<calcite-list label class=${l(s.popoverPickList)} selection-mode=single selection-appearance=border filter-enabled @calciteListChange=${this.onDataContentTypeChange} ${h(this.picklist)}>${e}</calcite-list>`;
|
|
138
137
|
}
|
|
139
138
|
renderNumericFields() {
|
|
140
139
|
const e = this.buildPickListItems(o.numericFields);
|
|
141
|
-
return n`<calcite-list label class=${l(s.popoverPickList)} selection-mode=multiple filter-enabled @calciteListChange=${this.onNumericFieldsChange} ${
|
|
140
|
+
return n`<calcite-list label class=${l(s.popoverPickList)} selection-mode=multiple filter-enabled @calciteListChange=${this.onNumericFieldsChange} ${h(this.picklist)}>${e}</calcite-list>`;
|
|
142
141
|
}
|
|
143
142
|
renderSortOrder() {
|
|
144
143
|
const e = this.buildSortOrder();
|
|
@@ -164,7 +163,7 @@ class A extends y {
|
|
|
164
163
|
}
|
|
165
164
|
render() {
|
|
166
165
|
let e;
|
|
167
|
-
return this.contentKind === o.numericFields && (e = n`<div slot=footer><calcite-fab class=${l(s.fab)} appearance=outline-fill kind=neutral .icon=${void 0} .label=${this._messages.selectionDone} scale=s text-enabled .text=${this._messages.selectionDone} @click=${this.onNumericFieldSelectionDone}></calcite-fab></div>`), n`<div><calcite-popover class=${l(s.name)} .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} @calcitePopoverClose=${this.closePopover} .offsetDistance=${this.offsetDistance} .open=${this.open} label auto-close ${
|
|
166
|
+
return this.contentKind === o.numericFields && (e = n`<div slot=footer><calcite-fab class=${l(s.fab)} appearance=outline-fill kind=neutral .icon=${void 0} .label=${this._messages.selectionDone} scale=s text-enabled .text=${this._messages.selectionDone} @click=${this.onNumericFieldSelectionDone}></calcite-fab></div>`), n`<div><calcite-popover class=${l(s.name)} .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} @calcitePopoverClose=${this.closePopover} .offsetDistance=${this.offsetDistance} .open=${this.open} label auto-close ${h(this.popoverElement)}><calcite-panel class=${l(s.panel)} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div slot=header-content class=${l(s.header)}>${this.headingTitle ?? ""}</div>${this.renderPopoverInfo()}${e}</calcite-panel></calcite-popover></div>`;
|
|
168
167
|
}
|
|
169
168
|
}
|
|
170
169
|
v("arcgis-charts-config-pie-chart-popover", A);
|
|
@@ -8,7 +8,7 @@ import { css as G, html as d, nothing as w } from "lit";
|
|
|
8
8
|
import { createRef as m, ref as g } from "lit/directives/ref.js";
|
|
9
9
|
import { LitElement as z, renderElement as S, safeStyleMap as u, safeClassMap as s } from "@arcgis/lumina";
|
|
10
10
|
import { b as h } from "../../chunks/common.js";
|
|
11
|
-
import {
|
|
11
|
+
import { U as I, p as y } from "../../chunks/index2.js";
|
|
12
12
|
import { r as P } from "../../chunks/popover-ui-utils.js";
|
|
13
13
|
import { b as M } from "../../chunks/rest-js-object-literals.js";
|
|
14
14
|
const a = {
|
|
@@ -171,7 +171,7 @@ class D extends z {
|
|
|
171
171
|
N(this.tooltip);
|
|
172
172
|
}
|
|
173
173
|
render() {
|
|
174
|
-
return d`<div class=${s(a.sectionLabel)}>${this._messages.settings}</div><calcite-label class=${s(a.label)}>${this._messages.shape}<calcite-slider min=0 max=100 step=1 snap .value=${this.model.innerRadius ?? I} @calciteSliderChange=${this.onDonutSizeSliderChange} ${g(this.donutSizeSliderElement)}></calcite-slider></calcite-label><div class=${s(a.pieDonutLabelsContainer)}><calcite-label class=${s(a.label)}>${this._messages.pie}</calcite-label><calcite-label class=${s(a.label)}>${this._messages.donut}</calcite-label></div><calcite-label class=${s(a.label)}><div class=${s(a.groupingLabelContainer)}><div>${this._messages.groupingPercent}</div><calcite-icon icon=information scale=s flip-rtl role=img tabindex=0 aria-label=${this._messages.groupingInfo ?? "" ?? w} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} @focus=${this.createTooltip} @blur=${this.destroyTooltip}></calcite-icon></div><div class=${s(a.sliderInputContainer)}><calcite-slider min=0 max=
|
|
174
|
+
return d`<div class=${s(a.sectionLabel)}>${this._messages.settings}</div><calcite-label class=${s(a.label)}>${this._messages.shape}<calcite-slider min=0 max=100 step=1 snap .value=${this.model.innerRadius ?? I} @calciteSliderChange=${this.onDonutSizeSliderChange} ${g(this.donutSizeSliderElement)}></calcite-slider></calcite-label><div class=${s(a.pieDonutLabelsContainer)}><calcite-label class=${s(a.label)}>${this._messages.pie}</calcite-label><calcite-label class=${s(a.label)}>${this._messages.donut}</calcite-label></div><calcite-label class=${s(a.label)}><div class=${s(a.groupingLabelContainer)}><div>${this._messages.groupingPercent}</div><calcite-icon icon=information scale=s flip-rtl role=img tabindex=0 aria-label=${this._messages.groupingInfo ?? "" ?? w} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip} @focus=${this.createTooltip} @blur=${this.destroyTooltip}></calcite-icon></div><div class=${s(a.sliderInputContainer)}><calcite-slider min=0 max=100 step=1 snap .value=${x(p(this.model.groupingThreshold ?? 0))} @calciteSliderChange=${this.onGroupingThresholdSliderChange} ${g(this.groupingThresholdSliderElement)}></calcite-slider><calcite-input class=${s(a.numberInput)} type=number min=0 max=100 step=1 suffix-text=% .value=${p(this.model.groupingThreshold ?? 0)} @calciteInputInput=${this.onGroupingThresholdChange} @click=${(e) => {
|
|
175
175
|
e.stopPropagation();
|
|
176
176
|
}} ${g(this.groupingThresholdElement)}></calcite-input></div></calcite-label><div class=${s(a.sectionLabel)}>${this._messages.labels}</div><calcite-label class=${s(a.label)}>${this._messages.labelCharacterLimit}<calcite-input type=number min=1 step=1 .value=${p(this.model.labelCharacterLimit)} @calciteInputInput=${this.onLabelCharacterLimitChange} ${g(this.labelCharacterLimitElement)}></calcite-input></calcite-label><calcite-label class=${s(a.label)}>${this._messages.decimalPlaces}<calcite-input type=number min=0 max=20 step=1 .value=${p(this.model.decimalPlaces)} @calciteInputInput=${this.onDecimalPlacesChange} ${g(this.decimalPlacesElement)}></calcite-input></calcite-label><calcite-label class=${s(a.label)}>${this._messages.display}<calcite-radio-button-group class=${s(a.radioGroup)} name=display layout=vertical @calciteRadioButtonGroupChange=${this.onDisplayTypeChange}><calcite-label layout=inline><calcite-radio-button .value=${h.Value} .checked=${this.model.displayType === h.Value}></calcite-radio-button>${this._messages.value}</calcite-label><calcite-label layout=inline><calcite-radio-button .value=${h.Percentage} .checked=${this.model.displayType === h.Percentage}></calcite-radio-button>${this._messages.percentage}</calcite-label><calcite-label layout=inline><calcite-radio-button .value=${h.Both} .checked=${this.model.displayType === h.Both}></calcite-radio-button>${this._messages.both}</calcite-label></calcite-radio-button-group></calcite-label><div class=${s(a.sectionLabel)}>${this._messages.slices}<calcite-button @click=${this.resetSlicesOriginal} .disabled=${!this.model.resetAvailable()} appearance=transparent icon-end=reset>${this._messages.reset}</calcite-button></div>${this.buildSliceList()}<div class=${s(a.sectionLabel)}>${this._messages.groupedSlices}</div>${this.buildGroupedSliceList()}`;
|
|
177
177
|
}
|
|
@@ -5,7 +5,7 @@ import { u as m } from "../../chunks/useT9n.js";
|
|
|
5
5
|
import { createRef as d, ref as g } from "lit/directives/ref.js";
|
|
6
6
|
import { LitElement as C, createEvent as s, safeClassMap as r } from "@arcgis/lumina";
|
|
7
7
|
import { e as v } from "../../chunks/popover-ui-utils.js";
|
|
8
|
-
import { r as f } from "../../chunks/
|
|
8
|
+
import { r as f } from "../../chunks/index2.js";
|
|
9
9
|
const c = {
|
|
10
10
|
panelChildrenContainer: "panel-children-container"
|
|
11
11
|
}, u = 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{overflow-y:auto;width:min-content}.panel-children-container{display:flex}.panel-children-container calcite-label{flex:1 1 0px;display:flex;width:0px}.panel-children-container{padding:0 1rem;margin-top:1rem}`;
|
|
@@ -4,8 +4,7 @@ import { isEqual as l } from "es-toolkit/compat";
|
|
|
4
4
|
import { LitElement as n, createEvent as d } from "@arcgis/lumina";
|
|
5
5
|
import { css as c, html as s } from "lit";
|
|
6
6
|
import { C as o } from "../../chunks/interfaces.js";
|
|
7
|
-
import {
|
|
8
|
-
import { i as y } from "../../chunks/type-guards.js";
|
|
7
|
+
import { cb as h, cc as p, bC as f, l as g, cK as m, v as u, bb as y } from "../../chunks/index.js";
|
|
9
8
|
const b = c`: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
9
|
class F extends n {
|
|
11
10
|
constructor() {
|
|
@@ -43,14 +42,14 @@ class F extends n {
|
|
|
43
42
|
if (t) {
|
|
44
43
|
await f(t);
|
|
45
44
|
const i = this.usePopupTemplateFieldsInfo || this.popupTemplateFieldInfosEnabled;
|
|
46
|
-
this.layerFieldsInfo =
|
|
45
|
+
this.layerFieldsInfo = g(t) ? m({ layer: t, popupTemplateFieldInfosEnabled: i, chartType: a?.type }) : u(t, i);
|
|
47
46
|
}
|
|
48
47
|
}
|
|
49
48
|
render() {
|
|
50
49
|
let e;
|
|
51
50
|
switch (this.page) {
|
|
52
51
|
case o.Data:
|
|
53
|
-
const a =
|
|
52
|
+
const a = y(this.layer), t = a && "isTable" in a ? a.isTable : !1;
|
|
54
53
|
e = s`<arcgis-charts-config-scatter-plot-data .view=${this.view} .model=${this.model} .r2=${this.r2} .layerFieldsInfo=${this.layerFieldsInfo} .isTableLayer=${t}></arcgis-charts-config-scatter-plot-data>`;
|
|
55
54
|
break;
|
|
56
55
|
case o.Axes:
|