@arcgis/charts-components 5.2.0-next.85 → 5.2.0-next.87

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 (69) hide show
  1. package/dist/cdn/{YAWW63A5.js → 2Y4OUUMJ.js} +1 -1
  2. package/dist/cdn/{MJHVSD5B.js → 32KKW2IG.js} +1 -1
  3. package/dist/cdn/{2MF442VT.js → 3N6RFNEA.js} +1 -1
  4. package/dist/cdn/{KG574LAE.js → 3ZF4RSY4.js} +1 -1
  5. package/dist/cdn/{XHZAAQMF.js → 5EU4GHSG.js} +1 -1
  6. package/dist/cdn/{R5VDQBUH.js → 5LKJE2PR.js} +1 -1
  7. package/dist/cdn/{LCTDNI27.js → 6AWJXWDQ.js} +1 -1
  8. package/dist/cdn/7U6OEWTI.js +2 -0
  9. package/dist/cdn/{KHJC5P5T.js → AL6VZ6UZ.js} +1 -1
  10. package/dist/cdn/{IVM37XFX.js → APU26Y2Z.js} +1 -1
  11. package/dist/cdn/AWN3K3IH.js +2 -0
  12. package/dist/cdn/DNHE5ZCA.js +2 -0
  13. package/dist/cdn/DV7I4E5D.js +2 -0
  14. package/dist/cdn/EHYBMIDH.js +2 -0
  15. package/dist/cdn/FF46DEA7.js +2 -0
  16. package/dist/cdn/HX4HUXZP.js +2 -0
  17. package/dist/cdn/{JQM5R6XW.js → IG43EKA6.js} +1 -1
  18. package/dist/cdn/{FRTPDJGW.js → KE4AIHA7.js} +1 -1
  19. package/dist/cdn/{4U2HIMOR.js → LYSF2KY5.js} +1 -1
  20. package/dist/cdn/{CFOB77PI.js → N634G5MT.js} +1 -1
  21. package/dist/cdn/{NH2A5QEU.js → OADNRXFH.js} +1 -1
  22. package/dist/cdn/OGGEEHV2.js +2 -0
  23. package/dist/cdn/{GX64OP3A.js → OWYKZMAE.js} +1 -1
  24. package/dist/cdn/{3SSQPYQA.js → PDHWZPY5.js} +1 -1
  25. package/dist/cdn/{NIDXK3GN.js → PK7GYSIR.js} +1 -1
  26. package/dist/cdn/{7JA63ENU.js → PTGBFACY.js} +2 -2
  27. package/dist/cdn/QJFHIO72.js +2 -0
  28. package/dist/cdn/{PMTNALXO.js → R3XOXHKQ.js} +1 -1
  29. package/dist/cdn/{7SIKOCYK.js → R6RFH2KK.js} +1 -1
  30. package/dist/cdn/{EYYTKCXM.js → T6OTQUMI.js} +1 -1
  31. package/dist/cdn/{FQKGQHVK.js → TMLVMG4C.js} +1 -1
  32. package/dist/cdn/{4KF7SUJE.js → TVW2GMA6.js} +1 -1
  33. package/dist/cdn/{CVWT6DGY.js → UOL7KBJK.js} +1 -1
  34. package/dist/cdn/{HOASAQAB.js → VNWPA5A2.js} +1 -1
  35. package/dist/cdn/XHSD437D.js +2 -0
  36. package/dist/cdn/{XU7TGV75.js → XQRGIPLK.js} +1 -1
  37. package/dist/cdn/{DW5NK2B3.js → ZG3WNUBC.js} +1 -1
  38. package/dist/cdn/index.js +1 -1
  39. package/dist/cdn/model/shared/setup-utils.js +1 -1
  40. package/dist/chart-rendering/common/interfaces.d.ts +1 -5
  41. package/dist/chunks/bar-chart-model.js +8 -4
  42. package/dist/chunks/box-plot-data.js +138 -112
  43. package/dist/chunks/box-plot-model.js +131 -133
  44. package/dist/chunks/combo-bar-line-chart-model.js +115 -102
  45. package/dist/chunks/line-chart-model.js +33 -17
  46. package/dist/chunks/model-setter.js +43 -71
  47. package/dist/chunks/model-with-line-marker-styling.js +59 -43
  48. package/dist/chunks/negative-values-stacked-to-baseline.js +111 -64
  49. package/dist/chunks/radar-chart-model.js +26 -10
  50. package/dist/chunks/rounded-corners.js +47 -30
  51. package/dist/components/arcgis-chart/customElement.js +4 -3
  52. package/dist/docs/api.json +1 -1
  53. package/dist/docs/docs.json +1 -1
  54. package/dist/docs/web-types.json +1 -1
  55. package/dist/model/bar-chart-model/bar-chart-model.d.ts +2 -2
  56. package/dist/model/box-plot-model/box-plot-model.d.ts +4 -4
  57. package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +14 -14
  58. package/dist/model/mixins/model-with-line-marker-styling.d.ts +12 -12
  59. package/package.json +6 -6
  60. package/dist/cdn/72VGCAR5.js +0 -2
  61. package/dist/cdn/DE3CJJG3.js +0 -2
  62. package/dist/cdn/EZLKMWI5.js +0 -2
  63. package/dist/cdn/JMMNRCD4.js +0 -2
  64. package/dist/cdn/JUU3BZT7.js +0 -2
  65. package/dist/cdn/LMTSW3JM.js +0 -2
  66. package/dist/cdn/TBW6K2TY.js +0 -2
  67. package/dist/cdn/TSU6UVTL.js +0 -2
  68. package/dist/cdn/ZDUW3TBJ.js +0 -2
  69. package/dist/cdn/ZGIM53IQ.js +0 -2
