@carbon/charts 1.15.6 → 1.15.8

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 (130) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist/{_baseEach-BxXSF0fB.mjs → _baseEach-Ch85zB0O.mjs} +2 -2
  3. package/dist/{_baseEach-BxXSF0fB.mjs.map → _baseEach-Ch85zB0O.mjs.map} +1 -1
  4. package/dist/{angle-utils-CGNQcrjg.mjs → angle-utils-GQFx3vKM.mjs} +2 -2
  5. package/dist/{angle-utils-CGNQcrjg.mjs.map → angle-utils-GQFx3vKM.mjs.map} +1 -1
  6. package/dist/axis-chart.d.ts +6 -6
  7. package/dist/chart.d.ts +6 -6
  8. package/dist/charts/alluvial.d.ts +4 -4
  9. package/dist/charts/area-stacked.d.ts +3 -3
  10. package/dist/charts/area.d.ts +3 -3
  11. package/dist/charts/bar-grouped.d.ts +3 -3
  12. package/dist/charts/bar-simple.d.ts +3 -3
  13. package/dist/charts/bar-stacked.d.ts +3 -3
  14. package/dist/charts/boxplot.d.ts +4 -4
  15. package/dist/charts/bubble.d.ts +3 -3
  16. package/dist/charts/bullet.d.ts +4 -4
  17. package/dist/charts/choropleth.d.ts +7 -7
  18. package/dist/charts/circle-pack.d.ts +4 -4
  19. package/dist/charts/combo.d.ts +3 -3
  20. package/dist/charts/donut.d.ts +3 -3
  21. package/dist/charts/gauge.d.ts +4 -4
  22. package/dist/charts/heatmap.d.ts +7 -7
  23. package/dist/charts/histogram.d.ts +4 -4
  24. package/dist/charts/index.d.ts +24 -24
  25. package/dist/charts/line.d.ts +3 -3
  26. package/dist/charts/lollipop.d.ts +3 -3
  27. package/dist/charts/meter.d.ts +4 -4
  28. package/dist/charts/pie.d.ts +4 -4
  29. package/dist/charts/radar.d.ts +4 -4
  30. package/dist/charts/scatter.d.ts +3 -3
  31. package/dist/charts/tree.d.ts +4 -4
  32. package/dist/charts/treemap.d.ts +4 -4
  33. package/dist/charts/wordcloud.d.ts +4 -4
  34. package/dist/{choropleth-DgRtqF2B.mjs → choropleth-DdBUe80H.mjs} +1273 -1273
  35. package/dist/choropleth-DdBUe80H.mjs.map +1 -0
  36. package/dist/{color-scale-utils-CbAVUUep.mjs → color-scale-utils-CiW9fERh.mjs} +55 -45
  37. package/dist/{color-scale-utils-CbAVUUep.mjs.map → color-scale-utils-CiW9fERh.mjs.map} +1 -1
  38. package/dist/components/axes/axis.d.ts +5 -5
  39. package/dist/components/axes/chart-clip.d.ts +2 -2
  40. package/dist/components/axes/grid-brush.d.ts +1 -1
  41. package/dist/components/axes/grid.d.ts +2 -2
  42. package/dist/components/axes/hover-axis.d.ts +1 -1
  43. package/dist/components/axes/ruler-binned.d.ts +1 -1
  44. package/dist/components/axes/ruler.d.ts +2 -2
  45. package/dist/components/axes/toolbar.d.ts +1 -1
  46. package/dist/components/axes/two-dimensional-axes.d.ts +2 -2
  47. package/dist/components/axes/zero-line.d.ts +1 -1
  48. package/dist/components/axes/zoom-bar.d.ts +3 -3
  49. package/dist/components/component.d.ts +3 -3
  50. package/dist/components/essentials/color-scale-legend.d.ts +2 -2
  51. package/dist/components/essentials/geo-projection.d.ts +1 -1
  52. package/dist/components/essentials/highlights.d.ts +3 -3
  53. package/dist/components/essentials/legend.d.ts +1 -1
  54. package/dist/components/essentials/modal.d.ts +1 -1
  55. package/dist/components/essentials/threshold.d.ts +3 -3
  56. package/dist/components/essentials/title-meter.d.ts +1 -1
  57. package/dist/components/essentials/title.d.ts +1 -1
  58. package/dist/components/essentials/tooltip.d.ts +3 -3
  59. package/dist/components/graphs/alluvial.d.ts +1 -1
  60. package/dist/components/graphs/area-stacked.d.ts +1 -1
  61. package/dist/components/graphs/area.d.ts +1 -1
  62. package/dist/components/graphs/bar-grouped.d.ts +2 -2
  63. package/dist/components/graphs/bar-simple.d.ts +1 -1
  64. package/dist/components/graphs/bar-stacked.d.ts +1 -1
  65. package/dist/components/graphs/boxplot.d.ts +1 -1
  66. package/dist/components/graphs/bubble.d.ts +3 -3
  67. package/dist/components/graphs/bullet.d.ts +1 -1
  68. package/dist/components/graphs/circle-pack.d.ts +1 -1
  69. package/dist/components/graphs/donut.d.ts +1 -1
  70. package/dist/components/graphs/gauge.d.ts +1 -1
  71. package/dist/components/graphs/heatmap.d.ts +1 -1
  72. package/dist/components/graphs/histogram.d.ts +1 -1
  73. package/dist/components/graphs/line.d.ts +1 -1
  74. package/dist/components/graphs/lollipop.d.ts +1 -1
  75. package/dist/components/graphs/meter.d.ts +1 -1
  76. package/dist/components/graphs/pie.d.ts +1 -1
  77. package/dist/components/graphs/radar.d.ts +1 -1
  78. package/dist/components/graphs/scatter-stacked.d.ts +1 -1
  79. package/dist/components/graphs/scatter.d.ts +2 -2
  80. package/dist/components/graphs/skeleton-lines.d.ts +1 -1
  81. package/dist/components/graphs/skeleton.d.ts +1 -1
  82. package/dist/components/graphs/tree.d.ts +1 -1
  83. package/dist/components/graphs/treemap.d.ts +1 -1
  84. package/dist/components/graphs/wordcloud.d.ts +2 -2
  85. package/dist/components/index.mjs +1 -1
  86. package/dist/components/layout/layout.d.ts +3 -3
  87. package/dist/configuration-non-customizable.d.ts +1 -1
  88. package/dist/configuration.d.ts +2 -2
  89. package/dist/demo/charts/index.d.ts +2 -2
  90. package/dist/demo/charts/step.d.ts +8 -8
  91. package/dist/demo/index.mjs +42 -42
  92. package/dist/demo/index.mjs.map +1 -1
  93. package/dist/demo/styles.css +585 -135
  94. package/dist/demo/styles.css.map +1 -1
  95. package/dist/demo/utils/stackblitz/angular.d.ts +1 -1
  96. package/dist/demo/utils/stackblitz/react.d.ts +1 -1
  97. package/dist/demo/utils/stackblitz/svelte.d.ts +1 -1
  98. package/dist/demo/utils/stackblitz/vanilla-js.d.ts +1 -1
  99. package/dist/demo/utils/stackblitz/vue.d.ts +1 -1
  100. package/dist/index.mjs +259 -266
  101. package/dist/index.mjs.map +1 -1
  102. package/dist/interfaces/axis-scales.d.ts +4 -4
  103. package/dist/interfaces/charts.d.ts +2 -2
  104. package/dist/interfaces/components.d.ts +2 -2
  105. package/dist/interfaces/services.d.ts +8 -8
  106. package/dist/model/cartesian-charts.d.ts +1 -1
  107. package/dist/model/circle-pack.d.ts +1 -1
  108. package/dist/model/heatmap.d.ts +1 -1
  109. package/dist/model/index.mjs +1 -1
  110. package/dist/model/model.d.ts +3 -3
  111. package/dist/services/color-scale-utils.d.ts +1 -1
  112. package/dist/services/curves.d.ts +18 -18
  113. package/dist/services/essentials/dom-utils.d.ts +2 -2
  114. package/dist/services/essentials/files.d.ts +1 -1
  115. package/dist/services/essentials/transitions.d.ts +1 -1
  116. package/dist/services/index.mjs +3 -3
  117. package/dist/services/scales-cartesian.d.ts +3 -3
  118. package/dist/services/service.d.ts +1 -1
  119. package/dist/services/time-series.d.ts +1 -1
  120. package/dist/services/zoom.d.ts +1 -1
  121. package/dist/tools.d.ts +1 -1
  122. package/dist/umd/bundle.umd.js +20 -20
  123. package/dist/umd/bundle.umd.js.map +1 -1
  124. package/dist/{wordcloud-DNFY5X97.mjs → wordcloud-DQKXuKDM.mjs} +3 -3
  125. package/dist/{wordcloud-DNFY5X97.mjs.map → wordcloud-DQKXuKDM.mjs.map} +1 -1
  126. package/dist/{zoom-DlSAWtwE.mjs → zoom-DyHfBf_y.mjs} +224 -192
  127. package/dist/zoom-DyHfBf_y.mjs.map +1 -0
  128. package/package.json +13 -13
  129. package/dist/choropleth-DgRtqF2B.mjs.map +0 -1
  130. package/dist/zoom-DlSAWtwE.mjs.map +0 -1
