md-components-mdigial-azamat 0.0.33 → 0.0.35
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/AllComponents.js +29 -5
- package/dist/AnimatedSwiper/Slide/Slide.js +2 -2
- package/dist/AnimatedSwiper/index.js +5 -3
- package/dist/Banner/Banner.js +152 -8
- package/dist/Banner/index.js +2 -2
- package/dist/BannerAndText/index.js +56 -23
- package/dist/CardIconList/CardIconList.js +81 -22
- package/dist/CardIconList/index.js +2 -2
- package/dist/CardImageList/CardImageList.js +75 -8
- package/dist/CardImageList/index.js +1 -1
- package/dist/CardImageSecondary/CardImageSecondary.js +57 -23
- package/dist/CardImageSecondary/index.js +1 -1
- package/dist/CardImageSecondaryList/CardImageSecondaryList.js +27 -4
- package/dist/CardImageSecondaryList/index.js +1 -1
- package/dist/CardInfoTable/index.js +187 -22
- package/dist/Cards/CardImage/CardImage.js +2 -2
- package/dist/Cards/ColoredCard/index.js +2 -2
- package/dist/Cards/ContentCard/ContentCard.js +38 -5
- package/dist/Cards/ContentCard/index.js +2 -2
- package/dist/Cards/FeaturesCard/index.js +3 -3
- package/dist/Cards/WarningCard/WarningCard.js +58 -6
- package/dist/Cards/WarningCard/index.js +1 -1
- package/dist/Cards/WarningCard/model.js +39 -7
- package/dist/ComponentContainer-cdb2528c.js +16 -0
- package/dist/ContentCardList/ContentCardList.js +34 -21
- package/dist/ContentCardList/index.js +2 -2
- package/dist/DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js +41 -5
- package/dist/DownloadFile/components/DownloadFileBanner/index.js +2 -2
- package/dist/DownloadFile/components/DownloadFileBright/index.js +74 -7
- package/dist/DownloadFile/components/DownloadFileFull/DownloadFileFull.js +49 -6
- package/dist/DownloadFile/components/DownloadFileFull/index.js +1 -1
- package/dist/DownloadFile/components/DownloadFileHalf/DownloadFileHalf.js +46 -5
- package/dist/DownloadFile/components/DownloadFileHalf/index.js +2 -2
- package/dist/DownloadFile/components/DownloadFileMini/DownloadFileMini.js +56 -7
- package/dist/DownloadFile/components/DownloadFileMini/index.js +2 -2
- package/dist/Faq/Faq.js +44 -20
- package/dist/Faq/components/Collapse/Collapse.js +37 -19
- package/dist/Faq/components/FeedbackForm/FeedbackForm.js +1061 -4
- package/dist/Faq/components/FeedbackForm/index.js +2 -2
- package/dist/Faq/components/PlusMinusIcon/PlusMinusIcon.js +1 -1
- package/dist/Faq/index.js +2 -2
- package/dist/Footer/Footer.js +452 -0
- package/dist/Footer/components/ContactOfFooter/ContactOfFooter.js +34 -0
- package/dist/Footer/components/LinkToApp/LinkToApp.js +45 -0
- package/dist/Footer/components/LinkToAppMobile/LinkToAppMobile.js +28 -0
- package/dist/Footer/components/ListNavigation/ListNavigation.js +221 -0
- package/dist/Footer/components/NavigationFooter/NavigationFooter.js +31 -0
- package/dist/Footer/components/SocialButtonsList/SocialButtonsList.js +37 -0
- package/dist/Footer/types.js +1 -0
- package/dist/GooglePlayButton-35331c37.js +100 -0
- package/dist/Header/Header.js +8 -0
- package/dist/Header/components/HeaderCard/HeaderCard.js +37 -0
- package/dist/Header/components/HeaderCard/index.js +4 -0
- package/dist/Header/components/HeaderMainMobile/HeaderMainMobile.js +208 -0
- package/dist/Header/components/HeaderMenu/HeaderMenu.js +41 -0
- package/dist/Header/components/HeaderMenu/index.js +1 -0
- package/dist/Header/components/HeaderMenuMobile/HeaderMenuMobile.js +47 -0
- package/dist/Header/components/HeaderMobile/HeaderMobile.js +11 -0
- package/dist/Header/components/HeaderMobile/index.js +4 -0
- package/dist/Header/components/HeaderResults/HeaderResults.js +46 -0
- package/dist/Header/components/HeaderResults/index.js +4 -0
- package/dist/Header/components/HeaderSearch/HeaderSearch.js +13 -0
- package/dist/Header/components/HeaderSearch/index.js +4 -0
- package/dist/Header/components/HeaderSearchMobile/HeaderSearchMobile.js +78 -0
- package/dist/Header/components/HeaderTab/HeaderTab.js +34 -0
- package/dist/Header/components/HeaderTab/index.js +4 -0
- package/dist/Header/components/HeaderTabsMobile/HeaderTabsMobile.js +55 -0
- package/dist/Header/components/HeaderWeb/HeaderWeb.js +149 -0
- package/dist/Header/components/HeaderWeb/index.js +4 -0
- package/dist/Header/components/SelectLanguage/SelectLanguage.js +79 -0
- package/dist/Header/components/SelectLanguage/index.js +4 -0
- package/dist/Header/components/TabsOutlined/TabsOutlined.js +50 -0
- package/dist/Header/components/TabsOutlined/index.js +4 -0
- package/dist/Header/const.js +4 -0
- package/dist/Header/index.js +4 -0
- package/dist/Header/types.js +5 -0
- package/dist/HeroPossibilityBanner/index.js +1 -1
- package/dist/HtmlContent/HtmlContent.js +1 -1
- package/dist/Icon-70ea6cb8.js +187 -0
- package/dist/InfoBanner/index.js +89 -8
- package/dist/InfoBannerList/InfoBannerList.js +5 -4
- package/dist/InfoBannerList/index.js +2 -2
- package/dist/InstructionList/InstructionList.js +6 -4
- package/dist/InstructionList/components/InstructionCard/InstructionCard.js +31 -7
- package/dist/InstructionList/components/InstructionCard/index.js +2 -2
- package/dist/InstructionList/components/InstructionModal/InstructionModal.js +2 -2
- package/dist/InstructionList/index.js +1 -1
- package/dist/IntroBanner/IntroBanner.js +68 -6
- package/dist/IntroBanner/index.js +1 -1
- package/dist/MainBanner/MainBanner.js +84 -6
- package/dist/MainBanner/index.js +2 -2
- package/dist/MultiCards/index.js +88 -5
- package/dist/PageViewer/PageViewer.js +22 -4
- package/dist/PageViewer/renderComponents.js +1 -1
- package/dist/Partners/Partners.js +2 -2
- package/dist/PartnersColors/PartnersColors.js +1 -1
- package/dist/PartnersColors/components/PartnerCard/PartnerCard.js +1 -1
- package/dist/PartnersColors/components/PartnerTab/PartnerTab.js +2 -2
- package/dist/PreviewList/PreviewList.js +4 -2
- package/dist/PreviewList/components/PreviewCard/PreviewCard.js +32 -8
- package/dist/PreviewList/components/PreviewCard/index.js +2 -2
- package/dist/PreviewList/index.js +1 -1
- package/dist/PromoPoster/PromoPoster.js +4 -4
- package/dist/RenderAllComponents/RenderAllComponents.js +1 -1
- package/dist/RenderAllComponents/const.js +11 -11
- package/dist/Segments/Segments.js +1 -1
- package/dist/StandartTable/components/CardMarkedRow/index.js +33 -9
- package/dist/StandartTable/components/CardWarning/index.js +87 -6
- package/dist/StandartTable/index.js +5 -4
- package/dist/Stepper/Stepper.js +50 -6
- package/dist/Stepper/index.js +1 -1
- package/dist/SwiperList/SwiperList.js +5 -4
- package/dist/SwiperList/components/Bullet/Bullet.js +1 -1
- package/dist/SwiperList/index.js +1 -1
- package/dist/TasksBanner/TasksBanner.js +5 -5
- package/dist/TasksBanner/index.js +2 -2
- package/dist/TasksBannerList/TasksBannerList.js +2 -2
- package/dist/TasksBannerList/index.js +1 -1
- package/dist/Video/VideoFull/VideoFull.js +1 -1
- package/dist/Video/VideoList/VideoList.js +1 -1
- package/dist/Video/VideoListMini/VideoListMini.js +1 -1
- package/dist/Video/components/VideoPlayer/VideoPlayer.js +1 -1
- package/dist/VideoMainBanner/VideoMainBanner.js +168 -7
- package/dist/VideoMainBanner/index.js +2 -2
- package/dist/assets/index.css +1 -1
- package/dist/{cn-d8c04b28.js → cn-6a4bf187.js} +521 -488
- package/dist/componentsMap-e2de87b6.js +68 -0
- package/dist/const-637b0dca.js +27 -0
- package/dist/data.mock-483400cb.js +1713 -0
- package/dist/header-97863d08.js +22 -0
- package/dist/{index-60dfa873.js → index-2265d593.js} +1 -1
- package/dist/index-2fb01942.js +925 -0
- package/dist/index-3a534581.js +261 -0
- package/dist/index-66837af1.js +313 -0
- package/dist/index-6af94f99.js +53 -0
- package/dist/{index-a379154f.js → index-815f0132.js} +2 -2
- package/dist/languages-list-8419e560.js +22 -0
- package/dist/logo-99aa20bd.js +27 -0
- package/dist/main.js +87 -67
- package/dist/mousewheel-865ae601.js +153 -0
- package/dist/palette-b47a76c9.js +46 -0
- package/dist/routes-382632ac.js +7 -0
- package/dist/search-dd4eb6f8.js +5 -0
- package/dist/{index-b093f70c.js → swiper-react-90953710.js} +780 -1098
- package/dist/trash/HeroLargeCards/index.js +1 -1
- package/dist/useClickOutside-197b0df2.js +12 -0
- package/dist/useScreenSize-c1b64c02.js +19 -0
- package/package.json +4 -2
- package/dist/ComponentContainer-0fcc2695.js +0 -16
- package/dist/componentsMap-6d7d63d5.js +0 -47
- package/dist/index-b999483f.js +0 -5314
- package/dist/model-9e50e351.js +0 -69
|
@@ -1,24 +1,189 @@
|
|
|
1
|
-
import "react/jsx-runtime";
|
|
2
|
-
import "react";
|
|
3
|
-
import "../
|
|
4
|
-
import {
|
|
5
|
-
import "../
|
|
6
|
-
import "../
|
|
7
|
-
import "../
|
|
8
|
-
import "../
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
1
|
+
import { jsxs as x, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as g } from "react";
|
|
3
|
+
import { FieldTypes as i } from "../Types/FiledTypes.js";
|
|
4
|
+
import { C as h } from "../ComponentContainer-cdb2528c.js";
|
|
5
|
+
import { c as p } from "../cn-6a4bf187.js";
|
|
6
|
+
import { B as y } from "../index-6af94f99.js";
|
|
7
|
+
import { a as w, B as u } from "../const-637b0dca.js";
|
|
8
|
+
import { I as _ } from "../index-2265d593.js";
|
|
9
|
+
const d = {
|
|
10
|
+
type: "data",
|
|
11
|
+
label: "Данные",
|
|
12
|
+
dataType: "object",
|
|
13
|
+
data: {
|
|
14
|
+
keys: {
|
|
15
|
+
title: i.TITLE,
|
|
16
|
+
description: i.DESCRIPTION
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}, N = [d, "className"], o = ({ data: e, className: l }) => {
|
|
20
|
+
var a;
|
|
21
|
+
return /* @__PURE__ */ x(
|
|
22
|
+
"div",
|
|
23
|
+
{
|
|
24
|
+
className: p(
|
|
25
|
+
"w-full grid grid-cols-[1fr_3fr] gap-[24px] py-[24px] border-b border-lightGray8 first:pt-0 first:pb-[24px] last:pt-[24px] last:pb-0 last:border-b-0",
|
|
26
|
+
"max-tablet:grid-cols-[140px_1fr] max-tablet:items-start max-tablet:gap-[12px] max-tablet:py-[16px] max-tablet:first:pt-0 max-tablet:first:pb-[16px] max-tablet:last:pt-[16px] max-tablet:last:pb-0 max-tablet:last:border-b-0",
|
|
27
|
+
l
|
|
28
|
+
),
|
|
29
|
+
children: [
|
|
30
|
+
/* @__PURE__ */ r("p", { className: "text-[18px] leading-[26px] font-medium text-graySoft m-0 max-tablet:text-[13px] max-tablet:leading-[16px] max-tablet:w-[140px] max-tablet:break-words", children: e == null ? void 0 : e.title }),
|
|
31
|
+
/* @__PURE__ */ r("div", { className: "grid grid-cols-3 gap-[24px] w-full max-tablet:grid-cols-1 max-tablet:gap-0 max-tablet:w-auto", children: (a = e == null ? void 0 : e.columns) == null ? void 0 : a.map((t) => /* @__PURE__ */ x(
|
|
32
|
+
"div",
|
|
33
|
+
{
|
|
34
|
+
className: "w-full flex flex-col gap-[8px] max-tablet:py-[16px] max-tablet:border-b max-tablet:border-lightGray8 first:max-tablet:pt-0 first:max-tablet:pb-[16px] last:max-tablet:pt-[16px] last:max-tablet:pb-0 last:max-tablet:border-b-0",
|
|
35
|
+
children: [
|
|
36
|
+
(t == null ? void 0 : t.title) && /* @__PURE__ */ r("p", { className: "text-[18px] leading-[26px] font-medium m-0 break-words whitespace-pre-line", children: t == null ? void 0 : t.title }),
|
|
37
|
+
(t == null ? void 0 : t.description) && /* @__PURE__ */ r("div", { className: "text-[14px] leading-[20px] text-graySoft whitespace-pre-line max-[420px]:whitespace-normal max-[420px]:break-words max-tablet:text-[13px] max-tablet:leading-[16px]", children: t == null ? void 0 : t.description })
|
|
38
|
+
]
|
|
39
|
+
},
|
|
40
|
+
t == null ? void 0 : t.id
|
|
41
|
+
)) })
|
|
42
|
+
]
|
|
43
|
+
}
|
|
44
|
+
);
|
|
45
|
+
};
|
|
46
|
+
o.propsToEdit = N;
|
|
47
|
+
o.displayName = "CardRowInfo";
|
|
48
|
+
const T = ({
|
|
49
|
+
data: e,
|
|
50
|
+
title: l,
|
|
51
|
+
description: a,
|
|
52
|
+
image: t,
|
|
53
|
+
className: s
|
|
54
|
+
}) => /* @__PURE__ */ x(
|
|
55
|
+
"div",
|
|
56
|
+
{
|
|
57
|
+
className: p(
|
|
58
|
+
"w-full flex justify-between gap-[20px] bg-[#5f6e7b10] p-[32px] rounded-[20px]",
|
|
59
|
+
"max-tablet:flex-col max-tablet:items-stretch max-tablet:gap-[24px] max-tablet:p-[16px] max-tablet:h-fit",
|
|
60
|
+
s
|
|
61
|
+
),
|
|
62
|
+
children: [
|
|
63
|
+
/* @__PURE__ */ x(
|
|
64
|
+
"div",
|
|
65
|
+
{
|
|
66
|
+
className: p(
|
|
67
|
+
"flex gap-[16px] items-center justify-center basis-[70%]",
|
|
68
|
+
"max-tablet:flex-col max-tablet:items-start max-tablet:gap-[12px] max-tablet:basis-full"
|
|
69
|
+
),
|
|
70
|
+
children: [
|
|
71
|
+
((e == null ? void 0 : e.necessary_icon) || t) && /* @__PURE__ */ r(
|
|
72
|
+
_,
|
|
73
|
+
{
|
|
74
|
+
src: (e == null ? void 0 : e.necessary_icon) ?? t ?? "",
|
|
75
|
+
alt: (e == null ? void 0 : e.necessary_title) ?? l ?? "",
|
|
76
|
+
width: 48,
|
|
77
|
+
height: 48,
|
|
78
|
+
className: "w-[48px] h-[48px] shrink-0",
|
|
79
|
+
imageStyles: "w-full h-full object-contain"
|
|
80
|
+
}
|
|
81
|
+
),
|
|
82
|
+
/* @__PURE__ */ x("div", { className: "box-border max-tablet:h-fit", children: [
|
|
83
|
+
/* @__PURE__ */ r(
|
|
84
|
+
"p",
|
|
85
|
+
{
|
|
86
|
+
className: p(
|
|
87
|
+
"text-[24px] font-bold leading-[32px] m-0",
|
|
88
|
+
"max-tablet:text-[18px] max-tablet:font-semibold max-tablet:leading-[26px]"
|
|
89
|
+
),
|
|
90
|
+
children: (e == null ? void 0 : e.necessary_title) || l
|
|
91
|
+
}
|
|
92
|
+
),
|
|
93
|
+
((e == null ? void 0 : e.necessary_description) || a) && /* @__PURE__ */ r(
|
|
94
|
+
"p",
|
|
95
|
+
{
|
|
96
|
+
className: p(
|
|
97
|
+
"text-[15px] font-normal leading-[24px] m-0",
|
|
98
|
+
"max-tablet:text-[13px] max-tablet:leading-[16px]"
|
|
99
|
+
),
|
|
100
|
+
children: (e == null ? void 0 : e.necessary_description) || a
|
|
101
|
+
}
|
|
102
|
+
)
|
|
103
|
+
] })
|
|
104
|
+
]
|
|
105
|
+
}
|
|
106
|
+
),
|
|
107
|
+
(e == null ? void 0 : e.necessary_button_link) && /* @__PURE__ */ r(
|
|
108
|
+
"a",
|
|
109
|
+
{
|
|
110
|
+
href: e == null ? void 0 : e.necessary_button_link,
|
|
111
|
+
target: "_blank",
|
|
112
|
+
children: /* @__PURE__ */ r(
|
|
113
|
+
y,
|
|
114
|
+
{
|
|
115
|
+
variant: w.Static,
|
|
116
|
+
size: u.L,
|
|
117
|
+
className: "text-[15px] font-medium leading-[24px] px-[16px] py-[8px] rounded-[8px] bg-[#FDDB2B] text-black border-none cursor-pointer transition-colors duration-300 hover:bg-[#F7C21C] max-tablet:w-full max-tablet:h-[56px]",
|
|
118
|
+
children: e == null ? void 0 : e.necessary_button_text
|
|
119
|
+
}
|
|
120
|
+
)
|
|
121
|
+
}
|
|
122
|
+
)
|
|
123
|
+
]
|
|
124
|
+
}
|
|
125
|
+
), I = {
|
|
126
|
+
type: "table",
|
|
127
|
+
label: "Таблица",
|
|
128
|
+
dataType: "object",
|
|
129
|
+
data: {
|
|
130
|
+
keys: {
|
|
131
|
+
warning: {
|
|
132
|
+
keys: {
|
|
133
|
+
warning_title: i.TITLE,
|
|
134
|
+
warning_description: i.DESCRIPTION
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
}, k = {
|
|
140
|
+
type: "rows",
|
|
141
|
+
label: "Строки",
|
|
142
|
+
dataType: "array",
|
|
143
|
+
data: {
|
|
144
|
+
...d
|
|
145
|
+
}
|
|
146
|
+
}, C = ["title", I, k], f = g(
|
|
147
|
+
({ title: e, table: l, rows: a }, t) => {
|
|
148
|
+
var s, c, b;
|
|
149
|
+
return /* @__PURE__ */ r("div", { ref: t, children: /* @__PURE__ */ x(h, { children: [
|
|
150
|
+
e && /* @__PURE__ */ r(
|
|
151
|
+
"p",
|
|
152
|
+
{
|
|
153
|
+
className: p(
|
|
154
|
+
"text-[44px] font-bold leading-[52px] mb-[48px] text-black text-center max-tablet:text-[26px] max-tablet:leading-[32px] max-tablet:mb-[32px]"
|
|
155
|
+
),
|
|
156
|
+
children: e
|
|
157
|
+
}
|
|
158
|
+
),
|
|
159
|
+
/* @__PURE__ */ x("div", { className: "bg-white p-8 rounded-[20px] md:p-6", children: [
|
|
160
|
+
a == null ? void 0 : a.map((n) => {
|
|
161
|
+
var m;
|
|
162
|
+
return /* @__PURE__ */ r(
|
|
163
|
+
o,
|
|
164
|
+
{
|
|
165
|
+
data: n,
|
|
166
|
+
className: p("border-b border-gray-200 last:border-b-0", {
|
|
167
|
+
"border-none": (m = l == null ? void 0 : l.warning) == null ? void 0 : m.warning_title
|
|
168
|
+
})
|
|
169
|
+
},
|
|
170
|
+
n == null ? void 0 : n.id
|
|
171
|
+
);
|
|
172
|
+
}),
|
|
173
|
+
((s = l == null ? void 0 : l.warning) == null ? void 0 : s.warning_title) && /* @__PURE__ */ r(
|
|
174
|
+
T,
|
|
175
|
+
{
|
|
176
|
+
className: "!flex-auto [&_p:first-child]:text-[16px] [&_p:first-child]:leading-[24px] [&_p:last-child]:text-[15px] [&_p:last-child]:leading-[22px]",
|
|
177
|
+
title: (c = l == null ? void 0 : l.warning) == null ? void 0 : c.warning_title,
|
|
178
|
+
description: (b = l == null ? void 0 : l.warning) == null ? void 0 : b.warning_description
|
|
179
|
+
}
|
|
180
|
+
)
|
|
181
|
+
] })
|
|
182
|
+
] }) });
|
|
183
|
+
}
|
|
184
|
+
);
|
|
185
|
+
f.propsToEdit = C;
|
|
186
|
+
f.displayName = "CardInfoTable";
|
|
22
187
|
export {
|
|
23
|
-
|
|
188
|
+
f as CardInfoTable
|
|
24
189
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as p, jsx as x } from "react/jsx-runtime";
|
|
2
2
|
import { FieldTypes as l } from "../../Types/FiledTypes.js";
|
|
3
|
-
import { I as o } from "../../index-
|
|
4
|
-
import { c as i } from "../../cn-
|
|
3
|
+
import { I as o } from "../../index-2265d593.js";
|
|
4
|
+
import { c as i } from "../../cn-6a4bf187.js";
|
|
5
5
|
const r = {
|
|
6
6
|
type: "data",
|
|
7
7
|
label: "Данные карточки с изображением",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as o, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { FieldTypes as l } from "../../Types/FiledTypes.js";
|
|
3
|
-
import { I as r } from "../../index-
|
|
4
|
-
import { c as x } from "../../cn-
|
|
3
|
+
import { I as r } from "../../index-2265d593.js";
|
|
4
|
+
import { c as x } from "../../cn-6a4bf187.js";
|
|
5
5
|
const i = {
|
|
6
6
|
type: "data",
|
|
7
7
|
label: "Данные цветной карточки",
|
|
@@ -1,7 +1,40 @@
|
|
|
1
|
-
import "react/jsx-runtime";
|
|
2
|
-
import "../../HtmlContent/HtmlContent.js";
|
|
3
|
-
import {
|
|
4
|
-
import "../../
|
|
1
|
+
import { jsxs as n, jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { HtmlContent as s } from "../../HtmlContent/HtmlContent.js";
|
|
3
|
+
import { B as p } from "../../index-6af94f99.js";
|
|
4
|
+
import { a as i } from "../../const-637b0dca.js";
|
|
5
|
+
import { I as x } from "../../index-2265d593.js";
|
|
6
|
+
const c = ["data"], t = ({ data: e }) => {
|
|
7
|
+
var l;
|
|
8
|
+
return /* @__PURE__ */ n("div", { className: "rounded-[20px] overflow-hidden", children: [
|
|
9
|
+
/* @__PURE__ */ o(
|
|
10
|
+
x,
|
|
11
|
+
{
|
|
12
|
+
src: e == null ? void 0 : e.image,
|
|
13
|
+
alt: e == null ? void 0 : e.title,
|
|
14
|
+
className: "w-full h-auto"
|
|
15
|
+
}
|
|
16
|
+
),
|
|
17
|
+
/* @__PURE__ */ n("div", { className: "flex flex-col gap-[24px] bg-white p-[32px]", children: [
|
|
18
|
+
/* @__PURE__ */ o("p", { className: "text-[24px] leading-[32px] font-semibold", children: e == null ? void 0 : e.title }),
|
|
19
|
+
/* @__PURE__ */ o(
|
|
20
|
+
s,
|
|
21
|
+
{
|
|
22
|
+
data: e == null ? void 0 : e.description,
|
|
23
|
+
className: "text-graySoft text-[15px] leading-[22px]"
|
|
24
|
+
}
|
|
25
|
+
),
|
|
26
|
+
/* @__PURE__ */ o("div", { className: "flex gap-12px items-center max-tablet:flex-col", children: (l = e == null ? void 0 : e.button) == null ? void 0 : l.map((r) => /* @__PURE__ */ o(
|
|
27
|
+
"a",
|
|
28
|
+
{
|
|
29
|
+
href: (r == null ? void 0 : r.link) || "#",
|
|
30
|
+
target: "_blank",
|
|
31
|
+
children: /* @__PURE__ */ o(p, { variant: i.Grey, children: r == null ? void 0 : r.text })
|
|
32
|
+
}
|
|
33
|
+
)) })
|
|
34
|
+
] })
|
|
35
|
+
] });
|
|
36
|
+
};
|
|
37
|
+
t.propsToEdit = c;
|
|
5
38
|
export {
|
|
6
|
-
|
|
39
|
+
t as ContentCard
|
|
7
40
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "../../Types/FiledTypes.js";
|
|
3
|
-
import "../../index-
|
|
4
|
-
import "../../cn-
|
|
5
|
-
import { F as a } from "../../index-
|
|
3
|
+
import "../../index-2265d593.js";
|
|
4
|
+
import "../../cn-6a4bf187.js";
|
|
5
|
+
import { F as a } from "../../index-815f0132.js";
|
|
6
6
|
export {
|
|
7
7
|
a as FeaturesCard
|
|
8
8
|
};
|
|
@@ -1,8 +1,60 @@
|
|
|
1
|
-
import "react/jsx-runtime";
|
|
2
|
-
import "
|
|
3
|
-
import {
|
|
4
|
-
import "../../
|
|
5
|
-
import "../../
|
|
1
|
+
import { jsx as o, jsxs as t } from "react/jsx-runtime";
|
|
2
|
+
import { WarningCardVariant as r, warningCardVariant as l } from "./model.js";
|
|
3
|
+
import { I as a } from "../../Icon-70ea6cb8.js";
|
|
4
|
+
import { b as c } from "../../const-637b0dca.js";
|
|
5
|
+
import { B as d } from "../../index-6af94f99.js";
|
|
6
|
+
import { C as p } from "../../ComponentContainer-cdb2528c.js";
|
|
7
|
+
import { c as m } from "../../cn-6a4bf187.js";
|
|
8
|
+
const x = [
|
|
9
|
+
"title",
|
|
10
|
+
"title_color",
|
|
11
|
+
"description",
|
|
12
|
+
"description_color",
|
|
13
|
+
c,
|
|
14
|
+
l
|
|
15
|
+
], f = ({
|
|
16
|
+
title: i,
|
|
17
|
+
description: n,
|
|
18
|
+
button: s,
|
|
19
|
+
variant: e
|
|
20
|
+
}) => /* @__PURE__ */ o(p, { children: /* @__PURE__ */ o(
|
|
21
|
+
"div",
|
|
22
|
+
{
|
|
23
|
+
className: "rounded-[24px] p-6",
|
|
24
|
+
style: { background: r[e].background },
|
|
25
|
+
children: /* @__PURE__ */ t("div", { className: "flex gap-4 items-center justify-between", children: [
|
|
26
|
+
/* @__PURE__ */ t("div", { className: "flex gap-4 items-center", children: [
|
|
27
|
+
/* @__PURE__ */ o(
|
|
28
|
+
a,
|
|
29
|
+
{
|
|
30
|
+
name: r[e].icon,
|
|
31
|
+
size: 40
|
|
32
|
+
}
|
|
33
|
+
),
|
|
34
|
+
/* @__PURE__ */ t("div", { className: "flex flex-col gap-1", children: [
|
|
35
|
+
/* @__PURE__ */ o(
|
|
36
|
+
"p",
|
|
37
|
+
{
|
|
38
|
+
className: m("text-[24px] leading-8 font-bold"),
|
|
39
|
+
style: { color: r[e].textColor },
|
|
40
|
+
children: i
|
|
41
|
+
}
|
|
42
|
+
),
|
|
43
|
+
/* @__PURE__ */ o(
|
|
44
|
+
"p",
|
|
45
|
+
{
|
|
46
|
+
className: "text-[16px] leading-6",
|
|
47
|
+
style: { color: r[e].textColor },
|
|
48
|
+
children: n
|
|
49
|
+
}
|
|
50
|
+
)
|
|
51
|
+
] })
|
|
52
|
+
] }),
|
|
53
|
+
/* @__PURE__ */ o(d, { ...s })
|
|
54
|
+
] })
|
|
55
|
+
}
|
|
56
|
+
) });
|
|
57
|
+
f.propsToEdit = x;
|
|
6
58
|
export {
|
|
7
|
-
|
|
59
|
+
f as WarningCard
|
|
8
60
|
};
|
|
@@ -1,9 +1,41 @@
|
|
|
1
|
-
import "../../Types/FiledTypes.js";
|
|
2
|
-
import {
|
|
3
|
-
import "../../generateSelectOptions-7b23cdb8.js";
|
|
1
|
+
import { OptionTypesEnum as e, DataTypesEnum as o } from "../../Types/FiledTypes.js";
|
|
2
|
+
import { p as r } from "../../palette-b47a76c9.js";
|
|
3
|
+
import { g as n } from "../../generateSelectOptions-7b23cdb8.js";
|
|
4
|
+
var t = /* @__PURE__ */ ((a) => (a.Orange = "orange", a.Gray = "gray", a.Black = "black", a))(t || {});
|
|
5
|
+
const c = {
|
|
6
|
+
orange: {
|
|
7
|
+
background: "linear-gradient(92deg, rgba(255, 255, 255, 0.00) -4.95%, rgba(255, 255, 255, 0.02) -4.63%, rgba(255, 255, 255, 0.20) 87.84%), var(--status-filled-bg-accent, #FDDB2B)",
|
|
8
|
+
textColor: r.blackBG,
|
|
9
|
+
icon: "infoDark",
|
|
10
|
+
key: "orange"
|
|
11
|
+
},
|
|
12
|
+
gray: {
|
|
13
|
+
background: "linear-gradient(92deg, rgba(255, 255, 255, 0.00) -4.95%, rgba(255, 255, 255, 0.02) -4.63%, rgba(255, 255, 255, 0.20) 87.84%), var(--supportive-ghost-1, rgba(95, 110, 123, 0.10))",
|
|
14
|
+
textColor: r.blackBG,
|
|
15
|
+
icon: "infoCrown",
|
|
16
|
+
key: "gray"
|
|
17
|
+
},
|
|
18
|
+
black: {
|
|
19
|
+
background: "linear-gradient(92deg, rgba(255, 255, 255, 0.00) -4.95%, rgba(255, 255, 255, 0.02) -4.63%, rgba(255, 255, 255, 0.20) 87.84%), var(--black-94-solid, #1A1C20)",
|
|
20
|
+
textColor: r.white,
|
|
21
|
+
icon: "infoLight",
|
|
22
|
+
key: "black"
|
|
23
|
+
}
|
|
24
|
+
}, g = n(
|
|
25
|
+
Object.values(t).map((a) => ({
|
|
26
|
+
label: a.toUpperCase(),
|
|
27
|
+
value: a
|
|
28
|
+
}))
|
|
29
|
+
), p = {
|
|
30
|
+
type: "variant",
|
|
31
|
+
options: g,
|
|
32
|
+
variant: e.options,
|
|
33
|
+
dataType: o.select,
|
|
34
|
+
label: "Вариант карточки"
|
|
35
|
+
};
|
|
4
36
|
export {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
37
|
+
c as WarningCardVariant,
|
|
38
|
+
t as WarningCardVariantKey,
|
|
39
|
+
p as warningCardVariant,
|
|
40
|
+
g as warningCardVariantOptions
|
|
9
41
|
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
+
import { c as o } from "./cn-6a4bf187.js";
|
|
3
|
+
const r = ({ children: a, className: l, style: t }) => /* @__PURE__ */ m(
|
|
4
|
+
"section",
|
|
5
|
+
{
|
|
6
|
+
style: t,
|
|
7
|
+
className: o(
|
|
8
|
+
"w-[1232px] max-tablet:w-full mx-auto px-4 relative max-tablet:max-w-full md:max-w-full lg:max-w-full overflow-x-hidden",
|
|
9
|
+
l
|
|
10
|
+
),
|
|
11
|
+
children: a
|
|
12
|
+
}
|
|
13
|
+
);
|
|
14
|
+
export {
|
|
15
|
+
r as C
|
|
16
|
+
};
|
|
@@ -1,23 +1,36 @@
|
|
|
1
|
-
import "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import "../
|
|
4
|
-
import "../
|
|
5
|
-
import "../
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
1
|
+
import { jsx as t, jsxs as r } from "react/jsx-runtime";
|
|
2
|
+
import { ContentCard as i } from "../Cards/ContentCard/ContentCard.js";
|
|
3
|
+
import { FieldTypes as o } from "../Types/FiledTypes.js";
|
|
4
|
+
import { b as l } from "../const-637b0dca.js";
|
|
5
|
+
import { C as p } from "../ComponentContainer-cdb2528c.js";
|
|
6
|
+
const s = {
|
|
7
|
+
type: "cards",
|
|
8
|
+
label: "Карточки",
|
|
9
|
+
dataType: "array",
|
|
10
|
+
data: {
|
|
11
|
+
title: o.TITLE,
|
|
12
|
+
image: o.FILE,
|
|
13
|
+
description: o.DESCRIPTION,
|
|
14
|
+
button: l
|
|
15
|
+
}
|
|
16
|
+
}, m = ["title", s], x = ({ title: a, cards: e }) => /* @__PURE__ */ t(p, { children: /* @__PURE__ */ r("div", { className: "w-full flex flex-col items-center justify-center", children: [
|
|
17
|
+
a && /* @__PURE__ */ t(
|
|
18
|
+
"p",
|
|
19
|
+
{
|
|
20
|
+
className: `font-bold max-tablet:text-[26px] text-[44px] max-tablet:leading-[32px] leading-[42px]
|
|
21
|
+
mb-[24px] font-variant-numeric font-feature-settings`,
|
|
22
|
+
children: a
|
|
23
|
+
}
|
|
24
|
+
),
|
|
25
|
+
/* @__PURE__ */ t("div", { className: "flex flex-row max-tablet:flex-col gap-[24px]", children: e == null ? void 0 : e.map((n) => /* @__PURE__ */ t(
|
|
26
|
+
i,
|
|
27
|
+
{
|
|
28
|
+
data: n
|
|
29
|
+
},
|
|
30
|
+
n.id
|
|
31
|
+
)) })
|
|
32
|
+
] }) });
|
|
33
|
+
x.propsToEdit = m;
|
|
21
34
|
export {
|
|
22
|
-
|
|
35
|
+
x as ContentCardList
|
|
23
36
|
};
|
|
@@ -1,7 +1,43 @@
|
|
|
1
|
-
import "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import "../../../
|
|
4
|
-
import "../../../
|
|
1
|
+
import { jsx as e, jsxs as l } from "react/jsx-runtime";
|
|
2
|
+
import { I as o } from "../../../Icon-70ea6cb8.js";
|
|
3
|
+
import { p as t } from "../../../palette-b47a76c9.js";
|
|
4
|
+
import { B as n } from "../../../index-6af94f99.js";
|
|
5
|
+
import { C as s } from "../../../ComponentContainer-cdb2528c.js";
|
|
6
|
+
const c = ["title", "text", "link"], m = ({
|
|
7
|
+
title: a,
|
|
8
|
+
text: i,
|
|
9
|
+
link: r
|
|
10
|
+
}) => /* @__PURE__ */ e(s, { children: /* @__PURE__ */ l("div", { className: "p-[48px] bg-white rounded-[20px] flex justify-between gap-[64px] max-tablet:flex-col-reverse max-tablet:gap-8", children: [
|
|
11
|
+
/* @__PURE__ */ e("div", { className: "flex flex-col ", children: /* @__PURE__ */ l("div", { children: [
|
|
12
|
+
/* @__PURE__ */ e("p", { className: "text-[32px] leading-10 font-bold mb-4", children: a }),
|
|
13
|
+
/* @__PURE__ */ e("p", { className: "text-[16px] leading-6", children: i }),
|
|
14
|
+
/* @__PURE__ */ e("a", { href: r, children: /* @__PURE__ */ e(
|
|
15
|
+
n,
|
|
16
|
+
{
|
|
17
|
+
iconRight: /* @__PURE__ */ e(
|
|
18
|
+
o,
|
|
19
|
+
{
|
|
20
|
+
name: "download",
|
|
21
|
+
size: 20,
|
|
22
|
+
color: t.blackBG
|
|
23
|
+
}
|
|
24
|
+
),
|
|
25
|
+
className: "mt-8",
|
|
26
|
+
children: "Скачать"
|
|
27
|
+
}
|
|
28
|
+
) })
|
|
29
|
+
] }) }),
|
|
30
|
+
/* @__PURE__ */ e(
|
|
31
|
+
o,
|
|
32
|
+
{
|
|
33
|
+
className: "flex-shrink-0",
|
|
34
|
+
name: "file",
|
|
35
|
+
color: t.greenLight,
|
|
36
|
+
size: 82
|
|
37
|
+
}
|
|
38
|
+
)
|
|
39
|
+
] }) });
|
|
40
|
+
m.propsToEdit = c;
|
|
5
41
|
export {
|
|
6
|
-
|
|
42
|
+
m as DownloadFileBanner
|
|
7
43
|
};
|
|
@@ -1,9 +1,76 @@
|
|
|
1
|
-
import "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import "../../../ComponentContainer-
|
|
4
|
-
import "../../../index-
|
|
5
|
-
import "../../../cn-
|
|
6
|
-
import "../../../
|
|
1
|
+
import { jsxs as i, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { B as b } from "../../../index-6af94f99.js";
|
|
3
|
+
import { C as r } from "../../../ComponentContainer-cdb2528c.js";
|
|
4
|
+
import { I as n } from "../../../index-2265d593.js";
|
|
5
|
+
import { c } from "../../../cn-6a4bf187.js";
|
|
6
|
+
import { u as f } from "../../../useScreenSize-c1b64c02.js";
|
|
7
|
+
const g = ["title", "description", "icon", "isDark"], d = ({
|
|
8
|
+
title: x,
|
|
9
|
+
description: o,
|
|
10
|
+
icon: p,
|
|
11
|
+
button: s,
|
|
12
|
+
variant: e = "big",
|
|
13
|
+
isDark: a
|
|
14
|
+
}) => {
|
|
15
|
+
const l = f(960), m = e === "big" ? l ? 106 : 343 : l ? 106 : 64;
|
|
16
|
+
return /* @__PURE__ */ i(
|
|
17
|
+
r,
|
|
18
|
+
{
|
|
19
|
+
className: `flex justify-between items-center rounded-[20px]
|
|
20
|
+
${e === "big" ? "p-[48px]" : "p-[32px] gap-[32px]"}
|
|
21
|
+
${a ? "bg-black7" : "bg-white"}
|
|
22
|
+
max-tablet:flex-col max-tablet:items-start max-tablet:justify-start max-tablet:p-[24px] max-tablet:gap-[0] max-tablet:my-[48px] my-[88px]
|
|
23
|
+
max-tablet:relative w-[calc(100%-239px)]
|
|
24
|
+
`,
|
|
25
|
+
children: [
|
|
26
|
+
/* @__PURE__ */ i("div", { className: "flex flex-col h-full w-full", children: [
|
|
27
|
+
/* @__PURE__ */ t(
|
|
28
|
+
"p",
|
|
29
|
+
{
|
|
30
|
+
className: `font-[700]
|
|
31
|
+
${a ? "text-[#f4f6f7]" : "text-[#0e0f11]"}
|
|
32
|
+
${e === "big" ? "text-[32px] leading-[40px]" : "text-[24px] leading-[32px]"}
|
|
33
|
+
max-tablet:text-[24px] max-tablet:leading-[28px]
|
|
34
|
+
mb-[16px] max-tablet:mt-[24px] max-tablet:mb-[12px] max-tablet:text-center`,
|
|
35
|
+
children: x
|
|
36
|
+
}
|
|
37
|
+
),
|
|
38
|
+
/* @__PURE__ */ t(
|
|
39
|
+
"p",
|
|
40
|
+
{
|
|
41
|
+
className: `font-[400] text-[16px] leading-[24px]
|
|
42
|
+
${a ? "text-[#f4f6f7]" : "text-[#40474f]"}
|
|
43
|
+
mb-[32px] max-tablet:mb-[24px] max-tablet:text-center`,
|
|
44
|
+
children: o
|
|
45
|
+
}
|
|
46
|
+
),
|
|
47
|
+
/* @__PURE__ */ t(
|
|
48
|
+
b,
|
|
49
|
+
{
|
|
50
|
+
className: "w-fit max-tablet:w-full flex items-center justify-center",
|
|
51
|
+
...s
|
|
52
|
+
}
|
|
53
|
+
)
|
|
54
|
+
] }),
|
|
55
|
+
/* @__PURE__ */ t(
|
|
56
|
+
n,
|
|
57
|
+
{
|
|
58
|
+
src: p,
|
|
59
|
+
alt: x,
|
|
60
|
+
width: m,
|
|
61
|
+
height: m,
|
|
62
|
+
className: c(
|
|
63
|
+
"absolute top-1/2 right-6 w-[343px] !h-auto -translate-y-1/2 max-tablet:relative max-tablet:!h-[106px]",
|
|
64
|
+
"max-tablet:top-auto max-tablet:right-auto max-tablet:-translate-y-0 max-tablet:order-[-1] max-tablet:mx-auto"
|
|
65
|
+
),
|
|
66
|
+
imageStyles: "object-contain object-bottom max-tablet:object-center"
|
|
67
|
+
}
|
|
68
|
+
)
|
|
69
|
+
]
|
|
70
|
+
}
|
|
71
|
+
);
|
|
72
|
+
};
|
|
73
|
+
d.propsToEdit = g;
|
|
7
74
|
export {
|
|
8
|
-
|
|
75
|
+
d as DownloadFileBright
|
|
9
76
|
};
|