@arcgis/charts-components 5.2.3 → 5.2.5

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 (166) hide show
  1. package/dist/cdn/{I5JXNSMW.js → 26LD3JDE.js} +1 -1
  2. package/dist/cdn/{UYQTXFCW.js → 2SRLYXXC.js} +1 -1
  3. package/dist/cdn/{BTSCZNHG.js → 3ZJ6LPKN.js} +1 -1
  4. package/dist/cdn/{NIJPEYBN.js → 44PYM2TJ.js} +1 -1
  5. package/dist/cdn/{H6ZF2I7S.js → 44Z3FQLY.js} +1 -1
  6. package/dist/cdn/{KMSUWCI6.js → 46GFREHY.js} +1 -1
  7. package/dist/cdn/{TCH4J3F6.js → 4HXCSWFW.js} +1 -1
  8. package/dist/cdn/{BIBN2SQU.js → 4LTBO3OH.js} +1 -1
  9. package/dist/cdn/{X47VAXVY.js → 5PW4GYCQ.js} +1 -1
  10. package/dist/cdn/{WA5VS7K6.js → 644ZYZSU.js} +1 -1
  11. package/dist/cdn/{SSYS6VT2.js → 6ABL27JK.js} +1 -1
  12. package/dist/cdn/{F55Y2EPO.js → 6NKPJKJZ.js} +1 -1
  13. package/dist/cdn/{75HWWMEG.js → 6QBVLG2I.js} +1 -1
  14. package/dist/cdn/{HUPBTTYO.js → 7AMD4YN6.js} +1 -1
  15. package/dist/cdn/{7QKHK4XD.js → 7BHQ4WZG.js} +1 -1
  16. package/dist/cdn/{JYANGPFS.js → 7BNWTGZF.js} +1 -1
  17. package/dist/cdn/{YMIPGKRK.js → 7BRKP3WF.js} +1 -1
  18. package/dist/cdn/{6RZYKXDA.js → 7U7GWGJK.js} +1 -1
  19. package/dist/cdn/{CR4MU3W6.js → 7YHWGOAD.js} +1 -1
  20. package/dist/cdn/{NWJR42GU.js → 7YKEPQPV.js} +1 -1
  21. package/dist/cdn/{P657CUK2.js → A63ZBLBQ.js} +1 -1
  22. package/dist/cdn/{TRFGSCB4.js → A7TCEMYA.js} +1 -1
  23. package/dist/cdn/{5NXG23F4.js → C3JQWRBV.js} +1 -1
  24. package/dist/cdn/{RW3ON36X.js → DKMC6A3E.js} +1 -1
  25. package/dist/cdn/{JUBE7XD2.js → DUOJT67J.js} +1 -1
  26. package/dist/cdn/{JZU4SOIS.js → DV4E5BS7.js} +1 -1
  27. package/dist/cdn/{5DHIEIKM.js → DZBOEW4R.js} +1 -1
  28. package/dist/cdn/{76YX2DGE.js → E4PHGP2D.js} +1 -1
  29. package/dist/cdn/{UHJ7VTFD.js → EA2QTPDF.js} +1 -1
  30. package/dist/cdn/{UA55OQF3.js → EHL5S6MD.js} +1 -1
  31. package/dist/cdn/{XK5OMNAS.js → EKQKUKY6.js} +1 -1
  32. package/dist/cdn/{4DK44E5O.js → ES4YBG5J.js} +1 -1
  33. package/dist/cdn/{5E24TRTV.js → EWG2EF2Z.js} +1 -1
  34. package/dist/cdn/{GXNMIY2V.js → FDSPMHM2.js} +2 -2
  35. package/dist/cdn/{KOO5EZH6.js → FDZYFCPS.js} +1 -1
  36. package/dist/cdn/{ULANMCAP.js → FFYXLNXZ.js} +1 -1
  37. package/dist/cdn/{6KJ3ATLC.js → FG6MPOF7.js} +1 -1
  38. package/dist/cdn/{A34FRLBP.js → FKL4VDVU.js} +1 -1
  39. package/dist/cdn/{I3AJHPG3.js → G7WKKRGY.js} +1 -1
  40. package/dist/cdn/{R55EYC4S.js → GK3LWYI2.js} +21 -21
  41. package/dist/cdn/{3PL6X4PU.js → GS3E5GJJ.js} +1 -1
  42. package/dist/cdn/{RKIFK4DG.js → GX5XKLFE.js} +1 -1
  43. package/dist/cdn/{YTW4BANB.js → H4GN7TDZ.js} +1 -1
  44. package/dist/cdn/{KTFNKN5F.js → HHXU2JWX.js} +1 -1
  45. package/dist/cdn/{TQK5XUSK.js → HMP2CHBB.js} +1 -1
  46. package/dist/cdn/{5J6IA3AT.js → JDTF4G67.js} +1 -1
  47. package/dist/cdn/{FJDJEGBB.js → JR7ZVPCH.js} +1 -1
  48. package/dist/cdn/{FTUDHR5D.js → JXRE2WQR.js} +1 -1
  49. package/dist/cdn/{EFVPTYFY.js → JZHNQWPY.js} +1 -1
  50. package/dist/cdn/{KHIAPS7F.js → K7MPLY6I.js} +1 -1
  51. package/dist/cdn/{LRSAWJXU.js → KFJ2NIK7.js} +1 -1
  52. package/dist/cdn/{NAS5U23Y.js → KFOQPBDA.js} +1 -1
  53. package/dist/cdn/{ZNE4F3GH.js → KMXPTRVD.js} +1 -1
  54. package/dist/cdn/{CDRFXW4A.js → KSTCNHA2.js} +1 -1
  55. package/dist/cdn/{TFIU4IUB.js → KT6AEWCK.js} +1 -1
  56. package/dist/cdn/{QCKR4OTA.js → KUDV2WGH.js} +1 -1
  57. package/dist/cdn/{BCHANC26.js → LEYLW7KZ.js} +1 -1
  58. package/dist/cdn/{FF6SXLVE.js → MA2C2A3Z.js} +1 -1
  59. package/dist/cdn/{BTNU6VLH.js → MAGKESKX.js} +1 -1
  60. package/dist/cdn/{WUP5BSUX.js → MNOE2KFI.js} +1 -1
  61. package/dist/cdn/{RW7RIOD3.js → NAFR5NQW.js} +1 -1
  62. package/dist/cdn/{NOMIOWXZ.js → NLI6JDBZ.js} +1 -1
  63. package/dist/cdn/{ZGN6WYDJ.js → NNMZZZUF.js} +1 -1
  64. package/dist/cdn/{EQWLGHXR.js → P5QUAH6M.js} +2 -2
  65. package/dist/cdn/{VKNN66QE.js → PMR2IBGO.js} +1 -1
  66. package/dist/cdn/{2ITRCZ43.js → PZKLLW46.js} +1 -1
  67. package/dist/cdn/{F2WF5LOK.js → Q7WV4V3K.js} +1 -1
  68. package/dist/cdn/{6HMFCTSE.js → QEDGL5JC.js} +1 -1
  69. package/dist/cdn/{4RUGZX4B.js → R3GFDLUB.js} +1 -1
  70. package/dist/cdn/{2DHOWU74.js → SF2ORJF7.js} +1 -1
  71. package/dist/cdn/{76U7GN3L.js → SNIBCBGO.js} +1 -1
  72. package/dist/cdn/{TT5HDSP6.js → SS7GGYHT.js} +1 -1
  73. package/dist/cdn/{4T63TCAU.js → STGQXZRH.js} +1 -1
  74. package/dist/cdn/{IVJNEGWU.js → STMML4MI.js} +1 -1
  75. package/dist/cdn/{OWLTOYDG.js → TLUMTYZB.js} +1 -1
  76. package/dist/cdn/{TDHOHWAC.js → TN36JLAZ.js} +1 -1
  77. package/dist/cdn/{UY3IN55T.js → TNYROJYG.js} +1 -1
  78. package/dist/cdn/{AWBGXQRZ.js → TPIAUZXB.js} +1 -1
  79. package/dist/cdn/{7GB2Q6OS.js → TX2VRZUB.js} +1 -1
  80. package/dist/cdn/{TG7JNJCB.js → UCB2BAAC.js} +1 -1
  81. package/dist/cdn/{NKN7AFL4.js → UE7EIFB3.js} +1 -1
  82. package/dist/cdn/{NPYUDYKA.js → UEAY5SKM.js} +1 -1
  83. package/dist/cdn/{6MCRBGLJ.js → UMCC77N4.js} +1 -1
  84. package/dist/cdn/{YN5ITGQJ.js → V4KN7OD4.js} +1 -1
  85. package/dist/cdn/{VLRPMYSL.js → VH6VQ37J.js} +1 -1
  86. package/dist/cdn/{LU75T4XH.js → VU4U6YMJ.js} +1 -1
  87. package/dist/cdn/{PMXISOZT.js → VZPZKB24.js} +1 -1
  88. package/dist/cdn/{YGO7XLM2.js → WLXVOKTG.js} +1 -1
  89. package/dist/cdn/{FXHGYIYN.js → XDHCY3VP.js} +1 -1
  90. package/dist/cdn/{OGAZTEWM.js → XHRMPF3Q.js} +1 -1
  91. package/dist/cdn/{4QJLNQVP.js → XIITX6LZ.js} +1 -1
  92. package/dist/cdn/{SHHHKG57.js → XJMA365C.js} +1 -1
  93. package/dist/cdn/{W3QA6ZI7.js → XT3G7EDM.js} +1 -1
  94. package/dist/cdn/{6RGFJYNO.js → XXLHI5DE.js} +1 -1
  95. package/dist/cdn/{JV4NMPZ4.js → ZAGZ5BI4.js} +1 -1
  96. package/dist/cdn/{F6JR4B5W.js → ZCYSBI3V.js} +1 -1
  97. package/dist/cdn/{RZAKMRDK.js → ZKML6BIS.js} +1 -1
  98. package/dist/cdn/{AZP4RGFP.js → ZPHKQU77.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 +46 -46
  104. package/dist/chunks/box-plot-model.js +18 -18
  105. package/dist/chunks/chart-model.js +32 -32
  106. package/dist/chunks/chart-ui-utils.js +3 -3
  107. package/dist/chunks/chart-ui-utils2.js +1 -1
  108. package/dist/chunks/class-breaks.js +15 -15
  109. package/dist/chunks/combo-bar-line-chart-model.js +9 -9
  110. package/dist/chunks/data.js +11 -11
  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 +1 -1
  124. package/dist/chunks/runtime.js +1 -1
  125. package/dist/chunks/scatterplot-model.js +3 -3
  126. package/dist/chunks/serial-chart-data.js +47 -47
  127. package/dist/chunks/serial-chart-model.js +20 -20
  128. package/dist/chunks/series-length.js +11 -11
  129. package/dist/chunks/utils.js +19 -19
  130. package/dist/chunks/web-component-utils.js +19 -19
  131. package/dist/chunks/x-bounds.js +7 -7
  132. package/dist/components/arcgis-chart/customElement.js +2068 -2057
  133. package/dist/components/arcgis-charts-action-bar/customElement.js +6 -6
  134. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
  135. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +1 -1
  136. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +3 -3
  137. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +1 -1
  138. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +1 -1
  139. package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
  140. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +1 -1
  141. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +1 -1
  142. package/dist/components/arcgis-charts-config-create-flow/customElement.js +5 -5
  143. package/dist/components/arcgis-charts-config-format/customElement.js +1 -1
  144. package/dist/components/arcgis-charts-config-guide/customElement.js +1 -1
  145. package/dist/components/arcgis-charts-config-heat-chart/customElement.js +1 -1
  146. package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +1 -1
  147. package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +1 -1
  148. package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
  149. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +1 -1
  150. package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
  151. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +1 -1
  152. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +1 -1
  153. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +3 -3
  154. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +1 -1
  155. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +6 -6
  156. package/dist/components/arcgis-charts-config-scatter-plot-aoi/customElement.js +1 -1
  157. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +1 -1
  158. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +1 -1
  159. package/dist/components/arcgis-charts-config-view-charts/customElement.js +1 -1
  160. package/dist/components/arcgis-charts-info-modal/customElement.js +1 -1
  161. package/dist/docs/api.json +1 -1
  162. package/dist/docs/docs.json +1 -1
  163. package/dist/docs/web-types.json +1 -1
  164. package/dist/index.js +66 -66
  165. package/dist/utils/chart-config/converter/index.js +37 -37
  166. package/package.json +4 -4
@@ -1,24 +1,24 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
2
  import { isEqual as x } from "es-toolkit/compat";
3
3
  import { a as _, c as b, d as f } from "./chart-object-literals.js";
4
- import { cz as v, cD as L, eN as M, eO as P, c5 as p, u as N, eP as V, eM as k } from "./index.js";
4
+ import { cA as v, cE as L, eO as P, eP as M, c6 as p, u as N, eQ as V, eN as k } from "./index.js";
5
5
  import { i as R } from "./index3.js";
6
6
  import { m as o } from "./model-setter.js";
7
7
  import { S as E } from "./common.js";
8
8
  import { M as U, a as j, W as X, b as Y } from "./data-labels-visibility.js";
9
9
  import { M as w, a as z } from "./model-with-y-guides.js";
10
10
  import { C as O } from "./chart-model.js";
11
- import { g as S, d as u, j as K, k as q, l as G, m as $, n as Z, o as H, q as J, t as Q, v as ee, w as ie, x as te, y as se, z as m, A as T, B, C as d, D as re, E as oe, e as ne, F as ae, W as le } from "./serial-chart-data.js";
11
+ import { g as S, d as u, j as K, k as q, l as G, m as $, n as Q, o as Z, q as H, t as J, v as ee, w as ie, x as te, y as se, z as m, A as T, B, C as d, D as re, E as oe, e as ne, F as ae, W as le } from "./serial-chart-data.js";
12
12
  import { M as ge } from "./model-with-x-guides.js";
13
13
  import { W as ce, c as he, d as fe } from "./axis-lines-symbol.js";
14
14
  import { W as pe, c as me, d as de } from "./generate-x-axis-title.js";
15
15
  import { W as ye, a as Se } from "./x-bounds.js";
16
16
  import { W as ue } from "./data-labels-symbol.js";
17
17
  import { W as _e } from "./rotated-state.js";
18
- import { a as D, u as xe, d as C } from "./utils.js";
18
+ import { a as W, u as xe, d as C } from "./utils.js";
19
19
  import { d as y, e as F, a as Te } from "./data.js";
20
20
  import { u as Be, m as Ce, ag as Fe, j as Ae, k as Ie } from "./index2.js";
21
- import { s as W } from "./series-types.js";
21
+ import { s as D } from "./series-types.js";
22
22
  const A = (s, e) => e.series?.[s].assignToSecondValueAxis ?? !1, I = (s) => {
23
23
  const { assign: e, seriesIndex: i, config: t, commonStrings: r } = s;
24
24
  e && t.axes !== void 0 && !t.axes?.[2] && (t.axes[2] = Fe(r, _.BarSeries)[1]), t.series && t.series.forEach((l, g) => {
@@ -41,14 +41,14 @@ const A = (s, e) => e.series?.[s].assignToSecondValueAxis ?? !1, I = (s) => {
41
41
  ...t.lineSymbol,
42
42
  color: s
43
43
  }));
44
- }, De = (s) => s.series.map((e) => e.id), We = (s, e) => {
44
+ }, We = (s) => s.series.map((e) => e.id), De = (s, e) => {
45
45
  e.series?.sort(
46
46
  (i, t) => s.findIndex((r) => i.id === r) - s.findIndex((r) => t.id === r)
47
47
  );
48
- }, Me = (s) => s.stackedType ?? b.Side, Pe = (s) => {
48
+ }, Pe = (s) => s.stackedType ?? b.Side, Me = (s) => {
49
49
  const { newStackedType: e, config: i, layerInfo: t, commonStrings: r } = s;
50
50
  if (i.stackedType = e, t !== void 0) {
51
- const l = D({
51
+ const l = W({
52
52
  config: i,
53
53
  layerInfo: t,
54
54
  commonStrings: r,
@@ -61,11 +61,11 @@ const A = (s, e) => e.series?.[s].assignToSecondValueAxis ?? !1, I = (s) => {
61
61
  }, Ne = (s) => {
62
62
  const e = {};
63
63
  return s.series.forEach((i) => {
64
- W(i) && "nullCategory" in i && i.nullCategory !== void 0 && (e.text ??= i.nullCategory.text, i.type === _.BarSeries ? e.fillSymbol ??= i.nullCategory.fillSymbol : e.markerSymbol ??= i.nullCategory.markerSymbol);
64
+ D(i) && "nullCategory" in i && i.nullCategory !== void 0 && (e.text ??= i.nullCategory.text, i.type === _.BarSeries ? e.fillSymbol ??= i.nullCategory.fillSymbol : e.markerSymbol ??= i.nullCategory.markerSymbol);
65
65
  }), e.text || e.fillSymbol || e.markerSymbol ? e : void 0;
66
66
  }, Ve = (s, e) => {
67
67
  s.series.forEach((i) => {
68
- W(i) && (e ? i.type === _.BarSeries ? i.nullCategory = { text: e?.text, fillSymbol: e?.fillSymbol } : i.nullCategory = { text: e?.text, markerSymbol: e?.markerSymbol } : i.nullCategory = void 0);
68
+ D(i) && (e ? i.type === _.BarSeries ? i.nullCategory = { text: e?.text, fillSymbol: e?.fillSymbol } : i.nullCategory = { text: e?.text, markerSymbol: e?.markerSymbol } : i.nullCategory = void 0);
69
69
  });
70
70
  };
71
71
  var ke = Object.defineProperty, Re = Object.getOwnPropertyDescriptor, h = (s, e, i, t) => {
@@ -96,19 +96,19 @@ class c extends O {
96
96
  * Time aggregation type for a temporal bar chart or line chart.
97
97
  */
98
98
  get timeAggregationType() {
99
- return Z(this._config);
99
+ return Q(this._config);
100
100
  }
101
101
  set timeAggregationType(e) {
102
- H(e, this._config);
102
+ Z(e, this._config);
103
103
  }
104
104
  /**
105
105
  * Whether to trim incomplete time intervals for a temporal bar chart or line chart.
106
106
  */
107
107
  get trimIncompleteTimeInterval() {
108
- return J(this._config);
108
+ return H(this._config);
109
109
  }
110
110
  set trimIncompleteTimeInterval(e) {
111
- Q(e, this._config);
111
+ J(e, this._config);
112
112
  }
113
113
  /**
114
114
  * Policy which tells the chart how to handle null values.
@@ -248,7 +248,7 @@ class n extends O {
248
248
  return this._splitByField;
249
249
  }
250
250
  set splitByField(e) {
251
- this.layerInfo?.layerFieldsInfo && M(this.layerInfo?.layerFieldsInfo, e) && (this._splitByField = e, this.processSeriesRebuild("splitByField"));
251
+ this.layerInfo?.layerFieldsInfo && P(this.layerInfo?.layerFieldsInfo, e) && (this._splitByField = e, this.processSeriesRebuild("splitByField"));
252
252
  }
253
253
  /**
254
254
  * The numeric fields array for the chart.
@@ -258,7 +258,7 @@ class n extends O {
258
258
  }
259
259
  set numericFields(e) {
260
260
  typeof e == "string" && (e = [e]);
261
- const i = P(this.layerInfo?.layerFieldsInfo ?? [], e), t = (this.xAxisField === "" || this.xAxisField === p) && e.length === 0;
261
+ const i = M(this.layerInfo?.layerFieldsInfo ?? [], e), t = (this.xAxisField === "" || this.xAxisField === p) && e.length === 0;
262
262
  if (i && !t) {
263
263
  const r = N(this.layerInfo.layer).idField;
264
264
  e.length === 0 && r !== void 0 ? (e = [r], this._aggregationType = f.Count) : this._aggregationType === f.Count && e.length >= 1 && r !== void 0 && !e.includes(r) && (this._aggregationType = f.Sum), this._numericFields = e, this.numericFields.length > 1 && (this._splitByField = ""), this.processSeriesRebuild("numericFields");
@@ -417,10 +417,10 @@ class n extends O {
417
417
  * orders categories or numeric values within the chart data.
418
418
  */
419
419
  getOrderOfSeries() {
420
- return De(this._config);
420
+ return We(this._config);
421
421
  }
422
422
  setOrderOfSeries(e) {
423
- We(e, this._config);
423
+ De(e, this._config);
424
424
  }
425
425
  /**
426
426
  * How the bars (lines) should be placed when multiple series are rendered in the same chart, say when "split by" operation is executed on any field or
@@ -429,10 +429,10 @@ class n extends O {
429
429
  * **Note**: Currently this property is only used for bar charts and line charts.
430
430
  */
431
431
  get stackedType() {
432
- return Me(this._config);
432
+ return Pe(this._config);
433
433
  }
434
434
  set stackedType(e) {
435
- Pe({
435
+ Me({
436
436
  newStackedType: e,
437
437
  config: this._config,
438
438
  layerInfo: this.layerInfo,
@@ -538,7 +538,7 @@ class n extends O {
538
538
  * Generate the proper y-axis title given the current config.
539
539
  */
540
540
  generateYAxisTitle() {
541
- return this.layerInfo !== void 0 ? D({
541
+ return this.layerInfo !== void 0 ? W({
542
542
  config: this._config,
543
543
  layerInfo: this.layerInfo,
544
544
  commonStrings: this.commonStrings,
@@ -1,8 +1,8 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
2
  import { m as n, C as a } from "./model-setter.js";
3
3
  import { a4 as o, a5 as g, a6 as h } from "./index2.js";
4
- import { Z as p } from "./index.js";
5
- var f = Object.defineProperty, c = Object.getOwnPropertyDescriptor, u = (t, e, i, _) => {
4
+ import { _ as p } from "./index.js";
5
+ var f = Object.defineProperty, c = Object.getOwnPropertyDescriptor, u = (t, e, i, T) => {
6
6
  for (var s = c(e, i), r = t.length - 1, l; r >= 0; r--)
7
7
  (l = t[r]) && (s = l(e, i, s) || s);
8
8
  return s && f(e, i, s), s;
@@ -14,7 +14,7 @@ const x = (t) => t.title?.content.text ?? "", d = (t, e) => {
14
14
  font: g(h.ChartTitle)
15
15
  }));
16
16
  };
17
- class m extends a {
17
+ class _ extends a {
18
18
  /**
19
19
  * The chart title text.
20
20
  */
@@ -27,29 +27,29 @@ class m extends a {
27
27
  }
28
28
  u([
29
29
  n
30
- ], m.prototype, "titleText");
31
- const v = (t) => t.series.map((e) => String(p({ where: e.query?.where }))).filter((e) => e !== void 0);
30
+ ], _.prototype, "titleText");
31
+ const m = (t) => t.series.map((e) => String(p({ where: e.query?.where }))).filter((e) => e !== void 0);
32
32
  class C extends a {
33
33
  /**
34
34
  * The split-by values for the chart.
35
35
  */
36
36
  get splitByValues() {
37
- return v(this._config);
37
+ return m(this._config);
38
38
  }
39
39
  }
40
- const T = (t) => t.series.length ?? 0;
40
+ const v = (t) => t.series.length ?? 0;
41
41
  class b extends a {
42
42
  /**
43
43
  * The length of the series array.
44
44
  */
45
45
  get seriesLength() {
46
- return T(this._config);
46
+ return v(this._config);
47
47
  }
48
48
  }
49
49
  export {
50
- m as W,
51
- v as a,
52
- T as b,
50
+ _ as W,
51
+ m as a,
52
+ v as b,
53
53
  b as c,
54
54
  C as d,
55
55
  x as g
@@ -2,7 +2,7 @@
2
2
  import { J as I, a4 as c, a5 as x, $ as F, ag as h, a6 as n } from "./index2.js";
3
3
  import { substitute as b } from "@arcgis/core/intl.js";
4
4
  import { g as S } from "./series-types.js";
5
- import { a3 as L, x as v, u as V, az as y } from "./index.js";
5
+ import { a4 as L, x as A, u as V, aA as y } from "./index.js";
6
6
  import { c as k, a as r, d as f } from "./chart-object-literals.js";
7
7
  const d = (i) => {
8
8
  const { config: e, axisIndex: s, callback: t } = i;
@@ -32,9 +32,9 @@ function w(i) {
32
32
  else {
33
33
  const g = I(o, t);
34
34
  if (e.series[0]?.type === r.HeatSeries)
35
- l = v(s.layerFieldsInfo, e.series[0].y);
35
+ l = A(s.layerFieldsInfo, e.series[0].y);
36
36
  else if (a.length === 1) {
37
- const u = v(s.layerFieldsInfo, a[0]), m = V(s.layer).idField;
37
+ const u = A(s.layerFieldsInfo, a[0]), m = V(s.layer).idField;
38
38
  o === f.NoAggregation ? l = u : o === f.Count && m !== void 0 && a[0] === m ? l = t.utilsStrings.statistics.count : l = b(t.axisLabels.aggregationOfFieldName, {
39
39
  aggregation: g,
40
40
  fieldName: u
@@ -48,14 +48,14 @@ function w(i) {
48
48
  const p = (i, e, s) => i.axes?.[e] ?? h(s, i.type)[e], T = (i) => {
49
49
  const { config: e, axis: s, axisIndex: t } = i;
50
50
  e.axes !== void 0 && (e.axes[t] = s);
51
- }, z = (i) => {
51
+ }, G = (i) => {
52
52
  const { config: e, axisIndex: s, isMax: t } = i;
53
53
  let a = Number.NaN;
54
54
  return t ? a = e.axes?.[s]?.maximum : a = e.axes?.[s]?.minimum, a ?? Number.NaN;
55
- }, A = (i) => {
55
+ }, v = (i) => {
56
56
  const { config: e, value: s, axisIndex: t, isMax: a } = i, o = e?.axes?.[t];
57
57
  o !== void 0 && (a ? o.maximum = s : o.minimum = s);
58
- }, G = (i) => i.axes?.[0]?.valueFormat ?? F(), H = (i, e, s) => {
58
+ }, H = (i) => i.axes?.[0]?.valueFormat ?? F(), J = (i, e, s) => {
59
59
  const t = p(i, 0, e);
60
60
  if (t !== void 0 && s !== void 0) {
61
61
  const a = {
@@ -64,7 +64,7 @@ const p = (i, e, s) => i.axes?.[e] ?? h(s, i.type)[e], T = (i) => {
64
64
  };
65
65
  T({ config: i, axis: a, axisIndex: 0 });
66
66
  }
67
- }, J = (i, e, s) => {
67
+ }, K = (i, e, s) => {
68
68
  const t = i.axes?.[e];
69
69
  t !== void 0 && (t.integerOnlyValues = s);
70
70
  }, N = (i) => {
@@ -74,14 +74,14 @@ const p = (i, e, s) => i.axes?.[e] ?? h(s, i.type)[e], T = (i) => {
74
74
  const { axisIndex: e, config: s, isMultiAxis: t } = i;
75
75
  let a = !1;
76
76
  return e === 0 || e === 1 && t ? a = !0 : e === 2 && (a = N(s)), a;
77
- }, K = (i) => {
77
+ }, Y = (i) => {
78
78
  const { axisIndex: e, func: s, config: t } = i;
79
79
  return C({ axisIndex: e, config: t, isMultiAxis: !0 }) ? s(e) : void 0;
80
- }, Y = (i, e) => {
80
+ }, $ = (i, e) => {
81
81
  let s;
82
82
  const t = e.axes?.[i]?.valueFormat;
83
83
  return (i === 0 || i >= 1 && y(t)) && (s = t), s;
84
- }, $ = (i) => {
84
+ }, z = (i) => {
85
85
  const { config: e, commonStrings: s, valueFormat: t, axisIndex: a = 0 } = i, o = p(e, a, s);
86
86
  if (o !== void 0 && t !== void 0) {
87
87
  const l = {
@@ -96,7 +96,7 @@ const p = (i, e, s) => i.axes?.[e] ?? h(s, i.type)[e], T = (i) => {
96
96
  }
97
97
  }, P = (i, e) => i.axes?.[e]?.isLogarithmic ?? !1, Q = (i) => {
98
98
  const { config: e, isLogarithmic: s, axisIndex: t } = i, a = e.axes?.[t];
99
- a && (a.isLogarithmic = s, A({ config: e, value: null, axisIndex: t, isMax: !0 }), A({ config: e, value: null, axisIndex: t, isMax: !1 }));
99
+ a && (a.isLogarithmic = s, v({ config: e, value: null, axisIndex: t, isMax: !0 }), v({ config: e, value: null, axisIndex: t, isMax: !1 }));
100
100
  }, R = (i) => {
101
101
  const { config: e, scrollbar: s, axisIndex: t } = i;
102
102
  e.axes?.[t] !== void 0 && (e.axes[t].scrollbar = s);
@@ -152,10 +152,10 @@ const p = (i, e, s) => i.axes?.[e] ?? h(s, i.type)[e], T = (i) => {
152
152
  };
153
153
  export {
154
154
  w as a,
155
- G as b,
156
- H as c,
157
- A as d,
158
- J as e,
155
+ H as b,
156
+ J as c,
157
+ v as d,
158
+ K as e,
159
159
  ie as f,
160
160
  D as g,
161
161
  se as h,
@@ -166,10 +166,10 @@ export {
166
166
  d as m,
167
167
  Z as n,
168
168
  U as o,
169
- z as p,
170
- Y as q,
171
- K as r,
172
- $ as s,
169
+ G as p,
170
+ $ as q,
171
+ Y as r,
172
+ z as s,
173
173
  P as t,
174
174
  q as u,
175
175
  Q as v,
@@ -7,13 +7,13 @@ import { g as me, a as de, b as ye } from "./pie-chart-data.js";
7
7
  import { a 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
- import { O as K, r as U, u as be, t as xe, y as g, a5 as E, C as A, P as Fe, _ as P, ah as Ce, b4 as De, cf as Se } from "./index.js";
11
- import { i as Y, M as $, l as R, N as ve, O as Be, P as Q } from "./index2.js";
10
+ import { O as K, r as U, u as be, t as xe, y as g, a6 as E, C as A, P as Fe, $ as P, ai as Ce, b5 as De, cg as Se } from "./index.js";
11
+ import { i as Y, M as k, l as R, N as ve, O as Be, P as Q } from "./index2.js";
12
12
  import { g as he } from "./series-types.js";
13
13
  import { V as Pe } from "./index4.js";
14
14
  import { DateTime as ne } from "luxon";
15
15
  import { P as X } from "./common.js";
16
- import { a as k, l as L } from "./chart-object-literals.js";
16
+ import { a as $, l as L } from "./chart-object-literals.js";
17
17
  import { d as Ve } from "./rest-js-object-literals.js";
18
18
  function Le(l) {
19
19
  const { hour: e, minute: t = 0, format: a, locale: o = "en-US" } = l, i = a && Object.keys(a).length > 0 ? a : {
@@ -124,7 +124,7 @@ function we(l) {
124
124
  maximumFractionDigits: 1
125
125
  }).formatToParts(1.1).find((a) => a.type === "decimal")?.value ?? ".") === "." ? "," : ";";
126
126
  }
127
- function ke(l) {
127
+ function $e(l) {
128
128
  return new Intl.NumberFormat(l, {
129
129
  minimumFractionDigits: 1,
130
130
  maximumFractionDigits: 1
@@ -138,7 +138,7 @@ const J = (l) => {
138
138
  else if (e === void 0)
139
139
  i = "";
140
140
  else if (typeof e == "number" && Number.isFinite(e) && a !== void 0) {
141
- const n = ke(a), s = o ?? i.split(n)[1]?.length ?? 2;
141
+ const n = $e(a), s = o ?? i.split(n)[1]?.length ?? 2;
142
142
  i = new Intl.NumberFormat(a, {
143
143
  maximumFractionDigits: s
144
144
  }).format(e).replace(/\u202F/gu, " ");
@@ -168,18 +168,18 @@ function ct(l) {
168
168
  let f = [];
169
169
  if (t !== void 0 && Array.isArray(e) && e.length > 0) {
170
170
  const u = he(t?.series);
171
- u === k.HistogramSeries ? f = Re(
171
+ u === $.HistogramSeries ? f = Re(
172
172
  t,
173
173
  e,
174
174
  i
175
- ) : u === k.HeatSeries ? f = Te({
175
+ ) : u === $.HeatSeries ? f = Te({
176
176
  config: t,
177
177
  rows: e,
178
178
  layer: a,
179
179
  fieldList: o,
180
180
  formatLocale: s,
181
181
  utilsStrings: c
182
- }) : u === k.BarSeries || u === k.LineSeries || u === k.ComboLineAndBarSeries ? f = Ke({
182
+ }) : u === $.BarSeries || u === $.LineSeries || u === $.ComboLineAndBarSeries ? f = Ke({
183
183
  config: t,
184
184
  rows: e,
185
185
  layer: a,
@@ -187,7 +187,7 @@ function ct(l) {
187
187
  formatters: i,
188
188
  useRendererLabel: r,
189
189
  timeZone: n
190
- }) : u === k.PieSeries ? f = Ee({
190
+ }) : u === $.PieSeries ? f = Ee({
191
191
  config: t,
192
192
  rows: e,
193
193
  layer: a,
@@ -195,7 +195,7 @@ function ct(l) {
195
195
  formatters: i,
196
196
  useRendererLabel: r,
197
197
  timeZone: n
198
- }) : u === k.BoxPlotSeries && (f = Ze({
198
+ }) : u === $.BoxPlotSeries && (f = Ze({
199
199
  config: t,
200
200
  rows: e,
201
201
  layer: a,
@@ -256,7 +256,7 @@ function O(l) {
256
256
  timeZone: n
257
257
  });
258
258
  }
259
- function $e(l, e) {
259
+ function ke(l, e) {
260
260
  let t = !1;
261
261
  if (l === e)
262
262
  t = !0;
@@ -461,7 +461,7 @@ function Ke(l) {
461
461
  formatter: i?.xAxisLabelFormatter,
462
462
  useRendererLabel: r,
463
463
  timeZone: n
464
- }), D = Ie(y, u[0], v), h = y[b], V = v.findIndex((I) => $e(I, h)), w = ee({
464
+ }), D = Ie(y, u[0], v), h = y[b], V = v.findIndex((I) => ke(I, h)), w = ee({
465
465
  config: e,
466
466
  splitByField: b,
467
467
  splitByValue: h,
@@ -495,7 +495,7 @@ function je(l) {
495
495
  for (const [o, i] of Object.entries(t))
496
496
  if (typeof i == "number" && e[o] > 0) {
497
497
  const r = i / e[o];
498
- a[`${o}${$}`] = r.toPrecision(2);
498
+ a[`${o}${k}`] = r.toPrecision(2);
499
499
  }
500
500
  return a;
501
501
  });
@@ -526,9 +526,9 @@ function Ee(l) {
526
526
  return c === g.PieFromCategory && x.toLowerCase() === b.name.toLowerCase() && (y = b.description, F = b.name), d[y] = B({
527
527
  value: C[F],
528
528
  originalValue: C[F]
529
- }), d[S($.trim())] = B({
530
- value: C[`${F}${$}`],
531
- originalValue: C[`${F}${$}`]
529
+ }), d[S(k.trim())] = B({
530
+ value: C[`${F}${k}`],
531
+ originalValue: C[`${F}${k}`]
532
532
  }), d;
533
533
  }) : c === g.PieFromFields && (f = ae(u, f).map(([C, m]) => {
534
534
  const d = {};
@@ -539,9 +539,9 @@ function Ee(l) {
539
539
  }), d.Value = B({
540
540
  value: m[x],
541
541
  originalValue: m[x]
542
- }), d[S($.trim())] = B({
543
- value: m[`${x}${$}`],
544
- originalValue: m[`${x}${$}`]
542
+ }), d[S(k.trim())] = B({
543
+ value: m[`${x}${k}`],
544
+ originalValue: m[`${x}${k}`]
545
545
  })), d;
546
546
  })), f;
547
547
  }
@@ -6,7 +6,7 @@ import { g as T } from "./model-types.js";
6
6
  import { b as g } from "./rest-js-object-literals.js";
7
7
  import { a as x } from "./chart-object-literals.js";
8
8
  import { Q as C, a5 as L, a6 as b, t as M } from "./index2.js";
9
- import { ch as X, b as B, i as A, eM as O } from "./index.js";
9
+ import { ci as X, b as B, i as A, eN as O } from "./index.js";
10
10
  import { m as a, C as f } from "./model-setter.js";
11
11
  import { o as P, n as R, p as v, d as y } from "./utils.js";
12
12
  const D = (t) => {
@@ -50,13 +50,13 @@ const E = (t) => {
50
50
  }, j = (t) => {
51
51
  const { axis: e, index: i } = d(t);
52
52
  return e?.guides?.[i]?.end;
53
- }, $ = (t) => {
53
+ }, N = (t) => {
54
54
  const { end: e, axis: i, index: s } = d(t);
55
55
  i?.guides?.[s] !== void 0 && (i.guides[s].end = e, p(i.guides[s]));
56
- }, I = (t) => {
56
+ }, $ = (t) => {
57
57
  const { axis: e, index: i } = d(t);
58
58
  return e?.guides?.[i]?.name;
59
- }, N = (t) => {
59
+ }, I = (t) => {
60
60
  const { name: e, axis: i, index: s } = d(t);
61
61
  i?.guides?.[s] !== void 0 && (i.guides[s].name = e);
62
62
  }, Q = (t) => {
@@ -150,7 +150,7 @@ class u extends h {
150
150
  return j({ config: this._config, index: e, orientation: i });
151
151
  }
152
152
  setGuideEnd(e, i, s) {
153
- $({ end: e, config: this._config, index: i, orientation: s });
153
+ N({ end: e, config: this._config, index: i, orientation: s });
154
154
  }
155
155
  /**
156
156
  * Gets the name of a guide.
@@ -159,10 +159,10 @@ class u extends h {
159
159
  * @param orientation - Default `y`. The axis orientation of the guide.
160
160
  */
161
161
  getGuideName(e, i) {
162
- return I({ config: this._config, index: e, orientation: i });
162
+ return $({ config: this._config, index: e, orientation: i });
163
163
  }
164
164
  setGuideName(e, i, s) {
165
- N({ name: e, config: this._config, index: i, orientation: s });
165
+ I({ name: e, config: this._config, index: i, orientation: s });
166
166
  }
167
167
  /**
168
168
  * Gets the guide label text.