md-components-mdigial-azamat 0.0.10 → 0.0.12
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 +4 -0
- 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 +45 -49
- package/dist/BannerAndText/index.js +14 -13
- package/dist/CardIconList/CardIconList.js +23 -22
- package/dist/CardImageList/CardImageList.js +15 -14
- 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 +8 -7
- package/dist/Cards/ColoredCard/index.js +5 -4
- package/dist/Cards/ContentCard/ContentCard.js +17 -15
- package/dist/Cards/FeaturesCard/index.js +3 -3
- package/dist/Cards/WarningCard/WarningCard.js +27 -25
- package/dist/Cards/WarningCard/model.js +1 -1
- package/dist/ComponentContainer-0fcc2695.js +16 -0
- package/dist/ConfigProvider/index.js +5 -3
- package/dist/ContentCardList/ContentCardList.js +13 -12
- package/dist/DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js +21 -15
- 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 +16 -14
- package/dist/DownloadFile/components/DownloadFileHalf/DownloadFileHalf.js +20 -18
- package/dist/DownloadFile/components/DownloadFileMini/DownloadFileMini.js +19 -17
- package/dist/EmptyBox/EmptyBox.js +5 -0
- package/dist/EmptyBox/types.js +1 -0
- package/dist/Faq/Faq.js +16 -15
- package/dist/Faq/components/Collapse/Collapse.js +9 -8
- package/dist/Faq/components/FeedbackForm/FeedbackForm.js +95 -94
- package/dist/Faq/components/PlusMinusIcon/PlusMinusIcon.js +1 -1
- package/dist/HeroPossibilityBanner/index.js +24 -16
- package/dist/HtmlContent/HtmlContent.js +6 -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 +14 -13
- package/dist/InstructionList/components/InstructionCard/InstructionCard.js +13 -12
- 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 +30 -21
- package/dist/MultiCards/index.js +33 -25
- package/dist/Partners/Partners.js +7 -6
- package/dist/PartnersColors/PartnersColors.js +20 -19
- package/dist/PartnersColors/components/PartnerCard/PartnerCard.js +1 -1
- package/dist/PartnersColors/components/PartnerTab/PartnerTab.js +2 -2
- package/dist/PreviewList/PreviewList.js +17 -16
- package/dist/PreviewList/components/PreviewCard/PreviewCard.js +15 -13
- package/dist/PromoPoster/PromoPoster.js +36 -0
- package/dist/PromoPoster/types.js +1 -0
- package/dist/RenderAllComponents/RenderAllComponents.js +82 -0
- package/dist/RenderAllComponents/const.js +43 -0
- package/dist/RenderAllComponents/index.js +4 -0
- package/dist/Segments/Segments.js +14 -13
- 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 +14 -13
- package/dist/SwiperList/SwiperList.js +50 -3189
- 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 +4 -3
- package/dist/Video/VideoList/VideoList.js +10 -9
- package/dist/Video/VideoListMini/VideoListMini.js +8 -7
- 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/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-cd468670.js → index-6e0f7db0.js} +8 -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/main.d.ts +0 -39
- /package/dist/assets/{SwiperList.css → swiper-react.css} +0 -0
- /package/dist/assets/{Slide.css → swiper.css} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { jsx as e, jsxs as r } from "react/jsx-runtime";
|
|
2
|
+
import { InfoBanner as p } from "../InfoBanner/index.js";
|
|
3
|
+
import { C as s } from "../ComponentContainer-0fcc2695.js";
|
|
4
|
+
import { c as a } from "../cn-d8c04b28.js";
|
|
5
|
+
import { u as f } from "../useScreenSize-c1b64c02.js";
|
|
6
|
+
const g = ({
|
|
7
|
+
title: l,
|
|
8
|
+
cards: t,
|
|
9
|
+
isLight: o,
|
|
10
|
+
isLightTitle: m
|
|
11
|
+
}) => {
|
|
12
|
+
const x = f(960);
|
|
13
|
+
return /* @__PURE__ */ e(s, { children: /* @__PURE__ */ r("div", { className: a("w-full"), children: [
|
|
14
|
+
l && /* @__PURE__ */ e(
|
|
15
|
+
"p",
|
|
16
|
+
{
|
|
17
|
+
className: a(
|
|
18
|
+
"text-[44px] font-bold leading-[52px] mb-[48px] text-black text-center max-tablet:text-[26px] max-tablet:leading-[32px] max-tablet:mb-[32px]",
|
|
19
|
+
{ "text-white4": m }
|
|
20
|
+
),
|
|
21
|
+
children: l
|
|
22
|
+
}
|
|
23
|
+
),
|
|
24
|
+
/* @__PURE__ */ e("div", { className: a("flex flex-col gap-[40px] w-full"), children: t == null ? void 0 : t.map((i, n) => /* @__PURE__ */ e(
|
|
25
|
+
p,
|
|
26
|
+
{
|
|
27
|
+
data: i,
|
|
28
|
+
isTextLast: x ? !1 : n % 2 === 1,
|
|
29
|
+
isLight: o
|
|
30
|
+
},
|
|
31
|
+
n
|
|
32
|
+
)) })
|
|
33
|
+
] }) });
|
|
34
|
+
};
|
|
35
|
+
export {
|
|
36
|
+
g as InfoBannerList
|
|
37
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { B as
|
|
3
|
-
import { C as
|
|
1
|
+
import { jsxs as m, jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import { B as p } from "../index-b3d6aed3.js";
|
|
3
|
+
import { C as x } from "../ComponentContainer-0fcc2695.js";
|
|
4
4
|
import { InstructionCard as a } from "./components/InstructionCard/InstructionCard.js";
|
|
5
|
-
const
|
|
6
|
-
title:
|
|
7
|
-
cards:
|
|
5
|
+
const c = ["title", "cards", "button"], f = ({
|
|
6
|
+
title: l,
|
|
7
|
+
cards: r,
|
|
8
8
|
button: e
|
|
9
|
-
}) => /* @__PURE__ */
|
|
10
|
-
|
|
11
|
-
/* @__PURE__ */ i("div", { className: "flex items-stretch gap-[24px]", children:
|
|
9
|
+
}) => /* @__PURE__ */ m(x, { className: "flex flex-col items-center", children: [
|
|
10
|
+
l && /* @__PURE__ */ i("p", { className: "text-[44px] leading-[54px] font-bold text-center mb-[48px]", children: l }),
|
|
11
|
+
/* @__PURE__ */ i("div", { className: "flex items-stretch gap-[24px]", children: r == null ? void 0 : r.map((s) => /* @__PURE__ */ i(
|
|
12
12
|
a,
|
|
13
13
|
{
|
|
14
|
-
data:
|
|
14
|
+
data: s
|
|
15
15
|
},
|
|
16
|
-
|
|
16
|
+
s == null ? void 0 : s.id
|
|
17
17
|
)) }),
|
|
18
18
|
(e == null ? void 0 : e.link) && (e == null ? void 0 : e.text) && /* @__PURE__ */ i(
|
|
19
19
|
"a",
|
|
@@ -21,10 +21,11 @@ const C = ({
|
|
|
21
21
|
href: e == null ? void 0 : e.link,
|
|
22
22
|
target: "_blank",
|
|
23
23
|
className: "mt-[24px]",
|
|
24
|
-
children: /* @__PURE__ */ i(
|
|
24
|
+
children: /* @__PURE__ */ i(p, { children: e == null ? void 0 : e.text })
|
|
25
25
|
}
|
|
26
26
|
)
|
|
27
27
|
] });
|
|
28
|
+
f.propsToEdit = c;
|
|
28
29
|
export {
|
|
29
|
-
|
|
30
|
+
f as InstructionList
|
|
30
31
|
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { jsxs as l, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { useState as
|
|
3
|
-
import { I as
|
|
4
|
-
import { InstructionModal as
|
|
5
|
-
const
|
|
6
|
-
const [x,
|
|
7
|
-
M != null && M.image && (
|
|
2
|
+
import { useState as s } from "react";
|
|
3
|
+
import { I as N } from "../../../index-60dfa873.js";
|
|
4
|
+
import { InstructionModal as I } from "../InstructionModal/InstructionModal.js";
|
|
5
|
+
const z = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwXzYxODBfMjc4KSI+CjxwYXRoIGQ9Ik0xNS4zMzM3IDQuNjY2NjlIMTIuNjY3QzEyLjAzODUgNC42NjY2OSAxMS43MjQyIDQuNjY2NjkgMTEuNTI4OSA0LjQ3MTQyQzExLjMzMzcgNC4yNzYxNiAxMS4zMzM3IDMuOTYxODkgMTEuMzMzNyAzLjMzMzM1VjAuNjY2Njg3TTE1LjMzMzcgMTEuMzMzNEgxMi42NjdDMTIuMDM4NSAxMS4zMzM0IDExLjcyNDIgMTEuMzMzNCAxMS41Mjg5IDExLjUyODZDMTEuMzMzNyAxMS43MjM5IDExLjMzMzcgMTIuMDM4MSAxMS4zMzM3IDEyLjY2NjdWMTUuMzMzNE00LjY2Njk5IDE1LjMzMzRWMTIuNjY2N0M0LjY2Njk5IDEyLjAzODEgNC42NjY5OSAxMS43MjM5IDQuNDcxNzMgMTEuNTI4NkM0LjI3NjQ3IDExLjMzMzQgMy45NjIyIDExLjMzMzQgMy4zMzM2NiAxMS4zMzM0SDAuNjY2OTkyTTQuNjY2OTkgMC42NjY2ODdWMy4zMzMzNUM0LjY2Njk5IDMuOTYxODkgNC42NjY5OSA0LjI3NjE2IDQuNDcxNzMgNC40NzE0MkM0LjI3NjQ3IDQuNjY2NjkgMy45NjIyIDQuNjY2NjkgMy4zMzM2NiA0LjY2NjY5SDAuNjY2OTkyIiBzdHJva2U9IndoaXRlIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9nPgo8ZGVmcz4KPGNsaXBQYXRoIGlkPSJjbGlwMF82MTgwXzI3OCI+CjxyZWN0IHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgZmlsbD0id2hpdGUiLz4KPC9jbGlwUGF0aD4KPC9kZWZzPgo8L3N2Zz4K", c = ["data"], p = ({ data: M }) => {
|
|
6
|
+
const [x, o] = s(!1), i = () => {
|
|
7
|
+
M != null && M.image && (o(!0), document.body.style.overflow = "hidden");
|
|
8
8
|
}, j = () => {
|
|
9
|
-
|
|
9
|
+
o(!1), document.body.style.overflow = "auto";
|
|
10
10
|
};
|
|
11
11
|
return /* @__PURE__ */ l("div", { className: "w-full flex flex-col rounded-[20px] overflow-hidden", children: [
|
|
12
12
|
/* @__PURE__ */ l("div", { className: "relative w-full h-[256px]", children: [
|
|
13
13
|
/* @__PURE__ */ e(
|
|
14
|
-
|
|
14
|
+
N,
|
|
15
15
|
{
|
|
16
16
|
src: M == null ? void 0 : M.image,
|
|
17
17
|
alt: M == null ? void 0 : M.title,
|
|
@@ -37,9 +37,9 @@ const s = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXd
|
|
|
37
37
|
children: [
|
|
38
38
|
/* @__PURE__ */ e("p", { className: "text-[14px] leading-[20px] text-white", children: "Показать" }),
|
|
39
39
|
/* @__PURE__ */ e(
|
|
40
|
-
|
|
40
|
+
N,
|
|
41
41
|
{
|
|
42
|
-
src:
|
|
42
|
+
src: z,
|
|
43
43
|
alt: "show"
|
|
44
44
|
}
|
|
45
45
|
)
|
|
@@ -52,7 +52,7 @@ const s = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXd
|
|
|
52
52
|
(M == null ? void 0 : M.subtitle) && /* @__PURE__ */ e("p", { className: "text-[18px] leading-[26px] text-graySoft2", children: M == null ? void 0 : M.subtitle })
|
|
53
53
|
] }),
|
|
54
54
|
/* @__PURE__ */ e(
|
|
55
|
-
|
|
55
|
+
I,
|
|
56
56
|
{
|
|
57
57
|
show: x,
|
|
58
58
|
image: M == null ? void 0 : M.image,
|
|
@@ -62,6 +62,7 @@ const s = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXd
|
|
|
62
62
|
)
|
|
63
63
|
] });
|
|
64
64
|
};
|
|
65
|
+
p.propsToEdit = c;
|
|
65
66
|
export {
|
|
66
|
-
|
|
67
|
+
p as InstructionCard
|
|
67
68
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as t, jsxs as s } from "react/jsx-runtime";
|
|
2
|
-
import { I as a } from "../../../index-
|
|
3
|
-
import { c } from "../../../cn-
|
|
2
|
+
import { I as a } from "../../../index-60dfa873.js";
|
|
3
|
+
import { c } from "../../../cn-d8c04b28.js";
|
|
4
4
|
const x = ({
|
|
5
5
|
show: e,
|
|
6
6
|
image: l,
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { jsxs as a, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { B as c } from "../index-b3d6aed3.js";
|
|
3
|
+
import { C as i } from "../ComponentContainer-0fcc2695.js";
|
|
4
|
+
import { I as e } from "../index-60dfa873.js";
|
|
5
|
+
import { u as h } from "../useScreenSize-c1b64c02.js";
|
|
6
|
+
const N = ({
|
|
7
|
+
title: l,
|
|
8
|
+
description: s,
|
|
9
|
+
image: x,
|
|
10
|
+
image_mob: b,
|
|
11
|
+
button_text: m,
|
|
12
|
+
button_link: r,
|
|
13
|
+
logo: p,
|
|
14
|
+
logo_second: o
|
|
15
|
+
}) => {
|
|
16
|
+
const n = h(960);
|
|
17
|
+
return /* @__PURE__ */ a("div", { className: "relative flex items-center gap-[80px] w-full h-[527px] max-tablet:flex-col max-tablet:gap-[24px] max-tablet:h-auto", children: [
|
|
18
|
+
/* @__PURE__ */ t(i, { className: "flex flex-col gap-[24px] max-w-[614px] max-tablet:items-center max-tablet:gap-[16px] max-tablet:mx-auto", children: /* @__PURE__ */ a("div", { className: "flex flex-col gap-[24px] max-tablet:gap-[16px] w-[614px] max-tablet:w-full", children: [
|
|
19
|
+
/* @__PURE__ */ a("div", { className: "flex mb-[12px] max-tablet:mb-[8px] max-tablet:mx-auto", children: [
|
|
20
|
+
p && /* @__PURE__ */ t(
|
|
21
|
+
e,
|
|
22
|
+
{
|
|
23
|
+
src: p,
|
|
24
|
+
alt: "visa",
|
|
25
|
+
height: 40,
|
|
26
|
+
width: 135,
|
|
27
|
+
className: "h-[40px] max-tablet:!h-[32px] w-auto pr-[16px] border-r border-[#838795] first:pl-0 last:border-none object-contain"
|
|
28
|
+
}
|
|
29
|
+
),
|
|
30
|
+
o && /* @__PURE__ */ t(
|
|
31
|
+
e,
|
|
32
|
+
{
|
|
33
|
+
src: o,
|
|
34
|
+
alt: "mbank",
|
|
35
|
+
height: 40,
|
|
36
|
+
width: 135,
|
|
37
|
+
className: "h-[40px] max-tablet:!h-[32px] w-auto pl-[16px] border-r border-[#838795] last:border-none object-contain"
|
|
38
|
+
}
|
|
39
|
+
)
|
|
40
|
+
] }),
|
|
41
|
+
/* @__PURE__ */ t("h2", { className: "text-[44px] leading-[52px] font-[700] m-0 max-tablet:text-[26px] max-tablet:leading-[32px] max-tablet:text-center", children: l }),
|
|
42
|
+
/* @__PURE__ */ t("span", { className: "text-[18px] leading-[26px] text-[#40474f] max-tablet:text-[17px] max-tablet:leading-[24px] max-tablet:text-center", children: s }),
|
|
43
|
+
r && m && /* @__PURE__ */ t("a", { href: r, children: /* @__PURE__ */ t(c, { className: "mt-[24px] max-tablet:mt-[8px] max-tablet:mx-auto", children: m }) })
|
|
44
|
+
] }) }),
|
|
45
|
+
x && /* @__PURE__ */ t(
|
|
46
|
+
e,
|
|
47
|
+
{
|
|
48
|
+
src: n ? b : x,
|
|
49
|
+
alt: l,
|
|
50
|
+
width: 543,
|
|
51
|
+
height: 527,
|
|
52
|
+
className: "absolute top-1/2 left-[clamp(614px,50%,50%)] w-auto transform -translate-y-1/2 overflow-visible max-tablet:relative max-tablet:top-auto max-tablet:left-auto max-tablet:translate-y-0 max-tablet:!h-[332px]",
|
|
53
|
+
imageStyles: "object-cover max-tablet:object-contain"
|
|
54
|
+
}
|
|
55
|
+
)
|
|
56
|
+
] });
|
|
57
|
+
};
|
|
58
|
+
export {
|
|
59
|
+
N as IntroBanner
|
|
60
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -1,20 +1,28 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { B as b } from "../index-
|
|
3
|
-
import { C as f } from "../ComponentContainer-
|
|
4
|
-
import { I as m } from "../index-
|
|
5
|
-
import { c as
|
|
6
|
-
const
|
|
1
|
+
import { jsxs as o, jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { B as b } from "../index-b3d6aed3.js";
|
|
3
|
+
import { C as f } from "../ComponentContainer-0fcc2695.js";
|
|
4
|
+
import { I as m } from "../index-60dfa873.js";
|
|
5
|
+
import { c as d } from "../cn-d8c04b28.js";
|
|
6
|
+
const h = [
|
|
7
|
+
"title",
|
|
8
|
+
"description",
|
|
9
|
+
"buttons",
|
|
10
|
+
"image",
|
|
11
|
+
"image_mob",
|
|
12
|
+
"logo",
|
|
13
|
+
"grid"
|
|
14
|
+
], g = ({
|
|
7
15
|
title: l,
|
|
8
|
-
description:
|
|
9
|
-
buttons:
|
|
10
|
-
image:
|
|
16
|
+
description: p,
|
|
17
|
+
buttons: t,
|
|
18
|
+
image: c,
|
|
11
19
|
image_mob: r,
|
|
12
20
|
logo: s,
|
|
13
|
-
grid:
|
|
21
|
+
grid: i
|
|
14
22
|
}) => {
|
|
15
|
-
const
|
|
16
|
-
return /* @__PURE__ */
|
|
17
|
-
/* @__PURE__ */
|
|
23
|
+
const n = (e, x) => x.length % 2 !== 0 && e === x.length - 1;
|
|
24
|
+
return /* @__PURE__ */ o("section", { children: [
|
|
25
|
+
/* @__PURE__ */ o(f, { className: "flex flex-col items-center", children: [
|
|
18
26
|
s && /* @__PURE__ */ a(
|
|
19
27
|
m,
|
|
20
28
|
{
|
|
@@ -25,18 +33,18 @@ const k = ({
|
|
|
25
33
|
}
|
|
26
34
|
),
|
|
27
35
|
/* @__PURE__ */ a("h1", { className: "text-black2 text-[40px] font-bold leading-[50px] mb-[24px] text-center max-tablet:text-[26px] max-tablet:leading-[32px] max-tablet:mb-[20px]", children: l }),
|
|
28
|
-
|
|
36
|
+
p && /* @__PURE__ */ a("p", { className: "text-black2 text-center text-[20px] font-normal leading-[25px] mb-[32px] w-[75%] max-tablet:text-[16px] max-tablet:leading-[20px] max-tablet:w-full", children: p }),
|
|
29
37
|
/* @__PURE__ */ a(
|
|
30
38
|
"div",
|
|
31
39
|
{
|
|
32
|
-
className: `grid grid-cols-${
|
|
40
|
+
className: `grid grid-cols-${i} items-center gap-[16px] mb-[60px]
|
|
33
41
|
max-tablet:grid-cols-1 max-tablet:w-full max-tablet:mb-[40px]`,
|
|
34
|
-
children:
|
|
42
|
+
children: t == null ? void 0 : t.map((e, x) => /* @__PURE__ */ a(
|
|
35
43
|
"a",
|
|
36
44
|
{
|
|
37
45
|
href: e == null ? void 0 : e.button_link,
|
|
38
|
-
className:
|
|
39
|
-
[`col-span-${
|
|
46
|
+
className: d("flex items-center", {
|
|
47
|
+
[`col-span-${i}`]: n(x, t)
|
|
40
48
|
}),
|
|
41
49
|
target: "_blank",
|
|
42
50
|
children: /* @__PURE__ */ a(b, { className: "font-[Inter] h-[56px] mx-auto px-[32px] py-[12px] max-tablet:px-[32px] max-tablet:py-[12px]", children: e == null ? void 0 : e.button_text })
|
|
@@ -45,10 +53,10 @@ const k = ({
|
|
|
45
53
|
}
|
|
46
54
|
)
|
|
47
55
|
] }),
|
|
48
|
-
|
|
56
|
+
c && /* @__PURE__ */ a(
|
|
49
57
|
m,
|
|
50
58
|
{
|
|
51
|
-
src:
|
|
59
|
+
src: c,
|
|
52
60
|
alt: l,
|
|
53
61
|
className: "w-full h-[450px] max-mobile:h-[320px] mb-[64px] block max-mobile::block",
|
|
54
62
|
imageStyles: "w-full h-full object-contain max-mobile:object-cover"
|
|
@@ -65,6 +73,7 @@ const k = ({
|
|
|
65
73
|
)
|
|
66
74
|
] });
|
|
67
75
|
};
|
|
76
|
+
g.propsToEdit = h;
|
|
68
77
|
export {
|
|
69
|
-
|
|
78
|
+
g as MainBanner
|
|
70
79
|
};
|
package/dist/MultiCards/index.js
CHANGED
|
@@ -1,48 +1,56 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { BannerAndText as
|
|
3
|
-
import { CardIconList as
|
|
4
|
-
import { C as
|
|
5
|
-
const
|
|
6
|
-
title
|
|
7
|
-
banner_card
|
|
8
|
-
|
|
1
|
+
import { jsxs as o, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { BannerAndText as i } from "../BannerAndText/index.js";
|
|
3
|
+
import { CardIconList as x } from "../CardIconList/CardIconList.js";
|
|
4
|
+
import { C as p } from "../ComponentContainer-0fcc2695.js";
|
|
5
|
+
const m = [
|
|
6
|
+
"title",
|
|
7
|
+
"banner_card",
|
|
8
|
+
"cards",
|
|
9
|
+
"text_card",
|
|
10
|
+
"is_banner_first",
|
|
11
|
+
"is_cards_first"
|
|
12
|
+
], f = ({
|
|
13
|
+
title: r,
|
|
14
|
+
banner_card: a,
|
|
15
|
+
text_card: t,
|
|
9
16
|
cards: n,
|
|
10
|
-
is_banner_first:
|
|
11
|
-
is_cards_first:
|
|
12
|
-
}) => /* @__PURE__ */
|
|
13
|
-
|
|
17
|
+
is_banner_first: s,
|
|
18
|
+
is_cards_first: l
|
|
19
|
+
}) => /* @__PURE__ */ o(p, { className: "flex flex-col items-center gap-[24px]", children: [
|
|
20
|
+
r && /* @__PURE__ */ e(
|
|
14
21
|
"p",
|
|
15
22
|
{
|
|
16
23
|
className: `font-bold max-tablet:text-[26px] text-[44px] max-tablet:leading-[32px] leading-[42px]
|
|
17
24
|
mb-[24px] font-variant-numeric font-feature-settings`,
|
|
18
|
-
children:
|
|
25
|
+
children: r
|
|
19
26
|
}
|
|
20
27
|
),
|
|
21
|
-
/* @__PURE__ */
|
|
28
|
+
/* @__PURE__ */ o(
|
|
22
29
|
"div",
|
|
23
30
|
{
|
|
24
|
-
className: `w-full flex ${!
|
|
31
|
+
className: `w-full flex ${!t || !a ? "flex-row max-tablet:flex-col" : "flex-col"} gap-[24px]`,
|
|
25
32
|
children: [
|
|
26
|
-
/* @__PURE__ */
|
|
27
|
-
|
|
33
|
+
/* @__PURE__ */ e(
|
|
34
|
+
i,
|
|
28
35
|
{
|
|
29
|
-
banner_card:
|
|
30
|
-
text_card:
|
|
31
|
-
is_banner_first:
|
|
36
|
+
banner_card: a,
|
|
37
|
+
text_card: t,
|
|
38
|
+
is_banner_first: s
|
|
32
39
|
}
|
|
33
40
|
),
|
|
34
|
-
/* @__PURE__ */
|
|
35
|
-
|
|
41
|
+
/* @__PURE__ */ e(
|
|
42
|
+
x,
|
|
36
43
|
{
|
|
37
44
|
cards: n,
|
|
38
|
-
is_cards_first:
|
|
39
|
-
multiHasText: !
|
|
45
|
+
is_cards_first: l,
|
|
46
|
+
multiHasText: !t
|
|
40
47
|
}
|
|
41
48
|
)
|
|
42
49
|
]
|
|
43
50
|
}
|
|
44
51
|
)
|
|
45
52
|
] });
|
|
53
|
+
f.propsToEdit = m;
|
|
46
54
|
export {
|
|
47
|
-
|
|
55
|
+
f as MultiCards
|
|
48
56
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { jsx as l, jsxs as
|
|
2
|
-
import { C as
|
|
3
|
-
import { I as c } from "../index-
|
|
4
|
-
const
|
|
1
|
+
import { jsx as l, jsxs as i } from "react/jsx-runtime";
|
|
2
|
+
import { C as x } from "../ComponentContainer-0fcc2695.js";
|
|
3
|
+
import { I as c } from "../index-60dfa873.js";
|
|
4
|
+
const t = ["data"], m = ({ data: e }) => {
|
|
5
5
|
var r;
|
|
6
|
-
return /* @__PURE__ */ l(
|
|
6
|
+
return /* @__PURE__ */ l(x, { children: /* @__PURE__ */ i("div", { className: "w-full flex flex-col items-center justify-center", children: [
|
|
7
7
|
(e == null ? void 0 : e.title) && /* @__PURE__ */ l("p", { className: "text-[44px] font-bold leading-[52px] text-center max-md:text-[26px] max-md:leading-[32px]", children: e == null ? void 0 : e.title }),
|
|
8
8
|
(e == null ? void 0 : e.subtitle) && /* @__PURE__ */ l("div", { className: "text-[18px] leading-[26px] text-gray-400 mt-6 text-center max-md:text-[17px] max-md:leading-[24px] max-md:px-6", children: e == null ? void 0 : e.subtitle }),
|
|
9
9
|
/* @__PURE__ */ l("div", { className: "w-full px-4 mt-[48px]", children: /* @__PURE__ */ l("div", { className: "grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-6 xl:grid-cols-8 gap-4 md:gap-6 justify-center", children: (r = e == null ? void 0 : e.images) == null ? void 0 : r.map((s) => /* @__PURE__ */ l(
|
|
@@ -26,6 +26,7 @@ const o = ({ data: e }) => {
|
|
|
26
26
|
)) }) })
|
|
27
27
|
] }) });
|
|
28
28
|
};
|
|
29
|
+
m.propsToEdit = t;
|
|
29
30
|
export {
|
|
30
|
-
|
|
31
|
+
m as Partners
|
|
31
32
|
};
|
|
@@ -1,37 +1,38 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { useState as
|
|
3
|
-
import { C as d } from "../ComponentContainer-
|
|
1
|
+
import { jsxs as s, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { useState as x } from "react";
|
|
3
|
+
import { C as d } from "../ComponentContainer-0fcc2695.js";
|
|
4
4
|
import { PartnerCard as f } from "./components/PartnerCard/PartnerCard.js";
|
|
5
5
|
import { PartnerTab as a } from "./components/PartnerTab/PartnerTab.js";
|
|
6
|
-
const
|
|
7
|
-
title:
|
|
8
|
-
subtitle:
|
|
6
|
+
const c = ["title", "subtitle", "categories", "cards"], h = ({
|
|
7
|
+
title: o,
|
|
8
|
+
subtitle: n,
|
|
9
9
|
categories: r,
|
|
10
10
|
cards: p
|
|
11
11
|
}) => {
|
|
12
12
|
var i;
|
|
13
|
-
const [
|
|
14
|
-
return /* @__PURE__ */
|
|
15
|
-
/* @__PURE__ */
|
|
16
|
-
/* @__PURE__ */
|
|
17
|
-
/* @__PURE__ */
|
|
13
|
+
const [l, m] = x(((i = r[0]) == null ? void 0 : i.id) || 0);
|
|
14
|
+
return /* @__PURE__ */ s(d, { children: [
|
|
15
|
+
/* @__PURE__ */ e("p", { className: "uppercase text-[16px] leading-[24px] font-[500] text-center text-graySoft", children: n }),
|
|
16
|
+
/* @__PURE__ */ e("h2", { className: "text-[44px] leading-[52px] font-bold text-center", children: o }),
|
|
17
|
+
/* @__PURE__ */ e("div", { className: "flex flex-wrap gap-[12px] mt-[48px]", children: r == null ? void 0 : r.map((t) => /* @__PURE__ */ e(
|
|
18
18
|
a,
|
|
19
19
|
{
|
|
20
|
-
category:
|
|
21
|
-
isActive:
|
|
22
|
-
onClick:
|
|
20
|
+
category: t,
|
|
21
|
+
isActive: t.id === l,
|
|
22
|
+
onClick: m
|
|
23
23
|
},
|
|
24
|
-
|
|
24
|
+
t == null ? void 0 : t.id
|
|
25
25
|
)) }),
|
|
26
|
-
/* @__PURE__ */
|
|
26
|
+
/* @__PURE__ */ e("div", { className: "grid grid-cols-[repeat(2,1fr)] md:grid-cols-[repeat(5,1fr)] gap-[16px] mt-[32px]", children: p == null ? void 0 : p.map((t) => /* @__PURE__ */ e(
|
|
27
27
|
f,
|
|
28
28
|
{
|
|
29
|
-
card:
|
|
29
|
+
card: t
|
|
30
30
|
},
|
|
31
|
-
|
|
31
|
+
t == null ? void 0 : t.id
|
|
32
32
|
)) })
|
|
33
33
|
] });
|
|
34
34
|
};
|
|
35
|
+
h.propsToEdit = c;
|
|
35
36
|
export {
|
|
36
|
-
|
|
37
|
+
h as PartnersColors
|
|
37
38
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as e, jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import { I as p } from "../../../index-
|
|
2
|
+
import { I as p } from "../../../index-60dfa873.js";
|
|
3
3
|
import { getBonusColors as x } from "./const.js";
|
|
4
4
|
const n = ({ card: t }) => /* @__PURE__ */ e("div", { className: "relative bg-white flex flex-col items-center justify-center h-[180px] md:h-[200px] py-[32px] px-[16px] rounded-[20px]", children: [
|
|
5
5
|
(t == null ? void 0 : t.discount) && /* @__PURE__ */ e(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as x, jsx as p } from "react/jsx-runtime";
|
|
2
|
-
import { I as m } from "../../../index-
|
|
3
|
-
import { c as t } from "../../../cn-
|
|
2
|
+
import { I as m } from "../../../index-60dfa873.js";
|
|
3
|
+
import { c as t } from "../../../cn-d8c04b28.js";
|
|
4
4
|
const r = ({ category: i, isActive: n, onClick: s }) => /* @__PURE__ */ x(
|
|
5
5
|
"button",
|
|
6
6
|
{
|
|
@@ -1,26 +1,27 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { B as
|
|
3
|
-
import { C as
|
|
4
|
-
import { PreviewCard as
|
|
5
|
-
const
|
|
6
|
-
title:
|
|
7
|
-
cards:
|
|
8
|
-
button_link:
|
|
1
|
+
import { jsxs as n, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { B as p } from "../index-b3d6aed3.js";
|
|
3
|
+
import { C as l } from "../ComponentContainer-0fcc2695.js";
|
|
4
|
+
import { PreviewCard as a } from "./components/PreviewCard/PreviewCard.js";
|
|
5
|
+
const c = ["title", "cards", "button_link", "button_text", "grid"], x = ({
|
|
6
|
+
title: r,
|
|
7
|
+
cards: t,
|
|
8
|
+
button_link: o,
|
|
9
9
|
button_text: i,
|
|
10
|
-
grid:
|
|
11
|
-
}) => /* @__PURE__ */
|
|
12
|
-
|
|
13
|
-
/* @__PURE__ */ e("div", { className: `grid grid-cols-${
|
|
14
|
-
|
|
10
|
+
grid: s = 3
|
|
11
|
+
}) => /* @__PURE__ */ n(l, { className: "flex flex-col items-center", children: [
|
|
12
|
+
r && /* @__PURE__ */ e("p", { className: "text-[44px] leading-[52px] font-bold text-center mb-[48px]", children: r }),
|
|
13
|
+
/* @__PURE__ */ e("div", { className: `grid grid-cols-${s} items-stretch gap-[24px]`, children: t == null ? void 0 : t.map((m) => /* @__PURE__ */ e(a, { item: m })) }),
|
|
14
|
+
o && i && /* @__PURE__ */ e(
|
|
15
15
|
"a",
|
|
16
16
|
{
|
|
17
|
-
href:
|
|
17
|
+
href: o,
|
|
18
18
|
target: "_blank",
|
|
19
19
|
className: "mt-[24px]",
|
|
20
|
-
children: /* @__PURE__ */ e(
|
|
20
|
+
children: /* @__PURE__ */ e(p, { children: i })
|
|
21
21
|
}
|
|
22
22
|
)
|
|
23
23
|
] });
|
|
24
|
+
x.propsToEdit = c;
|
|
24
25
|
export {
|
|
25
|
-
|
|
26
|
+
x as PreviewList
|
|
26
27
|
};
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { jsxs as s, jsx as
|
|
2
|
-
import { B as c
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { jsxs as s, jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { B as c } from "../../../index-b3d6aed3.js";
|
|
3
|
+
import { a as p } from "../../../const-9041b93a.js";
|
|
4
|
+
import { I as d } from "../../../index-60dfa873.js";
|
|
5
|
+
const x = ["item"], u = ({ item: l }) => {
|
|
6
|
+
var a, r, n;
|
|
6
7
|
return /* @__PURE__ */ s("div", { className: "w-full flex flex-col rounded-[20px] overflow-hidden", children: [
|
|
7
|
-
/* @__PURE__ */
|
|
8
|
-
|
|
8
|
+
/* @__PURE__ */ o("div", { className: "relative w-full h-[256px]", children: /* @__PURE__ */ o(
|
|
9
|
+
d,
|
|
9
10
|
{
|
|
10
11
|
src: l == null ? void 0 : l.image,
|
|
11
12
|
alt: l == null ? void 0 : l.title,
|
|
@@ -14,19 +15,20 @@ const b = ({ item: l }) => {
|
|
|
14
15
|
}
|
|
15
16
|
) }),
|
|
16
17
|
/* @__PURE__ */ s("div", { className: "bg-white p-[32px] flex flex-col gap-[8px] h-full", children: [
|
|
17
|
-
(l == null ? void 0 : l.title) && /* @__PURE__ */
|
|
18
|
-
(l == null ? void 0 : l.subtitle) && /* @__PURE__ */
|
|
19
|
-
(l == null ? void 0 : l.button.button_link) && ((
|
|
18
|
+
(l == null ? void 0 : l.title) && /* @__PURE__ */ o("p", { className: "text-[24px] leading-[32px] font-bold", children: l == null ? void 0 : l.title }),
|
|
19
|
+
(l == null ? void 0 : l.subtitle) && /* @__PURE__ */ o("p", { className: "text-[14px] leading-[20px] text-graySoft", children: l == null ? void 0 : l.subtitle }),
|
|
20
|
+
(l == null ? void 0 : l.button.button_link) && ((a = l == null ? void 0 : l.button) == null ? void 0 : a.button_text) && /* @__PURE__ */ o(
|
|
20
21
|
"a",
|
|
21
22
|
{
|
|
22
|
-
href: (
|
|
23
|
+
href: (r = l == null ? void 0 : l.button) == null ? void 0 : r.button_link,
|
|
23
24
|
className: "mt-[24px]",
|
|
24
|
-
children: /* @__PURE__ */
|
|
25
|
+
children: /* @__PURE__ */ o(c, { variant: p.SecondaryBlue, children: (n = l == null ? void 0 : l.button) == null ? void 0 : n.button_text })
|
|
25
26
|
}
|
|
26
27
|
)
|
|
27
28
|
] })
|
|
28
29
|
] });
|
|
29
30
|
};
|
|
31
|
+
u.propsToEdit = x;
|
|
30
32
|
export {
|
|
31
|
-
|
|
33
|
+
u as PreviewCard
|
|
32
34
|
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { jsx as p } from "react/jsx-runtime";
|
|
2
|
+
import { C as m } from "../ComponentContainer-0fcc2695.js";
|
|
3
|
+
import { c as i } from "../cn-d8c04b28.js";
|
|
4
|
+
import { u as n } from "../useScreenSize-c1b64c02.js";
|
|
5
|
+
const d = ({
|
|
6
|
+
banner_bg_image: r,
|
|
7
|
+
banner_bg_image_mob: o,
|
|
8
|
+
texts: a
|
|
9
|
+
}) => {
|
|
10
|
+
const t = n(960);
|
|
11
|
+
return /* @__PURE__ */ p(
|
|
12
|
+
m,
|
|
13
|
+
{
|
|
14
|
+
className: "flex items-center justify-between gap-[40px] px-[48px] py-[38px] pr-[68px] bg-cover bg-no-repeat rounded-[24px] overflow-hidden max-tablet:flex-col max-tablet:items-start max-tablet:gap-[24px] max-tablet:p-[24px] max-tablet:bg-center",
|
|
15
|
+
style: {
|
|
16
|
+
backgroundImage: `url(${t ? o : r})`
|
|
17
|
+
},
|
|
18
|
+
children: a == null ? void 0 : a.map((e, l) => /* @__PURE__ */ p(
|
|
19
|
+
"p",
|
|
20
|
+
{
|
|
21
|
+
className: i(
|
|
22
|
+
"text-[15px] leading-[22px] text-white break-words whitespace-normal",
|
|
23
|
+
{
|
|
24
|
+
"text-[72px] leading-[32px] font-bold text-white max-tablet:text-[32px] max-tablet:leading-[32px] max-tablet:h-[57px]": e == null ? void 0 : e.is_big
|
|
25
|
+
}
|
|
26
|
+
),
|
|
27
|
+
children: e == null ? void 0 : e.title
|
|
28
|
+
},
|
|
29
|
+
l
|
|
30
|
+
))
|
|
31
|
+
}
|
|
32
|
+
);
|
|
33
|
+
};
|
|
34
|
+
export {
|
|
35
|
+
d as PromoPoster
|
|
36
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|