@arcgis/charts-components 6.0.0-next.28 → 6.0.0-next.29

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 (91) hide show
  1. package/dist/cdn/{5R46GNW4.js → 25QC6GIT.js} +1 -1
  2. package/dist/cdn/{PHJ7GZH3.js → 3LRLDG7X.js} +1 -1
  3. package/dist/cdn/{RZV4XMXX.js → 43Q7OGOH.js} +1 -1
  4. package/dist/cdn/{HBNQH2S5.js → 4DNJYU33.js} +1 -1
  5. package/dist/cdn/{UEASPEPR.js → 5UYTQNHS.js} +1 -1
  6. package/dist/cdn/{VIDDAXQL.js → 6534DFFO.js} +1 -1
  7. package/dist/cdn/{VR4L45AN.js → 6CCJJ2RF.js} +25 -25
  8. package/dist/cdn/{FJZM4Z5A.js → 6JD4UQO2.js} +1 -1
  9. package/dist/cdn/{J7XSWIFQ.js → 6WKJ5VRI.js} +1 -1
  10. package/dist/cdn/{KXLQAS77.js → 7F6LOZLY.js} +1 -1
  11. package/dist/cdn/{NUNLOL2L.js → A3VQPJ6Y.js} +1 -1
  12. package/dist/cdn/{ZOJZNQML.js → AN7IJ6AX.js} +1 -1
  13. package/dist/cdn/{EV3CQVBK.js → B3QNMX44.js} +1 -1
  14. package/dist/cdn/{E3PHUIRR.js → B5AQ3NNL.js} +1 -1
  15. package/dist/cdn/{JMQQBJED.js → CKDPIIRG.js} +1 -1
  16. package/dist/cdn/{TZETTYBC.js → CRLM4T6V.js} +1 -1
  17. package/dist/cdn/{ONC6OG57.js → FCIX6GGU.js} +1 -1
  18. package/dist/cdn/{7K2QJPID.js → GCTV22SA.js} +1 -1
  19. package/dist/cdn/{4XO4WT4X.js → GG5WH22M.js} +1 -1
  20. package/dist/cdn/{3FIQJ5AJ.js → GGQH47WY.js} +1 -1
  21. package/dist/cdn/{5GPRNPT5.js → GUAULB6T.js} +1 -1
  22. package/dist/cdn/{C7XGSAHJ.js → GY26ZORC.js} +1 -1
  23. package/dist/cdn/{K4S5SYYR.js → HA4Y6XKL.js} +1 -1
  24. package/dist/cdn/{7YCQRD34.js → HFTFNQJQ.js} +1 -1
  25. package/dist/cdn/{2KXO7BVA.js → HM4I3F2W.js} +3 -3
  26. package/dist/cdn/{HLRLMWH2.js → HQUV6P3J.js} +1 -1
  27. package/dist/cdn/{BUV56OZA.js → HSPGNGWN.js} +1 -1
  28. package/dist/cdn/{6KNVSKJI.js → HYE4BAPU.js} +1 -1
  29. package/dist/cdn/{3RBTYR2Q.js → IL5NGTL7.js} +1 -1
  30. package/dist/cdn/{LX34U5I3.js → JEFLBTJD.js} +1 -1
  31. package/dist/cdn/{I7PQFCMM.js → JRSS3F4L.js} +1 -1
  32. package/dist/cdn/{QDYZSNRJ.js → JYA5U7KT.js} +1 -1
  33. package/dist/cdn/{LBMQ3QJL.js → K5EKMEXI.js} +1 -1
  34. package/dist/cdn/{VP7LDWG5.js → KK2MZ4JC.js} +1 -1
  35. package/dist/cdn/{RWNXS76V.js → KL5AVH4O.js} +1 -1
  36. package/dist/cdn/{73MVUX4G.js → KLDHTXQX.js} +1 -1
  37. package/dist/cdn/{4SVGCZGT.js → KMPKCXZM.js} +1 -1
  38. package/dist/cdn/{L6QW6IG6.js → LB4HNAIE.js} +1 -1
  39. package/dist/cdn/{PJTTQKN3.js → M3F5FMP4.js} +1 -1
  40. package/dist/cdn/{6N2ITD57.js → MHW64E3A.js} +1 -1
  41. package/dist/cdn/{6PR6HVS4.js → MSBIMCZD.js} +1 -1
  42. package/dist/cdn/{JONMEE36.js → MUN2S3E4.js} +1 -1
  43. package/dist/cdn/{MOBIKG3E.js → NFX7AZX3.js} +1 -1
  44. package/dist/cdn/{U2EEQAJL.js → NHEMQ3ZY.js} +1 -1
  45. package/dist/cdn/{PRAARRF4.js → NPHI6WI5.js} +1 -1
  46. package/dist/cdn/{XU7FEXG2.js → OAOD5CD6.js} +1 -1
  47. package/dist/cdn/{GUSZROQX.js → PHRAHDAC.js} +1 -1
  48. package/dist/cdn/{QI4CG6OT.js → PVJD76IR.js} +1 -1
  49. package/dist/cdn/{3743KVSR.js → QBXMZDH4.js} +1 -1
  50. package/dist/cdn/{PQSQFDAH.js → QD55AYES.js} +1 -1
  51. package/dist/cdn/{H4L55FYO.js → QDSTYON4.js} +1 -1
  52. package/dist/cdn/{JTR5G6A2.js → QJ5GAILY.js} +1 -1
  53. package/dist/cdn/{BVZHUYBA.js → R5VTRDCV.js} +1 -1
  54. package/dist/cdn/{T4CM3KAQ.js → SGJJDKKA.js} +1 -1
  55. package/dist/cdn/{PPLWWHA5.js → SGWNVFIC.js} +1 -1
  56. package/dist/cdn/{ZANJLH52.js → SQ6PNUM5.js} +1 -1
  57. package/dist/cdn/{HOC57UTH.js → SSE23HGJ.js} +1 -1
  58. package/dist/cdn/{SLJ5AKS3.js → SYNIRISM.js} +1 -1
  59. package/dist/cdn/{YAYID5AJ.js → TD2A5VIL.js} +1 -1
  60. package/dist/cdn/{3OSMCMAY.js → TO36XQBZ.js} +1 -1
  61. package/dist/cdn/{4PI4S77J.js → TTGVSQVW.js} +1 -1
  62. package/dist/cdn/{46KP2NAT.js → U47KTF7M.js} +1 -1
  63. package/dist/cdn/{WXL6Q3TB.js → U4AHEAFG.js} +1 -1
  64. package/dist/cdn/{DW6UJMMR.js → UD6HCV4U.js} +1 -1
  65. package/dist/cdn/{COMLINH3.js → VCLQRZI2.js} +1 -1
  66. package/dist/cdn/{TFPUAMUR.js → VHFV37DA.js} +1 -1
  67. package/dist/cdn/{PFFBO5QH.js → VOFQH5IC.js} +1 -1
  68. package/dist/cdn/{BJT6BND6.js → VRZET2BS.js} +1 -1
  69. package/dist/cdn/{63Z4SXIB.js → W4Y3QYJT.js} +1 -1
  70. package/dist/cdn/{CJC5VBVK.js → WCUPRSJO.js} +1 -1
  71. package/dist/cdn/{K22ZRVEO.js → WHN4YP6X.js} +1 -1
  72. package/dist/cdn/{GCGR7MCD.js → WP6CEEFY.js} +1 -1
  73. package/dist/cdn/{3AKXBLFC.js → WPBGJ7TA.js} +1 -1
  74. package/dist/cdn/{MHXTSVI4.js → WWTDXZGS.js} +1 -1
  75. package/dist/cdn/{KPWDKZSM.js → X2DZWHQW.js} +1 -1
  76. package/dist/cdn/{J54UY7G2.js → XR4X7LVB.js} +1 -1
  77. package/dist/cdn/{5DX4ZJZH.js → Y5ROZLS4.js} +1 -1
  78. package/dist/cdn/{DX6YJH7X.js → YOJFH5RX.js} +1 -1
  79. package/dist/cdn/{QFTCHFGK.js → YT2VNZV4.js} +1 -1
  80. package/dist/cdn/{LVKJLRNO.js → ZCYWZBOA.js} +1 -1
  81. package/dist/cdn/{UGTDUBXW.js → ZRZICFCQ.js} +1 -1
  82. package/dist/cdn/{XPZRQZTJ.js → ZWDCZ3BB.js} +1 -1
  83. package/dist/cdn/{NRMNO4T3.js → ZWTCLURV.js} +1 -1
  84. package/dist/cdn/index.js +1 -1
  85. package/dist/cdn/model/shared/setup-utils.js +1 -1
  86. package/dist/chunks/index.js +103 -100
  87. package/dist/components/arcgis-chart/customElement.js +5121 -5048
  88. package/dist/docs/api.json +1 -1
  89. package/dist/docs/docs.json +1 -1
  90. package/dist/docs/web-types.json +1 -1
  91. package/package.json +4 -4
