@arcgis/charts-components 5.2.0-next.114 → 5.2.0-next.115

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 (103) hide show
  1. package/dist/cdn/{NWLALCT2.js → 2KF6G3TW.js} +1 -1
  2. package/dist/cdn/{6PJZNXE3.js → 2M6NOWZH.js} +1 -1
  3. package/dist/cdn/{667QTWV7.js → 2RX7CFJZ.js} +1 -1
  4. package/dist/cdn/{5SSI6USD.js → 2T7ZUVHP.js} +1 -1
  5. package/dist/cdn/{MZL56CPH.js → 34JAB5UH.js} +1 -1
  6. package/dist/cdn/{JTKC5SCU.js → 3BLSEO47.js} +1 -1
  7. package/dist/cdn/{L2PF5ID2.js → 3DN2BHOQ.js} +1 -1
  8. package/dist/cdn/{D6QQH5HJ.js → 3HPWU5ID.js} +1 -1
  9. package/dist/cdn/{4YCRCBIC.js → 3P5DXQON.js} +1 -1
  10. package/dist/cdn/{2MCYVG7K.js → 3YIN5ZR6.js} +1 -1
  11. package/dist/cdn/{SEF6MDKB.js → 4EEANOMS.js} +1 -1
  12. package/dist/cdn/{EFUKNOAB.js → 4YMHNMGU.js} +1 -1
  13. package/dist/cdn/{EKT5V4TI.js → 53TSMZAM.js} +1 -1
  14. package/dist/cdn/566ODMCM.js +4 -0
  15. package/dist/cdn/{76CEAJUG.js → 5JACBJVQ.js} +1 -1
  16. package/dist/cdn/5NLH5NS2.js +3 -0
  17. package/dist/cdn/{E3QHTISV.js → 5OD74CU7.js} +1 -1
  18. package/dist/cdn/{Z36PSAIT.js → 6FXRJNB7.js} +1 -1
  19. package/dist/cdn/{6KING4YQ.js → 6OFVY2BU.js} +1 -1
  20. package/dist/cdn/{7J5X5RNF.js → 6RFRWYM2.js} +1 -1
  21. package/dist/cdn/{MS56HMZ7.js → 75EPETWU.js} +1 -1
  22. package/dist/cdn/{AYA7WEUX.js → 7CLOBWEI.js} +1 -1
  23. package/dist/cdn/{V447JTLE.js → 7D5IELSU.js} +1 -1
  24. package/dist/cdn/{BD4Q632U.js → 7DX2X2M6.js} +1 -1
  25. package/dist/cdn/{XPBLQULK.js → 7ESDYEUI.js} +1 -1
  26. package/dist/cdn/{AAKW4RVS.js → 7GYKQBI2.js} +1 -1
  27. package/dist/cdn/{L3MNB4ZO.js → 7L6JYKL3.js} +2 -2
  28. package/dist/cdn/{YBPIYXAK.js → ACY2RJG6.js} +1 -1
  29. package/dist/cdn/{ZRFMWOMA.js → AKJDIMQC.js} +1 -1
  30. package/dist/cdn/{6E2B7CYX.js → AOZG77WL.js} +1 -1
  31. package/dist/cdn/{EJUE2DFB.js → AQAGHRYN.js} +1 -1
  32. package/dist/cdn/{2YTIBCVH.js → BKHAERW7.js} +1 -1
  33. package/dist/cdn/CHV2N66C.js +2 -0
  34. package/dist/cdn/{EFR7NE4H.js → CIK43DDR.js} +1 -1
  35. package/dist/cdn/{GVTUNNPZ.js → CMECSKKT.js} +1 -1
  36. package/dist/cdn/{KPL6JB55.js → CNKLZHH7.js} +1 -1
  37. package/dist/cdn/{BDFAWIG5.js → CO3FBKOL.js} +1 -1
  38. package/dist/cdn/{6QQBEX6H.js → D5NCBP6F.js} +1 -1
  39. package/dist/cdn/{BFPIRUDN.js → D6PBW53D.js} +1 -1
  40. package/dist/cdn/{EI4CJAER.js → DCW2ZBK4.js} +1 -1
  41. package/dist/cdn/{PB4AFEXI.js → DWXKIA5H.js} +1 -1
  42. package/dist/cdn/{34ZS7EFE.js → F7JZQQEQ.js} +1 -1
  43. package/dist/cdn/{U3IE3PZ7.js → FIIRJDC2.js} +1 -1
  44. package/dist/cdn/{LLRUDYD7.js → GQDSTKYF.js} +1 -1
  45. package/dist/cdn/{3YZBG2FY.js → GVQYJBVB.js} +1 -1
  46. package/dist/cdn/{7HZESUQT.js → GXHUAPY5.js} +1 -1
  47. package/dist/cdn/{CSXK4RI6.js → HAVT2ATQ.js} +1 -1
  48. package/dist/cdn/{DWXB2VFB.js → HCDDOFOP.js} +1 -1
  49. package/dist/cdn/HHW3YRII.js +2 -0
  50. package/dist/cdn/{ALGN4ACL.js → HPQZQRHD.js} +1 -1
  51. package/dist/cdn/{L547CXPU.js → I75CEBPU.js} +1 -1
  52. package/dist/cdn/{VY3IKBCP.js → IBEXJF3Q.js} +1 -1
  53. package/dist/cdn/{DU2BXW2U.js → IUBSW7JZ.js} +1 -1
  54. package/dist/cdn/{RGKJ27TT.js → IVRYUXG3.js} +1 -1
  55. package/dist/cdn/{MPJ5VL4B.js → JG6GHMP7.js} +1 -1
  56. package/dist/cdn/{ATTLONPQ.js → JMVO446U.js} +1 -1
  57. package/dist/cdn/{37JHDGGH.js → JOAG4YGY.js} +1 -1
  58. package/dist/cdn/{BZ4UL3SH.js → JPMGLG7L.js} +1 -1
  59. package/dist/cdn/{A27CU7YC.js → JRNZ74TV.js} +1 -1
  60. package/dist/cdn/{HG2ZQ4FH.js → KMM4522Z.js} +1 -1
  61. package/dist/cdn/{FMRKH7CQ.js → KOXVXSWF.js} +1 -1
  62. package/dist/cdn/{DPFXPBDX.js → KTMIUASB.js} +1 -1
  63. package/dist/cdn/{MPDUPJ27.js → LVMKNGET.js} +1 -1
  64. package/dist/cdn/{AHNVPKZ3.js → MAUH77PP.js} +1 -1
  65. package/dist/cdn/{QDOX7KHY.js → NDW5WZHO.js} +1 -1
  66. package/dist/cdn/{EVG3BZC3.js → NJOQ5MC6.js} +19 -19
  67. package/dist/cdn/{PJQFTLWH.js → NORI6CPC.js} +1 -1
  68. package/dist/cdn/{2VKBTPNZ.js → OJ4IPOIX.js} +1 -1
  69. package/dist/cdn/{P5GJO5B6.js → PB2TARKD.js} +1 -1
  70. package/dist/cdn/{GA63KDPD.js → PKBRCR4Y.js} +1 -1
  71. package/dist/cdn/{X2V3HNHL.js → PS2SISM7.js} +1 -1
  72. package/dist/cdn/{UO5TMG7I.js → QBMK6EE3.js} +1 -1
  73. package/dist/cdn/{ULLU3CEO.js → QWBGD3GZ.js} +1 -1
  74. package/dist/cdn/{NKDOMQAR.js → QXAP7DRB.js} +1 -1
  75. package/dist/cdn/{6654NT2G.js → SYCVCYOW.js} +1 -1
  76. package/dist/cdn/{U46W3EHZ.js → SZAJUT6D.js} +1 -1
  77. package/dist/cdn/{MUMEV2DT.js → TH2ZBUJD.js} +1 -1
  78. package/dist/cdn/{ONN32R5O.js → TPNCYNX4.js} +1 -1
  79. package/dist/cdn/{YDOVIGG4.js → UYMG3L2D.js} +1 -1
  80. package/dist/cdn/{FST35U4F.js → V5FIMV2Y.js} +1 -1
  81. package/dist/cdn/{XJFY5UHN.js → VBESINVQ.js} +1 -1
  82. package/dist/cdn/{DTOBNYL7.js → WCK7BM4P.js} +1 -1
  83. package/dist/cdn/{DXPHLNX4.js → XFWCKK3S.js} +1 -1
  84. package/dist/cdn/{42RYQOPR.js → ZEQQTM2Z.js} +1 -1
  85. package/dist/cdn/index.js +1 -1
  86. package/dist/cdn/model/shared/setup-utils.js +1 -1
  87. package/dist/chunks/index.js +2153 -2058
  88. package/dist/chunks/index2.js +34 -34
  89. package/dist/chunks/index4.js +1 -1
  90. package/dist/chunks/serial-chart-data.js +1 -1
  91. package/dist/chunks/web-component-utils.js +135 -135
  92. package/dist/components/arcgis-chart/customElement.js +2674 -2662
  93. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +1 -1
  94. package/dist/docs/api.json +1 -1
  95. package/dist/docs/docs.json +1 -1
  96. package/dist/docs/web-types.json +1 -1
  97. package/dist/utils/chart-config/converter/index.js +1 -1
  98. package/dist/utils/misc/interfaces.d.ts +7 -7
  99. package/package.json +4 -4
  100. package/dist/cdn/5FP66CO4.js +0 -2
  101. package/dist/cdn/6IVB6SYO.js +0 -3
  102. package/dist/cdn/LSCDFGG7.js +0 -4
  103. package/dist/cdn/WULGRUTL.js +0 -2
