@arcgis/charts-components 5.1.0-next.8 → 5.1.0-next.80

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 (538) hide show
  1. package/README.md +2 -2
  2. package/dist/cdn/2EFFPZSB.js +2 -0
  3. package/dist/cdn/{SM4LQF5M.js → 2NN5AE5D.js} +1 -1
  4. package/dist/cdn/3AIE3FUA.js +2 -0
  5. package/dist/cdn/3LYW7DPP.js +2 -0
  6. package/dist/cdn/3MHB5VAM.js +37 -0
  7. package/dist/cdn/3VEQ7HMG.js +2 -0
  8. package/dist/cdn/{VFP7AKUR.js → 45P5JEKC.js} +1 -1
  9. package/dist/cdn/{Q5N6IPFC.js → 47WDNO2P.js} +1 -1
  10. package/dist/cdn/4GCUO37L.js +2 -0
  11. package/dist/cdn/4IYPGSMC.js +2 -0
  12. package/dist/cdn/{6WQPKBUS.js → 4LH6RELA.js} +1 -1
  13. package/dist/cdn/4YZHTVL7.js +2 -0
  14. package/dist/cdn/52XNA2DH.js +2 -0
  15. package/dist/cdn/57CR5SOU.js +2 -0
  16. package/dist/cdn/5ZYCFKFX.js +2 -0
  17. package/dist/cdn/66KEM4LG.js +2 -0
  18. package/dist/cdn/6DGQQ4V4.js +2 -0
  19. package/dist/cdn/6FB455E4.js +2 -0
  20. package/dist/cdn/6P6HFKV2.js +2 -0
  21. package/dist/cdn/7BDNLABD.js +2 -0
  22. package/dist/cdn/7GWVJEAI.js +2 -0
  23. package/dist/cdn/7I2D5SVD.js +2 -0
  24. package/dist/cdn/7ICRLJ5R.js +2 -0
  25. package/dist/cdn/7K2V6YNA.js +2 -0
  26. package/dist/cdn/7X23S5SF.js +2 -0
  27. package/dist/cdn/A4FCRGKH.js +2 -0
  28. package/dist/cdn/ALMGT4ZN.js +2 -0
  29. package/dist/cdn/BBBLK7RI.js +2 -0
  30. package/dist/cdn/BCPVUKSF.js +2 -0
  31. package/dist/cdn/CXSNVG3M.js +2 -0
  32. package/dist/cdn/DYQRIA4G.js +2 -0
  33. package/dist/cdn/E5P3LY6E.js +2 -0
  34. package/dist/cdn/E6S67HXA.js +2 -0
  35. package/dist/cdn/{HAJ2VWEU.js → EEBD6KKN.js} +1 -1
  36. package/dist/cdn/{KACPA2Q3.js → EEBFNI6X.js} +1 -1
  37. package/dist/cdn/{6DSWJCEU.js → FOYNQPWL.js} +1 -1
  38. package/dist/cdn/G2EWR4OS.js +2 -0
  39. package/dist/cdn/GDTHQBCP.js +2 -0
  40. package/dist/cdn/GPXGV2W3.js +2 -0
  41. package/dist/cdn/H32MCV7J.js +2 -0
  42. package/dist/cdn/HESIIJTB.js +2 -0
  43. package/dist/cdn/HNRWEWFM.js +2 -0
  44. package/dist/cdn/HWJIFGRR.js +2 -0
  45. package/dist/cdn/ICCNKIGD.js +2 -0
  46. package/dist/cdn/IKRCUXIB.js +2 -0
  47. package/dist/cdn/IO7TJZDW.js +2 -0
  48. package/dist/cdn/{BHWSEWHV.js → IVWZLS7W.js} +1 -1
  49. package/dist/cdn/IXGXDRYR.js +2 -0
  50. package/dist/cdn/{EVWSDR7F.js → IZCUAYGW.js} +1 -1
  51. package/dist/cdn/JB527BEY.js +2 -0
  52. package/dist/cdn/JLFVNF5U.js +2 -0
  53. package/dist/cdn/JM6E3U5J.js +2 -0
  54. package/dist/cdn/JZPDA4LD.js +2 -0
  55. package/dist/cdn/{INXFZ3KK.js → KBDOBMB5.js} +7 -7
  56. package/dist/cdn/KC5H5WGK.js +2 -0
  57. package/dist/cdn/KFBMPA6U.js +2 -0
  58. package/dist/cdn/KFIYYH54.js +2 -0
  59. package/dist/cdn/KQD5PSPV.js +2 -0
  60. package/dist/cdn/KRGZLJM5.js +2 -0
  61. package/dist/cdn/KUO2EPUE.js +2 -0
  62. package/dist/cdn/LD2K2FUM.js +2 -0
  63. package/dist/cdn/LHNPAXRS.js +2 -0
  64. package/dist/cdn/LNTDBU7W.js +2 -0
  65. package/dist/cdn/LPGL66XP.js +2 -0
  66. package/dist/cdn/LT4HKSXR.js +2 -0
  67. package/dist/cdn/LX5QI6J3.js +2 -0
  68. package/dist/cdn/{KZ37E2J3.js → LZNL4CV3.js} +7 -7
  69. package/dist/cdn/{SBHIJW76.js → MBC2KQUK.js} +1 -1
  70. package/dist/cdn/MFIKF7RC.js +2 -0
  71. package/dist/cdn/{K4VD72SG.js → MGIPPTHG.js} +1 -1
  72. package/dist/cdn/NFBNUOS2.js +2 -0
  73. package/dist/cdn/NHN6CQRE.js +2 -0
  74. package/dist/cdn/OQLV6YYT.js +2 -0
  75. package/dist/cdn/P2MVLEZ7.js +2 -0
  76. package/dist/cdn/{VPTDXGKU.js → PDXLVDA2.js} +1 -1
  77. package/dist/cdn/PV4ROV2W.js +2 -0
  78. package/dist/cdn/Q3YDW4V6.js +2 -0
  79. package/dist/cdn/QGLWCPMB.js +2 -0
  80. package/dist/cdn/QJKJNE7A.js +2 -0
  81. package/dist/cdn/QVD6LHQ2.js +2 -0
  82. package/dist/cdn/RI65IJRW.js +2 -0
  83. package/dist/cdn/SJWEUS4D.js +2 -0
  84. package/dist/cdn/SLB3Y7Q2.js +2 -0
  85. package/dist/cdn/SUUMGHCO.js +2 -0
  86. package/dist/cdn/SYV4I4MD.js +4 -0
  87. package/dist/cdn/T47JP5N6.js +2 -0
  88. package/dist/cdn/T5RPAQYI.js +2 -0
  89. package/dist/cdn/TJ3ALCTV.js +2 -0
  90. package/dist/cdn/TWLIURYH.js +2 -0
  91. package/dist/cdn/TZG37HE4.js +2 -0
  92. package/dist/cdn/U7L3L6IV.js +2 -0
  93. package/dist/cdn/UM7JZ2DY.js +2 -0
  94. package/dist/cdn/V45SCYTC.js +2 -0
  95. package/dist/cdn/{TS3WIN62.js → VOR2H3D7.js} +1 -1
  96. package/dist/cdn/VPLVBL2P.js +2 -0
  97. package/dist/cdn/WTQDFRE7.js +2 -0
  98. package/dist/cdn/X234G7PD.js +2 -0
  99. package/dist/cdn/X7FQPP5T.js +2 -0
  100. package/dist/cdn/XJFKEIB4.js +2 -0
  101. package/dist/cdn/XLHQQCTU.js +2 -0
  102. package/dist/cdn/XSH2YEV4.js +2 -0
  103. package/dist/cdn/Y3E4HJZ6.js +2 -0
  104. package/dist/cdn/Y5KIJ6GX.js +120 -0
  105. package/dist/cdn/Y7IQV44J.js +2 -0
  106. package/dist/cdn/{ZXIRDWJW.js → YAVQSNZ6.js} +1 -1
  107. package/dist/cdn/YKJO6KSB.js +2 -0
  108. package/dist/cdn/YSZU65DU.js +2 -0
  109. package/dist/cdn/{PKWXSPJL.js → ZEQ6Q5SM.js} +1 -1
  110. package/dist/cdn/ZMVYIIG4.js +2 -0
  111. package/dist/cdn/ZRULG7VV.js +4 -0
  112. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.ar.json +1 -1
  113. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.bg.json +1 -1
  114. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.bs.json +1 -1
  115. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.ca.json +1 -1
  116. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.cs.json +1 -1
  117. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.da.json +1 -1
  118. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.de.json +1 -1
  119. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.el.json +1 -1
  120. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.es.json +1 -1
  121. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.et.json +1 -1
  122. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.fi.json +1 -1
  123. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.fr.json +1 -1
  124. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.he.json +1 -1
  125. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.hr.json +1 -1
  126. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.hu.json +1 -1
  127. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.id.json +1 -1
  128. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.it.json +1 -1
  129. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.ja.json +1 -1
  130. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.ko.json +1 -1
  131. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.lt.json +1 -1
  132. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.lv.json +1 -1
  133. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.nl.json +1 -1
  134. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.no.json +1 -1
  135. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.pl.json +1 -1
  136. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.pt-BR.json +1 -1
  137. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.pt-PT.json +1 -1
  138. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.ro.json +1 -1
  139. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.ru.json +1 -1
  140. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.sk.json +1 -1
  141. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.sl.json +1 -1
  142. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.sr.json +1 -1
  143. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.sv.json +1 -1
  144. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.th.json +1 -1
  145. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.tr.json +1 -1
  146. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.uk.json +1 -1
  147. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.vi.json +1 -1
  148. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.zh-CN.json +1 -1
  149. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.zh-HK.json +1 -1
  150. package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.zh-TW.json +1 -1
  151. package/dist/cdn/assets/charts-config-pie-chart-slices/t9n/messages.ja.json +1 -1
  152. package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.ar.json +1 -1
  153. package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.bg.json +1 -1
  154. package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.bs.json +1 -1
  155. package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.ca.json +1 -1
  156. package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.cs.json +1 -1
  157. package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.da.json +1 -1
  158. package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.de.json +1 -1
  159. package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.el.json +1 -1
  160. package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.es.json +1 -1
  161. package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.et.json +1 -1
  162. package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.fi.json +1 -1
  163. package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.fr.json +1 -1
  164. package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.he.json +1 -1
  165. package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.hr.json +1 -1
  166. package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.hu.json +1 -1
  167. package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.id.json +1 -1
  168. package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.it.json +1 -1
  169. package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.ja.json +1 -1
  170. package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.ko.json +1 -1
  171. package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.lt.json +1 -1
  172. package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.lv.json +1 -1
  173. package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.nl.json +1 -1
  174. package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.no.json +1 -1
  175. package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.pl.json +1 -1
  176. package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.pt-BR.json +1 -1
  177. package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.pt-PT.json +1 -1
  178. package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.ro.json +1 -1
  179. package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.ru.json +1 -1
  180. package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.sk.json +1 -1
  181. package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.sl.json +1 -1
  182. package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.sr.json +1 -1
  183. package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.sv.json +1 -1
  184. package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.th.json +1 -1
  185. package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.tr.json +1 -1
  186. package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.uk.json +1 -1
  187. package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.vi.json +1 -1
  188. package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.zh-CN.json +1 -1
  189. package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.zh-HK.json +1 -1
  190. package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.zh-TW.json +1 -1
  191. package/dist/cdn/assets/common/t9n/messages.ar.json +1 -1
  192. package/dist/cdn/assets/common/t9n/messages.bg.json +1 -1
  193. package/dist/cdn/assets/common/t9n/messages.bs.json +1 -1
  194. package/dist/cdn/assets/common/t9n/messages.ca.json +1 -1
  195. package/dist/cdn/assets/common/t9n/messages.cs.json +1 -1
  196. package/dist/cdn/assets/common/t9n/messages.da.json +1 -1
  197. package/dist/cdn/assets/common/t9n/messages.de.json +1 -1
  198. package/dist/cdn/assets/common/t9n/messages.el.json +1 -1
  199. package/dist/cdn/assets/common/t9n/messages.en.json +1 -1
  200. package/dist/cdn/assets/common/t9n/messages.es.json +1 -1
  201. package/dist/cdn/assets/common/t9n/messages.et.json +1 -1
  202. package/dist/cdn/assets/common/t9n/messages.fi.json +1 -1
  203. package/dist/cdn/assets/common/t9n/messages.fr.json +1 -1
  204. package/dist/cdn/assets/common/t9n/messages.he.json +1 -1
  205. package/dist/cdn/assets/common/t9n/messages.hr.json +1 -1
  206. package/dist/cdn/assets/common/t9n/messages.hu.json +1 -1
  207. package/dist/cdn/assets/common/t9n/messages.id.json +1 -1
  208. package/dist/cdn/assets/common/t9n/messages.it.json +1 -1
  209. package/dist/cdn/assets/common/t9n/messages.ja.json +1 -1
  210. package/dist/cdn/assets/common/t9n/messages.ko.json +1 -1
  211. package/dist/cdn/assets/common/t9n/messages.lt.json +1 -1
  212. package/dist/cdn/assets/common/t9n/messages.lv.json +1 -1
  213. package/dist/cdn/assets/common/t9n/messages.nl.json +1 -1
  214. package/dist/cdn/assets/common/t9n/messages.no.json +1 -1
  215. package/dist/cdn/assets/common/t9n/messages.pl.json +1 -1
  216. package/dist/cdn/assets/common/t9n/messages.pt-BR.json +1 -1
  217. package/dist/cdn/assets/common/t9n/messages.pt-PT.json +1 -1
  218. package/dist/cdn/assets/common/t9n/messages.ro.json +1 -1
  219. package/dist/cdn/assets/common/t9n/messages.ru.json +1 -1
  220. package/dist/cdn/assets/common/t9n/messages.sk.json +1 -1
  221. package/dist/cdn/assets/common/t9n/messages.sl.json +1 -1
  222. package/dist/cdn/assets/common/t9n/messages.sr.json +1 -1
  223. package/dist/cdn/assets/common/t9n/messages.sv.json +1 -1
  224. package/dist/cdn/assets/common/t9n/messages.th.json +1 -1
  225. package/dist/cdn/assets/common/t9n/messages.tr.json +1 -1
  226. package/dist/cdn/assets/common/t9n/messages.uk.json +1 -1
  227. package/dist/cdn/assets/common/t9n/messages.vi.json +1 -1
  228. package/dist/cdn/assets/common/t9n/messages.zh-CN.json +1 -1
  229. package/dist/cdn/assets/common/t9n/messages.zh-HK.json +1 -1
  230. package/dist/cdn/assets/common/t9n/messages.zh-TW.json +1 -1
  231. package/dist/cdn/index.js +1 -1
  232. package/dist/chart-rendering/common/data/utils/summarize-data/interfaces.d.ts +8 -0
  233. package/dist/chart-rendering/common/interfaces.d.ts +76 -79
  234. package/dist/chunks/action-bar-utils.js +60 -43
  235. package/dist/chunks/axis-lines-symbol.js +7 -7
  236. package/dist/chunks/bar-chart-model.js +35 -25
  237. package/dist/chunks/bar-chart-series.js +22 -13
  238. package/dist/chunks/box-plot-data.js +166 -163
  239. package/dist/chunks/box-plot-model.js +35 -36
  240. package/dist/chunks/chart-model.js +92 -54
  241. package/dist/chunks/chart-ui-utils.js +1 -1
  242. package/dist/chunks/chart-ui-utils2.js +66 -57
  243. package/dist/chunks/class-breaks.js +250 -132
  244. package/dist/chunks/combo-bar-line-chart-model.js +39 -32
  245. package/dist/chunks/common.js +2 -2
  246. package/dist/chunks/data-labels-symbol.js +1 -1
  247. package/dist/chunks/data.js +98 -74
  248. package/dist/chunks/default.js +4 -4
  249. package/dist/chunks/gauge-model.js +63 -37
  250. package/dist/chunks/generate-x-axis-title.js +41 -33
  251. package/dist/chunks/heat-chart-model.js +168 -101
  252. package/dist/chunks/histogram-data.js +58 -50
  253. package/dist/chunks/histogram-model.js +39 -28
  254. package/dist/chunks/index.js +9918 -8233
  255. package/dist/chunks/index2.js +149 -156
  256. package/dist/chunks/index3.js +12 -13
  257. package/dist/chunks/index4.js +63 -95
  258. package/dist/chunks/interfaces.js +1 -1
  259. package/dist/chunks/line-chart-model.js +3 -3
  260. package/dist/chunks/model-setter.js +37 -28
  261. package/dist/chunks/model-with-guides.js +61 -42
  262. package/dist/chunks/model-with-tooltips.js +64 -66
  263. package/dist/chunks/model-with-y-guides.js +33 -25
  264. package/dist/chunks/negative-values-stacked-to-baseline.js +64 -57
  265. package/dist/chunks/pie-chart-data.js +83 -75
  266. package/dist/chunks/pie-chart-model.js +67 -52
  267. package/dist/chunks/radar-chart-model.js +23 -15
  268. package/dist/chunks/resources.js +15 -0
  269. package/dist/chunks/rest-js-object-literals.js +11 -10
  270. package/dist/chunks/rotated-state.js +22 -14
  271. package/dist/chunks/scatterplot-model.js +52 -44
  272. package/dist/chunks/serial-chart-data.js +636 -527
  273. package/dist/chunks/serial-chart-model.js +243 -225
  274. package/dist/chunks/series-length.js +33 -25
  275. package/dist/chunks/series-types.js +32 -23
  276. package/dist/chunks/series.js +19 -11
  277. package/dist/chunks/setup-utils.js +1 -1
  278. package/dist/chunks/store.js +25 -16
  279. package/dist/chunks/type-guards.js +87 -83
  280. package/dist/chunks/utils.js +151 -144
  281. package/dist/chunks/utils2.js +36 -28
  282. package/dist/chunks/web-component-utils.js +201 -206
  283. package/dist/components/arcgis-chart/customElement.d.ts +84 -45
  284. package/dist/components/arcgis-chart/customElement.js +16419 -17087
  285. package/dist/components/arcgis-charts-action-bar/customElement.d.ts +6 -0
  286. package/dist/components/arcgis-charts-action-bar/customElement.js +24 -24
  287. package/dist/components/arcgis-charts-config-axis/customElement.js +5 -5
  288. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +35 -28
  289. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +40 -24
  290. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +45 -37
  291. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +18 -10
  292. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +22 -14
  293. package/dist/components/arcgis-charts-config-box-plot/customElement.js +21 -14
  294. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +14 -6
  295. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +37 -29
  296. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +13 -5
  297. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +25 -17
  298. package/dist/components/arcgis-charts-config-category-format/customElement.js +4 -4
  299. package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +22 -14
  300. package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
  301. package/dist/components/arcgis-charts-config-create-flow/customElement.js +133 -126
  302. package/dist/components/arcgis-charts-config-font-style/customElement.js +25 -17
  303. package/dist/components/arcgis-charts-config-format/customElement.js +55 -45
  304. package/dist/components/arcgis-charts-config-format-popover/customElement.js +16 -8
  305. package/dist/components/arcgis-charts-config-general/customElement.js +16 -8
  306. package/dist/components/arcgis-charts-config-guide/customElement.js +43 -29
  307. package/dist/components/arcgis-charts-config-guide-popover/customElement.js +22 -14
  308. package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +15 -7
  309. package/dist/components/arcgis-charts-config-heat-chart/customElement.js +32 -25
  310. package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +210 -238
  311. package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +18 -10
  312. package/dist/components/arcgis-charts-config-histogram/customElement.js +40 -33
  313. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +38 -30
  314. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +30 -22
  315. package/dist/components/arcgis-charts-config-line-chart/customElement.js +31 -24
  316. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +17 -9
  317. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +35 -27
  318. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +13 -5
  319. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +15 -7
  320. package/dist/components/arcgis-charts-config-line-style/customElement.js +8 -8
  321. package/dist/components/arcgis-charts-config-number-format/customElement.js +10 -10
  322. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +19 -12
  323. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +19 -11
  324. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +30 -22
  325. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +17 -9
  326. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +18 -10
  327. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +29 -21
  328. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +15 -7
  329. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +22 -14
  330. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +37 -25
  331. package/dist/components/arcgis-charts-config-view-charts/customElement.js +23 -14
  332. package/dist/components/arcgis-charts-info-modal/customElement.js +35 -20
  333. package/dist/docs/api.json +1 -1
  334. package/dist/docs/docs.json +1 -1
  335. package/dist/docs/vscode.html-custom-data.json +1 -1
  336. package/dist/docs/web-types.json +1 -1
  337. package/dist/index.js +440 -393
  338. package/dist/interfaces.d.ts +11 -5
  339. package/dist/json-schema/index.d.ts +220 -219
  340. package/dist/loader.js +7 -7
  341. package/dist/model/bar-chart-model/bar-chart-model.d.ts +6 -5
  342. package/dist/model/box-plot-model/box-plot-model.d.ts +19 -10
  343. package/dist/model/chart-model/chart-model-base.d.ts +0 -1
  344. package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +18 -11
  345. package/dist/model/gauge-model/gauge-model.d.ts +29 -8
  346. package/dist/model/heat-chart-model/heat-chart-model.d.ts +109 -38
  347. package/dist/model/histogram-model/histogram-model.d.ts +18 -4
  348. package/dist/model/interfaces/chart-interfaces.d.ts +4 -4
  349. package/dist/model/interfaces/common.d.ts +5 -2
  350. package/dist/model/line-chart-model/line-chart-model.d.ts +0 -1
  351. package/dist/model/mixins/model-with-guides.d.ts +11 -0
  352. package/dist/model/mixins/model-with-legend.d.ts +3 -15
  353. package/dist/model/mixins/model-with-temporal-binning.d.ts +7 -7
  354. package/dist/model/mixins/model-with-tooltips.d.ts +5 -5
  355. package/dist/model/pie-chart-model/pie-chart-legend-model.d.ts +6 -6
  356. package/dist/model/pie-chart-model/pie-chart-model.d.ts +13 -5
  357. package/dist/model/properties/axes/x-axis/max-x-bound.d.ts +5 -1
  358. package/dist/model/properties/axes/x-axis/min-x-bound.d.ts +5 -1
  359. package/dist/model/properties/axes/x-axis/x-axis-title-visibility.d.ts +2 -2
  360. package/dist/model/properties/chart-renderer.d.ts +44 -1
  361. package/dist/model/properties/color-match.d.ts +0 -1
  362. package/dist/model/properties/data-labels/data-labels-visibility.d.ts +1 -4
  363. package/dist/model/properties/description/description-visibility.d.ts +0 -4
  364. package/dist/model/properties/layer.d.ts +2 -2
  365. package/dist/model/properties/subtitle/subtitle-visibility.d.ts +0 -4
  366. package/dist/model/properties/title/title-visibility.d.ts +0 -4
  367. package/dist/model/radar-chart-model/radar-chart-model.d.ts +0 -1
  368. package/dist/model/scatterplot-model/scatterplot-model.d.ts +3 -4
  369. package/dist/model/serial-chart-model/serial-chart-model.d.ts +9 -13
  370. package/dist/model/shared/setup-utils.d.ts +13 -6
  371. package/dist/model/shared/type-guards.d.ts +8 -0
  372. package/dist/model.js +9 -8
  373. package/dist/spec/data-source.d.ts +26 -18
  374. package/dist/spec/events.d.ts +2 -5
  375. package/dist/spec/rest-js-object-literals.d.ts +1 -0
  376. package/dist/spec/rest-js-types.d.ts +44 -11
  377. package/dist/spec/web-chart.d.ts +281 -245
  378. package/dist/types/lumina.d.ts +1 -1
  379. package/dist/types/preact.d.ts +1 -1
  380. package/dist/types/react.d.ts +1 -1
  381. package/dist/types/stencil.d.ts +1 -1
  382. package/dist/utils/chart-config/converter/index.d.ts +9 -9
  383. package/dist/utils/chart-config/utils/index.d.ts +41 -8
  384. package/dist/utils/chart-config/validator/index.d.ts +8 -6
  385. package/dist/utils/components/event-payloads.d.ts +3 -3
  386. package/dist/utils/data/categorical-data/index.d.ts +1 -1
  387. package/dist/utils/data/index.d.ts +126 -5
  388. package/dist/utils/data/interfaces.d.ts +0 -1
  389. package/dist/utils/data/pie-chart/index.d.ts +31 -0
  390. package/dist/utils/defaults/index.d.ts +23 -1
  391. package/dist/utils/defaults/interfaces.d.ts +2 -0
  392. package/dist/utils/errors/index.d.ts +5 -5
  393. package/dist/utils/errors/interfaces.d.ts +1 -0
  394. package/dist/utils/layer/index.d.ts +84 -49
  395. package/dist/utils/layer/inline-conversion/index.d.ts +7 -8
  396. package/dist/utils/layer/interfaces.d.ts +10 -45
  397. package/dist/utils/layer/query-features/index.d.ts +6 -4
  398. package/dist/utils/layer/query-features/interfaces.d.ts +1 -1
  399. package/dist/utils/layer/query-parser/index.d.ts +17 -12
  400. package/dist/utils/layer/utils/index.d.ts +89 -21
  401. package/dist/utils/localization/index.d.ts +3 -19
  402. package/dist/utils/localization/interfaces.d.ts +7 -0
  403. package/dist/utils/misc/index.d.ts +30 -9
  404. package/dist/utils/misc/interfaces.d.ts +9 -6
  405. package/dist/utils/type-guards/index.d.ts +17 -10
  406. package/dist/utils/types/index.d.ts +17 -17
  407. package/dist/utils/ui/popover-ui-utils.d.ts +1 -1
  408. package/package.json +8 -9
  409. package/dist/cdn/2LIJ6LL6.js +0 -2
  410. package/dist/cdn/2OGUU3CF.js +0 -2
  411. package/dist/cdn/2XUJZES7.js +0 -2
  412. package/dist/cdn/3FSLSUSK.js +0 -2
  413. package/dist/cdn/3IKX7JF5.js +0 -2
  414. package/dist/cdn/3LSZZLGN.js +0 -2
  415. package/dist/cdn/3RGDIFXM.js +0 -2
  416. package/dist/cdn/3XL7ZAYC.js +0 -2
  417. package/dist/cdn/4JKSKAIM.js +0 -2
  418. package/dist/cdn/4XC2ZKSZ.js +0 -2
  419. package/dist/cdn/5AGSNJFG.js +0 -2
  420. package/dist/cdn/5J43WZSR.js +0 -2
  421. package/dist/cdn/5JLPD2NR.js +0 -2
  422. package/dist/cdn/5SE3ZDX2.js +0 -2
  423. package/dist/cdn/6HU6FAC6.js +0 -2
  424. package/dist/cdn/6JS63XSI.js +0 -2
  425. package/dist/cdn/7BFETEN2.js +0 -2
  426. package/dist/cdn/7EP32GQJ.js +0 -2
  427. package/dist/cdn/7WH6VBY6.js +0 -2
  428. package/dist/cdn/A6FLP7SG.js +0 -2
  429. package/dist/cdn/ACHYJXNP.js +0 -2
  430. package/dist/cdn/ANOLEK36.js +0 -2
  431. package/dist/cdn/ATIYLNFB.js +0 -2
  432. package/dist/cdn/ATYJIBQA.js +0 -2
  433. package/dist/cdn/B33AB3RQ.js +0 -2
  434. package/dist/cdn/BJPCRXMJ.js +0 -2
  435. package/dist/cdn/BTMNCXKX.js +0 -2
  436. package/dist/cdn/BTOKHA76.js +0 -2
  437. package/dist/cdn/CTXREB7E.js +0 -2
  438. package/dist/cdn/D5XDNKEV.js +0 -2
  439. package/dist/cdn/DAQJEXZA.js +0 -2
  440. package/dist/cdn/DGTF5KBL.js +0 -2
  441. package/dist/cdn/DSRT3QGU.js +0 -2
  442. package/dist/cdn/E3KNK2QL.js +0 -2
  443. package/dist/cdn/EAMOK76F.js +0 -2
  444. package/dist/cdn/ENHEXARD.js +0 -2
  445. package/dist/cdn/ERWSXC2D.js +0 -2
  446. package/dist/cdn/FYJRJVSR.js +0 -2
  447. package/dist/cdn/GUD54AQJ.js +0 -2
  448. package/dist/cdn/H7ZDNA7W.js +0 -2
  449. package/dist/cdn/HOVLVPQH.js +0 -2
  450. package/dist/cdn/HYAXYKZG.js +0 -2
  451. package/dist/cdn/I7WRC44V.js +0 -2
  452. package/dist/cdn/IASONEII.js +0 -2
  453. package/dist/cdn/IEY3ZHXM.js +0 -2
  454. package/dist/cdn/JAKJRZFS.js +0 -2
  455. package/dist/cdn/JCW7HW3E.js +0 -58
  456. package/dist/cdn/JGB4OLU5.js +0 -2
  457. package/dist/cdn/JTA6HTV5.js +0 -2
  458. package/dist/cdn/KFJXMRC6.js +0 -2
  459. package/dist/cdn/KIMKCXB6.js +0 -2
  460. package/dist/cdn/KKGG37KV.js +0 -2
  461. package/dist/cdn/KPYFZSB5.js +0 -2
  462. package/dist/cdn/KSYKVAYS.js +0 -2
  463. package/dist/cdn/KZ7WEJMS.js +0 -2
  464. package/dist/cdn/LRRTUMQS.js +0 -2
  465. package/dist/cdn/M7ZR4HR7.js +0 -2
  466. package/dist/cdn/MDLYTSBA.js +0 -2
  467. package/dist/cdn/MIH3XFE3.js +0 -2
  468. package/dist/cdn/MLDP5OXE.js +0 -2
  469. package/dist/cdn/MMZFC2VM.js +0 -2
  470. package/dist/cdn/N2UJIZEU.js +0 -2
  471. package/dist/cdn/OEJ6ZA3E.js +0 -2
  472. package/dist/cdn/OFRMMDZQ.js +0 -2
  473. package/dist/cdn/OJGWQ3IH.js +0 -2
  474. package/dist/cdn/PUCPVH4M.js +0 -2
  475. package/dist/cdn/QCF56OBO.js +0 -2
  476. package/dist/cdn/R5CKMPU7.js +0 -2
  477. package/dist/cdn/RF7C6WVN.js +0 -2
  478. package/dist/cdn/RFHASMHJ.js +0 -2
  479. package/dist/cdn/RUUYSZO3.js +0 -2
  480. package/dist/cdn/SPAXIJWK.js +0 -2
  481. package/dist/cdn/TGNJ76AH.js +0 -32
  482. package/dist/cdn/THBEEC5Q.js +0 -2
  483. package/dist/cdn/TLSTPQNA.js +0 -2
  484. package/dist/cdn/U2TWW4FY.js +0 -2
  485. package/dist/cdn/UJ2JV7FV.js +0 -2
  486. package/dist/cdn/VBOUUUVO.js +0 -2
  487. package/dist/cdn/VDXJP4RT.js +0 -2
  488. package/dist/cdn/VKLPG37D.js +0 -2
  489. package/dist/cdn/W7KYGPSP.js +0 -2
  490. package/dist/cdn/WYPEKQH6.js +0 -4
  491. package/dist/cdn/XHXTKPL6.js +0 -2
  492. package/dist/cdn/XJSBB5KR.js +0 -2
  493. package/dist/cdn/XPM5OZBN.js +0 -2
  494. package/dist/cdn/XQ26L3RE.js +0 -4
  495. package/dist/cdn/YFEYEBAA.js +0 -2
  496. package/dist/cdn/YUFKLXMQ.js +0 -2
  497. package/dist/cdn/YXWXHEUY.js +0 -2
  498. package/dist/cdn/Z3EGNO5M.js +0 -2
  499. package/dist/cdn/ZVVQECSL.js +0 -2
  500. package/dist/cdn/ZYEUKPGT.js +0 -2
  501. package/dist/cdn/ZYMJEZKL.js +0 -2
  502. package/dist/chunks/index5.js +0 -66
  503. /package/dist/cdn/{T73O5OD5.js → 3OGKV4KZ.js} +0 -0
  504. /package/dist/cdn/{DB6PUP7Y.js → 3VMIFF7C.js} +0 -0
  505. /package/dist/cdn/{PHPEGJKB.js → 47EOUNYO.js} +0 -0
  506. /package/dist/cdn/{WNLCIQAX.js → 5TOYNVTW.js} +0 -0
  507. /package/dist/cdn/{5IAOT56I.js → 6HUDF5Q2.js} +0 -0
  508. /package/dist/cdn/{QBFKFCAR.js → ALRIN5E5.js} +0 -0
  509. /package/dist/cdn/{RBFLURN4.js → AVU2CHAB.js} +0 -0
  510. /package/dist/cdn/{J3EUXZ6G.js → B4ULOSFG.js} +0 -0
  511. /package/dist/cdn/{V3OHZN3J.js → BQOMKKBK.js} +0 -0
  512. /package/dist/cdn/{W236VLPQ.js → BUCYRXMT.js} +0 -0
  513. /package/dist/cdn/{QXCTWH2Z.js → BY77PBZ2.js} +0 -0
  514. /package/dist/cdn/{VWM7AVM6.js → COQ55XOW.js} +0 -0
  515. /package/dist/cdn/{MUUD74AD.js → DNSUOJXJ.js} +0 -0
  516. /package/dist/cdn/{JXQXA2KV.js → EIIQ2CSC.js} +0 -0
  517. /package/dist/cdn/{CAFCD23J.js → EVHJVY4I.js} +0 -0
  518. /package/dist/cdn/{HBUMNQ3P.js → F57IRWBF.js} +0 -0
  519. /package/dist/cdn/{NLCFSYMX.js → FLSUJTUZ.js} +0 -0
  520. /package/dist/cdn/{7XPFSBJR.js → FSNQ3YXX.js} +0 -0
  521. /package/dist/cdn/{4OQCJUCA.js → G2L5FYWK.js} +0 -0
  522. /package/dist/cdn/{HGLFNVUQ.js → GR4BZF3L.js} +0 -0
  523. /package/dist/cdn/{TW4GANOP.js → GWPFABGL.js} +0 -0
  524. /package/dist/cdn/{NWX4MEZT.js → HJW6UNEH.js} +0 -0
  525. /package/dist/cdn/{MRPQHHAR.js → I3BNBZ4D.js} +0 -0
  526. /package/dist/cdn/{S5OM65RV.js → J6TUXYMO.js} +0 -0
  527. /package/dist/cdn/{YB66QEEP.js → LOX7MXL4.js} +0 -0
  528. /package/dist/cdn/{UBAJJGZQ.js → MS6EYP4R.js} +0 -0
  529. /package/dist/cdn/{UAAZT4XK.js → NGLXQHZ2.js} +0 -0
  530. /package/dist/cdn/{4KKFIMTJ.js → NPVXLEZW.js} +0 -0
  531. /package/dist/cdn/{OAX6BSTV.js → NSRIVIOH.js} +0 -0
  532. /package/dist/cdn/{NRAJ4BK2.js → RHGKKMJG.js} +0 -0
  533. /package/dist/cdn/{GPLZLU72.js → S5EI7T2D.js} +0 -0
  534. /package/dist/cdn/{GRDFMG2M.js → SOIF6AMX.js} +0 -0
  535. /package/dist/cdn/{DO4HZTZB.js → THJTENN5.js} +0 -0
  536. /package/dist/cdn/{7BO3HV6A.js → TX2SYGTH.js} +0 -0
  537. /package/dist/cdn/{L2OPHSDM.js → YQJLA77R.js} +0 -0
  538. /package/dist/cdn/{FOOU5K3C.js → ZL5EGDOW.js} +0 -0
