@hybridcore/ui 1.6.9 → 1.6.10

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 (46) hide show
  1. package/dist/{AnimatedTheme-BOKdw2Oy.js → AnimatedTheme-ktdO3Bel.js} +2 -2
  2. package/dist/{AxisRenderer-lUbezuh7.js → AxisRenderer-BCQoUJw6.js} +6 -6
  3. package/dist/{AxisRendererY-DbSiyb45.js → AxisRendererY-AXWvGU6r.js} +3 -3
  4. package/dist/{Bullet-PgoNb3Jv.js → Bullet-Djj7Vs9T.js} +1 -1
  5. package/dist/{Button-XBf4Mwz-.js → Button-BLY4PVJC.js} +3 -3
  6. package/dist/{CategoryAxis-B8KQp1pE.js → CategoryAxis-B6NqW8qd.js} +3 -3
  7. package/dist/{Circle-BWRdiMpG.js → Circle-BnfBNKBD.js} +1 -1
  8. package/dist/{ColorSet-DDmFoKtZ.js → ColorSet-cyPmWGwh.js} +1 -1
  9. package/dist/{ColumnSeries-rgnGm-Bg.js → ColumnSeries-CtRTsn-E.js} +4 -4
  10. package/dist/{DateAxis-zNtbSVjW.js → DateAxis-DEXKps1S.js} +4 -4
  11. package/dist/{Entity-CCUIdRAr.js → Entity-BJCuhdq_.js} +62 -62
  12. package/dist/GaplessDateAxis-B2g2jgSG.js +376 -0
  13. package/dist/{Hierarchy-CCvGsF1A.js → Hierarchy-CEOK8Gzh.js} +8 -8
  14. package/dist/{Legend-kbCFjJAW.js → Legend-CFvQiIfn.js} +4 -4
  15. package/dist/{LineSeries-BLFvwrLT.js → LineSeries-D_IL2qGF.js} +4 -4
  16. package/dist/{LinearGradient-C7rnipF7.js → LinearGradient-CxQyCSEB.js} +2 -2
  17. package/dist/{PieSeries-3iLRbqFv.js → PieSeries-CMH0Z7pz.js} +6 -6
  18. package/dist/{RoundedRectangle-CqMMmPM0.js → RoundedRectangle-BKLX1LKM.js} +2 -2
  19. package/dist/{Scrollbar-BzSBcIUt.js → Scrollbar-CTI7_8Qw.js} +4 -4
  20. package/dist/{Slice-CS23iLiS.js → Slice-BUncQh1B.js} +2 -2
  21. package/dist/{Tick-BADQ8QeT.js → Tick--VhF0xlz.js} +2 -2
  22. package/dist/{Tooltip-A_HlttXp.js → Tooltip-vyZRZWih.js} +13 -13
  23. package/dist/{XYCursor-gHAo40xC.js → XYCursor-CVUSpqb9.js} +3 -3
  24. package/dist/{ZoomableContainer-Brs1wHM1.js → ZoomableContainer-Ca_pDVYQ.js} +4 -4
  25. package/dist/components/charts/_common/tooltip.js +2 -2
  26. package/dist/components/charts/_common/utils.js +2 -2
  27. package/dist/components/charts/candlestick/logic.js +175 -173
  28. package/dist/components/charts/column-line-mix/logic.js +89 -83
  29. package/dist/components/charts/donut-chart/logic.js +4 -4
  30. package/dist/components/charts/drill-down-treemap/logic.js +5 -5
  31. package/dist/components/charts/drill-down-voronoi-treemap/logic.js +5 -5
  32. package/dist/components/charts/heatmap/logic.js +9 -9
  33. package/dist/components/charts/highlighting-line-data/logic.js +10 -10
  34. package/dist/components/charts/line/logic.js +99 -86
  35. package/dist/components/charts/logaritmic-scale/logic.js +78 -72
  36. package/dist/components/charts/multiple-value-axes/logic.js +100 -95
  37. package/dist/components/charts/nested-pie/logic.js +3 -3
  38. package/dist/components/charts/packed-circles/logic.js +7 -7
  39. package/dist/components/charts/pie-chart/logic.js +4 -4
  40. package/dist/components/charts/stacked-area-radar/logic.js +9 -9
  41. package/dist/components/charts/stacked-column-chart/logic.js +10 -10
  42. package/dist/components/charts/xy-chart/logic.js +66 -64
  43. package/dist/components/metric-card/MetricChart.js +9 -9
  44. package/dist/main.d.ts +13 -0
  45. package/package.json +1 -1
  46. package/dist/DataProcessor-CvIe9BVn.js +0 -83
