@arcgis/charts-components 5.2.0-next.61 → 5.2.0-next.63

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 (108) hide show
  1. package/dist/cdn/{MU6ZYADT.js → 25YKUXSB.js} +1 -1
  2. package/dist/cdn/{S5GVUYBL.js → 2KKIGZQN.js} +1 -1
  3. package/dist/cdn/{DBAM7MH7.js → 2MAAPBYT.js} +1 -1
  4. package/dist/cdn/{O3VKOV2W.js → 3OPHROOV.js} +1 -1
  5. package/dist/cdn/{LGTXQIF7.js → 54XEAJ7U.js} +1 -1
  6. package/dist/cdn/{TQYJM66E.js → 5LWQLRYG.js} +1 -1
  7. package/dist/cdn/{XV4LD73L.js → 5QYGNJZZ.js} +1 -1
  8. package/dist/cdn/{WTJ2NJ76.js → 5S6KE7ZK.js} +1 -1
  9. package/dist/cdn/{MJTWR33N.js → 5SQUKJMS.js} +1 -1
  10. package/dist/cdn/{I3XBTQKJ.js → 5ULER4YN.js} +1 -1
  11. package/dist/cdn/{VPYL3RVN.js → 5WWQNPXJ.js} +1 -1
  12. package/dist/cdn/{46PXO7ZC.js → 6EO2NURO.js} +3 -3
  13. package/dist/cdn/{PLEC3GNT.js → 6KVXTLIC.js} +1 -1
  14. package/dist/cdn/{X3S4M6JL.js → 6OOWQDFB.js} +1 -1
  15. package/dist/cdn/{SYVPFDIW.js → 6VNIZLPT.js} +1 -1
  16. package/dist/cdn/{T62EETHJ.js → 743FPGT4.js} +1 -1
  17. package/dist/cdn/{M744CFJ2.js → 7QCFIGAG.js} +1 -1
  18. package/dist/cdn/{L7TUV2MY.js → 7YYGELLZ.js} +1 -1
  19. package/dist/cdn/{BLZLMGO6.js → B2NT7BMA.js} +1 -1
  20. package/dist/cdn/{P5QEJOJS.js → B5EBQSZO.js} +1 -1
  21. package/dist/cdn/{MPGHOXLW.js → BASOJPOL.js} +1 -1
  22. package/dist/cdn/{VA6KJZ2Y.js → BDHKWS47.js} +1 -1
  23. package/dist/cdn/{EUOJG5H6.js → BQB66RIJ.js} +1 -1
  24. package/dist/cdn/{2G65P262.js → BUN3G5US.js} +1 -1
  25. package/dist/cdn/{3YCGBAQY.js → C4ECGYJQ.js} +1 -1
  26. package/dist/cdn/COLQXDK7.js +2 -0
  27. package/dist/cdn/{DPTA2AET.js → CR3AO65Y.js} +1 -1
  28. package/dist/cdn/{BKK57XHL.js → DBL7YAA3.js} +1 -1
  29. package/dist/cdn/{EMBMJCFZ.js → EC74URPL.js} +1 -1
  30. package/dist/cdn/{ANHW36VW.js → EMJQHL2T.js} +1 -1
  31. package/dist/cdn/{4ITNOJXC.js → ER3EOKSB.js} +1 -1
  32. package/dist/cdn/{RICA7GJM.js → FQXTBPWM.js} +1 -1
  33. package/dist/cdn/{GARBFC7Q.js → FZJIUJA5.js} +1 -1
  34. package/dist/cdn/{2RYKKN36.js → GEET3CQC.js} +1 -1
  35. package/dist/cdn/{TEWEPSIO.js → GF6SKP3D.js} +1 -1
  36. package/dist/cdn/{JS6A5QAV.js → GPPFULKZ.js} +1 -1
  37. package/dist/cdn/{Q5OFF4FE.js → H574T3WF.js} +20 -20
  38. package/dist/cdn/{AYUYEY5H.js → HKUVYTBA.js} +1 -1
  39. package/dist/cdn/{ONKEO3Z2.js → HLFZHWSK.js} +1 -1
  40. package/dist/cdn/{UM7RIOCE.js → IRG22MBH.js} +1 -1
  41. package/dist/cdn/{6MNV7FJC.js → JCHZJK2Y.js} +1 -1
  42. package/dist/cdn/{SQIKFO32.js → JFGIGXOO.js} +1 -1
  43. package/dist/cdn/{WZOHQJFB.js → JGGBN4YB.js} +1 -1
  44. package/dist/cdn/{HOIPLQXD.js → K2PVH6WC.js} +1 -1
  45. package/dist/cdn/{4COV22K4.js → KNVQY6ET.js} +1 -1
  46. package/dist/cdn/{WFW6BNDT.js → KQVRPDUR.js} +1 -1
  47. package/dist/cdn/{OT7PLFBK.js → KRQLN2QY.js} +1 -1
  48. package/dist/cdn/{VM4XLVMS.js → LVKFQ36J.js} +1 -1
  49. package/dist/cdn/{3AYXOX4U.js → LX7DEKHW.js} +1 -1
  50. package/dist/cdn/{Y5ZH7VS4.js → M5ZGHJP4.js} +1 -1
  51. package/dist/cdn/{ISK4QVLY.js → MDYXKBBD.js} +1 -1
  52. package/dist/cdn/{MI6AKTXQ.js → MIJFC5AH.js} +1 -1
  53. package/dist/cdn/{JUON3AJY.js → ML3E4VVC.js} +1 -1
  54. package/dist/cdn/{OWWQ5SYW.js → NTDDQAKJ.js} +1 -1
  55. package/dist/cdn/{5YP7P6S3.js → NVHBKDPY.js} +1 -1
  56. package/dist/cdn/{NK66D65H.js → PGO2EPCC.js} +1 -1
  57. package/dist/cdn/{SUNHJPBW.js → PJTM63EA.js} +1 -1
  58. package/dist/cdn/{MXE4VPZS.js → PN62LQYN.js} +1 -1
  59. package/dist/cdn/{7DIQIFKR.js → Q3JWIFPJ.js} +1 -1
  60. package/dist/cdn/{JYITKARU.js → QH67KX5R.js} +1 -1
  61. package/dist/cdn/{HUNN3ERX.js → QO6DZX5X.js} +1 -1
  62. package/dist/cdn/{ZWIF7LHW.js → QPY7Y5TQ.js} +1 -1
  63. package/dist/cdn/{INISFVAK.js → R6DTHFYW.js} +1 -1
  64. package/dist/cdn/{KDCZQ6UT.js → RCI3EBQ4.js} +1 -1
  65. package/dist/cdn/{J3CL6KB6.js → RFDSBNKF.js} +1 -1
  66. package/dist/cdn/{TU3LYEK3.js → SR3ZVQU3.js} +1 -1
  67. package/dist/cdn/SUUDJODL.js +2 -0
  68. package/dist/cdn/{JGESKW6S.js → SZKPEUN5.js} +1 -1
  69. package/dist/cdn/{TVG7KD3H.js → TH2NZINL.js} +1 -1
  70. package/dist/cdn/{EOHKNJSJ.js → TNP5SEQB.js} +1 -1
  71. package/dist/cdn/{QZCTLQBM.js → TTP4J64D.js} +1 -1
  72. package/dist/cdn/{H57XAQPI.js → TVORVJGE.js} +1 -1
  73. package/dist/cdn/{5JXEO4VE.js → U2B6RADM.js} +1 -1
  74. package/dist/cdn/{FHBCVW5T.js → VXPINEQQ.js} +1 -1
  75. package/dist/cdn/{KWA7OWHO.js → WGKEYRHI.js} +1 -1
  76. package/dist/cdn/{ZGBULDPL.js → WHL2M7QL.js} +1 -1
  77. package/dist/cdn/{BHGOAHMJ.js → WJVFKW47.js} +1 -1
  78. package/dist/cdn/{67QYTLMM.js → WW7VTR4G.js} +1 -1
  79. package/dist/cdn/{WSL76GA5.js → X32ZF5ZW.js} +1 -1
  80. package/dist/cdn/{EAV3KAS7.js → XCSDBTBL.js} +1 -1
  81. package/dist/cdn/XHLNNBJC.js +3 -0
  82. package/dist/cdn/{DGV6S2W3.js → YM3PEBYW.js} +1 -1
  83. package/dist/cdn/{LIBE4XVH.js → YWRJTKES.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/class-breaks.js +66 -66
  87. package/dist/chunks/data.js +1 -1
  88. package/dist/chunks/index2.js +2943 -2987
  89. package/dist/chunks/index3.js +1 -0
  90. package/dist/chunks/index4.js +8 -8
  91. package/dist/chunks/serial-chart-data.js +1 -2
  92. package/dist/chunks/utils.js +30 -32
  93. package/dist/chunks/web-component-utils.js +38 -38
  94. package/dist/components/arcgis-chart/customElement.js +3338 -3314
  95. package/dist/components/arcgis-charts-config-create-flow/customElement.js +1 -1
  96. package/dist/docs/api.json +1 -1
  97. package/dist/docs/docs.json +1 -1
  98. package/dist/docs/web-types.json +1 -1
  99. package/dist/index.js +171 -172
  100. package/dist/utils/chart-config/converter/index.js +1 -1
  101. package/dist/utils/data/categorical-data/index.d.ts +1 -1
  102. package/dist/utils/data/index.d.ts +1 -2
  103. package/dist/utils/layer/query-features/index.d.ts +2 -18
  104. package/dist/utils/layer/query-parser/index.d.ts +1 -2
  105. package/package.json +3 -3
  106. package/dist/cdn/54W4C75M.js +0 -2
  107. package/dist/cdn/PBO5VH6A.js +0 -2
  108. package/dist/cdn/V6LKZUEZ.js +0 -3
@@ -461,6 +461,7 @@ const ne = {
461
461
  },
462
462
  binTemporalData: !0,
463
463
  lastTemporalBin: "is_arcgis_charts_last_bin",
464
+ firstTemporalBin: "is_arcgis_charts_first_bin",
464
465
  options: {
465
466
  hideEmptySeries: !0,
466
467
  showEmptySeries: !1,
@@ -3,8 +3,8 @@ import { substitute as f } from "@arcgis/core/intl.js";
3
3
  import E from "ajv";
4
4
  import { g as w } from "./runtime.js";
5
5
  import { fetchT9nStringsBundle as S } from "@arcgis/toolkit/intl";
6
- import { getElementLocale as I } from "@arcgis/toolkit/intl/dom";
7
- import { C as u, dt as M, Y as T, m as F, Z as V, af as z, ak as G, E as A, ay as U, I as L, a7 as D, bx as H, a as $, aH as J, bo as _, cS as K, V as Q, k as Z, n as X, l as Y, bc as ee, aI as te } from "./index2.js";
6
+ import { getElementLocale as v } from "@arcgis/toolkit/intl/dom";
7
+ import { C as u, dv as M, Y as T, m as F, Z as V, af as z, ak as G, E as A, ay as U, I as L, a7 as D, bx as H, a as $, aH as J, bo as _, cS as K, V as Q, k as Z, n as X, l as Y, bc as ee, aI as te } from "./index2.js";
8
8
  import { g as ie, aD as re } from "./index.js";
9
9
  import { q as x, C as h, h as ne } from "./index3.js";
10
10
  import { g as C } from "./series-types.js";
@@ -10680,7 +10680,7 @@ function O(i) {
10680
10680
  }
10681
10681
  async function j(i, r) {
10682
10682
  const n = r ?? (await S(
10683
- I(document.documentElement).t9nLocale,
10683
+ v(document.documentElement).t9nLocale,
10684
10684
  w("./assets/common/t9n"),
10685
10685
  "messages."
10686
10686
  )).errorStrings;
@@ -10770,7 +10770,7 @@ function g(i, r) {
10770
10770
  async function R(i, r) {
10771
10771
  let n;
10772
10772
  const e = r ?? (await S(
10773
- I(document.documentElement).t9nLocale,
10773
+ v(document.documentElement).t9nLocale,
10774
10774
  w("./assets/common/t9n"),
10775
10775
  "messages."
10776
10776
  )).errorStrings, t = z(i);
@@ -10813,7 +10813,7 @@ function le() {
10813
10813
  const pe = le();
10814
10814
  async function q(i) {
10815
10815
  const { seriesConfigs: r, queryObject: n, allowUsingObjectIdStat: e, errorStrings: t } = i, a = [], o = n ? L(n) : void 0, p = t ?? (await S(
10816
- I(document.documentElement).t9nLocale,
10816
+ v(document.documentElement).t9nLocale,
10817
10817
  w("./assets/common/t9n"),
10818
10818
  "messages."
10819
10819
  )).errorStrings;
@@ -10841,7 +10841,7 @@ async function q(i) {
10841
10841
  }
10842
10842
  async function P(i, r) {
10843
10843
  const n = [], e = r ?? (await S(
10844
- I(document.documentElement).t9nLocale,
10844
+ v(document.documentElement).t9nLocale,
10845
10845
  w("./assets/common/t9n"),
10846
10846
  "messages."
10847
10847
  )).errorStrings;
@@ -10886,7 +10886,7 @@ function k(i) {
10886
10886
  seriesConfig: i.series
10887
10887
  }) : y = i.series.map((s) => "y" in s ? s.y : void 0).filter((s) => s !== void 0).flat(), p ? y.forEach((s) => r.add(s)) : d.push(...y), i.series.forEach((s) => {
10888
10888
  const { query: c } = s;
10889
- c && (ee(c.where) || r.add(te(c.where)), c.groupByFieldsForStatistics && c.groupByFieldsForStatistics.forEach((v) => r.add(v)), c.outStatistics && c.outStatistics.forEach((v) => r.add(v.onStatisticField)));
10889
+ c && (ee(c.where) || r.add(te(c.where)), c.groupByFieldsForStatistics && c.groupByFieldsForStatistics.forEach((I) => r.add(I)), c.outStatistics && c.outStatistics.forEach((I) => r.add(I.onStatisticField)));
10890
10890
  });
10891
10891
  const m = t === h.BarAndLineNoAggregation || t === h.BarAndLineSplitByNoAggregation || t === h.PieNoAggregation;
10892
10892
  if (i.orderOptions?.orderByFields && m && i.orderOptions.orderByFields.forEach((s) => {
@@ -10906,7 +10906,7 @@ async function ce(i) {
10906
10906
  const { chartConfig: r, queryObject: n, errorStrings: e } = i;
10907
10907
  let t;
10908
10908
  const a = e ?? (await S(
10909
- I(document.documentElement).t9nLocale,
10909
+ v(document.documentElement).t9nLocale,
10910
10910
  w("./assets/common/t9n"),
10911
10911
  "messages."
10912
10912
  )).errorStrings, o = de(n) ? U({ layer: n, chartType: C(r.series) }) : L(n), d = k(r).filter((y) => !D(y, o));
@@ -3,7 +3,7 @@ import { substitute as w } from "@arcgis/core/intl.js";
3
3
  import { cloneDeep as G, isEmpty as Ye, memoize as We } from "lodash-es";
4
4
  import { S as ne } from "./common.js";
5
5
  import { s as D, u as E, a as Ie, g as ye, b as Le, c as He, d as Xe, e as pe } from "./utils.js";
6
- import { w as I, i as Ue, dg as W, co as je, bC as Ke, a$ as De, x as Ze, Y as J, cS as _e, cR as Qe, p as ze, aJ as me, cu as Ge, d as Je, aI as et, I as tt, a7 as st, bx as it, W as at, e as rt, bI as nt, dq as ot, v as lt, dw as fe, cb as ut, dx as ct, c7 as dt, B as yt, N as Se, bL as Z, dt as mt, bj as Y, bP as _, ap as U, a6 as Ne, bd as P, bc as gt, k as oe, bt as pt, bB as ft, bs as O, bA as V, bp as Fe, br as xe } from "./index2.js";
6
+ import { w as I, i as Ue, di as W, cn as je, bC as Ke, a$ as De, x as Ze, Y as J, cS as _e, cR as Qe, p as ze, aJ as me, ct as Ge, d as Je, aI as et, I as tt, a7 as st, bx as it, W as at, e as rt, bI as nt, ds as ot, v as lt, dy as fe, cb as ut, dz as ct, c7 as dt, B as yt, N as Se, bL as Z, dv as mt, bj as Y, bP as _, ap as U, a6 as Ne, bd as P, bc as gt, k as oe, bt as pt, bB as ft, bs as O, bA as V, bp as Fe, br as xe } from "./index2.js";
7
7
  import { a as M, s as ge, g as ee, b as he, c as St } from "./data.js";
8
8
  import { u as T, r as v, k as Ft, d as k, n as L, m as H, p as xt, t as ht, s as le } from "./chart-object-literals.js";
9
9
  import { R as Oe, i as Tt } from "./rest-js-object-literals.js";
@@ -185,7 +185,6 @@ async function jt(s) {
185
185
  queryObject: e,
186
186
  queryConfig: S,
187
187
  featureCount: F,
188
- returnStatisticsAggregatedIds: !0,
189
188
  errorStrings: i,
190
189
  abortSignal: r
191
190
  }), g = Array.from(
@@ -1,42 +1,42 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import { substitute as b } from "@arcgis/core/intl.js";
3
- import { w as C, H as j, M as q, T as k, F as M, x as W } from "./index.js";
4
- import { g as $ } from "./series-types.js";
5
- import { l as E, d as S, q as U, D as H } from "./index3.js";
6
- import { bw as K, ap as I, ag as P, h as O, cr as L, cs as V, aJ as X, a6 as h } from "./index2.js";
7
- import { q as R, u as f, r as A, p as G } from "./chart-object-literals.js";
2
+ import { q, u as f, r as A, p as C } from "./chart-object-literals.js";
3
+ import { bw as j, ap as I, ag as k, h as O, cq as L, cr as V, aJ as M, a6 as b } from "./index2.js";
8
4
  import { d as T } from "./type-guards.js";
5
+ import { l as W, d as S, q as $, D as E } from "./index3.js";
6
+ import { substitute as h } from "@arcgis/core/intl.js";
7
+ import { w as U, H, M as K, T as P, F as X, x as R } from "./index.js";
8
+ import { g as G } from "./series-types.js";
9
9
  function se(s, e, i) {
10
10
  const t = s?.axes?.[e];
11
- t?.title !== void 0 ? t.title.content.text = i : t !== void 0 && (t.title = j({
11
+ t?.title !== void 0 ? t.title.content.text = i : t !== void 0 && (t.title = H({
12
12
  text: i,
13
13
  visible: !0,
14
- font: q(k.AxisTitle)
14
+ font: K(P.AxisTitle)
15
15
  }));
16
16
  }
17
17
  function ae(s) {
18
18
  const { config: e, layerInfo: i, commonStrings: t, numericFields: a, aggregationType: r } = s;
19
19
  let o = "";
20
20
  if (e)
21
- if (E(e) === R.Stacked100)
21
+ if (W(e) === q.Stacked100)
22
22
  o = t.utilsStrings.statistics.percent;
23
23
  else {
24
- const d = C(r, t);
24
+ const d = U(r, t);
25
25
  if (e.series[0]?.type === f.HeatSeries)
26
26
  o = S(i.layerFieldsInfo, e.series[0].y);
27
27
  else if (a.length === 1) {
28
28
  const g = S(i.layerFieldsInfo, a[0]), n = I(i.layer).idField;
29
- r === A.NoAggregation ? o = g : r === A.Count && n !== void 0 && a[0] === n ? o = t.utilsStrings.statistics.count : o = b(t.axisLabels.aggregationOfFieldName, {
29
+ r === A.NoAggregation ? o = g : r === A.Count && n !== void 0 && a[0] === n ? o = t.utilsStrings.statistics.count : o = h(t.axisLabels.aggregationOfFieldName, {
30
30
  aggregation: d,
31
31
  fieldName: g
32
32
  });
33
- } else a.length > 1 && (r === A.NoAggregation ? o = t.axisLabels.values : o = b(t.axisLabels.aggregationOfValues, {
33
+ } else a.length > 1 && (r === A.NoAggregation ? o = t.axisLabels.values : o = h(t.axisLabels.aggregationOfValues, {
34
34
  aggregation: d
35
35
  }));
36
36
  }
37
37
  return o;
38
38
  }
39
- const B = (s, e, i) => s.axes?.[e] ?? W(i, s.type)[e], w = (s) => {
39
+ const B = (s, e, i) => s.axes?.[e] ?? R(i, s.type)[e], w = (s) => {
40
40
  const { config: e, axis: i, axisIndex: t } = s;
41
41
  e.axes !== void 0 && (e.axes[t] = i);
42
42
  }, re = (s) => {
@@ -46,7 +46,7 @@ const B = (s, e, i) => s.axes?.[e] ?? W(i, s.type)[e], w = (s) => {
46
46
  }, N = (s) => {
47
47
  const { config: e, value: i, axisIndex: t, isMax: a } = s, r = e?.axes?.[t];
48
48
  r !== void 0 && (a ? r.maximum = i : r.minimum = i);
49
- }, oe = (s) => s.axes?.[0]?.valueFormat ?? M(), ne = (s, e, i) => {
49
+ }, oe = (s) => s.axes?.[0]?.valueFormat ?? X(), ne = (s, e, i) => {
50
50
  const t = B(s, 0, e);
51
51
  if (t !== void 0 && i !== void 0) {
52
52
  const a = {
@@ -59,7 +59,7 @@ const B = (s, e, i) => s.axes?.[e] ?? W(i, s.type)[e], w = (s) => {
59
59
  const t = s.axes?.[e];
60
60
  t !== void 0 && (t.integerOnlyValues = i);
61
61
  }, J = (s) => {
62
- const e = $(s.series);
62
+ const e = G(s.series);
63
63
  return e === f.BarSeries || e === f.ComboLineAndBarSeries || e === f.LineSeries;
64
64
  }, Q = (s) => {
65
65
  const { axisIndex: e, config: i, isMultiAxis: t } = s;
@@ -71,7 +71,7 @@ const B = (s, e, i) => s.axes?.[e] ?? W(i, s.type)[e], w = (s) => {
71
71
  }, v = (s, e) => {
72
72
  let i;
73
73
  const t = e.axes?.[s]?.valueFormat;
74
- return (s === 0 || s >= 1 && K(t)) && (i = t), i;
74
+ return (s === 0 || s >= 1 && j(t)) && (i = t), i;
75
75
  }, ue = (s) => {
76
76
  const { config: e, commonStrings: i, valueFormat: t, axisIndex: a = 0 } = s, r = B(e, a, i);
77
77
  if (r !== void 0 && t !== void 0) {
@@ -96,7 +96,7 @@ async function xe(s) {
96
96
  const { config: e, layer: i, xAxisField: t, splitByField: a, layerFieldsInfo: r, aggregationFields: o, fetchNullValues: u, errorStrings: d } = s, n = r.filter((F) => F.name === a)[0]?.type, x = u !== !0 ? `${a} IS NOT NULL` : "", l = t && u !== !0 ? `${t} IS NOT NULL` : "", { where: m } = e?.dataFilters ?? {}, D = {
97
97
  where: O([m, x, l]),
98
98
  // excluding the null values from the list
99
- orderByFields: U(a) ? [] : [`${a} ${G.Ascending}`],
99
+ orderByFields: $(a) ? [] : [`${a} ${C.Ascending}`],
100
100
  // default sorting ascending for split-by field
101
101
  geometry: e?.dataFilters?.geometry
102
102
  };
@@ -106,18 +106,16 @@ async function xe(s) {
106
106
  layer: i,
107
107
  category: e?.series[0].x ?? "",
108
108
  splitByField: a
109
- }) : Array.from(
110
- (await V({
111
- queryObject: i,
112
- category: e?.series[0].x ?? "",
113
- splitByField: a,
114
- queryConfig: D,
115
- errorStrings: d
116
- })).keys()
117
- ) : [];
109
+ }) : await V({
110
+ queryObject: i,
111
+ category: e?.series[0].x ?? "",
112
+ splitByField: a,
113
+ queryConfig: D,
114
+ errorStrings: d
115
+ }) : [];
118
116
  if (y = y.slice(0, 500), e) {
119
- const F = e?.series.map((c) => X({ where: c.query?.where })?.toString() ?? "").filter((c) => c !== void 0 && c !== "");
120
- y = H({
117
+ const F = e?.series.map((c) => M({ where: c.query?.where })?.toString() ?? "").filter((c) => c !== void 0 && c !== "");
118
+ y = E({
121
119
  arrayA: y,
122
120
  arrayB: F,
123
121
  getKey: (c) => c === null ? null : c?.toString()
@@ -135,7 +133,7 @@ function ye(s, e) {
135
133
  return i;
136
134
  }
137
135
  function me(s, e) {
138
- const i = P(s);
136
+ const i = k(s);
139
137
  let t = e.length === 0, a = 0;
140
138
  for (const r of e) {
141
139
  for (const o of i)
@@ -173,16 +171,16 @@ async function Fe(s) {
173
171
  fetchNullValues: u
174
172
  })).map((x) => {
175
173
  const l = String(x);
176
- return h({
174
+ return b({
177
175
  queryObject: e.layer,
178
176
  fieldName: t,
179
177
  fieldValue: l
180
178
  }) ?? l;
181
179
  }) : n = // fetch unique category values asynchronously
182
- Array.from((await V({ queryObject: r, category: t, queryConfig: g, errorStrings: a })).keys()).map(
180
+ (await V({ queryObject: r, category: t, queryConfig: g, errorStrings: a })).map(
183
181
  (x) => {
184
182
  const l = String(x);
185
- return h({
183
+ return b({
186
184
  queryObject: e.layer,
187
185
  fieldName: t,
188
186
  fieldValue: l
@@ -1,5 +1,5 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import { isEqual as ue, capitalize as v, isNumber as W, zip as ae } from "lodash-es";
2
+ import { isEqual as ue, capitalize as B, isNumber as W, zip as ae } from "lodash-es";
3
3
  import { d as Y } from "./interfaces.js";
4
4
  import { g as ce, a as q, b as oe, c as z } from "./box-plot-data.js";
5
5
  import { g as fe } from "./histogram-data.js";
@@ -7,8 +7,8 @@ import { g as me, a as de, b as ye } from "./pie-chart-data.js";
7
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 _, a as pe } from "./data.js";
10
- import { Y as U, ap as be, af as xe, aM as E, cL as Fe, B as V, a6 as De, bj as Se, dv as ve } from "./index2.js";
11
- import { k as H, az as $, g as R, as as Be, b as he, a as Q } from "./index.js";
10
+ import { Y as U, ap as be, af as xe, aM as E, cL as Fe, B as V, a6 as De, bj as Se, dx as Be } from "./index2.js";
11
+ import { k as H, az as $, g as R, as 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 "./index5.js";
@@ -56,7 +56,7 @@ function G(l) {
56
56
  label: i.heatChartCalendarDatePartsUnits.dayOfWeek,
57
57
  value: Ae({
58
58
  weekdayNumber: e,
59
- firstDayOfWeek: "firstDayOfWeek" in o ? o.firstDayOfWeek : Be,
59
+ firstDayOfWeek: "firstDayOfWeek" in o ? o.firstDayOfWeek : ve,
60
60
  locale: t
61
61
  })
62
62
  };
@@ -153,11 +153,11 @@ function ct(l, e = {}) {
153
153
  const f = t ?? Object.keys(l[0]), u = [], p = a ?? we(r ?? "en");
154
154
  if (r !== void 0 && p !== "," && (c += `sep=${p}\r
155
155
  `), o) {
156
- const B = f.map((b) => J({ value: b, quoteAll: i, locale: r, roundDecimals: n }));
157
- u.push(B.join(p));
156
+ const v = f.map((b) => J({ value: b, quoteAll: i, locale: r, roundDecimals: n }));
157
+ u.push(v.join(p));
158
158
  }
159
- l.forEach((B) => {
160
- const b = f.map((x) => J({ value: B[x], quoteAll: i, locale: r, roundDecimals: n }));
159
+ l.forEach((v) => {
160
+ const b = f.map((x) => J({ value: v[x], quoteAll: i, locale: r, roundDecimals: n }));
161
161
  u.push(b.join(p));
162
162
  }), c += u.join(`\r
163
163
  `);
@@ -269,7 +269,7 @@ function $e(l, e) {
269
269
  }
270
270
  function Ne(l) {
271
271
  const { fieldName: e, dataContext: t } = l, a = A.rendererSymbolField;
272
- return e === a && t !== void 0 ? ve(t) : void 0;
272
+ return e === a && t !== void 0 ? Be(t) : void 0;
273
273
  }
274
274
  function ee(l) {
275
275
  const { config: e, splitByField: t, splitByValue: a, splitByValueIndex: o, layer: i, fieldList: r, timeZone: n } = l;
@@ -293,11 +293,11 @@ function Te(l) {
293
293
  fieldList: o
294
294
  });
295
295
  return t.map((p) => {
296
- const B = p[H.xField], b = p[H.yField], x = p[H.valueField], D = typeof x == "number" && Number.isFinite(x) ? x.toFixed(2) : x;
297
- let m = { label: n.x, value: B }, d = { label: n.y, value: b };
296
+ const v = p[H.xField], b = p[H.yField], x = p[H.valueField], D = typeof x == "number" && Number.isFinite(x) ? x.toFixed(2) : x;
297
+ let m = { label: n.x, value: v }, d = { label: n.y, value: b };
298
298
  if (n.xTemporalBinning !== void 0) {
299
299
  const { label: F, value: S } = G({
300
- value: Number(B),
300
+ value: Number(v),
301
301
  config: e,
302
302
  formatLocale: i,
303
303
  unit: n.xTemporalBinning.unit,
@@ -323,9 +323,9 @@ function Te(l) {
323
323
  });
324
324
  }
325
325
  function Re(l, e, t) {
326
- const a = fe(l), o = `${v(Y.Min)} of ${a}`, i = `${v(Y.Max)} of ${a}`, r = `${v(Y.Count)} of ${a}`;
326
+ const a = fe(l), o = `${B(Y.Min)} of ${a}`, i = `${B(Y.Max)} of ${a}`, r = `${B(Y.Count)} of ${a}`;
327
327
  return e.map((n) => {
328
- const { minValue: s, maxValue: c, count: f } = n, u = W(s), p = W(c), B = W(f), b = {};
328
+ const { minValue: s, maxValue: c, count: f } = n, u = W(s), p = W(c), v = W(f), b = {};
329
329
  if (u && (b[o] = h({
330
330
  value: s,
331
331
  originalValue: s,
@@ -346,7 +346,7 @@ function Re(l, e, t) {
346
346
  });
347
347
  b.Label = `${String(x ?? "")} - ${String(D ?? "")}`;
348
348
  }
349
- return B && (b[r] = f), b;
349
+ return v && (b[r] = f), b;
350
350
  });
351
351
  }
352
352
  function Ie(l, e, t) {
@@ -355,7 +355,7 @@ function Ie(l, e, t) {
355
355
  return t ? o = t.map((i) => a.find((r) => r.toLowerCase().includes(i.toLowerCase())) || "") : o = a.filter((r) => r.toLowerCase().includes(e.toLowerCase())), o.filter((i) => i.trim() !== "");
356
356
  }
357
357
  function Ke(l) {
358
- const { config: e, rows: t, layer: a, fieldList: o, formatters: i, useRendererLabel: r = !1, timeZone: n } = l, s = pe(e), c = re(e), f = v(c), u = le(e), p = U(e.series), B = ie(e), b = ge(e), { idField: x, isTraditionalTypeOID: D } = be(xe(a)), m = D && u.length === 1 && u[0] === x;
358
+ const { config: e, rows: t, layer: a, fieldList: o, formatters: i, useRendererLabel: r = !1, timeZone: n } = l, s = pe(e), c = re(e), f = B(c), u = le(e), p = U(e.series), v = ie(e), b = ge(e), { idField: x, isTraditionalTypeOID: D } = be(xe(a)), m = D && u.length === 1 && u[0] === x;
359
359
  let d;
360
360
  switch (p) {
361
361
  case g.BarAndLineNoAggregation:
@@ -434,7 +434,7 @@ function Ke(l) {
434
434
  useRendererLabel: r,
435
435
  timeZone: n
436
436
  });
437
- return B.map((P, C) => {
437
+ return v.map((P, C) => {
438
438
  const w = ee({
439
439
  config: e,
440
440
  splitByField: b,
@@ -462,7 +462,7 @@ function Ke(l) {
462
462
  formatter: i?.xAxisLabelFormatter,
463
463
  useRendererLabel: r,
464
464
  timeZone: n
465
- }), S = Ie(y, u[0], B), P = y[b], C = B.findIndex((I) => $e(I, P)), w = ee({
465
+ }), S = Ie(y, u[0], v), P = y[b], C = v.findIndex((I) => $e(I, P)), w = ee({
466
466
  config: e,
467
467
  splitByField: b,
468
468
  splitByValue: P,
@@ -504,11 +504,11 @@ function je(l) {
504
504
  function Ee(l) {
505
505
  const { config: e, rows: t, layer: a, fieldList: o, formatters: i, useRendererLabel: r = !1, timeZone: n } = l, s = me(e), c = U(e.series);
506
506
  let f = je(t);
507
- const u = de(e), p = c !== g.PieFromFields ? X.Category : X.Fields, B = ye(e, p), b = _({
507
+ const u = de(e), p = c !== g.PieFromFields ? X.Category : X.Fields, v = ye(e, p), b = _({
508
508
  config: e,
509
509
  xAxisField: s,
510
510
  numericFields: u,
511
- aggregationType: B,
511
+ aggregationType: v,
512
512
  mode: p,
513
513
  layer: a,
514
514
  fieldList: o
@@ -527,7 +527,7 @@ function Ee(l) {
527
527
  return c === g.PieFromCategory && x.toLowerCase() === b.name.toLowerCase() && (y = b.description, F = b.name), d[y] = h({
528
528
  value: D[F],
529
529
  originalValue: D[F]
530
- }), d[v($.trim())] = h({
530
+ }), d[B($.trim())] = h({
531
531
  value: D[`${F}${$}`],
532
532
  originalValue: D[`${F}${$}`]
533
533
  }), d;
@@ -540,7 +540,7 @@ function Ee(l) {
540
540
  }), d.Value = h({
541
541
  value: m[x],
542
542
  originalValue: m[x]
543
- }), d[v($.trim())] = h({
543
+ }), d[B($.trim())] = h({
544
544
  value: m[`${x}${$}`],
545
545
  originalValue: m[`${x}${$}`]
546
546
  })), d;
@@ -569,13 +569,13 @@ function T(l) {
569
569
  fieldList: r,
570
570
  timeZone: n
571
571
  });
572
- t[s] = x, t[v(V.Outlier)] = e[u];
572
+ t[s] = x, t[B(V.Outlier)] = e[u];
573
573
  break;
574
574
  }
575
575
  case g.BoxPlotMultiFieldsAndCategory: {
576
- t[v(s)] = e[s], u = `${c.find(
576
+ t[B(s)] = e[s], u = `${c.find(
577
577
  (D) => Object.keys(e).some((m) => m.toLowerCase().includes(D.toLowerCase()))
578
- ) ?? ""}_${u}`, t[v(V.Outlier)] = e[u];
578
+ ) ?? ""}_${u}`, t[B(V.Outlier)] = e[u];
579
579
  break;
580
580
  }
581
581
  case g.BoxPlotMonoFieldAndSplitBy:
@@ -587,7 +587,7 @@ function T(l) {
587
587
  fieldList: r,
588
588
  timeZone: n
589
589
  });
590
- u = `${x}_${u}`, t.Field = e[p], t[v(f)] = D, t[v(V.Outlier)] = e[u];
590
+ u = `${x}_${u}`, t.Field = e[p], t[B(f)] = D, t[B(V.Outlier)] = e[u];
591
591
  break;
592
592
  }
593
593
  case g.BoxPlotMonoFieldAndCategoryAndSplitBy: {
@@ -598,25 +598,25 @@ function T(l) {
598
598
  fieldList: r,
599
599
  timeZone: n
600
600
  });
601
- u = `${x}_${u}`, t[v(s)] = e[s], t[v(f)] = D, t[v(V.Outlier)] = e[u];
601
+ u = `${x}_${u}`, t[B(s)] = e[s], t[B(f)] = D, t[B(V.Outlier)] = e[u];
602
602
  break;
603
603
  }
604
604
  case g.BoxPlotMonoField:
605
605
  case g.BoxPlotMultiFields:
606
606
  default: {
607
- t.Field = e[p], t[v(V.Outlier)] = e[u];
607
+ t.Field = e[p], t[B(V.Outlier)] = e[u];
608
608
  break;
609
609
  }
610
610
  }
611
- const B = `${u}${Q}`, b = e[B];
612
- b !== void 0 && (t[`${v(V.Outlier)} Z-Score`] = b);
611
+ const v = `${u}${Q}`, b = e[v];
612
+ b !== void 0 && (t[`${B(V.Outlier)} Z-Score`] = b);
613
613
  }
614
614
  function Ue(l) {
615
615
  const { rawData: e, outRow: t, config: a, splitByValue: o, layer: i, fieldList: r, timeZone: n } = l, s = U(a.series), c = e[`${o}_${V.Average}`], f = z(a), u = q(a);
616
616
  let p = "";
617
617
  switch (s) {
618
618
  case g.BoxPlotMonoFieldAndSplitBy: {
619
- p = `${o}_${f}`, t.Field = e[R], t[v(f)] = M({
619
+ p = `${o}_${f}`, t.Field = e[R], t[B(f)] = M({
620
620
  field: f,
621
621
  value: e[p],
622
622
  layer: i,
@@ -626,7 +626,7 @@ function Ue(l) {
626
626
  break;
627
627
  }
628
628
  case g.BoxPlotMultiFieldsAndSplitBy: {
629
- p = `${o}_${V.Average}`, t.Field = e[R], t[v(f)] = M({
629
+ p = `${o}_${V.Average}`, t.Field = e[R], t[B(f)] = M({
630
630
  field: f,
631
631
  value: e[p],
632
632
  layer: i,
@@ -636,7 +636,7 @@ function Ue(l) {
636
636
  break;
637
637
  }
638
638
  case g.BoxPlotMonoFieldAndCategoryAndSplitBy: {
639
- p = `${o}_${V.Average}`, t[u] = e[u], t[v(f)] = M({
639
+ p = `${o}_${V.Average}`, t[u] = e[u], t[B(f)] = M({
640
640
  field: f,
641
641
  value: o,
642
642
  layer: i,
@@ -646,16 +646,16 @@ function Ue(l) {
646
646
  break;
647
647
  }
648
648
  }
649
- t[v(V.Average)] = c;
650
- const B = `${String(c)}${Q}`, b = e[B];
651
- b !== void 0 && (t[`${v(V.Average)} Z-Score`] = b);
649
+ t[B(V.Average)] = c;
650
+ const v = `${String(c)}${Q}`, b = e[v];
651
+ b !== void 0 && (t[`${B(V.Average)} Z-Score`] = b);
652
652
  }
653
653
  function Ze(l) {
654
654
  const { config: e, rows: t, layer: a, fieldList: o, formatters: i, useRendererLabel: r = !1, timeZone: n } = l, s = U(e.series);
655
655
  let c = s;
656
656
  const f = ce(e), u = Array.isArray(t) && t.length > 0 && t.every((m) => m[A.boxPlot.boxPlotMeanLineMarkerId] !== void 0);
657
657
  f && !u && (s === g.BoxPlotMonoFieldAndSplitBy ? c = g.BoxPlotMonoField : s === g.BoxPlotMultiFieldsAndSplitBy ? c = g.BoxPlotMultiFields : s === g.BoxPlotMonoFieldAndCategoryAndSplitBy && (c = g.BoxPlotMonoFieldAndCategory));
658
- const p = q(e), B = oe(e), b = ie(e), x = z(e);
658
+ const p = q(e), v = oe(e), b = ie(e), x = z(e);
659
659
  let D;
660
660
  switch (c) {
661
661
  case g.BoxPlotMonoField:
@@ -708,7 +708,7 @@ function Ze(l) {
708
708
  }
709
709
  case g.BoxPlotMultiFieldsAndCategory: {
710
710
  D = t.flatMap(
711
- (m) => B.map((d) => {
711
+ (m) => v.map((d) => {
712
712
  const y = {};
713
713
  let F = "";
714
714
  if (y.Field = d, m[A.boxPlot.boxPlotOutlierId])