@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
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
2
|
import { getElementLocale as $e } from "@arcgis/toolkit/intl/dom";
|
|
3
3
|
import { cloneDeep as n, isEmpty as B } from "es-toolkit/compat";
|
|
4
|
-
import { DateTime as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { i as ut } from "../../../chunks/type-guards.js";
|
|
8
|
-
import { a as u, D as P, i as le } from "../../../chunks/index2.js";
|
|
4
|
+
import { DateTime as Ye } from "luxon";
|
|
5
|
+
import { t as Qe, cS as se, bX as Xe, a8 as ne, b8 as ae, l as Ze, cT as Ke, cb as Je, cc as Ue, r as T, bH as et, y as u, cU as b, cV as te, Z as tt, _ as rt, cO as k, B as J, O as le, cW as it, cX as ot, cY as st, ab as nt } from "../../../chunks/index.js";
|
|
6
|
+
import { a8 as at, p as lt, l as dt, Z as ct, s as ut } from "../../../chunks/index2.js";
|
|
9
7
|
import { g as h, s as ft } from "../../../chunks/series-types.js";
|
|
10
8
|
import { o as re, a as c, d as F, t as p, g as v, u as pt, W as ie, e as C } from "../../../chunks/chart-object-literals.js";
|
|
11
|
-
import { p as yt,
|
|
9
|
+
import { p as yt, e as mt, i as St, c as gt } from "../../../chunks/class-breaks.js";
|
|
12
10
|
import { b as vt } from "../../../chunks/rest-js-object-literals.js";
|
|
13
11
|
var L = /* @__PURE__ */ ((r) => (r.NONE = "none", r.ROTATE = "rotate", r.STAGGER = "stagger", r.WRAP = "wrap", r))(L || {});
|
|
14
12
|
function de(r) {
|
|
@@ -16,7 +14,7 @@ function de(r) {
|
|
|
16
14
|
if (t?.capabilities?.queryAttributeBins?.supportsFirstDayOfWeek === !0 && (!("firstDayOfWeek" in e) || e.firstDayOfWeek === void 0 || e.firstDayOfWeek === null)) {
|
|
17
15
|
const { lang: s } = $e(i ?? document.documentElement);
|
|
18
16
|
try {
|
|
19
|
-
o.firstDayOfWeek =
|
|
17
|
+
o.firstDayOfWeek = Ye.local().setLocale(s.replaceAll("_", "-")).startOf("week", { useLocaleWeeks: !0 }).weekday;
|
|
20
18
|
} catch {
|
|
21
19
|
}
|
|
22
20
|
}
|
|
@@ -28,13 +26,13 @@ function Bt(r) {
|
|
|
28
26
|
const t = e.series[0], o = e.chartRenderer?.classBreakInfos;
|
|
29
27
|
if (o?.length && t?.classBreaksRules) {
|
|
30
28
|
t.classBreaksRules.colorRampInfo = t.classBreaksRules.colorRampInfo ?? {};
|
|
31
|
-
const { name: s, flipped: a } = t.classBreaksRules.colorRampInfo, f = yt(o,
|
|
29
|
+
const { name: s, flipped: a } = t.classBreaksRules.colorRampInfo, f = yt(o, gt.esriColorRamps);
|
|
32
30
|
if (!s && f?.name && (t.classBreaksRules.colorRampInfo.name = f.name), a === void 0 && f) {
|
|
33
|
-
const y =
|
|
31
|
+
const y = mt({
|
|
34
32
|
numberOfClassBreaks: o.length,
|
|
35
33
|
selectedColorRamp: f
|
|
36
34
|
});
|
|
37
|
-
y.length === o.length && (t.classBreaksRules.colorRampInfo.flipped =
|
|
35
|
+
y.length === o.length && (t.classBreaksRules.colorRampInfo.flipped = St(y, o));
|
|
38
36
|
}
|
|
39
37
|
}
|
|
40
38
|
}
|
|
@@ -53,7 +51,7 @@ function ue(r) {
|
|
|
53
51
|
const o = i;
|
|
54
52
|
i.id === void 0 && (o.id = `Series ${Date.now()}-${t}`);
|
|
55
53
|
const s = h(r.series, t);
|
|
56
|
-
return (s === c.BarSeries || s === c.LineSeries || s === c.RadarSeries) && o.query?.outStatistics?.[0]?.statisticType === "median" && (o.query.outStatistics[0].statisticType = F.ContinuousPercentile), s === c.BarSeries && o.multipleBarType !== void 0 && (o.stackedType = o.multipleBarType, delete o.multipleBarType), s === c.ScatterSeries && o.locations !== void 0 && (o.locationsOfInterest = o.locations, delete o.locations), s === c.PieSeries && o.sliceGrouping !== void 0 && (o.sliceGrouping.sliceId =
|
|
54
|
+
return (s === c.BarSeries || s === c.LineSeries || s === c.RadarSeries) && o.query?.outStatistics?.[0]?.statisticType === "median" && (o.query.outStatistics[0].statisticType = F.ContinuousPercentile), s === c.BarSeries && o.multipleBarType !== void 0 && (o.stackedType = o.multipleBarType, delete o.multipleBarType), s === c.ScatterSeries && o.locations !== void 0 && (o.locationsOfInterest = o.locations, delete o.locations), s === c.PieSeries && o.sliceGrouping !== void 0 && (o.sliceGrouping.sliceId = lt.defaultGroupOfSlicesId, o.sliceGrouping.groupName !== void 0 && (o.sliceGrouping = {
|
|
57
55
|
...o.sliceGrouping,
|
|
58
56
|
label: o.sliceGrouping.groupName
|
|
59
57
|
}, delete o.sliceGrouping.groupName), o.sliceGrouping.groupSliceSymbol !== void 0 && (o.sliceGrouping = {
|
|
@@ -66,7 +64,7 @@ function oe(r, e) {
|
|
|
66
64
|
const i = [];
|
|
67
65
|
return r.forEach((t) => {
|
|
68
66
|
if (!le(t)) {
|
|
69
|
-
const o =
|
|
67
|
+
const o = k(t, !1);
|
|
70
68
|
if (o.fieldToSort !== void 0) {
|
|
71
69
|
const s = b({
|
|
72
70
|
queryObject: e,
|
|
@@ -83,11 +81,11 @@ async function fe(r) {
|
|
|
83
81
|
const { configToUpdate: e, layer: i, abortSignal: t } = r, o = { ...e };
|
|
84
82
|
let s = i;
|
|
85
83
|
if (!s) {
|
|
86
|
-
const a =
|
|
87
|
-
a && (s = await
|
|
84
|
+
const a = Je(e) ? e.iLayer : e.dataSource?.layer;
|
|
85
|
+
a && (s = await Ue(a, t));
|
|
88
86
|
}
|
|
89
87
|
if (s) {
|
|
90
|
-
const a =
|
|
88
|
+
const a = T(o.series), f = h(o.series), y = o.series && o.series.length > 0 && o.series[0].x.trim() === "" || f === c.GaugeSeries && !et(e) || a === u.PieFromFields || a === u.BarAndLineFromFields || a === u.BoxPlotC1MonoField || a === u.BoxPlotC5MonoFieldAndSplitBy || a === u.BoxPlotC2MultiFields || a === u.BoxPlotC6MultiFieldsAndSplitBy, He = f === c.ScatterSeries || f === c.HeatSeries || a === u.BarAndLineNoAggregation || a === u.BarAndLineSplitByNoAggregation || a === u.BoxPlotC1MonoField || a === u.BoxPlotC5MonoFieldAndSplitBy || a === u.BoxPlotC3MonoFieldAndCategory || a === u.BoxPlotC7MonoFieldAndCategoryAndSplitBy || a === u.PieNoAggregation;
|
|
91
89
|
if (o.series = e.series.map((d) => {
|
|
92
90
|
const l = { ...d };
|
|
93
91
|
if (y || (l.x = b({ queryObject: s, fieldToMatch: d.x })), "y" in l && He) {
|
|
@@ -102,19 +100,19 @@ async function fe(r) {
|
|
|
102
100
|
}
|
|
103
101
|
if (d.query !== void 0) {
|
|
104
102
|
let { where: m, groupByFieldsForStatistics: S, outStatistics: g } = d.query;
|
|
105
|
-
if (S = te({ fieldsList: S, queryObject: s }), g !== void 0 && (g = g.map((
|
|
106
|
-
const O = { ...
|
|
103
|
+
if (S = te({ fieldsList: S, queryObject: s }), g !== void 0 && (g = g.map((x) => {
|
|
104
|
+
const O = { ...x };
|
|
107
105
|
return O.onStatisticField = b({
|
|
108
106
|
queryObject: s,
|
|
109
|
-
fieldToMatch:
|
|
107
|
+
fieldToMatch: x.onStatisticField
|
|
110
108
|
}), O;
|
|
111
109
|
})), m !== void 0 && a === u.BarAndLineSplitBy) {
|
|
112
|
-
const
|
|
110
|
+
const x = tt(d.query?.where), O = rt({
|
|
113
111
|
where: d.query?.where,
|
|
114
112
|
normalize: !1,
|
|
115
113
|
escape: !1
|
|
116
114
|
});
|
|
117
|
-
m = `${b({ queryObject: s, fieldToMatch:
|
|
115
|
+
m = `${b({ queryObject: s, fieldToMatch: x })}=${O}`;
|
|
118
116
|
}
|
|
119
117
|
l.query !== void 0 && (m !== void 0 && (l.query.where = m), S !== void 0 && (l.query.groupByFieldsForStatistics = S), g !== void 0 && (l.query.outStatistics = g));
|
|
120
118
|
}
|
|
@@ -164,7 +162,7 @@ function ye(r) {
|
|
|
164
162
|
orderBy: v.Ascending
|
|
165
163
|
}, i = r.query?.orderByFields?.[0];
|
|
166
164
|
if (i !== void 0) {
|
|
167
|
-
const { outStatisticFieldName: t, statisticType: o } = r.query?.outStatistics?.[0] ?? {}, s =
|
|
165
|
+
const { outStatisticFieldName: t, statisticType: o } = r.query?.outStatistics?.[0] ?? {}, s = k(i);
|
|
168
166
|
t !== void 0 && s.fieldToSort === t && o !== void 0 && (o === F.Average || o === "mean" ? e.orderType = p.Mean : o === F.ContinuousPercentile && (e.orderType = p.Median)), e.orderBy = s.orderBy ?? v.Ascending;
|
|
169
167
|
}
|
|
170
168
|
return e;
|
|
@@ -177,7 +175,7 @@ function me(r) {
|
|
|
177
175
|
function Se(r) {
|
|
178
176
|
const e = n(r);
|
|
179
177
|
if (!B(e.series) && h(r.series) === c.BoxPlotSeries) {
|
|
180
|
-
const t =
|
|
178
|
+
const t = T(r.series);
|
|
181
179
|
if (e.orderOptions?.data === void 0 && t !== u.BoxPlotC2MultiFields && t !== u.BoxPlotC1MonoField) {
|
|
182
180
|
const o = ye(r.series[0]);
|
|
183
181
|
o.orderType !== void 0 && (e.orderOptions ??= {}, e.orderOptions.data = {
|
|
@@ -187,7 +185,7 @@ function Se(r) {
|
|
|
187
185
|
}
|
|
188
186
|
if (e.series = r.series.map((o) => {
|
|
189
187
|
const s = o;
|
|
190
|
-
return B(s.x?.trim()) && (s.x =
|
|
188
|
+
return B(s.x?.trim()) && (s.x = dt), delete s.query?.orderByFields, s;
|
|
191
189
|
}), me(e)) {
|
|
192
190
|
e.showMean = !0;
|
|
193
191
|
const o = e.series.find(
|
|
@@ -226,7 +224,7 @@ async function he(r) {
|
|
|
226
224
|
const a = pe(s);
|
|
227
225
|
s = Se(a);
|
|
228
226
|
}
|
|
229
|
-
return s = ge(s), s = Be(s), ae(s) && !
|
|
227
|
+
return s = ge(s), s = Be(s), ae(s) && !Ze(i) && (s = de({ configToUpdate: s, chartContainer: t, layer: i })), s;
|
|
230
228
|
}
|
|
231
229
|
function Ce(r) {
|
|
232
230
|
const e = n(r), i = e.series[0];
|
|
@@ -240,7 +238,7 @@ function Ce(r) {
|
|
|
240
238
|
}
|
|
241
239
|
function be(r) {
|
|
242
240
|
const e = n(r);
|
|
243
|
-
return e?.orderOptions?.orderByFields !== void 0 &&
|
|
241
|
+
return e?.orderOptions?.orderByFields !== void 0 && T(r.series) === u.PieFromFields && (e.orderOptions.orderByFields = r?.orderOptions?.orderByFields?.map(
|
|
244
242
|
(i) => {
|
|
245
243
|
let t = n(i);
|
|
246
244
|
return i !== void 0 && i.includes("arcgis_charts_pie_category_from_fields_name") && (t = i.replace(
|
|
@@ -258,7 +256,7 @@ function Fe(r) {
|
|
|
258
256
|
}
|
|
259
257
|
return e;
|
|
260
258
|
}
|
|
261
|
-
function
|
|
259
|
+
function Te(r) {
|
|
262
260
|
const e = n(r), { extent: i } = e.series[0]?.query ?? {};
|
|
263
261
|
return i !== void 0 && (e.dataFilters = {
|
|
264
262
|
...e.dataFilters,
|
|
@@ -269,11 +267,11 @@ function xe(r) {
|
|
|
269
267
|
}
|
|
270
268
|
function U(r) {
|
|
271
269
|
const e = n(r);
|
|
272
|
-
return B(r.series) || (
|
|
270
|
+
return B(r.series) || (it(r) && r.rotated === void 0 && (e.rotated = r.series[0].rotated ?? ct()), e.series.forEach((i) => {
|
|
273
271
|
i.rotated !== void 0 && delete i.rotated;
|
|
274
272
|
})), e;
|
|
275
273
|
}
|
|
276
|
-
function
|
|
274
|
+
function xe(r) {
|
|
277
275
|
const e = n(r), i = r.dataSource;
|
|
278
276
|
return "dataSource" in e && !B(i) && (i.type === "featureLayer" && e.dataSource !== void 0 && (e.dataSource.type = "layer"), "featureLayer" in i && (e.dataSource.layer = i.featureLayer, delete e.dataSource.featureLayer)), e;
|
|
279
277
|
}
|
|
@@ -282,7 +280,7 @@ function Oe(r) {
|
|
|
282
280
|
if ("dataSource" in r) {
|
|
283
281
|
const i = r.dataSource;
|
|
284
282
|
if (i.filter !== void 0 && i.filter.trim() !== "") {
|
|
285
|
-
const t =
|
|
283
|
+
const t = ot([i.filter, e.dataFilters?.where]);
|
|
286
284
|
e.dataFilters = {
|
|
287
285
|
...e.dataFilters,
|
|
288
286
|
where: t
|
|
@@ -291,7 +289,7 @@ function Oe(r) {
|
|
|
291
289
|
}
|
|
292
290
|
return e;
|
|
293
291
|
}
|
|
294
|
-
function
|
|
292
|
+
function ke(r) {
|
|
295
293
|
return r !== "originalValue";
|
|
296
294
|
}
|
|
297
295
|
function ee(r) {
|
|
@@ -309,7 +307,7 @@ function ee(r) {
|
|
|
309
307
|
}
|
|
310
308
|
return e;
|
|
311
309
|
}
|
|
312
|
-
function
|
|
310
|
+
function Pe(r) {
|
|
313
311
|
const e = n(r);
|
|
314
312
|
if (!B(r.series) && h(r.series) === c.PieSeries) {
|
|
315
313
|
const t = e.series[0];
|
|
@@ -317,7 +315,7 @@ function ke(r) {
|
|
|
317
315
|
if (t.sortLabelsBy === "originalValue")
|
|
318
316
|
e.sortLabelsBy = t.sortLabelsBy;
|
|
319
317
|
else if (t.sortLabelsBy !== void 0 && e.orderOptions?.data === void 0) {
|
|
320
|
-
const o =
|
|
318
|
+
const o = P(e);
|
|
321
319
|
o !== void 0 && (e.orderOptions ??= {}, e.orderOptions.data = o);
|
|
322
320
|
}
|
|
323
321
|
t.sortLabelsBy && delete t.sortLabelsBy;
|
|
@@ -327,17 +325,17 @@ function ke(r) {
|
|
|
327
325
|
}
|
|
328
326
|
function Le(r) {
|
|
329
327
|
const e = n(r);
|
|
330
|
-
return B(r.series) || (
|
|
328
|
+
return B(r.series) || (st(r) && r.stackedType === void 0 && (e.stackedType = r.series[0].stackedType ?? ut()), e.series.forEach((i) => {
|
|
331
329
|
"stackedType" in i && delete i.stackedType;
|
|
332
330
|
})), e;
|
|
333
331
|
}
|
|
334
|
-
function
|
|
332
|
+
function we(r) {
|
|
335
333
|
const e = n(r), i = r.sortOptions?.sortSeriesBy;
|
|
336
334
|
return e.orderOptions === void 0 && typeof i == "string" && (e.orderOptions ??= {}, e.orderOptions.series = {
|
|
337
335
|
orderBy: i === "DESC" ? v.Descending : v.Ascending
|
|
338
336
|
}), e;
|
|
339
337
|
}
|
|
340
|
-
function
|
|
338
|
+
function Ae(r) {
|
|
341
339
|
const e = n(r);
|
|
342
340
|
return e.colorMatch === void 0 && e.series[0]?.colorType !== void 0 && (e.colorMatch = e.series[0]?.colorType === pt.Match), e.series.forEach((i) => {
|
|
343
341
|
i.colorType !== void 0 && delete i.colorType;
|
|
@@ -372,7 +370,7 @@ function Ie(r) {
|
|
|
372
370
|
e.orderOptions ??= {};
|
|
373
371
|
let t = !0;
|
|
374
372
|
if (i.length === 1) {
|
|
375
|
-
const { fieldToSort: o, orderBy: s } =
|
|
373
|
+
const { fieldToSort: o, orderBy: s } = k(i[0]);
|
|
376
374
|
let a;
|
|
377
375
|
o === r.series[0].x || o === J ? a = p.Category : "y" in r.series[0] && o === r.series[0].y && (a = p.YValue), a && a !== p.MultiAxes && (t = !1, e.orderOptions.data === void 0 && (e.orderOptions.data = {
|
|
378
376
|
orderType: a,
|
|
@@ -385,12 +383,12 @@ function Ie(r) {
|
|
|
385
383
|
delete t.query?.orderByFields;
|
|
386
384
|
}), e;
|
|
387
385
|
}
|
|
388
|
-
function
|
|
386
|
+
function P(r) {
|
|
389
387
|
let e, i = r.orderOptions?.orderByFields?.[0];
|
|
390
388
|
if (r.series?.length > 0) {
|
|
391
|
-
const t = h(r.series), o =
|
|
389
|
+
const t = h(r.series), o = T(r.series);
|
|
392
390
|
if (t !== c.PieSeries && o !== u.BarAndLineFromFields && o !== u.BoxPlotC2MultiFields && (i = i ?? r.series[0].x), i && !le(i)) {
|
|
393
|
-
const { fieldToSort: s, orderBy: a } =
|
|
391
|
+
const { fieldToSort: s, orderBy: a } = k(i);
|
|
394
392
|
let f;
|
|
395
393
|
s === r.series[0].x || s === J ? f = p.Category : "y" in r.series[0] && s === r.series[0].y && (f = p.YValue), f && f !== p.MultiAxes && (e = {
|
|
396
394
|
orderType: f,
|
|
@@ -404,7 +402,7 @@ function We(r) {
|
|
|
404
402
|
const e = n(r), i = r, t = r, o = r, s = r, a = r;
|
|
405
403
|
if (e) {
|
|
406
404
|
if (e.orderOptions?.series === void 0 && i.sortOptions?.sortSeriesBy !== void 0 && (e.orderOptions ??= {}, e.orderOptions.series = {
|
|
407
|
-
preferLabel:
|
|
405
|
+
preferLabel: ke(
|
|
408
406
|
t.sortLabelsBy ?? i.sortOptions.sortSeriesBy.sortType
|
|
409
407
|
),
|
|
410
408
|
orderBy: i.sortOptions.sortSeriesBy.sortOrder ?? v.Ascending
|
|
@@ -420,7 +418,7 @@ function We(r) {
|
|
|
420
418
|
});
|
|
421
419
|
}
|
|
422
420
|
} else {
|
|
423
|
-
const y =
|
|
421
|
+
const y = P(e);
|
|
424
422
|
y !== void 0 && (e.orderOptions ??= {}, e.orderOptions.data = y);
|
|
425
423
|
}
|
|
426
424
|
"sortLabelsBy" in e && delete e.sortLabelsBy, "sortOptions" in e && delete e.sortOptions;
|
|
@@ -430,21 +428,21 @@ function We(r) {
|
|
|
430
428
|
function qe(r) {
|
|
431
429
|
const e = n(r);
|
|
432
430
|
if (e) {
|
|
433
|
-
const i =
|
|
431
|
+
const i = T(e.series);
|
|
434
432
|
if ((i === u.BarAndLineFromFields || i === u.PieFromFields) && e.orderOptions?.data === void 0 && e.orderOptions?.orderByFields !== void 0) {
|
|
435
|
-
const t =
|
|
433
|
+
const t = P(e);
|
|
436
434
|
t !== void 0 && (e.orderOptions ??= {}, e.orderOptions.data = t, delete e.orderOptions.orderByFields);
|
|
437
435
|
}
|
|
438
436
|
}
|
|
439
437
|
return e;
|
|
440
438
|
}
|
|
441
|
-
function
|
|
439
|
+
function Re(r) {
|
|
442
440
|
const e = n(r);
|
|
443
441
|
return e.horizontalAxisLabelsBehavior === L.NONE && (e.horizontalAxisLabelsBehavior = ie.Hide), e.verticalAxisLabelsBehavior === L.NONE && (e.verticalAxisLabelsBehavior = ie.Hide), e;
|
|
444
442
|
}
|
|
445
|
-
function
|
|
443
|
+
function Ee(r) {
|
|
446
444
|
const e = n(r), i = e.series[0];
|
|
447
|
-
if (i && !i.temporalBinning &&
|
|
445
|
+
if (i && !i.temporalBinning && nt(e.series[0]) && ("timeIntervalSize" in i || "timeIntervalUnits" in i || "timeAggregationType" in i || "trimIncompleteTimeInterval" in i || "nullPolicy" in i)) {
|
|
448
446
|
if (i.temporalBinning = {}, i.timeIntervalSize !== void 0 && (i.temporalBinning.size = i.timeIntervalSize, delete i.timeIntervalSize), i.timeIntervalUnits) {
|
|
449
447
|
let t;
|
|
450
448
|
switch (i.timeIntervalUnits) {
|
|
@@ -476,7 +474,7 @@ function Re(r) {
|
|
|
476
474
|
}
|
|
477
475
|
return e;
|
|
478
476
|
}
|
|
479
|
-
function
|
|
477
|
+
function Ne(r) {
|
|
480
478
|
const e = n(r);
|
|
481
479
|
return e.series.forEach((i) => {
|
|
482
480
|
i.query?.outStatistics?.forEach((t) => {
|
|
@@ -506,13 +504,13 @@ function ze(r) {
|
|
|
506
504
|
let e = n(r);
|
|
507
505
|
return e = be(e), e;
|
|
508
506
|
}
|
|
509
|
-
function
|
|
507
|
+
function w(r) {
|
|
510
508
|
let e = n(r);
|
|
511
509
|
return e = Fe(e), e;
|
|
512
510
|
}
|
|
513
|
-
function
|
|
511
|
+
function A(r) {
|
|
514
512
|
let e = n(r);
|
|
515
|
-
return e =
|
|
513
|
+
return e = Te(e), e;
|
|
516
514
|
}
|
|
517
515
|
function D(r) {
|
|
518
516
|
let e = n(r);
|
|
@@ -520,7 +518,7 @@ function D(r) {
|
|
|
520
518
|
}
|
|
521
519
|
function M(r) {
|
|
522
520
|
let e = n(r);
|
|
523
|
-
return e =
|
|
521
|
+
return e = xe(e), e;
|
|
524
522
|
}
|
|
525
523
|
function I(r) {
|
|
526
524
|
let e = n(r);
|
|
@@ -528,20 +526,20 @@ function I(r) {
|
|
|
528
526
|
}
|
|
529
527
|
function W(r) {
|
|
530
528
|
let e = n(r);
|
|
531
|
-
return e =
|
|
529
|
+
return e = Pe(e), e;
|
|
532
530
|
}
|
|
533
531
|
function q(r) {
|
|
534
|
-
let e = n(r);
|
|
535
|
-
return e = Ae(e), e;
|
|
536
|
-
}
|
|
537
|
-
function N(r) {
|
|
538
532
|
let e = n(r);
|
|
539
533
|
return e = we(e), e;
|
|
540
534
|
}
|
|
541
535
|
function R(r) {
|
|
542
|
-
|
|
536
|
+
let e = n(r);
|
|
537
|
+
return e = Ae(e), e;
|
|
543
538
|
}
|
|
544
539
|
function E(r) {
|
|
540
|
+
return Me(r);
|
|
541
|
+
}
|
|
542
|
+
function N(r) {
|
|
545
543
|
let e = n(r);
|
|
546
544
|
return ne(e) && (e = De(e)), e;
|
|
547
545
|
}
|
|
@@ -558,19 +556,19 @@ function z(r) {
|
|
|
558
556
|
return qe(r);
|
|
559
557
|
}
|
|
560
558
|
function j(r) {
|
|
561
|
-
return
|
|
559
|
+
return Re(r);
|
|
562
560
|
}
|
|
563
561
|
function H(r) {
|
|
564
|
-
return
|
|
562
|
+
return Ee(r);
|
|
565
563
|
}
|
|
566
564
|
function $(r) {
|
|
567
|
-
return
|
|
565
|
+
return Ne(r);
|
|
568
566
|
}
|
|
569
|
-
function
|
|
567
|
+
function Y(r) {
|
|
570
568
|
let e = n(r);
|
|
571
569
|
return e = U(e), Ve(e);
|
|
572
570
|
}
|
|
573
|
-
function
|
|
571
|
+
function Q(r) {
|
|
574
572
|
let e = n(r);
|
|
575
573
|
return e = Ge(e), e;
|
|
576
574
|
}
|
|
@@ -578,25 +576,25 @@ function X(r) {
|
|
|
578
576
|
let e = n(r);
|
|
579
577
|
return e = _e(e), e;
|
|
580
578
|
}
|
|
581
|
-
function
|
|
579
|
+
function Z(r) {
|
|
582
580
|
let e = n(r);
|
|
583
581
|
return e = Bt(e), e;
|
|
584
582
|
}
|
|
585
|
-
function
|
|
583
|
+
function K(r) {
|
|
586
584
|
let e = n(r);
|
|
587
585
|
return h(e.series) === c.BarSeries && (e = Ce(e)), e;
|
|
588
586
|
}
|
|
589
587
|
function je(r) {
|
|
590
588
|
const { versionsToConvert: e, configToUpdate: i } = r;
|
|
591
589
|
let t = n(i);
|
|
592
|
-
return e.length > 0 && t !== void 0 && (t = Ie(t), e.includes(se) || e.includes(Ke) ? (t = ze(t), t =
|
|
590
|
+
return e.length > 0 && t !== void 0 && (t = Ie(t), e.includes(se) || e.includes(Ke) ? (t = ze(t), t = w(t), t = A(t), t = D(t), t = M(t), t = I(t), t = W(t), t = q(t), t = R(t), t = E(t), t = N(t), t = V(t), t = G(t), t = _(t), t = z(t), t = j(t), t = H(t), t = $(t), t = Y(t), t = Q(t), t = X(t), t = Z(t), t = K(t)) : e.forEach((o) => {
|
|
593
591
|
if (t !== void 0)
|
|
594
592
|
switch (o) {
|
|
595
593
|
case "1.0.1":
|
|
596
|
-
t =
|
|
594
|
+
t = w(t);
|
|
597
595
|
break;
|
|
598
596
|
case "3.4.0":
|
|
599
|
-
t =
|
|
597
|
+
t = A(t);
|
|
600
598
|
break;
|
|
601
599
|
case "4.0.0":
|
|
602
600
|
t = D(t);
|
|
@@ -614,13 +612,13 @@ function je(r) {
|
|
|
614
612
|
t = q(t);
|
|
615
613
|
break;
|
|
616
614
|
case "9.2.0":
|
|
617
|
-
t =
|
|
615
|
+
t = R(t);
|
|
618
616
|
break;
|
|
619
617
|
case "9.7.0":
|
|
620
|
-
t =
|
|
618
|
+
t = E(t);
|
|
621
619
|
break;
|
|
622
620
|
case "10.0.0":
|
|
623
|
-
t =
|
|
621
|
+
t = N(t);
|
|
624
622
|
break;
|
|
625
623
|
case "11.0.0":
|
|
626
624
|
t = V(t);
|
|
@@ -644,27 +642,27 @@ function je(r) {
|
|
|
644
642
|
t = $(t);
|
|
645
643
|
break;
|
|
646
644
|
case "23.2.0":
|
|
647
|
-
t =
|
|
645
|
+
t = Y(t);
|
|
648
646
|
break;
|
|
649
647
|
case "24.7.0":
|
|
650
|
-
t =
|
|
648
|
+
t = Q(t);
|
|
651
649
|
break;
|
|
652
650
|
case "24.8.0":
|
|
653
651
|
t = X(t);
|
|
654
652
|
break;
|
|
655
653
|
case "25.0.0":
|
|
656
|
-
t =
|
|
654
|
+
t = Z(t);
|
|
657
655
|
break;
|
|
658
656
|
case "25.1.0":
|
|
659
|
-
t =
|
|
657
|
+
t = K(t);
|
|
660
658
|
break;
|
|
661
659
|
}
|
|
662
|
-
}), t.version =
|
|
660
|
+
}), t.version = at), t;
|
|
663
661
|
}
|
|
664
|
-
async function
|
|
662
|
+
async function wt(r, e, i, t) {
|
|
665
663
|
let o = r;
|
|
666
664
|
if (r) {
|
|
667
|
-
const s =
|
|
665
|
+
const s = Qe(e);
|
|
668
666
|
await s?.load({ signal: t }), o = await he({ configToUpdate: r, layer: s, chartContainer: i, abortSignal: t });
|
|
669
667
|
const a = r.version ?? se, { versionStatus: f, versions: y } = Xe(a);
|
|
670
668
|
(f === re.Older || f === re.Unrecognized) && (o = je({
|
|
@@ -674,50 +672,50 @@ async function Dt(r, e, i, t) {
|
|
|
674
672
|
}
|
|
675
673
|
return o;
|
|
676
674
|
}
|
|
677
|
-
const
|
|
675
|
+
const At = {
|
|
678
676
|
adjustAxes: ce,
|
|
679
677
|
adjustSeries: ue,
|
|
680
678
|
matchChartFieldsToLayerFields: fe,
|
|
681
679
|
resetLegendMaxHeight: ge,
|
|
682
|
-
moveSeriesQueryExtent:
|
|
680
|
+
moveSeriesQueryExtent: Te,
|
|
683
681
|
moveSeriesRotatedPropToChart: U,
|
|
684
|
-
renameDataSourceProperties:
|
|
682
|
+
renameDataSourceProperties: xe,
|
|
685
683
|
copyDataSourceFilterToConfig: Oe,
|
|
686
684
|
adjustPieFromFieldsDefaultNameAndValue: be,
|
|
687
685
|
removeSpacingPropertyFromGauge: Fe,
|
|
688
686
|
moveBoxPlotSeriesPropsToChart: pe,
|
|
689
|
-
movePieSeriesSortLabelsPropToChart:
|
|
687
|
+
movePieSeriesSortLabelsPropToChart: Pe,
|
|
690
688
|
getProBoxPlotSortDataOption: ye,
|
|
691
689
|
isBoxPlotConfigWithMeanLinesFromPro: me,
|
|
692
690
|
preventDuplicatedIds: Be,
|
|
693
691
|
adjustBoxPlotConfig: Se,
|
|
694
|
-
convertSortSeriesByToObject:
|
|
692
|
+
convertSortSeriesByToObject: we,
|
|
695
693
|
moveBoxPlotSortDataByProp: De,
|
|
696
|
-
handleColorMatchChanges:
|
|
694
|
+
handleColorMatchChanges: Ae,
|
|
697
695
|
moveScrollbarVisible: Me,
|
|
698
696
|
moveSeriesStackedTypePropToChart: Le,
|
|
699
697
|
convertBoxplotOldToNewDataSortType: ee,
|
|
700
|
-
getDataOrderFromOrderByFields:
|
|
701
|
-
convertWebChartDataValueTypes:
|
|
698
|
+
getDataOrderFromOrderByFields: P,
|
|
699
|
+
convertWebChartDataValueTypes: ke,
|
|
702
700
|
moveOrConvertSeriesOrderByFieldsToChartOrderOptions: Ie,
|
|
703
|
-
convertWebChartLabelBehaviorNoneToHide:
|
|
701
|
+
convertWebChartLabelBehaviorNoneToHide: Re,
|
|
704
702
|
handleOrderOptionsChanges: We,
|
|
705
703
|
applyDataOrderInstructionForFromFieldsCharts: qe,
|
|
706
|
-
convertTemporalBinningProps:
|
|
707
|
-
convertRESTStatisticTypeToWebChartStatisticType:
|
|
704
|
+
convertTemporalBinningProps: Ee,
|
|
705
|
+
convertRESTStatisticTypeToWebChartStatisticType: Ne,
|
|
708
706
|
renameChartSubtitle: Ve,
|
|
709
707
|
applyMandatoryConversions: he,
|
|
710
708
|
convertTo1x0x1: ze,
|
|
711
|
-
convertTo2x0x0:
|
|
712
|
-
convertTo3x5x0:
|
|
709
|
+
convertTo2x0x0: w,
|
|
710
|
+
convertTo3x5x0: A,
|
|
713
711
|
convertTo4x0x1: D,
|
|
714
712
|
convertTo5x0x0: M,
|
|
715
713
|
convertTo7x0x0: I,
|
|
716
714
|
convertTo7x6x0: W,
|
|
717
715
|
convertTo8x0x1: q,
|
|
718
|
-
convertTo9x3x0:
|
|
719
|
-
convertTo10x0x0:
|
|
720
|
-
convertTo11x0x0:
|
|
716
|
+
convertTo9x3x0: R,
|
|
717
|
+
convertTo10x0x0: E,
|
|
718
|
+
convertTo11x0x0: N,
|
|
721
719
|
convertTo12x0x0: V,
|
|
722
720
|
convertTo15x0x0: G,
|
|
723
721
|
convertTo16x1x0: _,
|
|
@@ -725,11 +723,11 @@ const Mt = {
|
|
|
725
723
|
convertTo19x0x0: j,
|
|
726
724
|
convertTo20x2x0: H,
|
|
727
725
|
convertTo21x1x0: $,
|
|
728
|
-
convertTo23x3x0:
|
|
729
|
-
convertTo24x8x0:
|
|
726
|
+
convertTo23x3x0: Y,
|
|
727
|
+
convertTo24x8x0: Q,
|
|
730
728
|
convertTo25x0x0: X,
|
|
731
|
-
convertTo25x1x0:
|
|
732
|
-
convertTo25x2x0:
|
|
729
|
+
convertTo25x1x0: Z,
|
|
730
|
+
convertTo25x2x0: K,
|
|
733
731
|
convertTemporalBinningProps2: Ge,
|
|
734
732
|
transformPropsInHeatChart: _e,
|
|
735
733
|
applyConversions: je,
|
|
@@ -738,6 +736,6 @@ const Mt = {
|
|
|
738
736
|
convertWebChartNullCategoryProps: Ce
|
|
739
737
|
};
|
|
740
738
|
export {
|
|
741
|
-
|
|
742
|
-
|
|
739
|
+
At as chartConfigConverterPrivateFunctions,
|
|
740
|
+
wt as convertChartSpec
|
|
743
741
|
};
|
|
@@ -2,8 +2,8 @@ import type { DataOrderParameters } from "../../../chart-rendering/common/data/u
|
|
|
2
2
|
import type { WebChartTypes, WebChartVersionStatus } from "../../../spec/chart-object-literals.js";
|
|
3
3
|
import type { WebChartBin, WebChartDataItem } from "../../../spec/data-source.js";
|
|
4
4
|
import type { RESTSymbolType } from "../../../spec/rest-js-object-literals.js";
|
|
5
|
-
import type { IField, ISimpleFillSymbol } from "../../../spec/rest-js-types.js";
|
|
6
|
-
import type { WebBoxPlot, WebChart, WebChartLegend, WebChartNullCategory, WebChartSeriesType, WebHeatChart } from "../../../spec/web-chart.js";
|
|
5
|
+
import type { IField, ISimpleFillSymbol, ISimpleLineSymbol, ISimpleMarkerSymbol } from "../../../spec/rest-js-types.js";
|
|
6
|
+
import type { WebBoxPlot, WebChart, WebChartBarChartSeries, WebChartBoxPlotSeries, WebChartGaugeSeries, WebChartHeatChartSeries, WebChartLegend, WebChartLineChartSeries, WebChartNullCategory, WebChartPieChartSeries, WebChartRadarChartSeries, WebChartScatterplotSeries, WebChartSeriesType, WebHeatChart } from "../../../spec/web-chart.js";
|
|
7
7
|
import type { DataUpdateDetails } from "../../data/interfaces.js";
|
|
8
8
|
import type { ChartElementLimit } from "../../defaults/interfaces.js";
|
|
9
9
|
import type { QueryObjectOrRaster as QueryObject } from "../../layer/interfaces.js";
|
|
@@ -564,4 +564,11 @@ export function getNullCategoryText(chartConfig?: WebChart): string | undefined;
|
|
|
564
564
|
* @returns True when at least one series has an enabled imagery location/area of interest
|
|
565
565
|
* @internal
|
|
566
566
|
*/
|
|
567
|
-
export function hasEnabledImageryAoi(config: WebChart | undefined): boolean;
|
|
567
|
+
export function hasEnabledImageryAoi(config: WebChart | undefined): boolean;
|
|
568
|
+
|
|
569
|
+
/**
|
|
570
|
+
* Returns the symbol used for the given series.
|
|
571
|
+
*
|
|
572
|
+
* @param series
|
|
573
|
+
*/
|
|
574
|
+
export function getSeriesSymbol(series: WebChartBarChartSeries | WebChartBoxPlotSeries | WebChartGaugeSeries | WebChartHeatChartSeries | WebChartLineChartSeries | WebChartPieChartSeries | WebChartRadarChartSeries | WebChartScatterplotSeries | undefined): ISimpleFillSymbol | ISimpleLineSymbol | ISimpleMarkerSymbol | undefined;
|
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
import type { WebChartBarChartSeries, WebChartBoxPlotSeries, WebChartLineChartSeries, WebChartRadarChartSeries } from "../../spec/web-chart.js";
|
|
2
2
|
|
|
3
3
|
export interface MissingSplitBySeriesProps {
|
|
4
|
+
/**
|
|
5
|
+
* Whether to automatically add the missing series to cover the split-by values not referenced in the configuration.
|
|
6
|
+
*
|
|
7
|
+
* In 5.2, this behavior is disabled by default unless `updateSplitBySeries.addMissingSeries` is explicitly set to `true`.
|
|
8
|
+
*
|
|
9
|
+
* Starting in 6.0, it will be enabled by default.
|
|
10
|
+
*/
|
|
4
11
|
addMissingSeries: boolean;
|
|
5
12
|
seriesTemplate?: WebChartBarChartSeries | WebChartBoxPlotSeries | WebChartLineChartSeries | WebChartRadarChartSeries;
|
|
6
13
|
}
|
|
@@ -8,10 +8,10 @@ import type Renderer from "@arcgis/core/renderers/Renderer.js";
|
|
|
8
8
|
import type MapView from "@arcgis/core/views/MapView.js";
|
|
9
9
|
import type SceneView from "@arcgis/core/views/SceneView.js";
|
|
10
10
|
import type { ChartOptions } from "../../chart-rendering/common/interfaces.js";
|
|
11
|
-
import type {
|
|
11
|
+
import type { ChartLayerInputSansView } from "../../interfaces.js";
|
|
12
12
|
import type { IFeatureLayer, IField, IImageServiceLayer, ITiledImageServiceLayer, IWCSLayer } from "../../spec/rest-js-types.js";
|
|
13
13
|
import type { WebChart, WebChartDataFilters, WebChartQuery } from "../../spec/web-chart.js";
|
|
14
|
-
import type { QueryObject, QueryObjectOrRaster, RendererInfo } from "./interfaces.js";
|
|
14
|
+
import type { SupportedLayer, QueryObject, QueryObjectOrRaster, RendererInfo } from "./interfaces.js";
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
17
|
* Returns the renderer type and the field and normalization field if applicable.
|
|
@@ -108,7 +108,7 @@ export function getFieldFromName(fieldName: string, fields?: IField[]): IField |
|
|
|
108
108
|
* When the layer is undefined, returns undefined ID fields and false for the boolean.
|
|
109
109
|
* @internal
|
|
110
110
|
*/
|
|
111
|
-
export function getLayerUniqueIdOrObjectIdFields(layer?:
|
|
111
|
+
export function getLayerUniqueIdOrObjectIdFields(layer?: ChartLayerInputSansView): {
|
|
112
112
|
idFields: string[] | undefined;
|
|
113
113
|
isTraditionalTypeOID: boolean;
|
|
114
114
|
};
|
|
@@ -120,7 +120,7 @@ export function getLayerUniqueIdOrObjectIdFields(layer?: SupportedLayer | Suppor
|
|
|
120
120
|
* @param layer - The layer
|
|
121
121
|
* @internal
|
|
122
122
|
*/
|
|
123
|
-
export function getObjectIdField(layer?:
|
|
123
|
+
export function getObjectIdField(layer?: ChartLayerInputSansView): {
|
|
124
124
|
idField: string;
|
|
125
125
|
isTraditionalTypeOID: boolean;
|
|
126
126
|
};
|
|
@@ -273,7 +273,7 @@ export function findMatchingField(layerFieldList: IField[], fieldToMatch: string
|
|
|
273
273
|
*/
|
|
274
274
|
export function matchFieldsList(props: {
|
|
275
275
|
fieldsList: string[] | undefined;
|
|
276
|
-
queryObject:
|
|
276
|
+
queryObject: ChartLayerInputSansView;
|
|
277
277
|
returnUndefinedIfNotFound?: boolean;
|
|
278
278
|
}): string[] | undefined;
|
|
279
279
|
|
|
@@ -349,4 +349,4 @@ export function findMatchingLayerFromView(props: {
|
|
|
349
349
|
* @param layer - The layer
|
|
350
350
|
* @param abortSignal - Optional abort signal to cancel the request
|
|
351
351
|
*/
|
|
352
|
-
export function loadLayer(layer:
|
|
352
|
+
export function loadLayer(layer: ChartLayerInputSansView | Layer | undefined, abortSignal?: AbortSignal): Promise<void>;
|