@arcgis/charts-components 6.0.0-next.5 → 6.0.0-next.7

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 (267) hide show
  1. package/dist/cdn/{LPLMRI3E.js → 22TQSTSU.js} +1 -1
  2. package/dist/cdn/2IZ27E73.js +2 -0
  3. package/dist/cdn/36YS6SWU.js +2 -0
  4. package/dist/cdn/3JXXDTM7.js +2 -0
  5. package/dist/cdn/3RUCVEOG.js +2 -0
  6. package/dist/cdn/3UNCSMIH.js +4 -0
  7. package/dist/cdn/3XWKTCG2.js +2 -0
  8. package/dist/cdn/{V5Z75IQI.js → 4DQDAM44.js} +2 -2
  9. package/dist/cdn/4F5HIOT7.js +2 -0
  10. package/dist/cdn/4W5FC5UJ.js +2 -0
  11. package/dist/cdn/6Y63J2D4.js +2 -0
  12. package/dist/cdn/7A6ZC3BY.js +2 -0
  13. package/dist/cdn/7B26LXAO.js +2 -0
  14. package/dist/cdn/7BMO4QQG.js +2 -0
  15. package/dist/cdn/7SKWCJOI.js +2 -0
  16. package/dist/cdn/ABHDKVCT.js +2 -0
  17. package/dist/cdn/AHDEGHQC.js +2 -0
  18. package/dist/cdn/{QQFMQAJ3.js → AS2IRRXE.js} +1 -1
  19. package/dist/cdn/B73SVOUA.js +2 -0
  20. package/dist/cdn/{PQ3XCNCP.js → BILTOAXM.js} +1 -1
  21. package/dist/cdn/CX5HMAVB.js +2 -0
  22. package/dist/cdn/{732AMNPK.js → DIOXIMBZ.js} +1 -1
  23. package/dist/cdn/DIVS65HK.js +2 -0
  24. package/dist/cdn/EJE4D6K4.js +2 -0
  25. package/dist/cdn/EMJV6FFC.js +2 -0
  26. package/dist/cdn/EOAW5SJZ.js +2 -0
  27. package/dist/cdn/EU5JSGVI.js +2 -0
  28. package/dist/cdn/EVKJUQYC.js +2 -0
  29. package/dist/cdn/GIUYJ4MX.js +2 -0
  30. package/dist/cdn/{6RGTAMGU.js → H7EH6MJN.js} +1 -1
  31. package/dist/cdn/HKD2DTMQ.js +2 -0
  32. package/dist/cdn/HWJULHS4.js +2 -0
  33. package/dist/cdn/{HMZRDWG2.js → I3VAEJNQ.js} +24 -24
  34. package/dist/cdn/IMHL6OT4.js +2 -0
  35. package/dist/cdn/IMJ4ZP54.js +2 -0
  36. package/dist/cdn/IPRY6SMT.js +2 -0
  37. package/dist/cdn/IUWQ2XAM.js +2 -0
  38. package/dist/cdn/IZ6QMJ5N.js +2 -0
  39. package/dist/cdn/JGKOHDSF.js +2 -0
  40. package/dist/cdn/JQH63THU.js +2 -0
  41. package/dist/cdn/{563H5HEV.js → JYLCRNMW.js} +1 -1
  42. package/dist/cdn/K43QNXLK.js +2 -0
  43. package/dist/cdn/KE6MY5WL.js +2 -0
  44. package/dist/cdn/KHC45XNZ.js +2 -0
  45. package/dist/cdn/KXW4QAYP.js +2 -0
  46. package/dist/cdn/{GDJDA5MG.js → LNJSZCPC.js} +1 -1
  47. package/dist/cdn/{PIGINE4M.js → M7MSRLEE.js} +1 -1
  48. package/dist/cdn/{S2BGEXZV.js → MGKEPCZT.js} +1 -1
  49. package/dist/cdn/MGX5TD4I.js +2 -0
  50. package/dist/cdn/MIRDAGB6.js +2 -0
  51. package/dist/cdn/N337OTT2.js +2 -0
  52. package/dist/cdn/NCFIBVSV.js +2 -0
  53. package/dist/cdn/NNKLFRZL.js +2 -0
  54. package/dist/cdn/NSF637D3.js +2 -0
  55. package/dist/cdn/{VSKK65CP.js → NUTUTE7W.js} +1 -1
  56. package/dist/cdn/O3FVBAXP.js +2 -0
  57. package/dist/cdn/O53REUWO.js +2 -0
  58. package/dist/cdn/OPSWLJ6M.js +2 -0
  59. package/dist/cdn/OTIAHPXY.js +2 -0
  60. package/dist/cdn/PYK3S2WM.js +2 -0
  61. package/dist/cdn/PYMEPWV2.js +2 -0
  62. package/dist/cdn/QE4HAH4J.js +2 -0
  63. package/dist/cdn/SFX2QCRS.js +2 -0
  64. package/dist/cdn/SI7W275P.js +2 -0
  65. package/dist/cdn/SVF2UENW.js +4 -0
  66. package/dist/cdn/SY4PA5GZ.js +2 -0
  67. package/dist/cdn/TCUFKLTS.js +2 -0
  68. package/dist/cdn/TMVELVZ4.js +2 -0
  69. package/dist/cdn/TVAJJTLH.js +2 -0
  70. package/dist/cdn/TVBULK7L.js +2 -0
  71. package/dist/cdn/TYVYXA4I.js +2 -0
  72. package/dist/cdn/TZJX3ZDX.js +2 -0
  73. package/dist/cdn/{XPCXTKEY.js → U6AJIZZU.js} +1 -1
  74. package/dist/cdn/U75UR6WF.js +2 -0
  75. package/dist/cdn/{CUMXC4O4.js → VJBVJ2GM.js} +1 -1
  76. package/dist/cdn/VKLX5GBO.js +2 -0
  77. package/dist/cdn/{INYMF2BQ.js → VKMVMHTT.js} +1 -1
  78. package/dist/cdn/VL3NDPH3.js +2 -0
  79. package/dist/cdn/VUNCUXZR.js +2 -0
  80. package/dist/cdn/VVB5JOCB.js +2 -0
  81. package/dist/cdn/WAW5LS5U.js +2 -0
  82. package/dist/cdn/XWGJFR6Q.js +2 -0
  83. package/dist/cdn/YBFPKUEE.js +2 -0
  84. package/dist/cdn/YBPCOPML.js +2 -0
  85. package/dist/cdn/YGYZNUDM.js +2 -0
  86. package/dist/cdn/YLJUSUEV.js +2 -0
  87. package/dist/cdn/Z3UCAFDO.js +2 -0
  88. package/dist/cdn/ZHKGWF55.js +2 -0
  89. package/dist/cdn/{CLCHZMZ5.js → ZXPGBKDC.js} +1 -1
  90. package/dist/cdn/index.js +1 -1
  91. package/dist/cdn/model/shared/setup-utils.js +1 -1
  92. package/dist/chunks/action-bar-utils.js +18 -20
  93. package/dist/chunks/axis-lines-symbol.js +6 -6
  94. package/dist/chunks/bar-chart-model.js +5 -7
  95. package/dist/chunks/box-plot-data.js +74 -76
  96. package/dist/chunks/box-plot-model.js +40 -41
  97. package/dist/chunks/chart-model.js +31 -33
  98. package/dist/chunks/chart-ui-utils.js +45 -47
  99. package/dist/chunks/chart-ui-utils2.js +1 -1
  100. package/dist/chunks/class-breaks.js +14 -14
  101. package/dist/chunks/combo-bar-line-chart-model.js +15 -16
  102. package/dist/chunks/data-labels-symbol.js +1 -1
  103. package/dist/chunks/data-labels-visibility.js +1 -1
  104. package/dist/chunks/data.js +52 -54
  105. package/dist/chunks/gauge-model.js +65 -65
  106. package/dist/chunks/generate-x-axis-title.js +19 -19
  107. package/dist/chunks/heat-chart-model.js +13 -14
  108. package/dist/chunks/histogram-data.js +47 -48
  109. package/dist/chunks/histogram-model.js +6 -6
  110. package/dist/chunks/index.js +4959 -3855
  111. package/dist/chunks/index2.js +1165 -871
  112. package/dist/chunks/index3.js +11040 -1173
  113. package/dist/chunks/index4.js +65 -11086
  114. package/dist/chunks/line-chart-model.js +18 -19
  115. package/dist/chunks/model-setter.js +6 -6
  116. package/dist/chunks/model-with-x-guides.js +1 -1
  117. package/dist/chunks/model-with-y-guides.js +25 -25
  118. package/dist/chunks/negative-values-stacked-to-baseline.js +6 -6
  119. package/dist/chunks/pie-chart-data.js +25 -27
  120. package/dist/chunks/pie-chart-model.js +21 -23
  121. package/dist/chunks/radar-chart-model.js +6 -7
  122. package/dist/chunks/resource.js +1 -1
  123. package/dist/chunks/rotated-state.js +1 -1
  124. package/dist/chunks/rounded-corners.js +2 -2
  125. package/dist/chunks/scatterplot-model.js +13 -15
  126. package/dist/chunks/serial-chart-data.js +226 -229
  127. package/dist/chunks/serial-chart-model.js +66 -66
  128. package/dist/chunks/series-length.js +4 -4
  129. package/dist/chunks/series.js +1 -1
  130. package/dist/chunks/type-guards.js +109 -55
  131. package/dist/chunks/utils.js +146 -212
  132. package/dist/chunks/web-component-utils.js +55 -56
  133. package/dist/chunks/x-bounds.js +24 -25
  134. package/dist/components/arcgis-chart/customElement.d.ts +11 -4
  135. package/dist/components/arcgis-chart/customElement.js +7591 -7485
  136. package/dist/components/arcgis-charts-action-bar/customElement.js +3 -3
  137. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +7 -7
  138. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +24 -21
  139. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +10 -11
  140. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +5 -6
  141. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +2 -2
  142. package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
  143. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +2 -2
  144. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +11 -12
  145. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +1 -1
  146. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +1 -1
  147. package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
  148. package/dist/components/arcgis-charts-config-create-flow/customElement.js +189 -184
  149. package/dist/components/arcgis-charts-config-font-style/customElement.js +7 -7
  150. package/dist/components/arcgis-charts-config-format/customElement.js +37 -38
  151. package/dist/components/arcgis-charts-config-general/customElement.js +2 -2
  152. package/dist/components/arcgis-charts-config-guide/customElement.js +7 -7
  153. package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
  154. package/dist/components/arcgis-charts-config-heat-chart/customElement.js +1 -1
  155. package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +14 -15
  156. package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +32 -33
  157. package/dist/components/arcgis-charts-config-histogram/customElement.js +2 -3
  158. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +2 -3
  159. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +3 -4
  160. package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
  161. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +4 -5
  162. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +5 -6
  163. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +5 -5
  164. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -1
  165. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
  166. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +5 -6
  167. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +9 -10
  168. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +1 -1
  169. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +1 -1
  170. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +8 -9
  171. package/dist/components/arcgis-charts-config-scatter-plot-aoi/customElement.js +1 -1
  172. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +8 -10
  173. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +3 -4
  174. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +21 -25
  175. package/dist/components/arcgis-charts-config-view-charts/customElement.js +15 -16
  176. package/dist/components/arcgis-charts-info-modal/customElement.js +4 -4
  177. package/dist/docs/api.json +1 -1
  178. package/dist/docs/docs.json +1 -1
  179. package/dist/docs/vscode.html-custom-data.json +1 -1
  180. package/dist/docs/web-types.json +1 -1
  181. package/dist/index.js +396 -398
  182. package/dist/loader.js +1 -1
  183. package/dist/utils/chart-config/converter/index.js +73 -75
  184. package/dist/utils/misc/index.d.ts +4 -4
  185. package/package.json +4 -4
  186. package/dist/cdn/23NH4HLE.js +0 -2
  187. package/dist/cdn/2DRKIHTI.js +0 -2
  188. package/dist/cdn/2E3WHSEW.js +0 -2
  189. package/dist/cdn/2RG5JCBW.js +0 -3
  190. package/dist/cdn/2X2QOEKX.js +0 -2
  191. package/dist/cdn/37WXQO5B.js +0 -2
  192. package/dist/cdn/3INTJJ4X.js +0 -2
  193. package/dist/cdn/3RJNZA24.js +0 -2
  194. package/dist/cdn/4CU5D5WQ.js +0 -2
  195. package/dist/cdn/4WQUPC2P.js +0 -2
  196. package/dist/cdn/5DAVFUDX.js +0 -2
  197. package/dist/cdn/5VCTFSTZ.js +0 -2
  198. package/dist/cdn/5XGX5QH2.js +0 -2
  199. package/dist/cdn/6XH6ZRHO.js +0 -2
  200. package/dist/cdn/7WD2VKG4.js +0 -2
  201. package/dist/cdn/7YN565O4.js +0 -2
  202. package/dist/cdn/A2BFOCSN.js +0 -2
  203. package/dist/cdn/A5TI5TEO.js +0 -2
  204. package/dist/cdn/AHB4IS7P.js +0 -2
  205. package/dist/cdn/B6ADEFC7.js +0 -2
  206. package/dist/cdn/B6APNE72.js +0 -3
  207. package/dist/cdn/BDIRQUQE.js +0 -2
  208. package/dist/cdn/BWZA3447.js +0 -2
  209. package/dist/cdn/BZTSUXUT.js +0 -2
  210. package/dist/cdn/CFACTMRG.js +0 -2
  211. package/dist/cdn/D2LNPCIA.js +0 -2
  212. package/dist/cdn/D6WQTOUC.js +0 -2
  213. package/dist/cdn/DTSX7SEI.js +0 -2
  214. package/dist/cdn/EPFEFHM2.js +0 -2
  215. package/dist/cdn/EW2P4QSN.js +0 -2
  216. package/dist/cdn/GE7CLC6K.js +0 -4
  217. package/dist/cdn/GEPIPU4G.js +0 -2
  218. package/dist/cdn/GXYGXB4U.js +0 -2
  219. package/dist/cdn/IEOIKLLK.js +0 -2
  220. package/dist/cdn/ISSUAEJS.js +0 -2
  221. package/dist/cdn/KJNBURYA.js +0 -2
  222. package/dist/cdn/L3AKSDIB.js +0 -2
  223. package/dist/cdn/L5MTHGFZ.js +0 -2
  224. package/dist/cdn/LHLPK6TU.js +0 -2
  225. package/dist/cdn/LXFY54NF.js +0 -2
  226. package/dist/cdn/MJUCIYQN.js +0 -2
  227. package/dist/cdn/NGBBNBA7.js +0 -2
  228. package/dist/cdn/NIZC75X3.js +0 -2
  229. package/dist/cdn/OBKDR3MU.js +0 -2
  230. package/dist/cdn/OQKL344Q.js +0 -2
  231. package/dist/cdn/PT66VVXN.js +0 -2
  232. package/dist/cdn/QOENPUSD.js +0 -2
  233. package/dist/cdn/QPVBVDRP.js +0 -2
  234. package/dist/cdn/RGMPFNUN.js +0 -2
  235. package/dist/cdn/RGSJ3JFI.js +0 -2
  236. package/dist/cdn/RVHNFMTN.js +0 -2
  237. package/dist/cdn/RVQPEB4W.js +0 -2
  238. package/dist/cdn/RXTO6RE2.js +0 -2
  239. package/dist/cdn/SCEFJRON.js +0 -2
  240. package/dist/cdn/SEILP6QP.js +0 -2
  241. package/dist/cdn/SKI5Z6UH.js +0 -2
  242. package/dist/cdn/SSEWUPML.js +0 -2
  243. package/dist/cdn/TCE6PLHN.js +0 -2
  244. package/dist/cdn/TOCU6UKM.js +0 -2
  245. package/dist/cdn/TSASF4ZC.js +0 -2
  246. package/dist/cdn/UDAJILEU.js +0 -2
  247. package/dist/cdn/UZOYADSB.js +0 -2
  248. package/dist/cdn/W2PTHYOT.js +0 -2
  249. package/dist/cdn/W53DMMGZ.js +0 -2
  250. package/dist/cdn/WAQJ7V62.js +0 -2
  251. package/dist/cdn/WEPXOYBS.js +0 -2
  252. package/dist/cdn/WLPUBXN7.js +0 -2
  253. package/dist/cdn/Y2S7EWZR.js +0 -2
  254. package/dist/cdn/YGLBPPXP.js +0 -2
  255. package/dist/cdn/YWUNLBCQ.js +0 -2
  256. package/dist/cdn/YYTAWATK.js +0 -2
  257. package/dist/cdn/ZDQWMMOA.js +0 -2
  258. package/dist/cdn/ZFHMGE36.js +0 -2
  259. package/dist/cdn/ZGNJFT7B.js +0 -2
  260. package/dist/cdn/ZMVIOIBB.js +0 -2
  261. package/dist/cdn/ZTHSDPEH.js +0 -2
  262. package/dist/chunks/index5.js +0 -69
  263. package/dist/chunks/type-guards2.js +0 -113
  264. package/dist/chunks/utils2.js +0 -63
  265. /package/dist/cdn/{OTV3YYDU.js → 7JMZPDM5.js} +0 -0
  266. /package/dist/cdn/{O6GVF76X.js → KRRYFLG4.js} +0 -0
  267. /package/dist/cdn/{27C6PCQ2.js → XXO5K6N4.js} +0 -0
