@arcgis/charts-components 5.2.0-next.124 → 5.2.0-next.125

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 (173) hide show
  1. package/dist/cdn/{CQLILZFZ.js → 2FQ6G6B6.js} +1 -1
  2. package/dist/cdn/{IYVSAR3D.js → 2FYXFIR4.js} +1 -1
  3. package/dist/cdn/2QWB5XRH.js +2 -0
  4. package/dist/cdn/{ZRYPRUVT.js → 2VX44HPW.js} +1 -1
  5. package/dist/cdn/{IKH7UGJM.js → 3GN7VR32.js} +1 -1
  6. package/dist/cdn/{WTMEWLUJ.js → 3W4HHL2V.js} +1 -1
  7. package/dist/cdn/{ELXF6XQQ.js → 4PUOMS4A.js} +1 -1
  8. package/dist/cdn/{U2O4NGY5.js → 4RLQLQVB.js} +1 -1
  9. package/dist/cdn/{H4UKMJ3M.js → 4SNP6HTM.js} +1 -1
  10. package/dist/cdn/{OO4U6KKQ.js → 54265YSL.js} +1 -1
  11. package/dist/cdn/{MQI4ZLAS.js → 5434ASC3.js} +1 -1
  12. package/dist/cdn/{GCPA466R.js → 56INS6ML.js} +1 -1
  13. package/dist/cdn/{N4YN5XHL.js → 5E6TR5OW.js} +1 -1
  14. package/dist/cdn/{STFT35NP.js → 5XXBOV4Q.js} +1 -1
  15. package/dist/cdn/6462KIIY.js +2 -0
  16. package/dist/cdn/{BUXZ2NBS.js → 6ESCKCYY.js} +1 -1
  17. package/dist/cdn/{EXCMERSU.js → 6H4PWDET.js} +1 -1
  18. package/dist/cdn/77VLHOOC.js +2 -0
  19. package/dist/cdn/{Q4HYSXEK.js → 77YJOTCX.js} +1 -1
  20. package/dist/cdn/{KYQWN5DR.js → 7OESRD4R.js} +1 -1
  21. package/dist/cdn/7PKJNQL7.js +2 -0
  22. package/dist/cdn/{ZP4T262N.js → B44MEIQW.js} +1 -1
  23. package/dist/cdn/{BQMUOJL7.js → B5XYZKLU.js} +1 -1
  24. package/dist/cdn/{RPUEIRTH.js → BGIUDL2K.js} +1 -1
  25. package/dist/cdn/{IJKFUMKC.js → C3PVEL66.js} +1 -1
  26. package/dist/cdn/{IJR65YQB.js → CSN6MJ4B.js} +1 -1
  27. package/dist/cdn/{CR2U5KNC.js → DPRUAGVZ.js} +1 -1
  28. package/dist/cdn/{O7NFMOTE.js → ENG2F3IQ.js} +1 -1
  29. package/dist/cdn/{JSFNIFWE.js → EP5BMXUY.js} +1 -1
  30. package/dist/cdn/{3IXFIA6D.js → ETDHU5U4.js} +19 -19
  31. package/dist/cdn/EU6AJ57R.js +2 -0
  32. package/dist/cdn/{HFFXDWQL.js → F2MSD3QS.js} +1 -1
  33. package/dist/cdn/{DYCZXSJG.js → F2WEYOKD.js} +1 -1
  34. package/dist/cdn/{WSSQILRB.js → F3UFKEVT.js} +1 -1
  35. package/dist/cdn/{5SYHQWPP.js → FASMW7S2.js} +1 -1
  36. package/dist/cdn/{JFXCJ6HT.js → FH66KPN5.js} +1 -1
  37. package/dist/cdn/{A5CQKJHA.js → G6DJZSMC.js} +1 -1
  38. package/dist/cdn/{QSJV77RB.js → H5QMZ65D.js} +1 -1
  39. package/dist/cdn/{JO4YQAFF.js → HDHS7RTZ.js} +1 -1
  40. package/dist/cdn/{353KIT3L.js → HPO7UHSN.js} +1 -1
  41. package/dist/cdn/{METDO2QG.js → IMQYTRSY.js} +1 -1
  42. package/dist/cdn/{4GHJREG3.js → J5E4KON6.js} +1 -1
  43. package/dist/cdn/{UDQP2AFN.js → J65VM5UV.js} +1 -1
  44. package/dist/cdn/{VP5MGMQP.js → JPDI5NK6.js} +1 -1
  45. package/dist/cdn/{IS7KQGMM.js → JSJ2OXVP.js} +1 -1
  46. package/dist/cdn/{IGOJGDYE.js → JSUH5PFI.js} +1 -1
  47. package/dist/cdn/{WXO3YJ3T.js → KAVJHTFB.js} +1 -1
  48. package/dist/cdn/{6CPDF77P.js → KCEJQPTE.js} +1 -1
  49. package/dist/cdn/{DCIQMSQ2.js → KDMYI6HZ.js} +1 -1
  50. package/dist/cdn/{RDCTBV2Q.js → KHFNTBX4.js} +1 -1
  51. package/dist/cdn/{MFJINTU5.js → KHV5W5KY.js} +1 -1
  52. package/dist/cdn/{5V33DFCG.js → KIUBFEUI.js} +1 -1
  53. package/dist/cdn/{M6L3GCVZ.js → KKHTRL5K.js} +1 -1
  54. package/dist/cdn/{C6YIO7EV.js → LHQ5R7PX.js} +1 -1
  55. package/dist/cdn/{V4VQT6A6.js → LQL7VPXH.js} +1 -1
  56. package/dist/cdn/{CQORXOQS.js → LYVV7FBJ.js} +1 -1
  57. package/dist/cdn/{LBX6U6EK.js → MDKLQ2IS.js} +2 -2
  58. package/dist/cdn/{SZYIWW3C.js → MRN3GTKF.js} +1 -1
  59. package/dist/cdn/{W7HVSUF2.js → MUFEV5ZR.js} +1 -1
  60. package/dist/cdn/{6H6ZTNGY.js → N26FS3KG.js} +1 -1
  61. package/dist/cdn/{CKD62DZ4.js → N75HEDSD.js} +1 -1
  62. package/dist/cdn/{Q4GIMFJ2.js → NMAG7AL2.js} +1 -1
  63. package/dist/cdn/{KILQBDSV.js → OCCBK5S7.js} +1 -1
  64. package/dist/cdn/{U2VHNPRE.js → OLRPPTEO.js} +1 -1
  65. package/dist/cdn/{3LEJV2CC.js → OR765GRF.js} +1 -1
  66. package/dist/cdn/{GZA5OPRD.js → OUDFAIXR.js} +1 -1
  67. package/dist/cdn/{O34ACKBX.js → P7PD3PBN.js} +1 -1
  68. package/dist/cdn/{BF2U4V7S.js → PAHQAFMT.js} +1 -1
  69. package/dist/cdn/{KRNF2XCU.js → PIOFHDMU.js} +1 -1
  70. package/dist/cdn/{BQMDOKAK.js → POSJMG3Z.js} +1 -1
  71. package/dist/cdn/{MOL3RVAG.js → PUXBUCDR.js} +1 -1
  72. package/dist/cdn/{MDMJT2VS.js → PZRHKUTQ.js} +1 -1
  73. package/dist/cdn/{XIVGFLZQ.js → QHGSGGGJ.js} +1 -1
  74. package/dist/cdn/{PX7QCMDX.js → QHRYG4SP.js} +1 -1
  75. package/dist/cdn/{TV3FXQVK.js → QL5M6E2E.js} +1 -1
  76. package/dist/cdn/{CB3BW4H5.js → QZNI3BD3.js} +1 -1
  77. package/dist/cdn/{DPEEMYYB.js → RBTEJMJT.js} +1 -1
  78. package/dist/cdn/RD2OZ5DF.js +2 -0
  79. package/dist/cdn/{EFFUZV52.js → S2PTOBDF.js} +1 -1
  80. package/dist/cdn/{OCABBLZ7.js → SF3FTQP5.js} +1 -1
  81. package/dist/cdn/{3HZFE5JC.js → SLKGXWIE.js} +1 -1
  82. package/dist/cdn/{V4N4EY2E.js → TLYVHR5K.js} +1 -1
  83. package/dist/cdn/{MVJKABXP.js → UYNE67O2.js} +1 -1
  84. package/dist/cdn/{WVOXFKFO.js → VJG6ZEH4.js} +1 -1
  85. package/dist/cdn/{JNRJSGDP.js → VPCAPPIP.js} +1 -1
  86. package/dist/cdn/{IW27UN5J.js → VSMUBBEN.js} +1 -1
  87. package/dist/cdn/{IJ3OJVJQ.js → W2QXMYBG.js} +1 -1
  88. package/dist/cdn/{32RVL6OQ.js → W6SZDF5T.js} +1 -1
  89. package/dist/cdn/{QOZYAJXQ.js → WDWOAIWE.js} +1 -1
  90. package/dist/cdn/{7TM4LYGN.js → WG2TWSUV.js} +1 -1
  91. package/dist/cdn/{PETPI6FO.js → WQQMTR5J.js} +1 -1
  92. package/dist/cdn/{4UYG2V6P.js → X7OXNUXM.js} +1 -1
  93. package/dist/cdn/{NCOXA4CE.js → XQ5Q4AMB.js} +1 -1
  94. package/dist/cdn/{FK7MIBNE.js → XZAXZDTP.js} +1 -1
  95. package/dist/cdn/{OY5HRHVW.js → YEAARWKU.js} +1 -1
  96. package/dist/cdn/{ITFMAKY3.js → YMAI2PRA.js} +1 -1
  97. package/dist/cdn/Z5KG3KRT.js +2 -0
  98. package/dist/cdn/{LUFRX5TB.js → Z5ZBVJ2L.js} +1 -1
  99. package/dist/cdn/{YW6WBDZV.js → ZD4GMDVL.js} +1 -1
  100. package/dist/cdn/{H3JLQ2R3.js → ZLUIF2K7.js} +1 -1
  101. package/dist/cdn/{ZTVR6KBG.js → ZUN46CYQ.js} +1 -1
  102. package/dist/cdn/{4YOIC4P4.js → ZZAJQVXL.js} +1 -1
  103. package/dist/cdn/index.js +1 -1
  104. package/dist/cdn/model/shared/setup-utils.js +1 -1
  105. package/dist/chunks/action-bar-utils.js +1 -1
  106. package/dist/chunks/box-plot-data.js +1 -1
  107. package/dist/chunks/box-plot-model.js +173 -117
  108. package/dist/chunks/chart-ui-utils.js +7 -7
  109. package/dist/chunks/class-breaks.js +1 -1
  110. package/dist/chunks/combo-bar-line-chart-model.js +1 -1
  111. package/dist/chunks/data.js +9 -9
  112. package/dist/chunks/generate-x-axis-title.js +15 -15
  113. package/dist/chunks/index.js +164 -163
  114. package/dist/chunks/index2.js +1 -1
  115. package/dist/chunks/index3.js +15 -15
  116. package/dist/chunks/index4.js +7 -7
  117. package/dist/chunks/model-setter.js +22 -22
  118. package/dist/chunks/negative-values-stacked-to-baseline.js +1 -1
  119. package/dist/chunks/pie-chart-data.js +4 -4
  120. package/dist/chunks/resource.js +1 -1
  121. package/dist/chunks/rounded-corners.js +1 -1
  122. package/dist/chunks/scatterplot-model.js +1 -1
  123. package/dist/chunks/serial-chart-data.js +2 -2
  124. package/dist/chunks/serial-chart-model.js +131 -76
  125. package/dist/chunks/type-guards2.js +17 -17
  126. package/dist/chunks/utils.js +122 -106
  127. package/dist/chunks/web-component-utils.js +9 -9
  128. package/dist/chunks/x-bounds.js +12 -12
  129. package/dist/components/arcgis-chart/customElement.js +2259 -2254
  130. package/dist/components/arcgis-charts-action-bar/customElement.js +1 -1
  131. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
  132. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +8 -8
  133. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +4 -4
  134. package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
  135. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +1 -1
  136. package/dist/components/arcgis-charts-config-create-flow/customElement.js +8 -8
  137. package/dist/components/arcgis-charts-config-font-style/customElement.js +1 -1
  138. package/dist/components/arcgis-charts-config-format/customElement.js +14 -14
  139. package/dist/components/arcgis-charts-config-general/customElement.js +1 -1
  140. package/dist/components/arcgis-charts-config-guide/customElement.js +11 -11
  141. package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
  142. package/dist/components/arcgis-charts-config-heat-chart/customElement.js +1 -1
  143. package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +7 -7
  144. package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +1 -1
  145. package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
  146. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +9 -9
  147. package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
  148. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +1 -1
  149. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +7 -7
  150. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
  151. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +2 -2
  152. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
  153. package/dist/docs/api.json +1 -1
  154. package/dist/docs/docs.json +1 -1
  155. package/dist/docs/web-types.json +1 -1
  156. package/dist/index.js +111 -111
  157. package/dist/model/box-plot-model/box-plot-model.d.ts +20 -1
  158. package/dist/model/interfaces/chart-interfaces.d.ts +3 -0
  159. package/dist/model/interfaces/common.d.ts +2 -0
  160. package/dist/model/serial-chart-model/serial-chart-model.d.ts +20 -1
  161. package/dist/model/shared/setup-utils.d.ts +2 -0
  162. package/dist/model/shared/setup-utils.js +37 -36
  163. package/dist/utils/chart-config/converter/index.js +40 -40
  164. package/dist/utils/data/interfaces.d.ts +1 -0
  165. package/package.json +4 -4
  166. package/dist/cdn/2TV4NKY2.js +0 -2
  167. package/dist/cdn/EXLX4SJG.js +0 -2
  168. package/dist/cdn/GTBT4ACW.js +0 -2
  169. package/dist/cdn/HH5B6KCV.js +0 -2
  170. package/dist/cdn/KZBUDNHW.js +0 -2
  171. package/dist/cdn/KZSCAJDG.js +0 -2
  172. package/dist/cdn/XOTHROVZ.js +0 -2
  173. /package/dist/cdn/{225VUGML.js → IJPD3GVL.js} +0 -0
