@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.
Files changed (489) hide show
  1. package/LICENSE.md +4 -2
  2. package/README.md +2 -2
  3. package/dist/cdn/225VUGML.js +4 -0
  4. package/dist/cdn/22V4YZLT.js +2 -0
  5. package/dist/cdn/{YJ6TRXMU.js → 24MSASQQ.js} +1 -1
  6. package/dist/cdn/{4USHOYLT.js → 2BE3GYK4.js} +1 -1
  7. package/dist/cdn/{G6OHBBUT.js → 2INZEFXR.js} +1 -1
  8. package/dist/cdn/{I5VHQW7B.js → 2OAB6VMZ.js} +1 -1
  9. package/dist/cdn/2RSKVWTZ.js +2 -0
  10. package/dist/cdn/{NFDXH5B3.js → 2TNZTI5Q.js} +1 -1
  11. package/dist/cdn/{VY3KBD6N.js → 2YDNWOWT.js} +1 -1
  12. package/dist/cdn/{TSI3C3OV.js → 3DGX6WFJ.js} +1 -1
  13. package/dist/cdn/3NLKE6ZN.js +2 -0
  14. package/dist/cdn/{CODAXMWM.js → 3W64DBHG.js} +1 -1
  15. package/dist/cdn/3XSL5VPN.js +2 -0
  16. package/dist/cdn/{Y7HBWU3M.js → 3ZKNY2GI.js} +1 -1
  17. package/dist/cdn/42FKRE56.js +2 -0
  18. package/dist/cdn/42PLGMOG.js +2 -0
  19. package/dist/cdn/455LSMAU.js +2 -0
  20. package/dist/cdn/4A4EW5Z5.js +2 -0
  21. package/dist/cdn/4DR6JUR7.js +104 -0
  22. package/dist/cdn/{CHLE2QGU.js → 4DXGXATO.js} +1 -1
  23. package/dist/cdn/4U63XRSZ.js +2 -0
  24. package/dist/cdn/{O6SNP6QE.js → 4YKB2PME.js} +1 -1
  25. package/dist/cdn/{3V4HRXIT.js → 5BZCHVPD.js} +1 -1
  26. package/dist/cdn/{H2A5GZ55.js → 5D2QRMC6.js} +1 -1
  27. package/dist/cdn/5GDVKAX5.js +2 -0
  28. package/dist/cdn/5SYHQWPP.js +2 -0
  29. package/dist/cdn/{2X75KJPF.js → 5V2YHARQ.js} +1 -1
  30. package/dist/cdn/{7ILH7ZG2.js → 5VHWJWWP.js} +1 -1
  31. package/dist/cdn/{LUSFGRHV.js → 5WIR3JWC.js} +1 -1
  32. package/dist/cdn/62GSQDTE.js +2 -0
  33. package/dist/cdn/{VT4WJZN6.js → 64B7ILJI.js} +1 -1
  34. package/dist/cdn/{DIKQ7BPQ.js → 65WMT7WD.js} +1 -1
  35. package/dist/cdn/6DYDDJKB.js +2 -0
  36. package/dist/cdn/6H6SZO4Y.js +2 -0
  37. package/dist/cdn/{B4KT2HUE.js → 6MALKAJY.js} +1 -1
  38. package/dist/cdn/6VIPQGM6.js +2 -0
  39. package/dist/cdn/{7LYAWWOE.js → 6WKTHJQK.js} +1 -1
  40. package/dist/cdn/{II2ZPEUZ.js → 7C2LVFNV.js} +1 -1
  41. package/dist/cdn/{4Z23HWDH.js → 7COM5REK.js} +1 -1
  42. package/dist/cdn/7FPQDD3C.js +2 -0
  43. package/dist/cdn/7GTZX5NP.js +2 -0
  44. package/dist/cdn/7NGEMDYM.js +2 -0
  45. package/dist/cdn/7TM4LYGN.js +2 -0
  46. package/dist/cdn/{NHDVOYQ2.js → 7TTQNVC5.js} +1 -1
  47. package/dist/cdn/AA456L7Q.js +2 -0
  48. package/dist/cdn/{OA7FHTCA.js → AAHQPRYK.js} +1 -1
  49. package/dist/cdn/{OJ5X6I3H.js → ADI63OO7.js} +1 -1
  50. package/dist/cdn/AIQU35U3.js +2 -0
  51. package/dist/cdn/AMIDKZA2.js +2 -0
  52. package/dist/cdn/AOVXHBJK.js +2 -0
  53. package/dist/cdn/{SGOYJFLO.js → ATWR3DSK.js} +1 -1
  54. package/dist/cdn/AYCQHDDV.js +2 -0
  55. package/dist/cdn/AZYYQMCD.js +2 -0
  56. package/dist/cdn/{TXB2I2U5.js → B2SUC7VR.js} +1 -1
  57. package/dist/cdn/{UQPFMDJB.js → B46RQ2MZ.js} +1 -1
  58. package/dist/cdn/{TACQVUBU.js → BDEDEGCZ.js} +1 -1
  59. package/dist/cdn/{4JQ2RRLY.js → BK2QOEX2.js} +1 -1
  60. package/dist/cdn/{CNFBNAPJ.js → BK7DHYA7.js} +1 -1
  61. package/dist/cdn/BWLRC2U5.js +2 -0
  62. package/dist/cdn/BYSUABOV.js +2 -0
  63. package/dist/cdn/{WASEMNYV.js → CHBL4DXX.js} +1 -1
  64. package/dist/cdn/{I36OAVW3.js → CTMOMBBM.js} +1 -1
  65. package/dist/cdn/{ZFJFTDJF.js → CYGMXV56.js} +1 -1
  66. package/dist/cdn/D5DOFLCS.js +2 -0
  67. package/dist/cdn/{CUJHGXNK.js → DLMRATCW.js} +1 -1
  68. package/dist/cdn/{N3VOUI25.js → DWO7GMVE.js} +1 -1
  69. package/dist/cdn/E6E2KLJ2.js +2 -0
  70. package/dist/cdn/E6JK3JRJ.js +2 -0
  71. package/dist/cdn/EB4CM3YK.js +2 -0
  72. package/dist/cdn/EJW2UHAB.js +2 -0
  73. package/dist/cdn/{J5NHXQLA.js → EQZBQP5A.js} +1 -1
  74. package/dist/cdn/EWIMT2AS.js +2 -0
  75. package/dist/cdn/FBS4RBSA.js +2 -0
  76. package/dist/cdn/{75P3QRL4.js → FLUZSJXH.js} +1 -1
  77. package/dist/cdn/{UAZ34KDJ.js → FSEQQXRO.js} +1 -1
  78. package/dist/cdn/G3KO465U.js +4 -0
  79. package/dist/cdn/GVJ5WCQD.js +2 -0
  80. package/dist/cdn/H2ECCBL7.js +2 -0
  81. package/dist/cdn/H2R62NYZ.js +2 -0
  82. package/dist/cdn/{66KSEDOR.js → H7Z3QWIW.js} +1 -1
  83. package/dist/cdn/{ABIVSH72.js → HJSR7M2A.js} +1 -1
  84. package/dist/cdn/{RKN64EJQ.js → HUMEIOOQ.js} +1 -1
  85. package/dist/cdn/{N6OT5IBC.js → HZUBDLNR.js} +1 -1
  86. package/dist/cdn/{AZOBLYAP.js → I2BM5KSH.js} +1 -1
  87. package/dist/cdn/IBMPLHXH.js +2 -0
  88. package/dist/cdn/{JQKRGUBU.js → IDAOLPMA.js} +1 -1
  89. package/dist/cdn/{UT4TYXFO.js → IGOJGDYE.js} +1 -1
  90. package/dist/cdn/{4QQVKRJ5.js → IRIGTY65.js} +1 -1
  91. package/dist/cdn/JCCCT72R.js +2 -0
  92. package/dist/cdn/{AJBEE7WE.js → JMR2NH33.js} +1 -1
  93. package/dist/cdn/JSVAA6N4.js +2 -0
  94. package/dist/cdn/JVHMHWIM.js +2 -0
  95. package/dist/cdn/JZMYBU7B.js +2 -0
  96. package/dist/cdn/KKE5EKYC.js +2 -0
  97. package/dist/cdn/KODMEY56.js +2 -0
  98. package/dist/cdn/{D3CFPMAR.js → KOY5DWSR.js} +1 -1
  99. package/dist/cdn/KYESCAI2.js +2 -0
  100. package/dist/cdn/KYOCE6FA.js +2 -0
  101. package/dist/cdn/KZSCAJDG.js +2 -0
  102. package/dist/cdn/L5JZ5COY.js +2 -0
  103. package/dist/cdn/{AY6IOQ3H.js → LAEUROZM.js} +1 -1
  104. package/dist/cdn/LZ7SW2R3.js +2 -0
  105. package/dist/cdn/M4G6TGMS.js +2 -0
  106. package/dist/cdn/{LNF44ZGQ.js → MJVTTSEV.js} +1 -1
  107. package/dist/cdn/MMUAG4IX.js +2 -0
  108. package/dist/cdn/MQI4ZLAS.js +2 -0
  109. package/dist/cdn/{DD4QUBOF.js → N7VRRNQD.js} +1 -1
  110. package/dist/cdn/{RWEUTQWS.js → NJF5UIYM.js} +1 -1
  111. package/dist/cdn/{XG2KN6YJ.js → NKPZCF5U.js} +1 -1
  112. package/dist/cdn/{VE3GFNNM.js → NRXCKYYY.js} +1 -1
  113. package/dist/cdn/{4C6KWLWN.js → NWLNHFHJ.js} +1 -1
  114. package/dist/cdn/{4E7C5QPS.js → NWYSPTLF.js} +1 -1
  115. package/dist/cdn/O4DFT4N4.js +2 -0
  116. package/dist/cdn/{NAXNRCMZ.js → OD2NWPCL.js} +1 -1
  117. package/dist/cdn/OGH6DSQR.js +2 -0
  118. package/dist/cdn/{53FG76LL.js → OH3X6QIK.js} +1 -1
  119. package/dist/cdn/{4ZIZEJXS.js → OISERMTF.js} +1 -1
  120. package/dist/cdn/OIWZXO7H.js +2 -0
  121. package/dist/cdn/{ETOGNYFU.js → OKAZOAYZ.js} +1 -1
  122. package/dist/cdn/OKKEWHMB.js +2 -0
  123. package/dist/cdn/{XUERYUEG.js → OQFM5DBD.js} +1 -1
  124. package/dist/cdn/OURE3TA5.js +2 -0
  125. package/dist/cdn/{C5K6XOCR.js → P37JASN4.js} +1 -1
  126. package/dist/cdn/{KDJ5RVHA.js → P3AYFJRV.js} +1 -1
  127. package/dist/cdn/{244ZX2UP.js → P5I5RQTN.js} +1 -1
  128. package/dist/cdn/{RDTBZUT7.js → PAPE3NIS.js} +1 -1
  129. package/dist/cdn/{BJ7Q7LCT.js → PIZPF2BH.js} +1 -1
  130. package/dist/cdn/{XWKBJDZT.js → PMFGLOZL.js} +1 -1
  131. package/dist/cdn/PT2OG4W2.js +2 -0
  132. package/dist/cdn/PWJBGZPW.js +2 -0
  133. package/dist/cdn/Q366CY3F.js +45 -0
  134. package/dist/cdn/{OYHKUGS6.js → QHJSE3P3.js} +1 -1
  135. package/dist/cdn/{7UQHB6KY.js → QIG5H6WA.js} +1 -1
  136. package/dist/cdn/QKUFLZC3.js +2 -0
  137. package/dist/cdn/{XMPLEHTW.js → QKZK6MTN.js} +1 -1
  138. package/dist/cdn/QO2RH3XB.js +3 -0
  139. package/dist/cdn/QPX4FNCB.js +2 -0
  140. package/dist/cdn/{XIJ5VLER.js → QTAETIIH.js} +1 -1
  141. package/dist/cdn/QYRHZJH3.js +2 -0
  142. package/dist/cdn/{FLO3N6JD.js → QZIF3GED.js} +1 -1
  143. package/dist/cdn/RD7TKIQS.js +2 -0
  144. package/dist/cdn/RGIL6ZEZ.js +2 -0
  145. package/dist/cdn/RNGQEQRO.js +2 -0
  146. package/dist/cdn/RPUEIRTH.js +2 -0
  147. package/dist/cdn/{VFM2EV3M.js → S6CNTZIE.js} +1 -1
  148. package/dist/cdn/S6RBDFHP.js +2 -0
  149. package/dist/cdn/SIHW3QVG.js +2 -0
  150. package/dist/cdn/SS7GYFUD.js +2 -0
  151. package/dist/cdn/{DNTLH5RT.js → SSOL6PCL.js} +1 -1
  152. package/dist/cdn/SXT66JGI.js +2 -0
  153. package/dist/cdn/SZSTCHLY.js +2 -0
  154. package/dist/cdn/SZYIWW3C.js +2 -0
  155. package/dist/cdn/T75QDGXB.js +2 -0
  156. package/dist/cdn/{ZYOWZCR7.js → TB7JE5XK.js} +1 -1
  157. package/dist/cdn/{AK7X7SGI.js → TENIFMA5.js} +1 -1
  158. package/dist/cdn/{M4AQLWZU.js → TNUZFQGZ.js} +1 -1
  159. package/dist/cdn/{WMPWOPRZ.js → TRAVRA3M.js} +1 -1
  160. package/dist/cdn/{O2ERVMSN.js → U25H6VUE.js} +1 -1
  161. package/dist/cdn/UCHQXTEC.js +2 -0
  162. package/dist/cdn/{P5AO3V3M.js → UD724V36.js} +1 -1
  163. package/dist/cdn/ULQSD4KK.js +2 -0
  164. package/dist/cdn/{DSIFL2DF.js → UQSD6YZM.js} +1 -1
  165. package/dist/cdn/{Q7J7EKQW.js → UUVJGPFG.js} +1 -1
  166. package/dist/cdn/UVESG7TY.js +2 -0
  167. package/dist/cdn/{PH6UOHRS.js → V4NEFGS3.js} +1 -1
  168. package/dist/cdn/{NG2IHVZ4.js → V54RTUAV.js} +1 -1
  169. package/dist/cdn/{ZQDADGLQ.js → VLCUXTLC.js} +1 -1
  170. package/dist/cdn/VMHDTE3U.js +2 -0
  171. package/dist/cdn/VQMG3F5Z.js +2 -0
  172. package/dist/cdn/VQU2TVX7.js +3 -0
  173. package/dist/cdn/VWUW3HFU.js +2 -0
  174. package/dist/cdn/W66Q5TB6.js +2 -0
  175. package/dist/cdn/{5AOYADA3.js → WKRD4TIL.js} +1 -1
  176. package/dist/cdn/WMYNPECY.js +2 -0
  177. package/dist/cdn/WOGALV3T.js +2 -0
  178. package/dist/cdn/{6B7JCDQC.js → WTF2PFHV.js} +1 -1
  179. package/dist/cdn/WTMEWLUJ.js +2 -0
  180. package/dist/cdn/WTOK3YQI.js +2 -0
  181. package/dist/cdn/WVOXFKFO.js +2 -0
  182. package/dist/cdn/X2FMGJRP.js +2 -0
  183. package/dist/cdn/X733UM32.js +2 -0
  184. package/dist/cdn/XGWHDERD.js +2 -0
  185. package/dist/cdn/{2HGBRW4I.js → XOB6RSOR.js} +1 -1
  186. package/dist/cdn/{BXYNEUQY.js → YCQLYXH4.js} +1 -1
  187. package/dist/cdn/YFMHKHFE.js +2 -0
  188. package/dist/cdn/YHC6WRNQ.js +2 -0
  189. package/dist/cdn/ZDKUHFRX.js +2 -0
  190. package/dist/cdn/ZK72BJCQ.js +2 -0
  191. package/dist/cdn/{EUOPRFMU.js → ZLARROJV.js} +1 -1
  192. package/dist/cdn/{5ZGALYWZ.js → ZLCRTIQH.js} +1 -1
  193. package/dist/cdn/{TYUVXRBO.js → ZZHKDFTA.js} +1 -1
  194. package/dist/cdn/assets/charts-config-view-charts/t9n/messages.en.json +1 -1
  195. package/dist/cdn/assets/common/t9n/messages.en.json +1 -1
  196. package/dist/cdn/index.js +1 -1
  197. package/dist/cdn/main.css +1 -1
  198. package/dist/cdn/model/shared/setup-utils.js +2 -0
  199. package/dist/chart-rendering/common/data/utils/summarize-data/interfaces.d.ts +5 -1
  200. package/dist/chart-rendering/common/interfaces.d.ts +111 -73
  201. package/dist/chunks/{type-guards3.js → action-bar-utils.js} +38 -46
  202. package/dist/chunks/axis-lines-symbol.js +9 -9
  203. package/dist/chunks/bar-chart-model.js +49 -41
  204. package/dist/chunks/box-plot-data.js +291 -274
  205. package/dist/chunks/box-plot-model.js +143 -130
  206. package/dist/chunks/chart-model.js +194 -153
  207. package/dist/chunks/chart-object-literals.js +26 -25
  208. package/dist/chunks/chart-ui-utils.js +148 -66
  209. package/dist/chunks/chart-ui-utils2.js +68 -149
  210. package/dist/chunks/class-breaks.js +270 -238
  211. package/dist/chunks/combo-bar-line-chart-model.js +122 -101
  212. package/dist/chunks/data-labels-symbol.js +39 -24
  213. package/dist/chunks/data-labels-visibility.js +8 -8
  214. package/dist/chunks/data.js +70 -70
  215. package/dist/chunks/default.js +6 -6
  216. package/dist/chunks/gauge-model.js +71 -71
  217. package/dist/chunks/generate-x-axis-title.js +19 -19
  218. package/dist/chunks/heat-chart-model.js +98 -69
  219. package/dist/chunks/histogram-data.js +24 -24
  220. package/dist/chunks/histogram-model.js +11 -11
  221. package/dist/chunks/index.js +9353 -1079
  222. package/dist/chunks/index2.js +851 -8748
  223. package/dist/chunks/index3.js +1169 -846
  224. package/dist/chunks/index4.js +10969 -677
  225. package/dist/chunks/index5.js +62 -10794
  226. package/dist/chunks/interfaces.js +9 -9
  227. package/dist/chunks/line-chart-model.js +41 -25
  228. package/dist/chunks/model-setter.js +59 -64
  229. package/dist/chunks/model-types.js +1 -1
  230. package/dist/chunks/model-with-line-marker-styling.js +72 -47
  231. package/dist/chunks/model-with-x-guides.js +6 -6
  232. package/dist/chunks/model-with-y-guides.js +52 -67
  233. package/dist/chunks/negative-values-stacked-to-baseline.js +122 -71
  234. package/dist/chunks/pie-chart-data.js +175 -193
  235. package/dist/chunks/pie-chart-model.js +388 -320
  236. package/dist/chunks/radar-chart-model.js +413 -46
  237. package/dist/chunks/resource.js +1 -1
  238. package/dist/chunks/rest-js-object-literals.js +10 -10
  239. package/dist/chunks/rotated-state.js +2 -2
  240. package/dist/chunks/rounded-corners.js +90 -0
  241. package/dist/chunks/scatterplot-model.js +27 -27
  242. package/dist/chunks/serial-chart-data.js +887 -755
  243. package/dist/chunks/serial-chart-model.js +151 -129
  244. package/dist/chunks/series-length.js +18 -18
  245. package/dist/chunks/series-types.js +22 -18
  246. package/dist/chunks/series.js +3 -3
  247. package/dist/chunks/store.js +5 -5
  248. package/dist/chunks/type-guards.js +49 -23
  249. package/dist/chunks/type-guards2.js +61 -52
  250. package/dist/chunks/utils.js +99 -89
  251. package/dist/chunks/utils2.js +9 -9
  252. package/dist/chunks/web-component-utils.js +632 -492
  253. package/dist/chunks/x-bounds.js +98 -97
  254. package/dist/components/arcgis-chart/customElement.d.ts +791 -277
  255. package/dist/components/arcgis-chart/customElement.js +11155 -10958
  256. package/dist/components/arcgis-charts-action-bar/customElement.d.ts +12 -0
  257. package/dist/components/arcgis-charts-action-bar/customElement.js +40 -37
  258. package/dist/components/arcgis-charts-config-axis/customElement.js +70 -64
  259. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +39 -33
  260. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +30 -30
  261. package/dist/components/arcgis-charts-config-bar-chart-data/index.js +1 -1
  262. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +35 -37
  263. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +44 -43
  264. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +13 -15
  265. package/dist/components/arcgis-charts-config-box-plot/customElement.js +31 -39
  266. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +17 -17
  267. package/dist/components/arcgis-charts-config-box-plot-data/index.js +1 -1
  268. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +26 -28
  269. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +4 -4
  270. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +14 -17
  271. package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
  272. package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +18 -20
  273. package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
  274. package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
  275. package/dist/components/arcgis-charts-config-create-flow/customElement.js +243 -229
  276. package/dist/components/arcgis-charts-config-field-picker/customElement.js +30 -0
  277. package/dist/components/arcgis-charts-config-font-style/customElement.js +4 -4
  278. package/dist/components/arcgis-charts-config-format/customElement.js +94 -87
  279. package/dist/components/arcgis-charts-config-format-popover/customElement.js +8 -11
  280. package/dist/components/arcgis-charts-config-general/customElement.js +5 -5
  281. package/dist/components/arcgis-charts-config-guide/customElement.js +26 -27
  282. package/dist/components/arcgis-charts-config-guide-popover/customElement.js +10 -13
  283. package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
  284. package/dist/components/arcgis-charts-config-heat-chart/customElement.js +12 -13
  285. package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +66 -78
  286. package/dist/components/arcgis-charts-config-heat-chart-data/index.js +1 -1
  287. package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +58 -59
  288. package/dist/components/arcgis-charts-config-histogram/customElement.js +27 -23
  289. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +27 -27
  290. package/dist/components/arcgis-charts-config-histogram-data/index.js +1 -1
  291. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +35 -36
  292. package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
  293. package/dist/components/arcgis-charts-config-line-chart/customElement.js +5 -6
  294. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +19 -19
  295. package/dist/components/arcgis-charts-config-line-chart-data/index.js +1 -1
  296. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +42 -44
  297. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +8 -8
  298. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +7 -8
  299. package/dist/components/arcgis-charts-config-line-style/customElement.js +2 -2
  300. package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
  301. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +5 -6
  302. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +57 -64
  303. package/dist/components/arcgis-charts-config-pie-chart-data/index.js +1 -1
  304. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +56 -57
  305. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +66 -67
  306. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +7 -10
  307. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +27 -23
  308. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +80 -80
  309. package/dist/components/arcgis-charts-config-scatter-plot-data/index.js +1 -1
  310. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +18 -19
  311. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +9 -11
  312. package/dist/components/arcgis-charts-config-view-charts/customElement.js +57 -26
  313. package/dist/components/arcgis-charts-info-modal/customElement.js +7 -7
  314. package/dist/docs/api.json +1 -1
  315. package/dist/docs/docs.json +1 -1
  316. package/dist/docs/vscode.html-custom-data.json +1 -1
  317. package/dist/docs/web-types.json +1 -1
  318. package/dist/index.d.ts +70 -62
  319. package/dist/index.js +500 -471
  320. package/dist/interfaces.d.ts +57 -14
  321. package/dist/json-schema/index.d.ts +211 -6
  322. package/dist/loader.js +2 -2
  323. package/dist/model/bar-chart-model/bar-chart-model.d.ts +6 -4
  324. package/dist/model/box-plot-model/box-plot-model.d.ts +11 -5
  325. package/dist/model/chart-model/chart-model-base.d.ts +10 -0
  326. package/dist/model/chart-model/chart-model-wrapper.d.ts +24 -0
  327. package/dist/model/chart-model/chart-model.d.ts +2 -1
  328. package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +33 -21
  329. package/dist/model/heat-chart-model/heat-chart-model.d.ts +41 -8
  330. package/dist/model/interfaces/chart-interfaces.d.ts +2 -2
  331. package/dist/model/interfaces/common.d.ts +0 -2
  332. package/dist/model/mixins/model-with-guides.d.ts +1 -1
  333. package/dist/model/mixins/model-with-line-marker-styling.d.ts +28 -19
  334. package/dist/model/mixins/model-with-multi-axes.d.ts +62 -99
  335. package/dist/model/pie-chart-model/pie-chart-legend-model.d.ts +7 -55
  336. package/dist/model/pie-chart-model/pie-chart-model.d.ts +61 -2
  337. package/dist/model/properties/data-labels/data-labels-symbol.d.ts +26 -0
  338. package/dist/model/properties/data-tooltip-font-size.d.ts +20 -0
  339. package/dist/model/properties/rotated-state.d.ts +1 -1
  340. package/dist/model/properties/rounded-corners.d.ts +18 -0
  341. package/dist/model/radar-chart-model/radar-chart-model.d.ts +190 -0
  342. package/dist/model/serial-chart-model/serial-chart-model.d.ts +27 -1
  343. package/dist/model/shared/setup-utils.d.ts +3 -3
  344. package/dist/{model.js → model/shared/setup-utils.js} +12 -12
  345. package/dist/model/shared/type-guards.d.ts +38 -22
  346. package/dist/spec/chart-object-literals.d.ts +4 -3
  347. package/dist/spec/data-source.d.ts +17 -3
  348. package/dist/spec/rest-js-object-literals.d.ts +2 -2
  349. package/dist/spec/rest-js-types.d.ts +22 -8
  350. package/dist/spec/web-chart.d.ts +42 -6
  351. package/dist/types/lumina.d.ts +1 -1
  352. package/dist/types/preact.d.ts +1 -1
  353. package/dist/types/react.d.ts +1 -1
  354. package/dist/types/stencil.d.ts +3 -3
  355. package/dist/utils/chart-config/converter/index.js +742 -0
  356. package/dist/utils/chart-config/utils/index.d.ts +58 -9
  357. package/dist/utils/chart-config/validator/index.d.ts +2 -0
  358. package/dist/utils/chart-config/validator/interfaces.d.ts +4 -3
  359. package/dist/utils/components/interfaces.d.ts +2 -0
  360. package/dist/utils/cursor/interfaces.d.ts +21 -0
  361. package/dist/utils/data/categorical-data/index.d.ts +18 -2
  362. package/dist/utils/data/index.d.ts +28 -22
  363. package/dist/utils/data/interfaces.d.ts +4 -3
  364. package/dist/utils/defaults/index.d.ts +31 -6
  365. package/dist/utils/defaults/interfaces.d.ts +73 -4
  366. package/dist/utils/errors/index.d.ts +1 -1
  367. package/dist/utils/layer/index.d.ts +26 -8
  368. package/dist/utils/layer/inline-conversion/interfaces.d.ts +0 -2
  369. package/dist/utils/layer/interfaces.d.ts +0 -12
  370. package/dist/utils/layer/query-features/index.d.ts +8 -3
  371. package/dist/utils/layer/query-parser/index.d.ts +13 -9
  372. package/dist/utils/layer/utils/index.d.ts +22 -5
  373. package/dist/utils/localization/interfaces.d.ts +13 -1
  374. package/dist/utils/misc/index.d.ts +2 -3
  375. package/dist/utils/misc/interfaces.d.ts +1 -0
  376. package/dist/utils/type-guards/chart-types.d.ts +10 -0
  377. package/dist/utils/type-guards/series-types.d.ts +9 -2
  378. package/dist/utils/types/index.d.ts +1 -5
  379. package/package.json +10 -9
  380. package/dist/cdn/3FTJIVFE.js +0 -2
  381. package/dist/cdn/45JPWIBI.js +0 -2
  382. package/dist/cdn/45PJ5TQL.js +0 -2
  383. package/dist/cdn/47HHRDX4.js +0 -2
  384. package/dist/cdn/4OZZXXZF.js +0 -2
  385. package/dist/cdn/547RDEMV.js +0 -2
  386. package/dist/cdn/5HQ2CJEQ.js +0 -2
  387. package/dist/cdn/5MVNVHYG.js +0 -2
  388. package/dist/cdn/6JGLHOFY.js +0 -2
  389. package/dist/cdn/6LQYOBAL.js +0 -2
  390. package/dist/cdn/6PAONFHB.js +0 -2
  391. package/dist/cdn/6SRISPQN.js +0 -3
  392. package/dist/cdn/74JAZF7U.js +0 -2
  393. package/dist/cdn/7BEC5WZB.js +0 -2
  394. package/dist/cdn/7IV6GMF7.js +0 -2
  395. package/dist/cdn/7SNOZDAD.js +0 -2
  396. package/dist/cdn/7YBKGD3V.js +0 -2
  397. package/dist/cdn/A5GIBV5W.js +0 -2
  398. package/dist/cdn/AT2NWWBG.js +0 -2
  399. package/dist/cdn/ATIARKAU.js +0 -2
  400. package/dist/cdn/B7DM7VT6.js +0 -2
  401. package/dist/cdn/BBURKBKE.js +0 -2
  402. package/dist/cdn/BZCVDNC4.js +0 -102
  403. package/dist/cdn/CAJVNPHZ.js +0 -2
  404. package/dist/cdn/CHQDKVVQ.js +0 -4
  405. package/dist/cdn/CPPT5HUK.js +0 -58
  406. package/dist/cdn/CXQOEN77.js +0 -2
  407. package/dist/cdn/D23GGWFM.js +0 -2
  408. package/dist/cdn/DNMVB3A2.js +0 -2
  409. package/dist/cdn/DYC3Q36R.js +0 -2
  410. package/dist/cdn/EQVQRZHJ.js +0 -2
  411. package/dist/cdn/EXTKNE2L.js +0 -2
  412. package/dist/cdn/EZV7JSQJ.js +0 -2
  413. package/dist/cdn/F5Q73CFW.js +0 -2
  414. package/dist/cdn/FAQDMSUC.js +0 -2
  415. package/dist/cdn/FCXI523J.js +0 -2
  416. package/dist/cdn/FJPGZEGK.js +0 -2
  417. package/dist/cdn/FT2K3J7O.js +0 -2
  418. package/dist/cdn/GCSGY6GL.js +0 -2
  419. package/dist/cdn/GUH6CQE6.js +0 -2
  420. package/dist/cdn/GWQJXXP3.js +0 -2
  421. package/dist/cdn/H6NH46AS.js +0 -2
  422. package/dist/cdn/HJHMEVMB.js +0 -2
  423. package/dist/cdn/HUCSTT64.js +0 -2
  424. package/dist/cdn/HX4236ZL.js +0 -2
  425. package/dist/cdn/I2M6YAUU.js +0 -2
  426. package/dist/cdn/IWVS6SKP.js +0 -2
  427. package/dist/cdn/JILAM6NH.js +0 -2
  428. package/dist/cdn/JNNB2DIA.js +0 -2
  429. package/dist/cdn/KC6CFXB7.js +0 -2
  430. package/dist/cdn/KKWXEF5W.js +0 -2
  431. package/dist/cdn/KV4ZPVWQ.js +0 -2
  432. package/dist/cdn/LKY2A3U6.js +0 -2
  433. package/dist/cdn/M75ENKIU.js +0 -2
  434. package/dist/cdn/MHG42BA5.js +0 -2
  435. package/dist/cdn/MKQAQDRM.js +0 -2
  436. package/dist/cdn/MOMKSNIZ.js +0 -2
  437. package/dist/cdn/MRTKZZTF.js +0 -2
  438. package/dist/cdn/NS3THLCD.js +0 -2
  439. package/dist/cdn/NS7OCROO.js +0 -2
  440. package/dist/cdn/NZR4L5AA.js +0 -2
  441. package/dist/cdn/O4M33ZPK.js +0 -2
  442. package/dist/cdn/OVM5QF7Q.js +0 -2
  443. package/dist/cdn/OY6UOUYX.js +0 -2
  444. package/dist/cdn/P3RM2ACY.js +0 -2
  445. package/dist/cdn/P4HSSZRL.js +0 -2
  446. package/dist/cdn/P6SC5DD2.js +0 -2
  447. package/dist/cdn/P74SXC5B.js +0 -2
  448. package/dist/cdn/PAIRUVLU.js +0 -2
  449. package/dist/cdn/PEZCCXQ7.js +0 -2
  450. package/dist/cdn/PKMZ6N6M.js +0 -2
  451. package/dist/cdn/PTFRQF65.js +0 -2
  452. package/dist/cdn/PYKHO4QI.js +0 -2
  453. package/dist/cdn/RG3I5ORH.js +0 -2
  454. package/dist/cdn/RKKWMNWU.js +0 -2
  455. package/dist/cdn/S3BC57BJ.js +0 -4
  456. package/dist/cdn/S6PJHEJ7.js +0 -2
  457. package/dist/cdn/THTYR6IL.js +0 -2
  458. package/dist/cdn/TORIY3OE.js +0 -2
  459. package/dist/cdn/TTDZKISK.js +0 -2
  460. package/dist/cdn/TXSWWAOF.js +0 -2
  461. package/dist/cdn/TZ4GOE2Q.js +0 -2
  462. package/dist/cdn/U67P6YAZ.js +0 -2
  463. package/dist/cdn/UNUPCA4W.js +0 -2
  464. package/dist/cdn/URYNG6OA.js +0 -2
  465. package/dist/cdn/V2XJSJH4.js +0 -2
  466. package/dist/cdn/V76PIVCF.js +0 -2
  467. package/dist/cdn/V7MBHG4F.js +0 -2
  468. package/dist/cdn/VOTZAPI3.js +0 -2
  469. package/dist/cdn/W7X6L2OB.js +0 -127
  470. package/dist/cdn/X6WA2KXK.js +0 -2
  471. package/dist/cdn/XFZX5ULX.js +0 -2
  472. package/dist/cdn/XJFVSX2E.js +0 -2
  473. package/dist/cdn/XMQCH4QI.js +0 -2
  474. package/dist/cdn/Y3CXVO2M.js +0 -2
  475. package/dist/cdn/YIIPYKTL.js +0 -2
  476. package/dist/cdn/YKGZVYK2.js +0 -2
  477. package/dist/cdn/YVVQVAJZ.js +0 -2
  478. package/dist/cdn/YYK7SPXC.js +0 -2
  479. package/dist/cdn/YZQ54BRI.js +0 -2
  480. package/dist/cdn/Z7EBST4A.js +0 -3
  481. package/dist/cdn/ZFM5RGWD.js +0 -142
  482. package/dist/cdn/ZQCUJ7VE.js +0 -2
  483. package/dist/chunks/bar-chart-series.js +0 -15
  484. package/dist/chunks/index6.js +0 -103
  485. package/dist/chunks/index7.js +0 -66
  486. package/dist/chunks/time-zone.js +0 -38
  487. package/dist/components/arcgis-charts-config-field-select/customElement.js +0 -30
  488. /package/dist/cdn/{WVRBLV5L.js → 7NWEE7T2.js} +0 -0
  489. /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 { r as e } from "./chart-object-literals.js";
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
- c as H,
96
+ n as H,
97
97
  s as L,
