@redneckz/wildless-cms-uni-blocks 0.6.26 → 0.6.28

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 (1975) hide show
  1. package/bundle/ProjectSettings.d.ts +2 -0
  2. package/bundle/blocks.schema.json +1 -1
  3. package/bundle/bundle.umd.js +395 -429
  4. package/bundle/bundle.umd.min.js +1 -1
  5. package/bundle/components/BaseTile/BaseTile.d.ts +2 -2
  6. package/bundle/components/BusinessBlock/BusinessBlock.d.ts +5 -0
  7. package/bundle/components/BusinessBlock/BusinessBlockContent.d.ts +28 -0
  8. package/bundle/components/BusinessBlock/BusinessCard.d.ts +2 -0
  9. package/bundle/components/Calculator/BonusCalculatorForm.d.ts +2 -2
  10. package/bundle/components/Calculator/CreditCalculatorForm.d.ts +2 -2
  11. package/bundle/components/Calculator/DepositCalculatorForm.d.ts +2 -2
  12. package/bundle/components/Calculator/renderButtonSection.d.ts +1 -2
  13. package/bundle/components/Calculator/renderCalculatorBlock.d.ts +1 -1
  14. package/bundle/components/Catalog/CatalogCard.d.ts +2 -2
  15. package/bundle/components/ComparisonTable/ComparisonTableBody.d.ts +1 -3
  16. package/bundle/components/ComparisonTable/ComparisonTableColumnHeaders.d.ts +0 -3
  17. package/bundle/components/ContentPage/renderBlock.d.ts +0 -2
  18. package/bundle/components/ContentPage/renderBlockList.d.ts +1 -1
  19. package/bundle/components/ContentPage/renderSlots.d.ts +1 -1
  20. package/bundle/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +1 -2
  21. package/bundle/components/Footer/Contacts.d.ts +2 -2
  22. package/bundle/components/Footer/Footer.fallback.d.ts +2 -0
  23. package/bundle/components/Footer/FooterContent.d.ts +3 -19
  24. package/bundle/components/Footer/FooterDataProps.d.ts +12 -0
  25. package/bundle/components/Footer/FooterLink.d.ts +2 -2
  26. package/bundle/components/Footer/HorizontalNavigation.d.ts +1 -2
  27. package/bundle/components/Footer/HorizontalNavigation.mobile.d.ts +1 -2
  28. package/bundle/components/Footer/Sitemap.d.ts +2 -2
  29. package/bundle/components/Footer/SocialMedia.d.ts +2 -2
  30. package/bundle/components/Footer/SocialMedia.mobile.d.ts +2 -2
  31. package/bundle/components/Footer/useFooterData.d.ts +2 -0
  32. package/bundle/components/Gallery/GalleryContainer.d.ts +1 -3
  33. package/bundle/components/Gallery/GalleryContent.d.ts +1 -1
  34. package/bundle/components/Header/DropdownMenu.d.ts +0 -2
  35. package/bundle/components/Header/HeaderBurger.d.ts +0 -2
  36. package/bundle/components/Header/HeaderSubMenu.d.ts +0 -2
  37. package/bundle/components/Header/HeaderSubMenuItem.d.ts +0 -2
  38. package/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +2 -2
  39. package/bundle/components/InvestmentGallery/InvestmentGalleryCard.d.ts +2 -2
  40. package/bundle/components/LikeControl/LikeControl.d.ts +5 -2
  41. package/bundle/components/LinkDocs/LinkDocsHorizontalList.d.ts +1 -5
  42. package/bundle/components/OfficeMap/useOfficeMap.d.ts +56 -2
  43. package/bundle/components/Placeholder/Placeholder.d.ts +0 -1
  44. package/bundle/components/ProductBlock/renderBackwardButton.d.ts +1 -1
  45. package/bundle/components/Recommendation/RecommendationCard.d.ts +2 -2
  46. package/bundle/components/StepsBlock/renderStepContent.d.ts +2 -5
  47. package/bundle/components/Tabs/LinkTab.d.ts +8 -0
  48. package/bundle/components/Tabs/Tabs.d.ts +2 -2
  49. package/bundle/components/Tabs/TabsContent.d.ts +5 -5
  50. package/bundle/components/Tabs/renderGroupTab.d.ts +2 -2
  51. package/bundle/components/Tabs/renderTab.d.ts +4 -6
  52. package/bundle/components/TariffsTable/TariffsTableContent.d.ts +1 -1
  53. package/bundle/components/TariffsTable/TariffsTableRenderCell.d.ts +1 -3
  54. package/bundle/components/TariffsTable/TariffsTableRowContainer.d.ts +1 -3
  55. package/bundle/components/TariffsTable/TariffsTableTileCell.d.ts +3 -4
  56. package/bundle/components/VerticalLayout/VerticalLayout.d.ts +5 -0
  57. package/bundle/components/VerticalLayout/VerticalLayoutContent.d.ts +17 -0
  58. package/bundle/hooks/handlerDecorator.d.ts +5 -0
  59. package/bundle/hooks/useLink.d.ts +6 -16
  60. package/bundle/hooks/useRouter.d.ts +13 -0
  61. package/bundle/hooks/useTableArrowScrollControl.d.ts +1 -3
  62. package/bundle/index.d.ts +2 -0
  63. package/bundle/model/BlockVersion.d.ts +1 -0
  64. package/bundle/model/BlocksRegistry.d.ts +1 -1
  65. package/bundle/model/JSXBlock.d.ts +7 -8
  66. package/bundle/react/setup-fixture.d.ts +0 -3
  67. package/bundle/services/sitemap/SitemapProps.d.ts +1 -1
  68. package/bundle/services/sitemap/findActiveSubItem.d.ts +1 -1
  69. package/bundle/services/sitemap/isSubItemActive.d.ts +1 -1
  70. package/bundle/services/sitemap/isTopItemActive.d.ts +1 -1
  71. package/bundle/services/sitemap/useSWRResource.d.ts +2 -0
  72. package/bundle/ui-kit/BlockWrapper.d.ts +2 -2
  73. package/bundle/ui-kit/Button/ButtonSection.d.ts +2 -2
  74. package/bundle/ui-kit/Checkbox/CheckboxProps.d.ts +2 -2
  75. package/bundle/ui-kit/InnerTable/InnerTable.d.ts +2 -3
  76. package/bundle/ui-kit/InnerTable/InnerTableBody.d.ts +1 -2
  77. package/bundle/ui-kit/InnerTable/InnerTableBodyItem.d.ts +1 -2
  78. package/bundle/ui-kit/InnerTable/InnerTableButton.d.ts +1 -2
  79. package/bundle/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +4 -5
  80. package/bundle/ui-kit/SearchBar/SearchBar.d.ts +2 -2
  81. package/bundle/ui-kit/SearchBar/SearchBar.mobile.d.ts +2 -2
  82. package/bundle/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +2 -2
  83. package/bundle/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.d.ts +3 -2
  84. package/dist/ProjectSettings.d.ts +2 -0
  85. package/dist/ProjectSettings.js +3 -0
  86. package/dist/ProjectSettings.js.map +1 -1
  87. package/dist/components/Accordion/Accordion.js +1 -1
  88. package/dist/components/Accordion/Accordion.js.map +1 -1
  89. package/dist/components/Accordion/Accordion.mobile.js +1 -1
  90. package/dist/components/Accordion/Accordion.mobile.js.map +1 -1
  91. package/dist/components/BaseTile/BaseTile.d.ts +2 -2
  92. package/dist/components/BaseTile/BaseTile.js +1 -3
  93. package/dist/components/BaseTile/BaseTile.js.map +1 -1
  94. package/dist/components/Blocks.js +10 -6
  95. package/dist/components/Blocks.js.map +1 -1
  96. package/dist/components/Blocks.mobile.js +0 -2
  97. package/dist/components/Blocks.mobile.js.map +1 -1
  98. package/dist/components/Bonus/Bonus.js +3 -3
  99. package/dist/components/Bonus/Bonus.js.map +1 -1
  100. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
  101. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  102. package/dist/components/BusinessBlock/BusinessBlock.d.ts +5 -0
  103. package/dist/components/BusinessBlock/BusinessBlock.js +9 -0
  104. package/dist/components/BusinessBlock/BusinessBlock.js.map +1 -0
  105. package/dist/components/BusinessBlock/BusinessBlockContent.d.ts +28 -0
  106. package/dist/components/BusinessBlock/BusinessBlockContent.js +2 -0
  107. package/dist/components/BusinessBlock/BusinessBlockContent.js.map +1 -0
  108. package/dist/components/BusinessBlock/BusinessCard.d.ts +2 -0
  109. package/dist/components/BusinessBlock/BusinessCard.js +16 -0
  110. package/dist/components/BusinessBlock/BusinessCard.js.map +1 -0
  111. package/dist/components/Calculator/BonusCalculatorForm.d.ts +2 -2
  112. package/dist/components/Calculator/BonusCalculatorForm.js +2 -2
  113. package/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
  114. package/dist/components/Calculator/Calculator.js +3 -5
  115. package/dist/components/Calculator/Calculator.js.map +1 -1
  116. package/dist/components/Calculator/CreditCalculatorForm.d.ts +2 -2
  117. package/dist/components/Calculator/CreditCalculatorForm.js +3 -8
  118. package/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
  119. package/dist/components/Calculator/DepositCalculatorForm.d.ts +2 -2
  120. package/dist/components/Calculator/DepositCalculatorForm.js +3 -8
  121. package/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
  122. package/dist/components/Calculator/renderButtonSection.d.ts +1 -2
  123. package/dist/components/Calculator/renderButtonSection.js +2 -2
  124. package/dist/components/Calculator/renderButtonSection.js.map +1 -1
  125. package/dist/components/Calculator/renderCalculatorBlock.d.ts +1 -1
  126. package/dist/components/Calculator/renderCalculatorBlock.js +2 -2
  127. package/dist/components/Calculator/renderCalculatorBlock.js.map +1 -1
  128. package/dist/components/CardTransfer/CardTransfer.js +3 -4
  129. package/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  130. package/dist/components/Catalog/Catalog.js +11 -21
  131. package/dist/components/Catalog/Catalog.js.map +1 -1
  132. package/dist/components/Catalog/CatalogCard.d.ts +2 -2
  133. package/dist/components/Catalog/CatalogCard.js +1 -3
  134. package/dist/components/Catalog/CatalogCard.js.map +1 -1
  135. package/dist/components/ComparisonTable/ComparisonTable.js +4 -6
  136. package/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
  137. package/dist/components/ComparisonTable/ComparisonTable.mobile.js +3 -3
  138. package/dist/components/ComparisonTable/ComparisonTable.mobile.js.map +1 -1
  139. package/dist/components/ComparisonTable/ComparisonTableBody.d.ts +1 -3
  140. package/dist/components/ComparisonTable/ComparisonTableBody.js +3 -9
  141. package/dist/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
  142. package/dist/components/ComparisonTable/ComparisonTableColumnHeaders.d.ts +0 -3
  143. package/dist/components/ComparisonTable/ComparisonTableColumnHeaders.js +1 -4
  144. package/dist/components/ComparisonTable/ComparisonTableColumnHeaders.js.map +1 -1
  145. package/dist/components/ComparisonTable/ComparisonTableRows.js +2 -2
  146. package/dist/components/ComparisonTable/ComparisonTableRows.js.map +1 -1
  147. package/dist/components/ComparisonTable/HeaderCell.js +1 -1
  148. package/dist/components/ComparisonTable/HeaderCell.js.map +1 -1
  149. package/dist/components/ContactsBlock/ContactsBlock.js +2 -2
  150. package/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
  151. package/dist/components/ContentPage/ContentPage.js +4 -5
  152. package/dist/components/ContentPage/ContentPage.js.map +1 -1
  153. package/dist/components/ContentPage/renderBlock.d.ts +0 -2
  154. package/dist/components/ContentPage/renderBlock.js +3 -3
  155. package/dist/components/ContentPage/renderBlock.js.map +1 -1
  156. package/dist/components/ContentPage/renderBlockList.d.ts +1 -1
  157. package/dist/components/ContentPage/renderBlockList.js +5 -12
  158. package/dist/components/ContentPage/renderBlockList.js.map +1 -1
  159. package/dist/components/ContentPage/renderSlots.d.ts +1 -1
  160. package/dist/components/ContentPage/renderSlots.js +10 -12
  161. package/dist/components/ContentPage/renderSlots.js.map +1 -1
  162. package/dist/components/ErrorBlock/ErrorBlock.js +1 -6
  163. package/dist/components/ErrorBlock/ErrorBlock.js.map +1 -1
  164. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +1 -2
  165. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +2 -5
  166. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  167. package/dist/components/ExchangeRateTile/ExchangeRateTile.js +2 -2
  168. package/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  169. package/dist/components/Footer/Contacts.d.ts +2 -2
  170. package/dist/components/Footer/Contacts.js +1 -10
  171. package/dist/components/Footer/Contacts.js.map +1 -1
  172. package/dist/components/Footer/Footer.fallback.d.ts +2 -0
  173. package/dist/components/Footer/Footer.fallback.js +13 -0
  174. package/dist/components/Footer/Footer.fallback.js.map +1 -0
  175. package/dist/components/Footer/Footer.js +6 -3
  176. package/dist/components/Footer/Footer.js.map +1 -1
  177. package/dist/components/Footer/Footer.mobile.js +10 -9
  178. package/dist/components/Footer/Footer.mobile.js.map +1 -1
  179. package/dist/components/Footer/FooterContent.d.ts +3 -19
  180. package/dist/components/Footer/FooterDataProps.d.ts +12 -0
  181. package/dist/components/{ContentPage/ContentPageContext.js → Footer/FooterDataProps.js} +1 -1
  182. package/dist/components/Footer/FooterDataProps.js.map +1 -0
  183. package/dist/components/Footer/FooterLink.d.ts +2 -2
  184. package/dist/components/Footer/HorizontalNavigation.d.ts +1 -2
  185. package/dist/components/Footer/HorizontalNavigation.js +2 -5
  186. package/dist/components/Footer/HorizontalNavigation.js.map +1 -1
  187. package/dist/components/Footer/HorizontalNavigation.mobile.d.ts +1 -2
  188. package/dist/components/Footer/HorizontalNavigation.mobile.js +1 -6
  189. package/dist/components/Footer/HorizontalNavigation.mobile.js.map +1 -1
  190. package/dist/components/Footer/HorizontalNavigationLink.js +6 -1
  191. package/dist/components/Footer/HorizontalNavigationLink.js.map +1 -1
  192. package/dist/components/Footer/MediaButton.js +5 -2
  193. package/dist/components/Footer/MediaButton.js.map +1 -1
  194. package/dist/components/Footer/Sitemap.d.ts +2 -2
  195. package/dist/components/Footer/Sitemap.js +14 -12
  196. package/dist/components/Footer/Sitemap.js.map +1 -1
  197. package/dist/components/Footer/SocialMedia.d.ts +2 -2
  198. package/dist/components/Footer/SocialMedia.js +1 -6
  199. package/dist/components/Footer/SocialMedia.js.map +1 -1
  200. package/dist/components/Footer/SocialMedia.mobile.d.ts +2 -2
  201. package/dist/components/Footer/SocialMedia.mobile.js +1 -6
  202. package/dist/components/Footer/SocialMedia.mobile.js.map +1 -1
  203. package/dist/components/Footer/TextInformation.js +1 -6
  204. package/dist/components/Footer/TextInformation.js.map +1 -1
  205. package/dist/components/Footer/TextInformation.mobile.js +2 -5
  206. package/dist/components/Footer/TextInformation.mobile.js.map +1 -1
  207. package/dist/components/Footer/TextInformationLink.js +6 -1
  208. package/dist/components/Footer/TextInformationLink.js.map +1 -1
  209. package/dist/components/Footer/useFooterData.d.ts +2 -0
  210. package/dist/{services/sitemap/useSitemap.js → components/Footer/useFooterData.js} +5 -5
  211. package/dist/components/Footer/useFooterData.js.map +1 -0
  212. package/dist/components/Gallery/Gallery.mobile.js +4 -4
  213. package/dist/components/Gallery/Gallery.mobile.js.map +1 -1
  214. package/dist/components/Gallery/GalleryContainer.d.ts +1 -3
  215. package/dist/components/Gallery/GalleryContainer.js +2 -2
  216. package/dist/components/Gallery/GalleryContainer.js.map +1 -1
  217. package/dist/components/Gallery/GalleryContent.d.ts +1 -1
  218. package/dist/components/Gallery/GalleryInner.js +2 -2
  219. package/dist/components/Gallery/GalleryInner.js.map +1 -1
  220. package/dist/components/GracePeriod/GracePeriod.js +1 -3
  221. package/dist/components/GracePeriod/GracePeriod.js.map +1 -1
  222. package/dist/components/Header/DropdownMenu.d.ts +0 -2
  223. package/dist/components/Header/DropdownMenu.js +3 -4
  224. package/dist/components/Header/DropdownMenu.js.map +1 -1
  225. package/dist/components/Header/Header.js +8 -9
  226. package/dist/components/Header/Header.js.map +1 -1
  227. package/dist/components/Header/Header.mobile.js +8 -14
  228. package/dist/components/Header/Header.mobile.js.map +1 -1
  229. package/dist/components/Header/HeaderBurger.d.ts +0 -2
  230. package/dist/components/Header/HeaderBurger.js +2 -2
  231. package/dist/components/Header/HeaderBurger.js.map +1 -1
  232. package/dist/components/Header/HeaderSubMenu.d.ts +0 -2
  233. package/dist/components/Header/HeaderSubMenu.js +4 -3
  234. package/dist/components/Header/HeaderSubMenu.js.map +1 -1
  235. package/dist/components/Header/HeaderSubMenuItem.d.ts +0 -2
  236. package/dist/components/Header/HeaderSubMenuItem.js +2 -5
  237. package/dist/components/Header/HeaderSubMenuItem.js.map +1 -1
  238. package/dist/components/Headline/Headline.js +1 -1
  239. package/dist/components/Headline/Headline.js.map +1 -1
  240. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +4 -6
  241. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  242. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +2 -2
  243. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  244. package/dist/components/InvestmentGallery/InvestmentGallery.js +3 -7
  245. package/dist/components/InvestmentGallery/InvestmentGallery.js.map +1 -1
  246. package/dist/components/InvestmentGallery/InvestmentGalleryCard.d.ts +2 -2
  247. package/dist/components/InvestmentGallery/InvestmentGalleryCard.js +2 -2
  248. package/dist/components/InvestmentGallery/InvestmentGalleryCard.js.map +1 -1
  249. package/dist/components/InvestmentInfo/InvestmentInfo.js +2 -2
  250. package/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  251. package/dist/components/LikeControl/LikeControl.d.ts +5 -2
  252. package/dist/components/LikeControl/LikeControl.js +5 -6
  253. package/dist/components/LikeControl/LikeControl.js.map +1 -1
  254. package/dist/components/LinkDocs/LinkDocs.js +1 -3
  255. package/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  256. package/dist/components/LinkDocs/LinkDocs.mobile.js +1 -3
  257. package/dist/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
  258. package/dist/components/LinkDocs/LinkDocsHorizontalList.d.ts +1 -5
  259. package/dist/components/LinkDocs/LinkDocsHorizontalList.js +3 -5
  260. package/dist/components/LinkDocs/LinkDocsHorizontalList.js.map +1 -1
  261. package/dist/components/LinkList/LinkList.js +1 -3
  262. package/dist/components/LinkList/LinkList.js.map +1 -1
  263. package/dist/components/MobileAppTile/MobileAppTile.js +4 -4
  264. package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  265. package/dist/components/OfficeMap/OfficeMap.js +4 -2
  266. package/dist/components/OfficeMap/OfficeMap.js.map +1 -1
  267. package/dist/components/OfficeMap/useOfficeMap.d.ts +56 -2
  268. package/dist/components/OfficeMap/useOfficeMap.js +4 -1
  269. package/dist/components/OfficeMap/useOfficeMap.js.map +1 -1
  270. package/dist/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -3
  271. package/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  272. package/dist/components/OtherProducts/OtherProducts.js +1 -1
  273. package/dist/components/OtherProducts/OtherProducts.js.map +1 -1
  274. package/dist/components/PictureText/PictureText.js +1 -3
  275. package/dist/components/PictureText/PictureText.js.map +1 -1
  276. package/dist/components/Placeholder/Placeholder.d.ts +0 -1
  277. package/dist/components/Placeholder/Placeholder.js +2 -2
  278. package/dist/components/Placeholder/Placeholder.js.map +1 -1
  279. package/dist/components/ProductBlock/ProductBlock.js +4 -7
  280. package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  281. package/dist/components/ProductBlock/ProductBlockInner.js +2 -5
  282. package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  283. package/dist/components/ProductBlock/ProductBlockInner.mobile.js +2 -2
  284. package/dist/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
  285. package/dist/components/ProductBlock/renderBackwardButton.d.ts +1 -1
  286. package/dist/components/ProductBlock/renderBackwardButton.js +1 -0
  287. package/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
  288. package/dist/components/ProductGallery/ProductGallery.js +5 -5
  289. package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  290. package/dist/components/ProductTile/ProductTile.js +4 -6
  291. package/dist/components/ProductTile/ProductTile.js.map +1 -1
  292. package/dist/components/PromoTile/PromoTile.js +1 -3
  293. package/dist/components/PromoTile/PromoTile.js.map +1 -1
  294. package/dist/components/Recommendation/Recommendation.js +4 -9
  295. package/dist/components/Recommendation/Recommendation.js.map +1 -1
  296. package/dist/components/Recommendation/RecommendationCard.d.ts +2 -2
  297. package/dist/components/Recommendation/RecommendationCard.js +2 -2
  298. package/dist/components/Recommendation/RecommendationCard.js.map +1 -1
  299. package/dist/components/SafeDepositRental/SafeDepositRental.js +3 -3
  300. package/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  301. package/dist/components/StepsBlock/StepsBlock.js +3 -12
  302. package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  303. package/dist/components/StepsBlock/renderStepContent.d.ts +2 -5
  304. package/dist/components/StepsBlock/renderStepContent.js +2 -3
  305. package/dist/components/StepsBlock/renderStepContent.js.map +1 -1
  306. package/dist/components/Tabs/LinkTab.d.ts +8 -0
  307. package/dist/components/Tabs/LinkTab.js +20 -0
  308. package/dist/components/Tabs/LinkTab.js.map +1 -0
  309. package/dist/components/Tabs/Tabs.d.ts +2 -2
  310. package/dist/components/Tabs/Tabs.js +2 -2
  311. package/dist/components/Tabs/Tabs.js.map +1 -1
  312. package/dist/components/Tabs/TabsContent.d.ts +5 -5
  313. package/dist/components/Tabs/renderGroupTab.d.ts +2 -2
  314. package/dist/components/Tabs/renderGroupTab.js +1 -1
  315. package/dist/components/Tabs/renderGroupTab.js.map +1 -1
  316. package/dist/components/Tabs/renderTab.d.ts +4 -6
  317. package/dist/components/Tabs/renderTab.js +5 -19
  318. package/dist/components/Tabs/renderTab.js.map +1 -1
  319. package/dist/components/TariffsTable/EmbeddableCellData.js +3 -5
  320. package/dist/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  321. package/dist/components/TariffsTable/TariffsTable.js +4 -7
  322. package/dist/components/TariffsTable/TariffsTable.js.map +1 -1
  323. package/dist/components/TariffsTable/TariffsTable.mobile.js +2 -5
  324. package/dist/components/TariffsTable/TariffsTable.mobile.js.map +1 -1
  325. package/dist/components/TariffsTable/TariffsTableCell.js +1 -2
  326. package/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
  327. package/dist/components/TariffsTable/TariffsTableContent.d.ts +1 -1
  328. package/dist/components/TariffsTable/TariffsTableHorizontal.js +1 -1
  329. package/dist/components/TariffsTable/TariffsTableHorizontal.js.map +1 -1
  330. package/dist/components/TariffsTable/TariffsTableRenderCell.d.ts +1 -3
  331. package/dist/components/TariffsTable/TariffsTableRenderCell.js +1 -2
  332. package/dist/components/TariffsTable/TariffsTableRenderCell.js.map +1 -1
  333. package/dist/components/TariffsTable/TariffsTableRow.js +3 -3
  334. package/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
  335. package/dist/components/TariffsTable/TariffsTableRowContainer.d.ts +1 -3
  336. package/dist/components/TariffsTable/TariffsTableRowContainer.js +1 -3
  337. package/dist/components/TariffsTable/TariffsTableRowContainer.js.map +1 -1
  338. package/dist/components/TariffsTable/TariffsTableTileCell.d.ts +3 -4
  339. package/dist/components/TariffsTable/TariffsTableTileCell.js +8 -13
  340. package/dist/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  341. package/dist/components/TariffsTable/TariffsTableVertical.js +1 -1
  342. package/dist/components/TariffsTable/TariffsTableVertical.js.map +1 -1
  343. package/dist/components/Tile/Tile.js +2 -2
  344. package/dist/components/Tile/Tile.js.map +1 -1
  345. package/dist/components/VerticalLayout/VerticalLayout.d.ts +5 -0
  346. package/dist/components/VerticalLayout/VerticalLayout.js +35 -0
  347. package/dist/components/VerticalLayout/VerticalLayout.js.map +1 -0
  348. package/dist/components/VerticalLayout/VerticalLayoutContent.d.ts +17 -0
  349. package/dist/components/VerticalLayout/VerticalLayoutContent.js +2 -0
  350. package/dist/components/VerticalLayout/VerticalLayoutContent.js.map +1 -0
  351. package/dist/hooks/handlerDecorator.d.ts +5 -0
  352. package/dist/hooks/handlerDecorator.js +12 -0
  353. package/dist/hooks/handlerDecorator.js.map +1 -0
  354. package/dist/hooks/useLink.d.ts +6 -16
  355. package/dist/hooks/useLink.js +21 -17
  356. package/dist/hooks/useLink.js.map +1 -1
  357. package/dist/hooks/useRouter.d.ts +13 -0
  358. package/dist/hooks/useRouter.js +21 -0
  359. package/dist/hooks/useRouter.js.map +1 -0
  360. package/dist/hooks/useTableArrowScrollControl.d.ts +1 -3
  361. package/dist/hooks/useTableArrowScrollControl.js +13 -4
  362. package/dist/hooks/useTableArrowScrollControl.js.map +1 -1
  363. package/dist/index.d.ts +2 -0
  364. package/dist/index.js +5 -1
  365. package/dist/index.js.map +1 -1
  366. package/dist/model/BlockVersion.d.ts +1 -0
  367. package/dist/model/BlockVersion.js +6 -1
  368. package/dist/model/BlockVersion.js.map +1 -1
  369. package/dist/model/BlocksRegistry.d.ts +1 -1
  370. package/dist/model/JSXBlock.d.ts +7 -8
  371. package/dist/react/setup-fixture.d.ts +0 -3
  372. package/dist/react/setup-fixture.js +9 -25
  373. package/dist/react/setup-fixture.js.map +1 -1
  374. package/dist/services/sitemap/SitemapProps.d.ts +1 -1
  375. package/dist/services/sitemap/findActiveSubItem.d.ts +1 -1
  376. package/dist/services/sitemap/isHrefActive.js +1 -2
  377. package/dist/services/sitemap/isHrefActive.js.map +1 -1
  378. package/dist/services/sitemap/isSubItemActive.d.ts +1 -1
  379. package/dist/services/sitemap/isTopItemActive.d.ts +1 -1
  380. package/dist/services/sitemap/useSWRResource.d.ts +2 -0
  381. package/dist/services/sitemap/useSWRResource.js +12 -0
  382. package/dist/services/sitemap/useSWRResource.js.map +1 -0
  383. package/dist/ui-kit/BlockWrapper.d.ts +2 -2
  384. package/dist/ui-kit/BlockWrapper.js +3 -2
  385. package/dist/ui-kit/BlockWrapper.js.map +1 -1
  386. package/dist/ui-kit/Breadcrumb.js +6 -1
  387. package/dist/ui-kit/Breadcrumb.js.map +1 -1
  388. package/dist/ui-kit/Button/Button.js +8 -9
  389. package/dist/ui-kit/Button/Button.js.map +1 -1
  390. package/dist/ui-kit/Button/ButtonInner.js +2 -3
  391. package/dist/ui-kit/Button/ButtonInner.js.map +1 -1
  392. package/dist/ui-kit/Button/ButtonSection.d.ts +2 -2
  393. package/dist/ui-kit/Button/ButtonSection.js +1 -6
  394. package/dist/ui-kit/Button/ButtonSection.js.map +1 -1
  395. package/dist/ui-kit/Checkbox/Checkbox.js +1 -3
  396. package/dist/ui-kit/Checkbox/Checkbox.js.map +1 -1
  397. package/dist/ui-kit/Checkbox/CheckboxProps.d.ts +2 -2
  398. package/dist/ui-kit/HeaderItem/HeaderItem.js +6 -1
  399. package/dist/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
  400. package/dist/ui-kit/InnerTable/InnerTable.d.ts +2 -3
  401. package/dist/ui-kit/InnerTable/InnerTable.js +2 -2
  402. package/dist/ui-kit/InnerTable/InnerTable.js.map +1 -1
  403. package/dist/ui-kit/InnerTable/InnerTableBody.d.ts +1 -2
  404. package/dist/ui-kit/InnerTable/InnerTableBody.js +2 -2
  405. package/dist/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
  406. package/dist/ui-kit/InnerTable/InnerTableBodyItem.d.ts +1 -2
  407. package/dist/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
  408. package/dist/ui-kit/InnerTable/InnerTableButton.d.ts +1 -2
  409. package/dist/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
  410. package/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +4 -5
  411. package/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.js +1 -3
  412. package/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.js.map +1 -1
  413. package/dist/ui-kit/SearchBar/SearchBar.d.ts +2 -2
  414. package/dist/ui-kit/SearchBar/SearchBar.js +1 -3
  415. package/dist/ui-kit/SearchBar/SearchBar.js.map +1 -1
  416. package/dist/ui-kit/SearchBar/SearchBar.mobile.d.ts +2 -2
  417. package/dist/ui-kit/SearchBar/SearchBar.mobile.js +1 -3
  418. package/dist/ui-kit/SearchBar/SearchBar.mobile.js.map +1 -1
  419. package/dist/ui-kit/SwipeListControl/SwipeListControl.js +1 -1
  420. package/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  421. package/dist/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +2 -2
  422. package/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js +2 -2
  423. package/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js.map +1 -1
  424. package/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.d.ts +3 -2
  425. package/dist/ui-kit/TopItem/TopItem.js +6 -1
  426. package/dist/ui-kit/TopItem/TopItem.js.map +1 -1
  427. package/dist/utils/adjustHref.js +2 -10
  428. package/dist/utils/adjustHref.js.map +1 -1
  429. package/lib/ProjectSettings.d.ts +2 -0
  430. package/lib/ProjectSettings.js +3 -0
  431. package/lib/ProjectSettings.js.map +1 -1
  432. package/lib/common.css +1 -1
  433. package/lib/components/Accordion/Accordion.fixture.d.ts +1 -0
  434. package/lib/components/Accordion/Accordion.fixture.mobile.d.ts +1 -0
  435. package/lib/components/Accordion/Accordion.js +1 -1
  436. package/lib/components/Accordion/Accordion.js.map +1 -1
  437. package/lib/components/Accordion/Accordion.mobile.js +1 -1
  438. package/lib/components/Accordion/Accordion.mobile.js.map +1 -1
  439. package/lib/components/BaseTile/BaseTile.d.ts +2 -2
  440. package/lib/components/BaseTile/BaseTile.js +1 -3
  441. package/lib/components/BaseTile/BaseTile.js.map +1 -1
  442. package/lib/components/BenefitsBlock/BenefitsBlock.fixture.d.ts +1 -0
  443. package/lib/components/Blocks.js +10 -6
  444. package/lib/components/Blocks.js.map +1 -1
  445. package/lib/components/Blocks.mobile.js +0 -2
  446. package/lib/components/Blocks.mobile.js.map +1 -1
  447. package/lib/components/Bonus/Bonus.fixture.d.ts +1 -0
  448. package/lib/components/Bonus/Bonus.js +3 -3
  449. package/lib/components/Bonus/Bonus.js.map +1 -1
  450. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.fixture.d.ts +1 -0
  451. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
  452. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  453. package/lib/components/BusinessBlock/BusinessBlock.d.ts +5 -0
  454. package/lib/{ui-kit/Button/Button.fixture.mobile.d.ts → components/BusinessBlock/BusinessBlock.fixture.d.ts} +1 -1
  455. package/lib/components/BusinessBlock/BusinessBlock.js +7 -0
  456. package/lib/components/BusinessBlock/BusinessBlock.js.map +1 -0
  457. package/lib/components/BusinessBlock/BusinessBlockContent.d.ts +28 -0
  458. package/lib/components/BusinessBlock/BusinessBlockContent.js +2 -0
  459. package/lib/components/BusinessBlock/BusinessBlockContent.js.map +1 -0
  460. package/lib/components/BusinessBlock/BusinessCard.d.ts +2 -0
  461. package/lib/components/BusinessBlock/BusinessCard.js +14 -0
  462. package/lib/components/BusinessBlock/BusinessCard.js.map +1 -0
  463. package/lib/components/Calculator/BonusCalculatorForm.d.ts +2 -2
  464. package/lib/components/Calculator/BonusCalculatorForm.js +2 -2
  465. package/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
  466. package/lib/components/Calculator/Calculator.fixture.d.ts +1 -0
  467. package/lib/components/Calculator/Calculator.js +3 -5
  468. package/lib/components/Calculator/Calculator.js.map +1 -1
  469. package/lib/components/Calculator/CreditCalculatorForm.d.ts +2 -2
  470. package/lib/components/Calculator/CreditCalculatorForm.js +3 -8
  471. package/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
  472. package/lib/components/Calculator/DepositCalculatorForm.d.ts +2 -2
  473. package/lib/components/Calculator/DepositCalculatorForm.js +3 -8
  474. package/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
  475. package/lib/components/Calculator/renderButtonSection.d.ts +1 -2
  476. package/lib/components/Calculator/renderButtonSection.js +2 -2
  477. package/lib/components/Calculator/renderButtonSection.js.map +1 -1
  478. package/lib/components/Calculator/renderCalculatorBlock.d.ts +1 -1
  479. package/lib/components/Calculator/renderCalculatorBlock.js +2 -2
  480. package/lib/components/Calculator/renderCalculatorBlock.js.map +1 -1
  481. package/lib/components/CardTransfer/CardTransfer.fixture.d.ts +1 -0
  482. package/lib/components/CardTransfer/CardTransfer.js +3 -4
  483. package/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  484. package/lib/components/Catalog/Catalog.fixture.d.ts +1 -0
  485. package/lib/components/Catalog/Catalog.js +12 -22
  486. package/lib/components/Catalog/Catalog.js.map +1 -1
  487. package/lib/components/Catalog/CatalogCard.d.ts +2 -2
  488. package/lib/components/Catalog/CatalogCard.js +1 -3
  489. package/lib/components/Catalog/CatalogCard.js.map +1 -1
  490. package/lib/components/ComparisonTable/ComparisonTable.fixture.d.ts +1 -0
  491. package/lib/components/ComparisonTable/ComparisonTable.fixture.mobile.d.ts +1 -0
  492. package/lib/components/ComparisonTable/ComparisonTable.js +5 -7
  493. package/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
  494. package/lib/components/ComparisonTable/ComparisonTable.mobile.js +3 -3
  495. package/lib/components/ComparisonTable/ComparisonTable.mobile.js.map +1 -1
  496. package/lib/components/ComparisonTable/ComparisonTableBody.d.ts +1 -3
  497. package/lib/components/ComparisonTable/ComparisonTableBody.js +3 -9
  498. package/lib/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
  499. package/lib/components/ComparisonTable/ComparisonTableColumnHeaders.d.ts +0 -3
  500. package/lib/components/ComparisonTable/ComparisonTableColumnHeaders.js +1 -4
  501. package/lib/components/ComparisonTable/ComparisonTableColumnHeaders.js.map +1 -1
  502. package/lib/components/ComparisonTable/ComparisonTableRows.js +2 -2
  503. package/lib/components/ComparisonTable/ComparisonTableRows.js.map +1 -1
  504. package/lib/components/ComparisonTable/HeaderCell.js +1 -1
  505. package/lib/components/ComparisonTable/HeaderCell.js.map +1 -1
  506. package/lib/components/ContactsBlock/ContactsBlock.fixture.d.ts +1 -0
  507. package/lib/components/ContactsBlock/ContactsBlock.js +2 -2
  508. package/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
  509. package/lib/components/ContentPage/ContentPage.fixture.d.ts +1 -0
  510. package/lib/components/ContentPage/ContentPage.fixture.mobile.d.ts +1 -0
  511. package/lib/components/ContentPage/ContentPage.js +4 -5
  512. package/lib/components/ContentPage/ContentPage.js.map +1 -1
  513. package/lib/components/ContentPage/renderBlock.d.ts +0 -2
  514. package/lib/components/ContentPage/renderBlock.js +3 -3
  515. package/lib/components/ContentPage/renderBlock.js.map +1 -1
  516. package/lib/components/ContentPage/renderBlockList.d.ts +1 -1
  517. package/lib/components/ContentPage/renderBlockList.js +5 -12
  518. package/lib/components/ContentPage/renderBlockList.js.map +1 -1
  519. package/lib/components/ContentPage/renderSlots.d.ts +1 -1
  520. package/lib/components/ContentPage/renderSlots.js +10 -12
  521. package/lib/components/ContentPage/renderSlots.js.map +1 -1
  522. package/lib/components/ErrorBlock/ErrorBlock.fixture.d.ts +1 -0
  523. package/lib/components/ErrorBlock/ErrorBlock.js +1 -6
  524. package/lib/components/ErrorBlock/ErrorBlock.js.map +1 -1
  525. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +1 -2
  526. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +2 -5
  527. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  528. package/lib/components/ExchangeRateTile/ExchangeRateTile.fixture.d.ts +1 -0
  529. package/lib/components/ExchangeRateTile/ExchangeRateTile.js +2 -2
  530. package/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  531. package/lib/components/Footer/Contacts.d.ts +2 -2
  532. package/lib/components/Footer/Contacts.js +1 -10
  533. package/lib/components/Footer/Contacts.js.map +1 -1
  534. package/lib/components/Footer/Footer.fallback.d.ts +2 -0
  535. package/lib/components/Footer/Footer.fallback.js +10 -0
  536. package/lib/components/Footer/Footer.fallback.js.map +1 -0
  537. package/lib/components/Footer/Footer.fixture.d.ts +1 -0
  538. package/lib/components/Footer/Footer.fixture.mobile.d.ts +1 -0
  539. package/lib/components/Footer/Footer.js +6 -3
  540. package/lib/components/Footer/Footer.js.map +1 -1
  541. package/lib/components/Footer/Footer.mobile.js +10 -9
  542. package/lib/components/Footer/Footer.mobile.js.map +1 -1
  543. package/lib/components/Footer/FooterContent.d.ts +3 -19
  544. package/lib/components/Footer/FooterDataProps.d.ts +12 -0
  545. package/lib/components/Footer/FooterDataProps.js +2 -0
  546. package/lib/components/Footer/FooterDataProps.js.map +1 -0
  547. package/lib/components/Footer/FooterLink.d.ts +2 -2
  548. package/lib/components/Footer/HorizontalNavigation.d.ts +1 -2
  549. package/lib/components/Footer/HorizontalNavigation.js +2 -5
  550. package/lib/components/Footer/HorizontalNavigation.js.map +1 -1
  551. package/lib/components/Footer/HorizontalNavigation.mobile.d.ts +1 -2
  552. package/lib/components/Footer/HorizontalNavigation.mobile.js +1 -6
  553. package/lib/components/Footer/HorizontalNavigation.mobile.js.map +1 -1
  554. package/lib/components/Footer/HorizontalNavigationLink.js +6 -1
  555. package/lib/components/Footer/HorizontalNavigationLink.js.map +1 -1
  556. package/lib/components/Footer/MediaButton.js +5 -2
  557. package/lib/components/Footer/MediaButton.js.map +1 -1
  558. package/lib/components/Footer/Sitemap.d.ts +2 -2
  559. package/lib/components/Footer/Sitemap.js +14 -12
  560. package/lib/components/Footer/Sitemap.js.map +1 -1
  561. package/lib/components/Footer/SocialMedia.d.ts +2 -2
  562. package/lib/components/Footer/SocialMedia.js +1 -6
  563. package/lib/components/Footer/SocialMedia.js.map +1 -1
  564. package/lib/components/Footer/SocialMedia.mobile.d.ts +2 -2
  565. package/lib/components/Footer/SocialMedia.mobile.js +1 -6
  566. package/lib/components/Footer/SocialMedia.mobile.js.map +1 -1
  567. package/lib/components/Footer/TextInformation.js +1 -6
  568. package/lib/components/Footer/TextInformation.js.map +1 -1
  569. package/lib/components/Footer/TextInformation.mobile.js +2 -5
  570. package/lib/components/Footer/TextInformation.mobile.js.map +1 -1
  571. package/lib/components/Footer/TextInformationLink.js +6 -1
  572. package/lib/components/Footer/TextInformationLink.js.map +1 -1
  573. package/lib/components/Footer/useFooterData.d.ts +2 -0
  574. package/lib/{services/sitemap/useSitemap.js → components/Footer/useFooterData.js} +3 -3
  575. package/lib/components/Footer/useFooterData.js.map +1 -0
  576. package/lib/components/Gallery/Gallery.fixture.d.ts +1 -0
  577. package/lib/components/Gallery/Gallery.fixture.mobile.d.ts +1 -0
  578. package/lib/components/Gallery/Gallery.mobile.js +4 -4
  579. package/lib/components/Gallery/Gallery.mobile.js.map +1 -1
  580. package/lib/components/Gallery/GalleryContainer.d.ts +1 -3
  581. package/lib/components/Gallery/GalleryContainer.js +2 -2
  582. package/lib/components/Gallery/GalleryContainer.js.map +1 -1
  583. package/lib/components/Gallery/GalleryContent.d.ts +1 -1
  584. package/lib/components/Gallery/GalleryInner.js +2 -2
  585. package/lib/components/Gallery/GalleryInner.js.map +1 -1
  586. package/lib/components/GracePeriod/GracePeriod.fixture.d.ts +1 -0
  587. package/lib/components/GracePeriod/GracePeriod.js +1 -3
  588. package/lib/components/GracePeriod/GracePeriod.js.map +1 -1
  589. package/lib/components/Header/DropdownMenu.d.ts +0 -2
  590. package/lib/components/Header/DropdownMenu.js +3 -4
  591. package/lib/components/Header/DropdownMenu.js.map +1 -1
  592. package/lib/components/Header/Header.fixture.d.ts +1 -0
  593. package/lib/components/Header/Header.fixture.mobile.d.ts +1 -0
  594. package/lib/components/Header/Header.js +8 -9
  595. package/lib/components/Header/Header.js.map +1 -1
  596. package/lib/components/Header/Header.mobile.js +8 -14
  597. package/lib/components/Header/Header.mobile.js.map +1 -1
  598. package/lib/components/Header/HeaderBurger.d.ts +0 -2
  599. package/lib/components/Header/HeaderBurger.js +2 -2
  600. package/lib/components/Header/HeaderBurger.js.map +1 -1
  601. package/lib/components/Header/HeaderSubMenu.d.ts +0 -2
  602. package/lib/components/Header/HeaderSubMenu.js +4 -3
  603. package/lib/components/Header/HeaderSubMenu.js.map +1 -1
  604. package/lib/components/Header/HeaderSubMenuItem.d.ts +0 -2
  605. package/lib/components/Header/HeaderSubMenuItem.js +2 -5
  606. package/lib/components/Header/HeaderSubMenuItem.js.map +1 -1
  607. package/lib/components/Headline/Headline.fixture.d.ts +1 -0
  608. package/lib/components/Headline/Headline.fixture.mobile.d.ts +1 -0
  609. package/lib/components/Headline/Headline.js +1 -1
  610. package/lib/components/Headline/Headline.js.map +1 -1
  611. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.fixture.d.ts +1 -0
  612. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +4 -6
  613. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  614. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +2 -2
  615. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  616. package/lib/components/InvestmentGallery/InvestmentGallery.fixture.d.ts +1 -0
  617. package/lib/components/InvestmentGallery/InvestmentGallery.js +3 -7
  618. package/lib/components/InvestmentGallery/InvestmentGallery.js.map +1 -1
  619. package/lib/components/InvestmentGallery/InvestmentGalleryCard.d.ts +2 -2
  620. package/lib/components/InvestmentGallery/InvestmentGalleryCard.js +2 -2
  621. package/lib/components/InvestmentGallery/InvestmentGalleryCard.js.map +1 -1
  622. package/lib/components/InvestmentInfo/InvestmentInfo.fixture.d.ts +1 -0
  623. package/lib/components/InvestmentInfo/InvestmentInfo.js +2 -2
  624. package/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  625. package/lib/components/LikeControl/LikeControl.d.ts +5 -2
  626. package/lib/components/LikeControl/LikeControl.fixture.d.ts +1 -0
  627. package/lib/components/LikeControl/LikeControl.js +4 -5
  628. package/lib/components/LikeControl/LikeControl.js.map +1 -1
  629. package/lib/components/LinkDocs/LinkDocs.fixture.d.ts +1 -0
  630. package/lib/components/LinkDocs/LinkDocs.fixture.mobile.d.ts +1 -0
  631. package/lib/components/LinkDocs/LinkDocs.js +1 -3
  632. package/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  633. package/lib/components/LinkDocs/LinkDocs.mobile.js +1 -3
  634. package/lib/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
  635. package/lib/components/LinkDocs/LinkDocsHorizontalList.d.ts +1 -5
  636. package/lib/components/LinkDocs/LinkDocsHorizontalList.js +3 -5
  637. package/lib/components/LinkDocs/LinkDocsHorizontalList.js.map +1 -1
  638. package/lib/components/LinkList/LinkList.fixture.d.ts +1 -0
  639. package/lib/components/LinkList/LinkList.js +1 -3
  640. package/lib/components/LinkList/LinkList.js.map +1 -1
  641. package/lib/components/MiniGallery/MiniGallery.fixture.d.ts +1 -0
  642. package/lib/components/MobileAppTile/MobileAppTile.fixture.d.ts +1 -0
  643. package/lib/components/MobileAppTile/MobileAppTile.fixture.mobile.d.ts +1 -0
  644. package/lib/components/MobileAppTile/MobileAppTile.js +4 -4
  645. package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  646. package/lib/components/OfficeMap/OfficeMap.fixture.d.ts +1 -0
  647. package/lib/components/OfficeMap/OfficeMap.js +4 -2
  648. package/lib/components/OfficeMap/OfficeMap.js.map +1 -1
  649. package/lib/components/OfficeMap/useOfficeMap.d.ts +56 -2
  650. package/lib/components/OfficeMap/useOfficeMap.js +4 -1
  651. package/lib/components/OfficeMap/useOfficeMap.js.map +1 -1
  652. package/lib/components/OfficeServicesBlock/OfficeServicesBlock.fixture.d.ts +1 -0
  653. package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -3
  654. package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  655. package/lib/components/OtherProducts/OtherProducts.fixture.d.ts +1 -0
  656. package/lib/components/OtherProducts/OtherProducts.js +1 -1
  657. package/lib/components/OtherProducts/OtherProducts.js.map +1 -1
  658. package/lib/components/PictureText/PictureText.fixture.d.ts +1 -0
  659. package/lib/components/PictureText/PictureText.js +1 -3
  660. package/lib/components/PictureText/PictureText.js.map +1 -1
  661. package/lib/components/Placeholder/Placeholder.d.ts +0 -1
  662. package/lib/components/Placeholder/Placeholder.fixture.d.ts +1 -0
  663. package/lib/components/Placeholder/Placeholder.fixture.mobile.d.ts +1 -0
  664. package/lib/components/Placeholder/Placeholder.js +2 -2
  665. package/lib/components/Placeholder/Placeholder.js.map +1 -1
  666. package/lib/components/ProductBlock/ProductBlock.fixture.d.ts +1 -0
  667. package/lib/components/ProductBlock/ProductBlock.fixture.mobile.d.ts +1 -0
  668. package/lib/components/ProductBlock/ProductBlock.js +4 -7
  669. package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  670. package/lib/components/ProductBlock/ProductBlockInner.js +2 -5
  671. package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  672. package/lib/components/ProductBlock/ProductBlockInner.mobile.js +2 -2
  673. package/lib/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
  674. package/lib/components/ProductBlock/renderBackwardButton.d.ts +1 -1
  675. package/lib/components/ProductBlock/renderBackwardButton.js +1 -0
  676. package/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
  677. package/lib/components/ProductGallery/ProductGallery.fixture.d.ts +1 -0
  678. package/lib/components/ProductGallery/ProductGallery.js +5 -5
  679. package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  680. package/lib/components/ProductTile/ProductTile.fixture.d.ts +1 -0
  681. package/lib/components/ProductTile/ProductTile.js +4 -6
  682. package/lib/components/ProductTile/ProductTile.js.map +1 -1
  683. package/lib/components/PromoTile/PromoTile.fixture.d.ts +1 -0
  684. package/lib/components/PromoTile/PromoTile.js +1 -3
  685. package/lib/components/PromoTile/PromoTile.js.map +1 -1
  686. package/lib/components/Recommendation/Recommendation.fixture.d.ts +1 -0
  687. package/lib/components/Recommendation/Recommendation.js +4 -9
  688. package/lib/components/Recommendation/Recommendation.js.map +1 -1
  689. package/lib/components/Recommendation/RecommendationCard.d.ts +2 -2
  690. package/lib/components/Recommendation/RecommendationCard.js +2 -2
  691. package/lib/components/Recommendation/RecommendationCard.js.map +1 -1
  692. package/lib/components/SafeDepositRental/SafeDepositRental.fixture.d.ts +1 -0
  693. package/lib/components/SafeDepositRental/SafeDepositRental.js +3 -3
  694. package/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  695. package/lib/components/StepsBlock/StepsBlock.fixture.d.ts +1 -0
  696. package/lib/components/StepsBlock/StepsBlock.fixture.mobile.d.ts +1 -0
  697. package/lib/components/StepsBlock/StepsBlock.js +3 -12
  698. package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  699. package/lib/components/StepsBlock/renderStepContent.d.ts +2 -5
  700. package/lib/components/StepsBlock/renderStepContent.js +2 -3
  701. package/lib/components/StepsBlock/renderStepContent.js.map +1 -1
  702. package/lib/components/Tabs/LinkTab.d.ts +8 -0
  703. package/lib/components/Tabs/LinkTab.js +18 -0
  704. package/lib/components/Tabs/LinkTab.js.map +1 -0
  705. package/lib/components/Tabs/Tabs.d.ts +2 -2
  706. package/lib/components/Tabs/Tabs.fixture.d.ts +1 -0
  707. package/lib/components/Tabs/Tabs.js +2 -2
  708. package/lib/components/Tabs/Tabs.js.map +1 -1
  709. package/lib/components/Tabs/TabsContent.d.ts +5 -5
  710. package/lib/components/Tabs/renderGroupTab.d.ts +2 -2
  711. package/lib/components/Tabs/renderGroupTab.js +1 -1
  712. package/lib/components/Tabs/renderGroupTab.js.map +1 -1
  713. package/lib/components/Tabs/renderTab.d.ts +4 -6
  714. package/lib/components/Tabs/renderTab.js +5 -19
  715. package/lib/components/Tabs/renderTab.js.map +1 -1
  716. package/lib/components/TariffsTable/EmbeddableCellData.js +3 -5
  717. package/lib/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  718. package/lib/components/TariffsTable/TariffsTable.fixture.d.ts +1 -0
  719. package/lib/components/TariffsTable/TariffsTable.fixture.mobile.d.ts +1 -0
  720. package/lib/components/TariffsTable/TariffsTable.js +4 -7
  721. package/lib/components/TariffsTable/TariffsTable.js.map +1 -1
  722. package/lib/components/TariffsTable/TariffsTable.mobile.js +2 -5
  723. package/lib/components/TariffsTable/TariffsTable.mobile.js.map +1 -1
  724. package/lib/components/TariffsTable/TariffsTableCell.js +1 -2
  725. package/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
  726. package/lib/components/TariffsTable/TariffsTableContent.d.ts +1 -1
  727. package/lib/components/TariffsTable/TariffsTableHorizontal.js +1 -1
  728. package/lib/components/TariffsTable/TariffsTableHorizontal.js.map +1 -1
  729. package/lib/components/TariffsTable/TariffsTableRenderCell.d.ts +1 -3
  730. package/lib/components/TariffsTable/TariffsTableRenderCell.js +1 -2
  731. package/lib/components/TariffsTable/TariffsTableRenderCell.js.map +1 -1
  732. package/lib/components/TariffsTable/TariffsTableRow.js +3 -3
  733. package/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
  734. package/lib/components/TariffsTable/TariffsTableRowContainer.d.ts +1 -3
  735. package/lib/components/TariffsTable/TariffsTableRowContainer.js +1 -3
  736. package/lib/components/TariffsTable/TariffsTableRowContainer.js.map +1 -1
  737. package/lib/components/TariffsTable/TariffsTableTileCell.d.ts +3 -4
  738. package/lib/components/TariffsTable/TariffsTableTileCell.js +8 -13
  739. package/lib/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  740. package/lib/components/TariffsTable/TariffsTableVertical.js +1 -1
  741. package/lib/components/TariffsTable/TariffsTableVertical.js.map +1 -1
  742. package/lib/components/TextBlock/TextBlock.fixture.d.ts +1 -0
  743. package/lib/components/TextBlock/TextBlock.fixture.mobile.d.ts +1 -0
  744. package/lib/components/Tile/Tile.fixture.d.ts +1 -0
  745. package/lib/components/Tile/Tile.js +2 -2
  746. package/lib/components/Tile/Tile.js.map +1 -1
  747. package/lib/components/VerticalLayout/VerticalLayout.d.ts +5 -0
  748. package/lib/components/VerticalLayout/VerticalLayout.fixture.d.ts +9 -0
  749. package/lib/components/VerticalLayout/VerticalLayout.js +33 -0
  750. package/lib/components/VerticalLayout/VerticalLayout.js.map +1 -0
  751. package/lib/components/VerticalLayout/VerticalLayoutContent.d.ts +17 -0
  752. package/lib/components/VerticalLayout/VerticalLayoutContent.js +2 -0
  753. package/lib/components/VerticalLayout/VerticalLayoutContent.js.map +1 -0
  754. package/lib/hooks/handlerDecorator.d.ts +5 -0
  755. package/lib/hooks/handlerDecorator.js +9 -0
  756. package/lib/hooks/handlerDecorator.js.map +1 -0
  757. package/lib/hooks/useLink.d.ts +6 -16
  758. package/lib/hooks/useLink.js +20 -15
  759. package/lib/hooks/useLink.js.map +1 -1
  760. package/lib/hooks/useRouter.d.ts +13 -0
  761. package/lib/hooks/useRouter.js +18 -0
  762. package/lib/hooks/useRouter.js.map +1 -0
  763. package/lib/hooks/useTableArrowScrollControl.d.ts +1 -3
  764. package/lib/hooks/useTableArrowScrollControl.js +13 -4
  765. package/lib/hooks/useTableArrowScrollControl.js.map +1 -1
  766. package/lib/index.d.ts +2 -0
  767. package/lib/index.js +2 -0
  768. package/lib/index.js.map +1 -1
  769. package/lib/model/BlockVersion.d.ts +1 -0
  770. package/lib/model/BlockVersion.js +5 -0
  771. package/lib/model/BlockVersion.js.map +1 -1
  772. package/lib/model/BlocksRegistry.d.ts +1 -1
  773. package/lib/model/JSXBlock.d.ts +7 -8
  774. package/lib/react/setup-fixture.d.ts +0 -3
  775. package/lib/react/setup-fixture.js +9 -24
  776. package/lib/react/setup-fixture.js.map +1 -1
  777. package/lib/services/sitemap/SitemapProps.d.ts +1 -1
  778. package/lib/services/sitemap/findActiveSubItem.d.ts +1 -1
  779. package/lib/services/sitemap/isHrefActive.js +1 -2
  780. package/lib/services/sitemap/isHrefActive.js.map +1 -1
  781. package/lib/services/sitemap/isSubItemActive.d.ts +1 -1
  782. package/lib/services/sitemap/isTopItemActive.d.ts +1 -1
  783. package/lib/services/sitemap/useSWRResource.d.ts +2 -0
  784. package/lib/services/sitemap/useSWRResource.js +9 -0
  785. package/lib/services/sitemap/useSWRResource.js.map +1 -0
  786. package/lib/ui-kit/BlockWrapper.d.ts +2 -2
  787. package/lib/ui-kit/BlockWrapper.js +3 -2
  788. package/lib/ui-kit/BlockWrapper.js.map +1 -1
  789. package/lib/ui-kit/Breadcrumb.js +6 -1
  790. package/lib/ui-kit/Breadcrumb.js.map +1 -1
  791. package/lib/ui-kit/Button/Button.js +8 -9
  792. package/lib/ui-kit/Button/Button.js.map +1 -1
  793. package/lib/ui-kit/Button/ButtonInner.js +2 -3
  794. package/lib/ui-kit/Button/ButtonInner.js.map +1 -1
  795. package/lib/ui-kit/Button/ButtonSection.d.ts +2 -2
  796. package/lib/ui-kit/Button/ButtonSection.js +1 -6
  797. package/lib/ui-kit/Button/ButtonSection.js.map +1 -1
  798. package/lib/ui-kit/Checkbox/Checkbox.js +1 -3
  799. package/lib/ui-kit/Checkbox/Checkbox.js.map +1 -1
  800. package/lib/ui-kit/Checkbox/CheckboxProps.d.ts +2 -2
  801. package/lib/ui-kit/HeaderItem/HeaderItem.js +6 -1
  802. package/lib/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
  803. package/lib/ui-kit/InnerTable/InnerTable.d.ts +2 -3
  804. package/lib/ui-kit/InnerTable/InnerTable.js +2 -2
  805. package/lib/ui-kit/InnerTable/InnerTable.js.map +1 -1
  806. package/lib/ui-kit/InnerTable/InnerTableBody.d.ts +1 -2
  807. package/lib/ui-kit/InnerTable/InnerTableBody.js +2 -2
  808. package/lib/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
  809. package/lib/ui-kit/InnerTable/InnerTableBodyItem.d.ts +1 -2
  810. package/lib/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
  811. package/lib/ui-kit/InnerTable/InnerTableButton.d.ts +1 -2
  812. package/lib/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
  813. package/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +4 -5
  814. package/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.fixture.d.ts +1 -0
  815. package/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.js +1 -3
  816. package/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.js.map +1 -1
  817. package/lib/ui-kit/SearchBar/SearchBar.d.ts +2 -2
  818. package/lib/ui-kit/SearchBar/SearchBar.js +1 -3
  819. package/lib/ui-kit/SearchBar/SearchBar.js.map +1 -1
  820. package/lib/ui-kit/SearchBar/SearchBar.mobile.d.ts +2 -2
  821. package/lib/ui-kit/SearchBar/SearchBar.mobile.js +1 -3
  822. package/lib/ui-kit/SearchBar/SearchBar.mobile.js.map +1 -1
  823. package/lib/ui-kit/SwipeListControl/SwipeListControl.fixture.mobile.d.ts +1 -0
  824. package/lib/ui-kit/SwipeListControl/SwipeListControl.js +1 -1
  825. package/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  826. package/lib/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +2 -2
  827. package/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js +2 -2
  828. package/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js.map +1 -1
  829. package/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.d.ts +3 -2
  830. package/lib/ui-kit/TopItem/TopItem.js +6 -1
  831. package/lib/ui-kit/TopItem/TopItem.js.map +1 -1
  832. package/lib/utils/adjustHref.js +2 -10
  833. package/lib/utils/adjustHref.js.map +1 -1
  834. package/mobile/bundle/ProjectSettings.d.ts +2 -0
  835. package/mobile/bundle/bundle.umd.js +231 -248
  836. package/mobile/bundle/bundle.umd.min.js +1 -1
  837. package/mobile/bundle/components/BaseTile/BaseTile.d.ts +2 -2
  838. package/mobile/bundle/components/BusinessBlock/BusinessBlock.d.ts +5 -0
  839. package/mobile/bundle/components/BusinessBlock/BusinessBlockContent.d.ts +28 -0
  840. package/mobile/bundle/components/BusinessBlock/BusinessCard.d.ts +2 -0
  841. package/mobile/bundle/components/Calculator/BonusCalculatorForm.d.ts +2 -2
  842. package/mobile/bundle/components/Calculator/CreditCalculatorForm.d.ts +2 -2
  843. package/mobile/bundle/components/Calculator/DepositCalculatorForm.d.ts +2 -2
  844. package/mobile/bundle/components/Calculator/renderButtonSection.d.ts +1 -2
  845. package/mobile/bundle/components/Calculator/renderCalculatorBlock.d.ts +1 -1
  846. package/mobile/bundle/components/Catalog/CatalogCard.d.ts +2 -2
  847. package/mobile/bundle/components/ComparisonTable/ComparisonTableBody.d.ts +1 -3
  848. package/mobile/bundle/components/ComparisonTable/ComparisonTableColumnHeaders.d.ts +0 -3
  849. package/mobile/bundle/components/ContentPage/renderBlock.d.ts +0 -2
  850. package/mobile/bundle/components/ContentPage/renderBlockList.d.ts +1 -1
  851. package/mobile/bundle/components/ContentPage/renderSlots.d.ts +1 -1
  852. package/mobile/bundle/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +1 -2
  853. package/mobile/bundle/components/Footer/Contacts.d.ts +2 -2
  854. package/mobile/bundle/components/Footer/Footer.fallback.d.ts +2 -0
  855. package/mobile/bundle/components/Footer/FooterContent.d.ts +3 -19
  856. package/mobile/bundle/components/Footer/FooterDataProps.d.ts +12 -0
  857. package/mobile/bundle/components/Footer/FooterLink.d.ts +2 -2
  858. package/mobile/bundle/components/Footer/HorizontalNavigation.d.ts +1 -2
  859. package/mobile/bundle/components/Footer/Sitemap.d.ts +2 -2
  860. package/mobile/bundle/components/Footer/SocialMedia.d.ts +2 -2
  861. package/mobile/bundle/components/Footer/useFooterData.d.ts +2 -0
  862. package/mobile/bundle/components/Gallery/GalleryContainer.d.ts +1 -3
  863. package/mobile/bundle/components/Gallery/GalleryContent.d.ts +1 -1
  864. package/mobile/bundle/components/Header/DropdownMenu.d.ts +0 -2
  865. package/mobile/bundle/components/Header/HeaderBurger.d.ts +0 -2
  866. package/mobile/bundle/components/Header/HeaderSubMenu.d.ts +0 -2
  867. package/mobile/bundle/components/Header/HeaderSubMenuItem.d.ts +0 -2
  868. package/mobile/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +2 -2
  869. package/mobile/bundle/components/InvestmentGallery/InvestmentGalleryCard.d.ts +2 -2
  870. package/mobile/bundle/components/LikeControl/LikeControl.d.ts +5 -2
  871. package/mobile/bundle/components/LinkDocs/LinkDocsHorizontalList.d.ts +1 -5
  872. package/mobile/bundle/components/OfficeMap/useOfficeMap.d.ts +56 -2
  873. package/mobile/bundle/components/Placeholder/Placeholder.d.ts +0 -1
  874. package/mobile/bundle/components/ProductBlock/renderBackwardButton.d.ts +1 -1
  875. package/mobile/bundle/components/Recommendation/RecommendationCard.d.ts +2 -2
  876. package/mobile/bundle/components/StepsBlock/renderStepContent.d.ts +2 -5
  877. package/mobile/bundle/components/Tabs/LinkTab.d.ts +8 -0
  878. package/mobile/bundle/components/Tabs/Tabs.d.ts +2 -2
  879. package/mobile/bundle/components/Tabs/TabsContent.d.ts +5 -5
  880. package/mobile/bundle/components/Tabs/renderGroupTab.d.ts +2 -2
  881. package/mobile/bundle/components/Tabs/renderTab.d.ts +4 -6
  882. package/mobile/bundle/components/TariffsTable/TariffsTableContent.d.ts +1 -1
  883. package/mobile/bundle/components/TariffsTable/TariffsTableRenderCell.d.ts +1 -3
  884. package/mobile/bundle/components/TariffsTable/TariffsTableRowContainer.d.ts +1 -3
  885. package/mobile/bundle/components/TariffsTable/TariffsTableTileCell.d.ts +3 -4
  886. package/mobile/bundle/components/VerticalLayout/VerticalLayout.d.ts +5 -0
  887. package/mobile/bundle/components/VerticalLayout/VerticalLayoutContent.d.ts +17 -0
  888. package/mobile/bundle/hooks/handlerDecorator.d.ts +5 -0
  889. package/mobile/bundle/hooks/useLink.d.ts +6 -16
  890. package/mobile/bundle/hooks/useRouter.d.ts +13 -0
  891. package/mobile/bundle/hooks/useTableArrowScrollControl.d.ts +1 -3
  892. package/mobile/bundle/index.d.ts +2 -0
  893. package/mobile/bundle/model/BlockVersion.d.ts +1 -0
  894. package/mobile/bundle/model/BlocksRegistry.d.ts +1 -1
  895. package/mobile/bundle/model/JSXBlock.d.ts +7 -8
  896. package/mobile/bundle/react/setup-fixture.d.ts +0 -3
  897. package/mobile/bundle/services/sitemap/SitemapProps.d.ts +1 -1
  898. package/mobile/bundle/services/sitemap/findActiveSubItem.d.ts +1 -1
  899. package/mobile/bundle/services/sitemap/isSubItemActive.d.ts +1 -1
  900. package/mobile/bundle/services/sitemap/isTopItemActive.d.ts +1 -1
  901. package/mobile/bundle/services/sitemap/useSWRResource.d.ts +2 -0
  902. package/mobile/bundle/ui-kit/BlockWrapper.d.ts +2 -2
  903. package/mobile/bundle/ui-kit/Button/ButtonSection.d.ts +2 -2
  904. package/mobile/bundle/ui-kit/Checkbox/CheckboxProps.d.ts +2 -2
  905. package/mobile/bundle/ui-kit/InnerTable/InnerTable.d.ts +2 -3
  906. package/mobile/bundle/ui-kit/InnerTable/InnerTableBody.d.ts +1 -2
  907. package/mobile/bundle/ui-kit/InnerTable/InnerTableBodyItem.d.ts +1 -2
  908. package/mobile/bundle/ui-kit/InnerTable/InnerTableButton.d.ts +1 -2
  909. package/mobile/bundle/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +4 -5
  910. package/mobile/bundle/ui-kit/SearchBar/SearchBar.d.ts +2 -2
  911. package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +2 -2
  912. package/mobile/bundle/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.d.ts +3 -2
  913. package/mobile/dist/ProjectSettings.d.ts +2 -0
  914. package/mobile/dist/ProjectSettings.js +3 -0
  915. package/mobile/dist/ProjectSettings.js.map +1 -1
  916. package/mobile/dist/components/Accordion/Accordion.js +1 -1
  917. package/mobile/dist/components/Accordion/Accordion.js.map +1 -1
  918. package/mobile/dist/components/BaseTile/BaseTile.d.ts +2 -2
  919. package/mobile/dist/components/BaseTile/BaseTile.js +1 -3
  920. package/mobile/dist/components/BaseTile/BaseTile.js.map +1 -1
  921. package/mobile/dist/components/Blocks.js +0 -2
  922. package/mobile/dist/components/Blocks.js.map +1 -1
  923. package/mobile/dist/components/Bonus/Bonus.js +3 -3
  924. package/mobile/dist/components/Bonus/Bonus.js.map +1 -1
  925. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
  926. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  927. package/mobile/dist/components/BusinessBlock/BusinessBlock.d.ts +5 -0
  928. package/mobile/dist/components/BusinessBlock/BusinessBlock.js +9 -0
  929. package/mobile/dist/components/BusinessBlock/BusinessBlock.js.map +1 -0
  930. package/mobile/dist/components/BusinessBlock/BusinessBlockContent.d.ts +28 -0
  931. package/mobile/dist/components/BusinessBlock/BusinessBlockContent.js +2 -0
  932. package/mobile/dist/components/BusinessBlock/BusinessBlockContent.js.map +1 -0
  933. package/mobile/dist/components/BusinessBlock/BusinessCard.d.ts +2 -0
  934. package/mobile/dist/components/BusinessBlock/BusinessCard.js +16 -0
  935. package/mobile/dist/components/BusinessBlock/BusinessCard.js.map +1 -0
  936. package/mobile/dist/components/Calculator/BonusCalculatorForm.d.ts +2 -2
  937. package/mobile/dist/components/Calculator/BonusCalculatorForm.js +2 -2
  938. package/mobile/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
  939. package/mobile/dist/components/Calculator/Calculator.js +3 -5
  940. package/mobile/dist/components/Calculator/Calculator.js.map +1 -1
  941. package/mobile/dist/components/Calculator/CreditCalculatorForm.d.ts +2 -2
  942. package/mobile/dist/components/Calculator/CreditCalculatorForm.js +3 -8
  943. package/mobile/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
  944. package/mobile/dist/components/Calculator/DepositCalculatorForm.d.ts +2 -2
  945. package/mobile/dist/components/Calculator/DepositCalculatorForm.js +3 -8
  946. package/mobile/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
  947. package/mobile/dist/components/Calculator/renderButtonSection.d.ts +1 -2
  948. package/mobile/dist/components/Calculator/renderButtonSection.js +2 -2
  949. package/mobile/dist/components/Calculator/renderButtonSection.js.map +1 -1
  950. package/mobile/dist/components/Calculator/renderCalculatorBlock.d.ts +1 -1
  951. package/mobile/dist/components/Calculator/renderCalculatorBlock.js +2 -2
  952. package/mobile/dist/components/Calculator/renderCalculatorBlock.js.map +1 -1
  953. package/mobile/dist/components/CardTransfer/CardTransfer.js +3 -4
  954. package/mobile/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  955. package/mobile/dist/components/Catalog/Catalog.js +11 -21
  956. package/mobile/dist/components/Catalog/Catalog.js.map +1 -1
  957. package/mobile/dist/components/Catalog/CatalogCard.d.ts +2 -2
  958. package/mobile/dist/components/Catalog/CatalogCard.js +1 -3
  959. package/mobile/dist/components/Catalog/CatalogCard.js.map +1 -1
  960. package/mobile/dist/components/ComparisonTable/ComparisonTable.js +3 -3
  961. package/mobile/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
  962. package/mobile/dist/components/ComparisonTable/ComparisonTableBody.d.ts +1 -3
  963. package/mobile/dist/components/ComparisonTable/ComparisonTableBody.js +3 -9
  964. package/mobile/dist/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
  965. package/mobile/dist/components/ComparisonTable/ComparisonTableColumnHeaders.d.ts +0 -3
  966. package/mobile/dist/components/ComparisonTable/ComparisonTableColumnHeaders.js +1 -4
  967. package/mobile/dist/components/ComparisonTable/ComparisonTableColumnHeaders.js.map +1 -1
  968. package/mobile/dist/components/ComparisonTable/ComparisonTableRows.js +2 -2
  969. package/mobile/dist/components/ComparisonTable/ComparisonTableRows.js.map +1 -1
  970. package/mobile/dist/components/ContactsBlock/ContactsBlock.js +2 -2
  971. package/mobile/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
  972. package/mobile/dist/components/ContentPage/ContentPage.js +4 -5
  973. package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
  974. package/mobile/dist/components/ContentPage/renderBlock.d.ts +0 -2
  975. package/mobile/dist/components/ContentPage/renderBlock.js +3 -3
  976. package/mobile/dist/components/ContentPage/renderBlock.js.map +1 -1
  977. package/mobile/dist/components/ContentPage/renderBlockList.d.ts +1 -1
  978. package/mobile/dist/components/ContentPage/renderBlockList.js +5 -12
  979. package/mobile/dist/components/ContentPage/renderBlockList.js.map +1 -1
  980. package/mobile/dist/components/ContentPage/renderSlots.d.ts +1 -1
  981. package/mobile/dist/components/ContentPage/renderSlots.js +10 -12
  982. package/mobile/dist/components/ContentPage/renderSlots.js.map +1 -1
  983. package/mobile/dist/components/ErrorBlock/ErrorBlock.js +1 -6
  984. package/mobile/dist/components/ErrorBlock/ErrorBlock.js.map +1 -1
  985. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +1 -2
  986. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +2 -5
  987. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  988. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js +2 -2
  989. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  990. package/mobile/dist/components/Footer/Contacts.d.ts +2 -2
  991. package/mobile/dist/components/Footer/Contacts.js +1 -10
  992. package/mobile/dist/components/Footer/Contacts.js.map +1 -1
  993. package/mobile/dist/components/Footer/Footer.fallback.d.ts +2 -0
  994. package/mobile/dist/components/Footer/Footer.fallback.js +13 -0
  995. package/mobile/dist/components/Footer/Footer.fallback.js.map +1 -0
  996. package/mobile/dist/components/Footer/Footer.js +10 -9
  997. package/mobile/dist/components/Footer/Footer.js.map +1 -1
  998. package/mobile/dist/components/Footer/FooterContent.d.ts +3 -19
  999. package/mobile/dist/components/Footer/FooterDataProps.d.ts +12 -0
  1000. package/mobile/dist/components/{ContentPage/ContentPageContext.js → Footer/FooterDataProps.js} +1 -1
  1001. package/mobile/dist/components/Footer/FooterDataProps.js.map +1 -0
  1002. package/mobile/dist/components/Footer/FooterLink.d.ts +2 -2
  1003. package/mobile/dist/components/Footer/HorizontalNavigation.d.ts +1 -2
  1004. package/mobile/dist/components/Footer/HorizontalNavigation.js +1 -6
  1005. package/mobile/dist/components/Footer/HorizontalNavigation.js.map +1 -1
  1006. package/mobile/dist/components/Footer/HorizontalNavigationLink.js +6 -1
  1007. package/mobile/dist/components/Footer/HorizontalNavigationLink.js.map +1 -1
  1008. package/mobile/dist/components/Footer/MediaButton.js +5 -2
  1009. package/mobile/dist/components/Footer/MediaButton.js.map +1 -1
  1010. package/mobile/dist/components/Footer/Sitemap.d.ts +2 -2
  1011. package/mobile/dist/components/Footer/Sitemap.js +14 -12
  1012. package/mobile/dist/components/Footer/Sitemap.js.map +1 -1
  1013. package/mobile/dist/components/Footer/SocialMedia.d.ts +2 -2
  1014. package/mobile/dist/components/Footer/SocialMedia.js +1 -6
  1015. package/mobile/dist/components/Footer/SocialMedia.js.map +1 -1
  1016. package/mobile/dist/components/Footer/TextInformation.js +2 -5
  1017. package/mobile/dist/components/Footer/TextInformation.js.map +1 -1
  1018. package/mobile/dist/components/Footer/TextInformationLink.js +6 -1
  1019. package/mobile/dist/components/Footer/TextInformationLink.js.map +1 -1
  1020. package/mobile/dist/components/Footer/useFooterData.d.ts +2 -0
  1021. package/mobile/dist/{services/sitemap/useSitemap.js → components/Footer/useFooterData.js} +5 -5
  1022. package/mobile/dist/components/Footer/useFooterData.js.map +1 -0
  1023. package/mobile/dist/components/Gallery/Gallery.js +4 -4
  1024. package/mobile/dist/components/Gallery/Gallery.js.map +1 -1
  1025. package/mobile/dist/components/Gallery/GalleryContainer.d.ts +1 -3
  1026. package/mobile/dist/components/Gallery/GalleryContainer.js +2 -2
  1027. package/mobile/dist/components/Gallery/GalleryContainer.js.map +1 -1
  1028. package/mobile/dist/components/Gallery/GalleryContent.d.ts +1 -1
  1029. package/mobile/dist/components/Gallery/GalleryInner.js +2 -2
  1030. package/mobile/dist/components/Gallery/GalleryInner.js.map +1 -1
  1031. package/mobile/dist/components/GracePeriod/GracePeriod.js +1 -3
  1032. package/mobile/dist/components/GracePeriod/GracePeriod.js.map +1 -1
  1033. package/mobile/dist/components/Header/DropdownMenu.d.ts +0 -2
  1034. package/mobile/dist/components/Header/DropdownMenu.js +3 -4
  1035. package/mobile/dist/components/Header/DropdownMenu.js.map +1 -1
  1036. package/mobile/dist/components/Header/Header.js +8 -14
  1037. package/mobile/dist/components/Header/Header.js.map +1 -1
  1038. package/mobile/dist/components/Header/HeaderBurger.d.ts +0 -2
  1039. package/mobile/dist/components/Header/HeaderBurger.js +2 -2
  1040. package/mobile/dist/components/Header/HeaderBurger.js.map +1 -1
  1041. package/mobile/dist/components/Header/HeaderSubMenu.d.ts +0 -2
  1042. package/mobile/dist/components/Header/HeaderSubMenu.js +4 -3
  1043. package/mobile/dist/components/Header/HeaderSubMenu.js.map +1 -1
  1044. package/mobile/dist/components/Header/HeaderSubMenuItem.d.ts +0 -2
  1045. package/mobile/dist/components/Header/HeaderSubMenuItem.js +2 -5
  1046. package/mobile/dist/components/Header/HeaderSubMenuItem.js.map +1 -1
  1047. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +4 -6
  1048. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  1049. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +2 -2
  1050. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  1051. package/mobile/dist/components/InvestmentGallery/InvestmentGallery.js +3 -7
  1052. package/mobile/dist/components/InvestmentGallery/InvestmentGallery.js.map +1 -1
  1053. package/mobile/dist/components/InvestmentGallery/InvestmentGalleryCard.d.ts +2 -2
  1054. package/mobile/dist/components/InvestmentGallery/InvestmentGalleryCard.js +2 -2
  1055. package/mobile/dist/components/InvestmentGallery/InvestmentGalleryCard.js.map +1 -1
  1056. package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js +2 -2
  1057. package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  1058. package/mobile/dist/components/LikeControl/LikeControl.d.ts +5 -2
  1059. package/mobile/dist/components/LikeControl/LikeControl.js +5 -6
  1060. package/mobile/dist/components/LikeControl/LikeControl.js.map +1 -1
  1061. package/mobile/dist/components/LinkDocs/LinkDocs.js +1 -3
  1062. package/mobile/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  1063. package/mobile/dist/components/LinkDocs/LinkDocsHorizontalList.d.ts +1 -5
  1064. package/mobile/dist/components/LinkDocs/LinkDocsHorizontalList.js +3 -5
  1065. package/mobile/dist/components/LinkDocs/LinkDocsHorizontalList.js.map +1 -1
  1066. package/mobile/dist/components/LinkList/LinkList.js +1 -3
  1067. package/mobile/dist/components/LinkList/LinkList.js.map +1 -1
  1068. package/mobile/dist/components/OfficeMap/OfficeMap.js +4 -2
  1069. package/mobile/dist/components/OfficeMap/OfficeMap.js.map +1 -1
  1070. package/mobile/dist/components/OfficeMap/useOfficeMap.d.ts +56 -2
  1071. package/mobile/dist/components/OfficeMap/useOfficeMap.js +4 -1
  1072. package/mobile/dist/components/OfficeMap/useOfficeMap.js.map +1 -1
  1073. package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -3
  1074. package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  1075. package/mobile/dist/components/OtherProducts/OtherProducts.js +1 -1
  1076. package/mobile/dist/components/OtherProducts/OtherProducts.js.map +1 -1
  1077. package/mobile/dist/components/PictureText/PictureText.js +1 -3
  1078. package/mobile/dist/components/PictureText/PictureText.js.map +1 -1
  1079. package/mobile/dist/components/Placeholder/Placeholder.d.ts +0 -1
  1080. package/mobile/dist/components/Placeholder/Placeholder.js +2 -2
  1081. package/mobile/dist/components/Placeholder/Placeholder.js.map +1 -1
  1082. package/mobile/dist/components/ProductBlock/ProductBlockInner.js +2 -2
  1083. package/mobile/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  1084. package/mobile/dist/components/ProductBlock/renderBackwardButton.d.ts +1 -1
  1085. package/mobile/dist/components/ProductBlock/renderBackwardButton.js +1 -0
  1086. package/mobile/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
  1087. package/mobile/dist/components/ProductGallery/ProductGallery.js +41 -4
  1088. package/mobile/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  1089. package/mobile/dist/components/ProductTile/ProductTile.js +4 -6
  1090. package/mobile/dist/components/ProductTile/ProductTile.js.map +1 -1
  1091. package/mobile/dist/components/PromoTile/PromoTile.js +1 -3
  1092. package/mobile/dist/components/PromoTile/PromoTile.js.map +1 -1
  1093. package/mobile/dist/components/Recommendation/Recommendation.js +4 -9
  1094. package/mobile/dist/components/Recommendation/Recommendation.js.map +1 -1
  1095. package/mobile/dist/components/Recommendation/RecommendationCard.d.ts +2 -2
  1096. package/mobile/dist/components/Recommendation/RecommendationCard.js +2 -2
  1097. package/mobile/dist/components/Recommendation/RecommendationCard.js.map +1 -1
  1098. package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js +3 -3
  1099. package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  1100. package/mobile/dist/components/StepsBlock/renderStepContent.d.ts +2 -5
  1101. package/mobile/dist/components/StepsBlock/renderStepContent.js +2 -3
  1102. package/mobile/dist/components/StepsBlock/renderStepContent.js.map +1 -1
  1103. package/mobile/dist/components/Tabs/LinkTab.d.ts +8 -0
  1104. package/mobile/dist/components/Tabs/LinkTab.js +20 -0
  1105. package/mobile/dist/components/Tabs/LinkTab.js.map +1 -0
  1106. package/mobile/dist/components/Tabs/Tabs.d.ts +2 -2
  1107. package/mobile/dist/components/Tabs/Tabs.js +2 -2
  1108. package/mobile/dist/components/Tabs/Tabs.js.map +1 -1
  1109. package/mobile/dist/components/Tabs/TabsContent.d.ts +5 -5
  1110. package/mobile/dist/components/Tabs/renderGroupTab.d.ts +2 -2
  1111. package/mobile/dist/components/Tabs/renderGroupTab.js +1 -1
  1112. package/mobile/dist/components/Tabs/renderGroupTab.js.map +1 -1
  1113. package/mobile/dist/components/Tabs/renderTab.d.ts +4 -6
  1114. package/mobile/dist/components/Tabs/renderTab.js +5 -19
  1115. package/mobile/dist/components/Tabs/renderTab.js.map +1 -1
  1116. package/mobile/dist/components/TariffsTable/TariffsTable.js +2 -5
  1117. package/mobile/dist/components/TariffsTable/TariffsTable.js.map +1 -1
  1118. package/mobile/dist/components/TariffsTable/TariffsTableCell.js +1 -2
  1119. package/mobile/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
  1120. package/mobile/dist/components/TariffsTable/TariffsTableContent.d.ts +1 -1
  1121. package/mobile/dist/components/TariffsTable/TariffsTableHorizontal.js +1 -1
  1122. package/mobile/dist/components/TariffsTable/TariffsTableHorizontal.js.map +1 -1
  1123. package/mobile/dist/components/TariffsTable/TariffsTableRenderCell.d.ts +1 -3
  1124. package/mobile/dist/components/TariffsTable/TariffsTableRenderCell.js +1 -2
  1125. package/mobile/dist/components/TariffsTable/TariffsTableRenderCell.js.map +1 -1
  1126. package/mobile/dist/components/TariffsTable/TariffsTableRow.js +3 -3
  1127. package/mobile/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
  1128. package/mobile/dist/components/TariffsTable/TariffsTableRowContainer.d.ts +1 -3
  1129. package/mobile/dist/components/TariffsTable/TariffsTableRowContainer.js +1 -3
  1130. package/mobile/dist/components/TariffsTable/TariffsTableRowContainer.js.map +1 -1
  1131. package/mobile/dist/components/TariffsTable/TariffsTableTileCell.d.ts +3 -4
  1132. package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js +8 -13
  1133. package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  1134. package/mobile/dist/components/TariffsTable/TariffsTableVertical.js +1 -1
  1135. package/mobile/dist/components/TariffsTable/TariffsTableVertical.js.map +1 -1
  1136. package/mobile/dist/components/Tile/Tile.js +2 -2
  1137. package/mobile/dist/components/Tile/Tile.js.map +1 -1
  1138. package/mobile/dist/components/VerticalLayout/VerticalLayout.d.ts +5 -0
  1139. package/mobile/dist/components/VerticalLayout/VerticalLayout.js +35 -0
  1140. package/mobile/dist/components/VerticalLayout/VerticalLayout.js.map +1 -0
  1141. package/mobile/dist/components/VerticalLayout/VerticalLayoutContent.d.ts +17 -0
  1142. package/mobile/dist/components/VerticalLayout/VerticalLayoutContent.js +2 -0
  1143. package/mobile/dist/components/VerticalLayout/VerticalLayoutContent.js.map +1 -0
  1144. package/mobile/dist/hooks/handlerDecorator.d.ts +5 -0
  1145. package/mobile/dist/hooks/handlerDecorator.js +12 -0
  1146. package/mobile/dist/hooks/handlerDecorator.js.map +1 -0
  1147. package/mobile/dist/hooks/useLink.d.ts +6 -16
  1148. package/mobile/dist/hooks/useLink.js +21 -17
  1149. package/mobile/dist/hooks/useLink.js.map +1 -1
  1150. package/mobile/dist/hooks/useRouter.d.ts +13 -0
  1151. package/mobile/dist/hooks/useRouter.js +21 -0
  1152. package/mobile/dist/hooks/useRouter.js.map +1 -0
  1153. package/mobile/dist/hooks/useTableArrowScrollControl.d.ts +1 -3
  1154. package/mobile/dist/hooks/useTableArrowScrollControl.js +13 -4
  1155. package/mobile/dist/hooks/useTableArrowScrollControl.js.map +1 -1
  1156. package/mobile/dist/index.d.ts +2 -0
  1157. package/mobile/dist/index.js +5 -1
  1158. package/mobile/dist/index.js.map +1 -1
  1159. package/mobile/dist/model/BlockVersion.d.ts +1 -0
  1160. package/mobile/dist/model/BlockVersion.js +6 -1
  1161. package/mobile/dist/model/BlockVersion.js.map +1 -1
  1162. package/mobile/dist/model/BlocksRegistry.d.ts +1 -1
  1163. package/mobile/dist/model/JSXBlock.d.ts +7 -8
  1164. package/mobile/dist/react/setup-fixture.d.ts +0 -3
  1165. package/mobile/dist/react/setup-fixture.js +9 -25
  1166. package/mobile/dist/react/setup-fixture.js.map +1 -1
  1167. package/mobile/dist/services/sitemap/SitemapProps.d.ts +1 -1
  1168. package/mobile/dist/services/sitemap/findActiveSubItem.d.ts +1 -1
  1169. package/mobile/dist/services/sitemap/isHrefActive.js +1 -2
  1170. package/mobile/dist/services/sitemap/isHrefActive.js.map +1 -1
  1171. package/mobile/dist/services/sitemap/isSubItemActive.d.ts +1 -1
  1172. package/mobile/dist/services/sitemap/isTopItemActive.d.ts +1 -1
  1173. package/mobile/dist/services/sitemap/useSWRResource.d.ts +2 -0
  1174. package/mobile/dist/services/sitemap/useSWRResource.js +12 -0
  1175. package/mobile/dist/services/sitemap/useSWRResource.js.map +1 -0
  1176. package/mobile/dist/ui-kit/BlockWrapper.d.ts +2 -2
  1177. package/mobile/dist/ui-kit/BlockWrapper.js +3 -2
  1178. package/mobile/dist/ui-kit/BlockWrapper.js.map +1 -1
  1179. package/mobile/dist/ui-kit/Breadcrumb.js +6 -1
  1180. package/mobile/dist/ui-kit/Breadcrumb.js.map +1 -1
  1181. package/mobile/dist/ui-kit/Button/Button.js +10 -24
  1182. package/mobile/dist/ui-kit/Button/Button.js.map +1 -1
  1183. package/mobile/dist/ui-kit/Button/ButtonInner.js +2 -3
  1184. package/mobile/dist/ui-kit/Button/ButtonInner.js.map +1 -1
  1185. package/mobile/dist/ui-kit/Button/ButtonSection.d.ts +2 -2
  1186. package/mobile/dist/ui-kit/Button/ButtonSection.js +1 -6
  1187. package/mobile/dist/ui-kit/Button/ButtonSection.js.map +1 -1
  1188. package/mobile/dist/ui-kit/Checkbox/Checkbox.js +1 -3
  1189. package/mobile/dist/ui-kit/Checkbox/Checkbox.js.map +1 -1
  1190. package/mobile/dist/ui-kit/Checkbox/CheckboxProps.d.ts +2 -2
  1191. package/mobile/dist/ui-kit/InnerTable/InnerTable.d.ts +2 -3
  1192. package/mobile/dist/ui-kit/InnerTable/InnerTable.js +2 -2
  1193. package/mobile/dist/ui-kit/InnerTable/InnerTable.js.map +1 -1
  1194. package/mobile/dist/ui-kit/InnerTable/InnerTableBody.d.ts +1 -2
  1195. package/mobile/dist/ui-kit/InnerTable/InnerTableBody.js +2 -2
  1196. package/mobile/dist/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
  1197. package/mobile/dist/ui-kit/InnerTable/InnerTableBodyItem.d.ts +1 -2
  1198. package/mobile/dist/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
  1199. package/mobile/dist/ui-kit/InnerTable/InnerTableButton.d.ts +1 -2
  1200. package/mobile/dist/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
  1201. package/mobile/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +4 -5
  1202. package/mobile/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.js +1 -3
  1203. package/mobile/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.js.map +1 -1
  1204. package/mobile/dist/ui-kit/SearchBar/SearchBar.d.ts +2 -2
  1205. package/mobile/dist/ui-kit/SearchBar/SearchBar.js +1 -3
  1206. package/mobile/dist/ui-kit/SearchBar/SearchBar.js.map +1 -1
  1207. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js +1 -1
  1208. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  1209. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +2 -2
  1210. package/mobile/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js +2 -2
  1211. package/mobile/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js.map +1 -1
  1212. package/mobile/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.d.ts +3 -2
  1213. package/mobile/dist/ui-kit/TopItem/TopItem.js +6 -1
  1214. package/mobile/dist/ui-kit/TopItem/TopItem.js.map +1 -1
  1215. package/mobile/dist/utils/adjustHref.js +2 -10
  1216. package/mobile/dist/utils/adjustHref.js.map +1 -1
  1217. package/mobile/lib/ProjectSettings.d.ts +2 -0
  1218. package/mobile/lib/ProjectSettings.js +3 -0
  1219. package/mobile/lib/ProjectSettings.js.map +1 -1
  1220. package/mobile/lib/components/Accordion/Accordion.js +1 -1
  1221. package/mobile/lib/components/Accordion/Accordion.js.map +1 -1
  1222. package/mobile/lib/components/BaseTile/BaseTile.d.ts +2 -2
  1223. package/mobile/lib/components/BaseTile/BaseTile.js +1 -3
  1224. package/mobile/lib/components/BaseTile/BaseTile.js.map +1 -1
  1225. package/mobile/lib/components/Blocks.js +0 -2
  1226. package/mobile/lib/components/Blocks.js.map +1 -1
  1227. package/mobile/lib/components/Bonus/Bonus.js +3 -3
  1228. package/mobile/lib/components/Bonus/Bonus.js.map +1 -1
  1229. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
  1230. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  1231. package/mobile/lib/components/BusinessBlock/BusinessBlock.d.ts +5 -0
  1232. package/mobile/lib/components/BusinessBlock/BusinessBlock.js +7 -0
  1233. package/mobile/lib/components/BusinessBlock/BusinessBlock.js.map +1 -0
  1234. package/mobile/lib/components/BusinessBlock/BusinessBlockContent.d.ts +28 -0
  1235. package/mobile/lib/components/BusinessBlock/BusinessBlockContent.js +2 -0
  1236. package/mobile/lib/components/BusinessBlock/BusinessBlockContent.js.map +1 -0
  1237. package/mobile/lib/components/BusinessBlock/BusinessCard.d.ts +2 -0
  1238. package/mobile/lib/components/BusinessBlock/BusinessCard.js +14 -0
  1239. package/mobile/lib/components/BusinessBlock/BusinessCard.js.map +1 -0
  1240. package/mobile/lib/components/Calculator/BonusCalculatorForm.d.ts +2 -2
  1241. package/mobile/lib/components/Calculator/BonusCalculatorForm.js +2 -2
  1242. package/mobile/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
  1243. package/mobile/lib/components/Calculator/Calculator.js +3 -5
  1244. package/mobile/lib/components/Calculator/Calculator.js.map +1 -1
  1245. package/mobile/lib/components/Calculator/CreditCalculatorForm.d.ts +2 -2
  1246. package/mobile/lib/components/Calculator/CreditCalculatorForm.js +3 -8
  1247. package/mobile/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
  1248. package/mobile/lib/components/Calculator/DepositCalculatorForm.d.ts +2 -2
  1249. package/mobile/lib/components/Calculator/DepositCalculatorForm.js +3 -8
  1250. package/mobile/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
  1251. package/mobile/lib/components/Calculator/renderButtonSection.d.ts +1 -2
  1252. package/mobile/lib/components/Calculator/renderButtonSection.js +2 -2
  1253. package/mobile/lib/components/Calculator/renderButtonSection.js.map +1 -1
  1254. package/mobile/lib/components/Calculator/renderCalculatorBlock.d.ts +1 -1
  1255. package/mobile/lib/components/Calculator/renderCalculatorBlock.js +2 -2
  1256. package/mobile/lib/components/Calculator/renderCalculatorBlock.js.map +1 -1
  1257. package/mobile/lib/components/CardTransfer/CardTransfer.js +3 -4
  1258. package/mobile/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  1259. package/mobile/lib/components/Catalog/Catalog.js +12 -22
  1260. package/mobile/lib/components/Catalog/Catalog.js.map +1 -1
  1261. package/mobile/lib/components/Catalog/CatalogCard.d.ts +2 -2
  1262. package/mobile/lib/components/Catalog/CatalogCard.js +1 -3
  1263. package/mobile/lib/components/Catalog/CatalogCard.js.map +1 -1
  1264. package/mobile/lib/components/ComparisonTable/ComparisonTable.js +3 -3
  1265. package/mobile/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
  1266. package/mobile/lib/components/ComparisonTable/ComparisonTableBody.d.ts +1 -3
  1267. package/mobile/lib/components/ComparisonTable/ComparisonTableBody.js +3 -9
  1268. package/mobile/lib/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
  1269. package/mobile/lib/components/ComparisonTable/ComparisonTableColumnHeaders.d.ts +0 -3
  1270. package/mobile/lib/components/ComparisonTable/ComparisonTableColumnHeaders.js +1 -4
  1271. package/mobile/lib/components/ComparisonTable/ComparisonTableColumnHeaders.js.map +1 -1
  1272. package/mobile/lib/components/ComparisonTable/ComparisonTableRows.js +2 -2
  1273. package/mobile/lib/components/ComparisonTable/ComparisonTableRows.js.map +1 -1
  1274. package/mobile/lib/components/ContactsBlock/ContactsBlock.js +2 -2
  1275. package/mobile/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
  1276. package/mobile/lib/components/ContentPage/ContentPage.js +4 -5
  1277. package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
  1278. package/mobile/lib/components/ContentPage/renderBlock.d.ts +0 -2
  1279. package/mobile/lib/components/ContentPage/renderBlock.js +3 -3
  1280. package/mobile/lib/components/ContentPage/renderBlock.js.map +1 -1
  1281. package/mobile/lib/components/ContentPage/renderBlockList.d.ts +1 -1
  1282. package/mobile/lib/components/ContentPage/renderBlockList.js +5 -12
  1283. package/mobile/lib/components/ContentPage/renderBlockList.js.map +1 -1
  1284. package/mobile/lib/components/ContentPage/renderSlots.d.ts +1 -1
  1285. package/mobile/lib/components/ContentPage/renderSlots.js +10 -12
  1286. package/mobile/lib/components/ContentPage/renderSlots.js.map +1 -1
  1287. package/mobile/lib/components/ErrorBlock/ErrorBlock.js +1 -6
  1288. package/mobile/lib/components/ErrorBlock/ErrorBlock.js.map +1 -1
  1289. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +1 -2
  1290. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +2 -5
  1291. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  1292. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js +2 -2
  1293. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  1294. package/mobile/lib/components/Footer/Contacts.d.ts +2 -2
  1295. package/mobile/lib/components/Footer/Contacts.js +1 -10
  1296. package/mobile/lib/components/Footer/Contacts.js.map +1 -1
  1297. package/mobile/lib/components/Footer/Footer.fallback.d.ts +2 -0
  1298. package/mobile/lib/components/Footer/Footer.fallback.js +10 -0
  1299. package/mobile/lib/components/Footer/Footer.fallback.js.map +1 -0
  1300. package/mobile/lib/components/Footer/Footer.js +10 -9
  1301. package/mobile/lib/components/Footer/Footer.js.map +1 -1
  1302. package/mobile/lib/components/Footer/FooterContent.d.ts +3 -19
  1303. package/mobile/lib/components/Footer/FooterDataProps.d.ts +12 -0
  1304. package/mobile/lib/components/Footer/FooterDataProps.js +2 -0
  1305. package/mobile/lib/components/Footer/FooterDataProps.js.map +1 -0
  1306. package/mobile/lib/components/Footer/FooterLink.d.ts +2 -2
  1307. package/mobile/lib/components/Footer/HorizontalNavigation.d.ts +1 -2
  1308. package/mobile/lib/components/Footer/HorizontalNavigation.js +1 -6
  1309. package/mobile/lib/components/Footer/HorizontalNavigation.js.map +1 -1
  1310. package/mobile/lib/components/Footer/HorizontalNavigationLink.js +6 -1
  1311. package/mobile/lib/components/Footer/HorizontalNavigationLink.js.map +1 -1
  1312. package/mobile/lib/components/Footer/MediaButton.js +5 -2
  1313. package/mobile/lib/components/Footer/MediaButton.js.map +1 -1
  1314. package/mobile/lib/components/Footer/Sitemap.d.ts +2 -2
  1315. package/mobile/lib/components/Footer/Sitemap.js +14 -12
  1316. package/mobile/lib/components/Footer/Sitemap.js.map +1 -1
  1317. package/mobile/lib/components/Footer/SocialMedia.d.ts +2 -2
  1318. package/mobile/lib/components/Footer/SocialMedia.js +1 -6
  1319. package/mobile/lib/components/Footer/SocialMedia.js.map +1 -1
  1320. package/mobile/lib/components/Footer/TextInformation.js +2 -5
  1321. package/mobile/lib/components/Footer/TextInformation.js.map +1 -1
  1322. package/mobile/lib/components/Footer/TextInformationLink.js +6 -1
  1323. package/mobile/lib/components/Footer/TextInformationLink.js.map +1 -1
  1324. package/mobile/lib/components/Footer/useFooterData.d.ts +2 -0
  1325. package/mobile/lib/{services/sitemap/useSitemap.js → components/Footer/useFooterData.js} +3 -3
  1326. package/mobile/lib/components/Footer/useFooterData.js.map +1 -0
  1327. package/mobile/lib/components/Gallery/Gallery.js +4 -4
  1328. package/mobile/lib/components/Gallery/Gallery.js.map +1 -1
  1329. package/mobile/lib/components/Gallery/GalleryContainer.d.ts +1 -3
  1330. package/mobile/lib/components/Gallery/GalleryContainer.js +2 -2
  1331. package/mobile/lib/components/Gallery/GalleryContainer.js.map +1 -1
  1332. package/mobile/lib/components/Gallery/GalleryContent.d.ts +1 -1
  1333. package/mobile/lib/components/Gallery/GalleryInner.js +2 -2
  1334. package/mobile/lib/components/Gallery/GalleryInner.js.map +1 -1
  1335. package/mobile/lib/components/GracePeriod/GracePeriod.js +1 -3
  1336. package/mobile/lib/components/GracePeriod/GracePeriod.js.map +1 -1
  1337. package/mobile/lib/components/Header/DropdownMenu.d.ts +0 -2
  1338. package/mobile/lib/components/Header/DropdownMenu.js +3 -4
  1339. package/mobile/lib/components/Header/DropdownMenu.js.map +1 -1
  1340. package/mobile/lib/components/Header/Header.js +8 -14
  1341. package/mobile/lib/components/Header/Header.js.map +1 -1
  1342. package/mobile/lib/components/Header/HeaderBurger.d.ts +0 -2
  1343. package/mobile/lib/components/Header/HeaderBurger.js +2 -2
  1344. package/mobile/lib/components/Header/HeaderBurger.js.map +1 -1
  1345. package/mobile/lib/components/Header/HeaderSubMenu.d.ts +0 -2
  1346. package/mobile/lib/components/Header/HeaderSubMenu.js +4 -3
  1347. package/mobile/lib/components/Header/HeaderSubMenu.js.map +1 -1
  1348. package/mobile/lib/components/Header/HeaderSubMenuItem.d.ts +0 -2
  1349. package/mobile/lib/components/Header/HeaderSubMenuItem.js +2 -5
  1350. package/mobile/lib/components/Header/HeaderSubMenuItem.js.map +1 -1
  1351. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +4 -6
  1352. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  1353. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +2 -2
  1354. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  1355. package/mobile/lib/components/InvestmentGallery/InvestmentGallery.js +3 -7
  1356. package/mobile/lib/components/InvestmentGallery/InvestmentGallery.js.map +1 -1
  1357. package/mobile/lib/components/InvestmentGallery/InvestmentGalleryCard.d.ts +2 -2
  1358. package/mobile/lib/components/InvestmentGallery/InvestmentGalleryCard.js +2 -2
  1359. package/mobile/lib/components/InvestmentGallery/InvestmentGalleryCard.js.map +1 -1
  1360. package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js +2 -2
  1361. package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  1362. package/mobile/lib/components/LikeControl/LikeControl.d.ts +5 -2
  1363. package/mobile/lib/components/LikeControl/LikeControl.js +4 -5
  1364. package/mobile/lib/components/LikeControl/LikeControl.js.map +1 -1
  1365. package/mobile/lib/components/LinkDocs/LinkDocs.js +1 -3
  1366. package/mobile/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  1367. package/mobile/lib/components/LinkDocs/LinkDocsHorizontalList.d.ts +1 -5
  1368. package/mobile/lib/components/LinkDocs/LinkDocsHorizontalList.js +3 -5
  1369. package/mobile/lib/components/LinkDocs/LinkDocsHorizontalList.js.map +1 -1
  1370. package/mobile/lib/components/LinkList/LinkList.js +1 -3
  1371. package/mobile/lib/components/LinkList/LinkList.js.map +1 -1
  1372. package/mobile/lib/components/OfficeMap/OfficeMap.js +4 -2
  1373. package/mobile/lib/components/OfficeMap/OfficeMap.js.map +1 -1
  1374. package/mobile/lib/components/OfficeMap/useOfficeMap.d.ts +56 -2
  1375. package/mobile/lib/components/OfficeMap/useOfficeMap.js +4 -1
  1376. package/mobile/lib/components/OfficeMap/useOfficeMap.js.map +1 -1
  1377. package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -3
  1378. package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  1379. package/mobile/lib/components/OtherProducts/OtherProducts.js +1 -1
  1380. package/mobile/lib/components/OtherProducts/OtherProducts.js.map +1 -1
  1381. package/mobile/lib/components/PictureText/PictureText.js +1 -3
  1382. package/mobile/lib/components/PictureText/PictureText.js.map +1 -1
  1383. package/mobile/lib/components/Placeholder/Placeholder.d.ts +0 -1
  1384. package/mobile/lib/components/Placeholder/Placeholder.js +2 -2
  1385. package/mobile/lib/components/Placeholder/Placeholder.js.map +1 -1
  1386. package/mobile/lib/components/ProductBlock/ProductBlockInner.js +2 -2
  1387. package/mobile/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  1388. package/mobile/lib/components/ProductBlock/renderBackwardButton.d.ts +1 -1
  1389. package/mobile/lib/components/ProductBlock/renderBackwardButton.js +1 -0
  1390. package/mobile/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
  1391. package/mobile/lib/components/ProductGallery/ProductGallery.js +42 -5
  1392. package/mobile/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  1393. package/mobile/lib/components/ProductTile/ProductTile.js +4 -6
  1394. package/mobile/lib/components/ProductTile/ProductTile.js.map +1 -1
  1395. package/mobile/lib/components/PromoTile/PromoTile.js +1 -3
  1396. package/mobile/lib/components/PromoTile/PromoTile.js.map +1 -1
  1397. package/mobile/lib/components/Recommendation/Recommendation.js +4 -9
  1398. package/mobile/lib/components/Recommendation/Recommendation.js.map +1 -1
  1399. package/mobile/lib/components/Recommendation/RecommendationCard.d.ts +2 -2
  1400. package/mobile/lib/components/Recommendation/RecommendationCard.js +2 -2
  1401. package/mobile/lib/components/Recommendation/RecommendationCard.js.map +1 -1
  1402. package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js +3 -3
  1403. package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  1404. package/mobile/lib/components/StepsBlock/renderStepContent.d.ts +2 -5
  1405. package/mobile/lib/components/StepsBlock/renderStepContent.js +2 -3
  1406. package/mobile/lib/components/StepsBlock/renderStepContent.js.map +1 -1
  1407. package/mobile/lib/components/Tabs/LinkTab.d.ts +8 -0
  1408. package/mobile/lib/components/Tabs/LinkTab.js +18 -0
  1409. package/mobile/lib/components/Tabs/LinkTab.js.map +1 -0
  1410. package/mobile/lib/components/Tabs/Tabs.d.ts +2 -2
  1411. package/mobile/lib/components/Tabs/Tabs.js +2 -2
  1412. package/mobile/lib/components/Tabs/Tabs.js.map +1 -1
  1413. package/mobile/lib/components/Tabs/TabsContent.d.ts +5 -5
  1414. package/mobile/lib/components/Tabs/renderGroupTab.d.ts +2 -2
  1415. package/mobile/lib/components/Tabs/renderGroupTab.js +1 -1
  1416. package/mobile/lib/components/Tabs/renderGroupTab.js.map +1 -1
  1417. package/mobile/lib/components/Tabs/renderTab.d.ts +4 -6
  1418. package/mobile/lib/components/Tabs/renderTab.js +5 -19
  1419. package/mobile/lib/components/Tabs/renderTab.js.map +1 -1
  1420. package/mobile/lib/components/TariffsTable/TariffsTable.js +2 -5
  1421. package/mobile/lib/components/TariffsTable/TariffsTable.js.map +1 -1
  1422. package/mobile/lib/components/TariffsTable/TariffsTableCell.js +1 -2
  1423. package/mobile/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
  1424. package/mobile/lib/components/TariffsTable/TariffsTableContent.d.ts +1 -1
  1425. package/mobile/lib/components/TariffsTable/TariffsTableHorizontal.js +1 -1
  1426. package/mobile/lib/components/TariffsTable/TariffsTableHorizontal.js.map +1 -1
  1427. package/mobile/lib/components/TariffsTable/TariffsTableRenderCell.d.ts +1 -3
  1428. package/mobile/lib/components/TariffsTable/TariffsTableRenderCell.js +1 -2
  1429. package/mobile/lib/components/TariffsTable/TariffsTableRenderCell.js.map +1 -1
  1430. package/mobile/lib/components/TariffsTable/TariffsTableRow.js +3 -3
  1431. package/mobile/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
  1432. package/mobile/lib/components/TariffsTable/TariffsTableRowContainer.d.ts +1 -3
  1433. package/mobile/lib/components/TariffsTable/TariffsTableRowContainer.js +1 -3
  1434. package/mobile/lib/components/TariffsTable/TariffsTableRowContainer.js.map +1 -1
  1435. package/mobile/lib/components/TariffsTable/TariffsTableTileCell.d.ts +3 -4
  1436. package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js +8 -13
  1437. package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  1438. package/mobile/lib/components/TariffsTable/TariffsTableVertical.js +1 -1
  1439. package/mobile/lib/components/TariffsTable/TariffsTableVertical.js.map +1 -1
  1440. package/mobile/lib/components/Tile/Tile.js +2 -2
  1441. package/mobile/lib/components/Tile/Tile.js.map +1 -1
  1442. package/mobile/lib/components/VerticalLayout/VerticalLayout.d.ts +5 -0
  1443. package/mobile/lib/components/VerticalLayout/VerticalLayout.js +33 -0
  1444. package/mobile/lib/components/VerticalLayout/VerticalLayout.js.map +1 -0
  1445. package/mobile/lib/components/VerticalLayout/VerticalLayoutContent.d.ts +17 -0
  1446. package/mobile/lib/components/VerticalLayout/VerticalLayoutContent.js +2 -0
  1447. package/mobile/lib/components/VerticalLayout/VerticalLayoutContent.js.map +1 -0
  1448. package/mobile/lib/hooks/handlerDecorator.d.ts +5 -0
  1449. package/mobile/lib/hooks/handlerDecorator.js +9 -0
  1450. package/mobile/lib/hooks/handlerDecorator.js.map +1 -0
  1451. package/mobile/lib/hooks/useLink.d.ts +6 -16
  1452. package/mobile/lib/hooks/useLink.js +20 -15
  1453. package/mobile/lib/hooks/useLink.js.map +1 -1
  1454. package/mobile/lib/hooks/useRouter.d.ts +13 -0
  1455. package/mobile/lib/hooks/useRouter.js +18 -0
  1456. package/mobile/lib/hooks/useRouter.js.map +1 -0
  1457. package/mobile/lib/hooks/useTableArrowScrollControl.d.ts +1 -3
  1458. package/mobile/lib/hooks/useTableArrowScrollControl.js +13 -4
  1459. package/mobile/lib/hooks/useTableArrowScrollControl.js.map +1 -1
  1460. package/mobile/lib/index.d.ts +2 -0
  1461. package/mobile/lib/index.js +2 -0
  1462. package/mobile/lib/index.js.map +1 -1
  1463. package/mobile/lib/model/BlockVersion.d.ts +1 -0
  1464. package/mobile/lib/model/BlockVersion.js +5 -0
  1465. package/mobile/lib/model/BlockVersion.js.map +1 -1
  1466. package/mobile/lib/model/BlocksRegistry.d.ts +1 -1
  1467. package/mobile/lib/model/JSXBlock.d.ts +7 -8
  1468. package/mobile/lib/react/setup-fixture.d.ts +0 -3
  1469. package/mobile/lib/react/setup-fixture.js +9 -24
  1470. package/mobile/lib/react/setup-fixture.js.map +1 -1
  1471. package/mobile/lib/services/sitemap/SitemapProps.d.ts +1 -1
  1472. package/mobile/lib/services/sitemap/findActiveSubItem.d.ts +1 -1
  1473. package/mobile/lib/services/sitemap/isHrefActive.js +1 -2
  1474. package/mobile/lib/services/sitemap/isHrefActive.js.map +1 -1
  1475. package/mobile/lib/services/sitemap/isSubItemActive.d.ts +1 -1
  1476. package/mobile/lib/services/sitemap/isTopItemActive.d.ts +1 -1
  1477. package/mobile/lib/services/sitemap/useSWRResource.d.ts +2 -0
  1478. package/mobile/lib/services/sitemap/useSWRResource.js +9 -0
  1479. package/mobile/lib/services/sitemap/useSWRResource.js.map +1 -0
  1480. package/mobile/lib/ui-kit/BlockWrapper.d.ts +2 -2
  1481. package/mobile/lib/ui-kit/BlockWrapper.js +3 -2
  1482. package/mobile/lib/ui-kit/BlockWrapper.js.map +1 -1
  1483. package/mobile/lib/ui-kit/Breadcrumb.js +6 -1
  1484. package/mobile/lib/ui-kit/Breadcrumb.js.map +1 -1
  1485. package/mobile/lib/ui-kit/Button/Button.js +10 -24
  1486. package/mobile/lib/ui-kit/Button/Button.js.map +1 -1
  1487. package/mobile/lib/ui-kit/Button/ButtonInner.js +2 -3
  1488. package/mobile/lib/ui-kit/Button/ButtonInner.js.map +1 -1
  1489. package/mobile/lib/ui-kit/Button/ButtonSection.d.ts +2 -2
  1490. package/mobile/lib/ui-kit/Button/ButtonSection.js +1 -6
  1491. package/mobile/lib/ui-kit/Button/ButtonSection.js.map +1 -1
  1492. package/mobile/lib/ui-kit/Checkbox/Checkbox.js +1 -3
  1493. package/mobile/lib/ui-kit/Checkbox/Checkbox.js.map +1 -1
  1494. package/mobile/lib/ui-kit/Checkbox/CheckboxProps.d.ts +2 -2
  1495. package/mobile/lib/ui-kit/InnerTable/InnerTable.d.ts +2 -3
  1496. package/mobile/lib/ui-kit/InnerTable/InnerTable.js +2 -2
  1497. package/mobile/lib/ui-kit/InnerTable/InnerTable.js.map +1 -1
  1498. package/mobile/lib/ui-kit/InnerTable/InnerTableBody.d.ts +1 -2
  1499. package/mobile/lib/ui-kit/InnerTable/InnerTableBody.js +2 -2
  1500. package/mobile/lib/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
  1501. package/mobile/lib/ui-kit/InnerTable/InnerTableBodyItem.d.ts +1 -2
  1502. package/mobile/lib/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
  1503. package/mobile/lib/ui-kit/InnerTable/InnerTableButton.d.ts +1 -2
  1504. package/mobile/lib/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
  1505. package/mobile/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +4 -5
  1506. package/mobile/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.js +1 -3
  1507. package/mobile/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.js.map +1 -1
  1508. package/mobile/lib/ui-kit/SearchBar/SearchBar.d.ts +2 -2
  1509. package/mobile/lib/ui-kit/SearchBar/SearchBar.js +1 -3
  1510. package/mobile/lib/ui-kit/SearchBar/SearchBar.js.map +1 -1
  1511. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js +1 -1
  1512. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  1513. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +2 -2
  1514. package/mobile/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js +2 -2
  1515. package/mobile/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js.map +1 -1
  1516. package/mobile/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.d.ts +3 -2
  1517. package/mobile/lib/ui-kit/TopItem/TopItem.js +6 -1
  1518. package/mobile/lib/ui-kit/TopItem/TopItem.js.map +1 -1
  1519. package/mobile/lib/utils/adjustHref.js +2 -10
  1520. package/mobile/lib/utils/adjustHref.js.map +1 -1
  1521. package/mobile/src/ProjectSettings.ts +4 -0
  1522. package/mobile/src/components/Accordion/Accordion.tsx +1 -2
  1523. package/mobile/src/components/BaseTile/BaseTile.tsx +13 -14
  1524. package/mobile/src/components/Blocks.ts +0 -2
  1525. package/mobile/src/components/Bonus/Bonus.tsx +4 -10
  1526. package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +2 -3
  1527. package/mobile/src/components/BusinessBlock/BusinessBlock.example.json +65 -0
  1528. package/mobile/src/components/BusinessBlock/BusinessBlock.tsx +19 -0
  1529. package/mobile/src/components/BusinessBlock/BusinessBlock.ui.json +26 -0
  1530. package/mobile/src/components/BusinessBlock/BusinessBlockContent.ts +31 -0
  1531. package/mobile/src/components/BusinessBlock/BusinessCard.tsx +41 -0
  1532. package/mobile/src/components/Calculator/BonusCalculatorForm.tsx +5 -4
  1533. package/mobile/src/components/Calculator/Calculator.tsx +2 -5
  1534. package/mobile/src/components/Calculator/CreditCalculatorForm.tsx +11 -11
  1535. package/mobile/src/components/Calculator/DepositCalculatorForm.tsx +11 -14
  1536. package/mobile/src/components/Calculator/renderButtonSection.tsx +2 -3
  1537. package/mobile/src/components/Calculator/renderCalculatorBlock.tsx +20 -23
  1538. package/mobile/src/components/CardTransfer/CardTransfer.tsx +3 -5
  1539. package/mobile/src/components/Catalog/Catalog.tsx +17 -41
  1540. package/mobile/src/components/Catalog/CatalogCard.tsx +22 -24
  1541. package/mobile/src/components/ComparisonTable/ComparisonTable.tsx +3 -5
  1542. package/mobile/src/components/ComparisonTable/ComparisonTableBody.tsx +3 -16
  1543. package/mobile/src/components/ComparisonTable/ComparisonTableColumnHeaders.tsx +10 -20
  1544. package/mobile/src/components/ComparisonTable/ComparisonTableRows.tsx +2 -2
  1545. package/mobile/src/components/ContactsBlock/ContactsBlock.tsx +1 -2
  1546. package/mobile/src/components/ContentPage/ContentPage.tsx +4 -10
  1547. package/mobile/src/components/ContentPage/renderBlock.tsx +4 -9
  1548. package/mobile/src/components/ContentPage/renderBlockList.tsx +9 -20
  1549. package/mobile/src/components/ContentPage/renderSlots.tsx +4 -5
  1550. package/mobile/src/components/ErrorBlock/ErrorBlock.tsx +14 -24
  1551. package/mobile/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +3 -12
  1552. package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.tsx +1 -4
  1553. package/mobile/src/components/Footer/Contacts.tsx +17 -28
  1554. package/mobile/src/components/Footer/Footer.fallback.ts +13 -0
  1555. package/mobile/src/components/Footer/Footer.tsx +38 -56
  1556. package/mobile/src/components/Footer/FooterContent.ts +4 -19
  1557. package/mobile/src/components/Footer/FooterDataProps.ts +13 -0
  1558. package/mobile/src/components/Footer/FooterLink.ts +2 -2
  1559. package/mobile/src/components/Footer/HorizontalNavigation.tsx +13 -25
  1560. package/mobile/src/components/Footer/HorizontalNavigationLink.tsx +16 -10
  1561. package/mobile/src/components/Footer/MediaButton.tsx +6 -1
  1562. package/mobile/src/components/Footer/Sitemap.tsx +28 -30
  1563. package/mobile/src/components/Footer/SocialMedia.tsx +9 -19
  1564. package/mobile/src/components/Footer/TextInformation.tsx +3 -12
  1565. package/mobile/src/components/Footer/TextInformationLink.tsx +16 -10
  1566. package/mobile/src/components/Footer/useFooterData.ts +13 -0
  1567. package/mobile/src/components/Gallery/Gallery.tsx +5 -10
  1568. package/mobile/src/components/Gallery/GalleryContainer.tsx +4 -21
  1569. package/mobile/src/components/Gallery/GalleryContent.ts +1 -1
  1570. package/mobile/src/components/Gallery/GalleryInner.tsx +1 -3
  1571. package/mobile/src/components/GracePeriod/GracePeriod.tsx +12 -18
  1572. package/mobile/src/components/Header/DropdownMenu.tsx +34 -39
  1573. package/mobile/src/components/Header/Header.tsx +25 -29
  1574. package/mobile/src/components/Header/HeaderBurger.tsx +2 -4
  1575. package/mobile/src/components/Header/HeaderSubMenu.tsx +3 -6
  1576. package/mobile/src/components/Header/HeaderSubMenuItem.tsx +2 -22
  1577. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +3 -17
  1578. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +2 -2
  1579. package/mobile/src/components/InvestmentGallery/InvestmentGallery.tsx +6 -21
  1580. package/mobile/src/components/InvestmentGallery/InvestmentGalleryCard.tsx +3 -9
  1581. package/mobile/src/components/InvestmentInfo/InvestmentInfo.tsx +1 -6
  1582. package/mobile/src/components/LikeControl/LikeControl.tsx +9 -13
  1583. package/mobile/src/components/LinkDocs/LinkDocs.tsx +19 -26
  1584. package/mobile/src/components/LinkDocs/LinkDocsHorizontalList.tsx +15 -22
  1585. package/mobile/src/components/LinkList/LinkList.tsx +7 -9
  1586. package/mobile/src/components/OfficeMap/OfficeMap.tsx +4 -2
  1587. package/mobile/src/components/OfficeMap/useOfficeMap.ts +4 -1
  1588. package/mobile/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +9 -16
  1589. package/mobile/src/components/OtherProducts/OtherProducts.tsx +2 -6
  1590. package/mobile/src/components/PictureText/PictureText.tsx +23 -27
  1591. package/mobile/src/components/Placeholder/Placeholder.tsx +3 -6
  1592. package/mobile/src/components/ProductBlock/ProductBlockInner.tsx +3 -12
  1593. package/mobile/src/components/ProductBlock/renderBackwardButton.tsx +3 -2
  1594. package/mobile/src/components/ProductGallery/ProductGallery.tsx +111 -12
  1595. package/mobile/src/components/ProductTile/ProductTile.tsx +24 -32
  1596. package/mobile/src/components/PromoTile/PromoTile.tsx +31 -38
  1597. package/mobile/src/components/Recommendation/Recommendation.tsx +12 -26
  1598. package/mobile/src/components/Recommendation/RecommendationCard.tsx +5 -15
  1599. package/mobile/src/components/SafeDepositRental/SafeDepositRental.tsx +3 -3
  1600. package/mobile/src/components/StepsBlock/renderStepContent.tsx +4 -10
  1601. package/mobile/src/components/Tabs/LinkTab.tsx +46 -0
  1602. package/mobile/src/components/Tabs/Tabs.tsx +7 -7
  1603. package/mobile/src/components/Tabs/TabsContent.ts +5 -5
  1604. package/mobile/src/components/Tabs/renderGroupTab.tsx +3 -3
  1605. package/mobile/src/components/Tabs/renderTab.tsx +8 -27
  1606. package/mobile/src/components/TariffsTable/TariffsTable.tsx +6 -17
  1607. package/mobile/src/components/TariffsTable/TariffsTableCell.tsx +0 -2
  1608. package/mobile/src/components/TariffsTable/TariffsTableContent.ts +1 -1
  1609. package/mobile/src/components/TariffsTable/TariffsTableHorizontal.tsx +9 -7
  1610. package/mobile/src/components/TariffsTable/TariffsTableRenderCell.tsx +0 -5
  1611. package/mobile/src/components/TariffsTable/TariffsTableRow.tsx +4 -4
  1612. package/mobile/src/components/TariffsTable/TariffsTableRowContainer.tsx +11 -15
  1613. package/mobile/src/components/TariffsTable/TariffsTableTileCell.tsx +23 -34
  1614. package/mobile/src/components/TariffsTable/TariffsTableVertical.tsx +9 -7
  1615. package/mobile/src/components/Tile/Tile.tsx +2 -5
  1616. package/mobile/src/components/VerticalLayout/VerticalLayout.example.json +17 -0
  1617. package/mobile/src/components/VerticalLayout/VerticalLayout.tsx +51 -0
  1618. package/mobile/src/components/VerticalLayout/VerticalLayout.ui.json +1 -0
  1619. package/mobile/src/components/VerticalLayout/VerticalLayoutContent.ts +19 -0
  1620. package/mobile/src/hooks/handlerDecorator.ts +16 -0
  1621. package/mobile/src/hooks/useLink.ts +26 -22
  1622. package/mobile/src/hooks/useRouter.ts +28 -0
  1623. package/mobile/src/hooks/useTableArrowScrollControl.ts +13 -7
  1624. package/mobile/src/index.ts +3 -0
  1625. package/mobile/src/model/BlockVersion.ts +6 -0
  1626. package/mobile/src/model/BlocksRegistry.ts +1 -1
  1627. package/mobile/src/model/JSXBlock.ts +5 -9
  1628. package/mobile/src/react/setup-fixture.ts +9 -29
  1629. package/mobile/src/services/sitemap/SitemapProps.ts +1 -1
  1630. package/mobile/src/services/sitemap/findActiveSubItem.ts +1 -1
  1631. package/mobile/src/services/sitemap/isHrefActive.ts +1 -5
  1632. package/mobile/src/services/sitemap/isSubItemActive.ts +1 -1
  1633. package/mobile/src/services/sitemap/isTopItemActive.ts +1 -1
  1634. package/mobile/src/services/sitemap/useSWRResource.ts +11 -0
  1635. package/mobile/src/ui-kit/BlockWrapper.tsx +6 -4
  1636. package/mobile/src/ui-kit/Breadcrumb.tsx +12 -9
  1637. package/mobile/src/ui-kit/Button/Button.tsx +40 -79
  1638. package/mobile/src/ui-kit/Button/ButtonInner.tsx +2 -3
  1639. package/mobile/src/ui-kit/Button/ButtonSection.tsx +9 -14
  1640. package/mobile/src/ui-kit/Checkbox/Checkbox.tsx +1 -3
  1641. package/mobile/src/ui-kit/Checkbox/CheckboxProps.ts +2 -2
  1642. package/mobile/src/ui-kit/InnerTable/InnerTable.tsx +6 -7
  1643. package/mobile/src/ui-kit/InnerTable/InnerTableBody.tsx +3 -4
  1644. package/mobile/src/ui-kit/InnerTable/InnerTableBodyItem.tsx +1 -2
  1645. package/mobile/src/ui-kit/InnerTable/InnerTableButton.tsx +1 -2
  1646. package/mobile/src/ui-kit/RadioButtonGroup/RadioButtonGroup.tsx +17 -20
  1647. package/mobile/src/ui-kit/SearchBar/SearchBar.tsx +4 -5
  1648. package/mobile/src/ui-kit/SwipeListControl/SwipeListControl.tsx +1 -1
  1649. package/mobile/src/ui-kit/SwipeListControl/SwipeListControlProps.ts +2 -3
  1650. package/mobile/src/ui-kit/TableArrowScrollControl/TableArrowScrollControl.tsx +2 -2
  1651. package/mobile/src/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.ts +3 -2
  1652. package/mobile/src/ui-kit/TopItem/TopItem.tsx +18 -23
  1653. package/mobile/src/utils/adjustHref.ts +2 -13
  1654. package/package.json +1 -1
  1655. package/src/ProjectSettings.ts +4 -0
  1656. package/src/components/Accordion/Accordion.fixture.mobile.tsx +5 -10
  1657. package/src/components/Accordion/Accordion.fixture.tsx +17 -39
  1658. package/src/components/Accordion/Accordion.mobile.tsx +1 -2
  1659. package/src/components/Accordion/Accordion.tsx +1 -10
  1660. package/src/components/BaseTile/BaseTile.tsx +13 -14
  1661. package/src/components/BenefitsBlock/BenefitsBlock.fixture.tsx +2 -7
  1662. package/src/components/Blocks.mobile.ts +0 -2
  1663. package/src/components/Blocks.ts +10 -6
  1664. package/src/components/Bonus/Bonus.fixture.tsx +2 -2
  1665. package/src/components/Bonus/Bonus.tsx +4 -10
  1666. package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.fixture.tsx +1 -3
  1667. package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +2 -3
  1668. package/src/components/BusinessBlock/BusinessBlock.example.json +65 -0
  1669. package/src/components/BusinessBlock/BusinessBlock.fixture.tsx +74 -0
  1670. package/src/components/BusinessBlock/BusinessBlock.tsx +19 -0
  1671. package/src/components/BusinessBlock/BusinessBlock.ui.json +26 -0
  1672. package/src/components/BusinessBlock/BusinessBlockContent.ts +31 -0
  1673. package/src/components/BusinessBlock/BusinessCard.tsx +41 -0
  1674. package/src/components/Calculator/BonusCalculatorForm.tsx +5 -4
  1675. package/src/components/Calculator/Calculator.fixture.tsx +1 -3
  1676. package/src/components/Calculator/Calculator.tsx +2 -5
  1677. package/src/components/Calculator/CreditCalculatorForm.tsx +11 -11
  1678. package/src/components/Calculator/DepositCalculatorForm.tsx +11 -14
  1679. package/src/components/Calculator/renderButtonSection.tsx +2 -3
  1680. package/src/components/Calculator/renderCalculatorBlock.tsx +20 -23
  1681. package/src/components/CardTransfer/CardTransfer.fixture.tsx +3 -3
  1682. package/src/components/CardTransfer/CardTransfer.tsx +3 -5
  1683. package/src/components/Catalog/Catalog.fixture.tsx +1 -2
  1684. package/src/components/Catalog/Catalog.tsx +17 -41
  1685. package/src/components/Catalog/CatalogCard.tsx +22 -24
  1686. package/src/components/ComparisonTable/ComparisonTable.fixture.mobile.tsx +1 -3
  1687. package/src/components/ComparisonTable/ComparisonTable.fixture.tsx +1 -6
  1688. package/src/components/ComparisonTable/ComparisonTable.mobile.tsx +3 -5
  1689. package/src/components/ComparisonTable/ComparisonTable.tsx +16 -21
  1690. package/src/components/ComparisonTable/ComparisonTableBody.tsx +3 -16
  1691. package/src/components/ComparisonTable/ComparisonTableColumnHeaders.tsx +10 -20
  1692. package/src/components/ComparisonTable/ComparisonTableRows.tsx +2 -2
  1693. package/src/components/ComparisonTable/HeaderCell.tsx +1 -1
  1694. package/src/components/ContactsBlock/ContactsBlock.fixture.tsx +3 -11
  1695. package/src/components/ContactsBlock/ContactsBlock.tsx +1 -2
  1696. package/src/components/ContentPage/ContentPage.fixture.mobile.tsx +2 -6
  1697. package/src/components/ContentPage/ContentPage.fixture.tsx +1 -3
  1698. package/src/components/ContentPage/ContentPage.tsx +4 -10
  1699. package/src/components/ContentPage/renderBlock.tsx +4 -9
  1700. package/src/components/ContentPage/renderBlockList.tsx +9 -20
  1701. package/src/components/ContentPage/renderSlots.tsx +4 -5
  1702. package/src/components/ErrorBlock/ErrorBlock.fixture.tsx +1 -3
  1703. package/src/components/ErrorBlock/ErrorBlock.tsx +14 -24
  1704. package/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +3 -12
  1705. package/src/components/ExchangeRateTile/ExchangeRateTile.fixture.tsx +3 -3
  1706. package/src/components/ExchangeRateTile/ExchangeRateTile.tsx +1 -4
  1707. package/src/components/Footer/Contacts.tsx +17 -28
  1708. package/src/components/Footer/Footer.fallback.ts +13 -0
  1709. package/src/components/Footer/Footer.fixture.mobile.tsx +2 -84
  1710. package/src/components/Footer/Footer.fixture.tsx +2 -141
  1711. package/src/components/Footer/Footer.mobile.tsx +38 -56
  1712. package/src/components/Footer/Footer.tsx +28 -43
  1713. package/src/components/Footer/FooterContent.ts +4 -19
  1714. package/src/components/Footer/FooterDataProps.ts +13 -0
  1715. package/src/components/Footer/FooterLink.ts +2 -2
  1716. package/src/components/Footer/HorizontalNavigation.mobile.tsx +13 -25
  1717. package/src/components/Footer/HorizontalNavigation.tsx +19 -26
  1718. package/src/components/Footer/HorizontalNavigationLink.tsx +16 -10
  1719. package/src/components/Footer/MediaButton.tsx +6 -1
  1720. package/src/components/Footer/Sitemap.tsx +28 -30
  1721. package/src/components/Footer/SocialMedia.mobile.tsx +9 -19
  1722. package/src/components/Footer/SocialMedia.tsx +12 -24
  1723. package/src/components/Footer/TextInformation.mobile.tsx +3 -12
  1724. package/src/components/Footer/TextInformation.tsx +15 -25
  1725. package/src/components/Footer/TextInformationLink.tsx +16 -10
  1726. package/src/components/Footer/useFooterData.ts +13 -0
  1727. package/src/components/Gallery/Gallery.fixture.mobile.tsx +2 -4
  1728. package/src/components/Gallery/Gallery.fixture.tsx +2 -6
  1729. package/src/components/Gallery/Gallery.mobile.tsx +5 -10
  1730. package/src/components/Gallery/GalleryContainer.tsx +4 -21
  1731. package/src/components/Gallery/GalleryContent.ts +1 -1
  1732. package/src/components/Gallery/GalleryInner.tsx +1 -3
  1733. package/src/components/GracePeriod/GracePeriod.fixture.tsx +2 -2
  1734. package/src/components/GracePeriod/GracePeriod.tsx +12 -18
  1735. package/src/components/Header/DropdownMenu.tsx +34 -39
  1736. package/src/components/Header/Header.fixture.mobile.tsx +3 -3
  1737. package/src/components/Header/Header.fixture.tsx +4 -4
  1738. package/src/components/Header/Header.mobile.tsx +25 -29
  1739. package/src/components/Header/Header.tsx +11 -13
  1740. package/src/components/Header/HeaderBurger.tsx +2 -4
  1741. package/src/components/Header/HeaderSubMenu.tsx +3 -6
  1742. package/src/components/Header/HeaderSubMenuItem.tsx +2 -22
  1743. package/src/components/Headline/Headline.fixture.mobile.tsx +10 -14
  1744. package/src/components/Headline/Headline.fixture.tsx +15 -15
  1745. package/src/components/Headline/Headline.tsx +1 -2
  1746. package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.fixture.tsx +1 -2
  1747. package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +3 -17
  1748. package/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +2 -2
  1749. package/src/components/InvestmentGallery/InvestmentGallery.fixture.tsx +1 -2
  1750. package/src/components/InvestmentGallery/InvestmentGallery.tsx +6 -21
  1751. package/src/components/InvestmentGallery/InvestmentGalleryCard.tsx +3 -9
  1752. package/src/components/InvestmentInfo/InvestmentInfo.fixture.tsx +2 -2
  1753. package/src/components/InvestmentInfo/InvestmentInfo.tsx +1 -6
  1754. package/src/components/LikeControl/LikeControl.fixture.tsx +2 -2
  1755. package/src/components/LikeControl/LikeControl.tsx +9 -13
  1756. package/src/components/LinkDocs/LinkDocs.fixture.mobile.tsx +4 -14
  1757. package/src/components/LinkDocs/LinkDocs.fixture.tsx +5 -20
  1758. package/src/components/LinkDocs/LinkDocs.mobile.tsx +19 -26
  1759. package/src/components/LinkDocs/LinkDocs.tsx +21 -25
  1760. package/src/components/LinkDocs/LinkDocsHorizontalList.tsx +15 -22
  1761. package/src/components/LinkList/LinkList.fixture.tsx +2 -2
  1762. package/src/components/LinkList/LinkList.tsx +7 -9
  1763. package/src/components/MiniGallery/MiniGallery.fixture.tsx +4 -8
  1764. package/src/components/MobileAppTile/MobileAppTile.fixture.mobile.tsx +1 -2
  1765. package/src/components/MobileAppTile/MobileAppTile.fixture.tsx +2 -10
  1766. package/src/components/MobileAppTile/MobileAppTile.tsx +1 -4
  1767. package/src/components/OfficeMap/OfficeMap.fixture.tsx +2 -2
  1768. package/src/components/OfficeMap/OfficeMap.tsx +4 -2
  1769. package/src/components/OfficeMap/useOfficeMap.ts +4 -1
  1770. package/src/components/OfficeServicesBlock/OfficeServicesBlock.fixture.tsx +1 -2
  1771. package/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +9 -16
  1772. package/src/components/OtherProducts/OtherProducts.fixture.tsx +20 -32
  1773. package/src/components/OtherProducts/OtherProducts.tsx +2 -6
  1774. package/src/components/PictureText/PictureText.fixture.tsx +6 -16
  1775. package/src/components/PictureText/PictureText.tsx +23 -27
  1776. package/src/components/Placeholder/Placeholder.fixture.mobile.tsx +2 -2
  1777. package/src/components/Placeholder/Placeholder.fixture.tsx +2 -2
  1778. package/src/components/Placeholder/Placeholder.tsx +3 -6
  1779. package/src/components/ProductBlock/ProductBlock.fixture.mobile.tsx +8 -27
  1780. package/src/components/ProductBlock/ProductBlock.fixture.tsx +7 -24
  1781. package/src/components/ProductBlock/ProductBlock.tsx +6 -23
  1782. package/src/components/ProductBlock/ProductBlockInner.mobile.tsx +3 -12
  1783. package/src/components/ProductBlock/ProductBlockInner.tsx +9 -11
  1784. package/src/components/ProductBlock/renderBackwardButton.tsx +3 -2
  1785. package/src/components/ProductGallery/ProductGallery.fixture.tsx +1 -3
  1786. package/src/components/ProductGallery/ProductGallery.tsx +4 -11
  1787. package/src/components/ProductTile/ProductTile.fixture.tsx +2 -8
  1788. package/src/components/ProductTile/ProductTile.tsx +24 -32
  1789. package/src/components/PromoTile/PromoTile.fixture.tsx +1 -2
  1790. package/src/components/PromoTile/PromoTile.tsx +31 -38
  1791. package/src/components/Recommendation/Recommendation.fixture.tsx +1 -3
  1792. package/src/components/Recommendation/Recommendation.tsx +12 -26
  1793. package/src/components/Recommendation/RecommendationCard.tsx +5 -15
  1794. package/src/components/SafeDepositRental/SafeDepositRental.fixture.tsx +1 -2
  1795. package/src/components/SafeDepositRental/SafeDepositRental.tsx +3 -3
  1796. package/src/components/StepsBlock/StepsBlock.fixture.mobile.tsx +1 -9
  1797. package/src/components/StepsBlock/StepsBlock.fixture.tsx +2 -3
  1798. package/src/components/StepsBlock/StepsBlock.tsx +5 -28
  1799. package/src/components/StepsBlock/renderStepContent.tsx +4 -10
  1800. package/src/components/Tabs/LinkTab.tsx +46 -0
  1801. package/src/components/Tabs/Tabs.fixture.tsx +1 -2
  1802. package/src/components/Tabs/Tabs.tsx +7 -7
  1803. package/src/components/Tabs/TabsContent.ts +5 -5
  1804. package/src/components/Tabs/renderGroupTab.tsx +3 -3
  1805. package/src/components/Tabs/renderTab.tsx +8 -27
  1806. package/src/components/TariffsTable/EmbeddableCellData.tsx +3 -5
  1807. package/src/components/TariffsTable/TariffsTable.fixture.mobile.tsx +2 -7
  1808. package/src/components/TariffsTable/TariffsTable.fixture.tsx +1 -6
  1809. package/src/components/TariffsTable/TariffsTable.mobile.tsx +6 -17
  1810. package/src/components/TariffsTable/TariffsTable.tsx +2 -8
  1811. package/src/components/TariffsTable/TariffsTableCell.tsx +0 -2
  1812. package/src/components/TariffsTable/TariffsTableContent.ts +1 -1
  1813. package/src/components/TariffsTable/TariffsTableHorizontal.tsx +9 -7
  1814. package/src/components/TariffsTable/TariffsTableRenderCell.tsx +0 -5
  1815. package/src/components/TariffsTable/TariffsTableRow.tsx +4 -4
  1816. package/src/components/TariffsTable/TariffsTableRowContainer.tsx +11 -15
  1817. package/src/components/TariffsTable/TariffsTableTileCell.tsx +23 -34
  1818. package/src/components/TariffsTable/TariffsTableVertical.tsx +9 -7
  1819. package/src/components/TextBlock/TextBlock.fixture.mobile.tsx +10 -60
  1820. package/src/components/TextBlock/TextBlock.fixture.tsx +13 -49
  1821. package/src/components/Tile/Tile.fixture.tsx +4 -7
  1822. package/src/components/Tile/Tile.tsx +2 -5
  1823. package/src/components/VerticalLayout/VerticalLayout.example.json +17 -0
  1824. package/src/components/VerticalLayout/VerticalLayout.fixture.tsx +41 -0
  1825. package/src/components/VerticalLayout/VerticalLayout.tsx +51 -0
  1826. package/src/components/VerticalLayout/VerticalLayout.ui.json +1 -0
  1827. package/src/components/VerticalLayout/VerticalLayoutContent.ts +19 -0
  1828. package/src/hooks/handlerDecorator.ts +16 -0
  1829. package/src/hooks/useLink.ts +26 -22
  1830. package/src/hooks/useRouter.ts +28 -0
  1831. package/src/hooks/useTableArrowScrollControl.ts +13 -7
  1832. package/src/icons/IconName.ts +5 -318
  1833. package/src/index.ts +3 -0
  1834. package/src/model/BlockVersion.ts +6 -0
  1835. package/src/model/BlocksRegistry.ts +1 -1
  1836. package/src/model/JSXBlock.ts +5 -9
  1837. package/src/react/setup-fixture.ts +9 -29
  1838. package/src/services/sitemap/SitemapProps.ts +1 -1
  1839. package/src/services/sitemap/findActiveSubItem.ts +1 -1
  1840. package/src/services/sitemap/isHrefActive.ts +1 -5
  1841. package/src/services/sitemap/isSubItemActive.ts +1 -1
  1842. package/src/services/sitemap/isTopItemActive.ts +1 -1
  1843. package/src/services/sitemap/useSWRResource.ts +11 -0
  1844. package/src/ui-kit/BlockWrapper.tsx +6 -4
  1845. package/src/ui-kit/Breadcrumb.tsx +12 -9
  1846. package/src/ui-kit/Button/Button.tsx +35 -80
  1847. package/src/ui-kit/Button/ButtonInner.tsx +2 -3
  1848. package/src/ui-kit/Button/ButtonSection.tsx +9 -14
  1849. package/src/ui-kit/Checkbox/Checkbox.tsx +1 -3
  1850. package/src/ui-kit/Checkbox/CheckboxProps.ts +2 -2
  1851. package/src/ui-kit/HeaderItem/HeaderItem.tsx +18 -22
  1852. package/src/ui-kit/InnerTable/InnerTable.tsx +6 -7
  1853. package/src/ui-kit/InnerTable/InnerTableBody.tsx +3 -4
  1854. package/src/ui-kit/InnerTable/InnerTableBodyItem.tsx +1 -2
  1855. package/src/ui-kit/InnerTable/InnerTableButton.tsx +1 -2
  1856. package/src/ui-kit/RadioButtonGroup/RadioButtonGroup.fixture.tsx +2 -3
  1857. package/src/ui-kit/RadioButtonGroup/RadioButtonGroup.tsx +17 -20
  1858. package/src/ui-kit/SearchBar/SearchBar.mobile.tsx +4 -5
  1859. package/src/ui-kit/SearchBar/SearchBar.tsx +2 -5
  1860. package/src/ui-kit/SwipeListControl/SwipeListControl.fixture.mobile.tsx +5 -7
  1861. package/src/ui-kit/SwipeListControl/SwipeListControl.tsx +1 -1
  1862. package/src/ui-kit/SwipeListControl/SwipeListControlProps.ts +2 -3
  1863. package/src/ui-kit/TableArrowScrollControl/TableArrowScrollControl.tsx +2 -2
  1864. package/src/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.ts +3 -2
  1865. package/src/ui-kit/TopItem/TopItem.tsx +18 -23
  1866. package/src/utils/adjustHref.ts +2 -13
  1867. package/bundle/components/Calculator/renderPaymentTypeSelector.d.ts +0 -11
  1868. package/bundle/components/ContentPage/ContentPageContext.d.ts +0 -17
  1869. package/bundle/components/ProductGallery/ProductGallery.mobile.d.ts +0 -5
  1870. package/bundle/components/ProductGallery/ProductGalleryBlock.d.ts +0 -8
  1871. package/bundle/components/Tabs/renderLinkTab.d.ts +0 -9
  1872. package/bundle/services/sitemap/useSitemap.d.ts +0 -3
  1873. package/bundle/ui-kit/Button/Button.mobile.d.ts +0 -2
  1874. package/bundle/utils/withoutMobilePath.d.ts +0 -2
  1875. package/dist/components/Calculator/renderPaymentTypeSelector.d.ts +0 -11
  1876. package/dist/components/Calculator/renderPaymentTypeSelector.js +0 -9
  1877. package/dist/components/Calculator/renderPaymentTypeSelector.js.map +0 -1
  1878. package/dist/components/ContentPage/ContentPageContext.d.ts +0 -17
  1879. package/dist/components/ContentPage/ContentPageContext.js.map +0 -1
  1880. package/dist/components/ProductGallery/ProductGallery.mobile.d.ts +0 -5
  1881. package/dist/components/ProductGallery/ProductGallery.mobile.js +0 -11
  1882. package/dist/components/ProductGallery/ProductGallery.mobile.js.map +0 -1
  1883. package/dist/components/ProductGallery/ProductGalleryBlock.d.ts +0 -8
  1884. package/dist/components/ProductGallery/ProductGalleryBlock.js +0 -11
  1885. package/dist/components/ProductGallery/ProductGalleryBlock.js.map +0 -1
  1886. package/dist/components/Tabs/renderLinkTab.d.ts +0 -9
  1887. package/dist/components/Tabs/renderLinkTab.js +0 -10
  1888. package/dist/components/Tabs/renderLinkTab.js.map +0 -1
  1889. package/dist/services/sitemap/useSitemap.d.ts +0 -3
  1890. package/dist/services/sitemap/useSitemap.js.map +0 -1
  1891. package/dist/ui-kit/Button/Button.mobile.d.ts +0 -2
  1892. package/dist/ui-kit/Button/Button.mobile.js +0 -31
  1893. package/dist/ui-kit/Button/Button.mobile.js.map +0 -1
  1894. package/dist/utils/withoutMobilePath.d.ts +0 -2
  1895. package/dist/utils/withoutMobilePath.js +0 -6
  1896. package/dist/utils/withoutMobilePath.js.map +0 -1
  1897. package/lib/components/Calculator/renderPaymentTypeSelector.d.ts +0 -11
  1898. package/lib/components/Calculator/renderPaymentTypeSelector.js +0 -6
  1899. package/lib/components/Calculator/renderPaymentTypeSelector.js.map +0 -1
  1900. package/lib/components/ContentPage/ContentPageContext.d.ts +0 -17
  1901. package/lib/components/ContentPage/ContentPageContext.js +0 -2
  1902. package/lib/components/ContentPage/ContentPageContext.js.map +0 -1
  1903. package/lib/components/ProductGallery/ProductGallery.fixture.mobile.d.ts +0 -6
  1904. package/lib/components/ProductGallery/ProductGallery.mobile.d.ts +0 -5
  1905. package/lib/components/ProductGallery/ProductGallery.mobile.js +0 -9
  1906. package/lib/components/ProductGallery/ProductGallery.mobile.js.map +0 -1
  1907. package/lib/components/ProductGallery/ProductGalleryBlock.d.ts +0 -8
  1908. package/lib/components/ProductGallery/ProductGalleryBlock.js +0 -9
  1909. package/lib/components/ProductGallery/ProductGalleryBlock.js.map +0 -1
  1910. package/lib/components/Tabs/renderLinkTab.d.ts +0 -9
  1911. package/lib/components/Tabs/renderLinkTab.js +0 -7
  1912. package/lib/components/Tabs/renderLinkTab.js.map +0 -1
  1913. package/lib/services/sitemap/useSitemap.d.ts +0 -3
  1914. package/lib/services/sitemap/useSitemap.js.map +0 -1
  1915. package/lib/ui-kit/Button/Button.mobile.d.ts +0 -2
  1916. package/lib/ui-kit/Button/Button.mobile.js +0 -29
  1917. package/lib/ui-kit/Button/Button.mobile.js.map +0 -1
  1918. package/lib/utils/withoutMobilePath.d.ts +0 -2
  1919. package/lib/utils/withoutMobilePath.js +0 -3
  1920. package/lib/utils/withoutMobilePath.js.map +0 -1
  1921. package/mobile/bundle/components/Calculator/renderPaymentTypeSelector.d.ts +0 -11
  1922. package/mobile/bundle/components/ContentPage/ContentPageContext.d.ts +0 -17
  1923. package/mobile/bundle/components/ProductGallery/ProductGalleryBlock.d.ts +0 -8
  1924. package/mobile/bundle/components/Tabs/renderLinkTab.d.ts +0 -9
  1925. package/mobile/bundle/services/sitemap/useSitemap.d.ts +0 -3
  1926. package/mobile/bundle/utils/withoutMobilePath.d.ts +0 -2
  1927. package/mobile/dist/components/Calculator/renderPaymentTypeSelector.d.ts +0 -11
  1928. package/mobile/dist/components/Calculator/renderPaymentTypeSelector.js +0 -9
  1929. package/mobile/dist/components/Calculator/renderPaymentTypeSelector.js.map +0 -1
  1930. package/mobile/dist/components/ContentPage/ContentPageContext.d.ts +0 -17
  1931. package/mobile/dist/components/ContentPage/ContentPageContext.js.map +0 -1
  1932. package/mobile/dist/components/ProductGallery/ProductGalleryBlock.d.ts +0 -8
  1933. package/mobile/dist/components/ProductGallery/ProductGalleryBlock.js +0 -11
  1934. package/mobile/dist/components/ProductGallery/ProductGalleryBlock.js.map +0 -1
  1935. package/mobile/dist/components/Tabs/renderLinkTab.d.ts +0 -9
  1936. package/mobile/dist/components/Tabs/renderLinkTab.js +0 -10
  1937. package/mobile/dist/components/Tabs/renderLinkTab.js.map +0 -1
  1938. package/mobile/dist/services/sitemap/useSitemap.d.ts +0 -3
  1939. package/mobile/dist/services/sitemap/useSitemap.js.map +0 -1
  1940. package/mobile/dist/utils/withoutMobilePath.d.ts +0 -2
  1941. package/mobile/dist/utils/withoutMobilePath.js +0 -6
  1942. package/mobile/dist/utils/withoutMobilePath.js.map +0 -1
  1943. package/mobile/lib/components/Calculator/renderPaymentTypeSelector.d.ts +0 -11
  1944. package/mobile/lib/components/Calculator/renderPaymentTypeSelector.js +0 -6
  1945. package/mobile/lib/components/Calculator/renderPaymentTypeSelector.js.map +0 -1
  1946. package/mobile/lib/components/ContentPage/ContentPageContext.d.ts +0 -17
  1947. package/mobile/lib/components/ContentPage/ContentPageContext.js +0 -2
  1948. package/mobile/lib/components/ContentPage/ContentPageContext.js.map +0 -1
  1949. package/mobile/lib/components/ProductGallery/ProductGalleryBlock.d.ts +0 -8
  1950. package/mobile/lib/components/ProductGallery/ProductGalleryBlock.js +0 -9
  1951. package/mobile/lib/components/ProductGallery/ProductGalleryBlock.js.map +0 -1
  1952. package/mobile/lib/components/Tabs/renderLinkTab.d.ts +0 -9
  1953. package/mobile/lib/components/Tabs/renderLinkTab.js +0 -7
  1954. package/mobile/lib/components/Tabs/renderLinkTab.js.map +0 -1
  1955. package/mobile/lib/services/sitemap/useSitemap.d.ts +0 -3
  1956. package/mobile/lib/services/sitemap/useSitemap.js.map +0 -1
  1957. package/mobile/lib/utils/withoutMobilePath.d.ts +0 -2
  1958. package/mobile/lib/utils/withoutMobilePath.js +0 -3
  1959. package/mobile/lib/utils/withoutMobilePath.js.map +0 -1
  1960. package/mobile/src/components/Calculator/renderPaymentTypeSelector.tsx +0 -14
  1961. package/mobile/src/components/ContentPage/ContentPageContext.tsx +0 -20
  1962. package/mobile/src/components/ProductGallery/ProductGalleryBlock.tsx +0 -28
  1963. package/mobile/src/components/Tabs/renderLinkTab.tsx +0 -42
  1964. package/mobile/src/services/sitemap/useSitemap.ts +0 -15
  1965. package/mobile/src/utils/withoutMobilePath.ts +0 -3
  1966. package/src/components/Calculator/renderPaymentTypeSelector.tsx +0 -14
  1967. package/src/components/ContentPage/ContentPageContext.tsx +0 -20
  1968. package/src/components/ProductGallery/ProductGallery.fixture.mobile.tsx +0 -234
  1969. package/src/components/ProductGallery/ProductGallery.mobile.tsx +0 -21
  1970. package/src/components/ProductGallery/ProductGalleryBlock.tsx +0 -28
  1971. package/src/components/Tabs/renderLinkTab.tsx +0 -42
  1972. package/src/services/sitemap/useSitemap.ts +0 -15
  1973. package/src/ui-kit/Button/Button.fixture.mobile.tsx +0 -16
  1974. package/src/ui-kit/Button/Button.mobile.tsx +0 -87
  1975. package/src/utils/withoutMobilePath.ts +0 -3
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=BusinessBlockContent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BusinessBlockContent.js","sourceRoot":"","sources":["../../../src/components/BusinessBlock/BusinessBlockContent.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import type { BusinessCardProps } from './BusinessBlockContent';
2
+ export declare const BusinessCard: import("@redneckz/uni-jsx").UNIComponent<BusinessCardProps, any, any>;
@@ -0,0 +1,14 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
+ import { JSX } from '@redneckz/uni-jsx';
3
+ import { renderButton } from '../../ui-kit/Button/ButtonSection.js';
4
+ import { Heading } from '../../ui-kit/Heading/Heading.js';
5
+ import { Img } from '../../ui-kit/Img/Img.js';
6
+ export const BusinessCard = JSX((props) => {
7
+ const { title, image, cardItems, button } = props;
8
+ return (_jsxs("div", { className: "border-color-stroke border p-9 w-1/2", children: [image ? (_jsxs("div", { className: "flex justify-center", children: [image?.src ? _jsx(Img, { className: "mb-5", image: image }) : null, image?.icon ? _jsx(Img, { image: image, asSVG: true }) : null] })) : null, title ? _jsx(Heading, { headingType: "h4", title: title, className: "mb-6" }) : null, cardItems?.length ? _jsx("ul", { children: cardItems.map((_, i) => renderItem(_, String(i))) }) : null, button?.text ? renderButton({ button, buttonClassName: 'mt-6' }) : null] }));
9
+ });
10
+ const renderItem = (item, key) => {
11
+ const { icon, text } = item;
12
+ return (_jsxs("li", { className: "flex items-center gap-3.5 mb-3 last:mb-0", children: [icon?.icon ? (_jsx(Img, { className: `w-12 h-12 min-w-12 p-3 rounded-full bg-main-divider`, image: icon.icon, asSVG: true })) : null, icon?.src ? _jsx(Img, { image: icon.icon }) : null, _jsx("span", { className: "text-xl-light", children: text })] }, key));
13
+ };
14
+ //# sourceMappingURL=BusinessCard.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BusinessCard.js","sourceRoot":"","sources":["../../../src/components/BusinessBlock/BusinessCard.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAC;AACjE,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAG3C,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAAoB,CAAC,KAAK,EAAE,EAAE;IAC3D,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,KAAK,CAAC;IAElD,OAAO,CACL,eAAK,SAAS,EAAC,sCAAsC,aAClD,KAAK,CAAC,CAAC,CAAC,CACP,eAAK,SAAS,EAAC,qBAAqB,aACjC,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,KAAC,GAAG,IAAC,SAAS,EAAC,MAAM,EAAC,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,EAC1D,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC,KAAC,GAAG,IAAC,KAAK,EAAE,KAAK,EAAE,KAAK,SAAG,CAAC,CAAC,CAAC,IAAI,IAC7C,CACP,CAAC,CAAC,CAAC,IAAI,EACP,KAAK,CAAC,CAAC,CAAC,KAAC,OAAO,IAAC,WAAW,EAAC,IAAI,EAAC,KAAK,EAAE,KAAK,EAAE,SAAS,EAAC,MAAM,GAAG,CAAC,CAAC,CAAC,IAAI,EAC1E,SAAS,EAAE,MAAM,CAAC,CAAC,CAAC,uBAAK,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,GAAM,CAAC,CAAC,CAAC,IAAI,EACvF,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC,YAAY,CAAC,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,IACpE,CACP,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,UAAU,GAAG,CAAC,IAA2B,EAAE,GAAW,EAAE,EAAE;IAC9D,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC;IAE5B,OAAO,CACL,cAAc,SAAS,EAAC,0CAA0C,aAC/D,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CACZ,KAAC,GAAG,IACF,SAAS,EAAE,qDAAqD,EAChE,KAAK,EAAE,IAAI,CAAC,IAAI,EAChB,KAAK,SACL,CACH,CAAC,CAAC,CAAC,IAAI,EACP,IAAI,EAAE,GAAG,CAAC,CAAC,CAAC,KAAC,GAAG,IAAC,KAAK,EAAE,IAAI,CAAC,IAAI,GAAI,CAAC,CAAC,CAAC,IAAI,EAC7C,eAAM,SAAS,EAAC,eAAe,YAAE,IAAI,GAAQ,KATtC,GAAG,CAUP,CACN,CAAC;AACJ,CAAC,CAAC"}
@@ -1,5 +1,5 @@
1
- import type { UniBlockProps } from '../../model/JSXBlock';
2
1
  import { CommonCalculatorProps } from './CalculatorContent';
