@arcgis/charts-components 5.2.0-next.154 → 5.2.0-next.155

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 (122) hide show
  1. package/dist/cdn/{EOH2W3LP.js → 25EQGAJY.js} +1 -1
  2. package/dist/cdn/{DIT5QYRZ.js → 2LV6GDYK.js} +1 -1
  3. package/dist/cdn/{QPE4226Z.js → 2USDPS2L.js} +1 -1
  4. package/dist/cdn/{BOPSKTO3.js → 3GGD7KLV.js} +1 -1
  5. package/dist/cdn/{NR6WJN42.js → 4T5L3BLL.js} +1 -1
  6. package/dist/cdn/{JOZZX5IK.js → 54WTBBPU.js} +1 -1
  7. package/dist/cdn/{O5YSHLEC.js → 5HKCWI3P.js} +1 -1
  8. package/dist/cdn/{KMYMJ4TB.js → 62FK6ANF.js} +1 -1
  9. package/dist/cdn/{M5WNLFQ6.js → 6IEIR3IJ.js} +1 -1
  10. package/dist/cdn/{XUN6JTT4.js → 6QEBTDLJ.js} +1 -1
  11. package/dist/cdn/{QJTMDECJ.js → 6UOV5TES.js} +1 -1
  12. package/dist/cdn/{GEWPZ2SD.js → 6WBGIBLN.js} +1 -1
  13. package/dist/cdn/{VUMWERXB.js → 75J7S444.js} +1 -1
  14. package/dist/cdn/{VSC4SDJS.js → 7NDAZIXV.js} +1 -1
  15. package/dist/cdn/{S7MBWOPD.js → 7ULLR4CN.js} +1 -1
  16. package/dist/cdn/{HF5XFFU2.js → A5UWEHLX.js} +1 -1
  17. package/dist/cdn/{YNLUQX4T.js → AWZYMQFF.js} +1 -1
  18. package/dist/cdn/{5IGMXNM2.js → B7NGZOWD.js} +1 -1
  19. package/dist/cdn/{YKD6IBPT.js → C5HTXSZS.js} +1 -1
  20. package/dist/cdn/D4E2DTYE.js +2 -0
  21. package/dist/cdn/DDNBFHKN.js +2 -0
  22. package/dist/cdn/DGXBF4BH.js +4 -0
  23. package/dist/cdn/{WN23K74S.js → DLX6ZNYG.js} +1 -1
  24. package/dist/cdn/{O6OHBRAO.js → DNS4RWBT.js} +1 -1
  25. package/dist/cdn/{F27FJBNB.js → DQLO4ITR.js} +1 -1
  26. package/dist/cdn/{GANKBRNZ.js → EBMUNX44.js} +1 -1
  27. package/dist/cdn/{BIXI63YR.js → ECFOVMA2.js} +1 -1
  28. package/dist/cdn/{IVJ2VRAU.js → EI6JNZL7.js} +1 -1
  29. package/dist/cdn/{5XIL7NWT.js → ETSSSFIS.js} +1 -1
  30. package/dist/cdn/{4ZBAUXGZ.js → EX7GAUGC.js} +1 -1
  31. package/dist/cdn/{THF4PSZK.js → FF4LQHDS.js} +1 -1
  32. package/dist/cdn/{KNM4Y7PI.js → FS6K3PGA.js} +1 -1
  33. package/dist/cdn/{YUJPRB3D.js → G37DEPFO.js} +1 -1
  34. package/dist/cdn/{HQA37HHH.js → GAFCUST3.js} +1 -1
  35. package/dist/cdn/{23DAXBKQ.js → GCGZ4SRD.js} +1 -1
  36. package/dist/cdn/{Z2DQ6K54.js → GPHCD6G4.js} +1 -1
  37. package/dist/cdn/{D3A6JODU.js → GRQ3RAS2.js} +1 -1
  38. package/dist/cdn/{47EPN7FR.js → GT7N5NKM.js} +1 -1
  39. package/dist/cdn/{5HL7EQRK.js → HOYAL4U2.js} +1 -1
  40. package/dist/cdn/{4TEMFIHR.js → J3AUMK36.js} +1 -1
  41. package/dist/cdn/{I6KD2MMJ.js → JHUXUZ3V.js} +1 -1
  42. package/dist/cdn/{UBOQOV4R.js → JMC5FR6G.js} +1 -1
  43. package/dist/cdn/{YW52HGG5.js → JX5JAG7D.js} +1 -1
  44. package/dist/cdn/{IHFE6MFI.js → K4WZTS5W.js} +1 -1
  45. package/dist/cdn/{IVCIEJ4G.js → KND6442A.js} +1 -1
  46. package/dist/cdn/{X7NFMMYD.js → KTDX5Z2G.js} +1 -1
  47. package/dist/cdn/{6RWJ4N2Q.js → L3C4LMLQ.js} +1 -1
  48. package/dist/cdn/{5WX476SX.js → LGUGOYL5.js} +1 -1
  49. package/dist/cdn/{DYTFQZOO.js → MHIL7RCM.js} +1 -1
  50. package/dist/cdn/{273IJ43I.js → MMRG4Q5Q.js} +1 -1
  51. package/dist/cdn/{EMJJDN2H.js → MZAJOKMM.js} +1 -1
  52. package/dist/cdn/{VZUGRGXA.js → NAFHJZYK.js} +1 -1
  53. package/dist/cdn/{KKLIUCWP.js → NDECGMQR.js} +1 -1
  54. package/dist/cdn/{XZYQVNBK.js → NTDBPHHL.js} +1 -1
  55. package/dist/cdn/{YJUJ2JXY.js → O7SBBJIT.js} +1 -1
  56. package/dist/cdn/{MYR6PJFL.js → OIRY7UKP.js} +1 -1
  57. package/dist/cdn/{7UC2JQPS.js → P6XYFLVZ.js} +1 -1
  58. package/dist/cdn/{ERKURCJE.js → PMMT66SN.js} +1 -1
  59. package/dist/cdn/{PIWPQCJ7.js → PNELR4NS.js} +1 -1
  60. package/dist/cdn/{6OWV7F4O.js → Q44XXOXV.js} +1 -1
  61. package/dist/cdn/{DY2RFK5X.js → Q6DXB7DT.js} +1 -1
  62. package/dist/cdn/{A2TBWLEB.js → QSCUSBOE.js} +1 -1
  63. package/dist/cdn/{7RUDMEC3.js → QXNM2F6D.js} +1 -1
  64. package/dist/cdn/{INRSI4JY.js → R5VDLCQN.js} +1 -1
  65. package/dist/cdn/{WMOWSZUY.js → R623PW73.js} +1 -1
  66. package/dist/cdn/{T35Z5NW4.js → RKYMPBR5.js} +1 -1
  67. package/dist/cdn/{F4HRPOER.js → RW56D36T.js} +1 -1
  68. package/dist/cdn/{XPNVMNSO.js → SEBELUXK.js} +1 -1
  69. package/dist/cdn/{QBQZBIOR.js → SZHT3SPH.js} +1 -1
  70. package/dist/cdn/{AXJC4XS3.js → TQUFEFBE.js} +1 -1
  71. package/dist/cdn/{F7BDZDWJ.js → TR3X4GPJ.js} +1 -1
  72. package/dist/cdn/{KWK2VF72.js → TWACT53N.js} +1 -1
  73. package/dist/cdn/{AQDO3GMP.js → UG74S4GG.js} +1 -1
  74. package/dist/cdn/{6U6W5ZSW.js → VTXTISBO.js} +1 -1
  75. package/dist/cdn/{LX3JDSZQ.js → VWS73BFY.js} +1 -1
  76. package/dist/cdn/{BC262Z6H.js → WAESGWAL.js} +1 -1
  77. package/dist/cdn/{4VKFYSJT.js → WGKZDY7Y.js} +1 -1
  78. package/dist/cdn/{FJG5G3NR.js → XDTACW3D.js} +1 -1
  79. package/dist/cdn/{BNQWCCMX.js → Y5W5WINS.js} +1 -1
  80. package/dist/cdn/{KHOVZWE4.js → YFVUQYKO.js} +1 -1
  81. package/dist/cdn/{4YF43WY7.js → YNOSBB23.js} +1 -1
  82. package/dist/cdn/{A4TOCPEB.js → YWKT5FUP.js} +1 -1
  83. package/dist/cdn/{CQ4UAH3F.js → ZBHRRQNP.js} +1 -1
  84. package/dist/cdn/index.js +1 -1
  85. package/dist/cdn/model/shared/setup-utils.js +1 -1
  86. package/dist/chunks/bar-chart-model.js +1 -1
  87. package/dist/chunks/box-plot-data.js +100 -98
  88. package/dist/chunks/box-plot-model.js +11 -11
  89. package/dist/chunks/chart-model.js +26 -26
  90. package/dist/chunks/chart-ui-utils.js +11 -11
  91. package/dist/chunks/chart-ui-utils2.js +1 -1
  92. package/dist/chunks/class-breaks.js +19 -19
  93. package/dist/chunks/combo-bar-line-chart-model.js +8 -8
  94. package/dist/chunks/data.js +16 -16
  95. package/dist/chunks/gauge-model.js +11 -11
  96. package/dist/chunks/histogram-model.js +9 -9
  97. package/dist/chunks/index.js +1293 -1265
  98. package/dist/chunks/index3.js +1 -1
  99. package/dist/chunks/line-chart-model.js +1 -1
  100. package/dist/chunks/model-with-x-guides.js +1 -1
  101. package/dist/chunks/model-with-y-guides.js +7 -7
  102. package/dist/chunks/pie-chart-model.js +1 -1
  103. package/dist/chunks/radar-chart-model.js +1 -1
  104. package/dist/chunks/scatterplot-model.js +5 -5
  105. package/dist/chunks/serial-chart-data.js +220 -218
  106. package/dist/chunks/serial-chart-model.js +19 -19
  107. package/dist/chunks/x-bounds.js +21 -21
  108. package/dist/components/arcgis-charts-config-create-flow/customElement.js +1 -1
  109. package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
  110. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
  111. package/dist/components/arcgis-charts-config-scatter-plot-aoi/customElement.js +1 -1
  112. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +1 -1
  113. package/dist/docs/api.json +1 -1
  114. package/dist/docs/docs.json +1 -1
  115. package/dist/docs/web-types.json +1 -1
  116. package/dist/index.js +261 -260
  117. package/dist/utils/chart-config/converter/index.js +14 -14
  118. package/dist/utils/chart-config/utils/index.d.ts +10 -3
  119. package/package.json +4 -4
  120. package/dist/cdn/3IQQDZZD.js +0 -2
  121. package/dist/cdn/JY62I5FE.js +0 -2
  122. package/dist/cdn/WOQECVI6.js +0 -4
