md-components-mdigial-azamat 0.0.32 → 0.0.35

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 (158) hide show
  1. package/dist/Actions/downloadFile/downloadFile.js +28 -0
  2. package/dist/Actions/index.js +13 -0
  3. package/dist/Actions/types.js +9 -0
  4. package/dist/AllComponents.js +29 -9
  5. package/dist/AnimatedSwiper/Slide/Slide.js +29 -29
  6. package/dist/AnimatedSwiper/index.js +10 -137
  7. package/dist/Banner/Banner.js +152 -8
  8. package/dist/Banner/index.js +2 -2
  9. package/dist/BannerAndText/index.js +56 -27
  10. package/dist/CardIconList/CardIconList.js +81 -26
  11. package/dist/CardIconList/index.js +2 -2
  12. package/dist/CardImageList/CardImageList.js +75 -8
  13. package/dist/CardImageList/index.js +1 -1
  14. package/dist/CardImageSecondary/CardImageSecondary.js +57 -27
  15. package/dist/CardImageSecondary/index.js +2 -2
  16. package/dist/CardImageSecondaryList/CardImageSecondaryList.js +27 -4
  17. package/dist/CardImageSecondaryList/index.js +1 -1
  18. package/dist/CardInfoTable/index.js +187 -26
  19. package/dist/Cards/CardImage/CardImage.js +2 -2
  20. package/dist/Cards/ColoredCard/index.js +2 -2
  21. package/dist/Cards/ContentCard/ContentCard.js +38 -5
  22. package/dist/Cards/ContentCard/index.js +2 -2
  23. package/dist/Cards/FeaturesCard/index.js +3 -3
  24. package/dist/Cards/WarningCard/WarningCard.js +58 -6
  25. package/dist/Cards/WarningCard/index.js +1 -1
  26. package/dist/Cards/WarningCard/model.js +39 -7
  27. package/dist/ComponentContainer-cdb2528c.js +16 -0
  28. package/dist/ContentCardList/ContentCardList.js +34 -25
  29. package/dist/ContentCardList/index.js +2 -2
  30. package/dist/DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js +41 -5
  31. package/dist/DownloadFile/components/DownloadFileBanner/index.js +2 -2
  32. package/dist/DownloadFile/components/DownloadFileBright/index.js +74 -8
  33. package/dist/DownloadFile/components/DownloadFileFull/DownloadFileFull.js +50 -5
  34. package/dist/DownloadFile/components/DownloadFileFull/index.js +1 -1
  35. package/dist/DownloadFile/components/DownloadFileHalf/DownloadFileHalf.js +46 -5
  36. package/dist/DownloadFile/components/DownloadFileHalf/index.js +2 -2
  37. package/dist/DownloadFile/components/DownloadFileMini/DownloadFileMini.js +56 -5
  38. package/dist/DownloadFile/components/DownloadFileMini/index.js +2 -2
  39. package/dist/Faq/Faq.js +44 -24
  40. package/dist/Faq/components/Collapse/Collapse.js +37 -19
  41. package/dist/Faq/components/FeedbackForm/FeedbackForm.js +1061 -4
  42. package/dist/Faq/components/FeedbackForm/index.js +2 -2
  43. package/dist/Faq/components/PlusMinusIcon/PlusMinusIcon.js +1 -1
  44. package/dist/Faq/index.js +2 -2
  45. package/dist/Footer/Footer.js +452 -0
  46. package/dist/Footer/components/ContactOfFooter/ContactOfFooter.js +34 -0
  47. package/dist/Footer/components/LinkToApp/LinkToApp.js +45 -0
  48. package/dist/Footer/components/LinkToAppMobile/LinkToAppMobile.js +28 -0
  49. package/dist/Footer/components/ListNavigation/ListNavigation.js +221 -0
  50. package/dist/Footer/components/NavigationFooter/NavigationFooter.js +31 -0
  51. package/dist/Footer/components/SocialButtonsList/SocialButtonsList.js +37 -0
  52. package/dist/Footer/types.js +1 -0
  53. package/dist/GooglePlayButton-35331c37.js +100 -0
  54. package/dist/Header/Header.js +8 -0
  55. package/dist/Header/components/HeaderCard/HeaderCard.js +37 -0
  56. package/dist/Header/components/HeaderCard/index.js +4 -0
  57. package/dist/Header/components/HeaderMainMobile/HeaderMainMobile.js +208 -0
  58. package/dist/Header/components/HeaderMenu/HeaderMenu.js +41 -0
  59. package/dist/Header/components/HeaderMenu/index.js +1 -0
  60. package/dist/Header/components/HeaderMenuMobile/HeaderMenuMobile.js +47 -0
  61. package/dist/Header/components/HeaderMobile/HeaderMobile.js +11 -0
  62. package/dist/Header/components/HeaderMobile/index.js +4 -0
  63. package/dist/Header/components/HeaderResults/HeaderResults.js +46 -0
  64. package/dist/Header/components/HeaderResults/index.js +4 -0
  65. package/dist/Header/components/HeaderSearch/HeaderSearch.js +13 -0
  66. package/dist/Header/components/HeaderSearch/index.js +4 -0
  67. package/dist/Header/components/HeaderSearchMobile/HeaderSearchMobile.js +78 -0
  68. package/dist/Header/components/HeaderTab/HeaderTab.js +34 -0
  69. package/dist/Header/components/HeaderTab/index.js +4 -0
  70. package/dist/Header/components/HeaderTabsMobile/HeaderTabsMobile.js +55 -0
  71. package/dist/Header/components/HeaderWeb/HeaderWeb.js +149 -0
  72. package/dist/Header/components/HeaderWeb/index.js +4 -0
  73. package/dist/Header/components/SelectLanguage/SelectLanguage.js +79 -0
  74. package/dist/Header/components/SelectLanguage/index.js +4 -0
  75. package/dist/Header/components/TabsOutlined/TabsOutlined.js +50 -0
  76. package/dist/Header/components/TabsOutlined/index.js +4 -0
  77. package/dist/Header/const.js +4 -0
  78. package/dist/Header/index.js +4 -0
  79. package/dist/Header/types.js +5 -0
  80. package/dist/HeroPossibilityBanner/index.js +1 -1
  81. package/dist/HtmlContent/HtmlContent.js +1 -1
  82. package/dist/Icon-70ea6cb8.js +187 -0
  83. package/dist/InfoBanner/index.js +89 -7
  84. package/dist/InfoBannerList/InfoBannerList.js +5 -5
  85. package/dist/InfoBannerList/index.js +2 -2
  86. package/dist/InstructionList/InstructionList.js +6 -4
  87. package/dist/InstructionList/components/InstructionCard/InstructionCard.js +47 -66
  88. package/dist/InstructionList/components/InstructionCard/index.js +1 -1
  89. package/dist/InstructionList/components/InstructionModal/InstructionModal.js +2 -2
  90. package/dist/InstructionList/index.js +1 -1
  91. package/dist/IntroBanner/IntroBanner.js +68 -6
  92. package/dist/IntroBanner/index.js +1 -1
  93. package/dist/MainBanner/MainBanner.js +84 -6
  94. package/dist/MainBanner/index.js +2 -2
  95. package/dist/MultiCards/index.js +88 -5
  96. package/dist/PageViewer/PageViewer.js +22 -5
  97. package/dist/PageViewer/renderComponents.js +1 -1
  98. package/dist/Partners/Partners.js +2 -2
  99. package/dist/PartnersColors/PartnersColors.js +1 -1
  100. package/dist/PartnersColors/components/PartnerCard/PartnerCard.js +1 -1
  101. package/dist/PartnersColors/components/PartnerTab/PartnerTab.js +2 -2
  102. package/dist/PreviewList/PreviewList.js +4 -2
  103. package/dist/PreviewList/components/PreviewCard/PreviewCard.js +45 -3
  104. package/dist/PreviewList/components/PreviewCard/index.js +2 -2
  105. package/dist/PreviewList/index.js +1 -1
  106. package/dist/PromoPoster/PromoPoster.js +7 -48
  107. package/dist/RenderAllComponents/RenderAllComponents.js +1 -1
  108. package/dist/RenderAllComponents/const.js +11 -11
  109. package/dist/Segments/Segments.js +1 -1
  110. package/dist/StandartTable/components/CardMarkedRow/index.js +47 -73
  111. package/dist/StandartTable/components/CardWarning/index.js +87 -6
  112. package/dist/StandartTable/index.js +4 -4
  113. package/dist/Stepper/Stepper.js +50 -6
  114. package/dist/Stepper/index.js +1 -1
  115. package/dist/SwiperList/SwiperList.js +11 -97
  116. package/dist/SwiperList/components/Bullet/Bullet.js +1 -1
  117. package/dist/SwiperList/components/Slide/Slide.js +6 -6
  118. package/dist/SwiperList/index.js +1 -1
  119. package/dist/TasksBanner/TasksBanner.js +9 -123
  120. package/dist/TasksBanner/index.js +2 -2
  121. package/dist/TasksBannerList/TasksBannerList.js +5 -30
  122. package/dist/TasksBannerList/index.js +2 -2
  123. package/dist/Types/FiledTypes.js +1 -1
  124. package/dist/Video/VideoFull/VideoFull.js +1 -1
  125. package/dist/Video/VideoList/VideoList.js +1 -1
  126. package/dist/Video/VideoListMini/VideoListMini.js +1 -1
  127. package/dist/Video/components/VideoPlayer/VideoPlayer.js +1 -1
  128. package/dist/VideoMainBanner/VideoMainBanner.js +168 -7
  129. package/dist/VideoMainBanner/index.js +2 -2
  130. package/dist/assets/index.css +1 -1
  131. package/dist/{cn-d8c04b28.js → cn-6a4bf187.js} +521 -488
  132. package/dist/componentsMap-e2de87b6.js +68 -0
  133. package/dist/const-637b0dca.js +27 -0
  134. package/dist/data.mock-483400cb.js +1713 -0
  135. package/dist/header-97863d08.js +22 -0
  136. package/dist/{index-60dfa873.js → index-2265d593.js} +1 -1
  137. package/dist/index-2fb01942.js +925 -0
  138. package/dist/index-3a534581.js +261 -0
  139. package/dist/index-66837af1.js +313 -0
  140. package/dist/index-6af94f99.js +53 -0
  141. package/dist/{index-a379154f.js → index-815f0132.js} +2 -2
  142. package/dist/languages-list-8419e560.js +22 -0
  143. package/dist/logo-99aa20bd.js +27 -0
  144. package/dist/main.js +85 -66
  145. package/dist/mousewheel-865ae601.js +153 -0
  146. package/dist/palette-b47a76c9.js +46 -0
  147. package/dist/routes-382632ac.js +7 -0
  148. package/dist/search-dd4eb6f8.js +5 -0
  149. package/dist/{swiper-react-c049ea66.js → swiper-react-90953710.js} +760 -935
  150. package/dist/trash/HeroLargeCards/index.js +1 -1
  151. package/dist/useClickOutside-197b0df2.js +12 -0
  152. package/package.json +4 -2
  153. package/dist/ComponentContainer-0fcc2695.js +0 -16
  154. package/dist/componentsMap-71c9335f.js +0 -50
  155. package/dist/index-92f77047.js +0 -4865
  156. package/dist/model-9e50e351.js +0 -69
  157. /package/dist/assets/{swiper-react.css → index2.css} +0 -0
  158. /package/dist/assets/{TasksBanner.css → index3.css} +0 -0