@@ -1,12 +1,16 @@
1
+ import type Extent from "@arcgis/core/geometry/Extent.js";
1
2
  import type FeatureLayer from "@arcgis/core/layers/FeatureLayer.js";
2
- import type Renderer from "@arcgis/core/renderers/Renderer";
3
- import type FeatureLayerView from "@arcgis/core/views/layers/FeatureLayerView";
3
+ import type ImageryLayer from "@arcgis/core/layers/ImageryLayer.js";
4
+ import type ImageryTileLayer from "@arcgis/core/layers/ImageryTileLayer.js";
5
+ import type CodedValueDomain from "@arcgis/core/layers/support/CodedValueDomain.js";
6
+ import type Renderer from "@arcgis/core/renderers/Renderer.js";
7
+ import type FeatureLayerView from "@arcgis/core/views/layers/FeatureLayerView.js";
4
8
  import type MapView from "@arcgis/core/views/MapView.js";
5
9
  import type SceneView from "@arcgis/core/views/SceneView.js";
6
- import type { SupportedLayer } from "../../interfaces.js";
7
- import type { QueryObject, QueryObjectProps, RendererInfo, SubtypeInfo } from "./interfaces.js";
8
- import type { IFeatureLayer, IField } from "../../spec/rest-js-types.js";
10
+ import type { SupportedLayer, SupportedRasterLayer } from "../../interfaces.js";
11
+ import type { IFeatureLayer, IField, IImageServiceLayer, ITiledImageServiceLayer } from "../../spec/rest-js-types.js";
9
12
  import type { WebChart, WebChartDataFilters, WebChartQuery } from "../../spec/web-chart.js";
