md-components-mdigial-azamat 0.0.76 → 0.0.77
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 +6 -5
- package/dist/Banner/Banner.js +1 -1
- package/dist/BannerAndText/index.js +1 -1
- package/dist/CardIconList/CardIconList.js +10 -10
- package/dist/CardImageList/CardImageList.js +2 -2
- package/dist/CardImageSecondaryList/CardImageSecondaryList.js +1 -1
- package/dist/CardInfoTable/index.js +1 -1
- package/dist/Cards/WarningCard/WarningCard.js +51 -45
- package/dist/{ComponentContainer-68340535.js → ComponentContainer-841196f9.js} +3 -3
- package/dist/ContentCardList/ContentCardList.js +1 -1
- package/dist/DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js +15 -15
- package/dist/DownloadFile/components/DownloadFileBright/index.js +1 -1
- package/dist/DownloadFile/components/DownloadFileFull/DownloadFileFull.js +43 -39
- package/dist/DownloadFile/components/DownloadFileHalf/DownloadFileHalf.js +55 -51
- package/dist/DownloadFile/components/DownloadFileMini/DownloadFileMini.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 +1 -1
- package/dist/Forms/FormDefault/index.js +1 -1
- package/dist/InfoBannerList/InfoBannerList.js +1 -1
- package/dist/InstructionList/InstructionList.js +1 -1
- package/dist/IntroBanner/IntroBanner.js +1 -1
- package/dist/MainBanner/MainBanner.js +1 -1
- package/dist/MultiCards/index.js +4 -4
- package/dist/PageViewer/renderComponents.js +1 -1
- package/dist/Partners/Partners.js +14 -14
- package/dist/PartnersColors/PartnersColors.js +15 -8
- package/dist/PreviewList/PreviewList.js +16 -16
- package/dist/PromoPoster/PromoPoster.js +1 -1
- package/dist/RenderAllComponents/RenderAllComponents.js +1 -1
- package/dist/RenderAllComponents/const.js +1 -1
- package/dist/StandartTable/index.js +1 -1
- package/dist/Stepper/Stepper.js +1 -1
- package/dist/SwiperList/SwiperList.js +1 -1
- package/dist/TasksBannerList/TasksBannerList.js +1 -1
- package/dist/Video/VideoFull/VideoFull.js +1 -1
- package/dist/Video/VideoList/VideoList.js +4 -4
- package/dist/Video/VideoListMini/VideoListMini.js +1 -1
- package/dist/VideoMainBanner/VideoMainBanner.js +1 -1
- package/dist/assets/index.css +1 -1
- package/dist/componentsMap-ae33b476.js +99 -0
- package/dist/{data.mock-8db3fb9a.js → data.mock-30d53d62.js} +26 -24
- package/dist/main.js +21 -19
- package/package.json +1 -1
- package/dist/componentsMap-153c7a30.js +0 -97
package/dist/AllComponents.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { M as o, B as t, C as n, S as r, a as e, V as a, b as i, c as p, d as m, e as s, f as l, P as d, g as c, W as D, F as f, D as L, h as C, i as F, j as B, I as y, k, l as w, A as I, m as S, T as _, n as P, E as g, o as M, p as u, q as V, r as T, s as b, t as A } from "./data.mock-
|
|
1
|
+
import { M as o, B as t, C as n, S as r, a as e, V as a, b as i, c as p, d as m, e as s, f as l, P as d, g as c, W as D, F as f, D as L, h as C, i as F, j as B, I as y, k, l as w, A as I, m as S, T as _, n as P, E as g, o as M, p as u, q as V, r as T, s as b, t as A } from "./data.mock-30d53d62.js";
|
|
2
2
|
import H from "./AnimatedSwiper/index.js";
|
|
3
3
|
import { Banner as h } from "./Banner/Banner.js";
|
|
4
4
|
import { CardIconList as q } from "./CardIconList/CardIconList.js";
|
|
@@ -51,6 +51,7 @@ import "./const-53dff524.js";
|
|
|
51
51
|
import "./InstructionList/components/InstructionCard/InstructionCard.js";
|
|
52
52
|
import "./PreviewList/components/PreviewCard/PreviewCard.js";
|
|
53
53
|
import "./CardImageSecondary/CardImageSecondary.js";
|
|
54
|
+
import "./DownloadFile/components/FileBannerSecondary/FileBannerSecondary.js";
|
|
54
55
|
import "./InfoBanner/index.js";
|
|
55
56
|
import { Space as Co } from "./Space/Space.js";
|
|
56
57
|
import "./TasksBanner/TasksBanner.js";
|
|
@@ -98,7 +99,7 @@ import "./Video/VideoFull/info.js";
|
|
|
98
99
|
import "./Video/VideoList/info.js";
|
|
99
100
|
import "./Video/VideoListMini/info.js";
|
|
100
101
|
import "./VideoMainBanner/info.js";
|
|
101
|
-
const
|
|
102
|
+
const dn = {
|
|
102
103
|
MainBanner: { key: "MainBanner", component: O },
|
|
103
104
|
Banner: { key: "Banner", component: h },
|
|
104
105
|
CardImageList: { key: "CardImageList", component: W },
|
|
@@ -147,7 +148,7 @@ const ln = {
|
|
|
147
148
|
},
|
|
148
149
|
Header: { key: "Header", component: io },
|
|
149
150
|
Footer: { key: "Footer", component: po }
|
|
150
|
-
},
|
|
151
|
+
}, cn = {
|
|
151
152
|
MainBanner: o.component_props,
|
|
152
153
|
Banner: t.component_props,
|
|
153
154
|
CardImageList: n.component_props,
|
|
@@ -184,6 +185,6 @@ const ln = {
|
|
|
184
185
|
FormDefault: J
|
|
185
186
|
};
|
|
186
187
|
export {
|
|
187
|
-
|
|
188
|
-
|
|
188
|
+
dn as AllComponents,
|
|
189
|
+
cn as AllComponentsData
|
|
189
190
|
};
|
package/dist/Banner/Banner.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsx as t, jsxs as o } from "react/jsx-runtime";
|
|
|
2
2
|
import { FieldTypes as x } from "../Types/FiledTypes.js";
|
|
3
3
|
import { B as b } from "../index-875e92ce.js";
|
|
4
4
|
import { B as N, c as _ } from "../const-53dff524.js";
|
|
5
|
-
import { C as y } from "../ComponentContainer-
|
|
5
|
+
import { C as y } from "../ComponentContainer-841196f9.js";
|
|
6
6
|
import { I as g } from "../index-9384c6d6.js";
|
|
7
7
|
import { c as a } from "../cn-6a4bf187.js";
|
|
8
8
|
import { u as v } from "../useScreenSize-c1b64c02.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as e, jsxs as o } from "react/jsx-runtime";
|
|
2
2
|
import { FieldTypes as i } from "../Types/FiledTypes.js";
|
|
3
|
-
import { C as m } from "../ComponentContainer-
|
|
3
|
+
import { C as m } from "../ComponentContainer-841196f9.js";
|
|
4
4
|
import { I as g } from "../index-9384c6d6.js";
|
|
5
5
|
import { c as s } from "../cn-6a4bf187.js";
|
|
6
6
|
const x = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { jsx as l, jsxs as
|
|
2
|
-
import { S as r, F as
|
|
1
|
+
import { jsx as l, jsxs as n } from "react/jsx-runtime";
|
|
2
|
+
import { S as r, F as p } from "../index-04224eb4.js";
|
|
3
3
|
import { FieldTypes as t } from "../Types/FiledTypes.js";
|
|
4
|
-
import { C as
|
|
4
|
+
import { C as f } from "../ComponentContainer-841196f9.js";
|
|
5
5
|
import { c } from "../cn-6a4bf187.js";
|
|
6
6
|
const b = {
|
|
7
7
|
type: "cards",
|
|
@@ -22,7 +22,7 @@ const b = {
|
|
|
22
22
|
cards: s,
|
|
23
23
|
title: i,
|
|
24
24
|
size: x = r.SMALL,
|
|
25
|
-
turnover:
|
|
25
|
+
turnover: d,
|
|
26
26
|
multiHasText: o = !1
|
|
27
27
|
}) => {
|
|
28
28
|
let e;
|
|
@@ -40,7 +40,7 @@ const b = {
|
|
|
40
40
|
e = "flex flex-row items-stretch max-tablet:flex-col";
|
|
41
41
|
break;
|
|
42
42
|
}
|
|
43
|
-
return /* @__PURE__ */ l(
|
|
43
|
+
return /* @__PURE__ */ l(f, { className: c({ "order-[-1]": d }), children: /* @__PURE__ */ n(
|
|
44
44
|
"div",
|
|
45
45
|
{
|
|
46
46
|
className: c("w-full h-full flex flex-col items-center gap-[24px]"),
|
|
@@ -49,7 +49,7 @@ const b = {
|
|
|
49
49
|
"h2",
|
|
50
50
|
{
|
|
51
51
|
className: `font-bold max-tablet:text-[26px] text-[44px] max-tablet:leading-[32px] leading-[42px]
|
|
52
|
-
|
|
52
|
+
mb-[24px] max-tablet:mb-[8px] font-variant-numeric font-feature-settings`,
|
|
53
53
|
children: i
|
|
54
54
|
}
|
|
55
55
|
),
|
|
@@ -58,19 +58,19 @@ const b = {
|
|
|
58
58
|
{
|
|
59
59
|
className: `${e} gap-[24px] w-full ${o ? "grid grid-cols-2 max-tablet:flex h-full" : "flex flex-row max-tablet:flex-col"}`,
|
|
60
60
|
children: s == null ? void 0 : s.map(
|
|
61
|
-
(a,
|
|
62
|
-
|
|
61
|
+
(a, m) => a && /* @__PURE__ */ l(
|
|
62
|
+
p,
|
|
63
63
|
{
|
|
64
64
|
data: a,
|
|
65
65
|
size: x,
|
|
66
66
|
className: c(
|
|
67
67
|
{ "h-full": o },
|
|
68
68
|
{
|
|
69
|
-
"col-span-2": o &&
|
|
69
|
+
"col-span-2": o && m === 0
|
|
70
70
|
}
|
|
71
71
|
)
|
|
72
72
|
},
|
|
73
|
-
(a == null ? void 0 : a.id) ||
|
|
73
|
+
(a == null ? void 0 : a.id) || m
|
|
74
74
|
)
|
|
75
75
|
)
|
|
76
76
|
}
|
|
@@ -4,7 +4,7 @@ import { CardImageVariant as m } from "../Cards/CardImage/types.js";
|
|
|
4
4
|
import { FieldTypes as t } from "../Types/FiledTypes.js";
|
|
5
5
|
import { B as c } from "../index-875e92ce.js";
|
|
6
6
|
import { B as d } from "../const-53dff524.js";
|
|
7
|
-
import { C as f } from "../ComponentContainer-
|
|
7
|
+
import { C as f } from "../ComponentContainer-841196f9.js";
|
|
8
8
|
import { c as p } from "../cn-6a4bf187.js";
|
|
9
9
|
const g = {
|
|
10
10
|
type: "cards",
|
|
@@ -37,7 +37,7 @@ const g = {
|
|
|
37
37
|
button: o
|
|
38
38
|
}) => /* @__PURE__ */ e(f, { children: /* @__PURE__ */ n("div", { className: "w-full flex flex-col items-center gap-[24px]", children: [
|
|
39
39
|
l && /* @__PURE__ */ e(
|
|
40
|
-
"
|
|
40
|
+
"h2",
|
|
41
41
|
{
|
|
42
42
|
className: `font-bold max-tablet:text-[26px] text-[44px] max-tablet:leading-[32px] leading-[42px]
|
|
43
43
|
mb-[24px] max-tablet:mb-[8px] font-variant-numeric font-feature-settings`,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as l, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { cardImageSecondaryDataProps as x, CardImageSecondary as m } from "../CardImageSecondary/CardImageSecondary.js";
|
|
3
|
-
import { C as s } from "../ComponentContainer-
|
|
3
|
+
import { C as s } from "../ComponentContainer-841196f9.js";
|
|
4
4
|
const n = {
|
|
5
5
|
type: "cards",
|
|
6
6
|
label: "Карточки",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as x, jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as g } from "react";
|
|
3
3
|
import { FieldTypes as i } from "../Types/FiledTypes.js";
|
|
4
|
-
import { C as h } from "../ComponentContainer-
|
|
4
|
+
import { C as h } from "../ComponentContainer-841196f9.js";
|
|
5
5
|
import { c as p } from "../cn-6a4bf187.js";
|
|
6
6
|
import { B as y } from "../index-875e92ce.js";
|
|
7
7
|
import { b as w, a as u } from "../const-53dff524.js";
|
|
@@ -1,64 +1,70 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { warningCardVariant as
|
|
1
|
+
import { jsx as e, jsxs as o } from "react/jsx-runtime";
|
|
2
|
+
import { warningCardVariant as m, WarningCardVariant as r, WarningCardVariantKey as d } from "./model.js";
|
|
3
3
|
import { I as x } from "../../Icon-70ea6cb8.js";
|
|
4
4
|
import { B as f } from "../../const-53dff524.js";
|
|
5
5
|
import { B as g } from "../../index-875e92ce.js";
|
|
6
|
-
import { C } from "../../ComponentContainer-
|
|
7
|
-
import { c as
|
|
8
|
-
const
|
|
6
|
+
import { C } from "../../ComponentContainer-841196f9.js";
|
|
7
|
+
import { c as b } from "../../cn-6a4bf187.js";
|
|
8
|
+
const h = [
|
|
9
9
|
"title",
|
|
10
10
|
"title_color",
|
|
11
11
|
"description",
|
|
12
12
|
"description_color",
|
|
13
13
|
f,
|
|
14
|
-
|
|
15
|
-
],
|
|
16
|
-
title:
|
|
14
|
+
m
|
|
15
|
+
], u = ({
|
|
16
|
+
title: s,
|
|
17
17
|
description: c,
|
|
18
|
-
button:
|
|
19
|
-
variant:
|
|
18
|
+
button: p,
|
|
19
|
+
variant: t = d.Orange
|
|
20
20
|
}) => {
|
|
21
|
-
var n, i,
|
|
22
|
-
return /* @__PURE__ */
|
|
21
|
+
var a, n, i, l;
|
|
22
|
+
return /* @__PURE__ */ e(C, { children: /* @__PURE__ */ e(
|
|
23
23
|
"div",
|
|
24
24
|
{
|
|
25
25
|
className: "rounded-[24px] p-6",
|
|
26
|
-
style: { background: (
|
|
27
|
-
children: /* @__PURE__ */
|
|
28
|
-
/* @__PURE__ */
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
26
|
+
style: { background: (a = r[t]) == null ? void 0 : a.background },
|
|
27
|
+
children: /* @__PURE__ */ o("div", { className: "flex gap-4 items-center justify-between", children: [
|
|
28
|
+
/* @__PURE__ */ o(
|
|
29
|
+
"div",
|
|
30
|
+
{
|
|
31
|
+
className: "flex gap-[16px] items-center max-tablet:flex-col max-tablet:items-start max-tablet:gap-[12px]",
|
|
32
|
+
children: [
|
|
33
|
+
/* @__PURE__ */ e(
|
|
34
|
+
x,
|
|
35
|
+
{
|
|
36
|
+
name: (n = r[t]) == null ? void 0 : n.icon,
|
|
37
|
+
size: 40
|
|
38
|
+
}
|
|
39
|
+
),
|
|
40
|
+
/* @__PURE__ */ o("div", { className: "flex flex-col gap-[4px] max-tablet:gap-0", children: [
|
|
41
|
+
/* @__PURE__ */ e(
|
|
42
|
+
"p",
|
|
43
|
+
{
|
|
44
|
+
className: b("text-[24px] leading-8 font-bold"),
|
|
45
|
+
style: { color: (i = r[t]) == null ? void 0 : i.textColor },
|
|
46
|
+
children: s
|
|
47
|
+
}
|
|
48
|
+
),
|
|
49
|
+
/* @__PURE__ */ e(
|
|
50
|
+
"p",
|
|
51
|
+
{
|
|
52
|
+
className: "text-[16px] leading-6",
|
|
53
|
+
style: { color: (l = r[t]) == null ? void 0 : l.textColor },
|
|
54
|
+
children: c
|
|
55
|
+
}
|
|
56
|
+
)
|
|
57
|
+
] })
|
|
58
|
+
]
|
|
59
|
+
}
|
|
60
|
+
),
|
|
61
|
+
/* @__PURE__ */ e(g, { ...p })
|
|
56
62
|
] })
|
|
57
63
|
}
|
|
58
64
|
) });
|
|
59
65
|
};
|
|
60
|
-
|
|
66
|
+
u.propsToEdit = h;
|
|
61
67
|
export {
|
|
62
|
-
|
|
63
|
-
|
|
68
|
+
u as WarningCard,
|
|
69
|
+
h as propsToEdit
|
|
64
70
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
-
import { c as
|
|
2
|
+
import { c as x } from "./cn-6a4bf187.js";
|
|
3
3
|
const r = ({ children: a, className: t, style: l }) => /* @__PURE__ */ m(
|
|
4
4
|
"section",
|
|
5
5
|
{
|
|
6
6
|
style: l,
|
|
7
|
-
className:
|
|
8
|
-
"w-[1232px] max-tablet:w-full mx-auto px-
|
|
7
|
+
className: x(
|
|
8
|
+
"w-[1232px] max-tablet:w-full mx-auto px-0 max-tablet:px-[16px] relative max-tablet:max-w-full md:max-w-full lg:max-w-full overflow-x-hidden",
|
|
9
9
|
t
|
|
10
10
|
),
|
|
11
11
|
children: a
|
|
@@ -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-841196f9.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-841196f9.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-841196f9.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-841196f9.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-841196f9.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-841196f9.js";
|
|
9
9
|
const y = {
|
|
10
10
|
dataType: i.array,
|
|
11
11
|
type: "data",
|