@arcgis/charts-components 6.0.0-next.3 → 6.0.0-next.31
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/2FSC4TII.js +2 -0
- package/dist/cdn/2P3VH3BF.js +2 -0
- package/dist/cdn/3YLQHPDB.js +2 -0
- package/dist/cdn/424VG732.js +2 -0
- package/dist/cdn/47MLKUMN.js +2 -0
- package/dist/cdn/4B7KYFKX.js +2 -0
- package/dist/cdn/4E7XIO26.js +2 -0
- package/dist/cdn/4FZEHAQ3.js +2 -0
- package/dist/cdn/4L3DNWI7.js +2 -0
- package/dist/cdn/4O5PXQHF.js +4 -0
- package/dist/cdn/4UGEZMMX.js +2 -0
- package/dist/cdn/{H5VCT3XP.js → 5EAIW2ZK.js} +1 -1
- package/dist/cdn/5PW4T4LC.js +2 -0
- package/dist/cdn/{33LWKOPD.js → 6GBCPR5J.js} +1 -1
- package/dist/cdn/{563H5HEV.js → 6SLVQTPT.js} +1 -1
- package/dist/cdn/{VSKK65CP.js → 6SVLCTQS.js} +1 -1
- package/dist/cdn/6WXE7PI7.js +2 -0
- package/dist/cdn/7HBNUKHF.js +2 -0
- package/dist/cdn/7KGHI7WT.js +2 -0
- package/dist/cdn/7KIHMJWQ.js +2 -0
- package/dist/cdn/7L6DK5OS.js +2 -0
- package/dist/cdn/7RPS2ZKZ.js +2 -0
- package/dist/cdn/7TSIJZWC.js +2 -0
- package/dist/cdn/ADENRYX7.js +2 -0
- package/dist/cdn/BAC6JT5W.js +2 -0
- package/dist/cdn/{CLCHZMZ5.js → BDR6ELDH.js} +1 -1
- package/dist/cdn/BIFGQ23U.js +2 -0
- package/dist/cdn/BWNBESN5.js +2 -0
- package/dist/cdn/CUOXXQBF.js +2 -0
- package/dist/cdn/{6RGTAMGU.js → CUQWT4QG.js} +1 -1
- package/dist/cdn/CVYI4FDJ.js +2 -0
- package/dist/cdn/CY3KIENE.js +2 -0
- package/dist/cdn/{FKES55PK.js → DH2G4KHH.js} +1 -1
- package/dist/cdn/DK5CFPVG.js +2 -0
- package/dist/cdn/DYGFR6KY.js +2 -0
- package/dist/cdn/E5F3CSMH.js +2 -0
- package/dist/cdn/EEZEPHWK.js +2 -0
- package/dist/cdn/{PQ3XCNCP.js → EGEYRUPY.js} +1 -1
- package/dist/cdn/FFU63U6V.js +2 -0
- package/dist/cdn/FWGGOXK6.js +2 -0
- package/dist/cdn/GIJFJBQ5.js +2 -0
- package/dist/cdn/GTXF2Q7A.js +2 -0
- package/dist/cdn/{KK445MLC.js → GU6VG5TK.js} +1 -1
- package/dist/cdn/H4EBGCSZ.js +2 -0
- package/dist/cdn/HECZ3OT6.js +4 -0
- package/dist/cdn/HEL54XVB.js +2 -0
- package/dist/cdn/HR5JU7P5.js +2 -0
- package/dist/cdn/ICEANLLZ.js +2 -0
- package/dist/cdn/IRSIUA3Z.js +2 -0
- package/dist/cdn/J77BQI65.js +2 -0
- package/dist/cdn/JFZ5WV6G.js +2 -0
- package/dist/cdn/{V5Z75IQI.js → JON7QEXZ.js} +2 -2
- package/dist/cdn/JTXDHQSH.js +2 -0
- package/dist/cdn/KNJKA4IL.js +2 -0
- package/dist/cdn/{OYUTQX4U.js → KW3N46DO.js} +1 -1
- package/dist/cdn/L2G4TISY.js +2 -0
- package/dist/cdn/LEWMDRPW.js +2 -0
- package/dist/cdn/LHYWDDAS.js +2 -0
- package/dist/cdn/LSO2XNPH.js +4 -0
- package/dist/cdn/M4DADMOO.js +2 -0
- package/dist/cdn/{PIGINE4M.js → M7MSRLEE.js} +1 -1
- package/dist/cdn/MIONK5O5.js +2 -0
- package/dist/cdn/MVPGEBWQ.js +2 -0
- package/dist/cdn/N45L56WG.js +2 -0
- package/dist/cdn/NEVDA2IQ.js +2 -0
- package/dist/cdn/{LPLMRI3E.js → OJFYB73J.js} +1 -1
- package/dist/cdn/{2WQNU554.js → OLXXAT2G.js} +1 -1
- package/dist/cdn/OXASIEVD.js +2 -0
- package/dist/cdn/PB4WIYWN.js +2 -0
- package/dist/cdn/{FM6F6ZYW.js → PSKIJ3SM.js} +1 -1
- package/dist/cdn/PV7DIUGW.js +2 -0
- package/dist/cdn/PY7P35QO.js +2 -0
- package/dist/cdn/{FNXREQOE.js → Q3P2IG23.js} +1 -1
- package/dist/cdn/QCSV57EQ.js +2 -0
- package/dist/cdn/QGRQW5WK.js +2 -0
- package/dist/cdn/{S2BGEXZV.js → R6XBFNY4.js} +1 -1
- package/dist/cdn/RGPG43GI.js +2 -0
- package/dist/cdn/S4SOKS52.js +2 -0
- package/dist/cdn/SAK4CBE7.js +2 -0
- package/dist/cdn/SD2WCRDV.js +2 -0
- package/dist/cdn/SMNUEDMN.js +2 -0
- package/dist/cdn/T35WVFIU.js +2 -0
- package/dist/cdn/TFJ4OWRJ.js +2 -0
- package/dist/cdn/TLC7ZXQM.js +2 -0
- package/dist/cdn/TQHFCEOB.js +2 -0
- package/dist/cdn/USYS3LBV.js +2 -0
- package/dist/cdn/VAUOYVAJ.js +2 -0
- package/dist/cdn/{INYMF2BQ.js → VKMVMHTT.js} +1 -1
- package/dist/cdn/VOY3C6F2.js +2 -0
- package/dist/cdn/WE4SAQIV.js +2 -0
- package/dist/cdn/WFMIM4RW.js +2 -0
- package/dist/cdn/WPAN7ZED.js +2 -0
- package/dist/cdn/XB6GQZZL.js +2 -0
- package/dist/cdn/{HMZRDWG2.js → XERWQ4IR.js} +27 -27
- package/dist/cdn/XFXZYSPI.js +2 -0
- package/dist/cdn/{CUMXC4O4.js → XI6OEXXA.js} +1 -1
- package/dist/cdn/XR46HOI2.js +2 -0
- package/dist/cdn/Y672RHLI.js +2 -0
- package/dist/cdn/{OZSHGMU6.js → Y6URECIF.js} +1 -1
- package/dist/cdn/YK5YAUHK.js +2 -0
- package/dist/cdn/YKSQH65V.js +2 -0
- package/dist/cdn/{QQFMQAJ3.js → ZHMYNWSY.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 +18 -20
- package/dist/chunks/axis-lines-symbol.js +6 -6
- package/dist/chunks/bar-chart-model.js +6 -8
- package/dist/chunks/box-plot-data.js +164 -163
- package/dist/chunks/box-plot-model.js +40 -38
- package/dist/chunks/chart-model.js +37 -39
- package/dist/chunks/chart-ui-utils.js +45 -47
- package/dist/chunks/chart-ui-utils2.js +1 -1
- package/dist/chunks/class-breaks.js +11 -11
- package/dist/chunks/combo-bar-line-chart-model.js +15 -16
- package/dist/chunks/data-labels-symbol.js +1 -1
- package/dist/chunks/data-labels-visibility.js +1 -1
- package/dist/chunks/data.js +49 -51
- package/dist/chunks/gauge-model.js +64 -64
- package/dist/chunks/generate-x-axis-title.js +17 -17
- package/dist/chunks/heat-chart-model.js +13 -14
- package/dist/chunks/histogram-data.js +41 -42
- package/dist/chunks/histogram-model.js +2 -2
- package/dist/chunks/index.js +5432 -4273
- package/dist/chunks/index2.js +1165 -871
- package/dist/chunks/index3.js +11040 -1173
- package/dist/chunks/index4.js +65 -11086
- package/dist/chunks/line-chart-model.js +17 -18
- package/dist/chunks/model-setter.js +6 -6
- package/dist/chunks/model-with-x-guides.js +1 -1
- package/dist/chunks/model-with-y-guides.js +25 -25
- package/dist/chunks/negative-values-stacked-to-baseline.js +2 -2
- package/dist/chunks/pie-chart-data.js +25 -27
- package/dist/chunks/pie-chart-model.js +168 -167
- package/dist/chunks/radar-chart-model.js +6 -7
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/rotated-state.js +1 -1
- package/dist/chunks/rounded-corners.js +2 -2
- package/dist/chunks/scatterplot-model.js +74 -75
- package/dist/chunks/serial-chart-data.js +513 -513
- package/dist/chunks/serial-chart-model.js +61 -58
- package/dist/chunks/series-length.js +4 -4
- package/dist/chunks/series.js +1 -1
- package/dist/chunks/type-guards.js +109 -55
- package/dist/chunks/utils.js +146 -212
- package/dist/chunks/web-component-utils.js +55 -56
- package/dist/chunks/x-bounds.js +20 -21
- package/dist/components/arcgis-chart/customElement.d.ts +76 -22
- package/dist/components/arcgis-chart/customElement.js +8202 -7978
- package/dist/components/arcgis-charts-action-bar/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +63 -58
- package/dist/components/arcgis-charts-config-bar-chart-data/index.js +0 -1
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +11 -12
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +51 -45
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +115 -113
- package/dist/components/arcgis-charts-config-box-plot-data/index.js +0 -1
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +11 -12
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +52 -46
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +189 -184
- package/dist/components/arcgis-charts-config-font-style/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-format/customElement.js +37 -38
- package/dist/components/arcgis-charts-config-general/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-guide/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +13 -14
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +32 -33
- package/dist/components/arcgis-charts-config-histogram/customElement.js +2 -3
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +4 -5
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +8 -9
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +21 -22
- package/dist/components/arcgis-charts-config-line-chart-data/index.js +0 -1
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +7 -8
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +40 -35
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +38 -34
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +21 -22
- package/dist/components/arcgis-charts-config-pie-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +9 -10
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +3 -4
- package/dist/components/arcgis-charts-config-scatter-plot-aoi/customElement.js +20 -24
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +79 -79
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +3 -4
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +21 -25
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +20 -21
- package/dist/components/arcgis-charts-info-modal/customElement.js +4 -4
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +322 -322
- package/dist/loader.js +3 -3
- package/dist/model/box-plot-model/box-plot-model.d.ts +6 -2
- package/dist/model/mixins/model-with-multi-axes.d.ts +53 -2
- package/dist/model/pie-chart-model/pie-chart-model.d.ts +6 -2
- package/dist/model/serial-chart-model/serial-chart-model.d.ts +6 -2
- package/dist/spec/rest-js-types.d.ts +1 -5
- package/dist/types/lumina.d.ts +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 +91 -93
- package/dist/utils/chart-config/utils/index.d.ts +10 -3
- package/dist/utils/components/interfaces.d.ts +7 -0
- package/dist/utils/data/categorical-data/index.d.ts +1 -0
- package/dist/utils/misc/index.d.ts +4 -4
- package/package.json +7 -7
- package/dist/cdn/23NH4HLE.js +0 -2
- package/dist/cdn/2DRKIHTI.js +0 -2
- package/dist/cdn/2E3WHSEW.js +0 -2
- package/dist/cdn/2RG5JCBW.js +0 -3
- package/dist/cdn/2X2QOEKX.js +0 -2
- package/dist/cdn/37WXQO5B.js +0 -2
- package/dist/cdn/3INTJJ4X.js +0 -2
- package/dist/cdn/3RJNZA24.js +0 -2
- package/dist/cdn/4CU5D5WQ.js +0 -2
- package/dist/cdn/4WQUPC2P.js +0 -2
- package/dist/cdn/5DAVFUDX.js +0 -2
- package/dist/cdn/5VCTFSTZ.js +0 -2
- package/dist/cdn/5XGX5QH2.js +0 -2
- package/dist/cdn/6XH6ZRHO.js +0 -2
- package/dist/cdn/732AMNPK.js +0 -2
- package/dist/cdn/7WD2VKG4.js +0 -2
- package/dist/cdn/7YN565O4.js +0 -2
- package/dist/cdn/A2BFOCSN.js +0 -2
- package/dist/cdn/A5TI5TEO.js +0 -2
- package/dist/cdn/AHB4IS7P.js +0 -2
- package/dist/cdn/B6ADEFC7.js +0 -2
- package/dist/cdn/B6APNE72.js +0 -3
- package/dist/cdn/BDIRQUQE.js +0 -2
- package/dist/cdn/BWZA3447.js +0 -2
- package/dist/cdn/BZTSUXUT.js +0 -2
- package/dist/cdn/CFACTMRG.js +0 -2
- package/dist/cdn/D2LNPCIA.js +0 -2
- package/dist/cdn/D6WQTOUC.js +0 -2
- package/dist/cdn/DTSX7SEI.js +0 -2
- package/dist/cdn/EPFEFHM2.js +0 -2
- package/dist/cdn/EW2P4QSN.js +0 -2
- package/dist/cdn/GDJDA5MG.js +0 -2
- package/dist/cdn/GE7CLC6K.js +0 -4
- package/dist/cdn/GEPIPU4G.js +0 -2
- package/dist/cdn/GSCC3FON.js +0 -2
- package/dist/cdn/GXYGXB4U.js +0 -2
- package/dist/cdn/IEOIKLLK.js +0 -2
- package/dist/cdn/ISSUAEJS.js +0 -2
- package/dist/cdn/KJNBURYA.js +0 -2
- package/dist/cdn/L3AKSDIB.js +0 -2
- package/dist/cdn/L5MTHGFZ.js +0 -2
- package/dist/cdn/LHLPK6TU.js +0 -2
- package/dist/cdn/LXFY54NF.js +0 -2
- package/dist/cdn/MJUCIYQN.js +0 -2
- package/dist/cdn/NGBBNBA7.js +0 -2
- package/dist/cdn/NIZC75X3.js +0 -2
- package/dist/cdn/OBKDR3MU.js +0 -2
- package/dist/cdn/OQKL344Q.js +0 -2
- package/dist/cdn/OZSOICXE.js +0 -2
- package/dist/cdn/PBQRZBQM.js +0 -2
- package/dist/cdn/PT66VVXN.js +0 -2
- package/dist/cdn/QOENPUSD.js +0 -2
- package/dist/cdn/QPVBVDRP.js +0 -2
- package/dist/cdn/RGMPFNUN.js +0 -2
- package/dist/cdn/RGSJ3JFI.js +0 -2
- package/dist/cdn/RVHNFMTN.js +0 -2
- package/dist/cdn/RVQPEB4W.js +0 -2
- package/dist/cdn/RXTO6RE2.js +0 -2
- package/dist/cdn/SCEFJRON.js +0 -2
- package/dist/cdn/SEILP6QP.js +0 -2
- package/dist/cdn/SKI5Z6UH.js +0 -2
- package/dist/cdn/SSEWUPML.js +0 -2
- package/dist/cdn/TCE6PLHN.js +0 -2
- package/dist/cdn/TOCU6UKM.js +0 -2
- package/dist/cdn/TSASF4ZC.js +0 -2
- package/dist/cdn/UDAJILEU.js +0 -2
- package/dist/cdn/UZOYADSB.js +0 -2
- package/dist/cdn/W2PTHYOT.js +0 -2
- package/dist/cdn/W53DMMGZ.js +0 -2
- package/dist/cdn/WAQJ7V62.js +0 -2
- package/dist/cdn/WEPXOYBS.js +0 -2
- package/dist/cdn/WLPUBXN7.js +0 -2
- package/dist/cdn/XPCXTKEY.js +0 -2
- package/dist/cdn/Y2S7EWZR.js +0 -2
- package/dist/cdn/YF6ML4P6.js +0 -4
- package/dist/cdn/YGLBPPXP.js +0 -2
- package/dist/cdn/YWUNLBCQ.js +0 -2
- package/dist/cdn/YYTAWATK.js +0 -2
- package/dist/cdn/ZDQWMMOA.js +0 -2
- package/dist/cdn/ZFHMGE36.js +0 -2
- package/dist/cdn/ZGNJFT7B.js +0 -2
- package/dist/cdn/ZMVIOIBB.js +0 -2
- package/dist/cdn/ZTHSDPEH.js +0 -2
- package/dist/chunks/index5.js +0 -69
- package/dist/chunks/type-guards2.js +0 -113
- package/dist/chunks/utils2.js +0 -63
- /package/dist/cdn/{XFEWDUTX.js → 2PUVZIJ6.js} +0 -0
- /package/dist/cdn/{UHSL7Y3B.js → 33NEGHM6.js} +0 -0
- /package/dist/cdn/{6FW2SXLC.js → 55OFHBXV.js} +0 -0
- /package/dist/cdn/{SMHUUBEU.js → 5OSVKP4N.js} +0 -0
- /package/dist/cdn/{VITUV4HV.js → 5QLZ66AU.js} +0 -0
- /package/dist/cdn/{UQRD2CTK.js → 5SOADBYD.js} +0 -0
- /package/dist/cdn/{55DRYT5X.js → 5ZZZKI7V.js} +0 -0
- /package/dist/cdn/{5ANJA54O.js → 6IIBIZJH.js} +0 -0
- /package/dist/cdn/{QLBO3URO.js → 6QY2OFUO.js} +0 -0
- /package/dist/cdn/{UITA7CSN.js → 7AWJIBMG.js} +0 -0
- /package/dist/cdn/{OTV3YYDU.js → 7JMZPDM5.js} +0 -0
- /package/dist/cdn/{373UZR4I.js → 7N2LSD5J.js} +0 -0
- /package/dist/cdn/{SCS4MWFN.js → A6DV5ILW.js} +0 -0
- /package/dist/cdn/{VT3NOR5A.js → BGHJMVNV.js} +0 -0
- /package/dist/cdn/{L4KDCWA7.js → BGVIOGAX.js} +0 -0
- /package/dist/cdn/{Z2IHEWWP.js → CYZPIC2B.js} +0 -0
- /package/dist/cdn/{AVRIN2FL.js → CZKZMSFJ.js} +0 -0
- /package/dist/cdn/{WMGJN3JL.js → D66GTKJ7.js} +0 -0
- /package/dist/cdn/{XR7RCGIT.js → DJGQM3EK.js} +0 -0
- /package/dist/cdn/{PQESGESY.js → FOHR4IFG.js} +0 -0
- /package/dist/cdn/{3DDSV3IF.js → GOVIUHKT.js} +0 -0
- /package/dist/cdn/{KE7XE22Z.js → H44RQIWN.js} +0 -0
- /package/dist/cdn/{W7VPVF72.js → HJUHYEJT.js} +0 -0
- /package/dist/cdn/{57RWTLRG.js → HL6ANDJH.js} +0 -0
- /package/dist/cdn/{HUU3QFFC.js → IDVYAUPY.js} +0 -0
- /package/dist/cdn/{XIE5EUIH.js → IQSNWDU6.js} +0 -0
- /package/dist/cdn/{K43DVQFC.js → JE32QM44.js} +0 -0
- /package/dist/cdn/{52PHJCYM.js → JETTF7E2.js} +0 -0
- /package/dist/cdn/{L26HYK34.js → JSOFN65T.js} +0 -0
- /package/dist/cdn/{LE3B3ATZ.js → KMZIRJIR.js} +0 -0
- /package/dist/cdn/{XUSFQDK4.js → KQ36C2RK.js} +0 -0
- /package/dist/cdn/{O6GVF76X.js → KRRYFLG4.js} +0 -0
- /package/dist/cdn/{4MSDOPVE.js → M4AD4UJU.js} +0 -0
- /package/dist/cdn/{2BPLDZAJ.js → NUH2GAPZ.js} +0 -0
- /package/dist/cdn/{Q4H5YVTW.js → OWEVDN6C.js} +0 -0
- /package/dist/cdn/{GCUOASRZ.js → QCFAV626.js} +0 -0
- /package/dist/cdn/{R4PFJLD2.js → QMBHZ5JE.js} +0 -0
- /package/dist/cdn/{J5VMBGYI.js → SWHSL245.js} +0 -0
- /package/dist/cdn/{C7VQM4TH.js → T7LKXFIZ.js} +0 -0
- /package/dist/cdn/{KCP6AJV7.js → XQTLPFTW.js} +0 -0
- /package/dist/cdn/{27C6PCQ2.js → XXO5K6N4.js} +0 -0
- /package/dist/cdn/{3VZK52LO.js → Z5DYKSTK.js} +0 -0
|
@@ -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, cR as se, bW as Xe, a7 as ne, b7 as ae, l as Ze, cS as Ke, ca as Je, cb as Ue, r as T, bG as et, y as u, cT as b, cU as te, Y as tt, Z as rt, cN as k, B as J, O as le, cV as it, cW as ot, cX as st, aa 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 Ne(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) {
|
|
@@ -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,17 +526,17 @@ 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) {
|
|
536
|
+
let e = n(r);
|
|
537
|
+
return e = Ae(e), e;
|
|
538
|
+
}
|
|
539
|
+
function N(r) {
|
|
542
540
|
return Me(r);
|
|
543
541
|
}
|
|
544
542
|
function E(r) {
|
|
@@ -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 Ne(r);
|
|
565
563
|
}
|
|
566
564
|
function $(r) {
|
|
567
565
|
return Ee(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 = N(t), t = E(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,10 +612,10 @@ 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 = N(t);
|
|
621
619
|
break;
|
|
622
620
|
case "10.0.0":
|
|
623
621
|
t = E(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,49 +672,49 @@ 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:
|
|
704
|
+
convertTemporalBinningProps: Ne,
|
|
707
705
|
convertRESTStatisticTypeToWebChartStatisticType: Ee,
|
|
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:
|
|
716
|
+
convertTo9x3x0: R,
|
|
717
|
+
convertTo10x0x0: N,
|
|
720
718
|
convertTo11x0x0: E,
|
|
721
719
|
convertTo12x0x0: V,
|
|
722
720
|
convertTo15x0x0: G,
|
|
@@ -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
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type { ChartElementLimit } from "../defaults/interfaces.js";
|
|
2
|
-
import type { SelectionData, ChartSubType } from "./interfaces.js";
|
|
3
1
|
import type { WebChartSortOrderKinds, WebChartTemporalBinningUnits, WebChartTypes, WebChartStackedKinds } from "../../spec/chart-object-literals.js";
|
|
4
|
-
import type { WebBoxPlot, WebChart, WebChartSeries, WebChartSeriesType } from "../../spec/web-chart.js";
|
|
5
|
-
import type { IField } from "../../spec/rest-js-types.js";
|
|
6
2
|
import type { WebChartDataItem, WebChartDataItemValue } from "../../spec/data-source.js";
|
|
7
3
|
import type { OverlayTerms, LegendItemVisibility } from "../../spec/events.js";
|
|
4
|
+
import type { IField } from "../../spec/rest-js-types.js";
|
|
5
|
+
import type { WebBoxPlot, WebChart, WebChartSeries, WebChartSeriesType } from "../../spec/web-chart.js";
|
|
6
|
+
import type { ChartElementLimit } from "../defaults/interfaces.js";
|
|
7
|
+
import type { SelectionData, ChartSubType } from "./interfaces.js";
|
|
8
8
|
|
|
9
9
|
/** @internal */
|
|
10
10
|
export type XYChartType = typeof WebChartTypes.BarSeries | typeof WebChartTypes.BoxPlotSeries | typeof WebChartTypes.ComboLineAndBarSeries | typeof WebChartTypes.HeatSeries | typeof WebChartTypes.HistogramSeries | typeof WebChartTypes.LineSeries | typeof WebChartTypes.RadarSeries | typeof WebChartTypes.ScatterSeries;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/charts-components",
|
|
3
|
-
"version": "6.0.0-next.
|
|
3
|
+
"version": "6.0.0-next.31",
|
|
4
4
|
"description": "Reusable ArcGIS charting Web Components.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -29,15 +29,15 @@
|
|
|
29
29
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@amcharts/amcharts4": "^4.10.31",
|
|
32
|
-
"@amcharts/amcharts5": "~5.21.
|
|
33
|
-
"@arcgis/lumina": "6.0.0-next.
|
|
34
|
-
"@arcgis/toolkit": "6.0.0-next.
|
|
32
|
+
"@amcharts/amcharts5": "~5.21.5",
|
|
33
|
+
"@arcgis/lumina": "6.0.0-next.31",
|
|
34
|
+
"@arcgis/toolkit": "6.0.0-next.31",
|
|
35
35
|
"@esri/arcgis-html-sanitizer": "~4.2.0-next.2",
|
|
36
36
|
"@lit/task": "^1.0.3",
|
|
37
37
|
"@zumer/snapdom": "^2.24.1",
|
|
38
38
|
"ajv": "6.12.6",
|
|
39
39
|
"d3-shape": "^3.2.0",
|
|
40
|
-
"es-toolkit": "^1.
|
|
40
|
+
"es-toolkit": "^1.53.1",
|
|
41
41
|
"jszip": "^3.10.1",
|
|
42
42
|
"lit": "^3.3.0",
|
|
43
43
|
"luxon": "~3.7.2",
|
|
@@ -45,8 +45,8 @@
|
|
|
45
45
|
"tslib": "^2.8.1"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
|
-
"@arcgis/core": "6.0.0-next.
|
|
49
|
-
"@esri/calcite-components": "^5.2.0
|
|
48
|
+
"@arcgis/core": "6.0.0-next.31",
|
|
49
|
+
"@esri/calcite-components": "^5.2.0"
|
|
50
50
|
},
|
|
51
51
|
"css.customData": [
|
|
52
52
|
"dist/docs/vscode.css-custom-data.json"
|