@@ -0,0 +1,28 @@
1
+ const l = ({ props: o }) => {
2
+ if (!o || typeof o != "object")
3
+ return;
4
+ const { link: r, headers: n } = o;
5
+ if (!r)
6
+ return;
7
+ const c = (t) => {
8
+ const e = document.createElement("a");
9
+ e.href = t, e.download = "", e.rel = "noopener noreferrer", e.target = "_blank", document.body.appendChild(e), e.click(), e.remove();
10
+ };
11
+ if (n && Object.keys(n).length > 0) {
12
+ fetch(r, { headers: n }).then((t) => {
13
+ if (!t.ok)
14
+ throw new Error(`Failed to download file: ${t.status}`);
15
+ return t.blob();
16
+ }).then((t) => {
17
+ const e = URL.createObjectURL(t);
18
+ c(e), URL.revokeObjectURL(e);
19
+ }).catch((t) => {
20
+ console.error(t);
21
+ });
22
+ return;
23
+ }
24
+ c(r);
25
+ };
26
+ export {
27
+ l as downloadFile
28
+ };
@@ -0,0 +1,13 @@
1
+ import { Actions as r } from "./types.js";
2
+ const c = {
3
+ [r.downloadFile.key]: async () => (await import("./downloadFile/downloadFile.js")).downloadFile
4
+ }, a = async (o, t) => {
5
+ const n = c[o];
6
+ if (!n)
7
+ throw new Error(`Unknown project action: ${o}`);
8
+ return (await n())(t);
9
+ };
10
+ export {
11
+ c as ProjectActions,
12
+ a as invokeProjectAction
13
+ };
@@ -0,0 +1,9 @@
1
+ const o = {
2
+ downloadFile: {
3
+ label: "Скачать файл",
4
+ key: "downloadFile"
5
+ }
6
+ };
7
+ export {
8
+ o as Actions
9
+ };
@@ -1,26 +1,46 @@
1
- import { ab as q, aa as u } from "./index-92f77047.js";
2
- import "./AnimatedSwiper/index.js";
1
+ import "./data.mock-483400cb.js";
2
+ import "./index-66837af1.js";
3
+ import "./Banner/Banner.js";
4
+ import "./CardIconList/CardIconList.js";
5
+ import "./CardImageList/CardImageList.js";
6
+ import "./CardImageSecondaryList/CardImageSecondaryList.js";
7
+ import "./CardInfoTable/index.js";
8
+ import "./ContentCardList/ContentCardList.js";
9
+ import "./DownloadFile/components/DownloadFileBright/index.js";
10
+ import "./Faq/Faq.js";
11
+ import { f as R, A as S } from "./index-2fb01942.js";
12
+ import "./IntroBanner/IntroBanner.js";
13
+ import "./MainBanner/MainBanner.js";
14
+ import "./MultiCards/index.js";
3
15
  import "./Partners/Partners.js";
