@arcgis/charts-components 5.0.0-next.4 → 5.0.0-next.42

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 (537) hide show
  1. package/dist/cdn/{IRZKAIIT.js → 23BP7J3J.js} +2 -2
  2. package/dist/cdn/{MCECYQEL.js → 27EN4MMO.js} +1 -1
  3. package/dist/cdn/2CJYKP5R.js +4 -0
  4. package/dist/cdn/2FFEC733.js +4 -0
  5. package/dist/cdn/{CJ275XU4.js → 2MNYW2BK.js} +2 -2
  6. package/dist/cdn/2NNXEDFO.js +4 -0
  7. package/dist/cdn/2P7VWK5U.js +4 -0
  8. package/dist/cdn/{S7PVBK5H.js → 2VR2AAFU.js} +2 -2
  9. package/dist/cdn/324FN4VA.js +4 -0
  10. package/dist/cdn/33ZNBSPZ.js +4 -0
  11. package/dist/cdn/{CFG6BWHU.js → 3P5MB5SI.js} +2 -2
  12. package/dist/cdn/{JI4UNOYW.js → 3Q5FZ6Y5.js} +2 -2
  13. package/dist/cdn/3QB5F25Z.js +4 -0
  14. package/dist/cdn/3RHDQAKH.js +4 -0
  15. package/dist/cdn/3RTTWY2T.js +4 -0
  16. package/dist/cdn/{4LXKAKH2.js → 46PFIWXL.js} +2 -2
  17. package/dist/cdn/{6OOD4LGL.js → 4BKAOSJT.js} +2 -2
  18. package/dist/cdn/{JYOVFITP.js → 4BOVZRXK.js} +2 -2
  19. package/dist/cdn/4CFM3HK3.js +4 -0
  20. package/dist/cdn/4DYIRSPX.js +4 -0
  21. package/dist/cdn/4GN5B4H7.js +4 -0
  22. package/dist/cdn/4IKPFSZB.js +4 -0
  23. package/dist/cdn/{ETWNVAK6.js → 4IM57YI4.js} +2 -2
  24. package/dist/cdn/4NDH2KXT.js +4 -0
  25. package/dist/cdn/4PJAS6WR.js +4 -0
  26. package/dist/cdn/{S4T5AQ4M.js → 4QJSZUMD.js} +2 -2
  27. package/dist/cdn/{XGDUULNK.js → 4XA7NYTT.js} +2 -2
  28. package/dist/cdn/4ZF4J4CO.js +4 -0
  29. package/dist/cdn/4ZHADPUO.js +4 -0
  30. package/dist/cdn/5424GNYE.js +4 -0
  31. package/dist/cdn/{YDAIHWZS.js → 5D4M7WLR.js} +2 -2
  32. package/dist/cdn/5HGFV45P.js +4 -0
  33. package/dist/cdn/636S2GYM.js +4 -0
  34. package/dist/cdn/{7JODQO5M.js → 6CCZMDGP.js} +2 -2
  35. package/dist/cdn/6DCZUWOC.js +4 -0
  36. package/dist/cdn/{L7Q66XTZ.js → 6HMCETVU.js} +2 -2
  37. package/dist/cdn/{6RITOQRE.js → 6J75BACN.js} +2 -2
  38. package/dist/cdn/75P5CNL6.js +4 -0
  39. package/dist/cdn/76SUJNXZ.js +4 -0
  40. package/dist/cdn/{DH6JYYIL.js → 7DDSQXOV.js} +2 -2
  41. package/dist/cdn/{VE4GUPP2.js → 7FTD3UBT.js} +2 -2
  42. package/dist/cdn/7HAAEQFY.js +4 -0
  43. package/dist/cdn/{FQBAURSX.js → 7JE77EWX.js} +2 -2
  44. package/dist/cdn/7WUYXW5X.js +4 -0
  45. package/dist/cdn/A2IQ7IX7.js +4 -0
  46. package/dist/cdn/AGYWWXKP.js +4 -0
  47. package/dist/cdn/AKUZFXLE.js +4 -0
  48. package/dist/cdn/{DQK7BSUW.js → ARV2ETE2.js} +2 -2
  49. package/dist/cdn/{3RWMBH3I.js → B2LNOYNN.js} +2 -2
  50. package/dist/cdn/B5ZYGPTM.js +4 -0
  51. package/dist/cdn/BKJJCG3W.js +4 -0
  52. package/dist/cdn/BN2LANTG.js +4 -0
  53. package/dist/cdn/BXRCILI6.js +4 -0
  54. package/dist/cdn/{X22T3KKM.js → CA3GGQGW.js} +2 -2
  55. package/dist/cdn/{JFSAPOGV.js → CMHTYOYY.js} +2 -2
  56. package/dist/cdn/{GWMAIDFR.js → CPFBWPIM.js} +2 -2
  57. package/dist/cdn/CRLIXD3T.js +4 -0
  58. package/dist/cdn/CZJD3ZL4.js +4 -0
  59. package/dist/cdn/D3VFLBE6.js +4 -0
  60. package/dist/cdn/DMJLD24S.js +4 -0
  61. package/dist/cdn/DOVKMPXH.js +4 -0
  62. package/dist/cdn/{JAT727M4.js → DTVF7FOX.js} +2 -2
  63. package/dist/cdn/DUIVRMLJ.js +4 -0
  64. package/dist/cdn/EB6TNULS.js +4 -0
  65. package/dist/cdn/{G2YNALPI.js → EDDW4TRJ.js} +2 -2
  66. package/dist/cdn/EFM7QME4.js +4 -0
  67. package/dist/cdn/EHYLRSNQ.js +4 -0
  68. package/dist/cdn/{4MH6EDOJ.js → EL4377PV.js} +2 -2
  69. package/dist/cdn/EM23MVSL.js +4 -0
  70. package/dist/cdn/EQGTUATN.js +4 -0
  71. package/dist/cdn/FATULKRI.js +4 -0
  72. package/dist/cdn/{DVQHHAGO.js → FJ5C3P7X.js} +2 -2
  73. package/dist/cdn/{I37V2JO3.js → FQJQS7SD.js} +2 -2
  74. package/dist/cdn/{B6YQ4QEG.js → FRZ3BASO.js} +2 -2
  75. package/dist/cdn/FUJJWTTH.js +4 -0
  76. package/dist/cdn/G2EZCHK4.js +4 -0
  77. package/dist/cdn/G2YV5RKB.js +4 -0
  78. package/dist/cdn/{XV3PGOV6.js → G4SMYPYO.js} +2 -2
  79. package/dist/cdn/GEAT4GWR.js +4 -0
  80. package/dist/cdn/GGVEJRBE.js +4 -0
  81. package/dist/cdn/GJIRVBCD.js +4 -0
  82. package/dist/cdn/{GSQPRROD.js → GTOLQFOO.js} +1 -1
  83. package/dist/cdn/{3MBGYMFR.js → H2HMORP3.js} +2 -2
  84. package/dist/cdn/HEBBDRKG.js +4 -0
  85. package/dist/cdn/HMPMOR2W.js +4 -0
  86. package/dist/cdn/{VZFHCTN6.js → HWHCR4XP.js} +2 -2
  87. package/dist/cdn/{ENFYCO6Y.js → I6GFNM62.js} +2 -2
  88. package/dist/cdn/{JX5UB5EC.js → IC3NQVZC.js} +2 -2
  89. package/dist/cdn/IF4BXNPM.js +4 -0
  90. package/dist/cdn/IIC333MB.js +6 -0
  91. package/dist/cdn/ISKI56BG.js +4 -0
  92. package/dist/cdn/{5VHSBJY5.js → IVABGNNQ.js} +2 -2
  93. package/dist/cdn/{42JULKHJ.js → JXUHPOCG.js} +2 -2
  94. package/dist/cdn/{X36VPED7.js → KWFO56N2.js} +2 -2
  95. package/dist/cdn/{R42W4J6D.js → L5X2F6PK.js} +2 -2
  96. package/dist/cdn/{BX2R4UF4.js → L7JUL45N.js} +2 -2
  97. package/dist/cdn/LDS7IG3K.js +4 -0
  98. package/dist/cdn/LMDCA24L.js +4 -0
  99. package/dist/cdn/LUOYSBNA.js +4 -0
  100. package/dist/cdn/MAHUSLDA.js +4 -0
  101. package/dist/cdn/MI5JMKZT.js +4 -0
  102. package/dist/cdn/{J4MDZ7ET.js → MNC73CMP.js} +2 -2
  103. package/dist/cdn/MUCHTIH4.js +4 -0
  104. package/dist/cdn/MV5PGTND.js +42 -0
  105. package/dist/cdn/MXNUOJJO.js +4 -0
  106. package/dist/cdn/{O46V6LSJ.js → MYMIV37B.js} +2 -2
  107. package/dist/cdn/NA7PVPS4.js +4 -0
  108. package/dist/cdn/NCBLL6AR.js +4 -0
  109. package/dist/cdn/NDXW2RTX.js +4 -0
  110. package/dist/cdn/NHCMKKFB.js +4 -0
  111. package/dist/cdn/NKZD5HJU.js +4 -0
  112. package/dist/cdn/NSXBWLED.js +4 -0
  113. package/dist/cdn/NYDAAPUI.js +4 -0
  114. package/dist/cdn/OKXPLBH2.js +4 -0
  115. package/dist/cdn/OQEQSDMX.js +4 -0
  116. package/dist/cdn/P2HPWKNC.js +4 -0
  117. package/dist/cdn/{AISJHTWW.js → P3VXV2NM.js} +2 -2
  118. package/dist/cdn/{BPIKEEVZ.js → Q7WGV65P.js} +1 -1
  119. package/dist/cdn/{XUDQTQ2B.js → QFKW763T.js} +2 -2
  120. package/dist/cdn/QLZKMEJR.js +4 -0
  121. package/dist/cdn/{SS2WV4YY.js → QVLL3HWJ.js} +2 -2
  122. package/dist/cdn/R5AZF5B2.js +4 -0
  123. package/dist/cdn/RKCV3SQQ.js +4 -0
  124. package/dist/cdn/RSEOOILA.js +4 -0
  125. package/dist/cdn/{YBCMFT4P.js → RV4BOFWS.js} +2 -2
  126. package/dist/cdn/RVBUIIDC.js +4 -0
  127. package/dist/cdn/{6Y2WTGYS.js → RWD7PAYU.js} +1 -1
  128. package/dist/cdn/{J6LD6RWO.js → SD54GBC2.js} +2 -2
  129. package/dist/cdn/SHLVYIU6.js +4 -0
  130. package/dist/cdn/SMEEFZLP.js +4 -0
  131. package/dist/cdn/{Y3L2K7EC.js → SNBDA5XK.js} +2 -2
  132. package/dist/cdn/{KLVSGHXQ.js → SQHVIYQB.js} +1 -1
  133. package/dist/cdn/SRTNL3QI.js +4 -0
  134. package/dist/cdn/{4Y76B53C.js → STTNYOA4.js} +1 -1
  135. package/dist/cdn/SU63VSWH.js +4 -0
  136. package/dist/cdn/{ZEDBVEQU.js → T5ONIZ2L.js} +2 -2
  137. package/dist/cdn/TBTZ2GX7.js +4 -0
  138. package/dist/cdn/{4EAY23CO.js → TCEW3S2Q.js} +2 -2
  139. package/dist/cdn/{WTLGREJQ.js → TJNDHM3W.js} +2 -2
  140. package/dist/cdn/TL2TLVEE.js +4 -0
  141. package/dist/cdn/{EEA6D5WP.js → TL7KW76E.js} +2 -2
  142. package/dist/cdn/TLEN6ISK.js +4 -0
  143. package/dist/cdn/TNXL3QAS.js +4 -0
  144. package/dist/cdn/TXAVRTOV.js +58 -0
  145. package/dist/cdn/U4YDTBPQ.js +4 -0
  146. package/dist/cdn/{DWBQZV5P.js → URZEK6GI.js} +2 -2
  147. package/dist/cdn/{RH5OUTAK.js → UT2XQ6MS.js} +2 -2
  148. package/dist/cdn/UUTYM5NH.js +4 -0
  149. package/dist/cdn/{VHG2HOUR.js → UYDY3K6D.js} +1 -1
  150. package/dist/cdn/UYIXVVBM.js +4 -0
  151. package/dist/cdn/VFCYMUSV.js +4 -0
  152. package/dist/cdn/VMXJ4IDL.js +4 -0
  153. package/dist/cdn/VVJ3KZ5T.js +4 -0
  154. package/dist/cdn/{QJARG3WZ.js → VX2JGZIO.js} +2 -2
  155. package/dist/cdn/W6PLN5C2.js +4 -0
  156. package/dist/cdn/{QTKLPYRG.js → W7OAVHYC.js} +2 -2
  157. package/dist/cdn/{EYJ7E6M7.js → W7WSNFTV.js} +2 -2
  158. package/dist/cdn/WNFGFY2S.js +4 -0
  159. package/dist/cdn/WNFYVZVG.js +4 -0
  160. package/dist/cdn/WWKWK4B6.js +4 -0
  161. package/dist/cdn/WXKT2AG2.js +4 -0
  162. package/dist/cdn/{UJIV2GMU.js → X4H4RBYA.js} +2 -2
  163. package/dist/cdn/X7W57GSM.js +4 -0
  164. package/dist/cdn/{B4OGLXF4.js → XBBHVZ25.js} +2 -2
  165. package/dist/cdn/XCGHWSFI.js +4 -0
  166. package/dist/cdn/XLEXQ3RY.js +4 -0
  167. package/dist/cdn/{4HN3TSXU.js → XQY4AL4K.js} +2 -2
  168. package/dist/cdn/XRZ2XSGM.js +4 -0
  169. package/dist/cdn/XTPFWVER.js +4 -0
  170. package/dist/cdn/{RQWOQMQU.js → XYHKFNKH.js} +2 -2
  171. package/dist/cdn/Y6G4P3KK.js +4 -0
  172. package/dist/cdn/YBTGAQJ2.js +4 -0
  173. package/dist/cdn/{J5NQV6XX.js → YLUZCRRG.js} +2 -2
  174. package/dist/cdn/{I5BOKXFX.js → YO5WHYVO.js} +2 -2
  175. package/dist/cdn/YPGRHGFA.js +4 -0
  176. package/dist/cdn/Z457REJ7.js +4 -0
  177. package/dist/cdn/Z5PN3JQR.js +4 -0
  178. package/dist/cdn/ZJFB5WDL.js +4 -0
  179. package/dist/cdn/{7TE6OUWS.js → ZLW36FK2.js} +2 -2
  180. package/dist/cdn/ZO2HZH2Z.js +4 -0
  181. package/dist/cdn/assets/common/t9n/messages.en.json +1 -1
  182. package/dist/cdn/index.js +2 -2
  183. package/dist/chart-rendering/common/axes/index.d.ts +1 -1
  184. package/dist/chart-rendering/common/color-match/renderer-color-match/index.d.ts +0 -1
  185. package/dist/chart-rendering/common/config-utils/index.d.ts +13 -120
  186. package/dist/chart-rendering/common/data/index.d.ts +9 -6
  187. package/dist/chart-rendering/common/data/selection/filter/index.d.ts +9 -0
  188. package/dist/chart-rendering/common/data/selection/filter/interfaces.d.ts +3 -0
  189. package/dist/chart-rendering/common/data/utils/misc/index.d.ts +3 -166
  190. package/dist/chart-rendering/common/data/utils/query-parser/time-binning/index.d.ts +13 -0
  191. package/dist/chart-rendering/common/data/utils/selection/index.d.ts +2 -2
  192. package/dist/chart-rendering/common/data/utils/summarize-data/index.d.ts +2 -0
  193. package/dist/chart-rendering/common/data/utils/summarize-data/interfaces.d.ts +5 -1
  194. package/dist/chart-rendering/common/data/utils/summarize-data/time-binning/index.d.ts +2 -2
  195. package/dist/chart-rendering/common/defaults/interfaces.d.ts +6 -8
  196. package/dist/chart-rendering/common/error-utils/index.d.ts +2 -2
  197. package/dist/chart-rendering/common/events/index.d.ts +2 -4
  198. package/dist/chart-rendering/common/interfaces.d.ts +22 -8
  199. package/dist/chart-rendering/common/loading-indicator/index.d.ts +4 -0
  200. package/dist/chart-rendering/common/memory-storage/interfaces.d.ts +2 -3
  201. package/dist/chart-rendering/common/series/pie-chart/index.d.ts +1 -1
  202. package/dist/chart-rendering/common/symbols/utils/index.d.ts +9 -0
  203. package/dist/chart-rendering/common/t9n/errors/index.d.ts +1 -1
  204. package/dist/chart-rendering/next/chart-library-elements/axes/gauge/index.d.ts +1 -1
  205. package/dist/chart-rendering/next/chart-library-elements/axes/histogram/index.d.ts +8 -2
  206. package/dist/chart-rendering/next/chart-library-elements/axes/index.d.ts +9 -2
  207. package/dist/chart-rendering/next/chart-library-elements/axes/utils/axis-format/index.d.ts +1 -1
  208. package/dist/chart-rendering/next/chart-library-elements/labels/data-label/pie-chart/index.d.ts +1 -1
  209. package/dist/chart-rendering/next/chart-library-elements/labels/data-label/utils.d.ts +6 -1
  210. package/dist/chart-rendering/next/chart-library-elements/legend/heat-legend/index.d.ts +1 -1
  211. package/dist/chart-rendering/next/chart-library-elements/line-fill-marker/index.d.ts +1 -1
  212. package/dist/chart-rendering/next/chart-library-elements/line-fill-marker/interfaces.d.ts +0 -1
  213. package/dist/chart-rendering/next/chart-library-elements/loading-indicator/index.d.ts +1 -1
  214. package/dist/chart-rendering/next/chart-library-elements/loading-indicator/interfaces.d.ts +0 -4
  215. package/dist/chart-rendering/next/chart-library-elements/series/bar-chart/index.d.ts +1 -1
  216. package/dist/chart-rendering/next/chart-library-elements/series/index.d.ts +1 -1
  217. package/dist/chart-rendering/next/chart-library-elements/series/interfaces.d.ts +1 -1
  218. package/dist/chart-rendering/next/chart-library-elements/series/scatter-plot/interfaces.d.ts +1 -0
  219. package/dist/chart-rendering/next/chart-library-elements/series/utils/index.d.ts +3 -4
  220. package/dist/chart-rendering/next/chart-library-elements/symbols/utils/property-map/index.d.ts +1 -9
  221. package/dist/chart-rendering/next/chart-library-elements/tooltips/bar-chart/index.d.ts +2 -1
  222. package/dist/chart-rendering/next/chart-library-elements/tooltips/heat-chart/index.d.ts +4 -4
  223. package/dist/chart-rendering/next/chart-library-elements/tooltips/histogram/index.d.ts +3 -2
  224. package/dist/chart-rendering/next/chart-library-elements/tooltips/pie-chart/index.d.ts +2 -2
  225. package/dist/chart-rendering/next/chart-library-elements/tooltips/scatter-plot/index.d.ts +6 -1
  226. package/dist/chart-rendering/next/chart-library-elements/tooltips/utils/index.d.ts +22 -4
  227. package/dist/chart-rendering/next/defaults/index.d.ts +3 -0
  228. package/dist/chart-rendering/next/index.d.ts +2 -2
  229. package/dist/chart-rendering/next/interfaces.d.ts +3 -0
  230. package/dist/chart-rendering/next/utils/chart-modal/index.d.ts +4 -4
  231. package/dist/chart-rendering/next/utils/index.d.ts +15 -7
  232. package/dist/chart-rendering/stable/chart-library-elements/axes/histogram/index.d.ts +1 -1
  233. package/dist/chart-rendering/stable/chart-library-elements/axes/index.d.ts +1 -1
  234. package/dist/chart-rendering/stable/chart-library-elements/axes/scatter-plot/index.d.ts +1 -1
  235. package/dist/chart-rendering/stable/chart-library-elements/axes/utils/axis-format/index.d.ts +1 -1
  236. package/dist/chart-rendering/stable/chart-library-elements/axes/utils/axis-renderer/index.d.ts +2 -2
  237. package/dist/chart-rendering/stable/chart-library-elements/label/utils/gauge/index.d.ts +5 -0
  238. package/dist/chart-rendering/stable/chart-library-elements/line-fill-marker/interfaces.d.ts +0 -1
  239. package/dist/chart-rendering/stable/chart-library-elements/loading-indicator/index.d.ts +2 -1
  240. package/dist/chart-rendering/stable/chart-library-elements/loading-indicator/interfaces.d.ts +0 -4
  241. package/dist/chart-rendering/stable/chart-library-elements/series/histogram/index.d.ts +1 -1
  242. package/dist/chart-rendering/stable/chart-library-elements/series/histogram/interfaces.d.ts +1 -1
  243. package/dist/chart-rendering/stable/chart-library-elements/series/interfaces.d.ts +1 -1
  244. package/dist/chart-rendering/stable/chart-library-elements/series/pie-chart/index.d.ts +1 -1
  245. package/dist/chart-rendering/stable/chart-library-elements/series/scatter-plot/index.d.ts +1 -1
  246. package/dist/chart-rendering/stable/chart-library-elements/series/scatter-plot/interfaces.d.ts +1 -1
  247. package/dist/chart-rendering/stable/chart-library-elements/symbols/utils/property-map/index.d.ts +1 -9
  248. package/dist/chart-rendering/stable/index.d.ts +8 -4
  249. package/dist/chart-rendering/stable/interfaces.d.ts +2 -1
  250. package/dist/chart-rendering/stable/utils/error-modal/index.d.ts +8 -10
  251. package/dist/chart-rendering/stable/utils/memory-storage/interfaces.d.ts +1 -0
  252. package/dist/chart-rendering/stable/utils/misc/index.d.ts +2 -8
  253. package/dist/chunks/action-bar-utils.js +32 -24
  254. package/dist/chunks/axis-model-wrapper.js +1 -1
  255. package/dist/chunks/bar-chart-model.js +22 -13
  256. package/dist/chunks/bar-chart-series.js +21 -12
  257. package/dist/chunks/baseline-stacking.js +49 -40
  258. package/dist/chunks/bg_BG.js +1 -1
  259. package/dist/chunks/bg_BG2.js +1 -1
  260. package/dist/chunks/box-plot-data.js +231 -207
  261. package/dist/chunks/box-plot-model.js +57 -51
  262. package/dist/chunks/chart-ui-utils.js +17 -23
  263. package/dist/chunks/chart-ui-utils2.js +58 -50
  264. package/dist/chunks/combo-bar-line-chart-model.js +52 -57
  265. package/dist/chunks/common.js +1 -1
  266. package/dist/chunks/config-update.js +146 -5393
  267. package/dist/chunks/data.js +61 -924
  268. package/dist/chunks/default.js +1 -1
  269. package/dist/chunks/gauge-model.js +31 -23
  270. package/dist/chunks/heat-chart-model.js +176 -51
  271. package/dist/chunks/histogram-data.js +55 -47
  272. package/dist/chunks/histogram-model.js +19 -11
  273. package/dist/chunks/index.js +23743 -2182
  274. package/dist/chunks/index2.js +670 -36
  275. package/dist/chunks/index3.js +90 -63
  276. package/dist/chunks/index4.js +62 -91
  277. package/dist/chunks/interfaces.js +90 -16256
  278. package/dist/chunks/line-chart-model.js +17 -9
  279. package/dist/chunks/model-with-baseline-stacking.js +18 -28
  280. package/dist/chunks/model-with-data-labels.js +30 -21
  281. package/dist/chunks/model-with-multi-axes.js +166 -203
  282. package/dist/chunks/model-with-rotation.js +14 -5
  283. package/dist/chunks/pie-chart-data.js +144 -128
  284. package/dist/chunks/pie-chart-model.js +81 -73
  285. package/dist/chunks/popover-ui-utils.js +1 -1
  286. package/dist/chunks/radar-chart-model.js +15 -7
  287. package/dist/chunks/resource.js +1 -1
  288. package/dist/chunks/rest-js-object-literals.js +1 -1
  289. package/dist/chunks/runtime.js +1 -1
  290. package/dist/chunks/scatterplot-model.js +44 -36
  291. package/dist/chunks/serial-chart-data.js +912 -0
  292. package/dist/chunks/serial-chart-model.js +60 -46
  293. package/dist/chunks/series-types.js +1 -1
  294. package/dist/chunks/series.js +18 -9
  295. package/dist/chunks/sk_SK.js +1 -1
  296. package/dist/chunks/store.js +22 -13
  297. package/dist/chunks/type-guards.js +1 -1
  298. package/dist/chunks/useT9n.js +1 -1
  299. package/dist/chunks/web-component-utils.js +204 -189
  300. package/dist/components/arcgis-chart/customElement.d.ts +21 -16
  301. package/dist/components/arcgis-chart/customElement.js +8032 -7814
  302. package/dist/components/arcgis-charts-action-bar/customElement.d.ts +2 -3
  303. package/dist/components/arcgis-charts-action-bar/customElement.js +24 -16
  304. package/dist/components/arcgis-charts-config-axes/customElement.js +2 -2
  305. package/dist/components/arcgis-charts-config-axis/customElement.js +24 -24
  306. package/dist/components/arcgis-charts-config-axis/resource.d.ts +0 -1
  307. package/dist/components/arcgis-charts-config-bar-chart/customElement.d.ts +5 -0
  308. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +45 -41
  309. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +116 -109
  310. package/dist/components/arcgis-charts-config-bar-chart-data/resource.d.ts +0 -1
  311. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +34 -27
  312. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +25 -15
  313. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.d.ts +1 -1
  314. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +19 -10
  315. package/dist/components/arcgis-charts-config-box-plot/customElement.js +34 -30
  316. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +36 -23
  317. package/dist/components/arcgis-charts-config-box-plot-data/resource.d.ts +0 -1
  318. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.d.ts +10 -0
  319. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +31 -24
  320. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +13 -4
  321. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +24 -15
  322. package/dist/components/arcgis-charts-config-category-format/customElement.js +3 -3
  323. package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +27 -24
  324. package/dist/components/arcgis-charts-config-color-style/customElement.js +4 -4
  325. package/dist/components/arcgis-charts-config-colors/customElement.d.ts +1 -1
  326. package/dist/components/arcgis-charts-config-colors/customElement.js +6 -6
  327. package/dist/components/arcgis-charts-config-create-flow/customElement.js +143 -148
  328. package/dist/components/arcgis-charts-config-field-select/customElement.js +2 -2
  329. package/dist/components/arcgis-charts-config-font-style/customElement.js +24 -15
  330. package/dist/components/arcgis-charts-config-format/customElement.js +34 -25
  331. package/dist/components/arcgis-charts-config-format-popover/customElement.js +13 -4
  332. package/dist/components/arcgis-charts-config-general/customElement.js +27 -18
  333. package/dist/components/arcgis-charts-config-guide/customElement.js +23 -24
  334. package/dist/components/arcgis-charts-config-guide-popover/customElement.js +17 -8
  335. package/dist/components/arcgis-charts-config-guides/customElement.js +32 -36
  336. package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +21 -12
  337. package/dist/components/arcgis-charts-config-histogram/customElement.js +37 -33
  338. package/dist/components/arcgis-charts-config-histogram-data/customElement.d.ts +5 -0
  339. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +29 -20
  340. package/dist/components/arcgis-charts-config-histogram-popover/customElement.d.ts +5 -0
  341. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +17 -8
  342. package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +2 -2
  343. package/dist/components/arcgis-charts-config-line-chart/customElement.d.ts +5 -0
  344. package/dist/components/arcgis-charts-config-line-chart/customElement.js +37 -33
  345. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +69 -52
  346. package/dist/components/arcgis-charts-config-line-chart-data/resource.d.ts +0 -1
  347. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +24 -15
  348. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +36 -27
  349. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +19 -10
  350. package/dist/components/arcgis-charts-config-line-style/customElement.d.ts +10 -0
  351. package/dist/components/arcgis-charts-config-line-style/customElement.js +4 -4
  352. package/dist/components/arcgis-charts-config-number-format/customElement.js +10 -10
  353. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +48 -44
  354. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +48 -35
  355. package/dist/components/arcgis-charts-config-pie-chart-data/resource.d.ts +0 -1
  356. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +45 -36
  357. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +31 -22
  358. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +15 -6
  359. package/dist/components/arcgis-charts-config-scatter-plot/customElement.d.ts +5 -0
  360. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +33 -29
  361. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +60 -45
  362. package/dist/components/arcgis-charts-config-scatter-plot-data/resource.d.ts +0 -1
  363. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +22 -13
  364. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +24 -11
  365. package/dist/components/arcgis-charts-config-view-charts/customElement.js +22 -13
  366. package/dist/docs/api.json +28 -95
  367. package/dist/docs/docs.json +116 -100
  368. package/dist/docs/vscode.html-custom-data.json +6 -2
  369. package/dist/docs/web-types.json +13 -8
  370. package/dist/index.js +426 -406
  371. package/dist/json-schema/index.d.ts +13 -2
  372. package/dist/loader.js +2 -2
  373. package/dist/model/box-plot-model/box-plot-model.d.ts +2 -4
  374. package/dist/model/box-plot-model/utils/box-plot-data.d.ts +2 -0
  375. package/dist/model/chart-model/chart-model.d.ts +8 -23
  376. package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +30 -43
  377. package/dist/model/heat-chart-model/heat-chart-model.d.ts +75 -10
  378. package/dist/model/heat-chart-model/utils/heat-chart-data.d.ts +61 -6
  379. package/dist/model/mixins/model-with-baseline-stacking.d.ts +4 -10
  380. package/dist/model/mixins/model-with-line-marker-styling.d.ts +13 -17
  381. package/dist/model/mixins/model-with-multi-axes.d.ts +24 -50
  382. package/dist/model/mixins/utils/baseline-stacking.d.ts +5 -11
  383. package/dist/model/mixins/utils/line-marker-styling.d.ts +18 -23
  384. package/dist/model/pie-chart-model/pie-chart-model.d.ts +6 -4
  385. package/dist/model/serial-chart-model/serial-chart-model.d.ts +6 -4
  386. package/dist/model/shared/axes.d.ts +0 -3
  387. package/dist/model/shared/data.d.ts +44 -2
  388. package/dist/model.js +1 -1
  389. package/dist/spec/data-source.d.ts +11 -0
  390. package/dist/spec/web-chart.d.ts +6 -4
  391. package/dist/store.d.ts +24 -3
  392. package/dist/types/lumina.d.ts +1 -1
  393. package/dist/types/preact.d.ts +1 -1
  394. package/dist/types/preact10.d.ts +1 -1
  395. package/dist/types/react.d.ts +1 -1
  396. package/dist/types/stencil.d.ts +1 -1
  397. package/dist/utils/chart-config/converter/index.d.ts +27 -3
  398. package/dist/utils/chart-config/utils/index.d.ts +260 -1
  399. package/dist/utils/chart-config/validator/index.d.ts +10 -10
  400. package/dist/utils/components/config-update.d.ts +21 -8
  401. package/dist/utils/components/data-update.d.ts +36 -0
  402. package/dist/utils/components/watch-handlers.d.ts +12 -12
  403. package/dist/utils/components/web-component-utils.d.ts +8 -2
  404. package/dist/utils/data/interfaces.d.ts +30 -2
  405. package/dist/utils/data/time-binning/interfaces.d.ts +0 -4
  406. package/dist/utils/defaults/index.d.ts +1 -1
  407. package/dist/utils/defaults/interfaces.d.ts +1 -1
  408. package/dist/utils/layer/index.d.ts +44 -1
  409. package/dist/utils/layer/interfaces.d.ts +1 -0
  410. package/dist/utils/layer/query-features/index.d.ts +3 -3
  411. package/dist/utils/layer/query-parser/index.d.ts +8 -0
  412. package/dist/utils/layer/utils/index.d.ts +3 -3
  413. package/dist/utils/misc/index.d.ts +1 -1
  414. package/dist/utils/misc/interfaces.d.ts +1 -1
  415. package/dist/utils/ui/chart-ui-utils.d.ts +2 -1
  416. package/package.json +5 -5
  417. package/dist/cdn/2HIESHCK.js +0 -4
  418. package/dist/cdn/2JOGVVDJ.js +0 -4
  419. package/dist/cdn/2OR3NHGS.js +0 -4
  420. package/dist/cdn/2T3FKIKD.js +0 -4
  421. package/dist/cdn/3FPVN4WA.js +0 -4
  422. package/dist/cdn/3VT6VDXV.js +0 -6
  423. package/dist/cdn/3XDQPIZW.js +0 -4
  424. package/dist/cdn/4LFWDONF.js +0 -4
  425. package/dist/cdn/4QX45F5S.js +0 -4
  426. package/dist/cdn/4UCYNEJJ.js +0 -4
  427. package/dist/cdn/4XMAIN2E.js +0 -4
  428. package/dist/cdn/5O5PYF2D.js +0 -4
  429. package/dist/cdn/5PBT5VWS.js +0 -4
  430. package/dist/cdn/5V3CXHDL.js +0 -4
  431. package/dist/cdn/5YIO2GLZ.js +0 -4
  432. package/dist/cdn/6354Q7NB.js +0 -4
  433. package/dist/cdn/6CCMPHJI.js +0 -4
  434. package/dist/cdn/6MIYMT56.js +0 -4
  435. package/dist/cdn/73GA5EXO.js +0 -4
  436. package/dist/cdn/76CEXLKL.js +0 -4
  437. package/dist/cdn/7PMS3DYX.js +0 -4
  438. package/dist/cdn/A7F3IPBY.js +0 -4
  439. package/dist/cdn/ALNWHMNW.js +0 -4
  440. package/dist/cdn/AVER3U52.js +0 -4
  441. package/dist/cdn/AXPN4FNV.js +0 -4
  442. package/dist/cdn/BBT33245.js +0 -4
  443. package/dist/cdn/BO6GDR27.js +0 -4
  444. package/dist/cdn/BP7HF2AD.js +0 -4
  445. package/dist/cdn/CF277RPC.js +0 -4
  446. package/dist/cdn/CFKF5LDT.js +0 -4
  447. package/dist/cdn/CK5IM3GO.js +0 -4
  448. package/dist/cdn/CRP2AMFE.js +0 -4
  449. package/dist/cdn/DCYBICHJ.css +0 -1
  450. package/dist/cdn/DTVGPIJ3.js +0 -4
  451. package/dist/cdn/E3QCVPG4.js +0 -4
  452. package/dist/cdn/E6O5I55W.js +0 -4
  453. package/dist/cdn/EKB3B7EF.js +0 -4
  454. package/dist/cdn/FBWO7D6S.js +0 -4
  455. package/dist/cdn/FN6TDQYA.js +0 -4
  456. package/dist/cdn/FRJUF57I.js +0 -4
  457. package/dist/cdn/FXQUU3E2.js +0 -4
  458. package/dist/cdn/GMBZEXQX.js +0 -42
  459. package/dist/cdn/GVRKARMU.js +0 -4
  460. package/dist/cdn/H4KX74BW.js +0 -4
  461. package/dist/cdn/H5E32YO2.js +0 -4
  462. package/dist/cdn/H6M72SCY.js +0 -4
  463. package/dist/cdn/HAJ3HITN.js +0 -4
  464. package/dist/cdn/HCZAZ5NC.js +0 -4
  465. package/dist/cdn/HMCSR3Q5.js +0 -4
  466. package/dist/cdn/I6SMUBK4.js +0 -4
  467. package/dist/cdn/IBJ3ADC7.js +0 -4
  468. package/dist/cdn/II4CG7JE.js +0 -4
  469. package/dist/cdn/IIGVC6UH.js +0 -4
  470. package/dist/cdn/IMXTIBFY.js +0 -4
  471. package/dist/cdn/IPIPBPC6.js +0 -4
  472. package/dist/cdn/IRT42ZDF.js +0 -4
  473. package/dist/cdn/ITJI4AFT.js +0 -4
  474. package/dist/cdn/IVQM662J.js +0 -4
  475. package/dist/cdn/J7BOL2US.js +0 -4
  476. package/dist/cdn/J7XKLSKH.js +0 -4
  477. package/dist/cdn/J7YWPXDD.js +0 -4
  478. package/dist/cdn/JM4VWVPS.js +0 -4
  479. package/dist/cdn/JMDCNX7N.js +0 -4
  480. package/dist/cdn/JNE4Z6G5.js +0 -4
  481. package/dist/cdn/KC2RQX4R.js +0 -4
  482. package/dist/cdn/KEEA57RQ.js +0 -4
  483. package/dist/cdn/KHMU6HLZ.js +0 -58
  484. package/dist/cdn/L6KF75O5.js +0 -4
  485. package/dist/cdn/MCWQHEPF.js +0 -4
  486. package/dist/cdn/MQX4DPA6.js +0 -4
  487. package/dist/cdn/NAQM6RP7.js +0 -4
  488. package/dist/cdn/NDW2U7KB.js +0 -4
  489. package/dist/cdn/NPMQQH4S.js +0 -4
  490. package/dist/cdn/NRHWX6SR.js +0 -4
  491. package/dist/cdn/O73SAQIW.js +0 -4
  492. package/dist/cdn/OQTZ7B6W.js +0 -4
  493. package/dist/cdn/OWMDCQRI.js +0 -4
  494. package/dist/cdn/P5U4M276.js +0 -4
  495. package/dist/cdn/P7NTKSG6.js +0 -4
  496. package/dist/cdn/P7PPAJGS.js +0 -4
  497. package/dist/cdn/PPV5OKLH.js +0 -4
  498. package/dist/cdn/QFMSUZRQ.js +0 -4
  499. package/dist/cdn/QGLIMHMS.js +0 -4
  500. package/dist/cdn/QY3ZJ6XT.js +0 -4
  501. package/dist/cdn/QZ4B6KQZ.js +0 -4
  502. package/dist/cdn/R4JF6H5G.js +0 -4
  503. package/dist/cdn/RJLDFLMS.js +0 -4
  504. package/dist/cdn/RW73AOAV.js +0 -4
  505. package/dist/cdn/RX3WGJ2K.js +0 -4
  506. package/dist/cdn/SE3Q7IDB.js +0 -4
  507. package/dist/cdn/SE4OMJXM.js +0 -4
  508. package/dist/cdn/SZI274L4.js +0 -4
  509. package/dist/cdn/T27DWGVP.js +0 -4
  510. package/dist/cdn/TJTV5KU7.js +0 -4
  511. package/dist/cdn/U6CGXT4H.js +0 -4
  512. package/dist/cdn/UF7XCMGM.js +0 -4
  513. package/dist/cdn/V3MCTZ24.js +0 -4
  514. package/dist/cdn/W6WZHJCR.js +0 -4
  515. package/dist/cdn/WCRIFKUU.js +0 -4
  516. package/dist/cdn/WMYPI52V.js +0 -4
  517. package/dist/cdn/WQIZBBZX.js +0 -4
  518. package/dist/cdn/XY5HKZ4D.js +0 -4
  519. package/dist/cdn/YTTML4TM.js +0 -4
  520. package/dist/cdn/Z4SHW63D.js +0 -4
  521. package/dist/cdn/ZDIZOBJS.js +0 -4
  522. package/dist/cdn/ZFXICCAR.js +0 -4
  523. package/dist/cdn/ZGSSASAI.js +0 -4
  524. package/dist/cdn/ZHNY5GNR.js +0 -4
  525. package/dist/cdn/ZIJTOWYD.js +0 -4
  526. package/dist/cdn/ZK74JJQQ.js +0 -4
  527. package/dist/cdn/ZNXJXIA6.js +0 -4
  528. package/dist/cdn/ZVHDD22N.js +0 -4
  529. package/dist/cdn/ZVSUDJHS.js +0 -4
  530. package/dist/cdn/stdin.css +0 -1
  531. package/dist/chart-rendering/common/data/utils/misc/interfaces.d.ts +0 -30
  532. package/dist/chunks/index5.js +0 -66
  533. package/dist/chunks/interfaces2.js +0 -18
  534. package/dist/chunks/interfaces3.js +0 -96
  535. package/dist/chunks/interfaces4.js +0 -491
  536. package/dist/test/chart-rendering/test-utils/utils.d.ts +0 -15
  537. package/dist/test/utils/test-utils/utils.d.ts +0 -13