3
- export interface BonusCalculatorProps extends CommonCalculatorProps, UniBlockProps {
2
+ export interface BonusCalculatorProps extends CommonCalculatorProps {
3
+ className?: string;
4
4
  }
5
5
  export declare const BonusCalculatorForm: import("@redneckz/uni-jsx").UNIComponent<BonusCalculatorProps, any, any>;
@@ -8,7 +8,7 @@ import { renderButtonSection } from './renderButtonSection.js';
8
8
  import { renderFootnote } from './renderFootnote.js';
9
9
  import { renderWantedSumInput } from './renderWantedSumInput.js';
10
10
  import { useBonusCalculatorParams } from './useBonusCalculatorParams.js';
11
- export const BonusCalculatorForm = JSX(({ context, className = '', sourceBookDir = '', buttons, footnote }) => {
11
+ export const BonusCalculatorForm = JSX(({ className = '', sourceBookDir = '', buttons, footnote }) => {
12
12
  const [travelExpenseValue, setTravelExpenseValue] = useState(DEFAULT_TRAVEL_MIN_SUM);
13
13
  const [restExpenseValue, setRestExpenseValue] = useState(DEFAULT_REST_MIN_SUM);
14
14
  const userInputParams = {
@@ -29,6 +29,6 @@ export const BonusCalculatorForm = JSX(({ context, className = '', sourceBookDir
29
29
  moneyValue: restExpenseValue,
30
30
  step: 500,
31
31
  isShowItems: false,
32
- }, setRestExpenseValue)] }), _jsx("div", { children: monthBonus >= 0 ? (_jsx(Rate, { title: "\u0411\u0430\u043B\u043B\u043E\u0432 \u0437\u0430 \u043C\u0435\u0441\u044F\u0446", rate: monthBonus, rateBlockClassName: "tracking-[-14px]" })) : null }), _jsxs("div", { className: "w-full max-w-[350px]", children: [yearBonus >= 0 ? _jsx(CalculatorValueBlock, { title: "\u0411\u0430\u043B\u043B\u043E\u0432 \u0437\u0430 \u0433\u043E\u0434", value: yearBonus }) : null, renderButtonSection(context, buttons), renderFootnote(footnote)] })] }));
32
+ }, setRestExpenseValue)] }), _jsx("div", { children: monthBonus >= 0 ? (_jsx(Rate, { title: "\u0411\u0430\u043B\u043B\u043E\u0432 \u0437\u0430 \u043C\u0435\u0441\u044F\u0446", rate: monthBonus, rateBlockClassName: "tracking-[-14px]" })) : null }), _jsxs("div", { className: "w-full max-w-[350px]", children: [yearBonus >= 0 ? _jsx(CalculatorValueBlock, { title: "\u0411\u0430\u043B\u043B\u043E\u0432 \u0437\u0430 \u0433\u043E\u0434", value: yearBonus }) : null, renderButtonSection(buttons), renderFootnote(footnote)] })] }));
33
33
  });
