md-components-mdigial-azamat 0.0.108 → 0.0.112
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/ActionCardList/ActionCardList.js +12 -5
- package/dist/ActionCardList/index.js +1 -1
- package/dist/ActionCardList/info.js +1 -1
- package/dist/ActionIconList/ActionIconList.js +9 -2
- package/dist/Actions/actionsGenerator.js +30 -11
- package/dist/Actions/handlers/download.js +10 -0
- package/dist/Actions/handlers/fallback.js +4 -0
- package/dist/Actions/handlers/index.js +10 -0
- package/dist/Actions/handlers/link.js +6 -0
- package/dist/Actions/handlers/modal.js +11 -0
- package/dist/Actions/index.js +9 -11
- package/dist/Actions/projectActions.js +13 -0
- package/dist/Actions/types.js +6 -1
- package/dist/AllComponents.js +13 -5
- package/dist/AllComponentsInfo.js +92 -84
- package/dist/ButtonsList/ButtonsList.js +38 -0
- package/dist/ButtonsList/index.js +4 -0
- package/dist/ButtonsList/info.js +11 -0
- package/dist/ButtonsList/schema.js +21 -0
- package/dist/ButtonsList/types.js +1 -0
- package/dist/CardImageList/CardImageList.js +87 -71
- package/dist/CardImageList/info.js +1 -1
- package/dist/CardImageList/schema.js +57 -0
- package/dist/Cards/CardImage/CardImage.js +104 -55
- package/dist/Cards/CardImage/index.js +6 -1
- package/dist/Cards/CardImage/info.js +1 -1
- package/dist/Cards/CardImage/schema.js +32 -0
- package/dist/Cards/CardImage/types.js +3 -2
- package/dist/Cards/WarningCard/WarningCard.js +11 -4
- package/dist/Cards/WarningCard/index.js +1 -1
- package/dist/Cards/WarningCard/info.js +1 -1
- package/dist/DownloadFile/components/DownloadFileFull/DownloadFileFull.js +28 -25
- package/dist/DownloadFile/components/DownloadFileHalf/DownloadFileHalf.js +25 -22
- package/dist/DownloadFile/components/FileBannerSecondary/FileBannerSecondary.js +21 -18
- package/dist/Flex-86aee720.js +78 -0
- package/dist/Footer/Footer.js +5 -5
- package/dist/Forms/FormDefault/index.js +1 -1
- package/dist/Forms/FormDefault/info.js +13 -6
- package/dist/Forms/helpers/renderFormFields.js +1 -1
- package/dist/Forms/model/components.js +11 -4
- package/dist/Header/Header.js +1 -1
- package/dist/Header/components/HeaderMainMobile/HeaderMainMobile.js +12 -12
- package/dist/Header/components/HeaderMobile/HeaderMobile.js +1 -1
- package/dist/Header/components/HeaderSearch/HeaderSearch.js +1 -1
- package/dist/Header/components/HeaderTabsMobile/HeaderTabsMobile.js +10 -10
- package/dist/Header/components/HeaderWeb/HeaderWeb.js +15 -15
- package/dist/HeroIconsBanner/HeroIconsBanner.js +78 -0
- package/dist/HeroIconsBanner/index.js +4 -0
- package/dist/HeroIconsBanner/info.js +11 -0
- package/dist/HeroIconsBanner/schema.js +40 -0
- package/dist/HeroIconsBanner/types.js +1 -0
- package/dist/IconList/IconList.js +59 -0
- package/dist/IconList/index.js +4 -0
- package/dist/IconList/info.js +11 -0
- package/dist/IconList/schema.js +26 -0
- package/dist/IconList/types.js +1 -0
- package/dist/ModalBody/index.js +1 -1
- package/dist/PageViewer/renderComponents.js +1 -1
- package/dist/PreviewList/PreviewList.js +19 -19
- package/dist/PreviewList/components/PreviewCard/PreviewCard.js +29 -29
- package/dist/RenderAllComponents/RenderAllComponents.js +1 -1
- package/dist/RenderAllComponents/const.js +1 -1
- package/dist/SearchBlock/SearchBlock.js +102 -0
- package/dist/SearchBlock/index.js +4 -0
- package/dist/SearchBlock/info.js +11 -0
- package/dist/SearchBlock/schema.js +36 -0
- package/dist/assets/index.css +1 -1
- package/dist/{clientApi-642fea4b.js → clientApi-ccb08ba6.js} +7 -7
- package/dist/{componentsMap-d2b8d2d4.js → componentsMap-cac6c316.js} +4 -3
- package/dist/{data.mock-182979d1.js → data.mock-ebc679ec.js} +107 -27
- package/dist/{index-497f59a8.js → index-b795390d.js} +23 -20
- package/dist/{index.module-c8833286.js → index.module-8835bf96.js} +1 -1
- package/dist/{info-f6e88bd8.js → info-d05a1f02.js} +174 -156
- package/dist/main.js +100 -91
- package/dist/trash/HeroLargeCards/index.js +7 -6
- package/package.json +1 -1
|
@@ -1,78 +1,94 @@
|
|
|
1
|
-
import { jsx as t, jsxs as
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import { CardImageVariant as m } from "../Cards/CardImage/types.js";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
const
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
1
|
+
import { jsx as t, jsxs as f } from "react/jsx-runtime";
|
|
2
|
+
import { CardImage as g } from "../Cards/CardImage/CardImage.js";
|
|
3
|
+
import "../Cards/CardImage/info.js";
|
|
4
|
+
import { CardImageVariant as m, CardImageSize as n } from "../Cards/CardImage/types.js";
|
|
5
|
+
import { B as h } from "../index-875e92ce.js";
|
|
6
|
+
import { C as b } from "../ComponentContainer-dca711c6.js";
|
|
7
|
+
import { F as d } from "../Flex-86aee720.js";
|
|
8
|
+
import { c as i } from "../cn-6a4bf187.js";
|
|
9
|
+
import { propsToEdit as w } from "./schema.js";
|
|
10
|
+
const o = {
|
|
11
|
+
[m.PRIMARY]: {
|
|
12
|
+
title: "text-black",
|
|
13
|
+
description: "text-graySoft",
|
|
14
|
+
container: ""
|
|
15
|
+
},
|
|
16
|
+
[m.SECONDARY]: {
|
|
17
|
+
title: "text-white",
|
|
18
|
+
description: "text-white/80",
|
|
19
|
+
container: "max-w-[1440px]"
|
|
20
|
+
}
|
|
21
|
+
}, C = {
|
|
22
|
+
[n.SMALL]: "font-extrabold text-[52px] leading-none",
|
|
23
|
+
[n.LARGE]: "font-bold max-tablet:text-[26px] text-[44px] max-tablet:leading-[32px] leading-[42px]"
|
|
24
|
+
}, N = ({
|
|
25
|
+
cards: l,
|
|
26
|
+
title: s,
|
|
27
|
+
description: p,
|
|
28
|
+
grid: c,
|
|
29
|
+
button: x,
|
|
30
|
+
variant: r = m.PRIMARY,
|
|
31
|
+
size: a = n.LARGE
|
|
32
|
+
}) => /* @__PURE__ */ t(b, { className: i(o[r].container), children: /* @__PURE__ */ f(
|
|
33
|
+
d,
|
|
34
|
+
{
|
|
35
|
+
vertical: !0,
|
|
36
|
+
align: "center",
|
|
37
|
+
gap: 24,
|
|
38
|
+
className: "w-full",
|
|
39
|
+
children: [
|
|
40
|
+
s && /* @__PURE__ */ t(
|
|
41
|
+
"h2",
|
|
22
42
|
{
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
43
|
+
className: i(
|
|
44
|
+
"mb-6 max-tablet:mb-2 font-variant-numeric font-feature-settings",
|
|
45
|
+
C[a],
|
|
46
|
+
o[r].title
|
|
47
|
+
),
|
|
48
|
+
children: s
|
|
49
|
+
}
|
|
50
|
+
),
|
|
51
|
+
p && /* @__PURE__ */ t(
|
|
52
|
+
"p",
|
|
26
53
|
{
|
|
27
|
-
|
|
28
|
-
|
|
54
|
+
className: i(
|
|
55
|
+
"text-lg leading-[26px] text-center",
|
|
56
|
+
o[r].description
|
|
57
|
+
),
|
|
58
|
+
children: p
|
|
29
59
|
}
|
|
30
|
-
],
|
|
31
|
-
type: e.VARIANT
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
}, u = ["title", "description", b, "grid", d], N = ({
|
|
35
|
-
cards: r,
|
|
36
|
-
title: l,
|
|
37
|
-
description: i,
|
|
38
|
-
grid: s,
|
|
39
|
-
button: o
|
|
40
|
-
}) => /* @__PURE__ */ t(g, { children: /* @__PURE__ */ n("div", { className: "w-full flex flex-col items-center gap-[24px]", children: [
|
|
41
|
-
l && /* @__PURE__ */ t(
|
|
42
|
-
"h2",
|
|
43
|
-
{
|
|
44
|
-
className: `font-bold max-tablet:text-[26px] text-[44px] max-tablet:leading-[32px] leading-[42px]
|
|
45
|
-
mb-[24px] max-tablet:mb-[8px] font-variant-numeric font-feature-settings`,
|
|
46
|
-
children: l
|
|
47
|
-
}
|
|
48
|
-
),
|
|
49
|
-
i && /* @__PURE__ */ t("p", { className: "text-[18px] leading-[26px] text-graySoft text-center", children: i }),
|
|
50
|
-
/* @__PURE__ */ t(
|
|
51
|
-
"div",
|
|
52
|
-
{
|
|
53
|
-
className: p(
|
|
54
|
-
`w-full grid grid-cols-${s} items-stretch gap-6`,
|
|
55
|
-
"max-tablet:grid-cols-1"
|
|
56
60
|
),
|
|
57
|
-
|
|
58
|
-
|
|
61
|
+
/* @__PURE__ */ t(
|
|
62
|
+
"div",
|
|
59
63
|
{
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
64
|
+
className: i(
|
|
65
|
+
`w-full grid grid-cols-${c} items-stretch gap-6`,
|
|
66
|
+
"max-tablet:grid-cols-1"
|
|
67
|
+
),
|
|
68
|
+
children: l == null ? void 0 : l.map((e) => /* @__PURE__ */ t(
|
|
69
|
+
g,
|
|
70
|
+
{
|
|
71
|
+
data: {
|
|
72
|
+
...e,
|
|
73
|
+
variant: r || (e == null ? void 0 : e.variant),
|
|
74
|
+
size: a || (e == null ? void 0 : e.size)
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
e == null ? void 0 : e.id
|
|
78
|
+
))
|
|
79
|
+
}
|
|
80
|
+
),
|
|
81
|
+
x && /* @__PURE__ */ t("div", { className: "flex flex-wrap gap-4", children: /* @__PURE__ */ t(
|
|
82
|
+
h,
|
|
83
|
+
{
|
|
84
|
+
className: i("w-fit z-10 max-tablet:w-full"),
|
|
85
|
+
...x
|
|
86
|
+
}
|
|
87
|
+
) })
|
|
88
|
+
]
|
|
89
|
+
}
|
|
90
|
+
) });
|
|
91
|
+
N.propsToEdit = w;
|
|
75
92
|
export {
|
|
76
|
-
N as CardImageList
|
|
77
|
-
u as propsToEdit
|
|
93
|
+
N as CardImageList
|
|
78
94
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { C as o } from "../index-0a5f313c.js";
|
|
2
|
-
import { propsToEdit as t } from "./
|
|
2
|
+
import { propsToEdit as t } from "./schema.js";
|
|
3
3
|
const i = {
|
|
4
4
|
title: "Список карточек с изображениями",
|
|
5
5
|
description: "Компонент для отображения списка карточек с изображениями, заголовками, описаниями и кнопками действий. Используется для представления продуктов, услуг или других элементов в виде сетки карточек.",
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { AllActionsObject as l } from "../Actions/types.js";
|
|
2
|
+
import { CardImageVariant as e, CardImageSize as t } from "../Cards/CardImage/types.js";
|
|
3
|
+
import { FieldTypes as a } from "../Types/FiledTypes.js";
|
|
4
|
+
import { B as r } from "../const-53dff524.js";
|
|
5
|
+
const i = {
|
|
6
|
+
type: "cards",
|
|
7
|
+
dataType: "array",
|
|
8
|
+
label: "Карточки",
|
|
9
|
+
data: {
|
|
10
|
+
action: l,
|
|
11
|
+
title: a.TITLE,
|
|
12
|
+
description: a.DESCRIPTION,
|
|
13
|
+
image: a.FILE,
|
|
14
|
+
is_black: a.BOOLEAN
|
|
15
|
+
}
|
|
16
|
+
}, o = {
|
|
17
|
+
label: "Вариант",
|
|
18
|
+
key: "variant",
|
|
19
|
+
value: e.PRIMARY,
|
|
20
|
+
options: [
|
|
21
|
+
{
|
|
22
|
+
label: "Primary",
|
|
23
|
+
value: e.PRIMARY
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
label: "Secondary",
|
|
27
|
+
value: e.SECONDARY
|
|
28
|
+
}
|
|
29
|
+
],
|
|
30
|
+
type: a.VARIANT
|
|
31
|
+
}, s = {
|
|
32
|
+
label: "Размер",
|
|
33
|
+
key: "size",
|
|
34
|
+
value: t.LARGE,
|
|
35
|
+
options: [
|
|
36
|
+
{
|
|
37
|
+
label: "Large",
|
|
38
|
+
value: t.LARGE
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
label: "Small",
|
|
42
|
+
value: t.SMALL
|
|
43
|
+
}
|
|
44
|
+
],
|
|
45
|
+
type: a.VARIANT
|
|
46
|
+
}, A = [
|
|
47
|
+
"title",
|
|
48
|
+
"description",
|
|
49
|
+
o,
|
|
50
|
+
s,
|
|
51
|
+
i,
|
|
52
|
+
"grid",
|
|
53
|
+
r
|
|
54
|
+
];
|
|
55
|
+
export {
|
|
56
|
+
A as propsToEdit
|
|
57
|
+
};
|
|
@@ -1,69 +1,118 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { actionsGenerator as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
1
|
+
import { jsxs as s, jsx as l } from "react/jsx-runtime";
|
|
2
|
+
import { actionsGenerator as f } from "../../Actions/actionsGenerator.js";
|
|
3
|
+
import "../../Actions/projectActions.js";
|
|
4
|
+
import "../../Actions/types.js";
|
|
5
|
+
import { F as p } from "../../Flex-86aee720.js";
|
|
6
|
+
import { I as u } from "../../index-9384c6d6.js";
|
|
7
|
+
import { c as t } from "../../cn-6a4bf187.js";
|
|
8
|
+
import { propsToEdit as w } from "./schema.js";
|
|
9
|
+
import { CardImageVariant as m, CardImageSize as x } from "./types.js";
|
|
10
|
+
const o = {
|
|
11
|
+
[m.PRIMARY]: {
|
|
12
|
+
bg: "bg-white",
|
|
13
|
+
title: "text-blackBG",
|
|
14
|
+
description: "text-graySoft"
|
|
15
|
+
},
|
|
16
|
+
[m.SECONDARY]: {
|
|
17
|
+
bg: "bg-white/15 backdrop-blur-[15px]",
|
|
18
|
+
title: "text-white",
|
|
19
|
+
description: "text-white/80"
|
|
20
|
+
}
|
|
21
|
+
}, a = {
|
|
22
|
+
[x.SMALL]: {
|
|
23
|
+
borderRadius: "rounded-3xl",
|
|
24
|
+
padding: "pt-8 pb-4 px-6 gap-3",
|
|
25
|
+
imgHeight: "min-h-[256px] max-h-[272px] max-w-full",
|
|
26
|
+
imgWidth: "w-auto"
|
|
27
|
+
},
|
|
28
|
+
[x.LARGE]: {
|
|
29
|
+
borderRadius: "rounded-[20px]",
|
|
30
|
+
padding: "p-12 max-tablet:py-6 max-tablet:px-8 gap-5 max-tablet:gap-4",
|
|
31
|
+
imgHeight: "min-h-[264px] max-h-[356px] max-tablet:min-h-[262px] max-tablet:max-h-[262px]",
|
|
32
|
+
imgWidth: "w-full"
|
|
18
33
|
}
|
|
19
|
-
},
|
|
20
|
-
const
|
|
21
|
-
|
|
22
|
-
|
|
34
|
+
}, R = ({ data: d }) => {
|
|
35
|
+
const {
|
|
36
|
+
variant: i = m.PRIMARY,
|
|
37
|
+
size: e = x.LARGE,
|
|
38
|
+
title: n,
|
|
39
|
+
description: c,
|
|
40
|
+
image: g,
|
|
41
|
+
action: b,
|
|
42
|
+
is_black: r
|
|
43
|
+
} = d || {}, h = f(b);
|
|
44
|
+
return /* @__PURE__ */ s(
|
|
45
|
+
p,
|
|
23
46
|
{
|
|
24
|
-
...
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
47
|
+
...h,
|
|
48
|
+
vertical: !0,
|
|
49
|
+
align: "center",
|
|
50
|
+
justify: "between",
|
|
51
|
+
className: t(
|
|
52
|
+
"w-full overflow-hidden flex-1 transition-colors duration-300",
|
|
53
|
+
o[i].bg,
|
|
54
|
+
a[e].borderRadius,
|
|
55
|
+
{
|
|
56
|
+
"!bg-black": r
|
|
57
|
+
}
|
|
28
58
|
),
|
|
29
59
|
children: [
|
|
30
|
-
/* @__PURE__ */
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
60
|
+
/* @__PURE__ */ s(
|
|
61
|
+
p,
|
|
62
|
+
{
|
|
63
|
+
vertical: !0,
|
|
64
|
+
align: "center",
|
|
65
|
+
className: t("w-full", a[e].padding),
|
|
66
|
+
children: [
|
|
67
|
+
/* @__PURE__ */ l(
|
|
68
|
+
"p",
|
|
69
|
+
{
|
|
70
|
+
className: t(
|
|
71
|
+
"font-bold text-2xl text-center max-tablet:text-xl max-tablet:leading-6",
|
|
72
|
+
o[i].title,
|
|
73
|
+
{
|
|
74
|
+
"text-white": r
|
|
75
|
+
}
|
|
76
|
+
),
|
|
77
|
+
children: n
|
|
78
|
+
}
|
|
47
79
|
),
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
80
|
+
/* @__PURE__ */ l(
|
|
81
|
+
"p",
|
|
82
|
+
{
|
|
83
|
+
className: t(
|
|
84
|
+
"text-base leading-6 text-center max-tablet:text-sm max-tablet:leading-5",
|
|
85
|
+
o[i].description,
|
|
86
|
+
{
|
|
87
|
+
"!text-white/80": r
|
|
88
|
+
}
|
|
89
|
+
),
|
|
90
|
+
children: c
|
|
91
|
+
}
|
|
92
|
+
)
|
|
93
|
+
]
|
|
94
|
+
}
|
|
95
|
+
),
|
|
96
|
+
/* @__PURE__ */ l(
|
|
97
|
+
u,
|
|
54
98
|
{
|
|
55
|
-
src:
|
|
56
|
-
alt:
|
|
57
|
-
className:
|
|
58
|
-
|
|
99
|
+
src: g,
|
|
100
|
+
alt: n,
|
|
101
|
+
className: t(
|
|
102
|
+
"w-full box-border max-tablet:h-[200px]",
|
|
103
|
+
a[e].imgHeight
|
|
104
|
+
),
|
|
105
|
+
imageStyles: t(
|
|
106
|
+
a[e].imgWidth,
|
|
107
|
+
"h-full max-tablet:w-[200px] object-contain"
|
|
108
|
+
)
|
|
59
109
|
}
|
|
60
110
|
)
|
|
61
111
|
]
|
|
62
112
|
}
|
|
63
113
|
);
|
|
64
114
|
};
|
|
65
|
-
|
|
115
|
+
R.propsToEdit = w;
|
|
66
116
|
export {
|
|
67
|
-
|
|
68
|
-
n as propsToEdit
|
|
117
|
+
R as CardImage
|
|
69
118
|
};
|
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
import { CardImage as e } from "./CardImage.js";
|
|
2
|
+
import { cardImageInfo as o } from "./info.js";
|
|
3
|
+
import { CardImageSize as d, CardImageVariant as f } from "./types.js";
|
|
2
4
|
export {
|
|
3
|
-
e as CardImage
|
|
5
|
+
e as CardImage,
|
|
6
|
+
d as CardImageSize,
|
|
7
|
+
f as CardImageVariant,
|
|
8
|
+
o as cardImageInfo
|
|
4
9
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { C as o } from "../../index-0a5f313c.js";
|
|
2
|
-
import { propsToEdit as t } from "./
|
|
2
|
+
import { propsToEdit as t } from "./schema.js";
|
|
3
3
|
const p = {
|
|
4
4
|
title: "Карточка с изображением",
|
|
5
5
|
description: "Компонент для отображения карточки с изображением, заголовком и описанием. Используется для представления отдельных элементов с визуальным контентом.",
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { FieldTypes as a } from "../../Types/FiledTypes.js";
|
|
2
|
+
import { CardImageVariant as e, CardImageSize as t } from "./types.js";
|
|
3
|
+
const l = {
|
|
4
|
+
type: "data",
|
|
5
|
+
label: "Данные карточки с изображением",
|
|
6
|
+
dataType: "object",
|
|
7
|
+
data: {
|
|
8
|
+
keys: {
|
|
9
|
+
title: a.TITLE,
|
|
10
|
+
description: a.DESCRIPTION,
|
|
11
|
+
image: a.FILE,
|
|
12
|
+
variant: {
|
|
13
|
+
type: a.VARIANT,
|
|
14
|
+
options: [
|
|
15
|
+
{ label: "Primary", value: e.PRIMARY },
|
|
16
|
+
{ label: "Secondary", value: e.SECONDARY }
|
|
17
|
+
]
|
|
18
|
+
},
|
|
19
|
+
size: {
|
|
20
|
+
type: a.VARIANT,
|
|
21
|
+
options: [
|
|
22
|
+
{ label: "Small", value: t.SMALL },
|
|
23
|
+
{ label: "Large", value: t.LARGE }
|
|
24
|
+
]
|
|
25
|
+
},
|
|
26
|
+
is_black: a.BOOLEAN
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}, r = [l];
|
|
30
|
+
export {
|
|
31
|
+
r as propsToEdit
|
|
32
|
+
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
var
|
|
1
|
+
var A = /* @__PURE__ */ ((r) => (r.LARGE = "large", r.SMALL = "small", r))(A || {}), R = /* @__PURE__ */ ((r) => (r.PRIMARY = "primary", r.SECONDARY = "secondary", r))(R || {});
|
|
2
2
|
export {
|
|
3
|
-
|
|
3
|
+
A as CardImageSize,
|
|
4
|
+
R as CardImageVariant
|
|
4
5
|
};
|
|
@@ -28,8 +28,9 @@ import "../../HeroPossibilityBanner/index.js";
|
|
|
28
28
|
import "../../PartnersColors/PartnersColors.js";
|
|
29
29
|
import "../../PreviewList/PreviewList.js";
|
|
30
30
|
import "../CardImage/CardImage.js";
|
|
31
|
+
import "../CardImage/info.js";
|
|
31
32
|
import "../ContentCard/ContentCard.js";
|
|
32
|
-
import { W as
|
|
33
|
+
import { W as to, p as mo } from "../../info-d05a1f02.js";
|
|
33
34
|
import "../ColoredCard/index.js";
|
|
34
35
|
import "../FeaturesCard/index.js";
|
|
35
36
|
import "../../DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js";
|
|
@@ -59,12 +60,12 @@ import "react-dom";
|
|
|
59
60
|
import "../../AnimatedSwiper/info.js";
|
|
60
61
|
import "../../Banner/info.js";
|
|
61
62
|
import "../../BannerAndText/info.js";
|
|
63
|
+
import "../../ButtonsList/info.js";
|
|
62
64
|
import "../../CardIconList/info.js";
|
|
63
65
|
import "../../CardImageList/info.js";
|
|
64
66
|
import "../../CardImageSecondary/info.js";
|
|
65
67
|
import "../../CardImageSecondaryList/info.js";
|
|
66
68
|
import "../../CardInfoTable/info.js";
|
|
67
|
-
import "../CardImage/info.js";
|
|
68
69
|
import "../ColoredCard/info.js";
|
|
69
70
|
import "../ContentCard/info.js";
|
|
70
71
|
import "../FeaturesCard/info.js";
|
|
@@ -77,7 +78,9 @@ import "../../DownloadFile/components/DownloadFileMini/info.js";
|
|
|
77
78
|
import "../../Faq/info.js";
|
|
78
79
|
import "../../Footer/info.js";
|
|
79
80
|
import "../../Header/info.js";
|
|
81
|
+
import "../../HeroIconsBanner/info.js";
|
|
80
82
|
import "../../HeroPossibilityBanner/info.js";
|
|
83
|
+
import "../../IconList/info.js";
|
|
81
84
|
import "../../InfoBanner/info.js";
|
|
82
85
|
import "../../InfoBannerList/info.js";
|
|
83
86
|
import "../../InstructionList/info.js";
|
|
@@ -88,6 +91,7 @@ import "../../Partners/info.js";
|
|
|
88
91
|
import "../../PartnersColors/info.js";
|
|
89
92
|
import "../../PreviewList/info.js";
|
|
90
93
|
import "../../PromoPoster/info.js";
|
|
94
|
+
import "../../SearchBlock/info.js";
|
|
91
95
|
import "../../Segments/info.js";
|
|
92
96
|
import "../../Space/info.js";
|
|
93
97
|
import "../../StandartTable/info.js";
|
|
@@ -100,9 +104,12 @@ import "../../Video/VideoList/info.js";
|
|
|
100
104
|
import "../../Video/VideoListMini/info.js";
|
|
101
105
|
import "../../VideoMainBanner/info.js";
|
|
102
106
|
import "../../Actions/types.js";
|
|
107
|
+
import "../../Actions/projectActions.js";
|
|
108
|
+
import "../../Flex-86aee720.js";
|
|
109
|
+
import "../../HeroIconsBanner/HeroIconsBanner.js";
|
|
103
110
|
import "../../Icon-70ea6cb8.js";
|
|
104
111
|
import "../../ComponentContainer-dca711c6.js";
|
|
105
112
|
export {
|
|
106
|
-
|
|
107
|
-
|
|
113
|
+
to as WarningCard,
|
|
114
|
+
mo as propsToEdit
|
|
108
115
|
};
|
|
@@ -1,32 +1,33 @@
|
|
|
1
1
|
import { jsx as o, jsxs as a } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { invokeProjectAction as s } from "../../../Actions/projectActions.js";
|
|
3
|
+
import { Actions as p } from "../../../Actions/types.js";
|
|
4
|
+
import { DataTypesEnum as c, FieldTypes as t } from "../../../Types/FiledTypes.js";
|
|
5
|
+
import { I as r } from "../../../Icon-70ea6cb8.js";
|
|
5
6
|
import { p as n } from "../../../palette-c2fe86ec.js";
|
|
6
|
-
import { B as
|
|
7
|
-
import { b as
|
|
8
|
-
import { C as
|
|
9
|
-
import { u as
|
|
10
|
-
const
|
|
11
|
-
dataType:
|
|
7
|
+
import { B as x } from "../../../index-875e92ce.js";
|
|
8
|
+
import { b as d } from "../../../const-53dff524.js";
|
|
9
|
+
import { C as m } from "../../../ComponentContainer-dca711c6.js";
|
|
10
|
+
import { u as f } from "../../../useScreenSize-c1b64c02.js";
|
|
11
|
+
const b = {
|
|
12
|
+
dataType: c.array,
|
|
12
13
|
type: "data",
|
|
13
14
|
label: "Файлы для скачивания",
|
|
14
15
|
data: {
|
|
15
|
-
title:
|
|
16
|
-
text:
|
|
17
|
-
file:
|
|
16
|
+
title: t.STRING,
|
|
17
|
+
text: t.STRING,
|
|
18
|
+
file: t.FILE
|
|
18
19
|
}
|
|
19
|
-
},
|
|
20
|
-
const
|
|
21
|
-
return /* @__PURE__ */ o(
|
|
20
|
+
}, h = [b], u = ({ data: l }) => {
|
|
21
|
+
const i = f(960) ? 30 : 44;
|
|
22
|
+
return /* @__PURE__ */ o(m, { 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
23
|
/* @__PURE__ */ a("div", { className: "flex items-center gap-[16px] max-tablet:flex-col max-tablet:items-start", children: [
|
|
23
24
|
/* @__PURE__ */ o(
|
|
24
|
-
|
|
25
|
+
r,
|
|
25
26
|
{
|
|
26
27
|
className: "flex-shrink-0",
|
|
27
28
|
name: "file",
|
|
28
29
|
color: n.greenLight,
|
|
29
|
-
size:
|
|
30
|
+
size: i
|
|
30
31
|
}
|
|
31
32
|
),
|
|
32
33
|
/* @__PURE__ */ a("div", { className: "flex flex-col max-tablet:gap-2 ", children: [
|
|
@@ -35,12 +36,14 @@ const f = {
|
|
|
35
36
|
] })
|
|
36
37
|
] }),
|
|
37
38
|
/* @__PURE__ */ o(
|
|
38
|
-
|
|
39
|
+
x,
|
|
39
40
|
{
|
|
40
|
-
variant:
|
|
41
|
-
onClick: () =>
|
|
41
|
+
variant: d.Secondary,
|
|
42
|
+
onClick: () => s(p.downloadFile.key, {
|
|
43
|
+
props: { link: e == null ? void 0 : e.file }
|
|
44
|
+
}),
|
|
42
45
|
iconRight: /* @__PURE__ */ o(
|
|
43
|
-
|
|
46
|
+
r,
|
|
44
47
|
{
|
|
45
48
|
name: "download",
|
|
46
49
|
size: 20,
|
|
@@ -51,9 +54,9 @@ const f = {
|
|
|
51
54
|
)
|
|
52
55
|
] })) }) });
|
|
53
56
|
};
|
|
54
|
-
|
|
57
|
+
u.propsToEdit = h;
|
|
55
58
|
export {
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
+
u as DownloadFileFull,
|
|
60
|
+
b as downloadFileFullProps,
|
|
61
|
+
h as propsToEdit
|
|
59
62
|
};
|