md-components-mdigial-azamat 0.0.85 → 0.0.87

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.
@@ -31,7 +31,7 @@ import "../PartnersColors/PartnersColors.js";
31
31
  import "../PreviewList/PreviewList.js";
32
32
  import "../Cards/CardImage/CardImage.js";
33
33
  import "../Cards/ContentCard/ContentCard.js";
34
- import "../info-af79abc0.js";
34
+ import "../info-1169ba3e.js";
35
35
  import "../Cards/ColoredCard/index.js";
36
36
  import "../Cards/FeaturesCard/index.js";
37
37
  import "../DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js";
@@ -56,7 +56,7 @@ import "../SwiperList/SwiperList.js";
56
56
  import "../TasksBanner/TasksBanner.js";
57
57
  import "../TasksBannerList/TasksBannerList.js";
58
58
  import "../VideoMainBanner/VideoMainBanner.js";
59
- import "../index-869896ab.js";
59
+ import "react-dom";
60
60
  import { S as E } from "../size-b1291031.js";
61
61
  import "../AnimatedSwiper/info.js";
62
62
  import "../Banner/info.js";
@@ -8,7 +8,7 @@ import "./CardInfoTable/index.js";
8
8
  import "./ContentCardList/ContentCardList.js";
9
9
  import "./DownloadFile/components/DownloadFileBright/index.js";
10
10
  import "./Faq/Faq.js";
11
- import { a as Xo, A as Yo } from "./info-af79abc0.js";
11
+ import { a as Wo, A as Xo } from "./info-1169ba3e.js";
12
12
  import "./InfoBannerList/InfoBannerList.js";
13
13
  import "./IntroBanner/IntroBanner.js";
14
14
  import "./MainBanner/MainBanner.js";
@@ -53,8 +53,7 @@ import "./DownloadFile/components/FileBannerSecondary/FileBannerSecondary.js";
53
53
  import "./InfoBanner/index.js";
54
54
  import "./Space/Space.js";
55
55
  import "./TasksBanner/TasksBanner.js";
56
- import "./TitleBlock/TitleBlock.js";
57
- import "./index-869896ab.js";
56
+ import "react-dom";
58
57
  import "./AnimatedSwiper/info.js";
59
58
  import "./Banner/info.js";
60
59
  import "./BannerAndText/info.js";
@@ -100,6 +99,6 @@ import "./Video/VideoListMini/info.js";
100
99
  import "./VideoMainBanner/info.js";
101
100
  import "./Actions/types.js";
102
101
  export {
103
- Xo as AllComponents,
104
- Yo as AllComponentsData
102
+ Wo as AllComponents,
103
+ Xo as AllComponentsData
105
104
  };
@@ -10,7 +10,7 @@ import { cardImageInfo as f } from "./Cards/CardImage/info.js";
10
10
  import { coloredCardInfo as I } from "./Cards/ColoredCard/info.js";
11
11
  import { contentCardInfo as d } from "./Cards/ContentCard/info.js";
12
12
  import { featuresCardInfo as p } from "./Cards/FeaturesCard/info.js";
13
- import { w as s, f as l } from "./info-af79abc0.js";
13
+ import { w as s, f as l } from "./info-1169ba3e.js";
14
14
  import { contentCardListInfo as C } from "./ContentCardList/info.js";
15
15
  import { downloadFileBannerInfo as B } from "./DownloadFile/components/DownloadFileBanner/info.js";
16
16
  import { downloadFileBrightInfo as L } from "./DownloadFile/components/DownloadFileBright/info.js";
@@ -29,7 +29,7 @@ import "../../PartnersColors/PartnersColors.js";
29
29
  import "../../PreviewList/PreviewList.js";
30
30
  import "../CardImage/CardImage.js";
31
31
  import "../ContentCard/ContentCard.js";
32
- import { W as Zr, p as _r } from "../../info-af79abc0.js";
32
+ import { W as Yr, p as Zr } from "../../info-1169ba3e.js";
33
33
  import "../ColoredCard/index.js";
