md-components-mdigial-azamat 0.0.112 → 0.0.113
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/ActionCardList/ActionCardList.js +28 -5
- package/dist/ActionCardList/index.js +1 -1
- package/dist/ActionCardList/info.js +1 -1
- package/dist/ActionCardSecondaryList/ActionCardSecondaryList.js +32 -0
- package/dist/ActionCardSecondaryList/index.js +6 -0
- package/dist/ActionCardSecondaryList/info.js +11 -0
- package/dist/ActionCardSecondaryList/schema.js +51 -0
- package/dist/ActionCardSecondaryList/types.js +4 -0
- package/dist/ActionIconList/ActionIconList.js +25 -2
- package/dist/AllComponents.js +28 -5
- package/dist/AllComponentsInfo.js +111 -95
- package/dist/AnimatedSwiper/index.js +40 -38
- package/dist/CardImageList/CardImageList.js +122 -81
- package/dist/CardImageList/schema.js +17 -12
- package/dist/Cards/ActionSecondaryCard/ActionSecondaryCard.js +77 -0
- package/dist/Cards/ActionSecondaryCard/index.js +6 -0
- package/dist/Cards/ActionSecondaryCard/info.js +11 -0
- package/dist/Cards/ActionSecondaryCard/types.js +4 -0
- package/dist/Cards/CardImage/CardImage.js +48 -50
- package/dist/Cards/InfoCard/InfoCard.js +114 -0
- package/dist/Cards/InfoCard/index.js +9 -0
- package/dist/Cards/InfoCard/info.js +11 -0
- package/dist/Cards/InfoCard/schema.js +60 -0
- package/dist/Cards/InfoCard/types.js +4 -0
- package/dist/Cards/PostCard/PostCard.js +60 -0
- package/dist/Cards/PostCard/index.js +6 -0
- package/dist/Cards/PostCard/info.js +11 -0
- package/dist/Cards/PostCard/types.js +4 -0
- package/dist/Cards/WarningCard/WarningCard.js +27 -4
- package/dist/Cards/WarningCard/index.js +1 -1
- package/dist/Cards/WarningCard/info.js +1 -1
- package/dist/Cards/WarningCard/model.js +1 -1
- package/dist/CurrencyRates/CurrencyRates.js +78 -0
- package/dist/CurrencyRates/components/Calculator.js +101 -0
- package/dist/CurrencyRates/components/RateCell.js +15 -0
- package/dist/CurrencyRates/components/RatesTable.js +134 -0
- package/dist/CurrencyRates/components/index.js +6 -0
- package/dist/CurrencyRates/index.js +8 -0
- package/dist/CurrencyRates/info.js +11 -0
- package/dist/CurrencyRates/schema.js +63 -0
- package/dist/CurrencyRates/types.js +4 -0
- package/dist/DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js +1 -1
- package/dist/DownloadFile/components/DownloadFileFull/DownloadFileFull.js +1 -1
- package/dist/DownloadFile/components/DownloadFileHalf/DownloadFileHalf.js +1 -1
- package/dist/DownloadFile/components/DownloadFileMini/DownloadFileMini.js +1 -1
- package/dist/DownloadFile/components/FileBannerSecondary/FileBannerSecondary.js +1 -1
- package/dist/Faq/Faq.js +1 -1
- package/dist/Faq/components/FeedbackForm/FeedbackForm.js +55 -6
- package/dist/Faq/components/FeedbackForm/index.js +1 -1
- package/dist/FieldInput-ef2a18d4.js +2743 -0
- package/dist/Forms/FormDefault/FormDefault.js +12 -0
- package/dist/Forms/FormDefault/components/FieldCustom.js +11 -0
- package/dist/Forms/FormDefault/components/FieldInput.js +11 -0
- package/dist/Forms/FormDefault/components/FieldSection.js +10 -0
- package/dist/Forms/FormDefault/components/FormContent.js +10 -0
- package/dist/Forms/FormDefault/components/FormFields.js +7 -0
- package/dist/Forms/FormDefault/components/FormSuccessMessage.js +49 -0
- package/dist/Forms/FormDefault/components/index.js +6 -0
- package/dist/Forms/FormDefault/hooks/index.js +10 -0
- package/dist/Forms/FormDefault/hooks/useFieldOptions.js +32 -0
- package/dist/Forms/FormDefault/hooks/useFieldValidation.js +33 -0
- package/dist/Forms/FormDefault/hooks/useFieldVisibility.js +24 -0
- package/dist/Forms/FormDefault/hooks/useFormSubmission.js +64 -0
- package/dist/Forms/FormDefault/index.js +6 -12
- package/dist/Forms/FormDefault/info.js +3 -115
- package/dist/Forms/FormDefault/model/componentRegistry.js +134 -0
- package/dist/Forms/FormDefault/model/fieldTypes.js +18 -0
- package/dist/Forms/FormDefault/model/formElementTypes.js +18 -0
- package/dist/Forms/FormDefault/model/index.js +13 -0
- package/dist/Forms/FormDefault/model/requestForm.js +4 -0
- package/dist/Forms/{model/components.js → FormDefault/schema.js} +32 -5
- package/dist/Forms/FormDefault/utils.js +20 -0
- package/dist/Grid-331af266.js +80 -0
- package/dist/Header/Header.js +54 -42
- package/dist/Header/components/HeaderMainMobile/HeaderMainMobile.js +21 -19
- package/dist/Header/components/HeaderMobile/HeaderMobile.js +67 -52
- package/dist/Header/components/HeaderTab/HeaderTab.js +17 -15
- package/dist/Header/components/HeaderTabsMobile/HeaderTabsMobile.js +8 -7
- package/dist/Header/components/HeaderWeb/HeaderWeb.js +134 -114
- package/dist/Header/components/TabsOutlined/TabsOutlined.js +8 -7
- package/dist/HeroIconsBanner/HeroIconsBanner.js +25 -25
- package/dist/IconList/IconList.js +60 -54
- package/dist/InfoCardList/InfoCardList.js +100 -0
- package/dist/InfoCardList/index.js +6 -0
- package/dist/InfoCardList/info.js +11 -0
- package/dist/InfoCardList/schema.js +39 -0
- package/dist/InfoCardList/types.js +1 -0
- package/dist/PageViewer/renderComponents.js +1 -1
- package/dist/PostsList/PostsList.js +78 -0
- package/dist/PostsList/index.js +4 -0
- package/dist/PostsList/info.js +11 -0
- package/dist/PostsList/schema.js +49 -0
- package/dist/PostsList/types.js +1 -0
- package/dist/PostsSlider/PostsSlider.js +78 -0
- package/dist/PostsSlider/index.js +4 -0
- package/dist/PostsSlider/info.js +11 -0
- package/dist/PostsSlider/schema.js +49 -0
- package/dist/PostsSlider/types.js +1 -0
- package/dist/RenderAllComponents/RenderAllComponents.js +1 -1
- package/dist/RenderAllComponents/const.js +1 -1
- package/dist/SearchBlock/SearchBlock.js +36 -37
- package/dist/SegmentedContent/SegmentedContent.js +160 -0
- package/dist/SegmentedContent/components/ContentCard.js +50 -0
- package/dist/SegmentedContent/components/index.js +4 -0
- package/dist/SegmentedContent/index.js +8 -0
- package/dist/SegmentedContent/info.js +12 -0
- package/dist/SegmentedContent/schema.js +108 -0
- package/dist/SegmentedContent/types.js +1 -0
- package/dist/Segments/Segments.js +36 -28
- package/dist/Segments/index.js +8 -2
- package/dist/Segments/info.js +1 -1
- package/dist/Segments/schema.js +21 -0
- package/dist/Segments/types.js +4 -1
- package/dist/SegmentsIcons/SegmentsIcons.js +92 -0
- package/dist/SegmentsIcons/index.js +8 -0
- package/dist/SegmentsIcons/info.js +11 -0
- package/dist/SegmentsIcons/schema.js +14 -0
- package/dist/SegmentsIcons/types.js +1 -0
- package/dist/SwiperList/SwiperList.js +13 -11
- package/dist/assets/index.css +1 -1
- package/dist/{componentsMap-cac6c316.js → componentsMap-29ccdfcc.js} +5 -3
- package/dist/{data.mock-ebc679ec.js → data.mock-bb32e8ee.js} +420 -148
- package/dist/index-0791c17f.js +56 -0
- package/dist/index-2ec92a04.js +32 -0
- package/dist/index.esm-0558519f.js +1171 -0
- package/dist/info-72904479.js +791 -0
- package/dist/main.js +151 -119
- package/dist/{mousewheel-865ae601.js → mousewheel-afbc6d42.js} +1 -1
- package/dist/navigation-266856e7.js +136 -0
- package/dist/navigation-cd786a0d.js +133 -0
- package/dist/{palette-c2fe86ec.js → palette-256cf77a.js} +3 -1
- package/dist/{swiper-react-90953710.js → swiper-react-3c2710e8.js} +695 -825
- package/dist/types-c3843cc0.js +4 -0
- package/dist/useDraggableScroll-440da9b7.js +29 -0
- package/dist/useTranslation-d7a3ca6f.js +298 -0
- package/package.json +1 -1
- package/dist/FileLoader/fileLoader.js +0 -22
- package/dist/FileLoader/index.js +0 -8
- package/dist/Forms/FormDefault/componentTypes.js +0 -31
- package/dist/Forms/FormDefault/fieldTypesList.js +0 -45
- package/dist/Forms/helpers/renderFormFields.js +0 -7
- package/dist/Forms/model/requestForm.js +0 -4
- package/dist/index-6686852d.js +0 -1794
- package/dist/index-a0ed2e4a.js +0 -1221
- package/dist/info-d05a1f02.js +0 -1547
- package/dist/navigation-b894d0cd.js +0 -183
- /package/dist/Forms/{types/formItems.js → FormDefault/model/types.js} +0 -0
|
@@ -1,31 +1,33 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { c as
|
|
3
|
-
const
|
|
1
|
+
import { jsx as u } from "react/jsx-runtime";
|
|
2
|
+
import { c as y } from "../../../cn-6a4bf187.js";
|
|
3
|
+
const g = ({
|
|
4
4
|
item: n,
|
|
5
|
-
activeTab:
|
|
6
|
-
onTabClick:
|
|
7
|
-
onTabHover:
|
|
5
|
+
activeTab: a,
|
|
6
|
+
onTabClick: o,
|
|
7
|
+
onTabHover: p,
|
|
8
8
|
onTabLeave: d,
|
|
9
|
+
isDarkGlass: x,
|
|
9
10
|
className: l
|
|
10
11
|
}) => {
|
|
11
12
|
if (!n)
|
|
12
13
|
return null;
|
|
13
|
-
const
|
|
14
|
-
(
|
|
14
|
+
const s = (r) => {
|
|
15
|
+
(r.key === "Enter" || r.key === " ") && (r.preventDefault(), o((n == null ? void 0 : n.link) || ""));
|
|
15
16
|
};
|
|
16
|
-
return /* @__PURE__ */
|
|
17
|
+
return /* @__PURE__ */ u(
|
|
17
18
|
"div",
|
|
18
19
|
{
|
|
19
|
-
className:
|
|
20
|
+
className: y(
|
|
20
21
|
"text-graySoft font-inter text-[15px] font-medium leading-[22px] cursor-pointer px-[14px] py-[8px]",
|
|
21
|
-
(n == null ? void 0 : n.id) ===
|
|
22
|
+
(n == null ? void 0 : n.id) === a && "bg-gray-100 rounded-[10px]",
|
|
23
|
+
x && "text-white bg-transparent",
|
|
22
24
|
l
|
|
23
25
|
),
|
|
24
26
|
role: "button",
|
|
25
27
|
tabIndex: 0,
|
|
26
|
-
onClick: () =>
|
|
27
|
-
onKeyDown:
|
|
28
|
-
onMouseEnter: () =>
|
|
28
|
+
onClick: () => o((n == null ? void 0 : n.link) || ""),
|
|
29
|
+
onKeyDown: s,
|
|
30
|
+
onMouseEnter: () => p({
|
|
29
31
|
id: (n == null ? void 0 : n.id) || 0,
|
|
30
32
|
type: (n == null ? void 0 : n.type) || "",
|
|
31
33
|
data: (n == null ? void 0 : n.categories) || []
|
|
@@ -36,5 +38,5 @@ const f = ({
|
|
|
36
38
|
);
|
|
37
39
|
};
|
|
38
40
|
export {
|
|
39
|
-
|
|
41
|
+
g as HeaderTab
|
|
40
42
|
};
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { jsx as p } from "react/jsx-runtime";
|
|
2
2
|
import { useEffect as g } from "react";
|
|
3
|
-
import { S as x,
|
|
4
|
-
import { M as
|
|
3
|
+
import { S as x, a as k, b as y } from "../../../swiper-react-3c2710e8.js";
|
|
4
|
+
import { M as S } from "../../../mousewheel-afbc6d42.js";
|
|
5
|
+
import { N } from "../../../navigation-266856e7.js";
|
|
5
6
|
import { R as v } from "../../../routes-76228734.js";
|
|
6
7
|
import { c as M } from "../../../cn-6a4bf187.js";
|
|
7
|
-
import '../../../assets/swiper.css';/* empty css */x.use([
|
|
8
|
-
const
|
|
8
|
+
import '../../../assets/swiper.css';/* empty css */x.use([N, S]);
|
|
9
|
+
const j = ({ sectionsData: l, setCategoriesData: w }) => {
|
|
9
10
|
g(() => {
|
|
10
11
|
var r;
|
|
11
12
|
(l == null ? void 0 : l.length) > 0 && l[0] && w(((r = l[0]) == null ? void 0 : r.categories) || []);
|
|
@@ -36,13 +37,13 @@ const T = ({ sectionsData: l, setCategoriesData: w }) => {
|
|
|
36
37
|
);
|
|
37
38
|
};
|
|
38
39
|
return /* @__PURE__ */ p("div", { className: "py-2 mb-3 [&_.swiper-slide]:w-auto", children: /* @__PURE__ */ p(
|
|
39
|
-
|
|
40
|
+
k,
|
|
40
41
|
{
|
|
41
42
|
spaceBetween: 8,
|
|
42
43
|
slidesPerView: "auto",
|
|
43
44
|
mousewheel: !0,
|
|
44
45
|
children: l == null ? void 0 : l.map((r, o) => r && /* @__PURE__ */ p(
|
|
45
|
-
|
|
46
|
+
y,
|
|
46
47
|
{
|
|
47
48
|
className: c(r, o),
|
|
48
49
|
onClick: () => h((r == null ? void 0 : r.id) || 0, r == null ? void 0 : r.link, (r == null ? void 0 : r.categories) || []),
|
|
@@ -54,5 +55,5 @@ const T = ({ sectionsData: l, setCategoriesData: w }) => {
|
|
|
54
55
|
) });
|
|
55
56
|
};
|
|
56
57
|
export {
|
|
57
|
-
|
|
58
|
+
j as default
|
|
58
59
|
};
|
|
@@ -1,150 +1,170 @@
|
|
|
1
1
|
import { jsxs as s, jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import { useState as l, useMemo as f } from "react";
|
|
3
|
-
import { M as
|
|
4
|
-
import { S as
|
|
5
|
-
import { a as
|
|
6
|
-
import { R as
|
|
7
|
-
import { u as
|
|
8
|
-
import { I as
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import { HeaderTab as
|
|
13
|
-
import
|
|
14
|
-
const
|
|
15
|
-
|
|
16
|
-
|
|
3
|
+
import { M as P, G as q } from "../../../logo-99aa20bd.js";
|
|
4
|
+
import { S as B } from "../../../search-dd4eb6f8.js";
|
|
5
|
+
import { a as b } from "../../../cn-6a4bf187.js";
|
|
6
|
+
import { R as w } from "../../../routes-76228734.js";
|
|
7
|
+
import { u as F } from "../../../useClickOutside-197b0df2.js";
|
|
8
|
+
import { I as H } from "../../../index-9384c6d6.js";
|
|
9
|
+
import J from "../HeaderMenu/HeaderMenu.js";
|
|
10
|
+
import K from "../HeaderResults/HeaderResults.js";
|
|
11
|
+
import Q from "../HeaderSearch/HeaderSearch.js";
|
|
12
|
+
import { HeaderTab as M } from "../HeaderTab/HeaderTab.js";
|
|
13
|
+
import U from "../SelectLanguage/SelectLanguage.js";
|
|
14
|
+
const V = "category", R = "link", ce = ({
|
|
15
|
+
sections: r,
|
|
16
|
+
darkTheme: x,
|
|
17
|
+
app_setting: u,
|
|
18
|
+
is_floating: d,
|
|
19
|
+
is_dark_glass: m
|
|
20
|
+
}) => {
|
|
21
|
+
var T;
|
|
22
|
+
const [y, n] = l(null), [h, v] = l(!1), [g, t] = l(!1), [o, S] = l(
|
|
17
23
|
[]
|
|
18
|
-
), [c,
|
|
19
|
-
t(!1), n(null),
|
|
20
|
-
}),
|
|
24
|
+
), [c, p] = l(0), { ref: j } = F(g, () => {
|
|
25
|
+
t(!1), n(null), p(0);
|
|
26
|
+
}), N = (e) => {
|
|
21
27
|
window.location.href = e || "/";
|
|
22
|
-
},
|
|
23
|
-
const { type:
|
|
24
|
-
|
|
25
|
-
},
|
|
26
|
-
e ===
|
|
27
|
-
},
|
|
28
|
-
|
|
29
|
-
},
|
|
30
|
-
|
|
31
|
-
},
|
|
28
|
+
}, A = (e) => {
|
|
29
|
+
const { type: C, id: E, data: O } = e;
|
|
30
|
+
C === V && (S(O), t(!0)), C === R && (t(!1), S([])), n(E);
|
|
31
|
+
}, k = (e) => {
|
|
32
|
+
e === R && n(null);
|
|
33
|
+
}, I = () => {
|
|
34
|
+
v(!h), t(!1);
|
|
35
|
+
}, G = () => {
|
|
36
|
+
p(0), t(!1), n(null);
|
|
37
|
+
}, L = f(() => o.find((e) => e.id === c), [c, o]), D = typeof window < "u" ? window.location.pathname.startsWith(w.ISLAM) : !1, i = f(() => Array.isArray(r) ? r : r ? [r] : [], [r]), z = f(() => i.filter((e) => !e.is_left), [i]), W = f(() => i.filter((e) => e.is_left), [i]);
|
|
32
38
|
return /* @__PURE__ */ s(
|
|
33
39
|
"header",
|
|
34
40
|
{
|
|
35
|
-
className:
|
|
36
|
-
"relative w-full
|
|
37
|
-
|
|
38
|
-
|
|
41
|
+
className: b(
|
|
42
|
+
"relative w-full bg-white",
|
|
43
|
+
!d && "container",
|
|
44
|
+
d && "rounded-full px-8",
|
|
45
|
+
x && "bg-gray-900 text-white transition-all duration-500",
|
|
46
|
+
g && x && "bg-white text-gray-700",
|
|
47
|
+
m && "!bg-transparent"
|
|
39
48
|
),
|
|
40
49
|
children: [
|
|
41
|
-
!
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
{
|
|
50
|
-
src: E,
|
|
51
|
-
alt: "Logo",
|
|
52
|
-
width: 120,
|
|
53
|
-
height: 34
|
|
54
|
-
}
|
|
55
|
-
)
|
|
56
|
-
}
|
|
57
|
-
),
|
|
58
|
-
/* @__PURE__ */ s("div", { className: "flex items-center justify-between flex-grow", children: [
|
|
59
|
-
/* @__PURE__ */ a("div", { className: "flex items-center gap-2", children: G.map(
|
|
60
|
-
(e) => e && /* @__PURE__ */ a(
|
|
61
|
-
C,
|
|
62
|
-
{
|
|
63
|
-
item: e,
|
|
64
|
-
activeTab: b,
|
|
65
|
-
onTabClick: x,
|
|
66
|
-
onTabHover: v,
|
|
67
|
-
onTabLeave: S
|
|
68
|
-
},
|
|
69
|
-
e == null ? void 0 : e.id
|
|
70
|
-
)
|
|
71
|
-
) }),
|
|
72
|
-
/* @__PURE__ */ s("div", { className: "flex items-center gap-2", children: [
|
|
73
|
-
/* @__PURE__ */ a("div", { className: "flex items-center gap-2 pr-6 border-r border-gray-300 mr-4", children: z.map(
|
|
74
|
-
(e) => e && /* @__PURE__ */ a(
|
|
75
|
-
C,
|
|
76
|
-
{
|
|
77
|
-
item: e,
|
|
78
|
-
activeTab: b,
|
|
79
|
-
onTabClick: x,
|
|
80
|
-
onTabHover: v,
|
|
81
|
-
onTabLeave: S
|
|
82
|
-
},
|
|
83
|
-
e == null ? void 0 : e.id
|
|
84
|
-
)
|
|
85
|
-
) }),
|
|
86
|
-
/* @__PURE__ */ a(
|
|
87
|
-
K,
|
|
88
|
-
{
|
|
89
|
-
onChangeLanguage: (k = d == null ? void 0 : d.locale) == null ? void 0 : k.changeLanguage
|
|
90
|
-
}
|
|
91
|
-
),
|
|
50
|
+
!h && /* @__PURE__ */ s(
|
|
51
|
+
"div",
|
|
52
|
+
{
|
|
53
|
+
className: b(
|
|
54
|
+
"flex items-center px-6 lg:px-0 mx-auto w-full",
|
|
55
|
+
!d && "h-13 max-w-[1200px]"
|
|
56
|
+
),
|
|
57
|
+
children: [
|
|
92
58
|
/* @__PURE__ */ a(
|
|
93
|
-
"
|
|
59
|
+
"a",
|
|
94
60
|
{
|
|
95
|
-
|
|
96
|
-
className: "flex items-center
|
|
61
|
+
href: D ? w.ISLAM : w.MAIN_PAGE,
|
|
62
|
+
className: "flex items-center gap-6 mr-12 cursor-pointer",
|
|
97
63
|
children: /* @__PURE__ */ a(
|
|
98
|
-
|
|
64
|
+
H,
|
|
99
65
|
{
|
|
100
66
|
src: P,
|
|
101
|
-
alt: "
|
|
102
|
-
width:
|
|
103
|
-
height:
|
|
67
|
+
alt: "Logo",
|
|
68
|
+
width: 120,
|
|
69
|
+
height: 34
|
|
104
70
|
}
|
|
105
71
|
)
|
|
106
72
|
}
|
|
107
73
|
),
|
|
108
|
-
/* @__PURE__ */
|
|
109
|
-
"
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
74
|
+
/* @__PURE__ */ s("div", { className: "flex items-center justify-between flex-grow", children: [
|
|
75
|
+
/* @__PURE__ */ a("div", { className: "flex items-center gap-2", children: z.map(
|
|
76
|
+
(e) => e && /* @__PURE__ */ a(
|
|
77
|
+
M,
|
|
78
|
+
{
|
|
79
|
+
item: e,
|
|
80
|
+
activeTab: y,
|
|
81
|
+
isDarkGlass: m,
|
|
82
|
+
onTabClick: N,
|
|
83
|
+
onTabHover: A,
|
|
84
|
+
onTabLeave: k
|
|
85
|
+
},
|
|
86
|
+
e == null ? void 0 : e.id
|
|
87
|
+
)
|
|
88
|
+
) }),
|
|
89
|
+
/* @__PURE__ */ s("div", { className: "flex items-center gap-2", children: [
|
|
90
|
+
/* @__PURE__ */ a("div", { className: "flex items-center gap-2 pr-6 border-r border-gray-300 mr-4", children: W.map(
|
|
91
|
+
(e) => e && /* @__PURE__ */ a(
|
|
92
|
+
M,
|
|
93
|
+
{
|
|
94
|
+
item: e,
|
|
95
|
+
activeTab: y,
|
|
96
|
+
isDarkGlass: m,
|
|
97
|
+
onTabClick: N,
|
|
98
|
+
onTabHover: A,
|
|
99
|
+
onTabLeave: k
|
|
100
|
+
},
|
|
101
|
+
e == null ? void 0 : e.id
|
|
102
|
+
)
|
|
103
|
+
) }),
|
|
104
|
+
/* @__PURE__ */ a(
|
|
105
|
+
U,
|
|
106
|
+
{
|
|
107
|
+
onChangeLanguage: (T = u == null ? void 0 : u.locale) == null ? void 0 : T.changeLanguage
|
|
108
|
+
}
|
|
109
|
+
),
|
|
110
|
+
/* @__PURE__ */ a(
|
|
111
|
+
"button",
|
|
112
|
+
{
|
|
113
|
+
onClick: I,
|
|
114
|
+
className: "flex items-center justify-center w-9 h-9 p-1.5 rounded-full bg-gray-200",
|
|
115
|
+
children: /* @__PURE__ */ a(
|
|
116
|
+
H,
|
|
117
|
+
{
|
|
118
|
+
src: B,
|
|
119
|
+
alt: "search icon",
|
|
120
|
+
width: 18,
|
|
121
|
+
height: 18
|
|
122
|
+
}
|
|
123
|
+
)
|
|
124
|
+
}
|
|
125
|
+
),
|
|
126
|
+
/* @__PURE__ */ a(
|
|
127
|
+
"button",
|
|
128
|
+
{
|
|
129
|
+
"aria-label": "Открыть режим для слабовидящих",
|
|
130
|
+
className: "flex items-center justify-center w-9 h-9 p-1.5 rounded-full bg-gray-200",
|
|
131
|
+
children: /* @__PURE__ */ a(q, { size: 16 })
|
|
132
|
+
}
|
|
133
|
+
)
|
|
134
|
+
] })
|
|
135
|
+
] })
|
|
136
|
+
]
|
|
137
|
+
}
|
|
138
|
+
),
|
|
139
|
+
h && /* @__PURE__ */ a(
|
|
140
|
+
Q,
|
|
121
141
|
{
|
|
122
|
-
closeSearch:
|
|
123
|
-
onClick: () =>
|
|
142
|
+
closeSearch: I,
|
|
143
|
+
onClick: () => v(!1)
|
|
124
144
|
}
|
|
125
145
|
),
|
|
126
146
|
/* @__PURE__ */ s(
|
|
127
147
|
"div",
|
|
128
148
|
{
|
|
129
|
-
className:
|
|
149
|
+
className: b(
|
|
130
150
|
"flex bg-white rounded-2xl backdrop-blur-md w-full shadow-lg absolute top-[59px] left-0 z-50 transition-all duration-300 ease-out",
|
|
131
|
-
|
|
151
|
+
g ? "opacity-100 translate-y-0 pointer-events-auto visible" : "opacity-0 -translate-y-5 pointer-events-none invisible"
|
|
132
152
|
),
|
|
133
|
-
ref:
|
|
153
|
+
ref: j,
|
|
134
154
|
children: [
|
|
135
155
|
/* @__PURE__ */ a(
|
|
136
|
-
|
|
156
|
+
J,
|
|
137
157
|
{
|
|
138
158
|
categories: o,
|
|
139
|
-
activeSubcategory:
|
|
159
|
+
activeSubcategory: p,
|
|
140
160
|
openResult: t
|
|
141
161
|
}
|
|
142
162
|
),
|
|
143
|
-
|
|
144
|
-
|
|
163
|
+
L || o[c] ? /* @__PURE__ */ a(
|
|
164
|
+
K,
|
|
145
165
|
{
|
|
146
|
-
data:
|
|
147
|
-
onClick:
|
|
166
|
+
data: L || o[c],
|
|
167
|
+
onClick: G
|
|
148
168
|
}
|
|
149
169
|
) : null
|
|
150
170
|
]
|
|
@@ -155,5 +175,5 @@ const Q = "category", H = "link", le = ({ sections: r, darkTheme: p, app_setting
|
|
|
155
175
|
);
|
|
156
176
|
};
|
|
157
177
|
export {
|
|
158
|
-
|
|
178
|
+
ce as default
|
|
159
179
|
};
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { jsx as t, jsxs as a } from "react/jsx-runtime";
|
|
2
|
-
import { S as p,
|
|
3
|
-
import { M as
|
|
2
|
+
import { S as p, a as u, b as d } from "../../../swiper-react-3c2710e8.js";
|
|
3
|
+
import { M as c } from "../../../mousewheel-afbc6d42.js";
|
|
4
|
+
import { N as f } from "../../../navigation-266856e7.js";
|
|
4
5
|
import { c as i } from "../../../cn-6a4bf187.js";
|
|
5
|
-
p.use([
|
|
6
|
-
const
|
|
6
|
+
p.use([f, c]);
|
|
7
|
+
const N = ({
|
|
7
8
|
navigation: r,
|
|
8
9
|
onClick: l,
|
|
9
10
|
activeTab: n
|
|
10
11
|
}) => !r || (r == null ? void 0 : r.length) === 0 ? null : /* @__PURE__ */ t("div", { className: "relative border-b border-[#CAD1D7]", children: /* @__PURE__ */ t(
|
|
11
|
-
|
|
12
|
+
u,
|
|
12
13
|
{
|
|
13
14
|
spaceBetween: 0,
|
|
14
15
|
slidesPerView: "auto",
|
|
@@ -18,7 +19,7 @@ const w = ({
|
|
|
18
19
|
return null;
|
|
19
20
|
const o = n === e.id;
|
|
20
21
|
return /* @__PURE__ */ t(
|
|
21
|
-
|
|
22
|
+
d,
|
|
22
23
|
{
|
|
23
24
|
className: "!w-auto",
|
|
24
25
|
children: /* @__PURE__ */ a("div", { className: "mr-6 pb-2 flex items-center gap-2", children: [
|
|
@@ -46,5 +47,5 @@ const w = ({
|
|
|
46
47
|
}
|
|
47
48
|
) });
|
|
48
49
|
export {
|
|
49
|
-
|
|
50
|
+
N as TabsOutlined
|
|
50
51
|
};
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { jsxs as t, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { ButtonsList as
|
|
3
|
-
import { IconList as
|
|
4
|
-
import { C as
|
|
5
|
-
import { F as
|
|
6
|
-
import { I as
|
|
2
|
+
import { ButtonsList as m } from "../ButtonsList/ButtonsList.js";
|
|
3
|
+
import { IconList as i } from "../IconList/IconList.js";
|
|
4
|
+
import { C as c } from "../ComponentContainer-dca711c6.js";
|
|
5
|
+
import { F as o } from "../Flex-86aee720.js";
|
|
6
|
+
import { I as x } from "../index-9384c6d6.js";
|
|
7
7
|
import { propsToEdit as p } from "./schema.js";
|
|
8
|
-
const
|
|
8
|
+
const b = ({
|
|
9
9
|
title: l,
|
|
10
|
-
description:
|
|
11
|
-
background_image:
|
|
12
|
-
buttons:
|
|
10
|
+
description: a,
|
|
11
|
+
background_image: r,
|
|
12
|
+
buttons: n,
|
|
13
13
|
icon_list: s
|
|
14
14
|
}) => /* @__PURE__ */ t(
|
|
15
|
-
|
|
15
|
+
o,
|
|
16
16
|
{
|
|
17
17
|
component: "section",
|
|
18
18
|
vertical: !0,
|
|
19
19
|
className: "relative w-full min-h-screen overflow-hidden",
|
|
20
20
|
children: [
|
|
21
21
|
/* @__PURE__ */ t("div", { className: "absolute inset-0 z-0", children: [
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
r && /* @__PURE__ */ e(
|
|
23
|
+
x,
|
|
24
24
|
{
|
|
25
|
-
src:
|
|
25
|
+
src: r,
|
|
26
26
|
alt: "background",
|
|
27
27
|
className: "w-full h-full",
|
|
28
28
|
imageStyles: "w-full h-full object-cover object-center"
|
|
@@ -38,41 +38,41 @@ const x = ({
|
|
|
38
38
|
}
|
|
39
39
|
)
|
|
40
40
|
] }),
|
|
41
|
-
/* @__PURE__ */ t(
|
|
41
|
+
/* @__PURE__ */ t(c, { className: "relative z-10 flex-grow flex flex-col justify-between pb-[65px] max-tablet:pb-10 pt-[116px] h-full", children: [
|
|
42
42
|
/* @__PURE__ */ t(
|
|
43
|
-
|
|
43
|
+
o,
|
|
44
44
|
{
|
|
45
45
|
vertical: !0,
|
|
46
46
|
align: "center",
|
|
47
47
|
justify: "center",
|
|
48
|
-
className: "w-full
|
|
48
|
+
className: "w-full pt-[100px] pb-[60px] max-tablet:py-[40px]",
|
|
49
49
|
children: [
|
|
50
50
|
l && /* @__PURE__ */ e(
|
|
51
51
|
"h3",
|
|
52
52
|
{
|
|
53
53
|
className: `text-white font-bold text-center
|
|
54
|
-
text-[62px] leading-[52px] max-tablet:text-
|
|
54
|
+
text-[62px] leading-[52px] max-tablet:text-[32px] max-tablet:leading-10 mb-6 max-tablet:mb-4`,
|
|
55
55
|
children: l
|
|
56
56
|
}
|
|
57
57
|
),
|
|
58
|
-
|
|
58
|
+
a && /* @__PURE__ */ e(
|
|
59
59
|
"p",
|
|
60
60
|
{
|
|
61
|
-
className: `text-[#F0FDF4] text-center font-normal mb-8
|
|
62
|
-
text-lg leading-[26px]`,
|
|
63
|
-
children:
|
|
61
|
+
className: `text-[#F0FDF4] text-center font-normal mb-8 max-tablet:mb-6
|
|
62
|
+
text-lg leading-[26px] max-tablet:text-base`,
|
|
63
|
+
children: a
|
|
64
64
|
}
|
|
65
65
|
),
|
|
66
|
-
/* @__PURE__ */ e(
|
|
66
|
+
/* @__PURE__ */ e(m, { buttons: n })
|
|
67
67
|
]
|
|
68
68
|
}
|
|
69
69
|
),
|
|
70
|
-
/* @__PURE__ */ e(
|
|
70
|
+
/* @__PURE__ */ e(i, { items: s })
|
|
71
71
|
] })
|
|
72
72
|
]
|
|
73
73
|
}
|
|
74
74
|
);
|
|
75
|
-
|
|
75
|
+
b.propsToEdit = p;
|
|
76
76
|
export {
|
|
77
|
-
|
|
77
|
+
b as HeroIconsBanner
|
|
78
78
|
};
|
|
@@ -1,59 +1,65 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { actionsGenerator as
|
|
1
|
+
import { jsx as a, jsxs as i } from "react/jsx-runtime";
|
|
2
|
+
import { actionsGenerator as s } from "../Actions/actionsGenerator.js";
|
|
3
3
|
import "../Actions/projectActions.js";
|
|
4
4
|
import "../Actions/types.js";
|
|
5
|
+
import { u as p } from "../useDraggableScroll-440da9b7.js";
|
|
5
6
|
import { F as e } from "../Flex-86aee720.js";
|
|
6
|
-
import { I as
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
{
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
)
|
|
7
|
+
import { I as x } from "../index-9384c6d6.js";
|
|
8
|
+
import { c as m } from "../cn-6a4bf187.js";
|
|
9
|
+
const j = ({ items: r }) => {
|
|
10
|
+
const { ref: l, events: o } = p();
|
|
11
|
+
return !r || r.length === 0 ? null : /* @__PURE__ */ a(
|
|
12
|
+
e,
|
|
13
|
+
{
|
|
14
|
+
justify: "center",
|
|
15
|
+
className: "w-full",
|
|
16
|
+
children: /* @__PURE__ */ a(
|
|
17
|
+
e,
|
|
18
|
+
{
|
|
19
|
+
ref: l,
|
|
20
|
+
...o,
|
|
21
|
+
align: "center",
|
|
22
|
+
justify: "evenly",
|
|
23
|
+
className: m(
|
|
24
|
+
"w-fit max-w-[1040px] bg-[#A8A8A866]/40 backdrop-blur-[15px] rounded-3xl py-4 px-6 max-tablet:gap-3 gap-4 max-tablet:py-[2px] max-tablet:px-0",
|
|
25
|
+
"overflow-x-auto no-scrollbar active:cursor-grabbing"
|
|
26
|
+
),
|
|
27
|
+
children: r.map((t, n) => {
|
|
28
|
+
const c = s(t.action);
|
|
29
|
+
return /* @__PURE__ */ i(
|
|
30
|
+
e,
|
|
31
|
+
{
|
|
32
|
+
vertical: !0,
|
|
33
|
+
justify: "center",
|
|
34
|
+
onClick: c.onClick,
|
|
35
|
+
className: "gap-3 max-tablet:gap-2 w-[152px] cursor-pointer hover:bg-white/10 rounded-2xl transition-colors duration-300 px-4 pt-3 pb-4 max-tablet:w-[84px] max-tablet:pb-3",
|
|
36
|
+
children: [
|
|
37
|
+
t.icon && /* @__PURE__ */ a(
|
|
38
|
+
e,
|
|
39
|
+
{
|
|
40
|
+
align: "center",
|
|
41
|
+
justify: "center",
|
|
42
|
+
children: /* @__PURE__ */ a(
|
|
43
|
+
x,
|
|
44
|
+
{
|
|
45
|
+
src: t.icon,
|
|
46
|
+
alt: t.title,
|
|
47
|
+
className: "size-[48px] max-tablet:size-[32px]"
|
|
48
|
+
}
|
|
49
|
+
)
|
|
50
|
+
}
|
|
51
|
+
),
|
|
52
|
+
t.title && /* @__PURE__ */ a("span", { className: "text-white text-lg leading-[17px] font-bold max-tablet:text-[14px]", children: t.title })
|
|
53
|
+
]
|
|
54
|
+
},
|
|
55
|
+
n
|
|
56
|
+
);
|
|
57
|
+
})
|
|
58
|
+
}
|
|
59
|
+
)
|
|
60
|
+
}
|
|
61
|
+
);
|
|
62
|
+
};
|
|
57
63
|
export {
|
|
58
|
-
|
|
64
|
+
j as IconList
|
|
59
65
|
};
|