md-components-mdigial-azamat 0.0.101 → 0.0.102
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/ActionCardList/ActionCardList.js +1 -1
- package/dist/ActionCardList/index.js +1 -1
- package/dist/ActionCardList/info.js +1 -1
- package/dist/ActionIconList/ActionIconList.js +1 -1
- package/dist/AllComponents.js +1 -1
- package/dist/AllComponentsInfo.js +1 -1
- package/dist/Cards/WarningCard/WarningCard.js +1 -1
- 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 +1 -1
- 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-115a0a7c.js → componentsMap-9793afd1.js} +1 -1
- package/dist/{info-da40b55d.js → info-f6b3dcd3.js} +314 -310
- package/dist/main.js +1 -1
- package/package.json +1 -1
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { C as q } from "./index-0a5f313c.js";
|
|
2
|
-
import { jsx as e, jsxs as
|
|
2
|
+
import { jsx as e, jsxs as p, Fragment as R } from "react/jsx-runtime";
|
|
3
3
|
import { warningCardVariant as xe, WarningCardVariant as G, WarningCardVariantKey as ye } from "./Cards/WarningCard/model.js";
|
|
4
4
|
import "./ConfigProvider/index.js";
|
|
5
5
|
import { Banner as we } from "./Banner/Banner.js";
|
|
6
6
|
import "./BannerAndText/index.js";
|
|
7
|
-
import { forwardRef as
|
|
7
|
+
import { forwardRef as j, useState as T, useMemo as Z, useEffect as ke, useRef as Ce, useImperativeHandle as re, useCallback as ve } from "react";
|
|
8
8
|
import { c as y } 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 Le } from "./HtmlContent/HtmlContent.js";
|
|
12
12
|
import "./Header/components/TabsOutlined/TabsOutlined.js";
|
|
13
13
|
import { B as X } from "./index-875e92ce.js";
|
|
14
|
-
import { B as
|
|
14
|
+
import { B as De, a as Ne, b as _e } from "./const-53dff524.js";
|
|
15
15
|
import { Stepper as Be } from "./Stepper/Stepper.js";
|
|
16
16
|
import { Segments as Se } from "./Segments/Segments.js";
|
|
17
17
|
import { VideoFull as Fe } from "./Video/VideoFull/VideoFull.js";
|
|
@@ -22,9 +22,9 @@ import { CardIconList as Te } from "./CardIconList/CardIconList.js";
|
|
|
22
22
|
import { MultiCards as He } from "./MultiCards/index.js";
|
|
23
23
|
import { Partners as Pe } from "./Partners/Partners.js";
|
|
24
24
|
import { CardImageList as Ee } from "./CardImageList/CardImageList.js";
|
|
25
|
-
import { MainBanner as
|
|
26
|
-
import { Faq as
|
|
27
|
-
import { InstructionList as
|
|
25
|
+
import { MainBanner as je } from "./MainBanner/MainBanner.js";
|
|
26
|
+
import { Faq as We } from "./Faq/Faq.js";
|
|
27
|
+
import { InstructionList as Ae } from "./InstructionList/InstructionList.js";
|
|
28
28
|
import "./HeroPossibilityBanner/index.js";
|
|
29
29
|
import { PartnersColors as Oe } from "./PartnersColors/PartnersColors.js";
|
|
30
30
|
import { PreviewList as Ge } from "./PreviewList/PreviewList.js";
|
|
@@ -61,8 +61,8 @@ import { SwiperList as it } from "./SwiperList/SwiperList.js";
|
|
|
61
61
|
import "./TasksBanner/TasksBanner.js";
|
|
62
62
|
import { TasksBannerList as lt } from "./TasksBannerList/TasksBannerList.js";
|
|
63
63
|
import { VideoMainBanner as ct } from "./VideoMainBanner/VideoMainBanner.js";
|
|
64
|
-
import { M as dt, B as pt, C as mt, S as ut, b as ft, V as ht, c as gt, d as bt, e as xt, f as yt, g as wt, P as kt, h as Ct, W as vt, F as
|
|
65
|
-
import { FieldTypes as
|
|
64
|
+
import { M as dt, B as pt, C as mt, S as ut, b as ft, V as ht, c as gt, d as bt, e as xt, f as yt, g as wt, P as kt, h as Ct, W as vt, F as Lt, k as Dt, D as Nt, l as _t, m as Bt, I as St, o as Ft, p as Mt, A as Vt, q as It, T as Tt, r as Ht, E as Pt, s as Et, t as jt, u as Wt, v as At, w as Ot, x as Gt, y as $t } from "./data.mock-f00bb32c.js";
|
|
65
|
+
import { FieldTypes as E, DataTypesEnum as z } from "./Types/FiledTypes.js";
|
|
66
66
|
import "react-dom";
|
|
67
67
|
import "./AnimatedSwiper/info.js";
|
|
68
68
|
import "./Banner/info.js";
|
|
@@ -120,23 +120,23 @@ const ne = [
|
|
|
120
120
|
"description",
|
|
121
121
|
"description_color",
|
|
122
122
|
"html_content",
|
|
123
|
-
|
|
123
|
+
De,
|
|
124
124
|
xe
|
|
125
125
|
], U = ({
|
|
126
|
-
title:
|
|
126
|
+
title: s,
|
|
127
127
|
description: o,
|
|
128
128
|
button: a,
|
|
129
129
|
html_content: i,
|
|
130
130
|
variant: r = ye.Orange
|
|
131
131
|
}) => {
|
|
132
|
-
var t, u, w,
|
|
132
|
+
var t, u, w, D;
|
|
133
133
|
return /* @__PURE__ */ e(oe, { children: /* @__PURE__ */ e(
|
|
134
134
|
"div",
|
|
135
135
|
{
|
|
136
136
|
className: "rounded-[24px] p-6",
|
|
137
137
|
style: { background: (t = G[r]) == null ? void 0 : t.background },
|
|
138
|
-
children: /* @__PURE__ */
|
|
139
|
-
/* @__PURE__ */
|
|
138
|
+
children: /* @__PURE__ */ p("div", { className: "flex gap-4 items-center justify-between", children: [
|
|
139
|
+
/* @__PURE__ */ p(
|
|
140
140
|
"div",
|
|
141
141
|
{
|
|
142
142
|
className: "flex gap-[16px] items-center max-tablet:flex-col max-tablet:items-start max-tablet:gap-[12px]",
|
|
@@ -148,24 +148,24 @@ const ne = [
|
|
|
148
148
|
size: 40
|
|
149
149
|
}
|
|
150
150
|
),
|
|
151
|
-
/* @__PURE__ */
|
|
151
|
+
/* @__PURE__ */ p("div", { className: "flex flex-col gap-[4px] max-tablet:gap-0", children: [
|
|
152
152
|
/* @__PURE__ */ e(
|
|
153
153
|
"p",
|
|
154
154
|
{
|
|
155
155
|
className: y("text-[24px] leading-8 font-bold"),
|
|
156
156
|
style: { color: (w = G[r]) == null ? void 0 : w.textColor },
|
|
157
|
-
children:
|
|
157
|
+
children: s
|
|
158
158
|
}
|
|
159
159
|
),
|
|
160
160
|
/* @__PURE__ */ e(
|
|
161
161
|
"p",
|
|
162
162
|
{
|
|
163
163
|
className: "text-[16px] leading-6",
|
|
164
|
-
style: { color: (
|
|
164
|
+
style: { color: (D = G[r]) == null ? void 0 : D.textColor },
|
|
165
165
|
children: o
|
|
166
166
|
}
|
|
167
167
|
),
|
|
168
|
-
i && /* @__PURE__ */ e(
|
|
168
|
+
i && /* @__PURE__ */ e(Le, { data: i })
|
|
169
169
|
] })
|
|
170
170
|
]
|
|
171
171
|
}
|
|
@@ -181,20 +181,20 @@ const Ut = {
|
|
|
181
181
|
label: "Карточки действий",
|
|
182
182
|
dataType: "array",
|
|
183
183
|
data: {
|
|
184
|
-
title:
|
|
185
|
-
icon:
|
|
186
|
-
link:
|
|
184
|
+
title: E.TITLE,
|
|
185
|
+
icon: E.FILE,
|
|
186
|
+
link: E.LINK
|
|
187
187
|
}
|
|
188
188
|
}, se = ["title", "description", "marginBottom", Ut], ie = ({
|
|
189
|
-
title:
|
|
189
|
+
title: s,
|
|
190
190
|
description: o,
|
|
191
191
|
marginBottom: a,
|
|
192
192
|
cards: i
|
|
193
|
-
}) => /* @__PURE__ */
|
|
193
|
+
}) => /* @__PURE__ */ p(R, { children: [
|
|
194
194
|
/* @__PURE__ */ e(
|
|
195
195
|
Y,
|
|
196
196
|
{
|
|
197
|
-
title:
|
|
197
|
+
title: s,
|
|
198
198
|
description: o,
|
|
199
199
|
marginBottom: a
|
|
200
200
|
}
|
|
@@ -210,9 +210,9 @@ const Ut = {
|
|
|
210
210
|
)) })
|
|
211
211
|
] });
|
|
212
212
|
ie.propsToEdit = se;
|
|
213
|
-
const le =
|
|
213
|
+
const le = j(
|
|
214
214
|
({
|
|
215
|
-
label:
|
|
215
|
+
label: s,
|
|
216
216
|
options: o = [],
|
|
217
217
|
value: a = [],
|
|
218
218
|
onChange: i,
|
|
@@ -220,19 +220,19 @@ const le = E(
|
|
|
220
220
|
className: t,
|
|
221
221
|
direction: u = "column"
|
|
222
222
|
}, w) => {
|
|
223
|
-
const
|
|
223
|
+
const D = (n) => {
|
|
224
224
|
if (!i)
|
|
225
225
|
return;
|
|
226
|
-
const N = a.includes(
|
|
226
|
+
const N = a.includes(n) ? a.filter((k) => k !== n) : [...a, n];
|
|
227
227
|
i(N);
|
|
228
228
|
};
|
|
229
|
-
return /* @__PURE__ */
|
|
229
|
+
return /* @__PURE__ */ p(
|
|
230
230
|
"div",
|
|
231
231
|
{
|
|
232
232
|
ref: w,
|
|
233
233
|
className: y("flex flex-col gap-2", t),
|
|
234
234
|
children: [
|
|
235
|
-
|
|
235
|
+
s && /* @__PURE__ */ e("label", { className: "text-sm font-medium text-blackBG mb-1", children: s }),
|
|
236
236
|
/* @__PURE__ */ e(
|
|
237
237
|
"div",
|
|
238
238
|
{
|
|
@@ -240,15 +240,15 @@ const le = E(
|
|
|
240
240
|
"flex gap-4",
|
|
241
241
|
u === "column" ? "flex-col" : "flex-row flex-wrap"
|
|
242
242
|
),
|
|
243
|
-
children: o == null ? void 0 : o.map((
|
|
243
|
+
children: o == null ? void 0 : o.map((n) => /* @__PURE__ */ e(
|
|
244
244
|
Q,
|
|
245
245
|
{
|
|
246
|
-
label:
|
|
247
|
-
checked: a.includes(
|
|
248
|
-
onChange: () =>
|
|
246
|
+
label: n == null ? void 0 : n.label,
|
|
247
|
+
checked: a.includes(n == null ? void 0 : n.value),
|
|
248
|
+
onChange: () => D(n == null ? void 0 : n.value),
|
|
249
249
|
error: r && (a == null ? void 0 : a.length) === 0 ? r : void 0
|
|
250
250
|
},
|
|
251
|
-
|
|
251
|
+
n == null ? void 0 : n.value
|
|
252
252
|
))
|
|
253
253
|
}
|
|
254
254
|
),
|
|
@@ -259,10 +259,10 @@ const le = E(
|
|
|
259
259
|
}
|
|
260
260
|
);
|
|
261
261
|
le.displayName = "CheckboxGroup";
|
|
262
|
-
const Q =
|
|
263
|
-
({ className:
|
|
264
|
-
/* @__PURE__ */
|
|
265
|
-
/* @__PURE__ */
|
|
262
|
+
const Q = j(
|
|
263
|
+
({ className: s, label: o, error: a, ...i }, r) => /* @__PURE__ */ p("div", { className: "w-full", children: [
|
|
264
|
+
/* @__PURE__ */ p("label", { className: "flex items-start gap-3 cursor-pointer group", children: [
|
|
265
|
+
/* @__PURE__ */ p("div", { className: "relative flex items-center justify-center mt-0.5", children: [
|
|
266
266
|
/* @__PURE__ */ e(
|
|
267
267
|
"input",
|
|
268
268
|
{
|
|
@@ -287,7 +287,7 @@ const Q = E(
|
|
|
287
287
|
"after:rotate-45 after:-translate-x-[2px] after:translate-y-[-2px] after:top-1/2 after:left-1/2",
|
|
288
288
|
"after:translate-y-[-50%] after:translate-x-[-50%] peer-checked:after:opacity-100",
|
|
289
289
|
a && "border-red-500",
|
|
290
|
-
|
|
290
|
+
s
|
|
291
291
|
)
|
|
292
292
|
}
|
|
293
293
|
)
|
|
@@ -308,8 +308,8 @@ const Q = E(
|
|
|
308
308
|
] })
|
|
309
309
|
);
|
|
310
310
|
Q.displayName = "Checkbox";
|
|
311
|
-
const ce =
|
|
312
|
-
({ className:
|
|
311
|
+
const ce = j(
|
|
312
|
+
({ className: s, type: o, error: a, label: i, ...r }, t) => /* @__PURE__ */ p("div", { className: "w-full", children: [
|
|
313
313
|
i && /* @__PURE__ */ e("label", { className: "block text-sm font-medium text-blackBG mb-2", children: i }),
|
|
314
314
|
/* @__PURE__ */ e(
|
|
315
315
|
"input",
|
|
@@ -323,7 +323,7 @@ const ce = E(
|
|
|
323
323
|
"focus:border-greenLight focus:outline-none focus:shadow-[0_0_0_4px_rgba(22,163,74,0.15)] focus:ring-0",
|
|
324
324
|
"disabled:cursor-not-allowed disabled:opacity-50 disabled:bg-lightGray",
|
|
325
325
|
a && "border-red-500 hover:border-red-500 focus:border-red-500 focus:shadow-[0_0_0_4px_rgba(239,68,68,0.15)]",
|
|
326
|
-
|
|
326
|
+
s
|
|
327
327
|
),
|
|
328
328
|
ref: t,
|
|
329
329
|
...r
|
|
@@ -349,15 +349,15 @@ const Qt = () => /* @__PURE__ */ e(
|
|
|
349
349
|
}
|
|
350
350
|
)
|
|
351
351
|
}
|
|
352
|
-
), Jt = (
|
|
353
|
-
if (!
|
|
352
|
+
), Jt = (s) => {
|
|
353
|
+
if (!s)
|
|
354
354
|
return "";
|
|
355
|
-
const o = String(
|
|
355
|
+
const o = String(s.getDate()).padStart(2, "0"), a = String(s.getMonth() + 1).padStart(2, "0"), i = s.getFullYear();
|
|
356
356
|
return `${o}.${a}.${i}`;
|
|
357
|
-
}, er = (
|
|
358
|
-
if (!
|
|
357
|
+
}, er = (s) => {
|
|
358
|
+
if (!s)
|
|
359
359
|
return null;
|
|
360
|
-
const o =
|
|
360
|
+
const o = s.split(".");
|
|
361
361
|
if (o.length === 3) {
|
|
362
362
|
const a = parseInt(o[0], 10), i = parseInt(o[1], 10) - 1, r = parseInt(o[2], 10);
|
|
363
363
|
if (!isNaN(a) && !isNaN(i) && !isNaN(r)) {
|
|
@@ -367,9 +367,9 @@ const Qt = () => /* @__PURE__ */ e(
|
|
|
367
367
|
}
|
|
368
368
|
}
|
|
369
369
|
return null;
|
|
370
|
-
}, tr = (
|
|
370
|
+
}, tr = (s, o) => new Date(o, s, 1).toLocaleDateString("ru-RU", { month: "long", year: "numeric" }), rr = ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], de = j(
|
|
371
371
|
({
|
|
372
|
-
className:
|
|
372
|
+
className: s,
|
|
373
373
|
error: o,
|
|
374
374
|
label: a,
|
|
375
375
|
value: i,
|
|
@@ -377,46 +377,46 @@ const Qt = () => /* @__PURE__ */ e(
|
|
|
377
377
|
placeholder: t = "Дата обращения в Контакт-центр",
|
|
378
378
|
...u
|
|
379
379
|
}, w) => {
|
|
380
|
-
const [
|
|
380
|
+
const [D, n] = T(""), [N, k] = T(!1), [m, C] = T((/* @__PURE__ */ new Date()).getMonth()), [f, b] = T((/* @__PURE__ */ new Date()).getFullYear()), [x, B] = T(null), F = i !== void 0, v = F ? i : D, { ref: _ } = K(N, () => {
|
|
381
381
|
k(!1);
|
|
382
|
-
}),
|
|
382
|
+
}), I = Z(() => er(v), [v]);
|
|
383
383
|
ke(() => {
|
|
384
|
-
|
|
385
|
-
}, [
|
|
386
|
-
const
|
|
387
|
-
const
|
|
384
|
+
I && (B(I), C(I.getMonth()), b(I.getFullYear()));
|
|
385
|
+
}, [I]);
|
|
386
|
+
const M = Z(() => {
|
|
387
|
+
const c = new Date(f, m, 1), S = new Date(f, m + 1, 0).getDate(), l = c.getDay(), g = [], H = new Date(f, m, 0).getDate();
|
|
388
388
|
for (let V = l - 1; V >= 0; V--)
|
|
389
|
-
|
|
390
|
-
for (let V = 1; V <=
|
|
391
|
-
|
|
392
|
-
const
|
|
393
|
-
for (let V = 1; V <=
|
|
394
|
-
|
|
395
|
-
return
|
|
396
|
-
}, [
|
|
397
|
-
const
|
|
398
|
-
F ||
|
|
399
|
-
},
|
|
400
|
-
if (
|
|
389
|
+
g.push(H - V);
|
|
390
|
+
for (let V = 1; V <= S; V++)
|
|
391
|
+
g.push(V);
|
|
392
|
+
const P = 42 - g.length;
|
|
393
|
+
for (let V = 1; V <= P; V++)
|
|
394
|
+
g.push(V);
|
|
395
|
+
return g;
|
|
396
|
+
}, [m, f]), W = (c) => {
|
|
397
|
+
const d = c.target.value;
|
|
398
|
+
F || n(d), r == null || r(d);
|
|
399
|
+
}, A = (c, d, S) => {
|
|
400
|
+
if (c === null)
|
|
401
401
|
return;
|
|
402
|
-
let l =
|
|
403
|
-
|
|
404
|
-
const
|
|
405
|
-
|
|
406
|
-
},
|
|
407
|
-
|
|
408
|
-
},
|
|
409
|
-
|
|
410
|
-
},
|
|
411
|
-
if (!
|
|
402
|
+
let l = m, g = f;
|
|
403
|
+
d ? (l = l - 1, l < 0 && (l = 11, g = g - 1)) : S && (l = l + 1, l > 11 && (l = 0, g = g + 1));
|
|
404
|
+
const H = new Date(g, l, c), P = Jt(H);
|
|
405
|
+
B(H), C(l), b(g), F || n(P), r == null || r(P), k(!1);
|
|
406
|
+
}, O = () => {
|
|
407
|
+
m === 0 ? (C(11), b(f - 1)) : C(m - 1);
|
|
408
|
+
}, h = () => {
|
|
409
|
+
m === 11 ? (C(0), b(f + 1)) : C(m + 1);
|
|
410
|
+
}, L = (c, d, S) => {
|
|
411
|
+
if (!x || c === null)
|
|
412
412
|
return !1;
|
|
413
|
-
let l =
|
|
414
|
-
return
|
|
413
|
+
let l = m, g = f;
|
|
414
|
+
return d ? (l = l - 1, l < 0 && (l = 11, g = g - 1)) : S && (l = l + 1, l > 11 && (l = 0, g = g + 1)), x.getDate() === c && x.getMonth() === l && x.getFullYear() === g;
|
|
415
415
|
};
|
|
416
|
-
return /* @__PURE__ */
|
|
416
|
+
return /* @__PURE__ */ p("div", { className: "w-full", children: [
|
|
417
417
|
a && /* @__PURE__ */ e("label", { className: "block text-sm font-medium text-blackBG mb-2", children: a }),
|
|
418
|
-
/* @__PURE__ */
|
|
419
|
-
/* @__PURE__ */
|
|
418
|
+
/* @__PURE__ */ p("div", { className: "relative", children: [
|
|
419
|
+
/* @__PURE__ */ p(
|
|
420
420
|
"div",
|
|
421
421
|
{
|
|
422
422
|
className: y(
|
|
@@ -425,7 +425,7 @@ const Qt = () => /* @__PURE__ */ e(
|
|
|
425
425
|
"hover:border-greenLight hover:shadow-[0_0_0_4px_rgba(22,163,74,0.1)]",
|
|
426
426
|
"focus-within:border-greenLight focus-within:shadow-[0_0_0_4px_rgba(22,163,74,0.15)]",
|
|
427
427
|
o && "border-red-500 hover:border-red-500 focus-within:border-red-500 focus-within:shadow-[0_0_0_4px_rgba(239,68,68,0.15)]",
|
|
428
|
-
|
|
428
|
+
s
|
|
429
429
|
),
|
|
430
430
|
children: [
|
|
431
431
|
/* @__PURE__ */ e(
|
|
@@ -461,18 +461,18 @@ const Qt = () => /* @__PURE__ */ e(
|
|
|
461
461
|
]
|
|
462
462
|
}
|
|
463
463
|
),
|
|
464
|
-
N && /* @__PURE__ */
|
|
464
|
+
N && /* @__PURE__ */ p(
|
|
465
465
|
"div",
|
|
466
466
|
{
|
|
467
|
-
ref:
|
|
467
|
+
ref: _,
|
|
468
468
|
className: "absolute top-[calc(100%+8px)] left-0 z-50 bg-white rounded-2xl border border-grayBlue shadow-lg p-4 min-w-[320px]",
|
|
469
469
|
children: [
|
|
470
|
-
/* @__PURE__ */
|
|
470
|
+
/* @__PURE__ */ p("div", { className: "flex items-center justify-between mb-4", children: [
|
|
471
471
|
/* @__PURE__ */ e(
|
|
472
472
|
"button",
|
|
473
473
|
{
|
|
474
474
|
type: "button",
|
|
475
|
-
onClick:
|
|
475
|
+
onClick: O,
|
|
476
476
|
className: "p-2 hover:bg-grayBlue rounded-lg transition-colors",
|
|
477
477
|
children: /* @__PURE__ */ e(
|
|
478
478
|
"svg",
|
|
@@ -496,12 +496,12 @@ const Qt = () => /* @__PURE__ */ e(
|
|
|
496
496
|
)
|
|
497
497
|
}
|
|
498
498
|
),
|
|
499
|
-
/* @__PURE__ */ e("h3", { className: "text-base font-semibold text-blackBG", children: tr(
|
|
499
|
+
/* @__PURE__ */ e("h3", { className: "text-base font-semibold text-blackBG", children: tr(m, f) }),
|
|
500
500
|
/* @__PURE__ */ e(
|
|
501
501
|
"button",
|
|
502
502
|
{
|
|
503
503
|
type: "button",
|
|
504
|
-
onClick:
|
|
504
|
+
onClick: h,
|
|
505
505
|
className: "p-2 hover:bg-grayBlue rounded-lg transition-colors",
|
|
506
506
|
children: /* @__PURE__ */ e(
|
|
507
507
|
"svg",
|
|
@@ -526,39 +526,39 @@ const Qt = () => /* @__PURE__ */ e(
|
|
|
526
526
|
}
|
|
527
527
|
)
|
|
528
528
|
] }),
|
|
529
|
-
/* @__PURE__ */ e("div", { className: "grid grid-cols-7 gap-1 mb-2", children: rr.map((
|
|
529
|
+
/* @__PURE__ */ e("div", { className: "grid grid-cols-7 gap-1 mb-2", children: rr.map((c) => /* @__PURE__ */ e(
|
|
530
530
|
"div",
|
|
531
531
|
{
|
|
532
532
|
className: "text-center text-xs font-medium text-grayBlue5 py-2",
|
|
533
|
-
children:
|
|
533
|
+
children: c
|
|
534
534
|
},
|
|
535
|
-
|
|
535
|
+
c
|
|
536
536
|
)) }),
|
|
537
|
-
/* @__PURE__ */ e("div", { className: "grid grid-cols-7 gap-1", children:
|
|
538
|
-
const l = new Date(f,
|
|
537
|
+
/* @__PURE__ */ e("div", { className: "grid grid-cols-7 gap-1", children: M.map((c, d) => {
|
|
538
|
+
const l = new Date(f, m, 1).getDay(), g = new Date(
|
|
539
539
|
f,
|
|
540
|
-
|
|
540
|
+
m + 1,
|
|
541
541
|
0
|
|
542
|
-
).getDate(),
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
542
|
+
).getDate(), H = d < l, P = d >= l + g, V = !H && !P, be = L(
|
|
543
|
+
c,
|
|
544
|
+
H,
|
|
545
|
+
P
|
|
546
546
|
);
|
|
547
547
|
return /* @__PURE__ */ e(
|
|
548
548
|
"button",
|
|
549
549
|
{
|
|
550
550
|
type: "button",
|
|
551
|
-
onClick: () =>
|
|
552
|
-
disabled:
|
|
551
|
+
onClick: () => A(c, H, P),
|
|
552
|
+
disabled: c === null,
|
|
553
553
|
className: y(
|
|
554
554
|
"w-10 h-10 rounded-lg text-sm font-medium transition-colors",
|
|
555
555
|
"hover:bg-[#E8F4FD] focus:outline-none focus:bg-[#E8F4FD]",
|
|
556
556
|
V ? "text-blackBG" : "text-grayBlue5 opacity-50",
|
|
557
557
|
be && "bg-[#16A34A] text-white hover:bg-[#16A34A] focus:bg-[#16A34A]"
|
|
558
558
|
),
|
|
559
|
-
children:
|
|
559
|
+
children: c
|
|
560
560
|
},
|
|
561
|
-
|
|
561
|
+
d
|
|
562
562
|
);
|
|
563
563
|
}) })
|
|
564
564
|
]
|
|
@@ -570,9 +570,9 @@ const Qt = () => /* @__PURE__ */ e(
|
|
|
570
570
|
}
|
|
571
571
|
);
|
|
572
572
|
de.displayName = "DateInput";
|
|
573
|
-
const pe =
|
|
573
|
+
const pe = j(
|
|
574
574
|
({
|
|
575
|
-
className:
|
|
575
|
+
className: s,
|
|
576
576
|
isFormatted: o,
|
|
577
577
|
isReadable: a,
|
|
578
578
|
error: i,
|
|
@@ -580,33 +580,33 @@ const pe = E(
|
|
|
580
580
|
onChange: t,
|
|
581
581
|
value: u,
|
|
582
582
|
defaultValue: w,
|
|
583
|
-
...
|
|
584
|
-
},
|
|
583
|
+
...D
|
|
584
|
+
}, n) => {
|
|
585
585
|
const N = Ce(null);
|
|
586
|
-
re(
|
|
587
|
-
const k = !!a || !!o,
|
|
588
|
-
(
|
|
589
|
-
if (
|
|
586
|
+
re(n, () => N.current);
|
|
587
|
+
const k = !!a || !!o, m = ve(
|
|
588
|
+
(b) => {
|
|
589
|
+
if (b == null || b === "")
|
|
590
590
|
return "";
|
|
591
|
-
const
|
|
592
|
-
return k ?
|
|
591
|
+
const x = Array.isArray(b) ? b.join("").replace(/\D/g, "") : b.toString().replace(/\D/g, "");
|
|
592
|
+
return k ? x.replace(/\B(?=(\d{3})+(?!\d))/g, " ") : x;
|
|
593
593
|
},
|
|
594
594
|
[k]
|
|
595
595
|
), f = {
|
|
596
|
-
...
|
|
596
|
+
...D,
|
|
597
597
|
type: "text",
|
|
598
598
|
inputMode: "numeric",
|
|
599
|
-
onChange: (
|
|
600
|
-
const
|
|
601
|
-
if (
|
|
602
|
-
const
|
|
603
|
-
|
|
599
|
+
onChange: (b) => {
|
|
600
|
+
const x = b.target, B = x.value, F = B.replace(/\D/g, ""), v = x.selectionStart || 0, _ = B.slice(0, v).replace(/\D/g, "").length, I = m(F);
|
|
601
|
+
if (x.value = I, t) {
|
|
602
|
+
const M = x.value;
|
|
603
|
+
x.value = F, t(b), x.value = M;
|
|
604
604
|
}
|
|
605
605
|
if (k) {
|
|
606
|
-
let
|
|
607
|
-
for (; W <
|
|
608
|
-
/\d/.test(
|
|
609
|
-
|
|
606
|
+
let M = 0, W = 0;
|
|
607
|
+
for (; W < _ && M < x.value.length; )
|
|
608
|
+
/\d/.test(x.value[M]) && W++, M++;
|
|
609
|
+
x.setSelectionRange(M, M);
|
|
610
610
|
}
|
|
611
611
|
},
|
|
612
612
|
className: y(
|
|
@@ -618,10 +618,10 @@ const pe = E(
|
|
|
618
618
|
"disabled:cursor-not-allowed disabled:bg-lightGray disabled:opacity-50",
|
|
619
619
|
"[appearance:textfield] [&::-webkit-inner-spin-button]:appearance-none [&::-webkit-outer-spin-button]:appearance-none",
|
|
620
620
|
i && "border-red-500 hover:border-red-500 focus:border-red-500 focus:shadow-[0_0_0_4px_rgba(239,68,68,0.15)]",
|
|
621
|
-
|
|
621
|
+
s
|
|
622
622
|
)
|
|
623
623
|
};
|
|
624
|
-
return u !== void 0 ? f.value =
|
|
624
|
+
return u !== void 0 ? f.value = m(u) : w !== void 0 && (f.defaultValue = m(w)), /* @__PURE__ */ p("div", { className: "w-full", children: [
|
|
625
625
|
r && /* @__PURE__ */ e("label", { className: "mb-2 block text-sm font-medium text-blackBG", children: r }),
|
|
626
626
|
/* @__PURE__ */ e("div", { className: "group relative", children: /* @__PURE__ */ e(
|
|
627
627
|
"input",
|
|
@@ -637,42 +637,42 @@ const pe = E(
|
|
|
637
637
|
pe.displayName = "NumberField";
|
|
638
638
|
const or = {
|
|
639
639
|
96: { name: "Кыргызстан", short: "KG", mask: "+996", length: 9 }
|
|
640
|
-
}, ar = (
|
|
641
|
-
const o =
|
|
640
|
+
}, ar = (s) => {
|
|
641
|
+
const o = s.toUpperCase().split("").map((a) => 127397 + a.charCodeAt(0));
|
|
642
642
|
return String.fromCodePoint(...o);
|
|
643
|
-
}, J = () => Object.entries(or).map(([
|
|
644
|
-
id:
|
|
643
|
+
}, J = () => Object.entries(or).map(([s, o]) => ({
|
|
644
|
+
id: s,
|
|
645
645
|
name: o.name,
|
|
646
646
|
short: o.short,
|
|
647
647
|
mask: o.mask,
|
|
648
648
|
dialCode: o.mask.replace("+", ""),
|
|
649
649
|
length: o.length,
|
|
650
650
|
flag: ar(o.short)
|
|
651
|
-
})), $ = (
|
|
651
|
+
})), $ = (s) => J().find((a) => a.id === s), te = (s, o) => {
|
|
652
652
|
const a = o.dialCode, i = o.length;
|
|
653
|
-
let r =
|
|
654
|
-
|
|
653
|
+
let r = s;
|
|
654
|
+
s.startsWith(a) && (r = s.slice(a.length));
|
|
655
655
|
const t = r.slice(0, i);
|
|
656
656
|
if (t.length === 0)
|
|
657
657
|
return o.mask;
|
|
658
658
|
let u = t;
|
|
659
659
|
return t.length > 6 ? u = `${t.slice(0, 3)} ${t.slice(3, 6)} ${t.slice(6)}` : t.length > 3 && (u = `${t.slice(0, 3)} ${t.slice(3)}`), `${o.mask} ${u}`;
|
|
660
|
-
}, nr = (
|
|
661
|
-
if (!
|
|
660
|
+
}, nr = (s, o) => {
|
|
661
|
+
if (!s)
|
|
662
662
|
return null;
|
|
663
|
-
const a =
|
|
664
|
-
if (
|
|
663
|
+
const a = s.replace(/\D/g, ""), i = J();
|
|
664
|
+
if (s.startsWith("+")) {
|
|
665
665
|
for (const r of i)
|
|
666
|
-
if (
|
|
666
|
+
if (s.startsWith(r.mask))
|
|
667
667
|
return r;
|
|
668
668
|
}
|
|
669
669
|
for (const r of i)
|
|
670
670
|
if (a.startsWith(r.dialCode))
|
|
671
671
|
return r;
|
|
672
672
|
return a.startsWith("0") && $("96") || null;
|
|
673
|
-
}, me =
|
|
673
|
+
}, me = j(
|
|
674
674
|
({
|
|
675
|
-
className:
|
|
675
|
+
className: s,
|
|
676
676
|
error: o,
|
|
677
677
|
label: a,
|
|
678
678
|
value: i,
|
|
@@ -680,43 +680,43 @@ const or = {
|
|
|
680
680
|
defaultCountry: t = "996",
|
|
681
681
|
...u
|
|
682
682
|
}, w) => {
|
|
683
|
-
const [
|
|
684
|
-
C(!1),
|
|
685
|
-
}), v = Z(() => J(), []),
|
|
683
|
+
const [D, n] = T(""), [N, k] = T(t), [m, C] = T(!1), [f, b] = T(""), x = i !== void 0, B = x ? i : D, { ref: F } = K(m, () => {
|
|
684
|
+
C(!1), b("");
|
|
685
|
+
}), v = Z(() => J(), []), _ = $(N) || v[0], I = Z(() => {
|
|
686
686
|
if (!f)
|
|
687
687
|
return v;
|
|
688
|
-
const
|
|
688
|
+
const h = f.toLowerCase();
|
|
689
689
|
return v.filter(
|
|
690
|
-
(
|
|
690
|
+
(L) => L.name.toLowerCase().includes(h) || L.mask.toLowerCase().includes(h) || L.short.toLowerCase().includes(h)
|
|
691
691
|
);
|
|
692
|
-
}, [v, f]), W = ((
|
|
693
|
-
if (!
|
|
692
|
+
}, [v, f]), W = ((h) => {
|
|
693
|
+
if (!h)
|
|
694
694
|
return "";
|
|
695
|
-
const
|
|
696
|
-
let
|
|
697
|
-
(
|
|
698
|
-
const
|
|
699
|
-
return
|
|
700
|
-
})(
|
|
701
|
-
k(
|
|
702
|
-
const
|
|
703
|
-
if (!
|
|
695
|
+
const L = h.replace(/\D/g, "");
|
|
696
|
+
let c = L;
|
|
697
|
+
(L.startsWith(_.dialCode) || h.startsWith(_.mask)) && (c = L.slice(_.dialCode.length));
|
|
698
|
+
const d = c.slice(0, _.length);
|
|
699
|
+
return d.length === 0 ? "" : d.length <= 3 ? d : d.length <= 6 ? `${d.slice(0, 3)} ${d.slice(3)}` : `${d.slice(0, 3)} ${d.slice(3, 6)} ${d.slice(6)}`;
|
|
700
|
+
})(B), A = (h) => {
|
|
701
|
+
k(h), C(!1), b("");
|
|
702
|
+
const L = B.replace(/\D/g, ""), c = $(h);
|
|
703
|
+
if (!c)
|
|
704
704
|
return;
|
|
705
|
-
let
|
|
706
|
-
|
|
707
|
-
const
|
|
708
|
-
|
|
709
|
-
},
|
|
710
|
-
const
|
|
711
|
-
|
|
705
|
+
let d = L;
|
|
706
|
+
L.startsWith(_.dialCode) && (d = L.slice(_.dialCode.length));
|
|
707
|
+
const S = te(d, c);
|
|
708
|
+
x || n(S), r == null || r(S);
|
|
709
|
+
}, O = (h) => {
|
|
710
|
+
const L = h.target.value, c = L.replace(/\D/g, ""), d = nr(
|
|
711
|
+
L
|
|
712
712
|
);
|
|
713
|
-
|
|
714
|
-
const
|
|
715
|
-
|
|
713
|
+
d && d.id !== N && k(d.id);
|
|
714
|
+
const S = d || $(N) || _, l = te(c, S);
|
|
715
|
+
x || n(l), r == null || r(l);
|
|
716
716
|
};
|
|
717
|
-
return /* @__PURE__ */
|
|
717
|
+
return /* @__PURE__ */ p("div", { className: "w-full", children: [
|
|
718
718
|
a && /* @__PURE__ */ e("label", { className: "block text-sm font-medium text-blackBG mb-2", children: a }),
|
|
719
|
-
/* @__PURE__ */
|
|
719
|
+
/* @__PURE__ */ p(
|
|
720
720
|
"div",
|
|
721
721
|
{
|
|
722
722
|
className: y(
|
|
@@ -727,38 +727,38 @@ const or = {
|
|
|
727
727
|
"focus:border-greenLight focus:outline-none focus:shadow-[0_0_0_4px_rgba(22,163,74,0.15)] focus:ring-0",
|
|
728
728
|
"disabled:cursor-not-allowed disabled:opacity-50 disabled:bg-lightGray",
|
|
729
729
|
o && "border-red-500 hover:border-red-500 focus:border-red-500 focus:shadow-[0_0_0_4px_rgba(239,68,68,0.15)]",
|
|
730
|
-
|
|
730
|
+
s
|
|
731
731
|
),
|
|
732
732
|
children: [
|
|
733
|
-
/* @__PURE__ */
|
|
733
|
+
/* @__PURE__ */ p(
|
|
734
734
|
"div",
|
|
735
735
|
{
|
|
736
736
|
ref: F,
|
|
737
737
|
className: "relative",
|
|
738
738
|
children: [
|
|
739
|
-
/* @__PURE__ */
|
|
739
|
+
/* @__PURE__ */ p(
|
|
740
740
|
"button",
|
|
741
741
|
{
|
|
742
742
|
type: "button",
|
|
743
|
-
onClick: () => C(!
|
|
743
|
+
onClick: () => C(!m),
|
|
744
744
|
className: y(
|
|
745
745
|
"flex h-14 w-[120px] rounded-2xl px-3 py-2 items-center justify-center cursor-pointer shrink-0",
|
|
746
746
|
"transition-all duration-300 ease-in-out",
|
|
747
747
|
o && "border-red-500 hover:border-red-500 focus:border-red-500",
|
|
748
|
-
|
|
748
|
+
m && "border-greenLight"
|
|
749
749
|
),
|
|
750
750
|
children: [
|
|
751
|
-
/* @__PURE__ */
|
|
752
|
-
|
|
751
|
+
/* @__PURE__ */ p("span", { className: "text-base font-medium whitespace-nowrap", children: [
|
|
752
|
+
_.flag,
|
|
753
753
|
" ",
|
|
754
|
-
|
|
754
|
+
_.mask
|
|
755
755
|
] }),
|
|
756
756
|
/* @__PURE__ */ e(
|
|
757
757
|
"svg",
|
|
758
758
|
{
|
|
759
759
|
className: y(
|
|
760
760
|
"w-4 h-4 ml-1 text-grayBlue5 transition-transform duration-200 shrink-0",
|
|
761
|
-
|
|
761
|
+
m && "rotate-180"
|
|
762
762
|
),
|
|
763
763
|
fill: "none",
|
|
764
764
|
stroke: "currentColor",
|
|
@@ -777,39 +777,39 @@ const or = {
|
|
|
777
777
|
]
|
|
778
778
|
}
|
|
779
779
|
),
|
|
780
|
-
|
|
780
|
+
m && /* @__PURE__ */ p("div", { className: "absolute top-[calc(100%+4px)] left-0 z-50 bg-white rounded-2xl border border-grayBlue shadow-lg max-h-[400px] overflow-hidden flex flex-col min-w-[280px]", children: [
|
|
781
781
|
/* @__PURE__ */ e("div", { className: "p-3 border-b border-grayBlue", children: /* @__PURE__ */ e(
|
|
782
782
|
"input",
|
|
783
783
|
{
|
|
784
784
|
type: "text",
|
|
785
785
|
value: f,
|
|
786
|
-
onChange: (
|
|
786
|
+
onChange: (h) => b(h.target.value),
|
|
787
787
|
placeholder: "Поиск страны...",
|
|
788
788
|
className: y(
|
|
789
789
|
"w-full px-3 py-2 rounded-xl border-[1px] border-grayBlue text-sm",
|
|
790
790
|
"focus:outline-none focus:border-greenLight"
|
|
791
791
|
),
|
|
792
|
-
onClick: (
|
|
792
|
+
onClick: (h) => h.stopPropagation()
|
|
793
793
|
}
|
|
794
794
|
) }),
|
|
795
|
-
/* @__PURE__ */ e("div", { className: "overflow-y-auto max-h-[340px]", children:
|
|
795
|
+
/* @__PURE__ */ e("div", { className: "overflow-y-auto max-h-[340px]", children: I.length > 0 ? I.map((h) => /* @__PURE__ */ e(
|
|
796
796
|
"button",
|
|
797
797
|
{
|
|
798
798
|
type: "button",
|
|
799
|
-
onClick: () =>
|
|
799
|
+
onClick: () => A(h.id),
|
|
800
800
|
className: y(
|
|
801
801
|
"w-full px-4 py-3 text-left cursor-pointer text-base text-blackBG transition-colors",
|
|
802
802
|
"hover:bg-[#E8F4FD] focus:bg-[#E8F4FD] focus:outline-none",
|
|
803
|
-
N ===
|
|
803
|
+
N === h.id && "bg-[#E8F4FD]",
|
|
804
804
|
"first:rounded-t-2xl"
|
|
805
805
|
),
|
|
806
|
-
children: /* @__PURE__ */
|
|
807
|
-
/* @__PURE__ */ e("span", { className: "text-lg", children:
|
|
808
|
-
/* @__PURE__ */ e("span", { className: "font-medium", children:
|
|
809
|
-
/* @__PURE__ */ e("span", { className: "text-sm text-grayBlue5", children:
|
|
806
|
+
children: /* @__PURE__ */ p("span", { className: "flex items-center gap-2", children: [
|
|
807
|
+
/* @__PURE__ */ e("span", { className: "text-lg", children: h.flag }),
|
|
808
|
+
/* @__PURE__ */ e("span", { className: "font-medium", children: h.mask }),
|
|
809
|
+
/* @__PURE__ */ e("span", { className: "text-sm text-grayBlue5", children: h.name })
|
|
810
810
|
] })
|
|
811
811
|
},
|
|
812
|
-
|
|
812
|
+
h.id
|
|
813
813
|
)) : /* @__PURE__ */ e("div", { className: "px-4 py-3 text-center text-grayBlue5", children: "Страны не найдены" }) })
|
|
814
814
|
] })
|
|
815
815
|
]
|
|
@@ -828,11 +828,11 @@ const or = {
|
|
|
828
828
|
"focus:border-none focus:outline-none focus:shadow-none focus:ring-0",
|
|
829
829
|
"disabled:cursor-not-allowed disabled:opacity-50 disabled:bg-lightGray",
|
|
830
830
|
o && "border-red-500 hover:border-red-500 focus:border-red-500 focus:shadow-[0_0_0_4px_rgba(239,68,68,0.15)]",
|
|
831
|
-
|
|
831
|
+
s
|
|
832
832
|
),
|
|
833
833
|
ref: w,
|
|
834
834
|
value: W,
|
|
835
|
-
onChange:
|
|
835
|
+
onChange: O,
|
|
836
836
|
placeholder: "XXX XXX XXX",
|
|
837
837
|
...u
|
|
838
838
|
}
|
|
@@ -845,9 +845,9 @@ const or = {
|
|
|
845
845
|
}
|
|
846
846
|
);
|
|
847
847
|
me.displayName = "PhoneInput";
|
|
848
|
-
const ue =
|
|
848
|
+
const ue = j(
|
|
849
849
|
({
|
|
850
|
-
label:
|
|
850
|
+
label: s,
|
|
851
851
|
options: o = [],
|
|
852
852
|
value: a = [],
|
|
853
853
|
name: i,
|
|
@@ -855,13 +855,13 @@ const ue = E(
|
|
|
855
855
|
error: t,
|
|
856
856
|
className: u,
|
|
857
857
|
direction: w = "column"
|
|
858
|
-
},
|
|
858
|
+
}, D) => /* @__PURE__ */ p(
|
|
859
859
|
"div",
|
|
860
860
|
{
|
|
861
|
-
ref:
|
|
861
|
+
ref: D,
|
|
862
862
|
className: y("flex flex-col gap-2", u),
|
|
863
863
|
children: [
|
|
864
|
-
|
|
864
|
+
s && /* @__PURE__ */ e("label", { className: "text-sm font-medium text-blackBG mb-1", children: s }),
|
|
865
865
|
/* @__PURE__ */ e(
|
|
866
866
|
"div",
|
|
867
867
|
{
|
|
@@ -869,17 +869,17 @@ const ue = E(
|
|
|
869
869
|
"flex gap-4",
|
|
870
870
|
w === "column" ? "flex-col" : "flex-row flex-wrap"
|
|
871
871
|
),
|
|
872
|
-
children: o == null ? void 0 : o.map((
|
|
872
|
+
children: o == null ? void 0 : o.map((n) => /* @__PURE__ */ e(
|
|
873
873
|
fe,
|
|
874
874
|
{
|
|
875
875
|
name: i,
|
|
876
|
-
label:
|
|
877
|
-
value:
|
|
878
|
-
checked: a === (
|
|
879
|
-
onChange: () => r == null ? void 0 : r(
|
|
876
|
+
label: n == null ? void 0 : n.label,
|
|
877
|
+
value: n == null ? void 0 : n.value,
|
|
878
|
+
checked: a === (n == null ? void 0 : n.value),
|
|
879
|
+
onChange: () => r == null ? void 0 : r(n == null ? void 0 : n.value),
|
|
880
880
|
error: t && !a ? t : void 0
|
|
881
881
|
},
|
|
882
|
-
|
|
882
|
+
n == null ? void 0 : n.value
|
|
883
883
|
))
|
|
884
884
|
}
|
|
885
885
|
),
|
|
@@ -889,10 +889,10 @@ const ue = E(
|
|
|
889
889
|
)
|
|
890
890
|
);
|
|
891
891
|
ue.displayName = "RadioGroup";
|
|
892
|
-
const fe =
|
|
893
|
-
({ className:
|
|
894
|
-
/* @__PURE__ */
|
|
895
|
-
/* @__PURE__ */
|
|
892
|
+
const fe = j(
|
|
893
|
+
({ className: s, label: o, error: a, ...i }, r) => /* @__PURE__ */ p("div", { className: "w-full", children: [
|
|
894
|
+
/* @__PURE__ */ p("label", { className: "flex items-start gap-3 cursor-pointer group", children: [
|
|
895
|
+
/* @__PURE__ */ p("div", { className: "relative flex items-center justify-center mt-0.5", children: [
|
|
896
896
|
/* @__PURE__ */ e(
|
|
897
897
|
"input",
|
|
898
898
|
{
|
|
@@ -917,7 +917,7 @@ const fe = E(
|
|
|
917
917
|
"after:top-1/2 after:left-1/2 after:-translate-x-1/2 after:-translate-y-1/2",
|
|
918
918
|
"peer-checked:after:opacity-100",
|
|
919
919
|
a && "border-red-500",
|
|
920
|
-
|
|
920
|
+
s
|
|
921
921
|
)
|
|
922
922
|
}
|
|
923
923
|
)
|
|
@@ -938,9 +938,9 @@ const fe = E(
|
|
|
938
938
|
] })
|
|
939
939
|
);
|
|
940
940
|
fe.displayName = "Radio";
|
|
941
|
-
const he =
|
|
941
|
+
const he = j(
|
|
942
942
|
({
|
|
943
|
-
className:
|
|
943
|
+
className: s,
|
|
944
944
|
error: o,
|
|
945
945
|
label: a,
|
|
946
946
|
options: i = [],
|
|
@@ -948,60 +948,60 @@ const he = E(
|
|
|
948
948
|
value: t,
|
|
949
949
|
onChange: u,
|
|
950
950
|
onBlur: w,
|
|
951
|
-
name:
|
|
952
|
-
disabled:
|
|
951
|
+
name: D,
|
|
952
|
+
disabled: n,
|
|
953
953
|
...N
|
|
954
954
|
}, k) => {
|
|
955
955
|
const {
|
|
956
|
-
ref:
|
|
956
|
+
ref: m,
|
|
957
957
|
isShow: C,
|
|
958
958
|
setIsShow: f
|
|
959
959
|
} = K(!1);
|
|
960
|
-
re(k, () =>
|
|
961
|
-
const
|
|
962
|
-
|
|
963
|
-
},
|
|
960
|
+
re(k, () => m.current);
|
|
961
|
+
const b = i.find((v) => v.value === t), x = () => {
|
|
962
|
+
n || f(!C);
|
|
963
|
+
}, B = (v) => {
|
|
964
964
|
u && u({
|
|
965
965
|
target: {
|
|
966
|
-
name:
|
|
966
|
+
name: D,
|
|
967
967
|
value: v.value
|
|
968
968
|
}
|
|
969
969
|
}), f(!1);
|
|
970
970
|
}, F = (v) => {
|
|
971
971
|
w && w({
|
|
972
972
|
target: {
|
|
973
|
-
name:
|
|
973
|
+
name: D,
|
|
974
974
|
value: t
|
|
975
975
|
}
|
|
976
976
|
});
|
|
977
977
|
};
|
|
978
|
-
return /* @__PURE__ */
|
|
978
|
+
return /* @__PURE__ */ p(
|
|
979
979
|
"div",
|
|
980
980
|
{
|
|
981
|
-
className: y("w-full",
|
|
982
|
-
ref:
|
|
981
|
+
className: y("w-full", s),
|
|
982
|
+
ref: m,
|
|
983
983
|
onBlur: F,
|
|
984
984
|
...N,
|
|
985
985
|
children: [
|
|
986
986
|
a && /* @__PURE__ */ e("label", { className: "mb-2 block text-sm font-medium text-blackBG", children: a }),
|
|
987
|
-
/* @__PURE__ */
|
|
988
|
-
/* @__PURE__ */
|
|
987
|
+
/* @__PURE__ */ p("div", { className: "relative", children: [
|
|
988
|
+
/* @__PURE__ */ p(
|
|
989
989
|
"button",
|
|
990
990
|
{
|
|
991
991
|
type: "button",
|
|
992
|
-
onClick:
|
|
993
|
-
disabled:
|
|
992
|
+
onClick: x,
|
|
993
|
+
disabled: n,
|
|
994
994
|
className: y(
|
|
995
995
|
"flex h-14 w-full items-center justify-between rounded-2xl border-[1px] border-grayBlue bg-white px-[20px] text-base text-blackBG",
|
|
996
996
|
"transition-all duration-300 ease-in-out",
|
|
997
997
|
"hover:border-greenLight hover:shadow-[0_0_0_4px_rgba(22,163,74,0.1)]",
|
|
998
998
|
C && "border-greenLight shadow-[0_0_0_4px_rgba(22,163,74,0.15)] ring-0 outline-none",
|
|
999
|
-
|
|
999
|
+
n && "cursor-not-allowed bg-lightGray opacity-50",
|
|
1000
1000
|
o && "border-red-500 hover:border-red-500 focus:border-red-500 focus:shadow-[0_0_0_4px_rgba(239,68,68,0.15)]",
|
|
1001
|
-
!
|
|
1001
|
+
!b && "text-gray2 opacity-60"
|
|
1002
1002
|
),
|
|
1003
1003
|
children: [
|
|
1004
|
-
/* @__PURE__ */ e("span", { className: "truncate", children:
|
|
1004
|
+
/* @__PURE__ */ e("span", { className: "truncate", children: b ? b.label : r }),
|
|
1005
1005
|
/* @__PURE__ */ e(
|
|
1006
1006
|
"svg",
|
|
1007
1007
|
{
|
|
@@ -1037,7 +1037,7 @@ const he = E(
|
|
|
1037
1037
|
"button",
|
|
1038
1038
|
{
|
|
1039
1039
|
type: "button",
|
|
1040
|
-
onClick: () =>
|
|
1040
|
+
onClick: () => B(v),
|
|
1041
1041
|
className: y(
|
|
1042
1042
|
"flex w-full items-center px-5 py-3 text-left text-base transition-colors",
|
|
1043
1043
|
"hover:bg-green-50 active:bg-green-100",
|
|
@@ -1080,14 +1080,14 @@ const sr = {
|
|
|
1080
1080
|
radio: ue,
|
|
1081
1081
|
checkbox: le,
|
|
1082
1082
|
file: tt
|
|
1083
|
-
}, cr = (
|
|
1083
|
+
}, cr = (s, {
|
|
1084
1084
|
register: o,
|
|
1085
1085
|
errors: a,
|
|
1086
1086
|
control: i
|
|
1087
1087
|
}) => {
|
|
1088
1088
|
const { t: r } = ae();
|
|
1089
|
-
return
|
|
1090
|
-
var
|
|
1089
|
+
return s.map((t, u) => {
|
|
1090
|
+
var D, n, N;
|
|
1091
1091
|
if ((t == null ? void 0 : t.componentType) === "component") {
|
|
1092
1092
|
const k = sr[t == null ? void 0 : t.key];
|
|
1093
1093
|
if (k)
|
|
@@ -1103,9 +1103,9 @@ const sr = {
|
|
|
1103
1103
|
if (w) {
|
|
1104
1104
|
const k = ["select", "radio", "checkbox", "file"].includes(
|
|
1105
1105
|
t.type
|
|
1106
|
-
),
|
|
1106
|
+
), m = t != null && t.name ? (D = a[t == null ? void 0 : t.name]) == null ? void 0 : D.message : void 0, C = m ? r(m, m) : void 0, f = {
|
|
1107
1107
|
...t.field_props,
|
|
1108
|
-
label: (
|
|
1108
|
+
label: (n = t.field_props) != null && n.label ? r(t.field_props.label, t.field_props.label) : void 0,
|
|
1109
1109
|
placeholder: (N = t.field_props) != null && N.placeholder ? r(t.field_props.placeholder, t.field_props.placeholder) : void 0
|
|
1110
1110
|
};
|
|
1111
1111
|
return k && i && (t != null && t.name) ? /* @__PURE__ */ e(
|
|
@@ -1114,13 +1114,13 @@ const sr = {
|
|
|
1114
1114
|
name: t.name,
|
|
1115
1115
|
control: i,
|
|
1116
1116
|
rules: { validate: t.validate },
|
|
1117
|
-
render: ({ field: { onChange:
|
|
1117
|
+
render: ({ field: { onChange: b, value: x, name: B, ref: F } }) => /* @__PURE__ */ e(
|
|
1118
1118
|
w,
|
|
1119
1119
|
{
|
|
1120
1120
|
...f,
|
|
1121
|
-
onChange:
|
|
1122
|
-
value:
|
|
1123
|
-
name:
|
|
1121
|
+
onChange: b,
|
|
1122
|
+
value: x,
|
|
1123
|
+
name: B,
|
|
1124
1124
|
ref: F,
|
|
1125
1125
|
error: C
|
|
1126
1126
|
}
|
|
@@ -1149,12 +1149,12 @@ const sr = {
|
|
|
1149
1149
|
return null;
|
|
1150
1150
|
});
|
|
1151
1151
|
}, ee = ({
|
|
1152
|
-
label:
|
|
1152
|
+
label: s,
|
|
1153
1153
|
type: o,
|
|
1154
1154
|
options: a
|
|
1155
1155
|
}) => ({
|
|
1156
1156
|
dataType: z.select,
|
|
1157
|
-
label:
|
|
1157
|
+
label: s,
|
|
1158
1158
|
type: o,
|
|
1159
1159
|
options: a
|
|
1160
1160
|
}), Na = {
|
|
@@ -1198,9 +1198,9 @@ const sr = {
|
|
|
1198
1198
|
dataType: z.object,
|
|
1199
1199
|
data: {
|
|
1200
1200
|
keys: {
|
|
1201
|
-
title:
|
|
1202
|
-
description:
|
|
1203
|
-
html_content:
|
|
1201
|
+
title: E.TITLE,
|
|
1202
|
+
description: E.DESCRIPTION,
|
|
1203
|
+
html_content: E.HTML_CONTENT
|
|
1204
1204
|
}
|
|
1205
1205
|
}
|
|
1206
1206
|
},
|
|
@@ -1209,9 +1209,9 @@ const sr = {
|
|
|
1209
1209
|
dataType: z.object,
|
|
1210
1210
|
data: {
|
|
1211
1211
|
keys: {
|
|
1212
|
-
label:
|
|
1213
|
-
placeholder:
|
|
1214
|
-
is_required:
|
|
1212
|
+
label: E.TITLE,
|
|
1213
|
+
placeholder: E.DESCRIPTION,
|
|
1214
|
+
is_required: E.BOOLEAN
|
|
1215
1215
|
}
|
|
1216
1216
|
}
|
|
1217
1217
|
}
|
|
@@ -1222,78 +1222,82 @@ const sr = {
|
|
|
1222
1222
|
"color",
|
|
1223
1223
|
hr,
|
|
1224
1224
|
Rt,
|
|
1225
|
-
"file"
|
|
1225
|
+
"file",
|
|
1226
|
+
"object_data"
|
|
1226
1227
|
], ge = ({
|
|
1227
|
-
title:
|
|
1228
|
+
title: s,
|
|
1228
1229
|
subtitle: o,
|
|
1229
1230
|
color: a,
|
|
1230
1231
|
gridCols: i = 1,
|
|
1231
1232
|
gridRow: r = 2,
|
|
1232
1233
|
fields: t = [],
|
|
1233
1234
|
requestForm: u,
|
|
1234
|
-
file: w
|
|
1235
|
+
file: w,
|
|
1236
|
+
object_data: D
|
|
1235
1237
|
}) => {
|
|
1236
|
-
var
|
|
1237
|
-
const { t:
|
|
1238
|
-
register:
|
|
1239
|
-
handleSubmit:
|
|
1240
|
-
watch:
|
|
1241
|
-
reset:
|
|
1242
|
-
control:
|
|
1238
|
+
var h;
|
|
1239
|
+
const { t: n } = ae(), [N, k] = T(!1), [m, C] = T(!1), [f, b] = T(null), x = et(960), {
|
|
1240
|
+
register: B,
|
|
1241
|
+
handleSubmit: F,
|
|
1242
|
+
watch: v,
|
|
1243
|
+
reset: _,
|
|
1244
|
+
control: I,
|
|
1243
1245
|
formState: { errors: M }
|
|
1244
1246
|
} = Je({
|
|
1245
1247
|
defaultValues: {
|
|
1246
1248
|
agreement: !1
|
|
1247
1249
|
}
|
|
1248
|
-
}),
|
|
1250
|
+
}), W = v("agreement"), A = async (L) => {
|
|
1249
1251
|
if (!(u != null && u.api_url)) {
|
|
1250
1252
|
console.warn("API URL is not defined in requestForm props");
|
|
1251
1253
|
return;
|
|
1252
1254
|
}
|
|
1253
|
-
|
|
1255
|
+
C(!0), b(null);
|
|
1254
1256
|
try {
|
|
1255
|
-
const
|
|
1256
|
-
Object.entries(
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
}) :
|
|
1257
|
+
const c = new FormData();
|
|
1258
|
+
Object.entries(L).forEach(([l, g]) => {
|
|
1259
|
+
g != null && (Array.isArray(g) ? g.forEach((H) => {
|
|
1260
|
+
c.append(l, H);
|
|
1261
|
+
}) : c.append(l, g));
|
|
1262
|
+
}), Object.entries(D).forEach(([l, g]) => {
|
|
1263
|
+
c == null || c.append(l, g);
|
|
1260
1264
|
});
|
|
1261
|
-
const
|
|
1265
|
+
const d = await fetch(u.api_url, {
|
|
1262
1266
|
method: "POST",
|
|
1263
1267
|
// При отправке FormData заголовок Content-Type устанавливать НЕ НУЖНО,
|
|
1264
1268
|
// браузер установит его автоматически вместе с boundary
|
|
1265
|
-
body:
|
|
1269
|
+
body: c
|
|
1266
1270
|
});
|
|
1267
|
-
if (!
|
|
1268
|
-
throw new Error(`HTTP error! status: ${
|
|
1269
|
-
const
|
|
1270
|
-
if (
|
|
1271
|
-
const
|
|
1272
|
-
console.log("Success:",
|
|
1271
|
+
if (!d.ok)
|
|
1272
|
+
throw new Error(`HTTP error! status: ${d.status}`);
|
|
1273
|
+
const S = d.headers.get("content-type");
|
|
1274
|
+
if (S && S.includes("application/json")) {
|
|
1275
|
+
const l = await d.json();
|
|
1276
|
+
console.log("Success:", l);
|
|
1273
1277
|
}
|
|
1274
|
-
|
|
1275
|
-
} catch (
|
|
1276
|
-
console.error("Error submitting form:",
|
|
1277
|
-
|
|
1278
|
+
k(!0), _();
|
|
1279
|
+
} catch (c) {
|
|
1280
|
+
console.error("Error submitting form:", c), b(
|
|
1281
|
+
n(
|
|
1278
1282
|
"form.submit_error",
|
|
1279
1283
|
"Произошла ошибка при отправке. Пожалуйста, попробуйте позже."
|
|
1280
1284
|
)
|
|
1281
1285
|
);
|
|
1282
1286
|
} finally {
|
|
1283
|
-
|
|
1287
|
+
C(!1);
|
|
1284
1288
|
}
|
|
1285
1289
|
}, O = cr(t || [], {
|
|
1286
|
-
register:
|
|
1290
|
+
register: B,
|
|
1287
1291
|
errors: M,
|
|
1288
|
-
control:
|
|
1292
|
+
control: I
|
|
1289
1293
|
});
|
|
1290
1294
|
return /* @__PURE__ */ e(oe, { children: /* @__PURE__ */ e(
|
|
1291
1295
|
"form",
|
|
1292
1296
|
{
|
|
1293
|
-
onSubmit:
|
|
1297
|
+
onSubmit: F(A),
|
|
1294
1298
|
id: "application_form",
|
|
1295
1299
|
className: "w-full",
|
|
1296
|
-
children: /* @__PURE__ */
|
|
1300
|
+
children: /* @__PURE__ */ p(
|
|
1297
1301
|
"div",
|
|
1298
1302
|
{
|
|
1299
1303
|
style: {
|
|
@@ -1301,11 +1305,11 @@ const sr = {
|
|
|
1301
1305
|
},
|
|
1302
1306
|
className: "bg-white rounded-[24px] w-full flex flex-col items-center justify-center py-[72px] px-[96px] max-tablet:py-[40px] max-tablet:px-[32px] transition-all duration-300 mt-[8px]",
|
|
1303
1307
|
children: [
|
|
1304
|
-
/* @__PURE__ */
|
|
1305
|
-
/* @__PURE__ */ e("h2", { className: "text-[36px] leading-[44px] font-semibold m-0 mb-3 text-blackBG max-tablet:text-[28px] max-tablet:leading-[36px]", children:
|
|
1306
|
-
/* @__PURE__ */ e("span", { className: "text-[18px] leading-[26px] text-graySoft max-tablet:text-[16px] max-tablet:leading-[24px]", children:
|
|
1308
|
+
/* @__PURE__ */ p("div", { className: "text-center mb-10 max-tablet:mb-8", children: [
|
|
1309
|
+
/* @__PURE__ */ e("h2", { className: "text-[36px] leading-[44px] font-semibold m-0 mb-3 text-blackBG max-tablet:text-[28px] max-tablet:leading-[36px]", children: n(s || "", s) }),
|
|
1310
|
+
/* @__PURE__ */ e("span", { className: "text-[18px] leading-[26px] text-graySoft max-tablet:text-[16px] max-tablet:leading-[24px]", children: n(o || "", o) })
|
|
1307
1311
|
] }),
|
|
1308
|
-
|
|
1312
|
+
N ? /* @__PURE__ */ e("div", { className: "flex flex-col items-center w-[640px] gap-8 max-tablet:w-full animate-in fade-in duration-500", children: /* @__PURE__ */ p("div", { className: "text-center", children: [
|
|
1309
1313
|
/* @__PURE__ */ e("div", { className: "w-20 h-20 rounded-full bg-gradient-to-br from-greenLight to-green flex items-center justify-center mx-auto mb-6 shadow-lg animate-in zoom-in duration-500", children: /* @__PURE__ */ e(
|
|
1310
1314
|
"svg",
|
|
1311
1315
|
{
|
|
@@ -1324,9 +1328,9 @@ const sr = {
|
|
|
1324
1328
|
)
|
|
1325
1329
|
}
|
|
1326
1330
|
) }),
|
|
1327
|
-
/* @__PURE__ */
|
|
1328
|
-
/* @__PURE__ */ e("div", { className: "font-semibold text-[24px] leading-[32px] text-blackBG mb-3", children:
|
|
1329
|
-
/* @__PURE__ */ e("div", { className: "text-[18px] leading-[26px] text-graySoft", children:
|
|
1331
|
+
/* @__PURE__ */ p("div", { className: "text-center", children: [
|
|
1332
|
+
/* @__PURE__ */ e("div", { className: "font-semibold text-[24px] leading-[32px] text-blackBG mb-3", children: n("form.success_title", "Заявка успешно отправлена") }),
|
|
1333
|
+
/* @__PURE__ */ e("div", { className: "text-[18px] leading-[26px] text-graySoft", children: n(
|
|
1330
1334
|
"form.success_description",
|
|
1331
1335
|
"С Вами свяжется наш специалист и поможет с подключением сервиса"
|
|
1332
1336
|
) }),
|
|
@@ -1334,14 +1338,14 @@ const sr = {
|
|
|
1334
1338
|
X,
|
|
1335
1339
|
{
|
|
1336
1340
|
className: "justify-center m-auto mt-6",
|
|
1337
|
-
title:
|
|
1341
|
+
title: n("form.close", "Закрыть"),
|
|
1338
1342
|
onClick: () => {
|
|
1339
|
-
|
|
1343
|
+
k(!1), _();
|
|
1340
1344
|
}
|
|
1341
1345
|
}
|
|
1342
1346
|
)
|
|
1343
1347
|
] })
|
|
1344
|
-
] }) }) : /* @__PURE__ */
|
|
1348
|
+
] }) }) : /* @__PURE__ */ p(R, { children: [
|
|
1345
1349
|
/* @__PURE__ */ e(
|
|
1346
1350
|
"div",
|
|
1347
1351
|
{
|
|
@@ -1356,25 +1360,25 @@ const sr = {
|
|
|
1356
1360
|
/* @__PURE__ */ e("div", { className: "pt-2", children: /* @__PURE__ */ e(
|
|
1357
1361
|
Q,
|
|
1358
1362
|
{
|
|
1359
|
-
...
|
|
1360
|
-
required:
|
|
1363
|
+
...B("agreement", {
|
|
1364
|
+
required: n(
|
|
1361
1365
|
"form.agreement_required",
|
|
1362
1366
|
"Необходимо согласие на обработку персональных данных"
|
|
1363
1367
|
)
|
|
1364
1368
|
}),
|
|
1365
|
-
error: (
|
|
1366
|
-
label: /* @__PURE__ */
|
|
1367
|
-
|
|
1369
|
+
error: (h = M.agreement) == null ? void 0 : h.message,
|
|
1370
|
+
label: /* @__PURE__ */ p(R, { children: [
|
|
1371
|
+
n("form.i_agree", "Я соглашаюсь с"),
|
|
1368
1372
|
" ",
|
|
1369
1373
|
/* @__PURE__ */ e(
|
|
1370
1374
|
"button",
|
|
1371
1375
|
{
|
|
1372
1376
|
type: "button",
|
|
1373
1377
|
className: "text-greenLight hover:text-green underline transition-colors duration-200 bg-transparent border-0 p-0 cursor-pointer",
|
|
1374
|
-
onClick: (
|
|
1375
|
-
|
|
1378
|
+
onClick: (L) => {
|
|
1379
|
+
L.preventDefault(), window.open(w || "", "_blank");
|
|
1376
1380
|
},
|
|
1377
|
-
children:
|
|
1381
|
+
children: n(
|
|
1378
1382
|
"form.agreement_link",
|
|
1379
1383
|
"условиями обработки персональных данных"
|
|
1380
1384
|
)
|
|
@@ -1383,17 +1387,17 @@ const sr = {
|
|
|
1383
1387
|
] })
|
|
1384
1388
|
}
|
|
1385
1389
|
) }),
|
|
1386
|
-
|
|
1390
|
+
f && /* @__PURE__ */ e("div", { className: "mt-4 p-4 bg-red-50 border border-red-200 text-red-600 rounded-xl text-sm w-[640px] max-tablet:w-full animate-in fade-in slide-in-from-top-1", children: f }),
|
|
1387
1391
|
/* @__PURE__ */ e("div", { className: "mt-6 w-[640px] max-tablet:w-full", children: /* @__PURE__ */ e(
|
|
1388
1392
|
X,
|
|
1389
1393
|
{
|
|
1390
|
-
loading:
|
|
1394
|
+
loading: m,
|
|
1391
1395
|
className: "w-full whitespace-nowrap transition-all duration-200 hover:scale-[1.02] active:scale-[0.98]",
|
|
1392
1396
|
type: "submit",
|
|
1393
1397
|
size: Ne.XL,
|
|
1394
1398
|
variant: _e.Primary,
|
|
1395
|
-
disabled: !
|
|
1396
|
-
children:
|
|
1399
|
+
disabled: !W || m,
|
|
1400
|
+
children: n("form.submit", "Отправить заявку")
|
|
1397
1401
|
}
|
|
1398
1402
|
) })
|
|
1399
1403
|
] })
|
|
@@ -1405,7 +1409,7 @@ const sr = {
|
|
|
1405
1409
|
};
|
|
1406
1410
|
ge.propsToEdit = gr;
|
|
1407
1411
|
const Ba = {
|
|
1408
|
-
MainBanner: { key: "MainBanner", component:
|
|
1412
|
+
MainBanner: { key: "MainBanner", component: je },
|
|
1409
1413
|
Banner: { key: "Banner", component: we },
|
|
1410
1414
|
CardImageList: { key: "CardImageList", component: Ee },
|
|
1411
1415
|
Stepper: { key: "Stepper", component: Be },
|
|
@@ -1419,7 +1423,7 @@ const Ba = {
|
|
|
1419
1423
|
Partners: { key: "Partners", component: Pe },
|
|
1420
1424
|
PartnersColors: { key: "PartnersColors", component: Oe },
|
|
1421
1425
|
WarningCard: { key: "WarningCard", component: U },
|
|
1422
|
-
Faq: { key: "Faq", component:
|
|
1426
|
+
Faq: { key: "Faq", component: We },
|
|
1423
1427
|
DownloadFileBanner: {
|
|
1424
1428
|
key: "DownloadFileBanner",
|
|
1425
1429
|
component: $e
|
|
@@ -1427,7 +1431,7 @@ const Ba = {
|
|
|
1427
1431
|
DownloadFileHalf: { key: "DownloadFileHalf", component: Re },
|
|
1428
1432
|
DownloadFileFull: { key: "DownloadFileFull", component: Ze },
|
|
1429
1433
|
DownloadFileMini: { key: "DownloadFileMini", component: Xe },
|
|
1430
|
-
InstructionList: { key: "InstructionList", component:
|
|
1434
|
+
InstructionList: { key: "InstructionList", component: Ae },
|
|
1431
1435
|
PreviewList: { key: "PreviewList", component: Ge },
|
|
1432
1436
|
SwiperList: { key: "SwiperList", component: it },
|
|
1433
1437
|
AnimatedSwiper: { key: "AnimatedSwiper", component: qe },
|
|
@@ -1470,8 +1474,8 @@ const Ba = {
|
|
|
1470
1474
|
Partners: kt.component_props,
|
|
1471
1475
|
PartnersColors: Ct.component_props,
|
|
1472
1476
|
WarningCard: vt.component_props,
|
|
1473
|
-
Faq:
|
|
1474
|
-
DownloadFileBanner:
|
|
1477
|
+
Faq: Lt.component_props,
|
|
1478
|
+
DownloadFileBanner: Dt.component_props,
|
|
1475
1479
|
DownloadFileHalf: Nt.component_props,
|
|
1476
1480
|
DownloadFileFull: _t.component_props,
|
|
1477
1481
|
DownloadFileMini: Bt.component_props,
|
|
@@ -1484,9 +1488,9 @@ const Ba = {
|
|
|
1484
1488
|
VideoMainBanner: Ht.component_props,
|
|
1485
1489
|
EmptyBox: Pt.component_props,
|
|
1486
1490
|
PromoPoster: Et.component_props,
|
|
1487
|
-
CardImageSecondaryList:
|
|
1488
|
-
CardInfoTable:
|
|
1489
|
-
StandartTable:
|
|
1491
|
+
CardImageSecondaryList: jt.component_props,
|
|
1492
|
+
CardInfoTable: Wt.component_props,
|
|
1493
|
+
StandartTable: At.component_props,
|
|
1490
1494
|
IntroBanner: Ot.component_props,
|
|
1491
1495
|
DownloadFileBright: Gt.component_props,
|
|
1492
1496
|
FormDefault: dr,
|