@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,66 +1,90 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
2
  import { substitute as v } from "@arcgis/core/intl.js";
3
- import { memoize as U, isEmpty as re, isEqual as ne, cloneDeep as W } from "lodash-es";
3
+ import { memoize as Y, isEmpty as ne, isEqual as le, cloneDeep as U } from "lodash-es";
4
4
  import { B as f } from "./common.js";
5
- import { u as M, b as K, c as le, d as ae, s as z } from "./utils.js";
5
+ import { u as I, b as K, c as ae, d as ce, s as E } from "./utils.js";
6
6
  import { g as k } from "./utils2.js";
7
- import { g as ce } from "./series-length.js";
7
+ import { g as de } from "./series-length.js";
8
8
  import { s as N } from "./data.js";
9
- import { d as de } from "./rest-js-object-literals.js";
9
+ import { d as ye } from "./rest-js-object-literals.js";
10
10
  import { a as p, t as S, g as x } from "./chart-object-literals.js";
11
- import { o as X, l as h, n as ye, t as ue, a9 as $, aa as E, Y as fe, ab as me, W as Se, X as pe } from "./index3.js";
11
+ import { o as X, l as h, n as ue, t as fe, a9 as $, aa as z, Y as me, ab as Se, W as pe, X as ge } from "./index3.js";
12
12
  import { b as A } from "./index2.js";
13
- import { cl as I, c6 as D, M as ge, U as xe, cm as be, cn as he, a1 as j } from "./index.js";
13
+ import { cl as M, c1 as xe, c6 as D, M as be, U as he, cm as Fe, cn as Ae, a1 as j } from "./index.js";
14
14
  import { i as P } from "./index4.js";