13
+ import type { QueryObject, QueryObjectOrRaster, QueryObjectProps, RendererInfo } from "./interfaces.js";
10
14
 
11
15
  /**
12
16
  * Returns the renderer type and the field and normalization field if applicable.
@@ -21,27 +25,50 @@ export function getRendererInfo(layerRenderer?: Renderer): RendererInfo;
21
25
  * It returns the created Feature Layer.
22
26
  * It is memoized (cached) to avoid multiple requests for a same feature layer.
23
27
  *
28
+ * @param featureLayer
29
+ * @param abortSignal
24
30
  * @internal
25
31
  */
26
- export const getFeatureLayer: (featureLayer: IFeatureLayer) => Promise<FeatureLayer>;
32
+ export function getFeatureLayer(featureLayer: IFeatureLayer, abortSignal?: AbortSignal): Promise<FeatureLayer>;
33
+
34
+ /**
35
+ * A wrapper function creating a FeatureLayer, ImageryLayer, or ImagegeryTileLayer from a set of parameters.
36
+ * It returns the created FeatureLayer, ImageryLayer, or ImagegeryTileLayer.
37
+ *
38
+ * @param iLayer
39
+ * @internal
40
+ */
41
+ export function getLayer(iLayer: IFeatureLayer): Promise<FeatureLayer>;
42
+
43
+ /** @param iLayer */
44
+ export function getLayer(iLayer: IImageServiceLayer): Promise<ImageryLayer>;
45
+
46
+ /** @param iLayer */
47
+ export function getLayer(iLayer: ITiledImageServiceLayer): Promise<ImageryTileLayer>;
48
+
49
+ /** @param iLayer */
50
+ export function getLayer(iLayer: IFeatureLayer | IImageServiceLayer | ITiledImageServiceLayer): Promise<FeatureLayer | ImageryLayer | ImageryTileLayer>;
51
+
52
+ /** @param iLayer */
53
+ export function getLayer(iLayer: IFeatureLayer | IImageServiceLayer | ITiledImageServiceLayer): Promise<FeatureLayer | ImageryLayer | ImageryTileLayer>;
27
54
 
