@arcgis/charts-components 5.2.0-next.51 → 5.2.0-next.52

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 (128) hide show
  1. package/README.md +2 -2
  2. package/dist/cdn/{XMV5A2VE.js → 223CX3CX.js} +1 -1
  3. package/dist/cdn/{AALLRICA.js → 23WDH4FI.js} +1 -1
  4. package/dist/cdn/{XUL3AOTB.js → 2BGSZGPZ.js} +1 -1
  5. package/dist/cdn/{TNNXIIY2.js → 2Y5PUPWR.js} +1 -1
  6. package/dist/cdn/{MIJTHCPZ.js → 32LKPPGL.js} +1 -1
  7. package/dist/cdn/35R7YJXM.js +3 -0
  8. package/dist/cdn/{G33PG425.js → 3OOV2HEE.js} +1 -1
  9. package/dist/cdn/{G6XSNG2U.js → 3UBK3J76.js} +1 -1
  10. package/dist/cdn/{HGG2Y5XW.js → 3WDEAWZX.js} +1 -1
  11. package/dist/cdn/{TWULSSGK.js → 43DN7ID6.js} +1 -1
  12. package/dist/cdn/{3GAUDUOD.js → 4HW6IYHV.js} +1 -1
  13. package/dist/cdn/{67P25QZA.js → 4N76NKSQ.js} +1 -1
  14. package/dist/cdn/{VX6SWJJ6.js → 4NKFXLHB.js} +1 -1
  15. package/dist/cdn/{UDDRI2Q2.js → 4S3UBB4K.js} +1 -1
  16. package/dist/cdn/{OWLVHHFH.js → 4UJL6VJ3.js} +1 -1
  17. package/dist/cdn/{DT5VZTKL.js → 4WTYDOTA.js} +1 -1
  18. package/dist/cdn/{IB6KNSJY.js → 54B66D3D.js} +1 -1
  19. package/dist/cdn/{CK2HC7UZ.js → 5IJ4LXXV.js} +1 -1
  20. package/dist/cdn/{5BPQQOWS.js → 5LFGIBZK.js} +1 -1
  21. package/dist/cdn/{5CIY3LRQ.js → 6EGZEBLQ.js} +1 -1
  22. package/dist/cdn/{B6BI3FPN.js → 7RRVJPTW.js} +1 -1
  23. package/dist/cdn/{T5QBJ7O3.js → AV73HH5X.js} +1 -1
  24. package/dist/cdn/{APATJCOK.js → BSQZDV2P.js} +1 -1
  25. package/dist/cdn/{VN3NJCXR.js → BUOEEUYK.js} +1 -1
  26. package/dist/cdn/{HUGYHQXM.js → CA5SZB65.js} +1 -1
  27. package/dist/cdn/{CUPAZHZI.js → CI7R2F5C.js} +1 -1
  28. package/dist/cdn/{MMGZV3SQ.js → CQRB56BW.js} +1 -1
  29. package/dist/cdn/{LGTEA66L.js → D22JQ6IQ.js} +1 -1
  30. package/dist/cdn/{K5FLBEYI.js → D3UCTZGE.js} +1 -1
  31. package/dist/cdn/{E7YVOSTR.js → D6WL3G34.js} +1 -1
  32. package/dist/cdn/{VMJSBE4T.js → EKBZUXYB.js} +1 -1
  33. package/dist/cdn/{6RPBMFL2.js → EXCIMJOH.js} +1 -1
  34. package/dist/cdn/{UBG7XLVS.js → EZNGHLSR.js} +1 -1
  35. package/dist/cdn/FDXN5BIJ.js +2 -0
  36. package/dist/cdn/{4PUEIE4S.js → FQOTLW2I.js} +23 -23
  37. package/dist/cdn/{HQHYGZW7.js → FZUKEGI7.js} +1 -1
  38. package/dist/cdn/{AJ4RZPOJ.js → H6B2SK7Y.js} +1 -1
  39. package/dist/cdn/HAWXFGUX.js +2 -0
  40. package/dist/cdn/{NMITBWC4.js → HFPPW74G.js} +1 -1
  41. package/dist/cdn/{DEJ5AMUG.js → HQ4XATLY.js} +1 -1
  42. package/dist/cdn/{RFXODD7V.js → HZDQYG6D.js} +1 -1
  43. package/dist/cdn/{A67PKDYM.js → IIRJV7HP.js} +1 -1
  44. package/dist/cdn/{2UMW7TY6.js → IL4TO3HW.js} +1 -1
  45. package/dist/cdn/{AM27TYIA.js → IZMUEFG7.js} +1 -1
  46. package/dist/cdn/{VZNG7PQX.js → J7XMDEFX.js} +1 -1
  47. package/dist/cdn/{OAFJADKA.js → JI3UI5FQ.js} +1 -1
  48. package/dist/cdn/{RREO2RVL.js → JKHGXCTI.js} +1 -1
  49. package/dist/cdn/{ISY2BKFT.js → JMV4L7WL.js} +1 -1
  50. package/dist/cdn/{VQJKVJS7.js → JOXPPBNA.js} +1 -1
  51. package/dist/cdn/{PDPZBGTU.js → JT5VM5N6.js} +1 -1
  52. package/dist/cdn/{UBZEWFXF.js → KB5UMMBY.js} +1 -1
  53. package/dist/cdn/{W2QTMTLL.js → KMJ2IQP7.js} +1 -1
  54. package/dist/cdn/{INECCYD7.js → KNN4G3JB.js} +1 -1
  55. package/dist/cdn/{CRUHZMGY.js → KNP746RO.js} +1 -1
  56. package/dist/cdn/{PV2PO4IS.js → KVDM5PYB.js} +1 -1
  57. package/dist/cdn/{R53ISOLY.js → LDMINI6S.js} +1 -1
  58. package/dist/cdn/{TXQMUOMN.js → LF3I5SMX.js} +1 -1
  59. package/dist/cdn/{JDAJB45A.js → LMN4NECB.js} +1 -1
  60. package/dist/cdn/{356JWED3.js → LX7TCW6T.js} +1 -1
  61. package/dist/cdn/{LQMU7V5C.js → LYGQJLFB.js} +1 -1
  62. package/dist/cdn/NKPBSSL7.js +2 -0
  63. package/dist/cdn/O3N5YFJC.js +2 -0
  64. package/dist/cdn/{BYU72SMZ.js → OK4I2WDK.js} +1 -1
  65. package/dist/cdn/{J6YHKP6I.js → OQ56CBAK.js} +1 -1
  66. package/dist/cdn/{DGU55EVX.js → ORKE6J33.js} +1 -1
  67. package/dist/cdn/{YEGRLOUM.js → OYWI5PAE.js} +1 -1
  68. package/dist/cdn/{TJZPVPM6.js → OZ5I3KXC.js} +1 -1
  69. package/dist/cdn/{CO2YXCVJ.js → PHA5DJUL.js} +1 -1
  70. package/dist/cdn/{MCTBEBKM.js → PZZLUH6L.js} +1 -1
  71. package/dist/cdn/{DWWFJ4K4.js → QM25LJL6.js} +1 -1
  72. package/dist/cdn/{6AICTTLD.js → R3RNZJIN.js} +1 -1
  73. package/dist/cdn/{TIRQ7FKE.js → RZRAOK3W.js} +1 -1
  74. package/dist/cdn/{RXFVSKL4.js → STE7V4ZZ.js} +1 -1
  75. package/dist/cdn/{6HU62XEQ.js → SX4X3IVG.js} +1 -1
  76. package/dist/cdn/{7M3DALPY.js → U274OJKG.js} +1 -1
  77. package/dist/cdn/{4C3N36J3.js → UFB3GU6S.js} +1 -1
  78. package/dist/cdn/{BBMN3YU4.js → UVHDF33O.js} +1 -1
  79. package/dist/cdn/{5IOIRPSB.js → VIO5ZC5I.js} +1 -1
  80. package/dist/cdn/{PFR6MB2U.js → VPREA6CX.js} +1 -1
  81. package/dist/cdn/{7FSMC2TG.js → W65LLW5X.js} +1 -1
  82. package/dist/cdn/{EKHD7EQL.js → W6FPVGPJ.js} +1 -1
  83. package/dist/cdn/{TIIFRE76.js → WLMD3CUK.js} +1 -1
  84. package/dist/cdn/{GT6KWFXM.js → WSHLYTT6.js} +1 -1
  85. package/dist/cdn/{PTS74ZAY.js → WV7XTPHK.js} +1 -1
  86. package/dist/cdn/{ZUIZRQUG.js → YUZVGY4R.js} +1 -1
  87. package/dist/cdn/{Y6KFUUWA.js → ZO4IZDFT.js} +1 -1
  88. package/dist/cdn/{5XW2VK3A.js → ZRVB73KX.js} +1 -1
  89. package/dist/cdn/{KITNG4RO.js → ZZOKDSTD.js} +1 -1
  90. package/dist/cdn/index.js +1 -1
  91. package/dist/cdn/model/shared/setup-utils.js +1 -1
  92. package/dist/chunks/bar-chart-model.js +3 -3
  93. package/dist/chunks/box-plot-model.js +1 -1
  94. package/dist/chunks/index.js +96 -95
  95. package/dist/chunks/index2.js +1510 -1487
  96. package/dist/chunks/index3.js +1 -1
  97. package/dist/chunks/index4.js +1 -1
  98. package/dist/chunks/line-chart-model.js +1 -1
  99. package/dist/chunks/pie-chart-model.js +1 -1
  100. package/dist/chunks/radar-chart-model.js +397 -46
  101. package/dist/chunks/serial-chart-data.js +45 -45
  102. package/dist/chunks/utils.js +13 -11
  103. package/dist/chunks/web-component-utils.js +1 -1
  104. package/dist/components/arcgis-chart/customElement.js +2621 -2610
  105. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +1 -1
  106. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +1 -1
  107. package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +1 -1
  108. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +1 -1
  109. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -1
  110. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +1 -1
  111. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +5 -5
  112. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +1 -1
  113. package/dist/components/arcgis-charts-info-modal/customElement.js +1 -1
  114. package/dist/docs/api.json +1 -1
  115. package/dist/docs/docs.json +1 -1
  116. package/dist/docs/web-types.json +1 -1
  117. package/dist/index.js +395 -394
  118. package/dist/model/radar-chart-model/radar-chart-model.d.ts +190 -0
  119. package/dist/utils/chart-config/converter/index.js +18 -18
  120. package/dist/utils/data/categorical-data/index.d.ts +2 -2
  121. package/dist/utils/defaults/index.d.ts +3 -0
  122. package/dist/utils/layer/query-features/index.d.ts +1 -0
  123. package/package.json +3 -3
  124. package/dist/cdn/53HYBRJO.js +0 -2
  125. package/dist/cdn/NEOAI7Q7.js +0 -3
  126. package/dist/cdn/NPRV25FK.js +0 -2
  127. package/dist/cdn/XKOKJQQD.js +0 -2
  128. package/dist/cdn/YEK7BIRE.js +0 -2
