@arcgis/charts-components 5.1.0-next.0 → 5.1.0-next.10

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 (212) hide show
  1. package/README.md +1 -1
  2. package/dist/cdn/{N5LXTC5F.js → 26SLWYNT.js} +1 -1
  3. package/dist/cdn/{7HHTWL5X.js → 2CT3MIAY.js} +1 -1
  4. package/dist/cdn/{MR5ILWAE.js → 2OGUU3CF.js} +1 -1
  5. package/dist/cdn/{O3LWVBLQ.js → 2QDRHHCZ.js} +1 -1
  6. package/dist/cdn/{NZKAMZX6.js → 2VC2XQAN.js} +1 -1
  7. package/dist/cdn/3EX7KPVE.js +2 -0
  8. package/dist/cdn/{FGQCHT3Y.js → 4JOHPQNV.js} +1 -1
  9. package/dist/cdn/4TREKWIK.js +2 -0
  10. package/dist/cdn/4XC2ZKSZ.js +2 -0
  11. package/dist/cdn/{CGRJSESJ.js → 5OWNSM2U.js} +1 -1
  12. package/dist/cdn/{VCDTXXBB.js → 5SRYB3Z7.js} +1 -1
  13. package/dist/cdn/{UKLAAPT4.js → 5YJR5M2A.js} +1 -1
  14. package/dist/cdn/{CF4MUKBD.js → 63GL64M2.js} +1 -1
  15. package/dist/cdn/{VLDV4SLC.js → 6HU6FAC6.js} +1 -1
  16. package/dist/cdn/{5UWCB534.js → 6PLEWH4Q.js} +1 -1
  17. package/dist/cdn/{B227HROY.js → 6WQPKBUS.js} +1 -1
  18. package/dist/cdn/72ZNLDFS.js +56 -0
  19. package/dist/cdn/{MFY2WNGC.js → 756AAFX2.js} +1 -1
  20. package/dist/cdn/{PGRROSLP.js → 7CDRRFI2.js} +1 -1
  21. package/dist/cdn/{YFQBIEH6.js → 7FASRM4Q.js} +1 -1
  22. package/dist/cdn/{F7EELFJY.js → 7VTIDISQ.js} +1 -1
  23. package/dist/cdn/{CSMPPQK6.js → A6FIEHBR.js} +1 -1
  24. package/dist/cdn/{DSCSQG33.js → AIQKILAI.js} +1 -1
  25. package/dist/cdn/{RBLN6H3R.js → AVFCOOHZ.js} +1 -1
  26. package/dist/cdn/{H2ZHJTT5.js → AYYGDEVK.js} +1 -1
  27. package/dist/cdn/{GB3TK5D3.js → BJPCRXMJ.js} +1 -1
  28. package/dist/cdn/{E2XSIMND.js → CDL4GUV6.js} +1 -1
  29. package/dist/cdn/CMRNFSZC.js +4 -0
  30. package/dist/cdn/DBBUQUSM.js +2 -0
  31. package/dist/cdn/DEAMKFX3.js +2 -0
  32. package/dist/cdn/DGTF5KBL.js +2 -0
  33. package/dist/cdn/{7F454N3C.js → DN4LNEB4.js} +2 -2
  34. package/dist/cdn/{VPF4DANX.js → DRJ4R4EQ.js} +1 -1
  35. package/dist/cdn/DSJJ45NU.js +2 -0
  36. package/dist/cdn/{7XB4DP2Y.js → E3CLVG36.js} +1 -1
  37. package/dist/cdn/EGY5AQR3.js +2 -0
  38. package/dist/cdn/{7TA3GQ2P.js → EKWDEI6U.js} +1 -1
  39. package/dist/cdn/{XVD4CGMV.js → EVWSDR7F.js} +1 -1
  40. package/dist/cdn/{VQGWUSUK.js → EYLBOIDC.js} +1 -1
  41. package/dist/cdn/FS2NVQNE.js +2 -0
  42. package/dist/cdn/{I4JPIKWZ.js → GYNFKNOC.js} +1 -1
  43. package/dist/cdn/{7OIBV6LX.js → H7FCUZ5Q.js} +1 -1
  44. package/dist/cdn/{T6J2NNJR.js → HAJ2VWEU.js} +1 -1
  45. package/dist/cdn/{OBF3ZYVJ.js → HLTV3SZ3.js} +1 -1
  46. package/dist/cdn/{4SDMBWIH.js → HT3D2REX.js} +1 -1
  47. package/dist/cdn/IRNA25SY.js +2 -0
  48. package/dist/cdn/J5U7GGIA.js +2 -0
  49. package/dist/cdn/JD74DCCM.js +2 -0
  50. package/dist/cdn/JDVXA2CS.js +2 -0
  51. package/dist/cdn/{NKTG3HYP.js → JX35IVRI.js} +1 -1
  52. package/dist/cdn/{V3NRWE2B.js → K5QY4SRM.js} +1 -1
  53. package/dist/cdn/KG447AXN.js +2 -0
  54. package/dist/cdn/{EOT7WEOM.js → KYUASK4W.js} +1 -1
  55. package/dist/cdn/{AE43AFN2.js → KZ7WEJMS.js} +1 -1
  56. package/dist/cdn/LESACRNP.js +2 -0
  57. package/dist/cdn/{GV3FPWSE.js → LEUZZRL3.js} +1 -1
  58. package/dist/cdn/{Z3ATQCGU.js → LOVVVWQQ.js} +1 -1
  59. package/dist/cdn/{ILN66JCQ.js → LRHPJGAF.js} +1 -1
  60. package/dist/cdn/{TW7SDPY6.js → N2BJICO7.js} +1 -1
  61. package/dist/cdn/{YP55GB27.js → NXF4ANBF.js} +1 -1
  62. package/dist/cdn/PCLJVVSC.js +2 -0
  63. package/dist/cdn/{OLGKBPS4.js → PHKJ7FEL.js} +1 -1
  64. package/dist/cdn/{E4Z7JPW7.js → PMJXL2RO.js} +1 -1
  65. package/dist/cdn/PTVFXORI.js +2 -0
  66. package/dist/cdn/{ACIPSEQP.js → Q2KACZBE.js} +1 -1
  67. package/dist/cdn/Q3RD465X.js +2 -0
  68. package/dist/cdn/{Z5OGHBTB.js → QHIXRP3D.js} +1 -1
  69. package/dist/cdn/{L7BKIZJN.js → QN32RSSK.js} +1 -1
  70. package/dist/cdn/{6AMFQCS7.js → R3AFJXL2.js} +1 -1
  71. package/dist/cdn/{ZMTNSPCX.js → R7NXKFI4.js} +1 -1
  72. package/dist/cdn/RGFGKNTV.js +93 -0
  73. package/dist/cdn/{I45WQ4BL.js → RGSTYQHL.js} +1 -1
  74. package/dist/cdn/RJTSFOSP.js +2 -0
  75. package/dist/cdn/{3KIKTBU4.js → S5R4OEBU.js} +1 -1
  76. package/dist/cdn/S5XUWFFZ.js +2 -0
  77. package/dist/cdn/{SGOQQYBY.js → SPAXIJWK.js} +1 -1
  78. package/dist/cdn/{UR4SN4J4.js → ST7NVAV3.js} +1 -1
  79. package/dist/cdn/{TCKWKRVQ.js → SVUBBKM5.js} +1 -1
  80. package/dist/cdn/{YBWIUGMX.js → T4VBQWR4.js} +1 -1
  81. package/dist/cdn/T7XKFYU3.js +2 -0
  82. package/dist/cdn/{4YGTK6R4.js → TEGYSOJJ.js} +1 -1
  83. package/dist/cdn/{UNGIAYCA.js → THMNUUUE.js} +1 -1
  84. package/dist/cdn/{5SBX2OSZ.js → UE4N6ASZ.js} +1 -1
  85. package/dist/cdn/V4GE3B2F.js +2 -0
  86. package/dist/cdn/VLYQJ3YH.js +2 -0
  87. package/dist/cdn/{N7QH3COK.js → VMMTJWUZ.js} +1 -1
  88. package/dist/cdn/{ITCFNAZ2.js → VPTDXGKU.js} +1 -1
  89. package/dist/cdn/VTJWIN7U.js +2 -0
  90. package/dist/cdn/{YHXUQR6R.js → VWLR4WCT.js} +1 -1
  91. package/dist/cdn/WCZWAASA.js +2 -0
  92. package/dist/cdn/XF7VOPC6.js +2 -0
  93. package/dist/cdn/XHESCLJV.js +2 -0
  94. package/dist/cdn/{CCBSYUDL.js → XJLODBLD.js} +1 -1
  95. package/dist/cdn/{UVEAGNF2.js → XZE6IPW7.js} +1 -1
  96. package/dist/cdn/Y2CT4MJ4.js +2 -0
  97. package/dist/cdn/{JEOHGL3P.js → YF6EYCSY.js} +1 -1
  98. package/dist/cdn/{INA4MWOS.js → YUFKLXMQ.js} +1 -1
  99. package/dist/cdn/{UPWTKME3.js → YXUXX2XA.js} +1 -1
  100. package/dist/cdn/{IMMCY2GO.js → ZB4GBCOX.js} +1 -1
  101. package/dist/cdn/{MAYX7C4V.js → ZNLHWCJV.js} +1 -1
  102. package/dist/cdn/{ITMPO5LO.js → ZT6KWD4G.js} +1 -1
  103. package/dist/cdn/index.js +1 -1
  104. package/dist/chunks/action-bar-utils.js +10 -9
  105. package/dist/chunks/bar-chart-model.js +1 -0
  106. package/dist/chunks/bar-chart-series.js +5 -3
  107. package/dist/chunks/box-plot-data.js +1 -1
  108. package/dist/chunks/box-plot-model.js +5 -0
  109. package/dist/chunks/chart-ui-utils.js +53 -48
  110. package/dist/chunks/chart-ui-utils2.js +1 -1
  111. package/dist/chunks/class-breaks.js +159 -94
  112. package/dist/chunks/combo-bar-line-chart-model.js +3 -0
  113. package/dist/chunks/data.js +20 -19
  114. package/dist/chunks/gauge-model.js +1 -0
  115. package/dist/chunks/heat-chart-model.js +84 -66
  116. package/dist/chunks/histogram-model.js +1 -0
  117. package/dist/chunks/index.js +3386 -3331
  118. package/dist/chunks/index2.js +33 -33
  119. package/dist/chunks/index6.js +18 -0
  120. package/dist/chunks/line-chart-model.js +2 -0
  121. package/dist/chunks/model-setter.js +4 -1
  122. package/dist/chunks/model-with-guides.js +7 -6
  123. package/dist/chunks/pie-chart-data.js +1 -1
  124. package/dist/chunks/pie-chart-model.js +2 -1
  125. package/dist/chunks/radar-chart-model.js +11 -9
  126. package/dist/chunks/scatterplot-model.js +1 -0
  127. package/dist/chunks/serial-chart-data.js +380 -371
  128. package/dist/chunks/serial-chart-model.js +9 -4
  129. package/dist/chunks/web-component-utils.js +63 -63
  130. package/dist/components/arcgis-chart/customElement.d.ts +1 -1
  131. package/dist/components/arcgis-chart/customElement.js +3140 -3155
  132. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +2 -1
  133. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +21 -23
  134. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +1 -1
  135. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +13 -16
  136. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +16 -18
  137. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +1 -1
  138. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +14 -17
  139. package/dist/components/arcgis-charts-config-create-flow/customElement.js +28 -20
  140. package/dist/components/arcgis-charts-config-format/customElement.js +20 -20
  141. package/dist/components/arcgis-charts-config-guide/customElement.js +1 -0
  142. package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +115 -105
  143. package/dist/components/arcgis-charts-config-heat-chart-data/index.js +2 -0
  144. package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +45 -34
  145. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +21 -23
  146. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +23 -25
  147. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +1 -1
  148. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +8 -10
  149. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +11 -14
  150. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +19 -21
  151. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +11 -14
  152. package/dist/components/arcgis-charts-info-modal/customElement.js +52 -14
  153. package/dist/docs/api.json +1 -1
  154. package/dist/docs/docs.json +1 -1
  155. package/dist/docs/vscode.html-custom-data.json +1 -1
  156. package/dist/docs/web-types.json +1 -1
  157. package/dist/index.js +278 -277
  158. package/dist/json-schema/index.d.ts +7 -9
  159. package/dist/loader.js +4 -4
  160. package/dist/model/bar-chart-model/bar-chart-model.d.ts +3 -12
  161. package/dist/model/box-plot-model/box-plot-model.d.ts +1 -34
  162. package/dist/model/chart-model/chart-model-base.d.ts +0 -46
  163. package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +1 -14
  164. package/dist/model/gauge-model/gauge-model.d.ts +2 -11
  165. package/dist/model/heat-chart-model/heat-chart-model.d.ts +9 -10
  166. package/dist/model/histogram-model/histogram-model.d.ts +2 -11
  167. package/dist/model/line-chart-model/line-chart-model.d.ts +1 -14
  168. package/dist/model/mixins/model-with-line-marker-styling.d.ts +0 -4
  169. package/dist/model/mixins/model-with-multi-axes.d.ts +0 -3
  170. package/dist/model/pie-chart-model/pie-chart-model.d.ts +2 -17
  171. package/dist/model/radar-chart-model/radar-chart-model.d.ts +1 -14
  172. package/dist/model/scatterplot-model/scatterplot-model.d.ts +2 -11
  173. package/dist/model/serial-chart-model/serial-chart-model.d.ts +0 -42
  174. package/dist/spec/rest-js-types.d.ts +15 -0
  175. package/dist/spec/web-chart.d.ts +279 -243
  176. package/dist/utils/chart-config/utils/index.d.ts +3 -0
  177. package/dist/utils/layer/query-parser/index.d.ts +4 -1
  178. package/dist/utils/localization/interfaces.d.ts +1 -0
  179. package/dist/utils/misc/index.d.ts +22 -7
  180. package/dist/utils/type-guards/index.d.ts +15 -8
  181. package/dist/utils/ui/chart-ui-utils.d.ts +9 -5
  182. package/package.json +4 -4
  183. package/dist/cdn/2BIDUUM3.js +0 -2
  184. package/dist/cdn/4OI742MI.js +0 -2
  185. package/dist/cdn/A2TYB4C2.js +0 -2
  186. package/dist/cdn/BJJLSSQL.js +0 -2
  187. package/dist/cdn/C3QBGU3R.js +0 -2
  188. package/dist/cdn/CSHLYYDR.js +0 -2
  189. package/dist/cdn/DISBHZRX.js +0 -2
  190. package/dist/cdn/DM36XG4Z.js +0 -2
  191. package/dist/cdn/FGQ6QTNI.js +0 -2
  192. package/dist/cdn/FIBU5QUG.js +0 -2
  193. package/dist/cdn/GRFJADFY.js +0 -2
  194. package/dist/cdn/GUN4GTO3.js +0 -2
  195. package/dist/cdn/HOPCZKQO.js +0 -2
  196. package/dist/cdn/JYAZY7C6.js +0 -2
  197. package/dist/cdn/MMVAIEM3.js +0 -2
  198. package/dist/cdn/OFZOPSWX.js +0 -2
  199. package/dist/cdn/OKE67HPM.js +0 -2
  200. package/dist/cdn/OQA4LU5O.js +0 -2
  201. package/dist/cdn/OX34MEOD.js +0 -2
  202. package/dist/cdn/RESJUXIH.js +0 -2
  203. package/dist/cdn/RREICBPO.js +0 -58
  204. package/dist/cdn/T6HUC3X4.js +0 -2
  205. package/dist/cdn/W2Z3VO3C.js +0 -2
  206. package/dist/cdn/WI7OSEXJ.js +0 -2
  207. package/dist/cdn/WQS6NQUO.js +0 -2
  208. package/dist/cdn/WZJQSJPK.js +0 -2
  209. package/dist/cdn/XAWIW6KZ.js +0 -32
  210. package/dist/cdn/XPATRR6S.js +0 -2
  211. package/dist/cdn/YWRPXNSI.js +0 -2
  212. package/dist/cdn/ZARMIUOQ.js +0 -2
