@orbcharts/core 3.0.0-alpha.64 → 3.0.0-alpha.66

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.
@@ -49,7 +49,7 @@ const $e = {
49
49
  scaleDomain: [0, "max"],
50
50
  scalePadding: 0.5,
51
51
  label: ""
52
- }, Xe = {
52
+ }, je = {
53
53
  gap: 120,
54
54
  rowAmount: 1,
55
55
  columnAmount: 1
@@ -59,7 +59,7 @@ const $e = {
59
59
  sort: null,
60
60
  seriesLabels: [],
61
61
  container: {
62
- ...Xe
62
+ ...je
63
63
  },
64
64
  separateSeries: !1,
65
65
  sumSeries: !1
@@ -94,7 +94,7 @@ const Kn = {
94
94
  ...Kn
95
95
  },
96
96
  container: {
97
- ...Xe
97
+ ...je
98
98
  }
99
99
  };
100
100
  Zn.visibleFilter.toString = () => "(datum, context) => true";
@@ -110,7 +110,7 @@ const de = {
110
110
  ],
111
111
  separateGrid: !1,
112
112
  container: {
113
- ...Xe
113
+ ...je
114
114
  }
115
115
  };
116
116
  Qn.visibleFilter.toString = () => "(datum, context) => true";
@@ -144,17 +144,17 @@ const nr = {
144
144
  // },
145
145
  };
146
146
  nr.visibleFilter.toString = () => "(datum, context) => true";
