@arcgis/charts-components 5.2.0-next.104 → 5.2.0-next.106

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 (114) hide show
  1. package/dist/cdn/{FHSOGQIM.js → 2BGHBNJR.js} +1 -1
  2. package/dist/cdn/2DW7DIXF.js +2 -0
  3. package/dist/cdn/{GW3DBKAB.js → 2LB76NS6.js} +4 -4
  4. package/dist/cdn/{WP4MTZZ4.js → 4INX2G3Q.js} +1 -1
  5. package/dist/cdn/4MUAQ5B5.js +2 -0
  6. package/dist/cdn/{RODCWBRR.js → 4OGNJHCC.js} +1 -1
  7. package/dist/cdn/56WSP7OU.js +2 -0
  8. package/dist/cdn/{NUPNG565.js → 5AG5HEJZ.js} +1 -1
  9. package/dist/cdn/{MA2W3LRP.js → 5XWDINLX.js} +1 -1
  10. package/dist/cdn/62QMWHS5.js +2 -0
  11. package/dist/cdn/6QSUWRYL.js +2 -0
  12. package/dist/cdn/{CUFMJAOH.js → 7WA5HGTF.js} +1 -1
  13. package/dist/cdn/{TLXWSOHC.js → AGBAER7I.js} +1 -1
  14. package/dist/cdn/{DIA75CKV.js → C5RPVPL3.js} +1 -1
  15. package/dist/cdn/DJSBCERV.js +2 -0
  16. package/dist/cdn/{BQIVBJC6.js → DPW6WDUS.js} +1 -1
  17. package/dist/cdn/{UUVUD77I.js → E2GZPXA7.js} +1 -1
  18. package/dist/cdn/{PKOUMDEH.js → EFLW5TIU.js} +1 -1
  19. package/dist/cdn/EGACYY5M.js +2 -0
  20. package/dist/cdn/EJD6DN4F.js +2 -0
  21. package/dist/cdn/{NVWUW2QZ.js → F2GL6TNL.js} +1 -1
  22. package/dist/cdn/{A32OUH5N.js → FY2QCHZI.js} +1 -1
  23. package/dist/cdn/{JIFGUAST.js → G5MSOPGH.js} +1 -1
  24. package/dist/cdn/{YNSSLWJT.js → GI7GNXRE.js} +1 -1
  25. package/dist/cdn/HE7XU44N.js +2 -0
  26. package/dist/cdn/{6IX32XNU.js → HJD7UOQ5.js} +1 -1
  27. package/dist/cdn/HLQ2CNM3.js +2 -0
  28. package/dist/cdn/{P72U7INS.js → HT5BW23V.js} +1 -1
  29. package/dist/cdn/{GTBMCBRY.js → JTZ3RZ4S.js} +1 -1
  30. package/dist/cdn/{O4PD2PGE.js → JWQRYKTY.js} +1 -1
  31. package/dist/cdn/{MJPN22Y4.js → JY6LCMBR.js} +1 -1
  32. package/dist/cdn/{ADHDTBG4.js → KMXRCG6Z.js} +1 -1
  33. package/dist/cdn/KRCT56OY.js +2 -0
  34. package/dist/cdn/{RCRWMQ26.js → KZBGGWMD.js} +1 -1
  35. package/dist/cdn/{6I4QCKNB.js → L4FZSJ6R.js} +1 -1
  36. package/dist/cdn/{2D4RIU3R.js → LTWZDHJW.js} +1 -1
  37. package/dist/cdn/MA3MMSOX.js +2 -0
  38. package/dist/cdn/MNXVSHZ7.js +2 -0
  39. package/dist/cdn/MQXTDYOZ.js +2 -0
  40. package/dist/cdn/{AR42YXOQ.js → OIJ2CF62.js} +1 -1
  41. package/dist/cdn/{5E4DFHD2.js → OVEDTDHX.js} +1 -1
  42. package/dist/cdn/OYFD6FQQ.js +2 -0
  43. package/dist/cdn/P4N6FLFI.js +2 -0
  44. package/dist/cdn/P5KPN2M7.js +2 -0
  45. package/dist/cdn/QAKREKNC.js +2 -0
  46. package/dist/cdn/{I2N7DZC6.js → QEG6Y27C.js} +1 -1
  47. package/dist/cdn/QJ5B6PUR.js +2 -0
  48. package/dist/cdn/RHN3QMSR.js +2 -0
  49. package/dist/cdn/{R6QBA2OM.js → TGPO6WYY.js} +1 -1
  50. package/dist/cdn/{KJRFPLJU.js → TIG4E3EM.js} +1 -1
  51. package/dist/cdn/U3BNFQQK.js +2 -0
  52. package/dist/cdn/{ZFDAOSJJ.js → UFFXRD7K.js} +1 -1
  53. package/dist/cdn/{2E6PIVZ3.js → UJDDDBXM.js} +1 -1
  54. package/dist/cdn/{4AV26VPX.js → V6OKA45H.js} +1 -1
  55. package/dist/cdn/VMVEEBUO.js +2 -0
  56. package/dist/cdn/{TFISDVHR.js → W4G4IP5B.js} +1 -1
  57. package/dist/cdn/{HFIBFLMU.js → WRISK5ZQ.js} +1 -1
  58. package/dist/cdn/{N66TGPHC.js → XCMVEVEM.js} +1 -1
  59. package/dist/cdn/XN5TYGE4.js +2 -0
  60. package/dist/cdn/{GNFP2CXI.js → ZTZYNW4S.js} +1 -1
  61. package/dist/cdn/{6P5RUNL4.js → ZXLDEDFO.js} +1 -1
  62. package/dist/cdn/ZYGG7EGH.js +2 -0
  63. package/dist/cdn/index.js +1 -1
  64. package/dist/cdn/model/shared/setup-utils.js +1 -1
  65. package/dist/chunks/bar-chart-model.js +1 -1
  66. package/dist/chunks/box-plot-model.js +1 -1
  67. package/dist/chunks/chart-model.js +1 -1
  68. package/dist/chunks/combo-bar-line-chart-model.js +8 -8
  69. package/dist/chunks/gauge-model.js +1 -1
  70. package/dist/chunks/generate-x-axis-title.js +17 -13
  71. package/dist/chunks/histogram-model.js +1 -1
  72. package/dist/chunks/line-chart-model.js +1 -1
  73. package/dist/chunks/model-with-x-guides.js +5 -5
  74. package/dist/chunks/model-with-y-guides.js +218 -223
  75. package/dist/chunks/pie-chart-model.js +13 -13
  76. package/dist/chunks/radar-chart-model.js +1 -1
  77. package/dist/chunks/scatterplot-model.js +11 -11
  78. package/dist/chunks/serial-chart-data.js +24 -24
  79. package/dist/chunks/serial-chart-model.js +1 -1
  80. package/dist/chunks/utils.js +81 -68
  81. package/dist/chunks/utils2.js +55 -38
  82. package/dist/chunks/x-bounds.js +13 -9
  83. package/dist/components/arcgis-chart/customElement.js +182 -175
  84. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +14 -14
  85. package/dist/docs/api.json +1 -1
  86. package/dist/docs/docs.json +1 -1
  87. package/dist/docs/web-types.json +1 -1
  88. package/dist/model/box-plot-model/box-plot-model.d.ts +2 -2
  89. package/dist/model/mixins/model-with-multi-axes.d.ts +14 -14
  90. package/package.json +4 -4
  91. package/dist/cdn/25IIAVUC.js +0 -2
  92. package/dist/cdn/3ZKNY2GI.js +0 -2
  93. package/dist/cdn/56YB7O3M.js +0 -2
  94. package/dist/cdn/AIAPONGU.js +0 -2
  95. package/dist/cdn/APB46III.js +0 -2
  96. package/dist/cdn/ASI3OTVS.js +0 -2
  97. package/dist/cdn/ASWFZXWR.js +0 -2
  98. package/dist/cdn/BPHPASCX.js +0 -2
  99. package/dist/cdn/C6YOQVOB.js +0 -2
  100. package/dist/cdn/DDPCQLH7.js +0 -2
  101. package/dist/cdn/E4NCL4M4.js +0 -2
  102. package/dist/cdn/GJCCH4ZB.js +0 -2
  103. package/dist/cdn/IEWOWYUS.js +0 -2
  104. package/dist/cdn/KZFSBW6I.js +0 -2
  105. package/dist/cdn/L4DH3UPO.js +0 -2
  106. package/dist/cdn/LROOQ7ZG.js +0 -2
  107. package/dist/cdn/MIIK4YRO.js +0 -2
  108. package/dist/cdn/R7ZATTXB.js +0 -2
  109. package/dist/cdn/T2PEASLR.js +0 -2
  110. package/dist/cdn/UDQWJ62J.js +0 -2
  111. package/dist/cdn/W5TZDZZJ.js +0 -2
  112. package/dist/cdn/WQ3R3KT4.js +0 -2
  113. package/dist/cdn/XCGSICB5.js +0 -2
  114. package/dist/cdn/ZM5TS7H5.js +0 -2
