@arcgis/charts-components 5.0.0-next.89 → 5.0.0-next.90

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 (323) hide show
  1. package/dist/cdn/{S5TMEBYP.js → 23765TIC.js} +2 -2
  2. package/dist/cdn/{JSOC3TXS.js → 257TCDZ6.js} +2 -2
  3. package/dist/cdn/{JHX7QEAJ.js → 2EPTKTTD.js} +2 -2
  4. package/dist/cdn/{RCLJDD6Q.js → 2JRE7VAX.js} +2 -2
  5. package/dist/cdn/2RFUINHU.js +4 -0
  6. package/dist/cdn/{ESNRZNVW.js → 362QSPV7.js} +2 -2
  7. package/dist/cdn/{OHZCCJJL.js → 3JPMYV6Q.js} +2 -2
  8. package/dist/cdn/{YU76SN7B.js → 3JV7CYG2.js} +2 -2
  9. package/dist/cdn/{HTGNBOLE.js → 3KOVYSRC.js} +2 -2
  10. package/dist/cdn/{HSSQ7BT6.js → 3WRAYY6S.js} +2 -2
  11. package/dist/cdn/{7NLZY2NB.js → 47QVWE7R.js} +2 -2
  12. package/dist/cdn/{JOXHQXSY.js → 4E756YIM.js} +2 -2
  13. package/dist/cdn/{3RVAM4I2.js → 4FSAXGDC.js} +2 -2
  14. package/dist/cdn/4JPDVGJW.js +4 -0
  15. package/dist/cdn/4LGHBCNI.js +4 -0
  16. package/dist/cdn/{D3CMD5FZ.js → 4TPYRUAT.js} +2 -2
  17. package/dist/cdn/{Y5NAVZXD.js → 4UXTR44P.js} +2 -2
  18. package/dist/cdn/{EHJ2UZ63.js → 4V5THG4A.js} +2 -2
  19. package/dist/cdn/{M3PT5WZ2.js → 562WZXUL.js} +2 -2
  20. package/dist/cdn/{UBJH35NR.js → 57OH7NFX.js} +2 -2
  21. package/dist/cdn/{3KREHQJZ.js → 5BZFS5ZE.js} +2 -2
  22. package/dist/cdn/5MIYEBXL.js +4 -0
  23. package/dist/cdn/{DYMUHXPX.js → 5QSEX72G.js} +2 -2
  24. package/dist/cdn/{5B73ODNL.js → 6ETMGS4C.js} +2 -2
  25. package/dist/cdn/{2LO3SPLJ.js → 6HR5THOC.js} +2 -2
  26. package/dist/cdn/{PZDMLIZH.js → 6IQP4YZ4.js} +7 -7
  27. package/dist/cdn/{3EIFLW5E.js → 6JOWPFI5.js} +2 -2
  28. package/dist/cdn/{VLXNSBH4.js → 6TRFXHB5.js} +2 -2
  29. package/dist/cdn/{S3CDMQEV.js → 7D4WUNGP.js} +2 -2
  30. package/dist/cdn/{QRCHWXWO.js → 7DNTKS35.js} +2 -2
  31. package/dist/cdn/{M2GXYB47.js → 7G62OKWM.js} +2 -2
  32. package/dist/cdn/{3RCQCCYR.js → A6NMN4CZ.js} +2 -2
  33. package/dist/cdn/{52YRLS2X.js → AM2KDKQS.js} +2 -2
  34. package/dist/cdn/{ITHHZQXT.js → ANE6SY3Y.js} +2 -2
  35. package/dist/cdn/{QCSGTHQR.js → AP2DUFEL.js} +2 -2
  36. package/dist/cdn/{JAMHYW6G.js → B2JYCH4X.js} +2 -2
  37. package/dist/cdn/BJTSHKJM.js +4 -0
  38. package/dist/cdn/{VTDOCN42.js → BLRYFQUU.js} +2 -2
  39. package/dist/cdn/{754FNOEV.js → BROG4MXL.js} +2 -2
  40. package/dist/cdn/BZMJVCNP.js +4 -0
  41. package/dist/cdn/{QZPWNOWZ.js → CD7ARQPS.js} +2 -2
  42. package/dist/cdn/{WTH4SVJ4.js → CO4J6YGP.js} +2 -2
  43. package/dist/cdn/{TBX2JXYI.js → CY7YWUJH.js} +2 -2
  44. package/dist/cdn/{LFWCDACG.js → DP2KBATF.js} +2 -2
  45. package/dist/cdn/DU3PAYQH.js +4 -0
  46. package/dist/cdn/{24CB5HJI.js → DXYEVOKV.js} +2 -2
  47. package/dist/cdn/{7ULBDN3D.js → E2GH3HH5.js} +2 -2
  48. package/dist/cdn/{BNSID2QB.js → EA4PHKM5.js} +2 -2
  49. package/dist/cdn/{3CG3PDD7.js → EE44YUBS.js} +2 -2
  50. package/dist/cdn/{3XP7DSY2.js → EIZ5OOQT.js} +2 -2
  51. package/dist/cdn/{L5AECO66.js → ELUYRJ2S.js} +2 -2
  52. package/dist/cdn/{3LTH4EH5.js → ERDUVXZS.js} +2 -2
  53. package/dist/cdn/{D6RZOSZZ.js → EW7EZU76.js} +2 -2
  54. package/dist/cdn/EYVK7DSP.js +6 -0
  55. package/dist/cdn/{QHMQJ4WY.js → EZAM645I.js} +2 -2
  56. package/dist/cdn/F5AUI7D6.js +4 -0
  57. package/dist/cdn/{PFZKK5AT.js → F6T7YJQ5.js} +2 -2
  58. package/dist/cdn/{G45BZ7CP.js → FCMOK7MS.js} +2 -2
  59. package/dist/cdn/{SXN2M735.js → FOM4PUXQ.js} +2 -2
  60. package/dist/cdn/{RZQSJ7UE.js → FQJZHLNT.js} +2 -2
  61. package/dist/cdn/{TPCM6JAV.js → GCWUWT7W.js} +2 -2
  62. package/dist/cdn/{W2R66CJX.js → GLC6RIAQ.js} +2 -2
  63. package/dist/cdn/{ZP5VIMD6.js → GN765KCZ.js} +2 -2
  64. package/dist/cdn/{WW5CGU7R.js → GZZQMAFJ.js} +2 -2
  65. package/dist/cdn/{7PAARU72.js → H5UXWSZD.js} +2 -2
  66. package/dist/cdn/{EUMXBJUK.js → HEH7FFYU.js} +2 -2
  67. package/dist/cdn/HMSXLO4U.js +4 -0
  68. package/dist/cdn/{AFYMGRYB.js → HYF4YDXV.js} +1 -1
  69. package/dist/cdn/{LWY4RY4Q.js → HZPMVUW3.js} +2 -2
  70. package/dist/cdn/{52OIVTUJ.js → IDJAOLEL.js} +2 -2
  71. package/dist/cdn/{3LN7WPHP.js → IFEBXN3L.js} +2 -2
  72. package/dist/cdn/{SCWKLBSP.js → IHMPF4N7.js} +2 -2
  73. package/dist/cdn/{VLCJRD56.js → IIOYOLV6.js} +2 -2
  74. package/dist/cdn/{QPOBNEUO.js → ILASY3QH.js} +2 -2
  75. package/dist/cdn/{AJ2VHTBF.js → IR75JEJ7.js} +2 -2
  76. package/dist/cdn/{JEFWXZAI.js → IVACYQIS.js} +2 -2
  77. package/dist/cdn/{SSZQEZOB.js → IXAEJNQA.js} +2 -2
  78. package/dist/cdn/{Q4DA6K4Z.js → JC36KDRB.js} +2 -2
  79. package/dist/cdn/{C2RP4HWG.js → JF5M6H6J.js} +2 -2
  80. package/dist/cdn/{OBRWPKW7.js → JGFWGNA3.js} +2 -2
  81. package/dist/cdn/{D72W3P23.js → JNAJTBVB.js} +2 -2
  82. package/dist/cdn/{DKRETPXT.js → JO55YZ2V.js} +2 -2
  83. package/dist/cdn/{26Y67K7N.js → JOHDMLMB.js} +2 -2
  84. package/dist/cdn/{CI4Q5WTV.js → K4SI5J3H.js} +1 -1
  85. package/dist/cdn/{6RKK7QJL.js → K6XGHJWF.js} +2 -2
  86. package/dist/cdn/{RFBV2Q6G.js → KPU4UIVH.js} +2 -2
  87. package/dist/cdn/{RHE4NYXD.js → KS2DEPBU.js} +2 -2
  88. package/dist/cdn/{5E7RK4WZ.js → KVKDNI6M.js} +2 -2
  89. package/dist/cdn/{FCOH5NVB.js → KWL7GU4O.js} +2 -2
  90. package/dist/cdn/KY7HZ5DK.js +4 -0
  91. package/dist/cdn/LFQB45AW.js +4 -0
  92. package/dist/cdn/{RNAVPXQV.js → LHLTXQQF.js} +1 -1
  93. package/dist/cdn/{6YDR4YHJ.js → LQL73OL7.js} +2 -2
  94. package/dist/cdn/{EXP64ASF.js → LUX45LEO.js} +2 -2
  95. package/dist/cdn/{JVNMVXGR.js → M3SECFDO.js} +2 -2
  96. package/dist/cdn/M4YTA2V3.js +4 -0
  97. package/dist/cdn/{ZMPZDC4W.js → MADPC4X6.js} +2 -2
  98. package/dist/cdn/{D62QZXU2.js → MGAYP4HG.js} +2 -2
  99. package/dist/cdn/{ATSLOOEO.js → MSMVXKXG.js} +2 -2
  100. package/dist/cdn/{EJG5VR6A.js → MTD3LRXG.js} +2 -2
  101. package/dist/cdn/{E5GRHDPV.js → MWGMB2AG.js} +2 -2
  102. package/dist/cdn/NQ644EGP.js +4 -0
  103. package/dist/cdn/{CXZUVPJ3.js → NQEBQY6B.js} +2 -2
  104. package/dist/cdn/{WT6UCBDJ.js → NZEGEBOS.js} +2 -2
  105. package/dist/cdn/{FZDVH2XF.js → ODAF3EL7.js} +1 -1
  106. package/dist/cdn/{TBGBWSA7.js → OLF65AJF.js} +2 -2
  107. package/dist/cdn/{G6DH6HDY.js → OTLEUN7R.js} +2 -2
  108. package/dist/cdn/{Z3C5I7MU.js → OVKVQG7B.js} +2 -2
  109. package/dist/cdn/{QLRIZYE6.js → P6OGWM6N.js} +2 -2
  110. package/dist/cdn/{NXTOYXIG.js → PB4TH7I7.js} +2 -2
  111. package/dist/cdn/{XKIPWSRD.js → PEGY3MOM.js} +2 -2
  112. package/dist/cdn/PJIOOAXF.js +4 -0
  113. package/dist/cdn/{MO4DCWPC.js → PL7UI2U2.js} +2 -2
  114. package/dist/cdn/{DIRVMRX5.js → PMLZTGGH.js} +2 -2
  115. package/dist/cdn/{TOCR2SLY.js → PNKL3ZRJ.js} +2 -2
  116. package/dist/cdn/{JLMDRYWA.js → Q23HJHXG.js} +2 -2
  117. package/dist/cdn/{4LURDMPG.js → QCOYQAJ4.js} +2 -2
  118. package/dist/cdn/{XGNUEXQ2.js → QHVXMPBV.js} +1 -1
  119. package/dist/cdn/{YKGPPPKC.js → QIRM2EFP.js} +2 -2
  120. package/dist/cdn/{TPWC66I3.js → QLUODWJ5.js} +2 -2
  121. package/dist/cdn/{RKOYT7SP.js → QTMNAG4U.js} +2 -2
  122. package/dist/cdn/{57TMPKZT.js → R3R27RSX.js} +2 -2
  123. package/dist/cdn/{KOAQMDIP.js → R7TBD6FD.js} +2 -2
  124. package/dist/cdn/{AOS6LXIH.js → RVLS4QSH.js} +2 -2
  125. package/dist/cdn/{CNSBS2XB.js → S3BLJFUS.js} +2 -2
  126. package/dist/cdn/{PEKLPIB4.js → SANS4RQ6.js} +2 -2
  127. package/dist/cdn/{OXIOXPML.js → SAZBAEXR.js} +2 -2
  128. package/dist/cdn/{NCBG6X62.js → SCGS54OI.js} +2 -2
  129. package/dist/cdn/{XCG2R5CJ.js → SS5FBHBV.js} +2 -2
  130. package/dist/cdn/{S5NW53R3.js → SWSYNAU4.js} +2 -2
  131. package/dist/cdn/{ETY4UW5B.js → SXYICABJ.js} +2 -2
  132. package/dist/cdn/{RQ7XHG3I.js → T577WQAR.js} +2 -2
  133. package/dist/cdn/{FCPZ66E3.js → TAFBXDTK.js} +2 -2
  134. package/dist/cdn/{J6MPR7B6.js → TAWAXKLI.js} +2 -2
  135. package/dist/cdn/{FRPTXIJJ.js → TEVFSQP3.js} +2 -2
  136. package/dist/cdn/{BMTM52MS.js → TFOL3L6W.js} +2 -2
  137. package/dist/cdn/{65DRX55E.js → TPQH2R2Y.js} +2 -2
  138. package/dist/cdn/{FVQJZVH7.js → TUR4BDNH.js} +2 -2
  139. package/dist/cdn/{Y45KZYDH.js → UGLX3RXV.js} +2 -2
  140. package/dist/cdn/{OMKHC26V.js → UGTB232K.js} +2 -2
  141. package/dist/cdn/{G62YCASO.js → UMO5SOVW.js} +2 -2
  142. package/dist/cdn/{UUO62QSX.js → UQGOJGFW.js} +2 -2
  143. package/dist/cdn/{N7V573Y4.js → UVFSLVZG.js} +2 -2
  144. package/dist/cdn/{6T7JJWGH.js → V3IOBOZR.js} +1 -1
  145. package/dist/cdn/{CUY3Y7MX.js → V4XWL5CS.js} +2 -2
  146. package/dist/cdn/{ALURV5DZ.js → V6F6EU3M.js} +2 -2
  147. package/dist/cdn/{DGIVZTKF.js → VHRHF6AW.js} +1 -1
  148. package/dist/cdn/{PECFPKUN.js → VUPINF37.js} +2 -2
  149. package/dist/cdn/{HTZEAE3M.js → VWV7MYWE.js} +2 -2
  150. package/dist/cdn/{ZNQCN6YP.js → W7CEAICR.js} +2 -2
  151. package/dist/cdn/{XFPIW4WB.js → W7WRCLWM.js} +2 -2
  152. package/dist/cdn/{V4SIQTSL.js → WL56JHWO.js} +2 -2
  153. package/dist/cdn/{42QB7JTL.js → WQGFCXD7.js} +2 -2
  154. package/dist/cdn/WUESNX5B.js +4 -0
  155. package/dist/cdn/{WQNN5VP6.js → WXMEAD7U.js} +2 -2
  156. package/dist/cdn/{ZOJGY4UO.js → XIIE5V2W.js} +2 -2
  157. package/dist/cdn/{HERC5JRL.js → XMMRPUMM.js} +2 -2
  158. package/dist/cdn/{6W7QLRM7.js → XNLYODQR.js} +2 -2
  159. package/dist/cdn/XPK2ZWCS.js +4 -0
  160. package/dist/cdn/{5KGHSUOR.js → XRSJR3RL.js} +2 -2
  161. package/dist/cdn/{SWZ626ED.js → XWEN7SKX.js} +2 -2
  162. package/dist/cdn/{INL6UXIX.js → Y6KSJ5H3.js} +2 -2
  163. package/dist/cdn/{XWLXWZ4C.js → YBCH7QZE.js} +2 -2
  164. package/dist/cdn/{HJPNWD6F.js → YGZHI6R2.js} +2 -2
  165. package/dist/cdn/{7RRXY3UK.js → YNA4L65F.js} +2 -2
  166. package/dist/cdn/{OZAKQJSB.js → YP24O2N7.js} +2 -2
  167. package/dist/cdn/{27DGP7FJ.js → YWF4GXHZ.js} +2 -2
  168. package/dist/cdn/{S76DSPGM.js → YZQMTYWN.js} +2 -2
  169. package/dist/cdn/Z23EZJR2.js +26 -0
  170. package/dist/cdn/{PZOZSM2Q.js → Z2BF3TPF.js} +2 -2
  171. package/dist/cdn/{L4ZU5IB7.js → ZJUXJANP.js} +2 -2
  172. package/dist/cdn/ZSNP5EUD.js +4 -0
  173. package/dist/cdn/{JVQ3YXWZ.js → ZSVPA2KK.js} +2 -2
  174. package/dist/cdn/index.js +2 -2
  175. package/dist/chart-rendering/common/config-utils/index.d.ts +12 -21
  176. package/dist/chart-rendering/common/data/utils/summarize-data/index.d.ts +35 -2
  177. package/dist/chart-rendering/common/data/utils/summarize-data/interfaces.d.ts +9 -1
  178. package/dist/chunks/action-bar-utils.js +1 -1
  179. package/dist/chunks/axis-model-wrapper.js +1 -1
  180. package/dist/chunks/bar-chart-model.js +56 -52
  181. package/dist/chunks/bar-chart-series.js +1 -1
  182. package/dist/chunks/bg_BG.js +1 -1
  183. package/dist/chunks/bg_BG2.js +1 -1
  184. package/dist/chunks/box-plot-data.js +49 -49
  185. package/dist/chunks/box-plot-model.js +166 -200
  186. package/dist/chunks/chart-ui-utils.js +1 -1
  187. package/dist/chunks/chart-ui-utils2.js +1 -1
  188. package/dist/chunks/combo-bar-line-chart-model.js +142 -207
  189. package/dist/chunks/common.js +23 -18
  190. package/dist/chunks/data.js +86 -59
  191. package/dist/chunks/default.js +1 -1
  192. package/dist/chunks/gauge-model.js +180 -159
  193. package/dist/chunks/heat-chart-model.js +169 -180
  194. package/dist/chunks/histogram-data.js +1 -1
  195. package/dist/chunks/histogram-model.js +94 -77
  196. package/dist/chunks/index.js +2713 -2608
  197. package/dist/chunks/index2.js +60 -60
  198. package/dist/chunks/index3.js +1 -1
  199. package/dist/chunks/index4.js +1 -1
  200. package/dist/chunks/interfaces.js +1 -1
  201. package/dist/chunks/line-chart-model.js +45 -45
  202. package/dist/chunks/model-with-multi-axes.js +1473 -811
  203. package/dist/chunks/pie-chart-data.js +79 -79
  204. package/dist/chunks/pie-chart-model.js +306 -294
  205. package/dist/chunks/popover-ui-utils.js +1 -1
  206. package/dist/chunks/radar-chart-model.js +42 -41
  207. package/dist/chunks/resource.js +1 -1
  208. package/dist/chunks/rest-js-object-literals.js +1 -1
  209. package/dist/chunks/runtime.js +1 -1
  210. package/dist/chunks/scatterplot-model.js +105 -93
  211. package/dist/chunks/serial-chart-data.js +812 -527
  212. package/dist/chunks/serial-chart-model.js +144 -293
  213. package/dist/chunks/series-types.js +7 -6
  214. package/dist/chunks/sk_SK.js +1 -1
  215. package/dist/chunks/store.js +1 -1
  216. package/dist/chunks/type-guards.js +1 -1
  217. package/dist/chunks/useT9n.js +1 -1
  218. package/dist/chunks/web-component-utils.js +13 -13
  219. package/dist/components/arcgis-chart/customElement.js +9 -9
  220. package/dist/components/arcgis-charts-action-bar/customElement.js +1 -1
  221. package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
  222. package/dist/components/arcgis-charts-config-axis/customElement.js +1 -1
  223. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
  224. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +2 -2
  225. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +2 -2
  226. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +3 -3
  227. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +1 -1
  228. package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
  229. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +1 -1
  230. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +2 -2
  231. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +1 -1
  232. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +1 -1
  233. package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
  234. package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +1 -1
  235. package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
  236. package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
  237. package/dist/components/arcgis-charts-config-create-flow/customElement.js +2 -2
  238. package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
  239. package/dist/components/arcgis-charts-config-font-style/customElement.js +1 -1
  240. package/dist/components/arcgis-charts-config-format/customElement.js +1 -1
  241. package/dist/components/arcgis-charts-config-format-popover/customElement.js +1 -1
  242. package/dist/components/arcgis-charts-config-general/customElement.js +5 -5
  243. package/dist/components/arcgis-charts-config-guide/customElement.js +1 -1
  244. package/dist/components/arcgis-charts-config-guide-popover/customElement.js +1 -1
  245. package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
  246. package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +1 -1
  247. package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
  248. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +1 -1
  249. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +1 -1
  250. package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
  251. package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
  252. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +1 -1
  253. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +2 -2
  254. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +1 -1
  255. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -1
  256. package/dist/components/arcgis-charts-config-line-style/customElement.js +1 -1
  257. package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
  258. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
  259. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +1 -1
  260. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +2 -2
  261. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +1 -1
  262. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +1 -1
  263. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
  264. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +1 -1
  265. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +1 -1
  266. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +1 -1
  267. package/dist/components/arcgis-charts-config-view-charts/customElement.js +1 -1
  268. package/dist/docs/api.json +3 -3
  269. package/dist/docs/docs.json +5 -5
  270. package/dist/docs/web-types.json +2 -2
  271. package/dist/index.js +43 -42
  272. package/dist/json-schema/index.d.ts +63 -15
  273. package/dist/loader.js +1 -1
  274. package/dist/model/bar-chart-model/bar-chart-model.d.ts +6 -1
  275. package/dist/model/box-plot-model/box-plot-model.d.ts +1 -1
  276. package/dist/model/chart-model/chart-model.d.ts +30 -22
  277. package/dist/model/decorators/model-setter.d.ts +7 -0
  278. package/dist/model/heat-chart-model/heat-chart-model.d.ts +39 -12
  279. package/dist/model/heat-chart-model/utils/heat-chart-data.d.ts +6 -0
  280. package/dist/model/interfaces/common.d.ts +6 -0
  281. package/dist/model/serial-chart-model/serial-chart-model.d.ts +5 -5
  282. package/dist/model/serial-chart-model/utils/serial-chart-data.d.ts +2 -2
  283. package/dist/model/shared/data.d.ts +19 -4
  284. package/dist/model.js +26 -25
  285. package/dist/spec/chart-object-literals.d.ts +29 -4
  286. package/dist/spec/web-chart.d.ts +15 -4
  287. package/dist/utils/chart-config/converter/index.d.ts +3 -3
  288. package/dist/utils/components/chart-ui-utils.d.ts +1 -1
  289. package/dist/utils/type-guards/chart-types.d.ts +7 -0
  290. package/dist/utils/ui/chart-ui-utils.d.ts +1 -1
  291. package/package.json +5 -5
  292. package/dist/cdn/2FPDE35U.js +0 -4
  293. package/dist/cdn/2MGDOOSL.js +0 -4
  294. package/dist/cdn/3GT7SI5M.js +0 -4
  295. package/dist/cdn/4IRJ3ZH5.js +0 -4
  296. package/dist/cdn/5A37OQGF.js +0 -4
  297. package/dist/cdn/5HOJCOJU.js +0 -4
  298. package/dist/cdn/C4U6ZLSK.js +0 -4
  299. package/dist/cdn/E3FQMXCV.js +0 -4
  300. package/dist/cdn/ETR3G32Z.js +0 -4
  301. package/dist/cdn/FK6WWS2O.js +0 -4
  302. package/dist/cdn/HO77HDLB.js +0 -6
  303. package/dist/cdn/HY4C6DEP.js +0 -4
  304. package/dist/cdn/IJUQRJFI.js +0 -4
  305. package/dist/cdn/JSD5IIH6.js +0 -4
  306. package/dist/cdn/JXGWYEJK.js +0 -4
  307. package/dist/cdn/KKNV3MPT.js +0 -4
  308. package/dist/cdn/LCSB3NQ5.js +0 -4
  309. package/dist/cdn/MISULAHN.js +0 -4
  310. package/dist/cdn/P2D5WICY.js +0 -4
  311. package/dist/cdn/PJQ27X42.js +0 -4
  312. package/dist/cdn/TDOUEZYL.js +0 -4
  313. package/dist/cdn/U2LF63KV.js +0 -22
  314. package/dist/cdn/WBEAP646.js +0 -4
  315. package/dist/cdn/XGB4TSSP.js +0 -4
  316. package/dist/cdn/XVUFERLV.js +0 -4
  317. package/dist/cdn/ZU4DL37U.js +0 -4
  318. package/dist/chunks/baseline-stacking.js +0 -92
  319. package/dist/chunks/config-update.js +0 -207
  320. package/dist/chunks/model-with-baseline-stacking.js +0 -246
  321. package/dist/chunks/model-with-data-labels.js +0 -325
  322. package/dist/chunks/model-with-rotation.js +0 -43
  323. package/dist/chunks/series.js +0 -37