34
34
  import "../FeaturesCard/index.js";
35
35
  import "../../DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js";
@@ -54,8 +54,7 @@ import "../../SwiperList/SwiperList.js";
54
54
  import "../../TasksBanner/TasksBanner.js";
55
55
  import "../../TasksBannerList/TasksBannerList.js";
56
56
  import "../../VideoMainBanner/VideoMainBanner.js";
57
- import "../../TitleBlock/TitleBlock.js";
58
- import "../../index-869896ab.js";
57
+ import "react-dom";
59
58
  import "../../AnimatedSwiper/info.js";
60
59
  import "../../Banner/info.js";
61
60
  import "../../BannerAndText/info.js";
@@ -103,6 +102,6 @@ import "../../Actions/types.js";
103
102
  import "../../Icon-70ea6cb8.js";
104
103
  import "../../ComponentContainer-05e27e82.js";
105
104
  export {
106
- Zr as WarningCard,
107
- _r as propsToEdit
105
+ Yr as WarningCard,
106
+ Zr as propsToEdit
108
107
  };
@@ -1,4 +1,4 @@
1
- import { W as n } from "../../info-af79abc0.js";
1
+ import { W as n } from "../../info-1169ba3e.js";
2
2
  export {
3
3
  n as WarningCard
4
4
  };
@@ -1,5 +1,5 @@
1
1
  import "../../index-0a5f313c.js";
2
- import { w as n } from "../../info-af79abc0.js";
2
+ import { w as n } from "../../info-1169ba3e.js";
3
3
  export {
4
4
  n as warningCardInfo
5
5
  };
@@ -3,7 +3,7 @@ import "react";
3
3
  import "../../index-a0ed2e4a.js";
4
4
  import "../../index-875e92ce.js";
5
5
  import "../../const-53dff524.js";
6
- import { F as f, g as F } from "../../info-af79abc0.js";
6
+ import { F as f, g as F } from "../../info-1169ba3e.js";
7
7
  import "../../ComponentContainer-05e27e82.js";
8
8
  import "../../useScreenSize-c1b64c02.js";