4
16
  import "./PartnersColors/PartnersColors.js";
5
- import "./PromoPoster/PromoPoster.js";
6
17
  import "./Segments/Segments.js";
7
- import "./SwiperList/SwiperList.js";
8
- import "./TasksBannerList/TasksBannerList.js";
18
+ import "./Stepper/Stepper.js";
9
19
  import "./Video/VideoFull/VideoFull.js";
10
20
  import "./Video/VideoList/VideoList.js";
11
21
  import "./Video/VideoListMini/VideoListMini.js";
22
+ import "./VideoMainBanner/VideoMainBanner.js";
12
23
  import "./ConfigProvider/index.js";
24
+ import "./BannerAndText/index.js";
25
+ import "./Footer/Footer.js";
13
26
  import "./HtmlContent/HtmlContent.js";
14
27
  import "./HeroPossibilityBanner/index.js";
15
28
  import "./Cards/CardImage/CardImage.js";
29
+ import "./Cards/ContentCard/ContentCard.js";
30
+ import "./Cards/WarningCard/WarningCard.js";
16
31
  import "./Cards/ColoredCard/index.js";
17
- import "./index-a379154f.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";
18
37
  import "./Faq/components/Collapse/Collapse.js";
19
38
  import "react/jsx-runtime";
20
39
  import "react";
