md-components-mdigial-azamat 0.0.45 → 0.0.46

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 (143) hide show
  1. package/dist/AllComponents.js +167 -33
  2. package/dist/AllComponentsInfo.js +95 -0
  3. package/dist/AnimatedSwiper/index.js +139 -10
  4. package/dist/AnimatedSwiper/info.js +11 -0
  5. package/dist/Banner/Banner.js +4 -3
  6. package/dist/Banner/info.js +11 -0
  7. package/dist/BannerAndText/index.js +2 -1
  8. package/dist/BannerAndText/info.js +11 -0
  9. package/dist/CardIconList/CardIconList.js +3 -2
  10. package/dist/CardIconList/info.js +11 -0
  11. package/dist/CardImageList/CardImageList.js +4 -3
  12. package/dist/CardImageList/info.js +11 -0
  13. package/dist/CardImageSecondary/CardImageSecondary.js +2 -1
  14. package/dist/CardImageSecondary/info.js +11 -0
  15. package/dist/CardImageSecondaryList/CardImageSecondaryList.js +2 -1
  16. package/dist/CardImageSecondaryList/info.js +11 -0
  17. package/dist/CardInfoTable/index.js +4 -3
  18. package/dist/CardInfoTable/info.js +11 -0
  19. package/dist/Cards/CardImage/CardImage.js +2 -1
  20. package/dist/Cards/CardImage/info.js +11 -0
  21. package/dist/Cards/ColoredCard/index.js +2 -1
  22. package/dist/Cards/ColoredCard/info.js +11 -0
  23. package/dist/Cards/ContentCard/ContentCard.js +36 -35
  24. package/dist/Cards/ContentCard/info.js +11 -0
  25. package/dist/Cards/FeaturesCard/index.js +3 -2
  26. package/dist/Cards/FeaturesCard/info.js +11 -0
  27. package/dist/Cards/WarningCard/WarningCard.js +7 -6
  28. package/dist/Cards/WarningCard/info.js +11 -0
  29. package/dist/ContentCardList/ContentCardList.js +23 -19
  30. package/dist/ContentCardList/info.js +11 -0
  31. package/dist/DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js +3 -2
  32. package/dist/DownloadFile/components/DownloadFileBanner/info.js +11 -0
  33. package/dist/DownloadFile/components/DownloadFileBright/index.js +3 -2
  34. package/dist/DownloadFile/components/DownloadFileBright/info.js +11 -0
  35. package/dist/DownloadFile/components/DownloadFileFull/DownloadFileFull.js +4 -3
  36. package/dist/DownloadFile/components/DownloadFileFull/info.js +11 -0
  37. package/dist/DownloadFile/components/DownloadFileHalf/DownloadFileHalf.js +4 -3
  38. package/dist/DownloadFile/components/DownloadFileHalf/info.js +11 -0
  39. package/dist/DownloadFile/components/DownloadFileMini/DownloadFileMini.js +5 -4
  40. package/dist/DownloadFile/components/DownloadFileMini/info.js +11 -0
  41. package/dist/Faq/Faq.js +2 -1
  42. package/dist/Faq/components/FeedbackForm/FeedbackForm.js +2 -2
  43. package/dist/Faq/info.js +11 -0
  44. package/dist/Footer/Footer.js +96 -54
  45. package/dist/Footer/info.js +10 -0
  46. package/dist/Header/Header.js +60 -6
  47. package/dist/Header/components/HeaderCard/HeaderCard.js +2 -2
  48. package/dist/Header/components/HeaderMainMobile/HeaderMainMobile.js +1 -1
  49. package/dist/Header/components/HeaderMenuMobile/HeaderMenuMobile.js +52 -44
  50. package/dist/Header/components/HeaderMobile/HeaderMobile.js +71 -9
  51. package/dist/Header/components/HeaderMobile/index.js +1 -1
  52. package/dist/Header/components/HeaderSearch/HeaderSearch.js +157 -11
  53. package/dist/Header/components/HeaderSearch/index.js +2 -2
  54. package/dist/Header/components/HeaderTabsMobile/HeaderTabsMobile.js +8 -7
  55. package/dist/Header/components/HeaderWeb/HeaderWeb.js +11 -11
  56. package/dist/Header/components/SelectLanguage/SelectLanguage.js +1 -1
  57. package/dist/Header/components/TabsOutlined/TabsOutlined.js +11 -10
  58. package/dist/Header/index.js +2 -2
  59. package/dist/Header/info.js +10 -0
  60. package/dist/HeroPossibilityBanner/index.js +2 -1
  61. package/dist/HeroPossibilityBanner/info.js +11 -0
  62. package/dist/HtmlContent/HtmlContent.js +2 -1
  63. package/dist/HtmlContent/info.js +10 -0
  64. package/dist/InfoBanner/index.js +3 -2
  65. package/dist/InfoBanner/info.js +11 -0
  66. package/dist/InfoBannerList/InfoBannerList.js +49 -7
  67. package/dist/InfoBannerList/index.js +2 -2
  68. package/dist/InfoBannerList/info.js +11 -0
  69. package/dist/InstructionList/InstructionList.js +31 -7
  70. package/dist/InstructionList/components/InstructionCard/InstructionCard.js +80 -46
  71. package/dist/InstructionList/components/InstructionCard/index.js +1 -1
  72. package/dist/InstructionList/index.js +1 -1
  73. package/dist/InstructionList/info.js +11 -0
  74. package/dist/IntroBanner/IntroBanner.js +3 -2
  75. package/dist/IntroBanner/info.js +11 -0
  76. package/dist/MainBanner/MainBanner.js +4 -3
  77. package/dist/MainBanner/info.js +11 -0
  78. package/dist/MultiCards/index.js +2 -1
  79. package/dist/MultiCards/info.js +11 -0
  80. package/dist/PageViewer/PageViewer.js +4 -43
  81. package/dist/PageViewer/renderComponents.js +1 -1
  82. package/dist/Partners/Partners.js +2 -1
  83. package/dist/Partners/info.js +11 -0
  84. package/dist/PartnersColors/PartnersColors.js +2 -1
  85. package/dist/PartnersColors/info.js +11 -0
  86. package/dist/PreviewList/PreviewList.js +31 -6
  87. package/dist/PreviewList/components/PreviewCard/PreviewCard.js +29 -45
  88. package/dist/PreviewList/components/PreviewCard/index.js +2 -2
  89. package/dist/PreviewList/index.js +1 -1
  90. package/dist/PreviewList/info.js +11 -0
  91. package/dist/PromoPoster/PromoPoster.js +45 -7
  92. package/dist/PromoPoster/info.js +11 -0
  93. package/dist/RenderAllComponents/RenderAllComponents.js +1 -1
  94. package/dist/RenderAllComponents/const.js +1 -1
  95. package/dist/Segments/Segments.js +2 -1
  96. package/dist/Segments/info.js +11 -0
  97. package/dist/Space/Space.js +2 -1
  98. package/dist/Space/info.js +11 -0
  99. package/dist/StandartTable/components/CardMarkedRow/index.js +88 -46
  100. package/dist/StandartTable/components/CardWarning/index.js +2 -2
  101. package/dist/StandartTable/index.js +76 -7
  102. package/dist/StandartTable/info.js +11 -0
  103. package/dist/Stepper/Stepper.js +4 -3
  104. package/dist/Stepper/info.js +11 -0
  105. package/dist/SwiperList/SwiperList.js +119 -10
  106. package/dist/SwiperList/index.js +1 -1
  107. package/dist/SwiperList/info.js +11 -0
  108. package/dist/TasksBanner/TasksBanner.js +132 -9
  109. package/dist/TasksBanner/index.js +2 -2
  110. package/dist/TasksBanner/info.js +11 -0
  111. package/dist/TasksBannerList/TasksBannerList.js +36 -5
  112. package/dist/TasksBannerList/index.js +2 -2
  113. package/dist/TasksBannerList/info.js +11 -0
  114. package/dist/Video/VideoFull/VideoFull.js +2 -1
  115. package/dist/Video/VideoFull/info.js +11 -0
  116. package/dist/Video/VideoList/VideoList.js +2 -1
  117. package/dist/Video/VideoList/info.js +11 -0
  118. package/dist/Video/VideoListMini/VideoListMini.js +2 -1
  119. package/dist/Video/VideoListMini/info.js +11 -0
  120. package/dist/VideoMainBanner/VideoMainBanner.js +3 -2
  121. package/dist/VideoMainBanner/info.js +11 -0
  122. package/dist/assets/TasksBanner.css +1 -0
  123. package/dist/assets/{index2.css → navigation.css} +1 -1
  124. package/dist/clientApi-642fea4b.js +25 -0
  125. package/dist/componentsMap-b3ef1658.js +75 -0
  126. package/dist/{const-637b0dca.js → const-53dff524.js} +3 -3
  127. package/dist/createBoolean-56064b0d.js +12 -0
  128. package/dist/{data.mock-483400cb.js → data.mock-2412b65a.js} +94 -96
  129. package/dist/{index-6af94f99.js → index-10605794.js} +1 -1
  130. package/dist/index-1a32da94.js +4 -0
  131. package/dist/{index-815f0132.js → index-b4c61de3.js} +9 -8
  132. package/dist/index.module-c8833286.js +83 -0
  133. package/dist/{languages-list-8419e560.js → languages-list-87ab3324.js} +2 -2
  134. package/dist/main.js +88 -81
  135. package/dist/mousewheel-2cf27f39.js +153 -0
  136. package/dist/navigation-48c90d3b.js +183 -0
  137. package/dist/routes-76228734.js +109 -0
  138. package/dist/{swiper-react-0815edaf.js → swiper-react-bfbb44d6.js} +507 -654
  139. package/package.json +1 -1
  140. package/dist/componentsMap-0e7046ee.js +0 -67
  141. package/dist/index-3a534581.js +0 -261
  142. package/dist/index-aa718078.js +0 -1229
  143. package/dist/routes-382632ac.js +0 -7