@@ -3,12 +3,12 @@ import { substitute as M } from "@arcgis/core/intl.js";
3
3
  import { cloneDeep as ee, isEmpty as Xe, memoize as Ue } from "lodash-es";
4
4
  import { S as oe } from "./common.js";
5
5
  import { s as k, u as E, a as Ve, g as pe, b as Le, c as je, d as Ke, e as fe } from "./utils.js";
6
- import { w as D, i as Ze, cU as Y, b_ as _e, bm as Qe, x as ze, Y as te, cs as Ge, cr as Je, p as et, aH as ge, c4 as tt, d as it, aG as st, I as at, a7 as rt, bk as nt, W as lt, e as ot, bo as ut, c$ as ct, v as dt, d6 as Se, bN as yt, d7 as mt, bJ as pt, B as gt, N as Fe, bq as Q, d3 as ft, bb as W, bu as z, an as K, a6 as Ne, b9 as St, k as ue, bh as he } from "./index2.js";
7
- import { a as X, s as De, g as ie, b as xe, c as Ft } from "./data.js";
8
- import { u as C, r as V, k as ht, d as R, n as O, m as $, p as xt, t as Tt, s as ce } from "./chart-object-literals.js";
6
+ import { w as D, i as Ze, cU as Y, b_ as _e, bm as Qe, x as ze, Y as te, cs as Ge, cr as Je, p as et, aH as ge, c4 as tt, d as it, aG as st, I as at, a7 as rt, bk as nt, W as lt, e as ot, bo as ut, c$ as ct, v as dt, d6 as Se, bN as yt, d7 as mt, bJ as pt, B as gt, N as Fe, bq as Q, d3 as ft, bb as W, bu as z, an as K, a6 as Ne, b9 as St, k as ue, bh as xe } from "./index2.js";
7
+ import { a as X, s as De, g as ie, b as he, c as Ft } from "./data.js";
8
+ import { u as C, r as V, k as xt, d as R, n as O, m as $, p as ht, t as Tt, s as ce } from "./chart-object-literals.js";
9
9
  import { R as Oe, i as Bt } from "./rest-js-object-literals.js";
