md-components-mdigial-azamat 0.0.74 → 0.0.77

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 (49) hide show
  1. package/dist/AllComponents.js +6 -5
  2. package/dist/Banner/Banner.js +1 -1
  3. package/dist/BannerAndText/index.js +1 -1
  4. package/dist/CardIconList/CardIconList.js +10 -10
  5. package/dist/CardImageList/CardImageList.js +2 -2
  6. package/dist/CardImageSecondaryList/CardImageSecondaryList.js +1 -1
  7. package/dist/CardInfoTable/index.js +1 -1
  8. package/dist/Cards/WarningCard/WarningCard.js +51 -45
  9. package/dist/{ComponentContainer-68340535.js → ComponentContainer-841196f9.js} +3 -3
  10. package/dist/ContentCardList/ContentCardList.js +1 -1
  11. package/dist/DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js +15 -15
  12. package/dist/DownloadFile/components/DownloadFileBright/index.js +1 -1
  13. package/dist/DownloadFile/components/DownloadFileFull/DownloadFileFull.js +43 -39
  14. package/dist/DownloadFile/components/DownloadFileHalf/DownloadFileHalf.js +55 -51
  15. package/dist/DownloadFile/components/DownloadFileMini/DownloadFileMini.js +1 -1
  16. package/dist/DownloadFile/components/FileBannerSecondary/FileBannerSecondary.js +50 -0
  17. package/dist/DownloadFile/components/FileBannerSecondary/index.js +4 -0
  18. package/dist/DownloadFile/components/FileBannerSecondary/info.js +11 -0
  19. package/dist/Faq/Faq.js +1 -1
  20. package/dist/Forms/FormDefault/index.js +1 -1
  21. package/dist/Header/Header.js +37 -34
  22. package/dist/Header/components/HeaderWeb/HeaderWeb.js +82 -76
  23. package/dist/Header/components/SelectLanguage/SelectLanguage.js +20 -16
  24. package/dist/InfoBannerList/InfoBannerList.js +1 -1
  25. package/dist/InstructionList/InstructionList.js +1 -1
  26. package/dist/IntroBanner/IntroBanner.js +1 -1
  27. package/dist/MainBanner/MainBanner.js +1 -1
  28. package/dist/MultiCards/index.js +4 -4
  29. package/dist/PageViewer/renderComponents.js +1 -1
  30. package/dist/Partners/Partners.js +14 -14
  31. package/dist/PartnersColors/PartnersColors.js +15 -8
  32. package/dist/PreviewList/PreviewList.js +16 -16
  33. package/dist/PromoPoster/PromoPoster.js +1 -1
  34. package/dist/RenderAllComponents/RenderAllComponents.js +1 -1
  35. package/dist/RenderAllComponents/const.js +1 -1
  36. package/dist/StandartTable/index.js +1 -1
  37. package/dist/Stepper/Stepper.js +1 -1
  38. package/dist/SwiperList/SwiperList.js +1 -1
  39. package/dist/TasksBannerList/TasksBannerList.js +1 -1
  40. package/dist/Video/VideoFull/VideoFull.js +1 -1
  41. package/dist/Video/VideoList/VideoList.js +4 -4
  42. package/dist/Video/VideoListMini/VideoListMini.js +1 -1
  43. package/dist/VideoMainBanner/VideoMainBanner.js +1 -1
  44. package/dist/assets/index.css +1 -1
  45. package/dist/componentsMap-ae33b476.js +99 -0
  46. package/dist/{data.mock-8db3fb9a.js → data.mock-30d53d62.js} +26 -24
  47. package/dist/main.js +21 -19
  48. package/package.json +1 -1
  49. package/dist/componentsMap-153c7a30.js +0 -97