@@ -6,7 +6,7 @@ import { Color, IDrawingInfo, IEnvelope, IExtent, IFeatureLayer, IPoint, IPolygo
6
6
  /**
7
7
  * Version of the current specification.
8
8
  */
9
- export declare const WebChartCurrentVersion = "24.3.0";
9
+ export declare const WebChartCurrentVersion = "24.5.0";
10
10
  /**
11
11
  * Stores information regarding a numeric conversion
12
12
  */
@@ -267,7 +267,7 @@ export interface DateTimeFormatOptions {
267
267
  */
268
268
  type: typeof WebChartTypes.DateAxisFormat;
269
269
  /**
270
- * Represent the JS native [Intl.DateTimeFormatOptions](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/DateTimeFormatt), which is based on [CLDR](http://cldr.unicode.org/translation/date-time-1/date-time-patterns) specifications.
270
+ * Represent the JS native [Intl.DateTimeFormatOptions](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/DateTimeFormat), which is based on [CLDR](http://cldr.unicode.org/translation/date-time-1/date-time-patterns) specifications.
271
271
  */
272
272
  intlOptions: Intl.DateTimeFormatOptions;
273
273
  /**
@@ -627,9 +627,9 @@ export interface WebChartQuery {
627
627
  */
628
628
  fetchNullValues?: boolean;
629
629
  /**
630
- * An array of objectIds of the features to be filtered.
630
+ * An array of objectIds or uniqueIds of the features to be filtered.
631
631
  */
632
- objectIds?: number[];
632
+ objectIds?: (number | string)[];
633
633
  }
634
634
  /**
635
635
  * Subset of the WebChartQuery, used at the series level
@@ -1283,6 +1283,8 @@ export interface WebChartBoxPlotSeries extends WebChartSeries {
1283
1283
  type: typeof WebChartTypes.BoxPlotSeries;
1284
1284
  /**
1285
1285
  * Specifies the numeric field(s) used by the box plot series.
1286
+ * @minLength 1
1287
+ * @minItems 1
1286
1288
  */
1287
1289
  y: string[] | string;
1288
1290
  /**
package/dist/store.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import { TimeIntervalInfo } from './spec';
1
2
  /**
2
3
  * Type definition for axes bound data
3
4
  * Holds the default and current min and max bound values for an axis
@@ -28,15 +29,18 @@ type AppState = {
28
29
  chartAxesBoundDataMap: ChartAxesBoundDataMap;
29
30
  /** Stores cached scatterplot data representing specific UI states that are not saved at the model level */
30
31
  scatterplotData: ScatterplotDataMap;
32
+ /** Stores cached time binning interval for each chart */
33
+ timeBinningIntervalMap: Record<string, TimeIntervalInfo | undefined>;
31
34
  };
