@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,34 +1,34 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import { g as b, s as p, a as _, b as L, W as u } from "./rounded-corners.js";
2
+ import { g as m, s as b, a as p, b as L, W as _ } from "./rounded-corners.js";
3
3
  import { m as a } from "./model-setter.js";
4
- import { g as k, a as C, e as M, b as v, f as z, s as O, h as B, c as V, i as D, d as A, j as F, k as H, n as W, o as d, p as j, q as w, r as P, W as T } from "./negative-values-stacked-to-baseline.js";
5
- import { S as N, s as $ } from "./serial-chart-model.js";
6
- import { f as q } from "./utils.js";
7
- import { a as S } from "./chart-object-literals.js";
8
- import { b$ as R, r as f, c1 as l, b_ as h } from "./index.js";
9
- import { an as Y, $ as y, Y as m } from "./index3.js";
10
- var E = Object.defineProperty, G = Object.getOwnPropertyDescriptor, n = (c, e, i, s) => {
11
- for (var t = G(e, i), r = c.length - 1, g; r >= 0; r--)
12
- (g = c[r]) && (t = g(e, i, t) || t);
13
- return t && E(e, i, t), t;
4
+ import { g as u, a as k, e as C, b as M, f as v, s as z, h as O, c as B, i as V, d as D, j as A, k as F, n as H, o as g, p as W, q as j, r as w, W as P } from "./negative-values-stacked-to-baseline.js";
5
+ import { S as T, s as I } from "./serial-chart-model.js";
6
+ import { f as N } from "./utils.js";
7
+ import { a as n } from "./chart-object-literals.js";
8
+ import { b$ as $, r as S, c1 as c, b_ as q } from "./index.js";
9
+ import { an as R, $ as h, Y as y } from "./index3.js";
10
+ var Y = Object.defineProperty, E = Object.getOwnPropertyDescriptor, l = (f, e, i, o) => {
11
+ for (var s = E(e, i), t = f.length - 1, d; t >= 0; t--)
12
+ (d = f[t]) && (s = d(e, i, s) || s);
13
+ return s && Y(e, i, s), s;
14
14
  };
15
- class o extends N {
15
+ class r extends T {
16
16
  constructor() {
17
- super(...arguments), this._chartType = S.ComboLineAndBarSeries;
17
+ super(...arguments), this._chartType = n.ComboLineAndBarSeries;
18
18
  }
19
19
  async setup(e) {
20
- await this.loadConfigFromLayer(e), this.setupLocalProps(), e.config !== void 0 && (R(e.config?.series) && this.initDefaultSeries(), await this.rebuildSeries()), typeof this.resolveSetup == "function" && this.resolveSetup();
20
+ await this.loadConfigFromLayer(e), this.setupLocalProps(), e.config !== void 0 && ($(e.config?.series) && this.initDefaultSeries(), await this.rebuildSeries()), typeof this.resolveSetup == "function" && this.resolveSetup();
21
21
  }
22
22
  // ---------------------------------------------------------------------------------------------
23
23
  // Protected Methods
24
24
  // ---------------------------------------------------------------------------------------------
25
25
  /** @private */
26
26
  generateDefaultConfig() {
27
- const e = Y(this.commonStrings);
27
+ const e = R(this.commonStrings);
28
28
  return e.series = [
29
- y({
29
+ h({
30
30
  commonStrings: this.commonStrings,
31
- objectIDField: f(this.layerInfo.layer).idField
31
+ objectIDField: S(this.layerInfo.layer).idField
32
32
  })
33
33
  ], e;
34
34
  }
@@ -38,44 +38,44 @@ class o extends N {
38
38
  * @private
39
39
  */
40
40
  initDefaultSeries() {
41
- this.defaultSeries = m({
41
+ this.defaultSeries = y({
42
42
  commonStrings: this.commonStrings,
43
- objectIDField: f(this.layerInfo.layer).idField
43
+ objectIDField: S(this.layerInfo.layer).idField
44
44
  });
45
45
  }
46
46
  setSeriesType(e, i) {
47
47
  if (e < this._config.series.length && e >= 0) {
48
- const s = this._config.series[e];
49
- let t;
50
- if (i === S.BarSeries && l(s)) {
51
- const r = { ...s };
52
- delete r.lineSymbol, delete r.markerSymbol, delete r.lineSmoothed, delete r.markerVisible, delete r.areaColor, delete r.stackNegativeValuesToBaseline, t = {
53
- ...y({
48
+ const o = this._config.series[e];
49
+ let s;
50
+ if (i === n.BarSeries && c(o)) {
51
+ const t = { ...o };
52
+ delete t.lineSymbol, delete t.markerSymbol, delete t.lineSmoothed, delete t.markerVisible, delete t.areaColor, delete t.stackNegativeValuesToBaseline, s = {
53
+ ...h({
54
54
  commonStrings: this.commonStrings,
55
- objectIDField: f(this.layerInfo.layer).idField
55
+ objectIDField: S(this.layerInfo.layer).idField
56
56
  }),
57
- ...r,
58
- type: S.BarSeries,
59
- y: [s.y].flat()[0]
60
- }, t.fillSymbol && (t.fillSymbol = {
61
- ...t.fillSymbol,
62
- color: s.lineSymbol?.color
57
+ ...t,
58
+ type: n.BarSeries,
59
+ y: [o.y].flat()[0]
60
+ }, s.fillSymbol && (s.fillSymbol = {
61
+ ...s.fillSymbol,
62
+ color: o.lineSymbol?.color
63
63
  });
64
- } else if (i === S.LineSeries && h(s)) {
65
- const r = { ...s };
66
- delete r.fillSymbol, delete r.hideOversizedStackedLabels, delete r.hideOversizedSideBySideLabels, t = {
67
- ...m({
64
+ } else if (i === n.LineSeries && q(o)) {
65
+ const t = { ...o };
66
+ delete t.fillSymbol, delete t.hideOversizedStackedLabels, delete t.hideOversizedSideBySideLabels, s = {
67
+ ...y({
68
68
  commonStrings: this.commonStrings,
69
- objectIDField: f(this.layerInfo.layer).idField
69
+ objectIDField: S(this.layerInfo.layer).idField
70
70
  }),
71
- ...r,
72
- type: S.LineSeries
73
- }, t.lineSymbol && (t.lineSymbol = {
74
- ...t.lineSymbol,
75
- color: s.fillSymbol?.color
71
+ ...t,
72
+ type: n.LineSeries
73
+ }, s.lineSymbol && (s.lineSymbol = {
74
+ ...s.lineSymbol,
75
+ color: o.fillSymbol?.color
76
76
  });
77
77
  }
78
- t !== void 0 && (this._config.series[e] = t);
78
+ s !== void 0 && (this._config.series[e] = s);
79
79
  }
80
80
  }
81
81
  /**
@@ -85,11 +85,14 @@ class o extends N {
85
85
  * @param seriesIndex The index of the series.
86
86
  */
87
87
  getSeriesLineStyle(e) {
88
- return k(e, this._config);
88
+ return u(e, this._config);
89
89
  }
90
90
  setSeriesLineStyle(e, i) {
91
- const s = this._config.series?.[i];
92
- l(s) && C(e, i, this._config);
91
+ k({
92
+ style: e,
93
+ seriesIndex: i,
94
+ config: this._config
95
+ });
93
96
  }
94
97
  /**
95
98
  * Gets the line width of the series based on the series index.
@@ -98,11 +101,14 @@ class o extends N {
98
101
  * @param seriesIndex - The index of the series.
99
102
  */
100
103
  getSeriesLineWidth(e) {
101
- return M(e, this._config);
104
+ return C(e, this._config);
102
105
  }
103
106
  setSeriesLineWidth(e, i) {
104
- const s = this._config.series?.[i];
105
- l(s) && v(e, i, this._config);
107
+ M({
108
+ width: e,
109
+ seriesIndex: i,
110
+ config: this._config
111
+ });
106
112
  }
107
113
  /**
108
114
  * Gets the marker color of the series based on the series index.
@@ -111,11 +117,11 @@ class o extends N {
111
117
  * @param seriesIndex - The index of the series.
112
118
  */
113
119
  getSeriesMarkerColor(e) {
114
- return z(e, this._config);
120
+ return v(e, this._config);
115
121
  }
116
122
  setSeriesMarkerColor(e, i) {
117
- const s = this._config.series?.[i];
118
- l(s) && O(e, i, this._config);
123
+ const o = this._config.series?.[i];
124
+ c(o) && z(e, i, this._config);
119
125
  }
120
126
  /**
121
127
  * Gets the marker style of the series based on the series index.
@@ -124,11 +130,14 @@ class o extends N {
124
130
  * @param seriesIndex - The index of the series.
125
131
  */
126
132
  getSeriesMarkerStyle(e) {
127
- return B(e, this._config);
133
+ return O(e, this._config);
128
134
  }
129
135
  setSeriesMarkerStyle(e, i) {
130
- const s = this._config.series?.[i];
131
- l(s) && V(e, i, this._config);
136
+ B({
137
+ style: e,
138
+ seriesIndex: i,
139
+ config: this._config
140
+ });
132
141
  }
133
142
  /**
134
143
  * Gets the marker size of the series based on the series index.
@@ -136,11 +145,14 @@ class o extends N {
136
145
  * @param seriesIndex - The index of the series.
137
146
  */
138
147
  getSeriesMarkerSize(e) {
139
- return D(e, this._config);
148
+ return V(e, this._config);
140
149
  }
141
150
  setSeriesMarkerSize(e, i) {
142
- const s = this._config.series?.[i];
143
- l(s) && A(e, i, this._config);
151
+ D({
152
+ size: e,
153
+ seriesIndex: i,
154
+ config: this._config
155
+ });
144
156
  }
145
157
  /**
146
158
  * Specify whether line segments of the series should be smoothed.
@@ -148,11 +160,10 @@ class o extends N {
148
160
  * @param seriesIndex - The index of the series.
149
161
  */
150
162
  isLineSmoothed(e) {
151
- return F(e, this._config);
163
+ return A(e, this._config);
152
164
  }
153
165
  setLineSmoothed(e, i) {
154
- const s = this._config.series?.[i];
155
- l(s) && H({
166
+ F({
156
167
  smoothed: e,
157
168
  seriesIndex: i,
158
169
  config: this._config
@@ -164,10 +175,10 @@ class o extends N {
164
175
  * @param seriesIndex - The index of the series.
165
176
  */
166
177
  isAreaVisible(e) {
167
- return W(e, this._config);
178
+ return H(e, this._config);
168
179
  }
169
180
  setAreaVisible(e, i) {
170
- d({
181
+ g({
171
182
  visible: e,
172
183
  seriesIndex: i,
173
184
  config: this._config
@@ -179,10 +190,10 @@ class o extends N {
179
190
  * @param seriesIndex - The index of the series.
180
191
  */
181
192
  isMarkerVisible(e) {
182
- return j(e, this._config);
193
+ return W(e, this._config);
183
194
  }
184
195
  setMarkersVisible(e, i) {
185
- w({
196
+ j({
186
197
  visible: e,
187
198
  seriesIndex: i,
188
199
  config: this._config
@@ -206,15 +217,15 @@ class o extends N {
206
217
  * @param seriesIndex - The index of the series.
207
218
  */
208
219
  getAreaColor(e) {
209
- return P(e, this._config);
220
+ return w(e, this._config);
210
221
  }
211
222
  setAreaColor(e, i) {
212
- const s = this._config.series?.[i];
213
- l(s) && (d({
223
+ const o = this._config.series?.[i];
224
+ c(o) && (g({
214
225
  visible: !0,
215
226
  seriesIndex: i,
216
227
  config: this._config
217
- }), $(e, i, this._config));
228
+ }), I(e, i, this._config));
218
229
  }
219
230
  /**
220
231
  * Gets whether to hide oversized data labels of the side-by-side series based on the series index.
@@ -224,11 +235,14 @@ class o extends N {
224
235
  * @param seriesIndex - The index of the series.
225
236
  */
226
237
  getSeriesHideOversizedSideBySideLabels(e) {
227
- return b(e, this._config);
238
+ return m(e, this._config);
228
239
  }
229
240
  setSeriesHideOversizedSideBySideLabels(e, i) {
230
- const s = this._config.series?.[i];
231
- h(s) && p(e, i, this._config);
241
+ b({
242
+ hide: e,
243
+ seriesIndex: i,
244
+ config: this._config
245
+ });
232
246
  }
233
247
  /**
234
248
  * Gets whether to hide oversized data labels of the stacked series based on the series index.
@@ -237,51 +251,50 @@ class o extends N {
237
251
  * @param seriesIndex - The index of the series.
238
252
  */
239
253
  getSeriesHideOversizedStackedLabels(e) {
240
- return _(e, this._config);
254
+ return p(e, this._config);
241
255
  }
242
256
  setSeriesHideOversizedStackedLabels(e, i) {
243
- const s = this._config.series?.[i];
244
- h(s) && L(e, i, this._config);
257
+ L({ hide: e, seriesIndex: i, config: this._config });
245
258
  }
246
259
  }
247
- n([
260
+ l([
248
261
  a
249
- ], o.prototype, "setSeriesType");
250
- n([
262
+ ], r.prototype, "setSeriesType");
263
+ l([
251
264
  a
252
- ], o.prototype, "setSeriesLineStyle");
253
- n([
265
+ ], r.prototype, "setSeriesLineStyle");
266
+ l([
254
267
  a
255
- ], o.prototype, "setSeriesLineWidth");
256
- n([
268
+ ], r.prototype, "setSeriesLineWidth");
269
+ l([
257
270
  a
258
- ], o.prototype, "setSeriesMarkerColor");
259
- n([
271
+ ], r.prototype, "setSeriesMarkerColor");
272
+ l([
260
273
  a
261
- ], o.prototype, "setSeriesMarkerStyle");
262
- n([
274
+ ], r.prototype, "setSeriesMarkerStyle");
275
+ l([
263
276
  a
264
- ], o.prototype, "setSeriesMarkerSize");
265
- n([
277
+ ], r.prototype, "setSeriesMarkerSize");
278
+ l([
266
279
  a
267
- ], o.prototype, "setLineSmoothed");
268
- n([
280
+ ], r.prototype, "setLineSmoothed");
281
+ l([
269
282
  a
270
- ], o.prototype, "setAreaVisible");
271
- n([
283
+ ], r.prototype, "setAreaVisible");
284
+ l([
272
285
  a
273
- ], o.prototype, "setMarkersVisible");
274
- n([
286
+ ], r.prototype, "setMarkersVisible");
287
+ l([
275
288
  a
276
- ], o.prototype, "setAreaColor");
277
- n([
289
+ ], r.prototype, "setAreaColor");
290
+ l([
278
291
  a
279
- ], o.prototype, "setSeriesHideOversizedSideBySideLabels");
280
- n([
292
+ ], r.prototype, "setSeriesHideOversizedSideBySideLabels");
293
+ l([
281
294
  a
282
- ], o.prototype, "setSeriesHideOversizedStackedLabels");
283
- const J = [T, u];
284
- q(o, J);
295
+ ], r.prototype, "setSeriesHideOversizedStackedLabels");
296
+ const G = [P, _];
297
+ N(r, G);
285
298
  export {
286
- o as ComboBarLineChartModel
299
+ r as ComboBarLineChartModel
287
300
  };
@@ -1,21 +1,21 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import { a as m } from "./chart-object-literals.js";
3
- import { av as S, Y as n, g as d, r as c } from "./index3.js";
2
+ import { a as d } from "./chart-object-literals.js";
3
+ import { av as m, Y as l, g as S, r as c } from "./index3.js";
4
4
  import { r as a } from "./index.js";
5
5
  import { m as g } from "./model-setter.js";
6
6
  import { M as y } from "./model-with-line-marker-styling.js";
7
- import { s as u, a as p, b, c as v, d as I, W as _ } from "./negative-values-stacked-to-baseline.js";
7
+ import { s as u, a as p, b, c as I, d as v, W as _ } from "./negative-values-stacked-to-baseline.js";
8
8
  import { S as C, s as M, a as k } from "./serial-chart-model.js";
9
9
  import { h as f } from "./serial-chart-data.js";
10
- import { f as L } from "./utils.js";
11
- var D = Object.defineProperty, x = Object.getOwnPropertyDescriptor, F = (o, e, s, t) => {
12
- for (var i = x(e, s), r = o.length - 1, l; r >= 0; r--)
13
- (l = o[r]) && (i = l(e, s, i) || i);
14
- return i && D(e, s, i), i;
10
+ import { f as x } from "./utils.js";
11
+ var L = Object.defineProperty, D = Object.getOwnPropertyDescriptor, w = (o, e, s, t) => {
12
+ for (var i = D(e, s), r = o.length - 1, n; r >= 0; r--)
13
+ (n = o[r]) && (i = n(e, s, i) || i);
14
+ return i && L(e, s, i), i;
15
15
  };
16
16
  class h extends C {
17
17
  constructor() {
18
- super(...arguments), this._chartType = m.LineSeries;
18
+ super(...arguments), this._chartType = d.LineSeries;
19
19
  }
20
20
  async setup(e) {
21
21
  await this.loadConfigFromLayer(e), this.setupLocalProps(), e.config !== void 0 && await this.rebuildSeries(), this.initDefaultSeries(), typeof this.resolveSetup == "function" && this.resolveSetup();
@@ -26,9 +26,9 @@ class h extends C {
26
26
  // ---------------------------------------------------------------------------------------------
27
27
  /** @private */
28
28
  generateDefaultConfig() {
29
- const e = S(this.commonStrings);
29
+ const e = m(this.commonStrings);
30
30
  return e.series = [
31
- n({
31
+ l({
32
32
  commonStrings: this.commonStrings,
33
33
  objectIDField: a(this.layerInfo.layer).idField
34
34
  })
@@ -39,14 +39,14 @@ class h extends C {
39
39
  * @private
40
40
  */
41
41
  initDefaultSeries() {
42
- this.defaultSeries = n({
42
+ this.defaultSeries = l({
43
43
  commonStrings: this.commonStrings,
44
44
  objectIDField: a(this.layerInfo.layer).idField
45
45
  });
46
46
  }
47
47
  resetSeriesStyling() {
48
48
  for (let e = 0; e < this.seriesLength; e += 1) {
49
- const s = d({
49
+ const s = S({
50
50
  colorIndex: e,
51
51
  opacity: c
52
52
  });
@@ -59,7 +59,23 @@ class h extends C {
59
59
  });
60
60
  i !== a(this.layerInfo.layer).idField && k(i ?? t, e, this._config);
61
61
  }
62
- p(this.defaultSeries?.lineSymbol?.style, e, this._config), b(this.defaultSeries?.lineSymbol?.width, e, this._config), v(this.defaultSeries?.markerSymbol?.style, e, this._config), I(this.defaultSeries?.markerSymbol?.size, e, this._config);
62
+ p({
63
+ style: this.defaultSeries?.lineSymbol?.style,
64
+ seriesIndex: e,
65
+ config: this._config
66
+ }), b({
67
+ width: this.defaultSeries?.lineSymbol?.width,
68
+ seriesIndex: e,
69
+ config: this._config
70
+ }), I({
71
+ style: this.defaultSeries?.markerSymbol?.style,
72
+ seriesIndex: e,
73
+ config: this._config
74
+ }), v({
75
+ size: this.defaultSeries?.markerSymbol?.size,
76
+ seriesIndex: e,
77
+ config: this._config
78
+ });
63
79
  }
64
80
  this._config.colorMatch = !0;
65
81
  }
@@ -88,11 +104,11 @@ class h extends C {
88
104
  return e || s;
89
105
  }
90
106
  }
91
- F([
107
+ w([
92
108
  g
93
109
  ], h.prototype, "resetSeriesStyling");
94
- const w = [_, y];
95
- L(h, w);
110
+ const F = [_, y];
111
+ x(h, F);
96
112
  export {
97
113
  h as LineChartModel
98
114
  };
@@ -1,56 +1,28 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import { fetchT9nStringsBundle as d } from "@arcgis/toolkit/intl";
3
- import { getElementLocale as c } from "@arcgis/toolkit/intl/dom";
4
- import { g as f } from "./runtime.js";
5
- import { convertChartSpec as g } from "../utils/chart-config/converter/index.js";
6
- import { a6 as l } from "./index3.js";
7
- import { bD as n, bc as y, t as u, r as _ } from "./index.js";
2
+ import { fetchT9nStringsBundle as f } from "@arcgis/toolkit/intl";
3
+ import { getElementLocale as g } from "@arcgis/toolkit/intl/dom";
4
+ import { g as l } from "./runtime.js";
5
+ import { convertChartSpec as m } from "../utils/chart-config/converter/index.js";
6
+ import { a6 as y } from "./index3.js";
7
+ import { bD as o, bc as p, t as u, r as _ } from "./index.js";
8
8
  import { cloneDeep as C } from "lodash-es";
9
- import "luxon";
10
- import "@arcgis/core/layers/support/FeatureFilter.js";
11
- import "@arcgis/core/smartMapping/statistics/histogram.js";
12
- import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
13
- import "./chart-object-literals.js";
14
- import "@arcgis/core/geometry/support/jsonUtils.js";
15
- import "@arcgis/core/rest/support/AttributeBinsQuery.js";
16
- import "@arcgis/core/rest/support/Query.js";
17
- import "@arcgis/core/rest/support/StatisticDefinition.js";
18
- import "@arcgis/core/time/TimeExtent.js";
19
- import "@esri/arcgis-html-sanitizer";
20
- import "./index2.js";
21
- import "@arcgis/core/core/promiseUtils.js";
22
- import "@arcgis/core/request.js";
23
- import "@arcgis/core/Graphic.js";
24
- import "@arcgis/core/renderers/support/jsonUtils.js";
25
- import "@arcgis/core/symbols/support/symbolUtils.js";
26
- import "@arcgis/core/applications/Components/imageryUtils.js";
27
- import "@arcgis/core/geometry/Point.js";
28
- import "@arcgis/core/AttributeBinsGraphic.js";
29
- import "@arcgis/core/layers/support/CodedValueDomain.js";
30
- import "@arcgis/core/geometry/Extent.js";
31
- import "@arcgis/core/intl.js";
32
- import "@arcgis/toolkit/dom";
33
- import "simple-statistics";
34
- import "@arcgis/core/core/sql.js";
35
- import "@arcgis/toolkit/type";
36
- import "./class-breaks.js";
37
- const m = 30;
38
- function U(a, i, t, e) {
39
- const s = m - 1, o = Math.max(a - s, 0);
40
- if (e === void 0 && (e = a - 1), !(e < o || e > a))
41
- return e === a ? i : t[e - o];
9
+ const h = 30;
10
+ function U(r, e, t, i) {
11
+ const s = h - 1, n = Math.max(r - s, 0);
12
+ if (i === void 0 && (i = r - 1), !(i < n || i > r))
13
+ return i === r ? e : t[i - n];
42
14
  }
43
- class et extends EventTarget {
15
+ class A extends EventTarget {
44
16
  /**
45
17
  * @param args
46
18
  * @privateRemarks This "any" constructor is needed for TypeScript to merge
47
19
  * the base class and mixin classes types together smoothly.
48
20
  */
49
- constructor(...i) {
21
+ constructor(...e) {
50
22
  super(), this.dirtyAsyncSetters = [], this.asyncConfigUpdateInProgress = !1, this.pendingUpdates = 0, this._revision = 0, this._configHistory = [void 0], this.dataStore = {}, this.asyncUpdatesPromise = new Promise((t) => {
51
23
  this.resolveSetup = t;
52
24
  }), this.emitConfigUpdate = (t) => {
53
- this._revision += 1, this._configHistory.push(C(this._config)), this._configHistory.length > m && this._configHistory.shift(), this.dispatchEvent(
25
+ this._revision += 1, this._configHistory.push(C(this._config)), this._configHistory.length > h && this._configHistory.shift(), this.dispatchEvent(
54
26
  new CustomEvent("arcgisChartsModelConfigChange", {
55
27
  detail: { config: this._config, setterName: t }
56
28
  })
@@ -76,17 +48,17 @@ class et extends EventTarget {
76
48
  *
77
49
  * If no `configRevision` number is provided, it recalls the last configuration just before the current one.
78
50
  */
79
- recall(i) {
80
- return U(this._revision, this._config, this._configHistory, i);
51
+ recall(e) {
52
+ return U(this._revision, this._config, this._configHistory, e);
81
53
  }
82
54
  /**
83
55
  * Checks if the current chart model is for the same chart as another chart model.
84
56
  *
85
57
  * @param otherModel - The other chart model to compare to.
86
58
  */
87
- isSameChartAs(i) {
88
- const t = i?.layer;
89
- return t !== void 0 && this._config.id === i?.chartId && this.layerInfo?.layer.id === t.id;
59
+ isSameChartAs(e) {
60
+ const t = e?.layer;
61
+ return t !== void 0 && this._config.id === e?.chartId && this.layerInfo?.layer.id === t.id;
90
62
  }
91
63
  /**
92
64
  * Can be awaited to allow any pending async updates to complete.
@@ -104,32 +76,32 @@ class et extends EventTarget {
104
76
  * @param params.commonStrings - The t9n common strings
105
77
  * @private
106
78
  */
107
- async loadConfigFromLayer(i) {
108
- const { layer: t, iLayer: e, config: s, commonStrings: o } = i;
109
- this.commonStrings = o ?? await d(
110
- c(document.documentElement).t9nLocale,
111
- f("./assets/common/t9n"),
79
+ async loadConfigFromLayer(e) {
80
+ const { layer: t, iLayer: i, config: s, commonStrings: n } = e;
81
+ this.commonStrings = n ?? await f(
82
+ g(document.documentElement).t9nLocale,
83
+ l("./assets/common/t9n"),
112
84
  "messages."
113
85
  );
114
- let r = t;
115
- if (!r && e ? r = await n(e) : !r && s?.iLayer && (r = await n(s.iLayer)), r) {
116
- await y(r);
117
- const h = u(r, !0), p = _(r).idField;
86
+ let a = t;
87
+ if (!a && i ? a = await o(i) : !a && s?.iLayer && (a = await o(s.iLayer)), a) {
88
+ await p(a);
89
+ const d = u(a, !0), c = _(a).idField;
118
90
  this.layerInfo = {
119
- layer: r,
120
- layerFieldsInfo: h,
121
- objectIdField: p
91
+ layer: a,
92
+ layerFieldsInfo: d,
93
+ objectIdField: c
122
94
  };
123
95
  }
124
- this._config = s ? await g(s) : this.generateDefaultConfig(), this._config.legend !== void 0 && this._config.legend?.title === void 0 && (this._config.legend.title = l().title), e && (this._config.iLayer = e);
96
+ this._config = s ? await m(s) : this.generateDefaultConfig(), this._config.legend !== void 0 && this._config.legend?.title === void 0 && (this._config.legend.title = y().title), i && (this._config.iLayer = i);
125
97
  }
126
98
  /**
127
99
  * Manually block the async guard to queue up config updates until unblocked.
128
100
  * @private
129
101
  */
130
102
  startAsyncUpdate() {
131
- this.pendingUpdates === 0 && (this.asyncConfigUpdateInProgress = !0, this.asyncUpdatesPromise = new Promise((i) => {
132
- this.resolveSetup = i;
103
+ this.pendingUpdates === 0 && (this.asyncConfigUpdateInProgress = !0, this.asyncUpdatesPromise = new Promise((e) => {
104
+ this.resolveSetup = e;
133
105
  })), this.pendingUpdates += 1;
134
106
  }
135
107
  /**
@@ -141,21 +113,21 @@ class et extends EventTarget {
141
113
  }
142
114
  // #endregion
143
115
  }
144
- function st(a, i, t) {
145
- const e = t.set, s = t.value;
146
- return e && (t.set = function(o) {
116
+ function x(r, e, t) {
117
+ const i = t.set, s = t.value;
118
+ return i && (t.set = function(n) {
147
119
  this.guardSetterFromAsyncOverwrite(() => {
148
- e.call(this, o), this.emitConfigUpdate(i);
120
+ i.call(this, n), this.emitConfigUpdate(e);
149
121
  });
150
- }), s && (t.value = function(...o) {
122
+ }), s && (t.value = function(...n) {
151
123
  this.guardSetterFromAsyncOverwrite(() => {
152
- s.apply(this, o), this.emitConfigUpdate(i);
124
+ s.apply(this, n), this.emitConfigUpdate(e);
153
125
  });
154
126
  }), t;
155
127
  }
156
128
  export {
157
- et as C,
158
- m as M,
159
- st as m,
129
+ A as C,
130
+ h as M,
131
+ x as m,
160
132
  U as r
161
133
  };