@@ -0,0 +1,50 @@
1
+ import { jsx as e, jsxs as t } from "react/jsx-runtime";
2
+ import { downloadFile as m } from "../../../Actions/downloadFile/downloadFile.js";
3
+ import { I as l } from "../../../Icon-70ea6cb8.js";
4
+ import { p as a } from "../../../palette-c2fe86ec.js";
5
+ import { B as p } from "../../../index-875e92ce.js";
6
+ import { C as s } from "../../../ComponentContainer-841196f9.js";
7
+ import { u as x } from "../../../useScreenSize-c1b64c02.js";
8
+ const c = ["title", "text", "link"], d = ({
9
+ title: o,
10
+ text: i,
11
+ link: r
12
+ }) => {
13
+ const n = x(960);
14
+ return /* @__PURE__ */ e(s, { children: /* @__PURE__ */ t("div", { className: "p-[48px] max-tablet:p-[32px] bg-white rounded-[20px] flex justify-between gap-[64px] max-tablet:flex-col-reverse max-tablet:gap-[32px]", children: [
15
+ /* @__PURE__ */ e("div", { className: "flex flex-col ", children: /* @__PURE__ */ t("div", { children: [
16
+ /* @__PURE__ */ e("p", { className: "text-[32px] max-tablet:text-[24px] leading-10 max-tablet:leading-[28px] font-bold mb-4 max-tablet:mb-[16px]", children: o }),
17
+ /* @__PURE__ */ e("p", { className: "text-[16px] leading-6", children: i }),
18
+ /* @__PURE__ */ e(
19
+ p,
20
+ {
21
+ onClick: () => m({ props: { link: r } }),
22
+ iconRight: /* @__PURE__ */ e(
23
+ l,
24
+ {
25
+ name: "download",
26
+ size: 20,
27
+ color: a.blackBG
28
+ }
29
+ ),
30
+ className: "w-fit max-tablet:w-full mt-8",
31
+ children: "Скачать"
32
+ }
33
+ )
34
+ ] }) }),
35
+ /* @__PURE__ */ e(
36
+ l,
37
+ {
38
+ className: "flex-shrink-0",
39
+ name: "file",
40
+ color: a.greenLight,
41
+ size: n ? 56 : 82
42
+ }
43
+ )
44
+ ] }) });
45
+ };
46
+ d.propsToEdit = c;
47
+ export {
48
+ d as FileBannerSecondary,
49
+ c as propsToEdit
50
+ };
@@ -0,0 +1,4 @@
1
+ import { FileBannerSecondary as n } from "./FileBannerSecondary.js";
2
+ export {
3
+ n as FileBannerSecondary
4
+ };
@@ -0,0 +1,11 @@
1
+ import { C as o } from "../../../index-b826f1c7.js";
2
+ import { propsToEdit as n } from "./FileBannerSecondary.js";
3
+ const r = {
4
+ title: "Баннер загрузки файла",
5
+ description: "Компонент баннера для скачивания файлов с заголовком, описанием и ссылкой на файл. Используется для привлечения внимания к возможности загрузки документов или файлов.",
6
+ types: [o.downloads, o.banners],
7
+ propsToEdit: n
8
+ };
9
+ export {
10
+ r as downloadFileBannerInfo
11
+ };
package/dist/Faq/Faq.js CHANGED
@@ -3,7 +3,7 @@ import { Collapse as e } from "./components/Collapse/Collapse.js";
3
3
  import { FeedbackForm as t } from "./components/FeedbackForm/FeedbackForm.js";
4
4
  import { HtmlContent as x } from "../HtmlContent/HtmlContent.js";
5
5
  import { FieldTypes as p } from "../Types/FiledTypes.js";
