@arcgis/charts-components 6.0.0-next.4 → 6.0.0-next.40
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/25GQ2WOU.js +2 -0
- package/dist/cdn/2CNLZPFO.js +2 -0
- package/dist/cdn/{HMZRDWG2.js → 2HC3GCXA.js} +27 -27
- package/dist/cdn/2IRI6FP7.js +2 -0
- package/dist/cdn/{WKF53DYD.js → 2JY4BULO.js} +1 -1
- package/dist/cdn/{OYUTQX4U.js → 2POSDCZH.js} +1 -1
- package/dist/cdn/2S3IMV7O.js +2 -0
- package/dist/cdn/2W6EH2HT.js +2 -0
- package/dist/cdn/{FKES55PK.js → 35MV6UPM.js} +1 -1
- package/dist/cdn/3642CP3R.js +2 -0
- package/dist/cdn/{H5VCT3XP.js → 36MF6B63.js} +1 -1
- package/dist/cdn/3YSNYETN.js +2 -0
- package/dist/cdn/3ZFAYKJQ.js +2 -0
- package/dist/cdn/52TVDV6J.js +2 -0
- package/dist/cdn/6KL6DV3E.js +2 -0
- package/dist/cdn/73YNQF72.js +2 -0
- package/dist/cdn/AGCK7Y3J.js +2 -0
- package/dist/cdn/AHDUDHZR.js +2 -0
- package/dist/cdn/AHPDMFQQ.js +2 -0
- package/dist/cdn/AMVPRTNI.js +2 -0
- package/dist/cdn/B2VFTKK6.js +2 -0
- package/dist/cdn/BIBYAKIS.js +4 -0
- package/dist/cdn/CBWKTXC5.js +2 -0
- package/dist/cdn/D4CBXK5J.js +2 -0
- package/dist/cdn/{OZSHGMU6.js → DH3CD2VT.js} +1 -1
- package/dist/cdn/DKMYO4GP.js +2 -0
- package/dist/cdn/{LPLMRI3E.js → DPNQLXLE.js} +1 -1
- package/dist/cdn/{732AMNPK.js → DVEX52DB.js} +1 -1
- package/dist/cdn/DXIZZBC3.js +4 -0
- package/dist/cdn/ESZG2ICM.js +2 -0
- package/dist/cdn/EYBYOHDN.js +2 -0
- package/dist/cdn/{6RGTAMGU.js → F2UUETR2.js} +1 -1
- package/dist/cdn/FKHPICOV.js +2 -0
- package/dist/cdn/{FM6F6ZYW.js → FKWL3PHQ.js} +1 -1
- package/dist/cdn/FLVDCXI5.js +2 -0
- package/dist/cdn/FVJHFMGW.js +2 -0
- package/dist/cdn/FWB3GJHP.js +2 -0
- package/dist/cdn/FWETNIKF.js +2 -0
- package/dist/cdn/H5VGO7ZZ.js +2 -0
- package/dist/cdn/HAXUUJKD.js +2 -0
- package/dist/cdn/{CLCHZMZ5.js → HEJIMSEP.js} +1 -1
- package/dist/cdn/{GE7CLC6K.js → HNUEP5UH.js} +2 -2
- package/dist/cdn/HTLTED56.js +2 -0
- package/dist/cdn/HXIF6BYN.js +2 -0
- package/dist/cdn/HYPA7F2W.js +2 -0
- package/dist/cdn/{V5Z75IQI.js → IBB72HGQ.js} +5 -5
- package/dist/cdn/IMNOJDGS.js +2 -0
- package/dist/cdn/{33LWKOPD.js → IWIBZTFJ.js} +1 -1
- package/dist/cdn/J5O323AF.js +2 -0
- package/dist/cdn/{MXTS44AG.js → J6XOSXEE.js} +1 -1
- package/dist/cdn/JWNZPKX7.js +2 -0
- package/dist/cdn/JXUSPONB.js +2 -0
- package/dist/cdn/{FNXREQOE.js → KH3XGJ6Z.js} +1 -1
- package/dist/cdn/KIDN7AE6.js +2 -0
- package/dist/cdn/{27C6PCQ2.js → KISYJDGT.js} +1 -1
- package/dist/cdn/KPG4VSFN.js +2 -0
- package/dist/cdn/KQXIXHLV.js +2 -0
- package/dist/cdn/KXKSKVSJ.js +2 -0
- package/dist/cdn/LAVDVQYZ.js +2 -0
- package/dist/cdn/LHMYCCGG.js +2 -0
- package/dist/cdn/LHYIQG2Q.js +2 -0
- package/dist/cdn/LYVMSY65.js +2 -0
- package/dist/cdn/{PIGINE4M.js → M7MSRLEE.js} +1 -1
- package/dist/cdn/MCK5B2BZ.js +2 -0
- package/dist/cdn/{S2BGEXZV.js → MNETNH5F.js} +1 -1
- package/dist/cdn/MNHJXGWB.js +2 -0
- package/dist/cdn/{QQFMQAJ3.js → MUDUWLYM.js} +1 -1
- package/dist/cdn/{2WQNU554.js → N3IQELQL.js} +1 -1
- package/dist/cdn/N4VKOGCE.js +2 -0
- package/dist/cdn/N6IQLOCY.js +2 -0
- package/dist/cdn/NQBZWHCV.js +2 -0
- package/dist/cdn/OAQNKLKH.js +2 -0
- package/dist/cdn/OEYCWE7U.js +2 -0
- package/dist/cdn/ON6KUQYR.js +2 -0
- package/dist/cdn/{INYMF2BQ.js → PDBNCJTF.js} +1 -1
- package/dist/cdn/PLEMHP2B.js +2 -0
- package/dist/cdn/PNMVOOAS.js +2 -0
- package/dist/cdn/{563H5HEV.js → Q63KS3AS.js} +1 -1
- package/dist/cdn/QBZEEHY7.js +2 -0
- package/dist/cdn/QE2PCHA4.js +2 -0
- package/dist/cdn/RAXTWSX7.js +2 -0
- package/dist/cdn/RFI6U64E.js +2 -0
- package/dist/cdn/RYKZNNAE.js +2 -0
- package/dist/cdn/RYSNUM3A.js +2 -0
- package/dist/cdn/S5LVF5UL.js +2 -0
- package/dist/cdn/S6G2OZSX.js +2 -0
- package/dist/cdn/SEAGEOR3.js +2 -0
- package/dist/cdn/SQHNAWY2.js +2 -0
- package/dist/cdn/SWE5OVAM.js +2 -0
- package/dist/cdn/{CUMXC4O4.js → UHIFEXWJ.js} +1 -1
- package/dist/cdn/UQHIV37J.js +2 -0
- package/dist/cdn/V564QSU3.js +2 -0
- package/dist/cdn/W34R4JQD.js +2 -0
- package/dist/cdn/{KK445MLC.js → W7TD4Z24.js} +1 -1
- package/dist/cdn/WSHSXWLF.js +2 -0
- package/dist/cdn/WT6Y3ALM.js +2 -0
- package/dist/cdn/X6JMBWG7.js +2 -0
- package/dist/cdn/XBFYV6W2.js +2 -0
- package/dist/cdn/XFHCIQYP.js +2 -0
- package/dist/cdn/XSQEK2DR.js +2 -0
- package/dist/cdn/{PQ3XCNCP.js → YDKVGUUH.js} +1 -1
- package/dist/cdn/YO7YSHP3.js +2 -0
- package/dist/cdn/Z2LXXRNV.js +2 -0
- package/dist/cdn/ZJAOAKQP.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 -0
- package/dist/chunks/action-bar-utils.js +21 -23
- package/dist/chunks/axis-lines-symbol.js +6 -6
- package/dist/chunks/bar-chart-model.js +6 -8
- package/dist/chunks/box-plot-data.js +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 +13 -14
- package/dist/chunks/histogram-data.js +41 -42
- package/dist/chunks/histogram-model.js +5 -5
- package/dist/chunks/index.js +5433 -4273
- package/dist/chunks/index2.js +1165 -871
- package/dist/chunks/index3.js +10987 -1173
- package/dist/chunks/index4.js +65 -11086
- package/dist/chunks/line-chart-model.js +18 -19
- 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 +6 -7
- 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 +514 -514
- 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 +69 -70
- package/dist/chunks/x-bounds.js +32 -33
- package/dist/components/arcgis-chart/customElement.d.ts +77 -23
- package/dist/components/arcgis-chart/customElement.js +9974 -9746
- package/dist/components/arcgis-charts-action-bar/customElement.js +8 -8
- 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 +409 -415
- package/dist/interfaces.d.ts +1 -15
- package/dist/json-schema/index.d.ts +38 -68
- package/dist/loader.js +3 -3
- 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 +3 -1
- package/dist/types/preact.d.ts +3 -1
- package/dist/types/react.d.ts +3 -1
- package/dist/types/stencil.d.ts +3 -1
- 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/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/{OTV3YYDU.js → 7JMZPDM5.js} +0 -0
- /package/dist/cdn/{373UZR4I.js → 7N2LSD5J.js} +0 -0
- /package/dist/cdn/{SCS4MWFN.js → A6DV5ILW.js} +0 -0
- /package/dist/cdn/{VT3NOR5A.js → BGHJMVNV.js} +0 -0
- /package/dist/cdn/{L4KDCWA7.js → BGVIOGAX.js} +0 -0
- /package/dist/cdn/{Z2IHEWWP.js → CYZPIC2B.js} +0 -0
- /package/dist/cdn/{AVRIN2FL.js → CZKZMSFJ.js} +0 -0
- /package/dist/cdn/{WMGJN3JL.js → D66GTKJ7.js} +0 -0
- /package/dist/cdn/{XR7RCGIT.js → DJGQM3EK.js} +0 -0
- /package/dist/cdn/{PQESGESY.js → FOHR4IFG.js} +0 -0
- /package/dist/cdn/{3DDSV3IF.js → GOVIUHKT.js} +0 -0
- /package/dist/cdn/{KE7XE22Z.js → H44RQIWN.js} +0 -0
- /package/dist/cdn/{W7VPVF72.js → HJUHYEJT.js} +0 -0
- /package/dist/cdn/{57RWTLRG.js → HL6ANDJH.js} +0 -0
- /package/dist/cdn/{HUU3QFFC.js → IDVYAUPY.js} +0 -0
- /package/dist/cdn/{XIE5EUIH.js → IQSNWDU6.js} +0 -0
- /package/dist/cdn/{K43DVQFC.js → JE32QM44.js} +0 -0
- /package/dist/cdn/{52PHJCYM.js → JETTF7E2.js} +0 -0
- /package/dist/cdn/{L26HYK34.js → JSOFN65T.js} +0 -0
- /package/dist/cdn/{LE3B3ATZ.js → KMZIRJIR.js} +0 -0
- /package/dist/cdn/{XUSFQDK4.js → KQ36C2RK.js} +0 -0
- /package/dist/cdn/{O6GVF76X.js → KRRYFLG4.js} +0 -0
- /package/dist/cdn/{4MSDOPVE.js → M4AD4UJU.js} +0 -0
- /package/dist/cdn/{2BPLDZAJ.js → NUH2GAPZ.js} +0 -0
- /package/dist/cdn/{Q4H5YVTW.js → OWEVDN6C.js} +0 -0
- /package/dist/cdn/{GCUOASRZ.js → QCFAV626.js} +0 -0
- /package/dist/cdn/{R4PFJLD2.js → QMBHZ5JE.js} +0 -0
- /package/dist/cdn/{J5VMBGYI.js → SWHSL245.js} +0 -0
- /package/dist/cdn/{C7VQM4TH.js → T7LKXFIZ.js} +0 -0
- /package/dist/cdn/{KCP6AJV7.js → XQTLPFTW.js} +0 -0
- /package/dist/cdn/{3VZK52LO.js → Z5DYKSTK.js} +0 -0
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
import { c as h } from "../../chunks/runtime.js";
|
|
3
3
|
import { css as m, html as s } from "lit";
|
|
4
4
|
import { merge as i } from "es-toolkit/compat";
|
|
5
|
-
import { i as p, m as c, U as r, s as
|
|
6
|
-
import { u } from "../../chunks/useT9n.js";
|
|
7
|
-
import { createRef as S, ref as
|
|
5
|
+
import { i as p, m as c, U as r, s as d } from "../../chunks/chart-ui-utils.js";
|
|
6
|
+
import { u as y } from "../../chunks/useT9n.js";
|
|
7
|
+
import { createRef as S, ref as u } from "lit/directives/ref.js";
|
|
8
8
|
import { LitElement as g, createEvent as f, safeClassMap as n } from "@arcgis/lumina";
|
|
9
|
-
import { Q as v } from "../../chunks/
|
|
9
|
+
import { Q as v } from "../../chunks/index2.js";
|
|
10
10
|
import { b } from "../../chunks/rest-js-object-literals.js";
|
|
11
11
|
const C = {
|
|
12
12
|
arial: "Arial",
|
|
@@ -31,7 +31,7 @@ const C = {
|
|
|
31
31
|
}, $ = m`.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}:host calcite-panel .font-style-container .input-label{--calcite-label-margin-bottom: var(--arcgis-charts-intra-section-margin) !important}:host calcite-panel .font-style-container .number-input{margin-bottom:.5rem;display:flex}:host calcite-panel .font-style-container .number-input>div{width:100%}:host calcite-panel .font-style-container{display:flex}:host calcite-panel .font-style-container calcite-action,:host calcite-panel .font-style-container calcite-label{flex:1 1 0px;display:flex;flex-grow:inherit;width:80px}:host calcite-panel .font-style-container calcite-label{flex-grow:2}:host calcite-panel .font-style-container{padding:0 1rem}:host calcite-panel calcite-label.font{display:block;margin-top:1rem}`;
|
|
32
32
|
class I extends g {
|
|
33
33
|
constructor() {
|
|
34
|
-
super(...arguments), this._messages =
|
|
34
|
+
super(...arguments), this._messages = y(), this.fontSizeInputElement = S(), this.isFontSizeInvalid = !1, this.fontStyle = {
|
|
35
35
|
type: b.TS
|
|
36
36
|
}, this.open = !1, this.enableClose = !1, this.arcgisChartsConfigFontStyleChange = f(), this.arcgisChartsConfigFontStyleClose = f();
|
|
37
37
|
}
|
|
@@ -66,7 +66,7 @@ class I extends g {
|
|
|
66
66
|
} else this.fontSizeInputElement.value && (this.isFontSizeInvalid = !0, c({
|
|
67
67
|
inputElement: this.fontSizeInputElement.value,
|
|
68
68
|
status: r.INVALID
|
|
69
|
-
}));
|
|
69
|
+
}), this.fontStyle.font?.size !== void 0 && (this.fontStyle.font.size = Number(t)));
|
|
70
70
|
}
|
|
71
71
|
boldSelect() {
|
|
72
72
|
let t = "bold";
|
|
@@ -101,7 +101,7 @@ class I extends g {
|
|
|
101
101
|
return this.fontStyle?.font?.family === "" && t.push(s`<calcite-option value selected></calcite-option>`), t;
|
|
102
102
|
}
|
|
103
103
|
render() {
|
|
104
|
-
return s`<calcite-panel .heading=${this.header ?? this._messages.header} .closed=${!this.open} .closable=${this.enableClose ?? !1} @calcitePanelClose=${this.closePanel}><div class=${n(a.fontStyleContainer)}><calcite-label class=${n(a.font)}>${this._messages.font}<calcite-select .label=${this._messages.font ?? ""} @calciteSelectChange=${this.fontChange}>${this.renderFonts()}</calcite-select></calcite-label></div><div class=${n(a.fontStyleContainer)}><calcite-label class=${n(a.inputLabel)}>${this._messages.size}<calcite-input class=${n(a.numberInput)} type=number min=6 max=40 step=1 .value=${
|
|
104
|
+
return s`<calcite-panel .heading=${this.header ?? this._messages.header} .closed=${!this.open} .closable=${this.enableClose ?? !1} @calcitePanelClose=${this.closePanel}><div class=${n(a.fontStyleContainer)}><calcite-label class=${n(a.font)}>${this._messages.font}<calcite-select .label=${this._messages.font ?? ""} @calciteSelectChange=${this.fontChange}>${this.renderFonts()}</calcite-select></calcite-label></div><div class=${n(a.fontStyleContainer)}><calcite-label class=${n(a.inputLabel)}>${this._messages.size}<calcite-input class=${n(a.numberInput)} type=number min=6 max=40 step=1 .value=${d(this.fontStyle?.font?.size)} @calciteInputInput=${this.fontSizeChange} ${u(this.fontSizeInputElement)}></calcite-input><arcgis-charts-config-invalid-input-message .invalidInputMessage=${this._messages.invalidFontSize} .isInvalid=${this.isFontSizeInvalid}></arcgis-charts-config-invalid-input-message></calcite-label><calcite-action appearance=transparent .text=${this._messages.bold ?? ""} @click=${this.boldSelect} scale=l .active=${this.fontStyle?.font?.weight === "bold"} .disabled=${this.isFontSizeInvalid}><calcite-icon scale=s icon=bold></calcite-icon></calcite-action><calcite-action appearance=transparent .text=${this._messages.italic ?? ""} @click=${this.italicSelect} scale=l .active=${this.fontStyle?.font?.style === "italic"} .disabled=${this.isFontSizeInvalid}><calcite-icon scale=s icon=italicize></calcite-icon></calcite-action><calcite-action appearance=transparent .text=${this._messages.underline ?? ""} @click=${this.underlineSelect} scale=l .active=${this.fontStyle?.font?.decoration === "underline"} .disabled=${this.isFontSizeInvalid}><calcite-icon scale=s icon=underline></calcite-icon></calcite-action></div><div class=${n(a.fontStyleContainer)}><arcgis-charts-config-colors .rgba=${this.fontStyle?.color ?? void 0} @arcgisColorSelect=${this.colorChange}></arcgis-charts-config-colors></div></calcite-panel>`;
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
107
|
h("arcgis-charts-config-font-style", I);
|
|
@@ -1,22 +1,21 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
3
|
-
import { ref as
|
|
4
|
-
import { n as
|
|
5
|
-
import { i as
|
|
6
|
-
import { i as
|
|
7
|
-
import { cloneDeep as
|
|
8
|
-
import {
|
|
9
|
-
import { R as
|
|
10
|
-
import { u as
|
|
11
|
-
import { css as
|
|
12
|
-
import { LitElement as
|
|
13
|
-
import { C as
|
|
14
|
-
import { b as u,
|
|
15
|
-
import { r as
|
|
16
|
-
import { C as I } from "../../chunks/index2.js";
|
|
2
|
+
import { c as D } from "../../chunks/runtime.js";
|
|
3
|
+
import { ref as W } from "lit/directives/ref.js";
|
|
4
|
+
import { n as S, l as p, j as g, o as T, c as N, k as z } from "../../chunks/type-guards.js";
|
|
5
|
+
import { i as C } from "../../chunks/data-labels-symbol.js";
|
|
6
|
+
import { i as L, a as P, b as E } from "../../chunks/axis-lines-symbol.js";
|
|
7
|
+
import { cloneDeep as c, isArray as M, isObject as B, mergeWith as H, isEmpty as v } from "es-toolkit/compat";
|
|
8
|
+
import { g as j, j as I } from "../../chunks/chart-ui-utils.js";
|
|
9
|
+
import { R, b as y } from "../../chunks/rest-js-object-literals.js";
|
|
10
|
+
import { u as O } from "../../chunks/useT9n.js";
|
|
11
|
+
import { css as X, html as b } from "lit";
|
|
12
|
+
import { LitElement as _, renderElement as Y, safeClassMap as f, safeStyleMap as U } from "@arcgis/lumina";
|
|
13
|
+
import { C as q, F as i, L as d } from "../../chunks/common.js";
|
|
14
|
+
import { b as u, ci as r, C as J } from "../../chunks/index.js";
|
|
15
|
+
import { r as V } from "../../chunks/popover-ui-utils.js";
|
|
17
16
|
import { a } from "../../chunks/chart-object-literals.js";
|
|
18
|
-
const
|
|
19
|
-
type:
|
|
17
|
+
const k = {
|
|
18
|
+
type: y.TS,
|
|
20
19
|
color: [1, 1, 1, 255],
|
|
21
20
|
font: {
|
|
22
21
|
family: "Tahoma",
|
|
@@ -25,19 +24,19 @@ const v = {
|
|
|
25
24
|
style: "normal",
|
|
26
25
|
weight: "normal"
|
|
27
26
|
}
|
|
28
|
-
},
|
|
29
|
-
type:
|
|
27
|
+
}, F = {
|
|
28
|
+
type: y.SLS,
|
|
30
29
|
color: [1, 1, 1, 255],
|
|
31
|
-
style:
|
|
30
|
+
style: R.Solid,
|
|
32
31
|
width: 2
|
|
33
|
-
},
|
|
32
|
+
}, x = {
|
|
34
33
|
element: "chart-element",
|
|
35
34
|
elementList: "element-list",
|
|
36
35
|
sectionLabel: "section-label"
|
|
37
|
-
},
|
|
38
|
-
class
|
|
36
|
+
}, Q = X`.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{width:var(--arcgis-charts-config-calcite-block-default-width);margin:var(--arcgis-charts-config-calcite-block-default-margin)}.section-label{display:flex;margin:var(--arcgis-charts-config-margin-major) var(--arcgis-charts-config-margin-minor);justify-content:space-between;align-items:center;font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size-0)}.element-list{margin:var(--arcgis-charts-config-margin-minor)}.element{user-select:none}`;
|
|
37
|
+
class Z extends _ {
|
|
39
38
|
constructor() {
|
|
40
|
-
super(...arguments), this._messages =
|
|
39
|
+
super(...arguments), this._messages = O(), this.formatPopover = null, this.selectableElements = [], this.textProperties = [], this.symbolProperties = [], this.symbolPropertyChange = (t) => {
|
|
41
40
|
const e = t;
|
|
42
41
|
e.stopImmediatePropagation();
|
|
43
42
|
let s;
|
|
@@ -45,7 +44,7 @@ class X extends H {
|
|
|
45
44
|
this.selectedSymbols = [], this.updateSelectedElement(this.selectedSymbols);
|
|
46
45
|
else {
|
|
47
46
|
const o = this.getFormatValue(s);
|
|
48
|
-
this.selectedSymbols = [s], this.initSelectedSymbols(u(o) ? o :
|
|
47
|
+
this.selectedSymbols = [s], this.initSelectedSymbols(u(o) ? o : F);
|
|
49
48
|
}
|
|
50
49
|
this.setupFormatPopover();
|
|
51
50
|
}, this.textPropertyChange = (t) => {
|
|
@@ -55,8 +54,8 @@ class X extends H {
|
|
|
55
54
|
if (e.target?.localName === "calcite-list-item" ? s = e.target?.value : s = e.target?.parentNode?.value, this.selectedSymbols = [], this.selectedBackground = [], e.shiftKey) {
|
|
56
55
|
this.selectedTexts = [];
|
|
57
56
|
const o = this.textProperties.indexOf(this.lastSelectedText ?? s), l = this.textProperties.indexOf(s);
|
|
58
|
-
this.textProperties.forEach((
|
|
59
|
-
|
|
57
|
+
this.textProperties.forEach((n, m) => {
|
|
58
|
+
m >= Math.min(o, l) && m <= Math.max(o, l) && this.selectedTexts.push(n);
|
|
60
59
|
}), this.updateSelectedElement(this.selectedTexts), this.setupFormatPopover();
|
|
61
60
|
} else if (e.ctrlKey)
|
|
62
61
|
this.selectedTexts.includes(s) ? (this.selectedTexts = this.selectedTexts.filter((o) => o !== s), this.updateSelectedElement(this.selectedTexts)) : (this.selectedTexts = [...this.selectedTexts, s], this.updateSelectedElement(this.selectedTexts)), this.setupFormatPopover();
|
|
@@ -64,7 +63,7 @@ class X extends H {
|
|
|
64
63
|
this.selectedTexts = [], this.updateSelectedElement(this.selectedTexts), this.setupFormatPopover();
|
|
65
64
|
else {
|
|
66
65
|
const o = this.getFormatValue(s);
|
|
67
|
-
this.selectedTexts = [s], this.initSelectedTexts(r(o) ? o :
|
|
66
|
+
this.selectedTexts = [s], this.initSelectedTexts(r(o) ? o : k), this.setupFormatPopover();
|
|
68
67
|
}
|
|
69
68
|
this.lastSelectedText = s;
|
|
70
69
|
}, this.backgroundChange = (t) => {
|
|
@@ -74,7 +73,7 @@ class X extends H {
|
|
|
74
73
|
if (e.target?.localName === "calcite-list-item" ? s = e.target?.value : s = e.target?.parentNode?.value, this.selectedSymbols = [], this.selectedTexts = [], this.selectedBackground.includes(s))
|
|
75
74
|
this.selectedBackground = [], this.selectedElement = void 0;
|
|
76
75
|
else {
|
|
77
|
-
const o = this.getFormatValue(s), l = [...
|
|
76
|
+
const o = this.getFormatValue(s), l = [...J.backgroundColor];
|
|
78
77
|
this.selectedBackground = [s], this.selectedElement = o ?? l;
|
|
79
78
|
}
|
|
80
79
|
this.setupFormatPopover();
|
|
@@ -82,27 +81,27 @@ class X extends H {
|
|
|
82
81
|
const e = t.detail;
|
|
83
82
|
this.selectedSymbols.forEach((s) => {
|
|
84
83
|
this.setFormatValue(s, e);
|
|
85
|
-
}), this.selectedElement =
|
|
84
|
+
}), this.selectedElement = c(t.target.selectedElement);
|
|
86
85
|
}, this.updateBackground = (t) => {
|
|
87
|
-
this.setFormatValue(
|
|
86
|
+
this.setFormatValue(q.Background, t.detail), this.selectedElement = t.detail;
|
|
88
87
|
}, this.updateTextProps = (t) => {
|
|
89
88
|
const { font: e, color: s } = t.detail;
|
|
90
89
|
this.selectedTexts.forEach((o) => {
|
|
91
|
-
const l = this.getFormatValue(o),
|
|
90
|
+
const l = this.getFormatValue(o), n = r(l) ? l : void 0;
|
|
92
91
|
this.setFormatValue(o, {
|
|
93
|
-
...
|
|
94
|
-
type:
|
|
95
|
-
font: { ...
|
|
96
|
-
color: s ??
|
|
92
|
+
...n,
|
|
93
|
+
type: y.TS,
|
|
94
|
+
font: { ...n?.font, ...e },
|
|
95
|
+
color: s ?? n?.color
|
|
97
96
|
});
|
|
98
|
-
}), this.selectedElement =
|
|
97
|
+
}), this.selectedElement = c(t.target.selectedElement);
|
|
99
98
|
}, this.onModelConfigChange = () => {
|
|
100
99
|
this.requestUpdate();
|
|
101
100
|
}, this.formatPopoverClose = (t) => {
|
|
102
101
|
this.formatPopover === t?.target && (this.selectedTexts = [], this.selectedSymbols = [], this.selectedBackground = [], this.selectedElement = {}, this.removeFormatPopover());
|
|
103
102
|
}, this.mergeFormatValues = (t, e) => {
|
|
104
103
|
let s = !1;
|
|
105
|
-
|
|
104
|
+
M(t) && M(e) || B(t) && B(e) ? s = !0 : s = t === e;
|
|
106
105
|
const o = typeof t == "number" || typeof e == "number" ? Number.NaN : "";
|
|
107
106
|
return s ? void 0 : o;
|
|
108
107
|
}, this.updateSelectableElements = (t) => {
|
|
@@ -113,7 +112,7 @@ class X extends H {
|
|
|
113
112
|
this.properties = { selectedSymbols: 16, selectedTexts: 16, selectedBackground: 16, selectedElement: 16, messageOverrides: 0, model: 0 };
|
|
114
113
|
}
|
|
115
114
|
static {
|
|
116
|
-
this.styles =
|
|
115
|
+
this.styles = Q;
|
|
117
116
|
}
|
|
118
117
|
load() {
|
|
119
118
|
this.modelChange(this.model);
|
|
@@ -135,32 +134,32 @@ class X extends H {
|
|
|
135
134
|
}
|
|
136
135
|
updateSelectedElement(t, e) {
|
|
137
136
|
if (this.selectedElement = void 0, e === void 0) {
|
|
138
|
-
const s =
|
|
137
|
+
const s = c(this.getFormatValue(t[0]));
|
|
139
138
|
this.selectedElement = t?.reduce((o, l) => {
|
|
140
|
-
const
|
|
141
|
-
return
|
|
139
|
+
const n = this.getFormatValue(l);
|
|
140
|
+
return H(o, n, this.mergeFormatValues);
|
|
142
141
|
}, s);
|
|
143
142
|
} else {
|
|
144
|
-
let s =
|
|
145
|
-
|
|
143
|
+
let s = c(e);
|
|
144
|
+
v(e) && (this.selectedSymbols?.length > 0 && (s = c(F)), this.selectedTexts?.length > 0 && (s = c(k))), this.selectedElement = s;
|
|
146
145
|
}
|
|
147
146
|
}
|
|
148
147
|
initSelectedTexts(t) {
|
|
149
|
-
let e =
|
|
150
|
-
|
|
148
|
+
let e = c(t);
|
|
149
|
+
v(t) && (e = c(k)), this.selectedElement = e;
|
|
151
150
|
}
|
|
152
151
|
initSelectedSymbols(t) {
|
|
153
|
-
let e =
|
|
154
|
-
|
|
152
|
+
let e = c(t);
|
|
153
|
+
v(t) && (e = c(F)), this.selectedElement = e;
|
|
155
154
|
}
|
|
156
155
|
setupFormatPopover() {
|
|
157
|
-
this.formatPopover =
|
|
156
|
+
this.formatPopover = V(this.formatPopover);
|
|
158
157
|
const t = this.selectedElement;
|
|
159
|
-
t?.type ===
|
|
160
|
-
Array.isArray(this.selectedElement) ? (this.formatPopover =
|
|
158
|
+
t?.type === y.TS || t?.type === y.SLS || // To check if the selected element is background.
|
|
159
|
+
Array.isArray(this.selectedElement) ? (this.formatPopover = Y(b`<arcgis-charts-config-format-popover .selectedElement=${this.selectedElement} .referenceElement=${this.el} @arcgisChartsConfigFormatPopoverSymbolChange=${this.updateSymbolProps} @arcgisChartsConfigFormatPopoverTextChange=${this.updateTextProps} @arcgisChartsConfigFormatPopoverColorChange=${this.updateBackground} placement=auto @arcgisChartsConfigPopoverClose=${this.formatPopoverClose} open></arcgis-charts-config-format-popover>`), this.formatPopover !== null && !document.body.contains(this.formatPopover) && document.body.appendChild(this.formatPopover)) : this.removeFormatPopover();
|
|
161
160
|
}
|
|
162
161
|
removeFormatPopover() {
|
|
163
|
-
this.formatPopover !== null && (this.formatPopover.open = !1, this.formatPopover =
|
|
162
|
+
this.formatPopover !== null && (this.formatPopover.open = !1, this.formatPopover = V(this.formatPopover));
|
|
164
163
|
}
|
|
165
164
|
getFormatValue(t) {
|
|
166
165
|
switch (t) {
|
|
@@ -169,25 +168,25 @@ class X extends H {
|
|
|
169
168
|
case i.Description:
|
|
170
169
|
return this.model.descriptionSymbol;
|
|
171
170
|
case i.XAxisTitle:
|
|
172
|
-
return
|
|
171
|
+
return E(this.model) ? this.model.xAxisTitleSymbol : void 0;
|
|
173
172
|
case i.YAxisTitle:
|
|
174
|
-
return
|
|
173
|
+
return p(this.model) ? this.model.getAxisTitleSymbol(1) : void 0;
|
|
175
174
|
case i.AxisLabels:
|
|
176
|
-
return
|
|
175
|
+
return P(this.model) ? this.model.axisLabelsSymbol : void 0;
|
|
177
176
|
case i.GuideLabels:
|
|
178
|
-
return
|
|
177
|
+
return T(this.model) ? this.model.guideLabelsSymbol : void 0;
|
|
179
178
|
case i.LegendText:
|
|
180
|
-
return
|
|
179
|
+
return g(this.model) ? this.model.legendTextSymbol : void 0;
|
|
181
180
|
case i.LegendTitle:
|
|
182
|
-
return
|
|
181
|
+
return g(this.model) ? this.model.legendTitleSymbol : void 0;
|
|
183
182
|
case i.DataLabels:
|
|
184
|
-
return
|
|
185
|
-
case
|
|
186
|
-
return
|
|
187
|
-
case
|
|
188
|
-
return
|
|
189
|
-
case
|
|
190
|
-
return
|
|
183
|
+
return C(this.model) ? this.model.dataLabelsSymbol : void 0;
|
|
184
|
+
case d.AxisLines:
|
|
185
|
+
return L(this.model) ? this.model.axisLinesSymbol : void 0;
|
|
186
|
+
case d.GridLines:
|
|
187
|
+
return p(this.model) ? this.model.getGridLinesSymbol() : void 0;
|
|
188
|
+
case d.LeaderLines:
|
|
189
|
+
return S(this.model) ? this.model.ticksSymbol : void 0;
|
|
191
190
|
case i.Background:
|
|
192
191
|
return this.model.backgroundColor;
|
|
193
192
|
default:
|
|
@@ -203,34 +202,34 @@ class X extends H {
|
|
|
203
202
|
r(e) && (this.model.descriptionSymbol = e);
|
|
204
203
|
break;
|
|
205
204
|
case i.XAxisTitle:
|
|
206
|
-
|
|
205
|
+
E(this.model) && r(e) && (this.model.xAxisTitleSymbol = e);
|
|
207
206
|
break;
|
|
208
207
|
case i.YAxisTitle:
|
|
209
|
-
|
|
208
|
+
p(this.model) && r(e) && this.model.setAxisTitleSymbol(e, 1);
|
|
210
209
|
break;
|
|
211
210
|
case i.AxisLabels:
|
|
212
|
-
|
|
211
|
+
P(this.model) && r(e) && (this.model.axisLabelsSymbol = e);
|
|
213
212
|
break;
|
|
214
213
|
case i.GuideLabels:
|
|
215
|
-
|
|
214
|
+
T(this.model) && r(e) && (this.model.guideLabelsSymbol = e);
|
|
216
215
|
break;
|
|
217
216
|
case i.LegendText:
|
|
218
|
-
|
|
217
|
+
g(this.model) && r(e) && (this.model.legendTextSymbol = e);
|
|
219
218
|
break;
|
|
220
219
|
case i.LegendTitle:
|
|
221
|
-
|
|
220
|
+
g(this.model) && r(e) && (this.model.legendTitleSymbol = e);
|
|
222
221
|
break;
|
|
223
222
|
case i.DataLabels:
|
|
224
|
-
|
|
223
|
+
C(this.model) && r(e) && (this.model.dataLabelsSymbol = e);
|
|
225
224
|
break;
|
|
226
|
-
case
|
|
227
|
-
|
|
225
|
+
case d.AxisLines:
|
|
226
|
+
L(this.model) && u(e) && (this.model.axisLinesSymbol = e);
|
|
228
227
|
break;
|
|
229
|
-
case
|
|
228
|
+
case d.GridLines:
|
|
230
229
|
if (u(e)) {
|
|
231
|
-
if (
|
|
230
|
+
if (N(this.model))
|
|
232
231
|
this.model.setGridLinesSymbol(e);
|
|
233
|
-
else if (
|
|
232
|
+
else if (p(this.model)) {
|
|
234
233
|
const s = this.model.chartType;
|
|
235
234
|
let o = [];
|
|
236
235
|
switch (s) {
|
|
@@ -254,8 +253,8 @@ class X extends H {
|
|
|
254
253
|
}
|
|
255
254
|
}
|
|
256
255
|
break;
|
|
257
|
-
case
|
|
258
|
-
|
|
256
|
+
case d.LeaderLines:
|
|
257
|
+
S(this.model) && u(e) && (this.model.ticksSymbol = e);
|
|
259
258
|
break;
|
|
260
259
|
case i.Background:
|
|
261
260
|
Array.isArray(e) && (this.model.backgroundColor = e);
|
|
@@ -265,33 +264,35 @@ class X extends H {
|
|
|
265
264
|
renderFormatElements() {
|
|
266
265
|
this.textProperties = [
|
|
267
266
|
i.Title,
|
|
268
|
-
...
|
|
269
|
-
...
|
|
270
|
-
...
|
|
267
|
+
...E(this.model) ? [i.XAxisTitle] : [],
|
|
268
|
+
...p(this.model) ? [i.YAxisTitle] : [],
|
|
269
|
+
...g(this.model) ? [i.LegendTitle] : [],
|
|
271
270
|
i.Description,
|
|
272
|
-
...
|
|
273
|
-
...
|
|
274
|
-
...
|
|
275
|
-
...
|
|
276
|
-
],
|
|
271
|
+
...g(this.model) ? [i.LegendText] : [],
|
|
272
|
+
...P(this.model) ? [i.AxisLabels] : [],
|
|
273
|
+
...T(this.model) && this.model.chartType !== a.HeatSeries ? [i.GuideLabels] : [],
|
|
274
|
+
...C(this.model) && this.model.chartType !== a.HeatSeries && this.model.chartType !== a.BoxPlotSeries ? [i.DataLabels] : []
|
|
275
|
+
], z(this.model) && (this.textProperties = this.textProperties.filter((s) => s !== i.DataLabels)), this.symbolProperties = [
|
|
277
276
|
i.Background,
|
|
278
|
-
...
|
|
279
|
-
...
|
|
280
|
-
...
|
|
277
|
+
...L(this.model) && this.model.chartType !== a.HeatSeries ? [d.AxisLines] : [],
|
|
278
|
+
...p(this.model) ? [d.GridLines] : [],
|
|
279
|
+
...S(this.model) ? [d.LeaderLines] : []
|
|
281
280
|
];
|
|
282
281
|
const t = this.textProperties.map((s) => this.renderTextElement(s, this.textPropertyChange)), e = this.symbolProperties.map((s) => s === i.Background ? this.renderTextElement(s, this.backgroundChange) : this.renderTextElement(s, this.symbolPropertyChange));
|
|
283
282
|
return { textElements: t, symbolElements: e };
|
|
284
283
|
}
|
|
285
284
|
renderTextElement(t, e) {
|
|
286
|
-
const s =
|
|
287
|
-
|
|
285
|
+
const s = I(t);
|
|
286
|
+
let o = "line-solid", [l, n, m, $] = [1, 1, 1, 255], A = "#CCCCCC";
|
|
287
|
+
const h = this.getFormatValue(t), w = typeof h == "string" ? h : "", G = this.selectedTexts.includes(t) || this.selectedSymbols.includes(t) || this.selectedBackground.includes(t);
|
|
288
|
+
return u(h) && h.color && ([l, n, m, $] = h.color, o = j(h.style), A = `rgba(${l},${n},${m},${$ / 255})`), b`<calcite-list-item class=${f(x.element)} .label=${this._messages[t]} .description=${w} .value=${t} .selected=${G} @click=${e} ${W(this.updateSelectableElements)}>${s !== void 0 ? b`<calcite-icon slot=content-start scale=s .icon=${s}></calcite-icon>` : null}${t === i.AxisLines || t === i.GridLines || t === i.LeaderLines ? b`<calcite-icon slot=content-end .icon=${o} style=${U({ color: A })}></calcite-icon>` : null}</calcite-list-item>`;
|
|
288
289
|
}
|
|
289
290
|
render() {
|
|
290
291
|
const { textElements: t, symbolElements: e } = this.renderFormatElements();
|
|
291
|
-
return
|
|
292
|
+
return b`<div class=${f(x.sectionLabel)}>${this._messages.textElements}</div><calcite-list label class=${f(x.elementList)} selection-mode=multiple selection-appearance=border @calciteListChange=${this.correctTextElementSelection}>${t}</calcite-list><div class=${f(x.sectionLabel)}>${this._messages.symbolElements}</div><calcite-list label class=${f(x.elementList)} selection-mode=single selection-appearance=border>${e}</calcite-list>`;
|
|
292
293
|
}
|
|
293
294
|
}
|
|
294
|
-
|
|
295
|
+
D("arcgis-charts-config-format", Z);
|
|
295
296
|
export {
|
|
296
|
-
|
|
297
|
+
Z as ArcgisChartsConfigFormat
|
|
297
298
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
2
|
import { c as T } from "../../chunks/runtime.js";
|
|
3
|
-
import { l as n, p as r, j as c } from "../../chunks/type-
|
|
3
|
+
import { l as n, p as r, j as c } from "../../chunks/type-guards.js";
|
|
4
4
|
import { i as h, a as m, b as g } from "../../chunks/generate-x-axis-title.js";
|
|
5
5
|
import { isEmpty as x } from "es-toolkit/compat";
|
|
6
6
|
import { m as u, U as b } from "../../chunks/chart-ui-utils.js";
|
|
@@ -9,7 +9,7 @@ import { css as C, html as l } from "lit";
|
|
|
9
9
|
import { createRef as f, ref as $ } from "lit/directives/ref.js";
|
|
10
10
|
import { LitElement as v, safeClassMap as i } from "@arcgis/lumina";
|
|
11
11
|
import { f as a } from "../../chunks/chart-object-literals.js";
|
|
12
|
-
import { i as y } from "../../chunks/
|
|
12
|
+
import { i as y } from "../../chunks/index3.js";
|
|
13
13
|
const s = {
|
|
14
14
|
textInput: "text-input",
|
|
15
15
|
label: "label",
|