md-components-mdigial-azamat 0.0.44 → 0.0.46
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/AllComponents.js +167 -34
- package/dist/AllComponentsInfo.js +95 -0
- package/dist/AnimatedSwiper/index.js +139 -10
- package/dist/AnimatedSwiper/info.js +11 -0
- package/dist/Banner/Banner.js +4 -3
- package/dist/Banner/info.js +11 -0
- package/dist/BannerAndText/index.js +2 -1
- package/dist/BannerAndText/info.js +11 -0
- package/dist/CardIconList/CardIconList.js +3 -2
- package/dist/CardIconList/info.js +11 -0
- package/dist/CardImageList/CardImageList.js +4 -3
- package/dist/CardImageList/info.js +11 -0
- package/dist/CardImageSecondary/CardImageSecondary.js +2 -1
- package/dist/CardImageSecondary/info.js +11 -0
- package/dist/CardImageSecondaryList/CardImageSecondaryList.js +8 -7
- package/dist/CardImageSecondaryList/info.js +11 -0
- package/dist/CardInfoTable/index.js +4 -3
- package/dist/CardInfoTable/info.js +11 -0
- package/dist/Cards/CardImage/CardImage.js +2 -1
- package/dist/Cards/CardImage/info.js +11 -0
- package/dist/Cards/ColoredCard/index.js +2 -1
- package/dist/Cards/ColoredCard/info.js +11 -0
- package/dist/Cards/ContentCard/ContentCard.js +36 -35
- package/dist/Cards/ContentCard/info.js +11 -0
- package/dist/Cards/FeaturesCard/index.js +3 -2
- package/dist/Cards/FeaturesCard/info.js +11 -0
- package/dist/Cards/WarningCard/WarningCard.js +7 -6
- package/dist/Cards/WarningCard/info.js +11 -0
- package/dist/ContentCardList/ContentCardList.js +23 -19
- package/dist/ContentCardList/info.js +11 -0
- package/dist/DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js +3 -2
- package/dist/DownloadFile/components/DownloadFileBanner/info.js +11 -0
- package/dist/DownloadFile/components/DownloadFileBright/index.js +3 -2
- package/dist/DownloadFile/components/DownloadFileBright/info.js +11 -0
- package/dist/DownloadFile/components/DownloadFileFull/DownloadFileFull.js +4 -3
- package/dist/DownloadFile/components/DownloadFileFull/info.js +11 -0
- package/dist/DownloadFile/components/DownloadFileHalf/DownloadFileHalf.js +4 -3
- package/dist/DownloadFile/components/DownloadFileHalf/info.js +11 -0
- package/dist/DownloadFile/components/DownloadFileMini/DownloadFileMini.js +5 -4
- package/dist/DownloadFile/components/DownloadFileMini/info.js +11 -0
- package/dist/Faq/Faq.js +2 -1
- package/dist/Faq/components/FeedbackForm/FeedbackForm.js +2 -2
- package/dist/Faq/info.js +11 -0
- package/dist/Footer/Footer.js +96 -54
- package/dist/Footer/info.js +10 -0
- package/dist/Header/Header.js +60 -6
- package/dist/Header/components/HeaderCard/HeaderCard.js +2 -2
- package/dist/Header/components/HeaderMainMobile/HeaderMainMobile.js +1 -1
- package/dist/Header/components/HeaderMenuMobile/HeaderMenuMobile.js +52 -45
- package/dist/Header/components/HeaderMobile/HeaderMobile.js +71 -9
- package/dist/Header/components/HeaderMobile/index.js +1 -1
- package/dist/Header/components/HeaderSearch/HeaderSearch.js +157 -11
- package/dist/Header/components/HeaderSearch/index.js +2 -2
- package/dist/Header/components/HeaderTabsMobile/HeaderTabsMobile.js +3 -3
- package/dist/Header/components/HeaderWeb/HeaderWeb.js +11 -11
- package/dist/Header/components/SelectLanguage/SelectLanguage.js +1 -1
- package/dist/Header/components/TabsOutlined/TabsOutlined.js +2 -2
- package/dist/Header/index.js +2 -2
- package/dist/Header/info.js +10 -0
- package/dist/HeroPossibilityBanner/index.js +2 -1
- package/dist/HeroPossibilityBanner/info.js +11 -0
- package/dist/HtmlContent/HtmlContent.js +2 -1
- package/dist/HtmlContent/info.js +10 -0
- package/dist/InfoBanner/index.js +3 -2
- package/dist/InfoBanner/info.js +11 -0
- package/dist/InfoBannerList/InfoBannerList.js +49 -7
- package/dist/InfoBannerList/index.js +2 -2
- package/dist/InfoBannerList/info.js +11 -0
- package/dist/InstructionList/InstructionList.js +31 -7
- package/dist/InstructionList/components/InstructionCard/InstructionCard.js +80 -47
- package/dist/InstructionList/components/InstructionCard/index.js +1 -1
- package/dist/InstructionList/index.js +1 -1
- package/dist/InstructionList/info.js +11 -0
- package/dist/IntroBanner/IntroBanner.js +3 -2
- package/dist/IntroBanner/info.js +11 -0
- package/dist/MainBanner/MainBanner.js +4 -3
- package/dist/MainBanner/info.js +11 -0
- package/dist/MultiCards/index.js +2 -1
- package/dist/MultiCards/info.js +11 -0
- package/dist/PageViewer/PageViewer.js +4 -43
- package/dist/PageViewer/renderComponents.js +1 -1
- package/dist/Partners/Partners.js +2 -1
- package/dist/Partners/info.js +11 -0
- package/dist/PartnersColors/PartnersColors.js +2 -1
- package/dist/PartnersColors/info.js +11 -0
- package/dist/PreviewList/PreviewList.js +31 -6
- package/dist/PreviewList/components/PreviewCard/PreviewCard.js +29 -46
- package/dist/PreviewList/components/PreviewCard/index.js +2 -2
- package/dist/PreviewList/index.js +1 -1
- package/dist/PreviewList/info.js +11 -0
- package/dist/PromoPoster/PromoPoster.js +45 -7
- package/dist/PromoPoster/info.js +11 -0
- package/dist/RenderAllComponents/RenderAllComponents.js +1 -1
- package/dist/RenderAllComponents/const.js +1 -1
- package/dist/Segments/Segments.js +2 -1
- package/dist/Segments/info.js +11 -0
- package/dist/Space/Space.js +2 -1
- package/dist/Space/info.js +11 -0
- package/dist/StandartTable/components/CardMarkedRow/index.js +88 -47
- package/dist/StandartTable/components/CardWarning/index.js +2 -2
- package/dist/StandartTable/index.js +76 -7
- package/dist/StandartTable/info.js +11 -0
- package/dist/Stepper/Stepper.js +4 -3
- package/dist/Stepper/info.js +11 -0
- package/dist/SwiperList/SwiperList.js +119 -11
- package/dist/SwiperList/index.js +1 -1
- package/dist/SwiperList/info.js +11 -0
- package/dist/TasksBanner/TasksBanner.js +132 -9
- package/dist/TasksBanner/index.js +2 -2
- package/dist/TasksBanner/info.js +11 -0
- package/dist/TasksBannerList/TasksBannerList.js +36 -5
- package/dist/TasksBannerList/index.js +2 -2
- package/dist/TasksBannerList/info.js +11 -0
- package/dist/Video/VideoFull/VideoFull.js +2 -1
- package/dist/Video/VideoFull/info.js +11 -0
- package/dist/Video/VideoList/VideoList.js +2 -1
- package/dist/Video/VideoList/info.js +11 -0
- package/dist/Video/VideoListMini/VideoListMini.js +2 -1
- package/dist/Video/VideoListMini/info.js +11 -0
- package/dist/VideoMainBanner/VideoMainBanner.js +18 -17
- package/dist/VideoMainBanner/info.js +11 -0
- package/dist/clientApi-642fea4b.js +25 -0
- package/dist/componentsMap-b3ef1658.js +75 -0
- package/dist/{const-637b0dca.js → const-53dff524.js} +3 -3
- package/dist/createBoolean-56064b0d.js +12 -0
- package/dist/{data.mock-483400cb.js → data.mock-2412b65a.js} +94 -96
- package/dist/{index-6af94f99.js → index-10605794.js} +1 -1
- package/dist/index-1a32da94.js +4 -0
- package/dist/{index-815f0132.js → index-b4c61de3.js} +9 -8
- package/dist/index.module-c8833286.js +83 -0
- package/dist/{languages-list-8419e560.js → languages-list-87ab3324.js} +2 -2
- package/dist/main.js +88 -81
- package/dist/{mousewheel-865ae601.js → mousewheel-2cf27f39.js} +1 -1
- package/dist/navigation-48c90d3b.js +183 -0
- package/dist/routes-76228734.js +109 -0
- package/dist/{swiper-react-90953710.js → swiper-react-bfbb44d6.js} +3 -3
- package/package.json +1 -1
- package/dist/componentsMap-0b4c8ca6.js +0 -68
- package/dist/index-3a534581.js +0 -261
- package/dist/index-3b24fe0f.js +0 -314
- package/dist/index-54813771.js +0 -925
- package/dist/routes-382632ac.js +0 -7
- /package/dist/assets/{index3.css → TasksBanner.css} +0 -0
- /package/dist/assets/{index2.css → navigation.css} +0 -0
|
@@ -1,11 +1,73 @@
|
|
|
1
|
-
import "react/jsx-runtime";
|
|
2
|
-
import "react";
|
|
3
|
-
import "../../const.js";
|
|
4
|
-
import "../../../index-
|
|
5
|
-
import "../../../cn-6a4bf187.js";
|
|
6
|
-
import "../HeaderMainMobile/HeaderMainMobile.js";
|
|
7
|
-
import
|
|
8
|
-
import "../HeaderSearchMobile/HeaderSearchMobile.js";
|
|
1
|
+
import { jsxs as H, jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import { useState as a, useEffect as M } from "react";
|
|
3
|
+
import { HeaderMobileRender as n } from "../../const.js";
|
|
4
|
+
import { c as b, H as y } from "../../../index.module-c8833286.js";
|
|
5
|
+
import { c as R } from "../../../cn-6a4bf187.js";
|
|
6
|
+
import S from "../HeaderMainMobile/HeaderMainMobile.js";
|
|
7
|
+
import x from "../HeaderMenuMobile/HeaderMenuMobile.js";
|
|
8
|
+
import A from "../HeaderSearchMobile/HeaderSearchMobile.js";
|
|
9
|
+
const I = ({
|
|
10
|
+
sections: o,
|
|
11
|
+
darkTheme: d,
|
|
12
|
+
className: c
|
|
13
|
+
}) => {
|
|
14
|
+
const [e, l] = a(n.MAIN), t = (r) => {
|
|
15
|
+
l(r);
|
|
16
|
+
}, [i, m] = a(void 0), [f, u] = a(!1), h = b(async (r) => {
|
|
17
|
+
if (r.trim())
|
|
18
|
+
try {
|
|
19
|
+
const { data: w } = await y.searchHeader(r);
|
|
20
|
+
m(w), u(!0);
|
|
21
|
+
} catch {
|
|
22
|
+
console.log("Нет результатов");
|
|
23
|
+
}
|
|
24
|
+
}, 500), p = (r) => {
|
|
25
|
+
h(r);
|
|
26
|
+
};
|
|
27
|
+
return M(() => {
|
|
28
|
+
if (e === n.MENU || e === n.SEARCH)
|
|
29
|
+
return document.body.style.overflow = "hidden", () => {
|
|
30
|
+
document.body.style.overflow = "auto";
|
|
31
|
+
};
|
|
32
|
+
}, [e]), /* @__PURE__ */ H(
|
|
33
|
+
"div",
|
|
34
|
+
{
|
|
35
|
+
className: R(
|
|
36
|
+
"w-full left-0 right-0 max-w-full overflow-hidden",
|
|
37
|
+
c
|
|
38
|
+
),
|
|
39
|
+
children: [
|
|
40
|
+
/* @__PURE__ */ s(
|
|
41
|
+
S,
|
|
42
|
+
{
|
|
43
|
+
render: e,
|
|
44
|
+
show: t,
|
|
45
|
+
darkEffect: d,
|
|
46
|
+
setSearchValue: p
|
|
47
|
+
}
|
|
48
|
+
),
|
|
49
|
+
/* @__PURE__ */ s(
|
|
50
|
+
x,
|
|
51
|
+
{
|
|
52
|
+
show: t,
|
|
53
|
+
sectionsData: Array.isArray(o) ? o : [o],
|
|
54
|
+
className: "top-[56px]",
|
|
55
|
+
render: e
|
|
56
|
+
}
|
|
57
|
+
),
|
|
58
|
+
/* @__PURE__ */ s(
|
|
59
|
+
A,
|
|
60
|
+
{
|
|
61
|
+
render: e,
|
|
62
|
+
show: t,
|
|
63
|
+
results: i,
|
|
64
|
+
showResults: f
|
|
65
|
+
}
|
|
66
|
+
)
|
|
67
|
+
]
|
|
68
|
+
}
|
|
69
|
+
);
|
|
70
|
+
};
|
|
9
71
|
export {
|
|
10
|
-
|
|
72
|
+
I as HeaderMobile
|
|
11
73
|
};
|
|
@@ -1,13 +1,159 @@
|
|
|
1
|
-
import "react/jsx-runtime";
|
|
2
|
-
import "react";
|
|
3
|
-
import "../../../search-dd4eb6f8.js";
|
|
4
|
-
import "../../../HtmlContent/HtmlContent.js";
|
|
5
|
-
import {
|
|
6
|
-
import "../../../useClickOutside-197b0df2.js";
|
|
7
|
-
import "../../../index-2265d593.js";
|
|
8
|
-
import "../../../header-97863d08.js";
|
|
9
|
-
import "../TabsOutlined/TabsOutlined.js";
|
|
1
|
+
import { jsx as t, jsxs as s } from "react/jsx-runtime";
|
|
2
|
+
import { useState as l } from "react";
|
|
3
|
+
import { S as N, C as v } from "../../../search-dd4eb6f8.js";
|
|
4
|
+
import { HtmlContent as y } from "../../../HtmlContent/HtmlContent.js";
|
|
5
|
+
import { c as F, H as _ } from "../../../index.module-c8833286.js";
|
|
6
|
+
import { u as T } from "../../../useClickOutside-197b0df2.js";
|
|
7
|
+
import { I as u } from "../../../index-2265d593.js";
|
|
8
|
+
import { f as A, g as C, a as S } from "../../../header-97863d08.js";
|
|
9
|
+
import { TabsOutlined as I } from "../TabsOutlined/TabsOutlined.js";
|
|
10
|
+
const k = 8, Y = ({ closeSearch: f, onClick: h }) => {
|
|
11
|
+
const [o, m] = l(8), [r, c] = l(!1), { ref: p } = T(r, () => {
|
|
12
|
+
c(!1);
|
|
13
|
+
}), [d, b] = l(), g = F(async (e) => {
|
|
14
|
+
if (e.trim() !== "")
|
|
15
|
+
try {
|
|
16
|
+
const { data: n } = await _.searchHeader(e);
|
|
17
|
+
b(n), c(!0);
|
|
18
|
+
} catch {
|
|
19
|
+
console.log("No results found");
|
|
20
|
+
}
|
|
21
|
+
}, 500), w = (e) => {
|
|
22
|
+
const n = e.target.value;
|
|
23
|
+
g(n);
|
|
24
|
+
}, i = d ? A(d) : { arrays: {}, nonArrays: {} }, x = [...C(i)].sort(
|
|
25
|
+
(e, n) => e.title === "common_words.all" ? -1 : n.title === "common_words.all" ? 1 : 0
|
|
26
|
+
), a = S(
|
|
27
|
+
k,
|
|
28
|
+
o,
|
|
29
|
+
i,
|
|
30
|
+
x
|
|
31
|
+
);
|
|
32
|
+
return /* @__PURE__ */ t("div", { className: "w-full max-w-[1200px] mx-auto", children: /* @__PURE__ */ s("div", { className: "relative w-full", children: [
|
|
33
|
+
/* @__PURE__ */ s("div", { className: "flex items-center gap-2 relative", children: [
|
|
34
|
+
/* @__PURE__ */ t(
|
|
35
|
+
"input",
|
|
36
|
+
{
|
|
37
|
+
className: `
|
|
38
|
+
w-full h-[52px] rounded-2xl bg-[#F4F6F7]
|
|
39
|
+
pl-[44px] pr-[170px] py-[4px] text-[16px] leading-[24px]
|
|
40
|
+
text-[#0E0F11] transition-all outline-none border-0
|
|
41
|
+
placeholder:text-[#768793]
|
|
42
|
+
`,
|
|
43
|
+
type: "text",
|
|
44
|
+
placeholder: "Поиск...",
|
|
45
|
+
onChange: w
|
|
46
|
+
}
|
|
47
|
+
),
|
|
48
|
+
/* @__PURE__ */ t(
|
|
49
|
+
"span",
|
|
50
|
+
{
|
|
51
|
+
className: `
|
|
52
|
+
absolute left-[5px] top-1/2 -translate-y-1/2
|
|
53
|
+
w-9 h-9 flex items-center justify-center cursor-pointer p-[7px]
|
|
54
|
+
`,
|
|
55
|
+
children: /* @__PURE__ */ t(
|
|
56
|
+
u,
|
|
57
|
+
{
|
|
58
|
+
src: N,
|
|
59
|
+
alt: "search icon",
|
|
60
|
+
width: 18,
|
|
61
|
+
height: 18
|
|
62
|
+
}
|
|
63
|
+
)
|
|
64
|
+
}
|
|
65
|
+
),
|
|
66
|
+
/* @__PURE__ */ t(
|
|
67
|
+
"button",
|
|
68
|
+
{
|
|
69
|
+
type: "button",
|
|
70
|
+
className: `
|
|
71
|
+
w-9 h-9 flex items-center justify-center cursor-pointer
|
|
72
|
+
bg-[#EAEFF0] rounded-full p-[10px] border-none
|
|
73
|
+
`,
|
|
74
|
+
onClick: f,
|
|
75
|
+
children: /* @__PURE__ */ t(
|
|
76
|
+
u,
|
|
77
|
+
{
|
|
78
|
+
src: v,
|
|
79
|
+
alt: "close icon",
|
|
80
|
+
width: 16,
|
|
81
|
+
height: 16
|
|
82
|
+
}
|
|
83
|
+
)
|
|
84
|
+
}
|
|
85
|
+
)
|
|
86
|
+
] }),
|
|
87
|
+
r && (a != null && a.length ? /* @__PURE__ */ s(
|
|
88
|
+
"div",
|
|
89
|
+
{
|
|
90
|
+
ref: p,
|
|
91
|
+
className: `
|
|
92
|
+
flex flex-col gap-3 absolute top-[70px] left-0 w-full max-h-[400px]
|
|
93
|
+
p-[12px_20px_20px_20px] rounded-[20px] bg-white z-[1000]
|
|
94
|
+
shadow-[0_4px_25px_rgba(0,0,0,0.05)]
|
|
95
|
+
animate-fadeInDropdown
|
|
96
|
+
`,
|
|
97
|
+
children: [
|
|
98
|
+
/* @__PURE__ */ t(
|
|
99
|
+
I,
|
|
100
|
+
{
|
|
101
|
+
onClick: (e) => m(e),
|
|
102
|
+
activeTab: o,
|
|
103
|
+
navigation: x
|
|
104
|
+
}
|
|
105
|
+
),
|
|
106
|
+
/* @__PURE__ */ t(
|
|
107
|
+
"div",
|
|
108
|
+
{
|
|
109
|
+
className: `
|
|
110
|
+
flex flex-col gap-2 overflow-y-auto
|
|
111
|
+
scrollbar-thin scrollbar-thumb-black/40 scrollbar-track-transparent
|
|
112
|
+
`,
|
|
113
|
+
children: a == null ? void 0 : a.map((e, n) => /* @__PURE__ */ s(
|
|
114
|
+
"a",
|
|
115
|
+
{
|
|
116
|
+
href: (e == null ? void 0 : e.link) || "#",
|
|
117
|
+
className: `
|
|
118
|
+
flex flex-col gap-[2px] p-[8px_12px]
|
|
119
|
+
hover:bg-[#F4F6F7] rounded-[12px]
|
|
120
|
+
`,
|
|
121
|
+
onClick: h,
|
|
122
|
+
children: [
|
|
123
|
+
/* @__PURE__ */ t("span", { className: "text-[#0E0F11] text-[16px] font-medium leading-[24px]", children: e == null ? void 0 : e.title }),
|
|
124
|
+
/* @__PURE__ */ t(
|
|
125
|
+
y,
|
|
126
|
+
{
|
|
127
|
+
className: `
|
|
128
|
+
text-[#768793] text-[14px] leading-[20px]
|
|
129
|
+
font-[tabular-nums] overflow-hidden
|
|
130
|
+
`,
|
|
131
|
+
data: (e == null ? void 0 : e.body) ?? ""
|
|
132
|
+
}
|
|
133
|
+
)
|
|
134
|
+
]
|
|
135
|
+
},
|
|
136
|
+
n
|
|
137
|
+
))
|
|
138
|
+
}
|
|
139
|
+
)
|
|
140
|
+
]
|
|
141
|
+
}
|
|
142
|
+
) : /* @__PURE__ */ t(
|
|
143
|
+
"div",
|
|
144
|
+
{
|
|
145
|
+
ref: p,
|
|
146
|
+
className: `
|
|
147
|
+
absolute top-[70px] left-0 w-full
|
|
148
|
+
p-[20px] rounded-[20px] bg-white shadow
|
|
149
|
+
text-[16px] font-medium
|
|
150
|
+
`,
|
|
151
|
+
children: "Ничего не найдено"
|
|
152
|
+
}
|
|
153
|
+
))
|
|
154
|
+
] }) });
|
|
155
|
+
};
|
|
10
156
|
export {
|
|
11
|
-
|
|
12
|
-
|
|
157
|
+
k as TOTAL_QUANTITY,
|
|
158
|
+
Y as default
|
|
13
159
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as p } from "react/jsx-runtime";
|
|
2
2
|
import { useEffect as g } from "react";
|
|
3
|
-
import {
|
|
4
|
-
import { M as N } from "../../../mousewheel-
|
|
5
|
-
import { R as v } from "../../../routes-
|
|
3
|
+
import { b as x, N as k, S, a as y } from "../../../swiper-react-bfbb44d6.js";
|
|
4
|
+
import { M as N } from "../../../mousewheel-2cf27f39.js";
|
|
5
|
+
import { R as v } from "../../../routes-76228734.js";
|
|
6
6
|
import { c as M } from "../../../cn-6a4bf187.js";
|
|
7
7
|
import '../../../assets/swiper.css';/* empty css */x.use([k, N]);
|
|
8
8
|
const j = ({ sectionsData: l, setCategoriesData: w }) => {
|
|
@@ -3,15 +3,15 @@ import { useState as l, useMemo as f } from "react";
|
|
|
3
3
|
import { M as z, G as D } from "../../../logo-99aa20bd.js";
|
|
4
4
|
import { S as W } from "../../../search-dd4eb6f8.js";
|
|
5
5
|
import { a as k } from "../../../cn-6a4bf187.js";
|
|
6
|
-
import { R as h } from "../../../routes-
|
|
6
|
+
import { R as h } from "../../../routes-76228734.js";
|
|
7
7
|
import { u as E } from "../../../useClickOutside-197b0df2.js";
|
|
8
|
-
import { I
|
|
8
|
+
import { I } from "../../../index-2265d593.js";
|
|
9
9
|
import O from "../HeaderMenu/HeaderMenu.js";
|
|
10
10
|
import P from "../HeaderResults/HeaderResults.js";
|
|
11
|
-
import
|
|
12
|
-
import { HeaderTab as
|
|
11
|
+
import q from "../HeaderSearch/HeaderSearch.js";
|
|
12
|
+
import { HeaderTab as T } from "../HeaderTab/HeaderTab.js";
|
|
13
13
|
import B from "../SelectLanguage/SelectLanguage.js";
|
|
14
|
-
const F = "category",
|
|
14
|
+
const F = "category", H = "link", se = ({ sections: r, darkTheme: p }) => {
|
|
15
15
|
const [g, n] = l(null), [d, b] = l(!1), [u, a] = l(!1), [s, x] = l(
|
|
16
16
|
[]
|
|
17
17
|
), [i, m] = l(0), { ref: M } = E(u, () => {
|
|
@@ -20,9 +20,9 @@ const F = "category", T = "link", se = ({ sections: r, darkTheme: p }) => {
|
|
|
20
20
|
window.location.href = e || "/";
|
|
21
21
|
}, w = (e) => {
|
|
22
22
|
const { type: A, id: G, data: _ } = e;
|
|
23
|
-
A === F && (x(_), a(!0)), A ===
|
|
23
|
+
A === F && (x(_), a(!0)), A === H && (a(!1), x([])), n(G);
|
|
24
24
|
}, v = (e) => {
|
|
25
|
-
e ===
|
|
25
|
+
e === H && n(null);
|
|
26
26
|
}, S = () => {
|
|
27
27
|
b(!d), a(!1);
|
|
28
28
|
}, C = () => {
|
|
@@ -44,7 +44,7 @@ const F = "category", T = "link", se = ({ sections: r, darkTheme: p }) => {
|
|
|
44
44
|
href: L ? h.ISLAM : h.MAIN_PAGE,
|
|
45
45
|
className: "flex items-center gap-6 mr-12 cursor-pointer",
|
|
46
46
|
children: /* @__PURE__ */ t(
|
|
47
|
-
|
|
47
|
+
I,
|
|
48
48
|
{
|
|
49
49
|
src: z,
|
|
50
50
|
alt: "Logo",
|
|
@@ -57,7 +57,7 @@ const F = "category", T = "link", se = ({ sections: r, darkTheme: p }) => {
|
|
|
57
57
|
/* @__PURE__ */ o("div", { className: "flex items-center justify-between flex-grow", children: [
|
|
58
58
|
/* @__PURE__ */ t("div", { className: "flex items-center gap-2", children: R.map(
|
|
59
59
|
(e) => e && /* @__PURE__ */ t(
|
|
60
|
-
|
|
60
|
+
T,
|
|
61
61
|
{
|
|
62
62
|
item: e,
|
|
63
63
|
activeTab: g,
|
|
@@ -71,7 +71,7 @@ const F = "category", T = "link", se = ({ sections: r, darkTheme: p }) => {
|
|
|
71
71
|
/* @__PURE__ */ o("div", { className: "flex items-center gap-2", children: [
|
|
72
72
|
/* @__PURE__ */ t("div", { className: "flex items-center gap-2 pr-6 border-r border-gray-300 mr-4", children: j.map(
|
|
73
73
|
(e) => e && /* @__PURE__ */ t(
|
|
74
|
-
|
|
74
|
+
T,
|
|
75
75
|
{
|
|
76
76
|
item: e,
|
|
77
77
|
activeTab: g,
|
|
@@ -89,7 +89,7 @@ const F = "category", T = "link", se = ({ sections: r, darkTheme: p }) => {
|
|
|
89
89
|
onClick: S,
|
|
90
90
|
className: "flex items-center justify-center w-9 h-9 p-1.5 rounded-full bg-gray-200",
|
|
91
91
|
children: /* @__PURE__ */ t(
|
|
92
|
-
|
|
92
|
+
I,
|
|
93
93
|
{
|
|
94
94
|
src: W,
|
|
95
95
|
alt: "search icon",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as v, jsx as p } from "react/jsx-runtime";
|
|
2
2
|
import { useState as d, useEffect as _ } from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { a as r } from "../../../languages-list-87ab3324.js";
|
|
4
4
|
import { u as E } from "../../../useClickOutside-197b0df2.js";
|
|
5
5
|
import { c as l } from "../../../cn-6a4bf187.js";
|
|
6
6
|
const u = "app_language", N = ({ rightPosition: g = !1, className: i }) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as t, jsxs as a } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import { M as f } from "../../../mousewheel-
|
|
2
|
+
import { b as p, N as u, S as d, a as c } from "../../../swiper-react-bfbb44d6.js";
|
|
3
|
+
import { M as f } from "../../../mousewheel-2cf27f39.js";
|
|
4
4
|
import { c as i } from "../../../cn-6a4bf187.js";
|
|
5
5
|
p.use([u, f]);
|
|
6
6
|
const w = ({
|
package/dist/Header/index.js
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { C as e } from "../index-1a32da94.js";
|
|
2
|
+
const t = {
|
|
3
|
+
title: "Хедер",
|
|
4
|
+
description: "Верхняя навигационная часть страницы, содержащая логотип, меню, поиск, категории и основные элементы управления сайтом. Хедер отображается на всех страницах и обеспечивает быструю навигацию по сайту.",
|
|
5
|
+
types: [e.headers],
|
|
6
|
+
propsToEdit: []
|
|
7
|
+
};
|
|
8
|
+
export {
|
|
9
|
+
t as headerInfo
|
|
10
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { C as o } from "../index-1a32da94.js";
|
|
2
|
+
import { propsToEdit as r } from "./index.js";
|
|
3
|
+
const i = {
|
|
4
|
+
title: "Герой баннер возможностей",
|
|
5
|
+
description: "Компонент для отображения баннера с возможностями в виде списка цветных карточек. Используется для представления функций, услуг или возможностей с иконками и описаниями.",
|
|
6
|
+
types: [o.banners, o.cards],
|
|
7
|
+
propsToEdit: r
|
|
8
|
+
};
|
|
9
|
+
export {
|
|
10
|
+
i as heroPossibilityBannerInfo
|
|
11
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { propsToEdit as t } from "./HtmlContent.js";
|
|
2
|
+
const p = {
|
|
3
|
+
title: "HTML контент",
|
|
4
|
+
description: "Утилитарный компонент для отображения HTML контента на странице. Используется для вставки произвольного HTML кода с безопасной обработкой.",
|
|
5
|
+
types: [],
|
|
6
|
+
propsToEdit: t
|
|
7
|
+
};
|
|
8
|
+
export {
|
|
9
|
+
p as htmlContentInfo
|
|
10
|
+
};
|
package/dist/InfoBanner/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as b, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { c as l, a as x } from "../cn-6a4bf187.js";
|
|
3
3
|
import { FieldTypes as n } from "../Types/FiledTypes.js";
|
|
4
|
-
import { B as m } from "../index-
|
|
4
|
+
import { B as m } from "../index-10605794.js";
|
|
5
5
|
import { I as s } from "../index-2265d593.js";
|
|
6
6
|
import { u as p } from "../useScreenSize-c1b64c02.js";
|
|
7
7
|
const c = {
|
|
@@ -87,5 +87,6 @@ const c = {
|
|
|
87
87
|
f.propsToEdit = g;
|
|
88
88
|
export {
|
|
89
89
|
f as InfoBanner,
|
|
90
|
-
c as InfoBannerFields
|
|
90
|
+
c as InfoBannerFields,
|
|
91
|
+
g as propsToEdit
|
|
91
92
|
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { C as o } from "../index-1a32da94.js";
|
|
2
|
+
import { propsToEdit as t } from "./index.js";
|
|
3
|
+
const e = {
|
|
4
|
+
title: "Информационный баннер",
|
|
5
|
+
description: "Компонент для отображения информационного баннера с заголовком, описанием, изображениями и кнопкой действия. Используется для представления важной информации с визуальным акцентом.",
|
|
6
|
+
types: [o.banners],
|
|
7
|
+
propsToEdit: t
|
|
8
|
+
};
|
|
9
|
+
export {
|
|
10
|
+
e as infoBannerInfo
|
|
11
|
+
};
|
|
@@ -1,9 +1,51 @@
|
|
|
1
|
-
import "react/jsx-runtime";
|
|
2
|
-
import "../InfoBanner/index.js";
|
|
3
|
-
import {
|
|
4
|
-
import "../ComponentContainer-cdb2528c.js";
|
|
5
|
-
import "../cn-6a4bf187.js";
|
|
6
|
-
import "../useScreenSize-c1b64c02.js";
|
|
1
|
+
import { jsx as t, jsxs as m } from "react/jsx-runtime";
|
|
2
|
+
import { InfoBanner as x, InfoBannerFields as c } from "../InfoBanner/index.js";
|
|
3
|
+
import { c as l } from "../createBoolean-56064b0d.js";
|
|
4
|
+
import { C as f } from "../ComponentContainer-cdb2528c.js";
|
|
5
|
+
import { c as a } from "../cn-6a4bf187.js";
|
|
6
|
+
import { u as d } from "../useScreenSize-c1b64c02.js";
|
|
7
|
+
const b = {
|
|
8
|
+
type: "cards",
|
|
9
|
+
label: "Карточки информации",
|
|
10
|
+
dataType: "array",
|
|
11
|
+
data: c
|
|
12
|
+
}, h = l({
|
|
13
|
+
label: "Светлый вариант",
|
|
14
|
+
type: "isLight"
|
|
15
|
+
}), g = l({
|
|
16
|
+
label: "Светлый заголовок",
|
|
17
|
+
type: "isLightTitle"
|
|
18
|
+
}), L = ["title", b, h, g], T = ({
|
|
19
|
+
title: o,
|
|
20
|
+
cards: e,
|
|
21
|
+
isLight: s,
|
|
22
|
+
isLightTitle: r
|
|
23
|
+
}) => {
|
|
24
|
+
const n = d(960);
|
|
25
|
+
return /* @__PURE__ */ t(f, { children: /* @__PURE__ */ m("div", { className: a("w-full"), children: [
|
|
26
|
+
o && /* @__PURE__ */ t(
|
|
27
|
+
"p",
|
|
28
|
+
{
|
|
29
|
+
className: a(
|
|
30
|
+
"text-[44px] font-bold leading-[52px] mb-[48px] text-black text-center max-tablet:text-[26px] max-tablet:leading-[32px] max-tablet:mb-[32px]",
|
|
31
|
+
{ "text-white4": r }
|
|
32
|
+
),
|
|
33
|
+
children: o
|
|
34
|
+
}
|
|
35
|
+
),
|
|
36
|
+
/* @__PURE__ */ t("div", { className: a("flex flex-col gap-[40px] w-full"), children: e == null ? void 0 : e.map((p, i) => /* @__PURE__ */ t(
|
|
37
|
+
x,
|
|
38
|
+
{
|
|
39
|
+
data: p,
|
|
40
|
+
isTextLast: n ? !1 : i % 2 === 1,
|
|
41
|
+
isLight: s
|
|
42
|
+
},
|
|
43
|
+
i
|
|
44
|
+
)) })
|
|
45
|
+
] }) });
|
|
46
|
+
};
|
|
47
|
+
T.propsToEdit = L;
|
|
7
48
|
export {
|
|
8
|
-
|
|
49
|
+
T as InfoBannerList,
|
|
50
|
+
L as propsToEdit
|
|
9
51
|
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { C as o } from "../index-1a32da94.js";
|
|
2
|
+
import { propsToEdit as t } from "./InfoBannerList.js";
|
|
3
|
+
const r = {
|
|
4
|
+
title: "Список информационных баннеров",
|
|
5
|
+
description: "Компонент для отображения списка информационных баннеров с заголовками, описаниями и визуальными элементами. Используется для представления серии информационных блоков или объявлений.",
|
|
6
|
+
types: [o.banners, o.lists],
|
|
7
|
+
propsToEdit: t
|
|
8
|
+
};
|
|
9
|
+
export {
|
|
10
|
+
r as infoBannerListInfo
|
|
11
|
+
};
|
|
@@ -1,9 +1,33 @@
|
|
|
1
|
-
import "react/jsx-runtime";
|
|
2
|
-
import "../index-
|
|
3
|
-
import "../const-
|
|
4
|
-
import "../ComponentContainer-cdb2528c.js";
|
|
5
|
-
import {
|
|
1
|
+
import { jsxs as n, jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { B as a } from "../index-10605794.js";
|
|
3
|
+
import { c as i } from "../const-53dff524.js";
|
|
4
|
+
import { C as p } from "../ComponentContainer-cdb2528c.js";
|
|
5
|
+
import { InstructionCardData as m, InstructionCard as l } from "./components/InstructionCard/InstructionCard.js";
|
|
6
|
+
const x = ["title", "cards", i], h = {
|
|
7
|
+
type: "cards",
|
|
8
|
+
label: "Карточки",
|
|
9
|
+
dataType: "array",
|
|
10
|
+
data: {
|
|
11
|
+
...m
|
|
12
|
+
}
|
|
13
|
+
}, c = ({
|
|
14
|
+
title: s,
|
|
15
|
+
cards: e,
|
|
16
|
+
button: r
|
|
17
|
+
}) => /* @__PURE__ */ n(p, { className: "flex flex-col items-center", children: [
|
|
18
|
+
s && /* @__PURE__ */ o("p", { className: "text-[44px] leading-[54px] font-bold text-center mb-[48px]", children: s }),
|
|
19
|
+
/* @__PURE__ */ o("div", { className: "flex flex-row max-tablet:flex-col items-stretch gap-[24px]", children: e == null ? void 0 : e.map((t) => /* @__PURE__ */ o(
|
|
20
|
+
l,
|
|
21
|
+
{
|
|
22
|
+
...t
|
|
23
|
+
},
|
|
24
|
+
t == null ? void 0 : t.id
|
|
25
|
+
)) }),
|
|
26
|
+
/* @__PURE__ */ o(a, { ...r })
|
|
27
|
+
] });
|
|
28
|
+
c.propsToEdit = x;
|
|
6
29
|
export {
|
|
7
|
-
|
|
8
|
-
|
|
30
|
+
c as InstructionList,
|
|
31
|
+
h as cards,
|
|
32
|
+
x as propsToEdit
|
|
9
33
|
};
|