package/dist/index.mjs CHANGED
@@ -1,103 +1,96 @@
1
- import { L as Y, m as l, M as a, N as r, t as J, x as V } from "./color-scale-utils-CbAVUUep.mjs";
2
- import { T as yt, P as Dt, Q as Lt, J as Ft, R as Pt, S as Mt, C as kt, n as Bt, U as It, y as Ht, c as Gt, O as Vt, V as Ut, f as Nt, b as Zt, g as _t, a as zt, d as Wt, W as jt, u as $t, i as Kt, s as Jt, X as Xt, Y as qt, Z as Qt, _ as Yt, $ as eo, a0 as so, a1 as to, a3 as oo, a2 as no, D as io, K as ro } from "./color-scale-utils-CbAVUUep.mjs";
1
+ import { B as Y, m as l, C as a, D as r, t as J, x as V } from "./color-scale-utils-CiW9fERh.mjs";
2
+ import { T as yt, F as Dt, G as Lt, H as Ft, I as Pt, J as Mt, K as kt, n as Bt, L as It, y as Ht, c as Gt, E as Vt, M as Ut, f as Nt, b as Zt, g as _t, a as zt, d as Wt, N as jt, u as $t, i as Kt, s as Jt, O as Xt, P as qt, Q as Qt, R as Yt, S as eo, U as so, V as to, Y as oo, W as no, X as io, Z as ro } from "./color-scale-utils-CiW9fERh.mjs";
3
3
  import { i as ho } from "./index-zSuueE1Q.mjs";
