@arcgis/charts-components 5.2.0-next.11 → 5.2.0-next.111

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 (473) hide show
  1. package/LICENSE.md +4 -2
  2. package/README.md +2 -2
  3. package/dist/cdn/{7YXTWBT4.js → 225VUGML.js} +3 -3
  4. package/dist/cdn/{SERX6V5M.js → 22DIZM2P.js} +1 -1
  5. package/dist/cdn/{YJ6TRXMU.js → 24MSASQQ.js} +1 -1
  6. package/dist/cdn/{4USHOYLT.js → 2BE3GYK4.js} +1 -1
  7. package/dist/cdn/{N5ZUO6F3.js → 2O2ZA6UO.js} +1 -1
  8. package/dist/cdn/2PWEWSG6.js +2 -0
  9. package/dist/cdn/{VY3KBD6N.js → 2YDNWOWT.js} +1 -1
  10. package/dist/cdn/3A6N7WAM.js +2 -0
  11. package/dist/cdn/3CIO2C6J.js +2 -0
  12. package/dist/cdn/3ECXJYBU.js +2 -0
  13. package/dist/cdn/3NXCG3O2.js +2 -0
  14. package/dist/cdn/3S6ZGK3H.js +2 -0
  15. package/dist/cdn/{CHLE2QGU.js → 4DXGXATO.js} +1 -1
  16. package/dist/cdn/{TFPQDMER.js → 4MZSVX5W.js} +1 -1
  17. package/dist/cdn/4NIKYLE5.js +2 -0
  18. package/dist/cdn/56242OEE.js +2 -0
  19. package/dist/cdn/{H2A5GZ55.js → 5D2QRMC6.js} +1 -1
  20. package/dist/cdn/5HJSLXLN.js +2 -0
  21. package/dist/cdn/{UYXCGSXU.js → 5KJE3IGJ.js} +1 -1
  22. package/dist/cdn/{H3EXGCE7.js → 5N2TLPKQ.js} +1 -1
  23. package/dist/cdn/5O2Y7SWC.js +2 -0
  24. package/dist/cdn/5QBKM6NC.js +2 -0
  25. package/dist/cdn/5SXFY4KT.js +2 -0
  26. package/dist/cdn/5SYHQWPP.js +2 -0
  27. package/dist/cdn/{LUSFGRHV.js → 5WIR3JWC.js} +1 -1
  28. package/dist/cdn/62GSQDTE.js +2 -0
  29. package/dist/cdn/{VT4WJZN6.js → 64B7ILJI.js} +1 -1
  30. package/dist/cdn/{ZBIVDGNH.js → 6JQTSYII.js} +1 -1
  31. package/dist/cdn/{I6UPUSLQ.js → 6M2ZNCH6.js} +1 -1
  32. package/dist/cdn/{XY4TRZCG.js → 6OBSUHMH.js} +1 -1
  33. package/dist/cdn/{7LYAWWOE.js → 6WKTHJQK.js} +1 -1
  34. package/dist/cdn/724I3SBO.js +2 -0
  35. package/dist/cdn/73R5I52R.js +2 -0
  36. package/dist/cdn/{II2ZPEUZ.js → 7C2LVFNV.js} +1 -1
  37. package/dist/cdn/{4Z23HWDH.js → 7COM5REK.js} +1 -1
  38. package/dist/cdn/7CP5MYX6.js +2 -0
  39. package/dist/cdn/{VDKFC44J.js → 7QCDHUXE.js} +1 -1
  40. package/dist/cdn/7TM4LYGN.js +2 -0
  41. package/dist/cdn/7UUCZOKN.js +2 -0
  42. package/dist/cdn/{2XXW3WF3.js → A55ZLPZQ.js} +1 -1
  43. package/dist/cdn/{BDGHBTPU.js → A6K5NPU6.js} +1 -1
  44. package/dist/cdn/{OJ5X6I3H.js → ADI63OO7.js} +1 -1
  45. package/dist/cdn/ADKPM4DW.js +2 -0
  46. package/dist/cdn/AEC7S556.js +2 -0
  47. package/dist/cdn/{Y6ZCTPJW.js → AEJ4OWWK.js} +1 -1
  48. package/dist/cdn/AHOCGFB7.js +2 -0
  49. package/dist/cdn/{SX6SDBU7.js → AOVXHBJK.js} +1 -1
  50. package/dist/cdn/AYCQHDDV.js +2 -0
  51. package/dist/cdn/{TXB2I2U5.js → B2SUC7VR.js} +1 -1
  52. package/dist/cdn/{7QXRWMUN.js → B3KKBK7R.js} +1 -1
  53. package/dist/cdn/{TACQVUBU.js → BDEDEGCZ.js} +1 -1
  54. package/dist/cdn/{ANN3O54W.js → BK52OYAM.js} +1 -1
  55. package/dist/cdn/{CNFBNAPJ.js → BK7DHYA7.js} +1 -1
  56. package/dist/cdn/BYSUABOV.js +2 -0
  57. package/dist/cdn/{P2F2O6MH.js → CHBL4DXX.js} +1 -1
  58. package/dist/cdn/CLL7X6DF.js +2 -0
  59. package/dist/cdn/CREJLRJS.js +2 -0
  60. package/dist/cdn/{ZFJFTDJF.js → CYGMXV56.js} +1 -1
  61. package/dist/cdn/D5DOFLCS.js +2 -0
  62. package/dist/cdn/DAQT4YNQ.js +2 -0
  63. package/dist/cdn/{S3ZSZXYG.js → DWWJB3RS.js} +1 -1
  64. package/dist/cdn/E2YQ7BBF.js +2 -0
  65. package/dist/cdn/EEKAD6DT.js +2 -0
  66. package/dist/cdn/EHUV23QJ.js +2 -0
  67. package/dist/cdn/{DFKVPDMJ.js → EMOJZ4XR.js} +15 -13
  68. package/dist/cdn/{J5NHXQLA.js → EQZBQP5A.js} +1 -1
  69. package/dist/cdn/{MK5ZYSOD.js → EVKBZUDE.js} +1 -1
  70. package/dist/cdn/EWNXVZMV.js +2 -0
  71. package/dist/cdn/EWPEPYH7.js +2 -0
  72. package/dist/cdn/EY3OIDVL.js +2 -0
  73. package/dist/cdn/{LROW4Y6O.js → F65OW2NU.js} +1 -1
  74. package/dist/cdn/FBS4RBSA.js +2 -0
  75. package/dist/cdn/{FWAXKDYV.js → FCFAN63J.js} +1 -1
  76. package/dist/cdn/FCWOV4NW.js +2 -0
  77. package/dist/cdn/FTVVGZ4Z.js +4 -0
  78. package/dist/cdn/FY7T4YLN.js +2 -0
  79. package/dist/cdn/FZHZIZUN.js +2 -0
  80. package/dist/cdn/{7JIHGRTB.js → G22GCRXH.js} +1 -1
  81. package/dist/cdn/GQLSM5Q7.js +2 -0
  82. package/dist/cdn/{N4L5KE23.js → GRRD6G34.js} +1 -1
  83. package/dist/cdn/GU4EQDNJ.js +2 -0
  84. package/dist/cdn/H7K6D57Z.js +2 -0
  85. package/dist/cdn/HW7O5QZ4.js +2 -0
  86. package/dist/cdn/{AZOBLYAP.js → I2BM5KSH.js} +1 -1
  87. package/dist/cdn/I4RZDDUM.js +2 -0
  88. package/dist/cdn/IBUI4UOV.js +2 -0
  89. package/dist/cdn/{JQKRGUBU.js → IDAOLPMA.js} +1 -1
  90. package/dist/cdn/{O4HUYRYL.js → IGOJGDYE.js} +1 -1
  91. package/dist/cdn/IHOTDAKI.js +2 -0
  92. package/dist/cdn/J5JKYZZW.js +2 -0
  93. package/dist/cdn/JJJRAQMT.js +2 -0
  94. package/dist/cdn/JTP6IREK.js +2 -0
  95. package/dist/cdn/{FEKSPYHM.js → JV4CEAY2.js} +1 -1
  96. package/dist/cdn/{OFWEHJDH.js → K6V7ODNF.js} +1 -1
  97. package/dist/cdn/{5SIAOUPO.js → K7OYAJNO.js} +1 -1
  98. package/dist/cdn/{D3CFPMAR.js → KOY5DWSR.js} +1 -1
  99. package/dist/cdn/{ULWJ57VT.js → KYEVNAYY.js} +1 -1
  100. package/dist/cdn/KYVBQUIS.js +2 -0
  101. package/dist/cdn/KZSCAJDG.js +2 -0
  102. package/dist/cdn/L5JZ5COY.js +2 -0
  103. package/dist/cdn/L76QTUHW.js +2 -0
  104. package/dist/cdn/{AY6IOQ3H.js → LAEUROZM.js} +1 -1
  105. package/dist/cdn/{IYA7HQMS.js → LAPLSGZY.js} +1 -1
  106. package/dist/cdn/LMXFW6NW.js +2 -0
  107. package/dist/cdn/{L47EGLUH.js → LNR2Y4AV.js} +1 -1
  108. package/dist/cdn/{AASL4RKT.js → LXTENPD7.js} +1 -1
  109. package/dist/cdn/{XDMGH7YU.js → LYKD4O7U.js} +1 -1
  110. package/dist/cdn/M624HH3K.js +2 -0
  111. package/dist/cdn/M7NERHZY.js +2 -0
  112. package/dist/cdn/MIA4DLUH.js +3 -0
  113. package/dist/cdn/MQI4ZLAS.js +2 -0
  114. package/dist/cdn/MQYMM7JO.js +2 -0
  115. package/dist/cdn/MRSEZPVC.js +2 -0
  116. package/dist/cdn/MSU36MJR.js +2 -0
  117. package/dist/cdn/N2Y3TMUH.js +2 -0
  118. package/dist/cdn/NITHPHM6.js +2 -0
  119. package/dist/cdn/{XG2KN6YJ.js → NKPZCF5U.js} +1 -1
  120. package/dist/cdn/{YKDW7ZW3.js → NLFZ76DJ.js} +1 -1
  121. package/dist/cdn/{VE3GFNNM.js → NRXCKYYY.js} +1 -1
  122. package/dist/cdn/NT7D3WEH.js +2 -0
  123. package/dist/cdn/{4C6KWLWN.js → NWLNHFHJ.js} +1 -1
  124. package/dist/cdn/{NAXNRCMZ.js → OD2NWPCL.js} +1 -1
  125. package/dist/cdn/OIBX62RU.js +2 -0
  126. package/dist/cdn/OIQ76HQC.js +2 -0
  127. package/dist/cdn/{4ZIZEJXS.js → OISERMTF.js} +1 -1
  128. package/dist/cdn/{ETOGNYFU.js → OKAZOAYZ.js} +1 -1
  129. package/dist/cdn/OKKEWHMB.js +2 -0
  130. package/dist/cdn/{VRZ2SY6M.js → OQFM5DBD.js} +1 -1
  131. package/dist/cdn/{XYKXBWIT.js → OZPCANBC.js} +1 -1
  132. package/dist/cdn/{C5K6XOCR.js → P37JASN4.js} +1 -1
  133. package/dist/cdn/{KDJ5RVHA.js → P3AYFJRV.js} +1 -1
  134. package/dist/cdn/{244ZX2UP.js → P5I5RQTN.js} +1 -1
  135. package/dist/cdn/PDDYOVQM.js +2 -0
  136. package/dist/cdn/{BJ7Q7LCT.js → PIZPF2BH.js} +1 -1
  137. package/dist/cdn/{QR2OOC4D.js → PVRAR67F.js} +1 -1
  138. package/dist/cdn/PWJBGZPW.js +2 -0
  139. package/dist/cdn/{7UQHB6KY.js → QIG5H6WA.js} +1 -1
  140. package/dist/cdn/QKUFLZC3.js +2 -0
  141. package/dist/cdn/{XMPLEHTW.js → QKZK6MTN.js} +1 -1
  142. package/dist/cdn/QXLY4SFY.js +2 -0
  143. package/dist/cdn/QYRHZJH3.js +2 -0
  144. package/dist/cdn/{4OH4NSIW.js → R3END4O2.js} +1 -1
  145. package/dist/cdn/{FOYOG3G7.js → RBQG2UIF.js} +1 -1
  146. package/dist/cdn/RPUEIRTH.js +2 -0
  147. package/dist/cdn/RZJQJ43Y.js +2 -0
  148. package/dist/cdn/{RSNZMJ6I.js → SIZ6M6MJ.js} +1 -1
  149. package/dist/cdn/{DNTLH5RT.js → SSOL6PCL.js} +1 -1
  150. package/dist/cdn/{3JYZJUOM.js → SWBYVQVE.js} +1 -1
  151. package/dist/cdn/{I5T7JUDH.js → SZYIWW3C.js} +1 -1
  152. package/dist/cdn/T7Z4DZ7V.js +2 -0
  153. package/dist/cdn/{ZYOWZCR7.js → TB7JE5XK.js} +1 -1
  154. package/dist/cdn/{AK7X7SGI.js → TENIFMA5.js} +1 -1
  155. package/dist/cdn/{PMIWXHTG.js → TK4E37D6.js} +1 -1
  156. package/dist/cdn/{WMPWOPRZ.js → TRAVRA3M.js} +1 -1
  157. package/dist/cdn/U7NEGO4Z.js +2 -0
  158. package/dist/cdn/{OXYJKZEP.js → UBGDVDOX.js} +1 -1
  159. package/dist/cdn/{P5AO3V3M.js → UD724V36.js} +1 -1
  160. package/dist/cdn/UNRHPYXW.js +45 -0
  161. package/dist/cdn/{DSIFL2DF.js → UQSD6YZM.js} +1 -1
  162. package/dist/cdn/{Q7J7EKQW.js → UUVJGPFG.js} +1 -1
  163. package/dist/cdn/UVLCXTG4.js +2 -0
  164. package/dist/cdn/{ZQDADGLQ.js → VLCUXTLC.js} +1 -1
  165. package/dist/cdn/{77A4T4FJ.js → VMHDTE3U.js} +1 -1
  166. package/dist/cdn/VQHPI3CU.js +2 -0
  167. package/dist/cdn/VQRSXCKD.js +2 -0
  168. package/dist/cdn/VQU2TVX7.js +3 -0
  169. package/dist/cdn/{WAINRCCJ.js → VSBDAO7G.js} +1 -1
  170. package/dist/cdn/VSN5E7Y4.js +2 -0
  171. package/dist/cdn/{L5DROI2A.js → VYD2S5WA.js} +1 -1
  172. package/dist/cdn/VZ7OCBNK.js +2 -0
  173. package/dist/cdn/WDDGKBBJ.js +2 -0
  174. package/dist/cdn/{X2LW7GTR.js → WE5T6HME.js} +1 -1
  175. package/dist/cdn/WJQHEITU.js +2 -0
  176. package/dist/cdn/WOGALV3T.js +2 -0
  177. package/dist/cdn/{6B7JCDQC.js → WTF2PFHV.js} +1 -1
  178. package/dist/cdn/WTMEWLUJ.js +2 -0
  179. package/dist/cdn/WVOXFKFO.js +2 -0
  180. package/dist/cdn/{2OHFSVV5.js → X4BQWX3B.js} +1 -1
  181. package/dist/cdn/{SSQ3VCZ2.js → XDBVOUI2.js} +1 -1
  182. package/dist/cdn/XIBI3WA6.js +2 -0
  183. package/dist/cdn/{UE5VX2RL.js → XZVJMTU2.js} +1 -1
  184. package/dist/cdn/{BXYNEUQY.js → YCQLYXH4.js} +1 -1
  185. package/dist/cdn/YFU2NPYA.js +2 -0
  186. package/dist/cdn/YHON6N45.js +2 -0
  187. package/dist/cdn/YJURFFSP.js +2 -0
  188. package/dist/cdn/YK5VKE7I.js +2 -0
  189. package/dist/cdn/ZHFQTE2B.js +2 -0
  190. package/dist/cdn/{5ZGALYWZ.js → ZLCRTIQH.js} +1 -1
  191. package/dist/cdn/{3TZEMBXR.js → ZOC5OCZL.js} +1 -1
  192. package/dist/cdn/ZYHMZQ7E.js +2 -0
  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 +1 -1
  199. package/dist/chart-rendering/common/interfaces.d.ts +104 -66
  200. package/dist/chunks/{type-guards3.js → action-bar-utils.js} +37 -45
  201. package/dist/chunks/axis-lines-symbol.js +7 -7
  202. package/dist/chunks/bar-chart-model.js +46 -38
  203. package/dist/chunks/box-plot-data.js +291 -274
  204. package/dist/chunks/box-plot-model.js +143 -130
  205. package/dist/chunks/chart-model.js +65 -56
  206. package/dist/chunks/chart-object-literals.js +26 -25
  207. package/dist/chunks/chart-ui-utils.js +148 -66
  208. package/dist/chunks/chart-ui-utils2.js +68 -149
  209. package/dist/chunks/class-breaks.js +270 -238
  210. package/dist/chunks/combo-bar-line-chart-model.js +122 -101
  211. package/dist/chunks/data-labels-symbol.js +39 -24
  212. package/dist/chunks/data-labels-visibility.js +8 -8
  213. package/dist/chunks/data.js +41 -41
  214. package/dist/chunks/default.js +6 -6
  215. package/dist/chunks/gauge-model.js +61 -61
  216. package/dist/chunks/generate-x-axis-title.js +19 -15
  217. package/dist/chunks/heat-chart-model.js +95 -66
  218. package/dist/chunks/histogram-data.js +23 -23
  219. package/dist/chunks/histogram-model.js +10 -10
  220. package/dist/chunks/index.js +9348 -1079
  221. package/dist/chunks/index2.js +851 -8757
  222. package/dist/chunks/index3.js +1169 -849
  223. package/dist/chunks/index4.js +411 -251
  224. package/dist/chunks/index5.js +66 -100
  225. package/dist/chunks/interfaces.js +9 -9
  226. package/dist/chunks/line-chart-model.js +40 -24
  227. package/dist/chunks/model-setter.js +59 -64
  228. package/dist/chunks/model-types.js +1 -1
  229. package/dist/chunks/model-with-line-marker-styling.js +72 -47
  230. package/dist/chunks/model-with-x-guides.js +5 -5
  231. package/dist/chunks/model-with-y-guides.js +251 -271
  232. package/dist/chunks/negative-values-stacked-to-baseline.js +122 -71
  233. package/dist/chunks/pie-chart-data.js +175 -193
  234. package/dist/chunks/pie-chart-model.js +388 -320
  235. package/dist/chunks/radar-chart-model.js +413 -46
  236. package/dist/chunks/resource.js +1 -1
  237. package/dist/chunks/rest-js-object-literals.js +10 -10
  238. package/dist/chunks/rotated-state.js +1 -1
  239. package/dist/chunks/rounded-corners.js +90 -0
  240. package/dist/chunks/scatterplot-model.js +22 -22
  241. package/dist/chunks/serial-chart-data.js +934 -818
  242. package/dist/chunks/serial-chart-model.js +145 -123
  243. package/dist/chunks/series-length.js +17 -17
  244. package/dist/chunks/series-types.js +22 -18
  245. package/dist/chunks/series.js +1 -1
  246. package/dist/chunks/type-guards.js +49 -23
  247. package/dist/chunks/type-guards2.js +61 -52
  248. package/dist/chunks/utils.js +110 -87
  249. package/dist/chunks/utils2.js +54 -37
  250. package/dist/chunks/web-component-utils.js +413 -383
  251. package/dist/chunks/x-bounds.js +103 -98
  252. package/dist/components/arcgis-chart/customElement.d.ts +728 -255
  253. package/dist/components/arcgis-chart/customElement.js +10870 -10606
  254. package/dist/components/arcgis-charts-action-bar/customElement.d.ts +8 -0
  255. package/dist/components/arcgis-charts-action-bar/customElement.js +34 -31
  256. package/dist/components/arcgis-charts-config-axis/customElement.js +70 -64
  257. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +39 -33
  258. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +27 -27
  259. package/dist/components/arcgis-charts-config-bar-chart-data/index.js +1 -1
  260. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +43 -43
  261. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +54 -53
  262. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +13 -12
  263. package/dist/components/arcgis-charts-config-box-plot/customElement.js +31 -39
  264. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +15 -15
  265. package/dist/components/arcgis-charts-config-box-plot-data/index.js +1 -1
  266. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +48 -49
  267. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +3 -3
  268. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +10 -10
  269. package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
  270. package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +5 -5
  271. package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
  272. package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
  273. package/dist/components/arcgis-charts-config-create-flow/customElement.js +244 -230
  274. package/dist/components/arcgis-charts-config-field-picker/customElement.js +30 -0
  275. package/dist/components/arcgis-charts-config-font-style/customElement.js +4 -4
  276. package/dist/components/arcgis-charts-config-format/customElement.js +89 -82
  277. package/dist/components/arcgis-charts-config-format-popover/customElement.js +2 -2
  278. package/dist/components/arcgis-charts-config-general/customElement.js +3 -3
  279. package/dist/components/arcgis-charts-config-guide/customElement.js +21 -22
  280. package/dist/components/arcgis-charts-config-guide-popover/customElement.js +4 -4
  281. package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
  282. package/dist/components/arcgis-charts-config-heat-chart/customElement.js +12 -13
  283. package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +64 -76
  284. package/dist/components/arcgis-charts-config-heat-chart-data/index.js +1 -1
  285. package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +55 -55
  286. package/dist/components/arcgis-charts-config-histogram/customElement.js +27 -23
  287. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +28 -28
  288. package/dist/components/arcgis-charts-config-histogram-data/index.js +1 -1
  289. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +27 -27
  290. package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
  291. package/dist/components/arcgis-charts-config-line-chart/customElement.js +5 -6
  292. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +18 -18
  293. package/dist/components/arcgis-charts-config-line-chart-data/index.js +1 -1
  294. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +38 -38
  295. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +2 -2
  296. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +4 -4
  297. package/dist/components/arcgis-charts-config-line-style/customElement.js +2 -2
  298. package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
  299. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +5 -6
  300. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +56 -63
  301. package/dist/components/arcgis-charts-config-pie-chart-data/index.js +1 -1
  302. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +54 -53
  303. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +67 -68
  304. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +3 -3
  305. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +27 -23
  306. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +15 -15
  307. package/dist/components/arcgis-charts-config-scatter-plot-data/index.js +1 -1
  308. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +17 -17
  309. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +1 -1
  310. package/dist/components/arcgis-charts-config-view-charts/customElement.js +57 -26
  311. package/dist/components/arcgis-charts-info-modal/customElement.js +7 -7
  312. package/dist/docs/api.json +1 -1
  313. package/dist/docs/docs.json +1 -1
  314. package/dist/docs/vscode.html-custom-data.json +1 -1
  315. package/dist/docs/web-types.json +1 -1
  316. package/dist/index.d.ts +1 -1
  317. package/dist/index.js +488 -464
  318. package/dist/interfaces.d.ts +57 -14
  319. package/dist/json-schema/index.d.ts +154 -6
  320. package/dist/loader.js +2 -2
  321. package/dist/model/bar-chart-model/bar-chart-model.d.ts +6 -4
  322. package/dist/model/box-plot-model/box-plot-model.d.ts +11 -5
  323. package/dist/model/chart-model/chart-model-base.d.ts +10 -0
  324. package/dist/model/chart-model/chart-model-wrapper.d.ts +24 -0
  325. package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +33 -21
  326. package/dist/model/heat-chart-model/heat-chart-model.d.ts +41 -8
  327. package/dist/model/interfaces/chart-interfaces.d.ts +2 -2
  328. package/dist/model/mixins/model-with-guides.d.ts +1 -1
  329. package/dist/model/mixins/model-with-line-marker-styling.d.ts +28 -19
  330. package/dist/model/mixins/model-with-multi-axes.d.ts +69 -106
  331. package/dist/model/pie-chart-model/pie-chart-legend-model.d.ts +7 -55
  332. package/dist/model/pie-chart-model/pie-chart-model.d.ts +61 -2
  333. package/dist/model/properties/data-labels/data-labels-symbol.d.ts +26 -0
  334. package/dist/model/properties/rounded-corners.d.ts +18 -0
  335. package/dist/model/radar-chart-model/radar-chart-model.d.ts +190 -0
  336. package/dist/model/serial-chart-model/serial-chart-model.d.ts +27 -1
  337. package/dist/model/shared/setup-utils.d.ts +3 -3
  338. package/dist/model/shared/type-guards.d.ts +38 -22
  339. package/dist/spec/chart-object-literals.d.ts +4 -3
  340. package/dist/spec/data-source.d.ts +17 -3
  341. package/dist/spec/web-chart.d.ts +34 -4
  342. package/dist/types/lumina.d.ts +1 -1
  343. package/dist/types/preact.d.ts +1 -1
  344. package/dist/types/react.d.ts +1 -1
  345. package/dist/types/stencil.d.ts +3 -3
  346. package/dist/utils/chart-config/converter/index.js +368 -349
  347. package/dist/utils/chart-config/utils/index.d.ts +28 -10
  348. package/dist/utils/chart-config/validator/index.d.ts +1 -0
  349. package/dist/utils/chart-config/validator/interfaces.d.ts +1 -0
  350. package/dist/utils/components/interfaces.d.ts +2 -0
  351. package/dist/utils/cursor/interfaces.d.ts +21 -0
  352. package/dist/utils/data/categorical-data/index.d.ts +18 -2
  353. package/dist/utils/data/index.d.ts +28 -22
  354. package/dist/utils/data/interfaces.d.ts +4 -3
  355. package/dist/utils/defaults/index.d.ts +30 -4
  356. package/dist/utils/defaults/interfaces.d.ts +73 -4
  357. package/dist/utils/layer/index.d.ts +23 -5
  358. package/dist/utils/layer/interfaces.d.ts +0 -12
  359. package/dist/utils/layer/query-features/index.d.ts +8 -3
  360. package/dist/utils/layer/query-parser/index.d.ts +10 -6
  361. package/dist/utils/layer/utils/index.d.ts +22 -5
  362. package/dist/utils/localization/interfaces.d.ts +9 -1
  363. package/dist/utils/misc/interfaces.d.ts +1 -0
  364. package/dist/utils/type-guards/chart-types.d.ts +10 -0
  365. package/dist/utils/type-guards/series-types.d.ts +9 -2
  366. package/package.json +8 -9
  367. package/dist/cdn/24AOJE7B.js +0 -2
  368. package/dist/cdn/3KRPCKJZ.js +0 -2
  369. package/dist/cdn/3TBK72EK.js +0 -3
  370. package/dist/cdn/425PZ2QJ.js +0 -2
  371. package/dist/cdn/4PHYDOBF.js +0 -2
  372. package/dist/cdn/547RDEMV.js +0 -2
  373. package/dist/cdn/567CLBG4.js +0 -2
  374. package/dist/cdn/5IIF22XN.js +0 -2
  375. package/dist/cdn/5IN5WK2R.js +0 -2
  376. package/dist/cdn/5LXX2PUM.js +0 -2
  377. package/dist/cdn/5NTIKQP4.js +0 -2
  378. package/dist/cdn/5YEADAVZ.js +0 -2
  379. package/dist/cdn/6R7VSDDU.js +0 -2
  380. package/dist/cdn/76MOP26H.js +0 -2
  381. package/dist/cdn/AHYYQWKY.js +0 -2
  382. package/dist/cdn/ASI7RDYV.js +0 -2
  383. package/dist/cdn/AXS3UMQJ.js +0 -2
  384. package/dist/cdn/BHUFE4DA.js +0 -2
  385. package/dist/cdn/CEWH3LQO.js +0 -2
  386. package/dist/cdn/CTBQ5Y4Z.js +0 -2
  387. package/dist/cdn/CVK7KFEC.js +0 -2
  388. package/dist/cdn/DJGEQ42V.js +0 -2
  389. package/dist/cdn/DL43NPDO.js +0 -2
  390. package/dist/cdn/E2DO2HQ6.js +0 -2
  391. package/dist/cdn/E4LJWBRC.js +0 -2
  392. package/dist/cdn/EDSF5KGV.js +0 -233
  393. package/dist/cdn/EE3KEIAT.js +0 -2
  394. package/dist/cdn/EJCGZPIV.js +0 -2
  395. package/dist/cdn/ETSB7KD3.js +0 -2
  396. package/dist/cdn/EZV7JSQJ.js +0 -2
  397. package/dist/cdn/F6QRLYSF.js +0 -2
  398. package/dist/cdn/FBMA7FW4.js +0 -2
  399. package/dist/cdn/FFS73X36.js +0 -142
  400. package/dist/cdn/FUAA6IFR.js +0 -4
  401. package/dist/cdn/FWRMJQXY.js +0 -2
  402. package/dist/cdn/G5FULTB5.js +0 -2
  403. package/dist/cdn/GISGGO3Z.js +0 -2
  404. package/dist/cdn/GQPOEX7B.js +0 -58
  405. package/dist/cdn/GYXK3DV7.js +0 -2
  406. package/dist/cdn/H45LPCQ2.js +0 -2
  407. package/dist/cdn/HW6MJJSX.js +0 -2
  408. package/dist/cdn/HZFHTWL6.js +0 -2
  409. package/dist/cdn/I2EERAZ3.js +0 -2
  410. package/dist/cdn/IE3GLZJZ.js +0 -2
  411. package/dist/cdn/IL2FG26D.js +0 -2
  412. package/dist/cdn/JBPYGZPJ.js +0 -2
  413. package/dist/cdn/JEOBO5JM.js +0 -2
  414. package/dist/cdn/KPWHYSA5.js +0 -2
  415. package/dist/cdn/KXUQJ6GE.js +0 -2
  416. package/dist/cdn/KZQFX7LH.js +0 -2
  417. package/dist/cdn/LL7NH3VV.js +0 -2
  418. package/dist/cdn/LUMOL7ZP.js +0 -2
  419. package/dist/cdn/LYJFZA2M.js +0 -2
  420. package/dist/cdn/MBSMC77K.js +0 -2
  421. package/dist/cdn/MVGAATR7.js +0 -2
  422. package/dist/cdn/NNZCIR7W.js +0 -2
  423. package/dist/cdn/NZXQ5BWP.js +0 -2
  424. package/dist/cdn/O4LKWTBY.js +0 -2
  425. package/dist/cdn/OW2DLJGU.js +0 -2
  426. package/dist/cdn/P4HSSZRL.js +0 -2
  427. package/dist/cdn/P4UJJCPG.js +0 -2
  428. package/dist/cdn/P56ROGSK.js +0 -2
  429. package/dist/cdn/PAIRUVLU.js +0 -2
  430. package/dist/cdn/PXIAM4CZ.js +0 -2
  431. package/dist/cdn/QPSJ6XOX.js +0 -2
  432. package/dist/cdn/R7HW5WVG.js +0 -2
  433. package/dist/cdn/RJCJ3F5C.js +0 -2
  434. package/dist/cdn/RKB6QZNW.js +0 -2
  435. package/dist/cdn/S6LH7YS6.js +0 -2
  436. package/dist/cdn/S74GCXXK.js +0 -3
  437. package/dist/cdn/SA22QZNW.js +0 -2
  438. package/dist/cdn/SJVVFOAX.js +0 -2
  439. package/dist/cdn/SOKKWGPA.js +0 -2
  440. package/dist/cdn/SQYOFBS6.js +0 -2
  441. package/dist/cdn/SVGAVKBQ.js +0 -2
  442. package/dist/cdn/THTYR6IL.js +0 -2
  443. package/dist/cdn/TTBRUBXY.js +0 -2
  444. package/dist/cdn/U5IM4KAQ.js +0 -2
  445. package/dist/cdn/U67P6YAZ.js +0 -2
  446. package/dist/cdn/UIRKQREJ.js +0 -2
  447. package/dist/cdn/UIY2PSG4.js +0 -2
  448. package/dist/cdn/UNTIPIBS.js +0 -2
  449. package/dist/cdn/VIY3BCJZ.js +0 -2
  450. package/dist/cdn/W7X6L2OB.js +0 -127
  451. package/dist/cdn/WHJU66P4.js +0 -2
  452. package/dist/cdn/WJ2VDT6B.js +0 -2
  453. package/dist/cdn/WNKDEOFZ.js +0 -2
  454. package/dist/cdn/WPPMMVD5.js +0 -2
  455. package/dist/cdn/WU3C7BQU.js +0 -2
  456. package/dist/cdn/WWO326JE.js +0 -2
  457. package/dist/cdn/XJFVSX2E.js +0 -2
  458. package/dist/cdn/XNWSVHA3.js +0 -2
  459. package/dist/cdn/XOM6LSIW.js +0 -2
  460. package/dist/cdn/XP4S2M7F.js +0 -2
  461. package/dist/cdn/XUERYUEG.js +0 -2
  462. package/dist/cdn/Y3CXVO2M.js +0 -2
  463. package/dist/cdn/Y7HBWU3M.js +0 -2
  464. package/dist/cdn/YALB4GSA.js +0 -2
  465. package/dist/cdn/YUF4ZSA5.js +0 -2
  466. package/dist/cdn/ZJHV3UVG.js +0 -2
  467. package/dist/cdn/ZQ2WG55W.js +0 -2
  468. package/dist/chunks/bar-chart-series.js +0 -15
  469. package/dist/chunks/index6.js +0 -66
  470. package/dist/chunks/time-zone.js +0 -38
  471. package/dist/components/arcgis-charts-config-field-select/customElement.js +0 -30
  472. /package/dist/cdn/{IVLVCLDE.js → 7NWEE7T2.js} +0 -0
  473. /package/dist/components/{arcgis-charts-config-field-select → arcgis-charts-config-field-picker}/index.js +0 -0