10
10
  import { i as se } from "./index4.js";
11
- import { aA as Ct, I as G, D as de, u as bt, Z as At, aa as vt, am as It, y as Vt, a0 as Lt } from "./index.js";
11
+ import { aB as Ct, I as G, D as de, u as bt, Z as At, aa as vt, am as It, y as Vt, a0 as Lt } from "./index.js";
12
12
  import { C as w, F as H, d as P } from "./index3.js";
13
13
  import { h as ke, i as q, j as Nt, n as Dt, g as A, m as v, e as Te } from "./index5.js";
14
14
  import { convertChartSpec as Ot } from "../utils/chart-config/converter/index.js";
@@ -162,7 +162,7 @@ async function Zt(t) {
162
162
  y.flatMap((S) => {
163
163
  const { stackedAttributes: I } = S;
164
164
  let B = [];
165
- return I && (B = I.map((h) => h[a]).filter((h) => h !== void 0)), B;
165
+ return I && (B = I.map((x) => x[a]).filter((x) => x !== void 0)), B;
166
166
  })
167
167
  ).values()
168
168
  );
@@ -281,8 +281,8 @@ async function Gt(t) {
281
281
  configUniqueValuesPerSeriesType: I,
282
282
  initialConfigWasEmpty: m
283
283
  });