@@ -1,24 +1,28 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import { C as S } from "./chart-model.js";
3
- import { s as c } from "./serial-chart-model.js";
4
- import { g as f, a as h, e as p, b as _, f as M, s as k, h as y, c as L, i as C, d as b, j as d, k as m, l as u, m as V, n as A, o as l, p as v, q as W, r as z } from "./negative-values-stacked-to-baseline.js";
5
- import { m as i } from "./model-setter.js";
6
- var O = Object.defineProperty, P = Object.getOwnPropertyDescriptor, r = (n, e, t, j) => {
7
- for (var o = P(e, t), a = n.length - 1, g; a >= 0; a--)
8
- (g = n[a]) && (o = g(e, t, o) || o);
9
- return o && O(e, t, o), o;
2
+ import { C as c } from "./chart-model.js";
3
+ import { s as f } from "./serial-chart-model.js";
4
+ import { g as S, a as h, e as p, b as _, f as M, s as k, h as y, c as L, i as C, d as b, j as d, k as m, l as u, m as V, n as A, o as l, p as v, q as W, r as z } from "./negative-values-stacked-to-baseline.js";
5
+ import { m as t } from "./model-setter.js";
6
+ var O = Object.defineProperty, P = Object.getOwnPropertyDescriptor, r = (n, e, i, j) => {
7
+ for (var o = P(e, i), a = n.length - 1, g; a >= 0; a--)
8
+ (g = n[a]) && (o = g(e, i, o) || o);
9
+ return o && O(e, i, o), o;
10
10
  };
11
- class s extends S {
11
+ class s extends c {
12
12
  /**
13
13
  * Gets the line style of the series based on the series index. If the index is out of bounds, it will return `undefined`.
14
14
  *
15
15
  * @param seriesIndex - The index of the series.
16
16
  */
17
17
  getSeriesLineStyle(e) {
18
- return f(e, this._config);
18
+ return S(e, this._config);
19
19
  }
20
- setSeriesLineStyle(e, t) {
21
- h(e, t, this._config);
20
+ setSeriesLineStyle(e, i) {
21
+ h({
22
+ style: e,
23
+ seriesIndex: i,
24
+ config: this._config
25
+ });
22
26
  }
23
27
  /**
24
28
  * Gets the line width of the series based on the series index. If the index is out of bounds, it will return `undefined`.
@@ -28,8 +32,12 @@ class s extends S {
28
32
  getSeriesLineWidth(e) {
29
33
  return p(e, this._config);
30
34
  }
31
- setSeriesLineWidth(e, t) {
32
- _(e, t, this._config);
35
+ setSeriesLineWidth(e, i) {
36
+ _({
37
+ width: e,
38
+ seriesIndex: i,
39
+ config: this._config
40
+ });
33
41
  }
34
42
  /**
35
43
  * Gets the marker color of the series based on the series index. If the index is out of bounds, it will return `undefined`.
@@ -40,8 +48,8 @@ class s extends S {
40
48
  getSeriesMarkerColor(e) {
41
49
  return M(e, this._config);
42
50
  }
43
- setSeriesMarkerColor(e, t) {
44
- k(e, t, this._config);
51
+ setSeriesMarkerColor(e, i) {
52
+ k(e, i, this._config);
45
53
  }
46
54
  /**
47
55
  * Gets the marker style of the series based on the series index. If the index is out of bounds, it will return `undefined`.
@@ -51,8 +59,12 @@ class s extends S {
51
59
  getSeriesMarkerStyle(e) {
52
60
  return y(e, this._config);
53
61
  }
54
- setSeriesMarkerStyle(e, t) {
55
- L(e, t, this._config);
62
+ setSeriesMarkerStyle(e, i) {
63
+ L({
64
+ style: e,
65
+ seriesIndex: i,
66
+ config: this._config
67
+ });
56
68
  }
57
69
  /**
58
70
  * Gets the marker size of the series based on the series index. If the index is out of bounds, it will return `undefined`.
@@ -62,8 +74,12 @@ class s extends S {
62
74
  getSeriesMarkerSize(e) {
63
75
  return C(e, this._config);
64
76
  }
65
- setSeriesMarkerSize(e, t) {
66
- b(e, t, this._config);
77
+ setSeriesMarkerSize(e, i) {
78
+ b({
79
+ size: e,
80
+ seriesIndex: i,
81
+ config: this._config
82
+ });
67
83
  }
68
84
  /**
69
85
  * Specify whether line segments of the series should be smoothed.
@@ -73,10 +89,10 @@ class s extends S {
73
89
  isLineSmoothed(e) {
74
90
  return d(e, this._config);
75
91
  }
76
- setLineSmoothed(e, t) {
92
+ setLineSmoothed(e, i) {
77
93
  m({
78
94
  smoothed: e,
79
- seriesIndex: t,
95
+ seriesIndex: i,
80
96
  config: this._config
81
97
  });
82
98
  }
@@ -88,10 +104,10 @@ class s extends S {
88
104
  getConnectLines(e) {
89
105
  return u(e, this._config);
90
106
  }
91
- setConnectLines(e, t) {
107
+ setConnectLines(e, i) {
92
108
  V({
93
109
  connect: e,
94
- seriesIndex: t,
110
+ seriesIndex: i,
95
111
  config: this._config
96
112
  });
97
113
  }
@@ -103,10 +119,10 @@ class s extends S {
103
119
  isAreaVisible(e) {
104
120
  return A(e, this._config);
105
121
  }
106
- setAreaVisible(e, t) {
122
+ setAreaVisible(e, i) {
107
123
  l({
108
124
  visible: e,
109
- seriesIndex: t,
125
+ seriesIndex: i,
110
126
  config: this._config
111
127
  });
112
128
  }
@@ -118,10 +134,10 @@ class s extends S {
118
134
  isMarkerVisible(e) {
119
135
  return v(e, this._config);
120
136
  }
121
- setMarkersVisible(e, t) {
137
+ setMarkersVisible(e, i) {
122
138
  W({
123
139
  visible: e,
124
- seriesIndex: t,
140
+ seriesIndex: i,
125
141
  config: this._config
126
142
  });
127
143
  }
@@ -132,8 +148,8 @@ class s extends S {
132
148
  * @param seriesIndex - The index of the series.
133
149
  * @deprecated since 5.2. Use {@link model/mixins/model-with-line-marker-styling#setMarkersVisible setMarkersVisible} instead. This method will be removed from `ModelWithLineMarkerStyling` in 6.0.
134
150
  */
135
- setMarkerVisible(e, t) {
136
- this.setMarkersVisible(e, t);
151
+ setMarkerVisible(e, i) {
152
+ this.setMarkersVisible(e, i);
137
153
  }
138
154
  /**
139
155
  * Get the color of the filled area.
@@ -143,43 +159,43 @@ class s extends S {
143
159
  getAreaColor(e) {
144
160
  return z(e, this._config);
145
161
  }
146
- setAreaColor(e, t) {
162
+ setAreaColor(e, i) {
147
163
  l({
148
164
  visible: !0,
149
- seriesIndex: t,
165
+ seriesIndex: i,
150
166
  config: this._config
151
- }), c(e, t, this._config);
167
+ }), f(e, i, this._config);
152
168
  }
153
169
  }
154
170
  r([
155
- i
171
+ t
156
172
  ], s.prototype, "setSeriesLineStyle");
157
173
  r([
158
- i
174
+ t
159
175
  ], s.prototype, "setSeriesLineWidth");
160
176
  r([
161
- i
177
+ t
162
178
  ], s.prototype, "setSeriesMarkerColor");
163
179
  r([
164
- i
180
+ t
165
181
  ], s.prototype, "setSeriesMarkerStyle");
166
182
  r([
167
- i
183
+ t
168
184
  ], s.prototype, "setSeriesMarkerSize");
169
185
  r([
170
- i
186
+ t
171
187
  ], s.prototype, "setLineSmoothed");
172
188
  r([
173
- i
189
+ t
174
190
  ], s.prototype, "setConnectLines");
175
191
  r([
176
- i
192
+ t
177
193
  ], s.prototype, "setAreaVisible");
178
194
  r([
179
- i
195
+ t
180
196
  ], s.prototype, "setMarkersVisible");
181
197
  r([
182
- i
198
+ t
183
199
  ], s.prototype, "setAreaColor");
184
200
  export {
185
201
  s as M
@@ -1,60 +1,107 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import { s as c, a as k, g as v, b as n } from "./series.js";
3
- import { n as m } from "./index3.js";
4
- import { c1 as i, c2 as a } from "./index.js";
5
- import { C as b, m as h } from "./model-setter.js";
6
- const d = (s, e) => {
7
- if (i(e.series[s]) || a(e.series[s]))
8
- return v(e.series[s]);
9
- }, N = (s, e, r) => {
10
- (i(r.series[e]) || a(r.series[e])) && c(s, r.series[e]);
2
+ import { g as k, b as S, s as b, a as v } from "./series.js";
3
+ import { n } from "./index3.js";
4
+ import { c1 as i, c2 as o } from "./index.js";
5
+ import { C as y, m as h } from "./model-setter.js";
6
+ const l = (s) => {
7
+ const { config: e, seriesIndex: a, callback: t } = s;
8
+ [a !== void 0 ? e.series?.[a] : e.series].flat().forEach((r) => {
9
+ r !== void 0 && (i(r) || o(r)) && t(r);
10
+ });
11
+ }, M = (s, e) => {
12
+ if (i(e.series[s]) || o(e.series[s]))
13
+ return k(e.series[s]);
14
+ }, N = (s) => {
15
+ const { style: e, seriesIndex: a, config: t } = s;
16
+ l({
17
+ config: t,
18
+ seriesIndex: a,
19
+ callback: (r) => {
20
+ b(e, r);
21
+ }
22
+ });
11
23
  }, _ = (s, e) => {
12
- if (i(e.series[s]) || a(e.series[s]))
13
- return n(e.series[s]);
14
- }, O = (s, e, r) => {
15
- (i(r.series[e]) || a(r.series[e])) && k(s, r.series[e]);
16
- }, j = (s, e) => i(e.series[s]) || a(e.series[s]) ? e.series[s].markerSymbol?.color : void 0, W = (s, e, r) => {
17
- if (i(r.series[e]) || a(r.series[e])) {
18
- const t = r.series[e];
19
- t.markerSymbol === void 0 && (t.markerSymbol = m()), t.markerSymbol.color = s;
20
- }
21
- }, A = (s, e) => i(e.series[s]) || a(e.series[s]) ? e.series?.[s]?.markerSymbol?.style : void 0, w = (s, e, r) => {
22
- if (i(r.series[e]) || a(r.series[e])) {
23
- const t = r.series[e];
24
- t.markerSymbol === void 0 && (t.markerSymbol = m()), t.markerSymbol.style = s;
25
- }
26
- }, z = (s, e) => i(e.series[s]) || a(e.series[s]) ? e.series?.[s]?.markerSymbol?.size : void 0, P = (s, e, r) => {
27
- if (i(r.series[e]) || a(r.series[e])) {
28
- const t = r.series[e];
29
- t.markerSymbol === void 0 && (t.markerSymbol = m()), t.markerSymbol.size = s;
24
+ if (i(e.series[s]) || o(e.series[s]))
25
+ return S(e.series[s]);
26
+ }, O = (s) => {
27
+ const { width: e, seriesIndex: a, config: t } = s;
28
+ l({
29
+ config: t,
30
+ seriesIndex: a,
31
+ callback: (r) => {
32
+ v(e, r);
33
+ }
34
+ });
35
+ }, W = (s, e) => i(e.series[s]) || o(e.series[s]) ? e.series[s].markerSymbol?.color : void 0, w = (s, e, a) => {
36
+ if (i(a.series[e]) || o(a.series[e])) {
37
+ const t = a.series[e];
38
+ t.markerSymbol === void 0 && (t.markerSymbol = n()), t.markerSymbol.color = s;
30
39
  }
31
- }, D = (s, e) => i(e.series[s]) || a(e.series[s]) ? e.series?.[s]?.lineSmoothed ?? !1 : !1, E = (s) => {
32
- const { smoothed: e, seriesIndex: r, config: t } = s;
33
- (i(t.series[r]) || a(t.series[r])) && (t.series[r].lineSmoothed = e);
34
- }, F = (s, e) => i(e.series[s]) || a(e.series[s]) ? e.series[s].showArea ?? !1 : !1, q = (s) => {
35
- const { visible: e, seriesIndex: r, config: t } = s;
36
- [r !== void 0 ? t.series?.[r] : t.series].flat().forEach((o) => {
37
- o !== void 0 && (i(o) || a(o)) && (o.showArea = e);
40
+ }, z = (s, e) => i(e.series[s]) || o(e.series[s]) ? e.series?.[s]?.markerSymbol?.style : void 0, A = (s) => {
41
+ const { style: e, seriesIndex: a, config: t } = s;
42
+ l({
43
+ config: t,
44
+ seriesIndex: a,
45
+ callback: (r) => {
46
+ r.markerSymbol === void 0 && (r.markerSymbol = n()), r.markerSymbol.style = e;
47
+ }
48
+ });
49
+ }, j = (s, e) => i(e.series[s]) || o(e.series[s]) ? e.series?.[s]?.markerSymbol?.size : void 0, P = (s) => {
50
+ const { size: e, seriesIndex: a, config: t } = s;
51
+ l({
52
+ config: t,
53
+ seriesIndex: a,
54
+ callback: (r) => {
55
+ r.markerSymbol === void 0 && (r.markerSymbol = n()), r.markerSymbol.size = e;
56
+ }
57
+ });
58
+ }, D = (s, e) => i(e.series[s]) || o(e.series[s]) ? e.series?.[s]?.lineSmoothed ?? !1 : !1, E = (s) => {
59
+ const { smoothed: e, seriesIndex: a, config: t } = s;
60
+ l({
61
+ config: t,
62
+ seriesIndex: a,
63
+ callback: (r) => {
64
+ r.lineSmoothed = e;
65
+ }
66
+ });
67
+ }, F = (s, e) => i(e.series[s]) || o(e.series[s]) ? e.series[s].showArea ?? !1 : !1, R = (s) => {
68
+ const { visible: e, seriesIndex: a, config: t } = s;
69
+ l({
70
+ config: t,
71
+ seriesIndex: a,
72
+ callback: (r) => {
73
+ r.showArea = e;
74
+ }
75
+ });
76
+ }, q = (s, e) => i(e.series[s]) || o(e.series[s]) ? e.series[s].markerVisible ?? !0 : !1, G = (s) => {
77
+ const { visible: e, seriesIndex: a, config: t } = s;
78
+ l({
79
+ config: t,
80
+ seriesIndex: a,
81
+ callback: (r) => {
82
+ r.markerVisible = e;
83
+ }
38
84
  });
39
- }, R = (s, e) => i(e.series[s]) || a(e.series[s]) ? e.series[s].markerVisible ?? !0 : !1, G = (s) => {
40
- const { visible: e, seriesIndex: r, config: t } = s;
41
- [r !== void 0 ? t.series?.[r] : t.series].flat().forEach((o) => {
42
- o !== void 0 && (i(o) || a(o)) && (o.markerVisible = e);
85
+ }, H = (s, e) => i(e.series[s]) || o(e.series[s]) ? e.series[s].areaColor : void 0, J = (s, e) => i(e.series[s]) || o(e.series[s]) ? e.series?.[s]?.connectLines : void 0, K = (s) => {
86
+ const { connect: e, seriesIndex: a, config: t } = s;
87
+ l({
88
+ config: t,
89
+ seriesIndex: a,
90
+ callback: (r) => {
91
+ r.connectLines = e;
92
+ }
43
93
  });
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) => {
45
- const { connect: e, seriesIndex: r, config: t } = s;
46
- (i(t.series[r]) || a(t.series[r])) && (t.series[r].connectLines = e);
47
94
  };
48
- var y = Object.defineProperty, u = Object.getOwnPropertyDescriptor, L = (s, e, r, t) => {
49
- for (var o = u(e, r), l = s.length - 1, S; l >= 0; l--)
50
- (S = s[l]) && (o = S(e, r, o) || o);
51
- return o && y(e, r, o), o;
95
+ var d = Object.defineProperty, u = Object.getOwnPropertyDescriptor, f = (s, e, a, t) => {
96
+ for (var r = u(e, a), c = s.length - 1, m; c >= 0; c--)
97
+ (m = s[c]) && (r = m(e, a, r) || r);
98
+ return r && d(e, a, r), r;
52
99
  };
53
- const V = (s, e) => i(e.series[s]) || a(e.series[s]) ? e.series[s].stackNegativeValuesToBaseline ?? !0 : !1, p = (s) => {
54
- const { stackNegativeValuesToBaseline: e, seriesIndex: r, config: t } = s;
55
- (i(t.series[r]) || a(t.series[r])) && (t.series[r].stackNegativeValuesToBaseline = e);
100
+ const L = (s, e) => i(e.series[s]) || o(e.series[s]) ? e.series[s].stackNegativeValuesToBaseline ?? !0 : !1, V = (s) => {
101
+ const { stackNegativeValuesToBaseline: e, seriesIndex: a, config: t } = s;
102
+ (i(t.series[a]) || o(t.series[a])) && (t.series[a].stackNegativeValuesToBaseline = e);
56
103
  };
57
- class f extends b {
104
+ class p extends y {
58
105
  /**
59
106
  * Specify how negative values are treated in stacked series.
60
107
  *
@@ -63,38 +110,38 @@ class f extends b {
63
110
  * @param seriesIndex - The index of the series.
64
111
  */
65
112
  isNegativeValuesStackedToBaseline(e) {
66
- return V(e, this._config);
113
+ return L(e, this._config);
67
114
  }
68
- setNegativeValuesStackedToBaseline(e, r) {
69
- p({
115
+ setNegativeValuesStackedToBaseline(e, a) {
116
+ V({
70
117
  stackNegativeValuesToBaseline: e,
71
- seriesIndex: r,
118
+ seriesIndex: a,
72
119
  config: this._config
73
120
  });
74
121
  }
75
122
  }
76
- L([
123
+ f([
77
124
  h
78
- ], f.prototype, "setNegativeValuesStackedToBaseline");
125
+ ], p.prototype, "setNegativeValuesStackedToBaseline");
79
126
  export {
80
- f as W,
127
+ p as W,
81
128
  N as a,
82
129
  O as b,
83
- w as c,
130
+ A as c,
84
131
  P as d,
85
132
  _ as e,
86
- j as f,
87
- d as g,
88
- A as h,
89
- z as i,
133
+ W as f,
134
+ M as g,
135
+ z as h,
136
+ j as i,
90
137
  D as j,
91
138
  E as k,
92
139
  J as l,
93
140
  K as m,
94
141
  F as n,
95
- q as o,
96
- R as p,
142
+ R as o,
143
+ q as p,
97
144
  G as q,
98
145
  H as r,
99
- W as s
146
+ w as s
100
147
  };
@@ -1,6 +1,6 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import { S as c, s as m, a as y } from "./serial-chart-model.js";
3
- import { s as b, a as g, b as f, c as A, d as S, W as p } from "./negative-values-stacked-to-baseline.js";
2
+ import { S as c, s as y, a as m } from "./serial-chart-model.js";
3
+ import { s as g, a as f, b, c as A, d as S, W as p } from "./negative-values-stacked-to-baseline.js";
4
4
  import { h as u } from "./serial-chart-data.js";
5
5
  import { f as T } from "./utils.js";
6
6
  import { m as d } from "./model-setter.js";
@@ -8,10 +8,10 @@ import { a as L, m as C } from "./chart-object-literals.js";
8
8
  import { M as V } from "./model-with-line-marker-styling.js";
9
9
  import { ay as v, Z as x, g as B, r as X } from "./index3.js";
10
10
  import { r as l } from "./index.js";
11
- var _ = Object.defineProperty, I = Object.getOwnPropertyDescriptor, h = (a, i, e, t) => {
12
- for (var s = I(i, e), r = a.length - 1, n; r >= 0; r--)
11
+ var I = Object.defineProperty, _ = Object.getOwnPropertyDescriptor, h = (a, i, e, t) => {
12
+ for (var s = _(i, e), r = a.length - 1, n; r >= 0; r--)
13
13
  (n = a[r]) && (s = n(i, e, s) || s);
14
- return s && _(i, e, s), s;
14
+ return s && I(i, e, s), s;
15
15
  };
16
16
  class o extends c {
17
17
  constructor() {
@@ -397,16 +397,32 @@ class o extends c {
397
397
  colorIndex: i,
398
398
  opacity: X
399
399
  });
400
- if (m(e, i, this._config), b(e, i, this._config), this.layerInfo !== void 0) {
400
+ if (y(e, i, this._config), g(e, i, this._config), this.layerInfo !== void 0) {
401
401
  const t = this.getSeriesId(i), s = u({
402
402
  config: this._config,
403
403
  seriesIndex: i,
404
404
  layerInfo: this.layerInfo,
405
405
  commonStrings: this.commonStrings
406
406
  });
407
- s !== l(this.layerInfo.layer).idField && y(s ?? t, i, this._config);
407
+ s !== l(this.layerInfo.layer).idField && m(s ?? t, i, this._config);
408
408
  }
409
- g(this.defaultSeries?.lineSymbol?.style, i, this._config), f(this.defaultSeries?.lineSymbol?.width, i, this._config), A(this.defaultSeries?.markerSymbol?.style, i, this._config), S(this.defaultSeries?.markerSymbol?.size, i, this._config);
409
+ f({
410
+ style: this.defaultSeries?.lineSymbol?.style,
411
+ seriesIndex: i,
412
+ config: this._config
413
+ }), b({
414
+ width: this.defaultSeries?.lineSymbol?.width,
415
+ seriesIndex: i,
416
+ config: this._config
417
+ }), A({
418
+ style: this.defaultSeries?.markerSymbol?.style,
419
+ seriesIndex: i,
420
+ config: this._config
421
+ }), S({
422
+ size: this.defaultSeries?.markerSymbol?.size,
423
+ seriesIndex: i,
424
+ config: this._config
425
+ });
410
426
  }
411
427
  this._config.colorMatch = !0;
412
428
  }
@@ -441,8 +457,8 @@ h([
441
457
  h([
442
458
  d
443
459
  ], o.prototype, "resetSeriesStyling");
444
- const F = [p, V];
445
- T(o, F);
460
+ const z = [p, V];
461
+ T(o, z);
446
462
  export {
447
463
  o as RadarChartModel
448
464
  };
@@ -1,48 +1,65 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import { b_ as o } from "./index.js";
3
- import { C as f, m as u } from "./model-setter.js";
4
- import { al as C } from "./index3.js";
5
- const z = (r, e) => o(e.series?.[r]) ? e.series?.[r].hideOversizedSideBySideLabels : void 0, L = (r, e, s) => {
6
- o(s.series?.[e]) && (s.series[e].hideOversizedSideBySideLabels = r);
7
- }, g = (r, e) => o(e.series?.[r]) ? e.series?.[r].hideOversizedStackedLabels : void 0, y = (r, e, s) => {
8
- [e !== void 0 ? s.series?.[e] : s.series].flat().forEach((n) => {
9
- o(n) && (n.hideOversizedStackedLabels = r);
2
+ import { b_ as n } from "./index.js";
3
+ import { C, m as u } from "./model-setter.js";
4
+ import { al as h } from "./index3.js";
5
+ const c = (r) => {
6
+ const { config: e, seriesIndex: o, callback: d } = r;
7
+ [o !== void 0 ? e.series?.[o] : e.series].flat().forEach((s) => {
8
+ n(s) && d(s);
9
+ });
10
+ }, z = (r, e) => n(e.series?.[r]) ? e.series?.[r].hideOversizedSideBySideLabels : void 0, L = (r) => {
11
+ const { hide: e, seriesIndex: o, config: d } = r;
12
+ c({
13
+ config: d,
14
+ seriesIndex: o,
15
+ callback: (s) => {
16
+ s.hideOversizedSideBySideLabels = e;
17
+ }
18
+ });
19
+ }, B = (r, e) => n(e.series?.[r]) ? e.series?.[r].hideOversizedStackedLabels : void 0, k = (r) => {
20
+ const { hide: e, seriesIndex: o, config: d } = r;
21
+ c({
22
+ config: d,
23
+ seriesIndex: o,
24
+ callback: (s) => {
25
+ s.hideOversizedStackedLabels = e;
26
+ }
10
27
  });
11
28
  };
12
- var R = Object.defineProperty, v = Object.getOwnPropertyDescriptor, c = (r, e, s, n) => {
13
- for (var d = v(e, s), i = r.length - 1, a; i >= 0; i--)
14
- (a = r[i]) && (d = a(e, s, d) || d);
15
- return d && R(e, s, d), d;
29
+ var R = Object.defineProperty, b = Object.getOwnPropertyDescriptor, l = (r, e, o, d) => {
30
+ for (var s = b(e, o), i = r.length - 1, a; i >= 0; i--)
31
+ (a = r[i]) && (s = a(e, o, s) || s);
32
+ return s && R(e, o, s), s;
16
33
  };
17
34
  function t(r) {
18
- return r.series.some(o);
35
+ return r.series.some(n);
19
36
  }
20
- function h(r) {
37
+ function v(r) {
21
38
  return t(r) ? r.roundCorners?.rounded ?? !1 : !1;
22
39
  }
23
40
  function p(r, e) {
24
- const s = r ?? !1;
41
+ const o = r ?? !1;
25
42
  e.roundCorners = {
26
- rounded: s,
27
- cornerRadius: e.roundCorners?.cornerRadius ?? C
43
+ rounded: o,
44
+ cornerRadius: e.roundCorners?.cornerRadius ?? h
28
45
  };
29
46
  }
30
- function b(r) {
47
+ function S(r) {
31
48
  return r.roundCorners?.cornerRadius;
32
49
  }
33
- function S(r, e) {
50
+ function _(r, e) {
34
51
  e.roundCorners = {
35
52
  rounded: e.roundCorners?.rounded ?? !1,
36
53
  cornerRadius: r ?? e.roundCorners?.cornerRadius
37
54
  };
38
55
  }
39
- class l extends f {
56
+ class f extends C {
40
57
  /**
41
58
  * Gets whether rounded corners are enabled for the chart.
42
59
  * **Known limitation:** Rounded corners are not rendered when chart interactions are disabled (`interactionsDisabled` or `disableInteractions` is `true`).
43
60
  */
44
61
  get roundCorners() {
45
- return h(this._config);
62
+ return v(this._config);
46
63
  }
47
64
  set roundCorners(e) {
48
65
  t(this._config) && p(e, this._config);
@@ -52,22 +69,22 @@ class l extends f {
52
69
  * **Known limitation:** Rounded corners are not rendered when chart interactions are disabled (`interactionsDisabled` or `disableInteractions` is `true`).
53
70
  */
54
71
  get cornerRadius() {
55
- return b(this._config);
72
+ return S(this._config);
56
73
  }
57
74
  set cornerRadius(e) {
58
- t(this._config) && S(e, this._config);
75
+ t(this._config) && _(e, this._config);
59
76
  }
60
77
  }
61
- c([
78
+ l([
62
79
  u
63
- ], l.prototype, "roundCorners");
64
- c([
80
+ ], f.prototype, "roundCorners");
81
+ l([
65
82
  u
66
- ], l.prototype, "cornerRadius");
83
+ ], f.prototype, "cornerRadius");
67
84
  export {
68
- l as W,
69
- g as a,
70
- y as b,
85
+ f as W,
86
+ B as a,
87
+ k as b,
71
88
  z as g,
72
89
  L as s
73
90
  };
@@ -14994,10 +14994,10 @@ function Ki(t, e) {
14994
14994
  let q = 0, j = 0, ce = c && !s ? L.chartContainer.paddingTop ?? 0 : 0, se = 0, Me, Ct;
14995
14995
  switch (k) {
14996
14996
  case U.Left:
14997
- M = i.verticalLayout, B = _e, E = _e, P = _e, H = _e, X = void 0, R = _e, $ = _e, q = a.width(), W = p + C, G < t.seriesContainer.height() && (W += t.seriesContainer.height() / 2 - G / 2), I = uc(e), O?.width() !== void 0 && I && O.isVisible() && (I += O.width() + L.scrollbarPadding), n && (Me = ke, Ct = I);
14997
+ M = i.verticalLayout, B = _e, E = _e, P = _e, H = _e, X = void 0, R = _e, $ = _e, q = a.width(), W = p + C, G < t.seriesContainer.height() && (W += t.seriesContainer.height() / 2 - G / 2), e.setPrivate("width", void 0), I = uc(e), O?.width() !== void 0 && I && O.isVisible() && (I += O.width() + L.scrollbarPadding), n && (Me = ke, Ct = I);
14998
14998
  break;
14999
14999
  case U.Right:
15000
- M = i.verticalLayout, B = ke, E = ke, P = _e, H = _e, X = void 0, R = _e, $ = _e, j = a.width(), W = p + C, G < t.seriesContainer.height() && (W += t.seriesContainer.height() / 2 - G / 2), I = uc(e), O?.width() !== void 0 && I && O.isVisible() && (I += O.width() + L.scrollbarPadding), n && (Me = ke, Ct = I);
15000
+ M = i.verticalLayout, B = ke, E = ke, P = _e, H = _e, X = void 0, R = _e, $ = _e, j = a.width(), W = p + C, G < t.seriesContainer.height() && (W += t.seriesContainer.height() / 2 - G / 2), e.setPrivate("width", void 0), I = uc(e), O?.width() !== void 0 && I && O.isVisible() && (I += O.width() + L.scrollbarPadding), n && (Me = ke, Ct = I);
15001
15001
  break;
15002
15002
  case U.Top:
15003
15003
  M = i.gridLayout, B = Ae, E = Ae, P = _e, H = _e, X = ke, R = Ae, $ = Ae, ce += G, W += p + C, I = void 0, n && (Me = void 0);
@@ -19198,7 +19198,8 @@ class xT extends fm {
19198
19198
  pieChartLegendValueLabelFormatter: this.legendValueLabelFormatter,
19199
19199
  // the properties below have been renamed in 5.1 To simplify the logic on the rendering side, only the new properties are set
19200
19200
  interactionsDisabled: this.interactionsDisabled || this.disableInteractions,
19201
- togglingLegendItemsDisabled: this.togglingLegendItemsDisabled || this.disableTogglingLegendItems
19201
+ togglingLegendItemsDisabled: this.togglingLegendItemsDisabled || this.disableTogglingLegendItems,
19202
+ popupTemplateFieldInfosEnabled: this.usePopupTemplateFieldsInfo || this.popupTemplateFieldInfosEnabled
19202
19203
  };
19203
19204
  }
19204
19205
  _raiseLogScaleNotCompatibleWarning(e, i) {