md-components-mdigial-azamat 0.0.44 → 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 (144) hide show
  1. package/dist/AllComponents.js +167 -34
  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 +8 -7
  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 -45
  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 +3 -3
  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 +2 -2
  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 -47
  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 -46
  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 -47
  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 -11
  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 +18 -17
  121. package/dist/VideoMainBanner/info.js +11 -0
  122. package/dist/clientApi-642fea4b.js +25 -0
  123. package/dist/componentsMap-b3ef1658.js +75 -0
  124. package/dist/{const-637b0dca.js → const-53dff524.js} +3 -3
  125. package/dist/createBoolean-56064b0d.js +12 -0
  126. package/dist/{data.mock-483400cb.js → data.mock-2412b65a.js} +94 -96
  127. package/dist/{index-6af94f99.js → index-10605794.js} +1 -1
  128. package/dist/index-1a32da94.js +4 -0
  129. package/dist/{index-815f0132.js → index-b4c61de3.js} +9 -8
  130. package/dist/index.module-c8833286.js +83 -0
  131. package/dist/{languages-list-8419e560.js → languages-list-87ab3324.js} +2 -2
  132. package/dist/main.js +88 -81
  133. package/dist/{mousewheel-865ae601.js → mousewheel-2cf27f39.js} +1 -1
  134. package/dist/navigation-48c90d3b.js +183 -0
  135. package/dist/routes-76228734.js +109 -0
  136. package/dist/{swiper-react-90953710.js → swiper-react-bfbb44d6.js} +3 -3
  137. package/package.json +1 -1
  138. package/dist/componentsMap-0b4c8ca6.js +0 -68
  139. package/dist/index-3a534581.js +0 -261
  140. package/dist/index-3b24fe0f.js +0 -314
  141. package/dist/index-54813771.js +0 -925
  142. package/dist/routes-382632ac.js +0 -7
  143. /package/dist/assets/{index3.css → TasksBanner.css} +0 -0
  144. /package/dist/assets/{index2.css → navigation.css} +0 -0
@@ -10,5 +10,6 @@ const d = ["linkVideo"], n = ({ linkVideo: r }) => /* @__PURE__ */ o(i, { childr
10
10
  ) }) });
11
11
  n.propsToEdit = d;
12
12
  export {
13
- n as VideoFull
13
+ n as VideoFull,
14
+ d as propsToEdit
14
15
  };
@@ -0,0 +1,11 @@
1
+ import { C as o } from "../../index-1a32da94.js";
2
+ import { propsToEdit as t } from "./VideoFull.js";
3
+ const p = {
4
+ title: "Полноэкранное видео",
5
+ description: "Компонент для воспроизведения видео контента в полноэкранном режиме. Используется для размещения основного видеоматериала на странице.",
6
+ types: [o.videos],
7
+ propsToEdit: t
8
+ };
9
+ export {
10
+ p as videoFullInfo
11
+ };
@@ -29,5 +29,6 @@ const p = {
29
29
  )) }) });
30
30
  t.propsToEdit = n;
31
31
  export {
32
- t as VideoList
32
+ t as VideoList,
33
+ n as propsToEdit
33
34
  };
@@ -0,0 +1,11 @@
1
+ import { C as o } from "../../index-1a32da94.js";
2
+ import { propsToEdit as t } from "./VideoList.js";
3
+ const p = {
4
+ title: "Список видео",
5
+ description: "Компонент для отображения списка видео с превью и описаниями. Используется для представления коллекции видеоматериалов на странице.",
6
+ types: [o.videos],
7
+ propsToEdit: t
8
+ };
9
+ export {
10
+ p as videoListInfo
11
+ };
@@ -29,5 +29,6 @@ const n = {
29
29
  )) }) });
30
30
  t.propsToEdit = p;
31
31
  export {
32
- t as VideoListMini
32
+ t as VideoListMini,
33
+ p as propsToEdit
33
34
  };
