@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
|
@@ -3,7 +3,7 @@ import type { DefaultActionSelectPayload } from "../../utils/components/event-pa
|
|
|
3
3
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
4
4
|
import type { ArcgisChart } from "../arcgis-chart/customElement.js";
|
|
5
5
|
import type { ChartTypes } from "../../utils/misc/index.js";
|
|
6
|
-
import type {
|
|
6
|
+
import type { DefaultChartActions } from "../../utils/types/index.js";
|
|
7
7
|
import type { ActionModes } from "../../utils/cursor/interfaces.js";
|
|
8
8
|
import type { WebChartTypes } from "../../spec/chart-object-literals.js";
|
|
9
9
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
@@ -81,22 +81,8 @@ export abstract class ArcgisChartsActionBar extends LitElement {
|
|
|
81
81
|
* @since 5.2
|
|
82
82
|
*/
|
|
83
83
|
accessor clearSelectionDisabled: boolean;
|
|
84
|
-
/**
|
|
85
|
-
* When `disabled`, interaction with the clear selection action is prevented and the action is displayed with lower opacity.
|
|
86
|
-
*
|
|
87
|
-
* @deprecated since 5.2. Use [clearSelectionDisabled](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-charts-action-bar/#clearSelectionDisabled) instead.
|
|
88
|
-
* @default "enabled"
|
|
89
|
-
*/
|
|
90
|
-
accessor clearSelectionState: ActionState;
|
|
91
84
|
/** Custom title for the clear selection action. */
|
|
92
85
|
accessor clearSelectionTitle: string | undefined;
|
|
93
|
-
/**
|
|
94
|
-
* When `active`, the clear selection action is highlighted.
|
|
95
|
-
*
|
|
96
|
-
* @deprecated since 5.2. Use [clearSelectionActive](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-charts-action-bar/#clearSelectionActive) instead.
|
|
97
|
-
* @default "inactive"
|
|
98
|
-
*/
|
|
99
|
-
accessor clearSelectionToggle: ActionToggle;
|
|
100
86
|
/**
|
|
101
87
|
* Localized common strings.
|
|
102
88
|
*
|
|
@@ -665,14 +651,6 @@ export abstract class ArcgisChartsActionBar extends LitElement {
|
|
|
665
651
|
* Modify this property to add or remove chart types from the list of disabled types.
|
|
666
652
|
*/
|
|
667
653
|
accessor csvExportExclusionList: WebChartTypes[];
|
|
668
|
-
/**
|
|
669
|
-
* The CSV export action is disabled for certain chart types.
|
|
670
|
-
*
|
|
671
|
-
* Modify this property to add or remove chart types from the list of disabled types.
|
|
672
|
-
*
|
|
673
|
-
* @deprecated since 5.1. Use [csvExportExclusionList](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-charts-action-bar/#csvExportExclusionList) instead.
|
|
674
|
-
*/
|
|
675
|
-
accessor disableCSVExportForChartTypes: WebChartTypes[];
|
|
676
654
|
/**
|
|
677
655
|
* When `true`, the edit chart action is active.
|
|
678
656
|
*
|
|
@@ -688,22 +666,8 @@ export abstract class ArcgisChartsActionBar extends LitElement {
|
|
|
688
666
|
* @since 5.2
|
|
689
667
|
*/
|
|
690
668
|
accessor editChartEnabled: boolean;
|
|
691
|
-
/**
|
|
692
|
-
* When `disabled`, interaction with the edit chart action is prevented and the action is displayed with lower opacity.
|
|
693
|
-
*
|
|
694
|
-
* @deprecated since 5.2. Use [editChartEnabled](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-charts-action-bar/#editChartEnabled) instead.
|
|
695
|
-
* @default "disabled"
|
|
696
|
-
*/
|
|
697
|
-
accessor editChartState: ActionState;
|
|
698
669
|
/** Custom title for the edit chart action. */
|
|
699
670
|
accessor editChartTitle: string | undefined;
|
|
700
|
-
/**
|
|
701
|
-
* When `active`, the edit chart action is highlighted.
|
|
702
|
-
*
|
|
703
|
-
* @deprecated since 5.2. Use [editChartActive](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-charts-action-bar/#editChartActive) instead.
|
|
704
|
-
* @default "inactive"
|
|
705
|
-
*/
|
|
706
|
-
accessor editChartToggle: ActionToggle;
|
|
707
671
|
/**
|
|
708
672
|
* When `true`, the action bar is expanded.
|
|
709
673
|
*
|
|
@@ -717,13 +681,6 @@ export abstract class ArcgisChartsActionBar extends LitElement {
|
|
|
717
681
|
* @since 5.2
|
|
718
682
|
*/
|
|
719
683
|
accessor exportActionDisabled: boolean;
|
|
720
|
-
/**
|
|
721
|
-
* When `disabled`, interaction with the export action is prevented and the action is displayed with lower opacity.
|
|
722
|
-
*
|
|
723
|
-
* @deprecated since 5.2. Use [exportActionDisabled](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-charts-action-bar/#exportActionDisabled) instead.
|
|
724
|
-
* @default "enabled"
|
|
725
|
-
*/
|
|
726
|
-
accessor exportActionState: ActionState;
|
|
727
684
|
/**
|
|
728
685
|
* When `true`, interaction with the export as CSV action is prevented and the action is displayed with lower opacity.
|
|
729
686
|
*
|
|
@@ -731,13 +688,6 @@ export abstract class ArcgisChartsActionBar extends LitElement {
|
|
|
731
688
|
* @since 5.2
|
|
732
689
|
*/
|
|
733
690
|
accessor exportAsCSVDisabled: boolean;
|
|
734
|
-
/**
|
|
735
|
-
* When `disabled`, interaction with the download CSV is prevented and the action is displayed with lower opacity.
|
|
736
|
-
*
|
|
737
|
-
* @deprecated since 5.2. Use [exportAsCSVDisabled](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-charts-action-bar/#exportAsCSVDisabled) instead.
|
|
738
|
-
* @default "enabled"
|
|
739
|
-
*/
|
|
740
|
-
accessor exportAsCSVState: ActionState;
|
|
741
691
|
/** Custom title for the download CSV action. */
|
|
742
692
|
accessor exportAsCSVTitle: string | undefined;
|
|
743
693
|
/**
|
|
@@ -747,35 +697,8 @@ export abstract class ArcgisChartsActionBar extends LitElement {
|
|
|
747
697
|
* @since 5.2
|
|
748
698
|
*/
|
|
749
699
|
accessor exportAsImageDisabled: boolean;
|
|
750
|
-
/**
|
|
751
|
-
* When `disabled`, interaction with the download image action is prevented and the action is displayed with lower opacity.
|
|
752
|
-
*
|
|
753
|
-
* @deprecated since 5.2. Use [exportAsImageDisabled](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-charts-action-bar/#exportAsImageDisabled) instead.
|
|
754
|
-
* @default "enabled"
|
|
755
|
-
*/
|
|
756
|
-
accessor exportAsImageState: ActionState;
|
|
757
700
|
/** Custom title for the download chart action. */
|
|
758
701
|
accessor exportAsImageTitle: string | undefined;
|
|
759
|
-
/**
|
|
760
|
-
* When `disabled`, interaction with the filter by view extent action is prevented and the action is displayed with lower opacity.
|
|
761
|
-
*
|
|
762
|
-
* @deprecated since 5.2. Use [filterByViewExtentDisabled](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-charts-action-bar/#filterByViewExtentDisabled) instead.
|
|
763
|
-
* @default "enabled"
|
|
764
|
-
*/
|
|
765
|
-
accessor filterByExtentState: ActionState;
|
|
766
|
-
/**
|
|
767
|
-
* Custom title for the filter by view extent action.
|
|
768
|
-
*
|
|
769
|
-
* @deprecated since 5.2. Use [filterByViewExtentTitle](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-charts-action-bar/#filterByViewExtentTitle) instead.
|
|
770
|
-
*/
|
|
771
|
-
accessor filterByExtentTitle: string | undefined;
|
|
772
|
-
/**
|
|
773
|
-
* When `active`, the filter by view extent action is highlighted.
|
|
774
|
-
*
|
|
775
|
-
* @deprecated since 5.2. Use [filterByViewExtentActive](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-charts-action-bar/#filterByViewExtentActive) instead.
|
|
776
|
-
* @default "inactive"
|
|
777
|
-
*/
|
|
778
|
-
accessor filterByExtentToggle: ActionToggle;
|
|
779
702
|
/**
|
|
780
703
|
* When `true`, the filter by selection action is active.
|
|
781
704
|
*
|
|
@@ -790,22 +713,8 @@ export abstract class ArcgisChartsActionBar extends LitElement {
|
|
|
790
713
|
* @since 5.2
|
|
791
714
|
*/
|
|
792
715
|
accessor filterBySelectionDisabled: boolean;
|
|
793
|
-
/**
|
|
794
|
-
* When `disabled`, interaction with the filter by selection action is prevented and the action is displayed with lower opacity.
|
|
795
|
-
*
|
|
796
|
-
* @deprecated since 5.2. Use [filterBySelectionDisabled](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-charts-action-bar/#filterBySelectionDisabled) instead.
|
|
797
|
-
* @default "enabled"
|
|
798
|
-
*/
|
|
799
|
-
accessor filterBySelectionState: ActionState;
|
|
800
716
|
/** Custom title for the filter by selection action. */
|
|
801
717
|
accessor filterBySelectionTitle: string | undefined;
|
|
802
|
-
/**
|
|
803
|
-
* When `active`, the filter by selection action is highlighted.
|
|
804
|
-
*
|
|
805
|
-
* @deprecated since 5.2. Use [filterBySelectionActive](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-charts-action-bar/#filterBySelectionActive) instead.
|
|
806
|
-
* @default "inactive"
|
|
807
|
-
*/
|
|
808
|
-
accessor filterBySelectionToggle: ActionToggle;
|
|
809
718
|
/**
|
|
810
719
|
* When `true`, the filter by view extent action is active.
|
|
811
720
|
*
|
|
@@ -846,22 +755,8 @@ export abstract class ArcgisChartsActionBar extends LitElement {
|
|
|
846
755
|
* @since 5.2
|
|
847
756
|
*/
|
|
848
757
|
accessor fullExtentDisabled: boolean;
|
|
849
|
-
/**
|
|
850
|
-
* When `disabled`, interaction with the full extent action is prevented and the action is displayed with lower opacity.
|
|
851
|
-
*
|
|
852
|
-
* @deprecated since 5.2. Use [fullExtentDisabled](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-charts-action-bar/#fullExtentDisabled) instead.
|
|
853
|
-
* @default "enabled"
|
|
854
|
-
*/
|
|
855
|
-
accessor fullExtentState: ActionState;
|
|
856
758
|
/** Custom title for the full extent action. */
|
|
857
759
|
accessor fullExtentTitle: string | undefined;
|
|
858
|
-
/**
|
|
859
|
-
* When `active`, the full extent action is highlighted.
|
|
860
|
-
*
|
|
861
|
-
* @deprecated since 5.2. Use [fullExtentActive](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-charts-action-bar/#fullExtentActive) instead.
|
|
862
|
-
* @default "inactive"
|
|
863
|
-
*/
|
|
864
|
-
accessor fullExtentToggle: ActionToggle;
|
|
865
760
|
/**
|
|
866
761
|
* Holds a list of actions to hide from the action bar.
|
|
867
762
|
*
|
|
@@ -882,22 +777,8 @@ export abstract class ArcgisChartsActionBar extends LitElement {
|
|
|
882
777
|
* @since 5.2
|
|
883
778
|
*/
|
|
884
779
|
accessor legendDisabled: boolean;
|
|
885
|
-
/**
|
|
886
|
-
* When `disabled`, interaction with the legend action is prevented and the action is displayed with lower opacity.
|
|
887
|
-
*
|
|
888
|
-
* @deprecated since 5.2. Use [legendDisabled](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-charts-action-bar/#legendDisabled) instead.
|
|
889
|
-
* @default "enabled"
|
|
890
|
-
*/
|
|
891
|
-
accessor legendState: ActionState;
|
|
892
780
|
/** Custom title for the legend action. */
|
|
893
781
|
accessor legendTitle: string | undefined;
|
|
894
|
-
/**
|
|
895
|
-
* When `active`, the legend action is highlighted.
|
|
896
|
-
*
|
|
897
|
-
* @deprecated since 5.2. Use [legendActive](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-charts-action-bar/#legendActive) instead.
|
|
898
|
-
* @default "inactive"
|
|
899
|
-
*/
|
|
900
|
-
accessor legendToggle: ActionToggle;
|
|
901
782
|
/** Overwrite localized strings for this component. */
|
|
902
783
|
accessor messageOverrides: {
|
|
903
784
|
legend?: string | undefined;
|
|
@@ -929,22 +810,8 @@ export abstract class ArcgisChartsActionBar extends LitElement {
|
|
|
929
810
|
* @since 5.2
|
|
930
811
|
*/
|
|
931
812
|
accessor rotateChartDisabled: boolean;
|
|
932
|
-
/**
|
|
933
|
-
* When `disabled`, interaction with the rotate chart action is prevented and the action is displayed with lower opacity.
|
|
934
|
-
*
|
|
935
|
-
* @deprecated since 5.2. Use [rotateChartDisabled](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-charts-action-bar/#rotateChartDisabled) instead.
|
|
936
|
-
* @default "enabled"
|
|
937
|
-
*/
|
|
938
|
-
accessor rotateChartState: ActionState;
|
|
939
813
|
/** Custom title for the rotate chart action. */
|
|
940
814
|
accessor rotateChartTitle: string | undefined;
|
|
941
|
-
/**
|
|
942
|
-
* When `active`, the rotate chart action is highlighted.
|
|
943
|
-
*
|
|
944
|
-
* @deprecated since 5.2. Use [rotateChartActive](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-charts-action-bar/#rotateChartActive) instead.
|
|
945
|
-
* @default "inactive"
|
|
946
|
-
*/
|
|
947
|
-
accessor rotateChartToggle: ActionToggle;
|
|
948
815
|
/**
|
|
949
816
|
* When `true`, the selection action is active.
|
|
950
817
|
*
|
|
@@ -959,22 +826,8 @@ export abstract class ArcgisChartsActionBar extends LitElement {
|
|
|
959
826
|
* @since 5.2
|
|
960
827
|
*/
|
|
961
828
|
accessor selectionDisabled: boolean;
|
|
962
|
-
/**
|
|
963
|
-
* When `disabled`, interaction with the selection action is prevented and the action is displayed with lower opacity.
|
|
964
|
-
*
|
|
965
|
-
* @deprecated since 5.2. Use [selectionDisabled](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-charts-action-bar/#selectionDisabled) instead.
|
|
966
|
-
* @default "enabled"
|
|
967
|
-
*/
|
|
968
|
-
accessor selectionState: ActionState;
|
|
969
829
|
/** Custom title for the selection action. */
|
|
970
830
|
accessor selectionTitle: string | undefined;
|
|
971
|
-
/**
|
|
972
|
-
* When `active`, the selection action is highlighted.
|
|
973
|
-
*
|
|
974
|
-
* @deprecated since 5.2. Use [selectionActive](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-charts-action-bar/#selectionActive) instead.
|
|
975
|
-
* @default "inactive"
|
|
976
|
-
*/
|
|
977
|
-
accessor selectionToggle: ActionToggle;
|
|
978
831
|
/**
|
|
979
832
|
* When `true`, the switch selection action is active.
|
|
980
833
|
*
|
|
@@ -989,22 +842,8 @@ export abstract class ArcgisChartsActionBar extends LitElement {
|
|
|
989
842
|
* @since 5.2
|
|
990
843
|
*/
|
|
991
844
|
accessor switchSelectionDisabled: boolean;
|
|
992
|
-
/**
|
|
993
|
-
* When `disabled`, interaction with the switch selection action is prevented and the action is displayed with lower opacity.
|
|
994
|
-
*
|
|
995
|
-
* @deprecated since 5.2. Use [switchSelectionDisabled](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-charts-action-bar/#switchSelectionDisabled) instead.
|
|
996
|
-
* @default "enabled"
|
|
997
|
-
*/
|
|
998
|
-
accessor switchSelectionState: ActionState;
|
|
999
845
|
/** Custom title for the switch selection action. */
|
|
1000
846
|
accessor switchSelectionTitle: string | undefined;
|
|
1001
|
-
/**
|
|
1002
|
-
* When `active`, the switch selection action is highlighted.
|
|
1003
|
-
*
|
|
1004
|
-
* @deprecated since 5.2. Use [switchSelectionActive](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-charts-action-bar/#switchSelectionActive) instead.
|
|
1005
|
-
* @default "inactive"
|
|
1006
|
-
*/
|
|
1007
|
-
accessor switchSelectionToggle: ActionToggle;
|
|
1008
847
|
/**
|
|
1009
848
|
* When `true`, the zoom action is active.
|
|
1010
849
|
*
|
|
@@ -1019,22 +858,8 @@ export abstract class ArcgisChartsActionBar extends LitElement {
|
|
|
1019
858
|
* @since 5.2
|
|
1020
859
|
*/
|
|
1021
860
|
accessor zoomDisabled: boolean;
|
|
1022
|
-
/**
|
|
1023
|
-
* When `disabled`, interaction with the zoom action is prevented and the action is displayed with lower opacity.
|
|
1024
|
-
*
|
|
1025
|
-
* @deprecated since 5.2. Use [zoomDisabled](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-charts-action-bar/#zoomDisabled) instead.
|
|
1026
|
-
* @default "enabled"
|
|
1027
|
-
*/
|
|
1028
|
-
accessor zoomState: ActionState;
|
|
1029
861
|
/** Custom title for the zoom action. */
|
|
1030
862
|
accessor zoomTitle: string | undefined;
|
|
1031
|
-
/**
|
|
1032
|
-
* When `active`, the zoom action is highlighted.
|
|
1033
|
-
*
|
|
1034
|
-
* @deprecated since 5.2. Use [zoomActive](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-charts-action-bar/#zoomActive) instead.
|
|
1035
|
-
* @default "inactive"
|
|
1036
|
-
*/
|
|
1037
|
-
accessor zoomToggle: ActionToggle;
|
|
1038
863
|
/** Event triggered once action bar expand is toggled. */
|
|
1039
864
|
readonly arcgisActionBarToggle: import("@arcgis/lumina").TargetedEvent<this, boolean>;
|
|
1040
865
|
/** Event triggered once a default action is selected. */
|
|
@@ -1,43 +1,46 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
2
|
import { c as M } from "../../chunks/runtime.js";
|
|
3
|
-
import { css as
|
|
4
|
-
import { S as
|
|
3
|
+
import { css as V, html as s } from "lit";
|
|
4
|
+
import { S as $ } from "../../chunks/interfaces.js";
|
|
5
5
|
import { g as O } from "../../chunks/action-bar-utils.js";
|
|
6
|
-
import { u as
|
|
7
|
-
import { createRef as
|
|
8
|
-
import { LitElement as
|
|
9
|
-
import { a as
|
|
10
|
-
import { i as
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import { a as
|
|
14
|
-
import { i as
|
|
15
|
-
function
|
|
16
|
-
return
|
|
6
|
+
import { u as E } from "../../chunks/useT9n.js";
|
|
7
|
+
import { createRef as g, ref as C } from "lit/directives/ref.js";
|
|
8
|
+
import { LitElement as I, renderElement as S, safeStyleMap as D, createEvent as T, safeClassMap as z, nothing as a } from "@arcgis/lumina";
|
|
9
|
+
import { a as o } from "../../chunks/chart-ui-utils.js";
|
|
10
|
+
import { i as _ } from "../../chunks/rotated-state.js";
|
|
11
|
+
import { D as t } from "../../chunks/index4.js";
|
|
12
|
+
import { W as y } from "../../chunks/index.js";
|
|
13
|
+
import { a as B } from "../../chunks/chart-object-literals.js";
|
|
14
|
+
import { i as n, j as k } from "../../chunks/type-guards.js";
|
|
15
|
+
function L(r) {
|
|
16
|
+
return r?.tagName.toLowerCase() === "arcgis-chart";
|
|
17
17
|
}
|
|
18
|
-
const
|
|
18
|
+
const F = {
|
|
19
19
|
actionBar: "action-bar"
|
|
20
|
-
},
|
|
21
|
-
class
|
|
20
|
+
}, N = V`.action-bar{display:flex;flex-direction:column;height:100%;border-right:1px solid var(--calcite-color-border-2);width:fit-content}:host{z-index:1001}`;
|
|
21
|
+
class R extends I {
|
|
22
22
|
constructor() {
|
|
23
|
-
super(...arguments), this.calciteActionBar =
|
|
23
|
+
super(...arguments), this.calciteActionBar = g(), this.exportCalciteActionBar = g(), this.expandAction = null, this._messages = E(), this.commonStrings = E({ name: "common", blocking: !0 }), this.handleMouseOver = (i) => {
|
|
24
24
|
if (this.calciteActionBar.value && !this.calciteActionBar.value?.expanded) {
|
|
25
|
-
const
|
|
26
|
-
this.actionTooltip !== void 0 && (this.actionTooltip =
|
|
27
|
-
let
|
|
28
|
-
|
|
25
|
+
const l = i.target;
|
|
26
|
+
this.actionTooltip !== void 0 && (this.actionTooltip = o(this.actionTooltip));
|
|
27
|
+
let e;
|
|
28
|
+
l?.tagName === "CALCITE-ACTION" ? e = l : (l?.tagName === "CALCITE-ACTION-MENU" || l?.tagName === "DIV") && (e = l.firstChild), e !== void 0 && (this.actionTooltip = S(s`<calcite-tooltip style=${D({ opacity: 1, zIndex: "var(--calcite-floating-ui-z-index)" })} .referenceElement=${e} open placement=trailing-end>${e.text}</calcite-tooltip>`), document.body.appendChild(this.actionTooltip));
|
|
29
29
|
} else
|
|
30
|
-
this.actionTooltip =
|
|
31
|
-
}, this.
|
|
30
|
+
this.actionTooltip = o(this.actionTooltip);
|
|
31
|
+
}, this.actionTooltip = null, this.forceDisableActions = !1, this.editChartActive = !1, this.editChartEnabled = !1, this.legendActive = !1, this.legendDisabled = !1, this.rotateChartActive = !1, this.rotateChartDisabled = !1, this.filterBySelectionActive = !1, this.filterBySelectionDisabled = !1, this.filterByViewExtentActive = !1, this.filterByViewExtentDisabled = !1, this.actionBarSelectionMode = y.MultiSelectionWithCtrlKey, this.selectionActive = !1, this.selectionDisabled = !1, this.zoomActive = !1, this.zoomDisabled = !1, this.fullExtentActive = !1, this.fullExtentDisabled = !1, this.clearSelectionActive = !1, this.clearSelectionDisabled = !1, this.switchSelectionActive = !1, this.switchSelectionDisabled = !1, this.exportAsImageDisabled = !1, this.exportAsCSVDisabled = !1, this.csvExportExclusionList = [
|
|
32
|
+
B.ScatterSeries,
|
|
33
|
+
B.BoxPlotSeries
|
|
34
|
+
], this.exportActionDisabled = !1, this.expanded = !1, this.hiddenActions = [t.EditChart], this.arcgisActionBarToggle = T(), this.arcgisDefaultActionSelect = T();
|
|
32
35
|
}
|
|
33
36
|
static {
|
|
34
|
-
this.properties = { actionTooltip: 16, messageOverrides: 0, chartType: 1, chartElement: 0, forceDisableActions: 5,
|
|
37
|
+
this.properties = { actionTooltip: 16, messageOverrides: 0, chartType: 1, chartElement: 0, forceDisableActions: 5, editChartActive: 5, editChartEnabled: 5, editChartTitle: 1, legendActive: 5, legendDisabled: 5, legendTitle: 1, rotateChartActive: 5, rotateChartDisabled: 5, rotateChartTitle: 1, filterBySelectionActive: 5, filterBySelectionDisabled: 5, filterBySelectionTitle: 1, filterByViewExtentActive: 5, filterByViewExtentDisabled: 5, filterByViewExtentTitle: 1, actionBarSelectionMode: 1, selectionActive: 5, selectionDisabled: 5, selectionTitle: 1, zoomActive: 5, zoomDisabled: 5, zoomTitle: 1, fullExtentActive: 5, fullExtentDisabled: 5, fullExtentTitle: 1, clearSelectionActive: 5, clearSelectionDisabled: 5, clearSelectionTitle: 1, switchSelectionActive: 5, switchSelectionDisabled: 5, switchSelectionTitle: 1, exportAsImageDisabled: 5, exportAsImageTitle: 1, exportAsCSVDisabled: 5, exportAsCSVTitle: 1, csvExportExclusionList: 0, exportActionDisabled: 5, expanded: 5, hiddenActions: 0 };
|
|
35
38
|
}
|
|
36
39
|
static {
|
|
37
|
-
this.styles =
|
|
40
|
+
this.styles = N;
|
|
38
41
|
}
|
|
39
42
|
load() {
|
|
40
|
-
this.chartElement =
|
|
43
|
+
this.chartElement = L(this.el.parentElement) ? this.el.parentElement : void 0;
|
|
41
44
|
}
|
|
42
45
|
updated() {
|
|
43
46
|
this.handleExpandTooltip();
|
|
@@ -45,103 +48,103 @@ class W extends _ {
|
|
|
45
48
|
disconnectedCallback() {
|
|
46
49
|
super.disconnectedCallback(), this.actionTooltip?.remove();
|
|
47
50
|
}
|
|
48
|
-
async onDefaultActionClick(
|
|
49
|
-
const
|
|
50
|
-
actionId:
|
|
51
|
+
async onDefaultActionClick(i) {
|
|
52
|
+
const l = i.currentTarget, e = {
|
|
53
|
+
actionId: l.id,
|
|
51
54
|
actionActive: !1
|
|
52
55
|
};
|
|
53
|
-
switch (
|
|
54
|
-
case
|
|
55
|
-
const
|
|
56
|
-
this.
|
|
56
|
+
switch (l.id) {
|
|
57
|
+
case t.EditChart: {
|
|
58
|
+
const c = !this.editChartActive;
|
|
59
|
+
this.editChartActive = c, e.actionActive = c;
|
|
57
60
|
break;
|
|
58
61
|
}
|
|
59
|
-
case
|
|
60
|
-
const
|
|
61
|
-
this.
|
|
62
|
+
case t.Legend: {
|
|
63
|
+
const c = !this.legendActive;
|
|
64
|
+
this.legendActive = c, e.actionActive = c, n(this.chartElement?.model) && k(this.chartElement?.model) && (this.chartElement.model.legendVisibility = e.actionActive), this.chartElement?.model && (n(this.chartElement.model) ? k(this.chartElement.model) && (this.chartElement.model.legendVisibility = e.actionActive) : this.chartElement.model.rotated = this.chartElement.model.rotated !== !0);
|
|
62
65
|
break;
|
|
63
66
|
}
|
|
64
|
-
case
|
|
65
|
-
const
|
|
66
|
-
this.
|
|
67
|
+
case t.RotateChart: {
|
|
68
|
+
const c = !this.rotateChartActive;
|
|
69
|
+
this.rotateChartActive = c, e.actionActive = c, this.chartElement?.model && (n(this.chartElement.model) ? _(this.chartElement.model) && (this.chartElement.model.rotated = e.actionActive) : this.chartElement.model.rotated = this.chartElement.model.rotated !== !0);
|
|
67
70
|
break;
|
|
68
71
|
}
|
|
69
|
-
case
|
|
70
|
-
const
|
|
71
|
-
this.
|
|
72
|
+
case t.FilterBySelection: {
|
|
73
|
+
const c = !this.filterBySelectionActive;
|
|
74
|
+
this.filterBySelectionActive = c, e.actionActive = c, this.chartElement !== void 0 && (this.chartElement.filterBySelection = e.actionActive);
|
|
72
75
|
break;
|
|
73
76
|
}
|
|
74
|
-
case
|
|
75
|
-
const
|
|
76
|
-
this.
|
|
77
|
+
case t.FilterByViewExtent: {
|
|
78
|
+
const c = !this.filterByViewExtentActive;
|
|
79
|
+
this.filterByViewExtentActive = c, e.actionActive = c, this.chartElement !== void 0 && (this.chartElement.filterByViewExtent = e.actionActive);
|
|
77
80
|
break;
|
|
78
81
|
}
|
|
79
|
-
case
|
|
80
|
-
this.
|
|
82
|
+
case t.Selection: {
|
|
83
|
+
this.selectionActive = !0, this.zoomActive = !1, e.actionActive = !0, this.chartElement !== void 0 && (this.chartElement.actionMode = this.actionBarSelectionMode);
|
|
81
84
|
break;
|
|
82
85
|
}
|
|
83
|
-
case
|
|
84
|
-
this.
|
|
86
|
+
case t.Zoom: {
|
|
87
|
+
this.zoomActive = !0, this.selectionActive = !1, e.actionActive = !0, this.chartElement !== void 0 && (this.chartElement.actionMode = y.Zoom);
|
|
85
88
|
break;
|
|
86
89
|
}
|
|
87
|
-
case
|
|
88
|
-
|
|
90
|
+
case t.ClearSelection:
|
|
91
|
+
e.actionActive = this.clearSelectionActive, this.chartElement?.clearSelection();
|
|
89
92
|
break;
|
|
90
|
-
case
|
|
91
|
-
|
|
93
|
+
case t.FullExtent:
|
|
94
|
+
e.actionActive = this.fullExtentActive, this.chartElement?.resetZoom();
|
|
92
95
|
break;
|
|
93
|
-
case
|
|
94
|
-
|
|
96
|
+
case t.SwitchSelection:
|
|
97
|
+
e.actionActive = this.switchSelectionActive, this.chartElement?.switchSelection();
|
|
95
98
|
break;
|
|
96
|
-
case
|
|
97
|
-
|
|
99
|
+
case t.ExportAsImage:
|
|
100
|
+
e.actionActive = !0, await this.chartElement?.exportAsImage();
|
|
98
101
|
break;
|
|
99
|
-
case
|
|
100
|
-
|
|
102
|
+
case t.ExportAsCSV:
|
|
103
|
+
e.actionActive = !0, await this.chartElement?.exportAsCSV();
|
|
101
104
|
break;
|
|
102
105
|
}
|
|
103
|
-
this.arcgisDefaultActionSelect.emit(
|
|
106
|
+
this.arcgisDefaultActionSelect.emit(e);
|
|
104
107
|
}
|
|
105
108
|
handleCalciteActionBarToggle() {
|
|
106
109
|
this.expanded = this.calciteActionBar.value?.expanded ?? !1, this.setCustomActionsExpanded(), this.arcgisActionBarToggle.emit(this.expanded);
|
|
107
110
|
}
|
|
108
111
|
handleMouseOut() {
|
|
109
|
-
this.actionTooltip !== null && (this.actionTooltip =
|
|
112
|
+
this.actionTooltip !== null && (this.actionTooltip = o(this.actionTooltip));
|
|
110
113
|
}
|
|
111
|
-
handleSlotChange(
|
|
112
|
-
const
|
|
113
|
-
for (const
|
|
114
|
-
|
|
114
|
+
handleSlotChange(i) {
|
|
115
|
+
const e = i.currentTarget.assignedElements();
|
|
116
|
+
for (const c of e)
|
|
117
|
+
c.onmouseover = this.handleMouseOver;
|
|
115
118
|
}
|
|
116
119
|
setCustomActionsExpanded() {
|
|
117
|
-
this.el.querySelectorAll("calcite-action").forEach((
|
|
118
|
-
const
|
|
119
|
-
|
|
120
|
+
this.el.querySelectorAll("calcite-action").forEach((i) => {
|
|
121
|
+
const l = i;
|
|
122
|
+
l.textEnabled = this.expanded;
|
|
120
123
|
});
|
|
121
124
|
}
|
|
122
125
|
handleExpandTooltip() {
|
|
123
126
|
this.expandAction === null && (this.expandAction = this.calciteActionBar.value?.shadowRoot?.querySelector("calcite-action") ?? null, this.expandAction !== null && (this.listenOn(this.expandAction, "mouseenter", () => {
|
|
124
|
-
!this.calciteActionBar.value?.expanded && this.expandAction !== null && !document.body.contains(this.actionTooltip) && (this.actionTooltip =
|
|
127
|
+
!this.calciteActionBar.value?.expanded && this.expandAction !== null && !document.body.contains(this.actionTooltip) && (this.actionTooltip = S(s`<calcite-tooltip style=${D({ opacity: 1, zIndex: "var(--calcite-floating-ui-z-index)" })} .referenceElement=${this.expandAction} open placement=trailing-end>${this._messages.expand ?? ""}</calcite-tooltip>`), document.body.appendChild(this.actionTooltip));
|
|
125
128
|
}), this.listenOn(this.expandAction, "mouseleave", () => {
|
|
126
|
-
!this.calciteActionBar.value?.expanded && this.actionTooltip !== null && (this.actionTooltip =
|
|
129
|
+
!this.calciteActionBar.value?.expanded && this.actionTooltip !== null && (this.actionTooltip = o(this.actionTooltip));
|
|
127
130
|
}), this.listenOn(this.expandAction, "click", () => {
|
|
128
|
-
this.calciteActionBar.value?.expanded && this.actionTooltip !== null && (this.actionTooltip =
|
|
131
|
+
this.calciteActionBar.value?.expanded && this.actionTooltip !== null && (this.actionTooltip = o(this.actionTooltip));
|
|
129
132
|
})));
|
|
130
133
|
}
|
|
131
134
|
renderDefaultActions() {
|
|
132
|
-
const
|
|
135
|
+
const i = O(this.chartType).filter((w) => !this.hiddenActions?.includes(w)), l = this.chartElement?.layer && "isTable" in this.chartElement.layer ? this.chartElement.layer.isTable : !1, e = i.includes(t.EditChart), c = i.includes(t.Legend), h = i.includes(t.RotateChart), d = i.includes(t.FilterBySelection), m = i.includes(t.FilterByViewExtent) && !l, A = i.includes(t.Zoom), u = i.includes(t.Selection), f = i.includes(t.ClearSelection), v = i.includes(t.FullExtent), p = i.includes(t.SwitchSelection), x = i.includes(t.ExportAsImage), b = i.includes(t.ExportAsCSV);
|
|
133
136
|
return [
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
137
|
+
c || h ? s`<calcite-action-group>${e ? s`<div @mouseover=${this.handleMouseOver}><calcite-action id=${t.EditChart ?? a} icon=gear .text=${this.commonStrings?.utilsStrings.actions?.editChart ?? ""} .textEnabled=${this.expanded} .active=${this.editChartActive} .disabled=${!this.editChartEnabled || this.forceDisableActions} @click=${this.onDefaultActionClick}></calcite-action></div>` : null}${c ? s`<div @mouseover=${this.handleMouseOver}><calcite-action id=${t.Legend ?? a} .text=${this.legendTitle ?? this._messages?.legend ?? ""} .textEnabled=${this.expanded} .active=${this.legendActive} .disabled=${this.legendDisabled || this.forceDisableActions} @click=${this.onDefaultActionClick}><calcite-icon icon=legend scale=s flip-rtl></calcite-icon></calcite-action></div>` : null}${h ? s`<div @mouseover=${this.handleMouseOver}><calcite-action id=${t.RotateChart ?? a} icon=rotate .text=${this.rotateChartTitle ?? this._messages?.rotateChart ?? ""} .textEnabled=${this.expanded} .active=${this.rotateChartActive} .disabled=${this.rotateChartDisabled || this.forceDisableActions} @click=${this.onDefaultActionClick}></calcite-action></div>` : null}</calcite-action-group>` : null,
|
|
138
|
+
d || m ? s`<calcite-action-group>${d ? s`<div @mouseover=${this.handleMouseOver}><calcite-action id=${t.FilterBySelection ?? a} icon=selection-filter .text=${this.filterBySelectionTitle ?? this._messages?.filterBySelection ?? ""} .textEnabled=${this.expanded} .active=${this.filterBySelectionActive} .disabled=${this.filterBySelectionDisabled || this.forceDisableActions} @click=${this.onDefaultActionClick}></calcite-action></div>` : null}${m ? s`<div @mouseover=${this.handleMouseOver}><calcite-action id=${t.FilterByViewExtent ?? a} icon=extent-filter .text=${this.filterByViewExtentTitle ?? this._messages?.filterByExtent ?? ""} .textEnabled=${this.expanded} .active=${this.filterByViewExtentActive} .disabled=${this.filterByViewExtentDisabled || this.forceDisableActions} @click=${this.onDefaultActionClick}></calcite-action></div>` : null}</calcite-action-group>` : null,
|
|
139
|
+
u || A || v || f || p ? s`<calcite-action-group>${A ? s`<div @mouseover=${this.handleMouseOver}><calcite-action id=${t.Zoom ?? a} icon=magnifying-glass .text=${this.zoomTitle ?? this._messages?.zoom ?? ""} .textEnabled=${this.expanded} .active=${this.zoomActive} .disabled=${this.zoomDisabled || this.forceDisableActions} @click=${this.onDefaultActionClick}></calcite-action></div>` : null}${u ? s`<div @mouseover=${this.handleMouseOver}><calcite-action id=${t.Selection ?? a} icon=cursor-selection .text=${this.selectionTitle ?? this._messages?.selection ?? ""} .textEnabled=${this.expanded} .active=${this.selectionActive} .disabled=${this.selectionDisabled || this.forceDisableActions} @click=${this.onDefaultActionClick}></calcite-action></div>` : null}${f ? s`<div @mouseover=${this.handleMouseOver}><calcite-action id=${t.ClearSelection ?? a} icon=erase .text=${this.clearSelectionTitle ?? this._messages?.clearSelection ?? ""} .textEnabled=${this.expanded} .active=${this.clearSelectionActive} .disabled=${this.clearSelectionDisabled || this.forceDisableActions} @click=${this.onDefaultActionClick}></calcite-action></div>` : null}${v ? s`<div @mouseover=${this.handleMouseOver}><calcite-action id=${t.FullExtent ?? a} icon=zoom-out-fixed .text=${this.fullExtentTitle ?? this._messages?.fullExtent ?? ""} .textEnabled=${this.expanded} .active=${this.fullExtentActive} .disabled=${this.fullExtentDisabled || this.forceDisableActions} @click=${this.onDefaultActionClick}></calcite-action></div>` : null}${p ? s`<div @mouseover=${this.handleMouseOver}><calcite-action id=${t.SwitchSelection ?? a} icon=arrow-right-left .text=${this.switchSelectionTitle ?? this._messages?.switchSelection ?? ""} .textEnabled=${this.expanded} .active=${this.switchSelectionActive} .disabled=${this.switchSelectionDisabled || this.forceDisableActions} @click=${this.onDefaultActionClick}></calcite-action></div>` : null}</calcite-action-group>` : null,
|
|
140
|
+
x || b ? s`<calcite-action-menu .label=${this._messages?.export ?? ""} ${C(this.exportCalciteActionBar)}><calcite-action id=export icon=export .text=${this._messages?.export ?? ""} .textEnabled=${this.expanded} .disabled=${this.exportActionDisabled || this.forceDisableActions} @mouseover=${this.handleMouseOver} slot=trigger></calcite-action>${x ? s`<div><calcite-action id=${t.ExportAsImage ?? a} icon=graph-bar .text=${this.exportAsImageTitle ?? this._messages?.exportAsImage ?? ""} .disabled=${this.exportAsImageDisabled || this.forceDisableActions} @click=${this.onDefaultActionClick} text-enabled></calcite-action></div>` : null}${b ? s`<div><calcite-action id=${t.ExportAsCSV ?? a} icon=table .text=${this.exportAsCSVTitle ?? this._messages?.exportAsTable ?? ""} .disabled=${this.exportAsCSVDisabled || this.forceDisableActions || this.chartType && this.csvExportExclusionList.includes(this.chartType)} @click=${this.onDefaultActionClick} text-enabled></calcite-action></div>` : null}</calcite-action-menu>` : null
|
|
138
141
|
];
|
|
139
142
|
}
|
|
140
143
|
render() {
|
|
141
|
-
return
|
|
144
|
+
return s`<calcite-action-bar class=${z(F.actionBar)} @calciteActionBarToggle=${this.handleCalciteActionBarToggle} @mouseout=${this.handleMouseOut} .expanded=${this.expanded} .messageOverrides=${{ expand: this._messages.expand, collapse: this._messages.collapse }} overflow-actions-disabled ${C(this.calciteActionBar)}><slot name=${$.customActionTop} @slotchange=${this.handleSlotChange}></slot>${this.renderDefaultActions()}<slot name=${$.customActionBelow} @slotchange=${this.handleSlotChange}></slot></calcite-action-bar>`;
|
|
142
145
|
}
|
|
143
146
|
}
|
|
144
|
-
M("arcgis-charts-action-bar",
|
|
147
|
+
M("arcgis-charts-action-bar", R);
|
|
145
148
|
export {
|
|
146
|
-
|
|
149
|
+
R as ArcgisChartsActionBar
|
|
147
150
|
};
|