@@ -1,7 +1,7 @@
1
1
  import type MapView from "@arcgis/core/views/MapView.js";
2
2
  import type SceneView from "@arcgis/core/views/SceneView.js";
3
3
  import type FeatureLayerView from "@arcgis/core/views/layers/FeatureLayerView.js";
4
- import type { SupportedLayer, SupportedRasterLayer } from "../../interfaces.js";
4
+ import type { ChartLayerInput } from "../../interfaces.js";
5
5
  import type { WebChartDataItem, WebChartDataItemValue, WebChartDataTypes } from "../../spec/data-source.js";
6
6
  import type { WebChart, WebChartDataFilters, WebChartPieChartSlice, WebGaugeChart } from "../../spec/web-chart.js";
7
7
  import type { ActionModes, CursorRange } from "../../utils/cursor/interfaces.js";
@@ -12,10 +12,15 @@ export interface NotifyOptions {
12
12
  closable?: boolean;
13
13
  }
14
14
 
15
- export interface GaugeMinMaxFromData {
16
- minimumFromData?: number;
17
- maximumFromData?: number;
18
- }
15
+ /**
16
+ * Describes the signature of the callback function used to customize the pie chart data labels and tooltips.
17
+ *
18
+ * @param category
19
+ * @param value
20
+ * @param percent
21
+ * @param originalCategory
22
+ */
23
+ export type PieChartLabelFormatCallback = (category: string, value?: number, percent?: number, originalCategory?: WebChartDataItemValue) => string;
19
24
 
