@arcgis/charts-components 5.2.0-next.58 → 5.2.0-next.59

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 (231) hide show
  1. package/dist/cdn/{A6QLIVFM.js → 26UUSCOV.js} +20 -20
  2. package/dist/cdn/2B27HWX2.js +2 -0
  3. package/dist/cdn/44DVV3KE.js +2 -0
  4. package/dist/cdn/54M3LLQH.js +2 -0
  5. package/dist/cdn/5NZ537SN.js +2 -0
  6. package/dist/cdn/5RC76C5H.js +2 -0
  7. package/dist/cdn/{OEYB3NZZ.js → 5RWZRHLN.js} +1 -1
  8. package/dist/cdn/64CBZCW7.js +2 -0
  9. package/dist/cdn/{PHUJHKPW.js → 6HIK7EBX.js} +1 -1
  10. package/dist/cdn/6KMPIGFU.js +2 -0
  11. package/dist/cdn/6KTWKIGJ.js +2 -0
  12. package/dist/cdn/{UGOWEOTC.js → AYQ4HHL6.js} +1 -1
  13. package/dist/cdn/AZDPAG65.js +2 -0
  14. package/dist/cdn/B2XDPYOL.js +2 -0
  15. package/dist/cdn/{LOEMTYZB.js → B5KB7HXA.js} +1 -1
  16. package/dist/cdn/BFT5CL7V.js +2 -0
  17. package/dist/cdn/BU3IX333.js +2 -0
  18. package/dist/cdn/COLTSCAS.js +2 -0
  19. package/dist/cdn/CU6R7UXF.js +2 -0
  20. package/dist/cdn/{NYFHPR6N.js → DAFNQT4C.js} +1 -1
  21. package/dist/cdn/{OS5TUH4X.js → DDUKKQIZ.js} +1 -1
  22. package/dist/cdn/{FQ6B5P53.js → DG6ENZ35.js} +1 -1
  23. package/dist/cdn/E5G6IGUP.js +2 -0
  24. package/dist/cdn/EFRELYIP.js +2 -0
  25. package/dist/cdn/EQ2X422F.js +2 -0
  26. package/dist/cdn/{J64IDIEG.js → EQDTX4JX.js} +1 -1
  27. package/dist/cdn/FHCIXPMQ.js +3 -0
  28. package/dist/cdn/FJGG2VVZ.js +2 -0
  29. package/dist/cdn/G3MWFZDW.js +2 -0
  30. package/dist/cdn/GC7ISTDF.js +2 -0
  31. package/dist/cdn/{GVUHKCSZ.js → GJ4JGGKT.js} +1 -1
  32. package/dist/cdn/GPABWWGF.js +2 -0
  33. package/dist/cdn/{DRHDCMI3.js → GQGII3CK.js} +1 -1
  34. package/dist/cdn/{JXZJXDU5.js → GWNHO3MZ.js} +11 -9
  35. package/dist/cdn/H3CYQU3L.js +2 -0
  36. package/dist/cdn/{HDCSZ2BJ.js → H57XAQPI.js} +2 -2
  37. package/dist/cdn/HD72K7JQ.js +2 -0
  38. package/dist/cdn/{FJPWWKHZ.js → HSVZTTYF.js} +1 -1
  39. package/dist/cdn/IJYXP34M.js +2 -0
  40. package/dist/cdn/IKSW6TU5.js +2 -0
  41. package/dist/cdn/{BGTNSGMQ.js → INUVRMMG.js} +1 -1
  42. package/dist/cdn/{6Z7SZ44K.js → IOE5YG7Q.js} +1 -1
  43. package/dist/cdn/IPMCTC6B.js +2 -0
  44. package/dist/cdn/IW7AZIV6.js +2 -0
  45. package/dist/cdn/{4B5XCGIW.js → J6M4AA5V.js} +1 -1
  46. package/dist/cdn/JWWSIFDA.js +2 -0
  47. package/dist/cdn/KBOIN2ZI.js +2 -0
  48. package/dist/cdn/KDLRVDVQ.js +2 -0
  49. package/dist/cdn/KJZTU3DV.js +2 -0
  50. package/dist/cdn/{GSD4ZLN6.js → KR7A5JG4.js} +1 -1
  51. package/dist/cdn/KUI3SQHQ.js +2 -0
  52. package/dist/cdn/KVAWYWYK.js +2 -0
  53. package/dist/cdn/{5PAOUYHV.js → LA5FTE2U.js} +2 -2
  54. package/dist/cdn/LU6YEMXO.js +2 -0
  55. package/dist/cdn/MJLDF2FQ.js +2 -0
  56. package/dist/cdn/{UYQBMPSN.js → MLLV2GML.js} +1 -1
  57. package/dist/cdn/MO5LDVWE.js +2 -0
  58. package/dist/cdn/MYDNPSD6.js +2 -0
  59. package/dist/cdn/NCHIDM4H.js +2 -0
  60. package/dist/cdn/NYDW2I5M.js +2 -0
  61. package/dist/cdn/{2EDBRZSQ.js → NZT3J3KJ.js} +1 -1
  62. package/dist/cdn/{QYNNPEED.js → OAXHS4LE.js} +1 -1
  63. package/dist/cdn/OKZBV5LB.js +2 -0
  64. package/dist/cdn/{QRJMT2DB.js → OTH3FQJJ.js} +1 -1
  65. package/dist/cdn/P2L3OTIA.js +2 -0
  66. package/dist/cdn/PA4NRD4I.js +2 -0
  67. package/dist/cdn/PDYOXU7M.js +2 -0
  68. package/dist/cdn/PXTBSPEA.js +2 -0
  69. package/dist/cdn/{ALOMPW5P.js → Q6VW7H3A.js} +1 -1
  70. package/dist/cdn/QRNP4SNY.js +2 -0
  71. package/dist/cdn/QTD2QGHC.js +2 -0
  72. package/dist/cdn/{GXGUKV7H.js → RA3GUNR3.js} +1 -1
  73. package/dist/cdn/{VPJVWP7S.js → RQ6HACQP.js} +1 -1
  74. package/dist/cdn/{2ULHNXRJ.js → SCU3SBSN.js} +1 -1
  75. package/dist/cdn/T3WULYNA.js +2 -0
  76. package/dist/cdn/TCKFUPRR.js +2 -0
  77. package/dist/cdn/TQYULR2I.js +2 -0
  78. package/dist/cdn/UL2ASLY7.js +2 -0
  79. package/dist/cdn/{MEQOANO2.js → UMYQZXPT.js} +1 -1
  80. package/dist/cdn/USNCFQ5L.js +2 -0
  81. package/dist/cdn/{EZ6DGROJ.js → UYMLDXJI.js} +1 -1
  82. package/dist/cdn/V6TEH3XV.js +2 -0
  83. package/dist/cdn/VME2NH7X.js +2 -0
  84. package/dist/cdn/{KI2XMATI.js → VXQLTYHF.js} +1 -1
  85. package/dist/cdn/WKCITUA3.js +2 -0
  86. package/dist/cdn/{CB6BIIF2.js → WMUPNT4Q.js} +1 -1
  87. package/dist/cdn/WWKZYBCF.js +2 -0
  88. package/dist/cdn/XYBOIKE4.js +2 -0
  89. package/dist/cdn/{2DHUAIBZ.js → YIWJ2NPY.js} +1 -1
  90. package/dist/cdn/YL27XTUT.js +2 -0
  91. package/dist/cdn/{TT6WOAKC.js → ZESW7TCR.js} +1 -1
  92. package/dist/cdn/ZH3BXRLT.js +2 -0
  93. package/dist/cdn/{6HFL4FZL.js → ZZ5FKECR.js} +1 -1
  94. package/dist/cdn/index.js +1 -1
  95. package/dist/cdn/model/shared/setup-utils.js +1 -1
  96. package/dist/chart-rendering/common/interfaces.d.ts +11 -8
  97. package/dist/chunks/action-bar-utils.js +1 -1
  98. package/dist/chunks/bar-chart-model.js +1 -1
  99. package/dist/chunks/box-plot-data.js +55 -56
  100. package/dist/chunks/box-plot-model.js +1 -1
  101. package/dist/chunks/class-breaks.js +1 -1
  102. package/dist/chunks/combo-bar-line-chart-model.js +6 -7
  103. package/dist/chunks/data.js +9 -9
  104. package/dist/chunks/gauge-model.js +1 -1
  105. package/dist/chunks/generate-x-axis-title.js +4 -4
  106. package/dist/chunks/heat-chart-model.js +1 -1
  107. package/dist/chunks/index.js +1 -1
  108. package/dist/chunks/index2.js +1576 -1467
  109. package/dist/chunks/index3.js +77 -67
  110. package/dist/chunks/index4.js +25 -13
  111. package/dist/chunks/index5.js +63 -100
  112. package/dist/chunks/line-chart-model.js +1 -1
  113. package/dist/chunks/model-setter.js +1 -1
  114. package/dist/chunks/negative-values-stacked-to-baseline.js +6 -6
  115. package/dist/chunks/pie-chart-data.js +1 -1
  116. package/dist/chunks/pie-chart-model.js +1 -1
  117. package/dist/chunks/radar-chart-model.js +1 -1
  118. package/dist/chunks/resource.js +5 -5
  119. package/dist/chunks/rounded-corners.js +5 -5
  120. package/dist/chunks/scatterplot-model.js +1 -1
  121. package/dist/chunks/serial-chart-data.js +631 -620
  122. package/dist/chunks/serial-chart-model.js +63 -64
  123. package/dist/chunks/series-length.js +1 -1
  124. package/dist/chunks/series-types.js +22 -18
  125. package/dist/chunks/type-guards2.js +30 -26
  126. package/dist/chunks/utils.js +50 -51
  127. package/dist/chunks/web-component-utils.js +2 -2
  128. package/dist/chunks/x-bounds.js +21 -22
  129. package/dist/components/arcgis-chart/customElement.d.ts +64 -23
  130. package/dist/components/arcgis-chart/customElement.js +6128 -6148
  131. package/dist/components/arcgis-charts-action-bar/customElement.js +1 -1
  132. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +6 -7
  133. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +1 -1
  134. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +1 -1
  135. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +54 -53
  136. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +10 -9
  137. package/dist/components/arcgis-charts-config-box-plot/customElement.js +10 -11
  138. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +1 -1
  139. package/dist/components/arcgis-charts-config-create-flow/customElement.js +48 -46
  140. package/dist/components/arcgis-charts-config-format/customElement.js +2 -2
  141. package/dist/components/arcgis-charts-config-guide/customElement.js +18 -19
  142. package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
  143. package/dist/components/arcgis-charts-config-heat-chart/customElement.js +12 -13
  144. package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +1 -1
  145. package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +1 -1
  146. package/dist/components/arcgis-charts-config-histogram/customElement.js +12 -13
  147. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +6 -6
  148. package/dist/components/arcgis-charts-config-line-chart/customElement.js +5 -6
  149. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +1 -1
  150. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +5 -5
  151. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +4 -5
  152. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +1 -1
  153. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +18 -18
  154. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +6 -7
  155. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +1 -1
  156. package/dist/components/arcgis-charts-config-view-charts/customElement.js +1 -1
  157. package/dist/docs/api.json +1 -1
  158. package/dist/docs/docs.json +1 -1
  159. package/dist/docs/vscode.html-custom-data.json +1 -1
  160. package/dist/docs/web-types.json +1 -1
  161. package/dist/index.js +286 -283
  162. package/dist/json-schema/index.d.ts +12 -2
  163. package/dist/model/shared/type-guards.d.ts +9 -2
  164. package/dist/spec/web-chart.d.ts +26 -4
  165. package/dist/utils/chart-config/converter/index.js +185 -166
  166. package/dist/utils/chart-config/utils/index.d.ts +18 -3
  167. package/dist/utils/cursor/interfaces.d.ts +21 -0
  168. package/dist/utils/type-guards/series-types.d.ts +9 -2
  169. package/package.json +3 -3
  170. package/dist/cdn/2B7R5EPU.js +0 -2
  171. package/dist/cdn/37UC5ORG.js +0 -2
  172. package/dist/cdn/3MGWFTQH.js +0 -2
  173. package/dist/cdn/3Z4FG2HV.js +0 -2
  174. package/dist/cdn/4L2YTJ24.js +0 -2
  175. package/dist/cdn/4MQOMRB6.js +0 -2
  176. package/dist/cdn/4MSUALRF.js +0 -2
  177. package/dist/cdn/4PMNY6J6.js +0 -2
  178. package/dist/cdn/4SFDTXQJ.js +0 -2
  179. package/dist/cdn/53DFPXFT.js +0 -2
  180. package/dist/cdn/5GXB34LE.js +0 -2
  181. package/dist/cdn/5WIDEL4K.js +0 -2
  182. package/dist/cdn/7IK6J5VF.js +0 -2
  183. package/dist/cdn/A34ROM33.js +0 -2
  184. package/dist/cdn/BM62ZXFE.js +0 -2
  185. package/dist/cdn/BNBZEIMG.js +0 -2
  186. package/dist/cdn/C3YMGEUW.js +0 -2
  187. package/dist/cdn/C64W7ELG.js +0 -2
  188. package/dist/cdn/CD2NGAV3.js +0 -2
  189. package/dist/cdn/CPRSIFTK.js +0 -2
  190. package/dist/cdn/DTNHSQRD.js +0 -2
  191. package/dist/cdn/DUAMGCAK.js +0 -2
  192. package/dist/cdn/E4T5VUXT.js +0 -2
  193. package/dist/cdn/EDYZLWGW.js +0 -3
  194. package/dist/cdn/EKWX6BR7.js +0 -2
  195. package/dist/cdn/EQXKSMAG.js +0 -2
  196. package/dist/cdn/F64XESDA.js +0 -2
  197. package/dist/cdn/G5DDARQJ.js +0 -2
  198. package/dist/cdn/G5FTVXQF.js +0 -2
  199. package/dist/cdn/GHTCOHC2.js +0 -2
  200. package/dist/cdn/I6LYDJKQ.js +0 -2
  201. package/dist/cdn/IDAMYFLT.js +0 -2
  202. package/dist/cdn/IH2BBWAQ.js +0 -2
  203. package/dist/cdn/J4C4QWY4.js +0 -2
  204. package/dist/cdn/JYROXMJN.js +0 -2
  205. package/dist/cdn/LDBJRKCM.js +0 -2
  206. package/dist/cdn/M5K6IJLD.js +0 -2
  207. package/dist/cdn/M7ZANON3.js +0 -2
  208. package/dist/cdn/MCJTQ4YF.js +0 -2
  209. package/dist/cdn/MLA3N4MI.js +0 -2
  210. package/dist/cdn/MR7KELUF.js +0 -2
  211. package/dist/cdn/MY2W3RH7.js +0 -2
  212. package/dist/cdn/MYK7BBLS.js +0 -2
  213. package/dist/cdn/N7D4B5LO.js +0 -2
  214. package/dist/cdn/NFU76HOO.js +0 -2
  215. package/dist/cdn/NZVEN4LR.js +0 -2
  216. package/dist/cdn/OKK5OJ6S.js +0 -2
  217. package/dist/cdn/PXTV6Y3K.js +0 -2
  218. package/dist/cdn/QJMUS3VS.js +0 -2
  219. package/dist/cdn/QMJ75W7D.js +0 -2
  220. package/dist/cdn/RKGAXZQB.js +0 -2
  221. package/dist/cdn/RP2TRPHY.js +0 -2
  222. package/dist/cdn/UIU5UYBO.js +0 -2
  223. package/dist/cdn/V23GYHYZ.js +0 -2
  224. package/dist/cdn/XWJ4GDXQ.js +0 -2
  225. package/dist/cdn/ZAAMSMQB.js +0 -2
  226. package/dist/cdn/ZALJA7E5.js +0 -2
  227. package/dist/cdn/ZCACFAKY.js +0 -2
  228. package/dist/cdn/ZKZOXEXY.js +0 -2
  229. package/dist/cdn/ZMBNBTJQ.js +0 -2
  230. package/dist/chunks/index6.js +0 -66
  231. /package/dist/cdn/{IVLVCLDE.js → 7NWEE7T2.js} +0 -0
