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