@@ -1,29 +1,30 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import { isEqual as W } from "es-toolkit/compat";
2
3
  import { log as d } from "@arcgis/toolkit/log";
3
- import { a as W } from "./chart-object-literals.js";
4
- import { l as f, ao as O, a9 as P, g as D, aa as y, am as m, ab as p, r as A } from "./index3.js";
5
- import { ca as V, c5 as h } from "./index.js";
6
- import { C as T } from "./chart-model.js";
7
- import { m as o } from "./model-setter.js";
8
- import { B as E } from "./common.js";
9
- import { M as N, a as R, W as z, b as U } from "./data-labels-visibility.js";
4
+ import { a as O } from "./chart-object-literals.js";
5
+ import { l as f, ao as P, a9 as D, g as R, aa as y, am as m, ab as p, r as A } from "./index3.js";
6
+ import { cb as V, c6 as h } from "./index.js";
7
+ import { m as r } from "./model-setter.js";
8
+ import { B as T } from "./common.js";
9
+ import { M as E, a as N, W as z, b as U } from "./data-labels-visibility.js";
10
10
  import { M as X, a as j } from "./model-with-y-guides.js";
11
- import { W as k, c as G, d as K } from "./axis-lines-symbol.js";
12
- import { W as Y, c as q, d as H } from "./generate-x-axis-title.js";
11
+ import { W as k, c as q, d as G } from "./axis-lines-symbol.js";
12
+ import { W as K, c as Y, d as H } from "./generate-x-axis-title.js";
13
13
  import { W as J, a as Q } from "./x-bounds.js";
