md-components-mdigial-azamat 0.0.88 → 0.0.91
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/ActionIconList/ActionIconList.js +1 -1
- package/dist/AllComponents.js +5 -4
- package/dist/AllComponentsInfo.js +1 -1
- package/dist/Cards/WarningCard/WarningCard.js +4 -3
- package/dist/Cards/WarningCard/index.js +1 -1
- package/dist/Cards/WarningCard/info.js +1 -1
- package/dist/Forms/FormDefault/index.js +1 -1
- package/dist/Forms/FormDefault/info.js +6 -5
- package/dist/Forms/helpers/renderFormFields.js +1 -1
- package/dist/Forms/model/components.js +1 -1
- package/dist/ModalBody/index.js +1 -1
- package/dist/PageViewer/renderComponents.js +1 -1
- package/dist/RenderAllComponents/RenderAllComponents.js +1 -1
- package/dist/RenderAllComponents/const.js +1 -1
- package/dist/TitleBlock/TitleBlock.js +1 -1
- package/dist/assets/index.css +1 -1
- package/dist/{componentsMap-2618a2a1.js → componentsMap-fe7d949d.js} +1 -1
- package/dist/{data.mock-9071e4ea.js → data.mock-f00bb32c.js} +14 -6
- package/dist/{index-5aaa0755.js → index-51282dc9.js} +15 -15
- package/dist/{info-1169ba3e.js → info-6760fbcd.js} +221 -219
- package/dist/main.js +20 -18
- package/package.json +1 -1
|
@@ -10,7 +10,7 @@ import { CardImage as p } from "./Cards/CardImage/CardImage.js";
|
|
|
10
10
|
import { ColoredCard as f } from "./Cards/ColoredCard/index.js";
|
|
11
11
|
import { ContentCard as s } from "./Cards/ContentCard/ContentCard.js";
|
|
12
12
|
import { FeaturesCard as d } from "./Cards/FeaturesCard/index.js";
|
|
13
|
-
import { W as l, F as C } from "./info-
|
|
13
|
+
import { W as l, F as C } from "./info-6760fbcd.js";
|
|
14
14
|
import { ContentCardList as B } from "./ContentCardList/ContentCardList.js";
|
|
15
15
|
import { DownloadFileBanner as F } from "./DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js";
|
|
16
16
|
import { DownloadFileBright as L } from "./DownloadFile/components/DownloadFileBright/index.js";
|
|
@@ -1136,7 +1136,7 @@ const q = {
|
|
|
1136
1136
|
isLight: !1,
|
|
1137
1137
|
isLightTitle: !1
|
|
1138
1138
|
}
|
|
1139
|
-
},
|
|
1139
|
+
}, T = {
|
|
1140
1140
|
key: t.TasksBannerList,
|
|
1141
1141
|
id: "29",
|
|
1142
1142
|
component_props: {
|
|
@@ -1217,7 +1217,7 @@ const q = {
|
|
|
1217
1217
|
}
|
|
1218
1218
|
]
|
|
1219
1219
|
}
|
|
1220
|
-
},
|
|
1220
|
+
}, P = {
|
|
1221
1221
|
key: t.VideoMainBanner,
|
|
1222
1222
|
id: "30",
|
|
1223
1223
|
component_props: {
|
|
@@ -1690,7 +1690,14 @@ const q = {
|
|
|
1690
1690
|
};
|
|
1691
1691
|
t.Header;
|
|
1692
1692
|
t.Footer;
|
|
1693
|
-
|
|
1693
|
+
const Q = {
|
|
1694
|
+
key: t.TitleBlock,
|
|
1695
|
+
id: "40",
|
|
1696
|
+
component_props: {
|
|
1697
|
+
title: "TitleBlockData",
|
|
1698
|
+
description: "DescriptionTitleBlockData"
|
|
1699
|
+
}
|
|
1700
|
+
};
|
|
1694
1701
|
t.ActionIconList, e.white, e.blackBG, e.graySoft, e.greenLight, e.white, a.Primary, e.white, e.blackBG, e.graySoft, e.greenLight, e.white, a.Primary, e.white, e.blackBG, e.graySoft, e.greenLight, e.white, a.Primary;
|
|
1695
1702
|
export {
|
|
1696
1703
|
A,
|
|
@@ -1703,7 +1710,7 @@ export {
|
|
|
1703
1710
|
F as M,
|
|
1704
1711
|
_ as P,
|
|
1705
1712
|
m as S,
|
|
1706
|
-
|
|
1713
|
+
T,
|
|
1707
1714
|
p as V,
|
|
1708
1715
|
w as W,
|
|
1709
1716
|
r as a,
|
|
@@ -1723,11 +1730,12 @@ export {
|
|
|
1723
1730
|
S as o,
|
|
1724
1731
|
I as p,
|
|
1725
1732
|
V as q,
|
|
1726
|
-
|
|
1733
|
+
P as r,
|
|
1727
1734
|
C as s,
|
|
1728
1735
|
E as t,
|
|
1729
1736
|
G as u,
|
|
1730
1737
|
U as v,
|
|
1731
1738
|
H as w,
|
|
1732
|
-
R as x
|
|
1739
|
+
R as x,
|
|
1740
|
+
Q as y
|
|
1733
1741
|
};
|
|
@@ -2,14 +2,14 @@ import { jsx as o, jsxs as u } from "react/jsx-runtime";
|
|
|
2
2
|
import { useState as h, useEffect as c, useCallback as b } from "react";
|
|
3
3
|
import { c as y } from "./cn-6a4bf187.js";
|
|
4
4
|
import { createPortal as g } from "react-dom";
|
|
5
|
-
const
|
|
6
|
-
const { className: r, children:
|
|
5
|
+
const v = ({ children: n, element: r = document.body }) => g(n, r), w = (n) => {
|
|
6
|
+
const { className: r, children: a, isOpen: e, onClose: t, lazy: p } = n, [x, m] = h(!1);
|
|
7
7
|
c(() => {
|
|
8
|
-
e &&
|
|
8
|
+
e && m(!0);
|
|
9
9
|
}, [e]), c(() => (e ? (document.body.style.overflow = "hidden", document.body.style.paddingRight = "var(--scrollbar-width, 0px)") : (document.body.style.overflow = "", document.body.style.paddingRight = ""), () => {
|
|
10
10
|
document.body.style.overflow = "", document.body.style.paddingRight = "";
|
|
11
11
|
}), [e]);
|
|
12
|
-
const
|
|
12
|
+
const l = b(
|
|
13
13
|
(i) => {
|
|
14
14
|
i.key === "Escape" && (t == null || t());
|
|
15
15
|
},
|
|
@@ -17,24 +17,24 @@ const w = ({ children: n, element: r = document.body }) => g(n, r), v = (n) => {
|
|
|
17
17
|
);
|
|
18
18
|
c(() => {
|
|
19
19
|
if (e) {
|
|
20
|
-
window.addEventListener("keydown",
|
|
20
|
+
window.addEventListener("keydown", l);
|
|
21
21
|
const i = 'button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])', s = document.querySelector('[role="dialog"]'), d = s == null ? void 0 : s.querySelectorAll(
|
|
22
22
|
i
|
|
23
23
|
)[0];
|
|
24
24
|
d == null || d.focus();
|
|
25
25
|
}
|
|
26
26
|
return () => {
|
|
27
|
-
window.removeEventListener("keydown",
|
|
27
|
+
window.removeEventListener("keydown", l);
|
|
28
28
|
};
|
|
29
|
-
}, [e,
|
|
29
|
+
}, [e, l]);
|
|
30
30
|
const f = (i) => {
|
|
31
31
|
i.stopPropagation();
|
|
32
32
|
};
|
|
33
|
-
return
|
|
33
|
+
return p && !x ? null : /* @__PURE__ */ o(v, { children: /* @__PURE__ */ o(
|
|
34
34
|
"div",
|
|
35
35
|
{
|
|
36
36
|
className: y(
|
|
37
|
-
"fixed inset-0 z-[
|
|
37
|
+
"fixed inset-0 z-[100000000] flex items-center justify-center bg-black/60 transition-all duration-300",
|
|
38
38
|
e ? "opacity-100 pointer-events-auto" : "opacity-0 pointer-events-none",
|
|
39
39
|
r
|
|
40
40
|
),
|
|
@@ -45,7 +45,7 @@ const w = ({ children: n, element: r = document.body }) => g(n, r), v = (n) => {
|
|
|
45
45
|
"div",
|
|
46
46
|
{
|
|
47
47
|
className: y(
|
|
48
|
-
"relative bg-white p-6 rounded-[24px] shadow-2xl max-w-[
|
|
48
|
+
"relative bg-white p-6 rounded-[24px] shadow-2xl max-w-[1200px] w-[100%] max-h-[90vh] overflow-y-auto transform transition-all duration-300",
|
|
49
49
|
e ? "scale-100 opacity-100" : "scale-95 opacity-0"
|
|
50
50
|
),
|
|
51
51
|
onClick: f,
|
|
@@ -91,7 +91,7 @@ const w = ({ children: n, element: r = document.body }) => g(n, r), v = (n) => {
|
|
|
91
91
|
)
|
|
92
92
|
}
|
|
93
93
|
),
|
|
94
|
-
/* @__PURE__ */ o("div", { className: "mt-2 text-[#0e0f11]", children:
|
|
94
|
+
/* @__PURE__ */ o("div", { className: "mt-2 text-[#0e0f11]", children: a })
|
|
95
95
|
]
|
|
96
96
|
}
|
|
97
97
|
)
|
|
@@ -100,22 +100,22 @@ const w = ({ children: n, element: r = document.body }) => g(n, r), v = (n) => {
|
|
|
100
100
|
}, j = ({
|
|
101
101
|
components: n = [],
|
|
102
102
|
title: r,
|
|
103
|
-
description:
|
|
103
|
+
description: a,
|
|
104
104
|
isOpen: e,
|
|
105
105
|
onClose: t
|
|
106
106
|
}) => /* @__PURE__ */ u(
|
|
107
|
-
|
|
107
|
+
w,
|
|
108
108
|
{
|
|
109
109
|
isOpen: e,
|
|
110
110
|
onClose: t,
|
|
111
111
|
children: [
|
|
112
112
|
/* @__PURE__ */ o("h2", { className: "text-[44px] leading-[52px] font-bold mb-[24px] text-center", children: r }),
|
|
113
|
-
/* @__PURE__ */ o("p", { className: "text-[18px] leading-[26px] text-graySoft text-center", children:
|
|
113
|
+
/* @__PURE__ */ o("p", { className: "text-[18px] leading-[26px] text-graySoft text-center", children: a }),
|
|
114
114
|
n
|
|
115
115
|
]
|
|
116
116
|
}
|
|
117
117
|
);
|
|
118
118
|
export {
|
|
119
|
-
|
|
119
|
+
w as M,
|
|
120
120
|
j as a
|
|
121
121
|
};
|