147
- function X(t) {
147
+ function j(t) {
148
148
  return Object.prototype.toString.call(t) === "[object Object]";
149
149
  }
150
150
  function Ci(t) {
151
- return !!t && !t.nodename && t.constructor != String && t.constructor != RegExp && t.constructor != Array && /function/i.test(t + "");
151
+ return Object.prototype.toString.call(t) === "[object Function]";
152
152
  }
153
153
  function Mi(t) {
154
154
  return !!(t && t.nodeType);
155
155
  }
156
156
  function pt(t, e) {
157
- if (X(t) === !1 || X(e) === !1)
157
+ if (j(t) === !1 || j(e) === !1)
158
158
  return Object.assign({}, e);
159
159
  const n = (r, i) => {
160
160
  const o = Object.assign({}, i);
@@ -162,7 +162,7 @@ function pt(t, e) {
162
162
  if (!(a in i))
163
163
  continue;
164
164
  let s;
165
- X(r[a]) && X(i[a]) ? (s = n(r[a], i[a]), o[a] = s) : o[a] = r[a];
165
+ j(r[a]) && j(i[a]) ? (s = n(r[a], i[a]), o[a] = s) : o[a] = r[a];
166
166
  }
167
167
  return o;
168
168
  };
@@ -181,9 +181,9 @@ function Ei(t, e) {
181
181
  string: (o) => typeof o == "string",
182
182
  number: (o) => typeof o == "number",
183
183
  boolean: (o) => typeof o == "boolean",
184
- object: (o) => X(o),
184
+ object: (o) => j(o),
185
185
  // 嚴格判斷是否為純物件
186
- "object[]": (o) => Array.isArray(o) && o.every((a) => X(a)),
186
+ "object[]": (o) => Array.isArray(o) && o.every((a) => j(a)),
187
187
  "string[]": (o) => Array.isArray(o) && o.every((a) => typeof a == "string"),
188
188
  "number[]": (o) => Array.isArray(o) && o.every((a) => typeof a == "number"),
189
189
  Function: (o) => Ci(o),
@@ -378,7 +378,7 @@ function Hi(t, e, n) {
378
378
  o[r] = t + r * n;
379
379
  return o;
380
380
  }
381
- var Xi = { value: () => {
381
+ var ji = { value: () => {
382
382
  } };
383
383
  function or() {
384
384
  for (var t = 0, e = arguments.length, n = {}, r; t < e; ++t) {
@@ -390,7 +390,7 @@ function or() {
390
390
  function Qt(t) {
391
391
  this._ = t;
392
392
  }
393
- function ji(t, e) {
393
+ function Xi(t, e) {
394
394
  return t.trim().split(/^|\s+/).map(function(n) {
395
395
  var r = "", i = n.indexOf(".");
396
396
  if (i >= 0 && (r = n.slice(i + 1), n = n.slice(0, i)), n && !e.hasOwnProperty(n)) throw new Error("unknown type: " + n);
@@ -400,7 +400,7 @@ function ji(t, e) {
400
400
  Qt.prototype = or.prototype = {
401
401
  constructor: Qt,
402
402
  on: function(t, e) {
403
- var n = this._, r = ji(t + "", n), i, o = -1, a = r.length;
403
+ var n = this._, r = Xi(t + "", n), i, o = -1, a = r.length;
404
404
  if (arguments.length < 2) {
405
405
  for (; ++o < a; ) if ((i = (t = r[o]).type) && (i = qi(n[i], t.name))) return i;
406
406
  return;
@@ -434,7 +434,7 @@ function qi(t, e) {
434
434
  function mn(t, e, n) {
435
435
  for (var r = 0, i = t.length; r < i; ++r)
436
436
  if (t[r].name === e) {
437
- t[r] = Xi, t = t.slice(0, r).concat(t.slice(r + 1));
437
+ t[r] = ji, t = t.slice(0, r).concat(t.slice(r + 1));
438
438
  break;
439
439
  }
440
440
  return n != null && t.push({ name: e, value: n }), t;
@@ -468,13 +468,13 @@ function ar(t) {
468
468
  }
469
469
  function Ji() {
470
470
  }
471
- function je(t) {
471
+ function Xe(t) {
472
472
  return t == null ? Ji : function() {
473
473
  return this.querySelector(t);
474
474
  };
475
475
  }
476
476
  function Ki(t) {
477
- typeof t != "function" && (t = je(t));
477
+ typeof t != "function" && (t = Xe(t));
478
478
  for (var e = this._groups, n = e.length, r = new Array(n), i = 0; i < n; ++i)
479
479
  for (var o = e[i], a = o.length, s = r[i] = new Array(a), u, l, f = 0; f < a; ++f)
480
480
  (u = o[f]) && (l = t.call(u, u.__data__, f, o)) && ("__data__" in u && (l.__data__ = u.__data__), s[f] = l);
@@ -755,7 +755,7 @@ function Ho(t, e) {
755
755
  n == null ? delete this[t] : this[t] = n;
756
756
  };
757
757
  }
758
- function Xo(t, e) {
758
+ function jo(t, e) {
759
759
  return arguments.length > 1 ? this.each((e == null ? Uo : typeof e == "function" ? Ho : zo)(t, e)) : this.node()[t];
760
760
  }
761
761
  function hr(t) {
@@ -786,7 +786,7 @@ function dr(t, e) {
786
786
  function mr(t, e) {
787
787
  for (var n = qe(t), r = -1, i = e.length; ++r < i; ) n.remove(e[r]);
788
788
  }
789
- function jo(t) {
789
+ function Xo(t) {
790
790
  return function() {
791
791
  dr(this, t);
792
792
  };
@@ -807,7 +807,7 @@ function Wo(t, e) {
807
807
  for (var r = qe(this.node()), i = -1, o = n.length; ++i < o; ) if (!r.contains(n[i])) return !1;
808
808
  return !0;
809
809
  }
810
- return this.each((typeof e == "function" ? Yo : e ? jo : qo)(n, e));
810
+ return this.each((typeof e == "function" ? Yo : e ? Xo : qo)(n, e));
811
811
  }
812
812
  function Jo() {
813
813
  this.textContent = "";
@@ -865,7 +865,7 @@ function la() {
865
865
  return null;
866
866
  }
867
867
  function ca(t, e) {
868
- var n = typeof t == "function" ? t : ar(t), r = e == null ? la : typeof e == "function" ? e : je(e);
868
+ var n = typeof t == "function" ? t : ar(t), r = e == null ? la : typeof e == "function" ? e : Xe(e);
869
869
  return this.select(function() {
870
870
  return this.insertBefore(n.apply(this, arguments), r.apply(this, arguments) || null);
871
871
  });
@@ -995,7 +995,7 @@ z.prototype = Gt.prototype = {
995
995
  each: Eo,
996
996
  attr: Io,
997
997
  style: Go,
998
- property: Xo,
998
+ property: jo,
999
999
  classed: Wo,
1000
1000
  text: Qo,
1001
1001
  html: ra,
@@ -1010,7 +1010,7 @@ z.prototype = Gt.prototype = {
1010
1010
  dispatch: Da,
1011
1011
  [Symbol.iterator]: Aa
1012
1012
  };
1013
- function jt(t) {
1013
+ function Xt(t) {
1014
1014
  return typeof t == "string" ? new z([[document.querySelector(t)]], [document.documentElement]) : new z([[t]], yr);
1015
1015
  }
1016
1016
  function Ye(t, e, n) {
@@ -1364,18 +1364,18 @@ function Ha(t, e) {
1364
1364
  return o;
1365
1365
  };
1366
1366
  }
1367
- function Xa(t, e) {
1367
+ function ja(t, e) {
1368
1368
  var n = /* @__PURE__ */ new Date();
1369
1369
  return t = +t, e = +e, function(r) {
1370
1370
  return n.setTime(t * (1 - r) + e * r), n;
1371
1371
  };
1372
1372
  }
1373
- function j(t, e) {
1373
+ function X(t, e) {
1374
1374
  return t = +t, e = +e, function(n) {
1375
1375
  return t * (1 - n) + e * n;
1376
1376
  };
1377
1377
  }
1378
- function ja(t, e) {
1378
+ function Xa(t, e) {
1379
1379
  var n = {}, r = {}, i;
1380
1380
  (t === null || typeof t != "object") && (t = {}), (e === null || typeof e != "object") && (e = {});
1381
1381
  for (i in e)
@@ -1399,7 +1399,7 @@ function Ya(t) {
1399
1399
  function xr(t, e) {
1400
1400
  var n = Pe.lastIndex = Ae.lastIndex = 0, r, i, o, a = -1, s = [], u = [];
1401
1401
  for (t = t + "", e = e + ""; (r = Pe.exec(t)) && (i = Ae.exec(e)); )
1402
- (o = i.index) > n && (o = e.slice(n, o), s[a] ? s[a] += o : s[++a] = o), (r = r[0]) === (i = i[0]) ? s[a] ? s[a] += i : s[++a] = i : (s[++a] = null, u.push({ i: a, x: j(r, i) })), n = Ae.lastIndex;
1402
+ (o = i.index) > n && (o = e.slice(n, o), s[a] ? s[a] += o : s[++a] = o), (r = r[0]) === (i = i[0]) ? s[a] ? s[a] += i : s[++a] = i : (s[++a] = null, u.push({ i: a, x: X(r, i) })), n = Ae.lastIndex;
1403
1403
  return n < e.length && (o = e.slice(n), s[a] ? s[a] += o : s[++a] = o), s.length < 2 ? u[0] ? Ya(u[0].x) : qa(e) : (e = u.length, function(l) {
1404
1404
  for (var f = 0, c; f < e; ++f) s[(c = u[f]).i] = c.x(l);
1405
1405
  return s.join("");
@@ -1407,7 +1407,7 @@ function xr(t, e) {
1407
1407
  }
1408
1408
  function Je(t, e) {
1409
1409
  var n = typeof e, r;
1410
- return e == null || n === "boolean" ? We(e) : (n === "number" ? j : n === "string" ? (r = mt(e)) ? (e = r, se) : xr : e instanceof mt ? se : e instanceof Date ? Xa : za(e) ? Ua : Array.isArray(e) ? Ha : typeof e.valueOf != "function" && typeof e.toString != "function" || isNaN(e) ? ja : j)(t, e);
1410
+ return e == null || n === "boolean" ? We(e) : (n === "number" ? X : n === "string" ? (r = mt(e)) ? (e = r, se) : xr : e instanceof mt ? se : e instanceof Date ? ja : za(e) ? Ua : Array.isArray(e) ? Ha : typeof e.valueOf != "function" && typeof e.toString != "function" || isNaN(e) ? Xa : X)(t, e);
1411
1411
  }
1412
1412
  function Wa(t, e) {
1413
1413
  return t = +t, e = +e, function(n) {
@@ -1448,19 +1448,19 @@ function $r(t, e, n, r) {
1448
1448
  function o(l, f, c, h, p, d) {
1449
1449
  if (l !== c || f !== h) {
1450
1450
  var m = p.push("translate(", null, e, null, n);
1451
- d.push({ i: m - 4, x: j(l, c) }, { i: m - 2, x: j(f, h) });
1451
+ d.push({ i: m - 4, x: X(l, c) }, { i: m - 2, x: X(f, h) });
1452
1452
  } else (c || h) && p.push("translate(" + c + e + h + n);
1453
1453
  }
1454
1454
  function a(l, f, c, h) {
1455
- l !== f ? (l - f > 180 ? f += 360 : f - l > 180 && (l += 360), h.push({ i: c.push(i(c) + "rotate(", null, r) - 2, x: j(l, f) })) : f && c.push(i(c) + "rotate(" + f + r);
1455
+ l !== f ? (l - f > 180 ? f += 360 : f - l > 180 && (l += 360), h.push({ i: c.push(i(c) + "rotate(", null, r) - 2, x: X(l, f) })) : f && c.push(i(c) + "rotate(" + f + r);
1456
1456
  }
1457
1457
  function s(l, f, c, h) {
1458
- l !== f ? h.push({ i: c.push(i(c) + "skewX(", null, r) - 2, x: j(l, f) }) : f && c.push(i(c) + "skewX(" + f + r);
1458
+ l !== f ? h.push({ i: c.push(i(c) + "skewX(", null, r) - 2, x: X(l, f) }) : f && c.push(i(c) + "skewX(" + f + r);
1459
1459
  }
1460
1460
  function u(l, f, c, h, p, d) {
1461
1461
  if (l !== c || f !== h) {
1462
1462
  var m = p.push(i(p) + "scale(", null, ",", null, ")");
1463
- d.push({ i: m - 4, x: j(l, c) }, { i: m - 2, x: j(f, h) });
1463
+ d.push({ i: m - 4, x: X(l, c) }, { i: m - 2, x: X(f, h) });
1464
1464
  } else (c !== 1 || h !== 1) && p.push(i(p) + "scale(" + c + "," + h + ")");
1465
1465
  }
1466
1466
  return function(l, f) {
@@ -1674,7 +1674,7 @@ function Qe(t, e, n) {
1674
1674
  }
1675
1675
  function Cr(t, e) {
1676
1676
  var n;
1677
- return (typeof e == "number" ? j : e instanceof mt ? se : (n = mt(e)) ? (e = n, se) : xr)(t, e);
1677
+ return (typeof e == "number" ? X : e instanceof mt ? se : (n = mt(e)) ? (e = n, se) : xr)(t, e);
1678
1678
  }
1679
1679
  function hs(t) {
1680
1680
  return function() {
@@ -1846,7 +1846,7 @@ function Vs() {
1846
1846
  }
1847
1847
  function Gs(t) {
1848
1848
  var e = this._name, n = this._id;
1849
- typeof t != "function" && (t = je(t));
1849
+ typeof t != "function" && (t = Xe(t));
1850
1850
  for (var r = this._groups, i = r.length, o = new Array(i), a = 0; a < i; ++a)
1851
1851
  for (var s = r[a], u = s.length, l = o[a] = new Array(u), f, c, h = 0; h < u; ++h)
1852
1852
  (f = s[h]) && (c = t.call(f, f.__data__, h, s)) && ("__data__" in f && (c.__data__ = f.__data__), l[h] = c, ye(l[h], e, n, h, l, Y(f, n)));
@@ -1868,7 +1868,7 @@ var zs = Gt.prototype.constructor;
1868
1868
  function Hs() {
1869
1869
  return new zs(this._groups, this._parents);
1870
1870
  }
1871
- function Xs(t, e) {
1871
+ function js(t, e) {
1872
1872
  var n, r, i;
1873
1873
  return function() {
1874
1874
  var o = _t(this, t), a = (this.style.removeProperty(t), _t(this, t));
@@ -1880,7 +1880,7 @@ function Mr(t) {
1880
1880
  this.style.removeProperty(t);
1881
1881
  };
1882
1882
  }
1883
- function js(t, e, n) {
1883
+ function Xs(t, e, n) {
1884
1884
  var r, i = n + "", o;
1885
1885
  return function() {
1886
1886
  var a = _t(this, t);
@@ -1903,7 +1903,7 @@ function Ys(t, e) {
1903
1903
  }
1904
1904
  function Ws(t, e, n) {
1905
1905
  var r = (t += "") == "transform" ? Za : Cr;
1906
- return e == null ? this.styleTween(t, Xs(t, r)).on("end.style." + t, Mr(t)) : typeof e == "function" ? this.styleTween(t, qs(t, r, Qe(this, "style." + t, e))).each(Ys(this._id, t)) : this.styleTween(t, js(t, r, e), n).on("end.style." + t, null);
1906
+ return e == null ? this.styleTween(t, js(t, r)).on("end.style." + t, Mr(t)) : typeof e == "function" ? this.styleTween(t, qs(t, r, Qe(this, "style." + t, e))).each(Ys(this._id, t)) : this.styleTween(t, Xs(t, r, e), n).on("end.style." + t, null);
1907
1907
  }
1908
1908
  function Js(t, e, n) {
1909
1909
  return function(r) {
@@ -2175,7 +2175,7 @@ function vu(t) {
2175
2175
  }
2176
2176
  }
2177
2177
  _ && !w && (g = e(g, 1 / 0));
2178
- var Xt = T.length + g.length + E.length, et = Xt < x ? new Array(x - Xt + 1).join(h) : "";
2178
+ var jt = T.length + g.length + E.length, et = jt < x ? new Array(x - jt + 1).join(h) : "";
2179
2179
  switch (_ && w && (g = e(et + g, et.length ? x - E.length : 1 / 0), et = ""), p) {
2180
2180
  case "<":
2181
2181
  g = T + g + E + et;
@@ -2184,7 +2184,7 @@ function vu(t) {
2184
2184
  g = T + et + g + E;
2185
2185
  break;
2186
2186
  case "^":
2187
- g = et.slice(0, Xt = et.length >> 1) + T + g + E + et.slice(Xt);
2187
+ g = et.slice(0, jt = et.length >> 1) + T + g + E + et.slice(jt);
2188
2188
  break;
2189
2189
  default:
2190
2190
  g = et + T + g + E;
@@ -2358,7 +2358,7 @@ function Eu() {
2358
2358
  return h == null || isNaN(h = +h) ? o : (u || (u = s(t.map(r), e, n)))(r(a(h)));
2359
2359
  }
2360
2360
  return c.invert = function(h) {
2361
- return a(i((l || (l = s(e, t.map(r), j)))(h)));
2361
+ return a(i((l || (l = s(e, t.map(r), X)))(h)));
2362
2362
  }, c.domain = function(h) {
2363
2363
  return arguments.length ? (t = Array.from(h, Au), f()) : t.slice();
2364
2364
  }, c.range = function(h) {
@@ -2542,19 +2542,19 @@ function Re(t) {
2542
2542
  return zt(e);
2543
2543
  }
2544
2544
  function Vc(t) {
2545
- const n = (t[0] && Array.isArray(t[0]) ? t.flat() : t).filter((r) => (r == null || X(r) && r.value == null) === !1).map((r) => typeof r == "number" ? r : r.value);
2545
+ const n = (t[0] && Array.isArray(t[0]) ? t.flat() : t).filter((r) => (r == null || j(r) && r.value == null) === !1).map((r) => typeof r == "number" ? r : r.value);
2546
2546
  return zt(n);
2547
2547
  }
2548
2548
  function In(t) {
2549
- const n = t.flat().filter((r) => (r == null || X(r) && r.value == null) === !1).map((r) => typeof r == "number" ? r : r.value);
2549
+ const n = t.flat().filter((r) => (r == null || j(r) && r.value == null) === !1).map((r) => typeof r == "number" ? r : r.value);
2550
2550
  return zt(n);
2551
2551
  }
2552
2552
  function Gc(t) {
2553
- const n = t.flat().flat().filter((r) => (r == null || X(r) && r.value == null) === !1).map((r) => typeof r == "number" ? r : r.value);
2553
+ const n = t.flat().flat().filter((r) => (r == null || j(r) && r.value == null) === !1).map((r) => typeof r == "number" ? r : r.value);
2554
2554
  return zt(n);
2555
2555
  }
2556
2556
  function Uc(t, e = 2) {
2557
- const r = t.flat().filter((i, o) => o == e).filter((i) => (i == null || X(i) && i.value == null) === !1).map((i) => typeof i == "number" ? i : i.value);
2557
+ const r = t.flat().filter((i, o) => o == e).filter((i) => (i == null || j(i) && i.value == null) === !1).map((i) => typeof i == "number" ? i : i.value);
2558
2558
  return zt(r);
2559
2559
  }
2560
2560
  function ku(t, e) {
@@ -2972,26 +2972,26 @@ function Hr(t) {
2972
2972
  function Rn(t) {
2973
2973
  k(t) ? t() : t.unsubscribe();
2974
2974
  }
2975
- var Xr = {
2975
+ var jr = {
2976
2976
  onUnhandledError: null,
2977
2977
  onStoppedNotification: null,
2978
2978
  Promise: void 0,
2979
2979
  useDeprecatedSynchronousErrorHandling: !1,
2980
2980
  useDeprecatedNextContext: !1
2981
- }, jr = {
2981
+ }, Xr = {
2982
2982
  setTimeout: function(t, e) {
2983
2983
  for (var n = [], r = 2; r < arguments.length; r++)
2984
2984
  n[r - 2] = arguments[r];
2985
2985
  return setTimeout.apply(void 0, st([t, e], at(n)));
2986
2986
  },
2987
2987
  clearTimeout: function(t) {
2988
- var e = jr.delegate;
2988
+ var e = Xr.delegate;
2989
2989
  return ((e == null ? void 0 : e.clearTimeout) || clearTimeout)(t);
2990
2990
  },
2991
2991
  delegate: void 0
2992
2992
  };
2993
2993
  function qr(t) {
2994
- jr.setTimeout(function() {
2994
+ Xr.setTimeout(function() {
2995
2995
  throw t;
2996
2996
  });
2997
2997
  }
@@ -3004,7 +3004,7 @@ var on = function(t) {
3004
3004
  Q(e, t);
3005
3005
  function e(n) {
3006
3006
  var r = t.call(this) || this;
3007
- return r.isStopped = !1, n ? (r.destination = n, Hr(n) && n.add(r)) : r.destination = Xu, r;
3007
+ return r.isStopped = !1, n ? (r.destination = n, Hr(n) && n.add(r)) : r.destination = ju, r;
3008
3008
  }
3009
3009
  return e.create = function(n, r, i) {
3010
3010
  return new Vt(n, r, i);
@@ -3078,7 +3078,7 @@ var zu = function() {
3078
3078
  };
3079
3079
  else {
3080
3080
  var s;
3081
- o && Xr.useDeprecatedNextContext ? (s = Object.create(n), s.unsubscribe = function() {
3081
+ o && jr.useDeprecatedNextContext ? (s = Object.create(n), s.unsubscribe = function() {
3082
3082
  return o.unsubscribe();
3083
3083
  }, a = {
3084
3084
  next: n.next && Te(n.next, s),
@@ -3096,7 +3096,7 @@ function Kt(t) {
3096
3096
  function Hu(t) {
3097
3097
  throw t;
3098
3098
  }
3099
- var Xu = {
3099
+ var ju = {
3100
3100
  closed: !0,
3101
3101
  next: Ue,
3102
3102
  error: Hu,
@@ -3107,7 +3107,7 @@ var Xu = {
3107
3107
  function Tt(t) {
3108
3108
  return t;
3109
3109
  }
3110
- function ju(t) {
3110
+ function Xu(t) {
3111
3111
  return t.length === 0 ? Tt : t.length === 1 ? t[0] : function(n) {
3112
3112
  return t.reduce(function(r, i) {
3113
3113
  return i(r);
@@ -3157,7 +3157,7 @@ var L = function() {
3157
3157
  }, t.prototype.pipe = function() {
3158
3158
  for (var e = [], n = 0; n < arguments.length; n++)
3159
3159
  e[n] = arguments[n];
3160
- return ju(e)(this);
3160
+ return Xu(e)(this);
3161
3161
  }, t.prototype.toPromise = function(e) {
3162
3162
  var n = this;
3163
3163
  return e = Vn(e), new e(function(r, i) {
@@ -3176,7 +3176,7 @@ var L = function() {
3176
3176
  }();
3177
3177
  function Vn(t) {
3178
3178
  var e;
3179
- return (e = t ?? Xr.Promise) !== null && e !== void 0 ? e : Promise;
3179
+ return (e = t ?? jr.Promise) !== null && e !== void 0 ? e : Promise;
3180
3180
  }
3181
3181
  function qu(t) {
3182
3182
  return t && k(t.next) && k(t.error) && k(t.complete);
@@ -3907,7 +3907,7 @@ function cn(t) {
3907
3907
  function El() {
3908
3908
  return cn(1);
3909
3909
  }
3910
- function Xn() {
3910
+ function jn() {
3911
3911
  for (var t = [], e = 0; e < arguments.length; e++)
3912
3912
  t[e] = arguments[e];
3913
3913
  return El()(Mt(t, Ct(t)));
@@ -3944,7 +3944,7 @@ var Nl = Array.isArray;
3944
3944
  function Ol(t) {
3945
3945
  return t.length === 1 && Nl(t[0]) ? t[0] : t;
3946
3946
  }
3947
- function jn(t, e) {
3947
+ function Xn(t, e) {
3948
3948
  return R(function(n, r) {
3949
3949
  var i = 0;
3950
3950
  n.subscribe(B(r, function(o) {
@@ -4117,7 +4117,7 @@ function Me() {
4117
4117
  t[e] = arguments[e];
4118
4118
  var n = Ct(t);
4119
4119
  return R(function(r, i) {
4120
- (n ? Xn(t, r, n) : Xn(t, r)).subscribe(i);
4120
+ (n ? jn(t, r, n) : jn(t, r)).subscribe(i);
4121
4121
  });
4122
4122
  }
4123
4123
  function O(t, e) {
@@ -4145,7 +4145,7 @@ function C(t) {
4145
4145
  }, Ue)), !n.closed && e.subscribe(n);
4146
4146
  });
4147
4147
  }
4148
- function Xl(t, e) {
4148
+ function jl(t, e) {
4149
4149
  return R(function(n, r) {
4150
4150
  var i = e ?? {}, o = i.leading, a = o === void 0 ? !0 : o, s = i.trailing, u = s === void 0 ? !1 : s, l = !1, f = null, c = null, h = !1, p = function() {
4151
4151
  c == null || c.unsubscribe(), c = null, u && (w(), h && r.complete());
@@ -4167,10 +4167,10 @@ function Xl(t, e) {
4167
4167
  }));
4168
4168
  });
4169
4169
  }
4170
- function jl(t, e, n) {
4170
+ function Xl(t, e, n) {
4171
4171
  e === void 0 && (e = un);
4172
4172
  var r = Ll(t, e);
4173
- return Xl(function() {
4173
+ return jl(function() {
4174
4174
  return r;
4175
4175
  }, n);
4176
4176
  }
@@ -4199,7 +4199,7 @@ const xe = ({ datumList$: t, fullChartParams$: e, event$: n }) => {
4199
4199
  ), o = n.pipe(
4200
4200
  C(r),
4201
4201
  // filter(d => d.eventName === 'mouseover' || d.eventName === 'mousemove'),
4202
- jn((c) => c.eventName === "mouseover"),
4202
+ Xn((c) => c.eventName === "mouseover"),
4203
4203
  // distinctUntilChanged((prev, current) => prev.eventName === current.eventName)
4204
4204
  D((c) => c.datum ? {
4205
4205
  id: c.datum.id,
@@ -4216,7 +4216,7 @@ const xe = ({ datumList$: t, fullChartParams$: e, event$: n }) => {
4216
4216
  })
4217
4217
  ), a = n.pipe(
4218
4218
  C(r),
4219
- jn((c) => c.eventName === "mouseout"),
4219
+ Xn((c) => c.eventName === "mouseout"),
4220
4220
  // distinctUntilChanged((prev, current) => prev.eventName === current.eventName)
4221
4221
  // map(d => {
4222
4222
  // return { id: '', label: '' }
@@ -5037,8 +5037,8 @@ const cc = ({
5037
5037
  } catch (y) {
5038
5038
  throw new Error(y);
5039
5039
  }
5040
- jt(u).selectAll("svg").remove();
5041
- const f = jt(u).append("svg");
5040
+ Xt(u).selectAll("svg").remove();
5041
+ const f = Xt(u).append("svg");
5042
5042
  f.attr("xmlns:xlink", "http://www.w3.org/1999/xlink").attr("xmls", "http://www.w3.org/2000/svg").attr("version", "1.1").style("position", "absolute").classed("orbcharts__root", !0);
5043
5043
  const c = f.append("g");
5044
5044
  c.classed("orbcharts__layout", !0);
@@ -5069,12 +5069,12 @@ const cc = ({
5069
5069
  throw new Error(lt({
5070
5070
  columnName: g,
5071
5071
  expectToBe: T,
5072
- from: "Chart.constructor"
5072
+ from: "Chart.dataFormatter$"
5073
5073
  }));
5074
5074
  return v === "warning" && console.warn(ct({
5075
5075
  columnName: g,
5076
5076
  expectToBe: T,
5077
- from: "Chart.constructor"
5077
+ from: "Chart.dataFormatter$"
5078
5078
  })), Yn(y, d.dataFormatter, a);
5079
5079
  } catch (v) {
5080
5080
  throw new Error(v);
@@ -5092,12 +5092,12 @@ const cc = ({
5092
5092
  throw new Error(lt({
5093
5093
  columnName: g,
5094
5094
  expectToBe: T,
5095
- from: "Chart.constructor"
5095
+ from: "Chart.chartParams$"
5096
5096
  }));
5097
5097
  return v === "warning" && console.warn(ct({
5098
5098
  columnName: g,
5099
5099
  expectToBe: T,
5100
- from: "Chart.constructor"
5100
+ from: "Chart.chartParams$"
5101
5101
  })), pt(y, d.chartParams);
5102
5102
  } catch (v) {
5103
5103
  throw new Error(v);
@@ -5141,7 +5141,7 @@ const cc = ({
5141
5141
  kl(250)
5142
5142
  ),
5143
5143
  $.pipe(
5144
- jl(250)
5144
+ Xl(250)
5145
5145
  )
5146
5146
  ),
5147
5147
  K((y, v) => JSON.stringify(y) === JSON.stringify(v)),
@@ -5185,12 +5185,12 @@ const cc = ({
5185
5185
  throw new Error(lt({
5186
5186
  columnName: T,
5187
5187
  expectToBe: E,
5188
- from: "Chart.constructor"
5188
+ from: "Chart.data$"
5189
5189
  }));
5190
5190
  return g === "warning" && console.warn(ct({
5191
5191
  columnName: T,
5192
5192
  expectToBe: E,
5193
- from: "Chart.constructor"
5193
+ from: "Chart.data$"
5194
5194
  })), n({ data: v.data, dataFormatter: v.dataFormatter, chartParams: v.chartParams });
5195
5195
  } catch (g) {
5196
5196
  throw new Error(g);
@@ -5231,7 +5231,7 @@ const cc = ({
5231
5231
  observer: V,
5232
5232
  subject: p
5233
5233
  }), W = {
5234
- selection: jt(E[T]),
5234
+ selection: Xt(E[T]),
5235
5235
  rootSelection: f,
5236
5236
  name: g.name,
5237
5237
  chartType: a,
@@ -5249,7 +5249,7 @@ const cc = ({
5249
5249
  ...p,
5250
5250
  selection: f,
5251
5251
  destroy() {
5252
- jt(u).selectAll("svg").remove(), o.next(void 0), S.unsubscribe();
5252
+ Xt(u).selectAll("svg").remove(), o.next(void 0), S.unsubscribe();
5253
5253
  }
5254
5254
  };
5255
5255
  };
@@ -5265,7 +5265,7 @@ class Et {
5265
5265
  }
5266
5266
  }
5267
5267
  }
5268
- class Xc extends Et {
5268
+ class jc extends Et {
5269
5269
  constructor(e, n) {
5270
5270
  super(
5271
5271
  {
@@ -5551,7 +5551,7 @@ const hc = (t) => {
5551
5551
  computedStackedData$: _
5552
5552
  };
5553
5553
  };
5554
- class jc extends Et {
5554
+ class Xc extends Et {
5555
5555
  constructor(e, n) {
5556
5556
  super(
5557
5557
  {
@@ -6024,7 +6024,7 @@ const Tc = (t) => M(t, {
6024
6024
  };
6025
6025
  try {
6026
6026
  const a = function() {
6027
- if (X(e) === !0)
6027
+ if (j(e) === !0)
6028
6028
  return JSON.parse(JSON.stringify(e));
6029
6029
  if (Array.isArray(e) === !1)
6030
6030
  return {
@@ -6088,7 +6088,7 @@ const Tc = (t) => M(t, {
6088
6088
  data: {
6089
6089
  toBe: "DataTreeObj | DataTreeDatum[]",
6090
6090
  // 畢免資料量過大檢查不完,不深度檢查
6091
- test: (n) => X(n) && n.id !== void 0
6091
+ test: (n) => j(n) && n.id !== void 0
6092
6092
  }
6093
6093
  }), Ec = ({ subject: t, observer: e }) => {
6094
6094
  const n = _e(e.fullChartParams$).pipe(
@@ -6161,12 +6161,12 @@ function Fc({ chartType: t, config: e, initFn: n }) {
6161
6161
  throw new Error(lt({
6162
6162
  columnName: p,
6163
6163
  expectToBe: d,
6164
- from: "Chart.constructor"
6164
+ from: `${e.name}.params$`
6165
6165
  }));
6166
6166
  return h === "warning" && console.warn(ct({
6167
6167
  columnName: p,
6168
6168
  expectToBe: d,
6169
- from: "Chart.constructor"
6169
+ from: `${e.name}.params$`
6170
6170
  })), pt(c, f);
6171
6171
  } catch (h) {
6172
6172
  throw new Error(h.message);
@@ -6216,7 +6216,7 @@ export {
6216
6216
  $e as CHART_OPTIONS_DEFAULT,
6217
6217
  hn as CHART_PARAMS_DEFAULT,
6218
6218
  Ai as CHART_WIDTH_DEFAULT,
6219
- Xe as DATA_FORMATTER_CONTAINER_DEFAULT,
6219
+ je as DATA_FORMATTER_CONTAINER_DEFAULT,
6220
6220
  Zn as DATA_FORMATTER_GRID_DEFAULT,
6221
6221
  Kn as DATA_FORMATTER_GRID_GRID_DEFAULT,
6222
6222
  Ti as DATA_FORMATTER_GROUP_AXIS_DEFAULT,
@@ -6233,12 +6233,12 @@ export {
6233
6233
  Ic as DATA_RELATIONA_DEFAULTL,
6234
6234
  Lc as DATA_SERIES_DEFAULT,
6235
6235
  kc as DATA_TREE_DEFAULT,
6236
- jc as GridChart,
6236
+ Xc as GridChart,
6237
6237
  qc as MultiGridChart,
6238
6238
  Yc as MultiValueChart,
6239
6239
  Wn as PADDING_DEFAULT,
6240
6240
  Wc as RelationshipChart,
6241
- Xc as SeriesChart,
6241
+ jc as SeriesChart,
6242
6242
  Jc as TreeChart,
6243
6243
  Ve as calcGridContainerLayout,
6244
6244
  Bn as calcSeriesContainerLayout,
@@ -6284,7 +6284,7 @@ export {
6284
6284
  xe as highlightObservable,
6285
6285
  Mi as isDom,
6286
6286
  Ci as isFunction,
6287
- X as isPlainObject,
6287
+ j as isPlainObject,
6288
6288
  pt as mergeOptionsWithDefault,
6289
6289
  $i as multiGridContainerObservable,
6290
6290
  nc as multiGridEachDetailObservable,