gf-components 0.1.172 → 0.1.174
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 +60 -57
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +136 -123
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as C from "react";
|
|
2
|
-
import je, { version as nH, isValidElement as Nd, useContext as Kt, createContext as er, useRef as Pe, useLayoutEffect as ab, useEffect as $t, forwardRef as mr, useMemo as Se, useState as mt, Children as rH, createRef as iH, useCallback as ze, useImperativeHandle as d1, cloneElement as Dd, memo as vt, createElement as
|
|
2
|
+
import je, { version as nH, isValidElement as Nd, useContext as Kt, createContext as er, useRef as Pe, useLayoutEffect as ab, useEffect as $t, forwardRef as mr, useMemo as Se, useState as mt, Children as rH, createRef as iH, useCallback as ze, useImperativeHandle as d1, cloneElement as Dd, memo as vt, createElement as _t, Component as oH, Fragment as Xr } from "react";
|
|
3
3
|
import Wt, { createGlobalStyle as aH, css as Vr } from "styled-components";
|
|
4
4
|
import * as sH from "react-dom";
|
|
5
5
|
import fg, { createPortal as lH, unstable_batchedUpdates as sb, flushSync as J2 } from "react-dom";
|
|
@@ -22581,7 +22581,7 @@ var iD = function(e, t) {
|
|
|
22581
22581
|
t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
|
|
22582
22582
|
return n;
|
|
22583
22583
|
};
|
|
22584
|
-
const
|
|
22584
|
+
const Mt = /* @__PURE__ */ je.forwardRef((e, t) => {
|
|
22585
22585
|
const {
|
|
22586
22586
|
prefixCls: n,
|
|
22587
22587
|
rootClassName: r,
|
|
@@ -22607,7 +22607,7 @@ const _t = /* @__PURE__ */ je.forwardRef((e, t) => {
|
|
|
22607
22607
|
style: w
|
|
22608
22608
|
}, Br(d, ["justify", "wrap", "align"])), l));
|
|
22609
22609
|
});
|
|
22610
|
-
process.env.NODE_ENV !== "production" && (
|
|
22610
|
+
process.env.NODE_ENV !== "production" && (Mt.displayName = "Flex");
|
|
22611
22611
|
var oD = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M862 465.3h-81c-4.6 0-9 2-12.1 5.5L550 723.1V160c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v563.1L255.1 470.8c-3-3.5-7.4-5.5-12.1-5.5h-81c-6.8 0-10.5 8.1-6 13.2L487.9 861a31.96 31.96 0 0048.3 0L868 478.5c4.5-5.2.8-13.2-6-13.2z" } }] }, name: "arrow-down", theme: "outlined" }, aD = function(t, n) {
|
|
22612
22612
|
return /* @__PURE__ */ C.createElement(Nn, ft({}, t, {
|
|
22613
22613
|
ref: n,
|
|
@@ -23960,12 +23960,12 @@ const iF = Wt(v1)`
|
|
|
23960
23960
|
cardtype: "default",
|
|
23961
23961
|
...a,
|
|
23962
23962
|
children: [
|
|
23963
|
-
/* @__PURE__ */ m.jsxs(
|
|
23963
|
+
/* @__PURE__ */ m.jsxs(Mt, { vertical: !0, gap: 24, style: { alignItems: "start" }, children: [
|
|
23964
23964
|
/* @__PURE__ */ m.jsx(gF, { title: e, subtitle: t, type: "header" }),
|
|
23965
23965
|
n
|
|
23966
23966
|
] }),
|
|
23967
23967
|
/* @__PURE__ */ m.jsx("div", { style: { borderBottom: "1px solid #f0f0f0", margin: "32px -32px 32px -32px" } }),
|
|
23968
|
-
/* @__PURE__ */ m.jsxs(
|
|
23968
|
+
/* @__PURE__ */ m.jsxs(Mt, { vertical: !0, gap: 8, style: { alignItems: "start" }, children: [
|
|
23969
23969
|
/* @__PURE__ */ m.jsx(mF, { children: r || "Table of contents" }),
|
|
23970
23970
|
i.map(
|
|
23971
23971
|
(l, c) => /* @__PURE__ */ m.jsx(
|
|
@@ -24010,12 +24010,12 @@ const iF = Wt(v1)`
|
|
|
24010
24010
|
cardtype: "default",
|
|
24011
24011
|
activeTabKey: l,
|
|
24012
24012
|
onTabChange: f,
|
|
24013
|
-
tabBarExtraContent: /* @__PURE__ */ m.jsxs(
|
|
24013
|
+
tabBarExtraContent: /* @__PURE__ */ m.jsxs(Mt, { gap: 8, align: "center", children: [
|
|
24014
24014
|
n,
|
|
24015
24015
|
/* @__PURE__ */ m.jsx(oF, { onClick: a == null ? void 0 : a[l] })
|
|
24016
24016
|
] }),
|
|
24017
24017
|
actions: r != null && r[l] ? [
|
|
24018
|
-
/* @__PURE__ */ m.jsxs(
|
|
24018
|
+
/* @__PURE__ */ m.jsxs(Mt, { vertical: !0, children: [
|
|
24019
24019
|
/* @__PURE__ */ m.jsx(aF, { open: u, onClick: h, children: i }),
|
|
24020
24020
|
u && (r == null ? void 0 : r[l])
|
|
24021
24021
|
] })
|
|
@@ -24049,8 +24049,8 @@ const iF = Wt(v1)`
|
|
|
24049
24049
|
const [o, a] = mt(n), s = r ? { onChange: a } : !1;
|
|
24050
24050
|
return /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
24051
24051
|
/* @__PURE__ */ m.jsx(Cn, {}),
|
|
24052
|
-
/* @__PURE__ */ m.jsx(yF, { cardtype: "grey", padding: 24, ...i, children: /* @__PURE__ */ m.jsxs(
|
|
24053
|
-
/* @__PURE__ */ m.jsxs(
|
|
24052
|
+
/* @__PURE__ */ m.jsx(yF, { cardtype: "grey", padding: 24, ...i, children: /* @__PURE__ */ m.jsxs(Mt, { vertical: !0, gap: 8, children: [
|
|
24053
|
+
/* @__PURE__ */ m.jsxs(Mt, { gap: 16, align: "center", wrap: !0, children: [
|
|
24054
24054
|
/* @__PURE__ */ m.jsx(CF, { children: e }),
|
|
24055
24055
|
/* @__PURE__ */ m.jsx(xF, { children: t })
|
|
24056
24056
|
] }),
|
|
@@ -24164,7 +24164,7 @@ const iF = Wt(v1)`
|
|
|
24164
24164
|
style: o = {},
|
|
24165
24165
|
full: a = !1
|
|
24166
24166
|
}) => /* @__PURE__ */ m.jsx(
|
|
24167
|
-
|
|
24167
|
+
Mt,
|
|
24168
24168
|
{
|
|
24169
24169
|
className: t,
|
|
24170
24170
|
gap: n || 10,
|
|
@@ -32640,7 +32640,7 @@ var m$ = { patternDots: Z5, patternLines: U5, patternSquares: q5 }, jie = ["type
|
|
|
32640
32640
|
var t = e.defs;
|
|
32641
32641
|
return !t || t.length < 1 ? null : m.jsx("defs", { "aria-hidden": !0, children: t.map(function(n) {
|
|
32642
32642
|
var r = n.type, i = Uf(n, jie);
|
|
32643
|
-
return G5[r] ?
|
|
32643
|
+
return G5[r] ? _t(G5[r], Qr({ key: i.id }, i)) : null;
|
|
32644
32644
|
}) });
|
|
32645
32645
|
};
|
|
32646
32646
|
b$.propTypes = { defs: D.arrayOf(D.shape({ type: D.oneOf(Object.keys(G5)).isRequired, id: D.string.isRequired })) };
|
|
@@ -32656,7 +32656,7 @@ var y$ = function(e) {
|
|
|
32656
32656
|
y$.propTypes = { size: D.number.isRequired, color: D.string.isRequired, borderWidth: D.number.isRequired, borderColor: D.string.isRequired };
|
|
32657
32657
|
var Lie = vt(y$), C$ = function(e) {
|
|
32658
32658
|
var t = e.x, n = e.y, r = e.symbol, i = r === void 0 ? Lie : 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 = Yn(), b = v.animate, y = v.config, x = sn({ transform: "translate(" + t + ", " + n + ")", config: y, immediate: !b });
|
|
32659
|
-
return m.jsxs(rt.g, { transform: x.transform, style: { pointerEvents: "none" }, children: [
|
|
32659
|
+
return m.jsxs(rt.g, { transform: x.transform, style: { pointerEvents: "none" }, children: [_t(i, { size: o, color: s, datum: a, borderWidth: l, borderColor: c }), u && m.jsx("text", { textAnchor: f, y: p, style: P7(g.dots.text), children: u })] });
|
|
32660
32660
|
};
|
|
32661
32661
|
C$.propTypes = { x: D.number.isRequired, y: D.number.isRequired, datum: D.object.isRequired, size: D.number.isRequired, color: D.string.isRequired, borderWidth: D.number.isRequired, borderColor: D.string.isRequired, symbol: D.oneOfType([D.func, D.object]), label: D.oneOfType([D.string, D.number]), labelTextAnchor: D.oneOf(["start", "middle", "end"]), labelYOffset: D.number };
|
|
32662
32662
|
var Pie = vt(C$), x$ = function(e) {
|
|
@@ -33506,9 +33506,9 @@ var L2 = { container: { display: "flex", alignItems: "center" }, sourceChip: { m
|
|
|
33506
33506
|
return { nodes: T, links: k, legendData: O, getNodeBorderColor: V, currentNode: v, setCurrentNode: b, currentLink: x, setCurrentLink: S, getLabelTextColor: I };
|
|
33507
33507
|
}, Jse = function(e) {
|
|
33508
33508
|
var t = e.node, n = e.x, r = e.y, i = e.width, o = e.height, a = e.color, s = e.opacity, l = e.borderWidth, c = e.borderColor, u = e.borderRadius, d = e.setCurrent, f = e.isInteractive, h = e.onClick, p = e.tooltip, g = Yn(), v = g.animate, b = g.config, y = sn({ x: n, y: r, width: i, height: o, opacity: s, color: a, config: b, immediate: !v }), x = wi(), S = x.showTooltipFromEvent, w = x.hideTooltip, $ = ze(function(V) {
|
|
33509
|
-
d(t), S(
|
|
33509
|
+
d(t), S(_t(p, { node: t }), V, "left");
|
|
33510
33510
|
}, [d, t, S, p]), H = ze(function(V) {
|
|
33511
|
-
S(
|
|
33511
|
+
S(_t(p, { node: t }), V, "left");
|
|
33512
33512
|
}, [S, t, p]), _ = ze(function() {
|
|
33513
33513
|
d(null), w();
|
|
33514
33514
|
}, [d, w]), M = ze(function(V) {
|
|
@@ -33531,9 +33531,9 @@ var L2 = { container: { display: "flex", alignItems: "center" }, sourceChip: { m
|
|
|
33531
33531
|
return m.jsxs("linearGradient", La({ id: t, spreadMethod: "pad" }, n === "horizontal" ? { x1: "0%", x2: "100%", y1: "0%", y2: "0%" } : { x1: "0%", x2: "0%", y1: "0%", y2: "100%" }, { children: [m.jsx("stop", { offset: "0%", stopColor: r }), m.jsx("stop", { offset: "100%", stopColor: i })] }));
|
|
33532
33532
|
}, nle = function(e) {
|
|
33533
33533
|
var t = e.link, n = e.layout, r = e.path, i = e.color, o = e.opacity, a = e.blendMode, s = e.enableGradient, l = e.setCurrent, c = e.tooltip, u = e.isInteractive, d = e.onClick, f = t.source.id + "." + t.target.id + "." + t.index, h = Yn(), p = h.animate, g = h.config, v = qf(r), b = sn({ color: i, opacity: o, config: g, immediate: !p }), y = wi(), x = y.showTooltipFromEvent, S = y.hideTooltip, w = ze(function(M) {
|
|
33534
|
-
l(t), x(
|
|
33534
|
+
l(t), x(_t(c, { link: t }), M, "left");
|
|
33535
33535
|
}, [l, t, x, c]), $ = ze(function(M) {
|
|
33536
|
-
x(
|
|
33536
|
+
x(_t(c, { link: t }), M, "left");
|
|
33537
33537
|
}, [x, t, c]), H = ze(function() {
|
|
33538
33538
|
l(null), S();
|
|
33539
33539
|
}, [l, S]), _ = ze(function(M) {
|
|
@@ -33603,7 +33603,7 @@ var L2 = { container: { display: "flex", alignItems: "center" }, sourceChip: { m
|
|
|
33603
33603
|
return m.jsx(Yf, La({}, at, { containerWidth: ue, containerHeight: He, data: nt }), "legend" + K);
|
|
33604
33604
|
}) }, "legends")), m.jsx(jl, { width: Je, height: ot, margin: Ke, role: et, ariaLabel: Be, ariaLabelledBy: Le, ariaDescribedBy: tt, children: ke.map(function(at, K) {
|
|
33605
33605
|
var oe;
|
|
33606
|
-
return typeof at == "function" ? m.jsx(Xr, { children:
|
|
33606
|
+
return typeof at == "function" ? m.jsx(Xr, { children: _t(at, Xe) }, K) : (oe = qe == null ? void 0 : qe[at]) != null ? oe : null;
|
|
33607
33607
|
}) });
|
|
33608
33608
|
}, sle = function(e) {
|
|
33609
33609
|
var t = e.isInteractive, n = t === void 0 ? Ut.isInteractive : t, r = e.animate, i = r === void 0 ? Ut.animate : r, o = e.motionConfig, a = o === void 0 ? Ut.motionConfig : o, s = e.theme, l = e.renderWrapper, c = function(u, d) {
|
|
@@ -33772,7 +33772,7 @@ var cle = { pointerEvents: "none" }, ule = function(e) {
|
|
|
33772
33772
|
});
|
|
33773
33773
|
}, [n, a]), p = vle(h, o, r), g = p.transition, v = p.interpolate, b = c;
|
|
33774
33774
|
return m.jsx("g", { transform: "translate(" + t[0] + "," + t[1] + ")", children: g(function(y, x) {
|
|
33775
|
-
return
|
|
33775
|
+
return _t(b, { key: x.id, datum: x, label: u(x), style: yn({}, y, { transform: v(y.startAngle, y.endAngle, y.innerRadius, y.outerRadius), textColor: f(x) }) });
|
|
33776
33776
|
}) });
|
|
33777
33777
|
}, mle = function(e) {
|
|
33778
33778
|
var t = e.label, n = e.style, r = Jt();
|
|
@@ -33824,7 +33824,7 @@ var cle = { pointerEvents: "none" }, ule = function(e) {
|
|
|
33824
33824
|
}, $le = function(e) {
|
|
33825
33825
|
var t = e.center, n = e.data, r = e.label, i = e.skipAngle, o = e.offset, a = e.diagonalLength, s = e.straightLength, l = e.strokeWidth, c = e.textOffset, u = e.textColor, d = e.linkColor, f = e.component, h = f === void 0 ? mle : f, p = Ti(r), g = Sle({ data: n, skipAngle: i, offset: o, diagonalLength: a, straightLength: s, textOffset: c, linkColor: d, textColor: u }), v = g.transition, b = g.interpolateLink, y = g.interpolateTextAnchor, x = g.interpolateTextPosition, S = h;
|
|
33826
33826
|
return m.jsx("g", { transform: "translate(" + t[0] + "," + t[1] + ")", children: v(function(w, $) {
|
|
33827
|
-
return
|
|
33827
|
+
return _t(S, { key: $.id, datum: $, label: p($), style: yn({}, w, { thickness: l, path: b(w.startAngle, w.endAngle, w.innerRadius, w.outerRadius, w.offset, w.diagonalLength, w.straightLength), textAnchor: y(w.startAngle, w.endAngle, w.innerRadius, w.outerRadius), textPosition: x(w.startAngle, w.endAngle, w.innerRadius, w.outerRadius, w.offset, w.diagonalLength, w.straightLength, w.textOffset) }) });
|
|
33828
33828
|
}) });
|
|
33829
33829
|
}, Mle = function(e) {
|
|
33830
33830
|
var t = e.datum, n = e.style, r = e.onClick, i = e.onMouseEnter, o = e.onMouseMove, a = e.onMouseLeave, s = ze(function(d) {
|
|
@@ -33856,7 +33856,7 @@ var cle = { pointerEvents: "none" }, ule = function(e) {
|
|
|
33856
33856
|
return { opacity: 0, color: x.color, borderColor: p(x) };
|
|
33857
33857
|
} }), v = g.transition, b = g.interpolate, y = f;
|
|
33858
33858
|
return m.jsx("g", { transform: "translate(" + t[0] + "," + t[1] + ")", children: v(function(x, S) {
|
|
33859
|
-
return
|
|
33859
|
+
return _t(y, { key: S.id, datum: S, style: yn({}, x, { borderWidth: i, path: b(x.startAngle, x.endAngle, x.innerRadius, x.outerRadius, r) }), onClick: a, onMouseEnter: s, onMouseMove: l, onMouseLeave: c });
|
|
33860
33860
|
}) });
|
|
33861
33861
|
}, Vle = function(e, t, n, r, i, o) {
|
|
33862
33862
|
o === void 0 && (o = !0);
|
|
@@ -33973,11 +33973,11 @@ var dm, Tle = function(e) {
|
|
|
33973
33973
|
};
|
|
33974
33974
|
}, [a, s]), y = Se(function() {
|
|
33975
33975
|
if (a) return function(w, $) {
|
|
33976
|
-
g(
|
|
33976
|
+
g(_t(f, { datum: w }), $), d(w.id), l == null || l(w, $);
|
|
33977
33977
|
};
|
|
33978
33978
|
}, [a, g, d, l, f]), x = Se(function() {
|
|
33979
33979
|
if (a) return function(w, $) {
|
|
33980
|
-
g(
|
|
33980
|
+
g(_t(f, { datum: w }), $), c == null || c(w, $);
|
|
33981
33981
|
};
|
|
33982
33982
|
}, [a, g, c, f]), S = Se(function() {
|
|
33983
33983
|
if (a) return function(w, $) {
|
|
@@ -33990,7 +33990,7 @@ var dm, Tle = function(e) {
|
|
|
33990
33990
|
u.includes("arcs") && (bt.arcs = m.jsx(Ale, { center: [pt, me], data: st, arcGenerator: ut, borderWidth: O, borderColor: L, isInteractive: Ke, onClick: ue, onMouseEnter: He, onMouseMove: Je, onMouseLeave: ot, setActiveId: lt, tooltip: Ze, transitionMode: Ie }, "arcs")), N && u.includes("arcLinkLabels") && (bt.arcLinkLabels = m.jsx($le, { center: [pt, me], data: st, label: z, skipAngle: ie, offset: ye, diagonalLength: be, straightLength: ve, strokeWidth: le, textOffset: fe, textColor: Ne, linkColor: ke, component: Qe }, "arcLinkLabels")), F && u.includes("arcLabels") && (bt.arcLabels = m.jsx(ple, { center: [pt, me], data: st, label: q, radiusOffset: B, skipAngle: J, textColor: Y, transitionMode: Ie, component: W }, "arcLabels")), wt.length > 0 && u.includes("legends") && (bt.legends = m.jsx(Tle, { width: K, height: oe, data: ct, legends: wt, toggleSerie: Ct }, "legends"));
|
|
33991
33991
|
var Pt = Ile({ dataWithArc: st, arcGenerator: ut, centerX: pt, centerY: me, radius: Ce, innerRadius: Re });
|
|
33992
33992
|
return m.jsx(jl, { width: Xe, height: qe, margin: at, defs: Et, role: xe, children: u.map(function(fn, Zt) {
|
|
33993
|
-
return bt[fn] !== void 0 ? bt[fn] : typeof fn == "function" ? m.jsx(Xr, { children:
|
|
33993
|
+
return bt[fn] !== void 0 ? bt[fn] : typeof fn == "function" ? m.jsx(Xr, { children: _t(fn, Pt) }, Zt) : null;
|
|
33994
33994
|
}) });
|
|
33995
33995
|
}, Fle = function(e) {
|
|
33996
33996
|
var t = e.isInteractive, n = t === void 0 ? St.isInteractive : t, r = e.animate, i = r === void 0 ? St.animate : r, o = e.motionConfig, a = o === void 0 ? St.motionConfig : o, s = e.theme, l = e.renderWrapper, c = W$(e, Nle);
|
|
@@ -34036,8 +34036,8 @@ const Ble = Wt.span`
|
|
|
34036
34036
|
},
|
|
34037
34037
|
children: n ? "Data niet openbaar beschikbaar" : ""
|
|
34038
34038
|
}
|
|
34039
|
-
)), h = ({ data: p }) => /* @__PURE__ */ m.jsx(
|
|
34040
|
-
(g, v) => /* @__PURE__ */ m.jsxs(
|
|
34039
|
+
)), h = ({ data: p }) => /* @__PURE__ */ m.jsx(Mt, { gap: 16, className: "gf-full", justify: "center", wrap: !0, style: { width: c }, children: p == null ? void 0 : p.map(
|
|
34040
|
+
(g, v) => /* @__PURE__ */ m.jsxs(Mt, { gap: 8, align: "center", children: [
|
|
34041
34041
|
/* @__PURE__ */ m.jsx("div", { style: {
|
|
34042
34042
|
minWidth: 16,
|
|
34043
34043
|
minHeight: 16,
|
|
@@ -34048,7 +34048,7 @@ const Ble = Wt.span`
|
|
|
34048
34048
|
) });
|
|
34049
34049
|
return /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
34050
34050
|
/* @__PURE__ */ m.jsx(Cn, {}),
|
|
34051
|
-
/* @__PURE__ */ m.jsxs(
|
|
34051
|
+
/* @__PURE__ */ m.jsxs(Mt, { vertical: !0, gap: 8, align: "center", style: { width: "100%" }, children: [
|
|
34052
34052
|
/* @__PURE__ */ m.jsx(Ble, { children: t }),
|
|
34053
34053
|
/* @__PURE__ */ m.jsx("div", { style: { width: "100%", height: l }, children: /* @__PURE__ */ m.jsx(
|
|
34054
34054
|
zle,
|
|
@@ -34797,7 +34797,7 @@ var tM = function(e) {
|
|
|
34797
34797
|
return { opacity: 1, x1: a.x1, x2: a.x2, y1: a.y1, y2: a.y2 };
|
|
34798
34798
|
}, leave: { opacity: 0 }, config: i, immediate: !r });
|
|
34799
34799
|
return m.jsx("g", { children: o(function(a, s) {
|
|
34800
|
-
return
|
|
34800
|
+
return _t(tue, ei({}, s, { key: s.key, animatedProps: a }));
|
|
34801
34801
|
}) });
|
|
34802
34802
|
}), oM = vt(function(e) {
|
|
34803
34803
|
var t = e.width, n = e.height, r = e.xScale, i = e.yScale, o = e.xValues, a = e.yValues, s = Se(function() {
|
|
@@ -34956,7 +34956,7 @@ var X5 = { dotSize: 4, noteWidth: 120, noteTextOffset: 8, animate: !0 }, Wue = f
|
|
|
34956
34956
|
}, [e]);
|
|
34957
34957
|
}, Xue = function(e) {
|
|
34958
34958
|
var t = e.datum, n = e.x, r = e.y, i = e.note, o = Jt(), a = Yn(), s = a.animate, l = a.config, c = sn({ x: n, y: r, config: l, immediate: !s });
|
|
34959
|
-
return typeof i == "function" ?
|
|
34959
|
+
return typeof i == "function" ? _t(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: Ko({}, 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 })] });
|
|
34960
34960
|
}, Cm = function(e) {
|
|
34961
34961
|
var t = e.points, n = e.isOutline, r = n !== void 0 && n, i = Jt(), o = Se(function() {
|
|
34962
34962
|
var l = t[0];
|
|
@@ -35837,22 +35837,22 @@ var _de = function(e) {
|
|
|
35837
35837
|
return { x: e.x, y: e.y, size: 0, color: e.color };
|
|
35838
35838
|
}, Tde = function(e) {
|
|
35839
35839
|
var t = e.nodes, n = e.nodeComponent, r = e.isInteractive, i = e.onMouseEnter, o = e.onMouseMove, a = e.onMouseLeave, s = e.onClick, l = e.tooltip, c = e.blendMode, u = Yn(), d = u.animate, f = u.config, h = Tr(t, { keys: Vde, from: F2, enter: F2, update: F2, leave: Ode, config: f, immediate: !d }), p = wi(), g = p.showTooltipFromEvent, v = p.hideTooltip, b = ze(function(w, $) {
|
|
35840
|
-
g(
|
|
35840
|
+
g(_t(l, { node: w }), $), i == null || i(w, $);
|
|
35841
35841
|
}, [l, g, i]), y = ze(function(w, $) {
|
|
35842
|
-
g(
|
|
35842
|
+
g(_t(l, { node: w }), $), o == null || o(w, $);
|
|
35843
35843
|
}, [l, g, o]), x = ze(function(w, $) {
|
|
35844
35844
|
v(), a == null || a(w, $);
|
|
35845
35845
|
}, [v, a]), S = ze(function(w, $) {
|
|
35846
35846
|
return s == null ? void 0 : s(w, $);
|
|
35847
35847
|
}, [s]);
|
|
35848
35848
|
return m.jsx(m.Fragment, { children: h(function(w, $) {
|
|
35849
|
-
return
|
|
35849
|
+
return _t(n, { node: $, style: w, blendMode: c, isInteractive: r, onMouseEnter: r ? b : void 0, onMouseMove: r ? y : void 0, onMouseLeave: r ? x : void 0, onClick: r ? S : void 0 });
|
|
35850
35850
|
}) });
|
|
35851
35851
|
}, Rde = function(e) {
|
|
35852
35852
|
var t = e.nodes, n = e.width, r = e.height, i = e.onMouseEnter, o = e.onMouseMove, a = e.onMouseLeave, s = e.onClick, l = e.tooltip, c = e.debug, u = wi(), d = u.showTooltipFromEvent, f = u.hideTooltip, h = ze(function(b, y) {
|
|
35853
|
-
d(
|
|
35853
|
+
d(_t(l, { node: b }), y), i && i(b, y);
|
|
35854
35854
|
}, [d, l, i]), p = ze(function(b, y) {
|
|
35855
|
-
d(
|
|
35855
|
+
d(_t(l, { node: b }), y), o && o(b, y);
|
|
35856
35856
|
}, [d, l, o]), g = ze(function(b, y) {
|
|
35857
35857
|
f(), a && a(b, y);
|
|
35858
35858
|
}, [f, a]), v = ze(function(b, y) {
|
|
@@ -35867,7 +35867,7 @@ var _de = function(e) {
|
|
|
35867
35867
|
return m.jsx(Yf, Fr({}, tt, { containerWidth: le, containerHeight: $e, data: et }), Ge);
|
|
35868
35868
|
})), m.jsx(jl, { width: fe, height: De, margin: he, role: ye, ariaLabel: pe, ariaLabelledBy: be, ariaDescribedBy: we, children: f.map(function(tt, Ge) {
|
|
35869
35869
|
if (typeof tt == "string" && Le[tt] !== void 0) return Le[tt];
|
|
35870
|
-
if (typeof tt == "function") return m.jsx(Xr, { children:
|
|
35870
|
+
if (typeof tt == "function") return m.jsx(Xr, { children: _t(tt, Be) }, Ge);
|
|
35871
35871
|
throw new Error("Unknown layer (" + tt + ")");
|
|
35872
35872
|
}) });
|
|
35873
35873
|
}, Lde = function(e) {
|
|
@@ -35911,7 +35911,7 @@ var _de = function(e) {
|
|
|
35911
35911
|
return Ne[it];
|
|
35912
35912
|
}, [z, be, we, ve, et]), He = ze(function(Fe) {
|
|
35913
35913
|
var Ze = ue(Fe);
|
|
35914
|
-
ye(Ze), Ze ? (Ge(
|
|
35914
|
+
ye(Ze), Ze ? (Ge(_t(W, { node: Ze }), Fe), ge && ge.id !== Ze.id && (Y && Y(ge, Fe), J && J(Ze, Fe)), ge || J && J(Ze, Fe), X && X(Ze, Fe)) : (Ke(), ge && Y && Y(ge, Fe));
|
|
35915
35915
|
}, [ue, ge, ye, Ge, Ke, W, J, X, Y]), Je = ze(function(Fe) {
|
|
35916
35916
|
Ke(), ye(null), ge && Y && Y(ge, Fe);
|
|
35917
35917
|
}, [Ke, ge, ye, Y]), ot = ze(function(Fe) {
|
|
@@ -36617,7 +36617,7 @@ var y2e = { binary: c2e, dice: U7, slice: q7, sliceDice: u2e, squarify: AM }, C2
|
|
|
36617
36617
|
}, S2e = vt(function(e) {
|
|
36618
36618
|
var t = e.nodes, n = e.nodeComponent, r = e.borderWidth, i = e.enableLabel, o = e.labelSkipSize, a = e.enableParentLabel, s = function(f, h) {
|
|
36619
36619
|
var p = h.isInteractive, g = h.onMouseEnter, v = h.onMouseMove, b = h.onMouseLeave, y = h.onClick, x = h.tooltip, S = wi(), w = S.showTooltipFromEvent, $ = S.hideTooltip, H = ze(function(I, j) {
|
|
36620
|
-
w(
|
|
36620
|
+
w(_t(x, { node: I }), j, "left");
|
|
36621
36621
|
}, [w, x]), _ = ze(function(I, j) {
|
|
36622
36622
|
H(I, j), g == null || g(I, j);
|
|
36623
36623
|
}, [g, H]), M = ze(function(I, j) {
|
|
@@ -36644,7 +36644,7 @@ var y2e = { binary: c2e, dice: U7, slice: q7, sliceDice: u2e, squarify: AM }, C2
|
|
|
36644
36644
|
return f.path;
|
|
36645
36645
|
}, initial: z2, from: Rm, enter: z2, update: z2, leave: Rm, config: u, immediate: !c });
|
|
36646
36646
|
return m.jsx(m.Fragment, { children: d(function(f, h) {
|
|
36647
|
-
return
|
|
36647
|
+
return _t(n, { key: h.path, node: h, animatedProps: f, borderWidth: r, enableLabel: i, labelSkipSize: o, enableParentLabel: a });
|
|
36648
36648
|
}) });
|
|
36649
36649
|
}), $2e = ["isInteractive", "animate", "motionConfig", "theme", "renderWrapper"], M2e = function(e) {
|
|
36650
36650
|
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, x = e.margin, S = e.layers, w = S === void 0 ? en.layers : S, $ = e.colors, H = $ === void 0 ? en.colors : $, _ = e.colorBy, M = _ === void 0 ? en.colorBy : _, V = e.nodeOpacity, R = V === void 0 ? en.nodeOpacity : V, I = e.borderWidth, j = I === void 0 ? en.borderWidth : I, E = e.borderColor, T = E === void 0 ? en.borderColor : E, k = e.defs, O = k === void 0 ? en.defs : k, P = e.fill, L = P === void 0 ? en.fill : P, A = e.enableLabel, F = 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, De = e.onClick, Ne = e.tooltip, Te = Ne === void 0 ? en.tooltip : Ne, ke = e.role, Qe = e.ariaLabel, et = e.ariaLabelledBy, Be = e.ariaDescribedBy, Le = ns(b, y, x), tt = Le.margin, Ge = Le.innerWidth, Ke = Le.innerHeight, ue = Le.outerWidth, He = Le.outerHeight, Je = x2e({ data: t, identity: r, value: o, valueFormat: a, leavesOnly: v, width: Ge, height: Ke, tile: l, innerPadding: f, outerPadding: p, colors: H, 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 };
|
|
@@ -36652,7 +36652,7 @@ var y2e = { binary: c2e, dice: U7, slice: q7, sliceDice: u2e, squarify: AM }, C2
|
|
|
36652
36652
|
var Fe = w2e({ nodes: Je }), Ze = A7(O, Je, L);
|
|
36653
36653
|
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) {
|
|
36654
36654
|
var it;
|
|
36655
|
-
return typeof We == "function" ? m.jsx(Xr, { children:
|
|
36655
|
+
return typeof We == "function" ? m.jsx(Xr, { children: _t(We, Fe) }, nt) : (it = ot == null ? void 0 : ot[We]) != null ? it : null;
|
|
36656
36656
|
}) });
|
|
36657
36657
|
}, _2e = function(e) {
|
|
36658
36658
|
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 = d2e(e, $2e);
|
|
@@ -36798,7 +36798,7 @@ const O2e = (e, t = 12) => {
|
|
|
36798
36798
|
}, w = ({ nodes: $ }) => $.map((H) => /* @__PURE__ */ m.jsx(S, { node: H }, H.id));
|
|
36799
36799
|
return /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
36800
36800
|
/* @__PURE__ */ m.jsx(Cn, {}),
|
|
36801
|
-
/* @__PURE__ */ m.jsxs(
|
|
36801
|
+
/* @__PURE__ */ m.jsxs(Mt, { gap: 16, vertical: !0, children: [
|
|
36802
36802
|
/* @__PURE__ */ m.jsx("div", { ref: b, style: { width: "100%", height: 600, ...t }, children: /* @__PURE__ */ m.jsx(
|
|
36803
36803
|
H2e,
|
|
36804
36804
|
{
|
|
@@ -36965,22 +36965,22 @@ var I2e = function(e) {
|
|
|
36965
36965
|
});
|
|
36966
36966
|
}), Z2e = vt(function(e) {
|
|
36967
36967
|
var t = e.slice, n = e.slices, r = e.axis, i = e.debug, o = e.tooltip, a = e.isCurrent, s = e.setCurrent, l = e.onMouseEnter, c = e.onMouseMove, u = e.onMouseLeave, d = e.onClick, f = e.onTouchStart, h = e.onTouchMove, p = e.onTouchEnd, g = wi(), v = g.showTooltipFromEvent, b = g.hideTooltip, y = ze(function(M) {
|
|
36968
|
-
v(
|
|
36968
|
+
v(_t(o, { slice: t, axis: r }), M, "right"), s(t), l && l(t, M);
|
|
36969
36969
|
}, [v, o, t, r, s, l]), x = ze(function(M) {
|
|
36970
|
-
v(
|
|
36970
|
+
v(_t(o, { slice: t, axis: r }), M, "right"), c && c(t, M);
|
|
36971
36971
|
}, [v, o, t, r, c]), S = ze(function(M) {
|
|
36972
36972
|
b(), s(null), u && u(t, M);
|
|
36973
36973
|
}, [b, s, u, t]), w = ze(function(M) {
|
|
36974
36974
|
d && d(t, M);
|
|
36975
36975
|
}, [t, d]), $ = ze(function(M) {
|
|
36976
|
-
v(
|
|
36976
|
+
v(_t(o, { slice: t, axis: r }), M, "right"), s(t), f && f(t, M);
|
|
36977
36977
|
}, [r, f, s, v, t, o]), H = ze(function(M) {
|
|
36978
36978
|
var V = M.touches[0], R = document.elementFromPoint(V.clientX, V.clientY), I = R == null ? void 0 : R.getAttribute("data-ref");
|
|
36979
36979
|
if (I) {
|
|
36980
36980
|
var j = n.find(function(E) {
|
|
36981
36981
|
return E.id === I;
|
|
36982
36982
|
});
|
|
36983
|
-
j && (v(
|
|
36983
|
+
j && (v(_t(o, { slice: j, axis: r }), M, "right"), s(j));
|
|
36984
36984
|
}
|
|
36985
36985
|
h && h(t, M);
|
|
36986
36986
|
}, [r, h, s, v, t, n, o]), _ = ze(function(M) {
|
|
@@ -37001,17 +37001,17 @@ var I2e = function(e) {
|
|
|
37001
37001
|
}) });
|
|
37002
37002
|
}), G2e = vt(function(e) {
|
|
37003
37003
|
var t = e.points, n = e.width, r = e.height, i = e.margin, o = e.setCurrent, a = e.onMouseEnter, s = e.onMouseMove, l = e.onMouseLeave, c = e.onClick, u = e.onTouchStart, d = e.onTouchMove, f = e.onTouchEnd, h = e.tooltip, p = e.debug, g = e.enableTouchCrosshair, v = wi(), b = v.showTooltipAt, y = v.hideTooltip, x = ze(function(V, R) {
|
|
37004
|
-
b(
|
|
37004
|
+
b(_t(h, { point: V }), [V.x + i.left, V.y + i.top], "top"), a && a(V, R);
|
|
37005
37005
|
}, [b, h, a, i]), S = ze(function(V, R) {
|
|
37006
|
-
b(
|
|
37006
|
+
b(_t(h, { point: V }), [V.x + i.left, V.y + i.top], "top"), s && s(V, R);
|
|
37007
37007
|
}, [b, h, i.left, i.top, s]), w = ze(function(V, R) {
|
|
37008
37008
|
y(), l && l(V, R);
|
|
37009
37009
|
}, [y, l]), $ = ze(function(V, R) {
|
|
37010
37010
|
c && c(V, R);
|
|
37011
37011
|
}, [c]), H = ze(function(V, R) {
|
|
37012
|
-
b(
|
|
37012
|
+
b(_t(h, { point: V }), [V.x + i.left, V.y + i.top], "top"), u && u(V, R);
|
|
37013
37013
|
}, [i.left, i.top, u, b, h]), _ = ze(function(V, R) {
|
|
37014
|
-
b(
|
|
37014
|
+
b(_t(h, { point: V }), [V.x + i.left, V.y + i.top], "top"), d && d(V, R);
|
|
37015
37015
|
}, [i.left, i.top, d, b, h]), M = ze(function(V, R) {
|
|
37016
37016
|
y(), f && f(V, R);
|
|
37017
37017
|
}, [f, y]);
|
|
@@ -37064,7 +37064,7 @@ var I2e = function(e) {
|
|
|
37064
37064
|
return ot[qe];
|
|
37065
37065
|
}, [t, fe, De, Ne, Ze]), it = wi(), Ue = it.showTooltipFromEvent, Ie = it.hideTooltip, ht = ze(function(de) {
|
|
37066
37066
|
var xe = nt(de);
|
|
37067
|
-
Le(xe), xe ? Ue(
|
|
37067
|
+
Le(xe), xe ? Ue(_t(he, { point: xe }), de) : Ie();
|
|
37068
37068
|
}, [nt, Le, Ue, Ie, he]), wt = ze(function(de) {
|
|
37069
37069
|
Ie(), Le(null), Be && be && be(Be, de);
|
|
37070
37070
|
}, [Ie, Le, be]), Ee = ze(function(de) {
|
|
@@ -37106,7 +37106,7 @@ const J2e = Wt.span`
|
|
|
37106
37106
|
G: "Verbranden",
|
|
37107
37107
|
H: "Storten",
|
|
37108
37108
|
I: "Opslag"
|
|
37109
|
-
}, t3e = () => /* @__PURE__ */ m.jsx("div", { style: { marginTop: 10, marginLeft: 10, whiteSpace: "nowrap" }, children: Object.keys(jm).map((e, t) => /* @__PURE__ */ m.jsxs(
|
|
37109
|
+
}, t3e = () => /* @__PURE__ */ m.jsx("div", { style: { marginTop: 10, marginLeft: 10, whiteSpace: "nowrap" }, children: Object.keys(jm).map((e, t) => /* @__PURE__ */ m.jsxs(Mt, { gap: 8, align: "center", children: [
|
|
37110
37110
|
/* @__PURE__ */ m.jsx(
|
|
37111
37111
|
"div",
|
|
37112
37112
|
{
|
|
@@ -37172,27 +37172,37 @@ const J2e = Wt.span`
|
|
|
37172
37172
|
}
|
|
37173
37173
|
) }) })
|
|
37174
37174
|
] })
|
|
37175
|
-
] }), n3e = Wt.
|
|
37175
|
+
] }), n3e = Wt.span`
|
|
37176
37176
|
color: var(--gf-color-button-primary);
|
|
37177
|
+
font-size: 16px;
|
|
37178
|
+
font-weight: 500;
|
|
37179
|
+
line-height: 24px;
|
|
37177
37180
|
`, _7e = ({ selectors: e, setter: t, style: n }) => {
|
|
37178
37181
|
const r = 24 / e.length;
|
|
37179
37182
|
return /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
37180
37183
|
/* @__PURE__ */ m.jsx(Cn, {}),
|
|
37181
37184
|
/* @__PURE__ */ m.jsx($o, { gutter: 20, style: { width: "100%", ...n }, children: e.map(
|
|
37182
|
-
(i, o) => /* @__PURE__ */ m.
|
|
37183
|
-
|
|
37184
|
-
|
|
37185
|
-
|
|
37186
|
-
|
|
37187
|
-
|
|
37188
|
-
|
|
37189
|
-
|
|
37190
|
-
|
|
37191
|
-
|
|
37192
|
-
|
|
37193
|
-
|
|
37194
|
-
|
|
37195
|
-
|
|
37185
|
+
(i, o) => /* @__PURE__ */ m.jsx(Er, { span: r, children: /* @__PURE__ */ m.jsxs(
|
|
37186
|
+
Mt,
|
|
37187
|
+
{
|
|
37188
|
+
vertical: !0,
|
|
37189
|
+
gap: 10,
|
|
37190
|
+
children: [
|
|
37191
|
+
/* @__PURE__ */ m.jsx(n3e, { children: i.title }),
|
|
37192
|
+
/* @__PURE__ */ m.jsx(
|
|
37193
|
+
qa,
|
|
37194
|
+
{
|
|
37195
|
+
defaultValue: i.defaultValue,
|
|
37196
|
+
style: { width: "100%" },
|
|
37197
|
+
onChange: (a) => {
|
|
37198
|
+
t(i.key, a);
|
|
37199
|
+
},
|
|
37200
|
+
options: i.options
|
|
37201
|
+
}
|
|
37202
|
+
)
|
|
37203
|
+
]
|
|
37204
|
+
}
|
|
37205
|
+
) }, `col-${o}`)
|
|
37196
37206
|
) })
|
|
37197
37207
|
] });
|
|
37198
37208
|
}, km = Wt.span`
|
|
@@ -37903,7 +37913,7 @@ var t_ = { patternDots: ih, patternLines: oh, patternSquares: ah }, K3e = ["type
|
|
|
37903
37913
|
var t = e.defs;
|
|
37904
37914
|
return !t || t.length < 1 ? null : m.jsx("defs", { "aria-hidden": !0, children: t.map(function(n) {
|
|
37905
37915
|
var r = n.type, i = Y7(n, K3e);
|
|
37906
|
-
return sh[r] ?
|
|
37916
|
+
return sh[r] ? _t(sh[r], bi({ key: i.id }, i)) : null;
|
|
37907
37917
|
}) });
|
|
37908
37918
|
};
|
|
37909
37919
|
n_.propTypes = { defs: D.arrayOf(D.shape({ type: D.oneOf(Object.keys(sh)).isRequired, id: D.string.isRequired })) };
|
|
@@ -37919,7 +37929,7 @@ var i_ = function(e) {
|
|
|
37919
37929
|
i_.propTypes = { size: D.number.isRequired, color: D.string.isRequired, borderWidth: D.number.isRequired, borderColor: D.string.isRequired };
|
|
37920
37930
|
var Q3e = vt(i_), o_ = function(e) {
|
|
37921
37931
|
var t = e.x, n = e.y, r = e.symbol, i = r === void 0 ? Q3e : 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 = Wn(), v = Si(), b = v.animate, y = v.config, x = sn({ transform: "translate(" + t + ", " + n + ")", config: y, immediate: !b });
|
|
37922
|
-
return m.jsxs(rt.g, { transform: x.transform, style: { pointerEvents: "none" }, children: [
|
|
37932
|
+
return m.jsxs(rt.g, { transform: x.transform, style: { pointerEvents: "none" }, children: [_t(i, { size: o, color: s, datum: a, borderWidth: l, borderColor: c }), u && m.jsx("text", { textAnchor: f, y: p, style: Q7(g.dots.text), children: u })] });
|
|
37923
37933
|
};
|
|
37924
37934
|
o_.propTypes = { x: D.number.isRequired, y: D.number.isRequired, datum: D.object.isRequired, size: D.number.isRequired, color: D.string.isRequired, borderWidth: D.number.isRequired, borderColor: D.string.isRequired, symbol: D.oneOfType([D.func, D.object]), label: D.oneOfType([D.string, D.number]), labelTextAnchor: D.oneOf(["start", "middle", "end"]), labelYOffset: D.number };
|
|
37925
37935
|
vt(o_);
|
|
@@ -38272,7 +38282,7 @@ var f_ = function(e) {
|
|
|
38272
38282
|
return { opacity: 1, x1: a.x1, x2: a.x2, y1: a.y1, y2: a.y2 };
|
|
38273
38283
|
}, leave: { opacity: 0 }, config: i, immediate: !r });
|
|
38274
38284
|
return m.jsx("g", { children: o(function(a, s) {
|
|
38275
|
-
return
|
|
38285
|
+
return _t(S5e, ti({}, s, { key: s.key, animatedProps: a }));
|
|
38276
38286
|
}) });
|
|
38277
38287
|
}), $5e = vt(function(e) {
|
|
38278
38288
|
var t = e.width, n = e.height, r = e.xScale, i = e.yScale, o = e.xValues, a = e.yValues, s = Se(function() {
|
|
@@ -38387,7 +38397,7 @@ var ch = { dotSize: 4, noteWidth: 120, noteTextOffset: 8, animate: !0 }, H5e = f
|
|
|
38387
38397
|
}, [e]);
|
|
38388
38398
|
}, j5e = function(e) {
|
|
38389
38399
|
var t = e.datum, n = e.x, r = e.y, i = e.note, o = Wn(), a = Si(), s = a.animate, l = a.config, c = sn({ x: n, y: r, config: l, immediate: !s });
|
|
38390
|
-
return typeof i == "function" ?
|
|
38400
|
+
return typeof i == "function" ? _t(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: Pi({}, 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 })] });
|
|
38391
38401
|
}, Am = function(e) {
|
|
38392
38402
|
var t = e.points, n = e.isOutline, r = n !== void 0 && n, i = Wn(), o = Se(function() {
|
|
38393
38403
|
var l = t[0];
|
|
@@ -38726,7 +38736,7 @@ var zm, che = function(e) {
|
|
|
38726
38736
|
}, dhe = ["data"], fhe = function(e) {
|
|
38727
38737
|
var t, n = e.bar, r = n.data, i = kl(n, dhe), o = e.style, a = o.borderColor, s = o.color, l = o.height, c = o.labelColor, u = o.labelOpacity, d = o.labelX, f = o.labelY, h = o.transform, p = o.width, g = o.textAnchor, v = e.borderRadius, b = e.borderWidth, y = e.label, x = e.shouldRenderLabel, S = e.isInteractive, w = e.onClick, $ = e.onMouseEnter, H = e.onMouseLeave, _ = e.tooltip, M = e.isFocusable, V = e.ariaLabel, R = e.ariaLabelledBy, I = e.ariaDescribedBy, j = e.ariaDisabled, E = e.ariaHidden, T = Wn(), k = ZM(), O = k.showTooltipFromEvent, P = k.showTooltipAt, L = k.hideTooltip, A = Se(function() {
|
|
38728
38738
|
return function() {
|
|
38729
|
-
return
|
|
38739
|
+
return _t(_, Yt({}, i, r));
|
|
38730
38740
|
};
|
|
38731
38741
|
}, [_, i, r]), F = ze(function(Y) {
|
|
38732
38742
|
w == null || w(Yt({ color: i.color }, r), Y);
|
|
@@ -38973,14 +38983,14 @@ var vhe = ["layout", "minValue", "maxValue", "reverse", "width", "height", "padd
|
|
|
38973
38983
|
return { borderRadius: ge, borderWidth: pe, enableLabel: O, isInteractive: De, labelSkipWidth: A, labelSkipHeight: U, onClick: ke, onMouseEnter: Qe, onMouseLeave: et, getTooltipLabel: me, tooltip: Te, isFocusable: Je, ariaLabel: ot, ariaLabelledBy: Fe, ariaDescribedBy: Ze, ariaHidden: We, ariaDisabled: nt };
|
|
38974
38984
|
}, [ge, pe, O, me, De, U, A, ke, Qe, et, Te, Je, ot, Fe, Ze, We, nt]), br = o5e(ne, Oe, re, { dataKey: "data", targetKey: "data.fill" }), qt = { annotations: null, axes: null, bars: null, grid: null, legends: null, markers: null, totals: null };
|
|
38975
38985
|
j.includes("annotations") && (qt.annotations = m.jsx(che, { bars: Oe, annotations: ve }, "annotations")), j.includes("axes") && (qt.axes = m.jsx(w5e, { xScale: ct, yScale: ut, width: K, height: oe, top: v, right: b, bottom: x, left: w }, "axes")), j.includes("bars") && (qt.bars = m.jsx(Xr, { children: Zt(function(dt, kn) {
|
|
38976
|
-
return
|
|
38986
|
+
return _t(T, Yt({}, xn, { bar: kn, style: dt, shouldRenderLabel: lt(kn), label: pt(kn.data) }));
|
|
38977
38987
|
}) }, "bars")), j.includes("grid") && (qt.grid = m.jsx($5e, { width: K, height: oe, xScale: H ? ct : null, yScale: M ? ut : null, xValues: V, yValues: R }, "grid")), j.includes("legends") && (qt.legends = m.jsx(uhe, { width: K, height: oe, legends: Et, toggleSerie: Ct }, "legends")), j.includes("markers") && (qt.markers = m.jsx(e5e, { markers: B, width: K, height: oe, xScale: ct, yScale: ut }, "markers")), j.includes("totals") && Ie && (qt.totals = m.jsx(Vhe, { data: bt, springConfig: xe, animate: de, layout: l }, "totals"));
|
|
38978
38988
|
var Dn = Se(function() {
|
|
38979
38989
|
return Yt({}, xn, { margin: at, width: o, height: a, innerWidth: K, innerHeight: oe, bars: Oe, legendData: Et, enableLabel: O, xScale: ct, yScale: ut, tooltip: Te, getTooltipLabel: me, onClick: ke, onMouseEnter: Qe, onMouseLeave: et, getColor: Pt });
|
|
38980
38990
|
}, [xn, at, o, a, K, oe, Oe, Et, O, ct, ut, Te, me, ke, Qe, et, Pt]);
|
|
38981
38991
|
return m.jsx(r_, { width: Xe, height: qe, margin: at, defs: br, role: tt, ariaLabel: Ge, ariaLabelledBy: Ke, ariaDescribedBy: ue, isFocusable: Je, children: j.map(function(dt, kn) {
|
|
38982
38992
|
var mn;
|
|
38983
|
-
return typeof dt == "function" ? m.jsx(Xr, { children:
|
|
38993
|
+
return typeof dt == "function" ? m.jsx(Xr, { children: _t(dt, Dn) }, kn) : (mn = qt == null ? void 0 : qt[dt]) != null ? mn : null;
|
|
38984
38994
|
}) });
|
|
38985
38995
|
}, Rhe = function(e) {
|
|
38986
38996
|
var t = e.isInteractive, n = t === void 0 ? vn.isInteractive : t, r = e.animate, i = r === void 0 ? vn.animate : r, o = e.motionConfig, a = o === void 0 ? vn.motionConfig : o, s = e.theme, l = e.renderWrapper, c = kl(e, Ohe);
|
|
@@ -39023,7 +39033,7 @@ var vhe = ["layout", "minValue", "maxValue", "reverse", "width", "height", "padd
|
|
|
39023
39033
|
var ct = ze(function(me) {
|
|
39024
39034
|
if (We && tt.current) {
|
|
39025
39035
|
var Ce = Z2(tt.current, me), Re = Ce[0], lt = Ce[1], Ct = q2(We, ue, Re, lt);
|
|
39026
|
-
Ct !== void 0 ? (at(
|
|
39036
|
+
Ct !== void 0 ? (at(_t(he, Yt({}, Ct.data, { color: Ct.color, label: Ct.label, value: Number(Ct.data.value) })), me), me.type === "mouseenter" && ($e == null || $e(Ct.data, me))) : K();
|
|
39027
39037
|
}
|
|
39028
39038
|
}, [K, ue, $e, We, at, he]), ut = ze(function(me) {
|
|
39029
39039
|
if (We && tt.current) {
|
|
@@ -39157,7 +39167,7 @@ const dh = 12, E_ = 14, Phe = Wt.tspan`
|
|
|
39157
39167
|
}), []), /* @__PURE__ */ m.jsx(m.Fragment, { children: /* @__PURE__ */ m.jsxs($o, { gutter: [24, 0], children: [
|
|
39158
39168
|
/* @__PURE__ */ m.jsxs(Er, { span: 12, children: [
|
|
39159
39169
|
/* @__PURE__ */ m.jsx(m3e, { ref: n, ...e }),
|
|
39160
|
-
/* @__PURE__ */ m.jsx(
|
|
39170
|
+
/* @__PURE__ */ m.jsx(Mt, { justify: "center", style: { marginTop: 16, width: "100%" }, children: /* @__PURE__ */ m.jsx(b3e, {}) })
|
|
39161
39171
|
] }),
|
|
39162
39172
|
/* @__PURE__ */ m.jsx(Er, { span: 12, children: /* @__PURE__ */ m.jsx(Ahe, { ...t, height: r }) })
|
|
39163
39173
|
] }) });
|
|
@@ -39257,8 +39267,8 @@ const dh = 12, E_ = 14, Phe = Wt.tspan`
|
|
|
39257
39267
|
{ name: "Betrouwbaarheidsmarge", color: I(gn == null ? void 0 : gn[E]), shape: "circle" },
|
|
39258
39268
|
{ name: "Betrouwbaarheidsmarge", color: I(gn == null ? void 0 : gn.abiotic), shape: "circle" }
|
|
39259
39269
|
];
|
|
39260
|
-
return /* @__PURE__ */ m.jsx(
|
|
39261
|
-
(k, O) => /* @__PURE__ */ m.jsxs(
|
|
39270
|
+
return /* @__PURE__ */ m.jsx(Mt, { gap: 16, className: "gf-full", justify: "center", wrap: !0, children: T.map(
|
|
39271
|
+
(k, O) => /* @__PURE__ */ m.jsxs(Mt, { gap: 4, align: "center", children: [
|
|
39262
39272
|
k.shape === "line" ? /* @__PURE__ */ m.jsx(V, { color: k.color }) : /* @__PURE__ */ m.jsx(R, { color: k.color }),
|
|
39263
39273
|
/* @__PURE__ */ m.jsx(Dhe, { children: k.name })
|
|
39264
39274
|
] }, `legend-${O}`)
|
|
@@ -39266,7 +39276,7 @@ const dh = 12, E_ = 14, Phe = Wt.tspan`
|
|
|
39266
39276
|
};
|
|
39267
39277
|
return /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
39268
39278
|
/* @__PURE__ */ m.jsx(Cn, {}),
|
|
39269
|
-
/* @__PURE__ */ m.jsxs(
|
|
39279
|
+
/* @__PURE__ */ m.jsxs(Mt, { vertical: !0, gap: 8, style: { width: "100%" }, children: [
|
|
39270
39280
|
/* @__PURE__ */ m.jsx("div", { style: { width: "100%", height: n, ...t }, children: /* @__PURE__ */ m.jsx(
|
|
39271
39281
|
mM,
|
|
39272
39282
|
{
|
|
@@ -39422,8 +39432,8 @@ const dh = 12, E_ = 14, Phe = Wt.tspan`
|
|
|
39422
39432
|
defs: g
|
|
39423
39433
|
};
|
|
39424
39434
|
});
|
|
39425
|
-
return /* @__PURE__ */ m.jsx(
|
|
39426
|
-
(E, T) => /* @__PURE__ */ m.jsxs(
|
|
39435
|
+
return /* @__PURE__ */ m.jsx(Mt, { gap: 16, className: "gf-full", justify: "center", wrap: !0, children: j.map(
|
|
39436
|
+
(E, T) => /* @__PURE__ */ m.jsxs(Mt, { gap: 8, align: "center", children: [
|
|
39427
39437
|
/* @__PURE__ */ m.jsx("div", { style: {
|
|
39428
39438
|
minWidth: 16,
|
|
39429
39439
|
minHeight: 16,
|
|
@@ -39452,7 +39462,7 @@ const dh = 12, E_ = 14, Phe = Wt.tspan`
|
|
|
39452
39462
|
}, V = e.slice().reverse();
|
|
39453
39463
|
return h.push("bars"), s && h.push(H), p && h.push(M), /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
39454
39464
|
/* @__PURE__ */ m.jsx(Cn, {}),
|
|
39455
|
-
/* @__PURE__ */ m.jsxs(
|
|
39465
|
+
/* @__PURE__ */ m.jsxs(Mt, { vertical: !0, gap: 8, style: { width: "100%" }, children: [
|
|
39456
39466
|
/* @__PURE__ */ m.jsx("div", { style: { height: t }, children: /* @__PURE__ */ m.jsx(
|
|
39457
39467
|
Ll,
|
|
39458
39468
|
{
|
|
@@ -39729,7 +39739,7 @@ var w4e = { patternDots: vh, patternLines: mh, patternSquares: bh }, S4e = ["typ
|
|
|
39729
39739
|
var t = e.defs;
|
|
39730
39740
|
return !t || t.length < 1 ? null : m.jsx("defs", { "aria-hidden": !0, children: t.map(function(n) {
|
|
39731
39741
|
var r = n.type, i = og(n, S4e);
|
|
39732
|
-
return yh[r] ?
|
|
39742
|
+
return yh[r] ? _t(yh[r], Xo({ key: i.id }, i)) : null;
|
|
39733
39743
|
}) });
|
|
39734
39744
|
};
|
|
39735
39745
|
Z_.propTypes = { defs: D.arrayOf(D.shape({ type: D.oneOf(Object.keys(yh)).isRequired, id: D.string.isRequired })) };
|
|
@@ -39745,7 +39755,7 @@ var q_ = function(e) {
|
|
|
39745
39755
|
q_.propTypes = { size: D.number.isRequired, color: D.string.isRequired, borderWidth: D.number.isRequired, borderColor: D.string.isRequired };
|
|
39746
39756
|
var M4e = vt(q_), G_ = function(e) {
|
|
39747
39757
|
var t = e.x, n = e.y, r = e.symbol, i = r === void 0 ? M4e : 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 = Kn(), v = $i(), b = v.animate, y = v.config, x = sn({ transform: "translate(" + t + ", " + n + ")", config: y, immediate: !b });
|
|
39748
|
-
return m.jsxs(rt.g, { transform: x.transform, style: { pointerEvents: "none" }, children: [
|
|
39758
|
+
return m.jsxs(rt.g, { transform: x.transform, style: { pointerEvents: "none" }, children: [_t(i, { size: o, color: s, datum: a, borderWidth: l, borderColor: c }), u && m.jsx("text", { textAnchor: f, y: p, style: D_(g.dots.text), children: u })] });
|
|
39749
39759
|
};
|
|
39750
39760
|
G_.propTypes = { x: D.number.isRequired, y: D.number.isRequired, datum: D.object.isRequired, size: D.number.isRequired, color: D.string.isRequired, borderWidth: D.number.isRequired, borderColor: D.string.isRequired, symbol: D.oneOfType([D.func, D.object]), label: D.oneOfType([D.string, D.number]), labelTextAnchor: D.oneOf(["start", "middle", "end"]), labelYOffset: D.number };
|
|
39751
39761
|
vt(G_);
|
|
@@ -39969,7 +39979,7 @@ var T4e = function(e) {
|
|
|
39969
39979
|
return { opacity: 1, x1: a.x1, x2: a.x2, y1: a.y1, y2: a.y2 };
|
|
39970
39980
|
}, leave: { opacity: 0 }, config: i, immediate: !r });
|
|
39971
39981
|
return m.jsx("g", { children: o(function(a, s) {
|
|
39972
|
-
return
|
|
39982
|
+
return _t(A4e, yi({}, s, { key: s.key, animatedProps: a }));
|
|
39973
39983
|
}) });
|
|
39974
39984
|
}), N4e = vt(function(e) {
|
|
39975
39985
|
var t = e.width, n = e.height, r = e.xScale, i = e.yScale, o = e.xValues, a = e.yValues, s = Se(function() {
|
|
@@ -40270,7 +40280,7 @@ var Ch = { dotSize: 4, noteWidth: 120, noteTextOffset: 8, animate: !0 }, o6e = f
|
|
|
40270
40280
|
}, [e]);
|
|
40271
40281
|
}, f6e = function(e) {
|
|
40272
40282
|
var t = e.datum, n = e.x, r = e.y, i = e.note, o = Kn(), a = $i(), s = a.animate, l = a.config, c = sn({ x: n, y: r, config: l, immediate: !s });
|
|
40273
|
-
return typeof i == "function" ?
|
|
40283
|
+
return typeof i == "function" ? _t(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: Qo({}, 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 })] });
|
|
40274
40284
|
}, eb = function(e) {
|
|
40275
40285
|
var t = e.points, n = e.isOutline, r = n !== void 0 && n, i = Kn(), o = Se(function() {
|
|
40276
40286
|
var l = t[0];
|
|
@@ -40423,13 +40433,13 @@ var b6e = function(e) {
|
|
|
40423
40433
|
}, initial: K2, from: O6e, enter: K2, update: K2, leave: T6e, config: v, immediate: !g }), y = Khe(), x = y.showTooltipFromEvent, S = y.hideTooltip, w = Se(function() {
|
|
40424
40434
|
if (a) return function(M) {
|
|
40425
40435
|
return function(V) {
|
|
40426
|
-
x(
|
|
40436
|
+
x(_t(f, { cell: M }), V), s(M), l == null || l(M, V);
|
|
40427
40437
|
};
|
|
40428
40438
|
};
|
|
40429
40439
|
}, [a, x, f, s, l]), $ = Se(function() {
|
|
40430
40440
|
if (a) return function(M) {
|
|
40431
40441
|
return function(V) {
|
|
40432
|
-
x(
|
|
40442
|
+
x(_t(f, { cell: M }), V), c == null || c(M, V);
|
|
40433
40443
|
};
|
|
40434
40444
|
};
|
|
40435
40445
|
}, [a, x, f, c]), H = Se(function() {
|
|
@@ -40446,7 +40456,7 @@ var b6e = function(e) {
|
|
|
40446
40456
|
};
|
|
40447
40457
|
}, [a, d]);
|
|
40448
40458
|
return t = r === "rect" ? E6e : r === "circle" ? V6e : r, m.jsx(m.Fragment, { children: b(function(M, V) {
|
|
40449
|
-
return
|
|
40459
|
+
return _t(t, { cell: V, borderRadius: i, borderWidth: o, animatedProps: M, enableLabels: h, onMouseEnter: w, onMouseMove: $, onMouseLeave: H, onClick: _ });
|
|
40450
40460
|
}) });
|
|
40451
40461
|
}, j6e = function(e) {
|
|
40452
40462
|
var t = e.cells, n = e.annotations, r = H6e(t, n);
|
|
@@ -40458,12 +40468,12 @@ var b6e = function(e) {
|
|
|
40458
40468
|
return Mr({}, He, { top: He.top + Ie, left: He.left + Ue });
|
|
40459
40469
|
}, [He, Ue, Ie]), qe = { grid: null, axes: null, cells: null, legends: null, annotations: null };
|
|
40460
40470
|
r.includes("grid") && (qe.grid = m.jsx(N4e, { width: nt, height: it, xScale: L ? ht : null, yScale: F ? wt : null }, "grid")), r.includes("axes") && (qe.axes = m.jsx(I4e, { xScale: ht, yScale: wt, width: nt, height: it, top: q, right: J, bottom: Y, left: B }, "axes")), r.includes("cells") && (qe.cells = m.jsx(Xr, { children: m.jsx(R6e, { cells: Ee, cellComponent: w, borderRadius: j, borderWidth: T, isInteractive: $e, setActiveCell: Ve, onMouseEnter: fe, onMouseMove: De, onMouseLeave: Ne, onClick: Te, tooltip: Be, enableLabels: Z }) }, "cells")), r.includes("legends") && de !== null && (qe.legends = m.jsx(Xr, { children: we.map(function(K, oe) {
|
|
40461
|
-
return
|
|
40471
|
+
return _t(i6e, Mr({}, K, { key: oe, containerWidth: nt, containerHeight: it, scale: de }));
|
|
40462
40472
|
}) }, "legends")), r.includes("annotations") && he.length > 0 && (qe.annotations = m.jsx(j6e, { cells: Ee, annotations: he }, "annotations"));
|
|
40463
40473
|
var at = { cells: Ee, activeCell: xe, setActiveCell: Ve };
|
|
40464
40474
|
return m.jsx(U_, { width: Fe, height: Ze, margin: Object.assign({}, Xe, { top: Xe.top, left: Xe.left }), role: Le, ariaLabel: tt, ariaLabelledBy: Ge, ariaDescribedBy: Ke, children: r.map(function(K, oe) {
|
|
40465
40475
|
var ae;
|
|
40466
|
-
return typeof K == "function" ? m.jsx(Xr, { children:
|
|
40476
|
+
return typeof K == "function" ? m.jsx(Xr, { children: _t(K, at) }, oe) : (ae = qe == null ? void 0 : qe[K]) != null ? ae : null;
|
|
40467
40477
|
}) });
|
|
40468
40478
|
}, P6e = function(e) {
|
|
40469
40479
|
var t = e.isInteractive, n = t === void 0 ? Gt.isInteractive : t, r = e.animate, i = r === void 0 ? Gt.animate : r, o = e.motionConfig, a = o === void 0 ? Gt.motionConfig : o, s = e.theme, l = e.renderWrapper, c = m6e(e, k6e);
|
|
@@ -40808,7 +40818,7 @@ const za = 12, u1 = 14, Rs = Wt.tspan`
|
|
|
40808
40818
|
raw: "#92DAE1"
|
|
40809
40819
|
},
|
|
40810
40820
|
legend: {
|
|
40811
|
-
raw: "
|
|
40821
|
+
raw: "Grondstoffengebruik"
|
|
40812
40822
|
},
|
|
40813
40823
|
text: "Doel 2035: Verlagen met 15% ten op zichte van 2016",
|
|
40814
40824
|
targets: [
|
|
@@ -40849,7 +40859,7 @@ const za = 12, u1 = 14, Rs = Wt.tspan`
|
|
|
40849
40859
|
]
|
|
40850
40860
|
}
|
|
40851
40861
|
}, D6e = ({ increase: e, text: t }) => /* @__PURE__ */ m.jsxs(
|
|
40852
|
-
|
|
40862
|
+
Mt,
|
|
40853
40863
|
{
|
|
40854
40864
|
gap: 8,
|
|
40855
40865
|
align: "center",
|
|
@@ -40868,14 +40878,14 @@ const za = 12, u1 = 14, Rs = Wt.tspan`
|
|
|
40868
40878
|
), F6e = ({ legend: e, targets: t, colors: n }) => {
|
|
40869
40879
|
var r;
|
|
40870
40880
|
return /* @__PURE__ */ m.jsxs(
|
|
40871
|
-
|
|
40881
|
+
Mt,
|
|
40872
40882
|
{
|
|
40873
40883
|
gap: 16,
|
|
40874
40884
|
justify: "center",
|
|
40875
40885
|
align: "center",
|
|
40876
40886
|
children: [
|
|
40877
40887
|
(r = Object.entries(e)) == null ? void 0 : r.map(([i, o], a) => /* @__PURE__ */ m.jsxs(
|
|
40878
|
-
|
|
40888
|
+
Mt,
|
|
40879
40889
|
{
|
|
40880
40890
|
align: "center",
|
|
40881
40891
|
gap: 8,
|
|
@@ -40903,7 +40913,7 @@ const za = 12, u1 = 14, Rs = Wt.tspan`
|
|
|
40903
40913
|
a
|
|
40904
40914
|
)),
|
|
40905
40915
|
t == null ? void 0 : t.map((i, o) => /* @__PURE__ */ m.jsxs(
|
|
40906
|
-
|
|
40916
|
+
Mt,
|
|
40907
40917
|
{
|
|
40908
40918
|
align: "center",
|
|
40909
40919
|
gap: 8,
|
|
@@ -40963,7 +40973,7 @@ const za = 12, u1 = 14, Rs = Wt.tspan`
|
|
|
40963
40973
|
return /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
40964
40974
|
/* @__PURE__ */ m.jsx(Cn, {}),
|
|
40965
40975
|
/* @__PURE__ */ m.jsxs(
|
|
40966
|
-
|
|
40976
|
+
Mt,
|
|
40967
40977
|
{
|
|
40968
40978
|
vertical: !0,
|
|
40969
40979
|
gap: 16,
|
|
@@ -41133,8 +41143,8 @@ const za = 12, u1 = 14, Rs = Wt.tspan`
|
|
|
41133
41143
|
defs: g
|
|
41134
41144
|
};
|
|
41135
41145
|
});
|
|
41136
|
-
return /* @__PURE__ */ m.jsx(
|
|
41137
|
-
(O, P) => /* @__PURE__ */ m.jsxs(
|
|
41146
|
+
return /* @__PURE__ */ m.jsx(Mt, { gap: 16, className: "gf-full", justify: "center", wrap: !0, children: k.map(
|
|
41147
|
+
(O, P) => /* @__PURE__ */ m.jsxs(Mt, { gap: 8, align: "center", children: [
|
|
41138
41148
|
/* @__PURE__ */ m.jsx("div", { style: {
|
|
41139
41149
|
minWidth: 8,
|
|
41140
41150
|
minHeight: 8,
|
|
@@ -41199,7 +41209,7 @@ const za = 12, u1 = 14, Rs = Wt.tspan`
|
|
|
41199
41209
|
const j = e.slice().reverse();
|
|
41200
41210
|
return /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
41201
41211
|
/* @__PURE__ */ m.jsx(Cn, {}),
|
|
41202
|
-
/* @__PURE__ */ m.jsxs(
|
|
41212
|
+
/* @__PURE__ */ m.jsxs(Mt, { vertical: !0, gap: 8, style: { width: "100%" }, ref: V, children: [
|
|
41203
41213
|
/* @__PURE__ */ m.jsx(_, { data: e, keys: o }),
|
|
41204
41214
|
/* @__PURE__ */ m.jsxs($o, { gutter: [0, 0], children: [
|
|
41205
41215
|
/* @__PURE__ */ m.jsx(Er, { span: b, children: /* @__PURE__ */ m.jsx(M, { value: o[0], labels: !0 }) }),
|
|
@@ -41267,8 +41277,8 @@ const za = 12, u1 = 14, Rs = Wt.tspan`
|
|
|
41267
41277
|
name: H,
|
|
41268
41278
|
color: l[H]
|
|
41269
41279
|
}));
|
|
41270
|
-
return /* @__PURE__ */ m.jsx(
|
|
41271
|
-
(H, _) => /* @__PURE__ */ m.jsxs(
|
|
41280
|
+
return /* @__PURE__ */ m.jsx(Mt, { gap: 16, className: "gf-full", justify: "center", wrap: !0, children: $.map(
|
|
41281
|
+
(H, _) => /* @__PURE__ */ m.jsxs(Mt, { gap: 8, align: "center", children: [
|
|
41272
41282
|
/* @__PURE__ */ m.jsx("div", { style: {
|
|
41273
41283
|
minWidth: 16,
|
|
41274
41284
|
minHeight: 16,
|
|
@@ -41280,7 +41290,7 @@ const za = 12, u1 = 14, Rs = Wt.tspan`
|
|
|
41280
41290
|
};
|
|
41281
41291
|
return /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
41282
41292
|
/* @__PURE__ */ m.jsx(Cn, {}),
|
|
41283
|
-
/* @__PURE__ */ m.jsxs(
|
|
41293
|
+
/* @__PURE__ */ m.jsxs(Mt, { vertical: !0, gap: 8, style: { width: "100%" }, children: [
|
|
41284
41294
|
/* @__PURE__ */ m.jsx("div", { style: { height: t }, children: /* @__PURE__ */ m.jsx(
|
|
41285
41295
|
Ll,
|
|
41286
41296
|
{
|
|
@@ -41385,13 +41395,13 @@ const za = 12, u1 = 14, Rs = Wt.tspan`
|
|
|
41385
41395
|
)
|
|
41386
41396
|
] }, h);
|
|
41387
41397
|
}), u = () => /* @__PURE__ */ m.jsx(
|
|
41388
|
-
|
|
41398
|
+
Mt,
|
|
41389
41399
|
{
|
|
41390
41400
|
justify: "center",
|
|
41391
41401
|
gap: 16,
|
|
41392
41402
|
wrap: !0,
|
|
41393
41403
|
children: Object.entries(nb).map(([d, f], h) => /* @__PURE__ */ m.jsxs(
|
|
41394
|
-
|
|
41404
|
+
Mt,
|
|
41395
41405
|
{
|
|
41396
41406
|
align: "center",
|
|
41397
41407
|
gap: 8,
|
|
@@ -41413,7 +41423,7 @@ const za = 12, u1 = 14, Rs = Wt.tspan`
|
|
|
41413
41423
|
))
|
|
41414
41424
|
}
|
|
41415
41425
|
);
|
|
41416
|
-
return console.log(e), /* @__PURE__ */ m.jsxs(
|
|
41426
|
+
return console.log(e), /* @__PURE__ */ m.jsxs(Mt, { vertical: !0, gap: 8, children: [
|
|
41417
41427
|
/* @__PURE__ */ m.jsx(
|
|
41418
41428
|
"div",
|
|
41419
41429
|
{
|
|
@@ -41528,9 +41538,9 @@ const za = 12, u1 = 14, Rs = Wt.tspan`
|
|
|
41528
41538
|
};
|
|
41529
41539
|
}, [e, n, r]), /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
41530
41540
|
/* @__PURE__ */ m.jsx(Cn, {}),
|
|
41531
|
-
/* @__PURE__ */ m.jsxs(
|
|
41541
|
+
/* @__PURE__ */ m.jsxs(Mt, { align: "stretch", children: [
|
|
41532
41542
|
/* @__PURE__ */ m.jsxs(
|
|
41533
|
-
|
|
41543
|
+
Mt,
|
|
41534
41544
|
{
|
|
41535
41545
|
gap: 8,
|
|
41536
41546
|
vertical: !0,
|
|
@@ -41572,7 +41582,7 @@ const za = 12, u1 = 14, Rs = Wt.tspan`
|
|
|
41572
41582
|
] })
|
|
41573
41583
|
] });
|
|
41574
41584
|
}, Q6e = ({ success: e }) => /* @__PURE__ */ m.jsxs(
|
|
41575
|
-
|
|
41585
|
+
Mt,
|
|
41576
41586
|
{
|
|
41577
41587
|
gap: 8,
|
|
41578
41588
|
justify: "center",
|
|
@@ -41598,7 +41608,7 @@ const za = 12, u1 = 14, Rs = Wt.tspan`
|
|
|
41598
41608
|
color: e,
|
|
41599
41609
|
name: t
|
|
41600
41610
|
}) => /* @__PURE__ */ m.jsx(m.Fragment, { children: t.toLowerCase() !== "reduction" ? /* @__PURE__ */ m.jsxs(
|
|
41601
|
-
|
|
41611
|
+
Mt,
|
|
41602
41612
|
{
|
|
41603
41613
|
gap: 4,
|
|
41604
41614
|
align: "center",
|
|
@@ -41631,7 +41641,7 @@ const za = 12, u1 = 14, Rs = Wt.tspan`
|
|
|
41631
41641
|
) : null }), e7e = ({
|
|
41632
41642
|
legend: e
|
|
41633
41643
|
}) => /* @__PURE__ */ m.jsx(
|
|
41634
|
-
|
|
41644
|
+
Mt,
|
|
41635
41645
|
{
|
|
41636
41646
|
gap: 8,
|
|
41637
41647
|
justify: "center",
|
|
@@ -41651,7 +41661,7 @@ const za = 12, u1 = 14, Rs = Wt.tspan`
|
|
|
41651
41661
|
legend: n,
|
|
41652
41662
|
success: r
|
|
41653
41663
|
}) => /* @__PURE__ */ m.jsxs(
|
|
41654
|
-
|
|
41664
|
+
Mt,
|
|
41655
41665
|
{
|
|
41656
41666
|
vertical: !0,
|
|
41657
41667
|
gap: 16,
|
|
@@ -41663,13 +41673,16 @@ const za = 12, u1 = 14, Rs = Wt.tspan`
|
|
|
41663
41673
|
},
|
|
41664
41674
|
children: [
|
|
41665
41675
|
/* @__PURE__ */ m.jsxs(
|
|
41666
|
-
|
|
41676
|
+
Mt,
|
|
41667
41677
|
{
|
|
41668
41678
|
gap: 8,
|
|
41669
41679
|
vertical: !0,
|
|
41680
|
+
style: {
|
|
41681
|
+
flexGrow: 1
|
|
41682
|
+
},
|
|
41670
41683
|
children: [
|
|
41671
41684
|
/* @__PURE__ */ m.jsxs(
|
|
41672
|
-
|
|
41685
|
+
Mt,
|
|
41673
41686
|
{
|
|
41674
41687
|
gap: 8,
|
|
41675
41688
|
justify: "space-between",
|
|
@@ -41679,7 +41692,7 @@ const za = 12, u1 = 14, Rs = Wt.tspan`
|
|
|
41679
41692
|
{
|
|
41680
41693
|
style: {
|
|
41681
41694
|
color: "#1D2939",
|
|
41682
|
-
textAlign: "
|
|
41695
|
+
textAlign: "left",
|
|
41683
41696
|
fontSize: 16,
|
|
41684
41697
|
fontWeight: 500,
|
|
41685
41698
|
lineHeight: "24px"
|
|
@@ -41792,7 +41805,7 @@ const n7e = ({
|
|
|
41792
41805
|
}) => {
|
|
41793
41806
|
const o = (t == null ? void 0 : t.unit) === "%";
|
|
41794
41807
|
return /* @__PURE__ */ m.jsxs(
|
|
41795
|
-
|
|
41808
|
+
Mt,
|
|
41796
41809
|
{
|
|
41797
41810
|
justify: "space-between",
|
|
41798
41811
|
align: "center",
|
|
@@ -41811,14 +41824,14 @@ const n7e = ({
|
|
|
41811
41824
|
}
|
|
41812
41825
|
),
|
|
41813
41826
|
/* @__PURE__ */ m.jsx(
|
|
41814
|
-
|
|
41827
|
+
Mt,
|
|
41815
41828
|
{
|
|
41816
41829
|
gap: 8,
|
|
41817
41830
|
children: n.map((a, s) => {
|
|
41818
41831
|
var d, f;
|
|
41819
41832
|
const l = (d = t == null ? void 0 : t.value) == null ? void 0 : d[a == null ? void 0 : a.key], c = t == null ? void 0 : t.unit, u = Math.round(l / ((f = t == null ? void 0 : t.value) == null ? void 0 : f.total) * 100);
|
|
41820
41833
|
return /* @__PURE__ */ m.jsx(
|
|
41821
|
-
|
|
41834
|
+
Mt,
|
|
41822
41835
|
{
|
|
41823
41836
|
gap: 4,
|
|
41824
41837
|
align: "center",
|
|
@@ -41863,7 +41876,7 @@ const n7e = ({
|
|
|
41863
41876
|
}) => {
|
|
41864
41877
|
var a;
|
|
41865
41878
|
const r = (e == null ? void 0 : e.unit) === "%", i = (a = n == null ? void 0 : n.filter((s) => s.key !== "reduction")) == null ? void 0 : a.length, o = 8;
|
|
41866
|
-
return /* @__PURE__ */ m.jsx(
|
|
41879
|
+
return /* @__PURE__ */ m.jsx(Mt, { children: n == null ? void 0 : n.map((s, l) => {
|
|
41867
41880
|
var f;
|
|
41868
41881
|
const c = ((f = e == null ? void 0 : e.value) == null ? void 0 : f[s == null ? void 0 : s.key]) / 100 * 100, u = (s == null ? void 0 : s.arrow) && !t && c > o, d = o / c * 100;
|
|
41869
41882
|
return /* @__PURE__ */ m.jsxs(je.Fragment, { children: [
|
|
@@ -41876,7 +41889,7 @@ const n7e = ({
|
|
|
41876
41889
|
position: "relative",
|
|
41877
41890
|
borderRadius: i === 1 ? 12 : l === 0 ? "12px 0 0 12px" : l === i - 1 ? "0 12px 12px 0" : 0,
|
|
41878
41891
|
borderRight: i !== 1 && l < i - 1 ? "1px solid #FFF" : "none",
|
|
41879
|
-
background: r && !
|
|
41892
|
+
background: r && !(s != null && s.hide) ? `repeating-linear-gradient(
|
|
41880
41893
|
-60deg,
|
|
41881
41894
|
rgba(255,255,255,0.1) 0px,
|
|
41882
41895
|
rgba(255,255,255,0.1) 1px,
|
|
@@ -41885,7 +41898,7 @@ const n7e = ({
|
|
|
41885
41898
|
), ${s == null ? void 0 : s.color}` : s == null ? void 0 : s.color
|
|
41886
41899
|
},
|
|
41887
41900
|
children: u && /* @__PURE__ */ m.jsx(
|
|
41888
|
-
|
|
41901
|
+
Mt,
|
|
41889
41902
|
{
|
|
41890
41903
|
align: "center",
|
|
41891
41904
|
style: {
|
|
@@ -41898,7 +41911,7 @@ const n7e = ({
|
|
|
41898
41911
|
}
|
|
41899
41912
|
),
|
|
41900
41913
|
(s == null ? void 0 : s.key) === "reduction" && c > 0 && /* @__PURE__ */ m.jsx(
|
|
41901
|
-
|
|
41914
|
+
Mt,
|
|
41902
41915
|
{
|
|
41903
41916
|
align: "center",
|
|
41904
41917
|
style: {
|
|
@@ -41925,7 +41938,7 @@ const n7e = ({
|
|
|
41925
41938
|
curr: r = !1,
|
|
41926
41939
|
bold: i = !1
|
|
41927
41940
|
}) => /* @__PURE__ */ m.jsxs(
|
|
41928
|
-
|
|
41941
|
+
Mt,
|
|
41929
41942
|
{
|
|
41930
41943
|
gap: 4,
|
|
41931
41944
|
vertical: !0,
|
|
@@ -41956,7 +41969,7 @@ const n7e = ({
|
|
|
41956
41969
|
curr: n = !1,
|
|
41957
41970
|
year: r = 2023
|
|
41958
41971
|
}) => /* @__PURE__ */ m.jsxs(
|
|
41959
|
-
|
|
41972
|
+
Mt,
|
|
41960
41973
|
{
|
|
41961
41974
|
gap: 16,
|
|
41962
41975
|
vertical: !0,
|
|
@@ -41970,7 +41983,7 @@ const n7e = ({
|
|
|
41970
41983
|
/* @__PURE__ */ m.jsx(
|
|
41971
41984
|
ib,
|
|
41972
41985
|
{
|
|
41973
|
-
title: n ? "
|
|
41986
|
+
title: n ? "Beginpunt (2016)" : "Doel (2030)",
|
|
41974
41987
|
data: {
|
|
41975
41988
|
value: e == null ? void 0 : e.begin,
|
|
41976
41989
|
unit: e == null ? void 0 : e.unit
|
|
@@ -42124,7 +42137,7 @@ const n7e = ({
|
|
|
42124
42137
|
), o7e = ({ children: e }) => {
|
|
42125
42138
|
const t = e == null ? void 0 : e.length;
|
|
42126
42139
|
return /* @__PURE__ */ m.jsx(
|
|
42127
|
-
|
|
42140
|
+
Mt,
|
|
42128
42141
|
{
|
|
42129
42142
|
vertical: !0,
|
|
42130
42143
|
align: "center",
|