@@ -1,25 +1,25 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
  import { isEqual as x } from "es-toolkit/compat";
3
3
  import { a as _, c as b, d as f } from "./chart-object-literals.js";
4
- import { c8 as v, cb as L, bK as p, t as M } from "./index.js";
5
- import { i as P } from "./index4.js";
4
+ import { cz as v, cD as L, eJ as M, eK as P, c5 as p, u as V, eL as N, eI as k } from "./index.js";
5
+ import { i as R } from "./index3.js";
6
6
  import { m as o } from "./model-setter.js";
7
- import { S as V } from "./common.js";
8
- import { M as N, a as k, W as R, b as E } from "./data-labels-visibility.js";
9
- import { M as U, a as j } from "./model-with-y-guides.js";
7
+ import { S as E } from "./common.js";
8
+ import { M as U, a as j, W as X, b as Y } from "./data-labels-visibility.js";
9
+ import { M as w, a as z } from "./model-with-y-guides.js";
10
10
  import { C as O } from "./chart-model.js";
11
- import { g as S, d as u, j as X, k as Y, l as w, m as z, n as K, o as q, q as G, t as $, v as Z, w as H, x as J, y as Q, z as m, A as T, B, C as d, D as ee, E as ie, e as te, F as se, W as re } from "./serial-chart-data.js";
12
- import { M as oe } from "./model-with-x-guides.js";
13
- import { W as ne, c as ae, d as le } from "./axis-lines-symbol.js";
14
- import { W as ge, c as ce, d as he } from "./generate-x-axis-title.js";
15
- import { W as fe, a as pe } from "./x-bounds.js";
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, d as C, j as Se, k as ue, l as _e, h as xe } from "./utils.js";
11
+ import { g as S, d as u, j as K, k as q, l as G, m as $, n as J, o as Z, q as H, t as Q, v as ee, w as ie, x as te, y as se, z as m, A as T, B, C as d, D as re, E as oe, e as ne, F as ae, W as le } from "./serial-chart-data.js";
12
+ import { M as ge } from "./model-with-x-guides.js";
13
+ import { W as ce, c as he, d as fe } from "./axis-lines-symbol.js";
14
+ import { W as pe, c as me, d as de } from "./generate-x-axis-title.js";
15
+ import { W as ye, a as Se } from "./x-bounds.js";
16
+ import { W as ue } from "./data-labels-symbol.js";
17
+ import { W as _e } from "./rotated-state.js";
18
+ import { a as D, u as xe, d as C } from "./utils.js";
19
19
  import { d as y, e as F, a as Te } from "./data.js";
