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,8 +1,60 @@
|
|
|
1
|
-
import "react/jsx-runtime";
|
|
2
|
-
import "
|
|
3
|
-
import {
|
|
4
|
-
import "../../
|
|
5
|
-
import "../../
|
|
1
|
+
import { jsx as o, jsxs as t } from "react/jsx-runtime";
|
|
2
|
+
import { WarningCardVariant as r, warningCardVariant as l } from "./model.js";
|
|
3
|
+
import { I as a } from "../../Icon-70ea6cb8.js";
|
|
4
|
+
import { b as c } from "../../const-637b0dca.js";
|
|
5
|
+
import { B as d } from "../../index-6af94f99.js";
|
|
6
|
+
import { C as p } from "../../ComponentContainer-cdb2528c.js";
|
|
7
|
+
import { c as m } from "../../cn-6a4bf187.js";
|
|
8
|
+
const x = [
|
|
9
|
+
"title",
|
|
10
|
+
"title_color",
|
|
11
|
+
"description",
|
|
12
|
+
"description_color",
|
|
13
|
+
c,
|
|
14
|
+
l
|
|
15
|
+
], f = ({
|
|
16
|
+
title: i,
|
|
17
|
+
description: n,
|
|
18
|
+
button: s,
|
|
19
|
+
variant: e
|
|
20
|
+
}) => /* @__PURE__ */ o(p, { children: /* @__PURE__ */ o(
|
|
21
|
+
"div",
|
|
22
|
+
{
|
|
23
|
+
className: "rounded-[24px] p-6",
|
|
24
|
+
style: { background: r[e].background },
|
|
25
|
+
children: /* @__PURE__ */ t("div", { className: "flex gap-4 items-center justify-between", children: [
|
|
26
|
+
/* @__PURE__ */ t("div", { className: "flex gap-4 items-center", children: [
|
|
27
|
+
/* @__PURE__ */ o(
|
|
28
|
+
a,
|
|
29
|
+
{
|
|
30
|
+
name: r[e].icon,
|
|
31
|
+
size: 40
|
|
32
|
+
}
|
|
33
|
+
),
|
|
34
|
+
/* @__PURE__ */ t("div", { className: "flex flex-col gap-1", children: [
|
|
35
|
+
/* @__PURE__ */ o(
|
|
36
|
+
"p",
|
|
37
|
+
{
|
|
38
|
+
className: m("text-[24px] leading-8 font-bold"),
|
|
39
|
+
style: { color: r[e].textColor },
|
|
40
|
+
children: i
|
|
41
|
+
}
|
|
42
|
+
),
|
|
43
|
+
/* @__PURE__ */ o(
|
|
44
|
+
"p",
|
|
45
|
+
{
|
|
46
|
+
className: "text-[16px] leading-6",
|
|
47
|
+
style: { color: r[e].textColor },
|
|
48
|
+
children: n
|
|
49
|
+
}
|
|
50
|
+
)
|
|
51
|
+
] })
|
|
52
|
+
] }),
|
|
53
|
+
/* @__PURE__ */ o(d, { ...s })
|
|
54
|
+
] })
|
|
55
|
+
}
|
|
56
|
+
) });
|
|
57
|
+
f.propsToEdit = x;
|
|
6
58
|
export {
|
|
7
|
-
|
|
59
|
+
f as WarningCard
|
|
8
60
|
};
|
|
@@ -1,9 +1,41 @@
|
|
|
1
|
-
import "../../Types/FiledTypes.js";
|
|
2
|
-
import {
|
|
3
|
-
import "../../generateSelectOptions-7b23cdb8.js";
|
|
1
|
+
import { OptionTypesEnum as e, DataTypesEnum as o } from "../../Types/FiledTypes.js";
|
|
2
|
+
import { p as r } from "../../palette-b47a76c9.js";
|
|
3
|
+
import { g as n } from "../../generateSelectOptions-7b23cdb8.js";
|
|
4
|
+
var t = /* @__PURE__ */ ((a) => (a.Orange = "orange", a.Gray = "gray", a.Black = "black", a))(t || {});
|
|
5
|
+
const c = {
|
|
6
|
+
orange: {
|
|
7
|
+
background: "linear-gradient(92deg, rgba(255, 255, 255, 0.00) -4.95%, rgba(255, 255, 255, 0.02) -4.63%, rgba(255, 255, 255, 0.20) 87.84%), var(--status-filled-bg-accent, #FDDB2B)",
|
|
8
|
+
textColor: r.blackBG,
|
|
9
|
+
icon: "infoDark",
|
|
10
|
+
key: "orange"
|
|
11
|
+
},
|
|
12
|
+
gray: {
|
|
13
|
+
background: "linear-gradient(92deg, rgba(255, 255, 255, 0.00) -4.95%, rgba(255, 255, 255, 0.02) -4.63%, rgba(255, 255, 255, 0.20) 87.84%), var(--supportive-ghost-1, rgba(95, 110, 123, 0.10))",
|
|
14
|
+
textColor: r.blackBG,
|
|
15
|
+
icon: "infoCrown",
|
|
16
|
+
key: "gray"
|
|
17
|
+
},
|
|
18
|
+
black: {
|
|
19
|
+
background: "linear-gradient(92deg, rgba(255, 255, 255, 0.00) -4.95%, rgba(255, 255, 255, 0.02) -4.63%, rgba(255, 255, 255, 0.20) 87.84%), var(--black-94-solid, #1A1C20)",
|
|
20
|
+
textColor: r.white,
|
|
21
|
+
icon: "infoLight",
|
|
22
|
+
key: "black"
|
|
23
|
+
}
|
|
24
|
+
}, g = n(
|
|
25
|
+
Object.values(t).map((a) => ({
|
|
26
|
+
label: a.toUpperCase(),
|
|
27
|
+
value: a
|
|
28
|
+
}))
|
|
29
|
+
), p = {
|
|
30
|
+
type: "variant",
|
|
31
|
+
options: g,
|
|
32
|
+
variant: e.options,
|
|
33
|
+
dataType: o.select,
|
|
34
|
+
label: "Вариант карточки"
|
|
35
|
+
};
|
|
4
36
|
export {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
37
|
+
c as WarningCardVariant,
|
|
38
|
+
t as WarningCardVariantKey,
|
|
39
|
+
p as warningCardVariant,
|
|
40
|
+
g as warningCardVariantOptions
|
|
9
41
|
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
+
import { c as o } from "./cn-6a4bf187.js";
|
|
3
|
+
const r = ({ children: a, className: l, style: t }) => /* @__PURE__ */ m(
|
|
4
|
+
"section",
|
|
5
|
+
{
|
|
6
|
+
style: t,
|
|
7
|
+
className: o(
|
|
8
|
+
"w-[1232px] max-tablet:w-full mx-auto px-4 relative max-tablet:max-w-full md:max-w-full lg:max-w-full overflow-x-hidden",
|
|
9
|
+
l
|
|
10
|
+
),
|
|
11
|
+
children: a
|
|
12
|
+
}
|
|
13
|
+
);
|
|
14
|
+
export {
|
|
15
|
+
r as C
|
|
16
|
+
};
|
|
@@ -1,27 +1,36 @@
|
|
|
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
|
-
|
|
1
|
+
import { jsx as t, jsxs as r } from "react/jsx-runtime";
|
|
2
|
+
import { ContentCard as i } from "../Cards/ContentCard/ContentCard.js";
|
|
3
|
+
import { FieldTypes as o } from "../Types/FiledTypes.js";
|
|
4
|
+
import { b as l } from "../const-637b0dca.js";
|
|
5
|
+
import { C as p } from "../ComponentContainer-cdb2528c.js";
|
|
6
|
+
const s = {
|
|
7
|
+
type: "cards",
|
|
8
|
+
label: "Карточки",
|
|
9
|
+
dataType: "array",
|
|
10
|
+
data: {
|
|
11
|
+
title: o.TITLE,
|
|
12
|
+
image: o.FILE,
|
|
13
|
+
description: o.DESCRIPTION,
|
|
14
|
+
button: l
|
|
15
|
+
}
|
|
16
|
+
}, m = ["title", s], x = ({ title: a, cards: e }) => /* @__PURE__ */ t(p, { children: /* @__PURE__ */ r("div", { className: "w-full flex flex-col items-center justify-center", children: [
|
|
17
|
+
a && /* @__PURE__ */ t(
|
|
18
|
+
"p",
|
|
19
|
+
{
|
|
20
|
+
className: `font-bold max-tablet:text-[26px] text-[44px] max-tablet:leading-[32px] leading-[42px]
|
|
21
|
+
mb-[24px] font-variant-numeric font-feature-settings`,
|
|
22
|
+
children: a
|
|
23
|
+
}
|
|
24
|
+
),
|
|
25
|
+
/* @__PURE__ */ t("div", { className: "flex flex-row max-tablet:flex-col gap-[24px]", children: e == null ? void 0 : e.map((n) => /* @__PURE__ */ t(
|
|
26
|
+
i,
|
|
27
|
+
{
|
|
28
|
+
data: n
|
|
29
|
+
},
|
|
30
|
+
n.id
|
|
31
|
+
)) })
|
|
32
|
+
] }) });
|
|
33
|
+
x.propsToEdit = m;
|
|
25
34
|
export {
|
|
26
|
-
|
|
35
|
+
x as ContentCardList
|
|
27
36
|
};
|
|
@@ -1,7 +1,43 @@
|
|
|
1
|
-
import "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import "../../../
|
|
4
|
-
import "../../../
|
|
1
|
+
import { jsx as e, jsxs as l } from "react/jsx-runtime";
|
|
2
|
+
import { I as o } from "../../../Icon-70ea6cb8.js";
|
|
3
|
+
import { p as t } from "../../../palette-b47a76c9.js";
|
|
4
|
+
import { B as n } from "../../../index-6af94f99.js";
|
|
5
|
+
import { C as s } from "../../../ComponentContainer-cdb2528c.js";
|
|
6
|
+
const c = ["title", "text", "link"], m = ({
|
|
7
|
+
title: a,
|
|
8
|
+
text: i,
|
|
9
|
+
link: r
|
|
10
|
+
}) => /* @__PURE__ */ e(s, { children: /* @__PURE__ */ l("div", { className: "p-[48px] bg-white rounded-[20px] flex justify-between gap-[64px] max-tablet:flex-col-reverse max-tablet:gap-8", children: [
|
|
11
|
+
/* @__PURE__ */ e("div", { className: "flex flex-col ", children: /* @__PURE__ */ l("div", { children: [
|
|
12
|
+
/* @__PURE__ */ e("p", { className: "text-[32px] leading-10 font-bold mb-4", children: a }),
|
|
13
|
+
/* @__PURE__ */ e("p", { className: "text-[16px] leading-6", children: i }),
|
|
14
|
+
/* @__PURE__ */ e("a", { href: r, children: /* @__PURE__ */ e(
|
|
15
|
+
n,
|
|
16
|
+
{
|
|
17
|
+
iconRight: /* @__PURE__ */ e(
|
|
18
|
+
o,
|
|
19
|
+
{
|
|
20
|
+
name: "download",
|
|
21
|
+
size: 20,
|
|
22
|
+
color: t.blackBG
|
|
23
|
+
}
|
|
24
|
+
),
|
|
25
|
+
className: "mt-8",
|
|
26
|
+
children: "Скачать"
|
|
27
|
+
}
|
|
28
|
+
) })
|
|
29
|
+
] }) }),
|
|
30
|
+
/* @__PURE__ */ e(
|
|
31
|
+
o,
|
|
32
|
+
{
|
|
33
|
+
className: "flex-shrink-0",
|
|
34
|
+
name: "file",
|
|
35
|
+
color: t.greenLight,
|
|
36
|
+
size: 82
|
|
37
|
+
}
|
|
38
|
+
)
|
|
39
|
+
] }) });
|
|
40
|
+
m.propsToEdit = c;
|
|
5
41
|
export {
|
|
6
|
-
|
|
42
|
+
m as DownloadFileBanner
|
|
7
43
|
};
|
|
@@ -1,10 +1,76 @@
|
|
|
1
|
-
import "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import "../../../
|
|
4
|
-
import "../../../
|
|
5
|
-
import "../../../
|
|
6
|
-
import "../../../
|
|
7
|
-
|
|
1
|
+
import { jsxs as i, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { B as b } from "../../../index-6af94f99.js";
|
|
3
|
+
import { C as r } from "../../../ComponentContainer-cdb2528c.js";
|
|
4
|
+
import { I as n } from "../../../index-2265d593.js";
|
|
5
|
+
import { c } from "../../../cn-6a4bf187.js";
|
|
6
|
+
import { u as f } from "../../../useScreenSize-c1b64c02.js";
|
|
7
|
+
const g = ["title", "description", "icon", "isDark"], d = ({
|
|
8
|
+
title: x,
|
|
9
|
+
description: o,
|
|
10
|
+
icon: p,
|
|
11
|
+
button: s,
|
|
12
|
+
variant: e = "big",
|
|
13
|
+
isDark: a
|
|
14
|
+
}) => {
|
|
15
|
+
const l = f(960), m = e === "big" ? l ? 106 : 343 : l ? 106 : 64;
|
|
16
|
+
return /* @__PURE__ */ i(
|
|
17
|
+
r,
|
|
18
|
+
{
|
|
19
|
+
className: `flex justify-between items-center rounded-[20px]
|
|
20
|
+
${e === "big" ? "p-[48px]" : "p-[32px] gap-[32px]"}
|
|
21
|
+
${a ? "bg-black7" : "bg-white"}
|
|
22
|
+
max-tablet:flex-col max-tablet:items-start max-tablet:justify-start max-tablet:p-[24px] max-tablet:gap-[0] max-tablet:my-[48px] my-[88px]
|
|
23
|
+
max-tablet:relative w-[calc(100%-239px)]
|
|
24
|
+
`,
|
|
25
|
+
children: [
|
|
26
|
+
/* @__PURE__ */ i("div", { className: "flex flex-col h-full w-full", children: [
|
|
27
|
+
/* @__PURE__ */ t(
|
|
28
|
+
"p",
|
|
29
|
+
{
|
|
30
|
+
className: `font-[700]
|
|
31
|
+
${a ? "text-[#f4f6f7]" : "text-[#0e0f11]"}
|
|
32
|
+
${e === "big" ? "text-[32px] leading-[40px]" : "text-[24px] leading-[32px]"}
|
|
33
|
+
max-tablet:text-[24px] max-tablet:leading-[28px]
|
|
34
|
+
mb-[16px] max-tablet:mt-[24px] max-tablet:mb-[12px] max-tablet:text-center`,
|
|
35
|
+
children: x
|
|
36
|
+
}
|
|
37
|
+
),
|
|
38
|
+
/* @__PURE__ */ t(
|
|
39
|
+
"p",
|
|
40
|
+
{
|
|
41
|
+
className: `font-[400] text-[16px] leading-[24px]
|
|
42
|
+
${a ? "text-[#f4f6f7]" : "text-[#40474f]"}
|
|
43
|
+
mb-[32px] max-tablet:mb-[24px] max-tablet:text-center`,
|
|
44
|
+
children: o
|
|
45
|
+
}
|
|
46
|
+
),
|
|
47
|
+
/* @__PURE__ */ t(
|
|
48
|
+
b,
|
|
49
|
+
{
|
|
50
|
+
className: "w-fit max-tablet:w-full flex items-center justify-center",
|
|
51
|
+
...s
|
|
52
|
+
}
|
|
53
|
+
)
|
|
54
|
+
] }),
|
|
55
|
+
/* @__PURE__ */ t(
|
|
56
|
+
n,
|
|
57
|
+
{
|
|
58
|
+
src: p,
|
|
59
|
+
alt: x,
|
|
60
|
+
width: m,
|
|
61
|
+
height: m,
|
|
62
|
+
className: c(
|
|
63
|
+
"absolute top-1/2 right-6 w-[343px] !h-auto -translate-y-1/2 max-tablet:relative max-tablet:!h-[106px]",
|
|
64
|
+
"max-tablet:top-auto max-tablet:right-auto max-tablet:-translate-y-0 max-tablet:order-[-1] max-tablet:mx-auto"
|
|
65
|
+
),
|
|
66
|
+
imageStyles: "object-contain object-bottom max-tablet:object-center"
|
|
67
|
+
}
|
|
68
|
+
)
|
|
69
|
+
]
|
|
70
|
+
}
|
|
71
|
+
);
|
|
72
|
+
};
|
|
73
|
+
d.propsToEdit = g;
|
|
8
74
|
export {
|
|
9
|
-
|
|
75
|
+
d as DownloadFileBright
|
|
10
76
|
};
|
|
@@ -1,7 +1,52 @@
|
|
|
1
|
-
import "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import "../../../
|
|
4
|
-
import "../../../
|
|
1
|
+
import { jsx as e, jsxs as t } from "react/jsx-runtime";
|
|
2
|
+
import { DataTypesEnum as s, FieldTypes as o } from "../../../Types/FiledTypes.js";
|
|
3
|
+
import { I as r } from "../../../Icon-70ea6cb8.js";
|
|
4
|
+
import { p as n } from "../../../palette-b47a76c9.js";
|
|
5
|
+
import { B as i } from "../../../index-6af94f99.js";
|
|
6
|
+
import { a as p } from "../../../const-637b0dca.js";
|
|
7
|
+
import { C as c } from "../../../ComponentContainer-cdb2528c.js";
|
|
8
|
+
const d = {
|
|
9
|
+
dataType: s.array,
|
|
10
|
+
type: "data",
|
|
11
|
+
label: "Файлы для скачивания",
|
|
12
|
+
data: {
|
|
13
|
+
title: o.STRING,
|
|
14
|
+
text: o.STRING,
|
|
15
|
+
file: o.FILE
|
|
16
|
+
}
|
|
17
|
+
}, x = [d], m = ({ data: a }) => /* @__PURE__ */ e(c, { children: /* @__PURE__ */ e("div", { className: "flex flex-col gap-2", children: a == null ? void 0 : a.map((l) => /* @__PURE__ */ t("div", { className: "px-[48px] py-8 bg-white rounded-[20px] flex justify-between items-center gap-[64px]", children: [
|
|
18
|
+
/* @__PURE__ */ t("div", { className: "flex items-center gap-4 max-tablet:flex-col max-tablet:items-start", children: [
|
|
19
|
+
/* @__PURE__ */ e(
|
|
20
|
+
r,
|
|
21
|
+
{
|
|
22
|
+
className: "flex-shrink-0",
|
|
23
|
+
name: "file",
|
|
24
|
+
color: n.greenLight,
|
|
25
|
+
size: 44
|
|
26
|
+
}
|
|
27
|
+
),
|
|
28
|
+
/* @__PURE__ */ t("div", { className: "flex flex-col max-tablet:gap-2 ", children: [
|
|
29
|
+
/* @__PURE__ */ e("p", { className: "text-[20px] leading-7 font-bold", children: l == null ? void 0 : l.title }),
|
|
30
|
+
/* @__PURE__ */ e("p", { className: "text-[16px] leading-6", children: l == null ? void 0 : l.text })
|
|
31
|
+
] })
|
|
32
|
+
] }),
|
|
33
|
+
/* @__PURE__ */ e(
|
|
34
|
+
i,
|
|
35
|
+
{
|
|
36
|
+
variant: p.Secondary,
|
|
37
|
+
iconRight: /* @__PURE__ */ e(
|
|
38
|
+
r,
|
|
39
|
+
{
|
|
40
|
+
name: "download",
|
|
41
|
+
size: 20,
|
|
42
|
+
color: n.blackBG
|
|
43
|
+
}
|
|
44
|
+
)
|
|
45
|
+
}
|
|
46
|
+
)
|
|
47
|
+
] })) }) });
|
|
48
|
+
m.propsToEdit = x;
|
|
5
49
|
export {
|
|
6
|
-
|
|
50
|
+
m as DownloadFileFull,
|
|
51
|
+
d as downloadFileFullProps
|
|
7
52
|
};
|
|
@@ -1,7 +1,48 @@
|
|
|
1
|
-
import "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import "../../../
|
|
4
|
-
import "../../../
|
|
1
|
+
import { jsx as r, jsxs as a } from "react/jsx-runtime";
|
|
2
|
+
import { I as n } from "../../../Icon-70ea6cb8.js";
|
|
3
|
+
import { p as e } from "../../../palette-b47a76c9.js";
|
|
4
|
+
import { B as s } from "../../../index-6af94f99.js";
|
|
5
|
+
import { a as c } from "../../../const-637b0dca.js";
|
|
6
|
+
import { C as i } from "../../../ComponentContainer-cdb2528c.js";
|
|
7
|
+
const p = ["data"], d = ({ data: l }) => /* @__PURE__ */ r(i, { children: /* @__PURE__ */ r("div", { className: "grid grid-cols-2 gap-6 max-tablet:grid-cols-1", children: l == null ? void 0 : l.map((o) => /* @__PURE__ */ a(
|
|
8
|
+
"div",
|
|
9
|
+
{
|
|
10
|
+
className: "p-[32px] bg-white rounded-[20px] flex justify-between gap-[40px]",
|
|
11
|
+
children: [
|
|
12
|
+
/* @__PURE__ */ r("div", { className: "flex flex-col ", children: /* @__PURE__ */ a("div", { children: [
|
|
13
|
+
/* @__PURE__ */ r("p", { className: "text-[24px] leading-8 font-bold mb-4", children: o == null ? void 0 : o.title }),
|
|
14
|
+
/* @__PURE__ */ r("p", { className: "text-[16px] leading-6", children: o == null ? void 0 : o.text }),
|
|
15
|
+
/* @__PURE__ */ r(
|
|
16
|
+
s,
|
|
17
|
+
{
|
|
18
|
+
iconRight: /* @__PURE__ */ r(
|
|
19
|
+
n,
|
|
20
|
+
{
|
|
21
|
+
name: "download",
|
|
22
|
+
size: 20,
|
|
23
|
+
color: e.blackBG
|
|
24
|
+
}
|
|
25
|
+
),
|
|
26
|
+
className: "mt-8",
|
|
27
|
+
variant: c.Secondary,
|
|
28
|
+
children: "Скачать"
|
|
29
|
+
}
|
|
30
|
+
)
|
|
31
|
+
] }) }),
|
|
32
|
+
/* @__PURE__ */ r(
|
|
33
|
+
n,
|
|
34
|
+
{
|
|
35
|
+
className: "flex-shrink-0",
|
|
36
|
+
name: "file",
|
|
37
|
+
color: e.greenLight,
|
|
38
|
+
size: 48
|
|
39
|
+
}
|
|
40
|
+
)
|
|
41
|
+
]
|
|
42
|
+
},
|
|
43
|
+
o == null ? void 0 : o.id
|
|
44
|
+
)) }) });
|
|
45
|
+
d.propsToEdit = p;
|
|
5
46
|
export {
|
|
6
|
-
|
|
47
|
+
d as DownloadFileHalf
|
|
7
48
|
};
|
|
@@ -1,7 +1,58 @@
|
|
|
1
|
-
import "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import "../../../
|
|
4
|
-
import "../../../
|
|
1
|
+
import { jsx as a, jsxs as e } from "react/jsx-runtime";
|
|
2
|
+
import { DataTypesEnum as s, FieldTypes as r } from "../../../Types/FiledTypes.js";
|
|
3
|
+
import { I as n } from "../../../Icon-70ea6cb8.js";
|
|
4
|
+
import { p } from "../../../palette-b47a76c9.js";
|
|
5
|
+
import { B as i } from "../../../index-6af94f99.js";
|
|
6
|
+
import { a as t } from "../../../const-637b0dca.js";
|
|
7
|
+
import { C as d } from "../../../ComponentContainer-cdb2528c.js";
|
|
8
|
+
const y = {
|
|
9
|
+
dataType: s.array,
|
|
10
|
+
type: "data",
|
|
11
|
+
label: "Файлы для скачивания",
|
|
12
|
+
data: {
|
|
13
|
+
title: r.STRING,
|
|
14
|
+
text: r.STRING,
|
|
15
|
+
file: r.FILE
|
|
16
|
+
}
|
|
17
|
+
}, c = ["data"], x = ({ data: l }) => /* @__PURE__ */ a(d, { children: /* @__PURE__ */ a("div", { className: "grid grid-cols-4 gap-6 max-tablet:grid-cols-1", children: l == null ? void 0 : l.map((o) => /* @__PURE__ */ e(
|
|
18
|
+
"div",
|
|
19
|
+
{
|
|
20
|
+
className: "p-[24px] bg-white rounded-[20px] flex flex-col gap-8",
|
|
21
|
+
children: [
|
|
22
|
+
/* @__PURE__ */ a(
|
|
23
|
+
n,
|
|
24
|
+
{
|
|
25
|
+
name: "file",
|
|
26
|
+
color: p.greenLight,
|
|
27
|
+
size: 44
|
|
28
|
+
}
|
|
29
|
+
),
|
|
30
|
+
/* @__PURE__ */ e("div", { className: "flex flex-col gap-4", children: [
|
|
31
|
+
/* @__PURE__ */ a("p", { className: "text-[20px] leading-[28px] font-bold", children: o == null ? void 0 : o.title }),
|
|
32
|
+
/* @__PURE__ */ a("p", { className: "text-[16px] leading-6", children: o == null ? void 0 : o.text })
|
|
33
|
+
] }),
|
|
34
|
+
/* @__PURE__ */ a(
|
|
35
|
+
i,
|
|
36
|
+
{
|
|
37
|
+
iconRight: /* @__PURE__ */ a(
|
|
38
|
+
n,
|
|
39
|
+
{
|
|
40
|
+
name: "download",
|
|
41
|
+
size: 20,
|
|
42
|
+
color: p.blackBG
|
|
43
|
+
}
|
|
44
|
+
),
|
|
45
|
+
className: "w-full",
|
|
46
|
+
variant: t.Secondary,
|
|
47
|
+
children: "Скачать"
|
|
48
|
+
}
|
|
49
|
+
)
|
|
50
|
+
]
|
|
51
|
+
},
|
|
52
|
+
o == null ? void 0 : o.id
|
|
53
|
+
)) }) });
|
|
54
|
+
x.propsToEdit = c;
|
|
5
55
|
export {
|
|
6
|
-
|
|
56
|
+
x as DownloadFileMini,
|
|
57
|
+
y as downloadFileMiniProps
|
|
7
58
|
};
|
package/dist/Faq/Faq.js
CHANGED
|
@@ -1,26 +1,46 @@
|
|
|
1
|
-
import "react/jsx-runtime";
|
|
2
|
-
import "./components/Collapse/Collapse.js";
|
|
3
|
-
import {
|
|
4
|
-
import "../HtmlContent/HtmlContent.js";
|
|
5
|
-
import "../
|
|
6
|
-
import "../
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
1
|
+
import { jsx as o, jsxs as n } from "react/jsx-runtime";
|
|
2
|
+
import { Collapse as e } from "./components/Collapse/Collapse.js";
|
|
3
|
+
import { FeedbackForm as t } from "./components/FeedbackForm/FeedbackForm.js";
|
|
4
|
+
import { HtmlContent as x } from "../HtmlContent/HtmlContent.js";
|
|
5
|
+
import { FieldTypes as p } from "../Types/FiledTypes.js";
|
|
6
|
+
import { C as c } from "../ComponentContainer-cdb2528c.js";
|
|
7
|
+
const d = {
|
|
8
|
+
type: "data",
|
|
9
|
+
label: "Вопрос",
|
|
10
|
+
dataType: "array",
|
|
11
|
+
data: {
|
|
12
|
+
title: p.TITLE,
|
|
13
|
+
description: p.HTML_CONTENT,
|
|
14
|
+
percentage: p.NUMBER
|
|
15
|
+
}
|
|
16
|
+
}, s = [d, "title"], f = ({ data: r, title: a }) => r != null && r.length ? /* @__PURE__ */ o(c, { children: /* @__PURE__ */ n("div", { className: "w-full mx-auto flex flex-col gap-[48px] transition-all duration-1000 max-tablet:gap-[30px]", children: [
|
|
17
|
+
a && /* @__PURE__ */ o("p", { className: "text-[44px] leading-[55px] font-bold text-center text-black2 max-tablet:text-[24px] max-tablet:leading-[30px] m-0", children: a }),
|
|
18
|
+
/* @__PURE__ */ o("div", { className: "flex flex-col bg-white p-12 rounded-[20px] max-tablet:p-6", children: r == null ? void 0 : r.map((l) => /* @__PURE__ */ o(
|
|
19
|
+
e,
|
|
20
|
+
{
|
|
21
|
+
title: l == null ? void 0 : l.title,
|
|
22
|
+
children: /* @__PURE__ */ n("div", { children: [
|
|
23
|
+
/* @__PURE__ */ o(
|
|
24
|
+
x,
|
|
25
|
+
{
|
|
26
|
+
data: l == null ? void 0 : l.description,
|
|
27
|
+
className: "text-[18px] leading-[26px] text-blackBG "
|
|
28
|
+
}
|
|
29
|
+
),
|
|
30
|
+
/* @__PURE__ */ o(
|
|
31
|
+
t,
|
|
32
|
+
{
|
|
33
|
+
faqId: l == null ? void 0 : l.id,
|
|
34
|
+
percent: l == null ? void 0 : l.percentage
|
|
35
|
+
},
|
|
36
|
+
l == null ? void 0 : l.id
|
|
37
|
+
)
|
|
38
|
+
] })
|
|
39
|
+
},
|
|
40
|
+
l == null ? void 0 : l.id
|
|
41
|
+
)) })
|
|
42
|
+
] }) }) : null;
|
|
43
|
+
f.propsToEdit = s;
|
|
24
44
|
export {
|
|
25
|
-
|
|
45
|
+
f as Faq
|
|
26
46
|
};
|