15
- const Qe = (s, e) => e?.series?.[s]?.name, _e = (s, e, t) => {
15
+ import { s as Be, a as Le } from "./series.js";
16
+ const J = (s) => {
17
+ const { config: e, seriesIndex: t, callback: o } = s;
18
+ [t !== void 0 ? e.series?.[t] : e.series].flat().forEach((i) => {
19
+ xe(i) && o(i);
20
+ });
21
+ }, es = (s) => {
22
+ const { style: e, seriesIndex: t, config: o } = s;
23
+ J({
24
+ config: o,
25
+ seriesIndex: t,
26
+ callback: (i) => {
27
+ Be(e, i);
28
+ }
29
+ });
30
+ }, ss = (s) => {
31
+ const { width: e, seriesIndex: t, config: o } = s;
32
+ J({
33
+ config: o,
34
+ seriesIndex: t,
35
+ callback: (i) => {
36
+ Le(e, i);
37
+ }
38
+ });
39
+ }, ts = (s, e) => e?.series?.[s]?.name, is = (s, e, t) => {
16
40
  const o = t;
17
41
  o?.series?.[e] !== void 0 && (o.series[e].name = s);
18
- }, Ge = (s, e) => {
42
+ }, os = (s, e) => {
19
43
  let t;
20
44
  const o = e.series?.[s];
21
45
  return o?.type === p.BoxPlotSeries ? t = o.fillSymbol?.color : o?.type === p.LineSeries && (t = o.lineSymbol?.color), t;
22
- }, Fe = (s) => {
46
+ }, Ce = (s) => {
23
47
  const e = s.series[0];
24
- return s.showMean === !0 && I(e) ? e.fillSymbol?.color : void 0;
25
- }, Ae = (s, e) => {
48
+ return s.showMean === !0 && M(e) ? e.fillSymbol?.color : void 0;
49
+ }, we = (s, e) => {
26
50
  const t = e.series[0];
27
- e.showMean === !0 && I(t) && (t.fillSymbol !== void 0 ? t.fillSymbol.color = s : t.fillSymbol = {
51
+ e.showMean === !0 && M(t) && (t.fillSymbol !== void 0 ? t.fillSymbol.color = s : t.fillSymbol = {
28
52
  ...X(),
29
53
  color: s
30
54
  });
31
- }, He = (s, e, t) => {
55
+ }, rs = (s, e, t) => {
32
56
  const i = t?.series?.[e];
33
57
  i?.type === p.BoxPlotSeries && i.fillSymbol !== void 0 ? i.fillSymbol.color = s : i?.type === p.LineSeries && i.lineSymbol !== void 0 && (i.lineSymbol.color = s, i.markerSymbol !== void 0 && (i.markerSymbol.color = s));
34
- }, Be = (s) => s.series.map((e) => e.id), Ce = (s, e) => {
58
+ }, Te = (s) => s.series.map((e) => e.id), ve = (s, e) => {
35
59
  e?.series?.sort(
36
60
  (t, o) => s.findIndex((i) => t.id === i) - s.findIndex((i) => o.id === i)
37
61
  );
38
- }, Ze = (s, e, t) => {
39
- const o = Be(t), [i] = o.splice(s, 1);
40
- o.splice(e, 0, i), Ce(o, t);
41
- }, es = (s) => V(s) ? s.series.findIndex((e) => e.type === p.BoxPlotSeries) : -1;
42
- function we(s, e, t) {
43
- const o = Z(s, e, t), i = ce(s), n = P(s);
62
+ }, ns = (s, e, t) => {
63
+ const o = Te(t), [i] = o.splice(s, 1);
64
+ o.splice(e, 0, i), ve(o, t);
65
+ }, ls = (s) => V(s) ? s.series.findIndex((e) => e.type === p.BoxPlotSeries) : -1;
66
+ function Oe(s, e, t) {
67
+ const o = ee(s, e, t), i = de(s), n = P(s);
44
68
  return o === i || n;
45
69
  }
46
- function J(s, e, t) {
70
+ function R(s, e, t) {
47
71
  const o = T(s, e, t), i = k(1, s), n = P(s);
48
72
  return o === i || n;
49
73
  }
50
- function Le(s) {
51
- const { config: e, layerInfo: t, newCategory: o } = s, { layerFieldsInfo: i } = t, n = w(e), r = o !== h ? A(i, n) : "", l = k(0, e), a = P(e);
74
+ function Ie(s) {
75
+ const { config: e, layerInfo: t, newCategory: o } = s, { layerFieldsInfo: i } = t, n = C(e), r = o !== h ? A(i, n) : "", l = k(0, e), a = P(e);
52
76
  return r === l || a || l.trim() === "";
53
77
  }
54
- const w = (s) => D(s)?.x ?? h, Te = U(
78
+ const C = (s) => D(s)?.x ?? h, Me = Y(
55
79
  (s) => {
56
80
  const e = D(s), t = e?.query?.where?.split("=")[0].trim() ?? "";
57
- return ge(e?.query?.where) ? "" : t;
81
+ return be(e?.query?.where) ? "" : t;
58
82
  },
59
83
  (s) => D(s)?.query?.where
60
- ), R = U(
84
+ ), G = Y(
61
85
  // without memoizing, the worst case efficiency is O(series.length), best case is O(1)
62
86
  // with memoizing, the worst case efficiency for repeated calls becomes O(1)
63
- (s) => xe(s?.series).filter((e) => e !== ""),
87
+ (s) => he(s?.series).filter((e) => e !== ""),
64
88
  // using series array address as key, since a change to the numeric fields will always rebuild a fresh series array
65
89
  (s) => s?.series
66
90
  ), O = (s) => {
@@ -70,22 +94,22 @@ const w = (s) => D(s)?.x ?? h, Te = U(
70
94
  y: o,
71
95
  query: {}
72
96
  };
73
- return W(r);
74
- }, ve = (s) => {
97
+ return U(r);
98
+ }, Pe = (s) => {
75
99
  const { category: e, seriesIndex: t, y: o, commonStrings: i } = s, r = {
76
- ...fe({ commonStrings: i, seriesIndex: t }),
100
+ ...me({ commonStrings: i, seriesIndex: t }),
77
101
  x: e === void 0 || e === "" ? h : e,
78
102
  y: o,
79
103
  query: {}
80
104
  };
81
- return W(r);
105
+ return U(r);
82
106
  };
83
107
  function Q(s) {
84
108
  const { x: e, y: t, seriesTemplate: o, commonStrings: i } = s, { id: n, fillSymbol: r } = o ?? {}, l = $(i), a = n ?? `series_${Date.now()}`;
85
- return l.id = a, l.name = a, l.x = e, l.y = t, r ? l.fillSymbol = r : l.fillSymbol && (l.fillSymbol.color = E, l.fillSymbol?.outline && (l.fillSymbol.outline.color = E)), l;
109
+ return l.id = a, l.name = a, l.x = e, l.y = t, r ? l.fillSymbol = r : l.fillSymbol && (l.fillSymbol.color = z, l.fillSymbol?.outline && (l.fillSymbol.outline.color = z)), l;
86
110
  }
87
111
  function _(s) {
88
- const { numericFields: e, config: t, layerInfo: o, category: i, commonStrings: n } = s, { layerFieldsInfo: r } = o, l = [], a = i ?? w(t), y = N({
112
+ const { numericFields: e, config: t, layerInfo: o, category: i, commonStrings: n } = s, { layerFieldsInfo: r } = o, l = [], a = i ?? C(t), y = N({
89
113
  fieldName: a,
90
114
  numericFields: e,
91
115
  fieldList: r
@@ -104,7 +128,7 @@ function _(s) {
104
128
  seriesIndex: 0,
105
129
  category: a,
106
130
  commonStrings: n
107
- }), F = t.series.find((C) => ne(c, C.y) && C.query?.where === void 0), d = I(F) ? F : void 0, m = d?.id ?? e[0], g = e.length > 1 ? n.axisLabels.values : A(o.layerFieldsInfo, e[0]), b = d?.name ?? g, B = {
131
+ }), F = t.series.find((L) => le(c, L.y) && L.query?.where === void 0), d = M(F) ? F : void 0, m = d?.id ?? e[0], g = e.length > 1 ? n.axisLabels.values : A(o.layerFieldsInfo, e[0]), b = d?.name ?? g, B = {
108
132
  ...d ?? u,
109
133
  id: m,
110
134
  name: b,
@@ -118,7 +142,7 @@ function _(s) {
118
142
  seriesIndex: c,
119
143
  category: a,
120
144
  commonStrings: n
121
- }), d = t.series.find((C) => u === C.y), m = I(d) ? d : void 0, g = m?.id ?? u, b = m?.name ?? A(r, u), B = {
145
+ }), d = t.series.find((L) => u === L.y), m = M(d) ? d : void 0, g = m?.id ?? u, b = m?.name ?? A(r, u), B = {
122
146
  ...m ?? F,
123
147
  id: g,
124
148
  name: b,
@@ -128,8 +152,8 @@ function _(s) {
128
152
  }
129
153
  return t.series.length === 1 && l.length === 1 && "fillSymbol" in t.series[0] && (l[0].fillSymbol = t.series[0].fillSymbol), l;
130
154
  }
131
- const G = (s) => s?.query?.where?.split("=")[1].trim().replace(/'/gu, "") ?? "", Oe = (s) => s.series.some((e) => e.type === p.LineSeries) && s.series.some((e) => e.type === p.BoxPlotSeries);
132
- function Me(s, e, t) {
155
+ const H = (s) => s?.query?.where?.split("=")[1].trim().replace(/'/gu, "") ?? "", De = (s) => s.series.some((e) => e.type === p.LineSeries) && s.series.some((e) => e.type === p.BoxPlotSeries);
156
+ function Ve(s, e, t) {
133
157
  const o = [];
134
158
  return s.forEach((i) => {
135
159
  if (i.type === p.BoxPlotSeries) {
@@ -138,11 +162,11 @@ function Me(s, e, t) {
138
162
  ...l,
139
163
  type: p.LineSeries,
140
164
  lineSymbol: {
141
- ...ue({ width: me }),
165
+ ...fe({ width: Se }),
142
166
  ...r !== void 0 ? { color: r.color } : {}
143
167
  },
144
168
  markerSymbol: {
145
- ...ye(),
169
+ ...ue(),
146
170
  ...r !== void 0 ? { color: r.color } : {}
147
171
  }
148
172
  });
@@ -156,7 +180,7 @@ function Me(s, e, t) {
156
180
  })
157
181
  ), o;
158
182
  }
159
- function Ie(s) {
183
+ function ke(s) {
160
184
  const e = s.slice(1), t = [];
161
185
  return e.forEach((o) => {
162
186
  if (o.type === p.LineSeries) {
@@ -172,7 +196,7 @@ function Ie(s) {
172
196
  }
173
197
  }), t;
174
198
  }
175
- function H(s) {
199
+ function Z(s) {
176
200
  const { formerSeries: e, newSeries: t, showMean: o } = s;
177
201
  let i = t;
178
202
  const n = (a) => a.type === (o ? p.LineSeries : p.BoxPlotSeries), r = e.filter(n).map((a) => a.id), l = t.filter(n).map((a) => a.id);
@@ -180,7 +204,7 @@ function H(s) {
180
204
  (a, y) => r.findIndex((c) => c === a.id) - r.findIndex((c) => c === y.id)
181
205
  )), i;
182
206
  }
183
- function Pe(s) {
207
+ function Ne(s) {
184
208
  const {
185
209
  config: e,
186
210
  layerInfo: t,
@@ -189,9 +213,9 @@ function Pe(s) {
189
213
  numericFields: n,
190
214
  category: r,
191
215
  splitByFieldInfos: l
192
- } = s, a = r ?? w(e), { categoriesArray: y, splitByFieldType: c } = l;
216
+ } = s, a = r ?? C(e), { categoriesArray: y, splitByFieldType: c } = l;
193
217
  let u = [];
194
- const F = Oe(e);
218
+ const F = De(e);
195
219
  if (y.length === 0) {
196
220
  u = _({
197
221
  numericFields: n,
@@ -209,25 +233,25 @@ function Pe(s) {
209
233
  seriesIndex: d,
210
234
  category: a,
211
235
  commonStrings: o
212
- }, b = F ? ve(g) : O(g), L = j({
236
+ }, b = F ? Pe(g) : O(g), w = j({
213
237
  queryObject: t.layer,
214
238
  fieldName: i,
215
239
  fieldValue: m ?? ""
216
- }), B = `${m}`, C = e.series.find((oe) => G(oe) === B), te = C?.name ?? L ?? B, q = C ?? b, ie = {
240
+ }), B = `${m}`, L = e.series.find((re) => H(re) === B), ie = L?.name ?? w ?? B, q = L ?? b, oe = {
217
241
  ...q,
218
242
  id: B,
219
- name: te,
243
+ name: ie,
220
244
  x: a === void 0 || a === "" ? h : a,
221
245
  y: b.y,
222
246
  // always update y values based on default generated value
223
247
  query: {
224
248
  ...q.query,
225
- where: `${i}=${c === de.String && m !== null ? `'${m}'` : m}`
249
+ where: `${i}=${c === ye.String && m !== null ? `'${m}'` : m}`
226
250
  }
227
251
  };
228
- u.push(ie);
252
+ u.push(oe);
229
253
  }
230
- if (u = H({
254
+ if (u = Z({
231
255
  formerSeries: e.series,
232
256
  newSeries: u,
233
257
  showMean: V(e)
@@ -242,10 +266,10 @@ function Pe(s) {
242
266
  }
243
267
  return u;
244
268
  }
245
- const ss = (s) => {
246
- const { splitByField: e, numericFields: t, category: o, config: i, layerInfo: n, commonStrings: r, splitByFieldInfos: l } = s, { layerFieldsInfo: a } = n, y = ke(o, t, e), c = he(a), u = w(i), F = we(i, n, r), d = J(i, n, r), m = Le({ config: i, layerInfo: n, newCategory: o });
269
+ const as = (s) => {
270
+ const { splitByField: e, numericFields: t, category: o, config: i, layerInfo: n, commonStrings: r, splitByFieldInfos: l } = s, { layerFieldsInfo: a } = n, y = ze(o, t, e), c = Ae(a), u = C(i), F = Oe(i, n, r), d = R(i, n, r), m = Ie({ config: i, layerInfo: n, newCategory: o });
247
271
  let g = K(i);
248
- if (!c.includes(u) && c.includes(o) ? g = Se() : c.includes(u) && !c.includes(o) && (g = pe()), g !== void 0 && ae(i, r, g), Y(y ? { newShowMeanLines: i.showMean, config: i, commonStrings: r } : { newShowMeanLines: !1, config: i, commonStrings: r }), i.series = y && l ? Pe({
272
+ if (!c.includes(u) && c.includes(o) ? g = pe() : c.includes(u) && !c.includes(o) && (g = ge()), g !== void 0 && ce(i, r, g), W(y ? { newShowMeanLines: i.showMean, config: i, commonStrings: r } : { newShowMeanLines: !1, config: i, commonStrings: r }), i.series = y && l ? Ne({
249
273
  config: i,
250
274
  layerInfo: n,
251
275
  splitByField: e,
@@ -260,26 +284,26 @@ const ss = (s) => {
260
284
  category: o,
261
285
  commonStrings: r
262
286
  }), m) {
263
- const L = N({
287
+ const w = N({
264
288
  fieldName: o,
265
289
  numericFields: t,
266
290
  fieldList: a
267
291
  }) ? "" : A(a, o);
268
- M(i, 0, L);
292
+ I(i, 0, w);
269
293
  }
270
294
  if (d) {
271
295
  const b = T(i, n, r);
272
- M(i, 1, b);
296
+ I(i, 1, b);
273
297
  }
274
- i?.title !== void 0 && F && (i.title.content.text = Z(i, n, r)), z({ config: i, value: null, axisIndex: 1, isMax: !1 }), z({ config: i, value: null, axisIndex: 1, isMax: !0 });
275
- }, De = (s) => s?.standardizeValues ?? !1;
298
+ i?.title !== void 0 && F && (i.title.content.text = ee(i, n, r)), E({ config: i, value: null, axisIndex: 1, isMax: !1 }), E({ config: i, value: null, axisIndex: 1, isMax: !0 });
299
+ }, qe = (s) => s?.standardizeValues ?? !1;
276
300
  function T(s, e, t) {
277
301
  const { layerFieldsInfo: o } = e;
278
- let n = De(s) ? t.axisLabels.standardizedValues : t.axisLabels.values, r = s?.series?.map((l) => l.y).flat();
302
+ let n = qe(s) ? t.axisLabels.standardizedValues : t.axisLabels.values, r = s?.series?.map((l) => l.y).flat();
279
303
  return r = [...new Set(r)], r.length === 1 && (n = A(o, r[0])), n;
280
304
  }
281
- function Z(s, e, t) {
282
- const { layerFieldsInfo: o } = e, i = w(s), n = R(s), r = Te(s), l = n.map((c) => A(o ?? [], c)).join(", "), a = A(o ?? [], i);
305
+ function ee(s, e, t) {
306
+ const { layerFieldsInfo: o } = e, i = C(s), n = G(s), r = Me(s), l = n.map((c) => A(o ?? [], c)).join(", "), a = A(o ?? [], i);
283
307
  let y = "";
284
308
  return n.length > 0 && (i !== h && r !== "" ? y = v(t.titleLabels.distributionOfFieldsByCategoryAndSplitBy, {
285
309
  valueFields: l,
@@ -295,27 +319,27 @@ function Z(s, e, t) {
295
319
  valueField: l
296
320
  })), y;
297
321
  }
298
- const ts = (s) => {
322
+ const cs = (s) => {
299
323
  const { series: e, splitByField: t, layerInfo: o, commonStrings: i } = s;
300
324
  let n = typeof e.y == "string" ? A(o.layerFieldsInfo, e.y) : i.axisLabels.values;
301
- return re(t) || (n = G(e)), n = j({
325
+ return ne(t) || (n = H(e)), n = j({
302
326
  queryObject: o.layer,
303
327
  fieldName: t,
304
328
  fieldValue: n ?? ""
305
329
  }) ?? n, n ?? e.id;
306
- }, is = (s) => s?.showOutliers ?? !1, os = (s) => {
330
+ }, ds = (s) => s?.showOutliers ?? !1, ys = (s) => {
307
331
  const { newShowOutliers: e, config: t, layerInfo: o, commonStrings: i } = s;
308
- if (t.showOutliers = e, J(t, o, i)) {
332
+ if (t.showOutliers = e, R(t, o, i)) {
309
333
  const r = T(t, o, i);
310
- M(t, 1, r);
334
+ I(t, 1, r);
311
335
  }
312
- }, rs = (s) => {
336
+ }, us = (s) => {
313
337
  const { newStandardizeValues: e, config: t, layerInfo: o, commonStrings: i } = s, n = k(1, t), r = T(t, o, i), l = P(t);
314
338
  if (t.standardizeValues = e, n === r || l) {
315
339
  const a = T(t, o, i);
316
- M(t, 1, a);
340
+ I(t, 1, a);
317
341
  }
318
- }, ee = (s) => {
342
+ }, se = (s) => {
319
343
  let e = f.xAxisAsc;
320
344
  const t = s.orderOptions?.data?.orderType ?? S.Category, o = s.orderOptions?.data && "orderBy" in s.orderOptions.data ? s.orderOptions.data.orderBy : x.Ascending;
321
345
  switch (t) {
@@ -330,7 +354,7 @@ const ts = (s) => {
330
354
  break;
331
355
  }
332
356
  return e;
333
- }, ns = (s, e, t) => {
357
+ }, fs = (s, e, t) => {
334
358
  let o = S.Category, i = x.Ascending;
335
359
  if (e.orderOptions = e.orderOptions ?? {}, s === f.customSort && t !== void 0)
336
360
  e.orderOptions.data = {
@@ -369,72 +393,74 @@ const ts = (s) => {
369
393
  orderBy: i
370
394
  };
371
395
  }
372
- }, V = (s) => s.showMean ?? !1, Y = (s) => {
373
- const { newShowMeanLines: e = !1, config: t, commonStrings: o, previousMeanLinesBoxColor: i } = s, n = e ? i : Fe(t), r = (e ?? !1) !== (t.showMean ?? !1);
396
+ }, V = (s) => s.showMean ?? !1, W = (s) => {
397
+ const { newShowMeanLines: e = !1, config: t, commonStrings: o, previousMeanLinesBoxColor: i } = s, n = e ? i : Ce(t), r = (e ?? !1) !== (t.showMean ?? !1);
374
398
  if (t.showMean = e, r) {
375
399
  let l;
376
- e ? l = be(t.series) ? Me(t.series, o) : t.series : l = Ie(t.series), l && (l = H({
400
+ e ? l = Fe(t.series) ? Ve(t.series, o) : t.series : l = ke(t.series), l && (l = Z({
377
401
  formerSeries: t.series,
378
402
  newSeries: l,
379
403
  showMean: e
380
404
  }), t.series = l);
381
405
  }
382
- return e && i !== void 0 && Ae(i, t), { previousMeanLinesBoxColor: n };
383
- }, ls = (s) => {
406
+ return e && i !== void 0 && we(i, t), { previousMeanLinesBoxColor: n };
407
+ }, ms = (s) => {
384
408
  let e = [];
385
409
  const t = s.orderOptions?.data?.orderType;
386
- return ee(s) === f.customSort && t === S.Category && (e = s.orderOptions?.data?.orderBy), e;
387
- }, as = (s, e) => {
410
+ return se(s) === f.customSort && t === S.Category && (e = s.orderOptions?.data?.orderBy), e;
411
+ }, Ss = (s, e) => {
388
412
  e.orderOptions ??= {};
389
413
  const t = e.orderOptions?.data?.orderType;
390
- ee(e) === f.customSort && t === S.Category && (e.orderOptions.data = {
414
+ se(e) === f.customSort && t === S.Category && (e.orderOptions.data = {
391
415
  orderType: S.Category,
392
416
  orderBy: s
393
417
  });
394
- }, cs = async (s) => {
395
- const { config: e, layerInfo: t, errorStrings: o } = s, i = w(e), n = K(e)?.type, r = R(e);
418
+ }, ps = async (s) => {
419
+ const { config: e, layerInfo: t, errorStrings: o } = s, i = C(e), n = K(e)?.type, r = G(e);
396
420
  let l = [];
397
421
  return n === p.CategoryAxisFormat && (N({
398
422
  fieldName: i,
399
423
  numericFields: r,
400
424
  fieldList: t.layerFieldsInfo
401
- }) ? l = r : se(i) || (l = await le({
425
+ }) ? l = r : te(i) || (l = await ae({
402
426
  layerInfo: t,
403
427
  config: e,
404
428
  category: i,
405
429
  errorStrings: o
406
430
  }))), l;
407
- }, se = (s) => s.trim() === "" || s === h, Ve = (s, e) => e.length > 1 && !se(s), ke = (s, e, t) => !Ve(s, e) && t !== "";
431
+ }, te = (s) => s.trim() === "" || s === h, Ee = (s, e) => e.length > 1 && !te(s), ze = (s, e, t) => !Ee(s, e) && t !== "";
408
432
  export {
409
- Ze as A,
410
- es as B,
411
- Z as C,
412
- T as D,
413
- ts as E,
414
- w as a,
415
- R as b,
416
- Te as c,
417
- is as d,
418
- os as e,
419
- De as f,
433
+ Te as A,
434
+ ve as B,
435
+ ns as C,
436
+ ls as D,
437
+ ee as E,
438
+ T as F,
439
+ cs as G,
440
+ C as a,
441
+ G as b,
442
+ Me as c,
443
+ ds as d,
444
+ ys as e,
445
+ qe as f,
420
446
  V as g,
421
- rs as h,
422
- ee as i,
423
- ns as j,
424
- cs as k,
425
- ls as l,
426
- as as m,
427
- Y as n,
428
- Fe as o,
429
- Ae as p,
430
- ke as q,
431
- ss as r,
432
- Ve as s,
433
- se as t,
434
- Qe as u,
435
- _e as v,
436
- Ge as w,
437
- He as x,
438
- Be as y,
439
- Ce as z
447
+ us as h,
448
+ se as i,
449
+ fs as j,
450
+ ps as k,
451
+ ms as l,
452
+ Ss as m,
453
+ W as n,
454
+ Ce as o,
455
+ we as p,
456
+ ze as q,
457
+ as as r,
458
+ Ee as s,
459
+ te as t,
460
+ ts as u,
461
+ is as v,
462
+ os as w,
463
+ rs as x,
464
+ es as y,
465
+ ss as z
440
466
  };