md-components-mdigial-azamat 0.0.37 → 0.0.38
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 +6 -5
- package/dist/AnimatedSwiper/index.js +2 -2
- package/dist/Header/Header.js +31 -6
- package/dist/Header/components/HeaderMenuMobile/HeaderMenuMobile.js +58 -13
- 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 +2 -2
- package/dist/Header/components/HeaderWeb/HeaderWeb.js +9 -9
- 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/InfoBannerList/InfoBannerList.js +1 -1
- package/dist/InfoBannerList/index.js +1 -1
- package/dist/InstructionList/InstructionList.js +1 -1
- package/dist/InstructionList/components/InstructionCard/InstructionCard.js +8 -8
- package/dist/InstructionList/components/InstructionCard/index.js +1 -1
- package/dist/InstructionList/index.js +1 -1
- package/dist/PageViewer/PageViewer.js +3 -4
- package/dist/PageViewer/renderComponents.js +1 -1
- package/dist/PreviewList/PreviewList.js +1 -1
- package/dist/PreviewList/components/PreviewCard/PreviewCard.js +9 -9
- package/dist/PreviewList/components/PreviewCard/index.js +1 -1
- package/dist/PreviewList/index.js +1 -1
- package/dist/PromoPoster/PromoPoster.js +1 -1
- package/dist/RenderAllComponents/RenderAllComponents.js +1 -1
- package/dist/StandartTable/components/CardMarkedRow/index.js +10 -10
- package/dist/StandartTable/index.js +1 -1
- package/dist/SwiperList/SwiperList.js +3 -3
- package/dist/SwiperList/index.js +1 -1
- package/dist/TasksBanner/TasksBanner.js +3 -3
- package/dist/TasksBanner/index.js +2 -2
- package/dist/TasksBannerList/TasksBannerList.js +1 -1
- package/dist/TasksBannerList/index.js +1 -1
- package/dist/{componentsMap-e7dba337.js → componentsMap-1d79e069.js} +23 -22
- package/dist/header-4f7ca247.js +107 -0
- package/dist/{index-66837af1.js → index-9c3ff10b.js} +55 -55
- package/dist/index-a302b5ed.js +787 -0
- package/dist/{languages-list-8419e560.js → languages-list-87ab3324.js} +2 -2
- package/dist/main.js +78 -81
- package/dist/{mousewheel-865ae601.js → mousewheel-f9c6bcd7.js} +1 -1
- package/dist/{swiper-react-90953710.js → swiper-react-39919ab6.js} +251 -251
- package/package.json +1 -1
- package/dist/index-3a534581.js +0 -261
- package/dist/index-3f94ad07.js +0 -925
package/dist/AllComponents.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./data.mock-483400cb.js";
|
|
2
|
-
import "./index-
|
|
2
|
+
import "./index-9c3ff10b.js";
|
|
3
3
|
import "./Banner/Banner.js";
|
|
4
4
|
import "./CardIconList/CardIconList.js";
|
|
5
5
|
import "./CardImageList/CardImageList.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 { f as
|
|
11
|
+
import { f as S, A as T } from "./index-a302b5ed.js";
|
|
12
12
|
import "./IntroBanner/IntroBanner.js";
|
|
13
13
|
import "./MainBanner/MainBanner.js";
|
|
14
14
|
import "./MultiCards/index.js";
|
|
@@ -22,7 +22,6 @@ import "./Video/VideoListMini/VideoListMini.js";
|
|
|
22
22
|
import "./VideoMainBanner/VideoMainBanner.js";
|
|
23
23
|
import "./ConfigProvider/index.js";
|
|
24
24
|
import "./BannerAndText/index.js";
|
|
25
|
-
import "./Footer/Footer.js";
|
|
26
25
|
import "./HtmlContent/HtmlContent.js";
|
|
27
26
|
import "./HeroPossibilityBanner/index.js";
|
|
28
27
|
import "./Cards/CardImage/CardImage.js";
|
|
@@ -39,8 +38,10 @@ import "react/jsx-runtime";
|
|
|
39
38
|
import "react";
|
|
40
39
|
import "./index-6af94f99.js";
|
|
41
40
|
import "./const-637b0dca.js";
|
|
41
|
+
import "./Header/components/HeaderTabsMobile/HeaderTabsMobile.js";
|
|
42
|
+
import "./Header/components/TabsOutlined/TabsOutlined.js";
|
|
42
43
|
import "./Space/Space.js";
|
|
43
44
|
export {
|
|
44
|
-
|
|
45
|
-
|
|
45
|
+
S as AllComponents,
|
|
46
|
+
T as AllComponentsData
|
|
46
47
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import { A as l } from "../index-
|
|
3
|
+
import { A as l } from "../index-9c3ff10b.js";
|
|
4
4
|
import "../SwiperList/components/Bullet/Bullet.js";
|
|
5
5
|
import "../Types/FiledTypes.js";
|
|
6
|
-
import "../swiper-react-
|
|
6
|
+
import "../swiper-react-39919ab6.js";
|
|
7
7
|
import "../cn-6a4bf187.js";
|
|
8
8
|
import "../useScreenSize-c1b64c02.js";
|
|
9
9
|
import "./Slide/Slide.js";
|
package/dist/Header/Header.js
CHANGED
|
@@ -1,8 +1,33 @@
|
|
|
1
|
-
import "react/jsx-runtime";
|
|
2
|
-
import "../cn-6a4bf187.js";
|
|
3
|
-
import "../useScreenSize-c1b64c02.js";
|
|
4
|
-
import {
|
|
5
|
-
import "./components/HeaderWeb/HeaderWeb.js";
|
|
1
|
+
import { jsx as e, Fragment as t } from "react/jsx-runtime";
|
|
2
|
+
import { c as m } from "../cn-6a4bf187.js";
|
|
3
|
+
import { u as f } from "../useScreenSize-c1b64c02.js";
|
|
4
|
+
import { HeaderMobile as l } from "./components/HeaderMobile/HeaderMobile.js";
|
|
5
|
+
import p from "./components/HeaderWeb/HeaderWeb.js";
|
|
6
|
+
const x = ({ sections: r, darkTheme: i }) => {
|
|
7
|
+
const o = f(960);
|
|
8
|
+
return /* @__PURE__ */ e(t, { children: o ? /* @__PURE__ */ e(
|
|
9
|
+
l,
|
|
10
|
+
{
|
|
11
|
+
sections: r,
|
|
12
|
+
darkTheme: i,
|
|
13
|
+
className: "fixed top-0 z-[9999] w-full"
|
|
14
|
+
}
|
|
15
|
+
) : /* @__PURE__ */ e(
|
|
16
|
+
"div",
|
|
17
|
+
{
|
|
18
|
+
className: m(
|
|
19
|
+
"fixed top-0 z-[9999] w-full h-[70px] bg-white flex items-center justify-center py-[9px]"
|
|
20
|
+
),
|
|
21
|
+
children: /* @__PURE__ */ e(
|
|
22
|
+
p,
|
|
23
|
+
{
|
|
24
|
+
sections: r,
|
|
25
|
+
darkTheme: i
|
|
26
|
+
}
|
|
27
|
+
)
|
|
28
|
+
}
|
|
29
|
+
) });
|
|
30
|
+
};
|
|
6
31
|
export {
|
|
7
|
-
|
|
32
|
+
x as Header
|
|
8
33
|
};
|
|
@@ -1,15 +1,9 @@
|
|
|
1
|
-
import "react/jsx-runtime";
|
|
2
|
-
import "react";
|
|
3
|
-
import "../../const.js";
|
|
1
|
+
import { jsx as i, jsxs as f } from "react/jsx-runtime";
|
|
2
|
+
import { useState as c } from "react";
|
|
3
|
+
import { HeaderMobileRender as d } from "../../const.js";
|
|
4
4
|
import "../../../ConfigProvider/index.js";
|
|
5
5
|
import "../../../Banner/Banner.js";
|
|
6
6
|
import "../../../BannerAndText/index.js";
|
|
7
|
-
import "../../../cn-6a4bf187.js";
|
|
8
|
-
import { g as T } from "../../../index-3f94ad07.js";
|
|
9
|
-
import "../../../HtmlContent/HtmlContent.js";
|
|
10
|
-
import "../TabsOutlined/TabsOutlined.js";
|
|
11
|
-
import "../../../index-6af94f99.js";
|
|
12
|
-
import "../../../const-637b0dca.js";
|
|
13
7
|
import "../../../Stepper/Stepper.js";
|
|
14
8
|
import "../../../Segments/Segments.js";
|
|
15
9
|
import "../../../Video/VideoFull/VideoFull.js";
|
|
@@ -22,6 +16,8 @@ import "../../../Partners/Partners.js";
|
|
|
22
16
|
import "../../../CardImageList/CardImageList.js";
|
|
23
17
|
import "../../../MainBanner/MainBanner.js";
|
|
24
18
|
import "../../../Faq/Faq.js";
|
|
19
|
+
import "../../../HtmlContent/HtmlContent.js";
|
|
20
|
+
import "../../../index-a302b5ed.js";
|
|
25
21
|
import "../../../HeroPossibilityBanner/index.js";
|
|
26
22
|
import "../../../PartnersColors/PartnersColors.js";
|
|
27
23
|
import "../../../Cards/CardImage/CardImage.js";
|
|
@@ -33,15 +29,64 @@ import "../../../DownloadFile/components/DownloadFileBanner/DownloadFileBanner.j
|
|
|
33
29
|
import "../../../DownloadFile/components/DownloadFileFull/DownloadFileFull.js";
|
|
34
30
|
import "../../../DownloadFile/components/DownloadFileHalf/DownloadFileHalf.js";
|
|
35
31
|
import "../../../DownloadFile/components/DownloadFileMini/DownloadFileMini.js";
|
|
36
|
-
import "../../../Faq/components/Collapse/Collapse.js";
|
|
37
|
-
import "../../../index-
|
|
32
|
+
import { Collapse as s } from "../../../Faq/components/Collapse/Collapse.js";
|
|
33
|
+
import "../../../index-6af94f99.js";
|
|
34
|
+
import "../../../const-637b0dca.js";
|
|
35
|
+
import { c as h } from "../../../cn-6a4bf187.js";
|
|
36
|
+
import "../../../index-9c3ff10b.js";
|
|
38
37
|
import "../../../CardImageSecondaryList/CardImageSecondaryList.js";
|
|
39
38
|
import "../../../CardInfoTable/index.js";
|
|
40
39
|
import "../../../DownloadFile/components/DownloadFileBright/index.js";
|
|
40
|
+
import "../TabsOutlined/TabsOutlined.js";
|
|
41
41
|
import "../../../IntroBanner/IntroBanner.js";
|
|
42
42
|
import "../../../Space/Space.js";
|
|
43
43
|
import "../../../VideoMainBanner/VideoMainBanner.js";
|
|
44
|
-
import "../HeaderTabsMobile/HeaderTabsMobile.js";
|
|
44
|
+
import x from "../HeaderTabsMobile/HeaderTabsMobile.js";
|
|
45
|
+
const er = ({ sectionsData: l, render: e }) => {
|
|
46
|
+
const [p, m] = c(
|
|
47
|
+
[]
|
|
48
|
+
);
|
|
49
|
+
return /* @__PURE__ */ i(
|
|
50
|
+
"div",
|
|
51
|
+
{
|
|
52
|
+
className: h(
|
|
53
|
+
"fixed -top-[100vh] left-0 right-0 w-full h-[calc(100vh-56px)] bg-white z-[9998] overflow-y-auto overflow-x-hidden transition-all duration-500 pb-12",
|
|
54
|
+
{
|
|
55
|
+
"top-14": e === d.MENU
|
|
56
|
+
}
|
|
57
|
+
),
|
|
58
|
+
children: /* @__PURE__ */ i("div", { className: "flex items-center justify-between py-2 px-4 pb-2.5 relative", children: /* @__PURE__ */ f("div", { className: "w-full bg-white flex flex-col z-[1000]", children: [
|
|
59
|
+
/* @__PURE__ */ i(
|
|
60
|
+
x,
|
|
61
|
+
{
|
|
62
|
+
sectionsData: l,
|
|
63
|
+
setCategoriesData: m
|
|
64
|
+
}
|
|
65
|
+
),
|
|
66
|
+
p == null ? void 0 : p.map((r, a) => {
|
|
67
|
+
var t;
|
|
68
|
+
return /* @__PURE__ */ i(
|
|
69
|
+
s,
|
|
70
|
+
{
|
|
71
|
+
title: r == null ? void 0 : r.title,
|
|
72
|
+
icon: r == null ? void 0 : r.icon,
|
|
73
|
+
children: /* @__PURE__ */ i("div", { className: "rounded-2xl bg-white4 p-3 px-4 flex flex-col gap-6", children: (t = r == null ? void 0 : r.subcategories) == null ? void 0 : t.map((o, n) => /* @__PURE__ */ i(
|
|
74
|
+
"a",
|
|
75
|
+
{
|
|
76
|
+
href: (o == null ? void 0 : o.link) || "/",
|
|
77
|
+
className: "w-full flex justify-between",
|
|
78
|
+
children: o == null ? void 0 : o.title
|
|
79
|
+
},
|
|
80
|
+
n
|
|
81
|
+
)) })
|
|
82
|
+
},
|
|
83
|
+
a
|
|
84
|
+
);
|
|
85
|
+
})
|
|
86
|
+
] }) })
|
|
87
|
+
}
|
|
88
|
+
);
|
|
89
|
+
};
|
|
45
90
|
export {
|
|
46
|
-
|
|
91
|
+
er as default
|
|
47
92
|
};
|
|
@@ -1,11 +1,73 @@
|
|
|
1
|
-
import "react/jsx-runtime";
|
|
2
|
-
import "react";
|
|
3
|
-
import "../../const.js";
|
|
4
|
-
import "../../../
|
|
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 "../../../header-4f7ca247.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 = "";
|
|
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 "../../../header-4f7ca247.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,7 +1,7 @@
|
|
|
1
1
|
import { jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import { useEffect as f } from "react";
|
|
3
|
-
import { S as m, N as b, a as g, b as x } from "../../../swiper-react-
|
|
4
|
-
import { M as k } from "../../../mousewheel-
|
|
3
|
+
import { S as m, N as b, a as g, b as x } from "../../../swiper-react-39919ab6.js";
|
|
4
|
+
import { M as k } from "../../../mousewheel-f9c6bcd7.js";
|
|
5
5
|
import { R as S } from "../../../routes-382632ac.js";
|
|
6
6
|
import { c as y } from "../../../cn-6a4bf187.js";
|
|
7
7
|
import '../../../assets/swiper.css';/* empty css */m.use([b, k]);
|
|
@@ -8,21 +8,21 @@ import { u as E } from "../../../useClickOutside-197b0df2.js";
|
|
|
8
8
|
import { I as k } 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 I } from "../HeaderTab/HeaderTab.js";
|
|
13
13
|
import B from "../SelectLanguage/SelectLanguage.js";
|
|
14
|
-
const F = "category",
|
|
14
|
+
const F = "category", T = "link", se = ({ sections: r, darkTheme: p }) => {
|
|
15
15
|
const [g, i] = o(null), [m, b] = o(!1), [f, a] = o(!1), [l, x] = o(
|
|
16
16
|
[]
|
|
17
|
-
), [d, u] = o(0), { ref:
|
|
17
|
+
), [d, u] = o(0), { ref: H } = E(f, () => {
|
|
18
18
|
a(!1), i(null), u(0);
|
|
19
19
|
}), y = (e) => {
|
|
20
20
|
window.location.href = e || "/";
|
|
21
21
|
}, w = (e) => {
|
|
22
22
|
const { type: N, id: G, data: _ } = e;
|
|
23
|
-
N === F && (x(_), a(!0)), N ===
|
|
23
|
+
N === F && (x(_), a(!0)), N === T && (a(!1), x([])), i(G);
|
|
24
24
|
}, v = (e) => {
|
|
25
|
-
e ===
|
|
25
|
+
e === T && i(null);
|
|
26
26
|
}, S = () => {
|
|
27
27
|
b(!m), a(!1);
|
|
28
28
|
}, M = () => {
|
|
@@ -56,7 +56,7 @@ const F = "category", I = "link", se = ({ sections: r, darkTheme: p }) => {
|
|
|
56
56
|
),
|
|
57
57
|
/* @__PURE__ */ s("div", { className: "flex items-center justify-between flex-grow", children: [
|
|
58
58
|
/* @__PURE__ */ t("div", { className: "flex items-center gap-2", children: R.map((e) => /* @__PURE__ */ t(
|
|
59
|
-
|
|
59
|
+
I,
|
|
60
60
|
{
|
|
61
61
|
item: e,
|
|
62
62
|
activeTab: g,
|
|
@@ -68,7 +68,7 @@ const F = "category", I = "link", se = ({ sections: r, darkTheme: p }) => {
|
|
|
68
68
|
)) }),
|
|
69
69
|
/* @__PURE__ */ s("div", { className: "flex items-center gap-2", children: [
|
|
70
70
|
/* @__PURE__ */ t("div", { className: "flex items-center gap-2 pr-6 border-r border-gray-300 mr-4", children: j.map((e) => /* @__PURE__ */ t(
|
|
71
|
-
|
|
71
|
+
I,
|
|
72
72
|
{
|
|
73
73
|
item: e,
|
|
74
74
|
activeTab: g,
|
|
@@ -120,7 +120,7 @@ const F = "category", I = "link", se = ({ sections: r, darkTheme: p }) => {
|
|
|
120
120
|
"flex bg-white rounded-2xl backdrop-blur-md w-full shadow-lg absolute top-[75px] left-0 z-50 transition-all duration-300 ease-out",
|
|
121
121
|
f ? "opacity-100 translate-y-0 pointer-events-auto visible" : "opacity-0 -translate-y-5 pointer-events-none invisible"
|
|
122
122
|
),
|
|
123
|
-
ref:
|
|
123
|
+
ref: H,
|
|
124
124
|
children: [
|
|
125
125
|
/* @__PURE__ */ t(
|
|
126
126
|
O,
|
|
@@ -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 { S as p, N as u, a as d, b as c } from "../../../swiper-react-
|
|
3
|
-
import { M as f } from "../../../mousewheel-
|
|
2
|
+
import { S as p, N as u, a as d, b as c } from "../../../swiper-react-39919ab6.js";
|
|
3
|
+
import { M as f } from "../../../mousewheel-f9c6bcd7.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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "../InfoBanner/index.js";
|
|
3
|
-
import { a as n } from "../index-
|
|
3
|
+
import { a as n } from "../index-a302b5ed.js";
|
|
4
4
|
import "../ComponentContainer-cdb2528c.js";
|
|
5
5
|
import "../cn-6a4bf187.js";
|
|
6
6
|
import "../useScreenSize-c1b64c02.js";
|
|
@@ -2,7 +2,7 @@ import "react/jsx-runtime";
|
|
|
2
2
|
import "../index-6af94f99.js";
|
|
3
3
|
import "../const-637b0dca.js";
|
|
4
4
|
import "../ComponentContainer-cdb2528c.js";
|
|
5
|
-
import { I as s,
|
|
5
|
+
import { I as s, h as a } from "../index-a302b5ed.js";
|
|
6
6
|
export {
|
|
7
7
|
s as InstructionList,
|
|
8
8
|
a as cards
|
|
@@ -1,15 +1,9 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import { d as U,
|
|
3
|
+
import { d as U, g as V } from "../../../index-a302b5ed.js";
|
|
4
4
|
import "../../../ConfigProvider/index.js";
|
|
5
5
|
import "../../../Banner/Banner.js";
|
|
6
6
|
import "../../../BannerAndText/index.js";
|
|
7
|
-
import "../../../index-2265d593.js";
|
|
8
|
-
import "../../../Header/components/HeaderTabsMobile/HeaderTabsMobile.js";
|
|
9
|
-
import "../../../HtmlContent/HtmlContent.js";
|
|
10
|
-
import "../../../Header/components/TabsOutlined/TabsOutlined.js";
|
|
11
|
-
import "../../../index-6af94f99.js";
|
|
12
|
-
import "../../../const-637b0dca.js";
|
|
13
7
|
import "../../../Stepper/Stepper.js";
|
|
14
8
|
import "../../../Segments/Segments.js";
|
|
15
9
|
import "../../../Video/VideoFull/VideoFull.js";
|
|
@@ -22,6 +16,7 @@ import "../../../Partners/Partners.js";
|
|
|
22
16
|
import "../../../CardImageList/CardImageList.js";
|
|
23
17
|
import "../../../MainBanner/MainBanner.js";
|
|
24
18
|
import "../../../Faq/Faq.js";
|
|
19
|
+
import "../../../HtmlContent/HtmlContent.js";
|
|
25
20
|
import "../../../HeroPossibilityBanner/index.js";
|
|
26
21
|
import "../../../PartnersColors/PartnersColors.js";
|
|
27
22
|
import "../../../Cards/CardImage/CardImage.js";
|
|
@@ -34,11 +29,16 @@ import "../../../DownloadFile/components/DownloadFileFull/DownloadFileFull.js";
|
|
|
34
29
|
import "../../../DownloadFile/components/DownloadFileHalf/DownloadFileHalf.js";
|
|
35
30
|
import "../../../DownloadFile/components/DownloadFileMini/DownloadFileMini.js";
|
|
36
31
|
import "../../../Faq/components/Collapse/Collapse.js";
|
|
32
|
+
import "../../../index-6af94f99.js";
|
|
33
|
+
import "../../../const-637b0dca.js";
|
|
37
34
|
import "../InstructionModal/InstructionModal.js";
|
|
38
|
-
import "../../../index-
|
|
35
|
+
import "../../../index-2265d593.js";
|
|
36
|
+
import "../../../index-9c3ff10b.js";
|
|
39
37
|
import "../../../CardImageSecondaryList/CardImageSecondaryList.js";
|
|
40
38
|
import "../../../CardInfoTable/index.js";
|
|
41
39
|
import "../../../DownloadFile/components/DownloadFileBright/index.js";
|
|
40
|
+
import "../../../Header/components/HeaderTabsMobile/HeaderTabsMobile.js";
|
|
41
|
+
import "../../../Header/components/TabsOutlined/TabsOutlined.js";
|
|
42
42
|
import "../../../IntroBanner/IntroBanner.js";
|
|
43
43
|
import "../../../Space/Space.js";
|
|
44
44
|
import "../../../VideoMainBanner/VideoMainBanner.js";
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import "../ConfigProvider/index.js";
|
|
2
2
|
import "../Banner/Banner.js";
|
|
3
3
|
import "../BannerAndText/index.js";
|
|
4
|
-
import "../index-3f94ad07.js";
|
|
5
|
-
import "../Footer/Footer.js";
|
|
6
4
|
import "../Stepper/Stepper.js";
|
|
7
5
|
import "../Segments/Segments.js";
|
|
8
6
|
import "../Video/VideoFull/VideoFull.js";
|
|
@@ -16,6 +14,7 @@ import "../CardImageList/CardImageList.js";
|
|
|
16
14
|
import "../MainBanner/MainBanner.js";
|
|
17
15
|
import "../Faq/Faq.js";
|
|
18
16
|
import "../HtmlContent/HtmlContent.js";
|
|
17
|
+
import "../index-a302b5ed.js";
|
|
19
18
|
import "../HeroPossibilityBanner/index.js";
|
|
20
19
|
import "../PartnersColors/PartnersColors.js";
|
|
21
20
|
import "../Cards/CardImage/CardImage.js";
|
|
@@ -39,7 +38,7 @@ import m from "./ComponentsView.js";
|
|
|
39
38
|
import "../Types/FiledTypes.js";
|
|
40
39
|
import "../const-637b0dca.js";
|
|
41
40
|
import "../Space/Space.js";
|
|
42
|
-
const
|
|
41
|
+
const R = ({ components: o }) => /* @__PURE__ */ r(t, { children: /* @__PURE__ */ r(m, { components: o }) });
|
|
43
42
|
export {
|
|
44
|
-
|
|
43
|
+
R as PageViewer
|
|
45
44
|
};
|