md-components-mdigial-azamat 0.0.109 → 0.0.113

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 (166) hide show
  1. package/dist/ActionCardList/ActionCardList.js +32 -7
  2. package/dist/ActionCardList/index.js +1 -1
  3. package/dist/ActionCardList/info.js +1 -1
  4. package/dist/ActionCardSecondaryList/ActionCardSecondaryList.js +32 -0
  5. package/dist/ActionCardSecondaryList/index.js +6 -0
  6. package/dist/ActionCardSecondaryList/info.js +11 -0
  7. package/dist/ActionCardSecondaryList/schema.js +51 -0
  8. package/dist/ActionCardSecondaryList/types.js +4 -0
  9. package/dist/ActionIconList/ActionIconList.js +29 -4
  10. package/dist/AllComponents.js +35 -9
  11. package/dist/AllComponentsInfo.js +107 -89
  12. package/dist/AnimatedSwiper/index.js +40 -38
  13. package/dist/ButtonsList/ButtonsList.js +25 -19
  14. package/dist/CardImageList/CardImageList.js +130 -73
  15. package/dist/CardImageList/info.js +1 -1
  16. package/dist/CardImageList/schema.js +62 -0
  17. package/dist/Cards/ActionSecondaryCard/ActionSecondaryCard.js +77 -0
  18. package/dist/Cards/ActionSecondaryCard/index.js +6 -0
  19. package/dist/Cards/ActionSecondaryCard/info.js +11 -0
  20. package/dist/Cards/ActionSecondaryCard/types.js +4 -0
  21. package/dist/Cards/CardImage/CardImage.js +100 -55
  22. package/dist/Cards/CardImage/index.js +6 -1
  23. package/dist/Cards/CardImage/info.js +1 -1
  24. package/dist/Cards/CardImage/schema.js +32 -0
  25. package/dist/Cards/CardImage/types.js +3 -2
  26. package/dist/Cards/InfoCard/InfoCard.js +114 -0
  27. package/dist/Cards/InfoCard/index.js +9 -0
  28. package/dist/Cards/InfoCard/info.js +11 -0
  29. package/dist/Cards/InfoCard/schema.js +60 -0
  30. package/dist/Cards/InfoCard/types.js +4 -0
  31. package/dist/Cards/PostCard/PostCard.js +60 -0
  32. package/dist/Cards/PostCard/index.js +6 -0
  33. package/dist/Cards/PostCard/info.js +11 -0
  34. package/dist/Cards/PostCard/types.js +4 -0
  35. package/dist/Cards/WarningCard/WarningCard.js +31 -6
  36. package/dist/Cards/WarningCard/index.js +1 -1
  37. package/dist/Cards/WarningCard/info.js +1 -1
  38. package/dist/Cards/WarningCard/model.js +1 -1
  39. package/dist/CurrencyRates/CurrencyRates.js +78 -0
  40. package/dist/CurrencyRates/components/Calculator.js +101 -0
  41. package/dist/CurrencyRates/components/RateCell.js +15 -0
  42. package/dist/CurrencyRates/components/RatesTable.js +134 -0
  43. package/dist/CurrencyRates/components/index.js +6 -0
  44. package/dist/CurrencyRates/index.js +8 -0
  45. package/dist/CurrencyRates/info.js +11 -0
  46. package/dist/CurrencyRates/schema.js +63 -0
  47. package/dist/CurrencyRates/types.js +4 -0
  48. package/dist/DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js +1 -1
  49. package/dist/DownloadFile/components/DownloadFileFull/DownloadFileFull.js +1 -1
  50. package/dist/DownloadFile/components/DownloadFileHalf/DownloadFileHalf.js +1 -1
  51. package/dist/DownloadFile/components/DownloadFileMini/DownloadFileMini.js +1 -1
  52. package/dist/DownloadFile/components/FileBannerSecondary/FileBannerSecondary.js +1 -1
  53. package/dist/Faq/Faq.js +1 -1
  54. package/dist/Faq/components/FeedbackForm/FeedbackForm.js +55 -6
  55. package/dist/Faq/components/FeedbackForm/index.js +1 -1
  56. package/dist/FieldInput-ef2a18d4.js +2743 -0
  57. package/dist/Flex-86aee720.js +78 -0
  58. package/dist/Footer/Footer.js +5 -5
  59. package/dist/Forms/FormDefault/FormDefault.js +12 -0
  60. package/dist/Forms/FormDefault/components/FieldCustom.js +11 -0
  61. package/dist/Forms/FormDefault/components/FieldInput.js +11 -0
  62. package/dist/Forms/FormDefault/components/FieldSection.js +10 -0
  63. package/dist/Forms/FormDefault/components/FormContent.js +10 -0
  64. package/dist/Forms/FormDefault/components/FormFields.js +7 -0
  65. package/dist/Forms/FormDefault/components/FormSuccessMessage.js +49 -0
  66. package/dist/Forms/FormDefault/components/index.js +6 -0
  67. package/dist/Forms/FormDefault/hooks/index.js +10 -0
  68. package/dist/Forms/FormDefault/hooks/useFieldOptions.js +32 -0
  69. package/dist/Forms/FormDefault/hooks/useFieldValidation.js +33 -0
  70. package/dist/Forms/FormDefault/hooks/useFieldVisibility.js +24 -0
  71. package/dist/Forms/FormDefault/hooks/useFormSubmission.js +64 -0
  72. package/dist/Forms/FormDefault/index.js +6 -12
  73. package/dist/Forms/FormDefault/info.js +3 -113
  74. package/dist/Forms/FormDefault/model/componentRegistry.js +134 -0
  75. package/dist/Forms/FormDefault/model/fieldTypes.js +18 -0
  76. package/dist/Forms/FormDefault/model/formElementTypes.js +18 -0
  77. package/dist/Forms/FormDefault/model/index.js +13 -0
  78. package/dist/Forms/FormDefault/model/requestForm.js +4 -0
  79. package/dist/Forms/{model/components.js → FormDefault/schema.js} +36 -7
  80. package/dist/Forms/FormDefault/utils.js +20 -0
  81. package/dist/Grid-331af266.js +80 -0
  82. package/dist/Header/Header.js +54 -42
  83. package/dist/Header/components/HeaderMainMobile/HeaderMainMobile.js +26 -24
  84. package/dist/Header/components/HeaderMobile/HeaderMobile.js +67 -52
  85. package/dist/Header/components/HeaderSearch/HeaderSearch.js +1 -1
  86. package/dist/Header/components/HeaderTab/HeaderTab.js +17 -15
  87. package/dist/Header/components/HeaderTabsMobile/HeaderTabsMobile.js +10 -9
  88. package/dist/Header/components/HeaderWeb/HeaderWeb.js +134 -114
  89. package/dist/Header/components/TabsOutlined/TabsOutlined.js +8 -7
  90. package/dist/HeroIconsBanner/HeroIconsBanner.js +71 -54
  91. package/dist/IconList/IconList.js +59 -33
  92. package/dist/InfoCardList/InfoCardList.js +100 -0
  93. package/dist/InfoCardList/index.js +6 -0
  94. package/dist/InfoCardList/info.js +11 -0
  95. package/dist/InfoCardList/schema.js +39 -0
  96. package/dist/InfoCardList/types.js +1 -0
  97. package/dist/ModalBody/index.js +1 -1
  98. package/dist/PageViewer/renderComponents.js +1 -1
  99. package/dist/PostsList/PostsList.js +78 -0
  100. package/dist/PostsList/index.js +4 -0
  101. package/dist/PostsList/info.js +11 -0
  102. package/dist/PostsList/schema.js +49 -0
  103. package/dist/PostsList/types.js +1 -0
  104. package/dist/PostsSlider/PostsSlider.js +78 -0
  105. package/dist/PostsSlider/index.js +4 -0
  106. package/dist/PostsSlider/info.js +11 -0
  107. package/dist/PostsSlider/schema.js +49 -0
  108. package/dist/PostsSlider/types.js +1 -0
  109. package/dist/PreviewList/PreviewList.js +19 -19
  110. package/dist/PreviewList/components/PreviewCard/PreviewCard.js +29 -29
  111. package/dist/RenderAllComponents/RenderAllComponents.js +1 -1
  112. package/dist/RenderAllComponents/const.js +1 -1
  113. package/dist/SearchBlock/SearchBlock.js +101 -0
  114. package/dist/SearchBlock/index.js +4 -0
  115. package/dist/SearchBlock/info.js +11 -0
  116. package/dist/SearchBlock/schema.js +36 -0
  117. package/dist/SegmentedContent/SegmentedContent.js +160 -0
  118. package/dist/SegmentedContent/components/ContentCard.js +50 -0
  119. package/dist/SegmentedContent/components/index.js +4 -0
  120. package/dist/SegmentedContent/index.js +8 -0
  121. package/dist/SegmentedContent/info.js +12 -0
  122. package/dist/SegmentedContent/schema.js +108 -0
  123. package/dist/SegmentedContent/types.js +1 -0
  124. package/dist/Segments/Segments.js +36 -28
  125. package/dist/Segments/index.js +8 -2
  126. package/dist/Segments/info.js +1 -1
  127. package/dist/Segments/schema.js +21 -0
  128. package/dist/Segments/types.js +4 -1
  129. package/dist/SegmentsIcons/SegmentsIcons.js +92 -0
  130. package/dist/SegmentsIcons/index.js +8 -0
  131. package/dist/SegmentsIcons/info.js +11 -0
  132. package/dist/SegmentsIcons/schema.js +14 -0
  133. package/dist/SegmentsIcons/types.js +1 -0
  134. package/dist/SwiperList/SwiperList.js +13 -11
  135. package/dist/assets/index.css +1 -1
  136. package/dist/{clientApi-642fea4b.js → clientApi-ccb08ba6.js} +7 -7
  137. package/dist/{componentsMap-855b1df7.js → componentsMap-29ccdfcc.js} +6 -3
  138. package/dist/{data.mock-182979d1.js → data.mock-bb32e8ee.js} +485 -133
  139. package/dist/index-0791c17f.js +56 -0
  140. package/dist/index-2ec92a04.js +32 -0
  141. package/dist/{index-497f59a8.js → index-b795390d.js} +23 -20
  142. package/dist/index.esm-0558519f.js +1171 -0
  143. package/dist/{index.module-c8833286.js → index.module-8835bf96.js} +1 -1
  144. package/dist/info-72904479.js +791 -0
  145. package/dist/main.js +151 -116
  146. package/dist/{mousewheel-865ae601.js → mousewheel-afbc6d42.js} +1 -1
  147. package/dist/navigation-266856e7.js +136 -0
  148. package/dist/navigation-cd786a0d.js +133 -0
  149. package/dist/{palette-c2fe86ec.js → palette-256cf77a.js} +3 -1
  150. package/dist/{swiper-react-90953710.js → swiper-react-3c2710e8.js} +695 -825
  151. package/dist/trash/HeroLargeCards/index.js +7 -6
  152. package/dist/types-c3843cc0.js +4 -0
  153. package/dist/useDraggableScroll-440da9b7.js +29 -0
  154. package/dist/useTranslation-d7a3ca6f.js +298 -0
  155. package/package.json +1 -1
  156. package/dist/FileLoader/fileLoader.js +0 -22
  157. package/dist/FileLoader/index.js +0 -8
  158. package/dist/Forms/FormDefault/componentTypes.js +0 -31
  159. package/dist/Forms/FormDefault/fieldTypesList.js +0 -45
  160. package/dist/Forms/helpers/renderFormFields.js +0 -7
  161. package/dist/Forms/model/requestForm.js +0 -4
  162. package/dist/index-6686852d.js +0 -1794
  163. package/dist/index-a0ed2e4a.js +0 -1221
  164. package/dist/info-34fbb2a8.js +0 -1534
  165. package/dist/navigation-b894d0cd.js +0 -183
  166. /package/dist/Forms/{types/formItems.js → FormDefault/model/types.js} +0 -0