@@ -1,16 +1,16 @@
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 Y, isEmpty as ne, isEqual as le, cloneDeep as K } from "es-toolkit/compat";
3
+ import { memoize as W, isEmpty as ne, isEqual as le, cloneDeep as K } from "es-toolkit/compat";
4
4
  import { B as f } from "./common.js";
5
5
  import { u as I, g as k, b as U, c as ae, d as E } from "./utils.js";
6
- import { cW as M, cD as ce, cI as D, X as de, a5 as ye, cA as ue, cX as fe, cY as me, B as A, ah as X } from "./index.js";
7
- import { g as Se } from "./series-length.js";
6
+ import { cX as M, cD as ce, cJ as D, X as de, a5 as ye, cA as ue, cY as fe, cZ as me, B, ah as X, cG as Se } from "./index.js";
7
+ import { g as pe } from "./series-length.js";
8
8
  import { s as N } from "./data.js";
9
- import { d as pe } from "./rest-js-object-literals.js";
9
+ import { d as ge } 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 $, l as h, n as ge, t as xe, a9 as j, aa as z, a0 as be, ab as he, _ as Fe, $ as Ae } from "./index2.js";
11
+ import { o as $, l as h, n as xe, t as be, a9 as j, aa as z, a0 as he, ab as Fe, _ as Ae, $ as Be } from "./index2.js";
12
12
  import { i as P } from "./index3.js";