21
- import "./InstructionList/components/InstructionCard/InstructionCard.js";
40
+ import "./index-6af94f99.js";
41
+ import "./const-637b0dca.js";
22
42
  import "./Space/Space.js";
23
43
  export {
24
- q as AllComponents,
25
- u as AllComponentsData
44
+ R as AllComponents,
45
+ S as AllComponentsData
26
46
  };
@@ -1,51 +1,51 @@
1
- import { jsxs as n, jsx as t } from "react/jsx-runtime";
2
- import { c as i, a as o } from "../../cn-d8c04b28.js";
3
- import { I as p } from "../../index-60dfa873.js";
4
- import '../../assets/swiper.css';/* empty css */const g = ({
5
- data: e,
6
- className: x,
7
- isLight: l = !1,
8
- imgClassName: r,
9
- imgStyle: s
10
- }) => /* @__PURE__ */ n(
1
+ import { jsxs as l, jsx as a } from "react/jsx-runtime";
2
+ import { c as e, a as i } from "../../cn-6a4bf187.js";
3
+ import { I as s } from "../../index-2265d593.js";
4
+ import '../../assets/swiper.css';/* empty css */const f = ({
5
+ className: n,
6
+ isLight: t = !1,
7
+ imgClassName: o,
8
+ imgStyle: x,
9
+ title: r
10
+ }) => /* @__PURE__ */ l(
11
11
  "div",
12
12
  {
13
- className: i(
13
+ className: e(
14
14
  "relative flex flex-col gap-[32px] p-[32px] h-full w-full rounded-[20px] overflow-hidden bg-black8 transition-all duration-500 ease-in-out max-tablet:p-[24px] max-tablet:gap-[24px]",
15
- x,
16
- { "bg-white": l }
15
+ n,
16
+ { "bg-white": t }
17
17
  ),
18
18
  children: [
19
- (e == null ? void 0 : e.icon) && /* @__PURE__ */ t(
20
- p,
19
+ icon && /* @__PURE__ */ a(
20
+ s,
21
21
  {
22
- src: e == null ? void 0 : e.icon,
23
- alt: e == null ? void 0 : e.title,
22
+ src: icon,
23
+ alt: r,
24
24
  width: 80,
25
25
  height: 80,
26
- className: i("transition-all duration-500", r),
27
- imageStyles: i("transition-all duration-500", s)
26
+ className: e("transition-all duration-500", o),
27
+ imageStyles: e("transition-all duration-500", x)
28
28
  }
29
29
  ),
30
- /* @__PURE__ */ n("div", { className: "flex flex-col gap-[12px] max-tablet:gap-[8px]", children: [
31
- /* @__PURE__ */ t(
30
+ /* @__PURE__ */ l("div", { className: "flex flex-col gap-[12px] max-tablet:gap-[8px]", children: [
31
+ /* @__PURE__ */ a(
32
32
  "p",
33
33
  {
34
- className: o(
34
+ className: i(
35
35
  "text-white4 text-[24px] font-bold leading-[32px] m-0 transition-all duration-500 ease-in-ou max-tablet:text-[24px] max-tablet:leading-[28px]",
36
- { "!text-black2": l }
36
+ { "!text-black2": t }
37
37
  ),
38
- children: e == null ? void 0 : e.title
38
+ children: data == null ? void 0 : data.title
39
39
  }
40
40
  ),
41
- /* @__PURE__ */ t(
41
+ /* @__PURE__ */ a(
42
42
  "p",
43
43
  {
44
- className: o(
44
+ className: i(
45
45
  "text-white4 text-[15px] font-normal leading-[24px] m-0 transition-all duration-500 [font-variant-numeric:lining-nums_tabular-nums_stacked-fractions] [font-feature-settings:'clig'_off,'liga'_off] max-tablet:text-[14px] max-tablet:leading-[20px]",
46
- { "!text-graySoft": l }
46
+ { "!text-graySoft": t }
47
47
  ),
48
- children: e == null ? void 0 : e.description
48
+ children: data == null ? void 0 : data.description
49
49
  }
50
50
  )
51
51
  ] })
@@ -53,5 +53,5 @@ import '../../assets/swiper.css';/* empty css */const g = ({
53
53
  }
54
54
  );
55
55
  export {
56
- g as Slide
56
+ f as Slide
57
57
  };
@@ -1,139 +1,12 @@
1
- import { jsxs as h, jsx as e } from "react/jsx-runtime";
2
- import { useState as A, useRef as c } from "react";
3
- import { S as E, N as I, A as C, a as T, C as B, b as L } from "../swiper-react-c049ea66.js";
4
- import { Bullet as O } from "../SwiperList/components/Bullet/Bullet.js";
5
- import { FieldTypes as l } from "../Types/FiledTypes.js";
6
- import { c as r } from "../cn-d8c04b28.js";
7
- import { u as R } from "../useScreenSize-c1b64c02.js";
8
- import { Slide as z } from "./Slide/Slide.js";
9
- const F = {
10
- type: "cards",
11
- label: "Карточки слайдера",
12
- dataType: "array",
13
- data: {
14
- title: l.TITLE,
15
- description: l.DESCRIPTION,
16
- image: l.FILE,
17
- icon: l.FILE,
18
- is_black: l.BOOLEAN,
19
- is_promo: l.BOOLEAN,
20
- is_yellow: l.BOOLEAN
21
- }
22
- }, P = [
23
- "title",
24
- F,
25
- "autoplay",
26
- "isLight",
27
- "isButton"
28
- ];
29
- function _({
30
- title: f,
31
- cards: t,
32
- autoplay: g = !1,
33
- isLight: b = !1,
34
- isButton: x = !0
35
- }) {
36
- const [n, m] = A(1), w = c(null), o = R(960), i = o ? 1.2 : 3, S = o ? 16 : 0, y = g ? {
37
- delay: 3e3,
38
- disableOnInteraction: !1,
39
- waitForTransition: !0
40
- } : !1, d = c(null), u = c(null), v = t.length <= i + 1 ? [...t, ...t] : t, N = t.length <= i + 1 ? n % t.length : n;
41
- return /* @__PURE__ */ h("div", { className: "flex flex-col items-center gap-6 h-fit max-w-[1232px] w-full mx-auto px-4 relative max-tablet:max-w-full max-tablet:p-0", children: [
42
- f && /* @__PURE__ */ e("p", { className: "text-[44px] leading-[52px] font-bold text-center mb-[48px]", children: f }),
43
- /* @__PURE__ */ h("div", { className: "relative w-full h-[346px] max-tablet:h-fit", children: [
44
- /* @__PURE__ */ e(
45
- E,
46
- {
47
- modules: [I, C],
48
- className: "feature_swiper",
49
- initialSlide: 0,
50
- slidesPerView: i,
51
- spaceBetween: S,
52
- centeredSlides: !0,
53
- speed: 500,
54
- autoplay: y,
55
- onSwiper: (a) => {
56
- w.current = a, m(a.realIndex);
57
- },
58
- onBeforeTransitionStart: (a) => {
59
- let s = a.realIndex;
60
- m(s);
61
- },
62
- navigation: {
63
- nextEl: d.current,
64
- prevEl: u.current
65
- },
66
- loop: !0,
67
- children: v.map((a, s) => {
68
- const p = s === n;
69
- return /* @__PURE__ */ e(T, { children: /* @__PURE__ */ e(
70
- z,
71
- {
72
- data: a,
73
- className: r(
74
- "h-[314px] transition-all duration-500 transform scale-[0.85] relative max-tablet:h-[288px] max-tablet:scale-100",
75
- {
76
- "!h-[346px] !w-full transform scale-100 flex flex-col gap-[40px] md:h-auto md:gap-6": p && !o
77
- }
78
- ),
79
- imgClassName: r({
80
- "h-[122px] w-[122px]": p && !o
81
- }),
82
- imgStyle: r({
83
- "h-[122px] w-[122px]": p && !o
84
- }),
85
- isLight: b
86
- }
87
- ) }, a.id);
88
- })
89
- }
90
- ),
91
- x && /* @__PURE__ */ e(
92
- "button",
93
- {
94
- ref: u,
95
- className: r(
96
- "absolute h-[40px] w-[40px] left-0 top-[200px] translate-x-[-50%] translate-y-[-50%] z-10 p-[8px] rounded-[50%] bg-graySoft border-none cursor-pointer max-tablet:hidden"
97
- ),
98
- children: /* @__PURE__ */ e(
99
- B,
100
- {
101
- size: 24,
102
- color: "#ffffff"
103
- }
104
- )
105
- }
106
- ),
107
- x && /* @__PURE__ */ e(
108
- "button",
109
- {
110
- ref: d,
111
- className: r(
112
- "absolute h-[40px] w-[40px] right-0 top-[200px] translate-x-[-50%] translate-y-[-50%] z-10 p-[8px] rounded-[50%] bg-graySoft border-none cursor-pointer max-tablet:hidden"
113
- ),
114
- children: /* @__PURE__ */ e(
115
- L,
116
- {
117
- size: 24,
118
- color: "#ffffff"
119
- }
120
- )
121
- }
122
- )
123
- ] }),
124
- t.length && /* @__PURE__ */ e(
125
- O,
126
- {
127
- count: t.length,
128
- active: N,
129
- activeColor: "#16A34A",
130
- anActiveColor: "#A6B2BA",
131
- className: "mt-[24px]"
132
- }
133
- )
134
- ] });
135
- }
136
- _.propsToEdit = P;
1
+ import "react/jsx-runtime";
2
+ import "react";
3
+ import { A as l } from "../index-66837af1.js";
4
+ import "../SwiperList/components/Bullet/Bullet.js";
5
+ import "../Types/FiledTypes.js";
6
+ import "../swiper-react-90953710.js";
7
+ import "../cn-6a4bf187.js";
8
+ import "../useScreenSize-c1b64c02.js";
9
+ import "./Slide/Slide.js";
137
10
  export {
138
- _ as default
11
+ l as default
139
12
  };
@@ -1,10 +1,154 @@
1
- import "react/jsx-runtime";
2
- import "../Types/FiledTypes.js";
3
- import { B as n } from "../index-92f77047.js";
4
- import "../ComponentContainer-0fcc2695.js";
5
- import "../index-60dfa873.js";
6
- import "../cn-d8c04b28.js";
7
- import "../useScreenSize-c1b64c02.js";
1
+ import { jsx as t, jsxs as o } from "react/jsx-runtime";
2
+ import { FieldTypes as x } from "../Types/FiledTypes.js";
3
+ import { B as b } from "../index-6af94f99.js";
4
+ import { b as N, c as _ } from "../const-637b0dca.js";
5
+ import { C as y } from "../ComponentContainer-cdb2528c.js";
6
+ import { I as g } from "../index-2265d593.js";
7
+ import { c as a } from "../cn-6a4bf187.js";
8
+ import { u as v } from "../useScreenSize-c1b64c02.js";
9
+ const u = {
10
+ type: "qr",
11
+ label: "QR Блок",
12
+ dataType: "object",
13
+ data: {
14
+ keys: {
15
+ banner_qr: x.LINK,
16
+ banner_qr_text: x.DESCRIPTION,
17
+ banner_title: x.TITLE,
18
+ color_text: x.COLOR,
19
+ button: N
20
+ }
21
+ }
22
+ }, j = [
23
+ "bg_image",
24
+ "image",
25
+ "title",
26
+ "text_color",
27
+ "description",
28
+ _,
29
+ u
30
+ ], k = ({
31
+ bg_image: h,
32
+ image: r,
33
+ title: i,
34
+ text_color: s = "inherit",
35
+ description: c,
36
+ buttons: m,
37
+ qr: e
38
+ }) => {
39
+ var p, f, d;
40
+ const n = v(960);
41
+ return /* @__PURE__ */ t(y, { children: /* @__PURE__ */ o(
42
+ "div",
43
+ {
44
+ className: a(
45
+ "relative w-full h-fit flex max-tablet:flex-col justify-between gap-4 bg-cover bg-center rounded-[20px] overflow-hidden max-tablet:justify-start max-tablet:items-center"
46
+ ),
47
+ style: {
48
+ backgroundImage: `url(${h})`
49
+ },
50
+ children: [
51
+ /* @__PURE__ */ o("div", { className: " flex flex-col gap-4 w-[40%] max-tablet:w-full justify-center p-12 max-tablet:p-8", children: [
52
+ i && /* @__PURE__ */ t(
53
+ "p",
54
+ {
55
+ className: a(
56
+ "text-[32px] font-bold leading-[40px] text-left text-black m-0 max-tablet:text-center max-tablet:text-[24px] max-tablet:leading-[28px]"
57
+ ),
58
+ style: { color: s },
59
+ children: i
60
+ }
61
+ ),
62
+ c && /* @__PURE__ */ t(
63
+ "p",
64
+ {
65
+ className: a(
66
+ "text-[18px] font-normal leading-[26px] text-left m-0 max-tablet:px-[24px] max-tablet:text-center max-tablet:text-[15px] max-tablet:leading-[22px]"
67
+ ),
68
+ style: { color: s },
69
+ children: c
70
+ }
71
+ ),
72
+ !!m && /* @__PURE__ */ t("div", { className: "flex items-center gap-4 mt-6 max-tablet:flex-col max-tablet:gap-[10px] max-tablet:mt-[5px]", children: m == null ? void 0 : m.map((l, w) => /* @__PURE__ */ t(
73
+ "a",
74
+ {
75
+ href: (l == null ? void 0 : l.link) || "#",
76
+ className: a("w-fit z-10 max-tablet:w-full"),
77
+ target: "_blank",
78
+ rel: "noopener noreferrer",
79
+ children: /* @__PURE__ */ t(
80
+ b,
81
+ {
82
+ variant: l.variant,
83
+ className: "w-[200px] max-tablet:w-full",
84
+ title: l == null ? void 0 : l.title
85
+ }
86
+ )
87
+ },
88
+ w
89
+ )) }),
90
+ !!e && (n ? /* @__PURE__ */ t("div", { className: "flex items-center gap-4 mt-6 max-tablet:flex-col max-tablet:gap-[10px] max-tablet:mt-[5px]", children: /* @__PURE__ */ t(
91
+ "a",
92
+ {
93
+ href: ((p = e == null ? void 0 : e.button) == null ? void 0 : p.link) || "#",
94
+ className: a("w-fit z-10 max-tablet:w-full"),
95
+ target: "_blank",
96
+ rel: "noopener noreferrer",
97
+ children: /* @__PURE__ */ t(
98
+ b,
99
+ {
100
+ variant: (f = e == null ? void 0 : e.button) == null ? void 0 : f.variant,
101
+ title: (d = e == null ? void 0 : e.button) == null ? void 0 : d.title,
102
+ className: "w-[200px] max-tablet:w-full"
103
+ }
104
+ )
105
+ }
106
+ ) }) : /* @__PURE__ */ o(
107
+ "div",
108
+ {
109
+ className: a(
110
+ "bg-white rounded-[15px] items-center gap-[12px] p-[12px] flex w-[282px] mt-6"
111
+ ),
112
+ children: [
113
+ /* @__PURE__ */ t(
114
+ g,
115
+ {
116
+ src: e == null ? void 0 : e.banner_qr,
117
+ alt: e == null ? void 0 : e.banner_qr_text,
118
+ width: 101,
119
+ height: 101
120
+ }
121
+ ),
122
+ /* @__PURE__ */ t(
123
+ "p",
124
+ {
125
+ className: a(
126
+ "text-[15px] font-medium leading-[22px] text-center w-[60%] text-graySoft"
127
+ ),
128
+ style: { color: e == null ? void 0 : e.color_text },
129
+ children: e == null ? void 0 : e.banner_qr_text
130
+ }
131
+ )
132
+ ]
133
+ }
134
+ ))
135
+ ] }),
136
+ r && /* @__PURE__ */ t(
137
+ g,
138
+ {
139
+ src: r,
140
+ alt: i,
141
+ width: n ? 312 : 588,
142
+ height: n ? 218 : 400,
143
+ className: a("max-tablet:!w-full align-bottom items-end mt-auto"),
144
+ imageStyles: "object-contain object-bottom"
145
+ }
146
+ )
147
+ ]
148
+ }
149
+ ) });
150
+ };
151
+ k.propsToEdit = j;
8
152
  export {
9
- n as Banner
153
+ k as Banner
10
154
  };
@@ -1,4 +1,4 @@
1
- import { B as e } from "../index-92f77047.js";
1
+ import { Banner as n } from "./Banner.js";
2
2
  export {
3
- e as Banner
3
+ n as Banner
4
4
  };
@@ -1,29 +1,58 @@
1
- import "react/jsx-runtime";
2
- import "../ConfigProvider/index.js";
3
- import { a5 as y } from "../index-92f77047.js";
4
- import "../Segments/Segments.js";
5
- import "../Video/VideoFull/VideoFull.js";
6
- import "../Video/VideoList/VideoList.js";
7
- import "../Video/VideoListMini/VideoListMini.js";
8
- import "../Partners/Partners.js";
9
- import "../HtmlContent/HtmlContent.js";
10
- import "../HeroPossibilityBanner/index.js";
11
- import "../PartnersColors/PartnersColors.js";
12
- import "../Cards/CardImage/CardImage.js";
13
- import "../Cards/ColoredCard/index.js";
14
- import "../index-a379154f.js";
15
- import "../Faq/components/Collapse/Collapse.js";
16
- import "react";
17
- import "../cn-d8c04b28.js";
18
- import "../InstructionList/components/InstructionCard/InstructionCard.js";
19
- import "../index-60dfa873.js";
20
- import "../AnimatedSwiper/index.js";
21
- import "../PromoPoster/PromoPoster.js";
22
- import "../Space/Space.js";
23
- import "../SwiperList/SwiperList.js";
24
- import "../TasksBannerList/TasksBannerList.js";
25
- import "../Types/FiledTypes.js";
26
- import "../ComponentContainer-0fcc2695.js";
1
+ import { jsx as l, jsxs as i } from "react/jsx-runtime";
2
+ import { FieldTypes as o } from "../Types/FiledTypes.js";
3
+ import { C as s } from "../ComponentContainer-cdb2528c.js";
4
+ import { I as a } from "../index-2265d593.js";
5
+ import { c as m } from "../cn-6a4bf187.js";
6
+ const r = {
7
+ type: "banner_card",
8
+ label: "Баннер карточка",
9
+ dataType: "object",
10
+ data: {
11
+ keys: {
12
+ image: o.FILE
13
+ }
14
+ }
15
+ }, x = {
16
+ type: "banner_card",
17
+ label: "Текстовая карточка",
18
+ dataType: "object",
19
+ data: {
20
+ keys: {
21
+ title: o.TITLE,
22
+ description: o.DESCRIPTION,
23
+ color_text: o.COLOR
24
+ }
25
+ }
26
+ }, c = [r, x, "turnover"], n = ({
27
+ banner_card: e,
28
+ text_card: t,
29
+ is_banner_first: p
30
+ }) => /* @__PURE__ */ l(s, { className: "p-0", children: /* @__PURE__ */ i("div", { className: "w-full h-full flex flex-col lg:flex-row items-stretch gap-[24px]", children: [
31
+ (e == null ? void 0 : e.image) && /* @__PURE__ */ l("div", { className: "w-auto rounded-[20px] h-full object-cover", children: /* @__PURE__ */ l(
32
+ a,
33
+ {
34
+ src: e == null ? void 0 : e.image,
35
+ alt: t == null ? void 0 : t.title,
36
+ className: "h-full"
37
+ }
38
+ ) }),
39
+ t && /* @__PURE__ */ i(
40
+ "div",
41
+ {
42
+ className: m(
43
+ "w-full flex flex-col bg-white justify-center gap-[11px] rounded-[20px] p-[32px]",
44
+ {
45
+ "order-[-1]": !p
46
+ }
47
+ ),
48
+ children: [
49
+ /* @__PURE__ */ l("p", { className: "font-inter text-[32px] leading-[40px] max-tablet:text-[24px] max-tablet:leading-[28px] font-bold", children: t.title }),
50
+ /* @__PURE__ */ l("p", { className: "text-graySoft text-[16px] leading-[24px]", children: t.description })
51
+ ]
52
+ }
53
+ )
54
+ ] }) });
55
+ n.propsToEdit = c;
27
56
  export {
28
- y as BannerAndText
57
+ n as BannerAndText
29
58
  };