14
14
  import { W as Z } from "./data-labels-symbol.js";
15
15
  import { W as $ } from "./rotated-state.js";
16
- import { g as ee, b as te, s as ie, a as se } from "./series.js";
17
- import { k as oe, j as re, l as ne, h as ae } from "./utils.js";
18
- import { s as le, d as he, e as ce, f as ge, h as de, i as u, j as S, k as _, l as L, m as B, g as fe, n as ye, o as me, p as C, a as pe, c as ue, b as Se, q as _e, r as F, t as Le, u as Be, v as M, w as Ce, x, y as Fe, z as Me, A as xe, B as Ie, C as we, D as be, E as ve, F as We, G as I } from "./box-plot-data.js";
19
- var Oe = Object.defineProperty, Pe = Object.getOwnPropertyDescriptor, r = (c, e, t, n) => {
20
- for (var s = Pe(e, t), a = c.length - 1, l; a >= 0; a--)
21
- (l = c[a]) && (s = l(e, t, s) || s);
22
- return s && Oe(e, t, s), s;
16
+ import { g as ee, b as ie, s as te, a as se } from "./series.js";
17
+ import { k as re, j as oe, l as ne, h as ae } from "./utils.js";
18
+ import { s as le, d as he, e as ce, f as ge, h as de, i as u, j as S, k as _, l as L, m as B, g as fe, n as ye, o as me, p as C, a as pe, c as ue, b as Se, q as _e, r as F, t as Le, u as Be, v as M, w as Ce, x, y as Fe, z as Me, A as xe, B as Ie, C as be, D as ve, E as we, F as We, G as I } from "./box-plot-data.js";
19
+ import { C as Oe } from "./chart-model.js";
20
+ var Pe = Object.defineProperty, De = Object.getOwnPropertyDescriptor, o = (c, e, i, n) => {
21
+ for (var s = De(e, i), a = c.length - 1, l; a >= 0; a--)
22
+ (l = c[a]) && (s = l(e, i, s) || s);
23
+ return s && Pe(e, i, s), s;
23
24
  };
24
- class i extends T {
25
+ class t extends Oe {
25
26
  constructor() {
26
- super(...arguments), this._chartType = W.BoxPlotSeries, this._category = f, this._splitByField = "", this._numericFields = [];
27
+ super(...arguments), this._chartType = O.BoxPlotSeries, this._category = f, this._splitByField = "", this._numericFields = [], this._splitBySeriesLimitReached = !1, this._splitBySeriesCount = 0;
27
28
  }
28
29
  async setup(e) {
29
30
  await this.loadConfigFromLayer(e), this.setupLocalProps(), e.config !== void 0 && await this.rebuildSeries(), typeof this.resolveSetup == "function" && this.resolveSetup();
@@ -31,6 +32,60 @@ class i extends T {
31
32
  // ---------------------------------------------------------------------------------------------
32
33
  // #region Data Props
33
34
  // ---------------------------------------------------------------------------------------------
35
+ /**
36
+ * The chart limits used when generating split-by series.
37
+ *
38
+ * @internal
39
+ */
40
+ get chartLimits() {
41
+ return this._chartLimits;
42
+ }
43
+ /**
44
+ * Sets the chart limits used when generating split-by series.
45
+ *
46
+ * When the limits change after model setup, the series are rebuilt asynchronously. Call the update() method to wait
47
+ * for the rebuild to complete.
48
+ *
49
+ * @internal
50
+ *
51
+ * @param chartLimits The chart limits to apply, or `undefined` to use the default limits.
52
+ */
53
+ set chartLimits(e) {
54
+ const i = !W(this._chartLimits, e);
55
+ this._chartLimits = e, i && this.layerInfo !== void 0 && this._config !== void 0 && this.processSeriesRebuild("chartLimits");
56
+ }
57
+ /**
58
+ * Get whether split-by series were trimmed to the configured chart limit.
59
+ *
60
+ * @internal
61
+ */
62
+ get splitBySeriesLimitReached() {
63
+ return this._splitBySeriesLimitReached;
64
+ }
65
+ /**
66
+ * Sets whether split-by series were trimmed to the configured chart limit.
67
+ *
68
+ * @internal
69
+ */
70
+ set splitBySeriesLimitReached(e) {
71
+ this._splitBySeriesLimitReached = e;
72
+ }
73
+ /**
74
+ * Get the number of split-by series before applying the configured chart limit.
75
+ *
76
+ * @internal
77
+ */
78
+ get splitBySeriesCount() {
79
+ return this._splitBySeriesCount;
80
+ }
81
+ /**
82
+ * Sets the number of split-by series before applying the configured chart limit.
83
+ *
84
+ * @internal
85
+ */
86
+ set splitBySeriesCount(e) {
87
+ this._splitBySeriesCount = e;
88
+ }
34
89
  /**
35
90
  * The category field for the box plot.
36
91
  */
@@ -38,8 +93,8 @@ class i extends T {
38
93
  return this._category;
39
94
  }
40
95
  set category(e) {
41
- const t = e.trim() === "";
42
- this._category = t ? f : e, this.processSeriesRebuild("category");
96
+ const i = e.trim() === "";
97
+ this._category = i ? f : e, this.processSeriesRebuild("category");
43
98
  }
44
99
  /**
45
100
  * The numeric fields array for the box plot.
@@ -48,8 +103,8 @@ class i extends T {
48
103
  return this._numericFields;
49
104
  }
50
105
  set numericFields(e) {
51
- const { layerFieldsInfo: t } = this.layerInfo;
52
- typeof e == "string" && (e = [e]), oe(t, e) ? (this._numericFields = e, le(this._category, this._numericFields) && (this._splitByField = ""), this.processSeriesRebuild("numericFields")) : d("error", "box-plot-model", "Invalid `numericFields`");
106
+ const { layerFieldsInfo: i } = this.layerInfo;
107
+ typeof e == "string" && (e = [e]), re(i, e) ? (this._numericFields = e, le(this._category, this._numericFields) && (this._splitByField = ""), this.processSeriesRebuild("numericFields")) : d("error", "box-plot-model", "Invalid `numericFields`");
53
108
  }
54
109
  /**
55
110
  * The split-by field for the box plot.
@@ -58,7 +113,7 @@ class i extends T {
58
113
  return this._splitByField;
59
114
  }
60
115
  set splitByField(e) {
61
- re(this.layerInfo.layerFieldsInfo, e) ? (this._splitByField = e, this.processSeriesRebuild("splitByField")) : d("error", "box-plot-model", "Invalid `splitByField`");
116
+ oe(this.layerInfo.layerFieldsInfo, e) ? (this._splitByField = e, this.processSeriesRebuild("splitByField")) : d("error", "box-plot-model", "Invalid `splitByField`");
62
117
  }
63
118
  /**
64
119
  * Whether outliers are shown.
@@ -94,8 +149,8 @@ class i extends T {
94
149
  getSortOrder() {
95
150
  return u(this._config);
96
151
  }
97
- setSortOrder(e, t) {
98
- S(e, this._config, t);
152
+ setSortOrder(e, i) {
153
+ S(e, this._config, i);
99
154
  }
100
155
  /**
101
156
  * Gets the list of the category values for the chart.
@@ -109,15 +164,15 @@ class i extends T {
109
164
  }
110
165
  async setDataFilters(e) {
111
166
  super.setDataFilters(e);
112
- const t = u(this._config);
113
- if (t === E.customSort) {
167
+ const i = u(this._config);
168
+ if (i === T.customSort) {
114
169
  this.startAsyncUpdate();
115
170
  const n = await _({
116
171
  config: this._config,
117
172
  layerInfo: this.layerInfo,
118
173
  errorStrings: this.commonStrings.errorStrings
119
174
  });
120
- S(t, this._config, n), this.finishAsyncUpdate();
175
+ S(i, this._config, n), this.finishAsyncUpdate();
121
176
  }
122
177
  this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"));
123
178
  }
@@ -154,13 +209,13 @@ class i extends T {
154
209
  return fe(this._config);
155
210
  }
156
211
  set showMeanLines(e) {
157
- const { previousMeanLinesBoxColor: t } = ye({
212
+ const { previousMeanLinesBoxColor: i } = ye({
158
213
  newShowMeanLines: e,
159
214
  config: this._config,
160
215
  commonStrings: this.commonStrings,
161
216
  previousMeanLinesBoxColor: this.previousMeanLinesBoxColor
162
217
  });
163
- this.previousMeanLinesBoxColor = t;
218
+ this.previousMeanLinesBoxColor = i;
164
219
  }
165
220
  /**
166
221
  * The color of the boxes when showing mean lines.
@@ -185,8 +240,8 @@ class i extends T {
185
240
  }
186
241
  /** @private */
187
242
  generateDefaultConfig() {
188
- const e = O(this.commonStrings);
189
- return e.series = [P(this.commonStrings)], e;
243
+ const e = P(this.commonStrings);
244
+ return e.series = [D(this.commonStrings)], e;
190
245
  }
191
246
  resetConfig() {
192
247
  const e = this._config.id;
@@ -209,7 +264,7 @@ class i extends T {
209
264
  * @private
210
265
  */
211
266
  async processSeriesRebuild(e) {
212
- this.usingSplitBy() ? (this.startAsyncUpdate(), await this.fetchSplitByFieldInfos(), F(this.getBuildNewSeriesProps()), this.finishAsyncUpdate()) : F(this.getBuildNewSeriesProps()), this.setupLocalProps(), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")), this.emitConfigUpdate(e);
267
+ this.usingSplitBy() ? (this.startAsyncUpdate(), await this.fetchSplitByFieldInfos(), F(this.getBuildNewSeriesProps()), this.finishAsyncUpdate()) : (this._splitBySeriesLimitReached = !1, this._splitBySeriesCount = 0, F(this.getBuildNewSeriesProps())), this.setupLocalProps(), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")), this.emitConfigUpdate(e);
213
268
  }
214
269
  /**
215
270
  * Fetches the split-by field information and stores it in a private member for use in building the series.
@@ -224,8 +279,9 @@ class i extends T {
224
279
  aggregationFields: this.numericFields,
225
280
  splitByField: this._splitByField,
226
281
  fetchNullValues: e,
282
+ chartLimits: this._chartLimits,
227
283
  errorStrings: this.commonStrings?.errorStrings
228
- }), this.splitByFieldInfos;
284
+ }), this._splitBySeriesLimitReached = this.splitByFieldInfos.seriesLimitReached, this._splitBySeriesCount = this.splitByFieldInfos.totalSeriesCount, this.splitByFieldInfos;
229
285
  }
230
286
  //#endregion
231
287
  // #region Private Methods
@@ -255,8 +311,8 @@ class i extends T {
255
311
  getSeriesName(e) {
256
312
  return Be(e, this._config);
257
313
  }
258
- setSeriesName(e, t) {
259
- M(e, t, this._config);
314
+ setSeriesName(e, i) {
315
+ M(e, i, this._config);
260
316
  }
261
317
  /**
262
318
  * Gets the color of the series based on the series index. If the index is out of bounds, it will return `undefined`.
@@ -266,8 +322,8 @@ class i extends T {
266
322
  getSeriesColor(e) {
267
323
  return Ce(e, this._config);
268
324
  }
269
- setSeriesColor(e, t) {
270
- x(e, t, this._config);
325
+ setSeriesColor(e, i) {
326
+ x(e, i, this._config);
271
327
  }
272
328
  /**
273
329
  * Gets the line style of the series based on the series index. If the index is out of bounds, it will return `undefined`.
@@ -277,12 +333,12 @@ class i extends T {
277
333
  * @param seriesIndex - The index of the series.
278
334
  */
279
335
  getSeriesLineStyle(e) {
280
- const t = this._config.series[e];
281
- if (this.showMeanLines === !0 && h(t))
282
- return ee(t);
336
+ const i = this._config.series[e];
337
+ if (this.showMeanLines === !0 && h(i))
338
+ return ee(i);
283
339
  }
284
- setSeriesLineStyle(e, t) {
285
- this.showMeanLines === !0 && Fe({ style: e, seriesIndex: t, config: this._config });
340
+ setSeriesLineStyle(e, i) {
341
+ this.showMeanLines === !0 && Fe({ style: e, seriesIndex: i, config: this._config });
286
342
  }
287
343
  /**
288
344
  * Gets the line width of the series based on the series index. If the index is out of bounds, it will return `undefined`.
@@ -292,12 +348,12 @@ class i extends T {
292
348
  * @param seriesIndex - The index of the series.
293
349
  */
294
350
  getSeriesLineWidth(e) {
295
- const t = this._config.series[e];
296
- if (this.showMeanLines === !0 && h(t))
297
- return te(t);
351
+ const i = this._config.series[e];
352
+ if (this.showMeanLines === !0 && h(i))
353
+ return ie(i);
298
354
  }
299
- setSeriesLineWidth(e, t) {
300
- this.showMeanLines === !0 && Me({ width: e, seriesIndex: t, config: this._config });
355
+ setSeriesLineWidth(e, i) {
356
+ this.showMeanLines === !0 && Me({ width: e, seriesIndex: i, config: this._config });
301
357
  }
302
358
  /**
303
359
  * The order of the series array by returning an array of series ids.
@@ -308,8 +364,8 @@ class i extends T {
308
364
  set orderOfSeries(e) {
309
365
  Ie(e, this._config);
310
366
  }
311
- moveSeries(e, t) {
312
- we(e, t, this._config);
367
+ moveSeries(e, i) {
368
+ be(e, i, this._config);
313
369
  }
314
370
  /**
315
371
  * The index of the box plot series in the series array in config object when show mean is true.
@@ -317,11 +373,11 @@ class i extends T {
317
373
  * **Note**: There is only one box plot series when show mean is `true`. The function returns `-1` if show mean is `false`.
318
374
  */
319
375
  get boxPlotSeriesIndexWhenMeanLinesShown() {
320
- return be(this._config);
376
+ return ve(this._config);
321
377
  }
322
- moveCustomSortValuesInOrderByList(e, t) {
378
+ moveCustomSortValuesInOrderByList(e, i) {
323
379
  const n = L(this._config), [s] = n.splice(e, 1);
324
- n.splice(t, 0, s), B(n, this._config);
380
+ n.splice(i, 0, s), B(n, this._config);
325
381
  }
326
382
  // ---------------------------------------------------------------------------------------------
327
383
  // #region General Methods
@@ -330,7 +386,7 @@ class i extends T {
330
386
  * Generate the proper chart title given the current config.
331
387
  */
332
388
  generateChartTitle() {
333
- return ve(this._config, this.layerInfo, this.commonStrings);
389
+ return we(this._config, this.layerInfo, this.commonStrings);
334
390
  }
335
391
  /**
336
392
  * Generate the proper y-axis title given the current config.
@@ -340,7 +396,7 @@ class i extends T {
340
396
  }
341
397
  resetSeriesStyling() {
342
398
  for (let e = this.showMeanLines === !0 ? 1 : 0; e < this.seriesLength; e += 1) {
343
- const t = this.getSeriesId(e), n = D({
399
+ const i = this.getSeriesId(e), n = R({
344
400
  colorIndex: e,
345
401
  opacity: A
346
402
  }), s = this._config.series[e];
@@ -351,7 +407,7 @@ class i extends T {
351
407
  layerInfo: this.layerInfo,
352
408
  commonStrings: this.commonStrings
353
409
  });
354
- M(a ?? t, e, this._config), this.showMeanLines === !0 && h(s) && (ie(m, s), se(p, s));
410
+ M(a ?? i, e, this._config), this.showMeanLines === !0 && h(s) && (te(m, s), se(p, s));
355
411
  }
356
412
  this.showMeanLines === !0 && C(y, this._config), this._config.colorMatch = !0;
357
413
  }
@@ -359,7 +415,7 @@ class i extends T {
359
415
  * Returns whether the series styling is able to be reset.
360
416
  */
361
417
  resetAvailable() {
362
- const e = !this.colorMatch, t = this.showMeanLines === !0 && this.meanLinesBoxColor !== y;
418
+ const e = !this.colorMatch, i = this.showMeanLines === !0 && this.meanLinesBoxColor !== y;
363
419
  let n = !1, s = !1;
364
420
  if (!e)
365
421
  for (let a = this.showMeanLines === !0 ? 1 : 0; a < this.seriesLength; a += 1) {
@@ -368,89 +424,89 @@ class i extends T {
368
424
  splitByField: this._splitByField,
369
425
  layerInfo: this.layerInfo,
370
426
  commonStrings: this.commonStrings
371
- }), w = this.getSeriesName(a);
372
- if (g !== void 0 && g !== w) {
427
+ }), b = this.getSeriesName(a);
428
+ if (g !== void 0 && g !== b) {
373
429
  n = !0;
374
430
  break;
375
431
  }
376
432
  if (this.showMeanLines === !0 && h(l)) {
377
- const b = this.getSeriesLineStyle(a), v = this.getSeriesLineWidth(a);
378
- if (b !== m || v !== p) {
433
+ const v = this.getSeriesLineStyle(a), w = this.getSeriesLineWidth(a);
434
+ if (v !== m || w !== p) {
379
435
  s = !0;
380
436
  break;
381
437
  }
382
438
  }
383
439
  }
384
- return e || t || n || s;
440
+ return e || i || n || s;
385
441
  }
386
442
  }
387
- r([
388
- o
389
- ], i.prototype, "showOutliers");
390
- r([
391
- o
392
- ], i.prototype, "standardizeValues");
393
- r([
394
- o
395
- ], i.prototype, "setSortOrder");
396
- r([
397
- o
398
- ], i.prototype, "setDataFilters");
399
- r([
400
- o
401
- ], i.prototype, "orderByList");
402
- r([
403
- o
404
- ], i.prototype, "showMeanLines");
405
- r([
406
- o
407
- ], i.prototype, "meanLinesBoxColor");
408
- r([
409
- o
410
- ], i.prototype, "resetConfig");
411
- r([
412
- o
413
- ], i.prototype, "setSeriesName");
414
- r([
415
- o
416
- ], i.prototype, "setSeriesColor");
417
- r([
418
- o
419
- ], i.prototype, "setSeriesLineStyle");
420
- r([
421
- o
422
- ], i.prototype, "setSeriesLineWidth");
423
- r([
424
- o
425
- ], i.prototype, "orderOfSeries");
426
- r([
427
- o
428
- ], i.prototype, "moveSeries");
429
- r([
430
- o
431
- ], i.prototype, "moveCustomSortValuesInOrderByList");
432
- r([
433
- o
434
- ], i.prototype, "resetSeriesStyling");
435
- const De = [
443
+ o([
444
+ r
445
+ ], t.prototype, "showOutliers");
446
+ o([
447
+ r
448
+ ], t.prototype, "standardizeValues");
449
+ o([
450
+ r
451
+ ], t.prototype, "setSortOrder");
452
+ o([
453
+ r
454
+ ], t.prototype, "setDataFilters");
455
+ o([
456
+ r
457
+ ], t.prototype, "orderByList");
458
+ o([
459
+ r
460
+ ], t.prototype, "showMeanLines");
461
+ o([
462
+ r
463
+ ], t.prototype, "meanLinesBoxColor");
464
+ o([
465
+ r
466
+ ], t.prototype, "resetConfig");
467
+ o([
468
+ r
469
+ ], t.prototype, "setSeriesName");
470
+ o([
471
+ r
472
+ ], t.prototype, "setSeriesColor");
473
+ o([
474
+ r
475
+ ], t.prototype, "setSeriesLineStyle");
476
+ o([
477
+ r
478
+ ], t.prototype, "setSeriesLineWidth");
479
+ o([
480
+ r
481
+ ], t.prototype, "orderOfSeries");
482
+ o([
483
+ r
484
+ ], t.prototype, "moveSeries");
485
+ o([
486
+ r
487
+ ], t.prototype, "moveCustomSortValuesInOrderByList");
488
+ o([
489
+ r
490
+ ], t.prototype, "resetSeriesStyling");
491
+ const Re = [
436
492
  X,
493
+ E,
437
494
  N,
438
- R,
439
495
  z,
440
496
  $,
441
497
  U,
442
498
  Z,
443
499
  j,
444
- Y,
500
+ K,
445
501
  J,
446
- q,
502
+ Y,
447
503
  Q,
448
504
  k,
505
+ q,
449
506
  G,
450
- K,
451
507
  H
452
508
  ];
453
- ae(i, De);
509
+ ae(t, Re);
454
510
  export {
455
- i as BoxPlotModel
511
+ t as BoxPlotModel
456
512
  };
@@ -3,7 +3,7 @@ import { F as o, W as f } from "./interfaces.js";
3
3
  import { i as b } from "./utils.js";
4
4
  import { R as u } from "./rest-js-object-literals.js";
5
5
  import { d as r, l as m } from "./chart-object-literals.js";
6
- import { D as p, bE as g } from "./index.js";
6
+ import { D as p, bF as g } from "./index.js";
7
7
  import { t as d } from "./index2.js";
8
8
  import { F as n } from "./common.js";
9
9
  const F = {
@@ -55,12 +55,12 @@ function C(e) {
55
55
  }
56
56
  return t;
57
57
  }
58
- function E(e, t, a) {
58
+ function x(e, t, a) {
59
59
  let i = !1;
60
60
  const s = typeof e == "string" ? Number.parseFloat(e) : e, c = typeof t == "string" ? Number.parseFloat(t) : t, l = typeof a == "string" ? Number.parseFloat(a) : a;
61
61
  return Number.isNaN(s) || (i = (c === void 0 || Number.isNaN(c) || s >= c) && (l === void 0 || Number.isNaN(l) || s <= l)), i;
62
62
  }
63
- function x(e, t) {
63
+ function A(e, t) {
64
64
  let a;
65
65
  if (e !== null) {
66
66
  const i = typeof e == "string" ? Number.parseFloat(e) : e;
@@ -68,7 +68,7 @@ function x(e, t) {
68
68
  }
69
69
  return a === void 0 ? "" : `${a}`;
70
70
  }
71
- function A(e) {
71
+ function E(e) {
72
72
  const { inputElement: t, status: a } = e;
73
73
  t.status = a;
74
74
  }
@@ -160,13 +160,13 @@ export {
160
160
  P as f,
161
161
  U as g,
162
162
  C as h,
163
- E as i,
163
+ x as i,
164
164
  w as j,
165
165
  W as k,
166
166
  R as l,
167
- A as m,
167
+ E as m,
168
168
  V as n,
169
169
  M as o,
170
170
  I as p,
171
- x as s
171
+ A as s
172
172
  };
@@ -1,7 +1,7 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/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 { cd as Y, ce as L } from "./index.js";
4
+ import { ce as Y, cf as L } from "./index.js";
5
5
  import { cloneDeep as Q, 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 "./index3.js";
@@ -5,7 +5,7 @@ import { g as u, a as k, e as C, b as M, f as v, s as z, h as O, c as B, i as V,
5
5
  import { S as T, s as I } from "./serial-chart-model.js";
6
6
  import { h as N } from "./utils.js";
7
7
  import { a as n } from "./chart-object-literals.js";
8
- import { c3 as q, r as S, c5 as d, c2 as R } from "./index.js";
8
+ import { c4 as q, r as S, c6 as d, c3 as R } from "./index.js";
9
9
  import { an as Y, $ as h, Y as y } from "./index3.js";
10
10
  var $ = Object.defineProperty, E = Object.getOwnPropertyDescriptor, l = (c, e, i, o) => {
11
11
  for (var s = E(e, i), t = c.length - 1, f; t >= 0; t--)
@@ -1,12 +1,12 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
2
  import { capitalize as u } from "es-toolkit/compat";
3
- import { aO as B, p as L, r as $, q as N, cs as I, c0 as h, bE as H, w as P, cc as _, y as v } from "./index.js";
3
+ import { aO as B, p as L, r as $, q as N, ct as I, c1 as h, bF as H, w as P, cd as _, y as v } from "./index.js";
4
4
  import { g as C } from "./series-types.js";
5
- import { H as A, S as o, P as E } from "./common.js";
5
+ import { H as A, S as o, P as M } from "./common.js";
6
6
  import { g as l, t as n, a as d, d as g } from "./chart-object-literals.js";
7
- import { a as M } from "./index2.js";
8
- import { l as U } from "./index3.js";
9
- import { i as W } from "./type-guards.js";
7
+ import { a as U } from "./index2.js";
8
+ import { l as W } from "./index3.js";
9
+ import { i as E } from "./type-guards.js";
10
10
  function K(e, r) {
11
11
  let s;
12
12
  return r === n.Category && Array.isArray(e) ? s = o.customSort : r === n.Category ? s = e === l.Ascending ? o.xAxisAsc : o.xAxisDesc : e === l.Ascending ? s = o.yAxisAsc : s = o.yAxisDesc, s;
@@ -67,7 +67,7 @@ const R = (e) => {
67
67
  fieldList: O
68
68
  } = e, T = C(r.series), b = L(r.series);
69
69
  let f;
70
- if (W(a)) {
70
+ if (E(a)) {
71
71
  const y = I(a);
72
72
  f = t.length === 1 && t[0] === y;
73
73
  } else {
@@ -77,7 +77,7 @@ const R = (e) => {
77
77
  let p = "y", F = "y";
78
78
  switch (T) {
79
79
  case d.PieSeries: {
80
- i !== g.NoAggregation ? m === E.Category ? (p = `${i}_${t[0]}_0`.toUpperCase(), F = f ? u(g.Count) : u(`${i} of ${t[0]}`)) : p = v : p = t[0];
80
+ i !== g.NoAggregation ? m === M.Category ? (p = `${i}_${t[0]}_0`.toUpperCase(), F = f ? u(g.Count) : u(`${i} of ${t[0]}`)) : p = v : p = t[0];
81
81
  break;
82
82
  }
83
83
  case d.BarSeries:
@@ -90,7 +90,7 @@ const R = (e) => {
90
90
  fieldName: s,
91
91
  numericFields: t,
92
92
  fieldList: O ?? []
93
- }) || b === M.BarAndLineFromFields ? p = _ : (p = i !== g.NoAggregation ? `${i}_${t[c ?? 0]}_${c ?? 0}`.toUpperCase() : t[c ?? 0], F = f ? u(g.Count) : u(`${i} of ${t[c ?? 0]}`));
93
+ }) || b === U.BarAndLineFromFields ? p = _ : (p = i !== g.NoAggregation ? `${i}_${t[c ?? 0]}_${c ?? 0}`.toUpperCase() : t[c ?? 0], F = f ? u(g.Count) : u(`${i} of ${t[c ?? 0]}`));
94
94
  else {
95
95
  const y = t[0];
96
96
  p = i !== g.NoAggregation ? `${i}_${y}_${x ?? 0}`.toUpperCase() : y, F = f ? u(g.Count) : u(`${i} of ${y}`);
@@ -105,7 +105,7 @@ const R = (e) => {
105
105
  };
106
106
  function Y(e) {
107
107
  const { fieldName: r, fieldList: s } = e, t = h(s ?? [], r);
108
- return r === H || r === P || r === U || r === void 0 || r.trim() === "" || t === void 0;
108
+ return r === H || r === P || r === W || r === void 0 || r.trim() === "" || t === void 0;
109
109
  }
110
110
  function j(e) {
111
111
  const { fieldName: r, fieldList: s, numericFields: t } = e, i = t.filter((m) => h(s ?? [], m)?.type !== "esriFieldTypeOID");