@arcgis/charts-components 5.2.0-next.73 → 5.2.0-next.74

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 (158) hide show
  1. package/dist/cdn/{PZL4HGLN.js → 2DDIAUZP.js} +1 -1
  2. package/dist/cdn/2LA7C4QV.js +2 -0
  3. package/dist/cdn/{KMX777EF.js → 33BRETPB.js} +1 -1
  4. package/dist/cdn/{NAUEEC5O.js → 3I5WM4MV.js} +1 -1
  5. package/dist/cdn/{5LWG4OGB.js → 3WSDELLU.js} +1 -1
  6. package/dist/cdn/{OWJQEWK7.js → 436LMU5X.js} +1 -1
  7. package/dist/cdn/{DGYLORDT.js → 4B2OSQ56.js} +1 -1
  8. package/dist/cdn/{CRNIOME2.js → 4DPFB567.js} +2 -2
  9. package/dist/cdn/{2TE3YZBW.js → 4WJRJCLD.js} +1 -1
  10. package/dist/cdn/{ASYRUV4T.js → 52MUPDJX.js} +1 -1
  11. package/dist/cdn/{E4ZOL5K5.js → 56ZK7STH.js} +1 -1
  12. package/dist/cdn/{5ROKZRVW.js → 57XZWFTY.js} +1 -1
  13. package/dist/cdn/{2EX6L3UK.js → 5KNGV2JN.js} +1 -1
  14. package/dist/cdn/{7VJRGF4E.js → 6DOH32LR.js} +1 -1
  15. package/dist/cdn/{UUKKQ3K7.js → 6HKKSGTW.js} +1 -1
  16. package/dist/cdn/{2QGFLRRI.js → 6IQK654E.js} +1 -1
  17. package/dist/cdn/{JYV4I2GQ.js → 6R3FZONE.js} +1 -1
  18. package/dist/cdn/{TTMIUSJW.js → 6RP62IRP.js} +1 -1
  19. package/dist/cdn/{LKNQUAR2.js → 7BCQTPEQ.js} +1 -1
  20. package/dist/cdn/{TBAK2RCH.js → 7J5A5NFI.js} +1 -1
  21. package/dist/cdn/{NQ5JEX36.js → 7JYCHXND.js} +1 -1
  22. package/dist/cdn/{3VM4DOEZ.js → 7WNB2UBY.js} +1 -1
  23. package/dist/cdn/{SPAWFHXG.js → A5YYKBOZ.js} +1 -1
  24. package/dist/cdn/{P6YFC7LU.js → AFP2EZVP.js} +1 -1
  25. package/dist/cdn/{XFO5L4DP.js → AHUVOOEG.js} +1 -1
  26. package/dist/cdn/{54JCSWKS.js → ATVDMX2J.js} +1 -1
  27. package/dist/cdn/{D2AGAJK7.js → BGFC2AUU.js} +1 -1
  28. package/dist/cdn/{M2TX43TJ.js → CKNGIVV4.js} +1 -1
  29. package/dist/cdn/{D6MRUKIA.js → CKS3U7SE.js} +1 -1
  30. package/dist/cdn/{6O3HF44R.js → D36WET32.js} +1 -1
  31. package/dist/cdn/{S3QIWVN6.js → DDKBUPNA.js} +1 -1
  32. package/dist/cdn/{PE3I5BB4.js → DI7KSBSF.js} +1 -1
  33. package/dist/cdn/{2NQ6MELS.js → E3JSGSZO.js} +1 -1
  34. package/dist/cdn/{D43DR25R.js → FENZFVR6.js} +24 -24
  35. package/dist/cdn/{BTKWU3YE.js → FGT54LZQ.js} +1 -1
  36. package/dist/cdn/FPQP5PPG.js +2 -0
  37. package/dist/cdn/{DQSPIG3P.js → FVERG5WA.js} +1 -1
  38. package/dist/cdn/{IMG5US47.js → FZV6RLK4.js} +1 -1
  39. package/dist/cdn/{OQZDT6CL.js → G5X74FKX.js} +1 -1
  40. package/dist/cdn/{6QQTUFRP.js → G7ERMTBR.js} +1 -1
  41. package/dist/cdn/{W4F6FFOT.js → GHZGNHT2.js} +1 -1
  42. package/dist/cdn/{IXBLQSE6.js → GYHDXPJE.js} +1 -1
  43. package/dist/cdn/GYUBEC56.js +3 -0
  44. package/dist/cdn/{EUQPESOK.js → H2CAS5TZ.js} +1 -1
  45. package/dist/cdn/{OUOCOHTG.js → H2L77BVM.js} +1 -1
  46. package/dist/cdn/HY7IIMH5.js +2 -0
  47. package/dist/cdn/{SM5PY54Q.js → J34J6LD7.js} +1 -1
  48. package/dist/cdn/{RQ5RKGH5.js → JMYWZDZT.js} +1 -1
  49. package/dist/cdn/{RXSNPRN7.js → JNWFO5XG.js} +1 -1
  50. package/dist/cdn/{RHSCKBJG.js → JWSRZ2DT.js} +1 -1
  51. package/dist/cdn/{27T5D3K4.js → K7ONVPQD.js} +1 -1
  52. package/dist/cdn/{Q2GJNRU2.js → KNHO45OE.js} +1 -1
  53. package/dist/cdn/{R2GPX6DA.js → L2IC2Y47.js} +1 -1
  54. package/dist/cdn/{C6U7HPQE.js → NM6DLR7V.js} +1 -1
  55. package/dist/cdn/{4BRBVLD3.js → OH23D7V4.js} +1 -1
  56. package/dist/cdn/{76SBKWBM.js → OYE6B4A2.js} +1 -1
  57. package/dist/cdn/{SJ7UC3JM.js → PS63GP2Q.js} +1 -1
  58. package/dist/cdn/{BE3D4CYZ.js → Q5KQ6VU2.js} +1 -1
  59. package/dist/cdn/{7NQYTB6K.js → QA5XAJG2.js} +1 -1
  60. package/dist/cdn/{BBWFFVQ7.js → QD5L45NM.js} +1 -1
  61. package/dist/cdn/{3K3AZU3H.js → QTYP3S5A.js} +1 -1
  62. package/dist/cdn/{6F6RXEE7.js → QXCE6JPL.js} +1 -1
  63. package/dist/cdn/{NLIYZT4J.js → RACBDCMX.js} +1 -1
  64. package/dist/cdn/{KBROJDYY.js → RJGYAQAI.js} +1 -1
  65. package/dist/cdn/{HOQNWF7T.js → RYQCBDZQ.js} +1 -1
  66. package/dist/cdn/{4R7PF5KX.js → TND5ID5R.js} +1 -1
  67. package/dist/cdn/{VZOL2AD6.js → TVKJNNXG.js} +1 -1
  68. package/dist/cdn/{BRWJSQNF.js → U3VZYTUZ.js} +1 -1
  69. package/dist/cdn/{MQJAK2SJ.js → UGEYLVIU.js} +1 -1
  70. package/dist/cdn/{5TF4XWIC.js → ULVVDC7F.js} +1 -1
  71. package/dist/cdn/{UFCXIYYK.js → UPZU4PT4.js} +1 -1
  72. package/dist/cdn/{WDMYVS4F.js → VMLRM5N5.js} +1 -1
  73. package/dist/cdn/{FLMUOC55.js → VNPYUGJI.js} +1 -1
  74. package/dist/cdn/{EUNBXPUS.js → VSWUT7CA.js} +1 -1
  75. package/dist/cdn/{HXC5LKJW.js → W2ZWCRQG.js} +1 -1
  76. package/dist/cdn/{DY2DE7FX.js → W5OKNIYB.js} +1 -1
  77. package/dist/cdn/{NVINMCGT.js → WLDEJGWX.js} +1 -1
  78. package/dist/cdn/{USNJZCHH.js → WVIP7B4W.js} +1 -1
  79. package/dist/cdn/{LP5TTMQR.js → XAAWA7RV.js} +1 -1
  80. package/dist/cdn/{F3ZGHFA6.js → XKWB2T32.js} +1 -1
  81. package/dist/cdn/{Q7VV6RA4.js → XPHNWQAT.js} +1 -1
  82. package/dist/cdn/{OFJFM4B4.js → XZEIH6U7.js} +1 -1
  83. package/dist/cdn/YDNZFSLH.js +2 -0
  84. package/dist/cdn/{KN6WLM2H.js → YJ3WIX3D.js} +1 -1
  85. package/dist/cdn/{NPH57JQ6.js → YUSPOR5K.js} +1 -1
  86. package/dist/cdn/{LMOH2EKW.js → YVQGX3ZX.js} +1 -1
  87. package/dist/cdn/{RSLGXN7X.js → ZVZ73LEB.js} +1 -1
  88. package/dist/cdn/{7O3T7HG5.js → ZZBZ3M37.js} +1 -1
  89. package/dist/cdn/assets/common/t9n/messages.en.json +1 -1
  90. package/dist/cdn/index.js +1 -1
  91. package/dist/cdn/model/shared/setup-utils.js +1 -1
  92. package/dist/chunks/combo-bar-line-chart-model.js +46 -37
  93. package/dist/chunks/index.js +55 -43
  94. package/dist/chunks/index2.js +4314 -4227
  95. package/dist/chunks/index3.js +146 -136
  96. package/dist/chunks/model-with-line-marker-styling.js +16 -6
  97. package/dist/chunks/negative-values-stacked-to-baseline.js +33 -29
  98. package/dist/chunks/x-bounds.js +77 -75
  99. package/dist/components/arcgis-chart/customElement.d.ts +92 -34
  100. package/dist/components/arcgis-chart/customElement.js +2703 -2735
  101. package/dist/components/arcgis-charts-action-bar/customElement.d.ts +8 -0
  102. package/dist/docs/api.json +1 -1
  103. package/dist/docs/docs.json +1 -1
  104. package/dist/docs/vscode.html-custom-data.json +1 -1
  105. package/dist/docs/web-types.json +1 -1
  106. package/dist/interfaces.d.ts +9 -11
  107. package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +11 -2
  108. package/dist/model/mixins/model-with-guides.d.ts +1 -1
  109. package/dist/model/mixins/model-with-line-marker-styling.d.ts +10 -2
  110. package/dist/types/stencil.d.ts +2 -2
  111. package/dist/utils/chart-config/validator/interfaces.d.ts +1 -0
  112. package/dist/utils/defaults/interfaces.d.ts +6 -0
  113. package/dist/utils/localization/interfaces.d.ts +8 -0
  114. package/package.json +4 -4
  115. package/dist/cdn/A7ISZ5RM.js +0 -2
  116. package/dist/cdn/CY3UKUIP.js +0 -2
  117. package/dist/cdn/HS52MRKJ.js +0 -2
  118. package/dist/cdn/TSORVNA6.js +0 -2
  119. package/dist/cdn/VMN2UXWS.js +0 -3
  120. /package/dist/cdn/{Y2NESTSK.js → 26DDVOQ7.js} +0 -0
  121. /package/dist/cdn/{DWYBKGOM.js → 3FFCWEMV.js} +0 -0
  122. /package/dist/cdn/{3QPQ3RE5.js → 6AXYQGBN.js} +0 -0
  123. /package/dist/cdn/{MSB6J66X.js → 6U6VAS2O.js} +0 -0
  124. /package/dist/cdn/{47E3TKSH.js → A2KSCV2I.js} +0 -0
  125. /package/dist/cdn/{Q2WDEGUQ.js → AF2GUPVE.js} +0 -0
  126. /package/dist/cdn/{LC4YFJSM.js → AS3QP77N.js} +0 -0
  127. /package/dist/cdn/{BJC2AIS3.js → B5Z7FBO7.js} +0 -0
  128. /package/dist/cdn/{274L47ID.js → B7J5YIWF.js} +0 -0
  129. /package/dist/cdn/{GBOCN364.js → BWR5ONE2.js} +0 -0
  130. /package/dist/cdn/{YW6IZCRW.js → C2ZX67U4.js} +0 -0
  131. /package/dist/cdn/{HDYL2BOC.js → DDNOUE2T.js} +0 -0
  132. /package/dist/cdn/{6LACIKDG.js → EQTI5Z4G.js} +0 -0
  133. /package/dist/cdn/{IR2W7UQ3.js → FFJTVPE4.js} +0 -0
  134. /package/dist/cdn/{YFHCD7R2.js → H2DUFQAG.js} +0 -0
  135. /package/dist/cdn/{XJVFIGWI.js → HABS63VB.js} +0 -0
  136. /package/dist/cdn/{ACRMB7MU.js → J3BB5KXD.js} +0 -0
  137. /package/dist/cdn/{FBLOPEXC.js → JUFBIV44.js} +0 -0
  138. /package/dist/cdn/{J3VAMS5Z.js → KTYFDFMQ.js} +0 -0
  139. /package/dist/cdn/{7XHAJY6Q.js → LXZXXY7V.js} +0 -0
  140. /package/dist/cdn/{K2PVLPOV.js → NNHJ75EA.js} +0 -0
  141. /package/dist/cdn/{7PC3VBMY.js → NWQ2L7IJ.js} +0 -0
  142. /package/dist/cdn/{64F7QNUM.js → OMU647X3.js} +0 -0
  143. /package/dist/cdn/{PQVUA4T4.js → OXPXA3PS.js} +0 -0
  144. /package/dist/cdn/{NWHLFMAD.js → P7FI5QUW.js} +0 -0
  145. /package/dist/cdn/{MGAMMXJW.js → PCFEAGXP.js} +0 -0
  146. /package/dist/cdn/{EQD2B3I6.js → PZP57FJ2.js} +0 -0
  147. /package/dist/cdn/{HP3GIDT5.js → Q466K37N.js} +0 -0
  148. /package/dist/cdn/{6PDO75JM.js → R5LIRRMK.js} +0 -0
  149. /package/dist/cdn/{C3A3UXVR.js → RHUEVXMR.js} +0 -0
  150. /package/dist/cdn/{JWEGCP5P.js → RMIIDRGC.js} +0 -0
  151. /package/dist/cdn/{B4RCAP3J.js → S4NQCINT.js} +0 -0
  152. /package/dist/cdn/{PMAHEVYY.js → SVLOD3HQ.js} +0 -0
  153. /package/dist/cdn/{Q2OIHROC.js → TJ2NRLF6.js} +0 -0
  154. /package/dist/cdn/{ZK2KMZEI.js → TOCBEPNS.js} +0 -0
  155. /package/dist/cdn/{6WJKLKEZ.js → XR4O3AQ6.js} +0 -0
  156. /package/dist/cdn/{4BQ22DKZ.js → Z5EJIWAY.js} +0 -0
  157. /package/dist/cdn/{XDNGNOOK.js → ZARYZFJ4.js} +0 -0
  158. /package/dist/cdn/{CKIF4L44.js → ZVOX72AF.js} +0 -0
