@arcgis/charts-components 5.2.0-next.145 → 5.2.0-next.146

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 (112) hide show
  1. package/dist/cdn/{MJSZLNAF.js → 23TENJ5Q.js} +1 -1
  2. package/dist/cdn/{ZD7PQSBR.js → 2DK243HR.js} +1 -1
  3. package/dist/cdn/{NARDIIZ3.js → 2GXVCQYN.js} +1 -1
  4. package/dist/cdn/{7I25IJA2.js → 2XJCMLPF.js} +1 -1
  5. package/dist/cdn/{ASR32YFB.js → 3FXMH674.js} +1 -1
  6. package/dist/cdn/{TAM5ITK5.js → 3YQQKFJG.js} +1 -1
  7. package/dist/cdn/{DNDJF3KR.js → 4GV732HK.js} +1 -1
  8. package/dist/cdn/{I2LU7GWB.js → 4PPOR4M7.js} +1 -1
  9. package/dist/cdn/{PD5CSNCF.js → 4X272OSF.js} +1 -1
  10. package/dist/cdn/{ODY5YRM6.js → 56F3AL2Y.js} +1 -1
  11. package/dist/cdn/{TGAKLKOG.js → 573EXO3B.js} +1 -1
  12. package/dist/cdn/{FGGLWGU3.js → 5JYYYQOA.js} +1 -1
  13. package/dist/cdn/{GQYVTTFW.js → 5NZPWYB3.js} +1 -1
  14. package/dist/cdn/{VUVWD7G5.js → 5VXSGQMB.js} +1 -1
  15. package/dist/cdn/{OLD54PWE.js → 5YTTFXTS.js} +1 -1
  16. package/dist/cdn/{53NXULDN.js → 6MUHS3DQ.js} +1 -1
  17. package/dist/cdn/{C3JENYG3.js → 7XXQ5IQP.js} +24 -24
  18. package/dist/cdn/{PWTMWRU4.js → ABR3ITNH.js} +1 -1
  19. package/dist/cdn/{N4X7ZOF5.js → AKO6RW7U.js} +1 -1
  20. package/dist/cdn/{ZY25J33W.js → AMEPVSZ7.js} +1 -1
  21. package/dist/cdn/{JFQL7N2M.js → AXYHBCKL.js} +1 -1
  22. package/dist/cdn/{H3PQ3KE3.js → B2WPFQXW.js} +1 -1
  23. package/dist/cdn/{AJ2NSTY6.js → B7K6DW3K.js} +1 -1
  24. package/dist/cdn/{OWUGRJ3W.js → BUKMCN4D.js} +1 -1
  25. package/dist/cdn/{SQE3NSLM.js → BX2A6J3D.js} +1 -1
  26. package/dist/cdn/{XBBOQCVR.js → CFV3CL5T.js} +1 -1
  27. package/dist/cdn/{ZXVFP4II.js → DG2C6JNR.js} +1 -1
  28. package/dist/cdn/{GICZ6QTQ.js → DJ36UFHC.js} +1 -1
  29. package/dist/cdn/{D4MMYT57.js → DMKL5RXV.js} +1 -1
  30. package/dist/cdn/{2LYJZSEC.js → DMZFCYTU.js} +1 -1
  31. package/dist/cdn/{YZP4WSUR.js → DTTSOAYD.js} +1 -1
  32. package/dist/cdn/{JNDODFJD.js → ECNR5FG3.js} +1 -1
  33. package/dist/cdn/{TPSDJS4O.js → EI7ZUDXB.js} +1 -1
  34. package/dist/cdn/{M4NDM2ZO.js → EKYQTAYU.js} +1 -1
  35. package/dist/cdn/{OCIDPNVR.js → EWY2N7P3.js} +1 -1
  36. package/dist/cdn/{P772YCRO.js → F7DDG24M.js} +1 -1
  37. package/dist/cdn/{HPXU7UB6.js → FB3QV7TM.js} +1 -1
  38. package/dist/cdn/{7SUMLJRQ.js → FER5TBI4.js} +1 -1
  39. package/dist/cdn/{TPPHYP2J.js → FIJYAFZI.js} +1 -1
  40. package/dist/cdn/{WTDG57TI.js → FJVJ3TWZ.js} +1 -1
  41. package/dist/cdn/{FW77THSK.js → GTYP4LFB.js} +1 -1
  42. package/dist/cdn/{OWXCYQKM.js → HFAWW6AZ.js} +1 -1
  43. package/dist/cdn/{TQG7YJHG.js → HJGMSR6N.js} +2 -2
  44. package/dist/cdn/{VVTGMYKI.js → I4QW6KJM.js} +1 -1
  45. package/dist/cdn/{FBJ4AP2R.js → ICXLAPAZ.js} +1 -1
  46. package/dist/cdn/{PEDFAFPV.js → IE74ZFBJ.js} +1 -1
  47. package/dist/cdn/{74TRPLSI.js → IEOBULER.js} +1 -1
  48. package/dist/cdn/{XJB3EVVM.js → IKI4R2AF.js} +1 -1
  49. package/dist/cdn/{O5Q63MHK.js → JMUSJRQ2.js} +1 -1
  50. package/dist/cdn/{E2RKOLS3.js → JUCHPZVF.js} +1 -1
  51. package/dist/cdn/{B56H6U5I.js → KA5QPUCJ.js} +1 -1
  52. package/dist/cdn/{2GZJVJ6D.js → KT2KBAWX.js} +1 -1
  53. package/dist/cdn/{NY73C6DH.js → LAPRXJDG.js} +1 -1
  54. package/dist/cdn/{O344JWQA.js → LCDIALWF.js} +1 -1
  55. package/dist/cdn/{LIFE557O.js → LCKHL7M7.js} +1 -1
  56. package/dist/cdn/{7A2AGL2N.js → LEPCYIRR.js} +1 -1
  57. package/dist/cdn/{GOYZO3PH.js → M3AQUNQA.js} +1 -1
  58. package/dist/cdn/{YMPR72UQ.js → MWVU2K3B.js} +1 -1
  59. package/dist/cdn/{O7Z5PTLE.js → MZQPZI5A.js} +1 -1
  60. package/dist/cdn/{2BM7VX6X.js → N4ZLZT6F.js} +1 -1
  61. package/dist/cdn/{PYLGHA4T.js → NEGVMBWT.js} +1 -1
  62. package/dist/cdn/{AC5XBWF4.js → NVAZ3LMN.js} +1 -1
  63. package/dist/cdn/{HOBTZQOO.js → O6RDIRJM.js} +1 -1
  64. package/dist/cdn/{ND5JWELW.js → OGCRWWFL.js} +1 -1
  65. package/dist/cdn/{DLVMA4UR.js → OYPLZUFW.js} +1 -1
  66. package/dist/cdn/{Y5T2FM7Z.js → OYSMUQB2.js} +1 -1
  67. package/dist/cdn/{YU3DD3L3.js → PFOL3AEU.js} +1 -1
  68. package/dist/cdn/{PNFJAH7R.js → QPLAJO6P.js} +1 -1
  69. package/dist/cdn/{FJ7ZTRRA.js → R2P77G67.js} +1 -1
  70. package/dist/cdn/{KKAO2PXL.js → RAGI3IZ5.js} +1 -1
  71. package/dist/cdn/{NSBR5PR7.js → RQEFR6WH.js} +1 -1
  72. package/dist/cdn/{4YFIGYNC.js → SXCQO7HX.js} +1 -1
  73. package/dist/cdn/{3R4CEE6P.js → TJXAWOIH.js} +2 -2
  74. package/dist/cdn/{EF7JJNJX.js → UH56LO46.js} +1 -1
  75. package/dist/cdn/{RO25JS7J.js → UT3QAYWV.js} +1 -1
  76. package/dist/cdn/{5WHCVW35.js → UUL34HTQ.js} +1 -1
  77. package/dist/cdn/{AWR5OJXA.js → VXITTAEA.js} +1 -1
  78. package/dist/cdn/{LEY6LKUH.js → W4MG6NNE.js} +1 -1
  79. package/dist/cdn/{4Y22DEQR.js → YFRLUWXC.js} +1 -1
  80. package/dist/cdn/{2IQWCGC4.js → YR67M53A.js} +1 -1
  81. package/dist/cdn/{2YNB2RSW.js → YRIGUFDE.js} +1 -1
  82. package/dist/cdn/{ZXPTZMFT.js → YWGE544D.js} +1 -1
  83. package/dist/cdn/{MTMOH3ES.js → ZKMAFBKI.js} +1 -1
  84. package/dist/cdn/{NSFI6R7F.js → ZSB42EY4.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/data.js +11 -11
  88. package/dist/chunks/index.js +89 -81
  89. package/dist/chunks/index3.js +7 -7
  90. package/dist/chunks/index4.js +1 -1
  91. package/dist/chunks/scatterplot-model.js +1 -1
  92. package/dist/chunks/serial-chart-data.js +39 -39
  93. package/dist/chunks/web-component-utils.js +13 -13
  94. package/dist/components/arcgis-chart/customElement.js +4806 -4736
  95. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
  96. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +6 -6
  97. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +1 -1
  98. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +1 -1
  99. package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +1 -1
  100. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +1 -1
  101. package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
  102. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +1 -1
  103. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +1 -1
  104. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +1 -1
  105. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
  106. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +1 -1
  107. package/dist/components/arcgis-charts-info-modal/customElement.js +6 -6
  108. package/dist/docs/api.json +1 -1
  109. package/dist/docs/docs.json +1 -1
  110. package/dist/index.js +62 -62
  111. package/dist/utils/chart-config/converter/index.js +30 -30
  112. package/package.json +4 -4
@@ -1,5 +1,5 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import { cloneDeep as Re, isEqual as Ue, isArray as hi, isNil as ja, isEmpty as Xa, memoize as Qe, sortBy as Ei } from "es-toolkit/compat";
2
+ import { cloneDeep as Re, isEqual as Ve, isArray as hi, isNil as ja, isEmpty as Xa, memoize as _e, sortBy as Ei } from "es-toolkit/compat";
3
3
  import { C, i as ne, a as S, b as ai, t as Ya, g as yr, f as Si, v as ni, w as Pe, x as Kt, y as Ut, z as pr, r as Za, B as Ja, e as qi, n as hr } from "./index2.js";
4
4
  import { a as si, b as xe, d as X, e as at, c as ce } from "./rest-js-object-literals.js";
5
5
  import { a as h, f as Ka, e as U, d as D, b as re, l as he, g as pe, s as te, G as Sr, c as Ce, t as Ee, h as Se, S as Fr, o as nt } from "./chart-object-literals.js";
@@ -7,7 +7,7 @@ import br from "@arcgis/core/Graphic.js";
7
7
  import * as Gt from "@arcgis/core/renderers/support/jsonUtils.js";
8
8
  import * as ei from "@arcgis/core/symbols/support/symbolUtils.js";
9
9
  import { g as $, s as en } from "./series-types.js";
10
- import { q as Q, p as oi, T as qe, H as ft, g as xr, U as tn, l as zt, i as H, V as Wt, W as rn, L as Ze, a as Ri, C as Cr, O as an, P as nn, r as Br } from "./index3.js";
10
+ import { q as Q, p as oi, T as qe, H as ft, g as xr, U as tn, l as zt, i as H, V as Wt, W as rn, L as Ze, a as Ri, z as Cr, O as an, P as nn, r as Br } from "./index3.js";
11
11
  import { i as ee, d as Ge, e as vr, f as sn, a as pt, g as on, h as ln } from "./type-guards.js";
12
12
  import Vi from "@arcgis/core/layers/support/FeatureFilter.js";
13
13
  import un from "@arcgis/core/smartMapping/statistics/histogram.js";
@@ -139,9 +139,7 @@ const Ft = {
139
139
  chartPadding: 40,
140
140
  legendPadding: 20,
141
141
  width: 70,
142
- bottomHeight: 20,
143
142
  topHeight: 50,
144
- titleHeight: 10,
145
143
  titlePadding: 10,
146
144
  minMaxLabelPadding: 3
147
145
  // figure this out after testing. we were seeing an issue with the labels being too close to the gradient bars.
@@ -240,7 +238,7 @@ function qn(t) {
240
238
  function fd(t) {
241
239
  return t !== void 0 && (!("url" in t) || !t.url);
242
240
  }
243
- function Ve(t) {
241
+ function $e(t) {
244
242
  return t !== void 0 && "view" in t && "layer" in t && "queryFeatures" in t && "queryFeatureCount" in t && "queryObjectIds" in t;
245
243
  }
246
244
  function md(t) {
@@ -286,7 +284,7 @@ function hd(t) {
286
284
  }) && ut(n, i));
287
285
  }
288
286
  function ut(t, e) {
289
- return e !== void 0 && (Ve(e) || !ee(e) && "capabilities" in e && e.capabilities?.queryAttributeBins?.supportsDate === !0 && (ne(t) || (e.capabilities.queryAttributeBins.supportsStackBy ?? !1)));
287
+ return e !== void 0 && ($e(e) || !ee(e) && "capabilities" in e && e.capabilities?.queryAttributeBins?.supportsDate === !0 && (ne(t) || (e.capabilities.queryAttributeBins.supportsStackBy ?? !1)));
290
288
  }
291
289
  function Sd(t) {
292
290
  return ge(
@@ -310,11 +308,11 @@ function Qn(t) {
310
308
  }
311
309
  function Fd(t) {
312
310
  let e;
313
- return Ve(t) ? e = t.layer : e = t, e;
311
+ return $e(t) ? e = t.layer : e = t, e;
314
312
  }
315
313
  function W(t) {
316
314
  let e;
317
- return Ve(t) ? e = t.layer : e = t, e;
315
+ return $e(t) ? e = t.layer : e = t, e;
318
316
  }
319
317
  function _n(t) {
320
318
  let e = !1;
@@ -762,7 +760,7 @@ function es(t, e) {
762
760
  function ts(t) {
763
761
  const { queryObject: e, defaultGeometry: i, ignoreViewExtent: r } = t;
764
762
  let a = i;
765
- if (!r && Ve(e)) {
763
+ if (!r && $e(e)) {
766
764
  const n = e.view.extent, { xmin: s, xmax: o, ymin: l, ymax: c, zmin: u, zmax: d } = n;
767
765
  a = { xmin: s, ymin: l, zmin: u, xmax: o, ymax: c, zmax: d, spatialReference: n.spatialReference.toJSON() };
768
766
  }
@@ -2365,10 +2363,10 @@ function Sf(t) {
2365
2363
  b = u.modalHeaders.invalidData, f = u.errors.negativeValueInDataForLogTransformation;
2366
2364
  break;
2367
2365
  case k.HistogramEmptyField:
2368
- s === !0 ? (b = u.modalHeaders.noDataAvailable, f = u.errors.noDataFBSMessage) : Ve(n) ? (b = u.modalHeaders.noDataAvailable, f = u.errors.noDataFBEMessage) : (b = u.modalHeaders.invalidChart, f = u.errors.histogramEmptyField);
2366
+ s === !0 ? (b = u.modalHeaders.noDataAvailable, f = u.errors.noDataFBSMessage) : $e(n) ? (b = u.modalHeaders.noDataAvailable, f = u.errors.noDataFBEMessage) : (b = u.modalHeaders.invalidChart, f = u.errors.histogramEmptyField);
2369
2367
  break;
2370
2368
  case k.EmptyDataSet:
2371
- b = u.modalHeaders.noDataAvailable, s === !0 ? f = u.errors.noDataFBSMessage : Ve(n) ? f = u.errors.noDataFBEMessage : f = u.errors.noDataMessage;
2369
+ b = u.modalHeaders.noDataAvailable, s === !0 ? f = u.errors.noDataFBSMessage : $e(n) ? f = u.errors.noDataFBEMessage : f = u.errors.noDataMessage;
2372
2370
  break;
2373
2371
  case k.NoValue:
2374
2372
  c && r ? (b = void 0, f = u.errors.noValue) : d && (b = u.modalHeaders.noDataAvailable, f = u.errors.noDataMessage);
@@ -2760,7 +2758,7 @@ async function ao(t) {
2760
2758
  abortSignal: c
2761
2759
  } = t;
2762
2760
  let u = [];
2763
- const { series: d, showMean: f } = n, m = Pi({ showMean: f, seriesConfig: d }), g = G(d), p = _e(n), { x: y } = p, F = ie(p.query?.where), b = [];
2761
+ const { series: d, showMean: f } = n, m = Pi({ showMean: f, seriesConfig: d }), g = G(d), p = He(n), { x: y } = p, F = ie(p.query?.where), b = [];
2764
2762
  for (let B = 0; B < m.length; B += 1) {
2765
2763
  const x = m[B], { dataWithoutOutliersFilterBatches: v } = Xr({
2766
2764
  data: e,
@@ -2853,7 +2851,7 @@ function so(t) {
2853
2851
  });
2854
2852
  }
2855
2853
  function Yr(t) {
2856
- const { chartConfig: e, data: i, calculateZScore: r = !1, meanAndStdDevPerField: a } = t, { series: n, showMean: s } = e, o = _e(e), l = G(e.series), { x: c } = o, u = Pi({ showMean: s, seriesConfig: n });
2854
+ const { chartConfig: e, data: i, calculateZScore: r = !1, meanAndStdDevPerField: a } = t, { series: n, showMean: s } = e, o = He(e), l = G(e.series), { x: c } = o, u = Pi({ showMean: s, seriesConfig: n });
2857
2855
  let d = i;
2858
2856
  if (i?.[0] !== void 0) {
2859
2857
  const f = ie(o.query?.where);
@@ -3075,7 +3073,7 @@ function bf(t) {
3075
3073
  chartConfig: e,
3076
3074
  fieldList: r,
3077
3075
  isTimeBinningSeries: De({
3078
- seriesConfig: _e(e),
3076
+ seriesConfig: He(e),
3079
3077
  xAxisValueFormatType: ve(e),
3080
3078
  setTimeBinningInfoWhenNotProvided: a?.setTimeBinningInfoWhenNotProvided,
3081
3079
  queryObject: n
@@ -3105,7 +3103,7 @@ async function xf(t) {
3105
3103
  const g = cu(c, d?.renderer), p = yu({
3106
3104
  chartRenderer: l,
3107
3105
  queryObject: i
3108
- }), y = $(o), F = G(o), b = _e(r), T = ie(b.query?.where);
3106
+ }), y = $(o), F = G(o), b = He(r), T = ie(b.query?.where);
3109
3107
  m = /* @__PURE__ */ new Map();
3110
3108
  for (let B = 0; B < (y === h.HistogramSeries && e.length > 0 ? 1 : e.length); B += 1) {
3111
3109
  const x = e[B], v = await pu({
@@ -3157,7 +3155,7 @@ function fo(t) {
3157
3155
  }), p.push(T), p;
3158
3156
  }, f = (p, y) => JSON.stringify(p).localeCompare(JSON.stringify(y));
3159
3157
  let m = o?.reduce(d, [])?.sort(f), g = l?.reduce(d, [])?.sort(f);
3160
- m && g && a && m.length !== g.length && (m = xt({ data: m, x: a }), g = xt({ data: g, x: a })), c = m?.length !== g?.length || !Ue(m, g);
3158
+ m && g && a && m.length !== g.length && (m = xt({ data: m, x: a }), g = xt({ data: g, x: a })), c = m?.length !== g?.length || !Ve(m, g);
3161
3159
  }
3162
3160
  return c;
3163
3161
  }
@@ -3491,7 +3489,7 @@ async function ea(t) {
3491
3489
  }
3492
3490
  return (!e || c) && (l = Kr(t)), l;
3493
3491
  }
3494
- function $e(t, e) {
3492
+ function ke(t, e) {
3495
3493
  let i = "";
3496
3494
  if (t.trim() !== "" && e !== void 0)
3497
3495
  if (e === null)
@@ -3514,8 +3512,8 @@ function Ao(t) {
3514
3512
  }
3515
3513
  } else
3516
3514
  n = Y([
3517
- Me({ where: $e(i, e[i]) }),
3518
- r !== void 0 ? Me({ where: $e(r, e[r]) }) : ""
3515
+ Me({ where: ke(i, e[i]) }),
3516
+ r !== void 0 ? Me({ where: ke(r, e[r]) }) : ""
3519
3517
  ]);
3520
3518
  return n;
3521
3519
  }
@@ -3536,7 +3534,7 @@ function ta(t) {
3536
3534
  const o = a[C.originalServerBinningRange] ?? a[C.dateBinningRange];
3537
3535
  if (hi(o) && o.length === 2) {
3538
3536
  let [l, c] = o, u = !0;
3539
- const d = Ve(n);
3537
+ const d = $e(n);
3540
3538
  if (d) {
3541
3539
  const f = W(n), { fieldsIndex: m } = f;
3542
3540
  l = Zi({ fieldsIndex: m, fieldName: e, inputDate: l }), c = Zi({ fieldsIndex: m, fieldName: e, inputDate: c });
@@ -3567,7 +3565,7 @@ function ra(t) {
3567
3565
  dataContext: a
3568
3566
  });
3569
3567
  n === X.Double ? o = ia(d, e) : (Pr(s.axes?.[0].valueFormat) && (d = ct(d)), o = Me({
3570
- where: $e(e, d),
3568
+ where: ke(e, d),
3571
3569
  normalize: !1,
3572
3570
  escape: !0
3573
3571
  }));
@@ -3610,7 +3608,7 @@ function No(t) {
3610
3608
  dataContext: r
3611
3609
  });
3612
3610
  a === X.Double ? o = ia(u, e) : (Pr(n.axes?.[0].valueFormat) && a !== X.TimeOnly && (u = ct(u)), o = Me({
3613
- where: $e(e, u),
3611
+ where: ke(e, u),
3614
3612
  normalize: !1,
3615
3613
  escape: !0
3616
3614
  }));
@@ -3622,7 +3620,7 @@ function Lo(t) {
3622
3620
  const { xAxisField: e, dataContext: i, chartConfig: r } = t;
3623
3621
  let a = i[C.originalXValue];
3624
3622
  return a === void 0 && (a = i[e]), G(r.series) === S.PieFromFields ? "" : Me({
3625
- where: $e(e, a),
3623
+ where: ke(e, a),
3626
3624
  normalize: !1,
3627
3625
  escape: !0
3628
3626
  });
@@ -3656,7 +3654,7 @@ function wo(t) {
3656
3654
  let u, d;
3657
3655
  const f = r[H.xField], m = r[C.originalXValue], g = r[H.yField], p = r[C.originalYCategoryValue], y = a.axes?.[0]?.valueFormat?.type, F = a.axes?.[1]?.valueFormat?.type;
3658
3656
  y === h.CategoryAxisFormat ? u = Me({
3659
- where: $e(l.x, m ?? f),
3657
+ where: ke(l.x, m ?? f),
3660
3658
  normalize: !1,
3661
3659
  escape: !0
3662
3660
  }) : u = Ji({
@@ -3668,7 +3666,7 @@ function wo(t) {
3668
3666
  dataTimeZone: s,
3669
3667
  runsOnClientQueryEngine: o
3670
3668
  }), F === h.CategoryAxisFormat ? d = Me({
3671
- where: $e(l.y, p ?? g),
3669
+ where: ke(l.y, p ?? g),
3672
3670
  normalize: !1,
3673
3671
  escape: !0
3674
3672
  }) : d = Ji({
@@ -3744,7 +3742,7 @@ async function Io(t) {
3744
3742
  } = t, y = G(r.series);
3745
3743
  let F = { valid: !0, data: { dataItems: [] } };
3746
3744
  if (a !== void 0 && a.length > 0) {
3747
- const b = _e(r), { x: T } = b, B = "y" in b ? b.y : "", v = Te(e).find((O) => O.name === T)?.type, A = [], N = a.reduce(
3745
+ const b = He(r), { x: T } = b, B = "y" in b ? b.y : "", v = Te(e).find((O) => O.name === T)?.type, A = [], N = a.reduce(
3748
3746
  (O, I) => {
3749
3747
  const M = [];
3750
3748
  if (Q.uniqueIds in I)
@@ -3758,7 +3756,7 @@ async function Io(t) {
3758
3756
  Object.keys(I).forEach((Z) => {
3759
3757
  if (Z.includes(R)) {
3760
3758
  const j = Z.replace(R, "");
3761
- j.trim() !== "" && M.push($e(_, j));
3759
+ j.trim() !== "" && M.push(ke(_, j));
3762
3760
  }
3763
3761
  });
3764
3762
  break;
@@ -4294,7 +4292,7 @@ function aa(t, e) {
4294
4292
  let i = t;
4295
4293
  return e === U.Week ? i /= 7 : e === U.Month ? i /= 30 : e === U.Year && (i /= 365), i = Math.ceil(i), i;
4296
4294
  }
4297
- function ke(t) {
4295
+ function Qe(t) {
4298
4296
  const { date: e, unit: i, nextOrPrevious: r, size: a } = t;
4299
4297
  if (a !== void 0 && Number.isFinite(a)) {
4300
4298
  const n = r === "next" ? a : -a;
@@ -4319,7 +4317,7 @@ function ke(t) {
4319
4317
  function Ro(t) {
4320
4318
  const { binFirstOrLastIndex: e, data: i, x: r, timeIntervalInfo: a } = t, { unit: n, size: s } = a, o = n === U.Week ? (s ?? 1) * 7 : s, l = i[e][r];
4321
4319
  let c = e;
4322
- const u = ke({
4320
+ const u = Qe({
4323
4321
  date: l,
4324
4322
  unit: n,
4325
4323
  size: o,
@@ -4331,7 +4329,7 @@ function Ro(t) {
4331
4329
  const f = c + 1 >= i.length;
4332
4330
  let m = c;
4333
4331
  f && i[m] !== void 0 && (m += 1);
4334
- const g = f ? ke({
4332
+ const g = f ? Qe({
4335
4333
  date: l,
4336
4334
  unit: n,
4337
4335
  size: o,
@@ -4349,7 +4347,7 @@ function Ro(t) {
4349
4347
  function Vo(t) {
4350
4348
  const { binFirstOrLastIndex: e, data: i, x: r, timeIntervalInfo: a } = t, { unit: n, size: s } = a, o = n === U.Week ? (s ?? 1) * 7 : s, l = i[e][r];
4351
4349
  let c = e;
4352
- const u = ke({
4350
+ const u = Qe({
4353
4351
  date: l,
4354
4352
  unit: n,
4355
4353
  size: o,
@@ -4361,7 +4359,7 @@ function Vo(t) {
4361
4359
  const f = c - 1 <= 0;
4362
4360
  let m = e;
4363
4361
  return f && i[m] !== void 0 && (m -= 1), f && (c = 0), {
4364
- binStartDate: f ? ke({
4362
+ binStartDate: f ? Qe({
4365
4363
  date: l,
4366
4364
  unit: n,
4367
4365
  size: o,
@@ -4435,7 +4433,7 @@ function ko(t) {
4435
4433
  } else l === 1 ? s = e.map((m, g) => {
4436
4434
  const p = m[u];
4437
4435
  let y = e[g + 1]?.[u];
4438
- return y = typeof y == "number" ? y - 1 : ke({
4436
+ return y = typeof y == "number" ? y - 1 : Qe({
4439
4437
  date: p,
4440
4438
  unit: o,
4441
4439
  size: l,
@@ -4504,7 +4502,7 @@ function Qo(t) {
4504
4502
  if (u === re.End) {
4505
4503
  let y = a[0][c];
4506
4504
  for (let F = 0; F < g; F += 1)
4507
- y = ke({
4505
+ y = Qe({
4508
4506
  date: y,
4509
4507
  unit: l,
4510
4508
  size: 1,
@@ -4518,7 +4516,7 @@ function Qo(t) {
4518
4516
  } else {
4519
4517
  let y = a[a.length - 1][c];
4520
4518
  for (let F = 0; F < g; F += 1)
4521
- y = ke({
4519
+ y = Qe({
4522
4520
  date: y,
4523
4521
  unit: l,
4524
4522
  size: 1,
@@ -4591,7 +4589,7 @@ function Uo(t) {
4591
4589
  ...m,
4592
4590
  [d]: p,
4593
4591
  [C.xAxisField]: p
4594
- }) : y = f === re.End ? y - 1 : y + 1, p = ke({
4592
+ }) : y = f === re.End ? y - 1 : y + 1, p = Qe({
4595
4593
  date: p,
4596
4594
  unit: l === U.Month || l === U.Year ? U.Day : l,
4597
4595
  size: 1,
@@ -7247,7 +7245,7 @@ function uu(t) {
7247
7245
  if (e.chartRenderer)
7248
7246
  r = !0;
7249
7247
  else {
7250
- const { series: a } = e, n = $(a), s = G(a), o = _e(e), l = De({
7248
+ const { series: a } = e, n = $(a), s = G(a), o = He(e), l = De({
7251
7249
  seriesConfig: o,
7252
7250
  queryObject: i
7253
7251
  }), c = W(i), u = c?.renderer;
@@ -7533,7 +7531,7 @@ function Su(t) {
7533
7531
  function Vf(t, e) {
7534
7532
  let i = !1;
7535
7533
  if (t && e && e.length > 0 && yr(t)) {
7536
- const a = Ss(t), n = _e(t);
7534
+ const a = Ss(t), n = He(t);
7537
7535
  a ? i = Su(t).some((o) => e.includes(o)) : i = e.includes(n.x);
7538
7536
  }
7539
7537
  return i;
@@ -8002,42 +8000,42 @@ async function Qf(t, e) {
8002
8000
  const i = await mt(t);
8003
8001
  return Ta({ layer: t, rasterInfo: i, popupTemplateFieldInfosEnabled: e });
8004
8002
  }
8005
- const Aa = Qe(
8003
+ const Aa = _e(
8006
8004
  (t) => {
8007
8005
  const e = {}, i = t.layerDefinition;
8008
8006
  return e.definitionExpression = i?.definitionExpression, e.id = t.id, t.url !== void 0 && (e.url = t.url), t.itemId !== void 0 && t.layerDefinition?.id !== void 0 && (e.portalItem = { id: t.itemId }), new bn(e);
8009
8007
  },
8010
8008
  (t) => JSON.stringify(t, Object.keys(t).sort())
8011
8009
  // stringify with sorted keys
8012
- ), Ou = Qe(
8010
+ ), Ou = _e(
8013
8011
  async (t, e) => {
8014
8012
  const i = Aa(t);
8015
8013
  return await Ii(i, e), i;
8016
8014
  },
8017
8015
  (t) => JSON.stringify(t, Object.keys(t).sort())
8018
8016
  // stringify with sorted keys
8019
- ), Na = Qe(
8017
+ ), Na = _e(
8020
8018
  (t) => {
8021
8019
  const e = {};
8022
8020
  return e.id = t.id, t.url !== void 0 && (e.url = t.url), t.itemId !== void 0 && (e.portalItem = { id: t.itemId }), new xn(e);
8023
8021
  },
8024
8022
  (t) => JSON.stringify(t, Object.keys(t).sort())
8025
8023
  // stringify with sorted keys
8026
- ), Eu = Qe(
8024
+ ), Eu = _e(
8027
8025
  async (t, e) => {
8028
8026
  const i = Na(t);
8029
8027
  return await Ii(i, e), i;
8030
8028
  },
8031
8029
  (t) => JSON.stringify(t, Object.keys(t).sort())
8032
8030
  // stringify with sorted keys
8033
- ), qu = Qe(
8031
+ ), qu = _e(
8034
8032
  (t) => {
8035
8033
  const e = {};
8036
8034
  return e.id = t.id, t.url !== void 0 && (e.url = t.url), t.itemId !== void 0 && (e.portalItem = { id: t.itemId }), new Cn(e);
8037
8035
  },
8038
8036
  (t) => JSON.stringify(t, Object.keys(t).sort())
8039
8037
  // stringify with sorted keys
8040
- ), Ru = Qe(
8038
+ ), Ru = _e(
8041
8039
  async (t, e) => {
8042
8040
  const i = qu(t);
8043
8041
  return await Ii(i, e), i;
@@ -8143,7 +8141,7 @@ function ku(t) {
8143
8141
  let e, i, r;
8144
8142
  return t !== void 0 && (e = t.type, (e === ce.UniqueValue || e === ce.ClassBreaks) && (i = t.field ?? void 0, e === ce.ClassBreaks && (r = t.normalizationField ?? void 0))), { rendererType: e, rendererField: i, rendererNormalizationField: r };
8145
8143
  }
8146
- const La = Qe(
8144
+ const La = _e(
8147
8145
  (t) => {
8148
8146
  const e = t.featureCollection;
8149
8147
  let i, r;
@@ -8171,7 +8169,7 @@ const La = Qe(
8171
8169
  },
8172
8170
  (t) => JSON.stringify(t)
8173
8171
  // stringify with sorted keys
8174
- ), wa = Qe(
8172
+ ), wa = _e(
8175
8173
  async (t, e) => await La(t).load({ signal: e }),
8176
8174
  (t) => JSON.stringify(t)
8177
8175
  // stringify with sorted keys
@@ -8586,7 +8584,7 @@ function Di(t) {
8586
8584
  fetchFullBoxPlotData: s,
8587
8585
  returnFeaturesExtent: o,
8588
8586
  chartLimits: l
8589
- } = t, c = e.series, u = G(c), d = _e(e), { query: f, x: m } = d, g = "y" in d ? d.y : void 0, p = De({
8587
+ } = t, c = e.series, u = G(c), d = He(e), { query: f, x: m } = d, g = "y" in d ? d.y : void 0, p = De({
8590
8588
  xAxisValueFormatType: ve(e),
8591
8589
  setTimeBinningInfoWhenNotProvided: n,
8592
8590
  seriesConfig: d,
@@ -8650,7 +8648,7 @@ function Di(t) {
8650
8648
  unit: a?.unit ?? c[0].temporalBinning?.unit,
8651
8649
  chartSubType: u,
8652
8650
  objectIdFields: R,
8653
- runsOnClientQueryEngine: Ve(r)
8651
+ runsOnClientQueryEngine: $e(r)
8654
8652
  });
8655
8653
  }
8656
8654
  v.where = z;
@@ -8711,7 +8709,7 @@ function ac(t) {
8711
8709
  const { data: e, htmlContainer: i } = t;
8712
8710
  i && e && i.dispatchEvent(new window.CustomEvent(et.SeriesOrder, tt(e)));
8713
8711
  }
8714
- const He = [
8712
+ const Ue = [
8715
8713
  "1.0.0",
8716
8714
  "1.0.1",
8717
8715
  "2.0.0",
@@ -8832,14 +8830,14 @@ function lc(t) {
8832
8830
  function am(t) {
8833
8831
  let e = nt.Same, i = [];
8834
8832
  if (lc(t) && t !== void 0) {
8835
- He.sort(ri);
8836
- const a = ri(t, He[He.length - 1]);
8833
+ Ue.sort(ri);
8834
+ const a = ri(t, Ue[Ue.length - 1]);
8837
8835
  if (a === 1 ? e = nt.Newer : a === -1 && (e = nt.Older), e === nt.Newer || e === nt.Same)
8838
8836
  i.push(t);
8839
8837
  else {
8840
- for (let n = He.length - 2; n >= 0; n -= 1)
8841
- if (ri(t, He[n]) >= 0) {
8842
- i = He.slice(n, He.length);
8838
+ for (let n = Ue.length - 2; n >= 0; n -= 1)
8839
+ if (ri(t, Ue[n]) >= 0) {
8840
+ i = Ue.slice(n, Ue.length);
8843
8841
  break;
8844
8842
  }
8845
8843
  i.length === 0 && i.push(nc);
@@ -8848,7 +8846,7 @@ function am(t) {
8848
8846
  e = nt.Unrecognized, i.push(sc);
8849
8847
  return { versionStatus: e, versions: i };
8850
8848
  }
8851
- function _e(t) {
8849
+ function He(t) {
8852
8850
  const { series: e } = t;
8853
8851
  let r = ("showMean" in t ? t.showMean : !1) === !0 ? e.find((a) => a.type === h.LineSeries) : e[0];
8854
8852
  return r ??= e[0], r;
@@ -8980,7 +8978,7 @@ function Be(t) {
8980
8978
  function Ra(t) {
8981
8979
  const { previousConfig: e, newConfig: i, behaviorAfterLimit: r } = t, a = e.series, n = i.series;
8982
8980
  let s = !1, o = !1;
8983
- (r === Ze.RenderUpToTheLimit || e.orderOptions?.data === void 0 || i.orderOptions?.data === void 0) && (o = !Ue(
8981
+ (r === Ze.RenderUpToTheLimit || e.orderOptions?.data === void 0 || i.orderOptions?.data === void 0) && (o = !Ve(
8984
8982
  e.orderOptions?.orderByFields,
8985
8983
  i.orderOptions?.orderByFields
8986
8984
  ));
@@ -8992,14 +8990,14 @@ function Ra(t) {
8992
8990
  });
8993
8991
  }), m;
8994
8992
  }, c = ["where", "outStatistics[0].outStatisticFieldName", "outStatistics[0].onStatisticField"], u = Ei(a.map(l), c), d = Ei(n.map(l), c);
8995
- return s = !Ue(u, d), s || o;
8993
+ return s = !Ve(u, d), s || o;
8996
8994
  }
8997
8995
  function fc(t, e) {
8998
8996
  return JSON.stringify(t.dataFilters) !== JSON.stringify(e.dataFilters);
8999
8997
  }
9000
8998
  function mc(t, e) {
9001
8999
  const i = t.series.find((s) => s.type === h.ScatterSeries), r = e.series.find((s) => s.type === h.ScatterSeries), a = i?.locationsOfInterest?.find(({ enabled: s }) => s), n = r?.locationsOfInterest?.find(({ enabled: s }) => s);
9002
- return !Ue(a?.geometry, n?.geometry);
9000
+ return !Ve(a?.geometry, n?.geometry);
9003
9001
  }
9004
9002
  function gc(t, e) {
9005
9003
  let i = !1;
@@ -9066,7 +9064,7 @@ function Sc(t) {
9066
9064
  let s = !1;
9067
9065
  if (a.type === h.ScatterSeries && n.type === h.ScatterSeries && r && r.length > 0) {
9068
9066
  const o = new Set(a.additionalTooltipFields || []), l = new Set(n.additionalTooltipFields || []);
9069
- if (!Ue(o, l)) {
9067
+ if (!Ve(o, l)) {
9070
9068
  const c = Array.from(l).filter((u) => !o.has(u));
9071
9069
  c.length > 0 && (s = r?.some((u) => c.includes(u.name) && !vt(u)));
9072
9070
  }
@@ -9085,7 +9083,7 @@ function _t(t) {
9085
9083
  }
9086
9084
  function um(t, e) {
9087
9085
  const i = t.legend ?? { type: h.Legend }, r = e.legend ?? { type: h.Legend }, a = _t(i), n = _t(r);
9088
- return !Ue(a, n);
9086
+ return !Ve(a, n);
9089
9087
  }
9090
9088
  function cm(t, e) {
9091
9089
  const i = t.legend ?? { type: h.Legend }, r = e.legend ?? { type: h.Legend }, a = _t(i), n = _t(r);
@@ -9116,7 +9114,7 @@ function mm(t) {
9116
9114
  function Fc(t) {
9117
9115
  const { previousSelectionOIDs: e, selectionData: i, filterBySelection: r } = t;
9118
9116
  let a = !1;
9119
- return r === !0 && (a = e?.length !== i?.selectionOIDs?.length || !Ue(e, i?.selectionOIDs)), a;
9117
+ return r === !0 && (a = e?.length !== i?.selectionOIDs?.length || !Ve(e, i?.selectionOIDs)), a;
9120
9118
  }
9121
9119
  function gm(t, e) {
9122
9120
  return t?.length !== e?.length || t?.some((i, r) => {
@@ -9351,6 +9349,13 @@ function Ga(t) {
9351
9349
  orderBy: a ?? pe.Ascending,
9352
9350
  preferLabel: t.orderOptions.data && "preferLabel" in t.orderOptions.data ? t.orderOptions.data.preferLabel ?? !0 : !0
9353
9351
  };
9352
+ } else if (e === S.BoxPlotC2MultiFields && t.series[0].y) {
9353
+ const r = [t.series[0].y].flat();
9354
+ r.length > 1 && (i = {
9355
+ sortingField: C.boxPlot.boxPlotCategory,
9356
+ orderBy: r,
9357
+ preferLabel: !1
9358
+ });
9354
9359
  }
9355
9360
  return i;
9356
9361
  }
@@ -9379,7 +9384,9 @@ function za(t) {
9379
9384
  preferLabel: c
9380
9385
  };
9381
9386
  }
9382
- } else (n || a) && t.series[0].query?.outStatistics && (l = t.series[0].query.outStatistics.map((c) => c.onStatisticField), l?.length > 1 && (s = {
9387
+ } else (n || a) && t.series[0].query?.outStatistics && (l = t.series[0].query.outStatistics.filter(
9388
+ (c) => c.statisticType !== D.EnvelopeAggregate && c.statisticType !== D.CentroidAggregate && c.statisticType !== D.ConvexHullAggregate
9389
+ ).map((c) => c.onStatisticField), l?.length > 1 && (s = {
9383
9390
  sortingField: Ft.originalXValue,
9384
9391
  orderBy: l,
9385
9392
  preferLabel: !1
@@ -9413,14 +9420,15 @@ function Ht(t) {
9413
9420
  function Pm(t) {
9414
9421
  const { oldConfig: e, newConfig: i, dataWasUpdated: r } = t, a = $(i.series), n = G(i.series);
9415
9422
  let s = !1, o = !1;
9416
- if (n !== S.BoxPlotC1MonoField && n !== S.BoxPlotC5MonoFieldAndSplitBy && i.orderOptions?.data !== void 0) {
9417
- const l = Ht(e), c = Ht(i);
9423
+ const l = Ht(i);
9424
+ if (n !== S.BoxPlotC1MonoField && n !== S.BoxPlotC5MonoFieldAndSplitBy && (i.orderOptions?.data !== void 0 || l !== void 0)) {
9425
+ const c = Ht(e);
9418
9426
  if (a === h.HeatSeries) {
9419
- const u = l ? l[0] : void 0, d = c ? c[0] : void 0, f = l ? l[1] : void 0, m = c ? c[1] : void 0;
9427
+ const u = c ? c[0] : void 0, d = l ? l[0] : void 0, f = c ? c[1] : void 0, m = l ? l[1] : void 0;
9420
9428
  o = e?.orderOptions?.data?.orderType !== i.orderOptions?.data?.orderType || u?.sortingField !== d?.sortingField || u?.orderBy !== d?.orderBy || f?.sortingField !== m?.sortingField || f?.orderBy !== m?.orderBy, s = o || r;
9421
9429
  } else {
9422
- const u = l ? l[0] : void 0, d = c ? c[0] : void 0;
9423
- o = e?.orderOptions?.data?.orderType !== i.orderOptions?.data?.orderType || u?.sortingField !== d?.sortingField || u?.orderBy !== d?.orderBy || (u?.preferLabel ?? !0) !== (d?.preferLabel ?? !0), s = o || r;
9430
+ const u = c ? c[0] : void 0, d = l ? l[0] : void 0;
9431
+ o = e?.orderOptions?.data?.orderType !== i.orderOptions?.data?.orderType || u?.sortingField !== d?.sortingField || !Ve(u?.orderBy, d?.orderBy) || (u?.preferLabel ?? !0) !== (d?.preferLabel ?? !0), s = o || r;
9424
9432
  }
9425
9433
  }
9426
9434
  return s;
@@ -9506,18 +9514,18 @@ export {
9506
9514
  gm as aH,
9507
9515
  Od as aI,
9508
9516
  ui as aJ,
9509
- Ft as aK,
9510
- ff as aL,
9511
- ls as aM,
9512
- Bf as aN,
9513
- gr as aO,
9514
- je as aP,
9515
- vt as aQ,
9516
- Qu as aR,
9517
- zi as aS,
9518
- ge as aT,
9519
- Ve as aU,
9520
- qd as aV,
9517
+ Bf as aK,
9518
+ Ft as aL,
9519
+ ff as aM,
9520
+ ls as aN,
9521
+ vt as aO,
9522
+ Qu as aP,
9523
+ qd as aQ,
9524
+ je as aR,
9525
+ ge as aS,
9526
+ $e as aT,
9527
+ zi as aU,
9528
+ gr as aV,
9521
9529
  kr as aW,
9522
9530
  lu as aX,
9523
9531
  Kl as aY,
@@ -9631,7 +9639,7 @@ export {
9631
9639
  zs as cC,
9632
9640
  Qd as cD,
9633
9641
  Mm as cE,
9634
- He as cF,
9642
+ Ue as cF,
9635
9643
  qf as cG,
9636
9644
  Dr as cH,
9637
9645
  Sd as cI,
@@ -9659,7 +9667,7 @@ export {
9659
9667
  Yd as cd,
9660
9668
  kd as ce,
9661
9669
  Ta as cf,
9662
- _e as cg,
9670
+ He as cg,
9663
9671
  Pi as ch,
9664
9672
  Ad as ci,
9665
9673
  wa as cj,
@@ -1121,9 +1121,9 @@ const Ct = 0, ft = "_with_outliers", yt = "_with_z_score", ht = [210, 210, 210,
1121
1121
  }, Dt = 5;
1122
1122
  export {
1123
1123
  ne as $,
1124
- se as A,
1125
- $e as B,
1126
- _e as C,
1124
+ ze as A,
1125
+ Ue as B,
1126
+ Ce as C,
1127
1127
  b as D,
1128
1128
  q as E,
1129
1129
  X as F,
@@ -1214,8 +1214,8 @@ export {
1214
1214
  B as t,
1215
1215
  Se as u,
1216
1216
  Y as v,
1217
- ze as w,
1218
- Ue as x,
1219
- Ce as y,
1220
- Ve as z
1217
+ se as w,
1218
+ $e as x,
1219
+ Ve as y,
1220
+ _e as z
1221
1221
  };
@@ -4,7 +4,7 @@ import P from "ajv";
4
4
  import { g as k } from "./runtime.js";
5
5
  import { fetchT9nStringsBundle as B } from "@arcgis/toolkit/intl";
6
6
  import { getElementLocale as N } from "@arcgis/toolkit/intl/dom";
7
- import { ce as u, r as E, aT as M, aw as C, bO as V, q as I, x as T, bA as z, cf as G, u as x, b$ as W, aQ as U, bv as F, cg as H, bl as J, X as _, ch as K, bK as Q, z as Z, ci as X, N as Y, O as ee } from "./index.js";
7
+ import { ce as u, r as E, aS as M, aw as C, bO as V, q as I, x as T, bA as z, cf as G, u as x, b$ as W, aO as U, bv as F, cg as H, bl as J, X as _, ch as K, bK as Q, z as Z, ci as X, N as Y, O as ee } from "./index.js";
8
8
  import { l as te, q as ie } from "./index3.js";
9
9
  import { i as v, a as h, D as re } from "./index2.js";
10
10
  import { g as S } from "./series-types.js";
@@ -4,7 +4,7 @@ import { substitute as Y } from "@arcgis/core/intl.js";
4
4
  import { isEmpty as f, isEqual as D } from "es-toolkit/compat";
5
5
  import { g as w } from "./series-length.js";
6
6
  import { g as b } from "./utils2.js";
7
- import { aC as m, B as z, aA as k } from "./index3.js";
7
+ import { aC as m, x as z, aA as k } from "./index3.js";
8
8
  import { b as y } from "./index2.js";
9
9
  import { bL as E } from "./index.js";
10
10
  import { i as T } from "./index4.js";