@orbcharts/plugins-basic 3.0.0-alpha.45 → 3.0.0-alpha.46

Sign up to get free protection for your applications and to get access to all the features.
Files changed (153) hide show
  1. package/LICENSE +200 -200
  2. package/dist/orbcharts-plugins-basic.es.js +182 -159
  3. package/dist/orbcharts-plugins-basic.umd.js +7 -7
  4. package/dist/src/index.d.ts +5 -1
  5. package/dist/{orbcharts-plugins-basic/src → src}/series/seriesObservables.d.ts +4 -4
  6. package/package.json +42 -42
  7. package/src/base/BaseBarStack.ts +778 -778
  8. package/src/base/BaseBars.ts +764 -764
  9. package/src/base/BaseBarsTriangle.ts +672 -672
  10. package/src/base/BaseDots.ts +502 -502
  11. package/src/base/BaseGroupAxis.ts +496 -496
  12. package/src/base/BaseLegend.ts +641 -641
  13. package/src/base/BaseLineAreas.ts +625 -625
  14. package/src/base/BaseLines.ts +699 -699
  15. package/src/base/BaseValueAxis.ts +478 -478
  16. package/src/base/types.ts +2 -2
  17. package/src/grid/defaults.ts +121 -121
  18. package/src/grid/gridObservables.ts +247 -247
  19. package/src/grid/index.ts +15 -15
  20. package/src/grid/plugins/BarStack.ts +50 -50
  21. package/src/grid/plugins/Bars.ts +51 -51
  22. package/src/grid/plugins/BarsDiverging.ts +41 -41
  23. package/src/grid/plugins/BarsTriangle.ts +50 -50
  24. package/src/grid/plugins/Dots.ts +37 -37
  25. package/src/grid/plugins/GridLegend.ts +59 -59
  26. package/src/grid/plugins/GroupAux.ts +645 -645
  27. package/src/grid/plugins/GroupAxis.ts +42 -42
  28. package/src/grid/plugins/LineAreas.ts +39 -39
  29. package/src/grid/plugins/Lines.ts +38 -38
  30. package/src/grid/plugins/ScalingArea.ts +173 -173
  31. package/src/grid/plugins/ValueAxis.ts +43 -43
  32. package/src/grid/plugins/ValueStackAxis.ts +79 -79
  33. package/src/grid/types.ts +120 -120
  34. package/src/index.ts +9 -9
  35. package/src/multiGrid/defaults.ts +147 -147
  36. package/src/multiGrid/index.ts +11 -11
  37. package/src/multiGrid/multiGridObservables.ts +42 -42
  38. package/src/multiGrid/plugins/MultiBarStack.ts +74 -74
  39. package/src/multiGrid/plugins/MultiBars.ts +73 -73
  40. package/src/multiGrid/plugins/MultiBarsTriangle.ts +73 -73
  41. package/src/multiGrid/plugins/MultiDots.ts +60 -60
  42. package/src/multiGrid/plugins/MultiGridLegend.ts +89 -89
  43. package/src/multiGrid/plugins/MultiGroupAxis.ts +65 -65
  44. package/src/multiGrid/plugins/MultiLineAreas.ts +62 -62
  45. package/src/multiGrid/plugins/MultiLines.ts +61 -61
  46. package/src/multiGrid/plugins/MultiValueAxis.ts +65 -65
  47. package/src/multiGrid/plugins/OverlappingValueAxes.ts +169 -169
  48. package/src/multiGrid/types.ts +67 -67
  49. package/src/noneData/defaults.ts +64 -64
  50. package/src/noneData/index.ts +3 -3
  51. package/src/noneData/plugins/Container.ts +10 -10
  52. package/src/noneData/plugins/Tooltip.ts +310 -310
  53. package/src/noneData/types.ts +26 -26
  54. package/src/series/defaults.ts +109 -109
  55. package/src/series/index.ts +6 -6
  56. package/src/series/plugins/Bubbles.ts +602 -571
  57. package/src/series/plugins/Pie.ts +555 -548
  58. package/src/series/plugins/PieEventTexts.ts +258 -258
  59. package/src/series/plugins/PieLabels.ts +335 -335
  60. package/src/series/plugins/SeriesLegend.ts +59 -59
  61. package/src/series/seriesObservables.ts +145 -145
  62. package/src/series/seriesUtils.ts +50 -50
  63. package/src/series/types.ts +67 -67
  64. package/src/tree/defaults.ts +22 -22
  65. package/src/tree/index.ts +3 -3
  66. package/src/tree/plugins/TreeLegend.ts +59 -59
  67. package/src/tree/plugins/TreeMap.ts +305 -305
  68. package/src/tree/types.ts +23 -23
  69. package/src/utils/commonUtils.ts +21 -21
  70. package/src/utils/d3Graphics.ts +124 -124
  71. package/src/utils/d3Utils.ts +73 -73
  72. package/src/utils/observables.ts +14 -14
  73. package/src/utils/orbchartsUtils.ts +100 -100
  74. package/tsconfig.dev.json +16 -16
  75. package/tsconfig.json +13 -16
  76. package/tsconfig.prod.json +13 -13
  77. package/vite.config.js +49 -49
  78. package/dist/orbcharts-plugins-basic/src/index.d.ts +0 -5
  79. /package/dist/{orbcharts-plugins-basic/src → src}/base/BaseBarStack.d.ts +0 -0
  80. /package/dist/{orbcharts-plugins-basic/src → src}/base/BaseBars.d.ts +0 -0
  81. /package/dist/{orbcharts-plugins-basic/src → src}/base/BaseBarsTriangle.d.ts +0 -0
  82. /package/dist/{orbcharts-plugins-basic/src → src}/base/BaseDots.d.ts +0 -0
  83. /package/dist/{orbcharts-plugins-basic/src → src}/base/BaseGroupArea.d.ts +0 -0
  84. /package/dist/{orbcharts-plugins-basic/src → src}/base/BaseGroupAxis.d.ts +0 -0
  85. /package/dist/{orbcharts-plugins-basic/src → src}/base/BaseLegend.d.ts +0 -0
  86. /package/dist/{orbcharts-plugins-basic/src → src}/base/BaseLineAreas.d.ts +0 -0
  87. /package/dist/{orbcharts-plugins-basic/src → src}/base/BaseLines.d.ts +0 -0
  88. /package/dist/{orbcharts-plugins-basic/src → src}/base/BaseValueAxis.d.ts +0 -0
  89. /package/dist/{orbcharts-plugins-basic/src → src}/base/types.d.ts +0 -0
  90. /package/dist/{orbcharts-plugins-basic/src → src}/grid/defaults.d.ts +0 -0
  91. /package/dist/{orbcharts-plugins-basic/src → src}/grid/gridObservables.d.ts +0 -0
  92. /package/dist/{orbcharts-plugins-basic/src → src}/grid/index.d.ts +0 -0
  93. /package/dist/{orbcharts-plugins-basic/src → src}/grid/plugins/BarStack.d.ts +0 -0
  94. /package/dist/{orbcharts-plugins-basic/src → src}/grid/plugins/Bars.d.ts +0 -0
  95. /package/dist/{orbcharts-plugins-basic/src → src}/grid/plugins/BarsDiverging.d.ts +0 -0
  96. /package/dist/{orbcharts-plugins-basic/src → src}/grid/plugins/BarsTriangle.d.ts +0 -0
  97. /package/dist/{orbcharts-plugins-basic/src → src}/grid/plugins/Dots.d.ts +0 -0
  98. /package/dist/{orbcharts-plugins-basic/src → src}/grid/plugins/GridLegend.d.ts +0 -0
  99. /package/dist/{orbcharts-plugins-basic/src → src}/grid/plugins/GroupAux.d.ts +0 -0
  100. /package/dist/{orbcharts-plugins-basic/src → src}/grid/plugins/GroupAxis.d.ts +0 -0
  101. /package/dist/{orbcharts-plugins-basic/src → src}/grid/plugins/LineAreas.d.ts +0 -0
  102. /package/dist/{orbcharts-plugins-basic/src → src}/grid/plugins/Lines.d.ts +0 -0
  103. /package/dist/{orbcharts-plugins-basic/src → src}/grid/plugins/Ranking.d.ts +0 -0
  104. /package/dist/{orbcharts-plugins-basic/src → src}/grid/plugins/RankingAxis.d.ts +0 -0
  105. /package/dist/{orbcharts-plugins-basic/src → src}/grid/plugins/ScalingArea.d.ts +0 -0
  106. /package/dist/{orbcharts-plugins-basic/src → src}/grid/plugins/ValueAxis.d.ts +0 -0
  107. /package/dist/{orbcharts-plugins-basic/src → src}/grid/plugins/ValueStackAxis.d.ts +0 -0
  108. /package/dist/{orbcharts-plugins-basic/src → src}/grid/types.d.ts +0 -0
  109. /package/dist/{orbcharts-plugins-basic/src → src}/multiGrid/defaults.d.ts +0 -0
  110. /package/dist/{orbcharts-plugins-basic/src → src}/multiGrid/index.d.ts +0 -0
  111. /package/dist/{orbcharts-plugins-basic/src → src}/multiGrid/multiGridObservables.d.ts +0 -0
  112. /package/dist/{orbcharts-plugins-basic/src → src}/multiGrid/plugins/MultiBarStack.d.ts +0 -0
  113. /package/dist/{orbcharts-plugins-basic/src → src}/multiGrid/plugins/MultiBars.d.ts +0 -0
  114. /package/dist/{orbcharts-plugins-basic/src → src}/multiGrid/plugins/MultiBarsTriangle.d.ts +0 -0
  115. /package/dist/{orbcharts-plugins-basic/src → src}/multiGrid/plugins/MultiDots.d.ts +0 -0
  116. /package/dist/{orbcharts-plugins-basic/src → src}/multiGrid/plugins/MultiGridLegend.d.ts +0 -0
  117. /package/dist/{orbcharts-plugins-basic/src → src}/multiGrid/plugins/MultiGroupAxis.d.ts +0 -0
  118. /package/dist/{orbcharts-plugins-basic/src → src}/multiGrid/plugins/MultiLineAreas.d.ts +0 -0
  119. /package/dist/{orbcharts-plugins-basic/src → src}/multiGrid/plugins/MultiLines.d.ts +0 -0
  120. /package/dist/{orbcharts-plugins-basic/src → src}/multiGrid/plugins/MultiValueAxis.d.ts +0 -0
  121. /package/dist/{orbcharts-plugins-basic/src → src}/multiGrid/plugins/OverlappingValueAxes.d.ts +0 -0
  122. /package/dist/{orbcharts-plugins-basic/src → src}/multiGrid/types.d.ts +0 -0
  123. /package/dist/{orbcharts-plugins-basic/src → src}/multiValue/index.d.ts +0 -0
  124. /package/dist/{orbcharts-plugins-basic/src → src}/multiValue/plugins/Scatter.d.ts +0 -0
  125. /package/dist/{orbcharts-plugins-basic/src → src}/multiValue/plugins/ScatterAxes.d.ts +0 -0
  126. /package/dist/{orbcharts-plugins-basic/src → src}/noneData/defaults.d.ts +0 -0
  127. /package/dist/{orbcharts-plugins-basic/src → src}/noneData/index.d.ts +0 -0
  128. /package/dist/{orbcharts-plugins-basic/src → src}/noneData/plugins/Container.d.ts +0 -0
  129. /package/dist/{orbcharts-plugins-basic/src → src}/noneData/plugins/Tooltip.d.ts +0 -0
  130. /package/dist/{orbcharts-plugins-basic/src → src}/noneData/types.d.ts +0 -0
  131. /package/dist/{orbcharts-plugins-basic/src → src}/relationship/index.d.ts +0 -0
  132. /package/dist/{orbcharts-plugins-basic/src → src}/relationship/plugins/Relationship.d.ts +0 -0
  133. /package/dist/{orbcharts-plugins-basic/src → src}/series/defaults.d.ts +0 -0
  134. /package/dist/{orbcharts-plugins-basic/src → src}/series/index.d.ts +0 -0
  135. /package/dist/{orbcharts-plugins-basic/src → src}/series/plugins/Bubbles.d.ts +0 -0
  136. /package/dist/{orbcharts-plugins-basic/src → src}/series/plugins/Pie.d.ts +0 -0
  137. /package/dist/{orbcharts-plugins-basic/src → src}/series/plugins/PieEventTexts.d.ts +0 -0
  138. /package/dist/{orbcharts-plugins-basic/src → src}/series/plugins/PieLabels.d.ts +0 -0
  139. /package/dist/{orbcharts-plugins-basic/src → src}/series/plugins/SeriesLegend.d.ts +0 -0
  140. /package/dist/{orbcharts-plugins-basic/src → src}/series/plugins/Waffle.d.ts +0 -0
  141. /package/dist/{orbcharts-plugins-basic/src → src}/series/seriesUtils.d.ts +0 -0
  142. /package/dist/{orbcharts-plugins-basic/src → src}/series/types.d.ts +0 -0
  143. /package/dist/{orbcharts-plugins-basic/src → src}/tree/defaults.d.ts +0 -0
  144. /package/dist/{orbcharts-plugins-basic/src → src}/tree/index.d.ts +0 -0
  145. /package/dist/{orbcharts-plugins-basic/src → src}/tree/plugins/TreeLegend.d.ts +0 -0
  146. /package/dist/{orbcharts-plugins-basic/src → src}/tree/plugins/TreeMap.d.ts +0 -0
  147. /package/dist/{orbcharts-plugins-basic/src → src}/tree/types.d.ts +0 -0
  148. /package/dist/{orbcharts-plugins-basic/src → src}/utils/commonUtils.d.ts +0 -0
  149. /package/dist/{orbcharts-plugins-basic/src → src}/utils/d3Graphics.d.ts +0 -0
  150. /package/dist/{orbcharts-plugins-basic/src → src}/utils/d3Utils.d.ts +0 -0
  151. /package/dist/{orbcharts-plugins-basic/src → src}/utils/observables.d.ts +0 -0
  152. /package/dist/{orbcharts-plugins-basic/src → src}/utils/orbchartsUtils.d.ts +0 -0
  153. /package/dist/{orbcharts-plugins-basic/vite.config.d.ts → vite.config.d.ts} +0 -0
