@arcgis/charts-components 5.2.0-next.57 → 5.2.0-next.59

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 (231) hide show
  1. package/dist/cdn/{A6QLIVFM.js → 26UUSCOV.js} +20 -20
  2. package/dist/cdn/2B27HWX2.js +2 -0
  3. package/dist/cdn/44DVV3KE.js +2 -0
  4. package/dist/cdn/54M3LLQH.js +2 -0
  5. package/dist/cdn/5NZ537SN.js +2 -0
  6. package/dist/cdn/5RC76C5H.js +2 -0
  7. package/dist/cdn/{OEYB3NZZ.js → 5RWZRHLN.js} +1 -1
  8. package/dist/cdn/64CBZCW7.js +2 -0
  9. package/dist/cdn/{PHUJHKPW.js → 6HIK7EBX.js} +1 -1
  10. package/dist/cdn/6KMPIGFU.js +2 -0
  11. package/dist/cdn/6KTWKIGJ.js +2 -0
  12. package/dist/cdn/{UGOWEOTC.js → AYQ4HHL6.js} +1 -1
  13. package/dist/cdn/AZDPAG65.js +2 -0
  14. package/dist/cdn/B2XDPYOL.js +2 -0
  15. package/dist/cdn/{LOEMTYZB.js → B5KB7HXA.js} +1 -1
  16. package/dist/cdn/BFT5CL7V.js +2 -0
  17. package/dist/cdn/BU3IX333.js +2 -0
  18. package/dist/cdn/COLTSCAS.js +2 -0
  19. package/dist/cdn/CU6R7UXF.js +2 -0
  20. package/dist/cdn/{NYFHPR6N.js → DAFNQT4C.js} +1 -1
  21. package/dist/cdn/{OS5TUH4X.js → DDUKKQIZ.js} +1 -1
  22. package/dist/cdn/{FQ6B5P53.js → DG6ENZ35.js} +1 -1
  23. package/dist/cdn/E5G6IGUP.js +2 -0
  24. package/dist/cdn/EFRELYIP.js +2 -0
  25. package/dist/cdn/EQ2X422F.js +2 -0
  26. package/dist/cdn/{J64IDIEG.js → EQDTX4JX.js} +1 -1
  27. package/dist/cdn/FHCIXPMQ.js +3 -0
  28. package/dist/cdn/FJGG2VVZ.js +2 -0
  29. package/dist/cdn/G3MWFZDW.js +2 -0
  30. package/dist/cdn/GC7ISTDF.js +2 -0
  31. package/dist/cdn/{GVUHKCSZ.js → GJ4JGGKT.js} +1 -1
  32. package/dist/cdn/GPABWWGF.js +2 -0
  33. package/dist/cdn/{DRHDCMI3.js → GQGII3CK.js} +1 -1
  34. package/dist/cdn/{JXZJXDU5.js → GWNHO3MZ.js} +11 -9
  35. package/dist/cdn/H3CYQU3L.js +2 -0
  36. package/dist/cdn/{HDCSZ2BJ.js → H57XAQPI.js} +2 -2
  37. package/dist/cdn/HD72K7JQ.js +2 -0
  38. package/dist/cdn/{FJPWWKHZ.js → HSVZTTYF.js} +1 -1
  39. package/dist/cdn/IJYXP34M.js +2 -0
  40. package/dist/cdn/IKSW6TU5.js +2 -0
  41. package/dist/cdn/{BGTNSGMQ.js → INUVRMMG.js} +1 -1
  42. package/dist/cdn/{6Z7SZ44K.js → IOE5YG7Q.js} +1 -1
  43. package/dist/cdn/IPMCTC6B.js +2 -0
  44. package/dist/cdn/IW7AZIV6.js +2 -0
  45. package/dist/cdn/{4B5XCGIW.js → J6M4AA5V.js} +1 -1
  46. package/dist/cdn/JWWSIFDA.js +2 -0
  47. package/dist/cdn/KBOIN2ZI.js +2 -0
  48. package/dist/cdn/KDLRVDVQ.js +2 -0
  49. package/dist/cdn/KJZTU3DV.js +2 -0
  50. package/dist/cdn/{GSD4ZLN6.js → KR7A5JG4.js} +1 -1
  51. package/dist/cdn/KUI3SQHQ.js +2 -0
  52. package/dist/cdn/KVAWYWYK.js +2 -0
  53. package/dist/cdn/{5PAOUYHV.js → LA5FTE2U.js} +2 -2
  54. package/dist/cdn/LU6YEMXO.js +2 -0
  55. package/dist/cdn/MJLDF2FQ.js +2 -0
  56. package/dist/cdn/{UYQBMPSN.js → MLLV2GML.js} +1 -1
  57. package/dist/cdn/MO5LDVWE.js +2 -0
  58. package/dist/cdn/MYDNPSD6.js +2 -0
  59. package/dist/cdn/NCHIDM4H.js +2 -0
  60. package/dist/cdn/NYDW2I5M.js +2 -0
  61. package/dist/cdn/{2EDBRZSQ.js → NZT3J3KJ.js} +1 -1
  62. package/dist/cdn/{QYNNPEED.js → OAXHS4LE.js} +1 -1
  63. package/dist/cdn/OKZBV5LB.js +2 -0
  64. package/dist/cdn/{QRJMT2DB.js → OTH3FQJJ.js} +1 -1
  65. package/dist/cdn/P2L3OTIA.js +2 -0
  66. package/dist/cdn/PA4NRD4I.js +2 -0
  67. package/dist/cdn/PDYOXU7M.js +2 -0
  68. package/dist/cdn/PXTBSPEA.js +2 -0
  69. package/dist/cdn/{ALOMPW5P.js → Q6VW7H3A.js} +1 -1
  70. package/dist/cdn/QRNP4SNY.js +2 -0
  71. package/dist/cdn/QTD2QGHC.js +2 -0
  72. package/dist/cdn/{GXGUKV7H.js → RA3GUNR3.js} +1 -1
  73. package/dist/cdn/{VPJVWP7S.js → RQ6HACQP.js} +1 -1
  74. package/dist/cdn/{2ULHNXRJ.js → SCU3SBSN.js} +1 -1
  75. package/dist/cdn/T3WULYNA.js +2 -0
  76. package/dist/cdn/TCKFUPRR.js +2 -0
  77. package/dist/cdn/TQYULR2I.js +2 -0
  78. package/dist/cdn/UL2ASLY7.js +2 -0
  79. package/dist/cdn/{MEQOANO2.js → UMYQZXPT.js} +1 -1
  80. package/dist/cdn/USNCFQ5L.js +2 -0
  81. package/dist/cdn/{EZ6DGROJ.js → UYMLDXJI.js} +1 -1
  82. package/dist/cdn/V6TEH3XV.js +2 -0
  83. package/dist/cdn/VME2NH7X.js +2 -0
  84. package/dist/cdn/{KI2XMATI.js → VXQLTYHF.js} +1 -1
  85. package/dist/cdn/WKCITUA3.js +2 -0
  86. package/dist/cdn/{CB6BIIF2.js → WMUPNT4Q.js} +1 -1
  87. package/dist/cdn/WWKZYBCF.js +2 -0
  88. package/dist/cdn/XYBOIKE4.js +2 -0
  89. package/dist/cdn/{2DHUAIBZ.js → YIWJ2NPY.js} +1 -1
  90. package/dist/cdn/YL27XTUT.js +2 -0
  91. package/dist/cdn/{TT6WOAKC.js → ZESW7TCR.js} +1 -1
  92. package/dist/cdn/ZH3BXRLT.js +2 -0
  93. package/dist/cdn/{6HFL4FZL.js → ZZ5FKECR.js} +1 -1
  94. package/dist/cdn/index.js +1 -1
  95. package/dist/cdn/model/shared/setup-utils.js +1 -1
  96. package/dist/chart-rendering/common/interfaces.d.ts +11 -8
  97. package/dist/chunks/action-bar-utils.js +1 -1
  98. package/dist/chunks/bar-chart-model.js +1 -1
  99. package/dist/chunks/box-plot-data.js +55 -56
  100. package/dist/chunks/box-plot-model.js +1 -1
  101. package/dist/chunks/class-breaks.js +1 -1
  102. package/dist/chunks/combo-bar-line-chart-model.js +6 -7
  103. package/dist/chunks/data.js +9 -9
  104. package/dist/chunks/gauge-model.js +1 -1
  105. package/dist/chunks/generate-x-axis-title.js +4 -4
  106. package/dist/chunks/heat-chart-model.js +1 -1
  107. package/dist/chunks/index.js +1 -1
  108. package/dist/chunks/index2.js +1576 -1467
  109. package/dist/chunks/index3.js +77 -67
  110. package/dist/chunks/index4.js +25 -13
  111. package/dist/chunks/index5.js +63 -100
  112. package/dist/chunks/line-chart-model.js +1 -1
  113. package/dist/chunks/model-setter.js +1 -1
  114. package/dist/chunks/negative-values-stacked-to-baseline.js +6 -6
  115. package/dist/chunks/pie-chart-data.js +1 -1
  116. package/dist/chunks/pie-chart-model.js +1 -1
  117. package/dist/chunks/radar-chart-model.js +1 -1
  118. package/dist/chunks/resource.js +5 -5
  119. package/dist/chunks/rounded-corners.js +5 -5
  120. package/dist/chunks/scatterplot-model.js +1 -1
  121. package/dist/chunks/serial-chart-data.js +631 -620
  122. package/dist/chunks/serial-chart-model.js +63 -64
  123. package/dist/chunks/series-length.js +1 -1
  124. package/dist/chunks/series-types.js +22 -18
  125. package/dist/chunks/type-guards2.js +30 -26
  126. package/dist/chunks/utils.js +50 -51
  127. package/dist/chunks/web-component-utils.js +2 -2
  128. package/dist/chunks/x-bounds.js +21 -22
  129. package/dist/components/arcgis-chart/customElement.d.ts +64 -23
  130. package/dist/components/arcgis-chart/customElement.js +6128 -6148
  131. package/dist/components/arcgis-charts-action-bar/customElement.js +1 -1
  132. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +6 -7
  133. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +1 -1
  134. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +1 -1
  135. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +54 -53
  136. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +10 -9
  137. package/dist/components/arcgis-charts-config-box-plot/customElement.js +10 -11
  138. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +1 -1
  139. package/dist/components/arcgis-charts-config-create-flow/customElement.js +48 -46
  140. package/dist/components/arcgis-charts-config-format/customElement.js +2 -2
  141. package/dist/components/arcgis-charts-config-guide/customElement.js +18 -19
  142. package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
  143. package/dist/components/arcgis-charts-config-heat-chart/customElement.js +12 -13
  144. package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +1 -1
  145. package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +1 -1
  146. package/dist/components/arcgis-charts-config-histogram/customElement.js +12 -13
  147. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +6 -6
  148. package/dist/components/arcgis-charts-config-line-chart/customElement.js +5 -6
  149. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +1 -1
  150. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +5 -5
  151. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +4 -5
  152. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +1 -1
  153. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +18 -18
  154. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +6 -7
  155. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +1 -1
  156. package/dist/components/arcgis-charts-config-view-charts/customElement.js +1 -1
  157. package/dist/docs/api.json +1 -1
  158. package/dist/docs/docs.json +1 -1
  159. package/dist/docs/vscode.html-custom-data.json +1 -1
  160. package/dist/docs/web-types.json +1 -1
  161. package/dist/index.js +286 -283
  162. package/dist/json-schema/index.d.ts +12 -2
  163. package/dist/model/shared/type-guards.d.ts +9 -2
  164. package/dist/spec/web-chart.d.ts +26 -4
  165. package/dist/utils/chart-config/converter/index.js +185 -166
  166. package/dist/utils/chart-config/utils/index.d.ts +18 -3
  167. package/dist/utils/cursor/interfaces.d.ts +21 -0
  168. package/dist/utils/type-guards/series-types.d.ts +9 -2
  169. package/package.json +3 -3
  170. package/dist/cdn/2B7R5EPU.js +0 -2
  171. package/dist/cdn/37UC5ORG.js +0 -2
  172. package/dist/cdn/3MGWFTQH.js +0 -2
  173. package/dist/cdn/3Z4FG2HV.js +0 -2
  174. package/dist/cdn/4L2YTJ24.js +0 -2
  175. package/dist/cdn/4MQOMRB6.js +0 -2
  176. package/dist/cdn/4MSUALRF.js +0 -2
  177. package/dist/cdn/4PMNY6J6.js +0 -2
  178. package/dist/cdn/4SFDTXQJ.js +0 -2
  179. package/dist/cdn/53DFPXFT.js +0 -2
  180. package/dist/cdn/5GXB34LE.js +0 -2
  181. package/dist/cdn/5WIDEL4K.js +0 -2
  182. package/dist/cdn/7IK6J5VF.js +0 -2
  183. package/dist/cdn/A34ROM33.js +0 -2
  184. package/dist/cdn/BM62ZXFE.js +0 -2
  185. package/dist/cdn/BNBZEIMG.js +0 -2
  186. package/dist/cdn/C3YMGEUW.js +0 -2
  187. package/dist/cdn/C64W7ELG.js +0 -2
  188. package/dist/cdn/CD2NGAV3.js +0 -2
  189. package/dist/cdn/CPRSIFTK.js +0 -2
  190. package/dist/cdn/DTNHSQRD.js +0 -2
  191. package/dist/cdn/DUAMGCAK.js +0 -2
  192. package/dist/cdn/E4T5VUXT.js +0 -2
  193. package/dist/cdn/EDYZLWGW.js +0 -3
  194. package/dist/cdn/EKWX6BR7.js +0 -2
  195. package/dist/cdn/EQXKSMAG.js +0 -2
  196. package/dist/cdn/F64XESDA.js +0 -2
  197. package/dist/cdn/G5DDARQJ.js +0 -2
  198. package/dist/cdn/G5FTVXQF.js +0 -2
  199. package/dist/cdn/GHTCOHC2.js +0 -2
  200. package/dist/cdn/I6LYDJKQ.js +0 -2
  201. package/dist/cdn/IDAMYFLT.js +0 -2
  202. package/dist/cdn/IH2BBWAQ.js +0 -2
  203. package/dist/cdn/J4C4QWY4.js +0 -2
  204. package/dist/cdn/JYROXMJN.js +0 -2
  205. package/dist/cdn/LDBJRKCM.js +0 -2
  206. package/dist/cdn/M5K6IJLD.js +0 -2
  207. package/dist/cdn/M7ZANON3.js +0 -2
  208. package/dist/cdn/MCJTQ4YF.js +0 -2
  209. package/dist/cdn/MLA3N4MI.js +0 -2
  210. package/dist/cdn/MR7KELUF.js +0 -2
  211. package/dist/cdn/MY2W3RH7.js +0 -2
  212. package/dist/cdn/MYK7BBLS.js +0 -2
  213. package/dist/cdn/N7D4B5LO.js +0 -2
  214. package/dist/cdn/NFU76HOO.js +0 -2
  215. package/dist/cdn/NZVEN4LR.js +0 -2
  216. package/dist/cdn/OKK5OJ6S.js +0 -2
  217. package/dist/cdn/PXTV6Y3K.js +0 -2
  218. package/dist/cdn/QJMUS3VS.js +0 -2
  219. package/dist/cdn/QMJ75W7D.js +0 -2
  220. package/dist/cdn/RKGAXZQB.js +0 -2
  221. package/dist/cdn/RP2TRPHY.js +0 -2
  222. package/dist/cdn/UIU5UYBO.js +0 -2
  223. package/dist/cdn/V23GYHYZ.js +0 -2
  224. package/dist/cdn/XWJ4GDXQ.js +0 -2
  225. package/dist/cdn/ZAAMSMQB.js +0 -2
  226. package/dist/cdn/ZALJA7E5.js +0 -2
  227. package/dist/cdn/ZCACFAKY.js +0 -2
  228. package/dist/cdn/ZKZOXEXY.js +0 -2
  229. package/dist/cdn/ZMBNBTJQ.js +0 -2
  230. package/dist/chunks/index6.js +0 -66
  231. /package/dist/cdn/{IVLVCLDE.js → 7NWEE7T2.js} +0 -0
