@arcgis/charts-components 5.2.0-next.3 → 5.2.0-next.30

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 (279) hide show
  1. package/dist/cdn/2ODYZG66.js +2 -0
  2. package/dist/cdn/{TAI4RIWT.js → 2SPGX6AF.js} +1 -1
  3. package/dist/cdn/35NSJ3NJ.js +2 -0
  4. package/dist/cdn/3MKY6UCO.js +2 -0
  5. package/dist/cdn/3NKDMMC2.js +2 -0
  6. package/dist/cdn/3QO6REDF.js +102 -0
  7. package/dist/cdn/3SBYV6BW.js +2 -0
  8. package/dist/cdn/{LRNADJJG.js → 3TBK72EK.js} +1 -1
  9. package/dist/cdn/{PC7IKOIB.js → 3UTF2CB3.js} +1 -1
  10. package/dist/cdn/3YN4EKSJ.js +2 -0
  11. package/dist/cdn/4BEGCEGA.js +4 -0
  12. package/dist/cdn/{TZB57XD4.js → 4P7URPRQ.js} +1 -1
  13. package/dist/cdn/4TRUG37X.js +2 -0
  14. package/dist/cdn/5UO6L27Q.js +2 -0
  15. package/dist/cdn/{PVJEBBA7.js → 5XCU5SR2.js} +1 -1
  16. package/dist/cdn/{YRBE7MBU.js → 6ANVHVX4.js} +1 -1
  17. package/dist/cdn/{VDG54AIC.js → 6CB5R4QQ.js} +1 -1
  18. package/dist/cdn/{U4XLNCOU.js → 6GV2QPKV.js} +1 -1
  19. package/dist/cdn/{JVHJMPFE.js → 6OCDFMFB.js} +1 -1
  20. package/dist/cdn/6VK54DG5.js +2 -0
  21. package/dist/cdn/{3YT44D4Z.js → 6XIDALQU.js} +1 -1
  22. package/dist/cdn/7VQXBQMZ.js +2 -0
  23. package/dist/cdn/{GL3IXVRN.js → 7Z7NOIH2.js} +1 -1
  24. package/dist/cdn/A636YSNA.js +2 -0
  25. package/dist/cdn/{5G7DSKI7.js → ADYDCO3M.js} +1 -1
  26. package/dist/cdn/{NQQW4GKA.js → AICTKGE3.js} +1 -1
  27. package/dist/cdn/AQIB3VEP.js +2 -0
  28. package/dist/cdn/AZR6HVRW.js +2 -0
  29. package/dist/cdn/{BBURKBKE.js → AZY72Q7D.js} +1 -1
  30. package/dist/cdn/BI54CNMR.js +2 -0
  31. package/dist/cdn/BJBNELDD.js +3 -0
  32. package/dist/cdn/BKU72IQC.js +2 -0
  33. package/dist/cdn/{N5ERJZPG.js → BQXXD2HU.js} +1 -1
  34. package/dist/cdn/BZFGE4LO.js +2 -0
  35. package/dist/cdn/C4TQOUPO.js +2 -0
  36. package/dist/cdn/{UKDTXHZT.js → CLN32L2L.js} +1 -1
  37. package/dist/cdn/CRCAJAFA.js +2 -0
  38. package/dist/cdn/DAF2U7TN.js +2 -0
  39. package/dist/cdn/DKENYDHS.js +233 -0
  40. package/dist/cdn/{5JML3JUR.js → DRFJC64L.js} +1 -1
  41. package/dist/cdn/{PK5XIIZY.js → G5EGTXMY.js} +1 -1
  42. package/dist/cdn/{KLC6NTPC.js → GCRQHIGQ.js} +1 -1
  43. package/dist/cdn/{HCMD362H.js → HBS6O3P3.js} +1 -1
  44. package/dist/cdn/{5QO32XSX.js → HIW5WRHR.js} +1 -1
  45. package/dist/cdn/IHHPUKGG.js +2 -0
  46. package/dist/cdn/IPALCXFF.js +2 -0
  47. package/dist/cdn/IWMWJN7M.js +2 -0
  48. package/dist/cdn/{A5GIBV5W.js → J2HYDDIW.js} +1 -1
  49. package/dist/cdn/JBR6IJMK.js +2 -0
  50. package/dist/cdn/{MRTKZZTF.js → JHANH4UG.js} +1 -1
  51. package/dist/cdn/JIV6BQKG.js +2 -0
  52. package/dist/cdn/{RFQBUWOW.js → K27GKXGP.js} +1 -1
  53. package/dist/cdn/{VVKV5KKN.js → KFPJI52X.js} +1 -1
  54. package/dist/cdn/KQLAAGKI.js +2 -0
  55. package/dist/cdn/{FDXE5JLT.js → LFXRCL7K.js} +1 -1
  56. package/dist/cdn/{UT4TYXFO.js → LU5S2VRK.js} +1 -1
  57. package/dist/cdn/{7ABIELGZ.js → M4ZJRIYM.js} +1 -1
  58. package/dist/cdn/M7QZTQSD.js +2 -0
  59. package/dist/cdn/{LZYN55O4.js → MBPFBE3E.js} +1 -1
  60. package/dist/cdn/MEA74C44.js +2 -0
  61. package/dist/cdn/{U2LJZ4ML.js → MVUIKY5Y.js} +1 -1
  62. package/dist/cdn/{3DK6M5E7.js → N673JFHK.js} +1 -1
  63. package/dist/cdn/NKVZYKL5.js +2 -0
  64. package/dist/cdn/O533LNDP.js +2 -0
  65. package/dist/cdn/O5NKLK7V.js +2 -0
  66. package/dist/cdn/PEYVSFSE.js +58 -0
  67. package/dist/cdn/{KOBNV5AQ.js → PKQOLKTW.js} +1 -1
  68. package/dist/cdn/{TNB3MBXR.js → Q2GW5LB7.js} +1 -1
  69. package/dist/cdn/QGEFY4ND.js +2 -0
  70. package/dist/cdn/{WASEMNYV.js → QNT6HTFC.js} +1 -1
  71. package/dist/cdn/{R45FWF7D.js → QV3NMKKZ.js} +1 -1
  72. package/dist/cdn/REZ2QR42.js +2 -0
  73. package/dist/cdn/{CHQDKVVQ.js → RIM4HLHN.js} +1 -1
  74. package/dist/cdn/{PZGIXDMC.js → RKG6CXUU.js} +1 -1
  75. package/dist/cdn/S7Z4HRW7.js +2 -0
  76. package/dist/cdn/SAYLTYWY.js +2 -0
  77. package/dist/cdn/SOGVYNPI.js +2 -0
  78. package/dist/cdn/SSKHF7PO.js +2 -0
  79. package/dist/cdn/{RAQZUMC6.js → T5TFLMQL.js} +1 -1
  80. package/dist/cdn/{23YH7MTF.js → TCS4HOSG.js} +1 -1
  81. package/dist/cdn/{LDPHZHSF.js → TOFVWGTG.js} +1 -1
  82. package/dist/cdn/TSA7UMSZ.js +2 -0
  83. package/dist/cdn/{KI4HS3AM.js → U3MRRFML.js} +1 -1
  84. package/dist/cdn/VWTJHXHI.js +2 -0
  85. package/dist/cdn/{PSO5AURI.js → WHVW3P3O.js} +1 -1
  86. package/dist/cdn/{WEQBZOH7.js → WJHIJTWS.js} +1 -1
  87. package/dist/cdn/{CJ4POAPM.js → WU62O2AU.js} +1 -1
  88. package/dist/cdn/X7YEBHBF.js +2 -0
  89. package/dist/cdn/X7Z4LEZH.js +2 -0
  90. package/dist/cdn/XRLVJJBT.js +2 -0
  91. package/dist/cdn/XRP6IFM4.js +2 -0
  92. package/dist/cdn/{TYMKFCF4.js → Y6CFEFZM.js} +1 -1
  93. package/dist/cdn/{LONASKGH.js → YFHB2EFH.js} +1 -1
  94. package/dist/cdn/YQIFZJTZ.js +2 -0
  95. package/dist/cdn/{2K4ODNJ4.js → YWCIV7ZZ.js} +1 -1
  96. package/dist/cdn/{VEA5ZR5D.js → YWKPGNHB.js} +1 -1
  97. package/dist/cdn/{ZRFHAQL6.js → Z43DVT6G.js} +1 -1
  98. package/dist/cdn/ZW4PF3UK.js +2 -0
  99. package/dist/cdn/assets/common/t9n/messages.en.json +1 -1
  100. package/dist/cdn/index.js +1 -1
  101. package/dist/cdn/main.css +1 -1
  102. package/dist/cdn/model/shared/setup-utils.js +2 -0
  103. package/dist/chart-rendering/common/data/utils/summarize-data/interfaces.d.ts +5 -1
  104. package/dist/chart-rendering/common/interfaces.d.ts +8 -8
  105. package/dist/chunks/chart-model.js +170 -138
  106. package/dist/chunks/class-breaks.js +18 -18
  107. package/dist/chunks/data.js +57 -57
  108. package/dist/chunks/heat-chart-model.js +46 -26
  109. package/dist/chunks/index2.js +2319 -2284
  110. package/dist/chunks/index3.js +32 -29
  111. package/dist/chunks/index4.js +107 -49
  112. package/dist/chunks/model-setter.js +1 -1
  113. package/dist/chunks/model-with-y-guides.js +6 -6
  114. package/dist/chunks/pie-chart-data.js +42 -36
  115. package/dist/chunks/pie-chart-model.js +175 -162
  116. package/dist/chunks/rotated-state.js +1 -1
  117. package/dist/chunks/scatterplot-model.js +1 -1
  118. package/dist/chunks/serial-chart-data.js +572 -526
  119. package/dist/chunks/serial-chart-model.js +107 -93
  120. package/dist/chunks/utils.js +67 -56
  121. package/dist/chunks/web-component-utils.js +632 -492
  122. package/dist/components/arcgis-chart/customElement.d.ts +145 -138
  123. package/dist/components/arcgis-chart/customElement.js +7178 -7164
  124. package/dist/components/arcgis-charts-action-bar/customElement.d.ts +4 -0
  125. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
  126. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +3 -3
  127. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +34 -36
  128. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +28 -28
  129. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +5 -8
  130. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +1 -1
  131. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +23 -25
  132. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +1 -1
  133. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +14 -17
  134. package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +14 -16
  135. package/dist/components/arcgis-charts-config-create-flow/customElement.js +15 -15
  136. package/dist/components/arcgis-charts-config-format/customElement.js +25 -25
  137. package/dist/components/arcgis-charts-config-format-popover/customElement.js +7 -10
  138. package/dist/components/arcgis-charts-config-guide-popover/customElement.js +8 -11
  139. package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +1 -1
  140. package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +50 -51
  141. package/dist/components/arcgis-charts-config-histogram/customElement.js +28 -23
  142. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +33 -34
  143. package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
  144. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +2 -2
  145. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +35 -37
  146. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +6 -6
  147. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +4 -5
  148. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +49 -56
  149. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +54 -55
  150. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +6 -6
  151. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +5 -8
  152. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +27 -22
  153. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +75 -75
  154. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +18 -19
  155. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +8 -10
  156. package/dist/docs/api.json +1 -1
  157. package/dist/docs/docs.json +1 -1
  158. package/dist/docs/vscode.html-custom-data.json +1 -1
  159. package/dist/docs/web-types.json +1 -1
  160. package/dist/index.d.ts +66 -70
  161. package/dist/index.js +212 -210
  162. package/dist/json-schema/index.d.ts +59 -2
  163. package/dist/loader.js +1 -1
  164. package/dist/model/chart-model/chart-model.d.ts +2 -1
  165. package/dist/model/heat-chart-model/heat-chart-model.d.ts +22 -0
  166. package/dist/model/interfaces/common.d.ts +0 -2
  167. package/dist/model/mixins/model-with-multi-axes.d.ts +22 -22
  168. package/dist/model/pie-chart-model/pie-chart-model.d.ts +2 -0
  169. package/dist/model/properties/data-tooltip-font-size.d.ts +20 -0
  170. package/dist/model/properties/rotated-state.d.ts +1 -1
  171. package/dist/model/serial-chart-model/serial-chart-model.d.ts +15 -0
  172. package/dist/spec/rest-js-object-literals.d.ts +2 -2
  173. package/dist/spec/rest-js-types.d.ts +22 -8
  174. package/dist/spec/web-chart.d.ts +8 -2
  175. package/dist/utils/chart-config/converter/index.js +1 -1
  176. package/dist/utils/chart-config/utils/index.d.ts +35 -0
  177. package/dist/utils/chart-config/validator/index.d.ts +1 -0
  178. package/dist/utils/chart-config/validator/interfaces.d.ts +3 -3
  179. package/dist/utils/data/index.d.ts +9 -12
  180. package/dist/utils/defaults/index.d.ts +1 -2
  181. package/dist/utils/errors/index.d.ts +1 -1
  182. package/dist/utils/layer/index.d.ts +5 -3
  183. package/dist/utils/layer/inline-conversion/interfaces.d.ts +0 -2
  184. package/dist/utils/layer/query-parser/index.d.ts +3 -3
  185. package/dist/utils/localization/interfaces.d.ts +4 -0
  186. package/dist/utils/misc/index.d.ts +2 -3
  187. package/dist/utils/types/index.d.ts +1 -5
  188. package/package.json +6 -6
  189. package/dist/cdn/24LTTBTF.js +0 -2
  190. package/dist/cdn/26FWESH3.js +0 -102
  191. package/dist/cdn/3XHZ677O.js +0 -2
  192. package/dist/cdn/5FMEOIBS.js +0 -3
  193. package/dist/cdn/74JAZF7U.js +0 -2
  194. package/dist/cdn/7HIZH35G.js +0 -2
  195. package/dist/cdn/CCR46UHB.js +0 -2
  196. package/dist/cdn/CRFJ2GGS.js +0 -2
  197. package/dist/cdn/CXQOEN77.js +0 -2
  198. package/dist/cdn/DYC3Q36R.js +0 -2
  199. package/dist/cdn/E2N2S7BH.js +0 -2
  200. package/dist/cdn/E43KEVHT.js +0 -2
  201. package/dist/cdn/EXTKNE2L.js +0 -2
  202. package/dist/cdn/F7Y6EWWB.js +0 -2
  203. package/dist/cdn/G5HVFOIO.js +0 -2
  204. package/dist/cdn/G7TRU7JI.js +0 -2
  205. package/dist/cdn/GES3HRXE.js +0 -2
  206. package/dist/cdn/HCV34H6X.js +0 -2
  207. package/dist/cdn/IHQ7R6L4.js +0 -4
  208. package/dist/cdn/IUFXFWXH.js +0 -2
  209. package/dist/cdn/JHYH555K.js +0 -2
  210. package/dist/cdn/JNNB2DIA.js +0 -2
  211. package/dist/cdn/JRRFLDWX.js +0 -58
  212. package/dist/cdn/KVGEY3IQ.js +0 -2
  213. package/dist/cdn/LWODMEOP.js +0 -2
  214. package/dist/cdn/LYZGRYQV.js +0 -2
  215. package/dist/cdn/MF3FGXHI.js +0 -2
  216. package/dist/cdn/MUPHTV55.js +0 -2
  217. package/dist/cdn/N524VXQ2.js +0 -2
  218. package/dist/cdn/NGPMU4T3.js +0 -2
  219. package/dist/cdn/NJCZ6UTM.js +0 -2
  220. package/dist/cdn/NMB6TWC2.js +0 -2
  221. package/dist/cdn/NNNTZU5J.js +0 -2
  222. package/dist/cdn/NS3THLCD.js +0 -2
  223. package/dist/cdn/NZR4L5AA.js +0 -2
  224. package/dist/cdn/OE3UFORR.js +0 -2
  225. package/dist/cdn/P2NPQAJ3.js +0 -2
  226. package/dist/cdn/PJUAU42S.js +0 -2
  227. package/dist/cdn/PY5Q3V6E.js +0 -2
  228. package/dist/cdn/RMYZGOBM.js +0 -2
  229. package/dist/cdn/RX3RNE7F.js +0 -2
  230. package/dist/cdn/TU3UF32Y.js +0 -2
  231. package/dist/cdn/TXSWWAOF.js +0 -2
  232. package/dist/cdn/UAJGYF4S.js +0 -2
  233. package/dist/cdn/UT6G7RV7.js +0 -2
  234. package/dist/cdn/VOTZAPI3.js +0 -2
  235. package/dist/cdn/WO6JBNMU.js +0 -2
  236. package/dist/cdn/YYK7SPXC.js +0 -2
  237. package/dist/cdn/ZRZEKOEF.js +0 -2
  238. package/dist/chunks/time-zone.js +0 -38
  239. /package/dist/cdn/{XE3FKQFA.js → 3HAB3JR6.js} +0 -0
  240. /package/dist/cdn/{DCZWZOPF.js → 3YOOX2CV.js} +0 -0
  241. /package/dist/cdn/{IPM2XKST.js → 4DSO7LUF.js} +0 -0
  242. /package/dist/cdn/{FF4DUQDZ.js → 5HRLHWQ5.js} +0 -0
  243. /package/dist/cdn/{ETKPMU7Z.js → 732EZ6WJ.js} +0 -0
  244. /package/dist/cdn/{AWF4R7WL.js → 7IS6QE6S.js} +0 -0
  245. /package/dist/cdn/{HVO4LIXR.js → 7XZZ5OZL.js} +0 -0
  246. /package/dist/cdn/{5MEQANMY.js → AN2NRYQV.js} +0 -0
  247. /package/dist/cdn/{L4G6FO7A.js → ASUGYCJ6.js} +0 -0
  248. /package/dist/cdn/{AM2TOTX6.js → BICQEJYZ.js} +0 -0
  249. /package/dist/cdn/{5XTQQOTT.js → C2I4WPWM.js} +0 -0
  250. /package/dist/cdn/{CLXVAIQX.js → C47AIJTI.js} +0 -0
  251. /package/dist/cdn/{N6AOFBBX.js → C5YJ7J3A.js} +0 -0
  252. /package/dist/cdn/{QOOBNATX.js → DPV2ZJLF.js} +0 -0
  253. /package/dist/cdn/{CJPEW4LJ.js → E4535ZTP.js} +0 -0
  254. /package/dist/cdn/{XW4PBQNW.js → FJNRPAMO.js} +0 -0
  255. /package/dist/cdn/{JBHGSSHS.js → GI54JT4O.js} +0 -0
  256. /package/dist/cdn/{5YJNENER.js → GYTYFBNU.js} +0 -0
  257. /package/dist/cdn/{AJWYIBGC.js → J5QUGI2J.js} +0 -0
  258. /package/dist/cdn/{TF7TE7K5.js → JPEN5TFK.js} +0 -0
  259. /package/dist/cdn/{SBYD2EKR.js → KBQM3DLQ.js} +0 -0
  260. /package/dist/cdn/{7FZC3RZK.js → LEMJA72W.js} +0 -0
  261. /package/dist/cdn/{6XTKJ7DO.js → MMO2QPOA.js} +0 -0
  262. /package/dist/cdn/{BJDRJUEJ.js → PS7IL5JZ.js} +0 -0
  263. /package/dist/cdn/{E7OAEGSE.js → R2RRMPOC.js} +0 -0
  264. /package/dist/cdn/{YOT6DVSU.js → RV6E7KKQ.js} +0 -0
  265. /package/dist/cdn/{GV3TT7L5.js → RYLXJPKL.js} +0 -0
  266. /package/dist/cdn/{LFQGH44F.js → S2R72ISR.js} +0 -0
  267. /package/dist/cdn/{2HUAW34Q.js → T4NEEFOY.js} +0 -0
  268. /package/dist/cdn/{K3GNHGEW.js → TEERYUCS.js} +0 -0
  269. /package/dist/cdn/{A4GEWIPY.js → V454JYTQ.js} +0 -0
  270. /package/dist/cdn/{ZFZ5AEUQ.js → V7JF5I5M.js} +0 -0
  271. /package/dist/cdn/{KFONSKQF.js → VIZWWEG5.js} +0 -0
  272. /package/dist/cdn/{KZ7LPNX3.js → W5SPX6WM.js} +0 -0
  273. /package/dist/cdn/{JJIGLOJA.js → X2IOJECM.js} +0 -0
  274. /package/dist/cdn/{QMSINFQX.js → X33RIIGI.js} +0 -0
  275. /package/dist/cdn/{ZXOO3X5P.js → YBTVIOHQ.js} +0 -0
  276. /package/dist/cdn/{KUZR6CGB.js → YFQHZWLO.js} +0 -0
  277. /package/dist/cdn/{DKAHZ7IX.js → YX4EVVJM.js} +0 -0
  278. /package/dist/cdn/{DEGBVJ76.js → YXH22GJ6.js} +0 -0
  279. /package/dist/cdn/{A5AECJXP.js → ZMQTYGGT.js} +0 -0
