md-components-mdigial-azamat 0.0.12 → 0.0.13
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/PageViewer/ComponentsView.js +9 -0
- package/dist/PageViewer/PageViewer.js +6 -0
- package/dist/PageViewer/index.js +4 -0
- package/dist/PageViewer/renderComponents.js +26 -0
- package/dist/RenderAllComponents/RenderAllComponents.js +7 -73
- package/dist/componentsMap-8af3b722.js +71 -0
- package/package.json +1 -1
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import { c as u } from "../componentsMap-8af3b722.js";
|
|
3
|
+
const d = (f) => f.map((r) => {
|
|
4
|
+
const s = u[r.key];
|
|
5
|
+
if (!s)
|
|
6
|
+
return null;
|
|
7
|
+
if (r != null && r.componentProps)
|
|
8
|
+
return /* @__PURE__ */ i(
|
|
9
|
+
s,
|
|
10
|
+
{
|
|
11
|
+
...r.componentProps
|
|
12
|
+
},
|
|
13
|
+
r.id
|
|
14
|
+
);
|
|
15
|
+
if (r != null && r.component_props)
|
|
16
|
+
return /* @__PURE__ */ i(
|
|
17
|
+
s,
|
|
18
|
+
{
|
|
19
|
+
...r.component_props
|
|
20
|
+
},
|
|
21
|
+
r.id
|
|
22
|
+
);
|
|
23
|
+
});
|
|
24
|
+
export {
|
|
25
|
+
d as renderComponents
|
|
26
|
+
};
|
|
@@ -1,75 +1,9 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
import { CardInfoTable as s } from "../CardInfoTable/index.js";
|
|
8
|
-
import { WarningCard as d } from "../Cards/WarningCard/WarningCard.js";
|
|
9
|
-
import { ContentCardList as l } from "../ContentCardList/ContentCardList.js";
|
|
10
|
-
import { DownloadFileBanner as C } from "../DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js";
|
|
11
|
-
import { DownloadFileBright as L } from "../DownloadFile/components/DownloadFileBright/index.js";
|
|
12
|
-
import { DownloadFileFull as B } from "../DownloadFile/components/DownloadFileFull/DownloadFileFull.js";
|
|
13
|
-
import { DownloadFileHalf as F } from "../DownloadFile/components/DownloadFileHalf/DownloadFileHalf.js";
|
|
14
|
-
import { DownloadFileMini as u } from "../DownloadFile/components/DownloadFileMini/DownloadFileMini.js";
|
|
15
|
-
import { EmptyBox as w } from "../EmptyBox/EmptyBox.js";
|
|
16
|
-
import { Faq as c } from "../Faq/Faq.js";
|
|
17
|
-
import { InfoBannerList as I } from "../InfoBannerList/InfoBannerList.js";
|
|
18
|
-
import { InstructionList as g } from "../InstructionList/InstructionList.js";
|
|
19
|
-
import { IntroBanner as M } from "../IntroBanner/IntroBanner.js";
|
|
20
|
-
import { MainBanner as P } from "../MainBanner/MainBanner.js";
|
|
21
|
-
import { MultiCards as S } from "../MultiCards/index.js";
|
|
22
|
-
import { Partners as D } from "../Partners/Partners.js";
|
|
23
|
-
import { PartnersColors as V } from "../PartnersColors/PartnersColors.js";
|
|
24
|
-
import { PreviewList as x } from "../PreviewList/PreviewList.js";
|
|
25
|
-
import { PromoPoster as y } from "../PromoPoster/PromoPoster.js";
|
|
26
|
-
import { Segments as T } from "../Segments/Segments.js";
|
|
27
|
-
import { StandartTable as b } from "../StandartTable/index.js";
|
|
28
|
-
import { Stepper as h } from "../Stepper/Stepper.js";
|
|
29
|
-
import { SwiperList as k } from "../SwiperList/SwiperList.js";
|
|
30
|
-
import { TasksBannerList as v } from "../TasksBannerList/TasksBannerList.js";
|
|
31
|
-
import { VideoFull as A } from "../Video/VideoFull/VideoFull.js";
|
|
32
|
-
import { VideoList as j } from "../Video/VideoList/VideoList.js";
|
|
33
|
-
import { VideoListMini as q } from "../Video/VideoListMini/VideoListMini.js";
|
|
34
|
-
import { VideoMainBanner as E } from "../VideoMainBanner/VideoMainBanner.js";
|
|
35
|
-
const H = {
|
|
36
|
-
Banner: e,
|
|
37
|
-
CardImageList: a,
|
|
38
|
-
Stepper: h,
|
|
39
|
-
Segments: T,
|
|
40
|
-
VideoFull: A,
|
|
41
|
-
VideoList: j,
|
|
42
|
-
VideoListMini: q,
|
|
43
|
-
ContentCardList: l,
|
|
44
|
-
CardIconList: p,
|
|
45
|
-
MultiCards: S,
|
|
46
|
-
Partners: D,
|
|
47
|
-
PartnersColors: V,
|
|
48
|
-
MainBanner: P,
|
|
49
|
-
WarningCard: d,
|
|
50
|
-
Faq: c,
|
|
51
|
-
DownloadFileBanner: C,
|
|
52
|
-
DownloadFileHalf: F,
|
|
53
|
-
DownloadFileFull: B,
|
|
54
|
-
DownloadFileMini: u,
|
|
55
|
-
InstructionList: g,
|
|
56
|
-
PreviewList: x,
|
|
57
|
-
SwiperList: k,
|
|
58
|
-
AnimatedSwiper: n,
|
|
59
|
-
InfoBannerList: I,
|
|
60
|
-
TasksBannerList: v,
|
|
61
|
-
VideoMainBanner: E,
|
|
62
|
-
EmptyBox: w,
|
|
63
|
-
PromoPoster: y,
|
|
64
|
-
CardImageSecondaryList: f,
|
|
65
|
-
CardInfoTable: s,
|
|
66
|
-
StandartTable: b,
|
|
67
|
-
IntroBanner: M,
|
|
68
|
-
DownloadFileBright: L
|
|
69
|
-
}, Ir = ({ components: i, device: R }) => /* @__PURE__ */ m(t, { children: i.map((r) => {
|
|
70
|
-
const o = H[r.key];
|
|
71
|
-
return o ? /* @__PURE__ */ m(
|
|
72
|
-
o,
|
|
1
|
+
import { jsx as n, Fragment as t } from "react/jsx-runtime";
|
|
2
|
+
import { c as i } from "../componentsMap-8af3b722.js";
|
|
3
|
+
const d = ({ components: o, device: m }) => /* @__PURE__ */ n(t, { children: o.map((r) => {
|
|
4
|
+
const e = i[r.key];
|
|
5
|
+
return e ? /* @__PURE__ */ n(
|
|
6
|
+
e,
|
|
73
7
|
{
|
|
74
8
|
id: r.id,
|
|
75
9
|
...r.componentProps
|
|
@@ -78,5 +12,5 @@ const H = {
|
|
|
78
12
|
) : null;
|
|
79
13
|
}) });
|
|
80
14
|
export {
|
|
81
|
-
|
|
15
|
+
d as RenderAllComponents
|
|
82
16
|
};
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import r from "./AnimatedSwiper/index.js";
|
|
2
|
+
import { Banner as o } from "./Banner/Banner.js";
|
|
3
|
+
import { CardIconList as m } from "./CardIconList/CardIconList.js";
|
|
4
|
+
import { CardImageList as i } from "./CardImageList/CardImageList.js";
|
|
5
|
+
import { CardImageSecondaryList as t } from "./CardImageSecondaryList/CardImageSecondaryList.js";
|
|
6
|
+
import { CardInfoTable as n } from "./CardInfoTable/index.js";
|
|
7
|
+
import { WarningCard as p } from "./Cards/WarningCard/WarningCard.js";
|
|
8
|
+
import { ContentCardList as a } from "./ContentCardList/ContentCardList.js";
|
|
9
|
+
import { DownloadFileBanner as e } from "./DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js";
|
|
10
|
+
import { DownloadFileBright as f } from "./DownloadFile/components/DownloadFileBright/index.js";
|
|
11
|
+
import { DownloadFileFull as s } from "./DownloadFile/components/DownloadFileFull/DownloadFileFull.js";
|
|
12
|
+
import { DownloadFileHalf as d } from "./DownloadFile/components/DownloadFileHalf/DownloadFileHalf.js";
|
|
13
|
+
import { DownloadFileMini as l } from "./DownloadFile/components/DownloadFileMini/DownloadFileMini.js";
|
|
14
|
+
import { EmptyBox as L } from "./EmptyBox/EmptyBox.js";
|
|
15
|
+
import { Faq as B } from "./Faq/Faq.js";
|
|
16
|
+
import { InfoBannerList as C } from "./InfoBannerList/InfoBannerList.js";
|
|
17
|
+
import { InstructionList as w } from "./InstructionList/InstructionList.js";
|
|
18
|
+
import { IntroBanner as F } from "./IntroBanner/IntroBanner.js";
|
|
19
|
+
import { MainBanner as I } from "./MainBanner/MainBanner.js";
|
|
20
|
+
import { MultiCards as c } from "./MultiCards/index.js";
|
|
21
|
+
import { Partners as M } from "./Partners/Partners.js";
|
|
22
|
+
import { PartnersColors as S } from "./PartnersColors/PartnersColors.js";
|
|
23
|
+
import { PreviewList as g } from "./PreviewList/PreviewList.js";
|
|
24
|
+
import { PromoPoster as D } from "./PromoPoster/PromoPoster.js";
|
|
25
|
+
import { Segments as P } from "./Segments/Segments.js";
|
|
26
|
+
import { StandartTable as u } from "./StandartTable/index.js";
|
|
27
|
+
import { Stepper as V } from "./Stepper/Stepper.js";
|
|
28
|
+
import { SwiperList as T } from "./SwiperList/SwiperList.js";
|
|
29
|
+
import { TasksBannerList as b } from "./TasksBannerList/TasksBannerList.js";
|
|
30
|
+
import { VideoFull as x } from "./Video/VideoFull/VideoFull.js";
|
|
31
|
+
import { VideoList as y } from "./Video/VideoList/VideoList.js";
|
|
32
|
+
import { VideoListMini as h } from "./Video/VideoListMini/VideoListMini.js";
|
|
33
|
+
import { VideoMainBanner as k } from "./VideoMainBanner/VideoMainBanner.js";
|
|
34
|
+
const lr = {
|
|
35
|
+
Banner: o,
|
|
36
|
+
CardImageList: i,
|
|
37
|
+
Stepper: V,
|
|
38
|
+
Segments: P,
|
|
39
|
+
VideoFull: x,
|
|
40
|
+
VideoList: y,
|
|
41
|
+
VideoListMini: h,
|
|
42
|
+
ContentCardList: a,
|
|
43
|
+
CardIconList: m,
|
|
44
|
+
MultiCards: c,
|
|
45
|
+
Partners: M,
|
|
46
|
+
PartnersColors: S,
|
|
47
|
+
MainBanner: I,
|
|
48
|
+
WarningCard: p,
|
|
49
|
+
Faq: B,
|
|
50
|
+
DownloadFileBanner: e,
|
|
51
|
+
DownloadFileHalf: d,
|
|
52
|
+
DownloadFileFull: s,
|
|
53
|
+
DownloadFileMini: l,
|
|
54
|
+
InstructionList: w,
|
|
55
|
+
PreviewList: g,
|
|
56
|
+
SwiperList: T,
|
|
57
|
+
AnimatedSwiper: r,
|
|
58
|
+
InfoBannerList: C,
|
|
59
|
+
TasksBannerList: b,
|
|
60
|
+
VideoMainBanner: k,
|
|
61
|
+
EmptyBox: L,
|
|
62
|
+
PromoPoster: D,
|
|
63
|
+
CardImageSecondaryList: t,
|
|
64
|
+
CardInfoTable: n,
|
|
65
|
+
StandartTable: u,
|
|
66
|
+
IntroBanner: F,
|
|
67
|
+
DownloadFileBright: f
|
|
68
|
+
};
|
|
69
|
+
export {
|
|
70
|
+
lr as c
|
|
71
|
+
};
|