@@ -1,8 +1,8 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import { memoize as Qe, cloneDeep as ke, isEqual as we, isArray as Bi, isNil as on, isEmpty as ln, sortBy as Qi } from "es-toolkit/compat";
3
- import { T as ht, p as Vt, U as cn, r as Yt, q as _, l as Zt, V as Ie, H as We, g as vi, W as un, i as H, X as Jt, Y as Br, L as He, a as Wi, z as vr, O as dn, P as fn, h as mn, Z as Hi, s as gn } from "./index2.js";
4
- import { R as si, b as ne, e as je, a as di, d as Z, c as fe } from "./rest-js-object-literals.js";
5
- import { a as h, g as oe, c as Fe, i as yn, f as Tr, e as $, d as O, s as te, G as Ar, t as Ve, b as ae, h as be, S as Nr, l as Se, o as ot } from "./chart-object-literals.js";
2
+ import { memoize as ze, cloneDeep as Ve, isEqual as we, isArray as Bi, isNil as on, isEmpty as ln, sortBy as Qi } from "es-toolkit/compat";
3
+ import { T as ht, p as Vt, U as cn, r as Yt, q as _, l as Zt, V as Ie, H as Qe, g as vi, W as un, i as H, X as Jt, Y as Br, L as We, a as Wi, z as vr, O as dn, P as fn, h as mn, Z as Hi, s as gn } from "./index2.js";
4
+ import { R as si, b as ne, e as Ue, a as di, d as Z, c as fe } from "./rest-js-object-literals.js";
5
+ import { a as h, g as oe, c as Fe, i as yn, f as Tr, e as $, d as O, s as te, G as Ar, t as je, b as ae, h as be, S as Nr, l as Se, o as ot } from "./chart-object-literals.js";
6
6
  import Lr from "@arcgis/core/Graphic.js";
7
7
  import * as Kt from "@arcgis/core/renderers/support/jsonUtils.js";
8
8
  import * as oi from "@arcgis/core/symbols/support/symbolUtils.js";
@@ -358,7 +358,7 @@ const Hn = {
358
358
  marker: {
359
359
  markerBigSize: 7,
360
360
  markerSizeThresholdForTooltipDisplay: 9,
361
- markerStyle: je.Circle
361
+ markerStyle: Ue.Circle
362
362
  }
363
363
  },
364
364
  buffer: !1,
@@ -825,7 +825,7 @@ function Jn(t) {
825
825
  function Qd(t) {
826
826
  return t !== void 0 && (!("url" in t) || !t.url);
827
827
  }
828
- function $e(t) {
828
+ function ke(t) {
829
829
  return t !== void 0 && "view" in t && "layer" in t && "queryFeatures" in t && "queryFeatureCount" in t && "queryObjectIds" in t;
830
830
  }
831
831
  function Wd(t) {
@@ -871,7 +871,7 @@ function jd(t) {
871
871
  }) && dt(n, i));
872
872
  }
873
873
  function dt(t, e) {
874
- return e !== void 0 && ($e(e) || !ee(e) && "capabilities" in e && e.capabilities?.queryAttributeBins?.supportsDate === !0 && (ie(t) || (e.capabilities.queryAttributeBins.supportsStackBy ?? !1)));
874
+ return e !== void 0 && (ke(e) || !ee(e) && "capabilities" in e && e.capabilities?.queryAttributeBins?.supportsDate === !0 && (ie(t) || (e.capabilities.queryAttributeBins.supportsStackBy ?? !1)));
875
875
  }
