@arcgis/charts-components 6.0.0-next.37 → 6.0.0-next.39

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 (165) hide show
  1. package/dist/cdn/{2DQ7ZBXE.js → 25GQ2WOU.js} +1 -1
  2. package/dist/cdn/{FBYUBQLZ.js → 2CNLZPFO.js} +1 -1
  3. package/dist/cdn/{B3X2DPZL.js → 2HC3GCXA.js} +22 -22
  4. package/dist/cdn/{F3TJTLG7.js → 2IRI6FP7.js} +1 -1
  5. package/dist/cdn/{7KAWS7PM.js → 2POSDCZH.js} +1 -1
  6. package/dist/cdn/{BG5Q5IKV.js → 2S3IMV7O.js} +1 -1
  7. package/dist/cdn/{RPHXKD7J.js → 2W6EH2HT.js} +1 -1
  8. package/dist/cdn/{DH2G4KHH.js → 35MV6UPM.js} +1 -1
  9. package/dist/cdn/{4XTFDZMW.js → 3642CP3R.js} +1 -1
  10. package/dist/cdn/{5EAIW2ZK.js → 36MF6B63.js} +1 -1
  11. package/dist/cdn/{RH2BBROM.js → 3YSNYETN.js} +1 -1
  12. package/dist/cdn/{FXTL5IZJ.js → 3ZFAYKJQ.js} +1 -1
  13. package/dist/cdn/{JZXZAQPZ.js → 52TVDV6J.js} +1 -1
  14. package/dist/cdn/{MT6F4GEI.js → 6KL6DV3E.js} +1 -1
  15. package/dist/cdn/{CPZAKMTU.js → 73YNQF72.js} +1 -1
  16. package/dist/cdn/{F3MIZQUC.js → AGCK7Y3J.js} +1 -1
  17. package/dist/cdn/{XNLXGZIZ.js → AHDUDHZR.js} +1 -1
  18. package/dist/cdn/{WLIVWHF6.js → AHPDMFQQ.js} +1 -1
  19. package/dist/cdn/{BLNSWTDE.js → AMVPRTNI.js} +1 -1
  20. package/dist/cdn/{5VI725BE.js → B2VFTKK6.js} +1 -1
  21. package/dist/cdn/{HECZ3OT6.js → BIBYAKIS.js} +1 -1
  22. package/dist/cdn/{B3XFRI2T.js → CBWKTXC5.js} +1 -1
  23. package/dist/cdn/{VHDFOTME.js → D4CBXK5J.js} +1 -1
  24. package/dist/cdn/{Y6URECIF.js → DH3CD2VT.js} +1 -1
  25. package/dist/cdn/{HO2B7R2W.js → DKMYO4GP.js} +1 -1
  26. package/dist/cdn/{STEMSCEZ.js → DPNQLXLE.js} +1 -1
  27. package/dist/cdn/{MQKJTPAC.js → DVEX52DB.js} +1 -1
  28. package/dist/cdn/{OCAITJL6.js → DXIZZBC3.js} +2 -2
  29. package/dist/cdn/{ILNDY3YI.js → ESZG2ICM.js} +1 -1
  30. package/dist/cdn/{3NTU2K22.js → EYBYOHDN.js} +1 -1
  31. package/dist/cdn/{YGEJBPIE.js → F2UUETR2.js} +1 -1
  32. package/dist/cdn/{VHLEM5TX.js → FKHPICOV.js} +1 -1
  33. package/dist/cdn/{PSKIJ3SM.js → FKWL3PHQ.js} +1 -1
  34. package/dist/cdn/{Z6VYURPS.js → FLVDCXI5.js} +1 -1
  35. package/dist/cdn/{5VW7MADK.js → FVJHFMGW.js} +1 -1
  36. package/dist/cdn/{ALUFN6JU.js → FWB3GJHP.js} +1 -1
  37. package/dist/cdn/{I6FJ54MZ.js → FWETNIKF.js} +1 -1
  38. package/dist/cdn/{B6TOZWKP.js → H5VGO7ZZ.js} +1 -1
  39. package/dist/cdn/{Z2XPKJMJ.js → HAXUUJKD.js} +1 -1
  40. package/dist/cdn/{FCOD27CY.js → HEJIMSEP.js} +1 -1
  41. package/dist/cdn/{VHXIV5BX.js → HNUEP5UH.js} +2 -2
  42. package/dist/cdn/{42LSDQXN.js → HTLTED56.js} +1 -1
  43. package/dist/cdn/{6ITF7OPU.js → HXIF6BYN.js} +1 -1
  44. package/dist/cdn/{QJJYPIM7.js → HYPA7F2W.js} +1 -1
  45. package/dist/cdn/{7OQ5KHLB.js → IBB72HGQ.js} +1 -1
  46. package/dist/cdn/{SMYPC6YZ.js → IMNOJDGS.js} +1 -1
  47. package/dist/cdn/{5NMRQXC4.js → IWIBZTFJ.js} +1 -1
  48. package/dist/cdn/{5GJ7X4OZ.js → J5O323AF.js} +1 -1
  49. package/dist/cdn/{YKM3E7AD.js → JWNZPKX7.js} +1 -1
  50. package/dist/cdn/{QLRY7QKC.js → JXUSPONB.js} +1 -1
  51. package/dist/cdn/{Q3P2IG23.js → KH3XGJ6Z.js} +1 -1
  52. package/dist/cdn/{IZJLIFYM.js → KIDN7AE6.js} +1 -1
  53. package/dist/cdn/{YWAAPW2R.js → KPG4VSFN.js} +1 -1
  54. package/dist/cdn/{RYAQ7TZ5.js → KQXIXHLV.js} +1 -1
  55. package/dist/cdn/{4EEG3Y4A.js → KXKSKVSJ.js} +1 -1
  56. package/dist/cdn/{5N22DW2N.js → LAVDVQYZ.js} +1 -1
  57. package/dist/cdn/{RVRNYRR5.js → LHMYCCGG.js} +1 -1
  58. package/dist/cdn/{7Z5HY6CX.js → LHYIQG2Q.js} +1 -1
  59. package/dist/cdn/{BS6ZKR5Y.js → LYVMSY65.js} +1 -1
  60. package/dist/cdn/{HF7ILAKI.js → MCK5B2BZ.js} +1 -1
  61. package/dist/cdn/{Q4HEXCLD.js → MNETNH5F.js} +1 -1
  62. package/dist/cdn/{KMVAWVMM.js → MNHJXGWB.js} +1 -1
  63. package/dist/cdn/{PMHRQOKZ.js → MUDUWLYM.js} +1 -1
  64. package/dist/cdn/{BQSQE7VQ.js → N3IQELQL.js} +1 -1
  65. package/dist/cdn/{VSYK6HGS.js → N4VKOGCE.js} +1 -1
  66. package/dist/cdn/{2BZPX3WJ.js → N6IQLOCY.js} +1 -1
  67. package/dist/cdn/{UEH74K4Z.js → NQBZWHCV.js} +1 -1
  68. package/dist/cdn/{3JRS3R5K.js → OAQNKLKH.js} +1 -1
  69. package/dist/cdn/{NACMNBIP.js → OEYCWE7U.js} +1 -1
  70. package/dist/cdn/{4FEQIWCL.js → ON6KUQYR.js} +1 -1
  71. package/dist/cdn/{WPAN7ZED.js → PLEMHP2B.js} +1 -1
  72. package/dist/cdn/{A4SE2666.js → PNMVOOAS.js} +1 -1
  73. package/dist/cdn/{KOZPLQLZ.js → Q63KS3AS.js} +1 -1
  74. package/dist/cdn/{HVXXE5ZN.js → QBZEEHY7.js} +1 -1
  75. package/dist/cdn/{D7GICKNU.js → QE2PCHA4.js} +1 -1
  76. package/dist/cdn/{WXUTW33L.js → RAXTWSX7.js} +1 -1
  77. package/dist/cdn/{HCQDDW6C.js → RFI6U64E.js} +1 -1
  78. package/dist/cdn/{S2CDU562.js → RYKZNNAE.js} +1 -1
  79. package/dist/cdn/{54I7ID6Z.js → RYSNUM3A.js} +1 -1
  80. package/dist/cdn/{JPR5ZF7D.js → S5LVF5UL.js} +1 -1
  81. package/dist/cdn/{EYHCX276.js → SEAGEOR3.js} +1 -1
  82. package/dist/cdn/{SPQSYOVK.js → SQHNAWY2.js} +1 -1
  83. package/dist/cdn/{747HTBX6.js → SWE5OVAM.js} +1 -1
  84. package/dist/cdn/{OZEYHJND.js → UHIFEXWJ.js} +1 -1
  85. package/dist/cdn/{3LWOTXAJ.js → V564QSU3.js} +1 -1
  86. package/dist/cdn/{XEW2A47I.js → W34R4JQD.js} +1 -1
  87. package/dist/cdn/{GU6VG5TK.js → W7TD4Z24.js} +1 -1
  88. package/dist/cdn/{G3VKWODV.js → WSHSXWLF.js} +1 -1
  89. package/dist/cdn/{C2LULOIM.js → WT6Y3ALM.js} +1 -1
  90. package/dist/cdn/{GA2UFZXY.js → X6JMBWG7.js} +1 -1
  91. package/dist/cdn/{WVXK6SQ2.js → XBFYV6W2.js} +1 -1
  92. package/dist/cdn/{FDM5MY6D.js → XFHCIQYP.js} +1 -1
  93. package/dist/cdn/{JQIPTC5I.js → XSQEK2DR.js} +1 -1
  94. package/dist/cdn/{F5NV3AJ5.js → YDKVGUUH.js} +1 -1
  95. package/dist/cdn/{IBS2EHYN.js → YO7YSHP3.js} +1 -1
  96. package/dist/cdn/{MD76NSPD.js → Z2LXXRNV.js} +1 -1
  97. package/dist/cdn/{W52LHBTO.js → ZJAOAKQP.js} +1 -1
  98. package/dist/cdn/{AWS2YG4M.js → ZYZASO4B.js} +1 -1
  99. package/dist/cdn/index.js +1 -1
  100. package/dist/cdn/model/shared/setup-utils.js +1 -1
  101. package/dist/chunks/action-bar-utils.js +7 -7
  102. package/dist/chunks/bar-chart-model.js +3 -3
  103. package/dist/chunks/box-plot-data.js +47 -47
  104. package/dist/chunks/box-plot-model.js +12 -12
  105. package/dist/chunks/chart-model.js +23 -23
  106. package/dist/chunks/chart-ui-utils.js +7 -7
  107. package/dist/chunks/chart-ui-utils2.js +1 -1
  108. package/dist/chunks/class-breaks.js +7 -7
  109. package/dist/chunks/combo-bar-line-chart-model.js +9 -9
  110. package/dist/chunks/data.js +10 -10
  111. package/dist/chunks/gauge-model.js +5 -5
  112. package/dist/chunks/histogram-model.js +4 -4
  113. package/dist/chunks/index.js +317 -316
  114. package/dist/chunks/index3.js +1 -1
  115. package/dist/chunks/line-chart-model.js +5 -5
  116. package/dist/chunks/model-setter.js +1 -1
  117. package/dist/chunks/model-with-x-guides.js +1 -1
  118. package/dist/chunks/model-with-y-guides.js +4 -4
  119. package/dist/chunks/negative-values-stacked-to-baseline.js +5 -5
  120. package/dist/chunks/pie-chart-model.js +9 -9
  121. package/dist/chunks/radar-chart-model.js +1 -1
  122. package/dist/chunks/rotated-state.js +1 -1
  123. package/dist/chunks/rounded-corners.js +5 -5
  124. package/dist/chunks/scatterplot-model.js +3 -3
  125. package/dist/chunks/serial-chart-data.js +28 -28
  126. package/dist/chunks/serial-chart-model.js +11 -11
  127. package/dist/chunks/series-length.js +11 -11
  128. package/dist/chunks/utils.js +19 -19
  129. package/dist/chunks/web-component-utils.js +19 -19
  130. package/dist/chunks/x-bounds.js +13 -13
  131. package/dist/components/arcgis-chart/customElement.js +6938 -6954
  132. package/dist/components/arcgis-charts-action-bar/customElement.js +6 -6
  133. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +14 -14
  134. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +1 -1
  135. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +3 -3
  136. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +1 -1
  137. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +1 -1
  138. package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
  139. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +1 -1
  140. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +1 -1
  141. package/dist/components/arcgis-charts-config-create-flow/customElement.js +5 -5
  142. package/dist/components/arcgis-charts-config-format/customElement.js +1 -1
  143. package/dist/components/arcgis-charts-config-guide/customElement.js +4 -4
  144. package/dist/components/arcgis-charts-config-heat-chart/customElement.js +1 -1
  145. package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +1 -1
  146. package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +1 -1
  147. package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
  148. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +1 -1
  149. package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
  150. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +1 -1
  151. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +1 -1
  152. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
  153. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +1 -1
  154. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
  155. package/dist/components/arcgis-charts-config-scatter-plot-aoi/customElement.js +1 -1
  156. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +1 -1
  157. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +1 -1
  158. package/dist/components/arcgis-charts-config-view-charts/customElement.js +1 -1
  159. package/dist/components/arcgis-charts-info-modal/customElement.js +1 -1
  160. package/dist/docs/api.json +1 -1
  161. package/dist/docs/docs.json +1 -1
  162. package/dist/docs/web-types.json +1 -1
  163. package/dist/index.js +171 -171
  164. package/dist/utils/chart-config/converter/index.js +14 -14
  165. package/package.json +4 -4
