@arcgis/charts-components 5.2.0-next.6 → 5.2.0-next.61
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/README.md +2 -2
- package/dist/cdn/{FF4DUQDZ.js → 22WGB4CQ.js} +1 -1
- package/dist/cdn/{YJ6TRXMU.js → 24MSASQQ.js} +1 -1
- package/dist/cdn/{4USHOYLT.js → 2BE3GYK4.js} +1 -1
- package/dist/cdn/2G65P262.js +2 -0
- package/dist/cdn/2RYKKN36.js +2 -0
- package/dist/cdn/3AYXOX4U.js +2 -0
- package/dist/cdn/{ZFZ5AEUQ.js → 3CGAUDYD.js} +1 -1
- package/dist/cdn/{JBHGSSHS.js → 3FZCVKWJ.js} +1 -1
- package/dist/cdn/{DCZWZOPF.js → 3GVTYZ2I.js} +1 -1
- package/dist/cdn/3YCGBAQY.js +2 -0
- package/dist/cdn/3ZGG7Q5M.js +2 -0
- package/dist/cdn/46PXO7ZC.js +4 -0
- package/dist/cdn/4COV22K4.js +2 -0
- package/dist/cdn/{CHLE2QGU.js → 4DXGXATO.js} +1 -1
- package/dist/cdn/{AM2TOTX6.js → 4EBMUPEV.js} +1 -1
- package/dist/cdn/4ITNOJXC.js +2 -0
- package/dist/cdn/{E7OAEGSE.js → 4VL2SBHK.js} +1 -1
- package/dist/cdn/54W4C75M.js +2 -0
- package/dist/cdn/{H2A5GZ55.js → 5D2QRMC6.js} +1 -1
- package/dist/cdn/{GDQBQQUP.js → 5JXEO4VE.js} +1 -1
- package/dist/cdn/{LUSFGRHV.js → 5WIR3JWC.js} +1 -1
- package/dist/cdn/5YP7P6S3.js +2 -0
- package/dist/cdn/{VT4WJZN6.js → 64B7ILJI.js} +1 -1
- package/dist/cdn/67QYTLMM.js +2 -0
- package/dist/cdn/6AI3ZXL5.js +2 -0
- package/dist/cdn/6MNV7FJC.js +2 -0
- package/dist/cdn/{7LYAWWOE.js → 6WKTHJQK.js} +1 -1
- package/dist/cdn/{II2ZPEUZ.js → 7C2LVFNV.js} +1 -1
- package/dist/cdn/{4Z23HWDH.js → 7COM5REK.js} +1 -1
- package/dist/cdn/{JRHMUFED.js → 7DIQIFKR.js} +1 -1
- package/dist/cdn/{ETKPMU7Z.js → 7WVTY3XI.js} +1 -1
- package/dist/cdn/{A5AECJXP.js → A2NFOGT2.js} +1 -1
- package/dist/cdn/{OJ5X6I3H.js → ADI63OO7.js} +1 -1
- package/dist/cdn/ANHW36VW.js +2 -0
- package/dist/cdn/{DKAHZ7IX.js → ASZ6YFIL.js} +1 -1
- package/dist/cdn/{VY3KBD6N.js → AYQ4HHL6.js} +1 -1
- package/dist/cdn/AYUYEY5H.js +2 -0
- package/dist/cdn/{JJIGLOJA.js → AZKX3FMB.js} +1 -1
- package/dist/cdn/{AJWYIBGC.js → AZMQPJO3.js} +1 -1
- package/dist/cdn/{TXB2I2U5.js → B2SUC7VR.js} +1 -1
- package/dist/cdn/{TACQVUBU.js → BDEDEGCZ.js} +1 -1
- package/dist/cdn/BDTKAMUN.js +2 -0
- package/dist/cdn/BGOWDCTO.js +2 -0
- package/dist/cdn/BHGOAHMJ.js +2 -0
- package/dist/cdn/{CNFBNAPJ.js → BK7DHYA7.js} +1 -1
- package/dist/cdn/BKK57XHL.js +2 -0
- package/dist/cdn/BLZLMGO6.js +2 -0
- package/dist/cdn/BYSUABOV.js +2 -0
- package/dist/cdn/{BJDRJUEJ.js → CDJRYMBP.js} +1 -1
- package/dist/cdn/{6XTKJ7DO.js → CHMLTTRN.js} +1 -1
- package/dist/cdn/{HVO4LIXR.js → CL5G6D6W.js} +1 -1
- package/dist/cdn/{AWF4R7WL.js → CMGCZ4MF.js} +1 -1
- package/dist/cdn/{QMSINFQX.js → CVJSVWF3.js} +1 -1
- package/dist/cdn/{ZFJFTDJF.js → CYGMXV56.js} +1 -1
- package/dist/cdn/{K3GNHGEW.js → D3KIBJKD.js} +1 -1
- package/dist/cdn/{KDJ5RVHA.js → DAFNQT4C.js} +1 -1
- package/dist/cdn/DBAM7MH7.js +2 -0
- package/dist/cdn/DGV6S2W3.js +2 -0
- package/dist/cdn/{TF7TE7K5.js → DJPMW6UC.js} +1 -1
- package/dist/cdn/DPTA2AET.js +2 -0
- package/dist/cdn/DQXO7PWX.js +2 -0
- package/dist/cdn/EAV3KAS7.js +2 -0
- package/dist/cdn/EMBMJCFZ.js +2 -0
- package/dist/cdn/EOHKNJSJ.js +2 -0
- package/dist/cdn/{J5NHXQLA.js → EQZBQP5A.js} +1 -1
- package/dist/cdn/EUOJG5H6.js +2 -0
- package/dist/cdn/{2HUAW34Q.js → EXS2KOEA.js} +1 -1
- package/dist/cdn/FHBCVW5T.js +2 -0
- package/dist/cdn/FJGG2VVZ.js +2 -0
- package/dist/cdn/FQLRMWNL.js +2 -0
- package/dist/cdn/{QFEZPP3R.js → GARBFC7Q.js} +1 -1
- package/dist/cdn/{CLXVAIQX.js → GP3LPIRJ.js} +1 -1
- package/dist/cdn/GRL5SM6K.js +2 -0
- package/dist/cdn/{ADGMA3ST.js → H57XAQPI.js} +2 -2
- package/dist/cdn/{L4G6FO7A.js → HBOYEK6P.js} +1 -1
- package/dist/cdn/{MVHQR4FJ.js → HOIPLQXD.js} +1 -1
- package/dist/cdn/{LFQGH44F.js → HQMOMCWF.js} +1 -1
- package/dist/cdn/{N6AOFBBX.js → HSQ32NUA.js} +1 -1
- package/dist/cdn/{7HGVEE7A.js → HUNN3ERX.js} +1 -1
- package/dist/cdn/{AZOBLYAP.js → I2BM5KSH.js} +1 -1
- package/dist/cdn/I3XBTQKJ.js +2 -0
- package/dist/cdn/{JQKRGUBU.js → IDAOLPMA.js} +1 -1
- package/dist/cdn/INISFVAK.js +2 -0
- package/dist/cdn/{P4HSSZRL.js → IONJLIQQ.js} +1 -1
- package/dist/cdn/{KCMZSNBL.js → ISK4QVLY.js} +1 -1
- package/dist/cdn/{DEGBVJ76.js → IUOORM26.js} +1 -1
- package/dist/cdn/J3CL6KB6.js +2 -0
- package/dist/cdn/JGESKW6S.js +2 -0
- package/dist/cdn/JH3NSZUT.js +2 -0
- package/dist/cdn/{ML3A3MYV.js → JS6A5QAV.js} +1 -1
- package/dist/cdn/{4LPXOEML.js → JUON3AJY.js} +1 -1
- package/dist/cdn/{AK7X7SGI.js → JYC77MVD.js} +1 -1
- package/dist/cdn/JYITKARU.js +104 -0
- package/dist/cdn/{KUZR6CGB.js → JZ5HUNM5.js} +1 -1
- package/dist/cdn/K4APZJ2O.js +2 -0
- package/dist/cdn/KCES2YBJ.js +2 -0
- package/dist/cdn/KDCZQ6UT.js +2 -0
- package/dist/cdn/KJZTU3DV.js +2 -0
- package/dist/cdn/KLKI4XNW.js +2 -0
- package/dist/cdn/{5XTQQOTT.js → KOCZJFY6.js} +1 -1
- package/dist/cdn/{D3CFPMAR.js → KOY5DWSR.js} +1 -1
- package/dist/cdn/KWA7OWHO.js +2 -0
- package/dist/cdn/L7TUV2MY.js +2 -0
- package/dist/cdn/{AY6IOQ3H.js → LAEUROZM.js} +1 -1
- package/dist/cdn/LGTXQIF7.js +2 -0
- package/dist/cdn/{IPM2XKST.js → LHDBHPXR.js} +1 -1
- package/dist/cdn/LIBE4XVH.js +2 -0
- package/dist/cdn/M744CFJ2.js +2 -0
- package/dist/cdn/{CHQDKVVQ.js → MARXRC6B.js} +1 -1
- package/dist/cdn/MI6AKTXQ.js +2 -0
- package/dist/cdn/MJTWR33N.js +2 -0
- package/dist/cdn/MPGHOXLW.js +2 -0
- package/dist/cdn/MU6ZYADT.js +2 -0
- package/dist/cdn/{XE3FKQFA.js → MVCB4RM7.js} +1 -1
- package/dist/cdn/MXE4VPZS.js +2 -0
- package/dist/cdn/{KFONSKQF.js → MZ2RZ62O.js} +1 -1
- package/dist/cdn/NK66D65H.js +2 -0
- package/dist/cdn/{XG2KN6YJ.js → NKPZCF5U.js} +1 -1
- package/dist/cdn/{VE3GFNNM.js → NRXCKYYY.js} +1 -1
- package/dist/cdn/{4C6KWLWN.js → NWLNHFHJ.js} +1 -1
- package/dist/cdn/NZ2C5DJB.js +2 -0
- package/dist/cdn/O3VKOV2W.js +2 -0
- package/dist/cdn/{THTYR6IL.js → OAXHS4LE.js} +1 -1
- package/dist/cdn/{NAXNRCMZ.js → OD2NWPCL.js} +1 -1
- package/dist/cdn/OFFKJPQH.js +2 -0
- package/dist/cdn/{4ZIZEJXS.js → OISERMTF.js} +1 -1
- package/dist/cdn/{ETOGNYFU.js → OKAZOAYZ.js} +1 -1
- package/dist/cdn/ONKEO3Z2.js +2 -0
- package/dist/cdn/{XUERYUEG.js → OQFM5DBD.js} +1 -1
- package/dist/cdn/{A4GEWIPY.js → OSUM4CWA.js} +1 -1
- package/dist/cdn/OT7PLFBK.js +2 -0
- package/dist/cdn/OWWQ5SYW.js +2 -0
- package/dist/cdn/{C5K6XOCR.js → P37JASN4.js} +1 -1
- package/dist/cdn/{244ZX2UP.js → P5I5RQTN.js} +1 -1
- package/dist/cdn/P5QEJOJS.js +2 -0
- package/dist/cdn/{5MEQANMY.js → PAQGR4DD.js} +1 -1
- package/dist/cdn/PBO5VH6A.js +2 -0
- package/dist/cdn/{ZXOO3X5P.js → PEEVY5UG.js} +1 -1
- package/dist/cdn/{BJ7Q7LCT.js → PIZPF2BH.js} +1 -1
- package/dist/cdn/PLEC3GNT.js +2 -0
- package/dist/cdn/Q5OFF4FE.js +45 -0
- package/dist/cdn/{7UQHB6KY.js → QIG5H6WA.js} +1 -1
- package/dist/cdn/{XMPLEHTW.js → QKZK6MTN.js} +1 -1
- package/dist/cdn/QZCTLQBM.js +2 -0
- package/dist/cdn/RICA7GJM.js +2 -0
- package/dist/cdn/S5GVUYBL.js +2 -0
- package/dist/cdn/SCU3SBSN.js +2 -0
- package/dist/cdn/SQIKFO32.js +2 -0
- package/dist/cdn/{DNTLH5RT.js → SSOL6PCL.js} +1 -1
- package/dist/cdn/SUNHJPBW.js +2 -0
- package/dist/cdn/SYVPFDIW.js +2 -0
- package/dist/cdn/T62EETHJ.js +2 -0
- package/dist/cdn/{ZYOWZCR7.js → TB7JE5XK.js} +1 -1
- package/dist/cdn/TEWEPSIO.js +2 -0
- package/dist/cdn/{QOOBNATX.js → TGEHTOWR.js} +1 -1
- package/dist/cdn/{DAB5R2BN.js → TQYJM66E.js} +1 -1
- package/dist/cdn/{WMPWOPRZ.js → TRAVRA3M.js} +1 -1
- package/dist/cdn/{SBYD2EKR.js → TSSN2OW3.js} +1 -1
- package/dist/cdn/TU3LYEK3.js +2 -0
- package/dist/cdn/TVG7KD3H.js +2 -0
- package/dist/cdn/{MRTKZZTF.js → U43KANH5.js} +1 -1
- package/dist/cdn/{7FZC3RZK.js → UB36FUCN.js} +1 -1
- package/dist/cdn/{P5AO3V3M.js → UD724V36.js} +1 -1
- package/dist/cdn/UM7RIOCE.js +2 -0
- package/dist/cdn/{DSIFL2DF.js → UQSD6YZM.js} +1 -1
- package/dist/cdn/{Q7J7EKQW.js → UUVJGPFG.js} +1 -1
- package/dist/cdn/V6LKZUEZ.js +3 -0
- package/dist/cdn/{YOT6DVSU.js → V7AEHY25.js} +1 -1
- package/dist/cdn/VA6KJZ2Y.js +2 -0
- package/dist/cdn/{ZQDADGLQ.js → VLCUXTLC.js} +1 -1
- package/dist/cdn/VM4XLVMS.js +2 -0
- package/dist/cdn/{KZ7LPNX3.js → VNNTABNO.js} +1 -1
- package/dist/cdn/VPYL3RVN.js +2 -0
- package/dist/cdn/{XW4PBQNW.js → VT6X6QMA.js} +1 -1
- package/dist/cdn/WFW6BNDT.js +2 -0
- package/dist/cdn/{GV3TT7L5.js → WKQB6Z7Z.js} +1 -1
- package/dist/cdn/{Y7HBWU3M.js → WMUPNT4Q.js} +1 -1
- package/dist/cdn/WSL76GA5.js +2 -0
- package/dist/cdn/{6B7JCDQC.js → WTF2PFHV.js} +1 -1
- package/dist/cdn/WTJ2NJ76.js +2 -0
- package/dist/cdn/WZOHQJFB.js +2 -0
- package/dist/cdn/X3S4M6JL.js +2 -0
- package/dist/cdn/XV4LD73L.js +2 -0
- package/dist/cdn/Y5ZH7VS4.js +2 -0
- package/dist/cdn/{WASEMNYV.js → YC4WZNPI.js} +1 -1
- package/dist/cdn/{BXYNEUQY.js → YCQLYXH4.js} +1 -1
- package/dist/cdn/ZGBULDPL.js +2 -0
- package/dist/cdn/{5ZGALYWZ.js → ZLCRTIQH.js} +1 -1
- package/dist/cdn/{UT4TYXFO.js → ZRX4BEOX.js} +1 -1
- package/dist/cdn/{S5UDCCRH.js → ZWIF7LHW.js} +1 -1
- package/dist/cdn/{TYUVXRBO.js → ZZHKDFTA.js} +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/cdn/model/shared/setup-utils.js +1 -1
- package/dist/chart-rendering/common/data/utils/summarize-data/interfaces.d.ts +5 -1
- package/dist/chart-rendering/common/interfaces.d.ts +19 -21
- package/dist/chunks/{type-guards3.js → action-bar-utils.js} +27 -35
- package/dist/chunks/axis-lines-symbol.js +7 -7
- package/dist/chunks/bar-chart-model.js +39 -36
- package/dist/chunks/box-plot-data.js +273 -282
- package/dist/chunks/box-plot-model.js +159 -144
- package/dist/chunks/chart-model.js +177 -145
- package/dist/chunks/chart-object-literals.js +2 -1
- package/dist/chunks/chart-ui-utils.js +24 -23
- package/dist/chunks/class-breaks.js +12 -12
- package/dist/chunks/combo-bar-line-chart-model.js +25 -26
- package/dist/chunks/data-labels-symbol.js +39 -24
- package/dist/chunks/data-labels-visibility.js +24 -24
- package/dist/chunks/data.js +69 -69
- package/dist/chunks/gauge-model.js +18 -18
- package/dist/chunks/generate-x-axis-title.js +12 -12
- package/dist/chunks/heat-chart-model.js +93 -64
- package/dist/chunks/histogram-data.js +22 -22
- package/dist/chunks/histogram-model.js +10 -10
- package/dist/chunks/index.js +190 -179
- package/dist/chunks/index2.js +6069 -5721
- package/dist/chunks/index3.js +96 -86
- package/dist/chunks/index4.js +312 -87
- package/dist/chunks/index5.js +63 -100
- package/dist/chunks/line-chart-model.js +12 -12
- package/dist/chunks/model-setter.js +16 -15
- package/dist/chunks/model-with-line-marker-styling.js +2 -3
- package/dist/chunks/model-with-y-guides.js +59 -74
- package/dist/chunks/negative-values-stacked-to-baseline.js +18 -18
- package/dist/chunks/pie-chart-data.js +174 -192
- package/dist/chunks/pie-chart-model.js +161 -148
- package/dist/chunks/radar-chart-model.js +397 -46
- package/dist/chunks/resource.js +5 -5
- package/dist/chunks/rotated-state.js +1 -1
- package/dist/chunks/rounded-corners.js +73 -0
- package/dist/chunks/scatterplot-model.js +3 -3
- package/dist/chunks/serial-chart-data.js +889 -774
- package/dist/chunks/serial-chart-model.js +145 -124
- package/dist/chunks/series-length.js +2 -2
- package/dist/chunks/series-types.js +22 -18
- package/dist/chunks/series.js +1 -1
- package/dist/chunks/type-guards.js +17 -13
- package/dist/chunks/type-guards2.js +41 -33
- package/dist/chunks/utils.js +108 -96
- package/dist/chunks/utils2.js +1 -1
- package/dist/chunks/web-component-utils.js +632 -492
- package/dist/chunks/x-bounds.js +41 -42
- package/dist/components/arcgis-chart/customElement.d.ts +277 -164
- package/dist/components/arcgis-chart/customElement.js +10323 -10325
- package/dist/components/arcgis-charts-action-bar/customElement.js +33 -30
- package/dist/components/arcgis-charts-config-axis/customElement.js +70 -64
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +6 -7
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +19 -19
- package/dist/components/arcgis-charts-config-bar-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +35 -37
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +44 -43
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +13 -15
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +10 -11
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +8 -8
- package/dist/components/arcgis-charts-config-box-plot-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +23 -25
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +15 -18
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +18 -20
- package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +138 -136
- package/dist/components/arcgis-charts-config-field-picker/customElement.js +30 -0
- package/dist/components/arcgis-charts-config-font-style/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-format/customElement.js +93 -86
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +7 -10
- package/dist/components/arcgis-charts-config-guide/customElement.js +17 -18
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +8 -11
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart/customElement.js +12 -13
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +64 -76
- package/dist/components/arcgis-charts-config-heat-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +53 -54
- package/dist/components/arcgis-charts-config-histogram/customElement.js +27 -23
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +19 -19
- package/dist/components/arcgis-charts-config-histogram-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +33 -34
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +5 -6
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +12 -12
- package/dist/components/arcgis-charts-config-line-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +35 -37
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +6 -7
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +4 -5
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +41 -48
- package/dist/components/arcgis-charts-config-pie-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +55 -56
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +65 -66
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +7 -10
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +27 -23
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +79 -79
- package/dist/components/arcgis-charts-config-scatter-plot-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +18 -19
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +9 -11
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +57 -26
- package/dist/components/arcgis-charts-info-modal/customElement.js +6 -6
- 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 +62 -67
- package/dist/index.js +471 -458
- package/dist/json-schema/index.d.ts +207 -6
- package/dist/loader.js +2 -2
- package/dist/model/bar-chart-model/bar-chart-model.d.ts +4 -2
- package/dist/model/box-plot-model/box-plot-model.d.ts +7 -1
- package/dist/model/chart-model/chart-model.d.ts +2 -1
- package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +8 -5
- package/dist/model/heat-chart-model/heat-chart-model.d.ts +44 -2
- package/dist/model/interfaces/common.d.ts +0 -2
- package/dist/model/mixins/model-with-line-marker-styling.d.ts +6 -5
- package/dist/model/mixins/model-with-multi-axes.d.ts +62 -99
- package/dist/model/pie-chart-model/pie-chart-model.d.ts +2 -0
- package/dist/model/properties/data-labels/data-labels-symbol.d.ts +26 -0
- package/dist/model/properties/data-tooltip-font-size.d.ts +20 -0
- package/dist/model/properties/rotated-state.d.ts +1 -1
- package/dist/model/properties/rounded-corners.d.ts +18 -0
- package/dist/model/radar-chart-model/radar-chart-model.d.ts +190 -0
- package/dist/model/serial-chart-model/serial-chart-model.d.ts +27 -1
- package/dist/model/shared/type-guards.d.ts +16 -2
- package/dist/spec/chart-object-literals.d.ts +1 -0
- package/dist/spec/data-source.d.ts +15 -3
- package/dist/spec/rest-js-object-literals.d.ts +2 -2
- package/dist/spec/rest-js-types.d.ts +22 -8
- package/dist/spec/web-chart.d.ts +42 -6
- package/dist/utils/chart-config/converter/index.js +198 -179
- package/dist/utils/chart-config/utils/index.d.ts +54 -4
- package/dist/utils/chart-config/validator/index.d.ts +1 -0
- package/dist/utils/chart-config/validator/interfaces.d.ts +3 -3
- package/dist/utils/cursor/interfaces.d.ts +21 -0
- package/dist/utils/data/categorical-data/index.d.ts +2 -2
- package/dist/utils/data/index.d.ts +14 -10
- package/dist/utils/data/interfaces.d.ts +4 -3
- package/dist/utils/defaults/index.d.ts +16 -4
- package/dist/utils/defaults/interfaces.d.ts +7 -2
- package/dist/utils/errors/index.d.ts +1 -1
- package/dist/utils/layer/index.d.ts +5 -3
- package/dist/utils/layer/inline-conversion/interfaces.d.ts +0 -2
- package/dist/utils/layer/interfaces.d.ts +2 -1
- package/dist/utils/layer/query-features/index.d.ts +18 -1
- package/dist/utils/layer/query-parser/index.d.ts +5 -3
- package/dist/utils/misc/index.d.ts +2 -3
- package/dist/utils/type-guards/chart-types.d.ts +10 -0
- package/dist/utils/type-guards/series-types.d.ts +9 -2
- package/dist/utils/types/index.d.ts +1 -5
- package/package.json +7 -8
- package/dist/cdn/24RLLXS6.js +0 -2
- package/dist/cdn/2N4MK6FQ.js +0 -2
- package/dist/cdn/32FR66QO.js +0 -2
- package/dist/cdn/3EIVHDDK.js +0 -2
- package/dist/cdn/3NUNWPAR.js +0 -2
- package/dist/cdn/43ZHPVBB.js +0 -2
- package/dist/cdn/547RDEMV.js +0 -2
- package/dist/cdn/5YJNENER.js +0 -2
- package/dist/cdn/6AF2OTL6.js +0 -2
- package/dist/cdn/6CFIKYKR.js +0 -2
- package/dist/cdn/6GLTSMOR.js +0 -2
- package/dist/cdn/7EMCHGGV.js +0 -2
- package/dist/cdn/7OF2IANH.js +0 -2
- package/dist/cdn/7VN3A7S2.js +0 -2
- package/dist/cdn/7YWZG3ZS.js +0 -2
- package/dist/cdn/A5GIBV5W.js +0 -2
- package/dist/cdn/ADPDJISV.js +0 -2
- package/dist/cdn/B4KAJRUJ.js +0 -2
- package/dist/cdn/BBUPTHPL.js +0 -2
- package/dist/cdn/BBURKBKE.js +0 -2
- package/dist/cdn/BLZODYE2.js +0 -4
- package/dist/cdn/BO62KSB5.js +0 -2
- package/dist/cdn/C2FOUUEM.js +0 -2
- package/dist/cdn/CJPEW4LJ.js +0 -142
- package/dist/cdn/CVU3UPPF.js +0 -2
- package/dist/cdn/CZ5XRXCE.js +0 -2
- package/dist/cdn/D73VV2AZ.js +0 -2
- package/dist/cdn/DJACBOFO.js +0 -2
- package/dist/cdn/DPNTYHTH.js +0 -2
- package/dist/cdn/DZ72EIRH.js +0 -2
- package/dist/cdn/EGISZTGB.js +0 -2
- package/dist/cdn/EP34TF4L.js +0 -2
- package/dist/cdn/EZD3FBJU.js +0 -2
- package/dist/cdn/EZV7JSQJ.js +0 -2
- package/dist/cdn/FQT7V7QG.js +0 -2
- package/dist/cdn/G72TNKCS.js +0 -2
- package/dist/cdn/GQ5QBLRO.js +0 -2
- package/dist/cdn/HWJGWDU3.js +0 -2
- package/dist/cdn/HZR4NSZV.js +0 -2
- package/dist/cdn/ICFKKJWQ.js +0 -2
- package/dist/cdn/IWX5L226.js +0 -2
- package/dist/cdn/JNG6V7XC.js +0 -2
- package/dist/cdn/JNNB2DIA.js +0 -2
- package/dist/cdn/JS2KOBA2.js +0 -2
- package/dist/cdn/JTTJ455Y.js +0 -2
- package/dist/cdn/JWO5WVTZ.js +0 -2
- package/dist/cdn/K4WI2SGM.js +0 -2
- package/dist/cdn/KLHZFPYK.js +0 -2
- package/dist/cdn/KO7HQLGV.js +0 -2
- package/dist/cdn/L5AQ4I5T.js +0 -2
- package/dist/cdn/LC6CY2HW.js +0 -2
- package/dist/cdn/MBVTB42G.js +0 -2
- package/dist/cdn/MGEW6X3Y.js +0 -102
- package/dist/cdn/NSOZIR5F.js +0 -2
- package/dist/cdn/NTSTL3FK.js +0 -2
- package/dist/cdn/NZR4L5AA.js +0 -2
- package/dist/cdn/O5A25X5K.js +0 -2
- package/dist/cdn/OAAJ6CIN.js +0 -2
- package/dist/cdn/OGYY2Y22.js +0 -2
- package/dist/cdn/PAIRUVLU.js +0 -2
- package/dist/cdn/PRGFNLY7.js +0 -2
- package/dist/cdn/PROSIXIF.js +0 -2
- package/dist/cdn/Q5JDSPJA.js +0 -2
- package/dist/cdn/QJC3FDWG.js +0 -2
- package/dist/cdn/QRLILSSI.js +0 -2
- package/dist/cdn/QY53LXP2.js +0 -2
- package/dist/cdn/R75MHIRF.js +0 -2
- package/dist/cdn/RDA5NV6M.js +0 -2
- package/dist/cdn/RG3DO2OE.js +0 -2
- package/dist/cdn/RPNZL6AC.js +0 -2
- package/dist/cdn/S32NLOJ5.js +0 -2
- package/dist/cdn/SCAZDS2G.js +0 -2
- package/dist/cdn/SJGYHEMZ.js +0 -2
- package/dist/cdn/STU55UIS.js +0 -58
- package/dist/cdn/TCTQ4LMU.js +0 -2
- package/dist/cdn/TDHHWIIC.js +0 -2
- package/dist/cdn/TJMPLGQI.js +0 -2
- package/dist/cdn/TJMTF45U.js +0 -3
- package/dist/cdn/TW5DX7YP.js +0 -2
- package/dist/cdn/U67P6YAZ.js +0 -2
- package/dist/cdn/UZEMSOA2.js +0 -2
- package/dist/cdn/VBHQFV2H.js +0 -2
- package/dist/cdn/VFREVEVA.js +0 -2
- package/dist/cdn/VOTZAPI3.js +0 -2
- package/dist/cdn/VZTLODMQ.js +0 -2
- package/dist/cdn/W7X6L2OB.js +0 -127
- package/dist/cdn/WNKDEOFZ.js +0 -2
- package/dist/cdn/WPPMMVD5.js +0 -2
- package/dist/cdn/XCUXUZXY.js +0 -2
- package/dist/cdn/XG3WW5GG.js +0 -2
- package/dist/cdn/XJFVSX2E.js +0 -2
- package/dist/cdn/Y3CXVO2M.js +0 -2
- package/dist/cdn/YEZL5KRS.js +0 -2
- package/dist/cdn/YYK7SPXC.js +0 -2
- package/dist/chunks/bar-chart-series.js +0 -15
- package/dist/chunks/index6.js +0 -66
- package/dist/chunks/time-zone.js +0 -38
- package/dist/components/arcgis-charts-config-field-select/customElement.js +0 -30
- /package/dist/cdn/{IVLVCLDE.js → 7NWEE7T2.js} +0 -0
- /package/dist/components/{arcgis-charts-config-field-select → arcgis-charts-config-field-picker}/index.js +0 -0
|
@@ -1,44 +1,43 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { isEqual as
|
|
3
|
-
import { q as
|
|
4
|
-
import { k as
|
|
5
|
-
import { i as
|
|
6
|
-
import { C as
|
|
2
|
+
import { isEqual as D } from "lodash-es";
|
|
3
|
+
import { q as b, u, r as h } from "./chart-object-literals.js";
|
|
4
|
+
import { bd as I, bs as v, k as p, ap as M } from "./index2.js";
|
|
5
|
+
import { i as P } from "./index4.js";
|
|
6
|
+
import { C as O } from "./chart-model.js";
|
|
7
7
|
import { m as o } from "./model-setter.js";
|
|
8
|
-
import { S as
|
|
9
|
-
import { M as
|
|
10
|
-
import { M as
|
|
11
|
-
import { g as
|
|
12
|
-
import { M as
|
|
13
|
-
import { W as
|
|
14
|
-
import { W as
|
|
15
|
-
import { W as
|
|
16
|
-
import { W as
|
|
17
|
-
import { W as
|
|
18
|
-
import { W as
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
|
|
23
|
-
const Ae = (s, e) => e.series?.[s].assignToSecondValueAxis ?? !1, Ie = (s) => {
|
|
8
|
+
import { S as V } from "./common.js";
|
|
9
|
+
import { M as N, a as k, W as E, b as U } from "./data-labels-visibility.js";
|
|
10
|
+
import { M as j, a as X } from "./model-with-y-guides.js";
|
|
11
|
+
import { g as d, d as y, j as Y, k as w, l as z, m as R, n as q, o as K, q as G, t as $, v as Z, w as H, x as J, y as Q, z as S, A as _, B as x, C as m, D as ee, E as ie, e as te, F as se, W as re } from "./serial-chart-data.js";
|
|
12
|
+
import { M as oe } from "./model-with-x-guides.js";
|
|
13
|
+
import { W as ne, c as ae, d as le } from "./axis-lines-symbol.js";
|
|
14
|
+
import { W as ge, c as ce, d as fe } from "./generate-x-axis-title.js";
|
|
15
|
+
import { W as he, a as pe } from "./x-bounds.js";
|
|
16
|
+
import { W as me } from "./data-labels-symbol.js";
|
|
17
|
+
import { W as de } from "./rotated-state.js";
|
|
18
|
+
import { g as W, u as ye, s as T, h as ue, j as Se, k as _e, f as xe } from "./utils.js";
|
|
19
|
+
import { d as F, e as B, a as Te } from "./data.js";
|
|
20
|
+
import { B as Fe, Z as Be, x as Ce, a4 as Ae, a2 as be } from "./index.js";
|
|
21
|
+
import { s as L } from "./series-types.js";
|
|
22
|
+
const C = (s, e) => e.series?.[s].assignToSecondValueAxis ?? !1, A = (s) => {
|
|
24
23
|
const { assign: e, seriesIndex: i, config: t, commonStrings: r } = s;
|
|
25
|
-
e && t.axes !== void 0 && !t.axes?.[2] && (t.axes[2] =
|
|
26
|
-
g === i ?
|
|
27
|
-
}), t.axes?.[2] && !t.series.some((
|
|
28
|
-
},
|
|
24
|
+
e && t.axes !== void 0 && !t.axes?.[2] && (t.axes[2] = Ce(r, u.BarSeries)[1]), t.series && t.series.forEach((a, g) => {
|
|
25
|
+
g === i ? a.assignToSecondValueAxis = e : g !== i && a?.assignToSecondValueAxis !== !0 && (a.assignToSecondValueAxis = !1);
|
|
26
|
+
}), t.axes?.[2] && !t.series.some((a) => a.assignToSecondValueAxis) && t.axes.splice(2, 1);
|
|
27
|
+
}, Ie = (s, e) => e.series?.[s]?.name, ve = (s, e, i) => {
|
|
29
28
|
i.series?.[e] && (i.series[e].name = s);
|
|
30
29
|
}, Oe = (s, e) => {
|
|
31
30
|
const i = e.series?.[s];
|
|
32
31
|
let t;
|
|
33
|
-
return
|
|
32
|
+
return I(i) ? t = i.fillSymbol?.color : v(i) && (t = i.lineSymbol?.color), t;
|
|
34
33
|
}, We = (s, e, i) => {
|
|
35
34
|
const t = i.series?.[e];
|
|
36
|
-
t && (
|
|
37
|
-
...
|
|
35
|
+
t && (I(t) ? t.fillSymbol = {
|
|
36
|
+
...Fe(e),
|
|
38
37
|
...t.fillSymbol,
|
|
39
38
|
color: s
|
|
40
|
-
} :
|
|
41
|
-
...
|
|
39
|
+
} : v(t) && (t.lineSymbol = {
|
|
40
|
+
...Be(e),
|
|
42
41
|
...t.lineSymbol,
|
|
43
42
|
color: s
|
|
44
43
|
}));
|
|
@@ -46,68 +45,67 @@ const Ae = (s, e) => e.series?.[s].assignToSecondValueAxis ?? !1, Ie = (s) => {
|
|
|
46
45
|
e.series?.sort(
|
|
47
46
|
(i, t) => s.findIndex((r) => i.id === r) - s.findIndex((r) => t.id === r)
|
|
48
47
|
);
|
|
49
|
-
}, Me = (s) => s.stackedType ??
|
|
48
|
+
}, Me = (s) => s.stackedType ?? b.Side, Pe = (s) => {
|
|
50
49
|
const { newStackedType: e, config: i, layerInfo: t, commonStrings: r } = s;
|
|
51
50
|
if (i.stackedType = e, t !== void 0) {
|
|
52
|
-
const
|
|
51
|
+
const a = W({
|
|
53
52
|
config: i,
|
|
54
53
|
layerInfo: t,
|
|
55
54
|
commonStrings: r,
|
|
56
|
-
numericFields:
|
|
57
|
-
aggregationType:
|
|
55
|
+
numericFields: y(i),
|
|
56
|
+
aggregationType: d(i)
|
|
58
57
|
});
|
|
59
|
-
|
|
58
|
+
ye(i, 1, a);
|
|
60
59
|
}
|
|
61
|
-
i.axes?.[1] && (e ===
|
|
60
|
+
i.axes?.[1] && (e === b.Stacked100 ? i.axes[1].valueFormat = Ae() : i.axes[1].valueFormat = be()), T({ config: i, value: null, axisIndex: 1, isMax: !1 }), T({ config: i, value: null, axisIndex: 1, isMax: !0 });
|
|
62
61
|
}, Ve = (s) => {
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
(
|
|
66
|
-
);
|
|
67
|
-
return (h(i) || p(i) || _(i)) && (e = i?.nullCategory), e;
|
|
62
|
+
const e = {};
|
|
63
|
+
return s.series.forEach((i) => {
|
|
64
|
+
L(i) && "nullCategory" in i && i.nullCategory !== void 0 && (e.text ??= i.nullCategory.text, i.type === u.BarSeries ? e.fillSymbol ??= i.nullCategory.fillSymbol : e.markerSymbol ??= i.nullCategory.markerSymbol);
|
|
65
|
+
}), e.text || e.fillSymbol || e.markerSymbol ? e : void 0;
|
|
68
66
|
}, Ne = (s, e) => {
|
|
69
67
|
s.series.forEach((i) => {
|
|
70
|
-
(
|
|
68
|
+
L(i) && (e ? i.type === u.BarSeries ? i.nullCategory = { text: e?.text, fillSymbol: e?.fillSymbol } : i.nullCategory = { text: e?.text, markerSymbol: e?.markerSymbol } : i.nullCategory = void 0);
|
|
71
69
|
});
|
|
72
70
|
};
|
|
73
|
-
var
|
|
74
|
-
for (var r =
|
|
75
|
-
(g = s[
|
|
76
|
-
return r &&
|
|
71
|
+
var ke = Object.defineProperty, Ee = Object.getOwnPropertyDescriptor, f = (s, e, i, t) => {
|
|
72
|
+
for (var r = Ee(e, i), a = s.length - 1, g; a >= 0; a--)
|
|
73
|
+
(g = s[a]) && (r = g(e, i, r) || r);
|
|
74
|
+
return r && ke(e, i, r), r;
|
|
77
75
|
};
|
|
78
|
-
class c extends
|
|
76
|
+
class c extends O {
|
|
79
77
|
/**
|
|
80
78
|
* Time interval size for a temporal bar chart or line chart.
|
|
81
79
|
*/
|
|
82
80
|
get temporalBinningSize() {
|
|
83
|
-
return
|
|
81
|
+
return Y(this._config);
|
|
84
82
|
}
|
|
85
83
|
set temporalBinningSize(e) {
|
|
86
|
-
|
|
84
|
+
w(e, this._config);
|
|
87
85
|
}
|
|
88
86
|
/**
|
|
89
87
|
* Time interval units for a temporal bar chart or line chart.
|
|
90
88
|
*/
|
|
91
89
|
get temporalBinningUnit() {
|
|
92
|
-
return
|
|
90
|
+
return z(this._config);
|
|
93
91
|
}
|
|
94
92
|
set temporalBinningUnit(e) {
|
|
95
|
-
|
|
93
|
+
R(e, this._config);
|
|
96
94
|
}
|
|
97
95
|
/**
|
|
98
96
|
* Time aggregation type for a temporal bar chart or line chart.
|
|
99
97
|
*/
|
|
100
98
|
get timeAggregationType() {
|
|
101
|
-
return
|
|
99
|
+
return q(this._config);
|
|
102
100
|
}
|
|
103
101
|
set timeAggregationType(e) {
|
|
104
|
-
|
|
102
|
+
K(e, this._config);
|
|
105
103
|
}
|
|
106
104
|
/**
|
|
107
105
|
* Whether to trim incomplete time intervals for a temporal bar chart or line chart.
|
|
108
106
|
*/
|
|
109
107
|
get trimIncompleteTimeInterval() {
|
|
110
|
-
return
|
|
108
|
+
return G(this._config);
|
|
111
109
|
}
|
|
112
110
|
set trimIncompleteTimeInterval(e) {
|
|
113
111
|
$(e, this._config);
|
|
@@ -122,13 +120,13 @@ class c extends v {
|
|
|
122
120
|
* - Line series: connects the lines across null values.
|
|
123
121
|
*/
|
|
124
122
|
get nullPolicy() {
|
|
125
|
-
return
|
|
123
|
+
return Z(this._config);
|
|
126
124
|
}
|
|
127
125
|
set nullPolicy(e) {
|
|
128
|
-
|
|
126
|
+
H(e, this._config);
|
|
129
127
|
}
|
|
130
128
|
resetTimeInterval() {
|
|
131
|
-
|
|
129
|
+
J(this._config);
|
|
132
130
|
}
|
|
133
131
|
}
|
|
134
132
|
f([
|
|
@@ -150,13 +148,13 @@ f([
|
|
|
150
148
|
o
|
|
151
149
|
], c.prototype, "resetTimeInterval");
|
|
152
150
|
var Ue = Object.defineProperty, je = Object.getOwnPropertyDescriptor, l = (s, e, i, t) => {
|
|
153
|
-
for (var r = je(e, i),
|
|
154
|
-
(g = s[
|
|
151
|
+
for (var r = je(e, i), a = s.length - 1, g; a >= 0; a--)
|
|
152
|
+
(g = s[a]) && (r = g(e, i, r) || r);
|
|
155
153
|
return r && Ue(e, i, r), r;
|
|
156
154
|
};
|
|
157
|
-
class
|
|
155
|
+
class n extends O {
|
|
158
156
|
constructor() {
|
|
159
|
-
super(...arguments), this._xAxisField = "", this._aggregationType =
|
|
157
|
+
super(...arguments), this._xAxisField = "", this._aggregationType = h.Count, this._splitByField = "", this._numericFields = [];
|
|
160
158
|
}
|
|
161
159
|
// #endregion
|
|
162
160
|
// ---------------------------------------------------------------------------------------------
|
|
@@ -169,7 +167,7 @@ class a extends v {
|
|
|
169
167
|
return this._xAxisField;
|
|
170
168
|
}
|
|
171
169
|
set xAxisField(e) {
|
|
172
|
-
if (this._xAxisField = e, e.trim() === "" || e ===
|
|
170
|
+
if (this._xAxisField = e, e.trim() === "" || e === p) {
|
|
173
171
|
const r = this.numericFields;
|
|
174
172
|
this.resetConfig(), this.numericFields = r;
|
|
175
173
|
}
|
|
@@ -182,7 +180,7 @@ class a extends v {
|
|
|
182
180
|
return this._aggregationType;
|
|
183
181
|
}
|
|
184
182
|
set aggregationType(e) {
|
|
185
|
-
this._aggregationType = e,
|
|
183
|
+
this._aggregationType = e, Q({
|
|
186
184
|
aggregationType: e,
|
|
187
185
|
config: this._config,
|
|
188
186
|
layerInfo: this.layerInfo,
|
|
@@ -196,7 +194,7 @@ class a extends v {
|
|
|
196
194
|
return this._splitByField;
|
|
197
195
|
}
|
|
198
196
|
set splitByField(e) {
|
|
199
|
-
this.layerInfo?.layerFieldsInfo &&
|
|
197
|
+
this.layerInfo?.layerFieldsInfo && ue(this.layerInfo?.layerFieldsInfo, e) && (this._splitByField = e, this.processSeriesRebuild("splitByField"));
|
|
200
198
|
}
|
|
201
199
|
/**
|
|
202
200
|
* The numeric fields array for the chart.
|
|
@@ -206,37 +204,49 @@ class a extends v {
|
|
|
206
204
|
}
|
|
207
205
|
set numericFields(e) {
|
|
208
206
|
typeof e == "string" && (e = [e]);
|
|
209
|
-
const i =
|
|
207
|
+
const i = Se(this.layerInfo?.layerFieldsInfo ?? [], e), t = (this.xAxisField === "" || this.xAxisField === p) && e.length === 0;
|
|
210
208
|
if (i && !t) {
|
|
211
|
-
const r =
|
|
212
|
-
e.length === 0 && r !== void 0 ? (e.push(r), this._aggregationType =
|
|
209
|
+
const r = M(this.layerInfo.layer).idField;
|
|
210
|
+
e.length === 0 && r !== void 0 ? (e.push(r), this._aggregationType = h.Count) : this._aggregationType === h.Count && e.length >= 1 && r !== void 0 && !e.includes(r) && (this._aggregationType = h.Sum), this._numericFields = e, this.numericFields.length > 1 && (this._splitByField = ""), this.processSeriesRebuild("numericFields");
|
|
213
211
|
} else t && this.resetConfig();
|
|
214
212
|
}
|
|
215
213
|
/**
|
|
216
214
|
* Gets whether the series should be assigned to the second value axis.
|
|
217
215
|
*
|
|
218
216
|
* @param seriesIndex - The index of the series.
|
|
217
|
+
* @deprecated since 5.2. Use {@link model/serial-chart-model/serial-chart-model#getSeriesToSecondaryYAxis getSeriesToSecondaryYAxis} instead.
|
|
219
218
|
*/
|
|
220
219
|
getAssignToSecondValueAxis(e) {
|
|
221
|
-
return
|
|
220
|
+
return C(e, this._config);
|
|
222
221
|
}
|
|
223
222
|
setAssignToSecondValueAxis(e, i) {
|
|
224
|
-
|
|
223
|
+
A({ assign: e, seriesIndex: i, config: this._config, commonStrings: this.commonStrings });
|
|
224
|
+
}
|
|
225
|
+
/**
|
|
226
|
+
* Gets whether the series should be assigned to the secondary y-axis.
|
|
227
|
+
*
|
|
228
|
+
* @param seriesIndex - The index of the series.
|
|
229
|
+
*/
|
|
230
|
+
getSeriesToSecondaryYAxis(e) {
|
|
231
|
+
return C(e, this._config);
|
|
232
|
+
}
|
|
233
|
+
setSeriesToSecondaryYAxis(e, i) {
|
|
234
|
+
A({ assign: e, seriesIndex: i, config: this._config, commonStrings: this.commonStrings });
|
|
225
235
|
}
|
|
226
236
|
/**
|
|
227
237
|
* Gets the sort order for the bar chart.
|
|
228
238
|
*/
|
|
229
239
|
getSortOrder() {
|
|
230
|
-
return
|
|
240
|
+
return S(this._config)[0];
|
|
231
241
|
}
|
|
232
242
|
setSortOrder(e, i) {
|
|
233
|
-
|
|
243
|
+
F(e, this._config, i);
|
|
234
244
|
}
|
|
235
245
|
/**
|
|
236
246
|
* Gets the list of the category values for the chart.
|
|
237
247
|
*/
|
|
238
248
|
async getCustomSortValues() {
|
|
239
|
-
return await
|
|
249
|
+
return await _({
|
|
240
250
|
config: this._config,
|
|
241
251
|
layerInfo: this.layerInfo,
|
|
242
252
|
errorStrings: this.commonStrings?.errorStrings
|
|
@@ -244,15 +254,15 @@ class a extends v {
|
|
|
244
254
|
}
|
|
245
255
|
async setDataFilters(e) {
|
|
246
256
|
super.setDataFilters(e);
|
|
247
|
-
const i =
|
|
248
|
-
if (i ===
|
|
257
|
+
const i = S(this._config)[0];
|
|
258
|
+
if (i === V.customSort) {
|
|
249
259
|
this.startAsyncUpdate();
|
|
250
|
-
const t = await
|
|
260
|
+
const t = await _({
|
|
251
261
|
config: this._config,
|
|
252
262
|
layerInfo: this.layerInfo,
|
|
253
263
|
errorStrings: this.commonStrings?.errorStrings
|
|
254
264
|
});
|
|
255
|
-
|
|
265
|
+
F(i, this._config, t), this.finishAsyncUpdate();
|
|
256
266
|
}
|
|
257
267
|
this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"));
|
|
258
268
|
}
|
|
@@ -260,16 +270,24 @@ class a extends v {
|
|
|
260
270
|
* The list of values for custom sort.
|
|
261
271
|
*/
|
|
262
272
|
get orderByList() {
|
|
263
|
-
return
|
|
273
|
+
return B(this._config);
|
|
264
274
|
}
|
|
265
275
|
set orderByList(e) {
|
|
266
|
-
!
|
|
276
|
+
!P(this._config) && x(e, this._config);
|
|
267
277
|
}
|
|
268
278
|
/**
|
|
269
279
|
* Updates the series based on the layer filter.
|
|
280
|
+
*
|
|
281
|
+
* @deprecated since 5.2. Use {@link model/serial-chart-model/serial-chart-model#rebuildSeries rebuildSeries} instead.
|
|
270
282
|
*/
|
|
271
283
|
updateSeriesFromLayerFilter() {
|
|
272
|
-
this.layerInfo !== void 0 &&
|
|
284
|
+
this.layerInfo !== void 0 && m(this.getBuildNewSeriesProps());
|
|
285
|
+
}
|
|
286
|
+
/**
|
|
287
|
+
* Rebuilds the series based on the current configuration.
|
|
288
|
+
*/
|
|
289
|
+
async rebuildSeries() {
|
|
290
|
+
await this.processSeriesRebuild("rebuildSeries");
|
|
273
291
|
}
|
|
274
292
|
/**
|
|
275
293
|
* Whether temporal binning is enabled for all series in the config.
|
|
@@ -277,10 +295,10 @@ class a extends v {
|
|
|
277
295
|
* **Note:** Setting this prop removes any existing temporal binning settings if `value` is set to `false`.
|
|
278
296
|
*/
|
|
279
297
|
get binTemporalData() {
|
|
280
|
-
return
|
|
298
|
+
return ee(this._config);
|
|
281
299
|
}
|
|
282
300
|
set binTemporalData(e) {
|
|
283
|
-
|
|
301
|
+
ie(e, this._config);
|
|
284
302
|
}
|
|
285
303
|
// #endregion
|
|
286
304
|
// ---------------------------------------------------------------------------------------------
|
|
@@ -293,10 +311,10 @@ class a extends v {
|
|
|
293
311
|
* @param seriesIndex - The index of the series.
|
|
294
312
|
*/
|
|
295
313
|
getSeriesName(e) {
|
|
296
|
-
return
|
|
314
|
+
return Ie(e, this._config);
|
|
297
315
|
}
|
|
298
316
|
setSeriesName(e, i) {
|
|
299
|
-
|
|
317
|
+
ve(e, i, this._config);
|
|
300
318
|
}
|
|
301
319
|
/**
|
|
302
320
|
* Gets the color of the series based on the series index. If the index is out of bounds, it will return `undefined`.
|
|
@@ -340,8 +358,8 @@ class a extends v {
|
|
|
340
358
|
t.splice(i, 0, r), this.setOrderOfSeries(t);
|
|
341
359
|
}
|
|
342
360
|
moveCustomSortValuesInOrderByList(e, i) {
|
|
343
|
-
const t =
|
|
344
|
-
t.splice(i, 0, r),
|
|
361
|
+
const t = B(this._config), [r] = t.splice(e, 1);
|
|
362
|
+
t.splice(i, 0, r), x(t, this._config);
|
|
345
363
|
}
|
|
346
364
|
/**
|
|
347
365
|
* The null category configuration of the chart.
|
|
@@ -355,7 +373,7 @@ class a extends v {
|
|
|
355
373
|
}
|
|
356
374
|
set nullCategory(e) {
|
|
357
375
|
const i = this.nullCategory;
|
|
358
|
-
|
|
376
|
+
D(i, e) || Ne(this._config, e);
|
|
359
377
|
}
|
|
360
378
|
/**
|
|
361
379
|
* Sets up the local props based on the current config.
|
|
@@ -363,7 +381,7 @@ class a extends v {
|
|
|
363
381
|
* @private
|
|
364
382
|
*/
|
|
365
383
|
setupLocalProps() {
|
|
366
|
-
this._xAxisField =
|
|
384
|
+
this._xAxisField = Te(this._config), this._aggregationType = d(this._config), this._splitByField = te(this._config), this._numericFields = y(this._config);
|
|
367
385
|
}
|
|
368
386
|
resetConfig() {
|
|
369
387
|
const e = this._config.id;
|
|
@@ -386,17 +404,17 @@ class a extends v {
|
|
|
386
404
|
* @private
|
|
387
405
|
*/
|
|
388
406
|
async processSeriesRebuild(e) {
|
|
389
|
-
this.usingSplitBy() ? (this.startAsyncUpdate(), await this.fetchSplitByFieldInfos(),
|
|
407
|
+
this.usingSplitBy() ? (this.startAsyncUpdate(), await this.fetchSplitByFieldInfos(), m(this.getBuildNewSeriesProps()), this.finishAsyncUpdate()) : m(this.getBuildNewSeriesProps()), this.setupLocalProps(), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")), this.emitConfigUpdate(e);
|
|
390
408
|
}
|
|
391
409
|
/**
|
|
392
410
|
* Fetches the split-by field information and stores it in a private member for use in building the series.
|
|
393
411
|
*/
|
|
394
412
|
async fetchSplitByFieldInfos() {
|
|
395
|
-
return this.splitByFieldInfos = await
|
|
413
|
+
return this.splitByFieldInfos = await _e({
|
|
396
414
|
config: this._config,
|
|
397
415
|
layer: this.layerInfo.layer,
|
|
398
416
|
layerFieldsInfo: this.layerInfo.layerFieldsInfo,
|
|
399
|
-
xAxisField: this._xAxisField !==
|
|
417
|
+
xAxisField: this._xAxisField !== p ? this._xAxisField : void 0,
|
|
400
418
|
splitByField: this._splitByField,
|
|
401
419
|
fetchNullValues: this._config?.series?.[0]?.query?.fetchNullValues,
|
|
402
420
|
errorStrings: this.commonStrings?.errorStrings
|
|
@@ -427,89 +445,92 @@ class a extends v {
|
|
|
427
445
|
* Generate the proper chart title given the current config.
|
|
428
446
|
*/
|
|
429
447
|
generateChartTitle() {
|
|
430
|
-
return this.layerInfo !== void 0 ?
|
|
448
|
+
return this.layerInfo !== void 0 ? se(this._config, this.layerInfo, this.commonStrings) : "";
|
|
431
449
|
}
|
|
432
450
|
/**
|
|
433
451
|
* Generate the proper y-axis title given the current config.
|
|
434
452
|
*/
|
|
435
453
|
generateYAxisTitle() {
|
|
436
|
-
return this.layerInfo !== void 0 ?
|
|
454
|
+
return this.layerInfo !== void 0 ? W({
|
|
437
455
|
config: this._config,
|
|
438
456
|
layerInfo: this.layerInfo,
|
|
439
457
|
commonStrings: this.commonStrings,
|
|
440
|
-
numericFields:
|
|
441
|
-
aggregationType:
|
|
458
|
+
numericFields: y(this._config),
|
|
459
|
+
aggregationType: d(this._config)
|
|
442
460
|
}) : "";
|
|
443
461
|
}
|
|
444
462
|
// #endregion
|
|
445
463
|
}
|
|
446
464
|
l([
|
|
447
465
|
o
|
|
448
|
-
],
|
|
466
|
+
], n.prototype, "aggregationType");
|
|
449
467
|
l([
|
|
450
468
|
o
|
|
451
|
-
],
|
|
469
|
+
], n.prototype, "setAssignToSecondValueAxis");
|
|
452
470
|
l([
|
|
453
471
|
o
|
|
454
|
-
],
|
|
472
|
+
], n.prototype, "setSeriesToSecondaryYAxis");
|
|
455
473
|
l([
|
|
456
474
|
o
|
|
457
|
-
],
|
|
475
|
+
], n.prototype, "setSortOrder");
|
|
458
476
|
l([
|
|
459
477
|
o
|
|
460
|
-
],
|
|
478
|
+
], n.prototype, "setDataFilters");
|
|
461
479
|
l([
|
|
462
480
|
o
|
|
463
|
-
],
|
|
481
|
+
], n.prototype, "orderByList");
|
|
464
482
|
l([
|
|
465
483
|
o
|
|
466
|
-
],
|
|
484
|
+
], n.prototype, "binTemporalData");
|
|
467
485
|
l([
|
|
468
486
|
o
|
|
469
|
-
],
|
|
487
|
+
], n.prototype, "setSeriesName");
|
|
470
488
|
l([
|
|
471
489
|
o
|
|
472
|
-
],
|
|
490
|
+
], n.prototype, "setSeriesColor");
|
|
473
491
|
l([
|
|
474
492
|
o
|
|
475
|
-
],
|
|
493
|
+
], n.prototype, "setOrderOfSeries");
|
|
476
494
|
l([
|
|
477
495
|
o
|
|
478
|
-
],
|
|
496
|
+
], n.prototype, "stackedType");
|
|
479
497
|
l([
|
|
480
498
|
o
|
|
481
|
-
],
|
|
499
|
+
], n.prototype, "moveSeries");
|
|
482
500
|
l([
|
|
483
501
|
o
|
|
484
|
-
],
|
|
502
|
+
], n.prototype, "moveCustomSortValuesInOrderByList");
|
|
485
503
|
l([
|
|
486
504
|
o
|
|
487
|
-
],
|
|
505
|
+
], n.prototype, "nullCategory");
|
|
506
|
+
l([
|
|
507
|
+
o
|
|
508
|
+
], n.prototype, "resetConfig");
|
|
488
509
|
const Xe = [
|
|
489
|
-
|
|
490
|
-
P,
|
|
491
|
-
V,
|
|
510
|
+
j,
|
|
492
511
|
N,
|
|
493
|
-
|
|
512
|
+
k,
|
|
494
513
|
E,
|
|
495
|
-
|
|
496
|
-
te,
|
|
514
|
+
de,
|
|
497
515
|
U,
|
|
516
|
+
me,
|
|
517
|
+
oe,
|
|
518
|
+
X,
|
|
498
519
|
c,
|
|
499
|
-
ne,
|
|
500
520
|
ge,
|
|
501
|
-
|
|
521
|
+
he,
|
|
502
522
|
ce,
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
523
|
+
pe,
|
|
524
|
+
ne,
|
|
525
|
+
ae,
|
|
506
526
|
le,
|
|
507
|
-
|
|
527
|
+
fe,
|
|
528
|
+
re
|
|
508
529
|
];
|
|
509
|
-
|
|
530
|
+
xe(n, Xe);
|
|
510
531
|
export {
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
532
|
+
n as S,
|
|
533
|
+
ve as a,
|
|
534
|
+
Ie as g,
|
|
514
535
|
We as s
|
|
515
536
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { m as n, C as l } from "./model-setter.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { H as o, M as g, T as h } from "./index.js";
|
|
4
|
+
import { aJ as p } from "./index2.js";
|
|
5
5
|
var f = Object.defineProperty, c = Object.getOwnPropertyDescriptor, u = (t, e, i, _) => {
|
|
6
6
|
for (var s = c(e, i), r = t.length - 1, a; r >= 0; r--)
|
|
7
7
|
(a = t[r]) && (s = a(e, i, s) || s);
|
|
@@ -1,31 +1,35 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { u as
|
|
2
|
+
import { u as e } from "./chart-object-literals.js";
|
|
3
3
|
function r(t) {
|
|
4
|
-
return t.size === 2 && t.has(
|
|
4
|
+
return t.size === 2 && t.has(e.LineSeries) && t.has(e.BarSeries);
|
|
5
5
|
}
|
|
6
|
-
function
|
|
7
|
-
return t.size === 2 && t.has(
|
|
6
|
+
function a(t) {
|
|
7
|
+
return t.size === 2 && t.has(e.LineSeries) && t.has(e.BoxPlotSeries) || t.size === 1 && t.has(e.BoxPlotSeries);
|
|
8
8
|
}
|
|
9
|
-
function
|
|
10
|
-
let
|
|
9
|
+
function f(t, o) {
|
|
10
|
+
let n;
|
|
11
11
|
if (t !== void 0 && t.length > 0)
|
|
12
|
-
if (
|
|
13
|
-
|
|
12
|
+
if (o !== void 0 && o >= 0 && o < t.length)
|
|
13
|
+
n = t[o].type;
|
|
14
14
|
else {
|
|
15
|
-
const
|
|
16
|
-
|
|
15
|
+
const i = new Set(t.map((p) => p.type)), s = r(i), l = a(i);
|
|
16
|
+
s === !0 ? n = e.ComboLineAndBarSeries : l ? n = e.BoxPlotSeries : i.size >= 2 ? n = void 0 : n = t[0].type;
|
|
17
17
|
}
|
|
18
|
-
return
|
|
18
|
+
return n;
|
|
19
19
|
}
|
|
20
|
-
function
|
|
21
|
-
return
|
|
20
|
+
function C(t, o = !0) {
|
|
21
|
+
return o ? t?.xTemporalBinning : t?.yTemporalBinning;
|
|
22
22
|
}
|
|
23
|
-
const
|
|
23
|
+
const g = {
|
|
24
24
|
isComboLineAndBarChart: r,
|
|
25
|
-
isBoxPlotChart:
|
|
25
|
+
isBoxPlotChart: a
|
|
26
26
|
};
|
|
27
|
+
function m(t) {
|
|
28
|
+
return t.type === e.BarSeries || t.type === e.LineSeries || t.type === e.RadarSeries || t.type === e.ComboLineAndBarSeries;
|
|
29
|
+
}
|
|
27
30
|
export {
|
|
28
|
-
|
|
29
|
-
g,
|
|
30
|
-
|
|
31
|
+
C as a,
|
|
32
|
+
f as g,
|
|
33
|
+
m as s,
|
|
34
|
+
g as t
|
|
31
35
|
};
|
package/dist/chunks/series.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import {
|
|
2
|
+
import { Z as i } from "./index.js";
|
|
3
3
|
const o = (e) => e.lineSymbol?.style, n = (e, t) => {
|
|
4
4
|
t.lineSymbol ??= i(), t.lineSymbol.style = e;
|
|
5
5
|
}, s = (e) => e.lineSymbol?.width, S = (e, t) => {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
function
|
|
2
|
+
function n(r) {
|
|
3
3
|
return r !== void 0 && "type" in r && r.type === "imagery";
|
|
4
4
|
}
|
|
5
|
-
function
|
|
5
|
+
function s(r) {
|
|
6
6
|
return r !== void 0 && "type" in r && r.type === "imagery-tile";
|
|
7
7
|
}
|
|
8
|
-
function
|
|
8
|
+
function o(r) {
|
|
9
9
|
return r !== void 0 && "type" in r && r.type === "wcs";
|
|
10
10
|
}
|
|
11
11
|
function i(r) {
|
|
@@ -14,20 +14,24 @@ function i(r) {
|
|
|
14
14
|
function a(r) {
|
|
15
15
|
return r !== void 0 && "type" in r && i(r.type);
|
|
16
16
|
}
|
|
17
|
-
function
|
|
18
|
-
|
|
17
|
+
function p(r) {
|
|
18
|
+
return t(r?.iLayer);
|
|
19
|
+
}
|
|
20
|
+
function t(r) {
|
|
21
|
+
const e = r?.layerType;
|
|
19
22
|
return e === "ArcGISImageServiceLayer" || e === "ArcGISTiledImageServiceLayer" || e === "WCS";
|
|
20
23
|
}
|
|
21
|
-
function
|
|
24
|
+
function y(r, e) {
|
|
22
25
|
if (a(r))
|
|
23
26
|
throw new Error(e ?? "Raster layer is not supported by this operation.");
|
|
24
27
|
}
|
|
25
28
|
export {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
29
|
+
y as a,
|
|
30
|
+
s as b,
|
|
31
|
+
t as c,
|
|
32
|
+
a as d,
|
|
33
|
+
i as e,
|
|
34
|
+
p as f,
|
|
35
|
+
o as g,
|
|
36
|
+
n as i
|
|
33
37
|
};
|