32
35
  declare const state: {
33
36
  selectedChartId: string;
34
37
  chartAxesBoundDataMap: ChartAxesBoundDataMap;
35
38
  scatterplotData: ScatterplotDataMap;
39
+ timeBinningIntervalMap: {};
36
40
  };
37
41
  /**
38
42
  * Generates the min max axis key for the selected chart based on the axis type and logarithmic scale.
39
- * The key is used to fetch/store the min max axis related values in the stencil store for the selected chart
43
+ * The key is used to fetch/store the min max axis related values in the state for the selected chart
40
44
  *
41
45
  * @param {string} props.chartId - The selected chart id
42
46
  * @param {boolean} props.isXAxis - The axis type (`true` for x-axis, `false` for y-axis)
@@ -48,9 +52,26 @@ export declare const generateAxisMinMaxKey: (props: {
48
52
  isLogarithmic: boolean;
49
53
  }) => string;
50
54
  /**
51
- * Deletes the min max axis key from the stencil store for the selected chart
55
+ * Deletes the min max axis key from the state for the selected chart
52
56
  *
53
- * @param {AppState} appState - The current app state in the stencil store
57
+ * @param {AppState} appState - The current app state
54
58
  */
55
59
  export declare const deleteMinMaxAxisKey: (appState: AppState) => void;