@@ -1,14 +1,14 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
  import { substitute as v } from "@arcgis/core/intl.js";
3
- import { memoize as W, isEmpty as ne, isEqual as le, cloneDeep as K } from "es-toolkit/compat";
3
+ import { memoize as W, isEmpty as ne, isEqual as le, cloneDeep as $ } from "es-toolkit/compat";
4
4
  import { B as f } from "./common.js";
5
- import { u as I, g as k, b as U, c as ae, d as E } from "./utils.js";
6
- import { cY as M, cE as ce, cK as D, X as de, a5 as ye, cB as ue, cZ as fe, c_ as me, x as A, ah as $, cH as Se } from "./index.js";
5
+ import { u as O, g as k, b as K, c as ae, d as E } from "./utils.js";
6
+ import { cZ as M, cF as ce, cL as D, Y as de, a6 as ye, cC as ue, c_ as fe, c$ as me, x as B, ai as U, cI as Se } from "./index.js";
7
7
  import { g as pe } from "./series-length.js";
8
8
  import { s as N } from "./data.js";
9
9
  import { d as ge } from "./rest-js-object-literals.js";
10
10
  import { a as p, t as S, g as x } from "./chart-object-literals.js";
11
- import { o as X, l as h, n as xe, t as be, a9 as j, aa as z, a0 as he, ab as Fe, _ as Be, $ as Ae } from "./index2.js";
11
+ import { o as j, l as h, n as xe, t as be, a9 as X, aa as z, a0 as he, ab as Fe, _ as Ae, $ as Be } from "./index2.js";
12
12
  import { i as P } from "./index3.js";