@@ -1,48 +1,90 @@
1
- import "react/jsx-runtime";
2
- import { m as T, C as U } from "../../../index-aa718078.js";
3
- import "../../../ConfigProvider/index.js";
4
- import "../../../Banner/Banner.js";
5
- import "../../../BannerAndText/index.js";
6
- import "../../../cn-6a4bf187.js";
7
- import "react";
8
- import "../../../index-2265d593.js";
9
- import "../../../Header/components/HeaderTabsMobile/HeaderTabsMobile.js";
10
- import "../../../HtmlContent/HtmlContent.js";
11
- import "../../../Header/components/TabsOutlined/TabsOutlined.js";
12
- import "../../../index-6af94f99.js";
13
- import "../../../const-637b0dca.js";
14
- import "../../../Stepper/Stepper.js";
15
- import "../../../Segments/Segments.js";
16
- import "../../../Video/VideoFull/VideoFull.js";
17
- import "../../../Video/VideoList/VideoList.js";
18
- import "../../../Video/VideoListMini/VideoListMini.js";
19
- import "../../../ContentCardList/ContentCardList.js";
20
- import "../../../CardIconList/CardIconList.js";
21
- import "../../../MultiCards/index.js";
22
- import "../../../Partners/Partners.js";
23
- import "../../../CardImageList/CardImageList.js";
24
- import "../../../MainBanner/MainBanner.js";
25
- import "../../../Faq/Faq.js";
26
- import "../../../HeroPossibilityBanner/index.js";
27
- import "../../../PartnersColors/PartnersColors.js";
28
- import "../../../Cards/CardImage/CardImage.js";
29
- import "../../../Cards/ContentCard/ContentCard.js";
30
- import "../../../Cards/WarningCard/WarningCard.js";
31
- import "../../../Cards/ColoredCard/index.js";
32
- import "../../../index-815f0132.js";
33
- import "../../../DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js";
34
- import "../../../DownloadFile/components/DownloadFileFull/DownloadFileFull.js";
35
- import "../../../DownloadFile/components/DownloadFileHalf/DownloadFileHalf.js";
36
- import "../../../DownloadFile/components/DownloadFileMini/DownloadFileMini.js";
37
- import "../../../Faq/components/Collapse/Collapse.js";
38
- import "../../../CardImageSecondaryList/CardImageSecondaryList.js";
39
- import "../../../CardInfoTable/index.js";
40
- import "../../../DownloadFile/components/DownloadFileBright/index.js";
41
- import "../../../IntroBanner/IntroBanner.js";
42
- import "../../../Space/Space.js";
43
- import "../../../VideoMainBanner/VideoMainBanner.js";
44
- import "../../../Types/FiledTypes.js";
1
+ import { jsxs as t, jsx as l } from "react/jsx-runtime";
2
+ import { FieldTypes as d } from "../../../Types/FiledTypes.js";
3
+ import { c as i } from "../../../createBoolean-56064b0d.js";
4
+ import { I as s } from "../../../index-2265d593.js";
5
+ import { c as e } from "../../../cn-6a4bf187.js";
6
+ const c = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTIiIHZpZXdCb3g9IjAgMCAxNiAxMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE0LjY2NzMgMS41NTMyMkw1Ljc3ODQzIDEwLjQ0MjNMMS4zMzM5OCA1Ljk5Nzg4IiBzdHJva2U9IiMxNkEzNEEiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8L3N2Zz4K", g = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxOCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEuNSAxLjQ0NjA0TDE2LjUgMTYuNDQ2TTE2LjUgMS40NDYwNEwxLjUgMTYuNDQ2IiBzdHJva2U9IiNFRjQ0NDQiIHN0cm9rZS13aWR0aD0iMiIvPgo8L3N2Zz4K", o = i({
7
+ label: "Маркированный",
8
+ type: "is_marked"
9
+ }), f = {
10
+ title: d.TITLE,
11
+ columns: {
12
+ type: "columns",
13
+ label: "Колонки",
14
+ dataType: "array",
15
+ data: {
16
+ title: d.TITLE,
17
+ description: d.DESCRIPTION,
18
+ is_marked: o
19
+ }
20
+ }
21
+ }, m = ({ title: x, columns: r, className: p }) => /* @__PURE__ */ t(
22
+ "div",
23
+ {
24
+ className: e(
25
+ "w-full grid grid-cols-[200px_3fr] gap-[24px] border-b border-greyLight",
26
+ "max-tablet:last:border-none",
27
+ "max-tablet:grid-cols-[170px_3fr] max-tablet:gap-0 max-tablet:w-fit",
28
+ p
29
+ ),
30
+ children: [
31
+ /* @__PURE__ */ l(
32
+ "p",
33
+ {
34
+ className: e(
35
+ "sticky left-0 top-0 z-10 bg-white font-medium text-[18px] leading-[24px] text-graySoft3 border-r border-greyLight",
36
+ "py-[24px] px-[32px] max-tablet:w-[170px] max-tablet:px-4 whitespace-normal"
37
+ ),
38
+ children: x
39
+ }
40
+ ),
41
+ /* @__PURE__ */ l(
42
+ "div",
43
+ {
44
+ className: e(
45
+ "grid grid-cols-[repeat(4,1fr)] max-tablet:grid-cols-[repeat(4,134px)] gap-[24px] max-tablet:gap-0 w-full"
46
+ ),
47
+ children: r == null ? void 0 : r.map((a) => /* @__PURE__ */ t(
48
+ "div",
49
+ {
50
+ className: e(
51
+ "w-full flex flex-col gap-2",
52
+ "py-[24px] max-tablet:last:py-[10px] max-tablet:px-[12px] max-tablet:last:pb-0 max-tablet:w-134px]"
53
+ ),
54
+ children: [
55
+ /* @__PURE__ */ t("div", { className: "flex flex-row items-start gap-2 w-[240px] max-tablet:w-full", children: [
56
+ (a == null ? void 0 : a.is_marked) === null ? null : a != null && a.is_marked ? /* @__PURE__ */ l(
57
+ s,
58
+ {
59
+ src: c,
60
+ alt: "check",
61
+ width: 20,
62
+ height: 20,
63
+ className: "flex items-center justify-center"
64
+ }
65
+ ) : /* @__PURE__ */ l(
66
+ s,
67
+ {
68
+ src: g,
69
+ alt: "cross",
70
+ width: 20,
71
+ height: 20,
72
+ className: "flex items-center justify-center"
73
+ }
74
+ ),
75
+ (a == null ? void 0 : a.title) && /* @__PURE__ */ l("p", { className: "text-[18px] leading-[26px] font-medium m-0 break-words", children: a == null ? void 0 : a.title })
76
+ ] }),
77
+ (a == null ? void 0 : a.description) && /* @__PURE__ */ l("div", { className: "text-[14px] leading-[20px] text-graySoft3 max-tablet:text-[13px] max-tablet:leading-[16px]", children: a == null ? void 0 : a.description })
78
+ ]
79
+ },
80
+ a == null ? void 0 : a.id
81
+ ))
82
+ }
83
+ )
84
+ ]
85
+ }
86
+ );
45
87
  export {
46
- T as CardMarkedRow,
47
- U as CardMarkedRowFields
88
+ m as CardMarkedRow,
89
+ f as CardMarkedRowFields
48
90
  };
