@arcgis/charts-components 5.2.0-next.79 → 5.2.0-next.84

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 (235) hide show
  1. package/dist/cdn/2BA2QD2A.js +3 -0
  2. package/dist/cdn/{3EO4F26F.js → 2MF442VT.js} +1 -1
  3. package/dist/cdn/{52MUPDJX.js → 2YDNWOWT.js} +1 -1
  4. package/dist/cdn/{XUHTILLV.js → 3AYNHY7J.js} +1 -1
  5. package/dist/cdn/3H3PFQTD.js +2 -0
  6. package/dist/cdn/{SN4KBI42.js → 3KDTVBIG.js} +1 -1
  7. package/dist/cdn/{KBBPAMMT.js → 3SSQPYQA.js} +1 -1
  8. package/dist/cdn/{2GAKZXA7.js → 3YPGCLG4.js} +1 -1
  9. package/dist/cdn/{VMLRM5N5.js → 3ZKNY2GI.js} +1 -1
  10. package/dist/cdn/{JZFIYS3Q.js → 4KF7SUJE.js} +1 -1
  11. package/dist/cdn/{2ASLWSZG.js → 4U2HIMOR.js} +1 -1
  12. package/dist/cdn/{OILO7FSO.js → 52NR6B2J.js} +1 -1
  13. package/dist/cdn/{KOLRCFJY.js → 5DHMYPPF.js} +1 -1
  14. package/dist/cdn/5NGIGJYR.js +2 -0
  15. package/dist/cdn/62GSQDTE.js +2 -0
  16. package/dist/cdn/{IJWJOXQC.js → 6LV3ASGE.js} +1 -1
  17. package/dist/cdn/{UQQUQB2A.js → 6SQNRMJG.js} +1 -1
  18. package/dist/cdn/{O7LPETXX.js → 6WWEQU3O.js} +1 -1
  19. package/dist/cdn/{LJTJTGIW.js → 72KEQM4K.js} +1 -1
  20. package/dist/cdn/{Y3WKQVWR.js → 72VGCAR5.js} +1 -1
  21. package/dist/cdn/{DWGM7Z44.js → 7CZMR2WF.js} +1 -1
  22. package/dist/cdn/{JBDNBUXX.js → 7JA63ENU.js} +6 -6
  23. package/dist/cdn/{D3YWSIAT.js → 7P3FHJUU.js} +1 -1
  24. package/dist/cdn/{2AYYSMS5.js → 7SIKOCYK.js} +3 -3
  25. package/dist/cdn/{PBMWAGSX.js → 7ZAT46VE.js} +1 -1
  26. package/dist/cdn/{J6SZNFHT.js → ACMHG3RB.js} +1 -1
  27. package/dist/cdn/{EVXW4JIN.js → BV7UUWYI.js} +1 -1
  28. package/dist/cdn/{JILQHU4L.js → C5UI5MYS.js} +1 -1
  29. package/dist/cdn/{X7KNPTRQ.js → C7F4AVQU.js} +2 -2
  30. package/dist/cdn/{HVNUPBQA.js → CFOB77PI.js} +1 -1
  31. package/dist/cdn/{C5O4MQR2.js → CSOYZJU5.js} +1 -1
  32. package/dist/cdn/{4UZZHUBR.js → CVWT6DGY.js} +1 -1
  33. package/dist/cdn/{QK73NKPD.js → CXWBQG5O.js} +1 -1
  34. package/dist/cdn/{KBADZKOP.js → DE3CJJG3.js} +1 -1
  35. package/dist/cdn/{DB2GBCE3.js → DKC4NIUA.js} +1 -1
  36. package/dist/cdn/{3OW3AP7E.js → DW5NK2B3.js} +1 -1
  37. package/dist/cdn/{JMYWZDZT.js → DZWIVB6V.js} +1 -1
  38. package/dist/cdn/EMOHROY3.js +2 -0
  39. package/dist/cdn/{55MAADXE.js → EYYTKCXM.js} +1 -1
  40. package/dist/cdn/{HEVW64SC.js → EZLKMWI5.js} +1 -1
  41. package/dist/cdn/{PCAFQL35.js → F3LVXDV4.js} +1 -1
  42. package/dist/cdn/{CPTM5D3G.js → FBU4ODQE.js} +1 -1
  43. package/dist/cdn/{FWLBHMGZ.js → FQKGQHVK.js} +1 -1
  44. package/dist/cdn/{WIU4Z5RB.js → FRTPDJGW.js} +1 -1
  45. package/dist/cdn/{TS7M5QXS.js → G45UKTNI.js} +1 -1
  46. package/dist/cdn/{4B2OSQ56.js → GDGYKODO.js} +1 -1
  47. package/dist/cdn/{YWYUS2YB.js → GX64OP3A.js} +1 -1
  48. package/dist/cdn/{TVQYI2GA.js → GZEVPH4Y.js} +1 -1
  49. package/dist/cdn/{5UKSJH54.js → HDIBDW52.js} +1 -1
  50. package/dist/cdn/{SCBFWKS5.js → HOASAQAB.js} +1 -1
  51. package/dist/cdn/{FNTOEKMU.js → HQ2JPCTQ.js} +1 -1
  52. package/dist/cdn/{LYE5P3IM.js → I3BMYY7N.js} +1 -1
  53. package/dist/cdn/{BRQQTNPP.js → IN2IL6T2.js} +1 -1
  54. package/dist/cdn/IVM37XFX.js +2 -0
  55. package/dist/cdn/JMMNRCD4.js +2 -0
  56. package/dist/cdn/JQM5R6XW.js +2 -0
  57. package/dist/cdn/{6WE5NXCL.js → JUU3BZT7.js} +1 -1
  58. package/dist/cdn/{IC7XPCCD.js → KAQ5XSCQ.js} +1 -1
  59. package/dist/cdn/{ARBNJ22B.js → KG574LAE.js} +1 -1
  60. package/dist/cdn/{REUSRETW.js → KHJC5P5T.js} +1 -1
  61. package/dist/cdn/{RZHWMERW.js → KYOBS7XL.js} +1 -1
  62. package/dist/cdn/KZSCAJDG.js +2 -0
  63. package/dist/cdn/{IPEJCIHO.js → L4BZX57U.js} +1 -1
  64. package/dist/cdn/L5JZ5COY.js +2 -0
  65. package/dist/cdn/LCTDNI27.js +2 -0
  66. package/dist/cdn/{XGOJWQ2M.js → LM6VCILT.js} +1 -1
  67. package/dist/cdn/{L4E3VJVV.js → LMTSW3JM.js} +1 -1
  68. package/dist/cdn/{3U6ESLPG.js → LPS3VU35.js} +1 -1
  69. package/dist/cdn/{6IQK654E.js → M6OCFMDB.js} +1 -1
  70. package/dist/cdn/{N7C7MXPK.js → MITW5XKW.js} +1 -1
  71. package/dist/cdn/{RXIRNKPO.js → MJHVSD5B.js} +1 -1
  72. package/dist/cdn/{KS5BBSHY.js → MNYNXHXE.js} +1 -1
  73. package/dist/cdn/{4V4XGO3V.js → NH2A5QEU.js} +1 -1
  74. package/dist/cdn/NIDXK3GN.js +2 -0
  75. package/dist/cdn/{OTCRP3JF.js → OMORDJT2.js} +1 -1
  76. package/dist/cdn/{GRFUVWBR.js → OYXDCECZ.js} +1 -1
  77. package/dist/cdn/{DAFNQT4C.js → P3AYFJRV.js} +1 -1
  78. package/dist/cdn/{DNBUCAK5.js → PF6QOHZR.js} +1 -1
  79. package/dist/cdn/{TGP4YGPD.js → PMTNALXO.js} +1 -1
  80. package/dist/cdn/{K4APZJ2O.js → PWJBGZPW.js} +1 -1
  81. package/dist/cdn/{7MXV56XK.js → QIG7WTJF.js} +1 -1
  82. package/dist/cdn/{F4YJZZ3Z.js → QXQC4CH5.js} +1 -1
  83. package/dist/cdn/{KJZTU3DV.js → QYRHZJH3.js} +1 -1
  84. package/dist/cdn/{NIDK3VNZ.js → R5VDQBUH.js} +1 -1
  85. package/dist/cdn/{HHZOC34D.js → RCAPTQFV.js} +1 -1
  86. package/dist/cdn/{UROIIO5G.js → RPUEIRTH.js} +1 -1
  87. package/dist/cdn/S2HIF3ZX.js +2 -0
  88. package/dist/cdn/{6ILCVW7Y.js → SC26LLWP.js} +1 -1
  89. package/dist/cdn/{AGPCWGX5.js → SILDOKXS.js} +1 -1
  90. package/dist/cdn/{ZFVW3OFJ.js → TBW6K2TY.js} +1 -1
  91. package/dist/cdn/{JYC77MVD.js → TENIFMA5.js} +1 -1
  92. package/dist/cdn/{JQU6SHEI.js → TSU6UVTL.js} +1 -1
  93. package/dist/cdn/{TMGMKM5F.js → U3542JBJ.js} +1 -1
  94. package/dist/cdn/U7GQGHZY.js +2 -0
  95. package/dist/cdn/{ANIGKAAB.js → UYDDYD3O.js} +1 -1
  96. package/dist/cdn/{F7UO7P33.js → V3ITNIER.js} +1 -1
  97. package/dist/cdn/VQU2TVX7.js +3 -0
  98. package/dist/cdn/{OAGFPD22.js → VSPKBQS6.js} +1 -1
  99. package/dist/cdn/{XPWRCAVM.js → WC22SRVJ.js} +1 -1
  100. package/dist/cdn/{5TACWRME.js → XBRRJQVR.js} +1 -1
  101. package/dist/cdn/{AVJGLPDW.js → XFCDAI5T.js} +1 -1
  102. package/dist/cdn/{O3I5M2SH.js → XHZAAQMF.js} +1 -1
  103. package/dist/cdn/{DEEDTMN2.js → XU7TGV75.js} +1 -1
  104. package/dist/cdn/XVCBLLWW.js +2 -0
  105. package/dist/cdn/{EUTOQQ3S.js → YAWW63A5.js} +1 -1
  106. package/dist/cdn/ZDUW3TBJ.js +2 -0
  107. package/dist/cdn/{4XM7Q33B.js → ZGIM53IQ.js} +1 -1
  108. package/dist/cdn/index.js +1 -1
  109. package/dist/cdn/model/shared/setup-utils.js +1 -1
  110. package/dist/chunks/action-bar-utils.js +17 -17
  111. package/dist/chunks/axis-lines-symbol.js +1 -1
  112. package/dist/chunks/bar-chart-model.js +11 -11
  113. package/dist/chunks/box-plot-data.js +73 -73
  114. package/dist/chunks/box-plot-model.js +8 -8
  115. package/dist/chunks/chart-model.js +33 -33
  116. package/dist/chunks/chart-object-literals.js +24 -24
  117. package/dist/chunks/chart-ui-utils.js +149 -68
  118. package/dist/chunks/chart-ui-utils2.js +68 -149
  119. package/dist/chunks/class-breaks.js +14 -14
  120. package/dist/chunks/combo-bar-line-chart-model.js +35 -35
  121. package/dist/chunks/data-labels-symbol.js +1 -1
  122. package/dist/chunks/data-labels-visibility.js +30 -30
  123. package/dist/chunks/data.js +40 -40
  124. package/dist/chunks/default.js +6 -6
  125. package/dist/chunks/gauge-model.js +58 -58
  126. package/dist/chunks/generate-x-axis-title.js +22 -22
  127. package/dist/chunks/heat-chart-model.js +11 -11
  128. package/dist/chunks/histogram-data.js +21 -21
  129. package/dist/chunks/histogram-model.js +12 -12
  130. package/dist/chunks/index.js +9364 -1103
  131. package/dist/chunks/index2.js +836 -9337
  132. package/dist/chunks/index3.js +1166 -865
  133. package/dist/chunks/index4.js +8 -8
  134. package/dist/chunks/index5.js +5 -5
  135. package/dist/chunks/interfaces.js +9 -9
  136. package/dist/chunks/line-chart-model.js +9 -9
  137. package/dist/chunks/model-setter.js +3 -3
  138. package/dist/chunks/model-types.js +1 -1
  139. package/dist/chunks/model-with-y-guides.js +13 -13
  140. package/dist/chunks/negative-values-stacked-to-baseline.js +7 -7
  141. package/dist/chunks/pie-chart-data.js +10 -10
  142. package/dist/chunks/pie-chart-model.js +35 -35
  143. package/dist/chunks/radar-chart-model.js +14 -14
  144. package/dist/chunks/resource.js +5 -5
  145. package/dist/chunks/rest-js-object-literals.js +10 -10
  146. package/dist/chunks/rotated-state.js +1 -1
  147. package/dist/chunks/rounded-corners.js +7 -7
  148. package/dist/chunks/scatterplot-model.js +11 -11
  149. package/dist/chunks/serial-chart-data.js +165 -165
  150. package/dist/chunks/serial-chart-model.js +14 -14
  151. package/dist/chunks/series-length.js +17 -17
  152. package/dist/chunks/series-types.js +1 -1
  153. package/dist/chunks/series.js +1 -1
  154. package/dist/chunks/type-guards.js +7 -7
  155. package/dist/chunks/type-guards2.js +25 -25
  156. package/dist/chunks/utils.js +23 -23
  157. package/dist/chunks/utils2.js +9 -9
  158. package/dist/chunks/web-component-utils.js +63 -63
  159. package/dist/chunks/x-bounds.js +28 -28
  160. package/dist/components/arcgis-chart/customElement.d.ts +1 -1
  161. package/dist/components/arcgis-chart/customElement.js +11 -11
  162. package/dist/components/arcgis-charts-action-bar/customElement.js +6 -6
  163. package/dist/components/arcgis-charts-config-axis/customElement.js +2 -2
  164. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +11 -18
  165. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +17 -17
  166. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +16 -16
  167. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +4 -4
  168. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +4 -4
  169. package/dist/components/arcgis-charts-config-box-plot/customElement.js +29 -36
  170. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +10 -10
  171. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +5 -5
  172. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +3 -3
  173. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +7 -7
  174. package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
  175. package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +1 -1
  176. package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
  177. package/dist/components/arcgis-charts-config-create-flow/customElement.js +21 -21
  178. package/dist/components/arcgis-charts-config-font-style/customElement.js +3 -3
  179. package/dist/components/arcgis-charts-config-format/customElement.js +17 -17
  180. package/dist/components/arcgis-charts-config-format-popover/customElement.js +1 -1
  181. package/dist/components/arcgis-charts-config-general/customElement.js +3 -3
  182. package/dist/components/arcgis-charts-config-guide/customElement.js +14 -14
  183. package/dist/components/arcgis-charts-config-guide-popover/customElement.js +1 -1
  184. package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
  185. package/dist/components/arcgis-charts-config-heat-chart/customElement.js +1 -1
  186. package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +19 -19
  187. package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +31 -31
  188. package/dist/components/arcgis-charts-config-histogram/customElement.js +9 -9
  189. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +14 -14
  190. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +10 -10
  191. package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
  192. package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
  193. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +9 -9
  194. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +22 -22
  195. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +2 -2
  196. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +3 -3
  197. package/dist/components/arcgis-charts-config-line-style/customElement.js +2 -2
  198. package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
  199. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +2 -2
  200. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +3 -3
  201. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +11 -11
  202. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +3 -3
  203. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +1 -1
  204. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +7 -7
  205. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +7 -7
  206. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +5 -5
  207. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +1 -1
  208. package/dist/components/arcgis-charts-config-view-charts/customElement.js +2 -2
  209. package/dist/components/arcgis-charts-info-modal/customElement.js +2 -2
  210. package/dist/docs/api.json +1 -1
  211. package/dist/docs/docs.json +1 -1
  212. package/dist/docs/web-types.json +1 -1
  213. package/dist/index.js +175 -175
  214. package/dist/utils/chart-config/converter/index.js +36 -36
  215. package/dist/utils/defaults/index.d.ts +15 -2
  216. package/dist/utils/defaults/interfaces.d.ts +66 -8
  217. package/package.json +5 -5
  218. package/dist/cdn/37TEXJ7K.js +0 -2
  219. package/dist/cdn/4DPFB567.js +0 -3
  220. package/dist/cdn/FDXSZJWC.js +0 -2
  221. package/dist/cdn/HXSSY2BO.js +0 -2
  222. package/dist/cdn/IAMJ6CBO.js +0 -3
  223. package/dist/cdn/IONJLIQQ.js +0 -2
  224. package/dist/cdn/JKT2UC2C.js +0 -2
  225. package/dist/cdn/JZVACQMQ.js +0 -2
  226. package/dist/cdn/N6FMZQZN.js +0 -2
  227. package/dist/cdn/PCHCBNEX.js +0 -2
  228. package/dist/cdn/QPTQD3ZH.js +0 -2
  229. package/dist/cdn/RPQJ6RNZ.js +0 -2
  230. package/dist/cdn/U43J5GMJ.js +0 -2
  231. package/dist/cdn/UEUCI74S.js +0 -2
  232. package/dist/cdn/WFNHDRCX.js +0 -2
  233. package/dist/cdn/WVIP7B4W.js +0 -2
  234. package/dist/cdn/ZAGOBG3W.js +0 -2
  235. /package/dist/cdn/{7SBVBD4E.js → KWN3N6VE.js} +0 -0
