@dpuse/dpuse-tool-highcharts-visualiser 0.0.82 → 0.0.83
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-CJw-tdb_.js → AnimationUtilities-HCzBkGkl.js} +84 -84
- package/dist/AnimationUtilities-HCzBkGkl.js.map +1 -0
- package/dist/{BorderRadius-CqHYi9va.js → BorderRadius-DsUUgNnR.js} +2 -2
- package/dist/{BorderRadius-CqHYi9va.js.map → BorderRadius-DsUUgNnR.js.map} +1 -1
- package/dist/{CenteredUtilities-BTUT7_Ld.js → CenteredUtilities-CBtdKzw5.js} +305 -309
- package/dist/CenteredUtilities-CBtdKzw5.js.map +1 -0
- package/dist/{SVGElement-uTuGcjav.js → SVGElement-DQ_bI6Wv.js} +73 -73
- package/dist/SVGElement-DQ_bI6Wv.js.map +1 -0
- package/dist/{SeriesRegistry-CXsAINSj.js → SeriesRegistry-BO6tW97M.js} +125 -125
- package/dist/SeriesRegistry-BO6tW97M.js.map +1 -0
- package/dist/{TextPath-Coabnrz0.js → TextPath-D9gJwxEx.js} +1 -1
- package/dist/{TextPath-Coabnrz0.js.map → TextPath-D9gJwxEx.js.map} +1 -1
- package/dist/{dependency-wheel.src-ByNiAiZS.js → dependency-wheel.src-CzVxcqBs.js} +5 -5
- package/dist/{dependency-wheel.src-ByNiAiZS.js.map → dependency-wheel.src-CzVxcqBs.js.map} +1 -1
- package/dist/dpuse-tool-highcharts-visualiser.es.js +1423 -1413
- package/dist/dpuse-tool-highcharts-visualiser.es.js.map +1 -1
- package/dist/{highchartsMoreCustom-Cm6MkFMu.js → highchartsMoreCustom-C4nqraZj.js} +328 -300
- package/dist/highchartsMoreCustom-C4nqraZj.js.map +1 -0
- package/dist/{pattern-fill.src-CGZp553r.js → pattern-fill.src-B5NNMA8k.js} +43 -43
- package/dist/pattern-fill.src-B5NNMA8k.js.map +1 -0
- package/dist/sankey.src-CwyzwAVp.js +522 -0
- package/dist/sankey.src-CwyzwAVp.js.map +1 -0
- package/dist/{streamgraph.src-DjMW1U2g.js → streamgraph.src-BxwGr88G.js} +2 -2
- package/dist/streamgraph.src-BxwGr88G.js.map +1 -0
- package/package.json +12 -12
- package/dist/AnimationUtilities-CJw-tdb_.js.map +0 -1
- package/dist/CenteredUtilities-BTUT7_Ld.js.map +0 -1
- package/dist/SVGElement-uTuGcjav.js.map +0 -1
- package/dist/SeriesRegistry-CXsAINSj.js.map +0 -1
- package/dist/highchartsMoreCustom-Cm6MkFMu.js.map +0 -1
- package/dist/pattern-fill.src-CGZp553r.js.map +0 -1
- package/dist/sankey.src-Buj1zAlU.js +0 -522
- package/dist/sankey.src-Buj1zAlU.js.map +0 -1
- package/dist/streamgraph.src-DjMW1U2g.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.1.0", 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",
|
|
@@ -9,9 +9,9 @@ var e;
|
|
|
9
9
|
], e.noop = function() {}, e.supportsPassiveEvents = function() {
|
|
10
10
|
let t = !1;
|
|
11
11
|
if (!e.isMS) {
|
|
12
|
-
let n =
|
|
13
|
-
t = !0;
|
|
14
|
-
} }
|
|
12
|
+
let n = { get passive() {
|
|
13
|
+
return t = !0;
|
|
14
|
+
} };
|
|
15
15
|
e.win.addEventListener && e.win.removeEventListener && (e.win.addEventListener("testPassive", e.noop, n), e.win.removeEventListener("testPassive", e.noop, n));
|
|
16
16
|
}
|
|
17
17
|
return t;
|
|
@@ -100,10 +100,10 @@ function c(e) {
|
|
|
100
100
|
return n;
|
|
101
101
|
}
|
|
102
102
|
function l(e, t, n) {
|
|
103
|
-
let r =
|
|
103
|
+
let r = O(t) && !h(n), i, a = (t, n) => {
|
|
104
104
|
h(t) ? e.setAttribute(n, t) : r ? (i = e.getAttribute(n), !i && n === "class" && (i = e.getAttribute(n + "Name"))) : e.removeAttribute(n);
|
|
105
105
|
};
|
|
106
|
-
return
|
|
106
|
+
return O(t) ? a(n, t) : M(t, a), i;
|
|
107
107
|
}
|
|
108
108
|
function u(e, t, n) {
|
|
109
109
|
return e > t ? e < n ? e : n : t;
|
|
@@ -130,7 +130,7 @@ function h(e) {
|
|
|
130
130
|
return e != null;
|
|
131
131
|
}
|
|
132
132
|
function g(e, t, n) {
|
|
133
|
-
|
|
133
|
+
M(e, function(r, i) {
|
|
134
134
|
r !== t && r?.destroy && r.destroy(), (r?.destroy || !n) && delete e[i];
|
|
135
135
|
});
|
|
136
136
|
}
|
|
@@ -141,11 +141,11 @@ function v(e, t, n, r) {
|
|
|
141
141
|
let i = {};
|
|
142
142
|
function a(e, t, i, o) {
|
|
143
143
|
let s = n ? t : e;
|
|
144
|
-
|
|
144
|
+
M(e, function(n, c) {
|
|
145
145
|
if (!o && r && r.indexOf(c) > -1 && t[c]) {
|
|
146
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
|
-
} else
|
|
148
|
+
} else A(n, !0) && !n.nodeType ? (i[c] = k(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
|
});
|
|
150
150
|
}
|
|
151
151
|
return a(e, t, i, 0), i;
|
|
@@ -159,7 +159,7 @@ function y(e, t) {
|
|
|
159
159
|
}
|
|
160
160
|
function b(e, t) {
|
|
161
161
|
let n;
|
|
162
|
-
for (n in e ||= {}, t) e[n] = t[n];
|
|
162
|
+
for (n in e ||= {}, t) n !== "__proto__" && n !== "constructor" && (e[n] = t[n]);
|
|
163
163
|
return e;
|
|
164
164
|
}
|
|
165
165
|
function ee(e, t) {
|
|
@@ -208,7 +208,7 @@ function re(e, t) {
|
|
|
208
208
|
if (e === void 0 || e === "__proto__") return;
|
|
209
209
|
if (e === "this") {
|
|
210
210
|
let e;
|
|
211
|
-
return
|
|
211
|
+
return A(t) && (e = t["@this"]), e ?? t;
|
|
212
212
|
}
|
|
213
213
|
let r = t[e.replace(/[\\'"]/g, "")];
|
|
214
214
|
if (!h(r) || typeof r == "function" || typeof r.nodeType == "number" || r === a) return;
|
|
@@ -224,44 +224,44 @@ 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 ?? t !== "opacity") && (r = P(r))), r;
|
|
228
228
|
}
|
|
229
|
-
var
|
|
229
|
+
var w = Array.prototype.find ? function(e, t) {
|
|
230
230
|
return e.find(t);
|
|
231
231
|
} : function(e, t) {
|
|
232
232
|
let n, r = e.length;
|
|
233
233
|
for (n = 0; n < r; n++) if (t(e[n], n)) return e[n];
|
|
234
234
|
};
|
|
235
|
-
function
|
|
235
|
+
function ie(e) {
|
|
236
236
|
h(e) && clearTimeout(e);
|
|
237
237
|
}
|
|
238
|
-
function w(e) {
|
|
239
|
-
return k(e) && typeof e.nodeType == "number";
|
|
240
|
-
}
|
|
241
238
|
function T(e) {
|
|
242
|
-
|
|
243
|
-
return !!(k(e, !0) && !w(e) && t?.name && t.name !== "Object");
|
|
239
|
+
return A(e) && typeof e.nodeType == "number";
|
|
244
240
|
}
|
|
245
241
|
function E(e) {
|
|
246
|
-
|
|
242
|
+
let t = e?.constructor;
|
|
243
|
+
return !!(A(e, !0) && !T(e) && t?.name && t.name !== "Object");
|
|
247
244
|
}
|
|
248
245
|
function D(e) {
|
|
249
|
-
return typeof e == "
|
|
246
|
+
return typeof e == "number" && !isNaN(e) && e < Infinity && e > -Infinity;
|
|
250
247
|
}
|
|
251
248
|
function O(e) {
|
|
249
|
+
return typeof e == "string";
|
|
250
|
+
}
|
|
251
|
+
function k(e) {
|
|
252
252
|
let t = Object.prototype.toString.call(e);
|
|
253
253
|
return t === "[object Array]" || t === "[object Array Iterator]";
|
|
254
254
|
}
|
|
255
|
-
function
|
|
255
|
+
function ae(e) {
|
|
256
256
|
return typeof e == "function";
|
|
257
257
|
}
|
|
258
|
-
function
|
|
259
|
-
return !!e && typeof e == "object" && (!t || !
|
|
258
|
+
function A(e, t) {
|
|
259
|
+
return !!e && typeof e == "object" && (!t || !k(e));
|
|
260
260
|
}
|
|
261
|
-
function
|
|
261
|
+
function j(e, ...t) {
|
|
262
262
|
let n, r = [e, ...t], i = {}, a = function(e, t) {
|
|
263
|
-
return typeof e != "object" && (e = {}),
|
|
264
|
-
r !== "__proto__" && r !== "constructor" && (
|
|
263
|
+
return typeof e != "object" && (e = {}), M(t, function(n, r) {
|
|
264
|
+
r !== "__proto__" && r !== "constructor" && (A(n, !0) && !E(n) && !T(n) ? e[r] = a(e[r] || {}, n) : e[r] = t[r]);
|
|
265
265
|
}), e;
|
|
266
266
|
};
|
|
267
267
|
e === !0 && (i = r[1], r = Array.prototype.slice.call(r, 2));
|
|
@@ -269,9 +269,9 @@ function A(e, ...t) {
|
|
|
269
269
|
for (n = 0; n < o; n++) i = a(i, r[n]);
|
|
270
270
|
return i;
|
|
271
271
|
}
|
|
272
|
-
function
|
|
272
|
+
function oe(e, t, n, r, i) {
|
|
273
273
|
let a, o = e;
|
|
274
|
-
n
|
|
274
|
+
n ??= S(e);
|
|
275
275
|
let s = e / n;
|
|
276
276
|
for (t || (t = i ? [
|
|
277
277
|
1,
|
|
@@ -296,10 +296,10 @@ function se(e, t, n, r, i) {
|
|
|
296
296
|
}) : n <= .1 && (t = [1 / n]))), a = 0; a < t.length && (o = t[a], !(i && o * n >= e || !i && s <= (t[a] + (t[a + 1] || t[a])) / 2)); a++);
|
|
297
297
|
return o = d(o * n, -Math.round(Math.log(.001) / Math.LN10)), o;
|
|
298
298
|
}
|
|
299
|
-
function
|
|
299
|
+
function M(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 se(e) {
|
|
303
303
|
let t = i.documentElement, n = e.parentElement || e.parentNode ? e.getBoundingClientRect() : {
|
|
304
304
|
top: 0,
|
|
305
305
|
left: 0,
|
|
@@ -313,11 +313,11 @@ function ce(e) {
|
|
|
313
313
|
height: n.height
|
|
314
314
|
};
|
|
315
315
|
}
|
|
316
|
-
function
|
|
316
|
+
function N(e, t, n) {
|
|
317
317
|
return Array((t || 2) + 1 - String(e).replace("-", "").length).join(n || "0") + e;
|
|
318
318
|
}
|
|
319
|
-
function
|
|
320
|
-
let
|
|
319
|
+
function ce(...e) {
|
|
320
|
+
let 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;
|
|
@@ -347,7 +347,7 @@ function F(e, t, n) {
|
|
|
347
347
|
}
|
|
348
348
|
function i(n) {
|
|
349
349
|
let i, a;
|
|
350
|
-
e.nodeName && (t ? (i = {}, i[t] = !0) : i = n,
|
|
350
|
+
e.nodeName && (t ? (i = {}, i[t] = !0) : i = n, M(i, function(e, t) {
|
|
351
351
|
if (n[t]) for (a = n[t].length; a--;) r(t, n[t][a].fn);
|
|
352
352
|
}));
|
|
353
353
|
}
|
|
@@ -363,11 +363,11 @@ function F(e, t, n) {
|
|
|
363
363
|
}
|
|
364
364
|
}
|
|
365
365
|
function I(e) {
|
|
366
|
-
return
|
|
366
|
+
return k(e) ? e : [e];
|
|
367
367
|
}
|
|
368
368
|
function fe(e, t) {
|
|
369
|
-
let n = e.length, r, i;
|
|
370
|
-
for (
|
|
369
|
+
let n = e.length, r, i = 0;
|
|
370
|
+
for (; 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;
|
|
@@ -376,7 +376,7 @@ function pe(e, t, n) {
|
|
|
376
376
|
return t > 0 ? setTimeout(e, t, n) : (e.call(0, n), -1);
|
|
377
377
|
}
|
|
378
378
|
function L(e) {
|
|
379
|
-
return
|
|
379
|
+
return O(e) ? e.substring(0, 1).toUpperCase() + e.substring(1) : String(e);
|
|
380
380
|
}
|
|
381
381
|
function me(e, t, n) {
|
|
382
382
|
let r = e[t];
|
|
@@ -393,13 +393,13 @@ 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`);
|
|
396
|
-
let o =
|
|
396
|
+
let o = D(e), s = o ? `${a} #${e}: www.highcharts.com/errors/${e}/` : e.toString(), c = function() {
|
|
397
397
|
if (n) throw Error(s);
|
|
398
398
|
z.console && B.messages.indexOf(s) === -1 && console.warn(s);
|
|
399
399
|
};
|
|
400
400
|
if (i !== void 0) {
|
|
401
401
|
let e = "";
|
|
402
|
-
o && (s += "?"),
|
|
402
|
+
o && (s += "?"), M(i, function(t, n) {
|
|
403
403
|
e += `\n - ${n}: ${t}`, o && (s += encodeURI(n) + "=" + encodeURI(t));
|
|
404
404
|
}), s += e;
|
|
405
405
|
}
|
|
@@ -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] ||
|
|
418
|
+
for (i = e.options.isInternal ? r : 0; i < r + 1; i++) if (!t[i] || D(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,20 +441,20 @@ var H, ge = function() {
|
|
|
441
441
|
};
|
|
442
442
|
}();
|
|
443
443
|
function _e(e) {
|
|
444
|
-
return H =
|
|
444
|
+
return H = 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[
|
|
448
|
+
if (this[0]) return e[0] ? (new t[O(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
|
|
452
452
|
var { pageLang: ve, win: U } = t, ye = t.isSafari && U.Intl && !U.Intl.DateTimeFormat.prototype.formatRange, be = (e) => e.main === void 0, xe = class {
|
|
453
453
|
constructor(e, t) {
|
|
454
|
-
this.options = { timezone: "UTC" }, this.variableTimezone = !1, this.Date = U.Date, this.
|
|
454
|
+
this.options = { timezone: "UTC" }, this.variableTimezone = !1, this.Date = U.Date, this.lang = t, this.update(e);
|
|
455
455
|
}
|
|
456
456
|
update(e = {}) {
|
|
457
|
-
this.dTLCache = {}, this.options = e =
|
|
457
|
+
this.dTLCache = {}, this.options = e = j(!0, this.options, e);
|
|
458
458
|
let { timezoneOffset: t, useUTC: n, locale: r } = e;
|
|
459
459
|
this.Date = e.Date || U.Date || Date;
|
|
460
460
|
let i = e.timezone;
|
|
@@ -510,9 +510,9 @@ var { pageLang: ve, win: U } = t, ye = t.isSafari && U.Intl && !U.Intl.DateTimeF
|
|
|
510
510
|
"DLMXJVS".indexOf(t)
|
|
511
511
|
];
|
|
512
512
|
}
|
|
513
|
-
dateTimeFormat(e, t, n = this.options.locale || ve) {
|
|
513
|
+
dateTimeFormat(e, t, n = this.options.locale || this.lang?.locale || ve) {
|
|
514
514
|
let r = JSON.stringify(e) + n;
|
|
515
|
-
|
|
515
|
+
O(e) && (e = this.str2dtf(e));
|
|
516
516
|
let i = this.dTLCache[r];
|
|
517
517
|
if (!i) {
|
|
518
518
|
e.timeZone ?? (e.timeZone = this.timezone);
|
|
@@ -566,62 +566,62 @@ var { pageLang: ve, win: U } = t, ye = t.isSafari && U.Intl && !U.Intl.DateTimeF
|
|
|
566
566
|
return s;
|
|
567
567
|
}
|
|
568
568
|
parse(e) {
|
|
569
|
-
if (!
|
|
569
|
+
if (!O(e)) return e ?? void 0;
|
|
570
570
|
e = e.replace(/\//g, "-").replace(/(GMT|UTC)/, "");
|
|
571
571
|
let t = e.indexOf("Z") > -1 || /([+-][0-9]{2}):?[0-9]{2}$/.test(e), n = /^[0-9]{4}-[0-9]{2}(-[0-9]{2}|)$/.test(e);
|
|
572
572
|
!t && !n && (e += "Z");
|
|
573
573
|
let r = Date.parse(e);
|
|
574
|
-
if (
|
|
574
|
+
if (D(r)) return r + (!t || n ? this.getTimezoneOffset(r) : 0);
|
|
575
575
|
}
|
|
576
576
|
getTimezoneOffset(e) {
|
|
577
577
|
if (this.timezone !== "UTC") {
|
|
578
578
|
let [t, n, r, i, a = 0] = this.dateTimeFormat({ timeZoneName: "shortOffset" }, e, "en").split(/(GMT|:)/).map(Number), o = -(r + a / 60) * 60 * 6e4;
|
|
579
|
-
if (
|
|
579
|
+
if (D(o)) return o;
|
|
580
580
|
}
|
|
581
581
|
return 0;
|
|
582
582
|
}
|
|
583
583
|
dateFormat(e, n, r) {
|
|
584
584
|
let i = this.lang;
|
|
585
585
|
if (!h(n) || isNaN(n)) return i?.invalidDate || "";
|
|
586
|
-
if (e ??= "%Y-%m-%d %H:%M:%S",
|
|
586
|
+
if (e ??= "%Y-%m-%d %H:%M:%S", O(e)) {
|
|
587
587
|
let t = /%\[([a-zA-Z]+)\]/g, r;
|
|
588
588
|
for (; r = t.exec(e);) e = e.replace(r[0], this.dateTimeFormat(r[1], n, i?.locale));
|
|
589
589
|
}
|
|
590
|
-
if (
|
|
590
|
+
if (O(e) && e.indexOf("%") !== -1) {
|
|
591
591
|
let r = this, [a, o, s, c, l, u, d, f] = this.toParts(n), p = i?.weekdays || this.weekdays, m = i?.shortWeekdays || this.shortWeekdays, h = i?.months || this.months, g = i?.shortMonths || this.shortMonths;
|
|
592
|
-
|
|
592
|
+
M(b({
|
|
593
593
|
a: m ? m[f] : p[f].substr(0, 3),
|
|
594
594
|
A: p[f],
|
|
595
|
-
d:
|
|
596
|
-
e:
|
|
595
|
+
d: N(s),
|
|
596
|
+
e: N(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: N(o + 1),
|
|
602
602
|
o: o + 1,
|
|
603
603
|
y: a.toString().substr(2, 2),
|
|
604
604
|
Y: a,
|
|
605
|
-
H:
|
|
605
|
+
H: N(c),
|
|
606
606
|
k: c,
|
|
607
|
-
I:
|
|
607
|
+
I: N(c % 12 || 12),
|
|
608
608
|
l: c % 12 || 12,
|
|
609
|
-
M:
|
|
609
|
+
M: N(l),
|
|
610
610
|
p: c < 12 ? "AM" : "PM",
|
|
611
611
|
P: c < 12 ? "am" : "pm",
|
|
612
|
-
S:
|
|
613
|
-
L:
|
|
612
|
+
S: N(u),
|
|
613
|
+
L: N(d, 3)
|
|
614
614
|
}, t.dateFormats), function(t, i) {
|
|
615
|
-
if (
|
|
615
|
+
if (O(e)) for (; e.indexOf("%" + i) !== -1;) e = e.replace("%" + i, typeof t == "function" ? t.call(r, n, r) : t);
|
|
616
616
|
});
|
|
617
|
-
} else if (
|
|
617
|
+
} else if (A(e)) {
|
|
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
621
|
return r ? L(e) : e;
|
|
622
622
|
}
|
|
623
623
|
resolveDTLFormat(e) {
|
|
624
|
-
return
|
|
624
|
+
return A(e, !0) ? A(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]
|
|
@@ -920,7 +920,7 @@ function Ce() {
|
|
|
920
920
|
return G;
|
|
921
921
|
}
|
|
922
922
|
function we(e) {
|
|
923
|
-
return x(t, "setOptions", { options: e }),
|
|
923
|
+
return x(t, "setOptions", { options: e }), j(!0, G, e), e.time && K.update(G.time), e.lang && "locale" in e.lang && K.update({ locale: e.lang.locale }), e.lang?.chartTitle && (G.title = {
|
|
924
924
|
...G.title,
|
|
925
925
|
text: e.lang.chartTitle
|
|
926
926
|
}), G;
|
|
@@ -930,7 +930,7 @@ var Te = {
|
|
|
930
930
|
defaultTime: K,
|
|
931
931
|
getOptions: Ce,
|
|
932
932
|
setOptions: we
|
|
933
|
-
}, { win: Ee } = t, q = (e, t, n) => n === 0 ? e : n === 1 ? t : `color-mix(in srgb,${e},${t} ${n * 100}%)`, J = (e) =>
|
|
933
|
+
}, { win: Ee } = t, q = (e, t, n) => n === 0 ? e : n === 1 ? t : `color-mix(in srgb,${e},${t} ${n * 100}%)`, J = (e) => O(e) && !!e && e !== "none", Y = class e {
|
|
934
934
|
static parse(t) {
|
|
935
935
|
return t ? new e(t) : e.None;
|
|
936
936
|
}
|
|
@@ -952,30 +952,30 @@ var Te = {
|
|
|
952
952
|
let t = this.input, n = this.rgba;
|
|
953
953
|
if (this.output) return this.output;
|
|
954
954
|
if (typeof t == "object" && this.stops !== void 0) {
|
|
955
|
-
let n =
|
|
955
|
+
let n = j(t);
|
|
956
956
|
return n.stops = [].slice.call(n.stops), this.stops.forEach((t, r) => {
|
|
957
957
|
n.stops[r] = [n.stops[r][0], t.get(e)];
|
|
958
958
|
}), n;
|
|
959
959
|
}
|
|
960
|
-
return n &&
|
|
960
|
+
return n && D(n[0]) ? e === "rgb" || !e && n[3] === 1 ? "rgb(" + n[0] + "," + n[1] + "," + n[2] + ")" : e === "a" ? `${n[3]}` : "rgba(" + n.join(",") + ")" : t;
|
|
961
961
|
}
|
|
962
962
|
brighten(t) {
|
|
963
963
|
let n = this.rgba;
|
|
964
964
|
if (this.stops) this.stops.forEach(function(e) {
|
|
965
965
|
e.brighten(t);
|
|
966
966
|
});
|
|
967
|
-
else if (
|
|
968
|
-
if (
|
|
967
|
+
else if (D(t) && t !== 0) {
|
|
968
|
+
if (D(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
969
|
else e.useColorMix && J(this.input) && (this.output = q(this.input, t > 0 ? "white" : "black", Math.abs(t)));
|
|
970
970
|
}
|
|
971
971
|
return this;
|
|
972
972
|
}
|
|
973
973
|
setOpacity(t) {
|
|
974
|
-
return
|
|
974
|
+
return D(this.rgba[0]) ? this.rgba[3] = t : e.useColorMix && J(this.input) && (this.output = q(this.input, "#0000", 1 - t)), this;
|
|
975
975
|
}
|
|
976
976
|
tweenTo(t, n) {
|
|
977
977
|
let r = this.rgba, i = t.rgba;
|
|
978
|
-
if (!
|
|
978
|
+
if (!D(r[0]) || !D(i[0])) return e.useColorMix && J(this.input) && J(t.input) && n < .99 ? q(this.input, t.input, n) : t.input || "none";
|
|
979
979
|
let a = i[3] !== 1 || r[3] !== 1, o = (e, t) => e + (r[t] - e) * (1 - n), s = i.slice(0, 3).map(o).map(Math.round);
|
|
980
980
|
return a && s.push(o(i[3], 3)), (a ? "rgba(" : "rgb(") + s.join(",") + ")";
|
|
981
981
|
}
|
|
@@ -1042,7 +1042,7 @@ var { parse: X } = Y, { win: De } = t, Z = class e {
|
|
|
1042
1042
|
let a = t[e], o = n[e], s = [];
|
|
1043
1043
|
for (let e = 0; e < o.length; e++) {
|
|
1044
1044
|
let t = a[e], n = o[e];
|
|
1045
|
-
|
|
1045
|
+
D(t) && D(n) && (o[0] !== "A" || e !== 4 && e !== 5) ? s[e] = t + r * (n - t) : s[e] = n;
|
|
1046
1046
|
}
|
|
1047
1047
|
i.push(s);
|
|
1048
1048
|
}
|
|
@@ -1064,7 +1064,7 @@ var { parse: X } = Y, { win: De } = t, Z = class e {
|
|
|
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?.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,
|
|
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, M(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
|
}
|
|
@@ -1115,7 +1115,7 @@ var { parse: X } = Y, { win: De } = t, Z = class e {
|
|
|
1115
1115
|
}
|
|
1116
1116
|
l === void 0 && (p = []);
|
|
1117
1117
|
}
|
|
1118
|
-
return p.length &&
|
|
1118
|
+
return p.length && D(l) && (u = a.length + l * s, f ? (m(p, a), h(a)) : (m(a, p), h(p))), [p, a];
|
|
1119
1119
|
}
|
|
1120
1120
|
fillSetter() {
|
|
1121
1121
|
e.prototype.strokeSetter.apply(this, arguments);
|
|
@@ -1128,10 +1128,10 @@ 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 = e ?? t.options.chart.animation ?? !0;
|
|
1132
1132
|
}
|
|
1133
1133
|
function Q(e) {
|
|
1134
|
-
return
|
|
1134
|
+
return A(e) ? j({
|
|
1135
1135
|
duration: 500,
|
|
1136
1136
|
defer: 0
|
|
1137
1137
|
}, e) : {
|
|
@@ -1143,25 +1143,25 @@ function ke(e, t, n) {
|
|
|
1143
1143
|
let r = Q(t), i = n ? [n] : e.series, a = 0, o = 0;
|
|
1144
1144
|
return i.forEach((e) => {
|
|
1145
1145
|
let n = Q(e.options.animation);
|
|
1146
|
-
a =
|
|
1146
|
+
a = A(t) && h(t.defer) ? r.defer : Math.max(a, n.duration + n.defer), o = Math.min(r.duration, n.duration);
|
|
1147
1147
|
}), e.renderer.forExport && (a = 0), {
|
|
1148
1148
|
defer: Math.max(0, a - o),
|
|
1149
1149
|
duration: Math.min(a, o)
|
|
1150
1150
|
};
|
|
1151
1151
|
}
|
|
1152
1152
|
function Ae(e, t = { pos: 1 }, n) {
|
|
1153
|
-
|
|
1153
|
+
A(n) || (n = {
|
|
1154
1154
|
duration: arguments[2],
|
|
1155
1155
|
easing: arguments[3],
|
|
1156
1156
|
complete: arguments[4]
|
|
1157
|
-
}),
|
|
1157
|
+
}), D(n.duration) || (n.duration = 400), n.easing = typeof n.easing == "function" ? n.easing : Math[n.easing] || Math.easeInOutSine, n.curAnim = j(t), M(t, (r, i) => {
|
|
1158
1158
|
e && $(e, i);
|
|
1159
|
-
let a = new Z(e, n, i), o = t.d, s =
|
|
1160
|
-
i === "d" &&
|
|
1159
|
+
let a = new Z(e, n, i), o = t.d, s = i === "dashstyle", c = 0, l, u = "";
|
|
1160
|
+
i === "d" && k(o) ? (a.paths = a.initPath(e, e.pathArray, o), a.toD = o, l = 1) : e?.attr ? (c = e.attr(i), s && e.attr(i, r)) : e && (c = +(C(e, i) || 0), i !== "opacity" && (u = "px")), l ||= r, typeof l == "string" && l.match("px") && (l = l.replace(/px/g, "")), h(l) && !s && a.run(c, l, u);
|
|
1161
1161
|
});
|
|
1162
1162
|
}
|
|
1163
1163
|
var $ = (e, t) => Z.timers.forEach((n) => {
|
|
1164
1164
|
n.elem === e && (!t || t === n.prop) && (n.stopped = !0);
|
|
1165
1165
|
});
|
|
1166
1166
|
//#endregion
|
|
1167
|
-
export { le as $, ee as A,
|
|
1167
|
+
export { le as $, ee as A, E as B, m as C, _ as D, v as E, S as F, O as G, ae as H, re as I, M as J, j as K, C as L, x as M, te as N, y as O, ne as P, ce as Q, ie as R, p as S, g as T, D as U, T as V, A as W, P as X, se as Y, N 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, w 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, oe 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, k as z };
|