@@ -27,7 +27,7 @@ import "./runtime.js";
27
27
  import { l as h, j as d, k as f } from "./index4.js";
28
28
  import "@arcgis/toolkit/dom";
29
29
  import { g as I, u as E, s as _, c as R, b as k, a as X } from "./utils.js";
30
- import { P as y, Q as u, S as j, T as w, U as z, V as K, W as Y, X as $, Y as G, Z, _ as q, $ as Q, a0 as H, I as T, a1 as x, a2 as A, a3 as J, a4 as ee, R as te, a5 as C, a as ie } from "./serial-chart-data.js";
30
+ import { R as y, S as u, U as j, V as w, W as z, X as K, Y, Z as $, _ as G, $ as Z, a0 as q, a1 as H, a2 as J, I as T, a3 as x, a4 as A, a5 as Q, a6 as ee, T as te, a7 as C, a as ie } from "./serial-chart-data.js";
31
31
  import { s as b, d as F, b as se } from "./data.js";
32
32
  import { S as re } from "./common.js";
33
33
  import { M as oe, a as ne, W as ae, b as le } from "./model-with-tooltips.js";
@@ -144,10 +144,10 @@ class c extends v {
144
144
  return q(this._config);
145
145
  }
146
146
  set nullPolicy(e) {
147
- Q(e, this._config);
147
+ H(e, this._config);
148
148
  }
