md-components-mdigial-azamat 0.0.109 → 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 +8 -6
- package/dist/ActionCardList/index.js +1 -1
- package/dist/ActionCardList/info.js +1 -1
- package/dist/ActionIconList/ActionIconList.js +5 -3
- package/dist/AllComponents.js +11 -8
- package/dist/AllComponentsInfo.js +83 -81
- package/dist/ButtonsList/ButtonsList.js +25 -19
- 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 +102 -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 +7 -5
- package/dist/Cards/WarningCard/index.js +1 -1
- package/dist/Cards/WarningCard/info.js +1 -1
- 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 +9 -7
- package/dist/Forms/helpers/renderFormFields.js +1 -1
- package/dist/Forms/model/components.js +7 -5
- 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 +73 -56
- package/dist/IconList/IconList.js +53 -33
- 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-855b1df7.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-34fbb2a8.js → info-d05a1f02.js} +171 -158
- package/dist/main.js +107 -104
- package/dist/trash/HeroLargeCards/index.js +7 -6
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { FieldTypes as
|
|
3
|
-
import { B as
|
|
4
|
-
import { B as
|
|
5
|
-
import { I as
|
|
6
|
-
const
|
|
1
|
+
import { jsxs as o, jsx as l } from "react/jsx-runtime";
|
|
2
|
+
import { FieldTypes as a } from "../../../Types/FiledTypes.js";
|
|
3
|
+
import { B as t } from "../../../index-875e92ce.js";
|
|
4
|
+
import { B as c } from "../../../const-53dff524.js";
|
|
5
|
+
import { I as d } from "../../../index-9384c6d6.js";
|
|
6
|
+
const x = [
|
|
7
7
|
"title",
|
|
8
8
|
"subtitle",
|
|
9
9
|
"image",
|
|
@@ -11,42 +11,42 @@ const m = [
|
|
|
11
11
|
"id",
|
|
12
12
|
"background_color"
|
|
13
13
|
], w = {
|
|
14
|
-
title:
|
|
15
|
-
subtitle:
|
|
16
|
-
image:
|
|
17
|
-
button:
|
|
18
|
-
background_color:
|
|
19
|
-
},
|
|
20
|
-
title:
|
|
21
|
-
subtitle:
|
|
22
|
-
image:
|
|
14
|
+
title: a.TITLE,
|
|
15
|
+
subtitle: a.DESCRIPTION,
|
|
16
|
+
image: a.FILE,
|
|
17
|
+
button: c,
|
|
18
|
+
background_color: a.COLOR
|
|
19
|
+
}, m = ({
|
|
20
|
+
title: r,
|
|
21
|
+
subtitle: i,
|
|
22
|
+
image: p,
|
|
23
23
|
button: e,
|
|
24
|
-
background_color:
|
|
25
|
-
}) => /* @__PURE__ */
|
|
26
|
-
/* @__PURE__ */
|
|
24
|
+
background_color: s
|
|
25
|
+
}) => /* @__PURE__ */ o("div", { className: "w-full flex flex-col rounded-[20px] overflow-hidden", children: [
|
|
26
|
+
/* @__PURE__ */ l(
|
|
27
27
|
"div",
|
|
28
28
|
{
|
|
29
|
-
style: { background:
|
|
29
|
+
style: { background: s },
|
|
30
30
|
className: "relative w-full h-[256px] max-tablet:h-[224px]",
|
|
31
|
-
children: /* @__PURE__ */
|
|
32
|
-
|
|
31
|
+
children: /* @__PURE__ */ l(
|
|
32
|
+
d,
|
|
33
33
|
{
|
|
34
|
-
src:
|
|
35
|
-
alt:
|
|
34
|
+
src: p,
|
|
35
|
+
alt: r,
|
|
36
36
|
className: "w-full h-full",
|
|
37
37
|
imageStyles: "object-contain"
|
|
38
38
|
}
|
|
39
39
|
)
|
|
40
40
|
}
|
|
41
41
|
),
|
|
42
|
-
/* @__PURE__ */
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
((e == null ? void 0 : e.title) || (e == null ? void 0 : e.children)) && /* @__PURE__ */
|
|
42
|
+
/* @__PURE__ */ o("div", { className: "bg-white p-[32px] max-tablet:px-[24px] max-tablet:py-[32px] flex flex-col gap-[8px] h-full", children: [
|
|
43
|
+
r && /* @__PURE__ */ l("p", { className: "text-[24px] leading-[32px] font-bold", children: r }),
|
|
44
|
+
i && /* @__PURE__ */ l("p", { className: "text-[14px] leading-[20px] text-graySoft", children: i }),
|
|
45
|
+
((e == null ? void 0 : e.title) || (e == null ? void 0 : e.children)) && /* @__PURE__ */ l(t, { ...e })
|
|
46
46
|
] })
|
|
47
47
|
] });
|
|
48
|
-
|
|
48
|
+
m.propsToEdit = x;
|
|
49
49
|
export {
|
|
50
|
-
|
|
50
|
+
m as PreviewCard,
|
|
51
51
|
w as PreviewCardData
|
|
52
52
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as n, Fragment as t } from "react/jsx-runtime";
|
|
2
|
-
import { c as i } from "../componentsMap-
|
|
2
|
+
import { c as i } from "../componentsMap-cac6c316.js";
|
|
3
3
|
const d = ({ components: o, device: p }) => /* @__PURE__ */ n(t, { children: o.map((r) => {
|
|
4
4
|
const e = i[r.key];
|
|
5
5
|
return e ? /* @__PURE__ */ n(
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { M as a, B as t, a as s, C as n, S as D, b as r, V as e, c as i, d as o, e as d, P as l, f as C, g as B, h as L, W as m, i as w, j as p, F as I, D as g, k as F, l as S, m as c, I as M, n as P, o as f, p as u, A as V, q as T, T as W, r as b, E as x, s as h, t as k, u as q, v, w as y, x as A } from "../data.mock-
|
|
1
|
+
import { M as a, B as t, a as s, C as n, S as D, b as r, V as e, c as i, d as o, e as d, P as l, f as C, g as B, h as L, W as m, i as w, j as p, F as I, D as g, k as F, l as S, m as c, I as M, n as P, o as f, p as u, A as V, q as T, T as W, r as b, E as x, s as h, t as k, u as q, v, w as y, x as A } from "../data.mock-ebc679ec.js";
|
|
2
2
|
const j = [
|
|
3
3
|
a,
|
|
4
4
|
t,
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { jsx as e, jsxs as i } from "react/jsx-runtime";
|
|
2
|
+
import { useRef as x } from "react";
|
|
3
|
+
import { F as n } from "../Flex-86aee720.js";
|
|
4
|
+
import { c as u } from "../cn-6a4bf187.js";
|
|
5
|
+
const h = {
|
|
6
|
+
black: "stroke-[#0E0F11]",
|
|
7
|
+
gray: "stroke-[#758795]"
|
|
8
|
+
}, m = ({ className: r, variant: o = "black" }) => /* @__PURE__ */ e(
|
|
9
|
+
"svg",
|
|
10
|
+
{
|
|
11
|
+
width: "21",
|
|
12
|
+
height: "21",
|
|
13
|
+
viewBox: "0 0 21 21",
|
|
14
|
+
fill: "none",
|
|
15
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
16
|
+
className: r,
|
|
17
|
+
children: /* @__PURE__ */ e(
|
|
18
|
+
"path",
|
|
19
|
+
{
|
|
20
|
+
d: "M19.7998 19.8L15.3138 15.306M17.7998 9.29999C17.7998 11.5543 16.9043 13.7163 15.3102 15.3104C13.7162 16.9045 11.5541 17.8 9.2998 17.8C7.04546 17.8 4.88346 16.9045 3.2894 15.3104C1.69534 13.7163 0.799805 11.5543 0.799805 9.29999C0.799805 7.04565 1.69534 4.88364 3.2894 3.28958C4.88346 1.69552 7.04546 0.799988 9.2998 0.799988C11.5541 0.799988 13.7162 1.69552 15.3102 3.28958C16.9043 4.88364 17.7998 7.04565 17.7998 9.29999Z",
|
|
21
|
+
className: u(h[o], "stroke-[1.6]"),
|
|
22
|
+
strokeLinecap: "round"
|
|
23
|
+
}
|
|
24
|
+
)
|
|
25
|
+
}
|
|
26
|
+
), C = ({
|
|
27
|
+
title: r,
|
|
28
|
+
placeholder: o,
|
|
29
|
+
tags: p = [],
|
|
30
|
+
onSearch: c,
|
|
31
|
+
onTagClick: a
|
|
32
|
+
}) => {
|
|
33
|
+
const l = x(null), s = () => {
|
|
34
|
+
c && l.current && c(l.current.value);
|
|
35
|
+
};
|
|
36
|
+
return /* @__PURE__ */ i(
|
|
37
|
+
n,
|
|
38
|
+
{
|
|
39
|
+
vertical: !0,
|
|
40
|
+
align: "center",
|
|
41
|
+
justify: "center",
|
|
42
|
+
className: "max-w-[880px] mx-auto",
|
|
43
|
+
children: [
|
|
44
|
+
r && /* @__PURE__ */ e("h2", { className: "text-white text-[56px] leading-[68px] font-bold text-center mb-12", children: r }),
|
|
45
|
+
/* @__PURE__ */ i(
|
|
46
|
+
n,
|
|
47
|
+
{
|
|
48
|
+
align: "center",
|
|
49
|
+
gap: 8,
|
|
50
|
+
className: "w-full mb-6 p-2 rounded-[20px] bg-white/50 backdrop-blur-[2px] border-[2px] border-[#D4E3FF]",
|
|
51
|
+
children: [
|
|
52
|
+
/* @__PURE__ */ e(
|
|
53
|
+
"input",
|
|
54
|
+
{
|
|
55
|
+
ref: l,
|
|
56
|
+
type: "text",
|
|
57
|
+
placeholder: o,
|
|
58
|
+
onKeyDown: (t) => {
|
|
59
|
+
t.key === "Enter" && s();
|
|
60
|
+
},
|
|
61
|
+
className: "w-full text-[#0E0F11] h-16 py-5 px-6 text-lg leading-6 rounded-2xl border-[#D4E3FF] outline-none placeholder:text-[#7893B0]"
|
|
62
|
+
}
|
|
63
|
+
),
|
|
64
|
+
/* @__PURE__ */ e(
|
|
65
|
+
n,
|
|
66
|
+
{
|
|
67
|
+
component: "button",
|
|
68
|
+
"aria-label": "Search",
|
|
69
|
+
onClick: s,
|
|
70
|
+
align: "center",
|
|
71
|
+
justify: "center",
|
|
72
|
+
className: "flex-shrink-0 size-[64px] bg-white rounded-2xl hover:bg-gray-100 transition-colors cursor-pointer border border-[#D4E3FF]",
|
|
73
|
+
children: /* @__PURE__ */ e(m, { variant: "gray" })
|
|
74
|
+
}
|
|
75
|
+
)
|
|
76
|
+
]
|
|
77
|
+
}
|
|
78
|
+
),
|
|
79
|
+
/* @__PURE__ */ e(
|
|
80
|
+
n,
|
|
81
|
+
{
|
|
82
|
+
wrap: !0,
|
|
83
|
+
justify: "center",
|
|
84
|
+
className: "max-w-[600px] gap-x-3 gap-y-4",
|
|
85
|
+
children: p.map((t, d) => /* @__PURE__ */ e(
|
|
86
|
+
"button",
|
|
87
|
+
{
|
|
88
|
+
onClick: () => a == null ? void 0 : a(t),
|
|
89
|
+
className: "bg-[#C2C1C159] hover:bg-white/30 text-white px-4 py-2.5 rounded-xl backdrop-blur-[2px] transition-colors cursor-pointer border-none text-base leading-6 font-medium",
|
|
90
|
+
children: t.label
|
|
91
|
+
},
|
|
92
|
+
d
|
|
93
|
+
))
|
|
94
|
+
}
|
|
95
|
+
)
|
|
96
|
+
]
|
|
97
|
+
}
|
|
98
|
+
);
|
|
99
|
+
};
|
|
100
|
+
export {
|
|
101
|
+
C as SearchBlock
|
|
102
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { C as o } from "../index-0a5f313c.js";
|
|
2
|
+
import { propsToEdit as t } from "./schema.js";
|
|
3
|
+
const p = {
|
|
4
|
+
title: "Поиск с тегами",
|
|
5
|
+
description: "Блок поиска с заголовком и тегами",
|
|
6
|
+
types: [o.banners],
|
|
7
|
+
propsToEdit: t
|
|
8
|
+
};
|
|
9
|
+
export {
|
|
10
|
+
p as searchBlockInfo
|
|
11
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { FieldTypes as a } from "../Types/FiledTypes.js";
|
|
2
|
+
const e = [
|
|
3
|
+
"title",
|
|
4
|
+
"placeholder",
|
|
5
|
+
{
|
|
6
|
+
type: "data",
|
|
7
|
+
label: "Стили",
|
|
8
|
+
dataType: "object",
|
|
9
|
+
data: {
|
|
10
|
+
keys: {
|
|
11
|
+
background: a.STRING
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
type: "data",
|
|
17
|
+
label: "Теги",
|
|
18
|
+
dataType: "object",
|
|
19
|
+
data: {
|
|
20
|
+
keys: {
|
|
21
|
+
tags: {
|
|
22
|
+
label: "Список тегов",
|
|
23
|
+
dataType: "array",
|
|
24
|
+
type: "items",
|
|
25
|
+
data: {
|
|
26
|
+
label: a.STRING,
|
|
27
|
+
action: a.STRING
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
];
|
|
34
|
+
export {
|
|
35
|
+
e as propsToEdit
|
|
36
|
+
};
|