md-components-mdigial-azamat 0.0.76 → 0.0.79
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/ActionCard/ActionCard.js +30 -0
- package/dist/ActionCard/index.js +4 -0
- package/dist/ActionCard/info.js +11 -0
- package/dist/ActionCard/types.js +1 -0
- package/dist/ActionCardList/ActionCardList.js +32 -0
- package/dist/ActionCardList/index.js +4 -0
- package/dist/ActionCardList/info.js +11 -0
- package/dist/ActionCardList/types.js +1 -0
- package/dist/ActionIconList/ActionIconList.js +174 -0
- package/dist/ActionIconList/index.js +4 -0
- package/dist/ActionIconList/info.js +11 -0
- package/dist/ActionIconList/types.js +1 -0
- package/dist/AllComponents.js +40 -127
- package/dist/AllComponentsInfo.js +26 -27
- package/dist/AnimatedSwiper/index.js +9 -3
- package/dist/AnimatedSwiper/info.js +1 -1
- package/dist/Banner/Banner.js +1 -1
- package/dist/Banner/info.js +1 -1
- package/dist/BannerAndText/index.js +1 -1
- package/dist/BannerAndText/info.js +1 -1
- package/dist/CardIconList/CardIconList.js +17 -16
- package/dist/CardIconList/info.js +1 -1
- package/dist/CardImageList/CardImageList.js +2 -2
- package/dist/CardImageList/info.js +1 -1
- package/dist/CardImageSecondary/info.js +1 -1
- package/dist/CardImageSecondaryList/CardImageSecondaryList.js +1 -1
- package/dist/CardImageSecondaryList/info.js +1 -1
- package/dist/CardInfoTable/index.js +1 -1
- package/dist/CardInfoTable/info.js +1 -1
- package/dist/{index-04224eb4.js → Cards/ActionIconCard/index.js} +21 -27
- package/dist/Cards/ActionIconCard/info.js +11 -0
- package/dist/Cards/ActionIconCard/types.js +1 -0
- package/dist/Cards/CardImage/info.js +1 -1
- package/dist/Cards/ColoredCard/info.js +1 -1
- package/dist/Cards/ContentCard/info.js +1 -1
- package/dist/Cards/FeaturesCard/index.js +100 -8
- package/dist/Cards/FeaturesCard/info.js +2 -2
- package/dist/Cards/WarningCard/WarningCard.js +103 -62
- package/dist/Cards/WarningCard/index.js +1 -1
- package/dist/Cards/WarningCard/info.js +3 -9
- package/dist/ComponentContainer-05e27e82.js +16 -0
- package/dist/ContentCardList/ContentCardList.js +1 -1
- package/dist/ContentCardList/info.js +1 -1
- package/dist/DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js +15 -15
- package/dist/DownloadFile/components/DownloadFileBanner/info.js +1 -1
- package/dist/DownloadFile/components/DownloadFileBright/index.js +1 -1
- package/dist/DownloadFile/components/DownloadFileBright/info.js +1 -1
- package/dist/DownloadFile/components/DownloadFileFull/DownloadFileFull.js +43 -39
- package/dist/DownloadFile/components/DownloadFileFull/info.js +1 -1
- package/dist/DownloadFile/components/DownloadFileHalf/DownloadFileHalf.js +55 -51
- package/dist/DownloadFile/components/DownloadFileHalf/info.js +1 -1
- package/dist/DownloadFile/components/DownloadFileMini/DownloadFileMini.js +1 -1
- package/dist/DownloadFile/components/DownloadFileMini/info.js +1 -1
- package/dist/DownloadFile/components/FileBannerSecondary/FileBannerSecondary.js +50 -0
- package/dist/DownloadFile/components/FileBannerSecondary/index.js +4 -0
- package/dist/DownloadFile/components/FileBannerSecondary/info.js +11 -0
- package/dist/Faq/Faq.js +2 -2
- package/dist/Faq/components/FeedbackForm/FeedbackForm.js +6 -55
- package/dist/Faq/components/FeedbackForm/index.js +1 -1
- package/dist/Faq/info.js +1 -1
- package/dist/FileLoader/fileLoader.js +22 -0
- package/dist/FileLoader/index.js +1787 -0
- package/dist/Footer/info.js +1 -1
- package/dist/Forms/FormDefault/componentTypes.js +31 -0
- package/dist/Forms/FormDefault/index.js +10 -273
- package/dist/Forms/FormDefault/info.js +104 -18
- package/dist/Forms/helpers/renderFormFields.js +7 -0
- package/dist/Forms/model/components.js +102 -0
- package/dist/Forms/types/formItems.js +1 -0
- package/dist/Header/components/HeaderTabsMobile/HeaderTabsMobile.js +2 -2
- package/dist/Header/components/TabsOutlined/TabsOutlined.js +2 -2
- package/dist/Header/info.js +1 -1
- package/dist/HeroPossibilityBanner/info.js +1 -1
- package/dist/InfoBanner/info.js +1 -1
- package/dist/InfoBannerList/InfoBannerList.js +1 -1
- package/dist/InfoBannerList/info.js +1 -1
- package/dist/InstructionList/InstructionList.js +1 -1
- package/dist/InstructionList/info.js +1 -1
- package/dist/IntroBanner/IntroBanner.js +1 -1
- package/dist/IntroBanner/info.js +1 -1
- package/dist/MainBanner/MainBanner.js +1 -1
- package/dist/MainBanner/info.js +1 -1
- package/dist/MultiCards/index.js +4 -4
- package/dist/MultiCards/info.js +1 -1
- package/dist/PageViewer/renderComponents.js +1 -1
- package/dist/Partners/Partners.js +14 -14
- package/dist/Partners/info.js +1 -1
- package/dist/PartnersColors/PartnersColors.js +15 -8
- package/dist/PartnersColors/info.js +1 -1
- package/dist/PreviewList/PreviewList.js +16 -16
- package/dist/PreviewList/info.js +1 -1
- package/dist/PromoPoster/PromoPoster.js +1 -1
- package/dist/PromoPoster/info.js +1 -1
- package/dist/RenderAllComponents/RenderAllComponents.js +1 -1
- package/dist/RenderAllComponents/const.js +1 -1
- package/dist/Segments/info.js +1 -1
- package/dist/Space/info.js +1 -1
- package/dist/StandartTable/index.js +1 -1
- package/dist/StandartTable/info.js +1 -1
- package/dist/Stepper/Stepper.js +1 -1
- package/dist/Stepper/info.js +1 -1
- package/dist/SwiperList/SwiperList.js +7 -7
- package/dist/SwiperList/info.js +1 -1
- package/dist/TasksBanner/info.js +1 -1
- package/dist/TasksBannerList/TasksBannerList.js +1 -1
- package/dist/TasksBannerList/info.js +1 -1
- package/dist/TitleBlock/TitleBlock.js +15 -0
- package/dist/TitleBlock/index.js +4 -0
- package/dist/TitleBlock/info.js +11 -0
- package/dist/TitleBlock/types.js +1 -0
- package/dist/Video/VideoFull/VideoFull.js +1 -1
- package/dist/Video/VideoFull/info.js +1 -1
- package/dist/Video/VideoList/VideoList.js +4 -4
- package/dist/Video/VideoList/info.js +1 -1
- package/dist/Video/VideoListMini/VideoListMini.js +1 -1
- package/dist/Video/VideoListMini/info.js +1 -1
- package/dist/VideoMainBanner/VideoMainBanner.js +1 -1
- package/dist/VideoMainBanner/info.js +1 -1
- package/dist/assets/index.css +1 -1
- package/dist/componentsMap-3d57445f.js +98 -0
- package/dist/{data.mock-8db3fb9a.js → data.mock-9071e4ea.js} +63 -59
- package/dist/{index-b826f1c7.js → index-0a5f313c.js} +1 -1
- package/dist/index-a0ed2e4a.js +1221 -0
- package/dist/info-0f7bae6b.js +1380 -0
- package/dist/main.js +67 -66
- package/dist/{mousewheel-2cf27f39.js → mousewheel-865ae601.js} +1 -1
- package/dist/{navigation-48c90d3b.js → navigation-b894d0cd.js} +1 -1
- package/dist/size-b1291031.js +8 -0
- package/dist/{swiper-react-bfbb44d6.js → swiper-react-90953710.js} +3 -3
- package/package.json +4 -1
- package/dist/ComponentContainer-68340535.js +0 -16
- package/dist/componentsMap-153c7a30.js +0 -97
- package/dist/index.esm-67811428.js +0 -1012
|
@@ -2,7 +2,7 @@ import { jsx as e, jsxs as p } from "react/jsx-runtime";
|
|
|
2
2
|
import { ContentCard as m } from "../Cards/ContentCard/ContentCard.js";
|
|
3
3
|
import { FieldTypes as i } from "../Types/FiledTypes.js";
|
|
4
4
|
import { c as x } from "../const-53dff524.js";
|
|
5
|
-
import { C as a } from "../ComponentContainer-
|
|
5
|
+
import { C as a } from "../ComponentContainer-05e27e82.js";
|
|
6
6
|
const f = {
|
|
7
7
|
type: "cards",
|
|
8
8
|
label: "Карточки",
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import { jsx as e, jsxs as t } from "react/jsx-runtime";
|
|
2
|
-
import { downloadFile as
|
|
3
|
-
import { I as
|
|
4
|
-
import { p as
|
|
5
|
-
import { B as
|
|
6
|
-
import { C as s } from "../../../ComponentContainer-
|
|
2
|
+
import { downloadFile as m } from "../../../Actions/downloadFile/downloadFile.js";
|
|
3
|
+
import { I as l } from "../../../Icon-70ea6cb8.js";
|
|
4
|
+
import { p as o } from "../../../palette-c2fe86ec.js";
|
|
5
|
+
import { B as p } from "../../../index-875e92ce.js";
|
|
6
|
+
import { C as s } from "../../../ComponentContainer-05e27e82.js";
|
|
7
7
|
import { u as x } from "../../../useScreenSize-c1b64c02.js";
|
|
8
8
|
const c = ["title", "text", "link"], d = ({
|
|
9
|
-
title:
|
|
9
|
+
title: a,
|
|
10
10
|
text: i,
|
|
11
11
|
link: r
|
|
12
12
|
}) => {
|
|
13
13
|
const n = x(960);
|
|
14
|
-
return /* @__PURE__ */ e(s, { children: /* @__PURE__ */ t("div", { className: "p-[48px] max-tablet:
|
|
14
|
+
return /* @__PURE__ */ e(s, { children: /* @__PURE__ */ t("div", { className: "p-[48px] max-tablet:p-[32px] bg-white rounded-[20px] flex justify-between gap-[64px] max-tablet:flex-col-reverse max-tablet:gap-[32px]", children: [
|
|
15
15
|
/* @__PURE__ */ e("div", { className: "flex flex-col ", children: /* @__PURE__ */ t("div", { children: [
|
|
16
|
-
/* @__PURE__ */ e("p", { className: "text-[32px] max-tablet:text-[24px] leading-10 max-tablet:leading-[28px] font-bold mb-4 max-tablet:mb-[16px]", children:
|
|
16
|
+
/* @__PURE__ */ e("p", { className: "text-[32px] max-tablet:text-[24px] leading-10 max-tablet:leading-[28px] font-bold mb-4 max-tablet:mb-[16px]", children: a }),
|
|
17
17
|
/* @__PURE__ */ e("p", { className: "text-[16px] leading-6", children: i }),
|
|
18
18
|
/* @__PURE__ */ e(
|
|
19
|
-
|
|
19
|
+
p,
|
|
20
20
|
{
|
|
21
|
-
onClick: () =>
|
|
21
|
+
onClick: () => m({ props: { link: r } }),
|
|
22
22
|
iconRight: /* @__PURE__ */ e(
|
|
23
|
-
|
|
23
|
+
l,
|
|
24
24
|
{
|
|
25
25
|
name: "download",
|
|
26
26
|
size: 20,
|
|
27
|
-
color:
|
|
27
|
+
color: o.blackBG
|
|
28
28
|
}
|
|
29
29
|
),
|
|
30
|
-
className: "mt-8",
|
|
30
|
+
className: "w-fit max-tablet:w-full mt-8",
|
|
31
31
|
children: "Скачать"
|
|
32
32
|
}
|
|
33
33
|
)
|
|
34
34
|
] }) }),
|
|
35
35
|
/* @__PURE__ */ e(
|
|
36
|
-
|
|
36
|
+
l,
|
|
37
37
|
{
|
|
38
38
|
className: "flex-shrink-0",
|
|
39
39
|
name: "file",
|
|
40
|
-
color:
|
|
40
|
+
color: o.greenLight,
|
|
41
41
|
size: n ? 56 : 82
|
|
42
42
|
}
|
|
43
43
|
)
|
|
@@ -3,7 +3,7 @@ import { downloadFile as s } from "../../../Actions/downloadFile/downloadFile.js
|
|
|
3
3
|
import { c } from "../../../createBoolean-56064b0d.js";
|
|
4
4
|
import { B as n } from "../../../index-875e92ce.js";
|
|
5
5
|
import { B as b } from "../../../const-53dff524.js";
|
|
6
|
-
import { C as f } from "../../../ComponentContainer-
|
|
6
|
+
import { C as f } from "../../../ComponentContainer-05e27e82.js";
|
|
7
7
|
import { I as g } from "../../../index-9384c6d6.js";
|
|
8
8
|
import { c as d } from "../../../cn-6a4bf187.js";
|
|
9
9
|
import { u as h } from "../../../useScreenSize-c1b64c02.js";
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { downloadFile as
|
|
1
|
+
import { jsx as o, jsxs as a } from "react/jsx-runtime";
|
|
2
|
+
import { downloadFile as i } from "../../../Actions/downloadFile/downloadFile.js";
|
|
3
3
|
import { DataTypesEnum as p, FieldTypes as r } from "../../../Types/FiledTypes.js";
|
|
4
4
|
import { I as t } from "../../../Icon-70ea6cb8.js";
|
|
5
5
|
import { p as n } from "../../../palette-c2fe86ec.js";
|
|
6
|
-
import { B as
|
|
7
|
-
import { b as
|
|
8
|
-
import { C as d } from "../../../ComponentContainer-
|
|
9
|
-
|
|
6
|
+
import { B as c } from "../../../index-875e92ce.js";
|
|
7
|
+
import { b as x } from "../../../const-53dff524.js";
|
|
8
|
+
import { C as d } from "../../../ComponentContainer-05e27e82.js";
|
|
9
|
+
import { u as m } from "../../../useScreenSize-c1b64c02.js";
|
|
10
|
+
const f = {
|
|
10
11
|
dataType: p.array,
|
|
11
12
|
type: "data",
|
|
12
13
|
label: "Файлы для скачивания",
|
|
@@ -15,41 +16,44 @@ const x = {
|
|
|
15
16
|
text: r.STRING,
|
|
16
17
|
file: r.FILE
|
|
17
18
|
}
|
|
18
|
-
},
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
className: "flex-shrink-0",
|
|
24
|
-
name: "file",
|
|
25
|
-
color: n.greenLight,
|
|
26
|
-
size: 44
|
|
27
|
-
}
|
|
28
|
-
),
|
|
29
|
-
/* @__PURE__ */ a("div", { className: "flex flex-col max-tablet:gap-2 ", children: [
|
|
30
|
-
/* @__PURE__ */ l("p", { className: "text-[20px] leading-7 font-bold", children: e == null ? void 0 : e.title }),
|
|
31
|
-
/* @__PURE__ */ l("p", { className: "text-[16px] leading-6", children: e == null ? void 0 : e.text })
|
|
32
|
-
] })
|
|
33
|
-
] }),
|
|
34
|
-
/* @__PURE__ */ l(
|
|
35
|
-
i,
|
|
36
|
-
{
|
|
37
|
-
variant: c.Secondary,
|
|
38
|
-
onClick: () => s({ props: { link: e == null ? void 0 : e.file } }),
|
|
39
|
-
iconRight: /* @__PURE__ */ l(
|
|
19
|
+
}, b = [f], h = ({ data: l }) => {
|
|
20
|
+
const s = m(960) ? 30 : 44;
|
|
21
|
+
return /* @__PURE__ */ o(d, { children: /* @__PURE__ */ o("div", { className: "flex flex-col gap-2", children: l == null ? void 0 : l.map((e) => /* @__PURE__ */ a("div", { className: "px-[48px] py-[32px] max-tablet:px-[32px] bg-white rounded-[20px] flex justify-between items-center gap-[64px]", children: [
|
|
22
|
+
/* @__PURE__ */ a("div", { className: "flex items-center gap-[16px] max-tablet:flex-col max-tablet:items-start", children: [
|
|
23
|
+
/* @__PURE__ */ o(
|
|
40
24
|
t,
|
|
41
25
|
{
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
color: n.
|
|
26
|
+
className: "flex-shrink-0",
|
|
27
|
+
name: "file",
|
|
28
|
+
color: n.greenLight,
|
|
29
|
+
size: s
|
|
45
30
|
}
|
|
46
|
-
)
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
]
|
|
50
|
-
|
|
31
|
+
),
|
|
32
|
+
/* @__PURE__ */ a("div", { className: "flex flex-col max-tablet:gap-2 ", children: [
|
|
33
|
+
/* @__PURE__ */ o("p", { className: "text-[20px] leading-7 font-bold", children: e == null ? void 0 : e.title }),
|
|
34
|
+
/* @__PURE__ */ o("p", { className: "text-[16px] leading-6", children: e == null ? void 0 : e.text })
|
|
35
|
+
] })
|
|
36
|
+
] }),
|
|
37
|
+
/* @__PURE__ */ o(
|
|
38
|
+
c,
|
|
39
|
+
{
|
|
40
|
+
variant: x.Secondary,
|
|
41
|
+
onClick: () => i({ props: { link: e == null ? void 0 : e.file } }),
|
|
42
|
+
iconRight: /* @__PURE__ */ o(
|
|
43
|
+
t,
|
|
44
|
+
{
|
|
45
|
+
name: "download",
|
|
46
|
+
size: 20,
|
|
47
|
+
color: n.blackBG
|
|
48
|
+
}
|
|
49
|
+
)
|
|
50
|
+
}
|
|
51
|
+
)
|
|
52
|
+
] })) }) });
|
|
53
|
+
};
|
|
54
|
+
h.propsToEdit = b;
|
|
51
55
|
export {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
56
|
+
h as DownloadFileFull,
|
|
57
|
+
f as downloadFileFullProps,
|
|
58
|
+
b as propsToEdit
|
|
55
59
|
};
|
|
@@ -1,62 +1,66 @@
|
|
|
1
|
-
import { jsx as l, jsxs as
|
|
2
|
-
import { downloadFile as
|
|
3
|
-
import { DataTypesEnum as
|
|
4
|
-
import { I as
|
|
1
|
+
import { jsx as l, jsxs as r } from "react/jsx-runtime";
|
|
2
|
+
import { downloadFile as t } from "../../../Actions/downloadFile/downloadFile.js";
|
|
3
|
+
import { DataTypesEnum as c, FieldTypes as e } from "../../../Types/FiledTypes.js";
|
|
4
|
+
import { I as n } from "../../../Icon-70ea6cb8.js";
|
|
5
5
|
import { p as s } from "../../../palette-c2fe86ec.js";
|
|
6
|
-
import { B as
|
|
7
|
-
import { b as
|
|
8
|
-
import { C as f } from "../../../ComponentContainer-
|
|
9
|
-
|
|
10
|
-
|
|
6
|
+
import { B as d } from "../../../index-875e92ce.js";
|
|
7
|
+
import { b as x } from "../../../const-53dff524.js";
|
|
8
|
+
import { C as f } from "../../../ComponentContainer-05e27e82.js";
|
|
9
|
+
import { u as m } from "../../../useScreenSize-c1b64c02.js";
|
|
10
|
+
const b = {
|
|
11
|
+
dataType: c.array,
|
|
11
12
|
type: "data",
|
|
12
13
|
label: "Файлы для скачивания",
|
|
13
14
|
data: {
|
|
14
|
-
title:
|
|
15
|
-
text:
|
|
16
|
-
file:
|
|
15
|
+
title: e.STRING,
|
|
16
|
+
text: e.STRING,
|
|
17
|
+
file: e.FILE
|
|
17
18
|
}
|
|
18
|
-
},
|
|
19
|
-
|
|
20
|
-
{
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
/* @__PURE__ */ l("
|
|
19
|
+
}, g = [b, "color_icon"], h = ({ data: a, color_icon: p }) => {
|
|
20
|
+
const i = m(960) ? 30 : 48;
|
|
21
|
+
return /* @__PURE__ */ l(f, { children: /* @__PURE__ */ l("div", { className: "grid grid-cols-2 gap-6 max-tablet:grid-cols-1", children: a == null ? void 0 : a.map((o) => /* @__PURE__ */ r(
|
|
22
|
+
"div",
|
|
23
|
+
{
|
|
24
|
+
className: "p-[32px] bg-white rounded-[20px] flex max-tablet:flex-col-reverse justify-between gap-[40px] max-tablet:gap-[24px]",
|
|
25
|
+
children: [
|
|
26
|
+
/* @__PURE__ */ l("div", { className: "flex flex-col ", children: /* @__PURE__ */ r("div", { children: [
|
|
27
|
+
/* @__PURE__ */ l("p", { className: "text-[24px] leading-[32px] font-bold mb-[16px] max-tablet:mb-[12px]", children: o == null ? void 0 : o.title }),
|
|
28
|
+
/* @__PURE__ */ l("p", { className: "text-[16px] leading-[24px]", children: o == null ? void 0 : o.text }),
|
|
29
|
+
/* @__PURE__ */ l(
|
|
30
|
+
d,
|
|
31
|
+
{
|
|
32
|
+
onClick: () => t({ props: { link: o == null ? void 0 : o.file } }),
|
|
33
|
+
iconRight: /* @__PURE__ */ l(
|
|
34
|
+
n,
|
|
35
|
+
{
|
|
36
|
+
name: "download",
|
|
37
|
+
size: 20,
|
|
38
|
+
color: s.blackBG
|
|
39
|
+
}
|
|
40
|
+
),
|
|
41
|
+
className: "mt-8 max-tablet:mt-[24px]",
|
|
42
|
+
variant: x.Secondary,
|
|
43
|
+
children: "Скачать"
|
|
44
|
+
}
|
|
45
|
+
)
|
|
46
|
+
] }) }),
|
|
26
47
|
/* @__PURE__ */ l(
|
|
27
|
-
|
|
48
|
+
n,
|
|
28
49
|
{
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
name: "download",
|
|
34
|
-
size: 20,
|
|
35
|
-
color: s.blackBG
|
|
36
|
-
}
|
|
37
|
-
),
|
|
38
|
-
className: "mt-8",
|
|
39
|
-
variant: t.Secondary,
|
|
40
|
-
children: "Скачать"
|
|
50
|
+
className: "flex-shrink-0",
|
|
51
|
+
name: "file",
|
|
52
|
+
color: p || s.greenLight,
|
|
53
|
+
size: i
|
|
41
54
|
}
|
|
42
55
|
)
|
|
43
|
-
]
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
color: p || s.greenLight,
|
|
50
|
-
size: 48
|
|
51
|
-
}
|
|
52
|
-
)
|
|
53
|
-
]
|
|
54
|
-
},
|
|
55
|
-
o == null ? void 0 : o.id
|
|
56
|
-
)) }) });
|
|
57
|
-
m.propsToEdit = h;
|
|
56
|
+
]
|
|
57
|
+
},
|
|
58
|
+
o == null ? void 0 : o.id
|
|
59
|
+
)) }) });
|
|
60
|
+
};
|
|
61
|
+
h.propsToEdit = g;
|
|
58
62
|
export {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
63
|
+
h as DownloadFileHalf,
|
|
64
|
+
b as downloadFileFullProps,
|
|
65
|
+
g as propsToEdit
|
|
62
66
|
};
|
|
@@ -5,7 +5,7 @@ import { I as e } from "../../../Icon-70ea6cb8.js";
|
|
|
5
5
|
import { p } from "../../../palette-c2fe86ec.js";
|
|
6
6
|
import { B as d } from "../../../index-875e92ce.js";
|
|
7
7
|
import { b as c } from "../../../const-53dff524.js";
|
|
8
|
-
import { C as t } from "../../../ComponentContainer-
|
|
8
|
+
import { C as t } from "../../../ComponentContainer-05e27e82.js";
|
|
9
9
|
const y = {
|
|
10
10
|
dataType: i.array,
|
|
11
11
|
type: "data",
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { jsx as e, jsxs as t } from "react/jsx-runtime";
|
|
2
|
+
import { downloadFile as m } from "../../../Actions/downloadFile/downloadFile.js";
|
|
3
|
+
import { I as l } from "../../../Icon-70ea6cb8.js";
|
|
4
|
+
import { p as a } from "../../../palette-c2fe86ec.js";
|
|
5
|
+
import { B as p } from "../../../index-875e92ce.js";
|
|
6
|
+
import { C as s } from "../../../ComponentContainer-05e27e82.js";
|
|
7
|
+
import { u as x } from "../../../useScreenSize-c1b64c02.js";
|
|
8
|
+
const c = ["title", "text", "link"], d = ({
|
|
9
|
+
title: o,
|
|
10
|
+
text: i,
|
|
11
|
+
link: r
|
|
12
|
+
}) => {
|
|
13
|
+
const n = x(960);
|
|
14
|
+
return /* @__PURE__ */ e(s, { children: /* @__PURE__ */ t("div", { className: "p-[48px] max-tablet:p-[32px] bg-white rounded-[20px] flex justify-between gap-[64px] max-tablet:flex-col-reverse max-tablet:gap-[32px]", children: [
|
|
15
|
+
/* @__PURE__ */ e("div", { className: "flex flex-col ", children: /* @__PURE__ */ t("div", { children: [
|
|
16
|
+
/* @__PURE__ */ e("p", { className: "text-[32px] max-tablet:text-[24px] leading-10 max-tablet:leading-[28px] font-bold mb-4 max-tablet:mb-[16px]", children: o }),
|
|
17
|
+
/* @__PURE__ */ e("p", { className: "text-[16px] leading-6", children: i }),
|
|
18
|
+
/* @__PURE__ */ e(
|
|
19
|
+
p,
|
|
20
|
+
{
|
|
21
|
+
onClick: () => m({ props: { link: r } }),
|
|
22
|
+
iconRight: /* @__PURE__ */ e(
|
|
23
|
+
l,
|
|
24
|
+
{
|
|
25
|
+
name: "download",
|
|
26
|
+
size: 20,
|
|
27
|
+
color: a.blackBG
|
|
28
|
+
}
|
|
29
|
+
),
|
|
30
|
+
className: "w-fit max-tablet:w-full mt-8",
|
|
31
|
+
children: "Скачать"
|
|
32
|
+
}
|
|
33
|
+
)
|
|
34
|
+
] }) }),
|
|
35
|
+
/* @__PURE__ */ e(
|
|
36
|
+
l,
|
|
37
|
+
{
|
|
38
|
+
className: "flex-shrink-0",
|
|
39
|
+
name: "file",
|
|
40
|
+
color: a.greenLight,
|
|
41
|
+
size: n ? 56 : 82
|
|
42
|
+
}
|
|
43
|
+
)
|
|
44
|
+
] }) });
|
|
45
|
+
};
|
|
46
|
+
d.propsToEdit = c;
|
|
47
|
+
export {
|
|
48
|
+
d as FileBannerSecondary,
|
|
49
|
+
c as propsToEdit
|
|
50
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { C as o } from "../../../index-0a5f313c.js";
|
|
2
|
+
import { propsToEdit as n } from "./FileBannerSecondary.js";
|
|
3
|
+
const r = {
|
|
4
|
+
title: "Баннер загрузки файла",
|
|
5
|
+
description: "Компонент баннера для скачивания файлов с заголовком, описанием и ссылкой на файл. Используется для привлечения внимания к возможности загрузки документов или файлов.",
|
|
6
|
+
types: [o.downloads, o.banners],
|
|
7
|
+
propsToEdit: n
|
|
8
|
+
};
|
|
9
|
+
export {
|
|
10
|
+
r as downloadFileBannerInfo
|
|
11
|
+
};
|
package/dist/Faq/Faq.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as o, jsxs as n } from "react/jsx-runtime";
|
|
2
2
|
import { Collapse as e } from "./components/Collapse/Collapse.js";
|
|
3
|
-
import {
|
|
3
|
+
import { F as t } from "../index-a0ed2e4a.js";
|
|
4
4
|
import { HtmlContent as x } from "../HtmlContent/HtmlContent.js";
|
|
5
5
|
import { FieldTypes as p } from "../Types/FiledTypes.js";
|
|
6
|
-
import { C as c } from "../ComponentContainer-
|
|
6
|
+
import { C as c } from "../ComponentContainer-05e27e82.js";
|
|
7
7
|
const d = {
|
|
8
8
|
type: "data",
|
|
9
9
|
label: "Вопрос",
|
|
@@ -1,57 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
const V = ({ faqId: m, percent: u }) => {
|
|
7
|
-
const [a, s] = g(!1), l = k({
|
|
8
|
-
defaultValues: {
|
|
9
|
-
faq: m
|
|
10
|
-
}
|
|
11
|
-
}), { handleSubmit: x, setValue: p, getValues: b } = l, f = (t) => {
|
|
12
|
-
try {
|
|
13
|
-
s(!0), console.log("Submitted:", t);
|
|
14
|
-
} catch (h) {
|
|
15
|
-
console.error("Error submitting feedback:", h);
|
|
16
|
-
} finally {
|
|
17
|
-
s(!1);
|
|
18
|
-
}
|
|
19
|
-
}, o = (t) => {
|
|
20
|
-
p("rate", t), x(f)();
|
|
21
|
-
}, n = b("rate");
|
|
22
|
-
return /* @__PURE__ */ e(y, { ...l, children: /* @__PURE__ */ e("form", { children: /* @__PURE__ */ r("div", { className: "mt-6 flex items-center gap-6 max-tablet:flex-col max-tablet:items-start", children: [
|
|
23
|
-
/* @__PURE__ */ r("div", { className: "border-l-2 border-green pl-6 mr-14 shrink-0", children: [
|
|
24
|
-
/* @__PURE__ */ e("span", { className: "text-gray2 block text-[14px] leading-5", children: `${u}% считают ответ полезным` }),
|
|
25
|
-
/* @__PURE__ */ e("p", { className: "text-blackBG text-[15px] leading-[22px]", children: "Ответ был полезным?" })
|
|
26
|
-
] }),
|
|
27
|
-
/* @__PURE__ */ r("div", { className: "flex items-center gap-4 w-full max-tablet::pt-4", children: [
|
|
28
|
-
/* @__PURE__ */ e(
|
|
29
|
-
i,
|
|
30
|
-
{
|
|
31
|
-
size: c.M,
|
|
32
|
-
variant: d.Secondary,
|
|
33
|
-
className: "w-[125px]",
|
|
34
|
-
disabled: a,
|
|
35
|
-
onClick: () => o("yes"),
|
|
36
|
-
loading: n === "yes" && a,
|
|
37
|
-
children: "Да"
|
|
38
|
-
}
|
|
39
|
-
),
|
|
40
|
-
/* @__PURE__ */ e(
|
|
41
|
-
i,
|
|
42
|
-
{
|
|
43
|
-
size: c.M,
|
|
44
|
-
variant: d.Secondary,
|
|
45
|
-
className: "w-[125px]",
|
|
46
|
-
disabled: a,
|
|
47
|
-
onClick: () => o("no"),
|
|
48
|
-
loading: n === "no" && a,
|
|
49
|
-
children: "Нет"
|
|
50
|
-
}
|
|
51
|
-
)
|
|
52
|
-
] })
|
|
53
|
-
] }) }) });
|
|
54
|
-
};
|
|
1
|
+
import "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
import { F as e } from "../../../index-a0ed2e4a.js";
|
|
4
|
+
import "../../../index-875e92ce.js";
|
|
5
|
+
import "../../../const-53dff524.js";
|
|
55
6
|
export {
|
|
56
|
-
|
|
7
|
+
e as FeedbackForm
|
|
57
8
|
};
|
package/dist/Faq/info.js
CHANGED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { jsx as C } from "react/jsx-runtime";
|
|
2
|
+
const o = () => /* @__PURE__ */ C(
|
|
3
|
+
"svg",
|
|
4
|
+
{
|
|
5
|
+
width: "24",
|
|
6
|
+
height: "24",
|
|
7
|
+
viewBox: "0 0 24 24",
|
|
8
|
+
fill: "none",
|
|
9
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
10
|
+
children: /* @__PURE__ */ C(
|
|
11
|
+
"path",
|
|
12
|
+
{
|
|
13
|
+
d: "M13 1.99939V7.49939C13 8.4422 13 8.9136 13.2929 9.2065C13.5858 9.49939 14.0572 9.49939 15 9.49939H19.5M20 10.4791V17.9994C20 19.885 20 20.8278 19.4142 21.4136C18.8284 21.9994 17.8856 21.9994 16 21.9994H8C6.11438 21.9994 5.17157 21.9994 4.58579 21.4136C4 20.8278 4 19.885 4 17.9994V5.99939C4 4.11377 4 3.17096 4.58579 2.58518C5.17157 1.99939 6.11438 1.99939 8 1.99939H12.1603C13.0654 1.99939 13.518 1.99939 13.9158 2.18236C14.3137 2.36534 14.6082 2.70897 15.1973 3.39622L19.037 7.87592C19.5134 8.43165 19.7515 8.70952 19.8758 9.04535C20 9.38117 20 9.74714 20 10.4791Z",
|
|
14
|
+
stroke: "#3E454C",
|
|
15
|
+
"stroke-width": "2"
|
|
16
|
+
}
|
|
17
|
+
)
|
|
18
|
+
}
|
|
19
|
+
);
|
|
20
|
+
export {
|
|
21
|
+
o as FileLoaderIcon
|
|
22
|
+
};
|