@@ -0,0 +1,11 @@
1
+ import { C as o } from "../../index-1a32da94.js";
2
+ import { propsToEdit as i } from "./VideoListMini.js";
3
+ const p = {
4
+ title: "Мини список видео",
5
+ description: "Компактный компонент для отображения списка видео в миниатюрном формате. Используется для представления видеоколлекции в ограниченном пространстве.",
6
+ types: [o.videos],
7
+ propsToEdit: i
8
+ };
9
+ export {
10
+ p as videoListMiniInfo
11
+ };
@@ -1,7 +1,7 @@
1
1
  import { jsxs as r, jsx as e } from "react/jsx-runtime";
2
2
  import { a as t, c as u } from "../cn-6a4bf187.js";
3
3
  import { FieldTypes as m } from "../Types/FiledTypes.js";
4
- import { B as y } from "../index-6af94f99.js";
4
+ import { B as y } from "../index-10605794.js";
5
5
  import { C as g } from "../ComponentContainer-cdb2528c.js";
6
6
  import { I as w } from "../index-2265d593.js";
7
7
  const v = {
@@ -9,9 +9,9 @@ const v = {
9
9
  label: "Кнопки",
10
10
  dataType: "array",
11
11
  data: {
12
- button_hex: m.COLOR,
13
- button_link: m.LINK,
14
- button_text: m.TITLE
12
+ color_text: m.COLOR,
13
+ link: m.LINK,
14
+ title: m.TITLE
15
15
  }
16
16
  }, N = [
17
17
  "title",
@@ -25,24 +25,24 @@ const v = {
25
25
  "isShadow",
26
26
  "grid"
27
27
  ], k = ({
28
- title: b,
28
+ title: f,
29
29
  description: p,
30
30
  image: i,
31
31
  image_mob: c,
32
- logo: o,
33
- animation: s,
32
+ logo: s,
33
+ animation: o,
34
34
  animation_mob: d,
35
35
  buttons: x,
36
36
  isShadow: n = !1,
37
37
  grid: h
38
38
  }) => {
39
- const f = (l, a) => (a == null ? void 0 : a.length) % 2 !== 0 && l === (a == null ? void 0 : a.length) - 1;
39
+ const b = (l, a) => (a == null ? void 0 : a.length) % 2 !== 0 && l === (a == null ? void 0 : a.length) - 1;
40
40
  return /* @__PURE__ */ r("div", { children: [
41
41
  /* @__PURE__ */ e(g, { children: /* @__PURE__ */ r("div", { className: "flex flex-col items-center pt-[40px] max-tablet:pt-[32px]", children: [
42
- o && /* @__PURE__ */ e(
42
+ s && /* @__PURE__ */ e(
43
43
  w,
44
44
  {
45
- src: o,
45
+ src: s,
46
46
  alt: "mtravel logo",
47
47
  className: t(
48
48
  "mb-[36px] w-[427px] h-[94px] max-tablet:w-full max-tablet:h-[45px] max-tablet:mt-[12px] max-tablet:mb-[24px] xxl:!h-[131px] xxl:w-full xxl:mt-[12px] xxl:mb-[24px]"
@@ -50,7 +50,7 @@ const v = {
50
50
  imageStyles: "h-full w-full object-contain"
51
51
  }
52
52
  ),
53
- /* @__PURE__ */ e("h1", { className: "text-black2 text-[40px] font-bold leading-[50px] mb-[24px] text-center max-tablet:text-[26px] max-tablet:leading-[32px] max-tablet:mb-[20px] xxl:text-[56px] xxl:leading-[66px]", children: b }),
53
+ /* @__PURE__ */ e("h1", { className: "text-black2 text-[40px] font-bold leading-[50px] mb-[24px] text-center max-tablet:text-[26px] max-tablet:leading-[32px] max-tablet:mb-[20px] xxl:text-[56px] xxl:leading-[66px]", children: f }),
54
54
  p && /* @__PURE__ */ e("p", { className: "text-black2 text-center text-[20px] font-normal leading-[25px] mb-[36px] w-[75%] max-tablet:text-[16px] max-tablet:leading-[20px] max-tablet:w-full", children: p }),
55
55
  /* @__PURE__ */ e(
56
56
  "div",
@@ -60,12 +60,12 @@ const v = {
60
60
  children: x == null ? void 0 : x.map((l, a) => /* @__PURE__ */ e(
61
61
  "a",
62
62
  {
63
- href: l == null ? void 0 : l.button_link,
63
+ href: l == null ? void 0 : l.link,
64
64
  className: u("flex items-center", {
65
- [`col-span-${h}`]: f(a, x)
65
+ [`col-span-${h}`]: b(a, x)
66
66
  }),
67
67
  target: "_blank",
68
- children: /* @__PURE__ */ e(y, { className: "font-[Inter] h-[56px] mx-auto px-[32px] py-[12px] max-tablet:px-[32px] max-tablet:py-[12px]", children: l == null ? void 0 : l.button_text })
68
+ children: /* @__PURE__ */ e(y, { className: "font-[Inter] h-[56px] mx-auto px-[32px] py-[12px] max-tablet:px-[32px] max-tablet:py-[12px]", children: l == null ? void 0 : l.title })
69
69
  }
70
70
  ))
71
71
  }
@@ -106,7 +106,7 @@ const v = {
106
106
  "source",
107
107
  {
108
108
  type: "video/webm",
109
- src: s
109
+ src: o
110
110
  }
111
111
  )
112
112
  ]
@@ -152,7 +152,7 @@ const v = {
152
152
  "source",
153
153
  {
154
154
  type: "video/webm",
155
- src: s
155
+ src: o
156
156
  }
157
157
  )
158
158
  ]
@@ -166,5 +166,6 @@ const v = {
166
166
  };
167
167
  k.propsToEdit = N;
168
168
  export {
169
- k as VideoMainBanner
169
+ k as VideoMainBanner,
170
+ N as propsToEdit
170
171
  };
@@ -0,0 +1,11 @@
1
+ import { C as o } from "../index-1a32da94.js";
2
+ import { propsToEdit as e } from "./VideoMainBanner.js";
3
+ const n = {
4
+ title: "Главный видео баннер",
5
+ description: "Главный баннер страницы с видео контентом, заголовком, описанием, логотипом и кнопками действий. Используется в качестве основного визуального элемента с видео на главной странице или в начале раздела.",
6
+ types: [o.banners, o.videos],
7
+ propsToEdit: e
8
+ };
9
+ export {
10
+ n as videoMainBannerInfo
11
+ };
@@ -0,0 +1,25 @@
1
+ import { L as o } from "./languages-list-87ab3324.js";
2
+ const c = {}.VITE_API_URL || "https://mbank.kg/api/", u = "app_language", l = () => localStorage.getItem(u) || o.RU, g = async (t, a = {}) => {
3
+ var n;
4
+ const r = ((n = a.headers) == null ? void 0 : n["Accept-Language"]) || l(), s = `${c}${t}`;
5
+ try {
6
+ const e = await fetch(s, {
7
+ method: "GET",
8
+ headers: {
9
+ "Accept-Language": r,
10
+ "Content-Type": "application/json",
11
+ ...a.headers
12
+ }
13
+ });
14
+ return e.ok ? { data: await e.json() } : (console.warn("API request failed:", e.status, e.statusText), { data: null });
15
+ } catch (e) {
16
+ return console.error("API request error:", e), { data: null };
17
+ }
18
+ }, A = {
19
+ get(t, a = {}) {
20
+ return g(t, a);
21
+ }
22
+ };
23
+ export {
24
+ A as c
25
+ };
@@ -0,0 +1,75 @@
1
+ import r from "./AnimatedSwiper/index.js";
2
+ import { Banner as o } from "./Banner/Banner.js";
3
+ import { CardIconList as m } from "./CardIconList/CardIconList.js";
4
+ import { CardImageList as i } from "./CardImageList/CardImageList.js";
5
+ import { CardImageSecondaryList as t } from "./CardImageSecondaryList/CardImageSecondaryList.js";
6
+ import { CardInfoTable as p } from "./CardInfoTable/index.js";
7
+ import { WarningCard as n } from "./Cards/WarningCard/WarningCard.js";
8
+ import { ContentCardList as e } from "./ContentCardList/ContentCardList.js";
9
+ import { DownloadFileBanner as a } from "./DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js";
10
+ import { DownloadFileBright as f } from "./DownloadFile/components/DownloadFileBright/index.js";
11
+ import { DownloadFileFull as s } from "./DownloadFile/components/DownloadFileFull/DownloadFileFull.js";
12
+ import { DownloadFileHalf as d } from "./DownloadFile/components/DownloadFileHalf/DownloadFileHalf.js";
13
+ import { DownloadFileMini as l } from "./DownloadFile/components/DownloadFileMini/DownloadFileMini.js";
14
+ import { Faq as L } from "./Faq/Faq.js";
15
+ import { Footer as C } from "./Footer/Footer.js";
16
+ import { Header as F } from "./Header/Header.js";
17
+ import { InfoBannerList as w } from "./InfoBannerList/InfoBannerList.js";
18
+ import { InstructionList as B } from "./InstructionList/InstructionList.js";
19
+ import { IntroBanner as c } from "./IntroBanner/IntroBanner.js";
20
+ import { MainBanner as I } from "./MainBanner/MainBanner.js";
21
+ import { MultiCards as S } from "./MultiCards/index.js";
22
+ import { Partners as M } from "./Partners/Partners.js";
23
+ import { PartnersColors as g } from "./PartnersColors/PartnersColors.js";
24
+ import { PreviewList as D } from "./PreviewList/PreviewList.js";
25
+ import { PromoPoster as P } from "./PromoPoster/PromoPoster.js";
26
+ import { Segments as u } from "./Segments/Segments.js";
27
+ import { Space as V } from "./Space/Space.js";
28
+ import { StandartTable as T } from "./StandartTable/index.js";
29
+ import { Stepper as b } from "./Stepper/Stepper.js";
30
+ import { SwiperList as H } from "./SwiperList/SwiperList.js";
31
+ import { TasksBannerList as h } from "./TasksBannerList/TasksBannerList.js";
32
+ import { VideoFull as k } from "./Video/VideoFull/VideoFull.js";
33
+ import { VideoList as q } from "./Video/VideoList/VideoList.js";
34
+ import { VideoListMini as v } from "./Video/VideoListMini/VideoListMini.js";
35
+ import { VideoMainBanner as x } from "./VideoMainBanner/VideoMainBanner.js";
36
+ const wr = {
37
+ Banner: o,
38
+ CardImageList: i,
39
+ Stepper: b,
40
+ Segments: u,
41
+ VideoFull: k,
42
+ VideoList: q,
43
+ VideoListMini: v,
44
+ ContentCardList: e,
45
+ CardIconList: m,
46
+ MultiCards: S,
47
+ Partners: M,
48
+ PartnersColors: g,
49
+ MainBanner: I,
50
+ WarningCard: n,
51
+ Faq: L,
52
+ DownloadFileBanner: a,
53
+ DownloadFileHalf: d,
54
+ DownloadFileFull: s,
55
+ DownloadFileMini: l,
56
+ InstructionList: B,
57
+ PreviewList: D,
58
+ SwiperList: H,
59
+ AnimatedSwiper: r,
60
+ InfoBannerList: w,
61
+ TasksBannerList: h,
62
+ VideoMainBanner: x,
63
+ Space: V,
64
+ PromoPoster: P,
65
+ CardImageSecondaryList: t,
66
+ CardInfoTable: p,
67
+ StandartTable: T,
68
+ IntroBanner: c,
69
+ DownloadFileBright: f,
70
+ Header: F,
71
+ Footer: C
72
+ };
73
+ export {
74
+ wr as c
75
+ };
@@ -20,8 +20,8 @@ const l = {
20
20
  data: l
21
21
  };
22
22
  export {
23
- r as B,
24
- s as a,
25
- l as b,
23
+ l as B,
24
+ r as a,
25
+ s as b,
26
26
  c
27
27
  };
@@ -0,0 +1,12 @@
1
+ import { FieldTypes as r } from "./Types/FiledTypes.js";
2
+ const a = ({
3
+ label: e,
4
+ type: o
5
+ }) => ({
6
+ dataType: r.BOOLEAN,
7
+ label: e,
8
+ type: o
9
+ });
10
+ export {
11
+ a as c
12
+ };