gf-components 0.1.166 → 0.1.167
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/index.cjs.js +17 -17
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +160 -156
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -22573,7 +22573,7 @@ var KN = function(e, t) {
|
|
|
22573
22573
|
t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
|
|
22574
22574
|
return n;
|
|
22575
22575
|
};
|
|
22576
|
-
const
|
|
22576
|
+
const Kt = /* @__PURE__ */ Ae.forwardRef((e, t) => {
|
|
22577
22577
|
const {
|
|
22578
22578
|
prefixCls: n,
|
|
22579
22579
|
rootClassName: r,
|
|
@@ -22599,7 +22599,7 @@ const tn = /* @__PURE__ */ Ae.forwardRef((e, t) => {
|
|
|
22599
22599
|
style: w
|
|
22600
22600
|
}, Br(d, ["justify", "wrap", "align"])), l));
|
|
22601
22601
|
});
|
|
22602
|
-
process.env.NODE_ENV !== "production" && (
|
|
22602
|
+
process.env.NODE_ENV !== "production" && (Kt.displayName = "Flex");
|
|
22603
22603
|
var XN = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" } }] }, name: "copy", theme: "outlined" }, QN = function(t, n) {
|
|
22604
22604
|
return /* @__PURE__ */ x.createElement(nr, vt({}, t, {
|
|
22605
22605
|
ref: n,
|
|
@@ -23938,12 +23938,12 @@ const UF = Bt(pu)`
|
|
|
23938
23938
|
cardtype: "default",
|
|
23939
23939
|
...a,
|
|
23940
23940
|
children: [
|
|
23941
|
-
/* @__PURE__ */ m.jsxs(
|
|
23941
|
+
/* @__PURE__ */ m.jsxs(Kt, { vertical: !0, gap: 24, style: { alignItems: "start" }, children: [
|
|
23942
23942
|
/* @__PURE__ */ m.jsx(nD, { title: e, subtitle: t, type: "header" }),
|
|
23943
23943
|
n
|
|
23944
23944
|
] }),
|
|
23945
23945
|
/* @__PURE__ */ m.jsx("div", { style: { borderBottom: "1px solid #f0f0f0", margin: "32px -32px 32px -32px" } }),
|
|
23946
|
-
/* @__PURE__ */ m.jsxs(
|
|
23946
|
+
/* @__PURE__ */ m.jsxs(Kt, { vertical: !0, gap: 8, style: { alignItems: "start" }, children: [
|
|
23947
23947
|
/* @__PURE__ */ m.jsx(oD, { children: r || "Table of contents" }),
|
|
23948
23948
|
i.map(
|
|
23949
23949
|
(l, c) => /* @__PURE__ */ m.jsx(
|
|
@@ -23965,17 +23965,18 @@ const UF = Bt(pu)`
|
|
|
23965
23965
|
}, B5e = ({
|
|
23966
23966
|
tabList: e,
|
|
23967
23967
|
tabContent: t,
|
|
23968
|
-
|
|
23969
|
-
|
|
23970
|
-
|
|
23971
|
-
|
|
23972
|
-
|
|
23968
|
+
tabBarExtraContent: n,
|
|
23969
|
+
expandContent: r,
|
|
23970
|
+
expandLabel: i,
|
|
23971
|
+
padding: o = 24,
|
|
23972
|
+
handleDownload: a,
|
|
23973
|
+
...s
|
|
23973
23974
|
}) => {
|
|
23974
|
-
var
|
|
23975
|
-
const [
|
|
23976
|
-
|
|
23977
|
-
},
|
|
23978
|
-
|
|
23975
|
+
var p;
|
|
23976
|
+
const [l, c] = pt((p = e == null ? void 0 : e[0]) == null ? void 0 : p.key), [u, d] = pt(!1), f = (g) => {
|
|
23977
|
+
c(g);
|
|
23978
|
+
}, h = () => {
|
|
23979
|
+
d((g) => !g);
|
|
23979
23980
|
};
|
|
23980
23981
|
return /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
23981
23982
|
/* @__PURE__ */ m.jsx($n, {}),
|
|
@@ -23985,21 +23986,24 @@ const UF = Bt(pu)`
|
|
|
23985
23986
|
className: "gf-full-width gf-override-ant-card-actions",
|
|
23986
23987
|
tabList: e,
|
|
23987
23988
|
cardtype: "default",
|
|
23988
|
-
activeTabKey:
|
|
23989
|
-
onTabChange:
|
|
23990
|
-
tabBarExtraContent: /* @__PURE__ */ m.
|
|
23991
|
-
|
|
23992
|
-
/* @__PURE__ */ m.
|
|
23993
|
-
|
|
23994
|
-
|
|
23989
|
+
activeTabKey: l,
|
|
23990
|
+
onTabChange: f,
|
|
23991
|
+
tabBarExtraContent: /* @__PURE__ */ m.jsxs(Kt, { gap: 8, align: "center", children: [
|
|
23992
|
+
n,
|
|
23993
|
+
/* @__PURE__ */ m.jsx(qF, { onClick: a == null ? void 0 : a[l] })
|
|
23994
|
+
] }),
|
|
23995
|
+
actions: r != null && r[l] ? [
|
|
23996
|
+
/* @__PURE__ */ m.jsxs(Kt, { vertical: !0, children: [
|
|
23997
|
+
/* @__PURE__ */ m.jsx(GF, { open: u, onClick: h, children: i }),
|
|
23998
|
+
u && (r == null ? void 0 : r[l])
|
|
23995
23999
|
] })
|
|
23996
24000
|
] : void 0,
|
|
23997
24001
|
styles: {
|
|
23998
24002
|
header: { padding: "0px 24px" },
|
|
23999
|
-
body: { padding:
|
|
24003
|
+
body: { padding: o }
|
|
24000
24004
|
},
|
|
24001
|
-
...
|
|
24002
|
-
children: t == null ? void 0 : t[
|
|
24005
|
+
...s,
|
|
24006
|
+
children: t == null ? void 0 : t[l]
|
|
24003
24007
|
}
|
|
24004
24008
|
)
|
|
24005
24009
|
] });
|
|
@@ -24023,8 +24027,8 @@ const UF = Bt(pu)`
|
|
|
24023
24027
|
const [o, a] = pt(n), s = r ? { onChange: a } : !1;
|
|
24024
24028
|
return /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
24025
24029
|
/* @__PURE__ */ m.jsx($n, {}),
|
|
24026
|
-
/* @__PURE__ */ m.jsx(sD, { cardtype: "grey", padding: 24, ...i, children: /* @__PURE__ */ m.jsxs(
|
|
24027
|
-
/* @__PURE__ */ m.jsxs(
|
|
24030
|
+
/* @__PURE__ */ m.jsx(sD, { cardtype: "grey", padding: 24, ...i, children: /* @__PURE__ */ m.jsxs(Kt, { vertical: !0, gap: 8, children: [
|
|
24031
|
+
/* @__PURE__ */ m.jsxs(Kt, { gap: 16, align: "center", wrap: !0, children: [
|
|
24028
24032
|
/* @__PURE__ */ m.jsx(lD, { children: e }),
|
|
24029
24033
|
/* @__PURE__ */ m.jsx(cD, { children: t })
|
|
24030
24034
|
] }),
|
|
@@ -24138,7 +24142,7 @@ const UF = Bt(pu)`
|
|
|
24138
24142
|
style: o = {},
|
|
24139
24143
|
full: a = !1
|
|
24140
24144
|
}) => /* @__PURE__ */ m.jsx(
|
|
24141
|
-
|
|
24145
|
+
Kt,
|
|
24142
24146
|
{
|
|
24143
24147
|
className: t,
|
|
24144
24148
|
gap: n || 10,
|
|
@@ -27514,7 +27518,7 @@ function Ta() {
|
|
|
27514
27518
|
var aU = { pointerEvents: "none", position: "absolute", zIndex: 10, top: 0, left: 0 }, c7 = function(e, t) {
|
|
27515
27519
|
return "translate(" + e + "px, " + t + "px)";
|
|
27516
27520
|
}, yw = gt(function(e) {
|
|
27517
|
-
var t, n = e.position, r = e.anchor, i = e.children, o =
|
|
27521
|
+
var t, n = e.position, r = e.anchor, i = e.children, o = Jt(), a = Gn(), s = a.animate, l = a.config, c = o$(), u = c[0], d = c[1], f = je(!1), h = void 0, p = !1, g = d.width > 0 && d.height > 0, v = Math.round(n[0]), b = Math.round(n[1]);
|
|
27518
27522
|
g && (r === "top" ? (v -= d.width / 2, b -= d.height + 14) : r === "right" ? (v += 14, b -= d.height / 2) : r === "bottom" ? (v -= d.width / 2, b += 14) : r === "left" ? (v -= d.width + 14, b -= d.height / 2) : r === "center" && (v -= d.width / 2, b -= d.height / 2), h = { transform: c7(v, b) }, f.current || (p = !0), f.current = [v, b]);
|
|
27519
27523
|
var y = sn({ to: h, config: l, immediate: !s || p }), C = Ta({}, aU, o.tooltip.wrapper, { transform: (t = y.transform) != null ? t : c7(v, b), opacity: y.transform ? 1 : 0 });
|
|
27520
27524
|
return m.jsx(rt.div, { ref: u, style: C, children: i });
|
|
@@ -27524,7 +27528,7 @@ var dd = gt(function(e) {
|
|
|
27524
27528
|
var t = e.size, n = t === void 0 ? 12 : t, r = e.color, i = e.style;
|
|
27525
27529
|
return m.jsx("span", { style: Ta({ display: "block", width: n, height: n, background: r }, i === void 0 ? {} : i) });
|
|
27526
27530
|
}), Gs = gt(function(e) {
|
|
27527
|
-
var t, n = e.id, r = e.value, i = e.format, o = e.enableChip, a = o !== void 0 && o, s = e.color, l = e.renderContent, c =
|
|
27531
|
+
var t, n = e.id, r = e.value, i = e.format, o = e.enableChip, a = o !== void 0 && o, s = e.color, l = e.renderContent, c = Jt(), u = qo(i);
|
|
27528
27532
|
if (typeof l == "function") t = l();
|
|
27529
27533
|
else {
|
|
27530
27534
|
var d = r;
|
|
@@ -27532,7 +27536,7 @@ var dd = gt(function(e) {
|
|
|
27532
27536
|
}
|
|
27533
27537
|
return m.jsx("div", { style: c.tooltip.container, children: t });
|
|
27534
27538
|
}), sU = { width: "100%", borderCollapse: "collapse" }, xw = gt(function(e) {
|
|
27535
|
-
var t, n = e.title, r = e.rows, i = r === void 0 ? [] : r, o = e.renderContent, a =
|
|
27539
|
+
var t, n = e.title, r = e.rows, i = r === void 0 ? [] : r, o = e.renderContent, a = Jt();
|
|
27536
27540
|
return i.length ? (t = typeof o == "function" ? o() : m.jsxs("div", { children: [n && n, m.jsx("table", { style: Ta({}, sU, a.tooltip.table), children: m.jsx("tbody", { children: i.map(function(s, l) {
|
|
27537
27541
|
return m.jsx("tr", { children: s.map(function(c, u) {
|
|
27538
27542
|
return m.jsx("td", { style: a.tooltip.tableCell, children: c }, u);
|
|
@@ -27541,7 +27545,7 @@ var dd = gt(function(e) {
|
|
|
27541
27545
|
});
|
|
27542
27546
|
xw.displayName = "TableTooltip";
|
|
27543
27547
|
var Hh = gt(function(e) {
|
|
27544
|
-
var t = e.x0, n = e.x1, r = e.y0, i = e.y1, o =
|
|
27548
|
+
var t = e.x0, n = e.x1, r = e.y0, i = e.y1, o = Jt(), a = Gn(), s = a.animate, l = a.config, c = Se(function() {
|
|
27545
27549
|
return Ta({}, o.crosshair.line, { pointerEvents: "none" });
|
|
27546
27550
|
}, [o.crosshair.line]), u = sn({ x1: t, x2: n, y1: r, y2: i, config: l, immediate: !s });
|
|
27547
27551
|
return m.jsx(rt.line, Ta({}, u, { fill: "none", style: c }));
|
|
@@ -29613,7 +29617,7 @@ function VQ(e) {
|
|
|
29613
29617
|
};
|
|
29614
29618
|
}
|
|
29615
29619
|
var J7 = { "-": "", _: " ", 0: "0" }, rr = /^\s*\d+/, TQ = /^%/, RQ = /[\\^$*+?|[\]().{}]/g;
|
|
29616
|
-
function
|
|
29620
|
+
function Xt(e, t, n) {
|
|
29617
29621
|
var r = e < 0 ? "-" : "", i = (r ? -e : e) + "", o = i.length;
|
|
29618
29622
|
return r + (o < n ? new Array(n - o + 1).join(t) + i : i);
|
|
29619
29623
|
}
|
|
@@ -29707,128 +29711,128 @@ function YQ(e, t, n) {
|
|
|
29707
29711
|
return r ? (e.s = +r[0], n + r[0].length) : -1;
|
|
29708
29712
|
}
|
|
29709
29713
|
function i8(e, t) {
|
|
29710
|
-
return
|
|
29714
|
+
return Xt(e.getDate(), t, 2);
|
|
29711
29715
|
}
|
|
29712
29716
|
function KQ(e, t) {
|
|
29713
|
-
return
|
|
29717
|
+
return Xt(e.getHours(), t, 2);
|
|
29714
29718
|
}
|
|
29715
29719
|
function XQ(e, t) {
|
|
29716
|
-
return
|
|
29720
|
+
return Xt(e.getHours() % 12 || 12, t, 2);
|
|
29717
29721
|
}
|
|
29718
29722
|
function QQ(e, t) {
|
|
29719
|
-
return
|
|
29723
|
+
return Xt(1 + ku.count($o(e), e), t, 3);
|
|
29720
29724
|
}
|
|
29721
29725
|
function lS(e, t) {
|
|
29722
|
-
return
|
|
29726
|
+
return Xt(e.getMilliseconds(), t, 3);
|
|
29723
29727
|
}
|
|
29724
29728
|
function JQ(e, t) {
|
|
29725
29729
|
return lS(e, t) + "000";
|
|
29726
29730
|
}
|
|
29727
29731
|
function eJ(e, t) {
|
|
29728
|
-
return
|
|
29732
|
+
return Xt(e.getMonth() + 1, t, 2);
|
|
29729
29733
|
}
|
|
29730
29734
|
function tJ(e, t) {
|
|
29731
|
-
return
|
|
29735
|
+
return Xt(e.getMinutes(), t, 2);
|
|
29732
29736
|
}
|
|
29733
29737
|
function nJ(e, t) {
|
|
29734
|
-
return
|
|
29738
|
+
return Xt(e.getSeconds(), t, 2);
|
|
29735
29739
|
}
|
|
29736
29740
|
function rJ(e) {
|
|
29737
29741
|
var t = e.getDay();
|
|
29738
29742
|
return t === 0 ? 7 : t;
|
|
29739
29743
|
}
|
|
29740
29744
|
function iJ(e, t) {
|
|
29741
|
-
return
|
|
29745
|
+
return Xt(Nf.count($o(e) - 1, e), t, 2);
|
|
29742
29746
|
}
|
|
29743
29747
|
function cS(e) {
|
|
29744
29748
|
var t = e.getDay();
|
|
29745
29749
|
return t >= 4 || t === 0 ? Qs(e) : Qs.ceil(e);
|
|
29746
29750
|
}
|
|
29747
29751
|
function oJ(e, t) {
|
|
29748
|
-
return e = cS(e),
|
|
29752
|
+
return e = cS(e), Xt(Qs.count($o(e), e) + ($o(e).getDay() === 4), t, 2);
|
|
29749
29753
|
}
|
|
29750
29754
|
function aJ(e) {
|
|
29751
29755
|
return e.getDay();
|
|
29752
29756
|
}
|
|
29753
29757
|
function sJ(e, t) {
|
|
29754
|
-
return
|
|
29758
|
+
return Xt(xd.count($o(e) - 1, e), t, 2);
|
|
29755
29759
|
}
|
|
29756
29760
|
function lJ(e, t) {
|
|
29757
|
-
return
|
|
29761
|
+
return Xt(e.getFullYear() % 100, t, 2);
|
|
29758
29762
|
}
|
|
29759
29763
|
function cJ(e, t) {
|
|
29760
|
-
return e = cS(e),
|
|
29764
|
+
return e = cS(e), Xt(e.getFullYear() % 100, t, 2);
|
|
29761
29765
|
}
|
|
29762
29766
|
function uJ(e, t) {
|
|
29763
|
-
return
|
|
29767
|
+
return Xt(e.getFullYear() % 1e4, t, 4);
|
|
29764
29768
|
}
|
|
29765
29769
|
function dJ(e, t) {
|
|
29766
29770
|
var n = e.getDay();
|
|
29767
|
-
return e = n >= 4 || n === 0 ? Qs(e) : Qs.ceil(e),
|
|
29771
|
+
return e = n >= 4 || n === 0 ? Qs(e) : Qs.ceil(e), Xt(e.getFullYear() % 1e4, t, 4);
|
|
29768
29772
|
}
|
|
29769
29773
|
function fJ(e) {
|
|
29770
29774
|
var t = e.getTimezoneOffset();
|
|
29771
|
-
return (t > 0 ? "-" : (t *= -1, "+")) +
|
|
29775
|
+
return (t > 0 ? "-" : (t *= -1, "+")) + Xt(t / 60 | 0, "0", 2) + Xt(t % 60, "0", 2);
|
|
29772
29776
|
}
|
|
29773
29777
|
function o8(e, t) {
|
|
29774
|
-
return
|
|
29778
|
+
return Xt(e.getUTCDate(), t, 2);
|
|
29775
29779
|
}
|
|
29776
29780
|
function hJ(e, t) {
|
|
29777
|
-
return
|
|
29781
|
+
return Xt(e.getUTCHours(), t, 2);
|
|
29778
29782
|
}
|
|
29779
29783
|
function gJ(e, t) {
|
|
29780
|
-
return
|
|
29784
|
+
return Xt(e.getUTCHours() % 12 || 12, t, 2);
|
|
29781
29785
|
}
|
|
29782
29786
|
function vJ(e, t) {
|
|
29783
|
-
return
|
|
29787
|
+
return Xt(1 + Af.count(Mo(e), e), t, 3);
|
|
29784
29788
|
}
|
|
29785
29789
|
function uS(e, t) {
|
|
29786
|
-
return
|
|
29790
|
+
return Xt(e.getUTCMilliseconds(), t, 3);
|
|
29787
29791
|
}
|
|
29788
29792
|
function pJ(e, t) {
|
|
29789
29793
|
return uS(e, t) + "000";
|
|
29790
29794
|
}
|
|
29791
29795
|
function mJ(e, t) {
|
|
29792
|
-
return
|
|
29796
|
+
return Xt(e.getUTCMonth() + 1, t, 2);
|
|
29793
29797
|
}
|
|
29794
29798
|
function bJ(e, t) {
|
|
29795
|
-
return
|
|
29799
|
+
return Xt(e.getUTCMinutes(), t, 2);
|
|
29796
29800
|
}
|
|
29797
29801
|
function yJ(e, t) {
|
|
29798
|
-
return
|
|
29802
|
+
return Xt(e.getUTCSeconds(), t, 2);
|
|
29799
29803
|
}
|
|
29800
29804
|
function xJ(e) {
|
|
29801
29805
|
var t = e.getUTCDay();
|
|
29802
29806
|
return t === 0 ? 7 : t;
|
|
29803
29807
|
}
|
|
29804
29808
|
function CJ(e, t) {
|
|
29805
|
-
return
|
|
29809
|
+
return Xt(Ff.count(Mo(e) - 1, e), t, 2);
|
|
29806
29810
|
}
|
|
29807
29811
|
function dS(e) {
|
|
29808
29812
|
var t = e.getUTCDay();
|
|
29809
29813
|
return t >= 4 || t === 0 ? Js(e) : Js.ceil(e);
|
|
29810
29814
|
}
|
|
29811
29815
|
function wJ(e, t) {
|
|
29812
|
-
return e = dS(e),
|
|
29816
|
+
return e = dS(e), Xt(Js.count(Mo(e), e) + (Mo(e).getUTCDay() === 4), t, 2);
|
|
29813
29817
|
}
|
|
29814
29818
|
function SJ(e) {
|
|
29815
29819
|
return e.getUTCDay();
|
|
29816
29820
|
}
|
|
29817
29821
|
function $J(e, t) {
|
|
29818
|
-
return
|
|
29822
|
+
return Xt(Cd.count(Mo(e) - 1, e), t, 2);
|
|
29819
29823
|
}
|
|
29820
29824
|
function MJ(e, t) {
|
|
29821
|
-
return
|
|
29825
|
+
return Xt(e.getUTCFullYear() % 100, t, 2);
|
|
29822
29826
|
}
|
|
29823
29827
|
function _J(e, t) {
|
|
29824
|
-
return e = dS(e),
|
|
29828
|
+
return e = dS(e), Xt(e.getUTCFullYear() % 100, t, 2);
|
|
29825
29829
|
}
|
|
29826
29830
|
function HJ(e, t) {
|
|
29827
|
-
return
|
|
29831
|
+
return Xt(e.getUTCFullYear() % 1e4, t, 4);
|
|
29828
29832
|
}
|
|
29829
29833
|
function EJ(e, t) {
|
|
29830
29834
|
var n = e.getUTCDay();
|
|
29831
|
-
return e = n >= 4 || n === 0 ? Js(e) : Js.ceil(e),
|
|
29835
|
+
return e = n >= 4 || n === 0 ? Js(e) : Js.ceil(e), Xt(e.getUTCFullYear() % 1e4, t, 4);
|
|
29832
29836
|
}
|
|
29833
29837
|
function OJ() {
|
|
29834
29838
|
return "+0000";
|
|
@@ -31931,7 +31935,7 @@ function Pee(e) {
|
|
|
31931
31935
|
};
|
|
31932
31936
|
}
|
|
31933
31937
|
var S8 = { "-": "", _: " ", 0: "0" }, ir = /^\s*\d+/, Lee = /^%/, Iee = /[\\^$*+?|[\]().{}]/g;
|
|
31934
|
-
function
|
|
31938
|
+
function Qt(e, t, n) {
|
|
31935
31939
|
var r = e < 0 ? "-" : "", i = (r ? -e : e) + "", o = i.length;
|
|
31936
31940
|
return r + (o < n ? new Array(n - o + 1).join(t) + i : i);
|
|
31937
31941
|
}
|
|
@@ -32025,128 +32029,128 @@ function ete(e, t, n) {
|
|
|
32025
32029
|
return r ? (e.s = +r[0], n + r[0].length) : -1;
|
|
32026
32030
|
}
|
|
32027
32031
|
function E8(e, t) {
|
|
32028
|
-
return
|
|
32032
|
+
return Qt(e.getDate(), t, 2);
|
|
32029
32033
|
}
|
|
32030
32034
|
function tte(e, t) {
|
|
32031
|
-
return
|
|
32035
|
+
return Qt(e.getHours(), t, 2);
|
|
32032
32036
|
}
|
|
32033
32037
|
function nte(e, t) {
|
|
32034
|
-
return
|
|
32038
|
+
return Qt(e.getHours() % 12 || 12, t, 2);
|
|
32035
32039
|
}
|
|
32036
32040
|
function rte(e, t) {
|
|
32037
|
-
return
|
|
32041
|
+
return Qt(1 + E4.count(ja(e), e), t, 3);
|
|
32038
32042
|
}
|
|
32039
32043
|
function AS(e, t) {
|
|
32040
|
-
return
|
|
32044
|
+
return Qt(e.getMilliseconds(), t, 3);
|
|
32041
32045
|
}
|
|
32042
32046
|
function ite(e, t) {
|
|
32043
32047
|
return AS(e, t) + "000";
|
|
32044
32048
|
}
|
|
32045
32049
|
function ote(e, t) {
|
|
32046
|
-
return
|
|
32050
|
+
return Qt(e.getMonth() + 1, t, 2);
|
|
32047
32051
|
}
|
|
32048
32052
|
function ate(e, t) {
|
|
32049
|
-
return
|
|
32053
|
+
return Qt(e.getMinutes(), t, 2);
|
|
32050
32054
|
}
|
|
32051
32055
|
function ste(e, t) {
|
|
32052
|
-
return
|
|
32056
|
+
return Qt(e.getSeconds(), t, 2);
|
|
32053
32057
|
}
|
|
32054
32058
|
function lte(e) {
|
|
32055
32059
|
var t = e.getDay();
|
|
32056
32060
|
return t === 0 ? 7 : t;
|
|
32057
32061
|
}
|
|
32058
32062
|
function cte(e, t) {
|
|
32059
|
-
return
|
|
32063
|
+
return Qt(PS.count(ja(e) - 1, e), t, 2);
|
|
32060
32064
|
}
|
|
32061
32065
|
function NS(e) {
|
|
32062
32066
|
var t = e.getDay();
|
|
32063
32067
|
return t >= 4 || t === 0 ? el(e) : el.ceil(e);
|
|
32064
32068
|
}
|
|
32065
32069
|
function ute(e, t) {
|
|
32066
|
-
return e = NS(e),
|
|
32070
|
+
return e = NS(e), Qt(el.count(ja(e), e) + (ja(e).getDay() === 4), t, 2);
|
|
32067
32071
|
}
|
|
32068
32072
|
function dte(e) {
|
|
32069
32073
|
return e.getDay();
|
|
32070
32074
|
}
|
|
32071
32075
|
function fte(e, t) {
|
|
32072
|
-
return
|
|
32076
|
+
return Qt(Hd.count(ja(e) - 1, e), t, 2);
|
|
32073
32077
|
}
|
|
32074
32078
|
function hte(e, t) {
|
|
32075
|
-
return
|
|
32079
|
+
return Qt(e.getFullYear() % 100, t, 2);
|
|
32076
32080
|
}
|
|
32077
32081
|
function gte(e, t) {
|
|
32078
|
-
return e = NS(e),
|
|
32082
|
+
return e = NS(e), Qt(e.getFullYear() % 100, t, 2);
|
|
32079
32083
|
}
|
|
32080
32084
|
function vte(e, t) {
|
|
32081
|
-
return
|
|
32085
|
+
return Qt(e.getFullYear() % 1e4, t, 4);
|
|
32082
32086
|
}
|
|
32083
32087
|
function pte(e, t) {
|
|
32084
32088
|
var n = e.getDay();
|
|
32085
|
-
return e = n >= 4 || n === 0 ? el(e) : el.ceil(e),
|
|
32089
|
+
return e = n >= 4 || n === 0 ? el(e) : el.ceil(e), Qt(e.getFullYear() % 1e4, t, 4);
|
|
32086
32090
|
}
|
|
32087
32091
|
function mte(e) {
|
|
32088
32092
|
var t = e.getTimezoneOffset();
|
|
32089
|
-
return (t > 0 ? "-" : (t *= -1, "+")) +
|
|
32093
|
+
return (t > 0 ? "-" : (t *= -1, "+")) + Qt(t / 60 | 0, "0", 2) + Qt(t % 60, "0", 2);
|
|
32090
32094
|
}
|
|
32091
32095
|
function O8(e, t) {
|
|
32092
|
-
return
|
|
32096
|
+
return Qt(e.getUTCDate(), t, 2);
|
|
32093
32097
|
}
|
|
32094
32098
|
function bte(e, t) {
|
|
32095
|
-
return
|
|
32099
|
+
return Qt(e.getUTCHours(), t, 2);
|
|
32096
32100
|
}
|
|
32097
32101
|
function yte(e, t) {
|
|
32098
|
-
return
|
|
32102
|
+
return Qt(e.getUTCHours() % 12 || 12, t, 2);
|
|
32099
32103
|
}
|
|
32100
32104
|
function xte(e, t) {
|
|
32101
|
-
return
|
|
32105
|
+
return Qt(1 + O4.count(ka(e), e), t, 3);
|
|
32102
32106
|
}
|
|
32103
32107
|
function FS(e, t) {
|
|
32104
|
-
return
|
|
32108
|
+
return Qt(e.getUTCMilliseconds(), t, 3);
|
|
32105
32109
|
}
|
|
32106
32110
|
function Cte(e, t) {
|
|
32107
32111
|
return FS(e, t) + "000";
|
|
32108
32112
|
}
|
|
32109
32113
|
function wte(e, t) {
|
|
32110
|
-
return
|
|
32114
|
+
return Qt(e.getUTCMonth() + 1, t, 2);
|
|
32111
32115
|
}
|
|
32112
32116
|
function Ste(e, t) {
|
|
32113
|
-
return
|
|
32117
|
+
return Qt(e.getUTCMinutes(), t, 2);
|
|
32114
32118
|
}
|
|
32115
32119
|
function $te(e, t) {
|
|
32116
|
-
return
|
|
32120
|
+
return Qt(e.getUTCSeconds(), t, 2);
|
|
32117
32121
|
}
|
|
32118
32122
|
function Mte(e) {
|
|
32119
32123
|
var t = e.getUTCDay();
|
|
32120
32124
|
return t === 0 ? 7 : t;
|
|
32121
32125
|
}
|
|
32122
32126
|
function _te(e, t) {
|
|
32123
|
-
return
|
|
32127
|
+
return Qt(LS.count(ka(e) - 1, e), t, 2);
|
|
32124
32128
|
}
|
|
32125
32129
|
function DS(e) {
|
|
32126
32130
|
var t = e.getUTCDay();
|
|
32127
32131
|
return t >= 4 || t === 0 ? tl(e) : tl.ceil(e);
|
|
32128
32132
|
}
|
|
32129
32133
|
function Hte(e, t) {
|
|
32130
|
-
return e = DS(e),
|
|
32134
|
+
return e = DS(e), Qt(tl.count(ka(e), e) + (ka(e).getUTCDay() === 4), t, 2);
|
|
32131
32135
|
}
|
|
32132
32136
|
function Ete(e) {
|
|
32133
32137
|
return e.getUTCDay();
|
|
32134
32138
|
}
|
|
32135
32139
|
function Ote(e, t) {
|
|
32136
|
-
return
|
|
32140
|
+
return Qt(Ed.count(ka(e) - 1, e), t, 2);
|
|
32137
32141
|
}
|
|
32138
32142
|
function Vte(e, t) {
|
|
32139
|
-
return
|
|
32143
|
+
return Qt(e.getUTCFullYear() % 100, t, 2);
|
|
32140
32144
|
}
|
|
32141
32145
|
function Tte(e, t) {
|
|
32142
|
-
return e = DS(e),
|
|
32146
|
+
return e = DS(e), Qt(e.getUTCFullYear() % 100, t, 2);
|
|
32143
32147
|
}
|
|
32144
32148
|
function Rte(e, t) {
|
|
32145
|
-
return
|
|
32149
|
+
return Qt(e.getUTCFullYear() % 1e4, t, 4);
|
|
32146
32150
|
}
|
|
32147
32151
|
function jte(e, t) {
|
|
32148
32152
|
var n = e.getUTCDay();
|
|
32149
|
-
return e = n >= 4 || n === 0 ? tl(e) : tl.ceil(e),
|
|
32153
|
+
return e = n >= 4 || n === 0 ? tl(e) : tl.ceil(e), Qt(e.getUTCFullYear() % 1e4, t, 4);
|
|
32150
32154
|
}
|
|
32151
32155
|
function kte() {
|
|
32152
32156
|
return "+0000";
|
|
@@ -32540,7 +32544,7 @@ var i$ = { top: 0, right: 0, bottom: 0, left: 0 }, ns = function(e, t, n) {
|
|
|
32540
32544
|
return m.jsx(a$.Provider, { value: i, children: r });
|
|
32541
32545
|
};
|
|
32542
32546
|
s$.propTypes = { children: F.node.isRequired, theme: F.object };
|
|
32543
|
-
var
|
|
32547
|
+
var Jt = function() {
|
|
32544
32548
|
return Yt(a$);
|
|
32545
32549
|
}, vie = ["outlineWidth", "outlineColor", "outlineOpacity"], L4 = function(e) {
|
|
32546
32550
|
return e.outlineWidth, e.outlineColor, e.outlineOpacity, qf(e, vie);
|
|
@@ -32619,7 +32623,7 @@ var d$ = { patternDots: Uh, patternLines: qh, patternSquares: Gh }, Cie = ["type
|
|
|
32619
32623
|
};
|
|
32620
32624
|
f$.propTypes = { defs: F.arrayOf(F.shape({ type: F.oneOf(Object.keys(Yh)).isRequired, id: F.string.isRequired })) };
|
|
32621
32625
|
var wie = gt(f$), jl = function(e) {
|
|
32622
|
-
var t = e.width, n = e.height, r = e.margin, i = e.defs, o = e.children, a = e.role, s = e.ariaLabel, l = e.ariaLabelledBy, c = e.ariaDescribedBy, u = e.isFocusable, d =
|
|
32626
|
+
var t = e.width, n = e.height, r = e.margin, i = e.defs, o = e.children, a = e.role, s = e.ariaLabel, l = e.ariaLabelledBy, c = e.ariaDescribedBy, u = e.isFocusable, d = Jt();
|
|
32623
32627
|
return m.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: t, height: n, role: a, "aria-label": s, "aria-labelledby": l, "aria-describedby": c, focusable: u, tabIndex: u ? 0 : void 0, children: [m.jsx(wie, { defs: i }), m.jsx("rect", { width: t, height: n, fill: d.background }), m.jsx("g", { transform: "translate(" + r.left + "," + r.top + ")", children: o })] });
|
|
32624
32628
|
};
|
|
32625
32629
|
jl.propTypes = { width: F.number.isRequired, height: F.number.isRequired, margin: F.shape({ top: F.number.isRequired, left: F.number.isRequired }).isRequired, defs: F.array, children: F.oneOfType([F.arrayOf(F.node), F.node]).isRequired, role: F.string, isFocusable: F.bool, ariaLabel: F.string, ariaLabelledBy: F.string, ariaDescribedBy: F.string };
|
|
@@ -32629,12 +32633,12 @@ var h$ = function(e) {
|
|
|
32629
32633
|
};
|
|
32630
32634
|
h$.propTypes = { size: F.number.isRequired, color: F.string.isRequired, borderWidth: F.number.isRequired, borderColor: F.string.isRequired };
|
|
32631
32635
|
var Sie = gt(h$), g$ = function(e) {
|
|
32632
|
-
var t = e.x, n = e.y, r = e.symbol, i = r === void 0 ? Sie : r, o = e.size, a = e.datum, s = e.color, l = e.borderWidth, c = e.borderColor, u = e.label, d = e.labelTextAnchor, f = d === void 0 ? "middle" : d, h = e.labelYOffset, p = h === void 0 ? -12 : h, g =
|
|
32636
|
+
var t = e.x, n = e.y, r = e.symbol, i = r === void 0 ? Sie : r, o = e.size, a = e.datum, s = e.color, l = e.borderWidth, c = e.borderColor, u = e.label, d = e.labelTextAnchor, f = d === void 0 ? "middle" : d, h = e.labelYOffset, p = h === void 0 ? -12 : h, g = Jt(), v = Gn(), b = v.animate, y = v.config, C = sn({ transform: "translate(" + t + ", " + n + ")", config: y, immediate: !b });
|
|
32633
32637
|
return m.jsxs(rt.g, { transform: C.transform, style: { pointerEvents: "none" }, children: [Mt(i, { size: o, color: s, datum: a, borderWidth: l, borderColor: c }), u && m.jsx("text", { textAnchor: f, y: p, style: L4(g.dots.text), children: u })] });
|
|
32634
32638
|
};
|
|
32635
32639
|
g$.propTypes = { x: F.number.isRequired, y: F.number.isRequired, datum: F.object.isRequired, size: F.number.isRequired, color: F.string.isRequired, borderWidth: F.number.isRequired, borderColor: F.string.isRequired, symbol: F.oneOfType([F.func, F.object]), label: F.oneOfType([F.string, F.number]), labelTextAnchor: F.oneOf(["start", "middle", "end"]), labelYOffset: F.number };
|
|
32636
32640
|
var $ie = gt(g$), v$ = function(e) {
|
|
32637
|
-
var t = e.width, n = e.height, r = e.axis, i = e.scale, o = e.value, a = e.lineStyle, s = e.textStyle, l = e.legend, c = e.legendPosition, u = c === void 0 ? "top-right" : c, d = e.legendOffsetX, f = d === void 0 ? 14 : d, h = e.legendOffsetY, p = h === void 0 ? 14 : h, g = e.legendOrientation, v = g === void 0 ? "horizontal" : g, b =
|
|
32641
|
+
var t = e.width, n = e.height, r = e.axis, i = e.scale, o = e.value, a = e.lineStyle, s = e.textStyle, l = e.legend, c = e.legendPosition, u = c === void 0 ? "top-right" : c, d = e.legendOffsetX, f = d === void 0 ? 14 : d, h = e.legendOffsetY, p = h === void 0 ? 14 : h, g = e.legendOrientation, v = g === void 0 ? "horizontal" : g, b = Jt(), y = 0, C = 0, S = 0, w = 0;
|
|
32638
32642
|
r === "y" ? (S = i(o), C = t) : (y = i(o), w = n);
|
|
32639
32643
|
var $ = null;
|
|
32640
32644
|
if (l) {
|
|
@@ -33002,7 +33006,7 @@ var Yie = { top: 0, right: 0, bottom: 0, left: 0 }, N4 = function(e) {
|
|
|
33002
33006
|
}
|
|
33003
33007
|
return { symbolX: t, symbolY: n, labelX: r, labelY: i, labelAnchor: o, labelAlignment: a };
|
|
33004
33008
|
}, Kie = { circle: Zie, diamond: Uie, square: qie, triangle: Gie }, Xie = function(e) {
|
|
33005
|
-
var t, n, r, i, o, a, s, l, c, u, d, f = e.x, h = e.y, p = e.width, g = e.height, v = e.data, b = e.direction, y = b === void 0 ? "left-to-right" : b, C = e.justify, S = C !== void 0 && C, w = e.textColor, $ = e.background, V = $ === void 0 ? "transparent" : $, _ = e.opacity, M = _ === void 0 ? 1 : _, E = e.symbolShape, R = E === void 0 ? "square" : E, I = e.symbolSize, j = I === void 0 ? 16 : I, H = e.symbolSpacing, T = H === void 0 ? 8 : H, k = e.symbolBorderWidth, O = k === void 0 ? 0 : k, L = e.symbolBorderColor, P = L === void 0 ? "transparent" : L, A = e.onClick, D = e.onMouseEnter, U = e.onMouseLeave, q = e.toggleSerie, G = e.effects, J = pt({}), X = J[0], Y = J[1], Q =
|
|
33009
|
+
var t, n, r, i, o, a, s, l, c, u, d, f = e.x, h = e.y, p = e.width, g = e.height, v = e.data, b = e.direction, y = b === void 0 ? "left-to-right" : b, C = e.justify, S = C !== void 0 && C, w = e.textColor, $ = e.background, V = $ === void 0 ? "transparent" : $, _ = e.opacity, M = _ === void 0 ? 1 : _, E = e.symbolShape, R = E === void 0 ? "square" : E, I = e.symbolSize, j = I === void 0 ? 16 : I, H = e.symbolSpacing, T = H === void 0 ? 8 : H, k = e.symbolBorderWidth, O = k === void 0 ? 0 : k, L = e.symbolBorderColor, P = L === void 0 ? "transparent" : L, A = e.onClick, D = e.onMouseEnter, U = e.onMouseLeave, q = e.toggleSerie, G = e.effects, J = pt({}), X = J[0], Y = J[1], Q = Jt(), B = ze(function(be) {
|
|
33006
33010
|
if (G) {
|
|
33007
33011
|
var we = G.filter(function(ve) {
|
|
33008
33012
|
return ve.on === "hover";
|
|
@@ -33458,7 +33462,7 @@ var L2 = { container: { display: "flex", alignItems: "center" }, sourceChip: { m
|
|
|
33458
33462
|
} : a;
|
|
33459
33463
|
}, [a]), $ = a === "input" ? null : void 0, V = Se(function() {
|
|
33460
33464
|
return typeof s == "function" ? s : Ase(s);
|
|
33461
|
-
}, [s]), _ =
|
|
33465
|
+
}, [s]), _ = Jt(), M = Au(l, "id"), E = Nr(f, _), R = Vi(h), I = Nr(p, _), j = qo(n), H = Se(function() {
|
|
33462
33466
|
return function(L) {
|
|
33463
33467
|
var P = L.data, A = L.formatValue, D = L.layout, U = L.alignFunction, q = L.sortFunction, G = L.linkSortMode, J = L.nodeThickness, X = L.nodeSpacing, Y = L.nodeInnerPadding, Q = L.width, B = L.height, W = L.getColor, Z = L.getLabel, N = soe().nodeAlign(U).nodeSort(q).linkSort(G).nodeWidth(J).nodePadding(X).size(D === "horizontal" ? [Q, B] : [B, Q]).nodeId(Nse), ne = j$(P);
|
|
33464
33468
|
return N(ne), ne.nodes.forEach(function(z) {
|
|
@@ -33534,7 +33538,7 @@ var L2 = { container: { display: "flex", alignItems: "center" }, sourceChip: { m
|
|
|
33534
33538
|
return m.jsx(Wse, { link: y, layout: n, path: b(y, a), color: y.color, opacity: v(y), blendMode: s, enableGradient: l, setCurrent: c, isInteractive: h, onClick: p, tooltip: g }, y.source.id + "." + y.target.id + "." + y.index);
|
|
33535
33539
|
}) });
|
|
33536
33540
|
}, Use = function(e) {
|
|
33537
|
-
var t = e.nodes, n = e.layout, r = e.width, i = e.height, o = e.labelPosition, a = e.labelPadding, s = e.labelOrientation, l = e.getLabelTextColor, c =
|
|
33541
|
+
var t = e.nodes, n = e.layout, r = e.width, i = e.height, o = e.labelPosition, a = e.labelPadding, s = e.labelOrientation, l = e.getLabelTextColor, c = Jt(), u = s === "vertical" ? -90 : 0, d = t.map(function(v) {
|
|
33538
33542
|
var b, y, C;
|
|
33539
33543
|
return n === "horizontal" ? (y = v.y + v.height / 2, v.x < r / 2 ? o === "inside" ? (b = v.x1 + a, C = s === "vertical" ? "middle" : "start") : (b = v.x - a, C = s === "vertical" ? "middle" : "end") : o === "inside" ? (b = v.x - a, C = s === "vertical" ? "middle" : "end") : (b = v.x1 + a, C = s === "vertical" ? "middle" : "start")) : n === "vertical" && (b = v.x + v.width / 2, v.y < i / 2 ? o === "inside" ? (y = v.y1 + a, C = s === "vertical" ? "end" : "middle") : (y = v.y - a, C = s === "vertical" ? "start" : "middle") : o === "inside" ? (y = v.y - a, C = s === "vertical" ? "start" : "middle") : (y = v.y1 + a, C = s === "vertical" ? "end" : "middle")), { id: v.id, label: v.label, x: b, y, textAnchor: C, color: l(v) };
|
|
33540
33544
|
}), f = Gn(), h = f.animate, p = f.config, g = pw(d.length, d.map(function(v) {
|
|
@@ -33651,7 +33655,7 @@ function yn() {
|
|
|
33651
33655
|
}, yn.apply(this, arguments);
|
|
33652
33656
|
}
|
|
33653
33657
|
var Xse = { pointerEvents: "none" }, Qse = function(e) {
|
|
33654
|
-
var t = e.label, n = e.style, r =
|
|
33658
|
+
var t = e.label, n = e.style, r = Jt();
|
|
33655
33659
|
return m.jsx(rt.g, { transform: n.transform, opacity: n.progress, style: Xse, children: m.jsx(rt.text, { textAnchor: "middle", dominantBaseline: "central", style: yn({}, r.labels.text, { fill: n.textColor }), children: t }) });
|
|
33656
33660
|
}, P$ = function(e) {
|
|
33657
33661
|
var t = e % (2 * Math.PI);
|
|
@@ -33740,7 +33744,7 @@ var Xse = { pointerEvents: "none" }, Qse = function(e) {
|
|
|
33740
33744
|
return l.id;
|
|
33741
33745
|
}, initial: s.update, from: s.enter, enter: s.update, update: s.update, leave: s.leave, config: a, immediate: !o }), interpolate: nle(t) };
|
|
33742
33746
|
}, ile = function(e) {
|
|
33743
|
-
var t = e.center, n = e.data, r = e.transitionMode, i = e.label, o = e.radiusOffset, a = e.skipAngle, s = e.textColor, l = e.component, c = l === void 0 ? Qse : l, u = Vi(i), d =
|
|
33747
|
+
var t = e.center, n = e.data, r = e.transitionMode, i = e.label, o = e.radiusOffset, a = e.skipAngle, s = e.textColor, l = e.component, c = l === void 0 ? Qse : l, u = Vi(i), d = Jt(), f = Nr(s, d), h = Se(function() {
|
|
33744
33748
|
return n.filter(function(y) {
|
|
33745
33749
|
return Math.abs(Yf(y.arc.endAngle - y.arc.startAngle)) >= a;
|
|
33746
33750
|
});
|
|
@@ -33749,7 +33753,7 @@ var Xse = { pointerEvents: "none" }, Qse = function(e) {
|
|
|
33749
33753
|
return Mt(b, { key: C.id, datum: C, label: u(C), style: yn({}, y, { transform: v(y.startAngle, y.endAngle, y.innerRadius, y.outerRadius), textColor: f(C) }) });
|
|
33750
33754
|
}) });
|
|
33751
33755
|
}, ole = function(e) {
|
|
33752
|
-
var t = e.label, n = e.style, r =
|
|
33756
|
+
var t = e.label, n = e.style, r = Jt();
|
|
33753
33757
|
return m.jsxs(rt.g, { opacity: n.opacity, children: [m.jsx(rt.path, { fill: "none", stroke: n.linkColor, strokeWidth: n.thickness, d: n.path }), m.jsx(rt.text, { transform: n.textPosition, textAnchor: n.textAnchor, dominantBaseline: "central", style: yn({}, r.labels.text, { fill: n.textColor }), children: t })] });
|
|
33754
33758
|
}, ale = function(e) {
|
|
33755
33759
|
var t = P$(e.startAngle + (e.endAngle - e.startAngle) / 2 - Math.PI / 2);
|
|
@@ -33776,7 +33780,7 @@ var Xse = { pointerEvents: "none" }, Qse = function(e) {
|
|
|
33776
33780
|
return y === "before" ? C.x -= g : C.x += g, "translate(" + C.x + "," + C.y + ")";
|
|
33777
33781
|
});
|
|
33778
33782
|
}, dle = function(e) {
|
|
33779
|
-
var t = e.data, n = e.offset, r = n === void 0 ? 0 : n, i = e.diagonalLength, o = e.straightLength, a = e.skipAngle, s = a === void 0 ? 0 : a, l = e.textOffset, c = e.linkColor, u = e.textColor, d = Gn(), f = d.animate, h = d.config, p =
|
|
33783
|
+
var t = e.data, n = e.offset, r = n === void 0 ? 0 : n, i = e.diagonalLength, o = e.straightLength, a = e.skipAngle, s = a === void 0 ? 0 : a, l = e.textOffset, c = e.linkColor, u = e.textColor, d = Gn(), f = d.animate, h = d.config, p = Jt(), g = Nr(c, p), v = Nr(u, p), b = function(C, S) {
|
|
33780
33784
|
return Se(function() {
|
|
33781
33785
|
return Jse(C, S);
|
|
33782
33786
|
}, [C, S]);
|
|
@@ -33822,7 +33826,7 @@ var Xse = { pointerEvents: "none" }, Qse = function(e) {
|
|
|
33822
33826
|
return s.id;
|
|
33823
33827
|
}, initial: a.update, from: a.enter, enter: a.update, update: a.update, leave: a.leave, config: o, immediate: !i }), interpolate: gle };
|
|
33824
33828
|
}, ple = function(e) {
|
|
33825
|
-
var t = e.center, n = e.data, r = e.arcGenerator, i = e.borderWidth, o = e.borderColor, a = e.onClick, s = e.onMouseEnter, l = e.onMouseMove, c = e.onMouseLeave, u = e.transitionMode, d = e.component, f = d === void 0 ? hle : d, h =
|
|
33829
|
+
var t = e.center, n = e.data, r = e.arcGenerator, i = e.borderWidth, o = e.borderColor, a = e.onClick, s = e.onMouseEnter, l = e.onMouseMove, c = e.onMouseLeave, u = e.transitionMode, d = e.component, f = d === void 0 ? hle : d, h = Jt(), p = Nr(o, h), g = vle(n, u, { enter: function(C) {
|
|
33826
33830
|
return { opacity: 0, color: C.color, borderColor: p(C) };
|
|
33827
33831
|
}, update: function(C) {
|
|
33828
33832
|
return { opacity: 1, color: C.color, borderColor: p(C) };
|
|
@@ -34010,8 +34014,8 @@ const Tle = Bt.span`
|
|
|
34010
34014
|
},
|
|
34011
34015
|
children: n ? "Data niet openbaar beschikbaar" : ""
|
|
34012
34016
|
}
|
|
34013
|
-
)), h = ({ data: p }) => /* @__PURE__ */ m.jsx(
|
|
34014
|
-
(g, v) => /* @__PURE__ */ m.jsxs(
|
|
34017
|
+
)), h = ({ data: p }) => /* @__PURE__ */ m.jsx(Kt, { gap: 16, className: "gf-full", justify: "center", wrap: !0, style: { width: c }, children: p == null ? void 0 : p.map(
|
|
34018
|
+
(g, v) => /* @__PURE__ */ m.jsxs(Kt, { gap: 8, align: "center", children: [
|
|
34015
34019
|
/* @__PURE__ */ m.jsx("div", { style: {
|
|
34016
34020
|
minWidth: 16,
|
|
34017
34021
|
minHeight: 16,
|
|
@@ -34022,7 +34026,7 @@ const Tle = Bt.span`
|
|
|
34022
34026
|
) });
|
|
34023
34027
|
return /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
34024
34028
|
/* @__PURE__ */ m.jsx($n, {}),
|
|
34025
|
-
/* @__PURE__ */ m.jsxs(
|
|
34029
|
+
/* @__PURE__ */ m.jsxs(Kt, { vertical: !0, gap: 8, align: "center", style: { width: "100%" }, children: [
|
|
34026
34030
|
/* @__PURE__ */ m.jsx(Tle, { children: t }),
|
|
34027
34031
|
/* @__PURE__ */ m.jsx("div", { style: { width: "100%", height: l }, children: /* @__PURE__ */ m.jsx(
|
|
34028
34032
|
Vle,
|
|
@@ -34722,7 +34726,7 @@ var Y$ = function(e) {
|
|
|
34722
34726
|
});
|
|
34723
34727
|
return c;
|
|
34724
34728
|
}, Fue = gt(function(e) {
|
|
34725
|
-
var t, n = e.value, r = e.format, i = e.lineX, o = e.lineY, a = e.onClick, s = e.textBaseline, l = e.textAnchor, c = e.animatedProps, u =
|
|
34729
|
+
var t, n = e.value, r = e.format, i = e.lineX, o = e.lineY, a = e.onClick, s = e.textBaseline, l = e.textAnchor, c = e.animatedProps, u = Jt(), d = u.axis.ticks.line, f = u.axis.ticks.text, h = (t = r == null ? void 0 : r(n)) != null ? t : n, p = Se(function() {
|
|
34726
34730
|
var g = { opacity: c.opacity };
|
|
34727
34731
|
return a ? { style: ei({}, g, { cursor: "pointer" }), onClick: function(v) {
|
|
34728
34732
|
return a(v, h);
|
|
@@ -34730,7 +34734,7 @@ var Y$ = function(e) {
|
|
|
34730
34734
|
}, [c.opacity, a, h]);
|
|
34731
34735
|
return m.jsxs(rt.g, ei({ transform: c.transform }, p, { children: [m.jsx("line", { x1: 0, x2: i, y1: 0, y2: o, style: d }), f.outlineWidth > 0 && m.jsx(rt.text, { dominantBaseline: s, textAnchor: l, transform: c.textTransform, style: f, strokeWidth: 2 * f.outlineWidth, stroke: f.outlineColor, strokeLinejoin: "round", children: "" + h }), m.jsx(rt.text, { dominantBaseline: s, textAnchor: l, transform: c.textTransform, style: L4(f), children: "" + h })] }));
|
|
34732
34736
|
}), Due = function(e) {
|
|
34733
|
-
var t = e.axis, n = e.scale, r = e.x, i = r === void 0 ? 0 : r, o = e.y, a = o === void 0 ? 0 : o, s = e.length, l = e.ticksPosition, c = e.tickValues, u = e.tickSize, d = u === void 0 ? 5 : u, f = e.tickPadding, h = f === void 0 ? 5 : f, p = e.tickRotation, g = p === void 0 ? 0 : p, v = e.format, b = e.renderTick, y = b === void 0 ? Fue : b, C = e.truncateTickAt, S = e.legend, w = e.legendPosition, $ = w === void 0 ? "end" : w, V = e.legendOffset, _ = V === void 0 ? 0 : V, M = e.onClick, E = e.ariaHidden, R =
|
|
34737
|
+
var t = e.axis, n = e.scale, r = e.x, i = r === void 0 ? 0 : r, o = e.y, a = o === void 0 ? 0 : o, s = e.length, l = e.ticksPosition, c = e.tickValues, u = e.tickSize, d = u === void 0 ? 5 : u, f = e.tickPadding, h = f === void 0 ? 5 : f, p = e.tickRotation, g = p === void 0 ? 0 : p, v = e.format, b = e.renderTick, y = b === void 0 ? Fue : b, C = e.truncateTickAt, S = e.legend, w = e.legendPosition, $ = w === void 0 ? "end" : w, V = e.legendOffset, _ = V === void 0 ? 0 : V, M = e.onClick, E = e.ariaHidden, R = Jt(), I = R.axis.legend.text, j = Se(function() {
|
|
34734
34738
|
return K$(v, n);
|
|
34735
34739
|
}, [v, n]), H = Y$({ axis: t, scale: n, ticksPosition: l, tickValues: c, tickSize: d, tickPadding: h, tickRotation: g, truncateTickAt: C }), T = H.ticks, k = H.textAlign, O = H.textBaseline, L = null;
|
|
34736
34740
|
if (S !== void 0) {
|
|
@@ -34756,7 +34760,7 @@ var Y$ = function(e) {
|
|
|
34756
34760
|
return m.jsx(zue, ei({}, s, { axis: l ? "x" : "y", x: a === "right" ? r : 0, y: a === "bottom" ? i : 0, scale: l ? t : n, length: l ? r : i, ticksPosition: a === "top" || a === "left" ? "before" : "after", truncateTickAt: s.truncateTickAt }), a);
|
|
34757
34761
|
}) });
|
|
34758
34762
|
}), Bue = gt(function(e) {
|
|
34759
|
-
var t = e.animatedProps, n =
|
|
34763
|
+
var t = e.animatedProps, n = Jt();
|
|
34760
34764
|
return m.jsx(rt.line, ei({}, t, n.grid.line));
|
|
34761
34765
|
}), y9 = gt(function(e) {
|
|
34762
34766
|
var t = e.lines, n = Gn(), r = n.animate, i = n.config, o = Tr(t, { keys: function(a) {
|
|
@@ -34929,10 +34933,10 @@ var Qh = { dotSize: 4, noteWidth: 120, noteTextOffset: 8, animate: !0 }, R1e = f
|
|
|
34929
34933
|
return L1e(e);
|
|
34930
34934
|
}, [e]);
|
|
34931
34935
|
}, N1e = function(e) {
|
|
34932
|
-
var t = e.datum, n = e.x, r = e.y, i = e.note, o =
|
|
34936
|
+
var t = e.datum, n = e.x, r = e.y, i = e.note, o = Jt(), a = Gn(), s = a.animate, l = a.config, c = sn({ x: n, y: r, config: l, immediate: !s });
|
|
34933
34937
|
return typeof i == "function" ? Mt(i, { x: n, y: r, datum: t }) : m.jsxs(m.Fragment, { children: [o.annotations.text.outlineWidth > 0 && m.jsx(rt.text, { x: c.x, y: c.y, style: Yo({}, o.annotations.text, { strokeLinejoin: "round", strokeWidth: 2 * o.annotations.text.outlineWidth, stroke: o.annotations.text.outlineColor }), children: i }), m.jsx(rt.text, { x: c.x, y: c.y, style: as(o.annotations.text, ["outlineWidth", "outlineColor"]), children: i })] });
|
|
34934
34938
|
}, x9 = function(e) {
|
|
34935
|
-
var t = e.points, n = e.isOutline, r = n !== void 0 && n, i =
|
|
34939
|
+
var t = e.points, n = e.isOutline, r = n !== void 0 && n, i = Jt(), o = Se(function() {
|
|
34936
34940
|
var l = t[0];
|
|
34937
34941
|
return t.slice(1).reduce(function(c, u) {
|
|
34938
34942
|
return c + " L" + u[0] + "," + u[1];
|
|
@@ -34942,13 +34946,13 @@ var Qh = { dotSize: 4, noteWidth: 120, noteTextOffset: 8, animate: !0 }, R1e = f
|
|
|
34942
34946
|
var s = Yo({}, i.annotations.link);
|
|
34943
34947
|
return r && (s.strokeLinecap = "square", s.strokeWidth = i.annotations.link.strokeWidth + 2 * i.annotations.link.outlineWidth, s.stroke = i.annotations.link.outlineColor, s.opacity = i.annotations.link.outlineOpacity), m.jsx(rt.path, { fill: "none", d: a, style: s });
|
|
34944
34948
|
}, F1e = function(e) {
|
|
34945
|
-
var t = e.x, n = e.y, r = e.size, i =
|
|
34949
|
+
var t = e.x, n = e.y, r = e.size, i = Jt(), o = Gn(), a = o.animate, s = o.config, l = sn({ x: t, y: n, radius: r / 2, config: s, immediate: !a });
|
|
34946
34950
|
return m.jsxs(m.Fragment, { children: [i.annotations.outline.outlineWidth > 0 && m.jsx(rt.circle, { cx: l.x, cy: l.y, r: l.radius, style: Yo({}, i.annotations.outline, { fill: "none", strokeWidth: i.annotations.outline.strokeWidth + 2 * i.annotations.outline.outlineWidth, stroke: i.annotations.outline.outlineColor, opacity: i.annotations.outline.outlineOpacity }) }), m.jsx(rt.circle, { cx: l.x, cy: l.y, r: l.radius, style: i.annotations.outline })] });
|
|
34947
34951
|
}, D1e = function(e) {
|
|
34948
|
-
var t = e.x, n = e.y, r = e.size, i = r === void 0 ? Qh.dotSize : r, o =
|
|
34952
|
+
var t = e.x, n = e.y, r = e.size, i = r === void 0 ? Qh.dotSize : r, o = Jt(), a = Gn(), s = a.animate, l = a.config, c = sn({ x: t, y: n, radius: i / 2, config: l, immediate: !s });
|
|
34949
34953
|
return m.jsxs(m.Fragment, { children: [o.annotations.outline.outlineWidth > 0 && m.jsx(rt.circle, { cx: c.x, cy: c.y, r: c.radius, style: Yo({}, o.annotations.outline, { fill: "none", strokeWidth: 2 * o.annotations.outline.outlineWidth, stroke: o.annotations.outline.outlineColor, opacity: o.annotations.outline.outlineOpacity }) }), m.jsx(rt.circle, { cx: c.x, cy: c.y, r: c.radius, style: o.annotations.symbol })] });
|
|
34950
34954
|
}, z1e = function(e) {
|
|
34951
|
-
var t = e.x, n = e.y, r = e.width, i = e.height, o = e.borderRadius, a = o === void 0 ? 6 : o, s =
|
|
34955
|
+
var t = e.x, n = e.y, r = e.width, i = e.height, o = e.borderRadius, a = o === void 0 ? 6 : o, s = Jt(), l = Gn(), c = l.animate, u = l.config, d = sn({ x: t - r / 2, y: n - i / 2, width: r, height: i, config: u, immediate: !c });
|
|
34952
34956
|
return m.jsxs(m.Fragment, { children: [s.annotations.outline.outlineWidth > 0 && m.jsx(rt.rect, { x: d.x, y: d.y, rx: a, ry: a, width: d.width, height: d.height, style: Yo({}, s.annotations.outline, { fill: "none", strokeWidth: s.annotations.outline.strokeWidth + 2 * s.annotations.outline.outlineWidth, stroke: s.annotations.outline.outlineColor, opacity: s.annotations.outline.outlineOpacity }) }), m.jsx(rt.rect, { x: d.x, y: d.y, rx: a, ry: a, width: d.width, height: d.height, style: s.annotations.outline })] });
|
|
34953
34957
|
}, B1e = function(e) {
|
|
34954
34958
|
var t = e.datum, n = e.x, r = e.y, i = e.note, o = A1e(e);
|
|
@@ -35853,7 +35857,7 @@ var gde = function(e) {
|
|
|
35853
35857
|
return m.jsx(Sde, Dr({ width: n, height: r }, e));
|
|
35854
35858
|
} });
|
|
35855
35859
|
}, $de = ["isInteractive", "renderWrapper", "theme"], Mde = function(e) {
|
|
35856
|
-
var t = e.data, n = e.xScale, r = n === void 0 ? fr.xScale : n, i = e.xFormat, o = e.yScale, a = o === void 0 ? fr.yScale : o, s = e.yFormat, l = e.width, c = e.height, u = e.margin, d = e.pixelRatio, f = d === void 0 ? fr.pixelRatio : d, h = e.layers, p = h === void 0 ? fr.layers : h, g = e.colors, v = g === void 0 ? fr.colors : g, b = e.nodeId, y = b === void 0 ? Mn.nodeId : b, C = e.nodeSize, S = C === void 0 ? fr.nodeSize : C, w = e.renderNode, $ = w === void 0 ? fr.renderNode : w, V = e.enableGridX, _ = V === void 0 ? fr.enableGridX : V, M = e.gridXValues, E = e.enableGridY, R = E === void 0 ? fr.enableGridY : E, I = e.gridYValues, j = e.axisTop, H = e.axisRight, T = e.axisBottom, k = T === void 0 ? fr.axisBottom : T, O = e.axisLeft, L = O === void 0 ? fr.axisLeft : O, P = e.annotations, A = P === void 0 ? fr.annotations : P, D = e.isInteractive, U = D === void 0 ? fr.isInteractive : D, q = e.debugMesh, G = q === void 0 ? fr.debugMesh : q, J = e.onMouseEnter, X = e.onMouseMove, Y = e.onMouseLeave, Q = e.onClick, B = e.tooltip, W = B === void 0 ? fr.tooltip : B, Z = e.legends, N = Z === void 0 ? fr.legends : Z, ne = e.canvasRef, z = je(null), re =
|
|
35860
|
+
var t = e.data, n = e.xScale, r = n === void 0 ? fr.xScale : n, i = e.xFormat, o = e.yScale, a = o === void 0 ? fr.yScale : o, s = e.yFormat, l = e.width, c = e.height, u = e.margin, d = e.pixelRatio, f = d === void 0 ? fr.pixelRatio : d, h = e.layers, p = h === void 0 ? fr.layers : h, g = e.colors, v = g === void 0 ? fr.colors : g, b = e.nodeId, y = b === void 0 ? Mn.nodeId : b, C = e.nodeSize, S = C === void 0 ? fr.nodeSize : C, w = e.renderNode, $ = w === void 0 ? fr.renderNode : w, V = e.enableGridX, _ = V === void 0 ? fr.enableGridX : V, M = e.gridXValues, E = e.enableGridY, R = E === void 0 ? fr.enableGridY : E, I = e.gridYValues, j = e.axisTop, H = e.axisRight, T = e.axisBottom, k = T === void 0 ? fr.axisBottom : T, O = e.axisLeft, L = O === void 0 ? fr.axisLeft : O, P = e.annotations, A = P === void 0 ? fr.annotations : P, D = e.isInteractive, U = D === void 0 ? fr.isInteractive : D, q = e.debugMesh, G = q === void 0 ? fr.debugMesh : q, J = e.onMouseEnter, X = e.onMouseMove, Y = e.onMouseLeave, Q = e.onClick, B = e.tooltip, W = B === void 0 ? fr.tooltip : B, Z = e.legends, N = Z === void 0 ? fr.legends : Z, ne = e.canvasRef, z = je(null), re = Jt(), ie = pt(null), ge = ie[0], ye = ie[1], pe = ns(l, c, u), be = pe.margin, we = pe.innerWidth, ve = pe.innerHeight, he = pe.outerWidth, le = pe.outerHeight, $e = lM({ data: t, xScaleSpec: r, xFormat: i, yScaleSpec: a, yFormat: s, width: we, height: ve, nodeId: y, nodeSize: S, colors: v }), fe = $e.xScale, Fe = $e.yScale, Ne = $e.nodes, Te = $e.legendData, ke = cM(Ne, A), Qe = W4({ points: Ne, width: we, height: ve, debug: G }), et = Qe.delaunay, Be = Qe.voronoi, Pe = Se(function() {
|
|
35857
35861
|
return { xScale: fe, yScale: Fe, nodes: Ne, margin: be, innerWidth: we, innerHeight: ve, outerWidth: he, outerHeight: le };
|
|
35858
35862
|
}, [fe, Fe, Ne, be, we, ve, he, le]);
|
|
35859
35863
|
St(function() {
|
|
@@ -36528,7 +36532,7 @@ var e2e = function(e, t) {
|
|
|
36528
36532
|
return "translate(" + (r - (o === 0 ? 0 : 5)) + "px," + (i - (o === 0 ? 5 : 0)) + "px) rotate(" + o + "deg)";
|
|
36529
36533
|
});
|
|
36530
36534
|
}, i2e = gt(function(e) {
|
|
36531
|
-
var t = e.node, n = e.animatedProps, r = e.borderWidth, i = e.enableLabel, o = e.enableParentLabel, a = e.labelSkipSize, s =
|
|
36535
|
+
var t = e.node, n = e.animatedProps, r = e.borderWidth, i = e.enableLabel, o = e.enableParentLabel, a = e.labelSkipSize, s = Jt(), l = i && t.isLeaf && (a === 0 || Math.min(t.width, t.height) > a), c = o && t.isParent;
|
|
36532
36536
|
return m.jsxs(rt.g, { transform: e2e(n.x, n.y), children: [m.jsx(rt.rect, { "data-testid": "node." + t.id, width: An(n.width, function(u) {
|
|
36533
36537
|
return Math.max(u, 0);
|
|
36534
36538
|
}), height: An(n.height, function(u) {
|
|
@@ -36538,9 +36542,9 @@ var e2e = function(e, t) {
|
|
|
36538
36542
|
var t = e.node;
|
|
36539
36543
|
return m.jsx(Gs, { id: t.id, value: t.formattedValue, enableChip: !0, color: t.color });
|
|
36540
36544
|
}), a2e = gt(function(e) {
|
|
36541
|
-
var t = e.node, n = e.animatedProps, r = e.borderWidth, i = e.enableLabel, o = e.enableParentLabel, a = e.labelSkipSize, s =
|
|
36545
|
+
var t = e.node, n = e.animatedProps, r = e.borderWidth, i = e.enableLabel, o = e.enableParentLabel, a = e.labelSkipSize, s = Jt(), l = i && t.isLeaf && (a === 0 || Math.min(t.width, t.height) > a), c = o && t.isParent;
|
|
36542
36546
|
return m.jsxs(rt.div, { "data-testid": "node." + t.id, id: t.path.replace(/[^\w]/gi, "-"), style: { boxSizing: "border-box", position: "absolute", top: 0, left: 0, transform: t2e(n.x, n.y), width: n.width, height: n.height, borderWidth: r, borderStyle: "solid", borderColor: t.borderColor, overflow: "hidden" }, children: [m.jsx(rt.div, { style: { boxSizing: "border-box", position: "absolute", top: 0, left: 0, opacity: t.opacity, width: n.width, height: n.height, background: n.color }, onMouseEnter: t.onMouseEnter, onMouseMove: t.onMouseMove, onMouseLeave: t.onMouseLeave, onClick: t.onClick }), l && m.jsx(rt.span, { "data-testid": "label." + t.id, style: zr({}, s.labels.text, { position: "absolute", display: "flex", top: -5, left: -5, width: 10, height: 10, justifyContent: "center", alignItems: "center", whiteSpace: "nowrap", color: t.labelTextColor, transformOrigin: "center center", transform: n2e(n.labelX, n.labelY, n.labelRotation), opacity: n.labelOpacity, pointerEvents: "none" }), children: t.label }), c && m.jsx(rt.span, { "data-testid": "parentLabel." + t.id, style: zr({}, s.labels.text, { position: "absolute", display: "flex", justifyContent: "flex-start", alignItems: "center", whiteSpace: "nowrap", width: 10, height: 10, color: t.parentLabelTextColor, transformOrigin: "top left", transform: r2e(n.parentLabelX, n.parentLabelY, n.parentLabelRotation), opacity: n.parentLabelOpacity, pointerEvents: "none" }), children: t.parentLabel })] });
|
|
36543
|
-
}), Rn = { layers: ["nodes"], identity: "id", value: "value", tile: "squarify", leavesOnly: !1, innerPadding: 0, outerPadding: 0, colors: { scheme: "nivo" }, colorBy: "pathComponents.1", nodeOpacity: 0.33, enableLabel: !0, label: "formattedValue", labelSkipSize: 0, labelTextColor: { from: "color", modifiers: [["darker", 1]] }, orientLabel: !0, enableParentLabel: !0, parentLabel: "id", parentLabelSize: 20, parentLabelPosition: "top", parentLabelPadding: 6, parentLabelTextColor: { from: "color", modifiers: [["darker", 1]] }, borderWidth: 1, borderColor: { from: "color", modifiers: [["darker", 1]] }, isInteractive: !0, tooltip: o2e, role: "img", animate: !0, motionConfig: "gentle" },
|
|
36547
|
+
}), Rn = { layers: ["nodes"], identity: "id", value: "value", tile: "squarify", leavesOnly: !1, innerPadding: 0, outerPadding: 0, colors: { scheme: "nivo" }, colorBy: "pathComponents.1", nodeOpacity: 0.33, enableLabel: !0, label: "formattedValue", labelSkipSize: 0, labelTextColor: { from: "color", modifiers: [["darker", 1]] }, orientLabel: !0, enableParentLabel: !0, parentLabel: "id", parentLabelSize: 20, parentLabelPosition: "top", parentLabelPadding: 6, parentLabelTextColor: { from: "color", modifiers: [["darker", 1]] }, borderWidth: 1, borderColor: { from: "color", modifiers: [["darker", 1]] }, isInteractive: !0, tooltip: o2e, role: "img", animate: !0, motionConfig: "gentle" }, en = zr({}, Rn, { nodeComponent: i2e, defs: [], fill: [] });
|
|
36544
36548
|
zr({}, Rn, { nodeComponent: a2e });
|
|
36545
36549
|
zr({}, Rn, { pixelRatio: typeof window < "u" && window.devicePixelRatio || 1 });
|
|
36546
36550
|
var s2e = { binary: X0e, dice: U4, slice: q4, sliceDice: Q0e, squarify: RM }, l2e = function(e) {
|
|
@@ -36572,7 +36576,7 @@ var s2e = { binary: X0e, dice: U4, slice: q4, sliceDice: Q0e, squarify: RM }, l2
|
|
|
36572
36576
|
}(ve, Y), le = he.path, $e = he.pathComponents, fe = { id: Y(ve.data), path: le, pathComponents: $e, data: as(ve.data, "children"), x: ve.x0, y: ve.y0, width: ve.x1 - ve.x0, height: ve.y1 - ve.y0, value: ve.value, formattedValue: B(ve.value), treeDepth: ve.depth, treeHeight: ve.height, isParent: ve.height > 0, isLeaf: ve.height === 0, parentLabelX: 0, parentLabelY: 0, parentLabelRotation: 0 };
|
|
36573
36577
|
return fe.labelRotation = S && fe.height > fe.width ? -90 : 0, I === "top" && (fe.parentLabelX = v + H, fe.parentLabelY = v + E / 2), I === "right" && (fe.parentLabelX = fe.width - v - E / 2, fe.parentLabelY = fe.height - v - H, fe.parentLabelRotation = -90), I === "bottom" && (fe.parentLabelX = v + H, fe.parentLabelY = fe.height - v - E / 2), I === "left" && (fe.parentLabelX = v + E / 2, fe.parentLabelY = fe.height - v - H, fe.parentLabelRotation = -90), fe.label = W(fe), fe.parentLabel = Z(fe), fe;
|
|
36574
36578
|
});
|
|
36575
|
-
}, [z, Y, B, W, S, Z, E, I, H, v]), ie =
|
|
36579
|
+
}, [z, Y, B, W, S, Z, E, I, H, v]), ie = Jt(), ge = Au(k, L), ye = Nr(U, ie), pe = Nr(G, ie), be = Nr(X, ie), we = Se(function() {
|
|
36576
36580
|
return re.map(function(ve) {
|
|
36577
36581
|
var he = zr({}, ve, { color: ge(ve), opacity: A });
|
|
36578
36582
|
return he.borderColor = ye(he), he.labelTextColor = pe(he), he.parentLabelTextColor = be(he), he;
|
|
@@ -36621,7 +36625,7 @@ var s2e = { binary: X0e, dice: U4, slice: q4, sliceDice: Q0e, squarify: RM }, l2
|
|
|
36621
36625
|
return Mt(n, { key: h.path, node: h, animatedProps: f, borderWidth: r, enableLabel: i, labelSkipSize: o, enableParentLabel: a });
|
|
36622
36626
|
}) });
|
|
36623
36627
|
}), f2e = ["isInteractive", "animate", "motionConfig", "theme", "renderWrapper"], h2e = function(e) {
|
|
36624
|
-
var t = e.data, n = e.identity, r = n === void 0 ?
|
|
36628
|
+
var t = e.data, n = e.identity, r = n === void 0 ? en.identity : n, i = e.value, o = i === void 0 ? en.value : i, a = e.valueFormat, s = e.tile, l = s === void 0 ? en.tile : s, c = e.nodeComponent, u = c === void 0 ? en.nodeComponent : c, d = e.innerPadding, f = d === void 0 ? en.innerPadding : d, h = e.outerPadding, p = h === void 0 ? en.outerPadding : h, g = e.leavesOnly, v = g === void 0 ? en.leavesOnly : g, b = e.width, y = e.height, C = e.margin, S = e.layers, w = S === void 0 ? en.layers : S, $ = e.colors, V = $ === void 0 ? en.colors : $, _ = e.colorBy, M = _ === void 0 ? en.colorBy : _, E = e.nodeOpacity, R = E === void 0 ? en.nodeOpacity : E, I = e.borderWidth, j = I === void 0 ? en.borderWidth : I, H = e.borderColor, T = H === void 0 ? en.borderColor : H, k = e.defs, O = k === void 0 ? en.defs : k, L = e.fill, P = L === void 0 ? en.fill : L, A = e.enableLabel, D = A === void 0 ? en.enableLabel : A, U = e.label, q = U === void 0 ? en.label : U, G = e.labelTextColor, J = G === void 0 ? en.labelTextColor : G, X = e.orientLabel, Y = X === void 0 ? en.orientLabel : X, Q = e.labelSkipSize, B = Q === void 0 ? en.labelSkipSize : Q, W = e.enableParentLabel, Z = W === void 0 ? en.enableParentLabel : W, N = e.parentLabel, ne = N === void 0 ? en.parentLabel : N, z = e.parentLabelSize, re = z === void 0 ? en.parentLabelSize : z, ie = e.parentLabelPosition, ge = ie === void 0 ? en.parentLabelPosition : ie, ye = e.parentLabelPadding, pe = ye === void 0 ? en.parentLabelPadding : ye, be = e.parentLabelTextColor, we = be === void 0 ? en.parentLabelTextColor : be, ve = e.isInteractive, he = ve === void 0 ? en.isInteractive : ve, le = e.onMouseEnter, $e = e.onMouseMove, fe = e.onMouseLeave, Fe = e.onClick, Ne = e.tooltip, Te = Ne === void 0 ? en.tooltip : Ne, ke = e.role, Qe = e.ariaLabel, et = e.ariaLabelledBy, Be = e.ariaDescribedBy, Pe = ns(b, y, C), tt = Pe.margin, Ge = Pe.innerWidth, Ke = Pe.innerHeight, ue = Pe.outerWidth, He = Pe.outerHeight, Je = c2e({ data: t, identity: r, value: o, valueFormat: a, leavesOnly: v, width: Ge, height: Ke, tile: l, innerPadding: f, outerPadding: p, colors: V, colorBy: M, nodeOpacity: R, borderColor: T, label: q, labelTextColor: J, orientLabel: Y, enableParentLabel: Z, parentLabel: ne, parentLabelSize: re, parentLabelPosition: ge, parentLabelPadding: pe, parentLabelTextColor: we }).nodes, ot = { nodes: null };
|
|
36625
36629
|
w.includes("nodes") && (ot.nodes = m.jsx(d2e, { nodes: Je, nodeComponent: u, borderWidth: j, enableLabel: D, labelSkipSize: B, enableParentLabel: Z, isInteractive: he, onMouseEnter: le, onMouseMove: $e, onMouseLeave: fe, onClick: Fe, tooltip: Te }, "nodes"));
|
|
36626
36630
|
var De = u2e({ nodes: Je }), Ze = A4(O, Je, P);
|
|
36627
36631
|
return m.jsx(jl, { width: ue, height: He, margin: tt, defs: Ze, role: ke, ariaLabel: Qe, ariaLabelledBy: et, ariaDescribedBy: Be, children: w.map(function(We, nt) {
|
|
@@ -36629,7 +36633,7 @@ var s2e = { binary: X0e, dice: U4, slice: q4, sliceDice: Q0e, squarify: RM }, l2
|
|
|
36629
36633
|
return typeof We == "function" ? m.jsx(Xr, { children: Mt(We, De) }, nt) : (it = ot == null ? void 0 : ot[We]) != null ? it : null;
|
|
36630
36634
|
}) });
|
|
36631
36635
|
}, g2e = function(e) {
|
|
36632
|
-
var t = e.isInteractive, n = t === void 0 ?
|
|
36636
|
+
var t = e.isInteractive, n = t === void 0 ? en.isInteractive : t, r = e.animate, i = r === void 0 ? en.animate : r, o = e.motionConfig, a = o === void 0 ? en.motionConfig : o, s = e.theme, l = e.renderWrapper, c = J0e(e, f2e);
|
|
36633
36637
|
return m.jsx(rs, { animate: i, isInteractive: n, motionConfig: a, renderWrapper: l, theme: s, children: m.jsx(h2e, zr({ isInteractive: n }, c)) });
|
|
36634
36638
|
}, v2e = function(e) {
|
|
36635
36639
|
return m.jsx(oa, { children: function(t) {
|
|
@@ -36772,7 +36776,7 @@ const b2e = (e, t = 12) => {
|
|
|
36772
36776
|
}, w = ({ nodes: $ }) => $.map((V) => /* @__PURE__ */ m.jsx(S, { node: V }, V.id));
|
|
36773
36777
|
return /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
36774
36778
|
/* @__PURE__ */ m.jsx($n, {}),
|
|
36775
|
-
/* @__PURE__ */ m.jsxs(
|
|
36779
|
+
/* @__PURE__ */ m.jsxs(Kt, { gap: 16, vertical: !0, children: [
|
|
36776
36780
|
/* @__PURE__ */ m.jsx("div", { ref: b, style: { width: "100%", height: 600, ...t }, children: /* @__PURE__ */ m.jsx(
|
|
36777
36781
|
v2e,
|
|
36778
36782
|
{
|
|
@@ -36819,7 +36823,7 @@ var G4 = gt(function(e) {
|
|
|
36819
36823
|
var t = e.point;
|
|
36820
36824
|
return m.jsx(Gs, { id: m.jsxs("span", { children: ["x: ", m.jsx("strong", { children: t.data.xFormatted }), ", y:", " ", m.jsx("strong", { children: t.data.yFormatted })] }), enableChip: !0, color: t.serieColor });
|
|
36821
36825
|
}), jM = gt(function(e) {
|
|
36822
|
-
var t = e.slice, n = e.axis, r =
|
|
36826
|
+
var t = e.slice, n = e.axis, r = Jt(), i = n === "x" ? "y" : "x";
|
|
36823
36827
|
return m.jsx(xw, { rows: t.points.map(function(o) {
|
|
36824
36828
|
return [m.jsx(dd, { color: o.serieColor, style: r.tooltip.chip }, "chip"), o.serieId, m.jsx("span", { style: r.tooltip.tableCellValue, children: o.data[i + "Formatted"] }, "value")];
|
|
36825
36829
|
}) });
|
|
@@ -36875,7 +36879,7 @@ var M2e = function(e) {
|
|
|
36875
36879
|
}
|
|
36876
36880
|
}, [t, n, o, r, i]);
|
|
36877
36881
|
}, E2e = "line", PM = function(e) {
|
|
36878
|
-
var t = e.data, n = e.xScale, r = n === void 0 ? ko.xScale : n, i = e.xFormat, o = e.yScale, a = o === void 0 ? ko.yScale : o, s = e.yFormat, l = e.width, c = e.height, u = e.colors, d = u === void 0 ? ko.colors : u, f = e.curve, h = f === void 0 ? ko.curve : f, p = e.areaBaselineValue, g = p === void 0 ? ko.areaBaselineValue : p, v = e.pointColor, b = v === void 0 ? ko.pointColor : v, y = e.pointBorderColor, C = y === void 0 ? ko.pointBorderColor : y, S = e.enableSlices, w = S === void 0 ? ko.enableSlicesTooltip : S, $ = pt($2e(E2e))[0], V = qo(i), _ = qo(s), M = Au(d, "id"), E =
|
|
36882
|
+
var t = e.data, n = e.xScale, r = n === void 0 ? ko.xScale : n, i = e.xFormat, o = e.yScale, a = o === void 0 ? ko.yScale : o, s = e.yFormat, l = e.width, c = e.height, u = e.colors, d = u === void 0 ? ko.colors : u, f = e.curve, h = f === void 0 ? ko.curve : f, p = e.areaBaselineValue, g = p === void 0 ? ko.areaBaselineValue : p, v = e.pointColor, b = v === void 0 ? ko.pointColor : v, y = e.pointBorderColor, C = y === void 0 ? ko.pointBorderColor : y, S = e.enableSlices, w = S === void 0 ? ko.enableSlicesTooltip : S, $ = pt($2e(E2e))[0], V = qo(i), _ = qo(s), M = Au(d, "id"), E = Jt(), R = Nr(b, E), I = Nr(C, E), j = pt([]), H = j[0], T = j[1], k = Se(function() {
|
|
36879
36883
|
return W$(t.filter(function(X) {
|
|
36880
36884
|
return H.indexOf(X.id) === -1;
|
|
36881
36885
|
}), r, a, l, c);
|
|
@@ -36967,7 +36971,7 @@ var M2e = function(e) {
|
|
|
36967
36971
|
return m.jsx(j2e, { slice: g, slices: t, axis: n, debug: r, height: i, tooltip: o, setCurrent: s, isCurrent: a !== null && a.id === g.id, onMouseEnter: l, onMouseMove: c, onMouseLeave: u, onClick: d, onTouchStart: f, onTouchMove: h, onTouchEnd: p }, g.id);
|
|
36968
36972
|
});
|
|
36969
36973
|
}), P2e = gt(function(e) {
|
|
36970
|
-
var t = e.points, n = e.symbol, r = e.size, i = e.borderWidth, o = e.enableLabel, a = e.label, s = e.labelYOffset, l =
|
|
36974
|
+
var t = e.points, n = e.symbol, r = e.size, i = e.borderWidth, o = e.enableLabel, a = e.label, s = e.labelYOffset, l = Jt(), c = Hie(a), u = t.slice(0).reverse().map(function(d) {
|
|
36971
36975
|
return { id: d.id, x: d.x, y: d.y, datum: d.data, fill: d.color, stroke: d.borderColor, label: o ? c(d) : null };
|
|
36972
36976
|
});
|
|
36973
36977
|
return m.jsx("g", { children: u.map(function(d) {
|
|
@@ -36991,7 +36995,7 @@ var M2e = function(e) {
|
|
|
36991
36995
|
}, [f, y]);
|
|
36992
36996
|
return m.jsx(iM, { nodes: t, width: n, height: r, setCurrent: o, onMouseEnter: C, onMouseMove: S, onMouseLeave: w, onClick: $, onTouchStart: V, onTouchMove: _, onTouchEnd: M, enableTouchCrosshair: g, debug: p });
|
|
36993
36997
|
}), I2e = b$(function(e) {
|
|
36994
|
-
var t = e.data, n = e.xScale, r = n === void 0 ? { type: "point" } : n, i = e.xFormat, o = e.yScale, a = o === void 0 ? { type: "linear", min: 0, max: "auto" } : o, s = e.yFormat, l = e.layers, c = l === void 0 ? ["grid", "markers", "axes", "areas", "crosshair", "lines", "points", "slices", "mesh", "legends"] : l, u = e.curve, d = u === void 0 ? "linear" : u, f = e.areaBaselineValue, h = f === void 0 ? 0 : f, p = e.colors, g = p === void 0 ? { scheme: "nivo" } : p, v = e.margin, b = e.width, y = e.height, C = e.axisTop, S = e.axisRight, w = e.axisBottom, $ = w === void 0 ? {} : w, V = e.axisLeft, _ = V === void 0 ? {} : V, M = e.enableGridX, E = M === void 0 || M, R = e.enableGridY, I = R === void 0 || R, j = e.gridXValues, H = e.gridYValues, T = e.lineWidth, k = T === void 0 ? 2 : T, O = e.enableArea, L = O !== void 0 && O, P = e.areaOpacity, A = P === void 0 ? 0.2 : P, D = e.areaBlendMode, U = D === void 0 ? "normal" : D, q = e.enablePoints, G = q === void 0 || q, J = e.pointSymbol, X = e.pointSize, Y = X === void 0 ? 6 : X, Q = e.pointColor, B = Q === void 0 ? { from: "color" } : Q, W = e.pointBorderWidth, Z = W === void 0 ? 0 : W, N = e.pointBorderColor, ne = N === void 0 ? { theme: "background" } : N, z = e.enablePointLabel, re = z !== void 0 && z, ie = e.pointLabel, ge = ie === void 0 ? "data.yFormatted" : ie, ye = e.pointLabelYOffset, pe = e.defs, be = pe === void 0 ? [] : pe, we = e.fill, ve = we === void 0 ? [] : we, he = e.markers, le = e.legends, $e = le === void 0 ? [] : le, fe = e.isInteractive, Fe = fe === void 0 || fe, Ne = e.useMesh, Te = Ne !== void 0 && Ne, ke = e.debugMesh, Qe = ke !== void 0 && ke, et = e.onMouseEnter, Be = e.onMouseMove, Pe = e.onMouseLeave, tt = e.onClick, Ge = e.onTouchStart, Ke = e.onTouchMove, ue = e.onTouchEnd, He = e.tooltip, Je = He === void 0 ? G4 : He, ot = e.enableSlices, De = ot !== void 0 && ot, Ze = e.debugSlices, We = Ze !== void 0 && Ze, nt = e.sliceTooltip, it = nt === void 0 ? jM : nt, Ue = e.enableCrosshair, Le = Ue === void 0 || Ue, ft = e.crosshairType, wt = ft === void 0 ? "bottom-left" : ft, Ee = e.enableTouchCrosshair, de = Ee !== void 0 && Ee, Ce = e.role, Oe = Ce === void 0 ? "img" : Ce, Xe = ns(b, y, v), qe = Xe.margin, at = Xe.innerWidth, K = Xe.innerHeight, oe = Xe.outerWidth, ae = Xe.outerHeight, Ve = PM({ data: t, xScale: r, xFormat: i, yScale: a, yFormat: s, width: at, height: K, colors: g, curve: d, areaBaselineValue: h, pointColor: B, pointBorderColor: ne, enableSlices: De }), st = Ve.legendData, ct = Ve.toggleSerie, ut = Ve.lineGenerator, mt = Ve.areaGenerator, me = Ve.series, xe = Ve.xScale, Re = Ve.yScale, lt = Ve.slices, xt = Ve.points, Ht =
|
|
36998
|
+
var t = e.data, n = e.xScale, r = n === void 0 ? { type: "point" } : n, i = e.xFormat, o = e.yScale, a = o === void 0 ? { type: "linear", min: 0, max: "auto" } : o, s = e.yFormat, l = e.layers, c = l === void 0 ? ["grid", "markers", "axes", "areas", "crosshair", "lines", "points", "slices", "mesh", "legends"] : l, u = e.curve, d = u === void 0 ? "linear" : u, f = e.areaBaselineValue, h = f === void 0 ? 0 : f, p = e.colors, g = p === void 0 ? { scheme: "nivo" } : p, v = e.margin, b = e.width, y = e.height, C = e.axisTop, S = e.axisRight, w = e.axisBottom, $ = w === void 0 ? {} : w, V = e.axisLeft, _ = V === void 0 ? {} : V, M = e.enableGridX, E = M === void 0 || M, R = e.enableGridY, I = R === void 0 || R, j = e.gridXValues, H = e.gridYValues, T = e.lineWidth, k = T === void 0 ? 2 : T, O = e.enableArea, L = O !== void 0 && O, P = e.areaOpacity, A = P === void 0 ? 0.2 : P, D = e.areaBlendMode, U = D === void 0 ? "normal" : D, q = e.enablePoints, G = q === void 0 || q, J = e.pointSymbol, X = e.pointSize, Y = X === void 0 ? 6 : X, Q = e.pointColor, B = Q === void 0 ? { from: "color" } : Q, W = e.pointBorderWidth, Z = W === void 0 ? 0 : W, N = e.pointBorderColor, ne = N === void 0 ? { theme: "background" } : N, z = e.enablePointLabel, re = z !== void 0 && z, ie = e.pointLabel, ge = ie === void 0 ? "data.yFormatted" : ie, ye = e.pointLabelYOffset, pe = e.defs, be = pe === void 0 ? [] : pe, we = e.fill, ve = we === void 0 ? [] : we, he = e.markers, le = e.legends, $e = le === void 0 ? [] : le, fe = e.isInteractive, Fe = fe === void 0 || fe, Ne = e.useMesh, Te = Ne !== void 0 && Ne, ke = e.debugMesh, Qe = ke !== void 0 && ke, et = e.onMouseEnter, Be = e.onMouseMove, Pe = e.onMouseLeave, tt = e.onClick, Ge = e.onTouchStart, Ke = e.onTouchMove, ue = e.onTouchEnd, He = e.tooltip, Je = He === void 0 ? G4 : He, ot = e.enableSlices, De = ot !== void 0 && ot, Ze = e.debugSlices, We = Ze !== void 0 && Ze, nt = e.sliceTooltip, it = nt === void 0 ? jM : nt, Ue = e.enableCrosshair, Le = Ue === void 0 || Ue, ft = e.crosshairType, wt = ft === void 0 ? "bottom-left" : ft, Ee = e.enableTouchCrosshair, de = Ee !== void 0 && Ee, Ce = e.role, Oe = Ce === void 0 ? "img" : Ce, Xe = ns(b, y, v), qe = Xe.margin, at = Xe.innerWidth, K = Xe.innerHeight, oe = Xe.outerWidth, ae = Xe.outerHeight, Ve = PM({ data: t, xScale: r, xFormat: i, yScale: a, yFormat: s, width: at, height: K, colors: g, curve: d, areaBaselineValue: h, pointColor: B, pointBorderColor: ne, enableSlices: De }), st = Ve.legendData, ct = Ve.toggleSerie, ut = Ve.lineGenerator, mt = Ve.areaGenerator, me = Ve.series, xe = Ve.xScale, Re = Ve.yScale, lt = Ve.slices, xt = Ve.points, Ht = Jt(), bt = Nr(B, Ht), Pt = Nr(ne, Ht), fn = pt(null), Wt = fn[0], xn = fn[1], br = pt(null), Ut = br[0], Nn = br[1], dt = { grid: m.jsx(J$, { theme: Ht, width: at, height: K, xScale: E ? xe : null, yScale: I ? Re : null, xValues: j, yValues: H }, "grid"), markers: m.jsx(m$, { markers: he, width: at, height: K, xScale: xe, yScale: Re, theme: Ht }, "markers"), axes: m.jsx(Q$, { xScale: xe, yScale: Re, width: at, height: K, theme: Ht, top: C, right: S, bottom: $, left: _ }, "axes"), areas: null, lines: m.jsx(R2e, { lines: me, lineGenerator: ut, lineWidth: k }, "lines"), slices: null, points: null, crosshair: null, mesh: null, legends: $e.map(function(mn, Cn) {
|
|
36995
36999
|
return m.jsx(Kf, Sr({}, mn, { containerWidth: at, containerHeight: K, data: mn.data || st, theme: Ht, toggleSerie: mn.toggleSerie ? ct : void 0 }), "legend." + Cn);
|
|
36996
37000
|
}) }, kn = A4(be, me, ve);
|
|
36997
37001
|
return L && (dt.areas = m.jsx(V2e, { areaGenerator: mt, areaOpacity: A, areaBlendMode: U, lines: me }, "areas")), Fe && De !== !1 && (dt.slices = m.jsx(k2e, { slices: lt, axis: De, debug: We, height: K, tooltip: it, current: Ut, setCurrent: Nn, onMouseEnter: et, onMouseMove: Be, onMouseLeave: Pe, onClick: tt, onTouchStart: Ge, onTouchMove: Ke, onTouchEnd: ue }, "slices")), G && (dt.points = m.jsx(P2e, { points: xt, symbol: J, size: Y, color: bt, borderWidth: Z, borderColor: Pt, enableLabel: re, label: ge, labelYOffset: ye }, "points")), Fe && Le && (Wt !== null && (dt.crosshair = m.jsx(Eh, { width: at, height: K, x: Wt.x, y: Wt.y, type: wt }, "crosshair")), Ut !== null && (dt.crosshair = m.jsx(Eh, { width: at, height: K, x: Ut.x, y: Ut.y, type: De }, "crosshair"))), Fe && Te && De === !1 && (dt.mesh = m.jsx(L2e, { points: xt, width: at, height: K, margin: qe, current: Wt, setCurrent: xn, onMouseEnter: et, onMouseMove: Be, onMouseLeave: Pe, onClick: tt, onTouchStart: Ge, onTouchMove: Ke, onTouchEnd: ue, tooltip: Je, enableTouchCrosshair: de, debug: Qe }, "mesh")), m.jsx(jl, { defs: kn, width: oe, height: ae, margin: qe, role: Oe, children: c.map(function(mn, Cn) {
|
|
@@ -37003,7 +37007,7 @@ var M2e = function(e) {
|
|
|
37003
37007
|
return m.jsx(I2e, Sr({ width: n, height: r }, e));
|
|
37004
37008
|
} });
|
|
37005
37009
|
}, N2e = b$(function(e) {
|
|
37006
|
-
var t = je(null), n = e.width, r = e.height, i = e.margin, o = e.pixelRatio, a = o === void 0 ? typeof window < "u" && window.devicePixelRatio || 1 : o, s = e.data, l = e.xScale, c = l === void 0 ? { type: "point" } : l, u = e.xFormat, d = e.yScale, f = d === void 0 ? { type: "linear", min: 0, max: "auto" } : d, h = e.yFormat, p = e.curve, g = p === void 0 ? "linear" : p, v = e.layers, b = v === void 0 ? ["grid", "markers", "axes", "areas", "crosshair", "lines", "points", "slices", "mesh", "legends"] : v, y = e.colors, C = y === void 0 ? { scheme: "nivo" } : y, S = e.lineWidth, w = S === void 0 ? 2 : S, $ = e.enableArea, V = $ !== void 0 && $, _ = e.areaBaselineValue, M = _ === void 0 ? 0 : _, E = e.areaOpacity, R = E === void 0 ? 0.2 : E, I = e.enablePoints, j = I === void 0 || I, H = e.pointSize, T = H === void 0 ? 6 : H, k = e.pointColor, O = k === void 0 ? { from: "color" } : k, L = e.pointBorderWidth, P = L === void 0 ? 0 : L, A = e.pointBorderColor, D = A === void 0 ? { theme: "background" } : A, U = e.enableGridX, q = U === void 0 || U, G = e.gridXValues, J = e.enableGridY, X = J === void 0 || J, Y = e.gridYValues, Q = e.axisTop, B = e.axisRight, W = e.axisBottom, Z = W === void 0 ? {} : W, N = e.axisLeft, ne = N === void 0 ? {} : N, z = e.legends, re = z === void 0 ? [] : z, ie = e.isInteractive, ge = ie === void 0 || ie, ye = e.debugMesh, pe = ye !== void 0 && ye, be = e.onMouseLeave, we = e.onClick, ve = e.tooltip, he = ve === void 0 ? G4 : ve, le = e.canvasRef, $e = ns(n, r, i), fe = $e.margin, Fe = $e.innerWidth, Ne = $e.innerHeight, Te = $e.outerWidth, ke = $e.outerHeight, Qe =
|
|
37010
|
+
var t = je(null), n = e.width, r = e.height, i = e.margin, o = e.pixelRatio, a = o === void 0 ? typeof window < "u" && window.devicePixelRatio || 1 : o, s = e.data, l = e.xScale, c = l === void 0 ? { type: "point" } : l, u = e.xFormat, d = e.yScale, f = d === void 0 ? { type: "linear", min: 0, max: "auto" } : d, h = e.yFormat, p = e.curve, g = p === void 0 ? "linear" : p, v = e.layers, b = v === void 0 ? ["grid", "markers", "axes", "areas", "crosshair", "lines", "points", "slices", "mesh", "legends"] : v, y = e.colors, C = y === void 0 ? { scheme: "nivo" } : y, S = e.lineWidth, w = S === void 0 ? 2 : S, $ = e.enableArea, V = $ !== void 0 && $, _ = e.areaBaselineValue, M = _ === void 0 ? 0 : _, E = e.areaOpacity, R = E === void 0 ? 0.2 : E, I = e.enablePoints, j = I === void 0 || I, H = e.pointSize, T = H === void 0 ? 6 : H, k = e.pointColor, O = k === void 0 ? { from: "color" } : k, L = e.pointBorderWidth, P = L === void 0 ? 0 : L, A = e.pointBorderColor, D = A === void 0 ? { theme: "background" } : A, U = e.enableGridX, q = U === void 0 || U, G = e.gridXValues, J = e.enableGridY, X = J === void 0 || J, Y = e.gridYValues, Q = e.axisTop, B = e.axisRight, W = e.axisBottom, Z = W === void 0 ? {} : W, N = e.axisLeft, ne = N === void 0 ? {} : N, z = e.legends, re = z === void 0 ? [] : z, ie = e.isInteractive, ge = ie === void 0 || ie, ye = e.debugMesh, pe = ye !== void 0 && ye, be = e.onMouseLeave, we = e.onClick, ve = e.tooltip, he = ve === void 0 ? G4 : ve, le = e.canvasRef, $e = ns(n, r, i), fe = $e.margin, Fe = $e.innerWidth, Ne = $e.innerHeight, Te = $e.outerWidth, ke = $e.outerHeight, Qe = Jt(), et = pt(null), Be = et[0], Pe = et[1], tt = PM({ data: s, xScale: c, xFormat: u, yScale: f, yFormat: h, width: Fe, height: Ne, colors: C, curve: g, areaBaselineValue: M, pointColor: O, pointBorderColor: D }), Ge = tt.lineGenerator, Ke = tt.areaGenerator, ue = tt.series, He = tt.xScale, Je = tt.yScale, ot = tt.points, De = W4({ points: ot, width: Fe, height: Ne, debug: pe }), Ze = De.delaunay, We = De.voronoi;
|
|
37007
37011
|
St(function() {
|
|
37008
37012
|
le && (le.current = t.current), t.current.width = Te * a, t.current.height = ke * a;
|
|
37009
37013
|
var de = t.current.getContext("2d");
|
|
@@ -37080,7 +37084,7 @@ const D2e = Bt.span`
|
|
|
37080
37084
|
G: "Verbranden",
|
|
37081
37085
|
H: "Storten",
|
|
37082
37086
|
I: "Opslag"
|
|
37083
|
-
}, B2e = () => /* @__PURE__ */ m.jsx("div", { style: { marginTop: 10, marginLeft: 10, whiteSpace: "nowrap" }, children: Object.keys(j9).map((e, t) => /* @__PURE__ */ m.jsxs(
|
|
37087
|
+
}, B2e = () => /* @__PURE__ */ m.jsx("div", { style: { marginTop: 10, marginLeft: 10, whiteSpace: "nowrap" }, children: Object.keys(j9).map((e, t) => /* @__PURE__ */ m.jsxs(Kt, { gap: 8, align: "center", children: [
|
|
37084
37088
|
/* @__PURE__ */ m.jsx(
|
|
37085
37089
|
"div",
|
|
37086
37090
|
{
|
|
@@ -37228,7 +37232,7 @@ const D2e = Bt.span`
|
|
|
37228
37232
|
]
|
|
37229
37233
|
}
|
|
37230
37234
|
) }) });
|
|
37231
|
-
}, g = ({ nodes: b }) => b.map((y) => /* @__PURE__ */ m.jsx(p, { node: y }, y.id)), v = () => /* @__PURE__ */ m.jsx("div", { style: { marginTop: 10, marginLeft: 10, whiteSpace: "nowrap" }, children: Object.keys(sc).map((b, y) => /* @__PURE__ */ m.jsxs(
|
|
37235
|
+
}, g = ({ nodes: b }) => b.map((y) => /* @__PURE__ */ m.jsx(p, { node: y }, y.id)), v = () => /* @__PURE__ */ m.jsx("div", { style: { marginTop: 10, marginLeft: 10, whiteSpace: "nowrap" }, children: Object.keys(sc).map((b, y) => /* @__PURE__ */ m.jsxs(Kt, { gap: 8, align: "center", children: [
|
|
37232
37236
|
/* @__PURE__ */ m.jsx(
|
|
37233
37237
|
"div",
|
|
37234
37238
|
{
|
|
@@ -38711,9 +38715,9 @@ var D9, Xhe = function(e) {
|
|
|
38711
38715
|
}, tge = ["color", "label"], nge = function(e) {
|
|
38712
38716
|
var t = e.color, n = e.label, r = kl(e, tge);
|
|
38713
38717
|
return m.jsx(c3e, { id: n, value: r.formattedValue, enableChip: !0, color: t });
|
|
38714
|
-
},
|
|
38718
|
+
}, tn = { indexBy: "id", keys: ["value"], groupMode: "stacked", layout: "vertical", reverse: !1, minValue: "auto", maxValue: "auto", valueScale: { type: "linear" }, indexScale: { type: "band", round: !0 }, padding: 0.1, innerPadding: 0, axisBottom: {}, axisLeft: {}, enableGridX: !1, enableGridY: !0, enableLabel: !0, label: "formattedValue", labelPosition: "middle", labelOffset: 0, labelSkipWidth: 0, labelSkipHeight: 0, labelTextColor: { from: "theme", theme: "labels.text.fill" }, colorBy: "id", colors: { scheme: "nivo" }, borderRadius: 0, borderWidth: 0, borderColor: { from: "color" }, isInteractive: !0, tooltip: nge, tooltipLabel: function(e) {
|
|
38715
38719
|
return e.id + " - " + e.indexValue;
|
|
38716
|
-
}, legends: [], initialHiddenIds: [], annotations: [], markers: [], enableTotals: !1, totalsOffset: 10 }, vn = Gt({},
|
|
38720
|
+
}, legends: [], initialHiddenIds: [], annotations: [], markers: [], enableTotals: !1, totalsOffset: 10 }, vn = Gt({}, tn, { layers: ["grid", "axes", "bars", "totals", "markers", "legends", "annotations"], barComponent: ege, defs: [], fill: [], animate: !0, motionConfig: "default", role: "img", isFocusable: !1 }), Zn = Gt({}, tn, { layers: ["grid", "axes", "bars", "totals", "legends", "annotations"], pixelRatio: typeof window < "u" && (D9 = window.devicePixelRatio) != null ? D9 : 1 }), p_ = function(e, t, n, r, i, o) {
|
|
38717
38721
|
return tp(r, { all: e.map(t), min: 0, max: 0 }, i, o).padding(n);
|
|
38718
38722
|
}, m_ = function(e, t) {
|
|
38719
38723
|
return e.map(function(n) {
|
|
@@ -38729,7 +38733,7 @@ var D9, Xhe = function(e) {
|
|
|
38729
38733
|
return [e, Number(e)];
|
|
38730
38734
|
};
|
|
38731
38735
|
function b_(e, t, n, r) {
|
|
38732
|
-
return e === void 0 && (e =
|
|
38736
|
+
return e === void 0 && (e = tn.layout), t === void 0 && (t = tn.reverse), n === void 0 && (n = tn.labelPosition), r === void 0 && (r = tn.labelOffset), function(i, o) {
|
|
38733
38737
|
var a = r * (t ? -1 : 1);
|
|
38734
38738
|
if (e === "horizontal") {
|
|
38735
38739
|
var s = i / 2;
|
|
@@ -38850,7 +38854,7 @@ var rge = ["layout", "minValue", "maxValue", "reverse", "width", "height", "padd
|
|
|
38850
38854
|
var n = e.get(t) || 0;
|
|
38851
38855
|
e.set(t, n + 1);
|
|
38852
38856
|
}, C_ = function(e) {
|
|
38853
|
-
var t = e.indexBy, n = t === void 0 ?
|
|
38857
|
+
var t = e.indexBy, n = t === void 0 ? tn.indexBy : t, r = e.keys, i = r === void 0 ? tn.keys : r, o = e.label, a = o === void 0 ? tn.label : o, s = e.tooltipLabel, l = s === void 0 ? tn.tooltipLabel : s, c = e.valueFormat, u = e.colors, d = u === void 0 ? tn.colors : u, f = e.colorBy, h = f === void 0 ? tn.colorBy : f, p = e.borderColor, g = p === void 0 ? tn.borderColor : p, v = e.labelTextColor, b = v === void 0 ? tn.labelTextColor : v, y = e.groupMode, C = y === void 0 ? tn.groupMode : y, S = e.layout, w = S === void 0 ? tn.layout : S, $ = e.reverse, V = $ === void 0 ? tn.reverse : $, _ = e.data, M = e.minValue, E = M === void 0 ? tn.minValue : M, R = e.maxValue, I = R === void 0 ? tn.maxValue : R, j = e.margin, H = e.width, T = e.height, k = e.padding, O = k === void 0 ? tn.padding : k, L = e.innerPadding, P = L === void 0 ? tn.innerPadding : L, A = e.valueScale, D = A === void 0 ? tn.valueScale : A, U = e.indexScale, q = U === void 0 ? tn.indexScale : U, G = e.initialHiddenIds, J = G === void 0 ? tn.initialHiddenIds : G, X = e.enableLabel, Y = X === void 0 ? tn.enableLabel : X, Q = e.labelSkipWidth, B = Q === void 0 ? tn.labelSkipWidth : Q, W = e.labelSkipHeight, Z = W === void 0 ? tn.labelSkipHeight : W, N = e.legends, ne = N === void 0 ? tn.legends : N, z = e.legendLabel, re = e.totalsOffset, ie = re === void 0 ? tn.totalsOffset : re, ge = pt(J ?? []), ye = ge[0], pe = ge[1], be = ze(function(ue) {
|
|
38854
38858
|
pe(function(He) {
|
|
38855
38859
|
return He.indexOf(ue) > -1 ? He.filter(function(Je) {
|
|
38856
38860
|
return Je !== ue;
|
|
@@ -38878,7 +38882,7 @@ var rge = ["layout", "minValue", "maxValue", "reverse", "width", "height", "padd
|
|
|
38878
38882
|
});
|
|
38879
38883
|
}, [ne, tt, ke, C, w, z, V]), Ke = Se(function() {
|
|
38880
38884
|
return function(ue, He, Je, ot, De, Ze, We) {
|
|
38881
|
-
ot === void 0 && (ot =
|
|
38885
|
+
ot === void 0 && (ot = tn.layout), De === void 0 && (De = tn.groupMode);
|
|
38882
38886
|
var nt = [];
|
|
38883
38887
|
if (ue.length === 0) return nt;
|
|
38884
38888
|
var it = /* @__PURE__ */ new Map(), Ue = ue[0].width, Le = ue[0].height;
|
|
@@ -39119,7 +39123,7 @@ const fg = 12, w_ = 14, $ge = Bt.tspan`
|
|
|
39119
39123
|
}), []), /* @__PURE__ */ m.jsx(m.Fragment, { children: /* @__PURE__ */ m.jsxs(Wo, { gutter: [24, 0], children: [
|
|
39120
39124
|
/* @__PURE__ */ m.jsxs(Er, { span: 12, children: [
|
|
39121
39125
|
/* @__PURE__ */ m.jsx(o3e, { ref: n, ...e }),
|
|
39122
|
-
/* @__PURE__ */ m.jsx(
|
|
39126
|
+
/* @__PURE__ */ m.jsx(Kt, { justify: "center", style: { marginTop: 16, width: "100%" }, children: /* @__PURE__ */ m.jsx(a3e, {}) })
|
|
39123
39127
|
] }),
|
|
39124
39128
|
/* @__PURE__ */ m.jsx(Er, { span: 12, children: /* @__PURE__ */ m.jsx(_ge, { ...t, height: r }) })
|
|
39125
39129
|
] }) });
|
|
@@ -39219,8 +39223,8 @@ const fg = 12, w_ = 14, $ge = Bt.tspan`
|
|
|
39219
39223
|
{ name: "Betrouwbaarheidsmarge", color: I(gn == null ? void 0 : gn[H]), shape: "circle" },
|
|
39220
39224
|
{ name: "Betrouwbaarheidsmarge", color: I(gn == null ? void 0 : gn.abiotic), shape: "circle" }
|
|
39221
39225
|
];
|
|
39222
|
-
return /* @__PURE__ */ m.jsx(
|
|
39223
|
-
(k, O) => /* @__PURE__ */ m.jsxs(
|
|
39226
|
+
return /* @__PURE__ */ m.jsx(Kt, { gap: 16, className: "gf-full", justify: "center", wrap: !0, children: T.map(
|
|
39227
|
+
(k, O) => /* @__PURE__ */ m.jsxs(Kt, { gap: 4, align: "center", children: [
|
|
39224
39228
|
k.shape === "line" ? /* @__PURE__ */ m.jsx(E, { color: k.color }) : /* @__PURE__ */ m.jsx(R, { color: k.color }),
|
|
39225
39229
|
/* @__PURE__ */ m.jsx(Ege, { children: k.name })
|
|
39226
39230
|
] }, `legend-${O}`)
|
|
@@ -39228,7 +39232,7 @@ const fg = 12, w_ = 14, $ge = Bt.tspan`
|
|
|
39228
39232
|
};
|
|
39229
39233
|
return /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
39230
39234
|
/* @__PURE__ */ m.jsx($n, {}),
|
|
39231
|
-
/* @__PURE__ */ m.jsxs(
|
|
39235
|
+
/* @__PURE__ */ m.jsxs(Kt, { vertical: !0, gap: 8, style: { width: "100%" }, children: [
|
|
39232
39236
|
/* @__PURE__ */ m.jsx("div", { style: { width: "100%", height: n, ...t }, children: /* @__PURE__ */ m.jsx(
|
|
39233
39237
|
dM,
|
|
39234
39238
|
{
|
|
@@ -39384,8 +39388,8 @@ const fg = 12, w_ = 14, $ge = Bt.tspan`
|
|
|
39384
39388
|
defs: g
|
|
39385
39389
|
};
|
|
39386
39390
|
});
|
|
39387
|
-
return /* @__PURE__ */ m.jsx(
|
|
39388
|
-
(H, T) => /* @__PURE__ */ m.jsxs(
|
|
39391
|
+
return /* @__PURE__ */ m.jsx(Kt, { gap: 16, className: "gf-full", justify: "center", wrap: !0, children: j.map(
|
|
39392
|
+
(H, T) => /* @__PURE__ */ m.jsxs(Kt, { gap: 8, align: "center", children: [
|
|
39389
39393
|
/* @__PURE__ */ m.jsx("div", { style: {
|
|
39390
39394
|
minWidth: 16,
|
|
39391
39395
|
minHeight: 16,
|
|
@@ -39414,7 +39418,7 @@ const fg = 12, w_ = 14, $ge = Bt.tspan`
|
|
|
39414
39418
|
}, E = e.slice().reverse();
|
|
39415
39419
|
return h.push("bars"), s && h.push(V), p && h.push(M), /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
39416
39420
|
/* @__PURE__ */ m.jsx($n, {}),
|
|
39417
|
-
/* @__PURE__ */ m.jsxs(
|
|
39421
|
+
/* @__PURE__ */ m.jsxs(Kt, { vertical: !0, gap: 8, style: { width: "100%" }, children: [
|
|
39418
39422
|
/* @__PURE__ */ m.jsx("div", { style: { height: t }, children: /* @__PURE__ */ m.jsx(
|
|
39419
39423
|
Pl,
|
|
39420
39424
|
{
|
|
@@ -40953,8 +40957,8 @@ const za = 12, du = 14, Rs = Bt.tspan`
|
|
|
40953
40957
|
defs: g
|
|
40954
40958
|
};
|
|
40955
40959
|
});
|
|
40956
|
-
return /* @__PURE__ */ m.jsx(
|
|
40957
|
-
(O, L) => /* @__PURE__ */ m.jsxs(
|
|
40960
|
+
return /* @__PURE__ */ m.jsx(Kt, { gap: 16, className: "gf-full", justify: "center", wrap: !0, children: k.map(
|
|
40961
|
+
(O, L) => /* @__PURE__ */ m.jsxs(Kt, { gap: 8, align: "center", children: [
|
|
40958
40962
|
/* @__PURE__ */ m.jsx("div", { style: {
|
|
40959
40963
|
minWidth: 8,
|
|
40960
40964
|
minHeight: 8,
|
|
@@ -41019,7 +41023,7 @@ const za = 12, du = 14, Rs = Bt.tspan`
|
|
|
41019
41023
|
const j = e.slice().reverse();
|
|
41020
41024
|
return /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
41021
41025
|
/* @__PURE__ */ m.jsx($n, {}),
|
|
41022
|
-
/* @__PURE__ */ m.jsxs(
|
|
41026
|
+
/* @__PURE__ */ m.jsxs(Kt, { vertical: !0, gap: 8, style: { width: "100%" }, ref: E, children: [
|
|
41023
41027
|
/* @__PURE__ */ m.jsx(_, { data: e, keys: o }),
|
|
41024
41028
|
/* @__PURE__ */ m.jsxs(Wo, { gutter: [0, 0], children: [
|
|
41025
41029
|
/* @__PURE__ */ m.jsx(Er, { span: b, children: /* @__PURE__ */ m.jsx(M, { value: o[0], labels: !0 }) }),
|
|
@@ -41081,8 +41085,8 @@ const za = 12, du = 14, Rs = Bt.tspan`
|
|
|
41081
41085
|
name: b,
|
|
41082
41086
|
color: Q2[b]
|
|
41083
41087
|
}));
|
|
41084
|
-
return /* @__PURE__ */ m.jsx(
|
|
41085
|
-
(b, y) => /* @__PURE__ */ m.jsxs(
|
|
41088
|
+
return /* @__PURE__ */ m.jsx(Kt, { gap: 16, className: "gf-full", justify: "center", wrap: !0, children: v.map(
|
|
41089
|
+
(b, y) => /* @__PURE__ */ m.jsxs(Kt, { gap: 8, align: "center", children: [
|
|
41086
41090
|
/* @__PURE__ */ m.jsx("div", { style: {
|
|
41087
41091
|
minWidth: 16,
|
|
41088
41092
|
minHeight: 16,
|
|
@@ -41094,7 +41098,7 @@ const za = 12, du = 14, Rs = Bt.tspan`
|
|
|
41094
41098
|
};
|
|
41095
41099
|
return /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
41096
41100
|
/* @__PURE__ */ m.jsx($n, {}),
|
|
41097
|
-
/* @__PURE__ */ m.jsxs(
|
|
41101
|
+
/* @__PURE__ */ m.jsxs(Kt, { vertical: !0, gap: 8, style: { width: "100%" }, children: [
|
|
41098
41102
|
/* @__PURE__ */ m.jsx("div", { style: { height: t }, children: /* @__PURE__ */ m.jsx(
|
|
41099
41103
|
Pl,
|
|
41100
41104
|
{
|
|
@@ -41189,13 +41193,13 @@ const za = 12, du = 14, Rs = Bt.tspan`
|
|
|
41189
41193
|
)
|
|
41190
41194
|
] }, h);
|
|
41191
41195
|
}), u = () => /* @__PURE__ */ m.jsx(
|
|
41192
|
-
|
|
41196
|
+
Kt,
|
|
41193
41197
|
{
|
|
41194
41198
|
justify: "center",
|
|
41195
41199
|
gap: 16,
|
|
41196
41200
|
wrap: !0,
|
|
41197
41201
|
children: Object.entries(nb).map(([d, f], h) => /* @__PURE__ */ m.jsxs(
|
|
41198
|
-
|
|
41202
|
+
Kt,
|
|
41199
41203
|
{
|
|
41200
41204
|
align: "center",
|
|
41201
41205
|
gap: 8,
|
|
@@ -41217,7 +41221,7 @@ const za = 12, du = 14, Rs = Bt.tspan`
|
|
|
41217
41221
|
))
|
|
41218
41222
|
}
|
|
41219
41223
|
);
|
|
41220
|
-
return console.log(e), /* @__PURE__ */ m.jsxs(
|
|
41224
|
+
return console.log(e), /* @__PURE__ */ m.jsxs(Kt, { vertical: !0, gap: 8, children: [
|
|
41221
41225
|
/* @__PURE__ */ m.jsx(
|
|
41222
41226
|
"div",
|
|
41223
41227
|
{
|
|
@@ -41332,9 +41336,9 @@ const za = 12, du = 14, Rs = Bt.tspan`
|
|
|
41332
41336
|
};
|
|
41333
41337
|
}, [e, n, r]), /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
41334
41338
|
/* @__PURE__ */ m.jsx($n, {}),
|
|
41335
|
-
/* @__PURE__ */ m.jsxs(
|
|
41339
|
+
/* @__PURE__ */ m.jsxs(Kt, { align: "stretch", children: [
|
|
41336
41340
|
/* @__PURE__ */ m.jsxs(
|
|
41337
|
-
|
|
41341
|
+
Kt,
|
|
41338
41342
|
{
|
|
41339
41343
|
gap: 8,
|
|
41340
41344
|
vertical: !0,
|