28
55
  /**
29
56
  * Returns the proper query object to use according to the situation.
30
- * If can return either a FeatureLayer or a FeatureLayerView (and possibly nothing)
57
+ * It can return either a FeatureLayer, an ImageryLayer, an ImageryTileLayer, or a FeatureLayerView (and possibly nothing).
31
58
  *
32
59
  * @param props
33
60
  * @internal
34
61
  */
35
- export function getQueryObject(props: QueryObjectProps): Promise<QueryObject>;
62
+ export function getQueryObject(props: QueryObjectProps): Promise<QueryObjectOrRaster | undefined>;
36
63
 
37
64
  /**
38
- * Fetches all the fields info a feature layer.
65
+ * Fetches all the fields info from a layer.
39
66
  *
40
- * @param queryObject
67
+ * @param queryObject - The query object (layer or feature layer view) to fetch the fields info from. **Ensure the query object's layer is loaded before calling this function**.
41
68
  * @param usePopupTemplateFieldsInfo - whether to use the aliases from the popupTemplate
42
69
  * @internal
43
70
  */
44
- export function fetchLayerFieldsInfo(queryObject: QueryObject, usePopupTemplateFieldsInfo?: boolean): Promise<IField[]>;
71
+ export function fetchLayerFieldsInfo(queryObject: QueryObjectOrRaster, usePopupTemplateFieldsInfo?: boolean): IField[];
45
72
 