4
- import { C as Re, c as Te, A as be, B as Oe, a as fe, d as Se, e as Ae, P as xe, G as ye, H as De, b as Le, M as Fe, R as Pe, T as Me, f as ke, W as Be } from "./wordcloud-DNFY5X97.mjs";
5
- import { _ as j, r as i, q as c, L as Z, y as A, t as U, e as $, S as Ie, u as K, F as p, l as R } from "./enums-DwsxZqjR.mjs";
6
- import { A as mo, a as lo, b as po, c as Co, d as uo, f as vo, B as go, g as wo, C as Eo, h as Ro, i as To, j as bo, k as Oo, m as fo, n as So, D as Ao, o as xo, G as yo, p as Do, s as Lo, v as Fo, M as Po, w as Mo, P as ko, x as Bo, R as Io, z as Ho, H as Go, T as Vo, I as Uo, J as No, K as Zo, N as _o, O as zo, Q as Wo, U as jo, V as $o, W as Ko, Z as Jo, X as Xo, Y as qo } from "./enums-DwsxZqjR.mjs";
7
- import { a9 as He, L as ee, l as Ge, r as _, T as z, a6 as g, a7 as L, u as se, p as W, C as Ve, a as Ue, q as Ne, o as Ze, c as _e, k as te, v as ze, b as d, G as w, R as B, P as k, w as oe, X as M, _ as C, y as We, Z as I, z as je, D as $e, m as ne, E as Ke, F as Je, a0 as ie, a2 as re, S as N, Y as ae, K as he, a1 as ce, V as Xe, I as qe, J as Qe, N as Ye, B as es, O as ss, $ as ts, Q as os, M as ns, U as is, W as rs, a3 as as, a4 as hs, a5 as cs } from "./choropleth-DgRtqF2B.mjs";
8
- import { A as Yo, x as en, a8 as sn, n as tn, H as on, d as nn, e as rn, f as an, g as hn, h as cn, i as mn, j as ln, s as pn, t as dn } from "./choropleth-DgRtqF2B.mjs";
9
- import { C as ms, E as ls, F as ps, T as ds, b as Cs, a as us, Z as vs, f as gs } from "./zoom-DlSAWtwE.mjs";
10
- import { D as ws, G as Es } from "./angle-utils-CGNQcrjg.mjs";
11
- import { S as un, d as vn, a as gn, p as wn, b as En, r as Rn } from "./angle-utils-CGNQcrjg.mjs";
12
- function Rs(o, e, s) {
13
- var n = -1, t = o.length;
14
- e < 0 && (e = -e > t ? 0 : t + e), s = s > t ? t : s, s < 0 && (s += t), t = e > s ? 0 : s - e >>> 0, e >>>= 0;
15
- for (var h = Array(t); ++n < t; )
16
- h[n] = o[n + e];
17
- return h;
4
+ import { C as Re, c as Te, A as be, B as Oe, a as Se, d as fe, e as Ae, P as xe, G as ye, H as De, b as Le, M as Fe, R as Pe, T as Me, f as ke, W as Be } from "./wordcloud-DQKXuKDM.mjs";
5
+ import { _ as j, r as i, q as h, L as Z, y as A, t as U, e as $, S as Ie, u as K, F as p, l as R } from "./enums-DwsxZqjR.mjs";
6
+ import { A as mo, a as lo, b as po, c as Co, d as uo, f as vo, B as go, g as wo, C as Eo, h as Ro, i as To, j as bo, k as Oo, m as So, n as fo, D as Ao, o as xo, G as yo, p as Do, s as Lo, v as Fo, M as Po, w as Mo, P as ko, x as Bo, R as Io, z as Ho, H as Go, T as Vo, I as Uo, J as No, K as Zo, N as _o, O as zo, Q as Wo, U as jo, V as $o, W as Ko, Z as Jo, X as Xo, Y as qo } from "./enums-DwsxZqjR.mjs";
7
+ import { a9 as He, L as ee, l as Ge, r as _, T as z, a6 as g, a7 as L, u as se, p as W, C as Ve, a as Ue, q as Ne, o as Ze, c as _e, k as te, v as ze, b as d, G as w, R as B, P as k, w as oe, X as M, _ as C, y as We, Z as I, z as je, D as $e, m as ne, E as Ke, F as Je, a0 as ie, a2 as re, S as N, Y as ae, K as he, a1 as ce, V as Xe, I as qe, J as Qe, N as Ye, B as es, O as ss, $ as ts, Q as os, M as ns, U as is, W as rs, a3 as as, a4 as hs, a5 as cs } from "./choropleth-DdBUe80H.mjs";
8
+ import { A as Yo, x as en, a8 as sn, n as tn, H as on, d as nn, e as rn, f as an, g as hn, h as cn, i as mn, j as ln, s as pn, t as dn } from "./choropleth-DdBUe80H.mjs";
9
+ import { c as ms, C as ls, E as ps, F as ds, T as Cs, b as us, a as vs, Z as gs, f as ws } from "./zoom-DyHfBf_y.mjs";
10
+ import { D as Es, G as Rs } from "./angle-utils-GQFx3vKM.mjs";
11
+ import { S as un, d as vn, a as gn, p as wn, b as En, r as Rn } from "./angle-utils-GQFx3vKM.mjs";
12
+ function Ts(t, s, e) {
13
+ var n = t.length;
14
+ return e = e === void 0 ? n : e, !s && e >= n ? t : ms(t, s, e);
18
15
  }
19
- function Ts(o, e, s) {
20
- var n = o.length;
21
- return s = s === void 0 ? n : s, !e && s >= n ? o : Rs(o, e, s);
16
+ var bs = "\\ud800-\\udfff", Os = "\\u0300-\\u036f", Ss = "\\ufe20-\\ufe2f", fs = "\\u20d0-\\u20ff", As = Os + Ss + fs, xs = "\\ufe0e\\ufe0f", ys = "\\u200d", Ds = RegExp("[" + ys + bs + As + xs + "]");
17
+ function me(t) {
18
+ return Ds.test(t);
22
19
  }
23
- var bs = "\\ud800-\\udfff", Os = "\\u0300-\\u036f", fs = "\\ufe20-\\ufe2f", Ss = "\\u20d0-\\u20ff", As = Os + fs + Ss, xs = "\\ufe0e\\ufe0f", ys = "\\u200d", Ds = RegExp("[" + ys + bs + As + xs + "]");
24
- function me(o) {
25
- return Ds.test(o);
26
- }
27
- function Ls(o) {
28
- return o.split("");
20
+ function Ls(t) {
21
+ return t.split("");
29
22
  }
30
23
  var le = "\\ud800-\\udfff", Fs = "\\u0300-\\u036f", Ps = "\\ufe20-\\ufe2f", Ms = "\\u20d0-\\u20ff", ks = Fs + Ps + Ms, Bs = "\\ufe0e\\ufe0f", Is = "[" + le + "]", X = "[" + ks + "]", q = "\\ud83c[\\udffb-\\udfff]", Hs = "(?:" + X + "|" + q + ")", pe = "[^" + le + "]", de = "(?:\\ud83c[\\udde6-\\uddff]){2}", Ce = "[\\ud800-\\udbff][\\udc00-\\udfff]", Gs = "\\u200d", ue = Hs + "?", ve = "[" + Bs + "]?", Vs = "(?:" + Gs + "(?:" + [pe, de, Ce].join("|") + ")" + ve + ue + ")*", Us = ve + ue + Vs, Ns = "(?:" + [pe + X + "?", X, de, Ce, Is].join("|") + ")", Zs = RegExp(q + "(?=" + q + ")|" + Ns + Us, "g");
31
- function _s(o) {
32
- return o.match(Zs) || [];
24
+ function _s(t) {
25
+ return t.match(Zs) || [];
33
26
  }
34
- function zs(o) {
35
- return me(o) ? _s(o) : Ls(o);
27
+ function zs(t) {
28
+ return me(t) ? _s(t) : Ls(t);
36
29
  }
37
- function Ws(o) {
38
- return function(e) {
39
- e = Y(e);
40
- var s = me(e) ? zs(e) : void 0, n = s ? s[0] : e.charAt(0), t = s ? Ts(s, 1).join("") : e.slice(1);
41
- return n[o]() + t;
30
+ function Ws(t) {
31
+ return function(s) {
32
+ s = Y(s);
33
+ var e = me(s) ? zs(s) : void 0, n = e ? e[0] : s.charAt(0), o = e ? Ts(e, 1).join("") : s.slice(1);
34
+ return n[t]() + o;
42
35
  };
43
36
  }
44
37
  var js = Ws("toUpperCase");
45
- function $s(o) {
46
- return js(Y(o).toLowerCase());
38
+ function $s(t) {
39
+ return js(Y(t).toLowerCase());
47
40
  }
48
- var Ks = He(function(o, e, s) {
49
- return e = e.toLowerCase(), o + (s ? $s(e) : e);
41
+ var Ks = He(function(t, s, e) {
42
+ return s = s.toLowerCase(), t + (e ? $s(s) : s);
50
43
  });
51
44
  class T {
52
45
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
53
46
  // @ts-ignore
54
47
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
55
- constructor(e, s) {
48
+ constructor(s, e) {
56
49
  this.components = [], this.services = {
57
- canvasZoom: ms,
58
- domUtils: ws,
59
- events: ls,
60
- files: ps,
61
- gradientUtils: Es,
62
- transitions: ds
50
+ canvasZoom: ls,
51
+ domUtils: Es,
52
+ events: ps,
53
+ files: ds,
54
+ gradientUtils: Rs,
55
+ transitions: Cs
63
56
  }, this.model = new Re(this.services);
64
57
  }
65
58
  // Contains the code that uses properties that are overridable by the super-class
66
- init(e, s) {
67
- this.model.set({ holder: e }, { skipUpdate: !0 }), Object.keys(this.services).forEach((n) => {
68
- const t = this.services[n];
69
- this.services[n] = new t(this.model, this.services);
59
+ init(s, e) {
60
+ this.model.set({ holder: s }, { skipUpdate: !0 }), Object.keys(this.services).forEach((n) => {
61
+ const o = this.services[n];
62
+ this.services[n] = new o(this.model, this.services);
70
63
  }), this.services.events.addEventListener(j.Model.UPDATE, (n) => {
71
- const t = !!l(n, "detail", "animate");
72
- this.update(t);
73
- }), this.model.setData(s.data), this.services.events.addEventListener(j.Chart.RESIZE, () => {
64
+ const o = !!l(n, "detail", "animate");
65
+ this.update(o);
66
+ }), this.model.setData(e.data), this.services.events.addEventListener(j.Chart.RESIZE, () => {
74
67
  this.update(!1);
75
68
  }), this.components = this.getComponents(), this.update();
76
69
  }
77
70
  getComponents() {
78
71
  return console.error("getComponents() method is not implemented"), [];
79
72
  }
80
- update(e = !0) {
73
+ update(s = !0) {
81
74
  if (!this.components)
82
75
  return;
83
- Object.keys(this.services).forEach((t) => {
84
- this.services[t].update();
85
- }), this.components.forEach((t) => t.render(e));
86
- const s = this.services.transitions.getPendingTransitions(), n = Object.keys(s).map((t) => s[t].end().catch((m) => m));
76
+ Object.keys(this.services).forEach((o) => {
77
+ this.services[o].update();
78
+ }), this.components.forEach((o) => o.render(s));
79
+ const e = this.services.transitions.getPendingTransitions(), n = Object.keys(e).map((o) => e[o].end().catch((m) => m));
87
80
  Promise.all(n).then(
88
81
  () => this.services.events.dispatchEvent(j.Chart.RENDER_FINISHED)
89
82
  );
90
83
  }
91
84
  destroy() {
92
- this.components.forEach((e) => e.destroy()), this.services.domUtils.getHolder().remove(), this.model.set({ destroyed: !0 }, { skipUpdate: !0 });
85
+ this.components.forEach((s) => s.destroy()), this.services.domUtils.getHolder().remove(), this.model.set({ destroyed: !0 }, { skipUpdate: !0 });
93
86
  }
94
- getChartComponents(e, s) {
95
- const n = this.model.getOptions(), t = l(n, "toolbar", "enabled"), h = {
87
+ getChartComponents(s, e) {
88
+ const n = this.model.getOptions(), o = l(n, "toolbar", "enabled"), c = {
96
89
  id: "legend",
97
90
  components: [new ee(this.model, this.services)],
98
91
  growth: i.PREFERRED
99
92
  }, m = l(n, "canvasZoom", "enabled");
100
- m && m === !0 && e.push(new Ge(this.model, this.services));
93
+ m && m === !0 && s.push(new Ge(this.model, this.services));
101
94
  const b = !!this.model.getOptions().title, O = {
102
95
  id: "title",
103
96
  components: [new _(this.model, this.services)],
@@ -115,10 +108,10 @@ class T {
115
108
  [
116
109
  // always add title to keep layout correct
117
110
  O,
118
- ...t ? [x] : []
111
+ ...o ? [x] : []
119
112
  ],
120
113
  {
121
- direction: c.ROW,
114
+ direction: h.ROW,
122
115
  alignItems: Z.CENTER
123
116
  }
124
117
  )
@@ -126,14 +119,14 @@ class T {
126
119
  growth: i.PREFERRED
127
120
  }, y = {
128
121
  id: "graph-frame",
129
- components: e,
122
+ components: s,
130
123
  growth: i.STRETCH,
131
- renderType: l(s, "graphFrameRenderType") || A.SVG
132
- }, D = l(s, "excludeLegend") !== !0 && n.legend.enabled !== !1;
133
- let f = c.COLUMN;
124
+ renderType: l(e, "graphFrameRenderType") || A.SVG
125
+ }, D = l(e, "excludeLegend") !== !0 && n.legend.enabled !== !1;
126
+ let S = h.COLUMN;
134
127
  if (D) {
135
- const S = l(n, "legend", "position");
136
- S === "left" ? (f = c.ROW, n.legend.orientation || (n.legend.orientation = U.VERTICAL)) : S === "right" ? (f = c.ROW_REVERSE, n.legend.orientation || (n.legend.orientation = U.VERTICAL)) : S === "bottom" && (f = c.COLUMN_REVERSE);
128
+ const f = l(n, "legend", "position");
129
+ f === "left" ? (S = h.ROW, n.legend.orientation || (n.legend.orientation = U.VERTICAL)) : f === "right" ? (S = h.ROW_REVERSE, n.legend.orientation || (n.legend.orientation = U.VERTICAL)) : f === "bottom" && (S = h.COLUMN_REVERSE);
137
130
  }
138
131
  const P = {
139
132
  id: "spacer",
@@ -146,49 +139,49 @@ class T {
146
139
  this.model,
147
140
  this.services,
148
141
  [
149
- ...D ? [h] : [],
142
+ ...D ? [c] : [],
150
143
  ...D ? [P] : [],
151
144
  y
152
145
  ],
153
146
  {
154
- direction: f
147
+ direction: S
155
148
  }
156
149
  )
157
150
  ],
158
151
  growth: i.STRETCH
159
152
  }, E = [];
160
- if (b || t) {
153
+ if (b || o) {
161
154
  E.push(F);
162
- const S = {
155
+ const f = {
163
156
  id: "spacer",
164
157
  components: [
165
- new L(this.model, this.services, t ? { size: 15 } : void 0)
158
+ new L(this.model, this.services, o ? { size: 15 } : void 0)
166
159
  ],
167
160
  growth: i.PREFERRED
168
161
  };
169
- E.push(S);
162
+ E.push(f);
170
163
  }
171
164
  return E.push(v), [
172
165
  new se(this.model, this.services),
173
166
  new W(this.model, this.services),
174
167
  new g(this.model, this.services, E, {
175
- direction: c.COLUMN
168
+ direction: h.COLUMN
176
169
  })
177
170
  ];
178
171
  }
179
172
  }
180
173
  class u extends T {
181
- constructor(e, s) {
182
- super(e, s), this.services = Object.assign(this.services, {
183
- cartesianScales: Cs,
184
- curves: us,
185
- zoom: vs
174
+ constructor(s, e) {
175
+ super(s, e), this.services = Object.assign(this.services, {
176
+ cartesianScales: us,
177
+ curves: vs,
178
+ zoom: gs
186
179
  }), this.model = new Te(this.services);
187
180
  }
188
- getAxisChartComponents(e, s) {
189
- const n = this.model.getOptions(), t = l(n, "zoomBar", $.TOP, "enabled"), h = l(n, "toolbar", "enabled");
181
+ getAxisChartComponents(s, e) {
182
+ const n = this.model.getOptions(), o = l(n, "zoomBar", $.TOP, "enabled"), c = l(n, "toolbar", "enabled");
190
183
  this.services.cartesianScales.determineAxisDuality(), this.services.cartesianScales.findDomainAndRangeAxes(), this.services.cartesianScales.determineOrientation();
191
- const m = this.services.cartesianScales.getMainXAxisPosition(), b = l(n, "axes", m, "scaleType"), O = t && m === $.BOTTOM && b === Ie.TIME, x = this.services.zoom.isZoomBarLocked($.TOP), F = !!this.model.getOptions().title, y = {
184
+ const m = this.services.cartesianScales.getMainXAxisPosition(), b = l(n, "axes", m, "scaleType"), O = o && m === $.BOTTOM && b === Ie.TIME, x = this.services.zoom.isZoomBarLocked($.TOP), F = !!this.model.getOptions().title, y = {
192
185
  id: "title",
193
186
  components: [new _(this.model, this.services)],
194
187
  growth: i.STRETCH
@@ -196,7 +189,7 @@ class u extends T {
196
189
  id: "toolbar",
197
190
  components: [new z(this.model, this.services)],
198
191
  growth: i.PREFERRED
199
- }, f = {
192
+ }, S = {
200
193
  id: "header",
201
194
  components: [
202
195
  new g(
@@ -205,10 +198,10 @@ class u extends T {
205
198
  [
206
199
  // always add title to keep layout correct
207
200
  y,
208
- ...h ? [D] : []
201
+ ...c ? [D] : []
209
202
  ],
210
203
  {
211
- direction: c.ROW,
204
+ direction: h.ROW,
212
205
  alignItems: Z.CENTER
213
206
  }
214
207
  )
@@ -219,20 +212,20 @@ class u extends T {
219
212
  components: [new ee(this.model, this.services)],
220
213
  growth: i.PREFERRED
221
214
  };
222
- O && !x && e.push(
215
+ O && !x && s.push(
223
216
  new Ve(this.model, this.services),
224
217
  new Ue(this.model, this.services)
225
- ), e.push(new Ne(this.model, this.services)), e.push(new Ze(this.model, this.services));
218
+ ), s.push(new Ne(this.model, this.services)), s.push(new Ze(this.model, this.services));
226
219
  const v = {
227
220
  id: "graph-frame",
228
- components: e,
221
+ components: s,
229
222
  growth: i.STRETCH,
230
223
  renderType: A.SVG
231
- }, E = l(s, "legend", "enabled") !== !1 && this.model.getOptions().legend.enabled !== !1;
232
- let S = c.COLUMN;
224
+ }, E = l(e, "legend", "enabled") !== !1 && this.model.getOptions().legend.enabled !== !1;
225
+ let f = h.COLUMN;
233
226
  if (E) {
234
227
  const G = l(this.model.getOptions(), "legend", "position");
235
- G === K.LEFT ? (S = c.ROW, this.model.getOptions().legend.orientation || (this.model.getOptions().legend.orientation = U.VERTICAL)) : G === K.RIGHT ? (S = c.ROW_REVERSE, this.model.getOptions().legend.orientation || (this.model.getOptions().legend.orientation = U.VERTICAL)) : G === K.BOTTOM && (S = c.COLUMN_REVERSE);
228
+ G === K.LEFT ? (f = h.ROW, this.model.getOptions().legend.orientation || (this.model.getOptions().legend.orientation = U.VERTICAL)) : G === K.RIGHT ? (f = h.ROW_REVERSE, this.model.getOptions().legend.orientation || (this.model.getOptions().legend.orientation = U.VERTICAL)) : G === K.BOTTOM && (f = h.COLUMN_REVERSE);
236
229
  }
237
230
  const ge = {
238
231
  id: "spacer",
@@ -250,7 +243,7 @@ class u extends T {
250
243
  v
251
244
  ],
252
245
  {
253
- direction: S
246
+ direction: f
254
247
  }
255
248
  )
256
249
  ],
@@ -261,12 +254,12 @@ class u extends T {
261
254
  growth: i.PREFERRED,
262
255
  renderType: A.SVG
263
256
  }, H = [];
264
- if (F || h) {
265
- H.push(f);
257
+ if (F || c) {
258
+ H.push(S);
266
259
  const G = {
267
260
  id: "spacer",
268
261
  components: [
269
- new L(this.model, this.services, h ? { size: 15 } : void 0)
262
+ new L(this.model, this.services, c ? { size: 15 } : void 0)
270
263
  ],
271
264
  growth: i.PREFERRED
272
265
  };
@@ -276,30 +269,30 @@ class u extends T {
276
269
  new te(this.model, this.services),
277
270
  new W(this.model, this.services),
278
271
  new g(this.model, this.services, H, {
279
- direction: c.COLUMN
272
+ direction: h.COLUMN
280
273
  })
281
274
  ];
282
275
  }
283
276
  }
284
277
  class tt extends T {
285
- constructor(e, s) {
286
- super(e, s), this.model = new be(this.services), this.model.setOptions(a(r.alluvialChart, s.options)), this.init(e, s);
278
+ constructor(s, e) {
279
+ super(s, e), this.model = new be(this.services), this.model.setOptions(a(r.alluvialChart, e.options)), this.init(s, e);
287
280
  }
288
281
  getComponents() {
289
- const e = [new ze(this.model, this.services)];
290
- return this.getChartComponents(e, {
282
+ const s = [new ze(this.model, this.services)];
283
+ return this.getChartComponents(s, {
291
284
  excludeLegend: !0
292
285
  });
293
286
  }
294
287
  }
295
288
  class ot extends u {
296
- constructor(e, s) {
297
- super(e, s), this.model.setOptions(
298
- a(J(r.areaChart), s.options)
299
- ), this.init(e, s);
289
+ constructor(s, e) {
290
+ super(s, e), this.model.setOptions(
291
+ a(J(r.areaChart), e.options)
292
+ ), this.init(s, e);
300
293
  }
301
294
  getComponents() {
302
- const e = [
295
+ const s = [
303
296
  new d(this.model, this.services),
304
297
  new w(this.model, this.services),
305
298
  new B(this.model, this.services),
@@ -313,15 +306,15 @@ class ot extends u {
313
306
  skeleton: p.GRID
314
307
  })
315
308
  ];
316
- return this.getAxisChartComponents(e);
309
+ return this.getAxisChartComponents(s);
317
310
  }
318
311
  }
319
312
  class nt extends u {
320
- constructor(e, s) {
321
- super(e, s), this.model = new Oe(this.services), this.model.setOptions(a(r.boxplotChart, s.options)), this.init(e, s);
313
+ constructor(s, e) {
314
+ super(s, e), this.model = new Oe(this.services), this.model.setOptions(a(r.boxplotChart, e.options)), this.init(s, e);
322
315
  }
323
316
  getComponents() {
324
- const e = [
317
+ const s = [
325
318
  new d(this.model, this.services),
326
319
  new w(this.model, this.services),
327
320
  new We(this.model, this.services),
@@ -330,7 +323,7 @@ class nt extends u {
330
323
  skeleton: p.VERT_OR_HORIZ
331
324
  })
332
325
  ];
333
- return this.getAxisChartComponents(e, {
326
+ return this.getAxisChartComponents(s, {
334
327
  legend: {
335
328
  enabled: !1
336
329
  }
@@ -338,11 +331,11 @@ class nt extends u {
338
331
  }
339
332
  }
340
333
  class it extends u {
341
- constructor(e, s) {
342
- super(e, s), this.model.setOptions(a(r.bubbleChart, s.options)), this.init(e, s);
334
+ constructor(s, e) {
335
+ super(s, e), this.model.setOptions(a(r.bubbleChart, e.options)), this.init(s, e);
343
336
  }
344
337
  getComponents() {
345
- const e = [
338
+ const s = [
346
339
  new d(this.model, this.services),
347
340
  new w(this.model, this.services),
348
341
  new B(this.model, this.services),
@@ -351,15 +344,15 @@ class it extends u {
351
344
  skeleton: p.GRID
352
345
  })
353
346
  ];
354
- return this.getAxisChartComponents(e);
347
+ return this.getAxisChartComponents(s);
355
348
  }
356
349
  }
357
350
  class rt extends u {
358
- constructor(e, s) {
359
- super(e, s), this.model = new fe(this.services), this.model.setOptions(a(r.bulletChart, s.options)), this.init(e, s);
351
+ constructor(s, e) {
352
+ super(s, e), this.model = new Se(this.services), this.model.setOptions(a(r.bulletChart, e.options)), this.init(s, e);
360
353
  }
361
354
  getComponents() {
362
- const e = [
355
+ const s = [
363
356
  new d(this.model, this.services),
364
357
  new w(this.model, this.services),
365
358
  new $e(this.model, this.services),
@@ -367,19 +360,19 @@ class rt extends u {
367
360
  skeleton: p.GRID
368
361
  })
369
362
  ];
370
- return this.getAxisChartComponents(e);
363
+ return this.getAxisChartComponents(s);
371
364
  }
372
365
  }
373
366
  class at extends T {
374
- constructor(e, s) {
375
- super(e, s), this.model = new Se(this.services), this.model.setOptions(
376
- a(r.choroplethChart, s.options)
377
- ), this.init(e, s);
367
+ constructor(s, e) {
368
+ super(s, e), this.model = new fe(this.services), this.model.setOptions(
369
+ a(r.choroplethChart, e.options)
370
+ ), this.init(s, e);
378
371
  }
379
372
  // Custom getChartComponents - Implements getChartComponents
380
373
  // Removes zoombar support and additional `features` that are not supported in heatmap
381
- getChartComponents(e, s) {
382
- const n = this.model.getOptions(), t = l(n, "toolbar", "enabled"), h = !!this.model.getOptions().title, m = {
374
+ getChartComponents(s, e) {
375
+ const n = this.model.getOptions(), o = l(n, "toolbar", "enabled"), c = !!this.model.getOptions().title, m = {
383
376
  id: "title",
384
377
  components: [new _(this.model, this.services)],
385
378
  growth: i.STRETCH
@@ -396,10 +389,10 @@ class at extends T {
396
389
  [
397
390
  // always add title to keep layout correct
398
391
  m,
399
- ...t ? [b] : []
392
+ ...o ? [b] : []
400
393
  ],
401
394
  {
402
- direction: c.ROW,
395
+ direction: h.ROW,
403
396
  alignItems: Z.CENTER
404
397
  }
405
398
  )
@@ -416,10 +409,10 @@ class at extends T {
416
409
  renderType: A.SVG
417
410
  }, F = {
418
411
  id: "graph-frame",
419
- components: e,
412
+ components: s,
420
413
  growth: i.STRETCH,
421
414
  renderType: A.SVG
422
- }, y = l(s, "legend", "enabled") !== !1 && this.model.getOptions().legend.enabled !== !1 && this.model.getData().length > 0, D = c.COLUMN_REVERSE, f = {
415
+ }, y = l(e, "legend", "enabled") !== !1 && this.model.getOptions().legend.enabled !== !1 && this.model.getData().length > 0, D = h.COLUMN_REVERSE, S = {
423
416
  id: "spacer",
424
417
  components: [new L(this.model, this.services, { size: 15 })],
425
418
  growth: i.PREFERRED
@@ -431,7 +424,7 @@ class at extends T {
431
424
  this.services,
432
425
  [
433
426
  ...y ? [x] : [],
434
- ...y ? [f] : [],
427
+ ...y ? [S] : [],
435
428
  F
436
429
  ],
437
430
  {
@@ -441,12 +434,12 @@ class at extends T {
441
434
  ],
442
435
  growth: i.STRETCH
443
436
  }, v = [];
444
- if (h || t) {
437
+ if (c || o) {
445
438
  v.push(O);
446
439
  const E = {
447
440
  id: "spacer",
448
441
  components: [
449
- new L(this.model, this.services, t ? { size: 15 } : void 0)
442
+ new L(this.model, this.services, o ? { size: 15 } : void 0)
450
443
  ],
451
444
  growth: i.PREFERRED
452
445
  };
@@ -456,22 +449,22 @@ class at extends T {
456
449
  new se(this.model, this.services),
457
450
  new W(this.model, this.services),
458
451
  new g(this.model, this.services, v, {
459
- direction: c.COLUMN
452
+ direction: h.COLUMN
460
453
  })
461
454
  ];
462
455
  }
463
456
  getComponents() {
464
- const e = [new Ke(this.model, this.services)];
465
- return this.getChartComponents(e);
457
+ const s = [new Ke(this.model, this.services)];
458
+ return this.getChartComponents(s);
466
459
  }
467
460
  }
468
461
  class ht extends T {
469
- constructor(e, s) {
470
- super(e, s), this.model = new Ae(this.services), this.model.setOptions(a(r.circlePackChart, s.options)), this.init(e, s);
462
+ constructor(s, e) {
463
+ super(s, e), this.model = new Ae(this.services), this.model.setOptions(a(r.circlePackChart, e.options)), this.init(s, e);
471
464
  }
472
465
  getComponents() {
473
- const e = [new Je(this.model, this.services)];
474
- return this.getChartComponents(e);
466
+ const s = [new Je(this.model, this.services)];
467
+ return this.getChartComponents(s);
475
468
  }
476
469
  }
477
470
  const Q = {
@@ -484,51 +477,51 @@ const Q = {
484
477
  [R.STACKED_BAR]: [ce, N]
485
478
  };
486
479
  class ct extends u {
487
- constructor(e, s) {
488
- super(e, s);
489
- const n = a(r.comboChart, s.options);
490
- s.options.comboChartTypes || (console.error("No comboChartTypes defined for the Combo Chart!"), n.comboChartTypes = [{ type: R.LINE, correspondingDatasets: [] }]), this.model.setOptions(n), this.init(e, s);
480
+ constructor(s, e) {
481
+ super(s, e);
482
+ const n = a(r.comboChart, e.options);
483
+ e.options.comboChartTypes || (console.error("No comboChartTypes defined for the Combo Chart!"), n.comboChartTypes = [{ type: R.LINE, correspondingDatasets: [] }]), this.model.setOptions(n), this.init(s, e);
491
484
  }
492
485
  getGraphComponents() {
493
- const { comboChartTypes: e } = this.model.getOptions();
494
- let s = 0;
495
- const n = e.map((t) => {
496
- const h = t.type;
486
+ const { comboChartTypes: s } = this.model.getOptions();
487
+ let e = 0;
488
+ const n = s.map((o) => {
489
+ const c = o.type;
497
490
  let m;
498
- if (typeof t.type == "string") {
499
- if (!Object.keys(Q).includes(t.type))
491
+ if (typeof o.type == "string") {
492
+ if (!Object.keys(Q).includes(o.type))
500
493
  return console.error(
501
- `Invalid chart type "${t.type}" specified for combo chart. Please refer to the ComboChart tutorial for more guidance.`
494
+ `Invalid chart type "${o.type}" specified for combo chart. Please refer to the ComboChart tutorial for more guidance.`
502
495
  ), null;
503
496
  let b = !1;
504
- const O = `${Ks(t.type)}Chart`;
505
- return m = V({}, r[O], this.model.getOptions(), t.options), t.type === R.STACKED_AREA && (b = !0), Q[t.type].map(
497
+ const O = `${Ks(o.type)}Chart`;
498
+ return m = V({}, r[O], this.model.getOptions(), o.options), o.type === R.STACKED_AREA && (b = !0), Q[o.type].map(
506
499
  (x) => new x(this.model, this.services, {
507
- groups: t.correspondingDatasets,
508
- id: s++,
500
+ groups: o.correspondingDatasets,
501
+ id: e++,
509
502
  options: m,
510
503
  stacked: b
511
504
  })
512
505
  );
513
506
  } else
514
- return m = V({}, this.model.getOptions(), t.options), new h(this.model, this.services, {
515
- groups: t.correspondingDatasets,
516
- id: s++,
507
+ return m = V({}, this.model.getOptions(), o.options), new c(this.model, this.services, {
508
+ groups: o.correspondingDatasets,
509
+ id: e++,
517
510
  options: m
518
511
  });
519
- }).filter((t) => t !== null);
520
- return gs(n);
512
+ }).filter((o) => o !== null);
513
+ return ws(n);
521
514
  }
522
515
  getComponents() {
523
- const { comboChartTypes: e } = this.model.getOptions(), s = e.some(
524
- (h) => h.type === R.STACKED_BAR || h.type === R.STACKED_AREA
516
+ const { comboChartTypes: s } = this.model.getOptions(), e = s.some(
517
+ (c) => c.type === R.STACKED_BAR || c.type === R.STACKED_AREA
525
518
  ), n = [
526
519
  new d(this.model, this.services),
527
520
  new w(this.model, this.services),
528
521
  new C(this.model, this.services, {
529
522
  skeleton: p.GRID
530
523
  }),
531
- ...s ? [] : [new B(this.model, this.services)],
524
+ ...e ? [] : [new B(this.model, this.services)],
532
525
  ...this.getGraphComponents()
533
526
  ];
534
527
  return this.getAxisChartComponents(n);
@@ -536,48 +529,48 @@ class ct extends u {
536
529
  }
537
530
  class Js extends T {
538
531
  // TODO - Optimize the use of "extending"
539
- constructor(e, s, n = !1) {
540
- super(e, s), this.model = new xe(this.services), !n && (this.model.setOptions(a(r.pieChart, s.options)), this.init(e, s));
532
+ constructor(s, e, n = !1) {
533
+ super(s, e), this.model = new xe(this.services), !n && (this.model.setOptions(a(r.pieChart, e.options)), this.init(s, e));
541
534
  }
542
535
  getComponents() {
543
- const e = [
536
+ const s = [
544
537
  new Xe(this.model, this.services),
545
538
  new C(this.model, this.services, {
546
539
  skeleton: p.PIE
547
540
  })
548
541
  ];
549
- return this.getChartComponents(e);
542
+ return this.getChartComponents(s);
550
543
  }
551
544
  }
552
545
  class mt extends Js {
553
- constructor(e, s) {
554
- super(e, s, !0), this.model.setOptions(a(r.donutChart, s.options)), this.init(e, s);
546
+ constructor(s, e) {
547
+ super(s, e, !0), this.model.setOptions(a(r.donutChart, e.options)), this.init(s, e);
555
548
  }
556
549
  getComponents() {
557
- const e = [
550
+ const s = [
558
551
  new qe(this.model, this.services),
559
552
  new C(this.model, this.services, {
560
553
  skeleton: p.DONUT
561
554
  })
562
555
  ];
563
- return this.getChartComponents(e);
556
+ return this.getChartComponents(s);
564
557
  }
565
558
  }
566
559
  class lt extends T {
567
- constructor(e, s) {
568
- super(e, s), this.model = new ye(this.services), this.model.setOptions(a(r.gaugeChart, s.options)), this.init(e, s);
560
+ constructor(s, e) {
561
+ super(s, e), this.model = new ye(this.services), this.model.setOptions(a(r.gaugeChart, e.options)), this.init(s, e);
569
562
  }
570
563
  getComponents() {
571
- const e = [new Qe(this.model, this.services)];
572
- return this.getChartComponents(e);
564
+ const s = [new Qe(this.model, this.services)];
565
+ return this.getChartComponents(s);
573
566
  }
574
567
  }
575
568
  class pt extends u {
576
- constructor(e, s) {
577
- super(e, s), this.model.setOptions(a(r.groupedBarChart, s.options)), this.init(e, s);
569
+ constructor(s, e) {
570
+ super(s, e), this.model.setOptions(a(r.groupedBarChart, e.options)), this.init(s, e);
578
571
  }
579
572
  getComponents() {
580
- const e = [
573
+ const s = [
581
574
  new d(this.model, this.services),
582
575
  new w(this.model, this.services),
583
576
  new he(this.model, this.services),
@@ -586,21 +579,21 @@ class pt extends u {
586
579
  skeleton: p.VERT_OR_HORIZ
587
580
  })
588
581
  ];
589
- return this.getAxisChartComponents(e);
582
+ return this.getAxisChartComponents(s);
590
583
  }
591
584
  }
592
585
  class dt extends u {
593
- constructor(e, s) {
594
- super(e, s), this.model = new De(this.services), this.model.setOptions(
595
- a(r.heatmapChart, s.options)
596
- ), this.init(e, s);
586
+ constructor(s, e) {
587
+ super(s, e), this.model = new De(this.services), this.model.setOptions(
588
+ a(r.heatmapChart, e.options)
589
+ ), this.init(s, e);
597
590
  }
598
591
  // Custom getChartComponents - Implements getChartComponents
599
592
  // Removes zoombar support and additional `features` that are not supported in heatmap
600
- getAxisChartComponents(e, s) {
601
- const n = this.model.getOptions(), t = l(n, "toolbar", "enabled");
593
+ getAxisChartComponents(s, e) {
594
+ const n = this.model.getOptions(), o = l(n, "toolbar", "enabled");
602
595
  this.services.cartesianScales.determineAxisDuality(), this.services.cartesianScales.findDomainAndRangeAxes(), this.services.cartesianScales.determineOrientation();
603
- const h = !!this.model.getOptions().title, m = {
596
+ const c = !!this.model.getOptions().title, m = {
604
597
  id: "title",
605
598
  components: [new _(this.model, this.services)],
606
599
  growth: i.STRETCH
@@ -617,10 +610,10 @@ class dt extends u {
617
610
  [
618
611
  // always add title to keep layout correct
619
612
  m,
620
- ...t ? [b] : []
613
+ ...o ? [b] : []
621
614
  ],
622
615
  {
623
- direction: c.ROW,
616
+ direction: h.ROW,
624
617
  alignItems: Z.CENTER
625
618
  }
626
619
  )
@@ -637,10 +630,10 @@ class dt extends u {
637
630
  renderType: A.SVG
638
631
  }, F = {
639
632
  id: "graph-frame",
640
- components: e,
633
+ components: s,
641
634
  growth: i.STRETCH,
642
635
  renderType: A.SVG
643
- }, y = l(s, "legend", "enabled") !== !1 && this.model.getOptions().legend.enabled !== !1 && this.model.getData().length > 0, D = c.COLUMN_REVERSE, f = {
636
+ }, y = l(e, "legend", "enabled") !== !1 && this.model.getOptions().legend.enabled !== !1 && this.model.getData().length > 0, D = h.COLUMN_REVERSE, S = {
644
637
  id: "spacer",
645
638
  components: [new L(this.model, this.services, { size: 15 })],
646
639
  growth: i.PREFERRED
@@ -652,7 +645,7 @@ class dt extends u {
652
645
  this.services,
653
646
  [
654
647
  ...y ? [x] : [],
655
- ...y ? [f] : [],
648
+ ...y ? [S] : [],
656
649
  F
657
650
  ],
658
651
  {
@@ -662,12 +655,12 @@ class dt extends u {
662
655
  ],
663
656
  growth: i.STRETCH
664
657
  }, v = [];
665
- if (h || t) {
658
+ if (c || o) {
666
659
  v.push(O);
667
660
  const E = {
668
661
  id: "spacer",
669
662
  components: [
670
- new L(this.model, this.services, t ? { size: 15 } : void 0)
663
+ new L(this.model, this.services, o ? { size: 15 } : void 0)
671
664
  ],
672
665
  growth: i.PREFERRED
673
666
  };
@@ -677,38 +670,38 @@ class dt extends u {
677
670
  new te(this.model, this.services),
678
671
  new W(this.model, this.services),
679
672
  new g(this.model, this.services, v, {
680
- direction: c.COLUMN
673
+ direction: h.COLUMN
681
674
  })
682
675
  ];
683
676
  }
684
677
  getComponents() {
685
- const e = [
678
+ const s = [
686
679
  new d(this.model, this.services),
687
680
  new Ye(this.model, this.services)
688
681
  ];
689
- return this.getAxisChartComponents(e);
682
+ return this.getAxisChartComponents(s);
690
683
  }
691
684
  }
692
685
  class Ct extends u {
693
- constructor(e, s) {
694
- super(e, s), this.model = new Le(this.services), this.model.setOptions(a(r.histogramChart, s.options)), this.init(e, s), this.update();
686
+ constructor(s, e) {
687
+ super(s, e), this.model = new Le(this.services), this.model.setOptions(a(r.histogramChart, e.options)), this.init(s, e), this.update();
695
688
  }
696
689
  getComponents() {
697
- const e = [
690
+ const s = [
698
691
  new d(this.model, this.services),
699
692
  new w(this.model, this.services),
700
693
  new es(this.model, this.services),
701
694
  new ss(this.model, this.services)
702
695
  ];
703
- return this.getAxisChartComponents(e);
696
+ return this.getAxisChartComponents(s);
704
697
  }
705
698
  }
706
699
  class ut extends u {
707
- constructor(e, s) {
708
- super(e, s), this.model.setOptions(a(r.lineChart, s.options)), this.init(e, s);
700
+ constructor(s, e) {
701
+ super(s, e), this.model.setOptions(a(r.lineChart, e.options)), this.init(s, e);
709
702
  }
710
703
  getComponents() {
711
- const e = [
704
+ const s = [
712
705
  new d(this.model, this.services),
713
706
  new w(this.model, this.services),
714
707
  new B(this.model, this.services),
@@ -717,15 +710,15 @@ class ut extends u {
717
710
  new ts(this.model, this.services),
718
711
  new I(this.model, this.services)
719
712
  ];
720
- return this.getAxisChartComponents(e);
713
+ return this.getAxisChartComponents(s);
721
714
  }
722
715
  }
723
716
  class vt extends u {
724
- constructor(e, s) {
725
- super(e, s), this.model.setOptions(a(r.lollipopChart, s.options)), this.init(e, s);
717
+ constructor(s, e) {
718
+ super(s, e), this.model.setOptions(a(r.lollipopChart, e.options)), this.init(s, e);
726
719
  }
727
720
  getComponents() {
728
- const e = [
721
+ const s = [
729
722
  new d(this.model, this.services),
730
723
  new w(this.model, this.services),
731
724
  new B(this.model, this.services),
@@ -735,18 +728,18 @@ class vt extends u {
735
728
  skeleton: p.GRID
736
729
  })
737
730
  ];
738
- return this.getAxisChartComponents(e);
731
+ return this.getAxisChartComponents(s);
739
732
  }
740
733
  }
741
734
  class gt extends T {
742
- constructor(e, s) {
743
- var t;
744
- super(e, s), this.model = new Fe(this.services);
745
- const n = (t = s.options.meter) != null && t.proportional ? V(J(r.proportionalMeterChart), s.options) : V(J(r.meterChart), s.options);
746
- this.model.setOptions(n), this.init(e, s);
735
+ constructor(s, e) {
736
+ var o;
737
+ super(s, e), this.model = new Fe(this.services);
738
+ const n = (o = e.options.meter) != null && o.proportional ? V(J(r.proportionalMeterChart), e.options) : V(J(r.meterChart), e.options);
739
+ this.model.setOptions(n), this.init(s, e);
747
740
  }
748
741
  getComponents() {
749
- const s = [
742
+ const e = [
750
743
  ...l(this.model.getOptions(), "meter", "showLabels") ? [
751
744
  // Meter has a unique dataset title within the graph
752
745
  {
@@ -774,8 +767,8 @@ class gt extends T {
774
767
  renderType: A.SVG
775
768
  }
776
769
  ], n = [
777
- new g(this.model, this.services, s, {
778
- direction: c.COLUMN
770
+ new g(this.model, this.services, e, {
771
+ direction: h.COLUMN
779
772
  })
780
773
  ];
781
774
  return this.getChartComponents(n, {
@@ -784,20 +777,20 @@ class gt extends T {
784
777
  }
785
778
  }
786
779
  class wt extends T {
787
- constructor(e, s) {
788
- super(e, s), this.model = new Pe(this.services), this.model.setOptions(a(r.radarChart, s.options)), this.init(e, s);
780
+ constructor(s, e) {
781
+ super(s, e), this.model = new Pe(this.services), this.model.setOptions(a(r.radarChart, e.options)), this.init(s, e);
789
782
  }
790
783
  getComponents() {
791
- const e = [new rs(this.model, this.services)];
792
- return this.getChartComponents(e);
784
+ const s = [new rs(this.model, this.services)];
785
+ return this.getChartComponents(s);
793
786
  }
794
787
  }
795
788
  class Et extends u {
796
- constructor(e, s) {
797
- super(e, s), this.model.setOptions(a(r.scatterChart, s.options)), this.init(e, s);
789
+ constructor(s, e) {
790
+ super(s, e), this.model.setOptions(a(r.scatterChart, e.options)), this.init(s, e);
798
791
  }
799
792
  getComponents() {
800
- const e = [
793
+ const s = [
801
794
  new d(this.model, this.services),
802
795
  new w(this.model, this.services),
803
796
  new B(this.model, this.services),
@@ -806,35 +799,35 @@ class Et extends u {
806
799
  skeleton: p.GRID
807
800
  })
808
801
  ];
809
- return this.getAxisChartComponents(e);
802
+ return this.getAxisChartComponents(s);
810
803
  }
811
804
  }
812
805
  class Rt extends T {
813
- constructor(e, s) {
814
- super(e, s), this.model = new Me(this.services), this.model.setOptions(a(r.treeChart, s.options)), this.init(e, s);
806
+ constructor(s, e) {
807
+ super(s, e), this.model = new Me(this.services), this.model.setOptions(a(r.treeChart, e.options)), this.init(s, e);
815
808
  }
816
809
  getComponents() {
817
- const e = [new as(this.model, this.services)];
818
- return this.getChartComponents(e, {
810
+ const s = [new as(this.model, this.services)];
811
+ return this.getChartComponents(s, {
819
812
  excludeLegend: !0
820
813
  });
821
814
  }
822
815
  }
823
816
  class Tt extends T {
824
- constructor(e, s) {
825
- super(e, s), this.model = new ke(this.services), this.model.setOptions(a(r.treemapChart, s.options)), this.init(e, s);
817
+ constructor(s, e) {
818
+ super(s, e), this.model = new ke(this.services), this.model.setOptions(a(r.treemapChart, e.options)), this.init(s, e);
826
819
  }
827
820
  getComponents() {
828
- const e = [new hs(this.model, this.services)];
829
- return this.getChartComponents(e);
821
+ const s = [new hs(this.model, this.services)];
822
+ return this.getChartComponents(s);
830
823
  }
831
824
  }
832
825
  class bt extends u {
833
- constructor(e, s) {
834
- super(e, s), this.model.setOptions(a(r.simpleBarChart, s.options)), this.init(e, s);
826
+ constructor(s, e) {
827
+ super(s, e), this.model.setOptions(a(r.simpleBarChart, e.options)), this.init(s, e);
835
828
  }
836
829
  getComponents() {
837
- const e = [
830
+ const s = [
838
831
  new d(this.model, this.services),
839
832
  new w(this.model, this.services),
840
833
  new ae(this.model, this.services),
@@ -843,15 +836,15 @@ class bt extends u {
843
836
  skeleton: p.VERT_OR_HORIZ
844
837
  })
845
838
  ];
846
- return this.getAxisChartComponents(e);
839
+ return this.getAxisChartComponents(s);
847
840
  }
848
841
  }
849
842
  class Ot extends u {
850
- constructor(e, s) {
851
- super(e, s), this.model.setOptions(a(r.stackedAreaChart, s.options)), this.init(e, s);
843
+ constructor(s, e) {
844
+ super(s, e), this.model.setOptions(a(r.stackedAreaChart, e.options)), this.init(s, e);
852
845
  }
853
846
  getComponents() {
854
- const e = [
847
+ const s = [
855
848
  new d(this.model, this.services),
856
849
  new w(this.model, this.services),
857
850
  new N(this.model, this.services),
@@ -866,15 +859,15 @@ class Ot extends u {
866
859
  skeleton: p.GRID
867
860
  })
868
861
  ];
869
- return this.getAxisChartComponents(e);
862
+ return this.getAxisChartComponents(s);
870
863
  }
871
864
  }
872
- class ft extends u {
873
- constructor(e, s) {
874
- super(e, s), this.model.setOptions(a(r.stackedBarChart, s.options)), this.init(e, s);
865
+ class St extends u {
866
+ constructor(s, e) {
867
+ super(s, e), this.model.setOptions(a(r.stackedBarChart, e.options)), this.init(s, e);
875
868
  }
876
869
  getComponents() {
877
- const e = [
870
+ const s = [
878
871
  new d(this.model, this.services),
879
872
  new w(this.model, this.services),
880
873
  new N(this.model, this.services),
@@ -884,21 +877,21 @@ class ft extends u {
884
877
  }),
885
878
  new I(this.model, this.services)
886
879
  ];
887
- return this.getAxisChartComponents(e);
880
+ return this.getAxisChartComponents(s);
888
881
  }
889
882
  }
890
- class St extends T {
891
- constructor(e, s) {
892
- super(e, s), this.model = new Be(this.services), this.model.setOptions(a(r.wordCloudChart, s.options)), this.init(e, s);
883
+ class ft extends T {
884
+ constructor(s, e) {
885
+ super(s, e), this.model = new Be(this.services), this.model.setOptions(a(r.wordCloudChart, e.options)), this.init(s, e);
893
886
  }
894
887
  getComponents() {
895
- const e = [
888
+ const s = [
896
889
  new cs(this.model, this.services),
897
890
  new C(this.model, this.services, {
898
891
  skeleton: p.PIE
899
892
  })
900
893
  ];
901
- return this.getChartComponents(e);
894
+ return this.getChartComponents(s);
902
895
  }
903
896
  }
904
897
  export {
@@ -928,13 +921,13 @@ export {
928
921
  it as BubbleChart,
929
922
  $e as Bullet,
930
923
  rt as BulletChart,
931
- fe as BulletChartModel,
924
+ Se as BulletChartModel,
932
925
  Eo as CalloutDirections,
933
926
  Ge as CanvasChartClip,
934
- ms as CanvasZoom,
927
+ ls as CanvasZoom,
935
928
  Ro as CanvasZoomEvent,
936
929
  To as CartesianOrientations,
937
- Cs as CartesianScales,
930
+ us as CartesianScales,
938
931
  T as Chart,
939
932
  Ue as ChartBrush,
940
933
  Ve as ChartClip,
@@ -945,31 +938,31 @@ export {
945
938
  Oo as ChartTheme,
946
939
  R as ChartTypes,
947
940
  Ke as Choropleth,
948
- Se as ChoroplethModel,
941
+ fe as ChoroplethModel,
949
942
  Je as CirclePack,
950
943
  ht as CirclePackChart,
951
944
  Ae as CirclePackChartModel,
952
- fo as ColorClassNameTypes,
953
- So as ColorLegendType,
945
+ So as ColorClassNameTypes,
946
+ fo as ColorLegendType,
954
947
  ne as ColorScaleLegend,
955
948
  ct as ComboChart,
956
949
  sn as Component,
957
- us as Curves,
958
- ws as DOMUtils,
950
+ vs as Curves,
951
+ Es as DOMUtils,
959
952
  Ao as DividerStatus,
960
953
  xo as DominantBaseline,
961
954
  qe as Donut,
962
955
  mt as DonutChart,
963
- ls as Events,
956
+ ps as Events,
964
957
  at as ExperimentalChoroplethChart,
965
- ps as Files,
958
+ ds as Files,
966
959
  Qe as Gauge,
967
960
  lt as GaugeChart,
968
961
  ye as GaugeChartModel,
969
962
  yo as GaugeEvent,
970
963
  Do as GaugeTypes,
971
964
  tn as GeoProjection,
972
- Es as GradientUtils,
965
+ Rs as GradientUtils,
973
966
  w as Grid,
974
967
  he as GroupedBar,
975
968
  pt as GroupedBarChart,
@@ -982,7 +975,7 @@ export {
982
975
  on as HoverAxis,
983
976
  Z as LayoutAlignItems,
984
977
  g as LayoutComponent,
985
- c as LayoutDirection,
978
+ h as LayoutDirection,
986
979
  i as LayoutGrowth,
987
980
  ee as Legend,
988
981
  Lo as LegendItemType,
@@ -1025,7 +1018,7 @@ export {
1025
1018
  ie as StackedArea,
1026
1019
  Ot as StackedAreaChart,
1027
1020
  ce as StackedBar,
1028
- ft as StackedBarChart,
1021
+ St as StackedBarChart,
1029
1022
  N as StackedRuler,
1030
1023
  re as StackedScatter,
1031
1024
  Go as Statuses,
@@ -1039,7 +1032,7 @@ export {
1039
1032
  Zo as ToolbarControlTypes,
1040
1033
  se as Tooltip,
1041
1034
  _o as TooltipEvent,
1042
- ds as Transitions,
1035
+ Cs as Transitions,
1043
1036
  as as Tree,
1044
1037
  Rt as TreeChart,
1045
1038
  Me as TreeChartModel,
@@ -1052,11 +1045,11 @@ export {
1052
1045
  $o as TruncationTypes,
1053
1046
  d as TwoDimensionalAxes,
1054
1047
  cs as WordCloud,
1055
- St as WordCloudChart,
1048
+ ft as WordCloudChart,
1056
1049
  Ko as WordCloudEvent,
1057
1050
  Be as WordCloudModel,
1058
1051
  I as ZeroLine,
1059
- vs as Zoom,
1052
+ gs as Zoom,
1060
1053
  _e as ZoomBar,
1061
1054
  Jo as ZoomBarTypes,
1062
1055
  Xo as ZoomDomainEvent,