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,73 @@
|
|
|
1
|
+
import { jsxs as x, jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import { c as l, a as m } from "../cn-d8c04b28.js";
|
|
3
|
+
import { B as i } from "../index-b3d6aed3.js";
|
|
4
|
+
import { I as o } from "../index-60dfa873.js";
|
|
5
|
+
import { u as s } from "../useScreenSize-c1b64c02.js";
|
|
6
|
+
const u = ({ data: e, isTextLast: r, isLight: t = !1 }) => {
|
|
7
|
+
const b = s(960) ? e == null ? void 0 : e.banner_bg_image_mob : e == null ? void 0 : e.banner_bg_image;
|
|
8
|
+
return /* @__PURE__ */ x(
|
|
9
|
+
"div",
|
|
10
|
+
{
|
|
11
|
+
className: l(
|
|
12
|
+
"relative w-full px-[48px] bg-cover bg-no-repeat flex items-center justify-between gap-[100px] max-tablet:h-fit max-tablet:flex-col max-tablet:p-0 max-tablet:gap-0 max-tablet:overflow-hidden rounded-[20px] overflow-hidden bg-center"
|
|
13
|
+
),
|
|
14
|
+
style: { backgroundImage: `url(${b})` },
|
|
15
|
+
children: [
|
|
16
|
+
/* @__PURE__ */ x(
|
|
17
|
+
"div",
|
|
18
|
+
{
|
|
19
|
+
className: m(
|
|
20
|
+
"flex flex-col gap-[20px] py-[48px] max-tablet:p-[32px]",
|
|
21
|
+
{
|
|
22
|
+
"order-1": r
|
|
23
|
+
}
|
|
24
|
+
),
|
|
25
|
+
children: [
|
|
26
|
+
/* @__PURE__ */ n(
|
|
27
|
+
"p",
|
|
28
|
+
{
|
|
29
|
+
className: l(
|
|
30
|
+
"text-[32px] leading-[40px] font-bold text-white4 max-tablet:text-[24px] max-tablet:leading-[28px] max-tablet:text-center",
|
|
31
|
+
{ "text-black5": t }
|
|
32
|
+
),
|
|
33
|
+
children: e == null ? void 0 : e.banner_title
|
|
34
|
+
}
|
|
35
|
+
),
|
|
36
|
+
/* @__PURE__ */ n(
|
|
37
|
+
"p",
|
|
38
|
+
{
|
|
39
|
+
className: l(
|
|
40
|
+
"text-[18px] leading-[26px] text-white4 max-tablet:text-[17px] max-tablet:leading-[24px] max-tablet:text-center",
|
|
41
|
+
{ "text-graySoft": t }
|
|
42
|
+
),
|
|
43
|
+
children: e == null ? void 0 : e.banner_description
|
|
44
|
+
}
|
|
45
|
+
),
|
|
46
|
+
(e == null ? void 0 : e.banner_button_link) && /* @__PURE__ */ n(
|
|
47
|
+
"a",
|
|
48
|
+
{
|
|
49
|
+
href: e == null ? void 0 : e.banner_button_link,
|
|
50
|
+
className: "max-tablet:absolute max-tablet:left-[50%] max-tablet:translate-x-[-50%] max-tablet:bottom-[24px] max-tablet:z-10",
|
|
51
|
+
children: /* @__PURE__ */ n(i, { children: e == null ? void 0 : e.banner_button_text })
|
|
52
|
+
}
|
|
53
|
+
)
|
|
54
|
+
]
|
|
55
|
+
}
|
|
56
|
+
),
|
|
57
|
+
(e == null ? void 0 : e.banner_image) && /* @__PURE__ */ n(
|
|
58
|
+
o,
|
|
59
|
+
{
|
|
60
|
+
src: e == null ? void 0 : e.banner_image,
|
|
61
|
+
alt: e == null ? void 0 : e.banner_title,
|
|
62
|
+
width: 453,
|
|
63
|
+
height: 282,
|
|
64
|
+
className: l("shrink-0")
|
|
65
|
+
}
|
|
66
|
+
)
|
|
67
|
+
]
|
|
68
|
+
}
|
|
69
|
+
);
|
|
70
|
+
};
|
|
71
|
+
export {
|
|
72
|
+
u as InfoBanner
|
|
73
|
+
};
|
|
@@ -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,12 +1,8 @@
|
|
|
1
1
|
import { jsxs as m, jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import { B as p } from "../index-
|
|
3
|
-
import { C as x } from "../ComponentContainer-
|
|
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 c = [
|
|
6
|
-
"title",
|
|
7
|
-
"cards",
|
|
8
|
-
"button"
|
|
9
|
-
], f = ({
|
|
5
|
+
const c = ["title", "cards", "button"], f = ({
|
|
10
6
|
title: l,
|
|
11
7
|
cards: r,
|
|
12
8
|
button: e
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import { jsxs as l, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useState as s } from "react";
|
|
3
|
-
import { I as N } from "../../../index-
|
|
3
|
+
import { I as N } from "../../../index-60dfa873.js";
|
|
4
4
|
import { InstructionModal as I } from "../InstructionModal/InstructionModal.js";
|
|
5
|
-
const z = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwXzYxODBfMjc4KSI+CjxwYXRoIGQ9Ik0xNS4zMzM3IDQuNjY2NjlIMTIuNjY3QzEyLjAzODUgNC42NjY2OSAxMS43MjQyIDQuNjY2NjkgMTEuNTI4OSA0LjQ3MTQyQzExLjMzMzcgNC4yNzYxNiAxMS4zMzM3IDMuOTYxODkgMTEuMzMzNyAzLjMzMzM1VjAuNjY2Njg3TTE1LjMzMzcgMTEuMzMzNEgxMi42NjdDMTIuMDM4NSAxMS4zMzM0IDExLjcyNDIgMTEuMzMzNCAxMS41Mjg5IDExLjUyODZDMTEuMzMzNyAxMS43MjM5IDExLjMzMzcgMTIuMDM4MSAxMS4zMzM3IDEyLjY2NjdWMTUuMzMzNE00LjY2Njk5IDE1LjMzMzRWMTIuNjY2N0M0LjY2Njk5IDEyLjAzODEgNC42NjY5OSAxMS43MjM5IDQuNDcxNzMgMTEuNTI4NkM0LjI3NjQ3IDExLjMzMzQgMy45NjIyIDExLjMzMzQgMy4zMzM2NiAxMS4zMzM0SDAuNjY2OTkyTTQuNjY2OTkgMC42NjY2ODdWMy4zMzMzNUM0LjY2Njk5IDMuOTYxODkgNC42NjY5OSA0LjI3NjE2IDQuNDcxNzMgNC40NzE0MkM0LjI3NjQ3IDQuNjY2NjkgMy45NjIyIDQuNjY2NjkgMy4zMzM2NiA0LjY2NjY5SDAuNjY2OTkyIiBzdHJva2U9IndoaXRlIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9nPgo8ZGVmcz4KPGNsaXBQYXRoIGlkPSJjbGlwMF82MTgwXzI3OCI+CjxyZWN0IHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgZmlsbD0id2hpdGUiLz4KPC9jbGlwUGF0aD4KPC9kZWZzPgo8L3N2Zz4K", c = [
|
|
6
|
-
"data"
|
|
7
|
-
], p = ({ data: M }) => {
|
|
5
|
+
const z = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwXzYxODBfMjc4KSI+CjxwYXRoIGQ9Ik0xNS4zMzM3IDQuNjY2NjlIMTIuNjY3QzEyLjAzODUgNC42NjY2OSAxMS43MjQyIDQuNjY2NjkgMTEuNTI4OSA0LjQ3MTQyQzExLjMzMzcgNC4yNzYxNiAxMS4zMzM3IDMuOTYxODkgMTEuMzMzNyAzLjMzMzM1VjAuNjY2Njg3TTE1LjMzMzcgMTEuMzMzNEgxMi42NjdDMTIuMDM4NSAxMS4zMzM0IDExLjcyNDIgMTEuMzMzNCAxMS41Mjg5IDExLjUyODZDMTEuMzMzNyAxMS43MjM5IDExLjMzMzcgMTIuMDM4MSAxMS4zMzM3IDEyLjY2NjdWMTUuMzMzNE00LjY2Njk5IDE1LjMzMzRWMTIuNjY2N0M0LjY2Njk5IDEyLjAzODEgNC42NjY5OSAxMS43MjM5IDQuNDcxNzMgMTEuNTI4NkM0LjI3NjQ3IDExLjMzMzQgMy45NjIyIDExLjMzMzQgMy4zMzM2NiAxMS4zMzM0SDAuNjY2OTkyTTQuNjY2OTkgMC42NjY2ODdWMy4zMzMzNUM0LjY2Njk5IDMuOTYxODkgNC42NjY5OSA0LjI3NjE2IDQuNDcxNzMgNC40NzE0MkM0LjI3NjQ3IDQuNjY2NjkgMy45NjIyIDQuNjY2NjkgMy4zMzM2NiA0LjY2NjY5SDAuNjY2OTkyIiBzdHJva2U9IndoaXRlIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9nPgo8ZGVmcz4KPGNsaXBQYXRoIGlkPSJjbGlwMF82MTgwXzI3OCI+CjxyZWN0IHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgZmlsbD0id2hpdGUiLz4KPC9jbGlwUGF0aD4KPC9kZWZzPgo8L3N2Zz4K", c = ["data"], p = ({ data: M }) => {
|
|
8
6
|
const [x, o] = s(!1), i = () => {
|
|
9
7
|
M != null && M.image && (o(!0), document.body.style.overflow = "hidden");
|
|
10
8
|
}, j = () => {
|
|
@@ -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,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as o, jsx as a } from "react/jsx-runtime";
|
|
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 d } from "../cn-
|
|
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
6
|
const h = [
|
|
7
7
|
"title",
|
|
8
8
|
"description",
|
package/dist/MultiCards/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as o, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { BannerAndText as i } from "../BannerAndText/index.js";
|
|
3
3
|
import { CardIconList as x } from "../CardIconList/CardIconList.js";
|
|
4
|
-
import { C as p } from "../ComponentContainer-
|
|
4
|
+
import { C as p } from "../ComponentContainer-0fcc2695.js";
|
|
5
5
|
const m = [
|
|
6
6
|
"title",
|
|
7
7
|
"banner_card",
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import { c as u } from "../componentsMap-8af3b722.js";
|
|
3
|
+
const d = (f) => f.map((r) => {
|
|
4
|
+
const s = u[r.key];
|
|
5
|
+
if (!s)
|
|
6
|
+
return null;
|
|
7
|
+
if (r != null && r.componentProps)
|
|
8
|
+
return /* @__PURE__ */ i(
|
|
9
|
+
s,
|
|
10
|
+
{
|
|
11
|
+
...r.componentProps
|
|
12
|
+
},
|
|
13
|
+
r.id
|
|
14
|
+
);
|
|
15
|
+
if (r != null && r.component_props)
|
|
16
|
+
return /* @__PURE__ */ i(
|
|
17
|
+
s,
|
|
18
|
+
{
|
|
19
|
+
...r.component_props
|
|
20
|
+
},
|
|
21
|
+
r.id
|
|
22
|
+
);
|
|
23
|
+
});
|
|
24
|
+
export {
|
|
25
|
+
d as renderComponents
|
|
26
|
+
};
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { jsx as l, jsxs as i } from "react/jsx-runtime";
|
|
2
|
-
import { C as x } from "../ComponentContainer-
|
|
3
|
-
import { I as c } from "../index-
|
|
4
|
-
const t = [
|
|
5
|
-
"data"
|
|
6
|
-
], m = ({ data: e }) => {
|
|
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 }) => {
|
|
7
5
|
var r;
|
|
8
6
|
return /* @__PURE__ */ l(x, { children: /* @__PURE__ */ i("div", { className: "w-full flex flex-col items-center justify-center", children: [
|
|
9
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 }),
|
|
@@ -1,14 +1,9 @@
|
|
|
1
1
|
import { jsxs as s, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useState as x } from "react";
|
|
3
|
-
import { C as d } from "../ComponentContainer-
|
|
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 c = [
|
|
7
|
-
"title",
|
|
8
|
-
"subtitle",
|
|
9
|
-
"categories",
|
|
10
|
-
"cards"
|
|
11
|
-
], h = ({
|
|
6
|
+
const c = ["title", "subtitle", "categories", "cards"], h = ({
|
|
12
7
|
title: o,
|
|
13
8
|
subtitle: n,
|
|
14
9
|
categories: r,
|
|
@@ -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,14 +1,8 @@
|
|
|
1
1
|
import { jsxs as n, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { B as p } from "../index-
|
|
3
|
-
import { C as l } from "../ComponentContainer-
|
|
2
|
+
import { B as p } from "../index-b3d6aed3.js";
|
|
3
|
+
import { C as l } from "../ComponentContainer-0fcc2695.js";
|
|
4
4
|
import { PreviewCard as a } from "./components/PreviewCard/PreviewCard.js";
|
|
5
|
-
const c = [
|
|
6
|
-
"title",
|
|
7
|
-
"cards",
|
|
8
|
-
"button_link",
|
|
9
|
-
"button_text",
|
|
10
|
-
"grid"
|
|
11
|
-
], x = ({
|
|
5
|
+
const c = ["title", "cards", "button_link", "button_text", "grid"], x = ({
|
|
12
6
|
title: r,
|
|
13
7
|
cards: t,
|
|
14
8
|
button_link: o,
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import { jsxs as s, jsx as
|
|
2
|
-
import { B as c
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
var o, n, r;
|
|
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;
|
|
8
7
|
return /* @__PURE__ */ s("div", { className: "w-full flex flex-col rounded-[20px] overflow-hidden", children: [
|
|
9
|
-
/* @__PURE__ */
|
|
10
|
-
|
|
8
|
+
/* @__PURE__ */ o("div", { className: "relative w-full h-[256px]", children: /* @__PURE__ */ o(
|
|
9
|
+
d,
|
|
11
10
|
{
|
|
12
11
|
src: l == null ? void 0 : l.image,
|
|
13
12
|
alt: l == null ? void 0 : l.title,
|
|
@@ -16,14 +15,14 @@ const x = [
|
|
|
16
15
|
}
|
|
17
16
|
) }),
|
|
18
17
|
/* @__PURE__ */ s("div", { className: "bg-white p-[32px] flex flex-col gap-[8px] h-full", children: [
|
|
19
|
-
(l == null ? void 0 : l.title) && /* @__PURE__ */
|
|
20
|
-
(l == null ? void 0 : l.subtitle) && /* @__PURE__ */
|
|
21
|
-
(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(
|
|
22
21
|
"a",
|
|
23
22
|
{
|
|
24
|
-
href: (
|
|
23
|
+
href: (r = l == null ? void 0 : l.button) == null ? void 0 : r.button_link,
|
|
25
24
|
className: "mt-[24px]",
|
|
26
|
-
children: /* @__PURE__ */
|
|
25
|
+
children: /* @__PURE__ */ o(c, { variant: p.SecondaryBlue, children: (n = l == null ? void 0 : l.button) == null ? void 0 : n.button_text })
|
|
27
26
|
}
|
|
28
27
|
)
|
|
29
28
|
] })
|
|
@@ -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
|
+
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { jsx as n, Fragment as t } from "react/jsx-runtime";
|
|
2
|
+
import { c as i } from "../componentsMap-8af3b722.js";
|
|
3
|
+
const d = ({ components: o, device: m }) => /* @__PURE__ */ n(t, { children: o.map((r) => {
|
|
4
|
+
const e = i[r.key];
|
|
5
|
+
return e ? /* @__PURE__ */ n(
|
|
6
|
+
e,
|
|
7
|
+
{
|
|
8
|
+
id: r.id,
|
|
9
|
+
...r.componentProps
|
|
10
|
+
},
|
|
11
|
+
r.id
|
|
12
|
+
) : null;
|
|
13
|
+
}) });
|
|
14
|
+
export {
|
|
15
|
+
d as RenderAllComponents
|
|
16
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { M as a, B as t, u as s, C as n, S as D, a as r, V as e, b as i, c as o, d, P as l, e as C, f as B, g as L, W as m, v as w, w as p, F as I, h as g, D as F, i as S, j as c, I as M, x as P, k as f, l as u, A as V, m as T, T as W, n as b, E as x, o as h, p as k, q, r as v, s as y, t as A } from "../data.mock-741c2220.js";
|
|
2
|
+
const j = [
|
|
3
|
+
a,
|
|
4
|
+
t,
|
|
5
|
+
s,
|
|
6
|
+
n,
|
|
7
|
+
D,
|
|
8
|
+
r,
|
|
9
|
+
e,
|
|
10
|
+
i,
|
|
11
|
+
o,
|
|
12
|
+
d,
|
|
13
|
+
l,
|
|
14
|
+
C,
|
|
15
|
+
B,
|
|
16
|
+
L,
|
|
17
|
+
m,
|
|
18
|
+
w,
|
|
19
|
+
p,
|
|
20
|
+
I,
|
|
21
|
+
g,
|
|
22
|
+
F,
|
|
23
|
+
S,
|
|
24
|
+
c,
|
|
25
|
+
M,
|
|
26
|
+
P,
|
|
27
|
+
f,
|
|
28
|
+
u,
|
|
29
|
+
V,
|
|
30
|
+
T,
|
|
31
|
+
W,
|
|
32
|
+
b,
|
|
33
|
+
x,
|
|
34
|
+
h,
|
|
35
|
+
k,
|
|
36
|
+
q,
|
|
37
|
+
v,
|
|
38
|
+
y,
|
|
39
|
+
A
|
|
40
|
+
];
|
|
41
|
+
export {
|
|
42
|
+
j as allComponentsData
|
|
43
|
+
};
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import { useState as x } from "react";
|
|
3
|
-
import { c as r } from "../cn-
|
|
4
|
-
const s = [
|
|
5
|
-
"data",
|
|
6
|
-
"activeSegment"
|
|
7
|
-
], c = ({ data: t, activeSegment: p = 0 }) => {
|
|
3
|
+
import { c as r } from "../cn-d8c04b28.js";
|
|
4
|
+
const s = ["data", "activeSegment"], c = ({ data: t, activeSegment: p = 0 }) => {
|
|
8
5
|
const [n, i] = x(p), l = (e) => {
|
|
9
6
|
i(e);
|
|
10
7
|
};
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { jsxs as r, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { I as g } from "../../../index-60dfa873.js";
|
|
3
|
+
import { c as x } from "../../../cn-d8c04b28.js";
|
|
4
|
+
const c = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTIiIHZpZXdCb3g9IjAgMCAxNiAxMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE0LjY2NzMgMS41NTMyMkw1Ljc3ODQzIDEwLjQ0MjNMMS4zMzM5OCA1Ljk5Nzg4IiBzdHJva2U9IiMxNkEzNEEiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8L3N2Zz4K", p = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxOCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEuNSAxLjQ0NjA0TDE2LjUgMTYuNDQ2TTE2LjUgMS40NDYwNEwxLjUgMTYuNDQ2IiBzdHJva2U9IiNFRjQ0NDQiIHN0cm9rZS13aWR0aD0iMiIvPgo8L3N2Zz4K", b = ({ data: l, className: t }) => {
|
|
5
|
+
var s;
|
|
6
|
+
return /* @__PURE__ */ r(
|
|
7
|
+
"div",
|
|
8
|
+
{
|
|
9
|
+
className: x(
|
|
10
|
+
"w-full grid grid-cols-[200px_3fr] gap-[24px] border-b border-greyLight",
|
|
11
|
+
"max-tablet:last:border-none",
|
|
12
|
+
"max-tablet:grid-cols-[170px_3fr] max-tablet:gap-0 max-tablet:w-fit",
|
|
13
|
+
t
|
|
14
|
+
),
|
|
15
|
+
children: [
|
|
16
|
+
/* @__PURE__ */ e(
|
|
17
|
+
"p",
|
|
18
|
+
{
|
|
19
|
+
className: x(
|
|
20
|
+
"sticky left-0 top-0 z-10 bg-white font-medium text-[18px] leading-[24px] text-graySoft3 border-r border-greyLight",
|
|
21
|
+
"py-[24px] px-[32px] max-tablet:w-[170px] max-tablet:px-4 whitespace-normal"
|
|
22
|
+
),
|
|
23
|
+
children: l == null ? void 0 : l.title
|
|
24
|
+
}
|
|
25
|
+
),
|
|
26
|
+
/* @__PURE__ */ e(
|
|
27
|
+
"div",
|
|
28
|
+
{
|
|
29
|
+
className: x(
|
|
30
|
+
"grid grid-cols-[repeat(4,1fr)] max-tablet:grid-cols-[repeat(4,134px)] gap-[24px] max-tablet:gap-0 w-full"
|
|
31
|
+
),
|
|
32
|
+
children: (s = l == null ? void 0 : l.columns) == null ? void 0 : s.map((a) => /* @__PURE__ */ r(
|
|
33
|
+
"div",
|
|
34
|
+
{
|
|
35
|
+
className: x(
|
|
36
|
+
"w-full flex flex-col gap-2",
|
|
37
|
+
"py-[24px] max-tablet:last:py-[10px] max-tablet:px-[12px] max-tablet:last:pb-0 max-tablet:w-134px]"
|
|
38
|
+
),
|
|
39
|
+
children: [
|
|
40
|
+
/* @__PURE__ */ r("div", { className: "flex flex-row items-start gap-2 w-[240px] max-tablet:w-full", children: [
|
|
41
|
+
(a == null ? void 0 : a.is_marked) === null ? null : a != null && a.is_marked ? /* @__PURE__ */ e(
|
|
42
|
+
g,
|
|
43
|
+
{
|
|
44
|
+
src: c,
|
|
45
|
+
alt: "check",
|
|
46
|
+
width: 20,
|
|
47
|
+
height: 20,
|
|
48
|
+
className: "flex items-center justify-center"
|
|
49
|
+
}
|
|
50
|
+
) : /* @__PURE__ */ e(
|
|
51
|
+
g,
|
|
52
|
+
{
|
|
53
|
+
src: p,
|
|
54
|
+
alt: "cross",
|
|
55
|
+
width: 20,
|
|
56
|
+
height: 20,
|
|
57
|
+
className: "flex items-center justify-center"
|
|
58
|
+
}
|
|
59
|
+
),
|
|
60
|
+
(a == null ? void 0 : a.title) && /* @__PURE__ */ e("p", { className: "text-[18px] leading-[26px] font-medium m-0 break-words", children: a == null ? void 0 : a.title })
|
|
61
|
+
] }),
|
|
62
|
+
(a == null ? void 0 : a.description) && /* @__PURE__ */ e("div", { className: "text-[14px] leading-[20px] text-graySoft3 max-tablet:text-[13px] max-tablet:leading-[16px]", children: a == null ? void 0 : a.description })
|
|
63
|
+
]
|
|
64
|
+
},
|
|
65
|
+
a == null ? void 0 : a.id
|
|
66
|
+
))
|
|
67
|
+
}
|
|
68
|
+
)
|
|
69
|
+
]
|
|
70
|
+
}
|
|
71
|
+
);
|
|
72
|
+
};
|
|
73
|
+
export {
|
|
74
|
+
b as CardMarkedRow
|
|
75
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|