46
73
  /**
47
74
  * Looks into a list of fields for one having a specific name, and returning it if found.
@@ -62,7 +89,7 @@ export function getFieldFromName(fieldName: string, fields?: IField[]): IField |
62
89
  * When the layer is undefined, returns undefined ID fields and false for the boolean.
63
90
  * @internal
64
91
  */
65
- export function getLayerUniqueIdOrObjectIdFields(layer?: SupportedLayer): {
92
+ export function getLayerUniqueIdOrObjectIdFields(layer?: SupportedLayer | SupportedRasterLayer): {
66
93
  idFields: string[] | undefined;
67
94
  isTraditionalTypeOID: boolean;
68
95
  };
@@ -74,7 +101,7 @@ export function getLayerUniqueIdOrObjectIdFields(layer?: SupportedLayer): {
74
101
  * @param layer - The layer
75
102
  * @internal
76
103
  */
77
- export function getObjectIdField(layer?: SupportedLayer): {
104
+ export function getObjectIdField(layer?: SupportedLayer | SupportedRasterLayer): {
78
105
  idField: string;
79
106
  isTraditionalTypeOID: boolean;
80
107
  };
@@ -86,7 +113,7 @@ export function getObjectIdField(layer?: SupportedLayer): {
86
113
  * @param field
87
114
  * @internal
88
115
  */
89
- export function isNumericField(field: IField): boolean;
116
+ export function isNumericField(field?: IField): boolean;
90
117
 
91
118
  /**
92
119
  * Checks whether the given field has a valid date type.
@@ -95,7 +122,25 @@ export function isNumericField(field: IField): boolean;
95
122
  * @param field
96
123
  * @internal
97
124
  */
98
- export function isDateField(field: IField): boolean;
125
+ export function isDateField(field?: IField): boolean;
126
+
127
+ /**
128
+ * Checks whether the given field has a valid string type.
129
+ * Fields descriptions are [here](http://resources.esri.com/help/9.3/ArcGISEngine/ArcObjects/esriGeoDatabase/esriFieldType.htm).
130
+ *
131
+ * @param field
132
+ * @internal
133
+ */
134
+ export function isStringField(field?: IField): boolean;
135
+
136
+ /**
137
+ * Checks whether the given field has a valid time only type.
138
+ * Fields descriptions are [here](http://resources.esri.com/help/9.3/ArcGISEngine/ArcObjects/esriGeoDatabase/esriFieldType.htm).
139
+ *
140
+ * @param field
141
+ * @internal
142
+ */
143
+ export function isTimeOnlyField(field?: IField): boolean;
99
144
 
100
145
  /**
101
146
  * Checks whether the given field has a valid integer type.
@@ -104,7 +149,7 @@ export function isDateField(field: IField): boolean;
104
149
  * @param field
105
150
  * @internal
106
151
  */
107
- export function isIntegerField(field: IField): boolean;
152
+ export function isIntegerField(field?: IField): boolean;
108
153
 
109
154
  /**
110
155
  * Returns list of date field names from an array of fields of type IField
@@ -123,43 +168,32 @@ export function getLayerDateFields(fieldsInfo: IField[]): string[];
123
168
  export function getLayerNumericFields(fieldsInfo: IField[]): string[];
124
169
 
125
170
  /**
126
- * Retrieve the subtype name from the subtype id, if available.
127
- * Otherwise, just simply returns the original value.
171
+ * Get the coded value domain associated to the given field, if any.
172
+ * The RangeDomain is currently not supported.
128
173
  *
129
- * @param props - The subtypeInfo which consists of a typeIdField and a list of subtypes.
130
- * @returns The matching subtype name if it's a subtype field; otherwise undefined.
131
- * //TODO: may need to revise regrading the typeIdField property (See https://devtopia.esri.com/WebGIS/arcgis-js-api/issues/42555)
174
+ * @param queryObject - The query object (layer or feature layer view)
175
+ * @param field - The field to retrieve the domain from
132
176
  * @internal
133
177
  */
134
- export function getSubtypeName(props: {
135
- subtypeInfo?: SubtypeInfo;
136
- fieldName: string;
137
- fieldValueToMatch: number | string;
138
- }): string | undefined;
178
+ export function getFieldCodedValueDomain(queryObject: QueryObject, field?: string): CodedValueDomain | undefined;
139
179
 
140
180
  /**
141
- * Retrieve subtype information from the query object.
181
+ * Get the field description from the domain given a field value.
142
182
  *
143
- * @param queryObject - The query object from which to retrieve the feature layer.
144
- * @returns subtype info like typeIdField and the subtypes, if defined; otherwise undefined.
145
- * //TODO: may need to revise regrading the typeIdField property (See https://devtopia.esri.com/WebGIS/arcgis-js-api/issues/42555)
146
- * @internal
183
+ * @param fieldValue - The field value to get the description for
184
+ * @param domain - The domain of the field
147
185
  */
148
- export function getLayerSubtypeInfo(queryObject: QueryObject): SubtypeInfo | undefined;
186
+ export function getFieldDescriptionFromDomain(fieldValue: number | string, domain?: CodedValueDomain): string | undefined;
149
187
 
150
188
  /**
151
- * Get the field description if the field contains subtype or domain value.
152
- * This field description is mainly for displaying purpose (while its id is used in queries).
189
+ * Get the field description from the query object given a field name and a field value.
153
190
  *
154
- * @param props - the name of the field
155
- * @returns The field description if available; otherwise undefined.
156
- * @internal
191
+ * @param props - The query object (layer or feature layer view)
157
192
  */
158
- export function getFieldDescription(props: {
159
- fieldName: string;
160
- fieldValueToMatch: number | string;
161
- subtypeInfo?: SubtypeInfo;
162
- fieldList?: IField[];
193
+ export function getFieldDescriptionFromQueryObject(props: {
194
+ queryObject: QueryObjectOrRaster;
195
+ fieldName?: string;
196
+ fieldValue: number | string;
163
197
  }): string | undefined;
164
198
 
165
199
  /**
@@ -168,7 +202,7 @@ export function getFieldDescription(props: {
168
202
  * @param layer
169
203
  * @internal
170
204
  */
171
- export function getRendererFieldNames(layer: SupportedLayer): Promise<string[]>;
205
+ export function getRendererFieldNames(layer: SupportedLayer | undefined): Promise<string[]>;
172
206
 
173
207
  /**
174
208
  * Returns a boolean to indicate if the feature layer is on standard feature data store or not.
@@ -177,7 +211,7 @@ export function getRendererFieldNames(layer: SupportedLayer): Promise<string[]>;
177
211
  * @param layer
178
212
  * @internal
179
213
  */
180
- export function isStandardLayer(layer: SupportedLayer): Promise<boolean>;
214
+ export function isStandardLayer(layer: SupportedLayer | undefined): Promise<boolean>;
181
215
 
182
216
  /**
183
217
  * Finds the matching field name for a given layer based on the fieldToMatch parameter.
@@ -186,10 +220,10 @@ export function isStandardLayer(layer: SupportedLayer): Promise<boolean>;
186
220
  * @internal
187
221
  */
188
222
  export function findMatchingLayerFieldName(props: {
189
- queryObject: QueryObject;
223
+ queryObject: QueryObjectOrRaster;
190
224
  fieldToMatch: string;
191
225
  returnUndefinedIfNotFound?: boolean;
192
- }): Promise<string>;
226
+ }): string;
193
227
 
194
228
  /**
195
229
  * Find the matching field in a list of fields based on the fieldToMatch parameter.
@@ -217,9 +251,9 @@ export function findMatchingField(layerFieldList: IField[], fieldToMatch: string
217
251
  */
218
252
  export function matchFieldsList(props: {
219
253
  fieldsList: string[] | undefined;
220
- queryObject: SupportedLayer;
254
+ queryObject: SupportedLayer | SupportedRasterLayer;
221
255
  returnUndefinedIfNotFound?: boolean;
222
- }): Promise<string[] | undefined>;
256
+ }): string[] | undefined;
223
257
 
224
258
  /**
225
259
  * Builds a WebChartQuery based on information coming from the runtime filters (chart options), the config and the data source.
@@ -230,10 +264,11 @@ export function matchFieldsList(props: {
230
264
  * @internal
231
265
  */
232
266
  export function buildQueryConfig(props: {
233
- queryObject?: QueryObject;
267
+ queryObject?: QueryObjectOrRaster;
234
268
  chartConfig: WebChart;
235
269
  runtimeDataFilters?: WebChartDataFilters;
236
270
  ignoreViewExtent?: boolean;
271
+ viewExtent?: Extent;
237
272
  }): WebChartQuery;
238
273
 
239
274
  /**
@@ -1,13 +1,13 @@
1
- import type FeatureLayer from "@arcgis/core/layers/FeatureLayer";
1
+ import type FeatureLayer from "@arcgis/core/layers/FeatureLayer.js";
2
2
  import type { WebChartConfigFields } from "./interfaces.js";
3
3
  import type { IFeatureLayer } from "../../../spec/rest-js-types.js";
4
4
  import type { WebChartDataTypes } from "../../../spec/data-source.js";
5
5
  import type { WebChart } from "../../../spec/web-chart.js";
6
6
 
7
7
  /**
8
- * Creates a chart renderer based on the provided config fields and inline data
8
+ * Creates a chart renderer based on the provided config fields and inline data.
9
9
  *
10
- * @param props - The category field
10
+ * @param props - The category field, the numeric fields, the config fields and the data to convert.
11
11
  */
12
12
  export function convertConfigFieldsToChartRenderer(props: {
13
13
  categoryField: string;
@@ -17,9 +17,9 @@ export function convertConfigFieldsToChartRenderer(props: {
17
17
  }): WebChart["chartRenderer"];
18
18
 
19
19
  /**
20
- * Converts an array of inline data to a feature set and returns an IFeatureLayer
20
+ * Converts an array of inline data to a feature set and returns an `IFeatureLayer`.
21
21
  *
22
- * @param props - The category field
22
+ * @param props - The category field, the category type, the numeric fields and the inline data to convert.
23
23
  */
24
24
  export function convertInlineDataToLayerDefinition(props: {
25
25
  categoryField: string;
@@ -29,10 +29,9 @@ export function convertInlineDataToLayerDefinition(props: {
29
29
  }): IFeatureLayer | undefined;
30
30
 
31
31
  /**
32
- * Converts an array of inline data into a feature collection.
33
- * Also returns a chartRenderer if the configFields are provided.
32
+ * Converts an array of inline data into a feature collection. Also returns a `chartRenderer` if the `configFields` are provided.
34
33
  *
35
- * @param props - The category field
34
+ * @param props - The category field, the category type, the numeric fields, the config fields and the inline data to convert.
36
35
  */
37
36
  export function convertInlineConfigToLayerConfig(props: {
38
37
  categoryField: string;
@@ -1,17 +1,17 @@
1
- import type MapView from "@arcgis/core/views/MapView";
2
- import type SceneView from "@arcgis/core/views/SceneView";
3
- import type FeatureLayerView from "@arcgis/core/views/layers/FeatureLayerView";
4
- import type { SupportedLayer } from "../../interfaces.js";
5
- import type { WebChart } from "../../spec/web-chart.js";
1
+ import type MapView from "@arcgis/core/views/MapView.js";
2
+ import type SceneView from "@arcgis/core/views/SceneView.js";
3
+ import type FeatureLayerView from "@arcgis/core/views/layers/FeatureLayerView.js";
4
+ import type { SupportedLayer, SupportedRasterLayer } from "../../interfaces.js";
6
5
  import type { RESTRendererType } from "../../spec/rest-js-object-literals.js";
7
- import type { ICodedValue } from "../../spec/rest-js-types.js";
6
+ import type { WebChart } from "../../spec/web-chart.js";
8
7
 
9
8
  /** @internal */
10
9
  export interface QueryObjectProps {
11
- chartConfig: WebChart;
12
- layer?: FeatureLayerView | SupportedLayer;
10
+ chartConfig?: WebChart;
11
+ layer?: QueryObjectOrRaster;
13
12
  view?: MapView | SceneView;
14
13
  filterByExtent?: boolean;
14
+ abortSignal?: AbortSignal;
15
15
  }
16
16
 
17
17
  /** @internal */
@@ -33,41 +33,6 @@ export interface ServerRestInfo {
33
33
  };
34
34
  }
35
35
 
36
- /**
37
- * Store information about coded-value domains in the subtype
38
- *
39
- * @internal
40
- */
41
- export interface ICodedValueDomain {
42
- fieldName: string;
43
- name: string;
44
- codedValues?: ICodedValue[];
45
- }
46
-
47
- /**
48
- * Store information about featureType
49
- *
50
- * @internal
51
- */
52
- export interface IFeatureType {
53
- id: number | string;
54
- name: string;
55
- domains?: ICodedValueDomain[];
56
- }
57
-
58
- /**
59
- * Store information about subtypes from the feature layer, if any, with:
60
- * - either the couple typeIdField + types
61
- * - or the couple subtypeField + subtypes
62
- * representing the field name and information associating a code with a name
63
- *
64
- * @internal
65
- */
66
- export interface SubtypeInfo {
67
- typeIdField?: string;
68
- types?: IFeatureType[];
69
- subtypeField?: string;
70
- subtypes?: IFeatureType[];
71
- }
36
+ export type QueryObject = FeatureLayerView | SupportedLayer;
72
37
 
73
- export type QueryObject = FeatureLayerView | SupportedLayer | undefined;
38
+ export type QueryObjectOrRaster = QueryObject | SupportedRasterLayer;
@@ -6,6 +6,7 @@ import type { QueryObject } from "../interfaces.js";
6
6
  import type { AbortControllerKeyType, Features } from "./interfaces.js";
7
7
  import type { WebChartQuery, WebChartTemporalBinning, WebHeatChart } from "../../../spec/web-chart.js";
8
8
  import type { WebChartDataItem } from "../../../spec/data-source.js";
9
+ import type { ChartOptions } from "../../../chart-rendering/common/interfaces.js";
9
10
 
10
11
  /**
11
12
  * Performs a query analytic.
@@ -44,6 +45,7 @@ export function queryAttributeBinsForHeatChart(props: {
44
45
  chartConfig: WebHeatChart;
45
46
  queryObject: QueryObject;
46
47
  queryConfig: WebChartQuery;
48
+ options?: ChartOptions;
47
49
  errorStrings: ErrorStrings;
48
50
  }): Promise<AttributeBinsFeatureSet | undefined>;
49
51
 
@@ -112,7 +114,7 @@ export function queryStatistics<T extends Date | number | string>(props: {
112
114
  * @internal
113
115
  */
114
116
  export function queryFeatures(props: {
115
- queryObject?: QueryObject;
117
+ queryObject: QueryObject;
116
118
  queryConfig?: WebChartQuery;
117
119
  returnUniqueIdsOnly?: boolean;
118
120
  abortKey?: AbortControllerKeyType;
@@ -126,7 +128,7 @@ export function queryFeatures(props: {
126
128
  * @internal
127
129
  */
128
130
  export function queryAllFeatures(props: {
129
- queryObject?: QueryObject;
131
+ queryObject: QueryObject;
130
132
  queryConfig?: WebChartQuery;
131
133
  returnUniqueIdsOnly?: boolean;
132
134
  featureCount?: number;
@@ -141,7 +143,7 @@ export function queryAllFeatures(props: {
141
143
  * @internal
142
144
  */
143
145
  export function queryUniqueIDs(props: {
144
- queryObject?: QueryObject;
146
+ queryObject: QueryObject;
145
147
  queryConfig: WebChartQuery;
146
148
  uniqueFeature?: boolean;
147
149
  abortKey?: AbortControllerKeyType;
@@ -174,7 +176,7 @@ export function getQueryAttributeBinsForTemporalDataAliases(x: string): {
174
176
  * @internal
175
177
  */
176
178
  export function queryAttributeBinsForTemporalData(props: {
177
- queryObject?: QueryObject;
179
+ queryObject: QueryObject;
178
180
  queryConfig: WebChartQuery;
179
181
  temporalBinning?: WebChartTemporalBinning;
180
182
  dateField: string;
@@ -1,4 +1,4 @@
1
- import type Graphic from "@arcgis/core/Graphic";
1
+ import type Graphic from "@arcgis/core/Graphic.js";
2
2
 
3
3
  /** @internal */
4
4
  export type AbortControllerKeyType = Date | number | string;
@@ -1,4 +1,4 @@
1
- import type Geometry from "@arcgis/core/geometry/Geometry";
1
+ import type Geometry from "@arcgis/core/geometry/Geometry.js";
2
2
  import type FeatureLayer from "@arcgis/core/layers/FeatureLayer.js";
3
3
  import type SubtypeSublayer from "@arcgis/core/layers/support/SubtypeSublayer.js";
4
4
  import type AttributeBinsQuery from "@arcgis/core/rest/support/AttributeBinsQuery.js";
@@ -7,7 +7,8 @@ import type TimeExtent from "@arcgis/core/time/TimeExtent.js";
7
7
  import type { QueryProperties } from "@arcgis/core/rest/support/Query.js";
8
8
  import type { RESTFieldType } from "../../../spec/rest-js-object-literals.js";
9
9
  import type { WebChartHeatChartSeries, WebChartQuery, WebChartTemporalBinning } from "../../../spec/web-chart.js";
10
- import type { QueryObject } from "../interfaces.js";
10
+ import type { QueryObject, QueryObjectOrRaster } from "../interfaces.js";
11
+ import type { ChartOptions } from "../../../chart-rendering/common/interfaces.js";
11
12
 
12
13
  /**
13
14
  * Indicates whether a query can be cached. It is not when:
@@ -19,7 +20,10 @@ import type { QueryObject } from "../interfaces.js";
19
20
  */
20
21
  export function isQueryCacheable(query: AttributeBinsQuery | Query | QueryProperties): boolean;
21
22
 
22
- /** @param layer */
23
+ /**
24
+ * @param layer
25
+ * @internal
26
+ */
23
27
  export function getMaxRecords(layer?: Pick<FeatureLayer, "sourceJSON"> | SubtypeSublayer): number;
24
28
 
25
29
  /**
@@ -38,7 +42,7 @@ export function combineFilters(filterList: (string | null | undefined)[], operan
38
42
  * @param defaultTimeExtent - The time extent defined at the series config level or provided at runtime
39
43
  * @internal
40
44
  */
41
- export function getQueryTimeExtent(queryObject: QueryObject, defaultTimeExtent?: WebChartQuery["timeExtent"]): WebChartQuery["timeExtent"] | undefined;
45
+ export function getQueryTimeExtent(queryObject?: QueryObjectOrRaster, defaultTimeExtent?: WebChartQuery["timeExtent"]): WebChartQuery["timeExtent"] | undefined;
42
46
 
43
47
  /**
44
48
  * Computes the extent to be used by the query. We prioritize the feature layer view extent
@@ -48,7 +52,7 @@ export function getQueryTimeExtent(queryObject: QueryObject, defaultTimeExtent?:
48
52
  * @internal
49
53
  */
50
54
  export function getQueryGeometry(props: {
51
- queryObject: QueryObject;
55
+ queryObject?: QueryObject;
52
56
  defaultGeometry?: WebChartQuery["geometry"];
53
57
  ignoreViewExtent?: boolean;
54
58
  }): WebChartQuery["geometry"] | undefined;
@@ -76,12 +80,12 @@ export function mapQueryGeometry(geometryConfig?: WebChartQuery["geometry"]): Ge
76
80
  * @internal
77
81
  */
78
82
  export function mapAttributeBinsQueryForTemporalData(props: {
79
- queryObject?: QueryObject;
83
+ queryObject: QueryObject;
80
84
  queryConfig?: WebChartQuery;
81
85
  temporalBinning: WebChartTemporalBinning;
82
86
  dateField: string;
83
87
  splitByField?: string;
84
- }): Promise<AttributeBinsQuery>;
88
+ }): AttributeBinsQuery;
85
89
 
86
90
  /**
87
91
  * Builds a SQL expression as well as the start and end values necessary for the calendar date parts binning.
@@ -111,16 +115,17 @@ export function getCalendarDatePartsParameters(props: {
111
115
  * @internal
112
116
  */
113
117
  export function mapAttributeBinsQueryForHeatChart(props: {
114
- queryObject?: QueryObject;
118
+ queryObject: QueryObject;
115
119
  queryConfig?: WebChartQuery;
116
120
  x: string;
117
121
  y: string;
118
122
  xTemporalBinning?: WebChartHeatChartSeries["xTemporalBinning"];
119
123
  yTemporalBinning?: WebChartHeatChartSeries["yTemporalBinning"];
120
124
  firstDayOfWeek?: number;
121
- outTimeZone?: string;
125
+ configTimeZone?: string;
122
126
  includeLeapDay?: boolean;
123
- }): Promise<AttributeBinsQuery>;
127
+ options?: ChartOptions;
128
+ }): AttributeBinsQuery;
124
129
 
125
130
  /**
126
131
  * Maps properties from a WebChartQuery and properties specific to temporal binning into an AttributeBinsQuery object.
@@ -129,7 +134,7 @@ export function mapAttributeBinsQueryForHeatChart(props: {
129
134
  * @internal
130
135
  */
131
136
  export function mapAttributeBinsQueryForScatterplot(props: {
132
- queryObject?: QueryObject;
137
+ queryObject: QueryObject;
133
138
  queryConfig?: WebChartQuery;
134
139
  xStep: number;
135
140
  yStep: number;
@@ -146,7 +151,7 @@ export function mapAttributeBinsQueryForScatterplot(props: {
146
151
  * @internal
147
152
  */
148
153
  export function mapQuery(props: {
149
- queryObject?: QueryObject;
154
+ queryObject: QueryObject;
150
155
  queryConfig?: WebChartQuery;
151
156
  maxRecordCountFactor?: number;
152
157
  }): Query;