876
876
  function Xd(t) {
877
877
  return pe(
@@ -895,11 +895,11 @@ function rs(t) {
895
895
  }
896
896
  function Yd(t) {
897
897
  let e;
898
- return $e(t) ? e = t.layer : e = t, e;
898
+ return ke(t) ? e = t.layer : e = t, e;
899
899
  }
900
900
  function j(t) {
901
901
  let e;
902
- return $e(t) ? e = t.layer : e = t, e;
902
+ return ke(t) ? e = t.layer : e = t, e;
903
903
  }
904
904
  function as(t) {
905
905
  let e = !1;
@@ -1382,22 +1382,22 @@ function Kd(t, e) {
1382
1382
  let i = "";
1383
1383
  const n = (e ?? 0) / 2, s = 0 - n, o = 0 + n, l = 0 - n, u = 0 + n;
1384
1384
  switch (t) {
1385
- case je.Circle:
1385
+ case Ue.Circle:
1386
1386
  i = `M ${s},0 a ${n},${n} 0 1,0 ${n * 2},0 a ${n},${n} 0 1,0 ${-n * 2},0`;
1387
1387
  break;
1388
- case je.Cross:
1388
+ case Ue.Cross:
1389
1389
  i = `M ${s},0 L ${o},0 M 0,${l} L 0,${u} E`;
1390
1390
  break;
1391
- case je.Diamond:
1391
+ case Ue.Diamond:
1392
1392
  i = `M ${s},0 L 0,${l} L ${o},0 L 0,${u} L ${s},0 Z`;
1393
1393
  break;
1394
- case je.Square:
1394
+ case Ue.Square:
1395
1395
  i = `M ${s},${u} L ${s},${l} L ${o},${l} L ${o},${u} L ${s},${u} Z`;
1396
1396
  break;
1397
- case je.Triangle:
1397
+ case Ue.Triangle:
1398
1398
  i = `M ${s},${u} L 0,${l} L ${o},${u} L ${s},${u} Z`;
1399
1399
  break;
1400
- case je.X:
1400
+ case Ue.X:
1401
1401
  i = `M ${s},${u} L ${o},${l} M ${s},${l} L ${o},${u} E`;
1402
1402
  break;
1403
1403
  }
@@ -1569,7 +1569,7 @@ function Ni(t, e) {
1569
1569
  pieChart: { slices: M },
1570
1570
  gauge: { features: w },
1571
1571
  heatChart: { cells: D }
1572
- } = We(e), I = V(t.series), P = t.series.length === 0 ? 1 : t.series.length, E = G(t.series);
1572
+ } = Qe(e), I = V(t.series), P = t.series.length === 0 ? 1 : t.series.length, E = G(t.series);
1573
1573
  switch (I) {
1574
1574
  case h.ComboLineAndBarSeries:
1575
1575
  case h.BarSeries:
@@ -2212,42 +2212,42 @@ async function Cf(t, e) {
2212
2212
  const i = await gt(t);
2213
2213
  return Jr({ layer: t, rasterInfo: i, popupTemplateFieldInfosEnabled: e });
2214
2214
  }
2215
- const Kr = Qe(
2215
+ const Kr = ze(
2216
2216
  (t) => {
2217
2217
  const e = {}, i = t.layerDefinition;
2218
2218
  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 wn(e);
2219
2219
  },
2220
2220
  (t) => JSON.stringify(t, Object.keys(t).sort())
2221
2221
  // stringify with sorted keys
2222
- ), Gs = Qe(
2222
+ ), Gs = ze(
2223
2223
  async (t, e) => {
2224
2224
  const i = Kr(t);
2225
2225
  return await ki(i, e), i;
2226
2226
  },
2227
2227
  (t) => JSON.stringify(t, Object.keys(t).sort())
2228
2228
  // stringify with sorted keys
2229
- ), ea = Qe(
2229
+ ), ea = ze(
2230
2230
  (t) => {
2231
2231
  const e = {};
2232
2232
  return e.id = t.id, t.url !== void 0 && (e.url = t.url), t.itemId !== void 0 && (e.portalItem = { id: t.itemId }), new Pn(e);
2233
2233
  },
2234
2234
  (t) => JSON.stringify(t, Object.keys(t).sort())
2235
2235
  // stringify with sorted keys
2236
- ), Us = Qe(
2236
+ ), Us = ze(
2237
2237
  async (t, e) => {
2238
2238
  const i = ea(t);
2239
2239
  return await ki(i, e), i;
2240
2240
  },
2241
2241
  (t) => JSON.stringify(t, Object.keys(t).sort())
2242
2242
  // stringify with sorted keys
2243
- ), js = Qe(
2243
+ ), js = ze(
2244
2244
  (t) => {
2245
2245
  const e = {};
2246
2246
  return e.id = t.id, t.url !== void 0 && (e.url = t.url), t.itemId !== void 0 && (e.portalItem = { id: t.itemId }), new Mn(e);
2247
2247
  },
2248
2248
  (t) => JSON.stringify(t, Object.keys(t).sort())
2249
2249
  // stringify with sorted keys
2250
- ), Xs = Qe(
2250
+ ), Xs = ze(
2251
2251
  async (t, e) => {
2252
2252
  const i = js(t);
2253
2253
  return await ki(i, e), i;
@@ -3075,7 +3075,7 @@ function Kf(t) {
3075
3075
  errorStrings: c
3076
3076
  } = t, d = ee(n);
3077
3077
  let f = c.errors.defaultInvalidChart, m;
3078
- const g = new Intl.NumberFormat(o), p = We(i), {
3078
+ const g = new Intl.NumberFormat(o), p = Qe(i), {
3079
3079
  maxCategoryCount: y,
3080
3080
  serialChart: { categories: S }
3081
3081
  } = p;
@@ -3207,10 +3207,10 @@ function Kf(t) {
3207
3207
  b = c.modalHeaders.invalidData, f = c.errors.negativeValueInDataForLogTransformation;
3208
3208
  break;
3209
3209
  case W.HistogramEmptyField:
3210
- s === !0 ? (b = c.modalHeaders.noDataAvailable, f = c.errors.noDataFBSMessage) : $e(n) ? (b = c.modalHeaders.noDataAvailable, f = c.errors.noDataFBEMessage) : (b = c.modalHeaders.invalidChart, f = c.errors.histogramEmptyField);
3210
+ s === !0 ? (b = c.modalHeaders.noDataAvailable, f = c.errors.noDataFBSMessage) : ke(n) ? (b = c.modalHeaders.noDataAvailable, f = c.errors.noDataFBEMessage) : (b = c.modalHeaders.invalidChart, f = c.errors.histogramEmptyField);
3211
3211
  break;
3212
3212
  case W.EmptyDataSet:
3213
- b = c.modalHeaders.noDataAvailable, s === !0 ? f = c.errors.noDataFBSMessage : $e(n) ? f = c.errors.noDataFBEMessage : f = c.errors.noDataMessage;
3213
+ b = c.modalHeaders.noDataAvailable, s === !0 ? f = c.errors.noDataFBSMessage : ke(n) ? f = c.errors.noDataFBEMessage : f = c.errors.noDataMessage;
3214
3214
  break;
3215
3215
  case W.NoValue:
3216
3216
  u && r ? (b = void 0, f = c.errors.noValue) : d && (b = c.modalHeaders.noDataAvailable, f = c.errors.noDataMessage);
@@ -3602,7 +3602,7 @@ async function qo(t) {
3602
3602
  abortSignal: u
3603
3603
  } = t;
3604
3604
  let c = [];
3605
- const { series: d, showMean: f } = n, m = Ei({ showMean: f, seriesConfig: d }), g = G(d), p = Ge(n), { x: y } = p, S = re(p.query?.where), b = [];
3605
+ const { series: d, showMean: f } = n, m = Ei({ showMean: f, seriesConfig: d }), g = G(d), p = He(n), { x: y } = p, S = re(p.query?.where), b = [];
3606
3606
  for (let C = 0; C < m.length; C += 1) {
3607
3607
  const x = m[C], { dataWithoutOutliersFilterBatches: v } = oa({
3608
3608
  data: e,
@@ -3695,7 +3695,7 @@ function ko(t) {
3695
3695
  });
3696
3696
  }
3697
3697
  function la(t) {
3698
- const { chartConfig: e, data: i, calculateZScore: r = !1, meanAndStdDevPerField: a } = t, { series: n, showMean: s } = e, o = Ge(e), l = G(e.series), { x: u } = o, c = Ei({ showMean: s, seriesConfig: n });
3698
+ const { chartConfig: e, data: i, calculateZScore: r = !1, meanAndStdDevPerField: a } = t, { series: n, showMean: s } = e, o = He(e), l = G(e.series), { x: u } = o, c = Ei({ showMean: s, seriesConfig: n });
3699
3699
  let d = i;
3700
3700
  if (i?.[0] !== void 0) {
3701
3701
  const f = re(o.query?.where);
@@ -3883,7 +3883,7 @@ function Ht(t) {
3883
3883
  else if (u?.[0] !== void 0 && e !== void 0 && e.length > 1) {
3884
3884
  const { orderBy: c } = u[0];
3885
3885
  let { sortingField: d } = u[0];
3886
- const f = i.orderOptions?.data?.orderType === Ve.Category, m = u[0].preferLabel !== !1, g = s === F.BarAndLineFromFields || s === F.PieFromFields || s === F.BoxPlotC2MultiFields || s === F.BoxPlotC6MultiFieldsAndSplitBy, p = g || o === h.PieSeries, y = s === F.PieNoAggregation || s === F.BarAndLineNoAggregation || s === F.BarAndLineSplitByNoAggregation;
3886
+ const f = i.orderOptions?.data?.orderType === je.Category, m = u[0].preferLabel !== !1, g = s === F.BarAndLineFromFields || s === F.PieFromFields || s === F.BoxPlotC2MultiFields || s === F.BoxPlotC6MultiFieldsAndSplitBy, p = g || o === h.PieSeries, y = s === F.PieNoAggregation || s === F.BarAndLineNoAggregation || s === F.BarAndLineSplitByNoAggregation;
3887
3887
  if (f && p && (!m || (o === h.LineSeries || o === h.RadarSeries) && l === h.NumberAxisFormat) && (d = B.originalXValue), Array.isArray(c))
3888
3888
  Ss({
3889
3889
  arrayToSort: e,
@@ -3917,7 +3917,7 @@ function tm(t) {
3917
3917
  chartConfig: e,
3918
3918
  fieldList: r,
3919
3919
  isTimeBinningSeries: Re({
3920
- seriesConfig: Ge(e),
3920
+ seriesConfig: He(e),
3921
3921
  xAxisValueFormatType: ve(e),
3922
3922
  setTimeBinningInfoWhenNotProvided: a?.setTimeBinningInfoWhenNotProvided,
3923
3923
  queryObject: n
@@ -3947,7 +3947,7 @@ async function im(t) {
3947
3947
  const g = Nc(u, d?.renderer), p = Ic({
3948
3948
  chartRenderer: l,
3949
3949
  queryObject: i
3950
- }), y = V(o), S = G(o), b = Ge(r), T = re(b.query?.where);
3950
+ }), y = V(o), S = G(o), b = He(r), T = re(b.query?.where);
3951
3951
  m = /* @__PURE__ */ new Map();
3952
3952
  for (let C = 0; C < (y === h.HistogramSeries && e.length > 0 ? 1 : e.length); C += 1) {
3953
3953
  const x = e[C], v = await Oc({
@@ -3968,7 +3968,7 @@ async function im(t) {
3968
3968
  return { dataItems: e, colorMatchApplied: n, rendererFieldNames: s };
3969
3969
  }
3970
3970
  function Wo(t) {
3971
- const { itemsA: e, itemsB: i, isPieFromFields: r, x: a, y: n, outStatisticFieldName: s } = t, o = ke(e), l = ke(i);
3971
+ const { itemsA: e, itemsB: i, isPieFromFields: r, x: a, y: n, outStatisticFieldName: s } = t, o = Ve(e), l = Ve(i);
3972
3972
  let u = !1;
3973
3973
  if (o === void 0 && l !== void 0 || o !== void 0 && l === void 0)
3974
3974
  u = !0;
@@ -4061,7 +4061,7 @@ async function Uo(t) {
4061
4061
  numberMaxOfFeaturesToFetch: f,
4062
4062
  isGaugeByFeature: m,
4063
4063
  abortSignal: o
4064
- })).elementCount, a?.behaviorAfterLimit !== He.RenderUpToTheLimit && (g = Oe({
4064
+ })).elementCount, a?.behaviorAfterLimit !== We.RenderUpToTheLimit && (g = Oe({
4065
4065
  count: p ?? 0,
4066
4066
  seriesCount: i.series.length,
4067
4067
  chartType: h.GaugeSeries,
@@ -4192,7 +4192,7 @@ async function Yo(t) {
4192
4192
  const p = f ?? u ?? Wi.axisMinimum, y = m ?? c ?? Wi.axisMaximum;
4193
4193
  return { calculatedAxisMinimum: p, calculatedAxisMaximum: y, gaugeValue: g };
4194
4194
  }
4195
- function _e(t, e) {
4195
+ function $e(t, e) {
4196
4196
  let i = "";
4197
4197
  if (t.trim() !== "" && e !== void 0)
4198
4198
  if (e === null)
@@ -4215,8 +4215,8 @@ function Zo(t) {
4215
4215
  }
4216
4216
  } else
4217
4217
  n = J([
4218
- Ee({ where: _e(i, e[i]) }),
4219
- r !== void 0 ? Ee({ where: _e(r, e[r]) }) : ""
4218
+ Ee({ where: $e(i, e[i]) }),
4219
+ r !== void 0 ? Ee({ where: $e(r, e[r]) }) : ""
4220
4220
  ]);
4221
4221
  return n;
4222
4222
  }
@@ -4237,7 +4237,7 @@ function da(t) {
4237
4237
  const o = a[B.originalServerBinningRange] ?? a[B.dateBinningRange];
4238
4238
  if (Bi(o) && o.length === 2) {
4239
4239
  let [l, u] = o, c = !0;
4240
- const d = $e(n);
4240
+ const d = ke(n);
4241
4241
  if (d) {
4242
4242
  const f = j(n), { fieldsIndex: m } = f;
4243
4243
  l = or({ fieldsIndex: m, fieldName: e, inputDate: l }), u = or({ fieldsIndex: m, fieldName: e, inputDate: u });
@@ -4268,7 +4268,7 @@ function ma(t) {
4268
4268
  dataContext: a
4269
4269
  });
4270
4270
  n === Z.Double ? o = fa(d, e) : (Dr(s.axes?.[0].valueFormat) && (d = ft(d)), o = Ee({
4271
- where: _e(e, d),
4271
+ where: $e(e, d),
4272
4272
  normalize: !1,
4273
4273
  escape: !0
4274
4274
  }));
@@ -4311,7 +4311,7 @@ function Jo(t) {
4311
4311
  dataContext: r
4312
4312
  });
4313
4313
  a === Z.Double ? o = fa(c, e) : (Dr(n.axes?.[0].valueFormat) && a !== Z.TimeOnly && (c = ft(c)), o = Ee({
4314
- where: _e(e, c),
4314
+ where: $e(e, c),
4315
4315
  normalize: !1,
4316
4316
  escape: !0
4317
4317
  }));
@@ -4323,7 +4323,7 @@ function Ko(t) {
4323
4323
  const { xAxisField: e, dataContext: i, chartConfig: r } = t;
4324
4324
  let a = i[B.originalXValue];
4325
4325
  return a === void 0 && (a = i[e]), G(r.series) === F.PieFromFields ? "" : Ee({
4326
- where: _e(e, a),
4326
+ where: $e(e, a),
4327
4327
  normalize: !1,
4328
4328
  escape: !0
4329
4329
  });
@@ -4357,7 +4357,7 @@ function el(t) {
4357
4357
  let c, d;
4358
4358
  const f = r[H.xField], m = r[B.originalXValue], g = r[H.yField], p = r[B.originalYCategoryValue], y = a.axes?.[0]?.valueFormat?.type, S = a.axes?.[1]?.valueFormat?.type;
4359
4359
  y === h.CategoryAxisFormat ? c = Ee({
4360
- where: _e(l.x, m ?? f),
4360
+ where: $e(l.x, m ?? f),
4361
4361
  normalize: !1,
4362
4362
  escape: !0
4363
4363
  }) : c = lr({
@@ -4369,7 +4369,7 @@ function el(t) {
4369
4369
  dataTimeZone: s,
4370
4370
  runsOnClientQueryEngine: o
4371
4371
  }), S === h.CategoryAxisFormat ? d = Ee({
4372
- where: _e(l.y, p ?? g),
4372
+ where: $e(l.y, p ?? g),
4373
4373
  normalize: !1,
4374
4374
  escape: !0
4375
4375
  }) : d = lr({
@@ -4445,7 +4445,7 @@ async function il(t) {
4445
4445
  } = t, y = G(r.series);
4446
4446
  let S = { valid: !0, data: { dataItems: [] } };
4447
4447
  if (a !== void 0 && a.length > 0) {
4448
- const b = Ge(r), { x: T } = b, C = "y" in b ? b.y : "", v = Te(e).find((D) => D.name === T)?.type, A = [], N = a.reduce(
4448
+ const b = He(r), { x: T } = b, C = "y" in b ? b.y : "", v = Te(e).find((D) => D.name === T)?.type, A = [], N = a.reduce(
4449
4449
  (D, I) => {
4450
4450
  const P = [];
4451
4451
  if (_.uniqueIds in I)
@@ -4459,7 +4459,7 @@ async function il(t) {
4459
4459
  Object.keys(I).forEach((U) => {
4460
4460
  if (U.includes(q)) {
4461
4461
  const X = U.replace(q, "");
4462
- X.trim() !== "" && P.push(_e(Q, X));
4462
+ X.trim() !== "" && P.push($e(Q, X));
4463
4463
  }
4464
4464
  });
4465
4465
  break;
@@ -4542,7 +4542,7 @@ async function rl(t) {
4542
4542
  break;
4543
4543
  case h.PieSeries:
4544
4544
  if (G(r.series) === F.PieFromFields) {
4545
- const { x: N, y: L } = r.series[0], M = ke(v);
4545
+ const { x: N, y: L } = r.series[0], M = Ve(v);
4546
4546
  M.forEach((w) => {
4547
4547
  N in w && (w[ye] = w[N], delete w[N]), L in w && (w[Le] = w[L], delete w[L]);
4548
4548
  }), x.data = { dataItems: M };
@@ -4912,7 +4912,7 @@ async function nl(t) {
4912
4912
  } = t, { series: c } = i;
4913
4913
  let d = e;
4914
4914
  const f = G(c), m = ve(i);
4915
- if (s !== He.RenderUpToTheLimit && n !== void 0 && n > e.length && f !== F.BarAndLineFromFields && f !== F.BarAndLineNoAggregation && f !== F.PieNoAggregation && m === h.CategoryAxisFormat) {
4915
+ if (s !== We.RenderUpToTheLimit && n !== void 0 && n > e.length && f !== F.BarAndLineFromFields && f !== F.BarAndLineNoAggregation && f !== F.PieNoAggregation && m === h.CategoryAxisFormat) {
4916
4916
  const { x: g } = c[0], p = {
4917
4917
  ...r,
4918
4918
  returnDistinctValues: !0,
@@ -4995,7 +4995,7 @@ function ga(t, e) {
4995
4995
  let i = t;
4996
4996
  return e === $.Week ? i /= 7 : e === $.Month ? i /= 30 : e === $.Year && (i /= 365), i = Math.ceil(i), i;
4997
4997
  }
4998
- function ze(t) {
4998
+ function _e(t) {
4999
4999
  const { date: e, unit: i, nextOrPrevious: r, size: a } = t;
5000
5000
  if (a !== void 0 && Number.isFinite(a)) {
5001
5001
  const n = r === "next" ? a : -a;
@@ -5020,7 +5020,7 @@ function ze(t) {
5020
5020
  function ll(t) {
5021
5021
  const { binFirstOrLastIndex: e, data: i, x: r, timeIntervalInfo: a } = t, { unit: n, size: s } = a, o = n === $.Week ? (s ?? 1) * 7 : s, l = i[e][r];
5022
5022
  let u = e;
5023
- const c = ze({
5023
+ const c = _e({
5024
5024
  date: l,
5025
5025
  unit: n,
5026
5026
  size: o,
@@ -5032,7 +5032,7 @@ function ll(t) {
5032
5032
  const f = u + 1 >= i.length;
5033
5033
  let m = u;
5034
5034
  f && i[m] !== void 0 && (m += 1);
5035
- const g = f ? ze({
5035
+ const g = f ? _e({
5036
5036
  date: l,
5037
5037
  unit: n,
5038
5038
  size: o,
@@ -5050,7 +5050,7 @@ function ll(t) {
5050
5050
  function cl(t) {
5051
5051
  const { binFirstOrLastIndex: e, data: i, x: r, timeIntervalInfo: a } = t, { unit: n, size: s } = a, o = n === $.Week ? (s ?? 1) * 7 : s, l = i[e][r];
5052
5052
  let u = e;
5053
- const c = ze({
5053
+ const c = _e({
5054
5054
  date: l,
5055
5055
  unit: n,
5056
5056
  size: o,
@@ -5062,7 +5062,7 @@ function cl(t) {
5062
5062
  const f = u - 1 <= 0;
5063
5063
  let m = e;
5064
5064
  return f && i[m] !== void 0 && (m -= 1), f && (u = 0), {
5065
- binStartDate: f ? ze({
5065
+ binStartDate: f ? _e({
5066
5066
  date: l,
5067
5067
  unit: n,
5068
5068
  size: o,
@@ -5141,7 +5141,7 @@ function dl(t) {
5141
5141
  } else l === 1 ? s = e.map((m, g) => {
5142
5142
  const p = m[c];
5143
5143
  let y = e[g + 1]?.[c];
5144
- return y = typeof y == "number" ? y - 1 : ze({
5144
+ return y = typeof y == "number" ? y - 1 : _e({
5145
5145
  date: p,
5146
5146
  unit: o,
5147
5147
  size: l,
@@ -5210,7 +5210,7 @@ function fl(t) {
5210
5210
  if (c === ae.End) {
5211
5211
  let y = a[0][u];
5212
5212
  for (let S = 0; S < g; S += 1)
5213
- y = ze({
5213
+ y = _e({
5214
5214
  date: y,
5215
5215
  unit: l,
5216
5216
  size: 1,
@@ -5224,7 +5224,7 @@ function fl(t) {
5224
5224
  } else {
5225
5225
  let y = a[a.length - 1][u];
5226
5226
  for (let S = 0; S < g; S += 1)
5227
- y = ze({
5227
+ y = _e({
5228
5228
  date: y,
5229
5229
  unit: l,
5230
5230
  size: 1,
@@ -5297,7 +5297,7 @@ function yl(t) {
5297
5297
  ...m,
5298
5298
  [d]: p,
5299
5299
  [B.xAxisField]: p
5300
- }) : y = f === ae.End ? y - 1 : y + 1, p = ze({
5300
+ }) : y = f === ae.End ? y - 1 : y + 1, p = _e({
5301
5301
  date: p,
5302
5302
  unit: l === $.Month || l === $.Year ? $.Day : l,
5303
5303
  size: 1,
@@ -5799,7 +5799,7 @@ function Fa(t) {
5799
5799
  const N = /* @__PURE__ */ new Set(), {
5800
5800
  maxCategoryCount: L,
5801
5801
  serialChart: { categories: M }
5802
- } = We(l), w = Number.isFinite(L) ? L : M, D = _l({ queryResponse: i, chartConfig: r, maxCategoryCount: w });
5802
+ } = Qe(l), w = Number.isFinite(L) ? L : M, D = _l({ queryResponse: i, chartConfig: r, maxCategoryCount: w });
5803
5803
  for (let I = 0; D[I] && I < D.length && !(o !== void 0 && A >= o); I += 1) {
5804
5804
  A += kl(d, r);
5805
5805
  const P = D[I], E = { ...P.attributes };
@@ -5919,7 +5919,7 @@ async function ba(t) {
5919
5919
  const p = u === F.BoxPlotC1MonoField || u === F.BoxPlotC3MonoFieldAndCategory || u === F.BoxPlotC5MonoFieldAndSplitBy;
5920
5920
  m = mi(u) && !p ? f * d : f;
5921
5921
  }
5922
- return n === He.RenderUpToTheLimit && m !== void 0 && a !== void 0 && a < m && (m = a, f = Math.ceil(m / d), g = !0), { categoryOrDateCount: f, elementCount: m, chartLimitsReached: g };
5922
+ return n === We.RenderUpToTheLimit && m !== void 0 && a !== void 0 && a < m && (m = a, f = Math.ceil(m / d), g = !0), { categoryOrDateCount: f, elementCount: m, chartLimitsReached: g };
5923
5923
  }
5924
5924
  async function pi(t) {
5925
5925
  const {
@@ -6284,7 +6284,7 @@ async function xa(t) {
6284
6284
  chartLimits: u
6285
6285
  }) || Wt({ dataInfo: p, chartType: h.HeatSeries });
6286
6286
  }
6287
- u?.behaviorAfterLimit === He.RenderUpToTheLimit && y && (y = Yl({
6287
+ u?.behaviorAfterLimit === We.RenderUpToTheLimit && y && (y = Yl({
6288
6288
  chartConfig: e,
6289
6289
  dataItems: y,
6290
6290
  chartLimits: u
@@ -6445,7 +6445,7 @@ async function Ii(t) {
6445
6445
  abortSignal: n
6446
6446
  });
6447
6447
  }
6448
- Kn(r) && x && (x?.length + 1 === tr && z || x.length === tr) && (P = !0), p === He.RenderUpToTheLimit && x && ({ trimmedData: x, chartLimitsReached: E } = Jl({ chartConfig: e, chartLimits: d, data: x }));
6448
+ Kn(r) && x && (x?.length + 1 === tr && z || x.length === tr) && (P = !0), p === We.RenderUpToTheLimit && x && ({ trimmedData: x, chartLimitsReached: E } = Jl({ chartConfig: e, chartLimits: d, data: x }));
6449
6449
  }
6450
6450
  Y || (C.valid = !1, C.invalidType = k), C.data = {
6451
6451
  dataItems: x,
@@ -6578,7 +6578,7 @@ async function rc(t) {
6578
6578
  const {
6579
6579
  maxScatterPointsAfterAggregation: N,
6580
6580
  scatterplot: { markersAfterAggregation: L }
6581
- } = We(a), w = Math.floor(Math.sqrt(N ?? L)), D = await ic({
6581
+ } = Qe(a), w = Math.floor(Math.sqrt(N ?? L)), D = await ic({
6582
6582
  queryObject: r,
6583
6583
  chartConfig: i,
6584
6584
  queryConfig: n,
@@ -6951,7 +6951,7 @@ async function Ca(t) {
6951
6951
  }), { queryNumberOfFeatures: f, yStep: m } = B.scatterplotAggregationFields, {
6952
6952
  maxScatterPointsBeforeAggregation: g,
6953
6953
  scatterplot: { aggregationThreshold: p }
6954
- } = We(s), y = d?.get(f) ?? Number.NaN, S = y >= (g ?? p), b = rs(r);
6954
+ } = Qe(s), y = d?.get(f) ?? Number.NaN, S = y >= (g ?? p), b = rs(r);
6955
6955
  S && await rc({
6956
6956
  statsMap: d,
6957
6957
  chartConfig: e,
@@ -7480,7 +7480,7 @@ const dm = (t, e) => {
7480
7480
  };
7481
7481
  function fm(t) {
7482
7482
  const { data: e, seriesConfig: i } = t;
7483
- let r = ke(e);
7483
+ let r = Ve(e);
7484
7484
  return r !== void 0 && (r = xc(r, i), r = Cc(r, i), r = bc(r, i)), r;
7485
7485
  }
7486
7486
  function Bc(t) {
@@ -7591,7 +7591,7 @@ async function vc(t) {
7591
7591
  seriesConfig: y[0],
7592
7592
  queryObject: s
7593
7593
  })) {
7594
- const D = ke(r);
7594
+ const D = Ve(r);
7595
7595
  "temporalBinning" in D.series[0] && D.series[0].temporalBinning && (D.series[0].temporalBinning.trimIncompleteTimeInterval = !1, dt(o, s) && (delete D.series[0].temporalBinning.start, delete D.series[0].temporalBinning.end)), b.push(
7596
7596
  Ii({
7597
7597
  chartConfig: D,
@@ -7723,7 +7723,7 @@ async function mm(t) {
7723
7723
  }
7724
7724
  return k;
7725
7725
  })
7726
- ) && w && (v = ke(w).filter((X) => {
7726
+ ) && w && (v = Ve(w).filter((X) => {
7727
7727
  let K = !1;
7728
7728
  const k = [];
7729
7729
  return Object.keys(X).forEach((Y) => {
@@ -7783,7 +7783,7 @@ function Ac(t) {
7783
7783
  if (e.chartRenderer)
7784
7784
  r = !0;
7785
7785
  else {
7786
- const { series: a } = e, n = V(a), s = G(a), o = Ge(e), l = Re({
7786
+ const { series: a } = e, n = V(a), s = G(a), o = He(e), l = Re({
7787
7787
  seriesConfig: o,
7788
7788
  queryObject: i
7789
7789
  }), u = j(i), c = u?.renderer;
@@ -8069,7 +8069,7 @@ function Ec(t) {
8069
8069
  function pm(t, e) {
8070
8070
  let i = !1;
8071
8071
  if (t && e && e.length > 0 && Ia(t)) {
8072
- const a = Ts(t), n = Ge(t);
8072
+ const a = Ts(t), n = He(t);
8073
8073
  a ? i = Ec(t).some((o) => e.includes(o)) : i = e.includes(n.x);
8074
8074
  }
8075
8075
  return i;
@@ -8475,7 +8475,7 @@ async function hm(t) {
8475
8475
  queryConfig: y,
8476
8476
  errorStrings: u
8477
8477
  }) : [];
8478
- const T = We(l), C = {
8478
+ const T = Qe(l), C = {
8479
8479
  [h.BarSeries]: T.maxBarChartSeriesCount,
8480
8480
  [h.BoxPlotSeries]: T.maxBoxPlotSeriesCount,
8481
8481
  [h.LineSeries]: T.maxLineChartSeriesCount,
@@ -8634,7 +8634,7 @@ function Oa(t) {
8634
8634
  function Oe(t) {
8635
8635
  const { count: e, seriesCount: i, chartType: r, chartLimits: a } = t, { behaviorAfterLimit: n } = a ?? {};
8636
8636
  let s = !0;
8637
- if (n !== He.RenderUpToTheLimit) {
8637
+ if (n !== We.RenderUpToTheLimit) {
8638
8638
  const {
8639
8639
  maxBarChartSeriesCount: o,
8640
8640
  maxBarUniqueSeriesCountTotal: l,
@@ -8667,7 +8667,7 @@ function Oe(t) {
8667
8667
  heatChart: { cells: X },
8668
8668
  pieChart: { slices: K },
8669
8669
  gauge: { features: k }
8670
- } = We(a);
8670
+ } = Qe(a);
8671
8671
  switch (r) {
8672
8672
  case h.BarSeries:
8673
8673
  case h.ComboLineAndBarSeries:
@@ -8967,7 +8967,7 @@ function ru(t, e) {
8967
8967
  function au(t) {
8968
8968
  const { queryObject: e, defaultGeometry: i, ignoreViewExtent: r } = t;
8969
8969
  let a = i;
8970
- if (!r && $e(e)) {
8970
+ if (!r && ke(e)) {
8971
8971
  const n = e.view.extent, { xmin: s, xmax: o, ymin: l, ymax: u, zmin: c, zmax: d } = n;
8972
8972
  a = { xmin: s, ymin: l, zmin: c, xmax: o, ymax: u, zmax: d, spatialReference: n.spatialReference.toJSON() };
8973
8973
  }
@@ -9243,7 +9243,7 @@ function du(t) {
9243
9243
  let e, i, r;
9244
9244
  return t !== void 0 && (e = t.type, (e === fe.UniqueValue || e === fe.ClassBreaks) && (i = t.field ?? void 0, e === fe.ClassBreaks && (r = t.normalizationField ?? void 0))), { rendererType: e, rendererField: i, rendererNormalizationField: r };
9245
9245
  }
9246
- const $a = Qe(
9246
+ const $a = ze(
9247
9247
  (t) => {
9248
9248
  const e = t.featureCollection;
9249
9249
  let i, r;
@@ -9271,7 +9271,7 @@ const $a = Qe(
9271
9271
  },
9272
9272
  (t) => JSON.stringify(t)
9273
9273
  // stringify with sorted keys
9274
- ), _a = Qe(
9274
+ ), _a = ze(
9275
9275
  async (t, e) => await $a(t).load({ signal: e }),
9276
9276
  (t) => JSON.stringify(t)
9277
9277
  // stringify with sorted keys
@@ -9662,7 +9662,7 @@ function wu(t) {
9662
9662
  }
9663
9663
  function Ha(t) {
9664
9664
  const { chartConfig: e, uniqueQuery: i, chartLimits: r } = t;
9665
- if (r?.behaviorAfterLimit === He.RenderUpToTheLimit) {
9665
+ if (r?.behaviorAfterLimit === We.RenderUpToTheLimit) {
9666
9666
  const a = Ni(e, r);
9667
9667
  if (a !== void 0) {
9668
9668
  const n = G(e.series);
@@ -9686,7 +9686,7 @@ function _i(t) {
9686
9686
  fetchFullBoxPlotData: s,
9687
9687
  returnFeaturesExtent: o,
9688
9688
  chartLimits: l
9689
- } = t, u = e.series, c = G(u), d = Ge(e), { query: f, x: m } = d, g = "y" in d ? d.y : void 0, p = Re({
9689
+ } = t, u = e.series, c = G(u), d = He(e), { query: f, x: m } = d, g = "y" in d ? d.y : void 0, p = Re({
9690
9690
  xAxisValueFormatType: ve(e),
9691
9691
  setTimeBinningInfoWhenNotProvided: n,
9692
9692
  seriesConfig: d,
@@ -9694,7 +9694,7 @@ function _i(t) {
9694
9694
  });
9695
9695
  let y = /* @__PURE__ */ new Map(), S = !1, b = !1, T = !1, C = !1, x = !1, v = {};
9696
9696
  if (f !== void 0) {
9697
- v = ke(f);
9697
+ v = Ve(f);
9698
9698
  const E = re(f.where);
9699
9699
  let z = "";
9700
9700
  switch (i.fetchNullValues !== !0 && (m !== B.boxPlot.boxPlotCategory && (z = `${m} IS NOT NULL`), E.trim() !== "" && E !== m && !De(f.where) && (z = J([z, `${E} IS NOT NULL`]))), c) {
@@ -9750,7 +9750,7 @@ function _i(t) {
9750
9750
  unit: a?.unit ?? u[0].temporalBinning?.unit,
9751
9751
  chartSubType: c,
9752
9752
  objectIdFields: q,
9753
- runsOnClientQueryEngine: $e(r)
9753
+ runsOnClientQueryEngine: ke(r)
9754
9754
  });
9755
9755
  }
9756
9756
  v.where = z;
@@ -9811,7 +9811,7 @@ function Pu(t) {
9811
9811
  const { data: e, htmlContainer: i } = t;
9812
9812
  i && e && i.dispatchEvent(new window.CustomEvent(rt.SeriesOrder, at(e)));
9813
9813
  }
9814
- const Ue = [
9814
+ const Ge = [
9815
9815
  "1.0.0",
9816
9816
  "1.0.1",
9817
9817
  "2.0.0",
@@ -9932,14 +9932,14 @@ function Du(t) {
9932
9932
  function Zm(t) {
9933
9933
  let e = ot.Same, i = [];
9934
9934
  if (Du(t) && t !== void 0) {
9935
- Ue.sort(ui);
9936
- const a = ui(t, Ue[Ue.length - 1]);
9935
+ Ge.sort(ui);
9936
+ const a = ui(t, Ge[Ge.length - 1]);
9937
9937
  if (a === 1 ? e = ot.Newer : a === -1 && (e = ot.Older), e === ot.Newer || e === ot.Same)
9938
9938
  i.push(t);
9939
9939
  else {
9940
- for (let n = Ue.length - 2; n >= 0; n -= 1)
9941
- if (ui(t, Ue[n]) >= 0) {
9942
- i = Ue.slice(n, Ue.length);
9940
+ for (let n = Ge.length - 2; n >= 0; n -= 1)
9941
+ if (ui(t, Ge[n]) >= 0) {
9942
+ i = Ge.slice(n, Ge.length);
9943
9943
  break;
9944
9944
  }
9945
9945
  i.length === 0 && i.push(Mu);
@@ -9948,7 +9948,7 @@ function Zm(t) {
9948
9948
  e = ot.Unrecognized, i.push(Iu);
9949
9949
  return { versionStatus: e, versions: i };
9950
9950
  }
9951
- function Ge(t) {
9951
+ function He(t) {
9952
9952
  const { series: e } = t;
9953
9953
  let r = ("showMean" in t ? t.showMean : !1) === !0 ? e.find((a) => a.type === h.LineSeries) : e[0];
9954
9954
  return r ??= e[0], r;
@@ -10038,7 +10038,7 @@ function ja(t) {
10038
10038
  const {
10039
10039
  maxScatterPointsBeforeAggregation: n,
10040
10040
  scatterplot: { aggregationThreshold: s }
10041
- } = We(r), { queryNumberOfFeatures: o } = B.scatterplotAggregationFields;
10041
+ } = Qe(r), { queryNumberOfFeatures: o } = B.scatterplotAggregationFields;
10042
10042
  a = (e.get(o) ?? Number.NaN) >= (n ?? s);
10043
10043
  } else i !== void 0 && (a = B.scatterplotAggregationFields.dataContextXMinField in i);
10044
10044
  return a;
@@ -10080,7 +10080,7 @@ function Be(t) {
10080
10080
  function Xa(t) {
10081
10081
  const { previousConfig: e, newConfig: i, behaviorAfterLimit: r } = t, a = e.series, n = i.series;
10082
10082
  let s = !1, o = !1;
10083
- (r === He.RenderUpToTheLimit || e.orderOptions?.data === void 0 || i.orderOptions?.data === void 0) && (o = !we(
10083
+ (r === We.RenderUpToTheLimit || e.orderOptions?.data === void 0 || i.orderOptions?.data === void 0) && (o = !we(
10084
10084
  e.orderOptions?.orderByFields,
10085
10085
  i.orderOptions?.orderByFields
10086
10086
  ));
@@ -10386,7 +10386,7 @@ function xg(t) {
10386
10386
  return p = Object.values(S.common).some((b) => b), (S.gauge.valueConversionChanged || S.gauge.minMaxFromFieldsChanged || S.histogram.dataPropsChanged || S.boxPlot.showMeanChanged || S.heatChart.binningChanged || S.heatChart.hideEmptyRowsAndColumnsChanged || S.heatChart.includeLeapDay || S.scatterPlot.tooltipFieldsChanged || S.scatterPlot.imageryAoiChanged) && (y = !0), g = p || y, { dataUpdateNeeded: g, dataUpdateDetails: S };
10387
10387
  }
10388
10388
  function Cg(t, e) {
10389
- const i = ke(t);
10389
+ const i = Ve(t);
10390
10390
  if (i && i.series.length > 1) {
10391
10391
  const { preferLabel: r, orderBy: a } = i.orderOptions?.series ?? {};
10392
10392
  if (a !== void 0) {
@@ -10411,14 +10411,17 @@ function Cg(t, e) {
10411
10411
  }
10412
10412
  function zi(t) {
10413
10413
  let e;
10414
- const i = t?.orderOptions?.data;
10415
- return t.series?.length > 0 && i?.orderType === Ve.MultiAxes && (e = [], e.push({
10416
- sortingField: H.xField,
10417
- orderBy: i.orderByX ?? oe.Ascending
10418
- }), e.push({
10419
- sortingField: i.orderByY !== void 0 ? H.yField : "",
10420
- orderBy: i.orderByY
10421
- })), e;
10414
+ const i = t?.orderOptions?.data, r = t.series?.[0], a = i?.orderByX ?? (r?.xTemporalBinning ? oe.Ascending : void 0), n = i?.orderByY ?? (r?.yTemporalBinning ? oe.Ascending : void 0);
10415
+ return r && (a !== void 0 || n !== void 0) && (e = [
10416
+ {
10417
+ sortingField: a !== void 0 ? H.xField : "",
10418
+ orderBy: a
10419
+ },
10420
+ {
10421
+ sortingField: n !== void 0 ? H.yField : "",
10422
+ orderBy: n
10423
+ }
10424
+ ]), e;
10422
10425
  }
10423
10426
  function Gu(t) {
10424
10427
  const { chartConfig: e, field: i } = t;
@@ -10430,11 +10433,11 @@ function an(t) {
10430
10433
  const e = G(t.series);
10431
10434
  let i;
10432
10435
  if (t.orderOptions?.data !== void 0) {
10433
- let r = t.orderOptions?.data?.orderType ?? Ve.Category, a = t.orderOptions?.data && "orderBy" in t.orderOptions.data ? t.orderOptions.data.orderBy : void 0;
10434
- if (r === Ve.Category)
10436
+ let r = t.orderOptions?.data?.orderType ?? je.Category, a = t.orderOptions?.data && "orderBy" in t.orderOptions.data ? t.orderOptions.data.orderBy : void 0;
10437
+ if (r === je.Category)
10435
10438
  r = t.series[0].x;
10436
10439
  else {
10437
- r === Ve.Mean ? r = R.Average : r === Ve.Median && (r = R.Median);
10440
+ r === je.Mean ? r = R.Average : r === je.Median && (r = R.Median);
10438
10441
  const n = e === F.BoxPlotC4MultiFieldsAndCategory && typeof t.series[0].y == "string" ? t.series[0].y : void 0, s = re(t.series[0].query?.where), o = ce({
10439
10442
  where: t.series[0].query?.where
10440
10443
  });
@@ -10466,7 +10469,7 @@ function nn(t) {
10466
10469
  let s, o = "", l;
10467
10470
  if (t.orderOptions?.data !== void 0) {
10468
10471
  const u = t.orderOptions.data && "preferLabel" in t.orderOptions.data ? t.orderOptions.data.preferLabel : !0;
10469
- if (o = t.orderOptions?.data?.orderType ?? Ve.Category, l = t.orderOptions?.data && "orderBy" in t.orderOptions.data ? t.orderOptions.data.orderBy : void 0, o === Ve.Category ? a ? o = ye : o = u ? i : xt.originalXValue : o = a ? Le : [r].flat()[0], o !== void 0 && o !== "") {
10472
+ if (o = t.orderOptions?.data?.orderType ?? je.Category, l = t.orderOptions?.data && "orderBy" in t.orderOptions.data ? t.orderOptions.data.orderBy : void 0, o === je.Category ? a ? o = ye : o = u ? i : xt.originalXValue : o = a ? Le : [r].flat()[0], o !== void 0 && o !== "") {
10470
10473
  const c = Ri(t);
10471
10474
  if (V(t.series) !== h.PieSeries && o !== i && t.series?.length > 1)
10472
10475
  switch (c) {
@@ -10709,7 +10712,7 @@ export {
10709
10712
  lm as bZ,
10710
10713
  ve as b_,
10711
10714
  pe as ba,
10712
- $e as bb,
10715
+ ke as bb,
10713
10716
  ir as bc,
10714
10717
  Cr as bd,
10715
10718
  Nm as be,
@@ -10756,7 +10759,7 @@ export {
10756
10759
  Cm as cH,
10757
10760
  pf as cI,
10758
10761
  Jr as cJ,
10759
- Ge as cK,
10762
+ He as cK,
10760
10763
  Ei as cL,
10761
10764
  rf as cM,
10762
10765
  Kc as cN,
@@ -10808,7 +10811,7 @@ export {
10808
10811
  To as d4,
10809
10812
  Jd as d5,
10810
10813
  Tg as d6,
10811
- Ue as d7,
10814
+ Ge as d7,
10812
10815
  gm as d8,
10813
10816
  kr as d9,
10814
10817
  Kr as dA,