@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,62 +1,60 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
  import { capitalize as u } from "es-toolkit/compat";
3
- import { aP as B, q as L, t as $, r as N, cy as I, c6 as x, bK as P, x as H, ci as _, z as v } from "./index.js";
3
+ import { b6 as B, r as L, l as $, u as N, t as I, cZ as H, x as P, cw as x, c5 as _, A as v, cK as E, E as K } from "./index.js";
4
4
  import { g as C } from "./series-types.js";
5
- import { H as A, S as o, P as K } from "./common.js";
5
+ import { H as f, 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";
10
- function E(e, r) {
11
- let s;
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;
7
+ import { l as U } from "./index2.js";
8
+ function W(e, s) {
9
+ let r;
10
+ return s === n.Category && Array.isArray(e) ? r = o.customSort : s === n.Category ? r = e === l.Ascending ? o.xAxisAsc : o.xAxisDesc : e === l.Ascending ? r = o.yAxisAsc : r = o.yAxisDesc, r;
13
11
  }
14
- function w(e, r) {
15
- let s;
16
- return r === n.Category && Array.isArray(e) ? s = A.customSort : s = e === l.Ascending ? A.Asc : A.Desc, s;
12
+ function G(e, s) {
13
+ let r;
14
+ return s === n.Category && Array.isArray(e) ? r = f.customSort : r = e === l.Ascending ? f.Asc : f.Desc, r;
17
15
  }
18
16
  const R = (e) => {
19
- const r = e.orderOptions?.data && "orderBy" in e.orderOptions.data ? e.orderOptions.data.orderBy : l.Ascending;
20
- return E(
21
- r,
17
+ const s = e.orderOptions?.data && "orderBy" in e.orderOptions.data ? e.orderOptions.data.orderBy : l.Ascending;
18
+ return W(
19
+ s,
22
20
  e.orderOptions?.data?.orderType ?? n.Category
23
21
  );
24
22
  }, V = (e) => {
25
- const r = C(e.series);
26
- let s = !1;
27
- return (r === d.BarSeries || r === d.LineSeries) && (s = R(e) === o.customSort), s;
28
- }, ee = (e) => {
29
- let r = [];
30
- const s = e.orderOptions?.data?.orderType;
31
- return V(e) && s === n.Category && (r = e.orderOptions?.data?.orderBy), r;
32
- }, re = (e, r, s, t) => {
33
- const i = C(r.series), m = B(r);
34
- r.orderOptions ??= {};
23
+ const s = C(e.series);
24
+ let r = !1;
25
+ return (s === d.BarSeries || s === d.LineSeries) && (r = R(e) === o.customSort), r;
26
+ }, J = (e) => {
27
+ let s = [];
28
+ const r = e.orderOptions?.data?.orderType;
29
+ return V(e) && r === n.Category && (s = e.orderOptions?.data?.orderBy), s;
30
+ }, w = (e, s, r, t) => {
31
+ const i = C(s.series), m = B(s);
32
+ s.orderOptions ??= {};
35
33
  let a = m ? [""] : l.Ascending;
36
34
  if (m)
37
- e === A.customSort && s !== void 0 ? a = [...s] : a = e === A.Desc ? l.Descending : l.Ascending, t ? r.orderOptions.data = {
38
- ...r.orderOptions.data,
35
+ e === f.customSort && r !== void 0 ? a = [...r] : a = e === f.Desc ? l.Descending : l.Ascending, t ? s.orderOptions.data = {
36
+ ...s.orderOptions.data,
39
37
  orderByY: a,
40
38
  orderType: n.MultiAxes
41
- } : r.orderOptions.data = {
42
- ...r.orderOptions.data,
39
+ } : s.orderOptions.data = {
40
+ ...s.orderOptions.data,
43
41
  orderByX: a,
44
42
  orderType: n.MultiAxes
45
43
  };
46
44
  else if (i === d.BarSeries || i === d.LineSeries) {
47
45
  let c = n.Category;
48
- e === o.customSort && s !== void 0 ? (a = [...s], r.orderOptions.data = {
46
+ e === o.customSort && r !== void 0 ? (a = [...r], s.orderOptions.data = {
49
47
  orderType: c,
50
48
  orderBy: a
51
- }) : (c = e === o.xAxisAsc || e === o.xAxisDesc ? n.Category : n.YValue, a = e === o.xAxisAsc || e === o.yAxisAsc ? l.Ascending : l.Descending, r.orderOptions.data = {
49
+ }) : (c = e === o.xAxisAsc || e === o.xAxisDesc ? n.Category : n.YValue, a = e === o.xAxisAsc || e === o.yAxisAsc ? l.Ascending : l.Descending, s.orderOptions.data = {
52
50
  orderType: c,
53
51
  orderBy: a
54
52
  });
55
53
  }
56
- }, se = (e) => e?.series?.[0]?.x ?? "", te = (e) => {
54
+ }, ee = (e) => e?.series?.[0]?.x ?? "", se = (e) => {
57
55
  const {
58
- config: r,
59
- xAxisField: s,
56
+ config: s,
57
+ xAxisField: r,
60
58
  numericFields: t,
61
59
  aggregationType: i,
62
60
  mode: m,
@@ -65,19 +63,19 @@ const R = (e) => {
65
63
  seriesIndex: h,
66
64
  splitByField: S = "",
67
65
  fieldList: O
68
- } = e, T = C(r.series), b = L(r.series);
69
- let f;
70
- if (W(a)) {
71
- const y = I(a);
72
- f = t.length === 1 && t[0] === y;
66
+ } = e, T = C(s.series), b = L(s.series);
67
+ let A;
68
+ if ($(a)) {
69
+ const y = H(a);
70
+ A = t.length === 1 && t[0] === y;
73
71
  } else {
74
- const { idField: y, isTraditionalTypeOID: D } = $(N(a));
75
- f = D && t.length === 1 && t[0] === y;
72
+ const { idField: y, isTraditionalTypeOID: D } = N(I(a));
73
+ A = D && t.length === 1 && t[0] === y;
76
74
  }
77
75
  let p = "y", F = "y";
78
76
  switch (T) {
79
77
  case d.PieSeries: {
80
- i !== g.NoAggregation ? m === K.Category ? (p = `${i}_${t[0]}_0`.toUpperCase(), F = f ? u(g.Count) : u(`${i} of ${t[0]}`)) : p = v : p = t[0];
78
+ i !== g.NoAggregation ? m === M.Category ? (p = `${i}_${t[0]}_0`.toUpperCase(), F = A ? u(g.Count) : u(`${i} of ${t[0]}`)) : p = K : p = t[0];
81
79
  break;
82
80
  }
83
81
  case d.BarSeries:
@@ -87,13 +85,13 @@ const R = (e) => {
87
85
  case d.HeatSeries: {
88
86
  if (S === "" || t.length > 1)
89
87
  j({
90
- fieldName: s,
88
+ fieldName: r,
91
89
  numericFields: t,
92
90
  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]}`));
91
+ }) || b === P.BarAndLineFromFields ? p = E : (p = i !== g.NoAggregation ? `${i}_${t[c ?? 0]}_${c ?? 0}`.toUpperCase() : t[c ?? 0], F = A ? u(g.Count) : u(`${i} of ${t[c ?? 0]}`));
94
92
  else {
95
93
  const y = t[0];
96
- p = i !== g.NoAggregation ? `${i}_${y}_${h ?? 0}`.toUpperCase() : y, F = f ? u(g.Count) : u(`${i} of ${y}`);
94
+ p = i !== g.NoAggregation ? `${i}_${y}_${h ?? 0}`.toUpperCase() : y, F = A ? u(g.Count) : u(`${i} of ${y}`);
97
95
  }
98
96
  break;
99
97
  }
@@ -104,21 +102,21 @@ const R = (e) => {
104
102
  };
105
103
  };
106
104
  function Y(e) {
107
- const { fieldName: r, fieldList: s } = e, t = x(s ?? [], r);
108
- return r === P || r === H || r === U || r === void 0 || r.trim() === "" || t === void 0;
105
+ const { fieldName: s, fieldList: r } = e, t = x(r ?? [], s);
106
+ return s === _ || s === v || s === U || s === void 0 || s.trim() === "" || t === void 0;
109
107
  }
110
108
  function j(e) {
111
- const { fieldName: r, fieldList: s, numericFields: t } = e, i = t.filter((m) => x(s ?? [], m)?.type !== "esriFieldTypeOID");
112
- return Y({ fieldName: r, fieldList: s }) && (i?.length ?? 0) > 0;
109
+ const { fieldName: s, fieldList: r, numericFields: t } = e, i = t.filter((m) => x(r ?? [], m)?.type !== "esriFieldTypeOID");
110
+ return Y({ fieldName: s, fieldList: r }) && (i?.length ?? 0) > 0;
113
111
  }
114
112
  export {
115
- se as a,
116
- w as b,
117
- E as c,
118
- re as d,
119
- ee as e,
113
+ ee as a,
114
+ G as b,
115
+ W as c,
116
+ w as d,
117
+ J as e,
120
118
  R as f,
121
- te as g,
119
+ se as g,
122
120
  j as s,
123
121
  Y as x
124
122
  };
@@ -1,14 +1,14 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
  import { a as c, G as S, d as x } from "./chart-object-literals.js";
3
- import { as as d, a1 as b, aB as _, at as m, ar as I } from "./index3.js";
4
- import { t as C } from "./index.js";
5
- import { C as L } from "./chart-model.js";
3
+ import { as as d, a4 as b, aB as _, at as m, ar as I } from "./index2.js";
4
+ import { u as C, eI as L } from "./index.js";
5
+ import { C as T } from "./chart-model.js";
6
6
  import { m as n } from "./model-setter.js";
7
- import { M as T } from "./model-with-x-guides.js";
8
- import { W as A, c as W, d as V } from "./axis-lines-symbol.js";
9
- import { W as F, c as B, d as D } from "./generate-x-axis-title.js";
10
- import { W as E, a as P } from "./x-bounds.js";
11
- import { g as w, h as M } from "./utils.js";
7
+ import { M as A } from "./model-with-x-guides.js";
8
+ import { W, c as V, d as F } from "./axis-lines-symbol.js";
9
+ import { W as B, c as D, d as E } from "./generate-x-axis-title.js";
10
+ import { W as P, a as w } from "./x-bounds.js";
11
+ import { a as M } from "./utils.js";
12
12
  const N = (t) => t.axes[0].needle?.visible ?? !0, R = (t, e) => {
13
13
  e.axes[0].needle === void 0 && (e.axes[0].needle = d()), e.axes[0].needle.visible = t;
14
14
  }, G = (t) => t.axes[0].needle?.symbol, k = (t, e) => {
@@ -35,56 +35,56 @@ const N = (t) => t.axes[0].needle?.visible ?? !0, R = (t, e) => {
35
35
  e.axes[0].ticks === void 0 && (e.axes[0].ticks = {
36
36
  type: c.GaugeAxisTick
37
37
  }), e.axes[0].ticks.visible = t;
38
- }, oe = (t) => t.axes[0].labelsIncrement, re = (t, e) => {
38
+ }, ae = (t) => t.axes[0].labelsIncrement, oe = (t, e) => {
39
39
  e.axes[0].labelsIncrement = t;
40
- }, ae = (t) => t.axes[0].onlyShowFirstAndLastLabels ?? !1, le = (t, e) => {
40
+ }, re = (t) => t.axes[0].onlyShowFirstAndLastLabels ?? !1, le = (t, e) => {
41
41
  e.axes[0].onlyShowFirstAndLastLabels = t;
42
42
  }, de = (t) => t.series[0]?.valueConversion, ge = (t, e) => {
43
43
  e.series[0] !== void 0 && (e.series[0].valueConversion = t);
44
44
  }, v = (t) => t.series[0]?.featureIndex, y = (t) => {
45
- const { featureIndex: e, config: s, layerInfo: a, commonStrings: r } = t, l = f(s), g = h(s);
46
- e === null ? delete s.series[0].featureIndex : s.series[0] !== void 0 && (s.series[0].featureIndex = e), u({ config: s, layerInfo: a, field: l, aggregationType: g, commonStrings: r });
45
+ const { featureIndex: e, config: s, layerInfo: r, commonStrings: o } = t, l = f(s), g = h(s);
46
+ e === null ? delete s.series[0].featureIndex : s.series[0] !== void 0 && (s.series[0].featureIndex = e), u({ config: s, layerInfo: r, field: l, aggregationType: g, commonStrings: o });
47
47
  }, ce = (t) => t.subType ?? S.StatisticGauge, ue = (t) => {
48
- const { config: e, field: s, aggregationType: a } = t;
49
- if (a !== x.NoAggregation) {
50
- const r = v(e), l = p(r) ? {} : {
48
+ const { config: e, field: s, aggregationType: r } = t;
49
+ if (r !== x.NoAggregation) {
50
+ const o = v(e), l = p(o) ? {} : {
51
51
  outStatistics: [
52
52
  {
53
- statisticType: a,
53
+ statisticType: r,
54
54
  onStatisticField: s,
55
- outStatisticFieldName: `${a}_${s}`
55
+ outStatisticFieldName: `${r}_${s}`
56
56
  }
57
57
  ]
58
58
  };
59
59
  e.series[0].query = l;
60
60
  }
61
61
  }, he = (t) => {
62
- const { config: e, layerInfo: s, commonStrings: a, field: r, aggregationType: l } = t;
63
- e.title && (e.title.content.text = w({
62
+ const { config: e, layerInfo: s, commonStrings: r, field: o, aggregationType: l } = t;
63
+ e.title && (e.title.content.text = M({
64
64
  config: e,
65
65
  layerInfo: s,
66
- commonStrings: a,
67
- numericFields: [r],
66
+ commonStrings: r,
67
+ numericFields: [o],
68
68
  aggregationType: l
69
69
  }));
70
70
  }, u = (t) => {
71
- const { config: e, field: s, aggregationType: a } = t;
71
+ const { config: e, field: s, aggregationType: r } = t;
72
72
  e.series[0] === void 0 && (e.series = [m({})]);
73
- const r = p(e.series[0]?.featureIndex);
74
- let l = r ? s : `${a}_${s}`;
75
- r && s.startsWith(`${a}_`) && (l = s.replace(`${a}_`, "")), e.series[0].x = l, ue({ config: e, field: s, aggregationType: a }), he(t);
73
+ const o = p(e.series[0]?.featureIndex);
74
+ let l = o ? s : `${r}_${s}`;
75
+ o && s.startsWith(`${r}_`) && (l = s.replace(`${r}_`, "")), e.series[0].x = l, ue({ config: e, field: s, aggregationType: r }), he(t);
76
76
  }, h = (t) => t.series[0]?.query?.outStatistics?.[0]?.statisticType ?? x.Count, pe = (t) => {
77
- const { config: e, layerInfo: s, commonStrings: a, aggregationType: r } = t, l = f(e);
77
+ const { config: e, layerInfo: s, commonStrings: r, aggregationType: o } = t, l = f(e);
78
78
  u({
79
79
  config: e,
80
80
  layerInfo: s,
81
- commonStrings: a,
81
+ commonStrings: r,
82
82
  field: l,
83
- aggregationType: r
83
+ aggregationType: o
84
84
  });
85
85
  }, p = (t) => typeof t == "number" && t >= 0, f = (t) => p(t.series[0]?.featureIndex) ? t.series[0]?.x : t.series[0]?.query?.outStatistics?.[0]?.onStatisticField ?? "", fe = (t) => {
86
- const { field: e, config: s, layerInfo: a, commonStrings: r } = t, l = h(s);
87
- u({ config: s, layerInfo: a, commonStrings: r, field: e, aggregationType: l });
86
+ const { field: e, config: s, layerInfo: r, commonStrings: o } = t, l = h(s);
87
+ u({ config: s, layerInfo: r, commonStrings: o, field: e, aggregationType: l });
88
88
  }, ye = (t) => t.innerRadius ?? 50, xe = (t, e) => {
89
89
  e.innerRadius = t;
90
90
  }, be = (t) => t.startAngle ?? -90, me = (t, e) => {
@@ -95,12 +95,12 @@ const N = (t) => t.axes[0].needle?.visible ?? !0, R = (t, e) => {
95
95
  function _e(t) {
96
96
  return _(t);
97
97
  }
98
- var Ie = Object.defineProperty, Ce = Object.getOwnPropertyDescriptor, o = (t, e, s, a) => {
99
- for (var r = Ce(e, s), l = t.length - 1, g; l >= 0; l--)
100
- (g = t[l]) && (r = g(e, s, r) || r);
101
- return r && Ie(e, s, r), r;
98
+ var Ie = Object.defineProperty, Ce = Object.getOwnPropertyDescriptor, a = (t, e, s, r) => {
99
+ for (var o = Ce(e, s), l = t.length - 1, g; l >= 0; l--)
100
+ (g = t[l]) && (o = g(e, s, o) || o);
101
+ return o && Ie(e, s, o), o;
102
102
  };
103
- class i extends L {
103
+ class i extends T {
104
104
  constructor() {
105
105
  super(...arguments), this._chartType = c.GaugeSeries;
106
106
  }
@@ -348,16 +348,16 @@ class i extends L {
348
348
  * Labels increment for the gauge.
349
349
  */
350
350
  get labelsIncrement() {
351
- return oe(this._config);
351
+ return ae(this._config);
352
352
  }
353
353
  set labelsIncrement(e) {
354
- re(e, this._config);
354
+ oe(e, this._config);
355
355
  }
356
356
  /**
357
357
  * Whether to only show the first and last axis labels.
358
358
  */
359
359
  get onlyShowFirstAndLastLabels() {
360
- return ae(this._config);
360
+ return re(this._config);
361
361
  }
362
362
  set onlyShowFirstAndLastLabels(e) {
363
363
  le(e, this._config);
@@ -371,81 +371,81 @@ class i extends L {
371
371
  return e.series = [m({ objectIDField: C(this.layerInfo.layer).idField })], e;
372
372
  }
373
373
  }
374
- o([
374
+ a([
375
375
  n
376
376
  ], i.prototype, "field");
377
- o([
377
+ a([
378
378
  n
379
379
  ], i.prototype, "aggregationType");
380
- o([
380
+ a([
381
381
  n
382
382
  ], i.prototype, "innerRadius");
383
- o([
383
+ a([
384
384
  n
385
385
  ], i.prototype, "startAngle");
386
- o([
386
+ a([
387
387
  n
388
388
  ], i.prototype, "endAngle");
389
- o([
389
+ a([
390
390
  n
391
391
  ], i.prototype, "valueConversion");
392
- o([
392
+ a([
393
393
  n
394
394
  ], i.prototype, "featureIndex");
395
- o([
395
+ a([
396
396
  n
397
397
  ], i.prototype, "removeFeatureIndex");
398
- o([
398
+ a([
399
399
  n
400
400
  ], i.prototype, "needleVisibility");
401
- o([
401
+ a([
402
402
  n
403
403
  ], i.prototype, "needleSymbol");
404
- o([
404
+ a([
405
405
  n
406
406
  ], i.prototype, "needleStartWidth");
407
- o([
407
+ a([
408
408
  n
409
409
  ], i.prototype, "needleEndWidth");
410
- o([
410
+ a([
411
411
  n
412
412
  ], i.prototype, "needleInnerRadius");
413
- o([
413
+ a([
414
414
  n
415
415
  ], i.prototype, "needleDisplayPin");
416
- o([
416
+ a([
417
417
  n
418
418
  ], i.prototype, "innerLabelVisible");
419
- o([
419
+ a([
420
420
  n
421
421
  ], i.prototype, "innerLabelContent");
422
- o([
422
+ a([
423
423
  n
424
424
  ], i.prototype, "progressBandsVisibility");
425
- o([
425
+ a([
426
426
  n
427
427
  ], i.prototype, "progressBands");
428
- o([
428
+ a([
429
429
  n
430
430
  ], i.prototype, "axisTickVisibility");
431
- o([
431
+ a([
432
432
  n
433
433
  ], i.prototype, "labelsIncrement");
434
- o([
434
+ a([
435
435
  n
436
436
  ], i.prototype, "onlyShowFirstAndLastLabels");
437
437
  const Le = [
438
- F,
439
- E,
440
438
  B,
441
439
  P,
442
- A,
440
+ D,
441
+ w,
443
442
  W,
444
443
  V,
445
- D,
446
- T
444
+ F,
445
+ E,
446
+ A
447
447
  ];
448
- M(i, Le);
448
+ L(i, Le);
449
449
  export {
450
450
  i as GaugeModel
451
451
  };
@@ -1,15 +1,15 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
  import { C as o, m as a } from "./model-setter.js";
3
- import { g as f, b as c, c as d, d as h } from "./utils2.js";
4
- import { k as T, a as p, b as u, p as y, c as g } from "./type-guards2.js";
5
- import { l as A } from "./index3.js";
6
- import { b as l } from "./index2.js";
7
- var b = Object.defineProperty, v = Object.getOwnPropertyDescriptor, _ = (t, i, s, x) => {
8
- for (var e = v(i, s), r = t.length - 1, n; r >= 0; r--)
3
+ import { g as f, i as c, j as h, k as T } from "./utils.js";
4
+ import { k as d, a as p, b as u, p as y, c as g } from "./type-guards.js";
5
+ import { l as A } from "./index2.js";
6
+ import { B as l } from "./index.js";
7
+ var v = Object.defineProperty, _ = Object.getOwnPropertyDescriptor, b = (t, i, s, x) => {
8
+ for (var e = _(i, s), r = t.length - 1, n; r >= 0; r--)
9
9
  (n = t[r]) && (e = n(i, s, e) || e);
10
- return e && b(i, s, e), e;
10
+ return e && v(i, s, e), e;
11
11
  };
12
- function F(t) {
12
+ function B(t) {
13
13
  return t !== void 0 && "xAxisTitleText" in t;
14
14
  }
15
15
  class m extends o {
@@ -23,7 +23,7 @@ class m extends o {
23
23
  c(i, 0, this._config);
24
24
  }
25
25
  }
26
- _([
26
+ b([
27
27
  a
28
28
  ], m.prototype, "xAxisTitleText");
29
29
  var P = Object.defineProperty, C = Object.getOwnPropertyDescriptor, M = (t, i, s, x) => {
@@ -31,7 +31,7 @@ var P = Object.defineProperty, C = Object.getOwnPropertyDescriptor, M = (t, i, s
31
31
  (n = t[r]) && (e = n(i, s, e) || e);
32
32
  return e && P(i, s, e), e;
33
33
  };
34
- function S(t) {
34
+ function D(t) {
35
35
  return t !== void 0 && "xAxisTitleVisibility" in t;
36
36
  }
37
37
  class O extends o {
@@ -41,10 +41,10 @@ class O extends o {
41
41
  * `false`: X-axis title is hidden.
42
42
  */
43
43
  get xAxisTitleVisibility() {
44
- return d(0, this._config);
44
+ return h(0, this._config);
45
45
  }
46
46
  set xAxisTitleVisibility(i) {
47
- h({
47
+ T({
48
48
  visibility: i,
49
49
  axisIndex: 0,
50
50
  config: this._config
@@ -54,10 +54,10 @@ class O extends o {
54
54
  M([
55
55
  a
56
56
  ], O.prototype, "xAxisTitleVisibility");
57
- function j(t) {
57
+ function F(t) {
58
58
  return t !== void 0 && "generateXAxisTitle" in t;
59
59
  }
60
- class w extends o {
60
+ class S extends o {
61
61
  /**
62
62
  * Generate the proper x-axis title from the current config.
63
63
  */
@@ -65,7 +65,7 @@ class w extends o {
65
65
  const i = this.layerInfo?.layerFieldsInfo;
66
66
  if (i === void 0)
67
67
  return "";
68
- if (T(this) || p(this))
68
+ if (d(this) || p(this))
69
69
  return l(i, this.xAxisField);
70
70
  if (u(this))
71
71
  return this.category !== A ? l(i, this.category) : "";
@@ -80,9 +80,9 @@ class w extends o {
80
80
  }
81
81
  export {
82
82
  m as W,
83
- j as a,
84
- S as b,
83
+ F as a,
84
+ D as b,
85
85
  O as c,
86
- w as d,
87
- F as i
86
+ S as d,
87
+ B as i
88
88
  };
@@ -2,16 +2,15 @@
2
2
  import { m as t } from "./model-setter.js";
3
3
  import { H as o } from "./common.js";
4
4
  import { S as u, g as _, a as S } from "./serial-chart-model.js";
5
- import { F as C, G as T, H as A, I as F, J as O, K as x, L, M as R, N as D, O as I, P as w, Q as v, R as b, S as B, T as P, U as k, V as E, X as N, Y as W, Z as Y, _ as H, $ as G, a0 as M, a1 as U, a2 as V, a3 as X, a4 as j, a5 as K, a6 as Z, a7 as z, a8 as m, a9 as y, aa as J, ab as Q, ac as $, ad as q, ae as ee, af as te, z as d, ag as ie, ah as se, ai as re, aj as oe, ak as ne, al as ae, am as ge, an as le } from "./serial-chart-data.js";
5
+ import { F as C, G as T, H as A, I as F, J as O, K as x, L, M as R, N as D, O as I, P as w, Q as v, R as b, S as B, T as P, U as k, V as E, X as N, Y as W, Z as Y, _ as H, $ as G, a0 as M, a1 as U, a2 as V, a3 as X, a4 as j, a5 as K, a6 as Z, a7 as z, a8 as y, a9 as d, aa as J, ab as Q, ac as $, ad as q, ae as ee, af as te, z as m, ag as ie, ah as se, ai as re, aj as oe, ak as ne, al as ae, am as ge, an as le } from "./serial-chart-data.js";
6
6
  import { d as f } from "./data.js";
7
7
  import { a as pe, d as p } from "./chart-object-literals.js";
8
- import { au as ce } from "./index3.js";
9
- import { t as h } from "./index.js";
10
- import { i as me } from "./index2.js";
11
- var ye = Object.defineProperty, de = Object.getOwnPropertyDescriptor, i = (l, e, r, a) => {
12
- for (var n = de(e, r), g = l.length - 1, c; g >= 0; g--)
8
+ import { au as ce } from "./index2.js";
9
+ import { u as h, O as ye } from "./index.js";
10
+ var de = Object.defineProperty, me = Object.getOwnPropertyDescriptor, i = (l, e, r, a) => {
11
+ for (var n = me(e, r), g = l.length - 1, c; g >= 0; g--)
13
12
  (c = l[g]) && (n = c(e, r, n) || n);
14
- return n && ye(e, r, n), n;
13
+ return n && de(e, r, n), n;
15
14
  };
16
15
  class s extends u {
17
16
  constructor() {
@@ -254,15 +253,15 @@ class s extends u {
254
253
  return e !== void 0 ? [e] : [];
255
254
  }
256
255
  set numericFields(e) {
257
- const { idField: r } = h(this.layerInfo.layer), a = me(e[0]), n = a ? r : e[0];
256
+ const { idField: r } = h(this.layerInfo.layer), a = ye(e[0]), n = a ? r : e[0];
258
257
  this._numericFields = [n], z({
259
258
  field: n,
260
259
  config: this._config,
261
260
  layerInfo: this.layerInfo,
262
261
  commonStrings: this.commonStrings
263
262
  });
264
- const g = m(this._config);
265
- a && g !== p.Count && (this._aggregationType = p.Count, y({
263
+ const g = y(this._config);
264
+ a && g !== p.Count && (this._aggregationType = p.Count, d({
266
265
  aggregationType: p.Count,
267
266
  config: this._config,
268
267
  layerInfo: this.layerInfo,
@@ -273,10 +272,10 @@ class s extends u {
273
272
  * The aggregation type for the heat chart.
274
273
  */
275
274
  get aggregationType() {
276
- return m(this._config);
275
+ return y(this._config);
277
276
  }
278
277
  set aggregationType(e) {
279
- this._aggregationType = e, y({
278
+ this._aggregationType = e, d({
280
279
  aggregationType: e,
281
280
  config: this._config,
282
281
  layerInfo: this.layerInfo,
@@ -361,7 +360,7 @@ class s extends u {
361
360
  * @returns {"Asc" | "Desc" | "customSort"}
362
361
  */
363
362
  getXAxisSortOrder() {
364
- const e = d(this._config)[0];
363
+ const e = m(this._config)[0];
365
364
  return e === o.Asc || e === o.Desc || e === o.customSort ? e : o.Asc;
366
365
  }
367
366
  setXAxisSortOrder(e, r) {
@@ -377,7 +376,7 @@ class s extends u {
377
376
  * @returns {"Asc" | "Desc" | "customSort"}
378
377
  */
379
378
  getYAxisSortOrder() {
380
- const e = d(this._config)[1];
379
+ const e = m(this._config)[1];
381
380
  return e === o.Asc || e === o.Desc || e === o.customSort ? e : o.Asc;
382
381
  }
383
382
  setYAxisSortOrder(e, r) {