@arcgis/charts-components 5.1.14 → 5.1.16

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 (104) hide show
  1. package/dist/cdn/{ZOIZM3XM.js → 27IBIBSR.js} +1 -1
  2. package/dist/cdn/{NYFDS3RD.js → 2HHSVPE2.js} +1 -1
  3. package/dist/cdn/{PT7JLUU5.js → 2UC44CRG.js} +1 -1
  4. package/dist/cdn/{4XTLMDXW.js → 3FWRNHEK.js} +1 -1
  5. package/dist/cdn/{MTJ5SVX3.js → 3SBGOFC6.js} +1 -1
  6. package/dist/cdn/{3HT3CCOV.js → 3Z5XY3NC.js} +2 -2
  7. package/dist/cdn/{NMG2GNVR.js → 4A4JBVCY.js} +1 -1
  8. package/dist/cdn/{LFZLMDYD.js → 4BIYII7Z.js} +1 -1
  9. package/dist/cdn/{POW2FH6Z.js → 4FR36QXH.js} +1 -1
  10. package/dist/cdn/{ZVP3LPXT.js → 4YGXQHVS.js} +1 -1
  11. package/dist/cdn/{HKPCO4HL.js → 4YVPEVKU.js} +1 -1
  12. package/dist/cdn/{JJNB5AC7.js → 5AHQQEVD.js} +1 -1
  13. package/dist/cdn/{CKAJX463.js → 5GG6SPVF.js} +1 -1
  14. package/dist/cdn/{HC4POMJ2.js → 5SQUVWRV.js} +1 -1
  15. package/dist/cdn/{EUQIQA6V.js → 62XF4HPB.js} +1 -1
  16. package/dist/cdn/{FY2NVYKS.js → 6ZBZS5RM.js} +1 -1
  17. package/dist/cdn/{HMEEWWGI.js → 722RTUGS.js} +1 -1
  18. package/dist/cdn/{PFYTCBGO.js → 72MNXMJL.js} +1 -1
  19. package/dist/cdn/{MN73KKNM.js → 75ZDLGOP.js} +1 -1
  20. package/dist/cdn/{DBCIEUPZ.js → 7YTM7CJI.js} +1 -1
  21. package/dist/cdn/{PAMPITJY.js → AF57CPKA.js} +1 -1
  22. package/dist/cdn/{SLJF3AOY.js → AFUHNATG.js} +1 -1
  23. package/dist/cdn/{URLY2NWB.js → AKVKR2CE.js} +1 -1
  24. package/dist/cdn/{QHVKS2DQ.js → B66EYHIG.js} +1 -1
  25. package/dist/cdn/{MIF6ADG2.js → BDDGAPGG.js} +1 -1
  26. package/dist/cdn/{AKQXPPBW.js → BDUE7OO2.js} +1 -1
  27. package/dist/cdn/{4AMPX5GE.js → BE3HV7Q5.js} +1 -1
  28. package/dist/cdn/{A7FQJRS7.js → BG6KNHHO.js} +1 -1
  29. package/dist/cdn/{AXCLCMI5.js → BGHKRJSK.js} +1 -1
  30. package/dist/cdn/{COUNKDQU.js → BOCU4IHY.js} +1 -1
  31. package/dist/cdn/{MKJCUFHE.js → CKIA6YS3.js} +1 -1
  32. package/dist/cdn/{RHGQZAJA.js → DEIJ4K64.js} +1 -1
  33. package/dist/cdn/{EC2O4ZSR.js → DKLUASNG.js} +1 -1
  34. package/dist/cdn/{TNQZM7EP.js → E3HJRP2K.js} +1 -1
  35. package/dist/cdn/{Z2OSMTMX.js → E5WYQQRL.js} +1 -1
  36. package/dist/cdn/{G3LKEFGH.js → EG5XV532.js} +1 -1
  37. package/dist/cdn/{6YSYIJPF.js → F6J5YWB6.js} +1 -1
  38. package/dist/cdn/{S4EPO2M4.js → FCXKHNBY.js} +1 -1
  39. package/dist/cdn/{ZEYPXAJR.js → FVR7HXID.js} +1 -1
  40. package/dist/cdn/{P3MPMWMF.js → G5U3RPLX.js} +1 -1
  41. package/dist/cdn/{BEXNQ35Z.js → GHLZQKK2.js} +1 -1
  42. package/dist/cdn/{BJN67WF3.js → GJZJ4LLB.js} +1 -1
  43. package/dist/cdn/{G3SJZA6D.js → H4TP4WPS.js} +1 -1
  44. package/dist/cdn/{DCT2ONUZ.js → HBEDQG5N.js} +1 -1
  45. package/dist/cdn/{OF2TGXKX.js → HOMQKSES.js} +1 -1
  46. package/dist/cdn/{AKIIQ2OF.js → HSCE2IMY.js} +1 -1
  47. package/dist/cdn/{ELOGEI2U.js → HSSOYFON.js} +1 -1
  48. package/dist/cdn/{BWLGW3OB.js → HTDSGAQ2.js} +1 -1
  49. package/dist/cdn/{RINZ5USJ.js → HXNIWHZD.js} +1 -1
  50. package/dist/cdn/{F75I3L3E.js → I735XT3D.js} +1 -1
  51. package/dist/cdn/{5MPDSY6U.js → IHBS6MTO.js} +1 -1
  52. package/dist/cdn/{3FT3WV37.js → IPBQIUXQ.js} +1 -1
  53. package/dist/cdn/{IHKUCS6M.js → JEFQ44N5.js} +1 -1
  54. package/dist/cdn/{F2UXH7GW.js → JTNQKTMV.js} +1 -1
  55. package/dist/cdn/{HYHEPSHK.js → K3OL4HFH.js} +1 -1
  56. package/dist/cdn/{5I7LPWVQ.js → KI2WMWJD.js} +1 -1
  57. package/dist/cdn/{UETQ4XEH.js → KS642GWF.js} +1 -1
  58. package/dist/cdn/{RX3PMDLY.js → L3EVUZQF.js} +1 -1
  59. package/dist/cdn/{JFM47HOQ.js → LFHEYUPS.js} +1 -1
  60. package/dist/cdn/{UARDDCN6.js → LG24AB7A.js} +1 -1
  61. package/dist/cdn/{32WUHDFU.js → LWB5QPXY.js} +1 -1
  62. package/dist/cdn/{G6VW3YDS.js → MGICVJAT.js} +1 -1
  63. package/dist/cdn/{3TFQRGXT.js → MXRJXS5D.js} +1 -1
  64. package/dist/cdn/{HA52AJKM.js → N6VN2NH3.js} +1 -1
  65. package/dist/cdn/{3ODBAS3W.js → NYQ7AUOO.js} +1 -1
  66. package/dist/cdn/{AENP3S4B.js → OZCALJUO.js} +1 -1
  67. package/dist/cdn/{PWFRRPVX.js → PXKK6RBC.js} +1 -1
  68. package/dist/cdn/{HD3RCGV2.js → PZ3EIU2J.js} +1 -1
  69. package/dist/cdn/{TAB7FFIJ.js → Q6TMBQDY.js} +1 -1
  70. package/dist/cdn/{47WVBVWY.js → QHDEQZO2.js} +1 -1
  71. package/dist/cdn/{CGXUIXWV.js → RMDZABWL.js} +1 -1
  72. package/dist/cdn/{FDDIZXKN.js → RYT6YMPI.js} +1 -1
  73. package/dist/cdn/{ID6XRDET.js → S24N6H4P.js} +1 -1
  74. package/dist/cdn/{P4TC6MLD.js → S6K5AGQR.js} +1 -1
  75. package/dist/cdn/{34CYICAL.js → SF6GMJ7A.js} +1 -1
  76. package/dist/cdn/{3ND225UE.js → SHG7A5RP.js} +1 -1
  77. package/dist/cdn/{APBNJBC7.js → SQJH5IBM.js} +1 -1
  78. package/dist/cdn/{I4I3GR3I.js → UB6LHWGE.js} +1 -1
  79. package/dist/cdn/{657M7N2G.js → UOYXQ2WL.js} +1 -1
  80. package/dist/cdn/{G2OVO7ZF.js → UWOYCXGA.js} +1 -1
  81. package/dist/cdn/{EHUE3LRE.js → VAZ4NP77.js} +1 -1
  82. package/dist/cdn/{3EQC43CZ.js → WQYOHQRL.js} +1 -1
  83. package/dist/cdn/{KCJX3NXP.js → WW6JYPVZ.js} +1 -1
  84. package/dist/cdn/{HYQF6VVZ.js → WWXU4XIJ.js} +1 -1
  85. package/dist/cdn/{LUNREPHI.js → XBWLG54C.js} +1 -1
  86. package/dist/cdn/{4UCMWBBT.js → XLNJUTEL.js} +1 -1
  87. package/dist/cdn/{GH53PX67.js → XPS2OGFO.js} +1 -1
  88. package/dist/cdn/{E5L2K4LW.js → XVTULEWV.js} +1 -1
  89. package/dist/cdn/{3FWTFXU7.js → YE5QUURY.js} +1 -1
  90. package/dist/cdn/{RFHFROHC.js → YHW7UWCD.js} +1 -1
  91. package/dist/cdn/{SOP6DF6B.js → YLJIL5KC.js} +1 -1
  92. package/dist/cdn/{6LHJT5XV.js → YOBKCUIG.js} +1 -1
  93. package/dist/cdn/{XI7FOAZK.js → YTTXM24I.js} +1 -1
  94. package/dist/cdn/{WGVW2HML.js → Z655MRG2.js} +1 -1
  95. package/dist/cdn/{6KU44HAM.js → ZVPWIGSH.js} +1 -1
  96. package/dist/cdn/{F7WWY2DB.js → ZXXMSGLL.js} +1 -1
  97. package/dist/cdn/index.js +1 -1
  98. package/dist/cdn/model/shared/setup-utils.js +1 -1
  99. package/dist/chunks/index2.js +118 -118
  100. package/dist/chunks/runtime.js +1 -1
  101. package/dist/docs/api.json +1 -1
  102. package/dist/docs/docs.json +1 -1
  103. package/dist/docs/web-types.json +1 -1
  104. package/package.json +3 -3