60
+ /**
61
+ * Gets the axes bound data for the selected chart
62
+ * @param {AppState} appState - The current app state
63
+ * @returns {TimeIntervalInfo | undefined} - The axes bound data map for the selected chart
64
+ */
65
+ export declare const getTimeBinningForChart: (appState: AppState) => TimeIntervalInfo | undefined;
66
+ /**
67
+ * Sets the time binning interval for a specific chart
68
+ * @param {AppState} appState - The current app state
69
+ * @param {TimeIntervalInfo} timeBinning - The time binning interval to set
70
+ */
71
+ export declare const setTimeBinningForChart: (appState: AppState, timeBinning: TimeIntervalInfo) => void;
72
+ /**
73
+ * Resets the time binning interval for a specific chart
74
+ * @param {AppState} appState - The current app state
75
+ */
76
+ export declare const resetTimeBinningForChart: (appState: AppState) => void;
56
77
  export default state;
@@ -3,7 +3,7 @@ import type { ArcgisChart } from "../components/arcgis-chart";
3
3
  import type { ArcgisChartsActionBar } from "../components/arcgis-charts-action-bar";
4
4
  import type { h, EventHandler } from "@arcgis/lumina";
5
5
 
6
- interface LuminaArcgisChart extends Partial<Pick<ArcgisChart, 'actionMode' | 'allowUsingObjectIdStat' | 'autoDisposeChart' | 'autoInverseDataLabelTextColor' | 'chartIndex' | 'chartLimits' | 'chartWillRender' | 'cursorRange' | 'dataLabelFormatter' | 'disableTogglingLegendItems' | 'enableConfiguration' | 'enableResponsiveFeatures' | 'errorPolicy' | 'featureIndex' | 'filterByExtent' | 'filterBySelection' | 'gaugeInnerLabelFormatter' | 'guideTooltipFormatter' | 'hideEmptySeries' | 'hideLicenseWatermark' | 'hideLoaderAnimation' | 'ignoreSmoothRenderingLimit' | 'ignoreViewExtent' | 'layer' | 'layerFieldsChangePolicy' | 'layerFilterChangePolicy' | 'layerItemId' | 'layerRendererChangePolicy' | 'legendPosition' | 'legendValueLabelFormatter' | 'legendVisibility' | 'loaderColors' | 'model' | 'nullAsValid' | 'placeholder' | 'queueChartCreation' | 'replaceNoValueCategoryWithZero' | 'returnFeaturesExtent' | 'returnSelectionIndexes' | 'returnSelectionOIDs' | 'rotation' | 'runtimeDataFilters' | 'secondaryYAxisLabelFormatter' | 'selectionData' | 'selectionTheme' | 'setTimeBinningInfoWhenNotProvided' | 'showUIMessages' | 'syncSelection' | 'syncSelectionsBetweenChartAndLayerViewPolicy' | 'timeZone' | 'tooltipFormatter' | 'updateSplitBySeries' | 'useAnimatedCharts' | 'usePopupTemplateFieldsInfo' | 'view' | 'viewTimeExtentChangePolicy' | 'xAxisLabelFormatter' | 'yAxisLabelFormatter'>>, ArcgisChartSetterTypes, h.JSX.HTMLAttributes<HTMLArcgisChartElement> {
6
+ interface LuminaArcgisChart extends Partial<Pick<ArcgisChart, 'actionMode' | 'allowUsingObjectIdStat' | 'autoDisposeChart' | 'autoInverseDataLabelTextColor' | 'chartIndex' | 'chartLimits' | 'chartWillRender' | 'cursorRange' | 'dataLabelFormatter' | 'disableTogglingLegendItems' | 'enableConfiguration' | 'enableResponsiveFeatures' | 'errorPolicy' | 'featureIndex' | 'filterByExtent' | 'filterBySelection' | 'gaugeInnerLabelFormatter' | 'guideTooltipFormatter' | 'hideEmptySeries' | 'hideLicenseWatermark' | 'hideLoaderAnimation' | 'ignoreSmoothRenderingLimit' | 'ignoreViewExtent' | 'layer' | 'layerFieldsChangePolicy' | 'layerFilterChangePolicy' | 'layerItemId' | 'layerRendererChangePolicy' | 'legendPosition' | 'legendValueLabelFormatter' | 'legendVisibility' | 'loaderColors' | 'messageOverrides' | 'model' | 'nullAsValid' | 'placeholder' | 'queueChartCreation' | 'replaceNoValueCategoryWithZero' | 'returnFeaturesExtent' | 'returnSelectionIndexes' | 'returnSelectionOIDs' | 'rotation' | 'runtimeDataFilters' | 'secondaryYAxisLabelFormatter' | 'selectionData' | 'selectionTheme' | 'setTimeBinningInfoWhenNotProvided' | 'showUIMessages' | 'syncSelection' | 'syncSelectionsBetweenChartAndLayerViewPolicy' | 'timeZone' | 'tooltipFormatter' | 'updateSplitBySeries' | 'useAnimatedCharts' | 'usePopupTemplateFieldsInfo' | 'view' | 'viewTimeExtentChangePolicy' | 'xAxisLabelFormatter' | 'yAxisLabelFormatter'>>, ArcgisChartSetterTypes, h.JSX.HTMLAttributes<HTMLArcgisChartElement> {
7
7
  onarcgisAxesMinMaxChange?: EventHandler<HTMLArcgisChartElement["arcgisAxesMinMaxChange"]>;
8
8
  onarcgisBadDataWarningRaise?: EventHandler<HTMLArcgisChartElement["arcgisBadDataWarningRaise"]>;
9
9
  onarcgisChartNotFoundWarning?: EventHandler<HTMLArcgisChartElement["arcgisChartNotFoundWarning"]>;
@@ -4,7 +4,7 @@ import type { ArcgisChartsActionBar } from "../components/arcgis-charts-action-b
4
4
  import { HTMLAttributes } from "preact";
5
5
  import type { EventHandler } from "@arcgis/lumina";
6
6
 
7
- interface PreactArcgisChart extends Partial<Pick<ArcgisChart, 'actionMode' | 'allowUsingObjectIdStat' | 'autoDisposeChart' | 'autoInverseDataLabelTextColor' | 'chartIndex' | 'chartLimits' | 'chartWillRender' | 'cursorRange' | 'dataLabelFormatter' | 'disableTogglingLegendItems' | 'enableConfiguration' | 'enableResponsiveFeatures' | 'errorPolicy' | 'featureIndex' | 'filterByExtent' | 'filterBySelection' | 'gaugeInnerLabelFormatter' | 'guideTooltipFormatter' | 'hideEmptySeries' | 'hideLicenseWatermark' | 'hideLoaderAnimation' | 'ignoreSmoothRenderingLimit' | 'ignoreViewExtent' | 'layer' | 'layerFieldsChangePolicy' | 'layerFilterChangePolicy' | 'layerItemId' | 'layerRendererChangePolicy' | 'legendPosition' | 'legendValueLabelFormatter' | 'legendVisibility' | 'loaderColors' | 'model' | 'nullAsValid' | 'placeholder' | 'queueChartCreation' | 'replaceNoValueCategoryWithZero' | 'returnFeaturesExtent' | 'returnSelectionIndexes' | 'returnSelectionOIDs' | 'rotation' | 'runtimeDataFilters' | 'secondaryYAxisLabelFormatter' | 'selectionData' | 'selectionTheme' | 'setTimeBinningInfoWhenNotProvided' | 'showUIMessages' | 'syncSelection' | 'syncSelectionsBetweenChartAndLayerViewPolicy' | 'timeZone' | 'tooltipFormatter' | 'updateSplitBySeries' | 'useAnimatedCharts' | 'usePopupTemplateFieldsInfo' | 'view' | 'viewTimeExtentChangePolicy' | 'xAxisLabelFormatter' | 'yAxisLabelFormatter'>>, ArcgisChartSetterTypes, HTMLAttributes<HTMLArcgisChartElement> {
7
+ interface PreactArcgisChart extends Partial<Pick<ArcgisChart, 'actionMode' | 'allowUsingObjectIdStat' | 'autoDisposeChart' | 'autoInverseDataLabelTextColor' | 'chartIndex' | 'chartLimits' | 'chartWillRender' | 'cursorRange' | 'dataLabelFormatter' | 'disableTogglingLegendItems' | 'enableConfiguration' | 'enableResponsiveFeatures' | 'errorPolicy' | 'featureIndex' | 'filterByExtent' | 'filterBySelection' | 'gaugeInnerLabelFormatter' | 'guideTooltipFormatter' | 'hideEmptySeries' | 'hideLicenseWatermark' | 'hideLoaderAnimation' | 'ignoreSmoothRenderingLimit' | 'ignoreViewExtent' | 'layer' | 'layerFieldsChangePolicy' | 'layerFilterChangePolicy' | 'layerItemId' | 'layerRendererChangePolicy' | 'legendPosition' | 'legendValueLabelFormatter' | 'legendVisibility' | 'loaderColors' | 'messageOverrides' | 'model' | 'nullAsValid' | 'placeholder' | 'queueChartCreation' | 'replaceNoValueCategoryWithZero' | 'returnFeaturesExtent' | 'returnSelectionIndexes' | 'returnSelectionOIDs' | 'rotation' | 'runtimeDataFilters' | 'secondaryYAxisLabelFormatter' | 'selectionData' | 'selectionTheme' | 'setTimeBinningInfoWhenNotProvided' | 'showUIMessages' | 'syncSelection' | 'syncSelectionsBetweenChartAndLayerViewPolicy' | 'timeZone' | 'tooltipFormatter' | 'updateSplitBySeries' | 'useAnimatedCharts' | 'usePopupTemplateFieldsInfo' | 'view' | 'viewTimeExtentChangePolicy' | 'xAxisLabelFormatter' | 'yAxisLabelFormatter'>>, ArcgisChartSetterTypes, HTMLAttributes<HTMLArcgisChartElement> {
8
8
  onarcgisAxesMinMaxChange?: EventHandler<HTMLArcgisChartElement["arcgisAxesMinMaxChange"]>;
9
9
  onarcgisBadDataWarningRaise?: EventHandler<HTMLArcgisChartElement["arcgisBadDataWarningRaise"]>;
10
10
  onarcgisChartNotFoundWarning?: EventHandler<HTMLArcgisChartElement["arcgisChartNotFoundWarning"]>;
@@ -5,7 +5,7 @@ import { JSX as PreactJsx } from "preact";
5
5
  import type { EventHandler } from "@arcgis/lumina";
6
6
 
7
7
  /** @deprecated Update to Preact 10.27.2+ or 11+ and consume types/preact file over types/preact10 */
8
- interface PreactArcgisChart extends Partial<Pick<ArcgisChart, 'actionMode' | 'allowUsingObjectIdStat' | 'autoDisposeChart' | 'autoInverseDataLabelTextColor' | 'chartIndex' | 'chartLimits' | 'chartWillRender' | 'cursorRange' | 'dataLabelFormatter' | 'disableTogglingLegendItems' | 'enableConfiguration' | 'enableResponsiveFeatures' | 'errorPolicy' | 'featureIndex' | 'filterByExtent' | 'filterBySelection' | 'gaugeInnerLabelFormatter' | 'guideTooltipFormatter' | 'hideEmptySeries' | 'hideLicenseWatermark' | 'hideLoaderAnimation' | 'ignoreSmoothRenderingLimit' | 'ignoreViewExtent' | 'layer' | 'layerFieldsChangePolicy' | 'layerFilterChangePolicy' | 'layerItemId' | 'layerRendererChangePolicy' | 'legendPosition' | 'legendValueLabelFormatter' | 'legendVisibility' | 'loaderColors' | 'model' | 'nullAsValid' | 'placeholder' | 'queueChartCreation' | 'replaceNoValueCategoryWithZero' | 'returnFeaturesExtent' | 'returnSelectionIndexes' | 'returnSelectionOIDs' | 'rotation' | 'runtimeDataFilters' | 'secondaryYAxisLabelFormatter' | 'selectionData' | 'selectionTheme' | 'setTimeBinningInfoWhenNotProvided' | 'showUIMessages' | 'syncSelection' | 'syncSelectionsBetweenChartAndLayerViewPolicy' | 'timeZone' | 'tooltipFormatter' | 'updateSplitBySeries' | 'useAnimatedCharts' | 'usePopupTemplateFieldsInfo' | 'view' | 'viewTimeExtentChangePolicy' | 'xAxisLabelFormatter' | 'yAxisLabelFormatter'>>, ArcgisChartSetterTypes, PreactJsx.HTMLAttributes<HTMLArcgisChartElement> {
8
+ interface PreactArcgisChart extends Partial<Pick<ArcgisChart, 'actionMode' | 'allowUsingObjectIdStat' | 'autoDisposeChart' | 'autoInverseDataLabelTextColor' | 'chartIndex' | 'chartLimits' | 'chartWillRender' | 'cursorRange' | 'dataLabelFormatter' | 'disableTogglingLegendItems' | 'enableConfiguration' | 'enableResponsiveFeatures' | 'errorPolicy' | 'featureIndex' | 'filterByExtent' | 'filterBySelection' | 'gaugeInnerLabelFormatter' | 'guideTooltipFormatter' | 'hideEmptySeries' | 'hideLicenseWatermark' | 'hideLoaderAnimation' | 'ignoreSmoothRenderingLimit' | 'ignoreViewExtent' | 'layer' | 'layerFieldsChangePolicy' | 'layerFilterChangePolicy' | 'layerItemId' | 'layerRendererChangePolicy' | 'legendPosition' | 'legendValueLabelFormatter' | 'legendVisibility' | 'loaderColors' | 'messageOverrides' | 'model' | 'nullAsValid' | 'placeholder' | 'queueChartCreation' | 'replaceNoValueCategoryWithZero' | 'returnFeaturesExtent' | 'returnSelectionIndexes' | 'returnSelectionOIDs' | 'rotation' | 'runtimeDataFilters' | 'secondaryYAxisLabelFormatter' | 'selectionData' | 'selectionTheme' | 'setTimeBinningInfoWhenNotProvided' | 'showUIMessages' | 'syncSelection' | 'syncSelectionsBetweenChartAndLayerViewPolicy' | 'timeZone' | 'tooltipFormatter' | 'updateSplitBySeries' | 'useAnimatedCharts' | 'usePopupTemplateFieldsInfo' | 'view' | 'viewTimeExtentChangePolicy' | 'xAxisLabelFormatter' | 'yAxisLabelFormatter'>>, ArcgisChartSetterTypes, PreactJsx.HTMLAttributes<HTMLArcgisChartElement> {
9
9
  onarcgisAxesMinMaxChange?: EventHandler<HTMLArcgisChartElement["arcgisAxesMinMaxChange"]>;
10
10
  onarcgisBadDataWarningRaise?: EventHandler<HTMLArcgisChartElement["arcgisBadDataWarningRaise"]>;
11
11
  onarcgisChartNotFoundWarning?: EventHandler<HTMLArcgisChartElement["arcgisChartNotFoundWarning"]>;
@@ -4,7 +4,7 @@ import type { ArcgisChartsActionBar } from "../components/arcgis-charts-action-b
4
4
  import type { HTMLProps } from 'react';
5
5
  import type { EventHandler } from "@arcgis/lumina";
6
6
 
7
- interface ReactArcgisChart extends Partial<Pick<ArcgisChart, 'actionMode' | 'allowUsingObjectIdStat' | 'autoDisposeChart' | 'autoInverseDataLabelTextColor' | 'chartIndex' | 'chartLimits' | 'chartWillRender' | 'cursorRange' | 'dataLabelFormatter' | 'disableTogglingLegendItems' | 'enableConfiguration' | 'enableResponsiveFeatures' | 'errorPolicy' | 'featureIndex' | 'filterByExtent' | 'filterBySelection' | 'gaugeInnerLabelFormatter' | 'guideTooltipFormatter' | 'hideEmptySeries' | 'hideLicenseWatermark' | 'hideLoaderAnimation' | 'ignoreSmoothRenderingLimit' | 'ignoreViewExtent' | 'layer' | 'layerFieldsChangePolicy' | 'layerFilterChangePolicy' | 'layerItemId' | 'layerRendererChangePolicy' | 'legendPosition' | 'legendValueLabelFormatter' | 'legendVisibility' | 'loaderColors' | 'model' | 'nullAsValid' | 'placeholder' | 'queueChartCreation' | 'replaceNoValueCategoryWithZero' | 'returnFeaturesExtent' | 'returnSelectionIndexes' | 'returnSelectionOIDs' | 'rotation' | 'runtimeDataFilters' | 'secondaryYAxisLabelFormatter' | 'selectionData' | 'selectionTheme' | 'setTimeBinningInfoWhenNotProvided' | 'showUIMessages' | 'syncSelection' | 'syncSelectionsBetweenChartAndLayerViewPolicy' | 'timeZone' | 'tooltipFormatter' | 'updateSplitBySeries' | 'useAnimatedCharts' | 'usePopupTemplateFieldsInfo' | 'view' | 'viewTimeExtentChangePolicy' | 'xAxisLabelFormatter' | 'yAxisLabelFormatter'>>, ArcgisChartSetterTypes, HTMLProps<HTMLArcgisChartElement> {
7
+ interface ReactArcgisChart extends Partial<Pick<ArcgisChart, 'actionMode' | 'allowUsingObjectIdStat' | 'autoDisposeChart' | 'autoInverseDataLabelTextColor' | 'chartIndex' | 'chartLimits' | 'chartWillRender' | 'cursorRange' | 'dataLabelFormatter' | 'disableTogglingLegendItems' | 'enableConfiguration' | 'enableResponsiveFeatures' | 'errorPolicy' | 'featureIndex' | 'filterByExtent' | 'filterBySelection' | 'gaugeInnerLabelFormatter' | 'guideTooltipFormatter' | 'hideEmptySeries' | 'hideLicenseWatermark' | 'hideLoaderAnimation' | 'ignoreSmoothRenderingLimit' | 'ignoreViewExtent' | 'layer' | 'layerFieldsChangePolicy' | 'layerFilterChangePolicy' | 'layerItemId' | 'layerRendererChangePolicy' | 'legendPosition' | 'legendValueLabelFormatter' | 'legendVisibility' | 'loaderColors' | 'messageOverrides' | 'model' | 'nullAsValid' | 'placeholder' | 'queueChartCreation' | 'replaceNoValueCategoryWithZero' | 'returnFeaturesExtent' | 'returnSelectionIndexes' | 'returnSelectionOIDs' | 'rotation' | 'runtimeDataFilters' | 'secondaryYAxisLabelFormatter' | 'selectionData' | 'selectionTheme' | 'setTimeBinningInfoWhenNotProvided' | 'showUIMessages' | 'syncSelection' | 'syncSelectionsBetweenChartAndLayerViewPolicy' | 'timeZone' | 'tooltipFormatter' | 'updateSplitBySeries' | 'useAnimatedCharts' | 'usePopupTemplateFieldsInfo' | 'view' | 'viewTimeExtentChangePolicy' | 'xAxisLabelFormatter' | 'yAxisLabelFormatter'>>, ArcgisChartSetterTypes, HTMLProps<HTMLArcgisChartElement> {
8
8
  onarcgisAxesMinMaxChange?: EventHandler<HTMLArcgisChartElement["arcgisAxesMinMaxChange"]>;
9
9
  onarcgisBadDataWarningRaise?: EventHandler<HTMLArcgisChartElement["arcgisBadDataWarningRaise"]>;
10
10
  onarcgisChartNotFoundWarning?: EventHandler<HTMLArcgisChartElement["arcgisChartNotFoundWarning"]>;
@@ -4,7 +4,7 @@ import type { ArcgisChartsActionBar } from "../components/arcgis-charts-action-b
4
4
  import { JSXBase as StencilJsx } from "@stencil/core/internal";
5
5
  import type { EventHandler } from "@arcgis/lumina";
6
6
 
7
- interface StencilArcgisChart extends Partial<Pick<ArcgisChart, 'actionMode' | 'allowUsingObjectIdStat' | 'autoDisposeChart' | 'autoInverseDataLabelTextColor' | 'chartIndex' | 'chartLimits' | 'chartWillRender' | 'cursorRange' | 'dataLabelFormatter' | 'disableTogglingLegendItems' | 'enableConfiguration' | 'enableResponsiveFeatures' | 'errorPolicy' | 'featureIndex' | 'filterByExtent' | 'filterBySelection' | 'gaugeInnerLabelFormatter' | 'guideTooltipFormatter' | 'hideEmptySeries' | 'hideLicenseWatermark' | 'hideLoaderAnimation' | 'ignoreSmoothRenderingLimit' | 'ignoreViewExtent' | 'layer' | 'layerFieldsChangePolicy' | 'layerFilterChangePolicy' | 'layerItemId' | 'layerRendererChangePolicy' | 'legendPosition' | 'legendValueLabelFormatter' | 'legendVisibility' | 'loaderColors' | 'model' | 'nullAsValid' | 'placeholder' | 'queueChartCreation' | 'replaceNoValueCategoryWithZero' | 'returnFeaturesExtent' | 'returnSelectionIndexes' | 'returnSelectionOIDs' | 'rotation' | 'runtimeDataFilters' | 'secondaryYAxisLabelFormatter' | 'selectionData' | 'selectionTheme' | 'setTimeBinningInfoWhenNotProvided' | 'showUIMessages' | 'syncSelection' | 'syncSelectionsBetweenChartAndLayerViewPolicy' | 'timeZone' | 'tooltipFormatter' | 'updateSplitBySeries' | 'useAnimatedCharts' | 'usePopupTemplateFieldsInfo' | 'view' | 'viewTimeExtentChangePolicy' | 'xAxisLabelFormatter' | 'yAxisLabelFormatter'>>, ArcgisChartSetterTypes, StencilJsx.HTMLAttributes<HTMLArcgisChartElement> {
7
+ interface StencilArcgisChart extends Partial<Pick<ArcgisChart, 'actionMode' | 'allowUsingObjectIdStat' | 'autoDisposeChart' | 'autoInverseDataLabelTextColor' | 'chartIndex' | 'chartLimits' | 'chartWillRender' | 'cursorRange' | 'dataLabelFormatter' | 'disableTogglingLegendItems' | 'enableConfiguration' | 'enableResponsiveFeatures' | 'errorPolicy' | 'featureIndex' | 'filterByExtent' | 'filterBySelection' | 'gaugeInnerLabelFormatter' | 'guideTooltipFormatter' | 'hideEmptySeries' | 'hideLicenseWatermark' | 'hideLoaderAnimation' | 'ignoreSmoothRenderingLimit' | 'ignoreViewExtent' | 'layer' | 'layerFieldsChangePolicy' | 'layerFilterChangePolicy' | 'layerItemId' | 'layerRendererChangePolicy' | 'legendPosition' | 'legendValueLabelFormatter' | 'legendVisibility' | 'loaderColors' | 'messageOverrides' | 'model' | 'nullAsValid' | 'placeholder' | 'queueChartCreation' | 'replaceNoValueCategoryWithZero' | 'returnFeaturesExtent' | 'returnSelectionIndexes' | 'returnSelectionOIDs' | 'rotation' | 'runtimeDataFilters' | 'secondaryYAxisLabelFormatter' | 'selectionData' | 'selectionTheme' | 'setTimeBinningInfoWhenNotProvided' | 'showUIMessages' | 'syncSelection' | 'syncSelectionsBetweenChartAndLayerViewPolicy' | 'timeZone' | 'tooltipFormatter' | 'updateSplitBySeries' | 'useAnimatedCharts' | 'usePopupTemplateFieldsInfo' | 'view' | 'viewTimeExtentChangePolicy' | 'xAxisLabelFormatter' | 'yAxisLabelFormatter'>>, ArcgisChartSetterTypes, StencilJsx.HTMLAttributes<HTMLArcgisChartElement> {
8
8
  onArcgisAxesMinMaxChange?: EventHandler<HTMLArcgisChartElement["arcgisAxesMinMaxChange"]>;
9
9
  onArcgisBadDataWarningRaise?: EventHandler<HTMLArcgisChartElement["arcgisBadDataWarningRaise"]>;
10
10
  onArcgisChartNotFoundWarning?: EventHandler<HTMLArcgisChartElement["arcgisChartNotFoundWarning"]>;
@@ -17,6 +17,8 @@ declare function applyDefaultFirstDayOfWeek(props: {
17
17
  chartContainer?: HTMLElement;
18
18
  layer?: SupportedLayer;
19
19
  }): WebChart | WebHeatChart;
20
+ declare function adjustAxes(configToUpdate: WebChart): WebChart;
21
+ declare function adjustSeries(configToUpdate: WebChart): WebChart;
20
22
  /**
21
23
  * Matches the config properties that have field names which mismatch the layer data source fields.
22
24
  *
@@ -61,6 +63,11 @@ declare function isBoxPlotConfigWithMeanLinesFromPro(config: WebBoxPlot): boolea
61
63
  * @returns the updated config
62
64
  */
63
65
  declare function adjustBoxPlotConfig(configToUpdate: WebBoxPlot): WebBoxPlot;
66
+ /**
67
+ * Sets the legend max height to `NaN` when the provided value is not a finite number.
68
+ * @param configToUpdate The chart's config to update
69
+ */
70
+ declare function resetLegendMaxHeight(configToUpdate: WebChart): WebChart;
64
71
  /**
65
72
  * Copies the information from the config.dataSource.layer into the newest config.iLayer
66
73
  * @param configToUpdate The config to update
@@ -88,6 +95,12 @@ declare function applyMandatoryConversions(props: {
88
95
  * @param configToUpdate The chart's config to update
89
96
  */
90
97
  declare function adjustPieFromFieldsDefaultNameAndValue(configToUpdate: WebChart): WebChart;
98
+ /**
99
+ * Remove the optional `spacing` property for gauge chart (from version 2.0.0).
100
+ * @param configToUpdate The chart's config to update
101
+ * @returns
102
+ */
103
+ declare function removeSpacingPropertyFromGauge(configToUpdate: WebChart): WebChart;
91
104
  /**
92
105
  * Moves the series[x].query.extent to config.dataFilters.geometry, and delete
93
106
  * the extent properties from all the series query.
@@ -221,6 +234,12 @@ declare function handleOrderOptionsChanges(configToUpdate: WebChart): WebChart;
221
234
  * @returns the updated chart config
222
235
  */
223
236
  declare function applyDataOrderInstructionForFromFieldsCharts(configToUpdate: WebChart): WebChart;
237
+ /**
238
+ * we convert convert WebChartLabelBehavior.None -> WebChartLabelBehavior.Hide
239
+ * @param configToUpdate Config to update
240
+ * @returns the updated chart config
241
+ */
242
+ declare function convertWebChartLabelBehaviorNoneToHide(configToUpdate: WebChart): WebChart;
224
243
  /**
225
244
  * Converts temporal binning properties from the old pattern to the new pattern introduced in version 19.0.0.
226
245
  * Former pattern:
@@ -388,12 +407,12 @@ declare function convertTo21x1x0(configToUpdate: WebChart): WebChart;
388
407
  */
389
408
  declare function convertTo23x3x0(configToUpdate: WebChart): WebChart;
390
409
  /**
391
- * Conversion for v24.3.0:
410
+ * Conversion for v24.5.0:
392
411
  * - Converts the temporal binning properties from the old pattern to the new pattern
393
412
  * @param configToUpdate The chart's config to update
394
413
  * @returns The updated chart config
395
414
  */
396
- declare function convertTo24x3x0(configToUpdate: WebChart): WebChart;
415
+ declare function convertTo24x5x0(configToUpdate: WebChart): WebChart;
397
416
  /**
398
417
  * Apply the needed function calls depending on the current chart version.
399
418
  * Note: Additional switch cases and convertToxxx functions are to be added to this function accordingly.
@@ -430,12 +449,16 @@ declare function applyConversions<T extends WebChart>(props: {
430
449
  */
431
450
  export declare function convertChartSpec<T extends WebChart | WebGaugeChart>(config?: T, layerOrLayerView?: FeatureLayerView | SupportedLayer, chartContainer?: HTMLElement): Promise<T>;
432
451
  export declare const chartConfigConverterPrivateFunctions: {
452
+ adjustAxes: typeof adjustAxes;
453
+ adjustSeries: typeof adjustSeries;
433
454
  matchChartFieldsToLayerFields: typeof matchChartFieldsToLayerFields;
455
+ resetLegendMaxHeight: typeof resetLegendMaxHeight;
434
456
  moveSeriesQueryExtent: typeof moveSeriesQueryExtent;
435
457
  moveSeriesRotatedPropToChart: typeof moveSeriesRotatedPropToChart;
436
458
  renameDataSourceProperties: typeof renameDataSourceProperties;
437
459
  copyDataSourceFilterToConfig: typeof copyDataSourceFilterToConfig;
438
460
  adjustPieFromFieldsDefaultNameAndValue: typeof adjustPieFromFieldsDefaultNameAndValue;
461
+ removeSpacingPropertyFromGauge: typeof removeSpacingPropertyFromGauge;
439
462
  moveBoxPlotSeriesPropsToChart: typeof moveBoxPlotSeriesPropsToChart;
440
463
  movePieSeriesSortLabelsPropToChart: typeof movePieSeriesSortLabelsPropToChart;
441
464
  getProBoxPlotSortDataOption: typeof getProBoxPlotSortDataOption;
@@ -451,6 +474,7 @@ export declare const chartConfigConverterPrivateFunctions: {
451
474
  getDataOrderFromOrderByFields: typeof getDataOrderFromOrderByFields;
452
475
  convertWebChartDataValueTypes: typeof convertWebChartDataValueTypes;
453
476
  moveOrConvertSeriesOrderByFieldsToChartOrderOptions: typeof moveOrConvertSeriesOrderByFieldsToChartOrderOptions;
477
+ convertWebChartLabelBehaviorNoneToHide: typeof convertWebChartLabelBehaviorNoneToHide;
454
478
  handleOrderOptionsChanges: typeof handleOrderOptionsChanges;
455
479
  applyDataOrderInstructionForFromFieldsCharts: typeof applyDataOrderInstructionForFromFieldsCharts;
456
480
  convertTemporalBinningProps: typeof convertTemporalBinningProps;
@@ -476,7 +500,7 @@ export declare const chartConfigConverterPrivateFunctions: {
476
500
  convertTo20x2x0: typeof convertTo20x2x0;
477
501
  convertTo21x1x0: typeof convertTo21x1x0;
478
502
  convertTo23x3x0: typeof convertTo23x3x0;
479
- convertTo24x3x0: typeof convertTo24x3x0;
503
+ convertTo24x5x0: typeof convertTo24x5x0;
480
504
  convertTemporalBinningProps2: typeof convertTemporalBinningProps2;
481
505
  applyConversions: typeof applyConversions;
482
506
  convertDataSourceToILayer: typeof convertDataSourceToILayer;
@@ -1,4 +1,7 @@
1
- import { WebChart, WebChartSeriesType, RESTSymbolType, WebChartTypes, WebChartVersionStatus } from '../../../spec';
1
+ import { ChartOptions } from '../../../chart-rendering/common/interfaces';
2
+ import { IField, TimeIntervalInfo, WebBoxPlot, WebChart, WebChartSeriesType, RESTSymbolType, WebChartTypes, WebChartVersionStatus } from '../../../spec';
3
+ import { DataUpdateDetails } from '../../data/interfaces';
4
+ import { LimitBehavior } from '../../defaults/interfaces';
2
5
  import { ChartSubType } from '../../misc/interfaces';
3
6
  import { WebChartSeriesSupportingTemporalBinning } from './interfaces';
4
7
  /**
@@ -124,8 +127,264 @@ export declare function isSeriesUsingTimeBinning(props: {
124
127
  * @param series The series to test
125
128
  */
126
129
  export declare function doesSeriesSupportTemporalBinning(series: WebChartSeriesType): series is WebChartSeriesSupportingTemporalBinning;
130
+ /**
131
+ * Compares the queries from two configs and indicates whether a query changed. Noted that the query comparison
132
+ * includes the orderByFields from the orderOptions.
133
+ *
134
+ * A sort on the series is made before comparing to prevent a false positive on query reorder.
135
+ *
136
+ * @param props.previousConfig The former chart config
137
+ * @param props.newConfig The new chart config
138
+ * @param props.behaviorAfterLimit The chart's behavior once the data limit is reached
139
+ */
140
+ declare function hasQueryChanged(props: {
141
+ previousConfig: WebChart;
142
+ newConfig: WebChart;
143
+ behaviorAfterLimit?: LimitBehavior;
144
+ }): boolean;
145
+ /**
146
+ * Compares two config data filters and returns true if they are identical, false otherwise
147
+ *
148
+ * @param previousConfig
149
+ * @param newConfig
150
+ */
151
+ export declare function hasConfigFilterChanged(previousConfig: WebChart, newConfig: WebChart): boolean;
152
+ /**
153
+ * Indicates whether the filter by selection was enabled or disabled
154
+ * @param previousFilterBySelection The previous valued for the filter by selection
155
+ * @param options The runtime options containing the new value for the filter by selection
156
+ */
157
+ declare function hasFilterBySelectionChanged(previousFilterBySelection?: boolean, options?: ChartOptions): boolean;
158
+ /**
159
+ * Compares the `binTemporalData` property from two configs and returns true if they are identical, false otherwise
160
+ *
161
+ * @param previousConfig
162
+ * @param newConfig
163
+ */
164
+ declare function hasBinTemporalDataChanged(previousConfig: WebChart, newConfig: WebChart): boolean;
165
+ /**
166
+ * Indicates whether a change of value format type requires new data. Two cases require it:
167
+ * - change from date format to numeric format
168
+ * - specific to non aggregated charts: change from category format to value format
169
+ *
170
+ * @param previousConfig The former chart config
171
+ * @param newConfig The new chart config
172
+ */
173
+ declare function isNewDataRequiredForValueFormatChange(previousConfig: WebBoxPlot | WebChart, newConfig: WebBoxPlot | WebChart): boolean;
174
+ /**
175
+ * Compares the `showMean` from two configs and indicates whether they are different
176
+ *
177
+ * @param previousConfig The former chart config
178
+ * @param newConfig The new chart config
179
+ */
180
+ declare function hasShowMeanChanged(previousConfig: WebBoxPlot | WebChart, newConfig: WebBoxPlot | WebChart): boolean;
181
+ /**
182
+ * Compares two gauge configs and indicates whether the series value conversion changed
183
+ *
184
+ * @param previousConfig The previous config
185
+ * @param newConfig The updated config
186
+ */
187
+ declare function hasGaugeValueConversionChanged(previousConfig: WebChart, newConfig: WebChart): boolean;
188
+ /**
189
+ * Compares two heat chart configs to see if binning has changed
190
+ *
191
+ * @param previousConfig The previous config
192
+ * @param newConfig The updated config
193
+ */
194
+ declare function hasHeatChartBinningChanged(previousConfig: WebChart, newConfig: WebChart): boolean;
195
+ /**
196
+ * Compares two configs and indicates whether additional tooltip fields (only non-numeric) changed
197
+ *
198
+ * **NOTE**: (only for scatterplot)
199
+ *
200
+ * @param {WebChart} props.previousConfig The previous config
201
+ * @param {WebChart} props.newConfig The updated config
202
+ * @param {IField[]|undefined} props.fieldList The layer field list
203
+ */
204
+ export declare function hasAdditionalTooltipFieldsChanged(props: {
205
+ previousConfig: WebChart;
206
+ newConfig: WebChart;
207
+ fieldList?: IField[];
208
+ }): boolean;
209
+ /**
210
+ * Compares two configs and indicates whether the color type change
211
+ *
212
+ * @param oldConfig The previous config
213
+ * @param newConfig The updated config
214
+ */
215
+ export declare function hasColorMatchChanged(oldConfig: WebChart, newConfig: WebChart): boolean;
216
+ /**
217
+ * Compares two configs and indicates whether the legend visibilty changed
218
+ *
219
+ * @param oldConfig The previous config
220
+ * @param newConfig The updated config
221
+ */
222
+ export declare function hasHeatLegendConfigChanged(oldConfig: WebChart, newConfig: WebChart): boolean;
223
+ /**
224
+ * Compares two configs and indicates whether the gradient rules changed
225
+ *
226
+ * @param oldConfig The previous config
227
+ * @param newConfig The updated config
228
+ */
229
+ export declare function hasGradientRulesChanged(oldConfig: WebChart, newConfig: WebChart): boolean;
230
+ /**
231
+ * Compares the 'slices' array from the pie series, and indicates whether they are different.
232
+ * Compare only the slices id and label to avoid false positives.
233
+ *
234
+ * @param props.oldConfig The previous chart config
235
+ * @param props.newConfig The newest chart config
236
+ */
237
+ export declare function hasSlicesConfigChanged(props: {
238
+ oldConfig: WebChart;
239
+ newConfig: WebChart;
240
+ }): boolean;
241
+ export declare function hasDataForFilterBySelectionChanged(props: {
242
+ previousSelectionOIDs?: (number | string)[];
243
+ options?: ChartOptions;
244
+ }): boolean;
245
+ /**
246
+ * Compares the split by value for each series element in the box plot config and returns true if the series has different split by value between new and old box plot config, false otherwise.
247
+ *
248
+ * @param oldSeries The former series config
249
+ * @param newSeries The new series config
250
+ */
251
+ export declare function hasSplitByValueChanged(oldSeries: WebChart["series"], newSeries: WebChart["series"]): boolean;
252
+ /**
253
+ * Verify if the order of the numeric fields has changed
254
+ *
255
+ * @param oldSeries - The previous series config
256
+ * @param newSeries - The new series config
257
+ */
258
+ export declare function hasNumericFieldsChanged(oldSeries: WebChart["series"], newSeries: WebChart["series"]): boolean;
259
+ /**
260
+ * Returns true when the time interval info was set previously and are not in the new config
261
+ *
262
+ * @param oldConfig the old chart config
263
+ * @param newConfig the new chart config
264
+ */
265
+ export declare function hasTimeIntervalInfoBeenReset(oldConfig: WebChart, newConfig: WebChart): boolean;
266
+ /**
267
+ * Returns true when the dual axis feature was enabled or disabled (number of axes changed)
268
+ *
269
+ * @param oldConfig the old chart config
270
+ * @param newConfig the new chart config
271
+ */
272
+ export declare function hasDualAxisChanged(oldConfig: WebChart, newConfig: WebChart): boolean;
273
+ /**
274
+ * Returns true when the series are not associated to the same axis anymore
275
+ *
276
+ * @param oldConfig the old chart config
277
+ * @param newConfig the new chart config
278
+ */
279
+ export declare function hasSeriesAxisChanged(oldConfig: WebChart, newConfig: WebChart): boolean;
280
+ /**
281
+ * Returns true when at least one guide's 'above' property changed from an update to another.
282
+ *
283
+ * @param oldConfig The old chart config
284
+ * @param newConfig The new chart config
285
+ * @returns
286
+ */
287
+ export declare function hasAnyGuideAboveChanged(oldConfig: WebChart, newConfig: WebChart): boolean;
288
+ /**
289
+ * Returns true if the rotated property changed since the previous update.
290
+ *
291
+ * @param oldConfig the old chart config
292
+ * @param newConfig the new chart config
293
+ */
294
+ export declare function hasRotationChanged(oldConfig: WebChart, newConfig: WebChart): boolean;
295
+ /**
296
+ * Returns true if the rotated property changed since the previous update.
297
+ *
298
+ * @param oldConfig the old chart config
299
+ * @param newConfig the new chart config
300
+ */
301
+ export declare function hasOutliersVisibilityChanged(oldConfig: WebChart, newConfig: WebChart): boolean;
302
+ /**
303
+ * Returns true if the 'standardizeValues' property changed in the chart config since the previous update.
304
+ *
305
+ * @param oldConfig the old chart config
306
+ * @param newConfig the new chart config
307
+ */
308
+ export declare function hasStandardizeValuesVisibilityChanged(oldConfig: WebChart, newConfig: WebChart): boolean;
309
+ /**
310
+ * Returns true if the 'chartRenderer' property changed in the chart config since the previous update.
311
+ *
312
+ * @param oldConfig the old chart config
313
+ * @param newConfig the new chart config
314
+ */
315
+ export declare function hasChartRendererChanged(oldConfig: WebChart, newConfig: WebChart): boolean;
316
+ /**
317
+ * Returns true if the 'timeZone' property from the axis value format changed in the chart config since the previous update.
318
+ *
319
+ * @param oldConfig the old chart config
320
+ * @param newConfig the new chart config
321
+ */
322
+ export declare function hasIntlTimeZoneChanged(oldConfig: WebChart, newConfig: WebChart): boolean;
323
+ /**
324
+ * Function saying if a data update is needed. We compare different properties from the former config and the new one
325
+ * in order to decide if the update is needed.
326
+ *
327
+ * @param props
328
+ */
329
+ export declare function doesConfigChangeRequireNewData(props: {
330
+ previousConfig: WebBoxPlot | WebChart;
331
+ newConfig: WebBoxPlot | WebChart;
332
+ options?: ChartOptions;
333
+ previousFilterBySelection?: boolean;
334
+ previousTimeIntervalInfo?: TimeIntervalInfo;
335
+ previousSelectionOIDs?: (number | string)[];
336
+ fieldList?: IField[];
337
+ }): {
338
+ dataUpdateNeeded: boolean;
339
+ dataUpdateDetails: DataUpdateDetails;
340
+ };
341
+ /**
342
+ * Determines if any of the series' name has changed between the previous and the new configs.
343
+ *
344
+ * The order of the series is preserved when comparing for changes.
345
+ *
346
+ * @param oldConfig The previous chart config
347
+ * @param newConfig The new chart config
348
+ * @returns
349
+ */
350
+ declare function hasConfigSeriesNamesChanged(oldConfig: WebChart, newConfig: WebChart): boolean;
351
+ /**
352
+ * Determines if the series order has changed between the old and the new configs.
353
+ *
354
+ * @param oldConfig The previous chart config
355
+ * @param newConfig The new chart config
356
+ * @returns
357
+ */
358
+ declare function hasSeriesOrderChanged(oldConfig: WebChart, newConfig: WebChart): boolean;
359
+ /**
360
+ * Determines whether a sort by series is needed.
361
+ * A sort by series is needed when either the series order has changed or any of the series names have changed.
362
+ *
363
+ * @param oldConfig The previous chart config.
364
+ * @param newConfig The new chart config.
365
+ * @returns
366
+ */
367
+ export declare function isSortBySeriesNeeded(oldConfig: WebChart, newConfig: WebChart): boolean;
368
+ /**
369
+ * Sorts the series in the config based on the series sort options.
370
+ * When no sort option is provide, no sorting is performed.
371
+ *
372
+ * @param chartConfig The optional chart config to sort the series
373
+ * @param chartContainer The HTML chart container
374
+ * @returns The updated chart config with the series sorted, or undefined if the input config is undefined
375
+ */
376
+ export declare function sortConfigSeries<T extends WebChart | undefined>(chartConfig: T, chartContainer?: HTMLElement): T;
127
377
  export declare const chartConfigUtilsPrivateFunctions: {
128
378
  getPieChartChartSubType: typeof getPieChartChartSubType;
129
379
  getBarLineChartSubType: typeof getBarLineChartSubType;
380
+ hasQueryChanged: typeof hasQueryChanged;
381
+ hasFilterBySelectionChanged: typeof hasFilterBySelectionChanged;
382
+ hasBinTemporalDataChanged: typeof hasBinTemporalDataChanged;
383
+ hasGaugeValueConversionChanged: typeof hasGaugeValueConversionChanged;
384
+ isNewDataRequiredForValueFormatChange: typeof isNewDataRequiredForValueFormatChange;
385
+ hasShowMeanChanged: typeof hasShowMeanChanged;
386
+ hasHeatChartBinningChanged: typeof hasHeatChartBinningChanged;
387
+ hasSeriesOrderChanged: typeof hasSeriesOrderChanged;
388
+ hasConfigSeriesNamesChanged: typeof hasConfigSeriesNamesChanged;
130
389
  };
131
390
  export {};
@@ -61,16 +61,6 @@ declare function findWarnings(props: {
61
61
  * @param chartConfig The chart config
62
62
  */
63
63
  declare function findCustomErrors(queryObject?: QueryObject, chartConfig?: WebChart | WebGaugeChart): Promise<CustomErrorObject[]>;
64
- export declare const chartConfigValidatorPrivateFunctions: {
65
- findCustomErrors: typeof findCustomErrors;
66
- findWarnings: typeof findWarnings;
67
- findNumericAggregationWarnings: typeof findNumericAggregationWarnings;
68
- findDuplicateSeriesIDWarnings: typeof findDuplicateSeriesIDWarnings;
69
- findLayerLoadError: typeof findLayerLoadError;
70
- createStartingSchema: typeof createStartingSchema;
71
- extractSchemaNameFromRefPath: typeof extractSchemaNameFromRefPath;
72
- customizeValidationErrors: typeof customizeValidationErrors;
73
- };
74
64
  /**
75
65
  * Validates the `WebChart` config by checking for and displays `Errors` and `Warnings`.
76
66
  * - `Errors` are violations in the config w.r.t the JSON schema.
@@ -90,4 +80,14 @@ export declare function validateWebChart(props: {
90
80
  * @param config The config to analyze
91
81
  */
92
82
  export declare function isPartialConfig(config?: WebChart): boolean;
83
+ export declare const chartConfigValidatorPrivateFunctions: {
84
+ findCustomErrors: typeof findCustomErrors;
85
+ findWarnings: typeof findWarnings;
86
+ findNumericAggregationWarnings: typeof findNumericAggregationWarnings;
87
+ findDuplicateSeriesIDWarnings: typeof findDuplicateSeriesIDWarnings;
88
+ findLayerLoadError: typeof findLayerLoadError;
89
+ createStartingSchema: typeof createStartingSchema;
90
+ extractSchemaNameFromRefPath: typeof extractSchemaNameFromRefPath;
91
+ customizeValidationErrors: typeof customizeValidationErrors;
92
+ };
93
93
  export {};
@@ -1,7 +1,9 @@
1
+ import { default as Graphic } from '@arcgis/core/Graphic';
1
2
  import { default as FeatureLayerView } from '@arcgis/core/views/layers/FeatureLayerView';
2
3
  import { ChartOptions } from '../../chart-rendering/common/interfaces';
3
4
  import { ArcgisChart } from '../../components/arcgis-chart/customElement.js';
4
5
  import { SupportedLayer, WebChart, WebChartLegendPositions } from '../../spec';
6
+ import { QueryObject } from '../../utils';
5
7
  /**
6
8
  * Updates the legend position for a given WebChart config.
7
9
  * Returns the updated config.
@@ -35,12 +37,23 @@ export declare function resetAxesBounds(config?: WebChart): WebChart | undefined
35
37
  */
36
38
  export declare function isValidDataSource(config?: WebChart, layer?: FeatureLayerView | SupportedLayer): boolean;
37
39
  /**
38
- * Will add missing series to the chart config if:
39
- * - the config uses a split-by field
40
- * - adding missing series was requested (through the `updateSplitBySeries` property)
41
- * - unique values for the given split-by field don't have a series associated
42
- *
43
- * @param component The chart component
44
- * @param options The runtime options
40
+ * Alters the providing config to prepare it for rendering:
41
+ * - add the iLayer if missing
42
+ * - convert it to the latest version
43
+ * @param props.configToAlter The config to alter
44
+ * @param props.layer The component's layer
45
45
  */
46
- export declare function addMissingSplitBySeries(component: ArcgisChart, config: WebChart | undefined, options: ChartOptions): Promise<void>;
46
+ export declare function prepareConfigForRendering(props: {
47
+ creation: boolean;
48
+ configToAlter: WebChart | undefined;
49
+ chartContainer?: HTMLElement;
50
+ queryObject: QueryObject;
51
+ options: ChartOptions;
52
+ previousConfig?: WebChart | undefined;
53
+ updateSplitBySeries: ArcgisChart["updateSplitBySeries"];
54
+ addMissingSeries: boolean;
55
+ layer: ArcgisChart["layer"];
56
+ }): Promise<{
57
+ alteredConfig: ArcgisChart["config"];
58
+ preFetchedQueryResponse?: Graphic[];
59
+ }>;