@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 +1 @@
1
- {"version":3,"file":"OfficeMap.js","sourceRoot":"","sources":["../../../src/components/OfficeMap/OfficeMap.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,iDAA8C;AAC9C,gEAA6D;AAC7D,mDAA6C;AAC7C,mDAAgD;AAEhD,uDAA4F;AAC5F,iDAA8C;AAEjC,QAAA,SAAS,GAAG,IAAA,aAAG,EAAgB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,EAAE,EAAE;IACjE,MAAM,eAAe,GAAG,IAAA,2BAAY,EAAC,KAAK,CAAC,IAAI,0BAAU,CAAC;IAC1D,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,YAAY,EAAE,GAC9D,eAAiC,CAAC;IACpC,MAAM,EACJ,aAAa,EACb,cAAc,EACd,gBAAgB,EAChB,eAAe,EACf,aAAa,EACb,eAAe,EACf,aAAa,GACd,GAAG,YAAY,CAAC;IACjB,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,GAAG,YAAY,CAAC;IAClF,MAAM,KAAK,GAAG,WAAW,IAAI,YAAY,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,YAAY,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;IAC/E,MAAM,gBAAgB,GAAuB;QAC3C,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,SAAS,EAAE;QACpE,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,cAAc,EA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AC5E,OAAO,IACJ,EACN,gCAAK,SAAS,EAAC,WAAW,YAAE,6BAAa,CAAC,GAAG,CAAC,oCAAkB,CAAC,GAAO,IACpE,EACN,iCAAK,SAAS,EAAC,2BAA2B,aACxC,gCAAK,SAAS,EAAC,yCAAyC,YACrD,KAAK,CAAC,CAAC,CAAC,uBAAC,qBAAS,IAAC,MAAM,EAAE,CAAC,KAAK,CAAC,EAAE,SAAS,EAAC,QAAQ,GAAG,CAAC,CAAC,CAAC,IAAI,GAC7D,EACN,gCAAK,SAAS,EAAC,wDAAwD,YACpE,gBAAgB,CAAC,GAAG,CAAC,2BAAS,CAAC,GAC5B,IACF,IACF,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -1,3 +1,57 @@
1
1
  export declare function useOfficeMap(regionCode?: string): {
2
- data?: any;
3
- } | undefined;
2
+ id: number;
3
+ branchType: {
4
+ id: number;
5
+ code: string;
6
+ name: string;
7
+ };
8
+ shortName: string;
9
+ name: string;
10
+ address: string;
11
+ lawAddress: string;
12
+ openDate: string;
13
+ closeDate: null;
14
+ bik: string;
15
+ corAcc: string;
16
+ registrationNumber: string;
17
+ phone: string;
18
+ fax: string;
19
+ okpo: string;
20
+ ogrn: string;
21
+ kpp: string;
22
+ inn: string;
23
+ branchCode: string;
24
+ upperBranchCode: string;
25
+ timeZone: string;
26
+ exchangeRate: {
27
+ currencies: {
28
+ buyExchangeRate: number;
29
+ saleExchangeRate: number;
30
+ currency: {
31
+ id: number;
32
+ code: string;
33
+ currency: string;
34
+ name: string;
35
+ };
36
+ }[];
37
+ lastUpdate: string;
38
+ };
39
+ workSchedule: {
40
+ id: number;
41
+ workTime: string;
42
+ lunchHour: string;
43
+ workTimeSaturday: string;
44
+ lunchHourSaturday: string;
45
+ workingMonday: boolean;
46
+ workingTuesday: boolean;
47
+ workingWednesday: boolean;
48
+ workingThursday: boolean;
49
+ workingFriday: boolean;
50
+ workingSaturday: boolean;
51
+ workingSunday: boolean;
52
+ };
53
+ gpsLatitude: number;
54
+ gpsLongitude: number;
55
+ range: null;
56
+ safeBoxCaseVolumes: null;
57
+ };
@@ -2,12 +2,15 @@ Object.defineProperty(exports, "__esModule", { value: true });
2
2
  exports.useOfficeMap = void 0;
3
3
  const useAsyncData_1 = require("@redneckz/uni-jsx/lib/hooks/useAsyncData");
4
4
  const fetchJSON_1 = require("../../utils/fetchJSON");
5
+ const mockOfficeMap_1 = require("./mockOfficeMap");
5
6
  const OFFICE_MAP_URL = '/api/v1/branches';
6
7
  // TODO: regionCode - внутренний идентификатор банка. Не соответствует государственной нумерации регионов РФ
7
8
  // TODO: Список регионов можно получить через api/v1/regions
8
9
  function useOfficeMap(regionCode) {
9
10
  const { data } = (0, useAsyncData_1.useAsyncData)(regionCode ? `${OFFICE_MAP_URL}?regionCode=${regionCode}` : undefined, fetchOfficeMap);
10
- return data;
11
+ console.warn('WARNING!!! Hook useOfficeMap RETURN MOCK object for testing!');
12
+ console.log('Hook useOfficeMap get this data:', data);
13
+ return mockOfficeMap_1.OFFICE_MAP;
11
14
  }
12
15
  exports.useOfficeMap = useOfficeMap;
13
16
  const fetchOfficeMap = (url) => {
@@ -1 +1 @@
1
- {"version":3,"file":"useOfficeMap.js","sourceRoot":"","sources":["../../../src/components/OfficeMap/useOfficeMap.ts"],"names":[],"mappings":";;AAAA,2EAAwE;AACxE,qDAAkD;AAElD,MAAM,cAAc,GAAG,kBAAkB,CAAC;AAE1C,4GAA4G;AAC5G,4DAA4D;AAC5D,SAAgB,YAAY,CAAC,UAAmB;IAC9C,MAAM,EAAE,IAAI,EAAE,GAAG,IAAA,2BAAY,EAC3B,UAAU,CAAC,CAAC,CAAC,GAAG,cAAc,eAAe,UAAU,EAAE,CAAC,CAAC,CAAC,SAAS,EACrE,cAAc,CACf,CAAC;IAEF,OAAO,IAAI,CAAC;AACd,CAAC;AAPD,oCAOC;AAED,MAAM,cAAc,GAAG,CAAC,GAAY,EAAE,EAAE;IACtC,IAAI,CAAC,GAAG,EAAE;QACR,OAAO,EAAE,CAAC;KACX;IAED,OAAO,IAAA,qBAAS,EAAC,GAAG,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,CAAC;AAC3C,CAAC,CAAC"}
1
+ {"version":3,"file":"useOfficeMap.js","sourceRoot":"","sources":["../../../src/components/OfficeMap/useOfficeMap.ts"],"names":[],"mappings":";;AAAA,2EAAwE;AACxE,qDAAkD;AAClD,mDAA6C;AAE7C,MAAM,cAAc,GAAG,kBAAkB,CAAC;AAE1C,4GAA4G;AAC5G,4DAA4D;AAC5D,SAAgB,YAAY,CAAC,UAAmB;IAC9C,MAAM,EAAE,IAAI,EAAE,GAAG,IAAA,2BAAY,EAC3B,UAAU,CAAC,CAAC,CAAC,GAAG,cAAc,eAAe,UAAU,EAAE,CAAC,CAAC,CAAC,SAAS,EACrE,cAAc,CACf,CAAC;IACF,OAAO,CAAC,IAAI,CAAC,+DAA+D,CAAC,CAAC;IAC9E,OAAO,CAAC,GAAG,CAAC,kCAAkC,EAAE,IAAI,CAAC,CAAC;IAEtD,OAAO,0BAAU,CAAC;AACpB,CAAC;AATD,oCASC;AAED,MAAM,cAAc,GAAG,CAAC,GAAY,EAAE,EAAE;IACtC,IAAI,CAAC,GAAG,EAAE;QACR,OAAO,EAAE,CAAC;KACX;IAED,OAAO,IAAA,qBAAS,EAAC,GAAG,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,CAAC;AAC3C,CAAC,CAAC"}
@@ -6,8 +6,6 @@ const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
6
6
  const Heading_1 = require("../../ui-kit/Heading/Heading");
7
7
  const Img_1 = require("../../ui-kit/Img/Img");
8
8
  const getIconWithVersion_1 = require("../../utils/getIconWithVersion");
9
- exports.OfficeServicesBlock = (0, uni_jsx_1.JSX)(({ className = '', context, title, servicesList, anchor = '', ...rest }) => {
10
- return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { context: context, id: anchor, className: `font-sans bg-white p-8 flex flex-col ${className}`, ...rest, children: [title ? (0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h5", className: "mb-5", title: title }) : null, servicesList?.length ? ((0, jsx_runtime_1.jsx)("ul", { className: "list-none m-0 p-0", children: servicesList.map(renderListItems) })) : null] }));
11
- });
9
+ exports.OfficeServicesBlock = (0, uni_jsx_1.JSX)(({ className = '', title, servicesList, ...rest }) => ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `font-sans bg-white p-8 flex flex-col ${className}`, ...rest, children: [title ? (0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h5", className: "mb-5", title: title }) : null, servicesList?.length ? ((0, jsx_runtime_1.jsx)("ul", { className: "list-none m-0 p-0", children: servicesList.map(renderListItems) })) : null] })));
12
10
  const renderListItems = (itemList, i) => ((0, jsx_runtime_1.jsxs)("li", { className: "flex mb-5 last:mb-0 list-none", children: [itemList.icon ? ((0, jsx_runtime_1.jsx)(Img_1.Img, { className: "mr-3 min-w-6 min-h-6 w-6 h-6", width: "24", height: "24", asSVG: true, image: (0, getIconWithVersion_1.getIconWithVersion)(itemList.icon) })) : null, itemList.label ? (0, jsx_runtime_1.jsx)("span", { className: "text-l-light", children: itemList.label }) : null] }, `list_item_${String(i)}`));
13
11
  //# sourceMappingURL=OfficeServicesBlock.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"OfficeServicesBlock.js","sourceRoot":"","sources":["../../../src/components/OfficeServicesBlock/OfficeServicesBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,4DAAyD;AACzD,0DAAuD;AACvD,8CAA2C;AAK3C,uEAAoE;AAIvD,QAAA,mBAAmB,GAAG,IAAA,aAAG,EACpC,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,YAAY,EAAE,MAAM,GAAG,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IACzE,OAAO,CACL,wBAAC,2BAAY,IACX,OAAO,EAAE,OAAO,EAChB,EAAE,EAAE,MAAM,EACV,SAAS,EAAE,wCAAwC,SAAS,EAAE,KAC1D,IAAI,aAEP,KAAK,CAAC,CAAC,CAAC,uBAAC,iBAAO,IAAC,WAAW,EAAC,IAAI,EAAC,SAAS,EAAC,MAAM,EAAC,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,EAC1E,YAAY,EAAE,MAAM,CAAC,CAAC,CAAC,CACtB,+BAAI,SAAS,EAAC,mBAAmB,YAAE,YAAY,CAAC,GAAG,CAAC,eAAe,CAAC,GAAM,CAC3E,CAAC,CAAC,CAAC,IAAI,IACK,CAChB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,eAAe,GAAG,CAAC,QAAiC,EAAE,CAAS,EAAE,EAAE,CAAC,CACxE,gCAAmC,SAAS,EAAC,+BAA+B,aACzE,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,CACf,uBAAC,SAAG,IACF,SAAS,EAAC,8BAA8B,EACxC,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,KAAK,QACL,KAAK,EAAE,IAAA,uCAAkB,EAAC,QAAQ,CAAC,IAAI,CAAC,GACxC,CACH,CAAC,CAAC,CAAC,IAAI,EACP,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,iCAAM,SAAS,EAAC,cAAc,YAAE,QAAQ,CAAC,KAAK,GAAQ,CAAC,CAAC,CAAC,IAAI,KAVxE,aAAa,MAAM,CAAC,CAAC,CAAC,EAAE,CAW5B,CACN,CAAC"}
1
+ {"version":3,"file":"OfficeServicesBlock.js","sourceRoot":"","sources":["../../../src/components/OfficeServicesBlock/OfficeServicesBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,4DAAyD;AACzD,0DAAuD;AACvD,8CAA2C;AAC3C,uEAAoE;AAQvD,QAAA,mBAAmB,GAAG,IAAA,aAAG,EACpC,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,YAAY,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CACpD,wBAAC,2BAAY,IAAC,SAAS,EAAE,wCAAwC,SAAS,EAAE,KAAM,IAAI,aACnF,KAAK,CAAC,CAAC,CAAC,uBAAC,iBAAO,IAAC,WAAW,EAAC,IAAI,EAAC,SAAS,EAAC,MAAM,EAAC,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,EAC1E,YAAY,EAAE,MAAM,CAAC,CAAC,CAAC,CACtB,+BAAI,SAAS,EAAC,mBAAmB,YAAE,YAAY,CAAC,GAAG,CAAC,eAAe,CAAC,GAAM,CAC3E,CAAC,CAAC,CAAC,IAAI,IACK,CAChB,CACF,CAAC;AAEF,MAAM,eAAe,GAAG,CAAC,QAAiC,EAAE,CAAS,EAAE,EAAE,CAAC,CACxE,gCAAmC,SAAS,EAAC,+BAA+B,aACzE,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,CACf,uBAAC,SAAG,IACF,SAAS,EAAC,8BAA8B,EACxC,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,KAAK,QACL,KAAK,EAAE,IAAA,uCAAkB,EAAC,QAAQ,CAAC,IAAI,CAAC,GACxC,CACH,CAAC,CAAC,CAAC,IAAI,EACP,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,iCAAM,SAAS,EAAC,cAAc,YAAE,QAAQ,CAAC,KAAK,GAAQ,CAAC,CAAC,CAAC,IAAI,KAVxE,aAAa,MAAM,CAAC,CAAC,CAAC,EAAE,CAW5B,CACN,CAAC"}
@@ -3,6 +3,6 @@ exports.OtherProducts = void 0;
3
3
  const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
4
  const uni_jsx_1 = require("@redneckz/uni-jsx");
5
5
  const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
6
- exports.OtherProducts = (0, uni_jsx_1.JSX)(({ context, className = '', children, ...rest }) => ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { context: context, className: `font-sans text-primary-text ${className}`, ...rest, children: children })));
6
+ exports.OtherProducts = (0, uni_jsx_1.JSX)(({ className = '', children, ...rest }) => ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: `font-sans text-primary-text ${className}`, ...rest, children: children })));
7
7
  exports.OtherProducts.childrenTypes = ['OtherProductsItem'];
8
8
  //# sourceMappingURL=OtherProducts.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"OtherProducts.js","sourceRoot":"","sources":["../../../src/components/OtherProducts/OtherProducts.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,4DAAyD;AAK5C,QAAA,aAAa,GAAiC,IAAA,aAAG,EAC5D,CAAC,EAAE,OAAO,EAAE,SAAS,GAAG,EAAE,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CAClD,uBAAC,2BAAY,IACX,OAAO,EAAE,OAAO,EAChB,SAAS,EAAE,+BAA+B,SAAS,EAAE,KACjD,IAAI,YAEP,QAAQ,GACI,CAChB,CACF,CAAC;AAEF,qBAAa,CAAC,aAAa,GAAG,CAAC,mBAAmB,CAAC,CAAC"}
1
+ {"version":3,"file":"OtherProducts.js","sourceRoot":"","sources":["../../../src/components/OtherProducts/OtherProducts.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,4DAAyD;AAK5C,QAAA,aAAa,GAAiC,IAAA,aAAG,EAC5D,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CACzC,uBAAC,2BAAY,IAAC,SAAS,EAAE,+BAA+B,SAAS,EAAE,KAAM,IAAI,YAC1E,QAAQ,GACI,CAChB,CACF,CAAC;AAEF,qBAAa,CAAC,aAAa,GAAG,CAAC,mBAAmB,CAAC,CAAC"}
@@ -8,9 +8,7 @@ const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
8
8
  const Img_1 = require("../../ui-kit/Img/Img");
9
9
  const addSpacesBetweenNumbers_1 = require("../../utils/addSpacesBetweenNumbers");
10
10
  const Headline_1 = require("../Headline/Headline");
11
- exports.PictureText = (0, uni_jsx_1.JSX)(({ className = '', context, title, description, image, benefits, version = 'primary', sum, monthLimit, directionRight = false, ...rest }) => {
12
- return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `relative font-sans py-12 px-24 ${BlockVersion_1.VersionStyleMap[version]} ${className}`, context: context, ...rest, children: [(0, jsx_runtime_1.jsx)(Headline_1.Headline, { context: context, className: "!p-0", title: title, description: description, headlineVersion: "M", bgColorHeadline: version, align: "center" }), (0, jsx_runtime_1.jsxs)("div", { className: 'flex justify-center gap-[122px] mt-[30px]', children: [image?.src ? (0, jsx_runtime_1.jsx)(Img_1.Img, { className: directionRight ? 'order-2' : '', image: image }) : null, (0, jsx_runtime_1.jsxs)("div", { className: "w-[558px] m-auto", children: [benefits?.length ? ((0, jsx_runtime_1.jsx)("div", { className: "flex flex-col gap-4", children: benefits.map(renderBenefit(version)) })) : null, renderInsuranceSumMonth(Number(sum), Number(monthLimit))] })] })] }));
13
- });
11
+ exports.PictureText = (0, uni_jsx_1.JSX)(({ className = '', title, description, image, benefits, version = 'primary', sum, monthLimit, directionRight = false, ...rest }) => ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `relative font-sans py-12 px-24 ${BlockVersion_1.VersionStyleMap[version]} ${className}`, ...rest, children: [(0, jsx_runtime_1.jsx)(Headline_1.Headline, { className: "!p-0", title: title, description: description, headlineVersion: "M", bgColorHeadline: version, align: "center", ...rest }), (0, jsx_runtime_1.jsxs)("div", { className: 'flex justify-center gap-[122px] mt-[30px]', children: [image?.src ? (0, jsx_runtime_1.jsx)(Img_1.Img, { className: directionRight ? 'order-2' : '', image: image }) : null, (0, jsx_runtime_1.jsxs)("div", { className: "w-[558px] m-auto", children: [benefits?.length ? ((0, jsx_runtime_1.jsx)("div", { className: "flex flex-col gap-4", children: benefits.map(renderBenefit(version)) })) : null, renderInsuranceSumMonth(Number(sum), Number(monthLimit))] })] })] })));
14
12
  const renderBenefit = (version) => (benefit, i) => ((0, jsx_runtime_1.jsx)(BenefitItem_1.BenefitItem, { icon: benefit.icon, label: benefit.label, description: benefit.description, version: version }, String(i)));
