@scbt-ecom/ui 0.0.50 → 0.0.52
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/{api-CmmTpYha.js → Notification-BVwMDH16.js} +1992 -1552
- package/dist/Notification-BVwMDH16.js.map +1 -0
- package/dist/client.d.ts +1 -0
- package/dist/client.js +36294 -20653
- package/dist/client.js.map +1 -1
- package/dist/hybrid.d.ts +1 -0
- package/dist/hybrid.js +464 -453
- package/dist/hybrid.js.map +1 -1
- package/dist/shared/constants/designSystem/others.d.ts +12 -1
- package/dist/shared/ui/ProgressBar.d.ts +3 -3
- package/dist/shared/ui/TabsSwitcher.d.ts +4 -2
- package/dist/shared/ui/formControlElements/calendarControl/CalendarControl.d.ts +4 -2
- package/dist/shared/ui/formControlElements/comboboxControl/ComboboxControl.d.ts +30 -5
- package/dist/shared/ui/formControlElements/{comboboxControlSelect → comboboxControl}/model/selectClassnames.d.ts +2 -2
- package/dist/shared/ui/formControlElements/comboboxControl/model/types.d.ts +35 -0
- package/dist/shared/ui/formControlElements/comboboxControl/ui/ComboboxOption.d.ts +8 -0
- package/dist/shared/ui/formControlElements/comboboxControl/ui/DropdownIndicator.d.ts +7 -0
- package/dist/shared/ui/formControlElements/comboboxControl/ui/MultiValueRemove.d.ts +7 -0
- package/dist/shared/ui/formControlElements/{comboboxControlSelect → comboboxControl}/ui/index.d.ts +1 -1
- package/dist/shared/ui/formControlElements/editorControl/EditorControl.d.ts +7 -0
- package/dist/shared/ui/formControlElements/editorControl/components/conrols.d.ts +6 -0
- package/dist/shared/ui/formControlElements/editorControl/components/menu.d.ts +6 -0
- package/dist/shared/ui/formControlElements/editorControl/index.d.ts +1 -0
- package/dist/shared/ui/formControlElements/editorControl/ui/RemoveBlockButton.d.ts +2 -0
- package/dist/shared/ui/formControlElements/editorControl/ui/ResetBlockType.d.ts +2 -0
- package/dist/shared/ui/formControlElements/index.d.ts +3 -3
- package/dist/shared/ui/formControlElements/inputControlUploader/model/hooks/useUploader.d.ts +1 -1
- package/dist/shared/ui/formControlElements/inputControlUploader/ui/Filename.d.ts +7 -0
- package/dist/shared/ui/formControlElements/inputCurrencyControl/InputCurrencyControl.d.ts +13 -0
- package/dist/shared/ui/formControlElements/inputCurrencyControl/index.d.ts +1 -0
- package/dist/shared/ui/formControlElements/inputCurrencyControl/model/helpers.d.ts +3 -0
- package/dist/shared/ui/formControlElements/inputCurrencyControl/model/useInputCurrency.d.ts +10 -0
- package/dist/shared/ui/formControlElements/inputCurrencyControl/ui/MenuTrigger.d.ts +7 -0
- package/dist/shared/ui/formControlElements/inputCurrencyControl/ui/OptionList.d.ts +8 -0
- package/dist/shared/ui/formControlElements/inputCurrencyControl/ui/index.d.ts +2 -0
- package/dist/shared/ui/icon/index.d.ts +1 -1
- package/dist/shared/ui/icon/sprite.gen.d.ts +2 -1
- package/dist/shared/ui/index.d.ts +4 -3
- package/dist/shared/ui/notification/index.d.ts +1 -1
- package/dist/shared/ui/popover/Popover.d.ts +2 -2
- package/dist/shared/ui/providers/NotificationProvider.d.ts +5 -0
- package/dist/shared/ui/providers/index.d.ts +1 -0
- package/dist/sprites/general.svg +1 -1
- package/dist/sprites/social.svg +1 -0
- package/dist/style.css +1 -1
- package/dist/widgets/footer/Footer.d.ts +27 -0
- package/dist/widgets/footer/index.d.ts +1 -0
- package/dist/widgets/footer/model/defaultValues.d.ts +6 -0
- package/dist/widgets/footer/model/types.d.ts +16 -0
- package/dist/widgets/footer/ui/Copyright.d.ts +10 -0
- package/dist/widgets/footer/ui/Ligal.d.ts +12 -0
- package/dist/widgets/footer/ui/NavLinks.d.ts +14 -0
- package/dist/widgets/footer/ui/PhonesBlock.d.ts +13 -0
- package/dist/widgets/footer/ui/SocialLinks.d.ts +12 -0
- package/dist/widgets/footer/ui/index.d.ts +5 -0
- package/dist/widgets/index.d.ts +2 -0
- package/dist/widgets/stepper/Stepper.d.ts +18 -0
- package/dist/widgets/stepper/index.d.ts +1 -0
- package/dist/widgets/stepper/ui/SingleStep.d.ts +14 -0
- package/package.json +16 -1
- package/dist/api-CmmTpYha.js.map +0 -1
- package/dist/shared/ui/calendar/Calendar.d.ts +0 -20
- package/dist/shared/ui/calendar/index.d.ts +0 -1
- package/dist/shared/ui/calendar/model/animation.d.ts +0 -18
- package/dist/shared/ui/calendar/model/classes.d.ts +0 -24
- package/dist/shared/ui/calendar/model/helpers.d.ts +0 -9
- package/dist/shared/ui/calendar/model/hooks/index.d.ts +0 -2
- package/dist/shared/ui/calendar/model/hooks/useCalendarDropdowns.d.ts +0 -9
- package/dist/shared/ui/calendar/model/hooks/useDatePicker.d.ts +0 -19
- package/dist/shared/ui/calendar/ui/CalendarHeader.d.ts +0 -15
- package/dist/shared/ui/calendar/ui/Dropdown.d.ts +0 -10
- package/dist/shared/ui/calendar/ui/NavigationArrows.d.ts +0 -5
- package/dist/shared/ui/calendar/ui/Weekdays.d.ts +0 -1
- package/dist/shared/ui/calendar/ui/index.d.ts +0 -2
- package/dist/shared/ui/formControlElements/comboboxControl/ui/CustomOption.d.ts +0 -6
- package/dist/shared/ui/formControlElements/comboboxControlSelect/ComboboxControlReactSelect.d.ts +0 -31
- package/dist/shared/ui/formControlElements/comboboxControlSelect/index.d.ts +0 -1
- package/dist/shared/ui/formControlElements/comboboxControlSelect/model/types.d.ts +0 -36
- package/dist/shared/ui/formControlElements/comboboxControlSelect/ui/DropdownIndicator.d.ts +0 -2
- package/dist/shared/ui/formControlElements/comboboxControlSelect/ui/MultiValueRemove.d.ts +0 -2
- package/dist/shared/ui/formControlElements/comboboxControlSelect/ui/Option.d.ts +0 -2
- package/dist/shared/ui/formControlElements/selectControl/SelectControl.d.ts +0 -24
- package/dist/shared/ui/formControlElements/selectControl/index.d.ts +0 -2
- package/dist/shared/ui/formControlElements/selectControl/ui/CustomListboxButton.d.ts +0 -14
- package/dist/shared/ui/formControlElements/selectControl/ui/CustomOption.d.ts +0 -18
- package/dist/shared/ui/formControlElements/selectControl/ui/index.d.ts +0 -2
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 "./
|
|
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-BVwMDH16.js";
|
|
2
|
+
import { B as an, D as sn, b as on, N as dn } from "./Notification-BVwMDH16.js";
|
|
3
3
|
import { forwardRef as qe } from "react";
|
|
4
|
-
const
|
|
4
|
+
const $r = (r, e) => JSON.stringify(r) === JSON.stringify(e), Vr = typeof window < "u" && window.document !== void 0, je = (r) => r.split("-").map((e) => e.charAt(0).toUpperCase() + e.slice(1).toLowerCase()).join("-"), Pr = (r, e = "dd.MM.yyyy") => Fe(r, e, /* @__PURE__ */ new Date()), zr = ({ 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 Mr = (r, e) => JSON.stringify(r) === JSON.stringify(e), $r = typeof window
|
|
|
72
72
|
class: "border-transparent border-0 p-0"
|
|
73
73
|
}
|
|
74
74
|
]
|
|
75
|
-
}),
|
|
75
|
+
}), Br = ({
|
|
76
76
|
headTitle: r,
|
|
77
77
|
tableRows: e,
|
|
78
78
|
tableHead: t,
|
|
@@ -99,7 +99,7 @@ const Mr = (r, e) => JSON.stringify(r) === JSON.stringify(e), $r = 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
|
+
}, Ur = ({ 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(
|
|
@@ -202,7 +202,7 @@ const Mr = (r, e) => JSON.stringify(r) === JSON.stringify(e), $r = typeof window
|
|
|
202
202
|
isFull: !1
|
|
203
203
|
}
|
|
204
204
|
}
|
|
205
|
-
),
|
|
205
|
+
), Fr = qe(
|
|
206
206
|
({
|
|
207
207
|
intent: r,
|
|
208
208
|
size: e,
|
|
@@ -251,7 +251,7 @@ const Mr = (r, e) => JSON.stringify(r) === JSON.stringify(e), $r = typeof window
|
|
|
251
251
|
size: "lg"
|
|
252
252
|
}
|
|
253
253
|
}
|
|
254
|
-
),
|
|
254
|
+
), Wr = qe(
|
|
255
255
|
({ 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 }) })
|
|
256
256
|
), Ct = L(
|
|
257
257
|
"group underline underline-offset-4 outline-none p-[2px] rounded-sm border border-solid border-transparent",
|
|
@@ -296,7 +296,7 @@ const Mr = (r, e) => JSON.stringify(r) === JSON.stringify(e), $r = typeof window
|
|
|
296
296
|
intent: "blue",
|
|
297
297
|
disabled: !1
|
|
298
298
|
}
|
|
299
|
-
}),
|
|
299
|
+
}), qr = ({
|
|
300
300
|
Component: r = "a",
|
|
301
301
|
intent: e,
|
|
302
302
|
children: t,
|
|
@@ -318,10 +318,10 @@ const Mr = (r, e) => JSON.stringify(r) === JSON.stringify(e), $r = typeof window
|
|
|
318
318
|
defaultVariants: {
|
|
319
319
|
intent: "outline"
|
|
320
320
|
}
|
|
321
|
-
}),
|
|
321
|
+
}), Zt = {
|
|
322
322
|
filled: "files/documentFilled",
|
|
323
323
|
outline: "files/documentOutline"
|
|
324
|
-
},
|
|
324
|
+
}, Gr = ({ text: r, size: e, sizeType: t, href: n, intent: a = "outline" }) => /* @__PURE__ */ g.jsxs(
|
|
325
325
|
"a",
|
|
326
326
|
{
|
|
327
327
|
href: n,
|
|
@@ -332,7 +332,7 @@ const Mr = (r, e) => JSON.stringify(r) === JSON.stringify(e), $r = typeof window
|
|
|
332
332
|
"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]"
|
|
333
333
|
),
|
|
334
334
|
children: [
|
|
335
|
-
/* @__PURE__ */ g.jsx(Me, { name:
|
|
335
|
+
/* @__PURE__ */ g.jsx(Me, { name: Zt[a], className: x(Et({ intent: a })) }),
|
|
336
336
|
/* @__PURE__ */ g.jsxs("div", { className: x("flex flex-1 flex-col"), children: [
|
|
337
337
|
/* @__PURE__ */ g.jsx("p", { className: x("desk-body-medium-l text-color-dark"), children: r }),
|
|
338
338
|
/* @__PURE__ */ g.jsxs("div", { className: x("desk-body-regular-m text-color-disabled"), children: [
|
|
@@ -343,17 +343,17 @@ const Mr = (r, e) => JSON.stringify(r) === JSON.stringify(e), $r = typeof window
|
|
|
343
343
|
] })
|
|
344
344
|
]
|
|
345
345
|
}
|
|
346
|
-
),
|
|
347
|
-
/* @__PURE__ */ g.jsx("a", { href: `tel:${r}`, className: x("desk-body-medium-l text-color-dark", t == null ? void 0 : t.link), children: r }),
|
|
346
|
+
), Hr = ({ phone: r, text: e, classes: t }) => /* @__PURE__ */ g.jsxs("div", { className: x("flex w-max flex-col", t == null ? void 0 : t.wrapper), children: [
|
|
347
|
+
/* @__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 }),
|
|
348
348
|
/* @__PURE__ */ g.jsx("p", { className: x("desk-body-regular-l text-color-tetriary", t == null ? void 0 : t.text), children: e })
|
|
349
|
-
] }),
|
|
349
|
+
] }), Jr = ({ 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: [
|
|
350
350
|
r && /* @__PURE__ */ g.jsx("div", { className: x("mb-2 flex justify-between gap-5", a == null ? void 0 : a.topContent), children: r }),
|
|
351
351
|
/* @__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: [
|
|
352
352
|
/* @__PURE__ */ g.jsx(
|
|
353
353
|
"div",
|
|
354
354
|
{
|
|
355
355
|
style: { width: `${t}%` },
|
|
356
|
-
className: x("relative z-
|
|
356
|
+
className: x("relative z-10 h-2 rounded-md bg-color-positive transition-all", a == null ? void 0 : a.progress)
|
|
357
357
|
}
|
|
358
358
|
),
|
|
359
359
|
/* @__PURE__ */ g.jsx(
|
|
@@ -361,14 +361,223 @@ const Mr = (r, e) => JSON.stringify(r) === JSON.stringify(e), $r = typeof window
|
|
|
361
361
|
{
|
|
362
362
|
style: { maxWidth: `${n}%` },
|
|
363
363
|
className: x(
|
|
364
|
-
"progressBar-apply absolute top-1/2 z-
|
|
364
|
+
"progressBar-apply absolute top-1/2 z-1 h-full w-full -translate-y-1/2 animate-progress-loader rounded-md",
|
|
365
365
|
a == null ? void 0 : a.loader
|
|
366
366
|
)
|
|
367
367
|
}
|
|
368
368
|
)
|
|
369
369
|
] }),
|
|
370
370
|
e && /* @__PURE__ */ g.jsx("div", { className: x("mt-2 flex justify-between gap-5", a == null ? void 0 : a.bottomContent), children: e })
|
|
371
|
-
] }),
|
|
371
|
+
] }), Yr = ({ className: r }) => /* @__PURE__ */ g.jsx("div", { className: x("skeleton-apply h-full w-full", r) }), me = {
|
|
372
|
+
transparent: "transparent",
|
|
373
|
+
current: "currentColor",
|
|
374
|
+
inherit: "inherit",
|
|
375
|
+
initial: "initial"
|
|
376
|
+
}, ve = {
|
|
377
|
+
"blue-grey-100": "#f3f4f7",
|
|
378
|
+
"blue-grey-200": "#eaedf1",
|
|
379
|
+
"blue-grey-300": "#d4dbe2",
|
|
380
|
+
"blue-grey-500": "#a9b6c5",
|
|
381
|
+
footer: "#40465a",
|
|
382
|
+
negative: "#f42500",
|
|
383
|
+
"negative-light": "#ffd2ca",
|
|
384
|
+
positive: "#76bc21",
|
|
385
|
+
"positive-light": "#e4f6ce",
|
|
386
|
+
"primary-default": "#003790",
|
|
387
|
+
"primary-focus": "#2477ff",
|
|
388
|
+
"primary-hover": "#042e73",
|
|
389
|
+
"primary-light-default": "#f0f4f9",
|
|
390
|
+
"primary-tr-focus": "#0037901f",
|
|
391
|
+
"primary-tr-hover": "#00379014",
|
|
392
|
+
"primary-tr-pressed": "#00379033",
|
|
393
|
+
"secondary-default": "#fc5055",
|
|
394
|
+
"secondary-hover": "#f12f34",
|
|
395
|
+
warning: "#f49f00",
|
|
396
|
+
"warning-light": "#ffeecc",
|
|
397
|
+
white: "#ffffff",
|
|
398
|
+
"primary-disabled": "#809bc7",
|
|
399
|
+
"secondary-disabled": "#FFB7BF",
|
|
400
|
+
dark: "#000000",
|
|
401
|
+
purple: "#5f40bd",
|
|
402
|
+
"purple-hover": "#52399d",
|
|
403
|
+
overlay: "#0000004d",
|
|
404
|
+
...me
|
|
405
|
+
}, Ge = {
|
|
406
|
+
dark: "#292929",
|
|
407
|
+
disabled: "#a9b6c5",
|
|
408
|
+
footer: "#c3c3c3",
|
|
409
|
+
negative: "#f42500",
|
|
410
|
+
positive: "#76bc21",
|
|
411
|
+
"primary-default": "#003790",
|
|
412
|
+
"primary-hover": "#042e73",
|
|
413
|
+
secondary: "#40465a",
|
|
414
|
+
tetriary: "#5a6e85",
|
|
415
|
+
warning: "#f49f00",
|
|
416
|
+
white: "#ffffff",
|
|
417
|
+
"primary-disabled": "#809bc7",
|
|
418
|
+
"blue-grey-600": "#94a4b7",
|
|
419
|
+
...me
|
|
420
|
+
}, He = {
|
|
421
|
+
"barvcray-200": "#ebeef4",
|
|
422
|
+
"barvcray-300": "#dde1e8",
|
|
423
|
+
"greymint-200": "#deecee",
|
|
424
|
+
"lavender-100": "#f7f7ff",
|
|
425
|
+
"lavender-200": "#ecedfa",
|
|
426
|
+
"lavender-300": "#d0d3f1",
|
|
427
|
+
"lightblue-300": "#bed3ec",
|
|
428
|
+
"mint-200": "#e4f5ed",
|
|
429
|
+
"salmon-200": "#faecec",
|
|
430
|
+
"skyblue-100": "#f4f8fe",
|
|
431
|
+
"skyblue-200": "#e7f3ff",
|
|
432
|
+
"skyblue-300": "#d9edff",
|
|
433
|
+
...me
|
|
434
|
+
}, $ = {
|
|
435
|
+
"accent-default": "#2477ff",
|
|
436
|
+
"accent-hover": "#0053da",
|
|
437
|
+
"blue-grey-100": "#f3f4f7",
|
|
438
|
+
"blue-grey-600": "#94a4b7",
|
|
439
|
+
"blue-grey-700": "#69809a",
|
|
440
|
+
"blue-grey-800": "#5a6e85",
|
|
441
|
+
"dark-default": "#292929",
|
|
442
|
+
"dark-hover": "#535353",
|
|
443
|
+
disabled: "#a9b6c5",
|
|
444
|
+
"negative-default": "#f42500",
|
|
445
|
+
"negative-hover": "#c31e00",
|
|
446
|
+
"positive-default": "#76bc21",
|
|
447
|
+
"positive-hover": "#598d19",
|
|
448
|
+
"primary-default": "#003790",
|
|
449
|
+
"primary-hover": "#042e73",
|
|
450
|
+
"secondary-dark-default": "#f12f34",
|
|
451
|
+
"secondary-dark-hover": "#c40309",
|
|
452
|
+
"secondary-default": "#fc5055",
|
|
453
|
+
"secondary-hover": "#f12f34",
|
|
454
|
+
"warning-default": "#f49f00",
|
|
455
|
+
"warning-hover": "#d68b00",
|
|
456
|
+
white: "#ffffff",
|
|
457
|
+
"primary-disabled": "#809bc7",
|
|
458
|
+
footer: "#C3C3C3",
|
|
459
|
+
...me
|
|
460
|
+
}, _e = {
|
|
461
|
+
"blue-grey-500": "#a9b6c5",
|
|
462
|
+
"blue-grey-700": "#69809a",
|
|
463
|
+
"blue-grey-800": "#5a6e85",
|
|
464
|
+
dark: "#292929",
|
|
465
|
+
negative: "#f42500",
|
|
466
|
+
positive: "#76bc21",
|
|
467
|
+
"primary-default": "#003790",
|
|
468
|
+
"primary-focus": "#2477ff",
|
|
469
|
+
"primary-hover": "#042e73",
|
|
470
|
+
"primary-light": "#f0f4f9",
|
|
471
|
+
"secondary-default": "#fc5055",
|
|
472
|
+
"secondary-hover": "#f12f34",
|
|
473
|
+
"warm-grey-200": "#e4e4e4",
|
|
474
|
+
"warm-grey-300": "#c3c3c3",
|
|
475
|
+
warning: "#f49f00",
|
|
476
|
+
white: "#ffffff",
|
|
477
|
+
"primary-disabled": "#809bc7",
|
|
478
|
+
...me
|
|
479
|
+
}, Je = {
|
|
480
|
+
none: "0",
|
|
481
|
+
sm: "4px",
|
|
482
|
+
md: "8px",
|
|
483
|
+
lg: "16px",
|
|
484
|
+
full: "9999px"
|
|
485
|
+
}, Ye = {
|
|
486
|
+
30: "30deg",
|
|
487
|
+
45: "45deg",
|
|
488
|
+
80: "80deg",
|
|
489
|
+
90: "90deg",
|
|
490
|
+
110: "110deg",
|
|
491
|
+
180: "180deg"
|
|
492
|
+
}, St = {
|
|
493
|
+
0: "0",
|
|
494
|
+
1: "1",
|
|
495
|
+
10: "10",
|
|
496
|
+
30: "30",
|
|
497
|
+
50: "50",
|
|
498
|
+
100: "100",
|
|
499
|
+
250: "250",
|
|
500
|
+
500: "500",
|
|
501
|
+
1e3: "1000"
|
|
502
|
+
}, Xe = {
|
|
503
|
+
12: "12px",
|
|
504
|
+
14: "14px",
|
|
505
|
+
16: "16px",
|
|
506
|
+
18: "18px",
|
|
507
|
+
20: "20px",
|
|
508
|
+
24: "24px",
|
|
509
|
+
28: "28px",
|
|
510
|
+
32: "32px",
|
|
511
|
+
40: "40px"
|
|
512
|
+
}, Qe = {
|
|
513
|
+
16: "16px",
|
|
514
|
+
20: "20px",
|
|
515
|
+
22: "22px",
|
|
516
|
+
24: "24px",
|
|
517
|
+
30: "30px",
|
|
518
|
+
32: "32px",
|
|
519
|
+
40: "40px",
|
|
520
|
+
48: "48px"
|
|
521
|
+
}, Ke = {
|
|
522
|
+
/* # Headline */
|
|
523
|
+
".mob-headline-bold-m": {
|
|
524
|
+
"@apply font-bold text-28 leading-32": ""
|
|
525
|
+
},
|
|
526
|
+
".mob-headline-bold-s": {
|
|
527
|
+
"@apply font-bold text-24 leading-30": ""
|
|
528
|
+
},
|
|
529
|
+
/* # Title */
|
|
530
|
+
".mob-title-bold-l": {
|
|
531
|
+
"@apply font-bold text-20 leading-24": ""
|
|
532
|
+
},
|
|
533
|
+
".mob-title-bold-m": {
|
|
534
|
+
"@apply font-bold text-18 leading-22": ""
|
|
535
|
+
},
|
|
536
|
+
/* # Body */
|
|
537
|
+
".mob-body-medium-l": {
|
|
538
|
+
"@apply font-medium text-16 leading-22": ""
|
|
539
|
+
},
|
|
540
|
+
".mob-body-regular-l": {
|
|
541
|
+
"@apply font-normal text-16 leading-22": ""
|
|
542
|
+
},
|
|
543
|
+
".mob-body-medium-m": {
|
|
544
|
+
"@apply font-medium text-14 leading-20": ""
|
|
545
|
+
},
|
|
546
|
+
".mob-body-regular-m": {
|
|
547
|
+
"@apply font-normal text-14 leading-20": ""
|
|
548
|
+
},
|
|
549
|
+
".mob-body-regular-s": {
|
|
550
|
+
"@apply font-normal text-12 leading-20": ""
|
|
551
|
+
},
|
|
552
|
+
/* -------- Desktop Typography -------- */
|
|
553
|
+
/* # Headline */
|
|
554
|
+
".desk-headline-bold-l": {
|
|
555
|
+
"@apply font-bold text-40 leading-48": ""
|
|
556
|
+
},
|
|
557
|
+
".desk-headline-bold-m": {
|
|
558
|
+
"@apply font-bold text-32 leading-40": ""
|
|
559
|
+
},
|
|
560
|
+
/* # Title */
|
|
561
|
+
".desk-title-bold-l": {
|
|
562
|
+
"@apply font-bold text-24 leading-30": ""
|
|
563
|
+
},
|
|
564
|
+
".desk-title-bold-s": {
|
|
565
|
+
"@apply font-bold text-18 leading-22": ""
|
|
566
|
+
},
|
|
567
|
+
/* # Body */
|
|
568
|
+
".desk-body-medium-l": {
|
|
569
|
+
"@apply font-medium text-16 leading-22": ""
|
|
570
|
+
},
|
|
571
|
+
".desk-body-regular-l": {
|
|
572
|
+
"@apply font-normal text-16 leading-22": ""
|
|
573
|
+
},
|
|
574
|
+
".desk-body-regular-m": {
|
|
575
|
+
"@apply font-normal text-14 leading-20": ""
|
|
576
|
+
},
|
|
577
|
+
".desk-body-regular-s": {
|
|
578
|
+
"@apply font-normal text-12 leading-16": ""
|
|
579
|
+
}
|
|
580
|
+
}, jt = /^[\u0400-\u04FF\u00CB\u00EB -]+$/, Ve = /^(?:[^-]+(?:-[^-]+){0,4}|[^-]+)$/, It = /^[a-zA-Zа-яА-ЯёЁ]+(?:\s*-\s*[a-zA-Zа-яА-ЯёЁ]+){0,4}(?:\s+[a-zA-Zа-яА-ЯёЁ]+(?:\s*-\s*[a-zA-Zа-яА-ЯёЁ]+){0,4})?$/i, ge = {
|
|
372
581
|
REQUIRED: "Поле обязательно к заполнению",
|
|
373
582
|
MIN_LENGTH: "Минимальная длина символов должна быть не менее",
|
|
374
583
|
MAX_LENGTH: "Максимальная длина символов должна быть не более",
|
|
@@ -600,14 +809,14 @@ const J = (r, e) => {
|
|
|
600
809
|
}
|
|
601
810
|
return { message: t };
|
|
602
811
|
};
|
|
603
|
-
let
|
|
604
|
-
function
|
|
605
|
-
|
|
812
|
+
let et = J;
|
|
813
|
+
function Rt(r) {
|
|
814
|
+
et = r;
|
|
606
815
|
}
|
|
607
|
-
function
|
|
608
|
-
return
|
|
816
|
+
function xe() {
|
|
817
|
+
return et;
|
|
609
818
|
}
|
|
610
|
-
const
|
|
819
|
+
const be = (r) => {
|
|
611
820
|
const { data: e, path: t, errorMaps: n, issueData: a } = r, s = [...t, ...a.path || []], i = {
|
|
612
821
|
...a,
|
|
613
822
|
path: s
|
|
@@ -627,9 +836,9 @@ const _e = (r) => {
|
|
|
627
836
|
path: s,
|
|
628
837
|
message: o
|
|
629
838
|
};
|
|
630
|
-
},
|
|
839
|
+
}, At = [];
|
|
631
840
|
function u(r, e) {
|
|
632
|
-
const t =
|
|
841
|
+
const t = xe(), n = be({
|
|
633
842
|
issueData: e,
|
|
634
843
|
data: r.data,
|
|
635
844
|
path: r.path,
|
|
@@ -687,11 +896,11 @@ class k {
|
|
|
687
896
|
const y = Object.freeze({
|
|
688
897
|
status: "aborted"
|
|
689
898
|
}), G = (r) => ({ status: "dirty", value: r }), T = (r) => ({ status: "valid", value: r }), Ae = (r) => r.status === "aborted", De = (r) => r.status === "dirty", ee = (r) => r.status === "valid", te = (r) => typeof Promise < "u" && r instanceof Promise;
|
|
690
|
-
function
|
|
899
|
+
function we(r, e, t, n) {
|
|
691
900
|
if (typeof e == "function" ? r !== e || !n : !e.has(r)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
692
901
|
return e.get(r);
|
|
693
902
|
}
|
|
694
|
-
function
|
|
903
|
+
function tt(r, e, t, n, a) {
|
|
695
904
|
if (typeof e == "function" ? r !== e || !a : !e.has(r)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
696
905
|
return e.set(r, t), t;
|
|
697
906
|
}
|
|
@@ -700,7 +909,7 @@ var p;
|
|
|
700
909
|
r.errToObj = (e) => typeof e == "string" ? { message: e } : e || {}, r.toString = (e) => typeof e == "string" ? e : e == null ? void 0 : e.message;
|
|
701
910
|
})(p || (p = {}));
|
|
702
911
|
var Q, K;
|
|
703
|
-
class
|
|
912
|
+
class O {
|
|
704
913
|
constructor(e, t, n, a) {
|
|
705
914
|
this._cachedPath = [], this.parent = e, this.data = t, this._path = n, this._key = a;
|
|
706
915
|
}
|
|
@@ -708,7 +917,7 @@ class I {
|
|
|
708
917
|
return this._cachedPath.length || (this._key instanceof Array ? this._cachedPath.push(...this._path, ...this._key) : this._cachedPath.push(...this._path, this._key)), this._cachedPath;
|
|
709
918
|
}
|
|
710
919
|
}
|
|
711
|
-
const
|
|
920
|
+
const Pe = (r, e) => {
|
|
712
921
|
if (ee(e))
|
|
713
922
|
return { success: !0, data: e.value };
|
|
714
923
|
if (!r.common.issues.length)
|
|
@@ -798,7 +1007,7 @@ class _ {
|
|
|
798
1007
|
data: e,
|
|
799
1008
|
parsedType: M(e)
|
|
800
1009
|
}, s = this._parseSync({ data: e, path: a.path, parent: a });
|
|
801
|
-
return
|
|
1010
|
+
return Pe(a, s);
|
|
802
1011
|
}
|
|
803
1012
|
async parseAsync(e, t) {
|
|
804
1013
|
const n = await this.safeParseAsync(e, t);
|
|
@@ -819,7 +1028,7 @@ class _ {
|
|
|
819
1028
|
data: e,
|
|
820
1029
|
parsedType: M(e)
|
|
821
1030
|
}, a = this._parse({ data: e, path: n.path, parent: n }), s = await (te(a) ? a : Promise.resolve(a));
|
|
822
|
-
return
|
|
1031
|
+
return Pe(n, s);
|
|
823
1032
|
}
|
|
824
1033
|
refine(e, t) {
|
|
825
1034
|
const n = (a) => typeof t == "string" || typeof t > "u" ? { message: t } : typeof t == "function" ? t(a) : t;
|
|
@@ -835,7 +1044,7 @@ class _ {
|
|
|
835
1044
|
return this._refinement((n, a) => e(n) ? !0 : (a.addIssue(typeof t == "function" ? t(n, a) : t), !1));
|
|
836
1045
|
}
|
|
837
1046
|
_refinement(e) {
|
|
838
|
-
return new
|
|
1047
|
+
return new S({
|
|
839
1048
|
schema: this,
|
|
840
1049
|
typeName: h.ZodEffects,
|
|
841
1050
|
effect: { type: "refinement", refinement: e }
|
|
@@ -845,7 +1054,7 @@ class _ {
|
|
|
845
1054
|
return this._refinement(e);
|
|
846
1055
|
}
|
|
847
1056
|
optional() {
|
|
848
|
-
return
|
|
1057
|
+
return I.create(this, this._def);
|
|
849
1058
|
}
|
|
850
1059
|
nullable() {
|
|
851
1060
|
return B.create(this, this._def);
|
|
@@ -854,7 +1063,7 @@ class _ {
|
|
|
854
1063
|
return this.nullable().optional();
|
|
855
1064
|
}
|
|
856
1065
|
array() {
|
|
857
|
-
return
|
|
1066
|
+
return Z.create(this, this._def);
|
|
858
1067
|
}
|
|
859
1068
|
promise() {
|
|
860
1069
|
return X.create(this, this._def);
|
|
@@ -866,7 +1075,7 @@ class _ {
|
|
|
866
1075
|
return ie.create(this, e, this._def);
|
|
867
1076
|
}
|
|
868
1077
|
transform(e) {
|
|
869
|
-
return new
|
|
1078
|
+
return new S({
|
|
870
1079
|
...v(this._def),
|
|
871
1080
|
schema: this,
|
|
872
1081
|
typeName: h.ZodEffects,
|
|
@@ -906,7 +1115,7 @@ class _ {
|
|
|
906
1115
|
});
|
|
907
1116
|
}
|
|
908
1117
|
pipe(e) {
|
|
909
|
-
return
|
|
1118
|
+
return he.create(this, e);
|
|
910
1119
|
}
|
|
911
1120
|
readonly() {
|
|
912
1121
|
return pe.create(this);
|
|
@@ -918,23 +1127,23 @@ class _ {
|
|
|
918
1127
|
return this.safeParse(null).success;
|
|
919
1128
|
}
|
|
920
1129
|
}
|
|
921
|
-
const
|
|
922
|
-
let
|
|
923
|
-
const
|
|
924
|
-
function
|
|
1130
|
+
const Dt = /^c[^\s-]{8,}$/i, Lt = /^[0-9a-z]+$/, Mt = /^[0-9A-HJKMNP-TV-Z]{26}$/, $t = /^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i, Vt = /^[a-z0-9_-]{21}$/i, Pt = /^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/, zt = /^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i, Bt = "^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";
|
|
1131
|
+
let Ie;
|
|
1132
|
+
const Ut = /^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/, Ft = /^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/, Wt = /^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/, rt = "((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))", qt = new RegExp(`^${rt}$`);
|
|
1133
|
+
function nt(r) {
|
|
925
1134
|
let e = "([01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d";
|
|
926
1135
|
return r.precision ? e = `${e}\\.\\d{${r.precision}}` : r.precision == null && (e = `${e}(\\.\\d+)?`), e;
|
|
927
1136
|
}
|
|
928
|
-
function
|
|
929
|
-
return new RegExp(`^${
|
|
1137
|
+
function Gt(r) {
|
|
1138
|
+
return new RegExp(`^${nt(r)}$`);
|
|
930
1139
|
}
|
|
931
|
-
function
|
|
932
|
-
let e = `${
|
|
1140
|
+
function at(r) {
|
|
1141
|
+
let e = `${rt}T${nt(r)}`;
|
|
933
1142
|
const t = [];
|
|
934
1143
|
return t.push(r.local ? "Z?" : "Z"), r.offset && t.push("([+-]\\d{2}:?\\d{2})"), e = `${e}(${t.join("|")})`, new RegExp(`^${e}$`);
|
|
935
1144
|
}
|
|
936
|
-
function
|
|
937
|
-
return !!((e === "v4" || !e) &&
|
|
1145
|
+
function Ht(r, e) {
|
|
1146
|
+
return !!((e === "v4" || !e) && Ut.test(r) || (e === "v6" || !e) && Ft.test(r));
|
|
938
1147
|
}
|
|
939
1148
|
class E extends _ {
|
|
940
1149
|
_parse(e) {
|
|
@@ -985,43 +1194,43 @@ class E extends _ {
|
|
|
985
1194
|
message: s.message
|
|
986
1195
|
}), n.dirty());
|
|
987
1196
|
} else if (s.kind === "email")
|
|
988
|
-
|
|
1197
|
+
zt.test(e.data) || (a = this._getOrReturnCtx(e, a), u(a, {
|
|
989
1198
|
validation: "email",
|
|
990
1199
|
code: d.invalid_string,
|
|
991
1200
|
message: s.message
|
|
992
1201
|
}), n.dirty());
|
|
993
1202
|
else if (s.kind === "emoji")
|
|
994
|
-
|
|
1203
|
+
Ie || (Ie = new RegExp(Bt, "u")), Ie.test(e.data) || (a = this._getOrReturnCtx(e, a), u(a, {
|
|
995
1204
|
validation: "emoji",
|
|
996
1205
|
code: d.invalid_string,
|
|
997
1206
|
message: s.message
|
|
998
1207
|
}), n.dirty());
|
|
999
1208
|
else if (s.kind === "uuid")
|
|
1000
|
-
|
|
1209
|
+
$t.test(e.data) || (a = this._getOrReturnCtx(e, a), u(a, {
|
|
1001
1210
|
validation: "uuid",
|
|
1002
1211
|
code: d.invalid_string,
|
|
1003
1212
|
message: s.message
|
|
1004
1213
|
}), n.dirty());
|
|
1005
1214
|
else if (s.kind === "nanoid")
|
|
1006
|
-
|
|
1215
|
+
Vt.test(e.data) || (a = this._getOrReturnCtx(e, a), u(a, {
|
|
1007
1216
|
validation: "nanoid",
|
|
1008
1217
|
code: d.invalid_string,
|
|
1009
1218
|
message: s.message
|
|
1010
1219
|
}), n.dirty());
|
|
1011
1220
|
else if (s.kind === "cuid")
|
|
1012
|
-
|
|
1221
|
+
Dt.test(e.data) || (a = this._getOrReturnCtx(e, a), u(a, {
|
|
1013
1222
|
validation: "cuid",
|
|
1014
1223
|
code: d.invalid_string,
|
|
1015
1224
|
message: s.message
|
|
1016
1225
|
}), n.dirty());
|
|
1017
1226
|
else if (s.kind === "cuid2")
|
|
1018
|
-
|
|
1227
|
+
Lt.test(e.data) || (a = this._getOrReturnCtx(e, a), u(a, {
|
|
1019
1228
|
validation: "cuid2",
|
|
1020
1229
|
code: d.invalid_string,
|
|
1021
1230
|
message: s.message
|
|
1022
1231
|
}), n.dirty());
|
|
1023
1232
|
else if (s.kind === "ulid")
|
|
1024
|
-
|
|
1233
|
+
Mt.test(e.data) || (a = this._getOrReturnCtx(e, a), u(a, {
|
|
1025
1234
|
validation: "ulid",
|
|
1026
1235
|
code: d.invalid_string,
|
|
1027
1236
|
message: s.message
|
|
@@ -1052,15 +1261,15 @@ class E extends _ {
|
|
|
1052
1261
|
code: d.invalid_string,
|
|
1053
1262
|
validation: { endsWith: s.value },
|
|
1054
1263
|
message: s.message
|
|
1055
|
-
}), n.dirty()) : s.kind === "datetime" ?
|
|
1264
|
+
}), n.dirty()) : s.kind === "datetime" ? at(s).test(e.data) || (a = this._getOrReturnCtx(e, a), u(a, {
|
|
1056
1265
|
code: d.invalid_string,
|
|
1057
1266
|
validation: "datetime",
|
|
1058
1267
|
message: s.message
|
|
1059
|
-
}), n.dirty()) : s.kind === "date" ?
|
|
1268
|
+
}), n.dirty()) : s.kind === "date" ? qt.test(e.data) || (a = this._getOrReturnCtx(e, a), u(a, {
|
|
1060
1269
|
code: d.invalid_string,
|
|
1061
1270
|
validation: "date",
|
|
1062
1271
|
message: s.message
|
|
1063
|
-
}), n.dirty()) : s.kind === "time" ?
|
|
1272
|
+
}), n.dirty()) : s.kind === "time" ? Gt(s).test(e.data) || (a = this._getOrReturnCtx(e, a), u(a, {
|
|
1064
1273
|
code: d.invalid_string,
|
|
1065
1274
|
validation: "time",
|
|
1066
1275
|
message: s.message
|
|
@@ -1068,11 +1277,11 @@ class E extends _ {
|
|
|
1068
1277
|
validation: "duration",
|
|
1069
1278
|
code: d.invalid_string,
|
|
1070
1279
|
message: s.message
|
|
1071
|
-
}), n.dirty()) : s.kind === "ip" ?
|
|
1280
|
+
}), n.dirty()) : s.kind === "ip" ? Ht(e.data, s.version) || (a = this._getOrReturnCtx(e, a), u(a, {
|
|
1072
1281
|
validation: "ip",
|
|
1073
1282
|
code: d.invalid_string,
|
|
1074
1283
|
message: s.message
|
|
1075
|
-
}), n.dirty()) : s.kind === "base64" ?
|
|
1284
|
+
}), n.dirty()) : s.kind === "base64" ? Wt.test(e.data) || (a = this._getOrReturnCtx(e, a), u(a, {
|
|
1076
1285
|
validation: "base64",
|
|
1077
1286
|
code: d.invalid_string,
|
|
1078
1287
|
message: s.message
|
|
@@ -1294,11 +1503,11 @@ E.create = (r) => {
|
|
|
1294
1503
|
...v(r)
|
|
1295
1504
|
});
|
|
1296
1505
|
};
|
|
1297
|
-
function
|
|
1506
|
+
function Jt(r, e) {
|
|
1298
1507
|
const t = (r.toString().split(".")[1] || "").length, n = (e.toString().split(".")[1] || "").length, a = t > n ? t : n, s = parseInt(r.toFixed(a).replace(".", "")), i = parseInt(e.toFixed(a).replace(".", ""));
|
|
1299
1508
|
return s % i / Math.pow(10, a);
|
|
1300
1509
|
}
|
|
1301
|
-
class
|
|
1510
|
+
class V extends _ {
|
|
1302
1511
|
constructor() {
|
|
1303
1512
|
super(...arguments), this.min = this.gte, this.max = this.lte, this.step = this.multipleOf;
|
|
1304
1513
|
}
|
|
@@ -1333,7 +1542,7 @@ class P extends _ {
|
|
|
1333
1542
|
inclusive: s.inclusive,
|
|
1334
1543
|
exact: !1,
|
|
1335
1544
|
message: s.message
|
|
1336
|
-
}), a.dirty()) : s.kind === "multipleOf" ?
|
|
1545
|
+
}), a.dirty()) : s.kind === "multipleOf" ? Jt(e.data, s.value) !== 0 && (n = this._getOrReturnCtx(e, n), u(n, {
|
|
1337
1546
|
code: d.not_multiple_of,
|
|
1338
1547
|
multipleOf: s.value,
|
|
1339
1548
|
message: s.message
|
|
@@ -1356,7 +1565,7 @@ class P extends _ {
|
|
|
1356
1565
|
return this.setLimit("max", e, !1, p.toString(t));
|
|
1357
1566
|
}
|
|
1358
1567
|
setLimit(e, t, n, a) {
|
|
1359
|
-
return new
|
|
1568
|
+
return new V({
|
|
1360
1569
|
...this._def,
|
|
1361
1570
|
checks: [
|
|
1362
1571
|
...this._def.checks,
|
|
@@ -1370,7 +1579,7 @@ class P extends _ {
|
|
|
1370
1579
|
});
|
|
1371
1580
|
}
|
|
1372
1581
|
_addCheck(e) {
|
|
1373
|
-
return new
|
|
1582
|
+
return new V({
|
|
1374
1583
|
...this._def,
|
|
1375
1584
|
checks: [...this._def.checks, e]
|
|
1376
1585
|
});
|
|
@@ -1464,13 +1673,13 @@ class P extends _ {
|
|
|
1464
1673
|
return Number.isFinite(t) && Number.isFinite(e);
|
|
1465
1674
|
}
|
|
1466
1675
|
}
|
|
1467
|
-
|
|
1676
|
+
V.create = (r) => new V({
|
|
1468
1677
|
checks: [],
|
|
1469
1678
|
typeName: h.ZodNumber,
|
|
1470
1679
|
coerce: (r == null ? void 0 : r.coerce) || !1,
|
|
1471
1680
|
...v(r)
|
|
1472
1681
|
});
|
|
1473
|
-
class
|
|
1682
|
+
class P extends _ {
|
|
1474
1683
|
constructor() {
|
|
1475
1684
|
super(...arguments), this.min = this.gte, this.max = this.lte;
|
|
1476
1685
|
}
|
|
@@ -1518,7 +1727,7 @@ class V extends _ {
|
|
|
1518
1727
|
return this.setLimit("max", e, !1, p.toString(t));
|
|
1519
1728
|
}
|
|
1520
1729
|
setLimit(e, t, n, a) {
|
|
1521
|
-
return new
|
|
1730
|
+
return new P({
|
|
1522
1731
|
...this._def,
|
|
1523
1732
|
checks: [
|
|
1524
1733
|
...this._def.checks,
|
|
@@ -1532,7 +1741,7 @@ class V extends _ {
|
|
|
1532
1741
|
});
|
|
1533
1742
|
}
|
|
1534
1743
|
_addCheck(e) {
|
|
1535
|
-
return new
|
|
1744
|
+
return new P({
|
|
1536
1745
|
...this._def,
|
|
1537
1746
|
checks: [...this._def.checks, e]
|
|
1538
1747
|
});
|
|
@@ -1589,9 +1798,9 @@ class V extends _ {
|
|
|
1589
1798
|
return e;
|
|
1590
1799
|
}
|
|
1591
1800
|
}
|
|
1592
|
-
|
|
1801
|
+
P.create = (r) => {
|
|
1593
1802
|
var e;
|
|
1594
|
-
return new
|
|
1803
|
+
return new P({
|
|
1595
1804
|
checks: [],
|
|
1596
1805
|
typeName: h.ZodBigInt,
|
|
1597
1806
|
coerce: (e = r == null ? void 0 : r.coerce) !== null && e !== void 0 ? e : !1,
|
|
@@ -1694,7 +1903,7 @@ F.create = (r) => new F({
|
|
|
1694
1903
|
typeName: h.ZodDate,
|
|
1695
1904
|
...v(r)
|
|
1696
1905
|
});
|
|
1697
|
-
class
|
|
1906
|
+
class ke extends _ {
|
|
1698
1907
|
_parse(e) {
|
|
1699
1908
|
if (this._getType(e) !== f.symbol) {
|
|
1700
1909
|
const n = this._getOrReturnCtx(e);
|
|
@@ -1707,7 +1916,7 @@ class be extends _ {
|
|
|
1707
1916
|
return T(e.data);
|
|
1708
1917
|
}
|
|
1709
1918
|
}
|
|
1710
|
-
|
|
1919
|
+
ke.create = (r) => new ke({
|
|
1711
1920
|
typeName: h.ZodSymbol,
|
|
1712
1921
|
...v(r)
|
|
1713
1922
|
});
|
|
@@ -1783,7 +1992,7 @@ D.create = (r) => new D({
|
|
|
1783
1992
|
typeName: h.ZodNever,
|
|
1784
1993
|
...v(r)
|
|
1785
1994
|
});
|
|
1786
|
-
class
|
|
1995
|
+
class Te extends _ {
|
|
1787
1996
|
_parse(e) {
|
|
1788
1997
|
if (this._getType(e) !== f.undefined) {
|
|
1789
1998
|
const n = this._getOrReturnCtx(e);
|
|
@@ -1796,11 +2005,11 @@ class we extends _ {
|
|
|
1796
2005
|
return T(e.data);
|
|
1797
2006
|
}
|
|
1798
2007
|
}
|
|
1799
|
-
|
|
2008
|
+
Te.create = (r) => new Te({
|
|
1800
2009
|
typeName: h.ZodVoid,
|
|
1801
2010
|
...v(r)
|
|
1802
2011
|
});
|
|
1803
|
-
class
|
|
2012
|
+
class Z extends _ {
|
|
1804
2013
|
_parse(e) {
|
|
1805
2014
|
const { ctx: t, status: n } = this._processInputParams(e), a = this._def;
|
|
1806
2015
|
if (t.parsedType !== f.array)
|
|
@@ -1836,27 +2045,27 @@ class S extends _ {
|
|
|
1836
2045
|
exact: !1,
|
|
1837
2046
|
message: a.maxLength.message
|
|
1838
2047
|
}), n.dirty()), t.common.async)
|
|
1839
|
-
return Promise.all([...t.data].map((i, o) => a.type._parseAsync(new
|
|
1840
|
-
const s = [...t.data].map((i, o) => a.type._parseSync(new
|
|
2048
|
+
return Promise.all([...t.data].map((i, o) => a.type._parseAsync(new O(t, i, t.path, o)))).then((i) => k.mergeArray(n, i));
|
|
2049
|
+
const s = [...t.data].map((i, o) => a.type._parseSync(new O(t, i, t.path, o)));
|
|
1841
2050
|
return k.mergeArray(n, s);
|
|
1842
2051
|
}
|
|
1843
2052
|
get element() {
|
|
1844
2053
|
return this._def.type;
|
|
1845
2054
|
}
|
|
1846
2055
|
min(e, t) {
|
|
1847
|
-
return new
|
|
2056
|
+
return new Z({
|
|
1848
2057
|
...this._def,
|
|
1849
2058
|
minLength: { value: e, message: p.toString(t) }
|
|
1850
2059
|
});
|
|
1851
2060
|
}
|
|
1852
2061
|
max(e, t) {
|
|
1853
|
-
return new
|
|
2062
|
+
return new Z({
|
|
1854
2063
|
...this._def,
|
|
1855
2064
|
maxLength: { value: e, message: p.toString(t) }
|
|
1856
2065
|
});
|
|
1857
2066
|
}
|
|
1858
2067
|
length(e, t) {
|
|
1859
|
-
return new
|
|
2068
|
+
return new Z({
|
|
1860
2069
|
...this._def,
|
|
1861
2070
|
exactLength: { value: e, message: p.toString(t) }
|
|
1862
2071
|
});
|
|
@@ -1865,7 +2074,7 @@ class S extends _ {
|
|
|
1865
2074
|
return this.min(1, e);
|
|
1866
2075
|
}
|
|
1867
2076
|
}
|
|
1868
|
-
|
|
2077
|
+
Z.create = (r, e) => new Z({
|
|
1869
2078
|
type: r,
|
|
1870
2079
|
minLength: null,
|
|
1871
2080
|
maxLength: null,
|
|
@@ -1878,16 +2087,16 @@ function q(r) {
|
|
|
1878
2087
|
const e = {};
|
|
1879
2088
|
for (const t in r.shape) {
|
|
1880
2089
|
const n = r.shape[t];
|
|
1881
|
-
e[t] =
|
|
2090
|
+
e[t] = I.create(q(n));
|
|
1882
2091
|
}
|
|
1883
2092
|
return new w({
|
|
1884
2093
|
...r._def,
|
|
1885
2094
|
shape: () => e
|
|
1886
2095
|
});
|
|
1887
|
-
} else return r instanceof
|
|
2096
|
+
} else return r instanceof Z ? new Z({
|
|
1888
2097
|
...r._def,
|
|
1889
2098
|
type: q(r.element)
|
|
1890
|
-
}) : r instanceof
|
|
2099
|
+
}) : r instanceof I ? I.create(q(r.unwrap())) : r instanceof B ? B.create(q(r.unwrap())) : r instanceof R ? R.create(r.items.map((e) => q(e))) : r;
|
|
1891
2100
|
}
|
|
1892
2101
|
class w extends _ {
|
|
1893
2102
|
constructor() {
|
|
@@ -1917,7 +2126,7 @@ class w extends _ {
|
|
|
1917
2126
|
const m = s[l], C = a.data[l];
|
|
1918
2127
|
c.push({
|
|
1919
2128
|
key: { status: "valid", value: l },
|
|
1920
|
-
value: m._parse(new
|
|
2129
|
+
value: m._parse(new O(a, C, a.path, l)),
|
|
1921
2130
|
alwaysSet: l in a.data
|
|
1922
2131
|
});
|
|
1923
2132
|
}
|
|
@@ -1942,7 +2151,7 @@ class w extends _ {
|
|
|
1942
2151
|
c.push({
|
|
1943
2152
|
key: { status: "valid", value: m },
|
|
1944
2153
|
value: l._parse(
|
|
1945
|
-
new
|
|
2154
|
+
new O(a, C, a.path, m)
|
|
1946
2155
|
//, ctx.child(key), value, getParsedType(value)
|
|
1947
2156
|
),
|
|
1948
2157
|
alwaysSet: m in a.data
|
|
@@ -2142,7 +2351,7 @@ class w extends _ {
|
|
|
2142
2351
|
t[n] = this.shape[n];
|
|
2143
2352
|
else {
|
|
2144
2353
|
let s = this.shape[n];
|
|
2145
|
-
for (; s instanceof
|
|
2354
|
+
for (; s instanceof I; )
|
|
2146
2355
|
s = s._def.innerType;
|
|
2147
2356
|
t[n] = s;
|
|
2148
2357
|
}
|
|
@@ -2152,7 +2361,7 @@ class w extends _ {
|
|
|
2152
2361
|
});
|
|
2153
2362
|
}
|
|
2154
2363
|
keyof() {
|
|
2155
|
-
return
|
|
2364
|
+
return st(b.objectKeys(this.shape));
|
|
2156
2365
|
}
|
|
2157
2366
|
}
|
|
2158
2367
|
w.create = (r, e) => new w({
|
|
@@ -2249,8 +2458,8 @@ se.create = (r, e) => new se({
|
|
|
2249
2458
|
typeName: h.ZodUnion,
|
|
2250
2459
|
...v(e)
|
|
2251
2460
|
});
|
|
2252
|
-
const A = (r) => r instanceof de ? A(r.schema) : r instanceof
|
|
2253
|
-
class
|
|
2461
|
+
const A = (r) => r instanceof de ? A(r.schema) : r instanceof S ? A(r.innerType()) : r instanceof le ? [r.value] : r instanceof z ? r.options : r instanceof ce ? b.objectValues(r.enum) : r instanceof ue ? A(r._def.innerType) : r instanceof ne ? [void 0] : r instanceof ae ? [null] : r instanceof I ? [void 0, ...A(r.unwrap())] : r instanceof B ? [null, ...A(r.unwrap())] : r instanceof $e || r instanceof pe ? A(r.unwrap()) : r instanceof fe ? A(r._def.innerType) : [];
|
|
2462
|
+
class Ze extends _ {
|
|
2254
2463
|
_parse(e) {
|
|
2255
2464
|
const { ctx: t } = this._processInputParams(e);
|
|
2256
2465
|
if (t.parsedType !== f.object)
|
|
@@ -2303,7 +2512,7 @@ class Se extends _ {
|
|
|
2303
2512
|
a.set(o, s);
|
|
2304
2513
|
}
|
|
2305
2514
|
}
|
|
2306
|
-
return new
|
|
2515
|
+
return new Ze({
|
|
2307
2516
|
typeName: h.ZodDiscriminatedUnion,
|
|
2308
2517
|
discriminator: e,
|
|
2309
2518
|
options: t,
|
|
@@ -2402,7 +2611,7 @@ class R extends _ {
|
|
|
2402
2611
|
}), t.dirty());
|
|
2403
2612
|
const s = [...n.data].map((i, o) => {
|
|
2404
2613
|
const c = this._def.items[o] || this._def.rest;
|
|
2405
|
-
return c ? c._parse(new
|
|
2614
|
+
return c ? c._parse(new O(n, i, n.path, o)) : null;
|
|
2406
2615
|
}).filter((i) => !!i);
|
|
2407
2616
|
return n.common.async ? Promise.all(s).then((i) => k.mergeArray(t, i)) : k.mergeArray(t, s);
|
|
2408
2617
|
}
|
|
@@ -2444,8 +2653,8 @@ class oe extends _ {
|
|
|
2444
2653
|
const a = [], s = this._def.keyType, i = this._def.valueType;
|
|
2445
2654
|
for (const o in n.data)
|
|
2446
2655
|
a.push({
|
|
2447
|
-
key: s._parse(new
|
|
2448
|
-
value: i._parse(new
|
|
2656
|
+
key: s._parse(new O(n, o, n.path, o)),
|
|
2657
|
+
value: i._parse(new O(n, n.data[o], n.path, o)),
|
|
2449
2658
|
alwaysSet: o in n.data
|
|
2450
2659
|
});
|
|
2451
2660
|
return n.common.async ? k.mergeObjectAsync(t, a) : k.mergeObjectSync(t, a);
|
|
@@ -2467,7 +2676,7 @@ class oe extends _ {
|
|
|
2467
2676
|
});
|
|
2468
2677
|
}
|
|
2469
2678
|
}
|
|
2470
|
-
class
|
|
2679
|
+
class Ce extends _ {
|
|
2471
2680
|
get keySchema() {
|
|
2472
2681
|
return this._def.keyType;
|
|
2473
2682
|
}
|
|
@@ -2483,8 +2692,8 @@ class ke extends _ {
|
|
|
2483
2692
|
received: n.parsedType
|
|
2484
2693
|
}), y;
|
|
2485
2694
|
const a = this._def.keyType, s = this._def.valueType, i = [...n.data.entries()].map(([o, c], l) => ({
|
|
2486
|
-
key: a._parse(new
|
|
2487
|
-
value: s._parse(new
|
|
2695
|
+
key: a._parse(new O(n, o, n.path, [l, "key"])),
|
|
2696
|
+
value: s._parse(new O(n, c, n.path, [l, "value"]))
|
|
2488
2697
|
}));
|
|
2489
2698
|
if (n.common.async) {
|
|
2490
2699
|
const o = /* @__PURE__ */ new Map();
|
|
@@ -2509,7 +2718,7 @@ class ke extends _ {
|
|
|
2509
2718
|
}
|
|
2510
2719
|
}
|
|
2511
2720
|
}
|
|
2512
|
-
|
|
2721
|
+
Ce.create = (r, e, t) => new Ce({
|
|
2513
2722
|
valueType: e,
|
|
2514
2723
|
keyType: r,
|
|
2515
2724
|
typeName: h.ZodMap,
|
|
@@ -2550,7 +2759,7 @@ class W extends _ {
|
|
|
2550
2759
|
}
|
|
2551
2760
|
return { status: t.value, value: l };
|
|
2552
2761
|
}
|
|
2553
|
-
const o = [...n.data.values()].map((c, l) => s._parse(new
|
|
2762
|
+
const o = [...n.data.values()].map((c, l) => s._parse(new O(n, c, n.path, l)));
|
|
2554
2763
|
return n.common.async ? Promise.all(o).then((c) => i(c)) : i(o);
|
|
2555
2764
|
}
|
|
2556
2765
|
min(e, t) {
|
|
@@ -2592,13 +2801,13 @@ class H extends _ {
|
|
|
2592
2801
|
received: t.parsedType
|
|
2593
2802
|
}), y;
|
|
2594
2803
|
function n(o, c) {
|
|
2595
|
-
return
|
|
2804
|
+
return be({
|
|
2596
2805
|
data: o,
|
|
2597
2806
|
path: t.path,
|
|
2598
2807
|
errorMaps: [
|
|
2599
2808
|
t.common.contextualErrorMap,
|
|
2600
2809
|
t.schemaErrorMap,
|
|
2601
|
-
|
|
2810
|
+
xe(),
|
|
2602
2811
|
J
|
|
2603
2812
|
].filter((l) => !!l),
|
|
2604
2813
|
issueData: {
|
|
@@ -2608,13 +2817,13 @@ class H extends _ {
|
|
|
2608
2817
|
});
|
|
2609
2818
|
}
|
|
2610
2819
|
function a(o, c) {
|
|
2611
|
-
return
|
|
2820
|
+
return be({
|
|
2612
2821
|
data: o,
|
|
2613
2822
|
path: t.path,
|
|
2614
2823
|
errorMaps: [
|
|
2615
2824
|
t.common.contextualErrorMap,
|
|
2616
2825
|
t.schemaErrorMap,
|
|
2617
|
-
|
|
2826
|
+
xe(),
|
|
2618
2827
|
J
|
|
2619
2828
|
].filter((l) => !!l),
|
|
2620
2829
|
issueData: {
|
|
@@ -2627,11 +2836,11 @@ class H extends _ {
|
|
|
2627
2836
|
if (this._def.returns instanceof X) {
|
|
2628
2837
|
const o = this;
|
|
2629
2838
|
return T(async function(...c) {
|
|
2630
|
-
const l = new N([]), m = await o._def.args.parseAsync(c, s).catch((
|
|
2631
|
-
throw l.addIssue(n(c,
|
|
2839
|
+
const l = new N([]), m = await o._def.args.parseAsync(c, s).catch((Se) => {
|
|
2840
|
+
throw l.addIssue(n(c, Se)), l;
|
|
2632
2841
|
}), C = await Reflect.apply(i, this, m);
|
|
2633
|
-
return await o._def.returns._def.type.parseAsync(C, s).catch((
|
|
2634
|
-
throw l.addIssue(a(C,
|
|
2842
|
+
return await o._def.returns._def.type.parseAsync(C, s).catch((Se) => {
|
|
2843
|
+
throw l.addIssue(a(C, Se)), l;
|
|
2635
2844
|
});
|
|
2636
2845
|
});
|
|
2637
2846
|
} else {
|
|
@@ -2715,7 +2924,7 @@ le.create = (r, e) => new le({
|
|
|
2715
2924
|
typeName: h.ZodLiteral,
|
|
2716
2925
|
...v(e)
|
|
2717
2926
|
});
|
|
2718
|
-
function
|
|
2927
|
+
function st(r, e) {
|
|
2719
2928
|
return new z({
|
|
2720
2929
|
values: r,
|
|
2721
2930
|
typeName: h.ZodEnum,
|
|
@@ -2735,7 +2944,7 @@ class z extends _ {
|
|
|
2735
2944
|
code: d.invalid_type
|
|
2736
2945
|
}), y;
|
|
2737
2946
|
}
|
|
2738
|
-
if (
|
|
2947
|
+
if (we(this, Q) || tt(this, Q, new Set(this._def.values)), !we(this, Q).has(e.data)) {
|
|
2739
2948
|
const t = this._getOrReturnCtx(e), n = this._def.values;
|
|
2740
2949
|
return u(t, {
|
|
2741
2950
|
received: t.data,
|
|
@@ -2780,7 +2989,7 @@ class z extends _ {
|
|
|
2780
2989
|
}
|
|
2781
2990
|
}
|
|
2782
2991
|
Q = /* @__PURE__ */ new WeakMap();
|
|
2783
|
-
z.create =
|
|
2992
|
+
z.create = st;
|
|
2784
2993
|
class ce extends _ {
|
|
2785
2994
|
constructor() {
|
|
2786
2995
|
super(...arguments), K.set(this, void 0);
|
|
@@ -2795,7 +3004,7 @@ class ce extends _ {
|
|
|
2795
3004
|
code: d.invalid_type
|
|
2796
3005
|
}), y;
|
|
2797
3006
|
}
|
|
2798
|
-
if (
|
|
3007
|
+
if (we(this, K) || tt(this, K, new Set(b.getValidEnumValues(this._def.values))), !we(this, K).has(e.data)) {
|
|
2799
3008
|
const a = b.objectValues(t);
|
|
2800
3009
|
return u(n, {
|
|
2801
3010
|
received: n.data,
|
|
@@ -2839,7 +3048,7 @@ X.create = (r, e) => new X({
|
|
|
2839
3048
|
typeName: h.ZodPromise,
|
|
2840
3049
|
...v(e)
|
|
2841
3050
|
});
|
|
2842
|
-
class
|
|
3051
|
+
class S extends _ {
|
|
2843
3052
|
innerType() {
|
|
2844
3053
|
return this._def.schema;
|
|
2845
3054
|
}
|
|
@@ -2916,19 +3125,19 @@ class Z extends _ {
|
|
|
2916
3125
|
b.assertNever(a);
|
|
2917
3126
|
}
|
|
2918
3127
|
}
|
|
2919
|
-
|
|
3128
|
+
S.create = (r, e, t) => new S({
|
|
2920
3129
|
schema: r,
|
|
2921
3130
|
typeName: h.ZodEffects,
|
|
2922
3131
|
effect: e,
|
|
2923
3132
|
...v(t)
|
|
2924
3133
|
});
|
|
2925
|
-
|
|
3134
|
+
S.createWithPreprocess = (r, e, t) => new S({
|
|
2926
3135
|
schema: e,
|
|
2927
3136
|
effect: { type: "preprocess", transform: r },
|
|
2928
3137
|
typeName: h.ZodEffects,
|
|
2929
3138
|
...v(t)
|
|
2930
3139
|
});
|
|
2931
|
-
class
|
|
3140
|
+
class I extends _ {
|
|
2932
3141
|
_parse(e) {
|
|
2933
3142
|
return this._getType(e) === f.undefined ? T(void 0) : this._def.innerType._parse(e);
|
|
2934
3143
|
}
|
|
@@ -2936,7 +3145,7 @@ class O extends _ {
|
|
|
2936
3145
|
return this._def.innerType;
|
|
2937
3146
|
}
|
|
2938
3147
|
}
|
|
2939
|
-
|
|
3148
|
+
I.create = (r, e) => new I({
|
|
2940
3149
|
innerType: r,
|
|
2941
3150
|
typeName: h.ZodOptional,
|
|
2942
3151
|
...v(e)
|
|
@@ -3017,7 +3226,7 @@ fe.create = (r, e) => new fe({
|
|
|
3017
3226
|
catchValue: typeof e.catch == "function" ? e.catch : () => e.catch,
|
|
3018
3227
|
...v(e)
|
|
3019
3228
|
});
|
|
3020
|
-
class
|
|
3229
|
+
class Ne extends _ {
|
|
3021
3230
|
_parse(e) {
|
|
3022
3231
|
if (this._getType(e) !== f.nan) {
|
|
3023
3232
|
const n = this._getOrReturnCtx(e);
|
|
@@ -3030,11 +3239,11 @@ class Te extends _ {
|
|
|
3030
3239
|
return { status: "valid", value: e.data };
|
|
3031
3240
|
}
|
|
3032
3241
|
}
|
|
3033
|
-
|
|
3242
|
+
Ne.create = (r) => new Ne({
|
|
3034
3243
|
typeName: h.ZodNaN,
|
|
3035
3244
|
...v(r)
|
|
3036
3245
|
});
|
|
3037
|
-
const
|
|
3246
|
+
const Yt = Symbol("zod_brand");
|
|
3038
3247
|
class $e extends _ {
|
|
3039
3248
|
_parse(e) {
|
|
3040
3249
|
const { ctx: t } = this._processInputParams(e), n = t.data;
|
|
@@ -3048,7 +3257,7 @@ class $e extends _ {
|
|
|
3048
3257
|
return this._def.type;
|
|
3049
3258
|
}
|
|
3050
3259
|
}
|
|
3051
|
-
class
|
|
3260
|
+
class he extends _ {
|
|
3052
3261
|
_parse(e) {
|
|
3053
3262
|
const { status: t, ctx: n } = this._processInputParams(e);
|
|
3054
3263
|
if (n.common.async)
|
|
@@ -3081,7 +3290,7 @@ class me extends _ {
|
|
|
3081
3290
|
}
|
|
3082
3291
|
}
|
|
3083
3292
|
static create(e, t) {
|
|
3084
|
-
return new
|
|
3293
|
+
return new he({
|
|
3085
3294
|
in: e,
|
|
3086
3295
|
out: t,
|
|
3087
3296
|
typeName: h.ZodPipeline
|
|
@@ -3102,7 +3311,7 @@ pe.create = (r, e) => new pe({
|
|
|
3102
3311
|
typeName: h.ZodReadonly,
|
|
3103
3312
|
...v(e)
|
|
3104
3313
|
});
|
|
3105
|
-
function
|
|
3314
|
+
function it(r, e = {}, t) {
|
|
3106
3315
|
return r ? Y.create().superRefine((n, a) => {
|
|
3107
3316
|
var s, i;
|
|
3108
3317
|
if (!r(n)) {
|
|
@@ -3111,32 +3320,32 @@ function Ke(r, e = {}, t) {
|
|
|
3111
3320
|
}
|
|
3112
3321
|
}) : Y.create();
|
|
3113
3322
|
}
|
|
3114
|
-
const
|
|
3323
|
+
const Xt = {
|
|
3115
3324
|
object: w.lazycreate
|
|
3116
3325
|
};
|
|
3117
3326
|
var h;
|
|
3118
3327
|
(function(r) {
|
|
3119
3328
|
r.ZodString = "ZodString", r.ZodNumber = "ZodNumber", r.ZodNaN = "ZodNaN", r.ZodBigInt = "ZodBigInt", r.ZodBoolean = "ZodBoolean", r.ZodDate = "ZodDate", r.ZodSymbol = "ZodSymbol", r.ZodUndefined = "ZodUndefined", r.ZodNull = "ZodNull", r.ZodAny = "ZodAny", r.ZodUnknown = "ZodUnknown", r.ZodNever = "ZodNever", r.ZodVoid = "ZodVoid", r.ZodArray = "ZodArray", r.ZodObject = "ZodObject", r.ZodUnion = "ZodUnion", r.ZodDiscriminatedUnion = "ZodDiscriminatedUnion", r.ZodIntersection = "ZodIntersection", r.ZodTuple = "ZodTuple", r.ZodRecord = "ZodRecord", r.ZodMap = "ZodMap", r.ZodSet = "ZodSet", r.ZodFunction = "ZodFunction", r.ZodLazy = "ZodLazy", r.ZodLiteral = "ZodLiteral", r.ZodEnum = "ZodEnum", r.ZodEffects = "ZodEffects", r.ZodNativeEnum = "ZodNativeEnum", r.ZodOptional = "ZodOptional", r.ZodNullable = "ZodNullable", r.ZodDefault = "ZodDefault", r.ZodCatch = "ZodCatch", r.ZodPromise = "ZodPromise", r.ZodBranded = "ZodBranded", r.ZodPipeline = "ZodPipeline", r.ZodReadonly = "ZodReadonly";
|
|
3120
3329
|
})(h || (h = {}));
|
|
3121
|
-
const
|
|
3330
|
+
const Qt = (r, e = {
|
|
3122
3331
|
message: `Input not instance of ${r.name}`
|
|
3123
|
-
}) =>
|
|
3332
|
+
}) => it((t) => t instanceof r, e), ot = E.create, dt = V.create, Kt = Ne.create, er = P.create, lt = re.create, tr = F.create, rr = ke.create, nr = ne.create, ar = ae.create, sr = Y.create, ir = U.create, or = D.create, dr = Te.create, lr = Z.create, cr = w.create, ur = w.strictCreate, fr = se.create, pr = Ze.create, mr = ie.create, hr = R.create, yr = oe.create, gr = Ce.create, vr = W.create, _r = H.create, xr = de.create, br = le.create, wr = z.create, kr = ce.create, Tr = X.create, ze = S.create, Cr = I.create, Nr = B.create, Er = S.createWithPreprocess, Zr = he.create, Sr = () => ot().optional(), jr = () => dt().optional(), Ir = () => lt().optional(), Or = {
|
|
3124
3333
|
string: (r) => E.create({ ...r, coerce: !0 }),
|
|
3125
|
-
number: (r) =>
|
|
3334
|
+
number: (r) => V.create({ ...r, coerce: !0 }),
|
|
3126
3335
|
boolean: (r) => re.create({
|
|
3127
3336
|
...r,
|
|
3128
3337
|
coerce: !0
|
|
3129
3338
|
}),
|
|
3130
|
-
bigint: (r) =>
|
|
3339
|
+
bigint: (r) => P.create({ ...r, coerce: !0 }),
|
|
3131
3340
|
date: (r) => F.create({ ...r, coerce: !0 })
|
|
3132
|
-
},
|
|
3341
|
+
}, Rr = y;
|
|
3133
3342
|
var j = /* @__PURE__ */ Object.freeze({
|
|
3134
3343
|
__proto__: null,
|
|
3135
3344
|
defaultErrorMap: J,
|
|
3136
|
-
setErrorMap:
|
|
3137
|
-
getErrorMap:
|
|
3138
|
-
makeIssue:
|
|
3139
|
-
EMPTY_PATH:
|
|
3345
|
+
setErrorMap: Rt,
|
|
3346
|
+
getErrorMap: xe,
|
|
3347
|
+
makeIssue: be,
|
|
3348
|
+
EMPTY_PATH: At,
|
|
3140
3349
|
addIssueToContext: u,
|
|
3141
3350
|
ParseStatus: k,
|
|
3142
3351
|
INVALID: y,
|
|
@@ -3155,27 +3364,27 @@ var j = /* @__PURE__ */ Object.freeze({
|
|
|
3155
3364
|
ZodParsedType: f,
|
|
3156
3365
|
getParsedType: M,
|
|
3157
3366
|
ZodType: _,
|
|
3158
|
-
datetimeRegex:
|
|
3367
|
+
datetimeRegex: at,
|
|
3159
3368
|
ZodString: E,
|
|
3160
|
-
ZodNumber:
|
|
3161
|
-
ZodBigInt:
|
|
3369
|
+
ZodNumber: V,
|
|
3370
|
+
ZodBigInt: P,
|
|
3162
3371
|
ZodBoolean: re,
|
|
3163
3372
|
ZodDate: F,
|
|
3164
|
-
ZodSymbol:
|
|
3373
|
+
ZodSymbol: ke,
|
|
3165
3374
|
ZodUndefined: ne,
|
|
3166
3375
|
ZodNull: ae,
|
|
3167
3376
|
ZodAny: Y,
|
|
3168
3377
|
ZodUnknown: U,
|
|
3169
3378
|
ZodNever: D,
|
|
3170
|
-
ZodVoid:
|
|
3171
|
-
ZodArray:
|
|
3379
|
+
ZodVoid: Te,
|
|
3380
|
+
ZodArray: Z,
|
|
3172
3381
|
ZodObject: w,
|
|
3173
3382
|
ZodUnion: se,
|
|
3174
|
-
ZodDiscriminatedUnion:
|
|
3383
|
+
ZodDiscriminatedUnion: Ze,
|
|
3175
3384
|
ZodIntersection: ie,
|
|
3176
3385
|
ZodTuple: R,
|
|
3177
3386
|
ZodRecord: oe,
|
|
3178
|
-
ZodMap:
|
|
3387
|
+
ZodMap: Ce,
|
|
3179
3388
|
ZodSet: W,
|
|
3180
3389
|
ZodFunction: H,
|
|
3181
3390
|
ZodLazy: de,
|
|
@@ -3183,65 +3392,65 @@ var j = /* @__PURE__ */ Object.freeze({
|
|
|
3183
3392
|
ZodEnum: z,
|
|
3184
3393
|
ZodNativeEnum: ce,
|
|
3185
3394
|
ZodPromise: X,
|
|
3186
|
-
ZodEffects:
|
|
3187
|
-
ZodTransformer:
|
|
3188
|
-
ZodOptional:
|
|
3395
|
+
ZodEffects: S,
|
|
3396
|
+
ZodTransformer: S,
|
|
3397
|
+
ZodOptional: I,
|
|
3189
3398
|
ZodNullable: B,
|
|
3190
3399
|
ZodDefault: ue,
|
|
3191
3400
|
ZodCatch: fe,
|
|
3192
|
-
ZodNaN:
|
|
3193
|
-
BRAND:
|
|
3401
|
+
ZodNaN: Ne,
|
|
3402
|
+
BRAND: Yt,
|
|
3194
3403
|
ZodBranded: $e,
|
|
3195
|
-
ZodPipeline:
|
|
3404
|
+
ZodPipeline: he,
|
|
3196
3405
|
ZodReadonly: pe,
|
|
3197
|
-
custom:
|
|
3406
|
+
custom: it,
|
|
3198
3407
|
Schema: _,
|
|
3199
3408
|
ZodSchema: _,
|
|
3200
|
-
late:
|
|
3409
|
+
late: Xt,
|
|
3201
3410
|
get ZodFirstPartyTypeKind() {
|
|
3202
3411
|
return h;
|
|
3203
3412
|
},
|
|
3204
3413
|
coerce: Or,
|
|
3205
|
-
any:
|
|
3206
|
-
array:
|
|
3207
|
-
bigint:
|
|
3208
|
-
boolean:
|
|
3209
|
-
date:
|
|
3210
|
-
discriminatedUnion:
|
|
3414
|
+
any: sr,
|
|
3415
|
+
array: lr,
|
|
3416
|
+
bigint: er,
|
|
3417
|
+
boolean: lt,
|
|
3418
|
+
date: tr,
|
|
3419
|
+
discriminatedUnion: pr,
|
|
3211
3420
|
effect: ze,
|
|
3212
|
-
enum:
|
|
3213
|
-
function:
|
|
3214
|
-
instanceof:
|
|
3215
|
-
intersection:
|
|
3216
|
-
lazy:
|
|
3217
|
-
literal:
|
|
3218
|
-
map:
|
|
3219
|
-
nan:
|
|
3220
|
-
nativeEnum:
|
|
3221
|
-
never:
|
|
3222
|
-
null:
|
|
3223
|
-
nullable:
|
|
3224
|
-
number:
|
|
3225
|
-
object:
|
|
3226
|
-
oboolean:
|
|
3227
|
-
onumber:
|
|
3228
|
-
optional:
|
|
3421
|
+
enum: wr,
|
|
3422
|
+
function: _r,
|
|
3423
|
+
instanceof: Qt,
|
|
3424
|
+
intersection: mr,
|
|
3425
|
+
lazy: xr,
|
|
3426
|
+
literal: br,
|
|
3427
|
+
map: gr,
|
|
3428
|
+
nan: Kt,
|
|
3429
|
+
nativeEnum: kr,
|
|
3430
|
+
never: or,
|
|
3431
|
+
null: ar,
|
|
3432
|
+
nullable: Nr,
|
|
3433
|
+
number: dt,
|
|
3434
|
+
object: cr,
|
|
3435
|
+
oboolean: Ir,
|
|
3436
|
+
onumber: jr,
|
|
3437
|
+
optional: Cr,
|
|
3229
3438
|
ostring: Sr,
|
|
3230
|
-
pipeline:
|
|
3231
|
-
preprocess:
|
|
3232
|
-
promise:
|
|
3233
|
-
record:
|
|
3234
|
-
set:
|
|
3235
|
-
strictObject:
|
|
3236
|
-
string:
|
|
3237
|
-
symbol:
|
|
3439
|
+
pipeline: Zr,
|
|
3440
|
+
preprocess: Er,
|
|
3441
|
+
promise: Tr,
|
|
3442
|
+
record: yr,
|
|
3443
|
+
set: vr,
|
|
3444
|
+
strictObject: ur,
|
|
3445
|
+
string: ot,
|
|
3446
|
+
symbol: rr,
|
|
3238
3447
|
transformer: ze,
|
|
3239
|
-
tuple:
|
|
3240
|
-
undefined:
|
|
3241
|
-
union:
|
|
3242
|
-
unknown:
|
|
3243
|
-
void:
|
|
3244
|
-
NEVER:
|
|
3448
|
+
tuple: hr,
|
|
3449
|
+
undefined: nr,
|
|
3450
|
+
union: fr,
|
|
3451
|
+
unknown: ir,
|
|
3452
|
+
void: dr,
|
|
3453
|
+
NEVER: Rr,
|
|
3245
3454
|
ZodIssueCode: d,
|
|
3246
3455
|
quotelessJson: Ot,
|
|
3247
3456
|
ZodError: N
|
|
@@ -3253,8 +3462,8 @@ const Be = (r) => {
|
|
|
3253
3462
|
name: n,
|
|
3254
3463
|
patronymic: s
|
|
3255
3464
|
};
|
|
3256
|
-
},
|
|
3257
|
-
|
|
3465
|
+
}, Xr = j.string({ invalid_type_error: "Обязательно к заполнению", required_error: "Обязательно к заполнению" }).superRefine((r, e) => {
|
|
3466
|
+
jt.test(r) || e.addIssue({
|
|
3258
3467
|
code: j.ZodIssueCode.custom,
|
|
3259
3468
|
message: "Должна быть только кириллица"
|
|
3260
3469
|
});
|
|
@@ -3262,13 +3471,13 @@ const Be = (r) => {
|
|
|
3262
3471
|
(!t || !n) && e.addIssue({
|
|
3263
3472
|
code: j.ZodIssueCode.custom,
|
|
3264
3473
|
message: "Введите имя и фамилию"
|
|
3265
|
-
}),
|
|
3474
|
+
}), Ve.test(n) || e.addIssue({
|
|
3266
3475
|
code: j.ZodIssueCode.custom,
|
|
3267
3476
|
message: "Неверно введено имя"
|
|
3268
|
-
}),
|
|
3477
|
+
}), Ve.test(t) || e.addIssue({
|
|
3269
3478
|
code: j.ZodIssueCode.custom,
|
|
3270
3479
|
message: "Неверно введена фамилия"
|
|
3271
|
-
}), a && (
|
|
3480
|
+
}), a && (It.test(a) || e.addIssue({
|
|
3272
3481
|
code: j.ZodIssueCode.custom,
|
|
3273
3482
|
message: "Неверно введено отчество"
|
|
3274
3483
|
}));
|
|
@@ -3279,7 +3488,7 @@ const Be = (r) => {
|
|
|
3279
3488
|
name: je(t),
|
|
3280
3489
|
patronymic: n ? je(n) : void 0
|
|
3281
3490
|
};
|
|
3282
|
-
}),
|
|
3491
|
+
}), Qr = j.string().length(10, { message: ge.INVALID_DATE }).superRefine((r, e) => {
|
|
3283
3492
|
const [t, n, a] = (r == null ? void 0 : r.split(".")) ?? "", s = Fe(`${t}/${n}/${a}`, "dd/MM/yyyy", /* @__PURE__ */ new Date());
|
|
3284
3493
|
+a <= 1950 && e.addIssue({
|
|
3285
3494
|
code: j.ZodIssueCode.custom,
|
|
@@ -3291,206 +3500,7 @@ const Be = (r) => {
|
|
|
3291
3500
|
code: j.ZodIssueCode.custom,
|
|
3292
3501
|
message: ge.FUTURE_DATE_NOT_ALLOWED
|
|
3293
3502
|
});
|
|
3294
|
-
})
|
|
3295
|
-
transparent: "transparent",
|
|
3296
|
-
current: "currentColor",
|
|
3297
|
-
inherit: "inherit",
|
|
3298
|
-
initial: "initial"
|
|
3299
|
-
}, Ce = {
|
|
3300
|
-
"blue-grey-100": "#f3f4f7",
|
|
3301
|
-
"blue-grey-200": "#eaedf1",
|
|
3302
|
-
"blue-grey-300": "#d4dbe2",
|
|
3303
|
-
"blue-grey-500": "#a9b6c5",
|
|
3304
|
-
footer: "#40465a",
|
|
3305
|
-
negative: "#f42500",
|
|
3306
|
-
"negative-light": "#ffd2ca",
|
|
3307
|
-
positive: "#76bc21",
|
|
3308
|
-
"positive-light": "#e4f6ce",
|
|
3309
|
-
"primary-default": "#003790",
|
|
3310
|
-
"primary-focus": "#2477ff",
|
|
3311
|
-
"primary-hover": "#042e73",
|
|
3312
|
-
"primary-light-default": "#f0f4f9",
|
|
3313
|
-
"primary-tr-focus": "#0037901f",
|
|
3314
|
-
"primary-tr-hover": "#00379014",
|
|
3315
|
-
"primary-tr-pressed": "#00379033",
|
|
3316
|
-
"secondary-default": "#fc5055",
|
|
3317
|
-
"secondary-hover": "#f12f34",
|
|
3318
|
-
warning: "#f49f00",
|
|
3319
|
-
"warning-light": "#ffeecc",
|
|
3320
|
-
white: "#ffffff",
|
|
3321
|
-
"primary-disabled": "#809bc7",
|
|
3322
|
-
"secondary-disabled": "#FFB7BF",
|
|
3323
|
-
dark: "#000000",
|
|
3324
|
-
purple: "#5f40bd",
|
|
3325
|
-
"purple-hover": "#52399d",
|
|
3326
|
-
overlay: "#0000004d",
|
|
3327
|
-
...he
|
|
3328
|
-
}, nt = {
|
|
3329
|
-
dark: "#292929",
|
|
3330
|
-
disabled: "#a9b6c5",
|
|
3331
|
-
footer: "#c3c3c3",
|
|
3332
|
-
negative: "#f42500",
|
|
3333
|
-
positive: "#76bc21",
|
|
3334
|
-
"primary-default": "#003790",
|
|
3335
|
-
"primary-hover": "#042e73",
|
|
3336
|
-
secondary: "#40465a",
|
|
3337
|
-
tetriary: "#5a6e85",
|
|
3338
|
-
warning: "#f49f00",
|
|
3339
|
-
white: "#ffffff",
|
|
3340
|
-
"primary-disabled": "#809bc7",
|
|
3341
|
-
"blue-grey-600": "#94a4b7",
|
|
3342
|
-
...he
|
|
3343
|
-
}, at = {
|
|
3344
|
-
"barvcray-200": "#ebeef4",
|
|
3345
|
-
"barvcray-300": "#dde1e8",
|
|
3346
|
-
"greymint-200": "#deecee",
|
|
3347
|
-
"lavender-100": "#f7f7ff",
|
|
3348
|
-
"lavender-200": "#ecedfa",
|
|
3349
|
-
"lavender-300": "#d0d3f1",
|
|
3350
|
-
"lightblue-300": "#bed3ec",
|
|
3351
|
-
"mint-200": "#e4f5ed",
|
|
3352
|
-
"salmon-200": "#faecec",
|
|
3353
|
-
"skyblue-100": "#f4f8fe",
|
|
3354
|
-
"skyblue-200": "#e7f3ff",
|
|
3355
|
-
"skyblue-300": "#d9edff",
|
|
3356
|
-
...he
|
|
3357
|
-
}, $ = {
|
|
3358
|
-
"accent-default": "#2477ff",
|
|
3359
|
-
"accent-hover": "#0053da",
|
|
3360
|
-
"blue-grey-100": "#f3f4f7",
|
|
3361
|
-
"blue-grey-600": "#94a4b7",
|
|
3362
|
-
"blue-grey-700": "#69809a",
|
|
3363
|
-
"blue-grey-800": "#5a6e85",
|
|
3364
|
-
"dark-default": "#292929",
|
|
3365
|
-
"dark-hover": "#535353",
|
|
3366
|
-
disabled: "#a9b6c5",
|
|
3367
|
-
"negative-default": "#f42500",
|
|
3368
|
-
"negative-hover": "#c31e00",
|
|
3369
|
-
"positive-default": "#76bc21",
|
|
3370
|
-
"positive-hover": "#598d19",
|
|
3371
|
-
"primary-default": "#003790",
|
|
3372
|
-
"primary-hover": "#042e73",
|
|
3373
|
-
"secondary-dark-default": "#f12f34",
|
|
3374
|
-
"secondary-dark-hover": "#c40309",
|
|
3375
|
-
"secondary-default": "#fc5055",
|
|
3376
|
-
"secondary-hover": "#f12f34",
|
|
3377
|
-
"warning-default": "#f49f00",
|
|
3378
|
-
"warning-hover": "#d68b00",
|
|
3379
|
-
white: "#ffffff",
|
|
3380
|
-
"primary-disabled": "#809bc7",
|
|
3381
|
-
footer: "#C3C3C3",
|
|
3382
|
-
...he
|
|
3383
|
-
}, Ne = {
|
|
3384
|
-
"blue-grey-500": "#a9b6c5",
|
|
3385
|
-
"blue-grey-700": "#69809a",
|
|
3386
|
-
"blue-grey-800": "#5a6e85",
|
|
3387
|
-
dark: "#292929",
|
|
3388
|
-
negative: "#f42500",
|
|
3389
|
-
positive: "#76bc21",
|
|
3390
|
-
"primary-default": "#003790",
|
|
3391
|
-
"primary-focus": "#2477ff",
|
|
3392
|
-
"primary-hover": "#042e73",
|
|
3393
|
-
"primary-light": "#f0f4f9",
|
|
3394
|
-
"secondary-default": "#fc5055",
|
|
3395
|
-
"secondary-hover": "#f12f34",
|
|
3396
|
-
"warm-grey-200": "#e4e4e4",
|
|
3397
|
-
"warm-grey-300": "#c3c3c3",
|
|
3398
|
-
warning: "#f49f00",
|
|
3399
|
-
white: "#ffffff",
|
|
3400
|
-
"primary-disabled": "#809bc7",
|
|
3401
|
-
...he
|
|
3402
|
-
}, st = {
|
|
3403
|
-
none: "0",
|
|
3404
|
-
sm: "4px",
|
|
3405
|
-
md: "8px",
|
|
3406
|
-
lg: "16px",
|
|
3407
|
-
full: "9999px"
|
|
3408
|
-
}, it = {
|
|
3409
|
-
30: "30deg",
|
|
3410
|
-
45: "45deg",
|
|
3411
|
-
80: "80deg",
|
|
3412
|
-
90: "90deg",
|
|
3413
|
-
110: "110deg",
|
|
3414
|
-
180: "180deg"
|
|
3415
|
-
}, ot = {
|
|
3416
|
-
12: "12px",
|
|
3417
|
-
14: "14px",
|
|
3418
|
-
16: "16px",
|
|
3419
|
-
18: "18px",
|
|
3420
|
-
20: "20px",
|
|
3421
|
-
24: "24px",
|
|
3422
|
-
28: "28px",
|
|
3423
|
-
32: "32px",
|
|
3424
|
-
40: "40px"
|
|
3425
|
-
}, dt = {
|
|
3426
|
-
16: "16px",
|
|
3427
|
-
20: "20px",
|
|
3428
|
-
22: "22px",
|
|
3429
|
-
24: "24px",
|
|
3430
|
-
30: "30px",
|
|
3431
|
-
32: "32px",
|
|
3432
|
-
40: "40px",
|
|
3433
|
-
48: "48px"
|
|
3434
|
-
}, lt = {
|
|
3435
|
-
/* # Headline */
|
|
3436
|
-
".mob-headline-bold-m": {
|
|
3437
|
-
"@apply font-bold text-28 leading-32": ""
|
|
3438
|
-
},
|
|
3439
|
-
".mob-headline-bold-s": {
|
|
3440
|
-
"@apply font-bold text-24 leading-30": ""
|
|
3441
|
-
},
|
|
3442
|
-
/* # Title */
|
|
3443
|
-
".mob-title-bold-l": {
|
|
3444
|
-
"@apply font-bold text-20 leading-24": ""
|
|
3445
|
-
},
|
|
3446
|
-
".mob-title-bold-m": {
|
|
3447
|
-
"@apply font-bold text-18 leading-22": ""
|
|
3448
|
-
},
|
|
3449
|
-
/* # Body */
|
|
3450
|
-
".mob-body-medium-l": {
|
|
3451
|
-
"@apply font-medium text-16 leading-22": ""
|
|
3452
|
-
},
|
|
3453
|
-
".mob-body-regular-l": {
|
|
3454
|
-
"@apply font-normal text-16 leading-22": ""
|
|
3455
|
-
},
|
|
3456
|
-
".mob-body-medium-m": {
|
|
3457
|
-
"@apply font-medium text-14 leading-20": ""
|
|
3458
|
-
},
|
|
3459
|
-
".mob-body-regular-m": {
|
|
3460
|
-
"@apply font-normal text-14 leading-20": ""
|
|
3461
|
-
},
|
|
3462
|
-
".mob-body-regular-s": {
|
|
3463
|
-
"@apply font-normal text-12 leading-20": ""
|
|
3464
|
-
},
|
|
3465
|
-
/* -------- Desktop Typography -------- */
|
|
3466
|
-
/* # Headline */
|
|
3467
|
-
".desk-headline-bold-l": {
|
|
3468
|
-
"@apply font-bold text-40 leading-48": ""
|
|
3469
|
-
},
|
|
3470
|
-
".desk-headline-bold-m": {
|
|
3471
|
-
"@apply font-bold text-32 leading-40": ""
|
|
3472
|
-
},
|
|
3473
|
-
/* # Title */
|
|
3474
|
-
".desk-title-bold-l": {
|
|
3475
|
-
"@apply font-bold text-24 leading-30": ""
|
|
3476
|
-
},
|
|
3477
|
-
".desk-title-bold-s": {
|
|
3478
|
-
"@apply font-bold text-18 leading-22": ""
|
|
3479
|
-
},
|
|
3480
|
-
/* # Body */
|
|
3481
|
-
".desk-body-medium-l": {
|
|
3482
|
-
"@apply font-medium text-16 leading-22": ""
|
|
3483
|
-
},
|
|
3484
|
-
".desk-body-regular-l": {
|
|
3485
|
-
"@apply font-normal text-16 leading-22": ""
|
|
3486
|
-
},
|
|
3487
|
-
".desk-body-regular-m": {
|
|
3488
|
-
"@apply font-normal text-14 leading-20": ""
|
|
3489
|
-
},
|
|
3490
|
-
".desk-body-regular-s": {
|
|
3491
|
-
"@apply font-normal text-12 leading-16": ""
|
|
3492
|
-
}
|
|
3493
|
-
};
|
|
3503
|
+
});
|
|
3494
3504
|
var ct = {}, ut = {};
|
|
3495
3505
|
(function(r) {
|
|
3496
3506
|
Object.defineProperty(r, "__esModule", {
|
|
@@ -3536,15 +3546,15 @@ var ct = {}, ut = {};
|
|
|
3536
3546
|
}
|
|
3537
3547
|
const n = e.default;
|
|
3538
3548
|
})(ct);
|
|
3539
|
-
let
|
|
3540
|
-
var ft = (
|
|
3541
|
-
const Ee = /* @__PURE__ */ We(ft),
|
|
3549
|
+
let Oe = ct;
|
|
3550
|
+
var ft = (Oe.__esModule ? Oe : { default: Oe }).default;
|
|
3551
|
+
const Ee = /* @__PURE__ */ We(ft), Ar = ft;
|
|
3542
3552
|
function Ue(r) {
|
|
3543
3553
|
return Object.fromEntries(
|
|
3544
3554
|
Object.entries(r).filter(([e]) => e !== "DEFAULT")
|
|
3545
3555
|
);
|
|
3546
3556
|
}
|
|
3547
|
-
var
|
|
3557
|
+
var Dr = Ar(
|
|
3548
3558
|
({ addUtilities: r, matchUtilities: e, theme: t }) => {
|
|
3549
3559
|
r({
|
|
3550
3560
|
"@keyframes enter": t("keyframes.enter"),
|
|
@@ -3700,37 +3710,37 @@ var Ar = Rr(
|
|
|
3700
3710
|
}
|
|
3701
3711
|
}
|
|
3702
3712
|
);
|
|
3703
|
-
const pt = /* @__PURE__ */ We(
|
|
3713
|
+
const pt = /* @__PURE__ */ We(Dr), Kr = {
|
|
3704
3714
|
theme: {
|
|
3705
3715
|
screens: {
|
|
3706
3716
|
mobile: { max: "1187px" },
|
|
3707
3717
|
desktop: "1188px"
|
|
3708
3718
|
},
|
|
3709
3719
|
backgroundColor: {
|
|
3710
|
-
color:
|
|
3711
|
-
banner:
|
|
3720
|
+
color: ve,
|
|
3721
|
+
banner: He,
|
|
3712
3722
|
icon: $
|
|
3713
3723
|
},
|
|
3714
3724
|
textColor: {
|
|
3715
3725
|
icon: $,
|
|
3716
|
-
color:
|
|
3726
|
+
color: Ge
|
|
3717
3727
|
},
|
|
3718
3728
|
fill: $,
|
|
3719
3729
|
stroke: $,
|
|
3720
|
-
borderColor:
|
|
3721
|
-
outlineColor:
|
|
3722
|
-
borderRadius:
|
|
3730
|
+
borderColor: _e,
|
|
3731
|
+
outlineColor: _e,
|
|
3732
|
+
borderRadius: Je,
|
|
3723
3733
|
fontFamily: { roboto: ["var(--ff-roboto)", "sans-serif"] },
|
|
3724
|
-
fontSize:
|
|
3725
|
-
lineHeight:
|
|
3726
|
-
gradientColorStops:
|
|
3734
|
+
fontSize: Xe,
|
|
3735
|
+
lineHeight: Qe,
|
|
3736
|
+
gradientColorStops: ve,
|
|
3727
3737
|
boxShadow: {
|
|
3728
3738
|
sm: "0 8px 20px 0 rgba(0, 0, 0, 0.08)",
|
|
3729
3739
|
md: "0 12px 20px 0 rgba(0, 33, 87, 0.10)",
|
|
3730
3740
|
lg: "0 16px 24px 0 rgba(0, 33, 87, 0.16)"
|
|
3731
3741
|
},
|
|
3732
3742
|
extend: {
|
|
3733
|
-
bgGradientDeg:
|
|
3743
|
+
bgGradientDeg: Ye,
|
|
3734
3744
|
width: {
|
|
3735
3745
|
"popper-content": "var(--radix-popover-content-available-width)",
|
|
3736
3746
|
"popper-trigger": "var(--radix-popover-trigger-width)",
|
|
@@ -3777,7 +3787,7 @@ const pt = /* @__PURE__ */ We(Ar), Qr = {
|
|
|
3777
3787
|
// eslint-disable-next-line global-require
|
|
3778
3788
|
pt,
|
|
3779
3789
|
Ee(({ addComponents: r }) => {
|
|
3780
|
-
r(
|
|
3790
|
+
r(Ke);
|
|
3781
3791
|
}),
|
|
3782
3792
|
Ee(function({ matchUtilities: r, theme: e }) {
|
|
3783
3793
|
r(
|
|
@@ -3792,7 +3802,7 @@ const pt = /* @__PURE__ */ We(Ar), Qr = {
|
|
|
3792
3802
|
);
|
|
3793
3803
|
})
|
|
3794
3804
|
]
|
|
3795
|
-
},
|
|
3805
|
+
}, en = {
|
|
3796
3806
|
theme: {
|
|
3797
3807
|
extend: {
|
|
3798
3808
|
transitionDuration: {
|
|
@@ -3832,44 +3842,44 @@ const pt = /* @__PURE__ */ We(Ar), Qr = {
|
|
|
3832
3842
|
}
|
|
3833
3843
|
}
|
|
3834
3844
|
}
|
|
3835
|
-
},
|
|
3845
|
+
}, tn = {
|
|
3836
3846
|
theme: {
|
|
3837
3847
|
screens: {
|
|
3838
3848
|
mobile: { max: "1187px" },
|
|
3839
3849
|
desktop: "1188px"
|
|
3840
3850
|
},
|
|
3841
3851
|
backgroundColor: {
|
|
3842
|
-
color:
|
|
3843
|
-
banner:
|
|
3852
|
+
color: ve,
|
|
3853
|
+
banner: He,
|
|
3844
3854
|
icon: $
|
|
3845
3855
|
},
|
|
3846
3856
|
textColor: {
|
|
3847
3857
|
icon: $,
|
|
3848
|
-
color:
|
|
3858
|
+
color: Ge
|
|
3849
3859
|
},
|
|
3850
3860
|
fill: $,
|
|
3851
3861
|
stroke: $,
|
|
3852
|
-
borderColor:
|
|
3853
|
-
outlineColor:
|
|
3854
|
-
borderRadius:
|
|
3862
|
+
borderColor: _e,
|
|
3863
|
+
outlineColor: _e,
|
|
3864
|
+
borderRadius: Je,
|
|
3855
3865
|
fontFamily: { roboto: ["var(--ff-roboto)", "sans-serif"] },
|
|
3856
|
-
fontSize:
|
|
3857
|
-
lineHeight:
|
|
3858
|
-
gradientColorStops:
|
|
3866
|
+
fontSize: Xe,
|
|
3867
|
+
lineHeight: Qe,
|
|
3868
|
+
gradientColorStops: ve,
|
|
3859
3869
|
boxShadow: {
|
|
3860
3870
|
sm: "0 8px 20px 0 rgba(0, 0, 0, 0.08)",
|
|
3861
3871
|
md: "0 12px 20px 0 rgba(0, 33, 87, 0.10)",
|
|
3862
3872
|
lg: "0 16px 24px 0 rgba(0, 33, 87, 0.16)"
|
|
3863
3873
|
},
|
|
3874
|
+
zIndex: St,
|
|
3864
3875
|
extend: {
|
|
3865
|
-
bgGradientDeg:
|
|
3876
|
+
bgGradientDeg: Ye
|
|
3866
3877
|
}
|
|
3867
3878
|
},
|
|
3868
3879
|
plugins: [
|
|
3869
|
-
// eslint-disable-next-line global-require
|
|
3870
3880
|
pt,
|
|
3871
3881
|
Ee(({ addComponents: r }) => {
|
|
3872
|
-
r(
|
|
3882
|
+
r(Ke);
|
|
3873
3883
|
}),
|
|
3874
3884
|
Ee(function({ matchUtilities: r, theme: e }) {
|
|
3875
3885
|
r(
|
|
@@ -3886,47 +3896,48 @@ const pt = /* @__PURE__ */ We(Ar), Qr = {
|
|
|
3886
3896
|
]
|
|
3887
3897
|
};
|
|
3888
3898
|
export {
|
|
3889
|
-
|
|
3890
|
-
|
|
3891
|
-
|
|
3892
|
-
|
|
3893
|
-
|
|
3894
|
-
|
|
3895
|
-
|
|
3896
|
-
|
|
3899
|
+
an as Badge,
|
|
3900
|
+
Ur as Breadcrumbs,
|
|
3901
|
+
Fr as Button,
|
|
3902
|
+
Wr as ButtonIcon,
|
|
3903
|
+
qr as CustomLink,
|
|
3904
|
+
sn as DADATA_BASE_CACHE_URL,
|
|
3905
|
+
on as DADATA_BASE_CONSTANTS_URL,
|
|
3906
|
+
Gr as Document,
|
|
3897
3907
|
mt as Heading,
|
|
3898
3908
|
Me as Icon,
|
|
3899
3909
|
ht as Loader,
|
|
3900
|
-
|
|
3901
|
-
Hr as
|
|
3910
|
+
dn as Notification,
|
|
3911
|
+
Hr as PhoneView,
|
|
3912
|
+
Jr as ProgressBar,
|
|
3902
3913
|
gt as ResponsiveContainer,
|
|
3903
|
-
|
|
3904
|
-
|
|
3905
|
-
|
|
3906
|
-
|
|
3907
|
-
|
|
3908
|
-
|
|
3909
|
-
zr as Table,
|
|
3914
|
+
Ve as RgxCheckForHyphen,
|
|
3915
|
+
It as RgxPatronymic,
|
|
3916
|
+
jt as RgxUnicode,
|
|
3917
|
+
zr as Section,
|
|
3918
|
+
Yr as Skeleton,
|
|
3919
|
+
Br as Table,
|
|
3910
3920
|
ge as VALIDATION_MESSAGES,
|
|
3911
|
-
|
|
3912
|
-
|
|
3913
|
-
|
|
3914
|
-
|
|
3915
|
-
|
|
3921
|
+
ve as allowedBackgroundColors,
|
|
3922
|
+
Ye as allowedBackgroundDeg,
|
|
3923
|
+
He as allowedBannersBackgroundColors,
|
|
3924
|
+
Je as allowedBorderRadius,
|
|
3925
|
+
Xe as allowedFontSize,
|
|
3916
3926
|
$ as allowedIconsColors,
|
|
3917
|
-
|
|
3918
|
-
|
|
3919
|
-
|
|
3920
|
-
|
|
3927
|
+
Qe as allowedLineHeight,
|
|
3928
|
+
_e as allowedStrokeColors,
|
|
3929
|
+
Ge as allowedTextColors,
|
|
3930
|
+
Ke as allowedTextStyles,
|
|
3931
|
+
St as allowedZIndex,
|
|
3921
3932
|
je as capitalize,
|
|
3922
3933
|
x as cn,
|
|
3923
|
-
|
|
3924
|
-
|
|
3934
|
+
$r as deepCompare,
|
|
3935
|
+
en as extendsPreset,
|
|
3925
3936
|
Pr as formatToDate,
|
|
3926
|
-
|
|
3927
|
-
|
|
3928
|
-
|
|
3929
|
-
|
|
3930
|
-
|
|
3937
|
+
Vr as isClient,
|
|
3938
|
+
tn as resetPreset,
|
|
3939
|
+
Kr as tailwindConfigBase,
|
|
3940
|
+
Qr as zodCalendarValidate,
|
|
3941
|
+
Xr as zodDadataFioValidate
|
|
3931
3942
|
};
|
|
3932
3943
|
//# sourceMappingURL=hybrid.js.map
|