@arcgis/charts-components 5.2.0-next.31 → 5.2.0-next.33

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 (184) hide show
  1. package/dist/cdn/{WU62O2AU.js → 2CVA3SGN.js} +1 -1
  2. package/dist/cdn/35HUQECK.js +3 -0
  3. package/dist/cdn/{NKVZYKL5.js → 3EA7ST6X.js} +1 -1
  4. package/dist/cdn/{Y6CFEFZM.js → 3S7YCMP7.js} +1 -1
  5. package/dist/cdn/{DRFJC64L.js → 3X6QTGFF.js} +1 -1
  6. package/dist/cdn/{3MKY6UCO.js → 4ARHEXVJ.js} +1 -1
  7. package/dist/cdn/{PKQOLKTW.js → 4DEDSWYV.js} +1 -1
  8. package/dist/cdn/{Z43DVT6G.js → 4JKNHY7O.js} +1 -1
  9. package/dist/cdn/{MBPFBE3E.js → 4Q6TQOL5.js} +1 -1
  10. package/dist/cdn/{AZR6HVRW.js → 4XEJP6PY.js} +1 -1
  11. package/dist/cdn/{IWMWJN7M.js → 5JUMTA26.js} +1 -1
  12. package/dist/cdn/{RKG6CXUU.js → 5ZX5DKDK.js} +1 -1
  13. package/dist/cdn/{4TRUG37X.js → 6GARCIVS.js} +1 -1
  14. package/dist/cdn/{XRLVJJBT.js → 6LH7Y7PU.js} +1 -1
  15. package/dist/cdn/{6OCDFMFB.js → 7CSXC5DN.js} +1 -1
  16. package/dist/cdn/{O5NKLK7V.js → 7QIR4BM4.js} +1 -1
  17. package/dist/cdn/7YOJVEYS.js +2 -0
  18. package/dist/cdn/{3NKDMMC2.js → B6N4OMNY.js} +1 -1
  19. package/dist/cdn/{2SPGX6AF.js → BDWJKXSF.js} +1 -1
  20. package/dist/cdn/BGOWDCTO.js +2 -0
  21. package/dist/cdn/{ADYDCO3M.js → BYZU546L.js} +1 -1
  22. package/dist/cdn/{YFHB2EFH.js → CALA7HKD.js} +1 -1
  23. package/dist/cdn/{SSKHF7PO.js → DGJLXGIE.js} +1 -1
  24. package/dist/cdn/{BQXXD2HU.js → DRE7JXAI.js} +1 -1
  25. package/dist/cdn/{MVUIKY5Y.js → EFBBG67Q.js} +1 -1
  26. package/dist/cdn/{5UO6L27Q.js → EJIWN63T.js} +1 -1
  27. package/dist/cdn/{3UTF2CB3.js → F3XMYLVZ.js} +1 -1
  28. package/dist/cdn/{T5TFLMQL.js → FSUNWDBJ.js} +1 -1
  29. package/dist/cdn/{VY3KBD6N.js → G6EAXNDR.js} +1 -1
  30. package/dist/cdn/{X7Z4LEZH.js → G7Z6J5RV.js} +1 -1
  31. package/dist/cdn/{REZ2QR42.js → GLTERJLR.js} +1 -1
  32. package/dist/cdn/{6ANVHVX4.js → H3DNER4V.js} +1 -1
  33. package/dist/cdn/{3QO6REDF.js → H5EKLENR.js} +8 -8
  34. package/dist/cdn/{IPALCXFF.js → HE66HTT4.js} +1 -1
  35. package/dist/cdn/{7VQXBQMZ.js → HMHTGLG4.js} +1 -1
  36. package/dist/cdn/{3YN4EKSJ.js → IB7JS7SY.js} +1 -1
  37. package/dist/cdn/{YWKPGNHB.js → ICIEVVSN.js} +1 -1
  38. package/dist/cdn/{5XCU5SR2.js → IDWUHTEH.js} +1 -1
  39. package/dist/cdn/{4BEGCEGA.js → IR2S2FUR.js} +3 -3
  40. package/dist/cdn/{Y3CXVO2M.js → J2YNPNIL.js} +1 -1
  41. package/dist/cdn/{K27GKXGP.js → JKJOFEHQ.js} +1 -1
  42. package/dist/cdn/{DAF2U7TN.js → KDV2P46R.js} +1 -1
  43. package/dist/cdn/{HBS6O3P3.js → KEQTMZ4H.js} +1 -1
  44. package/dist/cdn/{THTYR6IL.js → KHT4LCWN.js} +1 -1
  45. package/dist/cdn/{CRCAJAFA.js → KZ2OB6RV.js} +1 -1
  46. package/dist/cdn/{PAIRUVLU.js → LLUS6VGO.js} +1 -1
  47. package/dist/cdn/{TCS4HOSG.js → LLYDWCNL.js} +1 -1
  48. package/dist/cdn/LRTICIHK.js +2 -0
  49. package/dist/cdn/{3TBK72EK.js → LV3T5QZF.js} +1 -1
  50. package/dist/cdn/{MEA74C44.js → LW6GBG3R.js} +1 -1
  51. package/dist/cdn/MNGK37MT.js +61 -0
  52. package/dist/cdn/{SOGVYNPI.js → N7MBLVLD.js} +1 -1
  53. package/dist/cdn/{6VK54DG5.js → NEXAUEB6.js} +1 -1
  54. package/dist/cdn/{Y7HBWU3M.js → NKUXUCUP.js} +1 -1
  55. package/dist/cdn/{2ODYZG66.js → NLWVJIKG.js} +1 -1
  56. package/dist/cdn/{GCRQHIGQ.js → O4RIY6NM.js} +1 -1
  57. package/dist/cdn/{Q2GW5LB7.js → OLMLZIOC.js} +1 -1
  58. package/dist/cdn/{YWCIV7ZZ.js → OZAHUXAZ.js} +1 -1
  59. package/dist/cdn/PKCJ77IC.js +2 -0
  60. package/dist/cdn/{6CB5R4QQ.js → PLACSZ4B.js} +1 -1
  61. package/dist/cdn/{N673JFHK.js → Q5VL76MN.js} +1 -1
  62. package/dist/cdn/{M4ZJRIYM.js → QBSSM5SD.js} +1 -1
  63. package/dist/cdn/{BZFGE4LO.js → QHQ3LXOS.js} +1 -1
  64. package/dist/cdn/{35NSJ3NJ.js → QJ5SV5WD.js} +1 -1
  65. package/dist/cdn/{BKU72IQC.js → QMOKFIDS.js} +1 -1
  66. package/dist/cdn/{WHVW3P3O.js → QNNG52P2.js} +1 -1
  67. package/dist/cdn/{AICTKGE3.js → QXXJNANY.js} +1 -1
  68. package/dist/cdn/{XRP6IFM4.js → QZIWEL6O.js} +1 -1
  69. package/dist/cdn/{JIV6BQKG.js → RE5VVA6N.js} +1 -1
  70. package/dist/cdn/{QV3NMKKZ.js → RP3UHRU3.js} +1 -1
  71. package/dist/cdn/{M7QZTQSD.js → S3XHOO4D.js} +1 -1
  72. package/dist/cdn/{TOFVWGTG.js → S76GRSZU.js} +1 -1
  73. package/dist/cdn/{X7YEBHBF.js → SCALEEJU.js} +1 -1
  74. package/dist/cdn/{7Z7NOIH2.js → SUAMHPKM.js} +1 -1
  75. package/dist/cdn/{TSA7UMSZ.js → SYFQUCIP.js} +1 -1
  76. package/dist/cdn/{CLN32L2L.js → SZXRIKL2.js} +1 -1
  77. package/dist/cdn/{QGEFY4ND.js → TCRIDGAS.js} +1 -1
  78. package/dist/cdn/{KQLAAGKI.js → TDNNODY2.js} +1 -1
  79. package/dist/cdn/{6GV2QPKV.js → TSEKFO24.js} +1 -1
  80. package/dist/cdn/{3SBYV6BW.js → TYDIOOT2.js} +1 -1
  81. package/dist/cdn/{4P7URPRQ.js → UBWQISYD.js} +1 -1
  82. package/dist/cdn/{JBR6IJMK.js → UGDK7VVY.js} +1 -1
  83. package/dist/cdn/{WJHIJTWS.js → WIP2MXFL.js} +1 -1
  84. package/dist/cdn/{LFXRCL7K.js → WV3NTL6A.js} +1 -1
  85. package/dist/cdn/{HIW5WRHR.js → XJATEY2N.js} +1 -1
  86. package/dist/cdn/{C4TQOUPO.js → XYT5GAQI.js} +1 -1
  87. package/dist/cdn/{G5EGTXMY.js → Y3SFQXIO.js} +1 -1
  88. package/dist/cdn/Z2CMTIET.js +2 -0
  89. package/dist/cdn/{ZW4PF3UK.js → Z2NN43OK.js} +1 -1
  90. package/dist/cdn/{YQIFZJTZ.js → Z6ZPSA7P.js} +1 -1
  91. package/dist/cdn/{BI54CNMR.js → ZBMTOUMZ.js} +1 -1
  92. package/dist/cdn/{6XIDALQU.js → ZIPXZUFN.js} +1 -1
  93. package/dist/cdn/{KFPJI52X.js → ZJKFLXTH.js} +1 -1
  94. package/dist/cdn/index.js +1 -1
  95. package/dist/cdn/model/shared/setup-utils.js +1 -1
  96. package/dist/chunks/axis-lines-symbol.js +7 -7
  97. package/dist/chunks/bar-chart-model.js +39 -36
  98. package/dist/chunks/box-plot-data.js +36 -36
  99. package/dist/chunks/box-plot-model.js +5 -5
  100. package/dist/chunks/chart-model.js +38 -38
  101. package/dist/chunks/class-breaks.js +7 -7
  102. package/dist/chunks/combo-bar-line-chart-model.js +27 -27
  103. package/dist/chunks/data-labels-symbol.js +1 -1
  104. package/dist/chunks/data-labels-visibility.js +22 -22
  105. package/dist/chunks/data.js +18 -18
  106. package/dist/chunks/gauge-model.js +16 -16
  107. package/dist/chunks/generate-x-axis-title.js +9 -9
  108. package/dist/chunks/heat-chart-model.js +5 -5
  109. package/dist/chunks/histogram-data.js +15 -15
  110. package/dist/chunks/histogram-model.js +4 -4
  111. package/dist/chunks/index.js +84 -83
  112. package/dist/chunks/index2.js +929 -914
  113. package/dist/chunks/index3.js +13 -13
  114. package/dist/chunks/index4.js +149 -49
  115. package/dist/chunks/line-chart-model.js +1 -1
  116. package/dist/chunks/model-setter.js +1 -1
  117. package/dist/chunks/model-with-y-guides.js +6 -6
  118. package/dist/chunks/negative-values-stacked-to-baseline.js +3 -3
  119. package/dist/chunks/pie-chart-data.js +16 -16
  120. package/dist/chunks/pie-chart-model.js +20 -20
  121. package/dist/chunks/radar-chart-model.js +1 -1
  122. package/dist/chunks/resource.js +1 -1
  123. package/dist/chunks/rounded-corners.js +73 -0
  124. package/dist/chunks/scatterplot-model.js +3 -3
  125. package/dist/chunks/serial-chart-data.js +86 -86
  126. package/dist/chunks/serial-chart-model.js +13 -13
  127. package/dist/chunks/series-length.js +1 -1
  128. package/dist/chunks/series.js +1 -1
  129. package/dist/chunks/type-guards.js +17 -13
  130. package/dist/chunks/type-guards2.js +24 -20
  131. package/dist/chunks/type-guards3.js +1 -1
  132. package/dist/chunks/utils.js +15 -15
  133. package/dist/chunks/utils2.js +1 -1
  134. package/dist/chunks/web-component-utils.js +41 -41
  135. package/dist/chunks/x-bounds.js +16 -16
  136. package/dist/components/arcgis-chart/customElement.d.ts +2 -1
  137. package/dist/components/arcgis-chart/customElement.js +6501 -6393
  138. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +1 -1
  139. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +1 -1
  140. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +1 -1
  141. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +1 -1
  142. package/dist/components/arcgis-charts-config-create-flow/customElement.js +2 -2
  143. package/dist/components/arcgis-charts-config-font-style/customElement.js +1 -1
  144. package/dist/components/arcgis-charts-config-format/customElement.js +1 -1
  145. package/dist/components/arcgis-charts-config-guide/customElement.js +6 -6
  146. package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
  147. package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +16 -16
  148. package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +4 -4
  149. package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
  150. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +11 -11
  151. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +1 -1
  152. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +1 -1
  153. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +1 -1
  154. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -1
  155. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +1 -1
  156. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +5 -5
  157. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +5 -5
  158. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
  159. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +6 -6
  160. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +1 -1
  161. package/dist/components/arcgis-charts-info-modal/customElement.js +1 -1
  162. package/dist/docs/api.json +1 -1
  163. package/dist/docs/docs.json +1 -1
  164. package/dist/docs/vscode.html-custom-data.json +1 -1
  165. package/dist/docs/web-types.json +1 -1
  166. package/dist/index.js +462 -459
  167. package/dist/json-schema/index.d.ts +92 -2
  168. package/dist/model/bar-chart-model/bar-chart-model.d.ts +4 -2
  169. package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +3 -2
  170. package/dist/model/properties/rounded-corners.d.ts +18 -0
  171. package/dist/model/shared/type-guards.d.ts +7 -0
  172. package/dist/spec/web-chart.d.ts +8 -0
  173. package/dist/utils/chart-config/converter/index.js +16 -16
  174. package/dist/utils/defaults/index.d.ts +4 -1
  175. package/dist/utils/layer/interfaces.d.ts +2 -1
  176. package/package.json +4 -5
  177. package/dist/cdn/BJBNELDD.js +0 -3
  178. package/dist/cdn/EZV7JSQJ.js +0 -2
  179. package/dist/cdn/PEYVSFSE.js +0 -58
  180. package/dist/cdn/SAYLTYWY.js +0 -2
  181. package/dist/cdn/U3MRRFML.js +0 -2
  182. package/dist/cdn/VWTJHXHI.js +0 -2
  183. package/dist/cdn/WPPMMVD5.js +0 -2
  184. package/dist/chunks/bar-chart-series.js +0 -15
