md-components-mdigial-azamat 0.0.1 → 0.0.2
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/Banner/Banner.js +146 -0
- package/dist/Banner/index.js +4 -0
- package/dist/Banner/model.js +8 -0
- package/dist/Banner/types.js +4 -0
- package/dist/BannerAndText/index.js +36 -0
- package/dist/CardIconList/CardIconList.js +72 -0
- package/dist/CardIconList/index.js +4 -0
- package/dist/CardImageList/CardImageList.js +50 -0
- package/dist/CardImageList/index.js +4 -0
- package/dist/Cards/CardImage/CardImage.js +51 -0
- package/dist/Cards/CardImage/index.js +4 -0
- package/dist/Cards/ColoredCard/index.js +47 -0
- package/dist/Cards/ContentCard/ContentCard.js +38 -0
- package/dist/Cards/ContentCard/index.js +4 -0
- package/dist/Cards/FeaturesCard/index.js +7 -0
- package/dist/Cards/WarningCard/WarningCard.js +51 -0
- package/dist/Cards/WarningCard/index.js +4 -0
- package/dist/Cards/WarningCard/model.js +24 -0
- package/dist/ComponentContainer-41408843.js +15 -0
- package/dist/ContentCardList/ContentCardList.js +26 -0
- package/dist/ContentCardList/index.js +4 -0
- package/dist/DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js +38 -0
- package/dist/DownloadFile/components/DownloadFileBanner/index.js +4 -0
- package/dist/DownloadFile/components/DownloadFileFull/DownloadFileFull.js +39 -0
- package/dist/DownloadFile/components/DownloadFileFull/index.js +4 -0
- package/dist/DownloadFile/components/DownloadFileHalf/DownloadFileHalf.js +46 -0
- package/dist/DownloadFile/components/DownloadFileHalf/index.js +4 -0
- package/dist/DownloadFile/components/DownloadFileMini/DownloadFileMini.js +45 -0
- package/dist/DownloadFile/components/DownloadFileMini/index.js +4 -0
- package/dist/Faq/Faq.js +35 -0
- package/dist/Faq/components/Collapse/Collapse.js +42 -0
- package/dist/Faq/components/Collapse/index.js +4 -0
- package/dist/Faq/components/FeedbackForm/FeedbackForm.js +1033 -0
- package/dist/Faq/components/FeedbackForm/index.js +4 -0
- package/dist/Faq/components/PlusMinusIcon/PlusMinusIcon.js +62 -0
- package/dist/Faq/components/PlusMinusIcon/index.js +4 -0
- package/dist/Faq/index.js +4 -0
- package/dist/HeroPossibilityBanner/index.js +26 -0
- package/dist/HtmlContent/HtmlContent.js +12 -0
- package/dist/HtmlContent/index.js +4 -0
- package/dist/Icon-70ea6cb8.js +187 -0
- package/dist/InstructionList/InstructionList.js +30 -0
- package/dist/InstructionList/components/InstructionCard/InstructionCard.js +67 -0
- package/dist/InstructionList/components/InstructionCard/index.js +4 -0
- package/dist/InstructionList/components/InstructionModal/InstructionModal.js +40 -0
- package/dist/InstructionList/components/InstructionModal/index.js +4 -0
- package/dist/InstructionList/index.js +4 -0
- package/dist/MainBanner/MainBanner.js +70 -0
- package/dist/MainBanner/index.js +4 -0
- package/dist/MultiCards/index.js +48 -0
- package/dist/Partners/Partners.js +31 -0
- package/dist/Partners/index.js +4 -0
- package/dist/PartnersColors/PartnersColors.js +37 -0
- package/dist/PartnersColors/components/PartnerCard/PartnerCard.js +30 -0
- package/dist/PartnersColors/components/PartnerCard/const.js +19 -0
- package/dist/PartnersColors/components/PartnerCard/index.js +4 -0
- package/dist/PartnersColors/components/PartnerTab/PartnerTab.js +37 -0
- package/dist/PartnersColors/components/PartnerTab/index.js +4 -0
- package/dist/PartnersColors/index.js +4 -0
- package/dist/PreviewList/PreviewList.js +26 -0
- package/dist/PreviewList/components/PreviewCard/PreviewCard.js +32 -0
- package/dist/PreviewList/components/PreviewCard/index.js +4 -0
- package/dist/PreviewList/index.js +4 -0
- package/dist/Segments/Segments.js +34 -0
- package/dist/Segments/index.js +4 -0
- package/dist/Stepper/Stepper.js +41 -0
- package/dist/Stepper/index.js +4 -0
- package/dist/Video/VideoFull/VideoFull.js +13 -0
- package/dist/Video/VideoFull/index.js +4 -0
- package/dist/Video/VideoList/VideoList.js +23 -0
- package/dist/Video/VideoList/index.js +4 -0
- package/dist/Video/VideoListMini/VideoListMini.js +23 -0
- package/dist/Video/VideoListMini/index.js +4 -0
- package/dist/Video/components/VideoPlayer/VideoPlayer.js +1339 -0
- package/dist/Video/components/VideoPlayer/index.js +4 -0
- package/dist/Video/index.js +8 -0
- package/dist/cn-eacd4725.js +2749 -0
- package/dist/index-89dcf24f.js +54 -0
- package/dist/index-cd468670.js +51 -0
- package/dist/index-fb8c9446.js +46 -0
- package/dist/main.js +21 -0
- package/dist/palette-52b06a82.js +26 -0
- package/dist/trash/HeroLargeCards/index.js +26 -0
- package/package.json +6 -3
- package/dist/assets/minimise.svg +0 -10
- package/dist/components/Banner/Banner.js +0 -1
- package/dist/components/Banner/index.js +0 -1
- package/dist/components/Banner/model.js +0 -1
- package/dist/components/BannerAndText/index.js +0 -1
- package/dist/components/CardIconList/CardIconList.js +0 -1
- package/dist/components/CardIconList/index.js +0 -1
- package/dist/components/CardImageList/CardImageList.js +0 -1
- package/dist/components/CardImageList/index.js +0 -1
- package/dist/components/Cards/CardImage/CardImage.js +0 -1
- package/dist/components/Cards/CardImage/index.js +0 -1
- package/dist/components/Cards/ColoredCard/index.js +0 -1
- package/dist/components/Cards/ContentCard/ContentCard.js +0 -1
- package/dist/components/Cards/ContentCard/index.js +0 -1
- package/dist/components/Cards/FeaturesCard/index.js +0 -1
- package/dist/components/Cards/WarningCard/WarningCard.js +0 -1
- package/dist/components/Cards/WarningCard/index.js +0 -1
- package/dist/components/Cards/WarningCard/model.js +0 -1
- package/dist/components/ContentCardList/ContentCardList.js +0 -1
- package/dist/components/ContentCardList/index.js +0 -1
- package/dist/components/DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js +0 -1
- package/dist/components/DownloadFile/components/DownloadFileBanner/index.js +0 -1
- package/dist/components/DownloadFile/components/DownloadFileFull/DownloadFileFull.js +0 -1
- package/dist/components/DownloadFile/components/DownloadFileFull/index.js +0 -1
- package/dist/components/DownloadFile/components/DownloadFileHalf/DownloadFileHalf.js +0 -1
- package/dist/components/DownloadFile/components/DownloadFileHalf/index.js +0 -1
- package/dist/components/DownloadFile/components/DownloadFileMini/DownloadFileMini.js +0 -1
- package/dist/components/DownloadFile/components/DownloadFileMini/index.js +0 -1
- package/dist/components/Faq/Faq.js +0 -1
- package/dist/components/Faq/components/Collapse/Collapse.js +0 -1
- package/dist/components/Faq/components/Collapse/index.js +0 -1
- package/dist/components/Faq/components/FeedbackForm/FeedbackForm.js +0 -1
- package/dist/components/Faq/components/FeedbackForm/index.js +0 -1
- package/dist/components/Faq/components/PlusMinusIcon/PlusMinusIcon.js +0 -1
- package/dist/components/Faq/components/PlusMinusIcon/index.js +0 -1
- package/dist/components/Faq/index.js +0 -1
- package/dist/components/HeroPossibilityBanner/index.js +0 -1
- package/dist/components/HtmlContent/HtmlContent.js +0 -1
- package/dist/components/HtmlContent/index.js +0 -1
- package/dist/components/InstructionList/InstructionList.js +0 -1
- package/dist/components/InstructionList/components/InstructionCard/InstructionCard.js +0 -1
- package/dist/components/InstructionList/components/InstructionCard/index.js +0 -1
- package/dist/components/InstructionList/components/InstructionModal/InstructionModal.js +0 -1
- package/dist/components/InstructionList/components/InstructionModal/index.js +0 -1
- package/dist/components/InstructionList/index.js +0 -1
- package/dist/components/MainBanner/MainBanner.js +0 -1
- package/dist/components/MainBanner/index.js +0 -1
- package/dist/components/MultiCards/index.js +0 -1
- package/dist/components/Partners/Partners.js +0 -1
- package/dist/components/Partners/index.js +0 -1
- package/dist/components/PartnersColors/PartnersColors.js +0 -1
- package/dist/components/PartnersColors/components/PartnerCard/PartnerCard.js +0 -1
- package/dist/components/PartnersColors/components/PartnerCard/const.js +0 -1
- package/dist/components/PartnersColors/components/PartnerCard/index.js +0 -1
- package/dist/components/PartnersColors/components/PartnerTab/PartnerTab.js +0 -1
- package/dist/components/PartnersColors/components/PartnerTab/index.js +0 -1
- package/dist/components/PartnersColors/index.js +0 -1
- package/dist/components/PreviewList/PreviewList.js +0 -1
- package/dist/components/PreviewList/components/PreviewCard/PreviewCard.js +0 -1
- package/dist/components/PreviewList/components/PreviewCard/index.js +0 -1
- package/dist/components/PreviewList/index.js +0 -1
- package/dist/components/Segments/Segments.js +0 -1
- package/dist/components/Segments/index.js +0 -1
- package/dist/components/Stepper/Stepper.js +0 -1
- package/dist/components/Stepper/index.js +0 -1
- package/dist/components/Video/VideoFull/VideoFull.js +0 -1
- package/dist/components/Video/VideoFull/index.js +0 -1
- package/dist/components/Video/VideoList/VideoList.js +0 -1
- package/dist/components/Video/VideoList/index.js +0 -1
- package/dist/components/Video/VideoListMini/VideoListMini.js +0 -1
- package/dist/components/Video/VideoListMini/index.js +0 -1
- package/dist/components/Video/components/VideoPlayer/VideoPlayer.js +0 -1
- package/dist/components/Video/components/VideoPlayer/index.js +0 -1
- package/dist/components/Video/index.js +0 -1
- package/dist/components/Video/types.js +0 -1
- package/dist/components/index.js +0 -1
- package/dist/components/trash/HeroLargeCards/index.js +0 -1
- /package/dist/{components/Banner → CardIconList}/types.js +0 -0
- /package/dist/{components/CardIconList → CardImageList}/types.js +0 -0
- /package/dist/{components/CardImageList → Cards/CardImage}/types.js +0 -0
- /package/dist/{components/Cards/CardImage → Cards/ColoredCard}/types.js +0 -0
- /package/dist/{components/Cards/ColoredCard → Cards/ContentCard}/types.js +0 -0
- /package/dist/{components/Cards/ContentCard → Cards/FeaturesCard}/types.js +0 -0
- /package/dist/{components/Cards/FeaturesCard → Cards/WarningCard}/types.js +0 -0
- /package/dist/{components/Cards/WarningCard → ContentCardList}/types.js +0 -0
- /package/dist/{components/ContentCardList → DownloadFile}/types.js +0 -0
- /package/dist/{components/DownloadFile → Faq/components/Collapse}/types.js +0 -0
- /package/dist/{components/Faq/components/Collapse → Faq/components/FeedbackForm}/types.js +0 -0
- /package/dist/{components/Faq/components/FeedbackForm → Faq}/types.js +0 -0
- /package/dist/{components/Faq → InstructionList}/types.js +0 -0
- /package/dist/{components/InstructionList → MainBanner}/types.js +0 -0
- /package/dist/{components/MainBanner → MultiCards}/types.js +0 -0
- /package/dist/{components/MultiCards → Partners}/types.js +0 -0
- /package/dist/{components/Partners → PartnersColors}/types.js +0 -0
- /package/dist/{components/PartnersColors → PreviewList/components/PreviewCard}/types.js +0 -0
- /package/dist/{components/PreviewList/components/PreviewCard → Segments}/types.js +0 -0
- /package/dist/{components/Segments → Stepper}/types.js +0 -0
- /package/dist/{components/Stepper → Video}/types.js +0 -0
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
import { jsx as t, jsxs as s } from "react/jsx-runtime";
|
|
2
|
+
import { BannerVariant as h } from "./types.js";
|
|
3
|
+
import { B as w } from "../index-89dcf24f.js";
|
|
4
|
+
import { C as y } from "../ComponentContainer-41408843.js";
|
|
5
|
+
import { I as g } from "../index-fb8c9446.js";
|
|
6
|
+
import { c as a } from "../cn-eacd4725.js";
|
|
7
|
+
import { useState as z, useEffect as j } from "react";
|
|
8
|
+
const S = (m = 768) => {
|
|
9
|
+
const [x, n] = z({
|
|
10
|
+
width: void 0,
|
|
11
|
+
height: void 0
|
|
12
|
+
});
|
|
13
|
+
return j(() => {
|
|
14
|
+
function l() {
|
|
15
|
+
n({
|
|
16
|
+
width: window.innerWidth,
|
|
17
|
+
height: window.innerHeight
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
return window.addEventListener("resize", l), l(), () => window.removeEventListener("resize", l);
|
|
21
|
+
}, []), x.width <= m;
|
|
22
|
+
}, Q = ({
|
|
23
|
+
bg_image: m,
|
|
24
|
+
image: x,
|
|
25
|
+
title: n,
|
|
26
|
+
text_color: l = "inherit",
|
|
27
|
+
description: c,
|
|
28
|
+
buttons: o,
|
|
29
|
+
variant: d,
|
|
30
|
+
qr: e
|
|
31
|
+
}) => {
|
|
32
|
+
var p, f, b;
|
|
33
|
+
const r = S(960), u = d === h.Buttons, v = d === h.Qr;
|
|
34
|
+
return /* @__PURE__ */ t(y, { children: /* @__PURE__ */ s(
|
|
35
|
+
"div",
|
|
36
|
+
{
|
|
37
|
+
className: a(
|
|
38
|
+
"relative w-full h-fit flex max-tablet:flex-col justify-between gap-4 bg-cover bg-center rounded-[20px] overflow-hidden max-tablet:justify-start max-tablet:items-center"
|
|
39
|
+
),
|
|
40
|
+
style: {
|
|
41
|
+
backgroundImage: `url(${m})`
|
|
42
|
+
},
|
|
43
|
+
children: [
|
|
44
|
+
/* @__PURE__ */ s("div", { className: " flex flex-col gap-4 w-[40%] max-tablet:w-full justify-center p-12 max-tablet:p-8", children: [
|
|
45
|
+
n && /* @__PURE__ */ t(
|
|
46
|
+
"p",
|
|
47
|
+
{
|
|
48
|
+
className: a(
|
|
49
|
+
"text-[32px] font-bold leading-[40px] text-left text-black m-0 max-tablet:text-center max-tablet:text-[24px] max-tablet:leading-[28px]"
|
|
50
|
+
),
|
|
51
|
+
style: { color: l },
|
|
52
|
+
children: n
|
|
53
|
+
}
|
|
54
|
+
),
|
|
55
|
+
c && /* @__PURE__ */ t(
|
|
56
|
+
"p",
|
|
57
|
+
{
|
|
58
|
+
className: a(
|
|
59
|
+
"text-[18px] font-normal leading-[26px] text-left m-0 max-tablet:px-[24px] max-tablet:text-center max-tablet:text-[15px] max-tablet:leading-[22px]"
|
|
60
|
+
),
|
|
61
|
+
style: { color: l },
|
|
62
|
+
children: c
|
|
63
|
+
}
|
|
64
|
+
),
|
|
65
|
+
u && /* @__PURE__ */ t("div", { className: "flex items-center gap-4 mt-6 max-tablet:flex-col max-tablet:gap-[10px] max-tablet:mt-[5px]", children: o == null ? void 0 : o.map((i, N) => /* @__PURE__ */ t(
|
|
66
|
+
"a",
|
|
67
|
+
{
|
|
68
|
+
href: (i == null ? void 0 : i.link) || "#",
|
|
69
|
+
className: a("w-fit z-10 max-tablet:w-full"),
|
|
70
|
+
target: "_blank",
|
|
71
|
+
rel: "noopener noreferrer",
|
|
72
|
+
children: /* @__PURE__ */ t(
|
|
73
|
+
w,
|
|
74
|
+
{
|
|
75
|
+
variant: i.variant,
|
|
76
|
+
className: "w-[200px] max-tablet:w-full",
|
|
77
|
+
children: i.text
|
|
78
|
+
}
|
|
79
|
+
)
|
|
80
|
+
},
|
|
81
|
+
N
|
|
82
|
+
)) }),
|
|
83
|
+
v && (r ? /* @__PURE__ */ t("div", { className: "flex items-center gap-4 mt-6 max-tablet:flex-col max-tablet:gap-[10px] max-tablet:mt-[5px]", children: /* @__PURE__ */ t(
|
|
84
|
+
"a",
|
|
85
|
+
{
|
|
86
|
+
href: ((p = e == null ? void 0 : e.button) == null ? void 0 : p.link) || "#",
|
|
87
|
+
className: a("w-fit z-10 max-tablet:w-full"),
|
|
88
|
+
target: "_blank",
|
|
89
|
+
rel: "noopener noreferrer",
|
|
90
|
+
children: /* @__PURE__ */ t(
|
|
91
|
+
w,
|
|
92
|
+
{
|
|
93
|
+
variant: (f = e == null ? void 0 : e.button) == null ? void 0 : f.variant,
|
|
94
|
+
className: "w-[200px] max-tablet:w-full",
|
|
95
|
+
children: (b = e == null ? void 0 : e.button) == null ? void 0 : b.text
|
|
96
|
+
}
|
|
97
|
+
)
|
|
98
|
+
}
|
|
99
|
+
) }) : /* @__PURE__ */ s(
|
|
100
|
+
"div",
|
|
101
|
+
{
|
|
102
|
+
className: a(
|
|
103
|
+
"bg-white rounded-[15px] items-center gap-[12px] p-[12px] flex w-[282px] mt-6"
|
|
104
|
+
),
|
|
105
|
+
children: [
|
|
106
|
+
/* @__PURE__ */ t(
|
|
107
|
+
g,
|
|
108
|
+
{
|
|
109
|
+
src: e == null ? void 0 : e.banner_qr,
|
|
110
|
+
alt: e == null ? void 0 : e.banner_qr_text,
|
|
111
|
+
width: 101,
|
|
112
|
+
height: 101
|
|
113
|
+
}
|
|
114
|
+
),
|
|
115
|
+
/* @__PURE__ */ t(
|
|
116
|
+
"p",
|
|
117
|
+
{
|
|
118
|
+
className: a(
|
|
119
|
+
"text-[15px] font-medium leading-[22px] text-center w-[60%] text-graySoft"
|
|
120
|
+
),
|
|
121
|
+
style: { color: e == null ? void 0 : e.color_text },
|
|
122
|
+
children: e == null ? void 0 : e.banner_qr_text
|
|
123
|
+
}
|
|
124
|
+
)
|
|
125
|
+
]
|
|
126
|
+
}
|
|
127
|
+
))
|
|
128
|
+
] }),
|
|
129
|
+
x && /* @__PURE__ */ t(
|
|
130
|
+
g,
|
|
131
|
+
{
|
|
132
|
+
src: x,
|
|
133
|
+
alt: n,
|
|
134
|
+
width: r ? 312 : 588,
|
|
135
|
+
height: r ? 218 : 400,
|
|
136
|
+
className: a("max-tablet:!w-full align-bottom items-end mt-auto"),
|
|
137
|
+
imageStyles: "object-contain object-bottom"
|
|
138
|
+
}
|
|
139
|
+
)
|
|
140
|
+
]
|
|
141
|
+
}
|
|
142
|
+
) });
|
|
143
|
+
};
|
|
144
|
+
export {
|
|
145
|
+
Q as Banner
|
|
146
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { jsx as i, jsxs as o } from "react/jsx-runtime";
|
|
2
|
+
import { C as t } from "../ComponentContainer-41408843.js";
|
|
3
|
+
import { I as p } from "../index-fb8c9446.js";
|
|
4
|
+
import { c as m } from "../cn-eacd4725.js";
|
|
5
|
+
const u = ({
|
|
6
|
+
banner_card: l,
|
|
7
|
+
text_card: e,
|
|
8
|
+
is_banner_first: s
|
|
9
|
+
}) => /* @__PURE__ */ i(t, { className: "p-0", children: /* @__PURE__ */ o("div", { className: "w-full h-full flex flex-col lg:flex-row items-stretch gap-[24px]", children: [
|
|
10
|
+
(l == null ? void 0 : l.image) && /* @__PURE__ */ i("div", { className: "w-auto rounded-[20px] h-full object-cover", children: /* @__PURE__ */ i(
|
|
11
|
+
p,
|
|
12
|
+
{
|
|
13
|
+
src: l == null ? void 0 : l.image,
|
|
14
|
+
alt: e == null ? void 0 : e.title,
|
|
15
|
+
className: "h-full"
|
|
16
|
+
}
|
|
17
|
+
) }),
|
|
18
|
+
e && /* @__PURE__ */ o(
|
|
19
|
+
"div",
|
|
20
|
+
{
|
|
21
|
+
className: m(
|
|
22
|
+
"w-full flex flex-col bg-white justify-center gap-[11px] rounded-[20px] p-[32px]",
|
|
23
|
+
{
|
|
24
|
+
"order-[-1]": !s
|
|
25
|
+
}
|
|
26
|
+
),
|
|
27
|
+
children: [
|
|
28
|
+
/* @__PURE__ */ i("p", { className: "font-inter text-[32px] leading-[40px] max-tablet:text-[24px] max-tablet:leading-[28px] font-bold", children: e.title }),
|
|
29
|
+
/* @__PURE__ */ i("p", { className: "text-graySoft text-[16px] leading-[24px]", children: e.description })
|
|
30
|
+
]
|
|
31
|
+
}
|
|
32
|
+
)
|
|
33
|
+
] }) });
|
|
34
|
+
export {
|
|
35
|
+
u as BannerAndText
|
|
36
|
+
};
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { jsx as l, jsxs as i } from "react/jsx-runtime";
|
|
2
|
+
import { F as n, S as t } from "../index-cd468670.js";
|
|
3
|
+
import { C as p } from "../ComponentContainer-41408843.js";
|
|
4
|
+
import { c as s } from "../cn-eacd4725.js";
|
|
5
|
+
const u = ({
|
|
6
|
+
cards: a,
|
|
7
|
+
title: o,
|
|
8
|
+
size: c = t.SMALL,
|
|
9
|
+
is_cards_first: m,
|
|
10
|
+
multiHasText: r = !1
|
|
11
|
+
}) => {
|
|
12
|
+
let e;
|
|
13
|
+
switch (c) {
|
|
14
|
+
case t.SMALL:
|
|
15
|
+
e = "flex flex-row items-stretch max-tablet:flex-col";
|
|
16
|
+
break;
|
|
17
|
+
case t.MEDIUM:
|
|
18
|
+
e = "grid grid-cols-3 items-stretch max-tablet:grid-cols-1";
|
|
19
|
+
break;
|
|
20
|
+
case t.LARGE:
|
|
21
|
+
e = "grid grid-cols-2 items-stretch max-tablet:grid-cols-1";
|
|
22
|
+
break;
|
|
23
|
+
default:
|
|
24
|
+
e = "flex flex-row items-stretch max-tablet:flex-col";
|
|
25
|
+
break;
|
|
26
|
+
}
|
|
27
|
+
return /* @__PURE__ */ l(
|
|
28
|
+
p,
|
|
29
|
+
{
|
|
30
|
+
className: s("p-0", { "order-[-1]": m }),
|
|
31
|
+
children: /* @__PURE__ */ i(
|
|
32
|
+
"div",
|
|
33
|
+
{
|
|
34
|
+
className: s("w-full h-full flex flex-col items-center gap-[24px]"),
|
|
35
|
+
children: [
|
|
36
|
+
o && /* @__PURE__ */ l(
|
|
37
|
+
"p",
|
|
38
|
+
{
|
|
39
|
+
className: `font-bold max-tablet:text-[26px] text-[44px] max-tablet:leading-[32px] leading-[42px]
|
|
40
|
+
mb-[24px] font-variant-numeric font-feature-settings`,
|
|
41
|
+
children: o
|
|
42
|
+
}
|
|
43
|
+
),
|
|
44
|
+
/* @__PURE__ */ l(
|
|
45
|
+
"div",
|
|
46
|
+
{
|
|
47
|
+
className: `${e} gap-[24px] w-full ${r ? "grid grid-cols-2 max-tablet:flex h-full" : "flex flex-row max-tablet:flex-col"}`,
|
|
48
|
+
children: a == null ? void 0 : a.map((f, x) => /* @__PURE__ */ l(
|
|
49
|
+
n,
|
|
50
|
+
{
|
|
51
|
+
data: f,
|
|
52
|
+
size: c,
|
|
53
|
+
className: s(
|
|
54
|
+
{ "h-full": r },
|
|
55
|
+
{
|
|
56
|
+
"col-span-2": r && x === 0
|
|
57
|
+
}
|
|
58
|
+
)
|
|
59
|
+
},
|
|
60
|
+
x
|
|
61
|
+
))
|
|
62
|
+
}
|
|
63
|
+
)
|
|
64
|
+
]
|
|
65
|
+
}
|
|
66
|
+
)
|
|
67
|
+
}
|
|
68
|
+
);
|
|
69
|
+
};
|
|
70
|
+
export {
|
|
71
|
+
u as CardIconList
|
|
72
|
+
};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { jsx as r, jsxs as o } from "react/jsx-runtime";
|
|
2
|
+
import { CardImage as s } from "../Cards/CardImage/CardImage.js";
|
|
3
|
+
import { B as p } from "../index-89dcf24f.js";
|
|
4
|
+
import { C as x } from "../ComponentContainer-41408843.js";
|
|
5
|
+
import { c as i } from "../cn-eacd4725.js";
|
|
6
|
+
const v = ({
|
|
7
|
+
cards: a,
|
|
8
|
+
title: n,
|
|
9
|
+
grid: m,
|
|
10
|
+
button: l
|
|
11
|
+
}) => /* @__PURE__ */ r(x, { children: /* @__PURE__ */ o("div", { className: "w-full flex flex-col items-center gap-6", children: [
|
|
12
|
+
n && /* @__PURE__ */ r(
|
|
13
|
+
"p",
|
|
14
|
+
{
|
|
15
|
+
className: `font-bold max-tablet:text-[26px] text-[44px] max-tablet:leading-[32px] leading-[42px]
|
|
16
|
+
mb-[24px] font-variant-numeric font-feature-settings`,
|
|
17
|
+
children: n
|
|
18
|
+
}
|
|
19
|
+
),
|
|
20
|
+
/* @__PURE__ */ r(
|
|
21
|
+
"div",
|
|
22
|
+
{
|
|
23
|
+
className: i(
|
|
24
|
+
`grid grid-cols-${m} items-stretch gap-6`,
|
|
25
|
+
"max-tablet:grid-cols-1"
|
|
26
|
+
),
|
|
27
|
+
children: a == null ? void 0 : a.map((e) => /* @__PURE__ */ r(
|
|
28
|
+
s,
|
|
29
|
+
{
|
|
30
|
+
data: e
|
|
31
|
+
},
|
|
32
|
+
e == null ? void 0 : e.id
|
|
33
|
+
))
|
|
34
|
+
}
|
|
35
|
+
),
|
|
36
|
+
!!(l != null && l.length) && /* @__PURE__ */ r("div", { className: "flex flex-wrap gap-4", children: l.map((e, t) => /* @__PURE__ */ r(
|
|
37
|
+
"a",
|
|
38
|
+
{
|
|
39
|
+
href: (e == null ? void 0 : e.link) || "#",
|
|
40
|
+
className: i("w-fit z-10 max-tablet:w-full"),
|
|
41
|
+
target: "_blank",
|
|
42
|
+
rel: "noopener noreferrer",
|
|
43
|
+
children: /* @__PURE__ */ r(p, { variant: e.variant, children: e.text })
|
|
44
|
+
},
|
|
45
|
+
t
|
|
46
|
+
)) })
|
|
47
|
+
] }) });
|
|
48
|
+
export {
|
|
49
|
+
v as CardImageList
|
|
50
|
+
};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { jsxs as i, jsx as l } from "react/jsx-runtime";
|
|
2
|
+
import { I as m } from "../../index-fb8c9446.js";
|
|
3
|
+
import { c as x } from "../../cn-eacd4725.js";
|
|
4
|
+
const n = ({ data: e }) => {
|
|
5
|
+
const p = (e == null ? void 0 : e.variant) === "large" ? "h-[364px]" : "h-[264px]", c = (e == null ? void 0 : e.variant) === "small" ? "w-[364px]" : "w-[264px]";
|
|
6
|
+
return /* @__PURE__ */ i(
|
|
7
|
+
"div",
|
|
8
|
+
{
|
|
9
|
+
className: x(
|
|
10
|
+
"w-full overflow-hidden bg-white rounded-[20px] flex flex-1 flex-col items-center justify-between",
|
|
11
|
+
{ "!bg-black": e == null ? void 0 : e.is_black }
|
|
12
|
+
),
|
|
13
|
+
children: [
|
|
14
|
+
/* @__PURE__ */ i("div", { className: "w-full flex flex-col gap-[20px] p-[48px] max-tablet:gap-[16px] max-tablet:py-[24px] max-tablet:px-[32px]", children: [
|
|
15
|
+
/* @__PURE__ */ l(
|
|
16
|
+
"p",
|
|
17
|
+
{
|
|
18
|
+
className: x(
|
|
19
|
+
"font-bold text-[24px] leading-[32px] text-center text-blackBG max-tablet:text-[22px] max-tablet:leading-[26px]",
|
|
20
|
+
{ "!text-white": e == null ? void 0 : e.is_black }
|
|
21
|
+
),
|
|
22
|
+
children: e == null ? void 0 : e.title
|
|
23
|
+
}
|
|
24
|
+
),
|
|
25
|
+
/* @__PURE__ */ l(
|
|
26
|
+
"p",
|
|
27
|
+
{
|
|
28
|
+
className: x(
|
|
29
|
+
"text-[16px] leading-[24px] text-center text-graySoft max-tablet:text-[15px] max-tablet:leading-[22px]",
|
|
30
|
+
{ "!text-graySoft": e == null ? void 0 : e.is_black }
|
|
31
|
+
),
|
|
32
|
+
children: e == null ? void 0 : e.description
|
|
33
|
+
}
|
|
34
|
+
)
|
|
35
|
+
] }),
|
|
36
|
+
/* @__PURE__ */ l(
|
|
37
|
+
m,
|
|
38
|
+
{
|
|
39
|
+
src: e == null ? void 0 : e.image,
|
|
40
|
+
alt: e == null ? void 0 : e.title,
|
|
41
|
+
className: `w-full ${p} max-tablet:h-[200px] box-border`,
|
|
42
|
+
imageStyles: `${c} h-full max-tablet:w-[200px] object-contain`
|
|
43
|
+
}
|
|
44
|
+
)
|
|
45
|
+
]
|
|
46
|
+
}
|
|
47
|
+
);
|
|
48
|
+
};
|
|
49
|
+
export {
|
|
50
|
+
n as CardImage
|
|
51
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { jsxs as t, jsx as l } from "react/jsx-runtime";
|
|
2
|
+
import { I as p } from "../../index-fb8c9446.js";
|
|
3
|
+
import { c as x } from "../../cn-eacd4725.js";
|
|
4
|
+
const m = ({ data: e, cardStyle: o }) => /* @__PURE__ */ t(
|
|
5
|
+
"div",
|
|
6
|
+
{
|
|
7
|
+
className: x(
|
|
8
|
+
"w-full overflow-hidden bg-white rounded-[20px] flex flex-1 flex-col items-center justify-between",
|
|
9
|
+
o
|
|
10
|
+
),
|
|
11
|
+
style: { backgroundColor: e == null ? void 0 : e.bg_hex },
|
|
12
|
+
children: [
|
|
13
|
+
/* @__PURE__ */ t("div", { className: "w-full flex flex-col gap-[20px] p-[48px] max-tablet:gap-[16px] max-tablet:py-[24px] max-tablet:px-[32px]", children: [
|
|
14
|
+
/* @__PURE__ */ l(
|
|
15
|
+
"p",
|
|
16
|
+
{
|
|
17
|
+
className: x(
|
|
18
|
+
"font-bold text-[24px] leading-[32px] text-center text-blackBG max-tablet:text-[22px] max-tablet:leading-[26px]"
|
|
19
|
+
),
|
|
20
|
+
children: e == null ? void 0 : e.title
|
|
21
|
+
}
|
|
22
|
+
),
|
|
23
|
+
/* @__PURE__ */ l(
|
|
24
|
+
"p",
|
|
25
|
+
{
|
|
26
|
+
className: x(
|
|
27
|
+
"text-[16px] leading-[24px] text-center text-graySoft max-tablet:text-[15px] max-tablet:leading-[22px]"
|
|
28
|
+
),
|
|
29
|
+
children: e == null ? void 0 : e.description
|
|
30
|
+
}
|
|
31
|
+
)
|
|
32
|
+
] }),
|
|
33
|
+
/* @__PURE__ */ l(
|
|
34
|
+
p,
|
|
35
|
+
{
|
|
36
|
+
src: e == null ? void 0 : e.image,
|
|
37
|
+
alt: e == null ? void 0 : e.title,
|
|
38
|
+
className: "w-full h-[356px] max-tablet:h-[188px] box-border",
|
|
39
|
+
imageStyles: "w-full h-full object-contain object-bottom"
|
|
40
|
+
}
|
|
41
|
+
)
|
|
42
|
+
]
|
|
43
|
+
}
|
|
44
|
+
);
|
|
45
|
+
export {
|
|
46
|
+
m as ColoredCard
|
|
47
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { jsxs as o, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { HtmlContent as s } from "../../HtmlContent/HtmlContent.js";
|
|
3
|
+
import { B as x, a as p } from "../../index-89dcf24f.js";
|
|
4
|
+
import { I as c } from "../../index-fb8c9446.js";
|
|
5
|
+
const h = ({ data: e }) => {
|
|
6
|
+
var n;
|
|
7
|
+
return /* @__PURE__ */ o("div", { className: "rounded-[20px] overflow-hidden", children: [
|
|
8
|
+
/* @__PURE__ */ r(
|
|
9
|
+
c,
|
|
10
|
+
{
|
|
11
|
+
src: e == null ? void 0 : e.image,
|
|
12
|
+
alt: e == null ? void 0 : e.title,
|
|
13
|
+
className: "w-full h-auto"
|
|
14
|
+
}
|
|
15
|
+
),
|
|
16
|
+
/* @__PURE__ */ o("div", { className: "flex flex-col gap-[24px] bg-white p-[32px]", children: [
|
|
17
|
+
/* @__PURE__ */ r("p", { className: "text-[24px] leading-[32px] font-semibold", children: e == null ? void 0 : e.title }),
|
|
18
|
+
/* @__PURE__ */ r(
|
|
19
|
+
s,
|
|
20
|
+
{
|
|
21
|
+
data: e == null ? void 0 : e.description,
|
|
22
|
+
className: "text-graySoft text-[15px] leading-[22px]"
|
|
23
|
+
}
|
|
24
|
+
),
|
|
25
|
+
/* @__PURE__ */ r("div", { className: "flex gap-12px items-center max-tablet:flex-col", children: (n = e == null ? void 0 : e.button) == null ? void 0 : n.map((l) => /* @__PURE__ */ r(
|
|
26
|
+
"a",
|
|
27
|
+
{
|
|
28
|
+
href: (l == null ? void 0 : l.link) || "#",
|
|
29
|
+
target: "_blank",
|
|
30
|
+
children: /* @__PURE__ */ r(x, { variant: p.Grey, children: l == null ? void 0 : l.text })
|
|
31
|
+
}
|
|
32
|
+
)) })
|
|
33
|
+
] })
|
|
34
|
+
] });
|
|
35
|
+
};
|
|
36
|
+
export {
|
|
37
|
+
h as ContentCard
|
|
38
|
+
};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { jsx as e, jsxs as t } from "react/jsx-runtime";
|
|
2
|
+
import { WarningCardVariant as o } from "./model.js";
|
|
3
|
+
import { I as l } from "../../Icon-70ea6cb8.js";
|
|
4
|
+
import { B as s, a as c } from "../../index-89dcf24f.js";
|
|
5
|
+
import { C as m } from "../../ComponentContainer-41408843.js";
|
|
6
|
+
import { c as d } from "../../cn-eacd4725.js";
|
|
7
|
+
const C = ({
|
|
8
|
+
title: n,
|
|
9
|
+
description: a,
|
|
10
|
+
button_text: i,
|
|
11
|
+
variant: r
|
|
12
|
+
}) => /* @__PURE__ */ e(m, { children: /* @__PURE__ */ e(
|
|
13
|
+
"div",
|
|
14
|
+
{
|
|
15
|
+
className: "rounded-[24px] p-6",
|
|
16
|
+
style: { background: o[r].background },
|
|
17
|
+
children: /* @__PURE__ */ t("div", { className: "flex gap-4 items-center justify-between", children: [
|
|
18
|
+
/* @__PURE__ */ t("div", { className: "flex gap-4 items-center", children: [
|
|
19
|
+
/* @__PURE__ */ e(
|
|
20
|
+
l,
|
|
21
|
+
{
|
|
22
|
+
name: o[r].icon,
|
|
23
|
+
size: 40
|
|
24
|
+
}
|
|
25
|
+
),
|
|
26
|
+
/* @__PURE__ */ t("div", { className: "flex flex-col gap-1", children: [
|
|
27
|
+
/* @__PURE__ */ e(
|
|
28
|
+
"p",
|
|
29
|
+
{
|
|
30
|
+
className: d("text-[24px] leading-8 font-bold"),
|
|
31
|
+
style: { color: o[r].textColor },
|
|
32
|
+
children: n
|
|
33
|
+
}
|
|
34
|
+
),
|
|
35
|
+
/* @__PURE__ */ e(
|
|
36
|
+
"p",
|
|
37
|
+
{
|
|
38
|
+
className: "text-[16px] leading-6",
|
|
39
|
+
style: { color: o[r].textColor },
|
|
40
|
+
children: a
|
|
41
|
+
}
|
|
42
|
+
)
|
|
43
|
+
] })
|
|
44
|
+
] }),
|
|
45
|
+
/* @__PURE__ */ e(s, { variant: c.Static, children: i })
|
|
46
|
+
] })
|
|
47
|
+
}
|
|
48
|
+
) });
|
|
49
|
+
export {
|
|
50
|
+
C as WarningCard
|
|
51
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { p as a } from "../../palette-52b06a82.js";
|
|
2
|
+
const g = {
|
|
3
|
+
orange: {
|
|
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)",
|
|
5
|
+
textColor: a.blackBG,
|
|
6
|
+
icon: "infoDark",
|
|
7
|
+
key: "orange"
|
|
8
|
+
},
|
|
9
|
+
gray: {
|
|
10
|
+
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))",
|
|
11
|
+
textColor: a.blackBG,
|
|
12
|
+
icon: "infoCrown",
|
|
13
|
+
key: "gray"
|
|
14
|
+
},
|
|
15
|
+
black: {
|
|
16
|
+
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)",
|
|
17
|
+
textColor: a.white,
|
|
18
|
+
icon: "infoLight",
|
|
19
|
+
key: "black"
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
export {
|
|
23
|
+
g as WarningCardVariant
|
|
24
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
+
import { c as l } from "./cn-eacd4725.js";
|
|
3
|
+
const e = ({ children: a, className: t }) => /* @__PURE__ */ m(
|
|
4
|
+
"section",
|
|
5
|
+
{
|
|
6
|
+
className: l(
|
|
7
|
+
"w-[1232px] max-tablet:w-full mx-auto px-4 relative max-tablet:max-w-[960px] md:max-w-full lg:max-w-full",
|
|
8
|
+
t
|
|
9
|
+
),
|
|
10
|
+
children: a
|
|
11
|
+
}
|
|
12
|
+
);
|
|
13
|
+
export {
|
|
14
|
+
e as C
|
|
15
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
2
|
+
import { ContentCard as i } from "../Cards/ContentCard/ContentCard.js";
|
|
3
|
+
import { C as o } from "../ComponentContainer-41408843.js";
|
|
4
|
+
const f = ({ data: e }) => {
|
|
5
|
+
var t;
|
|
6
|
+
return /* @__PURE__ */ n(o, { children: /* @__PURE__ */ r("div", { className: "w-full flex flex-col items-center justify-center", children: [
|
|
7
|
+
(e == null ? void 0 : e.title) && /* @__PURE__ */ n(
|
|
8
|
+
"p",
|
|
9
|
+
{
|
|
10
|
+
className: `font-bold max-tablet:text-[26px] text-[44px] max-tablet:leading-[32px] leading-[42px]
|
|
11
|
+
mb-[24px] font-variant-numeric font-feature-settings`,
|
|
12
|
+
children: e == null ? void 0 : e.title
|
|
13
|
+
}
|
|
14
|
+
),
|
|
15
|
+
/* @__PURE__ */ n("div", { className: "flex flex-row max-tablet:flex-col gap-[24px]", children: (t = e == null ? void 0 : e.cards) == null ? void 0 : t.map((l) => /* @__PURE__ */ n(
|
|
16
|
+
i,
|
|
17
|
+
{
|
|
18
|
+
data: l
|
|
19
|
+
},
|
|
20
|
+
l.id
|
|
21
|
+
)) })
|
|
22
|
+
] }) });
|
|
23
|
+
};
|
|
24
|
+
export {
|
|
25
|
+
f as ContentCardList
|
|
26
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { jsx as e, jsxs as o } from "react/jsx-runtime";
|
|
2
|
+
import { I as i } from "../../../Icon-70ea6cb8.js";
|
|
3
|
+
import { p as n } from "../../../palette-52b06a82.js";
|
|
4
|
+
import { B as r } from "../../../index-89dcf24f.js";
|
|
5
|
+
import { C as s } from "../../../ComponentContainer-41408843.js";
|
|
6
|
+
const a = ({ data: l }) => /* @__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: [
|
|
7
|
+
/* @__PURE__ */ e("div", { className: "flex flex-col ", children: /* @__PURE__ */ o("div", { children: [
|
|
8
|
+
/* @__PURE__ */ e("p", { className: "text-[32px] leading-10 font-bold mb-4", children: l == null ? void 0 : l.title }),
|
|
9
|
+
/* @__PURE__ */ e("p", { className: "text-[16px] leading-6", children: l == null ? void 0 : l.text }),
|
|
10
|
+
/* @__PURE__ */ e(
|
|
11
|
+
r,
|
|
12
|
+
{
|
|
13
|
+
iconRight: /* @__PURE__ */ e(
|
|
14
|
+
i,
|
|
15
|
+
{
|
|
16
|
+
name: "download",
|
|
17
|
+
size: 20,
|
|
18
|
+
color: n.blackBG
|
|
19
|
+
}
|
|
20
|
+
),
|
|
21
|
+
className: "mt-8",
|
|
22
|
+
children: "Скачать"
|
|
23
|
+
}
|
|
24
|
+
)
|
|
25
|
+
] }) }),
|
|
26
|
+
/* @__PURE__ */ e(
|
|
27
|
+
i,
|
|
28
|
+
{
|
|
29
|
+
className: "flex-shrink-0",
|
|
30
|
+
name: "file",
|
|
31
|
+
color: n.greenLight,
|
|
32
|
+
size: 82
|
|
33
|
+
}
|
|
34
|
+
)
|
|
35
|
+
] }) });
|
|
36
|
+
export {
|
|
37
|
+
a as DownloadFileBanner
|
|
38
|
+
};
|