@dpuse/dpuse-tool-highcharts-visualiser 0.0.79 → 0.0.82
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/{AnimationUtilities-Bby2idBR.js → AnimationUtilities-CJw-tdb_.js} +74 -83
- package/dist/AnimationUtilities-CJw-tdb_.js.map +1 -0
- package/dist/BorderRadius-CqHYi9va.js +135 -0
- package/dist/BorderRadius-CqHYi9va.js.map +1 -0
- package/dist/CenteredUtilities-BTUT7_Ld.js +1316 -0
- package/dist/CenteredUtilities-BTUT7_Ld.js.map +1 -0
- package/dist/{SVGElement-BmvC_qu3.js → SVGElement-uTuGcjav.js} +101 -103
- package/dist/SVGElement-uTuGcjav.js.map +1 -0
- package/dist/SeriesRegistry-CXsAINSj.js +376 -0
- package/dist/SeriesRegistry-CXsAINSj.js.map +1 -0
- package/dist/{TextPath-DK4Jkzd7.js → TextPath-Coabnrz0.js} +32 -34
- package/dist/{TextPath-DK4Jkzd7.js.map → TextPath-Coabnrz0.js.map} +1 -1
- package/dist/{dependency-wheel.src-BHmwx9rW.js → dependency-wheel.src-ByNiAiZS.js} +26 -27
- package/dist/dependency-wheel.src-ByNiAiZS.js.map +1 -0
- package/dist/dpuse-tool-highcharts-visualiser.es.js +2437 -2415
- package/dist/dpuse-tool-highcharts-visualiser.es.js.map +1 -1
- package/dist/highchartsMoreCustom-Cm6MkFMu.js +1178 -0
- package/dist/highchartsMoreCustom-Cm6MkFMu.js.map +1 -0
- package/dist/{pattern-fill.src-BPmr3DQg.js → pattern-fill.src-CGZp553r.js} +30 -32
- package/dist/{pattern-fill.src-BPmr3DQg.js.map → pattern-fill.src-CGZp553r.js.map} +1 -1
- package/dist/{sankey.src-DocCurOx.js → sankey.src-Buj1zAlU.js} +115 -117
- package/dist/sankey.src-Buj1zAlU.js.map +1 -0
- package/dist/{streamgraph.src-Bn6PY8Fd.js → streamgraph.src-DjMW1U2g.js} +4 -6
- package/dist/{streamgraph.src-Bn6PY8Fd.js.map → streamgraph.src-DjMW1U2g.js.map} +1 -1
- package/package.json +12 -12
- package/dist/AnimationUtilities-Bby2idBR.js.map +0 -1
- package/dist/BorderRadius-2zMZW_aK.js +0 -1445
- package/dist/BorderRadius-2zMZW_aK.js.map +0 -1
- package/dist/SVGElement-BmvC_qu3.js.map +0 -1
- package/dist/SeriesRegistry-0cj0ZJqn.js +0 -374
- package/dist/SeriesRegistry-0cj0ZJqn.js.map +0 -1
- package/dist/dependency-wheel.src-BHmwx9rW.js.map +0 -1
- package/dist/highchartsMoreCustom-CcpfmVny.js +0 -1110
- package/dist/highchartsMoreCustom-CcpfmVny.js.map +0 -1
- package/dist/sankey.src-DocCurOx.js.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
//#region node_modules/highcharts/es-modules/Core/Globals.js
|
|
2
2
|
var e;
|
|
3
3
|
(function(e) {
|
|
4
|
-
e.SVG_NS = "http://www.w3.org/2000/svg", e.product = "Highcharts", e.version = "13.0.
|
|
4
|
+
e.SVG_NS = "http://www.w3.org/2000/svg", e.product = "Highcharts", e.version = "13.0.1", e.win = typeof window < "u" ? window : {}, e.doc = e.win.document, e.svg = !!e.doc?.createElementNS?.(e.SVG_NS, "svg")?.createSVGRect, e.pageLang = e.doc?.documentElement?.closest("[lang]")?.lang, e.userAgent = e.win.navigator?.userAgent || "", e.isChrome = e.win.chrome, e.isFirefox = e.userAgent.indexOf("Firefox") !== -1, e.isMS = /(edge|msie|trident)/i.test(e.userAgent) && !e.win.opera, e.isSafari = !e.isChrome && e.userAgent.indexOf("Safari") !== -1, e.isTouchDevice = /(Mobile|Android|Windows Phone)/.test(e.userAgent), e.isWebKit = e.userAgent.indexOf("AppleWebKit") !== -1, e.deg2rad = Math.PI * 2 / 360, e.marginNames = [
|
|
5
5
|
"plotTop",
|
|
6
6
|
"marginRight",
|
|
7
7
|
"marginBottom",
|
|
@@ -39,7 +39,7 @@ var t = e, n = {
|
|
|
39
39
|
position: {}
|
|
40
40
|
},
|
|
41
41
|
reflow: !0,
|
|
42
|
-
selectionMarkerFill: "color-mix(var(--highcharts-highlight-color-80) 25%, transparent)",
|
|
42
|
+
selectionMarkerFill: "color-mix(in srgb, var(--highcharts-highlight-color-80) 25%, transparent)",
|
|
43
43
|
type: "line",
|
|
44
44
|
zooming: {
|
|
45
45
|
singleTouch: !1,
|
|
@@ -86,7 +86,7 @@ function o(e, n, r, i = {}) {
|
|
|
86
86
|
order: typeof i.order == "number" ? i.order : Infinity
|
|
87
87
|
};
|
|
88
88
|
return o[n].push(c), o[n].sort((e, t) => e.order - t.order), function() {
|
|
89
|
-
|
|
89
|
+
F(e, n, r);
|
|
90
90
|
};
|
|
91
91
|
}
|
|
92
92
|
function s(e) {
|
|
@@ -143,7 +143,7 @@ function v(e, t, n, r) {
|
|
|
143
143
|
let s = n ? t : e;
|
|
144
144
|
j(e, function(n, c) {
|
|
145
145
|
if (!o && r && r.indexOf(c) > -1 && t[c]) {
|
|
146
|
-
n =
|
|
146
|
+
n = I(n), i[c] = [];
|
|
147
147
|
for (let e = 0; e < Math.max(n.length, t[c].length); e++) t[c][e] && (n[e] === void 0 ? i[c][e] = t[c][e] : (i[c][e] = {}, a(n[e], t[c][e], i[c][e], o + 1)));
|
|
148
148
|
} else k(n, !0) && !n.nodeType ? (i[c] = O(n) ? [] : {}, a(n, t[c] || {}, i[c], o + 1), Object.keys(i[c]).length === 0 && (c !== "colorAxis" || o !== 0) && delete i[c]) : (e[c] !== t[c] || c in e && !(c in t)) && c !== "__proto__" && c !== "constructor" && (i[c] = s[c]);
|
|
149
149
|
});
|
|
@@ -224,7 +224,7 @@ function C(e, t, n) {
|
|
|
224
224
|
}
|
|
225
225
|
if (t === "height") return Math.max(0, Math.min(e.offsetHeight, e.scrollHeight) - (C(e, "padding-top", !0) || 0) - (C(e, "padding-bottom", !0) || 0));
|
|
226
226
|
let i = a.getComputedStyle(e, void 0);
|
|
227
|
-
return i && (r = i.getPropertyValue(t),
|
|
227
|
+
return i && (r = i.getPropertyValue(t), N(n, t !== "opacity") && (r = P(r))), r;
|
|
228
228
|
}
|
|
229
229
|
var ie = Array.prototype.find ? function(e, t) {
|
|
230
230
|
return e.find(t);
|
|
@@ -271,7 +271,7 @@ function A(e, ...t) {
|
|
|
271
271
|
}
|
|
272
272
|
function se(e, t, n, r, i) {
|
|
273
273
|
let a, o = e;
|
|
274
|
-
n =
|
|
274
|
+
n = N(n, S(e));
|
|
275
275
|
let s = e / n;
|
|
276
276
|
for (t || (t = i ? [
|
|
277
277
|
1,
|
|
@@ -299,7 +299,7 @@ function se(e, t, n, r, i) {
|
|
|
299
299
|
function j(e, t, n) {
|
|
300
300
|
for (let r in e) Object.hasOwnProperty.call(e, r) && t.call(n || e[r], e[r], r, e);
|
|
301
301
|
}
|
|
302
|
-
function
|
|
302
|
+
function ce(e) {
|
|
303
303
|
let t = i.documentElement, n = e.parentElement || e.parentNode ? e.getBoundingClientRect() : {
|
|
304
304
|
top: 0,
|
|
305
305
|
left: 0,
|
|
@@ -313,26 +313,26 @@ function M(e) {
|
|
|
313
313
|
height: n.height
|
|
314
314
|
};
|
|
315
315
|
}
|
|
316
|
-
function
|
|
316
|
+
function M(e, t, n) {
|
|
317
317
|
return Array((t || 2) + 1 - String(e).replace("-", "").length).join(n || "0") + e;
|
|
318
318
|
}
|
|
319
|
-
function
|
|
319
|
+
function N() {
|
|
320
320
|
let e = arguments, t = e.length;
|
|
321
321
|
for (let n = 0; n < t; n++) {
|
|
322
322
|
let t = e[n];
|
|
323
323
|
if (t != null) return t;
|
|
324
324
|
}
|
|
325
325
|
}
|
|
326
|
-
function
|
|
326
|
+
function P(e, t) {
|
|
327
327
|
return parseInt(e, t || 10);
|
|
328
328
|
}
|
|
329
|
-
function
|
|
329
|
+
function le(e, t) {
|
|
330
330
|
return e.indexOf(t) < 0 && !!e.push(t);
|
|
331
331
|
}
|
|
332
|
-
function
|
|
332
|
+
function ue(e, t, n) {
|
|
333
333
|
return /%$/.test(e) ? t * parseFloat(e) / 100 + (n || 0) : parseFloat(e);
|
|
334
334
|
}
|
|
335
|
-
function
|
|
335
|
+
function de(e, ...t) {
|
|
336
336
|
let n, r;
|
|
337
337
|
do {
|
|
338
338
|
n = e;
|
|
@@ -340,7 +340,7 @@ function ue(e, ...t) {
|
|
|
340
340
|
} while (e !== n);
|
|
341
341
|
return e;
|
|
342
342
|
}
|
|
343
|
-
function
|
|
343
|
+
function F(e, t, n) {
|
|
344
344
|
function r(t, n) {
|
|
345
345
|
let r = e.removeEventListener;
|
|
346
346
|
r && r.call(e, t, n, !1);
|
|
@@ -362,23 +362,23 @@ function I(e, t, n) {
|
|
|
362
362
|
} else i(e), delete a.hcEvents;
|
|
363
363
|
}
|
|
364
364
|
}
|
|
365
|
-
function
|
|
365
|
+
function I(e) {
|
|
366
366
|
return O(e) ? e : [e];
|
|
367
367
|
}
|
|
368
|
-
function
|
|
368
|
+
function fe(e, t) {
|
|
369
369
|
let n = e.length, r, i;
|
|
370
370
|
for (i = 0; i < n; i++) e[i].safeI = i;
|
|
371
371
|
for (e.sort(function(e, n) {
|
|
372
372
|
return r = t(e, n), r === 0 ? e.safeI - n.safeI : r;
|
|
373
373
|
}), i = 0; i < n; i++) delete e[i].safeI;
|
|
374
374
|
}
|
|
375
|
-
function
|
|
375
|
+
function pe(e, t, n) {
|
|
376
376
|
return t > 0 ? setTimeout(e, t, n) : (e.call(0, n), -1);
|
|
377
377
|
}
|
|
378
|
-
function
|
|
378
|
+
function L(e) {
|
|
379
379
|
return D(e) ? e.substring(0, 1).toUpperCase() + e.substring(1) : String(e);
|
|
380
380
|
}
|
|
381
|
-
function
|
|
381
|
+
function me(e, t, n) {
|
|
382
382
|
let r = e[t];
|
|
383
383
|
e[t] = function() {
|
|
384
384
|
let e = arguments, t = this;
|
|
@@ -389,7 +389,7 @@ function pe(e, t, n) {
|
|
|
389
389
|
}
|
|
390
390
|
//#endregion
|
|
391
391
|
//#region node_modules/highcharts/es-modules/Core/Utilities.js
|
|
392
|
-
var { charts:
|
|
392
|
+
var { charts: R, win: z } = t;
|
|
393
393
|
function B(e, n, r, i) {
|
|
394
394
|
let a = n ? "Highcharts error" : "Highcharts warning";
|
|
395
395
|
e === 32 && (e = `${a}: Deprecated member`);
|
|
@@ -415,7 +415,7 @@ function B(e, n, r, i) {
|
|
|
415
415
|
})(B ||= {});
|
|
416
416
|
function he(e, t) {
|
|
417
417
|
let n = e.options.index, r = t.length, i;
|
|
418
|
-
for (i = e.options.isInternal ? r : 0; i < r + 1; i++) if (!t[i] || E(n) && n <
|
|
418
|
+
for (i = e.options.isInternal ? r : 0; i < r + 1; i++) if (!t[i] || E(n) && n < N(t[i].options.index, t[i]._i) || t[i].options.isInternal) {
|
|
419
419
|
t.splice(i, 0, e);
|
|
420
420
|
break;
|
|
421
421
|
}
|
|
@@ -441,11 +441,11 @@ var H, ge = function() {
|
|
|
441
441
|
};
|
|
442
442
|
}();
|
|
443
443
|
function _e(e) {
|
|
444
|
-
return H =
|
|
444
|
+
return H = N(e, H);
|
|
445
445
|
}
|
|
446
446
|
z.jQuery && (z.jQuery.fn.highcharts = function() {
|
|
447
447
|
let e = [].slice.call(arguments);
|
|
448
|
-
if (this[0]) return e[0] ? (new t[D(e[0]) ? e.shift() : "Chart"](this[0], e[0], e[1]), this) :
|
|
448
|
+
if (this[0]) return e[0] ? (new t[D(e[0]) ? e.shift() : "Chart"](this[0], e[0], e[1]), this) : R[l(this[0], "data-highcharts-chart")];
|
|
449
449
|
});
|
|
450
450
|
//#endregion
|
|
451
451
|
//#region node_modules/highcharts/es-modules/Shared/TimeBase.js
|
|
@@ -550,7 +550,7 @@ var { pageLang: ve, win: U } = t, ye = t.isSafari && U.Intl && !U.Intl.DateTimeF
|
|
|
550
550
|
makeTime(e, t, n = 1, r = 0, i, a, o) {
|
|
551
551
|
let s = this.Date.UTC(e, t, n, r, i || 0, a || 0, o || 0);
|
|
552
552
|
if (this.timezone !== "UTC") {
|
|
553
|
-
let e = this.getTimezoneOffset(s);
|
|
553
|
+
let e = this.getTimezoneOffset(s), n = (r - e / V.hour + 24) % 24;
|
|
554
554
|
if (s += e, [
|
|
555
555
|
2,
|
|
556
556
|
3,
|
|
@@ -558,7 +558,7 @@ var { pageLang: ve, win: U } = t, ye = t.isSafari && U.Intl && !U.Intl.DateTimeF
|
|
|
558
558
|
9,
|
|
559
559
|
10,
|
|
560
560
|
11
|
|
561
|
-
].indexOf(t) !== -1 && (
|
|
561
|
+
].indexOf(t) !== -1 && (n < 5 || n > 20)) {
|
|
562
562
|
let t = this.getTimezoneOffset(s);
|
|
563
563
|
e === t ? e - 36e5 === this.getTimezoneOffset(s - 36e5) && !ye && (s -= 36e5) : s += t - e;
|
|
564
564
|
}
|
|
@@ -592,25 +592,25 @@ var { pageLang: ve, win: U } = t, ye = t.isSafari && U.Intl && !U.Intl.DateTimeF
|
|
|
592
592
|
j(b({
|
|
593
593
|
a: m ? m[f] : p[f].substr(0, 3),
|
|
594
594
|
A: p[f],
|
|
595
|
-
d:
|
|
596
|
-
e:
|
|
595
|
+
d: M(s),
|
|
596
|
+
e: M(s, 2, " "),
|
|
597
597
|
w: f,
|
|
598
598
|
v: i?.weekFrom ?? "",
|
|
599
599
|
b: g[o],
|
|
600
600
|
B: h[o],
|
|
601
|
-
m:
|
|
601
|
+
m: M(o + 1),
|
|
602
602
|
o: o + 1,
|
|
603
603
|
y: a.toString().substr(2, 2),
|
|
604
604
|
Y: a,
|
|
605
|
-
H:
|
|
605
|
+
H: M(c),
|
|
606
606
|
k: c,
|
|
607
|
-
I:
|
|
607
|
+
I: M(c % 12 || 12),
|
|
608
608
|
l: c % 12 || 12,
|
|
609
|
-
M:
|
|
609
|
+
M: M(l),
|
|
610
610
|
p: c < 12 ? "AM" : "PM",
|
|
611
611
|
P: c < 12 ? "am" : "pm",
|
|
612
|
-
S:
|
|
613
|
-
L:
|
|
612
|
+
S: M(u),
|
|
613
|
+
L: M(d, 3)
|
|
614
614
|
}, t.dateFormats), function(t, i) {
|
|
615
615
|
if (D(e)) for (; e.indexOf("%" + i) !== -1;) e = e.replace("%" + i, typeof t == "function" ? t.call(r, n, r) : t);
|
|
616
616
|
});
|
|
@@ -618,10 +618,10 @@ var { pageLang: ve, win: U } = t, ye = t.isSafari && U.Intl && !U.Intl.DateTimeF
|
|
|
618
618
|
let t = (this.getTimezoneOffset(n) || 0) / 36e5, r = this.timezone || "Etc/GMT" + (t >= 0 ? "+" : "") + t, { prefix: i = "", suffix: a = "" } = e;
|
|
619
619
|
e = i + this.dateTimeFormat(b({ timeZone: r }, e), n) + a;
|
|
620
620
|
}
|
|
621
|
-
return r ?
|
|
621
|
+
return r ? L(e) : e;
|
|
622
622
|
}
|
|
623
623
|
resolveDTLFormat(e) {
|
|
624
|
-
return k(e, !0) ? k(e, !0) && be(e) ? { main: e } : e : (e =
|
|
624
|
+
return k(e, !0) ? k(e, !0) && be(e) ? { main: e } : e : (e = I(e), {
|
|
625
625
|
main: e[0],
|
|
626
626
|
from: e[1],
|
|
627
627
|
to: e[2]
|
|
@@ -964,8 +964,10 @@ var Te = {
|
|
|
964
964
|
if (this.stops) this.stops.forEach(function(e) {
|
|
965
965
|
e.brighten(t);
|
|
966
966
|
});
|
|
967
|
-
else if (E(t) && t !== 0)
|
|
968
|
-
|
|
967
|
+
else if (E(t) && t !== 0) {
|
|
968
|
+
if (E(n[0])) for (let e = 0; e < 3; e++) n[e] += P(t * 255), n[e] < 0 && (n[e] = 0), n[e] > 255 && (n[e] = 255);
|
|
969
|
+
else e.useColorMix && J(this.input) && (this.output = q(this.input, t > 0 ? "white" : "black", Math.abs(t)));
|
|
970
|
+
}
|
|
969
971
|
return this;
|
|
970
972
|
}
|
|
971
973
|
setOpacity(t) {
|
|
@@ -986,9 +988,9 @@ Y.names = {
|
|
|
986
988
|
regex: /rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d?(?:\.\d+)?)\s*\)/,
|
|
987
989
|
parse: function(e) {
|
|
988
990
|
return [
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
991
|
+
P(e[1]),
|
|
992
|
+
P(e[2]),
|
|
993
|
+
P(e[3]),
|
|
992
994
|
parseFloat(e[4], 10)
|
|
993
995
|
];
|
|
994
996
|
}
|
|
@@ -997,9 +999,9 @@ Y.names = {
|
|
|
997
999
|
regex: /rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)/,
|
|
998
1000
|
parse: function(e) {
|
|
999
1001
|
return [
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1002
|
+
P(e[1]),
|
|
1003
|
+
P(e[2]),
|
|
1004
|
+
P(e[3]),
|
|
1003
1005
|
1
|
|
1004
1006
|
];
|
|
1005
1007
|
}
|
|
@@ -1008,10 +1010,10 @@ Y.names = {
|
|
|
1008
1010
|
regex: /^#([a-f0-9])([a-f0-9])([a-f0-9])([a-f0-9])?$/i,
|
|
1009
1011
|
parse: function(e) {
|
|
1010
1012
|
return [
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
h(e[4]) ?
|
|
1013
|
+
P(e[1] + e[1], 16),
|
|
1014
|
+
P(e[2] + e[2], 16),
|
|
1015
|
+
P(e[3] + e[3], 16),
|
|
1016
|
+
h(e[4]) ? P(e[4] + e[4], 16) / 255 : 1
|
|
1015
1017
|
];
|
|
1016
1018
|
}
|
|
1017
1019
|
},
|
|
@@ -1019,10 +1021,10 @@ Y.names = {
|
|
|
1019
1021
|
regex: /^#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})?$/i,
|
|
1020
1022
|
parse: function(e) {
|
|
1021
1023
|
return [
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
h(e[4]) ?
|
|
1024
|
+
P(e[1], 16),
|
|
1025
|
+
P(e[2], 16),
|
|
1026
|
+
P(e[3], 16),
|
|
1027
|
+
h(e[4]) ? P(e[4], 16) / 255 : 1
|
|
1026
1028
|
];
|
|
1027
1029
|
}
|
|
1028
1030
|
}
|
|
@@ -1048,23 +1050,21 @@ var { parse: X } = Y, { win: De } = t, Z = class e {
|
|
|
1048
1050
|
this.elem.attr("d", i, void 0, !0);
|
|
1049
1051
|
}
|
|
1050
1052
|
update() {
|
|
1051
|
-
let e = this.elem, t = this.prop, n = this.now, r = this.options.step;
|
|
1052
|
-
this[t + "Setter"] ? this[t + "Setter"]() : e.attr ? e.element && e.attr(t, n,
|
|
1053
|
+
let e = this.elem, t = this.prop, n = this.now ?? 1, r = this.options.step;
|
|
1054
|
+
this[t + "Setter"] ? this[t + "Setter"]() : e && e.attr ? e.element && e.attr(t, n, void 0, !0) : e && (e.style[t] = n + (this.unit || "")), r?.call(e, n, this);
|
|
1053
1055
|
}
|
|
1054
1056
|
run(t, n, r) {
|
|
1055
|
-
let i = this, a =
|
|
1056
|
-
return !o.stopped && i.step(e);
|
|
1057
|
-
}, s = De.requestAnimationFrame || function(e) {
|
|
1057
|
+
let { elem: i, options: a } = this, { complete: o, curAnim: s = {} } = a, c = (e) => !c.stopped && this.step(e), l = De.requestAnimationFrame || function(e) {
|
|
1058
1058
|
setTimeout(e, 13);
|
|
1059
|
-
},
|
|
1059
|
+
}, u = () => {
|
|
1060
1060
|
for (let t = 0; t < e.timers.length; t++) e.timers[t]() || e.timers.splice(t--, 1);
|
|
1061
|
-
e.timers.length &&
|
|
1061
|
+
e.timers.length && l(u);
|
|
1062
1062
|
};
|
|
1063
|
-
t === n && !
|
|
1063
|
+
t === n && !i["forceAnimate:" + this.prop] ? (delete s[this.prop], o && Object.keys(s).length === 0 && o.call(i)) : (this.startTime = +/* @__PURE__ */ new Date(), this.start = t, this.end = n, this.unit = r, this.now = this.start, this.pos = 0, c.elem = i, c.prop = this.prop, c() && e.timers.push(c) === 1 && l(u));
|
|
1064
1064
|
}
|
|
1065
1065
|
step(e) {
|
|
1066
1066
|
let t = +/* @__PURE__ */ new Date(), n = this.options, r = this.elem, i = n.complete, a = n.duration, o = n.curAnim, s, c;
|
|
1067
|
-
return r
|
|
1067
|
+
return r?.attr && !r.element ? s = !1 : e || t >= a + this.startTime ? (this.now = this.end, this.pos = 1, this.update(), o[this.prop] = !0, c = !0, j(o, function(e) {
|
|
1068
1068
|
e !== !0 && (c = !1);
|
|
1069
1069
|
}), c && i && i.call(r), s = !1) : (this.pos = n.easing((t - this.startTime) / a), this.now = this.start + (this.end - this.start) * this.pos, this.update(), s = !0), s;
|
|
1070
1070
|
}
|
|
@@ -1128,7 +1128,7 @@ Z.timers = [];
|
|
|
1128
1128
|
//#endregion
|
|
1129
1129
|
//#region node_modules/highcharts/es-modules/Core/Animation/AnimationUtilities.js
|
|
1130
1130
|
function Oe(e, t) {
|
|
1131
|
-
t.renderer.globalAnimation =
|
|
1131
|
+
t.renderer.globalAnimation = N(e, t.options.chart.animation, !0);
|
|
1132
1132
|
}
|
|
1133
1133
|
function Q(e) {
|
|
1134
1134
|
return k(e) ? A({
|
|
@@ -1149,28 +1149,19 @@ function ke(e, t, n) {
|
|
|
1149
1149
|
duration: Math.min(a, o)
|
|
1150
1150
|
};
|
|
1151
1151
|
}
|
|
1152
|
-
function Ae(e, t, n) {
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1152
|
+
function Ae(e, t = { pos: 1 }, n) {
|
|
1153
|
+
k(n) || (n = {
|
|
1154
|
+
duration: arguments[2],
|
|
1155
|
+
easing: arguments[3],
|
|
1156
|
+
complete: arguments[4]
|
|
1157
|
+
}), E(n.duration) || (n.duration = 400), n.easing = typeof n.easing == "function" ? n.easing : Math[n.easing] || Math.easeInOutSine, n.curAnim = A(t), j(t, (r, i) => {
|
|
1158
|
+
e && $(e, i);
|
|
1159
|
+
let a = new Z(e, n, i), o = t.d, s = 0, c, l = "";
|
|
1160
|
+
i === "d" && O(o) ? (a.paths = a.initPath(e, e.pathArray, o), a.toD = o, c = 1) : e?.attr ? s = e.attr(i) : e && (s = +(C(e, i) || 0), i !== "opacity" && (l = "px")), c ||= r, typeof c == "string" && c.match("px") && (c = c.replace(/px/g, "")), h(c) && a.run(s, c, l);
|
|
1160
1161
|
});
|
|
1161
1162
|
}
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
}
|
|
1166
|
-
var je = {
|
|
1167
|
-
animate: Ae,
|
|
1168
|
-
animObject: Q,
|
|
1169
|
-
getDeferredAnimation: ke,
|
|
1170
|
-
setAnimation: Oe,
|
|
1171
|
-
stop: $
|
|
1172
|
-
};
|
|
1163
|
+
var $ = (e, t) => Z.timers.forEach((n) => {
|
|
1164
|
+
n.elem === e && (!t || t === n.prop) && (n.stopped = !0);
|
|
1165
|
+
});
|
|
1173
1166
|
//#endregion
|
|
1174
|
-
export {
|
|
1175
|
-
|
|
1176
|
-
//# sourceMappingURL=AnimationUtilities-Bby2idBR.js.map
|
|
1167
|
+
export { le as $, ee as A, T as B, m as C, _ as D, v as E, S as F, D as G, oe as H, re as I, j as J, A as K, C as L, x as M, te as N, y as O, ne as P, N as Q, ae as R, p as S, g as T, E as U, w as V, k as W, P as X, ce as Y, M as Z, s as _, $ as a, pe as at, d as b, Te as c, r as ct, he as d, ue as et, V as f, c as g, o as h, Oe as i, fe as it, ie as j, b as k, W as l, t as lt, _e as m, Ae as n, de as nt, Z as o, L as ot, ge as p, se as q, ke as r, I as rt, Y as s, me as st, Q as t, F as tt, B as u, l as v, h as w, f as x, u as y, O as z };
|