@hybridcore/ui 1.6.7 → 1.6.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/dist/AnimatedTheme-BOKdw2Oy.js +7708 -0
  2. package/dist/{AxisRenderer-DTyLLA6c.js → AxisRenderer-lUbezuh7.js} +51 -49
  3. package/dist/{AxisRendererY-C_ItLPNV.js → AxisRendererY-DbSiyb45.js} +3 -3
  4. package/dist/{Bullet-DVczI2TD.js → Bullet-PgoNb3Jv.js} +1 -1
  5. package/dist/{Button-CcsPEIDh.js → Button-XBf4Mwz-.js} +3 -3
  6. package/dist/{CategoryAxis-CwnfaGc8.js → CategoryAxis-B8KQp1pE.js} +3 -3
  7. package/dist/{Circle-Cy5s-pVc.js → Circle-BWRdiMpG.js} +1 -1
  8. package/dist/ColorSet-DDmFoKtZ.js +77 -0
  9. package/dist/{ColumnSeries-CjgdJ2QL.js → ColumnSeries-rgnGm-Bg.js} +4 -4
  10. package/dist/{DataProcessor-CHDO51q4.js → DataProcessor-CvIe9BVn.js} +1 -1
  11. package/dist/{DateAxis-YX3QNIB-.js → DateAxis-zNtbSVjW.js} +8 -7
  12. package/dist/{ColorSet-C7vpNXhM.js → Entity-CCUIdRAr.js} +638 -712
  13. package/dist/{Hierarchy-Bihj0S61.js → Hierarchy-CCvGsF1A.js} +25 -23
  14. package/dist/{Legend-Dp_MKfS4.js → Legend-kbCFjJAW.js} +11 -10
  15. package/dist/{LineSeries-Uiv5o56b.js → LineSeries-BLFvwrLT.js} +13 -12
  16. package/dist/{LinearGradient-DiRq5YcI.js → LinearGradient-C7rnipF7.js} +11 -11
  17. package/dist/{PieSeries-B2fW3z0s.js → PieSeries-3iLRbqFv.js} +34 -32
  18. package/dist/{RoundedRectangle-CWLi2PXn.js → RoundedRectangle-CqMMmPM0.js} +4 -4
  19. package/dist/{Scrollbar-D86MJyr2.js → Scrollbar-BzSBcIUt.js} +4 -4
  20. package/dist/{Slice-B19rbYDZ.js → Slice-CS23iLiS.js} +2 -2
  21. package/dist/{Tick-2bcLyHpF.js → Tick-BADQ8QeT.js} +15 -15
  22. package/dist/Tooltip-A_HlttXp.js +3606 -0
  23. package/dist/{XYCursor-C8WktvKM.js → XYCursor-gHAo40xC.js} +3 -3
  24. package/dist/{ZoomableContainer-DYyqwaMb.js → ZoomableContainer-Brs1wHM1.js} +9 -9
  25. package/dist/components/charts/_common/tooltip.js +73 -0
  26. package/dist/components/charts/_common/utils.js +10 -9
  27. package/dist/components/charts/candlestick/logic.js +181 -156
  28. package/dist/components/charts/column-line-mix/logic.js +80 -77
  29. package/dist/components/charts/donut-chart/logic.js +36 -34
  30. package/dist/components/charts/drill-down-treemap/logic.js +49 -48
  31. package/dist/components/charts/drill-down-voronoi-treemap/logic.js +102 -101
  32. package/dist/components/charts/heatmap/logic.js +33 -32
  33. package/dist/components/charts/highlighting-line-data/logic.js +26 -24
  34. package/dist/components/charts/line/logic.js +123 -174
  35. package/dist/components/charts/logaritmic-scale/logic.js +69 -60
  36. package/dist/components/charts/multiple-value-axes/logic.js +93 -88
  37. package/dist/components/charts/nested-pie/logic.js +3 -3
  38. package/dist/components/charts/packed-circles/logic.js +28 -27
  39. package/dist/components/charts/pie-chart/logic.js +43 -41
  40. package/dist/components/charts/stacked-area-radar/logic.js +124 -121
  41. package/dist/components/charts/stacked-column-chart/logic.js +107 -95
  42. package/dist/components/charts/xy-chart/logic.js +103 -91
  43. package/dist/components/metric-card/MetricChart.js +29 -28
  44. package/dist/components/metric-card/index.js +1 -1
  45. package/dist/components/metric-card/logic.js +74 -67
  46. package/dist/components/metric-card/styled.js +55 -46
  47. package/package.json +1 -1
  48. package/dist/AnimatedTheme-jnasw6rT.js +0 -11305
