@scbt-ecom/ui 0.7.28 → 0.7.30
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/client.js +708 -702
- package/dist/client.js.map +1 -1
- package/dist/hybrid.js +91 -86
- package/dist/hybrid.js.map +1 -1
- package/dist/shared/ui/formControlElements/calendarControl/CalendarControl.d.ts +4 -2
- package/dist/style.css +1 -1
- package/dist/{utils-tailwind-D31aoXaK.js → utils-tailwind-Bxkz2BJY.js} +2 -2
- package/dist/{utils-tailwind-D31aoXaK.js.map → utils-tailwind-Bxkz2BJY.js.map} +1 -1
- package/dist/widgets/banner/Banner.d.ts +2 -2
- package/dist/widgets/banner/ui/banners/BannerWithSeparateImg.d.ts +1 -1
- package/package.json +1 -1
package/dist/hybrid.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { p as F, j as t, c as a, H as y, a as x, I as f, L as K, z as
|
|
2
|
-
import { B as
|
|
1
|
+
import { p as F, j as t, c as a, H as y, a as x, I as f, L as K, z as b, i as Y, g as A, u as z, P as ee } from "./utils-tailwind-Bxkz2BJY.js";
|
|
2
|
+
import { B as ut, N as mt, b as xt } from "./utils-tailwind-Bxkz2BJY.js";
|
|
3
3
|
import * as v from "react";
|
|
4
4
|
import { forwardRef as L } from "react";
|
|
5
|
-
const
|
|
5
|
+
const Oe = (o, e) => JSON.stringify(o) === JSON.stringify(e), Se = (o) => o.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1).toLowerCase()).join("-"), $e = (o, e = "dd.MM.yyyy") => F(o, e, /* @__PURE__ */ new Date()), R = ({ children: o, className: e, ...i }) => /* @__PURE__ */ t.jsx("section", { className: a("pb-16 desktop:pb-20", e), ...i, children: o }), g = ({ children: o, className: e, ...i }) => /* @__PURE__ */ t.jsx("div", { className: a("m-auto w-full max-w-[636px] mobile:px-4 desktop:max-w-[1140px]", e), ...i, children: o }), te = x("grid", {
|
|
6
6
|
variants: {
|
|
7
7
|
columnCount: {
|
|
8
8
|
twoColumns: "grid-cols-[repeat(2,minmax(172px,_1fr))] desktop:grid-cols-[repeat(2,minmax(172px,_1fr))]",
|
|
@@ -85,18 +85,18 @@ const Me = (o, e) => JSON.stringify(o) === JSON.stringify(e), Oe = (o) => o.spli
|
|
|
85
85
|
return /* @__PURE__ */ t.jsx(g, { children: /* @__PURE__ */ t.jsxs("div", { className: a("flex flex-col", d == null ? void 0 : d.tableRootWrapper), children: [
|
|
86
86
|
/* @__PURE__ */ t.jsx(y, { as: "h3", className: a("mob-title-bold-m pb-6 desktop:desk-title-bold-s", d == null ? void 0 : d.tableHeading), children: o }),
|
|
87
87
|
/* @__PURE__ */ t.jsxs("div", { className: a(oe({ columnCount: n }), d == null ? void 0 : d.tableBody), children: [
|
|
88
|
-
/* @__PURE__ */ t.jsx("ul", { className: a(te({ columnCount: n }), d == null ? void 0 : d.tableTitlesContainer), children: i == null ? void 0 : i.map((
|
|
88
|
+
/* @__PURE__ */ t.jsx("ul", { className: a(te({ columnCount: n }), d == null ? void 0 : d.tableTitlesContainer), children: i == null ? void 0 : i.map((u) => /* @__PURE__ */ t.jsx(
|
|
89
89
|
"li",
|
|
90
90
|
{
|
|
91
91
|
className: a(
|
|
92
92
|
"mob-body-regular-l border-b border-warm-grey-200 py-4 desktop:desk-body-regular-l",
|
|
93
93
|
d == null ? void 0 : d.tableTitleRow
|
|
94
94
|
),
|
|
95
|
-
children:
|
|
95
|
+
children: u
|
|
96
96
|
},
|
|
97
|
-
|
|
97
|
+
u
|
|
98
98
|
)) }),
|
|
99
|
-
/* @__PURE__ */ t.jsx("ul", { className: a("mb-4 flex flex-col", d == null ? void 0 : d.tableBodyContainer), children: e.map((
|
|
99
|
+
/* @__PURE__ */ t.jsx("ul", { className: a("mb-4 flex flex-col", d == null ? void 0 : d.tableBodyContainer), children: e.map((u, m) => /* @__PURE__ */ t.jsx("li", { className: a(re({ columnCount: n, titlesExist: l }), d == null ? void 0 : d.tableBodyRow), children: u.map((c, s) => /* @__PURE__ */ t.jsx("p", { className: a(ne({ titlesExist: l, columnCount: n }), d == null ? void 0 : d.tableBodyCeil), children: c.text }, s)) }, m)) })
|
|
100
100
|
] }),
|
|
101
101
|
/* @__PURE__ */ t.jsx("p", { className: a("mob-body-regular-m desktop:desk-body-regular-l", d == null ? void 0 : d.tableAdditionalText), children: r })
|
|
102
102
|
] }) });
|
|
@@ -208,9 +208,9 @@ const Me = (o, e) => JSON.stringify(o) === JSON.stringify(e), Oe = (o) => o.spli
|
|
|
208
208
|
type: n = "button",
|
|
209
209
|
iconLeft: d,
|
|
210
210
|
iconRight: l,
|
|
211
|
-
disabled:
|
|
212
|
-
isLoading:
|
|
213
|
-
isFull:
|
|
211
|
+
disabled: u = !1,
|
|
212
|
+
isLoading: m = !1,
|
|
213
|
+
isFull: c = !1,
|
|
214
214
|
textFormat: s,
|
|
215
215
|
...p
|
|
216
216
|
}, Q) => /* @__PURE__ */ t.jsx(
|
|
@@ -218,10 +218,10 @@ const Me = (o, e) => JSON.stringify(o) === JSON.stringify(e), Oe = (o) => o.spli
|
|
|
218
218
|
{
|
|
219
219
|
ref: Q,
|
|
220
220
|
type: n,
|
|
221
|
-
disabled:
|
|
222
|
-
className: a(ae({ intent: o, size: e, textFormat: s, isLoading:
|
|
221
|
+
disabled: u || m,
|
|
222
|
+
className: a(ae({ intent: o, size: e, textFormat: s, isLoading: m, isFull: c }), i),
|
|
223
223
|
...p,
|
|
224
|
-
children:
|
|
224
|
+
children: m ? /* @__PURE__ */ t.jsx(K, { size: "sm", intent: ie(o) }) : /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
225
225
|
d && /* @__PURE__ */ t.jsx("span", { className: "flex size-5 items-center justify-center", children: d }),
|
|
226
226
|
r,
|
|
227
227
|
l && /* @__PURE__ */ t.jsx("span", { className: "flex size-5 items-center justify-center", children: l })
|
|
@@ -301,11 +301,11 @@ const Me = (o, e) => JSON.stringify(o) === JSON.stringify(e), Oe = (o) => o.spli
|
|
|
301
301
|
disabled: n,
|
|
302
302
|
size: d,
|
|
303
303
|
icon: l = "arrows/arrowLink",
|
|
304
|
-
...
|
|
305
|
-
}) => /* @__PURE__ */ t.jsxs(o, { className: a(le({ intent: e, withIcon: r, disabled: n, size: d })), ...
|
|
304
|
+
...u
|
|
305
|
+
}) => /* @__PURE__ */ t.jsxs(o, { className: a(le({ intent: e, withIcon: r, disabled: n, size: d })), ...u, children: [
|
|
306
306
|
i,
|
|
307
307
|
r && /* @__PURE__ */ t.jsx(f, { name: l, className: a(pe({ intent: e, disabled: n })) })
|
|
308
|
-
] }),
|
|
308
|
+
] }), ue = x("size-8 transition-colors", {
|
|
309
309
|
variants: {
|
|
310
310
|
intent: {
|
|
311
311
|
outline: "text-icon-secondary-dark-default group-hover:text-icon-secondary-dark-hover",
|
|
@@ -315,7 +315,7 @@ const Me = (o, e) => JSON.stringify(o) === JSON.stringify(e), Oe = (o) => o.spli
|
|
|
315
315
|
defaultVariants: {
|
|
316
316
|
intent: "outline"
|
|
317
317
|
}
|
|
318
|
-
}),
|
|
318
|
+
}), me = {
|
|
319
319
|
filled: "files/documentFilled",
|
|
320
320
|
outline: "files/documentOutline"
|
|
321
321
|
}, Ze = ({ text: o, size: e, sizeType: i, href: r, intent: n = "outline" }) => /* @__PURE__ */ t.jsxs(
|
|
@@ -329,7 +329,7 @@ const Me = (o, e) => JSON.stringify(o) === JSON.stringify(e), Oe = (o) => o.spli
|
|
|
329
329
|
"group flex max-w-[288px] cursor-pointer items-center gap-2 rounded-sm p-1 outline outline-2 outline-transparent transition-colors focus-within:outline-primary-focus desktop:max-w-[592px]"
|
|
330
330
|
),
|
|
331
331
|
children: [
|
|
332
|
-
/* @__PURE__ */ t.jsx(f, { name:
|
|
332
|
+
/* @__PURE__ */ t.jsx(f, { name: me[n], className: a(ue({ intent: n })) }),
|
|
333
333
|
/* @__PURE__ */ t.jsxs("div", { className: a("flex flex-1 flex-col"), children: [
|
|
334
334
|
/* @__PURE__ */ t.jsx("p", { className: a("desk-body-medium-l text-color-dark"), children: o }),
|
|
335
335
|
/* @__PURE__ */ t.jsxs("div", { className: a("desk-body-regular-m text-color-disabled"), children: [
|
|
@@ -340,8 +340,8 @@ const Me = (o, e) => JSON.stringify(o) === JSON.stringify(e), Oe = (o) => o.spli
|
|
|
340
340
|
] })
|
|
341
341
|
]
|
|
342
342
|
}
|
|
343
|
-
),
|
|
344
|
-
/* @__PURE__ */ t.jsx("a", { href: `tel:${o}`, className: a("desk-body-
|
|
343
|
+
), V = ({ phone: o, text: e, classes: i }) => /* @__PURE__ */ t.jsxs("div", { className: a("flex w-max flex-col", i == null ? void 0 : i.wrapper), children: [
|
|
344
|
+
/* @__PURE__ */ t.jsx("a", { href: `tel:${o}`, className: a("desk-body-regular-s ml-auto text-color-dark", i == null ? void 0 : i.link), children: o }),
|
|
345
345
|
/* @__PURE__ */ t.jsx("p", { className: a("desk-body-regular-l text-color-tetriary", i == null ? void 0 : i.text), children: e })
|
|
346
346
|
] }), Xe = ({ topContent: o, bottomContent: e, progress: i, maxPercent: r = 100, classes: n }) => /* @__PURE__ */ t.jsxs("div", { className: a("flex flex-col", n == null ? void 0 : n.wrapper), children: [
|
|
347
347
|
o && /* @__PURE__ */ t.jsx("div", { className: a("mb-2 flex justify-between gap-5", n == null ? void 0 : n.topContent), children: o }),
|
|
@@ -390,35 +390,35 @@ const Me = (o, e) => JSON.stringify(o) === JSON.stringify(e), Oe = (o) => o.spli
|
|
|
390
390
|
name: r,
|
|
391
391
|
patronymic: d
|
|
392
392
|
};
|
|
393
|
-
}, Je =
|
|
393
|
+
}, Je = b.string({ invalid_type_error: "Обязательно к заполнению", required_error: "Обязательно к заполнению" }).superRefine((o, e) => {
|
|
394
394
|
fe.test(o) || e.addIssue({
|
|
395
|
-
code:
|
|
395
|
+
code: b.ZodIssueCode.custom,
|
|
396
396
|
message: "Должна быть только кириллица"
|
|
397
397
|
});
|
|
398
398
|
const { surname: i, name: r, patronymic: n } = be(o);
|
|
399
399
|
(!i || !r) && e.addIssue({
|
|
400
|
-
code:
|
|
400
|
+
code: b.ZodIssueCode.custom,
|
|
401
401
|
message: "Введите имя и фамилию"
|
|
402
402
|
}), E.test(r) || e.addIssue({
|
|
403
|
-
code:
|
|
403
|
+
code: b.ZodIssueCode.custom,
|
|
404
404
|
message: "Неверно введено имя"
|
|
405
405
|
}), E.test(i) || e.addIssue({
|
|
406
|
-
code:
|
|
406
|
+
code: b.ZodIssueCode.custom,
|
|
407
407
|
message: "Неверно введена фамилия"
|
|
408
408
|
}), n && (ce.test(n) || e.addIssue({
|
|
409
|
-
code:
|
|
409
|
+
code: b.ZodIssueCode.custom,
|
|
410
410
|
message: "Неверно введено отчество"
|
|
411
411
|
}));
|
|
412
|
-
}), Qe =
|
|
412
|
+
}), Qe = b.string().length(10, { message: k.INVALID_DATE }).superRefine((o, e) => {
|
|
413
413
|
const [i, r, n] = (o == null ? void 0 : o.split(".")) ?? "", d = F(`${i}/${r}/${n}`, "dd/MM/yyyy", /* @__PURE__ */ new Date());
|
|
414
414
|
+n <= 1950 && e.addIssue({
|
|
415
|
-
code:
|
|
415
|
+
code: b.ZodIssueCode.custom,
|
|
416
416
|
message: k.INVALID_DATE
|
|
417
417
|
}), Y(d) || e.addIssue({
|
|
418
|
-
code:
|
|
418
|
+
code: b.ZodIssueCode.custom,
|
|
419
419
|
message: k.INVALID_DATE
|
|
420
420
|
}), (/* @__PURE__ */ new Date()).getTime() < new Date(d).getTime() && e.addIssue({
|
|
421
|
-
code:
|
|
421
|
+
code: b.ZodIssueCode.custom,
|
|
422
422
|
message: k.FUTURE_DATE_NOT_ALLOWED
|
|
423
423
|
});
|
|
424
424
|
}), w = {
|
|
@@ -455,7 +455,7 @@ const Me = (o, e) => JSON.stringify(o) === JSON.stringify(e), Oe = (o) => o.spli
|
|
|
455
455
|
"purple-hover": "#52399d",
|
|
456
456
|
overlay: "#0000004d",
|
|
457
457
|
...w
|
|
458
|
-
},
|
|
458
|
+
}, P = {
|
|
459
459
|
dark: "#292929",
|
|
460
460
|
disabled: "#a9b6c5",
|
|
461
461
|
footer: "#c3c3c3",
|
|
@@ -470,7 +470,7 @@ const Me = (o, e) => JSON.stringify(o) === JSON.stringify(e), Oe = (o) => o.spli
|
|
|
470
470
|
"primary-disabled": "#809bc7",
|
|
471
471
|
"blue-grey-600": "#94a4b7",
|
|
472
472
|
...w
|
|
473
|
-
},
|
|
473
|
+
}, M = {
|
|
474
474
|
"barvcray-200": "#ebeef4",
|
|
475
475
|
"barvcray-300": "#dde1e8",
|
|
476
476
|
"greymint-200": "#deecee",
|
|
@@ -529,13 +529,13 @@ const Me = (o, e) => JSON.stringify(o) === JSON.stringify(e), Oe = (o) => o.spli
|
|
|
529
529
|
white: "#ffffff",
|
|
530
530
|
"primary-disabled": "#809bc7",
|
|
531
531
|
...w
|
|
532
|
-
},
|
|
532
|
+
}, O = {
|
|
533
533
|
none: "0",
|
|
534
534
|
sm: "4px",
|
|
535
535
|
md: "8px",
|
|
536
536
|
lg: "16px",
|
|
537
537
|
full: "9999px"
|
|
538
|
-
},
|
|
538
|
+
}, S = {
|
|
539
539
|
30: "30deg",
|
|
540
540
|
45: "45deg",
|
|
541
541
|
80: "80deg",
|
|
@@ -844,18 +844,18 @@ const X = /* @__PURE__ */ A(ye), et = {
|
|
|
844
844
|
theme: {
|
|
845
845
|
backgroundColor: {
|
|
846
846
|
color: N,
|
|
847
|
-
banner:
|
|
847
|
+
banner: M,
|
|
848
848
|
icon: h
|
|
849
849
|
},
|
|
850
850
|
textColor: {
|
|
851
851
|
icon: h,
|
|
852
|
-
color:
|
|
852
|
+
color: P
|
|
853
853
|
},
|
|
854
854
|
fill: h,
|
|
855
855
|
stroke: h,
|
|
856
856
|
borderColor: I,
|
|
857
857
|
outlineColor: I,
|
|
858
|
-
borderRadius:
|
|
858
|
+
borderRadius: O,
|
|
859
859
|
fontFamily: { roboto: ["var(--ff-roboto)", "sans-serif"] },
|
|
860
860
|
fontSize: $,
|
|
861
861
|
lineHeight: U,
|
|
@@ -866,7 +866,7 @@ const X = /* @__PURE__ */ A(ye), et = {
|
|
|
866
866
|
lg: "0 16px 24px 0 rgba(0, 33, 87, 0.16)"
|
|
867
867
|
},
|
|
868
868
|
extend: {
|
|
869
|
-
bgGradientDeg:
|
|
869
|
+
bgGradientDeg: S,
|
|
870
870
|
width: {
|
|
871
871
|
"popper-content": "var(--radix-popover-content-available-width)",
|
|
872
872
|
"popper-trigger": "var(--radix-popover-trigger-width)",
|
|
@@ -975,18 +975,18 @@ const X = /* @__PURE__ */ A(ye), et = {
|
|
|
975
975
|
},
|
|
976
976
|
backgroundColor: {
|
|
977
977
|
color: N,
|
|
978
|
-
banner:
|
|
978
|
+
banner: M,
|
|
979
979
|
icon: h
|
|
980
980
|
},
|
|
981
981
|
textColor: {
|
|
982
982
|
icon: h,
|
|
983
|
-
color:
|
|
983
|
+
color: P
|
|
984
984
|
},
|
|
985
985
|
fill: h,
|
|
986
986
|
stroke: h,
|
|
987
987
|
borderColor: I,
|
|
988
988
|
outlineColor: I,
|
|
989
|
-
borderRadius:
|
|
989
|
+
borderRadius: O,
|
|
990
990
|
fontFamily: { roboto: ["var(--ff-roboto)", "sans-serif"] },
|
|
991
991
|
fontSize: $,
|
|
992
992
|
lineHeight: U,
|
|
@@ -998,7 +998,7 @@ const X = /* @__PURE__ */ A(ye), et = {
|
|
|
998
998
|
},
|
|
999
999
|
zIndex: he,
|
|
1000
1000
|
extend: {
|
|
1001
|
-
bgGradientDeg:
|
|
1001
|
+
bgGradientDeg: S
|
|
1002
1002
|
}
|
|
1003
1003
|
},
|
|
1004
1004
|
plugins: [
|
|
@@ -1063,7 +1063,7 @@ const X = /* @__PURE__ */ A(ye), et = {
|
|
|
1063
1063
|
),
|
|
1064
1064
|
children: [
|
|
1065
1065
|
/* @__PURE__ */ t.jsx(y, { as: "h4", className: a("text-color-dark", e == null ? void 0 : e.advantageTitle), children: i }),
|
|
1066
|
-
/* @__PURE__ */ t.jsx("p", { className: a("desk-body-regular-l text-color-
|
|
1066
|
+
/* @__PURE__ */ t.jsx("p", { className: a("desk-body-regular-l text-color-secondary", e == null ? void 0 : e.advantageDescription), children: r })
|
|
1067
1067
|
]
|
|
1068
1068
|
},
|
|
1069
1069
|
i
|
|
@@ -1078,7 +1078,7 @@ const X = /* @__PURE__ */ A(ye), et = {
|
|
|
1078
1078
|
img: d,
|
|
1079
1079
|
imgSets: l
|
|
1080
1080
|
}) => {
|
|
1081
|
-
const { isDesktop:
|
|
1081
|
+
const { isDesktop: u, isMobile: m } = z(), c = /* @__PURE__ */ t.jsx(
|
|
1082
1082
|
"div",
|
|
1083
1083
|
{
|
|
1084
1084
|
"data-id": "banner-advantages",
|
|
@@ -1134,10 +1134,10 @@ const X = /* @__PURE__ */ A(ye), et = {
|
|
|
1134
1134
|
]
|
|
1135
1135
|
}
|
|
1136
1136
|
) }),
|
|
1137
|
-
|
|
1137
|
+
u && c
|
|
1138
1138
|
] })
|
|
1139
1139
|
] }),
|
|
1140
|
-
|
|
1140
|
+
m && c
|
|
1141
1141
|
] });
|
|
1142
1142
|
}, B = ({
|
|
1143
1143
|
headTitle: o,
|
|
@@ -1145,9 +1145,10 @@ const X = /* @__PURE__ */ A(ye), et = {
|
|
|
1145
1145
|
buttonsConfig: i,
|
|
1146
1146
|
advantagesList: r,
|
|
1147
1147
|
classes: n,
|
|
1148
|
-
img: d
|
|
1148
|
+
img: d,
|
|
1149
|
+
imgSets: l
|
|
1149
1150
|
}) => {
|
|
1150
|
-
const { isDesktop:
|
|
1151
|
+
const { isDesktop: u, isMobile: m } = z(), c = /* @__PURE__ */ t.jsx(
|
|
1151
1152
|
"div",
|
|
1152
1153
|
{
|
|
1153
1154
|
"data-id": "banner-advantages",
|
|
@@ -1173,25 +1174,29 @@ const X = /* @__PURE__ */ A(ye), et = {
|
|
|
1173
1174
|
{
|
|
1174
1175
|
"data-id": "banner-image-wrapper",
|
|
1175
1176
|
className: a("flex h-[356px] justify-center desktop:h-[456px] desktop:w-[550px]", n == null ? void 0 : n.imageContainer),
|
|
1176
|
-
children: /* @__PURE__ */ t.
|
|
1177
|
-
"
|
|
1178
|
-
{
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1177
|
+
children: /* @__PURE__ */ t.jsxs("picture", { children: [
|
|
1178
|
+
/* @__PURE__ */ t.jsx("source", { media: "(min-width: 1128px)", srcSet: l == null ? void 0 : l.large }),
|
|
1179
|
+
/* @__PURE__ */ t.jsx("source", { media: "(max-width: 1127px)", srcSet: l == null ? void 0 : l.mob }),
|
|
1180
|
+
/* @__PURE__ */ t.jsx(
|
|
1181
|
+
"img",
|
|
1182
|
+
{
|
|
1183
|
+
"data-id": "banner-image",
|
|
1184
|
+
src: d,
|
|
1185
|
+
alt: "Картинка баннера",
|
|
1186
|
+
className: a("h-full object-cover", n == null ? void 0 : n.image)
|
|
1187
|
+
}
|
|
1188
|
+
)
|
|
1189
|
+
] })
|
|
1185
1190
|
}
|
|
1186
1191
|
)
|
|
1187
1192
|
] }),
|
|
1188
|
-
|
|
1193
|
+
u && c
|
|
1189
1194
|
] }) }),
|
|
1190
|
-
m &&
|
|
1195
|
+
m && c
|
|
1191
1196
|
] });
|
|
1192
1197
|
}, ot = ({ bannerVariant: o, ...e }) => {
|
|
1193
1198
|
switch (o) {
|
|
1194
|
-
case "
|
|
1199
|
+
case "separateImg":
|
|
1195
1200
|
return /* @__PURE__ */ t.jsx(B, { ...e });
|
|
1196
1201
|
case "fullImg":
|
|
1197
1202
|
return /* @__PURE__ */ t.jsx(se, { ...e });
|
|
@@ -1301,7 +1306,7 @@ const X = /* @__PURE__ */ A(ye), et = {
|
|
|
1301
1306
|
},
|
|
1302
1307
|
r
|
|
1303
1308
|
)) }), De = ({ phones: o, classes: e }) => /* @__PURE__ */ t.jsx("div", { className: a("flex flex-col items-end gap-4", e == null ? void 0 : e.phonesRoot), children: o == null ? void 0 : o.map(({ phone: i, text: r }) => /* @__PURE__ */ t.jsx(
|
|
1304
|
-
|
|
1309
|
+
V,
|
|
1305
1310
|
{
|
|
1306
1311
|
phone: i,
|
|
1307
1312
|
text: r,
|
|
@@ -1329,8 +1334,8 @@ const X = /* @__PURE__ */ A(ye), et = {
|
|
|
1329
1334
|
] }, i)) }), _e = ({ ligal: o, classes: e }) => {
|
|
1330
1335
|
const [i, r] = v.useState(!1), [n, d] = v.useState(!1), l = v.useRef(null);
|
|
1331
1336
|
return v.useEffect(() => {
|
|
1332
|
-
const
|
|
1333
|
-
|
|
1337
|
+
const u = l.current;
|
|
1338
|
+
u && d(u.scrollHeight > u.clientHeight);
|
|
1334
1339
|
}, []), /* @__PURE__ */ t.jsxs("div", { className: a("mt-8 flex flex-col gap-4", e == null ? void 0 : e.ligalRoot), children: [
|
|
1335
1340
|
/* @__PURE__ */ t.jsx("p", { ref: l, className: a("desk-body-regular-m text-color-footer", { "line-clamp-3": !i }, e == null ? void 0 : e.ligal), children: o }),
|
|
1336
1341
|
n && /* @__PURE__ */ t.jsx(
|
|
@@ -1338,7 +1343,7 @@ const X = /* @__PURE__ */ A(ye), et = {
|
|
|
1338
1343
|
{
|
|
1339
1344
|
tabIndex: 0,
|
|
1340
1345
|
role: "button",
|
|
1341
|
-
onClick: () => r((
|
|
1346
|
+
onClick: () => r((u) => !u),
|
|
1342
1347
|
className: a(
|
|
1343
1348
|
"desk-body-regular-l w-max cursor-pointer font-medium text-color-footer transition-colors hover:text-color-white",
|
|
1344
1349
|
e == null ? void 0 : e.ligalButton
|
|
@@ -1355,9 +1360,9 @@ const X = /* @__PURE__ */ A(ye), et = {
|
|
|
1355
1360
|
withCopyright: n = !0,
|
|
1356
1361
|
withSiteMap: d = !0,
|
|
1357
1362
|
socialsLinks: l = je,
|
|
1358
|
-
phones:
|
|
1359
|
-
navigationLinks:
|
|
1360
|
-
ligal:
|
|
1363
|
+
phones: u = ke,
|
|
1364
|
+
navigationLinks: m = Ne,
|
|
1365
|
+
ligal: c = ve,
|
|
1361
1366
|
copyright: s = we,
|
|
1362
1367
|
classes: p
|
|
1363
1368
|
}) => /* @__PURE__ */ t.jsx(R, { className: a("w-full", p == null ? void 0 : p.section), children: /* @__PURE__ */ t.jsx(g, { className: a(p == null ? void 0 : p.container), children: /* @__PURE__ */ t.jsxs("div", { className: a("bg-color-footer px-4 py-8 desktop:px-6 desktop:py-10", p == null ? void 0 : p.footerRoot), children: [
|
|
@@ -1366,10 +1371,10 @@ const X = /* @__PURE__ */ A(ye), et = {
|
|
|
1366
1371
|
/* @__PURE__ */ t.jsx("a", { href: "/", className: a(p == null ? void 0 : p.footerLogo), children: /* @__PURE__ */ t.jsx(f, { name: "brandLogos/logoWhite", className: "h-[32px] w-[194px]" }) }),
|
|
1367
1372
|
o && /* @__PURE__ */ t.jsx(Ie, { socialsLinks: l, classes: p })
|
|
1368
1373
|
] }),
|
|
1369
|
-
e && /* @__PURE__ */ t.jsx(De, { phones:
|
|
1374
|
+
e && /* @__PURE__ */ t.jsx(De, { phones: u, classes: p })
|
|
1370
1375
|
] }),
|
|
1371
|
-
i && /* @__PURE__ */ t.jsx(Ce, { navigationLinks:
|
|
1372
|
-
r && /* @__PURE__ */ t.jsx(_e, { ligal:
|
|
1376
|
+
i && /* @__PURE__ */ t.jsx(Ce, { navigationLinks: m, classes: p }),
|
|
1377
|
+
r && /* @__PURE__ */ t.jsx(_e, { ligal: c, classes: p }),
|
|
1373
1378
|
/* @__PURE__ */ t.jsxs("div", { className: "mt-6 flex items-start justify-between gap-6", children: [
|
|
1374
1379
|
n && /* @__PURE__ */ t.jsx(Ee, { text: s, classes: p }),
|
|
1375
1380
|
d && /* @__PURE__ */ t.jsx(
|
|
@@ -1391,7 +1396,7 @@ const X = /* @__PURE__ */ A(ye), et = {
|
|
|
1391
1396
|
case "withPhone":
|
|
1392
1397
|
const { phone: d, phoneText: l } = o;
|
|
1393
1398
|
return /* @__PURE__ */ t.jsx(
|
|
1394
|
-
|
|
1399
|
+
V,
|
|
1395
1400
|
{
|
|
1396
1401
|
phone: d,
|
|
1397
1402
|
text: l,
|
|
@@ -1552,7 +1557,7 @@ const X = /* @__PURE__ */ A(ye), et = {
|
|
|
1552
1557
|
] }),
|
|
1553
1558
|
/* @__PURE__ */ t.jsx("p", { className: a("mob-body-regular-l text-color-secondary"), children: r })
|
|
1554
1559
|
] }) });
|
|
1555
|
-
}, _ = ({ intent: o, title: e, desktopHidden: i = !1, mobileHidden: r = !1 }) => /* @__PURE__ */ t.jsx("h2", { className: a(Fe({ intent: o, desktopHidden: i, mobileHidden: r })), children: e }),
|
|
1560
|
+
}, _ = ({ intent: o, title: e, desktopHidden: i = !1, mobileHidden: r = !1 }) => /* @__PURE__ */ t.jsx("h2", { className: a(Fe({ intent: o, desktopHidden: i, mobileHidden: r })), children: e }), Ve = ({ textContent: o, intent: e, withButton: i }) => /* @__PURE__ */ t.jsx("ul", { className: a(Ae({ intent: e, withButton: i })), children: o == null ? void 0 : o.map((r, n) => /* @__PURE__ */ t.jsx(Re, { intent: e, data: r }, n)) }), dt = ({
|
|
1556
1561
|
title: o,
|
|
1557
1562
|
buttonConfig: e,
|
|
1558
1563
|
intent: i = "twoItems",
|
|
@@ -1560,9 +1565,9 @@ const X = /* @__PURE__ */ A(ye), et = {
|
|
|
1560
1565
|
imageComponent: n,
|
|
1561
1566
|
classes: d
|
|
1562
1567
|
}) => {
|
|
1563
|
-
const l = !!e,
|
|
1568
|
+
const l = !!e, u = i === "fourItems", m = i === "twoItems";
|
|
1564
1569
|
return /* @__PURE__ */ t.jsx("section", { className: a(d == null ? void 0 : d.section), children: /* @__PURE__ */ t.jsxs(g, { className: a(d == null ? void 0 : d.mainContainer), children: [
|
|
1565
|
-
|
|
1570
|
+
m && /* @__PURE__ */ t.jsx(_, { intent: i, title: o }),
|
|
1566
1571
|
/* @__PURE__ */ t.jsxs(
|
|
1567
1572
|
"div",
|
|
1568
1573
|
{
|
|
@@ -1571,15 +1576,15 @@ const X = /* @__PURE__ */ A(ye), et = {
|
|
|
1571
1576
|
d == null ? void 0 : d.contentContainer
|
|
1572
1577
|
),
|
|
1573
1578
|
children: [
|
|
1574
|
-
|
|
1579
|
+
u && /* @__PURE__ */ t.jsx(_, { intent: i, title: o, desktopHidden: !0 }),
|
|
1575
1580
|
/* @__PURE__ */ t.jsx("div", { className: a(Le({ intent: i, withButton: l }), d == null ? void 0 : d.imgContainer), children: n }),
|
|
1576
1581
|
/* @__PURE__ */ t.jsxs(
|
|
1577
1582
|
"div",
|
|
1578
1583
|
{
|
|
1579
1584
|
className: a("desktop:flex desktop:flex-col desktop:justify-center desktop:py-10", d == null ? void 0 : d.textWithBtnContainer),
|
|
1580
1585
|
children: [
|
|
1581
|
-
|
|
1582
|
-
/* @__PURE__ */ t.jsx(
|
|
1586
|
+
u && /* @__PURE__ */ t.jsx(_, { intent: i, title: o, mobileHidden: !0 }),
|
|
1587
|
+
/* @__PURE__ */ t.jsx(Ve, { textContent: r, intent: i, withButton: l }),
|
|
1583
1588
|
l && /* @__PURE__ */ t.jsx(
|
|
1584
1589
|
j,
|
|
1585
1590
|
{
|
|
@@ -1600,7 +1605,7 @@ const X = /* @__PURE__ */ A(ye), et = {
|
|
|
1600
1605
|
};
|
|
1601
1606
|
export {
|
|
1602
1607
|
J as Advantages,
|
|
1603
|
-
|
|
1608
|
+
ut as Badge,
|
|
1604
1609
|
ot as Banner,
|
|
1605
1610
|
B as BannerWithSeparateImg,
|
|
1606
1611
|
He as Breadcrumbs,
|
|
@@ -1615,9 +1620,9 @@ export {
|
|
|
1615
1620
|
f as Icon,
|
|
1616
1621
|
K as Loader,
|
|
1617
1622
|
dt as LongBanner,
|
|
1618
|
-
|
|
1623
|
+
mt as Notification,
|
|
1619
1624
|
it as PageHeader,
|
|
1620
|
-
|
|
1625
|
+
V as PhoneView,
|
|
1621
1626
|
Xe as ProgressBar,
|
|
1622
1627
|
g as ResponsiveContainer,
|
|
1623
1628
|
E as RgxCheckForHyphen,
|
|
@@ -1629,19 +1634,19 @@ export {
|
|
|
1629
1634
|
Ue as Table,
|
|
1630
1635
|
k as VALIDATION_MESSAGES,
|
|
1631
1636
|
N as allowedBackgroundColors,
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1637
|
+
S as allowedBackgroundDeg,
|
|
1638
|
+
M as allowedBannersBackgroundColors,
|
|
1639
|
+
O as allowedBorderRadius,
|
|
1635
1640
|
$ as allowedFontSize,
|
|
1636
1641
|
h as allowedIconsColors,
|
|
1637
1642
|
U as allowedLineHeight,
|
|
1638
1643
|
I as allowedStrokeColors,
|
|
1639
|
-
|
|
1644
|
+
P as allowedTextColors,
|
|
1640
1645
|
H as allowedTextStyles,
|
|
1641
1646
|
he as allowedZIndex,
|
|
1642
|
-
|
|
1647
|
+
Se as capitalize,
|
|
1643
1648
|
a as cn,
|
|
1644
|
-
|
|
1649
|
+
Oe as deepCompare,
|
|
1645
1650
|
tt as extendsPreset,
|
|
1646
1651
|
$e as formatToDate,
|
|
1647
1652
|
xt as isClient,
|