20
25
  /**
21
26
  * Describes the signature of the callback function used to customize the pie chart legend value labels.
@@ -25,6 +30,33 @@ export interface GaugeMinMaxFromData {
25
30
  */
26
31
  export type PieChartLegendValueLabelFormatCallback = (value?: number, percent?: number) => string;
27
32
 
33
+ /**
34
+ * Describes the signature of the callback function used to customize the histogram tooltips.
35
+ *
36
+ * @param count
37
+ * @param binMinValue
38
+ * @param binMaxValue
39
+ */
40
+ export type HistogramLabelFormatCallback = (count: number, binMinValue: number, binMaxValue: number) => string;
41
+
42
+ /**
43
+ * Describes the signature of the callback function used to customize the scatterplot tooltips.
44
+ *
45
+ * @param x
46
+ * @param y
47
+ * @param sizePolicyValue
48
+ * @param dataContext
49
+ */
50
+ export type ScatterplotLabelFormatCallback = (x: number, y: number, sizePolicyValue?: number, dataContext?: WebChartDataItem) => string;
51
+
52
+ /**
53
+ * Describes the signature of the callback function used to customize the bar and line chart data labels.
54
+ *
55
+ * @param statValue
56
+ * @param percent
57
+ */
58
+ export type BarAndLineDataLabelFormatCallback = (statValue: number, percent?: number) => string;
59
+
28
60
  /**
29
61
  * Describes the signature of the callback function used to customize a guide's tooltip.
30
62
  *
@@ -61,11 +93,21 @@ export type PreRenderCallback = (props: {
61
93
  slices?: WebChartPieChartSlice[];
62
94
  }) => Promise<WebChart | WebGaugeChart>;
63
95
 
96
+ export type TooltipFormatters = BarAndLineTooltipFormatCallback | BoxPlotTooltipFormatCallback | HistogramLabelFormatCallback | PieChartLabelFormatCallback | ScatterplotLabelFormatCallback;
97
+
64
98
  /** JSON representation of the runtime chart options for the update or initialization. */
