md-components-mdigial-azamat 0.0.112 → 0.0.113
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 +28 -5
- package/dist/ActionCardList/index.js +1 -1
- package/dist/ActionCardList/info.js +1 -1
- package/dist/ActionCardSecondaryList/ActionCardSecondaryList.js +32 -0
- package/dist/ActionCardSecondaryList/index.js +6 -0
- package/dist/ActionCardSecondaryList/info.js +11 -0
- package/dist/ActionCardSecondaryList/schema.js +51 -0
- package/dist/ActionCardSecondaryList/types.js +4 -0
- package/dist/ActionIconList/ActionIconList.js +25 -2
- package/dist/AllComponents.js +28 -5
- package/dist/AllComponentsInfo.js +111 -95
- package/dist/AnimatedSwiper/index.js +40 -38
- package/dist/CardImageList/CardImageList.js +122 -81
- package/dist/CardImageList/schema.js +17 -12
- package/dist/Cards/ActionSecondaryCard/ActionSecondaryCard.js +77 -0
- package/dist/Cards/ActionSecondaryCard/index.js +6 -0
- package/dist/Cards/ActionSecondaryCard/info.js +11 -0
- package/dist/Cards/ActionSecondaryCard/types.js +4 -0
- package/dist/Cards/CardImage/CardImage.js +48 -50
- package/dist/Cards/InfoCard/InfoCard.js +114 -0
- package/dist/Cards/InfoCard/index.js +9 -0
- package/dist/Cards/InfoCard/info.js +11 -0
- package/dist/Cards/InfoCard/schema.js +60 -0
- package/dist/Cards/InfoCard/types.js +4 -0
- package/dist/Cards/PostCard/PostCard.js +60 -0
- package/dist/Cards/PostCard/index.js +6 -0
- package/dist/Cards/PostCard/info.js +11 -0
- package/dist/Cards/PostCard/types.js +4 -0
- package/dist/Cards/WarningCard/WarningCard.js +27 -4
- package/dist/Cards/WarningCard/index.js +1 -1
- package/dist/Cards/WarningCard/info.js +1 -1
- package/dist/Cards/WarningCard/model.js +1 -1
- package/dist/CurrencyRates/CurrencyRates.js +78 -0
- package/dist/CurrencyRates/components/Calculator.js +101 -0
- package/dist/CurrencyRates/components/RateCell.js +15 -0
- package/dist/CurrencyRates/components/RatesTable.js +134 -0
- package/dist/CurrencyRates/components/index.js +6 -0
- package/dist/CurrencyRates/index.js +8 -0
- package/dist/CurrencyRates/info.js +11 -0
- package/dist/CurrencyRates/schema.js +63 -0
- package/dist/CurrencyRates/types.js +4 -0
- package/dist/DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js +1 -1
- package/dist/DownloadFile/components/DownloadFileFull/DownloadFileFull.js +1 -1
- package/dist/DownloadFile/components/DownloadFileHalf/DownloadFileHalf.js +1 -1
- package/dist/DownloadFile/components/DownloadFileMini/DownloadFileMini.js +1 -1
- package/dist/DownloadFile/components/FileBannerSecondary/FileBannerSecondary.js +1 -1
- package/dist/Faq/Faq.js +1 -1
- package/dist/Faq/components/FeedbackForm/FeedbackForm.js +55 -6
- package/dist/Faq/components/FeedbackForm/index.js +1 -1
- package/dist/FieldInput-ef2a18d4.js +2743 -0
- package/dist/Forms/FormDefault/FormDefault.js +12 -0
- package/dist/Forms/FormDefault/components/FieldCustom.js +11 -0
- package/dist/Forms/FormDefault/components/FieldInput.js +11 -0
- package/dist/Forms/FormDefault/components/FieldSection.js +10 -0
- package/dist/Forms/FormDefault/components/FormContent.js +10 -0
- package/dist/Forms/FormDefault/components/FormFields.js +7 -0
- package/dist/Forms/FormDefault/components/FormSuccessMessage.js +49 -0
- package/dist/Forms/FormDefault/components/index.js +6 -0
- package/dist/Forms/FormDefault/hooks/index.js +10 -0
- package/dist/Forms/FormDefault/hooks/useFieldOptions.js +32 -0
- package/dist/Forms/FormDefault/hooks/useFieldValidation.js +33 -0
- package/dist/Forms/FormDefault/hooks/useFieldVisibility.js +24 -0
- package/dist/Forms/FormDefault/hooks/useFormSubmission.js +64 -0
- package/dist/Forms/FormDefault/index.js +6 -12
- package/dist/Forms/FormDefault/info.js +3 -115
- package/dist/Forms/FormDefault/model/componentRegistry.js +134 -0
- package/dist/Forms/FormDefault/model/fieldTypes.js +18 -0
- package/dist/Forms/FormDefault/model/formElementTypes.js +18 -0
- package/dist/Forms/FormDefault/model/index.js +13 -0
- package/dist/Forms/FormDefault/model/requestForm.js +4 -0
- package/dist/Forms/{model/components.js → FormDefault/schema.js} +32 -5
- package/dist/Forms/FormDefault/utils.js +20 -0
- package/dist/Grid-331af266.js +80 -0
- package/dist/Header/Header.js +54 -42
- package/dist/Header/components/HeaderMainMobile/HeaderMainMobile.js +21 -19
- package/dist/Header/components/HeaderMobile/HeaderMobile.js +67 -52
- package/dist/Header/components/HeaderTab/HeaderTab.js +17 -15
- package/dist/Header/components/HeaderTabsMobile/HeaderTabsMobile.js +8 -7
- package/dist/Header/components/HeaderWeb/HeaderWeb.js +134 -114
- package/dist/Header/components/TabsOutlined/TabsOutlined.js +8 -7
- package/dist/HeroIconsBanner/HeroIconsBanner.js +25 -25
- package/dist/IconList/IconList.js +60 -54
- package/dist/InfoCardList/InfoCardList.js +100 -0
- package/dist/InfoCardList/index.js +6 -0
- package/dist/InfoCardList/info.js +11 -0
- package/dist/InfoCardList/schema.js +39 -0
- package/dist/InfoCardList/types.js +1 -0
- package/dist/PageViewer/renderComponents.js +1 -1
- package/dist/PostsList/PostsList.js +78 -0
- package/dist/PostsList/index.js +4 -0
- package/dist/PostsList/info.js +11 -0
- package/dist/PostsList/schema.js +49 -0
- package/dist/PostsList/types.js +1 -0
- package/dist/PostsSlider/PostsSlider.js +78 -0
- package/dist/PostsSlider/index.js +4 -0
- package/dist/PostsSlider/info.js +11 -0
- package/dist/PostsSlider/schema.js +49 -0
- package/dist/PostsSlider/types.js +1 -0
- package/dist/RenderAllComponents/RenderAllComponents.js +1 -1
- package/dist/RenderAllComponents/const.js +1 -1
- package/dist/SearchBlock/SearchBlock.js +36 -37
- package/dist/SegmentedContent/SegmentedContent.js +160 -0
- package/dist/SegmentedContent/components/ContentCard.js +50 -0
- package/dist/SegmentedContent/components/index.js +4 -0
- package/dist/SegmentedContent/index.js +8 -0
- package/dist/SegmentedContent/info.js +12 -0
- package/dist/SegmentedContent/schema.js +108 -0
- package/dist/SegmentedContent/types.js +1 -0
- package/dist/Segments/Segments.js +36 -28
- package/dist/Segments/index.js +8 -2
- package/dist/Segments/info.js +1 -1
- package/dist/Segments/schema.js +21 -0
- package/dist/Segments/types.js +4 -1
- package/dist/SegmentsIcons/SegmentsIcons.js +92 -0
- package/dist/SegmentsIcons/index.js +8 -0
- package/dist/SegmentsIcons/info.js +11 -0
- package/dist/SegmentsIcons/schema.js +14 -0
- package/dist/SegmentsIcons/types.js +1 -0
- package/dist/SwiperList/SwiperList.js +13 -11
- package/dist/assets/index.css +1 -1
- package/dist/{componentsMap-cac6c316.js → componentsMap-29ccdfcc.js} +5 -3
- package/dist/{data.mock-ebc679ec.js → data.mock-bb32e8ee.js} +420 -148
- package/dist/index-0791c17f.js +56 -0
- package/dist/index-2ec92a04.js +32 -0
- package/dist/index.esm-0558519f.js +1171 -0
- package/dist/info-72904479.js +791 -0
- package/dist/main.js +151 -119
- package/dist/{mousewheel-865ae601.js → mousewheel-afbc6d42.js} +1 -1
- package/dist/navigation-266856e7.js +136 -0
- package/dist/navigation-cd786a0d.js +133 -0
- package/dist/{palette-c2fe86ec.js → palette-256cf77a.js} +3 -1
- package/dist/{swiper-react-90953710.js → swiper-react-3c2710e8.js} +695 -825
- package/dist/types-c3843cc0.js +4 -0
- package/dist/useDraggableScroll-440da9b7.js +29 -0
- package/dist/useTranslation-d7a3ca6f.js +298 -0
- package/package.json +1 -1
- package/dist/FileLoader/fileLoader.js +0 -22
- package/dist/FileLoader/index.js +0 -8
- package/dist/Forms/FormDefault/componentTypes.js +0 -31
- package/dist/Forms/FormDefault/fieldTypesList.js +0 -45
- package/dist/Forms/helpers/renderFormFields.js +0 -7
- package/dist/Forms/model/requestForm.js +0 -4
- package/dist/index-6686852d.js +0 -1794
- package/dist/index-a0ed2e4a.js +0 -1221
- package/dist/info-d05a1f02.js +0 -1547
- package/dist/navigation-b894d0cd.js +0 -183
- /package/dist/Forms/{types/formItems.js → FormDefault/model/types.js} +0 -0
package/dist/info-d05a1f02.js
DELETED
|
@@ -1,1547 +0,0 @@
|
|
|
1
|
-
import { C as q } from "./index-0a5f313c.js";
|
|
2
|
-
import { jsx as e, jsxs as p, Fragment as R } from "react/jsx-runtime";
|
|
3
|
-
import { warningCardVariant as xe, WarningCardVariant as G, WarningCardVariantKey as ye } from "./Cards/WarningCard/model.js";
|
|
4
|
-
import "./ConfigProvider/index.js";
|
|
5
|
-
import { Banner as we } from "./Banner/Banner.js";
|
|
6
|
-
import "./BannerAndText/index.js";
|
|
7
|
-
import { forwardRef as j, useState as T, useMemo as Z, useEffect as ke, useRef as Ce, useImperativeHandle as re, useCallback as Le } from "react";
|
|
8
|
-
import { c as y } from "./cn-6a4bf187.js";
|
|
9
|
-
import "./Faq/components/Collapse/Collapse.js";
|
|
10
|
-
import "./Header/components/HeaderTabsMobile/HeaderTabsMobile.js";
|
|
11
|
-
import { HtmlContent as ve } from "./HtmlContent/HtmlContent.js";
|
|
12
|
-
import "./Header/components/TabsOutlined/TabsOutlined.js";
|
|
13
|
-
import { B as X } from "./index-875e92ce.js";
|
|
14
|
-
import { B as De, a as Ne, b as _e } from "./const-53dff524.js";
|
|
15
|
-
import { Stepper as Be } from "./Stepper/Stepper.js";
|
|
16
|
-
import { Segments as Se } from "./Segments/Segments.js";
|
|
17
|
-
import { VideoFull as Ie } from "./Video/VideoFull/VideoFull.js";
|
|
18
|
-
import { VideoList as Fe } from "./Video/VideoList/VideoList.js";
|
|
19
|
-
import { VideoListMini as Me } from "./Video/VideoListMini/VideoListMini.js";
|
|
20
|
-
import { ContentCardList as Ve } from "./ContentCardList/ContentCardList.js";
|
|
21
|
-
import { CardIconList as Te } from "./CardIconList/CardIconList.js";
|
|
22
|
-
import { MultiCards as He } from "./MultiCards/index.js";
|
|
23
|
-
import { Partners as Pe } from "./Partners/Partners.js";
|
|
24
|
-
import { CardImageList as Ee } from "./CardImageList/CardImageList.js";
|
|
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
|
-
import "./HeroPossibilityBanner/index.js";
|
|
29
|
-
import { PartnersColors as Oe } from "./PartnersColors/PartnersColors.js";
|
|
30
|
-
import { PreviewList as Ge } from "./PreviewList/PreviewList.js";
|
|
31
|
-
import "./Cards/CardImage/CardImage.js";
|
|
32
|
-
import "./Cards/CardImage/info.js";
|
|
33
|
-
import "./Cards/ContentCard/ContentCard.js";
|
|
34
|
-
import "./Cards/ColoredCard/index.js";
|
|
35
|
-
import "./Cards/FeaturesCard/index.js";
|
|
36
|
-
import { DownloadFileBanner as $e } from "./DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js";
|
|
37
|
-
import { DownloadFileFull as Ze } from "./DownloadFile/components/DownloadFileFull/DownloadFileFull.js";
|
|
38
|
-
import { DownloadFileHalf as Re } from "./DownloadFile/components/DownloadFileHalf/DownloadFileHalf.js";
|
|
39
|
-
import { DownloadFileMini as Xe } from "./DownloadFile/components/DownloadFileMini/DownloadFileMini.js";
|
|
40
|
-
import "./InstructionList/components/InstructionCard/InstructionCard.js";
|
|
41
|
-
import "./PreviewList/components/PreviewCard/PreviewCard.js";
|
|
42
|
-
import { ActionCard as ze } from "./ActionCard/ActionCard.js";
|
|
43
|
-
import { TitleBlock as Y } from "./TitleBlock/TitleBlock.js";
|
|
44
|
-
import qe from "./AnimatedSwiper/index.js";
|
|
45
|
-
import "./CardImageSecondary/CardImageSecondary.js";
|
|
46
|
-
import { CardImageSecondaryList as Ye } from "./CardImageSecondaryList/CardImageSecondaryList.js";
|
|
47
|
-
import { CardInfoTable as Ke } from "./CardInfoTable/index.js";
|
|
48
|
-
import { DownloadFileBright as Ue } from "./DownloadFile/components/DownloadFileBright/index.js";
|
|
49
|
-
import "./DownloadFile/components/FileBannerSecondary/FileBannerSecondary.js";
|
|
50
|
-
import { C as Qe, u as Je } from "./index-a0ed2e4a.js";
|
|
51
|
-
import { C as oe } from "./ComponentContainer-dca711c6.js";
|
|
52
|
-
import { u as et } from "./useScreenSize-c1b64c02.js";
|
|
53
|
-
import { u as ae, F as tt } from "./index-6686852d.js";
|
|
54
|
-
import { u as K } from "./useClickOutside-197b0df2.js";
|
|
55
|
-
import "./InfoBanner/index.js";
|
|
56
|
-
import { InfoBannerList as rt } from "./InfoBannerList/InfoBannerList.js";
|
|
57
|
-
import { IntroBanner as ot } from "./IntroBanner/IntroBanner.js";
|
|
58
|
-
import { PromoPoster as at } from "./PromoPoster/PromoPoster.js";
|
|
59
|
-
import { Space as nt } from "./Space/Space.js";
|
|
60
|
-
import { StandartTable as st } from "./StandartTable/index.js";
|
|
61
|
-
import { SwiperList as it } from "./SwiperList/SwiperList.js";
|
|
62
|
-
import "./TasksBanner/TasksBanner.js";
|
|
63
|
-
import { TasksBannerList as lt } from "./TasksBannerList/TasksBannerList.js";
|
|
64
|
-
import { VideoMainBanner as ct } from "./VideoMainBanner/VideoMainBanner.js";
|
|
65
|
-
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 Lt, F as vt, k as Dt, D as Nt, l as _t, m as Bt, I as St, o as It, p as Ft, A as Mt, q as Vt, 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, z as Zt, H as Rt, G as Xt, J as zt } from "./data.mock-ebc679ec.js";
|
|
66
|
-
import { ButtonsList as qt } from "./ButtonsList/ButtonsList.js";
|
|
67
|
-
import { FieldTypes as E, DataTypesEnum as z } from "./Types/FiledTypes.js";
|
|
68
|
-
import "react-dom";
|
|
69
|
-
import "./AnimatedSwiper/info.js";
|
|
70
|
-
import "./Banner/info.js";
|
|
71
|
-
import "./BannerAndText/info.js";
|
|
72
|
-
import "./ButtonsList/info.js";
|
|
73
|
-
import "./CardIconList/info.js";
|
|
74
|
-
import "./CardImageList/info.js";
|
|
75
|
-
import "./CardImageSecondary/info.js";
|
|
76
|
-
import "./CardImageSecondaryList/info.js";
|
|
77
|
-
import "./CardInfoTable/info.js";
|
|
78
|
-
import "./Cards/ColoredCard/info.js";
|
|
79
|
-
import "./Cards/ContentCard/info.js";
|
|
80
|
-
import "./Cards/FeaturesCard/info.js";
|
|
81
|
-
import "./ContentCardList/info.js";
|
|
82
|
-
import "./DownloadFile/components/DownloadFileBanner/info.js";
|
|
83
|
-
import "./DownloadFile/components/DownloadFileBright/info.js";
|
|
84
|
-
import "./DownloadFile/components/DownloadFileFull/info.js";
|
|
85
|
-
import "./DownloadFile/components/DownloadFileHalf/info.js";
|
|
86
|
-
import "./DownloadFile/components/DownloadFileMini/info.js";
|
|
87
|
-
import "./Faq/info.js";
|
|
88
|
-
import "./Footer/info.js";
|
|
89
|
-
import "./Header/info.js";
|
|
90
|
-
import "./HeroIconsBanner/info.js";
|
|
91
|
-
import "./HeroPossibilityBanner/info.js";
|
|
92
|
-
import "./IconList/info.js";
|
|
93
|
-
import "./InfoBanner/info.js";
|
|
94
|
-
import "./InfoBannerList/info.js";
|
|
95
|
-
import "./InstructionList/info.js";
|
|
96
|
-
import "./IntroBanner/info.js";
|
|
97
|
-
import "./MainBanner/info.js";
|
|
98
|
-
import "./MultiCards/info.js";
|
|
99
|
-
import "./Partners/info.js";
|
|
100
|
-
import "./PartnersColors/info.js";
|
|
101
|
-
import "./PreviewList/info.js";
|
|
102
|
-
import "./PromoPoster/info.js";
|
|
103
|
-
import "./SearchBlock/info.js";
|
|
104
|
-
import "./Segments/info.js";
|
|
105
|
-
import "./Space/info.js";
|
|
106
|
-
import "./StandartTable/info.js";
|
|
107
|
-
import "./Stepper/info.js";
|
|
108
|
-
import "./SwiperList/info.js";
|
|
109
|
-
import "./TasksBanner/info.js";
|
|
110
|
-
import "./TasksBannerList/info.js";
|
|
111
|
-
import "./Video/VideoFull/info.js";
|
|
112
|
-
import "./Video/VideoList/info.js";
|
|
113
|
-
import "./Video/VideoListMini/info.js";
|
|
114
|
-
import "./VideoMainBanner/info.js";
|
|
115
|
-
import "./Actions/types.js";
|
|
116
|
-
import "./Actions/projectActions.js";
|
|
117
|
-
import "./Flex-86aee720.js";
|
|
118
|
-
import { HeroIconsBanner as Yt } from "./HeroIconsBanner/HeroIconsBanner.js";
|
|
119
|
-
import { c as Kt, R as Ut } from "./requestForm-23442a57.js";
|
|
120
|
-
import { componentTypes as Qt } from "./Forms/FormDefault/componentTypes.js";
|
|
121
|
-
import { fieldTypesList as Jt } from "./Forms/FormDefault/fieldTypesList.js";
|
|
122
|
-
import { IconList as er } from "./IconList/IconList.js";
|
|
123
|
-
import { SearchBlock as tr } from "./SearchBlock/SearchBlock.js";
|
|
124
|
-
import { Header as rr } from "./Header/Header.js";
|
|
125
|
-
import { Footer as or } from "./Footer/Footer.js";
|
|
126
|
-
import { I as ar } from "./Icon-70ea6cb8.js";
|
|
127
|
-
const ne = [
|
|
128
|
-
"title",
|
|
129
|
-
"title_color",
|
|
130
|
-
"description",
|
|
131
|
-
"description_color",
|
|
132
|
-
"html_content",
|
|
133
|
-
De,
|
|
134
|
-
xe
|
|
135
|
-
], U = ({
|
|
136
|
-
title: s,
|
|
137
|
-
description: o,
|
|
138
|
-
button: a,
|
|
139
|
-
html_content: i,
|
|
140
|
-
variant: r = ye.Orange
|
|
141
|
-
}) => {
|
|
142
|
-
var t, u, w, D;
|
|
143
|
-
return /* @__PURE__ */ e(oe, { children: /* @__PURE__ */ e(
|
|
144
|
-
"div",
|
|
145
|
-
{
|
|
146
|
-
className: "rounded-[24px] p-6",
|
|
147
|
-
style: { background: (t = G[r]) == null ? void 0 : t.background },
|
|
148
|
-
children: /* @__PURE__ */ p("div", { className: "flex gap-4 items-center justify-between", children: [
|
|
149
|
-
/* @__PURE__ */ p(
|
|
150
|
-
"div",
|
|
151
|
-
{
|
|
152
|
-
className: "flex gap-[16px] items-center max-tablet:flex-col max-tablet:items-start max-tablet:gap-[12px]",
|
|
153
|
-
children: [
|
|
154
|
-
/* @__PURE__ */ e(
|
|
155
|
-
ar,
|
|
156
|
-
{
|
|
157
|
-
name: (u = G[r]) == null ? void 0 : u.icon,
|
|
158
|
-
size: 40
|
|
159
|
-
}
|
|
160
|
-
),
|
|
161
|
-
/* @__PURE__ */ p("div", { className: "flex flex-col gap-[4px] max-tablet:gap-0", children: [
|
|
162
|
-
/* @__PURE__ */ e(
|
|
163
|
-
"p",
|
|
164
|
-
{
|
|
165
|
-
className: y("text-[24px] leading-8 font-bold"),
|
|
166
|
-
style: { color: (w = G[r]) == null ? void 0 : w.textColor },
|
|
167
|
-
children: s
|
|
168
|
-
}
|
|
169
|
-
),
|
|
170
|
-
/* @__PURE__ */ e(
|
|
171
|
-
"p",
|
|
172
|
-
{
|
|
173
|
-
className: "text-[16px] leading-6",
|
|
174
|
-
style: { color: (D = G[r]) == null ? void 0 : D.textColor },
|
|
175
|
-
children: o
|
|
176
|
-
}
|
|
177
|
-
),
|
|
178
|
-
i && /* @__PURE__ */ e(ve, { data: i })
|
|
179
|
-
] })
|
|
180
|
-
]
|
|
181
|
-
}
|
|
182
|
-
),
|
|
183
|
-
/* @__PURE__ */ e(X, { ...a })
|
|
184
|
-
] })
|
|
185
|
-
}
|
|
186
|
-
) });
|
|
187
|
-
};
|
|
188
|
-
U.propsToEdit = ne;
|
|
189
|
-
const nr = {
|
|
190
|
-
type: "cards",
|
|
191
|
-
label: "Карточки действий",
|
|
192
|
-
dataType: "array",
|
|
193
|
-
data: {
|
|
194
|
-
title: E.TITLE,
|
|
195
|
-
icon: E.FILE,
|
|
196
|
-
link: E.LINK
|
|
197
|
-
}
|
|
198
|
-
}, se = ["title", "description", "marginBottom", nr], ie = ({
|
|
199
|
-
title: s,
|
|
200
|
-
description: o,
|
|
201
|
-
marginBottom: a,
|
|
202
|
-
cards: i
|
|
203
|
-
}) => /* @__PURE__ */ p(R, { children: [
|
|
204
|
-
/* @__PURE__ */ e(
|
|
205
|
-
Y,
|
|
206
|
-
{
|
|
207
|
-
title: s,
|
|
208
|
-
description: o,
|
|
209
|
-
marginBottom: a
|
|
210
|
-
}
|
|
211
|
-
),
|
|
212
|
-
/* @__PURE__ */ e("div", { className: "grid grid-cols-3 gap-x-[24px] gap-y-[40px] max-tablet:grid-cols-1 max-tablet:gap-y-[24px]", children: i == null ? void 0 : i.map((r, t) => /* @__PURE__ */ e(
|
|
213
|
-
ze,
|
|
214
|
-
{
|
|
215
|
-
title: r.title,
|
|
216
|
-
icon: r.icon,
|
|
217
|
-
link: r.link
|
|
218
|
-
},
|
|
219
|
-
r.id ?? t
|
|
220
|
-
)) })
|
|
221
|
-
] });
|
|
222
|
-
ie.propsToEdit = se;
|
|
223
|
-
const le = j(
|
|
224
|
-
({
|
|
225
|
-
label: s,
|
|
226
|
-
options: o = [],
|
|
227
|
-
value: a = [],
|
|
228
|
-
onChange: i,
|
|
229
|
-
error: r,
|
|
230
|
-
className: t,
|
|
231
|
-
direction: u = "column"
|
|
232
|
-
}, w) => {
|
|
233
|
-
const D = (n) => {
|
|
234
|
-
if (!i)
|
|
235
|
-
return;
|
|
236
|
-
const N = a.includes(n) ? a.filter((k) => k !== n) : [...a, n];
|
|
237
|
-
i(N);
|
|
238
|
-
};
|
|
239
|
-
return /* @__PURE__ */ p(
|
|
240
|
-
"div",
|
|
241
|
-
{
|
|
242
|
-
ref: w,
|
|
243
|
-
className: y("flex flex-col gap-2", t),
|
|
244
|
-
children: [
|
|
245
|
-
s && /* @__PURE__ */ e("label", { className: "text-sm font-medium text-blackBG mb-1", children: s }),
|
|
246
|
-
/* @__PURE__ */ e(
|
|
247
|
-
"div",
|
|
248
|
-
{
|
|
249
|
-
className: y(
|
|
250
|
-
"flex gap-4",
|
|
251
|
-
u === "column" ? "flex-col" : "flex-row flex-wrap"
|
|
252
|
-
),
|
|
253
|
-
children: o == null ? void 0 : o.map((n) => /* @__PURE__ */ e(
|
|
254
|
-
Q,
|
|
255
|
-
{
|
|
256
|
-
label: n == null ? void 0 : n.label,
|
|
257
|
-
checked: a.includes(n == null ? void 0 : n.value),
|
|
258
|
-
onChange: () => D(n == null ? void 0 : n.value),
|
|
259
|
-
error: r && (a == null ? void 0 : a.length) === 0 ? r : void 0
|
|
260
|
-
},
|
|
261
|
-
n == null ? void 0 : n.value
|
|
262
|
-
))
|
|
263
|
-
}
|
|
264
|
-
),
|
|
265
|
-
r && /* @__PURE__ */ e("p", { className: "mt-1 text-sm text-red-500", children: r })
|
|
266
|
-
]
|
|
267
|
-
}
|
|
268
|
-
);
|
|
269
|
-
}
|
|
270
|
-
);
|
|
271
|
-
le.displayName = "CheckboxGroup";
|
|
272
|
-
const Q = j(
|
|
273
|
-
({ className: s, label: o, error: a, ...i }, r) => /* @__PURE__ */ p("div", { className: "w-full", children: [
|
|
274
|
-
/* @__PURE__ */ p("label", { className: "flex items-start gap-3 cursor-pointer group", children: [
|
|
275
|
-
/* @__PURE__ */ p("div", { className: "relative flex items-center justify-center mt-0.5", children: [
|
|
276
|
-
/* @__PURE__ */ e(
|
|
277
|
-
"input",
|
|
278
|
-
{
|
|
279
|
-
type: "checkbox",
|
|
280
|
-
className: "peer sr-only",
|
|
281
|
-
ref: r,
|
|
282
|
-
...i
|
|
283
|
-
}
|
|
284
|
-
),
|
|
285
|
-
/* @__PURE__ */ e(
|
|
286
|
-
"div",
|
|
287
|
-
{
|
|
288
|
-
className: y(
|
|
289
|
-
"relative flex items-center justify-center w-5 h-5 rounded-md border-2 transition-all duration-200",
|
|
290
|
-
"border-grayBlue5 bg-white",
|
|
291
|
-
"peer-checked:bg-greenLight peer-checked:border-greenLight",
|
|
292
|
-
"peer-focus:outline-none peer-focus:border-greenLight",
|
|
293
|
-
"peer-disabled:cursor-not-allowed peer-disabled:opacity-50",
|
|
294
|
-
"group-hover:border-greenLight",
|
|
295
|
-
'after:content-[""] after:absolute after:opacity-0 after:transition-opacity after:duration-200',
|
|
296
|
-
"after:w-[6px] after:h-[10px] after:border-r-2 after:border-b-2 after:border-white",
|
|
297
|
-
"after:rotate-45 after:-translate-x-[2px] after:translate-y-[-2px] after:top-1/2 after:left-1/2",
|
|
298
|
-
"after:translate-y-[-50%] after:translate-x-[-50%] peer-checked:after:opacity-100",
|
|
299
|
-
a && "border-red-500",
|
|
300
|
-
s
|
|
301
|
-
)
|
|
302
|
-
}
|
|
303
|
-
)
|
|
304
|
-
] }),
|
|
305
|
-
o && /* @__PURE__ */ e(
|
|
306
|
-
"span",
|
|
307
|
-
{
|
|
308
|
-
className: y(
|
|
309
|
-
"text-sm leading-5 text-graySoft select-none",
|
|
310
|
-
"group-hover:text-blackBG transition-colors duration-200",
|
|
311
|
-
a && "text-red-500"
|
|
312
|
-
),
|
|
313
|
-
children: o
|
|
314
|
-
}
|
|
315
|
-
)
|
|
316
|
-
] }),
|
|
317
|
-
a && /* @__PURE__ */ e("p", { className: "mt-2 text-sm text-red-500", children: a })
|
|
318
|
-
] })
|
|
319
|
-
);
|
|
320
|
-
Q.displayName = "Checkbox";
|
|
321
|
-
const ce = j(
|
|
322
|
-
({ className: s, type: o, error: a, label: i, ...r }, t) => /* @__PURE__ */ p("div", { className: "w-full", children: [
|
|
323
|
-
i && /* @__PURE__ */ e("label", { className: "block text-sm font-medium text-blackBG mb-2", children: i }),
|
|
324
|
-
/* @__PURE__ */ e(
|
|
325
|
-
"input",
|
|
326
|
-
{
|
|
327
|
-
type: o,
|
|
328
|
-
className: y(
|
|
329
|
-
"flex h-14 w-full rounded-2xl border-[1px] border-grayBlue bg-white px-[16px] py-[16px] text-base",
|
|
330
|
-
"placeholder:text-gray2 placeholder:opacity-60",
|
|
331
|
-
"transition-all duration-300 ease-in-out",
|
|
332
|
-
"hover:border-greenLight hover:shadow-[0_0_0_4px_rgba(22,163,74,0.1)]",
|
|
333
|
-
"focus:border-greenLight focus:outline-none focus:shadow-[0_0_0_4px_rgba(22,163,74,0.15)] focus:ring-0",
|
|
334
|
-
"disabled:cursor-not-allowed disabled:opacity-50 disabled:bg-lightGray",
|
|
335
|
-
a && "border-red-500 hover:border-red-500 focus:border-red-500 focus:shadow-[0_0_0_4px_rgba(239,68,68,0.15)]",
|
|
336
|
-
s
|
|
337
|
-
),
|
|
338
|
-
ref: t,
|
|
339
|
-
...r
|
|
340
|
-
}
|
|
341
|
-
),
|
|
342
|
-
a && /* @__PURE__ */ e("p", { className: "mt-2 text-sm text-red-500", children: a })
|
|
343
|
-
] })
|
|
344
|
-
);
|
|
345
|
-
ce.displayName = "Input";
|
|
346
|
-
const sr = () => /* @__PURE__ */ e(
|
|
347
|
-
"svg",
|
|
348
|
-
{
|
|
349
|
-
width: "20",
|
|
350
|
-
height: "20",
|
|
351
|
-
viewBox: "0 0 20 20",
|
|
352
|
-
fill: "none",
|
|
353
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
354
|
-
children: /* @__PURE__ */ e(
|
|
355
|
-
"path",
|
|
356
|
-
{
|
|
357
|
-
d: "M18.3327 9.16669V10.1667H19.3327V9.16669H18.3327ZM1.66602 9.16669H0.666016V10.1667H1.66602V9.16669ZM4.99935 4.16669V5.16669H14.9993V4.16669V3.16669H4.99935V4.16669ZM18.3327 7.50002H17.3327V14.1667H18.3327H19.3327V7.50002H18.3327ZM14.9993 17.5V16.5H4.99935V17.5V18.5H14.9993V17.5ZM1.66602 14.1667H2.66602V7.50002H1.66602H0.666016V14.1667H1.66602ZM4.99935 17.5V16.5C4.1854 16.5 3.67555 16.4979 3.30381 16.4479C2.96084 16.4018 2.88859 16.3321 2.86128 16.3048L2.15417 17.0119L1.44706 17.719C1.90791 18.1798 2.47257 18.3542 3.03731 18.4301C3.57329 18.5021 4.24194 18.5 4.99935 18.5V17.5ZM1.66602 14.1667H0.666016C0.666016 14.9241 0.663892 15.5927 0.735952 16.1287C0.81188 16.6935 0.986218 17.2581 1.44706 17.719L2.15417 17.0119L2.86128 16.3048C2.83397 16.2774 2.76423 16.2052 2.71812 15.8622C2.66814 15.4905 2.66602 14.9806 2.66602 14.1667H1.66602ZM18.3327 14.1667H17.3327C17.3327 14.9806 17.3306 15.4905 17.2806 15.8622C17.2345 16.2052 17.1647 16.2774 17.1374 16.3048L17.8445 17.0119L18.5516 17.719C19.0125 17.2581 19.1868 16.6935 19.2627 16.1287C19.3348 15.5927 19.3327 14.9241 19.3327 14.1667H18.3327ZM14.9993 17.5V18.5C15.7568 18.5 16.4254 18.5021 16.9614 18.4301C17.5261 18.3542 18.0908 18.1798 18.5516 17.719L17.8445 17.0119L17.1374 16.3048C17.1101 16.3321 17.0379 16.4018 16.6949 16.4479C16.3232 16.4979 15.8133 16.5 14.9993 16.5V17.5ZM14.9993 4.16669V5.16669C15.8133 5.16669 16.3232 5.16881 16.6949 5.21879C17.0379 5.2649 17.1101 5.33464 17.1374 5.36195L17.8445 4.65484L18.5516 3.94774C18.0908 3.48689 17.5261 3.31255 16.9614 3.23662C16.4254 3.16456 15.7568 3.16669 14.9993 3.16669V4.16669ZM18.3327 7.50002H19.3327C19.3327 6.74262 19.3348 6.07396 19.2627 5.53799C19.1868 4.97324 19.0125 4.40858 18.5516 3.94774L17.8445 4.65484L17.1374 5.36195C17.1647 5.38926 17.2345 5.46151 17.2806 5.80448C17.3306 6.17622 17.3327 6.68608 17.3327 7.50002H18.3327ZM4.99935 4.16669V3.16669C4.24194 3.16669 3.57329 3.16456 3.03732 3.23662C2.47257 3.31255 1.90791 3.48689 1.44706 3.94774L2.15417 4.65484L2.86128 5.36195C2.88859 5.33464 2.96084 5.2649 3.30381 5.21879C3.67555 5.16881 4.1854 5.16669 4.99935 5.16669V4.16669ZM1.66602 7.50002H2.66602C2.66602 6.68608 2.66814 6.17622 2.71812 5.80448C2.76423 5.46151 2.83397 5.38926 2.86128 5.36195L2.15417 4.65484L1.44706 3.94774C0.986218 4.40858 0.81188 4.97324 0.735952 5.53799C0.663892 6.07396 0.666016 6.74262 0.666016 7.50002H1.66602ZM18.3327 7.50002H17.3327V9.16669H18.3327H19.3327V7.50002H18.3327ZM18.3327 9.16669V8.16669H1.66602V9.16669V10.1667H18.3327V9.16669ZM1.66602 9.16669H2.66602V7.50002H1.66602H0.666016V9.16669H1.66602ZM5.83268 1.66669H4.83268V4.16669H5.83268H6.83268V1.66669H5.83268ZM14.166 1.66669H13.166V4.16669H14.166H15.166V1.66669H14.166ZM14.166 14.1667V15.1667H15.8327V14.1667V13.1667H14.166V14.1667Z",
|
|
358
|
-
fill: "#40474F"
|
|
359
|
-
}
|
|
360
|
-
)
|
|
361
|
-
}
|
|
362
|
-
), ir = (s) => {
|
|
363
|
-
if (!s)
|
|
364
|
-
return "";
|
|
365
|
-
const o = String(s.getDate()).padStart(2, "0"), a = String(s.getMonth() + 1).padStart(2, "0"), i = s.getFullYear();
|
|
366
|
-
return `${o}.${a}.${i}`;
|
|
367
|
-
}, lr = (s) => {
|
|
368
|
-
if (!s)
|
|
369
|
-
return null;
|
|
370
|
-
const o = s.split(".");
|
|
371
|
-
if (o.length === 3) {
|
|
372
|
-
const a = parseInt(o[0], 10), i = parseInt(o[1], 10) - 1, r = parseInt(o[2], 10);
|
|
373
|
-
if (!isNaN(a) && !isNaN(i) && !isNaN(r)) {
|
|
374
|
-
const t = new Date(r, i, a);
|
|
375
|
-
if (t.getDate() === a && t.getMonth() === i && t.getFullYear() === r)
|
|
376
|
-
return t;
|
|
377
|
-
}
|
|
378
|
-
}
|
|
379
|
-
return null;
|
|
380
|
-
}, cr = (s, o) => new Date(o, s, 1).toLocaleDateString("ru-RU", { month: "long", year: "numeric" }), dr = ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], de = j(
|
|
381
|
-
({
|
|
382
|
-
className: s,
|
|
383
|
-
error: o,
|
|
384
|
-
label: a,
|
|
385
|
-
value: i,
|
|
386
|
-
onChange: r,
|
|
387
|
-
placeholder: t = "Дата обращения в Контакт-центр",
|
|
388
|
-
...u
|
|
389
|
-
}, w) => {
|
|
390
|
-
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), I = i !== void 0, L = I ? i : D, { ref: _ } = K(N, () => {
|
|
391
|
-
k(!1);
|
|
392
|
-
}), V = Z(() => lr(L), [L]);
|
|
393
|
-
ke(() => {
|
|
394
|
-
V && (B(V), C(V.getMonth()), b(V.getFullYear()));
|
|
395
|
-
}, [V]);
|
|
396
|
-
const F = Z(() => {
|
|
397
|
-
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();
|
|
398
|
-
for (let M = l - 1; M >= 0; M--)
|
|
399
|
-
g.push(H - M);
|
|
400
|
-
for (let M = 1; M <= S; M++)
|
|
401
|
-
g.push(M);
|
|
402
|
-
const P = 42 - g.length;
|
|
403
|
-
for (let M = 1; M <= P; M++)
|
|
404
|
-
g.push(M);
|
|
405
|
-
return g;
|
|
406
|
-
}, [m, f]), W = (c) => {
|
|
407
|
-
const d = c.target.value;
|
|
408
|
-
I || n(d), r == null || r(d);
|
|
409
|
-
}, A = (c, d, S) => {
|
|
410
|
-
if (c === null)
|
|
411
|
-
return;
|
|
412
|
-
let l = m, g = f;
|
|
413
|
-
d ? (l = l - 1, l < 0 && (l = 11, g = g - 1)) : S && (l = l + 1, l > 11 && (l = 0, g = g + 1));
|
|
414
|
-
const H = new Date(g, l, c), P = ir(H);
|
|
415
|
-
B(H), C(l), b(g), I || n(P), r == null || r(P), k(!1);
|
|
416
|
-
}, O = () => {
|
|
417
|
-
m === 0 ? (C(11), b(f - 1)) : C(m - 1);
|
|
418
|
-
}, h = () => {
|
|
419
|
-
m === 11 ? (C(0), b(f + 1)) : C(m + 1);
|
|
420
|
-
}, v = (c, d, S) => {
|
|
421
|
-
if (!x || c === null)
|
|
422
|
-
return !1;
|
|
423
|
-
let l = m, g = f;
|
|
424
|
-
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;
|
|
425
|
-
};
|
|
426
|
-
return /* @__PURE__ */ p("div", { className: "w-full", children: [
|
|
427
|
-
a && /* @__PURE__ */ e("label", { className: "block text-sm font-medium text-blackBG mb-2", children: a }),
|
|
428
|
-
/* @__PURE__ */ p("div", { className: "relative", children: [
|
|
429
|
-
/* @__PURE__ */ p(
|
|
430
|
-
"div",
|
|
431
|
-
{
|
|
432
|
-
className: y(
|
|
433
|
-
"relative flex items-center h-14 w-full rounded-2xl border-[1px] border-grayBlue bg-white",
|
|
434
|
-
"transition-all duration-300 ease-in-out",
|
|
435
|
-
"hover:border-greenLight hover:shadow-[0_0_0_4px_rgba(22,163,74,0.1)]",
|
|
436
|
-
"focus-within:border-greenLight focus-within:shadow-[0_0_0_4px_rgba(22,163,74,0.15)]",
|
|
437
|
-
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)]",
|
|
438
|
-
s
|
|
439
|
-
),
|
|
440
|
-
children: [
|
|
441
|
-
/* @__PURE__ */ e(
|
|
442
|
-
"button",
|
|
443
|
-
{
|
|
444
|
-
type: "button",
|
|
445
|
-
onClick: () => k(!N),
|
|
446
|
-
className: "absolute left-4 flex items-center justify-center cursor-pointer",
|
|
447
|
-
tabIndex: -1,
|
|
448
|
-
children: /* @__PURE__ */ e(sr, {})
|
|
449
|
-
}
|
|
450
|
-
),
|
|
451
|
-
/* @__PURE__ */ e(
|
|
452
|
-
"input",
|
|
453
|
-
{
|
|
454
|
-
type: "text",
|
|
455
|
-
inputMode: "none",
|
|
456
|
-
className: y(
|
|
457
|
-
"flex h-full w-full rounded-2xl px-[16px] pl-[48px] py-[16px] text-base",
|
|
458
|
-
"placeholder:text-gray2 placeholder:opacity-60",
|
|
459
|
-
"bg-transparent border-none outline-none",
|
|
460
|
-
"disabled:cursor-not-allowed disabled:opacity-50"
|
|
461
|
-
),
|
|
462
|
-
ref: w,
|
|
463
|
-
value: L,
|
|
464
|
-
onChange: W,
|
|
465
|
-
placeholder: t,
|
|
466
|
-
onClick: () => k(!0),
|
|
467
|
-
readOnly: !0,
|
|
468
|
-
...u
|
|
469
|
-
}
|
|
470
|
-
)
|
|
471
|
-
]
|
|
472
|
-
}
|
|
473
|
-
),
|
|
474
|
-
N && /* @__PURE__ */ p(
|
|
475
|
-
"div",
|
|
476
|
-
{
|
|
477
|
-
ref: _,
|
|
478
|
-
className: "absolute top-[calc(100%+8px)] left-0 z-50 bg-white rounded-2xl border border-grayBlue shadow-lg p-4 min-w-[320px]",
|
|
479
|
-
children: [
|
|
480
|
-
/* @__PURE__ */ p("div", { className: "flex items-center justify-between mb-4", children: [
|
|
481
|
-
/* @__PURE__ */ e(
|
|
482
|
-
"button",
|
|
483
|
-
{
|
|
484
|
-
type: "button",
|
|
485
|
-
onClick: O,
|
|
486
|
-
className: "p-2 hover:bg-grayBlue rounded-lg transition-colors",
|
|
487
|
-
children: /* @__PURE__ */ e(
|
|
488
|
-
"svg",
|
|
489
|
-
{
|
|
490
|
-
width: "16",
|
|
491
|
-
height: "16",
|
|
492
|
-
viewBox: "0 0 16 16",
|
|
493
|
-
fill: "none",
|
|
494
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
495
|
-
children: /* @__PURE__ */ e(
|
|
496
|
-
"path",
|
|
497
|
-
{
|
|
498
|
-
d: "M10 12L6 8L10 4",
|
|
499
|
-
stroke: "currentColor",
|
|
500
|
-
strokeWidth: "2",
|
|
501
|
-
strokeLinecap: "round",
|
|
502
|
-
strokeLinejoin: "round"
|
|
503
|
-
}
|
|
504
|
-
)
|
|
505
|
-
}
|
|
506
|
-
)
|
|
507
|
-
}
|
|
508
|
-
),
|
|
509
|
-
/* @__PURE__ */ e("h3", { className: "text-base font-semibold text-blackBG", children: cr(m, f) }),
|
|
510
|
-
/* @__PURE__ */ e(
|
|
511
|
-
"button",
|
|
512
|
-
{
|
|
513
|
-
type: "button",
|
|
514
|
-
onClick: h,
|
|
515
|
-
className: "p-2 hover:bg-grayBlue rounded-lg transition-colors",
|
|
516
|
-
children: /* @__PURE__ */ e(
|
|
517
|
-
"svg",
|
|
518
|
-
{
|
|
519
|
-
width: "16",
|
|
520
|
-
height: "16",
|
|
521
|
-
viewBox: "0 0 16 16",
|
|
522
|
-
fill: "none",
|
|
523
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
524
|
-
children: /* @__PURE__ */ e(
|
|
525
|
-
"path",
|
|
526
|
-
{
|
|
527
|
-
d: "M6 4L10 8L6 12",
|
|
528
|
-
stroke: "currentColor",
|
|
529
|
-
strokeWidth: "2",
|
|
530
|
-
strokeLinecap: "round",
|
|
531
|
-
strokeLinejoin: "round"
|
|
532
|
-
}
|
|
533
|
-
)
|
|
534
|
-
}
|
|
535
|
-
)
|
|
536
|
-
}
|
|
537
|
-
)
|
|
538
|
-
] }),
|
|
539
|
-
/* @__PURE__ */ e("div", { className: "grid grid-cols-7 gap-1 mb-2", children: dr.map((c) => /* @__PURE__ */ e(
|
|
540
|
-
"div",
|
|
541
|
-
{
|
|
542
|
-
className: "text-center text-xs font-medium text-grayBlue5 py-2",
|
|
543
|
-
children: c
|
|
544
|
-
},
|
|
545
|
-
c
|
|
546
|
-
)) }),
|
|
547
|
-
/* @__PURE__ */ e("div", { className: "grid grid-cols-7 gap-1", children: F.map((c, d) => {
|
|
548
|
-
const l = new Date(f, m, 1).getDay(), g = new Date(
|
|
549
|
-
f,
|
|
550
|
-
m + 1,
|
|
551
|
-
0
|
|
552
|
-
).getDate(), H = d < l, P = d >= l + g, M = !H && !P, be = v(
|
|
553
|
-
c,
|
|
554
|
-
H,
|
|
555
|
-
P
|
|
556
|
-
);
|
|
557
|
-
return /* @__PURE__ */ e(
|
|
558
|
-
"button",
|
|
559
|
-
{
|
|
560
|
-
type: "button",
|
|
561
|
-
onClick: () => A(c, H, P),
|
|
562
|
-
disabled: c === null,
|
|
563
|
-
className: y(
|
|
564
|
-
"w-10 h-10 rounded-lg text-sm font-medium transition-colors",
|
|
565
|
-
"hover:bg-[#E8F4FD] focus:outline-none focus:bg-[#E8F4FD]",
|
|
566
|
-
M ? "text-blackBG" : "text-grayBlue5 opacity-50",
|
|
567
|
-
be && "bg-[#16A34A] text-white hover:bg-[#16A34A] focus:bg-[#16A34A]"
|
|
568
|
-
),
|
|
569
|
-
children: c
|
|
570
|
-
},
|
|
571
|
-
d
|
|
572
|
-
);
|
|
573
|
-
}) })
|
|
574
|
-
]
|
|
575
|
-
}
|
|
576
|
-
)
|
|
577
|
-
] }),
|
|
578
|
-
o && /* @__PURE__ */ e("p", { className: "mt-2 text-sm text-red-500", children: o })
|
|
579
|
-
] });
|
|
580
|
-
}
|
|
581
|
-
);
|
|
582
|
-
de.displayName = "DateInput";
|
|
583
|
-
const pe = j(
|
|
584
|
-
({
|
|
585
|
-
className: s,
|
|
586
|
-
isFormatted: o,
|
|
587
|
-
isReadable: a,
|
|
588
|
-
error: i,
|
|
589
|
-
label: r,
|
|
590
|
-
onChange: t,
|
|
591
|
-
value: u,
|
|
592
|
-
defaultValue: w,
|
|
593
|
-
...D
|
|
594
|
-
}, n) => {
|
|
595
|
-
const N = Ce(null);
|
|
596
|
-
re(n, () => N.current);
|
|
597
|
-
const k = !!a || !!o, m = Le(
|
|
598
|
-
(b) => {
|
|
599
|
-
if (b == null || b === "")
|
|
600
|
-
return "";
|
|
601
|
-
const x = Array.isArray(b) ? b.join("").replace(/\D/g, "") : b.toString().replace(/\D/g, "");
|
|
602
|
-
return k ? x.replace(/\B(?=(\d{3})+(?!\d))/g, " ") : x;
|
|
603
|
-
},
|
|
604
|
-
[k]
|
|
605
|
-
), f = {
|
|
606
|
-
...D,
|
|
607
|
-
type: "text",
|
|
608
|
-
inputMode: "numeric",
|
|
609
|
-
onChange: (b) => {
|
|
610
|
-
const x = b.target, B = x.value, I = B.replace(/\D/g, ""), L = x.selectionStart || 0, _ = B.slice(0, L).replace(/\D/g, "").length, V = m(I);
|
|
611
|
-
if (x.value = V, t) {
|
|
612
|
-
const F = x.value;
|
|
613
|
-
x.value = I, t(b), x.value = F;
|
|
614
|
-
}
|
|
615
|
-
if (k) {
|
|
616
|
-
let F = 0, W = 0;
|
|
617
|
-
for (; W < _ && F < x.value.length; )
|
|
618
|
-
/\d/.test(x.value[F]) && W++, F++;
|
|
619
|
-
x.setSelectionRange(F, F);
|
|
620
|
-
}
|
|
621
|
-
},
|
|
622
|
-
className: y(
|
|
623
|
-
"flex h-14 w-full rounded-2xl border-[1px] border-grayBlue bg-white px-[16px] py-[16px] text-base text-blackBG",
|
|
624
|
-
"placeholder:text-gray2 placeholder:opacity-60",
|
|
625
|
-
"transition-all duration-300 ease-in-out",
|
|
626
|
-
"hover:border-greenLight hover:shadow-[0_0_0_4px_rgba(22,163,74,0.1)]",
|
|
627
|
-
"focus:border-greenLight focus:outline-none focus:ring-0 focus:shadow-[0_0_0_4px_rgba(22,163,74,0.15)]",
|
|
628
|
-
"disabled:cursor-not-allowed disabled:bg-lightGray disabled:opacity-50",
|
|
629
|
-
"[appearance:textfield] [&::-webkit-inner-spin-button]:appearance-none [&::-webkit-outer-spin-button]:appearance-none",
|
|
630
|
-
i && "border-red-500 hover:border-red-500 focus:border-red-500 focus:shadow-[0_0_0_4px_rgba(239,68,68,0.15)]",
|
|
631
|
-
s
|
|
632
|
-
)
|
|
633
|
-
};
|
|
634
|
-
return u !== void 0 ? f.value = m(u) : w !== void 0 && (f.defaultValue = m(w)), /* @__PURE__ */ p("div", { className: "w-full", children: [
|
|
635
|
-
r && /* @__PURE__ */ e("label", { className: "mb-2 block text-sm font-medium text-blackBG", children: r }),
|
|
636
|
-
/* @__PURE__ */ e("div", { className: "group relative", children: /* @__PURE__ */ e(
|
|
637
|
-
"input",
|
|
638
|
-
{
|
|
639
|
-
...f,
|
|
640
|
-
ref: N
|
|
641
|
-
}
|
|
642
|
-
) }),
|
|
643
|
-
i && /* @__PURE__ */ e("p", { className: "mt-2 text-sm text-red-500", children: i })
|
|
644
|
-
] });
|
|
645
|
-
}
|
|
646
|
-
);
|
|
647
|
-
pe.displayName = "NumberField";
|
|
648
|
-
const pr = {
|
|
649
|
-
96: { name: "Кыргызстан", short: "KG", mask: "+996", length: 9 }
|
|
650
|
-
}, mr = (s) => {
|
|
651
|
-
const o = s.toUpperCase().split("").map((a) => 127397 + a.charCodeAt(0));
|
|
652
|
-
return String.fromCodePoint(...o);
|
|
653
|
-
}, J = () => Object.entries(pr).map(([s, o]) => ({
|
|
654
|
-
id: s,
|
|
655
|
-
name: o.name,
|
|
656
|
-
short: o.short,
|
|
657
|
-
mask: o.mask,
|
|
658
|
-
dialCode: o.mask.replace("+", ""),
|
|
659
|
-
length: o.length,
|
|
660
|
-
flag: mr(o.short)
|
|
661
|
-
})), $ = (s) => J().find((a) => a.id === s), te = (s, o) => {
|
|
662
|
-
const a = o.dialCode, i = o.length;
|
|
663
|
-
let r = s;
|
|
664
|
-
s.startsWith(a) && (r = s.slice(a.length));
|
|
665
|
-
const t = r.slice(0, i);
|
|
666
|
-
if (t.length === 0)
|
|
667
|
-
return o.mask;
|
|
668
|
-
let u = t;
|
|
669
|
-
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}`;
|
|
670
|
-
}, ur = (s, o) => {
|
|
671
|
-
if (!s)
|
|
672
|
-
return null;
|
|
673
|
-
const a = s.replace(/\D/g, ""), i = J();
|
|
674
|
-
if (s.startsWith("+")) {
|
|
675
|
-
for (const r of i)
|
|
676
|
-
if (s.startsWith(r.mask))
|
|
677
|
-
return r;
|
|
678
|
-
}
|
|
679
|
-
for (const r of i)
|
|
680
|
-
if (a.startsWith(r.dialCode))
|
|
681
|
-
return r;
|
|
682
|
-
return a.startsWith("0") && $("96") || null;
|
|
683
|
-
}, me = j(
|
|
684
|
-
({
|
|
685
|
-
className: s,
|
|
686
|
-
error: o,
|
|
687
|
-
label: a,
|
|
688
|
-
value: i,
|
|
689
|
-
onChange: r,
|
|
690
|
-
defaultCountry: t = "996",
|
|
691
|
-
...u
|
|
692
|
-
}, w) => {
|
|
693
|
-
const [D, n] = T(""), [N, k] = T(t), [m, C] = T(!1), [f, b] = T(""), x = i !== void 0, B = x ? i : D, { ref: I } = K(m, () => {
|
|
694
|
-
C(!1), b("");
|
|
695
|
-
}), L = Z(() => J(), []), _ = $(N) || L[0], V = Z(() => {
|
|
696
|
-
if (!f)
|
|
697
|
-
return L;
|
|
698
|
-
const h = f.toLowerCase();
|
|
699
|
-
return L.filter(
|
|
700
|
-
(v) => v.name.toLowerCase().includes(h) || v.mask.toLowerCase().includes(h) || v.short.toLowerCase().includes(h)
|
|
701
|
-
);
|
|
702
|
-
}, [L, f]), W = ((h) => {
|
|
703
|
-
if (!h)
|
|
704
|
-
return "";
|
|
705
|
-
const v = h.replace(/\D/g, "");
|
|
706
|
-
let c = v;
|
|
707
|
-
(v.startsWith(_.dialCode) || h.startsWith(_.mask)) && (c = v.slice(_.dialCode.length));
|
|
708
|
-
const d = c.slice(0, _.length);
|
|
709
|
-
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)}`;
|
|
710
|
-
})(B), A = (h) => {
|
|
711
|
-
k(h), C(!1), b("");
|
|
712
|
-
const v = B.replace(/\D/g, ""), c = $(h);
|
|
713
|
-
if (!c)
|
|
714
|
-
return;
|
|
715
|
-
let d = v;
|
|
716
|
-
v.startsWith(_.dialCode) && (d = v.slice(_.dialCode.length));
|
|
717
|
-
const S = te(d, c);
|
|
718
|
-
x || n(S), r == null || r(S);
|
|
719
|
-
}, O = (h) => {
|
|
720
|
-
const v = h.target.value, c = v.replace(/\D/g, ""), d = ur(
|
|
721
|
-
v
|
|
722
|
-
);
|
|
723
|
-
d && d.id !== N && k(d.id);
|
|
724
|
-
const S = d || $(N) || _, l = te(c, S);
|
|
725
|
-
x || n(l), r == null || r(l);
|
|
726
|
-
};
|
|
727
|
-
return /* @__PURE__ */ p("div", { className: "w-full", children: [
|
|
728
|
-
a && /* @__PURE__ */ e("label", { className: "block text-sm font-medium text-blackBG mb-2", children: a }),
|
|
729
|
-
/* @__PURE__ */ p(
|
|
730
|
-
"div",
|
|
731
|
-
{
|
|
732
|
-
className: y(
|
|
733
|
-
"relative flex gap-2 h-14 flex-1 rounded-2xl border-[1px] border-grayBlue bg-white text-base",
|
|
734
|
-
"placeholder:text-gray2 placeholder:opacity-60",
|
|
735
|
-
"transition-all duration-300 ease-in-out",
|
|
736
|
-
"hover:border-greenLight hover:shadow-[0_0_0_4px_rgba(22,163,74,0.1)]",
|
|
737
|
-
"focus:border-greenLight focus:outline-none focus:shadow-[0_0_0_4px_rgba(22,163,74,0.15)] focus:ring-0",
|
|
738
|
-
"disabled:cursor-not-allowed disabled:opacity-50 disabled:bg-lightGray",
|
|
739
|
-
o && "border-red-500 hover:border-red-500 focus:border-red-500 focus:shadow-[0_0_0_4px_rgba(239,68,68,0.15)]",
|
|
740
|
-
s
|
|
741
|
-
),
|
|
742
|
-
children: [
|
|
743
|
-
/* @__PURE__ */ p(
|
|
744
|
-
"div",
|
|
745
|
-
{
|
|
746
|
-
ref: I,
|
|
747
|
-
className: "relative",
|
|
748
|
-
children: [
|
|
749
|
-
/* @__PURE__ */ p(
|
|
750
|
-
"button",
|
|
751
|
-
{
|
|
752
|
-
type: "button",
|
|
753
|
-
onClick: () => C(!m),
|
|
754
|
-
className: y(
|
|
755
|
-
"flex h-14 w-[120px] rounded-2xl px-3 py-2 items-center justify-center cursor-pointer shrink-0",
|
|
756
|
-
"transition-all duration-300 ease-in-out",
|
|
757
|
-
o && "border-red-500 hover:border-red-500 focus:border-red-500",
|
|
758
|
-
m && "border-greenLight"
|
|
759
|
-
),
|
|
760
|
-
children: [
|
|
761
|
-
/* @__PURE__ */ p("span", { className: "text-base font-medium whitespace-nowrap", children: [
|
|
762
|
-
_.flag,
|
|
763
|
-
" ",
|
|
764
|
-
_.mask
|
|
765
|
-
] }),
|
|
766
|
-
/* @__PURE__ */ e(
|
|
767
|
-
"svg",
|
|
768
|
-
{
|
|
769
|
-
className: y(
|
|
770
|
-
"w-4 h-4 ml-1 text-grayBlue5 transition-transform duration-200 shrink-0",
|
|
771
|
-
m && "rotate-180"
|
|
772
|
-
),
|
|
773
|
-
fill: "none",
|
|
774
|
-
stroke: "currentColor",
|
|
775
|
-
viewBox: "0 0 24 24",
|
|
776
|
-
children: /* @__PURE__ */ e(
|
|
777
|
-
"path",
|
|
778
|
-
{
|
|
779
|
-
strokeLinecap: "round",
|
|
780
|
-
strokeLinejoin: "round",
|
|
781
|
-
strokeWidth: 2,
|
|
782
|
-
d: "M19 9l-7 7-7-7"
|
|
783
|
-
}
|
|
784
|
-
)
|
|
785
|
-
}
|
|
786
|
-
)
|
|
787
|
-
]
|
|
788
|
-
}
|
|
789
|
-
),
|
|
790
|
-
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: [
|
|
791
|
-
/* @__PURE__ */ e("div", { className: "p-3 border-b border-grayBlue", children: /* @__PURE__ */ e(
|
|
792
|
-
"input",
|
|
793
|
-
{
|
|
794
|
-
type: "text",
|
|
795
|
-
value: f,
|
|
796
|
-
onChange: (h) => b(h.target.value),
|
|
797
|
-
placeholder: "Поиск страны...",
|
|
798
|
-
className: y(
|
|
799
|
-
"w-full px-3 py-2 rounded-xl border-[1px] border-grayBlue text-sm",
|
|
800
|
-
"focus:outline-none focus:border-greenLight"
|
|
801
|
-
),
|
|
802
|
-
onClick: (h) => h.stopPropagation()
|
|
803
|
-
}
|
|
804
|
-
) }),
|
|
805
|
-
/* @__PURE__ */ e("div", { className: "overflow-y-auto max-h-[340px]", children: V.length > 0 ? V.map((h) => /* @__PURE__ */ e(
|
|
806
|
-
"button",
|
|
807
|
-
{
|
|
808
|
-
type: "button",
|
|
809
|
-
onClick: () => A(h.id),
|
|
810
|
-
className: y(
|
|
811
|
-
"w-full px-4 py-3 text-left cursor-pointer text-base text-blackBG transition-colors",
|
|
812
|
-
"hover:bg-[#E8F4FD] focus:bg-[#E8F4FD] focus:outline-none",
|
|
813
|
-
N === h.id && "bg-[#E8F4FD]",
|
|
814
|
-
"first:rounded-t-2xl"
|
|
815
|
-
),
|
|
816
|
-
children: /* @__PURE__ */ p("span", { className: "flex items-center gap-2", children: [
|
|
817
|
-
/* @__PURE__ */ e("span", { className: "text-lg", children: h.flag }),
|
|
818
|
-
/* @__PURE__ */ e("span", { className: "font-medium", children: h.mask }),
|
|
819
|
-
/* @__PURE__ */ e("span", { className: "text-sm text-grayBlue5", children: h.name })
|
|
820
|
-
] })
|
|
821
|
-
},
|
|
822
|
-
h.id
|
|
823
|
-
)) : /* @__PURE__ */ e("div", { className: "px-4 py-3 text-center text-grayBlue5", children: "Страны не найдены" }) })
|
|
824
|
-
] })
|
|
825
|
-
]
|
|
826
|
-
}
|
|
827
|
-
),
|
|
828
|
-
/* @__PURE__ */ e(
|
|
829
|
-
"input",
|
|
830
|
-
{
|
|
831
|
-
type: "tel",
|
|
832
|
-
inputMode: "tel",
|
|
833
|
-
className: y(
|
|
834
|
-
"flex h-full flex-1 rounded-2xl px-[16px] py-[16px] text-base",
|
|
835
|
-
"placeholder:text-gray2 placeholder:opacity-60",
|
|
836
|
-
"transition-all duration-300 ease-in-out",
|
|
837
|
-
"hover:border-none hover:shadow-none",
|
|
838
|
-
"focus:border-none focus:outline-none focus:shadow-none focus:ring-0",
|
|
839
|
-
"disabled:cursor-not-allowed disabled:opacity-50 disabled:bg-lightGray",
|
|
840
|
-
o && "border-red-500 hover:border-red-500 focus:border-red-500 focus:shadow-[0_0_0_4px_rgba(239,68,68,0.15)]",
|
|
841
|
-
s
|
|
842
|
-
),
|
|
843
|
-
ref: w,
|
|
844
|
-
value: W,
|
|
845
|
-
onChange: O,
|
|
846
|
-
placeholder: "XXX XXX XXX",
|
|
847
|
-
...u
|
|
848
|
-
}
|
|
849
|
-
)
|
|
850
|
-
]
|
|
851
|
-
}
|
|
852
|
-
),
|
|
853
|
-
o && /* @__PURE__ */ e("p", { className: "mt-2 text-sm text-red-500", children: o })
|
|
854
|
-
] });
|
|
855
|
-
}
|
|
856
|
-
);
|
|
857
|
-
me.displayName = "PhoneInput";
|
|
858
|
-
const ue = j(
|
|
859
|
-
({
|
|
860
|
-
label: s,
|
|
861
|
-
options: o = [],
|
|
862
|
-
value: a = [],
|
|
863
|
-
name: i,
|
|
864
|
-
onChange: r,
|
|
865
|
-
error: t,
|
|
866
|
-
className: u,
|
|
867
|
-
direction: w = "column"
|
|
868
|
-
}, D) => /* @__PURE__ */ p(
|
|
869
|
-
"div",
|
|
870
|
-
{
|
|
871
|
-
ref: D,
|
|
872
|
-
className: y("flex flex-col gap-2", u),
|
|
873
|
-
children: [
|
|
874
|
-
s && /* @__PURE__ */ e("label", { className: "text-sm font-medium text-blackBG mb-1", children: s }),
|
|
875
|
-
/* @__PURE__ */ e(
|
|
876
|
-
"div",
|
|
877
|
-
{
|
|
878
|
-
className: y(
|
|
879
|
-
"flex gap-4",
|
|
880
|
-
w === "column" ? "flex-col" : "flex-row flex-wrap"
|
|
881
|
-
),
|
|
882
|
-
children: o == null ? void 0 : o.map((n) => /* @__PURE__ */ e(
|
|
883
|
-
fe,
|
|
884
|
-
{
|
|
885
|
-
name: i,
|
|
886
|
-
label: n == null ? void 0 : n.label,
|
|
887
|
-
value: n == null ? void 0 : n.value,
|
|
888
|
-
checked: a === (n == null ? void 0 : n.value),
|
|
889
|
-
onChange: () => r == null ? void 0 : r(n == null ? void 0 : n.value),
|
|
890
|
-
error: t && !a ? t : void 0
|
|
891
|
-
},
|
|
892
|
-
n == null ? void 0 : n.value
|
|
893
|
-
))
|
|
894
|
-
}
|
|
895
|
-
),
|
|
896
|
-
t && /* @__PURE__ */ e("p", { className: "mt-1 text-sm text-red-500", children: t })
|
|
897
|
-
]
|
|
898
|
-
}
|
|
899
|
-
)
|
|
900
|
-
);
|
|
901
|
-
ue.displayName = "RadioGroup";
|
|
902
|
-
const fe = j(
|
|
903
|
-
({ className: s, label: o, error: a, ...i }, r) => /* @__PURE__ */ p("div", { className: "w-full", children: [
|
|
904
|
-
/* @__PURE__ */ p("label", { className: "flex items-start gap-3 cursor-pointer group", children: [
|
|
905
|
-
/* @__PURE__ */ p("div", { className: "relative flex items-center justify-center mt-0.5", children: [
|
|
906
|
-
/* @__PURE__ */ e(
|
|
907
|
-
"input",
|
|
908
|
-
{
|
|
909
|
-
type: "radio",
|
|
910
|
-
className: "peer sr-only",
|
|
911
|
-
ref: r,
|
|
912
|
-
...i
|
|
913
|
-
}
|
|
914
|
-
),
|
|
915
|
-
/* @__PURE__ */ e(
|
|
916
|
-
"div",
|
|
917
|
-
{
|
|
918
|
-
className: y(
|
|
919
|
-
"relative flex items-center justify-center w-5 h-5 rounded-full border-2 transition-all duration-200",
|
|
920
|
-
"border-grayBlue5 bg-white",
|
|
921
|
-
"peer-checked:bg-white peer-checked:border-greenLight",
|
|
922
|
-
"peer-focus:outline-none peer-focus:border-greenLight",
|
|
923
|
-
"peer-disabled:cursor-not-allowed peer-disabled:opacity-50",
|
|
924
|
-
"group-hover:border-greenLight",
|
|
925
|
-
'after:content-[""] after:absolute after:opacity-0 after:transition-opacity after:duration-200',
|
|
926
|
-
"after:w-2.5 after:h-2.5 after:rounded-full after:bg-greenLight",
|
|
927
|
-
"after:top-1/2 after:left-1/2 after:-translate-x-1/2 after:-translate-y-1/2",
|
|
928
|
-
"peer-checked:after:opacity-100",
|
|
929
|
-
a && "border-red-500",
|
|
930
|
-
s
|
|
931
|
-
)
|
|
932
|
-
}
|
|
933
|
-
)
|
|
934
|
-
] }),
|
|
935
|
-
o && /* @__PURE__ */ e(
|
|
936
|
-
"span",
|
|
937
|
-
{
|
|
938
|
-
className: y(
|
|
939
|
-
"text-sm leading-5 text-graySoft select-none",
|
|
940
|
-
"group-hover:text-blackBG transition-colors duration-200",
|
|
941
|
-
a && "text-red-500"
|
|
942
|
-
),
|
|
943
|
-
children: o
|
|
944
|
-
}
|
|
945
|
-
)
|
|
946
|
-
] }),
|
|
947
|
-
a && /* @__PURE__ */ e("p", { className: "mt-2 text-sm text-red-500", children: a })
|
|
948
|
-
] })
|
|
949
|
-
);
|
|
950
|
-
fe.displayName = "Radio";
|
|
951
|
-
const he = j(
|
|
952
|
-
({
|
|
953
|
-
className: s,
|
|
954
|
-
error: o,
|
|
955
|
-
label: a,
|
|
956
|
-
options: i = [],
|
|
957
|
-
placeholder: r = "Выберите категорию",
|
|
958
|
-
value: t,
|
|
959
|
-
onChange: u,
|
|
960
|
-
onBlur: w,
|
|
961
|
-
name: D,
|
|
962
|
-
disabled: n,
|
|
963
|
-
...N
|
|
964
|
-
}, k) => {
|
|
965
|
-
const {
|
|
966
|
-
ref: m,
|
|
967
|
-
isShow: C,
|
|
968
|
-
setIsShow: f
|
|
969
|
-
} = K(!1);
|
|
970
|
-
re(k, () => m.current);
|
|
971
|
-
const b = i.find((L) => L.value === t), x = () => {
|
|
972
|
-
n || f(!C);
|
|
973
|
-
}, B = (L) => {
|
|
974
|
-
u && u({
|
|
975
|
-
target: {
|
|
976
|
-
name: D,
|
|
977
|
-
value: L.value
|
|
978
|
-
}
|
|
979
|
-
}), f(!1);
|
|
980
|
-
}, I = (L) => {
|
|
981
|
-
w && w({
|
|
982
|
-
target: {
|
|
983
|
-
name: D,
|
|
984
|
-
value: t
|
|
985
|
-
}
|
|
986
|
-
});
|
|
987
|
-
};
|
|
988
|
-
return /* @__PURE__ */ p(
|
|
989
|
-
"div",
|
|
990
|
-
{
|
|
991
|
-
className: y("w-full", s),
|
|
992
|
-
ref: m,
|
|
993
|
-
onBlur: I,
|
|
994
|
-
...N,
|
|
995
|
-
children: [
|
|
996
|
-
a && /* @__PURE__ */ e("label", { className: "mb-2 block text-sm font-medium text-blackBG", children: a }),
|
|
997
|
-
/* @__PURE__ */ p("div", { className: "relative", children: [
|
|
998
|
-
/* @__PURE__ */ p(
|
|
999
|
-
"button",
|
|
1000
|
-
{
|
|
1001
|
-
type: "button",
|
|
1002
|
-
onClick: x,
|
|
1003
|
-
disabled: n,
|
|
1004
|
-
className: y(
|
|
1005
|
-
"flex h-14 w-full items-center justify-between rounded-2xl border-[1px] border-grayBlue bg-white px-[20px] text-base text-blackBG",
|
|
1006
|
-
"transition-all duration-300 ease-in-out",
|
|
1007
|
-
"hover:border-greenLight hover:shadow-[0_0_0_4px_rgba(22,163,74,0.1)]",
|
|
1008
|
-
C && "border-greenLight shadow-[0_0_0_4px_rgba(22,163,74,0.15)] ring-0 outline-none",
|
|
1009
|
-
n && "cursor-not-allowed bg-lightGray opacity-50",
|
|
1010
|
-
o && "border-red-500 hover:border-red-500 focus:border-red-500 focus:shadow-[0_0_0_4px_rgba(239,68,68,0.15)]",
|
|
1011
|
-
!b && "text-gray2 opacity-60"
|
|
1012
|
-
),
|
|
1013
|
-
children: [
|
|
1014
|
-
/* @__PURE__ */ e("span", { className: "truncate", children: b ? b.label : r }),
|
|
1015
|
-
/* @__PURE__ */ e(
|
|
1016
|
-
"svg",
|
|
1017
|
-
{
|
|
1018
|
-
className: y(
|
|
1019
|
-
"ml-2 h-5 w-5 text-gray2 transition-transform duration-300",
|
|
1020
|
-
C && "rotate-180"
|
|
1021
|
-
),
|
|
1022
|
-
fill: "none",
|
|
1023
|
-
stroke: "currentColor",
|
|
1024
|
-
viewBox: "0 0 24 24",
|
|
1025
|
-
children: /* @__PURE__ */ e(
|
|
1026
|
-
"path",
|
|
1027
|
-
{
|
|
1028
|
-
strokeLinecap: "round",
|
|
1029
|
-
strokeLinejoin: "round",
|
|
1030
|
-
strokeWidth: 2,
|
|
1031
|
-
d: "M19 9l-7 7-7-7"
|
|
1032
|
-
}
|
|
1033
|
-
)
|
|
1034
|
-
}
|
|
1035
|
-
)
|
|
1036
|
-
]
|
|
1037
|
-
}
|
|
1038
|
-
),
|
|
1039
|
-
C && /* @__PURE__ */ e(
|
|
1040
|
-
"div",
|
|
1041
|
-
{
|
|
1042
|
-
className: y(
|
|
1043
|
-
"absolute left-0 z-[100] mt-2 w-full overflow-hidden rounded-2xl border-[1px] border-grayBlue bg-white shadow-xl",
|
|
1044
|
-
"transition-all duration-200 ease-in-out"
|
|
1045
|
-
),
|
|
1046
|
-
children: /* @__PURE__ */ e("div", { className: "max-h-[280px] overflow-y-auto py-2", children: i.length > 0 ? i.map((L) => /* @__PURE__ */ e(
|
|
1047
|
-
"button",
|
|
1048
|
-
{
|
|
1049
|
-
type: "button",
|
|
1050
|
-
onClick: () => B(L),
|
|
1051
|
-
className: y(
|
|
1052
|
-
"flex w-full items-center px-5 py-3 text-left text-base transition-colors",
|
|
1053
|
-
"hover:bg-green-50 active:bg-green-100",
|
|
1054
|
-
L.value === t && "bg-green-50 font-medium text-greenLight",
|
|
1055
|
-
// Мобильные отступы чуть больше для удобства тапа
|
|
1056
|
-
"max-tablet:py-4"
|
|
1057
|
-
),
|
|
1058
|
-
children: L.label
|
|
1059
|
-
},
|
|
1060
|
-
L.value
|
|
1061
|
-
)) : /* @__PURE__ */ e("div", { className: "px-5 py-3 text-sm text-gray2", children: "Нет данных" }) })
|
|
1062
|
-
}
|
|
1063
|
-
)
|
|
1064
|
-
] }),
|
|
1065
|
-
o && /* @__PURE__ */ e("p", { className: "mt-2 text-sm text-red-500", children: o })
|
|
1066
|
-
]
|
|
1067
|
-
}
|
|
1068
|
-
);
|
|
1069
|
-
}
|
|
1070
|
-
);
|
|
1071
|
-
he.displayName = "Select";
|
|
1072
|
-
const fr = {
|
|
1073
|
-
TitleBlock: Y,
|
|
1074
|
-
WarningCard: U
|
|
1075
|
-
}, hr = [
|
|
1076
|
-
{
|
|
1077
|
-
label: "TitleBlock",
|
|
1078
|
-
value: "TitleBlock"
|
|
1079
|
-
},
|
|
1080
|
-
{
|
|
1081
|
-
label: "WarningCard",
|
|
1082
|
-
value: "WarningCard"
|
|
1083
|
-
}
|
|
1084
|
-
], gr = {
|
|
1085
|
-
text: ce,
|
|
1086
|
-
number: pe,
|
|
1087
|
-
phone: me,
|
|
1088
|
-
select: he,
|
|
1089
|
-
date: de,
|
|
1090
|
-
radio: ue,
|
|
1091
|
-
checkbox: le,
|
|
1092
|
-
file: tt
|
|
1093
|
-
}, br = (s, {
|
|
1094
|
-
register: o,
|
|
1095
|
-
errors: a,
|
|
1096
|
-
control: i
|
|
1097
|
-
}) => {
|
|
1098
|
-
const { t: r } = ae();
|
|
1099
|
-
return s.map((t, u) => {
|
|
1100
|
-
var D, n, N;
|
|
1101
|
-
if ((t == null ? void 0 : t.componentType) === "component") {
|
|
1102
|
-
const k = fr[t == null ? void 0 : t.key];
|
|
1103
|
-
if (k)
|
|
1104
|
-
return /* @__PURE__ */ e(
|
|
1105
|
-
k,
|
|
1106
|
-
{
|
|
1107
|
-
...t == null ? void 0 : t.props
|
|
1108
|
-
},
|
|
1109
|
-
u
|
|
1110
|
-
);
|
|
1111
|
-
}
|
|
1112
|
-
const w = gr[t == null ? void 0 : t.type];
|
|
1113
|
-
if (w) {
|
|
1114
|
-
const k = ["select", "radio", "checkbox", "file"].includes(
|
|
1115
|
-
t.type
|
|
1116
|
-
), 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 = {
|
|
1117
|
-
...t.field_props,
|
|
1118
|
-
label: (n = t.field_props) != null && n.label ? r(t.field_props.label, t.field_props.label) : void 0,
|
|
1119
|
-
placeholder: (N = t.field_props) != null && N.placeholder ? r(t.field_props.placeholder, t.field_props.placeholder) : void 0
|
|
1120
|
-
};
|
|
1121
|
-
return k && i && (t != null && t.name) ? /* @__PURE__ */ e(
|
|
1122
|
-
Qe,
|
|
1123
|
-
{
|
|
1124
|
-
name: t.name,
|
|
1125
|
-
control: i,
|
|
1126
|
-
rules: { validate: t.validate },
|
|
1127
|
-
render: ({ field: { onChange: b, value: x, name: B, ref: I } }) => /* @__PURE__ */ e(
|
|
1128
|
-
w,
|
|
1129
|
-
{
|
|
1130
|
-
...f,
|
|
1131
|
-
onChange: b,
|
|
1132
|
-
value: x,
|
|
1133
|
-
name: B,
|
|
1134
|
-
ref: I,
|
|
1135
|
-
error: C
|
|
1136
|
-
}
|
|
1137
|
-
)
|
|
1138
|
-
},
|
|
1139
|
-
u
|
|
1140
|
-
) : t.name ? /* @__PURE__ */ e(
|
|
1141
|
-
w,
|
|
1142
|
-
{
|
|
1143
|
-
...f,
|
|
1144
|
-
...o(t == null ? void 0 : t.name, {
|
|
1145
|
-
validate: t == null ? void 0 : t.validate
|
|
1146
|
-
}),
|
|
1147
|
-
error: C
|
|
1148
|
-
},
|
|
1149
|
-
u
|
|
1150
|
-
) : /* @__PURE__ */ e(
|
|
1151
|
-
w,
|
|
1152
|
-
{
|
|
1153
|
-
...f,
|
|
1154
|
-
error: C
|
|
1155
|
-
},
|
|
1156
|
-
u
|
|
1157
|
-
);
|
|
1158
|
-
}
|
|
1159
|
-
return null;
|
|
1160
|
-
});
|
|
1161
|
-
}, ee = ({
|
|
1162
|
-
label: s,
|
|
1163
|
-
type: o,
|
|
1164
|
-
options: a
|
|
1165
|
-
}) => ({
|
|
1166
|
-
dataType: z.select,
|
|
1167
|
-
label: s,
|
|
1168
|
-
type: o,
|
|
1169
|
-
options: a
|
|
1170
|
-
}), Za = {
|
|
1171
|
-
title: "Оставьте заявку, чтобы подключить MKassa",
|
|
1172
|
-
subtitle: "с Вами свяжется наш специалист и поможет с подключением сервиса"
|
|
1173
|
-
}, Ra = {
|
|
1174
|
-
title: "Форма заявки",
|
|
1175
|
-
description: "Форма заявки ",
|
|
1176
|
-
types: [q.form]
|
|
1177
|
-
// propsToEdit: propsToEdit,
|
|
1178
|
-
}, xr = {
|
|
1179
|
-
title: "Оставьте заявку, чтобы подключить MKassa",
|
|
1180
|
-
description: "с Вами свяжется наш специалист и поможет с подключением сервиса",
|
|
1181
|
-
color: "#45464b"
|
|
1182
|
-
}, yr = ee({
|
|
1183
|
-
label: "Тип поля",
|
|
1184
|
-
type: "componentType",
|
|
1185
|
-
options: Qt
|
|
1186
|
-
}), wr = ee({
|
|
1187
|
-
label: "Компонент",
|
|
1188
|
-
type: "componentType",
|
|
1189
|
-
options: hr
|
|
1190
|
-
}), kr = ee({
|
|
1191
|
-
label: "Тип поля",
|
|
1192
|
-
type: "fieldType",
|
|
1193
|
-
options: Jt
|
|
1194
|
-
}), Cr = Kt({
|
|
1195
|
-
label: "Имя поля",
|
|
1196
|
-
type: "name"
|
|
1197
|
-
}), Lr = {
|
|
1198
|
-
type: "fields",
|
|
1199
|
-
dataType: "array",
|
|
1200
|
-
label: "Поля для формы",
|
|
1201
|
-
data: {
|
|
1202
|
-
componentType: yr,
|
|
1203
|
-
type: kr,
|
|
1204
|
-
key: wr,
|
|
1205
|
-
name: Cr,
|
|
1206
|
-
props: {
|
|
1207
|
-
label: "Свойства компонента",
|
|
1208
|
-
dataType: z.object,
|
|
1209
|
-
data: {
|
|
1210
|
-
keys: {
|
|
1211
|
-
title: E.TITLE,
|
|
1212
|
-
description: E.DESCRIPTION,
|
|
1213
|
-
html_content: E.HTML_CONTENT
|
|
1214
|
-
}
|
|
1215
|
-
}
|
|
1216
|
-
},
|
|
1217
|
-
field_props: {
|
|
1218
|
-
label: "Свойства поля",
|
|
1219
|
-
dataType: z.object,
|
|
1220
|
-
data: {
|
|
1221
|
-
keys: {
|
|
1222
|
-
label: E.TITLE,
|
|
1223
|
-
placeholder: E.DESCRIPTION,
|
|
1224
|
-
is_required: E.BOOLEAN
|
|
1225
|
-
}
|
|
1226
|
-
}
|
|
1227
|
-
}
|
|
1228
|
-
}
|
|
1229
|
-
}, vr = [
|
|
1230
|
-
"title",
|
|
1231
|
-
"subtitle",
|
|
1232
|
-
"color",
|
|
1233
|
-
Lr,
|
|
1234
|
-
Ut,
|
|
1235
|
-
"file",
|
|
1236
|
-
"object_data"
|
|
1237
|
-
], ge = ({
|
|
1238
|
-
title: s,
|
|
1239
|
-
subtitle: o,
|
|
1240
|
-
color: a,
|
|
1241
|
-
gridCols: i = 1,
|
|
1242
|
-
gridRow: r = 2,
|
|
1243
|
-
fields: t = [],
|
|
1244
|
-
requestForm: u,
|
|
1245
|
-
file: w,
|
|
1246
|
-
object_data: D
|
|
1247
|
-
}) => {
|
|
1248
|
-
var h;
|
|
1249
|
-
const { t: n } = ae(), [N, k] = T(!1), [m, C] = T(!1), [f, b] = T(null), x = et(960), {
|
|
1250
|
-
register: B,
|
|
1251
|
-
handleSubmit: I,
|
|
1252
|
-
watch: L,
|
|
1253
|
-
reset: _,
|
|
1254
|
-
control: V,
|
|
1255
|
-
formState: { errors: F }
|
|
1256
|
-
} = Je({
|
|
1257
|
-
defaultValues: {
|
|
1258
|
-
agreement: !1
|
|
1259
|
-
}
|
|
1260
|
-
}), W = L("agreement"), A = async (v) => {
|
|
1261
|
-
if (!(u != null && u.api_url)) {
|
|
1262
|
-
console.warn("API URL is not defined in requestForm props");
|
|
1263
|
-
return;
|
|
1264
|
-
}
|
|
1265
|
-
C(!0), b(null);
|
|
1266
|
-
try {
|
|
1267
|
-
const c = new FormData();
|
|
1268
|
-
Object.entries(v).forEach(([l, g]) => {
|
|
1269
|
-
g != null && (Array.isArray(g) ? g.forEach((H) => {
|
|
1270
|
-
c.append(l, H);
|
|
1271
|
-
}) : c.append(l, g));
|
|
1272
|
-
}), Object.entries(D).forEach(([l, g]) => {
|
|
1273
|
-
c == null || c.append(l, g);
|
|
1274
|
-
});
|
|
1275
|
-
const d = await fetch(u.api_url, {
|
|
1276
|
-
method: "POST",
|
|
1277
|
-
// При отправке FormData заголовок Content-Type устанавливать НЕ НУЖНО,
|
|
1278
|
-
// браузер установит его автоматически вместе с boundary
|
|
1279
|
-
body: c
|
|
1280
|
-
});
|
|
1281
|
-
if (!d.ok)
|
|
1282
|
-
throw new Error(`HTTP error! status: ${d.status}`);
|
|
1283
|
-
const S = d.headers.get("content-type");
|
|
1284
|
-
if (S && S.includes("application/json")) {
|
|
1285
|
-
const l = await d.json();
|
|
1286
|
-
console.log("Success:", l);
|
|
1287
|
-
}
|
|
1288
|
-
k(!0), _();
|
|
1289
|
-
} catch (c) {
|
|
1290
|
-
console.error("Error submitting form:", c), b(
|
|
1291
|
-
n(
|
|
1292
|
-
"form.submit_error",
|
|
1293
|
-
"Произошла ошибка при отправке. Пожалуйста, попробуйте позже."
|
|
1294
|
-
)
|
|
1295
|
-
);
|
|
1296
|
-
} finally {
|
|
1297
|
-
C(!1);
|
|
1298
|
-
}
|
|
1299
|
-
}, O = br(t || [], {
|
|
1300
|
-
register: B,
|
|
1301
|
-
errors: F,
|
|
1302
|
-
control: V
|
|
1303
|
-
});
|
|
1304
|
-
return /* @__PURE__ */ e(oe, { children: /* @__PURE__ */ e(
|
|
1305
|
-
"form",
|
|
1306
|
-
{
|
|
1307
|
-
onSubmit: I(A),
|
|
1308
|
-
id: "application_form",
|
|
1309
|
-
className: "w-full",
|
|
1310
|
-
children: /* @__PURE__ */ p(
|
|
1311
|
-
"div",
|
|
1312
|
-
{
|
|
1313
|
-
style: {
|
|
1314
|
-
boxShadow: `0px 8px 24px rgba(0,0,0,0.08),0px -8px 0px ${a}`
|
|
1315
|
-
},
|
|
1316
|
-
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]",
|
|
1317
|
-
children: [
|
|
1318
|
-
/* @__PURE__ */ p("div", { className: "text-center mb-10 max-tablet:mb-8", children: [
|
|
1319
|
-
/* @__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) }),
|
|
1320
|
-
/* @__PURE__ */ e("span", { className: "text-[18px] leading-[26px] text-graySoft max-tablet:text-[16px] max-tablet:leading-[24px]", children: n(o || "", o) })
|
|
1321
|
-
] }),
|
|
1322
|
-
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: [
|
|
1323
|
-
/* @__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(
|
|
1324
|
-
"svg",
|
|
1325
|
-
{
|
|
1326
|
-
className: "w-10 h-10 text-white",
|
|
1327
|
-
fill: "none",
|
|
1328
|
-
stroke: "currentColor",
|
|
1329
|
-
viewBox: "0 0 24 24",
|
|
1330
|
-
children: /* @__PURE__ */ e(
|
|
1331
|
-
"path",
|
|
1332
|
-
{
|
|
1333
|
-
strokeLinecap: "round",
|
|
1334
|
-
strokeLinejoin: "round",
|
|
1335
|
-
strokeWidth: 3,
|
|
1336
|
-
d: "M5 13l4 4L19 7"
|
|
1337
|
-
}
|
|
1338
|
-
)
|
|
1339
|
-
}
|
|
1340
|
-
) }),
|
|
1341
|
-
/* @__PURE__ */ p("div", { className: "text-center", children: [
|
|
1342
|
-
/* @__PURE__ */ e("div", { className: "font-semibold text-[24px] leading-[32px] text-blackBG mb-3", children: n("form.success_title", "Заявка успешно отправлена") }),
|
|
1343
|
-
/* @__PURE__ */ e("div", { className: "text-[18px] leading-[26px] text-graySoft", children: n(
|
|
1344
|
-
"form.success_description",
|
|
1345
|
-
"С Вами свяжется наш специалист и поможет с подключением сервиса"
|
|
1346
|
-
) }),
|
|
1347
|
-
/* @__PURE__ */ e(
|
|
1348
|
-
X,
|
|
1349
|
-
{
|
|
1350
|
-
className: "justify-center m-auto mt-6",
|
|
1351
|
-
title: n("form.close", "Закрыть"),
|
|
1352
|
-
onClick: () => {
|
|
1353
|
-
k(!1), _();
|
|
1354
|
-
}
|
|
1355
|
-
}
|
|
1356
|
-
)
|
|
1357
|
-
] })
|
|
1358
|
-
] }) }) : /* @__PURE__ */ p(R, { children: [
|
|
1359
|
-
/* @__PURE__ */ e(
|
|
1360
|
-
"div",
|
|
1361
|
-
{
|
|
1362
|
-
className: "w-[640px] mb-8 max-tablet:w-full grid gap-6",
|
|
1363
|
-
style: {
|
|
1364
|
-
gridTemplateColumns: `repeat(${x ? 1 : i}, 1fr)`,
|
|
1365
|
-
gridTemplateRows: `repeat(${r}, auto)`
|
|
1366
|
-
},
|
|
1367
|
-
children: O
|
|
1368
|
-
}
|
|
1369
|
-
),
|
|
1370
|
-
/* @__PURE__ */ e("div", { className: "pt-2", children: /* @__PURE__ */ e(
|
|
1371
|
-
Q,
|
|
1372
|
-
{
|
|
1373
|
-
...B("agreement", {
|
|
1374
|
-
required: n(
|
|
1375
|
-
"form.agreement_required",
|
|
1376
|
-
"Необходимо согласие на обработку персональных данных"
|
|
1377
|
-
)
|
|
1378
|
-
}),
|
|
1379
|
-
error: (h = F.agreement) == null ? void 0 : h.message,
|
|
1380
|
-
label: /* @__PURE__ */ p(R, { children: [
|
|
1381
|
-
n("form.i_agree", "Я соглашаюсь с"),
|
|
1382
|
-
" ",
|
|
1383
|
-
/* @__PURE__ */ e(
|
|
1384
|
-
"button",
|
|
1385
|
-
{
|
|
1386
|
-
type: "button",
|
|
1387
|
-
className: "text-greenLight hover:text-green underline transition-colors duration-200 bg-transparent border-0 p-0 cursor-pointer",
|
|
1388
|
-
onClick: (v) => {
|
|
1389
|
-
v.preventDefault(), window.open(w || "", "_blank");
|
|
1390
|
-
},
|
|
1391
|
-
children: n(
|
|
1392
|
-
"form.agreement_link",
|
|
1393
|
-
"условиями обработки персональных данных"
|
|
1394
|
-
)
|
|
1395
|
-
}
|
|
1396
|
-
)
|
|
1397
|
-
] })
|
|
1398
|
-
}
|
|
1399
|
-
) }),
|
|
1400
|
-
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 }),
|
|
1401
|
-
/* @__PURE__ */ e("div", { className: "mt-6 w-[640px] max-tablet:w-full", children: /* @__PURE__ */ e(
|
|
1402
|
-
X,
|
|
1403
|
-
{
|
|
1404
|
-
loading: m,
|
|
1405
|
-
className: "w-full whitespace-nowrap transition-all duration-200 hover:scale-[1.02] active:scale-[0.98]",
|
|
1406
|
-
type: "submit",
|
|
1407
|
-
size: Ne.XL,
|
|
1408
|
-
variant: _e.Primary,
|
|
1409
|
-
disabled: !W || m,
|
|
1410
|
-
children: n("form.submit", "Отправить заявку")
|
|
1411
|
-
}
|
|
1412
|
-
) })
|
|
1413
|
-
] })
|
|
1414
|
-
]
|
|
1415
|
-
}
|
|
1416
|
-
)
|
|
1417
|
-
}
|
|
1418
|
-
) });
|
|
1419
|
-
};
|
|
1420
|
-
ge.propsToEdit = vr;
|
|
1421
|
-
const Xa = {
|
|
1422
|
-
MainBanner: { key: "MainBanner", component: je },
|
|
1423
|
-
Banner: { key: "Banner", component: we },
|
|
1424
|
-
CardImageList: { key: "CardImageList", component: Ee },
|
|
1425
|
-
Stepper: { key: "Stepper", component: Be },
|
|
1426
|
-
Segments: { key: "Segments", component: Se },
|
|
1427
|
-
VideoFull: { key: "VideoFull", component: Ie },
|
|
1428
|
-
VideoList: { key: "VideoList", component: Fe },
|
|
1429
|
-
VideoListMini: { key: "VideoListMini", component: Me },
|
|
1430
|
-
ContentCardList: { key: "ContentCardList", component: Ve },
|
|
1431
|
-
CardIconList: { key: "CardIconList", component: Te },
|
|
1432
|
-
MultiCards: { key: "MultiCards", component: He },
|
|
1433
|
-
Partners: { key: "Partners", component: Pe },
|
|
1434
|
-
PartnersColors: { key: "PartnersColors", component: Oe },
|
|
1435
|
-
WarningCard: { key: "WarningCard", component: U },
|
|
1436
|
-
Faq: { key: "Faq", component: We },
|
|
1437
|
-
DownloadFileBanner: {
|
|
1438
|
-
key: "DownloadFileBanner",
|
|
1439
|
-
component: $e
|
|
1440
|
-
},
|
|
1441
|
-
DownloadFileHalf: { key: "DownloadFileHalf", component: Re },
|
|
1442
|
-
DownloadFileFull: { key: "DownloadFileFull", component: Ze },
|
|
1443
|
-
DownloadFileMini: { key: "DownloadFileMini", component: Xe },
|
|
1444
|
-
InstructionList: { key: "InstructionList", component: Ae },
|
|
1445
|
-
PreviewList: { key: "PreviewList", component: Ge },
|
|
1446
|
-
SwiperList: { key: "SwiperList", component: it },
|
|
1447
|
-
AnimatedSwiper: { key: "AnimatedSwiper", component: qe },
|
|
1448
|
-
InfoBannerList: { key: "InfoBannerList", component: rt },
|
|
1449
|
-
TasksBannerList: { key: "TasksBannerList", component: lt },
|
|
1450
|
-
VideoMainBanner: { key: "VideoMainBanner", component: ct },
|
|
1451
|
-
Space: { key: "Space", component: nt },
|
|
1452
|
-
PromoPoster: { key: "PromoPoster", component: at },
|
|
1453
|
-
CardImageSecondaryList: {
|
|
1454
|
-
key: "CardImageSecondaryList",
|
|
1455
|
-
component: Ye
|
|
1456
|
-
},
|
|
1457
|
-
CardInfoTable: { key: "CardInfoTable", component: Ke },
|
|
1458
|
-
StandartTable: { key: "StandartTable", component: st },
|
|
1459
|
-
IntroBanner: { key: "IntroBanner", component: ot },
|
|
1460
|
-
DownloadFileBright: {
|
|
1461
|
-
key: "DownloadFileBright",
|
|
1462
|
-
component: Ue
|
|
1463
|
-
},
|
|
1464
|
-
FormDefault: {
|
|
1465
|
-
key: "FormDefault",
|
|
1466
|
-
component: ge
|
|
1467
|
-
},
|
|
1468
|
-
Header: { key: "Header", component: rr },
|
|
1469
|
-
Footer: { key: "Footer", component: or },
|
|
1470
|
-
TitleBlock: { key: "TitleBlock", component: Y },
|
|
1471
|
-
ActionCardList: { key: "ActionCardList", component: ie },
|
|
1472
|
-
ButtonsList: { key: "ButtonsList", component: qt },
|
|
1473
|
-
HeroIconsBanner: { key: "HeroIconsBanner", component: Yt },
|
|
1474
|
-
IconList: { key: "IconList", component: er },
|
|
1475
|
-
SearchBlock: { key: "SearchBlock", component: tr }
|
|
1476
|
-
}, za = {
|
|
1477
|
-
MainBanner: dt.component_props,
|
|
1478
|
-
Banner: pt.component_props,
|
|
1479
|
-
CardImageList: mt.component_props,
|
|
1480
|
-
Stepper: ut.component_props,
|
|
1481
|
-
Segments: ft.component_props,
|
|
1482
|
-
VideoFull: ht.component_props,
|
|
1483
|
-
VideoList: gt.component_props,
|
|
1484
|
-
VideoListMini: bt.component_props,
|
|
1485
|
-
ContentCardList: xt.component_props,
|
|
1486
|
-
CardIconList: yt.component_props,
|
|
1487
|
-
MultiCards: wt.component_props,
|
|
1488
|
-
Partners: kt.component_props,
|
|
1489
|
-
PartnersColors: Ct.component_props,
|
|
1490
|
-
WarningCard: Lt.component_props,
|
|
1491
|
-
Faq: vt.component_props,
|
|
1492
|
-
DownloadFileBanner: Dt.component_props,
|
|
1493
|
-
DownloadFileHalf: Nt.component_props,
|
|
1494
|
-
DownloadFileFull: _t.component_props,
|
|
1495
|
-
DownloadFileMini: Bt.component_props,
|
|
1496
|
-
InstructionList: St.component_props,
|
|
1497
|
-
PreviewList: It.component_props,
|
|
1498
|
-
SwiperList: Ft.component_props,
|
|
1499
|
-
AnimatedSwiper: Mt.component_props,
|
|
1500
|
-
InfoBannerList: Vt.component_props,
|
|
1501
|
-
TasksBannerList: Tt.component_props,
|
|
1502
|
-
VideoMainBanner: Ht.component_props,
|
|
1503
|
-
EmptyBox: Pt.component_props,
|
|
1504
|
-
PromoPoster: Et.component_props,
|
|
1505
|
-
CardImageSecondaryList: jt.component_props,
|
|
1506
|
-
CardInfoTable: Wt.component_props,
|
|
1507
|
-
StandartTable: At.component_props,
|
|
1508
|
-
IntroBanner: Ot.component_props,
|
|
1509
|
-
DownloadFileBright: Gt.component_props,
|
|
1510
|
-
FormDefault: xr,
|
|
1511
|
-
TitleBlock: $t.component_props,
|
|
1512
|
-
ActionCardList: {},
|
|
1513
|
-
ButtonsList: Zt.component_props,
|
|
1514
|
-
HeroIconsBanner: Rt.component_props,
|
|
1515
|
-
IconList: Xt.component_props,
|
|
1516
|
-
SearchBlock: zt.component_props
|
|
1517
|
-
}, qa = {
|
|
1518
|
-
title: "Список карточек действий",
|
|
1519
|
-
description: "Компонент для отображения списка карточек действий с иконками и ссылками. Используется для представления различных действий или ссылок в виде сетки карточек.",
|
|
1520
|
-
types: [q.lists],
|
|
1521
|
-
propsToEdit: se
|
|
1522
|
-
}, Ya = {
|
|
1523
|
-
title: "Предупреждающая карточка",
|
|
1524
|
-
description: "Компонент для отображения предупреждающей информации в виде карточки с иконкой, заголовком и описанием. Используется для привлечения внимания к важной информации или предупреждениям.",
|
|
1525
|
-
types: [q.cards],
|
|
1526
|
-
propsToEdit: ne
|
|
1527
|
-
};
|
|
1528
|
-
export {
|
|
1529
|
-
za as A,
|
|
1530
|
-
ge as F,
|
|
1531
|
-
U as W,
|
|
1532
|
-
ie as a,
|
|
1533
|
-
Xa as b,
|
|
1534
|
-
qa as c,
|
|
1535
|
-
nr as d,
|
|
1536
|
-
se as e,
|
|
1537
|
-
Ra as f,
|
|
1538
|
-
fr as g,
|
|
1539
|
-
hr as h,
|
|
1540
|
-
Za as i,
|
|
1541
|
-
xr as j,
|
|
1542
|
-
Lr as k,
|
|
1543
|
-
vr as l,
|
|
1544
|
-
ne as p,
|
|
1545
|
-
br as r,
|
|
1546
|
-
Ya as w
|
|
1547
|
-
};
|