@@ -1,12 +1,12 @@
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 = {}) => {
1
+ import { L as r } from "./languages-list-87ab3324.js";
2
+ const c = {}.VITE_API_URL || "https://mbank.kg/api/", u = "app_language", l = () => typeof window > "u" ? r.RU : localStorage.getItem(u) || r.RU, g = async (t, a = {}) => {
3
3
  var n;
4
- const r = ((n = a.headers) == null ? void 0 : n["Accept-Language"]) || l(), s = `${c}${t}`;
4
+ const s = ((n = a.headers) == null ? void 0 : n["Accept-Language"]) || l(), o = `${c}${t}`;
5
5
  try {
6
- const e = await fetch(s, {
6
+ const e = await fetch(o, {
7
7
  method: "GET",
8
8
  headers: {
9
- "Accept-Language": r,
9
+ "Accept-Language": s,
10
10
  "Content-Type": "application/json",
11
11
  ...a.headers
12
12
  }
@@ -15,11 +15,11 @@ const c = {}.VITE_API_URL || "https://mbank.kg/api/", u = "app_language", l = ()
15
15
  } catch (e) {
16
16
  return console.error("API request error:", e), { data: null };
17
17
  }
18
- }, A = {
18
+ }, i = {
19
19
  get(t, a = {}) {
20
20
  return g(t, a);
21
21
  }
22
22
  };
23
23
  export {
24
- A as c
24
+ i as c
25
25
  };
@@ -1,4 +1,4 @@
1
- import { W as r, F as o, a as m } from "./info-34fbb2a8.js";
1
+ import { W as r, F as o, a as m } from "./info-72904479.js";
2
2
  import t from "./AnimatedSwiper/index.js";
3
3
  import { Banner as i } from "./Banner/Banner.js";
4
4
  import { BannerAndText as a } from "./BannerAndText/index.js";
@@ -8,6 +8,7 @@ import { CardImageSecondary as p } from "./CardImageSecondary/CardImageSecondary
8
8
  import { CardImageSecondaryList as f } from "./CardImageSecondaryList/CardImageSecondaryList.js";
9
9
  import { CardInfoTable as s } from "./CardInfoTable/index.js";
10
10
  import { CardImage as d } from "./Cards/CardImage/CardImage.js";
11
+ import "./Cards/CardImage/info.js";
11
12
  import { ColoredCard as l } from "./Cards/ColoredCard/index.js";
12
13
  import { ContentCard as C } from "./Cards/ContentCard/ContentCard.js";
13
14
  import { FeaturesCard as B } from "./Cards/FeaturesCard/index.js";
@@ -34,6 +35,8 @@ import { PartnersColors as W } from "./PartnersColors/PartnersColors.js";
34
35
  import { PreviewList as h } from "./PreviewList/PreviewList.js";
35
36
  import { PromoPoster as q } from "./PromoPoster/PromoPoster.js";
36
37
  import { Segments as v } from "./Segments/Segments.js";
38
+ import "./Segments/info.js";
39
+ import "./Segments/schema.js";
37
40
  import { Space as j } from "./Space/Space.js";
38
41
  import { StandartTable as z } from "./StandartTable/index.js";
39
42
  import { Stepper as E } from "./Stepper/Stepper.js";
@@ -45,7 +48,7 @@ import { VideoFull as O } from "./Video/VideoFull/VideoFull.js";
45
48
  import { VideoList as Q } from "./Video/VideoList/VideoList.js";
46
49
  import { VideoListMini as R } from "./Video/VideoListMini/VideoListMini.js";
47
50
  import { VideoMainBanner as U } from "./VideoMainBanner/VideoMainBanner.js";
48
- const Jr = {
51
+ const Or = {
49
52
  Banner: i,
50
53
  BannerAndText: a,
51
54
  CardImageList: e,
@@ -97,5 +100,5 @@ const Jr = {
97
100
  ActionCardList: m
98
101
  };
99
102
  export {
100
- Jr as c
103
+ Or as c
101
104
  };