20
- import { u as Be, m as Ce, a8 as Fe, j as Ae, k as Ie } from "./index3.js";
21
- import { s as D } from "./series-types.js";
22
- const A = (s, e) => e.series?.[s].assignToSecondValueAxis ?? !1, I = (s) => {
20
+ import { u as Be, m as Ce, ag as Fe, j as Ie, k as Ae } from "./index2.js";
21
+ import { s as W } from "./series-types.js";
22
+ const I = (s, e) => e.series?.[s].assignToSecondValueAxis ?? !1, A = (s) => {
23
23
  const { assign: e, seriesIndex: i, config: t, commonStrings: r } = s;
24
24
  e && t.axes !== void 0 && !t.axes?.[2] && (t.axes[2] = Fe(r, _.BarSeries)[1]), t.series && t.series.forEach((l, g) => {
25
25
  g === i ? l.assignToSecondValueAxis = e : g !== i && l?.assignToSecondValueAxis !== !0 && (l.assignToSecondValueAxis = !1);
@@ -41,31 +41,31 @@ const A = (s, e) => e.series?.[s].assignToSecondValueAxis ?? !1, I = (s) => {
41
41
  ...t.lineSymbol,
42
42
  color: s
43
43
  }));
44
- }, We = (s) => s.series.map((e) => e.id), De = (s, e) => {
44
+ }, De = (s) => s.series.map((e) => e.id), We = (s, e) => {
45
45
  e.series?.sort(
46
46
  (i, t) => s.findIndex((r) => i.id === r) - s.findIndex((r) => t.id === r)
47
47
  );
48
48
  }, Me = (s) => s.stackedType ?? b.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
- const l = W({
51
+ const l = D({
52
52
  config: i,
53
53
  layerInfo: t,
54
54
  commonStrings: r,
55
55
  numericFields: u(i),
56
56
  aggregationType: S(i)
57
57
  });
58
- ye(i, 1, l);
58
+ xe(i, 1, l);
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 === b.Stacked100 ? i.axes[1].valueFormat = Ie() : i.axes[1].valueFormat = Ae()), C({ config: i, value: null, axisIndex: 1, isMax: !1 }), C({ config: i, value: null, axisIndex: 1, isMax: !0 });
61
61
  }, Ve = (s) => {
62
62
  const e = {};
63
63
  return s.series.forEach((i) => {
64
- D(i) && "nullCategory" in i && i.nullCategory !== void 0 && (e.text ??= i.nullCategory.text, i.type === _.BarSeries ? e.fillSymbol ??= i.nullCategory.fillSymbol : e.markerSymbol ??= i.nullCategory.markerSymbol);
64
+ W(i) && "nullCategory" in i && i.nullCategory !== void 0 && (e.text ??= i.nullCategory.text, i.type === _.BarSeries ? e.fillSymbol ??= i.nullCategory.fillSymbol : e.markerSymbol ??= i.nullCategory.markerSymbol);
65
65
  }), e.text || e.fillSymbol || e.markerSymbol ? e : void 0;
66
66
  }, Ne = (s, e) => {
67
67
  s.series.forEach((i) => {
68
- D(i) && (e ? i.type === _.BarSeries ? i.nullCategory = { text: e?.text, fillSymbol: e?.fillSymbol } : i.nullCategory = { text: e?.text, markerSymbol: e?.markerSymbol } : i.nullCategory = void 0);
68
+ W(i) && (e ? i.type === _.BarSeries ? i.nullCategory = { text: e?.text, fillSymbol: e?.fillSymbol } : i.nullCategory = { text: e?.text, markerSymbol: e?.markerSymbol } : i.nullCategory = void 0);
69
69
  });
70
70
  };
71
71
  var ke = Object.defineProperty, Re = Object.getOwnPropertyDescriptor, h = (s, e, i, t) => {
@@ -78,37 +78,37 @@ class c extends O {
78
78
  * Time interval size for a temporal bar chart or line chart.
79
79
  */
80
80
  get temporalBinningSize() {
81
- return X(this._config);
81
+ return K(this._config);
82
82
  }
83
83
  set temporalBinningSize(e) {
84
- Y(e, this._config);
84
+ q(e, this._config);
85
85
  }
86
86
  /**
87
87
  * Time interval units for a temporal bar chart or line chart.
88
88
  */
89
89
  get temporalBinningUnit() {
90
- return w(this._config);
90
+ return G(this._config);
91
91
  }
92
92
  set temporalBinningUnit(e) {
93
- z(e, this._config);
93
+ $(e, this._config);
94
94
  }
95
95
  /**
96
96
  * Time aggregation type for a temporal bar chart or line chart.
97
97
  */
98
98
  get timeAggregationType() {
99
- return K(this._config);
99
+ return J(this._config);
100
100
  }
101
101
  set timeAggregationType(e) {
102
- q(e, this._config);
102
+ Z(e, this._config);
103
103
  }
104
104
  /**
105
105
  * Whether to trim incomplete time intervals for a temporal bar chart or line chart.
106
106
  */
107
107
  get trimIncompleteTimeInterval() {
108
- return G(this._config);
108
+ return H(this._config);
109
109
  }
110
110
  set trimIncompleteTimeInterval(e) {
111
- $(e, this._config);
111
+ Q(e, this._config);
112
112
  }
113
113
  /**
114
114
  * Policy which tells the chart how to handle null values.
@@ -120,13 +120,13 @@ class c extends O {
120
120
  * - Line series: connects the lines across null values.
121
121
  */
122
122
  get nullPolicy() {
123
- return Z(this._config);
123
+ return ee(this._config);
124
124
  }
125
125
  set nullPolicy(e) {
126
- H(e, this._config);
126
+ ie(e, this._config);
127
127
  }
128
128
  resetTimeInterval() {
129
- J(this._config);
129
+ te(this._config);
130
130
  }
131
131
  }
132
132
  h([
@@ -234,7 +234,7 @@ class n extends O {
234
234
  return this._aggregationType;
235
235
  }
236
236
  set aggregationType(e) {
237
- this._aggregationType = e, Q({
237
+ this._aggregationType = e, se({
238
238
  aggregationType: e,
239
239
  config: this._config,
240
240
  layerInfo: this.layerInfo,
@@ -248,7 +248,7 @@ class n extends O {
248
248
  return this._splitByField;
249
249
  }
250
250
  set splitByField(e) {
251
- this.layerInfo?.layerFieldsInfo && Se(this.layerInfo?.layerFieldsInfo, e) && (this._splitByField = e, this.processSeriesRebuild("splitByField"));
251
+ this.layerInfo?.layerFieldsInfo && M(this.layerInfo?.layerFieldsInfo, e) && (this._splitByField = e, this.processSeriesRebuild("splitByField"));
252
252
  }
253
253
  /**
254
254
  * The numeric fields array for the chart.
@@ -258,9 +258,9 @@ class n extends O {
258
258
  }
259
259
  set numericFields(e) {
260
260
  typeof e == "string" && (e = [e]);
261
- const i = ue(this.layerInfo?.layerFieldsInfo ?? [], e), t = (this.xAxisField === "" || this.xAxisField === p) && e.length === 0;
261
+ const i = P(this.layerInfo?.layerFieldsInfo ?? [], e), t = (this.xAxisField === "" || this.xAxisField === p) && e.length === 0;
262
262
  if (i && !t) {
263
- const r = M(this.layerInfo.layer).idField;
263
+ const r = V(this.layerInfo.layer).idField;
264
264
  e.length === 0 && r !== void 0 ? (e = [r], this._aggregationType = f.Count) : this._aggregationType === f.Count && e.length >= 1 && r !== void 0 && !e.includes(r) && (this._aggregationType = f.Sum), this._numericFields = e, this.numericFields.length > 1 && (this._splitByField = ""), this.processSeriesRebuild("numericFields");
265
265
  } else t && this.resetConfig();
266
266
  }
@@ -271,10 +271,10 @@ class n extends O {
271
271
  * @deprecated since 5.2. Use {@link model/serial-chart-model/serial-chart-model#getSeriesToSecondaryYAxis getSeriesToSecondaryYAxis} instead.
272
272
  */
273
273
  getAssignToSecondValueAxis(e) {
274
- return A(e, this._config);
274
+ return I(e, this._config);
275
275
  }
276
276
  setAssignToSecondValueAxis(e, i) {
277
- I({ assign: e, seriesIndex: i, config: this._config, commonStrings: this.commonStrings });
277
+ A({ assign: e, seriesIndex: i, config: this._config, commonStrings: this.commonStrings });
278
278
  }
279
279
  /**
280
280
  * Gets whether the series should be assigned to the secondary y-axis.
@@ -282,10 +282,10 @@ class n extends O {
282
282
  * @param seriesIndex - The index of the series.
283
283
  */
284
284
  getSeriesToSecondaryYAxis(e) {
285
- return A(e, this._config);
285
+ return I(e, this._config);
286
286
  }
287
287
  setSeriesToSecondaryYAxis(e, i) {
288
- I({ assign: e, seriesIndex: i, config: this._config, commonStrings: this.commonStrings });
288
+ A({ assign: e, seriesIndex: i, config: this._config, commonStrings: this.commonStrings });
289
289
  }
290
290
  /**
291
291
  * Gets the data sort order for the chart.
@@ -332,7 +332,7 @@ class n extends O {
332
332
  async setDataFilters(e) {
333
333
  super.setDataFilters(e);
334
334
  const i = m(this._config)[0];
335
- if (i === V.customSort) {
335
+ if (i === E.customSort) {
336
336
  this.startAsyncUpdate();
337
337
  const t = await T({
338
338
  config: this._config,
@@ -350,7 +350,7 @@ class n extends O {
350
350
  return F(this._config);
351
351
  }
352
352
  set orderByList(e) {
353
- !P(this._config) && B(e, this._config);
353
+ !R(this._config) && B(e, this._config);
354
354
  }
355
355
  /**
356
356
  * Updates the series based on the layer filter.
@@ -372,10 +372,10 @@ class n extends O {
372
372
  * **Note:** Setting this prop removes any existing temporal binning settings if `value` is set to `false`.
373
373
  */
374
374
  get binTemporalData() {
375
- return ee(this._config);
375
+ return re(this._config);
376
376
  }
377
377
  set binTemporalData(e) {
378
- ie(e, this._config);
378
+ oe(e, this._config);
379
379
  }
380
380
  // #endregion
381
381
  // ---------------------------------------------------------------------------------------------
@@ -414,10 +414,10 @@ class n extends O {
414
414
  * orders categories or numeric values within the chart data.
415
415
  */
416
416
  getOrderOfSeries() {
417
- return We(this._config);
417
+ return De(this._config);
418
418
  }
419
419
  setOrderOfSeries(e) {
420
- De(e, this._config);
420
+ We(e, this._config);
421
421
  }
422
422
  /**
423
423
  * How the bars (lines) should be placed when multiple series are rendered in the same chart, say when "split by" operation is executed on any field or
@@ -464,7 +464,7 @@ class n extends O {
464
464
  * @private
465
465
  */
466
466
  setupLocalProps() {
467
- this._xAxisField = Te(this._config), this._aggregationType = S(this._config), this._splitByField = te(this._config), this._numericFields = u(this._config);
467
+ this._xAxisField = Te(this._config), this._aggregationType = S(this._config), this._splitByField = ne(this._config), this._numericFields = u(this._config);
468
468
  }
469
469
  resetConfig() {
470
470
  const e = this._config.id;
@@ -493,7 +493,7 @@ class n extends O {
493
493
  * Fetches the split-by field information and stores it in a private member for use in building the series.
494
494
  */
495
495
  async fetchSplitByFieldInfos() {
496
- return this.splitByFieldInfos = await _e({
496
+ return this.splitByFieldInfos = await N({
497
497
  config: this._config,
498
498
  layer: this.layerInfo.layer,
499
499
  layerFieldsInfo: this.layerInfo.layerFieldsInfo,
@@ -529,13 +529,13 @@ class n extends O {
529
529
  * Generate the proper chart title given the current config.
530
530
  */
531
531
  generateChartTitle() {
532
- return this.layerInfo !== void 0 ? se(this._config, this.layerInfo, this.commonStrings) : "";
532
+ return this.layerInfo !== void 0 ? ae(this._config, this.layerInfo, this.commonStrings) : "";
533
533
  }
534
534
  /**
535
535
  * Generate the proper y-axis title given the current config.
536
536
  */
537
537
  generateYAxisTitle() {
538
- return this.layerInfo !== void 0 ? W({
538
+ return this.layerInfo !== void 0 ? D({
539
539
  config: this._config,
540
540
  layerInfo: this.layerInfo,
541
541
  commonStrings: this.commonStrings,
@@ -594,27 +594,27 @@ a([
594
594
  o
595
595
  ], n.prototype, "resetConfig");
596
596
  const je = [
597
+ w,
597
598
  U,
598
- N,
599
- k,
600
- R,
601
- de,
602
- E,
603
- me,
604
- oe,
605
599
  j,
606
- c,
600
+ X,
601
+ _e,
602
+ Y,
603
+ ue,
607
604
  ge,
608
- fe,
609
- ce,
605
+ z,
606
+ c,
610
607
  pe,
611
- ne,
612
- ae,
613
- le,
608
+ ye,
609
+ me,
610
+ Se,
611
+ ce,
614
612
  he,
615
- re
613
+ fe,
614
+ de,
615
+ le
616
616
  ];
617
- xe(n, je);
617
+ k(n, je);
618
618
  export {
619
619
  n as S,
620
620
  ve as a,
@@ -1,7 +1,7 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
  import { m as n, C as a } from "./model-setter.js";
3
- import { a1 as o, a2 as g, a3 as h } from "./index3.js";
4
- import { P as p } from "./index.js";
3
+ import { a4 as o, a5 as g, a6 as h } from "./index2.js";
4
+ import { Z as p } from "./index.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, l; r >= 0; r--)
7
7
  (l = t[r]) && (s = l(e, i, s) || s);
@@ -38,7 +38,7 @@ class C extends a {
38
38
  }
39
39
  }
40
40
  const T = (t) => t.series.length ?? 0;
41
- class P extends a {
41
+ class b extends a {
42
42
  /**
43
43
  * The length of the series array.
44
44
  */
@@ -50,7 +50,7 @@ export {
50
50
  m as W,
51
51
  v as a,
52
52
  T as b,
53
- P as c,
53
+ b as c,
54
54
  C as d,
55
55
  x as g
56
56
  };
@@ -1,5 +1,5 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import { m as i } from "./index3.js";
2
+ import { m as i } from "./index2.js";
3
3
  const o = (e) => e.lineSymbol?.style, n = (e, t) => {
4
4
  t.lineSymbol ??= i(), t.lineSymbol.style = e;
5
5
  }, s = (e) => e.lineSymbol?.width, S = (e, t) => {
@@ -1,59 +1,113 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import "@arcgis/toolkit/type";
3
- function p(e) {
4
- return e !== void 0 && "type" in e && e.type === "imagery";
5
- }
6
- function y(e) {
7
- return e !== void 0 && "type" in e && e.type === "imagery-tile";
8
- }
9
- function u(e) {
10
- return e !== void 0 && "type" in e && e.type === "wcs";
11
- }
12
- function t(e) {
13
- return e === "imagery" || e === "imagery-tile" || e === "wcs";
14
- }
15
- function a(e) {
16
- return e !== void 0 && "type" in e && t(e.type);
17
- }
18
- function g(e) {
19
- return s(e?.iLayer);
20
- }
21
- function s(e) {
22
- const r = e?.layerType;
23
- return r === "ArcGISImageServiceLayer" || r === "ArcGISTiledImageServiceLayer" || r === "WCS";
24
- }
25
- function c(e, r) {
26
- if (a(e))
27
- throw new Error(r ?? "Raster layer is not supported by this operation.");
28
- }
29
- const i = [
30
- "catalog",
31
- "catalog-footprint",
32
- "csv",
33
- "feature",
34
- "geojson",
35
- "imagery",
36
- "knowledge-graph-sublayer",
37
- "ogc-feature",
38
- "oriented-imagery",
39
- "parquet",
40
- "scene",
41
- "stream",
42
- "subtype-group",
43
- "subtype-sublayer",
44
- "wfs"
45
- ], o = new Set(i);
46
- function d(e) {
47
- return o.has(e.type);
2
+ import { c as s } from "./model-types.js";
3
+ import { a as e } from "./chart-object-literals.js";
4
+ function t(i) {
5
+ return i !== void 0 && "config" in i && // this `satisfies` ensures TypeScript checks that "config" is a key of ChartModel
6
+ "update" in i;
7
+ }
8
+ function a(i) {
9
+ return t(i) && i?.chartType === e.BarSeries;
10
+ }
11
+ function f(i) {
12
+ return t(i) && i?.chartType === e.LineSeries;
13
+ }
14
+ function h(i) {
15
+ return t(i) && i?.chartType === e.RadarSeries;
16
+ }
17
+ function o(i) {
18
+ return t(i) && i?.chartType === e.ComboLineAndBarSeries;
19
+ }
20
+ function p(i) {
21
+ const r = t(i) ? i?.chartType : void 0;
22
+ return r === e.LineSeries || r === e.BarSeries || r === e.ComboLineAndBarSeries || r === e.RadarSeries;
23
+ }
24
+ function u(i) {
25
+ return t(i) && i?.chartType === e.PieSeries;
26
+ }
27
+ function y(i) {
28
+ return t(i) && i?.chartType === e.BoxPlotSeries;
29
+ }
30
+ function M(i) {
31
+ return t(i) && i?.chartType === e.ScatterSeries;
32
+ }
33
+ function S(i) {
34
+ return t(i) && i?.chartType === e.HistogramSeries;
35
+ }
36
+ function T(i) {
37
+ return t(i) && i?.chartType === e.HeatSeries;
38
+ }
39
+ function l(i) {
40
+ return t(i) && i?.chartType === e.GaugeSeries;
41
+ }
42
+ function g(i) {
43
+ const r = [
44
+ e.BarSeries,
45
+ e.BoxPlotSeries,
46
+ e.HistogramSeries,
47
+ e.ScatterSeries,
48
+ e.LineSeries,
49
+ e.ComboLineAndBarSeries,
50
+ e.HeatSeries
51
+ ];
52
+ return t(i) && r.includes(i.chartType) && "getAxisTitleText" in i && typeof i.getAxisTitleText == "function";
53
+ }
54
+ function C(i) {
55
+ return i !== void 0 && "setSeriesMarkerColor" in i;
56
+ }
57
+ function x(i) {
58
+ return i !== void 0 && "getDataTooltipVisibility" in i;
59
+ }
60
+ function B(i) {
61
+ return i !== void 0 && "getGuideVisibility" in i && typeof i.getGuideVisibility == "function";
62
+ }
63
+ function v(i) {
64
+ return i !== void 0 && "addXAxisGuide" in i && typeof i.addXAxisGuide == "function";
65
+ }
66
+ function A(i) {
67
+ return i !== void 0 && "addYAxisGuide" in i && typeof i.addYAxisGuide == "function";
68
+ }
69
+ function G(i) {
70
+ return i !== void 0 && "legendVisibility" in i;
71
+ }
72
+ function L(i) {
73
+ return u(i);
74
+ }
75
+ function W(i) {
76
+ return i !== void 0 && "temporalBinningSize" in i;
77
+ }
78
+ function b(i) {
79
+ return a(i) || o(i);
80
+ }
81
+ function H(i, r) {
82
+ const n = s(i?.chartType);
83
+ return i !== void 0 && n === r;
84
+ }
85
+ function P(i) {
86
+ return i !== void 0 && "nullCategory" in i;
48
87
  }
49
88
  export {
50
- c as a,
51
- g as b,
52
- t as c,
53
- p as d,
54
- y as e,
55
- d as f,
56
- u as g,
57
- s as h,
58
- a as i
89
+ p as a,
90
+ y as b,
91
+ T as c,
92
+ W as d,
93
+ a as e,
94
+ f,
95
+ o as g,
96
+ h,
97
+ t as i,
98
+ G as j,
99
+ M as k,
100
+ g as l,
101
+ P as m,
102
+ u as n,
103
+ B as o,
104
+ S as p,
105
+ v as q,
106
+ A as r,
107
+ l as s,
108
+ H as t,
109
+ C as u,
110
+ b as v,
111
+ x as w,
112
+ L as x
59
113
  };