@@ -1,8 +1,8 @@
1
1
  import { jsxs as n, jsx as s } from "react/jsx-runtime";
2
2
  import { a as r } from "../../../cn-6a4bf187.js";
3
3
  import { HtmlContent as c } from "../../../HtmlContent/HtmlContent.js";
4
- import { B as x } from "../../../index-6af94f99.js";
5
- import { a as p, B as t } from "../../../const-637b0dca.js";
4
+ import { B as x } from "../../../index-10605794.js";
5
+ import { b as p, a as t } from "../../../const-53dff524.js";
6
6
  import { I as f } from "../../../index-2265d593.js";
7
7
  const B = ({
8
8
  data: e,
@@ -1,9 +1,78 @@
1
- import "react/jsx-runtime";
2
- import "../Types/FiledTypes.js";
3
- import "../ComponentContainer-cdb2528c.js";
4
- import "../cn-6a4bf187.js";
5
- import { c as e } from "../index-aa718078.js";
6
- import "./components/CardWarning/index.js";
1
+ import { jsxs as i, jsx as n } from "react/jsx-runtime";
2
+ import { FieldTypes as o } from "../Types/FiledTypes.js";
3
+ import { C as l } from "../ComponentContainer-cdb2528c.js";
4
+ import { c as p } from "../cn-6a4bf187.js";
5
+ import { CardMarkedRow as c, CardMarkedRowFields as t } from "./components/CardMarkedRow/index.js";
6
+ import { CardWarning as x } from "./components/CardWarning/index.js";
7
+ const g = {
8
+ type: "table",
9
+ label: "Таблица",
10
+ dataType: "object",
11
+ data: {
12
+ keys: {
13
+ image: o.FILE,
14
+ image_mob: o.FILE,
15
+ warning: {
16
+ dataType: o.OBJECT,
17
+ label: "Предупреждение",
18
+ type: "warning",
19
+ keys: {
20
+ warning_title: o.TITLE,
21
+ warning_description: o.DESCRIPTION
22
+ }
23
+ }
24
+ }
25
+ }
26
+ }, w = {
27
+ type: "rows",
28
+ label: "Строки таблицы",
29
+ dataType: "array",
30
+ data: t
31
+ }, b = ["title", g, w], f = ({ title: s, table: a, rows: d }) => {
32
+ var e;
33
+ return /* @__PURE__ */ i(l, { children: [
34
+ s && /* @__PURE__ */ n(
35
+ "p",
36
+ {
37
+ className: p(
38
+ "text-[44px] font-bold leading-[52px] mb-[48px] text-black text-center max-tablet:text-[26px] max-tablet:leading-[32px] max-tablet:mb-[32px]"
39
+ ),
40
+ children: s
41
+ }
42
+ ),
43
+ /* @__PURE__ */ i("div", { className: "bg-white rounded-[20px] overflow-hidden p-8 md:p-6", children: [
44
+ /* @__PURE__ */ n(
45
+ "div",
46
+ {
47
+ className: p("overflow-x-auto whitespace-nowrap custom-scrollbar"),
48
+ children: /* @__PURE__ */ n("div", { className: "bg-white rounded-[20px] w-full", children: d == null ? void 0 : d.map((r) => /* @__PURE__ */ n(
49
+ c,
50
+ {
51
+ id: r == null ? void 0 : r.id,
52
+ title: r == null ? void 0 : r.title,
53
+ description: r == null ? void 0 : r.description,
54
+ columns: r == null ? void 0 : r.columns,
55
+ className: p({
56
+ "border-b border-[#E6E8EB]": !(a != null && a.warning)
57
+ })
58
+ },
59
+ r == null ? void 0 : r.id
60
+ )) })
61
+ }
62
+ ),
63
+ ((e = a == null ? void 0 : a.warning) == null ? void 0 : e.warning_description) && /* @__PURE__ */ n("div", { className: "mt-4", children: /* @__PURE__ */ n(
64
+ x,
65
+ {
66
+ className: "!flex-[1_1_100%] bg-white",
67
+ title: a.warning.warning_title,
68
+ description: a.warning.warning_description
69
+ }
70
+ ) })
71
+ ] })
72
+ ] });
73
+ };
74
+ f.propsToEdit = b;
7
75
  export {
8
- e as StandartTable
76
+ f as StandartTable,
77
+ b as propsToEdit
9
78
  };
@@ -0,0 +1,11 @@
1
+ import { C as t } from "../index-1a32da94.js";
2
+ import { propsToEdit as o } from "./index.js";
3
+ const p = {
4
+ title: "Стандартная таблица",
5
+ description: "Компонент для отображения стандартной таблицы с заголовком, строками и колонками данных. Используется для представления структурированных данных в табличном формате.",
6
+ types: [t.tables],
7
+ propsToEdit: o
8
+ };
9
+ export {
10
+ p as standartTableInfo
11
+ };
@@ -1,7 +1,7 @@
1
1
  import { jsx as r, jsxs as o } from "react/jsx-runtime";
2
2
  import { FieldTypes as s } from "../Types/FiledTypes.js";
3
- import { B as c } from "../index-6af94f99.js";
4
- import { b as i } from "../const-637b0dca.js";
3
+ import { B as c } from "../index-10605794.js";
4
+ import { B as i } from "../const-53dff524.js";
5
5
  import { C as d } from "../ComponentContainer-cdb2528c.js";
6
6
  import { I as x } from "../index-2265d593.js";
7
7
  const f = {
@@ -48,5 +48,6 @@ const f = {
48
48
  ] }) });
