@arcgis/charts-components 5.2.0-next.132 → 5.2.0-next.135

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 (126) hide show
  1. package/dist/cdn/{IGFC74OK.js → 237DFICJ.js} +1 -1
  2. package/dist/cdn/{EJNWROC7.js → 2TH2NLKH.js} +1 -1
  3. package/dist/cdn/{35YCEIPG.js → 2WMXFFGK.js} +1 -1
  4. package/dist/cdn/{SNZ7YX4G.js → 4HRC4N36.js} +1 -1
  5. package/dist/cdn/{7HEDEKUK.js → 54MARFOX.js} +1 -1
  6. package/dist/cdn/{LDIHSUX2.js → 5FLFQNR7.js} +1 -1
  7. package/dist/cdn/{XJXSAYEK.js → 5J4YCXT7.js} +1 -1
  8. package/dist/cdn/{RAUY3KKA.js → 6XU3HVJF.js} +1 -1
  9. package/dist/cdn/{BTVIWRYJ.js → 7V464FLT.js} +1 -1
  10. package/dist/cdn/{RCD46RH5.js → 7ZIK7CXK.js} +1 -1
  11. package/dist/cdn/{QL2Y7MRB.js → AEKQA723.js} +1 -1
  12. package/dist/cdn/{LJO5VDUN.js → AXYWDXEL.js} +1 -1
  13. package/dist/cdn/{QKENGEGV.js → B2L54U6A.js} +1 -1
  14. package/dist/cdn/{H5DH4WNN.js → BGRTZDUX.js} +1 -1
  15. package/dist/cdn/{7LTSJSTM.js → BWHTYMQB.js} +1 -1
  16. package/dist/cdn/{U4GLRB5M.js → BZFXEB67.js} +1 -1
  17. package/dist/cdn/{7JOTYFCC.js → CIHQXJ22.js} +1 -1
  18. package/dist/cdn/{N7EBMOGD.js → D6AJNGRK.js} +1 -1
  19. package/dist/cdn/{5HNY3IAS.js → E4E2WV6B.js} +1 -1
  20. package/dist/cdn/{57HL3UWJ.js → EHWOAZN7.js} +1 -1
  21. package/dist/cdn/{G5R4DPDE.js → F2NO4I6W.js} +1 -1
  22. package/dist/cdn/{SYYWPV6X.js → F347H3VP.js} +1 -1
  23. package/dist/cdn/{OPIODPW3.js → F7AX7464.js} +1 -1
  24. package/dist/cdn/{EXL2B3BJ.js → FBSOJYSL.js} +1 -1
  25. package/dist/cdn/{GCIRVVIE.js → FF5R6NM4.js} +1 -1
  26. package/dist/cdn/{34XMANB5.js → FJNF77FI.js} +1 -1
  27. package/dist/cdn/{GWNC2RK3.js → GDMO4GD3.js} +1 -1
  28. package/dist/cdn/{4555T57S.js → HKJALKXI.js} +1 -1
  29. package/dist/cdn/{TGRE7VEP.js → IAZC7AQD.js} +1 -1
  30. package/dist/cdn/{SLMVIJZS.js → IRHBAPVI.js} +1 -1
  31. package/dist/cdn/{MEVS5PVK.js → J7FI5MUJ.js} +1 -1
  32. package/dist/cdn/{FB73CWAR.js → JM3JDVI3.js} +1 -1
  33. package/dist/cdn/{TOETRZXJ.js → JRBXQRR3.js} +1 -1
  34. package/dist/cdn/{E3GMOBBD.js → JRO7TCEJ.js} +1 -1
  35. package/dist/cdn/{ZJTFGMDB.js → KG5S3UIQ.js} +1 -1
  36. package/dist/cdn/{LOCELKGX.js → LPQNRUNB.js} +3 -3
  37. package/dist/cdn/{MJOSYJQM.js → LQLS3XBM.js} +1 -1
  38. package/dist/cdn/{FHSZFYWX.js → LWTFQAHK.js} +19 -19
  39. package/dist/cdn/{SY67MGEX.js → LYAWKYBD.js} +1 -1
  40. package/dist/cdn/{4TYYNWIM.js → MHTOZK7U.js} +1 -1
  41. package/dist/cdn/{PTXE3HWB.js → MVMW7ICK.js} +1 -1
  42. package/dist/cdn/{5MZ56C7R.js → NHMG5ROX.js} +1 -1
  43. package/dist/cdn/{HLHP2HHG.js → NSOVRPRE.js} +1 -1
  44. package/dist/cdn/{7RELPYIT.js → NWB2XYFC.js} +1 -1
  45. package/dist/cdn/{5HNG6KMX.js → PB5EMF72.js} +1 -1
  46. package/dist/cdn/{A7WJVI5D.js → Q7W6SXYC.js} +1 -1
  47. package/dist/cdn/{TTM5ZQFA.js → QAYSFUD7.js} +1 -1
  48. package/dist/cdn/{SJF6WAGB.js → QBWCTB6A.js} +1 -1
  49. package/dist/cdn/{HLNBRVRG.js → QDALL6M3.js} +1 -1
  50. package/dist/cdn/{ODTXJRD3.js → QWH37V5U.js} +1 -1
  51. package/dist/cdn/{SKJ3EY3H.js → R6IRQAQX.js} +1 -1
  52. package/dist/cdn/{HZBM265G.js → RLWLROKT.js} +1 -1
  53. package/dist/cdn/{A6ZHMVPA.js → RRLXLHLQ.js} +1 -1
  54. package/dist/cdn/{KFUYJAX4.js → SCGAGWRM.js} +1 -1
  55. package/dist/cdn/{TUEYIIMJ.js → SZZ5ARZP.js} +1 -1
  56. package/dist/cdn/{AE3Q3FDI.js → TG6R3HGR.js} +1 -1
  57. package/dist/cdn/{DDNS3GY4.js → THOUIYL5.js} +1 -1
  58. package/dist/cdn/{RSJPZSNN.js → TXLZGJBS.js} +1 -1
  59. package/dist/cdn/{ROY54SMC.js → UMM6WL6A.js} +1 -1
  60. package/dist/cdn/{IUFIYS7S.js → V5MTKOJP.js} +1 -1
  61. package/dist/cdn/{DJTFBHNQ.js → VBJ6455L.js} +1 -1
  62. package/dist/cdn/{ZL524IM5.js → VVXOD6FU.js} +1 -1
  63. package/dist/cdn/{UDTDIZNT.js → W5EEE7AO.js} +1 -1
  64. package/dist/cdn/{FKNSQZCW.js → WT5EQBFC.js} +1 -1
  65. package/dist/cdn/{PYRBEWFD.js → XGVPNZ4W.js} +1 -1
  66. package/dist/cdn/{FL6IYK2Q.js → XL73XJKZ.js} +1 -1
  67. package/dist/cdn/{EGROLWFL.js → XOUPCPXQ.js} +1 -1
  68. package/dist/cdn/{FEEYT3QQ.js → YVLG5MT3.js} +1 -1
  69. package/dist/cdn/{R35RZX3J.js → YZVWDBRN.js} +1 -1
  70. package/dist/cdn/{F4U6EDV7.js → Z4LTOPMQ.js} +1 -1
  71. package/dist/cdn/{TT4BXH4L.js → ZWDYQ77Q.js} +1 -1
  72. package/dist/cdn/index.js +1 -1
  73. package/dist/cdn/model/shared/setup-utils.js +1 -1
  74. package/dist/chart-rendering/common/interfaces.d.ts +6 -0
  75. package/dist/chunks/action-bar-utils.js +1 -1
  76. package/dist/chunks/bar-chart-model.js +1 -1
  77. package/dist/chunks/box-plot-data.js +7 -7
  78. package/dist/chunks/chart-model.js +9 -9
  79. package/dist/chunks/chart-ui-utils.js +7 -7
  80. package/dist/chunks/combo-bar-line-chart-model.js +1 -1
  81. package/dist/chunks/data.js +15 -15
  82. package/dist/chunks/gauge-model.js +41 -41
  83. package/dist/chunks/heat-chart-model.js +20 -20
  84. package/dist/chunks/index.js +93 -93
  85. package/dist/chunks/index4.js +1 -1
  86. package/dist/chunks/line-chart-model.js +1 -1
  87. package/dist/chunks/model-setter.js +1 -1
  88. package/dist/chunks/pie-chart-data.js +1 -1
  89. package/dist/chunks/pie-chart-model.js +1 -1
  90. package/dist/chunks/radar-chart-model.js +1 -1
  91. package/dist/chunks/serial-chart-data.js +47 -47
  92. package/dist/chunks/serial-chart-model.js +1 -1
  93. package/dist/chunks/series-length.js +3 -3
  94. package/dist/chunks/utils.js +15 -15
  95. package/dist/chunks/web-component-utils.js +1 -1
  96. package/dist/components/arcgis-chart/customElement.d.ts +21 -10
  97. package/dist/components/arcgis-chart/customElement.js +3360 -3322
  98. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
  99. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +1 -1
  100. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +5 -5
  101. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +1 -1
  102. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +1 -1
  103. package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
  104. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +1 -1
  105. package/dist/components/arcgis-charts-config-create-flow/customElement.js +1 -1
  106. package/dist/components/arcgis-charts-config-heat-chart/customElement.js +1 -1
  107. package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +1 -1
  108. package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
  109. package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
  110. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +1 -1
  111. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
  112. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +1 -1
  113. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
  114. package/dist/components/arcgis-charts-config-view-charts/customElement.js +1 -1
  115. package/dist/docs/api.json +1 -1
  116. package/dist/docs/docs.json +1 -1
  117. package/dist/docs/vscode.html-custom-data.json +1 -1
  118. package/dist/docs/web-types.json +1 -1
  119. package/dist/index.js +71 -71
  120. package/dist/loader.js +1 -1
  121. package/dist/types/lumina.d.ts +1 -1
  122. package/dist/types/preact.d.ts +1 -1
  123. package/dist/types/react.d.ts +1 -1
  124. package/dist/types/stencil.d.ts +1 -1
  125. package/dist/utils/chart-config/converter/index.js +88 -88
  126. package/package.json +4 -4