13
- import { s as Be, a as Le } from "./series.js";
13
+ import { s as Ce, a as Le } from "./series.js";
14
14
  const J = (s) => {
15
15
  const { config: e, seriesIndex: t, callback: o } = s;
16
16
  [t !== void 0 ? e.series?.[t] : e.series].flat().forEach((i) => {
@@ -22,10 +22,10 @@ const J = (s) => {
22
22
  config: o,
23
23
  seriesIndex: t,
24
24
  callback: (i) => {
25
- Be(e, i);
25
+ Ce(e, i);
26
26
  }
27
27
  });
28
- }, Ze = (s) => {
28
+ }, es = (s) => {
29
29
  const { width: e, seriesIndex: t, config: o } = s;
30
30
  J({
31
31
  config: o,
@@ -34,52 +34,52 @@ const J = (s) => {
34
34
  Le(e, i);
35
35
  }
36
36
  });
37
- }, es = (s, e) => e?.series?.[s]?.name, ss = (s, e, t) => {
37
+ }, ss = (s, e) => e?.series?.[s]?.name, ts = (s, e, t) => {
38
38
  const o = t;
39
39
  o?.series?.[e] !== void 0 && (o.series[e].name = s);
40
- }, ts = (s, e) => {
40
+ }, is = (s, e) => {
41
41
  let t;
42
42
  const o = e.series?.[s];
43
43
  return o?.type === p.BoxPlotSeries ? t = o.fillSymbol?.color : o?.type === p.LineSeries && (t = o.lineSymbol?.color), t;
44
- }, Ce = (s) => {
44
+ }, we = (s) => {
45
45
  const e = s.series[0];
46
46
  return s.showMean === !0 && M(e) ? e.fillSymbol?.color : void 0;
47
- }, we = (s, e) => {
47
+ }, Te = (s, e) => {
48
48
  const t = e.series[0];
49
49
  e.showMean === !0 && M(t) && (t.fillSymbol !== void 0 ? t.fillSymbol.color = s : t.fillSymbol = {
50
50
  ...$(),
51
51
  color: s
52
52
  });
53
- }, is = (s, e, t) => {
53
+ }, os = (s, e, t) => {
54
54
  const i = t?.series?.[e];
55
55
  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));
56
- }, Te = (s) => s.series.map((e) => e.id), ve = (s, e) => {
56
+ }, ve = (s) => s.series.map((e) => e.id), Oe = (s, e) => {
57
57
  e?.series?.sort(
58
58
  (t, o) => s.findIndex((i) => t.id === i) - s.findIndex((i) => o.id === i)
59
59
  );
60
- }, os = (s, e, t) => {
61
- const o = Te(t), [i] = o.splice(s, 1);
62
- o.splice(e, 0, i), ve(o, t);
63
- }, rs = (s) => V(s) ? s.series.findIndex((e) => e.type === p.BoxPlotSeries) : -1;
64
- function Oe(s, e, t) {
65
- const o = ee(s, e, t), i = Se(s), r = P(s);
60
+ }, rs = (s, e, t) => {
61
+ const o = ve(t), [i] = o.splice(s, 1);
62
+ o.splice(e, 0, i), Oe(o, t);
63
+ }, ns = (s) => V(s) ? s.series.findIndex((e) => e.type === p.BoxPlotSeries) : -1;
64
+ function Ie(s, e, t) {
65
+ const o = ee(s, e, t), i = pe(s), r = P(s);
66
66
  return o === i || r;
67
67
  }