@@ -71,7 +71,16 @@ export interface IGeometry {
71
71
  spatialReference?: ISpatialReference;
72
72
  }
73
73
 
74
- /** @internal */
74
+ /**
75
+ * A simple point geometry, with spatial reference defined.
76
+ *
77
+ * `IPoint` can also be imported from the following packages:
78
+ *
79
+ * ```js
80
+ * import { IPoint } from "@esri/arcgis-rest-routing";
81
+ * import { IPoint } from "@esri/arcgis-rest-geocoding";
82
+ * ```
83
+ */
75
84
  export interface IPoint extends IHasZM, IGeometry {
76
85
  x: number;
77
86
  y: number;
@@ -90,7 +99,7 @@ export interface ILocation {
90
99
  z?: number;
91
100
  }
92
101
 
93
- /** @internal */
102
+ /** Polyline geometry. */
94
103
  export interface IPolyline extends IHasZM, IGeometry {
95
104
  paths: Position[][];
96
105
  }
@@ -103,12 +112,12 @@ export interface IPolylineWithCurves extends IHasZM, IGeometry {
103
112
  curvePaths: (JsonCurve | Position)[][];
104
113
  }
105
114
 
106
- /** @internal */
115
+ /** Polygon geometry. */
107
116
  export interface IPolygon extends IHasZM, IGeometry {
108
117
  rings: Position[][];
109
118
  }
110
119
 
111
- /** @internal */
120
+ /** Polygon geometry with curves. */
112
121
  export interface IPolygonWithCurves extends IHasZM, IGeometry {
113
122
  curveRings: (JsonCurve | Position)[][];
114
123
  }
@@ -1367,7 +1376,6 @@ export interface IBingLayer extends ILayer {
1367
1376
  portalUrl?: string;
1368
1377
  }
1369
1378
 
1370
- /** @internal */
1371
1379
  export interface IImageServiceLayer extends ILayer, ISupportsTime {
1372
1380
  /** An array of bandIds that are visible, can specify bands to export or rearrange band order(from image service). */
1373
1381
  bandIds?: number[];
@@ -1748,7 +1756,7 @@ export interface IOpenStreetMapLayer extends ILayer {
1748
1756
  type?: "OpenStreetMap";
1749
1757
  }
1750
1758
 
1751
- /** @internal */
1759
+ /** Tiled image service layer definition. */
1752
1760
  export interface ITiledImageServiceLayer extends ILayer {
1753
1761
  /** Applicable if used as a baseMapLayer. A boolean value indicating whether or not the baseMapLayer draws on top (true) of other layers, including operationalLayers , or below (false). */
1754
1762
  isReference?: boolean;
@@ -1758,7 +1766,7 @@ export interface ITiledImageServiceLayer extends ILayer {
1758
1766
  refreshInterval?: number;
1759
1767
  }
1760
1768
 
1761
- /** @internal */
1769
+ /** Web Coverage Service (WCS) layer definition. */
1762
1770
  export interface IWCSLayer extends ILayer {
1763
1771
  /** Applicable if used as a baseMapLayer. A boolean value indicating whether or not the baseMapLayer draws on top (true) of other layers, including operationalLayers , or below (false). */
1764
1772
  isReference?: boolean;
@@ -1935,7 +1943,13 @@ export interface ICsvLayer extends ILayer {
1935
1943
  type?: "CSV";
1936
1944
  }
1937
1945
 
1938
- /** @internal */
1946
+ /**
1947
+ * Feature layers can be created by referencing a layer from either a map service or a feature service or by specifying a feature collection object.
1948
+ * Use a map service if you just want to retrieve geometries and attributes from the server and symbolize them yourself. Use a feature service if
1949
+ * you want to take advantage of symbols from the service's source map document. Also, use a feature service if you plan on doing editing with the
1950
+ * feature layer. Feature layers honor any feature templates configured in the source map document. Feature collection objects are used to create
1951
+ * a feature layer based on the supplied definition.
1952
+ */
1939
1953
  export interface IFeatureLayer extends ILayer, ISupportsTime {
1940
1954
  /** A comma-separated string listing which editing operations are allowed on an editable feature service. */
1941
1955
  capabilities?: string;
@@ -202,7 +202,7 @@ export interface WebChartOverlay {
202
202
  export interface NumberFormatOptions {
203
203
  /** Represents a unique string identifier for the `NumberFormatOptions` object. For the `NumberFormatOptions` object, it is `number`. It can help to differentiate numerical (value) axis from other types of axes such as date-time axis and category axis. */
204
204
  type: typeof WebChartTypes.NumberAxisFormat;
205
- /** Represents the JS native [Intl.NumberFormatOptions](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/NumberFormat), which is based on [CLDR](https://cldr.unicode.org/translation/number-currency-formats/number-and-currency-patterns) specifications. */
205
+ /** Represents the JS native [Intl.NumberFormatOptions](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/NumberFormat), which is based on [CLDR](https://cldr.unicode.org/translation/number-currency-formats/number-and-currency-patterns) specifications. */
206
206
  intlOptions: Intl.NumberFormatOptions;
207
207
  }
208
208
 
@@ -232,7 +232,7 @@ export interface WebChartDateTimeUnitFormatOptions {
232
232
  export interface DateTimeFormatOptions {
233
233
  /** Represents a unique string identifier for the `NumberFormatOptions` object. For the `NumberFormatOptions` object, it is `date`. It can help to differentiate date-time axis from other types of axes such as numeric (value) axis and category axis. */
234
234
  type: typeof WebChartTypes.DateAxisFormat;
235
- /** 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](https://cldr.unicode.org/translation/date-time/date-time-patterns) specifications. */
235
+ /** Represent the JS native [Intl.DateTimeFormatOptions](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/DateTimeFormat), which is based on [CLDR](https://cldr.unicode.org/translation/date-time/date-time-patterns) specifications. */
236
236
  intlOptions: Intl.DateTimeFormatOptions;
237
237
  /** Represents how to format specific date and time units when displayed on the axis, independently from the `intlOptions`. */
238
238
  formatPerDateTimeUnit?: WebChartDateTimeUnitFormatOptions;
@@ -627,6 +627,12 @@ export interface WebChartSeries {
627
627
  * Used for bar and line charts using a date x-axis with no time binning.
628
628
  */
629
629
  dataTooltipDateFormat?: DateTimeFormatOptions;
630
+ /**
631
+ * Specifies the font size for tooltip text.
632
+ *
633
+ * @default 14
634
+ */
635
+ dataTooltipFontSize?: number;
630
636
  /** Specifies the name of the series. It would be reflected in the chart's legend. */
631
637
  name: string;
632
638
  /** Specifies a query object associated with a particular series containing information on what data to fetch for that series. */
@@ -2,7 +2,7 @@
2
2
  import { getElementLocale as ze } from "@arcgis/toolkit/intl";
3
3
  import { cloneDeep as n, isEmpty as h } from "lodash-es";
4
4
  import { DateTime as He } from "luxon";
5
- import { af as $e, Q as oe, Z as Qe, cq as se, cR as ne, b$ as Ye, ac as Ke, Y as O, bf as Xe, O as b, bC as ee, aG as Ze, aH as Je, m as Z, h as Ue, w as et } from "../../../chunks/index2.js";
5
+ import { af as $e, Q as oe, Z as Qe, cq as se, cR as ne, c1 as Ye, ac as Ke, Y as O, bg as Xe, O as b, bE as ee, aG as Ze, aH as Je, m as Z, h as Ue, w as et } from "../../../chunks/index2.js";
6
6
  import { W as tt, ax as rt, g as it, D as ot, ad as st } from "../../../chunks/index.js";
7
7
  import { c as nt } from "../../../chunks/type-guards.js";
8
8
  import { C as f, h as k, q as ae } from "../../../chunks/index3.js";
@@ -4,10 +4,12 @@ import type { RESTSymbolType } from "../../../spec/rest-js-object-literals.js";
4
4
  import type { IField } from "../../../spec/rest-js-types.js";
5
5
  import type { WebBoxPlot, WebChart, WebChartLegend, WebChartSeriesType, WebHeatChart } from "../../../spec/web-chart.js";
6
6
  import type { DataUpdateDetails } from "../../data/interfaces.js";
7
+ import type { ChartElementLimit } from "../../defaults/interfaces.js";
7
8
  import type { QueryObjectOrRaster as QueryObject } from "../../layer/interfaces.js";
8
9
  import type { ChartSubType, SelectionData } from "../../misc/interfaces.js";
9
10
  import type { WebChartSeriesSupportingTemporalBinning } from "./interfaces.js";
10
11
  import type { ChartOptions } from "../../../chart-rendering/common/interfaces.js";
12
+ import type { WebChartBin, WebChartDataItem } from "../../../spec/data-source.js";
11
13
 
12
14
  /**
13
15
  * Retrieve and construct chart version information based on the input version and the currently supported ArcGIS Chart versions
@@ -95,6 +97,7 @@ export function isAbsoluteTruthWhereClause(where?: string): boolean;
95
97
  * - where = "field = 5" => returns "field = 5"
96
98
  * - where = "field = 'value'" => returns "field = 'value'"
97
99
  * - where = "field = 'va'lue'" => returns "field = 'va''lue'"
100
+ * - where = "field = null => returns "field IS NULL"
98
101
  *
99
102
  * @param props - the where clause to normalize
100
103
  * @internal
@@ -128,6 +131,35 @@ export function getBoxPlotChartSubType(seriesConfig: WebChartSeriesType[]): Char
128
131
  */
129
132
  export function getChartSubType(series?: WebChartSeriesType[]): ChartSubType;
130
133
 
134
+ /**
135
+ * A function to determine whether the scatterplot is aggregated.
136
+ * It can use a map of statistics containing the number of points (computed from the data side) or
137
+ * a data context object usually stored within each marker.
138
+ *
139
+ * @param props - an optional map of statistics
140
+ * @returns A boolean indicating whether the scatterplot is aggregated
141
+ * @internal
142
+ */
143
+ export function isScatterplotAggregated(props: {
144
+ statsMap?: Map<string, number>;
145
+ dataContext?: WebChartDataItem;
146
+ chartLimits?: ChartElementLimit;
147
+ }): boolean;
148
+
149
+ /**
150
+ * A function to determine whether a chart is aggregated.
151
+ * Supports scatterplot, bar, line, combo, and pie chart. Defaults to true for the other types of chart.
152
+ *
153
+ * @param props - An optional data context object
154
+ * @returns A boolean indicating whether the chart is aggregated
155
+ * @internal
156
+ */
157
+ export function isChartAggregated(props: {
158
+ dataContext?: WebChartBin | WebChartDataItem;
159
+ chartConfig: WebChart;
160
+ chartLimits?: ChartElementLimit;
161
+ }): boolean;
162
+
131
163
  /**
132
164
  * Indicates whether the bar or line series is configured to use time binning.
133
165
  *
@@ -440,6 +472,7 @@ export function sortConfigSeries<T extends WebChart | undefined>(chartConfig: T,
440
472
  * This allows x and y category lists to be ordered independently from the flattened cell data traversal.
441
473
  *
442
474
  * @param props - The chart config containing the heat-chart multi-axis sort instructions
475
+ * @internal
443
476
  */
444
477
  export function getHeatChartAxisDataOrderInstruction(props: {
445
478
  chartConfig: WebHeatChart;
@@ -451,6 +484,7 @@ export function getHeatChartAxisDataOrderInstruction(props: {
451
484
  *
452
485
  * @param chartConfig - The chart configuration
453
486
  * @returns An array of objects with sortingField, optionally an orderBy and preferLabel, or undefined.
487
+ * @internal
454
488
  */
455
489
  export function getDataOrderParameters(chartConfig: WebChart | undefined): DataOrderParameters[] | undefined;
456
490
 
@@ -459,6 +493,7 @@ export function getDataOrderParameters(chartConfig: WebChart | undefined): DataO
459
493
  * the data update is needed.
460
494
  *
461
495
  * @param props - The previous chart config
496
+ * @internal
462
497
  */
463
498
  export function isNewSortNeeded(props: {
464
499
  oldConfig: WebChart | undefined;
@@ -9,6 +9,7 @@ import type { WebChart, WebGaugeChart } from "../../../spec/web-chart.js";
9
9
  * - `Errors`: Violations in the config with regard to the JSON schema.
10
10
  * - `Warnings`: Undesired combinations in the config which don't violate the JSON schema but should still be blocked.
11
11
  *
12
+ * @deprecated since 5.1. Won't be replaced.
12
13
  * @param props - The input config, the query object and whether to allow using the object id field as a statistic field.
13
14
  * @returns The validation status.
14
15
  */
@@ -28,9 +28,9 @@ export interface CustomErrorObject {
28
28
  }
29
29
 
30
30
  /**
31
- * Validation Status interface which described the validity of the input WebChart config
31
+ * Validation Status interface which described the validity of the input WebChart config.
32
32
  *
33
- * @internal
33
+ * @deprecated since 5.1. Won't be replaced.
34
34
  */
35
35
  export interface ValidationStatus {
36
36
  valid: boolean;
@@ -55,6 +55,7 @@ export const ConfigErrorKeywords: {
55
55
  export const DataWarningKeywords: {
56
56
  readonly BadData: "badData";
57
57
  readonly EmptyDataSet: "emptyDataSet";
58
+ readonly NoValue: "noValue";
58
59
  readonly InvalidConfig: "invalidConfig";
59
60
  readonly HistogramEmptyField: "histogramEmptyField";
60
61
  readonly BarElementExceedsLimit: "barElementExceedsLimit";
@@ -80,7 +81,6 @@ export interface ElementCountExceededParams {
80
81
  seriesLimit?: number;
81
82
  }
82
83
 
83
- /** @internal */
84
84
  export interface DataWarningObject {
85
85
  keyword: DataWarningKeywords;
86
86
  header?: string;
@@ -158,10 +158,11 @@ export function getDataMinMaxFromSeries(props: {
158
158
  * Get the series id related to the given axis (useful in dual axis mode).
159
159
  *
160
160
  * @param props - The chart configuration
161
+ * @internal
161
162
  */
162
163
  export function getAxisSeriesIds(props: {
163
164
  chartConfig: WebChart;
164
- isSecondValueAxis?: boolean;
165
+ isSecondaryYAxis?: boolean;
165
166
  seriesIds?: string[];
166
167
  }): string[] | undefined;
167
168
 
@@ -183,6 +184,7 @@ export function whetherLogScaleIsDataCompatible(props: {
183
184
  *
184
185
  * @param modifiedData - The data to revert
185
186
  * @param seriesConfig - The series config
187
+ * @internal
186
188
  */
187
189
  export function revertPieFromFieldsProperties<T extends WebChartDataItem[] | WebChartDataTypes>(modifiedData: T, seriesConfig?: WebChart["series"]): T;
188
190
 
@@ -193,6 +195,7 @@ export function revertPieFromFieldsProperties<T extends WebChartDataItem[] | Web
193
195
  *
194
196
  * @param data - The data containing modified x or y values
195
197
  * @param seriesConfig - The series config
198
+ * @internal
196
199
  */
197
200
  export function revertOriginalXAndYValues<T extends WebChartDataItem[] | WebChartDataTypes>(data: T, seriesConfig?: WebChart["series"]): T;
198
201
 
@@ -201,6 +204,7 @@ export function revertOriginalXAndYValues<T extends WebChartDataItem[] | WebChar
201
204
  *
202
205
  * @param dataItem - The data item to sanitize
203
206
  * @returns The sanitized data item
207
+ * @internal
204
208
  */
205
209
  export function removeAdditionalStatisticsPerItem(dataItem: WebChartDataItem): WebChartDataItem;
206
210
 
@@ -210,6 +214,7 @@ export function removeAdditionalStatisticsPerItem(dataItem: WebChartDataItem): W
210
214
  * @param data - The data set to modify
211
215
  * @param seriesConfig - The series config
212
216
  * @returns The sanitized data
217
+ * @internal
213
218
  */
214
219
  export function removeAdditionalStatistics(data: WebChartDataTypes, seriesConfig: WebChartSeriesType[]): WebChartDataTypes;
215
220
 
@@ -227,6 +232,7 @@ export function roundToDecimals(num: number, dec: number): number;
227
232
  * The point is to send meaningful data to the user through events or the `chartWillRender()` function.
228
233
  *
229
234
  * @param props - The data to sanitize
235
+ * @internal
230
236
  */
231
237
  export function sanitizeData(props: {
232
238
  data?: WebChartDataTypes;
@@ -238,6 +244,7 @@ export function sanitizeData(props: {
238
244
  * and if the chart is aggregated we perform queries to fetch the data.
239
245
  *
240
246
  * @param props - A snapshot of the updated props, used to determine whether the selection OIDs have changed
247
+ * @internal
241
248
  */
242
249
  export function getSelectionItemsFromOIDs(props: {
243
250
  chartData?: WebChartDataTypes;
@@ -258,14 +265,4 @@ export function getSelectionItemsFromOIDs(props: {
258
265
  ignoreViewExtent?: ChartOptions["ignoreViewExtent"];
259
266
  errorStrings: ErrorStrings;
260
267
  selectionIDsChanged: boolean;
261
- }): Promise<WebChartDataItem[] | undefined>;
262
-
263
- export const dataPrivateFunctions: {
264
- shouldCheckDataMinMaxForLogScaleOnXAxis: (chartConfig?: WebChart | undefined) => boolean;
265
- minMaxHasZeroOrNegativeValues: (min?: number | undefined, max?: number | undefined) => boolean;
266
- isChartWithZeroOrNegativeValues: (props: {
267
- chartConfig: WebChart;
268
- chartData: Array<WebChartDataItem> | Array<WebChartBin>;
269
- axisConfigIndex: number;
270
- }) => boolean;
271
- };
268
+ }): Promise<WebChartDataItem[] | undefined>;
@@ -7,7 +7,6 @@ import type { ChartElementLimit, ChartElementTechnicalLimit, ChartTextProps, Que
7
7
  /** @internal */
8
8
  export const histogramBinCount: 32;
9
9
 
10
- /** @internal */
11
10
  export const featuresExtentField: "arcgis_charts_features_extent";
12
11
 
13
12
  /** @internal */
@@ -450,7 +449,7 @@ export function getDefaultHistogramOverlays(): Required<HistogramOverlays>;
450
449
  export function getDefaultHistogramSymbol(): ISimpleFillSymbol;
451
450
 
452
451
  /** @internal */
453
- export function getDefaultHistogramSeries(): Omit<Required<WebChartHistogramSeries>, "dataTooltipDateFormat" | "dataTooltipPercentFormat" | "dataTooltipValueFormat" | "query">;
452
+ export function getDefaultHistogramSeries(): Omit<Required<WebChartHistogramSeries>, "dataTooltipDateFormat" | "dataTooltipFontSize" | "dataTooltipPercentFormat" | "dataTooltipValueFormat" | "query">;
454
453
 
455
454
  /**
456
455
  * @param commonStrings
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Class that enhances the debugging and error handling process. Rather than returning a generic [JavaScript
3
- * error](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error), this class returns a standardized error object with several properties.
3
+ * error](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error), this class returns a standardized error object with several properties.
4
4
  */
5
5
  export class ArcgisChartsError<T = any> extends Error {
6
6
  /** Creates a new `ArcgisChartsError` instance. */
@@ -1,14 +1,14 @@
1
- import type Extent from "@arcgis/core/geometry/Extent.js";
2
1
  import type FeatureLayer from "@arcgis/core/layers/FeatureLayer.js";
3
2
  import type ImageryLayer from "@arcgis/core/layers/ImageryLayer.js";
4
3
  import type ImageryTileLayer from "@arcgis/core/layers/ImageryTileLayer.js";
5
4
  import type Layer from "@arcgis/core/layers/Layer.js";
6
- import type WCSLayer from "@arcgis/core/layers/WCSLayer.js";
7
5
  import type CodedValueDomain from "@arcgis/core/layers/support/CodedValueDomain.js";
6
+ import type WCSLayer from "@arcgis/core/layers/WCSLayer.js";
8
7
  import type Renderer from "@arcgis/core/renderers/Renderer.js";
9
8
  import type FeatureLayerView from "@arcgis/core/views/layers/FeatureLayerView.js";
10
9
  import type MapView from "@arcgis/core/views/MapView.js";
11
10
  import type SceneView from "@arcgis/core/views/SceneView.js";
11
+ import type { ChartOptions } from "../../chart-rendering/common/interfaces.js";
12
12
  import type { SupportedLayer, SupportedRasterLayer } from "../../interfaces.js";
13
13
  import type { IFeatureLayer, IField, IImageServiceLayer, ITiledImageServiceLayer, IWCSLayer } from "../../spec/rest-js-types.js";
14
14
  import type { WebChart, WebChartDataFilters, WebChartQuery } from "../../spec/web-chart.js";
@@ -187,6 +187,7 @@ export function getFieldCodedValueDomain(queryObject: QueryObject, field?: strin
187
187
  *
188
188
  * @param fieldValue - The field value to get the description for
189
189
  * @param domain - The domain of the field
190
+ * @internal
190
191
  */
191
192
  export function getFieldDescriptionFromDomain(fieldValue: number | string, domain?: CodedValueDomain): string | undefined;
192
193
 
@@ -194,6 +195,7 @@ export function getFieldDescriptionFromDomain(fieldValue: number | string, domai
194
195
  * Get the field description from the query object given a field name and a field value.
195
196
  *
196
197
  * @param props - The query object (layer or feature layer view)
198
+ * @internal
197
199
  */
198
200
  export function getFieldDescriptionFromQueryObject(props: {
199
201
  queryObject: QueryObjectOrRaster;
@@ -274,7 +276,7 @@ export function buildQueryConfig(props: {
274
276
  chartConfig: WebChart;
275
277
  runtimeDataFilters?: WebChartDataFilters;
276
278
  ignoreViewExtent?: boolean;
277
- viewExtent?: Extent;
279
+ view?: ChartOptions["view"];
278
280
  }): WebChartQuery;
279
281
 
280
282
  /**
@@ -1,8 +1,6 @@
1
1
  /**
2
2
  * Former interface describing the property `configFields` from an inline data source.
3
3
  * Is an object which dictate which data-item field should be used for defining a property of the rendered element (line, point, bars, etc). Used in inline data source mode only.
4
- *
5
- * @internal
6
4
  */
7
5
  export interface WebChartConfigFields {
8
6
  fillColor?: string;
@@ -8,7 +8,7 @@ import type { QueryProperties } from "@arcgis/core/rest/support/Query.js";
8
8
  import type { ChartOptions } from "../../../chart-rendering/common/interfaces.js";
9
9
  import type { RESTFieldType } from "../../../spec/rest-js-object-literals.js";
10
10
  import type { WebChartHeatChartSeries, WebChartQuery, WebChartTemporalBinning } from "../../../spec/web-chart.js";
11
- import type { QueryObject, QueryObjectOrRaster } from "../interfaces.js";
11
+ import type { QueryObject } from "../interfaces.js";
12
12
 
13
13
  /**
14
14
  * Indicates whether a query can be cached. It is not when:
@@ -38,11 +38,11 @@ export function combineFilters(filterList: (string | null | undefined)[], operan
38
38
  /**
39
39
  * Computes the time extent to be used by the query.
40
40
  *
41
- * @param queryObject - The layer or feature layer view
41
+ * @param viewTimeExtent - The layer or feature layer view
42
42
  * @param defaultTimeExtent - The time extent defined at the series config level or provided at runtime
43
43
  * @internal
44
44
  */
45
- export function getQueryTimeExtent(queryObject?: QueryObjectOrRaster, defaultTimeExtent?: WebChartQuery["timeExtent"]): WebChartQuery["timeExtent"] | undefined;
45
+ export function getQueryTimeExtent(viewTimeExtent?: TimeExtent | null, defaultTimeExtent?: WebChartQuery["timeExtent"]): WebChartQuery["timeExtent"] | undefined;
46
46
 
47
47
  /**
48
48
  * Computes the extent to be used by the query. We prioritize the feature layer view extent
@@ -114,6 +114,8 @@ export const CommonStringsIdentity: (value: {
114
114
  };
115
115
  notifications: {
116
116
  invalidConfig: string;
117
+ invalidConfigForRaster: string;
118
+ invalidConfigTitle: string;
117
119
  invalidSeriesConfig: string;
118
120
  invalidSeriesConfigTitle: string;
119
121
  validateAggregationTypeMsg: string;
@@ -379,6 +381,8 @@ export const CommonStringsIdentity: (value: {
379
381
  };
380
382
  notifications: {
381
383
  invalidConfig: string;
384
+ invalidConfigForRaster: string;
385
+ invalidConfigTitle: string;
382
386
  invalidSeriesConfig: string;
383
387
  invalidSeriesConfigTitle: string;
384
388
  validateAggregationTypeMsg: string;
@@ -15,7 +15,6 @@ export type SerialChartType = typeof WebChartTypes.BarSeries | typeof WebChartTy
15
15
  /** @internal */
16
16
  export type SupportedChartType = typeof WebChartTypes.BarSeries | typeof WebChartTypes.BoxPlotSeries | typeof WebChartTypes.HeatSeries | typeof WebChartTypes.HistogramSeries | typeof WebChartTypes.LineSeries | typeof WebChartTypes.PieSeries | typeof WebChartTypes.RadarSeries | typeof WebChartTypes.ScatterSeries;
17
17
 
18
- /** @internal */
19
18
  export type ChartTypes = Extract<WebChartTypes, WebChartType>;
20
19
 
21
20
  /** @internal */
@@ -251,8 +250,8 @@ export function sanitizeHTMLOutput(inputToSanitize: string): string;
251
250
  * Indicates if a provided number value is valid.
252
251
  * An invalid value is: undefined | NaN | Infinite | -Infinite | null
253
252
  * See for more details:
254
- * - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isFinite
255
- * - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isNaN
253
+ * - https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number/isFinite
254
+ * - https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number/isNaN
256
255
  *
257
256
  * @param value
258
257
  * @internal
@@ -104,11 +104,7 @@ export type BoxPlotConfig = WebBoxPlot;
104
104
  */
105
105
  export type HeatChartConfig = WebHeatChart;
106
106
 
107
- /**
108
- * Type alias for the supported chart series types.
109
- *
110
- * @internal
111
- */
107
+ /** Type alias for the supported chart series types. */
112
108
  export type SupportedChartSeries = WebChartBarChartSeries | WebChartBoxPlotSeries | WebChartGaugeSeries | WebChartHistogramSeries | WebChartLineChartSeries | WebChartPieChartSeries | WebChartRadarChartSeries | WebChartScatterplotSeries;
113
109
 
114
110
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcgis/charts-components",
3
- "version": "5.2.0-next.3",
3
+ "version": "5.2.0-next.30",
4
4
  "description": "Reusable ArcGIS charting Web Components.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -29,7 +29,7 @@
29
29
  "license": "SEE LICENSE IN LICENSE.md",
30
30
  "dependencies": {
31
31
  "@amcharts/amcharts4": "^4.10.31",
32
- "@amcharts/amcharts5": "~5.17.2",
32
+ "@amcharts/amcharts5": "~5.19.1",
33
33
  "@esri/arcgis-html-sanitizer": "~4.1.0",
34
34
  "@lit/task": "^1.0.3",
35
35
  "ajv": "6.12.6",
@@ -42,12 +42,12 @@
42
42
  "luxon": "~3.7.2",
43
43
  "simple-statistics": "^7.8.8",
44
44
  "tslib": "^2.8.1",
45
- "@arcgis/lumina": "5.2.0-next.3",
46
- "@arcgis/toolkit": "5.2.0-next.3"
45
+ "@arcgis/lumina": "5.2.0-next.30",
46
+ "@arcgis/toolkit": "5.2.0-next.30"
47
47
  },
48
48
  "peerDependencies": {
49
- "@arcgis/core": "^5.1.0-next",
50
- "@esri/calcite-components": "^5.1.0-next.60"
49
+ "@arcgis/core": "^5.2.0-next",
50
+ "@esri/calcite-components": "^5.1.1"
51
51
  },
52
52
  "css.customData": [
53
53
  "dist/docs/vscode.css-custom-data.json"
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import v from"./TU3UF32Y.js";import t from"./HCV34H6X.js";import s from"./WO6JBNMU.js";import q from"./WEQBZOH7.js";import p from"./MF3FGXHI.js";import o from"./RAQZUMC6.js";import n from"./PVJEBBA7.js";import m from"./YRBE7MBU.js";import l from"./26FWESH3.js";import k from"./U4XLNCOU.js";import j from"./PZGIXDMC.js";import i from"./KI4HS3AM.js";import h from"./5G7DSKI7.js";import"./THTYR6IL.js";import g from"./ZRZEKOEF.js";import f from"./2K4ODNJ4.js";import"./Y7HBWU3M.js";import e from"./N5ERJZPG.js";import d from"./CJ4POAPM.js";import b from"./JHYH555K.js";import"./WNKDEOFZ.js";import a from"./5FMEOIBS.js";import"./EZV7JSQJ.js";import{r as S}from"./LRNADJJG.js";import{pa as _}from"./PAIRUVLU.js";import"./KX7KGXKQ.js";import"./SP2IPHWF.js";import"./NZR4L5AA.js";import"./KDJ5RVHA.js";import{c as r}from"./QP5UAIC6.js";import"./XJFVSX2E.js";import{a as u,b as c}from"./547RDEMV.js";import"./CHQDKVVQ.js";import"./U67P6YAZ.js";export default $arcgis.t(([{ob:l},,,{c:i},,,,,,,,,,,{e:y},,{$:$,A:L,B:b,C:R,D:w,E:D,F:I,G:P,H:k,I:B,J:N,K:U,L:W,M:E,N:h,O:f,P:M,Q:Y,R:G,S:H,T:V,U:X,V:j,W:Z,X:q,Y:J,Z:K,_:Q,aa:z,ba:tt,ca:et,da:it,ea:st,fa:ot,ga:rt,ha:nt,ia:at,ja:gt,na:m,t:C,u:T,v:A,w:F,x:O,y:x,z:v},,{a:pt,b:ct,d:lt}])=>{var yt=Object.defineProperty,ht=Object.getOwnPropertyDescriptor,s=(p,t,o,a)=>{for(var n=ht(t,o),g=p.length-1,d;g>=0;g--)(d=p[g])&&(n=d(t,o,n)||n);return n&&yt(t,o,n),n},e=class extends lt{constructor(){super(...arguments),this._chartType=u.HeatSeries}generateChartTitle(){return this.layerInfo!==void 0?gt(this._config,this.layerInfo,this.commonStrings):""}generateYAxisTitle(){let t=this.yTemporalBinning?.unit;return t!==void 0?this.commonStrings.utilsStrings.heatChartCalendarDatePartsUnits[t]:""}get layer(){return super.layer}async setup(t){await this.loadConfigFromLayer(t),this.setupLocalProps(),typeof this.resolveSetup=="function"&&this.resolveSetup()}get yAxisField(){return L(this._config)}set yAxisField(t){v({yField:t,config:this._config,layerInfo:this.layerInfo})}get viewType(){return K(this._config)}set viewType(t){this.guardSetterFromAsyncOverwrite(()=>{Q(t,this._config),this.emitConfigUpdate("heatChartViewType")})}get xTemporalBinning(){return R(this._config)}set xTemporalBinning(t){b({commonStrings:this.commonStrings,binning:t,config:this._config})}get yTemporalBinning(){return D(this._config)}set yTemporalBinning(t){w({commonStrings:this.commonStrings,binning:t,config:this._config})}get breaksCount(){return $(this._config)}set breaksCount(t){this.guardSetterFromAsyncOverwrite(()=>{z(t,this._config),this.emitConfigUpdate("breaksCount")})}get classificationMethod(){return tt(this._config)}set classificationMethod(t){this.guardSetterFromAsyncOverwrite(()=>{t&&(et(t,this._config),this.emitConfigUpdate("classificationMethod"))})}get colorRampName(){return ot(this._config)}set colorRampName(t){rt(t,this._config)}get isColorRampFlipped(){return nt(this._config)}set isColorRampFlipped(t){at(t,this._config)}get hideEmptyRowsAndColumns(){return C(this._config)}set hideEmptyRowsAndColumns(t){T(this._config,t)}get gridLineWidth(){return P(this._config)}set gridLineWidth(t){I(t,this._config)}get gridLineColor(){return B(this._config)}set gridLineColor(t){k(t,this._config)}get seriesName(){return pt(0,this._config)}set seriesName(t){typeof t=="string"&&ct(t,0,this._config)}get heatRulesType(){return F(this._config)}set heatRulesType(t){A(this._config,t)}get gradientRules(){return x(this._config)}set gradientRules(t){O(this._config,t)}getGridLinesSymbol(){return this._config.series?.[0]?.gridLine}setGridLinesSymbol(t){this._config.series?.[0]&&(this._config.series[0].gridLine=t)}get numericFields(){let t=W(this._config);return t!==void 0?[t]:[]}set numericFields(t){let{idField:o}=l(this.layerInfo.layer),a=S(t[0]),n=a?o:t[0];E({field:n,config:this._config,layerInfo:this.layerInfo,commonStrings:this.commonStrings});let g=h(this._config);a&&g!==c.Count&&f({aggregationType:c.Count,config:this._config,layerInfo:this.layerInfo,commonStrings:this.commonStrings})}get aggregationType(){return h(this._config)}set aggregationType(t){f({aggregationType:t,config:this._config,layerInfo:this.layerInfo,commonStrings:this.commonStrings})}get splitByField(){return""}set splitByField(t){}get legendPosition(){return U(this._config)}set legendPosition(t){N(t,this._config)}get nullPolicy(){return M(this._config)}set nullPolicy(t){Y(t,this._config)}get emptyCell(){return G(this._config)}set emptyCell(t){this.guardSetterFromAsyncOverwrite(()=>{H(t,this._config),this.emitConfigUpdate("emptyCell")})}getSortOrder(){return r.Asc}setSortOrder(t,o){}getXAxisSortOrder(){let t=m(this._config)[0];return t===r.Asc||t===r.Desc||t===r.customSort?t:r.Asc}setXAxisSortOrder(t,o){y(t,this._config,o)}getYAxisSortOrder(){let t=m(this._config)[1];return t===r.Asc||t===r.Desc||t===r.customSort?t:r.Asc}setYAxisSortOrder(t,o){y(t,this._config,o,!0)}get emptyCellText(){return V(this._config)}set emptyCellText(t){X(t,this._config)}get includeLeapDay(){return j(this._config)}set includeLeapDay(t){this.guardSetterFromAsyncOverwrite(()=>{Z(t,this._config),this.emitConfigUpdate("includeLeapDay")})}get firstDayOfWeek(){return st(this._config)}set firstDayOfWeek(t){this.guardSetterFromAsyncOverwrite(()=>{it(t,this._config),this.emitConfigUpdate("firstDayOfWeek")})}get emptyCellSymbol(){return q(this._config)}set emptyCellSymbol(t){J(t,this._config)}get rotated(){return!1}set rotated(t){}setAssignToSecondValueAxis(t,o){}set stackedType(t){}set binTemporalData(t){}set nullCategory(t){}generateDefaultConfig(){let t=_(this.commonStrings,l(this.layerInfo.layer).idField);return t.axes?.forEach((o,a)=>{o&&(o.valueFormat={intlOptions:{timeZone:void 0,dateStyle:a>0?"long":"medium"},type:"date"})}),t}};s([i],e.prototype,"yAxisField");s([i],e.prototype,"xTemporalBinning");s([i],e.prototype,"yTemporalBinning");s([i],e.prototype,"colorRampName");s([i],e.prototype,"isColorRampFlipped");s([i],e.prototype,"hideEmptyRowsAndColumns");s([i],e.prototype,"gridLineWidth");s([i],e.prototype,"gridLineColor");s([i],e.prototype,"seriesName");s([i],e.prototype,"heatRulesType");s([i],e.prototype,"gradientRules");s([i],e.prototype,"setGridLinesSymbol");s([i],e.prototype,"numericFields");s([i],e.prototype,"aggregationType");s([i],e.prototype,"splitByField");s([i],e.prototype,"legendPosition");s([i],e.prototype,"nullPolicy");s([i],e.prototype,"setSortOrder");s([i],e.prototype,"setXAxisSortOrder");s([i],e.prototype,"setYAxisSortOrder");s([i],e.prototype,"emptyCellText");s([i],e.prototype,"firstDayOfWeek");s([i],e.prototype,"emptyCellSymbol");s([i],e.prototype,"rotated");s([i],e.prototype,"setAssignToSecondValueAxis");s([i],e.prototype,"stackedType");s([i],e.prototype,"binTemporalData");s([i],e.prototype,"nullCategory");return e},a,b,d,e,f,g,h,i,j,k,l,m,n,o,p,q,s,t,v)