34
34
  //# sourceMappingURL=BonusCalculatorForm.js.map
@@ -1 +1 @@
1
- {"version":3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EAAE,YAAY;wBACpB,MAAM,EAAE,YAAY;wBACpB,UAAU,EAAE,kBAAkB;wBAC9B,IAAI,EAAE,GAAG;wBACT,WAAW,EAAE,KAAK;qBACnB,EACD,qBAAqB,CACtB,EACA,oBAAoB,CACnB,yCAAyC,EACzC;wBACE,SAAS,EAAE,MAAM;wBACjB,MAAM,EAAE,WAAW;wBACnB,MAAM,EAAE,WAAW;wBACnB,UAAU,EAAE,gBAAgB;wBAC5B,IAAI,EAAE,GAAG;wBACT,WAAW,EAAE,KAAK;qBACnB,EACD,mBAAmB,CACpB,IACG,EACN,wBACG,UAAU,IAAI,CAAC,CAAC,CAAC,CAAC,CACjB,KAAC,IAAI,IAAC,KAAK,EAAC,kFAAiB,EAAC,IAAI,EAAE,UAAU,EAAE,kBAAkB,EAAC,kBAAkB,GAAG,CACzF,CAAC,CAAC,CAAC,IAAI,GACJ,EACN,eAAK,SAAS,EAAC,sBAAsB,aAClC,SAAS,IAAI,CAAC,CAAC,CAAC,CAAC,KAAC,oBAAoB,IAAC,KAAK,EAAC,sEAAe,EAAC,KAAK,EAAE,SAAS,GAAI,CAAC,CAAC,CAAC,IAAI,EACxF,mBAAmB,CAAC,OAAO,EAAE,OAAO,CAAC,EACrC,cAAc,CAAC,QAAQ,CAAC,IACrB,IACE,CACX,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"BonusCalculatorForm.js","sourceRoot":"","sources":["../../../src/components/Calculator/BonusCalculatorForm.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAEvD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,oBAAoB,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAC3E,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,mBAAmB,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CAAC,CAAC,CACjB,KAAC,IAAI,IAAC,KAAK,EAAC,kFAAiB,EAAC,IAAI,EAAE,UAAU,EAAE,kBAAkB,EAAC,kBAAkB,GAAG,CACzF,CAAC,CAAC,CAAC,IAAI,GACJ,EACN,eAAK,SAAS,EAAC,sBAAsB,aAClC,SAAS,IAAI,CAAC,CAAC,CAAC,CAAC,KAAC,oBAAoB,IAAC,KAAK,EAAC,sEAAe,EAAC,KAAK,EAAE,SAAS,GAAI,CAAC,CAAC,CAAC,IAAI,EACxF,mBAAmB,CAAC,OAAO,CAAC,EAC5B,cAAc,CAAC,QAAQ,CAAC,IACrB,IACE,CACX,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -5,7 +5,7 @@ import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
5
5
  import { renderArrows } from '../../ui-kit/Button/renderArrows.js';
6
6
  import { Img } from '../../ui-kit/Img/Img.js';
7
7
  import { renderCalculatorBlock } from './renderCalculatorBlock.js';
8
- export const Calculator = JSX(({ className = '', context, calculatorTabs = [], ...rest }) => {
8
+ export const Calculator = JSX(({ className = '', calculatorTabs = [], ...rest }) => {
9
9
  const tabsNav = calculatorTabs.map((_) => _.nav || {});
10
10
  const calculatorBlocks = calculatorTabs.map(({ calculatorBlock }) => calculatorBlock || {});
11
11
  const [activeSlideIndex, setActiveSlideIndex] = useState(0);
@@ -15,16 +15,14 @@ export const Calculator = JSX(({ className = '', context, calculatorTabs = [], .
15
15
  const isGalleryScrollAvailable = calculatorTabs?.length > 3;
16
16
  const showNextButton = isGalleryScrollAvailable && calculatorTabs?.length > tabsShift + 3;
17
17
  const showPrevButton = tabsShift > 0;
18
- return (_jsxs(BlockWrapper, { context: context, className: `box-border overflow-hidden relative font-sans w-100 text-primary-text bg-white ${className}`, ...rest, children: [_jsxs("div", { className: "bg-white", children: [tabsNav.length > 1
18
+ return (_jsxs(BlockWrapper, { className: `box-border overflow-hidden relative font-sans w-100 text-primary-text bg-white ${className}`, ...rest, children: [_jsxs("div", { className: "bg-white", children: [tabsNav.length > 1
19
19
  ? renderTabs({ tabsShift, tabsNav, activeSlideIndex, setActiveSlideIndex })
20
20
  : null, renderArrows({
21
21
  handler: [handlePrevClick, handleNextClick],
22
22
  isShown: [showPrevButton, showNextButton],
23
23
  btnClass: ['left-3', 'right-3'],
24
24
  className: 'top-8',
25
- })] }), _jsx("div", { className: "flex", style: { transform: `translateX(-${activeSlideIndex}00%)` }, role: "list", children: calculatorBlocks?.length
26
- ? calculatorBlocks.map(renderCalculatorBlock({ context, className }))
27
- : null })] }));
25
+ })] }), _jsx("div", { className: "flex", style: { transform: `translateX(-${activeSlideIndex}00%)` }, role: "list", children: calculatorBlocks?.length ? calculatorBlocks.map(renderCalculatorBlock) : null })] }));
28
26
  });
29
27
  function renderNavButton({ tab, i, activeSlideIndex, onClick }) {
30
28
  const isActiveBtn = i === activeSlideIndex;
@@ -1 +1 @@
1
- {"version":3,"file":"Calculator.js","sourceRoot":"","sources":["../../../src/components/Calculator/Calculator.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAEvD,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAChE,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAE3C,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAkBhE,MAAM,CAAC,MAAM,UAAU,GAAG,GAAG,CAC3B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,OAAO,EAAE,cAAc,GAAG,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IAC5D,MAAM,OAAO,GAAG,cAAc,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,GAAG,IAAK,EAAoB,CAAC,CAAC;IAC1E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EAAE,IAAI;oBACZ,WAAW,EAAE,WAAW,IAAI,eAAe;iBAC5C,EACD,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,KAAK,SACL,EACF,eAAK,SAAS,EAAC,UAAU,aACvB,cAAK,SAAS,EAAE,GAAG,iBAAiB,EAAE,YAAG,GAAG,EAAE,KAAK,GAAO,EAC1D,cAAK,SAAS,EAAE,GAAG,gBAAgB,EAAE,YAAG,GAAG,CAAC,WAAW,GAAO,IAC1D,KAnBD,MAAM,CAAC,CAAC,CAAC,CAoBP,CACV,CAAC;AACJ,CAAC;AAED,SAAS,UAAU,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,gBAAgB,EAAE,mBAAmB,EAAa;IAC1F,OAAO,CACL,0BACE,cACE,KAAK,EAAE,EAAE,SAAS,EAAE,eAAe,SAAS,GAAG,GAAG,KAAK,EAAE,EACzD,SAAS,EAAC,gFAAgF,YAE1F,cAAK,SAAS,EAAC,yCAAyC,YACrD,OAAO,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,CACtB,eAAe,CAAC;wBACd,GAAG;wBACH,CAAC;wBACD,gBAAgB;wBAChB,OAAO,EAAE,GAAG,EAAE,CAAC,mBAAmB,CAAC,CAAC,CAAC;qBACtC,CAAC,CACH,GACG,GACF,EACN,cAAK,SAAS,EAAC,4BAA4B,GAAG,IAC1C,CACP,CAAC;AACJ,CAAC"}
@@ -1,7 +1,7 @@
1
- import type { UniBlockProps } from '../../model/JSXBlock';
2
1
  import { CommonCalculatorProps } from './CalculatorContent';
3
2
  export declare const ANNUITY = "annuity";
4
3
  export declare const DIFFERENTIAL = "differential";
5
- export interface CreditCalculatorProp extends CommonCalculatorProps, UniBlockProps {
4
+ export interface CreditCalculatorProp extends CommonCalculatorProps {
5
+ className?: string;
6
6
  }
7
7
  export declare const CreditCalculatorForm: import("@redneckz/uni-jsx").UNIComponent<CreditCalculatorProp, any, any>;
@@ -2,13 +2,13 @@ import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
3
  import { useState } from '@redneckz/uni-jsx/lib/hooks';
4
4
  import { Checkbox } from '../../ui-kit/Checkbox/Checkbox.js';
5
+ import { RadioButtonGroup } from '../../ui-kit/RadioButtonGroup/RadioButtonGroup.js';
5
6
  import { CalculatorValueBlock } from './CalculatorValueBlock.js';
6
7
  import { DEFAULT_MONTHS, DEFAULT_SUM } from './constants.js';
7
8
  import { Rate } from './Rate.js';
8
9
  import { renderButtonSection } from './renderButtonSection.js';
9
10
  import { renderFootnote } from './renderFootnote.js';
10
11
  import { renderMonthsInput } from './renderMonthsInput.js';
11
- import { renderPaymentTypeSelector } from './renderPaymentTypeSelector.js';
12
12
  import { renderWantedSumInput } from './renderWantedSumInput.js';
13
13
  import { useCreditCalculatorParams } from './useCreditCalculatorParams.js';
14
14
  export const ANNUITY = 'annuity';
@@ -23,7 +23,7 @@ const paymentTypeItems = [
23
23
  text: 'Дифференцированный',
24
24
  },
25
25
  ];
26
- export const CreditCalculatorForm = JSX(({ context, className = '', sourceBookDir, buttons, footnote }) => {
26
+ export const CreditCalculatorForm = JSX(({ className = '', sourceBookDir, buttons, footnote }) => {
27
27
  const [isAnnuity, toggleIsAnnuity] = useState(false);
28
28
  const [isInsurance, toggleIsInsurance] = useState(true);
29
29
  const [isSalaryClient, toggleIsSalaryClient] = useState(false);
@@ -39,11 +39,6 @@ export const CreditCalculatorForm = JSX(({ context, className = '', sourceBookDi
39
39
  monthsValue,
40
40
  };
41
41
  const calculatorParams = useCreditCalculatorParams(userInputParams, sourceBookDir);
42
- return (_jsxs("section", { className: className, children: [_jsxs("div", { className: "w-[468px]", children: [renderWantedSumInput('Сумма кредита, ₽', { ...calculatorParams, step: 500 }, setMoneyValue), renderMonthsInput('Срок кредита, месяцев', calculatorParams, setMonthsValue), _jsxs("div", { className: "mt-7", children: [_jsx(Checkbox, { text: "\u041F\u043E\u043B\u0443\u0447\u0430\u044E \u0437\u0430\u0440\u043F\u043B\u0430\u0442\u0443 \u043D\u0430 \u0441\u0447\u0451\u0442 \u0432 \u0420\u043E\u0441\u0441\u0435\u043B\u044C\u0445\u043E\u0437\u0431\u0430\u043D\u043A\u0435", checked: isSalaryClient, onChange: toggleIsSalaryClient }), _jsx(Checkbox, { className: "mt-3", text: "\u0420\u0430\u0431\u043E\u0442\u0430\u044E \u0432 \u0431\u044E\u0434\u0436\u0435\u0442\u043D\u043E\u0439 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", checked: isStateEmployee, onChange: toggleIsStateEmployee }), _jsx(Checkbox, { className: "mt-3", text: "\u041A\u043E\u043C\u043F\u043B\u0435\u043A\u0441\u043D\u0430\u044F \u0441\u0442\u0440\u0430\u0445\u043E\u0432\u0430\u044F \u0437\u0430\u0449\u0438\u0442\u0430", checked: isInsurance, onChange: toggleIsInsurance })] })] }), _jsx(Rate, { title: "\u0421\u0442\u0430\u0432\u043A\u0430", rate: calculatorParams.finalRate, rateBlockClassName: "tracking-[-25px]", unit: "%" }), _jsxs("div", { className: "w-full max-w-[350px]", children: [_jsx(CalculatorValueBlock, { title: isAnnuity ? 'Ежемесячный платеж' : 'Платёж в первый месяц', value: calculatorParams.monthlyPayment, postfix: "\u20BD" }), renderPaymentTypeSelector({
43
- context,
44
- items: paymentTypeItems,
45
- checkedItem: isAnnuity ? ANNUITY : DIFFERENTIAL,
46
- onChange: (text) => toggleIsAnnuity(text === ANNUITY),
47
- }), renderButtonSection(context, buttons), renderFootnote(footnote)] })] }));
42
+ return (_jsxs("section", { className: className, children: [_jsxs("div", { className: "w-[468px]", children: [renderWantedSumInput('Сумма кредита, ₽', { ...calculatorParams, step: 500 }, setMoneyValue), renderMonthsInput('Срок кредита, месяцев', calculatorParams, setMonthsValue), _jsxs("div", { className: "mt-7", children: [_jsx(Checkbox, { text: "\u041F\u043E\u043B\u0443\u0447\u0430\u044E \u0437\u0430\u0440\u043F\u043B\u0430\u0442\u0443 \u043D\u0430 \u0441\u0447\u0451\u0442 \u0432 \u0420\u043E\u0441\u0441\u0435\u043B\u044C\u0445\u043E\u0437\u0431\u0430\u043D\u043A\u0435", checked: isSalaryClient, onChange: toggleIsSalaryClient }), _jsx(Checkbox, { className: "mt-3", text: "\u0420\u0430\u0431\u043E\u0442\u0430\u044E \u0432 \u0431\u044E\u0434\u0436\u0435\u0442\u043D\u043E\u0439 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", checked: isStateEmployee, onChange: toggleIsStateEmployee }), _jsx(Checkbox, { className: "mt-3", text: "\u041A\u043E\u043C\u043F\u043B\u0435\u043A\u0441\u043D\u0430\u044F \u0441\u0442\u0440\u0430\u0445\u043E\u0432\u0430\u044F \u0437\u0430\u0449\u0438\u0442\u0430", checked: isInsurance, onChange: toggleIsInsurance })] })] }), _jsx(Rate, { title: "\u0421\u0442\u0430\u0432\u043A\u0430", rate: calculatorParams.finalRate, rateBlockClassName: "tracking-[-25px]", unit: "%" }), _jsxs("div", { className: "w-full max-w-[350px]", children: [_jsx(CalculatorValueBlock, { title: isAnnuity ? 'Ежемесячный платеж' : 'Платёж в первый месяц', value: calculatorParams.monthlyPayment, postfix: "\u20BD" }), _jsx(RadioButtonGroup, { items: paymentTypeItems, checkedItem: isAnnuity ? ANNUITY : DIFFERENTIAL, onChange: (text) => toggleIsAnnuity(text === ANNUITY) }), renderButtonSection(buttons), renderFootnote(footnote)] })] }));
48
43
  });
49
44
  //# sourceMappingURL=CreditCalculatorForm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CreditCalculatorForm.js","sourceRoot":"","sources":["../../../src/components/Calculator/CreditCalculatorForm.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAEvD,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,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ACnB,KAAC,QAAQ,IACP,IAAI,EAAC,qOAA4C,EACjD,OAAO,EAAE,cAAc,EACvB,QAAQ,EAAE,oBAAoB,GAC9B,EACF,KAAC,QAAQ,IACP,SAAS,EAAC,MAAM,EAChB,IAAI,EAAC,6KAAiC,EACtC,OAAO,EAAE,eAAe,EACxB,QAAQ,EAAE,qBAAqB,GAC/B,EACF,KAAC,QAAQ,IACP,SAAS,EAAC,MAAM,EAChB,IAAI,EAAC,gKAA8B,EACnC,OAAO,EAAE,WAAW,EACpB,QAAQ,EAAE,iBAAiB,GAC3B,IACE,IACF,EACN,KAAC,IAAI,IACH,KAAK,EAAC,sCAAQ,EACd,IAAI,EAAE,gBAAgB,CAAC,SAAS,EAChC,kBAAkB,EAAC,kBAAkB,EACrC,IAAI,EAAC,GAAG,GACR,EACF,eAAK,SAAS,EAAC,sBAAsB,aACnC,KAAC,oBAAoB,IACnB,KAAK,EAAE,SAAS,CAAC,CAAC,CAAC,oBAAoB,CAAC,CAAC,CAAC,uBAAuB,EACjE,KAAK,EAAE,gBAAgB,CAAC,cAAc,EACtC,OAAO,EAAC,QAAG,GACX,EACF,KAAC,gBAAgB,IACf,KAAK,EAAE,gBAAgB,EACvB,WAAW,EAAE,SAAS,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,YAAY,EAC/C,QAAQ,EAAE,CAAC,IAAY,EAAE,EAAE,CAAC,eAAe,CAAC,IAAI,KAAK,OAAO,CAAC,GAC7D,EACD,mBAAmB,CAAC,OAAO,CAAC,EAC5B,cAAc,CAAC,QAAQ,CAAC,IACrB,IACE,CACX,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1,5 +1,5 @@
1
- import type { UniBlockProps } from '../../model/JSXBlock';
2
1
  import { CommonCalculatorProps, DepositCalculatorParams } from './CalculatorContent';
3
- export interface DepositCalculatorProp extends DepositCalculatorParams, CommonCalculatorProps, UniBlockProps {
2
+ export interface DepositCalculatorProp extends DepositCalculatorParams, CommonCalculatorProps {
3
+ className?: string;
4
4
  }
5
5
  export declare const DepositCalculatorForm: import("@redneckz/uni-jsx").UNIComponent<DepositCalculatorProp, any, any>;
@@ -2,13 +2,13 @@ import { jsxs as _jsxs, jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  // TEMP
3
3
  import { JSX } from '@redneckz/uni-jsx';
4
4
  import { useState } from '@redneckz/uni-jsx/lib/hooks';
5
+ import { RadioButtonGroup } from '../../ui-kit/RadioButtonGroup/RadioButtonGroup.js';
5
6
  import { CalculatorValueBlock } from './CalculatorValueBlock.js';
6
7
  import { DEFAULT_MAX_MONTHS, DEFAULT_MAX_SUM, DEFAULT_MIN_MONTHS, DEFAULT_MIN_SUM, DEFAULT_MONTHS, DEFAULT_SUM, } from './constants.js';
7
8
  import { Rate } from './Rate.js';
8
9
  import { renderButtonSection } from './renderButtonSection.js';
9
10
  import { renderFootnote } from './renderFootnote.js';
10
11
  import { renderMonthsInput } from './renderMonthsInput.js';
11
- import { renderPaymentTypeSelector } from './renderPaymentTypeSelector.js';
12
12
  import { renderWantedSumInput } from './renderWantedSumInput.js';
13
13
  const EVERY_MONTH = 'everyMonth';
14
14
  const AT_END_TERM = 'atEndTerm';
@@ -22,7 +22,7 @@ const depositTypeItems = [
22
22
  text: 'В конце срока',
23
23
  },
24
24
  ];
25
- export const DepositCalculatorForm = JSX(({ context, className = '', rate, buttons, footnote }) => {
25
+ export const DepositCalculatorForm = JSX(({ className = '', rate, buttons, footnote }) => {
26
26
  const [moneyValue, setMoneyValue] = useState(DEFAULT_SUM);
27
27
  const [monthsValue, setMonthsValue] = useState(DEFAULT_MONTHS);
28
28
  const [isEveryMonth, toggleIsEveryMonth] = useState(false);
@@ -36,11 +36,6 @@ export const DepositCalculatorForm = JSX(({ context, className = '', rate, butto
36
36
  minMonths: DEFAULT_MIN_MONTHS,
37
37
  maxMonths: DEFAULT_MAX_MONTHS,
38
38
  monthsValue,
39
- }, setMonthsValue)] }), _jsx(Rate, { rate: rate || 1, rateBlockClassName: "tracking-[-25px]", unit: "%" }), _jsxs("div", { className: "w-full max-w-[350px]", children: [income ? (_jsx(CalculatorValueBlock, { title: "\u0414\u043E\u0445\u043E\u0434 \u043F\u043E \u0432\u043A\u043B\u0430\u0434\u0443", value: income, postfix: "\u20BD", prefix: "+" })) : null, finallySum ? (_jsx(CalculatorValueBlock, { title: "\u0421\u0443\u043C\u043C\u0430 \u0432 \u043A\u043E\u043D\u0446\u0435 \u0441\u0440\u043E\u043A\u0430", value: finallySum, postfix: "\u20BD" })) : null, renderPaymentTypeSelector({
40
- context,
41
- items: depositTypeItems,
42
- checkedItem: isEveryMonth ? EVERY_MONTH : AT_END_TERM,
43
- onChange: (text) => toggleIsEveryMonth(text === EVERY_MONTH),
44
- }), renderButtonSection(context, buttons), renderFootnote(footnote)] })] }));
39
+ }, setMonthsValue)] }), _jsx(Rate, { rate: rate || 1, rateBlockClassName: "tracking-[-25px]", unit: "%" }), _jsxs("div", { className: "w-full max-w-[350px]", children: [income ? (_jsx(CalculatorValueBlock, { title: "\u0414\u043E\u0445\u043E\u0434 \u043F\u043E \u0432\u043A\u043B\u0430\u0434\u0443", value: income, postfix: "\u20BD", prefix: "+" })) : null, finallySum ? (_jsx(CalculatorValueBlock, { title: "\u0421\u0443\u043C\u043C\u0430 \u0432 \u043A\u043E\u043D\u0446\u0435 \u0441\u0440\u043E\u043A\u0430", value: finallySum, postfix: "\u20BD" })) : null, _jsx(RadioButtonGroup, { items: depositTypeItems, checkedItem: isEveryMonth ? EVERY_MONTH : AT_END_TERM, onChange: (text) => toggleIsEveryMonth(text === EVERY_MONTH) }), renderButtonSection(buttons), renderFootnote(footnote)] })] }));
45
40
  });