98
98
  d as P,
99
- m as S,
99
+ t as S,
100
100
  u as W,
101
- g as a,
102
- n as b,
103
- t as c,
104
- F as d,
105
- y as e,
106
- i as f,
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 { u as m } from "./chart-object-literals.js";
3
- import { U as S, Y as n, am as d, aB as c } from "./index.js";
4
- import { an as a } from "./index2.js";
5
- import { m as y } from "./model-setter.js";
6
- import { M as g } from "./model-with-line-marker-styling.js";
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 L, a as M } from "./serial-chart-model.js";
9
- import { c as f } from "./serial-chart-data.js";
10
- import { a as k } from "./utils.js";
11
- var D = Object.defineProperty, F = Object.getOwnPropertyDescriptor, x = (o, e, s, t) => {
12
- for (var i = F(e, s), r = o.length - 1, l; r >= 0; r--)
13
- (l = o[r]) && (i = l(e, s, i) || i);
14
- return i && D(e, s, i), 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 = m.LineSeries;
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.updateSeriesFromLayerFilter(), this.initDefaultSeries(), typeof this.resolveSetup == "function" && this.resolveSetup();
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 = S(this.commonStrings);
29
+ const e = m(this.commonStrings);
30
30
  return e.series = [
31
- n({
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 = n({
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 = d({
49
+ const s = S({
50
50
  colorIndex: e,
51
51
  opacity: c
52
52
  });
53
- if (L(s, e, this._config), u(s, e, this._config), this.layerInfo !== void 0) {
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 && M(i ?? t, e, this._config);
60
+ i !== a(this.layerInfo.layer).idField && k(i ?? t, e, this._config);
61
61
  }
62
- p(this.defaultSeries?.lineSymbol?.style, e, this._config), b(this.defaultSeries?.lineSymbol?.width, e, this._config), I(this.defaultSeries?.markerSymbol?.style, e, this._config), v(this.defaultSeries?.markerSymbol?.size, e, this._config);
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
- x([
92
- y
107
+ w([
108
+ g
93
109
  ], h.prototype, "resetSeriesStyling");
94
- const N = [_, g];
95
- k(h, N);
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 d, getElementLocale as c } from "@arcgis/toolkit/intl";
3
- import { g } from "./runtime.js";
4
- import { a as h } from "./index4.js";
5
- import { S as f } from "./index.js";
6
- import { ac as o, bu as l, I as y, an as u } from "./index2.js";
7
- import "lodash-es";
8
- import "luxon";
9
- import "./chart-object-literals.js";
10
- import "@arcgis/core/layers/support/FeatureFilter.js";
11
- import "@arcgis/core/smartMapping/statistics/histogram.js";
12
- import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
13
- import "@arcgis/core/geometry/support/jsonUtils.js";
14
- import "@arcgis/core/rest/support/AttributeBinsQuery.js";
15
- import "@arcgis/core/rest/support/Query.js";
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(...i) {
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(i) {
67
- const t = i?.layer;
68
- return t !== void 0 && this._config.id === i?.chartId && this.layerInfo?.layer.id === t.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(i) {
87
- const { layer: t, iLayer: s, config: a, commonStrings: r } = i;
88
- this.commonStrings = r ?? await d(
89
- c(document.documentElement).t9nLocale,
90
- g("./assets/common/t9n"),
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 e = t;
94
- if (!e && s ? e = await o(s) : !e && a?.iLayer && (e = await o(a.iLayer)), e) {
95
- await l(e);
96
- const m = y(e, !0), p = u(e).idField;
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: e,
99
- layerFieldsInfo: m,
100
- objectIdField: p
91
+ layer: a,
92
+ layerFieldsInfo: d,
93
+ objectIdField: c
101
94
  };
102
95
  }
103
- this._config = a ? await h(a) : this.generateDefaultConfig(), this._config.legend !== void 0 && this._config.legend?.title === void 0 && (this._config.legend.title = f().title), s && (this._config.iLayer = s);
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((i) => {
111
- this.resolveSetup = i;
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 K(n, i, t) {
124
- const s = t.set, a = t.value;
125
- return s && (t.set = function(r) {
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
- s.call(this, r), this.emitConfigUpdate(i);
120
+ i.call(this, n), this.emitConfigUpdate(e);
128
121
  });
129
- }), a && (t.value = function(...r) {
122
+ }), s && (t.value = function(...n) {
130
123
  this.guardSetterFromAsyncOverwrite(() => {
131
- a.apply(this, r), this.emitConfigUpdate(i);
124
+ s.apply(this, n), this.emitConfigUpdate(e);
132
125
  });
133
126
  }), t;
134
127
  }
135
128
  export {
136
- $ as C,
137
- K as m
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 { u as r } from "./chart-object-literals.js";
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 S } from "./chart-model.js";
3
- import { s as c } from "./serial-chart-model.js";
4
- import { g as f, a as h, e as p, b as _, f as M, s as k, h as y, c as L, i as C, d, j as m, k as b, 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 i } from "./model-setter.js";
6
- var O = Object.defineProperty, P = Object.getOwnPropertyDescriptor, r = (n, e, t, j) => {
7
- for (var o = P(e, t), a = n.length - 1, g; a >= 0; a--)
8
- (g = n[a]) && (o = g(e, t, o) || o);
9
- return o && O(e, t, o), o;
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 S {
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 f(e, this._config);
18
+ return S(e, this._config);
19
19
  }
20
- setSeriesLineStyle(e, t) {
21
- h(e, t, this._config);
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, t) {
32
- _(e, t, this._config);
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, t) {
44
- k(e, t, this._config);
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, t) {
55
- L(e, t, this._config);
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, t) {
66
- d(e, t, this._config);
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 m(e, this._config);
90
+ return d(e, this._config);
75
91
  }
76
- setLineSmoothed(e, t) {
77
- b({
92
+ setLineSmoothed(e, i) {
93
+ m({
78
94
  smoothed: e,
79
- seriesIndex: t,
95
+ seriesIndex: i,
80
96
  config: this._config
81
97
  });
82
98
  }
83
99
  /**
84
- * Specify the color of the filled area for line chart.
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, t) {
107
+ setConnectLines(e, i) {
92
108
  V({
93
109
  connect: e,
94
- seriesIndex: t,
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, t) {
122
+ setAreaVisible(e, i) {
107
123
  l({
108
124
  visible: e,
109
- seriesIndex: t,
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
- setMarkerVisible(e, t) {
137
+ setMarkersVisible(e, i) {
122
138
  W({
123
139
  visible: e,
124
- seriesIndex: t,
140
+ seriesIndex: i,
125
141
  config: this._config
126
142
  });
127
143
  }
128
144
  /**
129
- * Specify the color of the filled area for line chart.
130
- * **Note:** `areaColor` will be applied only if `showArea` is true, and is defaulted to the line color if not provided.
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, t) {
162
+ setAreaColor(e, i) {
138
163
  l({
139
164
  visible: !0,
140
- seriesIndex: t,
165
+ seriesIndex: i,
141
166
  config: this._config
142
- }), c(e, t, this._config);
167
+ }), f(e, i, this._config);
143
168
  }
144
169
  }
145
170
  r([
146
- i
171
+ t
147
172
  ], s.prototype, "setSeriesLineStyle");
148
173
  r([
149
- i
174
+ t
150
175
  ], s.prototype, "setSeriesLineWidth");
151
176
  r([
152
- i
177
+ t
153
178
  ], s.prototype, "setSeriesMarkerColor");
154
179
  r([
155
- i
180
+ t
156
181
  ], s.prototype, "setSeriesMarkerStyle");
157
182
  r([
158
- i
183
+ t
159
184
  ], s.prototype, "setSeriesMarkerSize");
160
185
  r([
161
- i
186
+ t
162
187
  ], s.prototype, "setLineSmoothed");
163
188
  r([
164
- i
189
+ t
165
190
  ], s.prototype, "setConnectLines");
166
191
  r([
167
- i
192
+ t
168
193
  ], s.prototype, "setAreaVisible");
169
194
  r([
170
- i
171
- ], s.prototype, "setMarkerVisible");
195
+ t
196
+ ], s.prototype, "setMarkersVisible");
172
197
  r([
173
- i
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 { a as f } from "./utils.js";
4
- import { M as a, a as l, d as G } from "./x-bounds.js";
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, u = (o, e, t, h) => {
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
- u([
39
+ f([
40
40
  p
41
41
  ], d.prototype, "addXAxisGuide");
42
- u([
42
+ f([
43
43
  p
44
44
  ], d.prototype, "deleteXAxisGuide");
45
45
  const g = [a];
46
- f(d, g);
46
+ u(d, g);
47
47
  export {
48
48
  d as M
49
49
  };