68
68
  function R(s, e, t) {
69
69
  const o = T(s, e, t), i = k(1, s), r = P(s);
70
70
  return o === i || r;
71
71
  }
72
- function Ie(s) {
73
- const { config: e, layerInfo: t, newCategory: o } = s, { layerFieldsInfo: i } = t, r = C(e), n = o !== h ? A(i, r) : "", l = k(0, e), a = P(e);
72
+ function Me(s) {
73
+ const { config: e, layerInfo: t, newCategory: o } = s, { layerFieldsInfo: i } = t, r = L(e), n = o !== h ? B(i, r) : "", l = k(0, e), a = P(e);
74
74
  return n === l || a || l.trim() === "";
75
75
  }
76
- const C = (s) => D(s)?.x ?? h, Me = Y(
76
+ const L = (s) => D(s)?.x ?? h, Pe = W(
77
77
  (s) => {
78
78
  const e = D(s), t = e?.query?.where?.split("=")[0].trim() ?? "";
79
79
  return de(e?.query?.where) ? "" : t;
80
80
  },
81
81
  (s) => D(s)?.query?.where
82
- ), _ = Y(
82
+ ), G = W(
83
83
  // without memoizing, the worst case efficiency is O(series.length), best case is O(1)
84
84
  // with memoizing, the worst case efficiency for repeated calls becomes O(1)
85
85
  (s) => ye(s?.series).filter((e) => e !== ""),
@@ -93,21 +93,21 @@ const C = (s) => D(s)?.x ?? h, Me = Y(
93
93
  query: {}
94
94
  };
95
95
  return K(n);
96
- }, Pe = (s) => {
96
+ }, De = (s) => {
97
97
  const { category: e, seriesIndex: t, y: o, commonStrings: i } = s, n = {
98
- ...be({ commonStrings: i, seriesIndex: t }),
98
+ ...he({ commonStrings: i, seriesIndex: t }),
99
99
  x: e === void 0 || e === "" ? h : e,
100
100
  y: o,
101
101
  query: {}
102
102
  };
103
103
  return K(n);
104
104
  };
105
- function G(s) {
105
+ function _(s) {
106
106
  const { x: e, y: t, seriesTemplate: o, commonStrings: i } = s, { id: r, fillSymbol: n } = o ?? {}, l = j(i), a = r ?? `series_${Date.now()}`;
107
107
  return l.id = a, l.name = a, l.x = e, l.y = t, n ? l.fillSymbol = n : l.fillSymbol && (l.fillSymbol.color = z, l.fillSymbol?.outline && (l.fillSymbol.outline.color = z)), l;
108
108
  }
109
109
  function Q(s) {
110
- const { numericFields: e, config: t, layerInfo: o, category: i, commonStrings: r } = s, { layerFieldsInfo: n } = o, l = [], a = i ?? C(t), y = N({
110
+ const { numericFields: e, config: t, layerInfo: o, category: i, commonStrings: r } = s, { layerFieldsInfo: n } = o, l = [], a = i ?? L(t), y = N({
111
111
  fieldName: a,
112
112
  numericFields: e,
113
113
  fieldList: n
@@ -126,13 +126,13 @@ function Q(s) {
126
126
  seriesIndex: 0,
127
127
  category: a,
128
128
  commonStrings: r
129
- }), 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 ? r.axisLabels.values : A(o.layerFieldsInfo, e[0]), b = d?.name ?? g, B = {
129
+ }), F = t.series.find((A) => le(c, A.y) && A.query?.where === void 0), d = M(F) ? F : void 0, m = d?.id ?? e[0], g = e.length > 1 ? r.axisLabels.values : B(o.layerFieldsInfo, e[0]), b = d?.name ?? g, C = {
130
130
  ...d ?? u,
131
131
  id: m,
132
132
  name: b,
133
133
  x: y ? h : a
134
134
  };
135
- l.push(B);
135
+ l.push(C);
136
136
  } else
137
137
  for (let c = 0; c < e.length; c += 1) {
138
138
  const u = e[c], F = O({
@@ -140,18 +140,18 @@ function Q(s) {
140
140
  seriesIndex: c,
141
141
  category: a,
142
142
  commonStrings: r
143
- }), d = t.series.find((L) => u === L.y), m = M(d) ? d : void 0, g = m?.id ?? u, b = m?.name ?? A(n, u), B = {
143
+ }), d = t.series.find((A) => u === A.y), m = M(d) ? d : void 0, g = m?.id ?? u, b = m?.name ?? B(n, u), C = {
144
144
  ...m ?? F,
145
145
  id: g,
146
146
  name: b,
147
147
  x: a
148
148
  };
149
- l.push(B);
149
+ l.push(C);
150
150
  }
151
151
  return t.series.length === 1 && l.length === 1 && "fillSymbol" in t.series[0] && (l[0].fillSymbol = t.series[0].fillSymbol), l;
152
152
  }
153
- 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);
154
- function Ve(s, e, t) {
153
+ const Z = (s) => s?.query?.where?.split("=")[1].trim().replace(/'/gu, "") ?? "", Ve = (s) => s.series.some((e) => e.type === p.LineSeries) && s.series.some((e) => e.type === p.BoxPlotSeries);
154
+ function ke(s, e, t) {
155
155
  const o = [];
156
156
  return s.forEach((i) => {
157
157
  if (i.type === p.BoxPlotSeries) {
@@ -160,17 +160,17 @@ function Ve(s, e, t) {
160
160
  ...l,
161
161
  type: p.LineSeries,
162
162
  lineSymbol: {
163
- ...xe({ width: he }),
163
+ ...be({ width: Fe }),
164
164
  ...n !== void 0 ? { color: n.color } : {}
165
165
  },
166
166
  markerSymbol: {
167
- ...ge(),
167
+ ...xe(),
168
168
  ...n !== void 0 ? { color: n.color } : {}
169
169
  }
170
170
  });
171
171
  }
172
172
  }), o.unshift(
173
- G({
173
+ _({
174
174
  x: s[0].x,
175
175
  y: s[0].y,
176
176
  seriesTemplate: t,
@@ -178,7 +178,7 @@ function Ve(s, e, t) {
178
178
  })
179
179
  ), o;
180
180
  }
181
- function ke(s) {
181
+ function Ne(s) {
182
182
  const e = s.slice(1), t = [];
183
183
  return e.forEach((o) => {
184
184
  if (o.type === p.LineSeries) {
@@ -194,7 +194,7 @@ function ke(s) {
194
194
  }
195
195
  }), t;
196
196
  }
197
- function Z(s) {
197
+ function H(s) {
198
198
  const { formerSeries: e, newSeries: t, showMean: o } = s;
199
199
  let i = t;
200
200
  const r = (a) => a.type === (o ? p.LineSeries : p.BoxPlotSeries), n = e.filter(r).map((a) => a.id), l = t.filter(r).map((a) => a.id);
@@ -202,7 +202,7 @@ function Z(s) {
202
202
  (a, y) => n.findIndex((c) => c === a.id) - n.findIndex((c) => c === y.id)
203
203
  )), i;
204
204
  }
205
- function Ne(s) {
205
+ function qe(s) {
206
206
  const {
207
207
  config: e,
208
208
  layerInfo: t,
@@ -211,9 +211,9 @@ function Ne(s) {
211
211
  numericFields: r,
212
212
  category: n,
213
213
  splitByFieldInfos: l
214
- } = s, a = n ?? C(e), { categoriesArray: y, splitByFieldType: c } = l;
214
+ } = s, a = n ?? L(e), { categoriesArray: y, splitByFieldType: c } = l;
215
215
  let u = [];
216
- const F = De(e);
216
+ const F = Ve(e);
217
217
  if (y.length === 0) {
218
218
  u = Q({
219
219
  numericFields: r,
@@ -231,30 +231,32 @@ function Ne(s) {
231
231
  seriesIndex: d,
232
232
  category: a,
233
233
  commonStrings: o
234
- }, b = F ? Pe(g) : O(g), w = X({
234
+ }, b = F ? De(g) : O(g), w = X({
235
235
  queryObject: t.layer,
236
236
  fieldName: i,
237
237
  fieldValue: m ?? ""
238
- }), B = `${m}`, L = e.series.find((re) => H(re) === B), ie = L?.name ?? w ?? B, q = L ?? b, oe = {
238
+ }), C = `${m}`, A = e.series.find((re) => Z(re) === C), ie = A?.name ?? w ?? C;
239
+ Se(A, b);
240
+ const q = A ?? b, oe = {
239
241
  ...q,
240
- id: B,
242
+ id: C,
241
243
  name: ie,
242
244
  x: a === void 0 || a === "" ? h : a,
243
245
  y: b.y,
244
246
  // always update y values based on default generated value
245
247
  query: {
246
248
  ...q.query,
247
- where: `${i}=${c === pe.String && m !== null ? `'${m}'` : m}`
249
+ where: `${i}=${c === ge.String && m !== null ? `'${m}'` : m}`
248
250
  }
249
251
  };
250
252
  u.push(oe);
251
253
  }
252
- if (u = Z({
254
+ if (u = H({
253
255
  formerSeries: e.series,
254
256
  newSeries: u,
255
257
  showMean: V(e)
256
258
  }), V(e)) {
257
- const d = e.series.find((g) => g.type === p.BoxPlotSeries), m = G({
259
+ const d = e.series.find((g) => g.type === p.BoxPlotSeries), m = _({
258
260
  x: a,
259
261
  y: r,
260
262
  seriesTemplate: d,
@@ -264,10 +266,10 @@ function Ne(s) {
264
266
  }
265
267
  return u;
266
268
  }
267
- const ns = (s) => {
268
- const { splitByField: e, numericFields: t, category: o, config: i, layerInfo: r, commonStrings: n, splitByFieldInfos: l } = s, { layerFieldsInfo: a } = r, y = ze(o, t, e), c = me(a), u = C(i), F = Oe(i, r, n), d = R(i, r, n), m = Ie({ config: i, layerInfo: r, newCategory: o });
269
+ const ls = (s) => {
270
+ const { splitByField: e, numericFields: t, category: o, config: i, layerInfo: r, commonStrings: n, splitByFieldInfos: l } = s, { layerFieldsInfo: a } = r, y = Ye(o, t, e), c = me(a), u = L(i), F = Ie(i, r, n), d = R(i, r, n), m = Me({ config: i, layerInfo: r, newCategory: o });
269
271
  let g = U(i);
270
- if (!c.includes(u) && c.includes(o) ? g = Fe() : c.includes(u) && !c.includes(o) && (g = Ae()), g !== void 0 && ae(i, n, g), W(y ? { newShowMeanLines: i.showMean, config: i, commonStrings: n } : { newShowMeanLines: !1, config: i, commonStrings: n }), i.series = y && l ? Ne({
272
+ if (!c.includes(u) && c.includes(o) ? g = Ae() : c.includes(u) && !c.includes(o) && (g = Be()), g !== void 0 && ae(i, n, g), Y(y ? { newShowMeanLines: i.showMean, config: i, commonStrings: n } : { newShowMeanLines: !1, config: i, commonStrings: n }), i.series = y && l ? qe({
271
273
  config: i,
272
274
  layerInfo: r,
273
275
  splitByField: e,
@@ -286,7 +288,7 @@ const ns = (s) => {
286
288
  fieldName: o,
287
289
  numericFields: t,
288
290
  fieldList: a
289
- }) ? "" : A(a, o);
291
+ }) ? "" : B(a, o);
290
292
  I(i, 0, w);
291
293
  }
292
294
  if (d) {
@@ -294,14 +296,14 @@ const ns = (s) => {
294
296
  I(i, 1, b);
295
297
  }
296
298
  i?.title !== void 0 && F && (i.title.content.text = ee(i, r, n)), E({ config: i, value: null, axisIndex: 1, isMax: !1 }), E({ config: i, value: null, axisIndex: 1, isMax: !0 });
297
- }, qe = (s) => s?.standardizeValues ?? !1;
299
+ }, Ee = (s) => s?.standardizeValues ?? !1;
298
300
  function T(s, e, t) {
299
301
  const { layerFieldsInfo: o } = e;
300
- let r = qe(s) ? t.axisLabels.standardizedValues : t.axisLabels.values, n = s?.series?.map((l) => l.y).flat();
301
- return n = [...new Set(n)], n.length === 1 && (r = A(o, n[0])), r;
302
+ let r = Ee(s) ? t.axisLabels.standardizedValues : t.axisLabels.values, n = s?.series?.map((l) => l.y).flat();
303
+ return n = [...new Set(n)], n.length === 1 && (r = B(o, n[0])), r;
302
304
  }
303
305
  function ee(s, e, t) {
304
- const { layerFieldsInfo: o } = e, i = C(s), r = _(s), n = Me(s), l = r.map((c) => A(o ?? [], c)).join(", "), a = A(o ?? [], i);
306
+ const { layerFieldsInfo: o } = e, i = L(s), r = G(s), n = Pe(s), l = r.map((c) => B(o ?? [], c)).join(", "), a = B(o ?? [], i);
305
307
  let y = "";
306
308
  return r.length > 0 && (i !== h && n !== "" ? y = v(t.titleLabels.distributionOfFieldsByCategoryAndSplitBy, {
307
309
  valueFields: l,
@@ -317,21 +319,21 @@ function ee(s, e, t) {
317
319
  valueField: l
318
320
  })), y;
319
321
  }
320
- const ls = (s) => {
322
+ const as = (s) => {
321
323
  const { series: e, splitByField: t, layerInfo: o, commonStrings: i } = s;
322
- let r = typeof e.y == "string" ? A(o.layerFieldsInfo, e.y) : i.axisLabels.values;
323
- return ne(t) || (r = H(e)), r = X({
324
+ let r = typeof e.y == "string" ? B(o.layerFieldsInfo, e.y) : i.axisLabels.values;
325
+ return ne(t) || (r = Z(e)), r = X({
324
326
  queryObject: o.layer,
325
327
  fieldName: t,
326
328
  fieldValue: r ?? ""
327
329
  }) ?? r, r ?? e.id;
328
- }, as = (s) => s?.showOutliers ?? !1, cs = (s) => {
330
+ }, cs = (s) => s?.showOutliers ?? !1, ds = (s) => {
329
331
  const { newShowOutliers: e, config: t, layerInfo: o, commonStrings: i } = s;
330
332
  if (t.showOutliers = e, R(t, o, i)) {
331
333
  const n = T(t, o, i);
332
334
  I(t, 1, n);
333
335
  }
334
- }, ds = (s) => {
336
+ }, ys = (s) => {
335
337
  const { newStandardizeValues: e, config: t, layerInfo: o, commonStrings: i } = s, r = k(1, t), n = T(t, o, i), l = P(t);
336
338
  if (t.standardizeValues = e, r === n || l) {
337
339
  const a = T(t, o, i);
@@ -352,7 +354,7 @@ const ls = (s) => {
352
354
  break;
353
355
  }
354
356
  return e;
355
- }, ys = (s, e, t) => {
357
+ }, us = (s, e, t) => {
356
358
  let o = S.Category, i = x.Ascending;
357
359
  if (e.orderOptions = e.orderOptions ?? {}, s === f.customSort && t !== void 0)
358
360
  e.orderOptions.data = {
@@ -391,30 +393,30 @@ const ls = (s) => {
391
393
  orderBy: i
392
394
  };
393
395
  }
394
- }, V = (s) => s.showMean ?? !1, W = (s) => {
395
- const { newShowMeanLines: e = !1, config: t, commonStrings: o, previousMeanLinesBoxColor: i } = s, r = e ? i : Ce(t), n = (e ?? !1) !== (t.showMean ?? !1);
396
+ }, V = (s) => s.showMean ?? !1, Y = (s) => {
397
+ const { newShowMeanLines: e = !1, config: t, commonStrings: o, previousMeanLinesBoxColor: i } = s, r = e ? i : we(t), n = (e ?? !1) !== (t.showMean ?? !1);
396
398
  if (t.showMean = e, n) {
397
399
  let l;
398
- e ? l = fe(t.series) ? Ve(t.series, o) : t.series : l = ke(t.series), l && (l = Z({
400
+ e ? l = fe(t.series) ? ke(t.series, o) : t.series : l = Ne(t.series), l && (l = H({
399
401
  formerSeries: t.series,
400
402
  newSeries: l,
401
403
  showMean: e
402
404
  }), t.series = l);
403
405
  }
404
- return e && i !== void 0 && we(i, t), { previousMeanLinesBoxColor: r };
405
- }, us = (s) => {
406
+ return e && i !== void 0 && Te(i, t), { previousMeanLinesBoxColor: r };
407
+ }, fs = (s) => {
406
408
  let e = [];
407
409
  const t = s.orderOptions?.data?.orderType;
408
410
  return se(s) === f.customSort && t === S.Category && (e = s.orderOptions?.data?.orderBy), e;
409
- }, fs = (s, e) => {
411
+ }, ms = (s, e) => {
410
412
  e.orderOptions ??= {};
411
413
  const t = e.orderOptions?.data?.orderType;
412
414
  se(e) === f.customSort && t === S.Category && (e.orderOptions.data = {
413
415
  orderType: S.Category,
414
416
  orderBy: s
415
417
  });
416
- }, ms = async (s) => {
417
- const { config: e, layerInfo: t, num: o, errorStrings: i } = s, r = C(e), n = U(e)?.type, l = _(e);
418
+ }, Ss = async (s) => {
419
+ const { config: e, layerInfo: t, num: o, errorStrings: i } = s, r = L(e), n = U(e)?.type, l = G(e);
418
420
  let a = [];
419
421
  return n === p.CategoryAxisFormat && (N({
420
422
  fieldName: r,
@@ -427,39 +429,39 @@ const ls = (s) => {
427
429
  num: o,
428
430
  errorStrings: i
429
431
  }))), a;
430
- }, te = (s) => s.trim() === "" || s === h, Ee = (s, e) => e.length > 1 && !te(s), ze = (s, e, t) => !Ee(s, e) && t !== "";
432
+ }, te = (s) => s.trim() === "" || s === h, ze = (s, e) => e.length > 1 && !te(s), Ye = (s, e, t) => !ze(s, e) && t !== "";
431
433
  export {
432
- Te as A,
433
- ve as B,
434
- os as C,
435
- rs as D,
434
+ ve as A,
435
+ Oe as B,
436
+ rs as C,
437
+ ns as D,
436
438
  ee as E,
437
439
  T as F,
438
- ls as G,
439
- C as a,
440
- _ as b,
441
- Me as c,
442
- as as d,
443
- cs as e,
444
- qe as f,
440
+ as as G,
441
+ L as a,
442
+ G as b,
443
+ Pe as c,
444
+ cs as d,
445
+ ds as e,
446
+ Ee as f,
445
447
  V as g,
446
- ds as h,
448
+ ys as h,
447
449
  se as i,
448
- ys as j,
449
- ms as k,
450
- us as l,
451
- fs as m,
452
- W as n,
453
- Ce as o,
454
- we as p,
455
- ze as q,
456
- ns as r,
457
- Ee as s,
450
+ us as j,
451
+ Ss as k,
452
+ fs as l,
453
+ ms as m,
454
+ Y as n,
455
+ we as o,
456
+ Te as p,
457
+ Ye as q,
458
+ ls as r,
459
+ ze as s,
458
460
  te as t,
459
- es as u,
460
- ss as v,
461
- ts as w,
462
- is as x,
461
+ ss as u,
462
+ ts as v,
463
+ is as w,
464
+ os as x,
463
465
  He as y,
464
- Ze as z
466
+ es as z
465
467
  };
@@ -3,7 +3,7 @@ import { isEqual as W } from "es-toolkit/compat";
3
3
  import { log as y } from "@arcgis/toolkit/log";
4
4
  import { a as O } from "./chart-object-literals.js";
5
5
  import { l as p, ap as D, a9 as P, g as R, aa as m, an as u, ab as S, r as A } from "./index2.js";
6
- import { eK as V, eJ as T, cI as E, eL as N, cD as h, eI as z } from "./index.js";
6
+ import { eM as V, eL as T, cJ as E, eN as N, cD as h, eK as z } from "./index.js";
7
7
  import { m as s } from "./model-setter.js";
8
8
  import { B as U } from "./common.js";
9
9
  import { M as X, a as K, W as j, b as q } from "./data-labels-visibility.js";
@@ -14,7 +14,7 @@ import { W as ee, a as te } from "./x-bounds.js";
14
14
  import { W as ie } from "./data-labels-symbol.js";
15
15
  import { W as se } from "./rotated-state.js";
16
16
  import { g as re, b as oe, s as ne, a as ae } from "./series.js";
17
- import { s as le, d as he, e as ce, f as ge, h as de, i as g, j as d, k as _, l as L, m as B, g as fe, n as ye, o as pe, p as C, a as me, c as ue, b as Se, q as _e, r as F, t as Le, u as Be, v as I, w as Ce, x as M, y as Fe, z as Ie, A as Me, B as xe, C as be, D as ve, E as we, F as We, G as x } from "./box-plot-data.js";
17
+ import { s as le, d as he, e as ce, f as ge, h as de, i as g, j as d, k as _, l as L, m as B, g as fe, n as ye, o as pe, p as C, a as me, c as ue, b as Se, q as _e, r as F, t as Le, u as Be, v as M, w as Ce, x, y as Fe, z as Me, A as xe, B as Ie, C as be, D as ve, E as we, F as We, G as I } from "./box-plot-data.js";
18
18
  import { C as Oe } from "./chart-model.js";
19
19
  var De = Object.defineProperty, Pe = Object.getOwnPropertyDescriptor, r = (c, e, t, n) => {
20
20
  for (var o = Pe(e, t), a = c.length - 1, l; a >= 0; a--)
@@ -338,7 +338,7 @@ class i extends Oe {
338
338
  return Be(e, this._config);
339
339
  }
340
340
  setSeriesName(e, t) {
341
- I(e, t, this._config);
341
+ M(e, t, this._config);
342
342
  }
343
343
  /**
344
344
  * Gets the color of the series based on the series index. If the index is out of bounds, it will return `undefined`.
@@ -349,7 +349,7 @@ class i extends Oe {
349
349
  return Ce(e, this._config);
350
350
  }
351
351
  setSeriesColor(e, t) {
352
- M(e, t, this._config);
352
+ x(e, t, this._config);
353
353
  }
354
354
  /**
355
355
  * Gets the line style of the series based on the series index. If the index is out of bounds, it will return `undefined`.
@@ -379,7 +379,7 @@ class i extends Oe {
379
379
  return oe(t);
380
380
  }
381
381
  setSeriesLineWidth(e, t) {
382
- this.showMeanLines === !0 && Ie({ width: e, seriesIndex: t, config: this._config });
382
+ this.showMeanLines === !0 && Me({ width: e, seriesIndex: t, config: this._config });
383
383
  }
384
384
  /**
385
385
  * The order of the series array as an array of series ids.
@@ -391,10 +391,10 @@ class i extends Oe {
391
391
  * orders categories or summary statistics within the chart data.
392
392
  */
393
393
  get orderOfSeries() {
394
- return Me(this._config);
394
+ return xe(this._config);
395
395
  }
396
396
  set orderOfSeries(e) {
397
- xe(e, this._config);
397
+ Ie(e, this._config);
398
398
  }
399
399
  moveSeries(e, t) {
400
400
  be(e, t, this._config);
@@ -432,14 +432,14 @@ class i extends Oe {
432
432
  colorIndex: e,
433
433
  opacity: A
434
434
  }), o = this._config.series[e];
435
- M(n, e, this._config);
436
- const a = x({
435
+ x(n, e, this._config);
436
+ const a = I({
437
437
  series: o,
438
438
  splitByField: this._splitByField,
439
439
  layerInfo: this.layerInfo,
440
440
  commonStrings: this.commonStrings
441
441
  });
442
- I(a ?? t, e, this._config), this.showMeanLines === !0 && h(o) && (ne(u, o), ae(S, o));
442
+ M(a ?? t, e, this._config), this.showMeanLines === !0 && h(o) && (ne(u, o), ae(S, o));
443
443
  }
444
444
  this.showMeanLines === !0 && C(m, this._config), this._config.colorMatch = !0;
445
445
  }
@@ -451,7 +451,7 @@ class i extends Oe {
451
451
  let n = !1, o = !1;
452
452
  if (!e)
453
453
  for (let a = this.showMeanLines === !0 ? 1 : 0; a < this.seriesLength; a += 1) {
454
- const l = this._config.series[a], f = x({
454
+ const l = this._config.series[a], f = I({
455
455
  series: l,
456
456
  splitByField: this._splitByField,
457
457
  layerInfo: this.layerInfo,