@@ -1,43 +1,43 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import { isEqual as L } from "lodash-es";
3
- import { q as b, u as D, r as d } from "./chart-object-literals.js";
4
- import { k as m, an as M } from "./index2.js";
2
+ import { isEqual as D } from "lodash-es";
3
+ import { q as I, u, r as h } from "./chart-object-literals.js";
4
+ import { bd as b, bs as v, k as p, ap as M } from "./index2.js";
5
5
  import { i as P } from "./index4.js";
6
6
  import { C as O } from "./chart-model.js";
7
7
  import { m as o } from "./model-setter.js";
8
8
  import { S as V } from "./common.js";
9
- import { M as N, a as E, W as k, b as U } from "./data-labels-visibility.js";
9
+ import { M as N, a as k, W as E, b as U } from "./data-labels-visibility.js";
10
10
  import { M as j, a as X } from "./model-with-y-guides.js";
11
- import { g as u, d as S, j as Y, k as w, l as z, m as R, n as q, o as K, q as G, t as $, v as Z, w as H, x as J, y as Q, z as T, A as x, B as F, C as y, D as ee, E as ie, e as te, F as se, W as re } from "./serial-chart-data.js";
11
+ import { g as d, d as y, j as Y, k as w, l as z, m as R, n as q, o as K, q as G, t as $, v as Z, w as H, x as J, y as Q, z as S, A as _, B as x, C as m, D as ee, E as ie, e as te, F as se, W as re } from "./serial-chart-data.js";
12
12
  import { M as oe } from "./model-with-x-guides.js";
