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

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 (1949) hide show
  1. package/bundle/ProjectSettings.d.ts +2 -0
  2. package/bundle/blocks.schema.json +1 -1
  3. package/bundle/bundle.umd.js +369 -408
  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/Placeholder/Placeholder.d.ts +0 -1
  43. package/bundle/components/ProductBlock/renderBackwardButton.d.ts +1 -1
  44. package/bundle/components/Recommendation/RecommendationCard.d.ts +2 -2
  45. package/bundle/components/StepsBlock/renderStepContent.d.ts +2 -5
  46. package/bundle/components/Tabs/LinkTab.d.ts +8 -0
  47. package/bundle/components/Tabs/Tabs.d.ts +2 -2
  48. package/bundle/components/Tabs/TabsContent.d.ts +5 -5
  49. package/bundle/components/Tabs/renderGroupTab.d.ts +2 -2
  50. package/bundle/components/Tabs/renderTab.d.ts +4 -6
  51. package/bundle/components/TariffsTable/TariffsTableContent.d.ts +1 -1
  52. package/bundle/components/TariffsTable/TariffsTableRenderCell.d.ts +1 -3
  53. package/bundle/components/TariffsTable/TariffsTableRowContainer.d.ts +1 -3
  54. package/bundle/components/TariffsTable/TariffsTableTileCell.d.ts +3 -4
  55. package/bundle/components/VerticalLayout/VerticalLayout.d.ts +5 -0
  56. package/bundle/components/VerticalLayout/VerticalLayoutContent.d.ts +17 -0
  57. package/bundle/hooks/handlerDecorator.d.ts +5 -0
  58. package/bundle/hooks/useLink.d.ts +6 -16
  59. package/bundle/hooks/useRouter.d.ts +13 -0
  60. package/bundle/hooks/useTableArrowScrollControl.d.ts +1 -3
  61. package/bundle/index.d.ts +2 -0
  62. package/bundle/model/BlockVersion.d.ts +1 -0
  63. package/bundle/model/BlocksRegistry.d.ts +1 -1
  64. package/bundle/model/JSXBlock.d.ts +7 -8
  65. package/bundle/react/setup-fixture.d.ts +0 -3
  66. package/bundle/services/sitemap/SitemapProps.d.ts +1 -1
  67. package/bundle/services/sitemap/findActiveSubItem.d.ts +1 -1
  68. package/bundle/services/sitemap/isSubItemActive.d.ts +1 -1
  69. package/bundle/services/sitemap/isTopItemActive.d.ts +1 -1
  70. package/bundle/services/sitemap/useSWRResource.d.ts +2 -0
  71. package/bundle/ui-kit/BlockWrapper.d.ts +2 -2
  72. package/bundle/ui-kit/Button/ButtonSection.d.ts +2 -2
  73. package/bundle/ui-kit/Checkbox/CheckboxProps.d.ts +2 -2
  74. package/bundle/ui-kit/InnerTable/InnerTable.d.ts +2 -3
  75. package/bundle/ui-kit/InnerTable/InnerTableBody.d.ts +1 -2
  76. package/bundle/ui-kit/InnerTable/InnerTableBodyItem.d.ts +1 -2
  77. package/bundle/ui-kit/InnerTable/InnerTableButton.d.ts +1 -2
  78. package/bundle/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +4 -5
  79. package/bundle/ui-kit/SearchBar/SearchBar.d.ts +2 -2
  80. package/bundle/ui-kit/SearchBar/SearchBar.mobile.d.ts +2 -2
  81. package/bundle/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +2 -2
  82. package/bundle/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.d.ts +3 -2
  83. package/dist/ProjectSettings.d.ts +2 -0
  84. package/dist/ProjectSettings.js +3 -0
  85. package/dist/ProjectSettings.js.map +1 -1
  86. package/dist/components/Accordion/Accordion.js +1 -1
  87. package/dist/components/Accordion/Accordion.js.map +1 -1
  88. package/dist/components/Accordion/Accordion.mobile.js +1 -1
  89. package/dist/components/Accordion/Accordion.mobile.js.map +1 -1
  90. package/dist/components/BaseTile/BaseTile.d.ts +2 -2
  91. package/dist/components/BaseTile/BaseTile.js +1 -3
  92. package/dist/components/BaseTile/BaseTile.js.map +1 -1
  93. package/dist/components/Blocks.js +10 -6
  94. package/dist/components/Blocks.js.map +1 -1
  95. package/dist/components/Blocks.mobile.js +0 -2
  96. package/dist/components/Blocks.mobile.js.map +1 -1
  97. package/dist/components/Bonus/Bonus.js +3 -3
  98. package/dist/components/Bonus/Bonus.js.map +1 -1
  99. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
  100. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  101. package/dist/components/BusinessBlock/BusinessBlock.d.ts +5 -0
  102. package/dist/components/BusinessBlock/BusinessBlock.js +9 -0
  103. package/dist/components/BusinessBlock/BusinessBlock.js.map +1 -0
  104. package/dist/components/BusinessBlock/BusinessBlockContent.d.ts +28 -0
  105. package/dist/components/BusinessBlock/BusinessBlockContent.js +2 -0
  106. package/dist/components/BusinessBlock/BusinessBlockContent.js.map +1 -0
  107. package/dist/components/BusinessBlock/BusinessCard.d.ts +2 -0
  108. package/dist/components/BusinessBlock/BusinessCard.js +16 -0
  109. package/dist/components/BusinessBlock/BusinessCard.js.map +1 -0
  110. package/dist/components/Calculator/BonusCalculatorForm.d.ts +2 -2
  111. package/dist/components/Calculator/BonusCalculatorForm.js +2 -2
  112. package/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
  113. package/dist/components/Calculator/Calculator.js +3 -5
  114. package/dist/components/Calculator/Calculator.js.map +1 -1
  115. package/dist/components/Calculator/CreditCalculatorForm.d.ts +2 -2
  116. package/dist/components/Calculator/CreditCalculatorForm.js +3 -8
  117. package/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
  118. package/dist/components/Calculator/DepositCalculatorForm.d.ts +2 -2
  119. package/dist/components/Calculator/DepositCalculatorForm.js +3 -8
  120. package/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
  121. package/dist/components/Calculator/renderButtonSection.d.ts +1 -2
  122. package/dist/components/Calculator/renderButtonSection.js +2 -2
  123. package/dist/components/Calculator/renderButtonSection.js.map +1 -1
  124. package/dist/components/Calculator/renderCalculatorBlock.d.ts +1 -1
  125. package/dist/components/Calculator/renderCalculatorBlock.js +2 -2
  126. package/dist/components/Calculator/renderCalculatorBlock.js.map +1 -1
  127. package/dist/components/CardTransfer/CardTransfer.js +3 -4
  128. package/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  129. package/dist/components/Catalog/Catalog.js +11 -21
  130. package/dist/components/Catalog/Catalog.js.map +1 -1
  131. package/dist/components/Catalog/CatalogCard.d.ts +2 -2
  132. package/dist/components/Catalog/CatalogCard.js +1 -3
  133. package/dist/components/Catalog/CatalogCard.js.map +1 -1
  134. package/dist/components/ComparisonTable/ComparisonTable.js +4 -6
  135. package/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
  136. package/dist/components/ComparisonTable/ComparisonTable.mobile.js +3 -3
  137. package/dist/components/ComparisonTable/ComparisonTable.mobile.js.map +1 -1
  138. package/dist/components/ComparisonTable/ComparisonTableBody.d.ts +1 -3
  139. package/dist/components/ComparisonTable/ComparisonTableBody.js +3 -9
  140. package/dist/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
  141. package/dist/components/ComparisonTable/ComparisonTableColumnHeaders.d.ts +0 -3
  142. package/dist/components/ComparisonTable/ComparisonTableColumnHeaders.js +1 -4
  143. package/dist/components/ComparisonTable/ComparisonTableColumnHeaders.js.map +1 -1
  144. package/dist/components/ComparisonTable/ComparisonTableRows.js +2 -2
  145. package/dist/components/ComparisonTable/ComparisonTableRows.js.map +1 -1
  146. package/dist/components/ComparisonTable/HeaderCell.js +1 -1
  147. package/dist/components/ComparisonTable/HeaderCell.js.map +1 -1
  148. package/dist/components/ContactsBlock/ContactsBlock.js +2 -2
  149. package/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
  150. package/dist/components/ContentPage/ContentPage.js +4 -5
  151. package/dist/components/ContentPage/ContentPage.js.map +1 -1
  152. package/dist/components/ContentPage/renderBlock.d.ts +0 -2
  153. package/dist/components/ContentPage/renderBlock.js +3 -3
  154. package/dist/components/ContentPage/renderBlock.js.map +1 -1
  155. package/dist/components/ContentPage/renderBlockList.d.ts +1 -1
  156. package/dist/components/ContentPage/renderBlockList.js +5 -12
  157. package/dist/components/ContentPage/renderBlockList.js.map +1 -1
  158. package/dist/components/ContentPage/renderSlots.d.ts +1 -1
  159. package/dist/components/ContentPage/renderSlots.js +10 -12
  160. package/dist/components/ContentPage/renderSlots.js.map +1 -1
  161. package/dist/components/ErrorBlock/ErrorBlock.js +1 -6
  162. package/dist/components/ErrorBlock/ErrorBlock.js.map +1 -1
  163. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +1 -2
  164. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +2 -5
  165. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  166. package/dist/components/ExchangeRateTile/ExchangeRateTile.js +2 -2
  167. package/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  168. package/dist/components/Footer/Contacts.d.ts +2 -2
  169. package/dist/components/Footer/Contacts.js +1 -10
  170. package/dist/components/Footer/Contacts.js.map +1 -1
  171. package/dist/components/Footer/Footer.fallback.d.ts +2 -0
  172. package/dist/components/Footer/Footer.fallback.js +13 -0
  173. package/dist/components/Footer/Footer.fallback.js.map +1 -0
  174. package/dist/components/Footer/Footer.js +6 -3
  175. package/dist/components/Footer/Footer.js.map +1 -1
  176. package/dist/components/Footer/Footer.mobile.js +10 -9
  177. package/dist/components/Footer/Footer.mobile.js.map +1 -1
  178. package/dist/components/Footer/FooterContent.d.ts +3 -19
  179. package/dist/components/Footer/FooterDataProps.d.ts +12 -0
  180. package/dist/components/{ContentPage/ContentPageContext.js → Footer/FooterDataProps.js} +1 -1
  181. package/dist/components/Footer/FooterDataProps.js.map +1 -0
  182. package/dist/components/Footer/FooterLink.d.ts +2 -2
  183. package/dist/components/Footer/HorizontalNavigation.d.ts +1 -2
  184. package/dist/components/Footer/HorizontalNavigation.js +2 -5
  185. package/dist/components/Footer/HorizontalNavigation.js.map +1 -1
  186. package/dist/components/Footer/HorizontalNavigation.mobile.d.ts +1 -2
  187. package/dist/components/Footer/HorizontalNavigation.mobile.js +1 -6
  188. package/dist/components/Footer/HorizontalNavigation.mobile.js.map +1 -1
  189. package/dist/components/Footer/HorizontalNavigationLink.js +6 -1
  190. package/dist/components/Footer/HorizontalNavigationLink.js.map +1 -1
  191. package/dist/components/Footer/MediaButton.js +5 -2
  192. package/dist/components/Footer/MediaButton.js.map +1 -1
  193. package/dist/components/Footer/Sitemap.d.ts +2 -2
  194. package/dist/components/Footer/Sitemap.js +14 -12
  195. package/dist/components/Footer/Sitemap.js.map +1 -1
  196. package/dist/components/Footer/SocialMedia.d.ts +2 -2
  197. package/dist/components/Footer/SocialMedia.js +1 -6
  198. package/dist/components/Footer/SocialMedia.js.map +1 -1
  199. package/dist/components/Footer/SocialMedia.mobile.d.ts +2 -2
  200. package/dist/components/Footer/SocialMedia.mobile.js +1 -6
  201. package/dist/components/Footer/SocialMedia.mobile.js.map +1 -1
  202. package/dist/components/Footer/TextInformation.js +1 -6
  203. package/dist/components/Footer/TextInformation.js.map +1 -1
  204. package/dist/components/Footer/TextInformation.mobile.js +2 -5
  205. package/dist/components/Footer/TextInformation.mobile.js.map +1 -1
  206. package/dist/components/Footer/TextInformationLink.js +6 -1
  207. package/dist/components/Footer/TextInformationLink.js.map +1 -1
  208. package/dist/components/Footer/useFooterData.d.ts +2 -0
  209. package/dist/{services/sitemap/useSitemap.js → components/Footer/useFooterData.js} +5 -5
  210. package/dist/components/Footer/useFooterData.js.map +1 -0
  211. package/dist/components/Gallery/Gallery.mobile.js +4 -4
  212. package/dist/components/Gallery/Gallery.mobile.js.map +1 -1
  213. package/dist/components/Gallery/GalleryContainer.d.ts +1 -3
  214. package/dist/components/Gallery/GalleryContainer.js +2 -2
  215. package/dist/components/Gallery/GalleryContainer.js.map +1 -1
  216. package/dist/components/Gallery/GalleryContent.d.ts +1 -1
  217. package/dist/components/Gallery/GalleryInner.js +2 -2
  218. package/dist/components/Gallery/GalleryInner.js.map +1 -1
  219. package/dist/components/GracePeriod/GracePeriod.js +1 -3
  220. package/dist/components/GracePeriod/GracePeriod.js.map +1 -1
  221. package/dist/components/Header/DropdownMenu.d.ts +0 -2
  222. package/dist/components/Header/DropdownMenu.js +3 -4
  223. package/dist/components/Header/DropdownMenu.js.map +1 -1
  224. package/dist/components/Header/Header.js +8 -9
  225. package/dist/components/Header/Header.js.map +1 -1
  226. package/dist/components/Header/Header.mobile.js +8 -14
  227. package/dist/components/Header/Header.mobile.js.map +1 -1
  228. package/dist/components/Header/HeaderBurger.d.ts +0 -2
  229. package/dist/components/Header/HeaderBurger.js +2 -2
  230. package/dist/components/Header/HeaderBurger.js.map +1 -1
  231. package/dist/components/Header/HeaderSubMenu.d.ts +0 -2
  232. package/dist/components/Header/HeaderSubMenu.js +4 -3
  233. package/dist/components/Header/HeaderSubMenu.js.map +1 -1
  234. package/dist/components/Header/HeaderSubMenuItem.d.ts +0 -2
  235. package/dist/components/Header/HeaderSubMenuItem.js +2 -5
  236. package/dist/components/Header/HeaderSubMenuItem.js.map +1 -1
  237. package/dist/components/Headline/Headline.js +1 -1
  238. package/dist/components/Headline/Headline.js.map +1 -1
  239. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +4 -6
  240. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  241. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +2 -2
  242. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  243. package/dist/components/InvestmentGallery/InvestmentGallery.js +3 -7
  244. package/dist/components/InvestmentGallery/InvestmentGallery.js.map +1 -1
  245. package/dist/components/InvestmentGallery/InvestmentGalleryCard.d.ts +2 -2
  246. package/dist/components/InvestmentGallery/InvestmentGalleryCard.js +2 -2
  247. package/dist/components/InvestmentGallery/InvestmentGalleryCard.js.map +1 -1
  248. package/dist/components/InvestmentInfo/InvestmentInfo.js +2 -2
  249. package/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  250. package/dist/components/LikeControl/LikeControl.d.ts +5 -2
  251. package/dist/components/LikeControl/LikeControl.js +5 -6
  252. package/dist/components/LikeControl/LikeControl.js.map +1 -1
  253. package/dist/components/LinkDocs/LinkDocs.js +1 -3
  254. package/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  255. package/dist/components/LinkDocs/LinkDocs.mobile.js +1 -3
  256. package/dist/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
  257. package/dist/components/LinkDocs/LinkDocsHorizontalList.d.ts +1 -5
  258. package/dist/components/LinkDocs/LinkDocsHorizontalList.js +3 -5
  259. package/dist/components/LinkDocs/LinkDocsHorizontalList.js.map +1 -1
  260. package/dist/components/LinkList/LinkList.js +1 -3
  261. package/dist/components/LinkList/LinkList.js.map +1 -1
  262. package/dist/components/MobileAppTile/MobileAppTile.js +4 -4
  263. package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  264. package/dist/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -3
  265. package/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  266. package/dist/components/OtherProducts/OtherProducts.js +1 -1
  267. package/dist/components/OtherProducts/OtherProducts.js.map +1 -1
  268. package/dist/components/PictureText/PictureText.js +1 -3
  269. package/dist/components/PictureText/PictureText.js.map +1 -1
  270. package/dist/components/Placeholder/Placeholder.d.ts +0 -1
  271. package/dist/components/Placeholder/Placeholder.js +2 -2
  272. package/dist/components/Placeholder/Placeholder.js.map +1 -1
  273. package/dist/components/ProductBlock/ProductBlock.js +4 -7
  274. package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  275. package/dist/components/ProductBlock/ProductBlockInner.js +2 -5
  276. package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  277. package/dist/components/ProductBlock/ProductBlockInner.mobile.js +2 -2
  278. package/dist/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
  279. package/dist/components/ProductBlock/renderBackwardButton.d.ts +1 -1
  280. package/dist/components/ProductBlock/renderBackwardButton.js +1 -0
  281. package/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
  282. package/dist/components/ProductGallery/ProductGallery.js +5 -5
  283. package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  284. package/dist/components/ProductTile/ProductTile.js +4 -6
  285. package/dist/components/ProductTile/ProductTile.js.map +1 -1
  286. package/dist/components/PromoTile/PromoTile.js +1 -3
  287. package/dist/components/PromoTile/PromoTile.js.map +1 -1
  288. package/dist/components/Recommendation/Recommendation.js +4 -9
  289. package/dist/components/Recommendation/Recommendation.js.map +1 -1
  290. package/dist/components/Recommendation/RecommendationCard.d.ts +2 -2
  291. package/dist/components/Recommendation/RecommendationCard.js +2 -2
  292. package/dist/components/Recommendation/RecommendationCard.js.map +1 -1
  293. package/dist/components/SafeDepositRental/SafeDepositRental.js +3 -3
  294. package/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  295. package/dist/components/StepsBlock/StepsBlock.js +3 -12
  296. package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  297. package/dist/components/StepsBlock/renderStepContent.d.ts +2 -5
  298. package/dist/components/StepsBlock/renderStepContent.js +2 -3
  299. package/dist/components/StepsBlock/renderStepContent.js.map +1 -1
  300. package/dist/components/Tabs/LinkTab.d.ts +8 -0
  301. package/dist/components/Tabs/LinkTab.js +20 -0
  302. package/dist/components/Tabs/LinkTab.js.map +1 -0
  303. package/dist/components/Tabs/Tabs.d.ts +2 -2
  304. package/dist/components/Tabs/Tabs.js +2 -2
  305. package/dist/components/Tabs/Tabs.js.map +1 -1
  306. package/dist/components/Tabs/TabsContent.d.ts +5 -5
  307. package/dist/components/Tabs/renderGroupTab.d.ts +2 -2
  308. package/dist/components/Tabs/renderGroupTab.js +1 -1
  309. package/dist/components/Tabs/renderGroupTab.js.map +1 -1
  310. package/dist/components/Tabs/renderTab.d.ts +4 -6
  311. package/dist/components/Tabs/renderTab.js +5 -19
  312. package/dist/components/Tabs/renderTab.js.map +1 -1
  313. package/dist/components/TariffsTable/EmbeddableCellData.js +3 -5
  314. package/dist/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  315. package/dist/components/TariffsTable/TariffsTable.js +4 -7
  316. package/dist/components/TariffsTable/TariffsTable.js.map +1 -1
  317. package/dist/components/TariffsTable/TariffsTable.mobile.js +2 -5
  318. package/dist/components/TariffsTable/TariffsTable.mobile.js.map +1 -1
  319. package/dist/components/TariffsTable/TariffsTableCell.js +1 -2
  320. package/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
  321. package/dist/components/TariffsTable/TariffsTableContent.d.ts +1 -1
  322. package/dist/components/TariffsTable/TariffsTableHorizontal.js +1 -1
  323. package/dist/components/TariffsTable/TariffsTableHorizontal.js.map +1 -1
  324. package/dist/components/TariffsTable/TariffsTableRenderCell.d.ts +1 -3
  325. package/dist/components/TariffsTable/TariffsTableRenderCell.js +1 -2
  326. package/dist/components/TariffsTable/TariffsTableRenderCell.js.map +1 -1
  327. package/dist/components/TariffsTable/TariffsTableRow.js +3 -3
  328. package/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
  329. package/dist/components/TariffsTable/TariffsTableRowContainer.d.ts +1 -3
  330. package/dist/components/TariffsTable/TariffsTableRowContainer.js +1 -3
  331. package/dist/components/TariffsTable/TariffsTableRowContainer.js.map +1 -1
  332. package/dist/components/TariffsTable/TariffsTableTileCell.d.ts +3 -4
  333. package/dist/components/TariffsTable/TariffsTableTileCell.js +8 -13
  334. package/dist/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  335. package/dist/components/TariffsTable/TariffsTableVertical.js +1 -1
  336. package/dist/components/TariffsTable/TariffsTableVertical.js.map +1 -1
  337. package/dist/components/Tile/Tile.js +2 -2
  338. package/dist/components/Tile/Tile.js.map +1 -1
  339. package/dist/components/VerticalLayout/VerticalLayout.d.ts +5 -0
  340. package/dist/components/VerticalLayout/VerticalLayout.js +35 -0
  341. package/dist/components/VerticalLayout/VerticalLayout.js.map +1 -0
  342. package/dist/components/VerticalLayout/VerticalLayoutContent.d.ts +17 -0
  343. package/dist/components/VerticalLayout/VerticalLayoutContent.js +2 -0
  344. package/dist/components/VerticalLayout/VerticalLayoutContent.js.map +1 -0
  345. package/dist/hooks/handlerDecorator.d.ts +5 -0
  346. package/dist/hooks/handlerDecorator.js +12 -0
  347. package/dist/hooks/handlerDecorator.js.map +1 -0
  348. package/dist/hooks/useLink.d.ts +6 -16
  349. package/dist/hooks/useLink.js +21 -17
  350. package/dist/hooks/useLink.js.map +1 -1
  351. package/dist/hooks/useRouter.d.ts +13 -0
  352. package/dist/hooks/useRouter.js +21 -0
  353. package/dist/hooks/useRouter.js.map +1 -0
  354. package/dist/hooks/useTableArrowScrollControl.d.ts +1 -3
  355. package/dist/hooks/useTableArrowScrollControl.js +13 -4
  356. package/dist/hooks/useTableArrowScrollControl.js.map +1 -1
  357. package/dist/index.d.ts +2 -0
  358. package/dist/index.js +5 -1
  359. package/dist/index.js.map +1 -1
  360. package/dist/model/BlockVersion.d.ts +1 -0
  361. package/dist/model/BlockVersion.js +6 -1
  362. package/dist/model/BlockVersion.js.map +1 -1
  363. package/dist/model/BlocksRegistry.d.ts +1 -1
  364. package/dist/model/JSXBlock.d.ts +7 -8
  365. package/dist/react/setup-fixture.d.ts +0 -3
  366. package/dist/react/setup-fixture.js +9 -25
  367. package/dist/react/setup-fixture.js.map +1 -1
  368. package/dist/services/sitemap/SitemapProps.d.ts +1 -1
  369. package/dist/services/sitemap/findActiveSubItem.d.ts +1 -1
  370. package/dist/services/sitemap/isHrefActive.js +1 -2
  371. package/dist/services/sitemap/isHrefActive.js.map +1 -1
  372. package/dist/services/sitemap/isSubItemActive.d.ts +1 -1
  373. package/dist/services/sitemap/isTopItemActive.d.ts +1 -1
  374. package/dist/services/sitemap/useSWRResource.d.ts +2 -0
  375. package/dist/services/sitemap/useSWRResource.js +12 -0
  376. package/dist/services/sitemap/useSWRResource.js.map +1 -0
  377. package/dist/ui-kit/BlockWrapper.d.ts +2 -2
  378. package/dist/ui-kit/BlockWrapper.js +3 -2
  379. package/dist/ui-kit/BlockWrapper.js.map +1 -1
  380. package/dist/ui-kit/Breadcrumb.js +6 -1
  381. package/dist/ui-kit/Breadcrumb.js.map +1 -1
  382. package/dist/ui-kit/Button/Button.js +8 -9
  383. package/dist/ui-kit/Button/Button.js.map +1 -1
  384. package/dist/ui-kit/Button/ButtonInner.js +2 -3
  385. package/dist/ui-kit/Button/ButtonInner.js.map +1 -1
  386. package/dist/ui-kit/Button/ButtonSection.d.ts +2 -2
  387. package/dist/ui-kit/Button/ButtonSection.js +1 -6
  388. package/dist/ui-kit/Button/ButtonSection.js.map +1 -1
  389. package/dist/ui-kit/Checkbox/Checkbox.js +1 -3
  390. package/dist/ui-kit/Checkbox/Checkbox.js.map +1 -1
  391. package/dist/ui-kit/Checkbox/CheckboxProps.d.ts +2 -2
  392. package/dist/ui-kit/HeaderItem/HeaderItem.js +6 -1
  393. package/dist/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
  394. package/dist/ui-kit/InnerTable/InnerTable.d.ts +2 -3
  395. package/dist/ui-kit/InnerTable/InnerTable.js +2 -2
  396. package/dist/ui-kit/InnerTable/InnerTable.js.map +1 -1
  397. package/dist/ui-kit/InnerTable/InnerTableBody.d.ts +1 -2
  398. package/dist/ui-kit/InnerTable/InnerTableBody.js +2 -2
  399. package/dist/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
  400. package/dist/ui-kit/InnerTable/InnerTableBodyItem.d.ts +1 -2
  401. package/dist/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
  402. package/dist/ui-kit/InnerTable/InnerTableButton.d.ts +1 -2
  403. package/dist/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
  404. package/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +4 -5
  405. package/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.js +1 -3
  406. package/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.js.map +1 -1
  407. package/dist/ui-kit/SearchBar/SearchBar.d.ts +2 -2
  408. package/dist/ui-kit/SearchBar/SearchBar.js +1 -3
  409. package/dist/ui-kit/SearchBar/SearchBar.js.map +1 -1
  410. package/dist/ui-kit/SearchBar/SearchBar.mobile.d.ts +2 -2
  411. package/dist/ui-kit/SearchBar/SearchBar.mobile.js +1 -3
  412. package/dist/ui-kit/SearchBar/SearchBar.mobile.js.map +1 -1
  413. package/dist/ui-kit/SwipeListControl/SwipeListControl.js +1 -1
  414. package/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  415. package/dist/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +2 -2
  416. package/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js +2 -2
  417. package/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js.map +1 -1
  418. package/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.d.ts +3 -2
  419. package/dist/ui-kit/TopItem/TopItem.js +6 -1
  420. package/dist/ui-kit/TopItem/TopItem.js.map +1 -1
  421. package/dist/utils/adjustHref.js +2 -10
  422. package/dist/utils/adjustHref.js.map +1 -1
  423. package/lib/ProjectSettings.d.ts +2 -0
  424. package/lib/ProjectSettings.js +3 -0
  425. package/lib/ProjectSettings.js.map +1 -1
  426. package/lib/common.css +1 -1
  427. package/lib/components/Accordion/Accordion.fixture.d.ts +1 -0
  428. package/lib/components/Accordion/Accordion.fixture.mobile.d.ts +1 -0
  429. package/lib/components/Accordion/Accordion.js +1 -1
  430. package/lib/components/Accordion/Accordion.js.map +1 -1
  431. package/lib/components/Accordion/Accordion.mobile.js +1 -1
  432. package/lib/components/Accordion/Accordion.mobile.js.map +1 -1
  433. package/lib/components/BaseTile/BaseTile.d.ts +2 -2
  434. package/lib/components/BaseTile/BaseTile.js +1 -3
  435. package/lib/components/BaseTile/BaseTile.js.map +1 -1
  436. package/lib/components/BenefitsBlock/BenefitsBlock.fixture.d.ts +1 -0
  437. package/lib/components/Blocks.js +10 -6
  438. package/lib/components/Blocks.js.map +1 -1
  439. package/lib/components/Blocks.mobile.js +0 -2
  440. package/lib/components/Blocks.mobile.js.map +1 -1
  441. package/lib/components/Bonus/Bonus.fixture.d.ts +1 -0
  442. package/lib/components/Bonus/Bonus.js +3 -3
  443. package/lib/components/Bonus/Bonus.js.map +1 -1
  444. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.fixture.d.ts +1 -0
  445. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
  446. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  447. package/lib/components/BusinessBlock/BusinessBlock.d.ts +5 -0
  448. package/lib/{ui-kit/Button/Button.fixture.mobile.d.ts → components/BusinessBlock/BusinessBlock.fixture.d.ts} +1 -1
  449. package/lib/components/BusinessBlock/BusinessBlock.js +7 -0
  450. package/lib/components/BusinessBlock/BusinessBlock.js.map +1 -0
  451. package/lib/components/BusinessBlock/BusinessBlockContent.d.ts +28 -0
  452. package/lib/components/BusinessBlock/BusinessBlockContent.js +2 -0
  453. package/lib/components/BusinessBlock/BusinessBlockContent.js.map +1 -0
  454. package/lib/components/BusinessBlock/BusinessCard.d.ts +2 -0
  455. package/lib/components/BusinessBlock/BusinessCard.js +14 -0
  456. package/lib/components/BusinessBlock/BusinessCard.js.map +1 -0
  457. package/lib/components/Calculator/BonusCalculatorForm.d.ts +2 -2
  458. package/lib/components/Calculator/BonusCalculatorForm.js +2 -2
  459. package/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
  460. package/lib/components/Calculator/Calculator.fixture.d.ts +1 -0
  461. package/lib/components/Calculator/Calculator.js +3 -5
  462. package/lib/components/Calculator/Calculator.js.map +1 -1
  463. package/lib/components/Calculator/CreditCalculatorForm.d.ts +2 -2
  464. package/lib/components/Calculator/CreditCalculatorForm.js +3 -8
  465. package/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
  466. package/lib/components/Calculator/DepositCalculatorForm.d.ts +2 -2
  467. package/lib/components/Calculator/DepositCalculatorForm.js +3 -8
  468. package/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
  469. package/lib/components/Calculator/renderButtonSection.d.ts +1 -2
  470. package/lib/components/Calculator/renderButtonSection.js +2 -2
  471. package/lib/components/Calculator/renderButtonSection.js.map +1 -1
  472. package/lib/components/Calculator/renderCalculatorBlock.d.ts +1 -1
  473. package/lib/components/Calculator/renderCalculatorBlock.js +2 -2
  474. package/lib/components/Calculator/renderCalculatorBlock.js.map +1 -1
  475. package/lib/components/CardTransfer/CardTransfer.fixture.d.ts +1 -0
  476. package/lib/components/CardTransfer/CardTransfer.js +3 -4
  477. package/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  478. package/lib/components/Catalog/Catalog.fixture.d.ts +1 -0
  479. package/lib/components/Catalog/Catalog.js +12 -22
  480. package/lib/components/Catalog/Catalog.js.map +1 -1
  481. package/lib/components/Catalog/CatalogCard.d.ts +2 -2
  482. package/lib/components/Catalog/CatalogCard.js +1 -3
  483. package/lib/components/Catalog/CatalogCard.js.map +1 -1
  484. package/lib/components/ComparisonTable/ComparisonTable.fixture.d.ts +1 -0
  485. package/lib/components/ComparisonTable/ComparisonTable.fixture.mobile.d.ts +1 -0
  486. package/lib/components/ComparisonTable/ComparisonTable.js +5 -7
  487. package/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
  488. package/lib/components/ComparisonTable/ComparisonTable.mobile.js +3 -3
  489. package/lib/components/ComparisonTable/ComparisonTable.mobile.js.map +1 -1
  490. package/lib/components/ComparisonTable/ComparisonTableBody.d.ts +1 -3
  491. package/lib/components/ComparisonTable/ComparisonTableBody.js +3 -9
  492. package/lib/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
  493. package/lib/components/ComparisonTable/ComparisonTableColumnHeaders.d.ts +0 -3
  494. package/lib/components/ComparisonTable/ComparisonTableColumnHeaders.js +1 -4
  495. package/lib/components/ComparisonTable/ComparisonTableColumnHeaders.js.map +1 -1
  496. package/lib/components/ComparisonTable/ComparisonTableRows.js +2 -2
  497. package/lib/components/ComparisonTable/ComparisonTableRows.js.map +1 -1
  498. package/lib/components/ComparisonTable/HeaderCell.js +1 -1
  499. package/lib/components/ComparisonTable/HeaderCell.js.map +1 -1
  500. package/lib/components/ContactsBlock/ContactsBlock.fixture.d.ts +1 -0
  501. package/lib/components/ContactsBlock/ContactsBlock.js +2 -2
  502. package/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
  503. package/lib/components/ContentPage/ContentPage.fixture.d.ts +1 -0
  504. package/lib/components/ContentPage/ContentPage.fixture.mobile.d.ts +1 -0
  505. package/lib/components/ContentPage/ContentPage.js +4 -5
  506. package/lib/components/ContentPage/ContentPage.js.map +1 -1
  507. package/lib/components/ContentPage/renderBlock.d.ts +0 -2
  508. package/lib/components/ContentPage/renderBlock.js +3 -3
  509. package/lib/components/ContentPage/renderBlock.js.map +1 -1
  510. package/lib/components/ContentPage/renderBlockList.d.ts +1 -1
  511. package/lib/components/ContentPage/renderBlockList.js +5 -12
  512. package/lib/components/ContentPage/renderBlockList.js.map +1 -1
  513. package/lib/components/ContentPage/renderSlots.d.ts +1 -1
  514. package/lib/components/ContentPage/renderSlots.js +10 -12
  515. package/lib/components/ContentPage/renderSlots.js.map +1 -1
  516. package/lib/components/ErrorBlock/ErrorBlock.fixture.d.ts +1 -0
  517. package/lib/components/ErrorBlock/ErrorBlock.js +1 -6
  518. package/lib/components/ErrorBlock/ErrorBlock.js.map +1 -1
  519. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +1 -2
  520. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +2 -5
  521. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  522. package/lib/components/ExchangeRateTile/ExchangeRateTile.fixture.d.ts +1 -0
  523. package/lib/components/ExchangeRateTile/ExchangeRateTile.js +2 -2
  524. package/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  525. package/lib/components/Footer/Contacts.d.ts +2 -2
  526. package/lib/components/Footer/Contacts.js +1 -10
  527. package/lib/components/Footer/Contacts.js.map +1 -1
  528. package/lib/components/Footer/Footer.fallback.d.ts +2 -0
  529. package/lib/components/Footer/Footer.fallback.js +10 -0
  530. package/lib/components/Footer/Footer.fallback.js.map +1 -0
  531. package/lib/components/Footer/Footer.fixture.d.ts +1 -0
  532. package/lib/components/Footer/Footer.fixture.mobile.d.ts +1 -0
  533. package/lib/components/Footer/Footer.js +6 -3
  534. package/lib/components/Footer/Footer.js.map +1 -1
  535. package/lib/components/Footer/Footer.mobile.js +10 -9
  536. package/lib/components/Footer/Footer.mobile.js.map +1 -1
  537. package/lib/components/Footer/FooterContent.d.ts +3 -19
  538. package/lib/components/Footer/FooterDataProps.d.ts +12 -0
  539. package/lib/components/Footer/FooterDataProps.js +2 -0
  540. package/lib/components/Footer/FooterDataProps.js.map +1 -0
  541. package/lib/components/Footer/FooterLink.d.ts +2 -2
  542. package/lib/components/Footer/HorizontalNavigation.d.ts +1 -2
  543. package/lib/components/Footer/HorizontalNavigation.js +2 -5
  544. package/lib/components/Footer/HorizontalNavigation.js.map +1 -1
  545. package/lib/components/Footer/HorizontalNavigation.mobile.d.ts +1 -2
  546. package/lib/components/Footer/HorizontalNavigation.mobile.js +1 -6
  547. package/lib/components/Footer/HorizontalNavigation.mobile.js.map +1 -1
  548. package/lib/components/Footer/HorizontalNavigationLink.js +6 -1
  549. package/lib/components/Footer/HorizontalNavigationLink.js.map +1 -1
  550. package/lib/components/Footer/MediaButton.js +5 -2
  551. package/lib/components/Footer/MediaButton.js.map +1 -1
  552. package/lib/components/Footer/Sitemap.d.ts +2 -2
  553. package/lib/components/Footer/Sitemap.js +14 -12
  554. package/lib/components/Footer/Sitemap.js.map +1 -1
  555. package/lib/components/Footer/SocialMedia.d.ts +2 -2
  556. package/lib/components/Footer/SocialMedia.js +1 -6
  557. package/lib/components/Footer/SocialMedia.js.map +1 -1
  558. package/lib/components/Footer/SocialMedia.mobile.d.ts +2 -2
  559. package/lib/components/Footer/SocialMedia.mobile.js +1 -6
  560. package/lib/components/Footer/SocialMedia.mobile.js.map +1 -1
  561. package/lib/components/Footer/TextInformation.js +1 -6
  562. package/lib/components/Footer/TextInformation.js.map +1 -1
  563. package/lib/components/Footer/TextInformation.mobile.js +2 -5
  564. package/lib/components/Footer/TextInformation.mobile.js.map +1 -1
  565. package/lib/components/Footer/TextInformationLink.js +6 -1
  566. package/lib/components/Footer/TextInformationLink.js.map +1 -1
  567. package/lib/components/Footer/useFooterData.d.ts +2 -0
  568. package/lib/{services/sitemap/useSitemap.js → components/Footer/useFooterData.js} +3 -3
  569. package/lib/components/Footer/useFooterData.js.map +1 -0
  570. package/lib/components/Gallery/Gallery.fixture.d.ts +1 -0
  571. package/lib/components/Gallery/Gallery.fixture.mobile.d.ts +1 -0
  572. package/lib/components/Gallery/Gallery.mobile.js +4 -4
  573. package/lib/components/Gallery/Gallery.mobile.js.map +1 -1
  574. package/lib/components/Gallery/GalleryContainer.d.ts +1 -3
  575. package/lib/components/Gallery/GalleryContainer.js +2 -2
  576. package/lib/components/Gallery/GalleryContainer.js.map +1 -1
  577. package/lib/components/Gallery/GalleryContent.d.ts +1 -1
  578. package/lib/components/Gallery/GalleryInner.js +2 -2
  579. package/lib/components/Gallery/GalleryInner.js.map +1 -1
  580. package/lib/components/GracePeriod/GracePeriod.fixture.d.ts +1 -0
  581. package/lib/components/GracePeriod/GracePeriod.js +1 -3
  582. package/lib/components/GracePeriod/GracePeriod.js.map +1 -1
  583. package/lib/components/Header/DropdownMenu.d.ts +0 -2
  584. package/lib/components/Header/DropdownMenu.js +3 -4
  585. package/lib/components/Header/DropdownMenu.js.map +1 -1
  586. package/lib/components/Header/Header.fixture.d.ts +1 -0
  587. package/lib/components/Header/Header.fixture.mobile.d.ts +1 -0
  588. package/lib/components/Header/Header.js +8 -9
  589. package/lib/components/Header/Header.js.map +1 -1
  590. package/lib/components/Header/Header.mobile.js +8 -14
  591. package/lib/components/Header/Header.mobile.js.map +1 -1
  592. package/lib/components/Header/HeaderBurger.d.ts +0 -2
  593. package/lib/components/Header/HeaderBurger.js +2 -2
  594. package/lib/components/Header/HeaderBurger.js.map +1 -1
  595. package/lib/components/Header/HeaderSubMenu.d.ts +0 -2
  596. package/lib/components/Header/HeaderSubMenu.js +4 -3
  597. package/lib/components/Header/HeaderSubMenu.js.map +1 -1
  598. package/lib/components/Header/HeaderSubMenuItem.d.ts +0 -2
  599. package/lib/components/Header/HeaderSubMenuItem.js +2 -5
  600. package/lib/components/Header/HeaderSubMenuItem.js.map +1 -1
  601. package/lib/components/Headline/Headline.fixture.d.ts +1 -0
  602. package/lib/components/Headline/Headline.fixture.mobile.d.ts +1 -0
  603. package/lib/components/Headline/Headline.js +1 -1
  604. package/lib/components/Headline/Headline.js.map +1 -1
  605. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.fixture.d.ts +1 -0
  606. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +4 -6
  607. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  608. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +2 -2
  609. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  610. package/lib/components/InvestmentGallery/InvestmentGallery.fixture.d.ts +1 -0
  611. package/lib/components/InvestmentGallery/InvestmentGallery.js +3 -7
  612. package/lib/components/InvestmentGallery/InvestmentGallery.js.map +1 -1
  613. package/lib/components/InvestmentGallery/InvestmentGalleryCard.d.ts +2 -2
  614. package/lib/components/InvestmentGallery/InvestmentGalleryCard.js +2 -2
  615. package/lib/components/InvestmentGallery/InvestmentGalleryCard.js.map +1 -1
  616. package/lib/components/InvestmentInfo/InvestmentInfo.fixture.d.ts +1 -0
  617. package/lib/components/InvestmentInfo/InvestmentInfo.js +2 -2
  618. package/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  619. package/lib/components/LikeControl/LikeControl.d.ts +5 -2
  620. package/lib/components/LikeControl/LikeControl.fixture.d.ts +1 -0
  621. package/lib/components/LikeControl/LikeControl.js +4 -5
  622. package/lib/components/LikeControl/LikeControl.js.map +1 -1
  623. package/lib/components/LinkDocs/LinkDocs.fixture.d.ts +1 -0
  624. package/lib/components/LinkDocs/LinkDocs.fixture.mobile.d.ts +1 -0
  625. package/lib/components/LinkDocs/LinkDocs.js +1 -3
  626. package/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  627. package/lib/components/LinkDocs/LinkDocs.mobile.js +1 -3
  628. package/lib/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
  629. package/lib/components/LinkDocs/LinkDocsHorizontalList.d.ts +1 -5
  630. package/lib/components/LinkDocs/LinkDocsHorizontalList.js +3 -5
  631. package/lib/components/LinkDocs/LinkDocsHorizontalList.js.map +1 -1
  632. package/lib/components/LinkList/LinkList.fixture.d.ts +1 -0
  633. package/lib/components/LinkList/LinkList.js +1 -3
  634. package/lib/components/LinkList/LinkList.js.map +1 -1
  635. package/lib/components/MiniGallery/MiniGallery.fixture.d.ts +1 -0
  636. package/lib/components/MobileAppTile/MobileAppTile.fixture.d.ts +1 -0
  637. package/lib/components/MobileAppTile/MobileAppTile.fixture.mobile.d.ts +1 -0
  638. package/lib/components/MobileAppTile/MobileAppTile.js +4 -4
  639. package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  640. package/lib/components/OfficeMap/OfficeMap.fixture.d.ts +1 -0
  641. package/lib/components/OfficeServicesBlock/OfficeServicesBlock.fixture.d.ts +1 -0
  642. package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -3
  643. package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  644. package/lib/components/OtherProducts/OtherProducts.fixture.d.ts +1 -0
  645. package/lib/components/OtherProducts/OtherProducts.js +1 -1
  646. package/lib/components/OtherProducts/OtherProducts.js.map +1 -1
  647. package/lib/components/PictureText/PictureText.fixture.d.ts +1 -0
  648. package/lib/components/PictureText/PictureText.js +1 -3
  649. package/lib/components/PictureText/PictureText.js.map +1 -1
  650. package/lib/components/Placeholder/Placeholder.d.ts +0 -1
  651. package/lib/components/Placeholder/Placeholder.fixture.d.ts +1 -0
  652. package/lib/components/Placeholder/Placeholder.fixture.mobile.d.ts +1 -0
  653. package/lib/components/Placeholder/Placeholder.js +2 -2
  654. package/lib/components/Placeholder/Placeholder.js.map +1 -1
  655. package/lib/components/ProductBlock/ProductBlock.fixture.d.ts +1 -0
  656. package/lib/components/ProductBlock/ProductBlock.fixture.mobile.d.ts +1 -0
  657. package/lib/components/ProductBlock/ProductBlock.js +4 -7
  658. package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  659. package/lib/components/ProductBlock/ProductBlockInner.js +2 -5
  660. package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  661. package/lib/components/ProductBlock/ProductBlockInner.mobile.js +2 -2
  662. package/lib/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
  663. package/lib/components/ProductBlock/renderBackwardButton.d.ts +1 -1
  664. package/lib/components/ProductBlock/renderBackwardButton.js +1 -0
  665. package/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
  666. package/lib/components/ProductGallery/ProductGallery.fixture.d.ts +1 -0
  667. package/lib/components/ProductGallery/ProductGallery.js +5 -5
  668. package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  669. package/lib/components/ProductTile/ProductTile.fixture.d.ts +1 -0
  670. package/lib/components/ProductTile/ProductTile.js +4 -6
  671. package/lib/components/ProductTile/ProductTile.js.map +1 -1
  672. package/lib/components/PromoTile/PromoTile.fixture.d.ts +1 -0
  673. package/lib/components/PromoTile/PromoTile.js +1 -3
  674. package/lib/components/PromoTile/PromoTile.js.map +1 -1
  675. package/lib/components/Recommendation/Recommendation.fixture.d.ts +1 -0
  676. package/lib/components/Recommendation/Recommendation.js +4 -9
  677. package/lib/components/Recommendation/Recommendation.js.map +1 -1
  678. package/lib/components/Recommendation/RecommendationCard.d.ts +2 -2
  679. package/lib/components/Recommendation/RecommendationCard.js +2 -2
  680. package/lib/components/Recommendation/RecommendationCard.js.map +1 -1
  681. package/lib/components/SafeDepositRental/SafeDepositRental.fixture.d.ts +1 -0
  682. package/lib/components/SafeDepositRental/SafeDepositRental.js +3 -3
  683. package/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  684. package/lib/components/StepsBlock/StepsBlock.fixture.d.ts +1 -0
  685. package/lib/components/StepsBlock/StepsBlock.fixture.mobile.d.ts +1 -0
  686. package/lib/components/StepsBlock/StepsBlock.js +3 -12
  687. package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  688. package/lib/components/StepsBlock/renderStepContent.d.ts +2 -5
  689. package/lib/components/StepsBlock/renderStepContent.js +2 -3
  690. package/lib/components/StepsBlock/renderStepContent.js.map +1 -1
  691. package/lib/components/Tabs/LinkTab.d.ts +8 -0
  692. package/lib/components/Tabs/LinkTab.js +18 -0
  693. package/lib/components/Tabs/LinkTab.js.map +1 -0
  694. package/lib/components/Tabs/Tabs.d.ts +2 -2
  695. package/lib/components/Tabs/Tabs.fixture.d.ts +1 -0
  696. package/lib/components/Tabs/Tabs.js +2 -2
  697. package/lib/components/Tabs/Tabs.js.map +1 -1
  698. package/lib/components/Tabs/TabsContent.d.ts +5 -5
  699. package/lib/components/Tabs/renderGroupTab.d.ts +2 -2
  700. package/lib/components/Tabs/renderGroupTab.js +1 -1
  701. package/lib/components/Tabs/renderGroupTab.js.map +1 -1
  702. package/lib/components/Tabs/renderTab.d.ts +4 -6
  703. package/lib/components/Tabs/renderTab.js +5 -19
  704. package/lib/components/Tabs/renderTab.js.map +1 -1
  705. package/lib/components/TariffsTable/EmbeddableCellData.js +3 -5
  706. package/lib/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  707. package/lib/components/TariffsTable/TariffsTable.fixture.d.ts +1 -0
  708. package/lib/components/TariffsTable/TariffsTable.fixture.mobile.d.ts +1 -0
  709. package/lib/components/TariffsTable/TariffsTable.js +4 -7
  710. package/lib/components/TariffsTable/TariffsTable.js.map +1 -1
  711. package/lib/components/TariffsTable/TariffsTable.mobile.js +2 -5
  712. package/lib/components/TariffsTable/TariffsTable.mobile.js.map +1 -1
  713. package/lib/components/TariffsTable/TariffsTableCell.js +1 -2
  714. package/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
  715. package/lib/components/TariffsTable/TariffsTableContent.d.ts +1 -1
  716. package/lib/components/TariffsTable/TariffsTableHorizontal.js +1 -1
  717. package/lib/components/TariffsTable/TariffsTableHorizontal.js.map +1 -1
  718. package/lib/components/TariffsTable/TariffsTableRenderCell.d.ts +1 -3
  719. package/lib/components/TariffsTable/TariffsTableRenderCell.js +1 -2
  720. package/lib/components/TariffsTable/TariffsTableRenderCell.js.map +1 -1
  721. package/lib/components/TariffsTable/TariffsTableRow.js +3 -3
  722. package/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
  723. package/lib/components/TariffsTable/TariffsTableRowContainer.d.ts +1 -3
  724. package/lib/components/TariffsTable/TariffsTableRowContainer.js +1 -3
  725. package/lib/components/TariffsTable/TariffsTableRowContainer.js.map +1 -1
  726. package/lib/components/TariffsTable/TariffsTableTileCell.d.ts +3 -4
  727. package/lib/components/TariffsTable/TariffsTableTileCell.js +8 -13
  728. package/lib/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  729. package/lib/components/TariffsTable/TariffsTableVertical.js +1 -1
  730. package/lib/components/TariffsTable/TariffsTableVertical.js.map +1 -1
  731. package/lib/components/TextBlock/TextBlock.fixture.d.ts +1 -0
  732. package/lib/components/TextBlock/TextBlock.fixture.mobile.d.ts +1 -0
  733. package/lib/components/Tile/Tile.fixture.d.ts +1 -0
  734. package/lib/components/Tile/Tile.js +2 -2
  735. package/lib/components/Tile/Tile.js.map +1 -1
  736. package/lib/components/VerticalLayout/VerticalLayout.d.ts +5 -0
  737. package/lib/components/VerticalLayout/VerticalLayout.fixture.d.ts +9 -0
  738. package/lib/components/VerticalLayout/VerticalLayout.js +33 -0
  739. package/lib/components/VerticalLayout/VerticalLayout.js.map +1 -0
  740. package/lib/components/VerticalLayout/VerticalLayoutContent.d.ts +17 -0
  741. package/lib/components/VerticalLayout/VerticalLayoutContent.js +2 -0
  742. package/lib/components/VerticalLayout/VerticalLayoutContent.js.map +1 -0
  743. package/lib/hooks/handlerDecorator.d.ts +5 -0
  744. package/lib/hooks/handlerDecorator.js +9 -0
  745. package/lib/hooks/handlerDecorator.js.map +1 -0
  746. package/lib/hooks/useLink.d.ts +6 -16
  747. package/lib/hooks/useLink.js +20 -15
  748. package/lib/hooks/useLink.js.map +1 -1
  749. package/lib/hooks/useRouter.d.ts +13 -0
  750. package/lib/hooks/useRouter.js +18 -0
  751. package/lib/hooks/useRouter.js.map +1 -0
  752. package/lib/hooks/useTableArrowScrollControl.d.ts +1 -3
  753. package/lib/hooks/useTableArrowScrollControl.js +13 -4
  754. package/lib/hooks/useTableArrowScrollControl.js.map +1 -1
  755. package/lib/index.d.ts +2 -0
  756. package/lib/index.js +2 -0
  757. package/lib/index.js.map +1 -1
  758. package/lib/model/BlockVersion.d.ts +1 -0
  759. package/lib/model/BlockVersion.js +5 -0
  760. package/lib/model/BlockVersion.js.map +1 -1
  761. package/lib/model/BlocksRegistry.d.ts +1 -1
  762. package/lib/model/JSXBlock.d.ts +7 -8
  763. package/lib/react/setup-fixture.d.ts +0 -3
  764. package/lib/react/setup-fixture.js +9 -24
  765. package/lib/react/setup-fixture.js.map +1 -1
  766. package/lib/services/sitemap/SitemapProps.d.ts +1 -1
  767. package/lib/services/sitemap/findActiveSubItem.d.ts +1 -1
  768. package/lib/services/sitemap/isHrefActive.js +1 -2
  769. package/lib/services/sitemap/isHrefActive.js.map +1 -1
  770. package/lib/services/sitemap/isSubItemActive.d.ts +1 -1
  771. package/lib/services/sitemap/isTopItemActive.d.ts +1 -1
  772. package/lib/services/sitemap/useSWRResource.d.ts +2 -0
  773. package/lib/services/sitemap/useSWRResource.js +9 -0
  774. package/lib/services/sitemap/useSWRResource.js.map +1 -0
  775. package/lib/ui-kit/BlockWrapper.d.ts +2 -2
  776. package/lib/ui-kit/BlockWrapper.js +3 -2
  777. package/lib/ui-kit/BlockWrapper.js.map +1 -1
  778. package/lib/ui-kit/Breadcrumb.js +6 -1
  779. package/lib/ui-kit/Breadcrumb.js.map +1 -1
  780. package/lib/ui-kit/Button/Button.js +8 -9
  781. package/lib/ui-kit/Button/Button.js.map +1 -1
  782. package/lib/ui-kit/Button/ButtonInner.js +2 -3
  783. package/lib/ui-kit/Button/ButtonInner.js.map +1 -1
  784. package/lib/ui-kit/Button/ButtonSection.d.ts +2 -2
  785. package/lib/ui-kit/Button/ButtonSection.js +1 -6
  786. package/lib/ui-kit/Button/ButtonSection.js.map +1 -1
  787. package/lib/ui-kit/Checkbox/Checkbox.js +1 -3
  788. package/lib/ui-kit/Checkbox/Checkbox.js.map +1 -1
  789. package/lib/ui-kit/Checkbox/CheckboxProps.d.ts +2 -2
  790. package/lib/ui-kit/HeaderItem/HeaderItem.js +6 -1
  791. package/lib/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
  792. package/lib/ui-kit/InnerTable/InnerTable.d.ts +2 -3
  793. package/lib/ui-kit/InnerTable/InnerTable.js +2 -2
  794. package/lib/ui-kit/InnerTable/InnerTable.js.map +1 -1
  795. package/lib/ui-kit/InnerTable/InnerTableBody.d.ts +1 -2
  796. package/lib/ui-kit/InnerTable/InnerTableBody.js +2 -2
  797. package/lib/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
  798. package/lib/ui-kit/InnerTable/InnerTableBodyItem.d.ts +1 -2
  799. package/lib/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
  800. package/lib/ui-kit/InnerTable/InnerTableButton.d.ts +1 -2
  801. package/lib/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
  802. package/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +4 -5
  803. package/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.fixture.d.ts +1 -0
  804. package/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.js +1 -3
  805. package/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.js.map +1 -1
  806. package/lib/ui-kit/SearchBar/SearchBar.d.ts +2 -2
  807. package/lib/ui-kit/SearchBar/SearchBar.js +1 -3
  808. package/lib/ui-kit/SearchBar/SearchBar.js.map +1 -1
  809. package/lib/ui-kit/SearchBar/SearchBar.mobile.d.ts +2 -2
  810. package/lib/ui-kit/SearchBar/SearchBar.mobile.js +1 -3
  811. package/lib/ui-kit/SearchBar/SearchBar.mobile.js.map +1 -1
  812. package/lib/ui-kit/SwipeListControl/SwipeListControl.fixture.mobile.d.ts +1 -0
  813. package/lib/ui-kit/SwipeListControl/SwipeListControl.js +1 -1
  814. package/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  815. package/lib/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +2 -2
  816. package/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js +2 -2
  817. package/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js.map +1 -1
  818. package/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.d.ts +3 -2
  819. package/lib/ui-kit/TopItem/TopItem.js +6 -1
  820. package/lib/ui-kit/TopItem/TopItem.js.map +1 -1
  821. package/lib/utils/adjustHref.js +2 -10
  822. package/lib/utils/adjustHref.js.map +1 -1
  823. package/mobile/bundle/ProjectSettings.d.ts +2 -0
  824. package/mobile/bundle/bundle.umd.js +231 -248
  825. package/mobile/bundle/bundle.umd.min.js +1 -1
  826. package/mobile/bundle/components/BaseTile/BaseTile.d.ts +2 -2
  827. package/mobile/bundle/components/BusinessBlock/BusinessBlock.d.ts +5 -0
  828. package/mobile/bundle/components/BusinessBlock/BusinessBlockContent.d.ts +28 -0
  829. package/mobile/bundle/components/BusinessBlock/BusinessCard.d.ts +2 -0
  830. package/mobile/bundle/components/Calculator/BonusCalculatorForm.d.ts +2 -2
  831. package/mobile/bundle/components/Calculator/CreditCalculatorForm.d.ts +2 -2
  832. package/mobile/bundle/components/Calculator/DepositCalculatorForm.d.ts +2 -2
  833. package/mobile/bundle/components/Calculator/renderButtonSection.d.ts +1 -2
  834. package/mobile/bundle/components/Calculator/renderCalculatorBlock.d.ts +1 -1
  835. package/mobile/bundle/components/Catalog/CatalogCard.d.ts +2 -2
  836. package/mobile/bundle/components/ComparisonTable/ComparisonTableBody.d.ts +1 -3
  837. package/mobile/bundle/components/ComparisonTable/ComparisonTableColumnHeaders.d.ts +0 -3
  838. package/mobile/bundle/components/ContentPage/renderBlock.d.ts +0 -2
  839. package/mobile/bundle/components/ContentPage/renderBlockList.d.ts +1 -1
  840. package/mobile/bundle/components/ContentPage/renderSlots.d.ts +1 -1
  841. package/mobile/bundle/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +1 -2
  842. package/mobile/bundle/components/Footer/Contacts.d.ts +2 -2
  843. package/mobile/bundle/components/Footer/Footer.fallback.d.ts +2 -0
  844. package/mobile/bundle/components/Footer/FooterContent.d.ts +3 -19
  845. package/mobile/bundle/components/Footer/FooterDataProps.d.ts +12 -0
  846. package/mobile/bundle/components/Footer/FooterLink.d.ts +2 -2
  847. package/mobile/bundle/components/Footer/HorizontalNavigation.d.ts +1 -2
  848. package/mobile/bundle/components/Footer/Sitemap.d.ts +2 -2
  849. package/mobile/bundle/components/Footer/SocialMedia.d.ts +2 -2
  850. package/mobile/bundle/components/Footer/useFooterData.d.ts +2 -0
  851. package/mobile/bundle/components/Gallery/GalleryContainer.d.ts +1 -3
  852. package/mobile/bundle/components/Gallery/GalleryContent.d.ts +1 -1
  853. package/mobile/bundle/components/Header/DropdownMenu.d.ts +0 -2
  854. package/mobile/bundle/components/Header/HeaderBurger.d.ts +0 -2
  855. package/mobile/bundle/components/Header/HeaderSubMenu.d.ts +0 -2
  856. package/mobile/bundle/components/Header/HeaderSubMenuItem.d.ts +0 -2
  857. package/mobile/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +2 -2
  858. package/mobile/bundle/components/InvestmentGallery/InvestmentGalleryCard.d.ts +2 -2
  859. package/mobile/bundle/components/LikeControl/LikeControl.d.ts +5 -2
  860. package/mobile/bundle/components/LinkDocs/LinkDocsHorizontalList.d.ts +1 -5
  861. package/mobile/bundle/components/Placeholder/Placeholder.d.ts +0 -1
  862. package/mobile/bundle/components/ProductBlock/renderBackwardButton.d.ts +1 -1
  863. package/mobile/bundle/components/Recommendation/RecommendationCard.d.ts +2 -2
  864. package/mobile/bundle/components/StepsBlock/renderStepContent.d.ts +2 -5
  865. package/mobile/bundle/components/Tabs/LinkTab.d.ts +8 -0
  866. package/mobile/bundle/components/Tabs/Tabs.d.ts +2 -2
  867. package/mobile/bundle/components/Tabs/TabsContent.d.ts +5 -5
  868. package/mobile/bundle/components/Tabs/renderGroupTab.d.ts +2 -2
  869. package/mobile/bundle/components/Tabs/renderTab.d.ts +4 -6
  870. package/mobile/bundle/components/TariffsTable/TariffsTableContent.d.ts +1 -1
  871. package/mobile/bundle/components/TariffsTable/TariffsTableRenderCell.d.ts +1 -3
  872. package/mobile/bundle/components/TariffsTable/TariffsTableRowContainer.d.ts +1 -3
  873. package/mobile/bundle/components/TariffsTable/TariffsTableTileCell.d.ts +3 -4
  874. package/mobile/bundle/components/VerticalLayout/VerticalLayout.d.ts +5 -0
  875. package/mobile/bundle/components/VerticalLayout/VerticalLayoutContent.d.ts +17 -0
  876. package/mobile/bundle/hooks/handlerDecorator.d.ts +5 -0
  877. package/mobile/bundle/hooks/useLink.d.ts +6 -16
  878. package/mobile/bundle/hooks/useRouter.d.ts +13 -0
  879. package/mobile/bundle/hooks/useTableArrowScrollControl.d.ts +1 -3
  880. package/mobile/bundle/index.d.ts +2 -0
  881. package/mobile/bundle/model/BlockVersion.d.ts +1 -0
  882. package/mobile/bundle/model/BlocksRegistry.d.ts +1 -1
  883. package/mobile/bundle/model/JSXBlock.d.ts +7 -8
  884. package/mobile/bundle/react/setup-fixture.d.ts +0 -3
  885. package/mobile/bundle/services/sitemap/SitemapProps.d.ts +1 -1
  886. package/mobile/bundle/services/sitemap/findActiveSubItem.d.ts +1 -1
  887. package/mobile/bundle/services/sitemap/isSubItemActive.d.ts +1 -1
  888. package/mobile/bundle/services/sitemap/isTopItemActive.d.ts +1 -1
  889. package/mobile/bundle/services/sitemap/useSWRResource.d.ts +2 -0
  890. package/mobile/bundle/ui-kit/BlockWrapper.d.ts +2 -2
  891. package/mobile/bundle/ui-kit/Button/ButtonSection.d.ts +2 -2
  892. package/mobile/bundle/ui-kit/Checkbox/CheckboxProps.d.ts +2 -2
  893. package/mobile/bundle/ui-kit/InnerTable/InnerTable.d.ts +2 -3
  894. package/mobile/bundle/ui-kit/InnerTable/InnerTableBody.d.ts +1 -2
  895. package/mobile/bundle/ui-kit/InnerTable/InnerTableBodyItem.d.ts +1 -2
  896. package/mobile/bundle/ui-kit/InnerTable/InnerTableButton.d.ts +1 -2
  897. package/mobile/bundle/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +4 -5
  898. package/mobile/bundle/ui-kit/SearchBar/SearchBar.d.ts +2 -2
  899. package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +2 -2
  900. package/mobile/bundle/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.d.ts +3 -2
  901. package/mobile/dist/ProjectSettings.d.ts +2 -0
  902. package/mobile/dist/ProjectSettings.js +3 -0
  903. package/mobile/dist/ProjectSettings.js.map +1 -1
  904. package/mobile/dist/components/Accordion/Accordion.js +1 -1
  905. package/mobile/dist/components/Accordion/Accordion.js.map +1 -1
  906. package/mobile/dist/components/BaseTile/BaseTile.d.ts +2 -2
  907. package/mobile/dist/components/BaseTile/BaseTile.js +1 -3
  908. package/mobile/dist/components/BaseTile/BaseTile.js.map +1 -1
  909. package/mobile/dist/components/Blocks.js +0 -2
  910. package/mobile/dist/components/Blocks.js.map +1 -1
  911. package/mobile/dist/components/Bonus/Bonus.js +3 -3
  912. package/mobile/dist/components/Bonus/Bonus.js.map +1 -1
  913. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
  914. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  915. package/mobile/dist/components/BusinessBlock/BusinessBlock.d.ts +5 -0
  916. package/mobile/dist/components/BusinessBlock/BusinessBlock.js +9 -0
  917. package/mobile/dist/components/BusinessBlock/BusinessBlock.js.map +1 -0
  918. package/mobile/dist/components/BusinessBlock/BusinessBlockContent.d.ts +28 -0
  919. package/mobile/dist/components/BusinessBlock/BusinessBlockContent.js +2 -0
  920. package/mobile/dist/components/BusinessBlock/BusinessBlockContent.js.map +1 -0
  921. package/mobile/dist/components/BusinessBlock/BusinessCard.d.ts +2 -0
  922. package/mobile/dist/components/BusinessBlock/BusinessCard.js +16 -0
  923. package/mobile/dist/components/BusinessBlock/BusinessCard.js.map +1 -0
  924. package/mobile/dist/components/Calculator/BonusCalculatorForm.d.ts +2 -2
  925. package/mobile/dist/components/Calculator/BonusCalculatorForm.js +2 -2
  926. package/mobile/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
  927. package/mobile/dist/components/Calculator/Calculator.js +3 -5
  928. package/mobile/dist/components/Calculator/Calculator.js.map +1 -1
  929. package/mobile/dist/components/Calculator/CreditCalculatorForm.d.ts +2 -2
  930. package/mobile/dist/components/Calculator/CreditCalculatorForm.js +3 -8
  931. package/mobile/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
  932. package/mobile/dist/components/Calculator/DepositCalculatorForm.d.ts +2 -2
  933. package/mobile/dist/components/Calculator/DepositCalculatorForm.js +3 -8
  934. package/mobile/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
  935. package/mobile/dist/components/Calculator/renderButtonSection.d.ts +1 -2
  936. package/mobile/dist/components/Calculator/renderButtonSection.js +2 -2
  937. package/mobile/dist/components/Calculator/renderButtonSection.js.map +1 -1
  938. package/mobile/dist/components/Calculator/renderCalculatorBlock.d.ts +1 -1
  939. package/mobile/dist/components/Calculator/renderCalculatorBlock.js +2 -2
  940. package/mobile/dist/components/Calculator/renderCalculatorBlock.js.map +1 -1
  941. package/mobile/dist/components/CardTransfer/CardTransfer.js +3 -4
  942. package/mobile/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  943. package/mobile/dist/components/Catalog/Catalog.js +11 -21
  944. package/mobile/dist/components/Catalog/Catalog.js.map +1 -1
  945. package/mobile/dist/components/Catalog/CatalogCard.d.ts +2 -2
  946. package/mobile/dist/components/Catalog/CatalogCard.js +1 -3
  947. package/mobile/dist/components/Catalog/CatalogCard.js.map +1 -1
  948. package/mobile/dist/components/ComparisonTable/ComparisonTable.js +3 -3
  949. package/mobile/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
  950. package/mobile/dist/components/ComparisonTable/ComparisonTableBody.d.ts +1 -3
  951. package/mobile/dist/components/ComparisonTable/ComparisonTableBody.js +3 -9
  952. package/mobile/dist/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
  953. package/mobile/dist/components/ComparisonTable/ComparisonTableColumnHeaders.d.ts +0 -3
  954. package/mobile/dist/components/ComparisonTable/ComparisonTableColumnHeaders.js +1 -4
  955. package/mobile/dist/components/ComparisonTable/ComparisonTableColumnHeaders.js.map +1 -1
  956. package/mobile/dist/components/ComparisonTable/ComparisonTableRows.js +2 -2
  957. package/mobile/dist/components/ComparisonTable/ComparisonTableRows.js.map +1 -1
  958. package/mobile/dist/components/ContactsBlock/ContactsBlock.js +2 -2
  959. package/mobile/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
  960. package/mobile/dist/components/ContentPage/ContentPage.js +4 -5
  961. package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
  962. package/mobile/dist/components/ContentPage/renderBlock.d.ts +0 -2
  963. package/mobile/dist/components/ContentPage/renderBlock.js +3 -3
  964. package/mobile/dist/components/ContentPage/renderBlock.js.map +1 -1
  965. package/mobile/dist/components/ContentPage/renderBlockList.d.ts +1 -1
  966. package/mobile/dist/components/ContentPage/renderBlockList.js +5 -12
  967. package/mobile/dist/components/ContentPage/renderBlockList.js.map +1 -1
  968. package/mobile/dist/components/ContentPage/renderSlots.d.ts +1 -1
  969. package/mobile/dist/components/ContentPage/renderSlots.js +10 -12
  970. package/mobile/dist/components/ContentPage/renderSlots.js.map +1 -1
  971. package/mobile/dist/components/ErrorBlock/ErrorBlock.js +1 -6
  972. package/mobile/dist/components/ErrorBlock/ErrorBlock.js.map +1 -1
  973. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +1 -2
  974. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +2 -5
  975. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  976. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js +2 -2
  977. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  978. package/mobile/dist/components/Footer/Contacts.d.ts +2 -2
  979. package/mobile/dist/components/Footer/Contacts.js +1 -10
  980. package/mobile/dist/components/Footer/Contacts.js.map +1 -1
  981. package/mobile/dist/components/Footer/Footer.fallback.d.ts +2 -0
  982. package/mobile/dist/components/Footer/Footer.fallback.js +13 -0
  983. package/mobile/dist/components/Footer/Footer.fallback.js.map +1 -0
  984. package/mobile/dist/components/Footer/Footer.js +10 -9
  985. package/mobile/dist/components/Footer/Footer.js.map +1 -1
  986. package/mobile/dist/components/Footer/FooterContent.d.ts +3 -19
  987. package/mobile/dist/components/Footer/FooterDataProps.d.ts +12 -0
  988. package/mobile/dist/components/{ContentPage/ContentPageContext.js → Footer/FooterDataProps.js} +1 -1
  989. package/mobile/dist/components/Footer/FooterDataProps.js.map +1 -0
  990. package/mobile/dist/components/Footer/FooterLink.d.ts +2 -2
  991. package/mobile/dist/components/Footer/HorizontalNavigation.d.ts +1 -2
  992. package/mobile/dist/components/Footer/HorizontalNavigation.js +1 -6
  993. package/mobile/dist/components/Footer/HorizontalNavigation.js.map +1 -1
  994. package/mobile/dist/components/Footer/HorizontalNavigationLink.js +6 -1
  995. package/mobile/dist/components/Footer/HorizontalNavigationLink.js.map +1 -1
  996. package/mobile/dist/components/Footer/MediaButton.js +5 -2
  997. package/mobile/dist/components/Footer/MediaButton.js.map +1 -1
  998. package/mobile/dist/components/Footer/Sitemap.d.ts +2 -2
  999. package/mobile/dist/components/Footer/Sitemap.js +14 -12
  1000. package/mobile/dist/components/Footer/Sitemap.js.map +1 -1
  1001. package/mobile/dist/components/Footer/SocialMedia.d.ts +2 -2
  1002. package/mobile/dist/components/Footer/SocialMedia.js +1 -6
  1003. package/mobile/dist/components/Footer/SocialMedia.js.map +1 -1
  1004. package/mobile/dist/components/Footer/TextInformation.js +2 -5
  1005. package/mobile/dist/components/Footer/TextInformation.js.map +1 -1
  1006. package/mobile/dist/components/Footer/TextInformationLink.js +6 -1
  1007. package/mobile/dist/components/Footer/TextInformationLink.js.map +1 -1
  1008. package/mobile/dist/components/Footer/useFooterData.d.ts +2 -0
  1009. package/mobile/dist/{services/sitemap/useSitemap.js → components/Footer/useFooterData.js} +5 -5
  1010. package/mobile/dist/components/Footer/useFooterData.js.map +1 -0
  1011. package/mobile/dist/components/Gallery/Gallery.js +4 -4
  1012. package/mobile/dist/components/Gallery/Gallery.js.map +1 -1
  1013. package/mobile/dist/components/Gallery/GalleryContainer.d.ts +1 -3
  1014. package/mobile/dist/components/Gallery/GalleryContainer.js +2 -2
  1015. package/mobile/dist/components/Gallery/GalleryContainer.js.map +1 -1
  1016. package/mobile/dist/components/Gallery/GalleryContent.d.ts +1 -1
  1017. package/mobile/dist/components/Gallery/GalleryInner.js +2 -2
  1018. package/mobile/dist/components/Gallery/GalleryInner.js.map +1 -1
  1019. package/mobile/dist/components/GracePeriod/GracePeriod.js +1 -3
  1020. package/mobile/dist/components/GracePeriod/GracePeriod.js.map +1 -1
  1021. package/mobile/dist/components/Header/DropdownMenu.d.ts +0 -2
  1022. package/mobile/dist/components/Header/DropdownMenu.js +3 -4
  1023. package/mobile/dist/components/Header/DropdownMenu.js.map +1 -1
  1024. package/mobile/dist/components/Header/Header.js +8 -14
  1025. package/mobile/dist/components/Header/Header.js.map +1 -1
  1026. package/mobile/dist/components/Header/HeaderBurger.d.ts +0 -2
  1027. package/mobile/dist/components/Header/HeaderBurger.js +2 -2
  1028. package/mobile/dist/components/Header/HeaderBurger.js.map +1 -1
  1029. package/mobile/dist/components/Header/HeaderSubMenu.d.ts +0 -2
  1030. package/mobile/dist/components/Header/HeaderSubMenu.js +4 -3
  1031. package/mobile/dist/components/Header/HeaderSubMenu.js.map +1 -1
  1032. package/mobile/dist/components/Header/HeaderSubMenuItem.d.ts +0 -2
  1033. package/mobile/dist/components/Header/HeaderSubMenuItem.js +2 -5
  1034. package/mobile/dist/components/Header/HeaderSubMenuItem.js.map +1 -1
  1035. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +4 -6
  1036. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  1037. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +2 -2
  1038. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  1039. package/mobile/dist/components/InvestmentGallery/InvestmentGallery.js +3 -7
  1040. package/mobile/dist/components/InvestmentGallery/InvestmentGallery.js.map +1 -1
  1041. package/mobile/dist/components/InvestmentGallery/InvestmentGalleryCard.d.ts +2 -2
  1042. package/mobile/dist/components/InvestmentGallery/InvestmentGalleryCard.js +2 -2
  1043. package/mobile/dist/components/InvestmentGallery/InvestmentGalleryCard.js.map +1 -1
  1044. package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js +2 -2
  1045. package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  1046. package/mobile/dist/components/LikeControl/LikeControl.d.ts +5 -2
  1047. package/mobile/dist/components/LikeControl/LikeControl.js +5 -6
  1048. package/mobile/dist/components/LikeControl/LikeControl.js.map +1 -1
  1049. package/mobile/dist/components/LinkDocs/LinkDocs.js +1 -3
  1050. package/mobile/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  1051. package/mobile/dist/components/LinkDocs/LinkDocsHorizontalList.d.ts +1 -5
  1052. package/mobile/dist/components/LinkDocs/LinkDocsHorizontalList.js +3 -5
  1053. package/mobile/dist/components/LinkDocs/LinkDocsHorizontalList.js.map +1 -1
  1054. package/mobile/dist/components/LinkList/LinkList.js +1 -3
  1055. package/mobile/dist/components/LinkList/LinkList.js.map +1 -1
  1056. package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -3
  1057. package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  1058. package/mobile/dist/components/OtherProducts/OtherProducts.js +1 -1
  1059. package/mobile/dist/components/OtherProducts/OtherProducts.js.map +1 -1
  1060. package/mobile/dist/components/PictureText/PictureText.js +1 -3
  1061. package/mobile/dist/components/PictureText/PictureText.js.map +1 -1
  1062. package/mobile/dist/components/Placeholder/Placeholder.d.ts +0 -1
  1063. package/mobile/dist/components/Placeholder/Placeholder.js +2 -2
  1064. package/mobile/dist/components/Placeholder/Placeholder.js.map +1 -1
  1065. package/mobile/dist/components/ProductBlock/ProductBlockInner.js +2 -2
  1066. package/mobile/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  1067. package/mobile/dist/components/ProductBlock/renderBackwardButton.d.ts +1 -1
  1068. package/mobile/dist/components/ProductBlock/renderBackwardButton.js +1 -0
  1069. package/mobile/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
  1070. package/mobile/dist/components/ProductGallery/ProductGallery.js +41 -4
  1071. package/mobile/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  1072. package/mobile/dist/components/ProductTile/ProductTile.js +4 -6
  1073. package/mobile/dist/components/ProductTile/ProductTile.js.map +1 -1
  1074. package/mobile/dist/components/PromoTile/PromoTile.js +1 -3
  1075. package/mobile/dist/components/PromoTile/PromoTile.js.map +1 -1
  1076. package/mobile/dist/components/Recommendation/Recommendation.js +4 -9
  1077. package/mobile/dist/components/Recommendation/Recommendation.js.map +1 -1
  1078. package/mobile/dist/components/Recommendation/RecommendationCard.d.ts +2 -2
  1079. package/mobile/dist/components/Recommendation/RecommendationCard.js +2 -2
  1080. package/mobile/dist/components/Recommendation/RecommendationCard.js.map +1 -1
  1081. package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js +3 -3
  1082. package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  1083. package/mobile/dist/components/StepsBlock/renderStepContent.d.ts +2 -5
  1084. package/mobile/dist/components/StepsBlock/renderStepContent.js +2 -3
  1085. package/mobile/dist/components/StepsBlock/renderStepContent.js.map +1 -1
  1086. package/mobile/dist/components/Tabs/LinkTab.d.ts +8 -0
  1087. package/mobile/dist/components/Tabs/LinkTab.js +20 -0
  1088. package/mobile/dist/components/Tabs/LinkTab.js.map +1 -0
  1089. package/mobile/dist/components/Tabs/Tabs.d.ts +2 -2
  1090. package/mobile/dist/components/Tabs/Tabs.js +2 -2
  1091. package/mobile/dist/components/Tabs/Tabs.js.map +1 -1
  1092. package/mobile/dist/components/Tabs/TabsContent.d.ts +5 -5
  1093. package/mobile/dist/components/Tabs/renderGroupTab.d.ts +2 -2
  1094. package/mobile/dist/components/Tabs/renderGroupTab.js +1 -1
  1095. package/mobile/dist/components/Tabs/renderGroupTab.js.map +1 -1
  1096. package/mobile/dist/components/Tabs/renderTab.d.ts +4 -6
  1097. package/mobile/dist/components/Tabs/renderTab.js +5 -19
  1098. package/mobile/dist/components/Tabs/renderTab.js.map +1 -1
  1099. package/mobile/dist/components/TariffsTable/TariffsTable.js +2 -5
  1100. package/mobile/dist/components/TariffsTable/TariffsTable.js.map +1 -1
  1101. package/mobile/dist/components/TariffsTable/TariffsTableCell.js +1 -2
  1102. package/mobile/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
  1103. package/mobile/dist/components/TariffsTable/TariffsTableContent.d.ts +1 -1
  1104. package/mobile/dist/components/TariffsTable/TariffsTableHorizontal.js +1 -1
  1105. package/mobile/dist/components/TariffsTable/TariffsTableHorizontal.js.map +1 -1
  1106. package/mobile/dist/components/TariffsTable/TariffsTableRenderCell.d.ts +1 -3
  1107. package/mobile/dist/components/TariffsTable/TariffsTableRenderCell.js +1 -2
  1108. package/mobile/dist/components/TariffsTable/TariffsTableRenderCell.js.map +1 -1
  1109. package/mobile/dist/components/TariffsTable/TariffsTableRow.js +3 -3
  1110. package/mobile/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
  1111. package/mobile/dist/components/TariffsTable/TariffsTableRowContainer.d.ts +1 -3
  1112. package/mobile/dist/components/TariffsTable/TariffsTableRowContainer.js +1 -3
  1113. package/mobile/dist/components/TariffsTable/TariffsTableRowContainer.js.map +1 -1
  1114. package/mobile/dist/components/TariffsTable/TariffsTableTileCell.d.ts +3 -4
  1115. package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js +8 -13
  1116. package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  1117. package/mobile/dist/components/TariffsTable/TariffsTableVertical.js +1 -1
  1118. package/mobile/dist/components/TariffsTable/TariffsTableVertical.js.map +1 -1
  1119. package/mobile/dist/components/Tile/Tile.js +2 -2
  1120. package/mobile/dist/components/Tile/Tile.js.map +1 -1
  1121. package/mobile/dist/components/VerticalLayout/VerticalLayout.d.ts +5 -0
  1122. package/mobile/dist/components/VerticalLayout/VerticalLayout.js +35 -0
  1123. package/mobile/dist/components/VerticalLayout/VerticalLayout.js.map +1 -0
  1124. package/mobile/dist/components/VerticalLayout/VerticalLayoutContent.d.ts +17 -0
  1125. package/mobile/dist/components/VerticalLayout/VerticalLayoutContent.js +2 -0
  1126. package/mobile/dist/components/VerticalLayout/VerticalLayoutContent.js.map +1 -0
  1127. package/mobile/dist/hooks/handlerDecorator.d.ts +5 -0
  1128. package/mobile/dist/hooks/handlerDecorator.js +12 -0
  1129. package/mobile/dist/hooks/handlerDecorator.js.map +1 -0
  1130. package/mobile/dist/hooks/useLink.d.ts +6 -16
  1131. package/mobile/dist/hooks/useLink.js +21 -17
  1132. package/mobile/dist/hooks/useLink.js.map +1 -1
  1133. package/mobile/dist/hooks/useRouter.d.ts +13 -0
  1134. package/mobile/dist/hooks/useRouter.js +21 -0
  1135. package/mobile/dist/hooks/useRouter.js.map +1 -0
  1136. package/mobile/dist/hooks/useTableArrowScrollControl.d.ts +1 -3
  1137. package/mobile/dist/hooks/useTableArrowScrollControl.js +13 -4
  1138. package/mobile/dist/hooks/useTableArrowScrollControl.js.map +1 -1
  1139. package/mobile/dist/index.d.ts +2 -0
  1140. package/mobile/dist/index.js +5 -1
  1141. package/mobile/dist/index.js.map +1 -1
  1142. package/mobile/dist/model/BlockVersion.d.ts +1 -0
  1143. package/mobile/dist/model/BlockVersion.js +6 -1
  1144. package/mobile/dist/model/BlockVersion.js.map +1 -1
  1145. package/mobile/dist/model/BlocksRegistry.d.ts +1 -1
  1146. package/mobile/dist/model/JSXBlock.d.ts +7 -8
  1147. package/mobile/dist/react/setup-fixture.d.ts +0 -3
  1148. package/mobile/dist/react/setup-fixture.js +9 -25
  1149. package/mobile/dist/react/setup-fixture.js.map +1 -1
  1150. package/mobile/dist/services/sitemap/SitemapProps.d.ts +1 -1
  1151. package/mobile/dist/services/sitemap/findActiveSubItem.d.ts +1 -1
  1152. package/mobile/dist/services/sitemap/isHrefActive.js +1 -2
  1153. package/mobile/dist/services/sitemap/isHrefActive.js.map +1 -1
  1154. package/mobile/dist/services/sitemap/isSubItemActive.d.ts +1 -1
  1155. package/mobile/dist/services/sitemap/isTopItemActive.d.ts +1 -1
  1156. package/mobile/dist/services/sitemap/useSWRResource.d.ts +2 -0
  1157. package/mobile/dist/services/sitemap/useSWRResource.js +12 -0
  1158. package/mobile/dist/services/sitemap/useSWRResource.js.map +1 -0
  1159. package/mobile/dist/ui-kit/BlockWrapper.d.ts +2 -2
  1160. package/mobile/dist/ui-kit/BlockWrapper.js +3 -2
  1161. package/mobile/dist/ui-kit/BlockWrapper.js.map +1 -1
  1162. package/mobile/dist/ui-kit/Breadcrumb.js +6 -1
  1163. package/mobile/dist/ui-kit/Breadcrumb.js.map +1 -1
  1164. package/mobile/dist/ui-kit/Button/Button.js +10 -24
  1165. package/mobile/dist/ui-kit/Button/Button.js.map +1 -1
  1166. package/mobile/dist/ui-kit/Button/ButtonInner.js +2 -3
  1167. package/mobile/dist/ui-kit/Button/ButtonInner.js.map +1 -1
  1168. package/mobile/dist/ui-kit/Button/ButtonSection.d.ts +2 -2
  1169. package/mobile/dist/ui-kit/Button/ButtonSection.js +1 -6
  1170. package/mobile/dist/ui-kit/Button/ButtonSection.js.map +1 -1
  1171. package/mobile/dist/ui-kit/Checkbox/Checkbox.js +1 -3
  1172. package/mobile/dist/ui-kit/Checkbox/Checkbox.js.map +1 -1
  1173. package/mobile/dist/ui-kit/Checkbox/CheckboxProps.d.ts +2 -2
  1174. package/mobile/dist/ui-kit/InnerTable/InnerTable.d.ts +2 -3
  1175. package/mobile/dist/ui-kit/InnerTable/InnerTable.js +2 -2
  1176. package/mobile/dist/ui-kit/InnerTable/InnerTable.js.map +1 -1
  1177. package/mobile/dist/ui-kit/InnerTable/InnerTableBody.d.ts +1 -2
  1178. package/mobile/dist/ui-kit/InnerTable/InnerTableBody.js +2 -2
  1179. package/mobile/dist/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
  1180. package/mobile/dist/ui-kit/InnerTable/InnerTableBodyItem.d.ts +1 -2
  1181. package/mobile/dist/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
  1182. package/mobile/dist/ui-kit/InnerTable/InnerTableButton.d.ts +1 -2
  1183. package/mobile/dist/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
  1184. package/mobile/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +4 -5
  1185. package/mobile/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.js +1 -3
  1186. package/mobile/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.js.map +1 -1
  1187. package/mobile/dist/ui-kit/SearchBar/SearchBar.d.ts +2 -2
  1188. package/mobile/dist/ui-kit/SearchBar/SearchBar.js +1 -3
  1189. package/mobile/dist/ui-kit/SearchBar/SearchBar.js.map +1 -1
  1190. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js +1 -1
  1191. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  1192. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +2 -2
  1193. package/mobile/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js +2 -2
  1194. package/mobile/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js.map +1 -1
  1195. package/mobile/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.d.ts +3 -2
  1196. package/mobile/dist/ui-kit/TopItem/TopItem.js +6 -1
  1197. package/mobile/dist/ui-kit/TopItem/TopItem.js.map +1 -1
  1198. package/mobile/dist/utils/adjustHref.js +2 -10
  1199. package/mobile/dist/utils/adjustHref.js.map +1 -1
  1200. package/mobile/lib/ProjectSettings.d.ts +2 -0
  1201. package/mobile/lib/ProjectSettings.js +3 -0
  1202. package/mobile/lib/ProjectSettings.js.map +1 -1
  1203. package/mobile/lib/components/Accordion/Accordion.js +1 -1
  1204. package/mobile/lib/components/Accordion/Accordion.js.map +1 -1
  1205. package/mobile/lib/components/BaseTile/BaseTile.d.ts +2 -2
  1206. package/mobile/lib/components/BaseTile/BaseTile.js +1 -3
  1207. package/mobile/lib/components/BaseTile/BaseTile.js.map +1 -1
  1208. package/mobile/lib/components/Blocks.js +0 -2
  1209. package/mobile/lib/components/Blocks.js.map +1 -1
  1210. package/mobile/lib/components/Bonus/Bonus.js +3 -3
  1211. package/mobile/lib/components/Bonus/Bonus.js.map +1 -1
  1212. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
  1213. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  1214. package/mobile/lib/components/BusinessBlock/BusinessBlock.d.ts +5 -0
  1215. package/mobile/lib/components/BusinessBlock/BusinessBlock.js +7 -0
  1216. package/mobile/lib/components/BusinessBlock/BusinessBlock.js.map +1 -0
  1217. package/mobile/lib/components/BusinessBlock/BusinessBlockContent.d.ts +28 -0
  1218. package/mobile/lib/components/BusinessBlock/BusinessBlockContent.js +2 -0
  1219. package/mobile/lib/components/BusinessBlock/BusinessBlockContent.js.map +1 -0
  1220. package/mobile/lib/components/BusinessBlock/BusinessCard.d.ts +2 -0
  1221. package/mobile/lib/components/BusinessBlock/BusinessCard.js +14 -0
  1222. package/mobile/lib/components/BusinessBlock/BusinessCard.js.map +1 -0
  1223. package/mobile/lib/components/Calculator/BonusCalculatorForm.d.ts +2 -2
  1224. package/mobile/lib/components/Calculator/BonusCalculatorForm.js +2 -2
  1225. package/mobile/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
  1226. package/mobile/lib/components/Calculator/Calculator.js +3 -5
  1227. package/mobile/lib/components/Calculator/Calculator.js.map +1 -1
  1228. package/mobile/lib/components/Calculator/CreditCalculatorForm.d.ts +2 -2
  1229. package/mobile/lib/components/Calculator/CreditCalculatorForm.js +3 -8
  1230. package/mobile/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
  1231. package/mobile/lib/components/Calculator/DepositCalculatorForm.d.ts +2 -2
  1232. package/mobile/lib/components/Calculator/DepositCalculatorForm.js +3 -8
  1233. package/mobile/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
  1234. package/mobile/lib/components/Calculator/renderButtonSection.d.ts +1 -2
  1235. package/mobile/lib/components/Calculator/renderButtonSection.js +2 -2
  1236. package/mobile/lib/components/Calculator/renderButtonSection.js.map +1 -1
  1237. package/mobile/lib/components/Calculator/renderCalculatorBlock.d.ts +1 -1
  1238. package/mobile/lib/components/Calculator/renderCalculatorBlock.js +2 -2
  1239. package/mobile/lib/components/Calculator/renderCalculatorBlock.js.map +1 -1
  1240. package/mobile/lib/components/CardTransfer/CardTransfer.js +3 -4
  1241. package/mobile/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  1242. package/mobile/lib/components/Catalog/Catalog.js +12 -22
  1243. package/mobile/lib/components/Catalog/Catalog.js.map +1 -1
  1244. package/mobile/lib/components/Catalog/CatalogCard.d.ts +2 -2
  1245. package/mobile/lib/components/Catalog/CatalogCard.js +1 -3
  1246. package/mobile/lib/components/Catalog/CatalogCard.js.map +1 -1
  1247. package/mobile/lib/components/ComparisonTable/ComparisonTable.js +3 -3
  1248. package/mobile/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
  1249. package/mobile/lib/components/ComparisonTable/ComparisonTableBody.d.ts +1 -3
  1250. package/mobile/lib/components/ComparisonTable/ComparisonTableBody.js +3 -9
  1251. package/mobile/lib/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
  1252. package/mobile/lib/components/ComparisonTable/ComparisonTableColumnHeaders.d.ts +0 -3
  1253. package/mobile/lib/components/ComparisonTable/ComparisonTableColumnHeaders.js +1 -4
  1254. package/mobile/lib/components/ComparisonTable/ComparisonTableColumnHeaders.js.map +1 -1
  1255. package/mobile/lib/components/ComparisonTable/ComparisonTableRows.js +2 -2
  1256. package/mobile/lib/components/ComparisonTable/ComparisonTableRows.js.map +1 -1
  1257. package/mobile/lib/components/ContactsBlock/ContactsBlock.js +2 -2
  1258. package/mobile/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
  1259. package/mobile/lib/components/ContentPage/ContentPage.js +4 -5
  1260. package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
  1261. package/mobile/lib/components/ContentPage/renderBlock.d.ts +0 -2
  1262. package/mobile/lib/components/ContentPage/renderBlock.js +3 -3
  1263. package/mobile/lib/components/ContentPage/renderBlock.js.map +1 -1
  1264. package/mobile/lib/components/ContentPage/renderBlockList.d.ts +1 -1
  1265. package/mobile/lib/components/ContentPage/renderBlockList.js +5 -12
  1266. package/mobile/lib/components/ContentPage/renderBlockList.js.map +1 -1
  1267. package/mobile/lib/components/ContentPage/renderSlots.d.ts +1 -1
  1268. package/mobile/lib/components/ContentPage/renderSlots.js +10 -12
  1269. package/mobile/lib/components/ContentPage/renderSlots.js.map +1 -1
  1270. package/mobile/lib/components/ErrorBlock/ErrorBlock.js +1 -6
  1271. package/mobile/lib/components/ErrorBlock/ErrorBlock.js.map +1 -1
  1272. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +1 -2
  1273. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +2 -5
  1274. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  1275. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js +2 -2
  1276. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  1277. package/mobile/lib/components/Footer/Contacts.d.ts +2 -2
  1278. package/mobile/lib/components/Footer/Contacts.js +1 -10
  1279. package/mobile/lib/components/Footer/Contacts.js.map +1 -1
  1280. package/mobile/lib/components/Footer/Footer.fallback.d.ts +2 -0
  1281. package/mobile/lib/components/Footer/Footer.fallback.js +10 -0
  1282. package/mobile/lib/components/Footer/Footer.fallback.js.map +1 -0
  1283. package/mobile/lib/components/Footer/Footer.js +10 -9
  1284. package/mobile/lib/components/Footer/Footer.js.map +1 -1
  1285. package/mobile/lib/components/Footer/FooterContent.d.ts +3 -19
  1286. package/mobile/lib/components/Footer/FooterDataProps.d.ts +12 -0
  1287. package/mobile/lib/components/Footer/FooterDataProps.js +2 -0
  1288. package/mobile/lib/components/Footer/FooterDataProps.js.map +1 -0
  1289. package/mobile/lib/components/Footer/FooterLink.d.ts +2 -2
  1290. package/mobile/lib/components/Footer/HorizontalNavigation.d.ts +1 -2
  1291. package/mobile/lib/components/Footer/HorizontalNavigation.js +1 -6
  1292. package/mobile/lib/components/Footer/HorizontalNavigation.js.map +1 -1
  1293. package/mobile/lib/components/Footer/HorizontalNavigationLink.js +6 -1
  1294. package/mobile/lib/components/Footer/HorizontalNavigationLink.js.map +1 -1
  1295. package/mobile/lib/components/Footer/MediaButton.js +5 -2
  1296. package/mobile/lib/components/Footer/MediaButton.js.map +1 -1
  1297. package/mobile/lib/components/Footer/Sitemap.d.ts +2 -2
  1298. package/mobile/lib/components/Footer/Sitemap.js +14 -12
  1299. package/mobile/lib/components/Footer/Sitemap.js.map +1 -1
  1300. package/mobile/lib/components/Footer/SocialMedia.d.ts +2 -2
  1301. package/mobile/lib/components/Footer/SocialMedia.js +1 -6
  1302. package/mobile/lib/components/Footer/SocialMedia.js.map +1 -1
  1303. package/mobile/lib/components/Footer/TextInformation.js +2 -5
  1304. package/mobile/lib/components/Footer/TextInformation.js.map +1 -1
  1305. package/mobile/lib/components/Footer/TextInformationLink.js +6 -1
  1306. package/mobile/lib/components/Footer/TextInformationLink.js.map +1 -1
  1307. package/mobile/lib/components/Footer/useFooterData.d.ts +2 -0
  1308. package/mobile/lib/{services/sitemap/useSitemap.js → components/Footer/useFooterData.js} +3 -3
  1309. package/mobile/lib/components/Footer/useFooterData.js.map +1 -0
  1310. package/mobile/lib/components/Gallery/Gallery.js +4 -4
  1311. package/mobile/lib/components/Gallery/Gallery.js.map +1 -1
  1312. package/mobile/lib/components/Gallery/GalleryContainer.d.ts +1 -3
  1313. package/mobile/lib/components/Gallery/GalleryContainer.js +2 -2
  1314. package/mobile/lib/components/Gallery/GalleryContainer.js.map +1 -1
  1315. package/mobile/lib/components/Gallery/GalleryContent.d.ts +1 -1
  1316. package/mobile/lib/components/Gallery/GalleryInner.js +2 -2
  1317. package/mobile/lib/components/Gallery/GalleryInner.js.map +1 -1
  1318. package/mobile/lib/components/GracePeriod/GracePeriod.js +1 -3
  1319. package/mobile/lib/components/GracePeriod/GracePeriod.js.map +1 -1
  1320. package/mobile/lib/components/Header/DropdownMenu.d.ts +0 -2
  1321. package/mobile/lib/components/Header/DropdownMenu.js +3 -4
  1322. package/mobile/lib/components/Header/DropdownMenu.js.map +1 -1
  1323. package/mobile/lib/components/Header/Header.js +8 -14
  1324. package/mobile/lib/components/Header/Header.js.map +1 -1
  1325. package/mobile/lib/components/Header/HeaderBurger.d.ts +0 -2
  1326. package/mobile/lib/components/Header/HeaderBurger.js +2 -2
  1327. package/mobile/lib/components/Header/HeaderBurger.js.map +1 -1
  1328. package/mobile/lib/components/Header/HeaderSubMenu.d.ts +0 -2
  1329. package/mobile/lib/components/Header/HeaderSubMenu.js +4 -3
  1330. package/mobile/lib/components/Header/HeaderSubMenu.js.map +1 -1
  1331. package/mobile/lib/components/Header/HeaderSubMenuItem.d.ts +0 -2
  1332. package/mobile/lib/components/Header/HeaderSubMenuItem.js +2 -5
  1333. package/mobile/lib/components/Header/HeaderSubMenuItem.js.map +1 -1
  1334. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +4 -6
  1335. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  1336. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +2 -2
  1337. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  1338. package/mobile/lib/components/InvestmentGallery/InvestmentGallery.js +3 -7
  1339. package/mobile/lib/components/InvestmentGallery/InvestmentGallery.js.map +1 -1
  1340. package/mobile/lib/components/InvestmentGallery/InvestmentGalleryCard.d.ts +2 -2
  1341. package/mobile/lib/components/InvestmentGallery/InvestmentGalleryCard.js +2 -2
  1342. package/mobile/lib/components/InvestmentGallery/InvestmentGalleryCard.js.map +1 -1
  1343. package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js +2 -2
  1344. package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  1345. package/mobile/lib/components/LikeControl/LikeControl.d.ts +5 -2
  1346. package/mobile/lib/components/LikeControl/LikeControl.js +4 -5
  1347. package/mobile/lib/components/LikeControl/LikeControl.js.map +1 -1
  1348. package/mobile/lib/components/LinkDocs/LinkDocs.js +1 -3
  1349. package/mobile/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  1350. package/mobile/lib/components/LinkDocs/LinkDocsHorizontalList.d.ts +1 -5
  1351. package/mobile/lib/components/LinkDocs/LinkDocsHorizontalList.js +3 -5
  1352. package/mobile/lib/components/LinkDocs/LinkDocsHorizontalList.js.map +1 -1
  1353. package/mobile/lib/components/LinkList/LinkList.js +1 -3
  1354. package/mobile/lib/components/LinkList/LinkList.js.map +1 -1
  1355. package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -3
  1356. package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  1357. package/mobile/lib/components/OtherProducts/OtherProducts.js +1 -1
  1358. package/mobile/lib/components/OtherProducts/OtherProducts.js.map +1 -1
  1359. package/mobile/lib/components/PictureText/PictureText.js +1 -3
  1360. package/mobile/lib/components/PictureText/PictureText.js.map +1 -1
  1361. package/mobile/lib/components/Placeholder/Placeholder.d.ts +0 -1
  1362. package/mobile/lib/components/Placeholder/Placeholder.js +2 -2
  1363. package/mobile/lib/components/Placeholder/Placeholder.js.map +1 -1
  1364. package/mobile/lib/components/ProductBlock/ProductBlockInner.js +2 -2
  1365. package/mobile/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  1366. package/mobile/lib/components/ProductBlock/renderBackwardButton.d.ts +1 -1
  1367. package/mobile/lib/components/ProductBlock/renderBackwardButton.js +1 -0
  1368. package/mobile/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
  1369. package/mobile/lib/components/ProductGallery/ProductGallery.js +42 -5
  1370. package/mobile/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  1371. package/mobile/lib/components/ProductTile/ProductTile.js +4 -6
  1372. package/mobile/lib/components/ProductTile/ProductTile.js.map +1 -1
  1373. package/mobile/lib/components/PromoTile/PromoTile.js +1 -3
  1374. package/mobile/lib/components/PromoTile/PromoTile.js.map +1 -1
  1375. package/mobile/lib/components/Recommendation/Recommendation.js +4 -9
  1376. package/mobile/lib/components/Recommendation/Recommendation.js.map +1 -1
  1377. package/mobile/lib/components/Recommendation/RecommendationCard.d.ts +2 -2
  1378. package/mobile/lib/components/Recommendation/RecommendationCard.js +2 -2
  1379. package/mobile/lib/components/Recommendation/RecommendationCard.js.map +1 -1
  1380. package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js +3 -3
  1381. package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  1382. package/mobile/lib/components/StepsBlock/renderStepContent.d.ts +2 -5
  1383. package/mobile/lib/components/StepsBlock/renderStepContent.js +2 -3
  1384. package/mobile/lib/components/StepsBlock/renderStepContent.js.map +1 -1
  1385. package/mobile/lib/components/Tabs/LinkTab.d.ts +8 -0
  1386. package/mobile/lib/components/Tabs/LinkTab.js +18 -0
  1387. package/mobile/lib/components/Tabs/LinkTab.js.map +1 -0
  1388. package/mobile/lib/components/Tabs/Tabs.d.ts +2 -2
  1389. package/mobile/lib/components/Tabs/Tabs.js +2 -2
  1390. package/mobile/lib/components/Tabs/Tabs.js.map +1 -1
  1391. package/mobile/lib/components/Tabs/TabsContent.d.ts +5 -5
  1392. package/mobile/lib/components/Tabs/renderGroupTab.d.ts +2 -2
  1393. package/mobile/lib/components/Tabs/renderGroupTab.js +1 -1
  1394. package/mobile/lib/components/Tabs/renderGroupTab.js.map +1 -1
  1395. package/mobile/lib/components/Tabs/renderTab.d.ts +4 -6
  1396. package/mobile/lib/components/Tabs/renderTab.js +5 -19
  1397. package/mobile/lib/components/Tabs/renderTab.js.map +1 -1
  1398. package/mobile/lib/components/TariffsTable/TariffsTable.js +2 -5
  1399. package/mobile/lib/components/TariffsTable/TariffsTable.js.map +1 -1
  1400. package/mobile/lib/components/TariffsTable/TariffsTableCell.js +1 -2
  1401. package/mobile/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
  1402. package/mobile/lib/components/TariffsTable/TariffsTableContent.d.ts +1 -1
  1403. package/mobile/lib/components/TariffsTable/TariffsTableHorizontal.js +1 -1
  1404. package/mobile/lib/components/TariffsTable/TariffsTableHorizontal.js.map +1 -1
  1405. package/mobile/lib/components/TariffsTable/TariffsTableRenderCell.d.ts +1 -3
  1406. package/mobile/lib/components/TariffsTable/TariffsTableRenderCell.js +1 -2
  1407. package/mobile/lib/components/TariffsTable/TariffsTableRenderCell.js.map +1 -1
  1408. package/mobile/lib/components/TariffsTable/TariffsTableRow.js +3 -3
  1409. package/mobile/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
  1410. package/mobile/lib/components/TariffsTable/TariffsTableRowContainer.d.ts +1 -3
  1411. package/mobile/lib/components/TariffsTable/TariffsTableRowContainer.js +1 -3
  1412. package/mobile/lib/components/TariffsTable/TariffsTableRowContainer.js.map +1 -1
  1413. package/mobile/lib/components/TariffsTable/TariffsTableTileCell.d.ts +3 -4
  1414. package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js +8 -13
  1415. package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  1416. package/mobile/lib/components/TariffsTable/TariffsTableVertical.js +1 -1
  1417. package/mobile/lib/components/TariffsTable/TariffsTableVertical.js.map +1 -1
  1418. package/mobile/lib/components/Tile/Tile.js +2 -2
  1419. package/mobile/lib/components/Tile/Tile.js.map +1 -1
  1420. package/mobile/lib/components/VerticalLayout/VerticalLayout.d.ts +5 -0
  1421. package/mobile/lib/components/VerticalLayout/VerticalLayout.js +33 -0
  1422. package/mobile/lib/components/VerticalLayout/VerticalLayout.js.map +1 -0
  1423. package/mobile/lib/components/VerticalLayout/VerticalLayoutContent.d.ts +17 -0
  1424. package/mobile/lib/components/VerticalLayout/VerticalLayoutContent.js +2 -0
  1425. package/mobile/lib/components/VerticalLayout/VerticalLayoutContent.js.map +1 -0
  1426. package/mobile/lib/hooks/handlerDecorator.d.ts +5 -0
  1427. package/mobile/lib/hooks/handlerDecorator.js +9 -0
  1428. package/mobile/lib/hooks/handlerDecorator.js.map +1 -0
  1429. package/mobile/lib/hooks/useLink.d.ts +6 -16
  1430. package/mobile/lib/hooks/useLink.js +20 -15
  1431. package/mobile/lib/hooks/useLink.js.map +1 -1
  1432. package/mobile/lib/hooks/useRouter.d.ts +13 -0
  1433. package/mobile/lib/hooks/useRouter.js +18 -0
  1434. package/mobile/lib/hooks/useRouter.js.map +1 -0
  1435. package/mobile/lib/hooks/useTableArrowScrollControl.d.ts +1 -3
  1436. package/mobile/lib/hooks/useTableArrowScrollControl.js +13 -4
  1437. package/mobile/lib/hooks/useTableArrowScrollControl.js.map +1 -1
  1438. package/mobile/lib/index.d.ts +2 -0
  1439. package/mobile/lib/index.js +2 -0
  1440. package/mobile/lib/index.js.map +1 -1
  1441. package/mobile/lib/model/BlockVersion.d.ts +1 -0
  1442. package/mobile/lib/model/BlockVersion.js +5 -0
  1443. package/mobile/lib/model/BlockVersion.js.map +1 -1
  1444. package/mobile/lib/model/BlocksRegistry.d.ts +1 -1
  1445. package/mobile/lib/model/JSXBlock.d.ts +7 -8
  1446. package/mobile/lib/react/setup-fixture.d.ts +0 -3
  1447. package/mobile/lib/react/setup-fixture.js +9 -24
  1448. package/mobile/lib/react/setup-fixture.js.map +1 -1
  1449. package/mobile/lib/services/sitemap/SitemapProps.d.ts +1 -1
  1450. package/mobile/lib/services/sitemap/findActiveSubItem.d.ts +1 -1
  1451. package/mobile/lib/services/sitemap/isHrefActive.js +1 -2
  1452. package/mobile/lib/services/sitemap/isHrefActive.js.map +1 -1
  1453. package/mobile/lib/services/sitemap/isSubItemActive.d.ts +1 -1
  1454. package/mobile/lib/services/sitemap/isTopItemActive.d.ts +1 -1
  1455. package/mobile/lib/services/sitemap/useSWRResource.d.ts +2 -0
  1456. package/mobile/lib/services/sitemap/useSWRResource.js +9 -0
  1457. package/mobile/lib/services/sitemap/useSWRResource.js.map +1 -0
  1458. package/mobile/lib/ui-kit/BlockWrapper.d.ts +2 -2
  1459. package/mobile/lib/ui-kit/BlockWrapper.js +3 -2
  1460. package/mobile/lib/ui-kit/BlockWrapper.js.map +1 -1
  1461. package/mobile/lib/ui-kit/Breadcrumb.js +6 -1
  1462. package/mobile/lib/ui-kit/Breadcrumb.js.map +1 -1
  1463. package/mobile/lib/ui-kit/Button/Button.js +10 -24
  1464. package/mobile/lib/ui-kit/Button/Button.js.map +1 -1
  1465. package/mobile/lib/ui-kit/Button/ButtonInner.js +2 -3
  1466. package/mobile/lib/ui-kit/Button/ButtonInner.js.map +1 -1
  1467. package/mobile/lib/ui-kit/Button/ButtonSection.d.ts +2 -2
  1468. package/mobile/lib/ui-kit/Button/ButtonSection.js +1 -6
  1469. package/mobile/lib/ui-kit/Button/ButtonSection.js.map +1 -1
  1470. package/mobile/lib/ui-kit/Checkbox/Checkbox.js +1 -3
  1471. package/mobile/lib/ui-kit/Checkbox/Checkbox.js.map +1 -1
  1472. package/mobile/lib/ui-kit/Checkbox/CheckboxProps.d.ts +2 -2
  1473. package/mobile/lib/ui-kit/InnerTable/InnerTable.d.ts +2 -3
  1474. package/mobile/lib/ui-kit/InnerTable/InnerTable.js +2 -2
  1475. package/mobile/lib/ui-kit/InnerTable/InnerTable.js.map +1 -1
  1476. package/mobile/lib/ui-kit/InnerTable/InnerTableBody.d.ts +1 -2
  1477. package/mobile/lib/ui-kit/InnerTable/InnerTableBody.js +2 -2
  1478. package/mobile/lib/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
  1479. package/mobile/lib/ui-kit/InnerTable/InnerTableBodyItem.d.ts +1 -2
  1480. package/mobile/lib/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
  1481. package/mobile/lib/ui-kit/InnerTable/InnerTableButton.d.ts +1 -2
  1482. package/mobile/lib/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
  1483. package/mobile/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +4 -5
  1484. package/mobile/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.js +1 -3
  1485. package/mobile/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.js.map +1 -1
  1486. package/mobile/lib/ui-kit/SearchBar/SearchBar.d.ts +2 -2
  1487. package/mobile/lib/ui-kit/SearchBar/SearchBar.js +1 -3
  1488. package/mobile/lib/ui-kit/SearchBar/SearchBar.js.map +1 -1
  1489. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js +1 -1
  1490. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  1491. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +2 -2
  1492. package/mobile/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js +2 -2
  1493. package/mobile/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js.map +1 -1
  1494. package/mobile/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.d.ts +3 -2
  1495. package/mobile/lib/ui-kit/TopItem/TopItem.js +6 -1
  1496. package/mobile/lib/ui-kit/TopItem/TopItem.js.map +1 -1
  1497. package/mobile/lib/utils/adjustHref.js +2 -10
  1498. package/mobile/lib/utils/adjustHref.js.map +1 -1
  1499. package/mobile/src/ProjectSettings.ts +4 -0
  1500. package/mobile/src/components/Accordion/Accordion.tsx +1 -2
  1501. package/mobile/src/components/BaseTile/BaseTile.tsx +13 -14
  1502. package/mobile/src/components/Blocks.ts +0 -2
  1503. package/mobile/src/components/Bonus/Bonus.tsx +4 -10
  1504. package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +2 -3
  1505. package/mobile/src/components/BusinessBlock/BusinessBlock.example.json +65 -0
  1506. package/mobile/src/components/BusinessBlock/BusinessBlock.tsx +19 -0
  1507. package/mobile/src/components/BusinessBlock/BusinessBlock.ui.json +26 -0
  1508. package/mobile/src/components/BusinessBlock/BusinessBlockContent.ts +31 -0
  1509. package/mobile/src/components/BusinessBlock/BusinessCard.tsx +41 -0
  1510. package/mobile/src/components/Calculator/BonusCalculatorForm.tsx +5 -4
  1511. package/mobile/src/components/Calculator/Calculator.tsx +2 -5
  1512. package/mobile/src/components/Calculator/CreditCalculatorForm.tsx +11 -11
  1513. package/mobile/src/components/Calculator/DepositCalculatorForm.tsx +11 -14
  1514. package/mobile/src/components/Calculator/renderButtonSection.tsx +2 -3
  1515. package/mobile/src/components/Calculator/renderCalculatorBlock.tsx +20 -23
  1516. package/mobile/src/components/CardTransfer/CardTransfer.tsx +3 -5
  1517. package/mobile/src/components/Catalog/Catalog.tsx +17 -41
  1518. package/mobile/src/components/Catalog/CatalogCard.tsx +22 -24
  1519. package/mobile/src/components/ComparisonTable/ComparisonTable.tsx +3 -5
  1520. package/mobile/src/components/ComparisonTable/ComparisonTableBody.tsx +3 -16
  1521. package/mobile/src/components/ComparisonTable/ComparisonTableColumnHeaders.tsx +10 -20
  1522. package/mobile/src/components/ComparisonTable/ComparisonTableRows.tsx +2 -2
  1523. package/mobile/src/components/ContactsBlock/ContactsBlock.tsx +1 -2
  1524. package/mobile/src/components/ContentPage/ContentPage.tsx +4 -10
  1525. package/mobile/src/components/ContentPage/renderBlock.tsx +4 -9
  1526. package/mobile/src/components/ContentPage/renderBlockList.tsx +9 -20
  1527. package/mobile/src/components/ContentPage/renderSlots.tsx +4 -5
  1528. package/mobile/src/components/ErrorBlock/ErrorBlock.tsx +14 -24
  1529. package/mobile/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +3 -12
  1530. package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.tsx +1 -4
  1531. package/mobile/src/components/Footer/Contacts.tsx +17 -28
  1532. package/mobile/src/components/Footer/Footer.fallback.ts +13 -0
  1533. package/mobile/src/components/Footer/Footer.tsx +38 -56
  1534. package/mobile/src/components/Footer/FooterContent.ts +4 -19
  1535. package/mobile/src/components/Footer/FooterDataProps.ts +13 -0
  1536. package/mobile/src/components/Footer/FooterLink.ts +2 -2
  1537. package/mobile/src/components/Footer/HorizontalNavigation.tsx +13 -25
  1538. package/mobile/src/components/Footer/HorizontalNavigationLink.tsx +16 -10
  1539. package/mobile/src/components/Footer/MediaButton.tsx +6 -1
  1540. package/mobile/src/components/Footer/Sitemap.tsx +28 -30
  1541. package/mobile/src/components/Footer/SocialMedia.tsx +9 -19
  1542. package/mobile/src/components/Footer/TextInformation.tsx +3 -12
  1543. package/mobile/src/components/Footer/TextInformationLink.tsx +16 -10
  1544. package/mobile/src/components/Footer/useFooterData.ts +13 -0
  1545. package/mobile/src/components/Gallery/Gallery.tsx +5 -10
  1546. package/mobile/src/components/Gallery/GalleryContainer.tsx +4 -21
  1547. package/mobile/src/components/Gallery/GalleryContent.ts +1 -1
  1548. package/mobile/src/components/Gallery/GalleryInner.tsx +1 -3
  1549. package/mobile/src/components/GracePeriod/GracePeriod.tsx +12 -18
  1550. package/mobile/src/components/Header/DropdownMenu.tsx +34 -39
  1551. package/mobile/src/components/Header/Header.tsx +25 -29
  1552. package/mobile/src/components/Header/HeaderBurger.tsx +2 -4
  1553. package/mobile/src/components/Header/HeaderSubMenu.tsx +3 -6
  1554. package/mobile/src/components/Header/HeaderSubMenuItem.tsx +2 -22
  1555. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +3 -17
  1556. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +2 -2
  1557. package/mobile/src/components/InvestmentGallery/InvestmentGallery.tsx +6 -21
  1558. package/mobile/src/components/InvestmentGallery/InvestmentGalleryCard.tsx +3 -9
  1559. package/mobile/src/components/InvestmentInfo/InvestmentInfo.tsx +1 -6
  1560. package/mobile/src/components/LikeControl/LikeControl.tsx +9 -13
  1561. package/mobile/src/components/LinkDocs/LinkDocs.tsx +19 -26
  1562. package/mobile/src/components/LinkDocs/LinkDocsHorizontalList.tsx +15 -22
  1563. package/mobile/src/components/LinkList/LinkList.tsx +7 -9
  1564. package/mobile/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +9 -16
  1565. package/mobile/src/components/OtherProducts/OtherProducts.tsx +2 -6
  1566. package/mobile/src/components/PictureText/PictureText.tsx +23 -27
  1567. package/mobile/src/components/Placeholder/Placeholder.tsx +3 -6
  1568. package/mobile/src/components/ProductBlock/ProductBlockInner.tsx +3 -12
  1569. package/mobile/src/components/ProductBlock/renderBackwardButton.tsx +3 -2
  1570. package/mobile/src/components/ProductGallery/ProductGallery.tsx +111 -12
  1571. package/mobile/src/components/ProductTile/ProductTile.tsx +24 -32
  1572. package/mobile/src/components/PromoTile/PromoTile.tsx +31 -38
  1573. package/mobile/src/components/Recommendation/Recommendation.tsx +12 -26
  1574. package/mobile/src/components/Recommendation/RecommendationCard.tsx +5 -15
  1575. package/mobile/src/components/SafeDepositRental/SafeDepositRental.tsx +3 -3
  1576. package/mobile/src/components/StepsBlock/renderStepContent.tsx +4 -10
  1577. package/mobile/src/components/Tabs/LinkTab.tsx +46 -0
  1578. package/mobile/src/components/Tabs/Tabs.tsx +7 -7
  1579. package/mobile/src/components/Tabs/TabsContent.ts +5 -5
  1580. package/mobile/src/components/Tabs/renderGroupTab.tsx +3 -3
  1581. package/mobile/src/components/Tabs/renderTab.tsx +8 -27
  1582. package/mobile/src/components/TariffsTable/TariffsTable.tsx +6 -17
  1583. package/mobile/src/components/TariffsTable/TariffsTableCell.tsx +0 -2
  1584. package/mobile/src/components/TariffsTable/TariffsTableContent.ts +1 -1
  1585. package/mobile/src/components/TariffsTable/TariffsTableHorizontal.tsx +9 -7
  1586. package/mobile/src/components/TariffsTable/TariffsTableRenderCell.tsx +0 -5
  1587. package/mobile/src/components/TariffsTable/TariffsTableRow.tsx +4 -4
  1588. package/mobile/src/components/TariffsTable/TariffsTableRowContainer.tsx +11 -15
  1589. package/mobile/src/components/TariffsTable/TariffsTableTileCell.tsx +23 -34
  1590. package/mobile/src/components/TariffsTable/TariffsTableVertical.tsx +9 -7
  1591. package/mobile/src/components/Tile/Tile.tsx +2 -5
  1592. package/mobile/src/components/VerticalLayout/VerticalLayout.example.json +17 -0
  1593. package/mobile/src/components/VerticalLayout/VerticalLayout.tsx +51 -0
  1594. package/mobile/src/components/VerticalLayout/VerticalLayout.ui.json +1 -0
  1595. package/mobile/src/components/VerticalLayout/VerticalLayoutContent.ts +19 -0
  1596. package/mobile/src/hooks/handlerDecorator.ts +16 -0
  1597. package/mobile/src/hooks/useLink.ts +26 -22
  1598. package/mobile/src/hooks/useRouter.ts +28 -0
  1599. package/mobile/src/hooks/useTableArrowScrollControl.ts +13 -7
  1600. package/mobile/src/index.ts +3 -0
  1601. package/mobile/src/model/BlockVersion.ts +6 -0
  1602. package/mobile/src/model/BlocksRegistry.ts +1 -1
  1603. package/mobile/src/model/JSXBlock.ts +5 -9
  1604. package/mobile/src/react/setup-fixture.ts +9 -29
  1605. package/mobile/src/services/sitemap/SitemapProps.ts +1 -1
  1606. package/mobile/src/services/sitemap/findActiveSubItem.ts +1 -1
  1607. package/mobile/src/services/sitemap/isHrefActive.ts +1 -5
  1608. package/mobile/src/services/sitemap/isSubItemActive.ts +1 -1
  1609. package/mobile/src/services/sitemap/isTopItemActive.ts +1 -1
  1610. package/mobile/src/services/sitemap/useSWRResource.ts +11 -0
  1611. package/mobile/src/ui-kit/BlockWrapper.tsx +6 -4
  1612. package/mobile/src/ui-kit/Breadcrumb.tsx +12 -9
  1613. package/mobile/src/ui-kit/Button/Button.tsx +40 -79
  1614. package/mobile/src/ui-kit/Button/ButtonInner.tsx +2 -3
  1615. package/mobile/src/ui-kit/Button/ButtonSection.tsx +9 -14
  1616. package/mobile/src/ui-kit/Checkbox/Checkbox.tsx +1 -3
  1617. package/mobile/src/ui-kit/Checkbox/CheckboxProps.ts +2 -2
  1618. package/mobile/src/ui-kit/InnerTable/InnerTable.tsx +6 -7
  1619. package/mobile/src/ui-kit/InnerTable/InnerTableBody.tsx +3 -4
  1620. package/mobile/src/ui-kit/InnerTable/InnerTableBodyItem.tsx +1 -2
  1621. package/mobile/src/ui-kit/InnerTable/InnerTableButton.tsx +1 -2
  1622. package/mobile/src/ui-kit/RadioButtonGroup/RadioButtonGroup.tsx +17 -20
  1623. package/mobile/src/ui-kit/SearchBar/SearchBar.tsx +4 -5
  1624. package/mobile/src/ui-kit/SwipeListControl/SwipeListControl.tsx +1 -1
  1625. package/mobile/src/ui-kit/SwipeListControl/SwipeListControlProps.ts +2 -3
  1626. package/mobile/src/ui-kit/TableArrowScrollControl/TableArrowScrollControl.tsx +2 -2
  1627. package/mobile/src/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.ts +3 -2
  1628. package/mobile/src/ui-kit/TopItem/TopItem.tsx +18 -23
  1629. package/mobile/src/utils/adjustHref.ts +2 -13
  1630. package/package.json +1 -1
  1631. package/src/ProjectSettings.ts +4 -0
  1632. package/src/components/Accordion/Accordion.fixture.mobile.tsx +5 -10
  1633. package/src/components/Accordion/Accordion.fixture.tsx +17 -39
  1634. package/src/components/Accordion/Accordion.mobile.tsx +1 -2
  1635. package/src/components/Accordion/Accordion.tsx +1 -10
  1636. package/src/components/BaseTile/BaseTile.tsx +13 -14
  1637. package/src/components/BenefitsBlock/BenefitsBlock.fixture.tsx +2 -7
  1638. package/src/components/Blocks.mobile.ts +0 -2
  1639. package/src/components/Blocks.ts +10 -6
  1640. package/src/components/Bonus/Bonus.fixture.tsx +2 -2
  1641. package/src/components/Bonus/Bonus.tsx +4 -10
  1642. package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.fixture.tsx +1 -3
  1643. package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +2 -3
  1644. package/src/components/BusinessBlock/BusinessBlock.example.json +65 -0
  1645. package/src/components/BusinessBlock/BusinessBlock.fixture.tsx +74 -0
  1646. package/src/components/BusinessBlock/BusinessBlock.tsx +19 -0
  1647. package/src/components/BusinessBlock/BusinessBlock.ui.json +26 -0
  1648. package/src/components/BusinessBlock/BusinessBlockContent.ts +31 -0
  1649. package/src/components/BusinessBlock/BusinessCard.tsx +41 -0
  1650. package/src/components/Calculator/BonusCalculatorForm.tsx +5 -4
  1651. package/src/components/Calculator/Calculator.fixture.tsx +1 -3
  1652. package/src/components/Calculator/Calculator.tsx +2 -5
  1653. package/src/components/Calculator/CreditCalculatorForm.tsx +11 -11
  1654. package/src/components/Calculator/DepositCalculatorForm.tsx +11 -14
  1655. package/src/components/Calculator/renderButtonSection.tsx +2 -3
  1656. package/src/components/Calculator/renderCalculatorBlock.tsx +20 -23
  1657. package/src/components/CardTransfer/CardTransfer.fixture.tsx +3 -3
  1658. package/src/components/CardTransfer/CardTransfer.tsx +3 -5
  1659. package/src/components/Catalog/Catalog.fixture.tsx +1 -2
  1660. package/src/components/Catalog/Catalog.tsx +17 -41
  1661. package/src/components/Catalog/CatalogCard.tsx +22 -24
  1662. package/src/components/ComparisonTable/ComparisonTable.fixture.mobile.tsx +1 -3
  1663. package/src/components/ComparisonTable/ComparisonTable.fixture.tsx +1 -6
  1664. package/src/components/ComparisonTable/ComparisonTable.mobile.tsx +3 -5
  1665. package/src/components/ComparisonTable/ComparisonTable.tsx +16 -21
  1666. package/src/components/ComparisonTable/ComparisonTableBody.tsx +3 -16
  1667. package/src/components/ComparisonTable/ComparisonTableColumnHeaders.tsx +10 -20
  1668. package/src/components/ComparisonTable/ComparisonTableRows.tsx +2 -2
  1669. package/src/components/ComparisonTable/HeaderCell.tsx +1 -1
  1670. package/src/components/ContactsBlock/ContactsBlock.fixture.tsx +3 -11
  1671. package/src/components/ContactsBlock/ContactsBlock.tsx +1 -2
  1672. package/src/components/ContentPage/ContentPage.fixture.mobile.tsx +2 -6
  1673. package/src/components/ContentPage/ContentPage.fixture.tsx +1 -3
  1674. package/src/components/ContentPage/ContentPage.tsx +4 -10
  1675. package/src/components/ContentPage/renderBlock.tsx +4 -9
  1676. package/src/components/ContentPage/renderBlockList.tsx +9 -20
  1677. package/src/components/ContentPage/renderSlots.tsx +4 -5
  1678. package/src/components/ErrorBlock/ErrorBlock.fixture.tsx +1 -3
  1679. package/src/components/ErrorBlock/ErrorBlock.tsx +14 -24
  1680. package/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +3 -12
  1681. package/src/components/ExchangeRateTile/ExchangeRateTile.fixture.tsx +3 -3
  1682. package/src/components/ExchangeRateTile/ExchangeRateTile.tsx +1 -4
  1683. package/src/components/Footer/Contacts.tsx +17 -28
  1684. package/src/components/Footer/Footer.fallback.ts +13 -0
  1685. package/src/components/Footer/Footer.fixture.mobile.tsx +2 -84
  1686. package/src/components/Footer/Footer.fixture.tsx +2 -141
  1687. package/src/components/Footer/Footer.mobile.tsx +38 -56
  1688. package/src/components/Footer/Footer.tsx +28 -43
  1689. package/src/components/Footer/FooterContent.ts +4 -19
  1690. package/src/components/Footer/FooterDataProps.ts +13 -0
  1691. package/src/components/Footer/FooterLink.ts +2 -2
  1692. package/src/components/Footer/HorizontalNavigation.mobile.tsx +13 -25
  1693. package/src/components/Footer/HorizontalNavigation.tsx +19 -26
  1694. package/src/components/Footer/HorizontalNavigationLink.tsx +16 -10
  1695. package/src/components/Footer/MediaButton.tsx +6 -1
  1696. package/src/components/Footer/Sitemap.tsx +28 -30
  1697. package/src/components/Footer/SocialMedia.mobile.tsx +9 -19
  1698. package/src/components/Footer/SocialMedia.tsx +12 -24
  1699. package/src/components/Footer/TextInformation.mobile.tsx +3 -12
  1700. package/src/components/Footer/TextInformation.tsx +15 -25
  1701. package/src/components/Footer/TextInformationLink.tsx +16 -10
  1702. package/src/components/Footer/useFooterData.ts +13 -0
  1703. package/src/components/Gallery/Gallery.fixture.mobile.tsx +2 -4
  1704. package/src/components/Gallery/Gallery.fixture.tsx +2 -6
  1705. package/src/components/Gallery/Gallery.mobile.tsx +5 -10
  1706. package/src/components/Gallery/GalleryContainer.tsx +4 -21
  1707. package/src/components/Gallery/GalleryContent.ts +1 -1
  1708. package/src/components/Gallery/GalleryInner.tsx +1 -3
  1709. package/src/components/GracePeriod/GracePeriod.fixture.tsx +2 -2
  1710. package/src/components/GracePeriod/GracePeriod.tsx +12 -18
  1711. package/src/components/Header/DropdownMenu.tsx +34 -39
  1712. package/src/components/Header/Header.fixture.mobile.tsx +3 -3
  1713. package/src/components/Header/Header.fixture.tsx +4 -4
  1714. package/src/components/Header/Header.mobile.tsx +25 -29
  1715. package/src/components/Header/Header.tsx +11 -13
  1716. package/src/components/Header/HeaderBurger.tsx +2 -4
  1717. package/src/components/Header/HeaderSubMenu.tsx +3 -6
  1718. package/src/components/Header/HeaderSubMenuItem.tsx +2 -22
  1719. package/src/components/Headline/Headline.fixture.mobile.tsx +10 -14
  1720. package/src/components/Headline/Headline.fixture.tsx +15 -15
  1721. package/src/components/Headline/Headline.tsx +1 -2
  1722. package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.fixture.tsx +1 -2
  1723. package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +3 -17
  1724. package/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +2 -2
  1725. package/src/components/InvestmentGallery/InvestmentGallery.fixture.tsx +1 -2
  1726. package/src/components/InvestmentGallery/InvestmentGallery.tsx +6 -21
  1727. package/src/components/InvestmentGallery/InvestmentGalleryCard.tsx +3 -9
  1728. package/src/components/InvestmentInfo/InvestmentInfo.fixture.tsx +2 -2
  1729. package/src/components/InvestmentInfo/InvestmentInfo.tsx +1 -6
  1730. package/src/components/LikeControl/LikeControl.fixture.tsx +2 -2
  1731. package/src/components/LikeControl/LikeControl.tsx +9 -13
  1732. package/src/components/LinkDocs/LinkDocs.fixture.mobile.tsx +4 -14
  1733. package/src/components/LinkDocs/LinkDocs.fixture.tsx +5 -20
  1734. package/src/components/LinkDocs/LinkDocs.mobile.tsx +19 -26
  1735. package/src/components/LinkDocs/LinkDocs.tsx +21 -25
  1736. package/src/components/LinkDocs/LinkDocsHorizontalList.tsx +15 -22
  1737. package/src/components/LinkList/LinkList.fixture.tsx +2 -2
  1738. package/src/components/LinkList/LinkList.tsx +7 -9
  1739. package/src/components/MiniGallery/MiniGallery.fixture.tsx +4 -8
  1740. package/src/components/MobileAppTile/MobileAppTile.fixture.mobile.tsx +1 -2
  1741. package/src/components/MobileAppTile/MobileAppTile.fixture.tsx +2 -10
  1742. package/src/components/MobileAppTile/MobileAppTile.tsx +1 -4
  1743. package/src/components/OfficeMap/OfficeMap.fixture.tsx +2 -2
  1744. package/src/components/OfficeServicesBlock/OfficeServicesBlock.fixture.tsx +1 -2
  1745. package/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +9 -16
  1746. package/src/components/OtherProducts/OtherProducts.fixture.tsx +20 -32
  1747. package/src/components/OtherProducts/OtherProducts.tsx +2 -6
  1748. package/src/components/PictureText/PictureText.fixture.tsx +6 -16
  1749. package/src/components/PictureText/PictureText.tsx +23 -27
  1750. package/src/components/Placeholder/Placeholder.fixture.mobile.tsx +2 -2
  1751. package/src/components/Placeholder/Placeholder.fixture.tsx +2 -2
  1752. package/src/components/Placeholder/Placeholder.tsx +3 -6
  1753. package/src/components/ProductBlock/ProductBlock.fixture.mobile.tsx +8 -27
  1754. package/src/components/ProductBlock/ProductBlock.fixture.tsx +7 -24
  1755. package/src/components/ProductBlock/ProductBlock.tsx +6 -23
  1756. package/src/components/ProductBlock/ProductBlockInner.mobile.tsx +3 -12
  1757. package/src/components/ProductBlock/ProductBlockInner.tsx +9 -11
  1758. package/src/components/ProductBlock/renderBackwardButton.tsx +3 -2
  1759. package/src/components/ProductGallery/ProductGallery.fixture.tsx +1 -3
  1760. package/src/components/ProductGallery/ProductGallery.tsx +4 -11
  1761. package/src/components/ProductTile/ProductTile.fixture.tsx +2 -8
  1762. package/src/components/ProductTile/ProductTile.tsx +24 -32
  1763. package/src/components/PromoTile/PromoTile.fixture.tsx +1 -2
  1764. package/src/components/PromoTile/PromoTile.tsx +31 -38
  1765. package/src/components/Recommendation/Recommendation.fixture.tsx +1 -3
  1766. package/src/components/Recommendation/Recommendation.tsx +12 -26
  1767. package/src/components/Recommendation/RecommendationCard.tsx +5 -15
  1768. package/src/components/SafeDepositRental/SafeDepositRental.fixture.tsx +1 -2
  1769. package/src/components/SafeDepositRental/SafeDepositRental.tsx +3 -3
  1770. package/src/components/StepsBlock/StepsBlock.fixture.mobile.tsx +1 -9
  1771. package/src/components/StepsBlock/StepsBlock.fixture.tsx +2 -3
  1772. package/src/components/StepsBlock/StepsBlock.tsx +5 -28
  1773. package/src/components/StepsBlock/renderStepContent.tsx +4 -10
  1774. package/src/components/Tabs/LinkTab.tsx +46 -0
  1775. package/src/components/Tabs/Tabs.fixture.tsx +1 -2
  1776. package/src/components/Tabs/Tabs.tsx +7 -7
  1777. package/src/components/Tabs/TabsContent.ts +5 -5
  1778. package/src/components/Tabs/renderGroupTab.tsx +3 -3
  1779. package/src/components/Tabs/renderTab.tsx +8 -27
  1780. package/src/components/TariffsTable/EmbeddableCellData.tsx +3 -5
  1781. package/src/components/TariffsTable/TariffsTable.fixture.mobile.tsx +2 -7
  1782. package/src/components/TariffsTable/TariffsTable.fixture.tsx +1 -6
  1783. package/src/components/TariffsTable/TariffsTable.mobile.tsx +6 -17
  1784. package/src/components/TariffsTable/TariffsTable.tsx +2 -8
  1785. package/src/components/TariffsTable/TariffsTableCell.tsx +0 -2
  1786. package/src/components/TariffsTable/TariffsTableContent.ts +1 -1
  1787. package/src/components/TariffsTable/TariffsTableHorizontal.tsx +9 -7
  1788. package/src/components/TariffsTable/TariffsTableRenderCell.tsx +0 -5
  1789. package/src/components/TariffsTable/TariffsTableRow.tsx +4 -4
  1790. package/src/components/TariffsTable/TariffsTableRowContainer.tsx +11 -15
  1791. package/src/components/TariffsTable/TariffsTableTileCell.tsx +23 -34
  1792. package/src/components/TariffsTable/TariffsTableVertical.tsx +9 -7
  1793. package/src/components/TextBlock/TextBlock.fixture.mobile.tsx +10 -60
  1794. package/src/components/TextBlock/TextBlock.fixture.tsx +13 -49
  1795. package/src/components/Tile/Tile.fixture.tsx +4 -7
  1796. package/src/components/Tile/Tile.tsx +2 -5
  1797. package/src/components/VerticalLayout/VerticalLayout.example.json +17 -0
  1798. package/src/components/VerticalLayout/VerticalLayout.fixture.tsx +41 -0
  1799. package/src/components/VerticalLayout/VerticalLayout.tsx +51 -0
  1800. package/src/components/VerticalLayout/VerticalLayout.ui.json +1 -0
  1801. package/src/components/VerticalLayout/VerticalLayoutContent.ts +19 -0
  1802. package/src/hooks/handlerDecorator.ts +16 -0
  1803. package/src/hooks/useLink.ts +26 -22
  1804. package/src/hooks/useRouter.ts +28 -0
  1805. package/src/hooks/useTableArrowScrollControl.ts +13 -7
  1806. package/src/icons/IconName.ts +5 -318
  1807. package/src/index.ts +3 -0
  1808. package/src/model/BlockVersion.ts +6 -0
  1809. package/src/model/BlocksRegistry.ts +1 -1
  1810. package/src/model/JSXBlock.ts +5 -9
  1811. package/src/react/setup-fixture.ts +9 -29
  1812. package/src/services/sitemap/SitemapProps.ts +1 -1
  1813. package/src/services/sitemap/findActiveSubItem.ts +1 -1
  1814. package/src/services/sitemap/isHrefActive.ts +1 -5
  1815. package/src/services/sitemap/isSubItemActive.ts +1 -1
  1816. package/src/services/sitemap/isTopItemActive.ts +1 -1
  1817. package/src/services/sitemap/useSWRResource.ts +11 -0
  1818. package/src/ui-kit/BlockWrapper.tsx +6 -4
  1819. package/src/ui-kit/Breadcrumb.tsx +12 -9
  1820. package/src/ui-kit/Button/Button.tsx +35 -80
  1821. package/src/ui-kit/Button/ButtonInner.tsx +2 -3
  1822. package/src/ui-kit/Button/ButtonSection.tsx +9 -14
  1823. package/src/ui-kit/Checkbox/Checkbox.tsx +1 -3
  1824. package/src/ui-kit/Checkbox/CheckboxProps.ts +2 -2
  1825. package/src/ui-kit/HeaderItem/HeaderItem.tsx +18 -22
  1826. package/src/ui-kit/InnerTable/InnerTable.tsx +6 -7
  1827. package/src/ui-kit/InnerTable/InnerTableBody.tsx +3 -4
  1828. package/src/ui-kit/InnerTable/InnerTableBodyItem.tsx +1 -2
  1829. package/src/ui-kit/InnerTable/InnerTableButton.tsx +1 -2
  1830. package/src/ui-kit/RadioButtonGroup/RadioButtonGroup.fixture.tsx +2 -3
  1831. package/src/ui-kit/RadioButtonGroup/RadioButtonGroup.tsx +17 -20
  1832. package/src/ui-kit/SearchBar/SearchBar.mobile.tsx +4 -5
  1833. package/src/ui-kit/SearchBar/SearchBar.tsx +2 -5
  1834. package/src/ui-kit/SwipeListControl/SwipeListControl.fixture.mobile.tsx +5 -7
  1835. package/src/ui-kit/SwipeListControl/SwipeListControl.tsx +1 -1
  1836. package/src/ui-kit/SwipeListControl/SwipeListControlProps.ts +2 -3
  1837. package/src/ui-kit/TableArrowScrollControl/TableArrowScrollControl.tsx +2 -2
  1838. package/src/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.ts +3 -2
  1839. package/src/ui-kit/TopItem/TopItem.tsx +18 -23
  1840. package/src/utils/adjustHref.ts +2 -13
  1841. package/bundle/components/Calculator/renderPaymentTypeSelector.d.ts +0 -11
  1842. package/bundle/components/ContentPage/ContentPageContext.d.ts +0 -17
  1843. package/bundle/components/ProductGallery/ProductGallery.mobile.d.ts +0 -5
  1844. package/bundle/components/ProductGallery/ProductGalleryBlock.d.ts +0 -8
  1845. package/bundle/components/Tabs/renderLinkTab.d.ts +0 -9
  1846. package/bundle/services/sitemap/useSitemap.d.ts +0 -3
  1847. package/bundle/ui-kit/Button/Button.mobile.d.ts +0 -2
  1848. package/bundle/utils/withoutMobilePath.d.ts +0 -2
  1849. package/dist/components/Calculator/renderPaymentTypeSelector.d.ts +0 -11
  1850. package/dist/components/Calculator/renderPaymentTypeSelector.js +0 -9
  1851. package/dist/components/Calculator/renderPaymentTypeSelector.js.map +0 -1
  1852. package/dist/components/ContentPage/ContentPageContext.d.ts +0 -17
  1853. package/dist/components/ContentPage/ContentPageContext.js.map +0 -1
  1854. package/dist/components/ProductGallery/ProductGallery.mobile.d.ts +0 -5
  1855. package/dist/components/ProductGallery/ProductGallery.mobile.js +0 -11
  1856. package/dist/components/ProductGallery/ProductGallery.mobile.js.map +0 -1
  1857. package/dist/components/ProductGallery/ProductGalleryBlock.d.ts +0 -8
  1858. package/dist/components/ProductGallery/ProductGalleryBlock.js +0 -11
  1859. package/dist/components/ProductGallery/ProductGalleryBlock.js.map +0 -1
  1860. package/dist/components/Tabs/renderLinkTab.d.ts +0 -9
  1861. package/dist/components/Tabs/renderLinkTab.js +0 -10
  1862. package/dist/components/Tabs/renderLinkTab.js.map +0 -1
  1863. package/dist/services/sitemap/useSitemap.d.ts +0 -3
  1864. package/dist/services/sitemap/useSitemap.js.map +0 -1
  1865. package/dist/ui-kit/Button/Button.mobile.d.ts +0 -2
  1866. package/dist/ui-kit/Button/Button.mobile.js +0 -31
  1867. package/dist/ui-kit/Button/Button.mobile.js.map +0 -1
  1868. package/dist/utils/withoutMobilePath.d.ts +0 -2
  1869. package/dist/utils/withoutMobilePath.js +0 -6
  1870. package/dist/utils/withoutMobilePath.js.map +0 -1
  1871. package/lib/components/Calculator/renderPaymentTypeSelector.d.ts +0 -11
  1872. package/lib/components/Calculator/renderPaymentTypeSelector.js +0 -6
  1873. package/lib/components/Calculator/renderPaymentTypeSelector.js.map +0 -1
  1874. package/lib/components/ContentPage/ContentPageContext.d.ts +0 -17
  1875. package/lib/components/ContentPage/ContentPageContext.js +0 -2
  1876. package/lib/components/ContentPage/ContentPageContext.js.map +0 -1
  1877. package/lib/components/ProductGallery/ProductGallery.fixture.mobile.d.ts +0 -6
  1878. package/lib/components/ProductGallery/ProductGallery.mobile.d.ts +0 -5
  1879. package/lib/components/ProductGallery/ProductGallery.mobile.js +0 -9
  1880. package/lib/components/ProductGallery/ProductGallery.mobile.js.map +0 -1
  1881. package/lib/components/ProductGallery/ProductGalleryBlock.d.ts +0 -8
  1882. package/lib/components/ProductGallery/ProductGalleryBlock.js +0 -9
  1883. package/lib/components/ProductGallery/ProductGalleryBlock.js.map +0 -1
  1884. package/lib/components/Tabs/renderLinkTab.d.ts +0 -9
  1885. package/lib/components/Tabs/renderLinkTab.js +0 -7
  1886. package/lib/components/Tabs/renderLinkTab.js.map +0 -1
  1887. package/lib/services/sitemap/useSitemap.d.ts +0 -3
  1888. package/lib/services/sitemap/useSitemap.js.map +0 -1
  1889. package/lib/ui-kit/Button/Button.mobile.d.ts +0 -2
  1890. package/lib/ui-kit/Button/Button.mobile.js +0 -29
  1891. package/lib/ui-kit/Button/Button.mobile.js.map +0 -1
  1892. package/lib/utils/withoutMobilePath.d.ts +0 -2
  1893. package/lib/utils/withoutMobilePath.js +0 -3
  1894. package/lib/utils/withoutMobilePath.js.map +0 -1
  1895. package/mobile/bundle/components/Calculator/renderPaymentTypeSelector.d.ts +0 -11
  1896. package/mobile/bundle/components/ContentPage/ContentPageContext.d.ts +0 -17
  1897. package/mobile/bundle/components/ProductGallery/ProductGalleryBlock.d.ts +0 -8
  1898. package/mobile/bundle/components/Tabs/renderLinkTab.d.ts +0 -9
  1899. package/mobile/bundle/services/sitemap/useSitemap.d.ts +0 -3
  1900. package/mobile/bundle/utils/withoutMobilePath.d.ts +0 -2
  1901. package/mobile/dist/components/Calculator/renderPaymentTypeSelector.d.ts +0 -11
  1902. package/mobile/dist/components/Calculator/renderPaymentTypeSelector.js +0 -9
  1903. package/mobile/dist/components/Calculator/renderPaymentTypeSelector.js.map +0 -1
  1904. package/mobile/dist/components/ContentPage/ContentPageContext.d.ts +0 -17
  1905. package/mobile/dist/components/ContentPage/ContentPageContext.js.map +0 -1
  1906. package/mobile/dist/components/ProductGallery/ProductGalleryBlock.d.ts +0 -8
  1907. package/mobile/dist/components/ProductGallery/ProductGalleryBlock.js +0 -11
  1908. package/mobile/dist/components/ProductGallery/ProductGalleryBlock.js.map +0 -1
  1909. package/mobile/dist/components/Tabs/renderLinkTab.d.ts +0 -9
  1910. package/mobile/dist/components/Tabs/renderLinkTab.js +0 -10
  1911. package/mobile/dist/components/Tabs/renderLinkTab.js.map +0 -1
  1912. package/mobile/dist/services/sitemap/useSitemap.d.ts +0 -3
  1913. package/mobile/dist/services/sitemap/useSitemap.js.map +0 -1
  1914. package/mobile/dist/utils/withoutMobilePath.d.ts +0 -2
  1915. package/mobile/dist/utils/withoutMobilePath.js +0 -6
  1916. package/mobile/dist/utils/withoutMobilePath.js.map +0 -1
  1917. package/mobile/lib/components/Calculator/renderPaymentTypeSelector.d.ts +0 -11
  1918. package/mobile/lib/components/Calculator/renderPaymentTypeSelector.js +0 -6
  1919. package/mobile/lib/components/Calculator/renderPaymentTypeSelector.js.map +0 -1
  1920. package/mobile/lib/components/ContentPage/ContentPageContext.d.ts +0 -17
  1921. package/mobile/lib/components/ContentPage/ContentPageContext.js +0 -2
  1922. package/mobile/lib/components/ContentPage/ContentPageContext.js.map +0 -1
  1923. package/mobile/lib/components/ProductGallery/ProductGalleryBlock.d.ts +0 -8
  1924. package/mobile/lib/components/ProductGallery/ProductGalleryBlock.js +0 -9
  1925. package/mobile/lib/components/ProductGallery/ProductGalleryBlock.js.map +0 -1
  1926. package/mobile/lib/components/Tabs/renderLinkTab.d.ts +0 -9
  1927. package/mobile/lib/components/Tabs/renderLinkTab.js +0 -7
  1928. package/mobile/lib/components/Tabs/renderLinkTab.js.map +0 -1
  1929. package/mobile/lib/services/sitemap/useSitemap.d.ts +0 -3
  1930. package/mobile/lib/services/sitemap/useSitemap.js.map +0 -1
  1931. package/mobile/lib/utils/withoutMobilePath.d.ts +0 -2
  1932. package/mobile/lib/utils/withoutMobilePath.js +0 -3
  1933. package/mobile/lib/utils/withoutMobilePath.js.map +0 -1
  1934. package/mobile/src/components/Calculator/renderPaymentTypeSelector.tsx +0 -14
  1935. package/mobile/src/components/ContentPage/ContentPageContext.tsx +0 -20
  1936. package/mobile/src/components/ProductGallery/ProductGalleryBlock.tsx +0 -28
  1937. package/mobile/src/components/Tabs/renderLinkTab.tsx +0 -42
  1938. package/mobile/src/services/sitemap/useSitemap.ts +0 -15
  1939. package/mobile/src/utils/withoutMobilePath.ts +0 -3
  1940. package/src/components/Calculator/renderPaymentTypeSelector.tsx +0 -14
  1941. package/src/components/ContentPage/ContentPageContext.tsx +0 -20
  1942. package/src/components/ProductGallery/ProductGallery.fixture.mobile.tsx +0 -234
  1943. package/src/components/ProductGallery/ProductGallery.mobile.tsx +0 -21
  1944. package/src/components/ProductGallery/ProductGalleryBlock.tsx +0 -28
  1945. package/src/components/Tabs/renderLinkTab.tsx +0 -42
  1946. package/src/services/sitemap/useSitemap.ts +0 -15
  1947. package/src/ui-kit/Button/Button.fixture.mobile.tsx +0 -16
  1948. package/src/ui-kit/Button/Button.mobile.tsx +0 -87
  1949. package/src/utils/withoutMobilePath.ts +0 -3