13
13
  import { s as Ce, a as Le } from "./series.js";
14
14
  const R = (s) => {
@@ -16,7 +16,7 @@ const R = (s) => {
16
16
  [t !== void 0 ? e.series?.[t] : e.series].flat().forEach((i) => {
17
17
  ce(i) && o(i);
18
18
  });
19
- }, Ze = (s) => {
19
+ }, He = (s) => {
20
20
  const { style: e, seriesIndex: t, config: o } = s;
21
21
  R({
22
22
  config: o,
@@ -47,21 +47,21 @@ const R = (s) => {
47
47
  }, Te = (s, e) => {
48
48
  const t = e.series[0];
49
49
  e.showMean === !0 && M(t) && (t.fillSymbol !== void 0 ? t.fillSymbol.color = s : t.fillSymbol = {
50
- ...X(),
50
+ ...j(),
51
51
  color: s
52
52
  });
53
53
  }, os = (s, e, t) => {
54
54
  const i = t?.series?.[e];
55
55
  i?.type === p.BoxPlotSeries && i.fillSymbol !== void 0 ? i.fillSymbol.color = s : i?.type === p.LineSeries && i.lineSymbol !== void 0 && (i.lineSymbol.color = s, i.markerSymbol !== void 0 && (i.markerSymbol.color = s));
56
- }, ve = (s) => s.series.map((e) => e.id), Oe = (s, e) => {
56
+ }, ve = (s) => s.series.map((e) => e.id), Ie = (s, e) => {
57
57
  e?.series?.sort(
58
58
  (t, o) => s.findIndex((i) => t.id === i) - s.findIndex((i) => o.id === i)
59
59
  );
60
60
  }, rs = (s, e, t) => {
61
61
  const o = ve(t), [i] = o.splice(s, 1);
62
- o.splice(e, 0, i), Oe(o, t);
62
+ o.splice(e, 0, i), Ie(o, t);
63
63
  }, ns = (s) => V(s) ? s.series.findIndex((e) => e.type === p.BoxPlotSeries) : -1;
64
- function Ie(s, e, t) {
64
+ function Oe(s, e, t) {
65
65
  const o = ee(s, e, t), i = pe(s), r = P(s);
66
66
  return o === i || r;
67
67
  }
@@ -70,7 +70,7 @@ function _(s, e, t) {
70
70
  return o === i || r;
71
71
  }
72
72
  function Me(s) {
73
- const { config: e, layerInfo: t, newCategory: o } = s, { layerFieldsInfo: i } = t, r = L(e), n = o !== h ? A(i, r) : "", l = k(0, e), a = P(e);
73
+ const { config: e, layerInfo: t, newCategory: o } = s, { layerFieldsInfo: i } = t, r = L(e), n = o !== h ? B(i, r) : "", l = k(0, e), a = P(e);
74
74
  return n === l || a || l.trim() === "";
75
75
  }
76
76
  const L = (s) => D(s)?.x ?? h, Pe = W(
@@ -85,14 +85,14 @@ const L = (s) => D(s)?.x ?? h, Pe = W(
85
85
  (s) => ye(s?.series).filter((e) => e !== ""),
86
86
  // using series array address as key, since a change to the numeric fields will always rebuild a fresh series array
87
87
  (s) => s?.series
88
- ), O = (s) => {
88
+ ), I = (s) => {
89
89
  const { category: e, seriesIndex: t, y: o, commonStrings: i } = s, n = {
90
- ...j(i, t),
90
+ ...X(i, t),
91
91
  x: e === void 0 || e === "" ? h : e,
92
92
  y: o,
93
93
  query: {}
94
94
  };
95
- return K(n);
95
+ return $(n);
96
96
  }, De = (s) => {
97
97
  const { category: e, seriesIndex: t, y: o, commonStrings: i } = s, n = {
98
98
  ...he({ commonStrings: i, seriesIndex: t }),
@@ -100,20 +100,20 @@ const L = (s) => D(s)?.x ?? h, Pe = W(
100
100
  y: o,
101
101
  query: {}
102
102
  };
103
- return K(n);
103
+ return $(n);
104
104
  };
105
105
  function G(s) {
106
- const { x: e, y: t, seriesTemplate: o, commonStrings: i } = s, { id: r, fillSymbol: n } = o ?? {}, l = j(i), a = r ?? `series_${Date.now()}`;
106
+ const { x: e, y: t, seriesTemplate: o, commonStrings: i } = s, { id: r, fillSymbol: n } = o ?? {}, l = X(i), a = r ?? `series_${Date.now()}`;
107
107
  return l.id = a, l.name = a, l.x = e, l.y = t, n ? l.fillSymbol = n : l.fillSymbol && (l.fillSymbol.color = z, l.fillSymbol?.outline && (l.fillSymbol.outline.color = z)), l;
108
108
  }
109
- function H(s) {
109
+ function Q(s) {
110
110
  const { numericFields: e, config: t, layerInfo: o, category: i, commonStrings: r } = s, { layerFieldsInfo: n } = o, l = [], a = i ?? L(t), y = N({
111
111
  fieldName: a,
112
112
  numericFields: e,
113
113
  fieldList: n
114
114
  });
115
115
  if (e.length === 0) {
116
- const c = O({
116
+ const c = I({
117
117
  y: "",
118
118
  seriesIndex: 0,
119
119
  category: a,
@@ -121,12 +121,12 @@ function H(s) {
121
121
  });
122
122
  l.push(c);
123
123
  } else if (y) {
124
- const c = e.length > 1 ? e : e[0], u = O({
124
+ const c = e.length > 1 ? e : e[0], u = I({
125
125
  y: c,
126
126
  seriesIndex: 0,
127
127
  category: a,
128
128
  commonStrings: r
129
- }), F = t.series.find((B) => le(c, B.y) && B.query?.where === void 0), d = M(F) ? F : void 0, m = d?.id ?? e[0], g = e.length > 1 ? r.axisLabels.values : A(o.layerFieldsInfo, e[0]), b = d?.name ?? g, C = {
129
+ }), F = t.series.find((A) => le(c, A.y) && A.query?.where === void 0), d = M(F) ? F : void 0, m = d?.id ?? e[0], g = e.length > 1 ? r.axisLabels.values : B(o.layerFieldsInfo, e[0]), b = d?.name ?? g, C = {
130
130
  ...d ?? u,
131
131
  id: m,
132
132
  name: b,
@@ -135,12 +135,12 @@ function H(s) {
135
135
  l.push(C);
136
136
  } else
137
137
  for (let c = 0; c < e.length; c += 1) {
138
- const u = e[c], F = O({
138
+ const u = e[c], F = I({
139
139
  y: u,
140
140
  seriesIndex: c,
141
141
  category: a,
142
142
  commonStrings: r
143
- }), d = t.series.find((B) => u === B.y), m = M(d) ? d : void 0, g = m?.id ?? u, b = m?.name ?? A(n, u), C = {
143
+ }), d = t.series.find((A) => u === A.y), m = M(d) ? d : void 0, g = m?.id ?? u, b = m?.name ?? B(n, u), C = {
144
144
  ...m ?? F,
145
145
  id: g,
146
146
  name: b,
@@ -150,7 +150,7 @@ function H(s) {
150
150
  }
151
151
  return t.series.length === 1 && l.length === 1 && "fillSymbol" in t.series[0] && (l[0].fillSymbol = t.series[0].fillSymbol), l;
152
152
  }
153
- const Q = (s) => s?.query?.where?.split("=")[1].trim().replace(/'/gu, "") ?? "", Ve = (s) => s.series.some((e) => e.type === p.LineSeries) && s.series.some((e) => e.type === p.BoxPlotSeries);
153
+ const Z = (s) => s?.query?.where?.split("=")[1].trim().replace(/'/gu, "") ?? "", Ve = (s) => s.series.some((e) => e.type === p.LineSeries) && s.series.some((e) => e.type === p.BoxPlotSeries);
154
154
  function ke(s, e, t) {
155
155
  const o = [];
156
156
  return s.forEach((i) => {
@@ -182,7 +182,7 @@ function Ne(s) {
182
182
  const e = s.slice(1), t = [];
183
183
  return e.forEach((o) => {
184
184
  if (o.type === p.LineSeries) {
185
- const { type: i, lineSymbol: r, markerSymbol: n, ...l } = o, a = X();
185
+ const { type: i, lineSymbol: r, markerSymbol: n, ...l } = o, a = j();
186
186
  t.push({
187
187
  ...l,
188
188
  type: p.BoxPlotSeries,
@@ -194,7 +194,7 @@ function Ne(s) {
194
194
  }
195
195
  }), t;
196
196
  }
197
- function Z(s) {
197
+ function H(s) {
198
198
  const { formerSeries: e, newSeries: t, showMean: o } = s;
199
199
  let i = t;
200
200
  const r = (a) => a.type === (o ? p.LineSeries : p.BoxPlotSeries), n = e.filter(r).map((a) => a.id), l = t.filter(r).map((a) => a.id);
@@ -215,7 +215,7 @@ function qe(s) {
215
215
  let u = [];
216
216
  const F = Ve(e);
217
217
  if (y.length === 0) {
218
- u = H({
218
+ u = Q({
219
219
  numericFields: r,
220
220
  category: a,
221
221
  config: e,
@@ -231,13 +231,13 @@ function qe(s) {
231
231
  seriesIndex: d,
232
232
  category: a,
233
233
  commonStrings: o
234
- }, b = F ? De(g) : O(g), w = $({
234
+ }, b = F ? De(g) : I(g), w = U({
235
235
  queryObject: t.layer,
236
236
  fieldName: i,
237
237
  fieldValue: m ?? ""
238
- }), C = `${m}`, B = e.series.find((re) => Q(re) === C), ie = B?.name ?? w ?? C;
239
- Se(B, b);
240
- const q = B ?? b, oe = {
238
+ }), C = `${m}`, A = e.series.find((re) => Z(re) === C), ie = A?.name ?? w ?? C;
239
+ Se(A, b);
240
+ const q = A ?? b, oe = {
241
241
  ...q,
242
242
  id: C,
243
243
  name: ie,
@@ -251,7 +251,7 @@ function qe(s) {
251
251
  };
252
252
  u.push(oe);
253
253
  }
254
- if (u = Z({
254
+ if (u = H({
255
255
  formerSeries: e.series,
256
256
  newSeries: u,
257
257
  showMean: V(e)
@@ -267,9 +267,9 @@ function qe(s) {
267
267
  return u;
268
268
  }
269
269
  const ls = (s) => {
270
- const { splitByField: e, numericFields: t, category: o, config: i, layerInfo: r, commonStrings: n, splitByFieldInfos: l } = s, { layerFieldsInfo: a } = r, y = Ye(o, t, e), c = me(a), u = L(i), F = Ie(i, r, n), d = _(i, r, n), m = Me({ config: i, layerInfo: r, newCategory: o });
271
- let g = U(i);
272
- if (!c.includes(u) && c.includes(o) ? g = Be() : c.includes(u) && !c.includes(o) && (g = Ae()), g !== void 0 && ae(i, n, g), Y(y ? { newShowMeanLines: i.showMean, config: i, commonStrings: n } : { newShowMeanLines: !1, config: i, commonStrings: n }), i.series = y && l ? qe({
270
+ const { splitByField: e, numericFields: t, category: o, config: i, layerInfo: r, commonStrings: n, splitByFieldInfos: l } = s, { layerFieldsInfo: a } = r, y = Ye(o, t, e), c = me(a), u = L(i), F = Oe(i, r, n), d = _(i, r, n), m = Me({ config: i, layerInfo: r, newCategory: o });
271
+ let g = K(i);
272
+ if (!c.includes(u) && c.includes(o) ? g = Ae() : c.includes(u) && !c.includes(o) && (g = Be()), g !== void 0 && ae(i, n, g), Y(y ? { newShowMeanLines: i.showMean, config: i, commonStrings: n } : { newShowMeanLines: !1, config: i, commonStrings: n }), i.series = y && l ? qe({
273
273
  config: i,
274
274
  layerInfo: r,
275
275
  splitByField: e,
@@ -277,7 +277,7 @@ const ls = (s) => {
277
277
  category: o,
278
278
  commonStrings: n,
279
279
  splitByFieldInfos: l
280
- }) : H({
280
+ }) : Q({
281
281
  numericFields: t,
282
282
  config: i,
283
283
  layerInfo: r,
@@ -288,22 +288,22 @@ const ls = (s) => {
288
288
  fieldName: o,
289
289
  numericFields: t,
290
290
  fieldList: a
291
- }) ? "" : A(a, o);
292
- I(i, 0, w);
291
+ }) ? "" : B(a, o);
292
+ O(i, 0, w);
293
293
  }
294
294
  if (d) {
295
295
  const b = T(i, r, n);
296
- I(i, 1, b);
296
+ O(i, 1, b);
297
297
  }
298
298
  i?.title !== void 0 && F && (i.title.content.text = ee(i, r, n)), E({ config: i, value: null, axisIndex: 1, isMax: !1 }), E({ config: i, value: null, axisIndex: 1, isMax: !0 });
299
299
  }, Ee = (s) => s?.standardizeValues ?? !1;
300
300
  function T(s, e, t) {
301
301
  const { layerFieldsInfo: o } = e;
302
302
  let r = Ee(s) ? t.axisLabels.standardizedValues : t.axisLabels.values, n = s?.series?.map((l) => l.y).flat();
303
- return n = [...new Set(n)], n.length === 1 && (r = A(o, n[0])), r;
303
+ return n = [...new Set(n)], n.length === 1 && (r = B(o, n[0])), r;
304
304
  }
305
305
  function ee(s, e, t) {
306
- const { layerFieldsInfo: o } = e, i = L(s), r = J(s), n = Pe(s), l = r.map((c) => A(o ?? [], c)).join(", "), a = A(o ?? [], i);
306
+ const { layerFieldsInfo: o } = e, i = L(s), r = J(s), n = Pe(s), l = r.map((c) => B(o ?? [], c)).join(", "), a = B(o ?? [], i);
307
307
  let y = "";
308
308
  return r.length > 0 && (i !== h && n !== "" ? y = v(t.titleLabels.distributionOfFieldsByCategoryAndSplitBy, {
309
309
  valueFields: l,
@@ -321,8 +321,8 @@ function ee(s, e, t) {
321
321
  }
322
322
  const as = (s) => {
323
323
  const { series: e, splitByField: t, layerInfo: o, commonStrings: i } = s;
324
- let r = typeof e.y == "string" ? A(o.layerFieldsInfo, e.y) : i.axisLabels.values;
325
- return ne(t) || (r = Q(e)), r = $({
324
+ let r = typeof e.y == "string" ? B(o.layerFieldsInfo, e.y) : i.axisLabels.values;
325
+ return ne(t) || (r = Z(e)), r = U({
326
326
  queryObject: o.layer,
327
327
  fieldName: t,
328
328
  fieldValue: r ?? ""
@@ -331,13 +331,13 @@ const as = (s) => {
331
331
  const { newShowOutliers: e, config: t, layerInfo: o, commonStrings: i } = s;
332
332
  if (t.showOutliers = e, _(t, o, i)) {
333
333
  const n = T(t, o, i);
334
- I(t, 1, n);
334
+ O(t, 1, n);
335
335
  }
336
336
  }, ys = (s) => {
337
337
  const { newStandardizeValues: e, config: t, layerInfo: o, commonStrings: i } = s, r = k(1, t), n = T(t, o, i), l = P(t);
338
338
  if (t.standardizeValues = e, r === n || l) {
339
339
  const a = T(t, o, i);
340
- I(t, 1, a);
340
+ O(t, 1, a);
341
341
  }
342
342
  }, se = (s) => {
343
343
  let e = f.xAxisAsc;
@@ -397,7 +397,7 @@ const as = (s) => {
397
397
  const { newShowMeanLines: e = !1, config: t, commonStrings: o, previousMeanLinesBoxColor: i } = s, r = e ? i : we(t), n = (e ?? !1) !== (t.showMean ?? !1);
398
398
  if (t.showMean = e, n) {
399
399
  let l;
400
- e ? l = fe(t.series) ? ke(t.series, o) : t.series : l = Ne(t.series), l && (l = Z({
400
+ e ? l = fe(t.series) ? ke(t.series, o) : t.series : l = Ne(t.series), l && (l = H({
401
401
  formerSeries: t.series,
402
402
  newSeries: l,
403
403
  showMean: e
@@ -416,7 +416,7 @@ const as = (s) => {
416
416
  orderBy: s
417
417
  });
418
418
  }, Ss = async (s) => {
419
- const { config: e, layerInfo: t, num: o, errorStrings: i } = s, r = L(e), n = U(e)?.type, l = J(e);
419
+ const { config: e, layerInfo: t, num: o, errorStrings: i } = s, r = L(e), n = K(e)?.type, l = J(e);
420
420
  let a = [];
421
421
  return n === p.CategoryAxisFormat && (N({
422
422
  fieldName: r,
@@ -432,7 +432,7 @@ const as = (s) => {
432
432
  }, te = (s) => s.trim() === "" || s === h, ze = (s, e) => e.length > 1 && !te(s), Ye = (s, e, t) => !ze(s, e) && t !== "";
433
433
  export {
434
434
  ve as A,
435
- Oe as B,
435
+ Ie as B,
436
436
  rs as C,
437
437
  ns as D,
438
438
  ee as E,
@@ -462,6 +462,6 @@ export {
462
462
  ts as v,
463
463
  is as w,
464
464
  os as x,
465
- Ze as y,
465
+ He as y,
466
466
  es as z
467
467
  };
@@ -3,13 +3,13 @@ import { isEqual as W } from "es-toolkit/compat";
3
3
  import { log as y } from "@arcgis/toolkit/log";
4
4
  import { a as O } from "./chart-object-literals.js";
5
5
  import { l as p, ap as P, a9 as D, g as R, aa as m, an as u, ab as S, r as A } from "./index2.js";
6
- import { eO as V, eN as E, cK as T, eP as N, cE as h, eM as z } from "./index.js";
6
+ import { eP as V, eO as T, cL as E, eQ as N, cF as h, eN as z } from "./index.js";
7
7
  import { m as s } from "./model-setter.js";
8
8
  import { B as U } from "./common.js";
9
- import { M as X, a as K, W as j, b as q } from "./data-labels-visibility.js";
10
- import { M as G, a as Y } from "./model-with-y-guides.js";
11
- import { W as k, c as H, d as J } from "./axis-lines-symbol.js";
12
- import { W as Q, c as Z, d as $ } from "./generate-x-axis-title.js";
9
+ import { M as X, a as j, W as q, b as G } from "./data-labels-visibility.js";
10
+ import { M as K, a as Y } from "./model-with-y-guides.js";
11
+ import { W as k, c as Q, d as H } from "./axis-lines-symbol.js";
12
+ import { W as J, c as Z, d as $ } from "./generate-x-axis-title.js";
13
13
  import { W as ee, a as te } from "./x-bounds.js";
14
14
  import { W as ie } from "./data-labels-symbol.js";
15
15
  import { W as se } from "./rotated-state.js";
@@ -112,7 +112,7 @@ class i extends Oe {
112
112
  return this._splitByField;
113
113
  }
114
114
  set splitByField(e) {
115
- E(this.layerInfo.layerFieldsInfo, e) ? (this._splitByField = e, this.processSeriesRebuild("splitByField")) : y("error", "box-plot-model", "Invalid `splitByField`");
115
+ T(this.layerInfo.layerFieldsInfo, e) ? (this._splitByField = e, this.processSeriesRebuild("splitByField")) : y("error", "box-plot-model", "Invalid `splitByField`");
116
116
  }
117
117
  /**
118
118
  * Whether outliers are shown.
@@ -296,7 +296,7 @@ class i extends Oe {
296
296
  * Fetches the split-by field information and stores it in a private member for use in building the series.
297
297
  */
298
298
  async fetchSplitByFieldInfos() {
299
- const { fetchNullValues: e } = T(this._config)?.query ?? {};
299
+ const { fetchNullValues: e } = E(this._config)?.query ?? {};
300
300
  return this.splitByFieldInfos = await N({
301
301
  config: this._config,
302
302
  layer: this.layerInfo.layer,
@@ -524,21 +524,21 @@ r([
524
524
  s
525
525
  ], i.prototype, "resetSeriesStyling");
526
526
  const Re = [
527
- G,
528
- X,
529
527
  K,
528
+ X,
530
529
  j,
531
- se,
532
530
  q,
531
+ se,
532
+ G,
533
533
  ie,
534
534
  Y,
535
- Q,
535
+ J,
536
536
  ee,
537
537
  Z,
538
538
  te,
539
539
  k,
540
+ Q,
540
541
  H,
541
- J,
542
542
  $
543
543
  ];
544
544
  z(i, Re);
@@ -1,5 +1,5 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import { bQ as j, r as F, eM as W } from "./index.js";
2
+ import { bR as j, r as F, eN as W } from "./index.js";
3
3
  import { g as L, W as I, c as z, d as N } from "./series-length.js";
4
4
  import { m as a, C as n } from "./model-setter.js";
5
5
  import { a4 as p, a6 as c, a5 as f } from "./index2.js";
@@ -36,8 +36,8 @@ class h extends n {
36
36
  U([
37
37
  a
38
38
  ], h.prototype, "titleSymbol");
39
- var q = Object.defineProperty, Q = Object.getOwnPropertyDescriptor, A = (e, t, r, l) => {
40
- for (var i = Q(t, r), s = e.length - 1, o; s >= 0; s--)
39
+ var q = Object.defineProperty, A = Object.getOwnPropertyDescriptor, G = (e, t, r, l) => {
40
+ for (var i = A(t, r), s = e.length - 1, o; s >= 0; s--)
41
41
  (o = e[s]) && (i = o(t, r, i) || i);
42
42
  return i && q(t, r, i), i;
43
43
  };
@@ -52,10 +52,10 @@ class u extends n {
52
52
  this._config = t;
53
53
  }
54
54
  }
55
- A([
55
+ G([
56
56
  a
57
57
  ], u.prototype, "config");
58
- class G extends n {
58
+ class H extends n {
59
59
  /**
60
60
  * The chart model's layer.
61
61
  */
@@ -63,18 +63,18 @@ class G extends n {
63
63
  return this.layerInfo?.layer;
64
64
  }
65
65
  }
66
- const H = (e) => e.id, J = (e, t) => {
66
+ const J = (e) => e.id, K = (e, t) => {
67
67
  t.id = e;
68
68
  };
69
- class K extends n {
69
+ class Q extends n {
70
70
  /**
71
71
  * The chart ID.
72
72
  */
73
73
  get chartId() {
74
- return H(this._config);
74
+ return J(this._config);
75
75
  }
76
76
  set chartId(t) {
77
- J(t, this._config);
77
+ K(t, this._config);
78
78
  }
79
79
  }
80
80
  const X = (e) => e.version;
@@ -376,7 +376,7 @@ var Ut = Object.defineProperty, Bt = Object.getOwnPropertyDescriptor, Et = (e, t
376
376
  (o = e[s]) && (i = o(t, r, i) || i);
377
377
  return i && Ut(t, r, i), i;
378
378
  };
379
- const qt = (e, t) => t.series[e].visible ?? !0, Qt = (e, t) => {
379
+ const qt = (e, t) => t.series[e].visible ?? !0, At = (e, t) => {
380
380
  j({ detail: e }, t);
381
381
  };
382
382
  class C extends n {
@@ -389,14 +389,14 @@ class C extends n {
389
389
  return qt(t, this._config);
390
390
  }
391
391
  setSeriesVisibility(t) {
392
- Qt(t, this._config);
392
+ At(t, this._config);
393
393
  }
394
394
  }
395
395
  Et([
396
396
  a
397
397
  ], C.prototype, "setSeriesVisibility");
398
- const At = (e, t) => t.series[e]?.id;
399
- class Gt extends n {
398
+ const Gt = (e, t) => t.series[e]?.id;
399
+ class Ht extends n {
400
400
  /**
401
401
  * Gets the series ID for a given series index.
402
402
  * If the series index is out of bounds, this function will return `undefined`.
@@ -404,11 +404,11 @@ class Gt extends n {
404
404
  * @param seriesIndex - The index of the series.
405
405
  */
406
406
  getSeriesId(t) {
407
- return At(t, this._config);
407
+ return Gt(t, this._config);
408
408
  }
409
409
  }
410
- const Ht = (e, t) => t.series.findIndex((r) => r.id === e);
411
- class Jt extends n {
410
+ const Jt = (e, t) => t.series.findIndex((r) => r.id === e);
411
+ class Kt extends n {
412
412
  /**
413
413
  * Gets the series index for a given series ID.
414
414
  * If the series ID is not found, this function will return `undefined`.
@@ -416,16 +416,16 @@ class Jt extends n {
416
416
  * @param seriesId - The ID of the series.
417
417
  */
418
418
  getSeriesIndex(t) {
419
- return Ht(t, this._config);
419
+ return Jt(t, this._config);
420
420
  }
421
421
  }
422
- const Kt = (e) => F(e.series);
422
+ const Qt = (e) => F(e.series);
423
423
  class Xt extends n {
424
424
  /**
425
425
  * The chart sub type of the series.
426
426
  */
427
427
  get chartSubType() {
428
- return Kt(this._config);
428
+ return Qt(this._config);
429
429
  }
430
430
  }
431
431
  var Yt = Object.defineProperty, Zt = Object.getOwnPropertyDescriptor, kt = (e, t, r, l) => {
@@ -543,8 +543,8 @@ class ve extends n {
543
543
  }
544
544
  const ge = [
545
545
  u,
546
- G,
547
- K,
546
+ H,
547
+ Q,
548
548
  I,
549
549
  h,
550
550
  Y,
@@ -558,8 +558,8 @@ const ge = [
558
558
  x,
559
559
  T,
560
560
  C,
561
- Gt,
562
- Jt,
561
+ Ht,
562
+ Kt,
563
563
  z,
564
564
  Xt,
565
565
  $,
@@ -1,6 +1,6 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
  import { F as o, W as f } from "./interfaces.js";
3
- import { cO as b, J as g, cl as d, c6 as N } from "./index.js";
3
+ import { cP as b, J as g, cm as d, c7 as N } from "./index.js";
4
4
  import { R as u } from "./rest-js-object-literals.js";
5
5
  import { d as r, l as c } from "./chart-object-literals.js";
6
6
  import { F as n } from "./common.js";
@@ -110,7 +110,7 @@ function B(e) {
110
110
  }
111
111
  const M = (e) => {
112
112
  ["e", "E"].includes(e.key) && e.preventDefault();
113
- }, U = (e) => {
113
+ }, P = (e) => {
114
114
  if (e.pickListElement !== void 0) {
115
115
  const t = e.pickListElement.selectedItems;
116
116
  e.eventEmitter.emit({
@@ -119,7 +119,7 @@ const M = (e) => {
119
119
  });
120
120
  }
121
121
  };
122
- function W(e) {
122
+ function U(e) {
123
123
  let t = "line-solid";
124
124
  switch (e) {
125
125
  case u.Dash:
@@ -135,7 +135,7 @@ function W(e) {
135
135
  }
136
136
  return t;
137
137
  }
138
- function P(e, t) {
138
+ function W(e, t) {
139
139
  const i = document.createElement("a");
140
140
  i.style.display = "none", i.download = t, i.setAttribute("href", e), i.click(), i.remove(), URL.revokeObjectURL(e);
141
141
  }
@@ -153,10 +153,10 @@ export {
153
153
  w as a,
154
154
  T as b,
155
155
  F as c,
156
- P as d,
156
+ W as d,
157
157
  O as e,
158
- U as f,
159
- W as g,
158
+ P as f,
159
+ U as g,
160
160
  B as h,
161
161
  S as i,
162
162
  v as j,
@@ -4,7 +4,7 @@ import { g as h } from "./runtime.js";
4
4
  import { fetchT9nStringsBundle as n } from "@arcgis/toolkit/intl";
5
5
  import { getElementLocale as m } from "@arcgis/toolkit/intl/dom";
6
6
  import { a as e } from "./chart-object-literals.js";
7
- import { cO as p } from "./index.js";
7
+ import { cP as p } from "./index.js";
8
8
  function k(s) {
9
9
  const c = o(s.series);
10
10
  let r = "graph-bar";
@@ -1,7 +1,7 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
  import G from "@arcgis/core/Color.js";
3
3
  import { createClassBreaksRenderer as J } from "@arcgis/core/smartMapping/renderers/color.js";
4
- import { cP as Q, cQ as L } from "./index.js";
4
+ import { cQ as Q, cR as L } from "./index.js";
5
5
  import { cloneDeep as Y, memoize as U, isEqual as O, sortBy as X, flatMap as Z } from "es-toolkit/compat";
6
6
  import { getSchemes as ee } from "@arcgis/core/smartMapping/symbology/color.js";
7
7
  import { i as V } from "./index2.js";
@@ -182,7 +182,7 @@ const xe = {
182
182
  convertColor: x,
183
183
  removeConfigFieldsFromData: j
184
184
  }, T = te.all(), le = ee({ geometryType: "point", theme: "high-to-low" });
185
- function P(e, o, t) {
185
+ function K(e, o, t) {
186
186
  const s = Math.max(0, Math.min(1, t));
187
187
  return [
188
188
  Math.round(e[0] + (o[0] - e[0]) * s),
@@ -209,12 +209,12 @@ function ie(e) {
209
209
  else
210
210
  for (let n = 0; n < o; n++) {
211
211
  const i = n / (o - 1);
212
- r.push(P(a, l, i));
212
+ r.push(K(a, l, i));
213
213
  }
214
214
  }
215
215
  return r;
216
216
  }
217
- function K(e) {
217
+ function P(e) {
218
218
  const { colorRamp: o, numberOfClassBreaks: t, isFlipped: s } = e;
219
219
  let c = [], r = !1;
220
220
  if (o.colorsForClassBreaks && o.colorsForClassBreaks.length > 0) {
@@ -238,7 +238,7 @@ function K(e) {
238
238
  c = [];
239
239
  break;
240
240
  }
241
- const R = u * (l.length - 1) - f, C = P(m, p, R);
241
+ const R = u * (l.length - 1) - f, C = K(m, p, R);
242
242
  n.push(C);
243
243
  }
244
244
  c = n;
@@ -249,7 +249,7 @@ function K(e) {
249
249
  function W(e) {
250
250
  const { numberOfClassBreaks: o, selectedColorRamp: t, colorRamp: s, isFlipped: c = !1 } = e;
251
251
  let r = ne(o, s);
252
- const a = t ? K({ colorRamp: t, numberOfClassBreaks: o, isFlipped: c }) : [];
252
+ const a = t ? P({ colorRamp: t, numberOfClassBreaks: o, isFlipped: c }) : [];
253
253
  return r.length !== o && (r = a), r.length !== o && (r = ie({
254
254
  numberOfClassBreaks: o,
255
255
  baseColors: a.length > 0 ? a : s
@@ -397,7 +397,7 @@ function de(e) {
397
397
  return o.size === 1 ? t : void 0;
398
398
  }
399
399
  function pe(e, o) {
400
- const t = K({
400
+ const t = P({
401
401
  colorRamp: A.defaultColorRampForCharts,
402
402
  numberOfClassBreaks: 1
403
403
  })[0];