@@ -1,11 +1,11 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
2
  import { getElementLocale as $e } from "@arcgis/toolkit/intl/dom";
3
3
  import { cloneDeep as n, isEmpty as B } from "es-toolkit/compat";
4
- import { DateTime as Ye } from "luxon";
5
- import { q as Qe, co as se, bA as Ke, W as ne, aP as ae, cp as Xe, bL as Je, bM as Ze, p as T, bl as Ue, cq as b, cr as te, N as et, O as tt, w as Z, cs as rt, cl as it, ct as ot, Y as st } from "../../../chunks/index.js";
4
+ import { DateTime as Qe } from "luxon";
5
+ import { r as Ye, co as se, bA as Xe, X as ne, aP as ae, cp as Ke, bL as Ze, bM as Je, q as x, bl as Ue, cq as b, cr as te, O as et, P as tt, x as J, cs as rt, cl as it, ct as ot, Z as st } from "../../../chunks/index.js";
6
6
  import { a8 as nt, p as at, l as lt, a5 as dt, s as ct } from "../../../chunks/index3.js";
7
7
  import { i as ut } from "../../../chunks/type-guards.js";
8
- import { a as u, D as k, i as le } from "../../../chunks/index2.js";
8
+ import { a as u, D as P, i as le } from "../../../chunks/index2.js";
9
9
  import { g as h, s as ft } from "../../../chunks/series-types.js";
