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.
Files changed (147) hide show
  1. package/dist/ActionCardList/ActionCardList.js +28 -5
  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 +25 -2
  10. package/dist/AllComponents.js +28 -5
  11. package/dist/AllComponentsInfo.js +111 -95
  12. package/dist/AnimatedSwiper/index.js +40 -38
  13. package/dist/CardImageList/CardImageList.js +122 -81
  14. package/dist/CardImageList/schema.js +17 -12
  15. package/dist/Cards/ActionSecondaryCard/ActionSecondaryCard.js +77 -0
  16. package/dist/Cards/ActionSecondaryCard/index.js +6 -0
  17. package/dist/Cards/ActionSecondaryCard/info.js +11 -0
  18. package/dist/Cards/ActionSecondaryCard/types.js +4 -0
  19. package/dist/Cards/CardImage/CardImage.js +48 -50
  20. package/dist/Cards/InfoCard/InfoCard.js +114 -0
  21. package/dist/Cards/InfoCard/index.js +9 -0
  22. package/dist/Cards/InfoCard/info.js +11 -0
  23. package/dist/Cards/InfoCard/schema.js +60 -0
  24. package/dist/Cards/InfoCard/types.js +4 -0
  25. package/dist/Cards/PostCard/PostCard.js +60 -0
  26. package/dist/Cards/PostCard/index.js +6 -0
  27. package/dist/Cards/PostCard/info.js +11 -0
  28. package/dist/Cards/PostCard/types.js +4 -0
  29. package/dist/Cards/WarningCard/WarningCard.js +27 -4
  30. package/dist/Cards/WarningCard/index.js +1 -1
  31. package/dist/Cards/WarningCard/info.js +1 -1
  32. package/dist/Cards/WarningCard/model.js +1 -1
  33. package/dist/CurrencyRates/CurrencyRates.js +78 -0
  34. package/dist/CurrencyRates/components/Calculator.js +101 -0
  35. package/dist/CurrencyRates/components/RateCell.js +15 -0
  36. package/dist/CurrencyRates/components/RatesTable.js +134 -0
  37. package/dist/CurrencyRates/components/index.js +6 -0
  38. package/dist/CurrencyRates/index.js +8 -0
  39. package/dist/CurrencyRates/info.js +11 -0
  40. package/dist/CurrencyRates/schema.js +63 -0
  41. package/dist/CurrencyRates/types.js +4 -0
  42. package/dist/DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js +1 -1
  43. package/dist/DownloadFile/components/DownloadFileFull/DownloadFileFull.js +1 -1
  44. package/dist/DownloadFile/components/DownloadFileHalf/DownloadFileHalf.js +1 -1
  45. package/dist/DownloadFile/components/DownloadFileMini/DownloadFileMini.js +1 -1
  46. package/dist/DownloadFile/components/FileBannerSecondary/FileBannerSecondary.js +1 -1
  47. package/dist/Faq/Faq.js +1 -1
  48. package/dist/Faq/components/FeedbackForm/FeedbackForm.js +55 -6
  49. package/dist/Faq/components/FeedbackForm/index.js +1 -1
  50. package/dist/FieldInput-ef2a18d4.js +2743 -0
  51. package/dist/Forms/FormDefault/FormDefault.js +12 -0
  52. package/dist/Forms/FormDefault/components/FieldCustom.js +11 -0
  53. package/dist/Forms/FormDefault/components/FieldInput.js +11 -0
  54. package/dist/Forms/FormDefault/components/FieldSection.js +10 -0
  55. package/dist/Forms/FormDefault/components/FormContent.js +10 -0
  56. package/dist/Forms/FormDefault/components/FormFields.js +7 -0
  57. package/dist/Forms/FormDefault/components/FormSuccessMessage.js +49 -0
  58. package/dist/Forms/FormDefault/components/index.js +6 -0
  59. package/dist/Forms/FormDefault/hooks/index.js +10 -0
  60. package/dist/Forms/FormDefault/hooks/useFieldOptions.js +32 -0
  61. package/dist/Forms/FormDefault/hooks/useFieldValidation.js +33 -0
  62. package/dist/Forms/FormDefault/hooks/useFieldVisibility.js +24 -0
  63. package/dist/Forms/FormDefault/hooks/useFormSubmission.js +64 -0
  64. package/dist/Forms/FormDefault/index.js +6 -12
  65. package/dist/Forms/FormDefault/info.js +3 -115
  66. package/dist/Forms/FormDefault/model/componentRegistry.js +134 -0
  67. package/dist/Forms/FormDefault/model/fieldTypes.js +18 -0
  68. package/dist/Forms/FormDefault/model/formElementTypes.js +18 -0
  69. package/dist/Forms/FormDefault/model/index.js +13 -0
  70. package/dist/Forms/FormDefault/model/requestForm.js +4 -0
  71. package/dist/Forms/{model/components.js → FormDefault/schema.js} +32 -5
  72. package/dist/Forms/FormDefault/utils.js +20 -0
  73. package/dist/Grid-331af266.js +80 -0
  74. package/dist/Header/Header.js +54 -42
  75. package/dist/Header/components/HeaderMainMobile/HeaderMainMobile.js +21 -19
  76. package/dist/Header/components/HeaderMobile/HeaderMobile.js +67 -52
  77. package/dist/Header/components/HeaderTab/HeaderTab.js +17 -15
  78. package/dist/Header/components/HeaderTabsMobile/HeaderTabsMobile.js +8 -7
  79. package/dist/Header/components/HeaderWeb/HeaderWeb.js +134 -114
  80. package/dist/Header/components/TabsOutlined/TabsOutlined.js +8 -7
  81. package/dist/HeroIconsBanner/HeroIconsBanner.js +25 -25
  82. package/dist/IconList/IconList.js +60 -54
  83. package/dist/InfoCardList/InfoCardList.js +100 -0
  84. package/dist/InfoCardList/index.js +6 -0
  85. package/dist/InfoCardList/info.js +11 -0
  86. package/dist/InfoCardList/schema.js +39 -0
  87. package/dist/InfoCardList/types.js +1 -0
  88. package/dist/PageViewer/renderComponents.js +1 -1
  89. package/dist/PostsList/PostsList.js +78 -0
  90. package/dist/PostsList/index.js +4 -0
  91. package/dist/PostsList/info.js +11 -0
  92. package/dist/PostsList/schema.js +49 -0
  93. package/dist/PostsList/types.js +1 -0
  94. package/dist/PostsSlider/PostsSlider.js +78 -0
  95. package/dist/PostsSlider/index.js +4 -0
  96. package/dist/PostsSlider/info.js +11 -0
  97. package/dist/PostsSlider/schema.js +49 -0
  98. package/dist/PostsSlider/types.js +1 -0
  99. package/dist/RenderAllComponents/RenderAllComponents.js +1 -1
  100. package/dist/RenderAllComponents/const.js +1 -1
  101. package/dist/SearchBlock/SearchBlock.js +36 -37
  102. package/dist/SegmentedContent/SegmentedContent.js +160 -0
  103. package/dist/SegmentedContent/components/ContentCard.js +50 -0
  104. package/dist/SegmentedContent/components/index.js +4 -0
  105. package/dist/SegmentedContent/index.js +8 -0
  106. package/dist/SegmentedContent/info.js +12 -0
  107. package/dist/SegmentedContent/schema.js +108 -0
  108. package/dist/SegmentedContent/types.js +1 -0
  109. package/dist/Segments/Segments.js +36 -28
  110. package/dist/Segments/index.js +8 -2
  111. package/dist/Segments/info.js +1 -1
  112. package/dist/Segments/schema.js +21 -0
  113. package/dist/Segments/types.js +4 -1
  114. package/dist/SegmentsIcons/SegmentsIcons.js +92 -0
  115. package/dist/SegmentsIcons/index.js +8 -0
  116. package/dist/SegmentsIcons/info.js +11 -0
  117. package/dist/SegmentsIcons/schema.js +14 -0
  118. package/dist/SegmentsIcons/types.js +1 -0
  119. package/dist/SwiperList/SwiperList.js +13 -11
  120. package/dist/assets/index.css +1 -1
  121. package/dist/{componentsMap-cac6c316.js → componentsMap-29ccdfcc.js} +5 -3
  122. package/dist/{data.mock-ebc679ec.js → data.mock-bb32e8ee.js} +420 -148
  123. package/dist/index-0791c17f.js +56 -0
  124. package/dist/index-2ec92a04.js +32 -0
  125. package/dist/index.esm-0558519f.js +1171 -0
  126. package/dist/info-72904479.js +791 -0
  127. package/dist/main.js +151 -119
  128. package/dist/{mousewheel-865ae601.js → mousewheel-afbc6d42.js} +1 -1
  129. package/dist/navigation-266856e7.js +136 -0
  130. package/dist/navigation-cd786a0d.js +133 -0
  131. package/dist/{palette-c2fe86ec.js → palette-256cf77a.js} +3 -1
  132. package/dist/{swiper-react-90953710.js → swiper-react-3c2710e8.js} +695 -825
  133. package/dist/types-c3843cc0.js +4 -0
  134. package/dist/useDraggableScroll-440da9b7.js +29 -0
  135. package/dist/useTranslation-d7a3ca6f.js +298 -0
  136. package/package.json +1 -1
  137. package/dist/FileLoader/fileLoader.js +0 -22
  138. package/dist/FileLoader/index.js +0 -8
  139. package/dist/Forms/FormDefault/componentTypes.js +0 -31
  140. package/dist/Forms/FormDefault/fieldTypesList.js +0 -45
  141. package/dist/Forms/helpers/renderFormFields.js +0 -7
  142. package/dist/Forms/model/requestForm.js +0 -4
  143. package/dist/index-6686852d.js +0 -1794
  144. package/dist/index-a0ed2e4a.js +0 -1221
  145. package/dist/info-d05a1f02.js +0 -1547
  146. package/dist/navigation-b894d0cd.js +0 -183
  147. /package/dist/Forms/{types/formItems.js → FormDefault/model/types.js} +0 -0