@@ -1,19 +1,19 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import { s as c, a as k, g as b, b as n } from "./series.js";
2
+ import { s as c, a as k, g as b, b as v } from "./series.js";
3
3
  import { _ as m } from "./index.js";
4
4
  import { bt as i, bB as a } from "./index2.js";
5
- import { C as v, m as y } from "./model-setter.js";
6
- const _ = (s, e) => {
5
+ import { C as n, m as h } from "./model-setter.js";
6
+ const d = (s, e) => {
7
7
  if (i(e.series[s]) || a(e.series[s]))
8
8
  return b(e.series[s]);
9
- }, f = (s, e, r) => {
9
+ }, N = (s, e, r) => {
10
10
  (i(r.series[e]) || a(r.series[e])) && c(s, r.series[e]);
11
- }, O = (s, e) => {
11
+ }, _ = (s, e) => {
12
12
  if (i(e.series[s]) || a(e.series[s]))
13
- return n(e.series[s]);
14
- }, j = (s, e, r) => {
13
+ return v(e.series[s]);
14
+ }, O = (s, e, r) => {
15
15
  (i(r.series[e]) || a(r.series[e])) && k(s, r.series[e]);
16
- }, W = (s, e) => i(e.series[s]) || a(e.series[s]) ? e.series[s].markerSymbol?.color : void 0, d = (s, e, r) => {
16
+ }, j = (s, e) => i(e.series[s]) || a(e.series[s]) ? e.series[s].markerSymbol?.color : void 0, W = (s, e, r) => {
17
17
  if (i(r.series[e]) || a(r.series[e])) {
18
18
  const t = r.series[e];
19
19
  t.markerSymbol === void 0 && (t.markerSymbol = m()), t.markerSymbol.color = s;
@@ -28,29 +28,33 @@ const _ = (s, e) => {
28
28
  const t = r.series[e];
29
29
  t.markerSymbol === void 0 && (t.markerSymbol = m()), t.markerSymbol.size = s;
30
30
  }
31
- }, D = (s, e) => i(e.series[s]) || a(e.series[s]) ? e.series?.[s]?.lineSmoothed ?? !1 : !1, F = (s) => {
31
+ }, D = (s, e) => i(e.series[s]) || a(e.series[s]) ? e.series?.[s]?.lineSmoothed ?? !1 : !1, E = (s) => {
32
32
  const { smoothed: e, seriesIndex: r, config: t } = s;
33
33
  (i(t.series[r]) || a(t.series[r])) && (t.series[r].lineSmoothed = e);
34
- }, q = (s, e) => i(e.series[s]) || a(e.series[s]) ? e.series[s].showArea ?? !1 : !1, R = (s) => {
34
+ }, F = (s, e) => i(e.series[s]) || a(e.series[s]) ? e.series[s].showArea ?? !1 : !1, q = (s) => {
35
35
  const { visible: e, seriesIndex: r, config: t } = s;
36
- (i(t.series[r]) || a(t.series[r])) && (t.series[r].showArea = e);
37
- }, E = (s, e) => i(e.series[s]) || a(e.series[s]) ? e.series[s].markerVisible ?? !0 : !1, G = (s) => {
36
+ [r !== void 0 ? t.series?.[r] : t.series].flat().forEach((o) => {
37
+ o !== void 0 && (i(o) || a(o)) && (o.showArea = e);
38
+ });
39
+ }, R = (s, e) => i(e.series[s]) || a(e.series[s]) ? e.series[s].markerVisible ?? !0 : !1, G = (s) => {
38
40
  const { visible: e, seriesIndex: r, config: t } = s;
39
- (i(t.series[r]) || a(t.series[r])) && (t.series[r].markerVisible = e);
41
+ [r !== void 0 ? t.series?.[r] : t.series].flat().forEach((o) => {
42
+ o !== void 0 && (i(o) || a(o)) && (o.markerVisible = e);
43
+ });
40
44
  }, H = (s, e) => i(e.series[s]) || a(e.series[s]) ? e.series[s].areaColor : void 0, J = (s, e) => i(e.series[s]) || a(e.series[s]) ? e.series?.[s]?.connectLines : void 0, K = (s) => {
41
45
  const { connect: e, seriesIndex: r, config: t } = s;
42
46
  (i(t.series[r]) || a(t.series[r])) && (t.series[r].connectLines = e);
43
47
  };
44
- var h = Object.defineProperty, u = Object.getOwnPropertyDescriptor, L = (s, e, r, t) => {
48
+ var y = Object.defineProperty, u = Object.getOwnPropertyDescriptor, L = (s, e, r, t) => {
45
49
  for (var o = u(e, r), l = s.length - 1, S; l >= 0; l--)
46
50
  (S = s[l]) && (o = S(e, r, o) || o);
47
- return o && h(e, r, o), o;
51
+ return o && y(e, r, o), o;
48
52
  };
49
53
  const V = (s, e) => i(e.series[s]) || a(e.series[s]) ? e.series[s].stackNegativeValuesToBaseline ?? !0 : !1, p = (s) => {
50
54
  const { stackNegativeValuesToBaseline: e, seriesIndex: r, config: t } = s;
51
55
  (i(t.series[r]) || a(t.series[r])) && (t.series[r].stackNegativeValuesToBaseline = e);
52
56
  };
53
- class C extends v {
57
+ class f extends n {
54
58
  /**
55
59
  * Specify how negative values are treated in stacked series.
56
60
  *
@@ -70,27 +74,27 @@ class C extends v {
70
74
  }
71
75
  }
72
76
  L([
73
- y
74
- ], C.prototype, "setNegativeValuesStackedToBaseline");
77
+ h
78
+ ], f.prototype, "setNegativeValuesStackedToBaseline");
75
79
  export {
76
- C as W,
77
- f as a,
78
- j as b,
80
+ f as W,
81
+ N as a,
82
+ O as b,
79
83
  w as c,
80
84
  P as d,
81
- O as e,
82
- W as f,
83
- _ as g,
85
+ _ as e,
86
+ j as f,
87
+ d as g,
84
88
  A as h,
85
89
  z as i,
86
90
  D as j,
87
- F as k,
91
+ E as k,
88
92
  J as l,
89
93
  K as m,
90
- q as n,
91
- R as o,
92
- E as p,
94
+ F as n,
95
+ q as o,
96
+ R as p,
93
97
  G as q,
94
98
  H as r,
95
- d as s
99
+ W as s
96
100
  };
@@ -1,14 +1,14 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
2
  import { C as _ } from "./chart-model.js";
3
3
  import { cloneDeep as h } from "lodash-es";
4
- import { G as g } from "./common.js";
5
- import { i as c } from "./rest-js-object-literals.js";
4
+ import { G as c } from "./common.js";
5
+ import { i as g } 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, bG as M, bF as X } from "./index2.js";
9
- import { m as a, C as f } from "./model-setter.js";
8
+ import { M as X, bG as C, bF as M } from "./index2.js";
9
+ import { m as r, C as f } from "./model-setter.js";
10
10
  import { e as B, f as A } from "./utils2.js";
11
- import { l as p, s as y, f as O } from "./utils.js";
11
+ import { l as y, s as v, f as O } from "./utils.js";
12
12
  const P = (t) => {
13
13
  for (const e of t.axes ?? [])
14
14
  for (const i of e?.guides ?? [])
@@ -24,32 +24,34 @@ const P = (t) => {
24
24
  function d(t) {
25
25
  return {
26
26
  ...t,
27
- axis: t.orientation === g.X ? t.config.axes?.[0] : t.config.axes?.[1],
27
+ axis: t.orientation === c.X ? t.config.axes?.[0] : t.config.axes?.[1],
28
28
  index: t.index ?? 0,
29
- orientation: t.orientation ?? g.Y
29
+ orientation: t.orientation ?? c.Y
30
30
  };
31
31
  }
32
32
  const V = (t) => {
33
33
  const { axis: e, index: i } = d(t);
34
34
  return e?.guides?.[i]?.visible ?? !0;
35
- }, R = (t) => {
36
- const { visible: e, axis: i, index: s } = d(t);
37
- i?.guides?.[s] !== void 0 && (i.guides[s].visible = e);
38
- }, m = (t) => {
39
- const e = C(t.start, t.end);
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 });
41
35
  }, E = (t) => {
36
+ const i = (t.orientation ?? c.Y) === c.X ? t.config.axes?.[0] : t.config.axes?.[1];
37
+ t.index !== void 0 ? i?.guides?.[t.index] !== void 0 && (i.guides[t.index].visible = t.visible) : i?.guides?.forEach((s) => {
38
+ s.visible = t.visible;
39
+ });
40
+ }, p = (t) => {
41
+ const e = X(t.start, t.end);
42
+ C(t.style) && e === g.SFS ? t.style = { type: g.SFS, color: t.style.color } : M(t.style) && e === g.SLS && (t.style = { type: g.SLS, color: t.style.color });
43
+ }, R = (t) => {
42
44
  const { axis: e, index: i } = d(t);
43
45
  return e?.guides?.[i]?.start ?? null;
44
46
  }, F = (t) => {
45
47
  const { start: e, axis: i, index: s } = d(t);
46
- i?.guides?.[s] !== void 0 && (i.guides[s].start = e, m(i.guides[s]));
48
+ i?.guides?.[s] !== void 0 && (i.guides[s].start = e, p(i.guides[s]));
47
49
  }, w = (t) => {
48
50
  const { axis: e, index: i } = d(t);
49
51
  return e?.guides?.[i]?.end;
50
52
  }, W = (t) => {
51
53
  const { end: e, axis: i, index: s } = d(t);
52
- i?.guides?.[s] !== void 0 && (i.guides[s].end = e, m(i.guides[s]));
54
+ i?.guides?.[s] !== void 0 && (i.guides[s].end = e, p(i.guides[s]));
53
55
  }, j = (t) => {
54
56
  const { axis: e, index: i } = d(t);
55
57
  return e?.guides?.[i]?.name;
@@ -62,10 +64,10 @@ const V = (t) => {
62
64
  }, I = (t) => {
63
65
  const { labelText: e, axis: i, index: s } = d(t), o = i?.guides?.[s]?.label ?? S(e, L(b.GuideLabel), b.GuideLabel);
64
66
  i?.guides?.[s] !== void 0 && (i.guides[s].label = { ...o, text: e });
65
- }, U = (t) => {
67
+ }, Y = (t) => {
66
68
  const { axis: e, index: i } = d(t);
67
69
  return e?.guides?.[i]?.above ?? !1;
68
- }, Y = (t) => {
70
+ }, U = (t) => {
69
71
  const { above: e, axis: i, index: s } = d(t);
70
72
  i?.guides?.[s] !== void 0 && (i.guides[s].above = e);
71
73
  }, q = (t) => {
@@ -74,20 +76,20 @@ const V = (t) => {
74
76
  }, z = (t) => {
75
77
  const { style: e, axis: i, index: s } = d(t);
76
78
  i?.guides?.[s] !== void 0 && (i.guides[s].style = e);
77
- }, ve = (t) => {
78
- const { config: e, name: i, index: s, orientation: o } = t, n = o === g.X ? e.axes?.[0] : e.axes?.[1];
79
+ }, me = (t) => {
80
+ const { config: e, name: i, index: s, orientation: o } = t, n = o === c.X ? e.axes?.[0] : e.axes?.[1];
79
81
  if (n !== void 0) {
80
82
  n.guides = n.guides ?? [];
81
- const r = {
83
+ const a = {
82
84
  type: x.Guide,
83
85
  name: i,
84
86
  start: n.valueFormat.type === x.DateAxisFormat ? "" : 0,
85
87
  style: T()
86
88
  };
87
- s !== void 0 && s < n.guides.length ? n.guides.splice(s, 0, r) : n.guides.push(r);
89
+ s !== void 0 && s < n.guides.length ? n.guides.splice(s, 0, a) : n.guides.push(a);
88
90
  }
89
91
  }, Ge = (t) => {
90
- const { config: e, index: i, orientation: s } = t, o = s === g.X ? e.axes?.[0] : e.axes?.[1];
92
+ const { config: e, index: i, orientation: s } = t, o = s === c.X ? e.axes?.[0] : e.axes?.[1];
91
93
  o?.guides !== void 0 && (i !== void 0 && i < o.guides.length ? o.guides.splice(i, 1) : o.guides.pop());
92
94
  }, H = (t) => {
93
95
  const { axis: e, index: i } = d(t);
@@ -96,12 +98,12 @@ const V = (t) => {
96
98
  const { reverseColor: e, axis: i, index: s } = d(t);
97
99
  i?.guides?.[s] !== void 0 && (i.guides[s].tooltipReverseColor = e);
98
100
  };
99
- var K = Object.defineProperty, Q = Object.getOwnPropertyDescriptor, u = (t, e, i, s) => {
100
- for (var o = Q(e, i), n = t.length - 1, r; n >= 0; n--)
101
- (r = t[n]) && (o = r(e, i, o) || o);
101
+ var K = Object.defineProperty, Q = Object.getOwnPropertyDescriptor, l = (t, e, i, s) => {
102
+ for (var o = Q(e, i), n = t.length - 1, a; n >= 0; n--)
103
+ (a = t[n]) && (o = a(e, i, o) || o);
102
104
  return o && K(e, i, o), o;
103
105
  };
104
- class l extends _ {
106
+ class u extends _ {
105
107
  /**
106
108
  * The guide labels text symbol (font, color, style).
107
109
  */
@@ -121,7 +123,7 @@ class l extends _ {
121
123
  return V({ config: this._config, index: e, orientation: i });
122
124
  }
123
125
  setGuideVisibility(e, i, s) {
124
- R({ visible: e, config: this._config, index: i, orientation: s });
126
+ E({ visible: e, config: this._config, index: i, orientation: s });
125
127
  }
126
128
  /**
127
129
  * Gets the start value of a guide.
@@ -130,7 +132,7 @@ class l extends _ {
130
132
  * @param orientation - Default `y`. The axis orientation of the guide.
131
133
  */
132
134
  getGuideStart(e, i) {
133
- return E({ config: this._config, index: e, orientation: i });
135
+ return R({ config: this._config, index: e, orientation: i });
134
136
  }
135
137
  setGuideStart(e, i, s) {
136
138
  F({ start: e, config: this._config, index: i, orientation: s });
@@ -178,10 +180,10 @@ class l extends _ {
178
180
  * @param orientation - Default `y`. The axis orientation of the guide.
179
181
  */
180
182
  getGuideAbove(e, i) {
181
- return U({ config: this._config, index: e, orientation: i });
183
+ return Y({ config: this._config, index: e, orientation: i });
182
184
  }
183
185
  setGuideAbove(e, i, s) {
184
- Y({ above: e, config: this._config, index: i, orientation: s });
186
+ U({ above: e, config: this._config, index: i, orientation: s });
185
187
  }
186
188
  /**
187
189
  * Gets the guide style.
@@ -208,33 +210,33 @@ class l extends _ {
208
210
  J({ reverseColor: e, config: this._config, index: i, orientation: s });
209
211
  }
210
212
  }
211
- u([
212
- a
213
- ], l.prototype, "guideLabelsSymbol");
214
- u([
215
- a
216
- ], l.prototype, "setGuideVisibility");
217
- u([
218
- a
219
- ], l.prototype, "setGuideStart");
220
- u([
221
- a
222
- ], l.prototype, "setGuideEnd");
223
- u([
224
- a
225
- ], l.prototype, "setGuideName");
226
- u([
227
- a
228
- ], l.prototype, "setGuideLabelText");
229
- u([
230
- a
231
- ], l.prototype, "setGuideAbove");
232
- u([
233
- a
234
- ], l.prototype, "setGuideStyle");
235
- u([
236
- a
237
- ], l.prototype, "setTooltipReverseColor");
213
+ l([
214
+ r
215
+ ], u.prototype, "guideLabelsSymbol");
216
+ l([
217
+ r
218
+ ], u.prototype, "setGuideVisibility");
219
+ l([
220
+ r
221
+ ], u.prototype, "setGuideStart");
222
+ l([
223
+ r
224
+ ], u.prototype, "setGuideEnd");
225
+ l([
226
+ r
227
+ ], u.prototype, "setGuideName");
228
+ l([
229
+ r
230
+ ], u.prototype, "setGuideLabelText");
231
+ l([
232
+ r
233
+ ], u.prototype, "setGuideAbove");
234
+ l([
235
+ r
236
+ ], u.prototype, "setGuideStyle");
237
+ l([
238
+ r
239
+ ], u.prototype, "setTooltipReverseColor");
238
240
  class _e extends f {
239
241
  /**
240
242
  * Whether the x-axis labels are visible.
@@ -249,14 +251,14 @@ class _e extends f {
249
251
  }
250
252
  }
251
253
  var Z = Object.defineProperty, k = Object.getOwnPropertyDescriptor, ee = (t, e, i, s) => {
252
- for (var o = k(e, i), n = t.length - 1, r; n >= 0; n--)
253
- (r = t[n]) && (o = r(e, i, o) || o);
254
+ for (var o = k(e, i), n = t.length - 1, a; n >= 0; n--)
255
+ (a = t[n]) && (o = a(e, i, o) || o);
254
256
  return o && Z(e, i, o), o;
255
257
  };
256
- const ie = (t) => p({ config: t, axisIndex: 0, isMax: !0 }), te = (t, e) => {
257
- y({ config: t, value: e, axisIndex: 0, isMax: !0 });
258
+ const ie = (t) => y({ config: t, axisIndex: 0, isMax: !0 }), te = (t, e) => {
259
+ v({ config: t, value: e, axisIndex: 0, isMax: !0 });
258
260
  };
259
- class v extends f {
261
+ class m extends f {
260
262
  /**
261
263
  * Maximum bound set for the x-axis.
262
264
  *
@@ -270,15 +272,15 @@ class v extends f {
270
272
  }
271
273
  }
272
274
  ee([
273
- a
274
- ], v.prototype, "maxXBound");
275
+ r
276
+ ], m.prototype, "maxXBound");
275
277
  var se = Object.defineProperty, oe = Object.getOwnPropertyDescriptor, ne = (t, e, i, s) => {
276
- for (var o = oe(e, i), n = t.length - 1, r; n >= 0; n--)
277
- (r = t[n]) && (o = r(e, i, o) || o);
278
+ for (var o = oe(e, i), n = t.length - 1, a; n >= 0; n--)
279
+ (a = t[n]) && (o = a(e, i, o) || o);
278
280
  return o && se(e, i, o), o;
279
281
  };
280
- const de = (t) => p({ config: t, axisIndex: 0, isMax: !1 }), re = (t, e) => {
281
- y({ config: t, value: e, axisIndex: 0, isMax: !1 });
282
+ const de = (t) => y({ config: t, axisIndex: 0, isMax: !1 }), ae = (t, e) => {
283
+ v({ config: t, value: e, axisIndex: 0, isMax: !1 });
282
284
  };
283
285
  class G extends f {
284
286
  /**
@@ -290,19 +292,19 @@ class G extends f {
290
292
  return de(this._config);
291
293
  }
292
294
  set minXBound(e) {
293
- re(this._config, e);
295
+ ae(this._config, e);
294
296
  }
295
297
  }
296
298
  ne([
297
- a
299
+ r
298
300
  ], G.prototype, "minXBound");
299
- class ae extends f {
301
+ class re extends f {
300
302
  }
301
- O(ae, [v, G]);
303
+ O(re, [m, G]);
302
304
  export {
303
- l as M,
305
+ u as M,
304
306
  _e as W,
305
- ae as a,
306
- ve as b,
307
+ re as a,
308
+ me as b,
307
309
  Ge as d
308
310
  };
@@ -188,6 +188,10 @@ export abstract class ArcgisChart extends LitElement {
188
188
  twoTemporalSeriesLineCountCannotExceedLimit: string;
189
189
  threePlusTemporalSeriesLineCountCannotExceedLimit: string;
190
190
  lineSeriesCountCannotExceedLimit: string;
191
+ uniqueSeriesRadarCountCannotExceedLimit: string;
192
+ twoSeriesRadarCountCannotExceedLimit: string;
193
+ threePlusSeriesRadarCountCannotExceedLimit: string;
194
+ radarSeriesCountCannotExceedLimit: string;
191
195
  uniqueSeriesBoxCountCannotExceedLimit: string;
192
196
  twoSeriesBoxCountCannotExceedLimit: string;
193
197
  threePlusBoxLineCountCannotExceedLimit: string;
@@ -455,6 +459,10 @@ export abstract class ArcgisChart extends LitElement {
455
459
  twoTemporalSeriesLineCountCannotExceedLimit: string;
456
460
  threePlusTemporalSeriesLineCountCannotExceedLimit: string;
457
461
  lineSeriesCountCannotExceedLimit: string;
462
+ uniqueSeriesRadarCountCannotExceedLimit: string;
463
+ twoSeriesRadarCountCannotExceedLimit: string;
464
+ threePlusSeriesRadarCountCannotExceedLimit: string;
465
+ radarSeriesCountCannotExceedLimit: string;
458
466
  uniqueSeriesBoxCountCannotExceedLimit: string;
459
467
  twoSeriesBoxCountCannotExceedLimit: string;
460
468
  threePlusBoxLineCountCannotExceedLimit: string;
@@ -1219,6 +1227,10 @@ export abstract class ArcgisChart extends LitElement {
1219
1227
  twoTemporalSeriesLineCountCannotExceedLimit?: string | undefined;
1220
1228
  threePlusTemporalSeriesLineCountCannotExceedLimit?: string | undefined;
1221
1229
  lineSeriesCountCannotExceedLimit?: string | undefined;
1230
+ uniqueSeriesRadarCountCannotExceedLimit?: string | undefined;
1231
+ twoSeriesRadarCountCannotExceedLimit?: string | undefined;
1232
+ threePlusSeriesRadarCountCannotExceedLimit?: string | undefined;
1233
+ radarSeriesCountCannotExceedLimit?: string | undefined;
1222
1234
  uniqueSeriesBoxCountCannotExceedLimit?: string | undefined;
1223
1235
  twoSeriesBoxCountCannotExceedLimit?: string | undefined;
1224
1236
  threePlusBoxLineCountCannotExceedLimit?: string | undefined;
@@ -1761,7 +1773,7 @@ export abstract class ArcgisChart extends LitElement {
1761
1773
  * Whether to automatically add the missing series to cover the split-by values not referenced in the configuration.
1762
1774
  * - This property only applies to plain chart configuration object that's constructed following the [WebChart](https://developers.arcgis.com/javascript/latest/references/charts-components/spec/web-chart/#WebChart) specification.
1763
1775
  * - When [`addMissingSeries`](/references/charts-components/utils/components/interfaces/#MissingSplitBySeriesProps-addMissingSeries) is set to `true`, the missing series will be added.
1764
- * - When [`seriesTemplate`](/references/charts-components/utils/components/interfaces/#MissingSplitBySeriesProps-seriesTemplate) is not provided, the first existing series from the configuration will be copied to be used as a model for the missing ones. The chart won't render if the series template is not set and there's no series in the configuration.
1776
+ * - When [`seriesTemplate`](/references/charts-components/utils/components/interfaces/#MissingSplitBySeriesProps-seriesTemplate) is omitted, the first existing series from the configuration will be copied to be used as a model for the missing ones. The chart won't render if the series template is not set and there's no series in the configuration.
1765
1777
  * - If a chart is configured using a chart model, this property is not necessary as the split-by series will be updated automatically when the model's properties are changed.
1766
1778
  *
1767
1779
  * **Note**: Applicable only to bar chart, box plot, line chart and radar chart when a split-by field is used.
@@ -1838,7 +1850,7 @@ export abstract class ArcgisChart extends LitElement {
1838
1850
  */
1839
1851
  clearSelection(): Promise<void>;
1840
1852
  /**
1841
- * Destroys the chart instance and removes it from the DOM.
1853
+ * Destroys the chart instance.
1842
1854
  *
1843
1855
  * @since 5.1
1844
1856
  */
@@ -1853,64 +1865,110 @@ export abstract class ArcgisChart extends LitElement {
1853
1865
  /**
1854
1866
  * Export the current chart's data as a CSV file.
1855
1867
  *
1856
- * The `Options` object can contain the following properties:
1857
- * - `columns`: An array of column to include in the CSV file.
1858
- * - `delimiter`: The delimiter to use in the CSV file. Default is `,`.
1859
- * - `includeHeader`: Whether to include the header row in the CSV file. Default is `true`.
1860
- * - `quoteAll`: Whether to quote all values in the CSV file. Default is `false`.
1861
- * - `locale`: The locale to use when formatting the CSV file. Default is `en`.
1862
- * - Locale supported are: "ar", "ar-u-nu-latn", "bs", "bg", "ca", "cs", "da", "de", "el", "en", "en-US", "es", "et", "fi", "fr", "he", "hr", "hu", "id", "it", "ja", "ko", "lt", "lv", "no", "nl", "pl", "pt-BR", "pt-PT", "ro", "ru", "sr", "sl", "sk", "sv", "th", "tr", "uk", "vi", "zh-CN", "zh-HK", "zh-TW"
1863
- *
1864
- * **Note**: The chart types supported by this method are:
1865
- * - Bar chart
1866
- * - Box plot
1867
- * - Combo bar line chart
1868
- * - Heat chart
1869
- * - Histogram
1870
- * - Line chart
1871
- * - Pie chart
1872
- *
1873
- * @param options
1868
+ * @param options - The options to customize the exported CSV file.
1869
+ * @example
1870
+ * ```ts
1871
+ * // Export the chart's data as a CSV file with custom options.
1872
+ * await chartElement.exportAsCSV({
1873
+ * columns: ["neighbourhood_group", "room_type", "Count"],
1874
+ * delimiter: "|",
1875
+ * includeHeader: false,
1876
+ * quoteAll: true,
1877
+ * locale: "fr"
1878
+ * });
1879
+ * ```
1880
+ *
1881
+ * ```csv
1882
+ * // The exported CSV file will contain the following data:
1883
+ * sep=|
1884
+ * "Bronx"|"Entire home/apt"|"379"
1885
+ * "Bronx"|"Private room"|"652"
1886
+ * "Bronx"|"Shared room"|"60"
1887
+ * "Brooklyn"|"Entire home/apt"|"9 559"
1888
+ * ...
1889
+ * ```
1890
+ *
1891
+ * **Note**: Not supported for gauges, scatterplots and radar charts.
1874
1892
  */
1875
1893
  exportAsCSV(options?: CSVOptions): Promise<void>;
1876
1894
  /**
1877
- * Exports the current chart as an image. Default format is `png`.
1878
- * - Alternative formats supported are: `jpeg`, `jpg`, `webp`, and `svg`.
1879
- * - When WebP format is used on Safari, it will fallback to PNG rendering.
1895
+ * Exports and downloads the current chart as an image.
1896
+ * - Supported formats: `png` (default), `jpeg`, `jpg`, `webp`, and `svg`.
1897
+ * - When `webp` format is used on Safari, it will fallback to `png`.
1880
1898
  *
1881
- * @param format
1899
+ * @param format - The image format to export the chart as. Default: `png`.
1882
1900
  */
1883
1901
  exportAsImage(format?: DownloadableChartImagesTypes): Promise<void>;
1884
- /** Returns a promise that resolves when the chart model is fully loaded. */
1902
+ /**
1903
+ * Returns a promise that resolves when the chart model is fully loaded.
1904
+ *
1905
+ * This method should be used when loading a chart with [layerItemId](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#layerItemId) and [chartIndex](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#chartIndex), and further customization of the chart model is needed.
1906
+ *
1907
+ * @example
1908
+ * ```html
1909
+ * // Load a chart from a layer item
1910
+ * <arcgis-chart layer-item-id="8871626e970a4f3e9d6113ec63a92f2f" chart-index="2" />
1911
+ * ```
1912
+ * ```ts
1913
+ * // Get a reference to the chart element in the DOM
1914
+ * const chartElement = document.querySelector("arcgis-chart");
1915
+ *
1916
+ * // Call the method to ensure the model is fully loaded before making changes
1917
+ * await chartElement.loadModel();
1918
+ *
1919
+ * // Once the model is loaded, use the model's properties/methods to customize
1920
+ * chartElement.model.titleText = "New Title";
1921
+ * ```
1922
+ * @see [Load from layer item and customize with charts model](https://developers.arcgis.com/javascript/latest/charts/#load-from-layer-item-and-customize-with-charts-model)
1923
+ */
1885
1924
  loadModel(): Promise<void>;
1886
1925
  /**
1887
- * Notify method allows passing external messages to the chart component.
1888
- * It can be used to pass validation or information messages.
1889
- * In a situation where a model update is overriding the notification modal, consider waiting for the [@arcgisUpdateComplete](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#event-arcgisUpdateComplete) event.
1926
+ * Passes external messages to the chart component and displays them in the chart's container.
1927
+ * When a model update is overriding the notification modal, consider waiting for the [@arcgisUpdateComplete](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#event-arcgisUpdateComplete) event.
1928
+ *
1929
+ * @param message - The message to display in the chart's container.
1930
+ * @param heading - The heading to display in the chart's container.
1931
+ * @example
1932
+ * ```html
1933
+ * <button id="show-notification" type="button">Show notification</button>
1934
+ * <button id="clear-notification" type="button">Clear notification</button>
1935
+ * ```
1890
1936
  *
1891
- * @param message - The message to display in the chart's info modal.
1892
- * @param heading - The heading to display in the chart's info modal.
1937
+ * ```ts
1938
+ * // When the "Show notification" button is clicked, the chart's container will display a custom message and heading.
1939
+ * document.querySelector("#show-notification").addEventListener("click", () => {
1940
+ * chartElement.notify(
1941
+ * "This is a notification message.",
1942
+ * "Notification heading",
1943
+ * );
1944
+ * });
1945
+ *
1946
+ * // When the "Clear notification" button is clicked, the chart's container will be cleared and hidden.
1947
+ * document.querySelector("#clear-notification").addEventListener("click", () => {
1948
+ * chartElement.notify();
1949
+ * });
1950
+ * ```
1893
1951
  */
1894
1952
  notify(message?: string, heading?: string): Promise<void>;
1895
1953
  /**
1896
1954
  * Re-render the chart.
1897
1955
  *
1898
- * @param props - Indicates whether to fetch new data. Default: `true`.
1956
+ * @param props - Properties to control the refresh behavior: `updateData` indicates whether to fetch new data (default: `true`), and `resetAxesBounds` indicates whether to reset the axes bounds along with the refresh (default: `false`).
1899
1957
  */
1900
1958
  refresh(props?: {
1901
1959
  updateData?: boolean;
1902
1960
  resetAxesBounds?: boolean;
1903
1961
  }): Promise<void>;
1904
1962
  /**
1905
- * Resets the chart zoom to bring it back to full extent.
1963
+ * Resets the chart's zoom and brings it back to full zoom extent.
1906
1964
  *
1907
- * **Note**: Applicable to XY charts only.
1965
+ * **Note**: Not applicable to gauges, heat charts, pie charts and radar charts.
1908
1966
  */
1909
1967
  resetZoom(): Promise<void>;
1910
1968
  /**
1911
1969
  * Switches the selection on the chart.
1912
1970
  *
1913
- * **Note**: Not applicable to gauge.
1971
+ * **Note**: Not applicable to gauges.
1914
1972
  */
1915
1973
  switchSelection(): Promise<void>;
1916
1974
  /** Event triggered once the chart axes min/max values are computed. */