10
10
  import { o as re, a as c, d as F, t as p, g as v, u as pt, W as ie, e as C } from "../../../chunks/chart-object-literals.js";
11
11
  import { p as yt, c as mt, e as St, i as gt } from "../../../chunks/class-breaks.js";
@@ -16,7 +16,7 @@ function de(r) {
16
16
  if (t?.capabilities?.queryAttributeBins?.supportsFirstDayOfWeek === !0 && (!("firstDayOfWeek" in e) || e.firstDayOfWeek === void 0 || e.firstDayOfWeek === null)) {
17
17
  const { lang: s } = $e(i ?? document.documentElement);
18
18
  try {
19
- o.firstDayOfWeek = Ye.local().setLocale(s.replaceAll("_", "-")).startOf("week", { useLocaleWeeks: !0 }).weekday;
19
+ o.firstDayOfWeek = Qe.local().setLocale(s.replaceAll("_", "-")).startOf("week", { useLocaleWeeks: !0 }).weekday;
20
20
  } catch {
21
21
  }
22
22
  }
@@ -66,7 +66,7 @@ function oe(r, e) {
66
66
  const i = [];
67
67
  return r.forEach((t) => {
68
68
  if (!le(t)) {
69
- const o = k(t, !1);
69
+ const o = P(t, !1);
70
70
  if (o.fieldToSort !== void 0) {
71
71
  const s = b({
72
72
  queryObject: e,
@@ -83,11 +83,11 @@ async function fe(r) {
83
83
  const { configToUpdate: e, layer: i, abortSignal: t } = r, o = { ...e };
84
84
  let s = i;
85
85
  if (!s) {
86
- const a = Je(e) ? e.iLayer : e.dataSource?.layer;
87
- a && (s = await Ze(a, t));
86
+ const a = Ze(e) ? e.iLayer : e.dataSource?.layer;
87
+ a && (s = await Je(a, t));
88
88
  }
89
89
  if (s) {
90
- const a = T(o.series), f = h(o.series), y = o.series && o.series.length > 0 && o.series[0].x.trim() === "" || f === c.GaugeSeries && !Ue(e) || a === u.PieFromFields || a === u.BarAndLineFromFields || a === u.BoxPlotC1MonoField || a === u.BoxPlotC5MonoFieldAndSplitBy || a === u.BoxPlotC2MultiFields || a === u.BoxPlotC6MultiFieldsAndSplitBy, He = f === c.ScatterSeries || f === c.HeatSeries || a === u.BarAndLineNoAggregation || a === u.BarAndLineSplitByNoAggregation || a === u.BoxPlotC1MonoField || a === u.BoxPlotC5MonoFieldAndSplitBy || a === u.BoxPlotC3MonoFieldAndCategory || a === u.BoxPlotC7MonoFieldAndCategoryAndSplitBy || a === u.PieNoAggregation;
90
+ const a = x(o.series), f = h(o.series), y = o.series && o.series.length > 0 && o.series[0].x.trim() === "" || f === c.GaugeSeries && !Ue(e) || a === u.PieFromFields || a === u.BarAndLineFromFields || a === u.BoxPlotC1MonoField || a === u.BoxPlotC5MonoFieldAndSplitBy || a === u.BoxPlotC2MultiFields || a === u.BoxPlotC6MultiFieldsAndSplitBy, He = f === c.ScatterSeries || f === c.HeatSeries || a === u.BarAndLineNoAggregation || a === u.BarAndLineSplitByNoAggregation || a === u.BoxPlotC1MonoField || a === u.BoxPlotC5MonoFieldAndSplitBy || a === u.BoxPlotC3MonoFieldAndCategory || a === u.BoxPlotC7MonoFieldAndCategoryAndSplitBy || a === u.PieNoAggregation;
91
91
  if (o.series = e.series.map((d) => {
92
92
  const l = { ...d };
93
93
  if (y || (l.x = b({ queryObject: s, fieldToMatch: d.x })), "y" in l && He) {
@@ -102,19 +102,19 @@ async function fe(r) {
102
102
  }
103
103
  if (d.query !== void 0) {
104
104
  let { where: m, groupByFieldsForStatistics: S, outStatistics: g } = d.query;
105
- if (S = te({ fieldsList: S, queryObject: s }), g !== void 0 && (g = g.map((x) => {
106
- const O = { ...x };
105
+ if (S = te({ fieldsList: S, queryObject: s }), g !== void 0 && (g = g.map((T) => {
106
+ const O = { ...T };
107
107
  return O.onStatisticField = b({
108
108
  queryObject: s,
109
- fieldToMatch: x.onStatisticField
109
+ fieldToMatch: T.onStatisticField
110
110
  }), O;
111
111
  })), m !== void 0 && a === u.BarAndLineSplitBy) {
112
- const x = et(d.query?.where), O = tt({
112
+ const T = et(d.query?.where), O = tt({
113
113
  where: d.query?.where,
114
114
  normalize: !1,
115
115
  escape: !1
116
116
  });
117
- m = `${b({ queryObject: s, fieldToMatch: x })}=${O}`;
117
+ m = `${b({ queryObject: s, fieldToMatch: T })}=${O}`;
118
118
  }
119
119
  l.query !== void 0 && (m !== void 0 && (l.query.where = m), S !== void 0 && (l.query.groupByFieldsForStatistics = S), g !== void 0 && (l.query.outStatistics = g));
120
120
  }
@@ -164,7 +164,7 @@ function ye(r) {
164
164
  orderBy: v.Ascending
165
165
  }, i = r.query?.orderByFields?.[0];
166
166
  if (i !== void 0) {
167
- const { outStatisticFieldName: t, statisticType: o } = r.query?.outStatistics?.[0] ?? {}, s = k(i);
167
+ const { outStatisticFieldName: t, statisticType: o } = r.query?.outStatistics?.[0] ?? {}, s = P(i);
168
168
  t !== void 0 && s.fieldToSort === t && o !== void 0 && (o === F.Average || o === "mean" ? e.orderType = p.Mean : o === F.ContinuousPercentile && (e.orderType = p.Median)), e.orderBy = s.orderBy ?? v.Ascending;
169
169
  }
170
170
  return e;
@@ -177,7 +177,7 @@ function me(r) {
177
177
  function Se(r) {
178
178
  const e = n(r);
179
179
  if (!B(e.series) && h(r.series) === c.BoxPlotSeries) {
180
- const t = T(r.series);
180
+ const t = x(r.series);
181
181
  if (e.orderOptions?.data === void 0 && t !== u.BoxPlotC2MultiFields && t !== u.BoxPlotC1MonoField) {
182
182
  const o = ye(r.series[0]);
183
183
  o.orderType !== void 0 && (e.orderOptions ??= {}, e.orderOptions.data = {
@@ -240,12 +240,12 @@ function Ce(r) {
240
240
  }
241
241
  function be(r) {
242
242
  const e = n(r);
243
- return e?.orderOptions?.orderByFields !== void 0 && T(r.series) === u.PieFromFields && (e.orderOptions.orderByFields = r?.orderOptions?.orderByFields?.map(
243
+ return e?.orderOptions?.orderByFields !== void 0 && x(r.series) === u.PieFromFields && (e.orderOptions.orderByFields = r?.orderOptions?.orderByFields?.map(
244
244
  (i) => {
245
245
  let t = n(i);
246
246
  return i !== void 0 && i.includes("arcgis_charts_pie_category_from_fields_name") && (t = i.replace(
247
247
  "arcgis_charts_pie_category_from_fields_name",
248
- Z
248
+ J
249
249
  )), t;
250
250
  }
251
251
  )), e;
@@ -258,7 +258,7 @@ function Fe(r) {
258
258
  }
259
259
  return e;
260
260
  }
261
- function Te(r) {
261
+ function xe(r) {
262
262
  const e = n(r), { extent: i } = e.series[0]?.query ?? {};
263
263
  return i !== void 0 && (e.dataFilters = {
264
264
  ...e.dataFilters,
@@ -273,7 +273,7 @@ function U(r) {
273
273
  i.rotated !== void 0 && delete i.rotated;
274
274
  })), e;
275
275
  }
276
- function xe(r) {
276
+ function Te(r) {
277
277
  const e = n(r), i = r.dataSource;
278
278
  return "dataSource" in e && !B(i) && (i.type === "featureLayer" && e.dataSource !== void 0 && (e.dataSource.type = "layer"), "featureLayer" in i && (e.dataSource.layer = i.featureLayer, delete e.dataSource.featureLayer)), e;
279
279
  }
@@ -291,7 +291,7 @@ function Oe(r) {
291
291
  }
292
292
  return e;
293
293
  }
294
- function ke(r) {
294
+ function Pe(r) {
295
295
  return r !== "originalValue";
296
296
  }
297
297
  function ee(r) {
@@ -309,7 +309,7 @@ function ee(r) {
309
309
  }
310
310
  return e;
311
311
  }
312
- function Pe(r) {
312
+ function ke(r) {
313
313
  const e = n(r);
314
314
  if (!B(r.series) && h(r.series) === c.PieSeries) {
315
315
  const t = e.series[0];
@@ -317,7 +317,7 @@ function Pe(r) {
317
317
  if (t.sortLabelsBy === "originalValue")
318
318
  e.sortLabelsBy = t.sortLabelsBy;
319
319
  else if (t.sortLabelsBy !== void 0 && e.orderOptions?.data === void 0) {
320
- const o = P(e);
320
+ const o = k(e);
321
321
  o !== void 0 && (e.orderOptions ??= {}, e.orderOptions.data = o);
322
322
  }
323
323
  t.sortLabelsBy && delete t.sortLabelsBy;
@@ -331,13 +331,13 @@ function Le(r) {
331
331
  "stackedType" in i && delete i.stackedType;
332
332
  })), e;
333
333
  }
334
- function we(r) {
334
+ function Ae(r) {
335
335
  const e = n(r), i = r.sortOptions?.sortSeriesBy;
336
336
  return e.orderOptions === void 0 && typeof i == "string" && (e.orderOptions ??= {}, e.orderOptions.series = {
337
337
  orderBy: i === "DESC" ? v.Descending : v.Ascending
338
338
  }), e;
339
339
  }
340
- function Ae(r) {
340
+ function we(r) {
341
341
  const e = n(r);
342
342
  return e.colorMatch === void 0 && e.series[0]?.colorType !== void 0 && (e.colorMatch = e.series[0]?.colorType === pt.Match), e.series.forEach((i) => {
343
343
  i.colorType !== void 0 && delete i.colorType;
@@ -372,9 +372,9 @@ function Ie(r) {
372
372
  e.orderOptions ??= {};
373
373
  let t = !0;
374
374
  if (i.length === 1) {
375
- const { fieldToSort: o, orderBy: s } = k(i[0]);
375
+ const { fieldToSort: o, orderBy: s } = P(i[0]);
376
376
  let a;
377
- o === r.series[0].x || o === Z ? a = p.Category : "y" in r.series[0] && o === r.series[0].y && (a = p.YValue), a && a !== p.MultiAxes && (t = !1, e.orderOptions.data === void 0 && (e.orderOptions.data = {
377
+ o === r.series[0].x || o === J ? a = p.Category : "y" in r.series[0] && o === r.series[0].y && (a = p.YValue), a && a !== p.MultiAxes && (t = !1, e.orderOptions.data === void 0 && (e.orderOptions.data = {
378
378
  orderType: a,
379
379
  orderBy: s?.toUpperCase() === "DESC" ? v.Descending : v.Ascending
380
380
  }));
@@ -385,14 +385,14 @@ function Ie(r) {
385
385
  delete t.query?.orderByFields;
386
386
  }), e;
387
387
  }
388
- function P(r) {
388
+ function k(r) {
389
389
  let e, i = r.orderOptions?.orderByFields?.[0];
390
390
  if (r.series?.length > 0) {
391
- const t = h(r.series), o = T(r.series);
391
+ const t = h(r.series), o = x(r.series);
392
392
  if (t !== c.PieSeries && o !== u.BarAndLineFromFields && o !== u.BoxPlotC2MultiFields && (i = i ?? r.series[0].x), i && !le(i)) {
393
- const { fieldToSort: s, orderBy: a } = k(i);
393
+ const { fieldToSort: s, orderBy: a } = P(i);
394
394
  let f;
395
- s === r.series[0].x || s === Z ? f = p.Category : "y" in r.series[0] && s === r.series[0].y && (f = p.YValue), f && f !== p.MultiAxes && (e = {
395
+ s === r.series[0].x || s === J ? f = p.Category : "y" in r.series[0] && s === r.series[0].y && (f = p.YValue), f && f !== p.MultiAxes && (e = {
396
396
  orderType: f,
397
397
  orderBy: a?.toUpperCase() === "DESC" ? v.Descending : v.Ascending
398
398
  });
@@ -404,7 +404,7 @@ function We(r) {
404
404
  const e = n(r), i = r, t = r, o = r, s = r, a = r;
405
405
  if (e) {
406
406
  if (e.orderOptions?.series === void 0 && i.sortOptions?.sortSeriesBy !== void 0 && (e.orderOptions ??= {}, e.orderOptions.series = {
407
- preferLabel: ke(
407
+ preferLabel: Pe(
408
408
  t.sortLabelsBy ?? i.sortOptions.sortSeriesBy.sortType
409
409
  ),
410
410
  orderBy: i.sortOptions.sortSeriesBy.sortOrder ?? v.Ascending
@@ -420,7 +420,7 @@ function We(r) {
420
420
  });
421
421
  }
422
422
  } else {
423
- const y = P(e);
423
+ const y = k(e);
424
424
  y !== void 0 && (e.orderOptions ??= {}, e.orderOptions.data = y);
425
425
  }
426
426
  "sortLabelsBy" in e && delete e.sortLabelsBy, "sortOptions" in e && delete e.sortOptions;
@@ -430,19 +430,19 @@ function We(r) {
430
430
  function qe(r) {
431
431
  const e = n(r);
432
432
  if (e) {
433
- const i = T(e.series);
433
+ const i = x(e.series);
434
434
  if ((i === u.BarAndLineFromFields || i === u.PieFromFields) && e.orderOptions?.data === void 0 && e.orderOptions?.orderByFields !== void 0) {
435
- const t = P(e);
435
+ const t = k(e);
436
436
  t !== void 0 && (e.orderOptions ??= {}, e.orderOptions.data = t, delete e.orderOptions.orderByFields);
437
437
  }
438
438
  }
439
439
  return e;
440
440
  }
441
- function Ne(r) {
441
+ function Re(r) {
442
442
  const e = n(r);
443
443
  return e.horizontalAxisLabelsBehavior === L.NONE && (e.horizontalAxisLabelsBehavior = ie.Hide), e.verticalAxisLabelsBehavior === L.NONE && (e.verticalAxisLabelsBehavior = ie.Hide), e;
444
444
  }
445
- function Re(r) {
445
+ function Ee(r) {
446
446
  const e = n(r), i = e.series[0];
447
447
  if (i && !i.temporalBinning && st(e.series[0]) && ("timeIntervalSize" in i || "timeIntervalUnits" in i || "timeAggregationType" in i || "trimIncompleteTimeInterval" in i || "nullPolicy" in i)) {
448
448
  if (i.temporalBinning = {}, i.timeIntervalSize !== void 0 && (i.temporalBinning.size = i.timeIntervalSize, delete i.timeIntervalSize), i.timeIntervalUnits) {
@@ -476,7 +476,7 @@ function Re(r) {
476
476
  }
477
477
  return e;
478
478
  }
479
- function Ee(r) {
479
+ function Ne(r) {
480
480
  const e = n(r);
481
481
  return e.series.forEach((i) => {
482
482
  i.query?.outStatistics?.forEach((t) => {
@@ -506,13 +506,13 @@ function ze(r) {
506
506
  let e = n(r);
507
507
  return e = be(e), e;
508
508
  }
509
- function w(r) {
509
+ function A(r) {
510
510
  let e = n(r);
511
511
  return e = Fe(e), e;
512
512
  }
513
- function A(r) {
513
+ function w(r) {
514
514
  let e = n(r);
515
- return e = Te(e), e;
515
+ return e = xe(e), e;
516
516
  }
517
517
  function D(r) {
518
518
  let e = n(r);
@@ -520,7 +520,7 @@ function D(r) {
520
520
  }
521
521
  function M(r) {
522
522
  let e = n(r);
523
- return e = xe(e), e;
523
+ return e = Te(e), e;
524
524
  }
525
525
  function I(r) {
526
526
  let e = n(r);
@@ -528,20 +528,20 @@ function I(r) {
528
528
  }
529
529
  function W(r) {
530
530
  let e = n(r);
531
- return e = Pe(e), e;
531
+ return e = ke(e), e;
532
532
  }
533
533
  function q(r) {
534
- let e = n(r);
535
- return e = we(e), e;
536
- }
537
- function N(r) {
538
534
  let e = n(r);
539
535
  return e = Ae(e), e;
540
536
  }
541
537
  function R(r) {
542
- return Me(r);
538
+ let e = n(r);
539
+ return e = we(e), e;
543
540
  }
544
541
  function E(r) {
542
+ return Me(r);
543
+ }
544
+ function N(r) {
545
545
  let e = n(r);
546
546
  return ne(e) && (e = De(e)), e;
547
547
  }
@@ -558,45 +558,45 @@ function z(r) {
558
558
  return qe(r);
559
559
  }
560
560
  function j(r) {
561
- return Ne(r);
561
+ return Re(r);
562
562
  }
563
563
  function H(r) {
564
- return Re(r);
564
+ return Ee(r);
565
565
  }
566
566
  function $(r) {
567
- return Ee(r);
567
+ return Ne(r);
568
568
  }
569
- function Y(r) {
569
+ function Q(r) {
570
570
  let e = n(r);
571
571
  return e = U(e), Ve(e);
572
572
  }
573
- function Q(r) {
573
+ function Y(r) {
574
574
  let e = n(r);
575
575
  return e = Ge(e), e;
576
576
  }
577
- function K(r) {
577
+ function X(r) {
578
578
  let e = n(r);
579
579
  return e = _e(e), e;
580
580
  }
581
- function X(r) {
581
+ function K(r) {
582
582
  let e = n(r);
583
583
  return e = Bt(e), e;
584
584
  }
585
- function J(r) {
585
+ function Z(r) {
586
586
  let e = n(r);
587
587
  return h(e.series) === c.BarSeries && (e = Ce(e)), e;
588
588
  }
589
589
  function je(r) {
590
590
  const { versionsToConvert: e, configToUpdate: i } = r;
591
591
  let t = n(i);
592
- return e.length > 0 && t !== void 0 && (t = Ie(t), e.includes(se) || e.includes(Xe) ? (t = ze(t), t = w(t), t = A(t), t = D(t), t = M(t), t = I(t), t = W(t), t = q(t), t = N(t), t = R(t), t = E(t), t = V(t), t = G(t), t = _(t), t = z(t), t = j(t), t = H(t), t = $(t), t = Y(t), t = Q(t), t = K(t), t = X(t), t = J(t)) : e.forEach((o) => {
592
+ return e.length > 0 && t !== void 0 && (t = Ie(t), e.includes(se) || e.includes(Ke) ? (t = ze(t), t = A(t), t = w(t), t = D(t), t = M(t), t = I(t), t = W(t), t = q(t), t = R(t), t = E(t), t = N(t), t = V(t), t = G(t), t = _(t), t = z(t), t = j(t), t = H(t), t = $(t), t = Q(t), t = Y(t), t = X(t), t = K(t), t = Z(t)) : e.forEach((o) => {
593
593
  if (t !== void 0)
594
594
  switch (o) {
595
595
  case "1.0.1":
596
- t = w(t);
596
+ t = A(t);
597
597
  break;
598
598
  case "3.4.0":
599
- t = A(t);
599
+ t = w(t);
600
600
  break;
601
601
  case "4.0.0":
602
602
  t = D(t);
@@ -614,13 +614,13 @@ function je(r) {
614
614
  t = q(t);
615
615
  break;
616
616
  case "9.2.0":
617
- t = N(t);
617
+ t = R(t);
618
618
  break;
619
619
  case "9.7.0":
620
- t = R(t);
620
+ t = E(t);
621
621
  break;
622
622
  case "10.0.0":
623
- t = E(t);
623
+ t = N(t);
624
624
  break;
625
625
  case "11.0.0":
626
626
  t = V(t);
@@ -644,19 +644,19 @@ function je(r) {
644
644
  t = $(t);
645
645
  break;
646
646
  case "23.2.0":
647
- t = Y(t);
647
+ t = Q(t);
648
648
  break;
649
649
  case "24.7.0":
650
- t = Q(t);
650
+ t = Y(t);
651
651
  break;
652
652
  case "24.8.0":
653
- t = K(t);
653
+ t = X(t);
654
654
  break;
655
655
  case "25.0.0":
656
- t = X(t);
656
+ t = K(t);
657
657
  break;
658
658
  case "25.1.0":
659
- t = J(t);
659
+ t = Z(t);
660
660
  break;
661
661
  }
662
662
  }), t.version = nt), t;
@@ -664,9 +664,9 @@ function je(r) {
664
664
  async function Dt(r, e, i, t) {
665
665
  let o = r;
666
666
  if (r) {
667
- const s = Qe(e);
667
+ const s = Ye(e);
668
668
  await s?.load({ signal: t }), o = await he({ configToUpdate: r, layer: s, chartContainer: i, abortSignal: t });
669
- const a = r.version ?? se, { versionStatus: f, versions: y } = Ke(a);
669
+ const a = r.version ?? se, { versionStatus: f, versions: y } = Xe(a);
670
670
  (f === re.Older || f === re.Unrecognized) && (o = je({
671
671
  versionsToConvert: y,
672
672
  configToUpdate: o
@@ -679,45 +679,45 @@ const Mt = {
679
679
  adjustSeries: ue,
680
680
  matchChartFieldsToLayerFields: fe,
681
681
  resetLegendMaxHeight: ge,
682
- moveSeriesQueryExtent: Te,
682
+ moveSeriesQueryExtent: xe,
683
683
  moveSeriesRotatedPropToChart: U,
684
- renameDataSourceProperties: xe,
684
+ renameDataSourceProperties: Te,
685
685
  copyDataSourceFilterToConfig: Oe,
686
686
  adjustPieFromFieldsDefaultNameAndValue: be,
687
687
  removeSpacingPropertyFromGauge: Fe,
688
688
  moveBoxPlotSeriesPropsToChart: pe,
689
- movePieSeriesSortLabelsPropToChart: Pe,
689
+ movePieSeriesSortLabelsPropToChart: ke,
690
690
  getProBoxPlotSortDataOption: ye,
691
691
  isBoxPlotConfigWithMeanLinesFromPro: me,
692
692
  preventDuplicatedIds: Be,
693
693
  adjustBoxPlotConfig: Se,
694
- convertSortSeriesByToObject: we,
694
+ convertSortSeriesByToObject: Ae,
695
695
  moveBoxPlotSortDataByProp: De,
696
- handleColorMatchChanges: Ae,
696
+ handleColorMatchChanges: we,
697
697
  moveScrollbarVisible: Me,
698
698
  moveSeriesStackedTypePropToChart: Le,
699
699
  convertBoxplotOldToNewDataSortType: ee,
700
- getDataOrderFromOrderByFields: P,
701
- convertWebChartDataValueTypes: ke,
700
+ getDataOrderFromOrderByFields: k,
701
+ convertWebChartDataValueTypes: Pe,
702
702
  moveOrConvertSeriesOrderByFieldsToChartOrderOptions: Ie,
703
- convertWebChartLabelBehaviorNoneToHide: Ne,
703
+ convertWebChartLabelBehaviorNoneToHide: Re,
704
704
  handleOrderOptionsChanges: We,
705
705
  applyDataOrderInstructionForFromFieldsCharts: qe,
706
- convertTemporalBinningProps: Re,
707
- convertRESTStatisticTypeToWebChartStatisticType: Ee,
706
+ convertTemporalBinningProps: Ee,
707
+ convertRESTStatisticTypeToWebChartStatisticType: Ne,
708
708
  renameChartSubtitle: Ve,
709
709
  applyMandatoryConversions: he,
710
710
  convertTo1x0x1: ze,
711
- convertTo2x0x0: w,
712
- convertTo3x5x0: A,
711
+ convertTo2x0x0: A,
712
+ convertTo3x5x0: w,
713
713
  convertTo4x0x1: D,
714
714
  convertTo5x0x0: M,
715
715
  convertTo7x0x0: I,
716
716
  convertTo7x6x0: W,
717
717
  convertTo8x0x1: q,
718
- convertTo9x3x0: N,
719
- convertTo10x0x0: R,
720
- convertTo11x0x0: E,
718
+ convertTo9x3x0: R,
719
+ convertTo10x0x0: E,
720
+ convertTo11x0x0: N,
721
721
  convertTo12x0x0: V,
722
722
  convertTo15x0x0: G,
723
723
  convertTo16x1x0: _,
@@ -725,11 +725,11 @@ const Mt = {
725
725
  convertTo19x0x0: j,
726
726
  convertTo20x2x0: H,
727
727
  convertTo21x1x0: $,
728
- convertTo23x3x0: Y,
729
- convertTo24x8x0: Q,
730
- convertTo25x0x0: K,
731
- convertTo25x1x0: X,
732
- convertTo25x2x0: J,
728
+ convertTo23x3x0: Q,
729
+ convertTo24x8x0: Y,
730
+ convertTo25x0x0: X,
731
+ convertTo25x1x0: K,
732
+ convertTo25x2x0: Z,
733
733
  convertTemporalBinningProps2: Ge,
734
734
  transformPropsInHeatChart: _e,
735
735
  applyConversions: je,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcgis/charts-components",
3
- "version": "5.2.0-next.132",
3
+ "version": "5.2.0-next.135",
4
4
  "description": "Reusable ArcGIS charting Web Components.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -30,8 +30,8 @@
30
30
  "dependencies": {
31
31
  "@amcharts/amcharts4": "^4.10.31",
32
32
  "@amcharts/amcharts5": "~5.20.8",
33
- "@arcgis/lumina": "5.2.0-next.132",
34
- "@arcgis/toolkit": "5.2.0-next.132",
33
+ "@arcgis/lumina": "5.2.0-next.135",
34
+ "@arcgis/toolkit": "5.2.0-next.135",
35
35
  "@esri/arcgis-html-sanitizer": "~4.2.0-next.2",
36
36
  "@lit/task": "^1.0.3",
37
37
  "@zumer/snapdom": "^2.24.1",
@@ -45,7 +45,7 @@
45
45
  "tslib": "^2.8.1"
46
46
  },
47
47
  "peerDependencies": {
48
- "@arcgis/core": "5.2.0-next.132",
48
+ "@arcgis/core": "5.2.0-next.135",
49
49
  "@esri/calcite-components": "^5.2.0-next.80"
50
50
  },
51
51
  "css.customData": [