@@ -1,5 +1,5 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import { capitalize as v, isNumber as H, zip as ae, isEqual as ue } from "lodash-es";
2
+ import { capitalize as S, isNumber as H, zip as ae, isEqual as ue } from "lodash-es";
3
3
  import { H as W } from "./interfaces.js";
4
4
  import { g as ce, a as q, b as oe, c as _ } from "./box-plot-data.js";
5
5
  import { g as fe } from "./histogram-data.js";
@@ -7,15 +7,15 @@ import { g as me, a as de, b as ye } from "./pie-chart-data.js";
7
7
  import { a as ie } from "./series-length.js";
8
8
  import { g as re, d as le, e as ge } from "./serial-chart-data.js";
9
9
  import { g as z, a as pe } from "./data.js";
10
- import { p as U, r as be, q as xe, U as E, H as Fe, P as V, a1 as De, aO as Se, bI as ve } from "./index.js";
11
- import { i as Y, J as $, l as I, K as Be, L as he, M as Q } from "./index3.js";
10
+ import { p as U, r as be, q as xe, U as E, H as Fe, P, a1 as Ce, aO as De, bI as Se } from "./index.js";
11
+ import { i as Y, J as $, l as I, K as ve, L as Be, M as Q } from "./index3.js";
12
12
  import { i as K, a as g, C as A } from "./index2.js";
