rbro-tat-uds 1.6.3 → 1.6.5
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/components/SelectButton/SelectButton.d.ts +13 -0
- package/dist/components/SelectButton/index.d.ts +1 -0
- package/dist/components/TimedButton/TimedButton.d.ts +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/index.cjs.js +35 -33
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +384 -375
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
@@ -164,11 +164,11 @@ var a2 = {};
|
|
164
164
|
var H3;
|
165
165
|
function B9() {
|
166
166
|
return H3 || (H3 = 1, process.env.NODE_ENV !== "production" && function() {
|
167
|
-
var t = m1, L = Symbol.for("react.element"), a = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), c = Symbol.for("react.profiler"), C = Symbol.for("react.provider"), o = Symbol.for("react.context"), p = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), g = Symbol.for("react.lazy"), _ = Symbol.for("react.offscreen"), V = Symbol.iterator,
|
168
|
-
function
|
167
|
+
var t = m1, L = Symbol.for("react.element"), a = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), c = Symbol.for("react.profiler"), C = Symbol.for("react.provider"), o = Symbol.for("react.context"), p = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), g = Symbol.for("react.lazy"), _ = Symbol.for("react.offscreen"), V = Symbol.iterator, E = "@@iterator";
|
168
|
+
function x(s) {
|
169
169
|
if (s === null || typeof s != "object")
|
170
170
|
return null;
|
171
|
-
var H = V && s[V] || s[
|
171
|
+
var H = V && s[V] || s[E];
|
172
172
|
return typeof H == "function" ? H : null;
|
173
173
|
}
|
174
174
|
var w = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
@@ -656,7 +656,7 @@ Check the top-level render call using <` + P + ">.");
|
|
656
656
|
else if (z2(s))
|
657
657
|
s._store && (s._store.validated = !0);
|
658
658
|
else if (s) {
|
659
|
-
var t1 =
|
659
|
+
var t1 = x(s);
|
660
660
|
if (typeof t1 == "function" && t1 !== s.entries)
|
661
661
|
for (var a1 = t1.call(s), J; !(J = a1.next()).done; )
|
662
662
|
z2(J.value) && $3(J.value, H);
|
@@ -919,7 +919,7 @@ function q9(t) {
|
|
919
919
|
return T9(x2("", null, null, null, [""], t = N9(t), 0, [0], t));
|
920
920
|
}
|
921
921
|
function x2(t, L, a, r, n, c, C, o, p) {
|
922
|
-
for (var f = 0, u = 0, h = C, g = 0, _ = 0, V = 0,
|
922
|
+
for (var f = 0, u = 0, h = C, g = 0, _ = 0, V = 0, E = 1, x = 1, w = 1, v = 0, k = "", b = n, M = c, R = r, Z = k; x; )
|
923
923
|
switch (V = v, v = $1()) {
|
924
924
|
case 40:
|
925
925
|
if (V != 108 && u1(Z, h - 1) == 58) {
|
@@ -950,15 +950,15 @@ function x2(t, L, a, r, n, c, C, o, p) {
|
|
950
950
|
Z += "/";
|
951
951
|
}
|
952
952
|
break;
|
953
|
-
case 123 *
|
953
|
+
case 123 * E:
|
954
954
|
o[f++] = k1(Z) * w;
|
955
|
-
case 125 *
|
955
|
+
case 125 * E:
|
956
956
|
case 59:
|
957
957
|
case 0:
|
958
958
|
switch (v) {
|
959
959
|
case 0:
|
960
960
|
case 125:
|
961
|
-
|
961
|
+
x = 0;
|
962
962
|
case 59 + u:
|
963
963
|
w == -1 && (Z = Y(Z, /\f/g, "")), _ > 0 && k1(Z) - h && r2(_ > 32 ? D3(Z + ";", r, a, h - 1, p) : D3(Y(Z, " ", "") + ";", r, a, h - 2, p), p);
|
964
964
|
break;
|
@@ -980,18 +980,18 @@ function x2(t, L, a, r, n, c, C, o, p) {
|
|
980
980
|
x2(Z, R, R, R, [""], M, 0, o, M);
|
981
981
|
}
|
982
982
|
}
|
983
|
-
f = u = _ = 0,
|
983
|
+
f = u = _ = 0, E = w = 1, k = Z = "", h = C;
|
984
984
|
break;
|
985
985
|
case 58:
|
986
986
|
h = 1 + k1(Z), _ = V;
|
987
987
|
default:
|
988
|
-
if (
|
988
|
+
if (E < 1) {
|
989
989
|
if (v == 123)
|
990
|
-
--
|
991
|
-
else if (v == 125 &&
|
990
|
+
--E;
|
991
|
+
else if (v == 125 && E++ == 0 && W9() == 125)
|
992
992
|
continue;
|
993
993
|
}
|
994
|
-
switch (Z += d3(v), v *
|
994
|
+
switch (Z += d3(v), v * E) {
|
995
995
|
case 38:
|
996
996
|
w = u > 0 ? 1 : (Z += "\f", -1);
|
997
997
|
break;
|
@@ -1002,15 +1002,15 @@ function x2(t, L, a, r, n, c, C, o, p) {
|
|
1002
1002
|
N1() === 45 && (Z += O2($1())), g = N1(), u = h = k1(k = Z += U9(E2())), v++;
|
1003
1003
|
break;
|
1004
1004
|
case 45:
|
1005
|
-
V === 45 && k1(Z) == 2 && (
|
1005
|
+
V === 45 && k1(Z) == 2 && (E = 0);
|
1006
1006
|
}
|
1007
1007
|
}
|
1008
1008
|
return c;
|
1009
1009
|
}
|
1010
1010
|
function S3(t, L, a, r, n, c, C, o, p, f, u, h) {
|
1011
|
-
for (var g = n - 1, _ = n === 0 ? c : [""], V = M6(_),
|
1012
|
-
for (var v = 0, k = J1(t, g + 1, g = V6(
|
1013
|
-
(b = v6(
|
1011
|
+
for (var g = n - 1, _ = n === 0 ? c : [""], V = M6(_), E = 0, x = 0, w = 0; E < r; ++E)
|
1012
|
+
for (var v = 0, k = J1(t, g + 1, g = V6(x = C[E])), b = t; v < V; ++v)
|
1013
|
+
(b = v6(x > 0 ? _[v] + " " + k : Y(k, /&\f/g, _[v]))) && (p[w++] = b);
|
1014
1014
|
return j2(t, L, a, n === 0 ? R2 : o, p, f, u, h);
|
1015
1015
|
}
|
1016
1016
|
function J9(t, L, a, r) {
|
@@ -1549,10 +1549,10 @@ var D6 = function(t) {
|
|
1549
1549
|
if (g === void 0) return "continue";
|
1550
1550
|
var _ = c.names.get(g), V = C.getGroup(h);
|
1551
1551
|
if (_ === void 0 || V.length === 0) return "continue";
|
1552
|
-
var
|
1552
|
+
var E = "".concat(I1, ".g").concat(h, '[id="').concat(g, '"]'), x = "";
|
1553
1553
|
_ !== void 0 && _.forEach(function(w) {
|
1554
|
-
w.length > 0 && (
|
1555
|
-
}), p += "".concat(V).concat(
|
1554
|
+
w.length > 0 && (x += "".concat(w, ","));
|
1555
|
+
}), p += "".concat(V).concat(E, '{content:"').concat(x, '"}').concat(s3);
|
1556
1556
|
}, u = 0; u < o; u++) f(u);
|
1557
1557
|
return p;
|
1558
1558
|
}(n);
|
@@ -1602,9 +1602,9 @@ function R5(t) {
|
|
1602
1602
|
u.push(function(g) {
|
1603
1603
|
g.type === R2 && g.value.includes("&") && (g.props[0] = g.props[0].replace(b5, a).replace(r, f));
|
1604
1604
|
}), C.prefix && u.push(e5), u.push(K9);
|
1605
|
-
var h = function(g, _, V,
|
1606
|
-
_ === void 0 && (_ = ""), V === void 0 && (V = ""),
|
1607
|
-
var
|
1605
|
+
var h = function(g, _, V, E) {
|
1606
|
+
_ === void 0 && (_ = ""), V === void 0 && (V = ""), E === void 0 && (E = "&"), L = E, a = _, r = new RegExp("\\".concat(a, "\\b"), "g");
|
1607
|
+
var x = g.replace($5, ""), w = q9(V || _ ? "".concat(V, " ").concat(_, " { ").concat(x, " }") : x);
|
1608
1608
|
C.namespace && (w = P6(w, C.namespace));
|
1609
1609
|
var v = [];
|
1610
1610
|
return y2(w, X9(u.concat(Q9(function(k) {
|
@@ -1720,13 +1720,13 @@ function H5(t, L, a) {
|
|
1720
1720
|
return N2(b) ? "styled.".concat(b) : "Styled(".concat(B6(b), ")");
|
1721
1721
|
}(t) : u, g = L.displayName && L.componentId ? "".concat(z3(L.displayName), "-").concat(L.componentId) : L.componentId || f, _ = r && n.attrs ? n.attrs.concat(o).filter(Boolean) : o, V = L.shouldForwardProp;
|
1722
1722
|
if (r && n.shouldForwardProp) {
|
1723
|
-
var
|
1723
|
+
var E = n.shouldForwardProp;
|
1724
1724
|
if (L.shouldForwardProp) {
|
1725
|
-
var
|
1725
|
+
var x = L.shouldForwardProp;
|
1726
1726
|
V = function(b, M) {
|
1727
|
-
return
|
1727
|
+
return E(b, M) && x(b, M);
|
1728
1728
|
};
|
1729
|
-
} else V =
|
1729
|
+
} else V = E;
|
1730
1730
|
}
|
1731
1731
|
var w = new F5(a, g, r ? n.componentStyle : void 0);
|
1732
1732
|
function v(b, M) {
|
@@ -2036,7 +2036,7 @@ const D5 = (t) => /* @__PURE__ */ e.createElement("svg", { viewBox: "0 0 24 24",
|
|
2036
2036
|
font-weight: 400;
|
2037
2037
|
margin: 0;
|
2038
2038
|
color: ${(t) => t.disabled ? l.gray_600 : t.selected ? l.gray_950 : l.info_700};
|
2039
|
-
`,
|
2039
|
+
`, Vt = ({
|
2040
2040
|
label: t = "Label",
|
2041
2041
|
icon: L,
|
2042
2042
|
selected: a = !1,
|
@@ -2050,7 +2050,7 @@ const D5 = (t) => /* @__PURE__ */ e.createElement("svg", { viewBox: "0 0 24 24",
|
|
2050
2050
|
display: flex;
|
2051
2051
|
align-items: center;
|
2052
2052
|
gap: ${({ $gap: t }) => t}px;
|
2053
|
-
`,
|
2053
|
+
`, vt = ({
|
2054
2054
|
gap: t = 8,
|
2055
2055
|
padding: L = "0px",
|
2056
2056
|
children: a,
|
@@ -2485,7 +2485,7 @@ const D5 = (t) => /* @__PURE__ */ e.createElement("svg", { viewBox: "0 0 24 24",
|
|
2485
2485
|
)
|
2486
2486
|
]
|
2487
2487
|
}
|
2488
|
-
), v0 = (t) => /* @__PURE__ */ e.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 36 36", fill: "none", ...t }, /* @__PURE__ */ e.createElement("path", { d: "M0 7.2C0 3.22355 3.22355 0 7.2 0H28.8C32.7764 0 36 3.22355 36 7.2V28.8C36 32.7764 32.7764 36 28.8 36H7.2C3.22355 36 0 32.7764 0 28.8V7.2Z", fill: "#FEE600" }), /* @__PURE__ */ e.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M18.1912 21.0785L26.8598 29.7204L30.2536 26.331L21.5756 17.6668L23.2672 15.9902L23.2675 12.6187L24.4732 11.4135L24.4759 14.2107L25.6541 15.3698L29.8871 11.1357L31.0312 12.2657C31.0312 11.5377 30.8165 9.03198 28.8031 7.0711C26.5482 4.87467 24.2917 6.15936 23.5144 6.93539L19.4267 11.0203L20.4437 12.0349L18.1912 14.2787L15.9415 12.0349L16.9571 11.0203L12.8708 6.93539C12.0928 6.15936 9.83664 4.87467 7.58111 7.07178C5.56874 9.03198 5.40009 11.5391 5.40009 12.2664L6.49771 11.1357L10.73 15.3698L11.91 14.1965L11.911 11.4135L13.1166 12.6187L13.1143 15.9817L14.809 17.6668L6.21763 26.2434L9.6077 29.6246L18.1912 21.0785Z", fill: "#232529" })),
|
2488
|
+
), v0 = (t) => /* @__PURE__ */ e.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 36 36", fill: "none", ...t }, /* @__PURE__ */ e.createElement("path", { d: "M0 7.2C0 3.22355 3.22355 0 7.2 0H28.8C32.7764 0 36 3.22355 36 7.2V28.8C36 32.7764 32.7764 36 28.8 36H7.2C3.22355 36 0 32.7764 0 28.8V7.2Z", fill: "#FEE600" }), /* @__PURE__ */ e.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M18.1912 21.0785L26.8598 29.7204L30.2536 26.331L21.5756 17.6668L23.2672 15.9902L23.2675 12.6187L24.4732 11.4135L24.4759 14.2107L25.6541 15.3698L29.8871 11.1357L31.0312 12.2657C31.0312 11.5377 30.8165 9.03198 28.8031 7.0711C26.5482 4.87467 24.2917 6.15936 23.5144 6.93539L19.4267 11.0203L20.4437 12.0349L18.1912 14.2787L15.9415 12.0349L16.9571 11.0203L12.8708 6.93539C12.0928 6.15936 9.83664 4.87467 7.58111 7.07178C5.56874 9.03198 5.40009 11.5391 5.40009 12.2664L6.49771 11.1357L10.73 15.3698L11.91 14.1965L11.911 11.4135L13.1166 12.6187L13.1143 15.9817L14.809 17.6668L6.21763 26.2434L9.6077 29.6246L18.1912 21.0785Z", fill: "#232529" })), Mt = ({
|
2489
2489
|
size: t = 40,
|
2490
2490
|
fullWidth: L = !1,
|
2491
2491
|
...a
|
@@ -2595,7 +2595,7 @@ const k0 = B.button`
|
|
2595
2595
|
color: ${l.gray_600};
|
2596
2596
|
}
|
2597
2597
|
}
|
2598
|
-
`,
|
2598
|
+
`, _t = ({
|
2599
2599
|
icon: t = "home",
|
2600
2600
|
label: L = "Label",
|
2601
2601
|
selected: a = !1,
|
@@ -2633,7 +2633,7 @@ const k0 = B.button`
|
|
2633
2633
|
height: 100%;
|
2634
2634
|
position: relative;
|
2635
2635
|
background-color: ${(t) => l[t.$bgColor]};
|
2636
|
-
`,
|
2636
|
+
`, yt = ({
|
2637
2637
|
children: t,
|
2638
2638
|
bgColor: L = "gray_30",
|
2639
2639
|
...a
|
@@ -2657,7 +2657,7 @@ const k0 = B.button`
|
|
2657
2657
|
width: 100%;
|
2658
2658
|
display: flex;
|
2659
2659
|
flex-direction: column;
|
2660
|
-
`,
|
2660
|
+
`, Zt = ({
|
2661
2661
|
gap: t = 32,
|
2662
2662
|
padding: L = "32px",
|
2663
2663
|
margin: a = "0px",
|
@@ -2695,7 +2695,7 @@ const k0 = B.button`
|
|
2695
2695
|
flex-direction: column;
|
2696
2696
|
gap: ${({ $gap: t }) => t}px;
|
2697
2697
|
box-sizing: border-box;
|
2698
|
-
`,
|
2698
|
+
`, wt = ({
|
2699
2699
|
children: t,
|
2700
2700
|
padding: L = "32px",
|
2701
2701
|
gap: a = 32,
|
@@ -2775,8 +2775,8 @@ const k0 = B.button`
|
|
2775
2775
|
items: g,
|
2776
2776
|
content: _,
|
2777
2777
|
padding: V,
|
2778
|
-
margin:
|
2779
|
-
radius:
|
2778
|
+
margin: E,
|
2779
|
+
radius: x,
|
2780
2780
|
border: w,
|
2781
2781
|
css: v,
|
2782
2782
|
...k
|
@@ -2803,8 +2803,8 @@ const k0 = B.button`
|
|
2803
2803
|
$items: g,
|
2804
2804
|
$content: _,
|
2805
2805
|
$padding: V,
|
2806
|
-
$margin:
|
2807
|
-
$radius:
|
2806
|
+
$margin: E,
|
2807
|
+
$radius: x,
|
2808
2808
|
$border: w,
|
2809
2809
|
$css: v,
|
2810
2810
|
$direction: C,
|
@@ -2879,7 +2879,7 @@ const k0 = B.button`
|
|
2879
2879
|
display: none;
|
2880
2880
|
}
|
2881
2881
|
}
|
2882
|
-
`,
|
2882
|
+
`, bt = ({
|
2883
2883
|
label: t = "Label",
|
2884
2884
|
icon: L,
|
2885
2885
|
selected: a = !1,
|
@@ -2917,7 +2917,7 @@ const k0 = B.button`
|
|
2917
2917
|
padding: ${(t) => t.$padding};
|
2918
2918
|
border-bottom: 1px solid ${l.gray_200};
|
2919
2919
|
border-bottom-style: inset;
|
2920
|
-
`,
|
2920
|
+
`, $t = ({
|
2921
2921
|
children: t,
|
2922
2922
|
gap: L = 0,
|
2923
2923
|
padding: a = "0",
|
@@ -3000,7 +3000,7 @@ const k0 = B.button`
|
|
3000
3000
|
color: ${l.gray_950};
|
3001
3001
|
}
|
3002
3002
|
}
|
3003
|
-
`,
|
3003
|
+
`, Rt = ({
|
3004
3004
|
date: t = "N/A",
|
3005
3005
|
branchName: L = "",
|
3006
3006
|
buttonOnClick: a,
|
@@ -3077,7 +3077,7 @@ const k0 = B.button`
|
|
3077
3077
|
}
|
3078
3078
|
`}
|
3079
3079
|
}
|
3080
|
-
`,
|
3080
|
+
`, kt = ({
|
3081
3081
|
filled: t = !1,
|
3082
3082
|
title: L = "Title",
|
3083
3083
|
titleFontSize: a = 20,
|
@@ -3093,7 +3093,7 @@ const k0 = B.button`
|
|
3093
3093
|
disabled: g = !1,
|
3094
3094
|
loading: _ = !1,
|
3095
3095
|
buttonOnClick: V,
|
3096
|
-
...
|
3096
|
+
...E
|
3097
3097
|
}) => /* @__PURE__ */ i.jsxs(
|
3098
3098
|
X0,
|
3099
3099
|
{
|
@@ -3106,7 +3106,7 @@ const k0 = B.button`
|
|
3106
3106
|
$textFontWeight: C,
|
3107
3107
|
$icon: o,
|
3108
3108
|
$disabled: g,
|
3109
|
-
...
|
3109
|
+
...E,
|
3110
3110
|
children: [
|
3111
3111
|
/* @__PURE__ */ i.jsxs("div", { children: [
|
3112
3112
|
/* @__PURE__ */ i.jsxs("div", { children: [
|
@@ -3537,7 +3537,7 @@ const k0 = B.button`
|
|
3537
3537
|
&:disabled {
|
3538
3538
|
background-color: ${l.gray_100};
|
3539
3539
|
}
|
3540
|
-
`,
|
3540
|
+
`, jt = ({
|
3541
3541
|
size: t = "medium",
|
3542
3542
|
id: L,
|
3543
3543
|
name: a,
|
@@ -3647,7 +3647,7 @@ const C4 = [14, 16, 18, 20, 24], o4 = [200, 300, 400, 500, 700, 800], d4 = B.div
|
|
3647
3647
|
color: ${(t) => t.$disabled ? l.gray_600 : l.gray_950};
|
3648
3648
|
}
|
3649
3649
|
}
|
3650
|
-
`,
|
3650
|
+
`, Bt = ({
|
3651
3651
|
text: t = "Text",
|
3652
3652
|
img: L,
|
3653
3653
|
textFontSize: a = 16,
|
@@ -3713,7 +3713,7 @@ const C4 = [14, 16, 18, 20, 24], o4 = [200, 300, 400, 500, 700, 800], d4 = B.div
|
|
3713
3713
|
text-align: center;
|
3714
3714
|
}
|
3715
3715
|
}
|
3716
|
-
`,
|
3716
|
+
`, Ft = ({
|
3717
3717
|
buttonOnClick: t,
|
3718
3718
|
text: L = "Produsul face parte din planul tau financiar",
|
3719
3719
|
buttonLabel: a = "Vezi planul tau financiar",
|
@@ -3829,7 +3829,7 @@ const C4 = [14, 16, 18, 20, 24], o4 = [200, 300, 400, 500, 700, 800], d4 = B.div
|
|
3829
3829
|
background-color: ${(t) => t.$intent && M2[t.$intent].bgPill};
|
3830
3830
|
color: ${(t) => t.$intent && M2[t.$intent].colorPill};
|
3831
3831
|
}
|
3832
|
-
`,
|
3832
|
+
`, Ht = ({
|
3833
3833
|
intent: t = "default",
|
3834
3834
|
icon: L = "satellite-2",
|
3835
3835
|
pillText: a,
|
@@ -3948,8 +3948,8 @@ const C4 = [14, 16, 18, 20, 24], o4 = [200, 300, 400, 500, 700, 800], d4 = B.div
|
|
3948
3948
|
leftButtonIcon: g,
|
3949
3949
|
rightButtonIcon: _,
|
3950
3950
|
rightButtonOnClick: V,
|
3951
|
-
onCloseNumpad:
|
3952
|
-
numpad:
|
3951
|
+
onCloseNumpad: E,
|
3952
|
+
numpad: x = !1,
|
3953
3953
|
numpadOffset: w = 10,
|
3954
3954
|
numpadFloatNumber: v = !0,
|
3955
3955
|
numpadPosition: k = {
|
@@ -3964,7 +3964,7 @@ const C4 = [14, 16, 18, 20, 24], o4 = [200, 300, 400, 500, 700, 800], d4 = B.div
|
|
3964
3964
|
}, z = (S) => {
|
3965
3965
|
c && c(S);
|
3966
3966
|
}, m = (S) => {
|
3967
|
-
if (
|
3967
|
+
if (x && !p)
|
3968
3968
|
if (b) {
|
3969
3969
|
const $ = setTimeout(() => F(!0), 100);
|
3970
3970
|
return () => clearTimeout($);
|
@@ -3975,13 +3975,13 @@ const C4 = [14, 16, 18, 20, 24], o4 = [200, 300, 400, 500, 700, 800], d4 = B.div
|
|
3975
3975
|
return n1(() => {
|
3976
3976
|
const S = R == null ? void 0 : R.current, $ = (y) => {
|
3977
3977
|
const j = document.getElementById("rbro-numpad-wrapper"), A = j == null ? void 0 : j.contains(y.target);
|
3978
|
-
S && !S.contains(y.target) && !A && (
|
3978
|
+
S && !S.contains(y.target) && !A && (E && E(), F(!1));
|
3979
3979
|
};
|
3980
3980
|
if (Z)
|
3981
3981
|
return document.addEventListener("mousedown", $), () => {
|
3982
3982
|
document.removeEventListener("mousedown", $);
|
3983
3983
|
};
|
3984
|
-
}, [Z, R,
|
3984
|
+
}, [Z, R, E]), /* @__PURE__ */ i.jsxs(
|
3985
3985
|
u4,
|
3986
3986
|
{
|
3987
3987
|
ref: R,
|
@@ -3996,14 +3996,14 @@ const C4 = [14, 16, 18, 20, 24], o4 = [200, 300, 400, 500, 700, 800], d4 = B.div
|
|
3996
3996
|
$clearButton: f,
|
3997
3997
|
$loading: p,
|
3998
3998
|
children: [
|
3999
|
-
|
3999
|
+
x && Z && (b ? k9(
|
4000
4000
|
/* @__PURE__ */ i.jsx(
|
4001
4001
|
f6,
|
4002
4002
|
{
|
4003
4003
|
value: n,
|
4004
4004
|
getValue: (S) => z(S),
|
4005
4005
|
handleFooterButton: () => {
|
4006
|
-
|
4006
|
+
E && E(), F(!1);
|
4007
4007
|
},
|
4008
4008
|
offset: w,
|
4009
4009
|
float: v,
|
@@ -4018,7 +4018,7 @@ const C4 = [14, 16, 18, 20, 24], o4 = [200, 300, 400, 500, 700, 800], d4 = B.div
|
|
4018
4018
|
value: n,
|
4019
4019
|
getValue: (S) => z(S),
|
4020
4020
|
handleFooterButton: () => {
|
4021
|
-
|
4021
|
+
E && E(), F(!1);
|
4022
4022
|
},
|
4023
4023
|
offset: w,
|
4024
4024
|
float: v,
|
@@ -4045,12 +4045,12 @@ const C4 = [14, 16, 18, 20, 24], o4 = [200, 300, 400, 500, 700, 800], d4 = B.div
|
|
4045
4045
|
$type: L,
|
4046
4046
|
id: t,
|
4047
4047
|
name: a,
|
4048
|
-
type: g4(L,
|
4048
|
+
type: g4(L, x),
|
4049
4049
|
placeholder: r,
|
4050
4050
|
value: n,
|
4051
|
-
readOnly:
|
4051
|
+
readOnly: x,
|
4052
4052
|
onChange: (S) => {
|
4053
|
-
|
4053
|
+
x || z(S.target.value);
|
4054
4054
|
},
|
4055
4055
|
onClick: m
|
4056
4056
|
}
|
@@ -4156,7 +4156,7 @@ const C4 = [14, 16, 18, 20, 24], o4 = [200, 300, 400, 500, 700, 800], d4 = B.div
|
|
4156
4156
|
showLeftHelperIcon: g = !0,
|
4157
4157
|
..._
|
4158
4158
|
}, V) => {
|
4159
|
-
const
|
4159
|
+
const E = {
|
4160
4160
|
info: /* @__PURE__ */ i.jsx(O, { icon: "info_filled", color: l.gray_500, size: 14 }),
|
4161
4161
|
success: /* @__PURE__ */ i.jsx(O, { icon: "checkmark_filled", color: l.success_600, size: 14 }),
|
4162
4162
|
warning: /* @__PURE__ */ i.jsx(O, { icon: "warning_filled", color: l.warning_500, size: 14 }),
|
@@ -4204,7 +4204,7 @@ const C4 = [14, 16, 18, 20, 24], o4 = [200, 300, 400, 500, 700, 800], d4 = B.div
|
|
4204
4204
|
$helperIntent: p,
|
4205
4205
|
children: [
|
4206
4206
|
typeof c == "string" && !!c.length && /* @__PURE__ */ i.jsxs("div", { children: [
|
4207
|
-
g &&
|
4207
|
+
g && E[p],
|
4208
4208
|
/* @__PURE__ */ i.jsx("span", { children: c })
|
4209
4209
|
] }),
|
4210
4210
|
/* @__PURE__ */ i.jsx("span", { children: C })
|
@@ -4267,7 +4267,7 @@ const v4 = [32, 40, 48], M4 = B.div`
|
|
4267
4267
|
}
|
4268
4268
|
}
|
4269
4269
|
}
|
4270
|
-
`,
|
4270
|
+
`, At = ({
|
4271
4271
|
id: t,
|
4272
4272
|
name: L,
|
4273
4273
|
value: a = 0,
|
@@ -4281,7 +4281,7 @@ const v4 = [32, 40, 48], M4 = B.div`
|
|
4281
4281
|
wrapperWidth: u,
|
4282
4282
|
...h
|
4283
4283
|
}) => {
|
4284
|
-
const g = e1(null), [_, V] = N(!1),
|
4284
|
+
const g = e1(null), [_, V] = N(!1), E = d1(
|
4285
4285
|
(Z) => {
|
4286
4286
|
var D, z;
|
4287
4287
|
const F = (D = g.current) == null ? void 0 : D.getBoundingClientRect();
|
@@ -4295,7 +4295,7 @@ const v4 = [32, 40, 48], M4 = B.div`
|
|
4295
4295
|
}
|
4296
4296
|
},
|
4297
4297
|
[c, n, r, o]
|
4298
|
-
),
|
4298
|
+
), x = (Z) => {
|
4299
4299
|
if (Z === "minus") {
|
4300
4300
|
if (a === n) return;
|
4301
4301
|
if (a - o < n) {
|
@@ -4315,18 +4315,18 @@ const v4 = [32, 40, 48], M4 = B.div`
|
|
4315
4315
|
r && r(a), V(!1);
|
4316
4316
|
}, [a, r]), v = d1(
|
4317
4317
|
(Z) => {
|
4318
|
-
_ &&
|
4318
|
+
_ && E(Z);
|
4319
4319
|
},
|
4320
|
-
[_,
|
4320
|
+
[_, E]
|
4321
4321
|
), k = (Z) => {
|
4322
|
-
p || (
|
4322
|
+
p || (E(Z), V(!0));
|
4323
4323
|
}, b = (Z) => {
|
4324
|
-
V(!0),
|
4324
|
+
V(!0), E(Z);
|
4325
4325
|
}, M = d1(
|
4326
4326
|
(Z) => {
|
4327
|
-
|
4327
|
+
E(Z);
|
4328
4328
|
},
|
4329
|
-
[
|
4329
|
+
[E]
|
4330
4330
|
), R = d1(() => {
|
4331
4331
|
r && r(a), V(!1);
|
4332
4332
|
}, [a, r]);
|
@@ -4354,7 +4354,7 @@ const v4 = [32, 40, 48], M4 = B.div`
|
|
4354
4354
|
variant: "secondaryOutlined",
|
4355
4355
|
size: "small",
|
4356
4356
|
shape: "circle",
|
4357
|
-
onClick: () =>
|
4357
|
+
onClick: () => x("minus")
|
4358
4358
|
}
|
4359
4359
|
),
|
4360
4360
|
/* @__PURE__ */ i.jsx(
|
@@ -4400,7 +4400,7 @@ const v4 = [32, 40, 48], M4 = B.div`
|
|
4400
4400
|
variant: "secondaryOutlined",
|
4401
4401
|
size: "small",
|
4402
4402
|
shape: "circle",
|
4403
|
-
onClick: () =>
|
4403
|
+
onClick: () => x("add")
|
4404
4404
|
}
|
4405
4405
|
)
|
4406
4406
|
]
|
@@ -4734,7 +4734,7 @@ const w4 = B.div`
|
|
4734
4734
|
}
|
4735
4735
|
`}
|
4736
4736
|
`}
|
4737
|
-
`,
|
4737
|
+
`, St = ({
|
4738
4738
|
title: t = "Title",
|
4739
4739
|
topText: L,
|
4740
4740
|
bottomText: a,
|
@@ -4800,7 +4800,7 @@ const w4 = B.div`
|
|
4800
4800
|
color: ${(t) => t.$disabled ? l.gray_600 : t.$selected ? l.gray_950 : l.info_800};
|
4801
4801
|
}
|
4802
4802
|
}
|
4803
|
-
`,
|
4803
|
+
`, Dt = ({
|
4804
4804
|
text: t = "Text",
|
4805
4805
|
img: L,
|
4806
4806
|
textFontSize: a = 14,
|
@@ -4830,7 +4830,7 @@ const w4 = B.div`
|
|
4830
4830
|
border-bottom-width: ${(t) => t.$weight && typeof t.$weight ? t.$weight + "px" : "1px"};
|
4831
4831
|
border-bottom-style: solid;
|
4832
4832
|
border-bottom-color: ${(t) => t.$color && typeof t.$color == "string" && Object.keys(l).includes(t.$color) && l[t.$color]};
|
4833
|
-
`,
|
4833
|
+
`, Pt = ({
|
4834
4834
|
color: t = "gray_1000_10",
|
4835
4835
|
margin: L = "0px 0px",
|
4836
4836
|
weight: a = 1,
|
@@ -4852,7 +4852,7 @@ const w4 = B.div`
|
|
4852
4852
|
left: 0;
|
4853
4853
|
background-color: ${(t) => t.$leftColor && Object.keys(l).includes(t.$leftColor) ? l[t.$leftColor] : l.gray_950};
|
4854
4854
|
}
|
4855
|
-
`,
|
4855
|
+
`, zt = ({
|
4856
4856
|
value: t = 0.5,
|
4857
4857
|
leftColor: L = "gray_950",
|
4858
4858
|
rightColor: a = "gray_60",
|
@@ -4903,15 +4903,15 @@ const w4 = B.div`
|
|
4903
4903
|
|
4904
4904
|
@keyframes spin {
|
4905
4905
|
from {
|
4906
|
-
transform: rotate(
|
4906
|
+
transform: rotate(360deg);
|
4907
4907
|
}
|
4908
4908
|
to {
|
4909
|
-
transform: rotate(
|
4909
|
+
transform: rotate(0deg);
|
4910
4910
|
}
|
4911
4911
|
}
|
4912
4912
|
}
|
4913
4913
|
`}
|
4914
|
-
`,
|
4914
|
+
`, Ot = ({
|
4915
4915
|
actionText: t = "Trimite cod prin SMS",
|
4916
4916
|
reActionText: L = "Retrimite",
|
4917
4917
|
intent: a = "default",
|
@@ -4926,26 +4926,26 @@ const w4 = B.div`
|
|
4926
4926
|
reActionButtonOnClick: h,
|
4927
4927
|
...g
|
4928
4928
|
}) => {
|
4929
|
-
const [_, V] = N(f), [
|
4930
|
-
!
|
4929
|
+
const [_, V] = N(f), [E, x] = N(!1), [w, v] = N(!1), k = () => {
|
4930
|
+
!E && !C && (w ? (h && h(), x(!0)) : (v(!0), u && u(), x(!0)));
|
4931
4931
|
};
|
4932
4932
|
return n1(() => {
|
4933
|
-
if (
|
4933
|
+
if (E && !C) {
|
4934
4934
|
const b = setInterval(() => {
|
4935
|
-
V((M) => M <= 1 ? (clearInterval(b),
|
4935
|
+
V((M) => M <= 1 ? (clearInterval(b), x(!1), 0) : M - 1);
|
4936
4936
|
}, 1e3);
|
4937
4937
|
return () => {
|
4938
4938
|
clearInterval(b);
|
4939
4939
|
};
|
4940
4940
|
} else
|
4941
4941
|
V(f);
|
4942
|
-
}, [f,
|
4942
|
+
}, [f, E, C]), /* @__PURE__ */ i.jsxs(
|
4943
4943
|
H4,
|
4944
4944
|
{
|
4945
|
-
disabled:
|
4945
|
+
disabled: E || C,
|
4946
4946
|
onClick: k,
|
4947
4947
|
$intent: a,
|
4948
|
-
$loading:
|
4948
|
+
$loading: E,
|
4949
4949
|
$size: p,
|
4950
4950
|
$disabled: C,
|
4951
4951
|
$buttonIntent: c,
|
@@ -4953,15 +4953,22 @@ const w4 = B.div`
|
|
4953
4953
|
...g,
|
4954
4954
|
children: [
|
4955
4955
|
a !== "default" && /* @__PURE__ */ i.jsx("span", { children: a === "success" ? n : r }),
|
4956
|
-
|
4956
|
+
E ? /* @__PURE__ */ i.jsx(
|
4957
|
+
O,
|
4958
|
+
{
|
4959
|
+
icon: "retry-1",
|
4960
|
+
size: p === "large" ? 18 : 16,
|
4961
|
+
color: l.info_200
|
4962
|
+
}
|
4963
|
+
) : o != null && /* @__PURE__ */ i.jsx(
|
4957
4964
|
O,
|
4958
4965
|
{
|
4959
4966
|
icon: o,
|
4960
4967
|
size: p === "large" ? 18 : 16,
|
4961
|
-
color: C ? l.gray_300 :
|
4968
|
+
color: C ? l.gray_300 : E ? l.info_200 : c && Object.keys(b2).includes(c) ? b2[c] : l.info_800
|
4962
4969
|
}
|
4963
4970
|
),
|
4964
|
-
/* @__PURE__ */ i.jsx("span", { children:
|
4971
|
+
/* @__PURE__ */ i.jsx("span", { children: E ? `Retrimite in ${_} secunde` : w ? L : t })
|
4965
4972
|
]
|
4966
4973
|
}
|
4967
4974
|
);
|
@@ -5416,7 +5423,7 @@ const w4 = B.div`
|
|
5416
5423
|
}
|
5417
5424
|
`}
|
5418
5425
|
`
|
5419
|
-
},
|
5426
|
+
}, Wt = ({
|
5420
5427
|
intent: t = "tabs",
|
5421
5428
|
variant: L = "default",
|
5422
5429
|
label: a = "Configuratie",
|
@@ -5589,7 +5596,7 @@ const w4 = B.div`
|
|
5589
5596
|
}
|
5590
5597
|
`}
|
5591
5598
|
`
|
5592
|
-
},
|
5599
|
+
}, Nt = ({
|
5593
5600
|
selected: t = !1,
|
5594
5601
|
inactive: L = !1,
|
5595
5602
|
variant: a = "blue",
|
@@ -5860,7 +5867,7 @@ const N4 = B.div`
|
|
5860
5867
|
${(t) => t.$disabled && d`
|
5861
5868
|
background-color: ${t.$message ? l.gray_30 : l.gray_100};
|
5862
5869
|
`}
|
5863
|
-
`,
|
5870
|
+
`, Tt = ({
|
5864
5871
|
labeledTexts: t = [],
|
5865
5872
|
title: L = "",
|
5866
5873
|
selected: a = !1,
|
@@ -6104,7 +6111,7 @@ const G4 = [0, 2, 4, 8], i6 = [14, 16, 18, 20, 24], L6 = [200, 300, 400, 500, 70
|
|
6104
6111
|
}
|
6105
6112
|
}
|
6106
6113
|
}
|
6107
|
-
`,
|
6114
|
+
`, It = ({
|
6108
6115
|
gap: t = 8,
|
6109
6116
|
title: L = "Title",
|
6110
6117
|
text: a = "Text",
|
@@ -6120,8 +6127,8 @@ const G4 = [0, 2, 4, 8], i6 = [14, 16, 18, 20, 24], L6 = [200, 300, 400, 500, 70
|
|
6120
6127
|
imgHeight: g,
|
6121
6128
|
showButton: _ = !1,
|
6122
6129
|
buttonLabel: V = "Afla mai multe",
|
6123
|
-
buttonOnClick:
|
6124
|
-
contained:
|
6130
|
+
buttonOnClick: E,
|
6131
|
+
contained: x = !0,
|
6125
6132
|
rigthIcon: w,
|
6126
6133
|
rightIconColor: v = "info_700",
|
6127
6134
|
rightIconOnClick: k,
|
@@ -6139,7 +6146,7 @@ const G4 = [0, 2, 4, 8], i6 = [14, 16, 18, 20, 24], L6 = [200, 300, 400, 500, 70
|
|
6139
6146
|
$textFontWeight: u,
|
6140
6147
|
$width: h,
|
6141
6148
|
$imgHeight: g,
|
6142
|
-
$contained:
|
6149
|
+
$contained: x,
|
6143
6150
|
$rigthIcon: w,
|
6144
6151
|
...b,
|
6145
6152
|
children: [
|
@@ -6166,7 +6173,7 @@ const G4 = [0, 2, 4, 8], i6 = [14, 16, 18, 20, 24], L6 = [200, 300, 400, 500, 70
|
|
6166
6173
|
_ && /* @__PURE__ */ i.jsx(
|
6167
6174
|
M1,
|
6168
6175
|
{
|
6169
|
-
onClick:
|
6176
|
+
onClick: E,
|
6170
6177
|
style: { width: "fit-content" },
|
6171
6178
|
intent: "info",
|
6172
6179
|
variant: "secondaryOutlined",
|
@@ -6208,7 +6215,7 @@ const G4 = [0, 2, 4, 8], i6 = [14, 16, 18, 20, 24], L6 = [200, 300, 400, 500, 70
|
|
6208
6215
|
line-height: 120%;
|
6209
6216
|
text-align: ${({ $align: t }) => t && ["left", "center"].includes(t) ? t === "left" ? "left" : t === "center" && "center" : "center"};
|
6210
6217
|
}
|
6211
|
-
`,
|
6218
|
+
`, Gt = ({
|
6212
6219
|
icon: t = "card",
|
6213
6220
|
topGap: L = 8,
|
6214
6221
|
bottomGap: a = 4,
|
@@ -6648,7 +6655,7 @@ const G4 = [0, 2, 4, 8], i6 = [14, 16, 18, 20, 24], L6 = [200, 300, 400, 500, 70
|
|
6648
6655
|
t
|
6649
6656
|
) || L && ["default", "light"].includes(L) ? D1.button[L ?? "default"][t ?? "default"].wrapper : D1.button.default.default.wrapper}
|
6650
6657
|
}
|
6651
|
-
`,
|
6658
|
+
`, Yt = ({
|
6652
6659
|
intent: t = "default",
|
6653
6660
|
variant: L = "default",
|
6654
6661
|
icon: a,
|
@@ -6753,15 +6760,15 @@ const G4 = [0, 2, 4, 8], i6 = [14, 16, 18, 20, 24], L6 = [200, 300, 400, 500, 70
|
|
6753
6760
|
const a = o6(t, L), r = K4(t, L), n = r === 0 ? 6 : r - 1, c = J4 * 7 - (n + a), { month: C, year: o } = X6(
|
6754
6761
|
t,
|
6755
6762
|
L
|
6756
|
-
), { month: p, year: f } = Q6(t, L), u = o6(C, o), h = [...new Array(n)].map((V,
|
6757
|
-
const
|
6758
|
-
return [o, F1(C, 2), F1(
|
6759
|
-
}), g = [...new Array(a)].map((V,
|
6760
|
-
const
|
6761
|
-
return [L, F1(t, 2), F1(
|
6762
|
-
}), _ = [...new Array(c)].map((V,
|
6763
|
-
const
|
6764
|
-
return [f, F1(p, 2), F1(
|
6763
|
+
), { month: p, year: f } = Q6(t, L), u = o6(C, o), h = [...new Array(n)].map((V, E) => {
|
6764
|
+
const x = E + 1 + (u - n);
|
6765
|
+
return [o, F1(C, 2), F1(x, 2)];
|
6766
|
+
}), g = [...new Array(a)].map((V, E) => {
|
6767
|
+
const x = E + 1;
|
6768
|
+
return [L, F1(t, 2), F1(x, 2)];
|
6769
|
+
}), _ = [...new Array(c)].map((V, E) => {
|
6770
|
+
const x = E + 1;
|
6771
|
+
return [f, F1(p, 2), F1(x, 2)];
|
6765
6772
|
});
|
6766
6773
|
return [...h, ...g, ..._];
|
6767
6774
|
}, te = B.div`
|
@@ -6920,16 +6927,16 @@ const G4 = [0, 2, 4, 8], i6 = [14, 16, 18, 20, 24], L6 = [200, 300, 400, 500, 70
|
|
6920
6927
|
}, V = (m, S) => {
|
6921
6928
|
const $ = C6[m].toUpperCase();
|
6922
6929
|
return /* @__PURE__ */ i.jsx(ae, { $index: S, children: $ }, $ + S);
|
6923
|
-
},
|
6930
|
+
}, E = () => {
|
6924
6931
|
const { current: m, month: S, year: $ } = c, y = S || +(m == null ? void 0 : m.getMonth()) + 1, j = $ || (m == null ? void 0 : m.getFullYear());
|
6925
6932
|
return ee(y, j);
|
6926
|
-
},
|
6933
|
+
}, x = (m) => {
|
6927
6934
|
if (!/^\d{4}-\d{2}-\d{2}$/.test(m)) return !1;
|
6928
6935
|
const $ = new Date(m), y = $.getTime();
|
6929
6936
|
if (isNaN(y)) return !1;
|
6930
6937
|
const [j, A, G] = m.split("-");
|
6931
6938
|
return !($.getUTCFullYear() !== parseInt(j, 10) || $.getUTCMonth() + 1 !== parseInt(A, 10) || $.getUTCDate() !== parseInt(G, 10));
|
6932
|
-
}, w = () => !(!r || !n || !
|
6939
|
+
}, w = () => !(!r || !n || !x(r) || !x(n)), v = o1(() => {
|
6933
6940
|
if (!w()) return [];
|
6934
6941
|
const m = new Date(r), S = new Date(n), $ = [];
|
6935
6942
|
for (let y = new Date(m); y <= S; y.setUTCDate(y.getUTCDate() + 1))
|
@@ -7082,7 +7089,7 @@ const G4 = [0, 2, 4, 8], i6 = [14, 16, 18, 20, 24], L6 = [200, 300, 400, 500, 70
|
|
7082
7089
|
/* @__PURE__ */ i.jsxs(Le, { $view: o, children: [
|
7083
7090
|
o === "date" && /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
|
7084
7091
|
/* @__PURE__ */ i.jsx(i.Fragment, { children: Object.keys(C6).map(V) }),
|
7085
|
-
/* @__PURE__ */ i.jsx(i.Fragment, { children:
|
7092
|
+
/* @__PURE__ */ i.jsx(i.Fragment, { children: E().map(b) })
|
7086
7093
|
] }),
|
7087
7094
|
o === "year" && /* @__PURE__ */ i.jsx(i.Fragment, { children: M().map(R) }),
|
7088
7095
|
o === "month" && /* @__PURE__ */ i.jsx(i.Fragment, { children: Object.values(I2).map(Z) })
|
@@ -7182,7 +7189,7 @@ const G4 = [0, 2, 4, 8], i6 = [14, 16, 18, 20, 24], L6 = [200, 300, 400, 500, 70
|
|
7182
7189
|
background-color: ${l.gray_30};
|
7183
7190
|
`}
|
7184
7191
|
}
|
7185
|
-
`,
|
7192
|
+
`, Ut = ({
|
7186
7193
|
id: t,
|
7187
7194
|
name: L,
|
7188
7195
|
placeholder: a,
|
@@ -7197,7 +7204,7 @@ const G4 = [0, 2, 4, 8], i6 = [14, 16, 18, 20, 24], L6 = [200, 300, 400, 500, 70
|
|
7197
7204
|
defaultOpen: h = !1,
|
7198
7205
|
...g
|
7199
7206
|
}) => {
|
7200
|
-
const [_, V] = N(h), [
|
7207
|
+
const [_, V] = N(h), [E, x] = N("bottom"), w = e1(null), v = (b) => {
|
7201
7208
|
c(b);
|
7202
7209
|
};
|
7203
7210
|
n1(() => {
|
@@ -7231,7 +7238,7 @@ const G4 = [0, 2, 4, 8], i6 = [14, 16, 18, 20, 24], L6 = [200, 300, 400, 500, 70
|
|
7231
7238
|
const b = () => {
|
7232
7239
|
if (w.current) {
|
7233
7240
|
const { y: M } = w.current.getBoundingClientRect();
|
7234
|
-
M < 465 ?
|
7241
|
+
M < 465 ? x("bottom") : x("top");
|
7235
7242
|
}
|
7236
7243
|
};
|
7237
7244
|
return window.addEventListener("scroll", b), () => {
|
@@ -7269,7 +7276,7 @@ const G4 = [0, 2, 4, 8], i6 = [14, 16, 18, 20, 24], L6 = [200, 300, 400, 500, 70
|
|
7269
7276
|
color: p ? l.info_500_40 : l.info_700
|
7270
7277
|
}
|
7271
7278
|
) }),
|
7272
|
-
_ && /* @__PURE__ */ i.jsx(oe, { $position:
|
7279
|
+
_ && /* @__PURE__ */ i.jsx(oe, { $position: E, children: /* @__PURE__ */ i.jsx(
|
7273
7280
|
ce,
|
7274
7281
|
{
|
7275
7282
|
limitStart: f,
|
@@ -7461,7 +7468,7 @@ const G4 = [0, 2, 4, 8], i6 = [14, 16, 18, 20, 24], L6 = [200, 300, 400, 500, 70
|
|
7461
7468
|
dropdownContentWidth: g = "100%",
|
7462
7469
|
..._
|
7463
7470
|
}) => {
|
7464
|
-
const [V,
|
7471
|
+
const [V, E] = N(u), x = e1(null), [w, v] = N(h), [k, b] = N(""), M = d1(
|
7465
7472
|
(F) => {
|
7466
7473
|
const D = F.target.value;
|
7467
7474
|
b(D);
|
@@ -7473,7 +7480,7 @@ const G4 = [0, 2, 4, 8], i6 = [14, 16, 18, 20, 24], L6 = [200, 300, 400, 500, 70
|
|
7473
7480
|
[h]
|
7474
7481
|
), R = d1(
|
7475
7482
|
(F) => {
|
7476
|
-
n(F.value),
|
7483
|
+
n(F.value), E(!1), b(""), v(h);
|
7477
7484
|
},
|
7478
7485
|
[h, n]
|
7479
7486
|
), Z = o1(() => {
|
@@ -7482,18 +7489,18 @@ const G4 = [0, 2, 4, 8], i6 = [14, 16, 18, 20, 24], L6 = [200, 300, 400, 500, 70
|
|
7482
7489
|
}, [r, h]);
|
7483
7490
|
return n1(() => {
|
7484
7491
|
const F = (D) => {
|
7485
|
-
|
7492
|
+
x.current && !x.current.contains(D.target) && (E(!1), b(""), v(h));
|
7486
7493
|
};
|
7487
7494
|
if (V)
|
7488
7495
|
return document.addEventListener("mousedown", F), () => {
|
7489
7496
|
document.removeEventListener("mousedown", F);
|
7490
7497
|
};
|
7491
|
-
}, [
|
7492
|
-
|
7498
|
+
}, [x, V, h]), n1(() => {
|
7499
|
+
E(u);
|
7493
7500
|
}, [u]), /* @__PURE__ */ i.jsxs(
|
7494
7501
|
se,
|
7495
7502
|
{
|
7496
|
-
ref:
|
7503
|
+
ref: x,
|
7497
7504
|
$size: c,
|
7498
7505
|
$intent: C,
|
7499
7506
|
$disabled: o,
|
@@ -7509,7 +7516,7 @@ const G4 = [0, 2, 4, 8], i6 = [14, 16, 18, 20, 24], L6 = [200, 300, 400, 500, 70
|
|
7509
7516
|
type: "text",
|
7510
7517
|
name: L,
|
7511
7518
|
value: Z,
|
7512
|
-
onClick: () => !o &&
|
7519
|
+
onClick: () => !o && E(!V),
|
7513
7520
|
onChange: (F) => F.preventDefault()
|
7514
7521
|
}
|
7515
7522
|
),
|
@@ -7733,11 +7740,11 @@ const G4 = [0, 2, 4, 8], i6 = [14, 16, 18, 20, 24], L6 = [200, 300, 400, 500, 70
|
|
7733
7740
|
iconButtonOnClick: g,
|
7734
7741
|
buttonOnClick: _,
|
7735
7742
|
children: V,
|
7736
|
-
...
|
7743
|
+
...E
|
7737
7744
|
}) => {
|
7738
|
-
let
|
7745
|
+
let x = null;
|
7739
7746
|
return z1.toArray(V).filter(Boolean).forEach((w) => {
|
7740
|
-
w.type === i9 && (
|
7747
|
+
w.type === i9 && (x = w);
|
7741
7748
|
}), /* @__PURE__ */ i.jsx(
|
7742
7749
|
fe,
|
7743
7750
|
{
|
@@ -7746,7 +7753,7 @@ const G4 = [0, 2, 4, 8], i6 = [14, 16, 18, 20, 24], L6 = [200, 300, 400, 500, 70
|
|
7746
7753
|
$refused: C,
|
7747
7754
|
$disabled: o,
|
7748
7755
|
$hideButton: p,
|
7749
|
-
...
|
7756
|
+
...E,
|
7750
7757
|
children: u ? /* @__PURE__ */ i.jsxs("div", { children: [
|
7751
7758
|
/* @__PURE__ */ i.jsx(O, { size: 20, icon: "rejected", color: l.gray_500 }),
|
7752
7759
|
/* @__PURE__ */ i.jsx("span", { children: h })
|
@@ -7808,7 +7815,7 @@ const G4 = [0, 2, 4, 8], i6 = [14, 16, 18, 20, 24], L6 = [200, 300, 400, 500, 70
|
|
7808
7815
|
] }) })
|
7809
7816
|
] })
|
7810
7817
|
] }),
|
7811
|
-
/* @__PURE__ */ i.jsx("div", { children:
|
7818
|
+
/* @__PURE__ */ i.jsx("div", { children: x }),
|
7812
7819
|
!p && /* @__PURE__ */ i.jsxs(
|
7813
7820
|
"button",
|
7814
7821
|
{
|
@@ -7874,7 +7881,7 @@ const me = B.svg`
|
|
7874
7881
|
& > rect:nth-child(3) {
|
7875
7882
|
clip-path: inset(0 0 0 0 round 0px 4px 4px 0px);
|
7876
7883
|
}
|
7877
|
-
`,
|
7884
|
+
`, qt = ({
|
7878
7885
|
max: t = 100,
|
7879
7886
|
limit_max: L = 70,
|
7880
7887
|
limit_min: a = 50,
|
@@ -7884,8 +7891,8 @@ const me = B.svg`
|
|
7884
7891
|
label_limit_min: C = "Pensie standard",
|
7885
7892
|
label_limit_max: o = "Obiectiv pensie"
|
7886
7893
|
}) => {
|
7887
|
-
const p = new Intl.NumberFormat("RO"), f = e1(null), u = e1(null), h = e1(null), g = e1(null), _ = e1(null), V = e1(null),
|
7888
|
-
const X = v / 2 - 20, Q =
|
7894
|
+
const p = new Intl.NumberFormat("RO"), f = e1(null), u = e1(null), h = e1(null), g = e1(null), _ = e1(null), V = e1(null), E = e1(null), [x, w] = N(0), [v, k] = N(0), b = 10, M = o1(() => {
|
7895
|
+
const X = v / 2 - 20, Q = x - b * 2, L1 = Math.min(
|
7889
7896
|
Q,
|
7890
7897
|
Math.max(Q * a / t, 0)
|
7891
7898
|
), f1 = 20, c1 = X + b, g1 = a * Q / t + 10, y1 = Math.min(
|
@@ -7904,19 +7911,19 @@ const me = B.svg`
|
|
7904
7911
|
line_min_x: y1,
|
7905
7912
|
line_max_x: v1
|
7906
7913
|
};
|
7907
|
-
}, [v,
|
7908
|
-
const K = b * 2, Q = r * (
|
7914
|
+
}, [v, x, a, L, t]), R = o1(() => {
|
7915
|
+
const K = b * 2, Q = r * (x - K) / t - M.secondary_bar_w, L1 = x - K - M.secondary_bar_w, f1 = r > L ? l.success_400 : l.danger_200, c1 = r > L ? l.success_600 : l.danger_400;
|
7909
7916
|
return {
|
7910
7917
|
value: Math.min(L1, Math.max(0, Q)),
|
7911
7918
|
fill: f1,
|
7912
7919
|
fill_value: c1
|
7913
7920
|
};
|
7914
|
-
}, [
|
7921
|
+
}, [x, M.secondary_bar_w, r, L, t]), Z = d1(
|
7915
7922
|
(K, X, Q) => {
|
7916
|
-
const { width: L1 } = K.current.getBBox(), f1 = Q === "middle" ?
|
7923
|
+
const { width: L1 } = K.current.getBBox(), f1 = Q === "middle" ? x - L1 + L1 / 2 : Q === "end" ? x - L1 : x - L1 + L1, c1 = Q === "middle" ? L1 / 2 : Q === "end" ? 10 : L1 + 10;
|
7917
7924
|
return Math.min(f1, Math.max(c1, X));
|
7918
7925
|
},
|
7919
|
-
[
|
7926
|
+
[x]
|
7920
7927
|
), F = d1(
|
7921
7928
|
(K) => {
|
7922
7929
|
const X = M.line_min_x + K, Q = M.line_min_x + K;
|
@@ -7944,10 +7951,10 @@ const me = B.svg`
|
|
7944
7951
|
};
|
7945
7952
|
}, [M.line_min_x, Z]), z = d1(() => {
|
7946
7953
|
const K = M.line_max_x, X = M.line_max_x;
|
7947
|
-
return V && V.current ||
|
7954
|
+
return V && V.current || E && E.current ? {
|
7948
7955
|
label_limit_max_x: Z(V, K, "end"),
|
7949
7956
|
sublabel_limit_max_x: Z(
|
7950
|
-
|
7957
|
+
E,
|
7951
7958
|
X,
|
7952
7959
|
"end"
|
7953
7960
|
)
|
@@ -7978,7 +7985,7 @@ const me = B.svg`
|
|
7978
7985
|
ref: f,
|
7979
7986
|
width: "100%",
|
7980
7987
|
height: "100%",
|
7981
|
-
viewBox: `0 0 ${
|
7988
|
+
viewBox: `0 0 ${x} ${v}`,
|
7982
7989
|
xmlns: "http://www.w3.org/2000/svg",
|
7983
7990
|
children: [
|
7984
7991
|
/* @__PURE__ */ i.jsx(
|
@@ -7987,7 +7994,7 @@ const me = B.svg`
|
|
7987
7994
|
x: 0,
|
7988
7995
|
y: M.primary_bar_y,
|
7989
7996
|
height: M.primary_bar_h,
|
7990
|
-
width:
|
7997
|
+
width: x,
|
7991
7998
|
rx: 8
|
7992
7999
|
}
|
7993
8000
|
),
|
@@ -8091,7 +8098,7 @@ const me = B.svg`
|
|
8091
8098
|
/* @__PURE__ */ i.jsx(
|
8092
8099
|
"text",
|
8093
8100
|
{
|
8094
|
-
ref:
|
8101
|
+
ref: E,
|
8095
8102
|
className: "sublabel_bottom",
|
8096
8103
|
textAnchor: "start",
|
8097
8104
|
x: r1,
|
@@ -8170,7 +8177,7 @@ const me = B.svg`
|
|
8170
8177
|
background-color: ${l.gray_400};
|
8171
8178
|
}
|
8172
8179
|
}
|
8173
|
-
`,
|
8180
|
+
`, Jt = ({
|
8174
8181
|
size: t = "medium",
|
8175
8182
|
name: L,
|
8176
8183
|
checked: a = !1,
|
@@ -10704,7 +10711,7 @@ const me = B.svg`
|
|
10704
10711
|
/* @__PURE__ */ i.jsx("circle", { cx: "16.75", cy: "16", r: "6", fill: "#F7F7F8" })
|
10705
10712
|
]
|
10706
10713
|
}
|
10707
|
-
),
|
10714
|
+
), Kt = ({
|
10708
10715
|
intent: t = "PlanFinanciar",
|
10709
10716
|
buttonOnClick: L,
|
10710
10717
|
...a
|
@@ -10804,7 +10811,7 @@ const me = B.svg`
|
|
10804
10811
|
`}
|
10805
10812
|
`, we = B.input`
|
10806
10813
|
display: none;
|
10807
|
-
`,
|
10814
|
+
`, Xt = ({
|
10808
10815
|
name: t,
|
10809
10816
|
id: L,
|
10810
10817
|
checked: a = !1,
|
@@ -10927,7 +10934,7 @@ const me = B.svg`
|
|
10927
10934
|
}
|
10928
10935
|
}
|
10929
10936
|
}
|
10930
|
-
`,
|
10937
|
+
`, Qt = ({
|
10931
10938
|
title: t = "",
|
10932
10939
|
currency: L = "RON",
|
10933
10940
|
line1Text: a = "",
|
@@ -11290,7 +11297,7 @@ const ke = B.svg`
|
|
11290
11297
|
font-size: 14px;
|
11291
11298
|
font-weight: 400;
|
11292
11299
|
}
|
11293
|
-
`,
|
11300
|
+
`, el = ({
|
11294
11301
|
height: t = 280,
|
11295
11302
|
paddingLeft: L = 240,
|
11296
11303
|
paddingRight: a = 40,
|
@@ -11306,8 +11313,8 @@ const ke = B.svg`
|
|
11306
11313
|
col2Value: g = 25e3,
|
11307
11314
|
col3Value: _ = 15e3,
|
11308
11315
|
col4Value: V = 1e4,
|
11309
|
-
col1Color:
|
11310
|
-
col2Color:
|
11316
|
+
col1Color: E = "success_500",
|
11317
|
+
col2Color: x = "info_500",
|
11311
11318
|
col3Color: w = "warning_500",
|
11312
11319
|
col4Color: v = "danger_500",
|
11313
11320
|
currency: k = "RON",
|
@@ -11388,8 +11395,8 @@ const ke = B.svg`
|
|
11388
11395
|
height: "100%",
|
11389
11396
|
viewBox: `0 0 ${Z} ${D}`,
|
11390
11397
|
xmlns: "http://www.w3.org/2000/svg",
|
11391
|
-
$col1Color:
|
11392
|
-
$col2Color:
|
11398
|
+
$col1Color: E,
|
11399
|
+
$col2Color: x,
|
11393
11400
|
$col3Color: w,
|
11394
11401
|
$col4Color: v,
|
11395
11402
|
$dev: b,
|
@@ -11675,7 +11682,7 @@ const ke = B.svg`
|
|
11675
11682
|
font-weight: 700;
|
11676
11683
|
fill: ${l.gray_950};
|
11677
11684
|
}
|
11678
|
-
`,
|
11685
|
+
`, tl = ({
|
11679
11686
|
limitTop: t = 100,
|
11680
11687
|
limitBottom: L = 70,
|
11681
11688
|
limitTopLabel: a = "Top label",
|
@@ -11683,7 +11690,7 @@ const ke = B.svg`
|
|
11683
11690
|
currency: n = "RON",
|
11684
11691
|
height: c = 284
|
11685
11692
|
}) => {
|
11686
|
-
const C = new Intl.NumberFormat("RO"), o = e1(null), p = e1(null), f = e1(null), u = e1(null), h = e1(null), [g, _] = N(0), [V,
|
11693
|
+
const C = new Intl.NumberFormat("RO"), o = e1(null), p = e1(null), f = e1(null), u = e1(null), h = e1(null), [g, _] = N(0), [V, E] = N(0), x = o1(() => {
|
11687
11694
|
const M = V / 2 - 12;
|
11688
11695
|
let R, Z, F, D, z, m, S;
|
11689
11696
|
if (L > t) {
|
@@ -11718,10 +11725,10 @@ const ke = B.svg`
|
|
11718
11725
|
), v = o1(() => {
|
11719
11726
|
var R, Z;
|
11720
11727
|
const b = {
|
11721
|
-
x:
|
11728
|
+
x: x.limit_top_x - 10,
|
11722
11729
|
textAnchor: "end"
|
11723
11730
|
}, M = {
|
11724
|
-
x:
|
11731
|
+
x: x.limit_top_x - 10,
|
11725
11732
|
textAnchor: "end"
|
11726
11733
|
};
|
11727
11734
|
if (p && p.current || f && f.current) {
|
@@ -11741,13 +11748,13 @@ const ke = B.svg`
|
|
11741
11748
|
limitMinLabel: b,
|
11742
11749
|
limitMinSublabel: M
|
11743
11750
|
};
|
11744
|
-
}, [
|
11751
|
+
}, [x.limit_top_x]), k = o1(() => {
|
11745
11752
|
var R, Z;
|
11746
11753
|
const b = {
|
11747
|
-
x:
|
11754
|
+
x: x.limit_bottom_x - 10,
|
11748
11755
|
textAnchor: "end"
|
11749
11756
|
}, M = {
|
11750
|
-
x:
|
11757
|
+
x: x.limit_bottom_x - 10,
|
11751
11758
|
textAnchor: "end"
|
11752
11759
|
};
|
11753
11760
|
if (u && u.current || h && h.current) {
|
@@ -11767,13 +11774,13 @@ const ke = B.svg`
|
|
11767
11774
|
limitMaxLabel: b,
|
11768
11775
|
limitMaxSublabel: M
|
11769
11776
|
};
|
11770
|
-
}, [
|
11777
|
+
}, [x.limit_bottom_x]);
|
11771
11778
|
return n1(() => {
|
11772
11779
|
if (o && o.current) {
|
11773
11780
|
const b = () => {
|
11774
11781
|
var R;
|
11775
11782
|
const M = (R = o == null ? void 0 : o.current) == null ? void 0 : R.clientWidth;
|
11776
|
-
_(+M),
|
11783
|
+
_(+M), E(c);
|
11777
11784
|
};
|
11778
11785
|
return b(), window.addEventListener("resize", b), () => window.removeEventListener("resize", b);
|
11779
11786
|
}
|
@@ -11786,34 +11793,34 @@ const ke = B.svg`
|
|
11786
11793
|
viewBox: `0 0 ${g} ${V}`,
|
11787
11794
|
xmlns: "http://www.w3.org/2000/svg",
|
11788
11795
|
children: [
|
11789
|
-
/* @__PURE__ */ i.jsx("rect", { x: 0, y:
|
11796
|
+
/* @__PURE__ */ i.jsx("rect", { x: 0, y: x.bar_y, height: x.bar_h, width: g }),
|
11790
11797
|
/* @__PURE__ */ i.jsx(
|
11791
11798
|
"rect",
|
11792
11799
|
{
|
11793
11800
|
x: 0,
|
11794
|
-
y:
|
11795
|
-
height:
|
11796
|
-
width:
|
11797
|
-
fill:
|
11801
|
+
y: x.bar_y,
|
11802
|
+
height: x.bar_h,
|
11803
|
+
width: x.secondary_bar_w,
|
11804
|
+
fill: x.secondary_fill_color
|
11798
11805
|
}
|
11799
11806
|
),
|
11800
11807
|
/* @__PURE__ */ i.jsx(
|
11801
11808
|
"rect",
|
11802
11809
|
{
|
11803
|
-
x:
|
11804
|
-
y:
|
11805
|
-
height:
|
11806
|
-
width:
|
11807
|
-
fill:
|
11810
|
+
x: x.dynamic_bar_x,
|
11811
|
+
y: x.bar_y,
|
11812
|
+
height: x.bar_h,
|
11813
|
+
width: x.dynamic_bar_w,
|
11814
|
+
fill: x.dynamic_fill_color
|
11808
11815
|
}
|
11809
11816
|
),
|
11810
11817
|
/* @__PURE__ */ i.jsx(
|
11811
11818
|
"line",
|
11812
11819
|
{
|
11813
|
-
x1:
|
11814
|
-
x2:
|
11820
|
+
x1: x.limit_top_x,
|
11821
|
+
x2: x.limit_top_x,
|
11815
11822
|
y1: 0,
|
11816
|
-
y2:
|
11823
|
+
y2: x.bar_y + x.bar_h,
|
11817
11824
|
strokeWidth: 2,
|
11818
11825
|
stroke: "#232529"
|
11819
11826
|
}
|
@@ -11843,9 +11850,9 @@ const ke = B.svg`
|
|
11843
11850
|
/* @__PURE__ */ i.jsx(
|
11844
11851
|
"line",
|
11845
11852
|
{
|
11846
|
-
x1:
|
11847
|
-
x2:
|
11848
|
-
y1:
|
11853
|
+
x1: x.limit_bottom_x,
|
11854
|
+
x2: x.limit_bottom_x,
|
11855
|
+
y1: x.bar_y,
|
11849
11856
|
y2: V,
|
11850
11857
|
strokeWidth: 2,
|
11851
11858
|
stroke: "#232529"
|
@@ -11885,7 +11892,7 @@ const ke = B.svg`
|
|
11885
11892
|
& > rect:nth-child(1) {
|
11886
11893
|
fill: ${({ $selected: t }) => t ? l.info_200 : l.gray_60};
|
11887
11894
|
}
|
11888
|
-
`,
|
11895
|
+
`, ll = ({
|
11889
11896
|
max: t = 100,
|
11890
11897
|
limit_max: L = 70,
|
11891
11898
|
limit_min: a = 40,
|
@@ -11899,7 +11906,7 @@ const ke = B.svg`
|
|
11899
11906
|
const f = new Intl.NumberFormat("RO", {
|
11900
11907
|
minimumFractionDigits: c,
|
11901
11908
|
maximumFractionDigits: c
|
11902
|
-
}), u = e1(null), [h, g] = N(0), [_, V] = N(0),
|
11909
|
+
}), u = e1(null), [h, g] = N(0), [_, V] = N(0), E = o1(() => {
|
11903
11910
|
const v = _ / 2 - 12, k = Math.min(h, Math.max(h * a / t, 0)), b = a * h / t - 1, M = Math.min(h, Math.max(b, 0.5)), R = L * h / t - 1, Z = Math.min(h, Math.max(R, 1));
|
11904
11911
|
return {
|
11905
11912
|
bar_h: 24,
|
@@ -11908,8 +11915,8 @@ const ke = B.svg`
|
|
11908
11915
|
line_min_x: M,
|
11909
11916
|
line_max_x: Z
|
11910
11917
|
};
|
11911
|
-
}, [h, _, L, a, t]),
|
11912
|
-
const v = r * h / t -
|
11918
|
+
}, [h, _, L, a, t]), x = o1(() => {
|
11919
|
+
const v = r * h / t - E.secondary_bar_w, k = h - E.secondary_bar_w, b = r >= L ? l.success_200 : l.danger_200, M = r >= L ? l.success_500 : l.danger_500, R = r >= L ? l.success_800 : l.danger_800;
|
11913
11920
|
return {
|
11914
11921
|
value: Math.min(k, Math.max(0, v)),
|
11915
11922
|
fill_rect_primary: b,
|
@@ -11936,15 +11943,15 @@ const ke = B.svg`
|
|
11936
11943
|
xmlns: "http://www.w3.org/2000/svg",
|
11937
11944
|
$selected: p,
|
11938
11945
|
children: [
|
11939
|
-
/* @__PURE__ */ i.jsx("rect", { x: 0, y:
|
11946
|
+
/* @__PURE__ */ i.jsx("rect", { x: 0, y: E.bar_y, height: E.bar_h, width: h }),
|
11940
11947
|
/* @__PURE__ */ i.jsx(
|
11941
11948
|
"rect",
|
11942
11949
|
{
|
11943
11950
|
x: 0,
|
11944
|
-
y:
|
11945
|
-
height:
|
11946
|
-
width:
|
11947
|
-
fill:
|
11951
|
+
y: E.bar_y,
|
11952
|
+
height: E.bar_h,
|
11953
|
+
width: E.secondary_bar_w,
|
11954
|
+
fill: x.fill_rect_primary
|
11948
11955
|
}
|
11949
11956
|
),
|
11950
11957
|
/* @__PURE__ */ i.jsx(
|
@@ -11953,26 +11960,26 @@ const ke = B.svg`
|
|
11953
11960
|
className: "limitMinLabel",
|
11954
11961
|
textAnchor: "start",
|
11955
11962
|
x: 10,
|
11956
|
-
y:
|
11957
|
-
fill:
|
11963
|
+
y: E.bar_y + E.bar_h / 1.5,
|
11964
|
+
fill: x.fill_value_text,
|
11958
11965
|
children: f.format(n) + " " + C
|
11959
11966
|
}
|
11960
11967
|
),
|
11961
11968
|
/* @__PURE__ */ i.jsx(
|
11962
11969
|
"rect",
|
11963
11970
|
{
|
11964
|
-
x:
|
11965
|
-
y:
|
11966
|
-
height:
|
11967
|
-
width:
|
11968
|
-
fill:
|
11971
|
+
x: E.line_min_x,
|
11972
|
+
y: E.bar_y,
|
11973
|
+
height: E.bar_h,
|
11974
|
+
width: x.value,
|
11975
|
+
fill: x.fill_rect_secondary
|
11969
11976
|
}
|
11970
11977
|
),
|
11971
11978
|
/* @__PURE__ */ i.jsx(
|
11972
11979
|
"line",
|
11973
11980
|
{
|
11974
|
-
x1:
|
11975
|
-
x2:
|
11981
|
+
x1: E.line_min_x,
|
11982
|
+
x2: E.line_min_x,
|
11976
11983
|
y1: 0,
|
11977
11984
|
y2: _,
|
11978
11985
|
strokeWidth: 2,
|
@@ -11982,8 +11989,8 @@ const ke = B.svg`
|
|
11982
11989
|
/* @__PURE__ */ i.jsx(
|
11983
11990
|
"line",
|
11984
11991
|
{
|
11985
|
-
x1:
|
11986
|
-
x2:
|
11992
|
+
x1: E.line_max_x,
|
11993
|
+
x2: E.line_max_x,
|
11987
11994
|
y1: 0,
|
11988
11995
|
y2: _,
|
11989
11996
|
strokeWidth: 2,
|
@@ -12044,7 +12051,7 @@ const ke = B.svg`
|
|
12044
12051
|
font-size: 14px;
|
12045
12052
|
font-weight: 400;
|
12046
12053
|
}
|
12047
|
-
`,
|
12054
|
+
`, il = ({
|
12048
12055
|
height: t = 280,
|
12049
12056
|
paddingLeft: L = 240,
|
12050
12057
|
paddingRight: a = 40,
|
@@ -12060,8 +12067,8 @@ const ke = B.svg`
|
|
12060
12067
|
textBottomSecondary: g = 24,
|
12061
12068
|
col1Value: _ = 40015,
|
12062
12069
|
col2Value: V = 32721,
|
12063
|
-
col3Value:
|
12064
|
-
col4Value:
|
12070
|
+
col3Value: E = 25806,
|
12071
|
+
col4Value: x = 24806,
|
12065
12072
|
col1Color: w = "success_500",
|
12066
12073
|
col2Color: v = "info_500",
|
12067
12074
|
col3Color: k = "warning_500",
|
@@ -12090,16 +12097,16 @@ const ke = B.svg`
|
|
12090
12097
|
text_y: +I(V).y - 12
|
12091
12098
|
}, U = {
|
12092
12099
|
x: L + T * 2 + c * 2,
|
12093
|
-
y: I(x).y,
|
12094
|
-
w: T,
|
12095
|
-
h: I(x).h,
|
12096
|
-
text_y: +I(x).y - 12
|
12097
|
-
}, K = {
|
12098
|
-
x: L + T * 3 + c * 3,
|
12099
12100
|
y: I(E).y,
|
12100
12101
|
w: T,
|
12101
12102
|
h: I(E).h,
|
12102
12103
|
text_y: +I(E).y - 12
|
12104
|
+
}, K = {
|
12105
|
+
x: L + T * 3 + c * 3,
|
12106
|
+
y: I(x).y,
|
12107
|
+
w: T,
|
12108
|
+
h: I(x).h,
|
12109
|
+
text_y: +I(x).y - 12
|
12103
12110
|
};
|
12104
12111
|
return {
|
12105
12112
|
graphW: j,
|
@@ -12124,8 +12131,8 @@ const ke = B.svg`
|
|
12124
12131
|
n,
|
12125
12132
|
_,
|
12126
12133
|
V,
|
12127
|
-
x,
|
12128
12134
|
E,
|
12135
|
+
x,
|
12129
12136
|
$
|
12130
12137
|
]);
|
12131
12138
|
return n1(() => {
|
@@ -12250,7 +12257,7 @@ const ke = B.svg`
|
|
12250
12257
|
textAnchor: "middle",
|
12251
12258
|
x: y.col_3.x + y.col_3.w / 2,
|
12252
12259
|
y: 16,
|
12253
|
-
children: Z.format(
|
12260
|
+
children: Z.format(E) + ` ${M}`
|
12254
12261
|
}
|
12255
12262
|
),
|
12256
12263
|
/* @__PURE__ */ i.jsx(
|
@@ -12291,7 +12298,7 @@ const ke = B.svg`
|
|
12291
12298
|
textAnchor: "middle",
|
12292
12299
|
x: y.col_4.x + y.col_4.w / 2,
|
12293
12300
|
y: 16,
|
12294
|
-
children: Z.format(
|
12301
|
+
children: Z.format(x) + ` ${M}`
|
12295
12302
|
}
|
12296
12303
|
),
|
12297
12304
|
/* @__PURE__ */ i.jsx(
|
@@ -12447,7 +12454,7 @@ const ke = B.svg`
|
|
12447
12454
|
cursor: default;
|
12448
12455
|
}
|
12449
12456
|
}
|
12450
|
-
`,
|
12457
|
+
`, Ll = ({
|
12451
12458
|
height: t = "60px",
|
12452
12459
|
data: L = [],
|
12453
12460
|
value: a,
|
@@ -12461,20 +12468,20 @@ const ke = B.svg`
|
|
12461
12468
|
}) => {
|
12462
12469
|
var V;
|
12463
12470
|
const u = e1(null), [h, g] = N(o), _ = d1(
|
12464
|
-
(
|
12471
|
+
(E) => {
|
12465
12472
|
if (n) return;
|
12466
|
-
const { id:
|
12467
|
-
r(
|
12473
|
+
const { id: x } = E;
|
12474
|
+
r(x), g(!1);
|
12468
12475
|
},
|
12469
12476
|
[r, n]
|
12470
12477
|
);
|
12471
12478
|
return n1(() => {
|
12472
|
-
const
|
12473
|
-
u.current && !u.current.contains(
|
12479
|
+
const E = (x) => {
|
12480
|
+
u.current && !u.current.contains(x.target) && g(!1);
|
12474
12481
|
};
|
12475
12482
|
if (C && C(h), h)
|
12476
|
-
return document.addEventListener("mousedown",
|
12477
|
-
document.removeEventListener("mousedown",
|
12483
|
+
return document.addEventListener("mousedown", E), () => {
|
12484
|
+
document.removeEventListener("mousedown", E);
|
12478
12485
|
};
|
12479
12486
|
}, [u, h, C]), n1(() => {
|
12480
12487
|
!a && !c && r(L[0].id);
|
@@ -12493,14 +12500,14 @@ const ke = B.svg`
|
|
12493
12500
|
children: /* @__PURE__ */ i.jsxs("button", { disabled: n, onClick: () => g(!h), children: [
|
12494
12501
|
/* @__PURE__ */ i.jsxs("div", { children: [
|
12495
12502
|
p && h && /* @__PURE__ */ i.jsx("div", { className: "x8Kp9Lm2", children: /* @__PURE__ */ i.jsx(O, { icon: "menu-up", size: 20, color: l.info_700 }) }),
|
12496
|
-
/* @__PURE__ */ i.jsx("div", { className: "Kj9pL4mN", children: h ? L && L.length ? L.map((
|
12503
|
+
/* @__PURE__ */ i.jsx("div", { className: "Kj9pL4mN", children: h ? L && L.length ? L.map((E, x) => /* @__PURE__ */ i.jsx(
|
12497
12504
|
"div",
|
12498
12505
|
{
|
12499
|
-
onClick: () => n ? null : _(
|
12500
|
-
children:
|
12506
|
+
onClick: () => n ? null : _(E),
|
12507
|
+
children: E.content
|
12501
12508
|
},
|
12502
|
-
|
12503
|
-
)) : /* @__PURE__ */ i.jsx(i.Fragment, {}) : !a && c ? c : (V = L.find((
|
12509
|
+
x
|
12510
|
+
)) : /* @__PURE__ */ i.jsx(i.Fragment, {}) : !a && c ? c : (V = L.find((E) => E.id === a)) == null ? void 0 : V.content }),
|
12504
12511
|
p && h && /* @__PURE__ */ i.jsx("div", { className: "x8Kp9Lm2", children: /* @__PURE__ */ i.jsx(O, { icon: "menu-down", size: 20, color: l.info_700 }) })
|
12505
12512
|
] }),
|
12506
12513
|
/* @__PURE__ */ i.jsx("div", { children: /* @__PURE__ */ i.jsx("div", { children: /* @__PURE__ */ i.jsx(
|
@@ -12561,7 +12568,7 @@ const ke = B.svg`
|
|
12561
12568
|
font-weight: 400;
|
12562
12569
|
fill: ${l.gray_800};
|
12563
12570
|
}
|
12564
|
-
`,
|
12571
|
+
`, al = ({
|
12565
12572
|
height: t = 280,
|
12566
12573
|
paddingLeft: L = 240,
|
12567
12574
|
paddingRight: a = 0,
|
@@ -12577,8 +12584,8 @@ const ke = B.svg`
|
|
12577
12584
|
col2Text: g = "5 ani",
|
12578
12585
|
col3Text: _ = "10 ani",
|
12579
12586
|
col1Value: V = 15e3,
|
12580
|
-
col2Value:
|
12581
|
-
col3Value:
|
12587
|
+
col2Value: E = 13e3,
|
12588
|
+
col3Value: x = 11e3,
|
12582
12589
|
col1Color: w = "danger_500",
|
12583
12590
|
col2Color: v = "danger_500",
|
12584
12591
|
col3Color: k = "danger_500",
|
@@ -12600,16 +12607,16 @@ const ke = B.svg`
|
|
12600
12607
|
text_y: V >= o ? +T(V).y - 12 : +T(V).y + +T(V).h + 12 + 10
|
12601
12608
|
}, i1 = {
|
12602
12609
|
x: L + G + c,
|
12603
|
-
y: T(
|
12610
|
+
y: T(E).y,
|
12604
12611
|
w: G,
|
12605
|
-
h: T(
|
12606
|
-
text_y:
|
12612
|
+
h: T(E).h,
|
12613
|
+
text_y: E >= o ? +T(E).y - 12 : +T(E).y + +T(E).h + 12 + 10
|
12607
12614
|
}, r1 = {
|
12608
12615
|
x: L + G * 2 + c * 2,
|
12609
|
-
y: T(
|
12616
|
+
y: T(x).y,
|
12610
12617
|
w: G,
|
12611
|
-
h: T(
|
12612
|
-
text_y:
|
12618
|
+
h: T(x).h,
|
12619
|
+
text_y: x >= o ? +T(x).y - 12 : +T(x).y + T(x).h + 12 + 10
|
12613
12620
|
};
|
12614
12621
|
return {
|
12615
12622
|
graphW: y,
|
@@ -12632,8 +12639,8 @@ const ke = B.svg`
|
|
12632
12639
|
r,
|
12633
12640
|
n,
|
12634
12641
|
V,
|
12635
|
-
x,
|
12636
12642
|
E,
|
12643
|
+
x,
|
12637
12644
|
S
|
12638
12645
|
]);
|
12639
12646
|
return n1(() => {
|
@@ -12716,7 +12723,7 @@ const ke = B.svg`
|
|
12716
12723
|
textAnchor: "middle",
|
12717
12724
|
x: $.col_2.x + $.col_2.w / 2,
|
12718
12725
|
y: $.col_2.text_y,
|
12719
|
-
children: R.format(
|
12726
|
+
children: R.format(E) + ` ${b}`
|
12720
12727
|
}
|
12721
12728
|
),
|
12722
12729
|
/* @__PURE__ */ i.jsx(
|
@@ -12757,7 +12764,7 @@ const ke = B.svg`
|
|
12757
12764
|
textAnchor: "middle",
|
12758
12765
|
x: $.col_3.x + $.col_3.w / 2,
|
12759
12766
|
y: $.col_3.text_y,
|
12760
|
-
children: R.format(
|
12767
|
+
children: R.format(x) + ` ${b}`
|
12761
12768
|
}
|
12762
12769
|
),
|
12763
12770
|
/* @__PURE__ */ i.jsx(
|
@@ -12934,7 +12941,7 @@ const ke = B.svg`
|
|
12934
12941
|
marginBottom: F ? `${c}px` : "auto"
|
12935
12942
|
};
|
12936
12943
|
_((m) => JSON.stringify(m) === JSON.stringify(D) ? m : D);
|
12937
|
-
}, []),
|
12944
|
+
}, []), E = d1(() => {
|
12938
12945
|
const v = h == null ? void 0 : h.current, k = o == null ? void 0 : o.current;
|
12939
12946
|
if (!v || !k) return;
|
12940
12947
|
const b = v.getBoundingClientRect(), M = k.getBoundingClientRect(), R = M.left + window.scrollX, Z = M.top + window.scrollY, F = window.innerHeight - M.bottom, D = M.top, z = b.height + 50 > F && D + 150 > F, m = {
|
@@ -12944,10 +12951,10 @@ const ke = B.svg`
|
|
12944
12951
|
marginBottom: z ? "10px" : "auto"
|
12945
12952
|
};
|
12946
12953
|
_((S) => JSON.stringify(S) === JSON.stringify(m) ? S : m);
|
12947
|
-
}, []),
|
12948
|
-
n1(() => (
|
12949
|
-
window.removeEventListener("resize",
|
12950
|
-
}), [
|
12954
|
+
}, []), x = d1(() => C ? E() : V(), [C, V, E]);
|
12955
|
+
n1(() => (x(), window.addEventListener("resize", x), window.addEventListener("scroll", x, !0), () => {
|
12956
|
+
window.removeEventListener("resize", x), window.removeEventListener("scroll", x, !0);
|
12957
|
+
}), [x]);
|
12951
12958
|
const w = (v, k = !1) => {
|
12952
12959
|
if (k) {
|
12953
12960
|
if (f === "0") return;
|
@@ -13471,9 +13478,9 @@ const Ue = B.div`
|
|
13471
13478
|
children: _,
|
13472
13479
|
...V
|
13473
13480
|
}) => {
|
13474
|
-
let
|
13475
|
-
return z1.toArray(_).filter(Boolean).forEach((
|
13476
|
-
|
13481
|
+
let E = null;
|
13482
|
+
return z1.toArray(_).filter(Boolean).forEach((x) => {
|
13483
|
+
x.type === r9 && (E = x);
|
13477
13484
|
}), /* @__PURE__ */ i.jsx(
|
13478
13485
|
Ue,
|
13479
13486
|
{
|
@@ -13544,7 +13551,7 @@ const Ue = B.div`
|
|
13544
13551
|
] }) })
|
13545
13552
|
] })
|
13546
13553
|
] }),
|
13547
|
-
/* @__PURE__ */ i.jsx("div", { children:
|
13554
|
+
/* @__PURE__ */ i.jsx("div", { children: E }),
|
13548
13555
|
!p && /* @__PURE__ */ i.jsxs(
|
13549
13556
|
"button",
|
13550
13557
|
{
|
@@ -13607,7 +13614,7 @@ const Je = B.button`
|
|
13607
13614
|
background-color: ${l.gray_100};
|
13608
13615
|
color: ${l.gray_600};
|
13609
13616
|
}
|
13610
|
-
`,
|
13617
|
+
`, rl = ({
|
13611
13618
|
selected: t = !1,
|
13612
13619
|
label: L = "Label",
|
13613
13620
|
disabled: a = !1,
|
@@ -14823,7 +14830,7 @@ const Je = B.button`
|
|
14823
14830
|
gap: 8px;
|
14824
14831
|
border-top: 1px solid ${l.gray_150};
|
14825
14832
|
}
|
14826
|
-
`,
|
14833
|
+
`, nl = ({
|
14827
14834
|
id: t,
|
14828
14835
|
name: L,
|
14829
14836
|
placeholder: a = "Selecteaza",
|
@@ -14834,12 +14841,12 @@ const Je = B.button`
|
|
14834
14841
|
disabled: o = !1,
|
14835
14842
|
...p
|
14836
14843
|
}) => {
|
14837
|
-
const f = e1(null), [u, h] = N(!1), [g, _] = N(""), [V,
|
14844
|
+
const f = e1(null), [u, h] = N(!1), [g, _] = N(""), [V, E] = N(!1), [x, w] = N(""), [v, k] = N(""), [b, M] = N(""), [R, Z] = N(""), F = e1(!1), D = o1(() => {
|
14838
14845
|
var j;
|
14839
|
-
return !
|
14840
|
-
(A) => A.title.toLowerCase() ===
|
14846
|
+
return !x || !V ? [] : ((j = U2.find(
|
14847
|
+
(A) => A.title.toLowerCase() === x.toLowerCase()
|
14841
14848
|
)) == null ? void 0 : j.localitati) ?? [];
|
14842
|
-
}, [
|
14849
|
+
}, [x, V]), z = o1(() => {
|
14843
14850
|
const j = g.toLowerCase();
|
14844
14851
|
return j ? (V ? D : U2).filter(
|
14845
14852
|
(A) => A.title.toLowerCase().includes(j)
|
@@ -14859,24 +14866,24 @@ const Je = B.button`
|
|
14859
14866
|
},
|
14860
14867
|
[V]
|
14861
14868
|
), $ = d1(() => {
|
14862
|
-
F.current = !0,
|
14869
|
+
F.current = !0, E(!1), _(""), k(""), M("");
|
14863
14870
|
}, []), y = d1(() => {
|
14864
|
-
if (F.current = !0, !V &&
|
14865
|
-
|
14871
|
+
if (F.current = !0, !V && x) {
|
14872
|
+
E(!0), _("");
|
14866
14873
|
return;
|
14867
14874
|
}
|
14868
14875
|
if (!v) return;
|
14869
|
-
const j = `${
|
14870
|
-
|
14871
|
-
}, [V,
|
14876
|
+
const j = `${x} - ${v}`;
|
14877
|
+
E(!0), h(!1), Z(j), n && n({ judet: x, localitate: v, clasificare: b });
|
14878
|
+
}, [V, x, v, b, n]);
|
14872
14879
|
return n1(() => {
|
14873
14880
|
const j = (A) => {
|
14874
14881
|
if (f.current && !f.current.contains(A.target)) {
|
14875
14882
|
if (h(!1), r != null && r.judet) {
|
14876
|
-
w(r == null ? void 0 : r.judet),
|
14883
|
+
w(r == null ? void 0 : r.judet), E(!0), r != null && r.localitate && (k(r == null ? void 0 : r.localitate), M((r == null ? void 0 : r.clasificare) ?? ""));
|
14877
14884
|
return;
|
14878
14885
|
}
|
14879
|
-
w(""), k(""), M(""),
|
14886
|
+
w(""), k(""), M(""), E(!1);
|
14880
14887
|
}
|
14881
14888
|
};
|
14882
14889
|
if (u)
|
@@ -14886,7 +14893,7 @@ const Je = B.button`
|
|
14886
14893
|
}, [f, u]), n1(() => {
|
14887
14894
|
if (F.current) return;
|
14888
14895
|
let j = "";
|
14889
|
-
r != null && r.judet && (w(r == null ? void 0 : r.judet), j = `${r == null ? void 0 : r.judet}`,
|
14896
|
+
r != null && r.judet && (w(r == null ? void 0 : r.judet), j = `${r == null ? void 0 : r.judet}`, E(!0)), r != null && r.localitate && (k(r == null ? void 0 : r.localitate), r != null && r.judet && (j = `${r == null ? void 0 : r.judet} - ${r == null ? void 0 : r.localitate}`)), r != null && r.clasificare && M(r == null ? void 0 : r.clasificare), Z(j);
|
14890
14897
|
}, [r]), /* @__PURE__ */ i.jsxs(
|
14891
14898
|
Ke,
|
14892
14899
|
{
|
@@ -14920,7 +14927,7 @@ const Je = B.button`
|
|
14920
14927
|
) }),
|
14921
14928
|
u && /* @__PURE__ */ i.jsxs(Xe, { $isJudetPicked: V, children: [
|
14922
14929
|
/* @__PURE__ */ i.jsxs("div", { children: [
|
14923
|
-
/* @__PURE__ */ i.jsx("span", { children: V ? `Alege localitatea in ${
|
14930
|
+
/* @__PURE__ */ i.jsx("span", { children: V ? `Alege localitatea in ${x}` : "Alege judetul" }),
|
14924
14931
|
/* @__PURE__ */ i.jsxs("div", { children: [
|
14925
14932
|
/* @__PURE__ */ i.jsx("div", { children: /* @__PURE__ */ i.jsx(O, { icon: "search", size: 20, color: l.gray_500 }) }),
|
14926
14933
|
/* @__PURE__ */ i.jsx(
|
@@ -14936,7 +14943,7 @@ const Je = B.button`
|
|
14936
14943
|
/* @__PURE__ */ i.jsx("div", { children: /* @__PURE__ */ i.jsx("div", { children: z.length > 0 ? z.map((j, A) => /* @__PURE__ */ i.jsx(
|
14937
14944
|
"div",
|
14938
14945
|
{
|
14939
|
-
"data-active": V ? v === j.title :
|
14946
|
+
"data-active": V ? v === j.title : x === j.title,
|
14940
14947
|
onClick: () => S(j),
|
14941
14948
|
children: /* @__PURE__ */ i.jsx("span", { children: j.title })
|
14942
14949
|
},
|
@@ -15049,7 +15056,7 @@ const Je = B.button`
|
|
15049
15056
|
}
|
15050
15057
|
}
|
15051
15058
|
}
|
15052
|
-
`,
|
15059
|
+
`, cl = ({
|
15053
15060
|
id: t,
|
15054
15061
|
name: L,
|
15055
15062
|
disabled: a,
|
@@ -15060,7 +15067,7 @@ const Je = B.button`
|
|
15060
15067
|
getValue: o,
|
15061
15068
|
...p
|
15062
15069
|
}) => {
|
15063
|
-
const [f, u] = N(!1), [h, g] = N(""), [_, V] = N("0"), [
|
15070
|
+
const [f, u] = N(!1), [h, g] = N(""), [_, V] = N("0"), [E, x] = N("0"), w = {
|
15064
15071
|
nevoi_personale: "Nevoi personale",
|
15065
15072
|
card_de_credit: "Card de credit",
|
15066
15073
|
overdraft: "Overdraft",
|
@@ -15112,9 +15119,9 @@ const Je = B.button`
|
|
15112
15119
|
const A = y === "0" || y.startsWith("0.") ? y : y.replace(/^0+/, "");
|
15113
15120
|
if (j === "limitaAprobata") {
|
15114
15121
|
const G = Number(A) / 100 * 3;
|
15115
|
-
|
15122
|
+
x(String(G.toFixed(0)));
|
15116
15123
|
}
|
15117
|
-
j === "limitaAprobata" ? V(A) :
|
15124
|
+
j === "limitaAprobata" ? V(A) : x(A);
|
15118
15125
|
}, z = (y, j, A) => {
|
15119
15126
|
const G = A === "0" || A.startsWith("0.") ? A : A.replace(/^0+/, "");
|
15120
15127
|
b((T) => {
|
@@ -15133,19 +15140,19 @@ const Je = B.button`
|
|
15133
15140
|
);
|
15134
15141
|
});
|
15135
15142
|
}, m = d1(() => {
|
15136
|
-
h && (Z.rata && (!Number(_) || Number(_) < 1) || Z.limitaAprobata && (!Number(
|
15143
|
+
h && (Z.rata && (!Number(_) || Number(_) < 1) || Z.limitaAprobata && (!Number(E) || Number(E) < 1) || (b((y) => [
|
15137
15144
|
{
|
15138
15145
|
id: String(y.length + 1),
|
15139
15146
|
tipCredit: h,
|
15140
15147
|
limitaAprobata: _,
|
15141
|
-
rata:
|
15148
|
+
rata: E
|
15142
15149
|
},
|
15143
15150
|
...y
|
15144
|
-
]), V("0"),
|
15145
|
-
}, [Z, _,
|
15151
|
+
]), V("0"), x("0"), g("")));
|
15152
|
+
}, [Z, _, E, h]), S = (y) => {
|
15146
15153
|
b((j) => j.filter((A) => A.id !== y));
|
15147
15154
|
}, $ = () => {
|
15148
|
-
b([]), V("0"),
|
15155
|
+
b([]), V("0"), x("0"), g("");
|
15149
15156
|
};
|
15150
15157
|
return n1(() => {
|
15151
15158
|
C && C(k);
|
@@ -15187,7 +15194,7 @@ const Je = B.button`
|
|
15187
15194
|
data: M,
|
15188
15195
|
value: h,
|
15189
15196
|
setValue: (y) => {
|
15190
|
-
g(y), V("0"),
|
15197
|
+
g(y), V("0"), x("0");
|
15191
15198
|
},
|
15192
15199
|
size: "small"
|
15193
15200
|
}
|
@@ -15220,7 +15227,7 @@ const Je = B.button`
|
|
15220
15227
|
rightText: "RON",
|
15221
15228
|
id: "rata",
|
15222
15229
|
name: "rata",
|
15223
|
-
value:
|
15230
|
+
value: E,
|
15224
15231
|
setValue: (y) => D(y, "rata"),
|
15225
15232
|
size: "small",
|
15226
15233
|
numpad: !0,
|
@@ -15475,7 +15482,7 @@ const Je = B.button`
|
|
15475
15482
|
color: ${({ $disabled: t, $selected: L }) => t ? l.gray_400 : L ? l.info_800 : l.gray_950};
|
15476
15483
|
}
|
15477
15484
|
}
|
15478
|
-
`,
|
15485
|
+
`, Cl = ({
|
15479
15486
|
img: t = void 0,
|
15480
15487
|
label: L = "",
|
15481
15488
|
selected: a = !1,
|
@@ -15539,7 +15546,7 @@ const Je = B.button`
|
|
15539
15546
|
|
15540
15547
|
text-decoration: ${n};
|
15541
15548
|
`}
|
15542
|
-
`,
|
15549
|
+
`, ol = ({
|
15543
15550
|
intent: t = "default",
|
15544
15551
|
leftIcon: L = null,
|
15545
15552
|
rightIcon: a = null,
|
@@ -15811,7 +15818,7 @@ const Je = B.button`
|
|
15811
15818
|
width: fit-content;
|
15812
15819
|
}
|
15813
15820
|
`}
|
15814
|
-
`,
|
15821
|
+
`, dl = ({
|
15815
15822
|
imgSrc: t = "",
|
15816
15823
|
title: L = "",
|
15817
15824
|
text: a = "",
|
@@ -15836,9 +15843,9 @@ const Je = B.button`
|
|
15836
15843
|
$disabled: h,
|
15837
15844
|
$loading: g,
|
15838
15845
|
...V,
|
15839
|
-
onClick: (
|
15840
|
-
var
|
15841
|
-
h || g || (
|
15846
|
+
onClick: (E) => {
|
15847
|
+
var x;
|
15848
|
+
h || g || (x = V.onClick) == null || x.call(V, E);
|
15842
15849
|
},
|
15843
15850
|
children: [
|
15844
15851
|
_ > 0 && !g && /* @__PURE__ */ i.jsxs("div", { className: "a7b2c9d4e8f5h3", children: [
|
@@ -15862,8 +15869,8 @@ const Je = B.button`
|
|
15862
15869
|
/* @__PURE__ */ i.jsx("div", { className: "xk9m2pq4nt", children: o !== "null" && /* @__PURE__ */ i.jsx(
|
15863
15870
|
_1,
|
15864
15871
|
{
|
15865
|
-
onClick: (
|
15866
|
-
|
15872
|
+
onClick: (E) => {
|
15873
|
+
E.preventDefault(), E.stopPropagation(), !(h || g) && p();
|
15867
15874
|
},
|
15868
15875
|
size: "medium",
|
15869
15876
|
disabled: h,
|
@@ -15906,7 +15913,7 @@ const Je = B.button`
|
|
15906
15913
|
gap: ${({ $gap: t }) => t ? `${t}px` : "16px"};
|
15907
15914
|
align-items: stretch;
|
15908
15915
|
}
|
15909
|
-
`,
|
15916
|
+
`, sl = ({
|
15910
15917
|
title: t = "",
|
15911
15918
|
numberOfCards: L = 4,
|
15912
15919
|
isOpen: a = !0,
|
@@ -16094,7 +16101,7 @@ const Je = B.button`
|
|
16094
16101
|
}
|
16095
16102
|
}
|
16096
16103
|
`}
|
16097
|
-
`,
|
16104
|
+
`, pl = ({
|
16098
16105
|
title: t = "Title",
|
16099
16106
|
productName: L = "Product Name",
|
16100
16107
|
text: a = "Text",
|
@@ -16110,8 +16117,8 @@ const Je = B.button`
|
|
16110
16117
|
textFontSize: g = 14,
|
16111
16118
|
textFontWeight: _ = 400,
|
16112
16119
|
width: V = "auto",
|
16113
|
-
disabled:
|
16114
|
-
img:
|
16120
|
+
disabled: E = !1,
|
16121
|
+
img: x = "",
|
16115
16122
|
onClick: w = () => {
|
16116
16123
|
},
|
16117
16124
|
...v
|
@@ -16125,14 +16132,14 @@ const Je = B.button`
|
|
16125
16132
|
$titleFontWeight: h,
|
16126
16133
|
$textFontSize: g,
|
16127
16134
|
$textFontWeight: _,
|
16128
|
-
$disabled:
|
16135
|
+
$disabled: E,
|
16129
16136
|
onClick: (k) => {
|
16130
|
-
|
16137
|
+
E || w(k);
|
16131
16138
|
},
|
16132
16139
|
...v,
|
16133
16140
|
children: [
|
16134
16141
|
/* @__PURE__ */ i.jsxs("div", { children: [
|
16135
|
-
/* @__PURE__ */ i.jsx("img", { src:
|
16142
|
+
/* @__PURE__ */ i.jsx("img", { src: x, alt: "offer-card" }),
|
16136
16143
|
(C || r) && /* @__PURE__ */ i.jsxs("div", { children: [
|
16137
16144
|
C && /* @__PURE__ */ i.jsxs("div", { className: "k9m4p2x8n5", children: [
|
16138
16145
|
/* @__PURE__ */ i.jsx("span", { children: p }),
|
@@ -16171,7 +16178,7 @@ const Je = B.button`
|
|
16171
16178
|
}
|
16172
16179
|
}
|
16173
16180
|
}
|
16174
|
-
`,
|
16181
|
+
`, hl = ({
|
16175
16182
|
icon: t = "bundle-of-money",
|
16176
16183
|
iconColor: L = "gray_950",
|
16177
16184
|
iconSize: a = 18,
|
@@ -16224,7 +16231,7 @@ const Je = B.button`
|
|
16224
16231
|
"m-no-fees": dt,
|
16225
16232
|
"m-quick-money": st,
|
16226
16233
|
"m-celebration-raiffeisen": pt
|
16227
|
-
},
|
16234
|
+
}, fl = ({
|
16228
16235
|
illustration: t = "m-loan-with-a-fixed-interest-rate",
|
16229
16236
|
width: L = "auto",
|
16230
16237
|
height: a = "auto",
|
@@ -16267,7 +16274,7 @@ const Je = B.button`
|
|
16267
16274
|
font-weight: 400;
|
16268
16275
|
fill: ${l.gray_400};
|
16269
16276
|
}
|
16270
|
-
`,
|
16277
|
+
`, ul = ({
|
16271
16278
|
totalAUM: t = 0,
|
16272
16279
|
cash: L = 0,
|
16273
16280
|
crestere: a = 0,
|
@@ -16280,7 +16287,7 @@ const Je = B.button`
|
|
16280
16287
|
showRightContent: f = !0,
|
16281
16288
|
...u
|
16282
16289
|
}) => {
|
16283
|
-
const h = e1(null), g = e1(null), _ = e1(null), V = e1(null),
|
16290
|
+
const h = e1(null), g = e1(null), _ = e1(null), V = e1(null), E = {
|
16284
16291
|
cash: l.warm_gray_150,
|
16285
16292
|
crestere: l.blue_400,
|
16286
16293
|
conservare: l.purple_500,
|
@@ -16288,8 +16295,8 @@ const Je = B.button`
|
|
16288
16295
|
cashCrestere: l.blue_300,
|
16289
16296
|
cashConservare: l.purple_300,
|
16290
16297
|
cashLichiditate: l.pink_300
|
16291
|
-
}, [
|
16292
|
-
const M = p ? 0 : (L / t || 0) *
|
16298
|
+
}, [x, w] = N(83), v = o1(() => {
|
16299
|
+
const M = p ? 0 : (L / t || 0) * x, R = p ? 0 : ((a / t || 0) * x).toFixed(2), Z = p ? 0 : ((r / t || 0) * x).toFixed(2), F = p ? 0 : ((n / t || 0) * x).toFixed(2), D = p ? 0 : ((c / t || 0) * x).toFixed(2), z = p ? 0 : ((C / t || 0) * x).toFixed(2), m = p ? 0 : ((o / t || 0) * x).toFixed(2);
|
16293
16300
|
return {
|
16294
16301
|
cash_percentage: Number(M),
|
16295
16302
|
crestere_percentage: Number(R),
|
@@ -16300,7 +16307,7 @@ const Je = B.button`
|
|
16300
16307
|
cashLichiditate_percentage: Number(m)
|
16301
16308
|
};
|
16302
16309
|
}, [
|
16303
|
-
|
16310
|
+
x,
|
16304
16311
|
t,
|
16305
16312
|
L,
|
16306
16313
|
a,
|
@@ -16310,7 +16317,7 @@ const Je = B.button`
|
|
16310
16317
|
C,
|
16311
16318
|
o,
|
16312
16319
|
p
|
16313
|
-
]), k = o1(() => v.crestere_percentage + v.conservare_percentage + v.lichiditate_percentage + v.cashCrestere_percentage + v.cashConservare_percentage + v.cashLichiditate_percentage > 0 ? v.cash_percentage :
|
16320
|
+
]), k = o1(() => v.crestere_percentage + v.conservare_percentage + v.lichiditate_percentage + v.cashCrestere_percentage + v.cashConservare_percentage + v.cashLichiditate_percentage > 0 ? v.cash_percentage : x, [v, x]), b = d1(() => {
|
16314
16321
|
var M, R;
|
16315
16322
|
if (h.current) {
|
16316
16323
|
const Z = h.current.clientWidth, F = Math.max(
|
@@ -16335,7 +16342,7 @@ const Je = B.button`
|
|
16335
16342
|
xmlns: "http://www.w3.org/2000/svg",
|
16336
16343
|
...u,
|
16337
16344
|
children: [
|
16338
|
-
p && /* @__PURE__ */ i.jsx("text", { x:
|
16345
|
+
p && /* @__PURE__ */ i.jsx("text", { x: x / 2 + "%", y: 48 / 2 + 5, className: "label_disabled", children: "Grafic indisponibil" }),
|
16339
16346
|
/* @__PURE__ */ i.jsx(
|
16340
16347
|
"rect",
|
16341
16348
|
{
|
@@ -16343,7 +16350,7 @@ const Je = B.button`
|
|
16343
16350
|
y: 0,
|
16344
16351
|
height: 48,
|
16345
16352
|
width: k + "%",
|
16346
|
-
fill:
|
16353
|
+
fill: E.cash
|
16347
16354
|
}
|
16348
16355
|
),
|
16349
16356
|
/* @__PURE__ */ i.jsx(
|
@@ -16353,7 +16360,7 @@ const Je = B.button`
|
|
16353
16360
|
y: 0,
|
16354
16361
|
height: 48,
|
16355
16362
|
width: v.crestere_percentage + "%",
|
16356
|
-
fill:
|
16363
|
+
fill: E.crestere
|
16357
16364
|
}
|
16358
16365
|
),
|
16359
16366
|
/* @__PURE__ */ i.jsx(
|
@@ -16363,7 +16370,7 @@ const Je = B.button`
|
|
16363
16370
|
y: 0,
|
16364
16371
|
height: 48,
|
16365
16372
|
width: v.cashCrestere_percentage + "%",
|
16366
|
-
fill:
|
16373
|
+
fill: E.cashCrestere
|
16367
16374
|
}
|
16368
16375
|
),
|
16369
16376
|
/* @__PURE__ */ i.jsx(
|
@@ -16373,7 +16380,7 @@ const Je = B.button`
|
|
16373
16380
|
y: 0,
|
16374
16381
|
height: 48,
|
16375
16382
|
width: v.conservare_percentage + "%",
|
16376
|
-
fill:
|
16383
|
+
fill: E.conservare
|
16377
16384
|
}
|
16378
16385
|
),
|
16379
16386
|
/* @__PURE__ */ i.jsx(
|
@@ -16383,7 +16390,7 @@ const Je = B.button`
|
|
16383
16390
|
y: 0,
|
16384
16391
|
height: 48,
|
16385
16392
|
width: v.cashConservare_percentage + "%",
|
16386
|
-
fill:
|
16393
|
+
fill: E.cashConservare
|
16387
16394
|
}
|
16388
16395
|
),
|
16389
16396
|
/* @__PURE__ */ i.jsx(
|
@@ -16393,7 +16400,7 @@ const Je = B.button`
|
|
16393
16400
|
y: 0,
|
16394
16401
|
height: 48,
|
16395
16402
|
width: v.lichiditate_percentage + "%",
|
16396
|
-
fill:
|
16403
|
+
fill: E.lichiditate
|
16397
16404
|
}
|
16398
16405
|
),
|
16399
16406
|
/* @__PURE__ */ i.jsx(
|
@@ -16403,17 +16410,17 @@ const Je = B.button`
|
|
16403
16410
|
y: 0,
|
16404
16411
|
height: 48,
|
16405
16412
|
width: v.cashLichiditate_percentage + "%",
|
16406
|
-
fill:
|
16413
|
+
fill: E.cashLichiditate
|
16407
16414
|
}
|
16408
16415
|
),
|
16409
|
-
/* @__PURE__ */ i.jsx("rect", { x:
|
16416
|
+
/* @__PURE__ */ i.jsx("rect", { x: x + "%", y: 0, height: "100%", width: "4px" }),
|
16410
16417
|
f && /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
|
16411
16418
|
/* @__PURE__ */ i.jsx(
|
16412
16419
|
"text",
|
16413
16420
|
{
|
16414
16421
|
ref: g,
|
16415
16422
|
className: "label_top",
|
16416
|
-
x:
|
16423
|
+
x: x + 3 + "%",
|
16417
16424
|
textAnchor: "start",
|
16418
16425
|
y: 19,
|
16419
16426
|
children: "Total AUM"
|
@@ -16424,7 +16431,7 @@ const Je = B.button`
|
|
16424
16431
|
{
|
16425
16432
|
ref: _,
|
16426
16433
|
className: "label_bottom",
|
16427
|
-
x:
|
16434
|
+
x: x + 3 + "%",
|
16428
16435
|
textAnchor: "start",
|
16429
16436
|
y: 39,
|
16430
16437
|
children: new Intl.NumberFormat("ro-RO").format(t) + " RON"
|
@@ -16459,7 +16466,7 @@ const Je = B.button`
|
|
16459
16466
|
font-weight: 400;
|
16460
16467
|
fill: ${l.white};
|
16461
16468
|
}
|
16462
|
-
`,
|
16469
|
+
`, ml = ({
|
16463
16470
|
cash: t = 0,
|
16464
16471
|
crestere: L = 0,
|
16465
16472
|
conservare: a = 0,
|
@@ -16479,7 +16486,7 @@ const Je = B.button`
|
|
16479
16486
|
conservare: l.purple_400,
|
16480
16487
|
lichiditate: l.pink_300,
|
16481
16488
|
inflatie: l.danger_500
|
16482
|
-
},
|
16489
|
+
}, E = (v, k = 134) => {
|
16483
16490
|
const b = v.split(" "), M = [];
|
16484
16491
|
let R = b[0];
|
16485
16492
|
for (let Z = 1; Z < b.length; Z++) {
|
@@ -16487,17 +16494,16 @@ const Je = B.button`
|
|
16487
16494
|
Number(D.length) * 6.15 < Number(k) ? R = D : (M.push(R), R = F);
|
16488
16495
|
}
|
16489
16496
|
return M.push(R), M;
|
16490
|
-
},
|
16491
|
-
if (
|
16492
|
-
|
16493
|
-
|
16494
|
-
|
16495
|
-
|
16496
|
-
|
16497
|
-
|
16498
|
-
|
16499
|
-
}
|
16500
|
-
return p;
|
16497
|
+
}, x = o1(() => {
|
16498
|
+
if (L === 0 && a === 0 && r === 0)
|
16499
|
+
return p;
|
16500
|
+
const v = t - (L || 0) - (a || 0) - (r || 0);
|
16501
|
+
return new Intl.NumberFormat("ro-RO", {
|
16502
|
+
style: "currency",
|
16503
|
+
currency: "RON",
|
16504
|
+
minimumFractionDigits: 0,
|
16505
|
+
maximumFractionDigits: 0
|
16506
|
+
}).format(v);
|
16501
16507
|
}, [t, L, a, r, p]), w = o1(() => {
|
16502
16508
|
const M = f - 54, R = c > t ? c - t : 0, Z = R > 0 ? Number((R * M / c * 3).toFixed(2)) : 0, F = M - Z, D = L + a + r, z = Math.max(t - D, 0), m = {
|
16503
16509
|
crestere: L > 0 ? L * F / t : 0,
|
@@ -16591,7 +16597,7 @@ const Je = B.button`
|
|
16591
16597
|
y: w.crestere_y + w.crestere_h / 2 + 5,
|
16592
16598
|
textAnchor: "middle",
|
16593
16599
|
className: "basic-label",
|
16594
|
-
children:
|
16600
|
+
children: E(
|
16595
16601
|
new Intl.NumberFormat("ro-RO", {
|
16596
16602
|
style: "currency",
|
16597
16603
|
currency: "RON",
|
@@ -16618,7 +16624,7 @@ const Je = B.button`
|
|
16618
16624
|
y: w.conservare_y + w.conservare_h / 2 + 5,
|
16619
16625
|
textAnchor: "middle",
|
16620
16626
|
className: "basic-label",
|
16621
|
-
children:
|
16627
|
+
children: E(
|
16622
16628
|
new Intl.NumberFormat("ro-RO", {
|
16623
16629
|
style: "currency",
|
16624
16630
|
currency: "RON",
|
@@ -16645,7 +16651,7 @@ const Je = B.button`
|
|
16645
16651
|
y: w.lichiditate_y + w.lichiditate_h / 2 + 5,
|
16646
16652
|
textAnchor: "middle",
|
16647
16653
|
className: "basic-label",
|
16648
|
-
children:
|
16654
|
+
children: E(
|
16649
16655
|
new Intl.NumberFormat("ro-RO", {
|
16650
16656
|
style: "currency",
|
16651
16657
|
currency: "RON",
|
@@ -16672,7 +16678,7 @@ const Je = B.button`
|
|
16672
16678
|
y: w.cash_y + w.cash_h / 2 + 5,
|
16673
16679
|
textAnchor: "middle",
|
16674
16680
|
className: "basic-label",
|
16675
|
-
children: x
|
16681
|
+
children: E(x).map((v, k) => /* @__PURE__ */ i.jsx("tspan", { x: "50%", dy: k === 0 ? "0" : "1.2em", children: v }, k))
|
16676
16682
|
}
|
16677
16683
|
),
|
16678
16684
|
n > 0 && /* @__PURE__ */ i.jsx(
|
@@ -16692,7 +16698,7 @@ const Je = B.button`
|
|
16692
16698
|
y: w.inflatie_y + w.inflatie_h / 2 + 5,
|
16693
16699
|
textAnchor: "middle",
|
16694
16700
|
className: "inflatie-label",
|
16695
|
-
children:
|
16701
|
+
children: E(n + "%").map((v, k) => /* @__PURE__ */ i.jsx("tspan", { x: "50%", dy: k === 0 ? "0" : "1.2em", children: v }, k))
|
16696
16702
|
}
|
16697
16703
|
),
|
16698
16704
|
/* @__PURE__ */ i.jsx("text", { textAnchor: "middle", x: "50%", y: "98.5%", className: "label_bottom", children: o })
|
@@ -16725,7 +16731,7 @@ const Je = B.button`
|
|
16725
16731
|
color: ${l.gray_600};
|
16726
16732
|
}
|
16727
16733
|
}
|
16728
|
-
`,
|
16734
|
+
`, gl = ({
|
16729
16735
|
label: t = "",
|
16730
16736
|
info: L = "",
|
16731
16737
|
loadingLabel: a = "",
|
@@ -16737,82 +16743,85 @@ const Je = B.button`
|
|
16737
16743
|
/* @__PURE__ */ i.jsx("span", { children: n ? r : L })
|
16738
16744
|
] }),
|
16739
16745
|
n ? /* @__PURE__ */ i.jsx(c2, { size: 20 }) : /* @__PURE__ */ i.jsx(O, { icon: "checkmark_filled", size: 20, color: l.success_500 })
|
16740
|
-
] })
|
16746
|
+
] }), gt = B.label`
|
16747
|
+
cursor: pointer;
|
16748
|
+
`, El = () => /* @__PURE__ */ i.jsx(gt, {});
|
16741
16749
|
export {
|
16742
|
-
|
16743
|
-
|
16744
|
-
|
16745
|
-
|
16746
|
-
|
16750
|
+
Yt as Alert,
|
16751
|
+
gl as AutosaveStatus,
|
16752
|
+
zt as Bar,
|
16753
|
+
Vt as BreadcrumbItem,
|
16754
|
+
vt as Breadcrumbs,
|
16747
16755
|
M1 as Button,
|
16748
|
-
|
16749
|
-
|
16750
|
-
|
16751
|
-
|
16752
|
-
|
16753
|
-
|
16754
|
-
|
16755
|
-
|
16756
|
-
|
16757
|
-
|
16758
|
-
|
16759
|
-
|
16760
|
-
|
16756
|
+
ol as ButtonLink,
|
16757
|
+
jt as Checkbox,
|
16758
|
+
nl as CityPicker,
|
16759
|
+
Rt as ConfigurationSaveInfo,
|
16760
|
+
Zt as Container,
|
16761
|
+
wt as Content,
|
16762
|
+
Ll as ContentDropdown,
|
16763
|
+
Cl as CreditCard,
|
16764
|
+
dl as DashboardCard,
|
16765
|
+
sl as DashboardCategory,
|
16766
|
+
Kt as DashboardSmallShortcut,
|
16767
|
+
Ut as Datepicker,
|
16768
|
+
Pt as Divider,
|
16761
16769
|
he as Dropdown,
|
16762
16770
|
V1 as Flex,
|
16763
16771
|
_2 as FormField,
|
16764
|
-
|
16765
|
-
|
16766
|
-
|
16767
|
-
|
16768
|
-
|
16769
|
-
|
16772
|
+
ll as GraficConfiguratiePensii,
|
16773
|
+
el as GraficFondInvestitii,
|
16774
|
+
al as GraficFondInvestitiiInflatie,
|
16775
|
+
qt as GraficPensii,
|
16776
|
+
il as GraficPlanInvestitii,
|
16777
|
+
tl as GraficPropunerePensii,
|
16770
16778
|
O as Icon,
|
16771
16779
|
_1 as IconButton,
|
16772
|
-
|
16773
|
-
|
16774
|
-
|
16775
|
-
|
16776
|
-
|
16780
|
+
Gt as IconCard,
|
16781
|
+
fl as Illustration,
|
16782
|
+
It as ImageCard,
|
16783
|
+
rl as InPageTab,
|
16784
|
+
Qt as InvestmentFundItem,
|
16777
16785
|
n3 as LabeledText,
|
16778
|
-
|
16779
|
-
|
16780
|
-
|
16786
|
+
hl as LabeledTextInLine,
|
16787
|
+
yt as Layout,
|
16788
|
+
Mt as Logo,
|
16781
16789
|
$2 as Modal,
|
16782
16790
|
f6 as Numpad,
|
16783
|
-
|
16784
|
-
|
16785
|
-
|
16786
|
-
|
16787
|
-
|
16791
|
+
Bt as ObjectiveCard,
|
16792
|
+
Dt as ObjectiveCardSmall,
|
16793
|
+
pl as OfferCard,
|
16794
|
+
Ht as PageMessage,
|
16795
|
+
St as PageTitle,
|
16788
16796
|
ve as Pill,
|
16789
|
-
|
16790
|
-
|
16791
|
-
|
16797
|
+
ul as PlanFinanciarAUMBar,
|
16798
|
+
ml as PlanFinanciarAUMGraph,
|
16799
|
+
Ft as PlanulFinanciarTeaser,
|
16792
16800
|
Y6 as ProductTeaser,
|
16793
16801
|
O4 as ProductTeaserButton,
|
16794
|
-
|
16795
|
-
|
16802
|
+
Tt as ProductTeaserParameters,
|
16803
|
+
Nt as ProductTeaserStep,
|
16796
16804
|
ue as ProposalPensii,
|
16797
16805
|
qe as PropunereAsigurariCalatorie,
|
16798
16806
|
Z4 as PropunereFlexicredit,
|
16799
16807
|
Ye as PropunereFondInvestitii,
|
16800
16808
|
Re as PropunerePlanInvestitii,
|
16801
|
-
|
16802
|
-
|
16809
|
+
Jt as Radio,
|
16810
|
+
cl as RatesCalculator,
|
16803
16811
|
c4 as Section,
|
16804
|
-
|
16805
|
-
|
16806
|
-
|
16812
|
+
$t as SegmentedTabs,
|
16813
|
+
El as SelectButton,
|
16814
|
+
Xt as SelectionPill,
|
16815
|
+
kt as ShortcutCard,
|
16807
16816
|
m3 as Sidebar,
|
16808
|
-
|
16809
|
-
|
16817
|
+
_t as SidebarItem,
|
16818
|
+
At as Slider,
|
16810
16819
|
c2 as Spinner,
|
16811
|
-
|
16820
|
+
Wt as StepTab,
|
16812
16821
|
Pe as StepsBar,
|
16813
|
-
|
16822
|
+
bt as Tab,
|
16814
16823
|
u2 as TextInput,
|
16815
|
-
|
16824
|
+
Ot as TimedButton,
|
16816
16825
|
l as colors
|
16817
16826
|
};
|
16818
16827
|
//# sourceMappingURL=index.es.js.map
|