@carbon/charts 1.11.2 → 1.11.3

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.
package/dist/index.mjs CHANGED
@@ -1,11 +1,11 @@
1
- import { t as Y, g as m, m as a, o as r, f as J, h as V } from "./color-scale-utils-222feda6.mjs";
1
+ import { t as Y, g as l, m as a, o as r, f as J, h as V } from "./color-scale-utils-222feda6.mjs";
2
2
  import { T as It, l as Ht, n as Gt, p as Vt, q as Nt, s as Ut, u as Zt, d as _t, v as zt, w as Wt, M as jt, j as $t, x as Kt, N as Jt, O as qt, P as Xt, Q as Qt, R as Yt, y as eo, z as so, S as to, A as oo, B as no, C as io, D as ro, E as ao, F as ho, G as co, H as mo, K as lo, I as po, J as Co, L as uo } from "./color-scale-utils-222feda6.mjs";
3
3
  import { i as go } from "./index-ec554115.mjs";
4
4
  import { ChartModel as Re, ChartModelCartesian as Te, AlluvialChartModel as be, BoxplotChartModel as Oe, BulletChartModel as Se, ChoroplethModel as fe, CirclePackChartModel as Ae, PieChartModel as xe, GaugeChartModel as ye, HeatmapModel as De, ChartModelBinned as Fe, MeterChartModel as Le, RadarChartModel as Pe, TreeChartModel as Me, TreemapChartModel as ke, WordCloudModel as Be } from "./model/index.mjs";
5
5
  import { _ as j, r as i, q as c, L as Z, y as A, t as N, e as $, S as Ie, u as K, F as p, l as R } from "./enums-a96ef472.mjs";
6
6
  import { A as Eo, a as Ro, b as To, c as bo, d as Oo, f as So, B as fo, g as Ao, C as xo, h as yo, i as Do, j as Fo, k as Lo, m as Po, n as Mo, D as ko, o as Bo, G as Io, p as Ho, s as Go, v as Vo, M as No, w as Uo, P as Zo, x as _o, R as zo, z as Wo, H as jo, T as $o, I as Ko, J as Jo, K as qo, N as Xo, O as Qo, Q as Yo, U as en, V as sn, W as tn, Z as on, X as nn, Y as rn } from "./enums-a96ef472.mjs";
7
- import { c as He, L as ee, C as Ge, T as _, a as z, b as g, S as F, d as se, M as W, e as Ve, f as Ne, g as Ue, H as Ze, Z as _e, A as te, h as ze, i as d, G as w, R as B, j as k, k as oe, l as M, m as C, B as We, n as I, o as je, p as $e, q as ne, r as Ke, s as Je, t as ie, u as re, v as U, w as ae, x as he, y as ce, P as qe, D as Xe, z as Qe, E as Ye, F as es, I as ss, J as ts, K as os, N as ns, O as is, Q as rs, U as as, V as hs, W as cs } from "./choropleth-9a359c3b.mjs";
8
- import { X as hn, a8 as cn, a9 as mn, a7 as ln, Y as pn, _ as dn, $ as Cn, a0 as un, a1 as vn, a2 as gn, a3 as wn, a4 as En, a5 as Rn, a6 as Tn } from "./choropleth-9a359c3b.mjs";
7
+ import { c as He, L as ee, C as Ge, T as _, a as z, b as g, S as F, d as se, M as W, e as Ve, f as Ne, g as Ue, H as Ze, Z as _e, A as te, h as ze, i as d, G as w, R as B, j as k, k as oe, l as M, m as C, B as We, n as I, o as je, p as $e, q as ne, r as Ke, s as Je, t as ie, u as re, v as U, w as ae, x as he, y as ce, P as qe, D as Xe, z as Qe, E as Ye, F as es, I as ss, J as ts, K as os, N as ns, O as is, Q as rs, U as as, V as hs, W as cs } from "./choropleth-449cf25e.mjs";
8
+ import { X as hn, a8 as cn, a9 as mn, a7 as ln, Y as pn, _ as dn, $ as Cn, a0 as un, a1 as vn, a2 as gn, a3 as wn, a4 as En, a5 as Rn, a6 as Tn } from "./choropleth-449cf25e.mjs";
9
9
  import { C as ms, E as ls, F as ps, T as ds, a as Cs, b as us, Z as vs, f as gs } from "./index-e425a7b5.mjs";
