md-components-mdigial-azamat 0.0.71 → 0.0.73
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/Banner/Banner.js +1 -1
- package/dist/BannerAndText/index.js +1 -1
- package/dist/CardIconList/CardIconList.js +8 -8
- package/dist/CardImageList/CardImageList.js +20 -20
- package/dist/CardImageSecondaryList/CardImageSecondaryList.js +1 -1
- package/dist/CardInfoTable/index.js +1 -1
- package/dist/Cards/WarningCard/WarningCard.js +1 -1
- package/dist/ComponentContainer-68340535.js +16 -0
- package/dist/ContentCardList/ContentCardList.js +1 -1
- package/dist/DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js +1 -1
- package/dist/DownloadFile/components/DownloadFileBright/index.js +1 -1
- package/dist/DownloadFile/components/DownloadFileFull/DownloadFileFull.js +1 -1
- package/dist/DownloadFile/components/DownloadFileHalf/DownloadFileHalf.js +1 -1
- package/dist/DownloadFile/components/DownloadFileMini/DownloadFileMini.js +1 -1
- 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 +24 -17
- package/dist/IntroBanner/IntroBanner.js +1 -1
- package/dist/MainBanner/MainBanner.js +1 -1
- package/dist/MultiCards/index.js +1 -1
- package/dist/Partners/Partners.js +1 -1
- package/dist/PartnersColors/PartnersColors.js +1 -1
- package/dist/PreviewList/PreviewList.js +39 -26
- package/dist/PreviewList/components/PreviewCard/PreviewCard.js +20 -20
- package/dist/PromoPoster/PromoPoster.js +1 -1
- package/dist/StandartTable/index.js +1 -1
- package/dist/Stepper/Stepper.js +34 -28
- 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 +1 -1
- package/dist/Video/VideoListMini/VideoListMini.js +1 -1
- package/dist/VideoMainBanner/VideoMainBanner.js +1 -1
- package/dist/assets/index.css +1 -1
- package/package.json +1 -1
- package/dist/ComponentContainer-cdb2528c.js +0 -16
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-68340535.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-68340535.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
|
|
1
|
+
import { jsx as l, jsxs as p } from "react/jsx-runtime";
|
|
2
2
|
import { S as r, F as f } from "../index-04224eb4.js";
|
|
3
3
|
import { FieldTypes as t } from "../Types/FiledTypes.js";
|
|
4
|
-
import { C as m } from "../ComponentContainer-
|
|
4
|
+
import { C as m } from "../ComponentContainer-68340535.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: n,
|
|
26
26
|
multiHasText: o = !1
|
|
27
27
|
}) => {
|
|
28
28
|
let e;
|
|
@@ -40,13 +40,13 @@ const b = {
|
|
|
40
40
|
e = "flex flex-row items-stretch max-tablet:flex-col";
|
|
41
41
|
break;
|
|
42
42
|
}
|
|
43
|
-
return /* @__PURE__ */ l(m, { className: c("p-0", { "order-[-1]":
|
|
43
|
+
return /* @__PURE__ */ l(m, { className: c("p-0", { "order-[-1]": n }), children: /* @__PURE__ */ p(
|
|
44
44
|
"div",
|
|
45
45
|
{
|
|
46
46
|
className: c("w-full h-full flex flex-col items-center gap-[24px]"),
|
|
47
47
|
children: [
|
|
48
48
|
i && /* @__PURE__ */ l(
|
|
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] font-variant-numeric font-feature-settings`,
|
|
@@ -58,7 +58,7 @@ 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,
|
|
61
|
+
(a, d) => a && /* @__PURE__ */ l(
|
|
62
62
|
f,
|
|
63
63
|
{
|
|
64
64
|
data: a,
|
|
@@ -66,11 +66,11 @@ const b = {
|
|
|
66
66
|
className: c(
|
|
67
67
|
{ "h-full": o },
|
|
68
68
|
{
|
|
69
|
-
"col-span-2": o &&
|
|
69
|
+
"col-span-2": o && d === 0
|
|
70
70
|
}
|
|
71
71
|
)
|
|
72
72
|
},
|
|
73
|
-
(a == null ? void 0 : a.id) ||
|
|
73
|
+
(a == null ? void 0 : a.id) || d
|
|
74
74
|
)
|
|
75
75
|
)
|
|
76
76
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as e, jsxs as n } from "react/jsx-runtime";
|
|
2
|
-
import { CardImage as
|
|
2
|
+
import { CardImage as x } from "../Cards/CardImage/CardImage.js";
|
|
3
3
|
import { CardImageVariant as m } from "../Cards/CardImage/types.js";
|
|
4
4
|
import { FieldTypes as t } from "../Types/FiledTypes.js";
|
|
5
|
-
import { B as
|
|
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-
|
|
8
|
-
import { c as
|
|
7
|
+
import { C as f } from "../ComponentContainer-68340535.js";
|
|
8
|
+
import { c as p } from "../cn-6a4bf187.js";
|
|
9
9
|
const g = {
|
|
10
10
|
type: "cards",
|
|
11
11
|
dataType: "array",
|
|
@@ -29,31 +29,31 @@ const g = {
|
|
|
29
29
|
type: t.VARIANT
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
|
-
}, b = ["title", "description", g, "grid", d],
|
|
32
|
+
}, b = ["title", "description", g, "grid", d], u = ({
|
|
33
33
|
cards: r,
|
|
34
|
-
title:
|
|
35
|
-
description:
|
|
36
|
-
grid:
|
|
34
|
+
title: l,
|
|
35
|
+
description: i,
|
|
36
|
+
grid: s,
|
|
37
37
|
button: o
|
|
38
|
-
}) => /* @__PURE__ */ e(f, { children: /* @__PURE__ */ n("div", { className: "w-full flex flex-col items-center gap-
|
|
39
|
-
|
|
38
|
+
}) => /* @__PURE__ */ e(f, { children: /* @__PURE__ */ n("div", { className: "w-full flex flex-col items-center gap-[24px]", children: [
|
|
39
|
+
l && /* @__PURE__ */ e(
|
|
40
40
|
"p",
|
|
41
41
|
{
|
|
42
42
|
className: `font-bold max-tablet:text-[26px] text-[44px] max-tablet:leading-[32px] leading-[42px]
|
|
43
|
-
mb-[24px] font-variant-numeric font-feature-settings`,
|
|
44
|
-
children:
|
|
43
|
+
mb-[24px] max-tablet:mb-[8px] font-variant-numeric font-feature-settings`,
|
|
44
|
+
children: l
|
|
45
45
|
}
|
|
46
46
|
),
|
|
47
|
-
|
|
47
|
+
i && /* @__PURE__ */ e("p", { className: "text-[18px] leading-[26px] text-graySoft text-center", children: i }),
|
|
48
48
|
/* @__PURE__ */ e(
|
|
49
49
|
"div",
|
|
50
50
|
{
|
|
51
|
-
className:
|
|
52
|
-
`grid grid-cols-${
|
|
51
|
+
className: p(
|
|
52
|
+
`w-full grid grid-cols-${s} items-stretch gap-6`,
|
|
53
53
|
"max-tablet:grid-cols-1"
|
|
54
54
|
),
|
|
55
55
|
children: r == null ? void 0 : r.map((a) => /* @__PURE__ */ e(
|
|
56
|
-
|
|
56
|
+
x,
|
|
57
57
|
{
|
|
58
58
|
data: a
|
|
59
59
|
},
|
|
@@ -62,15 +62,15 @@ const g = {
|
|
|
62
62
|
}
|
|
63
63
|
),
|
|
64
64
|
o && /* @__PURE__ */ e("div", { className: "flex flex-wrap gap-4", children: /* @__PURE__ */ e(
|
|
65
|
-
|
|
65
|
+
c,
|
|
66
66
|
{
|
|
67
|
-
className:
|
|
67
|
+
className: p("w-fit z-10 max-tablet:w-full"),
|
|
68
68
|
...o
|
|
69
69
|
}
|
|
70
70
|
) })
|
|
71
71
|
] }) });
|
|
72
|
-
|
|
72
|
+
u.propsToEdit = b;
|
|
73
73
|
export {
|
|
74
|
-
|
|
74
|
+
u as CardImageList,
|
|
75
75
|
b as propsToEdit
|
|
76
76
|
};
|
|
@@ -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-68340535.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-68340535.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";
|
|
@@ -3,7 +3,7 @@ import { warningCardVariant as p, WarningCardVariant as e, WarningCardVariantKey
|
|
|
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-
|
|
6
|
+
import { C } from "../../ComponentContainer-68340535.js";
|
|
7
7
|
import { c as h } from "../../cn-6a4bf187.js";
|
|
8
8
|
const u = [
|
|
9
9
|
"title",
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
+
import { c as e } from "./cn-6a4bf187.js";
|
|
3
|
+
const r = ({ children: a, className: t, style: l }) => /* @__PURE__ */ m(
|
|
4
|
+
"section",
|
|
5
|
+
{
|
|
6
|
+
style: l,
|
|
7
|
+
className: e(
|
|
8
|
+
"w-[1232px] max-tablet:w-full mx-auto px-4 max-tablet:px-0 relative max-tablet:max-w-full md:max-w-full lg:max-w-full overflow-x-hidden",
|
|
9
|
+
t
|
|
10
|
+
),
|
|
11
|
+
children: a
|
|
12
|
+
}
|
|
13
|
+
);
|
|
14
|
+
export {
|
|
15
|
+
r as C
|
|
16
|
+
};
|
|
@@ -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-68340535.js";
|
|
6
6
|
const f = {
|
|
7
7
|
type: "cards",
|
|
8
8
|
label: "Карточки",
|
|
@@ -3,7 +3,7 @@ import { downloadFile as p } from "../../../Actions/downloadFile/downloadFile.js
|
|
|
3
3
|
import { I as o } from "../../../Icon-70ea6cb8.js";
|
|
4
4
|
import { p as a } from "../../../palette-c2fe86ec.js";
|
|
5
5
|
import { B as m } from "../../../index-875e92ce.js";
|
|
6
|
-
import { C as s } from "../../../ComponentContainer-
|
|
6
|
+
import { C as s } from "../../../ComponentContainer-68340535.js";
|
|
7
7
|
import { u as x } from "../../../useScreenSize-c1b64c02.js";
|
|
8
8
|
const c = ["title", "text", "link"], d = ({
|
|
9
9
|
title: l,
|
|
@@ -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-68340535.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";
|
|
@@ -5,7 +5,7 @@ import { I as t } from "../../../Icon-70ea6cb8.js";
|
|
|
5
5
|
import { p as n } from "../../../palette-c2fe86ec.js";
|
|
6
6
|
import { B as i } from "../../../index-875e92ce.js";
|
|
7
7
|
import { b as c } from "../../../const-53dff524.js";
|
|
8
|
-
import { C as d } from "../../../ComponentContainer-
|
|
8
|
+
import { C as d } from "../../../ComponentContainer-68340535.js";
|
|
9
9
|
const x = {
|
|
10
10
|
dataType: p.array,
|
|
11
11
|
type: "data",
|
|
@@ -5,7 +5,7 @@ import { I as e } from "../../../Icon-70ea6cb8.js";
|
|
|
5
5
|
import { p as s } from "../../../palette-c2fe86ec.js";
|
|
6
6
|
import { B as c } from "../../../index-875e92ce.js";
|
|
7
7
|
import { b as t } from "../../../const-53dff524.js";
|
|
8
|
-
import { C as f } from "../../../ComponentContainer-
|
|
8
|
+
import { C as f } from "../../../ComponentContainer-68340535.js";
|
|
9
9
|
const x = {
|
|
10
10
|
dataType: d.array,
|
|
11
11
|
type: "data",
|
|
@@ -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-68340535.js";
|
|
9
9
|
const y = {
|
|
10
10
|
dataType: i.array,
|
|
11
11
|
type: "data",
|
package/dist/Faq/Faq.js
CHANGED
|
@@ -3,7 +3,7 @@ import { Collapse as e } from "./components/Collapse/Collapse.js";
|
|
|
3
3
|
import { FeedbackForm as t } from "./components/FeedbackForm/FeedbackForm.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-68340535.js";
|
|
7
7
|
const d = {
|
|
8
8
|
type: "data",
|
|
9
9
|
label: "Вопрос",
|
|
@@ -4,7 +4,7 @@ import { u as P } from "../../index.esm-67811428.js";
|
|
|
4
4
|
import { B as L } from "../../index-875e92ce.js";
|
|
5
5
|
import { a as R, b as D } from "../../const-53dff524.js";
|
|
6
6
|
import { c as x } from "../../cn-6a4bf187.js";
|
|
7
|
-
import { C as E } from "../../ComponentContainer-
|
|
7
|
+
import { C as E } from "../../ComponentContainer-68340535.js";
|
|
8
8
|
import { u as M } from "../../useScreenSize-c1b64c02.js";
|
|
9
9
|
const B = S(
|
|
10
10
|
({ className: i, label: s, error: o, ...n }, l) => /* @__PURE__ */ a("div", { className: "w-full", children: [
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as t, jsxs as m } from "react/jsx-runtime";
|
|
2
2
|
import { InfoBanner as x, InfoBannerFields as c } from "../InfoBanner/index.js";
|
|
3
3
|
import { c as l } from "../createBoolean-56064b0d.js";
|
|
4
|
-
import { C as f } from "../ComponentContainer-
|
|
4
|
+
import { C as f } from "../ComponentContainer-68340535.js";
|
|
5
5
|
import { c as a } from "../cn-6a4bf187.js";
|
|
6
6
|
import { u as d } from "../useScreenSize-c1b64c02.js";
|
|
7
7
|
const b = {
|
|
@@ -1,33 +1,40 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { B as
|
|
1
|
+
import { jsxs as s, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { B as r } from "../index-875e92ce.js";
|
|
3
3
|
import { c as i } from "../const-53dff524.js";
|
|
4
|
-
import { C as
|
|
5
|
-
import { InstructionCardData as
|
|
6
|
-
const x = ["title", "cards", i],
|
|
4
|
+
import { C as m } from "../ComponentContainer-68340535.js";
|
|
5
|
+
import { InstructionCardData as p, InstructionCard as l } from "./components/InstructionCard/InstructionCard.js";
|
|
6
|
+
const x = ["title", "cards", i], C = {
|
|
7
7
|
type: "cards",
|
|
8
8
|
label: "Карточки",
|
|
9
9
|
dataType: "array",
|
|
10
10
|
data: {
|
|
11
|
-
...
|
|
11
|
+
...p
|
|
12
12
|
}
|
|
13
|
-
},
|
|
14
|
-
title:
|
|
15
|
-
cards:
|
|
16
|
-
button:
|
|
17
|
-
}) => /* @__PURE__ */
|
|
18
|
-
|
|
19
|
-
|
|
13
|
+
}, f = ({
|
|
14
|
+
title: a,
|
|
15
|
+
cards: o,
|
|
16
|
+
button: n
|
|
17
|
+
}) => /* @__PURE__ */ s(m, { className: "flex flex-col items-center", children: [
|
|
18
|
+
a && /* @__PURE__ */ e(
|
|
19
|
+
"h2",
|
|
20
|
+
{
|
|
21
|
+
className: `font-bold text-[44px] max-tablet:text-[26px] max-tablet:leading-[32px] leading-[42px]
|
|
22
|
+
mb-[24px] font-variant-numeric font-feature-settings`,
|
|
23
|
+
children: a
|
|
24
|
+
}
|
|
25
|
+
),
|
|
26
|
+
/* @__PURE__ */ e("div", { className: "flex flex-row max-tablet:flex-col items-stretch gap-[24px]", children: o == null ? void 0 : o.map((t) => /* @__PURE__ */ e(
|
|
20
27
|
l,
|
|
21
28
|
{
|
|
22
29
|
...t
|
|
23
30
|
},
|
|
24
31
|
t == null ? void 0 : t.id
|
|
25
32
|
)) }),
|
|
26
|
-
/* @__PURE__ */
|
|
33
|
+
/* @__PURE__ */ e(r, { ...n })
|
|
27
34
|
] });
|
|
28
|
-
|
|
35
|
+
f.propsToEdit = x;
|
|
29
36
|
export {
|
|
30
|
-
|
|
31
|
-
|
|
37
|
+
f as InstructionList,
|
|
38
|
+
C as cards,
|
|
32
39
|
x as propsToEdit
|
|
33
40
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as a, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { B as b } from "../index-875e92ce.js";
|
|
3
|
-
import { C as c } from "../ComponentContainer-
|
|
3
|
+
import { C as c } from "../ComponentContainer-68340535.js";
|
|
4
4
|
import { I as e } from "../index-9384c6d6.js";
|
|
5
5
|
import { u as d } from "../useScreenSize-c1b64c02.js";
|
|
6
6
|
const h = [
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as o, jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import { B as f } from "../index-875e92ce.js";
|
|
3
3
|
import { c as d } from "../const-53dff524.js";
|
|
4
|
-
import { C as b } from "../ComponentContainer-
|
|
4
|
+
import { C as b } from "../ComponentContainer-68340535.js";
|
|
5
5
|
import { I as t } from "../index-9384c6d6.js";
|
|
6
6
|
import { c as h } from "../cn-6a4bf187.js";
|
|
7
7
|
const g = [
|
package/dist/MultiCards/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsxs as o, jsx as a } from "react/jsx-runtime";
|
|
|
2
2
|
import { BannerAndText as p } from "../BannerAndText/index.js";
|
|
3
3
|
import { CardIconList as d } from "../CardIconList/CardIconList.js";
|
|
4
4
|
import { FieldTypes as t } from "../Types/FiledTypes.js";
|
|
5
|
-
import { C as c } from "../ComponentContainer-
|
|
5
|
+
import { C as c } from "../ComponentContainer-68340535.js";
|
|
6
6
|
const m = {
|
|
7
7
|
type: "banner_card",
|
|
8
8
|
label: "Баннер карточка",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as l, jsxs as r } from "react/jsx-runtime";
|
|
2
2
|
import { FieldTypes as t } from "../Types/FiledTypes.js";
|
|
3
|
-
import { C as o } from "../ComponentContainer-
|
|
3
|
+
import { C as o } from "../ComponentContainer-68340535.js";
|
|
4
4
|
import { I as c } from "../index-9384c6d6.js";
|
|
5
5
|
const p = {
|
|
6
6
|
type: "data",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as s, jsx as p } from "react/jsx-runtime";
|
|
2
2
|
import { useState as a } from "react";
|
|
3
3
|
import { FieldTypes as r } from "../Types/FiledTypes.js";
|
|
4
|
-
import { C as x } from "../ComponentContainer-
|
|
4
|
+
import { C as x } from "../ComponentContainer-68340535.js";
|
|
5
5
|
import { PartnerCard as f } from "./components/PartnerCard/PartnerCard.js";
|
|
6
6
|
import { PartnerTab as c } from "./components/PartnerTab/PartnerTab.js";
|
|
7
7
|
const T = {
|
|
@@ -1,41 +1,54 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { B as
|
|
3
|
-
import { c as
|
|
4
|
-
import { C as
|
|
5
|
-
import { PreviewCardData as
|
|
6
|
-
const
|
|
1
|
+
import { jsxs as s, jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { B as i } from "../index-875e92ce.js";
|
|
3
|
+
import { c as o } from "../const-53dff524.js";
|
|
4
|
+
import { C as d } from "../ComponentContainer-68340535.js";
|
|
5
|
+
import { PreviewCardData as n, PreviewCard as c } from "./components/PreviewCard/PreviewCard.js";
|
|
6
|
+
const f = {
|
|
7
7
|
type: "cards",
|
|
8
8
|
dataType: "array",
|
|
9
9
|
label: "Карточки",
|
|
10
10
|
data: {
|
|
11
|
-
...
|
|
11
|
+
...n
|
|
12
12
|
}
|
|
13
|
-
},
|
|
13
|
+
}, g = [
|
|
14
14
|
"title",
|
|
15
15
|
"description",
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
f,
|
|
17
|
+
o,
|
|
18
18
|
"grid"
|
|
19
19
|
], h = ({
|
|
20
|
-
title:
|
|
21
|
-
cards:
|
|
20
|
+
title: r,
|
|
21
|
+
cards: x,
|
|
22
22
|
button: e,
|
|
23
|
-
grid:
|
|
24
|
-
description:
|
|
25
|
-
}) => /* @__PURE__ */
|
|
26
|
-
(
|
|
27
|
-
|
|
28
|
-
/* @__PURE__ */ r("div", { className: `grid grid-cols-${m} items-stretch gap-[24px]`, children: p == null ? void 0 : p.map((l, x) => /* @__PURE__ */ r(
|
|
29
|
-
f,
|
|
23
|
+
grid: l = 3,
|
|
24
|
+
description: t
|
|
25
|
+
}) => /* @__PURE__ */ s(d, { className: "flex flex-col items-center", children: [
|
|
26
|
+
(r == null ? void 0 : r.length) && /* @__PURE__ */ a(
|
|
27
|
+
"h2",
|
|
30
28
|
{
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
29
|
+
className: `font-bold text-[44px] max-tablet:text-[26px] max-tablet:leading-[32px] leading-[42px]
|
|
30
|
+
mb-[24px] font-variant-numeric font-feature-settings`,
|
|
31
|
+
children: r
|
|
32
|
+
}
|
|
33
|
+
),
|
|
34
|
+
(t == null ? void 0 : t.length) && /* @__PURE__ */ a("p", { className: "text-[20px] max-tablet:text-[16px] max-tablet:leading-[20px] leading-[26px] text-graySoft text-center mb-[48px] max-tablet:mb-[32px]", children: t }),
|
|
35
|
+
/* @__PURE__ */ a(
|
|
36
|
+
"div",
|
|
37
|
+
{
|
|
38
|
+
className: `w-full grid grid-cols-${l} items-stretch gap-[24px] max-tablet:grid-cols-1`,
|
|
39
|
+
children: x == null ? void 0 : x.map((m, p) => /* @__PURE__ */ a(
|
|
40
|
+
c,
|
|
41
|
+
{
|
|
42
|
+
...m
|
|
43
|
+
},
|
|
44
|
+
p
|
|
45
|
+
))
|
|
46
|
+
}
|
|
47
|
+
),
|
|
48
|
+
((e == null ? void 0 : e.title) || (e == null ? void 0 : e.children)) && /* @__PURE__ */ a(i, { ...e })
|
|
36
49
|
] });
|
|
37
|
-
h.propsToEdit =
|
|
50
|
+
h.propsToEdit = g;
|
|
38
51
|
export {
|
|
39
52
|
h as PreviewList,
|
|
40
|
-
|
|
53
|
+
g as propsToEdit
|
|
41
54
|
};
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { FieldTypes as
|
|
3
|
-
import { B as
|
|
4
|
-
import { B as
|
|
5
|
-
import { I as
|
|
6
|
-
const
|
|
7
|
-
title:
|
|
8
|
-
subtitle:
|
|
9
|
-
image:
|
|
10
|
-
button:
|
|
11
|
-
},
|
|
12
|
-
/* @__PURE__ */
|
|
13
|
-
|
|
1
|
+
import { jsxs as s, jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { FieldTypes as r } from "../../../Types/FiledTypes.js";
|
|
3
|
+
import { B as x } from "../../../index-875e92ce.js";
|
|
4
|
+
import { B as m } from "../../../const-53dff524.js";
|
|
5
|
+
import { I as o } from "../../../index-9384c6d6.js";
|
|
6
|
+
const d = ["title", "subtitle", "image", "button", "id"], v = {
|
|
7
|
+
title: r.TITLE,
|
|
8
|
+
subtitle: r.DESCRIPTION,
|
|
9
|
+
image: r.FILE,
|
|
10
|
+
button: m
|
|
11
|
+
}, c = ({ title: l, subtitle: p, image: i, button: e }) => /* @__PURE__ */ s("div", { className: "w-full flex flex-col rounded-[20px] overflow-hidden", children: [
|
|
12
|
+
/* @__PURE__ */ a("div", { className: "relative w-full h-[256px] max-tablet:h-[224px]", children: /* @__PURE__ */ a(
|
|
13
|
+
o,
|
|
14
14
|
{
|
|
15
|
-
src:
|
|
15
|
+
src: i,
|
|
16
16
|
alt: l,
|
|
17
17
|
className: "w-full h-full",
|
|
18
18
|
imageStyles: "object-cover"
|
|
19
19
|
}
|
|
20
20
|
) }),
|
|
21
|
-
/* @__PURE__ */
|
|
22
|
-
(l == null ? void 0 : l.length) && /* @__PURE__ */
|
|
23
|
-
|
|
24
|
-
((e == null ? void 0 : e.title) || (e == null ? void 0 : e.children)) && /* @__PURE__ */
|
|
21
|
+
/* @__PURE__ */ s("div", { className: "bg-white p-[32px] max-tablet:px-[24px] max-tablet:py-[32px] flex flex-col gap-[8px] h-full", children: [
|
|
22
|
+
(l == null ? void 0 : l.length) && /* @__PURE__ */ a("p", { className: "text-[24px] leading-[32px] font-bold", children: l }),
|
|
23
|
+
p && /* @__PURE__ */ a("p", { className: "text-[14px] leading-[20px] text-graySoft", children: p }),
|
|
24
|
+
((e == null ? void 0 : e.title) || (e == null ? void 0 : e.children)) && /* @__PURE__ */ a(x, { ...e })
|
|
25
25
|
] })
|
|
26
26
|
] });
|
|
27
|
-
|
|
27
|
+
c.propsToEdit = d;
|
|
28
28
|
export {
|
|
29
|
-
|
|
29
|
+
c as PreviewCard,
|
|
30
30
|
v as PreviewCardData
|
|
31
31
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import { FieldTypes as l } from "../Types/FiledTypes.js";
|
|
3
3
|
import { c as m } from "../createBoolean-56064b0d.js";
|
|
4
|
-
import { C as s } from "../ComponentContainer-
|
|
4
|
+
import { C as s } from "../ComponentContainer-68340535.js";
|
|
5
5
|
import { c as n } from "../cn-6a4bf187.js";
|
|
6
6
|
import { u as b } from "../useScreenSize-c1b64c02.js";
|
|
7
7
|
const x = m({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as i, jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import { FieldTypes as o } from "../Types/FiledTypes.js";
|
|
3
|
-
import { C as l } from "../ComponentContainer-
|
|
3
|
+
import { C as l } from "../ComponentContainer-68340535.js";
|
|
4
4
|
import { c as p } from "../cn-6a4bf187.js";
|
|
5
5
|
import { CardMarkedRow as c, CardMarkedRowFields as t } from "./components/CardMarkedRow/index.js";
|
|
6
6
|
import { CardWarning as x } from "./components/CardWarning/index.js";
|