md-components-mdigial-azamat 0.0.11 → 0.0.13
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/README.md +1 -1
- package/dist/AllComponents.js +130 -0
- package/dist/AnimatedSwiper/Slide/Slide.js +57 -0
- package/dist/AnimatedSwiper/Slide/index.js +4 -0
- package/dist/AnimatedSwiper/index.js +117 -0
- package/dist/AnimatedSwiper/types.js +1 -0
- package/dist/Banner/Banner.js +34 -48
- package/dist/BannerAndText/index.js +4 -8
- package/dist/CardIconList/CardIconList.js +4 -10
- package/dist/CardImageList/CardImageList.js +4 -9
- package/dist/CardImageSecondary/CardImageSecondary.js +50 -0
- package/dist/CardImageSecondary/index.js +4 -0
- package/dist/CardImageSecondary/types.js +1 -0
- package/dist/CardImageSecondaryList/CardImageSecondaryList.js +21 -0
- package/dist/CardImageSecondaryList/index.js +4 -0
- package/dist/CardImageSecondaryList/types.js +1 -0
- package/dist/CardInfoTable/index.js +153 -0
- package/dist/CardInfoTable/types.js +1 -0
- package/dist/Cards/CardImage/CardImage.js +3 -5
- package/dist/Cards/ColoredCard/index.js +3 -7
- package/dist/Cards/ContentCard/ContentCard.js +12 -13
- package/dist/Cards/FeaturesCard/index.js +3 -3
- package/dist/Cards/WarningCard/WarningCard.js +16 -20
- package/dist/Cards/WarningCard/model.js +1 -1
- package/dist/ComponentContainer-0fcc2695.js +16 -0
- package/dist/ConfigProvider/index.js +1 -3
- package/dist/ContentCardList/ContentCardList.js +2 -4
- package/dist/DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js +22 -19
- package/dist/DownloadFile/components/DownloadFileBright/index.js +103 -0
- package/dist/DownloadFile/components/DownloadFileBright/types.js +1 -0
- package/dist/DownloadFile/components/DownloadFileFull/DownloadFileFull.js +15 -16
- package/dist/DownloadFile/components/DownloadFileHalf/DownloadFileHalf.js +14 -15
- package/dist/DownloadFile/components/DownloadFileMini/DownloadFileMini.js +12 -13
- package/dist/EmptyBox/EmptyBox.js +5 -0
- package/dist/EmptyBox/types.js +1 -0
- package/dist/Faq/Faq.js +2 -5
- package/dist/Faq/components/Collapse/Collapse.js +1 -4
- package/dist/Faq/components/FeedbackForm/FeedbackForm.js +95 -94
- package/dist/Faq/components/PlusMinusIcon/PlusMinusIcon.js +1 -1
- package/dist/HeroPossibilityBanner/index.js +1 -1
- package/dist/HtmlContent/HtmlContent.js +2 -5
- package/dist/InfoBanner/index.js +73 -0
- package/dist/InfoBanner/types.js +1 -0
- package/dist/InfoBannerList/InfoBannerList.js +37 -0
- package/dist/InfoBannerList/index.js +4 -0
- package/dist/InfoBannerList/types.js +1 -0
- package/dist/InstructionList/InstructionList.js +3 -7
- package/dist/InstructionList/components/InstructionCard/InstructionCard.js +2 -4
- package/dist/InstructionList/components/InstructionModal/InstructionModal.js +2 -2
- package/dist/IntroBanner/IntroBanner.js +60 -0
- package/dist/IntroBanner/index.js +4 -0
- package/dist/IntroBanner/types.js +1 -0
- package/dist/MainBanner/MainBanner.js +4 -4
- package/dist/MultiCards/index.js +1 -1
- package/dist/PageViewer/ComponentsView.js +9 -0
- package/dist/PageViewer/PageViewer.js +6 -0
- package/dist/PageViewer/index.js +4 -0
- package/dist/PageViewer/renderComponents.js +26 -0
- package/dist/Partners/Partners.js +3 -5
- package/dist/PartnersColors/PartnersColors.js +2 -7
- package/dist/PartnersColors/components/PartnerCard/PartnerCard.js +1 -1
- package/dist/PartnersColors/components/PartnerTab/PartnerTab.js +2 -2
- package/dist/PreviewList/PreviewList.js +3 -9
- package/dist/PreviewList/components/PreviewCard/PreviewCard.js +13 -14
- package/dist/PromoPoster/PromoPoster.js +36 -0
- package/dist/PromoPoster/types.js +1 -0
- package/dist/RenderAllComponents/RenderAllComponents.js +16 -0
- package/dist/RenderAllComponents/const.js +43 -0
- package/dist/RenderAllComponents/index.js +4 -0
- package/dist/Segments/Segments.js +2 -5
- package/dist/StandartTable/components/CardMarkedRow/index.js +75 -0
- package/dist/StandartTable/components/CardMarkedRow/types.js +1 -0
- package/dist/StandartTable/components/CardWarning/index.js +89 -0
- package/dist/StandartTable/components/CardWarning/types.js +1 -0
- package/dist/StandartTable/index.js +48 -0
- package/dist/StandartTable/types.js +1 -0
- package/dist/Stepper/Stepper.js +4 -8
- package/dist/SwiperList/SwiperList.js +44 -3191
- package/dist/SwiperList/components/Bullet/Bullet.js +1 -1
- package/dist/SwiperList/components/Slide/Slide.js +2 -2
- package/dist/TasksBanner/TasksBanner.js +108 -0
- package/dist/TasksBanner/index.js +4 -0
- package/dist/TasksBanner/types.js +1 -0
- package/dist/TasksBannerList/TasksBannerList.js +17 -0
- package/dist/TasksBannerList/index.js +4 -0
- package/dist/TasksBannerList/types.js +1 -0
- package/dist/Video/VideoFull/VideoFull.js +2 -4
- package/dist/Video/VideoList/VideoList.js +2 -4
- package/dist/Video/VideoListMini/VideoListMini.js +2 -4
- package/dist/Video/components/VideoPlayer/VideoPlayer.js +1 -1
- package/dist/VideoMainBanner/VideoMainBanner.js +148 -0
- package/dist/VideoMainBanner/index.js +4 -0
- package/dist/VideoMainBanner/types.js +1 -0
- package/dist/assets/TasksBanner.css +1 -0
- package/dist/assets/index.css +1 -1
- package/dist/{cn-eacd4725.js → cn-d8c04b28.js} +1 -0
- package/dist/componentsMap-8af3b722.js +71 -0
- package/dist/const-9041b93a.js +5 -0
- package/dist/data.mock-741c2220.js +1714 -0
- package/dist/{index-fb8c9446.js → index-60dfa873.js} +1 -1
- package/dist/{index-b52a1a9d.js → index-6e0f7db0.js} +3 -7
- package/dist/index-b3d6aed3.js +52 -0
- package/dist/main.js +1 -1
- package/dist/{palette-52b06a82.js → palette-ac8c8a5f.js} +7 -2
- package/dist/swiper-react-c049ea66.js +3158 -0
- package/dist/trash/HeroLargeCards/index.js +1 -1
- package/dist/useScreenSize-c1b64c02.js +19 -0
- package/package.json +1 -1
- package/dist/ComponentContainer-41408843.js +0 -15
- package/dist/index-89dcf24f.js +0 -54
- /package/dist/assets/{SwiperList.css → swiper-react.css} +0 -0
- /package/dist/assets/{Slide.css → swiper.css} +0 -0
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
import { jsxs as n, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as c } from "react";
|
|
3
|
+
import { C as b } from "../ComponentContainer-0fcc2695.js";
|
|
4
|
+
import { c as p } from "../cn-d8c04b28.js";
|
|
5
|
+
import { B as m } from "../index-b3d6aed3.js";
|
|
6
|
+
import { a as f, B as g } from "../const-9041b93a.js";
|
|
7
|
+
import { I as d } from "../index-60dfa873.js";
|
|
8
|
+
const h = ({ data: e, className: l }) => {
|
|
9
|
+
var x;
|
|
10
|
+
return /* @__PURE__ */ n(
|
|
11
|
+
"div",
|
|
12
|
+
{
|
|
13
|
+
className: p(
|
|
14
|
+
"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",
|
|
15
|
+
"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",
|
|
16
|
+
l
|
|
17
|
+
),
|
|
18
|
+
children: [
|
|
19
|
+
/* @__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 }),
|
|
20
|
+
/* @__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: (x = e == null ? void 0 : e.columns) == null ? void 0 : x.map((t) => /* @__PURE__ */ n(
|
|
21
|
+
"div",
|
|
22
|
+
{
|
|
23
|
+
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",
|
|
24
|
+
children: [
|
|
25
|
+
(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 }),
|
|
26
|
+
(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 })
|
|
27
|
+
]
|
|
28
|
+
},
|
|
29
|
+
t == null ? void 0 : t.id
|
|
30
|
+
)) })
|
|
31
|
+
]
|
|
32
|
+
}
|
|
33
|
+
);
|
|
34
|
+
}, u = ({
|
|
35
|
+
data: e,
|
|
36
|
+
title: l,
|
|
37
|
+
description: x,
|
|
38
|
+
image: t,
|
|
39
|
+
className: s
|
|
40
|
+
}) => /* @__PURE__ */ n(
|
|
41
|
+
"div",
|
|
42
|
+
{
|
|
43
|
+
className: p(
|
|
44
|
+
"w-full flex justify-between gap-[20px] bg-[#5f6e7b10] p-[32px] rounded-[20px]",
|
|
45
|
+
"max-tablet:flex-col max-tablet:items-stretch max-tablet:gap-[24px] max-tablet:p-[16px] max-tablet:h-fit",
|
|
46
|
+
s
|
|
47
|
+
),
|
|
48
|
+
children: [
|
|
49
|
+
/* @__PURE__ */ n(
|
|
50
|
+
"div",
|
|
51
|
+
{
|
|
52
|
+
className: p(
|
|
53
|
+
"flex gap-[16px] items-center justify-center basis-[70%]",
|
|
54
|
+
"max-tablet:flex-col max-tablet:items-start max-tablet:gap-[12px] max-tablet:basis-full"
|
|
55
|
+
),
|
|
56
|
+
children: [
|
|
57
|
+
((e == null ? void 0 : e.necessary_icon) || t) && /* @__PURE__ */ r(
|
|
58
|
+
d,
|
|
59
|
+
{
|
|
60
|
+
src: (e == null ? void 0 : e.necessary_icon) ?? t ?? "",
|
|
61
|
+
alt: (e == null ? void 0 : e.necessary_title) ?? l ?? "",
|
|
62
|
+
width: 48,
|
|
63
|
+
height: 48,
|
|
64
|
+
className: "w-[48px] h-[48px] shrink-0",
|
|
65
|
+
imageStyles: "w-full h-full object-contain"
|
|
66
|
+
}
|
|
67
|
+
),
|
|
68
|
+
/* @__PURE__ */ n("div", { className: "box-border max-tablet:h-fit", children: [
|
|
69
|
+
/* @__PURE__ */ r(
|
|
70
|
+
"p",
|
|
71
|
+
{
|
|
72
|
+
className: p(
|
|
73
|
+
"text-[24px] font-bold leading-[32px] m-0",
|
|
74
|
+
"max-tablet:text-[18px] max-tablet:font-semibold max-tablet:leading-[26px]"
|
|
75
|
+
),
|
|
76
|
+
children: (e == null ? void 0 : e.necessary_title) || l
|
|
77
|
+
}
|
|
78
|
+
),
|
|
79
|
+
((e == null ? void 0 : e.necessary_description) || x) && /* @__PURE__ */ r(
|
|
80
|
+
"p",
|
|
81
|
+
{
|
|
82
|
+
className: p(
|
|
83
|
+
"text-[15px] font-normal leading-[24px] m-0",
|
|
84
|
+
"max-tablet:text-[13px] max-tablet:leading-[16px]"
|
|
85
|
+
),
|
|
86
|
+
children: (e == null ? void 0 : e.necessary_description) || x
|
|
87
|
+
}
|
|
88
|
+
)
|
|
89
|
+
] })
|
|
90
|
+
]
|
|
91
|
+
}
|
|
92
|
+
),
|
|
93
|
+
(e == null ? void 0 : e.necessary_button_link) && /* @__PURE__ */ r(
|
|
94
|
+
"a",
|
|
95
|
+
{
|
|
96
|
+
href: e == null ? void 0 : e.necessary_button_link,
|
|
97
|
+
target: "_blank",
|
|
98
|
+
children: /* @__PURE__ */ r(
|
|
99
|
+
m,
|
|
100
|
+
{
|
|
101
|
+
variant: f.Static,
|
|
102
|
+
size: g.L,
|
|
103
|
+
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]",
|
|
104
|
+
children: e == null ? void 0 : e.necessary_button_text
|
|
105
|
+
}
|
|
106
|
+
)
|
|
107
|
+
}
|
|
108
|
+
)
|
|
109
|
+
]
|
|
110
|
+
}
|
|
111
|
+
), w = c(
|
|
112
|
+
({ title: e, table: l, rows: x }) => {
|
|
113
|
+
var t, s, i;
|
|
114
|
+
return /* @__PURE__ */ n(b, { children: [
|
|
115
|
+
e && /* @__PURE__ */ r(
|
|
116
|
+
"p",
|
|
117
|
+
{
|
|
118
|
+
className: p(
|
|
119
|
+
"text-[44px] font-bold leading-[52px] mb-[48px] text-black text-center max-tablet:text-[26px] max-tablet:leading-[32px] max-tablet:mb-[32px]"
|
|
120
|
+
),
|
|
121
|
+
children: e
|
|
122
|
+
}
|
|
123
|
+
),
|
|
124
|
+
/* @__PURE__ */ n("div", { className: "bg-white p-8 rounded-[20px] md:p-6", children: [
|
|
125
|
+
x == null ? void 0 : x.map((a) => {
|
|
126
|
+
var o;
|
|
127
|
+
return /* @__PURE__ */ r(
|
|
128
|
+
h,
|
|
129
|
+
{
|
|
130
|
+
data: a,
|
|
131
|
+
className: p("border-b border-gray-200 last:border-b-0", {
|
|
132
|
+
"border-none": (o = l == null ? void 0 : l.warning) == null ? void 0 : o.warning_title
|
|
133
|
+
})
|
|
134
|
+
},
|
|
135
|
+
a == null ? void 0 : a.id
|
|
136
|
+
);
|
|
137
|
+
}),
|
|
138
|
+
((t = l == null ? void 0 : l.warning) == null ? void 0 : t.warning_title) && /* @__PURE__ */ r(
|
|
139
|
+
u,
|
|
140
|
+
{
|
|
141
|
+
className: "!flex-auto [&_p:first-child]:text-[16px] [&_p:first-child]:leading-[24px] [&_p:last-child]:text-[15px] [&_p:last-child]:leading-[22px]",
|
|
142
|
+
title: (s = l == null ? void 0 : l.warning) == null ? void 0 : s.warning_title,
|
|
143
|
+
description: (i = l == null ? void 0 : l.warning) == null ? void 0 : i.warning_description
|
|
144
|
+
}
|
|
145
|
+
)
|
|
146
|
+
] })
|
|
147
|
+
] });
|
|
148
|
+
}
|
|
149
|
+
);
|
|
150
|
+
w.displayName = "CardInfoTable";
|
|
151
|
+
export {
|
|
152
|
+
w as CardInfoTable
|
|
153
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { jsxs as i, jsx as l } from "react/jsx-runtime";
|
|
2
|
-
import { I as s } from "../../index-
|
|
3
|
-
import { c as x } from "../../cn-
|
|
4
|
-
const t = [
|
|
5
|
-
"data"
|
|
6
|
-
], c = ({ data: e }) => {
|
|
2
|
+
import { I as s } from "../../index-60dfa873.js";
|
|
3
|
+
import { c as x } from "../../cn-d8c04b28.js";
|
|
4
|
+
const t = ["data"], c = ({ data: e }) => {
|
|
7
5
|
const p = (e == null ? void 0 : e.variant) === "large" ? "h-[364px]" : "h-[264px]", r = (e == null ? void 0 : e.variant) === "small" ? "w-[364px]" : "w-[264px]";
|
|
8
6
|
return /* @__PURE__ */ i(
|
|
9
7
|
"div",
|
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
import { jsxs as t, jsx as l } from "react/jsx-runtime";
|
|
2
|
-
import { I as p } from "../../index-
|
|
3
|
-
import { c as x } from "../../cn-
|
|
4
|
-
const r = [
|
|
5
|
-
"data",
|
|
6
|
-
"cardStyle",
|
|
7
|
-
"largeCards"
|
|
8
|
-
], c = ({ data: e, cardStyle: o }) => /* @__PURE__ */ t(
|
|
2
|
+
import { I as p } from "../../index-60dfa873.js";
|
|
3
|
+
import { c as x } from "../../cn-d8c04b28.js";
|
|
4
|
+
const r = ["data", "cardStyle", "largeCards"], c = ({ data: e, cardStyle: o }) => /* @__PURE__ */ t(
|
|
9
5
|
"div",
|
|
10
6
|
{
|
|
11
7
|
className: x(
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import { jsxs as n, jsx as
|
|
1
|
+
import { jsxs as n, jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import { HtmlContent as s } from "../../HtmlContent/HtmlContent.js";
|
|
3
|
-
import { B as p
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
var o;
|
|
3
|
+
import { B as p } from "../../index-b3d6aed3.js";
|
|
4
|
+
import { a as i } from "../../const-9041b93a.js";
|
|
5
|
+
import { I as x } from "../../index-60dfa873.js";
|
|
6
|
+
const c = ["data"], t = ({ data: e }) => {
|
|
7
|
+
var l;
|
|
9
8
|
return /* @__PURE__ */ n("div", { className: "rounded-[20px] overflow-hidden", children: [
|
|
10
|
-
/* @__PURE__ */
|
|
9
|
+
/* @__PURE__ */ o(
|
|
11
10
|
x,
|
|
12
11
|
{
|
|
13
12
|
src: e == null ? void 0 : e.image,
|
|
@@ -16,20 +15,20 @@ const c = [
|
|
|
16
15
|
}
|
|
17
16
|
),
|
|
18
17
|
/* @__PURE__ */ n("div", { className: "flex flex-col gap-[24px] bg-white p-[32px]", children: [
|
|
19
|
-
/* @__PURE__ */
|
|
20
|
-
/* @__PURE__ */
|
|
18
|
+
/* @__PURE__ */ o("p", { className: "text-[24px] leading-[32px] font-semibold", children: e == null ? void 0 : e.title }),
|
|
19
|
+
/* @__PURE__ */ o(
|
|
21
20
|
s,
|
|
22
21
|
{
|
|
23
22
|
data: e == null ? void 0 : e.description,
|
|
24
23
|
className: "text-graySoft text-[15px] leading-[22px]"
|
|
25
24
|
}
|
|
26
25
|
),
|
|
27
|
-
/* @__PURE__ */
|
|
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(
|
|
28
27
|
"a",
|
|
29
28
|
{
|
|
30
|
-
href: (
|
|
29
|
+
href: (r == null ? void 0 : r.link) || "#",
|
|
31
30
|
target: "_blank",
|
|
32
|
-
children: /* @__PURE__ */
|
|
31
|
+
children: /* @__PURE__ */ o(p, { variant: i.Grey, children: r == null ? void 0 : r.text })
|
|
33
32
|
}
|
|
34
33
|
)) })
|
|
35
34
|
] })
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import "../../index-
|
|
3
|
-
import "../../cn-
|
|
4
|
-
import { F as a } from "../../index-
|
|
2
|
+
import "../../index-60dfa873.js";
|
|
3
|
+
import "../../cn-d8c04b28.js";
|
|
4
|
+
import { F as a } from "../../index-6e0f7db0.js";
|
|
5
5
|
export {
|
|
6
6
|
a as FeaturesCard
|
|
7
7
|
};
|
|
@@ -1,53 +1,49 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as t, jsxs as r } from "react/jsx-runtime";
|
|
2
2
|
import { WarningCardVariant as o } from "./model.js";
|
|
3
3
|
import { I as s } from "../../Icon-70ea6cb8.js";
|
|
4
|
-
import { B as l
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
"description",
|
|
10
|
-
"button_text",
|
|
11
|
-
"variant"
|
|
12
|
-
], x = ({
|
|
4
|
+
import { B as l } from "../../index-b3d6aed3.js";
|
|
5
|
+
import { a as c } from "../../const-9041b93a.js";
|
|
6
|
+
import { C as d } from "../../ComponentContainer-0fcc2695.js";
|
|
7
|
+
import { c as m } from "../../cn-d8c04b28.js";
|
|
8
|
+
const p = ["title", "description", "button_text", "variant"], x = ({
|
|
13
9
|
title: n,
|
|
14
10
|
description: i,
|
|
15
11
|
button_text: a,
|
|
16
|
-
variant:
|
|
17
|
-
}) => /* @__PURE__ */
|
|
12
|
+
variant: e
|
|
13
|
+
}) => /* @__PURE__ */ t(d, { children: /* @__PURE__ */ t(
|
|
18
14
|
"div",
|
|
19
15
|
{
|
|
20
16
|
className: "rounded-[24px] p-6",
|
|
21
|
-
style: { background: o[
|
|
17
|
+
style: { background: o[e].background },
|
|
22
18
|
children: /* @__PURE__ */ r("div", { className: "flex gap-4 items-center justify-between", children: [
|
|
23
19
|
/* @__PURE__ */ r("div", { className: "flex gap-4 items-center", children: [
|
|
24
|
-
/* @__PURE__ */
|
|
20
|
+
/* @__PURE__ */ t(
|
|
25
21
|
s,
|
|
26
22
|
{
|
|
27
|
-
name: o[
|
|
23
|
+
name: o[e].icon,
|
|
28
24
|
size: 40
|
|
29
25
|
}
|
|
30
26
|
),
|
|
31
27
|
/* @__PURE__ */ r("div", { className: "flex flex-col gap-1", children: [
|
|
32
|
-
/* @__PURE__ */
|
|
28
|
+
/* @__PURE__ */ t(
|
|
33
29
|
"p",
|
|
34
30
|
{
|
|
35
31
|
className: m("text-[24px] leading-8 font-bold"),
|
|
36
|
-
style: { color: o[
|
|
32
|
+
style: { color: o[e].textColor },
|
|
37
33
|
children: n
|
|
38
34
|
}
|
|
39
35
|
),
|
|
40
|
-
/* @__PURE__ */
|
|
36
|
+
/* @__PURE__ */ t(
|
|
41
37
|
"p",
|
|
42
38
|
{
|
|
43
39
|
className: "text-[16px] leading-6",
|
|
44
|
-
style: { color: o[
|
|
40
|
+
style: { color: o[e].textColor },
|
|
45
41
|
children: i
|
|
46
42
|
}
|
|
47
43
|
)
|
|
48
44
|
] })
|
|
49
45
|
] }),
|
|
50
|
-
/* @__PURE__ */
|
|
46
|
+
/* @__PURE__ */ t(l, { variant: c.Static, children: a })
|
|
51
47
|
] })
|
|
52
48
|
}
|
|
53
49
|
) });
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as a } from "../../palette-
|
|
1
|
+
import { p as a } from "../../palette-ac8c8a5f.js";
|
|
2
2
|
const g = {
|
|
3
3
|
orange: {
|
|
4
4
|
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)",
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { jsx as l } from "react/jsx-runtime";
|
|
2
|
+
import { c as o } from "./cn-d8c04b28.js";
|
|
3
|
+
const r = ({ children: a, className: t, style: m }) => /* @__PURE__ */ l(
|
|
4
|
+
"section",
|
|
5
|
+
{
|
|
6
|
+
style: m,
|
|
7
|
+
className: o(
|
|
8
|
+
"w-[1232px] max-tablet:w-full mx-auto px-4 relative max-tablet:max-w-[960px] md:max-w-full lg:max-w-full",
|
|
9
|
+
t
|
|
10
|
+
),
|
|
11
|
+
children: a
|
|
12
|
+
}
|
|
13
|
+
);
|
|
14
|
+
export {
|
|
15
|
+
r as C
|
|
16
|
+
};
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { jsx as t, jsxs as l } from "react/jsx-runtime";
|
|
2
2
|
import { ContentCard as r } from "../Cards/ContentCard/ContentCard.js";
|
|
3
|
-
import { C as i } from "../ComponentContainer-
|
|
4
|
-
const s = [
|
|
5
|
-
"data"
|
|
6
|
-
], x = ({ data: e }) => {
|
|
3
|
+
import { C as i } from "../ComponentContainer-0fcc2695.js";
|
|
4
|
+
const s = ["data"], x = ({ data: e }) => {
|
|
7
5
|
var n;
|
|
8
6
|
return /* @__PURE__ */ t(i, { children: /* @__PURE__ */ l("div", { className: "w-full flex flex-col items-center justify-center", children: [
|
|
9
7
|
(e == null ? void 0 : e.title) && /* @__PURE__ */ t(
|
|
@@ -1,41 +1,44 @@
|
|
|
1
|
-
import { jsx as e, jsxs as
|
|
2
|
-
import { I as
|
|
3
|
-
import { p as
|
|
4
|
-
import { B as n } from "../../../index-
|
|
5
|
-
import { C as s } from "../../../ComponentContainer-
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
import { jsx as e, jsxs as o } from "react/jsx-runtime";
|
|
2
|
+
import { I as a } from "../../../Icon-70ea6cb8.js";
|
|
3
|
+
import { p as l } from "../../../palette-ac8c8a5f.js";
|
|
4
|
+
import { B as n } from "../../../index-b3d6aed3.js";
|
|
5
|
+
import { C as s } from "../../../ComponentContainer-0fcc2695.js";
|
|
6
|
+
const c = ["data"], d = ({
|
|
7
|
+
id: m,
|
|
8
|
+
title: r,
|
|
9
|
+
text: t,
|
|
10
|
+
link: i
|
|
11
|
+
}) => /* @__PURE__ */ e(s, { children: /* @__PURE__ */ o("div", { className: "p-[48px] bg-white rounded-[20px] flex justify-between gap-[64px] max-tablet:flex-col-reverse max-tablet:gap-8", children: [
|
|
12
|
+
/* @__PURE__ */ e("div", { className: "flex flex-col ", children: /* @__PURE__ */ o("div", { children: [
|
|
13
|
+
/* @__PURE__ */ e("p", { className: "text-[32px] leading-10 font-bold mb-4", children: r }),
|
|
14
|
+
/* @__PURE__ */ e("p", { className: "text-[16px] leading-6", children: t }),
|
|
15
|
+
/* @__PURE__ */ e("a", { href: i, children: /* @__PURE__ */ e(
|
|
13
16
|
n,
|
|
14
17
|
{
|
|
15
18
|
iconRight: /* @__PURE__ */ e(
|
|
16
|
-
|
|
19
|
+
a,
|
|
17
20
|
{
|
|
18
21
|
name: "download",
|
|
19
22
|
size: 20,
|
|
20
|
-
color:
|
|
23
|
+
color: l.blackBG
|
|
21
24
|
}
|
|
22
25
|
),
|
|
23
26
|
className: "mt-8",
|
|
24
27
|
children: "Скачать"
|
|
25
28
|
}
|
|
26
|
-
)
|
|
29
|
+
) })
|
|
27
30
|
] }) }),
|
|
28
31
|
/* @__PURE__ */ e(
|
|
29
|
-
|
|
32
|
+
a,
|
|
30
33
|
{
|
|
31
34
|
className: "flex-shrink-0",
|
|
32
35
|
name: "file",
|
|
33
|
-
color:
|
|
36
|
+
color: l.greenLight,
|
|
34
37
|
size: 82
|
|
35
38
|
}
|
|
36
39
|
)
|
|
37
40
|
] }) });
|
|
38
|
-
|
|
41
|
+
d.propsToEdit = c;
|
|
39
42
|
export {
|
|
40
|
-
|
|
43
|
+
d as DownloadFileBanner
|
|
41
44
|
};
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { jsxs as l, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { I as h } from "../../../Icon-70ea6cb8.js";
|
|
3
|
+
import { p as r } from "../../../palette-ac8c8a5f.js";
|
|
4
|
+
import { B as u } from "../../../index-b3d6aed3.js";
|
|
5
|
+
import { a as w } from "../../../const-9041b93a.js";
|
|
6
|
+
import { C as j } from "../../../ComponentContainer-0fcc2695.js";
|
|
7
|
+
import { I as y } from "../../../index-60dfa873.js";
|
|
8
|
+
import { c as B } from "../../../cn-d8c04b28.js";
|
|
9
|
+
import { u as N } from "../../../useScreenSize-c1b64c02.js";
|
|
10
|
+
const W = ({
|
|
11
|
+
title: m,
|
|
12
|
+
description: s,
|
|
13
|
+
file: n,
|
|
14
|
+
icon: p,
|
|
15
|
+
button_text: b,
|
|
16
|
+
button_link: c,
|
|
17
|
+
variant: e = "big",
|
|
18
|
+
buttonVariant: x,
|
|
19
|
+
className: f = "",
|
|
20
|
+
isDark: a,
|
|
21
|
+
linkClassName: g = ""
|
|
22
|
+
}) => {
|
|
23
|
+
const i = N(960), o = e === "big" ? i ? 106 : 343 : i ? 106 : 64, d = x === w.Brand;
|
|
24
|
+
return /* @__PURE__ */ l(
|
|
25
|
+
j,
|
|
26
|
+
{
|
|
27
|
+
className: `flex justify-between items-center rounded-[20px]
|
|
28
|
+
${e === "big" ? "p-[48px]" : "p-[32px] gap-[32px]"}
|
|
29
|
+
${a ? "bg-black7" : "bg-white"}
|
|
30
|
+
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]
|
|
31
|
+
max-tablet:relative w-[calc(100%-239px)]
|
|
32
|
+
${f}`,
|
|
33
|
+
children: [
|
|
34
|
+
/* @__PURE__ */ l("div", { className: "flex flex-col h-full w-full", children: [
|
|
35
|
+
/* @__PURE__ */ t(
|
|
36
|
+
"p",
|
|
37
|
+
{
|
|
38
|
+
className: `font-[700]
|
|
39
|
+
${a ? "text-[#f4f6f7]" : "text-[#0e0f11]"}
|
|
40
|
+
${e === "big" ? "text-[32px] leading-[40px]" : "text-[24px] leading-[32px]"}
|
|
41
|
+
max-tablet:text-[24px] max-tablet:leading-[28px]
|
|
42
|
+
mb-[16px] max-tablet:mt-[24px] max-tablet:mb-[12px] max-tablet:text-center`,
|
|
43
|
+
children: m
|
|
44
|
+
}
|
|
45
|
+
),
|
|
46
|
+
/* @__PURE__ */ t(
|
|
47
|
+
"p",
|
|
48
|
+
{
|
|
49
|
+
className: `font-[400] text-[16px] leading-[24px]
|
|
50
|
+
${a ? "text-[#f4f6f7]" : "text-[#40474f]"}
|
|
51
|
+
mb-[32px] max-tablet:mb-[24px] max-tablet:text-center`,
|
|
52
|
+
children: s
|
|
53
|
+
}
|
|
54
|
+
),
|
|
55
|
+
/* @__PURE__ */ t(
|
|
56
|
+
"a",
|
|
57
|
+
{
|
|
58
|
+
className: `mt-auto ${g} w-fit max-tablet:w-full`,
|
|
59
|
+
href: n || c || "#",
|
|
60
|
+
download: !0,
|
|
61
|
+
target: "_blank",
|
|
62
|
+
children: /* @__PURE__ */ l(
|
|
63
|
+
u,
|
|
64
|
+
{
|
|
65
|
+
className: "w-fit max-tablet:w-full flex items-center justify-center",
|
|
66
|
+
variant: x,
|
|
67
|
+
children: [
|
|
68
|
+
b,
|
|
69
|
+
/* @__PURE__ */ t(
|
|
70
|
+
h,
|
|
71
|
+
{
|
|
72
|
+
name: "download",
|
|
73
|
+
size: 20,
|
|
74
|
+
color: d ? r.white : r.blackBG
|
|
75
|
+
}
|
|
76
|
+
)
|
|
77
|
+
]
|
|
78
|
+
}
|
|
79
|
+
)
|
|
80
|
+
}
|
|
81
|
+
)
|
|
82
|
+
] }),
|
|
83
|
+
/* @__PURE__ */ t(
|
|
84
|
+
y,
|
|
85
|
+
{
|
|
86
|
+
src: p,
|
|
87
|
+
alt: m,
|
|
88
|
+
width: o,
|
|
89
|
+
height: o,
|
|
90
|
+
className: B(
|
|
91
|
+
"absolute top-1/2 right-6 w-[343px] !h-auto -translate-y-1/2 max-tablet:relative max-tablet:!h-[106px]",
|
|
92
|
+
"max-tablet:top-auto max-tablet:right-auto max-tablet:-translate-y-0 max-tablet:order-[-1] max-tablet:mx-auto"
|
|
93
|
+
),
|
|
94
|
+
imageStyles: "object-contain object-bottom max-tablet:object-center"
|
|
95
|
+
}
|
|
96
|
+
)
|
|
97
|
+
]
|
|
98
|
+
}
|
|
99
|
+
);
|
|
100
|
+
};
|
|
101
|
+
export {
|
|
102
|
+
W as DownloadFileBright
|
|
103
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -1,22 +1,21 @@
|
|
|
1
|
-
import { jsx as e, jsxs as
|
|
2
|
-
import { I as
|
|
3
|
-
import { p as
|
|
4
|
-
import { B as n
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
/* @__PURE__ */ o("div", { className: "flex items-center gap-4 max-tablet:flex-col max-tablet:items-start", children: [
|
|
1
|
+
import { jsx as e, jsxs as a } from "react/jsx-runtime";
|
|
2
|
+
import { I as r } from "../../../Icon-70ea6cb8.js";
|
|
3
|
+
import { p as t } from "../../../palette-ac8c8a5f.js";
|
|
4
|
+
import { B as n } from "../../../index-b3d6aed3.js";
|
|
5
|
+
import { a as s } from "../../../const-9041b93a.js";
|
|
6
|
+
import { C as i } from "../../../ComponentContainer-0fcc2695.js";
|
|
7
|
+
const p = ["data"], c = ({ data: o }) => /* @__PURE__ */ e(i, { children: /* @__PURE__ */ e("div", { className: "flex flex-col gap-2", children: o == null ? void 0 : o.map((l) => /* @__PURE__ */ a("div", { className: "px-[48px] py-8 bg-white rounded-[20px] flex justify-between items-center gap-[64px]", children: [
|
|
8
|
+
/* @__PURE__ */ a("div", { className: "flex items-center gap-4 max-tablet:flex-col max-tablet:items-start", children: [
|
|
10
9
|
/* @__PURE__ */ e(
|
|
11
|
-
|
|
10
|
+
r,
|
|
12
11
|
{
|
|
13
12
|
className: "flex-shrink-0",
|
|
14
13
|
name: "file",
|
|
15
|
-
color:
|
|
14
|
+
color: t.greenLight,
|
|
16
15
|
size: 44
|
|
17
16
|
}
|
|
18
17
|
),
|
|
19
|
-
/* @__PURE__ */
|
|
18
|
+
/* @__PURE__ */ a("div", { className: "flex flex-col max-tablet:gap-2 ", children: [
|
|
20
19
|
/* @__PURE__ */ e("p", { className: "text-[20px] leading-7 font-bold", children: l == null ? void 0 : l.title }),
|
|
21
20
|
/* @__PURE__ */ e("p", { className: "text-[16px] leading-6", children: l == null ? void 0 : l.text })
|
|
22
21
|
] })
|
|
@@ -26,17 +25,17 @@ const c = [
|
|
|
26
25
|
{
|
|
27
26
|
variant: s.Secondary,
|
|
28
27
|
iconRight: /* @__PURE__ */ e(
|
|
29
|
-
|
|
28
|
+
r,
|
|
30
29
|
{
|
|
31
30
|
name: "download",
|
|
32
31
|
size: 20,
|
|
33
|
-
color:
|
|
32
|
+
color: t.blackBG
|
|
34
33
|
}
|
|
35
34
|
)
|
|
36
35
|
}
|
|
37
36
|
)
|
|
38
37
|
] })) }) });
|
|
39
|
-
|
|
38
|
+
c.propsToEdit = p;
|
|
40
39
|
export {
|
|
41
|
-
|
|
40
|
+
c as DownloadFileFull
|
|
42
41
|
};
|
|
@@ -1,22 +1,21 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as r, jsxs as a } from "react/jsx-runtime";
|
|
2
2
|
import { I as n } from "../../../Icon-70ea6cb8.js";
|
|
3
|
-
import { p as e } from "../../../palette-
|
|
4
|
-
import { B as s
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
], p = ({ data: r }) => /* @__PURE__ */ l(i, { children: /* @__PURE__ */ l("div", { className: "grid grid-cols-2 gap-6 max-tablet:grid-cols-1", children: r == null ? void 0 : r.map((o) => /* @__PURE__ */ a(
|
|
3
|
+
import { p as e } from "../../../palette-ac8c8a5f.js";
|
|
4
|
+
import { B as s } from "../../../index-b3d6aed3.js";
|
|
5
|
+
import { a as c } from "../../../const-9041b93a.js";
|
|
6
|
+
import { C as i } from "../../../ComponentContainer-0fcc2695.js";
|
|
7
|
+
const p = ["data"], d = ({ data: l }) => /* @__PURE__ */ r(i, { children: /* @__PURE__ */ r("div", { className: "grid grid-cols-2 gap-6 max-tablet:grid-cols-1", children: l == null ? void 0 : l.map((o) => /* @__PURE__ */ a(
|
|
9
8
|
"div",
|
|
10
9
|
{
|
|
11
10
|
className: "p-[32px] bg-white rounded-[20px] flex justify-between gap-[40px]",
|
|
12
11
|
children: [
|
|
13
|
-
/* @__PURE__ */
|
|
14
|
-
/* @__PURE__ */
|
|
15
|
-
/* @__PURE__ */
|
|
16
|
-
/* @__PURE__ */
|
|
12
|
+
/* @__PURE__ */ r("div", { className: "flex flex-col ", children: /* @__PURE__ */ a("div", { children: [
|
|
13
|
+
/* @__PURE__ */ r("p", { className: "text-[24px] leading-8 font-bold mb-4", children: o == null ? void 0 : o.title }),
|
|
14
|
+
/* @__PURE__ */ r("p", { className: "text-[16px] leading-6", children: o == null ? void 0 : o.text }),
|
|
15
|
+
/* @__PURE__ */ r(
|
|
17
16
|
s,
|
|
18
17
|
{
|
|
19
|
-
iconRight: /* @__PURE__ */
|
|
18
|
+
iconRight: /* @__PURE__ */ r(
|
|
20
19
|
n,
|
|
21
20
|
{
|
|
22
21
|
name: "download",
|
|
@@ -30,7 +29,7 @@ const d = [
|
|
|
30
29
|
}
|
|
31
30
|
)
|
|
32
31
|
] }) }),
|
|
33
|
-
/* @__PURE__ */
|
|
32
|
+
/* @__PURE__ */ r(
|
|
34
33
|
n,
|
|
35
34
|
{
|
|
36
35
|
className: "flex-shrink-0",
|
|
@@ -43,7 +42,7 @@ const d = [
|
|
|
43
42
|
},
|
|
44
43
|
o == null ? void 0 : o.id
|
|
45
44
|
)) }) });
|
|
46
|
-
|
|
45
|
+
d.propsToEdit = p;
|
|
47
46
|
export {
|
|
48
|
-
|
|
47
|
+
d as DownloadFileHalf
|
|
49
48
|
};
|