md-components-mdigial-azamat 0.0.82 → 0.0.85
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/ActionIconList/ActionIconList.js +2 -1
- package/dist/AllComponents.js +5 -3
- package/dist/AllComponentsInfo.js +1 -1
- package/dist/Cards/WarningCard/WarningCard.js +5 -3
- package/dist/Cards/WarningCard/index.js +1 -1
- package/dist/Cards/WarningCard/info.js +1 -1
- package/dist/Forms/FormDefault/index.js +1 -1
- package/dist/Forms/FormDefault/info.js +7 -5
- package/dist/Forms/helpers/renderFormFields.js +1 -1
- package/dist/Forms/model/components.js +4 -3
- package/dist/ModalBody/index.js +126 -0
- package/dist/PageViewer/renderComponents.js +1 -1
- package/dist/RenderAllComponents/RenderAllComponents.js +1 -1
- package/dist/assets/index.css +1 -1
- package/dist/{componentsMap-5b44ddfd.js → componentsMap-9e7decf2.js} +1 -1
- package/dist/index-869896ab.js +19571 -0
- package/dist/{info-a3b95669.js → info-af79abc0.js} +184 -183
- package/dist/main.js +59 -57
- package/package.json +1 -1
|
@@ -1,67 +1,68 @@
|
|
|
1
1
|
import { C as U } from "./index-0a5f313c.js";
|
|
2
2
|
import { jsx as t, jsxs as i, Fragment as K } from "react/jsx-runtime";
|
|
3
|
-
import { warningCardVariant as
|
|
3
|
+
import { warningCardVariant as ue, WarningCardVariant as O, WarningCardVariantKey as fe } from "./Cards/WarningCard/model.js";
|
|
4
4
|
import "./ConfigProvider/index.js";
|
|
5
|
-
import { Banner as
|
|
5
|
+
import { Banner as he } from "./Banner/Banner.js";
|
|
6
6
|
import "./BannerAndText/index.js";
|
|
7
|
-
import { forwardRef as P, useState as I, useMemo as R, useEffect as
|
|
7
|
+
import { forwardRef as P, useState as I, useMemo as R, useEffect as ge, useRef as xe, useImperativeHandle as J, useCallback as be } from "react";
|
|
8
8
|
import { c as x } from "./cn-6a4bf187.js";
|
|
9
9
|
import "./Faq/components/Collapse/Collapse.js";
|
|
10
10
|
import "./Header/components/HeaderTabsMobile/HeaderTabsMobile.js";
|
|
11
|
-
import { HtmlContent as
|
|
11
|
+
import { HtmlContent as ye } from "./HtmlContent/HtmlContent.js";
|
|
12
12
|
import "./Header/components/TabsOutlined/TabsOutlined.js";
|
|
13
13
|
import { B as E } from "./index-875e92ce.js";
|
|
14
|
-
import { B as
|
|
15
|
-
import { Stepper as
|
|
16
|
-
import { Segments as
|
|
17
|
-
import { VideoFull as
|
|
18
|
-
import { VideoList as
|
|
19
|
-
import { VideoListMini as
|
|
20
|
-
import { ContentCardList as
|
|
21
|
-
import { CardIconList as
|
|
22
|
-
import { MultiCards as
|
|
23
|
-
import { Partners as
|
|
24
|
-
import { CardImageList as
|
|
25
|
-
import { MainBanner as
|
|
26
|
-
import { Faq as
|
|
27
|
-
import { InstructionList as
|
|
14
|
+
import { B as we, a as ve, b as ke } from "./const-53dff524.js";
|
|
15
|
+
import { Stepper as Ce } from "./Stepper/Stepper.js";
|
|
16
|
+
import { Segments as De } from "./Segments/Segments.js";
|
|
17
|
+
import { VideoFull as Ne } from "./Video/VideoFull/VideoFull.js";
|
|
18
|
+
import { VideoList as Le } from "./Video/VideoList/VideoList.js";
|
|
19
|
+
import { VideoListMini as _e } from "./Video/VideoListMini/VideoListMini.js";
|
|
20
|
+
import { ContentCardList as Be } from "./ContentCardList/ContentCardList.js";
|
|
21
|
+
import { CardIconList as Se } from "./CardIconList/CardIconList.js";
|
|
22
|
+
import { MultiCards as Fe } from "./MultiCards/index.js";
|
|
23
|
+
import { Partners as Me } from "./Partners/Partners.js";
|
|
24
|
+
import { CardImageList as Ve } from "./CardImageList/CardImageList.js";
|
|
25
|
+
import { MainBanner as Ie } from "./MainBanner/MainBanner.js";
|
|
26
|
+
import { Faq as He } from "./Faq/Faq.js";
|
|
27
|
+
import { InstructionList as Te } from "./InstructionList/InstructionList.js";
|
|
28
28
|
import "./HeroPossibilityBanner/index.js";
|
|
29
|
-
import { PartnersColors as
|
|
30
|
-
import { PreviewList as
|
|
29
|
+
import { PartnersColors as Pe } from "./PartnersColors/PartnersColors.js";
|
|
30
|
+
import { PreviewList as Ge } from "./PreviewList/PreviewList.js";
|
|
31
31
|
import "./Cards/CardImage/CardImage.js";
|
|
32
32
|
import "./Cards/ContentCard/ContentCard.js";
|
|
33
33
|
import "./Cards/ColoredCard/index.js";
|
|
34
34
|
import "./Cards/FeaturesCard/index.js";
|
|
35
|
-
import { DownloadFileBanner as
|
|
36
|
-
import { DownloadFileFull as
|
|
37
|
-
import { DownloadFileHalf as
|
|
38
|
-
import { DownloadFileMini as
|
|
35
|
+
import { DownloadFileBanner as We } from "./DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js";
|
|
36
|
+
import { DownloadFileFull as je } from "./DownloadFile/components/DownloadFileFull/DownloadFileFull.js";
|
|
37
|
+
import { DownloadFileHalf as Oe } from "./DownloadFile/components/DownloadFileHalf/DownloadFileHalf.js";
|
|
38
|
+
import { DownloadFileMini as Ze } from "./DownloadFile/components/DownloadFileMini/DownloadFileMini.js";
|
|
39
39
|
import "./InstructionList/components/InstructionCard/InstructionCard.js";
|
|
40
40
|
import "./PreviewList/components/PreviewCard/PreviewCard.js";
|
|
41
|
-
import
|
|
41
|
+
import Re from "./AnimatedSwiper/index.js";
|
|
42
42
|
import "./CardImageSecondary/CardImageSecondary.js";
|
|
43
|
-
import { CardImageSecondaryList as
|
|
44
|
-
import { CardInfoTable as
|
|
45
|
-
import { DownloadFileBright as
|
|
43
|
+
import { CardImageSecondaryList as $e } from "./CardImageSecondaryList/CardImageSecondaryList.js";
|
|
44
|
+
import { CardInfoTable as Ae } from "./CardInfoTable/index.js";
|
|
45
|
+
import { DownloadFileBright as Ee } from "./DownloadFile/components/DownloadFileBright/index.js";
|
|
46
46
|
import "./DownloadFile/components/FileBannerSecondary/FileBannerSecondary.js";
|
|
47
|
-
import { C as
|
|
47
|
+
import { C as Xe, u as qe } from "./index-a0ed2e4a.js";
|
|
48
48
|
import { C as ee } from "./ComponentContainer-05e27e82.js";
|
|
49
|
-
import { u as
|
|
50
|
-
import
|
|
49
|
+
import { u as ze } from "./useScreenSize-c1b64c02.js";
|
|
50
|
+
import Ye from "./FileLoader/index.js";
|
|
51
51
|
import { u as X } from "./useClickOutside-197b0df2.js";
|
|
52
|
-
import { TitleBlock as
|
|
52
|
+
import { TitleBlock as Ke } from "./TitleBlock/TitleBlock.js";
|
|
53
53
|
import "./InfoBanner/index.js";
|
|
54
|
-
import { InfoBannerList as
|
|
55
|
-
import { IntroBanner as
|
|
56
|
-
import { PromoPoster as
|
|
57
|
-
import { Space as
|
|
58
|
-
import { StandartTable as
|
|
59
|
-
import { SwiperList as
|
|
54
|
+
import { InfoBannerList as Qe } from "./InfoBannerList/InfoBannerList.js";
|
|
55
|
+
import { IntroBanner as Ue } from "./IntroBanner/IntroBanner.js";
|
|
56
|
+
import { PromoPoster as Je } from "./PromoPoster/PromoPoster.js";
|
|
57
|
+
import { Space as et } from "./Space/Space.js";
|
|
58
|
+
import { StandartTable as tt } from "./StandartTable/index.js";
|
|
59
|
+
import { SwiperList as rt } from "./SwiperList/SwiperList.js";
|
|
60
60
|
import "./TasksBanner/TasksBanner.js";
|
|
61
|
-
import { TasksBannerList as
|
|
62
|
-
import { VideoMainBanner as
|
|
63
|
-
import { M as
|
|
64
|
-
import { DataTypesEnum as
|
|
61
|
+
import { TasksBannerList as ot } from "./TasksBannerList/TasksBannerList.js";
|
|
62
|
+
import { VideoMainBanner as at } from "./VideoMainBanner/VideoMainBanner.js";
|
|
63
|
+
import { M as nt, B as st, C as it, S as lt, b as ct, V as dt, c as pt, d as mt, e as ut, f as ft, g as ht, P as gt, h as xt, W as bt, F as yt, k as wt, D as vt, l as kt, m as Ct, I as Dt, o as Nt, p as Lt, A as _t, q as Bt, T as St, r as Ft, E as Mt, s as Vt, t as It, u as Ht, v as Tt, w as Pt, x as Gt } from "./data.mock-9071e4ea.js";
|
|
64
|
+
import { DataTypesEnum as Wt, FieldTypes as j } from "./Types/FiledTypes.js";
|
|
65
|
+
import "./index-869896ab.js";
|
|
65
66
|
import "./AnimatedSwiper/info.js";
|
|
66
67
|
import "./Banner/info.js";
|
|
67
68
|
import "./BannerAndText/info.js";
|
|
@@ -106,24 +107,24 @@ import "./Video/VideoList/info.js";
|
|
|
106
107
|
import "./Video/VideoListMini/info.js";
|
|
107
108
|
import "./VideoMainBanner/info.js";
|
|
108
109
|
import "./Actions/types.js";
|
|
109
|
-
import { componentTypes as
|
|
110
|
-
import { Header as
|
|
111
|
-
import { Footer as
|
|
112
|
-
import { I as
|
|
110
|
+
import { componentTypes as jt } from "./Forms/FormDefault/componentTypes.js";
|
|
111
|
+
import { Header as Ot } from "./Header/Header.js";
|
|
112
|
+
import { Footer as Zt } from "./Footer/Footer.js";
|
|
113
|
+
import { I as Rt } from "./Icon-70ea6cb8.js";
|
|
113
114
|
const te = [
|
|
114
115
|
"title",
|
|
115
116
|
"title_color",
|
|
116
117
|
"description",
|
|
117
118
|
"description_color",
|
|
118
119
|
"html_content",
|
|
119
|
-
|
|
120
|
-
|
|
120
|
+
we,
|
|
121
|
+
ue
|
|
121
122
|
], q = ({
|
|
122
123
|
title: a,
|
|
123
124
|
description: r,
|
|
124
125
|
button: o,
|
|
125
126
|
html_content: n,
|
|
126
|
-
variant: e =
|
|
127
|
+
variant: e = fe.Orange
|
|
127
128
|
}) => {
|
|
128
129
|
var s, m, v, y;
|
|
129
130
|
return /* @__PURE__ */ t(ee, { children: /* @__PURE__ */ t(
|
|
@@ -138,7 +139,7 @@ const te = [
|
|
|
138
139
|
className: "flex gap-[16px] items-center max-tablet:flex-col max-tablet:items-start max-tablet:gap-[12px]",
|
|
139
140
|
children: [
|
|
140
141
|
/* @__PURE__ */ t(
|
|
141
|
-
|
|
142
|
+
Rt,
|
|
142
143
|
{
|
|
143
144
|
name: (m = O[e]) == null ? void 0 : m.icon,
|
|
144
145
|
size: 40
|
|
@@ -161,7 +162,7 @@ const te = [
|
|
|
161
162
|
children: r
|
|
162
163
|
}
|
|
163
164
|
),
|
|
164
|
-
n && /* @__PURE__ */ t(
|
|
165
|
+
n && /* @__PURE__ */ t(ye, { data: n })
|
|
165
166
|
] })
|
|
166
167
|
]
|
|
167
168
|
}
|
|
@@ -295,7 +296,7 @@ const oe = P(
|
|
|
295
296
|
] })
|
|
296
297
|
);
|
|
297
298
|
oe.displayName = "Input";
|
|
298
|
-
const
|
|
299
|
+
const $t = () => /* @__PURE__ */ t(
|
|
299
300
|
"svg",
|
|
300
301
|
{
|
|
301
302
|
width: "20",
|
|
@@ -311,12 +312,12 @@ const At = () => /* @__PURE__ */ t(
|
|
|
311
312
|
}
|
|
312
313
|
)
|
|
313
314
|
}
|
|
314
|
-
),
|
|
315
|
+
), At = (a) => {
|
|
315
316
|
if (!a)
|
|
316
317
|
return "";
|
|
317
318
|
const r = String(a.getDate()).padStart(2, "0"), o = String(a.getMonth() + 1).padStart(2, "0"), n = a.getFullYear();
|
|
318
319
|
return `${r}.${o}.${n}`;
|
|
319
|
-
},
|
|
320
|
+
}, Et = (a) => {
|
|
320
321
|
if (!a)
|
|
321
322
|
return null;
|
|
322
323
|
const r = a.split(".");
|
|
@@ -329,7 +330,7 @@ const At = () => /* @__PURE__ */ t(
|
|
|
329
330
|
}
|
|
330
331
|
}
|
|
331
332
|
return null;
|
|
332
|
-
},
|
|
333
|
+
}, Xt = (a, r) => new Date(r, a, 1).toLocaleDateString("ru-RU", { month: "long", year: "numeric" }), qt = ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], ae = P(
|
|
333
334
|
({
|
|
334
335
|
className: a,
|
|
335
336
|
error: r,
|
|
@@ -341,8 +342,8 @@ const At = () => /* @__PURE__ */ t(
|
|
|
341
342
|
}, v) => {
|
|
342
343
|
const [y, l] = I(""), [N, k] = I(!1), [c, C] = I((/* @__PURE__ */ new Date()).getMonth()), [h, b] = I((/* @__PURE__ */ new Date()).getFullYear()), [u, F] = I(null), M = n !== void 0, w = M ? n : y, { ref: L } = X(N, () => {
|
|
343
344
|
k(!1);
|
|
344
|
-
}), B = R(() =>
|
|
345
|
-
|
|
345
|
+
}), B = R(() => Et(w), [w]);
|
|
346
|
+
ge(() => {
|
|
346
347
|
B && (F(B), C(B.getMonth()), b(B.getFullYear()));
|
|
347
348
|
}, [B]);
|
|
348
349
|
const H = R(() => {
|
|
@@ -363,7 +364,7 @@ const At = () => /* @__PURE__ */ t(
|
|
|
363
364
|
return;
|
|
364
365
|
let p = c, D = h;
|
|
365
366
|
d ? (p = p - 1, p < 0 && (p = 11, D = D - 1)) : V && (p = p + 1, p > 11 && (p = 0, D = D + 1));
|
|
366
|
-
const G = new Date(D, p, f), T =
|
|
367
|
+
const G = new Date(D, p, f), T = At(G);
|
|
367
368
|
F(G), C(p), b(D), M || l(T), e == null || e(T), k(!1);
|
|
368
369
|
}, A = () => {
|
|
369
370
|
c === 0 ? (C(11), b(h - 1)) : C(c - 1);
|
|
@@ -397,7 +398,7 @@ const At = () => /* @__PURE__ */ t(
|
|
|
397
398
|
onClick: () => k(!N),
|
|
398
399
|
className: "absolute left-4 flex items-center justify-center cursor-pointer",
|
|
399
400
|
tabIndex: -1,
|
|
400
|
-
children: /* @__PURE__ */ t(
|
|
401
|
+
children: /* @__PURE__ */ t($t, {})
|
|
401
402
|
}
|
|
402
403
|
),
|
|
403
404
|
/* @__PURE__ */ t(
|
|
@@ -458,7 +459,7 @@ const At = () => /* @__PURE__ */ t(
|
|
|
458
459
|
)
|
|
459
460
|
}
|
|
460
461
|
),
|
|
461
|
-
/* @__PURE__ */ t("h3", { className: "text-base font-semibold text-blackBG", children:
|
|
462
|
+
/* @__PURE__ */ t("h3", { className: "text-base font-semibold text-blackBG", children: Xt(c, h) }),
|
|
462
463
|
/* @__PURE__ */ t(
|
|
463
464
|
"button",
|
|
464
465
|
{
|
|
@@ -488,7 +489,7 @@ const At = () => /* @__PURE__ */ t(
|
|
|
488
489
|
}
|
|
489
490
|
)
|
|
490
491
|
] }),
|
|
491
|
-
/* @__PURE__ */ t("div", { className: "grid grid-cols-7 gap-1 mb-2", children:
|
|
492
|
+
/* @__PURE__ */ t("div", { className: "grid grid-cols-7 gap-1 mb-2", children: qt.map((f) => /* @__PURE__ */ t(
|
|
492
493
|
"div",
|
|
493
494
|
{
|
|
494
495
|
className: "text-center text-xs font-medium text-grayBlue5 py-2",
|
|
@@ -501,7 +502,7 @@ const At = () => /* @__PURE__ */ t(
|
|
|
501
502
|
h,
|
|
502
503
|
c + 1,
|
|
503
504
|
0
|
|
504
|
-
).getDate(), G = d < p, T = d >= p + D, S = !G && !T,
|
|
505
|
+
).getDate(), G = d < p, T = d >= p + D, S = !G && !T, me = _(
|
|
505
506
|
f,
|
|
506
507
|
G,
|
|
507
508
|
T
|
|
@@ -516,7 +517,7 @@ const At = () => /* @__PURE__ */ t(
|
|
|
516
517
|
"w-10 h-10 rounded-lg text-sm font-medium transition-colors",
|
|
517
518
|
"hover:bg-[#E8F4FD] focus:outline-none focus:bg-[#E8F4FD]",
|
|
518
519
|
S ? "text-blackBG" : "text-grayBlue5 opacity-50",
|
|
519
|
-
|
|
520
|
+
me && "bg-[#16A34A] text-white hover:bg-[#16A34A] focus:bg-[#16A34A]"
|
|
520
521
|
),
|
|
521
522
|
children: f
|
|
522
523
|
},
|
|
@@ -544,9 +545,9 @@ const ne = P(
|
|
|
544
545
|
defaultValue: v,
|
|
545
546
|
...y
|
|
546
547
|
}, l) => {
|
|
547
|
-
const N =
|
|
548
|
+
const N = xe(null);
|
|
548
549
|
J(l, () => N.current);
|
|
549
|
-
const k = !!o || !!r, c =
|
|
550
|
+
const k = !!o || !!r, c = be(
|
|
550
551
|
(b) => {
|
|
551
552
|
if (b == null || b === "")
|
|
552
553
|
return "";
|
|
@@ -597,19 +598,19 @@ const ne = P(
|
|
|
597
598
|
}
|
|
598
599
|
);
|
|
599
600
|
ne.displayName = "NumberField";
|
|
600
|
-
const
|
|
601
|
+
const zt = {
|
|
601
602
|
96: { name: "Кыргызстан", short: "KG", mask: "+996", length: 9 }
|
|
602
|
-
},
|
|
603
|
+
}, Yt = (a) => {
|
|
603
604
|
const r = a.toUpperCase().split("").map((o) => 127397 + o.charCodeAt(0));
|
|
604
605
|
return String.fromCodePoint(...r);
|
|
605
|
-
}, Y = () => Object.entries(
|
|
606
|
+
}, Y = () => Object.entries(zt).map(([a, r]) => ({
|
|
606
607
|
id: a,
|
|
607
608
|
name: r.name,
|
|
608
609
|
short: r.short,
|
|
609
610
|
mask: r.mask,
|
|
610
611
|
dialCode: r.mask.replace("+", ""),
|
|
611
612
|
length: r.length,
|
|
612
|
-
flag:
|
|
613
|
+
flag: Yt(r.short)
|
|
613
614
|
})), Z = (a) => Y().find((o) => o.id === a), Q = (a, r) => {
|
|
614
615
|
const o = r.dialCode, n = r.length;
|
|
615
616
|
let e = a;
|
|
@@ -619,7 +620,7 @@ const Yt = {
|
|
|
619
620
|
return r.mask;
|
|
620
621
|
let m = s;
|
|
621
622
|
return s.length > 6 ? m = `${s.slice(0, 3)} ${s.slice(3, 6)} ${s.slice(6)}` : s.length > 3 && (m = `${s.slice(0, 3)} ${s.slice(3)}`), `${r.mask} ${m}`;
|
|
622
|
-
},
|
|
623
|
+
}, Kt = (a, r) => {
|
|
623
624
|
if (!a)
|
|
624
625
|
return null;
|
|
625
626
|
const o = a.replace(/\D/g, ""), n = Y();
|
|
@@ -669,7 +670,7 @@ const Yt = {
|
|
|
669
670
|
const V = Q(d, f);
|
|
670
671
|
u || l(V), e == null || e(V);
|
|
671
672
|
}, A = (g) => {
|
|
672
|
-
const _ = g.target.value, f = _.replace(/\D/g, ""), d =
|
|
673
|
+
const _ = g.target.value, f = _.replace(/\D/g, ""), d = Kt(
|
|
673
674
|
_
|
|
674
675
|
);
|
|
675
676
|
d && d.id !== N && k(d.id);
|
|
@@ -1014,10 +1015,10 @@ const ce = P(
|
|
|
1014
1015
|
}
|
|
1015
1016
|
);
|
|
1016
1017
|
ce.displayName = "Select";
|
|
1017
|
-
const
|
|
1018
|
-
TitleBlock:
|
|
1018
|
+
const Qt = {
|
|
1019
|
+
TitleBlock: Ke,
|
|
1019
1020
|
WarningCard: q
|
|
1020
|
-
},
|
|
1021
|
+
}, Ut = [
|
|
1021
1022
|
{
|
|
1022
1023
|
label: "TitleBlock",
|
|
1023
1024
|
value: "TitleBlock"
|
|
@@ -1026,7 +1027,7 @@ const Ut = {
|
|
|
1026
1027
|
label: "WarningCard",
|
|
1027
1028
|
value: "WarningCard"
|
|
1028
1029
|
}
|
|
1029
|
-
],
|
|
1030
|
+
], Jt = {
|
|
1030
1031
|
text: oe,
|
|
1031
1032
|
number: ne,
|
|
1032
1033
|
phone: se,
|
|
@@ -1034,15 +1035,15 @@ const Ut = {
|
|
|
1034
1035
|
date: ae,
|
|
1035
1036
|
radio: ie,
|
|
1036
1037
|
checkbox: re,
|
|
1037
|
-
file:
|
|
1038
|
-
},
|
|
1038
|
+
file: Ye
|
|
1039
|
+
}, er = (a, {
|
|
1039
1040
|
register: r,
|
|
1040
1041
|
errors: o,
|
|
1041
1042
|
control: n
|
|
1042
1043
|
}) => a.map((e, s) => {
|
|
1043
1044
|
var v;
|
|
1044
1045
|
if ((e == null ? void 0 : e.componentType) === "component") {
|
|
1045
|
-
const y =
|
|
1046
|
+
const y = Qt[e == null ? void 0 : e.key];
|
|
1046
1047
|
if (y)
|
|
1047
1048
|
return /* @__PURE__ */ t(
|
|
1048
1049
|
y,
|
|
@@ -1052,13 +1053,13 @@ const Ut = {
|
|
|
1052
1053
|
s
|
|
1053
1054
|
);
|
|
1054
1055
|
}
|
|
1055
|
-
const m =
|
|
1056
|
+
const m = Jt[e == null ? void 0 : e.type];
|
|
1056
1057
|
if (m) {
|
|
1057
1058
|
const y = ["select", "radio", "checkbox", "file"].includes(
|
|
1058
1059
|
e.type
|
|
1059
1060
|
), l = (v = o[e.name]) == null ? void 0 : v.message;
|
|
1060
1061
|
return y && n ? /* @__PURE__ */ t(
|
|
1061
|
-
|
|
1062
|
+
Xe,
|
|
1062
1063
|
{
|
|
1063
1064
|
name: e.name,
|
|
1064
1065
|
control: n,
|
|
@@ -1094,38 +1095,38 @@ const Ut = {
|
|
|
1094
1095
|
type: r,
|
|
1095
1096
|
options: o
|
|
1096
1097
|
}) => ({
|
|
1097
|
-
dataType:
|
|
1098
|
+
dataType: Wt.select,
|
|
1098
1099
|
label: a,
|
|
1099
1100
|
type: r,
|
|
1100
1101
|
options: o
|
|
1101
|
-
}),
|
|
1102
|
+
}), ma = {
|
|
1102
1103
|
title: "Оставьте заявку, чтобы подключить MKassa",
|
|
1103
1104
|
subtitle: "с Вами свяжется наш специалист и поможет с подключением сервиса"
|
|
1104
|
-
},
|
|
1105
|
+
}, ua = {
|
|
1105
1106
|
title: "Форма заявки",
|
|
1106
1107
|
description: "Форма заявки ",
|
|
1107
|
-
types: [U.form]
|
|
1108
|
-
propsToEdit:
|
|
1109
|
-
},
|
|
1108
|
+
types: [U.form]
|
|
1109
|
+
// propsToEdit: propsToEdit,
|
|
1110
|
+
}, tr = {
|
|
1110
1111
|
title: "Оставьте заявку, чтобы подключить MKassa",
|
|
1111
1112
|
description: "с Вами свяжется наш специалист и поможет с подключением сервиса",
|
|
1112
1113
|
color: "#45464b"
|
|
1113
|
-
},
|
|
1114
|
+
}, rr = de({
|
|
1114
1115
|
label: "Тип поля",
|
|
1115
1116
|
type: "componentType",
|
|
1116
|
-
options:
|
|
1117
|
-
}),
|
|
1117
|
+
options: jt
|
|
1118
|
+
}), or = de({
|
|
1118
1119
|
label: "Компонент",
|
|
1119
1120
|
type: "componentType",
|
|
1120
|
-
options:
|
|
1121
|
-
}),
|
|
1121
|
+
options: Ut
|
|
1122
|
+
}), ar = {
|
|
1122
1123
|
type: "fields",
|
|
1123
1124
|
dataType: "array",
|
|
1124
1125
|
label: "Поля для формы",
|
|
1125
1126
|
data: {
|
|
1126
|
-
componentType:
|
|
1127
|
+
componentType: rr,
|
|
1127
1128
|
type: j.STRING,
|
|
1128
|
-
key:
|
|
1129
|
+
key: or,
|
|
1129
1130
|
name: j.STRING,
|
|
1130
1131
|
field_props: {
|
|
1131
1132
|
label: j.STRING,
|
|
@@ -1136,7 +1137,7 @@ const Ut = {
|
|
|
1136
1137
|
placeholder: j.STRING
|
|
1137
1138
|
}
|
|
1138
1139
|
}
|
|
1139
|
-
},
|
|
1140
|
+
}, nr = ["title", "subtitle", "color", ar], pe = ({
|
|
1140
1141
|
title: a,
|
|
1141
1142
|
subtitle: r,
|
|
1142
1143
|
color: o,
|
|
@@ -1145,14 +1146,14 @@ const Ut = {
|
|
|
1145
1146
|
fields: s = []
|
|
1146
1147
|
}) => {
|
|
1147
1148
|
var L;
|
|
1148
|
-
const [m, v] = I(!1), [y, l] = I(!1), N =
|
|
1149
|
+
const [m, v] = I(!1), [y, l] = I(!1), N = ze(960), {
|
|
1149
1150
|
register: k,
|
|
1150
1151
|
handleSubmit: c,
|
|
1151
1152
|
watch: C,
|
|
1152
1153
|
reset: h,
|
|
1153
1154
|
control: b,
|
|
1154
1155
|
formState: { errors: u }
|
|
1155
|
-
} =
|
|
1156
|
+
} = qe({
|
|
1156
1157
|
defaultValues: {
|
|
1157
1158
|
fio: "",
|
|
1158
1159
|
phone: "",
|
|
@@ -1161,7 +1162,7 @@ const Ut = {
|
|
|
1161
1162
|
}
|
|
1162
1163
|
}), F = C("agreement"), M = async (B) => {
|
|
1163
1164
|
console.log("Form submitted:", B);
|
|
1164
|
-
}, w =
|
|
1165
|
+
}, w = er(s || [], {
|
|
1165
1166
|
register: k,
|
|
1166
1167
|
errors: u,
|
|
1167
1168
|
control: b
|
|
@@ -1259,8 +1260,8 @@ const Ut = {
|
|
|
1259
1260
|
loading: y,
|
|
1260
1261
|
className: "w-full whitespace-nowrap transition-all duration-200 hover:scale-[1.02] active:scale-[0.98]",
|
|
1261
1262
|
type: "submit",
|
|
1262
|
-
size:
|
|
1263
|
-
variant:
|
|
1263
|
+
size: ve.XL,
|
|
1264
|
+
variant: ke.Primary,
|
|
1264
1265
|
disabled: !F || y,
|
|
1265
1266
|
children: "Отправить заявку"
|
|
1266
1267
|
}
|
|
@@ -1272,110 +1273,110 @@ const Ut = {
|
|
|
1272
1273
|
}
|
|
1273
1274
|
) });
|
|
1274
1275
|
};
|
|
1275
|
-
|
|
1276
|
-
const
|
|
1277
|
-
MainBanner: { key: "MainBanner", component:
|
|
1278
|
-
Banner: { key: "Banner", component:
|
|
1279
|
-
CardImageList: { key: "CardImageList", component:
|
|
1280
|
-
Stepper: { key: "Stepper", component:
|
|
1281
|
-
Segments: { key: "Segments", component:
|
|
1282
|
-
VideoFull: { key: "VideoFull", component:
|
|
1283
|
-
VideoList: { key: "VideoList", component:
|
|
1284
|
-
VideoListMini: { key: "VideoListMini", component:
|
|
1285
|
-
ContentCardList: { key: "ContentCardList", component:
|
|
1286
|
-
CardIconList: { key: "CardIconList", component:
|
|
1287
|
-
MultiCards: { key: "MultiCards", component:
|
|
1288
|
-
Partners: { key: "Partners", component:
|
|
1289
|
-
PartnersColors: { key: "PartnersColors", component:
|
|
1276
|
+
pe.propsToEdit = nr;
|
|
1277
|
+
const fa = {
|
|
1278
|
+
MainBanner: { key: "MainBanner", component: Ie },
|
|
1279
|
+
Banner: { key: "Banner", component: he },
|
|
1280
|
+
CardImageList: { key: "CardImageList", component: Ve },
|
|
1281
|
+
Stepper: { key: "Stepper", component: Ce },
|
|
1282
|
+
Segments: { key: "Segments", component: De },
|
|
1283
|
+
VideoFull: { key: "VideoFull", component: Ne },
|
|
1284
|
+
VideoList: { key: "VideoList", component: Le },
|
|
1285
|
+
VideoListMini: { key: "VideoListMini", component: _e },
|
|
1286
|
+
ContentCardList: { key: "ContentCardList", component: Be },
|
|
1287
|
+
CardIconList: { key: "CardIconList", component: Se },
|
|
1288
|
+
MultiCards: { key: "MultiCards", component: Fe },
|
|
1289
|
+
Partners: { key: "Partners", component: Me },
|
|
1290
|
+
PartnersColors: { key: "PartnersColors", component: Pe },
|
|
1290
1291
|
WarningCard: { key: "WarningCard", component: q },
|
|
1291
|
-
Faq: { key: "Faq", component:
|
|
1292
|
+
Faq: { key: "Faq", component: He },
|
|
1292
1293
|
DownloadFileBanner: {
|
|
1293
1294
|
key: "DownloadFileBanner",
|
|
1294
|
-
component:
|
|
1295
|
+
component: We
|
|
1295
1296
|
},
|
|
1296
|
-
DownloadFileHalf: { key: "DownloadFileHalf", component:
|
|
1297
|
-
DownloadFileFull: { key: "DownloadFileFull", component:
|
|
1298
|
-
DownloadFileMini: { key: "DownloadFileMini", component:
|
|
1299
|
-
InstructionList: { key: "InstructionList", component:
|
|
1300
|
-
PreviewList: { key: "PreviewList", component:
|
|
1301
|
-
SwiperList: { key: "SwiperList", component:
|
|
1302
|
-
AnimatedSwiper: { key: "AnimatedSwiper", component:
|
|
1303
|
-
InfoBannerList: { key: "InfoBannerList", component:
|
|
1304
|
-
TasksBannerList: { key: "TasksBannerList", component:
|
|
1305
|
-
VideoMainBanner: { key: "VideoMainBanner", component:
|
|
1306
|
-
Space: { key: "Space", component:
|
|
1307
|
-
PromoPoster: { key: "PromoPoster", component:
|
|
1297
|
+
DownloadFileHalf: { key: "DownloadFileHalf", component: Oe },
|
|
1298
|
+
DownloadFileFull: { key: "DownloadFileFull", component: je },
|
|
1299
|
+
DownloadFileMini: { key: "DownloadFileMini", component: Ze },
|
|
1300
|
+
InstructionList: { key: "InstructionList", component: Te },
|
|
1301
|
+
PreviewList: { key: "PreviewList", component: Ge },
|
|
1302
|
+
SwiperList: { key: "SwiperList", component: rt },
|
|
1303
|
+
AnimatedSwiper: { key: "AnimatedSwiper", component: Re },
|
|
1304
|
+
InfoBannerList: { key: "InfoBannerList", component: Qe },
|
|
1305
|
+
TasksBannerList: { key: "TasksBannerList", component: ot },
|
|
1306
|
+
VideoMainBanner: { key: "VideoMainBanner", component: at },
|
|
1307
|
+
Space: { key: "Space", component: et },
|
|
1308
|
+
PromoPoster: { key: "PromoPoster", component: Je },
|
|
1308
1309
|
CardImageSecondaryList: {
|
|
1309
1310
|
key: "CardImageSecondaryList",
|
|
1310
|
-
component:
|
|
1311
|
+
component: $e
|
|
1311
1312
|
},
|
|
1312
|
-
CardInfoTable: { key: "CardInfoTable", component:
|
|
1313
|
-
StandartTable: { key: "StandartTable", component:
|
|
1314
|
-
IntroBanner: { key: "IntroBanner", component:
|
|
1313
|
+
CardInfoTable: { key: "CardInfoTable", component: Ae },
|
|
1314
|
+
StandartTable: { key: "StandartTable", component: tt },
|
|
1315
|
+
IntroBanner: { key: "IntroBanner", component: Ue },
|
|
1315
1316
|
DownloadFileBright: {
|
|
1316
1317
|
key: "DownloadFileBright",
|
|
1317
|
-
component:
|
|
1318
|
+
component: Ee
|
|
1318
1319
|
},
|
|
1319
1320
|
FormDefault: {
|
|
1320
1321
|
key: "FormDefault",
|
|
1321
|
-
component:
|
|
1322
|
+
component: pe
|
|
1322
1323
|
},
|
|
1323
|
-
Header: { key: "Header", component:
|
|
1324
|
-
Footer: { key: "Footer", component:
|
|
1325
|
-
}, fa = {
|
|
1326
|
-
MainBanner: st.component_props,
|
|
1327
|
-
Banner: it.component_props,
|
|
1328
|
-
CardImageList: lt.component_props,
|
|
1329
|
-
Stepper: ct.component_props,
|
|
1330
|
-
Segments: dt.component_props,
|
|
1331
|
-
VideoFull: pt.component_props,
|
|
1332
|
-
VideoList: mt.component_props,
|
|
1333
|
-
VideoListMini: ut.component_props,
|
|
1334
|
-
ContentCardList: ft.component_props,
|
|
1335
|
-
CardIconList: ht.component_props,
|
|
1336
|
-
MultiCards: gt.component_props,
|
|
1337
|
-
Partners: xt.component_props,
|
|
1338
|
-
PartnersColors: bt.component_props,
|
|
1339
|
-
WarningCard: yt.component_props,
|
|
1340
|
-
Faq: wt.component_props,
|
|
1341
|
-
DownloadFileBanner: vt.component_props,
|
|
1342
|
-
DownloadFileHalf: kt.component_props,
|
|
1343
|
-
DownloadFileFull: Ct.component_props,
|
|
1344
|
-
DownloadFileMini: Dt.component_props,
|
|
1345
|
-
InstructionList: Nt.component_props,
|
|
1346
|
-
PreviewList: Lt.component_props,
|
|
1347
|
-
SwiperList: _t.component_props,
|
|
1348
|
-
AnimatedSwiper: Bt.component_props,
|
|
1349
|
-
InfoBannerList: St.component_props,
|
|
1350
|
-
TasksBannerList: Ft.component_props,
|
|
1351
|
-
VideoMainBanner: Mt.component_props,
|
|
1352
|
-
EmptyBox: Vt.component_props,
|
|
1353
|
-
PromoPoster: It.component_props,
|
|
1354
|
-
CardImageSecondaryList: Ht.component_props,
|
|
1355
|
-
CardInfoTable: Tt.component_props,
|
|
1356
|
-
StandartTable: Pt.component_props,
|
|
1357
|
-
IntroBanner: Gt.component_props,
|
|
1358
|
-
DownloadFileBright: Wt.component_props,
|
|
1359
|
-
FormDefault: rr
|
|
1324
|
+
Header: { key: "Header", component: Ot },
|
|
1325
|
+
Footer: { key: "Footer", component: Zt }
|
|
1360
1326
|
}, ha = {
|
|
1327
|
+
MainBanner: nt.component_props,
|
|
1328
|
+
Banner: st.component_props,
|
|
1329
|
+
CardImageList: it.component_props,
|
|
1330
|
+
Stepper: lt.component_props,
|
|
1331
|
+
Segments: ct.component_props,
|
|
1332
|
+
VideoFull: dt.component_props,
|
|
1333
|
+
VideoList: pt.component_props,
|
|
1334
|
+
VideoListMini: mt.component_props,
|
|
1335
|
+
ContentCardList: ut.component_props,
|
|
1336
|
+
CardIconList: ft.component_props,
|
|
1337
|
+
MultiCards: ht.component_props,
|
|
1338
|
+
Partners: gt.component_props,
|
|
1339
|
+
PartnersColors: xt.component_props,
|
|
1340
|
+
WarningCard: bt.component_props,
|
|
1341
|
+
Faq: yt.component_props,
|
|
1342
|
+
DownloadFileBanner: wt.component_props,
|
|
1343
|
+
DownloadFileHalf: vt.component_props,
|
|
1344
|
+
DownloadFileFull: kt.component_props,
|
|
1345
|
+
DownloadFileMini: Ct.component_props,
|
|
1346
|
+
InstructionList: Dt.component_props,
|
|
1347
|
+
PreviewList: Nt.component_props,
|
|
1348
|
+
SwiperList: Lt.component_props,
|
|
1349
|
+
AnimatedSwiper: _t.component_props,
|
|
1350
|
+
InfoBannerList: Bt.component_props,
|
|
1351
|
+
TasksBannerList: St.component_props,
|
|
1352
|
+
VideoMainBanner: Ft.component_props,
|
|
1353
|
+
EmptyBox: Mt.component_props,
|
|
1354
|
+
PromoPoster: Vt.component_props,
|
|
1355
|
+
CardImageSecondaryList: It.component_props,
|
|
1356
|
+
CardInfoTable: Ht.component_props,
|
|
1357
|
+
StandartTable: Tt.component_props,
|
|
1358
|
+
IntroBanner: Pt.component_props,
|
|
1359
|
+
DownloadFileBright: Gt.component_props,
|
|
1360
|
+
FormDefault: tr
|
|
1361
|
+
}, ga = {
|
|
1361
1362
|
title: "Предупреждающая карточка",
|
|
1362
1363
|
description: "Компонент для отображения предупреждающей информации в виде карточки с иконкой, заголовком и описанием. Используется для привлечения внимания к важной информации или предупреждениям.",
|
|
1363
1364
|
types: [U.cards],
|
|
1364
1365
|
propsToEdit: te
|
|
1365
1366
|
};
|
|
1366
1367
|
export {
|
|
1367
|
-
|
|
1368
|
-
|
|
1368
|
+
ha as A,
|
|
1369
|
+
pe as F,
|
|
1369
1370
|
q as W,
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1371
|
+
fa as a,
|
|
1372
|
+
Ut as b,
|
|
1373
|
+
Qt as c,
|
|
1374
|
+
tr as d,
|
|
1375
|
+
ar as e,
|
|
1376
|
+
ua as f,
|
|
1377
|
+
nr as g,
|
|
1378
|
+
ma as i,
|
|
1378
1379
|
te as p,
|
|
1379
|
-
|
|
1380
|
-
|
|
1380
|
+
er as r,
|
|
1381
|
+
ga as w
|
|
1381
1382
|
};
|