@@ -1,12 +1,10 @@
1
1
  /// <reference types="react" />
2
2
  import type { ContentPageDef } from '../../model/ContentPageDef';
3
- import type { ContentPageContext } from '../ContentPage/ContentPageContext';
4
- import type { Tab } from './TabsContent';
3
+ import type { TabData } from './TabsContent';
5
4
  export interface RenderTabProps {
6
- onClick: (tab: Tab) => void;
7
- currentTab?: Tab;
8
5
  page?: ContentPageDef;
6
+ currentTab?: TabData;
9
7
  showCounter?: boolean;
10
- context: ContentPageContext;
8
+ onClick: (tab: TabData) => void;
11
9
  }
12
- export declare const renderTab: ({ onClick, currentTab, showCounter, page, context }: RenderTabProps) => (tab: Tab, i: number) => JSX.Element | null;
10
+ export declare const renderTab: ({ page, currentTab, showCounter, onClick }: RenderTabProps) => (tab: TabData, i: number) => JSX.Element | null;
@@ -1,34 +1,20 @@
1
- import { EventBus } from '../../EventBus/EventBus.js';
2
- import { useLink } from '../../hooks/useLink.js';
1
+ import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
3
2
  import { assertUnreachable } from '../../utils/assertUnreachable.js';
3
+ import { LinkTab } from './LinkTab.js';
4
4
  import { renderGroupTab } from './renderGroupTab.js';
