md-components-mdigial-azamat 0.0.76 → 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 (46) 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/InfoBannerList/InfoBannerList.js +1 -1
  22. package/dist/InstructionList/InstructionList.js +1 -1
  23. package/dist/IntroBanner/IntroBanner.js +1 -1
  24. package/dist/MainBanner/MainBanner.js +1 -1
  25. package/dist/MultiCards/index.js +4 -4
  26. package/dist/PageViewer/renderComponents.js +1 -1
  27. package/dist/Partners/Partners.js +14 -14
  28. package/dist/PartnersColors/PartnersColors.js +15 -8
  29. package/dist/PreviewList/PreviewList.js +16 -16
  30. package/dist/PromoPoster/PromoPoster.js +1 -1
  31. package/dist/RenderAllComponents/RenderAllComponents.js +1 -1
  32. package/dist/RenderAllComponents/const.js +1 -1
  33. package/dist/StandartTable/index.js +1 -1
  34. package/dist/Stepper/Stepper.js +1 -1
  35. package/dist/SwiperList/SwiperList.js +1 -1
  36. package/dist/TasksBannerList/TasksBannerList.js +1 -1
  37. package/dist/Video/VideoFull/VideoFull.js +1 -1
  38. package/dist/Video/VideoList/VideoList.js +4 -4
  39. package/dist/Video/VideoListMini/VideoListMini.js +1 -1
  40. package/dist/VideoMainBanner/VideoMainBanner.js +1 -1
  41. package/dist/assets/index.css +1 -1
  42. package/dist/componentsMap-ae33b476.js +99 -0
  43. package/dist/{data.mock-8db3fb9a.js → data.mock-30d53d62.js} +26 -24
  44. package/dist/main.js +21 -19
  45. package/package.json +1 -1
  46. package/dist/componentsMap-153c7a30.js +0 -97
@@ -1,4 +1,4 @@
1
- import { M as o, B as t, C as n, S as r, a as e, V as a, b as i, c as p, d as m, e as s, f as l, P as d, g as c, W as D, F as f, D as L, h as C, i as F, j as B, I as y, k, l as w, A as I, m as S, T as _, n as P, E as g, o as M, p as u, q as V, r as T, s as b, t as A } from "./data.mock-8db3fb9a.js";
1
+ import { M as o, B as t, C as n, S as r, a as e, V as a, b as i, c as p, d as m, e as s, f as l, P as d, g as c, W as D, F as f, D as L, h as C, i as F, j as B, I as y, k, l as w, A as I, m as S, T as _, n as P, E as g, o as M, p as u, q as V, r as T, s as b, t as A } from "./data.mock-30d53d62.js";
2
2
  import H from "./AnimatedSwiper/index.js";
3
3
  import { Banner as h } from "./Banner/Banner.js";
4
4
  import { CardIconList as q } from "./CardIconList/CardIconList.js";
@@ -51,6 +51,7 @@ import "./const-53dff524.js";
51
51
  import "./InstructionList/components/InstructionCard/InstructionCard.js";
52
52
  import "./PreviewList/components/PreviewCard/PreviewCard.js";
53
53
  import "./CardImageSecondary/CardImageSecondary.js";
54
+ import "./DownloadFile/components/FileBannerSecondary/FileBannerSecondary.js";
54
55
  import "./InfoBanner/index.js";
55
56
  import { Space as Co } from "./Space/Space.js";
56
57
  import "./TasksBanner/TasksBanner.js";
@@ -98,7 +99,7 @@ import "./Video/VideoFull/info.js";
98
99
  import "./Video/VideoList/info.js";
99
100
  import "./Video/VideoListMini/info.js";
100
101
  import "./VideoMainBanner/info.js";