@@ -1,21 +1,20 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
2
  import { substitute as b } from "@arcgis/core/intl.js";
3
- import { w as C, H as j, M as k, T as q, F as M, x as W } from "./index.js";
3
+ import { w as C, H as j, M as q, T as k, F as M, x as W } from "./index.js";
4
4
  import { g as $ } from "./series-types.js";
5
- import { l as E, d as S, q as H, D as U } from "./index3.js";
6
- import { an as I, ag as K, h as O, c2 as L, a6 as h, c1 as V, aH as P } from "./index2.js";
7
- import { k as X } from "./index5.js";
5
+ import { l as E, d as S, q as U, D as H } from "./index3.js";
6
+ import { bw as K, ap as I, ag as P, h as O, cs as L, a6 as h, cr as V, aJ as X } from "./index2.js";
8
7
  import { q as R, u as f, r as A, p as G } from "./chart-object-literals.js";
9
8
  import { d as T } from "./type-guards.js";
10
- function ae(s, e, i) {
9
+ function se(s, e, i) {
11
10
  const t = s?.axes?.[e];
12
11
  t?.title !== void 0 ? t.title.content.text = i : t !== void 0 && (t.title = j({
13
12
  text: i,
14
13
  visible: !0,
15
- font: k(q.AxisTitle)
14
+ font: q(k.AxisTitle)
16
15
  }));
17
16
  }
18
- function re(s) {
17
+ function ae(s) {
19
18
  const { config: e, layerInfo: i, commonStrings: t, numericFields: a, aggregationType: r } = s;
20
19
  let o = "";
21
20
  if (e)
@@ -37,67 +36,67 @@ function re(s) {
37
36
  }
38
37
  return o;
39
38
  }
40
- const B = (s, e, i) => s.axes?.[e] ?? W(i, s.type)[e], D = (s) => {
39
+ const B = (s, e, i) => s.axes?.[e] ?? W(i, s.type)[e], w = (s) => {
41
40
  const { config: e, axis: i, axisIndex: t } = s;
42
41
  e.axes !== void 0 && (e.axes[t] = i);
43
- }, oe = (s) => {
42
+ }, re = (s) => {
44
43
  const { config: e, axisIndex: i, isMax: t } = s;
45
44
  let a = Number.NaN;
46
45
  return t ? a = e.axes?.[i]?.maximum : a = e.axes?.[i]?.minimum, a ?? Number.NaN;
47
46
  }, N = (s) => {
48
47
  const { config: e, value: i, axisIndex: t, isMax: a } = s, r = e?.axes?.[t];
49
48
  r !== void 0 && (a ? r.maximum = i : r.minimum = i);
50
- }, ne = (s) => s.axes?.[0]?.valueFormat ?? M(), le = (s, e, i) => {
49
+ }, oe = (s) => s.axes?.[0]?.valueFormat ?? M(), ne = (s, e, i) => {
51
50
  const t = B(s, 0, e);
52
51
  if (t !== void 0 && i !== void 0) {
53
52
  const a = {
54
53
  ...t,
55
54
  valueFormat: i
56
55
  };
57
- D({ config: s, axis: a, axisIndex: 0 });
56
+ w({ config: s, axis: a, axisIndex: 0 });
58
57
  }
59
- }, ce = (s, e, i) => {
58
+ }, le = (s, e, i) => {
60
59
  const t = s.axes?.[e];
61
60
  t !== void 0 && (t.integerOnlyValues = i);
62
- }, Q = (s) => {
61
+ }, J = (s) => {
63
62
  const e = $(s.series);
64
63
  return e === f.BarSeries || e === f.ComboLineAndBarSeries || e === f.LineSeries;
65
- }, Y = (s) => {
64
+ }, Q = (s) => {
66
65
  const { axisIndex: e, config: i, isMultiAxis: t } = s;
67
66
  let a = !1;
68
- return e === 0 || e === 1 && t ? a = !0 : e === 2 && (a = Q(i)), a;
69
- }, ue = (s) => {
67
+ return e === 0 || e === 1 && t ? a = !0 : e === 2 && (a = J(i)), a;
68
+ }, ce = (s) => {
70
69
  const { axisIndex: e, func: i, config: t } = s;
71
- return Y({ axisIndex: e, config: t, isMultiAxis: !0 }) ? i(e) : void 0;
70
+ return Q({ axisIndex: e, config: t, isMultiAxis: !0 }) ? i(e) : void 0;
72
71
  }, v = (s, e) => {
73
72
  let i;
74
73
  const t = e.axes?.[s]?.valueFormat;
75
- return (s === 0 || s >= 1 && X(t)) && (i = t), i;
76
- }, de = (s) => {
74
+ return (s === 0 || s >= 1 && K(t)) && (i = t), i;
75
+ }, ue = (s) => {
77
76
  const { config: e, commonStrings: i, valueFormat: t, axisIndex: a = 0 } = s, r = B(e, a, i);
78
77
  if (r !== void 0 && t !== void 0) {
79
78
  const o = {
80
79
  ...r,
81
80
  valueFormat: t
82
81
  };
83
- D({
82
+ w({
84
83
  config: e,
85
84
  axis: o,
86
85
  axisIndex: a
87
86
  });
88
87
  }
89
- }, fe = (s, e) => s.axes?.[e]?.isLogarithmic ?? !1, ge = (s) => {
88
+ }, de = (s, e) => s.axes?.[e]?.isLogarithmic ?? !1, fe = (s) => {
90
89
  const { config: e, isLogarithmic: i, axisIndex: t } = s, a = e.axes?.[t];
91
90
  a && (a.isLogarithmic = i, N({ config: e, value: null, axisIndex: t, isMax: !0 }), N({ config: e, value: null, axisIndex: t, isMax: !1 }));
92
- }, xe = (s) => {
91
+ }, ge = (s) => {
93
92
  const { config: e, scrollbar: i, axisIndex: t } = s;
94
93
  e.axes?.[t] !== void 0 && (e.axes[t].scrollbar = i);
95
94
  };
96
- async function ye(s) {
97
- const { config: e, layer: i, xAxisField: t, splitByField: a, layerFieldsInfo: r, aggregationFields: o, fetchNullValues: u, errorStrings: d } = s, n = r.filter((F) => F.name === a)[0]?.type, x = u !== !0 ? `${a} IS NOT NULL` : "", l = t && u !== !0 ? `${t} IS NOT NULL` : "", { where: m } = e?.dataFilters ?? {}, w = {
95
+ async function xe(s) {
96
+ const { config: e, layer: i, xAxisField: t, splitByField: a, layerFieldsInfo: r, aggregationFields: o, fetchNullValues: u, errorStrings: d } = s, n = r.filter((F) => F.name === a)[0]?.type, x = u !== !0 ? `${a} IS NOT NULL` : "", l = t && u !== !0 ? `${t} IS NOT NULL` : "", { where: m } = e?.dataFilters ?? {}, D = {
98
97
  where: O([m, x, l]),
99
98
  // excluding the null values from the list
100
- orderByFields: H(a) ? [] : [`${a} ${G.Ascending}`],
99
+ orderByFields: U(a) ? [] : [`${a} ${G.Ascending}`],
101
100
  // default sorting ascending for split-by field
102
101
  geometry: e?.dataFilters?.geometry
103
102
  };
@@ -112,13 +111,13 @@ async function ye(s) {
112
111
  queryObject: i,
113
112
  category: e?.series[0].x ?? "",
114
113
  splitByField: a,
115
- queryConfig: w,
114
+ queryConfig: D,
116
115
  errorStrings: d
117
116
  })).keys()
118
117
  ) : [];
119
118
  if (y = y.slice(0, 500), e) {
120
- const F = e?.series.map((c) => P({ where: c.query?.where })?.toString() ?? "").filter((c) => c !== void 0 && c !== "");
121
- y = U({
119
+ const F = e?.series.map((c) => X({ where: c.query?.where })?.toString() ?? "").filter((c) => c !== void 0 && c !== "");
120
+ y = H({
122
121
  arrayA: y,
123
122
  arrayB: F,
124
123
  getKey: (c) => c === null ? null : c?.toString()
@@ -126,7 +125,7 @@ async function ye(s) {
126
125
  }
127
126
  return { categoriesArray: y, splitByFieldType: n, numericalField: p };
128
127
  }
129
- function me(s, e) {
128
+ function ye(s, e) {
130
129
  let i = e === "";
131
130
  for (const t of s)
132
131
  if (e === t.name) {
@@ -135,8 +134,8 @@ function me(s, e) {
135
134
  }
136
135
  return i;
137
136
  }
138
- function pe(s, e) {
139
- const i = K(s);
137
+ function me(s, e) {
138
+ const i = P(s);
140
139
  let t = e.length === 0, a = 0;
141
140
  for (const r of e) {
142
141
  for (const o of i)
@@ -149,7 +148,7 @@ function pe(s, e) {
149
148
  }
150
149
  return t;
151
150
  }
152
- function Fe(s, e) {
151
+ function pe(s, e) {
153
152
  e.forEach((i) => {
154
153
  Object.getOwnPropertyNames(i.prototype).forEach((t) => {
155
154
  Object.defineProperty(
@@ -160,7 +159,7 @@ function Fe(s, e) {
160
159
  });
161
160
  });
162
161
  }
163
- async function Ae(s) {
162
+ async function Fe(s) {
164
163
  const { layerInfo: e, config: i, category: t, errorStrings: a } = s, { layer: r } = e, { where: o } = i?.dataFilters ?? {}, { fetchNullValues: u } = i?.series?.[0]?.query ?? {}, d = u !== !0 ? `${t} IS NOT NULL` : "", g = {
165
164
  where: O([o, d]),
166
165
  // excluding the null values from the list
@@ -191,27 +190,27 @@ async function Ae(s) {
191
190
  }
192
191
  ), n;
193
192
  }
194
- function be(s) {
193
+ function Ae(s) {
195
194
  return s !== void 0 && v(0, s)?.type === f.CategoryAxisFormat && v(1, s)?.type === f.CategoryAxisFormat;
196
195
  }
197
196
  export {
198
- de as a,
199
- ne as b,
200
- Ae as c,
201
- le as d,
202
- ce as e,
203
- ye as f,
204
- re as g,
205
- Fe as h,
206
- be as i,
207
- me as j,
208
- pe as k,
209
- oe as l,
197
+ ue as a,
198
+ oe as b,
199
+ Fe as c,
200
+ ne as d,
201
+ le as e,
202
+ xe as f,
203
+ ae as g,
204
+ pe as h,
205
+ Ae as i,
206
+ ye as j,
207
+ me as k,
208
+ re as l,
210
209
  v as m,
211
- fe as n,
212
- ge as o,
213
- xe as p,
214
- ue as r,
210
+ de as n,
211
+ fe as o,
212
+ ge as p,
213
+ ce as r,
215
214
  N as s,
216
- ae as u
215
+ se as u
217
216
  };
@@ -7,11 +7,11 @@ import { g as me, a as de, b as ye } from "./pie-chart-data.js";
7
7
  import { g as ie } from "./series-length.js";
8
8
  import { g as re, d as le, e as ge } from "./serial-chart-data.js";
9
9
  import { g as _, a as pe } from "./data.js";
10
- import { Y as U, an as be, af as xe, aK as E, cm as Fe, B as V, a6 as De, bb as Se, d6 as Be } from "./index2.js";
10
+ import { Y as U, ap as be, af as xe, aM as E, cM as Fe, B as V, a6 as De, bj as Se, dx as Be } from "./index2.js";
11
11
  import { k as H, az as $, g as R, as as ve, b as he, a as Q } from "./index.js";
12
12
  import { q as K, C as g, F as A } from "./index3.js";
13
13
  import { g as Pe } from "./series-types.js";
14
- import { V as Ve } from "./index6.js";
14
+ import { V as Ve } from "./index5.js";
15
15
  import { DateTime as ne } from "luxon";
16
16
  import { P as X } from "./common.js";
17
17
  import { u as k, d as L } from "./chart-object-literals.js";
@@ -5,8 +5,7 @@ import { G as g } from "./common.js";
5
5
  import { i as c } from "./rest-js-object-literals.js";
6
6
  import { u as x } from "./chart-object-literals.js";
7
7
  import { ai as S, M as L, T as b, a0 as T } from "./index.js";
8
- import { M as C } from "./index2.js";
9
- import { q as M, p as X } from "./index5.js";
8
+ import { M as C, bF as M, bE as X } from "./index2.js";
10
9
  import { m as a, C as f } from "./model-setter.js";
11
10
  import { e as B, f as A } from "./utils2.js";
12
11
  import { l as p, s as y, h as O } from "./utils.js";
@@ -33,19 +32,19 @@ function d(t) {
33
32
  const V = (t) => {
34
33
  const { axis: e, index: i } = d(t);
35
34
  return e?.guides?.[i]?.visible ?? !0;
36
- }, R = (t) => {
35
+ }, E = (t) => {
37
36
  const { visible: e, axis: i, index: s } = d(t);
38
37
  i?.guides?.[s] !== void 0 && (i.guides[s].visible = e);
39
38
  }, m = (t) => {
40
39
  const e = C(t.start, t.end);
41
40
  M(t.style) && e === c.SFS ? t.style = { type: c.SFS, color: t.style.color } : X(t.style) && e === c.SLS && (t.style = { type: c.SLS, color: t.style.color });
42
- }, E = (t) => {
41
+ }, R = (t) => {
43
42
  const { axis: e, index: i } = d(t);
44
43
  return e?.guides?.[i]?.start ?? null;
45
- }, w = (t) => {
44
+ }, F = (t) => {
46
45
  const { start: e, axis: i, index: s } = d(t);
47
46
  i?.guides?.[s] !== void 0 && (i.guides[s].start = e, m(i.guides[s]));
48
- }, F = (t) => {
47
+ }, w = (t) => {
49
48
  const { axis: e, index: i } = d(t);
50
49
  return e?.guides?.[i]?.end;
51
50
  }, W = (t) => {
@@ -63,19 +62,19 @@ const V = (t) => {
63
62
  }, I = (t) => {
64
63
  const { labelText: e, axis: i, index: s } = d(t), o = i?.guides?.[s]?.label ?? S(e, L(b.GuideLabel), b.GuideLabel);
65
64
  i?.guides?.[s] !== void 0 && (i.guides[s].label = { ...o, text: e });
66
- }, q = (t) => {
65
+ }, U = (t) => {
67
66
  const { axis: e, index: i } = d(t);
68
67
  return e?.guides?.[i]?.above ?? !1;
69
- }, U = (t) => {
68
+ }, Y = (t) => {
70
69
  const { above: e, axis: i, index: s } = d(t);
71
70
  i?.guides?.[s] !== void 0 && (i.guides[s].above = e);
72
- }, Y = (t) => {
71
+ }, q = (t) => {
73
72
  const { axis: e, index: i } = d(t);
74
73
  return e?.guides?.[i]?.style;
75
74
  }, z = (t) => {
76
75
  const { style: e, axis: i, index: s } = d(t);
77
76
  i?.guides?.[s] !== void 0 && (i.guides[s].style = e);
78
- }, Ge = (t) => {
77
+ }, ve = (t) => {
79
78
  const { config: e, name: i, index: s, orientation: o } = t, n = o === g.X ? e.axes?.[0] : e.axes?.[1];
80
79
  if (n !== void 0) {
81
80
  n.guides = n.guides ?? [];
@@ -87,7 +86,7 @@ const V = (t) => {
87
86
  };
88
87
  s !== void 0 && s < n.guides.length ? n.guides.splice(s, 0, r) : n.guides.push(r);
89
88
  }
90
- }, _e = (t) => {
89
+ }, Ge = (t) => {
91
90
  const { config: e, index: i, orientation: s } = t, o = s === g.X ? e.axes?.[0] : e.axes?.[1];
92
91
  o?.guides !== void 0 && (i !== void 0 && i < o.guides.length ? o.guides.splice(i, 1) : o.guides.pop());
93
92
  }, H = (t) => {
@@ -122,7 +121,7 @@ class l extends _ {
122
121
  return V({ config: this._config, index: e, orientation: i });
123
122
  }
124
123
  setGuideVisibility(e, i, s) {
125
- R({ visible: e, config: this._config, index: i, orientation: s });
124
+ E({ visible: e, config: this._config, index: i, orientation: s });
126
125
  }
127
126
  /**
128
127
  * Gets the start value of a guide.
@@ -131,10 +130,10 @@ class l extends _ {
131
130
  * @param orientation - Default `y`. The axis orientation of the guide.
132
131
  */
133
132
  getGuideStart(e, i) {
134
- return E({ config: this._config, index: e, orientation: i });
133
+ return R({ config: this._config, index: e, orientation: i });
135
134
  }
136
135
  setGuideStart(e, i, s) {
137
- w({ start: e, config: this._config, index: i, orientation: s });
136
+ F({ start: e, config: this._config, index: i, orientation: s });
138
137
  }
139
138
  /**
140
139
  * Gets the end value of a guide.
@@ -143,7 +142,7 @@ class l extends _ {
143
142
  * @param orientation - Default `y`. The axis orientation of the guide.
144
143
  */
145
144
  getGuideEnd(e, i) {
146
- return F({ config: this._config, index: e, orientation: i });
145
+ return w({ config: this._config, index: e, orientation: i });
147
146
  }
148
147
  setGuideEnd(e, i, s) {
149
148
  W({ end: e, config: this._config, index: i, orientation: s });
@@ -179,10 +178,10 @@ class l extends _ {
179
178
  * @param orientation - Default `y`. The axis orientation of the guide.
180
179
  */
181
180
  getGuideAbove(e, i) {
182
- return q({ config: this._config, index: e, orientation: i });
181
+ return U({ config: this._config, index: e, orientation: i });
183
182
  }
184
183
  setGuideAbove(e, i, s) {
185
- U({ above: e, config: this._config, index: i, orientation: s });
184
+ Y({ above: e, config: this._config, index: i, orientation: s });
186
185
  }
187
186
  /**
188
187
  * Gets the guide style.
@@ -191,7 +190,7 @@ class l extends _ {
191
190
  * @param orientation - Default `y`. The axis orientation of the guide.
192
191
  */
193
192
  getGuideStyle(e, i) {
194
- return Y({ config: this._config, index: e, orientation: i });
193
+ return q({ config: this._config, index: e, orientation: i });
195
194
  }
196
195
  setGuideStyle(e, i, s) {
197
196
  z({ style: e, config: this._config, index: i, orientation: s });
@@ -236,7 +235,7 @@ u([
236
235
  u([
237
236
  a
238
237
  ], l.prototype, "setTooltipReverseColor");
239
- class he extends f {
238
+ class _e extends f {
240
239
  /**
241
240
  * Whether the x-axis labels are visible.
242
241
  */
@@ -302,8 +301,8 @@ class ae extends f {
302
301
  O(ae, [v, G]);
303
302
  export {
304
303
  l as M,
305
- he as W,
304
+ _e as W,
306
305
  ae as a,
307
- Ge as b,
308
- _e as d
306
+ ve as b,
307
+ Ge as d
309
308
  };
@@ -606,37 +606,60 @@ export abstract class ArcgisChart extends LitElement {
606
606
  /** @internal */
607
607
  protected _messages: Partial<{ chartNotFoundWarning: string; }> & T9nMeta<{ chartNotFoundWarning: string; }>;
608
608
  /**
609
- * Specifies the user action behavior for the chart.
609
+ * Specifies how user interactions on the chart are handled.
610
610
  *
611
- * - `monoSelection`: Select a single data point or series, new selection replaces the previous one.
612
- * - `multiSelection`: Select multiple data points or series, new selection adds to the previous one.
613
- * - `multiSelectionWithCtrlKey`: Select multiple data points or series while holding the Ctrl key (Cmd on Mac). When the key is held, each new selection is added; otherwise, the selection is replaced.
614
- * - `none`: No action is performed on user interaction.
615
- * - `zoom`: Zoom into a specific area of the chart.
611
+ * - `monoSelection`: Select one data point or series at a time. Each new selection replaces the previous selection.
612
+ * - `multiSelection`: Select multiple data points or series. Each new selection is added to the existing selection.
613
+ * - `multiSelectionWithCtrlKey`: Select multiple data points or series only while holding Ctrl (or Cmd on macOS). Without the key, selection behaves like `monoSelection`.
614
+ * - `zoom`: Zoom into an area of the chart.
615
+ * - `none`: Disable interaction-driven selection and zoom actions.
616
616
  *
617
617
  * **Note**: Not applicable to gauges.
618
618
  */
619
619
  accessor actionMode: ActionModes | undefined;
620
620
  /**
621
- * Whether to allow the object id to be used as a statistic other than `Count`.
621
+ * When `true`, object ID can be used as a numeric field for aggregated charts (for example, `sum` of `objectId`).
622
622
  *
623
623
  * @default false
624
624
  */
625
625
  accessor allowUsingObjectIdStat: boolean;
626
626
  /**
627
- * Enable animation on the chart.
627
+ * When `true`, elements such as series, axes, and legends will animate when the chart is first rendered or when the chart's configuration is updated.
628
+ *
629
+ * <video
630
+ * src="https://developers.arcgis.com/javascript/latest/assets/references/components/chart/animationEnabled.webm"
631
+ * aria-label="animationEnabled"
632
+ * width="720"
633
+ * autoPlay
634
+ * loop
635
+ * muted
636
+ * playsInline
637
+ * />
628
638
  *
629
639
  * @default false
640
+ * @since 5.1
630
641
  */
631
642
  accessor animationEnabled: boolean | undefined;
632
643
  /**
633
- * The ARIA attributes for the chart. Provides accessibility information to assistive technologies such as screen readers. Supports the following properties: [\`label\`](https://developer.mozilla.org/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-label), [\`description\`](https://developer.mozilla.org/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-description), [\`describedByElements\`](https://developer.mozilla.org/docs/Web/API/Element/ariaDescribedByElements), and [\`labelledByElements\`](https://developer.mozilla.org/docs/Web/API/Element/ariaLabelledByElements).
644
+ * The ARIA attributes for the chart component. Provides accessibility information to assistive technologies such as screen readers. Supports the following properties: [\`label\`](https://developer.mozilla.org/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-label), [\`description\`](https://developer.mozilla.org/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-description), [\`describedByElements\`](https://developer.mozilla.org/docs/Web/API/Element/ariaDescribedByElements), and [\`labelledByElements\`](https://developer.mozilla.org/docs/Web/API/Element/ariaLabelledByElements).
634
645
  *
646
+ * @example
647
+ * ```ts
648
+ * chartElement.aria = {
649
+ * label: "Custom chart label",
650
+ * description: "Custom chart description",
651
+ * };
652
+ * ```
653
+ * @see [ARIA attributes](https://developers.arcgis.com/javascript/latest/accessibility/#aria-attributes)
635
654
  * @since 5.0
636
655
  */
637
656
  accessor aria: DOMContainerAria | undefined;
638
657
  /**
639
- * If `true`, the component will not be destroyed automatically when it is disconnected from the document. This is useful when you want to move the component to a different place on the page, or temporarily hide it. If this is set, make sure to call the [destroy()](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#destroy) method when you are done to prevent memory leaks.
658
+ * When `true`, the component is not destroyed automatically when it is disconnected from the document, which is useful when moving or temporarily hiding it.
659
+ *
660
+ * > [!CAUTION]
661
+ * >
662
+ * > Call the [destroy()](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#destroy) method when you are done to prevent memory leaks.
640
663
  *
641
664
  * @default false
642
665
  * @since 5.0
@@ -650,16 +673,20 @@ export abstract class ArcgisChart extends LitElement {
650
673
  */
651
674
  accessor autoDisposeChart: boolean;
652
675
  /**
653
- * When `true`, the data label text color is automatically adjusted for readability based on its background.
654
- * If the label is dark and appears over a dark series area, the text color is switched to either the chart background color or white.
676
+ * When `true`, the data label text color is automatically adjusted for readability based on its background, switching to either the chart background color or white when contrast with the series area is too low.
677
+ *
678
+ * | With `autoInverseDataLabelTextColor` | Without `autoInverseDataLabelTextColor` |
679
+ * | -------- | -------- |
680
+ * | ![autoInverseDataLabelTextColor true](https://developers.arcgis.com/javascript/latest/assets/references/components/chart/autoInverseDataLabelTextColorTrue.avif) | ![autoInverseDataLabelTextColor false](https://developers.arcgis.com/javascript/latest/assets/references/components/chart/autoInverseDataLabelTextColorFalse.avif) |
655
681
  *
656
682
  * **Note**: Applicable to heat charts only.
657
683
  *
658
684
  * @default false
685
+ * @since 4.34
659
686
  */
660
687
  accessor autoInverseDataLabelTextColor: boolean;
661
688
  /**
662
- * Allows picking the Calcite CSS variables to use when applying a Calcite theme.
689
+ * Specifies the Calcite CSS variables to use when applying a Calcite theme.
663
690
  *
664
691
  * By default the following variables are used:
665
692
  * - background: `--calcite-color-foreground-1`
@@ -668,9 +695,10 @@ export abstract class ArcgisChart extends LitElement {
668
695
  * - secondary line: `--calcite-color-text-3`
669
696
  * - spinner: `--calcite-color-brand-hover`
670
697
  *
671
- * The charts colors are overridden by those associated to those CSS variables, but only if they have not been
672
- * customized beforehand.
698
+ * The chart colors are overridden by those associated to those CSS variables, but only if they have not been customized beforehand.
673
699
  *
700
+ * @see [Charts theming with Calcite CSS variables](https://developers.arcgis.com/javascript/latest/charts/features-and-capabilities/styling-and-theming/#theming-with-css-variables)
701
+ * @see [Components theming with Calcite](https://developers.arcgis.com/javascript/latest/building-your-ui/#styling-and-theming-with-calcite)
674
702
  * @since 5.1
675
703
  */
676
704
  accessor calciteThemingCSSVariables: CalciteThemeCSSVariables;
@@ -705,19 +733,20 @@ export abstract class ArcgisChart extends LitElement {
705
733
  accessor chartWillRender: PreRenderCallback | undefined;
706
734
  /**
707
735
  * Whether to use features uniquely designed for a chart currently being configured by a user via the UI.
708
- * When true, the slotted charts action bar will expose an Edit chart action, surfaces relevant error states,
709
- * and can show a helpful in-container placeholder about the chart’s purpose.
736
+ * When `true` and if the [`charts action bar`](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-charts-action-bar/) is slotted in the chart component,
737
+ * the action bar will expose an "Edit chart" action, surface relevant error states, and show a helpful in-container placeholder about the chart’s purpose.
710
738
  *
711
739
  * @default false
740
+ * @since 5.1
712
741
  */
713
742
  accessor configurationEnabled: boolean;
714
743
  /**
715
- * Sets the cursor range when `actionMode` is set to `zoom`, `multiSelection` or `multiSelectionWithCtrlKey`.
744
+ * Defines how the cursor selection rectangle is constrained when [actionMode](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#actionMode) is `zoom`, `multiSelection`, or `multiSelectionWithCtrlKey`.
716
745
  *
717
- * - `multi-axes`: Allows to draw a free rectangle.
718
- * - `x-axis`: Allows to draw a rectangle bound to the x-axis.
719
- * - `y-axis`: Allows to draw a rectangle bound to the y-axis.
720
- * - `undefined`: Defaults to the preset behavior according to the chart type and action mode.
746
+ * - `multi-axes`: Allows drawing a free rectangle across both axes.
747
+ * - `x-axis`: Constrains the rectangle to the x-axis direction.
748
+ * - `y-axis`: Constrains the rectangle to the y-axis direction.
749
+ * - `undefined`: Uses the default behavior for the current chart type and action mode.
721
750
  *
722
751
  * **Note**: Not applicable to gauges.
723
752
  */
@@ -725,7 +754,19 @@ export abstract class ArcgisChart extends LitElement {
725
754
  /**
726
755
  * Callback function used to format the data labels. If the returned string contains HTML tags they will be interpreted as such.
727
756
  *
728
- * **Note**: Not applicable to gauges.
757
+ * @example
758
+ * ```ts
759
+ * chartElement.dataLabelFormatter = (value) => {
760
+ * return `<b>${value}</b><br /><u>Custom label</u>`;
761
+ * };
762
+ * ```
763
+ * <img
764
+ * src="https://developers.arcgis.com/javascript/latest/assets/references/components/chart/dataLabelFormatter.avif"
765
+ * alt="dataLabelFormatter true"
766
+ * style="max-width: 900px; width: 100%; height: auto;"
767
+ * />
768
+ *
769
+ * **Note**: Not applicable to gauges and radar charts.
729
770
  */
730
771
  accessor dataLabelFormatter: ChartOptions["dataLabelFormatter"] | undefined;
731
772
  /**