@@ -20,8 +20,8 @@ import ea from "@arcgis/core/rest/support/FeatureSet.js";
20
20
  import { g as j } from "./series-types.js";
21
21
  import { F as x, q as oe, C as F, e as Xt, z as ta, l as ci, o as Li, v as ia, d as Jt, x as Mr, g as aa, s as Wt, w as Dr, i as Or, r as Ae, t as Vt } from "./index3.js";
22
22
  import Ir from "@arcgis/core/Graphic.js";
23
- import * as Gt from "@arcgis/core/symbols/support/symbolUtils.js";
24
- import { f as Kt, h as et, i as _e, e as se, R as U } from "./rest-js-object-literals.js";
23
+ import * as Ut from "@arcgis/core/symbols/support/symbolUtils.js";
24
+ import { f as Kt, h as et, i as _e, e as se, R as G } from "./rest-js-object-literals.js";
25
25
  import Er from "@arcgis/core/AttributeBinsGraphic.js";
26
26
  import { substitute as Be } from "@arcgis/core/intl.js";
27
27
  import { g as Rt, L as lt, az as W, j as _, r as ut, o as Oe, ax as ei, am as ra, aB as na, aq as qr, s as $t, ay as Vr, b as Rr, a as $r } from "./index.js";
@@ -33,7 +33,7 @@ import { g as gt } from "./runtime.js";
33
33
  import { linearRegression as jr, linearRegressionLine as Hr, rSquared as zr } from "simple-statistics";
34
34
  import { sqlLiteral as Wr } from "@arcgis/core/core/sql.js";
35
35
  import { DateTime as me } from "luxon";
36
- import { computeStatisticsHistograms as Gr, computeRasterAttributeTable as Ur, getCurrentRasterInfo as ct, fetchPixelFeatureSet as Yr } from "@arcgis/core/applications/Components/imageryUtils.js";
36
+ import { computeStatisticsHistograms as Ur, computeRasterAttributeTable as Gr, getCurrentRasterInfo as ct, fetchPixelFeatureSet as Yr } from "@arcgis/core/applications/Components/imageryUtils.js";
37
37
  import Zr from "@arcgis/core/geometry/Extent.js";
38
38
  import ca from "@arcgis/core/geometry/Point.js";
39
39
  import Xr from "@arcgis/core/layers/ImageryLayer.js";
@@ -508,7 +508,7 @@ const Qe = [
508
508
  S.ComboLineAndBarSeries,
509
509
  S.RadarSeries
510
510
  ];
