md-components-mdigial-azamat 0.0.93 → 0.0.95
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 +1 -1
- package/dist/AllComponents.js +2 -2
- package/dist/AllComponentsInfo.js +1 -1
- package/dist/Cards/WarningCard/WarningCard.js +2 -2
- package/dist/Cards/WarningCard/index.js +1 -1
- package/dist/Cards/WarningCard/info.js +1 -1
- package/dist/Forms/FormDefault/fieldTypesList.js +45 -0
- package/dist/Forms/FormDefault/index.js +1 -1
- package/dist/Forms/FormDefault/info.js +8 -7
- package/dist/Forms/helpers/renderFormFields.js +1 -1
- package/dist/Forms/model/components.js +1 -1
- package/dist/PageViewer/renderComponents.js +1 -1
- package/dist/RenderAllComponents/RenderAllComponents.js +1 -1
- package/dist/{componentsMap-4732ea4f.js → componentsMap-e918275c.js} +22 -20
- package/dist/{info-22c43f9e.js → info-0d58accd.js} +300 -283
- package/dist/main.js +1 -1
- package/package.json +1 -1
|
@@ -1,67 +1,67 @@
|
|
|
1
|
-
import { C as
|
|
2
|
-
import { jsx as t, jsxs as i, Fragment as
|
|
3
|
-
import { warningCardVariant as
|
|
1
|
+
import { C as ee } from "./index-0a5f313c.js";
|
|
2
|
+
import { jsx as t, jsxs as i, Fragment as U } from "react/jsx-runtime";
|
|
3
|
+
import { warningCardVariant as he, WarningCardVariant as j, WarningCardVariantKey as ge } from "./Cards/WarningCard/model.js";
|
|
4
4
|
import "./ConfigProvider/index.js";
|
|
5
|
-
import { Banner as
|
|
5
|
+
import { Banner as xe } from "./Banner/Banner.js";
|
|
6
6
|
import "./BannerAndText/index.js";
|
|
7
|
-
import { forwardRef as P, useState as I, useMemo as
|
|
7
|
+
import { forwardRef as P, useState as I, useMemo as A, useEffect as be, useRef as ye, useImperativeHandle as te, useCallback as we } 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 ke } from "./HtmlContent/HtmlContent.js";
|
|
12
12
|
import "./Header/components/TabsOutlined/TabsOutlined.js";
|
|
13
|
-
import { B as
|
|
14
|
-
import { B as
|
|
15
|
-
import { Stepper as
|
|
16
|
-
import { Segments as
|
|
17
|
-
import { VideoFull as
|
|
18
|
-
import { VideoList as
|
|
19
|
-
import { VideoListMini as
|
|
13
|
+
import { B as R } from "./index-875e92ce.js";
|
|
14
|
+
import { B as ve, a as Ce, b as De } from "./const-53dff524.js";
|
|
15
|
+
import { Stepper as Ne } from "./Stepper/Stepper.js";
|
|
16
|
+
import { Segments as Le } from "./Segments/Segments.js";
|
|
17
|
+
import { VideoFull as _e } from "./Video/VideoFull/VideoFull.js";
|
|
18
|
+
import { VideoList as Be } from "./Video/VideoList/VideoList.js";
|
|
19
|
+
import { VideoListMini as Me } from "./Video/VideoListMini/VideoListMini.js";
|
|
20
20
|
import { ContentCardList as Se } from "./ContentCardList/ContentCardList.js";
|
|
21
21
|
import { CardIconList as Fe } from "./CardIconList/CardIconList.js";
|
|
22
|
-
import { MultiCards as
|
|
23
|
-
import { Partners as
|
|
24
|
-
import { CardImageList as
|
|
22
|
+
import { MultiCards as Ve } from "./MultiCards/index.js";
|
|
23
|
+
import { Partners as Ie } from "./Partners/Partners.js";
|
|
24
|
+
import { CardImageList as Te } from "./CardImageList/CardImageList.js";
|
|
25
25
|
import { MainBanner as He } from "./MainBanner/MainBanner.js";
|
|
26
|
-
import { Faq as
|
|
27
|
-
import { InstructionList as
|
|
26
|
+
import { Faq as Pe } from "./Faq/Faq.js";
|
|
27
|
+
import { InstructionList as We } from "./InstructionList/InstructionList.js";
|
|
28
28
|
import "./HeroPossibilityBanner/index.js";
|
|
29
29
|
import { PartnersColors as Ge } from "./PartnersColors/PartnersColors.js";
|
|
30
|
-
import { PreviewList as
|
|
30
|
+
import { PreviewList as Oe } 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
35
|
import { DownloadFileBanner as je } from "./DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js";
|
|
36
|
-
import { DownloadFileFull as
|
|
37
|
-
import { DownloadFileHalf as
|
|
38
|
-
import { DownloadFileMini as
|
|
36
|
+
import { DownloadFileFull as Ee } from "./DownloadFile/components/DownloadFileFull/DownloadFileFull.js";
|
|
37
|
+
import { DownloadFileHalf as Ae } 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
41
|
import $e 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 Re } from "./CardImageSecondaryList/CardImageSecondaryList.js";
|
|
44
|
+
import { CardInfoTable as Xe } from "./CardInfoTable/index.js";
|
|
45
|
+
import { DownloadFileBright as qe } from "./DownloadFile/components/DownloadFileBright/index.js";
|
|
46
46
|
import "./DownloadFile/components/FileBannerSecondary/FileBannerSecondary.js";
|
|
47
|
-
import { C as
|
|
48
|
-
import { C as
|
|
49
|
-
import { u as
|
|
50
|
-
import
|
|
51
|
-
import { u as
|
|
52
|
-
import { TitleBlock as
|
|
47
|
+
import { C as ze, u as Ye } from "./index-a0ed2e4a.js";
|
|
48
|
+
import { C as re } from "./ComponentContainer-dca711c6.js";
|
|
49
|
+
import { u as Ke } from "./useScreenSize-c1b64c02.js";
|
|
50
|
+
import Qe from "./FileLoader/index.js";
|
|
51
|
+
import { u as q } from "./useClickOutside-197b0df2.js";
|
|
52
|
+
import { TitleBlock as oe } 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 Ue } from "./InfoBannerList/InfoBannerList.js";
|
|
55
|
+
import { IntroBanner as Je } from "./IntroBanner/IntroBanner.js";
|
|
56
|
+
import { PromoPoster as et } from "./PromoPoster/PromoPoster.js";
|
|
57
|
+
import { Space as tt } from "./Space/Space.js";
|
|
58
|
+
import { StandartTable as rt } from "./StandartTable/index.js";
|
|
59
|
+
import { SwiperList as ot } 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 at } from "./TasksBannerList/TasksBannerList.js";
|
|
62
|
+
import { VideoMainBanner as nt } from "./VideoMainBanner/VideoMainBanner.js";
|
|
63
|
+
import { M as st, B as it, C as lt, S as ct, b as pt, V as dt, c as mt, d as ut, e as ft, f as ht, g as gt, P as xt, h as bt, W as yt, F as wt, k as kt, D as vt, l as Ct, m as Dt, I as Nt, o as Lt, p as _t, A as Bt, q as Mt, T as St, r as Ft, E as Vt, s as It, t as Tt, u as Ht, v as Pt, w as Wt, x as Gt, y as Ot } from "./data.mock-f00bb32c.js";
|
|
64
|
+
import { DataTypesEnum as X, FieldTypes as G } from "./Types/FiledTypes.js";
|
|
65
65
|
import "react-dom";
|
|
66
66
|
import "./AnimatedSwiper/info.js";
|
|
67
67
|
import "./Banner/info.js";
|
|
@@ -107,31 +107,32 @@ import "./Video/VideoList/info.js";
|
|
|
107
107
|
import "./Video/VideoListMini/info.js";
|
|
108
108
|
import "./VideoMainBanner/info.js";
|
|
109
109
|
import "./Actions/types.js";
|
|
110
|
-
import { componentTypes as
|
|
111
|
-
import {
|
|
112
|
-
import {
|
|
110
|
+
import { componentTypes as jt } from "./Forms/FormDefault/componentTypes.js";
|
|
111
|
+
import { fieldTypesList as Et } from "./Forms/FormDefault/fieldTypesList.js";
|
|
112
|
+
import { Header as At } from "./Header/Header.js";
|
|
113
|
+
import { Footer as Zt } from "./Footer/Footer.js";
|
|
113
114
|
import { I as $t } from "./Icon-70ea6cb8.js";
|
|
114
|
-
const
|
|
115
|
+
const ae = [
|
|
115
116
|
"title",
|
|
116
117
|
"title_color",
|
|
117
118
|
"description",
|
|
118
119
|
"description_color",
|
|
119
120
|
"html_content",
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
],
|
|
121
|
+
ve,
|
|
122
|
+
he
|
|
123
|
+
], z = ({
|
|
123
124
|
title: a,
|
|
124
125
|
description: r,
|
|
125
126
|
button: o,
|
|
126
127
|
html_content: n,
|
|
127
|
-
variant: e =
|
|
128
|
+
variant: e = ge.Orange
|
|
128
129
|
}) => {
|
|
129
130
|
var s, m, k, y;
|
|
130
|
-
return /* @__PURE__ */ t(
|
|
131
|
+
return /* @__PURE__ */ t(re, { children: /* @__PURE__ */ t(
|
|
131
132
|
"div",
|
|
132
133
|
{
|
|
133
134
|
className: "rounded-[24px] p-6",
|
|
134
|
-
style: { background: (s =
|
|
135
|
+
style: { background: (s = j[e]) == null ? void 0 : s.background },
|
|
135
136
|
children: /* @__PURE__ */ i("div", { className: "flex gap-4 items-center justify-between", children: [
|
|
136
137
|
/* @__PURE__ */ i(
|
|
137
138
|
"div",
|
|
@@ -141,7 +142,7 @@ const re = [
|
|
|
141
142
|
/* @__PURE__ */ t(
|
|
142
143
|
$t,
|
|
143
144
|
{
|
|
144
|
-
name: (m =
|
|
145
|
+
name: (m = j[e]) == null ? void 0 : m.icon,
|
|
145
146
|
size: 40
|
|
146
147
|
}
|
|
147
148
|
),
|
|
@@ -150,7 +151,7 @@ const re = [
|
|
|
150
151
|
"p",
|
|
151
152
|
{
|
|
152
153
|
className: x("text-[24px] leading-8 font-bold"),
|
|
153
|
-
style: { color: (k =
|
|
154
|
+
style: { color: (k = j[e]) == null ? void 0 : k.textColor },
|
|
154
155
|
children: a
|
|
155
156
|
}
|
|
156
157
|
),
|
|
@@ -158,22 +159,22 @@ const re = [
|
|
|
158
159
|
"p",
|
|
159
160
|
{
|
|
160
161
|
className: "text-[16px] leading-6",
|
|
161
|
-
style: { color: (y =
|
|
162
|
+
style: { color: (y = j[e]) == null ? void 0 : y.textColor },
|
|
162
163
|
children: r
|
|
163
164
|
}
|
|
164
165
|
),
|
|
165
|
-
n && /* @__PURE__ */ t(
|
|
166
|
+
n && /* @__PURE__ */ t(ke, { data: n })
|
|
166
167
|
] })
|
|
167
168
|
]
|
|
168
169
|
}
|
|
169
170
|
),
|
|
170
|
-
/* @__PURE__ */ t(
|
|
171
|
+
/* @__PURE__ */ t(R, { ...o })
|
|
171
172
|
] })
|
|
172
173
|
}
|
|
173
174
|
) });
|
|
174
175
|
};
|
|
175
|
-
|
|
176
|
-
const
|
|
176
|
+
z.propsToEdit = ae;
|
|
177
|
+
const ne = P(
|
|
177
178
|
({
|
|
178
179
|
label: a,
|
|
179
180
|
options: r,
|
|
@@ -204,7 +205,7 @@ const oe = P(
|
|
|
204
205
|
m === "column" ? "flex-col" : "flex-row flex-wrap"
|
|
205
206
|
),
|
|
206
207
|
children: r.map((l) => /* @__PURE__ */ t(
|
|
207
|
-
|
|
208
|
+
Y,
|
|
208
209
|
{
|
|
209
210
|
label: l.label,
|
|
210
211
|
checked: o.includes(l.value),
|
|
@@ -221,8 +222,8 @@ const oe = P(
|
|
|
221
222
|
);
|
|
222
223
|
}
|
|
223
224
|
);
|
|
224
|
-
|
|
225
|
-
const
|
|
225
|
+
ne.displayName = "CheckboxGroup";
|
|
226
|
+
const Y = P(
|
|
226
227
|
({ className: a, label: r, error: o, ...n }, e) => /* @__PURE__ */ i("div", { className: "w-full", children: [
|
|
227
228
|
/* @__PURE__ */ i("label", { className: "flex items-start gap-3 cursor-pointer group", children: [
|
|
228
229
|
/* @__PURE__ */ i("div", { className: "relative flex items-center justify-center mt-0.5", children: [
|
|
@@ -270,8 +271,8 @@ const z = P(
|
|
|
270
271
|
o && /* @__PURE__ */ t("p", { className: "mt-2 text-sm text-red-500", children: o })
|
|
271
272
|
] })
|
|
272
273
|
);
|
|
273
|
-
|
|
274
|
-
const
|
|
274
|
+
Y.displayName = "Checkbox";
|
|
275
|
+
const se = P(
|
|
275
276
|
({ className: a, type: r, error: o, label: n, ...e }, s) => /* @__PURE__ */ i("div", { className: "w-full", children: [
|
|
276
277
|
n && /* @__PURE__ */ t("label", { className: "block text-sm font-medium text-blackBG mb-2", children: n }),
|
|
277
278
|
/* @__PURE__ */ t(
|
|
@@ -295,8 +296,8 @@ const ae = P(
|
|
|
295
296
|
o && /* @__PURE__ */ t("p", { className: "mt-2 text-sm text-red-500", children: o })
|
|
296
297
|
] })
|
|
297
298
|
);
|
|
298
|
-
|
|
299
|
-
const
|
|
299
|
+
se.displayName = "Input";
|
|
300
|
+
const Rt = () => /* @__PURE__ */ t(
|
|
300
301
|
"svg",
|
|
301
302
|
{
|
|
302
303
|
width: "20",
|
|
@@ -312,12 +313,12 @@ const At = () => /* @__PURE__ */ t(
|
|
|
312
313
|
}
|
|
313
314
|
)
|
|
314
315
|
}
|
|
315
|
-
),
|
|
316
|
+
), Xt = (a) => {
|
|
316
317
|
if (!a)
|
|
317
318
|
return "";
|
|
318
319
|
const r = String(a.getDate()).padStart(2, "0"), o = String(a.getMonth() + 1).padStart(2, "0"), n = a.getFullYear();
|
|
319
320
|
return `${r}.${o}.${n}`;
|
|
320
|
-
},
|
|
321
|
+
}, qt = (a) => {
|
|
321
322
|
if (!a)
|
|
322
323
|
return null;
|
|
323
324
|
const r = a.split(".");
|
|
@@ -330,7 +331,7 @@ const At = () => /* @__PURE__ */ t(
|
|
|
330
331
|
}
|
|
331
332
|
}
|
|
332
333
|
return null;
|
|
333
|
-
},
|
|
334
|
+
}, zt = (a, r) => new Date(r, a, 1).toLocaleDateString("ru-RU", { month: "long", year: "numeric" }), Yt = ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], ie = P(
|
|
334
335
|
({
|
|
335
336
|
className: a,
|
|
336
337
|
error: r,
|
|
@@ -340,33 +341,33 @@ const At = () => /* @__PURE__ */ t(
|
|
|
340
341
|
placeholder: s = "Дата обращения в Контакт-центр",
|
|
341
342
|
...m
|
|
342
343
|
}, k) => {
|
|
343
|
-
const [y, l] = I(""), [N, v] = I(!1), [c, C] = I((/* @__PURE__ */ new Date()).getMonth()), [h, b] = I((/* @__PURE__ */ new Date()).getFullYear()), [u,
|
|
344
|
+
const [y, l] = I(""), [N, v] = I(!1), [c, C] = I((/* @__PURE__ */ new Date()).getMonth()), [h, b] = I((/* @__PURE__ */ new Date()).getFullYear()), [u, S] = I(null), F = n !== void 0, w = F ? n : y, { ref: L } = q(N, () => {
|
|
344
345
|
v(!1);
|
|
345
|
-
}), B =
|
|
346
|
-
|
|
347
|
-
B && (
|
|
346
|
+
}), B = A(() => qt(w), [w]);
|
|
347
|
+
be(() => {
|
|
348
|
+
B && (S(B), C(B.getMonth()), b(B.getFullYear()));
|
|
348
349
|
}, [B]);
|
|
349
|
-
const
|
|
350
|
-
const f = new Date(h, c, 1), V = new Date(h, c + 1, 0).getDate(), d = f.getDay(), D = [],
|
|
351
|
-
for (let
|
|
352
|
-
D.push(
|
|
353
|
-
for (let
|
|
354
|
-
D.push(
|
|
355
|
-
const
|
|
356
|
-
for (let
|
|
357
|
-
D.push(
|
|
350
|
+
const T = A(() => {
|
|
351
|
+
const f = new Date(h, c, 1), V = new Date(h, c + 1, 0).getDate(), d = f.getDay(), D = [], W = new Date(h, c, 0).getDate();
|
|
352
|
+
for (let M = d - 1; M >= 0; M--)
|
|
353
|
+
D.push(W - M);
|
|
354
|
+
for (let M = 1; M <= V; M++)
|
|
355
|
+
D.push(M);
|
|
356
|
+
const H = 42 - D.length;
|
|
357
|
+
for (let M = 1; M <= H; M++)
|
|
358
|
+
D.push(M);
|
|
358
359
|
return D;
|
|
359
|
-
}, [c, h]),
|
|
360
|
+
}, [c, h]), O = (f) => {
|
|
360
361
|
const p = f.target.value;
|
|
361
|
-
|
|
362
|
-
},
|
|
362
|
+
F || l(p), e == null || e(p);
|
|
363
|
+
}, Z = (f, p, V) => {
|
|
363
364
|
if (f === null)
|
|
364
365
|
return;
|
|
365
366
|
let d = c, D = h;
|
|
366
367
|
p ? (d = d - 1, d < 0 && (d = 11, D = D - 1)) : V && (d = d + 1, d > 11 && (d = 0, D = D + 1));
|
|
367
|
-
const
|
|
368
|
-
|
|
369
|
-
},
|
|
368
|
+
const W = new Date(D, d, f), H = Xt(W);
|
|
369
|
+
S(W), C(d), b(D), F || l(H), e == null || e(H), v(!1);
|
|
370
|
+
}, $ = () => {
|
|
370
371
|
c === 0 ? (C(11), b(h - 1)) : C(c - 1);
|
|
371
372
|
}, g = () => {
|
|
372
373
|
c === 11 ? (C(0), b(h + 1)) : C(c + 1);
|
|
@@ -398,7 +399,7 @@ const At = () => /* @__PURE__ */ t(
|
|
|
398
399
|
onClick: () => v(!N),
|
|
399
400
|
className: "absolute left-4 flex items-center justify-center cursor-pointer",
|
|
400
401
|
tabIndex: -1,
|
|
401
|
-
children: /* @__PURE__ */ t(
|
|
402
|
+
children: /* @__PURE__ */ t(Rt, {})
|
|
402
403
|
}
|
|
403
404
|
),
|
|
404
405
|
/* @__PURE__ */ t(
|
|
@@ -414,7 +415,7 @@ const At = () => /* @__PURE__ */ t(
|
|
|
414
415
|
),
|
|
415
416
|
ref: k,
|
|
416
417
|
value: w,
|
|
417
|
-
onChange:
|
|
418
|
+
onChange: O,
|
|
418
419
|
placeholder: s,
|
|
419
420
|
onClick: () => v(!0),
|
|
420
421
|
readOnly: !0,
|
|
@@ -435,7 +436,7 @@ const At = () => /* @__PURE__ */ t(
|
|
|
435
436
|
"button",
|
|
436
437
|
{
|
|
437
438
|
type: "button",
|
|
438
|
-
onClick:
|
|
439
|
+
onClick: $,
|
|
439
440
|
className: "p-2 hover:bg-grayBlue rounded-lg transition-colors",
|
|
440
441
|
children: /* @__PURE__ */ t(
|
|
441
442
|
"svg",
|
|
@@ -459,7 +460,7 @@ const At = () => /* @__PURE__ */ t(
|
|
|
459
460
|
)
|
|
460
461
|
}
|
|
461
462
|
),
|
|
462
|
-
/* @__PURE__ */ t("h3", { className: "text-base font-semibold text-blackBG", children:
|
|
463
|
+
/* @__PURE__ */ t("h3", { className: "text-base font-semibold text-blackBG", children: zt(c, h) }),
|
|
463
464
|
/* @__PURE__ */ t(
|
|
464
465
|
"button",
|
|
465
466
|
{
|
|
@@ -489,7 +490,7 @@ const At = () => /* @__PURE__ */ t(
|
|
|
489
490
|
}
|
|
490
491
|
)
|
|
491
492
|
] }),
|
|
492
|
-
/* @__PURE__ */ t("div", { className: "grid grid-cols-7 gap-1 mb-2", children:
|
|
493
|
+
/* @__PURE__ */ t("div", { className: "grid grid-cols-7 gap-1 mb-2", children: Yt.map((f) => /* @__PURE__ */ t(
|
|
493
494
|
"div",
|
|
494
495
|
{
|
|
495
496
|
className: "text-center text-xs font-medium text-grayBlue5 py-2",
|
|
@@ -497,27 +498,27 @@ const At = () => /* @__PURE__ */ t(
|
|
|
497
498
|
},
|
|
498
499
|
f
|
|
499
500
|
)) }),
|
|
500
|
-
/* @__PURE__ */ t("div", { className: "grid grid-cols-7 gap-1", children:
|
|
501
|
+
/* @__PURE__ */ t("div", { className: "grid grid-cols-7 gap-1", children: T.map((f, p) => {
|
|
501
502
|
const d = new Date(h, c, 1).getDay(), D = new Date(
|
|
502
503
|
h,
|
|
503
504
|
c + 1,
|
|
504
505
|
0
|
|
505
|
-
).getDate(),
|
|
506
|
+
).getDate(), W = p < d, H = p >= d + D, M = !W && !H, fe = _(
|
|
506
507
|
f,
|
|
507
|
-
|
|
508
|
-
|
|
508
|
+
W,
|
|
509
|
+
H
|
|
509
510
|
);
|
|
510
511
|
return /* @__PURE__ */ t(
|
|
511
512
|
"button",
|
|
512
513
|
{
|
|
513
514
|
type: "button",
|
|
514
|
-
onClick: () =>
|
|
515
|
+
onClick: () => Z(f, W, H),
|
|
515
516
|
disabled: f === null,
|
|
516
517
|
className: x(
|
|
517
518
|
"w-10 h-10 rounded-lg text-sm font-medium transition-colors",
|
|
518
519
|
"hover:bg-[#E8F4FD] focus:outline-none focus:bg-[#E8F4FD]",
|
|
519
|
-
|
|
520
|
-
|
|
520
|
+
M ? "text-blackBG" : "text-grayBlue5 opacity-50",
|
|
521
|
+
fe && "bg-[#16A34A] text-white hover:bg-[#16A34A] focus:bg-[#16A34A]"
|
|
521
522
|
),
|
|
522
523
|
children: f
|
|
523
524
|
},
|
|
@@ -532,8 +533,8 @@ const At = () => /* @__PURE__ */ t(
|
|
|
532
533
|
] });
|
|
533
534
|
}
|
|
534
535
|
);
|
|
535
|
-
|
|
536
|
-
const
|
|
536
|
+
ie.displayName = "DateInput";
|
|
537
|
+
const le = P(
|
|
537
538
|
({
|
|
538
539
|
className: a,
|
|
539
540
|
isFormatted: r,
|
|
@@ -545,9 +546,9 @@ const se = P(
|
|
|
545
546
|
defaultValue: k,
|
|
546
547
|
...y
|
|
547
548
|
}, l) => {
|
|
548
|
-
const N =
|
|
549
|
-
|
|
550
|
-
const v = !!o || !!r, c =
|
|
549
|
+
const N = ye(null);
|
|
550
|
+
te(l, () => N.current);
|
|
551
|
+
const v = !!o || !!r, c = we(
|
|
551
552
|
(b) => {
|
|
552
553
|
if (b == null || b === "")
|
|
553
554
|
return "";
|
|
@@ -560,16 +561,16 @@ const se = P(
|
|
|
560
561
|
type: "text",
|
|
561
562
|
inputMode: "numeric",
|
|
562
563
|
onChange: (b) => {
|
|
563
|
-
const u = b.target,
|
|
564
|
+
const u = b.target, S = u.value, F = S.replace(/\D/g, ""), w = u.selectionStart || 0, L = S.slice(0, w).replace(/\D/g, "").length, B = c(F);
|
|
564
565
|
if (u.value = B, s) {
|
|
565
|
-
const
|
|
566
|
-
u.value =
|
|
566
|
+
const T = u.value;
|
|
567
|
+
u.value = F, s(b), u.value = T;
|
|
567
568
|
}
|
|
568
569
|
if (v) {
|
|
569
|
-
let
|
|
570
|
-
for (;
|
|
571
|
-
/\d/.test(u.value[
|
|
572
|
-
u.setSelectionRange(
|
|
570
|
+
let T = 0, O = 0;
|
|
571
|
+
for (; O < L && T < u.value.length; )
|
|
572
|
+
/\d/.test(u.value[T]) && O++, T++;
|
|
573
|
+
u.setSelectionRange(T, T);
|
|
573
574
|
}
|
|
574
575
|
},
|
|
575
576
|
className: x(
|
|
@@ -597,21 +598,21 @@ const se = P(
|
|
|
597
598
|
] });
|
|
598
599
|
}
|
|
599
600
|
);
|
|
600
|
-
|
|
601
|
-
const
|
|
601
|
+
le.displayName = "NumberField";
|
|
602
|
+
const Kt = {
|
|
602
603
|
96: { name: "Кыргызстан", short: "KG", mask: "+996", length: 9 }
|
|
603
|
-
},
|
|
604
|
+
}, Qt = (a) => {
|
|
604
605
|
const r = a.toUpperCase().split("").map((o) => 127397 + o.charCodeAt(0));
|
|
605
606
|
return String.fromCodePoint(...r);
|
|
606
|
-
},
|
|
607
|
+
}, K = () => Object.entries(Kt).map(([a, r]) => ({
|
|
607
608
|
id: a,
|
|
608
609
|
name: r.name,
|
|
609
610
|
short: r.short,
|
|
610
611
|
mask: r.mask,
|
|
611
612
|
dialCode: r.mask.replace("+", ""),
|
|
612
613
|
length: r.length,
|
|
613
|
-
flag:
|
|
614
|
-
})),
|
|
614
|
+
flag: Qt(r.short)
|
|
615
|
+
})), E = (a) => K().find((o) => o.id === a), J = (a, r) => {
|
|
615
616
|
const o = r.dialCode, n = r.length;
|
|
616
617
|
let e = a;
|
|
617
618
|
a.startsWith(o) && (e = a.slice(o.length));
|
|
@@ -620,10 +621,10 @@ const Yt = {
|
|
|
620
621
|
return r.mask;
|
|
621
622
|
let m = s;
|
|
622
623
|
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}`;
|
|
623
|
-
},
|
|
624
|
+
}, Ut = (a, r) => {
|
|
624
625
|
if (!a)
|
|
625
626
|
return null;
|
|
626
|
-
const o = a.replace(/\D/g, ""), n =
|
|
627
|
+
const o = a.replace(/\D/g, ""), n = K();
|
|
627
628
|
if (a.startsWith("+")) {
|
|
628
629
|
for (const e of n)
|
|
629
630
|
if (a.startsWith(e.mask))
|
|
@@ -632,8 +633,8 @@ const Yt = {
|
|
|
632
633
|
for (const e of n)
|
|
633
634
|
if (o.startsWith(e.dialCode))
|
|
634
635
|
return e;
|
|
635
|
-
return o.startsWith("0") &&
|
|
636
|
-
},
|
|
636
|
+
return o.startsWith("0") && E("96") || null;
|
|
637
|
+
}, ce = P(
|
|
637
638
|
({
|
|
638
639
|
className: a,
|
|
639
640
|
error: r,
|
|
@@ -643,16 +644,16 @@ const Yt = {
|
|
|
643
644
|
defaultCountry: s = "996",
|
|
644
645
|
...m
|
|
645
646
|
}, k) => {
|
|
646
|
-
const [y, l] = I(""), [N, v] = I(s), [c, C] = I(!1), [h, b] = I(""), u = n !== void 0,
|
|
647
|
+
const [y, l] = I(""), [N, v] = I(s), [c, C] = I(!1), [h, b] = I(""), u = n !== void 0, S = u ? n : y, { ref: F } = q(c, () => {
|
|
647
648
|
C(!1), b("");
|
|
648
|
-
}), w =
|
|
649
|
+
}), w = A(() => K(), []), L = E(N) || w[0], B = A(() => {
|
|
649
650
|
if (!h)
|
|
650
651
|
return w;
|
|
651
652
|
const g = h.toLowerCase();
|
|
652
653
|
return w.filter(
|
|
653
654
|
(_) => _.name.toLowerCase().includes(g) || _.mask.toLowerCase().includes(g) || _.short.toLowerCase().includes(g)
|
|
654
655
|
);
|
|
655
|
-
}, [w, h]),
|
|
656
|
+
}, [w, h]), O = ((g) => {
|
|
656
657
|
if (!g)
|
|
657
658
|
return "";
|
|
658
659
|
const _ = g.replace(/\D/g, "");
|
|
@@ -660,21 +661,21 @@ const Yt = {
|
|
|
660
661
|
(_.startsWith(L.dialCode) || g.startsWith(L.mask)) && (f = _.slice(L.dialCode.length));
|
|
661
662
|
const p = f.slice(0, L.length);
|
|
662
663
|
return p.length === 0 ? "" : p.length <= 3 ? p : p.length <= 6 ? `${p.slice(0, 3)} ${p.slice(3)}` : `${p.slice(0, 3)} ${p.slice(3, 6)} ${p.slice(6)}`;
|
|
663
|
-
})(
|
|
664
|
+
})(S), Z = (g) => {
|
|
664
665
|
v(g), C(!1), b("");
|
|
665
|
-
const _ =
|
|
666
|
+
const _ = S.replace(/\D/g, ""), f = E(g);
|
|
666
667
|
if (!f)
|
|
667
668
|
return;
|
|
668
669
|
let p = _;
|
|
669
670
|
_.startsWith(L.dialCode) && (p = _.slice(L.dialCode.length));
|
|
670
|
-
const V =
|
|
671
|
+
const V = J(p, f);
|
|
671
672
|
u || l(V), e == null || e(V);
|
|
672
|
-
},
|
|
673
|
-
const _ = g.target.value, f = _.replace(/\D/g, ""), p =
|
|
673
|
+
}, $ = (g) => {
|
|
674
|
+
const _ = g.target.value, f = _.replace(/\D/g, ""), p = Ut(
|
|
674
675
|
_
|
|
675
676
|
);
|
|
676
677
|
p && p.id !== N && v(p.id);
|
|
677
|
-
const V = p ||
|
|
678
|
+
const V = p || E(N) || L, d = J(f, V);
|
|
678
679
|
u || l(d), e == null || e(d);
|
|
679
680
|
};
|
|
680
681
|
return /* @__PURE__ */ i("div", { className: "w-full", children: [
|
|
@@ -696,7 +697,7 @@ const Yt = {
|
|
|
696
697
|
/* @__PURE__ */ i(
|
|
697
698
|
"div",
|
|
698
699
|
{
|
|
699
|
-
ref:
|
|
700
|
+
ref: F,
|
|
700
701
|
className: "relative",
|
|
701
702
|
children: [
|
|
702
703
|
/* @__PURE__ */ i(
|
|
@@ -759,7 +760,7 @@ const Yt = {
|
|
|
759
760
|
"button",
|
|
760
761
|
{
|
|
761
762
|
type: "button",
|
|
762
|
-
onClick: () =>
|
|
763
|
+
onClick: () => Z(g.id),
|
|
763
764
|
className: x(
|
|
764
765
|
"w-full px-4 py-3 text-left cursor-pointer text-base text-blackBG transition-colors",
|
|
765
766
|
"hover:bg-[#E8F4FD] focus:bg-[#E8F4FD] focus:outline-none",
|
|
@@ -794,8 +795,8 @@ const Yt = {
|
|
|
794
795
|
a
|
|
795
796
|
),
|
|
796
797
|
ref: k,
|
|
797
|
-
value:
|
|
798
|
-
onChange:
|
|
798
|
+
value: O,
|
|
799
|
+
onChange: $,
|
|
799
800
|
placeholder: "XXX XXX XXX",
|
|
800
801
|
...m
|
|
801
802
|
}
|
|
@@ -807,8 +808,8 @@ const Yt = {
|
|
|
807
808
|
] });
|
|
808
809
|
}
|
|
809
810
|
);
|
|
810
|
-
|
|
811
|
-
const
|
|
811
|
+
ce.displayName = "PhoneInput";
|
|
812
|
+
const pe = P(
|
|
812
813
|
({
|
|
813
814
|
label: a,
|
|
814
815
|
options: r,
|
|
@@ -828,7 +829,7 @@ const le = P(
|
|
|
828
829
|
k === "column" ? "flex-col" : "flex-row flex-wrap"
|
|
829
830
|
),
|
|
830
831
|
children: r.map((l) => /* @__PURE__ */ t(
|
|
831
|
-
|
|
832
|
+
de,
|
|
832
833
|
{
|
|
833
834
|
name: n,
|
|
834
835
|
label: l.label,
|
|
@@ -844,8 +845,8 @@ const le = P(
|
|
|
844
845
|
s && /* @__PURE__ */ t("p", { className: "mt-1 text-sm text-red-500", children: s })
|
|
845
846
|
] })
|
|
846
847
|
);
|
|
847
|
-
|
|
848
|
-
const
|
|
848
|
+
pe.displayName = "RadioGroup";
|
|
849
|
+
const de = P(
|
|
849
850
|
({ className: a, label: r, error: o, ...n }, e) => /* @__PURE__ */ i("div", { className: "w-full", children: [
|
|
850
851
|
/* @__PURE__ */ i("label", { className: "flex items-start gap-3 cursor-pointer group", children: [
|
|
851
852
|
/* @__PURE__ */ i("div", { className: "relative flex items-center justify-center mt-0.5", children: [
|
|
@@ -893,8 +894,8 @@ const ce = P(
|
|
|
893
894
|
o && /* @__PURE__ */ t("p", { className: "mt-2 text-sm text-red-500", children: o })
|
|
894
895
|
] })
|
|
895
896
|
);
|
|
896
|
-
|
|
897
|
-
const
|
|
897
|
+
de.displayName = "Radio";
|
|
898
|
+
const me = P(
|
|
898
899
|
({
|
|
899
900
|
className: a,
|
|
900
901
|
error: r,
|
|
@@ -912,18 +913,18 @@ const pe = P(
|
|
|
912
913
|
ref: c,
|
|
913
914
|
isShow: C,
|
|
914
915
|
setIsShow: h
|
|
915
|
-
} =
|
|
916
|
-
|
|
916
|
+
} = q(!1);
|
|
917
|
+
te(v, () => c.current);
|
|
917
918
|
const b = n.find((w) => w.value === s), u = () => {
|
|
918
919
|
l || h(!C);
|
|
919
|
-
},
|
|
920
|
+
}, S = (w) => {
|
|
920
921
|
m && m({
|
|
921
922
|
target: {
|
|
922
923
|
name: y,
|
|
923
924
|
value: w.value
|
|
924
925
|
}
|
|
925
926
|
}), h(!1);
|
|
926
|
-
},
|
|
927
|
+
}, F = (w) => {
|
|
927
928
|
k && k({
|
|
928
929
|
target: {
|
|
929
930
|
name: y,
|
|
@@ -936,7 +937,7 @@ const pe = P(
|
|
|
936
937
|
{
|
|
937
938
|
className: x("w-full", a),
|
|
938
939
|
ref: c,
|
|
939
|
-
onBlur:
|
|
940
|
+
onBlur: F,
|
|
940
941
|
...N,
|
|
941
942
|
children: [
|
|
942
943
|
o && /* @__PURE__ */ t("label", { className: "mb-2 block text-sm font-medium text-blackBG", children: o }),
|
|
@@ -993,7 +994,7 @@ const pe = P(
|
|
|
993
994
|
"button",
|
|
994
995
|
{
|
|
995
996
|
type: "button",
|
|
996
|
-
onClick: () =>
|
|
997
|
+
onClick: () => S(w),
|
|
997
998
|
className: x(
|
|
998
999
|
"flex w-full items-center px-5 py-3 text-left text-base transition-colors",
|
|
999
1000
|
"hover:bg-green-50 active:bg-green-100",
|
|
@@ -1014,11 +1015,11 @@ const pe = P(
|
|
|
1014
1015
|
);
|
|
1015
1016
|
}
|
|
1016
1017
|
);
|
|
1017
|
-
|
|
1018
|
-
const
|
|
1019
|
-
TitleBlock:
|
|
1020
|
-
WarningCard:
|
|
1021
|
-
},
|
|
1018
|
+
me.displayName = "Select";
|
|
1019
|
+
const Jt = {
|
|
1020
|
+
TitleBlock: oe,
|
|
1021
|
+
WarningCard: z
|
|
1022
|
+
}, er = [
|
|
1022
1023
|
{
|
|
1023
1024
|
label: "TitleBlock",
|
|
1024
1025
|
value: "TitleBlock"
|
|
@@ -1027,23 +1028,23 @@ const Ut = {
|
|
|
1027
1028
|
label: "WarningCard",
|
|
1028
1029
|
value: "WarningCard"
|
|
1029
1030
|
}
|
|
1030
|
-
],
|
|
1031
|
-
text:
|
|
1032
|
-
number:
|
|
1033
|
-
phone:
|
|
1034
|
-
select:
|
|
1035
|
-
date:
|
|
1036
|
-
radio:
|
|
1037
|
-
checkbox:
|
|
1038
|
-
file:
|
|
1039
|
-
},
|
|
1031
|
+
], tr = {
|
|
1032
|
+
text: se,
|
|
1033
|
+
number: le,
|
|
1034
|
+
phone: ce,
|
|
1035
|
+
select: me,
|
|
1036
|
+
date: ie,
|
|
1037
|
+
radio: pe,
|
|
1038
|
+
checkbox: ne,
|
|
1039
|
+
file: Qe
|
|
1040
|
+
}, rr = (a, {
|
|
1040
1041
|
register: r,
|
|
1041
1042
|
errors: o,
|
|
1042
1043
|
control: n
|
|
1043
1044
|
}) => a.map((e, s) => {
|
|
1044
1045
|
var k;
|
|
1045
1046
|
if ((e == null ? void 0 : e.componentType) === "component") {
|
|
1046
|
-
const y =
|
|
1047
|
+
const y = Jt[e == null ? void 0 : e.key];
|
|
1047
1048
|
if (y)
|
|
1048
1049
|
return /* @__PURE__ */ t(
|
|
1049
1050
|
y,
|
|
@@ -1053,13 +1054,13 @@ const Ut = {
|
|
|
1053
1054
|
s
|
|
1054
1055
|
);
|
|
1055
1056
|
}
|
|
1056
|
-
const m =
|
|
1057
|
+
const m = tr[e == null ? void 0 : e.type];
|
|
1057
1058
|
if (m) {
|
|
1058
1059
|
const y = ["select", "radio", "checkbox", "file"].includes(
|
|
1059
1060
|
e.type
|
|
1060
1061
|
), l = (k = o[e.name]) == null ? void 0 : k.message;
|
|
1061
1062
|
return y && n ? /* @__PURE__ */ t(
|
|
1062
|
-
|
|
1063
|
+
ze,
|
|
1063
1064
|
{
|
|
1064
1065
|
name: e.name,
|
|
1065
1066
|
control: n,
|
|
@@ -1090,54 +1091,70 @@ const Ut = {
|
|
|
1090
1091
|
);
|
|
1091
1092
|
}
|
|
1092
1093
|
return null;
|
|
1093
|
-
}),
|
|
1094
|
+
}), Q = ({
|
|
1094
1095
|
label: a,
|
|
1095
1096
|
type: r,
|
|
1096
1097
|
options: o
|
|
1097
1098
|
}) => ({
|
|
1098
|
-
dataType:
|
|
1099
|
+
dataType: X.select,
|
|
1099
1100
|
label: a,
|
|
1100
1101
|
type: r,
|
|
1101
1102
|
options: o
|
|
1102
|
-
}),
|
|
1103
|
+
}), ga = {
|
|
1103
1104
|
title: "Оставьте заявку, чтобы подключить MKassa",
|
|
1104
1105
|
subtitle: "с Вами свяжется наш специалист и поможет с подключением сервиса"
|
|
1105
|
-
},
|
|
1106
|
+
}, xa = {
|
|
1106
1107
|
title: "Форма заявки",
|
|
1107
1108
|
description: "Форма заявки ",
|
|
1108
|
-
types: [
|
|
1109
|
+
types: [ee.form]
|
|
1109
1110
|
// propsToEdit: propsToEdit,
|
|
1110
|
-
},
|
|
1111
|
+
}, or = {
|
|
1111
1112
|
title: "Оставьте заявку, чтобы подключить MKassa",
|
|
1112
1113
|
description: "с Вами свяжется наш специалист и поможет с подключением сервиса",
|
|
1113
1114
|
color: "#45464b"
|
|
1114
|
-
},
|
|
1115
|
+
}, ar = Q({
|
|
1115
1116
|
label: "Тип поля",
|
|
1116
1117
|
type: "componentType",
|
|
1117
|
-
options:
|
|
1118
|
-
}),
|
|
1118
|
+
options: jt
|
|
1119
|
+
}), nr = Q({
|
|
1119
1120
|
label: "Компонент",
|
|
1120
1121
|
type: "componentType",
|
|
1121
|
-
options:
|
|
1122
|
-
}),
|
|
1122
|
+
options: er
|
|
1123
|
+
}), sr = Q({
|
|
1124
|
+
label: "Тип поля",
|
|
1125
|
+
type: "fieldType",
|
|
1126
|
+
options: Et
|
|
1127
|
+
}), ir = {
|
|
1123
1128
|
type: "fields",
|
|
1124
1129
|
dataType: "array",
|
|
1125
1130
|
label: "Поля для формы",
|
|
1126
1131
|
data: {
|
|
1127
|
-
componentType:
|
|
1128
|
-
type:
|
|
1129
|
-
key:
|
|
1130
|
-
name:
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1132
|
+
componentType: ar,
|
|
1133
|
+
type: sr,
|
|
1134
|
+
key: nr,
|
|
1135
|
+
name: G.STRING,
|
|
1136
|
+
props: {
|
|
1137
|
+
dataType: X.object,
|
|
1138
|
+
keys: {
|
|
1139
|
+
title: G.TITLE,
|
|
1140
|
+
description: G.DESCRIPTION,
|
|
1141
|
+
html_content: G.HTML_CONTENT
|
|
1142
|
+
}
|
|
1134
1143
|
},
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1144
|
+
field_props: {
|
|
1145
|
+
dataType: X.object,
|
|
1146
|
+
keys: {
|
|
1147
|
+
label: G.TITLE,
|
|
1148
|
+
placeholder: G.DESCRIPTION,
|
|
1149
|
+
is_required: G.BOOLEAN
|
|
1150
|
+
}
|
|
1138
1151
|
}
|
|
1152
|
+
// form_item_props: {
|
|
1153
|
+
// label: FieldTypes.STRING,
|
|
1154
|
+
// placeholder: FieldTypes.STRING,
|
|
1155
|
+
// },
|
|
1139
1156
|
}
|
|
1140
|
-
},
|
|
1157
|
+
}, lr = ["title", "subtitle", "color", ir], ue = ({
|
|
1141
1158
|
title: a,
|
|
1142
1159
|
subtitle: r,
|
|
1143
1160
|
color: o,
|
|
@@ -1146,31 +1163,31 @@ const Ut = {
|
|
|
1146
1163
|
fields: s = []
|
|
1147
1164
|
}) => {
|
|
1148
1165
|
var L;
|
|
1149
|
-
const [m, k] = I(!1), [y, l] = I(!1), N =
|
|
1166
|
+
const [m, k] = I(!1), [y, l] = I(!1), N = Ke(960), {
|
|
1150
1167
|
register: v,
|
|
1151
1168
|
handleSubmit: c,
|
|
1152
1169
|
watch: C,
|
|
1153
1170
|
reset: h,
|
|
1154
1171
|
control: b,
|
|
1155
1172
|
formState: { errors: u }
|
|
1156
|
-
} =
|
|
1173
|
+
} = Ye({
|
|
1157
1174
|
defaultValues: {
|
|
1158
1175
|
fio: "",
|
|
1159
1176
|
phone: "",
|
|
1160
1177
|
business_category: "",
|
|
1161
1178
|
agreement: !1
|
|
1162
1179
|
}
|
|
1163
|
-
}),
|
|
1180
|
+
}), S = C("agreement"), F = async (B) => {
|
|
1164
1181
|
console.log("Form submitted:", B);
|
|
1165
|
-
}, w =
|
|
1182
|
+
}, w = rr(s || [], {
|
|
1166
1183
|
register: v,
|
|
1167
1184
|
errors: u,
|
|
1168
1185
|
control: b
|
|
1169
1186
|
});
|
|
1170
|
-
return /* @__PURE__ */ t(
|
|
1187
|
+
return /* @__PURE__ */ t(re, { children: /* @__PURE__ */ t(
|
|
1171
1188
|
"form",
|
|
1172
1189
|
{
|
|
1173
|
-
onSubmit: c(
|
|
1190
|
+
onSubmit: c(F),
|
|
1174
1191
|
id: "application_form",
|
|
1175
1192
|
className: "w-full",
|
|
1176
1193
|
children: /* @__PURE__ */ i(
|
|
@@ -1208,7 +1225,7 @@ const Ut = {
|
|
|
1208
1225
|
/* @__PURE__ */ t("div", { className: "font-semibold text-[24px] leading-[32px] text-blackBG mb-3", children: "Заявка успешно отправлена" }),
|
|
1209
1226
|
/* @__PURE__ */ t("div", { className: "text-[18px] leading-[26px] text-graySoft", children: "С Вами свяжется наш специалист и поможет с подключением сервиса" }),
|
|
1210
1227
|
/* @__PURE__ */ t(
|
|
1211
|
-
|
|
1228
|
+
R,
|
|
1212
1229
|
{
|
|
1213
1230
|
className: "justify-center m-auto mt-6",
|
|
1214
1231
|
title: "Закрыть",
|
|
@@ -1218,7 +1235,7 @@ const Ut = {
|
|
|
1218
1235
|
}
|
|
1219
1236
|
)
|
|
1220
1237
|
] })
|
|
1221
|
-
] }) }) : /* @__PURE__ */ i(
|
|
1238
|
+
] }) }) : /* @__PURE__ */ i(U, { children: [
|
|
1222
1239
|
/* @__PURE__ */ t(
|
|
1223
1240
|
"div",
|
|
1224
1241
|
{
|
|
@@ -1231,13 +1248,13 @@ const Ut = {
|
|
|
1231
1248
|
}
|
|
1232
1249
|
),
|
|
1233
1250
|
/* @__PURE__ */ t("div", { className: "pt-2", children: /* @__PURE__ */ t(
|
|
1234
|
-
|
|
1251
|
+
Y,
|
|
1235
1252
|
{
|
|
1236
1253
|
...v("agreement", {
|
|
1237
1254
|
required: "Необходимо согласие на обработку персональных данных"
|
|
1238
1255
|
}),
|
|
1239
1256
|
error: (L = u.agreement) == null ? void 0 : L.message,
|
|
1240
|
-
label: /* @__PURE__ */ i(
|
|
1257
|
+
label: /* @__PURE__ */ i(U, { children: [
|
|
1241
1258
|
"Я соглашаюсь с",
|
|
1242
1259
|
" ",
|
|
1243
1260
|
/* @__PURE__ */ t(
|
|
@@ -1255,14 +1272,14 @@ const Ut = {
|
|
|
1255
1272
|
}
|
|
1256
1273
|
) }),
|
|
1257
1274
|
/* @__PURE__ */ t("div", { className: "mt-6 w-[640px] max-tablet:w-full", children: /* @__PURE__ */ t(
|
|
1258
|
-
|
|
1275
|
+
R,
|
|
1259
1276
|
{
|
|
1260
1277
|
loading: y,
|
|
1261
1278
|
className: "w-full whitespace-nowrap transition-all duration-200 hover:scale-[1.02] active:scale-[0.98]",
|
|
1262
1279
|
type: "submit",
|
|
1263
|
-
size:
|
|
1264
|
-
variant:
|
|
1265
|
-
disabled: !
|
|
1280
|
+
size: Ce.XL,
|
|
1281
|
+
variant: De.Primary,
|
|
1282
|
+
disabled: !S || y,
|
|
1266
1283
|
children: "Отправить заявку"
|
|
1267
1284
|
}
|
|
1268
1285
|
) })
|
|
@@ -1273,112 +1290,112 @@ const Ut = {
|
|
|
1273
1290
|
}
|
|
1274
1291
|
) });
|
|
1275
1292
|
};
|
|
1276
|
-
|
|
1277
|
-
const
|
|
1293
|
+
ue.propsToEdit = lr;
|
|
1294
|
+
const ba = {
|
|
1278
1295
|
MainBanner: { key: "MainBanner", component: He },
|
|
1279
|
-
Banner: { key: "Banner", component:
|
|
1280
|
-
CardImageList: { key: "CardImageList", component:
|
|
1281
|
-
Stepper: { key: "Stepper", component:
|
|
1282
|
-
Segments: { key: "Segments", component:
|
|
1283
|
-
VideoFull: { key: "VideoFull", component:
|
|
1284
|
-
VideoList: { key: "VideoList", component:
|
|
1285
|
-
VideoListMini: { key: "VideoListMini", component:
|
|
1296
|
+
Banner: { key: "Banner", component: xe },
|
|
1297
|
+
CardImageList: { key: "CardImageList", component: Te },
|
|
1298
|
+
Stepper: { key: "Stepper", component: Ne },
|
|
1299
|
+
Segments: { key: "Segments", component: Le },
|
|
1300
|
+
VideoFull: { key: "VideoFull", component: _e },
|
|
1301
|
+
VideoList: { key: "VideoList", component: Be },
|
|
1302
|
+
VideoListMini: { key: "VideoListMini", component: Me },
|
|
1286
1303
|
ContentCardList: { key: "ContentCardList", component: Se },
|
|
1287
1304
|
CardIconList: { key: "CardIconList", component: Fe },
|
|
1288
|
-
MultiCards: { key: "MultiCards", component:
|
|
1289
|
-
Partners: { key: "Partners", component:
|
|
1305
|
+
MultiCards: { key: "MultiCards", component: Ve },
|
|
1306
|
+
Partners: { key: "Partners", component: Ie },
|
|
1290
1307
|
PartnersColors: { key: "PartnersColors", component: Ge },
|
|
1291
|
-
WarningCard: { key: "WarningCard", component:
|
|
1292
|
-
Faq: { key: "Faq", component:
|
|
1308
|
+
WarningCard: { key: "WarningCard", component: z },
|
|
1309
|
+
Faq: { key: "Faq", component: Pe },
|
|
1293
1310
|
DownloadFileBanner: {
|
|
1294
1311
|
key: "DownloadFileBanner",
|
|
1295
1312
|
component: je
|
|
1296
1313
|
},
|
|
1297
|
-
DownloadFileHalf: { key: "DownloadFileHalf", component:
|
|
1298
|
-
DownloadFileFull: { key: "DownloadFileFull", component:
|
|
1299
|
-
DownloadFileMini: { key: "DownloadFileMini", component:
|
|
1300
|
-
InstructionList: { key: "InstructionList", component:
|
|
1301
|
-
PreviewList: { key: "PreviewList", component:
|
|
1302
|
-
SwiperList: { key: "SwiperList", component:
|
|
1314
|
+
DownloadFileHalf: { key: "DownloadFileHalf", component: Ae },
|
|
1315
|
+
DownloadFileFull: { key: "DownloadFileFull", component: Ee },
|
|
1316
|
+
DownloadFileMini: { key: "DownloadFileMini", component: Ze },
|
|
1317
|
+
InstructionList: { key: "InstructionList", component: We },
|
|
1318
|
+
PreviewList: { key: "PreviewList", component: Oe },
|
|
1319
|
+
SwiperList: { key: "SwiperList", component: ot },
|
|
1303
1320
|
AnimatedSwiper: { key: "AnimatedSwiper", component: $e },
|
|
1304
|
-
InfoBannerList: { key: "InfoBannerList", component:
|
|
1305
|
-
TasksBannerList: { key: "TasksBannerList", component:
|
|
1306
|
-
VideoMainBanner: { key: "VideoMainBanner", component:
|
|
1307
|
-
Space: { key: "Space", component:
|
|
1308
|
-
PromoPoster: { key: "PromoPoster", component:
|
|
1321
|
+
InfoBannerList: { key: "InfoBannerList", component: Ue },
|
|
1322
|
+
TasksBannerList: { key: "TasksBannerList", component: at },
|
|
1323
|
+
VideoMainBanner: { key: "VideoMainBanner", component: nt },
|
|
1324
|
+
Space: { key: "Space", component: tt },
|
|
1325
|
+
PromoPoster: { key: "PromoPoster", component: et },
|
|
1309
1326
|
CardImageSecondaryList: {
|
|
1310
1327
|
key: "CardImageSecondaryList",
|
|
1311
|
-
component:
|
|
1328
|
+
component: Re
|
|
1312
1329
|
},
|
|
1313
|
-
CardInfoTable: { key: "CardInfoTable", component:
|
|
1314
|
-
StandartTable: { key: "StandartTable", component:
|
|
1315
|
-
IntroBanner: { key: "IntroBanner", component:
|
|
1330
|
+
CardInfoTable: { key: "CardInfoTable", component: Xe },
|
|
1331
|
+
StandartTable: { key: "StandartTable", component: rt },
|
|
1332
|
+
IntroBanner: { key: "IntroBanner", component: Je },
|
|
1316
1333
|
DownloadFileBright: {
|
|
1317
1334
|
key: "DownloadFileBright",
|
|
1318
|
-
component:
|
|
1335
|
+
component: qe
|
|
1319
1336
|
},
|
|
1320
1337
|
FormDefault: {
|
|
1321
1338
|
key: "FormDefault",
|
|
1322
|
-
component:
|
|
1339
|
+
component: ue
|
|
1323
1340
|
},
|
|
1324
|
-
Header: { key: "Header", component:
|
|
1325
|
-
Footer: { key: "Footer", component:
|
|
1326
|
-
TitleBlock: { key: "TitleBlock", component:
|
|
1327
|
-
},
|
|
1328
|
-
MainBanner:
|
|
1329
|
-
Banner:
|
|
1330
|
-
CardImageList:
|
|
1331
|
-
Stepper:
|
|
1332
|
-
Segments:
|
|
1333
|
-
VideoFull:
|
|
1334
|
-
VideoList:
|
|
1335
|
-
VideoListMini:
|
|
1336
|
-
ContentCardList:
|
|
1337
|
-
CardIconList:
|
|
1338
|
-
MultiCards:
|
|
1339
|
-
Partners:
|
|
1340
|
-
PartnersColors:
|
|
1341
|
-
WarningCard:
|
|
1342
|
-
Faq:
|
|
1343
|
-
DownloadFileBanner:
|
|
1344
|
-
DownloadFileHalf:
|
|
1345
|
-
DownloadFileFull:
|
|
1346
|
-
DownloadFileMini:
|
|
1347
|
-
InstructionList:
|
|
1348
|
-
PreviewList:
|
|
1349
|
-
SwiperList:
|
|
1350
|
-
AnimatedSwiper:
|
|
1351
|
-
InfoBannerList:
|
|
1341
|
+
Header: { key: "Header", component: At },
|
|
1342
|
+
Footer: { key: "Footer", component: Zt },
|
|
1343
|
+
TitleBlock: { key: "TitleBlock", component: oe }
|
|
1344
|
+
}, ya = {
|
|
1345
|
+
MainBanner: st.component_props,
|
|
1346
|
+
Banner: it.component_props,
|
|
1347
|
+
CardImageList: lt.component_props,
|
|
1348
|
+
Stepper: ct.component_props,
|
|
1349
|
+
Segments: pt.component_props,
|
|
1350
|
+
VideoFull: dt.component_props,
|
|
1351
|
+
VideoList: mt.component_props,
|
|
1352
|
+
VideoListMini: ut.component_props,
|
|
1353
|
+
ContentCardList: ft.component_props,
|
|
1354
|
+
CardIconList: ht.component_props,
|
|
1355
|
+
MultiCards: gt.component_props,
|
|
1356
|
+
Partners: xt.component_props,
|
|
1357
|
+
PartnersColors: bt.component_props,
|
|
1358
|
+
WarningCard: yt.component_props,
|
|
1359
|
+
Faq: wt.component_props,
|
|
1360
|
+
DownloadFileBanner: kt.component_props,
|
|
1361
|
+
DownloadFileHalf: vt.component_props,
|
|
1362
|
+
DownloadFileFull: Ct.component_props,
|
|
1363
|
+
DownloadFileMini: Dt.component_props,
|
|
1364
|
+
InstructionList: Nt.component_props,
|
|
1365
|
+
PreviewList: Lt.component_props,
|
|
1366
|
+
SwiperList: _t.component_props,
|
|
1367
|
+
AnimatedSwiper: Bt.component_props,
|
|
1368
|
+
InfoBannerList: Mt.component_props,
|
|
1352
1369
|
TasksBannerList: St.component_props,
|
|
1353
1370
|
VideoMainBanner: Ft.component_props,
|
|
1354
|
-
EmptyBox:
|
|
1355
|
-
PromoPoster:
|
|
1356
|
-
CardImageSecondaryList:
|
|
1371
|
+
EmptyBox: Vt.component_props,
|
|
1372
|
+
PromoPoster: It.component_props,
|
|
1373
|
+
CardImageSecondaryList: Tt.component_props,
|
|
1357
1374
|
CardInfoTable: Ht.component_props,
|
|
1358
|
-
StandartTable:
|
|
1359
|
-
IntroBanner:
|
|
1375
|
+
StandartTable: Pt.component_props,
|
|
1376
|
+
IntroBanner: Wt.component_props,
|
|
1360
1377
|
DownloadFileBright: Gt.component_props,
|
|
1361
|
-
FormDefault:
|
|
1362
|
-
TitleBlock:
|
|
1363
|
-
},
|
|
1378
|
+
FormDefault: or,
|
|
1379
|
+
TitleBlock: Ot.component_props
|
|
1380
|
+
}, wa = {
|
|
1364
1381
|
title: "Предупреждающая карточка",
|
|
1365
1382
|
description: "Компонент для отображения предупреждающей информации в виде карточки с иконкой, заголовком и описанием. Используется для привлечения внимания к важной информации или предупреждениям.",
|
|
1366
|
-
types: [
|
|
1367
|
-
propsToEdit:
|
|
1383
|
+
types: [ee.cards],
|
|
1384
|
+
propsToEdit: ae
|
|
1368
1385
|
};
|
|
1369
1386
|
export {
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1387
|
+
ya as A,
|
|
1388
|
+
ue as F,
|
|
1389
|
+
z as W,
|
|
1390
|
+
ba as a,
|
|
1391
|
+
er as b,
|
|
1392
|
+
Jt as c,
|
|
1393
|
+
or as d,
|
|
1394
|
+
ir as e,
|
|
1395
|
+
xa as f,
|
|
1396
|
+
lr as g,
|
|
1397
|
+
ga as i,
|
|
1398
|
+
ae as p,
|
|
1399
|
+
rr as r,
|
|
1400
|
+
wa as w
|
|
1384
1401
|
};
|