9
9
  export {
@@ -27,7 +27,7 @@ import "../../PartnersColors/PartnersColors.js";
27
27
  import "../../PreviewList/PreviewList.js";
28
28
  import "../../Cards/CardImage/CardImage.js";
29
29
  import "../../Cards/ContentCard/ContentCard.js";
30
- import { e as Zo, f as _o, d as $o, i as or } from "../../info-af79abc0.js";
30
+ import { e as Yo, f as Zo, d as _o, i as $o } from "../../info-1169ba3e.js";
31
31
  import "../../Cards/ColoredCard/index.js";
32
32
  import "../../Cards/FeaturesCard/index.js";
33
33
  import "../../DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js";
@@ -53,8 +53,7 @@ import "../../TasksBanner/TasksBanner.js";
53
53
  import "../../TasksBannerList/TasksBannerList.js";
54
54
  import "../../VideoMainBanner/VideoMainBanner.js";
55
55
  import "../../Types/FiledTypes.js";
56
- import "../../TitleBlock/TitleBlock.js";
57
- import "../../index-869896ab.js";
56
+ import "react-dom";
58
57
  import "../../AnimatedSwiper/info.js";
59
58
  import "../../Banner/info.js";
60
59
  import "../../BannerAndText/info.js";
@@ -102,8 +101,8 @@ import "../../Actions/types.js";
102
101
  import "../../index-0a5f313c.js";
103
102
  import "./componentTypes.js";
104
103
  export {
105
- Zo as FormFieldsProps,
106
- _o as formDefaultInfo,
107
- $o as formDefaultProps,
108
- or as info
104
+ Yo as FormFieldsProps,
105
+ Zo as formDefaultInfo,
106
+ _o as formDefaultProps,
107
+ $o as info
109
108
  };
@@ -1,7 +1,7 @@
1
1
  import "react/jsx-runtime";
2
2
  import "../../index-a0ed2e4a.js";
3
3
  import "../../FileLoader/index.js";
4
- import { r as p } from "../../info-af79abc0.js";
4
+ import { r as p } from "../../info-1169ba3e.js";
5
5
  export {
6
6
  p as renderFormFields
7
7
  };
@@ -28,7 +28,7 @@ import "../../PartnersColors/PartnersColors.js";
28
28
  import "../../PreviewList/PreviewList.js";
29
29
  import "../../Cards/CardImage/CardImage.js";
30
30
  import "../../Cards/ContentCard/ContentCard.js";
31
- import { b as Wo, c as Xo } from "../../info-af79abc0.js";
31
+ import { b as Wo, c as Xo } from "../../info-1169ba3e.js";
32
32
  import "../../Cards/ColoredCard/index.js";
33
33
  import "../../Cards/FeaturesCard/index.js";
34
34
  import "../../DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js";
@@ -53,7 +53,7 @@ import "../../SwiperList/SwiperList.js";
53
53
  import "../../TasksBanner/TasksBanner.js";
54
54
  import "../../TasksBannerList/TasksBannerList.js";
55
55
  import "../../VideoMainBanner/VideoMainBanner.js";
56
- import "../../index-869896ab.js";
56
+ import "react-dom";
57
57
  import "../../AnimatedSwiper/info.js";
58
58
  import "../../Banner/info.js";
59
59
  import "../../BannerAndText/info.js";
@@ -1,126 +1,6 @@
1
- import { jsx as o, jsxs as u } from "react/jsx-runtime";
2
- import { TitleBlock as x } from "../TitleBlock/TitleBlock.js";
3
- import { useState as b, useEffect as c, useCallback as w } from "react";
4
- import { c as y } from "../cn-6a4bf187.js";
5
- import { r as v } from "../index-869896ab.js";
6
- const g = ({ children: n, element: r = document.body }) => v.createPortal(n, r), k = (n) => {
7
- const { className: r, children: l, isOpen: e, onClose: t, lazy: m } = n, [p, f] = b(!1);
8
- c(() => {
9
- e && f(!0);
10
- }, [e]), c(() => (e ? (document.body.style.overflow = "hidden", document.body.style.paddingRight = "var(--scrollbar-width, 0px)") : (document.body.style.overflow = "", document.body.style.paddingRight = ""), () => {
11
- document.body.style.overflow = "", document.body.style.paddingRight = "";
12
- }), [e]);
13
- const a = w(
14
- (i) => {
15
- i.key === "Escape" && (t == null || t());
16
- },
17
- [t]
18
- );
19
- c(() => {
20
- if (e) {
21
- window.addEventListener("keydown", a);
22
- const i = 'button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])', s = document.querySelector('[role="dialog"]'), d = s == null ? void 0 : s.querySelectorAll(
23
- i
24
- )[0];
25
- d == null || d.focus();
26
- }
27
- return () => {
28
- window.removeEventListener("keydown", a);
29
- };
30
- }, [e, a]);
31
- const h = (i) => {
32
- i.stopPropagation();
33
- };
34
- return m && !p ? null : /* @__PURE__ */ o(g, { children: /* @__PURE__ */ o(
35
- "div",
36
- {
37
- className: y(
38
- "fixed inset-0 z-[9999] flex items-center justify-center bg-black/60 transition-all duration-300",
39
- e ? "opacity-100 pointer-events-auto" : "opacity-0 pointer-events-none",
40
- r
41
- ),
42
- onClick: t,
43
- role: "dialog",
44
- "aria-modal": "true",
45
- children: /* @__PURE__ */ u(
46
- "div",
47
- {
48
- className: y(
49
- "relative bg-white p-6 rounded-[24px] shadow-2xl max-w-[95%] sm:max-w-[500px] w-full max-h-[90vh] overflow-y-auto transform transition-all duration-300",
50
- e ? "scale-100 opacity-100" : "scale-95 opacity-0"
51
- ),
52
- onClick: h,
53
- children: [
54
- /* @__PURE__ */ o(
55
- "button",
56
- {
57
- onClick: t,
58
- className: "absolute top-4 right-4 p-2 rounded-full hover:bg-gray-100 transition-colors text-gray-500",
59
- "aria-label": "Close",
60
- children: /* @__PURE__ */ u(
61
- "svg",
62
- {
63
- width: "24",
64
- height: "24",
65
- viewBox: "0 0 24 24",
66
- fill: "none",
67
- stroke: "currentColor",
68
- strokeWidth: "2",
69
- strokeLinecap: "round",
70
- strokeLinejoin: "round",
71
- children: [
72
- /* @__PURE__ */ o(
73
- "line",
74
- {
75
- x1: "18",
76
- y1: "6",
77
- x2: "6",
78
- y2: "18"
79
- }
80
- ),
81
- /* @__PURE__ */ o(
82
- "line",
83
- {
84
- x1: "6",
85
- y1: "6",
86
- x2: "18",
87
- y2: "18"
88
- }
89
- )
90
- ]
91
- }
92
- )
93
- }
94
- ),
95
- /* @__PURE__ */ o("div", { className: "mt-2 text-[#0e0f11]", children: l })
96
- ]
97
- }
98
- )
99
- }
100
- ) });
101
- }, M = ({
102
- components: n,
103
- title: r,
104
- description: l,
105
- isOpen: e,
106
- onClose: t
107
- }) => /* @__PURE__ */ u(
108
- k,
109
- {
110
- isOpen: e,
111
- onClose: t,
112
- children: [
113
- /* @__PURE__ */ o(
114
- x,
115
- {
116
- title: r,
117
- description: l
118
- }
119
- ),
120
- n
121
- ]
122
- }
123
- );
1
+ import "react/jsx-runtime";
2
+ import { a as p } from "../index-5aaa0755.js";
3
+ import "react";
124
4
  export {
125
- M as ModalBody
5
+ p as ModalBody
126
6
  };
@@ -1,5 +1,5 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
- import { c as f } from "../componentsMap-9e7decf2.js";
2
+ import { c as f } from "../componentsMap-2618a2a1.js";
3
3
  const a = (p) => p.map((r) => {
4
4
  const s = f[r.key];
5
5
  if (!s)
@@ -1,5 +1,5 @@
1
1
  import { jsx as n, Fragment as t } from "react/jsx-runtime";
2
- import { c as i } from "../componentsMap-9e7decf2.js";
2
+ import { c as i } from "../componentsMap-2618a2a1.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(
@@ -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-af79abc0.js";
13
+ import { W as l, F as C } from "./info-1169ba3e.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";
@@ -0,0 +1,121 @@
1
+ import { jsx as o, jsxs as u } from "react/jsx-runtime";
2
+ import { useState as h, useEffect as c, useCallback as b } from "react";
3
+ import { c as y } from "./cn-6a4bf187.js";
4
+ import { createPortal as g } from "react-dom";
5
+ const w = ({ children: n, element: r = document.body }) => g(n, r), v = (n) => {
6
+ const { className: r, children: l, isOpen: e, onClose: t, lazy: m } = n, [p, x] = h(!1);
7
+ c(() => {
8
+ e && x(!0);
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
+ document.body.style.overflow = "", document.body.style.paddingRight = "";
11
+ }), [e]);
12
+ const a = b(
13
+ (i) => {
14
+ i.key === "Escape" && (t == null || t());
15
+ },
16
+ [t]
17
+ );
18
+ c(() => {
19
+ if (e) {
20
+ window.addEventListener("keydown", a);
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
+ i
23
+ )[0];
24
+ d == null || d.focus();
25
+ }
26
+ return () => {
27
+ window.removeEventListener("keydown", a);
28
+ };
29
+ }, [e, a]);
30
+ const f = (i) => {
31
+ i.stopPropagation();
32
+ };
33
+ return m && !p ? null : /* @__PURE__ */ o(w, { children: /* @__PURE__ */ o(
34
+ "div",
35
+ {
36
+ className: y(
37
+ "fixed inset-0 z-[9999] flex items-center justify-center bg-black/60 transition-all duration-300",
38
+ e ? "opacity-100 pointer-events-auto" : "opacity-0 pointer-events-none",
39
+ r
40
+ ),
41
+ onClick: t,
42
+ role: "dialog",
43
+ "aria-modal": "true",
44
+ children: /* @__PURE__ */ u(
45
+ "div",
46
+ {
47
+ className: y(
48
+ "relative bg-white p-6 rounded-[24px] shadow-2xl max-w-[95%] sm:max-w-[500px] w-full max-h-[90vh] overflow-y-auto transform transition-all duration-300",
49
+ e ? "scale-100 opacity-100" : "scale-95 opacity-0"
50
+ ),
51
+ onClick: f,
52
+ children: [
53
+ /* @__PURE__ */ o(
54
+ "button",
55
+ {
56
+ onClick: t,
57
+ className: "absolute top-4 right-4 p-2 rounded-full hover:bg-gray-100 transition-colors text-gray-500",
58
+ "aria-label": "Close",
59
+ children: /* @__PURE__ */ u(
60
+ "svg",
61
+ {
62
+ width: "24",
63
+ height: "24",
64
+ viewBox: "0 0 24 24",
65
+ fill: "none",
66
+ stroke: "currentColor",
67
+ strokeWidth: "2",
68
+ strokeLinecap: "round",
69
+ strokeLinejoin: "round",
70
+ children: [
71
+ /* @__PURE__ */ o(
72
+ "line",
73
+ {
74
+ x1: "18",
75
+ y1: "6",
76
+ x2: "6",
77
+ y2: "18"
78
+ }
79
+ ),
80
+ /* @__PURE__ */ o(
81
+ "line",
82
+ {
83
+ x1: "6",
84
+ y1: "6",
85
+ x2: "18",
86
+ y2: "18"
87
+ }
88
+ )
89
+ ]
90
+ }
91
+ )
92
+ }
93
+ ),
94
+ /* @__PURE__ */ o("div", { className: "mt-2 text-[#0e0f11]", children: l })
95
+ ]
96
+ }
97
+ )
98
+ }
99
+ ) });
100
+ }, j = ({
101
+ components: n = [],
102
+ title: r,
103
+ description: l,
104
+ isOpen: e,
105
+ onClose: t
106
+ }) => /* @__PURE__ */ u(
107
+ v,
108
+ {
109
+ isOpen: e,
110
+ onClose: t,
111
+ children: [
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: l }),
114
+ n
115
+ ]
116
+ }
117
+ );
118
+ export {
119
+ v as M,
120
+ j as a
121
+ };
@@ -62,7 +62,7 @@ import { TasksBannerList as ot } from "./TasksBannerList/TasksBannerList.js";
62
62
  import { VideoMainBanner as at } from "./VideoMainBanner/VideoMainBanner.js";
63
63
  import { M as nt, B as st, C as it, S as lt, b as ct, V as dt, c as pt, d as mt, e as ut, f as ft, g as ht, P as gt, h as xt, W as bt, F as yt, k as wt, D as vt, l as kt, m as Ct, I as Dt, o as Nt, p as Lt, A as _t, q as Bt, T as St, r as Ft, E as Mt, s as Vt, t as It, u as Ht, v as Tt, w as Pt, x as Gt } from "./data.mock-9071e4ea.js";
64
64
  import { DataTypesEnum as Wt, FieldTypes as j } from "./Types/FiledTypes.js";
65
- import "./index-869896ab.js";
65
+ import "react-dom";
66
66
  import "./AnimatedSwiper/info.js";
67
67
  import "./Banner/info.js";
68
68
  import "./BannerAndText/info.js";