md-components-mdigial-azamat 0.0.10 → 0.0.12
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/README.md +4 -0
- package/dist/AllComponents.js +130 -0
- package/dist/AnimatedSwiper/Slide/Slide.js +57 -0
- package/dist/AnimatedSwiper/Slide/index.js +4 -0
- package/dist/AnimatedSwiper/index.js +117 -0
- package/dist/AnimatedSwiper/types.js +1 -0
- package/dist/Banner/Banner.js +45 -49
- package/dist/BannerAndText/index.js +14 -13
- package/dist/CardIconList/CardIconList.js +23 -22
- package/dist/CardImageList/CardImageList.js +15 -14
- package/dist/CardImageSecondary/CardImageSecondary.js +50 -0
- package/dist/CardImageSecondary/index.js +4 -0
- package/dist/CardImageSecondary/types.js +1 -0
- package/dist/CardImageSecondaryList/CardImageSecondaryList.js +21 -0
- package/dist/CardImageSecondaryList/index.js +4 -0
- package/dist/CardImageSecondaryList/types.js +1 -0
- package/dist/CardInfoTable/index.js +153 -0
- package/dist/CardInfoTable/types.js +1 -0
- package/dist/Cards/CardImage/CardImage.js +8 -7
- package/dist/Cards/ColoredCard/index.js +5 -4
- package/dist/Cards/ContentCard/ContentCard.js +17 -15
- package/dist/Cards/FeaturesCard/index.js +3 -3
- package/dist/Cards/WarningCard/WarningCard.js +27 -25
- package/dist/Cards/WarningCard/model.js +1 -1
- package/dist/ComponentContainer-0fcc2695.js +16 -0
- package/dist/ConfigProvider/index.js +5 -3
- package/dist/ContentCardList/ContentCardList.js +13 -12
- package/dist/DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js +21 -15
- package/dist/DownloadFile/components/DownloadFileBright/index.js +103 -0
- package/dist/DownloadFile/components/DownloadFileBright/types.js +1 -0
- package/dist/DownloadFile/components/DownloadFileFull/DownloadFileFull.js +16 -14
- package/dist/DownloadFile/components/DownloadFileHalf/DownloadFileHalf.js +20 -18
- package/dist/DownloadFile/components/DownloadFileMini/DownloadFileMini.js +19 -17
- package/dist/EmptyBox/EmptyBox.js +5 -0
- package/dist/EmptyBox/types.js +1 -0
- package/dist/Faq/Faq.js +16 -15
- package/dist/Faq/components/Collapse/Collapse.js +9 -8
- package/dist/Faq/components/FeedbackForm/FeedbackForm.js +95 -94
- package/dist/Faq/components/PlusMinusIcon/PlusMinusIcon.js +1 -1
- package/dist/HeroPossibilityBanner/index.js +24 -16
- package/dist/HtmlContent/HtmlContent.js +6 -5
- package/dist/InfoBanner/index.js +73 -0
- package/dist/InfoBanner/types.js +1 -0
- package/dist/InfoBannerList/InfoBannerList.js +37 -0
- package/dist/InfoBannerList/index.js +4 -0
- package/dist/InfoBannerList/types.js +1 -0
- package/dist/InstructionList/InstructionList.js +14 -13
- package/dist/InstructionList/components/InstructionCard/InstructionCard.js +13 -12
- package/dist/InstructionList/components/InstructionModal/InstructionModal.js +2 -2
- package/dist/IntroBanner/IntroBanner.js +60 -0
- package/dist/IntroBanner/index.js +4 -0
- package/dist/IntroBanner/types.js +1 -0
- package/dist/MainBanner/MainBanner.js +30 -21
- package/dist/MultiCards/index.js +33 -25
- package/dist/Partners/Partners.js +7 -6
- package/dist/PartnersColors/PartnersColors.js +20 -19
- package/dist/PartnersColors/components/PartnerCard/PartnerCard.js +1 -1
- package/dist/PartnersColors/components/PartnerTab/PartnerTab.js +2 -2
- package/dist/PreviewList/PreviewList.js +17 -16
- package/dist/PreviewList/components/PreviewCard/PreviewCard.js +15 -13
- package/dist/PromoPoster/PromoPoster.js +36 -0
- package/dist/PromoPoster/types.js +1 -0
- package/dist/RenderAllComponents/RenderAllComponents.js +82 -0
- package/dist/RenderAllComponents/const.js +43 -0
- package/dist/RenderAllComponents/index.js +4 -0
- package/dist/Segments/Segments.js +14 -13
- package/dist/StandartTable/components/CardMarkedRow/index.js +75 -0
- package/dist/StandartTable/components/CardMarkedRow/types.js +1 -0
- package/dist/StandartTable/components/CardWarning/index.js +89 -0
- package/dist/StandartTable/components/CardWarning/types.js +1 -0
- package/dist/StandartTable/index.js +48 -0
- package/dist/StandartTable/types.js +1 -0
- package/dist/Stepper/Stepper.js +14 -13
- package/dist/SwiperList/SwiperList.js +50 -3189
- package/dist/SwiperList/components/Bullet/Bullet.js +1 -1
- package/dist/SwiperList/components/Slide/Slide.js +2 -2
- package/dist/TasksBanner/TasksBanner.js +108 -0
- package/dist/TasksBanner/index.js +4 -0
- package/dist/TasksBanner/types.js +1 -0
- package/dist/TasksBannerList/TasksBannerList.js +17 -0
- package/dist/TasksBannerList/index.js +4 -0
- package/dist/TasksBannerList/types.js +1 -0
- package/dist/Video/VideoFull/VideoFull.js +4 -3
- package/dist/Video/VideoList/VideoList.js +10 -9
- package/dist/Video/VideoListMini/VideoListMini.js +8 -7
- package/dist/Video/components/VideoPlayer/VideoPlayer.js +1 -1
- package/dist/VideoMainBanner/VideoMainBanner.js +148 -0
- package/dist/VideoMainBanner/index.js +4 -0
- package/dist/VideoMainBanner/types.js +1 -0
- package/dist/assets/TasksBanner.css +1 -0
- package/dist/assets/index.css +1 -1
- package/dist/{cn-eacd4725.js → cn-d8c04b28.js} +1 -0
- package/dist/const-9041b93a.js +5 -0
- package/dist/data.mock-741c2220.js +1714 -0
- package/dist/{index-fb8c9446.js → index-60dfa873.js} +1 -1
- package/dist/{index-cd468670.js → index-6e0f7db0.js} +8 -7
- package/dist/index-b3d6aed3.js +52 -0
- package/dist/main.js +1 -1
- package/dist/{palette-52b06a82.js → palette-ac8c8a5f.js} +7 -2
- package/dist/swiper-react-c049ea66.js +3158 -0
- package/dist/trash/HeroLargeCards/index.js +1 -1
- package/dist/useScreenSize-c1b64c02.js +19 -0
- package/package.json +1 -1
- package/dist/ComponentContainer-41408843.js +0 -15
- package/dist/index-89dcf24f.js +0 -54
- package/dist/main.d.ts +0 -39
- /package/dist/assets/{SwiperList.css → swiper-react.css} +0 -0
- /package/dist/assets/{Slide.css → swiper.css} +0 -0
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { jsx as m, Fragment as t } from "react/jsx-runtime";
|
|
2
|
+
import n from "../AnimatedSwiper/index.js";
|
|
3
|
+
import { Banner as e } from "../Banner/Banner.js";
|
|
4
|
+
import { CardIconList as p } from "../CardIconList/CardIconList.js";
|
|
5
|
+
import { CardImageList as a } from "../CardImageList/CardImageList.js";
|
|
6
|
+
import { CardImageSecondaryList as f } from "../CardImageSecondaryList/CardImageSecondaryList.js";
|
|
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,
|
|
73
|
+
{
|
|
74
|
+
id: r.id,
|
|
75
|
+
...r.componentProps
|
|
76
|
+
},
|
|
77
|
+
r.id
|
|
78
|
+
) : null;
|
|
79
|
+
}) });
|
|
80
|
+
export {
|
|
81
|
+
Ir as RenderAllComponents
|
|
82
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { M as a, B as t, u as s, C as n, S as D, a as r, V as e, b as i, c as o, d, P as l, e as C, f as B, g as L, W as m, v as w, w as p, F as I, h as g, D as F, i as S, j as c, I as M, x as P, k as f, l as u, A as V, m as T, T as W, n as b, E as x, o as h, p as k, q, r as v, s as y, t as A } from "../data.mock-741c2220.js";
|
|
2
|
+
const j = [
|
|
3
|
+
a,
|
|
4
|
+
t,
|
|
5
|
+
s,
|
|
6
|
+
n,
|
|
7
|
+
D,
|
|
8
|
+
r,
|
|
9
|
+
e,
|
|
10
|
+
i,
|
|
11
|
+
o,
|
|
12
|
+
d,
|
|
13
|
+
l,
|
|
14
|
+
C,
|
|
15
|
+
B,
|
|
16
|
+
L,
|
|
17
|
+
m,
|
|
18
|
+
w,
|
|
19
|
+
p,
|
|
20
|
+
I,
|
|
21
|
+
g,
|
|
22
|
+
F,
|
|
23
|
+
S,
|
|
24
|
+
c,
|
|
25
|
+
M,
|
|
26
|
+
P,
|
|
27
|
+
f,
|
|
28
|
+
u,
|
|
29
|
+
V,
|
|
30
|
+
T,
|
|
31
|
+
W,
|
|
32
|
+
b,
|
|
33
|
+
x,
|
|
34
|
+
h,
|
|
35
|
+
k,
|
|
36
|
+
q,
|
|
37
|
+
v,
|
|
38
|
+
y,
|
|
39
|
+
A
|
|
40
|
+
];
|
|
41
|
+
export {
|
|
42
|
+
j as allComponentsData
|
|
43
|
+
};
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { useState as
|
|
3
|
-
import { c as
|
|
4
|
-
const
|
|
5
|
-
const [
|
|
6
|
-
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { useState as x } from "react";
|
|
3
|
+
import { c as r } from "../cn-d8c04b28.js";
|
|
4
|
+
const s = ["data", "activeSegment"], c = ({ data: t, activeSegment: p = 0 }) => {
|
|
5
|
+
const [n, i] = x(p), l = (e) => {
|
|
6
|
+
i(e);
|
|
7
7
|
};
|
|
8
|
-
return /* @__PURE__ */
|
|
8
|
+
return /* @__PURE__ */ o(
|
|
9
9
|
"div",
|
|
10
10
|
{
|
|
11
|
-
className:
|
|
11
|
+
className: r(
|
|
12
12
|
"rounded-[20px] bg-[#E3E4E8] p-1 flex gap-4 w-fit mx-auto max-tablet:w-full"
|
|
13
13
|
),
|
|
14
|
-
children: t == null ? void 0 : t.map((e, a) => /* @__PURE__ */
|
|
14
|
+
children: t == null ? void 0 : t.map((e, a) => /* @__PURE__ */ o(
|
|
15
15
|
"div",
|
|
16
16
|
{
|
|
17
|
-
onClick: () =>
|
|
18
|
-
className:
|
|
17
|
+
onClick: () => l(a),
|
|
18
|
+
className: r(
|
|
19
19
|
"rounded-[19px] text-gray-800 font-semibold cursor-pointer text-center whitespace-nowrap",
|
|
20
20
|
"transition-colors duration-200",
|
|
21
21
|
"max-tablet:text-[16px] max-tablet:leading-[27px] max-tablet:w-full max-tablet:px-4 max-tablet:py-2",
|
|
22
22
|
"text-[20px] leading-[30px] px-8 py-4 w-[275px]",
|
|
23
|
-
a ===
|
|
23
|
+
a === n ? "bg-white" : "bg-transparent"
|
|
24
24
|
),
|
|
25
25
|
children: e.title
|
|
26
26
|
},
|
|
@@ -29,6 +29,7 @@ const b = ({ data: t, activeSegment: n = 0 }) => {
|
|
|
29
29
|
}
|
|
30
30
|
);
|
|
31
31
|
};
|
|
32
|
+
c.propsToEdit = s;
|
|
32
33
|
export {
|
|
33
|
-
|
|
34
|
+
c as Segments
|
|
34
35
|
};
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { jsxs as r, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { I as g } from "../../../index-60dfa873.js";
|
|
3
|
+
import { c as x } from "../../../cn-d8c04b28.js";
|
|
4
|
+
const c = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTIiIHZpZXdCb3g9IjAgMCAxNiAxMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE0LjY2NzMgMS41NTMyMkw1Ljc3ODQzIDEwLjQ0MjNMMS4zMzM5OCA1Ljk5Nzg4IiBzdHJva2U9IiMxNkEzNEEiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8L3N2Zz4K", p = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxOCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEuNSAxLjQ0NjA0TDE2LjUgMTYuNDQ2TTE2LjUgMS40NDYwNEwxLjUgMTYuNDQ2IiBzdHJva2U9IiNFRjQ0NDQiIHN0cm9rZS13aWR0aD0iMiIvPgo8L3N2Zz4K", b = ({ data: l, className: t }) => {
|
|
5
|
+
var s;
|
|
6
|
+
return /* @__PURE__ */ r(
|
|
7
|
+
"div",
|
|
8
|
+
{
|
|
9
|
+
className: x(
|
|
10
|
+
"w-full grid grid-cols-[200px_3fr] gap-[24px] border-b border-greyLight",
|
|
11
|
+
"max-tablet:last:border-none",
|
|
12
|
+
"max-tablet:grid-cols-[170px_3fr] max-tablet:gap-0 max-tablet:w-fit",
|
|
13
|
+
t
|
|
14
|
+
),
|
|
15
|
+
children: [
|
|
16
|
+
/* @__PURE__ */ e(
|
|
17
|
+
"p",
|
|
18
|
+
{
|
|
19
|
+
className: x(
|
|
20
|
+
"sticky left-0 top-0 z-10 bg-white font-medium text-[18px] leading-[24px] text-graySoft3 border-r border-greyLight",
|
|
21
|
+
"py-[24px] px-[32px] max-tablet:w-[170px] max-tablet:px-4 whitespace-normal"
|
|
22
|
+
),
|
|
23
|
+
children: l == null ? void 0 : l.title
|
|
24
|
+
}
|
|
25
|
+
),
|
|
26
|
+
/* @__PURE__ */ e(
|
|
27
|
+
"div",
|
|
28
|
+
{
|
|
29
|
+
className: x(
|
|
30
|
+
"grid grid-cols-[repeat(4,1fr)] max-tablet:grid-cols-[repeat(4,134px)] gap-[24px] max-tablet:gap-0 w-full"
|
|
31
|
+
),
|
|
32
|
+
children: (s = l == null ? void 0 : l.columns) == null ? void 0 : s.map((a) => /* @__PURE__ */ r(
|
|
33
|
+
"div",
|
|
34
|
+
{
|
|
35
|
+
className: x(
|
|
36
|
+
"w-full flex flex-col gap-2",
|
|
37
|
+
"py-[24px] max-tablet:last:py-[10px] max-tablet:px-[12px] max-tablet:last:pb-0 max-tablet:w-134px]"
|
|
38
|
+
),
|
|
39
|
+
children: [
|
|
40
|
+
/* @__PURE__ */ r("div", { className: "flex flex-row items-start gap-2 w-[240px] max-tablet:w-full", children: [
|
|
41
|
+
(a == null ? void 0 : a.is_marked) === null ? null : a != null && a.is_marked ? /* @__PURE__ */ e(
|
|
42
|
+
g,
|
|
43
|
+
{
|
|
44
|
+
src: c,
|
|
45
|
+
alt: "check",
|
|
46
|
+
width: 20,
|
|
47
|
+
height: 20,
|
|
48
|
+
className: "flex items-center justify-center"
|
|
49
|
+
}
|
|
50
|
+
) : /* @__PURE__ */ e(
|
|
51
|
+
g,
|
|
52
|
+
{
|
|
53
|
+
src: p,
|
|
54
|
+
alt: "cross",
|
|
55
|
+
width: 20,
|
|
56
|
+
height: 20,
|
|
57
|
+
className: "flex items-center justify-center"
|
|
58
|
+
}
|
|
59
|
+
),
|
|
60
|
+
(a == null ? void 0 : a.title) && /* @__PURE__ */ e("p", { className: "text-[18px] leading-[26px] font-medium m-0 break-words", children: a == null ? void 0 : a.title })
|
|
61
|
+
] }),
|
|
62
|
+
(a == null ? void 0 : a.description) && /* @__PURE__ */ e("div", { className: "text-[14px] leading-[20px] text-graySoft3 max-tablet:text-[13px] max-tablet:leading-[16px]", children: a == null ? void 0 : a.description })
|
|
63
|
+
]
|
|
64
|
+
},
|
|
65
|
+
a == null ? void 0 : a.id
|
|
66
|
+
))
|
|
67
|
+
}
|
|
68
|
+
)
|
|
69
|
+
]
|
|
70
|
+
}
|
|
71
|
+
);
|
|
72
|
+
};
|
|
73
|
+
export {
|
|
74
|
+
b as CardMarkedRow
|
|
75
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { jsxs as n, jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import { a as r } from "../../../cn-d8c04b28.js";
|
|
3
|
+
import { HtmlContent as c } from "../../../HtmlContent/HtmlContent.js";
|
|
4
|
+
import { B as x } from "../../../index-b3d6aed3.js";
|
|
5
|
+
import { a as p, B as t } from "../../../const-9041b93a.js";
|
|
6
|
+
import { I as f } from "../../../index-60dfa873.js";
|
|
7
|
+
const B = ({
|
|
8
|
+
data: e,
|
|
9
|
+
title: i,
|
|
10
|
+
description: o,
|
|
11
|
+
image: l,
|
|
12
|
+
className: m
|
|
13
|
+
}) => /* @__PURE__ */ n(
|
|
14
|
+
"div",
|
|
15
|
+
{
|
|
16
|
+
className: r(
|
|
17
|
+
"w-full flex justify-between gap-[20px] bg-gray2 rounded-[20px] p-[16px]",
|
|
18
|
+
"md:flex-col md:items-stretch md:gap-[24px] md:p-[16px]",
|
|
19
|
+
m
|
|
20
|
+
),
|
|
21
|
+
children: [
|
|
22
|
+
/* @__PURE__ */ n(
|
|
23
|
+
"div",
|
|
24
|
+
{
|
|
25
|
+
className: r(
|
|
26
|
+
"flex gap-4 items-center justify-start",
|
|
27
|
+
"md:flex-col md:items-start md:gap-3 md:basis-full"
|
|
28
|
+
),
|
|
29
|
+
children: [
|
|
30
|
+
((e == null ? void 0 : e.necessary_icon) || l) && /* @__PURE__ */ s(
|
|
31
|
+
f,
|
|
32
|
+
{
|
|
33
|
+
src: (e == null ? void 0 : e.necessary_icon) ?? l ?? "",
|
|
34
|
+
alt: (e == null ? void 0 : e.necessary_title) ?? i ?? "",
|
|
35
|
+
width: 48,
|
|
36
|
+
height: 48,
|
|
37
|
+
className: "w-12 h-12 flex-shrink-0"
|
|
38
|
+
}
|
|
39
|
+
),
|
|
40
|
+
/* @__PURE__ */ n("div", { className: "box-border md:h-fit", children: [
|
|
41
|
+
/* @__PURE__ */ s(
|
|
42
|
+
"p",
|
|
43
|
+
{
|
|
44
|
+
className: r(
|
|
45
|
+
"text-[24px] font-bold leading-[32px] m-0",
|
|
46
|
+
"md:text-[18px] md:leading-[26px] md:font-semibold"
|
|
47
|
+
),
|
|
48
|
+
children: (e == null ? void 0 : e.necessary_title) || i
|
|
49
|
+
}
|
|
50
|
+
),
|
|
51
|
+
((e == null ? void 0 : e.necessary_description) || o) && /* @__PURE__ */ s(
|
|
52
|
+
c,
|
|
53
|
+
{
|
|
54
|
+
className: r(
|
|
55
|
+
"text-[15px] leading-[22px] text-[#5F6E7B] font-normal",
|
|
56
|
+
"md:text-[13px] md:leading-[16px]"
|
|
57
|
+
),
|
|
58
|
+
data: `${(e == null ? void 0 : e.necessary_description) || o}`
|
|
59
|
+
}
|
|
60
|
+
)
|
|
61
|
+
] })
|
|
62
|
+
]
|
|
63
|
+
}
|
|
64
|
+
),
|
|
65
|
+
(e == null ? void 0 : e.necessary_button_link) && /* @__PURE__ */ s(
|
|
66
|
+
"a",
|
|
67
|
+
{
|
|
68
|
+
href: e == null ? void 0 : e.necessary_button_link,
|
|
69
|
+
target: "_blank",
|
|
70
|
+
children: /* @__PURE__ */ s(
|
|
71
|
+
x,
|
|
72
|
+
{
|
|
73
|
+
variant: p.Static,
|
|
74
|
+
size: t.L,
|
|
75
|
+
className: r(
|
|
76
|
+
"text-[15px] font-medium leading-[24px] rounded-lg px-4 py-2 bg-[#FDDB2B] text-black border-0 cursor-pointer transition-colors duration-300 hover:bg-[#F7C21C]",
|
|
77
|
+
"md:w-full md:h-14"
|
|
78
|
+
),
|
|
79
|
+
children: e == null ? void 0 : e.necessary_button_text
|
|
80
|
+
}
|
|
81
|
+
)
|
|
82
|
+
}
|
|
83
|
+
)
|
|
84
|
+
]
|
|
85
|
+
}
|
|
86
|
+
);
|
|
87
|
+
export {
|
|
88
|
+
B as CardWarning
|
|
89
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { jsxs as t, jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import { C as c } from "../ComponentContainer-0fcc2695.js";
|
|
3
|
+
import { c as d } from "../cn-d8c04b28.js";
|
|
4
|
+
import { CardMarkedRow as p } from "./components/CardMarkedRow/index.js";
|
|
5
|
+
import { CardWarning as m } from "./components/CardWarning/index.js";
|
|
6
|
+
const h = ({ title: e, table: r, rows: i }) => {
|
|
7
|
+
var o;
|
|
8
|
+
return /* @__PURE__ */ t(c, { children: [
|
|
9
|
+
e && /* @__PURE__ */ n(
|
|
10
|
+
"p",
|
|
11
|
+
{
|
|
12
|
+
className: d(
|
|
13
|
+
"text-[44px] font-bold leading-[52px] mb-[48px] text-black text-center max-tablet:text-[26px] max-tablet:leading-[32px] max-tablet:mb-[32px]"
|
|
14
|
+
),
|
|
15
|
+
children: e
|
|
16
|
+
}
|
|
17
|
+
),
|
|
18
|
+
/* @__PURE__ */ t("div", { className: "bg-white rounded-[20px] overflow-hidden p-8 md:p-6", children: [
|
|
19
|
+
/* @__PURE__ */ n(
|
|
20
|
+
"div",
|
|
21
|
+
{
|
|
22
|
+
className: d("overflow-x-auto whitespace-nowrap custom-scrollbar"),
|
|
23
|
+
children: /* @__PURE__ */ n("div", { className: "bg-white rounded-[20px] w-full", children: i == null ? void 0 : i.map((a) => /* @__PURE__ */ n(
|
|
24
|
+
p,
|
|
25
|
+
{
|
|
26
|
+
data: a,
|
|
27
|
+
className: d({
|
|
28
|
+
"border-b border-[#E6E8EB]": !(r != null && r.warning)
|
|
29
|
+
})
|
|
30
|
+
},
|
|
31
|
+
a == null ? void 0 : a.id
|
|
32
|
+
)) })
|
|
33
|
+
}
|
|
34
|
+
),
|
|
35
|
+
((o = r == null ? void 0 : r.warning) == null ? void 0 : o.warning_description) && /* @__PURE__ */ n("div", { className: "mt-4", children: /* @__PURE__ */ n(
|
|
36
|
+
m,
|
|
37
|
+
{
|
|
38
|
+
className: "!flex-[1_1_100%] bg-white",
|
|
39
|
+
title: r.warning.warning_title,
|
|
40
|
+
description: r.warning.warning_description
|
|
41
|
+
}
|
|
42
|
+
) })
|
|
43
|
+
] })
|
|
44
|
+
] });
|
|
45
|
+
};
|
|
46
|
+
export {
|
|
47
|
+
h as StandartTable
|
|
48
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
package/dist/Stepper/Stepper.js
CHANGED
|
@@ -1,41 +1,42 @@
|
|
|
1
1
|
import { jsx as r, jsxs as s } from "react/jsx-runtime";
|
|
2
|
-
import { B as
|
|
3
|
-
import { C as
|
|
4
|
-
import { I as
|
|
5
|
-
const
|
|
2
|
+
import { B as o } from "../index-b3d6aed3.js";
|
|
3
|
+
import { C as c } from "../ComponentContainer-0fcc2695.js";
|
|
4
|
+
import { I as p } from "../index-60dfa873.js";
|
|
5
|
+
const x = ["data", "title", "button"], d = ({ data: n, title: a, button: t }) => /* @__PURE__ */ r(c, { children: /* @__PURE__ */ s("div", { className: "flex items-center flex-col", children: [
|
|
6
6
|
a && /* @__PURE__ */ r("p", { className: "font-bold max-tablet:text-[26px] text-[44px] mb-12 max-tablet:leading-[32px] leading-[42px] font-variant-numeric font-feature-settings", children: a }),
|
|
7
|
-
/* @__PURE__ */ r("div", { className: "grid grid-cols-3 gap-6 max-tablet:grid-cols-1", children:
|
|
8
|
-
const
|
|
7
|
+
/* @__PURE__ */ r("div", { className: "grid grid-cols-3 gap-6 max-tablet:grid-cols-1", children: n == null ? void 0 : n.map((e, l) => {
|
|
8
|
+
const i = l + 1;
|
|
9
9
|
return /* @__PURE__ */ s(
|
|
10
10
|
"div",
|
|
11
11
|
{
|
|
12
12
|
className: "p-8 bg-white rounded-[20px] flex flex-col gap-6 items-center",
|
|
13
13
|
children: [
|
|
14
14
|
e.icon ? /* @__PURE__ */ r(
|
|
15
|
-
|
|
15
|
+
p,
|
|
16
16
|
{
|
|
17
17
|
src: e.icon,
|
|
18
18
|
className: "w-[72px] h-[72px] rounded-full overflow-hidden"
|
|
19
19
|
}
|
|
20
|
-
) : /* @__PURE__ */ r("span", { className: "w-[72px] h-[72px] rounded-full bg-greenLight font-bold overflow-hidden flex items-center justify-center text-white text-[24px] leading-8 ", children:
|
|
20
|
+
) : /* @__PURE__ */ r("span", { className: "w-[72px] h-[72px] rounded-full bg-greenLight font-bold overflow-hidden flex items-center justify-center text-white text-[24px] leading-8 ", children: i }),
|
|
21
21
|
/* @__PURE__ */ r("p", { className: "text-blackBG text-[18px] leading-[26px] text-center", children: e.text })
|
|
22
22
|
]
|
|
23
23
|
},
|
|
24
|
-
|
|
24
|
+
l
|
|
25
25
|
);
|
|
26
26
|
}) }),
|
|
27
|
-
!!(
|
|
27
|
+
!!(t != null && t.length) && /* @__PURE__ */ r("div", { className: "flex items-center gap-4 mt-6", children: t.map((e, l) => /* @__PURE__ */ r(
|
|
28
28
|
"a",
|
|
29
29
|
{
|
|
30
30
|
href: (e == null ? void 0 : e.link) || "#",
|
|
31
31
|
className: "w-fit z-10 max-tablet:w-full",
|
|
32
32
|
target: "_blank",
|
|
33
33
|
rel: "noopener noreferrer",
|
|
34
|
-
children: /* @__PURE__ */ r(
|
|
34
|
+
children: /* @__PURE__ */ r(o, { variant: e.variant, children: e.text })
|
|
35
35
|
},
|
|
36
|
-
|
|
36
|
+
l
|
|
37
37
|
)) })
|
|
38
38
|
] }) });
|
|
39
|
+
d.propsToEdit = x;
|
|
39
40
|
export {
|
|
40
|
-
|
|
41
|
+
d as Stepper
|
|
41
42
|
};
|