@@ -1,172 +1,91 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import { F as o, W as f } from "./interfaces.js";
3
- import { i as b } from "./utils.js";
4
- import { g as u } from "./rest-js-object-literals.js";
5
- import { r, d as m } from "./chart-object-literals.js";
6
- import { a2 as g, k as p } from "./index2.js";
7
- import { x as d } from "./index3.js";
8
- import { F as n } from "./common.js";
9
- const F = {
10
- DebounceTimer: 400,
11
- SliderTimer: 100,
12
- PopoverTimer: 60,
13
- customSortLimit: 100
14
- }, S = {
15
- style: "decimal",
16
- minimumFractionDigits: 0,
17
- maximumFractionDigits: 3
18
- }, v = [
19
- r.Count,
20
- r.Sum,
21
- r.Average,
22
- r.ContinuousPercentile,
23
- r.Minimum,
24
- r.Maximum,
25
- r.NoAggregation
26
- ], I = [r.Count, r.Sum];
27
- function C(e) {
28
- let t;
29
- switch (e) {
30
- case n.Title:
31
- case n.XAxisTitle:
32
- case n.YAxisTitle:
33
- case n.LegendTitle: {
34
- t = o.Title;
2
+ import { g as o } from "./series-types.js";
3
+ import { g as h } from "./runtime.js";
4
+ import { fetchT9nStringsBundle as n } from "@arcgis/toolkit/intl";
5
+ import { getElementLocale as m } from "@arcgis/toolkit/intl/dom";
6
+ import { a as e } from "./chart-object-literals.js";
7
+ import { i as p } from "./utils.js";
8
+ function k(s) {
9
+ const c = o(s.series);
10
+ let r = "graph-bar";
11
+ switch (c) {
12
+ case e.LineSeries: {
13
+ r = "graph-time-series";
35
14
  break;
36
15
  }
37
- case n.Description:
38
- case n.LegendText: {
39
- t = o.Text;
16
+ case e.PieSeries: {
17
+ r = "pie-chart";
40
18
  break;
41
19
  }
42
- case n.AxisLabels:
43
- case n.GuideLabels:
44
- case n.DataLabels: {
45
- t = o.Label;
20
+ case e.HistogramSeries: {
21
+ r = "graph-histogram";
46
22
  break;
47
23
  }
48
- case n.Background:
49
- case n.LeaderLines:
50
- case n.AxisLines:
51
- case n.GridLines: {
52
- t = o.Palette;
24
+ case e.ScatterSeries: {
25
+ r = "graph-scatter-plot";
53
26
  break;
54
27
  }
28
+ case e.BoxPlotSeries: {
29
+ r = "box-chart";
30
+ break;
31
+ }
32
+ case e.HeatSeries: {
33
+ r = "calendar-heat-chart";
34
+ break;
35
+ }
36
+ case e.BarSeries:
55
37
  }
56
- return t;
57
- }
58
- function x(e, t, a) {
59
- let i = !1;
60
- const s = typeof e == "string" ? Number.parseFloat(e) : e, c = typeof t == "string" ? Number.parseFloat(t) : t, l = typeof a == "string" ? Number.parseFloat(a) : a;
61
- return Number.isNaN(s) || (i = (c === void 0 || Number.isNaN(c) || s >= c) && (l === void 0 || Number.isNaN(l) || s <= l)), i;
62
- }
63
- function A(e, t) {
64
- let a;
65
- if (e !== null) {
66
- const i = typeof e == "string" ? Number.parseFloat(e) : e;
67
- d(i) ? a = i : d(t) && (a = t);
68
- }
69
- return a === void 0 ? "" : `${a}`;
38
+ return r;
70
39
  }
71
- function E(e) {
72
- const { inputElement: t, status: a } = e;
73
- t.status = a;
40
+ async function C(s, c) {
41
+ const r = await n(
42
+ m(document.documentElement).t9nLocale,
43
+ h("./assets/common/t9n"),
44
+ "messages."
45
+ );
46
+ return g({
47
+ chartType: s,
48
+ commonStrings: r,
49
+ config: c
50
+ });
74
51
  }
75
- const O = {
76
- IDLE: "idle",
77
- INVALID: "invalid"
78
- };
79
- function V(e, t) {
52
+ function g(s) {
53
+ const { chartType: c, commonStrings: r, config: i } = s, t = r.utilsStrings;
80
54
  let a = "";
81
- if (e !== void 0 && !Number.isNaN(e)) {
82
- const i = g(document.documentElement);
83
- a = Intl.NumberFormat(i, t).format(e);
84
- }
85
- return a;
86
- }
87
- function B(e, t) {
88
- let a = !1;
89
- if (t !== void 0) {
90
- const i = typeof t == "string" ? t.trim() : t, s = e.trim();
91
- typeof t == "string" ? a = i === s || i === p && s === "" : a = i.includes(s);
92
- }
93
- return a;
94
- }
95
- function M(e) {
96
- let t;
97
- switch (e) {
98
- case "trailing":
99
- t = -200;
55
+ switch (c) {
56
+ case e.HistogramSeries: {
57
+ a = t.chartType.histogram;
100
58
  break;
101
- case "leading":
102
- t = 20;
59
+ }
60
+ case e.ScatterSeries: {
61
+ a = t.chartType.scatterplot;
103
62
  break;
104
- default:
105
- t = 0;
63
+ }
64
+ case e.BarSeries: {
65
+ a = t.chartType.barChart;
106
66
  break;
107
- }
108
- return t;
109
- }
110
- function U(e) {
111
- return e === void 0 || Number.isNaN(e.r) || Number.isNaN(e.g) || Number.isNaN(e.b) ? null : e;
112
- }
113
- const W = (e) => {
114
- ["e", "E"].includes(e.key) && e.preventDefault();
115
- }, P = (e) => {
116
- if (e.pickListElement !== void 0) {
117
- const t = e.pickListElement.selectedItems;
118
- e.eventEmitter.emit({
119
- contentKind: e.contentKind,
120
- value: t.map((a) => a.value)
121
- });
122
- }
123
- };
124
- function w(e) {
125
- let t = "solid";
126
- switch (e) {
127
- case u.Dash:
128
- t = "dashed";
67
+ }
68
+ case e.LineSeries: {
69
+ a = t.chartType.lineChart;
129
70
  break;
130
- case u.Dot:
131
- t = "dotted";
71
+ }
72
+ case e.PieSeries: {
73
+ a = t.chartType.pieChart;
132
74
  break;
133
- case u.Solid:
134
- default:
135
- t = "solid";
75
+ }
76
+ case e.BoxPlotSeries: {
77
+ a = t.chartType.boxPlot;
136
78
  break;
79
+ }
80
+ case e.HeatSeries: {
81
+ i ? a = p(i) ? t.chartType.matrixHeatChart : t.chartType.calendarHeatChart : a = t.chartType.heatChart;
82
+ break;
83
+ }
137
84
  }
138
- return t;
139
- }
140
- function H(e, t) {
141
- const a = document.createElement("a");
142
- a.style.display = "none", a.download = t, a.setAttribute("href", e), a.click(), a.remove(), URL.revokeObjectURL(e);
143
- }
144
- function K(e) {
145
- return e != null && (e.style.removeProperty("opacity"), e.remove()), null;
146
- }
147
- function Y(e) {
148
- const t = !b(e?.config), a = e.xTemporalBinning?.unit, i = e.yTemporalBinning?.unit;
149
- let s;
150
- return t && a !== void 0 && i !== void 0 && (a === m.HourOfDay && i === m.DayOfWeek ? s = f.WeekByDayOfWeekAndHourOfDay : a === m.DayOfMonth && i === m.MonthOfYear && (s = f.YearByMonthAndDayOfMonth)), s;
85
+ return a;
151
86
  }
152
87
  export {
153
- S as D,
154
- O as U,
155
- K as a,
156
- F as b,
157
- v as c,
158
- H as d,
159
- B as e,
160
- P as f,
161
- U as g,
162
- C as h,
163
- x as i,
164
- w as j,
165
- W as k,
166
- Y as l,
167
- E as m,
168
- V as n,
169
- M as o,
170
- I as p,
171
- A as s
88
+ k as a,
89
+ C as f,
90
+ g
172
91
  };
@@ -1,13 +1,13 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
2
  import W from "@arcgis/core/Color.js";
3
3
  import { createClassBreaksRenderer as q } from "@arcgis/core/smartMapping/renderers/color.js";
4
- import { a3 as G, cm as _ } from "./index2.js";
4
+ import { c9 as G, ca as _ } from "./index.js";
5
5
  import { cloneDeep as J, memoize as Y, isEqual as T, sortBy as Q, flatMap as U } from "lodash-es";
6
6
  import { getSchemes as X } from "@arcgis/core/smartMapping/symbology/color.js";
7
- import { k as L } from "./index.js";
8
- import { i as k, f as b, g as C, R as F } from "./rest-js-object-literals.js";
7
+ import { i as L } from "./index3.js";
8
+ import { b as k, a as b, R as C, d as F } from "./rest-js-object-literals.js";
9
9
  import * as Z from "@arcgis/core/smartMapping/symbology/support/colorRamps.js";
10
- import { u as ee } from "./chart-object-literals.js";
10
+ import { a as ee } from "./chart-object-literals.js";
11
11
  function z(e) {
12
12
  let o;
13
13
  switch (e.length) {
@@ -491,16 +491,16 @@ function Be({
491
491
  }
492
492
  export {
493
493
  xe as C,
494
- se as a,
495
- oe as b,
496
- te as c,
497
- Be as d,
498
- P as e,
499
- K as f,
494
+ Be as a,
495
+ De as b,
496
+ P as c,
497
+ ve as d,
498
+ K as e,
499
+ te as f,
500
500
  Ne as g,
501
- Me as h,
502
- $e as i,
503
- De as j,
504
- ve as k,
501
+ se as h,
502
+ Me as i,
503
+ oe as j,
504
+ $e as k,
505
505
  Ie as p
506
506
  };
@@ -1,30 +1,30 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
2
  import { g as b, s as p, a as _, b as L, W as u } from "./rounded-corners.js";
3
3
  import { m as a } from "./model-setter.js";
4
- import { g as k, a as C, e as M, b as v, f as z, s as O, h as B, c as V, i as A, d as D, j as F, k as H, n as W, o as d, p as j, q as w, r as P, W as T } from "./negative-values-stacked-to-baseline.js";
5
- import { S as N, s as q } from "./serial-chart-model.js";
6
- import { f as R } from "./utils.js";
7
- import { u as S } from "./chart-object-literals.js";
8
- import { bu as $, ap as f, bt as n, bd as h } from "./index2.js";
9
- import { z as E, A as y, $ as m } from "./index.js";
10
- var G = Object.defineProperty, J = Object.getOwnPropertyDescriptor, l = (c, e, i, s) => {
11
- for (var t = J(e, i), r = c.length - 1, g; r >= 0; r--)
4
+ import { g as k, a as C, e as M, b as v, f as z, s as O, h as B, c as V, i as D, d as A, j as F, k as H, n as W, o as d, p as j, q as w, r as P, W as T } from "./negative-values-stacked-to-baseline.js";
5
+ import { S as N, s as $ } from "./serial-chart-model.js";
6
+ import { f as q } from "./utils.js";
7
+ import { a as S } from "./chart-object-literals.js";
8
+ import { b$ as R, r as f, c1 as l, b_ as h } from "./index.js";
9
+ import { an as Y, $ as y, Y as m } from "./index3.js";
10
+ var E = Object.defineProperty, G = Object.getOwnPropertyDescriptor, n = (c, e, i, s) => {
11
+ for (var t = G(e, i), r = c.length - 1, g; r >= 0; r--)
12
12
  (g = c[r]) && (t = g(e, i, t) || t);
13
- return t && G(e, i, t), t;
13
+ return t && E(e, i, t), t;
14
14
  };
15
15
  class o extends N {
16
16
  constructor() {
17
17
  super(...arguments), this._chartType = S.ComboLineAndBarSeries;
18
18
  }
19
19
  async setup(e) {
20
- await this.loadConfigFromLayer(e), this.setupLocalProps(), e.config !== void 0 && ($(e.config?.series) && this.initDefaultSeries(), await this.rebuildSeries()), typeof this.resolveSetup == "function" && this.resolveSetup();
20
+ await this.loadConfigFromLayer(e), this.setupLocalProps(), e.config !== void 0 && (R(e.config?.series) && this.initDefaultSeries(), await this.rebuildSeries()), typeof this.resolveSetup == "function" && this.resolveSetup();
21
21
  }
22
22
  // ---------------------------------------------------------------------------------------------
23
23
  // Protected Methods
24
24
  // ---------------------------------------------------------------------------------------------
25
25
  /** @private */
26
26
  generateDefaultConfig() {
27
- const e = E(this.commonStrings);
27
+ const e = Y(this.commonStrings);
28
28
  return e.series = [
29
29
  y({
30
30
  commonStrings: this.commonStrings,
@@ -47,7 +47,7 @@ class o extends N {
47
47
  if (e < this._config.series.length && e >= 0) {
48
48
  const s = this._config.series[e];
49
49
  let t;
50
- if (i === S.BarSeries && n(s)) {
50
+ if (i === S.BarSeries && l(s)) {
51
51
  const r = { ...s };
52
52
  delete r.lineSymbol, delete r.markerSymbol, delete r.lineSmoothed, delete r.markerVisible, delete r.areaColor, delete r.stackNegativeValuesToBaseline, t = {
53
53
  ...y({
@@ -89,7 +89,7 @@ class o extends N {
89
89
  }
90
90
  setSeriesLineStyle(e, i) {
91
91
  const s = this._config.series?.[i];
92
- n(s) && C(e, i, this._config);
92
+ l(s) && C(e, i, this._config);
93
93
  }
94
94
  /**
95
95
  * Gets the line width of the series based on the series index.
@@ -102,7 +102,7 @@ class o extends N {
102
102
  }
103
103
  setSeriesLineWidth(e, i) {
104
104
  const s = this._config.series?.[i];
105
- n(s) && v(e, i, this._config);
105
+ l(s) && v(e, i, this._config);
106
106
  }
107
107
  /**
108
108
  * Gets the marker color of the series based on the series index.
@@ -115,7 +115,7 @@ class o extends N {
115
115
  }
116
116
  setSeriesMarkerColor(e, i) {
117
117
  const s = this._config.series?.[i];
118
- n(s) && O(e, i, this._config);
118
+ l(s) && O(e, i, this._config);
119
119
  }
120
120
  /**
121
121
  * Gets the marker style of the series based on the series index.
@@ -128,7 +128,7 @@ class o extends N {
128
128
  }
129
129
  setSeriesMarkerStyle(e, i) {
130
130
  const s = this._config.series?.[i];
131
- n(s) && V(e, i, this._config);
131
+ l(s) && V(e, i, this._config);
132
132
  }
133
133
  /**
134
134
  * Gets the marker size of the series based on the series index.
@@ -136,11 +136,11 @@ class o extends N {
136
136
  * @param seriesIndex - The index of the series.
137
137
  */
138
138
  getSeriesMarkerSize(e) {
139
- return A(e, this._config);
139
+ return D(e, this._config);
140
140
  }
141
141
  setSeriesMarkerSize(e, i) {
142
142
  const s = this._config.series?.[i];
143
- n(s) && D(e, i, this._config);
143
+ l(s) && A(e, i, this._config);
144
144
  }
145
145
  /**
146
146
  * Specify whether line segments of the series should be smoothed.
@@ -152,7 +152,7 @@ class o extends N {
152
152
  }
153
153
  setLineSmoothed(e, i) {
154
154
  const s = this._config.series?.[i];
155
- n(s) && H({
155
+ l(s) && H({
156
156
  smoothed: e,
157
157
  seriesIndex: i,
158
158
  config: this._config
@@ -210,11 +210,11 @@ class o extends N {
210
210
  }
211
211
  setAreaColor(e, i) {
212
212
  const s = this._config.series?.[i];
213
- n(s) && (d({
213
+ l(s) && (d({
214
214
  visible: !0,
215
215
  seriesIndex: i,
216
216
  config: this._config
217
- }), q(e, i, this._config));
217
+ }), $(e, i, this._config));
218
218
  }
219
219
  /**
220
220
  * Gets whether to hide oversized data labels of the side-by-side series based on the series index.
@@ -244,44 +244,44 @@ class o extends N {
244
244
  h(s) && L(e, i, this._config);
245
245
  }
246
246
  }
247
- l([
247
+ n([
248
248
  a
249
249
  ], o.prototype, "setSeriesType");
250
- l([
250
+ n([
251
251
  a
252
252
  ], o.prototype, "setSeriesLineStyle");
253
- l([
253
+ n([
254
254
  a
255
255
  ], o.prototype, "setSeriesLineWidth");
256
- l([
256
+ n([
257
257
  a
258
258
  ], o.prototype, "setSeriesMarkerColor");
259
- l([
259
+ n([
260
260
  a
261
261
  ], o.prototype, "setSeriesMarkerStyle");
262
- l([
262
+ n([
263
263
  a
264
264
  ], o.prototype, "setSeriesMarkerSize");
265
- l([
265
+ n([
266
266
  a
267
267
  ], o.prototype, "setLineSmoothed");
268
- l([
268
+ n([
269
269
  a
270
270
  ], o.prototype, "setAreaVisible");
271
- l([
271
+ n([
272
272
  a
273
273
  ], o.prototype, "setMarkersVisible");
274
- l([
274
+ n([
275
275
  a
276
276
  ], o.prototype, "setAreaColor");
277
- l([
277
+ n([
278
278
  a
279
279
  ], o.prototype, "setSeriesHideOversizedSideBySideLabels");
280
- l([
280
+ n([
281
281
  a
282
282
  ], o.prototype, "setSeriesHideOversizedStackedLabels");
283
- const K = [T, u];
284
- R(o, K);
283
+ const J = [T, u];
284
+ q(o, J);
285
285
  export {
286
286
  o as ComboBarLineChartModel
287
287
  };
@@ -1,7 +1,7 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
2
  import { cloneDeep as m } from "lodash-es";
3
3
  import { C as L, m as d } from "./model-setter.js";
4
- import { H as p, T as l, M as v } from "./index.js";
4
+ import { a3 as p, a5 as l, a4 as v } from "./index3.js";
5
5
  var y = Object.defineProperty, u = Object.getOwnPropertyDescriptor, f = (e, t, a, r) => {
6
6
  for (var s = u(t, a), o = e.length - 1, i; o >= 0; o--)
7
7
  (i = e[o]) && (s = i(t, a, s) || s);
@@ -1,21 +1,21 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import { C as h } from "./chart-model.js";
3
- import { k as y } from "./chart-object-literals.js";
4
- import { X as d, H as b, T as r, M as v } from "./index.js";
5
- import { m as o, C as f } from "./model-setter.js";
2
+ import { C as f } from "./chart-model.js";
3
+ import { f as y } from "./chart-object-literals.js";
4
+ import { a6 as d, a3 as b, a5 as r, a4 as v } from "./index3.js";
5
+ import { m as o, C as h } from "./model-setter.js";
6
6
  const L = (t) => {
7
7
  let e = !1;
8
8
  return t.legend !== void 0 && (e = t.legend.visible ?? !0), e;
9
9
  }, u = (t, e) => {
10
10
  e.legend === void 0 && (e.legend = d()), e.legend.visible = t;
11
- }, x = (t) => t.legend?.title?.content, M = (t, e) => {
11
+ }, x = (t) => t.legend?.title?.content, D = (t, e) => {
12
12
  e.legend === void 0 && (e.legend = d()), (e.legend.title === void 0 || t === void 0) && (e.legend.title = b({
13
13
  text: "",
14
14
  visible: !0,
15
15
  font: v(r.LegendTitle),
16
16
  type: r.LegendTitle
17
17
  })), t !== void 0 && (e.legend.title.content = t);
18
- }, D = (t) => t.legend?.body, V = (t, e) => {
18
+ }, M = (t) => t.legend?.body, V = (t, e) => {
19
19
  e.legend === void 0 && (e.legend = d()), e.legend.body = t ?? b({
20
20
  text: "",
21
21
  visible: !0,
@@ -65,7 +65,7 @@ var H = Object.defineProperty, W = Object.getOwnPropertyDescriptor, a = (t, e, i
65
65
  (n = t[s]) && (l = n(e, i, l) || l);
66
66
  return l && H(e, i, l), l;
67
67
  };
68
- class g extends h {
68
+ class g extends f {
69
69
  // ---------------------------------------------------------------------------------------------
70
70
  // Data Props
71
71
  // ---------------------------------------------------------------------------------------------
@@ -118,13 +118,13 @@ class g extends h {
118
118
  return x(this._config);
119
119
  }
120
120
  set legendTitleSymbol(e) {
121
- M(e, this._config);
121
+ D(e, this._config);
122
122
  }
123
123
  /**
124
124
  * Legend item text symbol (font, color, style).
125
125
  */
126
126
  get legendTextSymbol() {
127
- return D(this._config);
127
+ return M(this._config);
128
128
  }
129
129
  set legendTextSymbol(e) {
130
130
  V(e, this._config);
@@ -172,7 +172,7 @@ a([
172
172
  a([
173
173
  o
174
174
  ], g.prototype, "legendRoundMarker");
175
- const k = (t, e) => t.series?.[e ?? 0]?.dataTooltipVisible ?? !0, E = (t, e, i) => {
175
+ const E = (t, e) => t.series?.[e ?? 0]?.dataTooltipVisible ?? !0, k = (t, e, i) => {
176
176
  i && t.series?.[i] ? t.series[i].dataTooltipVisible = e : t.series && t.series.forEach((p) => {
177
177
  p.dataTooltipVisible = e;
178
178
  });
@@ -181,12 +181,12 @@ const k = (t, e) => t.series?.[e ?? 0]?.dataTooltipVisible ?? !0, E = (t, e, i)
181
181
  p.dataTooltipReverseColor = e;
182
182
  });
183
183
  };
184
- var X = Object.defineProperty, q = Object.getOwnPropertyDescriptor, T = (t, e, i, p) => {
185
- for (var l = q(e, i), s = t.length - 1, n; s >= 0; s--)
184
+ var q = Object.defineProperty, z = Object.getOwnPropertyDescriptor, T = (t, e, i, p) => {
185
+ for (var l = z(e, i), s = t.length - 1, n; s >= 0; s--)
186
186
  (n = t[s]) && (l = n(e, i, l) || l);
187
- return l && X(e, i, l), l;
187
+ return l && q(e, i, l), l;
188
188
  };
189
- class _ extends h {
189
+ class _ extends f {
190
190
  /**
191
191
  * Gets the visibility of the data tooltips.
192
192
  * - If the `seriesIndex` is provided, the visibility for that series will be returned. Otherwise, the visibility of the first series will be returned.
@@ -195,10 +195,10 @@ class _ extends h {
195
195
  * @param seriesIndex - The index of the series.
196
196
  */
197
197
  getDataTooltipVisibility(e) {
198
- return k(this._config, e);
198
+ return E(this._config, e);
199
199
  }
200
200
  setDataTooltipVisibility(e, i) {
201
- E(this._config, e, i);
201
+ k(this._config, e, i);
202
202
  }
203
203
  /**
204
204
  * Gets the setting of the `dataTooltipReverseColor` property.
@@ -220,15 +220,15 @@ T([
220
220
  T([
221
221
  o
222
222
  ], _.prototype, "setDataTooltipReverseColor");
223
- var z = Object.defineProperty, A = Object.getOwnPropertyDescriptor, G = (t, e, i, p) => {
224
- for (var l = A(e, i), s = t.length - 1, n; s >= 0; s--)
223
+ var A = Object.defineProperty, G = Object.getOwnPropertyDescriptor, J = (t, e, i, p) => {
224
+ for (var l = G(e, i), s = t.length - 1, n; s >= 0; s--)
225
225
  (n = t[s]) && (l = n(e, i, l) || l);
226
- return l && z(e, i, l), l;
226
+ return l && A(e, i, l), l;
227
227
  };
228
- const J = (t) => t.colorMatch ?? !0, K = (t, e) => {
228
+ const K = (t) => t.colorMatch ?? !0, N = (t, e) => {
229
229
  e.colorMatch = t;
230
230
  };
231
- class N extends f {
231
+ class Q extends h {
232
232
  /**
233
233
  * Whether the chart should attempt to match the data source's colors.
234
234
  *
@@ -236,19 +236,19 @@ class N extends f {
236
236
  * `false`: Use the colors defined in the config.
237
237
  */
238
238
  get colorMatch() {
239
- return J(this._config);
239
+ return K(this._config);
240
240
  }
241
241
  set colorMatch(e) {
242
- K(e, this._config);
242
+ N(e, this._config);
243
243
  }
244
244
  }
245
- G([
245
+ J([
246
246
  o
247
- ], N.prototype, "colorMatch");
248
- var Q = Object.defineProperty, U = Object.getOwnPropertyDescriptor, Y = (t, e, i, p) => {
249
- for (var l = U(e, i), s = t.length - 1, n; s >= 0; s--)
247
+ ], Q.prototype, "colorMatch");
248
+ var U = Object.defineProperty, X = Object.getOwnPropertyDescriptor, Y = (t, e, i, p) => {
249
+ for (var l = X(e, i), s = t.length - 1, n; s >= 0; s--)
250
250
  (n = t[s]) && (l = n(e, i, l) || l);
251
- return l && Q(e, i, l), l;
251
+ return l && U(e, i, l), l;
252
252
  };
253
253
  const Z = (t) => t.series[0]?.dataLabels?.visible ?? !1, I = (t, e) => {
254
254
  e.series.forEach((i) => {
@@ -260,7 +260,7 @@ const Z = (t) => t.series[0]?.dataLabels?.visible ?? !1, I = (t, e) => {
260
260
  });
261
261
  });
262
262
  };
263
- class ee extends f {
263
+ class ee extends h {
264
264
  /**
265
265
  * Whether data labels are visible.
266
266
  */
@@ -276,7 +276,7 @@ Y([
276
276
  ], ee.prototype, "dataLabelsVisibility");
277
277
  export {
278
278
  g as M,
279
- N as W,
279
+ Q as W,
280
280
  _ as a,
281
281
  ee as b
282
282
  };