149
149
  resetTimeInterval() {
150
- H(this._config);
150
+ J(this._config);
151
151
  }
152
152
  }
153
153
  p([
@@ -283,7 +283,7 @@ class a extends v {
283
283
  * **Note:** Setting this prop removes any existing temporal binning settings if `value` is set to `false`.
284
284
  */
285
285
  get binTemporalData() {
286
- return J(this._config);
286
+ return Q(this._config);
287
287
  }
288
288
  set binTemporalData(e) {
289
289
  ee(e, this._config);
@@ -365,6 +365,8 @@ class a extends v {
365
365
  }
366
366
  /**
367
367
  * Sets up the local props based on the current config.
368
+ *
369
+ * @private
368
370
  */
369
371
  setupLocalProps() {
370
372
  this._xAxisField = se(this._config), this._aggregationType = y(this._config), this._splitByField = te(this._config), this._numericFields = u(this._config);
@@ -378,6 +380,8 @@ class a extends v {
378
380
  * We can call the build new series function synchronously when either is true:
379
381
  * - there is no split-by field
380
382
  * - there are multiple numeric fields
383
+ *
384
+ * @private
381
385
  */
382
386
  canUseSynchronousSeriesRebuild() {
383
387
  return this.splitByField === "" || this.numericFields.length > 1;
@@ -386,6 +390,7 @@ class a extends v {
386
390
  * Processes the series rebuild.
387
391
  * If multiple async setters are called in succession, this function will only rebuild the series once after all setters have been called.
388
392
  * @async
393
+ * @private
389
394
  */
390
395
  async processSeriesRebuild() {
391
396
  if (this.layerInfo !== void 0) {
@@ -1,23 +1,23 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import { W as B, w as q } from "./series-types.js";
2
+ import { W as P, w as Q } from "./series-types.js";
3
3
  import { isEqual as U, capitalize as F, isNumber as C, zip as E } from "lodash-es";
4
- import { o as V, bK as X, cF as Y, df as c, aa as O, bz as h, di as M, aw as w, bO as W, ah as P, bw as J, bx as R } from "./index.js";
4
+ import { o as V, bK as X, cF as Y, dg as c, aa as O, bz as h, dj as M, aw as w, bO as W, ah as B, bw as J, bx as R } from "./index.js";
5
5
  import { b as K } from "./interfaces.js";
6
6
  import { a as z } from "./common.js";
7
7
  import "@arcgis/toolkit/type";
8
8
  import { j as ee, n as N, p as G, o as I } from "./box-plot-data.js";
9
- import { a as Q } from "./series-length.js";
9
+ import { a as Z } from "./series-length.js";
10
10
  import { g as te } from "./histogram-data.js";
11
11
  import { g as oe, a as ie, b as ae } from "./pie-chart-data.js";
12
- import { P as se, Q as ne, R as re } from "./serial-chart-data.js";
13
- import { b as le, g as Z } from "./data.js";
12
+ import { R as se, S as ne, T as re } from "./serial-chart-data.js";
13
+ import { b as le, g as q } from "./data.js";
14
14
  const Oe = [
15
- B.BarSeries,
16
- B.BoxPlotSeries,
17
- B.LineSeries,
18
- B.PieSeries,
19
- B.HistogramSeries,
20
- B.ScatterSeries
15
+ P.BarSeries,
16
+ P.BoxPlotSeries,
17
+ P.LineSeries,
18
+ P.PieSeries,
19
+ P.HistogramSeries,
20
+ P.ScatterSeries
21
21
  ], Ve = 1, ke = { PNG: "png" };
22
22
  function ce(n, e) {
23
23
  return !U(n, e);
@@ -45,25 +45,25 @@ const H = (n) => {
45
45
  else if (e === void 0)
46
46
  a = "";
47
47
  else if (typeof e == "number" && Number.isFinite(e) && r !== void 0) {
48
- const i = de(r), f = a.split(i)[1]?.length ?? 3;
48
+ const i = de(r), m = a.split(i)[1]?.length ?? 3;
49
49
  a = new Intl.NumberFormat(r, {
50
- maximumFractionDigits: f
50
+ maximumFractionDigits: m
51
51
  }).format(e).replace(/\u202F/gu, " ");
52
52
  }
53
53
  return (t || /[",\r\n]/u.test(a)) && (a = `"${a.replace(/"/gu, '""')}"`), a;
54
54
  };
55
55
  function Ke(n, e = {}) {
56
- const { columns: t, delimiter: r, includeHeader: a = !0, quoteAll: o = !1, locale: i } = e, f = n.length === 0;
56
+ const { columns: t, delimiter: r, includeHeader: a = !0, quoteAll: o = !1, locale: i } = e, m = n.length === 0;
57
57
  let l = "";
58
- if (!f) {
59
- const m = t ?? Object.keys(n[0]), x = [], g = r ?? ue(i ?? "en");
58
+ if (!m) {
59
+ const f = t ?? Object.keys(n[0]), x = [], g = r ?? ue(i ?? "en");
60
60
  if (i !== void 0 && g !== "," && (l += `sep=${g}\r
61
61
  `), a) {
62
- const y = m.map((s) => H({ value: s, quoteAll: o, locale: i }));
62
+ const y = f.map((s) => H({ value: s, quoteAll: o, locale: i }));
63
63
  x.push(y.join(g));
64
64
  }
65
65
  n.forEach((y) => {
66
- const s = m.map((d) => H({ value: y[d], quoteAll: o, locale: i }));
66
+ const s = f.map((d) => H({ value: y[d], quoteAll: o, locale: i }));
67
67
  x.push(s.join(g));
68
68
  }), l += x.join(`\r
69
69
  `);
@@ -74,18 +74,18 @@ function Re(n) {
74
74
  const { rawData: e, config: t, layer: r, fieldList: a } = n;
75
75
  let o = e;
76
76
  if (t !== void 0 && Array.isArray(e) && e.length > 0) {
77
- const i = q(t?.series);
78
- i === B.HistogramSeries ? o = fe(t, e) : i === B.BarSeries || i === B.LineSeries || i === B.ComboLineAndBarSeries ? o = ye({
77
+ const i = Q(t?.series);
78
+ i === P.HistogramSeries ? o = me(t, e) : i === P.BarSeries || i === P.LineSeries || i === P.ComboLineAndBarSeries ? o = ye({
79
79
  config: t,
80
80
  rows: e,
81
81
  layer: r,
82
82
  fieldList: a
83
- }) : i === B.PieSeries ? o = pe({
83
+ }) : i === P.PieSeries ? o = pe({
84
84
  config: t,
85
85
  rows: e,
86
86
  layer: r,
87
87
  fieldList: a
88
- }) : i === B.BoxPlotSeries && (o = xe({
88
+ }) : i === P.BoxPlotSeries && (o = xe({
89
89
  config: t,
90
90
  rows: e,
91
91
  fieldList: a
@@ -93,22 +93,22 @@ function Re(n) {
93
93
  }
94
94
  return o;
95
95
  }
96
- function fe(n, e) {
96
+ function me(n, e) {
97
97
  const t = te(n), r = `${F(K.Min)} of ${t}`, a = `${F(K.Max)} of ${t}`, o = `${F(K.Count)} of ${t}`;
98
98
  return e.map((i) => {
99
- const { minValue: f, maxValue: l, count: m } = i, x = C(f), g = C(l), y = C(m), s = {};
100
- return x && (s[r] = f.toFixed(2)), g && (s[a] = l.toFixed(2)), x && g && (s.Label = `${f.toFixed(2)} - ${l.toFixed(2)}`), y && (s[o] = m), s;
99
+ const { minValue: m, maxValue: l, count: f } = i, x = C(m), g = C(l), y = C(f), s = {};
100
+ return x && (s[r] = m.toFixed(2)), g && (s[a] = l.toFixed(2)), x && g && (s.Label = `${m.toFixed(2)} - ${l.toFixed(2)}`), y && (s[o] = f), s;
101
101
  });
102
102
  }
103
- function me(n, e, t) {
103
+ function fe(n, e, t) {
104
104
  const r = Object.keys(n);
105
105
  let a = [];
106
106
  return t ? a = t.map((o) => r.find((i) => i.toLowerCase().includes(o.toLowerCase())) || "") : a = r.filter((i) => i.toLowerCase().includes(e.toLowerCase())), a.filter((o) => o.trim() !== "");
107
107
  }
108
108
  function ye(n) {
109
- const { config: e, rows: t, layer: r, fieldList: a } = n, o = le(e), i = se(e), f = F(i), l = ne(e), m = V(e.series), x = Q(e), g = re(e), { idField: y, isTraditionalTypeOID: s } = X(Y(r)), d = s && l.length === 1 && l[0] === y;
109
+ const { config: e, rows: t, layer: r, fieldList: a } = n, o = le(e), i = se(e), m = F(i), l = ne(e), f = V(e.series), x = Z(e), g = re(e), { idField: y, isTraditionalTypeOID: s } = X(Y(r)), d = s && l.length === 1 && l[0] === y;
110
110
  let u;
111
- switch (m) {
111
+ switch (f) {
112
112
  case c.BarAndLineNoAggregation:
113
113
  u = t.map((p) => {
114
114
  const b = A({
@@ -134,7 +134,7 @@ function ye(n) {
134
134
  fieldList: a
135
135
  }), S = { [o]: b };
136
136
  return l.forEach(($, v) => {
137
- const k = Z({
137
+ const k = q({
138
138
  config: e,
139
139
  xAxisField: o,
140
140
  numericFields: l,
@@ -159,7 +159,7 @@ function ye(n) {
159
159
  ($, v) => ({
160
160
  [o]: S,
161
161
  [g]: $,
162
- [d ? f : `${f} of ${l[0]}`]: p[b[v]]
162
+ [d ? m : `${m} of ${l[0]}`]: p[b[v]]
163
163
  })
164
164
  );
165
165
  });
@@ -170,7 +170,7 @@ function ye(n) {
170
170
  field: o,
171
171
  value: p[o],
172
172
  fieldList: a
173
- }), S = me(p, l[0], x);
173
+ }), S = fe(p, l[0], x);
174
174
  return {
175
175
  [o]: b,
176
176
  [g]: p[g],
@@ -195,25 +195,25 @@ function ge(n, e = 2) {
195
195
  const a = { ...r };
196
196
  for (const [o, i] of Object.entries(r))
197
197
  if (typeof i == "number" && t[o] > 0) {
198
- const f = i / t[o] * 100;
199
- a[`${o}${h}`] = `${f.toFixed(e)}%`;
198
+ const m = i / t[o] * 100;
199
+ a[`${o}${h}`] = `${m.toFixed(e)}%`;
200
200
  }
201
201
  return a;
202
202
  });
203
203
  }
204
204
  function pe(n) {
205
205
  const { config: e, rows: t, layer: r, fieldList: a } = n, o = oe(e), i = V(e.series);
206
- let f = ge(t, 2);
207
- const l = ie(e), m = i !== c.PieFromFields ? z.Category : z.Fields, x = ae(e, m), g = Z({
206
+ let m = ge(t, 2);
207
+ const l = ie(e), f = i !== c.PieFromFields ? z.Category : z.Fields, x = ae(e, f), g = q({
208
208
  config: e,
209
209
  xAxisField: o,
210
210
  numericFields: l,
211
211
  aggregationType: x,
212
- mode: m,
212
+ mode: f,
213
213
  layer: r,
214
214
  fieldList: a
215
215
  }), y = O(e.series)[0];
216
- return i === c.PieFromCategory || i === c.PieNoAggregation ? f = f.map((s) => {
216
+ return i === c.PieFromCategory || i === c.PieNoAggregation ? m = m.map((s) => {
217
217
  const d = A({
218
218
  field: o,
219
219
  value: s[o],
@@ -221,25 +221,25 @@ function pe(n) {
221
221
  }), u = { [o]: d };
222
222
  let p = y, b = y;
223
223
  return i === c.PieFromCategory && y.toLowerCase() === g.name.toLowerCase() && (p = g.description, b = g.name), u[p] = s[b], u[F(h.trim())] = s[`${b}${h}`], u;
224
- }) : i === c.PieFromFields && (f = E(l, f).map(([s, d]) => {
224
+ }) : i === c.PieFromFields && (m = E(l, m).map(([s, d]) => {
225
225
  const u = {};
226
226
  return d !== void 0 && s !== void 0 && (u.Field = d[o], u.Value = d[y], u[F(h.trim())] = d[`${y}${h}`]), u;
227
- })), f;
227
+ })), m;
228
228
  }
229
229
  function L(n) {
230
230
  const { rawData: e, keyBase: t = "", outRow: r } = n;
231
- for (const [a, o] of Object.entries(P)) {
231
+ for (const [a, o] of Object.entries(B)) {
232
232
  const i = e[t + o];
233
233
  i !== void 0 && (r[a] = C(i) ? i.toFixed(2) : i);
234
- const f = e[t + o + J];
235
- f !== void 0 && (r[`${a} Outlier`] = C(f) ? f.toFixed(2) : f);
234
+ const m = e[t + o + J];
235
+ m !== void 0 && (r[`${a} Outlier`] = C(m) ? m.toFixed(2) : m);
236
236
  const l = e[t + o + R];
237
237
  l !== void 0 && (r[`${a} Z-Score`] = C(l) ? l.toFixed(2) : l);
238
238
  }
239
239
  }
240
240
  function D(n) {
241
- const { rawData: e, outRow: t, config: r, boxPlotSubType: a, fieldList: o } = n, i = N(r), f = G(r), l = I(r);
242
- let m = P.Outlier;
241
+ const { rawData: e, outRow: t, config: r, boxPlotSubType: a, fieldList: o } = n, i = N(r), m = G(r), l = I(r);
242
+ let f = B.Outlier;
243
243
  const x = w;
244
244
  switch (a) {
245
245
  case c.BoxPlotMonoFieldAndCategory: {
@@ -248,63 +248,63 @@ function D(n) {
248
248
  value: e[i],
249
249
  fieldList: o
250
250
  });
251
- t[i] = s, t[F(P.Outlier)] = e[m];
251
+ t[i] = s, t[F(B.Outlier)] = e[f];
252
252
  break;
253
253
  }
254
254
  case c.BoxPlotMultiFieldsAndCategory: {
255
- t[F(i)] = e[i], m = `${f.find(
255
+ t[F(i)] = e[i], f = `${m.find(
256
256
  (d) => Object.keys(e).some((u) => u.toLowerCase().includes(d.toLowerCase()))
257
- ) ?? ""}_${m}`, t[F(P.Outlier)] = e[m];
257
+ ) ?? ""}_${f}`, t[F(B.Outlier)] = e[f];
258
258
  break;
259
259
  }
260
260
  case c.BoxPlotMonoFieldAndSplitBy:
261
261
  case c.BoxPlotMultiFieldsAndSplitBy: {
262
262
  const s = e[l];
263
- m = `${s}_${m}`, t.Field = e[x], t[F(l)] = s, t[F(P.Outlier)] = e[m];
263
+ f = `${s}_${f}`, t.Field = e[x], t[F(l)] = s, t[F(B.Outlier)] = e[f];
264
264
  break;
265
265
  }
266
266
  case c.BoxPlotMonoFieldAndCategoryAndSplitBy: {
267
267
  const s = e[l];
268
- m = `${s}_${m}`, t[F(i)] = e[i], t[F(l)] = s, t[F(P.Outlier)] = e[m];
268
+ f = `${s}_${f}`, t[F(i)] = e[i], t[F(l)] = s, t[F(B.Outlier)] = e[f];
269
269
  break;
270
270
  }
271
271
  case c.BoxPlotMonoField:
272
272
  case c.BoxPlotMultiFields:
273
273
  default: {
274
- t.Field = e[x], t[F(P.Outlier)] = e[m];
274
+ t.Field = e[x], t[F(B.Outlier)] = e[f];
275
275
  break;
276
276
  }
277
277
  }
278
- const g = `${m}${R}`, y = e[g];
279
- y !== void 0 && (t[`${F(P.Outlier)} Z-Score`] = C(y) ? y.toFixed(2) : y);
278
+ const g = `${f}${R}`, y = e[g];
279
+ y !== void 0 && (t[`${F(B.Outlier)} Z-Score`] = C(y) ? y.toFixed(2) : y);
280
280
  }
281
281
  function Fe(n) {
282
- const { rawData: e, outRow: t, config: r, splitByValue: a } = n, o = V(r.series), i = e[`${a}_${P.Average}`], f = I(r), l = N(r);
283
- let m = "";
282
+ const { rawData: e, outRow: t, config: r, splitByValue: a } = n, o = V(r.series), i = e[`${a}_${B.Average}`], m = I(r), l = N(r);
283
+ let f = "";
284
284
  switch (o) {
285
285
  case c.BoxPlotMonoFieldAndSplitBy: {
286
- m = `${a}_${f}`, t.Field = e[w], t[F(f)] = e[m];
286
+ f = `${a}_${m}`, t.Field = e[w], t[F(m)] = e[f];
287
287
  break;
288
288
  }
289
289
  case c.BoxPlotMultiFieldsAndSplitBy: {
290
- m = `${a}_${P.Average}`, t.Field = e[w], t[F(f)] = e[m];
290
+ f = `${a}_${B.Average}`, t.Field = e[w], t[F(m)] = e[f];
291
291
  break;
292
292
  }
293
293
  case c.BoxPlotMonoFieldAndCategoryAndSplitBy: {
294
- m = `${a}_${P.Average}`, t[l] = e[l], t[F(f)] = a;
294
+ f = `${a}_${B.Average}`, t[l] = e[l], t[F(m)] = a;
295
295
  break;
296
296
  }
297
297
  }
298
- t[F(P.Average)] = C(i) ? i.toFixed(2) : i;
298
+ t[F(B.Average)] = C(i) ? i.toFixed(2) : i;
299
299
  const x = `${i}${R}`, g = e[x];
300
- g !== void 0 && (t[`${F(P.Average)} Z-Score`] = C(g) ? g.toFixed(2) : g);
300
+ g !== void 0 && (t[`${F(B.Average)} Z-Score`] = C(g) ? g.toFixed(2) : g);
301
301
  }
302
302
  function xe(n) {
303
303
  const { config: e, rows: t, fieldList: r } = n, a = V(e.series);
304
304
  let o = a;
305
- const i = ee(e), f = Array.isArray(t) && t.length > 0 && t.every((s) => s[M.boxPlot.boxPlotMeanLineMarkerId] !== void 0);
306
- i && !f && (a === c.BoxPlotMonoFieldAndSplitBy ? o = c.BoxPlotMonoField : a === c.BoxPlotMultiFieldsAndSplitBy ? o = c.BoxPlotMultiFields : a === c.BoxPlotMonoFieldAndCategoryAndSplitBy && (o = c.BoxPlotMonoFieldAndCategory));
307
- const l = N(e), m = G(e), x = Q(e), g = I(e);
305
+ const i = ee(e), m = Array.isArray(t) && t.length > 0 && t.every((s) => s[M.boxPlot.boxPlotMeanLineMarkerId] !== void 0);
306
+ i && !m && (a === c.BoxPlotMonoFieldAndSplitBy ? o = c.BoxPlotMonoField : a === c.BoxPlotMultiFieldsAndSplitBy ? o = c.BoxPlotMultiFields : a === c.BoxPlotMonoFieldAndCategoryAndSplitBy && (o = c.BoxPlotMonoFieldAndCategory));
307
+ const l = N(e), f = G(e), x = Z(e), g = I(e);
308
308
  let y;
309
309
  switch (o) {
310
310
  case c.BoxPlotMonoField:
@@ -342,7 +342,7 @@ function xe(n) {
342
342
  }
343
343
  case c.BoxPlotMultiFieldsAndCategory: {
344
344
  y = t.flatMap(
345
- (s) => m.map((d) => {
345
+ (s) => f.map((d) => {
346
346
  const u = {};
347
347
  let p = "";
348
348
  if (u.Field = d, s[M.boxPlot.boxPlotOutlierId])
@@ -67,7 +67,7 @@ export abstract class ArcgisChart extends LitElement {
67
67
  /**
68
68
  * Auto disposes the chart when a new one is created in the same container.
69
69
  *
70
- * @deprecated since 5.0. Use [autoDestroyDisabled](https://developers.arcgis.com/javascript/latest/references/charts-components/arcgis-chart/#autoDestroyDisabled) instead.
70
+ * @deprecated since 5.0. Use [autoDestroyDisabled](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#autoDestroyDisabled) instead.
71
71
  * @default false
72
72
  */
73
73
  accessor autoDisposeChart: boolean | undefined;