@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
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
- import type { BackwardButtonProps } from '../../ui-kit/Button/ButtonProps';
3
2
  import type { ButtonVersion } from '../../model/ButtonVersion';
3
+ import type { BackwardButtonProps } from '../../ui-kit/Button/ButtonProps';
4
4
  export declare function renderBackwardButton(button: BackwardButtonProps, version: ButtonVersion, className: string): JSX.Element;
@@ -5,6 +5,7 @@ export function renderBackwardButton(button, version, className) {
5
5
  const { text, href, target, onClick } = button;
6
6
  const iconVersion = version === 'primary' ? 'white' : 'black';
7
7
  const backwardIcon = button?.icon || { icon: 'ArrowLeftIcon' };
8
+ // TODO Move click handler to Button
8
9
  return (_jsxs("div", { className: `flex items-center cursor-pointer ${className}`, onClick: onClick, children: [_jsx(Button, { version: version, rounded: true, className: "w-12 h-12 min-h-12 min-w-12 flex items-center justify-center mr-3", ariaLabel: text, href: href, target: target, children: _jsx(Img, { className: "w-4 h-4", image: { ...backwardIcon, iconVersion: backwardIcon.iconVersion || iconVersion }, asSVG: true }) }), text ? _jsx("span", { className: "text-m", children: text }) : null] }));
9
10
  }
10
11
  //# sourceMappingURL=renderBackwardButton.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"renderBackwardButton.js","sourceRoot":"","sources":["../../../src/components/ProductBlock/renderBackwardButton.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACpD,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAI3C,MAAM,UAAU,oBAAoB,CAClC,MAA2B,EAC3B,OAAsB,EACtB,SAAiB;IAEjB,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,MAAM,CAAC;IAC/C,MAAM,WAAW,GAAG,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC;IAC9D,MAAM,YAAY,GAAG,MAAM,EAAE,IAAI,IAAI,EAAE,IAAI,EAAE,eAAe,EAAE,CAAC;IAE/D,OAAO,CACL,eAAK,SAAS,EAAE,oCAAoC,SAAS,EAAE,EAAE,OAAO,EAAE,OAAO,aAC/E,KAAC,MAAM,IACL,OAAO,EAAE,OAAO,EAChB,OAAO,QACP,SAAS,EAAC,mEAAmE,EAC7E,SAAS,EAAE,IAAI,EACf,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,MAAM,YAEd,KAAC,GAAG,IACF,SAAS,EAAC,SAAS,EACnB,KAAK,EAAE,EAAE,GAAG,YAAY,EAAE,WAAW,EAAE,YAAY,CAAC,WAAW,IAAI,WAAW,EAAE,EAChF,KAAK,SACL,GACK,EACR,IAAI,CAAC,CAAC,CAAC,eAAM,SAAS,EAAC,QAAQ,YAAE,IAAI,GAAQ,CAAC,CAAC,CAAC,IAAI,IACjD,CACP,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"renderBackwardButton.js","sourceRoot":"","sources":["../../../src/components/ProductBlock/renderBackwardButton.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAEpD,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAE3C,MAAM,UAAU,oBAAoB,CAClC,MAA2B,EAC3B,OAAsB,EACtB,SAAiB;IAEjB,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,MAAM,CAAC;IAC/C,MAAM,WAAW,GAAG,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC;IAC9D,MAAM,YAAY,GAAG,MAAM,EAAE,IAAI,IAAI,EAAE,IAAI,EAAE,eAAe,EAAE,CAAC;IAE/D,oCAAoC;IACpC,OAAO,CACL,eAAK,SAAS,EAAE,oCAAoC,SAAS,EAAE,EAAE,OAAO,EAAE,OAAO,aAC/E,KAAC,MAAM,IACL,OAAO,EAAE,OAAO,EAChB,OAAO,QACP,SAAS,EAAC,mEAAmE,EAC7E,SAAS,EAAE,IAAI,EACf,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,MAAM,YAEd,KAAC,GAAG,IACF,SAAS,EAAC,SAAS,EACnB,KAAK,EAAE,EAAE,GAAG,YAAY,EAAE,WAAW,EAAE,YAAY,CAAC,WAAW,IAAI,WAAW,EAAE,EAChF,KAAK,SACL,GACK,EACR,IAAI,CAAC,CAAC,CAAC,eAAM,SAAS,EAAC,QAAQ,YAAE,IAAI,GAAQ,CAAC,CAAC,CAAC,IAAI,IACjD,CACP,CAAC;AACJ,CAAC"}