65
99
  export interface ChartOptions {
66
- /** Whether to allow the object id to be used as a statistic other than `COUNT`. */
100
+ /**
101
+ * Whether to allow the object id to be used as a statistic other than `COUNT`.
102
+ *
103
+ * @deprecated since 5.2. Won't be replaced.
104
+ */
67
105
  allowUsingObjectIdStat?: boolean;
68
- /** Whether to consider a `null` statistic as valid. */
106
+ /**
107
+ * Whether to consider a `null` statistic as valid.
108
+ *
109
+ * @deprecated since 5.2. Won't be replaced.
110
+ */
69
111
  nullAsValid?: boolean;
70
112
  /**
71
113
  * A property representing the selection to apply on the chart.
@@ -75,6 +117,10 @@ export interface ChartOptions {
75
117
  * - `selectionData.selectionItems`: an array of data items representing a selection to apply to the chart.
76
118
  */
77
119
  selectionData?: SelectionData;
120
+ /** Indicates if the selection by indexes changed. */
121
+ selectionByIndexesChanged?: boolean;
122
+ /** Indicates if the selection by items changed. */
123
+ selectionByItemsChanged?: boolean;
78
124
  /**
79
125
  * Indicates if the object ids need to be computed whenever a selection is made on or passed to the chart.
80
126
  * Only considered for a data source using a feature layer.
@@ -89,6 +135,8 @@ export interface ChartOptions {
89
135
  * - Data source using a feature layer compatible with envelope aggregation
90
136
  *
91
137
  * The extent (IExtent) is returned through the property [featuresExtentField](https://developers.arcgis.com/javascript/latest/references/charts-components/utils/defaults/index/#featuresExtentField).
138
+ *
139
+ * @deprecated since 5.2. Won't be replaced.
92
140
  */
93
141
  returnFeaturesExtent?: boolean;
94
142
  /**
@@ -100,24 +148,33 @@ export interface ChartOptions {
100
148
  /** Used to perform client-side queries. */
101
149
  view?: MapView | SceneView;
102
150
  /** Used to perform queries. */
103
- layer?: FeatureLayerView | SupportedLayer | SupportedRasterLayer;
151
+ layer?: ChartLayerInput | FeatureLayerView;
104
152
  /** Enable filter by selection. */
105
153
  filterBySelection?: boolean;
106
154
  /**
107
155
  * Re-initialize chart object if the chart object is disposed. Honored only during the update call.
108
156
  *
157
+ * @deprecated since 5.2. Won't be replaced.
109
158
  * @default true
110
159
  */
111
160
  autoRecreateChart?: boolean;
112
161
  /**
113
- * Indicates whether to automatically inverse the data label text color when it's too dark or too light.
162
+ * Indicates whether to automatically adjust the data label text color for readability based on its background color.
114
163
  *
115
- * **Note**: Currently this feature is only available for stacked bar series and pie charts with `dataLabelsInside` set to true.
164
+ * **Note**: Applicable to heat charts only.
116
165
  */
117
166
  autoInverseDataLabelTextColor?: boolean;
118
- /** Optional create message to be displayed in the chart container. */
167
+ /**
168
+ * Optional create message to be displayed in the chart container.
169
+ *
170
+ * @deprecated since 5.2. Won't be replaced.
171
+ */
119
172
  createMessage?: string;
120
- /** Used to hide the loader animation (curtain and spinner), showed by default at every update. */
173
+ /**
174
+ * Used to hide the loader animation (curtain and spinner), showed by default at every update.
175
+ *
176
+ * @deprecated since 5.2. Won't be replaced.
177
+ */
121
178
  hideLoaderAnimation?: boolean;
122
179
  /**
123
180
  * Indicates whether to enable or disable interactions on the chart.
@@ -170,6 +227,7 @@ export interface ChartOptions {
170
227
  * When data is retrieved from the server, the server excludes all features having a count of 0 from the response; hence resulting in missing entries on the charts.
171
228
  * When this property is set to true, the dataset will keep these gaps instead of filling them with 0s.
172
229
  *
230
+ * @deprecated since 5.2. Won't be replaced.
173
231
  * @default false
174
232
  */
175
233
  hideZeroCountCategories?: boolean;
@@ -182,12 +240,15 @@ export interface ChartOptions {
182
240
  */
183
241
  chartLimits?: ChartElementLimit;
184
242
  /**
185
- * Set the chart's mode.
186
- * - `zoom`: Allows to zoom on the chart. All selection is disabled.
187
- * - `mono-selection`: The selection is enabled but only one element can be selected. Zoom is disabled.
188
- * - `multi-selection`: The selection is enabled and allows selecting multiple elements. Zoom is disabled.
189
- * - `multi-selection-with-ctrl-key`: The selection is enabled and allows selecting multiple elements when the ctrl/cmd key is pressed. Zoom is disabled.
190
- * - `none`: The zoom and selection features are disabled.
243
+ * Specifies how user interactions on the chart are handled.
244
+ *
245
+ * - `monoSelection`: Select one data point or series at a time. Each new selection replaces the previous selection.
246
+ * - `multiSelection`: Select multiple data points or series. Each new selection is added to the existing selection.
247
+ * - `multiSelectionWithCtrlKey`: Select multiple data points or series only while holding Ctrl (or Cmd on macOS). Without the key, selection behaves like `monoSelection`.
248
+ * - `zoom`: Zoom into an area of the chart.
249
+ * - `none`: Disable interaction-driven selection and zoom actions.
250
+ *
251
+ * **Note**: Not applicable to gauges.
191
252
  */
192
253
  actionMode?: ActionModes;
193
254
  /**
@@ -205,7 +266,11 @@ export interface ChartOptions {
205
266
  * This is used to support a selection workflow while the filter by extent mode is enabled.
206
267
  */
207
268
  viewExtentUpdated?: boolean;
208
- /** Used to apply runtime filters to the chart's data while in Feature Layer mode. */
269
+ /**
270
+ * Used to apply runtime filters to the chart's data while in Feature Layer mode.
271
+ *
272
+ * @deprecated since 5.2. Won't be replaced.
273
+ */
209
274
  runtimeDataFilters?: WebChartDataFilters;
210
275
  /**
211
276
  * This property will be effective when the component's `view` is provided or when the `layer` is set to a `FeatureLayerView`.
@@ -255,19 +320,29 @@ export interface ChartOptions {
255
320
  *
256
321
  * Not applicable to gauge.
257
322
  *
258
- * @deprecated since 5.1. Use [togglingLegendItemsDisabled](https://developers.arcgis.com/javascript/latest/references/charts-components/chart-rendering/common/interfaces/#ChartOptions-togglingLegendItemsDisabled) instead.
323
+ * @deprecated since 5.1. Use [legendInteractionsDisabled](https://developers.arcgis.com/javascript/latest/references/charts-components/chart-rendering/common/interfaces/#ChartOptions-legendInteractionsDisabled) instead.
259
324
  */
260
325
  disableTogglingLegendItems?: boolean;
261
326
  /**
262
327
  * Used to disable the toggling of legend items for xy chart series, pie slices, histogram overlays, and scatterplot trend line.
263
328
  *
264
- * Not applicable to gauge.
329
+ * Only applicable to charts with multiple series and while the legend is displayed.
330
+ *
331
+ * @deprecated since 5.2. Use [legendInteractionsDisabled](https://developers.arcgis.com/javascript/latest/references/charts-components/chart-rendering/common/interfaces/#ChartOptions-legendInteractionsDisabled) instead.
265
332
  */
266
333
  togglingLegendItemsDisabled?: boolean;
334
+ /**
335
+ * When `true`, disables the toggling of series or slices from the legend items. Clicking on the legend items will not hide or show the corresponding elements on the chart.
336
+ *
337
+ * **Note**: Only applicable to charts with multiple series and while the legend is displayed.
338
+ */
339
+ legendInteractionsDisabled?: boolean;
267
340
  /**
268
341
  * Callback function executed after the data has been processed and before the chart renders.
269
342
  * Can be used to alter the config from information extracted from the data for instance.
270
343
  * Only applicable to pie chart and gauge.
344
+ *
345
+ * @deprecated since 5.2. Won't be replaced.
271
346
  */
272
347
  chartWillRender?: PreRenderCallback;
273
348
  /**
@@ -281,6 +356,8 @@ export interface ChartOptions {
281
356
  /**
282
357
  * Whether the chart considers the view's time zone (`timeZone`) and refreshes whenever it changes.
283
358
  * **Note**: This applies to all temporal charts but heat chart which benefits automatically from the feature.
359
+ *
360
+ * @deprecated since 5.2. Won't be replaced.
284
361
  */
285
362
  syncViewTimeZone?: boolean;
286
363
  /**
@@ -298,41 +375,18 @@ export interface ChartOptions {
298
375
  }
299
376
 
300
377
  /**
301
- * Describes the signature of the callback function used to customize the pie chart data labels and tooltips.
302
- *
303
- * @param category
304
- * @param value
305
- * @param percent
306
- * @param originalCategory
307
- */
308
- export type PieChartLabelFormatCallback = (category: string, value?: number, percent?: number, originalCategory?: WebChartDataItemValue) => string;
309
-
310
- /**
311
- * Describes the signature of the callback function used to customize the histogram tooltips.
312
- *
313
- * @param count
314
- * @param binMinValue
315
- * @param binMaxValue
316
- */
317
- export type HistogramLabelFormatCallback = (count: number, binMinValue: number, binMaxValue: number) => string;
318
-
319
- /**
320
- * Describes the signature of the callback function used to customize the scatterplot tooltips.
378
+ * Describes the signature of the callback function used to customize the bar and line chart plot tooltips.
321
379
  *
322
- * @param x
323
- * @param y
324
- * @param sizePolicyValue
325
- * @param dataContext
380
+ * @param props
326
381
  */
327
- export type ScatterplotLabelFormatCallback = (x: number, y: number, sizePolicyValue?: number, dataContext?: WebChartDataItem) => string;
382
+ export type BarAndLineTooltipFormatCallback = (props: BarAndLineTooltipFormatCallbackProps) => string;
328
383
 
329
384
  /**
330
- * Describes the signature of the callback function used to customize the bar and line chart data labels.
385
+ * Describes the signature of the callback function used to customize the box plot tooltips.
331
386
  *
332
- * @param statValue
333
- * @param percent
387
+ * @param props
334
388
  */
335
- export type BarAndLineDataLabelFormatCallback = (statValue: number, percent?: number) => string;
389
+ export type BoxPlotTooltipFormatCallback = (props: BoxPlotTooltipFormatCallbackProps) => string;
336
390
 
337
391
  export interface GuideTooltipFormatCallbackProps {
338
392
  guideName: string;
@@ -341,22 +395,6 @@ export interface GuideTooltipFormatCallbackProps {
341
395
  guideIndex: number;
342
396
  }
343
397
 
344
- export type TooltipFormatters = BarAndLineTooltipFormatCallback | BoxPlotTooltipFormatCallback | HistogramLabelFormatCallback | PieChartLabelFormatCallback | ScatterplotLabelFormatCallback;
345
-
346
- /**
347
- * Describes the signature of the callback function used to customize the bar and line chart plot tooltips.
348
- *
349
- * @param props
350
- */
351
- export type BarAndLineTooltipFormatCallback = (props: BarAndLineTooltipFormatCallbackProps) => string;
352
-
353
- /**
354
- * Describes the signature of the callback function used to customize the box plot tooltips.
355
- *
356
- * @param props
357
- */
358
- export type BoxPlotTooltipFormatCallback = (props: BoxPlotTooltipFormatCallbackProps) => string;
359
-
360
398
  /** Describes the interface of the object passed to the callback function used to customize the bar and line chart tooltips. */
361
399
  export interface BarAndLineTooltipFormatCallbackProps {
362
400
  seriesName: string;
@@ -1,13 +1,13 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import { g as d } from "./series-types.js";
3
- import { i as p } from "./rotated-state.js";
4
- import { u as a } from "./chart-object-literals.js";
5
- import { u, c as f, C as x, A as b } from "./index3.js";
6
- import { D as e, A as o, a as n } from "./index6.js";
7
- import { Y as F } from "./index2.js";
2
+ import { g } from "./series-types.js";
3
+ import { i as B } from "./rotated-state.js";
4
+ import { a } from "./chart-object-literals.js";
5
+ import { m as x, h as f, a as u, A as b } from "./index2.js";
6
+ import { D as e, c as o, A as n } from "./index5.js";
7
+ import { p as F } from "./index.js";
8
8
  import { i as I } from "./index4.js";
9
- import { c as L } from "./type-guards.js";
10
- import { b as E, k as D } from "./type-guards2.js";
9
+ import { i as L } from "./type-guards.js";
10
+ import { i as E, g as D } from "./type-guards2.js";
11
11
  const T = [
12
12
  e.EditChart,
13
13
  e.Legend,
@@ -21,7 +21,7 @@ const T = [
21
21
  e.SwitchSelection,
22
22
  e.ExportAsCSV,
23
23
  e.ExportAsImage
24
- ], v = [
24
+ ], V = [
25
25
  e.EditChart,
26
26
  e.Legend,
27
27
  e.RotateChart,
@@ -34,7 +34,7 @@ const T = [
34
34
  e.SwitchSelection,
35
35
  e.ExportAsImage,
36
36
  e.ExportAsCSV
37
- ], w = [
37
+ ], v = [
38
38
  e.EditChart,
39
39
  e.Legend,
40
40
  e.RotateChart,
@@ -47,7 +47,7 @@ const T = [
47
47
  e.SwitchSelection,
48
48
  e.ExportAsImage,
49
49
  e.ExportAsCSV
50
- ], V = [
50
+ ], w = [
51
51
  e.EditChart,
52
52
  e.Legend,
53
53
  e.FilterBySelection,
@@ -110,16 +110,16 @@ const T = [
110
110
  e.ExportAsImage,
111
111
  e.ExportAsCSV
112
112
  ];
113
- function K(r) {
114
- switch (r) {
113
+ function Q(c) {
114
+ switch (c) {
115
115
  case a.BarSeries:
116
116
  return T;
117
117
  case a.LineSeries:
118
- return v;
118
+ return V;
119
119
  case a.ComboLineAndBarSeries:
120
- return w;
120
+ return v;
121
121
  case a.PieSeries:
122
- return V;
122
+ return w;
123
123
  case a.HistogramSeries:
124
124
  return P;
125
125
  case a.ScatterSeries:
@@ -134,40 +134,32 @@ function K(r) {
134
134
  return [];
135
135
  }
136
136
  }
137
- const Q = (r, i, t) => {
138
- const s = r.target.assignedNodes().find((S) => "legendToggle" in S), c = d(t?.series);
139
- return s && (s.chartType = c, G({
140
- actionBar: s,
137
+ const U = (c, i, t) => {
138
+ const l = c.target.assignedNodes().find((S) => "legendToggle" in S), s = g(t?.series);
139
+ return l && (l.chartType = s, W({
140
+ actionBar: l,
141
141
  chartComponent: i,
142
142
  config: t
143
- })), s;
143
+ })), l;
144
144
  };
145
- function G(r) {
146
- const { actionBar: i, chartComponent: t, config: l, isInfoModalDisplayed: s } = r, c = u(t.selectionData), S = l?.legend ? l.legend.visible ?? !0 : !1;
147
- if (i.chartType = d(l?.series), t.enableConfiguration || t.configurationEnabled) {
148
- const y = i.hiddenActions ?? [];
149
- i.hiddenActions = y.filter((B) => B !== e.EditChart);
145
+ function W(c) {
146
+ const { actionBar: i, chartComponent: t, config: r, isInfoModalDisplayed: l } = c, s = x(t.selectionData), S = r?.legend ? r.legend.visible ?? !0 : !1;
147
+ if (i.chartType = g(r?.series), t.enableConfiguration || t.configurationEnabled) {
148
+ const p = i.hiddenActions ?? [];
149
+ i.hiddenActions = p.filter((y) => y !== e.EditChart);
150
150
  }
151
151
  i.editChartState = t.enableConfiguration || t.configurationEnabled ? o.Enabled : o.Disabled;
152
- const g = l && f(l.series);
153
- i.legendState = g ? o.Enabled : o.Disabled;
154
- const C = E(t?.model) && D(t?.model) ? t.model.legendVisibility : S;
155
- i.legendToggle = g && C ? n.Active : n.Inactive;
156
- const m = E(t?.model) && p(t.model) ? t.model.rotated : l?.rotated;
157
- i.rotateChartToggle = m ? n.Active : n.Inactive;
158
- const h = F(l?.series ?? []) === x.PieFromFields, A = L(t.layer);
159
- i.filterBySelectionState = !A && !h && (t.filterBySelection || !c && !t.filterByExtent) ? o.Enabled : o.Disabled, i.filterBySelectionToggle = t.filterBySelection ? n.Active : n.Inactive, i.filterByExtentState = t.filterByViewExtent || !t.filterBySelection ? o.Enabled : o.Disabled, i.filterByExtentToggle = t.filterByViewExtent ? n.Active : n.Inactive, i.zoomState = t.filterBySelection ? o.Disabled : o.Enabled, i.zoomToggle = t.actionMode === b.Zoom ? n.Active : n.Inactive, i.selectionState = t.filterBySelection ? o.Disabled : o.Enabled, i.selectionToggle = (t.actionMode ?? i.actionBarSelectionMode) === i.actionBarSelectionMode ? n.Active : n.Inactive, i.clearSelectionState = c ? o.Disabled : o.Enabled, i.fullExtentState = t.filterBySelection ? o.Disabled : o.Enabled, i.switchSelectionState = t.filterBySelection ? o.Disabled : o.Enabled, i.exportActionState = s || I(l) ? o.Disabled : o.Enabled;
160
- }
161
- function U(r) {
162
- return r?.tagName.toLowerCase() === "arcgis-chart";
163
- }
164
- function X(r) {
165
- return r !== void 0 && d(r.series) === a.GaugeSeries;
152
+ const d = r && f(r.series);
153
+ i.legendState = d ? o.Enabled : o.Disabled;
154
+ const m = E(t?.model) && D(t?.model) ? t.model.legendVisibility : S;
155
+ i.legendToggle = d && m ? n.Active : n.Inactive;
156
+ const C = E(t?.model) && B(t.model) ? t.model.rotated : r?.rotated;
157
+ i.rotateChartToggle = C ? n.Active : n.Inactive;
158
+ const h = F(r?.series ?? []) === u.PieFromFields, A = L(t.layer);
159
+ i.filterBySelectionState = !A && !h && (t.filterBySelection || !s && !t.filterByExtent) ? o.Enabled : o.Disabled, i.filterBySelectionToggle = t.filterBySelection ? n.Active : n.Inactive, i.filterByExtentState = t.filterByViewExtent || !t.filterBySelection ? o.Enabled : o.Disabled, i.filterByExtentToggle = t.filterByViewExtent ? n.Active : n.Inactive, i.zoomState = t.filterBySelection ? o.Disabled : o.Enabled, i.zoomToggle = t.actionMode === b.Zoom ? n.Active : n.Inactive, i.selectionState = t.filterBySelection ? o.Disabled : o.Enabled, i.selectionToggle = (t.actionMode ?? i.actionBarSelectionMode) === i.actionBarSelectionMode ? n.Active : n.Inactive, i.clearSelectionState = s ? o.Disabled : o.Enabled, i.fullExtentState = t.filterBySelection ? o.Disabled : o.Enabled, i.switchSelectionState = t.filterBySelection ? o.Disabled : o.Enabled, i.exportActionState = l || I(r) ? o.Disabled : o.Enabled;
166
160
  }
167
161
  export {
168
- U as a,
169
- K as g,
170
- X as i,
171
- Q as o,
172
- G as u
162
+ Q as g,
163
+ U as o,
164
+ W as u
173
165
  };
@@ -2,13 +2,13 @@
2
2
  import { C as r, m as a } from "./model-setter.js";
3
3
  import { a as f, s as c } from "./utils2.js";
4
4
  import { cloneDeep as x } from "lodash-es";
5
- import { E as y, T as b, I as m, Z as S } from "./index.js";
5
+ import { a0 as y, a2 as b, a1 as m, t as S } from "./index3.js";
6
6
  var p = Object.defineProperty, v = Object.getOwnPropertyDescriptor, _ = (s, e, t, l) => {
7
7
  for (var i = v(e, t), o = s.length - 1, n; o >= 0; o--)
8
8
  (n = s[o]) && (i = n(e, t, i) || i);
9
9
  return i && p(e, t, i), i;
10
10
  };
11
- function E(s) {
11
+ function X(s) {
12
12
  return s !== void 0 && "xAxisTitleSymbol" in s;
13
13
  }
14
14
  class d extends r {
@@ -46,7 +46,7 @@ const A = (s) => {
46
46
  }) : t.labels.content = x(s), t.labels.content.text = l;
47
47
  }
48
48
  };
49
- function I(s) {
49
+ function B(s) {
50
50
  return s !== void 0 && "axisLabelsSymbol" in s;
51
51
  }
52
52
  class O extends r {
@@ -76,7 +76,7 @@ const W = (s) => {
76
76
  for (const t of e.axes ?? [])
77
77
  t !== void 0 && (t.lineSymbol = x(s) ?? S());
78
78
  };
79
- function X(s) {
79
+ function E(s) {
80
80
  return s !== void 0 && "axisLinesSymbol" in s;
81
81
  }
82
82
  class w extends r {
@@ -95,9 +95,9 @@ D([
95
95
  ], w.prototype, "axisLinesSymbol");
96
96
  export {
97
97
  d as W,
98
- I as a,
99
- E as b,
98
+ B as a,
99
+ X as b,
100
100
  O as c,
101
101
  w as d,
102
- X as i
102
+ E as i
103
103
  };
@@ -1,23 +1,25 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import { m as n } from "./model-setter.js";
3
- import { S, s as h, a as g } from "./serial-chart-model.js";
2
+ import { m as d } from "./model-setter.js";
3
+ import { g, s as h, a as m, b as S, W as p } from "./rounded-corners.js";
4
+ import { S as y, s as u, a as v, b } from "./serial-chart-model.js";
4
5
  import { h as c } from "./serial-chart-data.js";
5
- import { f as m } from "./data.js";
6
- import { g as p, s as y, a as u, b as v } from "./bar-chart-series.js";
7
- import { u as O } from "./chart-object-literals.js";
8
- import { w as b, x as _, am as L, aB as I } from "./index.js";
9
- import { an as a } from "./index2.js";
10
- var C = Object.defineProperty, B = Object.getOwnPropertyDescriptor, d = (o, e, t, r) => {
11
- for (var i = B(e, t), s = o.length - 1, f; s >= 0; s--)
12
- (f = o[s]) && (i = f(e, t, i) || i);
13
- return i && C(e, t, i), i;
6
+ import { C } from "./index2.js";
7
+ import { f as O } from "./data.js";
8
+ import { h as _ } from "./utils.js";
9
+ import { a as I } from "./chart-object-literals.js";
10
+ import { an as L, $ as z, g as B, r as H } from "./index3.js";
11
+ import { r as n } from "./index.js";
12
+ var x = Object.defineProperty, D = Object.getOwnPropertyDescriptor, l = (a, e, t, r) => {
13
+ for (var i = D(e, t), s = a.length - 1, f; s >= 0; s--)
14
+ (f = a[s]) && (i = f(e, t, i) || i);
15
+ return i && x(e, t, i), i;
14
16
  };
15
- class l extends S {
17
+ class o extends y {
16
18
  constructor() {
17
- super(...arguments), this._chartType = O.BarSeries;
19
+ super(...arguments), this._chartType = I.BarSeries;
18
20
  }
19
21
  async setup(e) {
20
- await this.loadConfigFromLayer(e), this.setupLocalProps(), e.config !== void 0 && this.updateSeriesFromLayerFilter(), typeof this.resolveSetup == "function" && this.resolveSetup();
22
+ await this.loadConfigFromLayer(e), this.setupLocalProps(), e.config !== void 0 && await this.rebuildSeries(), typeof this.resolveSetup == "function" && this.resolveSetup();
21
23
  }
22
24
  // #endregion
23
25
  // ---------------------------------------------------------------------------------------------
@@ -25,10 +27,10 @@ class l extends S {
25
27
  // ---------------------------------------------------------------------------------------------
26
28
  /** @private */
27
29
  generateDefaultConfig() {
28
- const e = b(this.commonStrings);
30
+ const e = L(this.commonStrings);
29
31
  return e.series = [
30
- _({
31
- objectIDField: a(this.layerInfo.layer).idField,
32
+ z({
33
+ objectIDField: n(this.layerInfo.layer).idField,
32
34
  commonStrings: this.commonStrings
33
35
  })
34
36
  ], e;
@@ -44,10 +46,14 @@ class l extends S {
44
46
  * @param seriesIndex - The index of the series.
45
47
  */
46
48
  getSeriesHideOversizedSideBySideLabels(e) {
47
- return p(e, this._config);
49
+ return g(e, this._config);
48
50
  }
49
51
  setSeriesHideOversizedSideBySideLabels(e, t) {
50
- y(e, t, this._config);
52
+ h({
53
+ hide: e,
54
+ seriesIndex: t,
55
+ config: this._config
56
+ });
51
57
  }
52
58
  /**
53
59
  * Gets whether to hide oversized stacked labels of the series based on the series index.
@@ -56,10 +62,10 @@ class l extends S {
56
62
  * @param seriesIndex - The index of the series.
57
63
  */
58
64
  getSeriesHideOversizedStackedLabels(e) {
59
- return u(e, this._config);
65
+ return m(e, this._config);
60
66
  }
61
67
  setSeriesHideOversizedStackedLabels(e, t) {
62
- v(e, t, this._config);
68
+ S({ hide: e, seriesIndex: t, config: this._config });
63
69
  }
64
70
  // #endregion
65
71
  //#region Sorting Methods
@@ -68,25 +74,25 @@ class l extends S {
68
74
  * @returns {"xAxisAsc" | "xAxisDesc" | "yAxisAsc" | "yAxisDesc" | "customSort"}
69
75
  */
70
76
  getSortOrder() {
71
- return m(this._config);
77
+ return O(this._config);
72
78
  }
73
79
  resetSeriesStyling() {
74
80
  for (let e = 0; e < this.seriesLength; e += 1) {
75
- const t = this.getSeriesId(e), r = L({
81
+ const t = this.getSeriesId(e), r = B({
76
82
  colorIndex: e,
77
- opacity: I
83
+ opacity: H
78
84
  });
79
- if (h(r, e, this._config), this.layerInfo !== void 0) {
85
+ if (u(r, e, this._config), this.layerInfo !== void 0) {
80
86
  const i = c({
81
87
  config: this._config,
82
88
  seriesIndex: e,
83
89
  layerInfo: this.layerInfo,
84
90
  commonStrings: this.commonStrings
85
91
  });
86
- i !== a(this.layerInfo.layer).idField && g(i ?? t, e, this._config);
92
+ i !== n(this.layerInfo.layer).idField && v(i ?? t, e, this._config);
87
93
  }
88
94
  }
89
- this._config.colorMatch = !0;
95
+ this.nullCategory !== void 0 && b(this._config, C.nullCategory), this._config.colorMatch = !0;
90
96
  }
91
97
  /**
92
98
  * Returns whether the series styling is able to be reset.
@@ -102,7 +108,7 @@ class l extends S {
102
108
  layerInfo: this.layerInfo,
103
109
  commonStrings: this.commonStrings
104
110
  }), s = this.getSeriesName(r);
105
- if (i !== void 0 && i !== a(this.layerInfo.layer).idField && i !== s) {
111
+ if (i !== void 0 && i !== n(this.layerInfo.layer).idField && i !== s) {
106
112
  t = !0;
107
113
  break;
108
114
  }
@@ -111,15 +117,17 @@ class l extends S {
111
117
  }
112
118
  // #endregion
113
119
  }
114
- d([
115
- n
116
- ], l.prototype, "setSeriesHideOversizedSideBySideLabels");
117
- d([
118
- n
119
- ], l.prototype, "setSeriesHideOversizedStackedLabels");
120
- d([
121
- n
122
- ], l.prototype, "resetSeriesStyling");
120
+ l([
121
+ d
122
+ ], o.prototype, "setSeriesHideOversizedSideBySideLabels");
123
+ l([
124
+ d
125
+ ], o.prototype, "setSeriesHideOversizedStackedLabels");
126
+ l([
127
+ d
128
+ ], o.prototype, "resetSeriesStyling");
129
+ const F = [p];
130
+ _(o, F);
123
131
  export {
124
- l as BarChartModel
132
+ o as BarChartModel
125
133
  };