md-components-mdigial-azamat 0.0.33 → 0.0.36
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/AllComponents.js +29 -5
- package/dist/AnimatedSwiper/Slide/Slide.js +2 -2
- package/dist/AnimatedSwiper/index.js +5 -3
- package/dist/Banner/Banner.js +152 -8
- package/dist/Banner/index.js +2 -2
- package/dist/BannerAndText/index.js +56 -23
- package/dist/CardIconList/CardIconList.js +81 -22
- 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 -23
- package/dist/CardImageSecondary/index.js +1 -1
- package/dist/CardImageSecondaryList/CardImageSecondaryList.js +27 -4
- package/dist/CardImageSecondaryList/index.js +1 -1
- package/dist/CardInfoTable/index.js +187 -22
- 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 -21
- 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 -7
- package/dist/DownloadFile/components/DownloadFileFull/DownloadFileFull.js +49 -6
- 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 -7
- package/dist/DownloadFile/components/DownloadFileMini/index.js +2 -2
- package/dist/Faq/Faq.js +44 -20
- 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 -8
- package/dist/InfoBannerList/InfoBannerList.js +5 -4
- package/dist/InfoBannerList/index.js +2 -2
- package/dist/InstructionList/InstructionList.js +6 -4
- package/dist/InstructionList/components/InstructionCard/InstructionCard.js +31 -7
- package/dist/InstructionList/components/InstructionCard/index.js +2 -2
- 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 -4
- 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 +32 -8
- package/dist/PreviewList/components/PreviewCard/index.js +2 -2
- package/dist/PreviewList/index.js +1 -1
- package/dist/PromoPoster/PromoPoster.js +4 -4
- package/dist/RenderAllComponents/RenderAllComponents.js +1 -1
- package/dist/RenderAllComponents/const.js +11 -11
- package/dist/Segments/Segments.js +10 -10
- package/dist/StandartTable/components/CardMarkedRow/index.js +33 -9
- package/dist/StandartTable/components/CardWarning/index.js +87 -6
- package/dist/StandartTable/index.js +5 -4
- package/dist/Stepper/Stepper.js +50 -6
- package/dist/Stepper/index.js +1 -1
- package/dist/SwiperList/SwiperList.js +5 -4
- package/dist/SwiperList/components/Bullet/Bullet.js +1 -1
- package/dist/SwiperList/index.js +1 -1
- package/dist/TasksBanner/TasksBanner.js +5 -5
- package/dist/TasksBanner/index.js +2 -2
- package/dist/TasksBannerList/TasksBannerList.js +2 -2
- package/dist/TasksBannerList/index.js +1 -1
- package/dist/Video/VideoFull/VideoFull.js +1 -1
- package/dist/Video/VideoList/VideoList.js +15 -15
- package/dist/Video/VideoListMini/VideoListMini.js +14 -14
- 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-d8bad886.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-3a534581.js +261 -0
- package/dist/index-4f8399c3.js +925 -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 +87 -67
- 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/{index-b093f70c.js → swiper-react-90953710.js} +780 -1098
- package/dist/trash/HeroLargeCards/index.js +1 -1
- package/dist/useClickOutside-197b0df2.js +12 -0
- package/dist/useScreenSize-c1b64c02.js +19 -0
- package/package.json +4 -2
- package/dist/ComponentContainer-0fcc2695.js +0 -16
- package/dist/componentsMap-6d7d63d5.js +0 -47
- package/dist/index-b999483f.js +0 -5314
- package/dist/model-9e50e351.js +0 -69
package/dist/AllComponents.js
CHANGED
|
@@ -1,22 +1,46 @@
|
|
|
1
|
-
import
|
|
2
|
-
import "./index-
|
|
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-4f8399c3.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
17
|
import "./Segments/Segments.js";
|
|
18
|
+
import "./Stepper/Stepper.js";
|
|
6
19
|
import "./Video/VideoFull/VideoFull.js";
|
|
7
20
|
import "./Video/VideoList/VideoList.js";
|
|
8
21
|
import "./Video/VideoListMini/VideoListMini.js";
|
|
22
|
+
import "./VideoMainBanner/VideoMainBanner.js";
|
|
9
23
|
import "./ConfigProvider/index.js";
|
|
24
|
+
import "./BannerAndText/index.js";
|
|
25
|
+
import "./Footer/Footer.js";
|
|
10
26
|
import "./HtmlContent/HtmlContent.js";
|
|
11
27
|
import "./HeroPossibilityBanner/index.js";
|
|
12
28
|
import "./Cards/CardImage/CardImage.js";
|
|
29
|
+
import "./Cards/ContentCard/ContentCard.js";
|
|
30
|
+
import "./Cards/WarningCard/WarningCard.js";
|
|
13
31
|
import "./Cards/ColoredCard/index.js";
|
|
14
|
-
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";
|
|
15
37
|
import "./Faq/components/Collapse/Collapse.js";
|
|
16
38
|
import "react/jsx-runtime";
|
|
17
39
|
import "react";
|
|
40
|
+
import "./index-6af94f99.js";
|
|
41
|
+
import "./const-637b0dca.js";
|
|
18
42
|
import "./Space/Space.js";
|
|
19
43
|
export {
|
|
20
|
-
|
|
21
|
-
|
|
44
|
+
R as AllComponents,
|
|
45
|
+
S as AllComponentsData
|
|
22
46
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as l, jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { c as e, a as i } from "../../cn-
|
|
3
|
-
import { I as s } from "../../index-
|
|
2
|
+
import { c as e, a as i } from "../../cn-6a4bf187.js";
|
|
3
|
+
import { I as s } from "../../index-2265d593.js";
|
|
4
4
|
import '../../assets/swiper.css';/* empty css */const f = ({
|
|
5
5
|
className: n,
|
|
6
6
|
isLight: t = !1,
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import { A as
|
|
3
|
+
import { A as l } from "../index-66837af1.js";
|
|
4
4
|
import "../SwiperList/components/Bullet/Bullet.js";
|
|
5
5
|
import "../Types/FiledTypes.js";
|
|
6
|
-
import "../
|
|
6
|
+
import "../swiper-react-90953710.js";
|
|
7
|
+
import "../cn-6a4bf187.js";
|
|
8
|
+
import "../useScreenSize-c1b64c02.js";
|
|
7
9
|
import "./Slide/Slide.js";
|
|
8
10
|
export {
|
|
9
|
-
|
|
11
|
+
l as default
|
|
10
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,25 +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
|
-
|
|
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;
|
|
23
56
|
export {
|
|
24
|
-
|
|
57
|
+
n as BannerAndText
|
|
25
58
|
};
|
|
@@ -1,24 +1,83 @@
|
|
|
1
|
-
import "react/jsx-runtime";
|
|
2
|
-
import "../index-
|
|
3
|
-
import "../
|
|
4
|
-
import {
|
|
5
|
-
import "../
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
1
|
+
import { jsx as a, jsxs as n } from "react/jsx-runtime";
|
|
2
|
+
import { S as l, F as d } from "../index-815f0132.js";
|
|
3
|
+
import { FieldTypes as t } from "../Types/FiledTypes.js";
|
|
4
|
+
import { C as f } from "../ComponentContainer-cdb2528c.js";
|
|
5
|
+
import { c as o } from "../cn-6a4bf187.js";
|
|
6
|
+
const b = {
|
|
7
|
+
type: "cards",
|
|
8
|
+
label: "Карточки",
|
|
9
|
+
dataType: "array",
|
|
10
|
+
data: {
|
|
11
|
+
title: t.TITLE,
|
|
12
|
+
description: t.DESCRIPTION,
|
|
13
|
+
image: t.FILE,
|
|
14
|
+
is_black: t.BOOLEAN,
|
|
15
|
+
variant: t.VARIANT
|
|
16
|
+
}
|
|
17
|
+
}, g = {
|
|
18
|
+
type: "multiHasText",
|
|
19
|
+
label: "Множественные текстовые карточки",
|
|
20
|
+
dataType: "boolean"
|
|
21
|
+
}, h = [b, "title", "size", "turnover", g], u = ({
|
|
22
|
+
cards: r,
|
|
23
|
+
title: i,
|
|
24
|
+
size: c = l.SMALL,
|
|
25
|
+
turnover: x,
|
|
26
|
+
multiHasText: s = !1
|
|
27
|
+
}) => {
|
|
28
|
+
let e;
|
|
29
|
+
switch (c) {
|
|
30
|
+
case l.SMALL:
|
|
31
|
+
e = "flex flex-row items-stretch max-tablet:flex-col";
|
|
32
|
+
break;
|
|
33
|
+
case l.MEDIUM:
|
|
34
|
+
e = "grid grid-cols-3 items-stretch max-tablet:grid-cols-1";
|
|
35
|
+
break;
|
|
36
|
+
case l.LARGE:
|
|
37
|
+
e = "grid grid-cols-2 items-stretch max-tablet:grid-cols-1";
|
|
38
|
+
break;
|
|
39
|
+
default:
|
|
40
|
+
e = "flex flex-row items-stretch max-tablet:flex-col";
|
|
41
|
+
break;
|
|
42
|
+
}
|
|
43
|
+
return /* @__PURE__ */ a(f, { className: o("p-0", { "order-[-1]": x }), children: /* @__PURE__ */ n(
|
|
44
|
+
"div",
|
|
45
|
+
{
|
|
46
|
+
className: o("w-full h-full flex flex-col items-center gap-[24px]"),
|
|
47
|
+
children: [
|
|
48
|
+
i && /* @__PURE__ */ a(
|
|
49
|
+
"p",
|
|
50
|
+
{
|
|
51
|
+
className: `font-bold max-tablet:text-[26px] text-[44px] max-tablet:leading-[32px] leading-[42px]
|
|
52
|
+
mb-[24px] font-variant-numeric font-feature-settings`,
|
|
53
|
+
children: i
|
|
54
|
+
}
|
|
55
|
+
),
|
|
56
|
+
/* @__PURE__ */ a(
|
|
57
|
+
"div",
|
|
58
|
+
{
|
|
59
|
+
className: `${e} gap-[24px] w-full ${s ? "grid grid-cols-2 max-tablet:flex h-full" : "flex flex-row max-tablet:flex-col"}`,
|
|
60
|
+
children: r == null ? void 0 : r.map((p, m) => /* @__PURE__ */ a(
|
|
61
|
+
d,
|
|
62
|
+
{
|
|
63
|
+
data: p,
|
|
64
|
+
size: c,
|
|
65
|
+
className: o(
|
|
66
|
+
{ "h-full": s },
|
|
67
|
+
{
|
|
68
|
+
"col-span-2": s && m === 0
|
|
69
|
+
}
|
|
70
|
+
)
|
|
71
|
+
},
|
|
72
|
+
m
|
|
73
|
+
))
|
|
74
|
+
}
|
|
75
|
+
)
|
|
76
|
+
]
|
|
77
|
+
}
|
|
78
|
+
) });
|
|
79
|
+
};
|
|
80
|
+
u.propsToEdit = h;
|
|
22
81
|
export {
|
|
23
|
-
|
|
82
|
+
u as CardIconList
|
|
24
83
|
};
|
|
@@ -1,10 +1,77 @@
|
|
|
1
|
-
import "react/jsx-runtime";
|
|
2
|
-
import "../Cards/CardImage/CardImage.js";
|
|
3
|
-
import "../Cards/CardImage/types.js";
|
|
4
|
-
import "../Types/FiledTypes.js";
|
|
5
|
-
import {
|
|
6
|
-
import "../
|
|
7
|
-
import "../
|
|
1
|
+
import { jsx as r, jsxs as m } from "react/jsx-runtime";
|
|
2
|
+
import { CardImage as c } from "../Cards/CardImage/CardImage.js";
|
|
3
|
+
import { CardImageVariant as o } from "../Cards/CardImage/types.js";
|
|
4
|
+
import { FieldTypes as a } from "../Types/FiledTypes.js";
|
|
5
|
+
import { B as d } from "../index-6af94f99.js";
|
|
6
|
+
import { b as f } from "../const-637b0dca.js";
|
|
7
|
+
import { C as x } from "../ComponentContainer-cdb2528c.js";
|
|
8
|
+
import { c as n } from "../cn-6a4bf187.js";
|
|
9
|
+
const g = {
|
|
10
|
+
type: "cards",
|
|
11
|
+
dataType: "array",
|
|
12
|
+
label: "Карточки",
|
|
13
|
+
data: {
|
|
14
|
+
title: a.TITLE,
|
|
15
|
+
description: a.DESCRIPTION,
|
|
16
|
+
image: a.FILE,
|
|
17
|
+
is_black: a.BOOLEAN,
|
|
18
|
+
variant: {
|
|
19
|
+
options: [
|
|
20
|
+
{
|
|
21
|
+
label: "Large",
|
|
22
|
+
value: o.LARGE
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
label: "Small",
|
|
26
|
+
value: o.SMALL
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
type: a.VARIANT
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}, h = [g, "title", "grid", f], v = ({
|
|
33
|
+
cards: t,
|
|
34
|
+
title: i,
|
|
35
|
+
grid: p,
|
|
36
|
+
button: l
|
|
37
|
+
}) => /* @__PURE__ */ r(x, { children: /* @__PURE__ */ m("div", { className: "w-full flex flex-col items-center gap-6", children: [
|
|
38
|
+
i && /* @__PURE__ */ r(
|
|
39
|
+
"p",
|
|
40
|
+
{
|
|
41
|
+
className: `font-bold max-tablet:text-[26px] text-[44px] max-tablet:leading-[32px] leading-[42px]
|
|
42
|
+
mb-[24px] font-variant-numeric font-feature-settings`,
|
|
43
|
+
children: i
|
|
44
|
+
}
|
|
45
|
+
),
|
|
46
|
+
/* @__PURE__ */ r(
|
|
47
|
+
"div",
|
|
48
|
+
{
|
|
49
|
+
className: n(
|
|
50
|
+
`grid grid-cols-${p} items-stretch gap-6`,
|
|
51
|
+
"max-tablet:grid-cols-1"
|
|
52
|
+
),
|
|
53
|
+
children: t == null ? void 0 : t.map((e) => /* @__PURE__ */ r(
|
|
54
|
+
c,
|
|
55
|
+
{
|
|
56
|
+
data: e
|
|
57
|
+
},
|
|
58
|
+
e == null ? void 0 : e.id
|
|
59
|
+
))
|
|
60
|
+
}
|
|
61
|
+
),
|
|
62
|
+
!!(l != null && l.length) && /* @__PURE__ */ r("div", { className: "flex flex-wrap gap-4", children: l.map((e, s) => /* @__PURE__ */ r(
|
|
63
|
+
"a",
|
|
64
|
+
{
|
|
65
|
+
href: (e == null ? void 0 : e.link) || "#",
|
|
66
|
+
className: n("w-fit z-10 max-tablet:w-full"),
|
|
67
|
+
target: "_blank",
|
|
68
|
+
rel: "noopener noreferrer",
|
|
69
|
+
children: /* @__PURE__ */ r(d, { variant: e.variant, children: e.text })
|
|
70
|
+
},
|
|
71
|
+
s
|
|
72
|
+
)) })
|
|
73
|
+
] }) });
|
|
74
|
+
v.propsToEdit = h;
|
|
8
75
|
export {
|
|
9
|
-
|
|
76
|
+
v as CardImageList
|
|
10
77
|
};
|
|
@@ -1,25 +1,59 @@
|
|
|
1
|
-
import "react/jsx-runtime";
|
|
2
|
-
import "../
|
|
3
|
-
import {
|
|
4
|
-
import "../
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
1
|
+
import { jsxs as c, jsx as x } from "react/jsx-runtime";
|
|
2
|
+
import { FieldTypes as o } from "../Types/FiledTypes.js";
|
|
3
|
+
import { I as m } from "../index-2265d593.js";
|
|
4
|
+
import { c as t } from "../cn-6a4bf187.js";
|
|
5
|
+
const r = {
|
|
6
|
+
type: "data",
|
|
7
|
+
label: "Данные",
|
|
8
|
+
dataType: o.OBJECT,
|
|
9
|
+
data: {
|
|
10
|
+
keys: {
|
|
11
|
+
title: o.TITLE,
|
|
12
|
+
icon: o.FILE
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}, i = [r, "turnover"], s = ({ data: e, turnover: l, imageStyles: p }) => /* @__PURE__ */ c(
|
|
16
|
+
"div",
|
|
17
|
+
{
|
|
18
|
+
className: t(
|
|
19
|
+
"flex flex-col items-center gap-[30px] bg-white rounded-[20px] flex-1",
|
|
20
|
+
l && "flex-row max-tablet:flex-col"
|
|
21
|
+
),
|
|
22
|
+
children: [
|
|
23
|
+
/* @__PURE__ */ x(
|
|
24
|
+
"div",
|
|
25
|
+
{
|
|
26
|
+
className: t(
|
|
27
|
+
"px-[24px] pt-[24px] w-full",
|
|
28
|
+
l && "px-0 max-tablet:px-[24px]"
|
|
29
|
+
),
|
|
30
|
+
children: /* @__PURE__ */ x(
|
|
31
|
+
"p",
|
|
32
|
+
{
|
|
33
|
+
className: t(
|
|
34
|
+
"text-[24px] font-medium leading-[32px] text-bgBlack text-center m-0 break-words",
|
|
35
|
+
l && "text-left pl-[24px] max-tablet:text-center",
|
|
36
|
+
"max-tablet:text-[22px] max-tablet:leading-[26px]"
|
|
37
|
+
),
|
|
38
|
+
children: e == null ? void 0 : e.title
|
|
39
|
+
}
|
|
40
|
+
)
|
|
41
|
+
}
|
|
42
|
+
),
|
|
43
|
+
(e == null ? void 0 : e.icon) && /* @__PURE__ */ x(
|
|
44
|
+
m,
|
|
45
|
+
{
|
|
46
|
+
src: e.icon,
|
|
47
|
+
alt: e.title || "image",
|
|
48
|
+
className: t("w-full h-[164px]", p),
|
|
49
|
+
imageStyles: "object-contain object-bottom"
|
|
50
|
+
}
|
|
51
|
+
)
|
|
52
|
+
]
|
|
53
|
+
}
|
|
54
|
+
);
|
|
55
|
+
s.propsToEdit = i;
|
|
22
56
|
export {
|
|
23
|
-
|
|
24
|
-
|
|
57
|
+
s as CardImageSecondary,
|
|
58
|
+
r as cardImageSecondaryDataProps
|
|
25
59
|
};
|
|
@@ -1,6 +1,29 @@
|
|
|
1
|
-
import "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import "../ComponentContainer-
|
|
1
|
+
import { jsxs as l, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { cardImageSecondaryDataProps as x, CardImageSecondary as m } from "../CardImageSecondary/CardImageSecondary.js";
|
|
3
|
+
import { C as n } from "../ComponentContainer-cdb2528c.js";
|
|
4
|
+
const s = {
|
|
5
|
+
type: "cards",
|
|
6
|
+
label: "Карточки",
|
|
7
|
+
dataType: "array",
|
|
8
|
+
data: {
|
|
9
|
+
...x
|
|
10
|
+
}
|
|
11
|
+
}, c = ["title", s, "turnover"], d = ({
|
|
12
|
+
title: e,
|
|
13
|
+
cards: a,
|
|
14
|
+
turnover: r = !1
|
|
15
|
+
}) => /* @__PURE__ */ l(n, { className: "flex flex-col items-stretch gap-[48px]", children: [
|
|
16
|
+
e && /* @__PURE__ */ t("p", { className: "text-bgBlack text-center text-[44px] font-bold leading-[52px] m-0 max-tablet:text-[26px] max-tablet:leading-[32px]", children: e }),
|
|
17
|
+
/* @__PURE__ */ t("div", { className: "flex gap-[24px] max-tablet:flex-col max-tablet:gap-[16px]", children: a == null ? void 0 : a.map((o, p) => /* @__PURE__ */ t(
|
|
18
|
+
m,
|
|
19
|
+
{
|
|
20
|
+
data: o,
|
|
21
|
+
turnover: r
|
|
22
|
+
},
|
|
23
|
+
p
|
|
24
|
+
)) })
|
|
25
|
+
] });
|
|
26
|
+
d.propsToEdit = c;
|
|
4
27
|
export {
|
|
5
|
-
|
|
28
|
+
d as CardImageSecondaryList
|
|
6
29
|
};
|