10
10
  import { D as ws, G as Es } from "./angle-utils-7255d1d9.mjs";
11
11
  import { S as On, d as Sn, a as fn, p as An, b as xn, r as yn } from "./angle-utils-7255d1d9.mjs";
@@ -15,45 +15,45 @@ import "./a11y-7bad4f48.mjs";
15
15
  import "./_baseEach-05847c57.mjs";
16
16
  import "d3-sankey";
17
17
  import "d3-cloud";
18
- function Rs(t, e, s) {
19
- var o = -1, n = t.length;
20
- e < 0 && (e = -e > n ? 0 : n + e), s = s > n ? n : s, s < 0 && (s += n), n = e > s ? 0 : s - e >>> 0, e >>>= 0;
21
- for (var h = Array(n); ++o < n; )
22
- h[o] = t[o + e];
18
+ function Rs(o, e, s) {
19
+ var n = -1, t = o.length;
20
+ 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;
21
+ for (var h = Array(t); ++n < t; )
22
+ h[n] = o[n + e];
23
23
  return h;
24
24
  }
25
- function Ts(t, e, s) {
26
- var o = t.length;
27
- return s = s === void 0 ? o : s, !e && s >= o ? t : Rs(t, e, s);
25
+ function Ts(o, e, s) {
26
+ var n = o.length;
27
+ return s = s === void 0 ? n : s, !e && s >= n ? o : Rs(o, e, s);
28
28
  }
29
29
  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 + "]");
30
- function me(t) {
31
- return Ds.test(t);
30
+ function me(o) {
31
+ return Ds.test(o);
32
32
  }
33
- function Fs(t) {
34
- return t.split("");
33
+ function Fs(o) {
34
+ return o.split("");
35
35
  }
36
36
  var le = "\\ud800-\\udfff", Ls = "\\u0300-\\u036f", Ps = "\\ufe20-\\ufe2f", Ms = "\\u20d0-\\u20ff", ks = Ls + Ps + Ms, Bs = "\\ufe0e\\ufe0f", Is = "[" + le + "]", q = "[" + ks + "]", X = "\\ud83c[\\udffb-\\udfff]", Hs = "(?:" + q + "|" + X + ")", 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 + ")*", Ns = ve + ue + Vs, Us = "(?:" + [pe + q + "?", q, de, Ce, Is].join("|") + ")", Zs = RegExp(X + "(?=" + X + ")|" + Us + Ns, "g");
37
- function _s(t) {
38
- return t.match(Zs) || [];
37
+ function _s(o) {
38
+ return o.match(Zs) || [];
39
39
  }
40
- function zs(t) {
41
- return me(t) ? _s(t) : Fs(t);
40
+ function zs(o) {
41
+ return me(o) ? _s(o) : Fs(o);
42
42
  }
43
- function Ws(t) {
43
+ function Ws(o) {
44
44
  return function(e) {
45
45
  e = Y(e);
46
- var s = me(e) ? zs(e) : void 0, o = s ? s[0] : e.charAt(0), n = s ? Ts(s, 1).join("") : e.slice(1);
47
- return o[t]() + n;
46
+ var s = me(e) ? zs(e) : void 0, n = s ? s[0] : e.charAt(0), t = s ? Ts(s, 1).join("") : e.slice(1);
47
+ return n[o]() + t;
48
48
  };
49
49
  }
50
50
  var js = Ws("toUpperCase");
51
51
  const $s = js;
52
- function Ks(t) {
53
- return $s(Y(t).toLowerCase());
52
+ function Ks(o) {
53
+ return $s(Y(o).toLowerCase());
54
54
  }
55
- var Js = He(function(t, e, s) {
56
- return e = e.toLowerCase(), t + (s ? Ks(e) : e);
55
+ var Js = He(function(o, e, s) {
56
+ return e = e.toLowerCase(), o + (s ? Ks(e) : e);
57
57
  });
58
58
  const qs = Js;
59
59
  class T {
@@ -72,26 +72,27 @@ class T {
72
72
  }
73
73
  // Contains the code that uses properties that are overridable by the super-class
74
74
  init(e, s) {
75
- this.model.set({ holder: e }, { skipUpdate: !0 }), Object.keys(this.services).forEach((o) => {
76
- const n = this.services[o];
77
- this.services[o] = new n(this.model, this.services);
78
- }), this.services.events.addEventListener(j.Model.UPDATE, () => {
79
- this.update();
75
+ this.model.set({ holder: e }, { skipUpdate: !0 }), Object.keys(this.services).forEach((n) => {
76
+ const t = this.services[n];
77
+ this.services[n] = new t(this.model, this.services);
78
+ }), this.services.events.addEventListener(j.Model.UPDATE, (n) => {
79
+ const t = !!l(n, "detail", "animate");
80
+ this.update(t);
80
81
  }), this.model.setData(s.data), this.services.events.addEventListener(j.Chart.RESIZE, () => {
81
- this.update();
82
+ this.update(!1);
82
83
  }), this.components = this.getComponents(), this.update();
83
84
  }
84
85
  getComponents() {
85
86
  return console.error("getComponents() method is not implemented"), [];
86
87
  }
87
- update() {
88
+ update(e = !0) {
88
89
  if (!this.components)
89
90
  return;
90
- Object.keys(this.services).forEach((o) => {
91
- this.services[o].update();
92
- }), this.components.forEach((o) => o.render(!0));
93
- const e = this.services.transitions.getPendingTransitions(), s = Object.keys(e).map((o) => e[o].end().catch((h) => h));
94
- Promise.all(s).then(
91
+ Object.keys(this.services).forEach((t) => {
92
+ this.services[t].update();
93
+ }), this.components.forEach((t) => t.render(e));
94
+ const s = this.services.transitions.getPendingTransitions(), n = Object.keys(s).map((t) => s[t].end().catch((m) => m));
95
+ Promise.all(n).then(
95
96
  () => this.services.events.dispatchEvent(j.Chart.RENDER_FINISHED)
96
97
  );
97
98
  }
@@ -99,12 +100,12 @@ class T {
99
100
  this.components.forEach((e) => e.destroy()), this.services.domUtils.getHolder().remove(), this.model.set({ destroyed: !0 }, { skipUpdate: !0 });
100
101
  }
101
102
  getChartComponents(e, s) {
102
- const o = this.model.getOptions(), n = m(o, "toolbar", "enabled"), h = {
103
+ const n = this.model.getOptions(), t = l(n, "toolbar", "enabled"), h = {
103
104
  id: "legend",
104
105
  components: [new ee(this.model, this.services)],
105
106
  growth: i.PREFERRED
106
- }, l = m(o, "canvasZoom", "enabled");
107
- l && l === !0 && e.push(new Ge(this.model, this.services));
107
+ }, m = l(n, "canvasZoom", "enabled");
108
+ m && m === !0 && e.push(new Ge(this.model, this.services));
108
109
  const b = !!this.model.getOptions().title, O = {
109
110
  id: "title",
110
111
  components: [new _(this.model, this.services)],
@@ -122,7 +123,7 @@ class T {
122
123
  [
123
124
  // always add title to keep layout correct
124
125
  O,
125
- ...n ? [x] : []
126
+ ...t ? [x] : []
126
127
  ],
127
128
  {
128
129
  direction: c.ROW,
@@ -135,12 +136,12 @@ class T {
135
136
  id: "graph-frame",
136
137
  components: e,
137
138
  growth: i.STRETCH,
138
- renderType: m(s, "graphFrameRenderType") || A.SVG
139
- }, D = m(s, "excludeLegend") !== !0 && o.legend.enabled !== !1;
139
+ renderType: l(s, "graphFrameRenderType") || A.SVG
140
+ }, D = l(s, "excludeLegend") !== !0 && n.legend.enabled !== !1;
140
141
  let S = c.COLUMN;
141
142
  if (D) {
142
- const f = m(o, "legend", "position");
143
- f === "left" ? (S = c.ROW, o.legend.orientation || (o.legend.orientation = N.VERTICAL)) : f === "right" ? (S = c.ROW_REVERSE, o.legend.orientation || (o.legend.orientation = N.VERTICAL)) : f === "bottom" && (S = c.COLUMN_REVERSE);
143
+ const f = l(n, "legend", "position");
144
+ f === "left" ? (S = c.ROW, n.legend.orientation || (n.legend.orientation = N.VERTICAL)) : f === "right" ? (S = c.ROW_REVERSE, n.legend.orientation || (n.legend.orientation = N.VERTICAL)) : f === "bottom" && (S = c.COLUMN_REVERSE);
144
145
  }
145
146
  const P = {
146
147
  id: "spacer",
@@ -164,12 +165,12 @@ class T {
164
165
  ],
165
166
  growth: i.STRETCH
166
167
  }, E = [];
167
- if (b || n) {
168
+ if (b || t) {
168
169
  E.push(L);
169
170
  const f = {
170
171
  id: "spacer",
171
172
  components: [
172
- new F(this.model, this.services, n ? { size: 15 } : void 0)
173
+ new F(this.model, this.services, t ? { size: 15 } : void 0)
173
174
  ],
174
175
  growth: i.PREFERRED
175
176
  };
@@ -193,9 +194,9 @@ class u extends T {
193
194
  }), this.model = new Te(this.services);
194
195
  }
195
196
  getAxisChartComponents(e, s) {
196
- const o = this.model.getOptions(), n = m(o, "zoomBar", $.TOP, "enabled"), h = m(o, "toolbar", "enabled");
197
+ const n = this.model.getOptions(), t = l(n, "zoomBar", $.TOP, "enabled"), h = l(n, "toolbar", "enabled");
197
198
  this.services.cartesianScales.determineAxisDuality(), this.services.cartesianScales.findDomainAndRangeAxes(), this.services.cartesianScales.determineOrientation();
198
- const l = this.services.cartesianScales.getMainXAxisPosition(), b = m(o, "axes", l, "scaleType"), O = n && l === $.BOTTOM && b === Ie.TIME, x = this.services.zoom.isZoomBarLocked($.TOP), L = !!this.model.getOptions().title, y = {
199
+ 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), L = !!this.model.getOptions().title, y = {
199
200
  id: "title",
200
201
  components: [new _(this.model, this.services)],
201
202
  growth: i.STRETCH
@@ -235,10 +236,10 @@ class u extends T {
235
236
  components: e,
236
237
  growth: i.STRETCH,
237
238
  renderType: A.SVG
238
- }, E = m(s, "legend", "enabled") !== !1 && this.model.getOptions().legend.enabled !== !1;
239
+ }, E = l(s, "legend", "enabled") !== !1 && this.model.getOptions().legend.enabled !== !1;
239
240
  let f = c.COLUMN;
240
241
  if (E) {
241
- const G = m(this.model.getOptions(), "legend", "position");
242
+ const G = l(this.model.getOptions(), "legend", "position");
242
243
  G === K.LEFT ? (f = c.ROW, this.model.getOptions().legend.orientation || (this.model.getOptions().legend.orientation = N.VERTICAL)) : G === K.RIGHT ? (f = c.ROW_REVERSE, this.model.getOptions().legend.orientation || (this.model.getOptions().legend.orientation = N.VERTICAL)) : G === K.BOTTOM && (f = c.COLUMN_REVERSE);
243
244
  }
244
245
  const ge = {
@@ -384,7 +385,7 @@ class ut extends T {
384
385
  // Custom getChartComponents - Implements getChartComponents
385
386
  // Removes zoombar support and additional `features` that are not supported in heatmap
386
387
  getChartComponents(e, s) {
387
- const o = this.model.getOptions(), n = m(o, "toolbar", "enabled"), h = !!this.model.getOptions().title, l = {
388
+ const n = this.model.getOptions(), t = l(n, "toolbar", "enabled"), h = !!this.model.getOptions().title, m = {
388
389
  id: "title",
389
390
  components: [new _(this.model, this.services)],
390
391
  growth: i.STRETCH
@@ -400,8 +401,8 @@ class ut extends T {
400
401
  this.services,
401
402
  [
402
403
  // always add title to keep layout correct
403
- l,
404
- ...n ? [b] : []
404
+ m,
405
+ ...t ? [b] : []
405
406
  ],
406
407
  {
407
408
  direction: c.ROW,
@@ -424,7 +425,7 @@ class ut extends T {
424
425
  components: e,
425
426
  growth: i.STRETCH,
426
427
  renderType: A.SVG
427
- }, y = m(s, "legend", "enabled") !== !1 && this.model.getOptions().legend.enabled !== !1, D = c.COLUMN_REVERSE, S = {
428
+ }, y = l(s, "legend", "enabled") !== !1 && this.model.getOptions().legend.enabled !== !1, D = c.COLUMN_REVERSE, S = {
428
429
  id: "spacer",
429
430
  components: [new F(this.model, this.services, { size: 15 })],
430
431
  growth: i.PREFERRED
@@ -446,12 +447,12 @@ class ut extends T {
446
447
  ],
447
448
  growth: i.STRETCH
448
449
  }, v = [];
449
- if (h || n) {
450
+ if (h || t) {
450
451
  v.push(O);
451
452
  const E = {
452
453
  id: "spacer",
453
454
  components: [
454
- new F(this.model, this.services, n ? { size: 15 } : void 0)
455
+ new F(this.model, this.services, t ? { size: 15 } : void 0)
455
456
  ],
456
457
  growth: i.PREFERRED
457
458
  };
@@ -491,48 +492,48 @@ const Q = {
491
492
  class gt extends u {
492
493
  constructor(e, s) {
493
494
  super(e, s);
494
- const o = a(r.comboChart, s.options);
495
- s.options.comboChartTypes || (console.error("No comboChartTypes defined for the Combo Chart!"), o.comboChartTypes = [{ type: R.LINE, correspondingDatasets: [] }]), this.model.setOptions(o), this.init(e, s);
495
+ const n = a(r.comboChart, s.options);
496
+ 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);
496
497
  }
497
498
  getGraphComponents() {
498
499
  const { comboChartTypes: e } = this.model.getOptions();
499
500
  let s = 0;
500
- const o = e.map((n) => {
501
- const h = n.type;
502
- let l;
503
- if (typeof n.type == "string") {
504
- if (!Object.keys(Q).includes(n.type))
501
+ const n = e.map((t) => {
502
+ const h = t.type;
503
+ let m;
504
+ if (typeof t.type == "string") {
505
+ if (!Object.keys(Q).includes(t.type))
505
506
  return console.error(
506
- `Invalid chart type "${n.type}" specified for combo chart. Please refer to the ComboChart tutorial for more guidance.`
507
+ `Invalid chart type "${t.type}" specified for combo chart. Please refer to the ComboChart tutorial for more guidance.`
507
508
  ), null;
508
509
  let b = !1;
509
- const O = `${qs(n.type)}Chart`;
510
- return l = V(
510
+ const O = `${qs(t.type)}Chart`;
511
+ return m = V(
511
512
  {},
512
513
  r[O],
513
514
  this.model.getOptions(),
514
- n.options
515
- ), n.type === R.STACKED_AREA && (b = !0), Q[n.type].map(
515
+ t.options
516
+ ), t.type === R.STACKED_AREA && (b = !0), Q[t.type].map(
516
517
  (x) => new x(this.model, this.services, {
517
- groups: n.correspondingDatasets,
518
+ groups: t.correspondingDatasets,
518
519
  id: s++,
519
- options: l,
520
+ options: m,
520
521
  stacked: b
521
522
  })
522
523
  );
523
524
  } else
524
- return l = V({}, this.model.getOptions(), n.options), new h(this.model, this.services, {
525
- groups: n.correspondingDatasets,
525
+ return m = V({}, this.model.getOptions(), t.options), new h(this.model, this.services, {
526
+ groups: t.correspondingDatasets,
526
527
  id: s++,
527
- options: l
528
+ options: m
528
529
  });
529
- }).filter((n) => n !== null);
530
- return gs(o);
530
+ }).filter((t) => t !== null);
531
+ return gs(n);
531
532
  }
532
533
  getComponents() {
533
534
  const { comboChartTypes: e } = this.model.getOptions(), s = e.some(
534
535
  (h) => h.type === R.STACKED_BAR || h.type === R.STACKED_AREA
535
- ), o = [
536
+ ), n = [
536
537
  new d(this.model, this.services),
537
538
  new w(this.model, this.services),
538
539
  new C(this.model, this.services, {
@@ -541,13 +542,13 @@ class gt extends u {
541
542
  ...s ? [] : [new B(this.model, this.services)],
542
543
  ...this.getGraphComponents()
543
544
  ];
544
- return this.getAxisChartComponents(o);
545
+ return this.getAxisChartComponents(n);
545
546
  }
546
547
  }
547
548
  class Xs extends T {
548
549
  // TODO - Optimize the use of "extending"
549
- constructor(e, s, o = !1) {
550
- super(e, s), this.model = new xe(this.services), !o && (this.model.setOptions(a(r.pieChart, s.options)), this.init(e, s));
550
+ constructor(e, s, n = !1) {
551
+ super(e, s), this.model = new xe(this.services), !n && (this.model.setOptions(a(r.pieChart, s.options)), this.init(e, s));
551
552
  }
552
553
  getComponents() {
553
554
  const e = [
@@ -606,9 +607,9 @@ class Tt extends u {
606
607
  // Custom getChartComponents - Implements getChartComponents
607
608
  // Removes zoombar support and additional `features` that are not supported in heatmap
608
609
  getAxisChartComponents(e, s) {
609
- const o = this.model.getOptions(), n = m(o, "toolbar", "enabled");
610
+ const n = this.model.getOptions(), t = l(n, "toolbar", "enabled");
610
611
  this.services.cartesianScales.determineAxisDuality(), this.services.cartesianScales.findDomainAndRangeAxes(), this.services.cartesianScales.determineOrientation();
611
- const h = !!this.model.getOptions().title, l = {
612
+ const h = !!this.model.getOptions().title, m = {
612
613
  id: "title",
613
614
  components: [new _(this.model, this.services)],
614
615
  growth: i.STRETCH
@@ -624,8 +625,8 @@ class Tt extends u {
624
625
  this.services,
625
626
  [
626
627
  // always add title to keep layout correct
627
- l,
628
- ...n ? [b] : []
628
+ m,
629
+ ...t ? [b] : []
629
630
  ],
630
631
  {
631
632
  direction: c.ROW,
@@ -648,7 +649,7 @@ class Tt extends u {
648
649
  components: e,
649
650
  growth: i.STRETCH,
650
651
  renderType: A.SVG
651
- }, y = m(s, "legend", "enabled") !== !1 && this.model.getOptions().legend.enabled !== !1, D = c.COLUMN_REVERSE, S = {
652
+ }, y = l(s, "legend", "enabled") !== !1 && this.model.getOptions().legend.enabled !== !1, D = c.COLUMN_REVERSE, S = {
652
653
  id: "spacer",
653
654
  components: [new F(this.model, this.services, { size: 15 })],
654
655
  growth: i.PREFERRED
@@ -670,12 +671,12 @@ class Tt extends u {
670
671
  ],
671
672
  growth: i.STRETCH
672
673
  }, v = [];
673
- if (h || n) {
674
+ if (h || t) {
674
675
  v.push(O);
675
676
  const E = {
676
677
  id: "spacer",
677
678
  components: [
678
- new F(this.model, this.services, n ? { size: 15 } : void 0)
679
+ new F(this.model, this.services, t ? { size: 15 } : void 0)
679
680
  ],
680
681
  growth: i.PREFERRED
681
682
  };
@@ -748,14 +749,14 @@ class St extends u {
748
749
  }
749
750
  class ft extends T {
750
751
  constructor(e, s) {
751
- var n;
752
+ var t;
752
753
  super(e, s), this.model = new Le(this.services);
753
- const o = (n = s.options.meter) != null && n.proportional ? V(J(r.proportionalMeterChart), s.options) : V(J(r.meterChart), s.options);
754
- this.model.setOptions(o), this.init(e, s);
754
+ const n = (t = s.options.meter) != null && t.proportional ? V(J(r.proportionalMeterChart), s.options) : V(J(r.meterChart), s.options);
755
+ this.model.setOptions(n), this.init(e, s);
755
756
  }
756
757
  getComponents() {
757
758
  const s = [
758
- ...m(this.model.getOptions(), "meter", "showLabels") ? [
759
+ ...l(this.model.getOptions(), "meter", "showLabels") ? [
759
760
  // Meter has a unique dataset title within the graph
760
761
  {
761
762
  id: "meter-title",
@@ -781,12 +782,12 @@ class ft extends T {
781
782
  growth: i.STRETCH,
782
783
  renderType: A.SVG
783
784
  }
784
- ], o = [
785
+ ], n = [
785
786
  new g(this.model, this.services, s, {
786
787
  direction: c.COLUMN
787
788
  })
788
789
  ];
789
- return this.getChartComponents(o, {
790
+ return this.getChartComponents(n, {
790
791
  graphFrameRenderType: A.HTML
791
792
  });
792
793
  }