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
|
@@ -1,28 +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
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
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;
|
|
26
81
|
export {
|
|
27
|
-
|
|
82
|
+
u as CardIconList
|
|
28
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,29 +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
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
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;
|
|
26
56
|
export {
|
|
27
|
-
|
|
28
|
-
|
|
57
|
+
s as CardImageSecondary,
|
|
58
|
+
r as cardImageSecondaryDataProps
|
|
29
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
|
};
|
|
@@ -1,28 +1,189 @@
|
|
|
1
|
-
import "react/jsx-runtime";
|
|
2
|
-
import "react";
|
|
3
|
-
import "../
|
|
4
|
-
import {
|
|
5
|
-
import "../
|
|
6
|
-
import "../
|
|
7
|
-
import "../
|
|
8
|
-
import "../
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
1
|
+
import { jsxs as x, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as g } from "react";
|
|
3
|
+
import { FieldTypes as i } from "../Types/FiledTypes.js";
|
|
4
|
+
import { C as h } from "../ComponentContainer-cdb2528c.js";
|
|
5
|
+
import { c as p } from "../cn-6a4bf187.js";
|
|
6
|
+
import { B as y } from "../index-6af94f99.js";
|
|
7
|
+
import { a as w, B as u } from "../const-637b0dca.js";
|
|
8
|
+
import { I as _ } from "../index-2265d593.js";
|
|
9
|
+
const d = {
|
|
10
|
+
type: "data",
|
|
11
|
+
label: "Данные",
|
|
12
|
+
dataType: "object",
|
|
13
|
+
data: {
|
|
14
|
+
keys: {
|
|
15
|
+
title: i.TITLE,
|
|
16
|
+
description: i.DESCRIPTION
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}, N = [d, "className"], o = ({ data: e, className: l }) => {
|
|
20
|
+
var a;
|
|
21
|
+
return /* @__PURE__ */ x(
|
|
22
|
+
"div",
|
|
23
|
+
{
|
|
24
|
+
className: p(
|
|
25
|
+
"w-full grid grid-cols-[1fr_3fr] gap-[24px] py-[24px] border-b border-lightGray8 first:pt-0 first:pb-[24px] last:pt-[24px] last:pb-0 last:border-b-0",
|
|
26
|
+
"max-tablet:grid-cols-[140px_1fr] max-tablet:items-start max-tablet:gap-[12px] max-tablet:py-[16px] max-tablet:first:pt-0 max-tablet:first:pb-[16px] max-tablet:last:pt-[16px] max-tablet:last:pb-0 max-tablet:last:border-b-0",
|
|
27
|
+
l
|
|
28
|
+
),
|
|
29
|
+
children: [
|
|
30
|
+
/* @__PURE__ */ r("p", { className: "text-[18px] leading-[26px] font-medium text-graySoft m-0 max-tablet:text-[13px] max-tablet:leading-[16px] max-tablet:w-[140px] max-tablet:break-words", children: e == null ? void 0 : e.title }),
|
|
31
|
+
/* @__PURE__ */ r("div", { className: "grid grid-cols-3 gap-[24px] w-full max-tablet:grid-cols-1 max-tablet:gap-0 max-tablet:w-auto", children: (a = e == null ? void 0 : e.columns) == null ? void 0 : a.map((t) => /* @__PURE__ */ x(
|
|
32
|
+
"div",
|
|
33
|
+
{
|
|
34
|
+
className: "w-full flex flex-col gap-[8px] max-tablet:py-[16px] max-tablet:border-b max-tablet:border-lightGray8 first:max-tablet:pt-0 first:max-tablet:pb-[16px] last:max-tablet:pt-[16px] last:max-tablet:pb-0 last:max-tablet:border-b-0",
|
|
35
|
+
children: [
|
|
36
|
+
(t == null ? void 0 : t.title) && /* @__PURE__ */ r("p", { className: "text-[18px] leading-[26px] font-medium m-0 break-words whitespace-pre-line", children: t == null ? void 0 : t.title }),
|
|
37
|
+
(t == null ? void 0 : t.description) && /* @__PURE__ */ r("div", { className: "text-[14px] leading-[20px] text-graySoft whitespace-pre-line max-[420px]:whitespace-normal max-[420px]:break-words max-tablet:text-[13px] max-tablet:leading-[16px]", children: t == null ? void 0 : t.description })
|
|
38
|
+
]
|
|
39
|
+
},
|
|
40
|
+
t == null ? void 0 : t.id
|
|
41
|
+
)) })
|
|
42
|
+
]
|
|
43
|
+
}
|
|
44
|
+
);
|
|
45
|
+
};
|
|
46
|
+
o.propsToEdit = N;
|
|
47
|
+
o.displayName = "CardRowInfo";
|
|
48
|
+
const T = ({
|
|
49
|
+
data: e,
|
|
50
|
+
title: l,
|
|
51
|
+
description: a,
|
|
52
|
+
image: t,
|
|
53
|
+
className: s
|
|
54
|
+
}) => /* @__PURE__ */ x(
|
|
55
|
+
"div",
|
|
56
|
+
{
|
|
57
|
+
className: p(
|
|
58
|
+
"w-full flex justify-between gap-[20px] bg-[#5f6e7b10] p-[32px] rounded-[20px]",
|
|
59
|
+
"max-tablet:flex-col max-tablet:items-stretch max-tablet:gap-[24px] max-tablet:p-[16px] max-tablet:h-fit",
|
|
60
|
+
s
|
|
61
|
+
),
|
|
62
|
+
children: [
|
|
63
|
+
/* @__PURE__ */ x(
|
|
64
|
+
"div",
|
|
65
|
+
{
|
|
66
|
+
className: p(
|
|
67
|
+
"flex gap-[16px] items-center justify-center basis-[70%]",
|
|
68
|
+
"max-tablet:flex-col max-tablet:items-start max-tablet:gap-[12px] max-tablet:basis-full"
|
|
69
|
+
),
|
|
70
|
+
children: [
|
|
71
|
+
((e == null ? void 0 : e.necessary_icon) || t) && /* @__PURE__ */ r(
|
|
72
|
+
_,
|
|
73
|
+
{
|
|
74
|
+
src: (e == null ? void 0 : e.necessary_icon) ?? t ?? "",
|
|
75
|
+
alt: (e == null ? void 0 : e.necessary_title) ?? l ?? "",
|
|
76
|
+
width: 48,
|
|
77
|
+
height: 48,
|
|
78
|
+
className: "w-[48px] h-[48px] shrink-0",
|
|
79
|
+
imageStyles: "w-full h-full object-contain"
|
|
80
|
+
}
|
|
81
|
+
),
|
|
82
|
+
/* @__PURE__ */ x("div", { className: "box-border max-tablet:h-fit", children: [
|
|
83
|
+
/* @__PURE__ */ r(
|
|
84
|
+
"p",
|
|
85
|
+
{
|
|
86
|
+
className: p(
|
|
87
|
+
"text-[24px] font-bold leading-[32px] m-0",
|
|
88
|
+
"max-tablet:text-[18px] max-tablet:font-semibold max-tablet:leading-[26px]"
|
|
89
|
+
),
|
|
90
|
+
children: (e == null ? void 0 : e.necessary_title) || l
|
|
91
|
+
}
|
|
92
|
+
),
|
|
93
|
+
((e == null ? void 0 : e.necessary_description) || a) && /* @__PURE__ */ r(
|
|
94
|
+
"p",
|
|
95
|
+
{
|
|
96
|
+
className: p(
|
|
97
|
+
"text-[15px] font-normal leading-[24px] m-0",
|
|
98
|
+
"max-tablet:text-[13px] max-tablet:leading-[16px]"
|
|
99
|
+
),
|
|
100
|
+
children: (e == null ? void 0 : e.necessary_description) || a
|
|
101
|
+
}
|
|
102
|
+
)
|
|
103
|
+
] })
|
|
104
|
+
]
|
|
105
|
+
}
|
|
106
|
+
),
|
|
107
|
+
(e == null ? void 0 : e.necessary_button_link) && /* @__PURE__ */ r(
|
|
108
|
+
"a",
|
|
109
|
+
{
|
|
110
|
+
href: e == null ? void 0 : e.necessary_button_link,
|
|
111
|
+
target: "_blank",
|
|
112
|
+
children: /* @__PURE__ */ r(
|
|
113
|
+
y,
|
|
114
|
+
{
|
|
115
|
+
variant: w.Static,
|
|
116
|
+
size: u.L,
|
|
117
|
+
className: "text-[15px] font-medium leading-[24px] px-[16px] py-[8px] rounded-[8px] bg-[#FDDB2B] text-black border-none cursor-pointer transition-colors duration-300 hover:bg-[#F7C21C] max-tablet:w-full max-tablet:h-[56px]",
|
|
118
|
+
children: e == null ? void 0 : e.necessary_button_text
|
|
119
|
+
}
|
|
120
|
+
)
|
|
121
|
+
}
|
|
122
|
+
)
|
|
123
|
+
]
|
|
124
|
+
}
|
|
125
|
+
), I = {
|
|
126
|
+
type: "table",
|
|
127
|
+
label: "Таблица",
|
|
128
|
+
dataType: "object",
|
|
129
|
+
data: {
|
|
130
|
+
keys: {
|
|
131
|
+
warning: {
|
|
132
|
+
keys: {
|
|
133
|
+
warning_title: i.TITLE,
|
|
134
|
+
warning_description: i.DESCRIPTION
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
}, k = {
|
|
140
|
+
type: "rows",
|
|
141
|
+
label: "Строки",
|
|
142
|
+
dataType: "array",
|
|
143
|
+
data: {
|
|
144
|
+
...d
|
|
145
|
+
}
|
|
146
|
+
}, C = ["title", I, k], f = g(
|
|
147
|
+
({ title: e, table: l, rows: a }, t) => {
|
|
148
|
+
var s, c, b;
|
|
149
|
+
return /* @__PURE__ */ r("div", { ref: t, children: /* @__PURE__ */ x(h, { children: [
|
|
150
|
+
e && /* @__PURE__ */ r(
|
|
151
|
+
"p",
|
|
152
|
+
{
|
|
153
|
+
className: p(
|
|
154
|
+
"text-[44px] font-bold leading-[52px] mb-[48px] text-black text-center max-tablet:text-[26px] max-tablet:leading-[32px] max-tablet:mb-[32px]"
|
|
155
|
+
),
|
|
156
|
+
children: e
|
|
157
|
+
}
|
|
158
|
+
),
|
|
159
|
+
/* @__PURE__ */ x("div", { className: "bg-white p-8 rounded-[20px] md:p-6", children: [
|
|
160
|
+
a == null ? void 0 : a.map((n) => {
|
|
161
|
+
var m;
|
|
162
|
+
return /* @__PURE__ */ r(
|
|
163
|
+
o,
|
|
164
|
+
{
|
|
165
|
+
data: n,
|
|
166
|
+
className: p("border-b border-gray-200 last:border-b-0", {
|
|
167
|
+
"border-none": (m = l == null ? void 0 : l.warning) == null ? void 0 : m.warning_title
|
|
168
|
+
})
|
|
169
|
+
},
|
|
170
|
+
n == null ? void 0 : n.id
|
|
171
|
+
);
|
|
172
|
+
}),
|
|
173
|
+
((s = l == null ? void 0 : l.warning) == null ? void 0 : s.warning_title) && /* @__PURE__ */ r(
|
|
174
|
+
T,
|
|
175
|
+
{
|
|
176
|
+
className: "!flex-auto [&_p:first-child]:text-[16px] [&_p:first-child]:leading-[24px] [&_p:last-child]:text-[15px] [&_p:last-child]:leading-[22px]",
|
|
177
|
+
title: (c = l == null ? void 0 : l.warning) == null ? void 0 : c.warning_title,
|
|
178
|
+
description: (b = l == null ? void 0 : l.warning) == null ? void 0 : b.warning_description
|
|
179
|
+
}
|
|
180
|
+
)
|
|
181
|
+
] })
|
|
182
|
+
] }) });
|
|
183
|
+
}
|
|
184
|
+
);
|
|
185
|
+
f.propsToEdit = C;
|
|
186
|
+
f.displayName = "CardInfoTable";
|
|
26
187
|
export {
|
|
27
|
-
|
|
188
|
+
f as CardInfoTable
|
|
28
189
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as p, jsx as x } from "react/jsx-runtime";
|
|
2
2
|
import { FieldTypes as l } from "../../Types/FiledTypes.js";
|
|
3
|
-
import { I as o } from "../../index-
|
|
4
|
-
import { c as i } from "../../cn-
|
|
3
|
+
import { I as o } from "../../index-2265d593.js";
|
|
4
|
+
import { c as i } from "../../cn-6a4bf187.js";
|
|
5
5
|
const r = {
|
|
6
6
|
type: "data",
|
|
7
7
|
label: "Данные карточки с изображением",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as o, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { FieldTypes as l } from "../../Types/FiledTypes.js";
|
|
3
|
-
import { I as r } from "../../index-
|
|
4
|
-
import { c as x } from "../../cn-
|
|
3
|
+
import { I as r } from "../../index-2265d593.js";
|
|
4
|
+
import { c as x } from "../../cn-6a4bf187.js";
|
|
5
5
|
const i = {
|
|
6
6
|
type: "data",
|
|
7
7
|
label: "Данные цветной карточки",
|
|
@@ -1,7 +1,40 @@
|
|
|
1
|
-
import "react/jsx-runtime";
|
|
2
|
-
import "../../HtmlContent/HtmlContent.js";
|
|
3
|
-
import {
|
|
4
|
-
import "../../
|
|
1
|
+
import { jsxs as n, jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { HtmlContent as s } from "../../HtmlContent/HtmlContent.js";
|
|
3
|
+
import { B as p } from "../../index-6af94f99.js";
|
|
4
|
+
import { a as i } from "../../const-637b0dca.js";
|
|
5
|
+
import { I as x } from "../../index-2265d593.js";
|
|
6
|
+
const c = ["data"], t = ({ data: e }) => {
|
|
7
|
+
var l;
|
|
8
|
+
return /* @__PURE__ */ n("div", { className: "rounded-[20px] overflow-hidden", children: [
|
|
9
|
+
/* @__PURE__ */ o(
|
|
10
|
+
x,
|
|
11
|
+
{
|
|
12
|
+
src: e == null ? void 0 : e.image,
|
|
13
|
+
alt: e == null ? void 0 : e.title,
|
|
14
|
+
className: "w-full h-auto"
|
|
15
|
+
}
|
|
16
|
+
),
|
|
17
|
+
/* @__PURE__ */ n("div", { className: "flex flex-col gap-[24px] bg-white p-[32px]", children: [
|
|
18
|
+
/* @__PURE__ */ o("p", { className: "text-[24px] leading-[32px] font-semibold", children: e == null ? void 0 : e.title }),
|
|
19
|
+
/* @__PURE__ */ o(
|
|
20
|
+
s,
|
|
21
|
+
{
|
|
22
|
+
data: e == null ? void 0 : e.description,
|
|
23
|
+
className: "text-graySoft text-[15px] leading-[22px]"
|
|
24
|
+
}
|
|
25
|
+
),
|
|
26
|
+
/* @__PURE__ */ o("div", { className: "flex gap-12px items-center max-tablet:flex-col", children: (l = e == null ? void 0 : e.button) == null ? void 0 : l.map((r) => /* @__PURE__ */ o(
|
|
27
|
+
"a",
|
|
28
|
+
{
|
|
29
|
+
href: (r == null ? void 0 : r.link) || "#",
|
|
30
|
+
target: "_blank",
|
|
31
|
+
children: /* @__PURE__ */ o(p, { variant: i.Grey, children: r == null ? void 0 : r.text })
|
|
32
|
+
}
|
|
33
|
+
)) })
|
|
34
|
+
] })
|
|
35
|
+
] });
|
|
36
|
+
};
|
|
37
|
+
t.propsToEdit = c;
|
|
5
38
|
export {
|
|
6
|
-
|
|
39
|
+
t as ContentCard
|
|
7
40
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "../../Types/FiledTypes.js";
|
|
3
|
-
import "../../index-
|
|
4
|
-
import "../../cn-
|
|
5
|
-
import { F as a } from "../../index-
|
|
3
|
+
import "../../index-2265d593.js";
|
|
4
|
+
import "../../cn-6a4bf187.js";
|
|
5
|
+
import { F as a } from "../../index-815f0132.js";
|
|
6
6
|
export {
|
|
7
7
|
a as FeaturesCard
|
|
8
8
|
};
|