md-components-mdigial-azamat 0.0.108 → 0.0.109

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 (48) hide show
  1. package/dist/ActionCardList/ActionCardList.js +9 -4
  2. package/dist/ActionCardList/index.js +1 -1
  3. package/dist/ActionCardList/info.js +1 -1
  4. package/dist/ActionIconList/ActionIconList.js +6 -1
  5. package/dist/Actions/actionsGenerator.js +30 -11
  6. package/dist/Actions/handlers/download.js +10 -0
  7. package/dist/Actions/handlers/fallback.js +4 -0
  8. package/dist/Actions/handlers/index.js +10 -0
  9. package/dist/Actions/handlers/link.js +6 -0
  10. package/dist/Actions/handlers/modal.js +11 -0
  11. package/dist/Actions/index.js +9 -11
  12. package/dist/Actions/projectActions.js +13 -0
  13. package/dist/Actions/types.js +6 -1
  14. package/dist/AllComponents.js +8 -3
  15. package/dist/AllComponentsInfo.js +96 -90
  16. package/dist/ButtonsList/ButtonsList.js +32 -0
  17. package/dist/ButtonsList/index.js +4 -0
  18. package/dist/ButtonsList/info.js +11 -0
  19. package/dist/ButtonsList/schema.js +21 -0
  20. package/dist/ButtonsList/types.js +1 -0
  21. package/dist/Cards/CardImage/CardImage.js +8 -6
  22. package/dist/Cards/WarningCard/WarningCard.js +8 -3
  23. package/dist/Cards/WarningCard/index.js +1 -1
  24. package/dist/Cards/WarningCard/info.js +1 -1
  25. package/dist/DownloadFile/components/DownloadFileFull/DownloadFileFull.js +28 -25
  26. package/dist/DownloadFile/components/DownloadFileHalf/DownloadFileHalf.js +25 -22
  27. package/dist/DownloadFile/components/FileBannerSecondary/FileBannerSecondary.js +21 -18
  28. package/dist/Forms/FormDefault/index.js +1 -1
  29. package/dist/Forms/FormDefault/info.js +10 -5
  30. package/dist/Forms/helpers/renderFormFields.js +1 -1
  31. package/dist/Forms/model/components.js +8 -3
  32. package/dist/HeroIconsBanner/HeroIconsBanner.js +61 -0
  33. package/dist/HeroIconsBanner/index.js +4 -0
  34. package/dist/HeroIconsBanner/info.js +11 -0
  35. package/dist/HeroIconsBanner/schema.js +40 -0
  36. package/dist/HeroIconsBanner/types.js +1 -0
  37. package/dist/IconList/IconList.js +39 -0
  38. package/dist/IconList/index.js +4 -0
  39. package/dist/IconList/info.js +11 -0
  40. package/dist/IconList/schema.js +26 -0
  41. package/dist/IconList/types.js +1 -0
  42. package/dist/PageViewer/renderComponents.js +1 -1
  43. package/dist/RenderAllComponents/RenderAllComponents.js +1 -1
  44. package/dist/assets/index.css +1 -1
  45. package/dist/{componentsMap-d2b8d2d4.js → componentsMap-855b1df7.js} +1 -1
  46. package/dist/{info-f6e88bd8.js → info-34fbb2a8.js} +17 -12
  47. package/dist/main.js +32 -26
  48. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  import "../../index-0a5f313c.js";
2
- import { w as n } from "../../info-f6e88bd8.js";
2
+ import { w as n } from "../../info-34fbb2a8.js";
3
3
  export {
4
4
  n as warningCardInfo
5
5
  };
@@ -1,32 +1,33 @@
1
1
  import { jsx as o, jsxs as a } from "react/jsx-runtime";