284
- Array.from(B.keys()).forEach((h) => {
285
- (B.get(h) ?? []).forEach((N) => {
284
+ Array.from(B.keys()).forEach((x) => {
285
+ (B.get(x) ?? []).forEach((N) => {
286
286
  i.series.push(
287
287
  zt({
288
288
  chartConfig: i,
@@ -436,7 +436,7 @@ const Ui = (t) => t.hideEmptyRowsAndColumns, ji = (t, e) => {
436
436
  }, ss = (t) => t.series[0].gridLine?.color, as = (t, e) => {
437
437
  const i = e.legend;
438
438
  i && (i.position = t);
439
- }, rs = (t) => t.legend?.position ?? ht.Bottom, ns = (t) => t.series[0].query?.outStatistics?.[0]?.onStatisticField, ls = (t) => {
439
+ }, rs = (t) => t.legend?.position ?? xt.Bottom, ns = (t) => t.series[0].query?.outStatistics?.[0]?.onStatisticField, ls = (t) => {
440
440
  const { field: e, config: i, layerInfo: a, commonStrings: r } = t, s = i.series[0].query?.outStatistics?.[0], n = le(i, a, r);
441
441
  s ? (s.onStatisticField = e, s.outStatisticFieldName = `${s.statisticType}_${e}`) : i.series[0].query = {
442
442
  outStatistics: [
@@ -461,10 +461,10 @@ const Ui = (t) => t.hideEmptyRowsAndColumns, ji = (t, e) => {
461
461
  }, Ss = (t) => t.series[0].emptyCells?.symbol, Fs = (t, e) => {
462
462
  e.series[0].emptyCells ? e.series[0].emptyCells.symbol = t : e.series[0].emptyCells = { symbol: t };
463
463
  };
464
- function hs(t) {
464
+ function xs(t) {
465
465
  return t.viewType;
466
466
  }
467
- function xs(t, e) {
467
+ function hs(t, e) {
468
468
  ft(e) || (e.viewType = t);
469
469
  }
470
470
  function Ts(t) {
@@ -559,7 +559,7 @@ const ni = [
559
559
  };
560
560
  }, Ie = (t) => {
561
561
  const { axisIndex: e, binning: i, commonStrings: a, config: r, fieldName: s, layerInfo: n } = t, l = r.series[0], c = ae(e, r), d = P(n.layerFieldsInfo, s);
562
- e === 0 ? l.xTemporalBinning = i : e === 1 && (l.yTemporalBinning = i), i !== void 0 && (c === "" || c === d || c === Ae(a, i.unit)) && E(r, e, Ae(a, i.unit));
562
+ e === 0 ? l.xTemporalBinning = i : e === 1 && (l.yTemporalBinning = i), i !== void 0 && (c === "" || c === d || c === Ae(a, i.unit) || c === a.xAxis) && E(r, e, Ae(a, i.unit));
563
563
  }, J = (t) => {
564
564
  const { axisIndex: e, commonStrings: i, config: a } = t, r = li(a, e), s = r ? oi(r) : void 0;
565
565
  Ve({ config: a, commonStrings: i, valueFormat: s, axisIndex: e });
@@ -741,11 +741,11 @@ function ui(t) {
741
741
  let s = !1;
742
742
  i === V.Count ? s = !0 : i === V.NoAggregation && (s = e.every((c) => {
743
743
  const d = r.layerFieldsInfo.find((p) => p.name === c);
744
- return d !== void 0 ? he(d) : !1;
744
+ return d !== void 0 ? xe(d) : !1;
745
745
  })), fe(a, 1, s);
746
746
  const n = a.series.some((c) => A(c)), l = a.series.some((c) => v(c));
747
747
  if (n || l) {
748
- const c = X(a), d = r.layerFieldsInfo.find((u) => u.name === c), p = d !== void 0 && he(d);
748
+ const c = X(a), d = r.layerFieldsInfo.find((u) => u.name === c), p = d !== void 0 && xe(d);
749
749
  fe(a, 0, p);
750
750
  }
751
751
  }
@@ -753,9 +753,9 @@ const me = (t) => {
753
753
  let e;
754
754
  if (Y(t)) {
755
755
  const i = t.orderOptions?.data?.orderByX ?? [""], a = t.orderOptions?.data?.orderByY ?? [""], r = t.axes?.[0]?.valueFormat?.type === "category" ? O.Category : O.YValue, s = t.axes?.[1]?.valueFormat?.type === "category" ? O.Category : O.YValue;
756
- e = [xe(i, r), xe(a, s)];
756
+ e = [he(i, r), he(a, s)];
757
757
  } else {
758
- const i = t.orderOptions?.data?.orderType ?? O.Category, a = t.orderOptions?.data && "orderBy" in t.orderOptions.data ? t.orderOptions.data.orderBy : xt.Ascending;
758
+ const i = t.orderOptions?.data?.orderType ?? O.Category, a = t.orderOptions?.data && "orderBy" in t.orderOptions.data ? t.orderOptions.data.orderBy : ht.Ascending;
759
759
  e = [Ft(a, i)];
760
760
  }
761
761
  return e;
@@ -805,7 +805,7 @@ function We(t) {
805
805
  layerInfo: s,
806
806
  seriesIndex: o,
807
807
  commonStrings: n
808
- }), T = r.series[o]?.y, b = typeof T == "string" && T.trim() !== "" && !l.find((h) => h.name === T) ? T : ie({
808
+ }), T = r.series[o]?.y, b = typeof T == "string" && T.trim() !== "" && !l.find((x) => x.name === T) ? T : ie({
809
809
  config: r,
810
810
  xAxisField: e,
811
811
  numericFields: i,
@@ -835,11 +835,11 @@ function We(t) {
835
835
  }
836
836
  ]) : delete S.query.outStatistics), S.y = I;
837
837
  const B = r.series.find(
838
- (h) => h.query?.outStatistics?.[0]?.onStatisticField === F && h.query.where === void 0 || h.query?.outStatistics === void 0 && (h.y === F || h.x === F)
838
+ (x) => x.query?.outStatistics?.[0]?.onStatisticField === F && x.query.where === void 0 || x.query?.outStatistics === void 0 && (x.y === F || x.x === F)
839
839
  );
840
840
  if (B !== void 0 && typeof B.y == "string" && B.y.trim() !== "") {
841
841
  (A(S) && A(B) || v(S) && v(B)) && j(S, B), r.colorMatch || (q(S) && q(B) ? S.fillSymbol = B.fillSymbol : (A(S) && A(B) || v(S) && v(B)) && (S.lineSymbol = B.lineSymbol, S.markerSymbol = B.markerSymbol), p = !0);
842
- const h = U({
842
+ const x = U({
843
843
  config: r,
844
844
  xAxisField: e,
845
845
  aggregationType: a,
@@ -847,7 +847,7 @@ function We(t) {
847
847
  seriesIndex: o,
848
848
  commonStrings: n
849
849
  });
850
- S.id = B.id, B.id !== h.id && B.name !== h.name && (S.id = B.id, S.name = B.name), S.assignToSecondValueAxis = B.assignToSecondValueAxis, S.type === C.HeatSeries && B.type === C.HeatSeries && (S.y = B.y, S.heatRulesType = B.heatRulesType);
850
+ S.id = B.id, B.id !== x.id && B.name !== x.name && (S.id = B.id, S.name = B.name), S.assignToSecondValueAxis = B.assignToSecondValueAxis, S.type === C.HeatSeries && B.type === C.HeatSeries && (S.y = B.y, S.heatRulesType = B.heatRulesType);
851
851
  }
852
852
  d.push(S);
853
853
  }
@@ -951,7 +951,7 @@ function di(t) {
951
951
  queryObject: n.layer,
952
952
  fieldName: e,
953
953
  fieldValue: T ?? ""
954
- }), I = `${T}`, h = {
954
+ }), I = `${T}`, x = {
955
955
  ...F,
956
956
  id: I,
957
957
  name: S ?? I,
@@ -971,7 +971,7 @@ function di(t) {
971
971
  }, L = s.series.find(
972
972
  (N) => String(we(N)).trim().replace(/'/gu, "") === I
973
973
  );
974
- L !== void 0 && ((A(h) && A(L) || v(h) && v(L)) && j(h, L), s.colorMatch || (q(h) && q(L) ? h.fillSymbol = L.fillSymbol : (A(h) && A(L) || v(h) && v(L)) && (h.lineSymbol = L.lineSymbol, h.markerSymbol = L.markerSymbol), o = !0), h.id = L.id, h.name = L.name, h.assignToSecondValueAxis = L.assignToSecondValueAxis), h.query && (h.query.fetchNullValues = s.series.some((N) => N.query?.fetchNullValues)), g.push(h);
974
+ L !== void 0 && ((A(x) && A(L) || v(x) && v(L)) && j(x, L), s.colorMatch || (q(x) && q(L) ? x.fillSymbol = L.fillSymbol : (A(x) && A(L) || v(x) && v(L)) && (x.lineSymbol = L.lineSymbol, x.markerSymbol = L.markerSymbol), o = !0), x.id = L.id, x.name = L.name, x.assignToSecondValueAxis = L.assignToSecondValueAxis), x.query && (x.query.fetchNullValues = s.series.some((N) => N.query?.fetchNullValues)), g.push(x);
975
975
  }
976
976
  return s.colorMatch = !o, g;
977
977
  }
@@ -985,15 +985,15 @@ const Os = (t) => {
985
985
  layerInfo: n,
986
986
  commonStrings: l,
987
987
  splitByFieldInfos: c
988
- } = t, { layerFieldsInfo: d } = n ?? {}, p = ee(s), u = Pt(s), y = X(p), m = d.find((x) => x.name === y), g = p.series[0].query?.fetchNullValues, o = "nullCategory" in p.series?.[0] ? p.series[0].nullCategory : void 0, f = p.series[0]?.query === void 0, T = d.find((x) => x.name === e), b = le(p, n, l), F = Ye(p, n, l), S = yi(p, n);
988
+ } = t, { layerFieldsInfo: d } = n ?? {}, p = ee(s), u = Pt(s), y = X(p), m = d.find((h) => h.name === y), g = p.series[0].query?.fetchNullValues, o = "nullCategory" in p.series?.[0] ? p.series[0].nullCategory : void 0, f = p.series[0]?.query === void 0, T = d.find((h) => h.name === e), b = le(p, n, l), F = Ye(p, n, l), S = yi(p, n);
989
989
  let I = Le(s);
990
- const B = p.series.some((x) => q(x)), h = Nt(p.series), L = Dt(p.series), N = {};
990
+ const B = p.series.some((h) => q(h)), x = Nt(p.series), L = Dt(p.series), N = {};
991
991
  Y(p) && (N.classBreaksRules = p.series[0]?.classBreaksRules, N.xTemporalBinning = p.series[0]?.xTemporalBinning, N.yTemporalBinning = p.series[0]?.yTemporalBinning, N.emptyCells = p.series[0]?.emptyCells, N.nullPolicy = p.nullPolicy);
992
992
  let _ = !1;
993
993
  if (Q(T) ? I = de() : !z(m) && z(T) ? (I = G(), _ = !0) : !W(m) && W(T) ? (I = G(), _ = !0) : W(m) && !W(T) && (B ? I = de() : I = Lt(), _ = !0), I !== void 0 && Ke(s, l, I), u === 0 && (s.series = [
994
994
  U({ config: s, xAxisField: e, aggregationType: r, layerInfo: n, commonStrings: l })
995
- ]), s.series.forEach((x) => {
996
- x.x = e, x.query !== void 0 && (x.query.groupByFieldsForStatistics = [e]);
995
+ ]), s.series.forEach((h) => {
996
+ h.x = e, h.query !== void 0 && (h.query.groupByFieldsForStatistics = [e]);
997
997
  }), i === "" || a.length > 1 ? De({
998
998
  fieldName: e,
999
999
  numericFields: a,
@@ -1022,34 +1022,34 @@ const Os = (t) => {
1022
1022
  commonStrings: l,
1023
1023
  splitByFieldInfos: c
1024
1024
  })), S && s.series[0].type !== C.HeatSeries) {
1025
- const x = P(d, e);
1026
- E(s, 0, x);
1025
+ const h = P(d, e);
1026
+ E(s, 0, h);
1027
1027
  }
1028
1028
  if (F && s.series[0].type !== C.HeatSeries) {
1029
- const x = pe({
1029
+ const h = pe({
1030
1030
  config: s,
1031
1031
  layerInfo: n,
1032
1032
  commonStrings: l,
1033
1033
  numericFields: a,
1034
1034
  aggregationType: r
1035
1035
  });
1036
- E(s, 1, x);
1036
+ E(s, 1, h);
1037
1037
  }
1038
- if (b && s.title && (s.title.content.text = Z(s, n, l)), k({ config: s, value: null, axisIndex: 1, isMax: !1 }), k({ config: s, value: null, axisIndex: 1, isMax: !0 }), ui({ numericFields: a, aggregationType: r, config: s, layerInfo: n }), (h || L) && (k({ config: s, value: null, axisIndex: 0, isMax: !1 }), k({ config: s, value: null, axisIndex: 0, isMax: !0 }), _ && r !== V.NoAggregation)) {
1039
- const x = I?.type === C.DateAxisFormat ? $.Null : $.Interpolate;
1040
- Wt(x, s);
1038
+ if (b && s.title && (s.title.content.text = Z(s, n, l)), k({ config: s, value: null, axisIndex: 1, isMax: !1 }), k({ config: s, value: null, axisIndex: 1, isMax: !0 }), ui({ numericFields: a, aggregationType: r, config: s, layerInfo: n }), (x || L) && (k({ config: s, value: null, axisIndex: 0, isMax: !1 }), k({ config: s, value: null, axisIndex: 0, isMax: !0 }), _ && r !== V.NoAggregation)) {
1039
+ const h = I?.type === C.DateAxisFormat ? $.Null : $.Interpolate;
1040
+ Wt(h, s);
1041
1041
  }
1042
- Y(s) && (s.series[0].classBreaksRules = N.classBreaksRules, s.series[0].xTemporalBinning = N.xTemporalBinning, s.series[0].yTemporalBinning = N.yTemporalBinning, s.series[0].emptyCells = N.emptyCells, s.nullPolicy = N.nullPolicy, Pe({ commonStrings: l, config: s, layerInfo: n })), f ? s.series.forEach((x) => {
1043
- delete x.query;
1044
- }) : g && s.series.forEach((x) => {
1045
- x.query && (x.query.fetchNullValues = g);
1046
- }), o && s.series.forEach((x) => {
1047
- (x.type === C.BarSeries || x.type === C.LineSeries || x.type === C.RadarSeries) && (x.nullCategory = o);
1048
- }), s.series.forEach((x) => {
1049
- D(x) && x.binTemporalData === void 0 && T?.type === Oe.TimeOnly && (x.binTemporalData = !1);
1050
- }), s.series.forEach((x) => {
1051
- const $e = p.series.find((He) => He.id === x.id)?.visible;
1052
- x.visible = $e;
1042
+ Y(s) && (s.series[0].classBreaksRules = N.classBreaksRules, s.series[0].xTemporalBinning = N.xTemporalBinning, s.series[0].yTemporalBinning = N.yTemporalBinning, s.series[0].emptyCells = N.emptyCells, s.nullPolicy = N.nullPolicy, Pe({ commonStrings: l, config: s, layerInfo: n })), f ? s.series.forEach((h) => {
1043
+ delete h.query;
1044
+ }) : g && s.series.forEach((h) => {
1045
+ h.query && (h.query.fetchNullValues = g);
1046
+ }), o && s.series.forEach((h) => {
1047
+ (h.type === C.BarSeries || h.type === C.LineSeries || h.type === C.RadarSeries) && (h.nullCategory = o);
1048
+ }), s.series.forEach((h) => {
1049
+ D(h) && h.binTemporalData === void 0 && T?.type === Oe.TimeOnly && (h.binTemporalData = !1);
1050
+ }), s.series.forEach((h) => {
1051
+ const $e = p.series.find((He) => He.id === h.id)?.visible;
1052
+ h.visible = $e;
1053
1053
  });
1054
1054
  }, j = (t, e) => {
1055
1055
  t.markerVisible = e.markerVisible, t.lineSmoothed = e.lineSmoothed, t.showArea = e.showArea, t.areaColor = e.areaColor, t.stackNegativeValuesToBaseline = e.stackNegativeValuesToBaseline, e.lineSymbol && (t.lineSymbol = { ...e.lineSymbol, color: t.lineSymbol?.color }), e.markerSymbol && (t.markerSymbol = {
@@ -1137,8 +1137,8 @@ export {
1137
1137
  Pe as G,
1138
1138
  ti as H,
1139
1139
  zi as I,
1140
- hs as J,
1141
- xs as K,
1140
+ xs as J,
1141
+ hs as K,
1142
1142
  ii as L,
1143
1143
  Gi as M,
1144
1144
  si as N,
@@ -1,6 +1,6 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
2
  import { substitute as b } from "@arcgis/core/intl.js";
3
- import { u as j, F as q, J as w, T as k, D as M, v as W } from "./index.js";
3
+ import { u as j, F as k, J as q, T as w, D as M, v as W } from "./index.js";
4
4
  import { g as $ } from "./series-types.js";
5
5
  import { l as E, d as S, q as U, D as H } from "./index3.js";
6
6
  import { an as I, ag as K, h as O, c2 as L, a6 as h, c1 as V, aH as P } from "./index2.js";
@@ -9,10 +9,10 @@ import { q as R, u as f, r as A, p as G } from "./chart-object-literals.js";
9
9
  import { d as T } from "./type-guards.js";
10
10
  function ae(s, e, i) {
11
11
  const t = s?.axes?.[e];
12
- t?.title !== void 0 ? t.title.content.text = i : t !== void 0 && (t.title = q({
12
+ t?.title !== void 0 ? t.title.content.text = i : t !== void 0 && (t.title = k({
13
13
  text: i,
14
14
  visible: !0,
15
- font: w(k.AxisTitle)
15
+ font: q(w.AxisTitle)
16
16
  }));
17
17
  }
18
18
  function re(s) {
@@ -107,13 +107,15 @@ async function ye(s) {
107
107
  layer: i,
108
108
  category: e?.series[0].x ?? "",
109
109
  splitByField: a
110
- }) : await L({
111
- queryObject: i,
112
- category: e?.series[0].x ?? "",
113
- splitByField: a,
114
- queryConfig: C,
115
- errorStrings: d
116
- }) : [];
110
+ }) : Array.from(
111
+ (await L({
112
+ queryObject: i,
113
+ category: e?.series[0].x ?? "",
114
+ splitByField: a,
115
+ queryConfig: C,
116
+ errorStrings: d
117
+ })).keys()
118
+ ) : [];
117
119
  if (y = y.slice(0, 500), e) {
118
120
  const F = e?.series.map((c) => P({ where: c.query?.where })?.toString() ?? "").filter((c) => c !== void 0 && c !== "");
119
121
  y = H({
@@ -178,7 +180,7 @@ async function Ae(s) {
178
180
  fieldValue: l
179
181
  }) ?? l;
180
182
  }) : n = // fetch unique category values asynchronously
181
- (await L({ queryObject: r, category: t, queryConfig: g, errorStrings: a })).map(
183
+ Array.from((await L({ queryObject: r, category: t, queryConfig: g, errorStrings: a })).keys()).map(
182
184
  (x) => {
183
185
  const l = String(x);
184
186
  return h({
@@ -8,7 +8,7 @@ import { g as ie } from "./series-length.js";
8
8
  import { g as re, d as le, e as ge } from "./serial-chart-data.js";
9
9
  import { g as z, a as pe } from "./data.js";
10
10
  import { Y as U, an as be, af as xe, aK as E, cl as Fe, B as V, a6 as De, bb as Se, d5 as Be } from "./index2.js";
11
- import { k as q, aw as $, g as R, aq as ve, b as he, a as Q } from "./index.js";
11
+ import { k as q, ax as $, g as R, aq as ve, b as he, a as Q } from "./index.js";
12
12
  import { q as K, C as g, F as A } from "./index3.js";
13
13
  import { g as Pe } from "./series-types.js";
14
14
  import { V as Ve } from "./index6.js";