13
- import { g as Pe } from "./series-types.js";
14
- import { V as Ve } from "./index5.js";
13
+ import { g as he } from "./series-types.js";
14
+ import { V as Pe } from "./index5.js";
15
15
  import { DateTime as ne } from "luxon";
16
16
  import { P as X } from "./common.js";
17
17
  import { a as k, l as L } from "./chart-object-literals.js";
18
- import { d as Ce } from "./rest-js-object-literals.js";
18
+ import { d as Ve } from "./rest-js-object-literals.js";
19
19
  function Le(l) {
20
20
  const { hour: e, minute: t = 0, format: a, locale: o = "en-US" } = l, i = a && Object.keys(a).length > 0 ? a : {
21
21
  hour: "numeric",
@@ -56,7 +56,7 @@ function J(l) {
56
56
  label: i.heatChartCalendarDatePartsUnits.dayOfWeek,
57
57
  value: Ae({
58
58
  weekdayNumber: e,
59
- firstDayOfWeek: "firstDayOfWeek" in o ? o.firstDayOfWeek : Be,
59
+ firstDayOfWeek: "firstDayOfWeek" in o ? o.firstDayOfWeek : ve,
60
60
  locale: t
61
61
  })
62
62
  };
@@ -153,11 +153,11 @@ function ct(l, e = {}) {
153
153
  const f = t ?? Object.keys(l[0]), u = [], p = a ?? we(r ?? "en");
154
154
  if (r !== void 0 && p !== "," && (c += `sep=${p}\r
155
155
  `), o) {
156
- const B = f.map((b) => G({ value: b, quoteAll: i, locale: r, roundDecimals: n }));
157
- u.push(B.join(p));
156
+ const v = f.map((b) => G({ value: b, quoteAll: i, locale: r, roundDecimals: n }));
157
+ u.push(v.join(p));
158
158
  }
159
- l.forEach((B) => {
160
- const b = f.map((x) => G({ value: B[x], quoteAll: i, locale: r, roundDecimals: n }));
159
+ l.forEach((v) => {
160
+ const b = f.map((x) => G({ value: v[x], quoteAll: i, locale: r, roundDecimals: n }));
161
161
  u.push(b.join(p));
162
162
  }), c += u.join(`\r
163
163
  `);
@@ -168,7 +168,7 @@ function ft(l) {
168
168
  const { rawData: e, config: t, layer: a, fieldList: o, formatters: i, useRendererLabel: r, timeZone: n, formatLocale: s, utilsStrings: c } = l;
169
169
  let f = [];
170
170
  if (t !== void 0 && Array.isArray(e) && e.length > 0) {
171
- const u = Pe(t?.series);
171
+ const u = he(t?.series);
172
172
  u === k.HistogramSeries ? f = Ie(
173
173
  t,
174
174
  e,
@@ -208,7 +208,7 @@ function ft(l) {
208
208
  }
209
209
  return f;
210
210
  }
211
- function h(l) {
211
+ function B(l) {
212
212
  const { value: e, originalValue: t, formatter: a } = l;
213
213
  let o = e;
214
214
  return a !== void 0 && (e === null || e instanceof Date || typeof e == "number" || typeof e == "string") && (o = a(e, t)), o;
@@ -222,7 +222,7 @@ function M(l) {
222
222
  const f = Ne({
223
223
  fieldName: e,
224
224
  dataContext: a
225
- }) ?? (o !== void 0 && (typeof t == "string" || typeof t == "number") ? De({
225
+ }) ?? (o !== void 0 && (typeof t == "string" || typeof t == "number") ? Ce({
226
226
  queryObject: o,
227
227
  fieldName: e,
228
228
  fieldValue: t
@@ -235,7 +235,7 @@ function M(l) {
235
235
  });
236
236
  } else
237
237
  s = t;
238
- return h({
238
+ return B({
239
239
  value: s,
240
240
  originalValue: t,
241
241
  formatter: r
@@ -269,7 +269,7 @@ function $e(l, e) {
269
269
  }
270
270
  function Ne(l) {
271
271
  const { fieldName: e, dataContext: t } = l, a = A.rendererSymbolField;
272
- return e === a && t !== void 0 ? ve(t) : void 0;
272
+ return e === a && t !== void 0 ? Se(t) : void 0;
273
273
  }
274
274
  function ee(l) {
275
275
  const { config: e, splitByField: t, splitByValue: a, splitByValueIndex: o, layer: i, fieldList: r, timeZone: n } = l;
@@ -293,60 +293,60 @@ function Te(l) {
293
293
  fieldList: o
294
294
  });
295
295
  return t.map((p) => {
296
- const B = p[Y.xField], b = p[Y.yField], x = p[Y.valueField], D = typeof x == "number" && Number.isFinite(x) ? x.toFixed(2) : x;
297
- let m = { label: n.x, value: B }, d = { label: n.y, value: b };
296
+ const v = p[Y.xField], b = p[Y.yField], x = p[Y.valueField], C = typeof x == "number" && Number.isFinite(x) ? x.toFixed(2) : x;
297
+ let m = { label: n.x, value: v }, d = { label: n.y, value: b };
298
298
  if (n.xTemporalBinning !== void 0) {
299
- const { label: F, value: S } = J({
300
- value: Number(B),
299
+ const { label: F, value: D } = J({
300
+ value: Number(v),
301
301
  config: e,
302
302
  formatLocale: i,
303
303
  unit: n.xTemporalBinning.unit,
304
304
  utilsStrings: r
305
305
  });
306
- !K(F) && !K(S) && (m = { label: F, value: S });
306
+ !K(F) && !K(D) && (m = { label: F, value: D });
307
307
  }
308
308
  if (n.yTemporalBinning !== void 0) {
309
- const { label: F, value: S } = J({
309
+ const { label: F, value: D } = J({
310
310
  value: Number(b),
311
311
  config: e,
312
312
  formatLocale: i,
313
313
  unit: n.yTemporalBinning.unit,
314
314
  utilsStrings: r
315
315
  });
316
- !K(F) && !K(S) && (d = { label: F, value: S });
316
+ !K(F) && !K(D) && (d = { label: F, value: D });
317
317
  }
318
318
  return {
319
319
  [m.label]: m.value,
320
320
  [d.label]: d.value,
321
- [u.description]: D
321
+ [u.description]: C
322
322
  };
323
323
  });
324
324
  }
325
325
  function Ie(l, e, t) {
326
- const a = fe(l), o = `${v(W.Min)} of ${a}`, i = `${v(W.Max)} of ${a}`, r = `${v(W.Count)} of ${a}`;
326
+ const a = fe(l), o = `${S(W.Min)} of ${a}`, i = `${S(W.Max)} of ${a}`, r = `${S(W.Count)} of ${a}`;
327
327
  return e.map((n) => {
328
- const { minValue: s, maxValue: c, count: f } = n, u = H(s), p = H(c), B = H(f), b = {};
329
- if (u && (b[o] = h({
328
+ const { minValue: s, maxValue: c, count: f } = n, u = H(s), p = H(c), v = H(f), b = {};
329
+ if (u && (b[o] = B({
330
330
  value: s,
331
331
  originalValue: s,
332
332
  formatter: t?.xAxisLabelFormatter
333
- })), p && (b[i] = h({
333
+ })), p && (b[i] = B({
334
334
  value: c,
335
335
  originalValue: c,
336
336
  formatter: t?.xAxisLabelFormatter
337
337
  })), u && p) {
338
- const x = h({
338
+ const x = B({
339
339
  value: s,
340
340
  originalValue: s,
341
341
  formatter: t?.xAxisLabelFormatter
342
- }), D = h({
342
+ }), C = B({
343
343
  value: c,
344
344
  originalValue: c,
345
345
  formatter: t?.xAxisLabelFormatter
346
346
  });
347
- b.Label = `${String(x ?? "")} - ${String(D ?? "")}`;
347
+ b.Label = `${String(x ?? "")} - ${String(C ?? "")}`;
348
348
  }
349
- return B && (b[r] = f), b;
349
+ return v && (b[r] = f), b;
350
350
  });
351
351
  }
352
352
  function Re(l, e, t) {
@@ -355,7 +355,7 @@ function Re(l, e, t) {
355
355
  return t ? o = t.map((i) => a.find((r) => r.toLowerCase().includes(i.toLowerCase())) || "") : o = a.filter((r) => r.toLowerCase().includes(e.toLowerCase())), o.filter((i) => i.trim() !== "");
356
356
  }
357
357
  function Ke(l) {
358
- const { config: e, rows: t, layer: a, fieldList: o, formatters: i, useRendererLabel: r = !1, timeZone: n } = l, s = pe(e), c = re(e), f = v(c), u = le(e), p = U(e.series), B = ie(e), b = ge(e), { idField: x, isTraditionalTypeOID: D } = be(xe(a)), m = D && u.length === 1 && u[0] === x;
358
+ const { config: e, rows: t, layer: a, fieldList: o, formatters: i, useRendererLabel: r = !1, timeZone: n } = l, s = pe(e), c = re(e), f = S(c), u = le(e), p = U(e.series), v = ie(e), b = ge(e), { idField: x, isTraditionalTypeOID: C } = be(xe(a)), m = C && u.length === 1 && u[0] === x;
359
359
  let d;
360
360
  switch (p) {
361
361
  case g.BarAndLineNoAggregation:
@@ -368,29 +368,29 @@ function Ke(l) {
368
368
  formatter: i?.xAxisLabelFormatter,
369
369
  useRendererLabel: r,
370
370
  timeZone: n
371
- }), S = { [s]: F };
371
+ }), D = { [s]: F };
372
372
  return Object.assign(
373
- S,
374
- ...u.map((P) => ({
375
- [P]: h({
376
- value: y[P],
377
- originalValue: y[P]
373
+ D,
374
+ ...u.map((h) => ({
375
+ [h]: B({
376
+ value: y[h],
377
+ originalValue: y[h]
378
378
  })
379
379
  }))
380
- ), S;
380
+ ), D;
381
381
  });
382
382
  break;
383
383
  case g.BarAndLineFromFields:
384
384
  d = ae(u, t).map(([y, F]) => {
385
- const S = E(e.series)[0], P = {};
386
- return F !== void 0 && y !== void 0 && (P.Field = h({
385
+ const D = E(e.series)[0], h = {};
386
+ return F !== void 0 && y !== void 0 && (h.Field = B({
387
387
  value: F[s],
388
388
  originalValue: F[s],
389
389
  formatter: i?.xAxisLabelFormatter
390
- }), P.Value = h({
391
- value: F[S],
392
- originalValue: F[S]
393
- })), P;
390
+ }), h.Value = B({
391
+ value: F[D],
392
+ originalValue: F[D]
393
+ })), h;
394
394
  });
395
395
  break;
396
396
  case g.BarAndLineMonoField:
@@ -404,28 +404,28 @@ function Ke(l) {
404
404
  formatter: i?.xAxisLabelFormatter,
405
405
  useRendererLabel: r,
406
406
  timeZone: n
407
- }), S = { [s]: F };
408
- return u.forEach((P, C) => {
407
+ }), D = { [s]: F };
408
+ return u.forEach((h, V) => {
409
409
  const w = z({
410
410
  config: e,
411
411
  xAxisField: s,
412
412
  numericFields: u,
413
413
  aggregationType: c,
414
414
  layer: a,
415
- numericFieldIndex: C,
415
+ numericFieldIndex: V,
416
416
  fieldList: o
417
- }), N = E(e.series)[C];
417
+ }), N = E(e.series)[V];
418
418
  let R = N, Z = N;
419
- N.toLowerCase() === w.name.toLowerCase() && (R = w.description, Z = w.name), S[R] = h({
419
+ N.toLowerCase() === w.name.toLowerCase() && (R = w.description, Z = w.name), D[R] = B({
420
420
  value: y[Z],
421
421
  originalValue: y[Z]
422
422
  });
423
- }), S;
423
+ }), D;
424
424
  });
425
425
  break;
426
426
  case g.BarAndLineSplitBy:
427
427
  d = t.flatMap((y) => {
428
- const F = E(e.series), S = O({
428
+ const F = E(e.series), D = O({
429
429
  field: s,
430
430
  row: y,
431
431
  layer: a,
@@ -434,20 +434,20 @@ function Ke(l) {
434
434
  useRendererLabel: r,
435
435
  timeZone: n
436
436
  });
437
- return B.map((P, C) => {
437
+ return v.map((h, V) => {
438
438
  const w = ee({
439
439
  config: e,
440
440
  splitByField: b,
441
- splitByValue: P,
442
- splitByValueIndex: C,
441
+ splitByValue: h,
442
+ splitByValueIndex: V,
443
443
  layer: a,
444
444
  fieldList: o,
445
445
  timeZone: n
446
446
  });
447
447
  return {
448
- [s]: S,
448
+ [s]: D,
449
449
  [b]: w,
450
- [m ? f : `${f} of ${u[0]}`]: y[F[C]]
450
+ [m ? f : `${f} of ${u[0]}`]: y[F[V]]
451
451
  };
452
452
  });
453
453
  });
@@ -462,11 +462,11 @@ function Ke(l) {
462
462
  formatter: i?.xAxisLabelFormatter,
463
463
  useRendererLabel: r,
464
464
  timeZone: n
465
- }), S = Re(y, u[0], B), P = y[b], C = B.findIndex((R) => $e(R, P)), w = ee({
465
+ }), D = Re(y, u[0], v), h = y[b], V = v.findIndex((R) => $e(R, h)), w = ee({
466
466
  config: e,
467
467
  splitByField: b,
468
- splitByValue: P,
469
- splitByValueIndex: C >= 0 ? C : void 0,
468
+ splitByValue: h,
469
+ splitByValueIndex: V >= 0 ? V : void 0,
470
470
  layer: a,
471
471
  fieldList: o,
472
472
  timeZone: n
@@ -474,7 +474,7 @@ function Ke(l) {
474
474
  return {
475
475
  [s]: F,
476
476
  [b]: w,
477
- [u[0]]: y[S[0]]
477
+ [u[0]]: y[D[0]]
478
478
  };
479
479
  });
480
480
  break;
@@ -504,19 +504,19 @@ function je(l) {
504
504
  function Ee(l) {
505
505
  const { config: e, rows: t, layer: a, fieldList: o, formatters: i, useRendererLabel: r = !1, timeZone: n } = l, s = me(e), c = U(e.series);
506
506
  let f = je(t);
507
- const u = de(e), p = c !== g.PieFromFields ? X.Category : X.Fields, B = ye(e, p), b = z({
507
+ const u = de(e), p = c !== g.PieFromFields ? X.Category : X.Fields, v = ye(e, p), b = z({
508
508
  config: e,
509
509
  xAxisField: s,
510
510
  numericFields: u,
511
- aggregationType: B,
511
+ aggregationType: v,
512
512
  mode: p,
513
513
  layer: a,
514
514
  fieldList: o
515
515
  }), x = E(e.series)[0];
516
- return c === g.PieFromCategory || c === g.PieNoAggregation ? f = f.map((D) => {
516
+ return c === g.PieFromCategory || c === g.PieNoAggregation ? f = f.map((C) => {
517
517
  const m = O({
518
518
  field: s,
519
- row: D,
519
+ row: C,
520
520
  layer: a,
521
521
  fieldList: o,
522
522
  formatter: i?.xAxisLabelFormatter,
@@ -524,23 +524,23 @@ function Ee(l) {
524
524
  timeZone: n
525
525
  }), d = { [s]: m };
526
526
  let y = x, F = x;
527
- return c === g.PieFromCategory && x.toLowerCase() === b.name.toLowerCase() && (y = b.description, F = b.name), d[y] = h({
528
- value: D[F],
529
- originalValue: D[F]
530
- }), d[v($.trim())] = h({
531
- value: D[`${F}${$}`],
532
- originalValue: D[`${F}${$}`]
527
+ return c === g.PieFromCategory && x.toLowerCase() === b.name.toLowerCase() && (y = b.description, F = b.name), d[y] = B({
528
+ value: C[F],
529
+ originalValue: C[F]
530
+ }), d[S($.trim())] = B({
531
+ value: C[`${F}${$}`],
532
+ originalValue: C[`${F}${$}`]
533
533
  }), d;
534
- }) : c === g.PieFromFields && (f = ae(u, f).map(([D, m]) => {
534
+ }) : c === g.PieFromFields && (f = ae(u, f).map(([C, m]) => {
535
535
  const d = {};
536
- return m !== void 0 && D !== void 0 && (d.Field = h({
536
+ return m !== void 0 && C !== void 0 && (d.Field = B({
537
537
  value: m[s],
538
538
  originalValue: m[s],
539
539
  formatter: i?.xAxisLabelFormatter
540
- }), d.Value = h({
540
+ }), d.Value = B({
541
541
  value: m[x],
542
542
  originalValue: m[x]
543
- }), d[v($.trim())] = h({
543
+ }), d[S($.trim())] = B({
544
544
  value: m[`${x}${$}`],
545
545
  originalValue: m[`${x}${$}`]
546
546
  })), d;
@@ -548,10 +548,10 @@ function Ee(l) {
548
548
  }
549
549
  function j(l) {
550
550
  const { rawData: e, keyBase: t = "", outRow: a } = l;
551
- for (const [o, i] of Object.entries(V)) {
551
+ for (const [o, i] of Object.entries(P)) {
552
552
  const r = e[t + i];
553
553
  r !== void 0 && (a[o] = r);
554
- const n = e[t + i + he];
554
+ const n = e[t + i + Be];
555
555
  n !== void 0 && (a[`${o} Outlier`] = n);
556
556
  const s = e[t + i + Q];
557
557
  s !== void 0 && (a[`${o} Z-Score`] = s);
@@ -559,64 +559,64 @@ function j(l) {
559
559
  }
560
560
  function T(l) {
561
561
  const { rawData: e, outRow: t, config: a, boxPlotSubType: o, layer: i, fieldList: r, timeZone: n } = l, s = q(a), c = oe(a), f = _(a);
562
- let u = V.Outlier;
562
+ let u = P.Outlier;
563
563
  const p = I;
564
564
  switch (o) {
565
- case g.BoxPlotMonoFieldAndCategory: {
565
+ case g.BoxPlotC3MonoFieldAndCategory: {
566
566
  const x = se({
567
567
  field: s,
568
568
  value: e[s],
569
569
  fieldList: r,
570
570
  timeZone: n
571
571
  });
572
- t[s] = x, t[v(V.Outlier)] = e[u];
572
+ t[s] = x, t[S(P.Outlier)] = e[u];
573
573
  break;
574
574
  }
575
- case g.BoxPlotMultiFieldsAndCategory: {
576
- t[v(s)] = e[s], u = `${c.find(
577
- (D) => Object.keys(e).some((m) => m.toLowerCase().includes(D.toLowerCase()))
578
- ) ?? ""}_${u}`, t[v(V.Outlier)] = e[u];
575
+ case g.BoxPlotC4MultiFieldsAndCategory: {
576
+ t[S(s)] = e[s], u = `${c.find(
577
+ (C) => Object.keys(e).some((m) => m.toLowerCase().includes(C.toLowerCase()))
578
+ ) ?? ""}_${u}`, t[S(P.Outlier)] = e[u];
579
579
  break;
580
580
  }
581
- case g.BoxPlotMonoFieldAndSplitBy:
582
- case g.BoxPlotMultiFieldsAndSplitBy: {
583
- const x = String(e[f]), D = M({
581
+ case g.BoxPlotC5MonoFieldAndSplitBy:
582
+ case g.BoxPlotC6MultiFieldsAndSplitBy: {
583
+ const x = String(e[f]), C = M({
584
584
  field: f,
585
585
  value: x,
586
586
  layer: i,
587
587
  fieldList: r,
588
588
  timeZone: n
589
589
  });
590
- u = `${x}_${u}`, t.Field = e[p], t[v(f)] = D, t[v(V.Outlier)] = e[u];
590
+ u = `${x}_${u}`, t.Field = e[p], t[S(f)] = C, t[S(P.Outlier)] = e[u];
591
591
  break;
592
592
  }
593
- case g.BoxPlotMonoFieldAndCategoryAndSplitBy: {
594
- const x = String(e[f]), D = M({
593
+ case g.BoxPlotC7MonoFieldAndCategoryAndSplitBy: {
594
+ const x = String(e[f]), C = M({
595
595
  field: f,
596
596
  value: x,
597
597
  layer: i,
598
598
  fieldList: r,
599
599
  timeZone: n
600
600
  });
601
- u = `${x}_${u}`, t[v(s)] = e[s], t[v(f)] = D, t[v(V.Outlier)] = e[u];
601
+ u = `${x}_${u}`, t[S(s)] = e[s], t[S(f)] = C, t[S(P.Outlier)] = e[u];
602
602
  break;
603
603
  }
604
- case g.BoxPlotMonoField:
605
- case g.BoxPlotMultiFields:
604
+ case g.BoxPlotC1MonoField:
605
+ case g.BoxPlotC2MultiFields:
606
606
  default: {
607
- t.Field = e[p], t[v(V.Outlier)] = e[u];
607
+ t.Field = e[p], t[S(P.Outlier)] = e[u];
608
608
  break;
609
609
  }
610
610
  }
611
- const B = `${u}${Q}`, b = e[B];
612
- b !== void 0 && (t[`${v(V.Outlier)} Z-Score`] = b);
611
+ const v = `${u}${Q}`, b = e[v];
612
+ b !== void 0 && (t[`${S(P.Outlier)} Z-Score`] = b);
613
613
  }
614
614
  function Ue(l) {
615
- const { rawData: e, outRow: t, config: a, splitByValue: o, layer: i, fieldList: r, timeZone: n } = l, s = U(a.series), c = e[`${o}_${V.Average}`], f = _(a), u = q(a);
615
+ const { rawData: e, outRow: t, config: a, splitByValue: o, layer: i, fieldList: r, timeZone: n } = l, s = U(a.series), c = e[`${o}_${P.Average}`], f = _(a), u = q(a);
616
616
  let p = "";
617
617
  switch (s) {
618
- case g.BoxPlotMonoFieldAndSplitBy: {
619
- p = `${o}_${f}`, t.Field = e[I], t[v(f)] = M({
618
+ case g.BoxPlotC5MonoFieldAndSplitBy: {
619
+ p = `${o}_${f}`, t.Field = e[I], t[S(f)] = M({
620
620
  field: f,
621
621
  value: e[p],
622
622
  layer: i,
@@ -625,8 +625,8 @@ function Ue(l) {
625
625
  });
626
626
  break;
627
627
  }
628
- case g.BoxPlotMultiFieldsAndSplitBy: {
629
- p = `${o}_${V.Average}`, t.Field = e[I], t[v(f)] = M({
628
+ case g.BoxPlotC6MultiFieldsAndSplitBy: {
629
+ p = `${o}_${P.Average}`, t.Field = e[I], t[S(f)] = M({
630
630
  field: f,
631
631
  value: e[p],
632
632
  layer: i,
@@ -635,8 +635,8 @@ function Ue(l) {
635
635
  });
636
636
  break;
637
637
  }
638
- case g.BoxPlotMonoFieldAndCategoryAndSplitBy: {
639
- p = `${o}_${V.Average}`, t[u] = e[u], t[v(f)] = M({
638
+ case g.BoxPlotC7MonoFieldAndCategoryAndSplitBy: {
639
+ p = `${o}_${P.Average}`, t[u] = e[u], t[S(f)] = M({
640
640
  field: f,
641
641
  value: o,
642
642
  layer: i,
@@ -646,21 +646,21 @@ function Ue(l) {
646
646
  break;
647
647
  }
648
648
  }
649
- t[v(V.Average)] = c;
650
- const B = `${String(c)}${Q}`, b = e[B];
651
- b !== void 0 && (t[`${v(V.Average)} Z-Score`] = b);
649
+ t[S(P.Average)] = c;
650
+ const v = `${String(c)}${Q}`, b = e[v];
651
+ b !== void 0 && (t[`${S(P.Average)} Z-Score`] = b);
652
652
  }
653
653
  function Ze(l) {
654
654
  const { config: e, rows: t, layer: a, fieldList: o, formatters: i, useRendererLabel: r = !1, timeZone: n } = l, s = U(e.series);
655
655
  let c = s;
656
656
  const f = ce(e), u = Array.isArray(t) && t.length > 0 && t.every((m) => m[A.boxPlot.boxPlotMeanLineMarkerId] !== void 0);
657
- f && !u && (s === g.BoxPlotMonoFieldAndSplitBy ? c = g.BoxPlotMonoField : s === g.BoxPlotMultiFieldsAndSplitBy ? c = g.BoxPlotMultiFields : s === g.BoxPlotMonoFieldAndCategoryAndSplitBy && (c = g.BoxPlotMonoFieldAndCategory));
658
- const p = q(e), B = oe(e), b = ie(e), x = _(e);
659
- let D;
657
+ f && !u && (s === g.BoxPlotC5MonoFieldAndSplitBy ? c = g.BoxPlotC1MonoField : s === g.BoxPlotC6MultiFieldsAndSplitBy ? c = g.BoxPlotC2MultiFields : s === g.BoxPlotC7MonoFieldAndCategoryAndSplitBy && (c = g.BoxPlotC3MonoFieldAndCategory));
658
+ const p = q(e), v = oe(e), b = ie(e), x = _(e);
659
+ let C;
660
660
  switch (c) {
661
- case g.BoxPlotMonoField:
662
- case g.BoxPlotMonoFieldAndCategory: {
663
- D = t.map((m) => {
661
+ case g.BoxPlotC1MonoField:
662
+ case g.BoxPlotC3MonoFieldAndCategory: {
663
+ C = t.map((m) => {
664
664
  const d = {};
665
665
  if (m[A.boxPlot.boxPlotOutlierId])
666
666
  T({
@@ -673,7 +673,7 @@ function Ze(l) {
673
673
  timeZone: n
674
674
  });
675
675
  else {
676
- if (c === g.BoxPlotMonoFieldAndCategory) {
676
+ if (c === g.BoxPlotC3MonoFieldAndCategory) {
677
677
  const y = O({
678
678
  field: p,
679
679
  row: m,
@@ -684,15 +684,15 @@ function Ze(l) {
684
684
  timeZone: n
685
685
  });
686
686
  d[p] = y;
687
- } else c === g.BoxPlotMonoField && (d.Field = m[I]);
687
+ } else c === g.BoxPlotC1MonoField && (d.Field = m[I]);
688
688
  j({ rawData: m, outRow: d });
689
689
  }
690
690
  return d;
691
691
  });
692
692
  break;
693
693
  }
694
- case g.BoxPlotMultiFields: {
695
- D = t.flatMap((m) => {
694
+ case g.BoxPlotC2MultiFields: {
695
+ C = t.flatMap((m) => {
696
696
  const d = {};
697
697
  return m[A.boxPlot.boxPlotOutlierId] ? T({
698
698
  rawData: m,
@@ -706,9 +706,9 @@ function Ze(l) {
706
706
  });
707
707
  break;
708
708
  }
709
- case g.BoxPlotMultiFieldsAndCategory: {
710
- D = t.flatMap(
711
- (m) => B.map((d) => {
709
+ case g.BoxPlotC4MultiFieldsAndCategory: {
710
+ C = t.flatMap(
711
+ (m) => v.map((d) => {
712
712
  const y = {};
713
713
  let F = "";
714
714
  if (y.Field = d, m[A.boxPlot.boxPlotOutlierId])
@@ -722,8 +722,8 @@ function Ze(l) {
722
722
  timeZone: n
723
723
  });
724
724
  else {
725
- if (c === g.BoxPlotMultiFieldsAndCategory) {
726
- const S = O({
725
+ if (c === g.BoxPlotC4MultiFieldsAndCategory) {
726
+ const D = O({
727
727
  field: p,
728
728
  row: m,
729
729
  layer: a,
@@ -732,7 +732,7 @@ function Ze(l) {
732
732
  useRendererLabel: r,
733
733
  timeZone: n
734
734
  });
735
- y[p] = S, F = `${d}_`;
735
+ y[p] = D, F = `${d}_`;
736
736
  }
737
737
  j({ rawData: m, outRow: y, keyBase: F });
738
738
  }
@@ -741,10 +741,10 @@ function Ze(l) {
741
741
  );
742
742
  break;
743
743
  }
744
- case g.BoxPlotMonoFieldAndSplitBy:
745
- case g.BoxPlotMultiFieldsAndSplitBy:
746
- case g.BoxPlotMonoFieldAndCategoryAndSplitBy: {
747
- D = t.flatMap((m) => {
744
+ case g.BoxPlotC5MonoFieldAndSplitBy:
745
+ case g.BoxPlotC6MultiFieldsAndSplitBy:
746
+ case g.BoxPlotC7MonoFieldAndCategoryAndSplitBy: {
747
+ C = t.flatMap((m) => {
748
748
  if (m[A.boxPlot.boxPlotOutlierId]) {
749
749
  const d = {};
750
750
  return T({
@@ -774,8 +774,8 @@ function Ze(l) {
774
774
  layer: a,
775
775
  fieldList: o
776
776
  });
777
- if (c === g.BoxPlotMonoFieldAndCategoryAndSplitBy) {
778
- const S = O({
777
+ if (c === g.BoxPlotC7MonoFieldAndCategoryAndSplitBy) {
778
+ const D = O({
779
779
  field: p,
780
780
  row: m,
781
781
  layer: a,
@@ -784,7 +784,7 @@ function Ze(l) {
784
784
  useRendererLabel: r,
785
785
  timeZone: n
786
786
  });
787
- y[p] = S;
787
+ y[p] = D;
788
788
  }
789
789
  return m[A.boxPlot.boxPlotOutlierId] ? T({
790
790
  rawData: m,
@@ -800,9 +800,9 @@ function Ze(l) {
800
800
  break;
801
801
  }
802
802
  default:
803
- D = t;
803
+ C = t;
804
804
  }
805
- return D;
805
+ return C;
806
806
  }
807
807
  const te = (l) => {
808
808
  let e = !1;
@@ -812,15 +812,15 @@ const te = (l) => {
812
812
  let i = t;
813
813
  const r = a?.find((n) => n.name === e);
814
814
  if (r) {
815
- const n = r.type === Ce.DateOnly;
816
- Se(r) && !n ? i = te(t) ? We(new Date(t), o) : t : n && typeof t != "string" && (i = te(t) ? He(new Date(t), o) : t);
815
+ const n = r.type === Ve.DateOnly;
816
+ De(r) && !n ? i = te(t) ? We(new Date(t), o) : t : n && typeof t != "string" && (i = te(t) ? He(new Date(t), o) : t);
817
817
  }
818
818
  return i;
819
819
  };
820
820
  function mt(l) {
821
821
  const { runtimeDataFilters: e, view: t, viewTimeExtentChangePolicy: a, syncViewTimeExtent: o } = l;
822
822
  let i = e;
823
- return t && (a === Ve.Refresh || o) && t.timeExtent?.start != null && t.timeExtent?.end != null && (i = {
823
+ return t && (a === Pe.Refresh || o) && t.timeExtent?.start != null && t.timeExtent?.end != null && (i = {
824
824
  ...e,
825
825
  timeExtent: [t.timeExtent.start.valueOf(), t.timeExtent.end.valueOf()]
826
826
  }), i;