6
- import { C as c } from "../ComponentContainer-68340535.js";
6
+ import { C as c } from "../ComponentContainer-841196f9.js";
7
7
  const d = {
8
8
  type: "data",
9
9
  label: "Вопрос",
@@ -4,7 +4,7 @@ import { u as P } from "../../index.esm-67811428.js";
4
4
  import { B as L } from "../../index-875e92ce.js";
5
5
  import { a as R, b as D } from "../../const-53dff524.js";
6
6
  import { c as x } from "../../cn-6a4bf187.js";
7
- import { C as E } from "../../ComponentContainer-68340535.js";
7
+ import { C as E } from "../../ComponentContainer-841196f9.js";
8
8
  import { u as M } from "../../useScreenSize-c1b64c02.js";
9
9
  const B = S(
10
10
  ({ className: i, label: s, error: o, ...n }, l) => /* @__PURE__ */ a("div", { className: "w-full", children: [
@@ -1,56 +1,59 @@
1
- import { jsx as t, Fragment as m } from "react/jsx-runtime";
2
- import { useState as p, useEffect as f } from "react";
3
- import { H as u } from "../index.module-c8833286.js";
4
- import { L as h } from "../languages-list-87ab3324.js";
5
- import { R as w } from "../routes-76228734.js";
6
- import { c as L } from "../cn-6a4bf187.js";
7
- import { u as v } from "../useScreenSize-c1b64c02.js";
8
- import { HeaderMobile as S } from "./components/HeaderMobile/HeaderMobile.js";
9
- import E from "./components/HeaderWeb/HeaderWeb.js";
10
- const y = "app_language", A = () => localStorage.getItem(y) || h.RU, G = ({ darkTheme: a }) => {
11
- const c = v(960), [l, d] = p(null);
12
- f(() => {
13
- const o = async () => {
1
+ import { jsx as t, Fragment as p } from "react/jsx-runtime";
2
+ import { useState as f, useEffect as u } from "react";
3
+ import { H as h } from "../index.module-c8833286.js";
4
+ import { L as w } from "../languages-list-87ab3324.js";
5
+ import { R as L } from "../routes-76228734.js";
6
+ import { c as v } from "../cn-6a4bf187.js";
7
+ import { u as S } from "../useScreenSize-c1b64c02.js";
8
+ import { HeaderMobile as E } from "./components/HeaderMobile/HeaderMobile.js";
9
+ import y from "./components/HeaderWeb/HeaderWeb.js";
10
+ const A = "app_language", H = () => localStorage.getItem(A) || w.RU, P = ({ darkTheme: a, app_setting: o }) => {
11
+ console.log(o);
12
+ const l = S(960), [d, m] = f(null);
13
+ u(() => {
14
+ const n = async () => {
14
15
  try {
15
- const n = A(), g = window.location.pathname.startsWith(w.ISLAM) ? "M_ISLAMIC" : "", { data: e } = await u.getHeaderSections(
16
- n,
16
+ const s = H(), g = window.location.pathname.startsWith(L.ISLAM) ? "M_ISLAMIC" : "", { data: e } = await h.getHeaderSections(
17
+ s,
17
18
  g
18
19
  );
19
- e && (Array.isArray(e) || typeof e == "object") ? d(e) : console.warn("Header data is null or invalid:", e);
20
- } catch (n) {
21
- console.error("Error fetching header data:", n);
20
+ e && (Array.isArray(e) || typeof e == "object") ? m(e) : console.warn("Header data is null or invalid:", e);
21
+ } catch (s) {
22
+ console.error("Error fetching header data:", s);
22
23
  }
23
24
  };
24
- o();
25
- const r = () => {
26
- o();
27
- };
28
- window.addEventListener("languageChange", r);
25
+ n();
29
26
  const i = () => {
30
- o();
27
+ n();
28
+ };
29
+ window.addEventListener("languageChange", i);
30
+ const c = () => {
31
+ n();
31
32
  };
32
- return window.addEventListener("popstate", i), () => {
33
- window.removeEventListener("languageChange", r), window.removeEventListener("popstate", i);
33
+ return window.addEventListener("popstate", c), () => {
34
+ window.removeEventListener("languageChange", i), window.removeEventListener("popstate", c);
34
35
  };
35
36
  }, []);
36
- const s = l || [];
37
- return /* @__PURE__ */ t(m, { children: c ? /* @__PURE__ */ t(
38
- S,
37
+ const r = d || [];
38
+ return /* @__PURE__ */ t(p, { children: l ? /* @__PURE__ */ t(
39
+ E,
39
40
  {
40
- sections: s,
41
+ app_setting: o,
42
+ sections: r,
41
43
  darkTheme: a,
42
44
  className: "fixed top-0 z-[9999] w-full"
43
45
  }
44
46
  ) : /* @__PURE__ */ t(
45
47
  "div",
46
48
  {
47
- className: L(
49
+ className: v(
48
50
  "fixed top-0 z-[9999] w-full h-[70px] bg-white flex items-center justify-center py-[9px]"
49
51
  ),
50
52
  children: /* @__PURE__ */ t(
51
- E,
53
+ y,
52
54
  {
53
- sections: s,
55
+ app_setting: o,
56
+ sections: r,
54
57
  darkTheme: a
55
58
  }
56
59
  )
@@ -58,5 +61,5 @@ const y = "app_language", A = () => localStorage.getItem(y) || h.RU, G = ({ dark
58
61
  ) });
59
62
  };
60
63
  export {
61
- G as Header
64
+ P as Header
62
65
  };
@@ -1,52 +1,53 @@
1
- import { jsxs as o, jsx as t } from "react/jsx-runtime";
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 z, G as D } from "../../../logo-99aa20bd.js";
4
- import { S as W } from "../../../search-dd4eb6f8.js";
5
- import { a as k } from "../../../cn-6a4bf187.js";
6
- import { R as h } from "../../../routes-76228734.js";
7
- import { u as E } from "../../../useClickOutside-197b0df2.js";
8
- import { I } from "../../../index-9384c6d6.js";
9
- import O from "../HeaderMenu/HeaderMenu.js";
10
- import P from "../HeaderResults/HeaderResults.js";
11
- import q from "../HeaderSearch/HeaderSearch.js";
12
- import { HeaderTab as T } from "../HeaderTab/HeaderTab.js";
13
- import B from "../SelectLanguage/SelectLanguage.js";
14
- const F = "category", H = "link", se = ({ sections: r, darkTheme: p }) => {
15
- const [g, n] = l(null), [d, b] = l(!1), [u, a] = l(!1), [s, x] = l(
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(
16
17
  []
17
- ), [i, m] = l(0), { ref: M } = E(u, () => {
18
- a(!1), n(null), m(0);
19
- }), y = (e) => {
18
+ ), [c, h] = l(0), { ref: M } = q(m, () => {
19
+ t(!1), n(null), h(0);
20
+ }), w = (e) => {
20
21
  window.location.href = e || "/";
21
- }, w = (e) => {
22
- const { type: A, id: G, data: _ } = e;
23
- A === F && (x(_), a(!0)), A === H && (a(!1), x([])), n(G);
24
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) => {
25
26
  e === H && n(null);
26
- }, S = () => {
27
- b(!d), a(!1);
28
- }, C = () => {
29
- m(0), a(!1), n(null);
30
- }, N = f(() => s.find((e) => e.id === i), [i, s]), L = window.location.pathname.startsWith(h.ISLAM), c = f(() => Array.isArray(r) ? r : r ? [r] : [], [r]), R = f(() => c.filter((e) => !e.is_left), [c]), j = f(() => c.filter((e) => e.is_left), [c]);
31
- return /* @__PURE__ */ o(
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]);
32
+ return /* @__PURE__ */ s(
32
33
  "header",
33
34
  {
34
- className: k(
35
+ className: L(
35
36
  "relative w-full container bg-white",
36
- p && "bg-gray-900 text-white transition-all duration-500",
37
- u && p && "bg-white text-gray-700"
37
+ b && "bg-gray-900 text-white transition-all duration-500",
38
+ m && b && "bg-white text-gray-700"
38
39
  ),
39
40
  children: [
40
- !d && /* @__PURE__ */ o("div", { className: "flex items-center h-13 px-6 lg:px-0 max-w-[1200px] mx-auto", children: [
41
- /* @__PURE__ */ t(
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(
42
43
  "a",
43
44
  {
44
- href: L ? h.ISLAM : h.MAIN_PAGE,
45
+ href: j ? g.ISLAM : g.MAIN_PAGE,
45
46
  className: "flex items-center gap-6 mr-12 cursor-pointer",
46
- children: /* @__PURE__ */ t(
47
- I,
47
+ children: /* @__PURE__ */ a(
48
+ T,
48
49
  {
49
- src: z,
50
+ src: E,
50
51
  alt: "Logo",
51
52
  width: 120,
52
53
  height: 34
@@ -54,44 +55,49 @@ const F = "category", H = "link", se = ({ sections: r, darkTheme: p }) => {
54
55
  )
55
56
  }
56
57
  ),
57
- /* @__PURE__ */ o("div", { className: "flex items-center justify-between flex-grow", children: [
58
- /* @__PURE__ */ t("div", { className: "flex items-center gap-2", children: R.map(
59
- (e) => e && /* @__PURE__ */ t(
60
- T,
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,
61
62
  {
62
63
  item: e,
63
- activeTab: g,
64
- onTabClick: y,
65
- onTabHover: w,
66
- onTabLeave: v
64
+ activeTab: p,
65
+ onTabClick: w,
66
+ onTabHover: v,
67
+ onTabLeave: S
67
68
  },
68
69
  e == null ? void 0 : e.id
69
70
  )
70
71
  ) }),
71
- /* @__PURE__ */ o("div", { className: "flex items-center gap-2", children: [
72
- /* @__PURE__ */ t("div", { className: "flex items-center gap-2 pr-6 border-r border-gray-300 mr-4", children: j.map(
73
- (e) => e && /* @__PURE__ */ t(
74
- T,
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,
75
76
  {
76
77
  item: e,
77
- activeTab: g,
78
- onTabClick: y,
79
- onTabHover: w,
80
- onTabLeave: v
78
+ activeTab: p,
79
+ onTabClick: w,
80
+ onTabHover: v,
81
+ onTabLeave: S
81
82
  },
82
83
  e == null ? void 0 : e.id
83
84
  )
84
85
  ) }),
85
- /* @__PURE__ */ t(B, {}),
86
- /* @__PURE__ */ t(
86
+ /* @__PURE__ */ a(
87
+ K,
88
+ {
89
+ onChangeLanguage: (k = u == null ? void 0 : u.locale) == null ? void 0 : k.changeLanguage
90
+ }
91
+ ),
92
+ /* @__PURE__ */ a(
87
93
  "button",
88
94
  {
89
- onClick: S,
95
+ onClick: N,
90
96
  className: "flex items-center justify-center w-9 h-9 p-1.5 rounded-full bg-gray-200",
91
- children: /* @__PURE__ */ t(
92
- I,
97
+ children: /* @__PURE__ */ a(
98
+ T,
93
99
  {
94
- src: W,
100
+ src: P,
95
101
  alt: "search icon",
96
102
  width: 18,
97
103
  height: 18
@@ -99,46 +105,46 @@ const F = "category", H = "link", se = ({ sections: r, darkTheme: p }) => {
99
105
  )
100
106
  }
101
107
  ),
102
- /* @__PURE__ */ t(
108
+ /* @__PURE__ */ a(
103
109
  "button",
104
110
  {
105
111
  "aria-label": "Открыть режим для слабовидящих",
106
112
  className: "flex items-center justify-center w-9 h-9 p-1.5 rounded-full bg-gray-200",
107
- children: /* @__PURE__ */ t(D, { size: 16 })
113
+ children: /* @__PURE__ */ a(O, { size: 16 })
108
114
  }
109
115
  )
110
116
  ] })
111
117
  ] })
112
118
  ] }),
113
- d && /* @__PURE__ */ t(
114
- q,
119
+ d && /* @__PURE__ */ a(
120
+ J,
115
121
  {
116
- closeSearch: S,
117
- onClick: () => b(!1)
122
+ closeSearch: N,
123
+ onClick: () => x(!1)
118
124
  }
119
125
  ),
120
- /* @__PURE__ */ o(
126
+ /* @__PURE__ */ s(
121
127
  "div",
122
128
  {
123
- className: k(
129
+ className: L(
124
130
  "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",
125
- u ? "opacity-100 translate-y-0 pointer-events-auto visible" : "opacity-0 -translate-y-5 pointer-events-none invisible"
131
+ m ? "opacity-100 translate-y-0 pointer-events-auto visible" : "opacity-0 -translate-y-5 pointer-events-none invisible"
126
132
  ),
127
133
  ref: M,
128
134
  children: [
129
- /* @__PURE__ */ t(
130
- O,
135
+ /* @__PURE__ */ a(
136
+ B,
131
137
  {
132
- categories: s,
133
- activeSubcategory: m,
134
- openResult: a
138
+ categories: o,
139
+ activeSubcategory: h,
140
+ openResult: t
135
141
  }
136
142
  ),
137
- N || s[i] ? /* @__PURE__ */ t(
138
- P,
143
+ A || o[c] ? /* @__PURE__ */ a(
144
+ F,
139
145
  {
140
- data: N || s[i],
141
- onClick: C
146
+ data: A || o[c],
147
+ onClick: R
142
148
  }
143
149
  ) : null
144
150
  ]
@@ -149,5 +155,5 @@ const F = "category", H = "link", se = ({ sections: r, darkTheme: p }) => {
149
155
  );
150
156
  };
151
157
  export {
152
- se as default
158
+ le as default
153
159
  };
@@ -1,14 +1,18 @@
1
- import { jsxs as v, jsx as p } from "react/jsx-runtime";
2
- import { useState as d, useEffect as _ } from "react";
1
+ import { jsxs as _, jsx as p } from "react/jsx-runtime";
2
+ import { useState as d, useEffect as E } from "react";
3
3
  import { a as r } from "../../../languages-list-87ab3324.js";
4
- import { u as E } from "../../../useClickOutside-197b0df2.js";
4
+ import { u as C } from "../../../useClickOutside-197b0df2.js";
5
5
  import { c as l } from "../../../cn-6a4bf187.js";
6
- const u = "app_language", N = ({ rightPosition: g = !1, className: i }) => {
6
+ const u = "app_language", m = ({
7
+ rightPosition: g = !1,
8
+ className: i,
9
+ onChangeLanguage: h
10
+ }) => {
7
11
  var x;
8
12
  const [s, a] = d(!1), [o, f] = d(
9
13
  r[0] || { key: "ru", title: "Русский" }
10
14
  );
11
- _(() => {
15
+ E(() => {
12
16
  const e = localStorage.getItem(u);
13
17
  if (e) {
14
18
  const t = r.find((n) => n.key === e);
@@ -18,24 +22,24 @@ const u = "app_language", N = ({ rightPosition: g = !1, className: i }) => {
18
22
  const c = (e) => {
19
23
  a(!1);
20
24
  const t = r.find((n) => n.key === e);
21
- t && (f(t), localStorage.setItem(u, e), window.dispatchEvent(
25
+ t && (f(t), localStorage.setItem(u, e), h(e), window.dispatchEvent(
22
26
  new CustomEvent("languageChange", { detail: e })
23
27
  ));
24
- }, h = (e) => {
28
+ }, b = (e) => {
25
29
  (e.key === "Enter" || e.key === " ") && (e.preventDefault(), a((t) => !t));
26
- }, b = (e, t) => {
30
+ }, k = (e, t) => {
27
31
  (e.key === "Enter" || e.key === " ") && (e.preventDefault(), c(t));
28
- }, y = () => {
32
+ }, w = () => {
29
33
  a(!s);
30
- }, { ref: k } = E(s, () => a(!1));
31
- return /* @__PURE__ */ v(
34
+ }, { ref: y } = C(s, () => a(!1));
35
+ return /* @__PURE__ */ _(
32
36
  "div",
33
37
  {
34
- ref: k,
38
+ ref: y,
35
39
  role: "button",
36
40
  tabIndex: 0,
37
- onClick: y,
38
- onKeyDown: h,
41
+ onClick: w,
42
+ onKeyDown: b,
39
43
  className: l(
40
44
  "relative flex items-center justify-center rounded-full p-2 bg-[#f4f6f7] w-[36px] h-[36px] cursor-pointer",
41
45
  i
@@ -58,7 +62,7 @@ const u = "app_language", N = ({ rightPosition: g = !1, className: i }) => {
58
62
  role: "button",
59
63
  tabIndex: 0,
60
64
  onClick: () => c(e == null ? void 0 : e.key),
61
- onKeyDown: (w) => b(w, e == null ? void 0 : e.key),
65
+ onKeyDown: (v) => k(v, e == null ? void 0 : e.key),
62
66
  className: l(
63
67
  "text-[#0b0f19] px-2 py-[10px] text-[16px] leading-[24px] min-w-[164px] cursor-pointer relative rounded-[8px]",
64
68
  n && 'bg-[#f4f5f6] after:absolute after:top-[9px] after:right-[10px] after:w-[24px] after:h-[24px] after:bg-[url("/checked.svg")] after:bg-center after:bg-no-repeat'
@@ -75,5 +79,5 @@ const u = "app_language", N = ({ rightPosition: g = !1, className: i }) => {
75
79
  );
76
80
  };
77
81
  export {
78
- N as default
82
+ m as default
79
83
  };
@@ -1,7 +1,7 @@
1
1
  import { jsx as t, jsxs as m } from "react/jsx-runtime";
2
2
  import { InfoBanner as x, InfoBannerFields as c } from "../InfoBanner/index.js";
3
3
  import { c as l } from "../createBoolean-56064b0d.js";
4
- import { C as f } from "../ComponentContainer-68340535.js";
4
+ import { C as f } from "../ComponentContainer-841196f9.js";
5
5
  import { c as a } from "../cn-6a4bf187.js";
6
6
  import { u as d } from "../useScreenSize-c1b64c02.js";
7
7
  const b = {
@@ -1,7 +1,7 @@
1
1
  import { jsxs as s, jsx as e } from "react/jsx-runtime";
2
2
  import { B as r } from "../index-875e92ce.js";
3
3
  import { c as i } from "../const-53dff524.js";
4
- import { C as m } from "../ComponentContainer-68340535.js";
4
+ import { C as m } from "../ComponentContainer-841196f9.js";
5
5
  import { InstructionCardData as p, InstructionCard as l } from "./components/InstructionCard/InstructionCard.js";
6
6
  const x = ["title", "cards", i], C = {
7
7
  type: "cards",
@@ -1,6 +1,6 @@
1
1
  import { jsxs as a, jsx as t } from "react/jsx-runtime";
2
2
  import { B as b } from "../index-875e92ce.js";
3
- import { C as c } from "../ComponentContainer-68340535.js";
3
+ import { C as c } from "../ComponentContainer-841196f9.js";
4
4
  import { I as e } from "../index-9384c6d6.js";
5
5
  import { u as d } from "../useScreenSize-c1b64c02.js";
6
6
  const h = [
@@ -1,7 +1,7 @@
1
1
  import { jsxs as o, jsx as l } from "react/jsx-runtime";
2
2
  import { B as f } from "../index-875e92ce.js";
3
3
  import { c as d } from "../const-53dff524.js";
4
- import { C as b } from "../ComponentContainer-68340535.js";
4
+ import { C as b } from "../ComponentContainer-841196f9.js";
5
5
  import { I as t } from "../index-9384c6d6.js";
6
6
  import { c as h } from "../cn-6a4bf187.js";
7
7
  const g = [
@@ -2,7 +2,7 @@ import { jsxs as o, jsx as a } from "react/jsx-runtime";
2
2
  import { BannerAndText as p } from "../BannerAndText/index.js";
3
3
  import { CardIconList as d } from "../CardIconList/CardIconList.js";
4
4
  import { FieldTypes as t } from "../Types/FiledTypes.js";
5
- import { C as c } from "../ComponentContainer-68340535.js";
5
+ import { C as c } from "../ComponentContainer-841196f9.js";
6
6
  const m = {
7
7
  type: "banner_card",
8
8
  label: "Баннер карточка",
@@ -59,10 +59,10 @@ const m = {
59
59
  is_cards_first: l
60
60
  }) => /* @__PURE__ */ o(c, { className: "flex flex-col items-center gap-[24px]", children: [
61
61
  r && /* @__PURE__ */ a(
62
- "p",
62
+ "h2",
63
63
  {
64
- className: `font-bold max-tablet:text-[26px] text-[44px] max-tablet:leading-[32px] leading-[42px]
65
- mb-[24px] font-variant-numeric font-feature-settings`,
64
+ className: `font-bold text-[44px] max-tablet:text-[26px] max-tablet:leading-[32px] leading-[42px]
65
+ mb-[24px] max-tablet:mb-[8px] font-variant-numeric font-feature-settings`,
66
66
  children: r
67
67
  }
68
68
  ),
@@ -1,5 +1,5 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
- import { c as f } from "../componentsMap-153c7a30.js";
2
+ import { c as f } from "../componentsMap-ae33b476.js";
3
3
  const a = (p) => p.map((r) => {
4
4
  const s = f[r.key];
5
5
  if (!s)
@@ -1,38 +1,38 @@
1
1
  import { jsx as l, jsxs as r } from "react/jsx-runtime";
2
- import { FieldTypes as t } from "../Types/FiledTypes.js";
3
- import { C as o } from "../ComponentContainer-68340535.js";
2
+ import { FieldTypes as s } from "../Types/FiledTypes.js";
3
+ import { C as o } from "../ComponentContainer-841196f9.js";
4
4
  import { I as c } from "../index-9384c6d6.js";
5
- const p = {
5
+ const n = {
6
6
  type: "data",
7
7
  label: "Основные данные",
8
8
  dataType: "object",
9
9
  data: {
10
10
  keys: {
11
- title: t.TITLE,
12
- subtitle: t.DESCRIPTION,
11
+ title: s.TITLE,
12
+ subtitle: s.DESCRIPTION,
13
13
  images: {
14
14
  label: "Логотипы",
15
15
  dataType: "array",
16
16
  type: "images",
17
17
  data: {
18
- logo: t.FILE
18
+ logo: s.FILE
19
19
  }
20
20
  }
21
21
  }
22
22
  }
23
- }, x = [p], m = ({ data: e }) => {
23
+ }, p = [n], x = ({ data: e }) => {
24
24
  var i;
25
25
  return /* @__PURE__ */ l(o, { children: /* @__PURE__ */ r("div", { className: "w-full flex flex-col items-center justify-center", children: [
26
- (e == null ? void 0 : e.title) && /* @__PURE__ */ l("p", { className: "text-[44px] font-bold leading-[52px] text-center max-md:text-[26px] max-md:leading-[32px]", children: e == null ? void 0 : e.title }),
26
+ (e == null ? void 0 : e.title) && /* @__PURE__ */ l("h2", { className: "font-bold max-tablet:text-[26px] text-[44px] max-tablet:leading-[32px] leading-[42px] font-variant-numeric font-feature-settings", children: e == null ? void 0 : e.title }),
27
27
  (e == null ? void 0 : e.subtitle) && /* @__PURE__ */ l("div", { className: "text-[18px] leading-[26px] text-gray-400 mt-6 text-center max-md:text-[17px] max-md:leading-[24px] max-md:px-6", children: e == null ? void 0 : e.subtitle }),
28
- /* @__PURE__ */ l("div", { className: "w-full px-4 mt-[48px]", children: /* @__PURE__ */ l("div", { className: "grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-6 xl:grid-cols-8 gap-4 md:gap-6 justify-center", children: (i = e == null ? void 0 : e.images) == null ? void 0 : i.map((s) => /* @__PURE__ */ l(
28
+ /* @__PURE__ */ l("div", { className: "w-full px-4 mt-[48px]", children: /* @__PURE__ */ l("div", { className: "grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-6 xl:grid-cols-8 gap-4 md:gap-6 justify-center", children: (i = e == null ? void 0 : e.images) == null ? void 0 : i.map((t) => /* @__PURE__ */ l(
29
29
  "div",
30
30
  {
31
31
  className: "w-full flex items-center justify-center p-2",
32
32
  children: /* @__PURE__ */ l(
33
33
  c,
34
34
  {
35
- src: s == null ? void 0 : s.logo,
35
+ src: t == null ? void 0 : t.logo,
36
36
  alt: e == null ? void 0 : e.title,
37
37
  width: 106,
38
38
  height: 100,
@@ -41,12 +41,12 @@ const p = {
41
41
  }
42
42
  )
43
43
  },
44
- s == null ? void 0 : s.id
44
+ t == null ? void 0 : t.id
45
45
  )) }) })
46
46
  ] }) });
47
47
  };
48
- m.propsToEdit = x;
48
+ x.propsToEdit = p;
49
49
  export {
50
- m as Partners,
51
- x as propsToEdit
50
+ x as Partners,
51
+ p as propsToEdit
52
52
  };