@@ -1,6 +1,8 @@
1
- import { b as x, C as L, I as N, a as u, p as v, J as C, m as R, e as p, K as S, f, _ as A } from "./ColorSet-C7vpNXhM.js";
2
- import { a as H, n as d, C as _, S as P, k as B, l as O, L as j, D as T } from "./AnimatedTheme-jnasw6rT.js";
3
- class I extends H {
1
+ import { b as x, H as L, a as u, p as v, I as N, m as R, e as p, J as C, f, _ as A } from "./Entity-CCUIdRAr.js";
2
+ import { T as S, s as d, S as P, D as B } from "./AnimatedTheme-BOKdw2Oy.js";
3
+ import { C as H } from "./ColorSet-DDmFoKtZ.js";
4
+ import { C as _, a as T, b as O, L as j } from "./Tooltip-A_HlttXp.js";
5
+ class I extends S {
4
6
  setupDefaultRules() {
5
7
  super.setupDefaultRules();
6
8
  const e = this._root.interfaceColors, i = this._root.gridLayout, t = this.rule.bind(this);
@@ -9,12 +11,12 @@ class I extends H {
9
11
  legendValueText: "{sum.formatNumber('#.#')}",
10
12
  width: x,
11
13
  height: x,
12
- colors: L.new(this._root, { step: 2 }),
14
+ colors: H.new(this._root, { step: 2 }),
13
15
  downDepth: 1,
14
16
  initialDepth: 5,
15
17
  singleBranchOnly: !0,
16
18
  maskContent: !0,
17
- animationEasing: N(C)
19
+ animationEasing: L(N)
18
20
  }), t("HierarchyNode").setAll({
19
21
  toggleKey: "disabled",
20
22
  setStateOnChildren: !0,
@@ -397,13 +399,13 @@ function F(a, e) {
397
399
  a.call(e, i, ++o, this);
398
400
  return this;
399
401
  }
400
- function K(a, e) {
402
+ function Y(a, e) {
401
403
  let i = -1;
402
404
  for (const t of this)
403
405
  if (a.call(e, t, ++i, this))
404
406
  return t;
405
407
  }
406
- function Y(a) {
408
+ function K(a) {
407
409
  return this.eachAfter(function(e) {
408
410
  for (var i = +a(e.data) || 0, t = e.children, s = t && t.length; --s >= 0; ) i += t[s].value;
409
411
  e.value = i;
@@ -459,10 +461,10 @@ function* Z() {
459
461
  }
460
462
  function w(a, e) {
461
463
  a instanceof Map ? (a = [void 0, a], e === void 0 && (e = te)) : e === void 0 && (e = ee);
462
- for (var i = new y(a), t, s = [i], r, n, l, o; t = s.pop(); )
464
+ for (var i = new m(a), t, s = [i], r, n, l, o; t = s.pop(); )
463
465
  if ((n = e(t.data)) && (o = (n = Array.from(n)).length))
464
466
  for (t.children = n, l = o - 1; l >= 0; --l)
465
- s.push(r = n[l] = new y(n[l])), r.parent = t, r.depth = t.depth + 1;
467
+ s.push(r = n[l] = new m(n[l])), r.parent = t, r.depth = t.depth + 1;
466
468
  return i.eachBefore(se);
467
469
  }
468
470
  function $() {
@@ -483,17 +485,17 @@ function se(a) {
483
485
  a.height = e;
484
486
  while ((a = a.parent) && a.height < ++e);
485
487
  }
486
- function y(a) {
488
+ function m(a) {
487
489
  this.data = a, this.depth = this.height = 0, this.parent = null;
488
490
  }
489
- y.prototype = w.prototype = {
490
- constructor: y,
491
+ m.prototype = w.prototype = {
492
+ constructor: m,
491
493
  count: z,
492
494
  each: V,
493
495
  eachAfter: F,
494
496
  eachBefore: M,
495
- find: K,
496
- sum: Y,
497
+ find: Y,
498
+ sum: K,
497
499
  sort: X,
498
500
  path: E,
499
501
  ancestors: G,
@@ -534,14 +536,14 @@ class D extends P {
534
536
  enumerable: !0,
535
537
  configurable: !0,
536
538
  writable: !0,
537
- value: this.addDisposer(new B(O.new({}), () => b.new(this._root, {
539
+ value: this.addDisposer(new T(O.new({}), () => b.new(this._root, {
538
540
  themeTags: R(this.nodes.template.get("themeTags", []), [this._tag, "hierarchy", "node"])
539
541
  }, this.nodes.template)))
540
542
  }), Object.defineProperty(this, "labels", {
541
543
  enumerable: !0,
542
544
  configurable: !0,
543
545
  writable: !0,
544
- value: this.addDisposer(new B(O.new({}), () => j.new(this._root, {
546
+ value: this.addDisposer(new T(O.new({}), () => j.new(this._root, {
545
547
  themeTags: R(this.labels.template.get("themeTags", []), [this._tag])
546
548
  }, this.labels.template)))
547
549
  }), Object.defineProperty(this, "_currentDownDepth", {
@@ -644,7 +646,7 @@ class D extends P {
644
646
  if (this.makeNode(e), this._processDataItem(e), i) {
645
647
  const h = [];
646
648
  e.setRaw("children", h), p(i, (g) => {
647
- const c = new T(this, g, this._makeDataItem(g));
649
+ const c = new B(this, g, this._makeDataItem(g));
648
650
  h.push(c), c.setRaw("parent", e), c.setRaw("depth", n + 1), this.dataItems.length == 1 && n == 0 ? (t && c.get("fill") == null && c.setRaw("fill", t.next()), s && c.get("fillPattern") == null && c.setRaw("fillPattern", s.next())) : (c.get("fill") == null && c.setRaw("fill", e.get("fill")), c.get("fillPattern") == null && c.setRaw("fillPattern", e.get("fillPattern"))), this.processDataItem(c);
649
651
  });
650
652
  }
@@ -668,15 +670,15 @@ class D extends P {
668
670
  let o = e.get("depth");
669
671
  p(r, (h) => {
670
672
  let g = !1;
671
- if (S(n, (c) => c.dataContext == h ? (g = !0, !1) : !0), !g) {
672
- const c = new T(this, h, this._makeDataItem(h));
673
+ if (C(n, (c) => c.dataContext == h ? (g = !0, !1) : !0), !g) {
674
+ const c = new B(this, h, this._makeDataItem(h));
673
675
  if (n.push(c), c.setRaw("parent", e), c.setRaw("depth", o + 1), c.get("fill") == null) {
674
- let m = e.get("fill");
675
- if (m == null) {
676
+ let y = e.get("fill");
677
+ if (y == null) {
676
678
  const k = this.get("colors");
677
- k && (m = k.next());
679
+ k && (y = k.next());
678
680
  }
679
- c.setRaw("fill", m);
681
+ c.setRaw("fill", y);
680
682
  }
681
683
  this.processDataItem(c);
682
684
  }
@@ -1,7 +1,8 @@
1
- import { S as C, k as b, l as f, C as _, L as w } from "./AnimatedTheme-jnasw6rT.js";
2
- import { R as T } from "./RoundedRectangle-CWLi2PXn.js";
3
- import { m as i } from "./ColorSet-C7vpNXhM.js";
4
- class p extends C {
1
+ import { S as C } from "./AnimatedTheme-BOKdw2Oy.js";
2
+ import { a as b, b as f, C as _, L as w } from "./Tooltip-A_HlttXp.js";
3
+ import { R as T } from "./RoundedRectangle-CqMMmPM0.js";
4
+ import { m as i } from "./Entity-CCUIdRAr.js";
5
+ class k extends C {
5
6
  constructor() {
6
7
  super(...arguments), Object.defineProperty(this, "itemContainers", {
7
8
  enumerable: !0,
@@ -110,8 +111,8 @@ class p extends C {
110
111
  let r = e.get("name");
111
112
  r && h.set("text", r);
112
113
  }
113
- const k = this.makeValueLabel();
114
- if (k && (t.children.push(k), k._setDataItem(e), e.set("valueLabel", k)), s && s.show && (s.on("visible", (r) => {
114
+ const p = this.makeValueLabel();
115
+ if (p && (t.children.push(p), p._setDataItem(e), e.set("valueLabel", p)), s && s.show && (s.on("visible", (r) => {
115
116
  t.set("disabled", !r);
116
117
  }), s.get("visible") || t.set("disabled", !0), u != "none")) {
117
118
  let r = t;
@@ -161,18 +162,18 @@ class p extends C {
161
162
  s && (this.valueLabels.removeValue(s), s.dispose());
162
163
  }
163
164
  }
164
- Object.defineProperty(p, "className", {
165
+ Object.defineProperty(k, "className", {
165
166
  enumerable: !0,
166
167
  configurable: !0,
167
168
  writable: !0,
168
169
  value: "Legend"
169
170
  });
170
- Object.defineProperty(p, "classNames", {
171
+ Object.defineProperty(k, "classNames", {
171
172
  enumerable: !0,
172
173
  configurable: !0,
173
174
  writable: !0,
174
- value: C.classNames.concat([p.className])
175
+ value: C.classNames.concat([k.className])
175
176
  });
176
177
  export {
177
- p as L
178
+ k as L
178
179
  };
@@ -1,6 +1,7 @@
1
- import { b as U } from "./AxisRenderer-DTyLLA6c.js";
2
- import { k as S, l as D, G as A, b as fe, D as ce } from "./AnimatedTheme-jnasw6rT.js";
3
- import { m as G, e as j, h as K, c as he, f as Q } from "./ColorSet-C7vpNXhM.js";
1
+ import { b as U } from "./AxisRenderer-lUbezuh7.js";
2
+ import { a as S, b as D, G as A, R as fe } from "./Tooltip-A_HlttXp.js";
3
+ import { m as G, e as j, h as K, c as ce, f as Q } from "./Entity-CCUIdRAr.js";
4
+ import { D as he } from "./AnimatedTheme-BOKdw2Oy.js";
4
5
  import { w as W, c as g } from "./path-CNVruS--.js";
5
6
  function Z(o) {
6
7
  return typeof o == "object" && "length" in o ? o : Array.from(o);
@@ -299,8 +300,8 @@ class V extends U {
299
300
  const w = [];
300
301
  let T = [];
301
302
  w.push(T);
302
- const z = this.strokes.template.get("templateField"), H = this.fills.template.get("templateField");
303
- let R = this.get("locationX", 0.5), q = this.get("locationY", 0.5), re = this.get("openLocationX", R), oe = this.get("openLocationY", q);
303
+ const R = this.strokes.template.get("templateField"), z = this.fills.template.get("templateField");
304
+ let H = this.get("locationX", 0.5), q = this.get("locationY", 0.5), re = this.get("openLocationX", H), oe = this.get("openLocationY", q);
304
305
  const ae = this.get("minDistance", 0);
305
306
  let k, B = this.fills.template.get("visible");
306
307
  this.axisRanges.length > 0 && (B = !0);
@@ -323,7 +324,7 @@ class V extends U {
323
324
  baseAxis: c,
324
325
  xAxis: i,
325
326
  yAxis: r,
326
- locationX: R,
327
+ locationX: H,
327
328
  locationY: q,
328
329
  openLocationX: re,
329
330
  openLocationY: oe,
@@ -334,8 +335,8 @@ class V extends U {
334
335
  this._dindex = k;
335
336
  const F = this._dataItems[k];
336
337
  let O = F.get(b), N = F.get(_);
337
- if (O == null || N == null ? h || (T = [], w.push(T), I.points = T) : this._getPoints(F, I), z) {
338
- let d = F.dataContext[z];
338
+ if (O == null || N == null ? h || (T = [], w.push(T), I.points = T) : this._getPoints(F, I), R) {
339
+ let d = F.dataContext[R];
339
340
  if (d)
340
341
  if (d instanceof D || (d = D.new(d)), this._strokeTemplate = d, k > e) {
341
342
  s = k;
@@ -343,8 +344,8 @@ class V extends U {
343
344
  } else
344
345
  Y = d, n.template = d;
345
346
  }
346
- if (H) {
347
- let d = F.dataContext[H];
347
+ if (z) {
348
+ let d = F.dataContext[z];
348
349
  if (d)
349
350
  if (d instanceof D || (d = D.new(d)), this._fillTemplate = d, k > e) {
350
351
  s = k;
@@ -423,7 +424,7 @@ class V extends U {
423
424
  const t = this.get("legendDataItem");
424
425
  if (t) {
425
426
  const s = t.get("marker"), f = t.get("markerRectangle");
426
- f && f.setPrivate("visible", !1), s.set("background", fe.new(s._root, { fillOpacity: 0, fill: he(0) }));
427
+ f && f.setPrivate("visible", !1), s.set("background", fe.new(s._root, { fillOpacity: 0, fill: ce(0) }));
427
428
  const h = s.children.push(A._new(s._root, {
428
429
  themeTags: ["line", "series", "legend", "marker", "stroke"],
429
430
  interactive: !1
@@ -437,7 +438,7 @@ class V extends U {
437
438
  if (h.states.create("disabled", { fill: l, stroke: l }), p.states.create("disabled", { fill: l, stroke: l }), this.bullets.length > 0) {
438
439
  const u = this.bullets.getIndex(0);
439
440
  if (u) {
440
- const n = u(s._root, this, new ce(this, { legend: !0 }, {}));
441
+ const n = u(s._root, this, new he(this, { legend: !0 }, {}));
441
442
  if (n) {
442
443
  const a = n.get("sprite");
443
444
  a instanceof A && a.states.create("disabled", { fill: l, stroke: l }), a && (a.setAll({
@@ -1,5 +1,5 @@
1
- import { E as M, e as v, f as w, u as G } from "./ColorSet-C7vpNXhM.js";
2
- import { m as B, s as O } from "./AnimatedTheme-jnasw6rT.js";
1
+ import { E as M, e as v, f as w, C as G } from "./Entity-CCUIdRAr.js";
2
+ import { c as B, s as C } from "./Tooltip-A_HlttXp.js";
3
3
  class c extends M {
4
4
  _afterNew() {
5
5
  super._afterNewApplyThemes();
@@ -46,13 +46,13 @@ Object.defineProperty(c, "classNames", {
46
46
  writable: !0,
47
47
  value: M.classNames.concat([c.className])
48
48
  });
49
- class d extends c {
49
+ class m extends c {
50
50
  /**
51
51
  * @ignore
52
52
  */
53
53
  getFill(t) {
54
54
  const l = this.get("rotation", 0);
55
- let e = this.getBounds(t), r = e.left || 0, s = e.right || 0, a = e.top || 0, n = e.bottom || 0, h = B(l), p = O(l), u = h * (s - r), f = p * (n - a);
55
+ let e = this.getBounds(t), r = e.left || 0, s = e.right || 0, a = e.top || 0, n = e.bottom || 0, h = B(l), p = C(l), u = h * (s - r), f = p * (n - a);
56
56
  u == 0 && (u = 1), f == 0 && (f = 1);
57
57
  let y = Math.max(u, f);
58
58
  const x = this._root._renderer.createLinearGradient(r, a, r + y * h, a + y * p), b = this.get("stops");
@@ -61,14 +61,14 @@ class d extends c {
61
61
  v(b, (i) => {
62
62
  let g = i.offset;
63
63
  w(g) || (g = N / (b.length - 1));
64
- let m = i.opacity;
65
- w(m) || (m = 1);
64
+ let d = i.opacity;
65
+ w(d) || (d = 1);
66
66
  let o = i.color;
67
67
  if (o) {
68
68
  const _ = i.lighten;
69
69
  _ && (o = G.lighten(o, _));
70
70
  const L = i.brighten;
71
- L && (o = G.brighten(o, L)), x.addColorStop(g, "rgba(" + o.r + "," + o.g + "," + o.b + "," + m + ")");
71
+ L && (o = G.brighten(o, L)), x.addColorStop(g, "rgba(" + o.r + "," + o.g + "," + o.b + "," + d + ")");
72
72
  }
73
73
  N++;
74
74
  });
@@ -76,18 +76,18 @@ class d extends c {
76
76
  return x;
77
77
  }
78
78
  }
79
- Object.defineProperty(d, "className", {
79
+ Object.defineProperty(m, "className", {
80
80
  enumerable: !0,
81
81
  configurable: !0,
82
82
  writable: !0,
83
83
  value: "LinearGradient"
84
84
  });
85
- Object.defineProperty(d, "classNames", {
85
+ Object.defineProperty(m, "classNames", {
86
86
  enumerable: !0,
87
87
  configurable: !0,
88
88
  writable: !0,
89
- value: c.classNames.concat([d.className])
89
+ value: c.classNames.concat([m.className])
90
90
  });
91
91
  export {
92
- d as L
92
+ m as L
93
93
  };
@@ -1,19 +1,21 @@
1
- import { C as H, b as T, p as Y, a as f, e as p, _ as k, f as j, P as z, x as b, m as w } from "./ColorSet-C7vpNXhM.js";
2
- import { S as B, T as V } from "./Tick-2bcLyHpF.js";
3
- import { a as X, n as W, S as F, C as A, v as U, o as M, q, k as x, l as D, m as P, s as m, t as K } from "./AnimatedTheme-jnasw6rT.js";
4
- import { S as E, R as $ } from "./Slice-B19rbYDZ.js";
5
- class G extends X {
1
+ import { b as T, p as H, a as f, e as d, _ as k, f as j, P as Y, w as b, m as w } from "./Entity-CCUIdRAr.js";
2
+ import { S as B, T as z } from "./Tick-BADQ8QeT.js";
3
+ import { T as V, s as X, S as F } from "./AnimatedTheme-BOKdw2Oy.js";
4
+ import { C as W } from "./ColorSet-DDmFoKtZ.js";
5
+ import { C as A, v as U, g as M, m as K, a as x, b as D, c as P, s as m, n as q } from "./Tooltip-A_HlttXp.js";
6
+ import { S as E, R as $ } from "./Slice-CS23iLiS.js";
7
+ class G extends V {
6
8
  setupDefaultRules() {
7
9
  super.setupDefaultRules();
8
10
  const t = this._root.interfaceColors, e = this.rule.bind(this);
9
11
  e("PercentSeries").setAll({
10
12
  legendLabelText: "{category}",
11
13
  legendValueText: "{valuePercentTotal.formatNumber('0.00p')}",
12
- colors: H.new(this._root, {}),
14
+ colors: W.new(this._root, {}),
13
15
  width: T,
14
16
  height: T
15
17
  }), e("PieChart").setAll({
16
- radius: Y(80),
18
+ radius: H(80),
17
19
  startAngle: -90,
18
20
  endAngle: 270
19
21
  }), e("PieSeries").setAll({
@@ -125,7 +127,7 @@ class G extends X {
125
127
  const i = e("Graphics", ["pictorial", "background"]);
126
128
  i.setAll({
127
129
  fillOpacity: 0.2
128
- }), W(i, "fill", t, "alternativeBackground");
130
+ }), X(i, "fill", t, "alternativeBackground");
129
131
  }
130
132
  }
131
133
  }
@@ -240,10 +242,10 @@ class _ extends F {
240
242
  _prepareChildren() {
241
243
  if (super._prepareChildren(), this._lLabels = [], this._rLabels = [], this._hLabels = [], this._valuesDirty) {
242
244
  let t = 0, e = 0, i = 0, s = 1 / 0, a = 0;
243
- p(this._dataItems, (l) => {
245
+ d(this._dataItems, (l) => {
244
246
  let r = l.get("valueWorking", 0);
245
247
  t += r, e += Math.abs(r);
246
- }), p(this._dataItems, (l) => {
248
+ }), d(this._dataItems, (l) => {
247
249
  let r = l.get("valueWorking", 0);
248
250
  r > i && (i = r), r < s && (s = r), a++;
249
251
  let u = r / e;
@@ -285,14 +287,14 @@ class _ extends F {
285
287
  * @ignore
286
288
  */
287
289
  _updateChildren() {
288
- super._updateChildren(), this._valuesDirty && p(this._dataItems, (t) => {
290
+ super._updateChildren(), this._valuesDirty && d(this._dataItems, (t) => {
289
291
  t.get("label").text.markDirtyText();
290
- }), (this.isDirty("legendLabelText") || this.isDirty("legendValueText")) && p(this._dataItems, (t) => {
292
+ }), (this.isDirty("legendLabelText") || this.isDirty("legendValueText")) && d(this._dataItems, (t) => {
291
293
  this.updateLegendValue(t);
292
294
  }), this._arrange();
293
295
  }
294
296
  _arrange() {
295
- this._arrangeDown(this._lLabels), this._arrangeUp(this._lLabels), this._arrangeDown(this._rLabels), this._arrangeUp(this._rLabels), this._arrangeLeft(this._hLabels), this._arrangeRight(this._hLabels), p(this.dataItems, (t) => {
297
+ this._arrangeDown(this._lLabels), this._arrangeUp(this._lLabels), this._arrangeDown(this._rLabels), this._arrangeUp(this._rLabels), this._arrangeLeft(this._hLabels), this._arrangeRight(this._hLabels), d(this.dataItems, (t) => {
296
298
  this._updateTick(t);
297
299
  });
298
300
  }
@@ -401,7 +403,7 @@ class _ extends F {
401
403
  const i = t.get("legendDataItem");
402
404
  if (i) {
403
405
  const s = i.get("markerRectangle");
404
- p(U, (a) => {
406
+ d(U, (a) => {
405
407
  e.get(a) != null && s.set(a, e.get(a));
406
408
  });
407
409
  }
@@ -411,7 +413,7 @@ class _ extends F {
411
413
  _arrangeDown(t) {
412
414
  if (t) {
413
415
  let e = this._getNextDown();
414
- t.sort((i, s) => i.y > s.y ? 1 : i.y < s.y ? -1 : 0), p(t, (i) => {
416
+ t.sort((i, s) => i.y > s.y ? 1 : i.y < s.y ? -1 : 0), d(t, (i) => {
415
417
  const s = i.label.adjustedLocalBounds();
416
418
  let a = s.top;
417
419
  i.y + a < e && (i.y = e - a), i.label.set("y", i.y), e = i.y + s.bottom;
@@ -427,7 +429,7 @@ class _ extends F {
427
429
  _arrangeUp(t) {
428
430
  if (t) {
429
431
  let e = this._getNextUp();
430
- t.sort((i, s) => i.y < s.y ? 1 : i.y > s.y ? -1 : 0), p(t, (i) => {
432
+ t.sort((i, s) => i.y < s.y ? 1 : i.y > s.y ? -1 : 0), d(t, (i) => {
431
433
  const s = i.label.adjustedLocalBounds();
432
434
  let a = s.bottom;
433
435
  i.y + a > e && (i.y = e - a), i.label.set("y", i.y), e = i.y + s.top;
@@ -437,7 +439,7 @@ class _ extends F {
437
439
  _arrangeRight(t) {
438
440
  if (t) {
439
441
  let e = 0;
440
- t.sort((i, s) => i.y > s.y ? 1 : i.y < s.y ? -1 : 0), p(t, (i) => {
442
+ t.sort((i, s) => i.y > s.y ? 1 : i.y < s.y ? -1 : 0), d(t, (i) => {
441
443
  const s = i.label.adjustedLocalBounds();
442
444
  let a = s.left;
443
445
  i.y + a < e && (i.y = e - a), i.label.set("x", i.y), e = i.y + s.right;
@@ -447,7 +449,7 @@ class _ extends F {
447
449
  _arrangeLeft(t) {
448
450
  if (t) {
449
451
  let e = this.labelsContainer.maxWidth();
450
- t.sort((i, s) => i.y < s.y ? 1 : i.y > s.y ? -1 : 0), p(t, (i) => {
452
+ t.sort((i, s) => i.y < s.y ? 1 : i.y > s.y ? -1 : 0), d(t, (i) => {
451
453
  const s = i.label.adjustedLocalBounds();
452
454
  let a = s.right;
453
455
  i.y + a > e && (i.y = e - a), i.label.set("x", i.y), e = i.y + s.left;
@@ -495,18 +497,18 @@ class R extends y {
495
497
  let r = M(0, 0, s, a, 1);
496
498
  const u = e / (r.right - r.left), h = i / (r.bottom - r.top);
497
499
  let o = { left: 0, right: 0, top: 0, bottom: 0 };
498
- if (l instanceof z) {
500
+ if (l instanceof Y) {
499
501
  let c = l.value, g = Math.min(u, h);
500
502
  c = Math.max(g * c, g - Math.min(i, e)) / g, o = M(0, 0, s, a, c), this.setPrivateRaw("irModifyer", c / l.value);
501
503
  }
502
- r = q([r, o]);
503
- const d = this._maxRadius;
504
+ r = K([r, o]);
505
+ const p = this._maxRadius;
504
506
  this._maxRadius = Math.min(u, h);
505
507
  const n = b(this.get("radius", 0), this._maxRadius);
506
508
  this.seriesContainer.setAll({
507
509
  dy: -n * (r.bottom + r.top) / 2,
508
510
  dx: -n * (r.right + r.left) / 2
509
- }), (this.isDirty("startAngle") || this.isDirty("endAngle") || d != this._maxRadius) && this.series.each((c) => {
511
+ }), (this.isDirty("startAngle") || this.isDirty("endAngle") || p != this._maxRadius) && this.series.each((c) => {
510
512
  c._markDirtyKey("startAngle");
511
513
  }), (this.isDirty("innerRadius") || this.isDirty("radius")) && this.series.each((c) => {
512
514
  c._markDirtyKey("innerRadius");
@@ -575,7 +577,7 @@ class L extends _ {
575
577
  }, [this.labels.template]));
576
578
  }
577
579
  _makeTicks() {
578
- return new x(D.new({}), () => V._new(this._root, {
580
+ return new x(D.new({}), () => z._new(this._root, {
579
581
  themeTags: w(this.ticks.template.get("themeTags", []), ["pie", "series"])
580
582
  }, [this.ticks.template]));
581
583
  }
@@ -624,7 +626,7 @@ class L extends _ {
624
626
  const l = t.radius(this);
625
627
  this.setPrivateRaw("radius", l);
626
628
  let r = t.innerRadius(this) * t.getPrivate("irModifyer", 1);
627
- r < 0 && (r = l + r), p(this._dataItems, (u) => {
629
+ r < 0 && (r = l + r), d(this._dataItems, (u) => {
628
630
  this.updateLegendValue(u);
629
631
  let h = s * u.get("valuePercentTotal") / 100;
630
632
  const o = u.get("slice");
@@ -635,11 +637,11 @@ class L extends _ {
635
637
  const g = u.get("fillPattern");
636
638
  o._setDefault("fillPattern", g);
637
639
  }
638
- let d = K(a + h / 2);
640
+ let p = q(a + h / 2);
639
641
  const n = u.get("label");
640
- if (n && (n.setPrivate("radius", l), n.setPrivate("innerRadius", r), n.set("labelAngle", d), n.get("textType") == "aligned")) {
641
- let c = l + n.get("radius", 0), g = l * m(d);
642
- d > 90 && d <= 270 ? (!n.isHidden() && !n.isHiding() && this._lLabels.push({ label: n, y: g }), c *= -1, c -= this.labelsContainer.get("paddingLeft", 0), n.set("centerX", T), n.setPrivateRaw("left", !0)) : (!n.isHidden() && !n.isHiding() && this._rLabels.push({ label: n, y: g }), c += this.labelsContainer.get("paddingRight", 0), n.set("centerX", 0), n.setPrivateRaw("left", !1)), n.set("x", c), n.set("y", l * m(d));
642
+ if (n && (n.setPrivate("radius", l), n.setPrivate("innerRadius", r), n.set("labelAngle", p), n.get("textType") == "aligned")) {
643
+ let c = l + n.get("radius", 0), g = l * m(p);
644
+ p > 90 && p <= 270 ? (!n.isHidden() && !n.isHiding() && this._lLabels.push({ label: n, y: g }), c *= -1, c -= this.labelsContainer.get("paddingLeft", 0), n.set("centerX", T), n.setPrivateRaw("left", !0)) : (!n.isHidden() && !n.isHiding() && this._rLabels.push({ label: n, y: g }), c += this.labelsContainer.get("paddingRight", 0), n.set("centerX", 0), n.setPrivateRaw("left", !1)), n.set("x", c), n.set("y", l * m(p));
643
645
  }
644
646
  a += h, this._updateTick(u);
645
647
  });
@@ -649,7 +651,7 @@ class L extends _ {
649
651
  _updateTick(t) {
650
652
  const e = t.get("tick"), i = t.get("label"), s = t.get("slice"), a = e.get("location", 1);
651
653
  if (e && i && s) {
652
- const l = (s.get("shiftRadius", 0) + s.get("radius", 0)) * s.get("scale", 1) * a, r = i.get("labelAngle", 0), u = P(r), h = m(r), o = this.labelsContainer, d = o.get("paddingLeft", 0), n = o.get("paddingRight", 0);
654
+ const l = (s.get("shiftRadius", 0) + s.get("radius", 0)) * s.get("scale", 1) * a, r = i.get("labelAngle", 0), u = P(r), h = m(r), o = this.labelsContainer, p = o.get("paddingLeft", 0), n = o.get("paddingRight", 0);
653
655
  let c = 0, g = 0;
654
656
  c = i.x(), g = i.y();
655
657
  let S = [];
@@ -659,7 +661,7 @@ class L extends _ {
659
661
  c = N * P(O), g = N * m(O);
660
662
  }
661
663
  let C = -n;
662
- i.getPrivate("left") && (C = d), S = [{ x: s.x() + l * u, y: s.y() + l * h }, { x: c + C, y: g }, { x: c, y: g }];
664
+ i.getPrivate("left") && (C = p), S = [{ x: s.x() + l * u, y: s.y() + l * h }, { x: c + C, y: g }, { x: c, y: g }];
663
665
  }
664
666
  e.set("points", S);
665
667
  }
@@ -669,8 +671,8 @@ class L extends _ {
669
671
  if (e) {
670
672
  const s = e.dataItem.get("slice");
671
673
  if (s) {
672
- const a = s.get("innerRadius", 0), l = s.get("radius", 0), r = s.get("startAngle", 0), u = s.get("arc", 0), h = t.get("locationX", 0.5), o = t.get("locationY", 0.5), d = r + u * h, n = a + (l - a) * o;
673
- e.setAll({ x: P(d) * n, y: m(d) * n });
674
+ const a = s.get("innerRadius", 0), l = s.get("radius", 0), r = s.get("startAngle", 0), u = s.get("arc", 0), h = t.get("locationX", 0.5), o = t.get("locationY", 0.5), p = r + u * h, n = a + (l - a) * o;
675
+ e.setAll({ x: P(p) * n, y: m(p) * n });
674
676
  }
675
677
  }
676
678
  }
@@ -1,5 +1,5 @@
1
- import { f as y, x as g } from "./ColorSet-C7vpNXhM.js";
2
- import { b as p, j as m } from "./AnimatedTheme-jnasw6rT.js";
1
+ import { f as y, w as b } from "./Entity-CCUIdRAr.js";
2
+ import { R as p, f as m } from "./Tooltip-A_HlttXp.js";
3
3
  class T extends p {
4
4
  _beforeChanged() {
5
5
  super._beforeChanged(), (this.isDirty("cornerRadiusTL") || this.isDirty("cornerRadiusTR") || this.isDirty("cornerRadiusBR") || this.isDirty("cornerRadiusBL")) && (this._clear = !0);
@@ -10,8 +10,8 @@ class T extends p {
10
10
  this.get("containStroke", !1) && (u -= s * R, d -= o * R, e += s * R / 2, t += o * R / 2);
11
11
  let r = u, a = d;
12
12
  if (y(r) && y(a)) {
13
- let b = Math.min(r, a) / 2, l = g(this.get("cornerRadiusTL", 8), b), n = g(this.get("cornerRadiusTR", 8), b), c = g(this.get("cornerRadiusBR", 8), b), h = g(this.get("cornerRadiusBL", 8), b), f = Math.min(Math.abs(r / 2), Math.abs(a / 2));
14
- l = m(l, 0, f), n = m(n, 0, f), c = m(c, 0, f), h = m(h, 0, f);
13
+ let f = Math.min(r, a) / 2, l = b(this.get("cornerRadiusTL", 8), f), n = b(this.get("cornerRadiusTR", 8), f), c = b(this.get("cornerRadiusBR", 8), f), h = b(this.get("cornerRadiusBL", 8), f), g = Math.min(Math.abs(r / 2), Math.abs(a / 2));
14
+ l = m(l, 0, g), n = m(n, 0, g), c = m(c, 0, g), h = m(h, 0, g);
15
15
  const i = this._display;
16
16
  i.moveTo(e + l * s, t), i.lineTo(e + r - n * s, t), n > 0 && i.arcTo(e + r, t, e + r, t + n * o, n), i.lineTo(e + r, t + a - c * o), c > 0 && i.arcTo(e + r, t + a, e + r - c * s, t + a, c), i.lineTo(e + h * s, t + a), h > 0 && i.arcTo(e, t + a, e, t + a - h * o, h), i.lineTo(e, t + l * o), l > 0 && i.arcTo(e, t, e + l * s, t, l), i.closePath();
17
17
  }
@@ -1,7 +1,7 @@
1
- import { R as b } from "./RoundedRectangle-CWLi2PXn.js";
2
- import { C as w, G as v } from "./AnimatedTheme-jnasw6rT.js";
3
- import { B as x } from "./Button-CcsPEIDh.js";
4
- import { m as f, w as D, f as g } from "./ColorSet-C7vpNXhM.js";
1
+ import { R as b } from "./RoundedRectangle-CqMMmPM0.js";
2
+ import { C as w, G as v } from "./Tooltip-A_HlttXp.js";
3
+ import { B as x } from "./Button-XBf4Mwz-.js";
4
+ import { m as f, v as D, f as g } from "./Entity-CCUIdRAr.js";
5
5
  class _ extends w {
6
6
  constructor() {
7
7
  super(...arguments), Object.defineProperty(this, "thumb", {
@@ -1,5 +1,5 @@
1
- import { x as Re, a as he, P as ne, f as ce } from "./ColorSet-C7vpNXhM.js";
2
- import { w as ye, x as re, L as pe, t as be, m as H, s as J, G as me } from "./AnimatedTheme-jnasw6rT.js";
1
+ import { w as Re, a as he, P as ne, f as ce } from "./Entity-CCUIdRAr.js";
2
+ import { e as ye, h as re, L as pe, n as be, c as H, s as J, G as me } from "./Tooltip-A_HlttXp.js";
3
3
  import { w as xe, c as I } from "./path-CNVruS--.js";
4
4
  class Q extends ye {
5
5
  constructor() {
@@ -1,6 +1,6 @@
1
- import { G as b, C as o, u as w } from "./AnimatedTheme-jnasw6rT.js";
2
- import { b as n, e as v } from "./ColorSet-C7vpNXhM.js";
3
- function d(i, t) {
1
+ import { G as b, C as o, d as w } from "./Tooltip-A_HlttXp.js";
2
+ import { b as n, e as v } from "./Entity-CCUIdRAr.js";
3
+ function p(i, t) {
4
4
  for (let e = 0, r = t.length; e < r; e++) {
5
5
  const s = t[e];
6
6
  if (s.length > 0) {
@@ -29,9 +29,9 @@ class u extends b {
29
29
  const t = this.get("points"), e = this.get("segments");
30
30
  if (t && t.length > 0) {
31
31
  let r = t[0];
32
- this._display.moveTo(r.x, r.y), d(this._display, [[t]]);
32
+ this._display.moveTo(r.x, r.y), p(this._display, [[t]]);
33
33
  } else if (e)
34
- d(this._display, e);
34
+ p(this._display, e);
35
35
  else if (!this.get("draw")) {
36
36
  let r = this.width(), s = this.height();
37
37
  this._display.moveTo(0, 0), this._display.lineTo(r, s);
@@ -78,7 +78,7 @@ Object.defineProperty(c, "classNames", {
78
78
  writable: !0,
79
79
  value: o.classNames.concat([c.className])
80
80
  });
81
- class f extends c {
81
+ class d extends c {
82
82
  constructor() {
83
83
  super(...arguments), Object.defineProperty(this, "seriesContainer", {
84
84
  enumerable: !0,
@@ -130,33 +130,33 @@ class f extends c {
130
130
  t._handleRemoved(), t.isDisposed() || (this.seriesContainer.children.removeValue(t), t._removeBulletsContainer());
131
131
  }
132
132
  }
133
- Object.defineProperty(f, "className", {
133
+ Object.defineProperty(d, "className", {
134
134
  enumerable: !0,
135
135
  configurable: !0,
136
136
  writable: !0,
137
137
  value: "SerialChart"
138
138
  });
139
- Object.defineProperty(f, "classNames", {
139
+ Object.defineProperty(d, "classNames", {
140
140
  enumerable: !0,
141
141
  configurable: !0,
142
142
  writable: !0,
143
- value: c.classNames.concat([f.className])
143
+ value: c.classNames.concat([d.className])
144
144
  });
145
- class p extends u {
145
+ class f extends u {
146
146
  }
147
- Object.defineProperty(p, "className", {
147
+ Object.defineProperty(f, "className", {
148
148
  enumerable: !0,
149
149
  configurable: !0,
150
150
  writable: !0,
151
151
  value: "Tick"
152
152
  });
153
- Object.defineProperty(p, "classNames", {
153
+ Object.defineProperty(f, "classNames", {
154
154
  enumerable: !0,
155
155
  configurable: !0,
156
156
  writable: !0,
157
- value: u.classNames.concat([p.className])
157
+ value: u.classNames.concat([f.className])
158
158
  });
159
159
  export {
160
- f as S,
161
- p as T
160
+ d as S,
161
+ f as T
162
162
  };