49
49
  h.propsToEdit = m;
50
50
  export {
51
- h as Stepper
51
+ h as Stepper,
52
+ m as propsToEdit
52
53
  };
@@ -0,0 +1,11 @@
1
+ import { C as o } from "../index-1a32da94.js";
2
+ import { propsToEdit as t } from "./Stepper.js";
3
+ const r = {
4
+ title: "Степпер",
5
+ description: "Компонент для отображения многошагового процесса или инструкции с иконками, описаниями шагов и кнопками действий. Используется для визуализации последовательности действий или этапов процесса.",
6
+ types: [o.steps],
7
+ propsToEdit: t
8
+ };
9
+ export {
10
+ r as stepperInfo
11
+ };
@@ -1,11 +1,120 @@
1
- import "react/jsx-runtime";
2
- import "react";
3
- import { S as f } from "../index-aa718078.js";
4
- import "../Types/FiledTypes.js";
5
- import "../swiper-react-0815edaf.js";
6
- import "../ComponentContainer-cdb2528c.js";
7
- import "./components/Bullet/Bullet.js";
8
- import "./components/Slide/Slide.js";
9
- import '../assets/swiper.css';/* empty css */export {
10
- f as SwiperList
1
+ import { jsxs as s, jsx as o } from "react/jsx-runtime";
2
+ import { useState as x, useRef as m } from "react";
3
+ import { A as b, C as v, a as d } from "../navigation-48c90d3b.js";
4
+ import { FieldTypes as l } from "../Types/FiledTypes.js";
5
+ import { S as C, N as S, a as N } from "../swiper-react-bfbb44d6.js";
6
+ import { c as w } from "../createBoolean-56064b0d.js";
7
+ import { C as E } from "../ComponentContainer-cdb2528c.js";
8
+ import { Bullet as P } from "./components/Bullet/Bullet.js";
9
+ import { Slide as A } from "./components/Slide/Slide.js";
10
+ import '../assets/swiper.css';/* empty css */const r = ({
11
+ label: a,
12
+ type: t
13
+ }) => ({
14
+ dataType: l.NUMBER,
15
+ label: a,
16
+ type: t
17
+ }), B = {
18
+ type: "cards",
19
+ label: "Карточки слайдера",
20
+ dataType: "array",
21
+ data: {
22
+ description: l.DESCRIPTION,
23
+ image: l.FILE
24
+ }
25
+ }, T = w({
26
+ label: "Автоматический переход",
27
+ type: "autoplay"
28
+ }), I = r({
29
+ label: "Задержка автоматического перехода",
30
+ type: "autoplayDelay"
31
+ }), R = r({
32
+ label: "Количество слайдов на экране",
33
+ type: "perViewScreens"
34
+ }), z = r({
35
+ label: "Высота карточки",
36
+ type: "cardHeight"
37
+ }), F = [
38
+ "title",
39
+ B,
40
+ z,
41
+ T,
42
+ I,
43
+ R
44
+ ], D = ({
45
+ title: a,
46
+ cards: t,
47
+ card_height: u,
48
+ autoplay: c,
49
+ autoplayDelay: f = 2e3,
50
+ perViewScreens: p
51
+ }) => {
52
+ const [y, g] = x(0), h = c ? {
53
+ delay: f,
54
+ disableOnInteraction: !1,
55
+ waitForTransition: !0
56
+ } : !1, n = m(null), i = m(null);
57
+ return /* @__PURE__ */ s(E, { children: [
58
+ a && /* @__PURE__ */ o("p", { className: "text-[44px] leading-[52px] font-bold text-center mb-[48px]", children: a }),
59
+ /* @__PURE__ */ s("div", { className: "relative w-full", children: [
60
+ /* @__PURE__ */ o(
61
+ C,
62
+ {
63
+ modules: [S, b],
64
+ spaceBetween: 24,
65
+ slidesPerView: p,
66
+ slidesPerGroup: 1,
67
+ navigation: {
68
+ nextEl: n.current,
69
+ prevEl: i.current
70
+ },
71
+ onBeforeInit: (e) => {
72
+ e.params.navigation && typeof e.params.navigation != "boolean" && (e.params.navigation.nextEl = n.current, e.params.navigation.prevEl = i.current);
73
+ },
74
+ pagination: { clickable: !0 },
75
+ onSlideChange: (e) => g(e.realIndex),
76
+ autoplay: h,
77
+ children: t == null ? void 0 : t.map((e) => /* @__PURE__ */ o(N, { children: /* @__PURE__ */ o(
78
+ A,
79
+ {
80
+ height: u,
81
+ image: e == null ? void 0 : e.image,
82
+ description: e == null ? void 0 : e.description
83
+ }
84
+ ) }, e.id))
85
+ }
86
+ ),
87
+ /* @__PURE__ */ o(
88
+ "button",
89
+ {
90
+ ref: i,
91
+ className: "custom-prev absolute left-0 top-[50%] translate-y-[-50%] translate-x-[-50%] z-10 p-[8px] rounded-[50%] bg-white",
92
+ children: /* @__PURE__ */ o(v, { size: 24 })
93
+ }
94
+ ),
95
+ /* @__PURE__ */ o(
96
+ "button",
97
+ {
98
+ ref: n,
99
+ className: "custom-next p-[8px] absolute right-0 top-[50%] translate-y-[-50%] translate-x-[50%] z-10 rounded-[50%] bg-white",
100
+ children: /* @__PURE__ */ o(d, { size: 24 })
101
+ }
102
+ )
103
+ ] }),
104
+ (t == null ? void 0 : t.length) > 1 && /* @__PURE__ */ o(
105
+ P,
106
+ {
107
+ count: (t == null ? void 0 : t.length) - (p - 1),
108
+ active: y,
109
+ activeColor: "#16A34A",
110
+ anActiveColor: "#A6B2BA",
111
+ className: "mt-[24px]"
112
+ }
113
+ )
114
+ ] });
115
+ };
116
+ D.propsToEdit = F;
117
+ export {
118
+ D as SwiperList,
119
+ F as propsToEdit
11
120
  };
@@ -1,4 +1,4 @@
1
- import { S as i } from "../index-aa718078.js";
1
+ import { SwiperList as i } from "./SwiperList.js";
2
2
  export {
3
3
  i as SwiperList
4
4
  };
@@ -0,0 +1,11 @@
1
+ import { C as o } from "../index-1a32da94.js";
2
+ import { propsToEdit as t } from "./SwiperList.js";
3
+ const p = {
4
+ title: "Свайпер список",
5
+ description: "Компонент для отображения списка элементов в формате свайпера (карусели) с возможностью прокрутки. Используется для представления контента в интерактивном формате с навигацией.",
6
+ types: [o.lists],
7
+ propsToEdit: t
8
+ };
9
+ export {
10
+ p as swiperListInfo
11
+ };
@@ -1,11 +1,134 @@
1
- import "react/jsx-runtime";
2
- import "react";
3
- import { o as n, n as e } from "../index-aa718078.js";
4
- import "../HtmlContent/HtmlContent.js";
5
- import "../Types/FiledTypes.js";
6
- import "../index-2265d593.js";
7
- import "../cn-6a4bf187.js";
1
+ import { jsx as t, jsxs as r } from "react/jsx-runtime";
2
+ import { useState as p } from "react";
3
+ import { HtmlContent as c } from "../HtmlContent/HtmlContent.js";
4
+ import { FieldTypes as e } from "../Types/FiledTypes.js";
5
+ import { c as d } from "../createBoolean-56064b0d.js";
6
+ import { I as h } from "../index-2265d593.js";
7
+ import { c as l } from "../cn-6a4bf187.js";
8
+ import '../assets/TasksBanner.css';const u = ({
9
+ color: i = "#40474F",
10
+ size: a = 24,
11
+ ...n
12
+ }) => /* @__PURE__ */ t(
13
+ "svg",
14
+ {
15
+ xmlns: "http://www.w3.org/2000/svg",
16
+ width: a,
17
+ height: a,
18
+ viewBox: "0 0 16 16",
19
+ fill: "none",
20
+ ...n,
21
+ children: /* @__PURE__ */ t(
22
+ "path",
23
+ {
24
+ d: "M12.6666 5.7334L8.65995 9.7401C8.34884 10.0512 8.19328 10.2068 7.99998 10.2068C7.80668 10.2068 7.65113 10.0512 7.34001 9.7401L3.33331 5.7334",
25
+ stroke: i || "currentColor",
26
+ "stroke-width": "2",
27
+ "stroke-linejoin": "round"
28
+ }
29
+ )
30
+ }
31
+ );
32
+ const E = {
33
+ title: e.TITLE,
34
+ htmlContent: e.HTML_CONTENT,
35
+ image: e.FILE,
36
+ isTextLast: e.BOOLEAN,
37
+ turnover: e.BOOLEAN
38
+ }, f = d({
39
+ label: "Текст в конце",
40
+ type: "isTextLast"
41
+ }), b = [
42
+ "title",
43
+ "htmlContent",
44
+ "image",
45
+ f,
46
+ e.TURN_OVER
47
+ ], g = ({
48
+ htmlContent: i,
49
+ image: a,
50
+ title: n,
51
+ isTextLast: s,
52
+ turnover: m
53
+ }) => {
54
+ const [o, x] = p(!1);
55
+ return /* @__PURE__ */ r("div", { className: "relative w-full rounded-[20px] flex items-center justify-between gap-[100px] bg-white overflow-hidden max-tablet:flex-col max-tablet:gap-0", children: [
56
+ /* @__PURE__ */ r(
57
+ "div",
58
+ {
59
+ className: l(
60
+ "h-full py-[32px] pr-[64px] pl-[48px] max-tablet:p-[32px] max-tablet:order-1 max-tablet:w-full",
61
+ {
62
+ "order-1": s
63
+ }
64
+ ),
65
+ children: [
66
+ /* @__PURE__ */ r("div", { className: "h-full flex flex-col gap-[24px]", children: [
67
+ /* @__PURE__ */ t("p", { className: "text-[32px] leading-[40px] font-bold text-black5 max-tablet:text-[22px] max-tablet:leading-[26px]", children: n }),
68
+ /* @__PURE__ */ t(
69
+ "div",
70
+ {
71
+ className: l(
72
+ "max-h-[98px] overflow-hidden max-tablet:text-[95px] transition-[max-height] duration-500 ease-in-out",
73
+ {
74
+ "max-h-[1000px]": o
75
+ }
76
+ ),
77
+ children: /* @__PURE__ */ t(
78
+ c,
79
+ {
80
+ className: "htmlContent",
81
+ data: i
82
+ }
83
+ )
84
+ }
85
+ )
86
+ ] }),
87
+ /* @__PURE__ */ r(
88
+ "button",
89
+ {
90
+ className: "flex items-center gap-2 px-6 bg-none border-none cursor-pointer transition-all duration-500 ease-in-out",
91
+ onClick: () => x(!o),
92
+ children: [
93
+ /* @__PURE__ */ t("p", { className: "text-[16px] text-deepBlue leading-[24px] font-medium text-lightBlue6 transition-all duration-500 ease-in-out whitespace-nowrap mt-[12px]", children: o ? "Скрыть" : "Показать больше" }),
94
+ /* @__PURE__ */ t(
95
+ u,
96
+ {
97
+ size: 16,
98
+ color: "#3B82F6",
99
+ className: l(
100
+ o ? "transition-all duration-500 rotate-180" : "transition-all duration-500",
101
+ "mt-[12px]"
102
+ )
103
+ }
104
+ )
105
+ ]
106
+ }
107
+ )
108
+ ]
109
+ }
110
+ ),
111
+ a && /* @__PURE__ */ t(
112
+ h,
113
+ {
114
+ src: a,
115
+ alt: n,
116
+ width: 453,
117
+ className: l(
118
+ "absolute right-0 bottom-0 h-auto flex items-end max-tablet:relative"
119
+ ),
120
+ imageStyles: l(
121
+ "object-contain",
122
+ m && "object-bottom",
123
+ o && "object-bottom"
124
+ )
125
+ }
126
+ )
127
+ ] });
128
+ };
129
+ g.propsToEdit = b;
8
130
  export {
9
- n as TasksBanner,
10
- e as TasksBannerFields
131
+ g as TasksBanner,
132
+ E as TasksBannerFields,
133
+ b as propsToEdit
11
134
  };
@@ -1,4 +1,4 @@
1
- import { o as r } from "../index-aa718078.js";
1
+ import { TasksBanner as e } from "./TasksBanner.js";
2
2
  export {
3
- r as TasksBanner
3
+ e as TasksBanner
4
4
  };
@@ -0,0 +1,11 @@
1
+ import { C as o } from "../index-1a32da94.js";
2
+ import { propsToEdit as t } from "./TasksBanner.js";
3
+ const n = {
4
+ title: "Баннер задач",
5
+ description: "Компонент для отображения баннера с задачами или инструкциями, содержащего заголовок, HTML контент и изображение. Используется для представления пошаговых инструкций или списка задач.",
6
+ types: [o.banners],
7
+ propsToEdit: t
8
+ };
9
+ export {
10
+ n as tasksBannerInfo
11
+ };
@@ -1,7 +1,38 @@
1
- import "react/jsx-runtime";
2
- import { T as p } from "../index-aa718078.js";
3
- import "../Types/FiledTypes.js";
4
- import "../ComponentContainer-cdb2528c.js";
1
+ import { jsxs as l, jsx as n } from "react/jsx-runtime";
2
+ import { TasksBanner as p } from "../TasksBanner/TasksBanner.js";
3
+ import { FieldTypes as a } from "../Types/FiledTypes.js";
4
+ import { C as i } from "../ComponentContainer-cdb2528c.js";
5
+ const c = {
6
+ type: "cards",
7
+ label: "Карточки задач",
8
+ dataType: "array",
9
+ data: {
10
+ title: a.TITLE,
11
+ description: a.HTML_CONTENT,
12
+ image: a.FILE,
13
+ icon: a.FILE,
14
+ is_black: a.BOOLEAN,
15
+ is_promo: a.BOOLEAN,
16
+ is_yellow: a.BOOLEAN
17
+ }
18
+ }, x = ["title", c], f = ({ title: r, cards: o }) => /* @__PURE__ */ l(i, { children: [
19
+ r && /* @__PURE__ */ n("p", { className: "text-[44px] leading-[52px] font-bold text-[#0e0f11] text-center mb-[48px] max-tablet:text-[26px] max-tablet:leading-[32px] max-tablet:mb-[32px] [font-variant-numeric:lining-nums_tabular-nums_stacked-fractions] [font-feature-settings:'liga'_off,'clig'_off]", children: r }),
20
+ /* @__PURE__ */ n("div", { className: "flex flex-col gap-[40px] w-full", children: o == null ? void 0 : o.map((t, s) => {
21
+ const e = s === 0;
22
+ return /* @__PURE__ */ n(
23
+ p,
24
+ {
25
+ title: t == null ? void 0 : t.title,
26
+ description: t == null ? void 0 : t.description,
27
+ image: t == null ? void 0 : t.image,
28
+ isFirst: e
29
+ },
30
+ s
31
+ );
32
+ }) })
33
+ ] });
34
+ f.propsToEdit = x;
5
35
  export {
6
- p as TasksBannerList
36
+ f as TasksBannerList,
37
+ x as propsToEdit
7
38
  };
@@ -1,4 +1,4 @@
1
- import { T as r } from "../index-aa718078.js";
1
+ import { TasksBannerList as a } from "./TasksBannerList.js";
2
2
  export {
3
- r as TasksBannerList
3
+ a as TasksBannerList
4
4
  };
@@ -0,0 +1,11 @@
1
+ import { C as t } from "../index-1a32da94.js";
2
+ import { propsToEdit as o } from "./TasksBannerList.js";
3
+ const e = {
4
+ title: "Список баннеров задач",
5
+ description: "Компонент для отображения списка баннеров с задачами или действиями, содержащих заголовки и описания. Используется для представления списка задач или действий, которые необходимо выполнить.",
6
+ types: [t.banners, t.lists],
7
+ propsToEdit: o
8
+ };
9
+ export {
10
+ e as tasksBannerListInfo
11
+ };