@@ -663,7 +663,7 @@ var gx = function(t) {
663
663
  return function() {
664
664
  t(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
665
665
  };
666
- }), it = function(t) {
666
+ }), ot = function(t) {
667
667
  Jr(e, t);
668
668
  function e() {
669
669
  var n = t.call(this) || this;
@@ -761,7 +761,7 @@ var gx = function(t) {
761
761
  var r, i;
762
762
  return (i = (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(n)) !== null && i !== void 0 ? i : S0;
763
763
  }, e;
764
- }(it), T0 = {
764
+ }(ot), T0 = {
765
765
  now: function() {
766
766
  return (T0.delegate || Date).now();
767
767
  },
@@ -789,7 +789,7 @@ var gx = function(t) {
789
789
  c && o.splice(0, c + 1);
790
790
  }
791
791
  }, e;
792
- }(it), L0 = new ht(function(t) {
792
+ }(ot), L0 = new ht(function(t) {
793
793
  return t.complete();
794
794
  });
795
795
  function bx(t) {
@@ -1328,7 +1328,7 @@ function i_(t, e) {
1328
1328
  function o_(t) {
1329
1329
  t === void 0 && (t = {});
1330
1330
  var e = t.connector, n = e === void 0 ? function() {
1331
- return new it();
1331
+ return new ot();
1332
1332
  } : e, r = t.resetOnError, i = r === void 0 ? !0 : r, o = t.resetOnComplete, a = o === void 0 ? !0 : o, s = t.resetOnRefCountZero, u = s === void 0 ? !0 : s;
1333
1333
  return function(c) {
1334
1334
  var l, h, f, p = 0, d = !1, g = !1, m = function() {
@@ -8321,21 +8321,21 @@ function Yf(t) {
8321
8321
  };
8322
8322
  function f(m) {
8323
8323
  if (s && !m.touches || !n.apply(this, arguments)) return;
8324
- var y = this, x = m.target.__data__.type, v = (i && m.metaKey ? x = "overlay" : x) === "selection" ? Kp : i && m.altKey ? fr : lr, b = t === va ? null : vM[x], $ = t === ba ? null : xM[x], _ = ju(y), D = _.extent, T = _.selection, w = D[0][0], P, S, z = D[0][1], E, A, L = D[1][0], M, F, O = D[1][1], k, I, C = 0, N = 0, j, K = b && $ && i && m.shiftKey, R, X, q = Array.from(m.touches || [m], (ot) => {
8325
- const $t = ot.identifier;
8326
- return ot = ae(ot, y), ot.point0 = ot.slice(), ot.identifier = $t, ot;
8324
+ var y = this, x = m.target.__data__.type, v = (i && m.metaKey ? x = "overlay" : x) === "selection" ? Kp : i && m.altKey ? fr : lr, b = t === va ? null : vM[x], $ = t === ba ? null : xM[x], _ = ju(y), D = _.extent, T = _.selection, w = D[0][0], P, S, z = D[0][1], E, A, L = D[1][0], M, F, O = D[1][1], k, I, C = 0, N = 0, j, K = b && $ && i && m.shiftKey, R, X, q = Array.from(m.touches || [m], (it) => {
8325
+ const $t = it.identifier;
8326
+ return it = ae(it, y), it.point0 = it.slice(), it.identifier = $t, it;
8327
8327
  });
8328
8328
  Gn(y);
8329
8329
  var V = l(y, arguments, !0).beforestart();
8330
8330
  if (x === "overlay") {
8331
8331
  T && (j = !0);
8332
- const ot = [q[0], q[1] || q[0]];
8332
+ const it = [q[0], q[1] || q[0]];
8333
8333
  _.selection = T = [[
8334
- P = t === va ? w : Gt(ot[0][0], ot[1][0]),
8335
- E = t === ba ? z : Gt(ot[0][1], ot[1][1])
8334
+ P = t === va ? w : Gt(it[0][0], it[1][0]),
8335
+ E = t === ba ? z : Gt(it[0][1], it[1][1])
8336
8336
  ], [
8337
- M = t === va ? L : zt(ot[0][0], ot[1][0]),
8338
- k = t === ba ? O : zt(ot[0][1], ot[1][1])
8337
+ M = t === va ? L : zt(it[0][0], it[1][0]),
8338
+ k = t === ba ? O : zt(it[0][1], it[1][1])
8339
8339
  ]], q.length > 1 && gt(m);
8340
8340
  } else
8341
8341
  P = T[0][0], E = T[0][1], M = T[1][0], k = T[1][1];
@@ -8348,8 +8348,8 @@ function Yf(t) {
8348
8348
  i && at.on("keydown.brush", Ft, !0).on("keyup.brush", Ut, !0), Ys(m.view);
8349
8349
  }
8350
8350
  c.call(y), V.start(m, v.name);
8351
- function H(ot) {
8352
- for (const $t of ot.changedTouches || [ot])
8351
+ function H(it) {
8352
+ for (const $t of it.changedTouches || [it])
8353
8353
  for (const si of q)
8354
8354
  si.identifier === $t.identifier && (si.cur = ae($t, y));
8355
8355
  if (K && !R && !X && q.length === 1) {
@@ -8358,9 +8358,9 @@ function Yf(t) {
8358
8358
  }
8359
8359
  for (const $t of q)
8360
8360
  $t.cur && ($t[0] = $t.cur[0], $t[1] = $t.cur[1]);
8361
- j = !0, Wu(ot), gt(ot);
8361
+ j = !0, Wu(it), gt(it);
8362
8362
  }
8363
- function gt(ot) {
8363
+ function gt(it) {
8364
8364
  const $t = q[0], si = $t.point0;
8365
8365
  var un;
8366
8366
  switch (C = $t[0] - si[0], N = $t[1] - si[1], v) {
@@ -8378,55 +8378,55 @@ function Yf(t) {
8378
8378
  break;
8379
8379
  }
8380
8380
  }
8381
- F < S && (b *= -1, un = P, P = M, M = un, un = S, S = F, F = un, x in td && tt.attr("cursor", qe[x = td[x]])), I < A && ($ *= -1, un = E, E = k, k = un, un = A, A = I, I = un, x in ed && tt.attr("cursor", qe[x = ed[x]])), _.selection && (T = _.selection), R && (S = T[0][0], F = T[1][0]), X && (A = T[0][1], I = T[1][1]), (T[0][0] !== S || T[0][1] !== A || T[1][0] !== F || T[1][1] !== I) && (_.selection = [[S, A], [F, I]], c.call(y), V.brush(ot, v.name));
8381
+ F < S && (b *= -1, un = P, P = M, M = un, un = S, S = F, F = un, x in td && tt.attr("cursor", qe[x = td[x]])), I < A && ($ *= -1, un = E, E = k, k = un, un = A, A = I, I = un, x in ed && tt.attr("cursor", qe[x = ed[x]])), _.selection && (T = _.selection), R && (S = T[0][0], F = T[1][0]), X && (A = T[0][1], I = T[1][1]), (T[0][0] !== S || T[0][1] !== A || T[1][0] !== F || T[1][1] !== I) && (_.selection = [[S, A], [F, I]], c.call(y), V.brush(it, v.name));
8382
8382
  }
8383
- function ft(ot) {
8384
- if (yM(ot), ot.touches) {
8385
- if (ot.touches.length) return;
8383
+ function ft(it) {
8384
+ if (yM(it), it.touches) {
8385
+ if (it.touches.length) return;
8386
8386
  s && clearTimeout(s), s = setTimeout(function() {
8387
8387
  s = null;
8388
8388
  }, 500);
8389
8389
  } else
8390
- Us(ot.view, j), at.on("keydown.brush keyup.brush mousemove.brush mouseup.brush", null);
8391
- W.attr("pointer-events", "all"), tt.attr("cursor", qe.overlay), _.selection && (T = _.selection), SM(T) && (_.selection = null, c.call(y)), V.end(ot, v.name);
8390
+ Us(it.view, j), at.on("keydown.brush keyup.brush mousemove.brush mouseup.brush", null);
8391
+ W.attr("pointer-events", "all"), tt.attr("cursor", qe.overlay), _.selection && (T = _.selection), SM(T) && (_.selection = null, c.call(y)), V.end(it, v.name);
8392
8392
  }
8393
- function Ft(ot) {
8394
- switch (ot.keyCode) {
8393
+ function Ft(it) {
8394
+ switch (it.keyCode) {
8395
8395
  case 16: {
8396
8396
  K = b && $;
8397
8397
  break;
8398
8398
  }
8399
8399
  case 18: {
8400
- v === lr && (b && (M = F - C * b, P = S + C * b), $ && (k = I - N * $, E = A + N * $), v = fr, gt(ot));
8400
+ v === lr && (b && (M = F - C * b, P = S + C * b), $ && (k = I - N * $, E = A + N * $), v = fr, gt(it));
8401
8401
  break;
8402
8402
  }
8403
8403
  case 32: {
8404
- (v === lr || v === fr) && (b < 0 ? M = F - C : b > 0 && (P = S - C), $ < 0 ? k = I - N : $ > 0 && (E = A - N), v = qu, tt.attr("cursor", qe.selection), gt(ot));
8404
+ (v === lr || v === fr) && (b < 0 ? M = F - C : b > 0 && (P = S - C), $ < 0 ? k = I - N : $ > 0 && (E = A - N), v = qu, tt.attr("cursor", qe.selection), gt(it));
8405
8405
  break;
8406
8406
  }
8407
8407
  default:
8408
8408
  return;
8409
8409
  }
8410
- Wu(ot);
8410
+ Wu(it);
8411
8411
  }
8412
- function Ut(ot) {
8413
- switch (ot.keyCode) {
8412
+ function Ut(it) {
8413
+ switch (it.keyCode) {
8414
8414
  case 16: {
8415
- K && (R = X = K = !1, gt(ot));
8415
+ K && (R = X = K = !1, gt(it));
8416
8416
  break;
8417
8417
  }
8418
8418
  case 18: {
8419
- v === fr && (b < 0 ? M = F : b > 0 && (P = S), $ < 0 ? k = I : $ > 0 && (E = A), v = lr, gt(ot));
8419
+ v === fr && (b < 0 ? M = F : b > 0 && (P = S), $ < 0 ? k = I : $ > 0 && (E = A), v = lr, gt(it));
8420
8420
  break;
8421
8421
  }
8422
8422
  case 32: {
8423
- v === qu && (ot.altKey ? (b && (M = F - C * b, P = S + C * b), $ && (k = I - N * $, E = A + N * $), v = fr) : (b < 0 ? M = F : b > 0 && (P = S), $ < 0 ? k = I : $ > 0 && (E = A), v = lr), tt.attr("cursor", qe[x]), gt(ot));
8423
+ v === qu && (it.altKey ? (b && (M = F - C * b, P = S + C * b), $ && (k = I - N * $, E = A + N * $), v = fr) : (b < 0 ? M = F : b > 0 && (P = S), $ < 0 ? k = I : $ > 0 && (E = A), v = lr), tt.attr("cursor", qe[x]), gt(it));
8424
8424
  break;
8425
8425
  }
8426
8426
  default:
8427
8427
  return;
8428
8428
  }
8429
- Wu(ot);
8429
+ Wu(it);
8430
8430
  }
8431
8431
  }
8432
8432
  function p(m) {
@@ -13649,9 +13649,9 @@ function hv(t) {
13649
13649
  v.x = _(n, v), v.X = _(r, v), v.c = _(e, v), b.x = _(n, b), b.X = _(r, b), b.c = _(e, b);
13650
13650
  function _(W, tt) {
13651
13651
  return function(at) {
13652
- var H = [], gt = -1, ft = 0, Ft = W.length, Ut, ot, $t;
13652
+ var H = [], gt = -1, ft = 0, Ft = W.length, Ut, it, $t;
13653
13653
  for (at instanceof Date || (at = /* @__PURE__ */ new Date(+at)); ++gt < Ft; )
13654
- W.charCodeAt(gt) === 37 && (H.push(W.slice(ft, gt)), (ot = _g[Ut = W.charAt(++gt)]) != null ? Ut = W.charAt(++gt) : ot = Ut === "e" ? " " : "0", ($t = tt[Ut]) && (Ut = $t(at, ot)), H.push(Ut), ft = gt + 1);
13654
+ W.charCodeAt(gt) === 37 && (H.push(W.slice(ft, gt)), (it = _g[Ut = W.charAt(++gt)]) != null ? Ut = W.charAt(++gt) : it = Ut === "e" ? " " : "0", ($t = tt[Ut]) && (Ut = $t(at, it)), H.push(Ut), ft = gt + 1);
13655
13655
  return H.push(W.slice(ft, gt)), H.join("");
13656
13656
  };
13657
13657
  }
@@ -13669,10 +13669,10 @@ function hv(t) {
13669
13669
  };
13670
13670
  }
13671
13671
  function T(W, tt, at, H) {
13672
- for (var gt = 0, ft = tt.length, Ft = at.length, Ut, ot; gt < ft; ) {
13672
+ for (var gt = 0, ft = tt.length, Ft = at.length, Ut, it; gt < ft; ) {
13673
13673
  if (H >= Ft) return -1;
13674
13674
  if (Ut = tt.charCodeAt(gt++), Ut === 37) {
13675
- if (Ut = tt.charAt(gt++), ot = $[Ut in _g ? tt.charAt(gt++) : Ut], !ot || (H = ot(W, at, H)) < 0) return -1;
13675
+ if (Ut = tt.charAt(gt++), it = $[Ut in _g ? tt.charAt(gt++) : Ut], !it || (H = it(W, at, H)) < 0) return -1;
13676
13676
  } else if (Ut != at.charCodeAt(H++))
13677
13677
  return -1;
13678
13678
  }
@@ -16797,7 +16797,7 @@ const ai = ({ selection: t, pluginName: e, clipPathID: n, seriesLabels$: r, grid
16797
16797
  graphicGSelection$: p
16798
16798
  };
16799
16799
  }, Bh = ({ fullDataFormatter$: t, gridAxesSize$: e, computedData$: n, fullChartParams$: r }) => {
16800
- const i = new it(), o = new ht((a) => {
16800
+ const i = new ot(), o = new ht((a) => {
16801
16801
  Y({
16802
16802
  dataFormatter: t,
16803
16803
  computedData: n
@@ -16912,7 +16912,7 @@ const F2 = (t, {
16912
16912
  gridContainerPosition$: m,
16913
16913
  event$: y
16914
16914
  }) => {
16915
- const x = new it(), v = vn(t, "clipPath-box"), b = st(t, "path"), {
16915
+ const x = new ot(), v = vn(t, "clipPath-box"), b = st(t, "path"), {
16916
16916
  seriesSelection$: $,
16917
16917
  axesSelection$: _,
16918
16918
  defsSelection$: D,
@@ -17120,7 +17120,7 @@ const F2 = (t, {
17120
17120
  x.next(void 0);
17121
17121
  };
17122
17122
  }, Yg = "Lines", QI = ce(Yg, X2)(({ selection: t, name: e, observer: n, subject: r }) => {
17123
- const i = new it(), o = F2(Yg, {
17123
+ const i = new ot(), o = F2(Yg, {
17124
17124
  selection: t,
17125
17125
  computedData$: n.computedData$,
17126
17126
  computedLayoutData$: n.computedLayoutData$,
@@ -17225,7 +17225,7 @@ const z2 = (t, {
17225
17225
  layout$: y,
17226
17226
  event$: x
17227
17227
  }) => {
17228
- const v = new it(), b = vn(t, "clipPath-box"), $ = st(t, "path"), {
17228
+ const v = new ot(), b = vn(t, "clipPath-box"), $ = st(t, "path"), {
17229
17229
  seriesSelection$: _,
17230
17230
  axesSelection$: D,
17231
17231
  defsSelection$: T,
@@ -17449,7 +17449,7 @@ const z2 = (t, {
17449
17449
  v.next(void 0);
17450
17450
  };
17451
17451
  }, Ug = "LineAreas", JI = ce(Ug, V2)(({ selection: t, name: e, observer: n, subject: r }) => {
17452
- const i = new it(), o = z2(Ug, {
17452
+ const i = new ot(), o = z2(Ug, {
17453
17453
  selection: t,
17454
17454
  computedData$: n.computedData$,
17455
17455
  visibleComputedData$: n.visibleComputedData$,
@@ -17539,7 +17539,7 @@ const Yh = (t, {
17539
17539
  isSeriesSeprate$: y,
17540
17540
  event$: x
17541
17541
  }) => {
17542
- const v = new it(), b = vn(t, "clipPath-box"), $ = st(t, "rect"), {
17542
+ const v = new ot(), b = vn(t, "clipPath-box"), $ = st(t, "rect"), {
17543
17543
  seriesSelection$: _,
17544
17544
  axesSelection$: D,
17545
17545
  defsSelection$: T,
@@ -17804,7 +17804,7 @@ const Yh = (t, {
17804
17804
  v.next(void 0);
17805
17805
  };
17806
17806
  }, Wg = "Bars", tR = ce(Wg, Vl)(({ selection: t, name: e, subject: n, observer: r }) => {
17807
- const i = new it(), o = r.fullDataFormatter$.pipe(
17807
+ const i = new ot(), o = r.fullDataFormatter$.pipe(
17808
17808
  G(i),
17809
17809
  B((s) => s.grid.separateSeries),
17810
17810
  rt(),
@@ -17833,7 +17833,7 @@ const Yh = (t, {
17833
17833
  i.next(void 0), a();
17834
17834
  };
17835
17835
  }), qg = "BarsDiverging", eR = ce(qg, Vl)(({ selection: t, name: e, subject: n, observer: r }) => {
17836
- const i = new it(), o = Yh(qg, {
17836
+ const i = new ot(), o = Yh(qg, {
17837
17837
  selection: t,
17838
17838
  computedData$: r.computedData$,
17839
17839
  computedLayoutData$: r.computedLayoutData$,
@@ -17922,7 +17922,7 @@ const B2 = (t, {
17922
17922
  isSeriesSeprate$: x,
17923
17923
  event$: v
17924
17924
  }) => {
17925
- const b = new it(), $ = vn(t, "clipPath-box"), _ = st(t, "rect"), {
17925
+ const b = new ot(), $ = vn(t, "clipPath-box"), _ = st(t, "rect"), {
17926
17926
  seriesSelection$: D,
17927
17927
  axesSelection$: T,
17928
17928
  defsSelection$: w,
@@ -18215,7 +18215,7 @@ const B2 = (t, {
18215
18215
  b.next(void 0);
18216
18216
  };
18217
18217
  }, jg = "BarStack", nR = ce(jg, Q2)(({ selection: t, name: e, subject: n, observer: r }) => {
18218
- const i = new it(), o = r.fullDataFormatter$.pipe(
18218
+ const i = new ot(), o = r.fullDataFormatter$.pipe(
18219
18219
  G(i),
18220
18220
  B((s) => s.grid.separateSeries),
18221
18221
  rt(),
@@ -18337,7 +18337,7 @@ const U2 = (t, {
18337
18337
  isSeriesSeprate$: y,
18338
18338
  event$: x
18339
18339
  }) => {
18340
- const v = new it(), b = vn(t, "clipPath-box"), $ = st(t, "pathG"), _ = st(t, "path"), {
18340
+ const v = new ot(), b = vn(t, "clipPath-box"), $ = st(t, "pathG"), _ = st(t, "path"), {
18341
18341
  seriesSelection$: D,
18342
18342
  axesSelection$: T,
18343
18343
  defsSelection$: w,
@@ -18595,7 +18595,7 @@ const U2 = (t, {
18595
18595
  v.next(void 0);
18596
18596
  };
18597
18597
  }, Vg = "BarsTriangle", rR = ce(Vg, J2)(({ selection: t, name: e, subject: n, observer: r }) => {
18598
- const i = new it(), o = r.fullDataFormatter$.pipe(
18598
+ const i = new ot(), o = r.fullDataFormatter$.pipe(
18599
18599
  G(i),
18600
18600
  B((s) => s.grid.separateSeries),
18601
18601
  rt(),
@@ -18681,7 +18681,7 @@ const H2 = (t, {
18681
18681
  gridContainerPosition$: m,
18682
18682
  event$: y
18683
18683
  }) => {
18684
- const x = new it(), v = vn(t, "clipPath-box"), b = st(t, "circleG"), $ = st(t, "circle"), {
18684
+ const x = new ot(), v = vn(t, "clipPath-box"), b = st(t, "circleG"), $ = st(t, "circle"), {
18685
18685
  seriesSelection$: _,
18686
18686
  axesSelection$: D,
18687
18687
  defsSelection$: T,
@@ -18854,7 +18854,7 @@ const H2 = (t, {
18854
18854
  x.next(void 0);
18855
18855
  };
18856
18856
  }, Zg = "Dots", iR = ce(Zg, Z2)(({ selection: t, name: e, subject: n, observer: r }) => {
18857
- const i = new it(), o = H2(Zg, {
18857
+ const i = new ot(), o = H2(Zg, {
18858
18858
  selection: t,
18859
18859
  computedData$: r.computedData$,
18860
18860
  computedLayoutData$: r.computedLayoutData$,
@@ -18893,7 +18893,7 @@ const Mu = (t, {
18893
18893
  fullChartParams$: o,
18894
18894
  textSizePx$: a
18895
18895
  }) => {
18896
- const s = st(t, "root-position"), u = st(t, "legend-card"), c = st(t, "legend-list"), l = st(t, "legend-item"), h = new it(), f = Y({
18896
+ const s = st(t, "root-position"), u = st(t, "legend-card"), c = st(t, "legend-list"), l = st(t, "legend-item"), h = new ot(), f = Y({
18897
18897
  seriesLabels: n,
18898
18898
  fullChartParams: o
18899
18899
  }).pipe(
@@ -19106,7 +19106,7 @@ const Mu = (t, {
19106
19106
  h.next(void 0);
19107
19107
  };
19108
19108
  }, Qg = "GridLegend", oR = ce(Qg, rx)(({ selection: t, rootSelection: e, observer: n, subject: r }) => {
19109
- const i = new it(), o = n.SeriesDataMap$.pipe(
19109
+ const i = new ot(), o = n.SeriesDataMap$.pipe(
19110
19110
  G(i),
19111
19111
  B((u) => Array.from(u.keys()))
19112
19112
  ), a = n.fullParams$.pipe(
@@ -19160,7 +19160,7 @@ const W2 = (t, {
19160
19160
  gridContainerPosition$: c,
19161
19161
  isSeriesSeprate$: l
19162
19162
  }) => {
19163
- const h = new it(), f = st(t, "container"), p = st(t, "xAxisG"), d = st(t, "xAxis"), g = st(t, "groupingLabel"), m = Y({
19163
+ const h = new ot(), f = st(t, "container"), p = st(t, "xAxisG"), d = st(t, "xAxis"), g = st(t, "groupingLabel"), m = Y({
19164
19164
  computedData: n.pipe(
19165
19165
  rt((_, D) => _.length === D.length)
19166
19166
  ),
@@ -19281,7 +19281,7 @@ const W2 = (t, {
19281
19281
  h.next(void 0);
19282
19282
  };
19283
19283
  }, Jg = "GroupAxis", aR = ce(Jg, tx)(({ selection: t, name: e, observer: n, subject: r }) => {
19284
- const i = new it(), o = n.fullDataFormatter$.pipe(
19284
+ const i = new ot(), o = n.fullDataFormatter$.pipe(
19285
19285
  G(i),
19286
19286
  B((s) => s.grid.separateSeries),
19287
19287
  rt(),
@@ -19326,7 +19326,7 @@ const Du = (t, {
19326
19326
  gridContainerPosition$: c,
19327
19327
  isSeriesSeprate$: l
19328
19328
  }) => {
19329
- const h = new it(), f = st(t, "container"), p = st(t, "yAxisG"), d = st(t, "yAxis"), g = st(t, "text"), m = Y({
19329
+ const h = new ot(), f = st(t, "container"), p = st(t, "yAxisG"), d = st(t, "yAxis"), g = st(t, "text"), m = Y({
19330
19330
  computedData: n.pipe(
19331
19331
  rt((D, T) => D.length === T.length)
19332
19332
  ),
@@ -19456,7 +19456,7 @@ const Du = (t, {
19456
19456
  h.next(void 0);
19457
19457
  };
19458
19458
  }, e0 = "ValueAxis", sR = ce(e0, w0)(({ selection: t, name: e, observer: n, subject: r }) => {
19459
- const i = new it(), o = n.fullDataFormatter$.pipe(
19459
+ const i = new ot(), o = n.fullDataFormatter$.pipe(
19460
19460
  G(i),
19461
19461
  B((s) => s.grid.separateSeries),
19462
19462
  rt(),
@@ -19477,7 +19477,7 @@ const Du = (t, {
19477
19477
  i.next(void 0), a();
19478
19478
  };
19479
19479
  }), n0 = "ValueStackAxis", uR = ce(n0, ex)(({ selection: t, name: e, observer: n, subject: r }) => {
19480
- const i = new it(), o = n.computedData$.pipe(
19480
+ const i = new ot(), o = n.computedData$.pipe(
19481
19481
  G(i),
19482
19482
  B((u) => {
19483
19483
  const c = new Array(u[0] ? u[0].length : 0).fill(null).map((h, f) => u.reduce((p, d) => {
@@ -19515,7 +19515,7 @@ const Du = (t, {
19515
19515
  i.next(void 0), s();
19516
19516
  };
19517
19517
  }), q2 = "ScalingArea", KE = st(q2, "rect"), cR = ce(q2, nx)(({ selection: t, rootSelection: e, name: n, observer: r, subject: i }) => {
19518
- const o = new it(), a = e.insert("rect", "g").classed(KE, !0).attr("opacity", 0);
19518
+ const o = new ot(), a = e.insert("rect", "g").classed(KE, !0).attr("opacity", 0);
19519
19519
  let s = {
19520
19520
  k: 1,
19521
19521
  x: 0,
@@ -19621,7 +19621,7 @@ function iI(t) {
19621
19621
  t.selectAll(`g.${zl}`).data([]).exit().remove();
19622
19622
  }
19623
19623
  const lR = ce(Fl, K2)(({ selection: t, rootSelection: e, name: n, subject: r, observer: i }) => {
19624
- const o = new it(), a = e.insert("rect", "g").classed(st(Fl, "rect"), !0).attr("opacity", 0), s = t.append("g");
19624
+ const o = new ot(), a = e.insert("rect", "g").classed(st(Fl, "rect"), !0).attr("opacity", 0), s = t.append("g");
19625
19625
  i.layout$.pipe(
19626
19626
  G(o)
19627
19627
  ).subscribe((f) => {
@@ -19997,7 +19997,7 @@ const lR = ce(Fl, K2)(({ selection: t, rootSelection: e, name: n, subject: r, ob
19997
19997
  },
19998
19998
  gridIndexes: [0, 1]
19999
19999
  }, r0 = "MultiGridLegend", fR = Be(r0, oI)(({ selection: t, rootSelection: e, observer: n, subject: r }) => {
20000
- const i = new it(), o = n.multiGridEachDetail$.pipe(
20000
+ const i = new ot(), o = n.multiGridEachDetail$.pipe(
20001
20001
  G(i),
20002
20002
  B((c) => c.map((h, f) => h.SeriesDataMap$.pipe(
20003
20003
  // grid內的seriesLabels
@@ -20054,7 +20054,7 @@ const lR = ce(Fl, K2)(({ selection: t, rootSelection: e, name: n, subject: r, ob
20054
20054
  B((n) => n.gridIndexes.map((r) => n.multiGridEachDetail[r] ?? n.multiGridEachDetail[0]))
20055
20055
  );
20056
20056
  }, Gl = "MultiBars", i0 = st(Gl, "grid"), hR = Be(Gl, uI)(({ selection: t, name: e, subject: n, observer: r }) => {
20057
- const i = new it(), o = [];
20057
+ const i = new ot(), o = [];
20058
20058
  return sn(r).subscribe((s) => {
20059
20059
  o.forEach((u) => u()), t.selectAll(`g.${i0}`).data(s).join("g").attr("class", i0).each((u, c, l) => {
20060
20060
  const h = Z(l[c]), f = u.dataFormatter$.pipe(
@@ -20088,7 +20088,7 @@ const lR = ce(Fl, K2)(({ selection: t, rootSelection: e, name: n, subject: r, ob
20088
20088
  i.next(void 0), o.forEach((s) => s());
20089
20089
  };
20090
20090
  }), Ol = "MultiBarStack", o0 = st(Ol, "grid"), pR = Be(Ol, cI)(({ selection: t, name: e, subject: n, observer: r }) => {
20091
- const i = new it(), o = [];
20091
+ const i = new ot(), o = [];
20092
20092
  return sn(r).subscribe((s) => {
20093
20093
  o.forEach((u) => u()), t.selectAll(`g.${o0}`).data(s).join("g").attr("class", o0).each((u, c, l) => {
20094
20094
  const h = Z(l[c]), f = u.dataFormatter$.pipe(
@@ -20123,7 +20123,7 @@ const lR = ce(Fl, K2)(({ selection: t, rootSelection: e, name: n, subject: r, ob
20123
20123
  i.next(void 0), o.forEach((s) => s());
20124
20124
  };
20125
20125
  }), Bl = "MultiBarsTriangle", a0 = st(Bl, "grid"), dR = Be(Bl, lI)(({ selection: t, name: e, subject: n, observer: r }) => {
20126
- const i = new it(), o = [];
20126
+ const i = new ot(), o = [];
20127
20127
  return sn(r).subscribe((s) => {
20128
20128
  o.forEach((u) => u()), t.selectAll(`g.${a0}`).data(s).join("g").attr("class", a0).each((u, c, l) => {
20129
20129
  const h = Z(l[c]), f = u.dataFormatter$.pipe(
@@ -20157,7 +20157,7 @@ const lR = ce(Fl, K2)(({ selection: t, rootSelection: e, name: n, subject: r, ob
20157
20157
  i.next(void 0), o.forEach((s) => s());
20158
20158
  };
20159
20159
  }), Yl = "MultiLines", s0 = st(Yl, "grid"), gR = Be(Yl, fI)(({ selection: t, name: e, subject: n, observer: r }) => {
20160
- const i = new it(), o = [];
20160
+ const i = new ot(), o = [];
20161
20161
  return sn(r).subscribe((s) => {
20162
20162
  o.forEach((u) => u()), t.selectAll(`g.${s0}`).data(s).join("g").attr("class", s0).each((u, c, l) => {
20163
20163
  const h = Z(l[c]);
@@ -20185,7 +20185,7 @@ const lR = ce(Fl, K2)(({ selection: t, rootSelection: e, name: n, subject: r, ob
20185
20185
  i.next(void 0), o.forEach((s) => s());
20186
20186
  };
20187
20187
  }), Ul = "MultiLineAreas", u0 = st(Ul, "grid"), mR = Be(Ul, hI)(({ selection: t, name: e, subject: n, observer: r }) => {
20188
- const i = new it(), o = [];
20188
+ const i = new ot(), o = [];
20189
20189
  return sn(r).subscribe((s) => {
20190
20190
  o.forEach((u) => u()), t.selectAll(`g.${u0}`).data(s).join("g").attr("class", u0).each((u, c, l) => {
20191
20191
  const h = Z(l[c]);
@@ -20214,7 +20214,7 @@ const lR = ce(Fl, K2)(({ selection: t, rootSelection: e, name: n, subject: r, ob
20214
20214
  i.next(void 0), o.forEach((s) => s());
20215
20215
  };
20216
20216
  }), Hl = "MultiDots", c0 = st(Hl, "grid"), yR = Be(Hl, pI)(({ selection: t, name: e, subject: n, observer: r }) => {
20217
- const i = new it(), o = [];
20217
+ const i = new ot(), o = [];
20218
20218
  return sn(r).subscribe((s) => {
20219
20219
  o.forEach((u) => u()), t.selectAll(`g.${c0}`).data(s).join("g").attr("class", c0).each((u, c, l) => {
20220
20220
  const h = Z(l[c]);
@@ -20242,7 +20242,7 @@ const lR = ce(Fl, K2)(({ selection: t, rootSelection: e, name: n, subject: r, ob
20242
20242
  i.next(void 0), o.forEach((s) => s());
20243
20243
  };
20244
20244
  }), Wl = "MultiGroupAxis", l0 = st(Wl, "grid"), bR = Be(Wl, aI)(({ selection: t, name: e, subject: n, observer: r }) => {
20245
- const i = new it(), o = [];
20245
+ const i = new ot(), o = [];
20246
20246
  return sn(r).subscribe((s) => {
20247
20247
  o.forEach((u) => u()), t.selectAll(`g.${l0}`).data(s).join("g").attr("class", l0).each((u, c, l) => {
20248
20248
  const h = Z(l[c]), f = u.dataFormatter$.pipe(
@@ -20268,7 +20268,7 @@ const lR = ce(Fl, K2)(({ selection: t, rootSelection: e, name: n, subject: r, ob
20268
20268
  i.next(void 0), o.forEach((s) => s());
20269
20269
  };
20270
20270
  }), ql = "MultiValueAxis", f0 = st(ql, "grid"), vR = Be(ql, sI)(({ selection: t, name: e, subject: n, observer: r }) => {
20271
- const i = new it(), o = [];
20271
+ const i = new ot(), o = [];
20272
20272
  return sn(r).subscribe((s) => {
20273
20273
  o.forEach((u) => u()), t.selectAll(`g.${f0}`).data(s).join("g").attr("class", f0).each((u, c, l) => {
20274
20274
  const h = Z(l[c]), f = u.dataFormatter$.pipe(
@@ -20314,7 +20314,7 @@ function h0(t, e, n) {
20314
20314
  });
20315
20315
  }
20316
20316
  const mI = ({ fullDataFormatter$: t, layout$: e }) => {
20317
- const n = new it();
20317
+ const n = new ot();
20318
20318
  function r({ xAxis: i, yAxis: o, width: a, height: s }) {
20319
20319
  if (!i || !o)
20320
20320
  return {
@@ -20372,7 +20372,7 @@ const mI = ({ fullDataFormatter$: t, layout$: e }) => {
20372
20372
  U(async (i) => i),
20373
20373
  B((i) => i.fullDataFormatter.grid.separateSeries ? h0(i.layout, i.fullDataFormatter.container, i.computedData.length) : h0(i.layout, i.fullDataFormatter.container, 1))
20374
20374
  ), jl = "OverlappingValueAxes", p0 = st(jl, "grid"), xR = Be(jl, dI)(({ selection: t, name: e, subject: n, observer: r }) => {
20375
- const i = new it(), o = [], a = r.fullParams$.pipe(
20375
+ const i = new ot(), o = [], a = r.fullParams$.pipe(
20376
20376
  G(i),
20377
20377
  B((l) => l.gridIndexes[0])
20378
20378
  ), s = r.fullParams$.pipe(
@@ -20524,7 +20524,7 @@ function $I({ rootSelection: t, pluginName: e, rootWidth: n, rootHeight: r, svgS
20524
20524
  h.attr("transform", (b) => `translate(${x}, ${v})`), h.attr("transform", (b) => `translate(${x}, ${v})`);
20525
20525
  }
20526
20526
  const wR = Km(Uh, xI)(({ selection: t, rootSelection: e, name: n, chartType: r, observer: i, subject: o }) => {
20527
- const a = new it(), s = o.event$.pipe(
20527
+ const a = new ot(), s = o.event$.pipe(
20528
20528
  G(a),
20529
20529
  Oi((g) => g.eventName === "mouseover" || g.eventName === "mousemove")
20530
20530
  // distinctUntilChanged((prev, current) => prev.eventName === current.eventName)
@@ -20773,20 +20773,25 @@ function kI({ data: t, LastBubbleDataMap: e, graphicWidth: n, graphicHeight: r,
20773
20773
  return g.r = y, g._originR = y, g;
20774
20774
  });
20775
20775
  }
20776
- function g0({ graphicSelection: t, bubblesData: e, fullParams: n }) {
20777
- let r = t.selectAll("g").data(e, (a) => a.id), i = r.enter().append("g").attr("cursor", "pointer");
20778
- i.attr("font-size", 12).style("fill", "#ffffff").attr("text-anchor", "middle").attr("transform", (a) => `translate(${a.x},${a.y})`), i.append("circle").attr("class", "node").attr("cx", 0).attr("cy", 0).attr("fill", (a) => a.color), i.append("text").style("opacity", 0.8).attr("pointer-events", "none"), r.exit().remove();
20779
- const o = r.merge(i);
20780
- return o.select("circle").transition().duration(200).attr("r", (a) => a.r).attr("fill", (a) => a.color), o.each((a, s, u) => {
20776
+ function g0({ graphicSelection: t, bubblesData: e, fullParams: n, sumSeries: r }) {
20777
+ const i = t.selectAll("g").data(e, (a) => a.id).join(
20778
+ (a) => {
20779
+ const s = a.append("g").attr("cursor", "pointer").attr("font-size", 12).style("fill", "#ffffff").attr("text-anchor", "middle");
20780
+ return s.append("circle").attr("class", "node").attr("cx", 0).attr("cy", 0).attr("fill", (u) => u.color), s.append("text").style("opacity", 0.8).attr("pointer-events", "none"), s;
20781
+ },
20782
+ (a) => a,
20783
+ (a) => a.remove()
20784
+ ).attr("transform", (a) => `translate(${a.x},${a.y})`), o = r ? "seriesLabel" : "label";
20785
+ return i.select("circle").transition().duration(200).attr("r", (a) => a.r).attr("fill", (a) => a.color), i.each((a, s, u) => {
20781
20786
  const c = Z(u[s]);
20782
20787
  let l = !0;
20783
- a.label.length <= n.bubbleText.lineLengthMin && (l = !1), c.call(TI, {
20784
- text: a.label,
20788
+ a[o].length <= n.bubbleText.lineLengthMin && (l = !1), c.call(TI, {
20789
+ text: a[o],
20785
20790
  radius: a.r * n.bubbleText.fillRate,
20786
20791
  lineHeight: n.bubbleText.lineHeight,
20787
20792
  isBreakAll: l
20788
20793
  });
20789
- }), o;
20794
+ }), i;
20790
20795
  }
20791
20796
  function EI({ data: t, highlightRIncrease: e, highlightIds: n }) {
20792
20797
  if (e != 0) {
@@ -20822,13 +20827,16 @@ function RI({ bubblesSelection: t, highlightIds: e, fullChartParams: n }) {
20822
20827
  });
20823
20828
  }
20824
20829
  const $R = bo("Bubbles", SI)(({ selection: t, name: e, observer: n, subject: r }) => {
20825
- const i = new it(), o = t.append("g"), a = new it();
20826
- let s = /* @__PURE__ */ new Map();
20827
- const u = n.fullParams$.pipe(
20830
+ const i = new ot(), o = t.append("g");
20831
+ let a = /* @__PURE__ */ new Map();
20832
+ const s = n.fullDataFormatter$.pipe(
20833
+ B((f) => f.sumSeries),
20834
+ rt()
20835
+ ), u = n.fullParams$.pipe(
20828
20836
  G(i),
20829
- B((h) => h.bubbleScaleType),
20837
+ B((f) => f.bubbleScaleType),
20830
20838
  rt()
20831
- ), c = new ht((h) => {
20839
+ ), c = new ht((f) => {
20832
20840
  Y({
20833
20841
  layout: n.layout$,
20834
20842
  SeriesContainerPositionMap: n.SeriesContainerPositionMap$,
@@ -20836,28 +20844,51 @@ const $R = bo("Bubbles", SI)(({ selection: t, name: e, observer: n, subject: r }
20836
20844
  scaleType: u
20837
20845
  }).pipe(
20838
20846
  G(i),
20839
- U(async (f) => f)
20840
- ).subscribe((f) => {
20841
- const p = kI({
20842
- data: f.visibleComputedLayoutData,
20843
- LastBubbleDataMap: s,
20844
- graphicWidth: f.layout.width,
20845
- graphicHeight: f.layout.height,
20846
- SeriesContainerPositionMap: f.SeriesContainerPositionMap,
20847
- scaleType: f.scaleType
20847
+ U(async (p) => p)
20848
+ ).subscribe((p) => {
20849
+ const d = kI({
20850
+ data: p.visibleComputedLayoutData,
20851
+ LastBubbleDataMap: a,
20852
+ graphicWidth: p.layout.width,
20853
+ graphicHeight: p.layout.height,
20854
+ SeriesContainerPositionMap: p.SeriesContainerPositionMap,
20855
+ scaleType: p.scaleType
20848
20856
  });
20849
- h.next(p);
20857
+ f.next(d);
20850
20858
  });
20851
20859
  });
20852
- c.subscribe((h) => {
20853
- s = new Map(h.map((f) => [f.id, f]));
20860
+ c.subscribe((f) => {
20861
+ a = new Map(f.map((p) => [p.id, p]));
20854
20862
  });
20855
20863
  const l = n.fullChartParams$.pipe(
20856
20864
  G(i),
20857
- B((h) => h.highlightTarget),
20865
+ B((f) => f.highlightTarget),
20858
20866
  rt()
20867
+ ), h = Y({
20868
+ bubblesData: c,
20869
+ fullParams: n.fullParams$,
20870
+ SeriesContainerPositionMap: n.SeriesContainerPositionMap$,
20871
+ sumSeries: s
20872
+ }).pipe(
20873
+ G(i),
20874
+ U(async (f) => f),
20875
+ B((f) => {
20876
+ const p = g0({
20877
+ graphicSelection: o,
20878
+ bubblesData: f.bubblesData,
20879
+ fullParams: f.fullParams,
20880
+ sumSeries: f.sumSeries
20881
+ });
20882
+ return On = LI(p, f.fullParams), On.nodes(f.bubblesData), m0({
20883
+ fullParams: f.fullParams,
20884
+ SeriesContainerPositionMap: f.SeriesContainerPositionMap
20885
+ // graphicWidth: data.layout.width,
20886
+ // graphicHeight: data.layout.height
20887
+ }), p;
20888
+ })
20859
20889
  );
20860
20890
  return Y({
20891
+ bubblesSelection: h,
20861
20892
  layout: n.layout$,
20862
20893
  computedData: n.computedData$,
20863
20894
  bubblesData: c,
@@ -20869,103 +20900,95 @@ const $R = bo("Bubbles", SI)(({ selection: t, name: e, observer: n, subject: r }
20869
20900
  // highlight: highlight$
20870
20901
  }).pipe(
20871
20902
  G(i),
20872
- U(async (h) => h)
20873
- ).subscribe((h) => {
20874
- const f = g0({
20875
- graphicSelection: o,
20876
- bubblesData: h.bubblesData,
20877
- fullParams: h.fullParams
20878
- });
20879
- On = LI(f, h.fullParams), f.on("mouseover", (p, d) => {
20903
+ U(async (f) => f)
20904
+ ).subscribe((f) => {
20905
+ f.bubblesSelection.on("mouseover", (p, d) => {
20880
20906
  r.event$.next({
20881
20907
  type: "series",
20882
20908
  eventName: "mouseover",
20883
20909
  pluginName: e,
20884
- highlightTarget: h.highlightTarget,
20910
+ highlightTarget: f.highlightTarget,
20885
20911
  datum: d,
20886
- series: h.SeriesDataMap.get(d.seriesLabel),
20912
+ series: f.SeriesDataMap.get(d.seriesLabel),
20887
20913
  seriesIndex: d.seriesIndex,
20888
20914
  seriesLabel: d.seriesLabel,
20889
20915
  event: p,
20890
- data: h.computedData
20916
+ data: f.computedData
20891
20917
  });
20892
20918
  }).on("mousemove", (p, d) => {
20893
20919
  r.event$.next({
20894
20920
  type: "series",
20895
20921
  eventName: "mousemove",
20896
20922
  pluginName: e,
20897
- highlightTarget: h.highlightTarget,
20923
+ highlightTarget: f.highlightTarget,
20898
20924
  datum: d,
20899
- series: h.SeriesDataMap.get(d.seriesLabel),
20925
+ series: f.SeriesDataMap.get(d.seriesLabel),
20900
20926
  seriesIndex: d.seriesIndex,
20901
20927
  seriesLabel: d.seriesLabel,
20902
20928
  event: p,
20903
- data: h.computedData
20929
+ data: f.computedData
20904
20930
  });
20905
20931
  }).on("mouseout", (p, d) => {
20906
20932
  r.event$.next({
20907
20933
  type: "series",
20908
20934
  eventName: "mouseout",
20909
20935
  pluginName: e,
20910
- highlightTarget: h.highlightTarget,
20936
+ highlightTarget: f.highlightTarget,
20911
20937
  datum: d,
20912
- series: h.SeriesDataMap.get(d.seriesLabel),
20938
+ series: f.SeriesDataMap.get(d.seriesLabel),
20913
20939
  seriesIndex: d.seriesIndex,
20914
20940
  seriesLabel: d.seriesLabel,
20915
20941
  event: p,
20916
- data: h.computedData
20942
+ data: f.computedData
20917
20943
  });
20918
20944
  }).on("click", (p, d) => {
20919
20945
  r.event$.next({
20920
20946
  type: "series",
20921
20947
  eventName: "click",
20922
20948
  pluginName: e,
20923
- highlightTarget: h.highlightTarget,
20949
+ highlightTarget: f.highlightTarget,
20924
20950
  datum: d,
20925
- series: h.SeriesDataMap.get(d.seriesLabel),
20951
+ series: f.SeriesDataMap.get(d.seriesLabel),
20926
20952
  seriesIndex: d.seriesIndex,
20927
20953
  seriesLabel: d.seriesLabel,
20928
20954
  event: p,
20929
- data: h.computedData
20955
+ data: f.computedData
20930
20956
  });
20931
- }).call(II()), On.nodes(h.bubblesData), m0({
20932
- fullParams: h.fullParams,
20933
- SeriesContainerPositionMap: h.SeriesContainerPositionMap
20934
- // graphicWidth: data.layout.width,
20935
- // graphicHeight: data.layout.height
20936
- }), a.next(f);
20957
+ }).call(II());
20937
20958
  }), Y({
20938
- bubblesSelection: a,
20959
+ bubblesSelection: h,
20939
20960
  bubblesData: c,
20940
20961
  highlight: n.seriesHighlight$.pipe(
20941
- B((h) => h.map((f) => f.id))
20962
+ B((f) => f.map((p) => p.id))
20942
20963
  ),
20943
20964
  fullChartParams: n.fullChartParams$,
20944
20965
  fullParams: n.fullParams$,
20966
+ sumSeries: s,
20945
20967
  // layout: observer.layout$,
20946
20968
  SeriesContainerPositionMap: n.SeriesContainerPositionMap$
20947
20969
  }).pipe(
20948
20970
  G(i),
20949
- U(async (h) => h)
20950
- ).subscribe((h) => {
20971
+ U(async (f) => f)
20972
+ ).subscribe((f) => {
20951
20973
  RI({
20952
- bubblesSelection: h.bubblesSelection,
20953
- highlightIds: h.highlight,
20954
- fullChartParams: h.fullChartParams
20955
- }), h.fullParams.highlightRIncrease && (EI({
20956
- data: h.bubblesData,
20957
- highlightRIncrease: h.fullParams.highlightRIncrease,
20958
- highlightIds: h.highlight
20974
+ bubblesSelection: f.bubblesSelection,
20975
+ highlightIds: f.highlight,
20976
+ fullChartParams: f.fullChartParams
20977
+ }), f.fullParams.highlightRIncrease && (EI({
20978
+ data: f.bubblesData,
20979
+ highlightRIncrease: f.fullParams.highlightRIncrease,
20980
+ highlightIds: f.highlight
20959
20981
  }), g0({
20960
20982
  graphicSelection: o,
20961
- bubblesData: h.bubblesData,
20962
- fullParams: h.fullParams
20983
+ bubblesData: f.bubblesData,
20984
+ fullParams: f.fullParams,
20985
+ sumSeries: f.sumSeries
20963
20986
  })), m0({
20964
- fullParams: h.fullParams,
20965
- SeriesContainerPositionMap: h.SeriesContainerPositionMap
20987
+ fullParams: f.fullParams,
20988
+ SeriesContainerPositionMap: f.SeriesContainerPositionMap
20966
20989
  // graphicWidth: data.layout.width,
20967
20990
  // graphicHeight: data.layout.height
20968
- }), On.nodes(h.bubblesData);
20991
+ }), On.nodes(f.bubblesData);
20969
20992
  }), () => {
20970
20993
  i.next(void 0);
20971
20994
  };
@@ -20976,15 +20999,15 @@ function j2({ data: t, startAngle: e, endAngle: n }) {
20976
20999
  return s.id = o.data.id, s;
20977
21000
  });
20978
21001
  }
20979
- function NI({ selection: t, pluginName: e, seriesSeparate$: n, seriesLabels$: r }) {
21002
+ function NI({ selection: t, pluginName: e, separateSeries$: n, seriesLabels$: r }) {
20980
21003
  const i = st(e, "series");
20981
21004
  return Y({
20982
21005
  seriesLabels: r,
20983
- seriesSeparate: n
21006
+ separateSeries: n
20984
21007
  }).pipe(
20985
21008
  U(async (o) => o),
20986
21009
  B((o, a) => {
20987
- const s = o.seriesSeparate ? o.seriesLabels : [o.seriesLabels.join("")];
21010
+ const s = o.separateSeries ? o.seriesLabels : [o.seriesLabels.join("")];
20988
21011
  return t.selectAll(`g.${i}`).data(s, (u) => u).join(
20989
21012
  (u) => u.append("g").classed(i, !0),
20990
21013
  (u) => u,
@@ -20994,8 +21017,8 @@ function NI({ selection: t, pluginName: e, seriesSeparate$: n, seriesLabels$: r
20994
21017
  Mt(1)
20995
21018
  );
20996
21019
  }
20997
- const Hh = ({ selection: t, pluginName: e, seriesSeparate$: n, seriesLabels$: r, seriesContainerPosition$: i }) => {
20998
- const o = NI({ selection: t, pluginName: e, seriesSeparate$: n, seriesLabels$: r });
21020
+ const Hh = ({ selection: t, pluginName: e, separateSeries$: n, seriesLabels$: r, seriesContainerPosition$: i }) => {
21021
+ const o = NI({ selection: t, pluginName: e, separateSeries$: n, seriesLabels$: r });
20999
21022
  return Y({
21000
21023
  seriesCenterSelection: o,
21001
21024
  seriesContainerPosition: i
@@ -21074,7 +21097,7 @@ function zI({ pathSelection: t, ids: e, fullChartParams: n, arc: r, arcMouseover
21074
21097
  });
21075
21098
  }
21076
21099
  function GI(t, e) {
21077
- const n = new it(), r = st(t, "path");
21100
+ const n = new ot(), r = st(t, "path");
21078
21101
  let i = [], o = [];
21079
21102
  const a = e.seriesContainerPosition$.pipe(
21080
21103
  G(n),
@@ -21294,14 +21317,14 @@ function GI(t, e) {
21294
21317
  };
21295
21318
  }
21296
21319
  const SR = bo(_c, AI)(({ selection: t, name: e, subject: n, observer: r }) => {
21297
- const i = new it(), { seriesCenterSelection$: o } = Hh({
21320
+ const i = new ot(), { seriesCenterSelection$: o } = Hh({
21298
21321
  selection: t,
21299
21322
  pluginName: _c,
21300
- seriesSeparate$: r.seriesSeparate$,
21323
+ separateSeries$: r.separateSeries$,
21301
21324
  seriesLabels$: r.seriesLabels$,
21302
21325
  seriesContainerPosition$: r.seriesContainerPosition$
21303
21326
  }), a = [];
21304
- return o.subscribe((s) => {
21327
+ return r.fullParams$.subscribe(), o.subscribe((s) => {
21305
21328
  a.forEach((u) => u()), s.each((u, c, l) => {
21306
21329
  const h = Z(l[c]), f = r.computedLayoutData$.pipe(
21307
21330
  G(i),
@@ -21345,7 +21368,7 @@ function Sc({ eventData: t, eventName: e, t: n, eventFn: r, textAttrs: i, textSt
21345
21368
  }));
21346
21369
  }
21347
21370
  function OI(t, e) {
21348
- const n = new it();
21371
+ const n = new ot();
21349
21372
  let r;
21350
21373
  const i = e.fullChartParams$.pipe(
21351
21374
  G(n),
@@ -21419,10 +21442,10 @@ function OI(t, e) {
21419
21442
  };
21420
21443
  }
21421
21444
  const AR = bo(Aa, MI)(({ selection: t, name: e, observer: n, subject: r }) => {
21422
- const i = new it(), { seriesCenterSelection$: o } = Hh({
21445
+ const i = new ot(), { seriesCenterSelection$: o } = Hh({
21423
21446
  selection: t,
21424
21447
  pluginName: Aa,
21425
- seriesSeparate$: n.seriesSeparate$,
21448
+ separateSeries$: n.separateSeries$,
21426
21449
  seriesLabels$: n.seriesLabels$,
21427
21450
  seriesContainerPosition$: n.seriesContainerPosition$
21428
21451
  }), a = [];
@@ -21482,8 +21505,8 @@ function HI({ labelSelection: t, ids: e, fullChartParams: n }) {
21482
21505
  });
21483
21506
  }
21484
21507
  function WI(t, e) {
21485
- const n = new it();
21486
- let r = new it(), i = [];
21508
+ const n = new ot();
21509
+ let r = new ot(), i = [];
21487
21510
  return Y({
21488
21511
  layout: e.seriesContainerPosition$,
21489
21512
  containerComputedLayoutData: e.containerComputedLayoutData$,
@@ -21534,10 +21557,10 @@ function WI(t, e) {
21534
21557
  };
21535
21558
  }
21536
21559
  const MR = bo(Ma, DI)(({ selection: t, observer: e, subject: n }) => {
21537
- const r = new it(), { seriesCenterSelection$: i } = Hh({
21560
+ const r = new ot(), { seriesCenterSelection$: i } = Hh({
21538
21561
  selection: t,
21539
21562
  pluginName: Ma,
21540
- seriesSeparate$: e.seriesSeparate$,
21563
+ separateSeries$: e.separateSeries$,
21541
21564
  seriesLabels$: e.seriesLabels$,
21542
21565
  seriesContainerPosition$: e.seriesContainerPosition$
21543
21566
  }), o = [];
@@ -21566,7 +21589,7 @@ const MR = bo(Ma, DI)(({ selection: t, observer: e, subject: n }) => {
21566
21589
  r.next(void 0);
21567
21590
  };
21568
21591
  }), b0 = "SeriesLegend", DR = bo(b0, PI)(({ selection: t, rootSelection: e, observer: n, subject: r }) => {
21569
- const i = new it(), o = n.SeriesDataMap$.pipe(
21592
+ const i = new ot(), o = n.SeriesDataMap$.pipe(
21570
21593
  G(i),
21571
21594
  B((u) => Array.from(u.keys()))
21572
21595
  ), a = n.fullParams$.pipe(
@@ -21614,7 +21637,7 @@ const MR = bo(Ma, DI)(({ selection: t, observer: e, subject: n }) => {
21614
21637
  listRectRadius: 0,
21615
21638
  textColorType: "primary"
21616
21639
  }, v0 = "TreeLegend", PR = Qm(v0, jI)(({ selection: t, rootSelection: e, observer: n, subject: r }) => {
21617
- const i = new it(), o = n.CategoryDataMap$.pipe(
21640
+ const i = new ot(), o = n.CategoryDataMap$.pipe(
21618
21641
  G(i),
21619
21642
  B((u) => Array.from(u.keys()))
21620
21643
  ), a = n.fullParams$.pipe(
@@ -21670,7 +21693,7 @@ function VI({ selection: t, ids: e, fullChartParams: n }) {
21670
21693
  });
21671
21694
  }
21672
21695
  const TR = Qm(Cn, qI)(({ selection: t, name: e, subject: n, observer: r }) => {
21673
- const i = new it(), o = Y({
21696
+ const i = new ot(), o = Y({
21674
21697
  layout: r.layout$,
21675
21698
  visibleComputedData: r.visibleComputedData$,
21676
21699
  fullParams: r.fullParams$,