@@ -1,16 +1,16 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
2
  import { f as j } from "./utils.js";
3
- import { b as F, W, c as I, d as L } from "./series-length.js";
3
+ import { b as F, W, c as L, d as I } from "./series-length.js";
4
4
  import { m as a, C as n } from "./model-setter.js";
5
- import { E as p, T as c, I as f } from "./index.js";
5
+ import { F as p, T as c, J as f } from "./index.js";
6
6
  import { E as z } from "./index3.js";
7
7
  import { Y as N } from "./index2.js";
8
- var R = Object.defineProperty, E = Object.getOwnPropertyDescriptor, M = (e, t, r, l) => {
9
- for (var i = E(t, r), s = e.length - 1, o; s >= 0; s--)
8
+ var R = Object.defineProperty, M = Object.getOwnPropertyDescriptor, U = (e, t, r, l) => {
9
+ for (var i = M(t, r), s = e.length - 1, o; s >= 0; s--)
10
10
  (o = e[s]) && (i = o(t, r, i) || i);
11
11
  return i && R(t, r, i), i;
12
12
  };
13
- const U = (e) => e.title?.content, B = (e, t) => {
13
+ const B = (e) => e.title?.content, E = (e, t) => {
14
14
  if (e) {
15
15
  const r = F(t);
16
16
  t.title === void 0 && (t.title = p({
@@ -26,17 +26,17 @@ class h extends n {
26
26
  * The title text symbol. Contains styling information such as font, color, and symbol style.
27
27
  */
28
28
  get titleSymbol() {
29
- return U(this._config);
29
+ return B(this._config);
30
30
  }
31
31
  set titleSymbol(t) {
32
- B(t, this._config);
32
+ E(t, this._config);
33
33
  }
34
34
  }
35
- M([
35
+ U([
36
36
  a
37
37
  ], h.prototype, "titleSymbol");
38
- var q = Object.defineProperty, Y = Object.getOwnPropertyDescriptor, A = (e, t, r, l) => {
39
- for (var i = Y(t, r), s = e.length - 1, o; s >= 0; s--)
38
+ var q = Object.defineProperty, J = Object.getOwnPropertyDescriptor, Y = (e, t, r, l) => {
39
+ for (var i = J(t, r), s = e.length - 1, o; s >= 0; s--)
40
40
  (o = e[s]) && (i = o(t, r, i) || i);
41
41
  return i && q(t, r, i), i;
42
42
  };
@@ -51,10 +51,10 @@ class u extends n {
51
51
  this._config = t;
52
52
  }
53
53
  }
54
- A([
54
+ Y([
55
55
  a
56
56
  ], u.prototype, "config");
57
- class G extends n {
57
+ class A extends n {
58
58
  /**
59
59
  * The chart model's layer.
60
60
  */
@@ -62,7 +62,7 @@ class G extends n {
62
62
  return this.layerInfo?.layer;
63
63
  }
64
64
  }
65
- const H = (e) => e.id, J = (e, t) => {
65
+ const G = (e) => e.id, H = (e, t) => {
66
66
  t.id = e;
67
67
  };
68
68
  class K extends n {
@@ -70,10 +70,10 @@ class K extends n {
70
70
  * The chart ID.
71
71
  */
72
72
  get chartId() {
73
- return H(this._config);
73
+ return G(this._config);
74
74
  }
75
75
  set chartId(t) {
76
- J(t, this._config);
76
+ H(t, this._config);
77
77
  }
78
78
  }
79
79
  const Q = (e) => e.version;
@@ -283,7 +283,7 @@ var wt = Object.defineProperty, jt = Object.getOwnPropertyDescriptor, Ft = (e, t
283
283
  (o = e[s]) && (i = o(t, r, i) || i);
284
284
  return i && wt(t, r, i), i;
285
285
  };
286
- const Wt = (e) => e.chartRenderer, It = (e, t) => {
286
+ const Wt = (e) => e.chartRenderer, Lt = (e, t) => {
287
287
  t.chartRenderer = e;
288
288
  };
289
289
  class x extends n {
@@ -336,18 +336,18 @@ class x extends n {
336
336
  return Wt(this._config);
337
337
  }
338
338
  set chartRenderer(t) {
339
- It(t, this._config);
339
+ Lt(t, this._config);
340
340
  }
341
341
  }
342
342
  Ft([
343
343
  a
344
344
  ], x.prototype, "chartRenderer");
345
- var Lt = Object.defineProperty, zt = Object.getOwnPropertyDescriptor, Nt = (e, t, r, l) => {
345
+ var It = Object.defineProperty, zt = Object.getOwnPropertyDescriptor, Nt = (e, t, r, l) => {
346
346
  for (var i = zt(t, r), s = e.length - 1, o; s >= 0; s--)
347
347
  (o = e[s]) && (i = o(t, r, i) || i);
348
- return i && Lt(t, r, i), i;
348
+ return i && It(t, r, i), i;
349
349
  };
350
- const Rt = (e) => e.background, Et = (e, t) => {
350
+ const Rt = (e) => e.background, Mt = (e, t) => {
351
351
  t.background = e;
352
352
  };
353
353
  class T extends n {
@@ -358,18 +358,18 @@ class T extends n {
358
358
  return Rt(this._config);
359
359
  }
360
360
  set backgroundColor(t) {
361
- Et(t, this._config);
361
+ Mt(t, this._config);
362
362
  }
363
363
  }
364
364
  Nt([
365
365
  a
366
366
  ], T.prototype, "backgroundColor");
367
- var Mt = Object.defineProperty, Ut = Object.getOwnPropertyDescriptor, Bt = (e, t, r, l) => {
368
- for (var i = Ut(t, r), s = e.length - 1, o; s >= 0; s--)
367
+ var Ut = Object.defineProperty, Bt = Object.getOwnPropertyDescriptor, Et = (e, t, r, l) => {
368
+ for (var i = Bt(t, r), s = e.length - 1, o; s >= 0; s--)
369
369
  (o = e[s]) && (i = o(t, r, i) || i);
370
- return i && Mt(t, r, i), i;
370
+ return i && Ut(t, r, i), i;
371
371
  };
372
- const qt = (e, t) => t.series[e].visible ?? !0, Yt = (e, t) => {
372
+ const qt = (e, t) => t.series[e].visible ?? !0, Jt = (e, t) => {
373
373
  z({ detail: e }, t);
374
374
  };
375
375
  class C extends n {
@@ -382,14 +382,14 @@ class C extends n {
382
382
  return qt(t, this._config);
383
383
  }
384
384
  setSeriesVisibility(t) {
385
- Yt(t, this._config);
385
+ Jt(t, this._config);
386
386
  }
387
387
  }
388
- Bt([
388
+ Et([
389
389
  a
390
390
  ], C.prototype, "setSeriesVisibility");
391
- const At = (e, t) => t.series[e]?.id;
392
- class Gt extends n {
391
+ const Yt = (e, t) => t.series[e]?.id;
392
+ class At extends n {
393
393
  /**
394
394
  * Gets the series ID for a given series index.
395
395
  * If the series index is out of bounds, this function will return `undefined`.
@@ -397,11 +397,11 @@ class Gt extends n {
397
397
  * @param seriesIndex - The index of the series.
398
398
  */
399
399
  getSeriesId(t) {
400
- return At(t, this._config);
400
+ return Yt(t, this._config);
401
401
  }
402
402
  }
403
- const Ht = (e, t) => t.series.findIndex((r) => r.id === e);
404
- class Jt extends n {
403
+ const Gt = (e, t) => t.series.findIndex((r) => r.id === e);
404
+ class Ht extends n {
405
405
  /**
406
406
  * Gets the series index for a given series ID.
407
407
  * If the series ID is not found, this function will return `undefined`.
@@ -409,7 +409,7 @@ class Jt extends n {
409
409
  * @param seriesId - The ID of the series.
410
410
  */
411
411
  getSeriesIndex(t) {
412
- return Ht(t, this._config);
412
+ return Gt(t, this._config);
413
413
  }
414
414
  }
415
415
  const Kt = (e) => N(e.series);
@@ -536,7 +536,7 @@ class ve extends n {
536
536
  }
537
537
  const ge = [
538
538
  u,
539
- G,
539
+ A,
540
540
  K,
541
541
  W,
542
542
  h,
@@ -551,14 +551,14 @@ const ge = [
551
551
  x,
552
552
  T,
553
553
  C,
554
- Gt,
555
- Jt,
556
- I,
554
+ At,
555
+ Ht,
556
+ L,
557
557
  Qt,
558
558
  $,
559
559
  V,
560
560
  m,
561
- L,
561
+ I,
562
562
  w
563
563
  ];
564
564
  j(ve, ge);
@@ -4,11 +4,11 @@ import { createClassBreaksRenderer as q } from "@arcgis/core/smartMapping/render
4
4
  import { a3 as G, bW as _ } from "./index2.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 { j as L } from "./index.js";
7
+ import { k as L } from "./index.js";
8
8
  import { i as k, f as b, g as C, R as F } from "./rest-js-object-literals.js";
9
9
  import * as Z from "@arcgis/core/smartMapping/symbology/support/colorRamps.js";
10
10
  import { u as ee } from "./chart-object-literals.js";
11
- function j(e) {
11
+ function z(e) {
12
12
  let o;
13
13
  switch (e.length) {
14
14
  case 4: {
@@ -57,7 +57,7 @@ function j(e) {
57
57
  function x(e) {
58
58
  let o;
59
59
  if (typeof e == "string" && e.startsWith("#")) {
60
- const t = j(e);
60
+ const t = z(e);
61
61
  t && (o = t);
62
62
  } else Array.isArray(e) && e.every((t) => typeof t == "number") && (e.length === 4 ? o = e : e.length === 3 && (o = [...e, 255]));
63
63
  return o;
@@ -104,7 +104,7 @@ function te(e) {
104
104
  }
105
105
  })), n;
106
106
  }
107
- function z(e) {
107
+ function j(e) {
108
108
  const { numericFields: o, configFields: t, inlineData: s } = e, c = s;
109
109
  return "dataItems" in s && Object.entries(t).forEach(([n, r]) => {
110
110
  o.forEach((a) => {
@@ -164,7 +164,7 @@ async function se(e) {
164
164
  numericFields: s,
165
165
  configFields: c,
166
166
  inlineData: i
167
- }), i = z({
167
+ }), i = j({
168
168
  numericFields: s,
169
169
  configFields: c,
170
170
  inlineData: i
@@ -178,9 +178,9 @@ async function se(e) {
178
178
  return l && (a = await G(l)), { chartRenderer: r, iLayer: l, layer: a };
179
179
  }
180
180
  const $e = {
181
- hexToRGB: j,
181
+ hexToRGB: z,
182
182
  convertColor: x,
183
- removeConfigFieldsFromData: z
183
+ removeConfigFieldsFromData: j
184
184
  }, w = Z.all(), re = X({ geometryType: "point", theme: "high-to-low" });
185
185
  function W(e, o, t) {
186
186
  const s = Math.max(0, Math.min(1, t));
@@ -1,24 +1,24 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import { g as p, s as b, a as _, b as L } from "./bar-chart-series.js";
2
+ import { g as p, s as b, 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 u, a as k, e as C, b as v, f as M, s as z, h as O, c as B, i as V, d as D, j as F, k as A, n as H, o as d, p as j, q as W, r as w, W as P } from "./negative-values-stacked-to-baseline.js";
5
- import { S as T, s as N } from "./serial-chart-model.js";
6
- import { f as q } from "./utils.js";
4
+ import { g as k, a as C, e as v, b as M, f as z, s as O, h as B, c as V, i as D, d as F, j as A, k as H, n as W, o as d, p as j, q as P, r as T, W as w } 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
7
  import { u as S } from "./chart-object-literals.js";
8
- import { j as Y, g as l, i as g } from "./index5.js";
9
- import { w as E, x as y, Y as m } from "./index.js";
8
+ import { j as Z, g as l, i as g } from "./index5.js";
9
+ import { x as E, y, Z as m } from "./index.js";
10
10
  import { an as f } from "./index2.js";
11
11
  var G = Object.defineProperty, J = Object.getOwnPropertyDescriptor, n = (c, e, i, s) => {
12
12
  for (var t = J(e, i), r = c.length - 1, h; r >= 0; r--)
13
13
  (h = c[r]) && (t = h(e, i, t) || t);
14
14
  return t && G(e, i, t), t;
15
15
  };
16
- class o extends T {
16
+ class o extends N {
17
17
  constructor() {
18
18
  super(...arguments), this._chartType = S.ComboLineAndBarSeries;
19
19
  }
20
20
  async setup(e) {
21
- await this.loadConfigFromLayer(e), this.setupLocalProps(), e.config !== void 0 && (Y(e.config?.series) && this.initDefaultSeries(), this.updateSeriesFromLayerFilter()), typeof this.resolveSetup == "function" && this.resolveSetup();
21
+ await this.loadConfigFromLayer(e), this.setupLocalProps(), e.config !== void 0 && (Z(e.config?.series) && this.initDefaultSeries(), this.updateSeriesFromLayerFilter()), typeof this.resolveSetup == "function" && this.resolveSetup();
22
22
  }
23
23
  // ---------------------------------------------------------------------------------------------
24
24
  // Protected Methods
@@ -86,11 +86,11 @@ class o extends T {
86
86
  * @param seriesIndex The index of the series.
87
87
  */
88
88
  getSeriesLineStyle(e) {
89
- return u(e, this._config);
89
+ return k(e, this._config);
90
90
  }
91
91
  setSeriesLineStyle(e, i) {
92
92
  const s = this._config.series?.[i];
93
- l(s) && k(e, i, this._config);
93
+ l(s) && C(e, i, this._config);
94
94
  }
95
95
  /**
96
96
  * Gets the line width of the series based on the series index.
@@ -99,11 +99,11 @@ class o extends T {
99
99
  * @param seriesIndex - The index of the series.
100
100
  */
101
101
  getSeriesLineWidth(e) {
102
- return C(e, this._config);
102
+ return v(e, this._config);
103
103
  }
104
104
  setSeriesLineWidth(e, i) {
105
105
  const s = this._config.series?.[i];
106
- l(s) && v(e, i, this._config);
106
+ l(s) && M(e, i, this._config);
107
107
  }
108
108
  /**
109
109
  * Gets the marker color of the series based on the series index.
@@ -112,11 +112,11 @@ class o extends T {
112
112
  * @param seriesIndex - The index of the series.
113
113
  */
114
114
  getSeriesMarkerColor(e) {
115
- return M(e, this._config);
115
+ return z(e, this._config);
116
116
  }
117
117
  setSeriesMarkerColor(e, i) {
118
118
  const s = this._config.series?.[i];
119
- l(s) && z(e, i, this._config);
119
+ l(s) && O(e, i, this._config);
120
120
  }
121
121
  /**
122
122
  * Gets the marker style of the series based on the series index.
@@ -125,11 +125,11 @@ class o extends T {
125
125
  * @param seriesIndex - The index of the series.
126
126
  */
127
127
  getSeriesMarkerStyle(e) {
128
- return O(e, this._config);
128
+ return B(e, this._config);
129
129
  }
130
130
  setSeriesMarkerStyle(e, i) {
131
131
  const s = this._config.series?.[i];
132
- l(s) && B(e, i, this._config);
132
+ l(s) && V(e, i, this._config);
133
133
  }
134
134
  /**
135
135
  * Gets the marker size of the series based on the series index.
@@ -137,11 +137,11 @@ class o extends T {
137
137
  * @param seriesIndex - The index of the series.
138
138
  */
139
139
  getSeriesMarkerSize(e) {
140
- return V(e, this._config);
140
+ return D(e, this._config);
141
141
  }
142
142
  setSeriesMarkerSize(e, i) {
143
143
  const s = this._config.series?.[i];
144
- l(s) && D(e, i, this._config);
144
+ l(s) && F(e, i, this._config);
145
145
  }
146
146
  /**
147
147
  * Specify whether line segments of the series should be smoothed.
@@ -149,11 +149,11 @@ class o extends T {
149
149
  * @param seriesIndex - The index of the series.
150
150
  */
151
151
  isLineSmoothed(e) {
152
- return F(e, this._config);
152
+ return A(e, this._config);
153
153
  }
154
154
  setLineSmoothed(e, i) {
155
155
  const s = this._config.series?.[i];
156
- l(s) && A({
156
+ l(s) && H({
157
157
  smoothed: e,
158
158
  seriesIndex: i,
159
159
  config: this._config
@@ -165,7 +165,7 @@ class o extends T {
165
165
  * @param seriesIndex - The index of the series.
166
166
  */
167
167
  isAreaVisible(e) {
168
- return H(e, this._config);
168
+ return W(e, this._config);
169
169
  }
170
170
  setAreaVisible(e, i) {
171
171
  const s = this._config.series?.[i];
@@ -185,7 +185,7 @@ class o extends T {
185
185
  }
186
186
  setMarkerVisible(e, i) {
187
187
  const s = this._config.series?.[i];
188
- l(s) && W({
188
+ l(s) && P({
189
189
  visible: e,
190
190
  seriesIndex: i,
191
191
  config: this._config
@@ -198,7 +198,7 @@ class o extends T {
198
198
  * @param seriesIndex - The index of the series.
199
199
  */
200
200
  getAreaColor(e) {
201
- return w(e, this._config);
201
+ return T(e, this._config);
202
202
  }
203
203
  setAreaColor(e, i) {
204
204
  const s = this._config.series?.[i];
@@ -206,10 +206,10 @@ class o extends T {
206
206
  visible: !0,
207
207
  seriesIndex: i,
208
208
  config: this._config
209
- }), N(e, i, this._config));
209
+ }), q(e, i, this._config));
210
210
  }
211
211
  /**
212
- * Gets whether to hide oversized data labels of the side-by-side series based on the series index. '
212
+ * Gets whether to hide oversized data labels of the side-by-side series based on the series index.
213
213
  *
214
214
  * If the index is out of bounds, it will return `undefined`.
215
215
  *
@@ -272,8 +272,8 @@ n([
272
272
  n([
273
273
  a
274
274
  ], o.prototype, "setSeriesHideOversizedStackedLabels");
275
- const K = [P];
276
- q(o, K);
275
+ const K = [w, u];
276
+ R(o, K);
277
277
  export {
278
278
  o as ComboBarLineChartModel
279
279
  };
@@ -1,7 +1,7 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
2
  import { cloneDeep as l } from "lodash-es";
3
3
  import { C as n, m as b } from "./model-setter.js";
4
- import { E as f, T as i, I as d } from "./index.js";
4
+ import { F as f, T as i, J as d } from "./index.js";
5
5
  var c = Object.defineProperty, m = Object.getOwnPropertyDescriptor, p = (e, t, a, y) => {
6
6
  for (var s = m(t, a), o = e.length - 1, r; o >= 0; o--)
7
7
  (r = e[o]) && (s = r(t, a, s) || s);
@@ -1,7 +1,7 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
2
  import { C as h } from "./chart-model.js";
3
3
  import { k as y } from "./chart-object-literals.js";
4
- import { S as d, E as b, T as r, I as v } from "./index.js";
4
+ import { U as d, F as b, T as r, J as v } from "./index.js";
5
5
  import { m as o, C as f } from "./model-setter.js";
6
6
  const L = (t) => {
7
7
  let e = !1;
@@ -172,19 +172,19 @@ a([
172
172
  a([
173
173
  o
174
174
  ], g.prototype, "legendRoundMarker");
175
- const E = (t, e) => t.series?.[e ?? 0]?.dataTooltipVisible ?? !0, k = (t, e, i) => {
175
+ const k = (t, e) => t.series?.[e ?? 0]?.dataTooltipVisible ?? !0, E = (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
  });
179
- }, B = (t, e) => t.series?.[e ?? 0]?.dataTooltipReverseColor ?? !1, F = (t, e, i) => {
179
+ }, F = (t, e) => t.series?.[e ?? 0]?.dataTooltipReverseColor ?? !1, B = (t, e, i) => {
180
180
  i && t.series?.[i] ? t.series[i].dataTooltipReverseColor = e : t.series && t.series.forEach((p) => {
181
181
  p.dataTooltipReverseColor = e;
182
182
  });
183
183
  };
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--)
184
+ var J = Object.defineProperty, U = Object.getOwnPropertyDescriptor, T = (t, e, i, p) => {
185
+ for (var l = U(e, i), s = t.length - 1, n; s >= 0; s--)
186
186
  (n = t[s]) && (l = n(e, i, l) || l);
187
- return l && q(e, i, l), l;
187
+ return l && J(e, i, l), l;
188
188
  };
189
189
  class _ extends h {
190
190
  /**
@@ -195,10 +195,10 @@ class _ extends h {
195
195
  * @param seriesIndex - The index of the series.
196
196
  */
197
197
  getDataTooltipVisibility(e) {
198
- return E(this._config, e);
198
+ return k(this._config, e);
199
199
  }
200
200
  setDataTooltipVisibility(e, i) {
201
- k(this._config, e, i);
201
+ E(this._config, e, i);
202
202
  }
203
203
  /**
204
204
  * Gets the setting of the `dataTooltipReverseColor` property.
@@ -208,10 +208,10 @@ class _ extends h {
208
208
  * @param seriesIndex - The index of the series.
209
209
  */
210
210
  getDataTooltipReverseColor(e) {
211
- return B(this._config, e);
211
+ return F(this._config, e);
212
212
  }
213
213
  setDataTooltipReverseColor(e, i) {
214
- F(this._config, e, i);
214
+ B(this._config, e, i);
215
215
  }
216
216
  }
217
217
  T([
@@ -220,15 +220,15 @@ T([
220
220
  T([
221
221
  o
222
222
  ], _.prototype, "setDataTooltipReverseColor");
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--)
223
+ var q = Object.defineProperty, z = Object.getOwnPropertyDescriptor, A = (t, e, i, p) => {
224
+ for (var l = z(e, i), s = t.length - 1, n; s >= 0; s--)
225
225
  (n = t[s]) && (l = n(e, i, l) || l);
226
- return l && A(e, i, l), l;
226
+ return l && q(e, i, l), l;
227
227
  };
228
- const K = (t) => t.colorMatch ?? !0, N = (t, e) => {
228
+ const G = (t) => t.colorMatch ?? !0, K = (t, e) => {
229
229
  e.colorMatch = t;
230
230
  };
231
- class Q extends f {
231
+ class N extends f {
232
232
  /**
233
233
  * Whether the chart should attempt to match the data source's colors.
234
234
  *
@@ -236,19 +236,19 @@ class Q extends f {
236
236
  * `false`: Use the colors defined in the config.
237
237
  */
238
238
  get colorMatch() {
239
- return K(this._config);
239
+ return G(this._config);
240
240
  }
241
241
  set colorMatch(e) {
242
- N(e, this._config);
242
+ K(e, this._config);
243
243
  }
244
244
  }
245
- J([
245
+ A([
246
246
  o
247
- ], Q.prototype, "colorMatch");
248
- var U = Object.defineProperty, X = Object.getOwnPropertyDescriptor, Y = (t, e, i, p) => {
247
+ ], N.prototype, "colorMatch");
248
+ var Q = Object.defineProperty, X = Object.getOwnPropertyDescriptor, Y = (t, e, i, p) => {
249
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 && U(e, i, l), l;
251
+ return l && Q(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) => {
@@ -276,7 +276,7 @@ Y([
276
276
  ], ee.prototype, "dataLabelsVisibility");
277
277
  export {
278
278
  g as M,
279
- Q as W,
279
+ N as W,
280
280
  _ as a,
281
281
  ee as b
282
282
  };
@@ -1,13 +1,13 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
2
  import { capitalize as u } from "lodash-es";
3
- import { N as x, k as B, m as L, cR as $, Y as N, an as I, af as H, ax as P, l as _, n as v } from "./index2.js";
3
+ import { N as x, k as B, m as L, cS as $, Y as N, an as I, af as H, ax as P, l as _, n as v } from "./index2.js";
4
4
  import { g as F } from "./series-types.js";
5
5
  import { H as A, S as o, P as M } from "./common.js";
6
6
  import { p as l, n, u as d, r as g } from "./chart-object-literals.js";
7
- import { C as R } from "./index3.js";
8
- import { g as U } from "./index.js";
9
- import { c as W } from "./type-guards.js";
10
- function Y(e, r) {
7
+ import { C as U } from "./index3.js";
8
+ import { g as W } from "./index.js";
9
+ import { d as Y } from "./type-guards.js";
10
+ function k(e, r) {
11
11
  let s;
12
12
  return r === n.Category && Array.isArray(e) ? s = o.customSort : r === n.Category ? s = e === l.Ascending ? o.xAxisAsc : o.xAxisDesc : e === l.Ascending ? s = o.yAxisAsc : s = o.yAxisDesc, s;
13
13
  }
@@ -15,20 +15,20 @@ function w(e, r) {
15
15
  let s;
16
16
  return r === n.Category && Array.isArray(e) ? s = A.customSort : s = e === l.Ascending ? A.Asc : A.Desc, s;
17
17
  }
18
- const k = (e) => {
18
+ const E = (e) => {
19
19
  const r = e.orderOptions?.data && "orderBy" in e.orderOptions.data ? e.orderOptions.data.orderBy : l.Ascending;
20
- return Y(
20
+ return k(
21
21
  r,
22
22
  e.orderOptions?.data?.orderType ?? n.Category
23
23
  );
24
- }, E = (e) => {
24
+ }, K = (e) => {
25
25
  const r = F(e.series);
26
26
  let s = !1;
27
- return (r === d.BarSeries || r === d.LineSeries) && (s = k(e) === o.customSort), s;
27
+ return (r === d.BarSeries || r === d.LineSeries) && (s = E(e) === o.customSort), s;
28
28
  }, ee = (e) => {
29
29
  let r = [];
30
30
  const s = e.orderOptions?.data?.orderType;
31
- return E(e) && s === n.Category && (r = e.orderOptions?.data?.orderBy), r;
31
+ return K(e) && s === n.Category && (r = e.orderOptions?.data?.orderBy), r;
32
32
  }, re = (e, r, s, t) => {
33
33
  const i = F(r.series), y = $(r);
34
34
  r.orderOptions ??= {};
@@ -67,7 +67,7 @@ const k = (e) => {
67
67
  fieldList: O
68
68
  } = e, T = F(r.series), b = N(r.series);
69
69
  let f;
70
- if (W(a)) {
70
+ if (Y(a)) {
71
71
  const m = P(a);
72
72
  f = t.length === 1 && t[0] === m;
73
73
  } else {
@@ -90,7 +90,7 @@ const k = (e) => {
90
90
  fieldName: s,
91
91
  numericFields: t,
92
92
  fieldList: O ?? []
93
- }) || b === R.BarAndLineFromFields ? p = _ : (p = i !== g.NoAggregation ? `${i}_${t[c ?? 0]}_${c ?? 0}`.toUpperCase() : t[c ?? 0], C = f ? u(g.Count) : u(`${i} of ${t[c ?? 0]}`));
93
+ }) || b === U.BarAndLineFromFields ? p = _ : (p = i !== g.NoAggregation ? `${i}_${t[c ?? 0]}_${c ?? 0}`.toUpperCase() : t[c ?? 0], C = f ? u(g.Count) : u(`${i} of ${t[c ?? 0]}`));
94
94
  else {
95
95
  const m = t[0];
96
96
  p = i !== g.NoAggregation ? `${i}_${m}_${h ?? 0}`.toUpperCase() : m, C = f ? u(g.Count) : u(`${i} of ${m}`);
@@ -103,22 +103,22 @@ const k = (e) => {
103
103
  description: C
104
104
  };
105
105
  };
106
- function K(e) {
106
+ function R(e) {
107
107
  const { fieldName: r, fieldList: s } = e, t = x(s ?? [], r);
108
- return r === B || r === L || r === U || r === void 0 || r.trim() === "" || t === void 0;
108
+ return r === B || r === L || r === W || r === void 0 || r.trim() === "" || t === void 0;
109
109
  }
110
110
  function V(e) {
111
111
  const { fieldName: r, fieldList: s, numericFields: t } = e, i = t.filter((y) => x(s ?? [], y)?.type !== "esriFieldTypeOID");
112
- return K({ fieldName: r, fieldList: s }) && (i?.length ?? 0) > 0;
112
+ return R({ fieldName: r, fieldList: s }) && (i?.length ?? 0) > 0;
113
113
  }
114
114
  export {
115
115
  se as a,
116
116
  w as b,
117
- Y as c,
117
+ k as c,
118
118
  re as d,
119
119
  ee as e,
120
- k as f,
120
+ E as f,
121
121
  te as g,
122
122
  V as s,
123
- K as x
123
+ R as x
124
124
  };