13
13
  import { W as ne, c as ae, d as le } from "./axis-lines-symbol.js";
14
14
  import { W as ge, c as ce, d as fe } from "./generate-x-axis-title.js";
15
15
  import { W as he, a as pe } from "./x-bounds.js";
16
- import { W as de } from "./data-labels-symbol.js";
17
- import { W as me } from "./rotated-state.js";
18
- import { g as W, u as ye, s as C, j as ue, k as Se, f as _e, h as Te } from "./utils.js";
19
- import { d as B, e as A, a as xe } from "./data.js";
20
- import { B as Fe, Z as Ce, x as Be, a4 as Ae, a2 as Ie } from "./index.js";
21
- import { i as h, g as p, m as _ } from "./index5.js";
22
- const I = (s, e) => e.series?.[s].assignToSecondValueAxis ?? !1, v = (s) => {
16
+ import { W as me } from "./data-labels-symbol.js";
17
+ import { W as de } from "./rotated-state.js";
18
+ import { g as W, u as ye, s as T, j as ue, k as Se, f as _e, h as xe } from "./utils.js";
19
+ import { d as F, e as B, a as Te } from "./data.js";
20
+ import { B as Fe, Z as Be, x as Ce, a4 as Ae, a2 as Ie } from "./index.js";
21
+ import { s as L } from "./series-types.js";
22
+ const C = (s, e) => e.series?.[s].assignToSecondValueAxis ?? !1, A = (s) => {
23
23
  const { assign: e, seriesIndex: i, config: t, commonStrings: r } = s;
24
- e && t.axes !== void 0 && !t.axes?.[2] && (t.axes[2] = Be(r, D.BarSeries)[1]), t.series && t.series.forEach((a, g) => {
24
+ e && t.axes !== void 0 && !t.axes?.[2] && (t.axes[2] = Ce(r, u.BarSeries)[1]), t.series && t.series.forEach((a, g) => {
25
25
  g === i ? a.assignToSecondValueAxis = e : g !== i && a?.assignToSecondValueAxis !== !0 && (a.assignToSecondValueAxis = !1);
26
26
  }), t.axes?.[2] && !t.series.some((a) => a.assignToSecondValueAxis) && t.axes.splice(2, 1);
27
- }, ve = (s, e) => e.series?.[s]?.name, be = (s, e, i) => {
27
+ }, be = (s, e) => e.series?.[s]?.name, ve = (s, e, i) => {
28
28
  i.series?.[e] && (i.series[e].name = s);
29
29
  }, Oe = (s, e) => {
30
30
  const i = e.series?.[s];
31
31
  let t;
32
- return h(i) ? t = i.fillSymbol?.color : p(i) && (t = i.lineSymbol?.color), t;
32
+ return b(i) ? t = i.fillSymbol?.color : v(i) && (t = i.lineSymbol?.color), t;
33
33
  }, We = (s, e, i) => {
34
34
  const t = i.series?.[e];
35
- t && (h(t) ? t.fillSymbol = {
35
+ t && (b(t) ? t.fillSymbol = {
36
36
  ...Fe(e),
37
37
  ...t.fillSymbol,
38
38
  color: s
39
- } : p(t) && (t.lineSymbol = {
40
- ...Ce(e),
39
+ } : v(t) && (t.lineSymbol = {
40
+ ...Be(e),
41
41
  ...t.lineSymbol,
42
42
  color: s
43
43
  }));
@@ -45,34 +45,33 @@ const I = (s, e) => e.series?.[s].assignToSecondValueAxis ?? !1, v = (s) => {
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
+ }, Me = (s) => s.stackedType ?? I.Side, Pe = (s) => {
49
49
  const { newStackedType: e, config: i, layerInfo: t, commonStrings: r } = s;
50
50
  if (i.stackedType = e, t !== void 0) {
51
51
  const a = W({
52
52
  config: i,
53
53
  layerInfo: t,
54
54
  commonStrings: r,
55
- numericFields: S(i),
56
- aggregationType: u(i)
55
+ numericFields: y(i),
56
+ aggregationType: d(i)
57
57
  });
58
58
  ye(i, 1, a);
59
59
  }
60
- i.axes?.[1] && (e === b.Stacked100 ? i.axes[1].valueFormat = Ae() : i.axes[1].valueFormat = Ie()), C({ config: i, value: null, axisIndex: 1, isMax: !1 }), C({ config: i, value: null, axisIndex: 1, isMax: !0 });
60
+ i.axes?.[1] && (e === I.Stacked100 ? i.axes[1].valueFormat = Ae() : i.axes[1].valueFormat = Ie()), T({ config: i, value: null, axisIndex: 1, isMax: !1 }), T({ config: i, value: null, axisIndex: 1, isMax: !0 });
61
61
  }, Ve = (s) => {
62
- let e;
63
- const i = s.series.find(
64
- (t) => (h(t) || p(t) || _(t)) && t.nullCategory !== void 0
65
- );
66
- return (h(i) || p(i) || _(i)) && (e = i?.nullCategory), e;
62
+ const e = {};
63
+ return s.series.forEach((i) => {
64
+ L(i) && "nullCategory" in i && i.nullCategory !== void 0 && (e.text ??= i.nullCategory.text, i.type === u.BarSeries ? e.fillSymbol ??= i.nullCategory.fillSymbol : e.markerSymbol ??= i.nullCategory.markerSymbol);
65
+ }), e.text || e.fillSymbol || e.markerSymbol ? e : void 0;
67
66
  }, Ne = (s, e) => {
68
67
  s.series.forEach((i) => {
69
- (h(i) || p(i) || _(i)) && (i.nullCategory = e);
68
+ L(i) && (e ? i.type === u.BarSeries ? i.nullCategory = { text: e?.text, fillSymbol: e?.fillSymbol } : i.nullCategory = { text: e?.text, markerSymbol: e?.markerSymbol } : i.nullCategory = void 0);
70
69
  });
71
70
  };
72
- var Ee = Object.defineProperty, ke = Object.getOwnPropertyDescriptor, f = (s, e, i, t) => {
73
- for (var r = ke(e, i), a = s.length - 1, g; a >= 0; a--)
71
+ var ke = Object.defineProperty, Ee = Object.getOwnPropertyDescriptor, f = (s, e, i, t) => {
72
+ for (var r = Ee(e, i), a = s.length - 1, g; a >= 0; a--)
74
73
  (g = s[a]) && (r = g(e, i, r) || r);
75
- return r && Ee(e, i, r), r;
74
+ return r && ke(e, i, r), r;
76
75
  };
77
76
  class c extends O {
78
77
  /**
@@ -155,7 +154,7 @@ var Ue = Object.defineProperty, je = Object.getOwnPropertyDescriptor, l = (s, e,
155
154
  };
156
155
  class n extends O {
157
156
  constructor() {
158
- super(...arguments), this._xAxisField = "", this._aggregationType = d.Count, this._splitByField = "", this._numericFields = [];
157
+ super(...arguments), this._xAxisField = "", this._aggregationType = h.Count, this._splitByField = "", this._numericFields = [];
159
158
  }
160
159
  // #endregion
161
160
  // ---------------------------------------------------------------------------------------------
@@ -168,7 +167,7 @@ class n extends O {
168
167
  return this._xAxisField;
169
168
  }
170
169
  set xAxisField(e) {
171
- if (this._xAxisField = e, e.trim() === "" || e === m) {
170
+ if (this._xAxisField = e, e.trim() === "" || e === p) {
172
171
  const r = this.numericFields;
173
172
  this.resetConfig(), this.numericFields = r;
174
173
  }
@@ -205,10 +204,10 @@ class n extends O {
205
204
  }
206
205
  set numericFields(e) {
207
206
  typeof e == "string" && (e = [e]);
208
- const i = Se(this.layerInfo?.layerFieldsInfo ?? [], e), t = (this.xAxisField === "" || this.xAxisField === m) && e.length === 0;
207
+ const i = Se(this.layerInfo?.layerFieldsInfo ?? [], e), t = (this.xAxisField === "" || this.xAxisField === p) && e.length === 0;
209
208
  if (i && !t) {
210
209
  const r = M(this.layerInfo.layer).idField;
211
- e.length === 0 && r !== void 0 ? (e.push(r), this._aggregationType = d.Count) : this._aggregationType === d.Count && e.length >= 1 && r !== void 0 && !e.includes(r) && (this._aggregationType = d.Sum), this._numericFields = e, this.numericFields.length > 1 && (this._splitByField = ""), this.processSeriesRebuild("numericFields");
210
+ e.length === 0 && r !== void 0 ? (e.push(r), this._aggregationType = h.Count) : this._aggregationType === h.Count && e.length >= 1 && r !== void 0 && !e.includes(r) && (this._aggregationType = h.Sum), this._numericFields = e, this.numericFields.length > 1 && (this._splitByField = ""), this.processSeriesRebuild("numericFields");
212
211
  } else t && this.resetConfig();
213
212
  }
214
213
  /**
@@ -218,10 +217,10 @@ class n extends O {
218
217
  * @deprecated since 5.2. Use {@link model/serial-chart-model/serial-chart-model#getSeriesToSecondaryYAxis getSeriesToSecondaryYAxis} instead.
219
218
  */
220
219
  getAssignToSecondValueAxis(e) {
221
- return I(e, this._config);
220
+ return C(e, this._config);
222
221
  }
223
222
  setAssignToSecondValueAxis(e, i) {
224
- v({ assign: e, seriesIndex: i, config: this._config, commonStrings: this.commonStrings });
223
+ A({ assign: e, seriesIndex: i, config: this._config, commonStrings: this.commonStrings });
225
224
  }
226
225
  /**
227
226
  * Gets whether the series should be assigned to the secondary y-axis.
@@ -229,25 +228,25 @@ class n extends O {
229
228
  * @param seriesIndex - The index of the series.
230
229
  */
231
230
  getSeriesToSecondaryYAxis(e) {
232
- return I(e, this._config);
231
+ return C(e, this._config);
233
232
  }
234
233
  setSeriesToSecondaryYAxis(e, i) {
235
- v({ assign: e, seriesIndex: i, config: this._config, commonStrings: this.commonStrings });
234
+ A({ assign: e, seriesIndex: i, config: this._config, commonStrings: this.commonStrings });
236
235
  }
237
236
  /**
238
237
  * Gets the sort order for the bar chart.
239
238
  */
240
239
  getSortOrder() {
241
- return T(this._config)[0];
240
+ return S(this._config)[0];
242
241
  }
243
242
  setSortOrder(e, i) {
244
- B(e, this._config, i);
243
+ F(e, this._config, i);
245
244
  }
246
245
  /**
247
246
  * Gets the list of the category values for the chart.
248
247
  */
249
248
  async getCustomSortValues() {
250
- return await x({
249
+ return await _({
251
250
  config: this._config,
252
251
  layerInfo: this.layerInfo,
253
252
  errorStrings: this.commonStrings?.errorStrings
@@ -255,15 +254,15 @@ class n extends O {
255
254
  }
256
255
  async setDataFilters(e) {
257
256
  super.setDataFilters(e);
258
- const i = T(this._config)[0];
257
+ const i = S(this._config)[0];
259
258
  if (i === V.customSort) {
260
259
  this.startAsyncUpdate();
261
- const t = await x({
260
+ const t = await _({
262
261
  config: this._config,
263
262
  layerInfo: this.layerInfo,
264
263
  errorStrings: this.commonStrings?.errorStrings
265
264
  });
266
- B(i, this._config, t), this.finishAsyncUpdate();
265
+ F(i, this._config, t), this.finishAsyncUpdate();
267
266
  }
268
267
  this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"));
269
268
  }
@@ -271,16 +270,16 @@ class n extends O {
271
270
  * The list of values for custom sort.
272
271
  */
273
272
  get orderByList() {
274
- return A(this._config);
273
+ return B(this._config);
275
274
  }
276
275
  set orderByList(e) {
277
- !P(this._config) && F(e, this._config);
276
+ !P(this._config) && x(e, this._config);
278
277
  }
279
278
  /**
280
279
  * Updates the series based on the layer filter.
281
280
  */
282
281
  updateSeriesFromLayerFilter() {
283
- this.layerInfo !== void 0 && y(this.getBuildNewSeriesProps());
282
+ this.layerInfo !== void 0 && m(this.getBuildNewSeriesProps());
284
283
  }
285
284
  /**
286
285
  * Whether temporal binning is enabled for all series in the config.
@@ -304,10 +303,10 @@ class n extends O {
304
303
  * @param seriesIndex - The index of the series.
305
304
  */
306
305
  getSeriesName(e) {
307
- return ve(e, this._config);
306
+ return be(e, this._config);
308
307
  }
309
308
  setSeriesName(e, i) {
310
- be(e, i, this._config);
309
+ ve(e, i, this._config);
311
310
  }
312
311
  /**
313
312
  * Gets the color of the series based on the series index. If the index is out of bounds, it will return `undefined`.
@@ -351,8 +350,8 @@ class n extends O {
351
350
  t.splice(i, 0, r), this.setOrderOfSeries(t);
352
351
  }
353
352
  moveCustomSortValuesInOrderByList(e, i) {
354
- const t = A(this._config), [r] = t.splice(e, 1);
355
- t.splice(i, 0, r), F(t, this._config);
353
+ const t = B(this._config), [r] = t.splice(e, 1);
354
+ t.splice(i, 0, r), x(t, this._config);
356
355
  }
357
356
  /**
358
357
  * The null category configuration of the chart.
@@ -366,7 +365,7 @@ class n extends O {
366
365
  }
367
366
  set nullCategory(e) {
368
367
  const i = this.nullCategory;
369
- L(i, e) || Ne(this._config, e);
368
+ D(i, e) || Ne(this._config, e);
370
369
  }
371
370
  /**
372
371
  * Sets up the local props based on the current config.
@@ -374,7 +373,7 @@ class n extends O {
374
373
  * @private
375
374
  */
376
375
  setupLocalProps() {
377
- this._xAxisField = xe(this._config), this._aggregationType = u(this._config), this._splitByField = te(this._config), this._numericFields = S(this._config);
376
+ this._xAxisField = Te(this._config), this._aggregationType = d(this._config), this._splitByField = te(this._config), this._numericFields = y(this._config);
378
377
  }
379
378
  resetConfig() {
380
379
  const e = this._config.id;
@@ -397,7 +396,7 @@ class n extends O {
397
396
  * @private
398
397
  */
399
398
  async processSeriesRebuild(e) {
400
- this.usingSplitBy() ? (this.startAsyncUpdate(), await this.fetchSplitByFieldInfos(), y(this.getBuildNewSeriesProps()), this.finishAsyncUpdate()) : y(this.getBuildNewSeriesProps()), this.setupLocalProps(), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")), this.emitConfigUpdate(e);
399
+ this.usingSplitBy() ? (this.startAsyncUpdate(), await this.fetchSplitByFieldInfos(), m(this.getBuildNewSeriesProps()), this.finishAsyncUpdate()) : m(this.getBuildNewSeriesProps()), this.setupLocalProps(), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")), this.emitConfigUpdate(e);
401
400
  }
402
401
  /**
403
402
  * Fetches the split-by field information and stores it in a private member for use in building the series.
@@ -407,7 +406,7 @@ class n extends O {
407
406
  config: this._config,
408
407
  layer: this.layerInfo.layer,
409
408
  layerFieldsInfo: this.layerInfo.layerFieldsInfo,
410
- xAxisField: this._xAxisField !== m ? this._xAxisField : void 0,
409
+ xAxisField: this._xAxisField !== p ? this._xAxisField : void 0,
411
410
  splitByField: this._splitByField,
412
411
  fetchNullValues: this._config?.series?.[0]?.query?.fetchNullValues,
413
412
  errorStrings: this.commonStrings?.errorStrings
@@ -448,8 +447,8 @@ class n extends O {
448
447
  config: this._config,
449
448
  layerInfo: this.layerInfo,
450
449
  commonStrings: this.commonStrings,
451
- numericFields: S(this._config),
452
- aggregationType: u(this._config)
450
+ numericFields: y(this._config),
451
+ aggregationType: d(this._config)
453
452
  }) : "";
454
453
  }
455
454
  // #endregion
@@ -502,11 +501,11 @@ l([
502
501
  const Xe = [
503
502
  j,
504
503
  N,
505
- E,
506
504
  k,
507
- me,
508
- U,
505
+ E,
509
506
  de,
507
+ U,
508
+ me,
510
509
  oe,
511
510
  X,
512
511
  c,
@@ -520,10 +519,10 @@ const Xe = [
520
519
  fe,
521
520
  re
522
521
  ];
523
- Te(n, Xe);
522
+ xe(n, Xe);
524
523
  export {
525
524
  n as S,
526
- be as a,
527
- ve as g,
525
+ ve as a,
526
+ be as g,
528
527
  We as s
529
528
  };
@@ -1,7 +1,7 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
2
  import { m as n, C as l } from "./model-setter.js";
3
3
  import { H as o, M as g, T as h } from "./index.js";
4
- import { aH as p } from "./index2.js";
4
+ import { aJ as p } from "./index2.js";
5
5
  var f = Object.defineProperty, c = Object.getOwnPropertyDescriptor, u = (t, e, i, _) => {
6
6
  for (var s = c(e, i), r = t.length - 1, a; r >= 0; r--)
7
7
  (a = t[r]) && (s = a(e, i, s) || s);
@@ -1,31 +1,35 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import { u as o } from "./chart-object-literals.js";
2
+ import { u as e } from "./chart-object-literals.js";
3
3
  function r(t) {
4
- return t.size === 2 && t.has(o.LineSeries) && t.has(o.BarSeries);
4
+ return t.size === 2 && t.has(e.LineSeries) && t.has(e.BarSeries);
5
5
  }
6
- function s(t) {
7
- return t.size === 2 && t.has(o.LineSeries) && t.has(o.BoxPlotSeries) || t.size === 1 && t.has(o.BoxPlotSeries);
6
+ function a(t) {
7
+ return t.size === 2 && t.has(e.LineSeries) && t.has(e.BoxPlotSeries) || t.size === 1 && t.has(e.BoxPlotSeries);
8
8
  }
9
- function g(t, e) {
10
- let i;
9
+ function f(t, o) {
10
+ let n;
11
11
  if (t !== void 0 && t.length > 0)
12
- if (e !== void 0 && e >= 0 && e < t.length)
13
- i = t[e].type;
12
+ if (o !== void 0 && o >= 0 && o < t.length)
13
+ n = t[o].type;
14
14
  else {
15
- const n = new Set(t.map((B) => B.type)), a = r(n), l = s(n);
16
- a === !0 ? i = o.ComboLineAndBarSeries : l ? i = o.BoxPlotSeries : n.size >= 2 ? i = void 0 : i = t[0].type;
15
+ const i = new Set(t.map((p) => p.type)), s = r(i), l = a(i);
16
+ s === !0 ? n = e.ComboLineAndBarSeries : l ? n = e.BoxPlotSeries : i.size >= 2 ? n = void 0 : n = t[0].type;
17
17
  }
18
- return i;
18
+ return n;
19
19
  }
20
- function m(t, e = !0) {
21
- return e ? t?.xTemporalBinning : t?.yTemporalBinning;
20
+ function C(t, o = !0) {
21
+ return o ? t?.xTemporalBinning : t?.yTemporalBinning;
22
22
  }
23
- const p = {
23
+ const g = {
24
24
  isComboLineAndBarChart: r,
25
- isBoxPlotChart: s
25
+ isBoxPlotChart: a
26
26
  };
27
+ function m(t) {
28
+ return t.type === e.BarSeries || t.type === e.LineSeries || t.type === e.RadarSeries || t.type === e.ComboLineAndBarSeries;
29
+ }
27
30
  export {
28
- m as a,
29
- g,
30
- p as t
31
+ C as a,
32
+ f as g,
33
+ m as s,
34
+ g as t
31
35
  };
@@ -13,29 +13,29 @@ function d(i) {
13
13
  function f(i) {
14
14
  return i?.chartType === e.RadarSeries;
15
15
  }
16
- function a(i) {
16
+ function o(i) {
17
17
  return i?.chartType === e.ComboLineAndBarSeries;
18
18
  }
19
19
  function h(i) {
20
20
  const t = i?.chartType;
21
21
  return t === e.LineSeries || t === e.BarSeries || t === e.ComboLineAndBarSeries || t === e.RadarSeries;
22
22
  }
23
- function p(i) {
23
+ function l(i) {
24
24
  return i?.chartType === e.PieSeries;
25
25
  }
26
- function l(i) {
26
+ function p(i) {
27
27
  return i?.chartType === e.BoxPlotSeries;
28
28
  }
29
29
  function y(i) {
30
30
  return i?.chartType === e.ScatterSeries;
31
31
  }
32
- function S(i) {
32
+ function M(i) {
33
33
  return i?.chartType === e.HistogramSeries;
34
34
  }
35
- function T(i) {
35
+ function S(i) {
36
36
  return i?.chartType === e.HeatSeries;
37
37
  }
38
- function M(i) {
38
+ function T(i) {
39
39
  return i?.chartType === e.GaugeSeries;
40
40
  }
41
41
  function g(i) {
@@ -56,10 +56,10 @@ function C(i) {
56
56
  function x(i) {
57
57
  return i !== void 0 && "getDataTooltipVisibility" in i;
58
58
  }
59
- function B(i) {
59
+ function v(i) {
60
60
  return i !== void 0 && "getGuideVisibility" in i && typeof i.getGuideVisibility == "function";
61
61
  }
62
- function v(i) {
62
+ function B(i) {
63
63
  return i !== void 0 && "addXAxisGuide" in i && typeof i.addXAxisGuide == "function";
64
64
  }
65
65
  function A(i) {
@@ -71,38 +71,42 @@ function G(i) {
71
71
  function L(i) {
72
72
  return i !== void 0 && "displayCategory" in i;
73
73
  }
74
- function b(i) {
74
+ function W(i) {
75
75
  return i !== void 0 && "temporalBinningSize" in i;
76
76
  }
77
- function W(i) {
78
- return s(i) || a(i);
77
+ function b(i) {
78
+ return s(i) || o(i);
79
79
  }
80
80
  function H(i, t) {
81
81
  const r = n(i?.chartType);
82
82
  return i !== void 0 && r === t;
83
83
  }
84
+ function P(i) {
85
+ return i !== void 0 && "nullCategory" in i;
86
+ }
84
87
  export {
85
- l as a,
88
+ p as a,
86
89
  c as b,
87
- a as c,
88
- M as d,
89
- T as e,
90
- S as f,
90
+ o as c,
91
+ T as d,
92
+ S as e,
93
+ M as f,
91
94
  d as g,
92
95
  H as h,
93
96
  s as i,
94
- B as j,
97
+ v as j,
95
98
  G as k,
96
99
  C as l,
97
100
  g as m,
98
- W as n,
101
+ P as n,
99
102
  b as o,
100
- x as p,
101
- v as q,
102
- A as r,
103
- L as s,
104
- p as t,
105
- f as u,
106
- y as v,
107
- h as w
103
+ W as p,
104
+ x as q,
105
+ B as r,
106
+ A as s,
107
+ L as t,
108
+ l as u,
109
+ f as v,
110
+ y as w,
111
+ h as x
108
112
  };