@@ -1,7 +1,7 @@
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";
1
+ import { S as C } from "./AnimatedTheme-ktdO3Bel.js";
2
+ import { a as b, b as f, C as _, L as w } from "./Tooltip-vyZRZWih.js";
3
+ import { R as T } from "./RoundedRectangle-BKLX1LKM.js";
4
+ import { m as i } from "./Entity-BJCuhdq_.js";
5
5
  class k extends C {
6
6
  constructor() {
7
7
  super(...arguments), Object.defineProperty(this, "itemContainers", {
@@ -1,7 +1,7 @@
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";
1
+ import { b as U } from "./AxisRenderer-BCQoUJw6.js";
2
+ import { a as S, b as D, G as A, R as fe } from "./Tooltip-vyZRZWih.js";
3
+ import { m as G, e as j, h as K, c as ce, f as Q } from "./Entity-BJCuhdq_.js";
4
+ import { D as he } from "./AnimatedTheme-ktdO3Bel.js";
5
5
  import { w as W, c as g } from "./path-CNVruS--.js";
6
6
  function Z(o) {
7
7
  return typeof o == "object" && "length" in o ? o : Array.from(o);
@@ -1,5 +1,5 @@
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";
1
+ import { E as M, e as v, f as w, C as G } from "./Entity-BJCuhdq_.js";
2
+ import { c as B, s as C } from "./Tooltip-vyZRZWih.js";
3
3
  class c extends M {
4
4
  _afterNew() {
5
5
  super._afterNewApplyThemes();
@@ -1,9 +1,9 @@
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";
1
+ import { b as T, p as H, a as f, e as d, _ as k, f as j, P as Y, t as b, m as w } from "./Entity-BJCuhdq_.js";
2
+ import { S as B, T as z } from "./Tick--VhF0xlz.js";
3
+ import { T as V, s as X, S as F } from "./AnimatedTheme-ktdO3Bel.js";
4
+ import { C as W } from "./ColorSet-cyPmWGwh.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-vyZRZWih.js";
6
+ import { S as E, R as $ } from "./Slice-BUncQh1B.js";
7
7
  class G extends V {
8
8
  setupDefaultRules() {
9
9
  super.setupDefaultRules();
@@ -1,5 +1,5 @@
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";
1
+ import { f as y, t as b } from "./Entity-BJCuhdq_.js";
2
+ import { R as p, f as m } from "./Tooltip-vyZRZWih.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);
@@ -1,7 +1,7 @@
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";
1
+ import { R as b } from "./RoundedRectangle-BKLX1LKM.js";
2
+ import { C as w, G as v } from "./Tooltip-vyZRZWih.js";
3
+ import { B as x } from "./Button-BLY4PVJC.js";
4
+ import { m as f, q as D, f as g } from "./Entity-BJCuhdq_.js";
5
5
  class _ extends w {
6
6
  constructor() {
7
7
  super(...arguments), Object.defineProperty(this, "thumb", {
@@ -1,5 +1,5 @@
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";
1
+ import { t as Re, a as he, P as ne, f as ce } from "./Entity-BJCuhdq_.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-vyZRZWih.js";
3
3
  import { w as xe, c as I } from "./path-CNVruS--.js";
4
4
  class Q extends ye {
5
5
  constructor() {
@@ -1,5 +1,5 @@
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";
1
+ import { G as b, C as o, d as w } from "./Tooltip-vyZRZWih.js";
2
+ import { b as n, e as v } from "./Entity-BJCuhdq_.js";
3
3
  function p(i, t) {
4
4
  for (let e = 0, r = t.length; e < r; e++) {
5
5
  const s = t[e];
@@ -1,4 +1,4 @@
1
- import { e as w, ai as mt, a7 as St, au as rt, av as yt, aw as Ot, f as m, r as H, a6 as Q, D as B, M as C, z as Ct, u as bt, k as lt, E as F, P as D, ac as vt, w as L, d as q, i as Dt, ax as at, _ as nt, ay as Lt, a9 as It, az as wt, Q as xt, C as ht, ad as Mt, t as Pt, aA as Bt, aB as kt, h as Wt, v as Nt, aC as Rt, b as Ft, a as At, m as Gt } from "./Entity-CCUIdRAr.js";
1
+ import { e as w, aj as mt, a8 as St, y as rt, av as yt, aw as Ot, f as m, r as H, a7 as Z, F as B, M as C, D as Ct, x as bt, k as lt, E as F, P as D, ad as vt, t as L, d as q, i as Dt, ax as at, _ as nt, ay as Lt, aa as It, az as wt, R as xt, C as ht, ae as Mt, w as Pt, aA as Bt, aB as kt, h as Wt, q as Nt, aC as Rt, b as Ft, a as At, m as Gt } from "./Entity-BJCuhdq_.js";
2
2
  function z(n, t) {
3
3
  if (!(n >= 0 && n < t))
4
4
  throw new Error("Index out of bounds: " + n);
@@ -433,8 +433,8 @@ class zt extends Ht {
433
433
  }));
434
434
  }
435
435
  }
436
- const jt = Math.PI, Et = jt / 180, Qt = 180 / jt;
437
- function Zt(n, t, e) {
436
+ const jt = Math.PI, Et = jt / 180, Zt = 180 / jt;
437
+ function Qt(n, t, e) {
438
438
  if (!m(t) || t <= 0)
439
439
  return Math.round(n);
440
440
  {
@@ -604,7 +604,7 @@ class Kt {
604
604
  }
605
605
  add(t, e) {
606
606
  let i = this._callbacks[t];
607
- return i === void 0 && (i = this._callbacks[t] = []), i.push(e), new Q(() => {
607
+ return i === void 0 && (i = this._callbacks[t] = []), i.push(e), new Z(() => {
608
608
  B(i, e), i.length === 0 && delete this._callbacks[t];
609
609
  });
610
610
  }
@@ -620,7 +620,7 @@ class Kt {
620
620
  }), new C(e);
621
621
  }
622
622
  }
623
- class Z {
623
+ class Q {
624
624
  constructor(t, e) {
625
625
  if (Object.defineProperty(this, "_disposed", {
626
626
  enumerable: !0,
@@ -686,7 +686,7 @@ class Z {
686
686
  * @return Instantiated object
687
687
  */
688
688
  static new(t) {
689
- return new Z(t, !0);
689
+ return new Q(t, !0);
690
690
  }
691
691
  _dispose() {
692
692
  pt(this._settings), pt(this._privateSettings);
@@ -765,7 +765,7 @@ class Z {
765
765
  on(t, e) {
766
766
  this._checkDisposed();
767
767
  let i = this._settingEvents[t];
768
- return i === void 0 && (i = this._settingEvents[t] = []), i.push(e), new Q(() => {
768
+ return i === void 0 && (i = this._settingEvents[t] = []), i.push(e), new Z(() => {
769
769
  B(i, e), i.length === 0 && delete this._settingEvents[t];
770
770
  });
771
771
  }
@@ -773,7 +773,7 @@ class Z {
773
773
  onPrivate(t, e) {
774
774
  this._checkDisposed();
775
775
  let i = this._privateSettingEvents[t];
776
- return i === void 0 && (i = this._privateSettingEvents[t] = []), i.push(e), new Q(() => {
776
+ return i === void 0 && (i = this._privateSettingEvents[t] = []), i.push(e), new Z(() => {
777
777
  B(i, e), i.length === 0 && delete this._privateSettingEvents[t];
778
778
  });
779
779
  }
@@ -1091,7 +1091,7 @@ class O extends F {
1091
1091
  const i = this.dataItem;
1092
1092
  if (i) {
1093
1093
  const s = i.dataContext;
1094
- s && (t = s[e], !(t instanceof Z) && t && (t = Z.new(t)));
1094
+ s && (t = s[e], !(t instanceof Q) && t && (t = Q.new(t)));
1095
1095
  }
1096
1096
  }
1097
1097
  this._templateField !== t && (this._removeTemplateField(), this._templateField = t, t && t._setObjectTemplate(this), this._applyTemplates());
@@ -3133,7 +3133,7 @@ class et extends O {
3133
3133
  let e = this.get("opacity", 1);
3134
3134
  this._display.alpha = e;
3135
3135
  }
3136
- if ((this.isDirty("text") || this.isDirty("populateText")) && (this._display.text = this._getText(), this.markDirtyBounds(), this.get("role") == "tooltip" && this._root.updateTooltip(this)), this.isPrivateDirty("tooltipElement") && this.getPrivate("tooltipElement") && this._disposers.push(new Q(() => {
3136
+ if ((this.isDirty("text") || this.isDirty("populateText")) && (this._display.text = this._getText(), this.markDirtyBounds(), this.get("role") == "tooltip" && this._root.updateTooltip(this)), this.isPrivateDirty("tooltipElement") && this.getPrivate("tooltipElement") && this._disposers.push(new Z(() => {
3137
3137
  this._root._removeTooltipElement(this);
3138
3138
  })), this.isDirty("width") && (t.wordWrapWidth = this.width(), this.markDirtyBounds()), this.isDirty("oversizedBehavior") && (t.oversizedBehavior = this.get("oversizedBehavior", "none"), this._display.invalidateVisibility(), this.markDirtyBounds()), this.isDirty("breakWords") && (t.breakWords = this.get("breakWords", !1), this.markDirtyBounds()), this.isDirty("ellipsis") && (t.ellipsis = this.get("ellipsis"), this.markDirtyBounds()), this.isDirty("ignoreFormatting") && (t.ignoreFormatting = this.get("ignoreFormatting", !1), this.markDirtyBounds()), this.isDirty("minScale") && (t.minScale = this.get("minScale", 0), this.markDirtyBounds()), this.isDirty("fill") || this.isDirty("fillGradient")) {
3139
3139
  const e = this.get("fill"), i = this.get("fillGradient"), s = this.get("fillOpacity");
@@ -3577,7 +3577,7 @@ Object.defineProperty(_t, "classNames", {
3577
3577
  export {
3578
3578
  ft as B,
3579
3579
  S as C,
3580
- Qt as D,
3580
+ Zt as D,
3581
3581
  W as G,
3582
3582
  K as H,
3583
3583
  it as L,
@@ -3585,7 +3585,7 @@ export {
3585
3585
  _t as T,
3586
3586
  $ as V,
3587
3587
  qt as a,
3588
- Z as b,
3588
+ Q as b,
3589
3589
  dt as c,
3590
3590
  Vt as d,
3591
3591
  et as e,
@@ -3600,7 +3600,7 @@ export {
3600
3600
  Tt as n,
3601
3601
  J as o,
3602
3602
  tt as p,
3603
- Zt as r,
3603
+ Qt as r,
3604
3604
  ut as s,
3605
3605
  re as v
3606
3606
  };
@@ -1,6 +1,6 @@
1
- import { C as m, G as X, r as v } from "./Tooltip-A_HlttXp.js";
2
- import { m as Y, b, s as y, d as T, e as C, i as L, k as w, g as A, f as P } from "./Entity-CCUIdRAr.js";
3
- import { G as x } from "./AxisRenderer-lUbezuh7.js";
1
+ import { C as m, G as X, r as v } from "./Tooltip-vyZRZWih.js";
2
+ import { m as Y, b, s as y, d as T, e as C, i as L, k as w, g as A, f as P } from "./Entity-BJCuhdq_.js";
3
+ import { G as x } from "./AxisRenderer-BCQoUJw6.js";
4
4
  class c extends m {
5
5
  constructor() {
6
6
  super(...arguments), Object.defineProperty(this, "_alwaysShow", {
@@ -1,5 +1,5 @@
1
- import { C as c, R as v, f as x } from "./Tooltip-A_HlttXp.js";
2
- import { b as g, c as D, f, v as O, k as b, r as z } from "./Entity-CCUIdRAr.js";
1
+ import { C as c, R as x, f as v } from "./Tooltip-vyZRZWih.js";
2
+ import { b as g, c as D, f, q as O, k as b, r as z } from "./Entity-BJCuhdq_.js";
3
3
  class d extends c {
4
4
  constructor() {
5
5
  super(...arguments), Object.defineProperty(this, "_za", {
@@ -52,7 +52,7 @@ class d extends c {
52
52
  x: 0,
53
53
  y: 0,
54
54
  draggable: !0,
55
- background: v.new(this._root, {
55
+ background: x.new(this._root, {
56
56
  fill: D(16777215),
57
57
  fillOpacity: 0
58
58
  })
@@ -119,7 +119,7 @@ class d extends c {
119
119
  * @return Zoom Animation object
120
120
  */
121
121
  zoomToPoint(s, i) {
122
- i && (i = x(i, this.get("minZoomLevel", 1), this.get("maxZoomLevel", 32)));
122
+ i && (i = v(i, this.get("minZoomLevel", 1), this.get("maxZoomLevel", 32)));
123
123
  const n = this.contents.get("scale", 1);
124
124
  let e = s.x, t = s.y, o = e, a = t;
125
125
  const h = this.contents;
@@ -1,5 +1,5 @@
1
- import { T as x } from "../../../Tooltip-A_HlttXp.js";
2
- import { c as p, p as v } from "../../../Entity-CCUIdRAr.js";
1
+ import { T as x } from "../../../Tooltip-vyZRZWih.js";
2
+ import { c as p, p as v } from "../../../Entity-BJCuhdq_.js";
3
3
  const F = {
4
4
  millisecond: "d MMM, yyyy HH:mm:ss.SSS",
5
5
  second: "d MMM, yyyy HH:mm:ss",
@@ -1,6 +1,6 @@
1
1
  import { buildAmNumberFormat as e } from "./format.js";
2
- import { C as m } from "../../../ColorSet-DDmFoKtZ.js";
3
- import { c as F } from "../../../Entity-CCUIdRAr.js";
2
+ import { C as m } from "../../../ColorSet-cyPmWGwh.js";
3
+ import { c as F } from "../../../Entity-BJCuhdq_.js";
4
4
  const a = [
5
5
  "#294D94",
6
6
  "#375F97",