@@ -1,9 +1,46 @@
1
- import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
- import { SwipeListControl } from '../../ui-kit/SwipeListControl/SwipeListControl.js';
4
- import { ProductGalleryBlock } from './ProductGalleryBlock.js';
5
- export const ProductGallery = JSX(({ className, context, slides = [] }) => {
3
+ import { useState } from '@redneckz/uni-jsx/lib/hooks';
4
+ import { VersionStyleMap } from '../../model/BlockVersion.js';
5
+ import { BorderVersionStyleMap } from '../../model/BorderVersion.js';
6
+ import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
7
+ import { ProductBlockInner } from '../ProductBlock/ProductBlockInner.js';
8
+ const productBlockStyleMap = {
9
+ primary: { title: 'text-secondary-text', text: 'text-secondary-text' },
10
+ secondary: { title: 'text-white', text: 'text-white/80' },
11
+ };
12
+ export const ProductGallery = JSX(({ className = '', slides = [], version = 'primary', ...rest }) => {
13
+ const galleryNav = slides.map((s) => s.nav);
6
14
  const galleryBlocks = slides.map((s) => s.productBlock);
7
- return (_jsx("section", { className: `font-sans bg-white overflow-hidden w-100 pb-6 ${className || ''}`, children: _jsx(SwipeListControl, { context: context, children: galleryBlocks.map((block, i) => (_jsx(ProductGalleryBlock, { block: block, context: context }, String(i)))) }) }));
15
+ const [activeSlideIndex, setActiveSlideIndex] = useState(0);
16
+ return (_jsxs(BlockWrapper, { className: `box-border pt-[50px] overflow-hidden relative font-sans w-100 mb-6 ${className}
17
+ ${VersionStyleMap[version]}`, ...rest, children: [_jsx("div", { className: "flex duration-1000 pb-14", style: { transform: `translateX(-${activeSlideIndex}00%)` }, role: "list", children: galleryBlocks.map((_, i) => renderProductBlock({ ..._, ...rest, version }, i)) }), _jsx("div", { className: "flex items-center absolute bottom-6 left-0 right-0 px-[26px] box-border h-28", children: galleryNav.map((slide, i) => renderNavButton({
18
+ slide,
19
+ i,
20
+ activeSlideIndex,
21
+ onClick: () => setActiveSlideIndex(i),
22
+ version,
23
+ })) })] }));
8
24
  });
25
+ function renderProductBlock(block, i) {
26
+ const { version } = block;
27
+ const additionalClass = version ? productBlockStyleMap[version].title : '';
28
+ return (_jsx("section", { className: "box-border relative flex grow-0 shrink-0 basis-full", role: "listitem", children: _jsx("div", { className: "flex grow", children: _jsx(ProductBlockInner, { className: `pl-[50px] z-10 ${additionalClass}`, textBlockClassName: "mb-[154px]", headlineVersion: "XXL", ...block }) }) }, String(i)));
29
+ }
30
+ function renderNavButton({ slide, i, activeSlideIndex, onClick, version }) {
31
+ const isActiveBtn = i === activeSlideIndex;
32
+ const btnClassName = isActiveBtn
33
+ ? 'bg-white shadow-dark-blue/42 min-w-[350px] border-none p-6'
34
+ : `min-w-[290px] hover:py-[26px] hover:py-[26px] ease-in duration-300 bg-white/10 px-6 py-5 backdrop-blur
35
+ ${VersionStyleMap[version]}`;
36
+ const btnTitleClassName = isActiveBtn
37
+ ? 'text-primary-text !text-h6 p-2'
38
+ : `text-l pb-1 ${productBlockStyleMap[version].title}`;
39
+ const btnDescClassName = isActiveBtn
40
+ ? 'text-secondary-text text-l-light'
41
+ : `text-m-light ${productBlockStyleMap[version].text}`;
42
+ return (_jsx("button", { type: "button", onClick: onClick, "aria-label": slide?.title, className: `box-border relative overflow-hidden border border-white/50 cursor-pointer text-left mx-1 grow basis-0
43
+ ${btnClassName} ${BorderVersionStyleMap[version]}
44
+ `, children: _jsxs("div", { className: "border-0 px-6", children: [_jsx("div", { className: `last:pb-0 ${btnTitleClassName}`, children: slide?.title }), _jsx("div", { className: `text-secondary-text ${btnDescClassName}`, children: slide?.description })] }) }, String(i)));
45
+ }
9
46
  //# sourceMappingURL=ProductGallery.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ProductGallery.js","sourceRoot":"","sources":["../../../src/components/ProductGallery/ProductGallery.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC;AAClF,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAK5D,MAAM,CAAC,MAAM,cAAc,GAAG,GAAG,CAAsB,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,GAAG,EAAE,EAAE,EAAE,EAAE;IAC7F,MAAM,aAAa,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC;IAExD,OAAO,CACL,kBAAS,SAAS,EAAE,iDAAiD,SAAS,IAAI,EAAE,EAAE,YACpF,KAAC,gBAAgB,IAAC,OAAO,EAAE,OAAO,YAC/B,aAAa,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,CAAC,EAAE,EAAE,CAAC,CAC/B,KAAC,mBAAmB,IAAiB,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,OAAO,IAAzC,MAAM,CAA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,KAAK,gBAAgB,CAAC;IAE3C,MAAM,YAAY,GAAG,WAAW;QAC9B,CAAC,CAAC,4DAA4D;QAC9D,CAAC,CAAC;QACE,eAAe,CAAC,OAAO,CAAC,EAAE,CAAC;IACjC,MAAM,iBAAiB,GAAG,WAAW;QACnC,CAAC,CAAC,gCAAgC;QAClC,CAAC,CAAC,eAAe,oBAAoB,CAAC,OAAO,CAAC,CAAC,KAAK,EAAE,CAAC;IACzD,MAAM,gBAAgB,GAAG,WAAW;QAClC,CAAC,CAAC,kCAAkC;QACpC,CAAC,CAAC,gBAAgB,oBAAoB,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,CAAC;IAEzD,OAAO,CACL,iBACE,IAAI,EAAC,QAAQ,EAEb,OAAO,EAAE,OAAO,gBACJ,KAAK,EAAE,KAAK,EACxB,SAAS,EAAE;UACP,YAAY,IAAI,qBAAqB,CAAC,OAAO,CAAC;OACjD,YAED,eAAK,SAAS,EAAC,eAAe,aAC5B,cAAK,SAAS,EAAE,aAAa,iBAAiB,EAAE,YAAG,KAAK,EAAE,KAAK,GAAO,EACtE,cAAK,SAAS,EAAE,wBAAwB,gBAAgB,EAAE,YAAG,KAAK,EAAE,WAAW,GAAO,IAClF,IAVD,MAAM,CAAC,CAAC,CAAC,CAWP,CACV,CAAC;AACJ,CAAC"}
@@ -6,12 +6,10 @@ import { ButtonSection } from '../../ui-kit/Button/ButtonSection.js';
6
6
  import { Img } from '../../ui-kit/Img/Img.js';
7
7
  import { getTileRightPadding } from '../BaseTile/getTileRightPadding.js';
8
8
  import { Headline } from '../Headline/Headline.js';
9
- export const ProductTile = JSX(({ context, className = '', title, headlineVersion = 'S', description, additionalDescription, benefits = [], buttons, image, version = 'primary', ...rest }) => {
10
- return (_jsxs(BlockWrapper, { context: context, className: `overflow-hidden font-sans p-9 box-border relative justify-between grid min-h-[364px]
11
- ${className} ${VersionStyleMap[version]} ${getTileRightPadding(className)}`, ...rest, children: [_jsx(Headline, { context: context, className: `!p-0 !bg-transparent z-10 ${title || description ? 'mb-3.5' : ''}`, as: "h2", title: title, description: description, headlineVersion: headlineVersion, bgColorHeadline: version, align: "left" }), renderBenefits(benefits, version, image), additionalDescription
12
- ? renderAdditionalDescription(additionalDescription, image, version)
13
- : null, buttons?.length ? (_jsx(ButtonSection, { context: context, buttons: buttons, className: "flex self-end mt-5 gap-4 z-10 text-l" })) : null, image?.src ? _jsx(Img, { className: "absolute right-0 bottom-0", image: image }) : null] }));
14
- });
9
+ export const ProductTile = JSX(({ className = '', title, headlineVersion = 'S', description, additionalDescription, benefits = [], buttons, image, version = 'primary', ...rest }) => (_jsxs(BlockWrapper, { className: `overflow-hidden font-sans p-9 box-border relative justify-between grid min-h-[364px]
10
+ ${className} ${VersionStyleMap[version]} ${getTileRightPadding(className)}`, ...rest, children: [_jsx(Headline, { className: `!p-0 !bg-transparent z-10 ${title || description ? 'mb-3.5' : ''}`, as: "h2", title: title, description: description, headlineVersion: headlineVersion, bgColorHeadline: version, align: "left", ...rest }), renderBenefits(benefits, version, image), additionalDescription
11
+ ? renderAdditionalDescription(additionalDescription, image, version)
12
+ : null, buttons?.length ? (_jsx(ButtonSection, { buttons: buttons, className: "flex self-end mt-5 gap-4 z-10 text-l" })) : null, image?.src ? _jsx(Img, { className: "absolute right-0 bottom-0", image: image }) : null] })));
15
13
  function renderBenefits(benefits, version, image) {
16
14
  // picture width = 242px. Text can overlay picture 20px deep. Outer paddings_x = 36px. 242-36-20 = 186px
17
15
  const BENEFITS_WIDTH = image?.src ? 'max-w-[calc(100%-186px)]' : '100%';
@@ -1 +1 @@
1
- {"version":3,"file":"ProductTile.js","sourceRoot":"","sources":["../../../src/components/ProductTile/ProductTile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAG3D,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE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K,IADE,SAAS,CAAC,EAAE,CAEhB;YACN,cAAuB,SAAS,EAAE,gBAAgB,aAAa,CAAC,OAAO,CAAC,EAAE,YACvE,WAAW,IADJ,QAAQ,CAAC,EAAE,CAEf;SACP,CAAC;IACJ,CAAC,CAAC;AACJ,CAAC;AAED,SAAS,2BAA2B,CAClC,qBAA6B,EAC7B,KAAe,EACf,UAAwB,SAAS;IAEjC,MAAM,YAAY,GAAiC;QACjD,OAAO,EAAE,qBAAqB;QAC9B,SAAS,EAAE,YAAY;KACxB,CAAC;IAEF,wGAAwG;IACxG,MAAM,iBAAiB,GAAG,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,0BAA0B,CAAC,CAAC,CAAC,MAAM,CAAC;IAE3E,OAAO,CACL,cAAK,SAAS,EAAE,4BAA4B,iBAAiB,IAAI,YAAY,CAAC,OAAO,CAAC,EAAE,YACrF,qBAAqB,GAClB,CACP,CAAC;AACJ,CAAC"}
@@ -8,9 +8,7 @@ import { getTileHeadingType } from '../BaseTile/getTileHeadingType.js';
8
8
  import { getTileMinHeight } from '../BaseTile/getTileMinHeight.js';
9
9
  import { getTileRightPadding } from '../BaseTile/getTileRightPadding.js';
10
10
  import { Headline } from '../Headline/Headline.js';
11
- export const PromoTile = JSX(({ className = '', context, title = 'Акции и спецпредложения', date, description, buttons = [], version = 'primary', ...rest }) => {
12
- return (_jsx(BlockWrapper, { context: context, className: `bg-white text-primary-text font-sans p-9 box-border ${className} ${VersionStyleMap[version]} ${getTileRightPadding(className)} ${getTileMinHeight(className)} `, ...rest, children: _jsx(BaseTile, { context: context, title: title ? (_jsx(Headline, { context: context, title: title, className: `!p-0 max-w-[600px]`, headlineVersion: getTileHeadingType(className), bgColorHeadline: version, align: "left", as: "h2" })) : null, buttons: buttons?.length ? (_jsx(ButtonSection, { context: context, buttons: buttons, className: "flex gap-3" })) : null, children: _jsxs("div", { className: "mt-1.5", children: [date ? _jsx("div", { className: "text-s mb-2", children: formatDate(date) }) : null, _jsx("div", { className: "text-l", children: description })] }) }) }));
13
- });
11
+ export const PromoTile = JSX(({ className = '', title = 'Акции и спецпредложения', date, description, buttons = [], version = 'primary', ...rest }) => (_jsx(BlockWrapper, { className: `bg-white text-primary-text font-sans p-9 box-border ${className} ${VersionStyleMap[version]} ${getTileRightPadding(className)} ${getTileMinHeight(className)} `, ...rest, children: _jsx(BaseTile, { title: title ? (_jsx(Headline, { title: title, className: `!p-0 max-w-[600px]`, headlineVersion: getTileHeadingType(className), bgColorHeadline: version, align: "left", as: "h2", ...rest })) : null, buttons: buttons?.length ? _jsx(ButtonSection, { buttons: buttons, className: "flex gap-3" }) : null, children: _jsxs("div", { className: "mt-1.5", children: [date ? _jsx("div", { className: "text-s mb-2", children: formatDate(date) }) : null, _jsx("div", { className: "text-l", children: description })] }) }) })));
14
12
  function formatDate(date) {
15
13
  const dateObj = new Date(date);
16
14
  const dateFormat = {
@@ -1 +1 @@
1
- {"version":3,"file":"PromoTile.js","sourceRoot":"","sources":["../../../src/components/PromoTile/PromoTile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAE3D,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAClE,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAKhD,MAAM,CAAC,MAAM,SAAS,GAAG,GAAG,CAC1B,CAAC,EACC,SAAS,GAAG,EAAE,EACd,OAAO,EACP,KAAK,GAAG,yBAAyB,E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SAAS,CAAC,EAC9C,eAAe,EAAE,OAAO,EACxB,KAAK,EAAC,MAAM,EACZ,EAAE,EAAC,IAAI,KACH,IAAI,GACR,CACH,CAAC,CAAC,CAAC,IAAI,EAEV,OAAO,EACL,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC,KAAC,aAAa,IAAC,OAAO,EAAE,OAAO,EAAE,SAAS,EAAC,YAAY,GAAG,CAAC,CAAC,CAAC,IAAI,YAGrF,eAAK,SAAS,EAAC,QAAQ,aACpB,IAAI,CAAC,CAAC,CAAC,cAAK,SAAS,EAAC,aAAa,YAAE,UAAU,CAAC,IAAI,CAAC,GAAO,CAAC,CAAC,CAAC,IAAI,EACpE,cAAK,SAAS,EAAC,QAAQ,YAAE,WAAW,GAAO,IACvC,GACG,GACE,CAChB,CACF,CAAC;AAEF,SAAS,UAAU,CAAC,IAAY;IAC9B,MAAM,OAAO,GAAG,IAAI,IAAI,CAAC,IAAI,CAAC,CAAC;IAC/B,MAAM,UAAU,GAA+B;QAC7C,GAAG,EAAE,SAAS;QACd,KAAK,EAAE,MAAM;QACb,IAAI,EAAE,SAAS;KAChB,CAAC;IAEF,OAAO,OAAO,CAAC,cAAc,CAAC,OAAO,EAAE,UAAU,CAAC,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;AACvE,CAAC"}
@@ -1,8 +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
3
  import { useState } from '@redneckz/uni-jsx/lib/hooks';
4
- import { BorderVersionStyleMap } from '../../model/BorderVersion.js';
5
4
  import { VersionStyleMap } from '../../model/BlockVersion.js';
5
+ import { BorderVersionStyleMap } from '../../model/BorderVersion.js';
6
6
  import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
7
7
  import { renderArrows } from '../../ui-kit/Button/renderArrows.js';
8
8
  import { Heading } from '../../ui-kit/Heading/Heading.js';
@@ -10,21 +10,16 @@ import { RecommendationCard } from './RecommendationCard.js';
10
10
  const BLUR_BLOCK_CLASSES = 'absolute top-0 bottom-0 w-[84px]';
11
11
  const CARD_FULL_VIEW_COUNT = 2;
12
12
  const CARD_SHIFT = 525;
13
- export const Recommendation = JSX(({ context, recommendations = [], className = '', title, version = 'primary', ...rest }) => {
13
+ export const Recommendation = JSX(({ recommendations = [], className = '', title, version = 'primary', ...rest }) => {
14
14
  const [activeCardIndex, setActiveCardIndex] = useState(0);
15
- return (_jsxs(BlockWrapper, { context: context, className: `relative font-sans p-9 overflow-hidden text-center
16
- ${VersionStyleMap[version]}
17
- ${className}`, ...rest, children: [title ? _jsx(Heading, { headingType: "h3", className: "mb-6", title: title }) : null, _jsxs("div", { children: [_jsx("div", { className: "flex duration-1000 gap-3.5", style: { transform: `translateX(-${activeCardIndex * CARD_SHIFT}px)` }, role: "list", children: recommendations?.length
18
- ? recommendations.map(renderRecommendationCard(context, BorderVersionStyleMap[version], version))
15
+ return (_jsxs(BlockWrapper, { className: `relative font-sans p-9 overflow-hidden text-center ${VersionStyleMap[version]} ${className}`, ...rest, children: [title ? _jsx(Heading, { headingType: "h3", className: "mb-6", title: title }) : null, _jsxs("div", { children: [_jsx("div", { className: "flex duration-1000 gap-3.5", style: { transform: `translateX(-${activeCardIndex * CARD_SHIFT}px)` }, role: "list", children: recommendations?.length
16
+ ? recommendations.map((card, i) => (_jsx(RecommendationCard, { version: version, className: BorderVersionStyleMap[version], ...card }, String(i))))
19
17
  : null }), renderNavButtons({
20
18
  cardsCount: recommendations.length,
21
19
  activeCardIndex,
22
20
  setActiveCardIndex,
23
21
  })] }), _jsx("div", { className: `${BLUR_BLOCK_CLASSES} left-0 ${version === 'secondary' ? 'bg-opacity-from-main' : 'bg-opacity-from-white'}` }), _jsx("div", { className: `${BLUR_BLOCK_CLASSES} right-0 ${version === 'secondary' ? 'bg-opacity-to-main' : 'bg-opacity-to-white'}` })] }));
24
22
  });
25
- const renderRecommendationCard = (context, className, version) => (card, i) => {
26
- return (_jsx(RecommendationCard, { context: context, ...card, version: version, className: className }, String(i)));
27
- };
28
23
  const renderNavButtons = ({ cardsCount, activeCardIndex, setActiveCardIndex, }) => {
29
24
  const handleNextClick = () => setActiveCardIndex(activeCardIndex + 1);
30
25
  const handlePrevClick = () => setActiveCardIndex(activeCardIndex - 1);
@@ -1 +1 @@
1
- {"version":3,"file":"Recommendation.js","sourceRoot":"","sources":["../../../src/components/Recommendation/Recommendation.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAEvD,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAElE,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAC3D,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAChE,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AAEvD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAG1D,MAAM,kBAAkB,GAAG,kCAAkC,CAAC;AAC9D,MAAM,oBAAoB,GAAG,CAAC,CAAC;AAC/B,MAAM,UAAU,GAAG,GAAG,CAAC;AAIvB,MAAM,CAAC,MAAM,cAAc,GAAG,GAAG,CAC/B,CAAC,EAAE,OAAO,EAAE,eAAe,GAAG,EAAE,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,OAAO,GAAG,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IACzF,MAAM,CAAC,eAAe,EAAE,kBAAkB,CAAC,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC;IAE1D,OAAO,CACL,MAAC,YAAY,IACX,OAAO,EAAE,OAAO,EAChB,SAAS,EAAE;YACP,eAAe,CAAC,OAAO,CAAC;YACxB,SAAS,EAAE,KAC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K,WAAW,CAAC,CAAC,CAAC,oBAAoB,CAAC,CAAC,CAAC,qBACnD,EAAE,GACF,IACW,CAChB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,gBAAgB,GAAG,CAAC,EACxB,UAAU,EACV,eAAe,EACf,kBAAkB,GAKnB,EAAE,EAAE;IACH,MAAM,eAAe,GAAG,GAAG,EAAE,CAAC,kBAAkB,CAAC,eAAe,GAAG,CAAC,CAAC,CAAC;IACtE,MAAM,eAAe,GAAG,GAAG,EAAE,CAAC,kBAAkB,CAAC,eAAe,GAAG,CAAC,CAAC,CAAC;IACtE,MAAM,WAAW,GAAG,UAAU,GAAG,oBAAoB,CAAC;IACtD,MAAM,cAAc,GAAG,WAAW,IAAI,UAAU,GAAG,eAAe,GAAG,oBAAoB,CAAC;IAC1F,MAAM,cAAc,GAAG,WAAW,IAAI,eAAe,GAAG,CAAC,CAAC;IAE1D,OAAO,CACL,wBACG,YAAY,CAAC;YACZ,OAAO,EAAE,CAAC,eAAe,EAAE,eAAe,CAAC;YAC3C,OAAO,EAAE,CAAC,cAAc,EAAE,cAAc,CAAC;YACzC,QAAQ,EAAE,CAAC,QAAQ,EAAE,SAAS,CAAC;YAC/B,SAAS,EAAE,cAAc;SAC1B,CAAC,GACE,CACP,CAAC;AACJ,CAAC,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import type { BlockVersion } from '../../model/BlockVersion';
2
- import type { UniBlockProps } from '../../model/JSXBlock';
3
2
  import type { RecommendationCardTypes } from './RecommendationContent';
4
- export interface RecommendationCardProps extends RecommendationCardTypes, UniBlockProps {
3
+ export interface RecommendationCardProps extends RecommendationCardTypes {
4
+ className?: string;
5
5
  version?: BlockVersion;
6
6
  }
7
7
  export declare const RecommendationCard: import("@redneckz/uni-jsx").UNIComponent<RecommendationCardProps, any, any>;
@@ -6,9 +6,9 @@ import { Img } from '../../ui-kit/Img/Img.js';
6
6
  import { List } from '../../ui-kit/List/List.js';
7
7
  import { BaseTile } from '../BaseTile/BaseTile.js';
8
8
  import { SocialMedia } from '../Footer/SocialMedia.js';
9
- export const RecommendationCard = JSX(({ context, className = '', title, description, items, image, version, socialMedia }) => {
9
+ export const RecommendationCard = JSX(({ className = '', title, description, items, image, version, socialMedia }) => {
10
10
  const tileTitle = title ? (_jsx(Heading, { headingType: "h5", as: "h3", className: "mb-3.5 z-10", title: title })) : null;
11
11
  const tileImage = image?.src ? (_jsx(Img, { className: "absolute bottom-0 right-0 m-0", image: image })) : null;
12
- return (_jsx("section", { className: `relative overflow-hidden text-left border border-solid box-border p-7 min-w-[524px] min-h-[218px] ${className}`, role: "listitem", children: _jsx(BaseTile, { context: context, className: "flex justify-between", title: tileTitle, image: tileImage, children: _jsxs("div", { className: "h-full flex flex-col justify-between", children: [description ? _jsx(Description, { className: "mb-2", description: description }) : null, items?.length ? (_jsx(List, { className: "text-xl-light flex flex-col flex-1 gap-2 max-w-[236px]", items: items, version: version })) : null, socialMedia ? (_jsx(SocialMedia, { className: "pt-10 pb-0", media: socialMedia, version: version, context: context })) : null] }) }) }));
12
+ return (_jsx("section", { className: `relative overflow-hidden text-left border border-solid box-border p-7 min-w-[524px] min-h-[218px] ${className}`, role: "listitem", children: _jsx(BaseTile, { className: "flex justify-between", title: tileTitle, image: tileImage, children: _jsxs("div", { className: "h-full flex flex-col justify-between", children: [description ? _jsx(Description, { className: "mb-2", description: description }) : null, items?.length ? (_jsx(List, { className: "text-xl-light flex flex-col flex-1 gap-2 max-w-[236px]", items: items, version: version })) : null, socialMedia ? (_jsx(SocialMedia, { className: "pt-10 pb-0", media: socialMedia, version: version })) : null] }) }) }));
13
13
  });
14
14
  //# sourceMappingURL=RecommendationCard.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"RecommendationCard.js","sourceRoot":"","sources":["../../../src/components/Recommendation/RecommendationCard.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,WAAW,EAAE,MAAM,sCAA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AAI,IACH,SAAS,EAAC,wDAAwD,EAClE,KAAK,EAAE,KAAK,EACZ,OAAO,EAAE,OAAO,GAChB,CACH,CAAC,CAAC,CAAC,IAAI,EACP,WAAW,CAAC,CAAC,CAAC,CACb,KAAC,WAAW,IACV,SAAS,EAAC,YAAY,EACtB,KAAK,EAAE,WAAW,EAClB,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,OAAO,GAChB,CACH,CAAC,CAAC,CAAC,IAAI,IACJ,GACG,GACH,CACX,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"RecommendationCard.js","sourceRoot":"","sources":["../../../src/components/Recommendation/RecommendationCard.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AACnE,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAQpD,MAAM,CAAC,MAAM,kBAAkB,GAAG,GAAG,CACnC,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,WAAW,EAAE,EAAE,EAAE;IAC7E,MAAM,SAAS,GAAG,KAAK,CAAC,CAAC,CAAC,CACxB,KAAC,OAAO,IAAC,WAAW,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,SAAS,EAAC,aAAa,EAAC,KAAK,EAAE,KAAK,GAAI,CAC3E,CAAC,CAAC,CAAC,IAAI,CAAC;IACT,MAAM,SAAS,GAAG,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,CAC7B,KAAC,GAAG,IAAC,SAAS,EAAC,+BAA+B,EAAC,KAAK,EAAE,KAAK,GAAI,CAChE,CAAC,CAAC,CAAC,IAAI,CAAC;IAET,OAAO,CACL,kBACE,SAAS,EAAE,qGAAqG,SAAS,EAAE,EAC3H,IAAI,EAAC,UAAU,YAEf,KAAC,QAAQ,IAAC,SAAS,EAAC,sBAAsB,EAAC,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,YAC3E,eAAK,SAAS,EAAC,sCAAsC,aAClD,WAAW,CAAC,CAAC,CAAC,KAAC,WAAW,IAAC,SAAS,EAAC,MAAM,EAAC,WAAW,EAAE,WAAW,GAAI,CAAC,CAAC,CAAC,IAAI,EAC/E,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CACf,KAAC,IAAI,IACH,SAAS,EAAC,wDAAwD,EAClE,KAAK,EAAE,KAAK,EACZ,OAAO,EAAE,OAAO,GAChB,CACH,CAAC,CAAC,CAAC,IAAI,EACP,WAAW,CAAC,CAAC,CAAC,CACb,KAAC,WAAW,IAAC,SAAS,EAAC,YAAY,EAAC,KAAK,EAAE,WAAW,EAAE,OAAO,EAAE,OAAO,GAAI,CAC7E,CAAC,CAAC,CAAC,IAAI,IACJ,GACG,GACH,CACX,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -4,12 +4,12 @@ import { useCallback, useState } from '@redneckz/uni-jsx/lib/hooks';
4
4
  import { useSafeBoxes } from '../../hooks/useSafeBoxes.js';
5
5
  import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
6
6
  import { Heading } from '../../ui-kit/Heading/Heading.js';
7
+ import { YandexMap } from '../../ui-kit/YandexMap/YandexMap.js';
7
8
  import { SafeDepositRentalForm } from './SafeDepositRentalForm.js';
8
9
  import { useGetRegions } from './useGetRegions.js';
9
10
  import { getBranch, getCoordinates } from './utils.js';
10
- import { YandexMap } from '../../ui-kit/YandexMap/YandexMap.js';
11
11
  const DEFAULT_DAYS = 26;
12
- export const SafeDepositRental = JSX(({ title, footnote, context, className = '', ...rest }) => {
12
+ export const SafeDepositRental = JSX(({ title, footnote, className = '', ...rest }) => {
13
13
  const [showMap, setShowMap] = useState(false);
14
14
  const [safeDepositState, setStateDepositState] = useState({
15
15
  selectedRegion: '',
@@ -26,7 +26,7 @@ export const SafeDepositRental = JSX(({ title, footnote, context, className = ''
26
26
  setShowMap(!showMap);
27
27
  };
28
28
  const points = getCoordinates(getBranch(branches, safeDepositState.selectedBranch) || branches);
29
- return (_jsxs(BlockWrapper, { context: context, className: className, ...rest, children: [_jsxs("div", { className: "font-sans bg-white px-8 py-12", children: [title ? (_jsx(Heading, { title: title, headingType: "h3", as: "h2", className: "text-primary-text mb-2.5 text-center" })) : null, _jsx(SafeDepositRentalForm, { regions: regions, branches: branches, data: { ...safeDepositState, selectedRegion }, onShowMapToggle: onShowMapToggle, onChange: handleChangeSafeDepositState }), footnote ? _jsx("p", { className: "text-s-light text-secondary-text", children: footnote }) : null] }), points.length && showMap ? _jsx(YandexMap, { points: points, className: "h-[640px]" }) : null] }));
29
+ return (_jsxs(BlockWrapper, { className: className, ...rest, children: [_jsxs("div", { className: "font-sans bg-white px-8 py-12", children: [title ? (_jsx(Heading, { title: title, headingType: "h3", as: "h2", className: "text-primary-text mb-2.5 text-center" })) : null, _jsx(SafeDepositRentalForm, { regions: regions, branches: branches, data: { ...safeDepositState, selectedRegion }, onShowMapToggle: onShowMapToggle, onChange: handleChangeSafeDepositState }), footnote ? _jsx("p", { className: "text-s-light text-secondary-text", children: footnote }) : null] }), points.length && showMap ? _jsx(YandexMap, { points: points, className: "h-[640px]" }) : null] }));
30
30
  });
31
31
  const normalizeSelectedRegion = (selectedRegion, regions) => !selectedRegion && regions?.length && regions[0]?.code ? regions[0].code : selectedRegion;
32
32
  //# sourceMappingURL=SafeDepositRental.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SafeDepositRental.js","sourceRoot":"","sources":["../../../src/components/SafeDepositRental/SafeDepositRental.tsx"],"names":[],"mappings":";A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,GAAG,CAAC,CAAC,CAAC,IAAI,IACzE,CAChB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,uBAAuB,GAAG,CAAC,cAAsB,EAAE,OAAkB,EAAE,EAAE,CAC7E,CAAC,cAAc,IAAI,OAAO,EAAE,MAAM,IAAI,OAAO,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,cAAc,CAAC"}
@@ -1,14 +1,11 @@
1
1
  import type { BlockVersion } from '../../model/BlockVersion';
2
- import type { HandlerDecorator, Router } from '../ContentPage/ContentPageContext';
2
+ import type { VNode } from '../../model/VNode';
3
3
  import type { Step } from './StepsBlockContent';
4
4
  import type { StyleType } from './StepsBlockStyleMaps';
5
- import type { VNode } from '../../model/VNode';
6
- export declare const renderStepContent: ({ styleMap, isMainButton, version, router, handlerDecorator, }: {
5
+ export declare const renderStepContent: ({ styleMap, isMainButton, version, }: {
7
6
  styleMap: StyleType;
8
7
  isMainButton: boolean;
9
8
  version: BlockVersion;
10
- router: Router;
11
- handlerDecorator?: HandlerDecorator | undefined;
12
9
  }) => (step: Step, i: number, { length }: {
13
10
  length: number;
14
11
  }) => VNode;
@@ -1,8 +1,7 @@
1
1
  import { jsxs as _jsxs, jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { Button } from '../../ui-kit/Button/Button.js';
3
3
  import { renderItems } from './renderItems.js';
4
- import { useLink } from '../../hooks/useLink.js';
5
- export const renderStepContent = ({ styleMap, isMainButton, version, router, handlerDecorator, }) => (step, i, { length }) => {
4
+ export const renderStepContent = ({ styleMap, isMainButton, version, }) => (step, i, { length }) => {
6
5
  const { label, description, button, items, isDotted } = step;
7
6
  const contentMarginClass = label && (description || items) ? 'mt-2' : '';
8
7
  return (_jsxs("div", { className: `relative flex flex-col items-center text-center whitespace-pre-line overflow-hidden ${getContainerWidth(length)}`, children: [_jsxs("div", { className: `${button?.text ? 'mb-8' : ''} text-center`, children: [renderStepLabel(label), _jsxs("div", { className: `${contentMarginClass} flex flex-col items-center`, children: [renderStepDescription({
@@ -13,7 +12,7 @@ export const renderStepContent = ({ styleMap, isMainButton, version, router, han
13
12
  isDotted,
14
13
  version,
15
14
  className: getItemsClasses({ className: 'text-left', description, styleMap }),
16
- })] })] }), button?.text && !isMainButton ? (_jsx(Button, { className: "box-border py-3 h-12 w-full max-w-[240px] mt-auto", ...useLink({ router, handlerDecorator }, button), version: version, children: button?.text })) : null] }, String(i)));
15
+ })] })] }), button?.text && !isMainButton ? (_jsx(Button, { className: "box-border py-3 h-12 w-full max-w-[240px] mt-auto", version: version, ...button, children: button?.text })) : null] }, String(i)));
17
16
  };
18
17
  const renderStepLabel = (label) => label ? _jsx("div", { className: "text-h6", children: label }) : null;
19
18
  const renderStepDescription = ({ description, className = '', }) => (description ? _jsx("div", { className: className, children: description }) : null);
@@ -1 +1 @@
1
- {"version":3,"file":"renderStepContent.js","sourceRoot":"","sources":["../../../src/components/StepsBlock/renderStepContent.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAMpD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE9C,MAAM,CAAC,MAAM,iBAAiB,GAC5B,CAAC,EACC,QAAQ,EACR,YAAY,EACZ,OAAO,EACP,MAAM,EACN,gBAAgB,GAOjB,EAAE,EAAE,CACL,CAAC,IAAU,EAAE,CAAS,EAAE,EAAE,MAAM,EAAsB,EAAS,EAAE;IAC/D,MAAM,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,IAAI,CAAC;IAE7D,MAAM,kBAAkB,GAAG,KAAK,IAAI,CAAC,WAAW,IAAI,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC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CAAC,CAAC,CAAC,WAAW,CAAC,CAAC"}
@@ -0,0 +1,8 @@
1
+ import type { LinkTabData, TabData } from './TabsContent';
2
+ interface LinkTabProps {
3
+ tab: LinkTabData;
4
+ currentTab?: TabData;
5
+ onClick?: (tab: TabData) => void;
6
+ }
7
+ export declare const LinkTab: import("@redneckz/uni-jsx").UNIComponent<LinkTabProps, any, any>;
8
+ export {};
@@ -0,0 +1,18 @@
1
+ import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
+ import { JSX } from '@redneckz/uni-jsx';
3
+ import { useCallback } from '@redneckz/uni-jsx/lib/hooks';
4
+ import { EventBus } from '../../EventBus/EventBus.js';
5
+ import { useLink } from '../../hooks/useLink.js';
6
+ import { ACTIVE_LINK_CLASSES, ACTIVE_TEXT_CLASSES, INACTIVE_LINK_CLASSES, INACTIVE_TEXT_CLASSES, LINK_CLASSES, TEXT_CLASSES, } from './tabItemClasses.js';
7
+ export const LinkTab = JSX((props) => {
8
+ const { tab, currentTab, onClick } = props;
9
+ const active = currentTab?.type === 'link' && currentTab.href === tab.href;
10
+ const handleClick = useCallback(() => {
11
+ onClick && onClick(tab);
12
+ EventBus.inst.fire('anchorClick', { isScrolling: true, label: tab.href });
13
+ }, [tab, onClick]);
14
+ const link = useLink();
15
+ const adjustedProps = link({ ...tab, onClick: handleClick });
16
+ return (_jsx("a", { role: "tab", className: `${LINK_CLASSES} ${active ? ACTIVE_LINK_CLASSES : INACTIVE_LINK_CLASSES}`, target: tab.target, href: adjustedProps.href, onClick: adjustedProps.onClick, children: _jsx("span", { className: `${TEXT_CLASSES} ${active ? ACTIVE_TEXT_CLASSES : INACTIVE_TEXT_CLASSES}`, children: tab.text }) }));
17
+ });
18
+ //# sourceMappingURL=LinkTab.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LinkTab.js","sourceRoot":"","sources":["../../../src/components/Tabs/LinkTab.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mB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M,SAAS,EAAE,GAAG,YAAY,IAAI,MAAM,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,qBAAqB,EAAE,YACvF,GAAG,CAAC,IAAI,GACJ,GACL,CACL,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import type { UniBlockProps } from '../../model/JSXBlock';
2
- import type { Tab, TabsContent } from './TabsContent';
2
+ import type { TabData, TabsContent } from './TabsContent';
3
3
  export interface TabActivationEvent {
4
- type?: Tab['type'];
4
+ type?: TabData['type'];
5
5
  label?: string;
6
6
  }
7
7
  export interface AnchorClickScrollingEvent {
@@ -5,7 +5,7 @@ import { EventBus } from '../../EventBus/EventBus.js';
5
5
  import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
6
6
  import { renderTab } from './renderTab.js';
7
7
  export const Tabs = JSX((props) => {
8
- const { context, className = '', tabs, page, showCounter, isSticky } = props;
8
+ const { className = '', tabs, showCounter, isSticky, ...rest } = props;
9
9
  const [currentTab, setCurrentTab] = useState(tabs ? tabs[0] : undefined);
10
10
  useEffect(() => EventBus.inst.subscribe('tab', (event) => {
11
11
  if (!tabs) {
@@ -28,7 +28,7 @@ export const Tabs = JSX((props) => {
28
28
  }
29
29
  setCurrentTab(selectedTab);
30
30
  };
31
- return (_jsx(BlockWrapper, { context: context, className: `${isSticky ? 'sticky top-1 z-20 ' : ''}box-border flex gap-x-1 ${className}`, role: "tablist", children: tabs?.map(renderTab({ onClick: handleClick, currentTab, page, showCounter, context })) }));
31
+ return (_jsx(BlockWrapper, { className: `${isSticky ? 'sticky top-1 z-20 ' : ''}box-border flex gap-x-1 ${className}`, role: "tablist", ...rest, children: tabs?.map(renderTab({ onClick: handleClick, currentTab, showCounter, ...rest })) }));
32
32
  });
33
33
  const checkTab = (event) => (_) => _.type === 'link' && _.href === `#${event.label}`;
34
34
  //# sourceMappingURL=Tabs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Tabs.js","sourceRoot":"","sources":["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AAK,EAAE,WAAW,CAAC,GAAG,EAAE,CAAC,CAAC;SAC/E;QACD,aAAa,CAAC,WAAW,CAAC,CAAC;IAC7B,CAAC,CAAC;IAEF,OAAO,CACL,KAAC,YAAY,IACX,SAAS,EAAE,GAAG,QAAQ,CAAC,CAAC,CAAC,oBAAoB,CAAC,CAAC,CAAC,EAAE,2BAA2B,SAAS,EAAE,EACxF,IAAI,EAAC,SAAS,KACV,IAAI,YAEP,IAAI,EAAE,GAAG,CAAC,SAAS,CAAC,EAAE,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,IAAI,EAAE,CAAC,CAAC,GACpE,CAChB,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,QAAQ,GAAG,CAAC,KAAyB,EAAE,EAAE,CAAC,CAAC,CAAU,EAAE,EAAE,CAC7D,CAAC,CAAC,IAAI,KAAK,MAAM,IAAI,CAAC,CAAC,IAAI,KAAK,IAAI,KAAK,CAAC,KAAK,EAAE,CAAC"}
@@ -1,9 +1,9 @@
1
- import type { LinkProps } from '../../model/LinkProps';
2
1
  import type { TitleProps } from '../../model/HeadlineType';
2
+ import type { LinkProps } from '../../model/LinkProps';
3
3
  /**
4
4
  * @title Группа
5
5
  */
6
- export declare type GroupTab = TitleProps & {
6
+ export declare type GroupTabData = TitleProps & {
7
7
  /** @default group */
8
8
  type: 'group';
9
9
  /** @title Тег */
@@ -12,7 +12,7 @@ export declare type GroupTab = TitleProps & {
12
12
  /**
13
13
  * @title Ссылка
14
14
  */
15
- export declare type LinkTab = LinkProps & {
15
+ export declare type LinkTabData = LinkProps & {
16
16
  /** @default link */
17
17
  type: 'link';
18
18
  };
@@ -22,13 +22,13 @@ export declare type LinkTab = LinkProps & {
22
22
  * "type": "group"
23
23
  * }
24
24
  */
25
- export declare type Tab = GroupTab | LinkTab;
25
+ export declare type TabData = GroupTabData | LinkTabData;
26
26
  /**
27
27
  * @title Вкладки
28
28
  */
29
29
  export interface TabsContent {
30
30
  /** @title Табы */
31
- tabs?: Tab[];
31
+ tabs?: TabData[];
32
32
  /** @title Закрепить сверху */
33
33
  isSticky?: boolean;
34
34
  /** @title Показывать счетчик блоков во вкладках */
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import type { RenderTabProps } from './renderTab';
3
- import type { GroupTab } from './TabsContent';
4
- export declare const renderGroupTab: ({ onClick, currentTab, showCounter, page }: RenderTabProps) => (tab: GroupTab, i: number) => JSX.Element;
3
+ import type { GroupTabData } from './TabsContent';
4
+ export declare const renderGroupTab: ({ page, currentTab, showCounter, onClick }: RenderTabProps) => (tab: GroupTabData, i: number) => JSX.Element;
@@ -3,7 +3,7 @@ import { ACTIVE_LINK_CLASSES, ACTIVE_TEXT_CLASSES, INACTIVE_LINK_CLASSES, INACTI
3
3
  const BADGE_CLASSES = 'min-w-[22px] h-[22px] rounded-full text-xs ml-2 flex justify-center items-center';
4
4
  const ACTIVE_BADGE_CLASSES = 'bg-white/30 text-white';
5
5
  const INACTIVE_BADGE_CLASSES = 'bg-main-divider text-secondary-text group-hover:text-primary-main';
6
- export const renderGroupTab = ({ onClick, currentTab, showCounter, page }) => (tab, i) => {
6
+ export const renderGroupTab = ({ page, currentTab, showCounter, onClick }) => (tab, i) => {
7
7
  const active = currentTab === tab;
8
8
  const count = tab.ref && page?.blocks
9
9
  ? page.blocks.filter((block) => block?.labels?.includes(tab.ref)).length
@@ -1 +1 @@
1
- {"version":3,"file":"renderGroupTab.js","sourceRoot":"","sources":["../../../src/components/Tabs/renderGroupTab.tsx"],"names":[],"mappings":";AACA,OAAO,EACL,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACrB,qBAAqB,EACrB,YAAY,EACZ,YAAY,GACb,MAAM,kBAAkB,CAAC;AAG1B,MAAM,aAAa,GACjB,kFAAkF,CAAC;AACrF,MAAM,oBAAoB,GAAG,wBAAwB,CAAC;AACtD,MAAM,sBAAsB,GAAG,mEAAmE,CAAC;AAEnG,MAAM,CAAC,M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CAAC,GAAG,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,IAAI,EAClD,WAAW,IAAI,KAAK,CAAC,CAAC,CAAC,WAAW,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,IAAI,IACrD,IATD,MAAM,CAAC,CAAC,CAAC,CAUV,CACP,CAAC;AACJ,CAAC,CAAC;AAEJ,MAAM,WAAW,GAAG,CAAC,KAAa,EAAE,MAAe,EAAE,EAAE,CAAC,CACtD,aAAI,SAAS,EAAE,GAAG,YAAY,IAAI,MAAM,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,qBAAqB,EAAE,YACrF,KAAK,GACH,CACN,CAAC;AAEF,MAAM,WAAW,GAAG,CAAC,KAAa,EAAE,MAAe,EAAE,EAAE,CAAC,CACtD,cAAK,SAAS,EAAE,GAAG,aAAa,IAAI,MAAM,CAAC,CAAC,CAAC,oBAAoB,CAAC,CAAC,CAAC,sBAAsB,EAAE,YACzF,KAAK,GACF,CACP,CAAC"}
@@ -1,12 +1,10 @@
1
1
  /// <reference types="react" />
2
2
  import type { ContentPageDef } from '../../model/ContentPageDef';
3
- import type { ContentPageContext } from '../ContentPage/ContentPageContext';
4
- import type { Tab } from './TabsContent';
3
+ import type { TabData } from './TabsContent';
5
4
  export interface RenderTabProps {
6
- onClick: (tab: Tab) => void;
7
- currentTab?: Tab;
8
5
  page?: ContentPageDef;
6
+ currentTab?: TabData;
9
7
  showCounter?: boolean;
10
- context: ContentPageContext;
8
+ onClick: (tab: TabData) => void;
11
9
  }
12
- export declare const renderTab: ({ onClick, currentTab, showCounter, page, context }: RenderTabProps) => (tab: Tab, i: number) => JSX.Element | null;
10
+ export declare const renderTab: ({ page, currentTab, showCounter, onClick }: RenderTabProps) => (tab: TabData, i: number) => JSX.Element | null;
@@ -1,34 +1,20 @@
1
- import { EventBus } from '../../EventBus/EventBus.js';
2
- import { useLink } from '../../hooks/useLink.js';
1
+ import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
3
2
  import { assertUnreachable } from '../../utils/assertUnreachable.js';
3
+ import { LinkTab } from './LinkTab.js';
4
4
  import { renderGroupTab } from './renderGroupTab.js';
5
- import { renderLinkTab } from './renderLinkTab.js';
6
- export const renderTab = ({ onClick, currentTab, showCounter, page, context }) =>
5
+ export const renderTab = ({ page, currentTab, showCounter, onClick }) =>
7
6
  // Linter doesn't understand that switch processes all cases
8
7
  // eslint-disable-next-line consistent-return
9
8
  (tab, i) => {
10
- const { useRouter, handlerDecorator } = context;
11
- const router = useRouter();
12
9
  const type = tab.type;
13
10
  if (!(type === 'group' || type === 'link')) {
14
11
  return null;
15
12
  }
16
13
  switch (type) {
17
14
  case 'group':
18
- return renderGroupTab({ onClick, currentTab, showCounter, page, context })(tab, i);
15
+ return renderGroupTab({ page, currentTab, showCounter, onClick })(tab, i);
19
16
  case 'link': {
20
- const link = useLink({ router, handlerDecorator }, tab);
21
- const linkClick = link.onClick;
22
- return renderLinkTab({
23
- ...link,
24
- onClick: (ev) => {
25
- linkClick(ev);
26
- onClick(tab);
27
- EventBus.inst.fire('anchorClick', { isScrolling: true, label: tab.href });
28
- },
29
- currentTab,
30
- i,
31
- });
17
+ return _jsx(LinkTab, { tab: tab, currentTab: currentTab }, String(i));
32
18
  }
33
19
  default:
34
20
  assertUnreachable(type);
@@ -1 +1 @@
1
- {"version":3,"file":"renderTab.js","sourceRoot":"","sources":["../../../src/components/Tabs/renderTab.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAElE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAWhD,MAAM,CAAC,MAAM,SAAS,GACpB,CAAC,EAAE,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abs/renderTab.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAUlD,MAAM,CAAC,MAAM,SAAS,GACpB,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,WAAW,EAAE,OAAO,EAAkB,EAAE,EAAE;AAC/D,4DAA4D;AAC5D,6CAA6C;AAC7C,CAAC,GAAY,EAAE,CAAS,EAAE,EAAE;IAC1B,MAAM,IAAI,GAAG,GAAG,CAAC,IAAI,CAAC;IAEtB,IAAI,CAAC,CAAC,IAAI,KAAK,OAAO,IAAI,IAAI,KAAK,MAAM,CAAC,EAAE;QAC1C,OAAO,IAAI,CAAC;KACb;IAED,QAAQ,IAAI,EAAE;QACZ,KAAK,OAAO;YACV,OAAO,cAAc,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,WAAW,EAAE,OAAO,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;QAC5E,KAAK,MAAM,CAAC,CAAC;YACX,OAAO,KAAC,OAAO,IAAiB,GAAG,EAAE,GAAG,EAAE,UAAU,EAAE,UAAU,IAA3C,MAAM,CAAC,CAAC,CAAC,CAAsC,CAAC;SACtE;QACD;YACE,iBAAiB,CAAC,IAAI,CAAC,CAAC;KAC3B;AACH,CAAC,CAAC"}
@@ -3,15 +3,12 @@ import { JSX } from '@redneckz/uni-jsx';
3
3
  import { Heading } from '../../ui-kit/Heading/Heading.js';
4
4
  import { TariffsTableHorizontal } from './TariffsTableHorizontal.js';
5
5
  import { TariffsTableVertical } from './TariffsTableVertical.js';
6
- export const TariffsTable = JSX(({ className, context, title, description, tariffsColumns: columns, rowHeaders, orientation = 'vertical', }) => {
6
+ export const TariffsTable = JSX(({ className, title, description, tariffsColumns: columns, rowHeaders, orientation = 'vertical', ...rest }) => {
7
7
  const colData = getColData(columns);
8
8
  const tiles = getTiles(rowHeaders, colData);
9
9
  const headingMargin = description ? 'mb-2' : 'mb-5';
10
- return (_jsxs("section", { className: `px-4 py-6 bg-white font-sans text-primary-text overflow-x-hidden ${className}`, children: [title ? (_jsx(Heading, { headingType: "h2", className: `text-center ${headingMargin}`, title: title })) : null, description ? _jsx("div", { className: "mb-5 text-center text-m", children: description }) : null, tiles?.length ? renderOrientationTable(orientation, tiles, context) : null] }));
10
+ return (_jsxs("section", { className: `px-4 py-6 bg-white font-sans text-primary-text overflow-x-hidden ${className}`, children: [title ? (_jsx(Heading, { headingType: "h2", className: `text-center ${headingMargin}`, title: title })) : null, description ? _jsx("div", { className: "mb-5 text-center text-m", children: description }) : null, orientation === 'vertical' ? (_jsx(TariffsTableVertical, { tiles: tiles, ...rest })) : (_jsx(TariffsTableHorizontal, { tiles: tiles, ...rest }))] }));
11
11
  });
12
- function renderOrientationTable(orientation, tiles, context) {
13
- return orientation === 'vertical' ? (_jsx(TariffsTableVertical, { context: context, tiles: tiles })) : (_jsx(TariffsTableHorizontal, { context: context, tiles: tiles }));
14
- }
15
12
  const getColData = (columns) => columns?.[0].data ? columns[0].data : [];
16
13
  const getTiles = (rowHeaders, colData) => rowHeaders?.map((header, i) => ({
17
14
  header,