@scbt-ecom/ui 0.0.55 → 0.0.56
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/{Notification-BVwMDH16.js → Notification-BGmp0XMG.js} +39 -38
- package/dist/Notification-BGmp0XMG.js.map +1 -0
- package/dist/client.d.ts +0 -1
- package/dist/client.js +2956 -2954
- package/dist/client.js.map +1 -1
- package/dist/hybrid.js +38 -38
- package/dist/hybrid.js.map +1 -1
- package/package.json +1 -1
- package/dist/Notification-BVwMDH16.js.map +0 -1
- package/dist/shared/ui/Portal.d.ts +0 -7
package/dist/hybrid.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { p as Fe, j as g, c as x, H as mt, a as L, I as Me, L as ht, i as yt, g as We } from "./Notification-
|
|
2
|
-
import { B as
|
|
1
|
+
import { p as Fe, j as g, c as x, H as mt, a as L, I as Me, L as ht, i as yt, g as We } from "./Notification-BGmp0XMG.js";
|
|
2
|
+
import { B as nn, D as an, d as sn, N as on, b as dn } from "./Notification-BGmp0XMG.js";
|
|
3
3
|
import { forwardRef as qe } from "react";
|
|
4
|
-
const $r = (r, e) => JSON.stringify(r) === JSON.stringify(e),
|
|
4
|
+
const $r = (r, e) => JSON.stringify(r) === JSON.stringify(e), je = (r) => r.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1).toLowerCase()).join("-"), Vr = (r, e = "dd.MM.yyyy") => Fe(r, e, /* @__PURE__ */ new Date()), Pr = ({ children: r, className: e, ...t }) => /* @__PURE__ */ g.jsx("section", { className: x("pb-16 desktop:pb-20", e), ...t, children: r }), gt = ({ children: r, className: e, ...t }) => /* @__PURE__ */ g.jsx("div", { className: x("m-auto w-full px-4 desktop:max-w-[1188px]", e), ...t, children: r }), vt = L("grid", {
|
|
5
5
|
variants: {
|
|
6
6
|
columnCount: {
|
|
7
7
|
twoColumns: "grid-cols-[repeat(2,minmax(172px,_1fr))] desktop:grid-cols-[repeat(2,minmax(172px,_1fr))]",
|
|
@@ -72,7 +72,7 @@ const $r = (r, e) => JSON.stringify(r) === JSON.stringify(e), Vr = typeof window
|
|
|
72
72
|
class: "border-transparent border-0 p-0"
|
|
73
73
|
}
|
|
74
74
|
]
|
|
75
|
-
}),
|
|
75
|
+
}), zr = ({
|
|
76
76
|
headTitle: r,
|
|
77
77
|
tableRows: e,
|
|
78
78
|
tableHead: t,
|
|
@@ -99,7 +99,7 @@ const $r = (r, e) => JSON.stringify(r) === JSON.stringify(e), Vr = typeof window
|
|
|
99
99
|
] }),
|
|
100
100
|
/* @__PURE__ */ g.jsx("p", { className: x("mob-body-regular-m desktop:desk-body-regular-l", s == null ? void 0 : s.tableAdditionalText), children: n })
|
|
101
101
|
] }) });
|
|
102
|
-
},
|
|
102
|
+
}, Br = ({ linksList: r }) => /* @__PURE__ */ g.jsx("div", { "aria-label": "Breadcrumb", className: "flex max-w-[840px] items-center gap-2", children: r.map((e) => /* @__PURE__ */ g.jsx(g.Fragment, { children: "path" in e ? /* @__PURE__ */ g.jsxs(
|
|
103
103
|
"div",
|
|
104
104
|
{
|
|
105
105
|
className: x(
|
|
@@ -198,7 +198,7 @@ const $r = (r, e) => JSON.stringify(r) === JSON.stringify(e), Vr = typeof window
|
|
|
198
198
|
isFull: !1
|
|
199
199
|
}
|
|
200
200
|
}
|
|
201
|
-
),
|
|
201
|
+
), Ur = qe(
|
|
202
202
|
({
|
|
203
203
|
intent: r,
|
|
204
204
|
size: e,
|
|
@@ -247,7 +247,7 @@ const $r = (r, e) => JSON.stringify(r) === JSON.stringify(e), Vr = typeof window
|
|
|
247
247
|
size: "lg"
|
|
248
248
|
}
|
|
249
249
|
}
|
|
250
|
-
),
|
|
250
|
+
), Fr = qe(
|
|
251
251
|
({ size: r, intent: e, children: t, classes: n, type: a = "button", ...s }, i) => /* @__PURE__ */ g.jsx("button", { ref: i, type: a, className: x(Tt({ intent: e, size: r }), n == null ? void 0 : n.button), ...s, children: /* @__PURE__ */ g.jsx("span", { className: x(n == null ? void 0 : n.icon), children: t }) })
|
|
252
252
|
), Ct = L(
|
|
253
253
|
"group underline underline-offset-4 outline-none p-[2px] rounded-sm border border-solid border-transparent",
|
|
@@ -292,7 +292,7 @@ const $r = (r, e) => JSON.stringify(r) === JSON.stringify(e), Vr = typeof window
|
|
|
292
292
|
intent: "blue",
|
|
293
293
|
disabled: !1
|
|
294
294
|
}
|
|
295
|
-
}),
|
|
295
|
+
}), Wr = ({
|
|
296
296
|
Component: r = "a",
|
|
297
297
|
intent: e,
|
|
298
298
|
children: t,
|
|
@@ -317,7 +317,7 @@ const $r = (r, e) => JSON.stringify(r) === JSON.stringify(e), Vr = typeof window
|
|
|
317
317
|
}), Zt = {
|
|
318
318
|
filled: "files/documentFilled",
|
|
319
319
|
outline: "files/documentOutline"
|
|
320
|
-
},
|
|
320
|
+
}, qr = ({ text: r, size: e, sizeType: t, href: n, intent: a = "outline" }) => /* @__PURE__ */ g.jsxs(
|
|
321
321
|
"a",
|
|
322
322
|
{
|
|
323
323
|
href: n,
|
|
@@ -339,10 +339,10 @@ const $r = (r, e) => JSON.stringify(r) === JSON.stringify(e), Vr = typeof window
|
|
|
339
339
|
] })
|
|
340
340
|
]
|
|
341
341
|
}
|
|
342
|
-
),
|
|
342
|
+
), Gr = ({ phone: r, text: e, classes: t }) => /* @__PURE__ */ g.jsxs("div", { className: x("flex w-max flex-col", t == null ? void 0 : t.wrapper), children: [
|
|
343
343
|
/* @__PURE__ */ g.jsx("a", { href: `tel:${r}`, className: x("desk-body-medium-l ml-auto text-color-dark", t == null ? void 0 : t.link), children: r }),
|
|
344
344
|
/* @__PURE__ */ g.jsx("p", { className: x("desk-body-regular-l text-color-tetriary", t == null ? void 0 : t.text), children: e })
|
|
345
|
-
] }),
|
|
345
|
+
] }), Hr = ({ topContent: r, bottomContent: e, progress: t, maxPercent: n = 100, classes: a }) => /* @__PURE__ */ g.jsxs("div", { className: x("flex flex-col", a == null ? void 0 : a.wrapper), children: [
|
|
346
346
|
r && /* @__PURE__ */ g.jsx("div", { className: x("mb-2 flex justify-between gap-5", a == null ? void 0 : a.topContent), children: r }),
|
|
347
347
|
/* @__PURE__ */ g.jsxs("div", { className: x("relative h-2 w-[328xp] rounded-md bg-color-blue-grey-100 desktop:w-[524px]", a == null ? void 0 : a.progressBar), children: [
|
|
348
348
|
/* @__PURE__ */ g.jsx(
|
|
@@ -364,7 +364,7 @@ const $r = (r, e) => JSON.stringify(r) === JSON.stringify(e), Vr = typeof window
|
|
|
364
364
|
)
|
|
365
365
|
] }),
|
|
366
366
|
e && /* @__PURE__ */ g.jsx("div", { className: x("mt-2 flex justify-between gap-5", a == null ? void 0 : a.bottomContent), children: e })
|
|
367
|
-
] }),
|
|
367
|
+
] }), Jr = ({ className: r }) => /* @__PURE__ */ g.jsx("div", { className: x("skeleton-apply h-full w-full", r) }), me = {
|
|
368
368
|
transparent: "transparent",
|
|
369
369
|
current: "currentColor",
|
|
370
370
|
inherit: "inherit",
|
|
@@ -3458,7 +3458,7 @@ const Be = (r) => {
|
|
|
3458
3458
|
name: n,
|
|
3459
3459
|
patronymic: s
|
|
3460
3460
|
};
|
|
3461
|
-
},
|
|
3461
|
+
}, Yr = j.string({ invalid_type_error: "Обязательно к заполнению", required_error: "Обязательно к заполнению" }).superRefine((r, e) => {
|
|
3462
3462
|
jt.test(r) || e.addIssue({
|
|
3463
3463
|
code: j.ZodIssueCode.custom,
|
|
3464
3464
|
message: "Должна быть только кириллица"
|
|
@@ -3484,7 +3484,7 @@ const Be = (r) => {
|
|
|
3484
3484
|
name: je(t),
|
|
3485
3485
|
patronymic: n ? je(n) : void 0
|
|
3486
3486
|
};
|
|
3487
|
-
}),
|
|
3487
|
+
}), Xr = j.string().length(10, { message: ge.INVALID_DATE }).superRefine((r, e) => {
|
|
3488
3488
|
const [t, n, a] = (r == null ? void 0 : r.split(".")) ?? "", s = Fe(`${t}/${n}/${a}`, "dd/MM/yyyy", /* @__PURE__ */ new Date());
|
|
3489
3489
|
+a <= 1950 && e.addIssue({
|
|
3490
3490
|
code: j.ZodIssueCode.custom,
|
|
@@ -3706,7 +3706,7 @@ var Dr = Ar(
|
|
|
3706
3706
|
}
|
|
3707
3707
|
}
|
|
3708
3708
|
);
|
|
3709
|
-
const pt = /* @__PURE__ */ We(Dr),
|
|
3709
|
+
const pt = /* @__PURE__ */ We(Dr), Qr = {
|
|
3710
3710
|
theme: {
|
|
3711
3711
|
screens: {
|
|
3712
3712
|
mobile: { max: "1187px" },
|
|
@@ -3798,7 +3798,7 @@ const pt = /* @__PURE__ */ We(Dr), Kr = {
|
|
|
3798
3798
|
);
|
|
3799
3799
|
})
|
|
3800
3800
|
]
|
|
3801
|
-
},
|
|
3801
|
+
}, Kr = {
|
|
3802
3802
|
theme: {
|
|
3803
3803
|
extend: {
|
|
3804
3804
|
transitionDuration: {
|
|
@@ -3838,7 +3838,7 @@ const pt = /* @__PURE__ */ We(Dr), Kr = {
|
|
|
3838
3838
|
}
|
|
3839
3839
|
}
|
|
3840
3840
|
}
|
|
3841
|
-
},
|
|
3841
|
+
}, en = {
|
|
3842
3842
|
theme: {
|
|
3843
3843
|
screens: {
|
|
3844
3844
|
mobile: { max: "1187px" },
|
|
@@ -3892,27 +3892,27 @@ const pt = /* @__PURE__ */ We(Dr), Kr = {
|
|
|
3892
3892
|
]
|
|
3893
3893
|
};
|
|
3894
3894
|
export {
|
|
3895
|
-
|
|
3896
|
-
|
|
3897
|
-
|
|
3898
|
-
|
|
3899
|
-
|
|
3900
|
-
|
|
3901
|
-
|
|
3902
|
-
|
|
3895
|
+
nn as Badge,
|
|
3896
|
+
Br as Breadcrumbs,
|
|
3897
|
+
Ur as Button,
|
|
3898
|
+
Fr as ButtonIcon,
|
|
3899
|
+
Wr as CustomLink,
|
|
3900
|
+
an as DADATA_BASE_CACHE_URL,
|
|
3901
|
+
sn as DADATA_BASE_CONSTANTS_URL,
|
|
3902
|
+
qr as Document,
|
|
3903
3903
|
mt as Heading,
|
|
3904
3904
|
Me as Icon,
|
|
3905
3905
|
ht as Loader,
|
|
3906
|
-
|
|
3907
|
-
|
|
3908
|
-
|
|
3906
|
+
on as Notification,
|
|
3907
|
+
Gr as PhoneView,
|
|
3908
|
+
Hr as ProgressBar,
|
|
3909
3909
|
gt as ResponsiveContainer,
|
|
3910
3910
|
Ve as RgxCheckForHyphen,
|
|
3911
3911
|
It as RgxPatronymic,
|
|
3912
3912
|
jt as RgxUnicode,
|
|
3913
|
-
|
|
3914
|
-
|
|
3915
|
-
|
|
3913
|
+
Pr as Section,
|
|
3914
|
+
Jr as Skeleton,
|
|
3915
|
+
zr as Table,
|
|
3916
3916
|
ge as VALIDATION_MESSAGES,
|
|
3917
3917
|
ve as allowedBackgroundColors,
|
|
3918
3918
|
Ye as allowedBackgroundDeg,
|
|
@@ -3928,12 +3928,12 @@ export {
|
|
|
3928
3928
|
je as capitalize,
|
|
3929
3929
|
x as cn,
|
|
3930
3930
|
$r as deepCompare,
|
|
3931
|
-
|
|
3932
|
-
|
|
3933
|
-
|
|
3934
|
-
|
|
3935
|
-
|
|
3936
|
-
|
|
3937
|
-
|
|
3931
|
+
Kr as extendsPreset,
|
|
3932
|
+
Vr as formatToDate,
|
|
3933
|
+
dn as isClient,
|
|
3934
|
+
en as resetPreset,
|
|
3935
|
+
Qr as tailwindConfigBase,
|
|
3936
|
+
Xr as zodCalendarValidate,
|
|
3937
|
+
Yr as zodDadataFioValidate
|
|
3938
3938
|
};
|
|
3939
3939
|
//# sourceMappingURL=hybrid.js.map
|