15
13
  function renderInsuranceSumMonth(sum, monthLimit) {
16
14
  return sum || monthLimit ? ((0, jsx_runtime_1.jsxs)("div", { className: "bg-main-divider rounded-md flex mt-7 gap-6 px-5 py-4", children: [Number(sum) > 0 ? renderValueBlock('Страховая сумма:', sum, Boolean(monthLimit)) : null, Number(monthLimit) > 0
@@ -1 +1 @@
1
- {"version":3,"file":"PictureText.js","sourceRoot":"","sources":["../../../src/components/PictureText/PictureText.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,2DAA2D;AAE3D,sEAAmE;AAEnE,4DAAyD;AACzD,8CAA2C;AAC3C,iFAA8E;AAC9E,mDAAgD;AAKnC,QAAA,WAAW,GAAG,IAAA,aAAG,EAC5B,CAAC,EACC,SAAS,GAAG,EAAE,EACd,OAAO,EACP,KAAK,EACL,WAAW,EACX,KAAK,EACL,QAAQ,EACR,OAAO,GAAG,SAAS,EACnB,GAAG,EACH,UAAU,EACV,cAAc,GAAG,KAAK,EACtB,GAAG,IAAI,EACR,EAAE,EAAE;IACH,OAAO,CACL,wBAAC,2BAAY,IACX,SAAS,EAAE,kCAAkC,8BAAe,CAAC,OAAO,CAAC,IAAI,SAAS,EAAE,EACpF,OAAO,EAAE,OAAO,KACZ,IAAI,aAER,uBAAC,mBAAQ,IACP,OAAO,EAAE,OAAO,EAChB,SAAS,EAAC,MAAM,EAChB,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,eAAe,EAAC,GAAG,EACnB,eAAe,EAAE,OAAO,EACxB,KAAK,EAAC,QAAQ,GACd,EACF,iCAAK,SAAS,EAAE,2CAA2C,aACxD,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,uBAAC,S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CAAC,IAAI,CAAC;AACX,CAAC;AAED,SAAS,gBAAgB,CAAC,KAAa,EAAE,GAAG,GAAG,CAAC,EAAE,cAAc,GAAG,KAAK;IACtE,MAAM,UAAU,GAAG,cAAc,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC;IAEvD,OAAO,CACL,iCAAK,SAAS,EAAE,iEAAiE,UAAU,EAAE,aAC3F,iCAAM,SAAS,EAAC,kCAAkC,YAAE,KAAK,GAAQ,EACjE,kCAAM,SAAS,EAAC,2BAA2B,aAAE,IAAA,iDAAuB,EAAC,GAAG,CAAC,eAAU,IAC/E,CACP,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"PictureText.js","sourceRoot":"","sources":["../../../src/components/PictureText/PictureText.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,2DAA2D;AAE3D,sEAAmE;AAEnE,4DAAyD;AACzD,8CAA2C;AAC3C,iFAA8E;AAC9E,mDAAgD;AAKnC,QAAA,WAAW,GAAG,IAAA,aAAG,EAC5B,CAAC,EACC,SAAS,GAAG,EAAE,EACd,KAAK,EACL,WAAW,EACX,KAAK,EACL,QAAQ,EACR,OAAO,GAAG,SAAS,EACnB,GAAG,EACH,UAAU,EACV,cAAc,GAAG,KAAK,EACtB,GAAG,IAAI,EACR,EAAE,EAAE,CAAC,CACJ,wBAAC,2BAAY,IACX,SAAS,EAAE,kCAAkC,8BAAe,CAAC,OAAO,CAAC,IAAI,SAAS,EAAE,KAChF,IAAI,aAER,uBAAC,mBAAQ,IACP,SAAS,EAAC,MAAM,EAChB,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,eAAe,EAAC,GAAG,EACnB,eAAe,EAAE,OAAO,EACxB,KAAK,EAAC,QAAQ,KACV,IAAI,GACR,EACF,iCAAK,SAAS,EAAE,2CAA2C,aACxD,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,uBAAC,SAAG,IAAC,SAAS,EAAE,cAAc,CAAC,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,KAAa,EAAE,GAAG,GAAG,CAAC,EAAE,cAAc,GAAG,KAAK;IACtE,MAAM,UAAU,GAAG,cAAc,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC;IAEvD,OAAO,CACL,iCAAK,SAAS,EAAE,iEAAiE,UAAU,EAAE,aAC3F,iCAAM,SAAS,EAAC,kCAAkC,YAAE,KAAK,GAAQ,EACjE,kCAAM,SAAS,EAAC,2BAA2B,aAAE,IAAA,iDAAuB,EAAC,GAAG,CAAC,eAAU,IAC/E,CACP,CAAC;AACJ,CAAC"}
@@ -1,6 +1,5 @@
1
1
  import type { UniBlockProps } from '../../model/JSXBlock';
2
2
  import type { PlaceholderContent } from './PlaceholderContent';
3
3
  export interface PlaceholderProps extends PlaceholderContent, UniBlockProps {
4
- className?: string;
5
4
  }
6
5
  export declare const Placeholder: import("@redneckz/uni-jsx").UNIComponent<PlaceholderProps, any, any>;
@@ -8,8 +8,8 @@ const getTileMinHeight_1 = require("../BaseTile/getTileMinHeight");
8
8
  const getTileRightPadding_1 = require("../BaseTile/getTileRightPadding");
9
9
  const Headline_1 = require("../Headline/Headline");
10
10
  const GOLDEN_RATIO = 1.618;
11
- exports.Placeholder = (0, uni_jsx_1.JSX)(({ className, context, title, description = 'Блок в разработке...', ...rest }) => {
12
- return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { context: context, className: `bg-white text-primary-text font-sans p-9 box-border ${className} ${(0, getTileRightPadding_1.getTileRightPadding)(className)} ${(0, getTileMinHeight_1.getTileMinHeight)(className)} `, ...rest, children: [(0, jsx_runtime_1.jsx)(Headline_1.Headline, { context: context, className: "!p-0 max-w-[600px]", title: title, description: description, headlineVersion: (0, getTileHeadingType_1.getTileHeadingType)(className) }), (0, jsx_runtime_1.jsx)("figure", { className: "m-0 min-w-[80%]", children: renderShimmer() })] }));
11
+ exports.Placeholder = (0, uni_jsx_1.JSX)(({ className, title, description = 'Блок в разработке...', ...rest }) => {
12
+ return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `bg-white text-primary-text font-sans p-9 box-border ${className} ${(0, getTileRightPadding_1.getTileRightPadding)(className)} ${(0, getTileMinHeight_1.getTileMinHeight)(className)} `, ...rest, children: [(0, jsx_runtime_1.jsx)(Headline_1.Headline, { className: "!p-0 max-w-[600px]", title: title, description: description, headlineVersion: (0, getTileHeadingType_1.getTileHeadingType)(className), ...rest }), (0, jsx_runtime_1.jsx)("figure", { className: "m-0 min-w-[80%]", children: renderShimmer() })] }));
13
13
  });
14
14
  const renderShimmer = (size = 3) => goldenSequence(100, size)
15
15
  .map((_) => Math.floor(_))
@@ -1 +1 @@
1
- {"version":3,"file":"Placeholder.js","sourceRoot":"","sources":["../../../src/components/Placeholder/Placeholder.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,4DAAyD;AACzD,uEAAoE;AACpE,mEAAgE;AAChE,yEAAsE;AACtE,mDAAgD;AAOhD,MAAM,YAAY,GAAG,KAAK,CAAC;AAEd,QAAA,WAAW,GAAG,IAAA,aAAG,EAC5B,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE,WAAW,GAAG,sBAAsB,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IAC/E,OAAO,CACL,wBAAC,2BAAY,IACX,OAAO,EAAE,OAAO,EAChB,SAAS,EAAE,uDAAuD,SAAS,IAAI,IAAA,yCAAmB,EAChG,SAAS,CACV,IAAI,IAAA,mCAAgB,EAAC,SAAS,CAAC,GAAG,KAC/B,IAAI,aAER,uBAAC,mBAAQ,IACP,OAAO,EAAE,OAAO,EAChB,SAAS,EAAC,oBAAoB,EAC9B,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,eAAe,EAAE,IAAA,uCAAkB,EAAC,SAAS,CAAC,GAC9C,EACF,mCAAQ,SAAS,EAAC,iBAAiB,YAAE,aAAa,EAAE,GAAU,IACjD,CAChB,CAAC;AACJ,CAAC,CACF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SAAS,EAAC,oBAAoB,EAC9B,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,eAAe,EAAE,IAAA,uCAAkB,EAAC,SAAS,CAAC,KAC1C,IAAI,GACR,EACF,mCAAQ,SAAS,EAAC,iBAAiB,YAAE,aAAa,EAAE,GAAU,IACjD,CAChB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,aAAa,GAAG,CAAC,IAAI,GAAG,CAAC,EAAE,EAAE,CACjC,cAAc,CAAC,GAAG,EAAE,IAAI,CAAC;KACtB,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;KACzB,GAAG,CAAC,iBAAiB,CAAC,CAAC;AAE5B,MAAM,iBAAiB,GAAG,CAAC,KAAa,EAAE,KAAa,EAAE,EAAE,CAAC,CAC1D,gCAEE,KAAK,EAAE,EAAE,KAAK,EAAE,GAAG,KAAK,IAAI,GAAG,GAAG,EAAE,EACpC,SAAS,EAAC,6BAA6B,IAFlC,MAAM,CAAC,KAAK,CAAC,CAGlB,CACH,CAAC;AAEF,MAAM,cAAc,GAAG,CAAC,KAAa,EAAE,IAAY,EAAY,EAAE,CAC/D,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,IAAI,GAAG,CAAC,CAAC,CAAC,CAAC,cAAc,CAAC,KAAK,GAAG,YAAY,EAAE,IAAI,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC"}
@@ -8,8 +8,8 @@ const List_1 = require("../../ui-kit/List/List");
8
8
  const BaseTile_1 = require("../BaseTile/BaseTile");
9
9
  const Headline_1 = require("../Headline/Headline");
10
10
  const renderBenefit_1 = require("./renderBenefit");
11
- exports.ProductBlockInner = (0, uni_jsx_1.JSX)(({ className = '', context, title, headlineVersion = 'L', description, benefits, benefitsVersion = 'normal', buttons, image, items, version = 'primary', isDotted = true, label, }) => {
12
- return ((0, jsx_runtime_1.jsxs)("div", { className: `w-full ${className}`, children: [(0, jsx_runtime_1.jsxs)("div", { children: [label ? renderLabel(label, version) : null, (0, jsx_runtime_1.jsx)(Headline_1.Headline, { context: context, className: "!p-0 max-w-[600px]", title: title, description: description, bgColorHeadline: version, headlineVersion: headlineVersion }), (0, jsx_runtime_1.jsxs)(BaseTile_1.BaseTile, { context: context, buttons: buttons?.length ? ((0, jsx_runtime_1.jsx)(ButtonSection_1.ButtonSection, { context: context, buttons: buttons, className: "flex flex-col mt-5 gap-2.5" })) : null, children: [benefits?.filter((_) => _.label)?.length ? ((0, jsx_runtime_1.jsx)("div", { className: "mt-3", children: benefits.map((0, renderBenefit_1.renderBenefit)(version, benefitsVersion)) })) : null, items?.length ? ((0, jsx_runtime_1.jsx)(List_1.List, { className: "mt-3 text-m", items: items, version: version, isDotted: isDotted })) : null] })] }), renderImage(image)] }));
11
+ exports.ProductBlockInner = (0, uni_jsx_1.JSX)(({ className = '', headlineVersion = 'L', benefits, benefitsVersion = 'normal', buttons, image, items, version = 'primary', isDotted = true, label, ...rest }) => {
12
+ return ((0, jsx_runtime_1.jsxs)("div", { className: `w-full ${className}`, children: [(0, jsx_runtime_1.jsxs)("div", { children: [label ? renderLabel(label, version) : null, (0, jsx_runtime_1.jsx)(Headline_1.Headline, { className: "!p-0 max-w-[600px]", bgColorHeadline: version, headlineVersion: headlineVersion, ...rest }), (0, jsx_runtime_1.jsxs)(BaseTile_1.BaseTile, { buttons: buttons?.length ? ((0, jsx_runtime_1.jsx)(ButtonSection_1.ButtonSection, { buttons: buttons, className: "flex flex-col mt-5 gap-2.5" })) : null, children: [benefits?.filter((_) => _.label)?.length ? ((0, jsx_runtime_1.jsx)("div", { className: "mt-3", children: benefits.map((0, renderBenefit_1.renderBenefit)(version, benefitsVersion)) })) : null, items?.length ? ((0, jsx_runtime_1.jsx)(List_1.List, { className: "mt-3 text-m", items: items, version: version, isDotted: isDotted })) : null] })] }), renderImage(image)] }));
13
13
  });
14
14
  function renderImage(image) {
15
15
  return image?.src ? ((0, jsx_runtime_1.jsx)(Img_1.Img, { imageClassName: "mt-5 mx-auto block", image: { className: 'block', ...image } })) : null;
@@ -1 +1 @@
1
- {"version":3,"file":"ProductBlockInner.js","sourceRoot":"","sources":["../../../src/components/ProductBlock/ProductBlockInner.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAIxC,qEAAkE;AAClE,8CAA2C;AAC3C,iDAA8C;AAC9C,mDAAgD;AAChD,mDAAgD;AAEhD,mDAAgD;AAInC,QAAA,iBAAiB,GAAG,IAAA,aAAG,EAClC,CAAC,EACC,SAAS,GAAG,EAAE,EACd,OAAO,EACP,KAAK,EACL,eAAe,GAAG,GAAG,EACrB,WAAW,EACX,QAAQ,EACR,eAAe,GAAG,QAAQ,EAC1B,OAAO,EACP,KAAK,EACL,KAAK,EACL,OAAO,GAAG,SAAS,EACnB,QAAQ,GAAG,IAAI,EACf,KAAK,GACN,EAAE,EAAE;IACH,OAAO,CACL,iCAAK,SAAS,EAAE,UAAU,SAAS,EAAE,aACnC,4CACG,KAAK,CAAC,CAAC,CAAC,WAAW,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,EAC3C,uBAAC,mBAAQ,IACP,OAAO,EAAE,OAAO,EAChB,SAAS,EAAC,oBAAoB,EAC9B,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,eAAe,EAAE,OAAO,EACxB,eAAe,EAAE,eAAe,GAChC,EACF,wBAAC,mBAAQ,IACP,OAAO,EAAE,OAAO,EAChB,OAAO,EACL,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC,CAChB,uBAAC,6BAAa,IACZ,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,OAAO,EAChB,SAAS,EAAC,4BAA4B,GACtC,CACH,CAAC,CAAC,CAAC,IAAI,aAGT,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC,CAC1C,gCAAK,SAAS,EAAC,MAAM,YAAE,QAAQ,CAAC,GAAG,CAAC,IAAA,6BAAa,EAAC,OAAO,EAAE,eAAe,CAAC,CAAC,GAAO,CACpF,CAAC,CAAC,CAAC,IAAI,EACP,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CACf,uBAAC,WAAI,IAAC,SAAS,EAAC,aAAa,EAAC,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,GAAI,CACrF,CAAC,CAAC,CAAC,IAAI,IACC,IACP,EACL,WAAW,CAAC,KAAK,CAAC,IACf,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,SAAS,WAAW,CAAC,KAAe;IAClC,OAAO,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,CAClB,uBAAC,SAAG,IAAC,cAAc,EAAC,oBAAoB,EAAC,KAAK,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,GAAG,KAAK,EAAE,GAAI,CACrF,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC;AAED,MAAM,aAAa,GAAiC;IAClD,OAAO,EAAE,0CAA0C;IACnD,SAAS,EAAE,eAAe;CAC3B,CAAC;AAEF,MAAM,WAAW,GAAG,CAAC,KAAa,EAAE,OAAqB,EAAE,EAAE,CAAC,CAC5D,gCACE,SAAS,EAAE,6DAA6D,aAAa,CAAC,OAAO,CAAC,EAAE,YAE/F,KAAK,GACF,CACP,CAAC"}
1
+ {"version":3,"file":"ProductBlockInner.js","sourceRoot":"","sources":["../../../src/components/ProductBlock/ProductBlockInner.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAIxC,qEAAkE;AAClE,8CAA2C;AAC3C,iDAA8C;AAC9C,mDAAgD;AAChD,mDAAgD;AAEhD,mDAAgD;AAInC,QAAA,iBAAiB,GAAG,IAAA,aAAG,EAClC,CAAC,EACC,SAAS,GAAG,EAAE,EACd,eAAe,GAAG,GAAG,EACrB,QAAQ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AAC,cAAc,EAAC,oBAAoB,EAAC,KAAK,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,GAAG,KAAK,EAAE,GAAI,CACrF,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC;AAED,MAAM,aAAa,GAAiC;IAClD,OAAO,EAAE,0CAA0C;IACnD,SAAS,EAAE,eAAe;CAC3B,CAAC;AAEF,MAAM,WAAW,GAAG,CAAC,KAAa,EAAE,OAAqB,EAAE,EAAE,CAAC,CAC5D,gCACE,SAAS,EAAE,6DAA6D,aAAa,CAAC,OAAO,CAAC,EAAE,YAE/F,KAAK,GACF,CACP,CAAC"}
@@ -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;
@@ -7,6 +7,7 @@ function renderBackwardButton(button, version, className) {
7
7
  const { text, href, target, onClick } = button;
8
8
  const iconVersion = version === 'primary' ? 'white' : 'black';
9
9
  const backwardIcon = button?.icon || { icon: 'ArrowLeftIcon' };
10
+ // TODO Move click handler to Button
10
11
  return ((0, jsx_runtime_1.jsxs)("div", { className: `flex items-center cursor-pointer ${className}`, onClick: onClick, children: [(0, jsx_runtime_1.jsx)(Button_1.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: (0, jsx_runtime_1.jsx)(Img_1.Img, { className: "w-4 h-4", image: { ...backwardIcon, iconVersion: backwardIcon.iconVersion || iconVersion }, asSVG: true }) }), text ? (0, jsx_runtime_1.jsx)("span", { className: "text-m", children: text }) : null] }));
11
12
  }
12
13
  exports.renderBackwardButton = renderBackwardButton;
@@ -1 +1 @@
1
- {"version":3,"file":"renderBackwardButton.js","sourceRoot":"","sources":["../../../src/components/ProductBlock/renderBackwardButton.tsx"],"names":[],"mappings":";;;AAAA,uDAAoD;AACpD,8CAA2C;AAI3C,SAAgB,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,iCAAK,SAAS,EAAE,oCAAoC,SAAS,EAAE,EAAE,OAAO,EAAE,OAAO,aAC/E,uBAAC,eAAM,IACL,OAAO,EAAE,OAAO,EAChB,OAAO,QACP,SAAS,EAAC,mEAAmE,EAC7E,SAAS,EAAE,IAAI,EACf,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,MAAM,YAEd,uBAAC,SAAG,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,iCAAM,SAAS,EAAC,QAAQ,YAAE,IAAI,GAAQ,CAAC,CAAC,CAAC,IAAI,IACjD,CACP,CAAC;AACJ,CAAC;AA5BD,oDA4BC"}
1
+ {"version":3,"file":"renderBackwardButton.js","sourceRoot":"","sources":["../../../src/components/ProductBlock/renderBackwardButton.tsx"],"names":[],"mappings":";;;AACA,uDAAoD;AAEpD,8CAA2C;AAE3C,SAAgB,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,iCAAK,SAAS,EAAE,oCAAoC,SAAS,EAAE,EAAE,OAAO,EAAE,OAAO,aAC/E,uBAAC,eAAM,IACL,OAAO,EAAE,OAAO,EAChB,OAAO,QACP,SAAS,EAAC,mEAAmE,EAC7E,SAAS,EAAE,IAAI,EACf,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,MAAM,YAEd,uBAAC,SAAG,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,iCAAM,SAAS,EAAC,QAAQ,YAAE,IAAI,GAAQ,CAAC,CAAC,CAAC,IAAI,IACjD,CACP,CAAC;AACJ,CAAC;AA7BD,oDA6BC"}
@@ -2,10 +2,47 @@ Object.defineProperty(exports, "__esModule", { value: true });
2
2
  exports.ProductGallery = void 0;
3
3
  const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
4
  const uni_jsx_1 = require("@redneckz/uni-jsx");
5
- const SwipeListControl_1 = require("../../ui-kit/SwipeListControl/SwipeListControl");
6
- const ProductGalleryBlock_1 = require("./ProductGalleryBlock");
7
- exports.ProductGallery = (0, uni_jsx_1.JSX)(({ className, context, slides = [] }) => {
5
+ const hooks_1 = require("@redneckz/uni-jsx/lib/hooks");
6
+ const BlockVersion_1 = require("../../model/BlockVersion");
7
+ const BorderVersion_1 = require("../../model/BorderVersion");
8
+ const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
9
+ const ProductBlockInner_1 = require("../ProductBlock/ProductBlockInner");
10
+ const productBlockStyleMap = {
11
+ primary: { title: 'text-secondary-text', text: 'text-secondary-text' },
12
+ secondary: { title: 'text-white', text: 'text-white/80' },
13
+ };
14
+ exports.ProductGallery = (0, uni_jsx_1.JSX)(({ className = '', slides = [], version = 'primary', ...rest }) => {
15
+ const galleryNav = slides.map((s) => s.nav);
8
16
  const galleryBlocks = slides.map((s) => s.productBlock);
9
- return ((0, jsx_runtime_1.jsx)("section", { className: `font-sans bg-white overflow-hidden w-100 pb-6 ${className || ''}`, children: (0, jsx_runtime_1.jsx)(SwipeListControl_1.SwipeListControl, { context: context, children: galleryBlocks.map((block, i) => ((0, jsx_runtime_1.jsx)(ProductGalleryBlock_1.ProductGalleryBlock, { block: block, context: context }, String(i)))) }) }));
17
+ const [activeSlideIndex, setActiveSlideIndex] = (0, hooks_1.useState)(0);
18
+ return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `box-border pt-[50px] overflow-hidden relative font-sans w-100 mb-6 ${className}
19
+ ${BlockVersion_1.VersionStyleMap[version]}`, ...rest, children: [(0, jsx_runtime_1.jsx)("div", { className: "flex duration-1000 pb-14", style: { transform: `translateX(-${activeSlideIndex}00%)` }, role: "list", children: galleryBlocks.map((_, i) => renderProductBlock({ ..._, ...rest, version }, i)) }), (0, jsx_runtime_1.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({
20
+ slide,
21
+ i,
22
+ activeSlideIndex,
23
+ onClick: () => setActiveSlideIndex(i),
24
+ version,
25
+ })) })] }));
10
26
  });
27
+ function renderProductBlock(block, i) {
28
+ const { version } = block;
29
+ const additionalClass = version ? productBlockStyleMap[version].title : '';
30
+ return ((0, jsx_runtime_1.jsx)("section", { className: "box-border relative flex grow-0 shrink-0 basis-full", role: "listitem", children: (0, jsx_runtime_1.jsx)("div", { className: "flex grow", children: (0, jsx_runtime_1.jsx)(ProductBlockInner_1.ProductBlockInner, { className: `pl-[50px] z-10 ${additionalClass}`, textBlockClassName: "mb-[154px]", headlineVersion: "XXL", ...block }) }) }, String(i)));
31
+ }
32
+ function renderNavButton({ slide, i, activeSlideIndex, onClick, version }) {
33
+ const isActiveBtn = i === activeSlideIndex;
34
+ const btnClassName = isActiveBtn
35
+ ? 'bg-white shadow-dark-blue/42 min-w-[350px] border-none p-6'
36
+ : `min-w-[290px] hover:py-[26px] hover:py-[26px] ease-in duration-300 bg-white/10 px-6 py-5 backdrop-blur
37
+ ${BlockVersion_1.VersionStyleMap[version]}`;
38
+ const btnTitleClassName = isActiveBtn
39
+ ? 'text-primary-text !text-h6 p-2'
40
+ : `text-l pb-1 ${productBlockStyleMap[version].title}`;
41
+ const btnDescClassName = isActiveBtn
42
+ ? 'text-secondary-text text-l-light'
43
+ : `text-m-light ${productBlockStyleMap[version].text}`;
44
+ return ((0, jsx_runtime_1.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
45
+ ${btnClassName} ${BorderVersion_1.BorderVersionStyleMap[version]}
46
+ `, children: (0, jsx_runtime_1.jsxs)("div", { className: "border-0 px-6", children: [(0, jsx_runtime_1.jsx)("div", { className: `last:pb-0 ${btnTitleClassName}`, children: slide?.title }), (0, jsx_runtime_1.jsx)("div", { className: `text-secondary-text ${btnDescClassName}`, children: slide?.description })] }) }, String(i)));
47
+ }
11
48
  //# sourceMappingURL=ProductGallery.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ProductGallery.js","sourceRoot":"","sources":["../../../src/components/ProductGallery/ProductGallery.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,qFAAkF;AAClF,+DAA4D;AAK/C,QAAA,cAAc,GAAG,IAAA,aAAG,EAAsB,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,GAAG,EAAE,EAAE,EAAE,EAAE;IAC7F,MAAM,aAAa,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE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Ae,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,gBAAgB,EAAE,OAAO,EAAE,OAAO,EAAwB;IAC7F,MAAM,WAAW,GAAG,CAAC,KAAK,gBAAgB,CAAC;IAE3C,MAAM,YAAY,GAAG,WAAW;QAC9B,CAAC,CAAC,4DAA4D;QAC9D,CAAC,CAAC;QACE,8BAAe,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,mCACE,IAAI,EAAC,QAAQ,EAEb,OAAO,EAAE,OAAO,gBACJ,KAAK,EAAE,KAAK,EACxB,SAAS,EAAE;UACP,YAAY,IAAI,qCAAqB,CAAC,OAAO,CAAC;OACjD,YAED,iCAAK,SAAS,EAAC,eAAe,aAC5B,gCAAK,SAAS,EAAE,aAAa,iBAAiB,EAAE,YAAG,KAAK,EAAE,KAAK,GAAO,EACtE,gCAAK,SAAS,EAAE,wBAAwB,gBAAgB,EAAE,YAAG,KAAK,EAAE,WAAW,GAAO,IAClF,IAVD,MAAM,CAAC,CAAC,CAAC,CAWP,CACV,CAAC;AACJ,CAAC"}
@@ -8,12 +8,10 @@ const ButtonSection_1 = require("../../ui-kit/Button/ButtonSection");
8
8
  const Img_1 = require("../../ui-kit/Img/Img");
9
9
  const getTileRightPadding_1 = require("../BaseTile/getTileRightPadding");
10
10
  const Headline_1 = require("../Headline/Headline");
11
- exports.ProductTile = (0, uni_jsx_1.JSX)(({ context, className = '', title, headlineVersion = 'S', description, additionalDescription, benefits = [], buttons, image, version = 'primary', ...rest }) => {
12
- return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { context: context, className: `overflow-hidden font-sans p-9 box-border relative justify-between grid min-h-[364px]
13
- ${className} ${BlockVersion_1.VersionStyleMap[version]} ${(0, getTileRightPadding_1.getTileRightPadding)(className)}`, ...rest, children: [(0, jsx_runtime_1.jsx)(Headline_1.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
14
- ? renderAdditionalDescription(additionalDescription, image, version)
15
- : null, buttons?.length ? ((0, jsx_runtime_1.jsx)(ButtonSection_1.ButtonSection, { context: context, buttons: buttons, className: "flex self-end mt-5 gap-4 z-10 text-l" })) : null, image?.src ? (0, jsx_runtime_1.jsx)(Img_1.Img, { className: "absolute right-0 bottom-0", image: image }) : null] }));
16
- });
11
+ exports.ProductTile = (0, uni_jsx_1.JSX)(({ className = '', title, headlineVersion = 'S', description, additionalDescription, benefits = [], buttons, image, version = 'primary', ...rest }) => ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `overflow-hidden font-sans p-9 box-border relative justify-between grid min-h-[364px]
12
+ ${className} ${BlockVersion_1.VersionStyleMap[version]} ${(0, getTileRightPadding_1.getTileRightPadding)(className)}`, ...rest, children: [(0, jsx_runtime_1.jsx)(Headline_1.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
13
+ ? renderAdditionalDescription(additionalDescription, image, version)
14
+ : null, buttons?.length ? ((0, jsx_runtime_1.jsx)(ButtonSection_1.ButtonSection, { buttons: buttons, className: "flex self-end mt-5 gap-4 z-10 text-l" })) : null, image?.src ? (0, jsx_runtime_1.jsx)(Img_1.Img, { className: "absolute right-0 bottom-0", image: image }) : null] })));
17
15
  function renderBenefits(benefits, version, image) {
18
16
  // picture width = 242px. Text can overlay picture 20px deep. Outer paddings_x = 36px. 242-36-20 = 186px
19
17
  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,+CAAwC;AAExC,2DAA2D;AAG3D,4DAAyD;AACzD,qEAAkE;AAClE,8CAA2C;AAC3C,yEAAsE;AACtE,mDAAgD;AAKnC,QAAA,WAAW,GAAG,IAAA,aAAG,EAC5B,CAAC,EACC,OAAO,EACP,SAAS,GAAG,EAAE,EACd,KAAK,EACL,eAAe,GAAG,GAAG,EACrB,WAAW,EACX,qBAAqB,EACrB,QAAQ,GAAG,EAAE,EACb,OAAO,EACP,KAAK,EACL,OAAO,GAAG,SAAS,EACnB,GAAG,IAAI,EACR,EAAE,EAAE;IACH,OAAO,CACL,wBAAC,2BAAY,IACX,OAAO,EAAE,OAAO,EAChB,SAAS,EAAE;YACP,SAAS,IAAI,8BAAe,CAAC,OAAO,CAAC,IAAI,IAAA,yCAAmB,EAAC,SAAS,CAAC,EAAE,KACzE,IAAI,aAER,uBAAC,mBAAQ,IACP,OAAO,EAAE,OAAO,EAChB,SAAS,EAAE,6BAA6B,KAAK,IAAI,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,EAAE,EAC9E,EAAE,EAAC,IAAI,EACP,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,eAAe,EAAE,eAAe,EAChC,eAAe,EAAE,OAAO,EACxB,KAAK,EAAC,MAAM,GACZ,EACD,cAAc,CAAC,QAAQ,EAAE,OAAO,EAAE,KAAK,CAAC,EACxC,qBAAqB;gBACpB,CAAC,CAAC,2BAA2B,CAAC,qBAAqB,EAAE,KAAK,EAAE,OAAO,CAAC;gBACpE,CAAC,CAAC,IAAI,EACP,OAAO,EAAE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6B,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,gCAAK,SAAS,EAAE,4BAA4B,iBAAiB,IAAI,YAAY,CAAC,OAAO,CAAC,EAAE,YACrF,qBAAqB,GAClB,CACP,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"ProductTile.js","sourceRoot":"","sources":["../../../src/components/ProductTile/ProductTile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,2DAA2D;AAG3D,4DAAyD;AACzD,qEAAkE;AAClE,8CAA2C;AAC3C,yEAAsE;AACtE,mDAAgD;AAKnC,QAAA,WAAW,GAAG,IAAA,aAAG,EAC5B,CAAC,EACC,SAAS,GAAG,EAAE,EACd,KAAK,EACL,eAAe,GAAG,GAAG,EACrB,WAAW,EACX,qBAAqB,EACrB,QAAQ,GAAG,EAAE,EACb,OAAO,EACP,KAAK,EACL,OAAO,GAAG,SAAS,EACnB,GAAG,IAAI,EACR,EAAE,EAAE,CAAC,CACJ,wBAAC,2BAAY,IACX,SAAS,EAAE;YACL,SAAS,IAAI,8BAAe,CAAC,OAAO,CAAC,IAAI,IAAA,yCAAmB,EAAC,SAAS,CAAC,EAAE,KAC3E,IAAI,aAER,uBAAC,mBAAQ,IACP,SAAS,EAAE,6BAA6B,KAAK,IAAI,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,EAAE,EAC9E,EAAE,EAAC,IAAI,EACP,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,eAAe,EAAE,eAAe,EAChC,eAAe,EAAE,OAAO,EACxB,KAAK,EAAC,MAAM,KACR,IAAI,GACR,EACD,c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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,gCAAK,SAAS,EAAE,4BAA4B,iBAAiB,IAAI,YAAY,CAAC,OAAO,CAAC,EAAE,YACrF,qBAAqB,GAClB,CACP,CAAC;AACJ,CAAC"}
@@ -10,9 +10,7 @@ const getTileHeadingType_1 = require("../BaseTile/getTileHeadingType");
10
10
  const getTileMinHeight_1 = require("../BaseTile/getTileMinHeight");
11
11
  const getTileRightPadding_1 = require("../BaseTile/getTileRightPadding");
12
12
  const Headline_1 = require("../Headline/Headline");
13
- exports.PromoTile = (0, uni_jsx_1.JSX)(({ className = '', context, title = 'Акции и спецпредложения', date, description, buttons = [], version = 'primary', ...rest }) => {
14
- return ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { context: context, className: `bg-white text-primary-text font-sans p-9 box-border ${className} ${BlockVersion_1.VersionStyleMap[version]} ${(0, getTileRightPadding_1.getTileRightPadding)(className)} ${(0, getTileMinHeight_1.getTileMinHeight)(className)} `, ...rest, children: (0, jsx_runtime_1.jsx)(BaseTile_1.BaseTile, { context: context, title: title ? ((0, jsx_runtime_1.jsx)(Headline_1.Headline, { context: context, title: title, className: `!p-0 max-w-[600px]`, headlineVersion: (0, getTileHeadingType_1.getTileHeadingType)(className), bgColorHeadline: version, align: "left", as: "h2" })) : null, buttons: buttons?.length ? ((0, jsx_runtime_1.jsx)(ButtonSection_1.ButtonSection, { context: context, buttons: buttons, className: "flex gap-3" })) : null, children: (0, jsx_runtime_1.jsxs)("div", { className: "mt-1.5", children: [date ? (0, jsx_runtime_1.jsx)("div", { className: "text-s mb-2", children: formatDate(date) }) : null, (0, jsx_runtime_1.jsx)("div", { className: "text-l", children: description })] }) }) }));
15
- });
13
+ exports.PromoTile = (0, uni_jsx_1.JSX)(({ className = '', title = 'Акции и спецпредложения', date, description, buttons = [], version = 'primary', ...rest }) => ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: `bg-white text-primary-text font-sans p-9 box-border ${className} ${BlockVersion_1.VersionStyleMap[version]} ${(0, getTileRightPadding_1.getTileRightPadding)(className)} ${(0, getTileMinHeight_1.getTileMinHeight)(className)} `, ...rest, children: (0, jsx_runtime_1.jsx)(BaseTile_1.BaseTile, { title: title ? ((0, jsx_runtime_1.jsx)(Headline_1.Headline, { title: title, className: `!p-0 max-w-[600px]`, headlineVersion: (0, getTileHeadingType_1.getTileHeadingType)(className), bgColorHeadline: version, align: "left", as: "h2", ...rest })) : null, buttons: buttons?.length ? (0, jsx_runtime_1.jsx)(ButtonSection_1.ButtonSection, { buttons: buttons, className: "flex gap-3" }) : null, children: (0, jsx_runtime_1.jsxs)("div", { className: "mt-1.5", children: [date ? (0, jsx_runtime_1.jsx)("div", { className: "text-s mb-2", children: formatDate(date) }) : null, (0, jsx_runtime_1.jsx)("div", { className: "text-l", children: description })] }) }) })));
16
14
  function formatDate(date) {
17
15
  const dateObj = new Date(date);
18
16
  const dateFormat = {
@@ -1 +1 @@
1
- {"version":3,"file":"PromoTile.js","sourceRoot":"","sources":["../../../src/components/PromoTile/PromoTile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,2DAA2D;AAE3D,4DAAyD;AACzD,qEAAkE;AAClE,mDAAgD;AAChD,uEAAoE;AACpE,mEAAgE;AAChE,yEAAsE;AACtE,mDAAgD;AAKnC,QAAA,SAAS,GAAG,IAAA,aAAG,EAC1B,CAAC,EACC,SAAS,G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S,EAAC,YAAY,GAAG,CAAC,CAAC,CAAC,IAAI,YAGrF,iCAAK,SAAS,EAAC,QAAQ,aACpB,IAAI,CAAC,CAAC,CAAC,gCAAK,SAAS,EAAC,aAAa,YAAE,UAAU,CAAC,IAAI,CAAC,GAAO,CAAC,CAAC,CAAC,IAAI,EACpE,gCAAK,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"}
@@ -3,8 +3,8 @@ exports.Recommendation = void 0;
3
3
  const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
4
  const uni_jsx_1 = require("@redneckz/uni-jsx");
5
5
  const hooks_1 = require("@redneckz/uni-jsx/lib/hooks");
6
- const BorderVersion_1 = require("../../model/BorderVersion");
7
6
  const BlockVersion_1 = require("../../model/BlockVersion");
7
+ const BorderVersion_1 = require("../../model/BorderVersion");
8
8
  const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
9
9
  const renderArrows_1 = require("../../ui-kit/Button/renderArrows");
10
10
  const Heading_1 = require("../../ui-kit/Heading/Heading");
@@ -12,21 +12,16 @@ const RecommendationCard_1 = require("./RecommendationCard");
12
12
  const BLUR_BLOCK_CLASSES = 'absolute top-0 bottom-0 w-[84px]';
13
13
  const CARD_FULL_VIEW_COUNT = 2;
14
14
  const CARD_SHIFT = 525;
15
- exports.Recommendation = (0, uni_jsx_1.JSX)(({ context, recommendations = [], className = '', title, version = 'primary', ...rest }) => {
15
+ exports.Recommendation = (0, uni_jsx_1.JSX)(({ recommendations = [], className = '', title, version = 'primary', ...rest }) => {
16
16
  const [activeCardIndex, setActiveCardIndex] = (0, hooks_1.useState)(0);
17
- return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { context: context, className: `relative font-sans p-9 overflow-hidden text-center
18
- ${BlockVersion_1.VersionStyleMap[version]}
19
- ${className}`, ...rest, children: [title ? (0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h3", className: "mb-6", title: title }) : null, (0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)("div", { className: "flex duration-1000 gap-3.5", style: { transform: `translateX(-${activeCardIndex * CARD_SHIFT}px)` }, role: "list", children: recommendations?.length
20
- ? recommendations.map(renderRecommendationCard(context, BorderVersion_1.BorderVersionStyleMap[version], version))
17
+ return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `relative font-sans p-9 overflow-hidden text-center ${BlockVersion_1.VersionStyleMap[version]} ${className}`, ...rest, children: [title ? (0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h3", className: "mb-6", title: title }) : null, (0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)("div", { className: "flex duration-1000 gap-3.5", style: { transform: `translateX(-${activeCardIndex * CARD_SHIFT}px)` }, role: "list", children: recommendations?.length
18
+ ? recommendations.map((card, i) => ((0, jsx_runtime_1.jsx)(RecommendationCard_1.RecommendationCard, { version: version, className: BorderVersion_1.BorderVersionStyleMap[version], ...card }, String(i))))
21
19
  : null }), renderNavButtons({
22
20
  cardsCount: recommendations.length,
23
21
  activeCardIndex,
24
22
  setActiveCardIndex,
25
23
  })] }), (0, jsx_runtime_1.jsx)("div", { className: `${BLUR_BLOCK_CLASSES} left-0 ${version === 'secondary' ? 'bg-opacity-from-main' : 'bg-opacity-from-white'}` }), (0, jsx_runtime_1.jsx)("div", { className: `${BLUR_BLOCK_CLASSES} right-0 ${version === 'secondary' ? 'bg-opacity-to-main' : 'bg-opacity-to-white'}` })] }));
26
24
  });
27
- const renderRecommendationCard = (context, className, version) => (card, i) => {
28
- return ((0, jsx_runtime_1.jsx)(RecommendationCard_1.RecommendationCard, { context: context, ...card, version: version, className: className }, String(i)));
29
- };
30
25
  const renderNavButtons = ({ cardsCount, activeCardIndex, setActiveCardIndex, }) => {
31
26
  const handleNextClick = () => setActiveCardIndex(activeCardIndex + 1);
32
27
  const handlePrevClick = () => setActiveCardIndex(activeCardIndex - 1);
@@ -1 +1 @@
1
- {"version":3,"file":"Recommendation.js","sourceRoot":"","sources":["../../../src/components/Recommendation/Recommendation.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAuD;AAEvD,6DAAkE;AAElE,2DAA2D;AAC3D,4DAAyD;AACzD,mEAAgE;AAChE,0DAAuD;AAEvD,6DAA0D;AAG1D,MAAM,kBAAkB,GAAG,kCAAkC,CAAC;AAC9D,MAAM,oBAAoB,GAAG,CAAC,CAAC;AAC/B,MAAM,UAAU,GAAG,GAAG,CAAC;AAIV,QAAA,cAAc,GAAG,IAAA,aAAG,EAC/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,IAAA,gBAAQ,EAAC,CAAC,CAAC,CAAC;IAE1D,OAAO,CACL,wBAAC,2BAAY,IACX,OAAO,EAAE,OAAO,EAChB,SAAS,EAAE;YACP,8BAAe,CAAC,OAAO,CAAC;YACxB,SAAS,EAAE,KACX,IAAI,aAEP,KAAK,CAAC,CAAC,CAAC,uBAAC,iBAAO,IAAC,WAAW,EAAC,IAAI,EAAC,SAAS,EAAC,MAAM,EAAC,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,EAC3E,4CACE,gCACE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AAG,WAAW,IAAI,UAAU,GAAG,eAAe,GAAG,oBAAoB,CAAC;IAC1F,MAAM,cAAc,GAAG,WAAW,IAAI,eAAe,GAAG,CAAC,CAAC;IAE1D,OAAO,CACL,0CACG,IAAA,2BAAY,EAAC;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>;
@@ -8,9 +8,9 @@ const Img_1 = require("../../ui-kit/Img/Img");
8
8
  const List_1 = require("../../ui-kit/List/List");
9
9
  const BaseTile_1 = require("../BaseTile/BaseTile");
10
10
  const SocialMedia_1 = require("../Footer/SocialMedia");
11
- exports.RecommendationCard = (0, uni_jsx_1.JSX)(({ context, className = '', title, description, items, image, version, socialMedia }) => {
11
+ exports.RecommendationCard = (0, uni_jsx_1.JSX)(({ className = '', title, description, items, image, version, socialMedia }) => {
12
12
  const tileTitle = title ? ((0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h5", as: "h3", className: "mb-3.5 z-10", title: title })) : null;
13
13
  const tileImage = image?.src ? ((0, jsx_runtime_1.jsx)(Img_1.Img, { className: "absolute bottom-0 right-0 m-0", image: image })) : null;
14
- return ((0, jsx_runtime_1.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: (0, jsx_runtime_1.jsx)(BaseTile_1.BaseTile, { context: context, className: "flex justify-between", title: tileTitle, image: tileImage, children: (0, jsx_runtime_1.jsxs)("div", { className: "h-full flex flex-col justify-between", children: [description ? (0, jsx_runtime_1.jsx)(Description_1.Description, { className: "mb-2", description: description }) : null, items?.length ? ((0, jsx_runtime_1.jsx)(List_1.List, { className: "text-xl-light flex flex-col flex-1 gap-2 max-w-[236px]", items: items, version: version })) : null, socialMedia ? ((0, jsx_runtime_1.jsx)(SocialMedia_1.SocialMedia, { className: "pt-10 pb-0", media: socialMedia, version: version, context: context })) : null] }) }) }));
14
+ return ((0, jsx_runtime_1.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: (0, jsx_runtime_1.jsx)(BaseTile_1.BaseTile, { className: "flex justify-between", title: tileTitle, image: tileImage, children: (0, jsx_runtime_1.jsxs)("div", { className: "h-full flex flex-col justify-between", children: [description ? (0, jsx_runtime_1.jsx)(Description_1.Description, { className: "mb-2", description: description }) : null, items?.length ? ((0, jsx_runtime_1.jsx)(List_1.List, { className: "text-xl-light flex flex-col flex-1 gap-2 max-w-[236px]", items: items, version: version })) : null, socialMedia ? ((0, jsx_runtime_1.jsx)(SocialMedia_1.SocialMedia, { className: "pt-10 pb-0", media: socialMedia, version: version })) : null] }) }) }));
15
15
  });
16
16
  //# sourceMappingURL=RecommendationCard.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"RecommendationCard.js","sourceRoot":"","sources":["../../../src/components/Recommendation/RecommendationCard.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,sEAAmE;AACnE,0DAAuD;AACvD,8CAA2C;AAC3C,iDAA8C;AAC9C,mDAAgD;AAChD,uDAAoD;AAOvC,QAAA,kBAAkB,GAAG,IAAA,aAAG,EACnC,CAAC,EAAE,OAAO,EAAE,SAAS,GAAG,EAAE,EA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AAI,EACP,WAAW,CAAC,CAAC,CAAC,CACb,uBAAC,yBAAW,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"}
@@ -6,12 +6,12 @@ const hooks_1 = require("@redneckz/uni-jsx/lib/hooks");
6
6
  const useSafeBoxes_1 = require("../../hooks/useSafeBoxes");
7
7
  const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
8
8
  const Heading_1 = require("../../ui-kit/Heading/Heading");
9
+ const YandexMap_1 = require("../../ui-kit/YandexMap/YandexMap");
9
10
  const SafeDepositRentalForm_1 = require("./SafeDepositRentalForm");
10
11
  const useGetRegions_1 = require("./useGetRegions");
11
12
  const utils_1 = require("./utils");
12
- const YandexMap_1 = require("../../ui-kit/YandexMap/YandexMap");
13
13
  const DEFAULT_DAYS = 26;
14
- exports.SafeDepositRental = (0, uni_jsx_1.JSX)(({ title, footnote, context, className = '', ...rest }) => {
14
+ exports.SafeDepositRental = (0, uni_jsx_1.JSX)(({ title, footnote, className = '', ...rest }) => {
15
15
  const [showMap, setShowMap] = (0, hooks_1.useState)(false);
16
16
  const [safeDepositState, setStateDepositState] = (0, hooks_1.useState)({
17
17
  selectedRegion: '',
@@ -28,7 +28,7 @@ exports.SafeDepositRental = (0, uni_jsx_1.JSX)(({ title, footnote, context, clas
28
28
  setShowMap(!showMap);
29
29
  };
30
30
  const points = (0, utils_1.getCoordinates)((0, utils_1.getBranch)(branches, safeDepositState.selectedBranch) || branches);
31
- return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { context: context, className: className, ...rest, children: [(0, jsx_runtime_1.jsxs)("div", { className: "font-sans bg-white px-8 py-12", children: [title ? ((0, jsx_runtime_1.jsx)(Heading_1.Heading, { title: title, headingType: "h3", as: "h2", className: "text-primary-text mb-2.5 text-center" })) : null, (0, jsx_runtime_1.jsx)(SafeDepositRentalForm_1.SafeDepositRentalForm, { regions: regions, branches: branches, data: { ...safeDepositState, selectedRegion }, onShowMapToggle: onShowMapToggle, onChange: handleChangeSafeDepositState }), footnote ? (0, jsx_runtime_1.jsx)("p", { className: "text-s-light text-secondary-text", children: footnote }) : null] }), points.length && showMap ? (0, jsx_runtime_1.jsx)(YandexMap_1.YandexMap, { points: points, className: "h-[640px]" }) : null] }));
31
+ return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: className, ...rest, children: [(0, jsx_runtime_1.jsxs)("div", { className: "font-sans bg-white px-8 py-12", children: [title ? ((0, jsx_runtime_1.jsx)(Heading_1.Heading, { title: title, headingType: "h3", as: "h2", className: "text-primary-text mb-2.5 text-center" })) : null, (0, jsx_runtime_1.jsx)(SafeDepositRentalForm_1.SafeDepositRentalForm, { regions: regions, branches: branches, data: { ...safeDepositState, selectedRegion }, onShowMapToggle: onShowMapToggle, onChange: handleChangeSafeDepositState }), footnote ? (0, jsx_runtime_1.jsx)("p", { className: "text-s-light text-secondary-text", children: footnote }) : null] }), points.length && showMap ? (0, jsx_runtime_1.jsx)(YandexMap_1.YandexMap, { points: points, className: "h-[640px]" }) : null] }));
32
32
  });
33
33
  const normalizeSelectedRegion = (selectedRegion, regions) => !selectedRegion && regions?.length && regions[0]?.code ? regions[0].code : selectedRegion;
34
34
  //# sourceMappingURL=SafeDepositRental.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SafeDepositRental.js","sourceRoot":"","sources":["../../../src/components/SafeDepositRental/SafeDepositRental.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAoE;AACpE,2DAAwD;AAExD,4DAAyD;AACzD,0DAAuD;AAEvD,mEAAgE;AAEhE,mDAAwD;AACxD,mCAAoD;AACpD,gEAA6D;AAI7D,MAAM,YAAY,GAAG,EAAE,CAAC;AAEX,QAAA,iBAAiB,GAAG,IAAA,aAAG,EAClC,CAAC,EAAE,KAA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,IAAI,EACR,uBAAC,6CAAqB,IACpB,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,QAAQ,EAClB,IAAI,EAAE,EAAE,GAAG,gBAAgB,EAAE,cAAc,EAAE,EAC7C,eAAe,EAAE,eAAe,EAChC,QAAQ,EAAE,4BAA4B,GACtC,EACD,QAAQ,CAAC,CAAC,CAAC,8BAAG,SAAS,EAAC,kCAAkC,YAAE,QAAQ,GAAK,CAAC,CAAC,CAAC,IAAI,IAC7E,EACL,MAAM,CAAC,MAAM,IAAI,OAAO,CAAC,CAAC,CAAC,uBAAC,qBAAS,IAAC,MAAM,EAAE,MAAM,EAAE,SAAS,EAAC,WAAW,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;
@@ -3,8 +3,7 @@ exports.renderStepContent = void 0;
3
3
  const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
4
  const Button_1 = require("../../ui-kit/Button/Button");
5
5
  const renderItems_1 = require("./renderItems");
6
- const useLink_1 = require("../../hooks/useLink");
7
- const renderStepContent = ({ styleMap, isMainButton, version, router, handlerDecorator, }) => (step, i, { length }) => {
6
+ const renderStepContent = ({ styleMap, isMainButton, version, }) => (step, i, { length }) => {
8
7
  const { label, description, button, items, isDotted } = step;
9
8
  const contentMarginClass = label && (description || items) ? 'mt-2' : '';
10
9
  return ((0, jsx_runtime_1.jsxs)("div", { className: `relative flex flex-col items-center text-center whitespace-pre-line overflow-hidden ${getContainerWidth(length)}`, children: [(0, jsx_runtime_1.jsxs)("div", { className: `${button?.text ? 'mb-8' : ''} text-center`, children: [renderStepLabel(label), (0, jsx_runtime_1.jsxs)("div", { className: `${contentMarginClass} flex flex-col items-center`, children: [renderStepDescription({
@@ -15,7 +14,7 @@ const renderStepContent = ({ styleMap, isMainButton, version, router, handlerDec
15
14
  isDotted,
16
15
  version,
17
16
  className: getItemsClasses({ className: 'text-left', description, styleMap }),
18
- })] })] }), button?.text && !isMainButton ? ((0, jsx_runtime_1.jsx)(Button_1.Button, { className: "box-border py-3 h-12 w-full max-w-[240px] mt-auto", ...(0, useLink_1.useLink)({ router, handlerDecorator }, button), version: version, children: button?.text })) : null] }, String(i)));
17
+ })] })] }), button?.text && !isMainButton ? ((0, jsx_runtime_1.jsx)(Button_1.Button, { className: "box-border py-3 h-12 w-full max-w-[240px] mt-auto", version: version, ...button, children: button?.text })) : null] }, String(i)));
19
18
  };
20
19
  exports.renderStepContent = renderStepContent;
21
20
  const renderStepLabel = (label) => label ? (0, jsx_runtime_1.jsx)("div", { className: "text-h6", children: label }) : null;
@@ -1 +1 @@
1
- {"version":3,"file":"renderStepContent.js","sourceRoot":"","sources":["../../../src/components/StepsBlock/renderStepContent.tsx"],"names":[],"mappings":";;;AAAA,uDAAoD;AAMpD,+CAA4C;AAC5C,iDAA8C;AAEvC,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