@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.
- package/dist/{AnimatedTheme-BOKdw2Oy.js → AnimatedTheme-ktdO3Bel.js} +2 -2
- package/dist/{AxisRenderer-lUbezuh7.js → AxisRenderer-BCQoUJw6.js} +6 -6
- package/dist/{AxisRendererY-DbSiyb45.js → AxisRendererY-AXWvGU6r.js} +3 -3
- package/dist/{Bullet-PgoNb3Jv.js → Bullet-Djj7Vs9T.js} +1 -1
- package/dist/{Button-XBf4Mwz-.js → Button-BLY4PVJC.js} +3 -3
- package/dist/{CategoryAxis-B8KQp1pE.js → CategoryAxis-B6NqW8qd.js} +3 -3
- package/dist/{Circle-BWRdiMpG.js → Circle-BnfBNKBD.js} +1 -1
- package/dist/{ColorSet-DDmFoKtZ.js → ColorSet-cyPmWGwh.js} +1 -1
- package/dist/{ColumnSeries-rgnGm-Bg.js → ColumnSeries-CtRTsn-E.js} +4 -4
- package/dist/{DateAxis-zNtbSVjW.js → DateAxis-DEXKps1S.js} +4 -4
- package/dist/{Entity-CCUIdRAr.js → Entity-BJCuhdq_.js} +62 -62
- package/dist/GaplessDateAxis-B2g2jgSG.js +376 -0
- package/dist/{Hierarchy-CCvGsF1A.js → Hierarchy-CEOK8Gzh.js} +8 -8
- package/dist/{Legend-kbCFjJAW.js → Legend-CFvQiIfn.js} +4 -4
- package/dist/{LineSeries-BLFvwrLT.js → LineSeries-D_IL2qGF.js} +4 -4
- package/dist/{LinearGradient-C7rnipF7.js → LinearGradient-CxQyCSEB.js} +2 -2
- package/dist/{PieSeries-3iLRbqFv.js → PieSeries-CMH0Z7pz.js} +6 -6
- package/dist/{RoundedRectangle-CqMMmPM0.js → RoundedRectangle-BKLX1LKM.js} +2 -2
- package/dist/{Scrollbar-BzSBcIUt.js → Scrollbar-CTI7_8Qw.js} +4 -4
- package/dist/{Slice-CS23iLiS.js → Slice-BUncQh1B.js} +2 -2
- package/dist/{Tick-BADQ8QeT.js → Tick--VhF0xlz.js} +2 -2
- package/dist/{Tooltip-A_HlttXp.js → Tooltip-vyZRZWih.js} +13 -13
- package/dist/{XYCursor-gHAo40xC.js → XYCursor-CVUSpqb9.js} +3 -3
- package/dist/{ZoomableContainer-Brs1wHM1.js → ZoomableContainer-Ca_pDVYQ.js} +4 -4
- package/dist/components/charts/_common/tooltip.js +2 -2
- package/dist/components/charts/_common/utils.js +2 -2
- package/dist/components/charts/candlestick/logic.js +175 -173
- package/dist/components/charts/column-line-mix/logic.js +89 -83
- package/dist/components/charts/donut-chart/logic.js +4 -4
- package/dist/components/charts/drill-down-treemap/logic.js +5 -5
- package/dist/components/charts/drill-down-voronoi-treemap/logic.js +5 -5
- package/dist/components/charts/heatmap/logic.js +9 -9
- package/dist/components/charts/highlighting-line-data/logic.js +10 -10
- package/dist/components/charts/line/logic.js +99 -86
- package/dist/components/charts/logaritmic-scale/logic.js +78 -72
- package/dist/components/charts/multiple-value-axes/logic.js +100 -95
- package/dist/components/charts/nested-pie/logic.js +3 -3
- package/dist/components/charts/packed-circles/logic.js +7 -7
- package/dist/components/charts/pie-chart/logic.js +4 -4
- package/dist/components/charts/stacked-area-radar/logic.js +9 -9
- package/dist/components/charts/stacked-column-chart/logic.js +10 -10
- package/dist/components/charts/xy-chart/logic.js +66 -64
- package/dist/components/metric-card/MetricChart.js +9 -9
- package/dist/main.d.ts +13 -0
- package/package.json +1 -1
- package/dist/DataProcessor-CvIe9BVn.js +0 -83
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { S as C } from "./AnimatedTheme-
|
|
2
|
-
import { a as b, b as f, C as _, L as w } from "./Tooltip-
|
|
3
|
-
import { R as T } from "./RoundedRectangle-
|
|
4
|
-
import { m as i } from "./Entity-
|
|
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-
|
|
2
|
-
import { a as S, b as D, G as A, R as fe } from "./Tooltip-
|
|
3
|
-
import { m as G, e as j, h as K, c as ce, f as Q } from "./Entity-
|
|
4
|
-
import { D as he } from "./AnimatedTheme-
|
|
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-
|
|
2
|
-
import { c as B, s as C } from "./Tooltip-
|
|
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,
|
|
2
|
-
import { S as B, T as z } from "./Tick
|
|
3
|
-
import { T as V, s as X, S as F } from "./AnimatedTheme-
|
|
4
|
-
import { C as W } from "./ColorSet-
|
|
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-
|
|
6
|
-
import { S as E, R as $ } from "./Slice-
|
|
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,
|
|
2
|
-
import { R as p, f as m } from "./Tooltip-
|
|
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-
|
|
2
|
-
import { C as w, G as v } from "./Tooltip-
|
|
3
|
-
import { B as x } from "./Button-
|
|
4
|
-
import { m as f,
|
|
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 {
|
|
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-
|
|
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-
|
|
2
|
-
import { b as n, e as v } from "./Entity-
|
|
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,
|
|
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,
|
|
437
|
-
function
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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-
|
|
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-
|
|
3
|
-
import { G as x } from "./AxisRenderer-
|
|
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
|
|
2
|
-
import { b as g, c as D, f,
|
|
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:
|
|
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 =
|
|
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-
|
|
2
|
-
import { c as p, p as v } from "../../../Entity-
|
|
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-
|
|
3
|
-
import { c as F } from "../../../Entity-
|
|
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",
|