101
- const ln = {
102
+ const dn = {
102
103
  MainBanner: { key: "MainBanner", component: O },
103
104
  Banner: { key: "Banner", component: h },
104
105
  CardImageList: { key: "CardImageList", component: W },
@@ -147,7 +148,7 @@ const ln = {
147
148
  },
148
149
  Header: { key: "Header", component: io },
149
150
  Footer: { key: "Footer", component: po }
150
- }, dn = {
151
+ }, cn = {
151
152
  MainBanner: o.component_props,
152
153
  Banner: t.component_props,
153
154
  CardImageList: n.component_props,
@@ -184,6 +185,6 @@ const ln = {
184
185
  FormDefault: J
185
186
  };
186
187
  export {
187
- ln as AllComponents,
188
- dn as AllComponentsData
188
+ dn as AllComponents,
189
+ cn as AllComponentsData
189
190
  };
@@ -2,7 +2,7 @@ import { jsx as t, jsxs as o } from "react/jsx-runtime";
2
2
  import { FieldTypes as x } from "../Types/FiledTypes.js";
3
3
  import { B as b } from "../index-875e92ce.js";
4
4
  import { B as N, c as _ } from "../const-53dff524.js";
5
- import { C as y } from "../ComponentContainer-68340535.js";
5
+ import { C as y } from "../ComponentContainer-841196f9.js";
6
6
  import { I as g } from "../index-9384c6d6.js";
7
7
  import { c as a } from "../cn-6a4bf187.js";
8
8
  import { u as v } from "../useScreenSize-c1b64c02.js";
@@ -1,6 +1,6 @@
1
1
  import { jsx as e, jsxs as o } from "react/jsx-runtime";
2
2
  import { FieldTypes as i } from "../Types/FiledTypes.js";
3
- import { C as m } from "../ComponentContainer-68340535.js";
3
+ import { C as m } from "../ComponentContainer-841196f9.js";
4
4
  import { I as g } from "../index-9384c6d6.js";
5
5
  import { c as s } from "../cn-6a4bf187.js";
6
6
  const x = {
@@ -1,7 +1,7 @@
1
- import { jsx as l, jsxs as p } from "react/jsx-runtime";
2
- import { S as r, F as f } from "../index-04224eb4.js";
1
+ import { jsx as l, jsxs as n } from "react/jsx-runtime";
2
+ import { S as r, F as p } from "../index-04224eb4.js";
3
3
  import { FieldTypes as t } from "../Types/FiledTypes.js";
4
- import { C as m } from "../ComponentContainer-68340535.js";
4
+ import { C as f } from "../ComponentContainer-841196f9.js";
5
5
  import { c } from "../cn-6a4bf187.js";
6
6
  const b = {
7
7
  type: "cards",
@@ -22,7 +22,7 @@ const b = {
22
22
  cards: s,
23
23
  title: i,
24
24
  size: x = r.SMALL,
25
- turnover: n,
25
+ turnover: d,
26
26
  multiHasText: o = !1
27
27
  }) => {
28
28
  let e;
@@ -40,7 +40,7 @@ const b = {
40
40
  e = "flex flex-row items-stretch max-tablet:flex-col";
41
41
  break;
42
42
  }
43
- return /* @__PURE__ */ l(m, { className: c("p-0", { "order-[-1]": n }), children: /* @__PURE__ */ p(
43
+ return /* @__PURE__ */ l(f, { className: c({ "order-[-1]": d }), children: /* @__PURE__ */ n(
44
44
  "div",
45
45
  {
46
46
  className: c("w-full h-full flex flex-col items-center gap-[24px]"),
@@ -49,7 +49,7 @@ const b = {
49
49
  "h2",
50
50
  {
51
51
  className: `font-bold max-tablet:text-[26px] text-[44px] max-tablet:leading-[32px] leading-[42px]
52
- mb-[24px] font-variant-numeric font-feature-settings`,
52
+ mb-[24px] max-tablet:mb-[8px] font-variant-numeric font-feature-settings`,
53
53
  children: i
54
54
  }
55
55
  ),
@@ -58,19 +58,19 @@ const b = {
58
58
  {
59
59
  className: `${e} gap-[24px] w-full ${o ? "grid grid-cols-2 max-tablet:flex h-full" : "flex flex-row max-tablet:flex-col"}`,
60
60
  children: s == null ? void 0 : s.map(
61
- (a, d) => a && /* @__PURE__ */ l(
62
- f,
61
+ (a, m) => a && /* @__PURE__ */ l(
62
+ p,
63
63
  {
64
64
  data: a,
65
65
  size: x,
66
66
  className: c(
67
67
  { "h-full": o },
68
68
  {
69
- "col-span-2": o && d === 0
69
+ "col-span-2": o && m === 0
70
70
  }
71
71
  )
72
72
  },
73
- (a == null ? void 0 : a.id) || d
73
+ (a == null ? void 0 : a.id) || m
74
74
  )
75
75
  )
76
76
  }
@@ -4,7 +4,7 @@ import { CardImageVariant as m } from "../Cards/CardImage/types.js";
4
4
  import { FieldTypes as t } from "../Types/FiledTypes.js";
5
5
  import { B as c } from "../index-875e92ce.js";
6
6
  import { B as d } from "../const-53dff524.js";
7
- import { C as f } from "../ComponentContainer-68340535.js";
7
+ import { C as f } from "../ComponentContainer-841196f9.js";
8
8
  import { c as p } from "../cn-6a4bf187.js";
9
9
  const g = {
10
10
  type: "cards",
@@ -37,7 +37,7 @@ const g = {
37
37
  button: o
38
38
  }) => /* @__PURE__ */ e(f, { children: /* @__PURE__ */ n("div", { className: "w-full flex flex-col items-center gap-[24px]", children: [
39
39
  l && /* @__PURE__ */ e(
40
- "p",
40
+ "h2",
41
41
  {
42
42
  className: `font-bold max-tablet:text-[26px] text-[44px] max-tablet:leading-[32px] leading-[42px]
43
43
  mb-[24px] max-tablet:mb-[8px] font-variant-numeric font-feature-settings`,
@@ -1,6 +1,6 @@
1
1
  import { jsxs as l, jsx as t } from "react/jsx-runtime";
2
2
  import { cardImageSecondaryDataProps as x, CardImageSecondary as m } from "../CardImageSecondary/CardImageSecondary.js";
3
- import { C as s } from "../ComponentContainer-68340535.js";
3
+ import { C as s } from "../ComponentContainer-841196f9.js";
4
4
  const n = {
5
5
  type: "cards",
6
6
  label: "Карточки",
@@ -1,7 +1,7 @@
1
1
  import { jsxs as x, jsx as r } from "react/jsx-runtime";
2
2
  import { forwardRef as g } from "react";
3
3
  import { FieldTypes as i } from "../Types/FiledTypes.js";
4
- import { C as h } from "../ComponentContainer-68340535.js";
4
+ import { C as h } from "../ComponentContainer-841196f9.js";
5
5
  import { c as p } from "../cn-6a4bf187.js";
6
6
  import { B as y } from "../index-875e92ce.js";
7
7
  import { b as w, a as u } from "../const-53dff524.js";
@@ -1,64 +1,70 @@
1
- import { jsx as r, jsxs as t } from "react/jsx-runtime";
2
- import { warningCardVariant as p, WarningCardVariant as e, WarningCardVariantKey as m } from "./model.js";
1
+ import { jsx as e, jsxs as o } from "react/jsx-runtime";
2
+ import { warningCardVariant as m, WarningCardVariant as r, WarningCardVariantKey as d } from "./model.js";
3
3
  import { I as x } from "../../Icon-70ea6cb8.js";
4
4
  import { B as f } from "../../const-53dff524.js";
5
5
  import { B as g } from "../../index-875e92ce.js";
6
- import { C } from "../../ComponentContainer-68340535.js";
7
- import { c as h } from "../../cn-6a4bf187.js";
8
- const u = [
6
+ import { C } from "../../ComponentContainer-841196f9.js";
7
+ import { c as b } from "../../cn-6a4bf187.js";
8
+ const h = [
9
9
  "title",
10
10
  "title_color",
11
11
  "description",
12
12
  "description_color",
13
13
  f,
14
- p
15
- ], N = ({
16
- title: l,
14
+ m
15
+ ], u = ({
16
+ title: s,
17
17
  description: c,
18
- button: d,
19
- variant: o = m.Orange
18
+ button: p,
19
+ variant: t = d.Orange
20
20
  }) => {
21
- var n, i, a, s;
22
- return /* @__PURE__ */ r(C, { children: /* @__PURE__ */ r(
21
+ var a, n, i, l;
22
+ return /* @__PURE__ */ e(C, { children: /* @__PURE__ */ e(
23
23
  "div",
24
24
  {
25
25
  className: "rounded-[24px] p-6",
26
- style: { background: (n = e[o]) == null ? void 0 : n.background },
27
- children: /* @__PURE__ */ t("div", { className: "flex gap-4 items-center justify-between", children: [
28
- /* @__PURE__ */ t("div", { className: "flex gap-4 items-center", children: [
29
- /* @__PURE__ */ r(
30
- x,
31
- {
32
- name: (i = e[o]) == null ? void 0 : i.icon,
33
- size: 40
34
- }
35
- ),
36
- /* @__PURE__ */ t("div", { className: "flex flex-col gap-1", children: [
37
- /* @__PURE__ */ r(
38
- "p",
39
- {
40
- className: h("text-[24px] leading-8 font-bold"),
41
- style: { color: (a = e[o]) == null ? void 0 : a.textColor },
42
- children: l
43
- }
44
- ),
45
- /* @__PURE__ */ r(
46
- "p",
47
- {
48
- className: "text-[16px] leading-6",
49
- style: { color: (s = e[o]) == null ? void 0 : s.textColor },
50
- children: c
51
- }
52
- )
53
- ] })
54
- ] }),
55
- /* @__PURE__ */ r(g, { ...d })
26
+ style: { background: (a = r[t]) == null ? void 0 : a.background },
27
+ children: /* @__PURE__ */ o("div", { className: "flex gap-4 items-center justify-between", children: [
28
+ /* @__PURE__ */ o(
29
+ "div",
30
+ {
31
+ className: "flex gap-[16px] items-center max-tablet:flex-col max-tablet:items-start max-tablet:gap-[12px]",
32
+ children: [
33
+ /* @__PURE__ */ e(
34
+ x,
35
+ {
36
+ name: (n = r[t]) == null ? void 0 : n.icon,
37
+ size: 40
38
+ }
39
+ ),
40
+ /* @__PURE__ */ o("div", { className: "flex flex-col gap-[4px] max-tablet:gap-0", children: [
41
+ /* @__PURE__ */ e(
42
+ "p",
43
+ {
44
+ className: b("text-[24px] leading-8 font-bold"),
45
+ style: { color: (i = r[t]) == null ? void 0 : i.textColor },
46
+ children: s
47
+ }
48
+ ),
49
+ /* @__PURE__ */ e(
50
+ "p",
51
+ {
52
+ className: "text-[16px] leading-6",
53
+ style: { color: (l = r[t]) == null ? void 0 : l.textColor },
54
+ children: c
55
+ }
56
+ )
57
+ ] })
58
+ ]
59
+ }
60
+ ),
61
+ /* @__PURE__ */ e(g, { ...p })
56
62
  ] })
57
63
  }
58
64
  ) });
59
65
  };
60
- N.propsToEdit = u;
66
+ u.propsToEdit = h;
61
67
  export {
62
- N as WarningCard,
63
- u as propsToEdit
68
+ u as WarningCard,
69
+ h as propsToEdit
64
70
  };
@@ -1,11 +1,11 @@
1
1
  import { jsx as m } from "react/jsx-runtime";
2
- import { c as e } from "./cn-6a4bf187.js";
2
+ import { c as x } from "./cn-6a4bf187.js";
3
3
  const r = ({ children: a, className: t, style: l }) => /* @__PURE__ */ m(
4
4
  "section",
5
5
  {
6
6
  style: l,
7
- className: e(
8
- "w-[1232px] max-tablet:w-full mx-auto px-4 max-tablet:px-0 relative max-tablet:max-w-full md:max-w-full lg:max-w-full overflow-x-hidden",
7
+ className: x(
8
+ "w-[1232px] max-tablet:w-full mx-auto px-0 max-tablet:px-[16px] relative max-tablet:max-w-full md:max-w-full lg:max-w-full overflow-x-hidden",
9
9
  t
10
10
  ),
11
11
  children: a
@@ -2,7 +2,7 @@ import { jsx as e, jsxs as p } from "react/jsx-runtime";
2
2
  import { ContentCard as m } from "../Cards/ContentCard/ContentCard.js";
3
3
  import { FieldTypes as i } from "../Types/FiledTypes.js";
4
4
  import { c as x } from "../const-53dff524.js";
5
- import { C as a } from "../ComponentContainer-68340535.js";
5
+ import { C as a } from "../ComponentContainer-841196f9.js";
6
6
  const f = {
7
7
  type: "cards",
8
8
  label: "Карточки",
@@ -1,43 +1,43 @@
1
1
  import { jsx as e, jsxs as t } from "react/jsx-runtime";
2
- import { downloadFile as p } from "../../../Actions/downloadFile/downloadFile.js";
3
- import { I as o } from "../../../Icon-70ea6cb8.js";
4
- import { p as a } from "../../../palette-c2fe86ec.js";
5
- import { B as m } from "../../../index-875e92ce.js";
6
- import { C as s } from "../../../ComponentContainer-68340535.js";
2
+ import { downloadFile as m } from "../../../Actions/downloadFile/downloadFile.js";
3
+ import { I as l } from "../../../Icon-70ea6cb8.js";
4
+ import { p as o } from "../../../palette-c2fe86ec.js";
5
+ import { B as p } from "../../../index-875e92ce.js";
6
+ import { C as s } from "../../../ComponentContainer-841196f9.js";
7
7
  import { u as x } from "../../../useScreenSize-c1b64c02.js";
8
8
  const c = ["title", "text", "link"], d = ({
9
- title: l,
9
+ title: a,
10
10
  text: i,
11
11
  link: r
12
12
  }) => {
13
13
  const n = x(960);
14
- return /* @__PURE__ */ e(s, { children: /* @__PURE__ */ t("div", { className: "p-[48px] max-tablet:py-[32px] max-tablet:px-[48px] bg-white rounded-[20px] flex justify-between gap-[64px] max-tablet:flex-col-reverse max-tablet:gap-[32px]", children: [
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
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: l }),
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: a }),
17
17
  /* @__PURE__ */ e("p", { className: "text-[16px] leading-6", children: i }),
18
18
  /* @__PURE__ */ e(
19
- m,
19
+ p,
20
20
  {
21
- onClick: () => p({ props: { link: r } }),
21
+ onClick: () => m({ props: { link: r } }),
22
22
  iconRight: /* @__PURE__ */ e(
23
- o,
23
+ l,
24
24
  {
25
25
  name: "download",
26
26
  size: 20,
27
- color: a.blackBG
27
+ color: o.blackBG
28
28
  }
29
29
  ),
30
- className: "mt-8",
30
+ className: "w-fit max-tablet:w-full mt-8",
31
31
  children: "Скачать"
32
32
  }
33
33
  )
34
34
  ] }) }),
35
35
  /* @__PURE__ */ e(
36
- o,
36
+ l,
37
37
  {
38
38
  className: "flex-shrink-0",
39
39
  name: "file",
40
- color: a.greenLight,
40
+ color: o.greenLight,
41
41
  size: n ? 56 : 82
42
42
  }
43
43
  )
@@ -3,7 +3,7 @@ import { downloadFile as s } from "../../../Actions/downloadFile/downloadFile.js
3
3
  import { c } from "../../../createBoolean-56064b0d.js";
4
4
  import { B as n } from "../../../index-875e92ce.js";
5
5
  import { B as b } from "../../../const-53dff524.js";
6
- import { C as f } from "../../../ComponentContainer-68340535.js";
6
+ import { C as f } from "../../../ComponentContainer-841196f9.js";
7
7
  import { I as g } from "../../../index-9384c6d6.js";
8
8
  import { c as d } from "../../../cn-6a4bf187.js";
9
9
  import { u as h } from "../../../useScreenSize-c1b64c02.js";
@@ -1,12 +1,13 @@
1
- import { jsx as l, jsxs as a } from "react/jsx-runtime";
2
- import { downloadFile as s } from "../../../Actions/downloadFile/downloadFile.js";
1
+ import { jsx as o, jsxs as a } from "react/jsx-runtime";
2
+ import { downloadFile as i } from "../../../Actions/downloadFile/downloadFile.js";
3
3
  import { DataTypesEnum as p, FieldTypes as r } from "../../../Types/FiledTypes.js";
4
4
  import { I as t } from "../../../Icon-70ea6cb8.js";
5
5
  import { p as n } from "../../../palette-c2fe86ec.js";
6
- import { B as i } from "../../../index-875e92ce.js";
7
- import { b as c } from "../../../const-53dff524.js";
8
- import { C as d } from "../../../ComponentContainer-68340535.js";
9
- const x = {
6
+ import { B as c } from "../../../index-875e92ce.js";
7
+ import { b as x } from "../../../const-53dff524.js";
8
+ import { C as d } from "../../../ComponentContainer-841196f9.js";
9
+ import { u as m } from "../../../useScreenSize-c1b64c02.js";
10
+ const f = {
10
11
  dataType: p.array,
11
12
  type: "data",
12
13
  label: "Файлы для скачивания",
@@ -15,41 +16,44 @@ const x = {
15
16
  text: r.STRING,
16
17
  file: r.FILE
17
18
  }
18
- }, f = [x], m = ({ data: o }) => /* @__PURE__ */ l(d, { children: /* @__PURE__ */ l("div", { className: "flex flex-col gap-2", children: o == null ? void 0 : o.map((e) => /* @__PURE__ */ a("div", { className: "px-[48px] py-8 bg-white rounded-[20px] flex justify-between items-center gap-[64px]", children: [
19
- /* @__PURE__ */ a("div", { className: "flex items-center gap-4 max-tablet:flex-col max-tablet:items-start", children: [
20
- /* @__PURE__ */ l(
21
- t,
22
- {
23
- className: "flex-shrink-0",
24
- name: "file",
25
- color: n.greenLight,
26
- size: 44
27
- }
28
- ),
29
- /* @__PURE__ */ a("div", { className: "flex flex-col max-tablet:gap-2 ", children: [
30
- /* @__PURE__ */ l("p", { className: "text-[20px] leading-7 font-bold", children: e == null ? void 0 : e.title }),
31
- /* @__PURE__ */ l("p", { className: "text-[16px] leading-6", children: e == null ? void 0 : e.text })
32
- ] })
33
- ] }),
34
- /* @__PURE__ */ l(
35
- i,
36
- {
37
- variant: c.Secondary,
38
- onClick: () => s({ props: { link: e == null ? void 0 : e.file } }),
39
- iconRight: /* @__PURE__ */ l(
19
+ }, b = [f], h = ({ data: l }) => {
20
+ const s = m(960) ? 30 : 44;
21
+ return /* @__PURE__ */ o(d, { children: /* @__PURE__ */ o("div", { className: "flex flex-col gap-2", children: l == null ? void 0 : l.map((e) => /* @__PURE__ */ a("div", { className: "px-[48px] py-[32px] max-tablet:px-[32px] bg-white rounded-[20px] flex justify-between items-center gap-[64px]", children: [
22
+ /* @__PURE__ */ a("div", { className: "flex items-center gap-[16px] max-tablet:flex-col max-tablet:items-start", children: [
23
+ /* @__PURE__ */ o(
40
24
  t,
41
25
  {
42
- name: "download",
43
- size: 20,
44
- color: n.blackBG
26
+ className: "flex-shrink-0",
27
+ name: "file",
28
+ color: n.greenLight,
29
+ size: s
45
30
  }
46
- )
47
- }
48
- )
49
- ] })) }) });
50
- m.propsToEdit = f;
31
+ ),
32
+ /* @__PURE__ */ a("div", { className: "flex flex-col max-tablet:gap-2 ", children: [
33
+ /* @__PURE__ */ o("p", { className: "text-[20px] leading-7 font-bold", children: e == null ? void 0 : e.title }),
34
+ /* @__PURE__ */ o("p", { className: "text-[16px] leading-6", children: e == null ? void 0 : e.text })
35
+ ] })
36
+ ] }),
37
+ /* @__PURE__ */ o(
38
+ c,
39
+ {
40
+ variant: x.Secondary,
41
+ onClick: () => i({ props: { link: e == null ? void 0 : e.file } }),
42
+ iconRight: /* @__PURE__ */ o(
43
+ t,
44
+ {
45
+ name: "download",
46
+ size: 20,
47
+ color: n.blackBG
48
+ }
49
+ )
50
+ }
51
+ )
52
+ ] })) }) });
53
+ };
54
+ h.propsToEdit = b;
51
55
  export {
52
- m as DownloadFileFull,
53
- x as downloadFileFullProps,
54
- f as propsToEdit
56
+ h as DownloadFileFull,
57
+ f as downloadFileFullProps,
58
+ b as propsToEdit
55
59
  };
@@ -1,62 +1,66 @@
1
- import { jsx as l, jsxs as n } from "react/jsx-runtime";
2
- import { downloadFile as i } from "../../../Actions/downloadFile/downloadFile.js";
3
- import { DataTypesEnum as d, FieldTypes as a } from "../../../Types/FiledTypes.js";
4
- import { I as e } from "../../../Icon-70ea6cb8.js";
1
+ import { jsx as l, jsxs as r } from "react/jsx-runtime";
2
+ import { downloadFile as t } from "../../../Actions/downloadFile/downloadFile.js";
3
+ import { DataTypesEnum as c, FieldTypes as e } from "../../../Types/FiledTypes.js";
4
+ import { I as n } from "../../../Icon-70ea6cb8.js";
5
5
  import { p as s } from "../../../palette-c2fe86ec.js";
6
- import { B as c } from "../../../index-875e92ce.js";
7
- import { b as t } from "../../../const-53dff524.js";
8
- import { C as f } from "../../../ComponentContainer-68340535.js";
9
- const x = {
10
- dataType: d.array,
6
+ import { B as d } from "../../../index-875e92ce.js";
7
+ import { b as x } from "../../../const-53dff524.js";
8
+ import { C as f } from "../../../ComponentContainer-841196f9.js";
9
+ import { u as m } from "../../../useScreenSize-c1b64c02.js";
10
+ const b = {
11
+ dataType: c.array,
11
12
  type: "data",
12
13
  label: "Файлы для скачивания",
13
14
  data: {
14
- title: a.STRING,
15
- text: a.STRING,
16
- file: a.FILE
15
+ title: e.STRING,
16
+ text: e.STRING,
17
+ file: e.FILE
17
18
  }
18
- }, h = [x, "color_icon"], m = ({ data: r, color_icon: p }) => /* @__PURE__ */ l(f, { children: /* @__PURE__ */ l("div", { className: "grid grid-cols-2 gap-6 max-tablet:grid-cols-1", children: r == null ? void 0 : r.map((o) => /* @__PURE__ */ n(
19
- "div",
20
- {
21
- className: "p-[32px] bg-white rounded-[20px] flex justify-between gap-[40px]",
22
- children: [
23
- /* @__PURE__ */ l("div", { className: "flex flex-col ", children: /* @__PURE__ */ n("div", { children: [
24
- /* @__PURE__ */ l("p", { className: "text-[24px] leading-8 font-bold mb-4", children: o == null ? void 0 : o.title }),
25
- /* @__PURE__ */ l("p", { className: "text-[16px] leading-6", children: o == null ? void 0 : o.text }),
19
+ }, g = [b, "color_icon"], h = ({ data: a, color_icon: p }) => {
20
+ const i = m(960) ? 30 : 48;
21
+ return /* @__PURE__ */ l(f, { children: /* @__PURE__ */ l("div", { className: "grid grid-cols-2 gap-6 max-tablet:grid-cols-1", children: a == null ? void 0 : a.map((o) => /* @__PURE__ */ r(
22
+ "div",
23
+ {
24
+ className: "p-[32px] bg-white rounded-[20px] flex max-tablet:flex-col-reverse justify-between gap-[40px] max-tablet:gap-[24px]",
25
+ children: [
26
+ /* @__PURE__ */ l("div", { className: "flex flex-col ", children: /* @__PURE__ */ r("div", { children: [
27
+ /* @__PURE__ */ l("p", { className: "text-[24px] leading-[32px] font-bold mb-[16px] max-tablet:mb-[12px]", children: o == null ? void 0 : o.title }),
28
+ /* @__PURE__ */ l("p", { className: "text-[16px] leading-[24px]", children: o == null ? void 0 : o.text }),
29
+ /* @__PURE__ */ l(
30
+ d,
31
+ {
32
+ onClick: () => t({ props: { link: o == null ? void 0 : o.file } }),
33
+ iconRight: /* @__PURE__ */ l(
34
+ n,
35
+ {
36
+ name: "download",
37
+ size: 20,
38
+ color: s.blackBG
39
+ }
40
+ ),
41
+ className: "mt-8 max-tablet:mt-[24px]",
42
+ variant: x.Secondary,
43
+ children: "Скачать"
44
+ }
45
+ )
46
+ ] }) }),
26
47
  /* @__PURE__ */ l(
27
- c,
48
+ n,
28
49
  {
29
- onClick: () => i({ props: { link: o == null ? void 0 : o.file } }),
30
- iconRight: /* @__PURE__ */ l(
31
- e,
32
- {
33
- name: "download",
34
- size: 20,
35
- color: s.blackBG
36
- }
37
- ),
38
- className: "mt-8",
39
- variant: t.Secondary,
40
- children: "Скачать"
50
+ className: "flex-shrink-0",
51
+ name: "file",
52
+ color: p || s.greenLight,
53
+ size: i
41
54
  }
42
55
  )
43
- ] }) }),
44
- /* @__PURE__ */ l(
45
- e,
46
- {
47
- className: "flex-shrink-0",
48
- name: "file",
49
- color: p || s.greenLight,
50
- size: 48
51
- }
52
- )
53
- ]
54
- },
55
- o == null ? void 0 : o.id
56
- )) }) });
57
- m.propsToEdit = h;
56
+ ]
57
+ },
58
+ o == null ? void 0 : o.id
59
+ )) }) });
60
+ };
61
+ h.propsToEdit = g;
58
62
  export {
59
- m as DownloadFileHalf,
60
- x as downloadFileFullProps,
61
- h as propsToEdit
63
+ h as DownloadFileHalf,
64
+ b as downloadFileFullProps,
65
+ g as propsToEdit
62
66
  };
@@ -5,7 +5,7 @@ import { I as e } from "../../../Icon-70ea6cb8.js";
5
5
  import { p } from "../../../palette-c2fe86ec.js";
6
6
  import { B as d } from "../../../index-875e92ce.js";
7
7
  import { b as c } from "../../../const-53dff524.js";
8
- import { C as t } from "../../../ComponentContainer-68340535.js";
8
+ import { C as t } from "../../../ComponentContainer-841196f9.js";
9
9
  const y = {
10
10
  dataType: i.array,
11
11
  type: "data",