@@ -1,31 +1,33 @@
1
- import { jsx as s } from "react/jsx-runtime";
2
- import { c as u } from "../../../cn-6a4bf187.js";
3
- const f = ({
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: p,
6
- onTabClick: r,
7
- onTabHover: a,
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 x = (o) => {
14
- (o.key === "Enter" || o.key === " ") && (o.preventDefault(), r((n == null ? void 0 : n.link) || ""));
14
+ const s = (r) => {
15
+ (r.key === "Enter" || r.key === " ") && (r.preventDefault(), o((n == null ? void 0 : n.link) || ""));
15
16
  };
16
- return /* @__PURE__ */ s(
17
+ return /* @__PURE__ */ u(
17
18
  "div",
18
19
  {
19
- className: u(
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) === p && "bg-gray-100 rounded-[10px]",
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: () => r((n == null ? void 0 : n.link) || ""),
27
- onKeyDown: x,
28
- onMouseEnter: () => a({
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
- f as HeaderTab
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, N as k, a as y, b as S } from "../../../swiper-react-90953710.js";
4
- import { M as N } from "../../../mousewheel-865ae601.js";
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([k, N]);
8
- const T = ({ sectionsData: l, setCategoriesData: w }) => {
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
- y,
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
- S,
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
- T as default
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 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: p, app_setting: d }) => {
15
- var k;
16
- const [b, n] = l(null), [u, w] = 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
- }), x = (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
- w(!u), t(!1);
29
- }, R = () => {
30
- h(0), t(!1), n(null);
31
- }, A = f(() => o.find((e) => e.id === c), [c, o]), j = typeof window < "u" ? window.location.pathname.startsWith(g.ISLAM) : !1, 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
- p && "bg-gray-900 text-white transition-all duration-500",
38
- m && p && "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
- !u && /* @__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: 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
- "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
- u && /* @__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: () => w(!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: p, 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,28 +1,28 @@
1
1
  import { jsxs as t, jsx as e } from "react/jsx-runtime";
2
- import { ButtonsList as i } from "../ButtonsList/ButtonsList.js";
3
- import { IconList as c } from "../IconList/IconList.js";
4
- import { C as m } from "../ComponentContainer-dca711c6.js";
5
- import { F as n } from "../Flex-86aee720.js";
6
- import { I as f } from "../index-9384c6d6.js";
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 x = ({
8
+ const b = ({
9
9
  title: l,
10
- description: r,
11
- background_image: o,
12
- buttons: a,
10
+ description: a,
11
+ background_image: r,
12
+ buttons: n,
13
13
  icon_list: s
14
14
  }) => /* @__PURE__ */ t(
15
- n,
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
- o && /* @__PURE__ */ e(
23
- f,
22
+ r && /* @__PURE__ */ e(
23
+ x,
24
24
  {
25
- src: o,
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(m, { className: "relative z-10 flex-grow flex flex-col justify-between pb-8 pt-[110px] h-full", children: [
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
- n,
43
+ o,
44
44
  {
45
45
  vertical: !0,
46
46
  align: "center",
47
47
  justify: "center",
48
- className: "w-full py-[60px]",
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-4xl mb-6`,
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
- r && /* @__PURE__ */ e(
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: r
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(i, { buttons: a })
66
+ /* @__PURE__ */ e(m, { buttons: n })
67
67
  ]
68
68
  }
69
69
  ),
70
- /* @__PURE__ */ e(c, { items: s })
70
+ /* @__PURE__ */ e(i, { items: s })
71
71
  ] })
72
72
  ]
73
73
  }
74
74
  );
75
- x.propsToEdit = p;
75
+ b.propsToEdit = p;
76
76
  export {
77
- x as HeroIconsBanner
77
+ b as HeroIconsBanner
78
78
  };
@@ -1,59 +1,65 @@
1
- import { jsx as t, jsxs as l } from "react/jsx-runtime";
2
- import { actionsGenerator as i } 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 { u as p } from "../useDraggableScroll-440da9b7.js";
5
6
  import { F as e } from "../Flex-86aee720.js";
6
- import { I as s } from "../index-9384c6d6.js";
7
- const d = ({ items: n }) => !n || n.length === 0 ? null : /* @__PURE__ */ t(
8
- e,
9
- {
10
- justify: "center",
11
- className: "w-full",
12
- children: /* @__PURE__ */ t(
13
- e,
14
- {
15
- wrap: !0,
16
- align: "center",
17
- justify: "evenly",
18
- className: "relative w-full max-w-[1040px] bg-[#A8A8A866]/40 backdrop-blur-[5px] rounded-3xl py-4 max-mobile:p-2 px-6 max-mobile:gap-2 gap-4",
19
- children: n.map((r, a) => {
20
- const o = i(r.action);
21
- return /* @__PURE__ */ l(
22
- e,
23
- {
24
- vertical: !0,
25
- justify: "center",
26
- gap: 12,
27
- onClick: o.onClick,
28
- className: "group w-[152px] cursor-pointer transition-transform duration-300 hover:-translate-y-1 px-4 pt-3 pb-4",
29
- children: [
30
- r.icon && /* @__PURE__ */ t(
31
- e,
32
- {
33
- align: "center",
34
- justify: "center",
35
- className: "transition-transform duration-300 group-hover:scale-105",
36
- children: /* @__PURE__ */ t(
37
- s,
38
- {
39
- src: r.icon,
40
- alt: r.title,
41
- width: 48,
42
- height: 48
43
- }
44
- )
45
- }
46
- ),
47
- r.title && /* @__PURE__ */ t("span", { className: "text-white text-lg leading-[17px] font-bold", children: r.title })
48
- ]
49
- },
50
- a
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
- d as IconList
64
+ j as IconList
59
65
  };