md-components-mdigial-azamat 0.0.32 → 0.0.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Actions/downloadFile/downloadFile.js +28 -0
- package/dist/Actions/index.js +13 -0
- package/dist/Actions/types.js +9 -0
- package/dist/AllComponents.js +29 -9
- package/dist/AnimatedSwiper/Slide/Slide.js +29 -29
- package/dist/AnimatedSwiper/index.js +10 -137
- package/dist/Banner/Banner.js +152 -8
- package/dist/Banner/index.js +2 -2
- package/dist/BannerAndText/index.js +56 -27
- package/dist/CardIconList/CardIconList.js +81 -26
- package/dist/CardIconList/index.js +2 -2
- package/dist/CardImageList/CardImageList.js +75 -8
- package/dist/CardImageList/index.js +1 -1
- package/dist/CardImageSecondary/CardImageSecondary.js +57 -27
- package/dist/CardImageSecondary/index.js +2 -2
- package/dist/CardImageSecondaryList/CardImageSecondaryList.js +27 -4
- package/dist/CardImageSecondaryList/index.js +1 -1
- package/dist/CardInfoTable/index.js +187 -26
- package/dist/Cards/CardImage/CardImage.js +2 -2
- package/dist/Cards/ColoredCard/index.js +2 -2
- package/dist/Cards/ContentCard/ContentCard.js +38 -5
- package/dist/Cards/ContentCard/index.js +2 -2
- package/dist/Cards/FeaturesCard/index.js +3 -3
- package/dist/Cards/WarningCard/WarningCard.js +58 -6
- package/dist/Cards/WarningCard/index.js +1 -1
- package/dist/Cards/WarningCard/model.js +39 -7
- package/dist/ComponentContainer-cdb2528c.js +16 -0
- package/dist/ContentCardList/ContentCardList.js +34 -25
- package/dist/ContentCardList/index.js +2 -2
- package/dist/DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js +41 -5
- package/dist/DownloadFile/components/DownloadFileBanner/index.js +2 -2
- package/dist/DownloadFile/components/DownloadFileBright/index.js +74 -8
- package/dist/DownloadFile/components/DownloadFileFull/DownloadFileFull.js +50 -5
- package/dist/DownloadFile/components/DownloadFileFull/index.js +1 -1
- package/dist/DownloadFile/components/DownloadFileHalf/DownloadFileHalf.js +46 -5
- package/dist/DownloadFile/components/DownloadFileHalf/index.js +2 -2
- package/dist/DownloadFile/components/DownloadFileMini/DownloadFileMini.js +56 -5
- package/dist/DownloadFile/components/DownloadFileMini/index.js +2 -2
- package/dist/Faq/Faq.js +44 -24
- package/dist/Faq/components/Collapse/Collapse.js +37 -19
- package/dist/Faq/components/FeedbackForm/FeedbackForm.js +1061 -4
- package/dist/Faq/components/FeedbackForm/index.js +2 -2
- package/dist/Faq/components/PlusMinusIcon/PlusMinusIcon.js +1 -1
- package/dist/Faq/index.js +2 -2
- package/dist/Footer/Footer.js +452 -0
- package/dist/Footer/components/ContactOfFooter/ContactOfFooter.js +34 -0
- package/dist/Footer/components/LinkToApp/LinkToApp.js +45 -0
- package/dist/Footer/components/LinkToAppMobile/LinkToAppMobile.js +28 -0
- package/dist/Footer/components/ListNavigation/ListNavigation.js +221 -0
- package/dist/Footer/components/NavigationFooter/NavigationFooter.js +31 -0
- package/dist/Footer/components/SocialButtonsList/SocialButtonsList.js +37 -0
- package/dist/Footer/types.js +1 -0
- package/dist/GooglePlayButton-35331c37.js +100 -0
- package/dist/Header/Header.js +8 -0
- package/dist/Header/components/HeaderCard/HeaderCard.js +37 -0
- package/dist/Header/components/HeaderCard/index.js +4 -0
- package/dist/Header/components/HeaderMainMobile/HeaderMainMobile.js +208 -0
- package/dist/Header/components/HeaderMenu/HeaderMenu.js +41 -0
- package/dist/Header/components/HeaderMenu/index.js +1 -0
- package/dist/Header/components/HeaderMenuMobile/HeaderMenuMobile.js +47 -0
- package/dist/Header/components/HeaderMobile/HeaderMobile.js +11 -0
- package/dist/Header/components/HeaderMobile/index.js +4 -0
- package/dist/Header/components/HeaderResults/HeaderResults.js +46 -0
- package/dist/Header/components/HeaderResults/index.js +4 -0
- package/dist/Header/components/HeaderSearch/HeaderSearch.js +13 -0
- package/dist/Header/components/HeaderSearch/index.js +4 -0
- package/dist/Header/components/HeaderSearchMobile/HeaderSearchMobile.js +78 -0
- package/dist/Header/components/HeaderTab/HeaderTab.js +34 -0
- package/dist/Header/components/HeaderTab/index.js +4 -0
- package/dist/Header/components/HeaderTabsMobile/HeaderTabsMobile.js +55 -0
- package/dist/Header/components/HeaderWeb/HeaderWeb.js +149 -0
- package/dist/Header/components/HeaderWeb/index.js +4 -0
- package/dist/Header/components/SelectLanguage/SelectLanguage.js +79 -0
- package/dist/Header/components/SelectLanguage/index.js +4 -0
- package/dist/Header/components/TabsOutlined/TabsOutlined.js +50 -0
- package/dist/Header/components/TabsOutlined/index.js +4 -0
- package/dist/Header/const.js +4 -0
- package/dist/Header/index.js +4 -0
- package/dist/Header/types.js +5 -0
- package/dist/HeroPossibilityBanner/index.js +1 -1
- package/dist/HtmlContent/HtmlContent.js +1 -1
- package/dist/Icon-70ea6cb8.js +187 -0
- package/dist/InfoBanner/index.js +89 -7
- package/dist/InfoBannerList/InfoBannerList.js +5 -5
- package/dist/InfoBannerList/index.js +2 -2
- package/dist/InstructionList/InstructionList.js +6 -4
- package/dist/InstructionList/components/InstructionCard/InstructionCard.js +47 -66
- package/dist/InstructionList/components/InstructionCard/index.js +1 -1
- package/dist/InstructionList/components/InstructionModal/InstructionModal.js +2 -2
- package/dist/InstructionList/index.js +1 -1
- package/dist/IntroBanner/IntroBanner.js +68 -6
- package/dist/IntroBanner/index.js +1 -1
- package/dist/MainBanner/MainBanner.js +84 -6
- package/dist/MainBanner/index.js +2 -2
- package/dist/MultiCards/index.js +88 -5
- package/dist/PageViewer/PageViewer.js +22 -5
- package/dist/PageViewer/renderComponents.js +1 -1
- package/dist/Partners/Partners.js +2 -2
- package/dist/PartnersColors/PartnersColors.js +1 -1
- package/dist/PartnersColors/components/PartnerCard/PartnerCard.js +1 -1
- package/dist/PartnersColors/components/PartnerTab/PartnerTab.js +2 -2
- package/dist/PreviewList/PreviewList.js +4 -2
- package/dist/PreviewList/components/PreviewCard/PreviewCard.js +45 -3
- package/dist/PreviewList/components/PreviewCard/index.js +2 -2
- package/dist/PreviewList/index.js +1 -1
- package/dist/PromoPoster/PromoPoster.js +7 -48
- package/dist/RenderAllComponents/RenderAllComponents.js +1 -1
- package/dist/RenderAllComponents/const.js +11 -11
- package/dist/Segments/Segments.js +1 -1
- package/dist/StandartTable/components/CardMarkedRow/index.js +47 -73
- package/dist/StandartTable/components/CardWarning/index.js +87 -6
- package/dist/StandartTable/index.js +4 -4
- package/dist/Stepper/Stepper.js +50 -6
- package/dist/Stepper/index.js +1 -1
- package/dist/SwiperList/SwiperList.js +11 -97
- package/dist/SwiperList/components/Bullet/Bullet.js +1 -1
- package/dist/SwiperList/components/Slide/Slide.js +6 -6
- package/dist/SwiperList/index.js +1 -1
- package/dist/TasksBanner/TasksBanner.js +9 -123
- package/dist/TasksBanner/index.js +2 -2
- package/dist/TasksBannerList/TasksBannerList.js +5 -30
- package/dist/TasksBannerList/index.js +2 -2
- package/dist/Types/FiledTypes.js +1 -1
- package/dist/Video/VideoFull/VideoFull.js +1 -1
- package/dist/Video/VideoList/VideoList.js +1 -1
- package/dist/Video/VideoListMini/VideoListMini.js +1 -1
- package/dist/Video/components/VideoPlayer/VideoPlayer.js +1 -1
- package/dist/VideoMainBanner/VideoMainBanner.js +168 -7
- package/dist/VideoMainBanner/index.js +2 -2
- package/dist/assets/index.css +1 -1
- package/dist/{cn-d8c04b28.js → cn-6a4bf187.js} +521 -488
- package/dist/componentsMap-e2de87b6.js +68 -0
- package/dist/const-637b0dca.js +27 -0
- package/dist/data.mock-483400cb.js +1713 -0
- package/dist/header-97863d08.js +22 -0
- package/dist/{index-60dfa873.js → index-2265d593.js} +1 -1
- package/dist/index-2fb01942.js +925 -0
- package/dist/index-3a534581.js +261 -0
- package/dist/index-66837af1.js +313 -0
- package/dist/index-6af94f99.js +53 -0
- package/dist/{index-a379154f.js → index-815f0132.js} +2 -2
- package/dist/languages-list-8419e560.js +22 -0
- package/dist/logo-99aa20bd.js +27 -0
- package/dist/main.js +85 -66
- package/dist/mousewheel-865ae601.js +153 -0
- package/dist/palette-b47a76c9.js +46 -0
- package/dist/routes-382632ac.js +7 -0
- package/dist/search-dd4eb6f8.js +5 -0
- package/dist/{swiper-react-c049ea66.js → swiper-react-90953710.js} +760 -935
- package/dist/trash/HeroLargeCards/index.js +1 -1
- package/dist/useClickOutside-197b0df2.js +12 -0
- package/package.json +4 -2
- package/dist/ComponentContainer-0fcc2695.js +0 -16
- package/dist/componentsMap-71c9335f.js +0 -50
- package/dist/index-92f77047.js +0 -4865
- package/dist/model-9e50e351.js +0 -69
- /package/dist/assets/{swiper-react.css → index2.css} +0 -0
- /package/dist/assets/{TasksBanner.css → index3.css} +0 -0
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
const l = ({ props: o }) => {
|
|
2
|
+
if (!o || typeof o != "object")
|
|
3
|
+
return;
|
|
4
|
+
const { link: r, headers: n } = o;
|
|
5
|
+
if (!r)
|
|
6
|
+
return;
|
|
7
|
+
const c = (t) => {
|
|
8
|
+
const e = document.createElement("a");
|
|
9
|
+
e.href = t, e.download = "", e.rel = "noopener noreferrer", e.target = "_blank", document.body.appendChild(e), e.click(), e.remove();
|
|
10
|
+
};
|
|
11
|
+
if (n && Object.keys(n).length > 0) {
|
|
12
|
+
fetch(r, { headers: n }).then((t) => {
|
|
13
|
+
if (!t.ok)
|
|
14
|
+
throw new Error(`Failed to download file: ${t.status}`);
|
|
15
|
+
return t.blob();
|
|
16
|
+
}).then((t) => {
|
|
17
|
+
const e = URL.createObjectURL(t);
|
|
18
|
+
c(e), URL.revokeObjectURL(e);
|
|
19
|
+
}).catch((t) => {
|
|
20
|
+
console.error(t);
|
|
21
|
+
});
|
|
22
|
+
return;
|
|
23
|
+
}
|
|
24
|
+
c(r);
|
|
25
|
+
};
|
|
26
|
+
export {
|
|
27
|
+
l as downloadFile
|
|
28
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Actions as r } from "./types.js";
|
|
2
|
+
const c = {
|
|
3
|
+
[r.downloadFile.key]: async () => (await import("./downloadFile/downloadFile.js")).downloadFile
|
|
4
|
+
}, a = async (o, t) => {
|
|
5
|
+
const n = c[o];
|
|
6
|
+
if (!n)
|
|
7
|
+
throw new Error(`Unknown project action: ${o}`);
|
|
8
|
+
return (await n())(t);
|
|
9
|
+
};
|
|
10
|
+
export {
|
|
11
|
+
c as ProjectActions,
|
|
12
|
+
a as invokeProjectAction
|
|
13
|
+
};
|
package/dist/AllComponents.js
CHANGED
|
@@ -1,26 +1,46 @@
|
|
|
1
|
-
import
|
|
2
|
-
import "./
|
|
1
|
+
import "./data.mock-483400cb.js";
|
|
2
|
+
import "./index-66837af1.js";
|
|
3
|
+
import "./Banner/Banner.js";
|
|
4
|
+
import "./CardIconList/CardIconList.js";
|
|
5
|
+
import "./CardImageList/CardImageList.js";
|
|
6
|
+
import "./CardImageSecondaryList/CardImageSecondaryList.js";
|
|
7
|
+
import "./CardInfoTable/index.js";
|
|
8
|
+
import "./ContentCardList/ContentCardList.js";
|
|
9
|
+
import "./DownloadFile/components/DownloadFileBright/index.js";
|
|
10
|
+
import "./Faq/Faq.js";
|
|
11
|
+
import { f as R, A as S } from "./index-2fb01942.js";
|
|
12
|
+
import "./IntroBanner/IntroBanner.js";
|
|
13
|
+
import "./MainBanner/MainBanner.js";
|
|
14
|
+
import "./MultiCards/index.js";
|
|
3
15
|
import "./Partners/Partners.js";
|
|
4
16
|
import "./PartnersColors/PartnersColors.js";
|
|
5
|
-
import "./PromoPoster/PromoPoster.js";
|
|
6
17
|
import "./Segments/Segments.js";
|
|
7
|
-
import "./
|
|
8
|
-
import "./TasksBannerList/TasksBannerList.js";
|
|
18
|
+
import "./Stepper/Stepper.js";
|
|
9
19
|
import "./Video/VideoFull/VideoFull.js";
|
|
10
20
|
import "./Video/VideoList/VideoList.js";
|
|
11
21
|
import "./Video/VideoListMini/VideoListMini.js";
|
|
22
|
+
import "./VideoMainBanner/VideoMainBanner.js";
|
|
12
23
|
import "./ConfigProvider/index.js";
|
|
24
|
+
import "./BannerAndText/index.js";
|
|
25
|
+
import "./Footer/Footer.js";
|
|
13
26
|
import "./HtmlContent/HtmlContent.js";
|
|
14
27
|
import "./HeroPossibilityBanner/index.js";
|
|
15
28
|
import "./Cards/CardImage/CardImage.js";
|
|
29
|
+
import "./Cards/ContentCard/ContentCard.js";
|
|
30
|
+
import "./Cards/WarningCard/WarningCard.js";
|
|
16
31
|
import "./Cards/ColoredCard/index.js";
|
|
17
|
-
import "./index-
|
|
32
|
+
import "./index-815f0132.js";
|
|
33
|
+
import "./DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js";
|
|
34
|
+
import "./DownloadFile/components/DownloadFileFull/DownloadFileFull.js";
|
|
35
|
+
import "./DownloadFile/components/DownloadFileHalf/DownloadFileHalf.js";
|
|
36
|
+
import "./DownloadFile/components/DownloadFileMini/DownloadFileMini.js";
|
|
18
37
|
import "./Faq/components/Collapse/Collapse.js";
|
|
19
38
|
import "react/jsx-runtime";
|
|
20
39
|
import "react";
|
|
21
|
-
import "./
|
|
40
|
+
import "./index-6af94f99.js";
|
|
41
|
+
import "./const-637b0dca.js";
|
|
22
42
|
import "./Space/Space.js";
|
|
23
43
|
export {
|
|
24
|
-
|
|
25
|
-
|
|
44
|
+
R as AllComponents,
|
|
45
|
+
S as AllComponentsData
|
|
26
46
|
};
|
|
@@ -1,51 +1,51 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { c as
|
|
3
|
-
import { I as
|
|
4
|
-
import '../../assets/swiper.css';/* empty css */const
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}) => /* @__PURE__ */
|
|
1
|
+
import { jsxs as l, jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { c as e, a as i } from "../../cn-6a4bf187.js";
|
|
3
|
+
import { I as s } from "../../index-2265d593.js";
|
|
4
|
+
import '../../assets/swiper.css';/* empty css */const f = ({
|
|
5
|
+
className: n,
|
|
6
|
+
isLight: t = !1,
|
|
7
|
+
imgClassName: o,
|
|
8
|
+
imgStyle: x,
|
|
9
|
+
title: r
|
|
10
|
+
}) => /* @__PURE__ */ l(
|
|
11
11
|
"div",
|
|
12
12
|
{
|
|
13
|
-
className:
|
|
13
|
+
className: e(
|
|
14
14
|
"relative flex flex-col gap-[32px] p-[32px] h-full w-full rounded-[20px] overflow-hidden bg-black8 transition-all duration-500 ease-in-out max-tablet:p-[24px] max-tablet:gap-[24px]",
|
|
15
|
-
|
|
16
|
-
{ "bg-white":
|
|
15
|
+
n,
|
|
16
|
+
{ "bg-white": t }
|
|
17
17
|
),
|
|
18
18
|
children: [
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
icon && /* @__PURE__ */ a(
|
|
20
|
+
s,
|
|
21
21
|
{
|
|
22
|
-
src:
|
|
23
|
-
alt:
|
|
22
|
+
src: icon,
|
|
23
|
+
alt: r,
|
|
24
24
|
width: 80,
|
|
25
25
|
height: 80,
|
|
26
|
-
className:
|
|
27
|
-
imageStyles:
|
|
26
|
+
className: e("transition-all duration-500", o),
|
|
27
|
+
imageStyles: e("transition-all duration-500", x)
|
|
28
28
|
}
|
|
29
29
|
),
|
|
30
|
-
/* @__PURE__ */
|
|
31
|
-
/* @__PURE__ */
|
|
30
|
+
/* @__PURE__ */ l("div", { className: "flex flex-col gap-[12px] max-tablet:gap-[8px]", children: [
|
|
31
|
+
/* @__PURE__ */ a(
|
|
32
32
|
"p",
|
|
33
33
|
{
|
|
34
|
-
className:
|
|
34
|
+
className: i(
|
|
35
35
|
"text-white4 text-[24px] font-bold leading-[32px] m-0 transition-all duration-500 ease-in-ou max-tablet:text-[24px] max-tablet:leading-[28px]",
|
|
36
|
-
{ "!text-black2":
|
|
36
|
+
{ "!text-black2": t }
|
|
37
37
|
),
|
|
38
|
-
children:
|
|
38
|
+
children: data == null ? void 0 : data.title
|
|
39
39
|
}
|
|
40
40
|
),
|
|
41
|
-
/* @__PURE__ */
|
|
41
|
+
/* @__PURE__ */ a(
|
|
42
42
|
"p",
|
|
43
43
|
{
|
|
44
|
-
className:
|
|
44
|
+
className: i(
|
|
45
45
|
"text-white4 text-[15px] font-normal leading-[24px] m-0 transition-all duration-500 [font-variant-numeric:lining-nums_tabular-nums_stacked-fractions] [font-feature-settings:'clig'_off,'liga'_off] max-tablet:text-[14px] max-tablet:leading-[20px]",
|
|
46
|
-
{ "!text-graySoft":
|
|
46
|
+
{ "!text-graySoft": t }
|
|
47
47
|
),
|
|
48
|
-
children:
|
|
48
|
+
children: data == null ? void 0 : data.description
|
|
49
49
|
}
|
|
50
50
|
)
|
|
51
51
|
] })
|
|
@@ -53,5 +53,5 @@ import '../../assets/swiper.css';/* empty css */const g = ({
|
|
|
53
53
|
}
|
|
54
54
|
);
|
|
55
55
|
export {
|
|
56
|
-
|
|
56
|
+
f as Slide
|
|
57
57
|
};
|
|
@@ -1,139 +1,12 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
|
|
10
|
-
type: "cards",
|
|
11
|
-
label: "Карточки слайдера",
|
|
12
|
-
dataType: "array",
|
|
13
|
-
data: {
|
|
14
|
-
title: l.TITLE,
|
|
15
|
-
description: l.DESCRIPTION,
|
|
16
|
-
image: l.FILE,
|
|
17
|
-
icon: l.FILE,
|
|
18
|
-
is_black: l.BOOLEAN,
|
|
19
|
-
is_promo: l.BOOLEAN,
|
|
20
|
-
is_yellow: l.BOOLEAN
|
|
21
|
-
}
|
|
22
|
-
}, P = [
|
|
23
|
-
"title",
|
|
24
|
-
F,
|
|
25
|
-
"autoplay",
|
|
26
|
-
"isLight",
|
|
27
|
-
"isButton"
|
|
28
|
-
];
|
|
29
|
-
function _({
|
|
30
|
-
title: f,
|
|
31
|
-
cards: t,
|
|
32
|
-
autoplay: g = !1,
|
|
33
|
-
isLight: b = !1,
|
|
34
|
-
isButton: x = !0
|
|
35
|
-
}) {
|
|
36
|
-
const [n, m] = A(1), w = c(null), o = R(960), i = o ? 1.2 : 3, S = o ? 16 : 0, y = g ? {
|
|
37
|
-
delay: 3e3,
|
|
38
|
-
disableOnInteraction: !1,
|
|
39
|
-
waitForTransition: !0
|
|
40
|
-
} : !1, d = c(null), u = c(null), v = t.length <= i + 1 ? [...t, ...t] : t, N = t.length <= i + 1 ? n % t.length : n;
|
|
41
|
-
return /* @__PURE__ */ h("div", { className: "flex flex-col items-center gap-6 h-fit max-w-[1232px] w-full mx-auto px-4 relative max-tablet:max-w-full max-tablet:p-0", children: [
|
|
42
|
-
f && /* @__PURE__ */ e("p", { className: "text-[44px] leading-[52px] font-bold text-center mb-[48px]", children: f }),
|
|
43
|
-
/* @__PURE__ */ h("div", { className: "relative w-full h-[346px] max-tablet:h-fit", children: [
|
|
44
|
-
/* @__PURE__ */ e(
|
|
45
|
-
E,
|
|
46
|
-
{
|
|
47
|
-
modules: [I, C],
|
|
48
|
-
className: "feature_swiper",
|
|
49
|
-
initialSlide: 0,
|
|
50
|
-
slidesPerView: i,
|
|
51
|
-
spaceBetween: S,
|
|
52
|
-
centeredSlides: !0,
|
|
53
|
-
speed: 500,
|
|
54
|
-
autoplay: y,
|
|
55
|
-
onSwiper: (a) => {
|
|
56
|
-
w.current = a, m(a.realIndex);
|
|
57
|
-
},
|
|
58
|
-
onBeforeTransitionStart: (a) => {
|
|
59
|
-
let s = a.realIndex;
|
|
60
|
-
m(s);
|
|
61
|
-
},
|
|
62
|
-
navigation: {
|
|
63
|
-
nextEl: d.current,
|
|
64
|
-
prevEl: u.current
|
|
65
|
-
},
|
|
66
|
-
loop: !0,
|
|
67
|
-
children: v.map((a, s) => {
|
|
68
|
-
const p = s === n;
|
|
69
|
-
return /* @__PURE__ */ e(T, { children: /* @__PURE__ */ e(
|
|
70
|
-
z,
|
|
71
|
-
{
|
|
72
|
-
data: a,
|
|
73
|
-
className: r(
|
|
74
|
-
"h-[314px] transition-all duration-500 transform scale-[0.85] relative max-tablet:h-[288px] max-tablet:scale-100",
|
|
75
|
-
{
|
|
76
|
-
"!h-[346px] !w-full transform scale-100 flex flex-col gap-[40px] md:h-auto md:gap-6": p && !o
|
|
77
|
-
}
|
|
78
|
-
),
|
|
79
|
-
imgClassName: r({
|
|
80
|
-
"h-[122px] w-[122px]": p && !o
|
|
81
|
-
}),
|
|
82
|
-
imgStyle: r({
|
|
83
|
-
"h-[122px] w-[122px]": p && !o
|
|
84
|
-
}),
|
|
85
|
-
isLight: b
|
|
86
|
-
}
|
|
87
|
-
) }, a.id);
|
|
88
|
-
})
|
|
89
|
-
}
|
|
90
|
-
),
|
|
91
|
-
x && /* @__PURE__ */ e(
|
|
92
|
-
"button",
|
|
93
|
-
{
|
|
94
|
-
ref: u,
|
|
95
|
-
className: r(
|
|
96
|
-
"absolute h-[40px] w-[40px] left-0 top-[200px] translate-x-[-50%] translate-y-[-50%] z-10 p-[8px] rounded-[50%] bg-graySoft border-none cursor-pointer max-tablet:hidden"
|
|
97
|
-
),
|
|
98
|
-
children: /* @__PURE__ */ e(
|
|
99
|
-
B,
|
|
100
|
-
{
|
|
101
|
-
size: 24,
|
|
102
|
-
color: "#ffffff"
|
|
103
|
-
}
|
|
104
|
-
)
|
|
105
|
-
}
|
|
106
|
-
),
|
|
107
|
-
x && /* @__PURE__ */ e(
|
|
108
|
-
"button",
|
|
109
|
-
{
|
|
110
|
-
ref: d,
|
|
111
|
-
className: r(
|
|
112
|
-
"absolute h-[40px] w-[40px] right-0 top-[200px] translate-x-[-50%] translate-y-[-50%] z-10 p-[8px] rounded-[50%] bg-graySoft border-none cursor-pointer max-tablet:hidden"
|
|
113
|
-
),
|
|
114
|
-
children: /* @__PURE__ */ e(
|
|
115
|
-
L,
|
|
116
|
-
{
|
|
117
|
-
size: 24,
|
|
118
|
-
color: "#ffffff"
|
|
119
|
-
}
|
|
120
|
-
)
|
|
121
|
-
}
|
|
122
|
-
)
|
|
123
|
-
] }),
|
|
124
|
-
t.length && /* @__PURE__ */ e(
|
|
125
|
-
O,
|
|
126
|
-
{
|
|
127
|
-
count: t.length,
|
|
128
|
-
active: N,
|
|
129
|
-
activeColor: "#16A34A",
|
|
130
|
-
anActiveColor: "#A6B2BA",
|
|
131
|
-
className: "mt-[24px]"
|
|
132
|
-
}
|
|
133
|
-
)
|
|
134
|
-
] });
|
|
135
|
-
}
|
|
136
|
-
_.propsToEdit = P;
|
|
1
|
+
import "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
import { A as l } from "../index-66837af1.js";
|
|
4
|
+
import "../SwiperList/components/Bullet/Bullet.js";
|
|
5
|
+
import "../Types/FiledTypes.js";
|
|
6
|
+
import "../swiper-react-90953710.js";
|
|
7
|
+
import "../cn-6a4bf187.js";
|
|
8
|
+
import "../useScreenSize-c1b64c02.js";
|
|
9
|
+
import "./Slide/Slide.js";
|
|
137
10
|
export {
|
|
138
|
-
|
|
11
|
+
l as default
|
|
139
12
|
};
|
package/dist/Banner/Banner.js
CHANGED
|
@@ -1,10 +1,154 @@
|
|
|
1
|
-
import "react/jsx-runtime";
|
|
2
|
-
import "../Types/FiledTypes.js";
|
|
3
|
-
import { B as
|
|
4
|
-
import "../
|
|
5
|
-
import "../
|
|
6
|
-
import "../
|
|
7
|
-
import "../
|
|
1
|
+
import { jsx as t, jsxs as o } from "react/jsx-runtime";
|
|
2
|
+
import { FieldTypes as x } from "../Types/FiledTypes.js";
|
|
3
|
+
import { B as b } from "../index-6af94f99.js";
|
|
4
|
+
import { b as N, c as _ } from "../const-637b0dca.js";
|
|
5
|
+
import { C as y } from "../ComponentContainer-cdb2528c.js";
|
|
6
|
+
import { I as g } from "../index-2265d593.js";
|
|
7
|
+
import { c as a } from "../cn-6a4bf187.js";
|
|
8
|
+
import { u as v } from "../useScreenSize-c1b64c02.js";
|
|
9
|
+
const u = {
|
|
10
|
+
type: "qr",
|
|
11
|
+
label: "QR Блок",
|
|
12
|
+
dataType: "object",
|
|
13
|
+
data: {
|
|
14
|
+
keys: {
|
|
15
|
+
banner_qr: x.LINK,
|
|
16
|
+
banner_qr_text: x.DESCRIPTION,
|
|
17
|
+
banner_title: x.TITLE,
|
|
18
|
+
color_text: x.COLOR,
|
|
19
|
+
button: N
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}, j = [
|
|
23
|
+
"bg_image",
|
|
24
|
+
"image",
|
|
25
|
+
"title",
|
|
26
|
+
"text_color",
|
|
27
|
+
"description",
|
|
28
|
+
_,
|
|
29
|
+
u
|
|
30
|
+
], k = ({
|
|
31
|
+
bg_image: h,
|
|
32
|
+
image: r,
|
|
33
|
+
title: i,
|
|
34
|
+
text_color: s = "inherit",
|
|
35
|
+
description: c,
|
|
36
|
+
buttons: m,
|
|
37
|
+
qr: e
|
|
38
|
+
}) => {
|
|
39
|
+
var p, f, d;
|
|
40
|
+
const n = v(960);
|
|
41
|
+
return /* @__PURE__ */ t(y, { children: /* @__PURE__ */ o(
|
|
42
|
+
"div",
|
|
43
|
+
{
|
|
44
|
+
className: a(
|
|
45
|
+
"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"
|
|
46
|
+
),
|
|
47
|
+
style: {
|
|
48
|
+
backgroundImage: `url(${h})`
|
|
49
|
+
},
|
|
50
|
+
children: [
|
|
51
|
+
/* @__PURE__ */ o("div", { className: " flex flex-col gap-4 w-[40%] max-tablet:w-full justify-center p-12 max-tablet:p-8", children: [
|
|
52
|
+
i && /* @__PURE__ */ t(
|
|
53
|
+
"p",
|
|
54
|
+
{
|
|
55
|
+
className: a(
|
|
56
|
+
"text-[32px] font-bold leading-[40px] text-left text-black m-0 max-tablet:text-center max-tablet:text-[24px] max-tablet:leading-[28px]"
|
|
57
|
+
),
|
|
58
|
+
style: { color: s },
|
|
59
|
+
children: i
|
|
60
|
+
}
|
|
61
|
+
),
|
|
62
|
+
c && /* @__PURE__ */ t(
|
|
63
|
+
"p",
|
|
64
|
+
{
|
|
65
|
+
className: a(
|
|
66
|
+
"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]"
|
|
67
|
+
),
|
|
68
|
+
style: { color: s },
|
|
69
|
+
children: c
|
|
70
|
+
}
|
|
71
|
+
),
|
|
72
|
+
!!m && /* @__PURE__ */ t("div", { className: "flex items-center gap-4 mt-6 max-tablet:flex-col max-tablet:gap-[10px] max-tablet:mt-[5px]", children: m == null ? void 0 : m.map((l, w) => /* @__PURE__ */ t(
|
|
73
|
+
"a",
|
|
74
|
+
{
|
|
75
|
+
href: (l == null ? void 0 : l.link) || "#",
|
|
76
|
+
className: a("w-fit z-10 max-tablet:w-full"),
|
|
77
|
+
target: "_blank",
|
|
78
|
+
rel: "noopener noreferrer",
|
|
79
|
+
children: /* @__PURE__ */ t(
|
|
80
|
+
b,
|
|
81
|
+
{
|
|
82
|
+
variant: l.variant,
|
|
83
|
+
className: "w-[200px] max-tablet:w-full",
|
|
84
|
+
title: l == null ? void 0 : l.title
|
|
85
|
+
}
|
|
86
|
+
)
|
|
87
|
+
},
|
|
88
|
+
w
|
|
89
|
+
)) }),
|
|
90
|
+
!!e && (n ? /* @__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(
|
|
91
|
+
"a",
|
|
92
|
+
{
|
|
93
|
+
href: ((p = e == null ? void 0 : e.button) == null ? void 0 : p.link) || "#",
|
|
94
|
+
className: a("w-fit z-10 max-tablet:w-full"),
|
|
95
|
+
target: "_blank",
|
|
96
|
+
rel: "noopener noreferrer",
|
|
97
|
+
children: /* @__PURE__ */ t(
|
|
98
|
+
b,
|
|
99
|
+
{
|
|
100
|
+
variant: (f = e == null ? void 0 : e.button) == null ? void 0 : f.variant,
|
|
101
|
+
title: (d = e == null ? void 0 : e.button) == null ? void 0 : d.title,
|
|
102
|
+
className: "w-[200px] max-tablet:w-full"
|
|
103
|
+
}
|
|
104
|
+
)
|
|
105
|
+
}
|
|
106
|
+
) }) : /* @__PURE__ */ o(
|
|
107
|
+
"div",
|
|
108
|
+
{
|
|
109
|
+
className: a(
|
|
110
|
+
"bg-white rounded-[15px] items-center gap-[12px] p-[12px] flex w-[282px] mt-6"
|
|
111
|
+
),
|
|
112
|
+
children: [
|
|
113
|
+
/* @__PURE__ */ t(
|
|
114
|
+
g,
|
|
115
|
+
{
|
|
116
|
+
src: e == null ? void 0 : e.banner_qr,
|
|
117
|
+
alt: e == null ? void 0 : e.banner_qr_text,
|
|
118
|
+
width: 101,
|
|
119
|
+
height: 101
|
|
120
|
+
}
|
|
121
|
+
),
|
|
122
|
+
/* @__PURE__ */ t(
|
|
123
|
+
"p",
|
|
124
|
+
{
|
|
125
|
+
className: a(
|
|
126
|
+
"text-[15px] font-medium leading-[22px] text-center w-[60%] text-graySoft"
|
|
127
|
+
),
|
|
128
|
+
style: { color: e == null ? void 0 : e.color_text },
|
|
129
|
+
children: e == null ? void 0 : e.banner_qr_text
|
|
130
|
+
}
|
|
131
|
+
)
|
|
132
|
+
]
|
|
133
|
+
}
|
|
134
|
+
))
|
|
135
|
+
] }),
|
|
136
|
+
r && /* @__PURE__ */ t(
|
|
137
|
+
g,
|
|
138
|
+
{
|
|
139
|
+
src: r,
|
|
140
|
+
alt: i,
|
|
141
|
+
width: n ? 312 : 588,
|
|
142
|
+
height: n ? 218 : 400,
|
|
143
|
+
className: a("max-tablet:!w-full align-bottom items-end mt-auto"),
|
|
144
|
+
imageStyles: "object-contain object-bottom"
|
|
145
|
+
}
|
|
146
|
+
)
|
|
147
|
+
]
|
|
148
|
+
}
|
|
149
|
+
) });
|
|
150
|
+
};
|
|
151
|
+
k.propsToEdit = j;
|
|
8
152
|
export {
|
|
9
|
-
|
|
153
|
+
k as Banner
|
|
10
154
|
};
|
package/dist/Banner/index.js
CHANGED
|
@@ -1,29 +1,58 @@
|
|
|
1
|
-
import "react/jsx-runtime";
|
|
2
|
-
import "../
|
|
3
|
-
import {
|
|
4
|
-
import "../
|
|
5
|
-
import "../
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
1
|
+
import { jsx as l, jsxs as i } from "react/jsx-runtime";
|
|
2
|
+
import { FieldTypes as o } from "../Types/FiledTypes.js";
|
|
3
|
+
import { C as s } from "../ComponentContainer-cdb2528c.js";
|
|
4
|
+
import { I as a } from "../index-2265d593.js";
|
|
5
|
+
import { c as m } from "../cn-6a4bf187.js";
|
|
6
|
+
const r = {
|
|
7
|
+
type: "banner_card",
|
|
8
|
+
label: "Баннер карточка",
|
|
9
|
+
dataType: "object",
|
|
10
|
+
data: {
|
|
11
|
+
keys: {
|
|
12
|
+
image: o.FILE
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}, x = {
|
|
16
|
+
type: "banner_card",
|
|
17
|
+
label: "Текстовая карточка",
|
|
18
|
+
dataType: "object",
|
|
19
|
+
data: {
|
|
20
|
+
keys: {
|
|
21
|
+
title: o.TITLE,
|
|
22
|
+
description: o.DESCRIPTION,
|
|
23
|
+
color_text: o.COLOR
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}, c = [r, x, "turnover"], n = ({
|
|
27
|
+
banner_card: e,
|
|
28
|
+
text_card: t,
|
|
29
|
+
is_banner_first: p
|
|
30
|
+
}) => /* @__PURE__ */ l(s, { className: "p-0", children: /* @__PURE__ */ i("div", { className: "w-full h-full flex flex-col lg:flex-row items-stretch gap-[24px]", children: [
|
|
31
|
+
(e == null ? void 0 : e.image) && /* @__PURE__ */ l("div", { className: "w-auto rounded-[20px] h-full object-cover", children: /* @__PURE__ */ l(
|
|
32
|
+
a,
|
|
33
|
+
{
|
|
34
|
+
src: e == null ? void 0 : e.image,
|
|
35
|
+
alt: t == null ? void 0 : t.title,
|
|
36
|
+
className: "h-full"
|
|
37
|
+
}
|
|
38
|
+
) }),
|
|
39
|
+
t && /* @__PURE__ */ i(
|
|
40
|
+
"div",
|
|
41
|
+
{
|
|
42
|
+
className: m(
|
|
43
|
+
"w-full flex flex-col bg-white justify-center gap-[11px] rounded-[20px] p-[32px]",
|
|
44
|
+
{
|
|
45
|
+
"order-[-1]": !p
|
|
46
|
+
}
|
|
47
|
+
),
|
|
48
|
+
children: [
|
|
49
|
+
/* @__PURE__ */ l("p", { className: "font-inter text-[32px] leading-[40px] max-tablet:text-[24px] max-tablet:leading-[28px] font-bold", children: t.title }),
|
|
50
|
+
/* @__PURE__ */ l("p", { className: "text-graySoft text-[16px] leading-[24px]", children: t.description })
|
|
51
|
+
]
|
|
52
|
+
}
|
|
53
|
+
)
|
|
54
|
+
] }) });
|
|
55
|
+
n.propsToEdit = c;
|
|
27
56
|
export {
|
|
28
|
-
|
|
57
|
+
n as BannerAndText
|
|
29
58
|
};
|