md-components-mdigial-azamat 0.0.109 → 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 +32 -7
- 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 +29 -4
- package/dist/AllComponents.js +35 -9
- package/dist/AllComponentsInfo.js +107 -89
- package/dist/AnimatedSwiper/index.js +40 -38
- package/dist/ButtonsList/ButtonsList.js +25 -19
- package/dist/CardImageList/CardImageList.js +130 -73
- package/dist/CardImageList/info.js +1 -1
- package/dist/CardImageList/schema.js +62 -0
- 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 +100 -55
- package/dist/Cards/CardImage/index.js +6 -1
- package/dist/Cards/CardImage/info.js +1 -1
- package/dist/Cards/CardImage/schema.js +32 -0
- package/dist/Cards/CardImage/types.js +3 -2
- 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 +31 -6
- 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/Flex-86aee720.js +78 -0
- package/dist/Footer/Footer.js +5 -5
- 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 -113
- 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} +36 -7
- 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 +26 -24
- package/dist/Header/components/HeaderMobile/HeaderMobile.js +67 -52
- package/dist/Header/components/HeaderSearch/HeaderSearch.js +1 -1
- package/dist/Header/components/HeaderTab/HeaderTab.js +17 -15
- package/dist/Header/components/HeaderTabsMobile/HeaderTabsMobile.js +10 -9
- package/dist/Header/components/HeaderWeb/HeaderWeb.js +134 -114
- package/dist/Header/components/TabsOutlined/TabsOutlined.js +8 -7
- package/dist/HeroIconsBanner/HeroIconsBanner.js +71 -54
- package/dist/IconList/IconList.js +59 -33
- 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/ModalBody/index.js +1 -1
- 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/PreviewList/PreviewList.js +19 -19
- package/dist/PreviewList/components/PreviewCard/PreviewCard.js +29 -29
- package/dist/RenderAllComponents/RenderAllComponents.js +1 -1
- package/dist/RenderAllComponents/const.js +1 -1
- package/dist/SearchBlock/SearchBlock.js +101 -0
- package/dist/SearchBlock/index.js +4 -0
- package/dist/SearchBlock/info.js +11 -0
- package/dist/SearchBlock/schema.js +36 -0
- 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/{clientApi-642fea4b.js → clientApi-ccb08ba6.js} +7 -7
- package/dist/{componentsMap-855b1df7.js → componentsMap-29ccdfcc.js} +6 -3
- package/dist/{data.mock-182979d1.js → data.mock-bb32e8ee.js} +485 -133
- package/dist/index-0791c17f.js +56 -0
- package/dist/index-2ec92a04.js +32 -0
- package/dist/{index-497f59a8.js → index-b795390d.js} +23 -20
- package/dist/index.esm-0558519f.js +1171 -0
- package/dist/{index.module-c8833286.js → index.module-8835bf96.js} +1 -1
- package/dist/info-72904479.js +791 -0
- package/dist/main.js +151 -116
- 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/trash/HeroLargeCards/index.js +7 -6
- 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-34fbb2a8.js +0 -1534
- package/dist/navigation-b894d0cd.js +0 -183
- /package/dist/Forms/{types/formItems.js → FormDefault/model/types.js} +0 -0
|
@@ -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: p,
|
|
65
|
-
onTabClick: w,
|
|
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: p,
|
|
79
|
-
onTabClick: w,
|
|
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 = u == null ? void 0 : u.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: b, 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,61 +1,78 @@
|
|
|
1
1
|
import { jsxs as t, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { ButtonsList as
|
|
2
|
+
import { ButtonsList as m } from "../ButtonsList/ButtonsList.js";
|
|
3
3
|
import { IconList as i } from "../IconList/IconList.js";
|
|
4
|
-
import { C as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
|
|
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
|
+
import { propsToEdit as p } from "./schema.js";
|
|
8
|
+
const b = ({
|
|
8
9
|
title: l,
|
|
9
10
|
description: a,
|
|
10
11
|
background_image: r,
|
|
11
|
-
buttons:
|
|
12
|
-
icon_list:
|
|
13
|
-
}) => /* @__PURE__ */ t(
|
|
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
|
-
|
|
57
|
-
|
|
58
|
-
|
|
12
|
+
buttons: n,
|
|
13
|
+
icon_list: s
|
|
14
|
+
}) => /* @__PURE__ */ t(
|
|
15
|
+
o,
|
|
16
|
+
{
|
|
17
|
+
component: "section",
|
|
18
|
+
vertical: !0,
|
|
19
|
+
className: "relative w-full min-h-screen overflow-hidden",
|
|
20
|
+
children: [
|
|
21
|
+
/* @__PURE__ */ t("div", { className: "absolute inset-0 z-0", children: [
|
|
22
|
+
r && /* @__PURE__ */ e(
|
|
23
|
+
x,
|
|
24
|
+
{
|
|
25
|
+
src: r,
|
|
26
|
+
alt: "background",
|
|
27
|
+
className: "w-full h-full",
|
|
28
|
+
imageStyles: "w-full h-full object-cover object-center"
|
|
29
|
+
}
|
|
30
|
+
),
|
|
31
|
+
/* @__PURE__ */ e(
|
|
32
|
+
"div",
|
|
33
|
+
{
|
|
34
|
+
className: "absolute inset-0",
|
|
35
|
+
style: {
|
|
36
|
+
background: "linear-gradient(180deg, rgba(0, 0, 0, 0.20) 21.48%, rgba(0, 0, 0, 0.00) 80.74%)"
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
)
|
|
40
|
+
] }),
|
|
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
|
+
/* @__PURE__ */ t(
|
|
43
|
+
o,
|
|
44
|
+
{
|
|
45
|
+
vertical: !0,
|
|
46
|
+
align: "center",
|
|
47
|
+
justify: "center",
|
|
48
|
+
className: "w-full pt-[100px] pb-[60px] max-tablet:py-[40px]",
|
|
49
|
+
children: [
|
|
50
|
+
l && /* @__PURE__ */ e(
|
|
51
|
+
"h3",
|
|
52
|
+
{
|
|
53
|
+
className: `text-white font-bold text-center
|
|
54
|
+
text-[62px] leading-[52px] max-tablet:text-[32px] max-tablet:leading-10 mb-6 max-tablet:mb-4`,
|
|
55
|
+
children: l
|
|
56
|
+
}
|
|
57
|
+
),
|
|
58
|
+
a && /* @__PURE__ */ e(
|
|
59
|
+
"p",
|
|
60
|
+
{
|
|
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
|
+
}
|
|
65
|
+
),
|
|
66
|
+
/* @__PURE__ */ e(m, { buttons: n })
|
|
67
|
+
]
|
|
68
|
+
}
|
|
69
|
+
),
|
|
70
|
+
/* @__PURE__ */ e(i, { items: s })
|
|
71
|
+
] })
|
|
72
|
+
]
|
|
73
|
+
}
|
|
74
|
+
);
|
|
75
|
+
b.propsToEdit = p;
|
|
59
76
|
export {
|
|
60
|
-
|
|
77
|
+
b as HeroIconsBanner
|
|
61
78
|
};
|
|
@@ -1,39 +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 {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
5
|
+
import { u as p } from "../useDraggableScroll-440da9b7.js";
|
|
6
|
+
import { F as e } from "../Flex-86aee720.js";
|
|
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,
|
|
16
18
|
{
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
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,
|
|
22
31
|
{
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
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
|
+
};
|
|
37
63
|
export {
|
|
38
|
-
|
|
64
|
+
j as IconList
|
|
39
65
|
};
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { jsx as t, jsxs as m } from "react/jsx-runtime";
|
|
2
|
+
import { useState as b } from "react";
|
|
3
|
+
import { InfoCard as n } from "../Cards/InfoCard/InfoCard.js";
|
|
4
|
+
import { InfoCardVariant as l } from "../Cards/InfoCard/types.js";
|
|
5
|
+
import "../Cards/InfoCard/schema.js";
|
|
6
|
+
import { Bullet as c } from "../SwiperList/components/Bullet/Bullet.js";
|
|
7
|
+
import { a as d, b as h } from "../swiper-react-3c2710e8.js";
|
|
8
|
+
import { C as w } from "../ComponentContainer-dca711c6.js";
|
|
9
|
+
import { F as C } from "../Flex-86aee720.js";
|
|
10
|
+
import { G as R } from "../Grid-331af266.js";
|
|
11
|
+
import { c as g } from "../cn-6a4bf187.js";
|
|
12
|
+
import { propsToEdit as I } from "./schema.js";
|
|
13
|
+
import '../assets/swiper.css';/* empty css */const N = {
|
|
14
|
+
[l.PRIMARY]: {
|
|
15
|
+
title: "text-blackBG"
|
|
16
|
+
},
|
|
17
|
+
[l.SECONDARY]: {
|
|
18
|
+
title: "text-white"
|
|
19
|
+
}
|
|
20
|
+
}, S = ({
|
|
21
|
+
title: r,
|
|
22
|
+
variant: o = l.PRIMARY,
|
|
23
|
+
grid: p = "3",
|
|
24
|
+
cards: e
|
|
25
|
+
}) => {
|
|
26
|
+
const [s, x] = b(0), f = N[o];
|
|
27
|
+
return /* @__PURE__ */ t(w, { children: /* @__PURE__ */ m(
|
|
28
|
+
C,
|
|
29
|
+
{
|
|
30
|
+
vertical: !0,
|
|
31
|
+
align: "center",
|
|
32
|
+
className: "gap-12 max-tablet:gap-6",
|
|
33
|
+
children: [
|
|
34
|
+
r && /* @__PURE__ */ t(
|
|
35
|
+
"h2",
|
|
36
|
+
{
|
|
37
|
+
className: g(
|
|
38
|
+
"text-center max-tablet:text-[32px] max-tablet:leading-10 max-tablet:font-bold text-[56px] leading-[52px] font-extrabold",
|
|
39
|
+
f.title
|
|
40
|
+
),
|
|
41
|
+
children: r
|
|
42
|
+
}
|
|
43
|
+
),
|
|
44
|
+
/* @__PURE__ */ t(
|
|
45
|
+
R,
|
|
46
|
+
{
|
|
47
|
+
cols: Number(p),
|
|
48
|
+
gap: 24,
|
|
49
|
+
className: "w-full max-tablet:hidden",
|
|
50
|
+
children: e == null ? void 0 : e.map((i, a) => /* @__PURE__ */ t(
|
|
51
|
+
n,
|
|
52
|
+
{
|
|
53
|
+
...i,
|
|
54
|
+
variant: o || l.PRIMARY
|
|
55
|
+
},
|
|
56
|
+
a
|
|
57
|
+
))
|
|
58
|
+
}
|
|
59
|
+
),
|
|
60
|
+
/* @__PURE__ */ m("div", { className: "w-full hidden max-tablet:block", children: [
|
|
61
|
+
/* @__PURE__ */ t(
|
|
62
|
+
d,
|
|
63
|
+
{
|
|
64
|
+
spaceBetween: 12,
|
|
65
|
+
slidesPerView: 1,
|
|
66
|
+
breakpoints: {
|
|
67
|
+
640: {
|
|
68
|
+
slidesPerView: 1.5
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
onSlideChange: (i) => x(i.realIndex),
|
|
72
|
+
className: "w-full",
|
|
73
|
+
children: e == null ? void 0 : e.map((i, a) => /* @__PURE__ */ t(h, { children: /* @__PURE__ */ t(
|
|
74
|
+
n,
|
|
75
|
+
{
|
|
76
|
+
...i,
|
|
77
|
+
variant: o || l.PRIMARY
|
|
78
|
+
}
|
|
79
|
+
) }, a))
|
|
80
|
+
}
|
|
81
|
+
),
|
|
82
|
+
/* @__PURE__ */ t(
|
|
83
|
+
c,
|
|
84
|
+
{
|
|
85
|
+
count: (e == null ? void 0 : e.length) || 0,
|
|
86
|
+
active: s,
|
|
87
|
+
activeColor: o === l.SECONDARY ? "white" : "black",
|
|
88
|
+
anActiveColor: o === l.SECONDARY ? "rgba(255, 255, 255, 0.4)" : "rgba(0, 0, 0, 0.2)",
|
|
89
|
+
className: "mt-6 hidden max-tablet:flex"
|
|
90
|
+
}
|
|
91
|
+
)
|
|
92
|
+
] })
|
|
93
|
+
]
|
|
94
|
+
}
|
|
95
|
+
) });
|
|
96
|
+
};
|
|
97
|
+
S.propsToEdit = I;
|
|
98
|
+
export {
|
|
99
|
+
S as InfoCardList
|
|
100
|
+
};
|