@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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import {
|
|
2
|
+
import { d as e } from "./chart-object-literals.js";
|
|
3
3
|
const t = {
|
|
4
4
|
actionBar: "action-bar",
|
|
5
5
|
customActionTop: "custom-action-top",
|
|
@@ -93,16 +93,16 @@ export {
|
|
|
93
93
|
l as B,
|
|
94
94
|
o as C,
|
|
95
95
|
r as F,
|
|
96
|
-
|
|
96
|
+
n as H,
|
|
97
97
|
s as L,
|
|
98
98
|
d as P,
|
|
99
|
-
|
|
99
|
+
t as S,
|
|
100
100
|
u as W,
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
101
|
+
F as a,
|
|
102
|
+
g as b,
|
|
103
|
+
y as c,
|
|
104
|
+
c as d,
|
|
105
|
+
i as e,
|
|
106
|
+
m as f,
|
|
107
107
|
p as g
|
|
108
108
|
};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { m as
|
|
6
|
-
import { M as
|
|
2
|
+
import { a as d } from "./chart-object-literals.js";
|
|
3
|
+
import { av as m, Y as l, g as S, r as c } from "./index3.js";
|
|
4
|
+
import { r as a } from "./index.js";
|
|
5
|
+
import { m as g } from "./model-setter.js";
|
|
6
|
+
import { M as y } from "./model-with-line-marker-styling.js";
|
|
7
7
|
import { s as u, a as p, b, c as I, d as v, W as _ } from "./negative-values-stacked-to-baseline.js";
|
|
8
|
-
import { S as C, s as
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
var
|
|
12
|
-
for (var i =
|
|
13
|
-
(
|
|
14
|
-
return i &&
|
|
8
|
+
import { S as C, s as M, a as k } from "./serial-chart-model.js";
|
|
9
|
+
import { h as f } from "./serial-chart-data.js";
|
|
10
|
+
import { f as x } from "./utils.js";
|
|
11
|
+
var L = Object.defineProperty, D = Object.getOwnPropertyDescriptor, w = (o, e, s, t) => {
|
|
12
|
+
for (var i = D(e, s), r = o.length - 1, n; r >= 0; r--)
|
|
13
|
+
(n = o[r]) && (i = n(e, s, i) || i);
|
|
14
|
+
return i && L(e, s, i), i;
|
|
15
15
|
};
|
|
16
16
|
class h extends C {
|
|
17
17
|
constructor() {
|
|
18
|
-
super(...arguments), this._chartType =
|
|
18
|
+
super(...arguments), this._chartType = d.LineSeries;
|
|
19
19
|
}
|
|
20
20
|
async setup(e) {
|
|
21
|
-
await this.loadConfigFromLayer(e), this.setupLocalProps(), e.config !== void 0 && this.
|
|
21
|
+
await this.loadConfigFromLayer(e), this.setupLocalProps(), e.config !== void 0 && await this.rebuildSeries(), this.initDefaultSeries(), typeof this.resolveSetup == "function" && this.resolveSetup();
|
|
22
22
|
}
|
|
23
23
|
// #end region
|
|
24
24
|
// ---------------------------------------------------------------------------------------------
|
|
@@ -26,9 +26,9 @@ class h extends C {
|
|
|
26
26
|
// ---------------------------------------------------------------------------------------------
|
|
27
27
|
/** @private */
|
|
28
28
|
generateDefaultConfig() {
|
|
29
|
-
const e =
|
|
29
|
+
const e = m(this.commonStrings);
|
|
30
30
|
return e.series = [
|
|
31
|
-
|
|
31
|
+
l({
|
|
32
32
|
commonStrings: this.commonStrings,
|
|
33
33
|
objectIDField: a(this.layerInfo.layer).idField
|
|
34
34
|
})
|
|
@@ -39,27 +39,43 @@ class h extends C {
|
|
|
39
39
|
* @private
|
|
40
40
|
*/
|
|
41
41
|
initDefaultSeries() {
|
|
42
|
-
this.defaultSeries =
|
|
42
|
+
this.defaultSeries = l({
|
|
43
43
|
commonStrings: this.commonStrings,
|
|
44
44
|
objectIDField: a(this.layerInfo.layer).idField
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
47
|
resetSeriesStyling() {
|
|
48
48
|
for (let e = 0; e < this.seriesLength; e += 1) {
|
|
49
|
-
const s =
|
|
49
|
+
const s = S({
|
|
50
50
|
colorIndex: e,
|
|
51
51
|
opacity: c
|
|
52
52
|
});
|
|
53
|
-
if (
|
|
53
|
+
if (M(s, e, this._config), u(s, e, this._config), this.layerInfo !== void 0) {
|
|
54
54
|
const t = this.getSeriesId(e), i = f({
|
|
55
55
|
config: this._config,
|
|
56
56
|
seriesIndex: e,
|
|
57
57
|
layerInfo: this.layerInfo,
|
|
58
58
|
commonStrings: this.commonStrings
|
|
59
59
|
});
|
|
60
|
-
i !== a(this.layerInfo.layer).idField &&
|
|
60
|
+
i !== a(this.layerInfo.layer).idField && k(i ?? t, e, this._config);
|
|
61
61
|
}
|
|
62
|
-
p(
|
|
62
|
+
p({
|
|
63
|
+
style: this.defaultSeries?.lineSymbol?.style,
|
|
64
|
+
seriesIndex: e,
|
|
65
|
+
config: this._config
|
|
66
|
+
}), b({
|
|
67
|
+
width: this.defaultSeries?.lineSymbol?.width,
|
|
68
|
+
seriesIndex: e,
|
|
69
|
+
config: this._config
|
|
70
|
+
}), I({
|
|
71
|
+
style: this.defaultSeries?.markerSymbol?.style,
|
|
72
|
+
seriesIndex: e,
|
|
73
|
+
config: this._config
|
|
74
|
+
}), v({
|
|
75
|
+
size: this.defaultSeries?.markerSymbol?.size,
|
|
76
|
+
seriesIndex: e,
|
|
77
|
+
config: this._config
|
|
78
|
+
});
|
|
63
79
|
}
|
|
64
80
|
this._config.colorMatch = !0;
|
|
65
81
|
}
|
|
@@ -88,11 +104,11 @@ class h extends C {
|
|
|
88
104
|
return e || s;
|
|
89
105
|
}
|
|
90
106
|
}
|
|
91
|
-
|
|
92
|
-
|
|
107
|
+
w([
|
|
108
|
+
g
|
|
93
109
|
], h.prototype, "resetSeriesStyling");
|
|
94
|
-
const
|
|
95
|
-
|
|
110
|
+
const F = [_, y];
|
|
111
|
+
x(h, F);
|
|
96
112
|
export {
|
|
97
113
|
h as LineChartModel
|
|
98
114
|
};
|
|
@@ -1,49 +1,28 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { fetchT9nStringsBundle as
|
|
3
|
-
import { g } from "
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import "
|
|
8
|
-
import "
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
17
|
-
import "@arcgis/core/time/TimeExtent.js";
|
|
18
|
-
import "./index3.js";
|
|
19
|
-
import "@arcgis/core/Graphic.js";
|
|
20
|
-
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
21
|
-
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
22
|
-
import "@esri/arcgis-html-sanitizer";
|
|
23
|
-
import "@arcgis/core/core/promiseUtils.js";
|
|
24
|
-
import "@arcgis/core/request.js";
|
|
25
|
-
import "@arcgis/core/geometry/Point.js";
|
|
26
|
-
import "@arcgis/core/applications/Components/imageryUtils.js";
|
|
27
|
-
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
28
|
-
import "@arcgis/core/layers/support/CodedValueDomain.js";
|
|
29
|
-
import "@arcgis/core/intl.js";
|
|
30
|
-
import "@arcgis/toolkit/dom";
|
|
31
|
-
import "simple-statistics";
|
|
32
|
-
import "@arcgis/core/core/sql.js";
|
|
33
|
-
import "@arcgis/core/geometry/Extent.js";
|
|
34
|
-
import "@arcgis/toolkit/type";
|
|
35
|
-
import "./class-breaks.js";
|
|
36
|
-
class $ extends EventTarget {
|
|
2
|
+
import { fetchT9nStringsBundle as f } from "@arcgis/toolkit/intl";
|
|
3
|
+
import { getElementLocale as g } from "@arcgis/toolkit/intl/dom";
|
|
4
|
+
import { g as l } from "./runtime.js";
|
|
5
|
+
import { convertChartSpec as m } from "../utils/chart-config/converter/index.js";
|
|
6
|
+
import { a6 as y } from "./index3.js";
|
|
7
|
+
import { bD as o, b9 as p, t as u, r as _ } from "./index.js";
|
|
8
|
+
import { cloneDeep as C } from "lodash-es";
|
|
9
|
+
const h = 30;
|
|
10
|
+
function U(r, e, t, i) {
|
|
11
|
+
const s = h - 1, n = Math.max(r - s, 0);
|
|
12
|
+
if (i === void 0 && (i = r - 1), !(i < n || i > r))
|
|
13
|
+
return i === r ? e : t[i - n];
|
|
14
|
+
}
|
|
15
|
+
class A extends EventTarget {
|
|
37
16
|
/**
|
|
38
17
|
* @param args
|
|
39
18
|
* @privateRemarks This "any" constructor is needed for TypeScript to merge
|
|
40
19
|
* the base class and mixin classes types together smoothly.
|
|
41
20
|
*/
|
|
42
|
-
constructor(...
|
|
43
|
-
super(), this.dirtyAsyncSetters = [], this.asyncConfigUpdateInProgress = !1, this.pendingUpdates = 0, this.dataStore = {}, this.asyncUpdatesPromise = new Promise((t) => {
|
|
21
|
+
constructor(...e) {
|
|
22
|
+
super(), this.dirtyAsyncSetters = [], this.asyncConfigUpdateInProgress = !1, this.pendingUpdates = 0, this._revision = 0, this._configHistory = [void 0], this.dataStore = {}, this.asyncUpdatesPromise = new Promise((t) => {
|
|
44
23
|
this.resolveSetup = t;
|
|
45
24
|
}), this.emitConfigUpdate = (t) => {
|
|
46
|
-
this.dispatchEvent(
|
|
25
|
+
this._revision += 1, this._configHistory.push(C(this._config)), this._configHistory.length > h && this._configHistory.shift(), this.dispatchEvent(
|
|
47
26
|
new CustomEvent("arcgisChartsModelConfigChange", {
|
|
48
27
|
detail: { config: this._config, setterName: t }
|
|
49
28
|
})
|
|
@@ -58,14 +37,28 @@ class $ extends EventTarget {
|
|
|
58
37
|
get chartType() {
|
|
59
38
|
return this._chartType;
|
|
60
39
|
}
|
|
40
|
+
/**
|
|
41
|
+
* The current revision number of the chart configuration. Increments with each update.
|
|
42
|
+
*/
|
|
43
|
+
get revision() {
|
|
44
|
+
return this._revision;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Recalls a previous chart configuration based on its revision number. Returns `undefined` if the requested revision is not available (beyond the stored history limit).
|
|
48
|
+
*
|
|
49
|
+
* If no `configRevision` number is provided, it recalls the last configuration just before the current one.
|
|
50
|
+
*/
|
|
51
|
+
recall(e) {
|
|
52
|
+
return U(this._revision, this._config, this._configHistory, e);
|
|
53
|
+
}
|
|
61
54
|
/**
|
|
62
55
|
* Checks if the current chart model is for the same chart as another chart model.
|
|
63
56
|
*
|
|
64
57
|
* @param otherModel - The other chart model to compare to.
|
|
65
58
|
*/
|
|
66
|
-
isSameChartAs(
|
|
67
|
-
const t =
|
|
68
|
-
return t !== void 0 && this._config.id ===
|
|
59
|
+
isSameChartAs(e) {
|
|
60
|
+
const t = e?.layer;
|
|
61
|
+
return t !== void 0 && this._config.id === e?.chartId && this.layerInfo?.layer.id === t.id;
|
|
69
62
|
}
|
|
70
63
|
/**
|
|
71
64
|
* Can be awaited to allow any pending async updates to complete.
|
|
@@ -83,32 +76,32 @@ class $ extends EventTarget {
|
|
|
83
76
|
* @param params.commonStrings - The t9n common strings
|
|
84
77
|
* @private
|
|
85
78
|
*/
|
|
86
|
-
async loadConfigFromLayer(
|
|
87
|
-
const { layer: t, iLayer:
|
|
88
|
-
this.commonStrings =
|
|
89
|
-
|
|
90
|
-
|
|
79
|
+
async loadConfigFromLayer(e) {
|
|
80
|
+
const { layer: t, iLayer: i, config: s, commonStrings: n } = e;
|
|
81
|
+
this.commonStrings = n ?? await f(
|
|
82
|
+
g(document.documentElement).t9nLocale,
|
|
83
|
+
l("./assets/common/t9n"),
|
|
91
84
|
"messages."
|
|
92
85
|
);
|
|
93
|
-
let
|
|
94
|
-
if (!
|
|
95
|
-
await
|
|
96
|
-
const
|
|
86
|
+
let a = t;
|
|
87
|
+
if (!a && i ? a = await o(i) : !a && s?.iLayer && (a = await o(s.iLayer)), a) {
|
|
88
|
+
await p(a);
|
|
89
|
+
const d = u(a, !0), c = _(a).idField;
|
|
97
90
|
this.layerInfo = {
|
|
98
|
-
layer:
|
|
99
|
-
layerFieldsInfo:
|
|
100
|
-
objectIdField:
|
|
91
|
+
layer: a,
|
|
92
|
+
layerFieldsInfo: d,
|
|
93
|
+
objectIdField: c
|
|
101
94
|
};
|
|
102
95
|
}
|
|
103
|
-
this._config =
|
|
96
|
+
this._config = s ? await m(s) : this.generateDefaultConfig(), this._config.legend !== void 0 && this._config.legend?.title === void 0 && (this._config.legend.title = y().title), i && (this._config.iLayer = i);
|
|
104
97
|
}
|
|
105
98
|
/**
|
|
106
99
|
* Manually block the async guard to queue up config updates until unblocked.
|
|
107
100
|
* @private
|
|
108
101
|
*/
|
|
109
102
|
startAsyncUpdate() {
|
|
110
|
-
this.pendingUpdates === 0 && (this.asyncConfigUpdateInProgress = !0, this.asyncUpdatesPromise = new Promise((
|
|
111
|
-
this.resolveSetup =
|
|
103
|
+
this.pendingUpdates === 0 && (this.asyncConfigUpdateInProgress = !0, this.asyncUpdatesPromise = new Promise((e) => {
|
|
104
|
+
this.resolveSetup = e;
|
|
112
105
|
})), this.pendingUpdates += 1;
|
|
113
106
|
}
|
|
114
107
|
/**
|
|
@@ -120,19 +113,21 @@ class $ extends EventTarget {
|
|
|
120
113
|
}
|
|
121
114
|
// #endregion
|
|
122
115
|
}
|
|
123
|
-
function
|
|
124
|
-
const
|
|
125
|
-
return
|
|
116
|
+
function x(r, e, t) {
|
|
117
|
+
const i = t.set, s = t.value;
|
|
118
|
+
return i && (t.set = function(n) {
|
|
126
119
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
127
|
-
|
|
120
|
+
i.call(this, n), this.emitConfigUpdate(e);
|
|
128
121
|
});
|
|
129
|
-
}),
|
|
122
|
+
}), s && (t.value = function(...n) {
|
|
130
123
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
131
|
-
|
|
124
|
+
s.apply(this, n), this.emitConfigUpdate(e);
|
|
132
125
|
});
|
|
133
126
|
}), t;
|
|
134
127
|
}
|
|
135
128
|
export {
|
|
136
|
-
|
|
137
|
-
|
|
129
|
+
A as C,
|
|
130
|
+
h as M,
|
|
131
|
+
x as m,
|
|
132
|
+
U as r
|
|
138
133
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { M as e } from "./common.js";
|
|
3
3
|
import { g as i } from "./series-types.js";
|
|
4
|
-
import {
|
|
4
|
+
import { a as r } from "./chart-object-literals.js";
|
|
5
5
|
function o(t) {
|
|
6
6
|
switch (t) {
|
|
7
7
|
case r.BarSeries:
|
|
@@ -1,24 +1,28 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { C as
|
|
3
|
-
import { s as
|
|
4
|
-
import { g as
|
|
5
|
-
import { m as
|
|
6
|
-
var O = Object.defineProperty, P = Object.getOwnPropertyDescriptor, r = (n, e,
|
|
7
|
-
for (var o = P(e,
|
|
8
|
-
(g = n[a]) && (o = g(e,
|
|
9
|
-
return o && O(e,
|
|
2
|
+
import { C as c } from "./chart-model.js";
|
|
3
|
+
import { s as f } from "./serial-chart-model.js";
|
|
4
|
+
import { g as S, a as h, e as p, b as _, f as M, s as k, h as y, c as L, i as C, d as b, j as d, k as m, l as u, m as V, n as A, o as l, p as v, q as W, r as z } from "./negative-values-stacked-to-baseline.js";
|
|
5
|
+
import { m as t } from "./model-setter.js";
|
|
6
|
+
var O = Object.defineProperty, P = Object.getOwnPropertyDescriptor, r = (n, e, i, j) => {
|
|
7
|
+
for (var o = P(e, i), a = n.length - 1, g; a >= 0; a--)
|
|
8
|
+
(g = n[a]) && (o = g(e, i, o) || o);
|
|
9
|
+
return o && O(e, i, o), o;
|
|
10
10
|
};
|
|
11
|
-
class s extends
|
|
11
|
+
class s extends c {
|
|
12
12
|
/**
|
|
13
13
|
* Gets the line style of the series based on the series index. If the index is out of bounds, it will return `undefined`.
|
|
14
14
|
*
|
|
15
15
|
* @param seriesIndex - The index of the series.
|
|
16
16
|
*/
|
|
17
17
|
getSeriesLineStyle(e) {
|
|
18
|
-
return
|
|
18
|
+
return S(e, this._config);
|
|
19
19
|
}
|
|
20
|
-
setSeriesLineStyle(e,
|
|
21
|
-
h(
|
|
20
|
+
setSeriesLineStyle(e, i) {
|
|
21
|
+
h({
|
|
22
|
+
style: e,
|
|
23
|
+
seriesIndex: i,
|
|
24
|
+
config: this._config
|
|
25
|
+
});
|
|
22
26
|
}
|
|
23
27
|
/**
|
|
24
28
|
* Gets the line width of the series based on the series index. If the index is out of bounds, it will return `undefined`.
|
|
@@ -28,8 +32,12 @@ class s extends S {
|
|
|
28
32
|
getSeriesLineWidth(e) {
|
|
29
33
|
return p(e, this._config);
|
|
30
34
|
}
|
|
31
|
-
setSeriesLineWidth(e,
|
|
32
|
-
_(
|
|
35
|
+
setSeriesLineWidth(e, i) {
|
|
36
|
+
_({
|
|
37
|
+
width: e,
|
|
38
|
+
seriesIndex: i,
|
|
39
|
+
config: this._config
|
|
40
|
+
});
|
|
33
41
|
}
|
|
34
42
|
/**
|
|
35
43
|
* Gets the marker color of the series based on the series index. If the index is out of bounds, it will return `undefined`.
|
|
@@ -40,8 +48,8 @@ class s extends S {
|
|
|
40
48
|
getSeriesMarkerColor(e) {
|
|
41
49
|
return M(e, this._config);
|
|
42
50
|
}
|
|
43
|
-
setSeriesMarkerColor(e,
|
|
44
|
-
k(e,
|
|
51
|
+
setSeriesMarkerColor(e, i) {
|
|
52
|
+
k(e, i, this._config);
|
|
45
53
|
}
|
|
46
54
|
/**
|
|
47
55
|
* Gets the marker style of the series based on the series index. If the index is out of bounds, it will return `undefined`.
|
|
@@ -51,8 +59,12 @@ class s extends S {
|
|
|
51
59
|
getSeriesMarkerStyle(e) {
|
|
52
60
|
return y(e, this._config);
|
|
53
61
|
}
|
|
54
|
-
setSeriesMarkerStyle(e,
|
|
55
|
-
L(
|
|
62
|
+
setSeriesMarkerStyle(e, i) {
|
|
63
|
+
L({
|
|
64
|
+
style: e,
|
|
65
|
+
seriesIndex: i,
|
|
66
|
+
config: this._config
|
|
67
|
+
});
|
|
56
68
|
}
|
|
57
69
|
/**
|
|
58
70
|
* Gets the marker size of the series based on the series index. If the index is out of bounds, it will return `undefined`.
|
|
@@ -62,8 +74,12 @@ class s extends S {
|
|
|
62
74
|
getSeriesMarkerSize(e) {
|
|
63
75
|
return C(e, this._config);
|
|
64
76
|
}
|
|
65
|
-
setSeriesMarkerSize(e,
|
|
66
|
-
|
|
77
|
+
setSeriesMarkerSize(e, i) {
|
|
78
|
+
b({
|
|
79
|
+
size: e,
|
|
80
|
+
seriesIndex: i,
|
|
81
|
+
config: this._config
|
|
82
|
+
});
|
|
67
83
|
}
|
|
68
84
|
/**
|
|
69
85
|
* Specify whether line segments of the series should be smoothed.
|
|
@@ -71,27 +87,27 @@ class s extends S {
|
|
|
71
87
|
* @param seriesIndex - The index of the series.
|
|
72
88
|
*/
|
|
73
89
|
isLineSmoothed(e) {
|
|
74
|
-
return
|
|
90
|
+
return d(e, this._config);
|
|
75
91
|
}
|
|
76
|
-
setLineSmoothed(e,
|
|
77
|
-
|
|
92
|
+
setLineSmoothed(e, i) {
|
|
93
|
+
m({
|
|
78
94
|
smoothed: e,
|
|
79
|
-
seriesIndex:
|
|
95
|
+
seriesIndex: i,
|
|
80
96
|
config: this._config
|
|
81
97
|
});
|
|
82
98
|
}
|
|
83
99
|
/**
|
|
84
|
-
*
|
|
100
|
+
* Get whether to connect the lines when there's a gap in the data.
|
|
85
101
|
*
|
|
86
102
|
* @param seriesIndex - The index of the series.
|
|
87
103
|
*/
|
|
88
104
|
getConnectLines(e) {
|
|
89
105
|
return u(e, this._config);
|
|
90
106
|
}
|
|
91
|
-
setConnectLines(e,
|
|
107
|
+
setConnectLines(e, i) {
|
|
92
108
|
V({
|
|
93
109
|
connect: e,
|
|
94
|
-
seriesIndex:
|
|
110
|
+
seriesIndex: i,
|
|
95
111
|
config: this._config
|
|
96
112
|
});
|
|
97
113
|
}
|
|
@@ -103,10 +119,10 @@ class s extends S {
|
|
|
103
119
|
isAreaVisible(e) {
|
|
104
120
|
return A(e, this._config);
|
|
105
121
|
}
|
|
106
|
-
setAreaVisible(e,
|
|
122
|
+
setAreaVisible(e, i) {
|
|
107
123
|
l({
|
|
108
124
|
visible: e,
|
|
109
|
-
seriesIndex:
|
|
125
|
+
seriesIndex: i,
|
|
110
126
|
config: this._config
|
|
111
127
|
});
|
|
112
128
|
}
|
|
@@ -118,59 +134,68 @@ class s extends S {
|
|
|
118
134
|
isMarkerVisible(e) {
|
|
119
135
|
return v(e, this._config);
|
|
120
136
|
}
|
|
121
|
-
|
|
137
|
+
setMarkersVisible(e, i) {
|
|
122
138
|
W({
|
|
123
139
|
visible: e,
|
|
124
|
-
seriesIndex:
|
|
140
|
+
seriesIndex: i,
|
|
125
141
|
config: this._config
|
|
126
142
|
});
|
|
127
143
|
}
|
|
128
144
|
/**
|
|
129
|
-
*
|
|
130
|
-
*
|
|
145
|
+
* Indicate whether to show or hide the markers/bullets of the line series.
|
|
146
|
+
*
|
|
147
|
+
* @param visible - `true` if the markers/bullets of the line series should be shown, `false` otherwise.
|
|
148
|
+
* @param seriesIndex - The index of the series.
|
|
149
|
+
* @deprecated since 5.2. Use {@link model/mixins/model-with-line-marker-styling#setMarkersVisible setMarkersVisible} instead. This method will be removed from `ModelWithLineMarkerStyling` in 6.0.
|
|
150
|
+
*/
|
|
151
|
+
setMarkerVisible(e, i) {
|
|
152
|
+
this.setMarkersVisible(e, i);
|
|
153
|
+
}
|
|
154
|
+
/**
|
|
155
|
+
* Get the color of the filled area.
|
|
131
156
|
*
|
|
132
157
|
* @param seriesIndex - The index of the series.
|
|
133
158
|
*/
|
|
134
159
|
getAreaColor(e) {
|
|
135
160
|
return z(e, this._config);
|
|
136
161
|
}
|
|
137
|
-
setAreaColor(e,
|
|
162
|
+
setAreaColor(e, i) {
|
|
138
163
|
l({
|
|
139
164
|
visible: !0,
|
|
140
|
-
seriesIndex:
|
|
165
|
+
seriesIndex: i,
|
|
141
166
|
config: this._config
|
|
142
|
-
}),
|
|
167
|
+
}), f(e, i, this._config);
|
|
143
168
|
}
|
|
144
169
|
}
|
|
145
170
|
r([
|
|
146
|
-
|
|
171
|
+
t
|
|
147
172
|
], s.prototype, "setSeriesLineStyle");
|
|
148
173
|
r([
|
|
149
|
-
|
|
174
|
+
t
|
|
150
175
|
], s.prototype, "setSeriesLineWidth");
|
|
151
176
|
r([
|
|
152
|
-
|
|
177
|
+
t
|
|
153
178
|
], s.prototype, "setSeriesMarkerColor");
|
|
154
179
|
r([
|
|
155
|
-
|
|
180
|
+
t
|
|
156
181
|
], s.prototype, "setSeriesMarkerStyle");
|
|
157
182
|
r([
|
|
158
|
-
|
|
183
|
+
t
|
|
159
184
|
], s.prototype, "setSeriesMarkerSize");
|
|
160
185
|
r([
|
|
161
|
-
|
|
186
|
+
t
|
|
162
187
|
], s.prototype, "setLineSmoothed");
|
|
163
188
|
r([
|
|
164
|
-
|
|
189
|
+
t
|
|
165
190
|
], s.prototype, "setConnectLines");
|
|
166
191
|
r([
|
|
167
|
-
|
|
192
|
+
t
|
|
168
193
|
], s.prototype, "setAreaVisible");
|
|
169
194
|
r([
|
|
170
|
-
|
|
171
|
-
], s.prototype, "
|
|
195
|
+
t
|
|
196
|
+
], s.prototype, "setMarkersVisible");
|
|
172
197
|
r([
|
|
173
|
-
|
|
198
|
+
t
|
|
174
199
|
], s.prototype, "setAreaColor");
|
|
175
200
|
export {
|
|
176
201
|
s as M
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { G as n } from "./common.js";
|
|
3
|
-
import {
|
|
4
|
-
import { M as a,
|
|
3
|
+
import { f as u } from "./utils.js";
|
|
4
|
+
import { M as a, b as l, d as G } from "./x-bounds.js";
|
|
5
5
|
import { m as p } from "./model-setter.js";
|
|
6
|
-
var m = Object.defineProperty, c = Object.getOwnPropertyDescriptor,
|
|
6
|
+
var m = Object.defineProperty, c = Object.getOwnPropertyDescriptor, f = (o, e, t, h) => {
|
|
7
7
|
for (var i = c(e, t), s = o.length - 1, r; s >= 0; s--)
|
|
8
8
|
(r = o[s]) && (i = r(e, t, i) || i);
|
|
9
9
|
return i && m(e, t, i), i;
|
|
@@ -36,14 +36,14 @@ class d extends a {
|
|
|
36
36
|
});
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
|
-
|
|
39
|
+
f([
|
|
40
40
|
p
|
|
41
41
|
], d.prototype, "addXAxisGuide");
|
|
42
|
-
|
|
42
|
+
f([
|
|
43
43
|
p
|
|
44
44
|
], d.prototype, "deleteXAxisGuide");
|
|
45
45
|
const g = [a];
|
|
46
|
-
|
|
46
|
+
u(d, g);
|
|
47
47
|
export {
|
|
48
48
|
d as M
|
|
49
49
|
};
|