@arcgis/charts-components 5.2.0-next.1 → 5.2.0-next.100
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/LICENSE.md +4 -2
- package/README.md +2 -2
- package/dist/cdn/225VUGML.js +4 -0
- package/dist/cdn/22V4YZLT.js +2 -0
- package/dist/cdn/{YJ6TRXMU.js → 24MSASQQ.js} +1 -1
- package/dist/cdn/{4USHOYLT.js → 2BE3GYK4.js} +1 -1
- package/dist/cdn/{G6OHBBUT.js → 2INZEFXR.js} +1 -1
- package/dist/cdn/{I5VHQW7B.js → 2OAB6VMZ.js} +1 -1
- package/dist/cdn/2RSKVWTZ.js +2 -0
- package/dist/cdn/{NFDXH5B3.js → 2TNZTI5Q.js} +1 -1
- package/dist/cdn/{VY3KBD6N.js → 2YDNWOWT.js} +1 -1
- package/dist/cdn/{TSI3C3OV.js → 3DGX6WFJ.js} +1 -1
- package/dist/cdn/3NLKE6ZN.js +2 -0
- package/dist/cdn/{CODAXMWM.js → 3W64DBHG.js} +1 -1
- package/dist/cdn/3XSL5VPN.js +2 -0
- package/dist/cdn/{Y7HBWU3M.js → 3ZKNY2GI.js} +1 -1
- package/dist/cdn/42FKRE56.js +2 -0
- package/dist/cdn/42PLGMOG.js +2 -0
- package/dist/cdn/455LSMAU.js +2 -0
- package/dist/cdn/4A4EW5Z5.js +2 -0
- package/dist/cdn/4DR6JUR7.js +104 -0
- package/dist/cdn/{CHLE2QGU.js → 4DXGXATO.js} +1 -1
- package/dist/cdn/4U63XRSZ.js +2 -0
- package/dist/cdn/{O6SNP6QE.js → 4YKB2PME.js} +1 -1
- package/dist/cdn/{3V4HRXIT.js → 5BZCHVPD.js} +1 -1
- package/dist/cdn/{H2A5GZ55.js → 5D2QRMC6.js} +1 -1
- package/dist/cdn/5GDVKAX5.js +2 -0
- package/dist/cdn/5SYHQWPP.js +2 -0
- package/dist/cdn/{2X75KJPF.js → 5V2YHARQ.js} +1 -1
- package/dist/cdn/{7ILH7ZG2.js → 5VHWJWWP.js} +1 -1
- package/dist/cdn/{LUSFGRHV.js → 5WIR3JWC.js} +1 -1
- package/dist/cdn/62GSQDTE.js +2 -0
- package/dist/cdn/{VT4WJZN6.js → 64B7ILJI.js} +1 -1
- package/dist/cdn/{DIKQ7BPQ.js → 65WMT7WD.js} +1 -1
- package/dist/cdn/6DYDDJKB.js +2 -0
- package/dist/cdn/6H6SZO4Y.js +2 -0
- package/dist/cdn/{B4KT2HUE.js → 6MALKAJY.js} +1 -1
- package/dist/cdn/6VIPQGM6.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/7FPQDD3C.js +2 -0
- package/dist/cdn/7GTZX5NP.js +2 -0
- package/dist/cdn/7NGEMDYM.js +2 -0
- package/dist/cdn/7TM4LYGN.js +2 -0
- package/dist/cdn/{NHDVOYQ2.js → 7TTQNVC5.js} +1 -1
- package/dist/cdn/AA456L7Q.js +2 -0
- package/dist/cdn/{OA7FHTCA.js → AAHQPRYK.js} +1 -1
- package/dist/cdn/{OJ5X6I3H.js → ADI63OO7.js} +1 -1
- package/dist/cdn/AIQU35U3.js +2 -0
- package/dist/cdn/AMIDKZA2.js +2 -0
- package/dist/cdn/AOVXHBJK.js +2 -0
- package/dist/cdn/{SGOYJFLO.js → ATWR3DSK.js} +1 -1
- package/dist/cdn/AYCQHDDV.js +2 -0
- package/dist/cdn/AZYYQMCD.js +2 -0
- package/dist/cdn/{TXB2I2U5.js → B2SUC7VR.js} +1 -1
- package/dist/cdn/{UQPFMDJB.js → B46RQ2MZ.js} +1 -1
- package/dist/cdn/{TACQVUBU.js → BDEDEGCZ.js} +1 -1
- package/dist/cdn/{4JQ2RRLY.js → BK2QOEX2.js} +1 -1
- package/dist/cdn/{CNFBNAPJ.js → BK7DHYA7.js} +1 -1
- package/dist/cdn/BWLRC2U5.js +2 -0
- package/dist/cdn/BYSUABOV.js +2 -0
- package/dist/cdn/{WASEMNYV.js → CHBL4DXX.js} +1 -1
- package/dist/cdn/{I36OAVW3.js → CTMOMBBM.js} +1 -1
- package/dist/cdn/{ZFJFTDJF.js → CYGMXV56.js} +1 -1
- package/dist/cdn/D5DOFLCS.js +2 -0
- package/dist/cdn/{CUJHGXNK.js → DLMRATCW.js} +1 -1
- package/dist/cdn/{N3VOUI25.js → DWO7GMVE.js} +1 -1
- package/dist/cdn/E6E2KLJ2.js +2 -0
- package/dist/cdn/E6JK3JRJ.js +2 -0
- package/dist/cdn/EB4CM3YK.js +2 -0
- package/dist/cdn/EJW2UHAB.js +2 -0
- package/dist/cdn/{J5NHXQLA.js → EQZBQP5A.js} +1 -1
- package/dist/cdn/EWIMT2AS.js +2 -0
- package/dist/cdn/FBS4RBSA.js +2 -0
- package/dist/cdn/{75P3QRL4.js → FLUZSJXH.js} +1 -1
- package/dist/cdn/{UAZ34KDJ.js → FSEQQXRO.js} +1 -1
- package/dist/cdn/G3KO465U.js +4 -0
- package/dist/cdn/GVJ5WCQD.js +2 -0
- package/dist/cdn/H2ECCBL7.js +2 -0
- package/dist/cdn/H2R62NYZ.js +2 -0
- package/dist/cdn/{66KSEDOR.js → H7Z3QWIW.js} +1 -1
- package/dist/cdn/{ABIVSH72.js → HJSR7M2A.js} +1 -1
- package/dist/cdn/{RKN64EJQ.js → HUMEIOOQ.js} +1 -1
- package/dist/cdn/{N6OT5IBC.js → HZUBDLNR.js} +1 -1
- package/dist/cdn/{AZOBLYAP.js → I2BM5KSH.js} +1 -1
- package/dist/cdn/IBMPLHXH.js +2 -0
- package/dist/cdn/{JQKRGUBU.js → IDAOLPMA.js} +1 -1
- package/dist/cdn/{UT4TYXFO.js → IGOJGDYE.js} +1 -1
- package/dist/cdn/{4QQVKRJ5.js → IRIGTY65.js} +1 -1
- package/dist/cdn/JCCCT72R.js +2 -0
- package/dist/cdn/{AJBEE7WE.js → JMR2NH33.js} +1 -1
- package/dist/cdn/JSVAA6N4.js +2 -0
- package/dist/cdn/JVHMHWIM.js +2 -0
- package/dist/cdn/JZMYBU7B.js +2 -0
- package/dist/cdn/KKE5EKYC.js +2 -0
- package/dist/cdn/KODMEY56.js +2 -0
- package/dist/cdn/{D3CFPMAR.js → KOY5DWSR.js} +1 -1
- package/dist/cdn/KYESCAI2.js +2 -0
- package/dist/cdn/KYOCE6FA.js +2 -0
- package/dist/cdn/KZSCAJDG.js +2 -0
- package/dist/cdn/L5JZ5COY.js +2 -0
- package/dist/cdn/{AY6IOQ3H.js → LAEUROZM.js} +1 -1
- package/dist/cdn/LZ7SW2R3.js +2 -0
- package/dist/cdn/M4G6TGMS.js +2 -0
- package/dist/cdn/{LNF44ZGQ.js → MJVTTSEV.js} +1 -1
- package/dist/cdn/MMUAG4IX.js +2 -0
- package/dist/cdn/MQI4ZLAS.js +2 -0
- package/dist/cdn/{DD4QUBOF.js → N7VRRNQD.js} +1 -1
- package/dist/cdn/{RWEUTQWS.js → NJF5UIYM.js} +1 -1
- 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/{4E7C5QPS.js → NWYSPTLF.js} +1 -1
- package/dist/cdn/O4DFT4N4.js +2 -0
- package/dist/cdn/{NAXNRCMZ.js → OD2NWPCL.js} +1 -1
- package/dist/cdn/OGH6DSQR.js +2 -0
- package/dist/cdn/{53FG76LL.js → OH3X6QIK.js} +1 -1
- package/dist/cdn/{4ZIZEJXS.js → OISERMTF.js} +1 -1
- package/dist/cdn/OIWZXO7H.js +2 -0
- package/dist/cdn/{ETOGNYFU.js → OKAZOAYZ.js} +1 -1
- package/dist/cdn/OKKEWHMB.js +2 -0
- package/dist/cdn/{XUERYUEG.js → OQFM5DBD.js} +1 -1
- package/dist/cdn/OURE3TA5.js +2 -0
- package/dist/cdn/{C5K6XOCR.js → P37JASN4.js} +1 -1
- package/dist/cdn/{KDJ5RVHA.js → P3AYFJRV.js} +1 -1
- package/dist/cdn/{244ZX2UP.js → P5I5RQTN.js} +1 -1
- package/dist/cdn/{RDTBZUT7.js → PAPE3NIS.js} +1 -1
- package/dist/cdn/{BJ7Q7LCT.js → PIZPF2BH.js} +1 -1
- package/dist/cdn/{XWKBJDZT.js → PMFGLOZL.js} +1 -1
- package/dist/cdn/PT2OG4W2.js +2 -0
- package/dist/cdn/PWJBGZPW.js +2 -0
- package/dist/cdn/Q366CY3F.js +45 -0
- package/dist/cdn/{OYHKUGS6.js → QHJSE3P3.js} +1 -1
- package/dist/cdn/{7UQHB6KY.js → QIG5H6WA.js} +1 -1
- package/dist/cdn/QKUFLZC3.js +2 -0
- package/dist/cdn/{XMPLEHTW.js → QKZK6MTN.js} +1 -1
- package/dist/cdn/QO2RH3XB.js +3 -0
- package/dist/cdn/QPX4FNCB.js +2 -0
- package/dist/cdn/{XIJ5VLER.js → QTAETIIH.js} +1 -1
- package/dist/cdn/QYRHZJH3.js +2 -0
- package/dist/cdn/{FLO3N6JD.js → QZIF3GED.js} +1 -1
- package/dist/cdn/RD7TKIQS.js +2 -0
- package/dist/cdn/RGIL6ZEZ.js +2 -0
- package/dist/cdn/RNGQEQRO.js +2 -0
- package/dist/cdn/RPUEIRTH.js +2 -0
- package/dist/cdn/{VFM2EV3M.js → S6CNTZIE.js} +1 -1
- package/dist/cdn/S6RBDFHP.js +2 -0
- package/dist/cdn/SIHW3QVG.js +2 -0
- package/dist/cdn/SS7GYFUD.js +2 -0
- package/dist/cdn/{DNTLH5RT.js → SSOL6PCL.js} +1 -1
- package/dist/cdn/SXT66JGI.js +2 -0
- package/dist/cdn/SZSTCHLY.js +2 -0
- package/dist/cdn/SZYIWW3C.js +2 -0
- package/dist/cdn/T75QDGXB.js +2 -0
- package/dist/cdn/{ZYOWZCR7.js → TB7JE5XK.js} +1 -1
- package/dist/cdn/{AK7X7SGI.js → TENIFMA5.js} +1 -1
- package/dist/cdn/{M4AQLWZU.js → TNUZFQGZ.js} +1 -1
- package/dist/cdn/{WMPWOPRZ.js → TRAVRA3M.js} +1 -1
- package/dist/cdn/{O2ERVMSN.js → U25H6VUE.js} +1 -1
- package/dist/cdn/UCHQXTEC.js +2 -0
- package/dist/cdn/{P5AO3V3M.js → UD724V36.js} +1 -1
- package/dist/cdn/ULQSD4KK.js +2 -0
- package/dist/cdn/{DSIFL2DF.js → UQSD6YZM.js} +1 -1
- package/dist/cdn/{Q7J7EKQW.js → UUVJGPFG.js} +1 -1
- package/dist/cdn/UVESG7TY.js +2 -0
- package/dist/cdn/{PH6UOHRS.js → V4NEFGS3.js} +1 -1
- package/dist/cdn/{NG2IHVZ4.js → V54RTUAV.js} +1 -1
- package/dist/cdn/{ZQDADGLQ.js → VLCUXTLC.js} +1 -1
- package/dist/cdn/VMHDTE3U.js +2 -0
- package/dist/cdn/VQMG3F5Z.js +2 -0
- package/dist/cdn/VQU2TVX7.js +3 -0
- package/dist/cdn/VWUW3HFU.js +2 -0
- package/dist/cdn/W66Q5TB6.js +2 -0
- package/dist/cdn/{5AOYADA3.js → WKRD4TIL.js} +1 -1
- package/dist/cdn/WMYNPECY.js +2 -0
- package/dist/cdn/WOGALV3T.js +2 -0
- package/dist/cdn/{6B7JCDQC.js → WTF2PFHV.js} +1 -1
- package/dist/cdn/WTMEWLUJ.js +2 -0
- package/dist/cdn/WTOK3YQI.js +2 -0
- package/dist/cdn/WVOXFKFO.js +2 -0
- package/dist/cdn/X2FMGJRP.js +2 -0
- package/dist/cdn/X733UM32.js +2 -0
- package/dist/cdn/XGWHDERD.js +2 -0
- package/dist/cdn/{2HGBRW4I.js → XOB6RSOR.js} +1 -1
- package/dist/cdn/{BXYNEUQY.js → YCQLYXH4.js} +1 -1
- package/dist/cdn/YFMHKHFE.js +2 -0
- package/dist/cdn/YHC6WRNQ.js +2 -0
- package/dist/cdn/ZDKUHFRX.js +2 -0
- package/dist/cdn/ZK72BJCQ.js +2 -0
- package/dist/cdn/{EUOPRFMU.js → ZLARROJV.js} +1 -1
- package/dist/cdn/{5ZGALYWZ.js → ZLCRTIQH.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/assets/common/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 +2 -0
- package/dist/chart-rendering/common/data/utils/summarize-data/interfaces.d.ts +5 -1
- package/dist/chart-rendering/common/interfaces.d.ts +111 -73
- package/dist/chunks/{type-guards3.js → action-bar-utils.js} +38 -46
- package/dist/chunks/axis-lines-symbol.js +9 -9
- package/dist/chunks/bar-chart-model.js +49 -41
- package/dist/chunks/box-plot-data.js +291 -274
- package/dist/chunks/box-plot-model.js +143 -130
- package/dist/chunks/chart-model.js +194 -153
- package/dist/chunks/chart-object-literals.js +26 -25
- package/dist/chunks/chart-ui-utils.js +148 -66
- package/dist/chunks/chart-ui-utils2.js +68 -149
- package/dist/chunks/class-breaks.js +270 -238
- package/dist/chunks/combo-bar-line-chart-model.js +122 -101
- package/dist/chunks/data-labels-symbol.js +39 -24
- package/dist/chunks/data-labels-visibility.js +8 -8
- package/dist/chunks/data.js +70 -70
- package/dist/chunks/default.js +6 -6
- package/dist/chunks/gauge-model.js +71 -71
- package/dist/chunks/generate-x-axis-title.js +19 -19
- package/dist/chunks/heat-chart-model.js +98 -69
- package/dist/chunks/histogram-data.js +24 -24
- package/dist/chunks/histogram-model.js +11 -11
- package/dist/chunks/index.js +9353 -1079
- package/dist/chunks/index2.js +851 -8748
- package/dist/chunks/index3.js +1169 -846
- package/dist/chunks/index4.js +10969 -677
- package/dist/chunks/index5.js +62 -10794
- package/dist/chunks/interfaces.js +9 -9
- package/dist/chunks/line-chart-model.js +41 -25
- package/dist/chunks/model-setter.js +59 -64
- package/dist/chunks/model-types.js +1 -1
- package/dist/chunks/model-with-line-marker-styling.js +72 -47
- package/dist/chunks/model-with-x-guides.js +6 -6
- package/dist/chunks/model-with-y-guides.js +52 -67
- package/dist/chunks/negative-values-stacked-to-baseline.js +122 -71
- package/dist/chunks/pie-chart-data.js +175 -193
- package/dist/chunks/pie-chart-model.js +388 -320
- package/dist/chunks/radar-chart-model.js +413 -46
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/rest-js-object-literals.js +10 -10
- package/dist/chunks/rotated-state.js +2 -2
- package/dist/chunks/rounded-corners.js +90 -0
- package/dist/chunks/scatterplot-model.js +27 -27
- package/dist/chunks/serial-chart-data.js +887 -755
- package/dist/chunks/serial-chart-model.js +151 -129
- package/dist/chunks/series-length.js +18 -18
- package/dist/chunks/series-types.js +22 -18
- package/dist/chunks/series.js +3 -3
- package/dist/chunks/store.js +5 -5
- package/dist/chunks/type-guards.js +49 -23
- package/dist/chunks/type-guards2.js +61 -52
- package/dist/chunks/utils.js +99 -89
- package/dist/chunks/utils2.js +9 -9
- package/dist/chunks/web-component-utils.js +632 -492
- package/dist/chunks/x-bounds.js +98 -97
- package/dist/components/arcgis-chart/customElement.d.ts +791 -277
- package/dist/components/arcgis-chart/customElement.js +11155 -10958
- package/dist/components/arcgis-charts-action-bar/customElement.d.ts +12 -0
- package/dist/components/arcgis-charts-action-bar/customElement.js +40 -37
- package/dist/components/arcgis-charts-config-axis/customElement.js +70 -64
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +39 -33
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +30 -30
- 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 +31 -39
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +17 -17
- package/dist/components/arcgis-charts-config-box-plot-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +26 -28
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +14 -17
- package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
- 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-colors/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +243 -229
- package/dist/components/arcgis-charts-config-field-picker/customElement.js +30 -0
- package/dist/components/arcgis-charts-config-font-style/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-format/customElement.js +94 -87
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +8 -11
- package/dist/components/arcgis-charts-config-general/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-guide/customElement.js +26 -27
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +10 -13
- 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 +66 -78
- package/dist/components/arcgis-charts-config-heat-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +58 -59
- package/dist/components/arcgis-charts-config-histogram/customElement.js +27 -23
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +27 -27
- package/dist/components/arcgis-charts-config-histogram-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +35 -36
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +5 -6
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +19 -19
- package/dist/components/arcgis-charts-config-line-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +42 -44
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +8 -8
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +7 -8
- package/dist/components/arcgis-charts-config-line-style/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +5 -6
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +57 -64
- package/dist/components/arcgis-charts-config-pie-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +56 -57
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +66 -67
- 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 +80 -80
- 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 +7 -7
- 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 +70 -62
- package/dist/index.js +500 -471
- package/dist/interfaces.d.ts +57 -14
- package/dist/json-schema/index.d.ts +211 -6
- package/dist/loader.js +2 -2
- package/dist/model/bar-chart-model/bar-chart-model.d.ts +6 -4
- package/dist/model/box-plot-model/box-plot-model.d.ts +11 -5
- package/dist/model/chart-model/chart-model-base.d.ts +10 -0
- package/dist/model/chart-model/chart-model-wrapper.d.ts +24 -0
- 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 +33 -21
- package/dist/model/heat-chart-model/heat-chart-model.d.ts +41 -8
- package/dist/model/interfaces/chart-interfaces.d.ts +2 -2
- package/dist/model/interfaces/common.d.ts +0 -2
- package/dist/model/mixins/model-with-guides.d.ts +1 -1
- package/dist/model/mixins/model-with-line-marker-styling.d.ts +28 -19
- package/dist/model/mixins/model-with-multi-axes.d.ts +62 -99
- package/dist/model/pie-chart-model/pie-chart-legend-model.d.ts +7 -55
- package/dist/model/pie-chart-model/pie-chart-model.d.ts +61 -2
- 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/setup-utils.d.ts +3 -3
- package/dist/{model.js → model/shared/setup-utils.js} +12 -12
- package/dist/model/shared/type-guards.d.ts +38 -22
- package/dist/spec/chart-object-literals.d.ts +4 -3
- package/dist/spec/data-source.d.ts +17 -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/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +3 -3
- package/dist/utils/chart-config/converter/index.js +742 -0
- package/dist/utils/chart-config/utils/index.d.ts +58 -9
- package/dist/utils/chart-config/validator/index.d.ts +2 -0
- package/dist/utils/chart-config/validator/interfaces.d.ts +4 -3
- package/dist/utils/components/interfaces.d.ts +2 -0
- package/dist/utils/cursor/interfaces.d.ts +21 -0
- package/dist/utils/data/categorical-data/index.d.ts +18 -2
- package/dist/utils/data/index.d.ts +28 -22
- package/dist/utils/data/interfaces.d.ts +4 -3
- package/dist/utils/defaults/index.d.ts +31 -6
- package/dist/utils/defaults/interfaces.d.ts +73 -4
- package/dist/utils/errors/index.d.ts +1 -1
- package/dist/utils/layer/index.d.ts +26 -8
- package/dist/utils/layer/inline-conversion/interfaces.d.ts +0 -2
- package/dist/utils/layer/interfaces.d.ts +0 -12
- package/dist/utils/layer/query-features/index.d.ts +8 -3
- package/dist/utils/layer/query-parser/index.d.ts +13 -9
- package/dist/utils/layer/utils/index.d.ts +22 -5
- package/dist/utils/localization/interfaces.d.ts +13 -1
- package/dist/utils/misc/index.d.ts +2 -3
- package/dist/utils/misc/interfaces.d.ts +1 -0
- 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 +10 -9
- package/dist/cdn/3FTJIVFE.js +0 -2
- package/dist/cdn/45JPWIBI.js +0 -2
- package/dist/cdn/45PJ5TQL.js +0 -2
- package/dist/cdn/47HHRDX4.js +0 -2
- package/dist/cdn/4OZZXXZF.js +0 -2
- package/dist/cdn/547RDEMV.js +0 -2
- package/dist/cdn/5HQ2CJEQ.js +0 -2
- package/dist/cdn/5MVNVHYG.js +0 -2
- package/dist/cdn/6JGLHOFY.js +0 -2
- package/dist/cdn/6LQYOBAL.js +0 -2
- package/dist/cdn/6PAONFHB.js +0 -2
- package/dist/cdn/6SRISPQN.js +0 -3
- package/dist/cdn/74JAZF7U.js +0 -2
- package/dist/cdn/7BEC5WZB.js +0 -2
- package/dist/cdn/7IV6GMF7.js +0 -2
- package/dist/cdn/7SNOZDAD.js +0 -2
- package/dist/cdn/7YBKGD3V.js +0 -2
- package/dist/cdn/A5GIBV5W.js +0 -2
- package/dist/cdn/AT2NWWBG.js +0 -2
- package/dist/cdn/ATIARKAU.js +0 -2
- package/dist/cdn/B7DM7VT6.js +0 -2
- package/dist/cdn/BBURKBKE.js +0 -2
- package/dist/cdn/BZCVDNC4.js +0 -102
- package/dist/cdn/CAJVNPHZ.js +0 -2
- package/dist/cdn/CHQDKVVQ.js +0 -4
- package/dist/cdn/CPPT5HUK.js +0 -58
- package/dist/cdn/CXQOEN77.js +0 -2
- package/dist/cdn/D23GGWFM.js +0 -2
- package/dist/cdn/DNMVB3A2.js +0 -2
- package/dist/cdn/DYC3Q36R.js +0 -2
- package/dist/cdn/EQVQRZHJ.js +0 -2
- package/dist/cdn/EXTKNE2L.js +0 -2
- package/dist/cdn/EZV7JSQJ.js +0 -2
- package/dist/cdn/F5Q73CFW.js +0 -2
- package/dist/cdn/FAQDMSUC.js +0 -2
- package/dist/cdn/FCXI523J.js +0 -2
- package/dist/cdn/FJPGZEGK.js +0 -2
- package/dist/cdn/FT2K3J7O.js +0 -2
- package/dist/cdn/GCSGY6GL.js +0 -2
- package/dist/cdn/GUH6CQE6.js +0 -2
- package/dist/cdn/GWQJXXP3.js +0 -2
- package/dist/cdn/H6NH46AS.js +0 -2
- package/dist/cdn/HJHMEVMB.js +0 -2
- package/dist/cdn/HUCSTT64.js +0 -2
- package/dist/cdn/HX4236ZL.js +0 -2
- package/dist/cdn/I2M6YAUU.js +0 -2
- package/dist/cdn/IWVS6SKP.js +0 -2
- package/dist/cdn/JILAM6NH.js +0 -2
- package/dist/cdn/JNNB2DIA.js +0 -2
- package/dist/cdn/KC6CFXB7.js +0 -2
- package/dist/cdn/KKWXEF5W.js +0 -2
- package/dist/cdn/KV4ZPVWQ.js +0 -2
- package/dist/cdn/LKY2A3U6.js +0 -2
- package/dist/cdn/M75ENKIU.js +0 -2
- package/dist/cdn/MHG42BA5.js +0 -2
- package/dist/cdn/MKQAQDRM.js +0 -2
- package/dist/cdn/MOMKSNIZ.js +0 -2
- package/dist/cdn/MRTKZZTF.js +0 -2
- package/dist/cdn/NS3THLCD.js +0 -2
- package/dist/cdn/NS7OCROO.js +0 -2
- package/dist/cdn/NZR4L5AA.js +0 -2
- package/dist/cdn/O4M33ZPK.js +0 -2
- package/dist/cdn/OVM5QF7Q.js +0 -2
- package/dist/cdn/OY6UOUYX.js +0 -2
- package/dist/cdn/P3RM2ACY.js +0 -2
- package/dist/cdn/P4HSSZRL.js +0 -2
- package/dist/cdn/P6SC5DD2.js +0 -2
- package/dist/cdn/P74SXC5B.js +0 -2
- package/dist/cdn/PAIRUVLU.js +0 -2
- package/dist/cdn/PEZCCXQ7.js +0 -2
- package/dist/cdn/PKMZ6N6M.js +0 -2
- package/dist/cdn/PTFRQF65.js +0 -2
- package/dist/cdn/PYKHO4QI.js +0 -2
- package/dist/cdn/RG3I5ORH.js +0 -2
- package/dist/cdn/RKKWMNWU.js +0 -2
- package/dist/cdn/S3BC57BJ.js +0 -4
- package/dist/cdn/S6PJHEJ7.js +0 -2
- package/dist/cdn/THTYR6IL.js +0 -2
- package/dist/cdn/TORIY3OE.js +0 -2
- package/dist/cdn/TTDZKISK.js +0 -2
- package/dist/cdn/TXSWWAOF.js +0 -2
- package/dist/cdn/TZ4GOE2Q.js +0 -2
- package/dist/cdn/U67P6YAZ.js +0 -2
- package/dist/cdn/UNUPCA4W.js +0 -2
- package/dist/cdn/URYNG6OA.js +0 -2
- package/dist/cdn/V2XJSJH4.js +0 -2
- package/dist/cdn/V76PIVCF.js +0 -2
- package/dist/cdn/V7MBHG4F.js +0 -2
- package/dist/cdn/VOTZAPI3.js +0 -2
- package/dist/cdn/W7X6L2OB.js +0 -127
- package/dist/cdn/X6WA2KXK.js +0 -2
- package/dist/cdn/XFZX5ULX.js +0 -2
- package/dist/cdn/XJFVSX2E.js +0 -2
- package/dist/cdn/XMQCH4QI.js +0 -2
- package/dist/cdn/Y3CXVO2M.js +0 -2
- package/dist/cdn/YIIPYKTL.js +0 -2
- package/dist/cdn/YKGZVYK2.js +0 -2
- package/dist/cdn/YVVQVAJZ.js +0 -2
- package/dist/cdn/YYK7SPXC.js +0 -2
- package/dist/cdn/YZQ54BRI.js +0 -2
- package/dist/cdn/Z7EBST4A.js +0 -3
- package/dist/cdn/ZFM5RGWD.js +0 -142
- package/dist/cdn/ZQCUJ7VE.js +0 -2
- package/dist/chunks/bar-chart-series.js +0 -15
- package/dist/chunks/index6.js +0 -103
- package/dist/chunks/index7.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/{WVRBLV5L.js → 7NWEE7T2.js} +0 -0
- /package/dist/components/{arcgis-charts-config-field-select → arcgis-charts-config-field-picker}/index.js +0 -0
|
@@ -0,0 +1,742 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
+
import { getElementLocale as $e } from "@arcgis/toolkit/intl/dom";
|
|
3
|
+
import { cloneDeep as n, isEmpty as B } from "lodash-es";
|
|
4
|
+
import { DateTime as Ye } from "luxon";
|
|
5
|
+
import { q as Qe, cf as se, bs as Ke, W as ne, aM as ae, cg as Xe, bC as Je, bD as Ze, p as O, be as Ue, ch as b, ci as te, N as et, O as tt, w as Z, cj as rt, cc as it, ck as ot, Y as st } from "../../../chunks/index.js";
|
|
6
|
+
import { a8 as nt, p as at, l as dt, a5 as lt, s as ct } from "../../../chunks/index3.js";
|
|
7
|
+
import { i as ut } from "../../../chunks/type-guards.js";
|
|
8
|
+
import { a as f, D as k, i as de } from "../../../chunks/index2.js";
|
|
9
|
+
import { g as h, s as ft } from "../../../chunks/series-types.js";
|
|
10
|
+
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, c as mt, e as gt, i as St } from "../../../chunks/class-breaks.js";
|
|
12
|
+
import { b as vt } from "../../../chunks/rest-js-object-literals.js";
|
|
13
|
+
var L = /* @__PURE__ */ ((r) => (r.NONE = "none", r.ROTATE = "rotate", r.STAGGER = "stagger", r.WRAP = "wrap", r))(L || {});
|
|
14
|
+
function le(r) {
|
|
15
|
+
const { configToUpdate: e, chartContainer: i, layer: t } = r, o = n(e);
|
|
16
|
+
if (t?.capabilities?.queryAttributeBins?.supportsFirstDayOfWeek === !0 && (!("firstDayOfWeek" in e) || e.firstDayOfWeek === void 0 || e.firstDayOfWeek === null)) {
|
|
17
|
+
const { lang: s } = $e(i ?? document.documentElement);
|
|
18
|
+
try {
|
|
19
|
+
o.firstDayOfWeek = Ye.local().setLocale(s.replaceAll("_", "-")).startOf("week", { useLocaleWeeks: !0 }).weekday;
|
|
20
|
+
} catch {
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
return o;
|
|
24
|
+
}
|
|
25
|
+
function Bt(r) {
|
|
26
|
+
const e = n(r);
|
|
27
|
+
if (ae(e)) {
|
|
28
|
+
const t = e.series[0], o = e.chartRenderer?.classBreakInfos;
|
|
29
|
+
if (o?.length && t?.classBreaksRules) {
|
|
30
|
+
t.classBreaksRules.colorRampInfo = t.classBreaksRules.colorRampInfo ?? {};
|
|
31
|
+
const { name: s, flipped: a } = t.classBreaksRules.colorRampInfo, u = yt(o, mt.esriColorRamps);
|
|
32
|
+
if (!s && u?.name && (t.classBreaksRules.colorRampInfo.name = u.name), a === void 0 && u) {
|
|
33
|
+
const y = gt({
|
|
34
|
+
numberOfClassBreaks: o.length,
|
|
35
|
+
selectedColorRamp: u
|
|
36
|
+
});
|
|
37
|
+
y.length === o.length && (t.classBreaksRules.colorRampInfo.flipped = St(y, o));
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
return e;
|
|
42
|
+
}
|
|
43
|
+
function ce(r) {
|
|
44
|
+
const e = n(r);
|
|
45
|
+
return B(r.axes) || (e.axes = r.axes?.map((i) => {
|
|
46
|
+
const t = i;
|
|
47
|
+
return delete t.calculateAutomaticMaximum, delete t.calculateAutomaticMinimum, t.title?.content.font?.style !== void 0 && (t.title.content.font.style = t.title.content.font.style.toLowerCase()), t;
|
|
48
|
+
})), e;
|
|
49
|
+
}
|
|
50
|
+
function ue(r) {
|
|
51
|
+
const e = n(r);
|
|
52
|
+
return B(r.series) || (e.series = r.series.map((i, t) => {
|
|
53
|
+
const o = i;
|
|
54
|
+
i.id === void 0 && (o.id = `Series ${Date.now()}-${t}`);
|
|
55
|
+
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.PieSeries && o.sliceGrouping !== void 0 && (o.sliceGrouping.sliceId = at.defaultGroupOfSlicesId, o.sliceGrouping.groupName !== void 0 && (o.sliceGrouping = {
|
|
57
|
+
...o.sliceGrouping,
|
|
58
|
+
label: o.sliceGrouping.groupName
|
|
59
|
+
}, delete o.sliceGrouping.groupName), o.sliceGrouping.groupSliceSymbol !== void 0 && (o.sliceGrouping = {
|
|
60
|
+
...o.sliceGrouping,
|
|
61
|
+
fillSymbol: o.sliceGrouping.groupSliceSymbol
|
|
62
|
+
}, delete o.sliceGrouping.groupSliceSymbol)), o;
|
|
63
|
+
})), e;
|
|
64
|
+
}
|
|
65
|
+
function oe(r, e) {
|
|
66
|
+
const i = [];
|
|
67
|
+
return r.forEach((t) => {
|
|
68
|
+
if (!de(t)) {
|
|
69
|
+
const o = k(t, !1);
|
|
70
|
+
if (o.fieldToSort !== void 0) {
|
|
71
|
+
const s = b({
|
|
72
|
+
queryObject: e,
|
|
73
|
+
fieldToMatch: o.fieldToSort
|
|
74
|
+
});
|
|
75
|
+
s !== void 0 && i.push(
|
|
76
|
+
o.orderBy === void 0 ? s : `${s} ${o.orderBy}`
|
|
77
|
+
);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}), i;
|
|
81
|
+
}
|
|
82
|
+
async function fe(r) {
|
|
83
|
+
const { configToUpdate: e, layer: i, abortSignal: t } = r, o = { ...e };
|
|
84
|
+
let s = i;
|
|
85
|
+
if (!s) {
|
|
86
|
+
const a = Je(e) ? e.iLayer : e.dataSource?.layer;
|
|
87
|
+
a && (s = await Ze(a, t));
|
|
88
|
+
}
|
|
89
|
+
if (s) {
|
|
90
|
+
const a = O(o.series), u = h(o.series), y = o.series && o.series.length > 0 && o.series[0].x.trim() === "" || u === c.GaugeSeries && !Ue(e) || a === f.PieFromFields || a === f.BarAndLineFromFields || a === f.BoxPlotMonoField || a === f.BoxPlotMonoFieldAndSplitBy || a === f.BoxPlotMultiFields || a === f.BoxPlotMultiFieldsAndSplitBy, He = u === c.ScatterSeries || u === c.HeatSeries || a === f.BarAndLineNoAggregation || a === f.BarAndLineSplitByNoAggregation || a === f.BoxPlotMonoField || a === f.BoxPlotMonoFieldAndSplitBy || a === f.BoxPlotMonoFieldAndCategory || a === f.BoxPlotMonoFieldAndCategoryAndSplitBy || a === f.PieNoAggregation;
|
|
91
|
+
if (o.series = e.series.map((l) => {
|
|
92
|
+
const d = { ...l };
|
|
93
|
+
if (y || (d.x = b({ queryObject: s, fieldToMatch: l.x })), "y" in d && He) {
|
|
94
|
+
const m = d.y;
|
|
95
|
+
if (Array.isArray(m)) {
|
|
96
|
+
const g = te({
|
|
97
|
+
fieldsList: m,
|
|
98
|
+
queryObject: s
|
|
99
|
+
});
|
|
100
|
+
g !== void 0 && "y" in d && (d.y = g);
|
|
101
|
+
} else "y" in d && typeof m == "string" && (d.y = b({ queryObject: s, fieldToMatch: m }));
|
|
102
|
+
}
|
|
103
|
+
if (l.query !== void 0) {
|
|
104
|
+
let { where: m, groupByFieldsForStatistics: g, outStatistics: S } = l.query;
|
|
105
|
+
if (g = te({ fieldsList: g, queryObject: s }), S !== void 0 && (S = S.map((T) => {
|
|
106
|
+
const x = { ...T };
|
|
107
|
+
return x.onStatisticField = b({
|
|
108
|
+
queryObject: s,
|
|
109
|
+
fieldToMatch: T.onStatisticField
|
|
110
|
+
}), x;
|
|
111
|
+
})), m !== void 0 && a === f.BarAndLineSplitBy) {
|
|
112
|
+
const T = et(l.query?.where), x = tt({
|
|
113
|
+
where: l.query?.where,
|
|
114
|
+
normalize: !1,
|
|
115
|
+
escape: !1
|
|
116
|
+
});
|
|
117
|
+
m = `${b({ queryObject: s, fieldToMatch: T })}=${x}`;
|
|
118
|
+
}
|
|
119
|
+
d.query !== void 0 && (m !== void 0 && (d.query.where = m), g !== void 0 && (d.query.groupByFieldsForStatistics = g), S !== void 0 && (d.query.outStatistics = S));
|
|
120
|
+
}
|
|
121
|
+
return d;
|
|
122
|
+
}), o.series[0]?.query !== void 0) {
|
|
123
|
+
const l = o.series[0].query;
|
|
124
|
+
let { orderByFields: d } = l;
|
|
125
|
+
d !== void 0 && d.length > 0 && (d = oe(d, s), d.length > 0 && l.orderByFields !== void 0 && (o.series[0].query.orderByFields = d));
|
|
126
|
+
}
|
|
127
|
+
if (o.orderOptions?.orderByFields !== void 0) {
|
|
128
|
+
let { orderByFields: l } = o.orderOptions;
|
|
129
|
+
l !== void 0 && l.length > 0 && (l = oe(l, s), l.length > 0 && (o.orderOptions.orderByFields = l));
|
|
130
|
+
}
|
|
131
|
+
if (u === c.GaugeSeries && e.axes?.[0] !== void 0) {
|
|
132
|
+
const { minimumFromField: l, maximumFromField: d } = e.axes[0];
|
|
133
|
+
if (l !== void 0) {
|
|
134
|
+
const m = typeof l == "string" ? l : l.onStatisticField, g = b({ queryObject: s, fieldToMatch: m });
|
|
135
|
+
let S = l;
|
|
136
|
+
typeof e.axes[0].minimumFromField == "string" ? S = g : typeof l == "object" && (S = {
|
|
137
|
+
...l,
|
|
138
|
+
onStatisticField: g
|
|
139
|
+
}), e.axes[0].minimumFromField = S;
|
|
140
|
+
}
|
|
141
|
+
if (d !== void 0) {
|
|
142
|
+
const m = typeof d == "string" ? d : d.onStatisticField, g = b({ queryObject: s, fieldToMatch: m });
|
|
143
|
+
let S = d;
|
|
144
|
+
typeof e.axes[0].maximumFromField == "string" ? S = g : typeof d == "object" && (S = {
|
|
145
|
+
...d,
|
|
146
|
+
onStatisticField: g
|
|
147
|
+
}), e.axes[0].maximumFromField = S;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
return o;
|
|
152
|
+
}
|
|
153
|
+
function pe(r) {
|
|
154
|
+
const e = n(r);
|
|
155
|
+
if (!B(r.series) && h(r.series) === c.BoxPlotSeries) {
|
|
156
|
+
const t = e.series[0];
|
|
157
|
+
t && (t.showOutliers !== void 0 && (r.showOutliers === void 0 && (e.showOutliers = t.showOutliers), delete t.showOutliers), t.standardizeValues !== void 0 && (r.standardizeValues === void 0 && (e.standardizeValues = t.standardizeValues), delete t.standardizeValues), t.showMean !== void 0 && (r.showMean === void 0 && (e.showMean = t.showMean), delete t.showMean));
|
|
158
|
+
}
|
|
159
|
+
return e;
|
|
160
|
+
}
|
|
161
|
+
function ye(r) {
|
|
162
|
+
const e = {
|
|
163
|
+
orderType: p.Category,
|
|
164
|
+
orderBy: v.Ascending
|
|
165
|
+
}, i = r.query?.orderByFields?.[0];
|
|
166
|
+
if (i !== void 0) {
|
|
167
|
+
const { outStatisticFieldName: t, statisticType: o } = r.query?.outStatistics?.[0] ?? {}, s = k(i);
|
|
168
|
+
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
|
+
}
|
|
170
|
+
return e;
|
|
171
|
+
}
|
|
172
|
+
function me(r) {
|
|
173
|
+
let e = !1;
|
|
174
|
+
const i = Array.from(new Set(r.series.map((t) => t.type)));
|
|
175
|
+
return i.length === 2 && i.includes(c.BoxPlotSeries) && i.includes(c.LineSeries) && (e = r.series.find((o) => o.type === c.LineSeries)?.query?.outStatistics?.[0] !== void 0), e;
|
|
176
|
+
}
|
|
177
|
+
function ge(r) {
|
|
178
|
+
const e = n(r);
|
|
179
|
+
if (!B(e.series) && h(r.series) === c.BoxPlotSeries) {
|
|
180
|
+
if (e.orderOptions?.data === void 0) {
|
|
181
|
+
const t = ye(r.series[0]);
|
|
182
|
+
t.orderType !== void 0 && (e.orderOptions ??= {}, e.orderOptions.data = {
|
|
183
|
+
orderType: t.orderType,
|
|
184
|
+
orderBy: t.orderBy
|
|
185
|
+
});
|
|
186
|
+
}
|
|
187
|
+
if (e.series = r.series.map((t) => {
|
|
188
|
+
const o = t;
|
|
189
|
+
return B(o.x?.trim()) && (o.x = dt), delete o.query?.orderByFields, o;
|
|
190
|
+
}), me(e)) {
|
|
191
|
+
e.showMean = !0;
|
|
192
|
+
const t = e.series.find(
|
|
193
|
+
(o) => o.type === c.BoxPlotSeries
|
|
194
|
+
);
|
|
195
|
+
e.series.forEach((o) => {
|
|
196
|
+
o.type === c.LineSeries && (delete o.query?.groupByFieldsForStatistics, delete o.query?.outStatistics, delete o.query?.orderByFields, t && (o.y = t.y));
|
|
197
|
+
});
|
|
198
|
+
}
|
|
199
|
+
e.series = r.series.map((t) => {
|
|
200
|
+
const o = t;
|
|
201
|
+
return delete o.query?.outStatistics, o;
|
|
202
|
+
});
|
|
203
|
+
}
|
|
204
|
+
return e;
|
|
205
|
+
}
|
|
206
|
+
function Se(r) {
|
|
207
|
+
const e = n(r);
|
|
208
|
+
return e.legend !== void 0 && !Number.isFinite(e.legend.maxHeight) && (e.legend.maxHeight = void 0), e;
|
|
209
|
+
}
|
|
210
|
+
function ve(r) {
|
|
211
|
+
const e = n(r);
|
|
212
|
+
return "dataSource" in e && e.dataSource.layer && (e.iLayer = e.dataSource.layer, delete e.dataSource), e;
|
|
213
|
+
}
|
|
214
|
+
function Be(r) {
|
|
215
|
+
const e = n(r), i = /* @__PURE__ */ new Set(), t = e.id ?? "";
|
|
216
|
+
return i.add(t), e.series.forEach((o) => {
|
|
217
|
+
let s = o.id;
|
|
218
|
+
i.has(s) && (s = `${s}_${Date.now()}`, o.id = s), i.add(s);
|
|
219
|
+
}), e;
|
|
220
|
+
}
|
|
221
|
+
async function he(r) {
|
|
222
|
+
const { configToUpdate: e, layer: i, chartContainer: t, abortSignal: o } = r;
|
|
223
|
+
let s = n(e);
|
|
224
|
+
if (s = ce(s), s = ue(s), s = await fe({ configToUpdate: s, layer: i, abortSignal: o }), ne(s)) {
|
|
225
|
+
const a = pe(s);
|
|
226
|
+
s = ge(a);
|
|
227
|
+
}
|
|
228
|
+
return s = Se(s), s = Be(s), ae(s) && !ut(i) && (s = le({ configToUpdate: s, chartContainer: t, layer: i })), s;
|
|
229
|
+
}
|
|
230
|
+
function Ce(r) {
|
|
231
|
+
const e = n(r), i = e.series[0];
|
|
232
|
+
if (ft(i) && i.nullCategory?.symbol) {
|
|
233
|
+
const t = i.nullCategory.symbol, o = t.type;
|
|
234
|
+
e.series?.forEach((s) => {
|
|
235
|
+
"nullCategory" in s && s.nullCategory && o === vt.SFS && (s.nullCategory.fillSymbol = t);
|
|
236
|
+
}), delete i.nullCategory.symbol;
|
|
237
|
+
}
|
|
238
|
+
return e;
|
|
239
|
+
}
|
|
240
|
+
function be(r) {
|
|
241
|
+
const e = n(r);
|
|
242
|
+
return e?.orderOptions?.orderByFields !== void 0 && O(r.series) === f.PieFromFields && (e.orderOptions.orderByFields = r?.orderOptions?.orderByFields?.map(
|
|
243
|
+
(i) => {
|
|
244
|
+
let t = n(i);
|
|
245
|
+
return i !== void 0 && i.includes("arcgis_charts_pie_category_from_fields_name") && (t = i.replace(
|
|
246
|
+
"arcgis_charts_pie_category_from_fields_name",
|
|
247
|
+
Z
|
|
248
|
+
)), t;
|
|
249
|
+
}
|
|
250
|
+
)), e;
|
|
251
|
+
}
|
|
252
|
+
function Fe(r) {
|
|
253
|
+
const e = n(r);
|
|
254
|
+
if (!B(r.series) && e.axes?.[0] !== void 0 && h(r.series) === c.GaugeSeries && r.axes?.[0] !== void 0) {
|
|
255
|
+
const t = r.axes[0];
|
|
256
|
+
t.ticks !== void 0 && Object.hasOwn(t.ticks, "spacing") && delete t.ticks.spacing, e.axes[0] = t;
|
|
257
|
+
}
|
|
258
|
+
return e;
|
|
259
|
+
}
|
|
260
|
+
function Te(r) {
|
|
261
|
+
const e = n(r), { extent: i } = e.series[0]?.query ?? {};
|
|
262
|
+
return i !== void 0 && (e.dataFilters = {
|
|
263
|
+
...e.dataFilters,
|
|
264
|
+
geometry: i
|
|
265
|
+
}, e.series.forEach((t) => {
|
|
266
|
+
"query" in t && "extent" in t.query && delete t.query.extent;
|
|
267
|
+
})), e;
|
|
268
|
+
}
|
|
269
|
+
function U(r) {
|
|
270
|
+
const e = n(r);
|
|
271
|
+
return B(r.series) || (rt(r) && r.rotated === void 0 && (e.rotated = r.series[0].rotated ?? lt()), e.series.forEach((i) => {
|
|
272
|
+
i.rotated !== void 0 && delete i.rotated;
|
|
273
|
+
})), e;
|
|
274
|
+
}
|
|
275
|
+
function xe(r) {
|
|
276
|
+
const e = n(r), i = r.dataSource;
|
|
277
|
+
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;
|
|
278
|
+
}
|
|
279
|
+
function Oe(r) {
|
|
280
|
+
const e = n(r);
|
|
281
|
+
if ("dataSource" in r) {
|
|
282
|
+
const i = r.dataSource;
|
|
283
|
+
if (i.filter !== void 0 && i.filter.trim() !== "") {
|
|
284
|
+
const t = it([i.filter, e.dataFilters?.where]);
|
|
285
|
+
e.dataFilters = {
|
|
286
|
+
...e.dataFilters,
|
|
287
|
+
where: t
|
|
288
|
+
}, delete e.dataSource.filter;
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
return e;
|
|
292
|
+
}
|
|
293
|
+
function ke(r) {
|
|
294
|
+
return r !== "originalValue";
|
|
295
|
+
}
|
|
296
|
+
function ee(r) {
|
|
297
|
+
let e;
|
|
298
|
+
switch (r) {
|
|
299
|
+
case "mean":
|
|
300
|
+
e = p.Mean;
|
|
301
|
+
break;
|
|
302
|
+
case "median":
|
|
303
|
+
e = p.Median;
|
|
304
|
+
break;
|
|
305
|
+
case "category":
|
|
306
|
+
e = p.Category;
|
|
307
|
+
break;
|
|
308
|
+
}
|
|
309
|
+
return e;
|
|
310
|
+
}
|
|
311
|
+
function Pe(r) {
|
|
312
|
+
const e = n(r);
|
|
313
|
+
if (!B(r.series) && h(r.series) === c.PieSeries) {
|
|
314
|
+
const t = e.series[0];
|
|
315
|
+
if (t) {
|
|
316
|
+
if (t.sortLabelsBy === "originalValue")
|
|
317
|
+
e.sortLabelsBy = t.sortLabelsBy;
|
|
318
|
+
else if (t.sortLabelsBy !== void 0 && e.orderOptions?.data === void 0) {
|
|
319
|
+
const o = P(e);
|
|
320
|
+
o !== void 0 && (e.orderOptions ??= {}, e.orderOptions.data = o);
|
|
321
|
+
}
|
|
322
|
+
t.sortLabelsBy && delete t.sortLabelsBy;
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
return e;
|
|
326
|
+
}
|
|
327
|
+
function Le(r) {
|
|
328
|
+
const e = n(r);
|
|
329
|
+
return B(r.series) || (ot(r) && r.stackedType === void 0 && (e.stackedType = r.series[0].stackedType ?? ct()), e.series.forEach((i) => {
|
|
330
|
+
"stackedType" in i && delete i.stackedType;
|
|
331
|
+
})), e;
|
|
332
|
+
}
|
|
333
|
+
function we(r) {
|
|
334
|
+
const e = n(r), i = r.sortOptions?.sortSeriesBy;
|
|
335
|
+
return e.orderOptions === void 0 && typeof i == "string" && (e.orderOptions ??= {}, e.orderOptions.series = {
|
|
336
|
+
orderBy: i === "DESC" ? v.Descending : v.Ascending
|
|
337
|
+
}), e;
|
|
338
|
+
}
|
|
339
|
+
function Ae(r) {
|
|
340
|
+
const e = n(r);
|
|
341
|
+
return e.colorMatch === void 0 && e.series[0]?.colorType !== void 0 && (e.colorMatch = e.series[0]?.colorType === pt.Match), e.series.forEach((i) => {
|
|
342
|
+
i.colorType !== void 0 && delete i.colorType;
|
|
343
|
+
}), e;
|
|
344
|
+
}
|
|
345
|
+
function De(r) {
|
|
346
|
+
const e = n(r);
|
|
347
|
+
if (e.sortDataBy !== void 0) {
|
|
348
|
+
if (e.orderOptions?.data === void 0) {
|
|
349
|
+
const i = r.sortDataBy, t = ee(i?.sortType);
|
|
350
|
+
t && t !== p.MultiAxes && (e.orderOptions ??= {}, e.orderOptions.data = {
|
|
351
|
+
orderType: t,
|
|
352
|
+
orderBy: i?.sortOrder ?? v.Ascending
|
|
353
|
+
});
|
|
354
|
+
}
|
|
355
|
+
delete e.sortDataBy;
|
|
356
|
+
}
|
|
357
|
+
return e;
|
|
358
|
+
}
|
|
359
|
+
function Me(r) {
|
|
360
|
+
const e = n(r);
|
|
361
|
+
return e.axes?.forEach((i) => {
|
|
362
|
+
i !== void 0 && i.scrollbarVisible !== void 0 && i.scrollbar?.visible === void 0 && (i.scrollbar = {
|
|
363
|
+
...i.scrollbar,
|
|
364
|
+
visible: i.scrollbarVisible
|
|
365
|
+
}, delete i.scrollbarVisible);
|
|
366
|
+
}), e;
|
|
367
|
+
}
|
|
368
|
+
function Ie(r) {
|
|
369
|
+
const e = n(r), i = e.series[0]?.query?.orderByFields;
|
|
370
|
+
if (i !== void 0 && i.length > 0 && e.orderOptions?.orderByFields === void 0) {
|
|
371
|
+
e.orderOptions ??= {};
|
|
372
|
+
let t = !0;
|
|
373
|
+
if (i.length === 1) {
|
|
374
|
+
const { fieldToSort: o, orderBy: s } = k(i[0]);
|
|
375
|
+
let a;
|
|
376
|
+
o === r.series[0].x || o === Z ? 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 = {
|
|
377
|
+
orderType: a,
|
|
378
|
+
orderBy: s?.toUpperCase() === "DESC" ? v.Descending : v.Ascending
|
|
379
|
+
}));
|
|
380
|
+
}
|
|
381
|
+
t && (e.orderOptions.orderByFields = i);
|
|
382
|
+
}
|
|
383
|
+
return e.series.forEach((t) => {
|
|
384
|
+
delete t.query?.orderByFields;
|
|
385
|
+
}), e;
|
|
386
|
+
}
|
|
387
|
+
function P(r) {
|
|
388
|
+
let e, i = r.orderOptions?.orderByFields?.[0];
|
|
389
|
+
if (r.series?.length > 0) {
|
|
390
|
+
const t = h(r.series), o = O(r.series);
|
|
391
|
+
if (t !== c.PieSeries && o !== f.BarAndLineFromFields && (i = i ?? r.series[0].x), i && !de(i)) {
|
|
392
|
+
const { fieldToSort: s, orderBy: a } = k(i);
|
|
393
|
+
let u;
|
|
394
|
+
s === r.series[0].x || s === Z ? u = p.Category : "y" in r.series[0] && s === r.series[0].y && (u = p.YValue), u && u !== p.MultiAxes && (e = {
|
|
395
|
+
orderType: u,
|
|
396
|
+
orderBy: a?.toUpperCase() === "DESC" ? v.Descending : v.Ascending
|
|
397
|
+
});
|
|
398
|
+
}
|
|
399
|
+
}
|
|
400
|
+
return e;
|
|
401
|
+
}
|
|
402
|
+
function We(r) {
|
|
403
|
+
const e = n(r), i = r, t = r, o = r, s = r, a = r;
|
|
404
|
+
if (e) {
|
|
405
|
+
if (e.orderOptions?.series === void 0 && i.sortOptions?.sortSeriesBy !== void 0 && (e.orderOptions ??= {}, e.orderOptions.series = {
|
|
406
|
+
preferLabel: ke(
|
|
407
|
+
t.sortLabelsBy ?? i.sortOptions.sortSeriesBy.sortType
|
|
408
|
+
),
|
|
409
|
+
orderBy: i.sortOptions.sortSeriesBy.sortOrder ?? v.Ascending
|
|
410
|
+
}), t.sortLabelsBy === "originalValue" || s.orderOptions?.data?.preferDataLabel === !1 || a.orderOptions?.data?.preferLabel === !1)
|
|
411
|
+
e.orderOptions?.data && delete e.orderOptions.data;
|
|
412
|
+
else if (e.orderOptions?.data === void 0)
|
|
413
|
+
if (h(e.series) === c.BoxPlotSeries) {
|
|
414
|
+
if (t.sortLabelsBy || o.sortOptions?.sortDataBy !== void 0) {
|
|
415
|
+
const y = ee(o.sortOptions?.sortDataBy?.sortType);
|
|
416
|
+
y && y !== p.MultiAxes && (e.orderOptions ??= {}, e.orderOptions.data = {
|
|
417
|
+
orderType: y,
|
|
418
|
+
orderBy: o.sortOptions?.sortDataBy?.sortOrder ?? v.Ascending
|
|
419
|
+
});
|
|
420
|
+
}
|
|
421
|
+
} else {
|
|
422
|
+
const y = P(e);
|
|
423
|
+
y !== void 0 && (e.orderOptions ??= {}, e.orderOptions.data = y);
|
|
424
|
+
}
|
|
425
|
+
"sortLabelsBy" in e && delete e.sortLabelsBy, "sortOptions" in e && delete e.sortOptions;
|
|
426
|
+
}
|
|
427
|
+
return e;
|
|
428
|
+
}
|
|
429
|
+
function qe(r) {
|
|
430
|
+
const e = n(r);
|
|
431
|
+
if (e) {
|
|
432
|
+
const i = O(e.series);
|
|
433
|
+
if ((i === f.BarAndLineFromFields || i === f.PieFromFields) && e.orderOptions?.data === void 0 && e.orderOptions?.orderByFields !== void 0) {
|
|
434
|
+
const t = P(e);
|
|
435
|
+
t !== void 0 && (e.orderOptions ??= {}, e.orderOptions.data = t, delete e.orderOptions.orderByFields);
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
return e;
|
|
439
|
+
}
|
|
440
|
+
function Ne(r) {
|
|
441
|
+
const e = n(r);
|
|
442
|
+
return e.horizontalAxisLabelsBehavior === L.NONE && (e.horizontalAxisLabelsBehavior = ie.Hide), e.verticalAxisLabelsBehavior === L.NONE && (e.verticalAxisLabelsBehavior = ie.Hide), e;
|
|
443
|
+
}
|
|
444
|
+
function Re(r) {
|
|
445
|
+
const e = n(r), i = e.series[0];
|
|
446
|
+
if (i && !i.temporalBinning && st(e.series[0]) && ("timeIntervalSize" in i || "timeIntervalUnits" in i || "timeAggregationType" in i || "trimIncompleteTimeInterval" in i || "nullPolicy" in i)) {
|
|
447
|
+
if (i.temporalBinning = {}, i.timeIntervalSize !== void 0 && (i.temporalBinning.size = i.timeIntervalSize, delete i.timeIntervalSize), i.timeIntervalUnits) {
|
|
448
|
+
let t;
|
|
449
|
+
switch (i.timeIntervalUnits) {
|
|
450
|
+
case "esriTimeUnitsSeconds":
|
|
451
|
+
t = C.Second;
|
|
452
|
+
break;
|
|
453
|
+
case "esriTimeUnitsMinutes":
|
|
454
|
+
t = C.Minute;
|
|
455
|
+
break;
|
|
456
|
+
case "esriTimeUnitsHours":
|
|
457
|
+
t = C.Hour;
|
|
458
|
+
break;
|
|
459
|
+
case "esriTimeUnitsDays":
|
|
460
|
+
t = C.Day;
|
|
461
|
+
break;
|
|
462
|
+
case "esriTimeUnitsWeeks":
|
|
463
|
+
t = C.Week;
|
|
464
|
+
break;
|
|
465
|
+
case "esriTimeUnitsMonths":
|
|
466
|
+
t = C.Month;
|
|
467
|
+
break;
|
|
468
|
+
case "esriTimeUnitsYears":
|
|
469
|
+
t = C.Year;
|
|
470
|
+
break;
|
|
471
|
+
}
|
|
472
|
+
t !== void 0 && (i.temporalBinning.unit = t), delete i.timeIntervalUnits;
|
|
473
|
+
}
|
|
474
|
+
i.timeAggregationType && (i.temporalBinning.timeAggregationType = i.timeAggregationType, delete i.timeAggregationType), i.trimIncompleteTimeInterval !== void 0 && (i.temporalBinning.trimIncompleteTimeInterval = i.trimIncompleteTimeInterval, delete i.trimIncompleteTimeInterval), i.nullPolicy && (i.temporalBinning.nullPolicy = i.nullPolicy, delete i.nullPolicy);
|
|
475
|
+
}
|
|
476
|
+
return e;
|
|
477
|
+
}
|
|
478
|
+
function Ee(r) {
|
|
479
|
+
const e = n(r);
|
|
480
|
+
return e.series.forEach((i) => {
|
|
481
|
+
i.query?.outStatistics?.forEach((t) => {
|
|
482
|
+
t.statisticType === "percentile_cont" ? t.statisticType = F.ContinuousPercentile : t.statisticType === "percentile_disc" && (t.statisticType = F.DiscretePercentile);
|
|
483
|
+
});
|
|
484
|
+
}), e;
|
|
485
|
+
}
|
|
486
|
+
function Ve(r) {
|
|
487
|
+
const e = n(r);
|
|
488
|
+
return e.subtitle === void 0 && e.subTitle && (e.subtitle = e.subTitle), delete e.subTitle, e;
|
|
489
|
+
}
|
|
490
|
+
function Ge(r) {
|
|
491
|
+
const e = n(r), i = e.series[0];
|
|
492
|
+
return i?.temporalBinning && delete i.temporalBinning?.type, e;
|
|
493
|
+
}
|
|
494
|
+
function _e(r) {
|
|
495
|
+
const e = n(r), i = e.series[0], t = r;
|
|
496
|
+
return t.series[0]?.xTemporalBinning && (i.xTemporalBinning = {
|
|
497
|
+
...t.series[0]?.xTemporalBinning,
|
|
498
|
+
type: c.CalendarDateParts
|
|
499
|
+
}), t.series[0]?.yTemporalBinning && (i.yTemporalBinning = {
|
|
500
|
+
...t.series[0]?.yTemporalBinning,
|
|
501
|
+
type: c.CalendarDateParts
|
|
502
|
+
}), e;
|
|
503
|
+
}
|
|
504
|
+
function je(r) {
|
|
505
|
+
let e = n(r);
|
|
506
|
+
return e = be(e), e;
|
|
507
|
+
}
|
|
508
|
+
function w(r) {
|
|
509
|
+
let e = n(r);
|
|
510
|
+
return e = Fe(e), e;
|
|
511
|
+
}
|
|
512
|
+
function A(r) {
|
|
513
|
+
let e = n(r);
|
|
514
|
+
return e = Te(e), e;
|
|
515
|
+
}
|
|
516
|
+
function D(r) {
|
|
517
|
+
let e = n(r);
|
|
518
|
+
return e = U(e), e;
|
|
519
|
+
}
|
|
520
|
+
function M(r) {
|
|
521
|
+
let e = n(r);
|
|
522
|
+
return e = xe(e), e;
|
|
523
|
+
}
|
|
524
|
+
function I(r) {
|
|
525
|
+
let e = n(r);
|
|
526
|
+
return e = Oe(e), e;
|
|
527
|
+
}
|
|
528
|
+
function W(r) {
|
|
529
|
+
let e = n(r);
|
|
530
|
+
return e = Pe(e), e;
|
|
531
|
+
}
|
|
532
|
+
function q(r) {
|
|
533
|
+
let e = n(r);
|
|
534
|
+
return e = we(e), e;
|
|
535
|
+
}
|
|
536
|
+
function N(r) {
|
|
537
|
+
let e = n(r);
|
|
538
|
+
return e = Ae(e), e;
|
|
539
|
+
}
|
|
540
|
+
function R(r) {
|
|
541
|
+
return Me(r);
|
|
542
|
+
}
|
|
543
|
+
function E(r) {
|
|
544
|
+
let e = n(r);
|
|
545
|
+
return ne(e) && (e = De(e)), e;
|
|
546
|
+
}
|
|
547
|
+
function V(r) {
|
|
548
|
+
return Le(r);
|
|
549
|
+
}
|
|
550
|
+
function G(r) {
|
|
551
|
+
return We(r);
|
|
552
|
+
}
|
|
553
|
+
function _(r) {
|
|
554
|
+
return ve(r);
|
|
555
|
+
}
|
|
556
|
+
function j(r) {
|
|
557
|
+
return qe(r);
|
|
558
|
+
}
|
|
559
|
+
function z(r) {
|
|
560
|
+
return Ne(r);
|
|
561
|
+
}
|
|
562
|
+
function H(r) {
|
|
563
|
+
return Re(r);
|
|
564
|
+
}
|
|
565
|
+
function $(r) {
|
|
566
|
+
return Ee(r);
|
|
567
|
+
}
|
|
568
|
+
function Y(r) {
|
|
569
|
+
let e = n(r);
|
|
570
|
+
return e = U(e), Ve(e);
|
|
571
|
+
}
|
|
572
|
+
function Q(r) {
|
|
573
|
+
let e = n(r);
|
|
574
|
+
return e = Ge(e), e;
|
|
575
|
+
}
|
|
576
|
+
function K(r) {
|
|
577
|
+
let e = n(r);
|
|
578
|
+
return e = _e(e), e;
|
|
579
|
+
}
|
|
580
|
+
function X(r) {
|
|
581
|
+
let e = n(r);
|
|
582
|
+
return e = Bt(e), e;
|
|
583
|
+
}
|
|
584
|
+
function J(r) {
|
|
585
|
+
let e = n(r);
|
|
586
|
+
return h(e.series) === c.BarSeries && (e = Ce(e)), e;
|
|
587
|
+
}
|
|
588
|
+
function ze(r) {
|
|
589
|
+
const { versionsToConvert: e, configToUpdate: i } = r;
|
|
590
|
+
let t = n(i);
|
|
591
|
+
return e.length > 0 && t !== void 0 && (t = Ie(t), e.includes(se) || e.includes(Xe) ? (t = je(t), t = w(t), t = A(t), t = D(t), t = M(t), t = I(t), t = W(t), t = q(t), t = N(t), t = R(t), t = E(t), t = V(t), t = G(t), t = _(t), t = j(t), t = z(t), t = H(t), t = $(t), t = Y(t), t = Q(t), t = K(t), t = X(t), t = J(t)) : e.forEach((o) => {
|
|
592
|
+
if (t !== void 0)
|
|
593
|
+
switch (o) {
|
|
594
|
+
case "1.0.1":
|
|
595
|
+
t = w(t);
|
|
596
|
+
break;
|
|
597
|
+
case "3.4.0":
|
|
598
|
+
t = A(t);
|
|
599
|
+
break;
|
|
600
|
+
case "4.0.0":
|
|
601
|
+
t = D(t);
|
|
602
|
+
break;
|
|
603
|
+
case "4.0.1":
|
|
604
|
+
t = M(t);
|
|
605
|
+
break;
|
|
606
|
+
case "6.4.0":
|
|
607
|
+
t = I(t);
|
|
608
|
+
break;
|
|
609
|
+
case "7.5.1":
|
|
610
|
+
t = W(t);
|
|
611
|
+
break;
|
|
612
|
+
case "8.0.0":
|
|
613
|
+
t = q(t);
|
|
614
|
+
break;
|
|
615
|
+
case "9.2.0":
|
|
616
|
+
t = N(t);
|
|
617
|
+
break;
|
|
618
|
+
case "9.7.0":
|
|
619
|
+
t = R(t);
|
|
620
|
+
break;
|
|
621
|
+
case "10.0.0":
|
|
622
|
+
t = E(t);
|
|
623
|
+
break;
|
|
624
|
+
case "11.0.0":
|
|
625
|
+
t = V(t);
|
|
626
|
+
break;
|
|
627
|
+
case "14.0.1":
|
|
628
|
+
t = G(t);
|
|
629
|
+
break;
|
|
630
|
+
case "16.0.0":
|
|
631
|
+
t = _(t);
|
|
632
|
+
break;
|
|
633
|
+
case "16.1.0":
|
|
634
|
+
t = j(t);
|
|
635
|
+
break;
|
|
636
|
+
case "18.1.3":
|
|
637
|
+
t = z(t);
|
|
638
|
+
break;
|
|
639
|
+
case "20.1.0":
|
|
640
|
+
t = H(t);
|
|
641
|
+
break;
|
|
642
|
+
case "21.0.0":
|
|
643
|
+
t = $(t);
|
|
644
|
+
break;
|
|
645
|
+
case "23.2.0":
|
|
646
|
+
t = Y(t);
|
|
647
|
+
break;
|
|
648
|
+
case "24.7.0":
|
|
649
|
+
t = Q(t);
|
|
650
|
+
break;
|
|
651
|
+
case "24.8.0":
|
|
652
|
+
t = K(t);
|
|
653
|
+
break;
|
|
654
|
+
case "25.0.0":
|
|
655
|
+
t = X(t);
|
|
656
|
+
break;
|
|
657
|
+
case "25.1.0":
|
|
658
|
+
t = J(t);
|
|
659
|
+
break;
|
|
660
|
+
}
|
|
661
|
+
}), t.version = nt), t;
|
|
662
|
+
}
|
|
663
|
+
async function Dt(r, e, i, t) {
|
|
664
|
+
let o = r;
|
|
665
|
+
if (r) {
|
|
666
|
+
const s = Qe(e);
|
|
667
|
+
await s?.load({ signal: t }), o = await he({ configToUpdate: r, layer: s, chartContainer: i, abortSignal: t });
|
|
668
|
+
const a = r.version ?? se, { versionStatus: u, versions: y } = Ke(a);
|
|
669
|
+
(u === re.Older || u === re.Unrecognized) && (o = ze({
|
|
670
|
+
versionsToConvert: y,
|
|
671
|
+
configToUpdate: o
|
|
672
|
+
}));
|
|
673
|
+
}
|
|
674
|
+
return o;
|
|
675
|
+
}
|
|
676
|
+
const Mt = {
|
|
677
|
+
adjustAxes: ce,
|
|
678
|
+
adjustSeries: ue,
|
|
679
|
+
matchChartFieldsToLayerFields: fe,
|
|
680
|
+
resetLegendMaxHeight: Se,
|
|
681
|
+
moveSeriesQueryExtent: Te,
|
|
682
|
+
moveSeriesRotatedPropToChart: U,
|
|
683
|
+
renameDataSourceProperties: xe,
|
|
684
|
+
copyDataSourceFilterToConfig: Oe,
|
|
685
|
+
adjustPieFromFieldsDefaultNameAndValue: be,
|
|
686
|
+
removeSpacingPropertyFromGauge: Fe,
|
|
687
|
+
moveBoxPlotSeriesPropsToChart: pe,
|
|
688
|
+
movePieSeriesSortLabelsPropToChart: Pe,
|
|
689
|
+
getProBoxPlotSortDataOption: ye,
|
|
690
|
+
isBoxPlotConfigWithMeanLinesFromPro: me,
|
|
691
|
+
preventDuplicatedIds: Be,
|
|
692
|
+
adjustBoxPlotConfig: ge,
|
|
693
|
+
convertSortSeriesByToObject: we,
|
|
694
|
+
moveBoxPlotSortDataByProp: De,
|
|
695
|
+
handleColorMatchChanges: Ae,
|
|
696
|
+
moveScrollbarVisible: Me,
|
|
697
|
+
moveSeriesStackedTypePropToChart: Le,
|
|
698
|
+
convertBoxplotOldToNewDataSortType: ee,
|
|
699
|
+
getDataOrderFromOrderByFields: P,
|
|
700
|
+
convertWebChartDataValueTypes: ke,
|
|
701
|
+
moveOrConvertSeriesOrderByFieldsToChartOrderOptions: Ie,
|
|
702
|
+
convertWebChartLabelBehaviorNoneToHide: Ne,
|
|
703
|
+
handleOrderOptionsChanges: We,
|
|
704
|
+
applyDataOrderInstructionForFromFieldsCharts: qe,
|
|
705
|
+
convertTemporalBinningProps: Re,
|
|
706
|
+
convertRESTStatisticTypeToWebChartStatisticType: Ee,
|
|
707
|
+
renameChartSubtitle: Ve,
|
|
708
|
+
applyMandatoryConversions: he,
|
|
709
|
+
convertTo1x0x1: je,
|
|
710
|
+
convertTo2x0x0: w,
|
|
711
|
+
convertTo3x5x0: A,
|
|
712
|
+
convertTo4x0x1: D,
|
|
713
|
+
convertTo5x0x0: M,
|
|
714
|
+
convertTo7x0x0: I,
|
|
715
|
+
convertTo7x6x0: W,
|
|
716
|
+
convertTo8x0x1: q,
|
|
717
|
+
convertTo9x3x0: N,
|
|
718
|
+
convertTo10x0x0: R,
|
|
719
|
+
convertTo11x0x0: E,
|
|
720
|
+
convertTo12x0x0: V,
|
|
721
|
+
convertTo15x0x0: G,
|
|
722
|
+
convertTo16x1x0: _,
|
|
723
|
+
convertTo16x1x1: j,
|
|
724
|
+
convertTo19x0x0: z,
|
|
725
|
+
convertTo20x2x0: H,
|
|
726
|
+
convertTo21x1x0: $,
|
|
727
|
+
convertTo23x3x0: Y,
|
|
728
|
+
convertTo24x8x0: Q,
|
|
729
|
+
convertTo25x0x0: K,
|
|
730
|
+
convertTo25x1x0: X,
|
|
731
|
+
convertTo25x2x0: J,
|
|
732
|
+
convertTemporalBinningProps2: Ge,
|
|
733
|
+
transformPropsInHeatChart: _e,
|
|
734
|
+
applyConversions: ze,
|
|
735
|
+
convertDataSourceToILayer: ve,
|
|
736
|
+
applyDefaultFirstDayOfWeek: le,
|
|
737
|
+
convertWebChartNullCategoryProps: Ce
|
|
738
|
+
};
|
|
739
|
+
export {
|
|
740
|
+
Mt as chartConfigConverterPrivateFunctions,
|
|
741
|
+
Dt as convertChartSpec
|
|
742
|
+
};
|