511
- function Ut(t, e) {
511
+ function Gt(t, e) {
512
512
  let i = 0;
513
513
  if (t !== e) {
514
514
  const a = t.split("."), r = e.split(".");
@@ -532,13 +532,13 @@ function bn(t) {
532
532
  function Nc(t) {
533
533
  let e = Ke.Same, i = [];
534
534
  if (bn(t) && t !== void 0) {
535
- Qe.sort(Ut);
536
- const r = Ut(t, Qe[Qe.length - 1]);
535
+ Qe.sort(Gt);
536
+ const r = Gt(t, Qe[Qe.length - 1]);
537
537
  if (r === 1 ? e = Ke.Newer : r === -1 && (e = Ke.Older), e === Ke.Newer || e === Ke.Same)
538
538
  i.push(t);
539
539
  else {
540
540
  for (let n = Qe.length - 2; n >= 0; n -= 1)
541
- if (Ut(t, Qe[n]) >= 0) {
541
+ if (Gt(t, Qe[n]) >= 0) {
542
542
  i = Qe.slice(n, Qe.length);
543
543
  break;
544
544
  }
@@ -865,7 +865,7 @@ function Wc(t, e) {
865
865
  }
866
866
  return i;
867
867
  }
868
- function Gc(t) {
868
+ function Uc(t) {
869
869
  const {
870
870
  previousConfig: e,
871
871
  newConfig: i,
@@ -961,7 +961,7 @@ function Gc(t) {
961
961
  }
962
962
  return g = Object.values(h.common).some((v) => v), (h.gauge.valueConversionChanged || h.histogram.dataPropsChanged || h.boxPlot.showMeanChanged || h.heatChart.binningChanged || h.heatChart.hideEmptyRowsAndColumnsChanged || h.heatChart.includeLeapDay || h.scatterPlot.tooltipFieldsChanged) && (p = !0), y = g || p, { dataUpdateNeeded: y, dataUpdateDetails: h };
963
963
  }
964
- function Uc(t, e) {
964
+ function Gc(t, e) {
965
965
  const i = He(t);
966
966
  if (i && i.series.length > 1) {
967
967
  const { preferLabel: a, orderBy: r } = i.orderOptions?.series ?? {};
@@ -1494,7 +1494,7 @@ function Wn(t) {
1494
1494
  }
1495
1495
  ), { rendererSymbol: s, colorMatchApplied: o };
1496
1496
  }
1497
- function Gn(t) {
1497
+ function Un(t) {
1498
1498
  const { seriesConfig: e, chartSubType: i, rendererType: a } = t;
1499
1499
  let n = x.rendererSymbolField;
1500
1500
  if (a === se.UniqueValue) {
@@ -1523,14 +1523,14 @@ function Gn(t) {
1523
1523
  }
1524
1524
  function La(t) {
1525
1525
  const { seriesConfig: e, chartSubType: i, rendererType: a, dataItem: r } = t;
1526
- let n = Gn({
1526
+ let n = Un({
1527
1527
  seriesConfig: e,
1528
1528
  chartSubType: i,
1529
1529
  rendererType: a
1530
1530
  });
1531
1531
  return n instanceof Array && e.type === S.BoxPlotSeries && a === se.PieChart && r !== void 0 && (n = n.find((s) => s === r[Rt]) ?? n[0]), n = n !== x.rendererSymbolField ? `${x.rendererSymbolField}_${n.toString()}` : n, n;
1532
1532
  }
1533
- function Un(t) {
1533
+ function Gn(t) {
1534
1534
  const { chartRenderer: e, queryObject: i } = t, a = e !== void 0 ? {
1535
1535
  // TODO: find a better way to copy the layer. For now it's all right as the information we need are not lost with the spread operator
1536
1536
  // eslint-disable-next-line @typescript-eslint/no-misused-spread
@@ -1609,12 +1609,12 @@ async function Yn(t) {
1609
1609
  }), p.attributes = b, l?.has(JSON.stringify(b)))
1610
1610
  d = l.get(JSON.stringify(b));
1611
1611
  else {
1612
- if (d = (await Gt.getDisplayedSymbol(p))?.toJSON(), d != null) {
1612
+ if (d = (await Ut.getDisplayedSymbol(p))?.toJSON(), d != null) {
1613
1613
  if (d.color === void 0) {
1614
- const T = (await Gt.getDisplayedColor(p))?.toJSON();
1614
+ const T = (await Ut.getDisplayedColor(p))?.toJSON();
1615
1615
  T && (d.color = T.length === 4 ? T : [...T, 255]);
1616
1616
  }
1617
- const N = await Gt.getLegendLabel(p);
1617
+ const N = await Ut.getLegendLabel(p);
1618
1618
  N != null && N !== "" && (d.label = N, d.uniqueValue = h?.find((T) => T.label === N)?.value ?? void 0);
1619
1619
  }
1620
1620
  l?.set(JSON.stringify(b), d);
@@ -1999,17 +1999,17 @@ function yi(t) {
1999
1999
  returnFeaturesExtent: o,
2000
2000
  splitByField: $
2001
2001
  }), b && os({ uniqueQuery: N, splitByField: $, x: m }), de(e) && C && (N.outStatistics = us({ chartConfig: e, fetchFullBoxPlotData: s })), B ? delete N.orderByFields : i.orderByFields !== void 0 && (N.orderByFields = i.orderByFields.filter((q) => {
2002
- const G = q.split(" ");
2003
- return !oe(G[0]);
2002
+ const U = q.split(" ");
2003
+ return !oe(U[0]);
2004
2004
  })), g && be(c[0])) {
2005
- const q = z(a), { idFields: G } = kt(q);
2006
- Ce(a).find((H) => H.name === m)?.type !== U.DateOnly && G && ds({
2005
+ const q = z(a), { idFields: U } = kt(q);
2006
+ Ce(a).find((H) => H.name === m)?.type !== G.DateOnly && U && ds({
2007
2007
  uniqueQuery: N,
2008
2008
  x: m,
2009
2009
  splitByField: te(f.where),
2010
2010
  unit: r?.unit ?? c[0].temporalBinning?.unit,
2011
2011
  chartSubType: l,
2012
- objectIdFields: G,
2012
+ objectIdFields: U,
2013
2013
  runsOnClientQueryEngine: Ee(a)
2014
2014
  });
2015
2015
  }
@@ -2026,7 +2026,7 @@ const le = {
2026
2026
  ChartDisposed: "ChartDisposeError",
2027
2027
  LayerFieldsNotFound: "layerFieldsNotFound",
2028
2028
  LayerNotSupported: "layerNotSupported"
2029
- }, Ge = /* @__PURE__ */ new Map(), dd = {
2029
+ }, Ue = /* @__PURE__ */ new Map(), dd = {
2030
2030
  NonNumericAggregation: "nonNumericAggregation",
2031
2031
  DuplicateSeriesID: "duplicateSeriesId"
2032
2032
  }, fd = {
@@ -2102,7 +2102,7 @@ async function ys(t) {
2102
2102
  x: v,
2103
2103
  y: B,
2104
2104
  spatialReference: b
2105
- }), N = ms(l), T = await Gr(
2105
+ }), N = ms(l), T = await Ur(
2106
2106
  f,
2107
2107
  {
2108
2108
  bandIds: [g],
@@ -2113,7 +2113,7 @@ async function ys(t) {
2113
2113
  downsampleOnly: !0
2114
2114
  },
2115
2115
  {
2116
- signal: o ?? (s !== void 0 ? Ge.get(s)?.signal : void 0)
2116
+ signal: o ?? (s !== void 0 ? Ue.get(s)?.signal : void 0)
2117
2117
  }
2118
2118
  );
2119
2119
  h = T.statistics[0], p = T.histograms[0];
@@ -2424,7 +2424,7 @@ async function xt(t) {
2424
2424
  let l;
2425
2425
  try {
2426
2426
  l = await e.queryFeatures(c, {
2427
- signal: n ?? (a !== void 0 ? Ge.get(a)?.signal : void 0)
2427
+ signal: n ?? (a !== void 0 ? Ue.get(a)?.signal : void 0)
2428
2428
  });
2429
2429
  } catch (f) {
2430
2430
  if (!ua.isAbortError(f)) {
@@ -2450,7 +2450,7 @@ async function xt(t) {
2450
2450
  async function Oa(t) {
2451
2451
  const { queryObject: e, queryConfig: i, returnUniqueIdsOnly: a, abortKey: r, errorStrings: n, abortSignal: s } = t;
2452
2452
  let o = [];
2453
- const u = z(e), c = s || (r !== void 0 ? Ge.get(r)?.signal : void 0), l = xo(u), d = hi({
2453
+ const u = z(e), c = s || (r !== void 0 ? Ue.get(r)?.signal : void 0), l = xo(u), d = hi({
2454
2454
  queryObject: e,
2455
2455
  queryConfig: i,
2456
2456
  maxRecordCountFactor: l
@@ -2538,8 +2538,8 @@ async function yd(t) {
2538
2538
  }
2539
2539
  function Ls(t) {
2540
2540
  if (t !== void 0) {
2541
- const e = Ge.get(t);
2542
- e !== void 0 && e.abort(), Ge.set(t, new AbortController());
2541
+ const e = Ue.get(t);
2542
+ e !== void 0 && e.abort(), Ue.set(t, new AbortController());
2543
2543
  }
2544
2544
  }
2545
2545
  function Ia(t) {
@@ -2659,12 +2659,12 @@ async function Is(t) {
2659
2659
  let N = Number.NaN, T = Number.NaN;
2660
2660
  const { expr: w } = Wt(C, h), { expr: L } = Wt(C, v), { expr: A } = Wt(C, B);
2661
2661
  w !== void 0 && Number.isFinite(C[w]) && (N = C[w]), L !== void 0 && Number.isFinite(C[L]) && (T = C[L]), A !== void 0 && Number.isFinite(C[A]) && (l = C[A]);
2662
- const { dataContextXMinField: I, dataContextXMaxField: P, dataContextYMinField: O, dataContextYMaxField: V } = x.scatterplotAggregationFields, $ = e.get(I) ?? Number.NaN, M = e.get(P) ?? Number.NaN, q = e.get(O) ?? Number.NaN, G = e.get(V) ?? Number.NaN, X = (M - $) / 100;
2662
+ const { dataContextXMinField: I, dataContextXMaxField: P, dataContextYMinField: O, dataContextYMaxField: V } = x.scatterplotAggregationFields, $ = e.get(I) ?? Number.NaN, M = e.get(P) ?? Number.NaN, q = e.get(O) ?? Number.NaN, U = e.get(V) ?? Number.NaN, X = (M - $) / 100;
2663
2663
  let H = $ - X, ae = Number.NaN;
2664
- for (; !(ae >= q && ae <= G) && H <= M; )
2664
+ for (; !(ae >= q && ae <= U) && H <= M; )
2665
2665
  H += X, ae = N * H + T;
2666
2666
  let pe = M + X, $e = Number.NaN;
2667
- for (; !($e >= q && $e <= G) && pe >= $; )
2667
+ for (; !($e >= q && $e <= U) && pe >= $; )
2668
2668
  pe -= X, $e = N * pe + T;
2669
2669
  d = [
2670
2670
  { [u]: H, [c]: ae },
@@ -2899,7 +2899,7 @@ async function Hs(t) {
2899
2899
  y: r.resolution,
2900
2900
  spatialReference: r.spatialReference
2901
2901
  }) : void 0;
2902
- c = await Ur(
2902
+ c = await Gr(
2903
2903
  e,
2904
2904
  {
2905
2905
  geometry: u,
@@ -2907,7 +2907,7 @@ async function Hs(t) {
2907
2907
  downsampleOnly: !0
2908
2908
  },
2909
2909
  {
2910
- signal: s ?? (n !== void 0 ? Ge.get(n)?.signal : void 0)
2910
+ signal: s ?? (n !== void 0 ? Ue.get(n)?.signal : void 0)
2911
2911
  }
2912
2912
  );
2913
2913
  }
@@ -3013,10 +3013,10 @@ function Ws(t, e) {
3013
3013
  return o !== void 0 && u !== void 0 && o === u + 1 ? (s[1] = n, r) : (r.push([n, n]), r);
3014
3014
  }, []);
3015
3015
  }
3016
- function Gs(t, e) {
3016
+ function Us(t, e) {
3017
3017
  return t?.map(({ attributes: a }) => a[e]).filter((a) => a != null).sort((a, r) => a - r);
3018
3018
  }
3019
- function Us(t) {
3019
+ function Gs(t) {
3020
3020
  const { chartConfig: e, layer: i, selectionDataItems: a } = t;
3021
3021
  let r;
3022
3022
  const n = i.serviceRasterInfo?.attributeTable ?? ct(i)?.attributeTable, s = e.series?.[0]?.x, o = n?.features, u = n?.fields?.find(({ name: c }) => c.toLowerCase() === "value")?.name;
@@ -3032,7 +3032,7 @@ function Us(t) {
3032
3032
  });
3033
3033
  const d = Array.from(l).sort((f, m) => f - m);
3034
3034
  if (d.length > 0) {
3035
- const f = Gs(o, u);
3035
+ const f = Us(o, u);
3036
3036
  r = {
3037
3037
  bandId: 0,
3038
3038
  pixelRanges: Ws(d, f)
@@ -3071,13 +3071,13 @@ function Js(t) {
3071
3071
  let e;
3072
3072
  switch (t) {
3073
3073
  case "f32":
3074
- e = U.Single;
3074
+ e = G.Single;
3075
3075
  break;
3076
3076
  case "f64":
3077
- e = U.Double;
3077
+ e = G.Double;
3078
3078
  break;
3079
3079
  default:
3080
- e = U.Integer;
3080
+ e = G.Integer;
3081
3081
  break;
3082
3082
  }
3083
3083
  return e;
@@ -3126,7 +3126,7 @@ function Ei(t) {
3126
3126
  }), n = [{
3127
3127
  name: ai,
3128
3128
  alias: Ys,
3129
- type: U.OID
3129
+ type: G.OID
3130
3130
  }, ...o];
3131
3131
  } catch {
3132
3132
  n = [];
@@ -3185,7 +3185,7 @@ const $a = qt(
3185
3185
  let n;
3186
3186
  switch (r) {
3187
3187
  case S.BarSeries:
3188
- n = Us({
3188
+ n = Gs({
3189
3189
  chartConfig: e,
3190
3190
  layer: i,
3191
3191
  selectionDataItems: a
@@ -3216,7 +3216,7 @@ async function eo(t) {
3216
3216
  let s = [];
3217
3217
  if (e !== void 0)
3218
3218
  try {
3219
- const o = n && Ge.get(n)?.signal || void 0, u = z(e);
3219
+ const o = n && Ue.get(n)?.signal || void 0, u = z(e);
3220
3220
  u.loaded || await Qt(u, o);
3221
3221
  const l = {
3222
3222
  geometry: ft(i.geometry) ?? u.fullExtent,
@@ -3366,28 +3366,28 @@ function ve(t) {
3366
3366
  }
3367
3367
  function Ft(t) {
3368
3368
  const e = [
3369
- U.Single,
3370
- U.Double,
3371
- U.SmallInteger,
3372
- U.Integer,
3373
- U.BigInteger
3369
+ G.Single,
3370
+ G.Double,
3371
+ G.SmallInteger,
3372
+ G.Integer,
3373
+ G.BigInteger
3374
3374
  ];
3375
3375
  return t !== void 0 && e.includes(t.type);
3376
3376
  }
3377
3377
  function ao(t) {
3378
- return t?.type === U.Date || t?.type === U.DateOnly || t?.type === U.TimestampOffset;
3378
+ return t?.type === G.Date || t?.type === G.DateOnly || t?.type === G.TimestampOffset;
3379
3379
  }
3380
3380
  function Cd(t) {
3381
- return t?.type === U.String;
3381
+ return t?.type === G.String;
3382
3382
  }
3383
3383
  function vd(t) {
3384
- return t?.type === U.TimeOnly;
3384
+ return t?.type === G.TimeOnly;
3385
3385
  }
3386
3386
  function Bd(t) {
3387
3387
  const e = [
3388
- U.SmallInteger,
3389
- U.Integer,
3390
- U.BigInteger
3388
+ G.SmallInteger,
3389
+ G.Integer,
3390
+ G.BigInteger
3391
3391
  ];
3392
3392
  return t !== void 0 && e.includes(t.type);
3393
3393
  }
@@ -3601,7 +3601,7 @@ function _t(t) {
3601
3601
  const { queryType: e, queryObject: i, queryConfig: a, view: r, configTimeZone: n, dateField: s, useViewTimeZone: o } = t, { where: u, outStatistics: c, geometry: l, distance: d, units: f, timeExtent: m, returnDistinctValues: y } = a ?? {}, g = z(i);
3602
3602
  let h = ge(g)?.createQuery() ?? new Br(), v;
3603
3603
  const B = kt(g).idFields;
3604
- if (e === "AttributeBinsQuery" && a?.objectIds?.[0] !== void 0 && B && (v = `${B} IN (${a.objectIds.join(",")})`), e === "AttributeBinsQuery" && (h = new vr(h.toJSON()), Ce(i).find((T) => T.name === s)?.type !== U.DateOnly)) {
3604
+ if (e === "AttributeBinsQuery" && a?.objectIds?.[0] !== void 0 && B && (v = `${B} IN (${a.objectIds.join(",")})`), e === "AttributeBinsQuery" && (h = new vr(h.toJSON()), Ce(i).find((T) => T.name === s)?.type !== G.DateOnly)) {
3605
3605
  const T = Intl.DateTimeFormat().resolvedOptions().timeZone, w = o && r && "timeZone" in r ? r.timeZone : void 0;
3606
3606
  let L = n ?? w ?? T;
3607
3607
  L === "unknown" ? L = "Etc/UTC" : L === "system" && (L = T), h.outTimeZone = L;
@@ -3672,10 +3672,10 @@ function pi(t) {
3672
3672
  let c, l, d = 1, f = 1;
3673
3673
  switch (a) {
3674
3674
  case he.MinuteOfDay:
3675
- i !== U.DateOnly && (l = "MINUTE", d = 0, f = 59);
3675
+ i !== G.DateOnly && (l = "MINUTE", d = 0, f = 59);
3676
3676
  break;
3677
3677
  case he.HourOfDay:
3678
- i !== U.DateOnly && (l = "HOUR", d = 0, f = 23);
3678
+ i !== G.DateOnly && (l = "HOUR", d = 0, f = 23);
3679
3679
  break;
3680
3680
  case he.DayOfWeek:
3681
3681
  l = "DOW", f = 7;
@@ -3728,7 +3728,7 @@ function Vi(t) {
3728
3728
  includeLeapDay: u
3729
3729
  } = t, { unit: c } = e ?? {};
3730
3730
  let l, d, f, m;
3731
- return a === U.Date || a === U.DateOnly || a === U.TimestampOffset ? { expression: d, start: f, end: m } = pi({
3731
+ return a === G.Date || a === G.DateOnly || a === G.TimestampOffset ? { expression: d, start: f, end: m } = pi({
3732
3732
  field: i,
3733
3733
  fieldType: a,
3734
3734
  unit: c,
@@ -3855,7 +3855,7 @@ function Bo(t) {
3855
3855
  }
3856
3856
  return e;
3857
3857
  }
3858
- function Ga(t) {
3858
+ function Ua(t) {
3859
3859
  let e = "field";
3860
3860
  switch (t) {
3861
3861
  case Z.Log:
@@ -3938,7 +3938,7 @@ function wo(t) {
3938
3938
  };
3939
3939
  return u !== Z.None && (c = {
3940
3940
  ...c,
3941
- normalizationType: Ga(u)
3941
+ normalizationType: Ua(u)
3942
3942
  }), c;
3943
3943
  }
3944
3944
  function Lo(t) {
@@ -3967,7 +3967,7 @@ function Lo(t) {
3967
3967
  };
3968
3968
  return d !== Z.None && (f = {
3969
3969
  ...f,
3970
- normalizationType: Ga(d)
3970
+ normalizationType: Ua(d)
3971
3971
  }), f;
3972
3972
  }
3973
3973
  function Po(t, e) {
@@ -4059,7 +4059,7 @@ async function Mo(t) {
4059
4059
  }
4060
4060
  return d;
4061
4061
  }
4062
- async function Ua(t) {
4062
+ async function Ga(t) {
4063
4063
  const { chartConfig: e, queryConfig: i, queryObject: a, abortKey: r, abortSignal: n, errorStrings: s, view: o } = t, { series: u } = e, c = u[0];
4064
4064
  let l;
4065
4065
  if (ie(a))
@@ -4113,7 +4113,7 @@ const Ri = {
4113
4113
  Count: "count",
4114
4114
  Start: "minValue",
4115
4115
  End: "maxValue"
4116
- }, Ue = {
4116
+ }, Ge = {
4117
4117
  groupByCaseBegin: "CASE",
4118
4118
  groupByOutKeyword: "OUT",
4119
4119
  groupByCaseEnd: "ELSE 'OUT' END"
@@ -4717,7 +4717,7 @@ async function Wo(t) {
4717
4717
  }
4718
4718
  return Array.from(v.values());
4719
4719
  }
4720
- async function Go(t) {
4720
+ async function Uo(t) {
4721
4721
  const {
4722
4722
  data: e,
4723
4723
  queryObject: i,
@@ -4773,7 +4773,7 @@ async function Go(t) {
4773
4773
  x: h !== void 0 && h !== "" ? h : p
4774
4774
  })), l;
4775
4775
  }
4776
- async function Uo(t) {
4776
+ async function Go(t) {
4777
4777
  const { queryObject: e, uniqueQuery: i, chartConfig: a, errorStrings: r, abortKey: n, abortSignal: s } = t;
4778
4778
  let o;
4779
4779
  const { series: u, showMean: c } = a, l = k(u);
@@ -4889,7 +4889,7 @@ async function Zo(t) {
4889
4889
  } = t;
4890
4890
  let d = e, f = [];
4891
4891
  if (d !== void 0) {
4892
- const { series: m } = n, y = await Uo({
4892
+ const { series: m } = n, y = await Go({
4893
4893
  queryObject: i,
4894
4894
  uniqueQuery: a,
4895
4895
  chartConfig: n,
@@ -4907,7 +4907,7 @@ async function Zo(t) {
4907
4907
  abortKey: c,
4908
4908
  abortSignal: l
4909
4909
  });
4910
- const g = await Go({
4910
+ const g = await Uo({
4911
4911
  queryObject: i,
4912
4912
  uniqueQuery: a,
4913
4913
  elementCount: s,
@@ -5078,7 +5078,7 @@ async function Qd(t) {
5078
5078
  const { series: o, chartRenderer: u } = a, c = el(u), l = c ? tt.ChartRenderer : tt.LayerRenderer, d = i ? z(i) : void 0, f = c ?? d?.renderer;
5079
5079
  let m;
5080
5080
  d && l === tt.LayerRenderer ? s = await Qa(d) : l === tt.ChartRenderer && (s = Jn(f));
5081
- const y = jn(c, d?.renderer), g = Un({
5081
+ const y = jn(c, d?.renderer), g = Gn({
5082
5082
  chartRenderer: u,
5083
5083
  queryObject: i
5084
5084
  }), p = j(o), h = k(o), v = Re(a), B = te(v.query?.where);
@@ -5327,7 +5327,7 @@ function tr(t) {
5327
5327
  value: r[e],
5328
5328
  dataContext: r
5329
5329
  });
5330
- n === U.Double ? o = er(d, e) : (je(s.axes?.[0].valueFormat) && (d = nt(d)), o = Le({
5330
+ n === G.Double ? o = er(d, e) : (je(s.axes?.[0].valueFormat) && (d = nt(d)), o = Le({
5331
5331
  where: qe(e, d),
5332
5332
  normalize: !1,
5333
5333
  escape: !0
@@ -5364,7 +5364,7 @@ function sl(t) {
5364
5364
  value: a[e],
5365
5365
  dataContext: a
5366
5366
  });
5367
- r === U.Double ? o = er(l, e) : (je(n.axes?.[0].valueFormat) && r !== U.TimeOnly && (l = nt(l)), o = Le({
5367
+ r === G.Double ? o = er(l, e) : (je(n.axes?.[0].valueFormat) && r !== G.TimeOnly && (l = nt(l)), o = Le({
5368
5368
  where: qe(e, l),
5369
5369
  normalize: !1,
5370
5370
  escape: !0
@@ -5509,9 +5509,9 @@ async function cl(t) {
5509
5509
  case F.BoxPlotMultiFieldsAndSplitBy:
5510
5510
  case F.BoxPlotMonoFieldAndCategoryAndSplitBy: {
5511
5511
  const M = te(h.query?.where ?? ""), q = `_${E.Average}`;
5512
- Object.keys(P).forEach((G) => {
5513
- if (G.includes(q)) {
5514
- const J = G.replace(q, "");
5512
+ Object.keys(P).forEach((U) => {
5513
+ if (U.includes(q)) {
5514
+ const J = U.replace(q, "");
5515
5515
  J.trim() !== "" && O.push(qe(M, J));
5516
5516
  }
5517
5517
  });
@@ -5521,7 +5521,7 @@ async function cl(t) {
5521
5521
  const V = [B].flat();
5522
5522
  let $ = V.length === 1 ? V[0] : "";
5523
5523
  if (g === F.BoxPlotMultiFieldsAndCategory) {
5524
- const M = `_${E.FirstQuartile}`, q = Object.keys(P).find((G) => G.includes(M));
5524
+ const M = `_${E.FirstQuartile}`, q = Object.keys(P).find((U) => U.includes(M));
5525
5525
  q !== void 0 && ($ = q.replace(M, ""));
5526
5526
  }
5527
5527
  O.length === 0 && O.push(""), O.forEach((M) => {
@@ -5671,7 +5671,7 @@ async function dl(t) {
5671
5671
  const { minValue: O, maxValue: V } = I, $ = P === C.length - 1 ? "<=" : "<";
5672
5672
  return `${T} >= ${O} AND ${T} ${$} ${V}`;
5673
5673
  }), L = Y(w, "OR"), A = { ...i };
5674
- A.where = Y([A.where, L]), b = await Ua({
5674
+ A.where = Y([A.where, L]), b = await Ga({
5675
5675
  queryObject: e,
5676
5676
  chartConfig: a,
5677
5677
  queryConfig: A,
@@ -5890,7 +5890,7 @@ async function fl(t) {
5890
5890
  });
5891
5891
  break;
5892
5892
  case S.HistogramSeries:
5893
- w = await Ua({
5893
+ w = await Ga({
5894
5894
  queryObject: e,
5895
5895
  queryConfig: a,
5896
5896
  chartConfig: i,
@@ -6413,7 +6413,7 @@ function Tl(t) {
6413
6413
  }
6414
6414
  function Al(t) {
6415
6415
  const { groupByFieldsForStatistics: e, dateField: i, queryStartDate: a, queryEndDate: r, y: n, binIndex: s, lastBin: o } = t;
6416
- let u = e === "" ? Ue.groupByCaseBegin : e;
6416
+ let u = e === "" ? Ge.groupByCaseBegin : e;
6417
6417
  return u = Be(hl, {
6418
6418
  groupByFieldsForStatistics: u,
6419
6419
  dateField: i,
@@ -6436,7 +6436,7 @@ function* wl(t) {
6436
6436
  statisticParameters: { value: 0.5 }
6437
6437
  }
6438
6438
  ];
6439
- let y = Ue.groupByCaseBegin;
6439
+ let y = Ge.groupByCaseBegin;
6440
6440
  for (let p = 0; p < r.length; p += 1) {
6441
6441
  const h = r[p], [v, B] = h[x.dateBinningRange], b = nt(v), C = nt(B);
6442
6442
  y = Al({
@@ -6449,7 +6449,7 @@ function* wl(t) {
6449
6449
  lastBin: p === r.length - 1
6450
6450
  });
6451
6451
  }
6452
- y = `${y} ${Ue.groupByCaseEnd}`;
6452
+ y = `${y} ${Ge.groupByCaseEnd}`;
6453
6453
  const g = {
6454
6454
  ...a,
6455
6455
  groupByFieldsForStatistics: [y],
@@ -6518,7 +6518,7 @@ function Pl(t) {
6518
6518
  let C = B[c.lowerBoundaryAlias], N = B[c.upperBoundaryAlias];
6519
6519
  const T = C, w = N, L = (A, I) => {
6520
6520
  let P = A;
6521
- if (I === U.DateOnly && (typeof A == "string" && A.length === 10 || typeof A == "number"))
6521
+ if (I === G.DateOnly && (typeof A == "string" && A.length === 10 || typeof A == "number"))
6522
6522
  if (typeof A == "string") {
6523
6523
  const O = A.split("-");
6524
6524
  O.length === 3 && (P = me.local(Number(O[0]), Number(O[1]), Number(O[2])).valueOf());
@@ -6764,7 +6764,7 @@ function bi(t, e) {
6764
6764
  }
6765
6765
  function kl(t, e) {
6766
6766
  let i = [];
6767
- W.outStatistics.outStatisticFieldName && Object.keys(t).includes(W.outStatistics.outStatisticFieldName) ? i = [W.outStatistics.outStatisticFieldName] : i = Array.from(
6767
+ W.outStatistics.outStatisticFieldName && (Object.keys(t).includes(W.outStatistics.outStatisticFieldName) || Object.keys(t).includes(W.outStatistics.outStatisticFieldName.toUpperCase())) ? i = [W.outStatistics.outStatisticFieldName] : i = Array.from(
6768
6768
  new Set(
6769
6769
  e.flatMap((a) => a.query?.outStatistics?.map((r) => r.outStatisticFieldName))
6770
6770
  )
@@ -6829,7 +6829,7 @@ function Wl(t) {
6829
6829
  const { queryResponse: e, chartConfig: i, maxCategoryCount: a } = t, r = k(i.series);
6830
6830
  return a && Number.isFinite(a) && a < e.length && ir.includes(r) ? e.slice(0, a) : e;
6831
6831
  }
6832
- function Gl(t) {
6832
+ function Ul(t) {
6833
6833
  const { attributes: e, uniqueCategoryList: i, maxCategoryCount: a, x: r, chartSubType: n } = t;
6834
6834
  let s = !1;
6835
6835
  if (r && a && Number.isFinite(a) && !ir.includes(n))
@@ -6843,7 +6843,7 @@ function Gl(t) {
6843
6843
  }
6844
6844
  return s;
6845
6845
  }
6846
- function Ul(t) {
6846
+ function Gl(t) {
6847
6847
  const {
6848
6848
  attributes: e,
6849
6849
  xValue: i,
@@ -6884,7 +6884,7 @@ function or(t) {
6884
6884
  A += Hl(f, a);
6885
6885
  const $ = O[V];
6886
6886
  let M = { ...$.attributes };
6887
- if (Gl({ attributes: M, uniqueCategoryList: I, maxCategoryCount: P, x: y, chartSubType: f }))
6887
+ if (Ul({ attributes: M, uniqueCategoryList: I, maxCategoryCount: P, x: y, chartSubType: f }))
6888
6888
  continue;
6889
6889
  if (kl(M, d), f === F.PieFromFields || f === F.BarAndLineFromFields)
6890
6890
  M = Ql(M, p);
@@ -6897,17 +6897,17 @@ function or(t) {
6897
6897
  );
6898
6898
  zl({ attributes: M, showMean: u, chartSubType: f });
6899
6899
  let q = M[y];
6900
- const G = typeof g == "string" ? M[g] : void 0;
6901
- q === null && d[0]?.query?.fetchNullValues === !0 && f !== F.PieFromFields && (M[B] = null, q = x.nullValue), h || (w && typeof q == "string" ? q = new Date(q).valueOf() : s && (q = El(M))), typeof q == "string" && l?.find((ae) => ae.name === y)?.type === U.TimeOnly && (M[B] = q, q = Yl(q));
6900
+ const U = typeof g == "string" ? M[g] : void 0;
6901
+ q === null && d[0]?.query?.fetchNullValues === !0 && f !== F.PieFromFields && (M[B] = null, q = x.nullValue), h || (w && typeof q == "string" ? q = new Date(q).valueOf() : s && (q = El(M))), typeof q == "string" && l?.find((ae) => ae.name === y)?.type === G.TimeOnly && (M[B] = q, q = Yl(q));
6902
6902
  const { outStatisticFieldName: J } = W.outStatistics ?? {}, { featureExtent: X, featureExtentKey: H } = sr({ feature: $, splitByField: n, chartSubType: f });
6903
6903
  if (X && (M[H] = X), f === F.BarAndLineSplitBy && J !== void 0) {
6904
6904
  const ae = M[n], pe = r?.get(ae);
6905
6905
  pe !== void 0 && (ae === n && (M[x.technicalFieldSplitByField] = M[pe]), M[pe] = M[J]), delete M[J];
6906
6906
  } else (f === F.PieNoAggregation || f === F.BarAndLineNoAggregation || f === F.BarAndLineSplitByNoAggregation) && (w ? M[b] = q : q !== x.nullValue && (M[B] = q), cn({ isXAxis: !0, chartType: m, valueFormat: a.axes?.[0]?.valueFormat }) && (M[x.xAxisField] = `${q}-${V}`, M[x.xAxisDisplayField] = q), M[W.uniqueIdsName] = $.getObjectId());
6907
- m === S.BoxPlotSeries && (M = Rl(d, M)), m === S.PieSeries && typeof q == "number" && (M[B] === void 0 && (M[B] = M[y]), q = `${q}`), q !== void 0 && (M[B] === void 0 && (M[B] = M[y]), M[y] === null ? M[y] = m === S.HeatSeries ? "null" : x.nullValue : M[y] = q, Ul({
6907
+ m === S.BoxPlotSeries && (M = Rl(d, M)), m === S.PieSeries && typeof q == "number" && (M[B] === void 0 && (M[B] = M[y]), q = `${q}`), q !== void 0 && (M[B] === void 0 && (M[B] = M[y]), M[y] === null ? M[y] = m === S.HeatSeries ? "null" : x.nullValue : M[y] = q, Gl({
6908
6908
  attributes: M,
6909
6909
  xValue: q,
6910
- yValue: G,
6910
+ yValue: U,
6911
6911
  x: y,
6912
6912
  y: g,
6913
6913
  xFieldDomain: C,
@@ -7100,8 +7100,8 @@ async function oi(t) {
7100
7100
  h && (C = gl(C, e));
7101
7101
  let q = {};
7102
7102
  if (be(w)) {
7103
- const { size: G, unit: J } = w.temporalBinning ?? {};
7104
- G !== void 0 && J !== void 0 && (q = { size: G, unit: J });
7103
+ const { size: U, unit: J } = w.temporalBinning ?? {};
7104
+ U !== void 0 && J !== void 0 && (q = { size: U, unit: J });
7105
7105
  }
7106
7106
  b.data = { dataItems: C, timeIntervalInfo: q };
7107
7107
  }
@@ -7172,7 +7172,7 @@ function Kl(t) {
7172
7172
  }
7173
7173
  return c;
7174
7174
  }
7175
- function Gi(t) {
7175
+ function Ui(t) {
7176
7176
  const { day: e, month: i, includeLeapDay: a } = t;
7177
7177
  return i === 2 && e > (a ? 29 : 28) || [4, 6, 9, 11].includes(i) && e > 30;
7178
7178
  }
@@ -7268,22 +7268,22 @@ async function ur(t) {
7268
7268
  }), P = C ? Zl(C.unit) : await Yt({ queryObject: a, queryConfig: i, category: v, errorStrings: n, abortKey: d, abortSignal: f });
7269
7269
  let O = 0;
7270
7270
  y = I?.features.flatMap((V) => {
7271
- const $ = [], { attributes: M, stackedAttributes: q } = V, G = [];
7271
+ const $ = [], { attributes: M, stackedAttributes: q } = V, U = [];
7272
7272
  if (q?.forEach((J) => {
7273
7273
  const X = `${J[v]}`;
7274
- G.push(X), $.push({
7274
+ U.push(X), $.push({
7275
7275
  [_.xField]: `${M[W.heatChartLowerBoundaryAlias]}`,
7276
7276
  [_.yField]: X,
7277
7277
  [L]: J[N]
7278
7278
  });
7279
- }), r && P && G.length !== P?.length) {
7280
- const J = P.filter((X) => !G.includes(X.toString()));
7281
- w && (J.length !== P.length || G.length === 0) || J.forEach((X) => {
7282
- Number.isFinite(Number(M[W.heatChartLowerBoundaryAlias])) && Number.isFinite(Number(X)) && (b?.unit === he.DayOfMonth && C?.unit === he.MonthOfYear && Gi({
7279
+ }), r && P && U.length !== P?.length) {
7280
+ const J = P.filter((X) => !U.includes(X.toString()));
7281
+ w && (J.length !== P.length || U.length === 0) || J.forEach((X) => {
7282
+ Number.isFinite(Number(M[W.heatChartLowerBoundaryAlias])) && Number.isFinite(Number(X)) && (b?.unit === he.DayOfMonth && C?.unit === he.MonthOfYear && Ui({
7283
7283
  day: Number(M[W.heatChartLowerBoundaryAlias]),
7284
7284
  month: Number(X),
7285
7285
  includeLeapDay: e.includeLeapDay
7286
- }) || C?.unit === he.DayOfMonth && b?.unit === he.MonthOfYear && Gi({
7286
+ }) || C?.unit === he.DayOfMonth && b?.unit === he.MonthOfYear && Ui({
7287
7287
  day: Number(X),
7288
7288
  month: Number(M[W.heatChartLowerBoundaryAlias]),
7289
7289
  includeLeapDay: e.includeLeapDay
@@ -7363,7 +7363,7 @@ async function xi(t) {
7363
7363
  isTimeBinningSeries: !0,
7364
7364
  setTimeBinningInfoWhenNotProvided: u
7365
7365
  }), P = !rt(v, a) || I ? await Bl({ queryObject: a, queryConfig: i, x: h, errorStrings: o, abortSignal: n }) : void 0;
7366
- I && P && P.numberOfFeatures > 0 && P.dateRange.dateMaxTimestamp !== void 0 && P.dateRange.dateMinTimestamp !== void 0 && (L = Ol(P), Ce(a).find((G) => G.name === h)?.type === U.DateOnly && L.unit !== void 0 && [
7366
+ I && P && P.numberOfFeatures > 0 && P.dateRange.dateMaxTimestamp !== void 0 && P.dateRange.dateMinTimestamp !== void 0 && (L = Ol(P), Ce(a).find((U) => U.name === h)?.type === G.DateOnly && L.unit !== void 0 && [
7367
7367
  R.Hour,
7368
7368
  R.Minute,
7369
7369
  R.Second
@@ -7396,14 +7396,14 @@ async function xi(t) {
7396
7396
  view: f,
7397
7397
  syncViewTimeZone: m,
7398
7398
  abortSignal: n
7399
- }), G = "y" in p && typeof p.y == "string" ? p.y : void 0;
7399
+ }), U = "y" in p && typeof p.y == "string" ? p.y : void 0;
7400
7400
  if (b = Pl({
7401
7401
  chartConfig: e,
7402
7402
  queryResults: q,
7403
7403
  mapToStatField: V,
7404
7404
  splitByField: v,
7405
7405
  x: h,
7406
- y: G,
7406
+ y: U,
7407
7407
  nullPolicy: C.nullPolicy,
7408
7408
  queryObject: a
7409
7409
  }), !Ae({
@@ -7587,7 +7587,7 @@ async function nu(t) {
7587
7587
  }
7588
7588
  function su(t) {
7589
7589
  const { groupByFieldsForStatistics: e, x: i, y: a, xValue: r, yValue: n, xStep: s, yStep: o, endOfRow: u, endOfColumn: c } = t;
7590
- let l = e === "" ? Ue.groupByCaseBegin : e;
7590
+ let l = e === "" ? Ge.groupByCaseBegin : e;
7591
7591
  return l = Be(au, {
7592
7592
  groupByFieldsForStatistics: l,
7593
7593
  x: i,
@@ -7640,14 +7640,14 @@ async function lu(t) {
7640
7640
  let v;
7641
7641
  const B = e?.get(f) ?? Number.NaN, b = e?.get(m) ?? Number.NaN, C = e?.get(p) ?? Number.NaN, N = e?.get(y) ?? B, T = e?.get(g) ?? b;
7642
7642
  if (B != null && N !== void 0 && N !== null && b !== void 0 && b !== null && T !== void 0 && T !== null && !Number.isNaN(B + b + N + T)) {
7643
- const w = z(a), { idField: L, isTraditionalTypeOID: A } = ve(w), I = A ? L : "*", P = e?.get(x.scatterplotAggregationFields.xStep), O = e?.get(x.scatterplotAggregationFields.yStep), V = e?.get(x.scatterplotAggregationFields.realGridSize), $ = e?.get(x.scatterplotAggregationFields.rowCount), M = e?.get(x.scatterplotAggregationFields.columnCount), q = /* @__PURE__ */ new Map(), G = Ce(a);
7644
- if (G?.forEach((H) => {
7643
+ const w = z(a), { idField: L, isTraditionalTypeOID: A } = ve(w), I = A ? L : "*", P = e?.get(x.scatterplotAggregationFields.xStep), O = e?.get(x.scatterplotAggregationFields.yStep), V = e?.get(x.scatterplotAggregationFields.realGridSize), $ = e?.get(x.scatterplotAggregationFields.rowCount), M = e?.get(x.scatterplotAggregationFields.columnCount), q = /* @__PURE__ */ new Map(), U = Ce(a);
7644
+ if (U?.forEach((H) => {
7645
7645
  Ft(H) && q.set(H.name, {
7646
7646
  onStatisticField: H.name,
7647
7647
  outStatisticFieldName: H.name,
7648
7648
  statisticType: D.Maximum
7649
7649
  });
7650
- }), (G.filter((H) => c?.additionalTooltipFields?.includes(H.name)) ?? [])?.forEach((H) => {
7650
+ }), (U.filter((H) => c?.additionalTooltipFields?.includes(H.name)) ?? [])?.forEach((H) => {
7651
7651
  Ft(H) || q.set(H.name, {
7652
7652
  onStatisticField: H.name,
7653
7653
  outStatisticFieldName: H.name,
@@ -7706,7 +7706,7 @@ async function lu(t) {
7706
7706
  endOfRow: Ct === $,
7707
7707
  endOfColumn: zt === M
7708
7708
  }), Xe < vt && (vt = Xe), Xe + P > Bt && (Bt = Xe + P), ke < Nt && (Nt = ke), ke + P > Tt && (Tt = ke + O), H += 1, H % Bi === 0 || H === V || H === C) {
7709
- Je = `${Je} ${Ue.groupByCaseEnd}`;
7709
+ Je = `${Je} ${Ge.groupByCaseEnd}`;
7710
7710
  const pr = {
7711
7711
  ...r,
7712
7712
  groupByFieldsForStatistics: [Je],
@@ -7789,7 +7789,7 @@ function wt(t) {
7789
7789
  return e === i || e === a ? e : Math.random() * (a - i) + i;
7790
7790
  }
7791
7791
  function cu(t) {
7792
- const { useQueryAttributeBins: e, graphic: i, x: a, y: r, yStep: n } = t, { groupByOutKeyword: s } = Ue, { dataContextXMinField: o, dataContextXMaxField: u, dataContextYMinField: c, dataContextYMaxField: l } = x.scatterplotAggregationFields;
7792
+ const { useQueryAttributeBins: e, graphic: i, x: a, y: r, yStep: n } = t, { groupByOutKeyword: s } = Ge, { dataContextXMinField: o, dataContextXMaxField: u, dataContextYMinField: c, dataContextYMaxField: l } = x.scatterplotAggregationFields;
7793
7793
  let d = [];
7794
7794
  if (e && "stackedAttributes" in i && i.stackedAttributes) {
7795
7795
  const f = Da(a, r), m = i.attributes[f.lowerBoundaryAlias], y = i.attributes[f.upperBoundaryAlias];
@@ -7846,7 +7846,7 @@ function du(t) {
7846
7846
  });
7847
7847
  return l = l?.filter((d) => {
7848
7848
  const { expr: f } = Vt(d);
7849
- return Number.isFinite(d[o]) && Number.isFinite(d[u]) && (f === void 0 || d[f] !== Ue.groupByOutKeyword);
7849
+ return Number.isFinite(d[o]) && Number.isFinite(d[u]) && (f === void 0 || d[f] !== Ge.groupByOutKeyword);
7850
7850
  }), l ?? [];
7851
7851
  }
7852
7852
  async function fu(t) {
@@ -8187,7 +8187,7 @@ function Su(t) {
8187
8187
  const { dataItem: e, ...i } = t, a = K({ key: E.Min, ...i }), r = K({ key: E.Max, ...i }), n = e[a], s = e[r];
8188
8188
  return { min: n, max: s };
8189
8189
  }
8190
- function Ui(t) {
8190
+ function Gi(t) {
8191
8191
  let e = Number.NaN, i = Number.NaN, a, r;
8192
8192
  const { chartConfig: n, chartData: s, filteredSeriesIds: o } = t, { series: u } = n;
8193
8193
  if (u?.length > 0) {
@@ -8272,7 +8272,7 @@ function gr(t) {
8272
8272
  let r = !1;
8273
8273
  if (a === 0) {
8274
8274
  if (yr(e)) {
8275
- const { minX: n, maxX: s } = Ui({
8275
+ const { minX: n, maxX: s } = Gi({
8276
8276
  chartConfig: e,
8277
8277
  chartData: i
8278
8278
  });
@@ -8282,7 +8282,7 @@ function gr(t) {
8282
8282
  const n = Fu({
8283
8283
  chartConfig: e,
8284
8284
  isSecondValueAxis: a === 2
8285
- }), { minY: s, maxY: o } = Ui({
8285
+ }), { minY: s, maxY: o } = Gi({
8286
8286
  chartConfig: e,
8287
8287
  chartData: i,
8288
8288
  filteredSeriesIds: n
@@ -8362,11 +8362,11 @@ function Cu(t, e) {
8362
8362
  }
8363
8363
  return i;
8364
8364
  }
8365
- const Gd = (t, e) => {
8365
+ const Ud = (t, e) => {
8366
8366
  const i = 10 ** e;
8367
8367
  return Math.round(t * i) / i;
8368
8368
  };
8369
- function Ud(t) {
8369
+ function Gd(t) {
8370
8370
  const { data: e, seriesConfig: i } = t;
8371
8371
  let a = He(e);
8372
8372
  return a !== void 0 && (a = xu(a, i), a = Cu(a, i), a = bu(a, i)), a;
@@ -8637,7 +8637,7 @@ export {
8637
8637
  pi as X,
8638
8638
  k as Y,
8639
8639
  Nc as Z,
8640
- Ui as _,
8640
+ Gi as _,
8641
8641
  dd as a,
8642
8642
  Ec as a$,
8643
8643
  Mt as a0,
@@ -8697,13 +8697,13 @@ export {
8697
8697
  bd as ar,
8698
8698
  yo as as,
8699
8699
  Ot as at,
8700
- Us as au,
8700
+ Gs as au,
8701
8701
  Ss as av,
8702
8702
  Ra as aw,
8703
8703
  Va as ax,
8704
8704
  Sd as ay,
8705
8705
  to as az,
8706
- Ge as b,
8706
+ Ue as b,
8707
8707
  gd as b$,
8708
8708
  Qc as b0,
8709
8709
  kc as b1,
@@ -8737,9 +8737,9 @@ export {
8737
8737
  Yi as bT,
8738
8738
  xu as bU,
8739
8739
  bu as bV,
8740
- Gd as bW,
8741
- Ud as bX,
8742
- Uc as bY,
8740
+ Ud as bW,
8741
+ Gd as bX,
8742
+ Gc as bY,
8743
8743
  Zs as bZ,
8744
8744
  zi as b_,
8745
8745
  Bn as ba,
@@ -8852,7 +8852,7 @@ export {
8852
8852
  Ne as n,
8853
8853
  Wc as o,
8854
8854
  Zt as p,
8855
- Gc as q,
8855
+ Uc as q,
8856
8856
  ma as r,
8857
8857
  Cc as s,
8858
8858
  yn as t,