@adiba-banking-cloud/backoffice 0.0.33 → 0.0.34
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/build/index.cjs.js/index.js +231 -123
- package/build/index.esm.js/index.js +227 -124
- package/build/typings/components/index.d.ts +5 -0
- package/build/typings/components/modals/error/Error.d.ts +4 -0
- package/build/typings/components/modals/error/Error.stories.d.ts +0 -0
- package/build/typings/components/modals/error/Error.types.d.ts +0 -0
- package/build/typings/components/modals/info/Info.d.ts +4 -0
- package/build/typings/components/modals/info/Info.stories.d.ts +0 -0
- package/build/typings/components/modals/info/Info.types.d.ts +0 -0
- package/build/typings/components/modals/simple/Simple.d.ts +4 -0
- package/build/typings/components/modals/simple/Simple.stories.d.ts +0 -0
- package/build/typings/components/modals/simple/Simple.types.d.ts +0 -0
- package/build/typings/components/modals/success/Success.d.ts +4 -0
- package/build/typings/components/modals/success/Success.stories.d.ts +0 -0
- package/build/typings/components/modals/success/Success.types.d.ts +0 -0
- package/build/typings/components/modals/twofactor/Twofactor.d.ts +4 -0
- package/build/typings/components/modals/twofactor/Twofactor.stories.d.ts +0 -0
- package/build/typings/components/modals/twofactor/Twofactor.types.d.ts +0 -0
- package/build/typings/shared/hooks/modals/useManagedModals.d.ts +17 -0
- package/build/typings/shared/hooks/modals/useModal.d.ts +8 -0
- package/package.json +3 -1
|
@@ -65,7 +65,16 @@ function requireHighcharts() {
|
|
|
65
65
|
if (hasRequiredHighcharts) return highcharts$1.exports;
|
|
66
66
|
hasRequiredHighcharts = 1;
|
|
67
67
|
(function (module, exports) {
|
|
68
|
-
!
|
|
68
|
+
!
|
|
69
|
+
/**
|
|
70
|
+
* Highcharts JS v12.3.0 (2025-06-21)
|
|
71
|
+
* @module highcharts/highcharts
|
|
72
|
+
*
|
|
73
|
+
* (c) 2009-2025 Torstein Honsi
|
|
74
|
+
*
|
|
75
|
+
* License: www.highcharts.com/license
|
|
76
|
+
*/
|
|
77
|
+
function (t, e) {
|
|
69
78
|
(t._Highcharts = e(), module.exports = t._Highcharts) ;
|
|
70
79
|
}("undefined" == typeof window ? highcharts : window, () => (() => {
|
|
71
80
|
|
|
@@ -99,7 +108,7 @@ function requireHighcharts() {
|
|
|
99
108
|
v.d(k, {
|
|
100
109
|
default: () => lE
|
|
101
110
|
}), function (t) {
|
|
102
|
-
t.SVG_NS = "http://www.w3.org/2000/svg", t.product = "Highcharts", t.version = "12.
|
|
111
|
+
t.SVG_NS = "http://www.w3.org/2000/svg", t.product = "Highcharts", t.version = "12.3.0", t.win = "undefined" != typeof window ? window : {}, t.doc = t.win.document, t.svg = !!t.doc?.createElementNS?.(t.SVG_NS, "svg")?.createSVGRect, t.pageLang = t.doc?.documentElement?.closest("[lang]")?.lang, t.userAgent = t.win.navigator?.userAgent || "", t.isChrome = t.win.chrome, t.isFirefox = -1 !== t.userAgent.indexOf("Firefox"), t.isMS = /(edge|msie|trident)/i.test(t.userAgent) && !t.win.opera, t.isSafari = !t.isChrome && -1 !== t.userAgent.indexOf("Safari"), t.isTouchDevice = /(Mobile|Android|Windows Phone)/.test(t.userAgent), t.isWebKit = -1 !== t.userAgent.indexOf("AppleWebKit"), t.deg2rad = 2 * Math.PI / 360, t.marginNames = ["plotTop", "marginRight", "marginBottom", "plotLeft"], t.noop = function () {}, t.supportsPassiveEvents = function () {
|
|
103
112
|
let e = false;
|
|
104
113
|
if (!t.isMS) {
|
|
105
114
|
let i = Object.defineProperty({}, "passive", {
|
|
@@ -545,11 +554,12 @@ function requireHighcharts() {
|
|
|
545
554
|
this.dTLCache = {}, this.options = t = ti(true, this.options, t);
|
|
546
555
|
let {
|
|
547
556
|
timezoneOffset: e,
|
|
548
|
-
useUTC: i
|
|
557
|
+
useUTC: i,
|
|
558
|
+
locale: s
|
|
549
559
|
} = t;
|
|
550
560
|
this.Date = t.Date || _.Date || Date;
|
|
551
|
-
let
|
|
552
|
-
q(i) && (
|
|
561
|
+
let o = t.timezone;
|
|
562
|
+
q(i) && (o = i ? "UTC" : void 0), e && e % 60 == 0 && (o = "Etc/GMT" + (e > 0 ? "+" : "") + e / 60), this.variableTimezone = "UTC" !== o && o?.indexOf("Etc/GMT") !== 0, this.timezone = o, this.lang && s && (this.lang.locale = s), ["months", "shortMonths", "weekdays", "shortWeekdays"].forEach(t => {
|
|
553
563
|
let e = /months/i.test(t),
|
|
554
564
|
i = /short/.test(t),
|
|
555
565
|
s = {
|
|
@@ -568,7 +578,7 @@ function requireHighcharts() {
|
|
|
568
578
|
minute: "numeric",
|
|
569
579
|
second: "numeric"
|
|
570
580
|
}, t, "es").split(/(?:, | |\/|:)/g);
|
|
571
|
-
return [o,
|
|
581
|
+
return [o, s - 1, i, r, a, n, Math.floor(Number(t) || 0) % 1e3, "DLMXJVS".indexOf(e)].map(Number);
|
|
572
582
|
}
|
|
573
583
|
dateTimeFormat(t, e, i = this.options.locale || Z) {
|
|
574
584
|
let s = JSON.stringify(t) + i;
|
|
@@ -663,7 +673,7 @@ function requireHighcharts() {
|
|
|
663
673
|
let [e, i, s, o, r = 0] = this.dateTimeFormat({
|
|
664
674
|
timeZoneName: "shortOffset"
|
|
665
675
|
}, t, "en").split(/(GMT|:)/).map(Number),
|
|
666
|
-
a = -(
|
|
676
|
+
a = -(60 * (s + r / 60) * 6e4);
|
|
667
677
|
if (Q(a)) return a;
|
|
668
678
|
}
|
|
669
679
|
return 0;
|
|
@@ -973,6 +983,7 @@ function requireHighcharts() {
|
|
|
973
983
|
y: 0,
|
|
974
984
|
title: {
|
|
975
985
|
style: {
|
|
986
|
+
color: "#333333",
|
|
976
987
|
fontSize: "0.8em",
|
|
977
988
|
fontWeight: "bold"
|
|
978
989
|
}
|
|
@@ -1105,9 +1116,7 @@ function requireHighcharts() {
|
|
|
1105
1116
|
let e = this.rgba;
|
|
1106
1117
|
if (this.stops) this.stops.forEach(function (e) {
|
|
1107
1118
|
e.brighten(t);
|
|
1108
|
-
});else if (tw(t) && 0 !== t)
|
|
1109
|
-
if (tw(e[0])) for (let i = 0; i < 3; i++) e[i] += tT(255 * t), e[i] < 0 && (e[i] = 0), e[i] > 255 && (e[i] = 255);else tL.useColorMix && tP(this.input) && (this.output = tA(this.input, t > 0 ? "white" : "black", Math.abs(t)));
|
|
1110
|
-
}
|
|
1119
|
+
});else if (tw(t) && 0 !== t) if (tw(e[0])) for (let i = 0; i < 3; i++) e[i] += tT(255 * t), e[i] < 0 && (e[i] = 0), e[i] > 255 && (e[i] = 255);else tL.useColorMix && tP(this.input) && (this.output = tA(this.input, t > 0 ? "white" : "black", Math.abs(t)));
|
|
1111
1120
|
return this;
|
|
1112
1121
|
}
|
|
1113
1122
|
setOpacity(t) {
|
|
@@ -1250,19 +1259,15 @@ function requireHighcharts() {
|
|
|
1250
1259
|
}
|
|
1251
1260
|
}
|
|
1252
1261
|
if (s && o && o.length) {
|
|
1253
|
-
for (c = 0; c < s.length; c++) {
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
if (s[s.length - 1] === o[o.length - s.length + c]) {
|
|
1263
|
-
l = s.length - c;
|
|
1264
|
-
break;
|
|
1265
|
-
}
|
|
1262
|
+
for (c = 0; c < s.length; c++) if (s[c] === o[0]) {
|
|
1263
|
+
l = c;
|
|
1264
|
+
break;
|
|
1265
|
+
} else if (s[0] === o[o.length - s.length + c]) {
|
|
1266
|
+
l = c, p = true;
|
|
1267
|
+
break;
|
|
1268
|
+
} else if (s[s.length - 1] === o[o.length - s.length + c]) {
|
|
1269
|
+
l = s.length - c;
|
|
1270
|
+
break;
|
|
1266
1271
|
}
|
|
1267
1272
|
void 0 === l && (g = []);
|
|
1268
1273
|
}
|
|
@@ -1384,18 +1389,16 @@ function requireHighcharts() {
|
|
|
1384
1389
|
r = e.tagName,
|
|
1385
1390
|
a = e.textContent ? w.doc.createTextNode(e.textContent) : void 0,
|
|
1386
1391
|
n = t6.bypassHTMLFiltering;
|
|
1387
|
-
if (r) {
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
});
|
|
1398
|
-
}
|
|
1392
|
+
if (r) if ("#text" === r) o = a;else if (-1 !== t6.allowedTags.indexOf(r) || n) {
|
|
1393
|
+
let s = "svg" === r ? t$ : i.namespaceURI || t$,
|
|
1394
|
+
h = w.doc.createElementNS(s, r),
|
|
1395
|
+
l = e.attributes || {};
|
|
1396
|
+
t0(e, function (t, e) {
|
|
1397
|
+
"tagName" !== e && "attributes" !== e && "children" !== e && "style" !== e && "textContent" !== e && (l[e] = t);
|
|
1398
|
+
}), tZ(h, n ? l : t6.filterUserAttributes(l)), e.style && tq(h, e.style), a && h.appendChild(a), t(e.children || [], h), o = h;
|
|
1399
|
+
} else tK(33, false, void 0, {
|
|
1400
|
+
"Invalid tagName in config": r
|
|
1401
|
+
});
|
|
1399
1402
|
o && i.appendChild(o), s = o;
|
|
1400
1403
|
}), s;
|
|
1401
1404
|
}(this.nodes, t);
|
|
@@ -1437,7 +1440,7 @@ function requireHighcharts() {
|
|
|
1437
1440
|
return [].forEach.call(e.body.childNodes, t => s(t, i)), i;
|
|
1438
1441
|
}
|
|
1439
1442
|
}
|
|
1440
|
-
t6.allowedAttributes = ["alt", "aria-controls", "aria-describedby", "aria-expanded", "aria-haspopup", "aria-hidden", "aria-label", "aria-labelledby", "aria-live", "aria-pressed", "aria-readonly", "aria-roledescription", "aria-selected", "class", "clip-path", "color", "colspan", "cx", "cy", "d", "
|
|
1443
|
+
t6.allowedAttributes = ["alt", "aria-controls", "aria-describedby", "aria-expanded", "aria-haspopup", "aria-hidden", "aria-label", "aria-labelledby", "aria-live", "aria-pressed", "aria-readonly", "aria-roledescription", "aria-selected", "class", "clip-path", "color", "colspan", "cx", "cy", "d", "disabled", "dx", "dy", "fill", "filterUnits", "flood-color", "flood-opacity", "height", "href", "id", "in", "in2", "markerHeight", "markerWidth", "offset", "opacity", "operator", "orient", "padding", "paddingLeft", "paddingRight", "patternUnits", "r", "radius", "refX", "refY", "result", "role", "rowspan", "scope", "slope", "src", "startOffset", "stdDeviation", "stroke-linecap", "stroke-width", "stroke", "style", "summary", "tabindex", "tableValues", "target", "text-align", "text-anchor", "textAnchor", "textLength", "title", "type", "valign", "width", "x", "x1", "x2", "xlink:href", "y", "y1", "y2", "zIndex"], t6.allowedReferences = ["https://", "http://", "mailto:", "/", "../", "./", "#"], t6.allowedTags = ["#text", "a", "abbr", "b", "br", "button", "caption", "circle", "clipPath", "code", "dd", "defs", "div", "dl", "dt", "em", "feComponentTransfer", "feComposite", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feMerge", "feMergeNode", "feMorphology", "feOffset", "filter", "h1", "h2", "h3", "h4", "h5", "h6", "hr", "i", "img", "li", "linearGradient", "marker", "ol", "p", "path", "pattern", "pre", "rect", "small", "span", "stop", "strong", "style", "sub", "sup", "svg", "table", "tbody", "td", "text", "textPath", "th", "thead", "title", "tr", "tspan", "u", "ul"], t6.emptyHTML = t5, t6.bypassHTMLFiltering = false;
|
|
1441
1444
|
let {
|
|
1442
1445
|
defaultOptions: t9,
|
|
1443
1446
|
defaultTime: t4
|
|
@@ -1490,7 +1493,7 @@ function requireHighcharts() {
|
|
|
1490
1493
|
n = /\.(\d)/,
|
|
1491
1494
|
h = i?.options?.lang || t9.lang,
|
|
1492
1495
|
l = i?.time || t4,
|
|
1493
|
-
d = i?.numberFormatter || ec,
|
|
1496
|
+
d = i?.numberFormatter || ec.bind(i),
|
|
1494
1497
|
c = (t = "") => {
|
|
1495
1498
|
let i;
|
|
1496
1499
|
return "true" === t || "false" !== t && ((i = Number(t)).toString() === t ? i : el(t) ? t.slice(1, -1) : et(t, e));
|
|
@@ -1545,13 +1548,14 @@ function requireHighcharts() {
|
|
|
1545
1548
|
for (p = en[m].length; p--;) t.unshift(c(o[p + 1]));
|
|
1546
1549
|
r = en[m].apply(e, t), s.isBlock && "boolean" == typeof r && (r = ed(r ? g : u, e, i));
|
|
1547
1550
|
} else {
|
|
1548
|
-
let t = el(f) ? [f] : f.split(":")
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1551
|
+
let t = el(f) ? [f] : f.split(":"),
|
|
1552
|
+
e = (r = c(t.shift() || "")) % 1 != 0;
|
|
1553
|
+
if ("number" == typeof r && (t.length || e)) {
|
|
1554
|
+
let i = t.join(":");
|
|
1555
|
+
if (a.test(i) || e) {
|
|
1556
|
+
let t = parseInt((i.match(n) || ["", "-1"])[1], 10);
|
|
1557
|
+
null !== r && (r = d(r, t, h.decimalPoint, i.indexOf(",") > -1 ? h.thousandsSep : ""));
|
|
1558
|
+
} else r = l.dateFormat(i, r);
|
|
1555
1559
|
}
|
|
1556
1560
|
o.lastIndex = 0, o.test(s.find) && eo(r) && (r = `"${r}"`);
|
|
1557
1561
|
}
|
|
@@ -2609,7 +2613,7 @@ function requireHighcharts() {
|
|
|
2609
2613
|
class: "highcharts-root"
|
|
2610
2614
|
}),
|
|
2611
2615
|
d = l.element;
|
|
2612
|
-
a || l.css(this.getStyle(s || {})), t.appendChild(d), iL(t, "dir", "ltr"), -1 === t.innerHTML.indexOf("xmlns") && iL(d, "xmlns", this.SVG_NS), this.box = d, this.boxWrapper = l, this.alignedObjects = [], this.url = this.getReferenceURL(), this.createElement("desc").add().element.appendChild(iv.createTextNode("Created with Highcharts 12.
|
|
2616
|
+
a || l.css(this.getStyle(s || {})), t.appendChild(d), iL(t, "dir", "ltr"), -1 === t.innerHTML.indexOf("xmlns") && iL(d, "xmlns", this.SVG_NS), this.box = d, this.boxWrapper = l, this.alignedObjects = [], this.url = this.getReferenceURL(), this.createElement("desc").add().element.appendChild(iv.createTextNode("Created with Highcharts 12.3.0")), this.defs = this.createElement("defs").add(), this.allowHTML = r, this.forExport = o, this.styledMode = a, this.gradients = {}, this.cache = {}, this.cacheKeys = [], this.imgCount = 0, this.rootFontSize = l.getStyle("font-size"), this.setSize(e, i, false), ik && t.getBoundingClientRect && ((n = function () {
|
|
2613
2617
|
iI(t, {
|
|
2614
2618
|
left: 0,
|
|
2615
2619
|
top: 0
|
|
@@ -2731,6 +2735,7 @@ function requireHighcharts() {
|
|
|
2731
2735
|
new im(t).buildSVG();
|
|
2732
2736
|
}
|
|
2733
2737
|
getContrast(t) {
|
|
2738
|
+
if ("transparent" === t) return "#000000";
|
|
2734
2739
|
let e = tL.parse(t).rgba,
|
|
2735
2740
|
i = " clamp(0,calc(9e9*(0.5 - (0.2126*r + 0.7152*g + 0.0722*b))),1)";
|
|
2736
2741
|
if (iR(e[0]) || !tL.useColorMix) {
|
|
@@ -3014,8 +3019,8 @@ function requireHighcharts() {
|
|
|
3014
3019
|
pushUnique: i2
|
|
3015
3020
|
} = V;
|
|
3016
3021
|
function i3(t, e, i) {
|
|
3017
|
-
let s = this.div?.style
|
|
3018
|
-
eJ.prototype[`${e}Setter`].call(this, t, e, i), s && (s[e] = t);
|
|
3022
|
+
let s = this.div?.style;
|
|
3023
|
+
eJ.prototype[`${e}Setter`].call(this, t, e, i), s && (i.style[e] = s[e] = t);
|
|
3019
3024
|
}
|
|
3020
3025
|
let i5 = (t, e) => {
|
|
3021
3026
|
if (!t.div) {
|
|
@@ -3036,6 +3041,8 @@ function requireHighcharts() {
|
|
|
3036
3041
|
i.setAttribute("class", t), o.className = t;
|
|
3037
3042
|
}, t.translateXSetter = t.translateYSetter = (e, i) => {
|
|
3038
3043
|
t[i] = e, o.style["translateX" === i ? "left" : "top"] = `${e}px`, t.doTransform = true;
|
|
3044
|
+
}, t.scaleXSetter = t.scaleYSetter = (e, i) => {
|
|
3045
|
+
t[i] = e, t.doTransform = true;
|
|
3039
3046
|
}, t.opacitySetter = t.visibilitySetter = i3, t.css = e => (s.call(t, e), e.cursor && (o.style.cursor = e.cursor), e.pointerEvents && (o.style.pointerEvents = e.pointerEvents), t), t.on = function () {
|
|
3040
3047
|
return eJ.prototype.on.apply({
|
|
3041
3048
|
element: o,
|
|
@@ -3390,7 +3397,7 @@ function requireHighcharts() {
|
|
|
3390
3397
|
m,
|
|
3391
3398
|
x,
|
|
3392
3399
|
y = this.parameters.category || (o ? su(o[n], a[n], n) : n);
|
|
3393
|
-
r && sc(y) && (y = sr(r.lin2log(y))), e.dateTime && (g ? f = (m = s.time.resolveDTLFormat(i.dateTimeLabelFormats[!i.grid && g.higherRanks[n] || g.unitName])).main : sc(y) && (f = e.dateTime.getXDateFormat(y, i.dateTimeLabelFormats || {}))), t.isFirst = d, t.isLast = c;
|
|
3400
|
+
r && sc(y) && (y = sr(r.lin2log(y))), e.dateTime && (g ? f = (m = s.time.resolveDTLFormat(i.dateTimeLabelFormats[!i.grid?.enabled && g.higherRanks[n] || g.unitName])).main : sc(y) && (f = e.dateTime.getXDateFormat(y, i.dateTimeLabelFormats || {}))), t.isFirst = d, t.isLast = c;
|
|
3394
3401
|
let b = {
|
|
3395
3402
|
axis: e,
|
|
3396
3403
|
chart: s,
|
|
@@ -3557,7 +3564,7 @@ function requireHighcharts() {
|
|
|
3557
3564
|
d = s["minor" !== r ? "tickColor" : "minorTickColor"],
|
|
3558
3565
|
c = this.mark,
|
|
3559
3566
|
p = !c;
|
|
3560
|
-
a && (i.opposite && (a[0] = -a[0]), c
|
|
3567
|
+
a && (i.opposite && (a[0] = -a[0]), !c && (this.mark = c = o.path().addClass("highcharts-" + (r ? r + "-" : "") + "tick").add(i.axisGroup), i.chart.styledMode || c.attr({
|
|
3561
3568
|
stroke: d,
|
|
3562
3569
|
"stroke-width": l
|
|
3563
3570
|
})), c[p ? "attr" : "animate"]({
|
|
@@ -3909,7 +3916,7 @@ function requireHighcharts() {
|
|
|
3909
3916
|
A,
|
|
3910
3917
|
P;
|
|
3911
3918
|
if (r || e || y || this.getTickAmount(), A = sF(this.userMin, d.parse(h.min)), P = sF(this.userMax, d.parse(h.max)), y ? (this.linkedParent = y, M = y.getExtremes(), this.min = sF(M.min, M.dataMin), this.max = sF(M.max, M.dataMax), this.type !== y.type && sL(11, true, i)) : (l && sC(c) && sN(s) && sN(o) && (o >= c ? (T = c, k = 0) : s <= c && (C = c, v = 0)), this.min = sF(A, T, o), this.max = sF(P, C, s)), sN(this.max) && sN(this.min) && (n && (this.positiveValuesOnly && !t && 0 >= Math.min(this.min, sF(o, this.min)) && sL(10, true, i), this.min = sT(n.log2lin(this.min), 16), this.max = sT(n.log2lin(this.max), 16)), this.range && sN(o) && (this.userMin = this.min = A = Math.max(o, this.minFromRange() || 0), this.userMax = P = this.max, this.range = void 0)), sE(this, "foundExtremes"), this.adjustForMinRange(), sN(this.min) && sN(this.max)) {
|
|
3912
|
-
if (!sN(this.userMin) && sN(x) && x < this.min && (this.min = A = x), !sN(this.userMax) && sN(m) && m > this.max && (this.max = P = m), e || this.axisPointRange || this.stacking?.usePercentage || y ||
|
|
3919
|
+
if (!sN(this.userMin) && sN(x) && x < this.min && (this.min = A = x), !sN(this.userMax) && sN(m) && m > this.max && (this.max = P = m), e || this.axisPointRange || this.stacking?.usePercentage || y || (w = this.max - this.min) && (!sC(A) && k && (this.min -= w * k), !sC(P) && v && (this.max += w * v)), !sN(this.userMin) && sN(u) && (this.min = Math.max(this.min, u)), !sN(this.userMax) && sN(g) && (this.max = Math.min(this.max, g)), l && sN(o) && sN(s)) {
|
|
3913
3920
|
let t = c || 0;
|
|
3914
3921
|
!sC(A) && this.min < t && o >= t ? this.min = h.minRange ? Math.min(t, this.max - p) : t : !sC(P) && this.max > t && s <= t && (this.max = h.minRange ? Math.max(t, this.min + p) : t);
|
|
3915
3922
|
}
|
|
@@ -4153,7 +4160,7 @@ function requireHighcharts() {
|
|
|
4153
4160
|
let e = this.chart,
|
|
4154
4161
|
i = this.horiz,
|
|
4155
4162
|
s = this.options.labels,
|
|
4156
|
-
o = Math.max(this.tickPositions.length -
|
|
4163
|
+
o = Math.max(this.tickPositions.length - !this.categories, 1),
|
|
4157
4164
|
r = e.margin[3];
|
|
4158
4165
|
if (t && sN(t.slotWidth)) return t.slotWidth;
|
|
4159
4166
|
if (i && s.step < 2 && !this.isRadial) return s.rotation ? 0 : (this.staggerLines || 1) * this.len / o;
|
|
@@ -4299,7 +4306,7 @@ function requireHighcharts() {
|
|
|
4299
4306
|
return i && (t *= -1), e.renderer.crispLine([["M", o ? this.left : r, o ? a : this.top], ["L", o ? e.chartWidth - this.right : r, o ? a : e.chartHeight - this.bottom]], t);
|
|
4300
4307
|
}
|
|
4301
4308
|
renderLine() {
|
|
4302
|
-
this.axisLine
|
|
4309
|
+
!this.axisLine && (this.axisLine = this.chart.renderer.path().addClass("highcharts-axis-line").add(this.axisGroup), this.chart.styledMode || this.axisLine.attr({
|
|
4303
4310
|
stroke: this.options.lineColor,
|
|
4304
4311
|
"stroke-width": this.options.lineWidth,
|
|
4305
4312
|
zIndex: 7
|
|
@@ -4461,10 +4468,7 @@ function requireHighcharts() {
|
|
|
4461
4468
|
chartX: t?.chartX,
|
|
4462
4469
|
chartY: t?.chartY,
|
|
4463
4470
|
point: e
|
|
4464
|
-
}), r = this.getPlotLinePath(l) || null), !sC(r))
|
|
4465
|
-
this.hideCrosshair();
|
|
4466
|
-
return;
|
|
4467
|
-
}
|
|
4471
|
+
}), r = this.getPlotLinePath(l) || null), !sC(r)) return void this.hideCrosshair();
|
|
4468
4472
|
n = this.categories && !this.isRadial, h || (this.cross = h = o.renderer.path().addClass("highcharts-crosshair highcharts-crosshair-" + (n ? "category " : "thin ") + (i.className || "")).attr({
|
|
4469
4473
|
zIndex: sF(i.zIndex, 2)
|
|
4470
4474
|
}).add(), !o.styledMode && (h.attr({
|
|
@@ -4811,6 +4815,7 @@ function requireHighcharts() {
|
|
|
4811
4815
|
class: "highcharts-plot-" + (i ? "band" : "line") + "-label " + (t.className || ""),
|
|
4812
4816
|
zIndex: s
|
|
4813
4817
|
}), o.chart.styledMode || n.css(os({
|
|
4818
|
+
color: o.chart.options.title?.style.color,
|
|
4814
4819
|
fontSize: "0.8em",
|
|
4815
4820
|
textOverflow: i && !a ? "" : "ellipsis"
|
|
4816
4821
|
}, t.style)), n.add());
|
|
@@ -4910,7 +4915,11 @@ function requireHighcharts() {
|
|
|
4910
4915
|
e && (s += e[0], o += e[1]);
|
|
4911
4916
|
}), s /= t.length, o /= t.length, this.shared && t.length > 1 && e && (r ? s = e.chartX : o = e.chartY), i = [s - n, o - a];
|
|
4912
4917
|
}
|
|
4913
|
-
|
|
4918
|
+
let h = {
|
|
4919
|
+
point: t[0],
|
|
4920
|
+
ret: i
|
|
4921
|
+
};
|
|
4922
|
+
return ob(this, "getAnchor", h), h.ret.map(Math.round);
|
|
4914
4923
|
}
|
|
4915
4924
|
getClassName(t, e, i) {
|
|
4916
4925
|
let s = this.options,
|
|
@@ -5119,7 +5128,8 @@ function requireHighcharts() {
|
|
|
5119
5128
|
if (this.split && this.allowShared) this.renderSplit(f, a);else {
|
|
5120
5129
|
let t = g,
|
|
5121
5130
|
r = u;
|
|
5122
|
-
if (e && o.isDirectTouch && (t = e.chartX - i.plotLeft, r = e.chartY - i.plotTop), i.polar || false === m.options.clip || a.some(e => o.isDirectTouch || e.series.shouldShowTooltip(t, r)))
|
|
5131
|
+
if (e && o.isDirectTouch && (t = e.chartX - i.plotLeft, r = e.chartY - i.plotTop), !(i.polar || false === m.options.clip || a.some(e => o.isDirectTouch || e.series.shouldShowTooltip(t, r)))) return void this.hide();
|
|
5132
|
+
{
|
|
5123
5133
|
let t = this.getLabel(c && this.tt || {});
|
|
5124
5134
|
(!s.style.width || d) && t.css({
|
|
5125
5135
|
width: (this.outside ? this.getPlayingField() : i.spacingBox).width + "px"
|
|
@@ -5138,9 +5148,6 @@ function requireHighcharts() {
|
|
|
5138
5148
|
series: m,
|
|
5139
5149
|
h: p[2] || 0
|
|
5140
5150
|
});
|
|
5141
|
-
} else {
|
|
5142
|
-
this.hide();
|
|
5143
|
-
return;
|
|
5144
5151
|
}
|
|
5145
5152
|
}
|
|
5146
5153
|
this.isHidden && this.label && this.label.attr({
|
|
@@ -5562,7 +5569,7 @@ function requireHighcharts() {
|
|
|
5562
5569
|
}), r;
|
|
5563
5570
|
}
|
|
5564
5571
|
getNestedProperty(t) {
|
|
5565
|
-
|
|
5572
|
+
if (t) return 0 === t.indexOf("custom.") ? oF(t, this.options) : this[t];
|
|
5566
5573
|
}
|
|
5567
5574
|
getZone() {
|
|
5568
5575
|
let t = this.series,
|
|
@@ -5851,7 +5858,7 @@ function requireHighcharts() {
|
|
|
5851
5858
|
shapeType: r,
|
|
5852
5859
|
attrs: l
|
|
5853
5860
|
} = this.getSelectionMarkerAttrs(g, u);
|
|
5854
|
-
|
|
5861
|
+
this.hasZoom && f && !p && !m && (this.selectionMarker = m = e.renderer[r](), m.attr({
|
|
5855
5862
|
class: "highcharts-selection-marker",
|
|
5856
5863
|
zIndex: 7
|
|
5857
5864
|
}).add(), e.styledMode || m.attr({
|
|
@@ -6059,7 +6066,7 @@ function requireHighcharts() {
|
|
|
6059
6066
|
let e = this.chart,
|
|
6060
6067
|
i = e.tooltip,
|
|
6061
6068
|
s = this.normalize(t);
|
|
6062
|
-
this.setHoverChartIndex(t), ("mousedown" === e.mouseIsDown || this.touchSelect(s)) && this.drag(s), !e.openMenu && (this.inClass(s.target, "highcharts-tracker") || e.isInsidePlot(s.chartX - e.plotLeft, s.chartY - e.plotTop, {
|
|
6069
|
+
this.setHoverChartIndex(t), ("mousedown" === e.mouseIsDown || this.touchSelect(s)) && this.drag(s), !e.exporting?.openMenu && (this.inClass(s.target, "highcharts-tracker") || e.isInsidePlot(s.chartX - e.plotLeft, s.chartY - e.plotTop, {
|
|
6063
6070
|
visiblePlotOnly: true
|
|
6064
6071
|
})) && !i?.shouldStickOnContact(s) && (this.inClass(s.target, "highcharts-no-tooltip") ? this.reset(false, 0) : this.runPointActions(s));
|
|
6065
6072
|
}
|
|
@@ -6171,7 +6178,7 @@ function requireHighcharts() {
|
|
|
6171
6178
|
this.unDocMouseMove || (this.unDocMouseMove = o2(s.container.ownerDocument, "mousemove", t => oQ[rr.hoverChartIndex ?? -1]?.pointer?.onDocumentMouseMove(t)), this.eventsToUnbind.push(this.unDocMouseMove)), s.axes.forEach(function (e) {
|
|
6172
6179
|
let i,
|
|
6173
6180
|
o = e.crosshair?.snap ?? true;
|
|
6174
|
-
|
|
6181
|
+
o && ((i = s.hoverPoint) && i.series[e.coll] === e || (i = o9(c, t => t.series?.[e.coll] === e))), i || !o ? e.drawCrosshair(t, i) : e.hideCrosshair();
|
|
6175
6182
|
});
|
|
6176
6183
|
}
|
|
6177
6184
|
setDOMEvents() {
|
|
@@ -6228,7 +6235,7 @@ function requireHighcharts() {
|
|
|
6228
6235
|
} = this;
|
|
6229
6236
|
this.setHoverChartIndex(), 1 === (t = this.normalize(t)).touches.length ? s.isInsidePlot(t.chartX - s.plotLeft, t.chartY - s.plotTop, {
|
|
6230
6237
|
visiblePlotOnly: true
|
|
6231
|
-
}) && !s.openMenu ? (e && this.runPointActions(t), "touchmove" === t.type && (i = !!o[0] && Math.pow(o[0].chartX - t.chartX, 2) + Math.pow(o[0].chartY - t.chartY, 2) >= 16), ri(i, true) && this.pinch(t)) : e && this.reset() : 2 === t.touches.length && this.pinch(t);
|
|
6238
|
+
}) && !s.exporting?.openMenu ? (e && this.runPointActions(t), "touchmove" === t.type && (i = !!o[0] && Math.pow(o[0].chartX - t.chartX, 2) + Math.pow(o[0].chartY - t.chartY, 2) >= 16), ri(i, true) && this.pinch(t)) : e && this.reset() : 2 === t.touches.length && this.pinch(t);
|
|
6232
6239
|
}
|
|
6233
6240
|
touchSelect(t) {
|
|
6234
6241
|
return !!(this.chart.zooming.singleTouch && t.touches && 1 === t.touches.length);
|
|
@@ -6358,7 +6365,7 @@ function requireHighcharts() {
|
|
|
6358
6365
|
f,
|
|
6359
6366
|
m = r.marker,
|
|
6360
6367
|
x = 0;
|
|
6361
|
-
if (o.styledMode || (u["stroke-width"] = Math.min(r.lineWidth || 0, 24), r.dashStyle ? u.dashstyle = r.dashStyle : "square"
|
|
6368
|
+
if (o.styledMode || (u["stroke-width"] = Math.min(r.lineWidth || 0, 24), r.dashStyle ? u.dashstyle = r.dashStyle : "square" !== r.linecap && (u["stroke-linecap"] = "round")), s.line = c.path().addClass("highcharts-graph").attr(u).add(p), i && (s.area = c.path().addClass("highcharts-area").add(p)), u["stroke-linecap"] && (x = Math.min(s.line.strokeWidth(), n) / 2), n) {
|
|
6362
6369
|
let t = [["M", x, g], ["L", n - x, g]];
|
|
6363
6370
|
s.line.attr({
|
|
6364
6371
|
d: t
|
|
@@ -6670,7 +6677,7 @@ function requireHighcharts() {
|
|
|
6670
6677
|
let k = (t = v || t || []).length;
|
|
6671
6678
|
if (h?.enabled && (t = this.sortData(t)), n.options.chart.allowMutatingData && false !== s && k && r && !this.cropped && !this.hasGroupedData && this.visible && !this.boosted && (x = this.updateData(t, i)), !x) {
|
|
6672
6679
|
this.xIncrement = null, this.colorCounter = 0;
|
|
6673
|
-
let e = d && k > d;
|
|
6680
|
+
let e = d && !a.relativeXValue && k > d;
|
|
6674
6681
|
if (e) {
|
|
6675
6682
|
let i = this.getFirstValidPoint(t),
|
|
6676
6683
|
s = this.getFirstValidPoint(t, k - 1, -1),
|
|
@@ -6928,9 +6935,9 @@ function requireHighcharts() {
|
|
|
6928
6935
|
plotX: o,
|
|
6929
6936
|
plotY: r
|
|
6930
6937
|
} = t;
|
|
6931
|
-
return !!
|
|
6938
|
+
return (!!i || !t.isNull && !!rV(r)) && (!e || !!s.isInsidePlot(o, r, {
|
|
6932
6939
|
inverted: s.inverted
|
|
6933
|
-
}))
|
|
6940
|
+
})) && false !== t.visible;
|
|
6934
6941
|
});
|
|
6935
6942
|
}
|
|
6936
6943
|
getSharedClipKey() {
|
|
@@ -7166,14 +7173,27 @@ function requireHighcharts() {
|
|
|
7166
7173
|
i = this.yAxis,
|
|
7167
7174
|
s = this.chart,
|
|
7168
7175
|
o = s.inverted && !s.polar && e && this.invertible && "series" === t;
|
|
7169
|
-
|
|
7176
|
+
s.inverted && (e = i, i = this.xAxis);
|
|
7177
|
+
let r = {
|
|
7178
|
+
scale: 1,
|
|
7170
7179
|
translateX: e ? e.left : s.plotLeft,
|
|
7171
7180
|
translateY: i ? i.top : s.plotTop,
|
|
7181
|
+
name: t
|
|
7182
|
+
};
|
|
7183
|
+
rG(this, "getPlotBox", r);
|
|
7184
|
+
let {
|
|
7185
|
+
scale: a,
|
|
7186
|
+
translateX: n,
|
|
7187
|
+
translateY: h
|
|
7188
|
+
} = r;
|
|
7189
|
+
return {
|
|
7190
|
+
translateX: n,
|
|
7191
|
+
translateY: h,
|
|
7172
7192
|
rotation: 90 * !!o,
|
|
7173
|
-
rotationOriginX: o ? (e.len - i.len) / 2 : 0,
|
|
7174
|
-
rotationOriginY: o ? (e.len + i.len) / 2 : 0,
|
|
7175
|
-
scaleX: o ? -
|
|
7176
|
-
scaleY:
|
|
7193
|
+
rotationOriginX: o ? a * (e.len - i.len) / 2 : 0,
|
|
7194
|
+
rotationOriginY: o ? a * (e.len + i.len) / 2 : 0,
|
|
7195
|
+
scaleX: o ? -a : a,
|
|
7196
|
+
scaleY: a
|
|
7177
7197
|
};
|
|
7178
7198
|
}
|
|
7179
7199
|
removeEvents(t) {
|
|
@@ -7405,12 +7425,10 @@ function requireHighcharts() {
|
|
|
7405
7425
|
});
|
|
7406
7426
|
let f = false;
|
|
7407
7427
|
if (rP[g]) {
|
|
7408
|
-
if (f = g !== i.type, i.remove(false, false, false, true), f) {
|
|
7409
|
-
|
|
7410
|
-
|
|
7411
|
-
|
|
7412
|
-
rF(i, rP[g].prototype), t ? i.hcEvents = t : delete i.hcEvents;
|
|
7413
|
-
}
|
|
7428
|
+
if (f = g !== i.type, i.remove(false, false, false, true), f) if (s.propFromSeries(), Object.setPrototypeOf) Object.setPrototypeOf(i, rP[g].prototype);else {
|
|
7429
|
+
let t = Object.hasOwnProperty.call(i, "hcEvents") && i.hcEvents;
|
|
7430
|
+
for (c in n) i[c] = void 0;
|
|
7431
|
+
rF(i, rP[g].prototype), t ? i.hcEvents = t : delete i.hcEvents;
|
|
7414
7432
|
}
|
|
7415
7433
|
} else rH(17, true, s, {
|
|
7416
7434
|
missingModuleFor: g
|
|
@@ -8416,7 +8434,7 @@ function requireHighcharts() {
|
|
|
8416
8434
|
let l = aL("div", {
|
|
8417
8435
|
id: o
|
|
8418
8436
|
}, t, r);
|
|
8419
|
-
this.container = l, this.getChartSize(), h
|
|
8437
|
+
this.container = l, this.getChartSize(), h !== this.chartWidth && (h = this.chartWidth, this.styledMode || aO(l, {
|
|
8420
8438
|
width: aV(i.style?.width, h + "px")
|
|
8421
8439
|
})), this.containerBox = this.getContainerBox(), this._cursor = l.style.cursor;
|
|
8422
8440
|
let d = i.renderer || !aS ? eg.getRendererType(i.renderer) : iU;
|
|
@@ -8452,7 +8470,7 @@ function requireHighcharts() {
|
|
|
8452
8470
|
let e = this,
|
|
8453
8471
|
i = e.containerBox,
|
|
8454
8472
|
s = e.getContainerBox();
|
|
8455
|
-
delete e.pointer?.chartPosition, !e.isPrinting && !e.isResizing && i && s.width && ((s.width !== i.width || s.height !== i.height) && (V.clearTimeout(e.reflowTimeout), e.reflowTimeout = aJ(function () {
|
|
8473
|
+
delete e.pointer?.chartPosition, !e.exporting?.isPrinting && !e.isResizing && i && s.width && ((s.width !== i.width || s.height !== i.height) && (V.clearTimeout(e.reflowTimeout), e.reflowTimeout = aJ(function () {
|
|
8456
8474
|
e.container && e.setSize(void 0, void 0, false);
|
|
8457
8475
|
}, 100 * !!t)), e.containerBox = s);
|
|
8458
8476
|
}
|
|
@@ -8656,7 +8674,9 @@ function requireHighcharts() {
|
|
|
8656
8674
|
}
|
|
8657
8675
|
this.drawChartBox(), this.hasCartesianSeries ? o(t) : e?.length && o(e), this.seriesGroup || (this.seriesGroup = i.g("series-group").attr({
|
|
8658
8676
|
zIndex: 3
|
|
8659
|
-
}).shadow(this.options.chart.seriesGroupShadow).add()), this.
|
|
8677
|
+
}).shadow(this.options.chart.seriesGroupShadow).add()), this.dataLabelsGroup || (this.dataLabelsGroup = i.g("datalabels-group").attr({
|
|
8678
|
+
zIndex: 6
|
|
8679
|
+
}).add()), this.renderSeries(), this.addCredits(), this.setResponsive && this.setResponsive(), this.hasRendered = true;
|
|
8660
8680
|
}
|
|
8661
8681
|
addCredits(t) {
|
|
8662
8682
|
let e = this,
|
|
@@ -8704,7 +8724,7 @@ function requireHighcharts() {
|
|
|
8704
8724
|
options: t,
|
|
8705
8725
|
title: e
|
|
8706
8726
|
} = this;
|
|
8707
|
-
|
|
8727
|
+
t && !this.accessibility && (this.renderer.boxWrapper.attr({
|
|
8708
8728
|
role: "img",
|
|
8709
8729
|
"aria-label": (e?.element.textContent || "").replace(/</g, "<")
|
|
8710
8730
|
}), t.accessibility && false === t.accessibility.enabled || aN('Highcharts warning: Consider including the "accessibility.js" module to make your chart more usable for people with disabilities. Set the "accessibility.enabled" option to false to remove this warning. See https://www.highcharts.com/docs/accessibility/accessibility-module.', false, this));
|
|
@@ -8756,7 +8776,7 @@ function requireHighcharts() {
|
|
|
8756
8776
|
className: "highcharts-loading highcharts-loading-hidden"
|
|
8757
8777
|
}, null, e.container)), a || (e.loadingSpan = a = aL("span", {
|
|
8758
8778
|
className: "highcharts-loading-inner"
|
|
8759
|
-
}, null, r), aA(e, "redraw", o)), r.className = "highcharts-loading", t6.setElementHTML(a, aV(t, i.lang.loading, "")), e.styledMode
|
|
8779
|
+
}, null, r), aA(e, "redraw", o)), r.className = "highcharts-loading", t6.setElementHTML(a, aV(t, i.lang.loading, "")), !e.styledMode && (aO(r, az(s.style, {
|
|
8760
8780
|
zIndex: 10
|
|
8761
8781
|
})), aO(a, s.labelStyle), e.loadingShown || (aO(r, {
|
|
8762
8782
|
opacity: 0,
|
|
@@ -8799,7 +8819,7 @@ function requireHighcharts() {
|
|
|
8799
8819
|
}), l || n.setResponsive(false, true), t = aI(t, n.options), n.userOptions = aU(n.userOptions, t);
|
|
8800
8820
|
let c = t.chart;
|
|
8801
8821
|
c && (aU(true, n.options.chart, c), this.setZoomOptions(), "className" in c && n.setClassName(c.className), ("inverted" in c || "polar" in c || "type" in c) && (n.propFromSeries(), o = true), "alignTicks" in c && (o = true), "events" in c && av(this, c), a$(c, function (t, e) {
|
|
8802
|
-
-1 !== n.propsRequireUpdateSeries.indexOf("chart." + e) && (r = true), -1 !== n.propsRequireDirtyBox.indexOf(e) && (n.isDirtyBox = true), -1
|
|
8822
|
+
-1 !== n.propsRequireUpdateSeries.indexOf("chart." + e) && (r = true), -1 !== n.propsRequireDirtyBox.indexOf(e) && (n.isDirtyBox = true), -1 !== n.propsRequireReflow.indexOf(e) && (n.isDirtyBox = true, l || (a = true));
|
|
8803
8823
|
}), !n.styledMode && c.style && n.renderer.setStyle(n.options.chart.style || {})), !n.styledMode && t.colors && (this.options.colors = t.colors), a$(t, function (e, i) {
|
|
8804
8824
|
n[i] && "function" == typeof n[i].update ? n[i].update(e, false) : "function" == typeof n[h[i]] ? n[h[i]](e) : "colors" !== i && -1 === n.collectionsWithUpdate.indexOf(i) && aU(true, n.options[i], t[i]), "chart" !== i && -1 !== n.propsRequireUpdateSeries.indexOf(i) && (r = true);
|
|
8805
8825
|
}), this.collectionsWithUpdate.forEach(function (e) {
|
|
@@ -8897,11 +8917,12 @@ function requireHighcharts() {
|
|
|
8897
8917
|
{
|
|
8898
8918
|
inverted: h,
|
|
8899
8919
|
time: l
|
|
8900
|
-
} = this
|
|
8901
|
-
|
|
8920
|
+
} = this;
|
|
8921
|
+
this.hoverPoints?.forEach(t => t.setState()), aW(this, "transform", t);
|
|
8922
|
+
let d = t.hasZoomed || false,
|
|
8902
8923
|
c,
|
|
8903
8924
|
p;
|
|
8904
|
-
for (let t of
|
|
8925
|
+
for (let t of e) {
|
|
8905
8926
|
let {
|
|
8906
8927
|
horiz: e,
|
|
8907
8928
|
len: g,
|
|
@@ -8918,45 +8939,52 @@ function requireHighcharts() {
|
|
|
8918
8939
|
M = w - ((a[y] ?? t.pos) + b / 2 - t.pos) / k,
|
|
8919
8940
|
S = m && !h || !m && h ? -1 : 1;
|
|
8920
8941
|
if (!o && (w < 0 || w > t.len)) continue;
|
|
8921
|
-
let T = t.
|
|
8922
|
-
C = t.toValue(M
|
|
8923
|
-
A = t.
|
|
8924
|
-
|
|
8942
|
+
let T = t.chart.polar || t.isOrdinal ? 0 : u * S || 0,
|
|
8943
|
+
C = t.toValue(M, true),
|
|
8944
|
+
A = t.toValue(M + g / k, true),
|
|
8945
|
+
P = C + T,
|
|
8946
|
+
L = A - T,
|
|
8947
|
+
O = t.allExtremes;
|
|
8948
|
+
if (r && r[t.coll].push({
|
|
8949
|
+
axis: t,
|
|
8950
|
+
min: Math.min(C, A),
|
|
8951
|
+
max: Math.max(C, A)
|
|
8952
|
+
}), P > L && ([P, L] = [L, P]), 1 === k && !o && "yAxis" === t.coll && !O) {
|
|
8925
8953
|
for (let e of t.series) {
|
|
8926
8954
|
let t = e.getExtremes(e.getProcessedData(true).modified.getColumn("y") || [], true);
|
|
8927
|
-
|
|
8955
|
+
O ?? (O = {
|
|
8928
8956
|
dataMin: Number.MAX_VALUE,
|
|
8929
8957
|
dataMax: -Number.MAX_VALUE
|
|
8930
|
-
}), aG(t.dataMin) && aG(t.dataMax) && (
|
|
8958
|
+
}), aG(t.dataMin) && aG(t.dataMax) && (O.dataMin = Math.min(t.dataMin, O.dataMin), O.dataMax = Math.max(t.dataMax, O.dataMax));
|
|
8931
8959
|
}
|
|
8932
|
-
t.allExtremes =
|
|
8960
|
+
t.allExtremes = O;
|
|
8933
8961
|
}
|
|
8934
8962
|
let {
|
|
8935
|
-
dataMin:
|
|
8936
|
-
dataMax:
|
|
8937
|
-
min:
|
|
8938
|
-
max:
|
|
8939
|
-
} = az(t.getExtremes(),
|
|
8940
|
-
|
|
8941
|
-
|
|
8942
|
-
|
|
8943
|
-
|
|
8944
|
-
|
|
8945
|
-
|
|
8946
|
-
|
|
8947
|
-
|
|
8948
|
-
|
|
8949
|
-
|
|
8950
|
-
|
|
8951
|
-
(!t.isOrdinal ||
|
|
8963
|
+
dataMin: E,
|
|
8964
|
+
dataMax: I,
|
|
8965
|
+
min: D,
|
|
8966
|
+
max: B
|
|
8967
|
+
} = az(t.getExtremes(), O || {}),
|
|
8968
|
+
N = l.parse(f.min),
|
|
8969
|
+
z = l.parse(f.max),
|
|
8970
|
+
R = E ?? N,
|
|
8971
|
+
W = I ?? z,
|
|
8972
|
+
H = L - P,
|
|
8973
|
+
F = t.categories ? 0 : Math.min(H, W - R),
|
|
8974
|
+
X = R - F * (aE(N) ? 0 : f.minPadding),
|
|
8975
|
+
G = W + F * (aE(z) ? 0 : f.maxPadding),
|
|
8976
|
+
j = t.allowZoomOutside || 1 === k || "zoom" !== n && k > 1,
|
|
8977
|
+
Y = Math.min(N ?? X, X, j ? D : X),
|
|
8978
|
+
U = Math.max(z ?? G, G, j ? B : G);
|
|
8979
|
+
(!t.isOrdinal || 1 !== k || o) && (P < Y && (P = Y, k >= 1 && (L = P + H)), L > U && (L = U, k >= 1 && (P = L - H)), (o || t.series.length && (P !== D || L !== B) && P >= Y && L <= U) && (r ? r[t.coll].push({
|
|
8952
8980
|
axis: t,
|
|
8953
|
-
min:
|
|
8954
|
-
max:
|
|
8955
|
-
}) : (t.isPanning = "zoom" !== n, t.isPanning && (p = true), t.setExtremes(o ? void 0 :
|
|
8981
|
+
min: P,
|
|
8982
|
+
max: L
|
|
8983
|
+
}) : (t.isPanning = "zoom" !== n, t.isPanning && (p = true), t.setExtremes(o ? void 0 : P, o ? void 0 : L, false, false, {
|
|
8956
8984
|
move: M,
|
|
8957
8985
|
trigger: n,
|
|
8958
8986
|
scale: k
|
|
8959
|
-
}), !o && (
|
|
8987
|
+
}), !o && (P > Y || L < U) && "mousewheel" !== n && (c = true)), d = true), this.hasCartesianSeries || o || "mousewheel" === n || (c = true), i && (this[e ? "mouseDownX" : "mouseDownY"] = i[e ? "chartX" : "chartY"]));
|
|
8960
8988
|
}
|
|
8961
8989
|
return d && (r ? aW(this, "selection", r, () => {
|
|
8962
8990
|
delete t.selection, t.trigger = "zoom", this.transform(t);
|
|
@@ -9124,7 +9152,7 @@ function requireHighcharts() {
|
|
|
9124
9152
|
} = this.chart,
|
|
9125
9153
|
r = this.fixedRenderer,
|
|
9126
9154
|
a = ni.fixedSelectors;
|
|
9127
|
-
if (s && !i ? t = ".highcharts-yaxis" : s && i
|
|
9155
|
+
if (s && !i ? t = ".highcharts-yaxis" : s && i || o && !i ? t = ".highcharts-xaxis" : o && i && (t = ".highcharts-yaxis"), t && !(this.chart.hasParallelCoordinates && ".highcharts-yaxis" === t)) for (let e of [`${t}:not(.highcharts-radial-axis)`, `${t}-labels:not(.highcharts-radial-axis-labels)`]) a7(a, e);else for (let t of [".highcharts-xaxis", ".highcharts-yaxis"]) for (let e of [`${t}:not(.highcharts-radial-axis)`, `${t}-labels:not(.highcharts-radial-axis-labels)`]) a4(a, e);
|
|
9128
9156
|
for (let t of a) [].forEach.call(e.querySelectorAll(t), t => {
|
|
9129
9157
|
(t.namespaceURI === r.SVG_NS ? r.box : r.box.parentNode).appendChild(t), t.style.pointerEvents = "auto";
|
|
9130
9158
|
});
|
|
@@ -9546,7 +9574,7 @@ function requireHighcharts() {
|
|
|
9546
9574
|
}));
|
|
9547
9575
|
};
|
|
9548
9576
|
t = t || this.points, a && (t = this.getStackPoints(t));
|
|
9549
|
-
for (let o = 0, r = t.length; o < r; ++o) a || (t[o].leftCliff = t[o].rightCliff = t[o].leftNull = t[o].rightNull = void 0), i = t[o].isNull, e = nH(t[o].rectPlotX, t[o].plotX), s = a ? nH(t[o].yBottom, g) : g, i
|
|
9577
|
+
for (let o = 0, r = t.length; o < r; ++o) a || (t[o].leftCliff = t[o].rightCliff = t[o].leftNull = t[o].rightNull = void 0), i = t[o].isNull, e = nH(t[o].rectPlotX, t[o].plotX), s = a ? nH(t[o].yBottom, g) : g, (!i || u) && (u || f(o, o - 1, "left"), i && !a && u || (l.push(t[o]), h.push({
|
|
9550
9578
|
x: o,
|
|
9551
9579
|
plotX: e,
|
|
9552
9580
|
plotY: s
|
|
@@ -10028,7 +10056,7 @@ function requireHighcharts() {
|
|
|
10028
10056
|
o && a && (e.placed = false), g || a && !p ? (e.show(), e.placed = true) : (e.hide(), e.placed = false);
|
|
10029
10057
|
}
|
|
10030
10058
|
function s() {
|
|
10031
|
-
return this.plotGroup("dataLabelsGroup", "data-labels", this.hasRendered ? "inherit" : "hidden", this.options.dataLabels.zIndex || 6);
|
|
10059
|
+
return this.plotGroup("dataLabelsGroup", "data-labels", this.hasRendered ? "inherit" : "hidden", this.options.dataLabels.zIndex || 6, this.chart.dataLabelsGroup);
|
|
10032
10060
|
}
|
|
10033
10061
|
function o(t) {
|
|
10034
10062
|
let e = this.hasRendered || 0,
|
|
@@ -10096,7 +10124,7 @@ function requireHighcharts() {
|
|
|
10096
10124
|
zIndex: 1
|
|
10097
10125
|
}, s.styledMode || (b.fill = "auto" === p ? t.color : p, b.stroke = "auto" === g ? t.color : g, b["stroke-width"] = n.borderWidth), hc(b, (t, e) => {
|
|
10098
10126
|
void 0 === t && delete b[e];
|
|
10099
|
-
})), !v || c && ho(x) && !!(v.div || v.text?.foreignObject) == !!n.useHTML && (v.rotation && n.rotation || v.rotation === n.rotation) || (v = void 0, k = true), c && ho(x) && (v ? b.text = x : (v = r.label(x, 0, 0, n.shape, void 0, void 0, n.useHTML, void 0, "data-label")).addClass(" highcharts-data-label-color-" + t.colorIndex + " " + (n.className || "") + (n.useHTML ? " highcharts-tracker" : "")), v && (v.options = n, v.attr(b), s.styledMode ? f.width && v.css({
|
|
10127
|
+
})), !v || c && ho(x) && !!(v.div || v.text?.foreignObject) == !!n.useHTML && (v.rotation && n.rotation || v.rotation === n.rotation) || (v = void 0, k = true), c && ho(x) && "" !== x && (v ? b.text = x : (v = r.label(x, 0, 0, n.shape, void 0, void 0, n.useHTML, void 0, "data-label")).addClass(" highcharts-data-label-color-" + t.colorIndex + " " + (n.className || "") + (n.useHTML ? " highcharts-tracker" : "")), v && (v.options = n, v.attr(b), s.styledMode ? f.width && v.css({
|
|
10100
10128
|
width: f.width,
|
|
10101
10129
|
textOverflow: f.textOverflow,
|
|
10102
10130
|
whiteSpace: f.whiteSpace
|
|
@@ -11148,7 +11176,7 @@ function requireHighcharts() {
|
|
|
11148
11176
|
let a = lA(...o.map(t => lC(i?.rules || [], e => e._id === t)).map(t => t?.chartOptions));
|
|
11149
11177
|
a.isResponsiveOptions = true, o = o.toString() || void 0;
|
|
11150
11178
|
let n = s?.ruleIds;
|
|
11151
|
-
o
|
|
11179
|
+
o !== n && (s && (this.currentResponsive = void 0, this.updatingResponsive = true, this.update(s.undoOptions, t, true), this.updatingResponsive = false), o ? ((r = lS(a, this.options, true, this.collectionsWithUpdate)).isResponsiveOptions = true, this.currentResponsive = {
|
|
11152
11180
|
ruleIds: o,
|
|
11153
11181
|
mergedOptions: a,
|
|
11154
11182
|
undoOptions: r
|
|
@@ -13029,6 +13057,81 @@ const File = _ref => {
|
|
|
13029
13057
|
}, /*#__PURE__*/React.createElement(Icons, rightsection === null || rightsection === void 0 ? void 0 : rightsection.icon)) : undefined)));
|
|
13030
13058
|
};
|
|
13031
13059
|
|
|
13060
|
+
const ErrorModal = _ref => {
|
|
13061
|
+
let {
|
|
13062
|
+
context,
|
|
13063
|
+
id,
|
|
13064
|
+
innerProps
|
|
13065
|
+
} = _ref;
|
|
13066
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(core.Text, {
|
|
13067
|
+
size: "sm"
|
|
13068
|
+
}, innerProps.modalBody), /*#__PURE__*/React.createElement(core.Button, {
|
|
13069
|
+
fullWidth: true,
|
|
13070
|
+
mt: "md",
|
|
13071
|
+
onClick: () => context.closeModal(id)
|
|
13072
|
+
}, "Close modal"));
|
|
13073
|
+
};
|
|
13074
|
+
|
|
13075
|
+
const InfoModal = _ref => {
|
|
13076
|
+
let {
|
|
13077
|
+
context,
|
|
13078
|
+
id,
|
|
13079
|
+
innerProps
|
|
13080
|
+
} = _ref;
|
|
13081
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(core.Text, {
|
|
13082
|
+
size: "sm"
|
|
13083
|
+
}, innerProps.modalBody), /*#__PURE__*/React.createElement(core.Button, {
|
|
13084
|
+
fullWidth: true,
|
|
13085
|
+
mt: "md",
|
|
13086
|
+
onClick: () => context.closeModal(id)
|
|
13087
|
+
}, "Close modal"));
|
|
13088
|
+
};
|
|
13089
|
+
|
|
13090
|
+
const SimpleModal = _ref => {
|
|
13091
|
+
let {
|
|
13092
|
+
context,
|
|
13093
|
+
id,
|
|
13094
|
+
innerProps
|
|
13095
|
+
} = _ref;
|
|
13096
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(core.Text, {
|
|
13097
|
+
size: "sm"
|
|
13098
|
+
}, innerProps.modalBody), /*#__PURE__*/React.createElement(core.Button, {
|
|
13099
|
+
fullWidth: true,
|
|
13100
|
+
mt: "md",
|
|
13101
|
+
onClick: () => context.closeModal(id)
|
|
13102
|
+
}, "Close modal"));
|
|
13103
|
+
};
|
|
13104
|
+
|
|
13105
|
+
const SuccessModal = _ref => {
|
|
13106
|
+
let {
|
|
13107
|
+
context,
|
|
13108
|
+
id,
|
|
13109
|
+
innerProps
|
|
13110
|
+
} = _ref;
|
|
13111
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(core.Text, {
|
|
13112
|
+
size: "sm"
|
|
13113
|
+
}, innerProps.modalBody), /*#__PURE__*/React.createElement(core.Button, {
|
|
13114
|
+
fullWidth: true,
|
|
13115
|
+
mt: "md",
|
|
13116
|
+
onClick: () => context.closeModal(id)
|
|
13117
|
+
}, "Close modal"));
|
|
13118
|
+
};
|
|
13119
|
+
|
|
13120
|
+
const TwoFactorVerificationModal = _ref => {
|
|
13121
|
+
let {
|
|
13122
|
+
context,
|
|
13123
|
+
id,
|
|
13124
|
+
innerProps
|
|
13125
|
+
} = _ref;
|
|
13126
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(core.Text, {
|
|
13127
|
+
size: "sm"
|
|
13128
|
+
}, innerProps.modalBody), /*#__PURE__*/React.createElement(core.Button, {
|
|
13129
|
+
fullWidth: true,
|
|
13130
|
+
mt: "md",
|
|
13131
|
+
onClick: () => context.closeModal(id)
|
|
13132
|
+
}, "Close modal"));
|
|
13133
|
+
};
|
|
13134
|
+
|
|
13032
13135
|
exports.ApplicationMenu = ApplicationMenu;
|
|
13033
13136
|
exports.ApplicationPanel = ApplicationPanel;
|
|
13034
13137
|
exports.AvatarLabelPanel = AvatarLabelPanel;
|
|
@@ -13037,8 +13140,10 @@ exports.DonutChart = DonutChart;
|
|
|
13037
13140
|
exports.DynamicLogo = DynamicLogo;
|
|
13038
13141
|
exports.DynamicShigaLogo = DynamicShigaLogo;
|
|
13039
13142
|
exports.EqualizerColumn = EqualizerColumn;
|
|
13143
|
+
exports.ErrorModal = ErrorModal;
|
|
13040
13144
|
exports.File = File;
|
|
13041
13145
|
exports.Icons = Icons;
|
|
13146
|
+
exports.InfoModal = InfoModal;
|
|
13042
13147
|
exports.LabelPanel = LabelPanel;
|
|
13043
13148
|
exports.PageTitle = PageTitle;
|
|
13044
13149
|
exports.PaymentMethod = PaymentMethod;
|
|
@@ -13047,12 +13152,15 @@ exports.SearchPanel = SearchPanel;
|
|
|
13047
13152
|
exports.SideMenu = SideMenu;
|
|
13048
13153
|
exports.SimpleArea = SimpleArea;
|
|
13049
13154
|
exports.SimpleColumn = SimpleColumn;
|
|
13155
|
+
exports.SimpleModal = SimpleModal;
|
|
13050
13156
|
exports.SimplePanel = SimplePanel;
|
|
13051
13157
|
exports.SimpleTable = SimpleTable;
|
|
13052
13158
|
exports.SimpleText = SimpleText;
|
|
13053
13159
|
exports.StackedColumn = StackedColumn;
|
|
13054
13160
|
exports.SubscriptionPlans = SubscriptionPlans;
|
|
13161
|
+
exports.SuccessModal = SuccessModal;
|
|
13055
13162
|
exports.TitleWithIndex = TitleWithIndex;
|
|
13056
13163
|
exports.TitledPanel = TitledPanel;
|
|
13164
|
+
exports.TwoFactorVerificationModal = TwoFactorVerificationModal;
|
|
13057
13165
|
exports.UserMenu = UserMenu;
|
|
13058
13166
|
exports.theme = theme;
|