46
41
  //# sourceMappingURL=DepositCalculatorForm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DepositCalculatorForm.js","sourceRoot":"","sources":["../../../src/components/Calculator/DepositCalculatorForm.tsx"],"names":[],"mappings":";AAAA,OAAO;AAEP,OAAO,EAAE,GAAG,EAAE,MAAM,m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/// <reference types="react" />
2
2
  import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
3
- import type { ContentPageContext } from '../ContentPage/ContentPageContext';
4
- export declare function renderButtonSection(context: ContentPageContext, buttons?: ButtonWithIconProps[]): JSX.Element | null;
3
+ export declare function renderButtonSection(buttons?: ButtonWithIconProps[]): JSX.Element | null;
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { ButtonSection } from '../../ui-kit/Button/ButtonSection.js';
3
- export function renderButtonSection(context, buttons) {
4
- return buttons?.length ? (_jsx(ButtonSection, { context: context, buttons: buttons, className: "flex flex-col mt-7 gap-2" })) : null;
3
+ export function renderButtonSection(buttons) {
4
+ return buttons?.length ? (_jsx(ButtonSection, { buttons: buttons, className: "flex flex-col mt-7 gap-2" })) : null;
5
5
  }
6
6
  //# sourceMappingURL=renderButtonSection.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"renderButtonSection.js","sourceRoot":"","sources":["../../../src/components/Calculator/renderButtonSection.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAGlE,MAAM,UAAU,mBAAmB,CAAC,OAA2B,EAAE,OAA+B;IAC9F,OAAO,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC,CACvB,KAAC,aAAa,IAAC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,SAAS,EAAC,0BAA0B,GAAG,CAC3F,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC"}
1
+ {"version":3,"file":"renderButtonSection.js","sourceRoot":"","sources":["../../../src/components/Calculator/renderButtonSection.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAElE,MAAM,UAAU,mBAAmB,CAAC,OAA+B;IACjE,OAAO,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC,CACvB,KAAC,aAAa,IAAC,OAAO,EAAE,OAAO,EAAE,SAAS,EAAC,0BAA0B,GAAG,CACzE,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC"}
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
2
  import type { CalculatorBlockDef } from './CalculatorContent';
3
- export declare const renderCalculatorBlock: ({ context, className }: any) => (block: CalculatorBlockDef, i: number) => JSX.Element | null;
3
+ export declare const renderCalculatorBlock: (block: CalculatorBlockDef, i: number) => JSX.Element | null;
@@ -1,12 +1,12 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { Heading } from '../../ui-kit/Heading/Heading.js';
3
3
  import { EmbeddableCalcBlocks } from './EmbeddableCalcBlocks.js';
4
- export const renderCalculatorBlock = ({ context, className }) => (block, i) => {
4
+ export const renderCalculatorBlock = (block, i) => {
5
5
  const type = block?.calcType;
6
6
  if (!type || !(type in EmbeddableCalcBlocks)) {
7
7
  return null;
8
8
  }
9
9
  const EmbeddedBlock = EmbeddableCalcBlocks[type];
10
- return (_jsx("section", { className: `box-border relative bg-white flex shrink-0 self-start basis-full ${className}`, role: "listitem", children: _jsxs("div", { className: "box-border p-9 w-full", children: [block?.title ? _jsx(Heading, { className: "text-center mb-6", title: block.title }) : null, _jsx(EmbeddedBlock, { context: context, ...block, className: "flex justify-between" })] }) }, String(i)));
10
+ return (_jsx("section", { className: "box-border relative bg-white flex shrink-0 self-start basis-full", role: "listitem", children: _jsxs("div", { className: "box-border p-9 w-full", children: [block?.title ? _jsx(Heading, { className: "text-center mb-6", title: block.title }) : null, _jsx(EmbeddedBlock, { ...block, className: "flex justify-between" })] }) }, String(i)));
11
11
  };
12
12
  //# sourceMappingURL=renderCalculatorBlock.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"renderCalculatorBlock.js","sourceRoot":"","sources":["../../../src/components/Calculator/renderCalculatorBlock.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;A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AAO,IAAI,CAAC;KACb;IACD,MAAM,aAAa,GAAG,oBAAoB,CAAC,IAAI,CAAC,CAAC;IAEjD,OAAO,CACL,kBAEE,SAAS,EAAC,kEAAkE,EAC5E,IAAI,EAAC,UAAU,YAEf,eAAK,SAAS,EAAC,uBAAuB,aACnC,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,KAAC,OAAO,IAAC,SAAS,EAAC,kBAAkB,EAAC,KAAK,EAAE,KAAK,CAAC,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,EACnF,KAAC,aAAa,OAAK,KAAK,EAAE,SAAS,EAAC,sBAAsB,GAAG,IACzD,IAPD,MAAM,CAAC,CAAC,CAAC,CAQN,CACX,CAAC;AACJ,CAAC,CAAC"}
@@ -13,14 +13,13 @@ const FORM_URL = 'https://www.rshb.ru/p2p/';
13
13
  const DEFAULT_TITLE = 'Укажите сумму перевода';
14
14
  const DEFAULT_LABEL = 'Сумма перевода';
15
15
  const DEFAULT_PLACEHOLDER = '1500';
16
- export const CardTransfer = JSX(({ className = '', title = DEFAULT_TITLE, label = DEFAULT_LABEL, placeholder = DEFAULT_PLACEHOLDER, button, context, ...rest }) => {
17
- const router = context.useRouter();
18
- const { handlerDecorator } = context;
16
+ export const CardTransfer = JSX(({ className = '', title = DEFAULT_TITLE, label = DEFAULT_LABEL, placeholder = DEFAULT_PLACEHOLDER, button, ...rest }) => {
19
17
  const [value, setValue] = useState('');
20
18
  const isDisabled = !Number(getSanitizedValue(value));
21
19
  const buttonStyle = isDisabled
22
20
  ? getDisabledButtonClasses({ version: button?.version })
23
21
  : getRegularButtonClasses({ className: 'text-white', version: button?.version });
24
- return (_jsxs(BlockWrapper, { className: `p-[50px] flex flex-col items-center font-sans bg-white ${className}`, context: context, ...rest, children: [title ? _jsx(Heading, { className: "max-w-[684px] pb-9", headingType: "h2", title: title }) : null, _jsxs("form", { className: "w-[468px]", method: "POST", action: FORM_URL, children: [_jsx(CurrencyInput, { name: AMOUNT_KEY, value: value, onChange: setValue, valid: value === '' || !isDisabled, placeholder: placeholder, label: label }), button?.text ? (_jsx("button", { type: "submit", className: `w-full p-4 mt-6 ${buttonStyle} `, disabled: isDisabled, ...useLink({ router, handlerDecorator }, button), children: button.text })) : null] })] }));
22
+ const link = useLink();
23
+ return (_jsxs(BlockWrapper, { className: `p-[50px] flex flex-col items-center font-sans bg-white ${className}`, ...rest, children: [title ? _jsx(Heading, { className: "max-w-[684px] pb-9", headingType: "h2", title: title }) : null, _jsxs("form", { className: "w-[468px]", method: "POST", action: FORM_URL, children: [_jsx(CurrencyInput, { name: AMOUNT_KEY, value: value, onChange: setValue, valid: value === '' || !isDisabled, placeholder: placeholder, label: label }), button?.text ? (_jsx("button", { type: "submit", className: `w-full p-4 mt-6 ${buttonStyle} `, disabled: isDisabled, ...link(button), children: button.text })) : null] })] }));
25
24
  });
26
25
  //# sourceMappingURL=CardTransfer.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CardTransfer.js","sourceRoot":"","sources":["../../../src/components/CardTransfer/CardTransfer.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE9C,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,wBAAwB,EAAE,MAAM,8CAA8C,CAAC;AACxF,OAAO,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AACtF,OAAO,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AACzE,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAGlE,MAAM,UAAU,GAAG,QAAQ,CAAC;AAC5B,MAAM,QAAQ,GAAG,0BAA0B,CAAC;AAC5C,MAAM,aAAa,GAAG,wBA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I,GACL,CACV,CAAC,CAAC,CAAC,IAAI,IACH,IACM,CAChB,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
- import { useState } from '@redneckz/uni-jsx/lib/hooks';
3
+ import { useCallback, useState } from '@redneckz/uni-jsx/lib/hooks';
4
4
  import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
5
5
  import { renderArrows } from '../../ui-kit/Button/renderArrows.js';
6
6
  import { Headline } from '../Headline/Headline.js';
@@ -8,28 +8,18 @@ import { CatalogCard } from './CatalogCard.js';
8
8
  const BLUR_BLOCK_CLASSES = 'absolute top-0 bottom-0 w-[84px]';
9
9
  const CARD_FULL_VIEW_COUNT = 3;
10
10
  const CARD_SHIFT = 430;
11
- export const Catalog = JSX(({ context, cards = [], className = '', title, description, ...rest }) => {
11
+ export const Catalog = JSX(({ cards = [], className = '', title, description, ...rest }) => {
12
12
  const [activeCardIndex, setActiveCardIndex] = useState(0);
13
- return (_jsxs(BlockWrapper, { context: context, className: `bg-white relative font-sans p-[50px] overflow-hidden text-center ${className}`, ...rest, children: [_jsx(Headline, { context: context, className: "!p-0", title: title, description: description, headlineVersion: "M", align: "center" }), _jsx("div", { className: "flex duration-1000 gap-3.5 mt-8", style: { transform: `translateX(-${activeCardIndex * CARD_SHIFT}px)` }, role: "list", children: cards?.length ? cards.map(renderCatalogCard(context)) : null }), renderNavButtons({
14
- cardsCount: cards.length,
15
- activeCardIndex,
16
- setActiveCardIndex,
13
+ const handleNextClick = useCallback(() => setActiveCardIndex((_) => _ + 1), []);
14
+ const handlePrevClick = useCallback(() => setActiveCardIndex((_) => _ - 1), []);
15
+ const isUseSlider = cards.length > CARD_FULL_VIEW_COUNT;
16
+ const showNextButton = isUseSlider && cards.length - activeCardIndex > CARD_FULL_VIEW_COUNT;
17
+ const showPrevButton = isUseSlider && activeCardIndex > 0;
18
+ return (_jsxs(BlockWrapper, { className: `bg-white relative font-sans p-[50px] overflow-hidden text-center ${className}`, ...rest, children: [_jsx(Headline, { className: "!p-0", title: title, description: description, headlineVersion: "M", align: "center", ...rest }), _jsx("div", { className: "flex duration-1000 gap-3.5 mt-8", style: { transform: `translateX(-${activeCardIndex * CARD_SHIFT}px)` }, role: "list", children: cards?.length ? cards.map((card, i) => _jsx(CatalogCard, { ...card }, String(i))) : null }), renderArrows({
19
+ handler: [handlePrevClick, handleNextClick],
20
+ isShown: [showPrevButton, showNextButton],
21
+ btnClass: ['left-8', 'right-8'],
22
+ className: 'top-1/2 z-10 mt-6',
17
23
  }), _jsx("div", { className: `${BLUR_BLOCK_CLASSES} left-0 bg-opacity-from-white` }), _jsx("div", { className: `${BLUR_BLOCK_CLASSES} right-0 bg-opacity-to-white` })] }));
18
24
  });
19
- const renderCatalogCard = (context) => (card, i) => {
20
- return _jsx(CatalogCard, { context: context, ...card }, String(i));
21
- };
22
- const renderNavButtons = ({ cardsCount, activeCardIndex, setActiveCardIndex, }) => {
23
- const handleNextClick = () => setActiveCardIndex(activeCardIndex + 1);
24
- const handlePrevClick = () => setActiveCardIndex(activeCardIndex - 1);
25
- const isUseSlider = cardsCount > CARD_FULL_VIEW_COUNT;
26
- const showNextButton = isUseSlider && cardsCount - activeCardIndex > CARD_FULL_VIEW_COUNT;
27
- const showPrevButton = isUseSlider && activeCardIndex > 0;
28
- return renderArrows({
29
- handler: [handlePrevClick, handleNextClick],
30
- isShown: [showPrevButton, showNextButton],
31
- btnClass: ['left-8', 'right-8'],
32
- className: 'top-1/2 z-10 mt-6',
33
- });
34
- };
35
25
  //# sourceMappingURL=Catalog.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Catalog.js","sourceRoot":"","sources":["../../../src/components/Catalog/Catalog.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,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WAAW,EAAE,WAAW,EACxB,eAAe,EAAC,GAAG,EACnB,KAAK,EAAC,QAAQ,KACV,IAAI,GACR,EACF,cACE,SAAS,EAAC,iCAAiC,EAC3C,KAAK,EAAE,EAAE,SAAS,EAAE,eAAe,eAAe,GAAG,UAAU,KAAK,EAAE,EACtE,IAAI,EAAC,MAAM,YAEV,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,KAAC,WAAW,OAAqB,IAAI,IAAnB,MAAM,CAAC,CAAC,CAAC,CAAc,CAAC,CAAC,CAAC,CAAC,IAAI,GACrF,EACL,YAAY,CAAC;gBACZ,OAAO,EAAE,CAAC,eAAe,EAAE,eAAe,CAAC;gBAC3C,OAAO,EAAE,CAAC,cAAc,EAAE,cAAc,CAAC;gBACzC,QAAQ,EAAE,CAAC,QAAQ,EAAE,SAAS,CAAC;gBAC/B,SAAS,EAAE,mBAAmB;aAC/B,CAAC,EACF,cAAK,SAAS,EAAE,GAAG,kBAAkB,+BAA+B,GAAI,EACxE,cAAK,SAAS,EAAE,GAAG,kBAAkB,8BAA8B,GAAI,IAC1D,CAChB,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import type { BlockVersion } from '../../model/BlockVersion';
2
- import type { UniBlockProps } from '../../model/JSXBlock';
3
2
  import type { CatalogCardType } from './CatalogContent';
4
- export interface CatalogCardProps extends CatalogCardType, UniBlockProps {
3
+ export interface CatalogCardProps extends CatalogCardType {
4
+ className?: string;
5
5
  version?: BlockVersion;
6
6
  }
7
7
  export declare const CatalogCard: import("@redneckz/uni-jsx").UNIComponent<CatalogCardProps, any, any>;
@@ -7,8 +7,6 @@ const cardStyleMap = {
7
7
  black: 'bg-black',
8
8
  white: 'bg-white',
9
9
  };
10
- export const CatalogCard = JSX(({ className = '', title, description, image, price, button, colors }) => {
11
- return (_jsxs("section", { className: `border border-solid box-border border-main-stroke p-[30px] min-w-[402px] flex flex-col justify-left ${className}`, role: "listitem", children: [image?.src ? _jsx(Img, { className: "mb-5 flex justify-center", image: image }) : null, title ? (_jsx(Heading, { headingType: "h6", as: "h4", className: "text-left mb-1.5", title: title })) : null, description ? _jsx("div", { className: "text-m-light text-left mb-4", children: description }) : null, colors?.length ? (_jsxs("div", { className: "flex mb-4 text-s-light text-secondary-text", children: [_jsx("div", { className: "mr-1.5", children: "\u0414\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0435 \u0446\u0432\u0435\u0442\u0430: " }), colors.map(renderColorOption)] })) : null, price ? _jsxs("div", { className: "text-h3 text-left", children: [price, "\u00A0\u20BD"] }) : null, button ? renderButton({ button, buttonClassName: 'mt-5 w-full' }) : null] }));
12
- });
10
+ export const CatalogCard = JSX(({ className = '', title, description, image, price, button, colors }) => (_jsxs("section", { className: `border border-solid box-border border-main-stroke p-[30px] min-w-[402px] flex flex-col justify-left ${className}`, role: "listitem", children: [image?.src ? _jsx(Img, { className: "mb-5 flex justify-center", image: image }) : null, title ? (_jsx(Heading, { headingType: "h6", as: "h4", className: "text-left mb-1.5", title: title })) : null, description ? _jsx("div", { className: "text-m-light text-left mb-4", children: description }) : null, colors?.length ? (_jsxs("div", { className: "flex mb-4 text-s-light text-secondary-text", children: [_jsx("div", { className: "mr-1.5", children: "\u0414\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0435 \u0446\u0432\u0435\u0442\u0430: " }), colors.map(renderColorOption)] })) : null, price ? _jsxs("div", { className: "text-h3 text-left", children: [price, "\u00A0\u20BD"] }) : null, button ? renderButton({ button, buttonClassName: 'mt-5 w-full' }) : null] })));
13
11
  const renderColorOption = (color, i) => (_jsx("span", { className: `w-6 h-6 ml-3 border border-solid border-main-divider rounded-full ${cardStyleMap[color]}` }, String(i)));
14
12
  //# sourceMappingURL=CatalogCard.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CatalogCard.js","sourceRoot":"","sources":["../../../src/components/Catalog/CatalogCard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,SAAS,EAAC,kBAAkB,EAAC,KAAK,EAAE,KAAK,GAAI,CAChF,CAAC,CAAC,CAAC,IAAI,EACP,WAAW,CAAC,CAAC,CAAC,cAAK,SAAS,EAAC,6BAA6B,YAAE,WAAW,GAAO,CAAC,CAAC,CAAC,IAAI,EACrF,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC,CAChB,eAAK,SAAS,EAAC,4CAA4C,aACzD,cAAK,SAAS,EAAC,QAAQ,wGAAwB,EAC9C,MAAM,CAAC,GAAG,CAAC,iBAAiB,CAAC,IAC1B,CACP,CAAC,CAAC,CAAC,IAAI,EACP,KAAK,CAAC,CAAC,CAAC,eAAK,SAAS,EAAC,mBAAmB,aAAE,KAAK,oBAAc,CAAC,CAAC,CAAC,IAAI,EACtE,MAAM,CAAC,CAAC,CAAC,YAAY,CAAC,EAAE,MAAM,EAAE,eAAe,EAAE,aAAa,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,IACjE,CACX,CACF,CAAC;AAEF,MAAM,iBAAiB,GAAG,CAAC,KAA0B,EAAE,CAAS,EAAE,EAAE,CAAC,CACnE,eAEE,SAAS,EAAE,qEAAqE,YAAY,CAAC,KAAK,CAAC,EAAE,IADhG,MAAM,CAAC,CAAC,CAAC,CAEd,CACH,CAAC"}
@@ -8,7 +8,7 @@ export const ComparisonTable = JSX((props) => {
8
8
  const { className, title } = props;
9
9
  return (_jsxs("section", { className: `bg-white font-sans px-4 py-6 overflow-hidden text-primary-text relative ${className || ''}`, children: [title ? (_jsx(Heading, { headingType: "h3", className: "font-medium text-center m-0 mb-5", title: title })) : null, _jsx("div", { role: "table", children: _jsx(TableInner, { ...props }) })] }));
10
10
  });
11
- const TableInner = JSX(({ columns, rowHeaders, isColoredFirstColumn, visibleRowLength, orientation, context }) => {
11
+ const TableInner = JSX(({ columns, rowHeaders, isColoredFirstColumn, visibleRowLength, orientation, ...rest }) => {
12
12
  const [columnsViewState, setColumnsViewState] = useState(new Array(columns?.length || 0).fill(!visibleRowLength));
13
13
  const handleToggleColumn = useCallback((colIndex) => {
14
14
  const toggleColState = (colState, i) => i === colIndex ? !colState : colState;
@@ -16,7 +16,7 @@ const TableInner = JSX(({ columns, rowHeaders, isColoredFirstColumn, visibleRowL
16
16
  }, []);
17
17
  const handleSlideChange = useCallback(() => setColumnsViewState((_) => new Array(_.length).fill(false)), []);
18
18
  const getColumnData = (cellData) => cellData?.map((cell, i) => ({ cell, rowHeader: rowHeaders?.[i]?.title }));
19
- const tableColumns = columns?.map(({ data, header }, colIndex) => (_jsx(TableColumn, { context: context, visibleRowLength: visibleRowLength, showRow: columnsViewState[colIndex], header: header, columnData: getColumnData(data), isFillGradient: colIndex === 0 && isColoredFirstColumn, onToggleColumn: () => handleToggleColumn(colIndex) }, String(colIndex))));
20
- return orientation === 'horizontal' ? (_jsx(SwipeListControl, { context: context, onSlideChange: handleSlideChange, children: tableColumns })) : (tableColumns);
19
+ const tableColumns = columns?.map(({ data, header }, colIndex) => (_jsx(TableColumn, { visibleRowLength: visibleRowLength, showRow: columnsViewState[colIndex], header: header, columnData: getColumnData(data), isFillGradient: colIndex === 0 && isColoredFirstColumn, onToggleColumn: () => handleToggleColumn(colIndex), ...rest }, String(colIndex))));
20
+ return orientation === 'horizontal' ? (_jsx(SwipeListControl, { onSlideChange: handleSlideChange, children: tableColumns })) : (tableColumns);
21
21
  });
22
22
  //# sourceMappingURL=ComparisonTable.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ComparisonTable.js","sourceRoot":"","sources":["../../../src/components/ComparisonTable/ComparisonTable.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAEpE,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC;AAElF,OAAO,EAAE,WAAW,EAAE,MAAM,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,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,MAAM,iBAAiB,GAAG,WAAW,CACnC,GAAG,EAAE,CAAC,mBAAmB,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,EACjE,EAAE,CACH,CAAC;IAEF,MAAM,aAAa,GAAG,CAAC,QAAuB,EAAE,EAAE,CAChD,QAAQ,EAAE,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,UAAU,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC;IAE5E,MAAM,YAAY,GAAG,OAAO,EAAE,GAAG,CAAC,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,QAAQ,EAAE,EAAE,CAAC,CAChE,KAAC,WAAW,IAEV,gBAAgB,EAAE,gBAAgB,EAClC,OAAO,EAAE,gBAAgB,CAAC,QAAQ,CAAC,EACnC,MAAM,EAAE,MAAM,EACd,UAAU,EAAE,aAAa,CAAC,IAAI,CAAC,EAC/B,cAAc,EAAE,QAAQ,KAAK,CAAC,IAAI,oBAAoB,EACtD,cAAc,EAAE,GAAG,EAAE,CAAC,kBAAkB,CAAC,QAAQ,CAAC,KAC9C,IAAI,IAPH,MAAM,CAAC,QAAQ,CAAC,CAQrB,CACH,CAAC,CAAC;IAEH,OAAO,WAAW,KAAK,YAAY,CAAC,CAAC,CAAC,CACpC,KAAC,gBAAgB,IAAC,aAAa,EAAE,iBAAiB,YAAG,YAAY,GAAoB,CACtF,CAAC,CAAC,CAAC,CACF,YAAY,CACb,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1,7 +1,5 @@
1
- import { ContentPageContext } from '../ContentPage/ContentPageContext';
2
- import { Column, RowHeader } from './ComparisonTableContent';
1
+ import type { Column, RowHeader } from './ComparisonTableContent';
3
2
  interface ComparisonTableBodyProps {
4
- context: ContentPageContext;
5
3
  columns?: Column[];
6
4
  rowHeaders?: RowHeader[];
7
5
  isShowAllRow: boolean;
@@ -1,13 +1,10 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
- import { useState } from '@redneckz/uni-jsx/lib/hooks';
4
3
  import { useTableArrowScrollControl } from '../../hooks/useTableArrowScrollControl.js';
5
4
  import { ComparisonTableColumnHeaders } from './ComparisonTableColumnHeaders.js';
6
5
  import { ComparisonTableRows } from './ComparisonTableRows.js';
7
6
  import { COLS_LENGTH_FOR_SCROLL } from './constants.js';
8
- export const ComparisonTableBody = JSX(({ context, columns, rowHeaders, isShowAllRow, visibleRowLength, isColoredFirstColumn }) => {
9
- const router = context.useRouter();
10
- const { handlerDecorator } = context;
7
+ export const ComparisonTableBody = JSX(({ columns, rowHeaders, isShowAllRow, visibleRowLength, isColoredFirstColumn }) => {
11
8
  const colHeaders = columns?.map(({ header }) => header || {});
12
9
  const colData = columns?.map(({ data }) => data) || [];
13
10
  const rowData = rowHeaders
@@ -16,14 +13,11 @@ export const ComparisonTableBody = JSX(({ context, columns, rowHeaders, isShowAl
16
13
  data: colData.map((col) => col?.[i] || [{}]),
17
14
  }))
18
15
  .slice(0, isShowAllRow ? rowHeaders.length : visibleRowLength);
19
- const [activeCardIndex, setActiveCardIndex] = useState(0);
20
16
  const tableArrowScrollProps = useTableArrowScrollControl({
21
17
  columnsLength: colData.length,
22
18
  colsLengthForScroll: COLS_LENGTH_FOR_SCROLL,
23
- activeCardIndex,
24
- setActiveCardIndex,
25
19
  });
26
- const { isScrollAvailable } = tableArrowScrollProps;
27
- return (_jsxs("div", { children: [_jsxs("div", { role: "table", children: [colHeaders?.length ? (_jsx(ComparisonTableColumnHeaders, { colHeaders: colHeaders, activeCardIndex: activeCardIndex, router: router, handlerDecorator: handlerDecorator })) : null, rowData?.length ? (_jsx(ComparisonTableRows, { rowData: rowData, activeCardIndex: activeCardIndex, isColoredFirstColumn: isColoredFirstColumn, ...tableArrowScrollProps })) : null] }), isScrollAvailable ? (_jsx("div", { className: "absolute top-0 right-0 bottom-0 w-[84px] bg-opacity-to-white" })) : null] }));
20
+ const { activeCardIndex, isScrollAvailable } = tableArrowScrollProps;
21
+ return (_jsxs("div", { children: [_jsxs("div", { role: "table", children: [colHeaders?.length ? (_jsx(ComparisonTableColumnHeaders, { colHeaders: colHeaders, activeCardIndex: activeCardIndex })) : null, rowData?.length ? (_jsx(ComparisonTableRows, { rowData: rowData, isColoredFirstColumn: isColoredFirstColumn, ...tableArrowScrollProps })) : null] }), isScrollAvailable ? (_jsx("div", { className: "absolute top-0 right-0 bottom-0 w-[84px] bg-opacity-to-white" })) : null] }));
28
22
  });
29
23
  //# sourceMappingURL=ComparisonTableBody.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ComparisonTableBody.js","sourceRoot":"","sources":["../../../src/components/ComparisonTable/ComparisonTableBody.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,0BAA0B,EAAE,MAAM,wCAAwC,CAAC;AAEpF,OAAO,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAE9E,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAWrD,MAAM,CAAC,MAAM,mBAAmB,GAAG,GAAG,CACpC,CAAC,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,EAAE,EAAE;IACzF,MAAM,MAAM,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC;IACnC,MAAM,EAAE,gBAAgB,EAAE,GAAG,OAAO,CAAC;IAErC,MAAM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Ae,EAAE,eAAe,EAChC,oBAAoB,EAAE,oBAAoB,KACtC,qBAAqB,GACzB,CACH,CAAC,CAAC,CAAC,IAAI,IACJ,EACL,iBAAiB,CAAC,CAAC,CAAC,CACnB,cAAK,SAAS,EAAC,8DAA8D,GAAG,CACjF,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"ComparisonTableBody.js","sourceRoot":"","sources":["../../../src/components/ComparisonTable/ComparisonTableBody.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,0BAA0B,EAAE,MAAM,wCAAwC,CAAC;AACpF,OAAO,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAE9E,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAUrD,MAAM,CAAC,MAAM,mBAAmB,GAAG,GAAG,CACpC,CAAC,EAAE,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,EAAE,EAAE;IAChF,MAAM,UAAU,GAAG,OAAO,EAAE,GAAG,CAAC,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,MAAM,IAAI,EAAE,CAAC,CAAC;IAC9D,MAAM,OAAO,GAAG,OAAO,EAAE,GAAG,CAAC,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;IACvD,MAAM,OAAO,GAAG,UAAU;QACxB,EAAE,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;QACpB,MAAM;QACN,IAAI,EAAE,OAAO,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;KAC7C,CAAC,CAAC;SACF,KAAK,CAAC,CAAC,EAAE,YAAY,CAAC,CAAC,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC;IAEjE,MAAM,qBAAqB,GAAG,0BAA0B,CAAC;QACvD,aAAa,EAAE,OAAO,CAAC,MAAM;QAC7B,mBAAmB,EAAE,sBAAsB;KAC5C,CAAC,CAAC;IACH,MAAM,EAAE,eAAe,EAAE,iBAAiB,EAAE,GAAG,qBAAqB,CAAC;IAErE,OAAO,CACL,0BACE,eAAK,IAAI,EAAC,OAAO,aACd,UAAU,EAAE,MAAM,CAAC,CAAC,CAAC,CACpB,KAAC,4BAA4B,IAC3B,UAAU,EAAE,UAAU,EACtB,eAAe,EAAE,eAAe,GAChC,CACH,CAAC,CAAC,CAAC,IAAI,EACP,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC,CACjB,KAAC,mBAAmB,IAClB,OAAO,EAAE,OAAO,EAChB,oBAAoB,EAAE,oBAAoB,KACtC,qBAAqB,GACzB,CACH,CAAC,CAAC,CAAC,IAAI,IACJ,EACL,iBAAiB,CAAC,CAAC,CAAC,CACnB,cAAK,SAAS,EAAC,8DAA8D,GAAG,CACjF,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1,10 +1,7 @@
1
- import type { HandlerDecorator, Router } from '../ContentPage/ContentPageContext';
2
1
  import type { ColumnHeader } from './ComparisonTableContent';
3
2
  interface ComparisonTableColumnHeadersProps {
4
3
  colHeaders: ColumnHeader[];
5
4
  activeCardIndex: number;
6
- router: Router;
7
- handlerDecorator: HandlerDecorator | undefined;
8
5
  }
9
6
  export declare const ComparisonTableColumnHeaders: import("@redneckz/uni-jsx").UNIComponent<ComparisonTableColumnHeadersProps, any, any>;
10
7
  export {};
@@ -1,11 +1,8 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
- import { useLink } from '../../hooks/useLink.js';
4
3
  import { COLUMN_WIDTH, FIRST_CELL_CLASSES } from './constants.js';
5
4
  import { HeaderCell } from './HeaderCell.js';
6
5
  import { TableCarouselContainer } from './TableCarouselContainer.js';
7
6
  import { TableRowContainer } from './TableRowContainer.js';
8
- export const ComparisonTableColumnHeaders = JSX(({ colHeaders, activeCardIndex, router, handlerDecorator }) => {
9
- return (_jsxs(TableRowContainer, { children: [_jsx("div", { className: FIRST_CELL_CLASSES, role: "columnheader" }), _jsx(TableCarouselContainer, { activeCardIndex: activeCardIndex, columnWidth: COLUMN_WIDTH, children: colHeaders.map((header, i) => (_jsx(HeaderCell, { ...header, link: header.link && useLink({ router, handlerDecorator }, header.link) }, String(i)))) })] }));
10
- });
7
+ export const ComparisonTableColumnHeaders = JSX(({ colHeaders, activeCardIndex }) => (_jsxs(TableRowContainer, { children: [_jsx("div", { className: FIRST_CELL_CLASSES, role: "columnheader" }), _jsx(TableCarouselContainer, { activeCardIndex: activeCardIndex, columnWidth: COLUMN_WIDTH, children: colHeaders.map((header, i) => (_jsx(HeaderCell, { ...header }, String(i)))) })] })));
11
8
  //# sourceMappingURL=ComparisonTableColumnHeaders.js.map