@@ -1,46 +1,63 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import { a0 as a, a1 as x, a2 as o } from "./index3.js";
3
- const v = (e, i) => i.axes?.[e]?.labels?.visible ?? !0, f = (e, i, s) => {
4
- const t = s.axes?.[i];
5
- t?.labels !== void 0 ? t.labels.visible = e : t !== void 0 && t?.labels === void 0 && (t.labels = a({
6
- text: "",
7
- visible: e,
8
- font: x(o.AxisLabels),
9
- type: o.AxisLabels
10
- }));
11
- }, b = (e, i) => i.axes?.[e]?.title?.content.text ?? "", T = (e, i, s) => {
12
- const t = s.axes?.[i];
13
- t?.title !== void 0 ? t.title.content.text = e : t !== void 0 && t?.title === void 0 && (t.title = a({
2
+ import { a0 as n, a1 as a, a2 as o } from "./index3.js";
3
+ import { f as c } from "./utils.js";
4
+ const A = (e, t) => t.axes?.[e]?.labels?.visible ?? !0, T = (e) => {
5
+ const { visibility: t, axisIndex: l, config: i } = e;
6
+ c({
7
+ config: i,
8
+ axisIndex: l,
9
+ callback: (s) => {
10
+ s.labels !== void 0 ? s.labels.visible = t : s.labels = n({
11
+ text: "",
12
+ visible: t,
13
+ font: a(o.AxisLabels),
14
+ type: o.AxisLabels
15
+ });
16
+ }
17
+ });
18
+ }, b = (e, t) => t.axes?.[e]?.title?.content.text ?? "", d = (e, t, l) => {
19
+ const i = l.axes?.[t];
20
+ i?.title !== void 0 ? i.title.content.text = e : i !== void 0 && i?.title === void 0 && (i.title = n({
14
21
  text: e,
15
22
  visible: !0,
16
- font: x(o.AxisTitle)
17
- }));
18
- }, d = (e, i) => i.axes?.[e]?.title?.visible ?? !1, A = (e, i, s) => {
19
- const t = s.axes?.[i];
20
- t?.title !== void 0 ? t.title.visible = e : t !== void 0 && t?.title === void 0 && (t.title = a({
21
- text: b(i, s),
22
- visible: e,
23
- font: x(o.AxisTitle)
23
+ font: a(o.AxisTitle)
24
24
  }));
25
- }, r = (e, i) => e.axes?.[i]?.title?.content, g = (e) => {
26
- const { config: i, axisIndex: s, symbol: t } = e, l = i.axes?.[s];
27
- if (l !== void 0) {
28
- const n = l.title?.content.text;
29
- (l.title === void 0 || t === void 0) && (l.title = a({
30
- text: "",
31
- visible: !0,
32
- font: x(o.AxisTitle),
33
- type: o.AxisTitle
34
- })), t !== void 0 && (l.title.content = t), l.title.content.text = n;
35
- }
25
+ }, r = (e, t) => t.axes?.[e]?.title?.visible ?? !1, y = (e) => {
26
+ const { visibility: t, axisIndex: l, config: i } = e;
27
+ c({
28
+ config: i,
29
+ axisIndex: l,
30
+ callback: (s, x) => {
31
+ s.title !== void 0 ? s.title.visible = t : s.title = n({
32
+ text: b(x, i),
33
+ visible: t,
34
+ font: a(o.AxisTitle)
35
+ });
36
+ }
37
+ });
38
+ }, g = (e, t) => e.axes?.[t]?.title?.content, m = (e) => {
39
+ const { config: t, axisIndex: l, symbol: i } = e;
40
+ c({
41
+ config: t,
42
+ axisIndex: l,
43
+ callback: (s) => {
44
+ const x = s.title?.content.text;
45
+ (s.title === void 0 || i === void 0) && (s.title = n({
46
+ text: "",
47
+ visible: !0,
48
+ font: a(o.AxisTitle),
49
+ type: o.AxisTitle
50
+ })), i !== void 0 && (s.title.content = i), s.title.content.text = x;
51
+ }
52
+ });
36
53
  };
37
54
  export {
38
- r as a,
39
- T as b,
40
- d as c,
41
- A as d,
42
- v as e,
43
- f,
55
+ g as a,
56
+ d as b,
57
+ r as c,
58
+ y as d,
59
+ T as e,
60
+ A as f,
44
61
  b as g,
45
- g as s
62
+ m as s
46
63
  };
@@ -1,14 +1,14 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import { C as _ } from "./chart-model.js";
3
- import { cloneDeep as h } from "lodash-es";
2
+ import { C as h } from "./chart-model.js";
3
+ import { cloneDeep as _ } from "lodash-es";
4
4
  import { G as c } from "./common.js";
5
5
  import { b as g } from "./rest-js-object-literals.js";
6
6
  import { a as x } from "./chart-object-literals.js";
7
7
  import { N as S, a1 as L, a2 as b, t as T } from "./index3.js";
8
8
  import { bK as X, b as C, i as B } from "./index.js";
9
9
  import { m as r, C as f } from "./model-setter.js";
10
- import { e as A, f as M } from "./utils2.js";
11
- import { l as y, s as v, f as O } from "./utils.js";
10
+ import { f as A, e as M } from "./utils2.js";
11
+ import { n as y, s as v, h as O } from "./utils.js";
12
12
  const P = (t) => {
13
13
  for (const e of t.axes ?? [])
14
14
  for (const i of e?.guides ?? [])
@@ -18,7 +18,7 @@ const P = (t) => {
18
18
  for (const i of e.axes ?? [])
19
19
  for (const s of i?.guides ?? []) {
20
20
  const o = s.label?.text ?? "";
21
- s.label = h(t), s.label !== void 0 && (s.label.text = o);
21
+ s.label = _(t), s.label !== void 0 && (s.label.text = o);
22
22
  }
23
23
  };
24
24
  function d(t) {
@@ -103,7 +103,7 @@ var J = Object.defineProperty, Q = Object.getOwnPropertyDescriptor, l = (t, e, i
103
103
  (a = t[n]) && (o = a(e, i, o) || o);
104
104
  return o && J(e, i, o), o;
105
105
  };
106
- class u extends _ {
106
+ class u extends h {
107
107
  /**
108
108
  * The guide labels text symbol (font, color, style).
109
109
  */
@@ -237,7 +237,7 @@ l([
237
237
  l([
238
238
  r
239
239
  ], u.prototype, "setTooltipReverseColor");
240
- class _e extends f {
240
+ class he extends f {
241
241
  /**
242
242
  * Whether the x-axis labels are visible.
243
243
  */
@@ -246,7 +246,11 @@ class _e extends f {
246
246
  }
247
247
  set xAxisLabelsVisibility(e) {
248
248
  this.guardSetterFromAsyncOverwrite(() => {
249
- M(e, 0, this._config), this.emitConfigUpdate("xAxisLabelsVisibility");
249
+ M({
250
+ visibility: e,
251
+ axisIndex: 0,
252
+ config: this._config
253
+ }), this.emitConfigUpdate("xAxisLabelsVisibility");
250
254
  });
251
255
  }
252
256
  }
@@ -303,7 +307,7 @@ class re extends f {
303
307
  O(re, [m, G]);
304
308
  export {
305
309
  u as M,
306
- _e as W,
310
+ he as W,
307
311
  re as a,
308
312
  me as b,
309
313
  Ge as d