@@ -6,22 +6,18 @@ import { SupportedLayer } from '../../interfaces';
6
6
  export declare abstract class ChartModel extends EventTarget {
7
7
  /**
8
8
  * Current configuration used for the chart.
9
- * @category Protected
10
9
  */
11
10
  protected _config: ChartConfig;
12
11
  /**
13
12
  * Grouping of layer-related properties to be passed to external function more compactly.
14
- * @category Protected
15
13
  */
16
14
  protected layerInfo: LayerInfo;
17
15
  /**
18
16
  * Common strings used in the model.
19
- * @category Protected
20
17
  */
21
18
  protected commonStrings: CommonStrings;
22
19
  /**
23
20
  * Chart Type
24
- * @category Protected
25
21
  */
26
22
  protected _chartType: ChartTypes;
27
23
  /**
@@ -31,9 +27,12 @@ export declare abstract class ChartModel extends EventTarget {
31
27
  protected dirtyAsyncSetters: string[];
32
28
  /**
33
29
  * Whether or not an async series update is currently in progress.
34
- * @category Protected
35
30
  */
36
31
  protected asyncConfigUpdateInProgress: boolean;
32
+ /**
33
+ * Number of pending async updates.
34
+ */
35
+ protected pendingUpdates: number;
37
36
  /**
38
37
  * Function that resolves the setup promise.
39
38
  * @category Protected
@@ -41,23 +40,34 @@ export declare abstract class ChartModel extends EventTarget {
41
40
  protected resolveSetup?: () => void;
42
41
  /**
43
42
  * Completes the async setup process for the chart model. Must be called before using the model.
44
- * @param {ModelParams} params The parameters to be used to set up the chart model.
43
+ * @param params The parameters to be used to set up the chart model.
45
44
  * @async **This method is `async` and must be awaited for the changes to take effect.**
46
45
  */
47
46
  abstract setup(params: ModelParams<ChartConfig>): Promise<void>;
48
47
  /**
49
48
  * Checks if the current chart model is for the same chart as another chart model.
50
- * @param {ChartModel | undefined} otherModel The other chart model to compare to.
49
+ * @param otherModel The other chart model to compare to.
51
50
  */
52
51
  isSameChartAs(otherModel: ChartModel | undefined): boolean;
53
52
  /**
54
53
  * Generate the proper chart title from the current config.
55
54
  */
56
55
  abstract generateChartTitle(): string;
56
+ /**
57
+ * Can be awaited to allow any pending async updates to complete.
58
+ * @public
59
+ */
60
+ update(): Promise<void>;
57
61
  /**
58
62
  * Data store object that can be used to store any data needed for the chart.
59
63
  */
60
64
  dataStore: any;
65
+ /**
66
+ * Promise that resolves when the setup process is complete.
67
+ *
68
+ * **Note:** This promise does not need to be awaited if the `setup` method has already been awaited. It is simply provided as a way to await the setup process from other functions if needed to avoid race conditions.
69
+ */
70
+ asyncUpdatesPromise: Promise<void>;
61
71
  /**
62
72
  * The current chart configuration object.
63
73
  */
@@ -76,11 +86,6 @@ export declare abstract class ChartModel extends EventTarget {
76
86
  */
77
87
  get chartId(): string | undefined;
78
88
  set chartId(id: string | undefined);
79
- /**
80
- * Promise that resolves when the setup process is complete.
81
- * **Note:** This promise does not need to be awaited if the `setup` method has already been awaited. It is simply provided as a way to await the setup process from other functions if needed to avoid race conditions.
82
- */
83
- setupFinished: Promise<void>;
84
89
  /**
85
90
  * The version of the chart configuration.
86
91
  */
@@ -166,16 +171,14 @@ export declare abstract class ChartModel extends EventTarget {
166
171
  * Gets the series ID for a given series index.
167
172
  * If the series index is out of bounds, this function will return `undefined`.
168
173
  *
169
- * @param {number} seriesIndex The index of the series.
170
- * @returns {string | undefined}
174
+ * @param seriesIndex The index of the series.
171
175
  */
172
176
  getSeriesId(seriesIndex: number): string | undefined;
173
177
  /**
174
178
  * Gets the series index for a given series ID.
175
179
  * If the series ID is not found, this function will return `undefined`.
176
180
  *
177
- * @param {string} seriesId The ID of the series.
178
- * @returns {number | undefined}
181
+ * @param seriesId The ID of the series.
179
182
  */
180
183
  getSeriesIndex(seriesId: string): number | undefined;
181
184
  /**
@@ -218,30 +221,35 @@ export declare abstract class ChartModel extends EventTarget {
218
221
  getDataFilters(): WebChartDataFilters | undefined;
219
222
  /**
220
223
  * Sets the data filter for the chart.
221
- * @param {WebChartDataFilters | undefined} newDataFilters The new data filter.
224
+ * @param newDataFilters The new data filter.
222
225
  */
223
226
  setDataFilters(newDataFilters: WebChartDataFilters | undefined): Promise<void>;
224
227
  /**
225
228
  * Emits a config update event.
226
- * @category Protected
227
229
  */
228
- protected emitConfigUpdate(setterName: string): void;
230
+ protected emitConfigUpdate: (setterName: string) => void;
229
231
  /**
230
232
  * A function that generates the default config object when creating a new chart.
231
- * @category Protected
232
233
  */
233
234
  protected abstract generateDefaultConfig(): Omit<typeof this._config, "iLayer">;
234
235
  /**
235
236
  * A function that loads the config based on the provided props.
236
- * @category Protected
237
237
  * @param params.layer The layer to be used as the data source for the chart.
238
238
  * @param params.iLayer The layer description to use if the layer is not provided
239
239
  * @param params.config The config object to be loaded.
240
240
  */
241
241
  protected loadConfigFromLayer<T extends ModelTypes>(params: ModelParams<ChartConfig<T>>): Promise<void>;
242
+ /**
243
+ * Manually block the async guard to queue up config updates until unblocked.
244
+ */
245
+ protected startAsyncUpdate(): void;
246
+ /**
247
+ * Manually unblock the async guard to allow queued config updates to proceed.
248
+ */
249
+ protected finishAsyncUpdate(): void;
242
250
  /**
243
251
  * Guards a setter from being called while an async config update is in progress so that the value being set is not overwritten by the async config update.
244
252
  * @param setter The setter callback to call after setup or async config update is finished.
245
253
  */
246
- protected guardSetterFromAsyncOverwrite(setter: (() => Promise<void>) | (() => void)): Promise<void>;
254
+ protected guardSetterFromAsyncOverwrite: (setter: (() => Promise<void>) | (() => void)) => Promise<void>;
247
255
  }
@@ -0,0 +1,7 @@
1
+ import { ChartModel } from '../chart-model/chart-model';
2
+ /**
3
+ * Decorator for property setter in a chart model that will:
4
+ * - guard against async overwrite issues
5
+ * - emit a config update event
6
+ */
7
+ export declare function modelSetter(_target: ChartModel, propertyKey: string, descriptor: PropertyDescriptor): PropertyDescriptor;
@@ -1,7 +1,7 @@
1
- import { ISimpleFillSymbol, WebChart, WebChartCalendarDatePartsBinning, WebChartHeatChartGradient, WebChartHeatChartHeatRulesTypes, WebChartNullCategory, WebChartNullPolicyTypes, WebChartStackedKinds, WebChartStatisticType, WebChartLegendPositions } from '../../spec';
1
+ import { ISimpleFillSymbol, WebChart, WebChartCalendarDatePartsBinning, WebChartHeatChartGradient, WebChartHeatChartHeatRulesTypes, WebChartLegendPositions, WebChartNullCategory, WebChartNullPolicyTypes, WebChartStackedKinds, WebChartStatisticType, WebHeatChart } from '../../spec';
2
2
  import { ChartConfig } from '../../utils';
3
3
  import { ModelParams } from '../interfaces/chart-interfaces';
4
- import { LayerInfo, ModelTypes } from '../interfaces/common';
4
+ import { LayerInfo, ModelTypes, SerialChartDataSortingKinds, HeatChartDataSortingKinds } from '../interfaces/common';
5
5
  import { ModelWithDataLabels, ModelWithTooltips } from '../mixins';
6
6
  import { SerialChartModel } from '../serial-chart-model/serial-chart-model';
7
7
  export type HeatChartConfig = ChartConfig<typeof ModelTypes.HeatChart, WebChart>;
@@ -10,7 +10,7 @@ export declare class HeatChartModel extends SerialChartModel {
10
10
  /**
11
11
  * Current configuration used for the Heat chart.
12
12
  */
13
- protected _config: ChartConfig<typeof ModelTypes.HeatChart, WebChart>;
13
+ protected _config: ChartConfig<typeof ModelTypes.HeatChart, WebHeatChart>;
14
14
  protected _chartType: "heatSeries";
15
15
  protected layerInfo: LayerInfo;
16
16
  setup(params: ModelParams<ChartConfig<typeof ModelTypes.HeatChart>>): Promise<void>;
@@ -75,6 +75,15 @@ export declare class HeatChartModel extends SerialChartModel {
75
75
  */
76
76
  get aggregationType(): WebChartStatisticType;
77
77
  set aggregationType(aggregationType: WebChartStatisticType);
78
+ /**
79
+ * Split-by field is not used by heat chart
80
+ */
81
+ get splitByField(): string;
82
+ set splitByField(_: string);
83
+ /**
84
+ * The heat charts legend's title (not supported yet)
85
+ */
86
+ set legendTitleText(_: string);
78
87
  get legendPosition(): WebChartLegendPositions;
79
88
  /**
80
89
  * The heat charts legend's position
@@ -85,6 +94,33 @@ export declare class HeatChartModel extends SerialChartModel {
85
94
  * The heat charts null policy
86
95
  */
87
96
  set nullPolicy(policy: WebChartNullPolicyTypes | undefined);
97
+ getSortOrder(): HeatChartDataSortingKinds | SerialChartDataSortingKinds;
98
+ /**
99
+ * setSortOrder is not used by heat chart; instead use setXAxisSortOrder for the x axis and setYAxisSortOrder for the y axis
100
+ */
101
+ setSortOrder(_newSortOrder: HeatChartDataSortingKinds | SerialChartDataSortingKinds, _orderByList?: string[]): void;
102
+ /**
103
+ * Get the sort order on the x axis for the heat chart.
104
+ * @returns {"Asc" | "Desc" | "customSort"}
105
+ */
106
+ getXAxisSortOrder(): HeatChartDataSortingKinds;
107
+ /**
108
+ * Sets the sort order on the x axis for the heat chart.
109
+ * @param {"Asc" | "Desc" | "customSort"} newSortOrder The new sort order.
110
+ * @param {string[]} orderByList The list of category's values to order by.
111
+ */
112
+ setXAxisSortOrder(newSortOrder: HeatChartDataSortingKinds, orderByList?: string[]): void;
113
+ /**
114
+ * Gets the sort order for on the y axis for heat chart.
115
+ * @returns {"Asc" | "Desc" | "customSort"}
116
+ */
117
+ getYAxisSortOrder(): HeatChartDataSortingKinds;
118
+ /**
119
+ * Sets the sort order on the y axis for heat chart.
120
+ * @param {"Asc" | "Desc" | "customSort"} newSortOrder The new sort order.
121
+ * @param {string[]} orderByList The list of category's values to order by.
122
+ */
123
+ setYAxisSortOrder(newSortOrder: HeatChartDataSortingKinds, orderByList?: string[]): void;
88
124
  get emptyCellText(): string | undefined;
89
125
  /**
90
126
  * The heat charts empty cell text
@@ -103,15 +139,6 @@ export declare class HeatChartModel extends SerialChartModel {
103
139
  * The heat chart's stacked type (not supported)
104
140
  */
105
141
  set stackedType(_stackedType: WebChartStackedKinds | undefined);
106
- /**
107
- * Split-by field is not used by heat chart
108
- */
109
- get splitByField(): string;
110
- set splitByField(_: string);
111
- /**
112
- * The heat charts legend's title (not supported yet)
113
- */
114
- set legendTitleText(_: string);
115
142
  /**
116
143
  * Bin temporal data for heat chart (not supported)
117
144
  */
@@ -89,6 +89,12 @@ export declare const setYTemporalBinning: (binning: WebChartCalendarDatePartsBin
89
89
  * @param config the heat chart config
90
90
  */
91
91
  export declare const getYTemporalBinning: (config: HeatChartConfig) => WebChartCalendarDatePartsBinning | undefined;
92
+ /**
93
+ * Set the order by list in the config. The order by list is only used when the sort order kind is custom sort.
94
+ * @param values The order by values
95
+ * @param config The heat chart config
96
+ */
97
+ export declare const setHeatChartOrderByList: (values: string[], config: HeatChartConfig) => void;
92
98
  /**
93
99
  * Sets the grid line width
94
100
  * @param width the grid line width
@@ -29,6 +29,12 @@ export declare const BoxPlotDataSortingKinds: {
29
29
  readonly customSort: "customSort";
30
30
  };
31
31
  export type BoxPlotDataSortingKinds = (typeof BoxPlotDataSortingKinds)[keyof typeof BoxPlotDataSortingKinds];
32
+ export declare const HeatChartDataSortingKinds: {
33
+ readonly Asc: "Asc";
34
+ readonly Desc: "Desc";
35
+ readonly customSort: "customSort";
36
+ };
37
+ export type HeatChartDataSortingKinds = (typeof HeatChartDataSortingKinds)[keyof typeof HeatChartDataSortingKinds];
32
38
  export declare const PieChartDataSortingKinds: {
33
39
  readonly labelAsc: "labelAsc";
34
40
  readonly labelDesc: "labelDesc";
@@ -2,7 +2,7 @@ import { SerialChartTypes } from '../../utils';
2
2
  import { ChartModel } from '../chart-model/chart-model';
3
3
  import { Color, WebChartDataFilters, WebChartNullCategory, WebChartStackedKinds, WebChartStatisticType } from '../../spec';
4
4
  import { SerialChartConfig } from '../interfaces/chart-interfaces';
5
- import { SerialChartDataSortingKinds } from '../interfaces/common';
5
+ import { HeatChartDataSortingKinds, SerialChartDataSortingKinds } from '../interfaces/common';
6
6
  import { ModelWithColorMatch, ModelWithDataLabels, ModelWithLegend, ModelWithTooltips, ModelWithRotation, ModelWithTemporalBinning, ModelWithXGuides, ModelWithYGuides, ModelWithMultiAxes } from '../mixins';
7
7
  export declare abstract class SerialChartModel extends ChartModel {
8
8
  /**
@@ -70,13 +70,13 @@ export declare abstract class SerialChartModel extends ChartModel {
70
70
  * Gets the sort order for the bar chart.
71
71
  * @returns {"xAxisAsc" | "xAxisDesc" | "yAxisAsc" | "yAxisDesc" | "customSort"}
72
72
  */
73
- getSortOrder(): SerialChartDataSortingKinds;
73
+ getSortOrder(): HeatChartDataSortingKinds | SerialChartDataSortingKinds;
74
74
  /**
75
75
  * Sets the sort order for the bar chart.
76
- * @param {"xAxisAsc" | "xAxisDesc" | "yAxisAsc" | "yAxisDesc"} newSortOrder The new sort order.
76
+ * @param {"Asc" | "Desc" | "xAxisAsc" | "xAxisDesc" | "yAxisAsc" | "yAxisDesc" | "customSort"} newSortOrder The new sort order.
77
77
  * @param {string[]} orderByList The list of category's values to order by.
78
78
  */
79
- setSortOrder(newSortOrder: SerialChartDataSortingKinds, orderByList?: string[]): void;
79
+ setSortOrder(newSortOrder: HeatChartDataSortingKinds | SerialChartDataSortingKinds, orderByList?: string[]): void;
80
80
  /**
81
81
  * Gets the list of the category values for the chart.
82
82
  * @returns {string[]}
@@ -84,7 +84,7 @@ export declare abstract class SerialChartModel extends ChartModel {
84
84
  getCustomSortValues(): Promise<string[]>;
85
85
  /**
86
86
  * Sets the data filter for the bar chart.
87
- * @param {WebChartDataFilters | undefined} newDataFilter The new data filter.
87
+ * @param newDataFilter The new data filter.
88
88
  */
89
89
  setDataFilters(newDataFilter: WebChartDataFilters | undefined): Promise<void>;
90
90
  /**
@@ -1,7 +1,7 @@
1
1
  import { WebChartStatisticType } from '../../../spec';
2
2
  import { ChartConfig, CommonStrings } from '../../../utils';
3
3
  import { SerialChartConfig } from '../../interfaces/chart-interfaces';
4
- import { LayerInfo, SerialChartDataSortingKinds } from '../../interfaces/common';
4
+ import { HeatChartDataSortingKinds, LayerInfo, SerialChartDataSortingKinds } from '../../interfaces/common';
5
5
  /**
6
6
  * Generate default series value
7
7
  * @param {number | undefined } props.seriesIndex - The series index.
@@ -46,7 +46,7 @@ export declare const getNumericFields: (config: SerialChartConfig) => string[];
46
46
  /**
47
47
  * Gets the sort order kind.
48
48
  */
49
- export declare const getSortOrderKind: (config: ChartConfig) => SerialChartDataSortingKinds;
49
+ export declare const getSortOrderKind: (config: ChartConfig) => HeatChartDataSortingKinds[] | SerialChartDataSortingKinds[];
50
50
  /**
51
51
  * Build a series array based on a list of numeric fields and aggregation type,
52
52
  * when the chart has no category field.
@@ -1,9 +1,23 @@
1
+ import { default as FeatureLayerView } from '@arcgis/core/views/layers/FeatureLayerView.js';
2
+ import { IField, WebChartOrderDataByTypes, WebChartSortOrderKinds, WebChartStatisticType } from '../../spec';
1
3
  import { ChartConfig } from '../../utils';
2
- import { IField, WebChartStatisticType } from '../../spec';
3
- import { PieChartDataModes, SerialChartDataSortingKinds } from '../interfaces/common';
4
4
  import { SerialChartConfig } from '../interfaces/chart-interfaces';
5
- import { default as FeatureLayerView } from '@arcgis/core/views/layers/FeatureLayerView.js';
5
+ import { HeatChartDataSortingKinds, PieChartDataModes, SerialChartDataSortingKinds } from '../interfaces/common';
6
6
  import { SupportedLayer } from '../../interfaces';
7
+ /**
8
+ * Gets the sort order kind for serial charts.
9
+ * @param orderBy The order by value(s)
10
+ * @param orderType The order type value
11
+ * @returns
12
+ */
13
+ export declare function getSerialChartSortOrderKind(orderBy: string[] | WebChartSortOrderKinds, orderType: Omit<WebChartOrderDataByTypes, "arcgis-charts-multi-axes">): SerialChartDataSortingKinds;
14
+ /**
15
+ * Gets the sort order kind for heat charts.
16
+ * @param orderBy The order by value(s)
17
+ * @param orderType The order type value
18
+ * @returns
19
+ */
20
+ export declare function getHeatChartSortOrderKind(orderBy: string[] | WebChartSortOrderKinds, orderType: Omit<WebChartOrderDataByTypes, "arcgis-charts-multi-axes">): HeatChartDataSortingKinds;
7
21
  /**
8
22
  * Get the sort order kind for the bar and line chart
9
23
  * @param {SerialChartConfig} config - the chart configuration
@@ -30,8 +44,9 @@ export declare const getOrderByList: (config: SerialChartConfig) => string[];
30
44
  * @param {SerialChartDataSortingKinds} newSortOrderKind - the new sort order kind
31
45
  * @param {ChartConfig} config - the chart configuration
32
46
  * @param {string[] | undefined} orderByList - the list of fields to order by
47
+ * @param {boolean | undefined} isYAxis - whether to set the sort order for y-axis (heat chart only)
33
48
  */
34
- export declare const setSortOrderKind: (newSortOrderKind: SerialChartDataSortingKinds, config: ChartConfig, orderByList?: string[]) => void;
49
+ export declare const setSortOrderKind: (newSortOrderKind: HeatChartDataSortingKinds | SerialChartDataSortingKinds, config: ChartConfig, orderByList?: string[], isYAxis?: boolean) => void;
35
50
  /**
36
51
  * Gets the x-axis field.
37
52
  * @param {ChartConfig} config - The chart config.
package/dist/model.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import { M as i } from "./chunks/common.js";
2
- import { B as m, C as y, F as g, G as w, L as C, a as f, P as u, b, S as p, T as L, c as T } from "./chunks/common.js";
2
+ import { B as m, C as y, F as g, G as C, H as w, L as f, a as u, P as b, b as p, S as L, T, c as S } from "./chunks/common.js";
3
3
  import { s as r, t as s, u as n } from "./chunks/type-guards.js";
4
- import { a as B, e as P, i as S, g as x, b as W, r as v, h as G, l as K, m as D, p as F, j as H, k as O, q as R, n as A, o as E, d as X, f as Y, c as $ } from "./chunks/type-guards.js";
4
+ import { a as B, e as P, i as x, g as W, b as K, r as v, h as D, l as G, m as H, p as F, j as O, k as R, q as A, n as E, o as X, d as Y, f as $, c as j } from "./chunks/type-guards.js";
5
5
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
6
6
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
7
- v5.0.0-next.89 */
7
+ v5.0.0-next.90 */
8
8
  async function c(t) {
9
9
  const o = "config" in t ? r(t.config) : t.chartType;
10
10
  let a;
@@ -82,32 +82,33 @@ export {
82
82
  m as BoxPlotDataSortingKinds,
83
83
  y as ColorFormatKeys,
84
84
  g as FormatKeys,
85
- w as GuideOrientation,
86
- C as LineFormatKeys,
85
+ C as GuideOrientation,
86
+ w as HeatChartDataSortingKinds,
87
+ f as LineFormatKeys,
87
88
  i as ModelTypes,
88
- f as PieChartDataModes,
89
- u as PieChartDataSortingKinds,
90
- b as PieChartSlicesDisplay,
91
- p as SerialChartDataSortingKinds,
92
- L as TextFormatKeys,
89
+ u as PieChartDataModes,
90
+ b as PieChartDataSortingKinds,
91
+ p as PieChartSlicesDisplay,
92
+ L as SerialChartDataSortingKinds,
93
+ T as TextFormatKeys,
93
94
  c as createModel,
94
- T as customSortString,
95
+ S as customSortString,
95
96
  B as isBarChartModel,
96
97
  P as isBoxPlotModel,
97
- S as isChartModel,
98
- x as isHistogramModel,
99
- W as isLineChartModel,
98
+ x as isChartModel,
99
+ W as isHistogramModel,
100
+ K as isLineChartModel,
100
101
  v as isModelOfType,
101
- G as isModelWithBasicXAxis,
102
- K as isModelWithDataLabels,
103
- D as isModelWithGuides,
102
+ D as isModelWithBasicXAxis,
103
+ G as isModelWithDataLabels,
104
+ H as isModelWithGuides,
104
105
  F as isModelWithLegend,
105
- H as isModelWithMultiAxes,
106
- O as isModelWithRotation,
107
- R as isModelWithTemporalBinning,
108
- A as isModelWithXGuides,
109
- E as isModelWithYGuides,
110
- X as isPieChartModel,
111
- Y as isScatterplotModel,
112
- $ as isSerialChartModel
106
+ O as isModelWithMultiAxes,
107
+ R as isModelWithRotation,
108
+ A as isModelWithTemporalBinning,
109
+ E as isModelWithXGuides,
110
+ X as isModelWithYGuides,
111
+ Y as isPieChartModel,
112
+ $ as isScatterplotModel,
113
+ j as isSerialChartModel
113
114
  };
@@ -213,17 +213,42 @@ export declare const WebChartOrderDataByTypes: {
213
213
  readonly Mean: "arcgis-charts-mean";
214
214
  readonly Median: "arcgis-charts-median";
215
215
  readonly Category: "arcgis-charts-category";
216
+ readonly MultiAxes: "arcgis-charts-multi-axes";
216
217
  };
217
218
  export type WebChartOrderDataByTypes = (typeof WebChartOrderDataByTypes)[keyof typeof WebChartOrderDataByTypes];
218
219
  /**
219
- * A data order option that the items are to be ordered either ascending or descending.
220
- * It can be used for any type of order, like by category, by mean, by median, etc.
220
+ * A data order option that allows the items to be ordered on both the x- and y-axes;
221
+ *
222
+ * For each axis, the order can be either a direction (ascending or descending) for all axis types;
223
+ * or a predefined list of labels when the axis is categorical.
224
+ *
225
+ * @remarks This order option is currently only used in heat charts.
226
+ */
227
+ export interface WebChartMultiAxesDataOrder {
228
+ /**
229
+ * The type of order, which is two dimensional.
230
+ */
231
+ orderType: "arcgis-charts-multi-axes";
232
+ /**
233
+ * The direction of the order for the x axis. If the axis is categorical, this can also be a predefined list of labels.
234
+ */
235
+ orderByX?: string[] | WebChartSortOrderKinds;
236
+ /**
237
+ * The direction of the order for the y axis. If the axis is categorical, this can also be a predefined list of labels.
238
+ */
239
+ orderByY?: string[] | WebChartSortOrderKinds;
240
+ }
241
+ /**
242
+ * A data order option that allows the items to be ordered either ascending or descending.
243
+ * This option can be used for the following types of order: by category, by mean, by median, and by y value.
244
+ *
245
+ * @remarks This order option is currently not available for Heat charts.
221
246
  */
222
247
  export interface WebChartDirectionalDataOrder {
223
248
  /**
224
249
  * The type of order, eg by category, by mean, by median, or by y value.
225
250
  */
226
- orderType: WebChartOrderDataByTypes;
251
+ orderType: "arcgis-charts-category" | "arcgis-charts-mean" | "arcgis-charts-median" | "arcgis-charts-y-value";
227
252
  /**
228
253
  * The direction of the order, either ascending or descending.
229
254
  */
@@ -239,7 +264,7 @@ export interface WebChartDirectionalDataOrder {
239
264
  preferLabel?: boolean;
240
265
  }
241
266
  /**
242
- * A data order option for the items to be ordered by `category` based on a predefined list of labels.
267
+ * A data order option that allows the items to be ordered by `category` based on a predefined list of labels.
243
268
  */
244
269
  export interface WebChartPredefinedLabelsDataOrder {
245
270
  /**
@@ -1,4 +1,4 @@
1
- import { GaugeChartSubTypes, SizePolicyScaleTypes, WebChartCalendarDatePartsUnits, WebChartDataTransformations, WebChartDirectionalDataOrder, WebChartHeatChartHeatRulesTypes, WebChartLabelBehavior, WebChartLegendPositions, WebChartNullPolicyTypes, WebChartOrderSeriesBy, WebChartPredefinedLabelsDataOrder, WebChartRadarChartAxisLabelsOrientation, WebChartStackedKinds, WebChartTemporalBinningUnits, WebChartTimeAggregationTypes, WebChartTypes } from './chart-object-literals';
1
+ import { GaugeChartSubTypes, SizePolicyScaleTypes, WebChartCalendarDatePartsUnits, WebChartDataTransformations, WebChartDirectionalDataOrder, WebChartHeatChartHeatRulesTypes, WebChartLabelBehavior, WebChartLegendPositions, WebChartMultiAxesDataOrder, WebChartNullPolicyTypes, WebChartOrderSeriesBy, WebChartPredefinedLabelsDataOrder, WebChartRadarChartAxisLabelsOrientation, WebChartStackedKinds, WebChartTemporalBinningUnits, WebChartTimeAggregationTypes, WebChartTypes } from './chart-object-literals';
2
2
  import { TimeIntervalInfo } from './data-source';
3
3
  import { RESTUnits } from './rest-js-object-literals';
4
4
  import { Color, IDrawingInfo, IEnvelope, IExtent, IFeatureLayer, IPoint, IPolygon, IPolygonWithCurves, IPolyline, ISimpleFillSymbol, ISimpleLineSymbol, ISimpleMarkerSymbol, IStatisticDefinition, ITextSymbol } from './rest-js-types';
@@ -6,7 +6,7 @@ import { QueryMixin } from '@arcgis/core/rest/support/QueryMixin';
6
6
  /**
7
7
  * Version of the current specification.
8
8
  */
9
- export declare const WebChartCurrentVersion = "24.6.0";
9
+ export declare const WebChartCurrentVersion = "24.7.0";
10
10
  /**
11
11
  * Stores information regarding a numeric conversion
12
12
  */
@@ -1496,10 +1496,12 @@ export interface WebChart {
1496
1496
  series?: WebChartOrderSeriesBy;
1497
1497
  /**
1498
1498
  * How data for a chart should be ordered. It is recommended to use this property over its sibling `orderByFields` to order the chart data.
1499
- *
1500
1499
  * If not provided, the data will be displayed as it was retrieved from the server. No additional ordering will be applied.
1500
+ *
1501
+ * The WebChartDirectionalDataOrder and WebChartPredefinedLabelsDataOrder are applicable to all chart types except Heat chart.
1502
+ * The WebChartMultiAxesDataOrder is specifically used for Heat chart.
1501
1503
  */
1502
- data?: WebChartDirectionalDataOrder | WebChartPredefinedLabelsDataOrder;
1504
+ data?: WebChartDirectionalDataOrder | WebChartMultiAxesDataOrder | WebChartPredefinedLabelsDataOrder;
1503
1505
  /**
1504
1506
  * The orderByFields to be sent with the query when retrieving data for the chart. It represents the desired sorting order of the output result from the server.
1505
1507
  *
@@ -1508,6 +1510,7 @@ export interface WebChart {
1508
1510
  * @example ["STATE_NAME DESC", "CITY_NAME ASC", "CITY_NAME"]
1509
1511
  *
1510
1512
  * In case both this property and its sibling `data` object are provided, the order of the chart elements are settled by the order instruction in the `data` property.
1513
+ * This property is applicable to all chart types, but Heat chart.
1511
1514
  */
1512
1515
  orderByFields?: string[];
1513
1516
  };
@@ -1589,6 +1592,14 @@ export interface WebHeatChart extends WebChart, WebChartTemporalBinningExtras {
1589
1592
  * @minItems 1
1590
1593
  */
1591
1594
  series: WebChartHeatChartSeries[];
1595
+ orderOptions?: Omit<WebChart["orderOptions"], "data" | "orderByFields"> & {
1596
+ /**
1597
+ * How data for a chart should be ordered.
1598
+ *
1599
+ * If not provided, the data will be displayed as it was retrieved from the server. No additional ordering will be applied.
1600
+ */
1601
+ data?: WebChartMultiAxesDataOrder;
1602
+ };
1592
1603
  /**
1593
1604
  * Whether to hide entire rows or columns that are empty (i.e. contain no valid data).
1594
1605
  * @default false
@@ -408,12 +408,12 @@ declare function convertTo21x1x0(configToUpdate: WebChart): WebChart;
408
408
  */
409
409
  declare function convertTo23x3x0(configToUpdate: WebChart): WebChart;
410
410
  /**
411
- * Conversion for v24.6.0:
411
+ * Conversion for v24.7.0:
412
412
  * - Converts the temporal binning properties from the old pattern to the new pattern
413
413
  * @param configToUpdate The chart's config to update
414
414
  * @returns The updated chart config
415
415
  */
416
- declare function convertTo24x6x0(configToUpdate: WebChart): WebChart;
416
+ declare function convertTo24x7x0(configToUpdate: WebChart): WebChart;
417
417
  /**
418
418
  * Apply the needed function calls depending on the current chart version.
419
419
  * Note: Additional switch cases and convertToxxx functions are to be added to this function accordingly.
@@ -501,7 +501,7 @@ export declare const chartConfigConverterPrivateFunctions: {
501
501
  convertTo20x2x0: typeof convertTo20x2x0;
502
502
  convertTo21x1x0: typeof convertTo21x1x0;
503
503
  convertTo23x3x0: typeof convertTo23x3x0;
504
- convertTo24x6x0: typeof convertTo24x6x0;
504
+ convertTo24x7x0: typeof convertTo24x7x0;
505
505
  convertTemporalBinningProps2: typeof convertTemporalBinningProps2;
506
506
  applyConversions: typeof applyConversions;
507
507
  convertDataSourceToILayer: typeof convertDataSourceToILayer;
@@ -19,7 +19,7 @@ export declare const DefaultStatNumberFormat: {
19
19
  };
20
20
  export declare const aggregationList: ("count" | "sum" | "min" | "max" | "avg" | "percentile-continuous" | "no_aggregation")[];
21
21
  export declare const pieAggregationList: ("count" | "sum")[];
22
- export declare function getFormatIcon(formatKey: FormatKeys | undefined): string | undefined;
22
+ export declare function getFormatIcon(formatKey: FormatKeys | undefined): HTMLCalciteIconElement["icon"] | undefined;
23
23
  /**
24
24
  * Validates a value entered in a numeric calcite-input.
25
25
  * Controls that the value is not undefined, not empty (invalid) and in between the [min, max] range if provided
@@ -0,0 +1,7 @@
1
+ import { WebChart, WebHeatChart } from '../../spec';
2
+ /**
3
+ * Determines if the chart config is a heat chart configuration
4
+ * @param chartConfig The chart configuration object.
5
+ * @returns True if the chart config is a heat chart configuration, false otherwise.
6
+ */
7
+ export declare function isHeatChartConfig(chartConfig: WebChart): chartConfig is WebHeatChart;
@@ -1,6 +1,6 @@
1
1
  import { WebChart, WebChartTypes } from '../../spec';
2
2
  import { CommonStrings } from '../localization/interfaces';
3
- export declare function getChartIcon(chart: WebChart): string;
3
+ export declare function getChartIcon(chart: WebChart): HTMLCalciteIconElement["icon"];
4
4
  /**
5
5
  * Fetches the chart type text based on the provided chart type.
6
6
  * @param chartType
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcgis/charts-components",
3
- "version": "5.0.0-next.89",
3
+ "version": "5.0.0-next.90",
4
4
  "description": "Reusable ArcGIS charting Web Components.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -28,8 +28,8 @@
28
28
  "dependencies": {
29
29
  "@amcharts/amcharts4": "^4.10.31",
30
30
  "@amcharts/amcharts5": "~5.14.4",
31
- "@arcgis/lumina": "5.0.0-next.89",
32
- "@arcgis/toolkit": "5.0.0-next.89",
31
+ "@arcgis/lumina": "5.0.0-next.90",
32
+ "@arcgis/toolkit": "5.0.0-next.90",
33
33
  "ajv": "6.12.6",
34
34
  "d3-array": "^3.2.1",
35
35
  "d3-shape": "^3.2.0",
@@ -43,8 +43,8 @@
43
43
  "uuid": "^11.1.0"
44
44
  },
45
45
  "peerDependencies": {
46
- "@arcgis/core": "5.0.0-next.61",
47
- "@esri/calcite-components": "^3.3.2"
46
+ "@arcgis/core": ">=5.0.0-next.62 <5.1",
47
+ "@esri/calcite-components": "^5.0.0-next.25"
48
48
  },
49
49
  "css.customData": [
50
50
  "dist/docs/vscode.css-custom-data.json"
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.89 */
4
- import b from"./ETR3G32Z.js";import{g as q}from"./WT6UCBDJ.js";import a from"./U2LF63KV.js";import{f as B}from"./XGNUEXQ2.js";import{w as v}from"./EHJ2UZ63.js";export default $arcgis.t(([,,,,,{Jc:j,Ob:S,Qc:N,Rc:T,Tc:E,Uc:M,Vc:P,k:b,mc:w,nb:f,oc:F,pc:x,rc:A,rd:$,sd:D,tc:O,x:C,zc:V},Q])=>{function re(n,t){let e;return t!==void 0&&(e={...t},e.legend!==void 0&&(e.legend.position=n)),e}function se(n,t){let e;return t!==void 0&&(e={...t},e.legend!==void 0&&(e.legend.visible=n)),e}function oe(n,t){let e;return t!==void 0&&(e={...t,rotated:n}),e}function ae(n){let t;return n!==void 0&&(t={...n},delete t.axes?.[0]?.minimum,delete t.axes?.[0]?.maximum,delete t.axes?.[1]?.minimum,delete t.axes?.[1]?.maximum),t}function ue(n,t){return t!=null||q(n)}async function J(n){let{queryObject:t,chartConfig:e,options:o,splitByField:r}=n,i=[],u,s=B(e),l=s.series[0],c=j({queryObject:t,chartConfig:s,runtimeDataFilters:o?.runtimeDataFilters,ignoreViewExtent:o?.ignoreViewExtent});if(c.outStatistics?.[0]?.outStatisticFieldName&&(c.outStatistics[0].outStatisticFieldName=C.outStatistics.outStatisticFieldName),P(l)&&M({xAxisValueFormatType:b(s),setTimeBinningInfoWhenNotProvided:o?.setTimeBinningInfoWhenNotProvided,seriesConfig:l})&&w(t)){let{temporalBinning:a,x:d}=l,{uniqueQuery:h}=await S({chartConfig:s,queryConfig:c,queryObject:t,options:o});u=await O({queryObject:t,dateField:d,splitByField:r,queryConfig:h,temporalBinning:a}),i=Array.from(new Set(u.flatMap(y=>{let{stackedAttributes:m}=y,g=[];return m&&(g=m.map(p=>p[r]).filter(p=>p!==void 0)),g})).values())}else{let{uniqueQuery:a}=await S({chartConfig:s,queryObject:t,queryConfig:c,options:o});u=await A({queryObject:t,queryConfig:a,featureCount:1}),i=Array.from(new Set(u.map(d=>d.attributes[r]).filter(d=>d!==void 0)).values())}return{allValues:i,preFetchedQueryResponse:u}}function R(n,t){let e=new Map;return n.series.forEach(o=>{let r=T({where:o.query?.where,normalize:!0,escape:!1});t&&r!==null&&(r=Number(r));let i=v([o]);i!==void 0&&e.set(i,[...e.get(i)??[],r])}),e}function U(n){let{allValues:t,configUniqueValuesPerSeriesType:e,initialConfigWasEmpty:o}=n,r=new Map;return Array.from(e.keys()).forEach(i=>{let u=e.get(i)??[],s=[];o?s=t:t.forEach(l=>{u.includes(l)||s.push(l)}),r.set(i,s)}),r}function I(n){let{chartConfig:t,missingValue:e,splitByField:o,seriesTemplate:r}=n,i=JSON.parse(JSON.stringify({...t.series[0],...r}));if(i.query){if(i.id=`${e}-${t.series.length}-${Date.now()}`,i.name=`${e}`,i.query.outStatistics?.[0]!==void 0){let s=i.id;i.query.outStatistics[0].outStatisticFieldName=s,"y"in i&&(i.y=s)}let u=typeof e=="number"||e===null?e:`'${e}'`;i.query.where=`${o}=${u}`}return i}async function L(n){let{updateSplitBySeries:t,config:e,options:o,queryObject:r}=n,{seriesTemplate:i}=t??{},u;if(t!==void 0&&e!==void 0&&(e.series.length>0||i!==void 0)&&t.addMissingSeries){let s=e.series.length===0;e.series.length===0&&i!==void 0&&e.series.push(i);let l=E(e.series);if((l===f.BoxPlotMonoFieldAndSplitBy||l===f.BoxPlotMultiFieldsAndSplitBy||l===f.BoxPlotMonoFieldAndCategoryAndSplitBy||l===f.BarAndLineSplitBy||l===f.BarAndLineSplitByNoAggregation)&&r!==void 0){let c=N(e.series[0]?.query?.where),a=F(r);await a.load();let d=a.getField(c)?.toJSON(),h=V(d),y=await J({queryObject:r,chartConfig:e,splitByField:c,options:o}),{allValues:m}=y;if({preFetchedQueryResponse:u}=y,m.length>0){let g=R(e,h),p=U({allValues:m,configUniqueValuesPerSeriesType:g,initialConfigWasEmpty:s});Array.from(p.keys()).forEach(k=>{(p.get(k)??[]).forEach(W=>{e.series.push(I({chartConfig:e,seriesTemplate:i,missingValue:W,splitByField:c}))}),s&&e.series.shift()})}}}return u}function z(n,t){t&&!q(t)&&(t=x({chartConfig:t,queryObject:n}))}async function le(n){let{configToAlter:t,layer:e,addMissingSeries:o,updateSplitBySeries:r,chartContainer:i,creation:u,queryObject:s,options:l,previousConfig:c}=n,a=t,d;return z(e,a),a=await Q(a,e),o&&(d=await L({updateSplitBySeries:r,config:a,options:l,queryObject:s})),(u||c&&$(c,a))&&(a=D(a,i)),{alteredConfig:a,preFetchedQueryResponse:d}}return{a:re,b:se,c:oe,d:ae,e:ue,f:le}},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent",a,b)