5
- import { renderLinkTab } from './renderLinkTab.js';
6
- export const renderTab = ({ onClick, currentTab, showCounter, page, context }) =>
5
+ export const renderTab = ({ page, currentTab, showCounter, onClick }) =>
7
6
  // Linter doesn't understand that switch processes all cases
8
7
  // eslint-disable-next-line consistent-return
9
8
  (tab, i) => {
10
- const { useRouter, handlerDecorator } = context;
11
- const router = useRouter();
12
9
  const type = tab.type;
13
10
  if (!(type === 'group' || type === 'link')) {
14
11
  return null;
15
12
  }
16
13
  switch (type) {
17
14
  case 'group':
18
- return renderGroupTab({ onClick, currentTab, showCounter, page, context })(tab, i);
15
+ return renderGroupTab({ page, currentTab, showCounter, onClick })(tab, i);
19
16
  case 'link': {
20
- const link = useLink({ router, handlerDecorator }, tab);
21
- const linkClick = link.onClick;
22
- return renderLinkTab({
23
- ...link,
24
- onClick: (ev) => {
25
- linkClick(ev);
26
- onClick(tab);
27
- EventBus.inst.fire('anchorClick', { isScrolling: true, label: tab.href });
28
- },
29
- currentTab,
30
- i,
31
- });
17
+ return _jsx(LinkTab, { tab: tab, currentTab: currentTab }, String(i));
32
18
  }
33
19
  default:
34
20
  assertUnreachable(type);
@@ -1 +1 @@
1
- {"version":3,"file":"renderTab.js","sourceRoot":"","sources":["../../../src/components/Tabs/renderTab.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAElE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAWhD,MAAM,CAAC,MAAM,SAAS,GACpB,CAAC,EAAE,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,IAAI,EAAE,OAAO,EAAkB,EAAE,EAAE;AACxE,4DAA4D;AAC5D,6CAA6C;AAC7C,CAAC,GAAQ,EAAE,CAAS,EAAE,EAAE;IACtB,MAAM,EAAE,SAAS,EAAE,gBAAgB,EAAE,GAAG,OAAO,CAAC;IAChD,MAAM,MAAM,GAAG,SAAS,EAAE,CAAC;IAE3B,MAAM,IAAI,GAAG,GAAG,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EAAE;AAC/D,4DAA4D;AAC5D,6CAA6C;AAC7C,CAAC,GAAY,EAAE,CAAS,EAAE,EAAE;IAC1B,MAAM,IAAI,GAAG,GAAG,CAAC,IAAI,CAAC;IAEtB,IAAI,CAAC,CAAC,IAAI,KAAK,OAAO,IAAI,IAAI,KAAK,MAAM,CAAC,EAAE;QAC1C,OAAO,IAAI,CAAC;KACb;IAED,QAAQ,IAAI,EAAE;QACZ,KAAK,OAAO;YACV,OAAO,cAAc,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,WAAW,EAAE,OAAO,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;QAC5E,KAAK,MAAM,CAAC,CAAC;YACX,OAAO,KAAC,OAAO,IAAiB,GAAG,EAAE,GAAG,EAAE,UAAU,EAAE,UAAU,IAA3C,MAAM,CAAC,CAAC,CAAC,CAAsC,CAAC;SACtE;QACD;YACE,iBAAiB,CAAC,IAAI,CAAC,CAAC;KAC3B;AACH,CAAC,CAAC"}
@@ -14,11 +14,9 @@ const renderLabelDescriptionCellData = ({ label, description }) => {
14
14
  };
15
15
  const renderImgCellData = ({ image }) => (image?.src ? _jsx(Img, { image: image }) : null);
16
16
  const renderListCellData = ({ isDotted, ...rest }) => (_jsx(List, { className: "flex flex-col justify-between items-start text-h6", version: "primary", isDotted: isDotted ?? true, ...rest }));
17
- const renderTableCellData = JSX(({ isVisible, displayTable, dataUrl, pdfUrl, isOpen, context }) => {
18
- return isVisible ? (_jsx(TableInnerButton, { isOpen: isOpen, context: context, onClick: () => {
19
- displayTable({ dataUrl, pdfUrl });
20
- } })) : null;
21
- });
17
+ const renderTableCellData = JSX(({ isVisible, displayTable, dataUrl, pdfUrl, isOpen }) => isVisible ? (_jsx(TableInnerButton, { isOpen: isOpen, onClick: () => {
18
+ displayTable({ dataUrl, pdfUrl });
19
+ } })) : null);
22
20
  export const EmbeddableCellData = {
23
21
  Buttons: renderButtonsCellData,
24
22
  Img: renderImgCellData,
@@ -1 +1 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CAAC,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAa,EAAE,EAAE,CAAC,CAC/D,KAAC,IAAI,IACH,SAAS,EAAC,mDAAmD,EAC7D,OAAO,EAAC,SAAS,EACjB,QAAQ,EAAE,QAAQ,IAAI,IAAI,KACtB,IAAI,GACR,CACH,CAAC;AAEF,MAAM,mBAAmB,GAAG,GAAG,CAC7B,CAAC,EAAE,SAAS,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,EAAE,CACvD,SAAS,CAAC,CAAC,CAAC,CACV,KAAC,gBAAgB,IACf,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,GAAG,EAAE;QACZ,YAAY,CAAC,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC,CAAC;IACpC,CAAC,GACD,CACH,CAAC,CAAC,CAAC,IAAI,CACX,CAAC;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,OAAO,EAAE,qBAAqB;IAC9B,GAAG,EAAE,iBAAiB;IACtB,IAAI,EAAE,kBAAkB;IACxB,gBAAgB,EAAE,8BAA8B;IAChD,KAAK,EAAE,mBAAmB;CAC3B,CAAC"}
@@ -1,4 +1,5 @@
1
1
  /// <reference types="react" />
2
+ import '../../react/setup-fixture';
2
3
  declare const _default: {
3
4
  default: JSX.Element;
4
5
  '1 column': JSX.Element;
@@ -1,4 +1,5 @@
1
1
  /// <reference types="react" />
2
+ import '../../react/setup-fixture';
2
3
  declare const _default: {
3
4
  'default (vertical)': JSX.Element;
4
5
  horizontal: JSX.Element;
@@ -1,6 +1,5 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
- import { useState } from '@redneckz/uni-jsx/lib/hooks';
4
3
  import { useTableArrowScrollControl } from '../../hooks/useTableArrowScrollControl.js';
5
4
  import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
6
5
  import { renderDefaultFoldButton } from '../../ui-kit/Foldable/DefaultFoldButton.js';
@@ -10,8 +9,7 @@ import { Heading } from '../../ui-kit/Heading/Heading.js';
10
9
  import { TableArrowScrollControl } from '../../ui-kit/TableArrowScrollControl/TableArrowScrollControl.js';
11
10
  import { COLS_LENGTH_FOR_SCROLL } from './constants.js';
12
11
  import { TariffsTableRow } from './TariffsTableRow.js';
13
- export const TariffsTable = JSX(({ className = '', context, title, description, rowHeaders, tariffsColumns: columns, hiddenRowsNum = 0, ...rest }) => {
14
- const [activeCardIndex, setActiveCardIndex] = useState(0);
12
+ export const TariffsTable = JSX(({ className = '', title, description, rowHeaders, tariffsColumns: columns, hiddenRowsNum = 0, ...rest }) => {
15
13
  const colData = columns?.map(({ data }) => data) || [];
16
14
  const rowData = rowHeaders?.map((header, i) => ({
17
15
  header,
@@ -21,12 +19,11 @@ export const TariffsTable = JSX(({ className = '', context, title, description,
21
19
  const tableArrowScrollControlProps = useTableArrowScrollControl({
22
20
  columnsLength,
23
21
  colsLengthForScroll: COLS_LENGTH_FOR_SCROLL,
24
- activeCardIndex,
25
- setActiveCardIndex,
26
22
  });
27
- const rows = (rowData || []).map((row, i) => (_jsx(TariffsTableRow, { context: context, row: row, activeCardIndex: activeCardIndex, rowIdx: i }, String(i))));
23
+ const { activeCardIndex } = tableArrowScrollControlProps;
24
+ const rows = (rowData || []).map((row, i) => (_jsx(TariffsTableRow, { row: row, activeCardIndex: activeCardIndex, rowIdx: i, ...rest }, String(i))));
28
25
  const [visibleRows, hiddenRows] = hiddenRowsNum > 0 ? [rows.slice(0, -hiddenRowsNum), rows.slice(-hiddenRowsNum)] : [rows, []];
29
- return (_jsxs(BlockWrapper, { className: `bg-white font-sans p-[50px] overflow-hidden text-primary-text relative ${columnsLength > 1 ? 'pr-0' : ''} ${className}`, context: context, ...rest, children: [renderTitle({ title, description }), renderDescription(description), hiddenRowsNum > 0 ? (_jsx(Foldable, { renderFoldableSection: ({ isUnfolded }) => (_jsxs(Wrapper, { tableArrowScrollControlProps: tableArrowScrollControlProps, children: [visibleRows, _jsx(FoldableSection, { isUnfolded: isUnfolded, children: hiddenRows })] })), renderFoldButton: renderDefaultFoldButton })) : (_jsx(Wrapper, { tableArrowScrollControlProps: tableArrowScrollControlProps, children: rows }))] }));
26
+ return (_jsxs(BlockWrapper, { className: `bg-white font-sans p-[50px] overflow-hidden text-primary-text relative ${columnsLength > 1 ? 'pr-0' : ''} ${className}`, ...rest, children: [renderTitle({ title, description }), renderDescription(description), hiddenRowsNum > 0 ? (_jsx(Foldable, { renderFoldableSection: ({ isUnfolded }) => (_jsxs(Wrapper, { tableArrowScrollControlProps: tableArrowScrollControlProps, children: [visibleRows, _jsx(FoldableSection, { isUnfolded: isUnfolded, children: hiddenRows })] })), renderFoldButton: renderDefaultFoldButton })) : (_jsx(Wrapper, { tableArrowScrollControlProps: tableArrowScrollControlProps, children: rows }))] }));
30
27
  });
31
28
  function renderTitle({ title, description }) {
32
29
  return title ? (_jsx(Heading, { headingType: "h3", className: `text-center ${description ? 'mb-2.5' : 'mb-8'}`, title: title })) : null;
@@ -1 +1 @@
1
- {"version":3,"file":"TariffsTable.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/TariffsTable.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,0BAA0B,EAAE,MAAM,wCAAwC,CAAC;AAEpF,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,uBAAuB,EAAE,MAAM,yCAAyC,CAAC;AAClF,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AACxE,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,uBAAuB,EAAE,MAAM,8DAA8D,CAAC;AAE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IAE3D,OAAO,CACL,eAAK,IAAI,EAAC,OAAO,aACf,eAAK,SAAS,EAAC,UAAU,aACtB,QAAQ,EACT,KAAC,uBAAuB,OAAK,4BAA4B,GAAI,IACzD,EACL,iBAAiB,CAAC,CAAC,CAAC,CACnB,cAAK,SAAS,EAAC,8DAA8D,GAAG,CACjF,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -3,15 +3,12 @@ import { JSX } from '@redneckz/uni-jsx';
3
3
  import { Heading } from '../../ui-kit/Heading/Heading.js';
4
4
  import { TariffsTableHorizontal } from './TariffsTableHorizontal.js';
5
5
  import { TariffsTableVertical } from './TariffsTableVertical.js';
6
- export const TariffsTable = JSX(({ className, context, title, description, tariffsColumns: columns, rowHeaders, orientation = 'vertical', }) => {
6
+ export const TariffsTable = JSX(({ className, title, description, tariffsColumns: columns, rowHeaders, orientation = 'vertical', ...rest }) => {
7
7
  const colData = getColData(columns);
8
8
  const tiles = getTiles(rowHeaders, colData);
9
9
  const headingMargin = description ? 'mb-2' : 'mb-5';
10
- return (_jsxs("section", { className: `px-4 py-6 bg-white font-sans text-primary-text overflow-x-hidden ${className}`, children: [title ? (_jsx(Heading, { headingType: "h2", className: `text-center ${headingMargin}`, title: title })) : null, description ? _jsx("div", { className: "mb-5 text-center text-m", children: description }) : null, tiles?.length ? renderOrientationTable(orientation, tiles, context) : null] }));
10
+ return (_jsxs("section", { className: `px-4 py-6 bg-white font-sans text-primary-text overflow-x-hidden ${className}`, children: [title ? (_jsx(Heading, { headingType: "h2", className: `text-center ${headingMargin}`, title: title })) : null, description ? _jsx("div", { className: "mb-5 text-center text-m", children: description }) : null, orientation === 'vertical' ? (_jsx(TariffsTableVertical, { tiles: tiles, ...rest })) : (_jsx(TariffsTableHorizontal, { tiles: tiles, ...rest }))] }));
11
11
  });
12
- function renderOrientationTable(orientation, tiles, context) {
13
- return orientation === 'vertical' ? (_jsx(TariffsTableVertical, { context: context, tiles: tiles })) : (_jsx(TariffsTableHorizontal, { context: context, tiles: tiles }));
14
- }
15
12
  const getColData = (columns) => columns?.[0].data ? columns[0].data : [];
16
13
  const getTiles = (rowHeaders, colData) => rowHeaders?.map((header, i) => ({
17
14
  header,
@@ -1 +1 @@
1
- {"version":3,"file":"TariffsTable.mobile.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/TariffsTable.mobile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AASvD,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAI9D,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAC7B,CAAC,EACC,SAAS,EACT,OAAO,EACP,KAAK,EACL,WAAW,EACX,cAAc,EAAE,OAAO,EACvB,UAAU,EACV,WAAW,GAAG,UAAU,GACzB,EAAE,EAAE;IACH,MAAM,OAAO,GAAG,UAAU,CAAC,OAAO,CAAC,CAAC;IACpC,MAAM,KAAK,GAAG,QAAQ,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC;IAC5C,MAAM,aAAa,GAAG,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC;IAEpD,OAAO,CACL,mBACE,SAAS,EAAE,oEAAoE,SAAS,EAAE,aAEzF,KAAK,CAAC,CAAC,CAAC,CACP,KAAC,OAAO,IAAC,WAAW,EAAC,IAAI,EAAC,SAAS,EAAE,eAAe,aAAa,EAAE,EAAE,KAAK,EAAE,KAAK,GAAI,CACtF,CAAC,CAAC,CAAC,IAAI,EACP,WAAW,CAAC,CAAC,CAAC,cAAK,SAAS,EAAC,yBAAyB,YAAE,WAAW,GAAO,CAAC,CAAC,CAAC,IAAI,EACjF,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,sBAAsB,CAAC,W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CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC;CAC3B,CAAC,CAAC,CAAC"}
@@ -1,11 +1,10 @@
1
1
  import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
3
  import { renderCellInner } from './TariffsTableRenderCell.js';
4
- export const TariffsTableCell = JSX(({ context, cells, rowIdx, cellIdx, setTableInner, tableInner, openTableInnerIdx, setOpenTableInnerIdx, }) => {
4
+ export const TariffsTableCell = JSX(({ cells, rowIdx, cellIdx, setTableInner, tableInner, openTableInnerIdx, setOpenTableInnerIdx, }) => {
5
5
  return (_jsx("div", { className: "first:pl-0 w-80 flex-grow flex flex-col border-solid border-main-divider border border-t-0 border-x-0", role: "cell", children: cells?.length
6
6
  ? cells.map(renderCellInner({
7
7
  rowIdx,
8
- context,
9
8
  cellIdx,
10
9
  setTableInner,
11
10
  tableInner,
@@ -1 +1 @@
1
- {"version":3,"file":"TariffsTableCell.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/TariffsTableCell.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAKxC,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAe3D,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,CACjC,CAAC,EACC,OAAO,EACP,KAAK,EACL,MAAM,EACN,OAAO,EACP,aAAa,EACb,UAAU,EACV,iBAAiB,EACjB,oBAAoB,GACrB,EAAE,EAAE;IACH,OAAO,CACL,cACE,SAAS,EAAC,uGAAuG,EACjH,IAAI,EAAC,MAAM,YAEV,KAAK,EAAE,MAAM;YACZ,CAAC,CAAC,KAAK,CAAC,GAAG,CACP,eAAe,CAAC;gBACd,MAAM;gBACN,OAAO;gBACP,OAAO;gBACP,aAAa;gBACb,UAAU;gBACV,iBAAiB;gBACjB,oBAAoB;aACrB,CAAC,CACH;YACH,CAAC,CAAC,IAAI,GACJ,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"TariffsTableCell.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/TariffsTableCell.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAKxC,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAe3D,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,CACjC,CAAC,EACC,KAAK,EACL,MAAM,EACN,OAAO,EACP,aAAa,EACb,UAAU,EACV,iBAAiB,EACjB,oBAAoB,GACrB,EAAE,EAAE;IACH,OAAO,CACL,cACE,SAAS,EAAC,uGAAuG,EACjH,IAAI,EAAC,MAAM,YAEV,KAAK,EAAE,MAAM;YACZ,CAAC,CAAC,KAAK,CAAC,GAAG,CACP,eAAe,CAAC;gBACd,MAAM;gBACN,OAAO;gBACP,aAAa;gBACb,UAAU;gBACV,iBAAiB;gBACjB,oBAAoB;aACrB,CAAC,CACH;YACH,CAAC,CAAC,IAAI,GACJ,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -17,7 +17,7 @@ export interface TariffsTableTile {
17
17
  * @hidden
18
18
  */
19
19
  export interface TariffsTableProps extends UniBlockProps {
20
- tiles: TariffsTableTile[];
20
+ tiles?: TariffsTableTile[];
21
21
  }
22
22
  /**
23
23
  * @hidden
@@ -2,5 +2,5 @@ import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
3
  import { SwipeListControl } from '../../ui-kit/SwipeListControl/SwipeListControl.js';
4
4
  import { TariffsTableTileCell } from './TariffsTableTileCell.js';
5
- export const TariffsTableHorizontal = JSX(({ tiles, context }) => (_jsx(SwipeListControl, { context: context, children: tiles.map((tile, i) => (_jsx(TariffsTableTileCell, { tile: tile, context: context }, String(i)))) })));
5
+ export const TariffsTableHorizontal = JSX(({ tiles, ...rest }) => tiles?.length ? (_jsx(SwipeListControl, { ...rest, children: tiles.map((tile, i) => (_jsx(TariffsTableTileCell, { tile: tile, ...rest }, String(i)))) })) : null);
6
6
  //# sourceMappingURL=TariffsTableHorizontal.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TariffsTableHorizontal.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/TariffsTableHorizontal.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC;AAElF,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,MAAM,CAAC,MAAM,sBAAsB,GAAG,GAAG,CAAoB,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,CACnF,KAAC,gBAAgB,IAAC,OAAO,EAAE,OAAO,YAC/B,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CACtB,KAAC,oBAAoB,IAAiB,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,IAAvC,MAAM,CAAC,CAAC,CAAC,CAAkC,CACvE,CAAC,GACe,CACpB,CAAC,CAAC"}
1
+ {"version":3,"file":"TariffsTableHorizontal.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/TariffsTableHorizontal.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC;AAElF,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,MAAM,CAAC,MAAM,sBAAsB,GAAG,GAAG,CAAoB,CAAC,EAAE,KAAK,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAClF,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CACd,KAAC,gBAAgB,OAAK,IAAI,YACvB,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CACtB,KAAC,oBAAoB,IAAiB,IAAI,EAAE,IAAI,KAAM,IAAI,IAA/B,MAAM,CAAC,CAAC,CAAC,CAA0B,CAC/D,CAAC,GACe,CACpB,CAAC,CAAC,CAAC,IAAI,CACT,CAAC"}
@@ -1,11 +1,9 @@
1
1
  /// <reference types="react" />
2
- import type { ContentPageContext } from '../ContentPage/ContentPageContext';
3
2
  import type { TariffTableContentProps } from './TariffsTableCell';
4
3
  import type { CellDef } from './TariffsTableContent';
5
4
  interface TariffTableCellInnerProps extends TariffTableContentProps {
6
5
  cellIdx: number;
7
- context: ContentPageContext;
8
6
  rowIdx: number;
9
7
  }
10
- export declare const renderCellInner: ({ rowIdx, context, cellIdx, setTableInner, tableInner, openTableInnerIdx, setOpenTableInnerIdx, }: TariffTableCellInnerProps) => (cell: CellDef, i: number) => JSX.Element;
8
+ export declare const renderCellInner: ({ rowIdx, cellIdx, setTableInner, tableInner, openTableInnerIdx, setOpenTableInnerIdx, }: TariffTableCellInnerProps) => (cell: CellDef, i: number) => JSX.Element;
11
9
  export {};
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { useEffect, useState } from '@redneckz/uni-jsx/lib/hooks';
3
3
  import { EmbeddableCellData } from './EmbeddableCellData.js';
4
- export const renderCellInner = ({ rowIdx, context, cellIdx, setTableInner, tableInner, openTableInnerIdx, setOpenTableInnerIdx, }) => (cell, i) => {
4
+ export const renderCellInner = ({ rowIdx, cellIdx, setTableInner, tableInner, openTableInnerIdx, setOpenTableInnerIdx, }) => (cell, i) => {
5
5
  const [isVisible, setVisibility] = useState(true);
6
6
  useEffect(() => {
7
7
  if (cellIdx !== openTableInnerIdx || !tableInner) {
@@ -21,7 +21,6 @@ export const renderCellInner = ({ rowIdx, context, cellIdx, setTableInner, table
21
21
  fieldIdx: i,
22
22
  displayTable,
23
23
  isVisible,
24
- context,
25
24
  },
26
25
  })] }, String(i)));
27
26
  };
@@ -1 +1 @@
1
- {"version":3,"file":"TariffsTableRenderCell.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/TariffsTableRenderCell.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAGlE,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAwB1D,MAAM,CAAC,MAAM,eAAe,GAC1B,CAAC,EACC,MAAM,EACN,OAAO,EACP,OAAO,EACP,aAAa,EACb,UAAU,EACV,iBAAiB,EACjB,oBAAoB,GACM,EAAE,EAAE,CAChC,CAAC,IAAa,EAAE,CAAS,EAAE,EAAE;IAC3B,MAAM,CAAC,SAAS,EAAE,aAAa,CAAC,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC;IAElD,SAAS,CAAC,GAAG,EAAE;QACb,IAAI,OAAO,KAAK,iBAAiB,IAAI,CAAC,UAAU,EAAE;YAChD,aAAa,CAAC,IAAI,CAAC,CAAC;SACrB;IACH,CAAC,EAAE,CAAC,UAAU,EAAE,iBAAiB,CAAC,CAAC,CAAC;IAEpC,MAAM,YAAY,GAAG,CAAC,KAA+B,EAAE,EAAE;QACvD,aAAa,CAAC,KAAK,CAAC,CAAC;QACrB,oBAAoB,CAAC,OAAO,CAAC,CAAC;QAC9B,aAAa,CAAC,KAAK,CAAC,CAAC;IACvB,CAAC,CAAC;IAEF,OAAO,CACL,eAEE,SAAS,EAAE,IAAI,EAAE,aAAa,KAAK,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,4BAA4B,aAElF,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,cAAK,SAAS,EAAC,KAAK,GAAG,CAAC,CAAC,CAAC,IAAI,EACtC,UAAU,CAAC;gBACV,IAAI;gBACJ,SAAS,EAAE;oBACT,MAAM;oBACN,OAAO;oBACP,QAAQ,EAAE,CAAC;oBACX,YAAY;oBACZ,SAAS;oBACT,OAAO;iBACR;aACF,CAAC,KAdG,MAAM,CAAC,CAAC,CAAC,CAeV,CACP,CAAC;AACJ,CAAC,CAAC;AAEJ,MAAM,UAAU,GAAG,CAAC,EAAE,IAAI,EAAE,SAAS,EAAmB,EAAE,EAAE;IAC1D,IAAI,CAAC,IAAI,EAAE;QACT,OAAO,IAAI,CAAC;KACb;IAED,MAAM,EAAE,aAAa,EAAE,IAAI,EAAE,GAAG,IAAI,EAAE,GAAG,IAAI,CAAC;IAE9C,IAAI,CAAC,IAAI,IAAI,CAAC,CAAC,IAAI,IAAI,kBAAkB,CAAC,EAAE;QAC1C,OAAO,IAAI,CAAC;KACb;IAED,MAAM,mBAAmB,GAAG,kBAAkB,CAAC,IAAI,CAAC,CAAC;IAErD,OAAO,KAAC,mBAAmB,OAAK,SAAS,KAAM,IAAI,GAAI,CAAC;AAC1D,CAAC,CAAC"}
1
+ {"version":3,"file":"TariffsTableRenderCell.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/TariffsTableRenderCell.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAElE,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAsB1D,MAAM,CAAC,MAAM,eAAe,GAC1B,CAAC,EACC,MAAM,EACN,OAAO,EACP,aAAa,EACb,UAAU,EACV,iBAAiB,EACjB,oBAAoB,GACM,EAAE,EAAE,CAChC,CAAC,IAAa,EAAE,CAAS,EAAE,EAAE;IAC3B,MAAM,CAAC,SAAS,EAAE,aAAa,CAAC,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC;IAElD,SAAS,CAAC,GAAG,EAAE;QACb,IAAI,OAAO,KAAK,iBAAiB,IAAI,CAAC,UAAU,EAAE;YAChD,aAAa,CAAC,IAAI,CAAC,CAAC;SACrB;IACH,CAAC,EAAE,CAAC,UAAU,EAAE,iBAAiB,CAAC,CAAC,CAAC;IAEpC,MAAM,YAAY,GAAG,CAAC,KAA+B,EAAE,EAAE;QACvD,aAAa,CAAC,KAAK,CAAC,CAAC;QACrB,oBAAoB,CAAC,OAAO,CAAC,CAAC;QAC9B,aAAa,CAAC,KAAK,CAAC,CAAC;IACvB,CAAC,CAAC;IAEF,OAAO,CACL,eAEE,SAAS,EAAE,IAAI,EAAE,aAAa,KAAK,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,4BAA4B,aAElF,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,cAAK,SAAS,EAAC,KAAK,GAAG,CAAC,CAAC,CAAC,IAAI,EACtC,UAAU,CAAC;gBACV,IAAI;gBACJ,SAAS,EAAE;oBACT,MAAM;oBACN,OAAO;oBACP,QAAQ,EAAE,CAAC;oBACX,YAAY;oBACZ,SAAS;iBACV;aACF,CAAC,KAbG,MAAM,CAAC,CAAC,CAAC,CAcV,CACP,CAAC;AACJ,CAAC,CAAC;AAEJ,MAAM,UAAU,GAAG,CAAC,EAAE,IAAI,EAAE,SAAS,EAAmB,EAAE,EAAE;IAC1D,IAAI,CAAC,IAAI,EAAE;QACT,OAAO,IAAI,CAAC;KACb;IAED,MAAM,EAAE,aAAa,EAAE,IAAI,EAAE,GAAG,IAAI,EAAE,GAAG,IAAI,CAAC;IAE9C,IAAI,CAAC,IAAI,IAAI,CAAC,CAAC,IAAI,IAAI,kBAAkB,CAAC,EAAE;QAC1C,OAAO,IAAI,CAAC;KACb;IAED,MAAM,mBAAmB,GAAG,kBAAkB,CAAC,IAAI,CAAC,CAAC;IAErD,OAAO,KAAC,mBAAmB,OAAK,SAAS,KAAM,IAAI,GAAI,CAAC;AAC1D,CAAC,CAAC"}
@@ -2,15 +2,15 @@ import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
3
  import { useState } from '@redneckz/uni-jsx/lib/hooks';
4
4
  import { Img } from '../../ui-kit/Img/Img.js';
5
+ import { getIconWithVersion } from '../../utils/getIconWithVersion.js';
5
6
  import { TableCarouselContainer } from '../ComparisonTable/TableCarouselContainer.js';
6
7
  import { COLUMN_WIDTH, DIVIDER_CLASSES, FIRST_CELL_CLASSES } from './constants.js';
7
8
  import { TariffsTableCell } from './TariffsTableCell.js';
8
9
  import { TariffsTableRowContainer } from './TariffsTableRowContainer.js';
9
- import { getIconWithVersion } from '../../utils/getIconWithVersion.js';
10
- export const TariffsTableRow = JSX(({ row: { header, data }, activeCardIndex, context, rowIdx }) => {
10
+ export const TariffsTableRow = JSX(({ row: { header, data }, activeCardIndex, rowIdx, ...rest }) => {
11
11
  const [tableInner, setTableInner] = useState(undefined);
12
12
  const [openTableInnerIdx, setOpenTableInnerIdx] = useState(undefined);
13
13
  const onHideContentClick = () => setTableInner(undefined);
14
- return (_jsxs(TariffsTableRowContainer, { context: context, onHideContentClick: onHideContentClick, tableInner: tableInner, children: [_jsx("div", { className: `text-s py-5 ${FIRST_CELL_CLASSES} ${DIVIDER_CLASSES}`, children: _jsxs("div", { className: "flex items-center text-primary-text", role: "cell", children: [header?.icon ? (_jsx(Img, { className: "mr-[14px] max-w-6 max-h-6", image: getIconWithVersion(header.icon), width: "24px", height: "24px", asSVG: true })) : null, header?.title ? _jsx("div", { className: "text-m-light", children: header?.title }) : null] }) }), data?.length ? (_jsx(TableCarouselContainer, { activeCardIndex: activeCardIndex, columnWidth: COLUMN_WIDTH, version: "tariff", children: data.map((cells, i) => (_jsx(TariffsTableCell, { cells: cells, rowIdx: rowIdx, cellIdx: i, context: context, setTableInner: setTableInner, tableInner: tableInner, openTableInnerIdx: openTableInnerIdx, setOpenTableInnerIdx: setOpenTableInnerIdx }, String(i)))) })) : null] }));
14
+ return (_jsxs(TariffsTableRowContainer, { onHideContentClick: onHideContentClick, tableInner: tableInner, ...rest, children: [_jsx("div", { className: `text-s py-5 ${FIRST_CELL_CLASSES} ${DIVIDER_CLASSES}`, children: _jsxs("div", { className: "flex items-center text-primary-text", role: "cell", children: [header?.icon ? (_jsx(Img, { className: "mr-[14px] max-w-6 max-h-6", image: getIconWithVersion(header.icon), width: "24px", height: "24px", asSVG: true })) : null, header?.title ? _jsx("div", { className: "text-m-light", children: header?.title }) : null] }) }), data?.length ? (_jsx(TableCarouselContainer, { activeCardIndex: activeCardIndex, columnWidth: COLUMN_WIDTH, version: "tariff", children: data.map((cells, i) => (_jsx(TariffsTableCell, { cells: cells, rowIdx: rowIdx, cellIdx: i, setTableInner: setTableInner, tableInner: tableInner, openTableInnerIdx: openTableInnerIdx, setOpenTableInnerIdx: setOpenTableInnerIdx, ...rest }, String(i)))) })) : null] }));
15
15
  });
16
16
  //# sourceMappingURL=TariffsTableRow.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TariffsTableRow.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/TariffsTableRow.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAEvD,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAE3C,OAAO,EAAE,sBAAsB,EAAE,MAAM,2CAA2C,CAAC;AACnF,OAAO,EAAE,YAAY,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAChF,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEtD,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AACtE,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAQpE,MAAM,CAAC,MAAM,eAAe,GAAG,GAAG,CAChC,CAAC,EAAE,GAAG,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,eAAe,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,EAAE;IAC9D,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,GAAG,QAAQ,CAAuC,SAAS,CAAC,CAAC;IAC9F,MAAM,CAAC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,CAAC,CAAC,CAAC,CACd,KAAC,GAAG,IACF,SAAS,EAAC,2BAA2B,EACrC,KAAK,EAAE,kBAAkB,CAAC,MAAM,CAAC,IAAI,CAAC,EACtC,KAAK,EAAC,MAAM,EACZ,MAAM,EAAC,MAAM,EACb,KAAK,SACL,CACH,CAAC,CAAC,CAAC,IAAI,EACP,MAAM,EAAE,KAAK,CAAC,CAAC,CAAC,cAAK,SAAS,EAAC,cAAc,YAAE,MAAM,EAAE,KAAK,GAAO,CAAC,CAAC,CAAC,IAAI,IACvE,GACF,EACL,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,CACd,KAAC,sBAAsB,IACrB,eAAe,EAAE,eAAe,EAChC,WAAW,EAAE,YAAY,EACzB,OAAO,EAAC,QAAQ,YAEf,IAAI,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,CAAC,EAAE,EAAE,CAAC,CACtB,KAAC,gBAAgB,IAEf,KAAK,EAAE,KAAK,EACZ,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,CAAC,EACV,aAAa,EAAE,aAAa,EAC5B,UAAU,EAAE,UAAU,EACtB,iBAAiB,EAAE,iBAAiB,EACpC,oBAAoB,EAAE,oBAAoB,KACtC,IAAI,IARH,MAAM,CAAC,CAAC,CAAC,CASd,CACH,CAAC,GACqB,CAC1B,CAAC,CAAC,CAAC,IAAI,IACiB,CAC5B,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1,9 +1,7 @@
1
1
  import type { UniBlockProps } from '../../model/JSXBlock';
2
- import type { VNode } from '../../model/VNode';
3
2
  import type { TariffsTableInnerContent } from '../../ui-kit/InnerTable/InnerTableProps';
4
3
  export interface TariffsTableRowContainerProps extends UniBlockProps {
5
- children?: VNode;
6
- onHideContentClick: () => void;
7
4
  tableInner?: TariffsTableInnerContent;
5
+ onHideContentClick?: () => void;
8
6
  }
9
7
  export declare const TariffsTableRowContainer: import("@redneckz/uni-jsx").UNIComponent<TariffsTableRowContainerProps, any, any>;
@@ -1,7 +1,5 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
3
  import { InnerTable } from '../../ui-kit/InnerTable/InnerTable.js';
4
- export const TariffsTableRowContainer = JSX(({ context, children, tableInner, onHideContentClick }) => {
5
- return (_jsxs("div", { className: "self-start flex flex-col", role: "row", children: [_jsx("div", { className: "flex", children: children }), tableInner ? (_jsx("div", { className: "origin-top animate-expansion", children: _jsx(InnerTable, { context: context, ...tableInner, onClick: onHideContentClick }) })) : null] }));
6
- });
4
+ export const TariffsTableRowContainer = JSX(({ children, tableInner, onHideContentClick }) => (_jsxs("div", { className: "self-start flex flex-col", role: "row", children: [_jsx("div", { className: "flex", children: children }), tableInner ? (_jsx("div", { className: "origin-top animate-expansion", children: _jsx(InnerTable, { ...tableInner, onClick: onHideContentClick }) })) : null] })));
7
5
  //# sourceMappingURL=TariffsTableRowContainer.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TariffsTableRowContainer.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/TariffsTableRowContainer.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAShE,MAAM,CAAC,MAAM,wBAAwB,GAAG,GAAG,CACzC,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,kBAAkB,EAAE,EAAE,EAAE;IACxD,OAAO,CACL,eAAK,SAAS,EAAC,0BAA0B,EAAC,IAAI,EAAC,KAAK,aAClD,cAAK,SAAS,EAAC,MAAM,YAAE,QAAQ,GAAO,EACrC,UAAU,CAAC,CAAC,CAAC,CACZ,cAAK,SAAS,EAAC,8BAA8B,YAC3C,KAAC,UAAU,IAAC,OAAO,EAAE,OAAO,KAAM,UAAU,EAAE,OAAO,EAAE,kBAAkB,GAAI,GACzE,CACP,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"TariffsTableRowContainer.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/TariffsTableRowContainer.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAQhE,MAAM,CAAC,MAAM,wBAAwB,GAAG,GAAG,CACzC,CAAC,EAAE,QAAQ,EAAE,UAAU,EAAE,kBAAkB,EAAE,EAAE,EAAE,CAAC,CAChD,eAAK,SAAS,EAAC,0BAA0B,EAAC,IAAI,EAAC,KAAK,aAClD,cAAK,SAAS,EAAC,MAAM,YAAE,QAAQ,GAAO,EACrC,UAAU,CAAC,CAAC,CAAC,CACZ,cAAK,SAAS,EAAC,8BAA8B,YAC3C,KAAC,UAAU,OAAK,UAAU,EAAE,OAAO,EAAE,kBAAkB,GAAI,GACvD,CACP,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CACF,CAAC"}
@@ -1,7 +1,6 @@
1
- import type { ContentPageContext } from '../ContentPage/ContentPageContext';
1
+ import type { UniBlockProps } from '../../model/JSXBlock';
2
2
  import type { TariffsTableTile } from './TariffsTableContent';
3
- export interface TariffsTableTileCellProps {
4
- context: ContentPageContext;
5
- tile: TariffsTableTile;
3
+ export interface TariffsTableTileCellProps extends UniBlockProps {
4
+ tile?: TariffsTableTile;
6
5
  }
7
6
  export declare const TariffsTableTileCell: import("@redneckz/uni-jsx").UNIComponent<TariffsTableTileCellProps, any, any>;
@@ -2,19 +2,14 @@ import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
3
  import { EmbeddableCellData } from './EmbeddableCellData.js';
4
4
  import { TableTileHeader } from './TableTileHeader.js';
5
- export const TariffsTableTileCell = JSX(({ context, tile }) => {
6
- return (_jsxs("div", { className: "rounded-md border-main-stroke h-full box-border border p-4", children: [_jsx(TableTileHeader, { ...tile.header }), tile.data?.length ? tile.data.map(renderCellInner(context)) : null] }));
7
- });
8
- const renderCellInner = (context) => (cell, i) => (_jsxs("div", { children: [i > 0 ? _jsx("div", { className: "h-5" }) : null, renderCell(cell, context)] }, String(i)));
9
- const renderCell = (cell, context) => {
10
- if (!cell) {
5
+ export const TariffsTableTileCell = JSX(({ tile, ...rest }) => (_jsxs("div", { className: "rounded-md border-main-stroke h-full box-border border p-4", children: [_jsx(TableTileHeader, { ...tile?.header }), tile?.data?.length
6
+ ? tile.data.map((cell, i) => (_jsxs("div", { children: [i > 0 ? _jsx("div", { className: "h-5" }) : null, renderCell(cell, rest)] }, String(i))))
7
+ : null] })));
8
+ function renderCell(cell, props) {
9
+ if (!cell || !cell.tableCellType || !(cell.tableCellType in EmbeddableCellData)) {
11
10
  return null;
12
11
  }
13
- const { tableCellType: type, ...rest } = cell;
14
- if (!type || !(type in EmbeddableCellData)) {
15
- return null;
16
- }
17
- const EmbeddableCellInner = EmbeddableCellData[type];
18
- return (_jsx(EmbeddableCellInner, { context: context, displayTable: () => null, ...rest, isVisible: true }));
19
- };
12
+ const EmbeddableCellInner = EmbeddableCellData[cell.tableCellType];
13
+ return _jsx(EmbeddableCellInner, { displayTable: () => null, isVisible: true, ...cell, ...props });
14
+ }
20
15
  //# sourceMappingURL=TariffsTableTileCell.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TariffsTableTileCell.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/TariffsTableTileCell.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAQpD,MAAM,CAAC,MAAM,oBAAoB,GAAG,GAAG,CAA4B,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE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Cell.js';
4
- export const TariffsTableVertical = JSX(({ tiles, context }) => (_jsx("div", { className: "flex flex-col gap-3.5", children: tiles.map((tile, i) => (_jsx(TariffsTableTileCell, { tile: tile, context: context }, String(i)))) })));
4
+ export const TariffsTableVertical = JSX(({ tiles, ...rest }) => tiles?.length ? (_jsx("div", { className: "flex flex-col gap-3.5", children: tiles.map((tile, i) => (_jsx(TariffsTableTileCell, { tile: tile, ...rest }, String(i)))) })) : null);
5
5
  //# sourceMappingURL=TariffsTableVertical.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TariffsTableVertical.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/TariffsTableVertical.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,MAAM,CAAC,MAAM,oBAAoB,GAAG,GAAG,CAAoB,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,CACjF,cAAK,SAAS,EAAC,uBAAuB,YACnC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CACtB,KAAC,oBAAoB,IAAiB,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,IAAvC,MAAM,CAAC,CAAC,CAAC,CAAkC,CACvE,CAAC,GACE,CACP,CAAC,CAAC"}
1
+ {"version":3,"file":"TariffsTableVertical.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/TariffsTableVertical.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,MAAM,CAAC,MAAM,oBAAoB,GAAG,GAAG,CAAoB,CAAC,EAAE,KAAK,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAChF,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CACd,cAAK,SAAS,EAAC,uBAAuB,YACnC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CACtB,KAAC,oBAAoB,IAAiB,IAAI,EAAE,IAAI,KAAM,IAAI,IAA/B,MAAM,CAAC,CAAC,CAAC,CAA0B,CAC/D,CAAC,GACE,CACP,CAAC,CAAC,CAAC,IAAI,CACT,CAAC"}
@@ -1,4 +1,5 @@
1
1
  /// <reference types="react" />
2
+ import '../../react/setup-fixture';
2
3
  import type { TextBlockContent } from './TextBlockContent';
3
4
  export declare const TEXT_BLOCK: TextBlockContent;
4
5
  declare const _default: {
@@ -1,4 +1,5 @@
1
1
  /// <reference types="react" />
2
+ import '../../react/setup-fixture';
2
3
  import type { TextBlockContent } from './TextBlockContent';
3
4
  export declare const TEXT_BLOCK: TextBlockContent;
4
5
  declare const _default: {
@@ -1,4 +1,5 @@
1
1
  /// <reference types="react" />
2
+ import '../../react/setup-fixture';
2
3
  import type { TileContent } from './TileContent';
3
4
  export declare const TILE: TileContent;
4
5
  export declare const TILE_PREMIUM: TileContent;
@@ -12,9 +12,9 @@ import { BaseTile } from '../BaseTile/BaseTile.js';
12
12
  import { getTileMinHeight } from '../BaseTile/getTileMinHeight.js';
13
13
  import { getTileRightPadding } from '../BaseTile/getTileRightPadding.js';
14
14
  export const Tile = JSX((props) => {
15
- const { context, title, headingType = 'h3', description, items, children, buttons, image, isDotted = true, listItemSize = 'M', className = '', version = 'primary', tags, ...rest } = props;
15
+ const { title, headingType = 'h3', description, items, buttons, image, isDotted = true, listItemSize = 'M', className = '', version = 'primary', tags, children, ...rest } = props;
16
16
  const headingClassName = version === 'primary' ? 'text-primary-text' : '';
17
- return (_jsx(BlockWrapper, { context: context, className: `overflow-hidden font-sans p-9 pr-3 box-border ${className} ${VersionStyleMap[version]} ${getTileRightPadding(className)} ${getTileMinHeight(className)} `, ...rest, children: _jsxs(BaseTile, { context: context, title: title ? (_jsx(Heading, { headingType: headingType, as: "h2", title: title, className: `whitespace-pre-wrap max-w-[600px] ${headingClassName}` })) : null, buttons: buttons?.length ? (_jsx(ButtonSection, { context: context, buttons: buttons.map((button) => ({ ...button, className: 'min-w-[158px]' })), className: "flex mt-8 gap-3" })) : null, image: image?.src ? _jsx(Img, { className: "mt-auto ml-7", image: image }) : null, children: [description ? (_jsx(Description, { className: "max-w-[600px] text-xl-light mt-2.5", description: description })) : null, children, renderList({ version, isDotted, listItemSize }, items), tags?.length ? _jsx(Tags, { tags: tags, className: "mt-5" }) : null] }) }));
17
+ return (_jsx(BlockWrapper, { className: `overflow-hidden font-sans p-9 pr-3 box-border ${className} ${VersionStyleMap[version]} ${getTileRightPadding(className)} ${getTileMinHeight(className)} `, ...rest, children: _jsxs(BaseTile, { title: title ? (_jsx(Heading, { headingType: headingType, as: "h2", title: title, className: `whitespace-pre-wrap max-w-[600px] ${headingClassName}` })) : null, buttons: buttons?.length ? (_jsx(ButtonSection, { buttons: buttons.map((button) => ({ ...button, className: 'min-w-[158px]' })), className: "flex mt-8 gap-3", ...rest })) : null, image: image?.src ? _jsx(Img, { className: "mt-auto ml-7", image: image }) : null, children: [description ? (_jsx(Description, { className: "max-w-[600px] text-xl-light mt-2.5", description: description })) : null, children, renderList({ version, isDotted, listItemSize }, items), tags?.length ? _jsx(Tags, { tags: tags, className: "mt-5" }) : null] }) }));
18
18
  });
19
19
  function renderList({ version, isDotted, listItemSize }, items) {
20
20
  return items?.length ? (_jsx(List, { items: items, isDotted: isDotted, className: "mt-2.5", listItemSize: listItemSize, itemClassName: "mb-1.5", version: version })) : null;
@@ -1 +1 @@
1
- {"version":3,"file":"Tile.js","sourceRoot":"","sources":["../../../src/components/Tile/Tile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAE3D,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACz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AAE,YAAY,EAAa,EAAE,KAAgB;IAClF,OAAO,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CACrB,KAAC,IAAI,IACH,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,QAAQ,EAClB,SAAS,EAAC,QAAQ,EAClB,YAAY,EAAE,YAAY,EAC1B,aAAa,EAAC,QAAQ,EACtB,OAAO,EAAE,OAAO,GAChB,CACH,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC"}
@@ -0,0 +1,5 @@
1
+ import type { JSXBlock, UniBlockProps } from '../../model/JSXBlock';
2
+ import type { VerticalLayoutContent } from './VerticalLayoutContent';
3
+ export interface VerticalLayoutProps extends VerticalLayoutContent, UniBlockProps {
4
+ }
5
+ export declare const VerticalLayout: JSXBlock<VerticalLayoutProps>;
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ import '../../react/setup-fixture';
3
+ declare const _default: {
4
+ default: JSX.Element;
5
+ 'transparent center': JSX.Element;
6
+ 'secondary right': JSX.Element;
7
+ 'secondary gap-XL': JSX.Element;
8
+ };
9
+ export default _default;
@@ -0,0 +1,33 @@
1
+ import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
+ import { JSX } from '@redneckz/uni-jsx';
3
+ import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
4
+ const alignStyle = {
5
+ left: 'items-start',
6
+ center: 'items-center',
7
+ right: 'items-end',
8
+ };
9
+ const gapStyleMap = {
10
+ XXL: 'gap-10',
11
+ XL: 'gap-8',
12
+ L: 'gap-4',
13
+ M: 'gap-3',
14
+ S: 'gap-2',
15
+ XS: 'gap-1',
16
+ '': '',
17
+ };
18
+ const backgroundStyleMap = {
19
+ transparent: '',
20
+ primary: 'bg-white',
21
+ secondary: 'bg-primary-main',
22
+ };
23
+ export const VerticalLayout = JSX(({ className = '', children, gap = '', align = 'left', version = 'primary', ...rest }) => (_jsx(BlockWrapper, { className: [
24
+ 'flex flex-col',
25
+ gapStyleMap[gap],
26
+ alignStyle[align],
27
+ backgroundStyleMap[version],
28
+ className,
29
+ ].join(' '), ...rest, children: children })));
30
+ VerticalLayout.childrenTypes = {
31
+ exclude: ['VerticalLayout'],
32
+ };
33
+ //# sourceMappingURL=VerticalLayout.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VerticalLayout.js","sourceRoot":"","sources":["../../../src/components/VerticalLayout/VerticalLayout.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAIxC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAKzD,MAAM,UAAU,GAA8B;IAC5C,IAAI,EAAE,aAAa;IACnB,MAAM,EAAE,cAAc;IACtB,KAAK,EAAE,WAAW;CACnB,CAAC;AAEF,MAAM,WAAW,GAA+B;IAC9C,GAAG,EAAE,QAAQ;IACb,EAAE,EAAE,OAAO;IACX,CAAC,EAAE,OAAO;IACV,CAAC,EAAE,OAAO;IACV,CAAC,EAAE,OAAO;IACV,EAAE,EAAE,OAAO;IACX,EAAE,EAAE,EAAE;CACP,CAAC;AAEF,MAAM,kBAAkB,GAAgD;IACtE,WAAW,EAAE,EAAE;IACf,OAAO,EAAE,UAAU;IACnB,SAAS,EAAE,iBAAiB;CAC7B,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAAkC,GAAG,CAC9D,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,QAAQ,EAAE,GAAG,GAAG,EAAE,EAAE,KAAK,GAAG,MAAM,EAAE,OAAO,GAAG,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CACxF,KAAC,YAAY,IACX,SAAS,EAAE;QACT,eAAe;QACf,WAAW,CAAC,GAAG,CAAC;QAChB,UAAU,CAAC,KAAK,CAAC;QACjB,kBAAkB,CAAC,OAAO,CAAC;QAC3B,SAAS;KACV,CAAC,IAAI,CAAC,GAAG,CAAC,KACP,IAAI,YAEP,QAAQ,GACI,CAChB,CACF,CAAC;AAEF,cAAc,CAAC,aAAa,GAAG;IAC7B,OAAO,EAAE,CAAC,gBAAgB,CAAC;CAC5B,CAAC"}
@@ -0,0 +1,17 @@
1
+ import type { AlignType } from '../../model/AlignType';
2
+ import type { BlockVersionWithTransparent } from '../../model/BlockVersion';
3
+ import type { ColorPalette } from '../../model/ContentPageDef';
4
+ /**
5
+ * @title Отсуп между компонентами
6
+ * @enumNames ["Самый большой", "Очень большой", "Большой", "Средний", "Маленький", "Самый маленький", "Без отступа"]
7
+ */
8
+ export declare type GapVersion = 'XXL' | 'XL' | 'L' | 'M' | 'S' | 'XS' | '';
9
+ /**
10
+ * @title Вертикальный компоновщик
11
+ */
12
+ export interface VerticalLayoutContent {
13
+ colorPalette?: ColorPalette;
14
+ version?: BlockVersionWithTransparent;
15
+ align?: AlignType;
16
+ gap?: GapVersion;
17
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=VerticalLayoutContent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VerticalLayoutContent.js","sourceRoot":"","sources":["../../../src/components/VerticalLayout/VerticalLayoutContent.ts"],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
1
+ export declare type HandlerDecorator = <F extends Function>(handler: F, targetContent?: any) => F;
2
+ export declare const handlerDecorator: HandlerDecorator & {
3
+ _impl: HandlerDecorator;
4
+ setup(impl: HandlerDecorator): void;
5
+ };
@@ -0,0 +1,9 @@
1
+ /* eslint-disable @typescript-eslint/ban-types */
2
+ export const handlerDecorator = (handler, targetContent) => {
3
+ return handlerDecorator._impl(handler, targetContent);
4
+ };
5
+ handlerDecorator._impl = (handler) => handler;
6
+ handlerDecorator.setup = (impl) => {
7
+ handlerDecorator._impl = impl;
8
+ };
9
+ //# sourceMappingURL=handlerDecorator.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handlerDecorator.js","sourceRoot":"","sources":["../../src/hooks/handlerDecorator.ts"],"names":[],"mappings":"AAAA,iDAAiD;AAIjD,MAAM,CAAC,MAAM,gBAAgB,GAGzB,CAAC,OAAO,EAAE,aAAa,EAAE,EAAE;IAC7B,OAAO,gBAAgB,CAAC,KAAK,CAAC,OAAO,EAAE,aAAa,CAAC,CAAC;AACxD,CAAC,CAAC;AAEF,gBAAgB,CAAC,KAAK,GAAG,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC;AAE9C,gBAAgB,CAAC,KAAK,GAAG,CAAC,IAAI,EAAE,EAAE;IAChC,gBAAgB,CAAC,KAAK,GAAG,IAAI,CAAC;AAChC,CAAC,CAAC"}