@carbon/charts-vue 1.27.2 → 1.27.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
@@ -19311,22 +19311,40 @@ function Mv(e, t, n) {
19311
19311
  function SN(e, t) {
19312
19312
  return t.length < 2 ? e : vc(e, Mv(t, 0, -1));
19313
19313
  }
19314
- function TN(e, t) {
19315
- return t = Wa(t, e), e = SN(e, t), e == null || delete e[cs(Vf(t))];
19314
+ var TN = Object.prototype, wN = TN.hasOwnProperty;
19315
+ function $N(e, t) {
19316
+ t = Wa(t, e);
19317
+ var n = -1, r = t.length;
19318
+ if (!r)
19319
+ return !0;
19320
+ for (var i = e == null || typeof e != "object" && typeof e != "function"; ++n < r; ) {
19321
+ var s = t[n];
19322
+ if (typeof s == "string") {
19323
+ if (s === "__proto__" && !wN.call(e, "__proto__"))
19324
+ return !1;
19325
+ if (s === "constructor" && n + 1 < r && typeof t[n + 1] == "string" && t[n + 1] === "prototype") {
19326
+ if (i && n === 0)
19327
+ continue;
19328
+ return !1;
19329
+ }
19330
+ }
19331
+ }
19332
+ var a = SN(e, t);
19333
+ return a == null || delete a[cs(Vf(t))];
19316
19334
  }
19317
- function wN(e) {
19335
+ function MN(e) {
19318
19336
  return Ef(e) ? void 0 : e;
19319
19337
  }
19320
- var $N = 1, MN = 2, CN = 4, AN = ON(function(e, t) {
19338
+ var CN = 1, AN = 2, LN = 4, DN = ON(function(e, t) {
19321
19339
  var n = {};
19322
19340
  if (e == null)
19323
19341
  return n;
19324
19342
  var r = !1;
19325
19343
  t = lc(t, function(s) {
19326
19344
  return s = Wa(s, e), r || (r = s.length > 1), s;
19327
- }), ni(e, Mf(e), n), r && (n = Pi(n, $N | MN | CN, wN));
19345
+ }), ni(e, Mf(e), n), r && (n = Pi(n, CN | AN | LN, MN));
19328
19346
  for (var i = t.length; i--; )
19329
- TN(n, t[i]);
19347
+ $N(n, t[i]);
19330
19348
  return n;
19331
19349
  });
19332
19350
  function gp(e) {
@@ -19335,29 +19353,29 @@ function gp(e) {
19335
19353
  function vp(e) {
19336
19354
  return Math.exp(e);
19337
19355
  }
19338
- function LN(e) {
19356
+ function kN(e) {
19339
19357
  return -Math.log(-e);
19340
19358
  }
19341
- function DN(e) {
19359
+ function RN(e) {
19342
19360
  return -Math.exp(-e);
19343
19361
  }
19344
- function kN(e) {
19362
+ function IN(e) {
19345
19363
  return isFinite(e) ? +("1e" + e) : e < 0 ? 0 : e;
19346
19364
  }
19347
- function RN(e) {
19348
- return e === 10 ? kN : e === Math.E ? Math.exp : (t) => Math.pow(e, t);
19365
+ function NN(e) {
19366
+ return e === 10 ? IN : e === Math.E ? Math.exp : (t) => Math.pow(e, t);
19349
19367
  }
19350
- function IN(e) {
19368
+ function PN(e) {
19351
19369
  return e === Math.E ? Math.log : e === 10 && Math.log10 || e === 2 && Math.log2 || (e = Math.log(e), (t) => Math.log(t) / e);
19352
19370
  }
19353
19371
  function yp(e) {
19354
19372
  return (t, n) => -e(-t, n);
19355
19373
  }
19356
- function NN(e) {
19374
+ function UN(e) {
19357
19375
  const t = e(gp, vp), n = t.domain;
19358
19376
  let r = 10, i, s;
19359
19377
  function a() {
19360
- return i = IN(r), s = RN(r), n()[0] < 0 ? (i = yp(i), s = yp(s), e(LN, DN)) : e(gp, vp), t;
19378
+ return i = PN(r), s = NN(r), n()[0] < 0 ? (i = yp(i), s = yp(s), e(kN, RN)) : e(gp, vp), t;
19361
19379
  }
19362
19380
  return t.base = function(o) {
19363
19381
  return arguments.length ? (r = +o, a()) : r;
@@ -19402,7 +19420,7 @@ function NN(e) {
19402
19420
  })), t;
19403
19421
  }
19404
19422
  function Cv() {
19405
- const e = NN(bm()).domain([1, 10]);
19423
+ const e = UN(bm()).domain([1, 10]);
19406
19424
  return e.copy = () => Ic(e, Cv()).base(e.base()), ri.apply(e, arguments), e;
19407
19425
  }
19408
19426
  function Ia(e, t, n) {
@@ -19457,7 +19475,7 @@ ho.prototype = {
19457
19475
  this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
19458
19476
  }
19459
19477
  };
19460
- function PN(e) {
19478
+ function BN(e) {
19461
19479
  return new ho(e);
19462
19480
  }
19463
19481
  function Av(e) {
@@ -19503,7 +19521,7 @@ Av.prototype = {
19503
19521
  this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
19504
19522
  }
19505
19523
  };
19506
- function UN(e) {
19524
+ function HN(e) {
19507
19525
  return new Av(e);
19508
19526
  }
19509
19527
  function Lv(e) {
@@ -19545,7 +19563,7 @@ Lv.prototype = {
19545
19563
  this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
19546
19564
  }
19547
19565
  };
19548
- function BN(e) {
19566
+ function VN(e) {
19549
19567
  return new Lv(e);
19550
19568
  }
19551
19569
  function Dv(e, t) {
@@ -19569,7 +19587,7 @@ Dv.prototype = {
19569
19587
  this._x.push(+e), this._y.push(+t);
19570
19588
  }
19571
19589
  };
19572
- const HN = function e(t) {
19590
+ const GN = function e(t) {
19573
19591
  function n(r) {
19574
19592
  return t === 1 ? new ho(r) : new Dv(r, t);
19575
19593
  }
@@ -19629,7 +19647,7 @@ au.prototype = {
19629
19647
  this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t;
19630
19648
  }
19631
19649
  };
19632
- const VN = function e(t) {
19650
+ const zN = function e(t) {
19633
19651
  function n(r) {
19634
19652
  return new au(r, t);
19635
19653
  }
@@ -19680,7 +19698,7 @@ ou.prototype = {
19680
19698
  this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t;
19681
19699
  }
19682
19700
  };
19683
- const GN = function e(t) {
19701
+ const FN = function e(t) {
19684
19702
  function n(r) {
19685
19703
  return new ou(r, t);
19686
19704
  }
@@ -19725,7 +19743,7 @@ lu.prototype = {
19725
19743
  this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t;
19726
19744
  }
19727
19745
  };
19728
- const zN = function e(t) {
19746
+ const jN = function e(t) {
19729
19747
  function n(r) {
19730
19748
  return new lu(r, t);
19731
19749
  }
@@ -19791,7 +19809,7 @@ kv.prototype = {
19791
19809
  this._l01_a = this._l12_a, this._l12_a = this._l23_a, this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a, this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t;
19792
19810
  }
19793
19811
  };
19794
- const FN = function e(t) {
19812
+ const WN = function e(t) {
19795
19813
  function n(r) {
19796
19814
  return t ? new kv(r, t) : new au(r, 0);
19797
19815
  }
@@ -19846,7 +19864,7 @@ Rv.prototype = {
19846
19864
  this._l01_a = this._l12_a, this._l12_a = this._l23_a, this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a, this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t;
19847
19865
  }
19848
19866
  };
19849
- const jN = function e(t) {
19867
+ const qN = function e(t) {
19850
19868
  function n(r) {
19851
19869
  return t ? new Rv(r, t) : new ou(r, 0);
19852
19870
  }
@@ -19895,7 +19913,7 @@ Iv.prototype = {
19895
19913
  this._l01_a = this._l12_a, this._l12_a = this._l23_a, this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a, this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t;
19896
19914
  }
19897
19915
  };
19898
- const WN = function e(t) {
19916
+ const YN = function e(t) {
19899
19917
  function n(r) {
19900
19918
  return t ? new Iv(r, t) : new lu(r, 0);
19901
19919
  }
@@ -19986,10 +20004,10 @@ Pv.prototype = {
19986
20004
  this._context.bezierCurveTo(t, e, r, n, s, i);
19987
20005
  }
19988
20006
  };
19989
- function qN(e) {
20007
+ function XN(e) {
19990
20008
  return new Pa(e);
19991
20009
  }
19992
- function YN(e) {
20010
+ function ZN(e) {
19993
20011
  return new Nv(e);
19994
20012
  }
19995
20013
  function Uv(e) {
@@ -20027,7 +20045,7 @@ function Ep(e) {
20027
20045
  for (s[n - 1] = (e[n] + i[n - 1]) / 2, t = 0; t < n - 1; ++t) s[t] = 2 * e[t + 1] - i[t + 1];
20028
20046
  return [i, s];
20029
20047
  }
20030
- function XN(e) {
20048
+ function KN(e) {
20031
20049
  return new Uv(e);
20032
20050
  }
20033
20051
  function po(e, t) {
@@ -20067,16 +20085,16 @@ po.prototype = {
20067
20085
  this._x = e, this._y = t;
20068
20086
  }
20069
20087
  };
20070
- function ZN(e) {
20088
+ function QN(e) {
20071
20089
  return new po(e, 0.5);
20072
20090
  }
20073
- function KN(e) {
20091
+ function JN(e) {
20074
20092
  return new po(e, 0);
20075
20093
  }
20076
- function QN(e) {
20094
+ function tP(e) {
20077
20095
  return new po(e, 1);
20078
20096
  }
20079
- class JN extends Dn {
20097
+ class eP extends Dn {
20080
20098
  /**
20081
20099
  * focal: object to zoom into
20082
20100
  * canvasElements: all the elements to translate and zoom on the chart area
@@ -20101,7 +20119,7 @@ class JN extends Dn {
20101
20119
  t.transition().duration(r.duration).ease(r.ease).attr("transform", ""), this.services.events.dispatchEvent(T.CanvasZoom.CANVAS_ZOOM_OUT);
20102
20120
  }
20103
20121
  }
20104
- class tP extends Dn {
20122
+ class nP extends Dn {
20105
20123
  init() {
20106
20124
  this.documentFragment = document.createDocumentFragment();
20107
20125
  }
@@ -20118,7 +20136,7 @@ class tP extends Dn {
20118
20136
  }) : (r = document.createEvent("Event"), r.initEvent(t, !1, !0)), this.documentFragment.dispatchEvent(r);
20119
20137
  }
20120
20138
  }
20121
- class eP extends Dn {
20139
+ class rP extends Dn {
20122
20140
  constructor(t, n) {
20123
20141
  super(t, n);
20124
20142
  }
@@ -20146,7 +20164,7 @@ class eP extends Dn {
20146
20164
  r.download = n, r.href = t, document.body.appendChild(r), r.click(), document.body.removeChild(r);
20147
20165
  }
20148
20166
  }
20149
- class nP extends Dn {
20167
+ class iP extends Dn {
20150
20168
  constructor() {
20151
20169
  super(...arguments), this.pendingTransitions = {};
20152
20170
  }
@@ -20170,7 +20188,7 @@ function Gi(e, t) {
20170
20188
  const n = +Bt(e) - +Bt(t);
20171
20189
  return n < 0 ? -1 : n > 0 ? 1 : n;
20172
20190
  }
20173
- function rP(e, t, n) {
20191
+ function sP(e, t, n) {
20174
20192
  const [r, i] = or(
20175
20193
  n?.in,
20176
20194
  e,
@@ -20178,12 +20196,12 @@ function rP(e, t, n) {
20178
20196
  );
20179
20197
  return r.getFullYear() - i.getFullYear();
20180
20198
  }
20181
- function iP(e, t, n) {
20199
+ function aP(e, t, n) {
20182
20200
  const [r, i] = or(
20183
20201
  n?.in,
20184
20202
  e,
20185
20203
  t
20186
- ), s = Gi(r, i), a = Math.abs(rP(r, i));
20204
+ ), s = Gi(r, i), a = Math.abs(sP(r, i));
20187
20205
  r.setFullYear(1584), i.setFullYear(1584);
20188
20206
  const o = Gi(r, i) === -s, l = s * (a - +o);
20189
20207
  return l === 0 ? 0 : l;
@@ -20205,10 +20223,10 @@ function uu(e, t, n) {
20205
20223
  function Bv(e, t, n) {
20206
20224
  return uu(e, t * 12, n);
20207
20225
  }
20208
- function sP(e, t, n) {
20226
+ function oP(e, t, n) {
20209
20227
  return Bv(e, -t, n);
20210
20228
  }
20211
- function aP(e, t, n) {
20229
+ function lP(e, t, n) {
20212
20230
  const [r, i] = or(
20213
20231
  n?.in,
20214
20232
  e,
@@ -20216,38 +20234,38 @@ function aP(e, t, n) {
20216
20234
  ), s = r.getFullYear() - i.getFullYear(), a = r.getMonth() - i.getMonth();
20217
20235
  return s * 12 + a;
20218
20236
  }
20219
- function oP(e, t) {
20237
+ function cP(e, t) {
20220
20238
  const n = Bt(e, t?.in);
20221
20239
  return n.setHours(23, 59, 59, 999), n;
20222
20240
  }
20223
- function lP(e, t) {
20241
+ function uP(e, t) {
20224
20242
  const n = Bt(e, t?.in), r = n.getMonth();
20225
20243
  return n.setFullYear(n.getFullYear(), r + 1, 0), n.setHours(23, 59, 59, 999), n;
20226
20244
  }
20227
- function cP(e, t) {
20245
+ function hP(e, t) {
20228
20246
  const n = Bt(e, t?.in);
20229
- return +oP(n, t) == +lP(n, t);
20247
+ return +cP(n, t) == +uP(n, t);
20230
20248
  }
20231
- function uP(e, t, n) {
20249
+ function dP(e, t, n) {
20232
20250
  const [r, i, s] = or(
20233
20251
  n?.in,
20234
20252
  e,
20235
20253
  e,
20236
20254
  t
20237
20255
  ), a = Gi(i, s), o = Math.abs(
20238
- aP(i, s)
20256
+ lP(i, s)
20239
20257
  );
20240
20258
  if (o < 1) return 0;
20241
20259
  i.getMonth() === 1 && i.getDate() > 27 && i.setDate(30), i.setMonth(i.getMonth() - a * o);
20242
20260
  let l = Gi(i, s) === -a;
20243
- cP(r) && o === 1 && Gi(r, s) === 1 && (l = !1);
20261
+ hP(r) && o === 1 && Gi(r, s) === 1 && (l = !1);
20244
20262
  const c = a * (o - +l);
20245
20263
  return c === 0 ? 0 : c;
20246
20264
  }
20247
- function hP(e, t, n) {
20265
+ function pP(e, t, n) {
20248
20266
  return uu(e, -t, n);
20249
20267
  }
20250
- function dP(e, t, n) {
20268
+ function fP(e, t, n) {
20251
20269
  const [r, i] = or(
20252
20270
  n?.in,
20253
20271
  e,
@@ -20267,7 +20285,7 @@ function Hv(e, t, n) {
20267
20285
  const r = Bt(e, n?.in);
20268
20286
  return isNaN(t) ? Ae(e, NaN) : (t && r.setDate(r.getDate() + t), r);
20269
20287
  }
20270
- function pP(e, t, n) {
20288
+ function mP(e, t, n) {
20271
20289
  return Hv(e, -t, n);
20272
20290
  }
20273
20291
  function hu(e) {
@@ -20276,7 +20294,7 @@ function hu(e) {
20276
20294
  return n === 0 ? 0 : n;
20277
20295
  };
20278
20296
  }
20279
- function fP(e, t, n) {
20297
+ function gP(e, t, n) {
20280
20298
  const [r, i] = or(
20281
20299
  n?.in,
20282
20300
  e,
@@ -20290,7 +20308,7 @@ function Vv(e, t, n) {
20290
20308
  function Gv(e, t, n) {
20291
20309
  return Vv(e, t * af);
20292
20310
  }
20293
- function mP(e, t, n) {
20311
+ function vP(e, t, n) {
20294
20312
  return Gv(e, -t);
20295
20313
  }
20296
20314
  function zv(e, t) {
@@ -20317,7 +20335,7 @@ function ic(e, t, n) {
20317
20335
  function $p(e, t, n) {
20318
20336
  return ic(e, -t);
20319
20337
  }
20320
- class gP extends Dn {
20338
+ class yP extends Dn {
20321
20339
  constructor() {
20322
20340
  super(...arguments), this.scaleTypes = {
20323
20341
  top: null,
@@ -20504,9 +20522,9 @@ class gP extends Dn {
20504
20522
  const r = this.model.getOptions(), i = y(r, "axes", t);
20505
20523
  if (i.scaleType === et.TIME) {
20506
20524
  const s = y(r, "timeScale", "addSpaceOnEdges");
20507
- return vP(n, s);
20525
+ return xP(n, s);
20508
20526
  } else
20509
- return yP(n, Nn.paddingRatio, i.scaleType);
20527
+ return bP(n, Nn.paddingRatio, i.scaleType);
20510
20528
  }
20511
20529
  findVerticalAxesPositions() {
20512
20530
  const t = this.model.getOptions(), n = y(t, "axes"), r = this.isDualAxes();
@@ -20570,7 +20588,7 @@ class gP extends Dn {
20570
20588
  b.forEach((x) => {
20571
20589
  const { ...S } = x;
20572
20590
  let $ = 0, D = 0;
20573
- Object.values(AN(S, "sharedStackKey")).forEach((C) => {
20591
+ Object.values(DN(S, "sharedStackKey")).forEach((C) => {
20574
20592
  isNaN(C) || (C < 0 ? D += C : $ += C);
20575
20593
  }), E.push([D, $]);
20576
20594
  }), g = [
@@ -20621,9 +20639,9 @@ class gP extends Dn {
20621
20639
  };
20622
20640
  }
20623
20641
  }
20624
- function vP(e, t) {
20642
+ function xP(e, t) {
20625
20643
  const n = new Date(e[0]), r = new Date(e[1]);
20626
- return iP(r, n) > 1 ? [sP(n, t), Bv(r, t)] : uP(r, n) > 1 ? [hP(n, t), uu(r, t)] : dP(r, n) > 1 ? [pP(n, t), Hv(r, t)] : fP(r, n) > 1 ? [mP(n, t), Gv(r, t)] : Sp(r, n) > 30 ? [
20644
+ return aP(r, n) > 1 ? [oP(n, t), Bv(r, t)] : dP(r, n) > 1 ? [pP(n, t), uu(r, t)] : fP(r, n) > 1 ? [mP(n, t), Hv(r, t)] : gP(r, n) > 1 ? [vP(n, t), Gv(r, t)] : Sp(r, n) > 30 ? [
20627
20645
  Tp(n, t * 30),
20628
20646
  rc(r, t * 30)
20629
20647
  ] : Sp(r, n) > 1 ? [Tp(n, t), rc(r, t)] : wp(r, n) > 15 ? [
@@ -20631,7 +20649,7 @@ function vP(e, t) {
20631
20649
  ic(r, t * 15)
20632
20650
  ] : wp(r, n) > 1 ? [$p(n, t), ic(r, t)] : [n, r];
20633
20651
  }
20634
- function yP([e, t], n, r) {
20652
+ function bP([e, t], n, r) {
20635
20653
  const i = (t - e) * n, s = t <= 0 && t + i > 0 ? 0 : t + i;
20636
20654
  let a = e >= 0 && e - i < 0 ? 0 : e - i;
20637
20655
  if (r === et.LOG && a <= 0) {
@@ -20641,27 +20659,27 @@ function yP([e, t], n, r) {
20641
20659
  }
20642
20660
  return [a, s];
20643
20661
  }
20644
- class xP extends Dn {
20662
+ class _P extends Dn {
20645
20663
  constructor() {
20646
20664
  super(...arguments), this.curveTypes = {
20647
20665
  curveLinear: ro,
20648
20666
  curveLinearClosed: tg,
20649
- curveBasis: PN,
20650
- curveBasisClosed: UN,
20651
- curveBasisOpen: BN,
20652
- curveBundle: HN,
20653
- curveCardinal: VN,
20654
- curveCardinalClosed: GN,
20655
- curveCardinalOpen: zN,
20656
- curveCatmullRom: FN,
20657
- curveCatmullRomClosed: jN,
20658
- curveCatmullRomOpen: WN,
20659
- curveMonotoneX: qN,
20660
- curveMonotoneY: YN,
20661
- curveNatural: XN,
20662
- curveStep: ZN,
20663
- curveStepAfter: QN,
20664
- curveStepBefore: KN
20667
+ curveBasis: BN,
20668
+ curveBasisClosed: HN,
20669
+ curveBasisOpen: VN,
20670
+ curveBundle: GN,
20671
+ curveCardinal: zN,
20672
+ curveCardinalClosed: FN,
20673
+ curveCardinalOpen: jN,
20674
+ curveCatmullRom: WN,
20675
+ curveCatmullRomClosed: qN,
20676
+ curveCatmullRomOpen: YN,
20677
+ curveMonotoneX: XN,
20678
+ curveMonotoneY: ZN,
20679
+ curveNatural: KN,
20680
+ curveStep: QN,
20681
+ curveStepAfter: tP,
20682
+ curveStepBefore: JN
20665
20683
  };
20666
20684
  }
20667
20685
  getD3Curve() {
@@ -20676,7 +20694,7 @@ class xP extends Dn {
20676
20694
  return console.warn(`The curve type '${t}' is invalid, using 'curveLinear' instead`), this.curveTypes.curveLinear;
20677
20695
  }
20678
20696
  }
20679
- class bP extends Dn {
20697
+ class EP extends Dn {
20680
20698
  isZoomBarEnabled() {
20681
20699
  if (!this.services.cartesianScales || !y(this.model.getOptions(), "zoomBar", "top", "enabled"))
20682
20700
  return !1;
@@ -20783,37 +20801,37 @@ class bP extends Dn {
20783
20801
  return y(this.model.getOptions(), "zoomBar", t, "locked");
20784
20802
  }
20785
20803
  }
20786
- function _P(e, t, n) {
20804
+ function OP(e, t, n) {
20787
20805
  var r = e.length;
20788
20806
  return n = n === void 0 ? r : n, !t && n >= r ? e : Mv(e, t, n);
20789
20807
  }
20790
- var EP = "\\ud800-\\udfff", OP = "\\u0300-\\u036f", SP = "\\ufe20-\\ufe2f", TP = "\\u20d0-\\u20ff", wP = OP + SP + TP, $P = "\\ufe0e\\ufe0f", MP = "\\u200d", CP = RegExp("[" + MP + EP + wP + $P + "]");
20808
+ var SP = "\\ud800-\\udfff", TP = "\\u0300-\\u036f", wP = "\\ufe20-\\ufe2f", $P = "\\u20d0-\\u20ff", MP = TP + wP + $P, CP = "\\ufe0e\\ufe0f", AP = "\\u200d", LP = RegExp("[" + AP + SP + MP + CP + "]");
20791
20809
  function Fv(e) {
20792
- return CP.test(e);
20810
+ return LP.test(e);
20793
20811
  }
20794
- function AP(e) {
20812
+ function DP(e) {
20795
20813
  return e.split("");
20796
20814
  }
20797
- var jv = "\\ud800-\\udfff", LP = "\\u0300-\\u036f", DP = "\\ufe20-\\ufe2f", kP = "\\u20d0-\\u20ff", RP = LP + DP + kP, IP = "\\ufe0e\\ufe0f", NP = "[" + jv + "]", sc = "[" + RP + "]", ac = "\\ud83c[\\udffb-\\udfff]", PP = "(?:" + sc + "|" + ac + ")", Wv = "[^" + jv + "]", qv = "(?:\\ud83c[\\udde6-\\uddff]){2}", Yv = "[\\ud800-\\udbff][\\udc00-\\udfff]", UP = "\\u200d", Xv = PP + "?", Zv = "[" + IP + "]?", BP = "(?:" + UP + "(?:" + [Wv, qv, Yv].join("|") + ")" + Zv + Xv + ")*", HP = Zv + Xv + BP, VP = "(?:" + [Wv + sc + "?", sc, qv, Yv, NP].join("|") + ")", GP = RegExp(ac + "(?=" + ac + ")|" + VP + HP, "g");
20798
- function zP(e) {
20799
- return e.match(GP) || [];
20815
+ var jv = "\\ud800-\\udfff", kP = "\\u0300-\\u036f", RP = "\\ufe20-\\ufe2f", IP = "\\u20d0-\\u20ff", NP = kP + RP + IP, PP = "\\ufe0e\\ufe0f", UP = "[" + jv + "]", sc = "[" + NP + "]", ac = "\\ud83c[\\udffb-\\udfff]", BP = "(?:" + sc + "|" + ac + ")", Wv = "[^" + jv + "]", qv = "(?:\\ud83c[\\udde6-\\uddff]){2}", Yv = "[\\ud800-\\udbff][\\udc00-\\udfff]", HP = "\\u200d", Xv = BP + "?", Zv = "[" + PP + "]?", VP = "(?:" + HP + "(?:" + [Wv, qv, Yv].join("|") + ")" + Zv + Xv + ")*", GP = Zv + Xv + VP, zP = "(?:" + [Wv + sc + "?", sc, qv, Yv, UP].join("|") + ")", FP = RegExp(ac + "(?=" + ac + ")|" + zP + GP, "g");
20816
+ function jP(e) {
20817
+ return e.match(FP) || [];
20800
20818
  }
20801
- function FP(e) {
20802
- return Fv(e) ? zP(e) : AP(e);
20819
+ function WP(e) {
20820
+ return Fv(e) ? jP(e) : DP(e);
20803
20821
  }
20804
- function jP(e) {
20822
+ function qP(e) {
20805
20823
  return function(t) {
20806
20824
  t = ls(t);
20807
- var n = Fv(t) ? FP(t) : void 0, r = n ? n[0] : t.charAt(0), i = n ? _P(n, 1).join("") : t.slice(1);
20825
+ var n = Fv(t) ? WP(t) : void 0, r = n ? n[0] : t.charAt(0), i = n ? OP(n, 1).join("") : t.slice(1);
20808
20826
  return r[e]() + i;
20809
20827
  };
20810
20828
  }
20811
- var WP = jP("toUpperCase");
20812
- function qP(e) {
20813
- return WP(ls(e).toLowerCase());
20829
+ var YP = qP("toUpperCase");
20830
+ function XP(e) {
20831
+ return YP(ls(e).toLowerCase());
20814
20832
  }
20815
- var YP = Og(function(e, t, n) {
20816
- return t = t.toLowerCase(), e + (n ? qP(t) : t);
20833
+ var ZP = Og(function(e, t, n) {
20834
+ return t = t.toLowerCase(), e + (n ? XP(t) : t);
20817
20835
  });
20818
20836
  class qe {
20819
20837
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
@@ -20821,12 +20839,12 @@ class qe {
20821
20839
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
20822
20840
  constructor(t, n) {
20823
20841
  this.components = [], this.services = {
20824
- canvasZoom: JN,
20842
+ canvasZoom: eP,
20825
20843
  domUtils: N,
20826
- events: tP,
20827
- files: eP,
20844
+ events: nP,
20845
+ files: rP,
20828
20846
  gradientUtils: Al,
20829
- transitions: nP
20847
+ transitions: iP
20830
20848
  }, this.model = new sn(this.services);
20831
20849
  }
20832
20850
  // Contains the code that uses properties that are overridable by the super-class
@@ -20952,9 +20970,9 @@ class qe {
20952
20970
  class fe extends qe {
20953
20971
  constructor(t, n) {
20954
20972
  super(t, n), this.services = Object.assign(this.services, {
20955
- cartesianScales: gP,
20956
- curves: xP,
20957
- zoom: bP
20973
+ cartesianScales: yP,
20974
+ curves: _P,
20975
+ zoom: EP
20958
20976
  }), this.model = new dr(this.services);
20959
20977
  }
20960
20978
  getAxisChartComponents(t, n) {
@@ -21053,7 +21071,7 @@ class fe extends qe {
21053
21071
  ];
21054
21072
  }
21055
21073
  }
21056
- class XP extends qe {
21074
+ class KP extends qe {
21057
21075
  constructor(t, n) {
21058
21076
  super(t, n), this.model = new Xw(this.services), this.model.setOptions(kt(wt.alluvialChart, n.options)), this.init(t, n);
21059
21077
  }
@@ -21069,7 +21087,7 @@ class XP extends qe {
21069
21087
  });
21070
21088
  }
21071
21089
  }
21072
- class ZP extends fe {
21090
+ class QP extends fe {
21073
21091
  constructor(t, n) {
21074
21092
  super(t, n), this.model.setOptions(
21075
21093
  kt(On(wt.areaChart), n.options)
@@ -21098,7 +21116,7 @@ class ZP extends fe {
21098
21116
  return this.getAxisChartComponents(t);
21099
21117
  }
21100
21118
  }
21101
- class KP extends fe {
21119
+ class JP extends fe {
21102
21120
  constructor(t, n) {
21103
21121
  super(t, n), this.model = new Zw(this.services), this.model.setOptions(kt(wt.boxplotChart, n.options)), this.init(t, n);
21104
21122
  }
@@ -21124,7 +21142,7 @@ class KP extends fe {
21124
21142
  });
21125
21143
  }
21126
21144
  }
21127
- class QP extends fe {
21145
+ class t3 extends fe {
21128
21146
  constructor(t, n) {
21129
21147
  super(t, n), this.model.setOptions(kt(wt.bubbleChart, n.options)), this.init(t, n);
21130
21148
  }
@@ -21146,7 +21164,7 @@ class QP extends fe {
21146
21164
  return this.getAxisChartComponents(t);
21147
21165
  }
21148
21166
  }
21149
- class JP extends fe {
21167
+ class e3 extends fe {
21150
21168
  constructor(t, n) {
21151
21169
  super(t, n), this.model = new Kw(this.services), this.model.setOptions(kt(wt.bulletChart, n.options)), this.init(t, n);
21152
21170
  }
@@ -21167,7 +21185,7 @@ class JP extends fe {
21167
21185
  return this.getAxisChartComponents(t);
21168
21186
  }
21169
21187
  }
21170
- class t3 extends qe {
21188
+ class n3 extends qe {
21171
21189
  constructor(t, n) {
21172
21190
  super(t, n), this.model = new Qw(this.services), this.model.setOptions(
21173
21191
  kt(wt.choroplethChart, n.options)
@@ -21267,7 +21285,7 @@ class t3 extends qe {
21267
21285
  return this.getChartComponents(t);
21268
21286
  }
21269
21287
  }
21270
- class e3 extends qe {
21288
+ class r3 extends qe {
21271
21289
  constructor(t, n) {
21272
21290
  super(t, n), this.model = new Jw(this.services), this.model.setOptions(kt(wt.circlePackChart, n.options)), this.init(t, n);
21273
21291
  }
@@ -21290,7 +21308,7 @@ const Mp = {
21290
21308
  [Te.GROUPED_BAR]: [Ev, ii],
21291
21309
  [Te.STACKED_BAR]: [Tv, Ra]
21292
21310
  };
21293
- class n3 extends fe {
21311
+ class i3 extends fe {
21294
21312
  constructor(t, n) {
21295
21313
  super(t, n);
21296
21314
  const r = kt(wt.comboChart, n.options);
@@ -21308,7 +21326,7 @@ class n3 extends fe {
21308
21326
  `Invalid chart type "${i.type}" specified for combo chart. Please refer to the ComboChart tutorial for more guidance.`
21309
21327
  ), null;
21310
21328
  let o = !1;
21311
- const l = `${YP(i.type)}Chart`;
21329
+ const l = `${ZP(i.type)}Chart`;
21312
21330
  return a = at({}, wt[l], this.model.getOptions(), i.options), i.type === Te.STACKED_AREA && (o = !0), Mp[i.type].map(
21313
21331
  (c) => new c(this.model, this.services, {
21314
21332
  groups: i.correspondingDatasets,
@@ -21366,7 +21384,7 @@ class Kv extends qe {
21366
21384
  return this.getChartComponents(t);
21367
21385
  }
21368
21386
  }
21369
- class r3 extends Kv {
21387
+ class s3 extends Kv {
21370
21388
  constructor(t, n) {
21371
21389
  super(t, n, !0), this.model.setOptions(kt(wt.donutChart, n.options)), this.init(t, n);
21372
21390
  }
@@ -21385,7 +21403,7 @@ class r3 extends Kv {
21385
21403
  return this.getChartComponents(t);
21386
21404
  }
21387
21405
  }
21388
- class i3 extends qe {
21406
+ class a3 extends qe {
21389
21407
  constructor(t, n) {
21390
21408
  super(t, n), this.model = new e$(this.services), this.model.setOptions(kt(wt.gaugeChart, n.options)), this.init(t, n);
21391
21409
  }
@@ -21399,7 +21417,7 @@ class i3 extends qe {
21399
21417
  return this.getChartComponents(t);
21400
21418
  }
21401
21419
  }
21402
- class s3 extends fe {
21420
+ class o3 extends fe {
21403
21421
  constructor(t, n) {
21404
21422
  super(t, n), this.model.setOptions(kt(wt.groupedBarChart, n.options)), this.init(t, n);
21405
21423
  }
@@ -21421,7 +21439,7 @@ class s3 extends fe {
21421
21439
  return this.getAxisChartComponents(t);
21422
21440
  }
21423
21441
  }
21424
- class a3 extends fe {
21442
+ class l3 extends fe {
21425
21443
  constructor(t, n) {
21426
21444
  super(t, n), this.model = new n$(this.services), this.model.setOptions(
21427
21445
  kt(wt.heatmapChart, n.options)
@@ -21526,7 +21544,7 @@ class a3 extends fe {
21526
21544
  return this.getAxisChartComponents(t);
21527
21545
  }
21528
21546
  }
21529
- class o3 extends fe {
21547
+ class c3 extends fe {
21530
21548
  constructor(t, n) {
21531
21549
  super(t, n), this.model = new r$(this.services), this.model.setOptions(kt(wt.histogramChart, n.options)), this.init(t, n), this.update();
21532
21550
  }
@@ -21545,7 +21563,7 @@ class o3 extends fe {
21545
21563
  return this.getAxisChartComponents(t);
21546
21564
  }
21547
21565
  }
21548
- class l3 extends fe {
21566
+ class u3 extends fe {
21549
21567
  constructor(t, n) {
21550
21568
  super(t, n), this.model.setOptions(kt(wt.lineChart, n.options)), this.init(t, n);
21551
21569
  }
@@ -21567,7 +21585,7 @@ class l3 extends fe {
21567
21585
  return this.getAxisChartComponents(t);
21568
21586
  }
21569
21587
  }
21570
- class c3 extends fe {
21588
+ class h3 extends fe {
21571
21589
  constructor(t, n) {
21572
21590
  super(t, n), this.model.setOptions(kt(wt.lollipopChart, n.options)), this.init(t, n);
21573
21591
  }
@@ -21590,7 +21608,7 @@ class c3 extends fe {
21590
21608
  return this.getAxisChartComponents(t);
21591
21609
  }
21592
21610
  }
21593
- class u3 extends qe {
21611
+ class d3 extends qe {
21594
21612
  constructor(t, n) {
21595
21613
  super(t, n), this.model = new i$(this.services);
21596
21614
  const r = n.options.meter?.proportional ? at(On(wt.proportionalMeterChart), n.options) : at(On(wt.meterChart), n.options);
@@ -21639,7 +21657,7 @@ class u3 extends qe {
21639
21657
  });
21640
21658
  }
21641
21659
  }
21642
- class h3 extends qe {
21660
+ class p3 extends qe {
21643
21661
  constructor(t, n) {
21644
21662
  super(t, n), this.model = new s$(this.services), this.model.setOptions(kt(wt.radarChart, n.options)), this.init(t, n);
21645
21663
  }
@@ -21653,7 +21671,7 @@ class h3 extends qe {
21653
21671
  return this.getChartComponents(t);
21654
21672
  }
21655
21673
  }
21656
- class d3 extends fe {
21674
+ class f3 extends fe {
21657
21675
  constructor(t, n) {
21658
21676
  super(t, n), this.model.setOptions(kt(wt.scatterChart, n.options)), this.init(t, n);
21659
21677
  }
@@ -21675,7 +21693,7 @@ class d3 extends fe {
21675
21693
  return this.getAxisChartComponents(t);
21676
21694
  }
21677
21695
  }
21678
- class p3 extends qe {
21696
+ class m3 extends qe {
21679
21697
  constructor(t, n) {
21680
21698
  super(t, n), this.model = new a$(this.services), this.model.setOptions(kt(wt.treeChart, n.options)), this.init(t, n);
21681
21699
  }
@@ -21691,7 +21709,7 @@ class p3 extends qe {
21691
21709
  });
21692
21710
  }
21693
21711
  }
21694
- class f3 extends qe {
21712
+ class g3 extends qe {
21695
21713
  constructor(t, n) {
21696
21714
  super(t, n), this.model = new o$(this.services), this.model.setOptions(kt(wt.treemapChart, n.options)), this.init(t, n);
21697
21715
  }
@@ -21705,7 +21723,7 @@ class f3 extends qe {
21705
21723
  return this.getChartComponents(t);
21706
21724
  }
21707
21725
  }
21708
- class m3 extends fe {
21726
+ class v3 extends fe {
21709
21727
  constructor(t, n) {
21710
21728
  super(t, n), this.model.setOptions(kt(wt.simpleBarChart, n.options)), this.init(t, n);
21711
21729
  }
@@ -21727,7 +21745,7 @@ class m3 extends fe {
21727
21745
  return this.getAxisChartComponents(t);
21728
21746
  }
21729
21747
  }
21730
- class g3 extends fe {
21748
+ class y3 extends fe {
21731
21749
  constructor(t, n) {
21732
21750
  super(t, n), this.model.setOptions(kt(wt.stackedAreaChart, n.options)), this.init(t, n);
21733
21751
  }
@@ -21755,7 +21773,7 @@ class g3 extends fe {
21755
21773
  return this.getAxisChartComponents(t);
21756
21774
  }
21757
21775
  }
21758
- class v3 extends fe {
21776
+ class x3 extends fe {
21759
21777
  constructor(t, n) {
21760
21778
  super(t, n), this.model.setOptions(kt(wt.stackedBarChart, n.options)), this.init(t, n);
21761
21779
  }
@@ -21778,7 +21796,7 @@ class v3 extends fe {
21778
21796
  return this.getAxisChartComponents(t);
21779
21797
  }
21780
21798
  }
21781
- class y3 extends qe {
21799
+ class b3 extends qe {
21782
21800
  constructor(t, n) {
21783
21801
  super(t, n), this.model = new l$(this.services), this.model.setOptions(kt(wt.wordCloudChart, n.options)), this.init(t, n);
21784
21802
  }
@@ -21830,22 +21848,20 @@ function Lt(e, t) {
21830
21848
  template: '<div ref="chartDiv"></div>'
21831
21849
  });
21832
21850
  }
21833
- const x3 = Lt(XP, "CcvAlluvialChart"), b3 = Lt(ZP, "CcvAreaChart"), _3 = Lt(KP, "CcvBoxplotChart"), E3 = Lt(QP, "CcvBubbleChart"), O3 = Lt(JP, "CcvBulletChart"), Cp = Lt(
21834
- t3,
21851
+ const _3 = Lt(KP, "CcvAlluvialChart"), E3 = Lt(QP, "CcvAreaChart"), O3 = Lt(JP, "CcvBoxplotChart"), S3 = Lt(t3, "CcvBubbleChart"), T3 = Lt(e3, "CcvBulletChart"), Cp = Lt(
21852
+ n3,
21835
21853
  "ExperimentalCcvChoroplethChart"
21836
- ), S3 = Lt(e3, "CcvCirclePackChart"), T3 = Lt(n3, "CcvComboChart"), w3 = Lt(r3, "CcvDonutChart"), $3 = Lt(i3, "CcvGaugeChart"), M3 = Lt(s3, "CcvGroupedBarChart"), C3 = Lt(a3, "CcvHeatmapChart"), A3 = Lt(o3, "CcvHistogramChart"), L3 = Lt(l3, "CcvLineChart"), D3 = Lt(c3, "CcvLollipopChart"), k3 = Lt(u3, "CcvMeterChart"), R3 = Lt(Kv, "CcvPieChart"), I3 = Lt(h3, "CcvRadarChart"), N3 = Lt(d3, "CcvScatterChart"), P3 = Lt(m3, "CcvSimpleBarChart"), U3 = Lt(g3, "CcvStackedAreaChart"), B3 = Lt(v3, "CcvStackedBarChart"), H3 = Lt(p3, "CcvTreeChart"), V3 = Lt(f3, "CcvTreemapChart"), G3 = Lt(
21837
- y3,
21838
- "CcvWordCloudChart"
21839
- ), z3 = [
21840
- x3,
21854
+ ), w3 = Lt(r3, "CcvCirclePackChart"), $3 = Lt(i3, "CcvComboChart"), M3 = Lt(s3, "CcvDonutChart"), C3 = Lt(a3, "CcvGaugeChart"), A3 = Lt(o3, "CcvGroupedBarChart"), L3 = Lt(l3, "CcvHeatmapChart"), D3 = Lt(c3, "CcvHistogramChart"), k3 = Lt(u3, "CcvLineChart"), R3 = Lt(h3, "CcvLollipopChart"), I3 = Lt(d3, "CcvMeterChart"), N3 = Lt(Kv, "CcvPieChart"), P3 = Lt(p3, "CcvRadarChart"), U3 = Lt(f3, "CcvScatterChart"), B3 = Lt(v3, "CcvSimpleBarChart"), H3 = Lt(y3, "CcvStackedAreaChart"), V3 = Lt(x3, "CcvStackedBarChart"), G3 = Lt(m3, "CcvTreeChart"), z3 = Lt(g3, "CcvTreemapChart"), F3 = Lt(
21841
21855
  b3,
21856
+ "CcvWordCloudChart"
21857
+ ), j3 = [
21842
21858
  _3,
21843
21859
  E3,
21844
21860
  O3,
21845
- Cp,
21846
- Cp,
21847
21861
  S3,
21848
21862
  T3,
21863
+ Cp,
21864
+ Cp,
21849
21865
  w3,
21850
21866
  $3,
21851
21867
  M3,
@@ -21862,10 +21878,12 @@ const x3 = Lt(XP, "CcvAlluvialChart"), b3 = Lt(ZP, "CcvAreaChart"), _3 = Lt(KP,
21862
21878
  B3,
21863
21879
  H3,
21864
21880
  V3,
21865
- G3
21866
- ], oU = {
21881
+ G3,
21882
+ z3,
21883
+ F3
21884
+ ], cU = {
21867
21885
  install(e, t) {
21868
- for (const n of z3)
21886
+ for (const n of j3)
21869
21887
  n.name && (!t || t.includes(n.name)) && e.component(n.name, n);
21870
21888
  }
21871
21889
  };
@@ -21882,31 +21900,31 @@ export {
21882
21900
  Hs as CalloutDirections,
21883
21901
  Np as CanvasZoomEvent,
21884
21902
  zt as CartesianOrientations,
21885
- x3 as CcvAlluvialChart,
21886
- b3 as CcvAreaChart,
21887
- _3 as CcvBoxplotChart,
21888
- E3 as CcvBubbleChart,
21889
- O3 as CcvBulletChart,
21903
+ _3 as CcvAlluvialChart,
21904
+ E3 as CcvAreaChart,
21905
+ O3 as CcvBoxplotChart,
21906
+ S3 as CcvBubbleChart,
21907
+ T3 as CcvBulletChart,
21890
21908
  Cp as CcvChoroplethChart,
21891
- S3 as CcvCirclePackChart,
21892
- T3 as CcvComboChart,
21893
- w3 as CcvDonutChart,
21894
- $3 as CcvGaugeChart,
21895
- M3 as CcvGroupedBarChart,
21896
- C3 as CcvHeatmapChart,
21897
- A3 as CcvHistogramChart,
21898
- L3 as CcvLineChart,
21899
- D3 as CcvLollipopChart,
21900
- k3 as CcvMeterChart,
21901
- R3 as CcvPieChart,
21902
- I3 as CcvRadarChart,
21903
- N3 as CcvScatterChart,
21904
- P3 as CcvSimpleBarChart,
21905
- U3 as CcvStackedAreaChart,
21906
- B3 as CcvStackedBarChart,
21907
- H3 as CcvTreeChart,
21908
- V3 as CcvTreemapChart,
21909
- G3 as CcvWordCloudChart,
21909
+ w3 as CcvCirclePackChart,
21910
+ $3 as CcvComboChart,
21911
+ M3 as CcvDonutChart,
21912
+ C3 as CcvGaugeChart,
21913
+ A3 as CcvGroupedBarChart,
21914
+ L3 as CcvHeatmapChart,
21915
+ D3 as CcvHistogramChart,
21916
+ k3 as CcvLineChart,
21917
+ R3 as CcvLollipopChart,
21918
+ I3 as CcvMeterChart,
21919
+ N3 as CcvPieChart,
21920
+ P3 as CcvRadarChart,
21921
+ U3 as CcvScatterChart,
21922
+ B3 as CcvSimpleBarChart,
21923
+ H3 as CcvStackedAreaChart,
21924
+ V3 as CcvStackedBarChart,
21925
+ G3 as CcvTreeChart,
21926
+ z3 as CcvTreemapChart,
21927
+ F3 as CcvWordCloudChart,
21910
21928
  Ap as ChartEvent,
21911
21929
  ef as ChartTheme,
21912
21930
  Te as ChartTypes,
@@ -21947,6 +21965,6 @@ export {
21947
21965
  Ze as ZoomBarTypes,
21948
21966
  Ip as ZoomDomainEvent,
21949
21967
  Rp as ZoombarEvent,
21950
- oU as default
21968
+ cU as default
21951
21969
  };
21952
21970
  //# sourceMappingURL=index.mjs.map