2
- import { downloadFile as i } from "../../../Actions/downloadFile/downloadFile.js";
3
- import { DataTypesEnum as p, FieldTypes as r } from "../../../Types/FiledTypes.js";
4
- import { I as t } from "../../../Icon-70ea6cb8.js";
2
+ import { invokeProjectAction as s } from "../../../Actions/projectActions.js";
3
+ import { Actions as p } from "../../../Actions/types.js";
4
+ import { DataTypesEnum as c, FieldTypes as t } from "../../../Types/FiledTypes.js";
5
+ import { I as r } from "../../../Icon-70ea6cb8.js";
5
6
  import { p as n } from "../../../palette-c2fe86ec.js";
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-dca711c6.js";
9
- import { u as m } from "../../../useScreenSize-c1b64c02.js";
10
- const f = {
11
- dataType: p.array,
7
+ import { B as x } from "../../../index-875e92ce.js";
8
+ import { b as d } from "../../../const-53dff524.js";
9
+ import { C as m } from "../../../ComponentContainer-dca711c6.js";
10
+ import { u as f } from "../../../useScreenSize-c1b64c02.js";
11
+ const b = {
12
+ dataType: c.array,
12
13
  type: "data",
13
14
  label: "Файлы для скачивания",
14
15
  data: {
15
- title: r.STRING,
16
- text: r.STRING,
17
- file: r.FILE
16
+ title: t.STRING,
17
+ text: t.STRING,
18
+ file: t.FILE
18
19
  }
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: [
20
+ }, h = [b], u = ({ data: l }) => {
21
+ const i = f(960) ? 30 : 44;
22
+ return /* @__PURE__ */ o(m, { 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
23
  /* @__PURE__ */ a("div", { className: "flex items-center gap-[16px] max-tablet:flex-col max-tablet:items-start", children: [
23
24
  /* @__PURE__ */ o(
24
- t,
25
+ r,
25
26
  {
26
27
  className: "flex-shrink-0",
27
28
  name: "file",
28
29
  color: n.greenLight,
29
- size: s
30
+ size: i
30
31
  }
31
32
  ),
32
33
  /* @__PURE__ */ a("div", { className: "flex flex-col max-tablet:gap-2 ", children: [
@@ -35,12 +36,14 @@ const f = {
35
36
  ] })
36
37
  ] }),
37
38
  /* @__PURE__ */ o(
38
- c,
39
+ x,
39
40
  {
40
- variant: x.Secondary,
41
- onClick: () => i({ props: { link: e == null ? void 0 : e.file } }),
41
+ variant: d.Secondary,
42
+ onClick: () => s(p.downloadFile.key, {
43
+ props: { link: e == null ? void 0 : e.file }
44
+ }),
42
45
  iconRight: /* @__PURE__ */ o(
43
- t,
46
+ r,
44
47
  {
45
48
  name: "download",
46
49
  size: 20,
@@ -51,9 +54,9 @@ const f = {
51
54
  )
52
55
  ] })) }) });
53
56
  };
54
- h.propsToEdit = b;
57
+ u.propsToEdit = h;
55
58
  export {
56
- h as DownloadFileFull,
57
- f as downloadFileFullProps,
58
- b as propsToEdit
59
+ u as DownloadFileFull,
60
+ b as downloadFileFullProps,
61
+ h as propsToEdit
59
62
  };
@@ -1,24 +1,25 @@
1
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";
2
+ import { invokeProjectAction as p } from "../../../Actions/projectActions.js";
3
+ import { Actions as c } from "../../../Actions/types.js";
4
+ import { DataTypesEnum as d, FieldTypes as a } from "../../../Types/FiledTypes.js";
4
5
  import { I as n } from "../../../Icon-70ea6cb8.js";
5
6
  import { p as s } from "../../../palette-c2fe86ec.js";
6
- import { B as d } from "../../../index-875e92ce.js";
7
- import { b as x } from "../../../const-53dff524.js";
7
+ import { B as x } from "../../../index-875e92ce.js";
8
+ import { b as m } from "../../../const-53dff524.js";
8
9
  import { C as f } from "../../../ComponentContainer-dca711c6.js";
9
- import { u as m } from "../../../useScreenSize-c1b64c02.js";
10
- const b = {
11
- dataType: c.array,
10
+ import { u as b } from "../../../useScreenSize-c1b64c02.js";
11
+ const g = {
12
+ dataType: d.array,
12
13
  type: "data",
13
14
  label: "Файлы для скачивания",
14
15
  data: {
15
- title: e.STRING,
16
- text: e.STRING,
17
- file: e.FILE
16
+ title: a.STRING,
17
+ text: a.STRING,
18
+ file: a.FILE
18
19
  }
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(
20
+ }, h = [g, "color_icon"], u = ({ data: e, color_icon: i }) => {
21
+ const t = b(960) ? 30 : 48;
22
+ return /* @__PURE__ */ l(f, { children: /* @__PURE__ */ l("div", { className: "grid grid-cols-2 gap-6 max-tablet:grid-cols-1", children: e == null ? void 0 : e.map((o) => /* @__PURE__ */ r(
22
23
  "div",
23
24
  {
24
25
  className: "p-[32px] bg-white rounded-[20px] flex max-tablet:flex-col-reverse justify-between gap-[40px] max-tablet:gap-[24px]",
@@ -27,9 +28,11 @@ const b = {
27
28
  /* @__PURE__ */ l("p", { className: "text-[24px] leading-[32px] font-bold mb-[16px] max-tablet:mb-[12px]", children: o == null ? void 0 : o.title }),
28
29
  /* @__PURE__ */ l("p", { className: "text-[16px] leading-[24px]", children: o == null ? void 0 : o.text }),
29
30
  /* @__PURE__ */ l(
30
- d,
31
+ x,
31
32
  {
32
- onClick: () => t({ props: { link: o == null ? void 0 : o.file } }),
33
+ onClick: () => p(c.downloadFile.key, {
34
+ props: { link: o == null ? void 0 : o.file }
35
+ }),
33
36
  iconRight: /* @__PURE__ */ l(
34
37
  n,
35
38
  {
@@ -39,7 +42,7 @@ const b = {
39
42
  }
40
43
  ),
41
44
  className: "mt-8 max-tablet:mt-[24px]",
42
- variant: x.Secondary,
45
+ variant: m.Secondary,
43
46
  children: "Скачать"
44
47
  }
45
48
  )
@@ -49,8 +52,8 @@ const b = {
49
52
  {
50
53
  className: "flex-shrink-0",
51
54
  name: "file",
52
- color: p || s.greenLight,
53
- size: i
55
+ color: i || s.greenLight,
56
+ size: t
54
57
  }
55
58
  )
56
59
  ]
@@ -58,9 +61,9 @@ const b = {
58
61
  o == null ? void 0 : o.id
59
62
  )) }) });
60
63
  };
61
- h.propsToEdit = g;
64
+ u.propsToEdit = h;
62
65
  export {
63
- h as DownloadFileHalf,
64
- b as downloadFileFullProps,
65
- g as propsToEdit
66
+ u as DownloadFileHalf,
67
+ g as downloadFileFullProps,
68
+ h as propsToEdit
66
69
  };
@@ -1,30 +1,33 @@
1
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-dca711c6.js";
2
+ import { invokeProjectAction as m } from "../../../Actions/projectActions.js";
3
+ import { Actions as p } from "../../../Actions/types.js";
4
+ import { I as o } from "../../../Icon-70ea6cb8.js";
5
+ import { p as l } from "../../../palette-c2fe86ec.js";
6
+ import { B as s } from "../../../index-875e92ce.js";
7
+ import { C as c } from "../../../ComponentContainer-dca711c6.js";
7
8
  import { u as x } from "../../../useScreenSize-c1b64c02.js";
8
- const c = ["title", "text", "link"], d = ({
9
- title: o,
9
+ const d = ["title", "text", "link"], f = ({
10
+ title: a,
10
11
  text: i,
11
12
  link: r
12
13
  }) => {
13
14
  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
+ return /* @__PURE__ */ e(c, { 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
16
  /* @__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-[32px] max-tablet:text-[24px] leading-10 max-tablet:leading-[28px] font-bold mb-4 max-tablet:mb-[16px]", children: a }),
17
18
  /* @__PURE__ */ e("p", { className: "text-[16px] leading-6", children: i }),
18
19
  /* @__PURE__ */ e(
19
- p,
20
+ s,
20
21
  {
21
- onClick: () => m({ props: { link: r } }),
22
+ onClick: () => m(p.downloadFile.key, {
23
+ props: { link: r }
24
+ }),
22
25
  iconRight: /* @__PURE__ */ e(
23
- l,
26
+ o,
24
27
  {
25
28
  name: "download",
26
29
  size: 20,
27
- color: a.blackBG
30
+ color: l.blackBG
28
31
  }
29
32
  ),
30
33
  className: "w-fit max-tablet:w-full mt-8",
@@ -33,18 +36,18 @@ const c = ["title", "text", "link"], d = ({
33
36
  )
34
37
  ] }) }),
35
38
  /* @__PURE__ */ e(
36
- l,
39
+ o,
37
40
  {
38
41
  className: "flex-shrink-0",
39
42
  name: "file",
40
- color: a.greenLight,
43
+ color: l.greenLight,
41
44
  size: n ? 56 : 82
42
45
  }
43
46
  )
44
47
  ] }) });
45
48
  };
46
- d.propsToEdit = c;
49
+ f.propsToEdit = d;
47
50
  export {
48
- d as FileBannerSecondary,
49
- c as propsToEdit
51
+ f as FileBannerSecondary,
52
+ d as propsToEdit
50
53
  };
@@ -3,7 +3,7 @@ import "react";
3
3
  import "../../index-a0ed2e4a.js";
4
4
  import "../../index-875e92ce.js";
5
5
  import "../../const-53dff524.js";
6
- import { F, l as d } from "../../info-f6e88bd8.js";
6
+ import { F, l as d } from "../../info-34fbb2a8.js";
7
7
  import "../../ComponentContainer-dca711c6.js";
8
8
  import "../../useScreenSize-c1b64c02.js";
9
9
  import "../../requestForm-23442a57.js";
@@ -28,7 +28,7 @@ import "../../PartnersColors/PartnersColors.js";
28
28
  import "../../PreviewList/PreviewList.js";
29
29
  import "../../Cards/CardImage/CardImage.js";
30
30
  import "../../Cards/ContentCard/ContentCard.js";
31
- import { k as $o, f as or, j as rr, i as mr } from "../../info-f6e88bd8.js";
31
+ import { k as pr, f as tr, j as fr, i as sr } from "../../info-34fbb2a8.js";
32
32
  import "../../Cards/ColoredCard/index.js";
33
33
  import "../../Cards/FeaturesCard/index.js";
34
34
  import "../../DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js";
@@ -58,6 +58,8 @@ import "react-dom";
58
58
  import "../../AnimatedSwiper/info.js";
59
59
  import "../../Banner/info.js";
60
60
  import "../../BannerAndText/info.js";
61
+ import "../../HeroIconsBanner/info.js";
62
+ import "../../ButtonsList/info.js";
61
63
  import "../../CardIconList/info.js";
62
64
  import "../../CardImageList/info.js";
63
65
  import "../../CardImageSecondary/info.js";
@@ -77,6 +79,7 @@ import "../../Faq/info.js";
77
79
  import "../../Footer/info.js";
78
80
  import "../../Header/info.js";
79
81
  import "../../HeroPossibilityBanner/info.js";
82
+ import "../../IconList/info.js";
80
83
  import "../../InfoBanner/info.js";
81
84
  import "../../InfoBannerList/info.js";
82
85
  import "../../InstructionList/info.js";
@@ -99,13 +102,15 @@ import "../../Video/VideoList/info.js";
99
102
  import "../../Video/VideoListMini/info.js";
100
103
  import "../../VideoMainBanner/info.js";
101
104
  import "../../Actions/types.js";
105
+ import "../../Actions/projectActions.js";
106
+ import "../../HeroIconsBanner/HeroIconsBanner.js";
102
107
  import "../../requestForm-23442a57.js";
103
108
  import "../../index-0a5f313c.js";
104
109
  import "./componentTypes.js";
105
110
  import "./fieldTypesList.js";
106
111
  export {
107
- $o as FormFieldsProps,
108
- or as formDefaultInfo,
109
- rr as formDefaultProps,
110
- mr as info
112
+ pr as FormFieldsProps,
113
+ tr as formDefaultInfo,
114
+ fr as formDefaultProps,
115
+ sr as info
111
116
  };
@@ -1,7 +1,7 @@
1
1
  import "react/jsx-runtime";
2
2
  import "../../index-a0ed2e4a.js";
3
3
  import "../../index-6686852d.js";
4
- import { r as p } from "../../info-f6e88bd8.js";
4
+ import { r as p } from "../../info-34fbb2a8.js";
5
5
  export {
6
6
  p as renderFormFields
7
7
  };
@@ -28,7 +28,7 @@ import "../../PartnersColors/PartnersColors.js";
28
28
  import "../../PreviewList/PreviewList.js";
29
29
  import "../../Cards/CardImage/CardImage.js";
30
30
  import "../../Cards/ContentCard/ContentCard.js";
31
- import { h as Wo, g as Xo } from "../../info-f6e88bd8.js";
31
+ import { h as $o, g as op } from "../../info-34fbb2a8.js";
32
32
  import "../../Cards/ColoredCard/index.js";
33
33
  import "../../Cards/FeaturesCard/index.js";
34
34
  import "../../DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js";
@@ -57,6 +57,8 @@ import "react-dom";
57
57
  import "../../AnimatedSwiper/info.js";
58
58
  import "../../Banner/info.js";
59
59
  import "../../BannerAndText/info.js";
60
+ import "../../HeroIconsBanner/info.js";
61
+ import "../../ButtonsList/info.js";
60
62
  import "../../CardIconList/info.js";
61
63
  import "../../CardImageList/info.js";
62
64
  import "../../CardImageSecondary/info.js";
@@ -76,6 +78,7 @@ import "../../Faq/info.js";
76
78
  import "../../Footer/info.js";
77
79
  import "../../Header/info.js";
78
80
  import "../../HeroPossibilityBanner/info.js";
81
+ import "../../IconList/info.js";
79
82
  import "../../InfoBanner/info.js";
80
83
  import "../../InfoBannerList/info.js";
81
84
  import "../../InstructionList/info.js";
@@ -98,7 +101,9 @@ import "../../Video/VideoList/info.js";
98
101
  import "../../Video/VideoListMini/info.js";
99
102
  import "../../VideoMainBanner/info.js";
100
103
  import "../../Actions/types.js";
104
+ import "../../Actions/projectActions.js";
105
+ import "../../HeroIconsBanner/HeroIconsBanner.js";
101
106
  export {
102
- Wo as componentsList,
103
- Xo as componentsMap
107
+ $o as componentsList,
108
+ op as componentsMap
104
109
  };
@@ -0,0 +1,61 @@
1
+ import { jsxs as t, jsx as e } from "react/jsx-runtime";
2
+ import { ButtonsList as s } from "../ButtonsList/ButtonsList.js";
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 = ({
8
+ title: l,
9
+ description: a,
10
+ 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;
59
+ export {
60
+ f as HeroIconsBanner
61
+ };
@@ -0,0 +1,4 @@
1
+ import { HeroIconsBanner as e } from "./HeroIconsBanner.js";
2
+ export {
3
+ e as HeroIconsBanner
4
+ };
@@ -0,0 +1,11 @@
1
+ import { C as o } from "../index-0a5f313c.js";
2
+ import { propsToEdit as r } from "./schema.js";
3
+ const n = {
4
+ title: "Баннер с иконками",
5
+ description: "Баннер с фоном, заголовком, описанием, кнопками и списком ссылок с иконками.",
6
+ types: [o.banners],
7
+ propsToEdit: r
8
+ };
9
+ export {
10
+ n as heroIconsBannerInfo
11
+ };
@@ -0,0 +1,40 @@
1
+ import { AllActionsObject as a } from "../Actions/types.js";
2
+ import { FieldTypes as t } from "../Types/FiledTypes.js";
3
+ import { c as e } from "../const-53dff524.js";
4
+ const r = [
5
+ "title",
6
+ "description",
7
+ {
8
+ type: "data",
9
+ label: "Фон",
10
+ dataType: "object",
11
+ data: {
12
+ keys: {
13
+ background_image: t.FILE
14
+ }
15
+ }
16
+ },
17
+ e,
18
+ {
19
+ type: "data",
20
+ label: "Контент",
21
+ dataType: "object",
22
+ data: {
23
+ keys: {
24
+ icon_list: {
25
+ label: "Список ссылок с иконками",
26
+ dataType: "array",
27
+ type: "items",
28
+ data: {
29
+ title: t.STRING,
30
+ icon: t.FILE,
31
+ action: a
32
+ }
33
+ }
34
+ }
35
+ }
36
+ }
37
+ ];
38
+ export {
39
+ r as propsToEdit
40
+ };
@@ -0,0 +1 @@
1
+
@@ -0,0 +1,39 @@
1
+ import { jsx as e, jsxs as a } from "react/jsx-runtime";
2
+ import { actionsGenerator as o } from "../Actions/actionsGenerator.js";
3
+ import "../Actions/projectActions.js";
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",
16
+ {
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,
22
+ {
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
+ ) });
37
+ export {
38
+ x as IconList
39
+ };
@@ -0,0 +1,4 @@
1
+ import { IconList as t } from "./IconList.js";
2
+ export {
3
+ t as IconList
4
+ };
@@ -0,0 +1,11 @@
1
+ import { C as o } from "../index-0a5f313c.js";
2
+ import { propsToEdit as t } from "./schema.js";
3
+ const p = {
4
+ title: "Список действий с иконками",
5
+ description: "Список элементов с иконкой и заголовком, поддерживающий различные действия.",
6
+ types: [o.lists],
7
+ propsToEdit: t
8
+ };
9
+ export {
10
+ p as iconListInfo
11
+ };
@@ -0,0 +1,26 @@
1
+ import { AllActionsObject as a } from "../Actions/types.js";
2
+ import { FieldTypes as t } from "../Types/FiledTypes.js";
3
+ const i = [
4
+ {
5
+ type: "data",
6
+ label: "Контент",
7
+ dataType: "object",
8
+ data: {
9
+ keys: {
10
+ items: {
11
+ label: "Список ссылок с иконками",
12
+ dataType: "array",
13
+ type: "items",
14
+ data: {
15
+ title: t.STRING,
16
+ icon: t.FILE,
17
+ action: a
18
+ }
19
+ }
20
+ }
21
+ }
22
+ }
23
+ ];
24
+ export {
25
+ i as propsToEdit
26
+ };
@@ -0,0 +1 @@
1
+
@@ -1,5 +1,5 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
- import { c as f } from "../componentsMap-d2b8d2d4.js";
2
+ import { c as f } from "../componentsMap-855b1df7.js";
3
3
  const a = (p) => p.map((r) => {
4
4
  const s = f[r.key];
5
5
  if (!s)
@@ -1,5 +1,5 @@
1
1
  import { jsx as n, Fragment as t } from "react/jsx-runtime";
2
- import { c as i } from "../componentsMap-d2b8d2d4.js";
2
+ import { c as i } from "../componentsMap-855b1df7.js";
3
3
  const d = ({ components: o, device: p }) => /* @__PURE__ */ n(t, { children: o.map((r) => {
4
4
  const e = i[r.key];
5
5
  return e ? /* @__PURE__ */ n(