@redneckz/wildless-cms-uni-blocks 0.5.11 → 0.5.12

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 (1661) hide show
  1. package/bundle/EventBus/EventBus.d.ts +10 -0
  2. package/bundle/EventBus/EventMap.d.ts +7 -0
  3. package/bundle/ProjectSettings.d.ts +24 -0
  4. package/bundle/api/DaDataAPI.d.ts +15 -0
  5. package/bundle/api/LikeAPI.d.ts +9 -0
  6. package/bundle/blocks.schema.json +1 -1
  7. package/bundle/bundle.umd.js +380 -575
  8. package/bundle/bundle.umd.min.js +1 -1
  9. package/bundle/components/Accordion/Accordion.d.ts +5 -0
  10. package/bundle/components/Accordion/Accordion.mobile.d.ts +5 -0
  11. package/bundle/components/Accordion/AccordionContent.d.ts +43 -0
  12. package/bundle/components/Accordion/AccordionItem.d.ts +5 -0
  13. package/bundle/components/Accordion/AccordionItem.mobile.d.ts +5 -0
  14. package/bundle/components/BaseTile/BaseTile.d.ts +5 -0
  15. package/bundle/components/BaseTile/BaseTileProps.d.ts +15 -0
  16. package/bundle/components/BaseTile/getTileHeadingType.d.ts +1 -0
  17. package/bundle/components/BaseTile/getTileMinHeight.d.ts +1 -0
  18. package/bundle/components/BaseTile/getTileRightPadding.d.ts +1 -0
  19. package/bundle/components/BenefitsBlock/BenefitsBlock.d.ts +5 -0
  20. package/bundle/components/BenefitsBlock/BenefitsBlockContent.d.ts +52 -0
  21. package/bundle/components/Blocks.d.ts +36 -0
  22. package/bundle/components/Blocks.mobile.d.ts +17 -0
  23. package/bundle/components/Bonus/Bonus.d.ts +5 -0
  24. package/bundle/components/Bonus/BonusContent.d.ts +45 -0
  25. package/bundle/components/BonusBenefitsBlock/BonusBenefitsBlock.d.ts +5 -0
  26. package/bundle/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +15 -0
  27. package/bundle/components/BonusBenefitsBlock/getElementsColsValue.d.ts +1 -0
  28. package/bundle/components/Calculator/BonusCalculatorForm.d.ts +5 -0
  29. package/bundle/components/Calculator/Calculator.d.ts +5 -0
  30. package/bundle/components/Calculator/CalculatorContent.d.ts +129 -0
  31. package/bundle/components/Calculator/CalculatorValueBlock.d.ts +8 -0
  32. package/bundle/components/Calculator/CreditCalculatorForm.d.ts +7 -0
  33. package/bundle/components/Calculator/DepositCalculatorForm.d.ts +5 -0
  34. package/bundle/components/Calculator/EmbeddableCalcBlocks.d.ts +9 -0
  35. package/bundle/components/Calculator/Rate.d.ts +7 -0
  36. package/bundle/components/Calculator/constants.d.ts +16 -0
  37. package/bundle/components/Calculator/getBonus.d.ts +2 -0
  38. package/bundle/components/Calculator/getCreditRate.d.ts +7 -0
  39. package/bundle/components/Calculator/getDefaultMonths.d.ts +1 -0
  40. package/bundle/components/Calculator/getDefaultSum.d.ts +1 -0
  41. package/bundle/components/Calculator/getMonthlyPayment.d.ts +6 -0
  42. package/bundle/components/Calculator/renderButtonSection.d.ts +2 -0
  43. package/bundle/components/Calculator/renderCalculatorBlock.d.ts +3 -0
  44. package/bundle/components/Calculator/renderFootnote.d.ts +2 -0
  45. package/bundle/components/Calculator/renderInitialFeeInput.d.ts +6 -0
  46. package/bundle/components/Calculator/renderMonthsInput.d.ts +8 -0
  47. package/bundle/components/Calculator/renderPaymentTypeSelector.d.ts +6 -0
  48. package/bundle/components/Calculator/renderProposal.d.ts +2 -0
  49. package/bundle/components/Calculator/renderProposalMortgage.d.ts +8 -0
  50. package/bundle/components/Calculator/renderRealEstateValue.d.ts +6 -0
  51. package/bundle/components/Calculator/renderWantedSumInput.d.ts +11 -0
  52. package/bundle/components/Calculator/useBonusCalculatorParams.d.ts +36 -0
  53. package/bundle/components/Calculator/useCalculatorParams.d.ts +1 -0
  54. package/bundle/components/Calculator/useCreditCalculatorParams.d.ts +27 -0
  55. package/bundle/components/CardTransfer/CardTransfer.d.ts +5 -0
  56. package/bundle/components/CardTransfer/CardTransferContent.d.ts +10 -0
  57. package/bundle/components/Catalog/Catalog.d.ts +5 -0
  58. package/bundle/components/Catalog/CatalogCard.d.ts +7 -0
  59. package/bundle/components/Catalog/CatalogContent.d.ts +25 -0
  60. package/bundle/components/ComparisonTable/ComparisonTable.d.ts +5 -0
  61. package/bundle/components/ComparisonTable/ComparisonTable.mobile.d.ts +5 -0
  62. package/bundle/components/ComparisonTable/ComparisonTableBody.d.ts +12 -0
  63. package/bundle/components/ComparisonTable/ComparisonTableColumnHeaders.d.ts +10 -0
  64. package/bundle/components/ComparisonTable/ComparisonTableContent.d.ts +50 -0
  65. package/bundle/components/ComparisonTable/ComparisonTableRows.d.ts +13 -0
  66. package/bundle/components/ComparisonTable/HeaderCell.d.ts +10 -0
  67. package/bundle/components/ComparisonTable/HeaderCell.mobile.d.ts +11 -0
  68. package/bundle/components/ComparisonTable/TableCarouselContainer.d.ts +7 -0
  69. package/bundle/components/ComparisonTable/TableCell.d.ts +9 -0
  70. package/bundle/components/ComparisonTable/TableCell.mobile.d.ts +9 -0
  71. package/bundle/components/ComparisonTable/TableColumn.d.ts +15 -0
  72. package/bundle/components/ComparisonTable/TableRow.d.ts +14 -0
  73. package/bundle/components/ComparisonTable/TableRowContainer.d.ts +1 -0
  74. package/bundle/components/ComparisonTable/constants.d.ts +6 -0
  75. package/bundle/components/ContentPage/ContentPage.d.ts +10 -0
  76. package/bundle/components/ContentPage/ContentPageContext.d.ts +17 -0
  77. package/bundle/components/ContentPage/ContentPageHead.d.ts +7 -0
  78. package/bundle/components/ContentPage/computeAPIFallback.d.ts +5 -0
  79. package/bundle/components/ContentPage/filterBlocks.d.ts +12 -0
  80. package/bundle/components/ContentPage/filterBlocks.mobile.d.ts +12 -0
  81. package/bundle/components/ContentPage/isBlockInRegistry.d.ts +2 -0
  82. package/bundle/components/ContentPage/normalizeBlock.d.ts +11 -0
  83. package/bundle/components/ContentPage/normalizeBlock.mobile.d.ts +2 -0
  84. package/bundle/components/ContentPage/normalizePage.d.ts +3 -0
  85. package/bundle/components/ContentPage/renderBlock.d.ts +13 -0
  86. package/bundle/components/ErrorBlock/ErrorBlock.d.ts +5 -0
  87. package/bundle/components/ErrorBlock/ErrorBlockContent.d.ts +48 -0
  88. package/bundle/components/ExchangeRateTile/CurrencyProps.d.ts +5 -0
  89. package/bundle/components/ExchangeRateTile/CurrencyTable.d.ts +7 -0
  90. package/bundle/components/ExchangeRateTile/CurrentLocation.d.ts +7 -0
  91. package/bundle/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +21 -0
  92. package/bundle/components/ExchangeRateTile/ExchangeRateTile.d.ts +5 -0
  93. package/bundle/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +8 -0
  94. package/bundle/components/ExchangeRateTile/calculateResult.d.ts +2 -0
  95. package/bundle/components/ExchangeRateTile/callbackCurrencySelect.d.ts +8 -0
  96. package/bundle/components/ExchangeRateTile/formatCurrency.d.ts +1 -0
  97. package/bundle/components/ExchangeRateTile/renderInput.d.ts +13 -0
  98. package/bundle/components/Footer/Contacts.d.ts +7 -0
  99. package/bundle/components/Footer/Footer.d.ts +5 -0
  100. package/bundle/components/Footer/Footer.mobile.d.ts +5 -0
  101. package/bundle/components/Footer/FooterContent.d.ts +44 -0
  102. package/bundle/components/Footer/FooterLink.d.ts +5 -0
  103. package/bundle/components/Footer/HorizontalNavigation.d.ts +6 -0
  104. package/bundle/components/Footer/HorizontalNavigation.mobile.d.ts +6 -0
  105. package/bundle/components/Footer/HorizontalNavigationLink.d.ts +8 -0
  106. package/bundle/components/Footer/MediaButton.d.ts +7 -0
  107. package/bundle/components/Footer/Sitemap.d.ts +8 -0
  108. package/bundle/components/Footer/SocialMedia.d.ts +8 -0
  109. package/bundle/components/Footer/SocialMedia.mobile.d.ts +8 -0
  110. package/bundle/components/Footer/TextInformation.d.ts +2 -0
  111. package/bundle/components/Footer/TextInformation.mobile.d.ts +2 -0
  112. package/bundle/components/Footer/TextInformationLink.d.ts +8 -0
  113. package/bundle/components/Gallery/Gallery.d.ts +2 -0
  114. package/bundle/components/Gallery/Gallery.mobile.d.ts +2 -0
  115. package/bundle/components/Gallery/GalleryCardInner.d.ts +2 -0
  116. package/bundle/components/Gallery/GalleryContainer.d.ts +13 -0
  117. package/bundle/components/Gallery/GalleryContent.d.ts +64 -0
  118. package/bundle/components/Gallery/GalleryInner.d.ts +7 -0
  119. package/bundle/components/Gallery/GalleryProps.d.ts +4 -0
  120. package/bundle/components/Gallery/constants.d.ts +4 -0
  121. package/bundle/components/GracePeriod/GracePeriod.d.ts +5 -0
  122. package/bundle/components/GracePeriod/GracePeriodContent.d.ts +32 -0
  123. package/bundle/components/Header/DropdownMenu.d.ts +14 -0
  124. package/bundle/components/Header/Header.d.ts +5 -0
  125. package/bundle/components/Header/Header.fallback.d.ts +2 -0
  126. package/bundle/components/Header/Header.mobile.d.ts +5 -0
  127. package/bundle/components/Header/HeaderBurger.d.ts +11 -0
  128. package/bundle/components/Header/HeaderContent.d.ts +41 -0
  129. package/bundle/components/Header/HeaderSecondaryMenu.d.ts +10 -0
  130. package/bundle/components/Header/HeaderSecondaryMenuButton.d.ts +6 -0
  131. package/bundle/components/Header/HeaderSubMenu.d.ts +9 -0
  132. package/bundle/components/Header/HeaderTop.d.ts +6 -0
  133. package/bundle/components/Headline/Headline.d.ts +5 -0
  134. package/bundle/components/Headline/Headline.mobile.d.ts +5 -0
  135. package/bundle/components/Headline/HeadlineContent.d.ts +15 -0
  136. package/bundle/components/Headline/constants.d.ts +20 -0
  137. package/bundle/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +5 -0
  138. package/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +30 -0
  139. package/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +7 -0
  140. package/bundle/components/LikeControl/LikeControl.d.ts +2 -0
  141. package/bundle/components/LinkDocs/LinkDocs.d.ts +5 -0
  142. package/bundle/components/LinkDocs/LinkDocs.mobile.d.ts +5 -0
  143. package/bundle/components/LinkDocs/LinkDocsContent.d.ts +43 -0
  144. package/bundle/components/LinkDocs/LinkDocsHorizontalList.d.ts +6 -0
  145. package/bundle/components/LinkDocs/LinkDocsList.d.ts +9 -0
  146. package/bundle/components/LinkDocs/LinkDocsListItem.d.ts +2 -0
  147. package/bundle/components/LinkDocs/LinkDocsListItem.mobile.d.ts +2 -0
  148. package/bundle/components/LinkDocs/LinkDocsListItemBase.d.ts +13 -0
  149. package/bundle/components/LinkDocs/LinkDocsVerticalList.d.ts +8 -0
  150. package/bundle/components/LinkDocs/linkDocsContentExample.d.ts +2 -0
  151. package/bundle/components/LinkList/LinkList.d.ts +5 -0
  152. package/bundle/components/LinkList/LinkListContent.d.ts +8 -0
  153. package/bundle/components/LinkList/linkListContentExample.d.ts +2 -0
  154. package/bundle/components/MiniGallery/MiniGallery.d.ts +5 -0
  155. package/bundle/components/MiniGallery/MiniGalleryContent.d.ts +12 -0
  156. package/bundle/components/MobileAppTile/MobileAppTile.d.ts +5 -0
  157. package/bundle/components/MobileAppTile/MobileAppTile.mobile.d.ts +5 -0
  158. package/bundle/components/MobileAppTile/MobileAppTileContent.d.ts +31 -0
  159. package/bundle/components/OfficeServicesBlock/OfficeServicesBlock.d.ts +5 -0
  160. package/bundle/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +10 -0
  161. package/bundle/components/OtherProducts/OtherProducts.d.ts +5 -0
  162. package/bundle/components/OtherProducts/OtherProductsContent.d.ts +25 -0
  163. package/bundle/components/OtherProducts/OtherProductsItem.d.ts +6 -0
  164. package/bundle/components/PictureText/PictureText.d.ts +5 -0
  165. package/bundle/components/PictureText/PictureTextContent.d.ts +34 -0
  166. package/bundle/components/Placeholder/Placeholder.d.ts +6 -0
  167. package/bundle/components/Placeholder/PlaceholderContent.d.ts +5 -0
  168. package/bundle/components/ProductBlock/ProductBlock.d.ts +5 -0
  169. package/bundle/components/ProductBlock/ProductBlock.mobile.d.ts +5 -0
  170. package/bundle/components/ProductBlock/ProductBlockContent.d.ts +54 -0
  171. package/bundle/components/ProductBlock/ProductBlockInner.d.ts +4 -0
  172. package/bundle/components/ProductBlock/ProductBlockInner.mobile.d.ts +4 -0
  173. package/bundle/components/ProductBlock/renderBackwardButton.d.ts +4 -0
  174. package/bundle/components/ProductBlock/renderBenefit.d.ts +5 -0
  175. package/bundle/components/ProductGallery/ProductGallery.d.ts +5 -0
  176. package/bundle/components/ProductGallery/ProductGallery.mobile.d.ts +5 -0
  177. package/bundle/components/ProductGallery/ProductGalleryBlock.d.ts +8 -0
  178. package/bundle/components/ProductGallery/ProductGalleryContent.d.ts +29 -0
  179. package/bundle/components/ProductTile/ProductTile.d.ts +5 -0
  180. package/bundle/components/ProductTile/ProductTileContent.d.ts +33 -0
  181. package/bundle/components/PromoTile/PromoTile.d.ts +5 -0
  182. package/bundle/components/PromoTile/PromoTileContent.d.ts +12 -0
  183. package/bundle/components/Recommendation/Recommendation.d.ts +5 -0
  184. package/bundle/components/Recommendation/RecommendationCard.d.ts +7 -0
  185. package/bundle/components/Recommendation/RecommendationContent.d.ts +43 -0
  186. package/bundle/components/SafeDepositRental/RegionsAndBranches.d.ts +12 -0
  187. package/bundle/components/SafeDepositRental/RenderRadioButtons.d.ts +2 -0
  188. package/bundle/components/SafeDepositRental/RentalPeriod.d.ts +6 -0
  189. package/bundle/components/SafeDepositRental/SafeBoxCases.d.ts +11 -0
  190. package/bundle/components/SafeDepositRental/SafeDepositRental.d.ts +5 -0
  191. package/bundle/components/SafeDepositRental/SafeDepositRentalContent.d.ts +9 -0
  192. package/bundle/components/SafeDepositRental/SafeDepositRentalFields.d.ts +12 -0
  193. package/bundle/components/SafeDepositRental/SafeDepositRentalForm.d.ts +11 -0
  194. package/bundle/components/SafeDepositRental/SafeDepositRentalTotal.d.ts +6 -0
  195. package/bundle/components/SafeDepositRental/SafeDepositRentalTypes.d.ts +8 -0
  196. package/bundle/components/SafeDepositRental/WrapperSelect.d.ts +11 -0
  197. package/bundle/components/SafeDepositRental/YandexMap.d.ts +5 -0
  198. package/bundle/components/SafeDepositRental/renderClusterer.d.ts +2 -0
  199. package/bundle/components/SafeDepositRental/useGetRegions.d.ts +6 -0
  200. package/bundle/components/SafeDepositRental/useYandexMaps.d.ts +2 -0
  201. package/bundle/components/SafeDepositRental/utils.d.ts +3 -0
  202. package/bundle/components/StepsBlock/StepsBlock.d.ts +5 -0
  203. package/bundle/components/StepsBlock/StepsBlock.mobile.d.ts +5 -0
  204. package/bundle/components/StepsBlock/StepsBlockContent.d.ts +43 -0
  205. package/bundle/components/StepsBlock/StepsBlockStyleMaps.d.ts +11 -0
  206. package/bundle/components/StepsBlock/renderItems.d.ts +3 -0
  207. package/bundle/components/Tabs/Tabs.d.ts +13 -0
  208. package/bundle/components/Tabs/TabsContent.d.ts +36 -0
  209. package/bundle/components/Tabs/renderGroupTab.d.ts +4 -0
  210. package/bundle/components/Tabs/renderLinkTab.d.ts +9 -0
  211. package/bundle/components/Tabs/renderTab.d.ts +12 -0
  212. package/bundle/components/Tabs/tabItemClasses.d.ts +6 -0
  213. package/bundle/components/TariffsTable/EmbeddableCellData.d.ts +14 -0
  214. package/bundle/components/TariffsTable/EmbeddableCellData.mobile.d.ts +12 -0
  215. package/bundle/components/TariffsTable/TableTileHeader.d.ts +2 -0
  216. package/bundle/components/TariffsTable/TariffsTable.d.ts +5 -0
  217. package/bundle/components/TariffsTable/TariffsTable.mobile.d.ts +5 -0
  218. package/bundle/components/TariffsTable/TariffsTableCell.d.ts +9 -0
  219. package/bundle/components/TariffsTable/TariffsTableContent.d.ts +95 -0
  220. package/bundle/components/TariffsTable/TariffsTableHorizontal.d.ts +6 -0
  221. package/bundle/components/TariffsTable/TariffsTableRow.d.ts +9 -0
  222. package/bundle/components/TariffsTable/TariffsTableRowContainer.d.ts +7 -0
  223. package/bundle/components/TariffsTable/TariffsTableTileCell.d.ts +8 -0
  224. package/bundle/components/TariffsTable/TariffsTableVertical.d.ts +6 -0
  225. package/bundle/components/TariffsTable/constants.d.ts +4 -0
  226. package/bundle/components/TariffsTable/dataFixture.d.ts +5 -0
  227. package/bundle/components/TariffsTable/utils/getButtonAriaLabel.d.ts +2 -0
  228. package/bundle/components/TextBlock/TextBlock.d.ts +5 -0
  229. package/bundle/components/TextBlock/TextBlock.mobile.d.ts +5 -0
  230. package/bundle/components/TextBlock/TextBlockContent.d.ts +22 -0
  231. package/bundle/components/Tile/Tile.d.ts +6 -0
  232. package/bundle/components/Tile/TileContent.d.ts +34 -0
  233. package/bundle/content-page-repository/ContentPageRepository.d.ts +11 -0
  234. package/bundle/content-page-repository/TransformationOptions.d.ts +4 -0
  235. package/bundle/content-page-repository/index.d.ts +2 -0
  236. package/bundle/content-page-repository/mapJSON.d.ts +1 -0
  237. package/bundle/content-page-repository/transformContentPage.d.ts +3 -0
  238. package/bundle/content-page-repository/transformImg.d.ts +11 -0
  239. package/bundle/content-page-repository/transformMarkdown.d.ts +1 -0
  240. package/bundle/content-page-repository/transformPicture.d.ts +3 -0
  241. package/bundle/content-page-repository/transformSrc.d.ts +3 -0
  242. package/bundle/hooks/useExchangeRates.d.ts +2 -0
  243. package/bundle/hooks/useExternalNS.d.ts +2 -0
  244. package/bundle/hooks/useGeolocation.d.ts +1 -0
  245. package/bundle/hooks/useLikeService.d.ts +5 -0
  246. package/bundle/hooks/useLink.d.ts +18 -0
  247. package/bundle/hooks/useOutsideClick.d.ts +5 -0
  248. package/{dist/hooks/useFetchSafeBoxes.d.ts → bundle/hooks/useSafeBoxes.d.ts} +1 -3
  249. package/bundle/hooks/useSearch.d.ts +4 -0
  250. package/bundle/hooks/useTableArrowScrollControl.d.ts +7 -0
  251. package/bundle/hooks/useTariffsInnerTableData.d.ts +1 -0
  252. package/bundle/icons/IconName.d.ts +194 -0
  253. package/bundle/index.d.ts +9 -0
  254. package/bundle/model/AlignType.d.ts +9 -0
  255. package/bundle/model/BgColorVersion.d.ts +8 -0
  256. package/bundle/model/BlockDecorator.d.ts +14 -0
  257. package/bundle/model/BlockVersion.d.ts +11 -0
  258. package/bundle/model/BlocksRegistry.d.ts +5 -0
  259. package/bundle/model/ButtonVersion.d.ts +6 -0
  260. package/bundle/model/ContentPageDef.d.ts +52 -0
  261. package/bundle/model/EmptyOptionType.d.ts +4 -0
  262. package/bundle/model/Fallback.d.ts +5 -0
  263. package/bundle/model/Footnote.d.ts +4 -0
  264. package/bundle/model/GalleryVersion.d.ts +1 -0
  265. package/bundle/model/HeadlineType.d.ts +29 -0
  266. package/bundle/model/IconVersion.d.ts +9 -0
  267. package/bundle/model/ImageSize.d.ts +6 -0
  268. package/bundle/model/InputTypes.d.ts +1 -0
  269. package/bundle/model/LinkProps.d.ts +24 -0
  270. package/bundle/model/ListOrientation.d.ts +8 -0
  271. package/bundle/model/Picture.d.ts +59 -0
  272. package/bundle/model/ProductColorVersion.d.ts +4 -0
  273. package/bundle/model/SitemapProps.d.ts +24 -0
  274. package/bundle/model/SizeVersion.d.ts +8 -0
  275. package/bundle/model/TableVersion.d.ts +1 -0
  276. package/bundle/model/VNode.d.ts +1 -0
  277. package/bundle/react/setup-fixture.d.ts +4 -0
  278. package/bundle/services/sitemap/SitemapProps.d.ts +24 -0
  279. package/bundle/services/sitemap/checkIsHrefSameOrigin.d.ts +4 -0
  280. package/bundle/services/sitemap/findActiveSubItem.d.ts +3 -0
  281. package/bundle/services/sitemap/isHrefActive.d.ts +4 -0
  282. package/bundle/services/sitemap/isSubItemActive.d.ts +3 -0
  283. package/bundle/services/sitemap/isTopItemActive.d.ts +3 -0
  284. package/bundle/services/sitemap/mergeTopItems.d.ts +2 -0
  285. package/bundle/services/sitemap/useSitemap.d.ts +3 -0
  286. package/bundle/ui-kit/BenefitItem/BenefitItem.d.ts +4 -0
  287. package/bundle/ui-kit/BenefitItem/BenefitItemProps.d.ts +20 -0
  288. package/bundle/ui-kit/BlockWrapper.d.ts +7 -0
  289. package/bundle/ui-kit/BlocksList/BlocksListProps.d.ts +96 -0
  290. package/bundle/ui-kit/BlocksList/EmbeddableBlocks.d.ts +12 -0
  291. package/bundle/ui-kit/BlocksList/EmbeddableBlocks.mobile.d.ts +8 -0
  292. package/bundle/ui-kit/BlocksList/renderBlocksList.d.ts +9 -0
  293. package/bundle/ui-kit/Breadcrumb.d.ts +6 -0
  294. package/bundle/ui-kit/Button/ArrowButton.d.ts +2 -0
  295. package/bundle/ui-kit/Button/Button.d.ts +2 -0
  296. package/bundle/ui-kit/Button/Button.mobile.d.ts +2 -0
  297. package/bundle/ui-kit/Button/ButtonInner.d.ts +7 -0
  298. package/bundle/ui-kit/Button/ButtonProps.d.ts +54 -0
  299. package/bundle/ui-kit/Button/ButtonSection.d.ts +5 -0
  300. package/bundle/ui-kit/Button/GetButtonClassParams.d.ts +6 -0
  301. package/bundle/ui-kit/Button/LikeButton.d.ts +6 -0
  302. package/bundle/ui-kit/Button/buttonClassNameConstants.d.ts +5 -0
  303. package/bundle/ui-kit/Button/getDisabledButtonClasses.d.ts +2 -0
  304. package/bundle/ui-kit/Button/getRegularButtonClasses.d.ts +2 -0
  305. package/bundle/ui-kit/Button/renderArrows.d.ts +9 -0
  306. package/bundle/ui-kit/Checkbox/Checkbox.d.ts +2 -0
  307. package/bundle/ui-kit/Checkbox/CheckboxProps.d.ts +7 -0
  308. package/bundle/ui-kit/CurrencyInput/CurrencyInput.d.ts +2 -0
  309. package/bundle/ui-kit/CurrencyInput/CurrencyInputProps.d.ts +5 -0
  310. package/bundle/ui-kit/CurrencyInput/adjustValue .d.ts +3 -0
  311. package/bundle/ui-kit/Description/Description.d.ts +5 -0
  312. package/bundle/ui-kit/Foldable/DefaultButton.d.ts +2 -0
  313. package/bundle/ui-kit/Foldable/FoldButtonProps.d.ts +12 -0
  314. package/bundle/ui-kit/Foldable/Foldable.d.ts +16 -0
  315. package/bundle/ui-kit/HeaderItem/HeaderItem.d.ts +2 -0
  316. package/bundle/ui-kit/HeaderItem/HeaderItem.mobile.d.ts +3 -0
  317. package/bundle/ui-kit/Heading/Heading.d.ts +2 -0
  318. package/bundle/ui-kit/Heading/Heading.mobile.d.ts +2 -0
  319. package/bundle/ui-kit/Heading/HeadingProps.d.ts +23 -0
  320. package/bundle/ui-kit/Icon/Icon.d.ts +2 -0
  321. package/bundle/ui-kit/Icon/IconProps.d.ts +21 -0
  322. package/bundle/ui-kit/Img/Img.d.ts +1 -0
  323. package/bundle/ui-kit/Img/Img.mobile.d.ts +2 -0
  324. package/bundle/ui-kit/Img/ImgAsPicture.d.ts +4 -0
  325. package/bundle/ui-kit/Img/ImgInner.d.ts +2 -0
  326. package/bundle/ui-kit/Img/ImgProps.d.ts +11 -0
  327. package/bundle/ui-kit/Img/getIconVersion.d.ts +1 -0
  328. package/bundle/ui-kit/InnerTable/InnerTable.d.ts +5 -0
  329. package/bundle/ui-kit/InnerTable/InnerTableBody.d.ts +7 -0
  330. package/bundle/ui-kit/InnerTable/InnerTableBodyItem.d.ts +6 -0
  331. package/bundle/ui-kit/InnerTable/InnerTableButton.d.ts +6 -0
  332. package/bundle/ui-kit/InnerTable/InnerTableHeader.d.ts +7 -0
  333. package/bundle/ui-kit/InnerTable/InnerTableProps.d.ts +24 -0
  334. package/bundle/ui-kit/Input/Input.d.ts +2 -0
  335. package/bundle/ui-kit/Input/InputProps.d.ts +16 -0
  336. package/bundle/ui-kit/InputRange/InputRange.d.ts +2 -0
  337. package/bundle/ui-kit/InputRange/InputRangeProps.d.ts +11 -0
  338. package/bundle/ui-kit/IntersectionObserverTag.d.ts +11 -0
  339. package/bundle/ui-kit/List/List.d.ts +2 -0
  340. package/bundle/ui-kit/List/ListContent.d.ts +4 -0
  341. package/bundle/ui-kit/List/ListItem.d.ts +12 -0
  342. package/bundle/ui-kit/List/ListProps.d.ts +26 -0
  343. package/bundle/ui-kit/Logo/Logo.d.ts +13 -0
  344. package/bundle/ui-kit/Logo/Logo.mobile.d.ts +8 -0
  345. package/bundle/ui-kit/Radio/Radio.d.ts +2 -0
  346. package/bundle/ui-kit/Radio/RadioProps.d.ts +9 -0
  347. package/bundle/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +12 -0
  348. package/bundle/ui-kit/SVG.d.ts +19 -0
  349. package/bundle/ui-kit/SearchBar/SearchBar.d.ts +2 -0
  350. package/bundle/ui-kit/SearchBar/SearchBar.mobile.d.ts +2 -0
  351. package/bundle/ui-kit/SearchBar/SearchBarInner.d.ts +5 -0
  352. package/bundle/ui-kit/Select/Select.d.ts +14 -0
  353. package/bundle/ui-kit/SwipeListControl/SwipeListControl.d.ts +2 -0
  354. package/bundle/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +6 -0
  355. package/bundle/ui-kit/SwipeListControl/SwipeListControlItem.d.ts +9 -0
  356. package/bundle/ui-kit/SwipeListControl/SwipeListControlList.d.ts +10 -0
  357. package/bundle/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +18 -0
  358. package/bundle/ui-kit/SwipeListControl/constants.d.ts +2 -0
  359. package/bundle/ui-kit/SwipeListControl/utils/getContainerStyle.d.ts +1 -0
  360. package/bundle/ui-kit/SwipeListControl/utils/getIndexParts.d.ts +4 -0
  361. package/bundle/ui-kit/SwipeListControl/utils/getScrollPoints.d.ts +8 -0
  362. package/bundle/ui-kit/TableArrowScrollControl/TableArrowScrollControl.d.ts +2 -0
  363. package/bundle/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.d.ts +7 -0
  364. package/bundle/ui-kit/TopItem/TopItem.d.ts +14 -0
  365. package/bundle/utils/addSpacesBetweenNumbers.d.ts +1 -0
  366. package/bundle/utils/adjustHref.d.ts +4 -0
  367. package/bundle/utils/assertUnreachable.d.ts +1 -0
  368. package/bundle/utils/changeHashOnObserve.d.ts +9 -0
  369. package/bundle/utils/checkIsIconRenderable.d.ts +2 -0
  370. package/bundle/utils/clamp.d.ts +1 -0
  371. package/bundle/utils/fetchJSON.d.ts +2 -0
  372. package/bundle/utils/getAccordionItems.d.ts +1 -0
  373. package/bundle/utils/getColSpan.d.ts +1 -0
  374. package/bundle/utils/getCurrentDate.d.ts +1 -0
  375. package/bundle/utils/getGeolocation.d.ts +1 -0
  376. package/bundle/utils/getSanitizedValue.d.ts +1 -0
  377. package/bundle/utils/isPictureSizeEmpty.d.ts +2 -0
  378. package/bundle/utils/joinList.d.ts +1 -0
  379. package/bundle/utils/maxBy.d.ts +2 -0
  380. package/bundle/utils/roundTo.d.ts +1 -0
  381. package/bundle/utils/style2className.d.ts +1 -0
  382. package/bundle/utils/tableFunc.d.ts +2 -0
  383. package/bundle/utils/url.d.ts +5 -0
  384. package/bundle/utils/withoutMobilePath.d.ts +2 -0
  385. package/dist/components/Accordion/AccordionItem.d.ts +1 -1
  386. package/dist/components/Accordion/AccordionItem.js +9 -10
  387. package/dist/components/Accordion/AccordionItem.js.map +1 -1
  388. package/dist/components/Accordion/AccordionItem.mobile.d.ts +1 -1
  389. package/dist/components/Accordion/AccordionItem.mobile.js +9 -7
  390. package/dist/components/Accordion/AccordionItem.mobile.js.map +1 -1
  391. package/dist/components/BenefitsBlock/BenefitsBlock.js +1 -1
  392. package/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  393. package/dist/components/Blocks.mobile.d.ts +0 -1
  394. package/dist/components/Blocks.mobile.js +0 -2
  395. package/dist/components/Blocks.mobile.js.map +1 -1
  396. package/dist/components/Calculator/CalculatorContent.d.ts +1 -1
  397. package/dist/components/CardTransfer/CardTransfer.js +3 -2
  398. package/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  399. package/dist/components/Catalog/Catalog.js +1 -1
  400. package/dist/components/Catalog/Catalog.js.map +1 -1
  401. package/dist/components/Catalog/CatalogCard.js +1 -23
  402. package/dist/components/Catalog/CatalogCard.js.map +1 -1
  403. package/dist/components/ComparisonTable/ComparisonTable.js +1 -1
  404. package/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
  405. package/dist/components/ComparisonTable/ComparisonTable.mobile.js +13 -48
  406. package/dist/components/ComparisonTable/ComparisonTable.mobile.js.map +1 -1
  407. package/dist/components/ComparisonTable/TableCell.d.ts +1 -1
  408. package/dist/components/ComparisonTable/TableCell.js.map +1 -1
  409. package/dist/components/ComparisonTable/TableColumn.d.ts +5 -8
  410. package/dist/components/ComparisonTable/TableColumn.js +2 -8
  411. package/dist/components/ComparisonTable/TableColumn.js.map +1 -1
  412. package/dist/components/ContentPage/ContentPageContext.d.ts +0 -11
  413. package/dist/components/ErrorBlock/ErrorBlock.js +1 -1
  414. package/dist/components/ErrorBlock/ErrorBlock.js.map +1 -1
  415. package/dist/components/ExchangeRateTile/renderInput.js +1 -1
  416. package/dist/components/ExchangeRateTile/renderInput.js.map +1 -1
  417. package/dist/components/Footer/Contacts.js +1 -1
  418. package/dist/components/Footer/Contacts.js.map +1 -1
  419. package/dist/components/Footer/FooterContent.d.ts +5 -9
  420. package/dist/components/Gallery/Gallery.mobile.js +7 -3
  421. package/dist/components/Gallery/Gallery.mobile.js.map +1 -1
  422. package/dist/components/Gallery/GalleryCardInner.js +14 -17
  423. package/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  424. package/dist/components/Gallery/GalleryContainer.js +2 -2
  425. package/dist/components/Gallery/GalleryContainer.js.map +1 -1
  426. package/dist/components/Gallery/GalleryContent.d.ts +11 -3
  427. package/dist/components/Header/HeaderSubMenu.js +3 -2
  428. package/dist/components/Header/HeaderSubMenu.js.map +1 -1
  429. package/dist/components/Headline/constants.d.ts +2 -1
  430. package/dist/components/Headline/constants.js +10 -1
  431. package/dist/components/Headline/constants.js.map +1 -1
  432. package/dist/components/MiniGallery/MiniGalleryContent.d.ts +1 -0
  433. package/dist/components/MobileAppTile/MobileAppTile.js +1 -1
  434. package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  435. package/dist/components/OtherProducts/OtherProductsItem.js +4 -2
  436. package/dist/components/OtherProducts/OtherProductsItem.js.map +1 -1
  437. package/dist/components/ProductGallery/ProductGallery.js +2 -2
  438. package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  439. package/dist/components/ProductTile/ProductTile.js +1 -1
  440. package/dist/components/ProductTile/ProductTile.js.map +1 -1
  441. package/dist/components/Recommendation/RecommendationContent.d.ts +5 -0
  442. package/dist/components/SafeDepositRental/RegionsAndBranches.d.ts +1 -1
  443. package/dist/components/SafeDepositRental/SafeBoxCases.d.ts +1 -1
  444. package/dist/components/SafeDepositRental/SafeDepositRental.d.ts +1 -1
  445. package/dist/components/SafeDepositRental/SafeDepositRental.js +17 -3
  446. package/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  447. package/dist/components/SafeDepositRental/SafeDepositRentalFields.d.ts +7 -4
  448. package/dist/components/SafeDepositRental/SafeDepositRentalFields.js +3 -5
  449. package/dist/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
  450. package/dist/components/SafeDepositRental/SafeDepositRentalForm.d.ts +7 -3
  451. package/dist/components/SafeDepositRental/SafeDepositRentalForm.js +7 -28
  452. package/dist/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
  453. package/dist/components/SafeDepositRental/SafeDepositRentalTotal.d.ts +1 -1
  454. package/dist/components/SafeDepositRental/SafeDepositRentalTypes.d.ts +0 -2
  455. package/dist/components/SafeDepositRental/utils.d.ts +1 -1
  456. package/dist/components/StepsBlock/StepsBlock.js +9 -4
  457. package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  458. package/dist/components/StepsBlock/StepsBlockContent.d.ts +9 -2
  459. package/dist/components/StepsBlock/StepsBlockStyleMaps.d.ts +1 -0
  460. package/dist/components/StepsBlock/StepsBlockStyleMaps.js +2 -0
  461. package/dist/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
  462. package/dist/components/StepsBlock/renderItems.d.ts +3 -0
  463. package/dist/components/StepsBlock/renderItems.js +6 -0
  464. package/dist/components/StepsBlock/renderItems.js.map +1 -0
  465. package/dist/components/TariffsTable/EmbeddableCellData.js +4 -5
  466. package/dist/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  467. package/dist/components/TariffsTable/EmbeddableCellData.mobile.js +1 -2
  468. package/dist/components/TariffsTable/EmbeddableCellData.mobile.js.map +1 -1
  469. package/dist/components/TariffsTable/TariffsTable.js +1 -1
  470. package/dist/components/TariffsTable/TariffsTable.js.map +1 -1
  471. package/dist/components/TariffsTable/TariffsTableCell.js +1 -1
  472. package/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
  473. package/dist/components/TariffsTable/TariffsTableRow.js +1 -2
  474. package/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
  475. package/dist/components/TariffsTable/dataFixture.js +4 -2
  476. package/dist/components/TariffsTable/dataFixture.js.map +1 -1
  477. package/dist/components/TariffsTable/utils/getButtonAriaLabel.d.ts +1 -1
  478. package/dist/components/TariffsTable/utils/getButtonAriaLabel.js +1 -2
  479. package/dist/components/TariffsTable/utils/getButtonAriaLabel.js.map +1 -1
  480. package/dist/components/Tile/Tile.js +2 -3
  481. package/dist/components/Tile/Tile.js.map +1 -1
  482. package/dist/hooks/useOutsideClick.d.ts +5 -0
  483. package/dist/hooks/useOutsideClick.js +21 -0
  484. package/dist/hooks/useOutsideClick.js.map +1 -0
  485. package/{mobile/dist/hooks/useFetchSafeBoxes.d.ts → dist/hooks/useSafeBoxes.d.ts} +1 -3
  486. package/{mobile/dist/hooks/useFetchSafeBoxes.js → dist/hooks/useSafeBoxes.js} +9 -10
  487. package/dist/hooks/useSafeBoxes.js.map +1 -0
  488. package/dist/icons/IconName.d.ts +1 -92
  489. package/dist/icons/IconName.js +4 -4
  490. package/dist/icons/IconName.js.map +1 -1
  491. package/dist/model/HeadlineType.d.ts +8 -0
  492. package/dist/model/Picture.d.ts +1 -0
  493. package/dist/react/setup-fixture.js +0 -2
  494. package/dist/react/setup-fixture.js.map +1 -1
  495. package/dist/ui-kit/BenefitItem/BenefitItem.js +3 -1
  496. package/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  497. package/dist/ui-kit/BlockWrapper.d.ts +0 -3
  498. package/dist/ui-kit/BlockWrapper.js +5 -5
  499. package/dist/ui-kit/BlockWrapper.js.map +1 -1
  500. package/dist/ui-kit/BlocksList/renderBlocksList.d.ts +1 -1
  501. package/dist/ui-kit/BlocksList/renderBlocksList.js +1 -1
  502. package/dist/ui-kit/BlocksList/renderBlocksList.js.map +1 -1
  503. package/dist/ui-kit/Button/Button.js +6 -10
  504. package/dist/ui-kit/Button/Button.js.map +1 -1
  505. package/dist/ui-kit/Button/Button.mobile.js +1 -1
  506. package/dist/ui-kit/Button/Button.mobile.js.map +1 -1
  507. package/dist/ui-kit/Button/ButtonInner.js +3 -2
  508. package/dist/ui-kit/Button/ButtonInner.js.map +1 -1
  509. package/dist/ui-kit/Button/ButtonProps.d.ts +1 -7
  510. package/dist/ui-kit/Button/ButtonSection.js +5 -10
  511. package/dist/ui-kit/Button/ButtonSection.js.map +1 -1
  512. package/dist/ui-kit/Button/buttonClassNameConstants.d.ts +1 -0
  513. package/dist/ui-kit/Button/buttonClassNameConstants.js +7 -1
  514. package/dist/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
  515. package/dist/ui-kit/CurrencyInput/CurrencyInput.js +7 -1
  516. package/dist/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -1
  517. package/dist/ui-kit/CurrencyInput/adjustValue .d.ts +2 -0
  518. package/dist/ui-kit/CurrencyInput/adjustValue .js +11 -2
  519. package/dist/ui-kit/CurrencyInput/adjustValue .js.map +1 -1
  520. package/dist/ui-kit/Foldable/DefaultButton.d.ts +2 -0
  521. package/dist/ui-kit/Foldable/DefaultButton.js +12 -0
  522. package/dist/ui-kit/Foldable/DefaultButton.js.map +1 -0
  523. package/dist/ui-kit/Foldable/FoldButtonProps.d.ts +12 -0
  524. package/dist/ui-kit/Foldable/FoldButtonProps.js +2 -0
  525. package/dist/ui-kit/Foldable/FoldButtonProps.js.map +1 -0
  526. package/dist/ui-kit/Foldable/Foldable.d.ts +11 -17
  527. package/dist/ui-kit/Foldable/Foldable.js +22 -14
  528. package/dist/ui-kit/Foldable/Foldable.js.map +1 -1
  529. package/dist/ui-kit/Icon/Icon.js +4 -5
  530. package/dist/ui-kit/Icon/Icon.js.map +1 -1
  531. package/dist/ui-kit/Icon/IconProps.d.ts +0 -1
  532. package/dist/ui-kit/Img/Img.d.ts +1 -2
  533. package/dist/ui-kit/Img/Img.js +2 -6
  534. package/dist/ui-kit/Img/Img.js.map +1 -1
  535. package/dist/ui-kit/Img/Img.mobile.js +1 -3
  536. package/dist/ui-kit/Img/Img.mobile.js.map +1 -1
  537. package/dist/ui-kit/InnerTable/InnerTableBody.js +1 -1
  538. package/dist/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
  539. package/dist/ui-kit/InnerTable/InnerTableBodyItem.js +6 -2
  540. package/dist/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
  541. package/dist/ui-kit/InnerTable/InnerTableButton.js +1 -1
  542. package/dist/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
  543. package/dist/ui-kit/InnerTable/InnerTableHeader.js +1 -1
  544. package/dist/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
  545. package/dist/ui-kit/Input/Input.js +12 -3
  546. package/dist/ui-kit/Input/Input.js.map +1 -1
  547. package/dist/ui-kit/Input/InputProps.d.ts +2 -0
  548. package/dist/ui-kit/InputRange/InputRange.js +2 -2
  549. package/dist/ui-kit/InputRange/InputRange.js.map +1 -1
  550. package/dist/ui-kit/IntersectionObserverTag.d.ts +11 -0
  551. package/dist/ui-kit/IntersectionObserverTag.js +22 -0
  552. package/dist/ui-kit/IntersectionObserverTag.js.map +1 -0
  553. package/dist/ui-kit/List/List.js +13 -8
  554. package/dist/ui-kit/List/List.js.map +1 -1
  555. package/dist/ui-kit/List/ListItem.d.ts +2 -2
  556. package/dist/ui-kit/List/ListItem.js +8 -23
  557. package/dist/ui-kit/List/ListItem.js.map +1 -1
  558. package/dist/ui-kit/List/ListProps.d.ts +5 -3
  559. package/dist/ui-kit/Radio/Radio.js +1 -1
  560. package/dist/ui-kit/Radio/Radio.js.map +1 -1
  561. package/dist/ui-kit/Select/Select.js +4 -1
  562. package/dist/ui-kit/Select/Select.js.map +1 -1
  563. package/dist/utils/getSanitizedValue.d.ts +1 -0
  564. package/dist/utils/getSanitizedValue.js +5 -0
  565. package/dist/utils/getSanitizedValue.js.map +1 -0
  566. package/lib/common.css +1 -1
  567. package/lib/components/Accordion/AccordionItem.d.ts +1 -1
  568. package/lib/components/Accordion/AccordionItem.js +9 -10
  569. package/lib/components/Accordion/AccordionItem.js.map +1 -1
  570. package/lib/components/Accordion/AccordionItem.mobile.d.ts +1 -1
  571. package/lib/components/Accordion/AccordionItem.mobile.js +9 -7
  572. package/lib/components/Accordion/AccordionItem.mobile.js.map +1 -1
  573. package/lib/components/BenefitsBlock/BenefitsBlock.js +1 -1
  574. package/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  575. package/lib/components/Blocks.mobile.d.ts +0 -1
  576. package/lib/components/Blocks.mobile.js +0 -2
  577. package/lib/components/Blocks.mobile.js.map +1 -1
  578. package/lib/components/Calculator/CalculatorContent.d.ts +1 -1
  579. package/lib/components/CardTransfer/CardTransfer.js +3 -2
  580. package/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  581. package/lib/components/Catalog/Catalog.js +1 -1
  582. package/lib/components/Catalog/Catalog.js.map +1 -1
  583. package/lib/components/Catalog/CatalogCard.js +1 -23
  584. package/lib/components/Catalog/CatalogCard.js.map +1 -1
  585. package/lib/components/ComparisonTable/ComparisonTable.js +1 -1
  586. package/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
  587. package/lib/components/ComparisonTable/ComparisonTable.mobile.js +14 -49
  588. package/lib/components/ComparisonTable/ComparisonTable.mobile.js.map +1 -1
  589. package/lib/components/ComparisonTable/TableCell.d.ts +1 -1
  590. package/lib/components/ComparisonTable/TableCell.js.map +1 -1
  591. package/lib/components/ComparisonTable/TableColumn.d.ts +5 -8
  592. package/lib/components/ComparisonTable/TableColumn.js +2 -8
  593. package/lib/components/ComparisonTable/TableColumn.js.map +1 -1
  594. package/lib/components/ContentPage/ContentPageContext.d.ts +0 -11
  595. package/lib/components/ErrorBlock/ErrorBlock.js +1 -1
  596. package/lib/components/ErrorBlock/ErrorBlock.js.map +1 -1
  597. package/lib/components/ExchangeRateTile/renderInput.js +1 -1
  598. package/lib/components/ExchangeRateTile/renderInput.js.map +1 -1
  599. package/lib/components/Footer/Contacts.js +1 -1
  600. package/lib/components/Footer/Contacts.js.map +1 -1
  601. package/lib/components/Footer/FooterContent.d.ts +5 -9
  602. package/lib/components/Gallery/Gallery.mobile.js +7 -3
  603. package/lib/components/Gallery/Gallery.mobile.js.map +1 -1
  604. package/lib/components/Gallery/GalleryCardInner.js +15 -18
  605. package/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  606. package/lib/components/Gallery/GalleryContainer.js +2 -2
  607. package/lib/components/Gallery/GalleryContainer.js.map +1 -1
  608. package/lib/components/Gallery/GalleryContent.d.ts +11 -3
  609. package/lib/components/Header/HeaderSubMenu.js +2 -1
  610. package/lib/components/Header/HeaderSubMenu.js.map +1 -1
  611. package/lib/components/Headline/constants.d.ts +2 -1
  612. package/lib/components/Headline/constants.js +9 -0
  613. package/lib/components/Headline/constants.js.map +1 -1
  614. package/lib/components/MiniGallery/MiniGallery.fixture.d.ts +1 -0
  615. package/lib/components/MiniGallery/MiniGalleryContent.d.ts +1 -0
  616. package/lib/components/MobileAppTile/MobileAppTile.js +1 -1
  617. package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  618. package/lib/components/OtherProducts/OtherProductsItem.js +4 -2
  619. package/lib/components/OtherProducts/OtherProductsItem.js.map +1 -1
  620. package/lib/components/ProductGallery/ProductGallery.js +2 -2
  621. package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  622. package/lib/components/ProductTile/ProductTile.js +1 -1
  623. package/lib/components/ProductTile/ProductTile.js.map +1 -1
  624. package/lib/components/Recommendation/RecommendationContent.d.ts +5 -0
  625. package/lib/components/SafeDepositRental/RegionsAndBranches.d.ts +1 -1
  626. package/lib/components/SafeDepositRental/SafeBoxCases.d.ts +1 -1
  627. package/lib/components/SafeDepositRental/SafeDepositRental.d.ts +1 -1
  628. package/lib/components/SafeDepositRental/SafeDepositRental.js +18 -4
  629. package/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  630. package/lib/components/SafeDepositRental/SafeDepositRentalFields.d.ts +7 -4
  631. package/lib/components/SafeDepositRental/SafeDepositRentalFields.js +3 -5
  632. package/lib/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
  633. package/lib/components/SafeDepositRental/SafeDepositRentalForm.d.ts +7 -3
  634. package/lib/components/SafeDepositRental/SafeDepositRentalForm.js +9 -30
  635. package/lib/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
  636. package/lib/components/SafeDepositRental/SafeDepositRentalTotal.d.ts +1 -1
  637. package/lib/components/SafeDepositRental/SafeDepositRentalTypes.d.ts +0 -2
  638. package/lib/components/SafeDepositRental/utils.d.ts +1 -1
  639. package/lib/components/StepsBlock/StepsBlock.fixture.d.ts +1 -0
  640. package/lib/components/StepsBlock/StepsBlock.js +9 -4
  641. package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  642. package/lib/components/StepsBlock/StepsBlockContent.d.ts +9 -2
  643. package/lib/components/StepsBlock/StepsBlockStyleMaps.d.ts +1 -0
  644. package/lib/components/StepsBlock/StepsBlockStyleMaps.js +2 -0
  645. package/lib/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
  646. package/lib/components/StepsBlock/renderItems.d.ts +3 -0
  647. package/lib/components/StepsBlock/renderItems.js +3 -0
  648. package/lib/components/StepsBlock/renderItems.js.map +1 -0
  649. package/lib/components/TariffsTable/EmbeddableCellData.js +4 -5
  650. package/lib/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  651. package/lib/components/TariffsTable/EmbeddableCellData.mobile.js +1 -2
  652. package/lib/components/TariffsTable/EmbeddableCellData.mobile.js.map +1 -1
  653. package/lib/components/TariffsTable/TariffsTable.js +1 -1
  654. package/lib/components/TariffsTable/TariffsTable.js.map +1 -1
  655. package/lib/components/TariffsTable/TariffsTableCell.js +1 -1
  656. package/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
  657. package/lib/components/TariffsTable/TariffsTableRow.js +1 -2
  658. package/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
  659. package/lib/components/TariffsTable/dataFixture.js +4 -2
  660. package/lib/components/TariffsTable/dataFixture.js.map +1 -1
  661. package/lib/components/TariffsTable/utils/getButtonAriaLabel.d.ts +1 -1
  662. package/lib/components/TariffsTable/utils/getButtonAriaLabel.js +1 -2
  663. package/lib/components/TariffsTable/utils/getButtonAriaLabel.js.map +1 -1
  664. package/lib/components/Tile/Tile.js +2 -3
  665. package/lib/components/Tile/Tile.js.map +1 -1
  666. package/lib/hooks/useOutsideClick.d.ts +5 -0
  667. package/lib/hooks/useOutsideClick.js +18 -0
  668. package/lib/hooks/useOutsideClick.js.map +1 -0
  669. package/{mobile/lib/hooks/useFetchSafeBoxes.d.ts → lib/hooks/useSafeBoxes.d.ts} +1 -3
  670. package/lib/hooks/{useFetchSafeBoxes.js → useSafeBoxes.js} +7 -8
  671. package/lib/hooks/useSafeBoxes.js.map +1 -0
  672. package/lib/icons/IconName.d.ts +1 -92
  673. package/lib/icons/IconName.js +3 -3
  674. package/lib/icons/IconName.js.map +1 -1
  675. package/lib/model/HeadlineType.d.ts +8 -0
  676. package/lib/model/Picture.d.ts +1 -0
  677. package/lib/react/setup-fixture.js +0 -2
  678. package/lib/react/setup-fixture.js.map +1 -1
  679. package/lib/ui-kit/BenefitItem/BenefitItem.js +3 -1
  680. package/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  681. package/lib/ui-kit/BlockWrapper.d.ts +0 -3
  682. package/lib/ui-kit/BlockWrapper.js +4 -4
  683. package/lib/ui-kit/BlockWrapper.js.map +1 -1
  684. package/lib/ui-kit/BlocksList/renderBlocksList.d.ts +1 -1
  685. package/lib/ui-kit/BlocksList/renderBlocksList.js +1 -1
  686. package/lib/ui-kit/BlocksList/renderBlocksList.js.map +1 -1
  687. package/lib/ui-kit/Button/Button.js +6 -10
  688. package/lib/ui-kit/Button/Button.js.map +1 -1
  689. package/lib/ui-kit/Button/Button.mobile.js +1 -1
  690. package/lib/ui-kit/Button/Button.mobile.js.map +1 -1
  691. package/lib/ui-kit/Button/ButtonInner.js +3 -2
  692. package/lib/ui-kit/Button/ButtonInner.js.map +1 -1
  693. package/lib/ui-kit/Button/ButtonProps.d.ts +1 -7
  694. package/lib/ui-kit/Button/ButtonSection.js +5 -10
  695. package/lib/ui-kit/Button/ButtonSection.js.map +1 -1
  696. package/lib/ui-kit/Button/buttonClassNameConstants.d.ts +1 -0
  697. package/lib/ui-kit/Button/buttonClassNameConstants.js +6 -0
  698. package/lib/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
  699. package/lib/ui-kit/CurrencyInput/CurrencyInput.js +8 -2
  700. package/lib/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -1
  701. package/lib/ui-kit/CurrencyInput/adjustValue .d.ts +2 -0
  702. package/lib/ui-kit/CurrencyInput/adjustValue .js +9 -2
  703. package/lib/ui-kit/CurrencyInput/adjustValue .js.map +1 -1
  704. package/lib/ui-kit/Foldable/DefaultButton.d.ts +2 -0
  705. package/lib/ui-kit/Foldable/DefaultButton.js +10 -0
  706. package/lib/ui-kit/Foldable/DefaultButton.js.map +1 -0
  707. package/lib/ui-kit/Foldable/FoldButtonProps.d.ts +12 -0
  708. package/lib/ui-kit/Foldable/FoldButtonProps.js +2 -0
  709. package/lib/ui-kit/Foldable/FoldButtonProps.js.map +1 -0
  710. package/lib/ui-kit/Foldable/Foldable.d.ts +11 -17
  711. package/lib/ui-kit/Foldable/Foldable.js +22 -14
  712. package/lib/ui-kit/Foldable/Foldable.js.map +1 -1
  713. package/lib/ui-kit/Icon/Icon.js +4 -5
  714. package/lib/ui-kit/Icon/Icon.js.map +1 -1
  715. package/lib/ui-kit/Icon/IconProps.d.ts +0 -1
  716. package/lib/ui-kit/Img/Img.d.ts +1 -2
  717. package/lib/ui-kit/Img/Img.js +1 -6
  718. package/lib/ui-kit/Img/Img.js.map +1 -1
  719. package/lib/ui-kit/Img/Img.mobile.js +1 -3
  720. package/lib/ui-kit/Img/Img.mobile.js.map +1 -1
  721. package/lib/ui-kit/InnerTable/InnerTableBody.js +1 -1
  722. package/lib/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
  723. package/lib/ui-kit/InnerTable/InnerTableBodyItem.js +6 -2
  724. package/lib/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
  725. package/lib/ui-kit/InnerTable/InnerTableButton.js +1 -1
  726. package/lib/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
  727. package/lib/ui-kit/InnerTable/InnerTableHeader.js +1 -1
  728. package/lib/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
  729. package/lib/ui-kit/Input/Input.js +12 -3
  730. package/lib/ui-kit/Input/Input.js.map +1 -1
  731. package/lib/ui-kit/Input/InputProps.d.ts +2 -0
  732. package/lib/ui-kit/InputRange/InputRange.js +2 -2
  733. package/lib/ui-kit/InputRange/InputRange.js.map +1 -1
  734. package/lib/ui-kit/IntersectionObserverTag.d.ts +11 -0
  735. package/lib/ui-kit/IntersectionObserverTag.js +20 -0
  736. package/lib/ui-kit/IntersectionObserverTag.js.map +1 -0
  737. package/lib/ui-kit/List/List.fixture.d.ts +0 -4
  738. package/lib/ui-kit/List/List.js +13 -8
  739. package/lib/ui-kit/List/List.js.map +1 -1
  740. package/lib/ui-kit/List/ListItem.d.ts +2 -2
  741. package/lib/ui-kit/List/ListItem.js +7 -21
  742. package/lib/ui-kit/List/ListItem.js.map +1 -1
  743. package/lib/ui-kit/List/ListProps.d.ts +5 -3
  744. package/lib/ui-kit/Radio/Radio.js +1 -1
  745. package/lib/ui-kit/Radio/Radio.js.map +1 -1
  746. package/lib/ui-kit/Select/Select.js +5 -2
  747. package/lib/ui-kit/Select/Select.js.map +1 -1
  748. package/lib/utils/getSanitizedValue.d.ts +1 -0
  749. package/lib/utils/getSanitizedValue.js +2 -0
  750. package/lib/utils/getSanitizedValue.js.map +1 -0
  751. package/mobile/bundle/EventBus/EventBus.d.ts +10 -0
  752. package/mobile/bundle/EventBus/EventMap.d.ts +7 -0
  753. package/mobile/bundle/ProjectSettings.d.ts +24 -0
  754. package/mobile/bundle/api/DaDataAPI.d.ts +15 -0
  755. package/mobile/bundle/api/LikeAPI.d.ts +9 -0
  756. package/mobile/bundle/bundle.umd.js +202 -648
  757. package/mobile/bundle/bundle.umd.min.js +1 -1
  758. package/mobile/bundle/components/Accordion/Accordion.d.ts +5 -0
  759. package/mobile/bundle/components/Accordion/AccordionContent.d.ts +43 -0
  760. package/mobile/bundle/components/Accordion/AccordionItem.d.ts +5 -0
  761. package/mobile/bundle/components/BaseTile/BaseTile.d.ts +5 -0
  762. package/mobile/bundle/components/BaseTile/BaseTileProps.d.ts +15 -0
  763. package/mobile/bundle/components/BaseTile/getTileHeadingType.d.ts +1 -0
  764. package/mobile/bundle/components/BaseTile/getTileMinHeight.d.ts +1 -0
  765. package/mobile/bundle/components/BaseTile/getTileRightPadding.d.ts +1 -0
  766. package/mobile/bundle/components/BenefitsBlock/BenefitsBlock.d.ts +5 -0
  767. package/mobile/bundle/components/BenefitsBlock/BenefitsBlockContent.d.ts +52 -0
  768. package/mobile/bundle/components/Blocks.d.ts +17 -0
  769. package/mobile/bundle/components/Bonus/Bonus.d.ts +5 -0
  770. package/mobile/bundle/components/Bonus/BonusContent.d.ts +45 -0
  771. package/mobile/bundle/components/BonusBenefitsBlock/BonusBenefitsBlock.d.ts +5 -0
  772. package/mobile/bundle/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +15 -0
  773. package/mobile/bundle/components/BonusBenefitsBlock/getElementsColsValue.d.ts +1 -0
  774. package/mobile/bundle/components/Calculator/BonusCalculatorForm.d.ts +5 -0
  775. package/mobile/bundle/components/Calculator/Calculator.d.ts +5 -0
  776. package/mobile/bundle/components/Calculator/CalculatorContent.d.ts +129 -0
  777. package/mobile/bundle/components/Calculator/CalculatorValueBlock.d.ts +8 -0
  778. package/mobile/bundle/components/Calculator/CreditCalculatorForm.d.ts +7 -0
  779. package/mobile/bundle/components/Calculator/DepositCalculatorForm.d.ts +5 -0
  780. package/mobile/bundle/components/Calculator/EmbeddableCalcBlocks.d.ts +9 -0
  781. package/mobile/bundle/components/Calculator/Rate.d.ts +7 -0
  782. package/mobile/bundle/components/Calculator/constants.d.ts +16 -0
  783. package/mobile/bundle/components/Calculator/getBonus.d.ts +2 -0
  784. package/mobile/bundle/components/Calculator/getCreditRate.d.ts +7 -0
  785. package/mobile/bundle/components/Calculator/getDefaultMonths.d.ts +1 -0
  786. package/mobile/bundle/components/Calculator/getDefaultSum.d.ts +1 -0
  787. package/mobile/bundle/components/Calculator/getMonthlyPayment.d.ts +6 -0
  788. package/mobile/bundle/components/Calculator/renderButtonSection.d.ts +2 -0
  789. package/mobile/bundle/components/Calculator/renderCalculatorBlock.d.ts +3 -0
  790. package/mobile/bundle/components/Calculator/renderFootnote.d.ts +2 -0
  791. package/mobile/bundle/components/Calculator/renderInitialFeeInput.d.ts +6 -0
  792. package/mobile/bundle/components/Calculator/renderMonthsInput.d.ts +8 -0
  793. package/mobile/bundle/components/Calculator/renderPaymentTypeSelector.d.ts +6 -0
  794. package/mobile/bundle/components/Calculator/renderProposal.d.ts +2 -0
  795. package/mobile/bundle/components/Calculator/renderProposalMortgage.d.ts +8 -0
  796. package/mobile/bundle/components/Calculator/renderRealEstateValue.d.ts +6 -0
  797. package/mobile/bundle/components/Calculator/renderWantedSumInput.d.ts +11 -0
  798. package/mobile/bundle/components/Calculator/useBonusCalculatorParams.d.ts +36 -0
  799. package/mobile/bundle/components/Calculator/useCalculatorParams.d.ts +1 -0
  800. package/mobile/bundle/components/Calculator/useCreditCalculatorParams.d.ts +27 -0
  801. package/mobile/bundle/components/CardTransfer/CardTransfer.d.ts +5 -0
  802. package/mobile/bundle/components/CardTransfer/CardTransferContent.d.ts +10 -0
  803. package/mobile/bundle/components/Catalog/Catalog.d.ts +5 -0
  804. package/mobile/bundle/components/Catalog/CatalogCard.d.ts +7 -0
  805. package/mobile/bundle/components/Catalog/CatalogContent.d.ts +25 -0
  806. package/mobile/bundle/components/ComparisonTable/ComparisonTable.d.ts +5 -0
  807. package/mobile/bundle/components/ComparisonTable/ComparisonTableBody.d.ts +12 -0
  808. package/mobile/bundle/components/ComparisonTable/ComparisonTableColumnHeaders.d.ts +10 -0
  809. package/mobile/bundle/components/ComparisonTable/ComparisonTableContent.d.ts +50 -0
  810. package/mobile/bundle/components/ComparisonTable/ComparisonTableRows.d.ts +13 -0
  811. package/mobile/bundle/components/ComparisonTable/HeaderCell.d.ts +11 -0
  812. package/mobile/bundle/components/ComparisonTable/TableCarouselContainer.d.ts +7 -0
  813. package/mobile/bundle/components/ComparisonTable/TableCell.d.ts +9 -0
  814. package/mobile/bundle/components/ComparisonTable/TableColumn.d.ts +15 -0
  815. package/mobile/bundle/components/ComparisonTable/TableRow.d.ts +14 -0
  816. package/mobile/bundle/components/ComparisonTable/TableRowContainer.d.ts +1 -0
  817. package/mobile/bundle/components/ComparisonTable/constants.d.ts +6 -0
  818. package/mobile/bundle/components/ContentPage/ContentPage.d.ts +10 -0
  819. package/mobile/bundle/components/ContentPage/ContentPageContext.d.ts +17 -0
  820. package/mobile/bundle/components/ContentPage/ContentPageHead.d.ts +7 -0
  821. package/mobile/bundle/components/ContentPage/computeAPIFallback.d.ts +5 -0
  822. package/mobile/bundle/components/ContentPage/filterBlocks.d.ts +3 -0
  823. package/mobile/bundle/components/ContentPage/isBlockInRegistry.d.ts +2 -0
  824. package/mobile/bundle/components/ContentPage/normalizeBlock.d.ts +2 -0
  825. package/mobile/bundle/components/ContentPage/normalizePage.d.ts +3 -0
  826. package/mobile/bundle/components/ContentPage/renderBlock.d.ts +13 -0
  827. package/mobile/bundle/components/ErrorBlock/ErrorBlock.d.ts +5 -0
  828. package/mobile/bundle/components/ErrorBlock/ErrorBlockContent.d.ts +48 -0
  829. package/mobile/bundle/components/ExchangeRateTile/CurrencyProps.d.ts +5 -0
  830. package/mobile/bundle/components/ExchangeRateTile/CurrencyTable.d.ts +7 -0
  831. package/mobile/bundle/components/ExchangeRateTile/CurrentLocation.d.ts +7 -0
  832. package/mobile/bundle/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +21 -0
  833. package/mobile/bundle/components/ExchangeRateTile/ExchangeRateTile.d.ts +5 -0
  834. package/mobile/bundle/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +8 -0
  835. package/mobile/bundle/components/ExchangeRateTile/calculateResult.d.ts +2 -0
  836. package/mobile/bundle/components/ExchangeRateTile/callbackCurrencySelect.d.ts +8 -0
  837. package/mobile/bundle/components/ExchangeRateTile/formatCurrency.d.ts +1 -0
  838. package/mobile/bundle/components/ExchangeRateTile/renderInput.d.ts +13 -0
  839. package/mobile/bundle/components/Footer/Contacts.d.ts +7 -0
  840. package/mobile/bundle/components/Footer/Footer.d.ts +5 -0
  841. package/mobile/bundle/components/Footer/FooterContent.d.ts +44 -0
  842. package/mobile/bundle/components/Footer/FooterLink.d.ts +5 -0
  843. package/mobile/bundle/components/Footer/HorizontalNavigation.d.ts +6 -0
  844. package/mobile/bundle/components/Footer/HorizontalNavigationLink.d.ts +8 -0
  845. package/mobile/bundle/components/Footer/MediaButton.d.ts +7 -0
  846. package/mobile/bundle/components/Footer/Sitemap.d.ts +8 -0
  847. package/mobile/bundle/components/Footer/SocialMedia.d.ts +8 -0
  848. package/mobile/bundle/components/Footer/TextInformation.d.ts +2 -0
  849. package/mobile/bundle/components/Footer/TextInformationLink.d.ts +8 -0
  850. package/mobile/bundle/components/Gallery/Gallery.d.ts +2 -0
  851. package/mobile/bundle/components/Gallery/GalleryCardInner.d.ts +2 -0
  852. package/mobile/bundle/components/Gallery/GalleryContainer.d.ts +13 -0
  853. package/mobile/bundle/components/Gallery/GalleryContent.d.ts +64 -0
  854. package/mobile/bundle/components/Gallery/GalleryInner.d.ts +7 -0
  855. package/mobile/bundle/components/Gallery/GalleryProps.d.ts +4 -0
  856. package/mobile/bundle/components/Gallery/constants.d.ts +4 -0
  857. package/mobile/bundle/components/GracePeriod/GracePeriod.d.ts +5 -0
  858. package/mobile/bundle/components/GracePeriod/GracePeriodContent.d.ts +32 -0
  859. package/mobile/bundle/components/Header/DropdownMenu.d.ts +14 -0
  860. package/mobile/bundle/components/Header/Header.d.ts +5 -0
  861. package/mobile/bundle/components/Header/Header.fallback.d.ts +2 -0
  862. package/mobile/bundle/components/Header/HeaderBurger.d.ts +11 -0
  863. package/mobile/bundle/components/Header/HeaderContent.d.ts +41 -0
  864. package/mobile/bundle/components/Header/HeaderSecondaryMenu.d.ts +10 -0
  865. package/mobile/bundle/components/Header/HeaderSecondaryMenuButton.d.ts +6 -0
  866. package/mobile/bundle/components/Header/HeaderSubMenu.d.ts +9 -0
  867. package/mobile/bundle/components/Header/HeaderTop.d.ts +6 -0
  868. package/mobile/bundle/components/Headline/Headline.d.ts +5 -0
  869. package/mobile/bundle/components/Headline/HeadlineContent.d.ts +15 -0
  870. package/mobile/bundle/components/Headline/constants.d.ts +20 -0
  871. package/mobile/bundle/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +5 -0
  872. package/mobile/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +30 -0
  873. package/mobile/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +7 -0
  874. package/mobile/bundle/components/LikeControl/LikeControl.d.ts +2 -0
  875. package/mobile/bundle/components/LinkDocs/LinkDocs.d.ts +5 -0
  876. package/mobile/bundle/components/LinkDocs/LinkDocsContent.d.ts +43 -0
  877. package/mobile/bundle/components/LinkDocs/LinkDocsHorizontalList.d.ts +6 -0
  878. package/mobile/bundle/components/LinkDocs/LinkDocsList.d.ts +9 -0
  879. package/mobile/bundle/components/LinkDocs/LinkDocsListItem.d.ts +2 -0
  880. package/mobile/bundle/components/LinkDocs/LinkDocsListItemBase.d.ts +13 -0
  881. package/mobile/bundle/components/LinkDocs/LinkDocsVerticalList.d.ts +8 -0
  882. package/mobile/bundle/components/LinkDocs/linkDocsContentExample.d.ts +2 -0
  883. package/mobile/bundle/components/LinkList/LinkList.d.ts +5 -0
  884. package/mobile/bundle/components/LinkList/LinkListContent.d.ts +8 -0
  885. package/mobile/bundle/components/LinkList/linkListContentExample.d.ts +2 -0
  886. package/mobile/bundle/components/MiniGallery/MiniGallery.d.ts +5 -0
  887. package/mobile/bundle/components/MiniGallery/MiniGalleryContent.d.ts +12 -0
  888. package/mobile/bundle/components/MobileAppTile/MobileAppTile.d.ts +5 -0
  889. package/mobile/bundle/components/MobileAppTile/MobileAppTileContent.d.ts +31 -0
  890. package/mobile/bundle/components/OfficeServicesBlock/OfficeServicesBlock.d.ts +5 -0
  891. package/mobile/bundle/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +10 -0
  892. package/mobile/bundle/components/OtherProducts/OtherProducts.d.ts +5 -0
  893. package/mobile/bundle/components/OtherProducts/OtherProductsContent.d.ts +25 -0
  894. package/mobile/bundle/components/OtherProducts/OtherProductsItem.d.ts +6 -0
  895. package/mobile/bundle/components/PictureText/PictureText.d.ts +5 -0
  896. package/mobile/bundle/components/PictureText/PictureTextContent.d.ts +34 -0
  897. package/mobile/bundle/components/Placeholder/Placeholder.d.ts +6 -0
  898. package/mobile/bundle/components/Placeholder/PlaceholderContent.d.ts +5 -0
  899. package/mobile/bundle/components/ProductBlock/ProductBlock.d.ts +5 -0
  900. package/mobile/bundle/components/ProductBlock/ProductBlockContent.d.ts +54 -0
  901. package/mobile/bundle/components/ProductBlock/ProductBlockInner.d.ts +4 -0
  902. package/mobile/bundle/components/ProductBlock/renderBackwardButton.d.ts +4 -0
  903. package/mobile/bundle/components/ProductBlock/renderBenefit.d.ts +5 -0
  904. package/mobile/bundle/components/ProductGallery/ProductGallery.d.ts +5 -0
  905. package/mobile/bundle/components/ProductGallery/ProductGalleryBlock.d.ts +8 -0
  906. package/mobile/bundle/components/ProductGallery/ProductGalleryContent.d.ts +29 -0
  907. package/mobile/bundle/components/ProductTile/ProductTile.d.ts +5 -0
  908. package/mobile/bundle/components/ProductTile/ProductTileContent.d.ts +33 -0
  909. package/mobile/bundle/components/PromoTile/PromoTile.d.ts +5 -0
  910. package/mobile/bundle/components/PromoTile/PromoTileContent.d.ts +12 -0
  911. package/mobile/bundle/components/Recommendation/Recommendation.d.ts +5 -0
  912. package/mobile/bundle/components/Recommendation/RecommendationCard.d.ts +7 -0
  913. package/mobile/bundle/components/Recommendation/RecommendationContent.d.ts +43 -0
  914. package/mobile/bundle/components/SafeDepositRental/RegionsAndBranches.d.ts +12 -0
  915. package/mobile/bundle/components/SafeDepositRental/RenderRadioButtons.d.ts +2 -0
  916. package/mobile/bundle/components/SafeDepositRental/RentalPeriod.d.ts +6 -0
  917. package/mobile/bundle/components/SafeDepositRental/SafeBoxCases.d.ts +11 -0
  918. package/mobile/bundle/components/SafeDepositRental/SafeDepositRental.d.ts +5 -0
  919. package/mobile/bundle/components/SafeDepositRental/SafeDepositRentalContent.d.ts +9 -0
  920. package/mobile/bundle/components/SafeDepositRental/SafeDepositRentalFields.d.ts +12 -0
  921. package/mobile/bundle/components/SafeDepositRental/SafeDepositRentalForm.d.ts +11 -0
  922. package/mobile/bundle/components/SafeDepositRental/SafeDepositRentalTotal.d.ts +6 -0
  923. package/mobile/bundle/components/SafeDepositRental/SafeDepositRentalTypes.d.ts +8 -0
  924. package/mobile/bundle/components/SafeDepositRental/WrapperSelect.d.ts +11 -0
  925. package/mobile/bundle/components/SafeDepositRental/YandexMap.d.ts +5 -0
  926. package/mobile/bundle/components/SafeDepositRental/renderClusterer.d.ts +2 -0
  927. package/mobile/bundle/components/SafeDepositRental/useGetRegions.d.ts +6 -0
  928. package/mobile/bundle/components/SafeDepositRental/useYandexMaps.d.ts +2 -0
  929. package/mobile/bundle/components/SafeDepositRental/utils.d.ts +3 -0
  930. package/mobile/bundle/components/StepsBlock/StepsBlock.d.ts +5 -0
  931. package/mobile/bundle/components/StepsBlock/StepsBlockContent.d.ts +43 -0
  932. package/mobile/bundle/components/StepsBlock/StepsBlockStyleMaps.d.ts +11 -0
  933. package/mobile/bundle/components/StepsBlock/renderItems.d.ts +3 -0
  934. package/mobile/bundle/components/Tabs/Tabs.d.ts +13 -0
  935. package/mobile/bundle/components/Tabs/TabsContent.d.ts +36 -0
  936. package/mobile/bundle/components/Tabs/renderGroupTab.d.ts +4 -0
  937. package/mobile/bundle/components/Tabs/renderLinkTab.d.ts +9 -0
  938. package/mobile/bundle/components/Tabs/renderTab.d.ts +12 -0
  939. package/mobile/bundle/components/Tabs/tabItemClasses.d.ts +6 -0
  940. package/mobile/bundle/components/TariffsTable/EmbeddableCellData.d.ts +12 -0
  941. package/mobile/bundle/components/TariffsTable/TableTileHeader.d.ts +2 -0
  942. package/mobile/bundle/components/TariffsTable/TariffsTable.d.ts +5 -0
  943. package/mobile/bundle/components/TariffsTable/TariffsTableCell.d.ts +9 -0
  944. package/mobile/bundle/components/TariffsTable/TariffsTableContent.d.ts +95 -0
  945. package/mobile/bundle/components/TariffsTable/TariffsTableHorizontal.d.ts +6 -0
  946. package/mobile/bundle/components/TariffsTable/TariffsTableRow.d.ts +9 -0
  947. package/mobile/bundle/components/TariffsTable/TariffsTableRowContainer.d.ts +7 -0
  948. package/mobile/bundle/components/TariffsTable/TariffsTableTileCell.d.ts +8 -0
  949. package/mobile/bundle/components/TariffsTable/TariffsTableVertical.d.ts +6 -0
  950. package/mobile/bundle/components/TariffsTable/constants.d.ts +4 -0
  951. package/mobile/bundle/components/TariffsTable/dataFixture.d.ts +5 -0
  952. package/mobile/bundle/components/TariffsTable/utils/getButtonAriaLabel.d.ts +2 -0
  953. package/mobile/bundle/components/TextBlock/TextBlock.d.ts +5 -0
  954. package/mobile/bundle/components/TextBlock/TextBlockContent.d.ts +22 -0
  955. package/mobile/bundle/components/Tile/Tile.d.ts +6 -0
  956. package/mobile/bundle/components/Tile/TileContent.d.ts +34 -0
  957. package/mobile/bundle/content-page-repository/ContentPageRepository.d.ts +11 -0
  958. package/mobile/bundle/content-page-repository/TransformationOptions.d.ts +4 -0
  959. package/mobile/bundle/content-page-repository/index.d.ts +2 -0
  960. package/mobile/bundle/content-page-repository/mapJSON.d.ts +1 -0
  961. package/mobile/bundle/content-page-repository/transformContentPage.d.ts +3 -0
  962. package/mobile/bundle/content-page-repository/transformImg.d.ts +11 -0
  963. package/mobile/bundle/content-page-repository/transformMarkdown.d.ts +1 -0
  964. package/mobile/bundle/content-page-repository/transformPicture.d.ts +3 -0
  965. package/mobile/bundle/content-page-repository/transformSrc.d.ts +3 -0
  966. package/mobile/bundle/hooks/useExchangeRates.d.ts +2 -0
  967. package/mobile/bundle/hooks/useExternalNS.d.ts +2 -0
  968. package/mobile/bundle/hooks/useGeolocation.d.ts +1 -0
  969. package/mobile/bundle/hooks/useLikeService.d.ts +5 -0
  970. package/mobile/bundle/hooks/useLink.d.ts +18 -0
  971. package/mobile/bundle/hooks/useOutsideClick.d.ts +5 -0
  972. package/{lib/hooks/useFetchSafeBoxes.d.ts → mobile/bundle/hooks/useSafeBoxes.d.ts} +1 -3
  973. package/mobile/bundle/hooks/useSearch.d.ts +4 -0
  974. package/mobile/bundle/hooks/useTableArrowScrollControl.d.ts +7 -0
  975. package/mobile/bundle/hooks/useTariffsInnerTableData.d.ts +1 -0
  976. package/mobile/bundle/icons/IconName.d.ts +194 -0
  977. package/mobile/bundle/index.d.ts +9 -0
  978. package/mobile/bundle/model/AlignType.d.ts +9 -0
  979. package/mobile/bundle/model/BgColorVersion.d.ts +8 -0
  980. package/mobile/bundle/model/BlockDecorator.d.ts +14 -0
  981. package/mobile/bundle/model/BlockVersion.d.ts +11 -0
  982. package/mobile/bundle/model/BlocksRegistry.d.ts +5 -0
  983. package/mobile/bundle/model/ButtonVersion.d.ts +6 -0
  984. package/mobile/bundle/model/ContentPageDef.d.ts +52 -0
  985. package/mobile/bundle/model/EmptyOptionType.d.ts +4 -0
  986. package/mobile/bundle/model/Fallback.d.ts +5 -0
  987. package/mobile/bundle/model/Footnote.d.ts +4 -0
  988. package/mobile/bundle/model/GalleryVersion.d.ts +1 -0
  989. package/mobile/bundle/model/HeadlineType.d.ts +29 -0
  990. package/mobile/bundle/model/IconVersion.d.ts +9 -0
  991. package/mobile/bundle/model/ImageSize.d.ts +6 -0
  992. package/mobile/bundle/model/InputTypes.d.ts +1 -0
  993. package/mobile/bundle/model/LinkProps.d.ts +24 -0
  994. package/mobile/bundle/model/ListOrientation.d.ts +8 -0
  995. package/mobile/bundle/model/Picture.d.ts +59 -0
  996. package/mobile/bundle/model/ProductColorVersion.d.ts +4 -0
  997. package/mobile/bundle/model/SitemapProps.d.ts +24 -0
  998. package/mobile/bundle/model/SizeVersion.d.ts +8 -0
  999. package/mobile/bundle/model/TableVersion.d.ts +1 -0
  1000. package/mobile/bundle/model/VNode.d.ts +1 -0
  1001. package/mobile/bundle/react/setup-fixture.d.ts +4 -0
  1002. package/mobile/bundle/services/sitemap/SitemapProps.d.ts +24 -0
  1003. package/mobile/bundle/services/sitemap/checkIsHrefSameOrigin.d.ts +4 -0
  1004. package/mobile/bundle/services/sitemap/findActiveSubItem.d.ts +3 -0
  1005. package/mobile/bundle/services/sitemap/isHrefActive.d.ts +4 -0
  1006. package/mobile/bundle/services/sitemap/isSubItemActive.d.ts +3 -0
  1007. package/mobile/bundle/services/sitemap/isTopItemActive.d.ts +3 -0
  1008. package/mobile/bundle/services/sitemap/mergeTopItems.d.ts +2 -0
  1009. package/mobile/bundle/services/sitemap/useSitemap.d.ts +3 -0
  1010. package/mobile/bundle/ui-kit/BenefitItem/BenefitItem.d.ts +4 -0
  1011. package/mobile/bundle/ui-kit/BenefitItem/BenefitItemProps.d.ts +20 -0
  1012. package/mobile/bundle/ui-kit/BlockWrapper.d.ts +7 -0
  1013. package/mobile/bundle/ui-kit/BlocksList/BlocksListProps.d.ts +96 -0
  1014. package/mobile/bundle/ui-kit/BlocksList/EmbeddableBlocks.d.ts +8 -0
  1015. package/mobile/bundle/ui-kit/BlocksList/renderBlocksList.d.ts +9 -0
  1016. package/mobile/bundle/ui-kit/Breadcrumb.d.ts +6 -0
  1017. package/mobile/bundle/ui-kit/Button/ArrowButton.d.ts +2 -0
  1018. package/mobile/bundle/ui-kit/Button/Button.d.ts +2 -0
  1019. package/mobile/bundle/ui-kit/Button/ButtonInner.d.ts +7 -0
  1020. package/mobile/bundle/ui-kit/Button/ButtonProps.d.ts +54 -0
  1021. package/mobile/bundle/ui-kit/Button/ButtonSection.d.ts +5 -0
  1022. package/mobile/bundle/ui-kit/Button/GetButtonClassParams.d.ts +6 -0
  1023. package/mobile/bundle/ui-kit/Button/LikeButton.d.ts +6 -0
  1024. package/mobile/bundle/ui-kit/Button/buttonClassNameConstants.d.ts +5 -0
  1025. package/mobile/bundle/ui-kit/Button/getDisabledButtonClasses.d.ts +2 -0
  1026. package/mobile/bundle/ui-kit/Button/getRegularButtonClasses.d.ts +2 -0
  1027. package/mobile/bundle/ui-kit/Button/renderArrows.d.ts +9 -0
  1028. package/mobile/bundle/ui-kit/Checkbox/Checkbox.d.ts +2 -0
  1029. package/mobile/bundle/ui-kit/Checkbox/CheckboxProps.d.ts +7 -0
  1030. package/mobile/bundle/ui-kit/CurrencyInput/CurrencyInput.d.ts +2 -0
  1031. package/mobile/bundle/ui-kit/CurrencyInput/CurrencyInputProps.d.ts +5 -0
  1032. package/mobile/bundle/ui-kit/CurrencyInput/adjustValue .d.ts +3 -0
  1033. package/mobile/bundle/ui-kit/Description/Description.d.ts +5 -0
  1034. package/mobile/bundle/ui-kit/Foldable/DefaultButton.d.ts +2 -0
  1035. package/mobile/bundle/ui-kit/Foldable/FoldButtonProps.d.ts +12 -0
  1036. package/mobile/bundle/ui-kit/Foldable/Foldable.d.ts +16 -0
  1037. package/mobile/bundle/ui-kit/HeaderItem/HeaderItem.d.ts +3 -0
  1038. package/mobile/bundle/ui-kit/Heading/Heading.d.ts +2 -0
  1039. package/mobile/bundle/ui-kit/Heading/HeadingProps.d.ts +23 -0
  1040. package/mobile/bundle/ui-kit/Icon/Icon.d.ts +2 -0
  1041. package/mobile/bundle/ui-kit/Icon/IconProps.d.ts +21 -0
  1042. package/mobile/bundle/ui-kit/Img/Img.d.ts +2 -0
  1043. package/mobile/bundle/ui-kit/Img/ImgAsPicture.d.ts +4 -0
  1044. package/mobile/bundle/ui-kit/Img/ImgInner.d.ts +2 -0
  1045. package/mobile/bundle/ui-kit/Img/ImgProps.d.ts +11 -0
  1046. package/mobile/bundle/ui-kit/Img/getIconVersion.d.ts +1 -0
  1047. package/mobile/bundle/ui-kit/InnerTable/InnerTable.d.ts +5 -0
  1048. package/mobile/bundle/ui-kit/InnerTable/InnerTableBody.d.ts +7 -0
  1049. package/mobile/bundle/ui-kit/InnerTable/InnerTableBodyItem.d.ts +6 -0
  1050. package/mobile/bundle/ui-kit/InnerTable/InnerTableButton.d.ts +6 -0
  1051. package/mobile/bundle/ui-kit/InnerTable/InnerTableHeader.d.ts +7 -0
  1052. package/mobile/bundle/ui-kit/InnerTable/InnerTableProps.d.ts +24 -0
  1053. package/mobile/bundle/ui-kit/Input/Input.d.ts +2 -0
  1054. package/mobile/bundle/ui-kit/Input/InputProps.d.ts +16 -0
  1055. package/mobile/bundle/ui-kit/InputRange/InputRange.d.ts +2 -0
  1056. package/mobile/bundle/ui-kit/InputRange/InputRangeProps.d.ts +11 -0
  1057. package/mobile/bundle/ui-kit/IntersectionObserverTag.d.ts +11 -0
  1058. package/mobile/bundle/ui-kit/List/List.d.ts +2 -0
  1059. package/mobile/bundle/ui-kit/List/ListContent.d.ts +4 -0
  1060. package/mobile/bundle/ui-kit/List/ListItem.d.ts +12 -0
  1061. package/mobile/bundle/ui-kit/List/ListProps.d.ts +26 -0
  1062. package/mobile/bundle/ui-kit/Logo/Logo.d.ts +8 -0
  1063. package/mobile/bundle/ui-kit/Radio/Radio.d.ts +2 -0
  1064. package/mobile/bundle/ui-kit/Radio/RadioProps.d.ts +9 -0
  1065. package/mobile/bundle/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +12 -0
  1066. package/mobile/bundle/ui-kit/SVG.d.ts +19 -0
  1067. package/mobile/bundle/ui-kit/SearchBar/SearchBar.d.ts +2 -0
  1068. package/mobile/bundle/ui-kit/SearchBar/SearchBarInner.d.ts +5 -0
  1069. package/mobile/bundle/ui-kit/Select/Select.d.ts +14 -0
  1070. package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControl.d.ts +2 -0
  1071. package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +6 -0
  1072. package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControlItem.d.ts +9 -0
  1073. package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControlList.d.ts +10 -0
  1074. package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +18 -0
  1075. package/mobile/bundle/ui-kit/SwipeListControl/constants.d.ts +2 -0
  1076. package/mobile/bundle/ui-kit/SwipeListControl/utils/getContainerStyle.d.ts +1 -0
  1077. package/mobile/bundle/ui-kit/SwipeListControl/utils/getIndexParts.d.ts +4 -0
  1078. package/mobile/bundle/ui-kit/SwipeListControl/utils/getScrollPoints.d.ts +8 -0
  1079. package/mobile/bundle/ui-kit/TableArrowScrollControl/TableArrowScrollControl.d.ts +2 -0
  1080. package/mobile/bundle/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.d.ts +7 -0
  1081. package/mobile/bundle/ui-kit/TopItem/TopItem.d.ts +14 -0
  1082. package/mobile/bundle/utils/addSpacesBetweenNumbers.d.ts +1 -0
  1083. package/mobile/bundle/utils/adjustHref.d.ts +4 -0
  1084. package/mobile/bundle/utils/assertUnreachable.d.ts +1 -0
  1085. package/mobile/bundle/utils/changeHashOnObserve.d.ts +9 -0
  1086. package/mobile/bundle/utils/checkIsIconRenderable.d.ts +2 -0
  1087. package/mobile/bundle/utils/clamp.d.ts +1 -0
  1088. package/mobile/bundle/utils/fetchJSON.d.ts +2 -0
  1089. package/mobile/bundle/utils/getAccordionItems.d.ts +1 -0
  1090. package/mobile/bundle/utils/getColSpan.d.ts +1 -0
  1091. package/mobile/bundle/utils/getCurrentDate.d.ts +1 -0
  1092. package/mobile/bundle/utils/getGeolocation.d.ts +1 -0
  1093. package/mobile/bundle/utils/getSanitizedValue.d.ts +1 -0
  1094. package/mobile/bundle/utils/isPictureSizeEmpty.d.ts +2 -0
  1095. package/mobile/bundle/utils/joinList.d.ts +1 -0
  1096. package/mobile/bundle/utils/maxBy.d.ts +2 -0
  1097. package/mobile/bundle/utils/roundTo.d.ts +1 -0
  1098. package/mobile/bundle/utils/style2className.d.ts +1 -0
  1099. package/mobile/bundle/utils/tableFunc.d.ts +2 -0
  1100. package/mobile/bundle/utils/url.d.ts +5 -0
  1101. package/mobile/bundle/utils/withoutMobilePath.d.ts +2 -0
  1102. package/mobile/dist/components/Accordion/AccordionItem.d.ts +1 -1
  1103. package/mobile/dist/components/Accordion/AccordionItem.js +9 -7
  1104. package/mobile/dist/components/Accordion/AccordionItem.js.map +1 -1
  1105. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js +1 -1
  1106. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  1107. package/mobile/dist/components/Blocks.d.ts +0 -1
  1108. package/mobile/dist/components/Blocks.js +0 -2
  1109. package/mobile/dist/components/Blocks.js.map +1 -1
  1110. package/mobile/dist/components/Calculator/CalculatorContent.d.ts +1 -1
  1111. package/mobile/dist/components/CardTransfer/CardTransfer.js +3 -2
  1112. package/mobile/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  1113. package/mobile/dist/components/Catalog/Catalog.js +1 -1
  1114. package/mobile/dist/components/Catalog/Catalog.js.map +1 -1
  1115. package/mobile/dist/components/Catalog/CatalogCard.js +1 -23
  1116. package/mobile/dist/components/Catalog/CatalogCard.js.map +1 -1
  1117. package/mobile/dist/components/ComparisonTable/ComparisonTable.js +13 -48
  1118. package/mobile/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
  1119. package/mobile/dist/components/ComparisonTable/TableColumn.d.ts +5 -8
  1120. package/mobile/dist/components/ComparisonTable/TableColumn.js +2 -8
  1121. package/mobile/dist/components/ComparisonTable/TableColumn.js.map +1 -1
  1122. package/mobile/dist/components/ContentPage/ContentPageContext.d.ts +0 -11
  1123. package/mobile/dist/components/ErrorBlock/ErrorBlock.js +1 -1
  1124. package/mobile/dist/components/ErrorBlock/ErrorBlock.js.map +1 -1
  1125. package/mobile/dist/components/ExchangeRateTile/renderInput.js +1 -1
  1126. package/mobile/dist/components/ExchangeRateTile/renderInput.js.map +1 -1
  1127. package/mobile/dist/components/Footer/Contacts.js +1 -1
  1128. package/mobile/dist/components/Footer/Contacts.js.map +1 -1
  1129. package/mobile/dist/components/Footer/FooterContent.d.ts +5 -9
  1130. package/mobile/dist/components/Gallery/Gallery.js +7 -3
  1131. package/mobile/dist/components/Gallery/Gallery.js.map +1 -1
  1132. package/mobile/dist/components/Gallery/GalleryCardInner.js +14 -17
  1133. package/mobile/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  1134. package/mobile/dist/components/Gallery/GalleryContainer.js +2 -2
  1135. package/mobile/dist/components/Gallery/GalleryContainer.js.map +1 -1
  1136. package/mobile/dist/components/Gallery/GalleryContent.d.ts +11 -3
  1137. package/mobile/dist/components/Header/HeaderSubMenu.js +3 -2
  1138. package/mobile/dist/components/Header/HeaderSubMenu.js.map +1 -1
  1139. package/mobile/dist/components/Headline/constants.d.ts +2 -1
  1140. package/mobile/dist/components/Headline/constants.js +10 -1
  1141. package/mobile/dist/components/Headline/constants.js.map +1 -1
  1142. package/mobile/dist/components/MiniGallery/MiniGalleryContent.d.ts +1 -0
  1143. package/mobile/dist/components/OtherProducts/OtherProductsItem.js +4 -2
  1144. package/mobile/dist/components/OtherProducts/OtherProductsItem.js.map +1 -1
  1145. package/mobile/dist/components/ProductTile/ProductTile.js +1 -1
  1146. package/mobile/dist/components/ProductTile/ProductTile.js.map +1 -1
  1147. package/mobile/dist/components/Recommendation/RecommendationContent.d.ts +5 -0
  1148. package/mobile/dist/components/SafeDepositRental/RegionsAndBranches.d.ts +1 -1
  1149. package/mobile/dist/components/SafeDepositRental/SafeBoxCases.d.ts +1 -1
  1150. package/mobile/dist/components/SafeDepositRental/SafeDepositRental.d.ts +1 -1
  1151. package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js +17 -3
  1152. package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  1153. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalFields.d.ts +7 -4
  1154. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalFields.js +3 -5
  1155. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
  1156. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalForm.d.ts +7 -3
  1157. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalForm.js +7 -28
  1158. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
  1159. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTotal.d.ts +1 -1
  1160. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTypes.d.ts +0 -2
  1161. package/mobile/dist/components/SafeDepositRental/utils.d.ts +1 -1
  1162. package/mobile/dist/components/StepsBlock/StepsBlockContent.d.ts +9 -2
  1163. package/mobile/dist/components/StepsBlock/StepsBlockStyleMaps.d.ts +1 -0
  1164. package/mobile/dist/components/StepsBlock/StepsBlockStyleMaps.js +2 -0
  1165. package/mobile/dist/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
  1166. package/mobile/dist/components/StepsBlock/renderItems.d.ts +3 -0
  1167. package/mobile/dist/components/StepsBlock/renderItems.js +6 -0
  1168. package/mobile/dist/components/StepsBlock/renderItems.js.map +1 -0
  1169. package/mobile/dist/components/TariffsTable/EmbeddableCellData.js +1 -2
  1170. package/mobile/dist/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  1171. package/mobile/dist/components/TariffsTable/TariffsTableCell.js +1 -1
  1172. package/mobile/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
  1173. package/mobile/dist/components/TariffsTable/TariffsTableRow.js +1 -2
  1174. package/mobile/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
  1175. package/mobile/dist/components/TariffsTable/dataFixture.js +4 -2
  1176. package/mobile/dist/components/TariffsTable/dataFixture.js.map +1 -1
  1177. package/mobile/dist/components/TariffsTable/utils/getButtonAriaLabel.d.ts +1 -1
  1178. package/mobile/dist/components/TariffsTable/utils/getButtonAriaLabel.js +1 -2
  1179. package/mobile/dist/components/TariffsTable/utils/getButtonAriaLabel.js.map +1 -1
  1180. package/mobile/dist/components/Tile/Tile.js +2 -3
  1181. package/mobile/dist/components/Tile/Tile.js.map +1 -1
  1182. package/mobile/dist/hooks/useOutsideClick.d.ts +5 -0
  1183. package/mobile/dist/hooks/useOutsideClick.js +21 -0
  1184. package/mobile/dist/hooks/useOutsideClick.js.map +1 -0
  1185. package/mobile/dist/hooks/useSafeBoxes.d.ts +20 -0
  1186. package/{dist/hooks/useFetchSafeBoxes.js → mobile/dist/hooks/useSafeBoxes.js} +9 -10
  1187. package/mobile/dist/hooks/useSafeBoxes.js.map +1 -0
  1188. package/mobile/dist/icons/IconName.d.ts +1 -92
  1189. package/mobile/dist/icons/IconName.js +4 -4
  1190. package/mobile/dist/icons/IconName.js.map +1 -1
  1191. package/mobile/dist/model/HeadlineType.d.ts +8 -0
  1192. package/mobile/dist/model/Picture.d.ts +1 -0
  1193. package/mobile/dist/react/setup-fixture.js +0 -2
  1194. package/mobile/dist/react/setup-fixture.js.map +1 -1
  1195. package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js +3 -1
  1196. package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  1197. package/mobile/dist/ui-kit/BlockWrapper.d.ts +0 -3
  1198. package/mobile/dist/ui-kit/BlockWrapper.js +5 -5
  1199. package/mobile/dist/ui-kit/BlockWrapper.js.map +1 -1
  1200. package/mobile/dist/ui-kit/BlocksList/renderBlocksList.d.ts +1 -1
  1201. package/mobile/dist/ui-kit/BlocksList/renderBlocksList.js +1 -1
  1202. package/mobile/dist/ui-kit/BlocksList/renderBlocksList.js.map +1 -1
  1203. package/mobile/dist/ui-kit/Button/Button.js +1 -1
  1204. package/mobile/dist/ui-kit/Button/Button.js.map +1 -1
  1205. package/mobile/dist/ui-kit/Button/ButtonInner.js +3 -2
  1206. package/mobile/dist/ui-kit/Button/ButtonInner.js.map +1 -1
  1207. package/mobile/dist/ui-kit/Button/ButtonProps.d.ts +1 -7
  1208. package/mobile/dist/ui-kit/Button/ButtonSection.js +5 -10
  1209. package/mobile/dist/ui-kit/Button/ButtonSection.js.map +1 -1
  1210. package/mobile/dist/ui-kit/Button/buttonClassNameConstants.d.ts +1 -0
  1211. package/mobile/dist/ui-kit/Button/buttonClassNameConstants.js +7 -1
  1212. package/mobile/dist/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
  1213. package/mobile/dist/ui-kit/CurrencyInput/CurrencyInput.js +7 -1
  1214. package/mobile/dist/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -1
  1215. package/mobile/dist/ui-kit/CurrencyInput/adjustValue .d.ts +2 -0
  1216. package/mobile/dist/ui-kit/CurrencyInput/adjustValue .js +11 -2
  1217. package/mobile/dist/ui-kit/CurrencyInput/adjustValue .js.map +1 -1
  1218. package/mobile/dist/ui-kit/Foldable/DefaultButton.d.ts +2 -0
  1219. package/mobile/dist/ui-kit/Foldable/DefaultButton.js +12 -0
  1220. package/mobile/dist/ui-kit/Foldable/DefaultButton.js.map +1 -0
  1221. package/mobile/dist/ui-kit/Foldable/FoldButtonProps.d.ts +12 -0
  1222. package/mobile/dist/ui-kit/Foldable/FoldButtonProps.js +2 -0
  1223. package/mobile/dist/ui-kit/Foldable/FoldButtonProps.js.map +1 -0
  1224. package/mobile/dist/ui-kit/Foldable/Foldable.d.ts +11 -17
  1225. package/mobile/dist/ui-kit/Foldable/Foldable.js +22 -14
  1226. package/mobile/dist/ui-kit/Foldable/Foldable.js.map +1 -1
  1227. package/mobile/dist/ui-kit/Icon/Icon.js +4 -5
  1228. package/mobile/dist/ui-kit/Icon/Icon.js.map +1 -1
  1229. package/mobile/dist/ui-kit/Icon/IconProps.d.ts +0 -1
  1230. package/mobile/dist/ui-kit/Img/Img.js +1 -3
  1231. package/mobile/dist/ui-kit/Img/Img.js.map +1 -1
  1232. package/mobile/dist/ui-kit/InnerTable/InnerTableBody.js +1 -1
  1233. package/mobile/dist/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
  1234. package/mobile/dist/ui-kit/InnerTable/InnerTableBodyItem.js +6 -2
  1235. package/mobile/dist/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
  1236. package/mobile/dist/ui-kit/InnerTable/InnerTableButton.js +1 -1
  1237. package/mobile/dist/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
  1238. package/mobile/dist/ui-kit/InnerTable/InnerTableHeader.js +1 -1
  1239. package/mobile/dist/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
  1240. package/mobile/dist/ui-kit/Input/Input.js +12 -3
  1241. package/mobile/dist/ui-kit/Input/Input.js.map +1 -1
  1242. package/mobile/dist/ui-kit/Input/InputProps.d.ts +2 -0
  1243. package/mobile/dist/ui-kit/InputRange/InputRange.js +2 -2
  1244. package/mobile/dist/ui-kit/InputRange/InputRange.js.map +1 -1
  1245. package/mobile/dist/ui-kit/IntersectionObserverTag.d.ts +11 -0
  1246. package/mobile/dist/ui-kit/IntersectionObserverTag.js +22 -0
  1247. package/mobile/dist/ui-kit/IntersectionObserverTag.js.map +1 -0
  1248. package/mobile/dist/ui-kit/List/List.js +13 -8
  1249. package/mobile/dist/ui-kit/List/List.js.map +1 -1
  1250. package/mobile/dist/ui-kit/List/ListItem.d.ts +2 -2
  1251. package/mobile/dist/ui-kit/List/ListItem.js +8 -23
  1252. package/mobile/dist/ui-kit/List/ListItem.js.map +1 -1
  1253. package/mobile/dist/ui-kit/List/ListProps.d.ts +5 -3
  1254. package/mobile/dist/ui-kit/Radio/Radio.js +1 -1
  1255. package/mobile/dist/ui-kit/Radio/Radio.js.map +1 -1
  1256. package/mobile/dist/ui-kit/Select/Select.js +4 -1
  1257. package/mobile/dist/ui-kit/Select/Select.js.map +1 -1
  1258. package/mobile/dist/utils/getSanitizedValue.d.ts +1 -0
  1259. package/mobile/dist/utils/getSanitizedValue.js +5 -0
  1260. package/mobile/dist/utils/getSanitizedValue.js.map +1 -0
  1261. package/mobile/lib/components/Accordion/AccordionItem.d.ts +1 -1
  1262. package/mobile/lib/components/Accordion/AccordionItem.js +9 -7
  1263. package/mobile/lib/components/Accordion/AccordionItem.js.map +1 -1
  1264. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js +1 -1
  1265. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  1266. package/mobile/lib/components/Blocks.d.ts +0 -1
  1267. package/mobile/lib/components/Blocks.js +0 -2
  1268. package/mobile/lib/components/Blocks.js.map +1 -1
  1269. package/mobile/lib/components/Calculator/CalculatorContent.d.ts +1 -1
  1270. package/mobile/lib/components/CardTransfer/CardTransfer.js +3 -2
  1271. package/mobile/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  1272. package/mobile/lib/components/Catalog/Catalog.js +1 -1
  1273. package/mobile/lib/components/Catalog/Catalog.js.map +1 -1
  1274. package/mobile/lib/components/Catalog/CatalogCard.js +1 -23
  1275. package/mobile/lib/components/Catalog/CatalogCard.js.map +1 -1
  1276. package/mobile/lib/components/ComparisonTable/ComparisonTable.js +14 -49
  1277. package/mobile/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
  1278. package/mobile/lib/components/ComparisonTable/TableColumn.d.ts +5 -8
  1279. package/mobile/lib/components/ComparisonTable/TableColumn.js +2 -8
  1280. package/mobile/lib/components/ComparisonTable/TableColumn.js.map +1 -1
  1281. package/mobile/lib/components/ContentPage/ContentPageContext.d.ts +0 -11
  1282. package/mobile/lib/components/ErrorBlock/ErrorBlock.js +1 -1
  1283. package/mobile/lib/components/ErrorBlock/ErrorBlock.js.map +1 -1
  1284. package/mobile/lib/components/ExchangeRateTile/renderInput.js +1 -1
  1285. package/mobile/lib/components/ExchangeRateTile/renderInput.js.map +1 -1
  1286. package/mobile/lib/components/Footer/Contacts.js +1 -1
  1287. package/mobile/lib/components/Footer/Contacts.js.map +1 -1
  1288. package/mobile/lib/components/Footer/FooterContent.d.ts +5 -9
  1289. package/mobile/lib/components/Gallery/Gallery.js +7 -3
  1290. package/mobile/lib/components/Gallery/Gallery.js.map +1 -1
  1291. package/mobile/lib/components/Gallery/GalleryCardInner.js +15 -18
  1292. package/mobile/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  1293. package/mobile/lib/components/Gallery/GalleryContainer.js +2 -2
  1294. package/mobile/lib/components/Gallery/GalleryContainer.js.map +1 -1
  1295. package/mobile/lib/components/Gallery/GalleryContent.d.ts +11 -3
  1296. package/mobile/lib/components/Header/HeaderSubMenu.js +2 -1
  1297. package/mobile/lib/components/Header/HeaderSubMenu.js.map +1 -1
  1298. package/mobile/lib/components/Headline/constants.d.ts +2 -1
  1299. package/mobile/lib/components/Headline/constants.js +9 -0
  1300. package/mobile/lib/components/Headline/constants.js.map +1 -1
  1301. package/mobile/lib/components/MiniGallery/MiniGalleryContent.d.ts +1 -0
  1302. package/mobile/lib/components/OtherProducts/OtherProductsItem.js +4 -2
  1303. package/mobile/lib/components/OtherProducts/OtherProductsItem.js.map +1 -1
  1304. package/mobile/lib/components/ProductTile/ProductTile.js +1 -1
  1305. package/mobile/lib/components/ProductTile/ProductTile.js.map +1 -1
  1306. package/mobile/lib/components/Recommendation/RecommendationContent.d.ts +5 -0
  1307. package/mobile/lib/components/SafeDepositRental/RegionsAndBranches.d.ts +1 -1
  1308. package/mobile/lib/components/SafeDepositRental/SafeBoxCases.d.ts +1 -1
  1309. package/mobile/lib/components/SafeDepositRental/SafeDepositRental.d.ts +1 -1
  1310. package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js +18 -4
  1311. package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  1312. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalFields.d.ts +7 -4
  1313. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalFields.js +3 -5
  1314. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
  1315. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalForm.d.ts +7 -3
  1316. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalForm.js +9 -30
  1317. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
  1318. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTotal.d.ts +1 -1
  1319. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTypes.d.ts +0 -2
  1320. package/mobile/lib/components/SafeDepositRental/utils.d.ts +1 -1
  1321. package/mobile/lib/components/StepsBlock/StepsBlockContent.d.ts +9 -2
  1322. package/mobile/lib/components/StepsBlock/StepsBlockStyleMaps.d.ts +1 -0
  1323. package/mobile/lib/components/StepsBlock/StepsBlockStyleMaps.js +2 -0
  1324. package/mobile/lib/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
  1325. package/mobile/lib/components/StepsBlock/renderItems.d.ts +3 -0
  1326. package/mobile/lib/components/StepsBlock/renderItems.js +3 -0
  1327. package/mobile/lib/components/StepsBlock/renderItems.js.map +1 -0
  1328. package/mobile/lib/components/TariffsTable/EmbeddableCellData.js +1 -2
  1329. package/mobile/lib/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  1330. package/mobile/lib/components/TariffsTable/TariffsTableCell.js +1 -1
  1331. package/mobile/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
  1332. package/mobile/lib/components/TariffsTable/TariffsTableRow.js +1 -2
  1333. package/mobile/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
  1334. package/mobile/lib/components/TariffsTable/dataFixture.js +4 -2
  1335. package/mobile/lib/components/TariffsTable/dataFixture.js.map +1 -1
  1336. package/mobile/lib/components/TariffsTable/utils/getButtonAriaLabel.d.ts +1 -1
  1337. package/mobile/lib/components/TariffsTable/utils/getButtonAriaLabel.js +1 -2
  1338. package/mobile/lib/components/TariffsTable/utils/getButtonAriaLabel.js.map +1 -1
  1339. package/mobile/lib/components/Tile/Tile.js +2 -3
  1340. package/mobile/lib/components/Tile/Tile.js.map +1 -1
  1341. package/mobile/lib/hooks/useOutsideClick.d.ts +5 -0
  1342. package/mobile/lib/hooks/useOutsideClick.js +18 -0
  1343. package/mobile/lib/hooks/useOutsideClick.js.map +1 -0
  1344. package/mobile/lib/hooks/useSafeBoxes.d.ts +20 -0
  1345. package/mobile/lib/hooks/{useFetchSafeBoxes.js → useSafeBoxes.js} +7 -8
  1346. package/mobile/lib/hooks/useSafeBoxes.js.map +1 -0
  1347. package/mobile/lib/icons/IconName.d.ts +1 -92
  1348. package/mobile/lib/icons/IconName.js +3 -3
  1349. package/mobile/lib/icons/IconName.js.map +1 -1
  1350. package/mobile/lib/model/HeadlineType.d.ts +8 -0
  1351. package/mobile/lib/model/Picture.d.ts +1 -0
  1352. package/mobile/lib/react/setup-fixture.js +0 -2
  1353. package/mobile/lib/react/setup-fixture.js.map +1 -1
  1354. package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js +3 -1
  1355. package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  1356. package/mobile/lib/ui-kit/BlockWrapper.d.ts +0 -3
  1357. package/mobile/lib/ui-kit/BlockWrapper.js +4 -4
  1358. package/mobile/lib/ui-kit/BlockWrapper.js.map +1 -1
  1359. package/mobile/lib/ui-kit/BlocksList/renderBlocksList.d.ts +1 -1
  1360. package/mobile/lib/ui-kit/BlocksList/renderBlocksList.js +1 -1
  1361. package/mobile/lib/ui-kit/BlocksList/renderBlocksList.js.map +1 -1
  1362. package/mobile/lib/ui-kit/Button/Button.js +1 -1
  1363. package/mobile/lib/ui-kit/Button/Button.js.map +1 -1
  1364. package/mobile/lib/ui-kit/Button/ButtonInner.js +3 -2
  1365. package/mobile/lib/ui-kit/Button/ButtonInner.js.map +1 -1
  1366. package/mobile/lib/ui-kit/Button/ButtonProps.d.ts +1 -7
  1367. package/mobile/lib/ui-kit/Button/ButtonSection.js +5 -10
  1368. package/mobile/lib/ui-kit/Button/ButtonSection.js.map +1 -1
  1369. package/mobile/lib/ui-kit/Button/buttonClassNameConstants.d.ts +1 -0
  1370. package/mobile/lib/ui-kit/Button/buttonClassNameConstants.js +6 -0
  1371. package/mobile/lib/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
  1372. package/mobile/lib/ui-kit/CurrencyInput/CurrencyInput.js +8 -2
  1373. package/mobile/lib/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -1
  1374. package/mobile/lib/ui-kit/CurrencyInput/adjustValue .d.ts +2 -0
  1375. package/mobile/lib/ui-kit/CurrencyInput/adjustValue .js +9 -2
  1376. package/mobile/lib/ui-kit/CurrencyInput/adjustValue .js.map +1 -1
  1377. package/mobile/lib/ui-kit/Foldable/DefaultButton.d.ts +2 -0
  1378. package/mobile/lib/ui-kit/Foldable/DefaultButton.js +10 -0
  1379. package/mobile/lib/ui-kit/Foldable/DefaultButton.js.map +1 -0
  1380. package/mobile/lib/ui-kit/Foldable/FoldButtonProps.d.ts +12 -0
  1381. package/mobile/lib/ui-kit/Foldable/FoldButtonProps.js +2 -0
  1382. package/mobile/lib/ui-kit/Foldable/FoldButtonProps.js.map +1 -0
  1383. package/mobile/lib/ui-kit/Foldable/Foldable.d.ts +11 -17
  1384. package/mobile/lib/ui-kit/Foldable/Foldable.js +22 -14
  1385. package/mobile/lib/ui-kit/Foldable/Foldable.js.map +1 -1
  1386. package/mobile/lib/ui-kit/Icon/Icon.js +4 -5
  1387. package/mobile/lib/ui-kit/Icon/Icon.js.map +1 -1
  1388. package/mobile/lib/ui-kit/Icon/IconProps.d.ts +0 -1
  1389. package/mobile/lib/ui-kit/Img/Img.js +1 -3
  1390. package/mobile/lib/ui-kit/Img/Img.js.map +1 -1
  1391. package/mobile/lib/ui-kit/InnerTable/InnerTableBody.js +1 -1
  1392. package/mobile/lib/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
  1393. package/mobile/lib/ui-kit/InnerTable/InnerTableBodyItem.js +6 -2
  1394. package/mobile/lib/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
  1395. package/mobile/lib/ui-kit/InnerTable/InnerTableButton.js +1 -1
  1396. package/mobile/lib/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
  1397. package/mobile/lib/ui-kit/InnerTable/InnerTableHeader.js +1 -1
  1398. package/mobile/lib/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
  1399. package/mobile/lib/ui-kit/Input/Input.js +12 -3
  1400. package/mobile/lib/ui-kit/Input/Input.js.map +1 -1
  1401. package/mobile/lib/ui-kit/Input/InputProps.d.ts +2 -0
  1402. package/mobile/lib/ui-kit/InputRange/InputRange.js +2 -2
  1403. package/mobile/lib/ui-kit/InputRange/InputRange.js.map +1 -1
  1404. package/mobile/lib/ui-kit/IntersectionObserverTag.d.ts +11 -0
  1405. package/mobile/lib/ui-kit/IntersectionObserverTag.js +20 -0
  1406. package/mobile/lib/ui-kit/IntersectionObserverTag.js.map +1 -0
  1407. package/mobile/lib/ui-kit/List/List.js +13 -8
  1408. package/mobile/lib/ui-kit/List/List.js.map +1 -1
  1409. package/mobile/lib/ui-kit/List/ListItem.d.ts +2 -2
  1410. package/mobile/lib/ui-kit/List/ListItem.js +7 -21
  1411. package/mobile/lib/ui-kit/List/ListItem.js.map +1 -1
  1412. package/mobile/lib/ui-kit/List/ListProps.d.ts +5 -3
  1413. package/mobile/lib/ui-kit/Radio/Radio.js +1 -1
  1414. package/mobile/lib/ui-kit/Radio/Radio.js.map +1 -1
  1415. package/mobile/lib/ui-kit/Select/Select.js +5 -2
  1416. package/mobile/lib/ui-kit/Select/Select.js.map +1 -1
  1417. package/mobile/lib/utils/getSanitizedValue.d.ts +1 -0
  1418. package/mobile/lib/utils/getSanitizedValue.js +2 -0
  1419. package/mobile/lib/utils/getSanitizedValue.js.map +1 -0
  1420. package/mobile/src/components/Accordion/AccordionItem.tsx +50 -26
  1421. package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
  1422. package/mobile/src/components/Blocks.ts +0 -2
  1423. package/mobile/src/components/Calculator/CalculatorContent.ts +1 -1
  1424. package/mobile/src/components/CardTransfer/CardTransfer.tsx +3 -1
  1425. package/mobile/src/components/Catalog/Catalog.tsx +2 -2
  1426. package/mobile/src/components/Catalog/CatalogCard.tsx +1 -35
  1427. package/mobile/src/components/ComparisonTable/ComparisonTable.tsx +49 -120
  1428. package/mobile/src/components/ComparisonTable/TableColumn.tsx +25 -27
  1429. package/mobile/src/components/ContentPage/ContentPageContext.tsx +0 -14
  1430. package/mobile/src/components/ErrorBlock/ErrorBlock.tsx +1 -3
  1431. package/mobile/src/components/ExchangeRateTile/renderInput.tsx +1 -1
  1432. package/mobile/src/components/Footer/Contacts.tsx +1 -0
  1433. package/mobile/src/components/Footer/FooterContent.ts +5 -10
  1434. package/mobile/src/components/Gallery/Gallery.tsx +15 -5
  1435. package/mobile/src/components/Gallery/GalleryCardInner.tsx +60 -44
  1436. package/mobile/src/components/Gallery/GalleryContainer.tsx +10 -2
  1437. package/mobile/src/components/Gallery/GalleryContent.ts +11 -3
  1438. package/mobile/src/components/Header/HeaderSubMenu.tsx +2 -1
  1439. package/mobile/src/components/Headline/constants.ts +11 -1
  1440. package/mobile/src/components/MiniGallery/MiniGalleryContent.ts +1 -0
  1441. package/mobile/src/components/OtherProducts/OtherProductsItem.tsx +18 -9
  1442. package/mobile/src/components/ProductTile/ProductTile.tsx +3 -3
  1443. package/mobile/src/components/Recommendation/RecommendationContent.ts +5 -0
  1444. package/mobile/src/components/SafeDepositRental/RegionsAndBranches.tsx +1 -1
  1445. package/mobile/src/components/SafeDepositRental/SafeBoxCases.tsx +1 -1
  1446. package/mobile/src/components/SafeDepositRental/SafeDepositRental.tsx +34 -7
  1447. package/mobile/src/components/SafeDepositRental/SafeDepositRentalFields.tsx +13 -21
  1448. package/mobile/src/components/SafeDepositRental/SafeDepositRentalForm.tsx +21 -49
  1449. package/mobile/src/components/SafeDepositRental/SafeDepositRentalTotal.tsx +1 -1
  1450. package/mobile/src/components/SafeDepositRental/SafeDepositRentalTypes.ts +0 -3
  1451. package/mobile/src/components/SafeDepositRental/utils.ts +1 -1
  1452. package/mobile/src/components/StepsBlock/StepsBlock.ui.json +8 -0
  1453. package/mobile/src/components/StepsBlock/StepsBlockContent.ts +9 -2
  1454. package/mobile/src/components/StepsBlock/StepsBlockStyleMaps.ts +3 -0
  1455. package/mobile/src/components/StepsBlock/renderItems.tsx +17 -0
  1456. package/mobile/src/components/TariffsTable/EmbeddableCellData.tsx +4 -8
  1457. package/mobile/src/components/TariffsTable/TariffsTableCell.tsx +1 -1
  1458. package/mobile/src/components/TariffsTable/TariffsTableRow.tsx +1 -4
  1459. package/mobile/src/components/TariffsTable/{dataFixture.ts → dataFixture.tsx} +3 -2
  1460. package/mobile/src/components/TariffsTable/utils/getButtonAriaLabel.ts +1 -3
  1461. package/mobile/src/components/Tile/Tile.tsx +3 -5
  1462. package/mobile/src/hooks/useOutsideClick.ts +25 -0
  1463. package/mobile/src/hooks/{useFetchSafeBoxes.ts → useSafeBoxes.ts} +7 -8
  1464. package/mobile/src/icons/IconName.ts +3 -3
  1465. package/mobile/src/model/HeadlineType.ts +10 -0
  1466. package/mobile/src/model/Picture.ts +1 -0
  1467. package/mobile/src/react/setup-fixture.ts +0 -2
  1468. package/mobile/src/ui-kit/BenefitItem/BenefitItem.tsx +5 -5
  1469. package/mobile/src/ui-kit/BlockWrapper.tsx +5 -9
  1470. package/mobile/src/ui-kit/BlocksList/renderBlocksList.tsx +1 -1
  1471. package/mobile/src/ui-kit/Button/Button.tsx +1 -1
  1472. package/mobile/src/ui-kit/Button/ButtonInner.tsx +4 -3
  1473. package/mobile/src/ui-kit/Button/ButtonProps.ts +1 -7
  1474. package/mobile/src/ui-kit/Button/ButtonSection.tsx +19 -41
  1475. package/mobile/src/ui-kit/Button/buttonClassNameConstants.ts +7 -0
  1476. package/mobile/src/ui-kit/CurrencyInput/CurrencyInput.tsx +19 -3
  1477. package/mobile/src/ui-kit/CurrencyInput/adjustValue .ts +13 -2
  1478. package/mobile/src/ui-kit/Foldable/DefaultButton.tsx +27 -0
  1479. package/mobile/src/ui-kit/Foldable/FoldButtonProps.ts +13 -0
  1480. package/mobile/src/ui-kit/Foldable/Foldable.tsx +66 -70
  1481. package/mobile/src/ui-kit/Icon/Icon.tsx +5 -6
  1482. package/mobile/src/ui-kit/Icon/IconProps.ts +0 -1
  1483. package/mobile/src/ui-kit/Img/Img.tsx +1 -13
  1484. package/mobile/src/ui-kit/InnerTable/InnerTableBody.tsx +1 -1
  1485. package/mobile/src/ui-kit/InnerTable/InnerTableBodyItem.tsx +14 -5
  1486. package/mobile/src/ui-kit/InnerTable/InnerTableButton.tsx +1 -1
  1487. package/mobile/src/ui-kit/InnerTable/InnerTableHeader.tsx +4 -3
  1488. package/mobile/src/ui-kit/Input/Input.tsx +18 -2
  1489. package/mobile/src/ui-kit/Input/InputProps.ts +2 -0
  1490. package/mobile/src/ui-kit/InputRange/InputRange.tsx +2 -3
  1491. package/mobile/src/ui-kit/IntersectionObserverTag.tsx +49 -0
  1492. package/mobile/src/ui-kit/List/List.tsx +29 -18
  1493. package/mobile/src/ui-kit/List/ListItem.tsx +14 -26
  1494. package/mobile/src/ui-kit/List/ListProps.ts +5 -3
  1495. package/mobile/src/ui-kit/Radio/Radio.tsx +3 -2
  1496. package/mobile/src/ui-kit/Select/Select.tsx +8 -3
  1497. package/mobile/src/utils/getSanitizedValue.ts +1 -0
  1498. package/package.json +2 -2
  1499. package/src/components/Accordion/AccordionItem.mobile.tsx +50 -26
  1500. package/src/components/Accordion/AccordionItem.tsx +38 -27
  1501. package/src/components/BenefitsBlock/BenefitsBlock.fixture.tsx +4 -4
  1502. package/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
  1503. package/src/components/Blocks.mobile.ts +0 -2
  1504. package/src/components/Calculator/CalculatorContent.ts +1 -1
  1505. package/src/components/CardTransfer/CardTransfer.tsx +3 -1
  1506. package/src/components/Catalog/Catalog.fixture.tsx +10 -3
  1507. package/src/components/Catalog/Catalog.tsx +2 -2
  1508. package/src/components/Catalog/CatalogCard.tsx +1 -35
  1509. package/src/components/ComparisonTable/ComparisonTable.mobile.tsx +49 -120
  1510. package/src/components/ComparisonTable/ComparisonTable.tsx +1 -1
  1511. package/src/components/ComparisonTable/TableCell.tsx +2 -2
  1512. package/src/components/ComparisonTable/TableColumn.tsx +25 -27
  1513. package/src/components/ContentPage/ContentPageContext.tsx +0 -14
  1514. package/src/components/ErrorBlock/ErrorBlock.tsx +1 -3
  1515. package/src/components/ExchangeRateTile/renderInput.tsx +1 -1
  1516. package/src/components/Footer/Contacts.tsx +1 -0
  1517. package/src/components/Footer/FooterContent.ts +5 -10
  1518. package/src/components/Gallery/Gallery.fixture.tsx +2 -2
  1519. package/src/components/Gallery/Gallery.mobile.tsx +15 -5
  1520. package/src/components/Gallery/GalleryCardInner.tsx +60 -44
  1521. package/src/components/Gallery/GalleryContainer.tsx +10 -2
  1522. package/src/components/Gallery/GalleryContent.ts +11 -3
  1523. package/src/components/Header/HeaderSubMenu.tsx +2 -1
  1524. package/src/components/Headline/constants.ts +11 -1
  1525. package/src/components/MiniGallery/MiniGallery.fixture.tsx +45 -0
  1526. package/src/components/MiniGallery/MiniGalleryContent.ts +1 -0
  1527. package/src/components/MobileAppTile/MobileAppTile.fixture.tsx +14 -4
  1528. package/src/components/MobileAppTile/MobileAppTile.tsx +3 -6
  1529. package/src/components/OtherProducts/OtherProductsItem.tsx +18 -9
  1530. package/src/components/ProductGallery/ProductGallery.tsx +2 -2
  1531. package/src/components/ProductTile/ProductTile.tsx +3 -3
  1532. package/src/components/Recommendation/RecommendationContent.ts +5 -0
  1533. package/src/components/SafeDepositRental/RegionsAndBranches.tsx +1 -1
  1534. package/src/components/SafeDepositRental/SafeBoxCases.tsx +1 -1
  1535. package/src/components/SafeDepositRental/SafeDepositRental.tsx +34 -7
  1536. package/src/components/SafeDepositRental/SafeDepositRentalFields.tsx +13 -21
  1537. package/src/components/SafeDepositRental/SafeDepositRentalForm.tsx +21 -49
  1538. package/src/components/SafeDepositRental/SafeDepositRentalTotal.tsx +1 -1
  1539. package/src/components/SafeDepositRental/SafeDepositRentalTypes.ts +0 -3
  1540. package/src/components/SafeDepositRental/utils.ts +1 -1
  1541. package/src/components/StepsBlock/StepsBlock.fixture.tsx +31 -3
  1542. package/src/components/StepsBlock/StepsBlock.tsx +11 -6
  1543. package/src/components/StepsBlock/StepsBlock.ui.json +8 -0
  1544. package/src/components/StepsBlock/StepsBlockContent.ts +9 -2
  1545. package/src/components/StepsBlock/StepsBlockStyleMaps.ts +3 -0
  1546. package/src/components/StepsBlock/renderItems.tsx +17 -0
  1547. package/src/components/TariffsTable/EmbeddableCellData.mobile.tsx +4 -8
  1548. package/src/components/TariffsTable/EmbeddableCellData.tsx +5 -10
  1549. package/src/components/TariffsTable/TariffsTable.tsx +3 -5
  1550. package/src/components/TariffsTable/TariffsTableCell.tsx +1 -1
  1551. package/src/components/TariffsTable/TariffsTableRow.tsx +1 -4
  1552. package/src/components/TariffsTable/{dataFixture.ts → dataFixture.tsx} +3 -2
  1553. package/src/components/TariffsTable/utils/getButtonAriaLabel.ts +1 -3
  1554. package/src/components/Tile/Tile.tsx +3 -5
  1555. package/src/hooks/useOutsideClick.ts +25 -0
  1556. package/src/hooks/{useFetchSafeBoxes.ts → useSafeBoxes.ts} +7 -8
  1557. package/src/icons/IconName.ts +34 -92
  1558. package/src/model/HeadlineType.ts +10 -0
  1559. package/src/model/Picture.ts +1 -0
  1560. package/src/react/setup-fixture.ts +0 -2
  1561. package/src/ui-kit/BenefitItem/BenefitItem.tsx +5 -5
  1562. package/src/ui-kit/BlockWrapper.tsx +5 -9
  1563. package/src/ui-kit/BlocksList/renderBlocksList.tsx +1 -1
  1564. package/src/ui-kit/Button/Button.mobile.tsx +1 -1
  1565. package/src/ui-kit/Button/Button.tsx +55 -27
  1566. package/src/ui-kit/Button/ButtonInner.tsx +4 -3
  1567. package/src/ui-kit/Button/ButtonProps.ts +1 -7
  1568. package/src/ui-kit/Button/ButtonSection.tsx +19 -41
  1569. package/src/ui-kit/Button/buttonClassNameConstants.ts +7 -0
  1570. package/src/ui-kit/CurrencyInput/CurrencyInput.tsx +19 -3
  1571. package/src/ui-kit/CurrencyInput/adjustValue .ts +13 -2
  1572. package/src/ui-kit/Foldable/DefaultButton.tsx +27 -0
  1573. package/src/ui-kit/Foldable/FoldButtonProps.ts +13 -0
  1574. package/src/ui-kit/Foldable/Foldable.tsx +66 -70
  1575. package/src/ui-kit/Icon/Icon.tsx +5 -6
  1576. package/src/ui-kit/Icon/IconProps.ts +0 -1
  1577. package/src/ui-kit/Img/Img.mobile.tsx +1 -13
  1578. package/src/ui-kit/Img/Img.tsx +1 -17
  1579. package/src/ui-kit/InnerTable/InnerTableBody.tsx +1 -1
  1580. package/src/ui-kit/InnerTable/InnerTableBodyItem.tsx +14 -5
  1581. package/src/ui-kit/InnerTable/InnerTableButton.tsx +1 -1
  1582. package/src/ui-kit/InnerTable/InnerTableHeader.tsx +4 -3
  1583. package/src/ui-kit/Input/Input.tsx +18 -2
  1584. package/src/ui-kit/Input/InputProps.ts +2 -0
  1585. package/src/ui-kit/InputRange/InputRange.tsx +2 -3
  1586. package/src/ui-kit/IntersectionObserverTag.tsx +49 -0
  1587. package/src/ui-kit/List/List.fixture.tsx +1 -21
  1588. package/src/ui-kit/List/List.tsx +29 -18
  1589. package/src/ui-kit/List/ListItem.tsx +14 -26
  1590. package/src/ui-kit/List/ListProps.ts +5 -3
  1591. package/src/ui-kit/Radio/Radio.tsx +3 -2
  1592. package/src/ui-kit/Select/Select.tsx +8 -3
  1593. package/src/utils/getSanitizedValue.ts +1 -0
  1594. package/tailwind.config.cjs +1 -1
  1595. package/dist/components/Accordion/AccordionItemInner.d.ts +0 -2
  1596. package/dist/components/Accordion/AccordionItemInner.js +0 -9
  1597. package/dist/components/Accordion/AccordionItemInner.js.map +0 -1
  1598. package/dist/components/Accordion/AccordionItemInner.mobile.d.ts +0 -2
  1599. package/dist/components/Accordion/AccordionItemInner.mobile.js +0 -9
  1600. package/dist/components/Accordion/AccordionItemInner.mobile.js.map +0 -1
  1601. package/dist/components/Accordion/useActiveHandler.d.ts +0 -7
  1602. package/dist/components/Accordion/useActiveHandler.js +0 -22
  1603. package/dist/components/Accordion/useActiveHandler.js.map +0 -1
  1604. package/dist/hooks/useFetchSafeBoxes.js.map +0 -1
  1605. package/dist/react/IntersectionObserverTag.d.ts +0 -2
  1606. package/dist/react/IntersectionObserverTag.js +0 -43
  1607. package/dist/react/IntersectionObserverTag.js.map +0 -1
  1608. package/dist/ui-kit/Foldable/useActiveHandler.d.ts +0 -9
  1609. package/dist/ui-kit/Foldable/useActiveHandler.js +0 -23
  1610. package/dist/ui-kit/Foldable/useActiveHandler.js.map +0 -1
  1611. package/lib/components/Accordion/AccordionItemInner.d.ts +0 -2
  1612. package/lib/components/Accordion/AccordionItemInner.js +0 -7
  1613. package/lib/components/Accordion/AccordionItemInner.js.map +0 -1
  1614. package/lib/components/Accordion/AccordionItemInner.mobile.d.ts +0 -2
  1615. package/lib/components/Accordion/AccordionItemInner.mobile.js +0 -7
  1616. package/lib/components/Accordion/AccordionItemInner.mobile.js.map +0 -1
  1617. package/lib/components/Accordion/useActiveHandler.d.ts +0 -7
  1618. package/lib/components/Accordion/useActiveHandler.js +0 -19
  1619. package/lib/components/Accordion/useActiveHandler.js.map +0 -1
  1620. package/lib/hooks/useFetchSafeBoxes.js.map +0 -1
  1621. package/lib/react/IntersectionObserverTag.d.ts +0 -2
  1622. package/lib/react/IntersectionObserverTag.js +0 -17
  1623. package/lib/react/IntersectionObserverTag.js.map +0 -1
  1624. package/lib/ui-kit/Foldable/useActiveHandler.d.ts +0 -9
  1625. package/lib/ui-kit/Foldable/useActiveHandler.js +0 -20
  1626. package/lib/ui-kit/Foldable/useActiveHandler.js.map +0 -1
  1627. package/mobile/dist/components/Accordion/AccordionItemInner.d.ts +0 -2
  1628. package/mobile/dist/components/Accordion/AccordionItemInner.js +0 -9
  1629. package/mobile/dist/components/Accordion/AccordionItemInner.js.map +0 -1
  1630. package/mobile/dist/components/Accordion/useActiveHandler.d.ts +0 -7
  1631. package/mobile/dist/components/Accordion/useActiveHandler.js +0 -22
  1632. package/mobile/dist/components/Accordion/useActiveHandler.js.map +0 -1
  1633. package/mobile/dist/hooks/useFetchSafeBoxes.js.map +0 -1
  1634. package/mobile/dist/react/IntersectionObserverTag.d.ts +0 -2
  1635. package/mobile/dist/react/IntersectionObserverTag.js +0 -43
  1636. package/mobile/dist/react/IntersectionObserverTag.js.map +0 -1
  1637. package/mobile/dist/ui-kit/Foldable/useActiveHandler.d.ts +0 -9
  1638. package/mobile/dist/ui-kit/Foldable/useActiveHandler.js +0 -23
  1639. package/mobile/dist/ui-kit/Foldable/useActiveHandler.js.map +0 -1
  1640. package/mobile/lib/components/Accordion/AccordionItemInner.d.ts +0 -2
  1641. package/mobile/lib/components/Accordion/AccordionItemInner.js +0 -7
  1642. package/mobile/lib/components/Accordion/AccordionItemInner.js.map +0 -1
  1643. package/mobile/lib/components/Accordion/useActiveHandler.d.ts +0 -7
  1644. package/mobile/lib/components/Accordion/useActiveHandler.js +0 -19
  1645. package/mobile/lib/components/Accordion/useActiveHandler.js.map +0 -1
  1646. package/mobile/lib/hooks/useFetchSafeBoxes.js.map +0 -1
  1647. package/mobile/lib/react/IntersectionObserverTag.d.ts +0 -2
  1648. package/mobile/lib/react/IntersectionObserverTag.js +0 -17
  1649. package/mobile/lib/react/IntersectionObserverTag.js.map +0 -1
  1650. package/mobile/lib/ui-kit/Foldable/useActiveHandler.d.ts +0 -9
  1651. package/mobile/lib/ui-kit/Foldable/useActiveHandler.js +0 -20
  1652. package/mobile/lib/ui-kit/Foldable/useActiveHandler.js.map +0 -1
  1653. package/mobile/src/components/Accordion/AccordionItemInner.tsx +0 -11
  1654. package/mobile/src/components/Accordion/useActiveHandler.ts +0 -25
  1655. package/mobile/src/react/IntersectionObserverTag.tsx +0 -33
  1656. package/mobile/src/ui-kit/Foldable/useActiveHandler.ts +0 -33
  1657. package/src/components/Accordion/AccordionItemInner.mobile.tsx +0 -11
  1658. package/src/components/Accordion/AccordionItemInner.tsx +0 -11
  1659. package/src/components/Accordion/useActiveHandler.ts +0 -25
  1660. package/src/react/IntersectionObserverTag.tsx +0 -33
  1661. package/src/ui-kit/Foldable/useActiveHandler.ts +0 -33
@@ -242,220 +242,32 @@
242
242
  return (jsx(Tag, { className: `font-sans font-medium m-0 ${HeadingClass[headingType]} ${className || ''}`, children: title }));
243
243
  });
244
244
 
245
- // Generated. Do not touch
246
- /* eslint-disable max-len, max-lines */
247
- const IconInverseMap = {
248
- ActualBalanceIcon: false, AirPlaneIcon: false, AppleIcon: true, ArrowDownIcon: true, ArrowLeftIcon: true, ArrowUpIcon: true, AtmIcon: true, BankIcon: true, BuildingIcon: true, BurgerIcon: true, Calendar2Icon: true, CalendarCircleIcon: true, CalendarIcon: true, CalendarTickIcon: true, Car2Icon: true, CardIcon: true, CardPosIcon: true, CardTickIcon: true, CardWithGemIcon: false, CarIcon: false, ChartSquareIcon: true, CinemaIcon: false, ClockIcon: false, CloseIcon: true, ComfortableCompIcon: false, CreditCardsIcon: false, DiscountShapeIcon: true, DocDownloadIcon: true, DocIcon: true, DocIconMonoColor: true, DocsIcon: false, DocumentTextIcon: true, DollarIcon: false, DoneIcon: false, DoneSimpleIcon: true, EarthIcon: false, EmptyWalletChangeIcon: true, EmptyWalletIcon: true, EuroIcon: false, GeolocationIcon: true, GlassIcon: false, GlobalIcon: true, GpsIcon: true, GridIcon: true, InterestGrowthIcon: false, InterestIcon: true, JCBIcon: false, LogoIcon: true, LoupeIcon: true, MapMarkerClusterIcon: false, MapMarkerSingleIcon: false, MasterCardIcon: false, MinusIcon: true, MirIcon: false, MoneyIcon: true, MoneyInsuranceIcon: false, MoneysIcon: true, MonitorMobileIcon: true, NewDocIcon: false, OfficeIcon: false, OkIcon: true, PackA4Icon: false, PassSendIcon: false, PercentageRoundIcon: true, PercentageSquareIcon: true, PersonalCardIcon: true, PlayMarketIcon: true, PlusIcon: true, PowerIcon: false, Profile2UserIcon: true, ProfileIcon: true, PumpkinIcon: false, RoundRubleIcon: true, SafeIcon: true, ShieldTickIcon: true, SignDocsIcon: false, SmallClockIcon: true, SoundIcon: false, StrongBoxIcon: true, TelegramIcon: true, UnionPayIcon: false, UserSquareIcon: true, UserTickIcon: true, VisaIcon: false, VKIcon: true, WalletAdd2Icon: true, WalletAddIcon: true, WalletIcon: true, WalletWithMoneyIcon: true, WateringCanIcon: false
249
- };
250
- var IconMap;
251
- (function (IconMap) {
252
- IconMap["ActualBalanceIcon"] = "ActualBalanceIcon";
253
- IconMap["AirPlaneIcon"] = "AirPlaneIcon";
254
- IconMap["AppleIcon"] = "AppleIcon";
255
- IconMap["ArrowDownIcon"] = "ArrowDownIcon";
256
- IconMap["ArrowLeftIcon"] = "ArrowLeftIcon";
257
- IconMap["ArrowUpIcon"] = "ArrowUpIcon";
258
- IconMap["AtmIcon"] = "AtmIcon";
259
- IconMap["BankIcon"] = "BankIcon";
260
- IconMap["BuildingIcon"] = "BuildingIcon";
261
- IconMap["BurgerIcon"] = "BurgerIcon";
262
- IconMap["Calendar2Icon"] = "Calendar2Icon";
263
- IconMap["CalendarCircleIcon"] = "CalendarCircleIcon";
264
- IconMap["CalendarIcon"] = "CalendarIcon";
265
- IconMap["CalendarTickIcon"] = "CalendarTickIcon";
266
- IconMap["Car2Icon"] = "Car2Icon";
267
- IconMap["CardIcon"] = "CardIcon";
268
- IconMap["CardPosIcon"] = "CardPosIcon";
269
- IconMap["CardTickIcon"] = "CardTickIcon";
270
- IconMap["CardWithGemIcon"] = "CardWithGemIcon";
271
- IconMap["CarIcon"] = "CarIcon";
272
- IconMap["ChartSquareIcon"] = "ChartSquareIcon";
273
- IconMap["CinemaIcon"] = "CinemaIcon";
274
- IconMap["ClockIcon"] = "ClockIcon";
275
- IconMap["CloseIcon"] = "CloseIcon";
276
- IconMap["ComfortableCompIcon"] = "ComfortableCompIcon";
277
- IconMap["CreditCardsIcon"] = "CreditCardsIcon";
278
- IconMap["DiscountShapeIcon"] = "DiscountShapeIcon";
279
- IconMap["DocDownloadIcon"] = "DocDownloadIcon";
280
- IconMap["DocIcon"] = "DocIcon";
281
- IconMap["DocIconMonoColor"] = "DocIconMonoColor";
282
- IconMap["DocsIcon"] = "DocsIcon";
283
- IconMap["DocumentTextIcon"] = "DocumentTextIcon";
284
- IconMap["DollarIcon"] = "DollarIcon";
285
- IconMap["DoneIcon"] = "DoneIcon";
286
- IconMap["DoneSimpleIcon"] = "DoneSimpleIcon";
287
- IconMap["EarthIcon"] = "EarthIcon";
288
- IconMap["EmptyWalletChangeIcon"] = "EmptyWalletChangeIcon";
289
- IconMap["EmptyWalletIcon"] = "EmptyWalletIcon";
290
- IconMap["EuroIcon"] = "EuroIcon";
291
- IconMap["GeolocationIcon"] = "GeolocationIcon";
292
- IconMap["GlassIcon"] = "GlassIcon";
293
- IconMap["GlobalIcon"] = "GlobalIcon";
294
- IconMap["GpsIcon"] = "GpsIcon";
295
- IconMap["GridIcon"] = "GridIcon";
296
- IconMap["InterestGrowthIcon"] = "InterestGrowthIcon";
297
- IconMap["InterestIcon"] = "InterestIcon";
298
- IconMap["JCBIcon"] = "JCBIcon";
299
- IconMap["LogoIcon"] = "LogoIcon";
300
- IconMap["LoupeIcon"] = "LoupeIcon";
301
- IconMap["MapMarkerClusterIcon"] = "MapMarkerClusterIcon";
302
- IconMap["MapMarkerSingleIcon"] = "MapMarkerSingleIcon";
303
- IconMap["MasterCardIcon"] = "MasterCardIcon";
304
- IconMap["MinusIcon"] = "MinusIcon";
305
- IconMap["MirIcon"] = "MirIcon";
306
- IconMap["MoneyIcon"] = "MoneyIcon";
307
- IconMap["MoneyInsuranceIcon"] = "MoneyInsuranceIcon";
308
- IconMap["MoneysIcon"] = "MoneysIcon";
309
- IconMap["MonitorMobileIcon"] = "MonitorMobileIcon";
310
- IconMap["NewDocIcon"] = "NewDocIcon";
311
- IconMap["OfficeIcon"] = "OfficeIcon";
312
- IconMap["OkIcon"] = "OkIcon";
313
- IconMap["PackA4Icon"] = "PackA4Icon";
314
- IconMap["PassSendIcon"] = "PassSendIcon";
315
- IconMap["PercentageRoundIcon"] = "PercentageRoundIcon";
316
- IconMap["PercentageSquareIcon"] = "PercentageSquareIcon";
317
- IconMap["PersonalCardIcon"] = "PersonalCardIcon";
318
- IconMap["PlayMarketIcon"] = "PlayMarketIcon";
319
- IconMap["PlusIcon"] = "PlusIcon";
320
- IconMap["PowerIcon"] = "PowerIcon";
321
- IconMap["Profile2UserIcon"] = "Profile2UserIcon";
322
- IconMap["ProfileIcon"] = "ProfileIcon";
323
- IconMap["PumpkinIcon"] = "PumpkinIcon";
324
- IconMap["RoundRubleIcon"] = "RoundRubleIcon";
325
- IconMap["SafeIcon"] = "SafeIcon";
326
- IconMap["ShieldTickIcon"] = "ShieldTickIcon";
327
- IconMap["SignDocsIcon"] = "SignDocsIcon";
328
- IconMap["SmallClockIcon"] = "SmallClockIcon";
329
- IconMap["SoundIcon"] = "SoundIcon";
330
- IconMap["StrongBoxIcon"] = "StrongBoxIcon";
331
- IconMap["TelegramIcon"] = "TelegramIcon";
332
- IconMap["UnionPayIcon"] = "UnionPayIcon";
333
- IconMap["UserSquareIcon"] = "UserSquareIcon";
334
- IconMap["UserTickIcon"] = "UserTickIcon";
335
- IconMap["VisaIcon"] = "VisaIcon";
336
- IconMap["VKIcon"] = "VKIcon";
337
- IconMap["WalletAdd2Icon"] = "WalletAdd2Icon";
338
- IconMap["WalletAddIcon"] = "WalletAddIcon";
339
- IconMap["WalletIcon"] = "WalletIcon";
340
- IconMap["WalletWithMoneyIcon"] = "WalletWithMoneyIcon";
341
- IconMap["WateringCanIcon"] = "WateringCanIcon";
342
- })(IconMap || (IconMap = {}));
343
- var IconTitleMap;
344
- (function (IconTitleMap) {
345
- IconTitleMap["ActualBalanceIcon"] = "\u0414\u0435\u043D\u044C\u0433\u0438";
346
- IconTitleMap["AirPlaneIcon"] = "\u0421\u0430\u043C\u043E\u043B\u0451\u0442";
347
- IconTitleMap["AppleIcon"] = "\u041B\u043E\u0433\u043E \u00ABApple\u00BB";
348
- IconTitleMap["ArrowDownIcon"] = "\u0421\u0442\u0440\u0435\u043B\u043A\u0430 '\u0412\u043D\u0438\u0437'";
349
- IconTitleMap["ArrowLeftIcon"] = "\u0421\u0442\u0440\u0435\u043B\u043A\u0430";
350
- IconTitleMap["ArrowUpIcon"] = "\u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u0432\u0435\u0440\u0445";
351
- IconTitleMap["AtmIcon"] = "\u0411\u0430\u043D\u043A\u043E\u043C\u0430\u0442";
352
- IconTitleMap["BankIcon"] = "\u0411\u0430\u043D\u043A";
353
- IconTitleMap["BuildingIcon"] = "\u0417\u0434\u0430\u043D\u0438\u0435 \u0441 \u0434\u0435\u0440\u0435\u0432\u043E\u043C";
354
- IconTitleMap["BurgerIcon"] = "\u0411\u0443\u0440\u0433\u0435\u0440";
355
- IconTitleMap["Calendar2Icon"] = "\u041A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044C 2";
356
- IconTitleMap["CalendarCircleIcon"] = "\u0421\u043A\u0440\u0443\u0433\u043B\u0451\u043D\u043D\u044B\u0439 \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044C";
357
- IconTitleMap["CalendarIcon"] = "\u041A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044C";
358
- IconTitleMap["CalendarTickIcon"] = "\u041A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044C \u0441 \u0433\u0430\u043B\u043E\u0447\u043A\u043E\u0439";
359
- IconTitleMap["Car2Icon"] = "\u041C\u0430\u0448\u0438\u043D\u04302";
360
- IconTitleMap["CardIcon"] = "\u041A\u0440\u0435\u0434. \u043A\u0430\u0440\u0442\u0430";
361
- IconTitleMap["CardPosIcon"] = "\u041A\u0440\u0435\u0434. \u043A\u0430\u0440\u0442\u0430 \u043F\u043E\u0434 \u043D\u0430\u043A\u043B\u043E\u043D\u043E\u043C";
362
- IconTitleMap["CardTickIcon"] = "\u041A\u0440\u0435\u0434. \u043A\u0430\u0440\u0442\u0430 \u0441 \u0433\u0430\u043B\u043E\u0447\u043A\u043E\u0439";
363
- IconTitleMap["CardWithGemIcon"] = "\u041A\u0430\u0440\u0442\u0430 \u0441 \u0434\u0440\u0430\u0433\u043E\u0446\u0435\u043D\u043D\u043E\u0441\u0442\u044F\u043C\u0438";
364
- IconTitleMap["CarIcon"] = "\u041C\u0430\u0448\u0438\u043D\u0430";
365
- IconTitleMap["ChartSquareIcon"] = "\u0414\u0435\u043D\u044C\u0433\u0438 \u0432\u043D\u0443\u0442\u0440\u0438 \u043A\u043E\u0448\u0435\u043B\u044C\u043A\u0430";
366
- IconTitleMap["CinemaIcon"] = "\u041A\u0438\u043D\u043E\u0442\u0435\u0430\u0442\u0440";
367
- IconTitleMap["ClockIcon"] = "\u0427\u0430\u0441\u044B";
368
- IconTitleMap["CloseIcon"] = "\u041A\u0440\u0435\u0441\u0442\u0438\u043A";
369
- IconTitleMap["ComfortableCompIcon"] = "\u041A\u0440\u0435\u0441\u043B\u043E";
370
- IconTitleMap["CreditCardsIcon"] = "\u041A\u0440\u0435\u0434\u0438\u0442\u043D\u044B\u0435 \u043A\u0430\u0440\u0442\u044B";
371
- IconTitleMap["DiscountShapeIcon"] = "\u0421\u043A\u0438\u0434\u043A\u0430";
372
- IconTitleMap["DocDownloadIcon"] = "\u0421\u043A\u0430\u0447\u0430\u0442\u044C \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442";
373
- IconTitleMap["DocIcon"] = "\u0414\u043E\u043A\u0443\u043C\u0435\u043D\u0442";
374
- IconTitleMap["DocIconMonoColor"] = "\u0414\u043E\u043A\u0443\u043C\u0435\u043D\u0442 (\u043E\u0434\u043D\u043E\u0446\u0432\u0435\u0442\u043D\u044B\u0439)";
375
- IconTitleMap["DocsIcon"] = "\u0414\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u044B";
376
- IconTitleMap["DocumentTextIcon"] = "\u0414\u043E\u043A\u0443\u043C\u0435\u043D\u0442 \u0441 \u0442\u0435\u043A\u0441\u0442\u043E\u043C";
377
- IconTitleMap["DollarIcon"] = "\u0414\u043E\u043B\u043B\u0430\u0440";
378
- IconTitleMap["DoneIcon"] = "\u0417\u0435\u043B\u0451\u043D\u0430\u044F '\u0433\u0430\u043B\u043E\u0447\u043A\u0430' \u0432 \u043A\u0440\u0443\u0433\u0435";
379
- IconTitleMap["DoneSimpleIcon"] = "\u0417\u0435\u043B\u0451\u043D\u0430\u044F '\u0433\u0430\u043B\u043E\u0447\u043A\u0430'";
380
- IconTitleMap["EarthIcon"] = "\u0417\u0435\u043C\u043B\u044F";
381
- IconTitleMap["EmptyWalletChangeIcon"] = "\u041F\u0443\u0441\u0442\u043E\u0439 \u043A\u043E\u0448\u0435\u043B\u0451\u043A \u0441 \u0432\u043E\u0437\u0432\u0440\u0430\u0442\u043E\u043C";
382
- IconTitleMap["EmptyWalletIcon"] = "\u041F\u0443\u0441\u0442\u043E\u0439 \u043A\u043E\u0448\u0435\u043B\u0451\u043A";
383
- IconTitleMap["EuroIcon"] = "\u0415\u0432\u0440\u043E";
384
- IconTitleMap["GeolocationIcon"] = "\u0413\u0435\u043E\u043B\u043E\u043A\u0430\u0446\u0438\u044F";
385
- IconTitleMap["GlassIcon"] = "\u0417\u0435\u0440\u043A\u0430\u043B\u043E";
386
- IconTitleMap["GlobalIcon"] = "\u0413\u043B\u043E\u0431\u0443\u0441";
387
- IconTitleMap["GpsIcon"] = "Gps";
388
- IconTitleMap["GridIcon"] = "\u0421\u0435\u0442\u043A\u0430 (\u0431\u0435\u043B\u0430\u044F)";
389
- IconTitleMap["InterestGrowthIcon"] = "\u0414\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u0430 \u0440\u043E\u0441\u0442\u0430";
390
- IconTitleMap["InterestIcon"] = "\u0421\u043A\u0438\u0434\u043A\u0430";
391
- IconTitleMap["JCBIcon"] = "JCB";
392
- IconTitleMap["LogoIcon"] = "Logo";
393
- IconTitleMap["LoupeIcon"] = "\u041B\u0443\u043F\u0430";
394
- IconTitleMap["MapMarkerClusterIcon"] = "\u041C\u0430\u0440\u043A\u0435\u0440 \u043A\u0430\u0440\u0442\u044B";
395
- IconTitleMap["MapMarkerSingleIcon"] = "\u041C\u0430\u0440\u043A\u0435\u0440 \u043A\u0430\u0440\u0442\u044B \u0420\u0421\u0425\u0411";
396
- IconTitleMap["MasterCardIcon"] = "MasterCard";
397
- IconTitleMap["MinusIcon"] = "\u041C\u0438\u043D\u0443\u0441";
398
- IconTitleMap["MirIcon"] = "\u041C\u0418\u0420";
399
- IconTitleMap["MoneyIcon"] = "\u0414\u0435\u043D\u044C\u0433\u0438";
400
- IconTitleMap["MoneyInsuranceIcon"] = "\u0414\u0435\u043D\u0435\u0436\u043D\u043E\u0435 \u0441\u0442\u0440\u0430\u0445\u043E\u0432\u0430\u043D\u0438\u0435";
401
- IconTitleMap["MoneysIcon"] = "\u041A\u0443\u043F\u044E\u0440\u044B";
402
- IconTitleMap["MonitorMobileIcon"] = "\u041C\u043E\u043D\u0438\u0442\u043E\u0440 \u0438 \u043C\u043E\u0431\u0438\u043B\u044C\u043D\u044B\u0439";
403
- IconTitleMap["NewDocIcon"] = "\u041D\u043E\u0432\u044B\u0439 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442";
404
- IconTitleMap["OfficeIcon"] = "\u041E\u0444\u0438\u0441";
405
- IconTitleMap["OkIcon"] = "\u041B\u043E\u0433\u043E \u00AB\u041E\u0434\u043D\u043E\u043A\u043B\u0430\u0441\u0441\u043D\u0438\u043A\u0438\u00BB";
406
- IconTitleMap["PackA4Icon"] = "\u041F\u0430\u0447\u043A\u0430 \u0431\u0443\u043C\u0430\u0433\u0438 \u04104";
407
- IconTitleMap["PassSendIcon"] = "\u0411\u0438\u0437\u043D\u0435\u0441";
408
- IconTitleMap["PercentageRoundIcon"] = "\u041F\u0440\u043E\u0446\u0435\u043D\u0442\u044B (\u043A\u0440\u0443\u0433.)";
409
- IconTitleMap["PercentageSquareIcon"] = "\u041F\u0440\u043E\u0446\u0435\u043D\u0442\u044B";
410
- IconTitleMap["PersonalCardIcon"] = "\u041F\u0435\u0440\u0441\u043E\u043D\u0430\u043B\u044C\u043D\u0430\u044F \u043A\u0430\u0440\u0442\u0430";
411
- IconTitleMap["PlayMarketIcon"] = "\u041B\u043E\u0433\u043E \u00ABPlayMarket\u00BB";
412
- IconTitleMap["PlusIcon"] = "\u041F\u043B\u044E\u0441";
413
- IconTitleMap["PowerIcon"] = "\u0429\u0438\u0442";
414
- IconTitleMap["Profile2UserIcon"] = "\u041F\u0440\u043E\u0444\u0438\u043B\u044C, 2 \u043F\u0435\u0440\u0441\u043E\u043D\u044B";
415
- IconTitleMap["ProfileIcon"] = "\u041F\u0440\u043E\u0444\u0438\u043B\u044C";
416
- IconTitleMap["PumpkinIcon"] = "\u0422\u044B\u043A\u0432\u0430";
417
- IconTitleMap["RoundRubleIcon"] = "\u0420\u0443\u0431\u043B\u044C (\u043A\u0440\u0443\u0433.)";
418
- IconTitleMap["SafeIcon"] = "\u0421\u0435\u0439\u0444";
419
- IconTitleMap["ShieldTickIcon"] = "\u0411\u0435\u0437\u043E\u043F\u0430\u0441\u043D\u043E\u0441\u0442\u044C";
420
- IconTitleMap["SignDocsIcon"] = "\u041F\u043E\u0434\u043F\u0438\u0441\u0430\u043D\u043D\u044B\u0435 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u044B";
421
- IconTitleMap["SmallClockIcon"] = "\u041C\u0430\u043B\u0435\u043D\u044C\u043A\u0438\u0435 \u0447\u0430\u0441\u044B";
422
- IconTitleMap["SoundIcon"] = "\u0417\u0432\u0443\u043A";
423
- IconTitleMap["StrongBoxIcon"] = "\u042F\u0449\u0438\u043A \u0441 \u0437\u0430\u043C\u043E\u0447\u043D\u043E\u0439 \u0441\u043A\u0432\u0430\u0436\u0438\u043D\u043E\u0439";
424
- IconTitleMap["TelegramIcon"] = "\u041B\u043E\u0433\u043E \u00ABTelegram\u00BB";
425
- IconTitleMap["UnionPayIcon"] = "UnionPay";
426
- IconTitleMap["UserSquareIcon"] = "\u041F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C \u0432 \u0440\u0430\u043C\u043A\u0435";
427
- IconTitleMap["UserTickIcon"] = "\u041F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C";
428
- IconTitleMap["VisaIcon"] = "Visa";
429
- IconTitleMap["VKIcon"] = "\u041B\u043E\u0433\u043E \u00ABVK\u00BB";
430
- IconTitleMap["WalletAdd2Icon"] = "\u041F\u043E\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u0435 \u043A\u0430\u0440\u0442\u044B";
431
- IconTitleMap["WalletAddIcon"] = "\u041A\u043E\u0448\u0435\u043B\u0451\u043A \u0441 \u043F\u043B\u044E\u0441\u043E\u043C";
432
- IconTitleMap["WalletIcon"] = "\u041A\u043E\u0448\u0435\u043B\u0451\u043A";
433
- IconTitleMap["WalletWithMoneyIcon"] = "\u041A\u043E\u0448\u0435\u043B\u0451\u043A \u0441 \u0434\u0435\u043D\u044C\u0433\u0430\u043C\u0438";
434
- IconTitleMap["WateringCanIcon"] = "\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043F\u0440\u043E\u0434\u0443\u043A\u0442";
435
- })(IconTitleMap || (IconTitleMap = {}));
245
+ function style2className(style) {
246
+ return style ? style.filter(Boolean).join(' ') : '';
247
+ }
436
248
 
437
249
  const svgUseStyleMap = {
438
250
  normal: 'text-primary-main',
439
251
  black: 'text-black',
440
252
  white: 'text-black',
441
253
  };
442
- const Icon = JSX(({ className = '', imageClassName = '', name = '', alt = `Иконка ${IconTitleMap[name] || name}`, title = alt, iconVersion = 'normal', asSVG, ...imgProps }) => {
254
+ const Icon = JSX(({ className = '', imageClassName = '', name = '', alt = `Иконка ${name}`, title = alt, iconVersion = 'normal', asSVG, ...imgProps }) => {
443
255
  const href = `${projectSettings.CDN || ''}icons/${name}.svg`;
444
- if (asSVG && IconInverseMap[name]) {
256
+ if (asSVG) {
445
257
  return (jsx(Background, { className: className, children: jsxs("svg", { className: [
446
258
  getSvgSize(className, imgProps.width),
447
259
  svgUseStyleMap[iconVersion],
448
260
  imageClassName,
449
- getInvertStyle(name, iconVersion),
261
+ getInvertStyle(iconVersion),
450
262
  ].join(' '), ...imgProps, "aria-hidden": "true", children: [title ? jsx("title", { children: title }) : null, alt ? jsx("desc", { children: alt }) : null, jsx("use", { href: `${href}#icon`, xlinkHref: `${href}#icon` })] }) }));
451
263
  }
452
264
  return (jsx("img", { className: className, src: href, alt: alt, title: title, ...imgProps, "aria-hidden": "true" }));
453
265
  });
454
- const getInvertStyle = (name, iconVersion) => iconVersion === 'white' && IconInverseMap[name] ? 'invert' : '';
266
+ const getInvertStyle = (iconVersion) => iconVersion === 'white' ? 'invert' : '';
455
267
  const getSvgSize = (className, width) => width ? `width: ${width}px ` : 'w-full h-full';
456
268
  const Background = JSX(({ className, children }) => className ? jsx("div", { className: className, children: children }) : children);
457
269
 
458
- function getIconVersion(image) {
270
+ function getIconVersion$1(image) {
459
271
  return typeof image === 'string' ? 'normal' : image.iconVersion || 'normal';
460
272
  }
461
273
 
@@ -497,18 +309,12 @@
497
309
  // backwards compatibility with existing icons in usage
498
310
  const icon = typeof image === 'string' ? image : image.icon;
499
311
  if (icon || icon === '') {
500
- return icon.length ? (jsx(Icon, { className: className, imageClassName: imageClassName, iconVersion: getIconVersion(image), name: icon, ...iconProps })) : null;
312
+ return icon.length ? (jsx(Icon, { className: className, imageClassName: imageClassName, iconVersion: getIconVersion$1(image), name: icon, ...iconProps })) : null;
501
313
  }
502
314
  return (jsx(ImgAsPicture, { className: className, imageClassName: imageClassName, image: image, isMobile: isMobile }));
503
315
  });
504
316
 
505
- const Img = JSX(({ className = '', image, imageClassName, ...iconProps }) => {
506
- return (jsx(ImgInner, { className: className, image: image, imageClassName: imageClassName, ...iconProps, isMobile: true }));
507
- });
508
-
509
- function style2className(style) {
510
- return style ? style.filter(Boolean).join(' ') : '';
511
- }
317
+ const Img = JSX((props) => jsx(ImgInner, { ...props, isMobile: true }));
512
318
 
513
319
  const ALIGN_TEXT = {
514
320
  left: 'text-left',
@@ -785,9 +591,16 @@
785
591
  };
786
592
  }
787
593
 
594
+ const iconStyleMap = {
595
+ primary: 'group-hover:brightness-0 group-hover:invert',
596
+ secondary: 'group-hover:brightness-0 group-hover:invert',
597
+ white: 'group-hover:brightness-0 group-hover:invert',
598
+ link: '',
599
+ };
600
+
788
601
  const ButtonInner = JSX((props) => {
789
- const { text, aboveText, appendLeft, appendRight } = props;
790
- return (jsxs("div", { className: getButtonStyle(props), children: [appendLeft ? appendLeft : null, isWithText(props) ? (jsxs("div", { children: [jsx("div", { className: "text-xs-light text-left", children: aboveText }), jsx("div", { className: `text-left ${aboveText ? 'text-s -mt-0.5' : 'text-l'}`, children: text })] })) : null, appendRight ? appendRight : null] }));
602
+ const { text, aboveText, appendLeft, appendRight, version = 'primary' } = props;
603
+ return (jsxs("div", { className: getButtonStyle(props), children: [appendLeft ? jsx("div", { className: iconStyleMap[version], children: appendLeft }) : null, isWithText(props) ? (jsxs("div", { children: [jsx("div", { className: "text-xs-light text-left", children: aboveText }), jsx("div", { className: `text-left ${aboveText ? 'text-s -mt-0.5' : 'text-l'}`, children: text })] })) : null, appendRight ? jsx("div", { className: iconStyleMap[version], children: appendRight }) : null] }));
791
604
  });
792
605
  const getButtonStyle = (props) => {
793
606
  const { className = '', version, aboveText, rounded } = props;
@@ -820,7 +633,7 @@
820
633
  const Button = JSX(({ className, text, aboveText, appendLeft, href, target, onClick, children, disabled, rounded, version = 'primary', ariaLabel, ...rest }) => {
821
634
  // It isn't a valid HTML attribute. Must be excluded from "rest"
822
635
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
823
- const { asSVG, iconRight, appendRight, icon, ...buttonInnerRest } = rest;
636
+ const { appendRight, ...buttonInnerRest } = rest;
824
637
  const buttonInner = children ?? (jsx(ButtonInner, { text: text, aboveText: aboveText, appendLeft: appendLeft, rounded: rounded, version: version }));
825
638
  if (disabled) {
826
639
  return (jsx("div", { role: "button", "aria-disabled": "true", "aria-label": ariaLabel, tabIndex: -1, className: `inline-block ${styleButton} ${buttonDisabledStyleMap[version] || ''} ${rounded ? 'rounded-full' : 'rounded-md'} ${className || ''}`, children: buttonInner }));
@@ -831,61 +644,48 @@
831
644
  const ButtonSection = JSX(({ context, className = '', buttons }) => {
832
645
  const { handlerDecorator } = context;
833
646
  const router = context.useRouter();
834
- return buttons && buttons?.length ? (jsx("div", { className: className, children: buttons.map((button, index) => renderButton$2(useLink({ router, handlerDecorator }, button), index)) })) : null;
647
+ return buttons && buttons?.length ? (jsx("div", { className: className, children: buttons.map((button, index) => (jsx(ButtonSectionItem, { button: button, handlerDecorator: handlerDecorator, router: router }, String(index)))) })) : null;
648
+ });
649
+ const ButtonSectionItem = JSX(({ router, handlerDecorator, button }) => {
650
+ const buttonProps = useLink({ router, handlerDecorator }, button);
651
+ return jsx(Button, { ...button, ...buttonProps });
835
652
  });
836
- function renderButton$2({ icon, iconRight, version = 'primary', ...button }, i) {
837
- if (!button?.text) {
838
- return null;
839
- }
840
- const imgStyle = version === 'primary' ? 'group-hover:text-black' : 'group-hover:text-white';
841
- const iconVersion = version === 'secondary' ? 'normal' : 'white';
842
- return icon ? (jsx(Button, { appendLeft: jsx(Img, { imageClassName: imgStyle, image: { ...icon, iconVersion: iconVersion }, width: "24", height: "24", asSVG: true }), appendRight: jsx(Img, { imageClassName: imgStyle, image: { ...iconRight, iconVersion: iconVersion }, width: "24", height: "24", asSVG: true }), version: version, ...button }, String(i))) : (jsx(Button, { version: version, ...button }, String(i)));
843
- }
844
653
 
845
- const LIST_STYLE_CLASSES = {
846
- primary: 'rounded-full inline-block mr-3 mt-2',
847
- secondary: 'rounded-full inline-block mr-3 mt-2',
848
- gray: 'rounded-full inline-block mr-3 mt-2',
849
- tile: 'rounded-full inline-block mr-4 mt-3',
850
- 'tile-white': 'rounded-full inline-block mr-4 mt-3',
851
- };
852
- const LIST_DOT_STYLE_MAP = {
654
+ const LIST_DOT_STYLE_MAP$1 = {
853
655
  primary: 'bg-primary-text',
854
656
  secondary: 'bg-white',
855
657
  gray: 'bg-secondary-text',
856
- tile: 'bg-black',
857
- 'tile-white': 'bg-white',
858
658
  };
859
- const ListItem = JSX(({ className = '', isDotted = true, children, version = 'primary' }) => {
860
- return (jsxs("div", { className: `font-sans flex items-start ${className}`, role: "listitem", children: [isDotted ? jsx("div", { className: getListStyle(version) }) : null, jsx("span", { children: children })] }));
861
- });
862
- const getListStyle = (version) => {
863
- const size = {
864
- primary: 'w-2 h-2 min-w-2 min-h-2',
865
- secondary: 'w-2 h-2 min-w-2 min-h-2',
866
- gray: 'w-1.5 h-1.5 min-w-1.5 min-h-1.5',
867
- tile: 'w-[7px] h-[7px] min-w-[7px] min-h-[7px]',
868
- 'tile-white': 'w-[7px] h-[7px] min-w-[7px] min-h-[7px]',
869
- };
870
- return `${LIST_STYLE_CLASSES[version]} ${LIST_DOT_STYLE_MAP[version]} ${size[version]}`;
659
+ const DOT_SIZE_MAP = {
660
+ L: 'w-1.5 h-1.5 min-w-1.5 min-h-1.5 mr-4 mt-3',
661
+ M: 'w-1.5 h-1.5 min-w-1.5 min-h-1.5 mr-3 mt-3',
662
+ S: 'w-1 h-1 min-w-1 min-h-1 mr-2 mt-2.5',
871
663
  };
664
+ const ListItem = JSX(({ className = '', isDotted = true, children, version = 'primary', size = 'M' }) => {
665
+ return (jsxs("div", { className: `font-sans flex items-start ${className}`, role: "listitem", children: [isDotted ? (jsx("div", { className: `rounded-full inline-block ${LIST_DOT_STYLE_MAP$1[version]} ${DOT_SIZE_MAP[size]}` })) : null, jsx("span", { children: children })] }));
666
+ });
872
667
 
873
668
  const TEXT_STYLE_MAP = {
874
669
  primary: 'text-primary-text',
875
670
  secondary: 'text-white',
876
671
  gray: 'text-secondary-text',
877
- tile: 'text-primary-text',
878
- 'tile-white': 'text-white',
879
672
  };
880
673
  const TEXT_SIZE_MAP = {
881
- M: 'text-xl-light',
882
- L: 'text-h5-light',
674
+ S: 'text-l-light',
675
+ M: 'text-h6',
676
+ L: 'text-h5',
677
+ };
678
+ const ITEM_INDENT_MAP = {
679
+ S: 'ml-2',
680
+ M: 'ml-3',
681
+ L: 'ml-4',
883
682
  };
884
683
  const List = JSX((props) => {
885
- const { className = '', itemClassName, isDotted, items, listItemSize = 'M', version = 'primary', } = props;
886
- return (jsx("section", { className: `${TEXT_STYLE_MAP[version]} ${TEXT_SIZE_MAP[listItemSize]} ${className}`, role: "list", children: items?.length
887
- ? items.map((_, i) => (jsx(ListItem, { className: itemClassName, isDotted: isDotted, version: version, children: _ }, String(i))))
888
- : null }));
684
+ const { className = '', hasIndent, isDotted, itemClassName = '', items, listItemSize = 'M', version = 'primary', } = props;
685
+ if (!items?.length) {
686
+ return null;
687
+ }
688
+ return (jsx("section", { className: `${TEXT_STYLE_MAP[version]} ${TEXT_SIZE_MAP[listItemSize]} ${className} ${hasIndent ? ITEM_INDENT_MAP[listItemSize] : ''}`, role: "list", children: items.map((item, i) => (jsx(ListItem, { className: `${itemClassName} mb-1.5`, isDotted: isDotted, version: version, size: listItemSize, children: item }, String(i)))) }));
889
689
  });
890
690
 
891
691
  const BaseTile = JSX(({ className = '', title = '', children, buttons, image }) => {
@@ -904,7 +704,8 @@
904
704
  const { className = '', icon, label, description, version = 'primary', benefitsVersion = 'normal', } = props;
905
705
  const isIconWhite = benefitsVersion === 'white' || version === 'secondary';
906
706
  const listItemAlign = description ? 'items-start' : 'items-center';
907
- return (jsxs("div", { className: `flex gap-5 ${listItemAlign} ${className}`, children: [icon ? (jsx("div", { className: renderBenefitIconBgStyle(version, benefitsVersion), children: jsx(Img, { className: "w-6 h-6", image: { ...icon, iconVersion: isIconWhite ? 'white' : 'normal' }, asSVG: true }) })) : null, jsxs("div", { className: "gap-0.5", children: [label ? jsx("div", { className: `text-h6 ${titleStyleMap[version]}`, children: label }) : null, description ? (jsx("div", { className: `text-m-light ${descStyleMap[version]}`, children: description })) : null] })] }));
707
+ const iconVersion = getIconVersion(icon, isIconWhite);
708
+ return (jsxs("div", { className: `flex gap-5 ${listItemAlign} ${className}`, children: [icon ? (jsx("div", { className: renderBenefitIconBgStyle(version, benefitsVersion), children: jsx(Img, { className: "w-6 h-6", image: { ...icon, iconVersion }, asSVG: true }) })) : null, jsxs("div", { className: "gap-0.5", children: [label ? jsx("div", { className: `text-h6 ${titleStyleMap[version]}`, children: label }) : null, description ? (jsx("div", { className: `text-m-light ${descStyleMap[version]}`, children: description })) : null] })] }));
908
709
  });
909
710
  function renderBenefitIconBgStyle(version, benefitsVersion) {
910
711
  let bgColorStyle = 'bg-primary-main text-black';
@@ -916,6 +717,7 @@
916
717
  }
917
718
  return `w-[50px] h-[50px] min-w-[50px] rounded-full p-2.5 box-border flex items-center justify-center ${bgColorStyle}`;
918
719
  }
720
+ const getIconVersion = (icon, isIconWhite) => icon?.iconVersion || isIconWhite ? 'white' : 'normal';
919
721
 
920
722
  const renderBenefit = (version = 'primary', benefitsVersion = 'normal') => ({ icon, label, description }, i) => {
921
723
  return (jsx(BenefitItem, { icon: icon, label: label, description: description, version: version, benefitsVersion: benefitsVersion }, String(i)));
@@ -979,16 +781,21 @@
979
781
  }
980
782
  function renderCard(card, key) {
981
783
  return (jsxs("div", { className: `h-full justify-between box-border horizontal-list-item border-solid border rounded-md border-main-stroke p-4 flex flex-col
982
- ${VersionStyleMap[card.version ?? 'primary']}`, children: [jsxs("div", { children: [card.image?.src ? (jsx("div", { className: "flex justify-center", children: jsx(Img, { className: "mb-3.5", image: card.image }) })) : null, card.title ? jsx("h3", { className: `text-m-title-xs font-medium m-0`, children: card.title }) : null, card.description ? renderDescription(card) : null, card.items?.length ? renderItems(card.items, card.isDotted, card.version) : null] }), card?.button?.text ? renderButton$1(card.button) : null] }, key));
784
+ ${VersionStyleMap[card.version ?? 'primary']}`, children: [jsxs("div", { children: [card.image?.src ? (jsx("div", { className: "flex justify-center", children: jsx(Img, { className: "mb-3.5", image: card.image }) })) : null, card.title ? jsx("h3", { className: `text-m-title-xs font-medium m-0`, children: card.title }) : null, card.description ? renderDescription(card) : null, card.items?.length ? renderItems(card.items, card.isDotted, card.version) : null] }), card?.button?.text ? renderButton(card.button) : null] }, key));
983
785
  }
984
- function renderButton$1(button) {
786
+ function renderButton(button) {
985
787
  return (jsx(Button, { className: "mt-3", appendLeft: button?.icon && jsx(Img, { image: button?.icon, width: "24px", height: "24px", asSVG: true }), ...button }));
986
788
  }
987
789
  function renderDescription(card) {
988
790
  return (jsx("div", { className: `text-secondary-text mt-1 text-s ${card.version === 'secondary' ? 'text-white opacity-80' : ''}`, children: card.description }));
989
791
  }
792
+ const LIST_DOT_STYLE_MAP = {
793
+ primary: 'bg-primary-text',
794
+ secondary: 'bg-white',
795
+ gray: 'bg-secondary-text',
796
+ };
990
797
  function renderItems(items, isDotted, version = 'primary') {
991
- return (jsx("section", { className: "mt-3", children: items.map((item, i) => (jsxs("div", { children: [isDotted ? jsx("div", { className: getListStyle(version) }) : null, jsx("span", { className: "text-m font-medium", children: item.title }), jsx("span", { className: `text-s pl-2 ${version === 'primary' ? 'text-secondary-text' : ''}`, children: item.text })] }, String(i)))) }));
798
+ return (jsx("section", { className: "mt-3", children: items.map((item, i) => (jsxs("div", { children: [isDotted ? (jsx("div", { className: `rounded-full inline-block mr-3 mt-2 w-2 h-2 min-w-2 min-h-2 ${LIST_DOT_STYLE_MAP[version]}` })) : null, jsx("span", { className: "text-m font-medium", children: item.title }), jsx("span", { className: `text-s pl-2 ${version === 'primary' ? 'text-secondary-text' : ''}`, children: item.text })] }, String(i)))) }));
992
799
  }
993
800
 
994
801
  class EventBus {
@@ -1035,15 +842,31 @@
1035
842
  }
1036
843
  };
1037
844
 
845
+ const IntersectionObserverTag = JSX((props) => {
846
+ const { tag = 'section', observerCallback, observerOptions, className = '', anchor = null, children, } = props;
847
+ const intersectionObserver = useRef(null);
848
+ const ref = useCallback((element) => {
849
+ if (!element) {
850
+ return;
851
+ }
852
+ if (intersectionObserver.current) {
853
+ intersectionObserver.current.disconnect();
854
+ }
855
+ intersectionObserver.current = new IntersectionObserver(observerCallback, observerOptions);
856
+ intersectionObserver.current.observe(element);
857
+ }, [observerCallback, observerOptions]);
858
+ const Tag = tag;
859
+ return (jsx(Tag, { ref: ref, className: className, id: anchor, children: children }));
860
+ });
861
+
1038
862
  const THRESHOLD_ACCURACY = 100; // Decimals number (100 is for two decimals number, 0.**)
1039
863
  const THRESHOLD_ARRAY_LENGTH = 18;
1040
864
  const THRESHOLD_ARRAY_START_VALUE = (THRESHOLD_ACCURACY - THRESHOLD_ARRAY_LENGTH) / THRESHOLD_ACCURACY;
1041
- const BlockWrapper = JSX(({ anchor, className, context, children, tag = 'section', labels }) => {
865
+ const BlockWrapper = JSX(({ anchor, className, children, tag = 'section', labels }) => {
1042
866
  const Tag = tag;
1043
- const { IntersectionObserverTag } = context;
1044
867
  const [shouldRenderBlock, setShouldRenderBlock] = useState(true);
1045
868
  const anchorClickRef = useRef({});
1046
- const observerCallback = useMemo(() => changeHashOnObserve({ anchor, anchorClickRef }), [anchor, anchorClickRef]);
869
+ const observerCallback = useMemo(() => changeHashOnObserve({ anchor, anchorClickRef }), [anchor]);
1047
870
  useEffect(() => {
1048
871
  const anchorClickCleanup = EventBus.inst.subscribe('anchorClick', (e) => {
1049
872
  anchorClickRef.current = e;
@@ -1061,7 +884,7 @@
1061
884
  anchorClickCleanup();
1062
885
  tabCleanup();
1063
886
  };
1064
- }, [anchorClickRef]);
887
+ }, []);
1065
888
  if (!shouldRenderBlock) {
1066
889
  return null;
1067
890
  }
@@ -1098,7 +921,7 @@
1098
921
  LinkList,
1099
922
  };
1100
923
 
1101
- const renderBlocksList$1 = ({ blocks, context, className = '' }) => blocks?.length ? blocks.map(renderBlock$1({ context, className })) : null;
924
+ const renderBlocksList$1 = ({ blocks, context, className = '' }) => blocks?.length ? blocks.map(renderBlock$1({ context, className })) : [];
1102
925
  const renderBlock$1 = ({ context, className }) => (block, i) => {
1103
926
  if (!block) {
1104
927
  return null;
@@ -1112,34 +935,47 @@
1112
935
  return (jsx(EmbeddedBlock, { className: `${className} ${classNameBlock}`, context: context, ...rest }, `block_${i}`));
1113
936
  };
1114
937
 
1115
- const AccordionItemInner = JSX(({ blocks, context }) => {
1116
- return (jsx("div", { className: "flex flex-wrap transition-all duration-300 max-h-0 overflow-hidden group-last:last:pb-0", children: renderBlocksList$1({ context, blocks, className: '!px-0' }) }));
938
+ const clamp = (value, min, max) => Math.max(min, Math.min(value, max));
939
+
940
+ const DefaultButton = JSX(({ icon, label, dataTheme = '', onClick }) => {
941
+ return (jsxs("button", { className: "border-none bg-primary-main hover:bg-primary-hover px-0 py-5 mb-[1px] w-full font-sans text-white flex justify-center cursor-pointer", "data-theme": dataTheme, onClick: onClick, children: [jsx("span", { className: "text-h4 pr-3", children: label }), icon ? (jsx(Img, { image: {
942
+ icon,
943
+ iconVersion: 'white',
944
+ }, className: "flex-shrink-0 my-auto", width: "20", height: "20", asSVG: true })) : null] }));
1117
945
  });
1118
946
 
1119
- const useActiveHandler = ({ blocks, initialState = false }) => {
1120
- const [isActive, setIsActive] = useState(initialState);
1121
- const hasContent = blocks?.length;
1122
- const icon = isActive ? 'MinusIcon' : 'PlusIcon';
1123
- const handleToggle = (e) => {
1124
- const currentTarget = e.currentTarget;
1125
- if (!currentTarget) {
1126
- return;
947
+ const Foldable = JSX(({ blocks = [], hiddenBlocksNum = 0, isFoldButtonOnTop = false, unfoldedByDefault = false, containerClassName = '', blockWrapper = (_) => _, renderFoldButton = renderDefaultFoldButton, }) => {
948
+ const [isUnfolded, setIsUnfolded] = useState(unfoldedByDefault);
949
+ const blocksToHide = clamp(hiddenBlocksNum, 0, blocks?.length);
950
+ const visibleBlocks = blocks.slice(0, blocks.length - blocksToHide);
951
+ const hiddenBlocks = blocksToHide > 0 ? blocks.slice(-blocksToHide) : [];
952
+ const containerRef = useRef(null);
953
+ const onToggle = () => {
954
+ setIsUnfolded(!isUnfolded);
955
+ if (containerRef.current) {
956
+ containerRef.current.style.maxHeight = isUnfolded
957
+ ? ''
958
+ : `${containerRef.current.scrollHeight}px`;
1127
959
  }
1128
- setIsActive(!isActive);
1129
- const contentBlock = currentTarget.nextSibling;
1130
- contentBlock.style.maxHeight = contentBlock.style.maxHeight
1131
- ? ''
1132
- : `${contentBlock.scrollHeight}px`;
1133
960
  };
1134
- return { isActive, hasContent, icon, handleToggle };
961
+ const buttonNode = hiddenBlocksNum ? renderFoldButton({ isUnfolded, onToggle }) : null;
962
+ const blocksNode = blockWrapper(jsxs("div", { children: [visibleBlocks, jsx("div", { ref: containerRef, className: `transition-max-h duration-300 overflow-hidden max-h-0 ${containerClassName}`, children: hiddenBlocks })] }));
963
+ return (jsx("div", { children: isFoldButtonOnTop ? (jsxs("div", { children: [buttonNode, blocksNode] })) : (jsxs("div", { children: [blocksNode, buttonNode] })) }));
964
+ });
965
+ const renderDefaultFoldButton = (props) => {
966
+ const labels = ['Развернуть', 'Скрыть'];
967
+ const icons = ['ArrowDownIcon', 'ArrowUpIcon'];
968
+ return (jsx(DefaultButton, { icon: icons[Number(props.isUnfolded)], label: labels[Number(props.isUnfolded)], onClick: props.onToggle }));
1135
969
  };
1136
970
 
1137
- const AccordionItem = JSX(({ label, labelIcon, blocks, bordered, context }) => {
1138
- const { hasContent, icon, handleToggle } = useActiveHandler({ blocks });
1139
- return (jsxs("li", { className: `${borderedLiClass(bordered)} border-solid border-main-divider`, children: [jsxs("button", { className: `border-none bg-transparent flex justify-between text-left w-full font-sans text-primary-text
1140
- ${bordered ? '' : 'py-[14px] px-0'}
1141
- ${hasContent ? 'group cursor-pointer' : ''}`, onClick: handleToggle, children: [jsxs("span", { className: `text-m-title-xs font-medium pr-2.5 flex ${hasContent ? 'group-hover:text-primary-main' : ''}`, children: [labelIcon ? (jsx(Img, { image: labelIcon, className: "mr-3 flex-shrink-0", width: "24", height: "24", asSVG: true })) : null, label] }), hasContent ? (jsx(Img, { className: "flex-shrink-0", image: icon, width: "24", height: "24", asSVG: true })) : null] }), hasContent ? jsx(AccordionItemInner, { blocks: blocks, context: context }) : null] }));
971
+ const icons = ['PlusIcon', 'MinusIcon'];
972
+ const AccordionItem = JSX(({ label = '', labelIcon, blocks, bordered, context }) => {
973
+ const foldableBlocks = blocks ? renderBlocksList$1({ context, blocks, className: '!px-0' }) : [];
974
+ return (jsx("li", { className: `${borderedLiClass(bordered)} border-solid border-main-divider`, children: jsx(Foldable, { hiddenBlocksNum: foldableBlocks.length, blocks: foldableBlocks, isFoldButtonOnTop: true, containerClassName: "flex flex-wrap group-last:last:pb-0", renderFoldButton: (props) => (jsx(FoldButton, { className: bordered ? '' : 'py-[14px] px-0', icon: icons[Number(props.isUnfolded)], label: label, primaryIcon: labelIcon, hasContent: Boolean(blocks?.length), onClick: props.onToggle })) }) }));
1142
975
  });
976
+ const FoldButton = JSX(({ className, hasContent, icon, label, primaryIcon, onClick }) => (jsxs("button", { className: `border-none bg-transparent flex justify-between text-left w-full font-sans text-primary-text
977
+ ${className}
978
+ ${hasContent ? 'group cursor-pointer' : ''}`, onClick: onClick, children: [jsxs("span", { className: `text-m-title-xs font-medium pr-2.5 flex ${hasContent ? 'group-hover:text-primary-main' : ''}`, children: [primaryIcon ? (jsx(Img, { image: primaryIcon, className: "mr-3 flex-shrink-0", width: "24", height: "24", asSVG: true })) : null, label] }), hasContent ? (jsx(Img, { className: "flex-shrink-0", image: icon, width: "24", height: "24", asSVG: true })) : null] })));
1143
979
  function borderedLiClass(bordered) {
1144
980
  return bordered ? 'border p-4 rounded mb-4' : 'border-0 border-b last:border-b-0';
1145
981
  }
@@ -1168,376 +1004,24 @@
1168
1004
  const buttonVersion = isFillGradient ? 'secondary' : 'primary';
1169
1005
  return (jsxs("div", { className: `border border-main-stroke rounded-md p-4 mb-3.5 ${gradientClassName}`, role: "row", children: [jsx(HeaderCell, { ...header, isFillGradient: isFillGradient }), columnDataView?.length
1170
1006
  ? columnDataView.map(({ rowHeader, cell }, i) => (jsx(TableCell, { cell: cell, rowHeader: rowHeader, isFillGradient: isFillGradient }, String(i))))
1171
- : null, showRow ? renderButton({ header, buttonVersion }) : null, renderToggleButton({ onToggleColumn, isFillGradient, showRow })] }));
1007
+ : null, showRow && header?.link ? (jsx(Button, { href: header.link.href, target: header.link.target, version: buttonVersion, className: "text-s font-medium mt-4 py-[11px]", children: header.link.text })) : null, renderToggleButton({ onToggleColumn, isFillGradient, showRow })] }));
1172
1008
  });
1173
- const renderButton = ({ header, buttonVersion }) => {
1174
- if (!header.link) {
1175
- return null;
1176
- }
1177
- return (jsx(Button, { href: header.link.href, target: header.link.target, version: buttonVersion, className: "text-s font-medium mt-4 py-[11px]", children: header.link.text }));
1178
- };
1179
- const renderToggleButton = ({ onToggleColumn, isFillGradient, showRow }) => (jsx("div", { className: "mt-5", role: "cell", children: jsx("a", { role: "link", onClick: onToggleColumn, className: `text-s font-medium cursor-pointer ${isFillGradient ? 'text-white/80' : 'text-primary-main'}`, children: !showRow ? 'Показать описание' : 'Скрыть' }) }));
1009
+ const renderToggleButton = ({ onToggleColumn, isFillGradient, showRow, }) => (jsx("div", { className: "mt-5", role: "cell", children: jsx("a", { role: "link", onClick: onToggleColumn, className: `text-s font-medium cursor-pointer ${isFillGradient ? 'text-white/80' : 'text-primary-main'}`, children: !showRow ? 'Показать описание' : 'Скрыть' }) }));
1180
1010
 
1181
- const ComparisonTable = JSX(({ className, context, title, rowHeaders, columns, visibleRowLength = 0, isColoredFirstColumn = false, orientation = 'vertical', }) => {
1182
- const tableData = columns?.map(({ data, header }) => ({
1183
- header,
1184
- column: data?.map((cell, i) => ({ cell, rowHeader: rowHeaders?.[i]?.title })),
1185
- })) || [];
1186
- const [columnsViewState, setColumnsViewState] = useState(new Array(columns?.length || 0).fill(!visibleRowLength));
1187
- const handleToggleColumn = (i) => {
1188
- columnsViewState[i] = !columnsViewState[i];
1189
- setColumnsViewState([...columnsViewState]);
1190
- };
1191
- return (jsxs("section", { className: `bg-white font-sans px-4 py-6 overflow-hidden text-primary-text relative ${className || ''}`, children: [title ? (jsx(Heading, { headingType: "h3", className: "font-medium text-center m-0 mb-5", title: title })) : null, renderColumns({
1192
- tableData,
1193
- context,
1194
- visibleRowLength,
1195
- isColoredFirstColumn,
1196
- columnsViewState,
1197
- handleToggleColumn,
1198
- orientation,
1199
- setColumnsViewState,
1200
- })] }));
1011
+ const ComparisonTable = JSX((props) => {
1012
+ const { className, title } = props;
1013
+ return (jsxs("section", { className: `bg-white font-sans px-4 py-6 overflow-hidden text-primary-text relative ${className || ''}`, children: [title ? (jsx(Heading, { headingType: "h3", className: "font-medium text-center m-0 mb-5", title: title })) : null, jsx("div", { role: "table", children: jsx(TableInner, { ...props }) })] }));
1201
1014
  });
1202
- const renderColumns = ({ context, tableData, visibleRowLength, isColoredFirstColumn, columnsViewState, handleToggleColumn, orientation = 'horizontal', setColumnsViewState, }) => (jsx("div", { role: "table", children: tableData?.length
1203
- ? renderInnerTable({
1204
- orientation,
1205
- context,
1206
- columnsViewState,
1207
- setColumnsViewState,
1208
- tableData,
1209
- visibleRowLength,
1210
- isColoredFirstColumn,
1211
- handleToggleColumn,
1212
- })
1213
- : null }));
1214
- const renderInnerTable = ({ orientation, context, columnsViewState, setColumnsViewState, tableData, visibleRowLength, isColoredFirstColumn, handleToggleColumn, }) => orientation === 'horizontal' ? (jsx(SwipeListControl, { context: context, onSlideChange: onSlideChange(columnsViewState, setColumnsViewState), children: tableData.map(renderColumn({
1215
- context,
1216
- visibleRowLength,
1217
- isColoredFirstColumn,
1218
- columnsViewState,
1219
- handleToggleColumn,
1220
- })) })) : (tableData.map(renderColumn({
1221
- context,
1222
- visibleRowLength,
1223
- isColoredFirstColumn,
1224
- columnsViewState,
1225
- handleToggleColumn,
1226
- })));
1227
- const renderColumn = ({ context, visibleRowLength, isColoredFirstColumn, columnsViewState, handleToggleColumn }) => (columnData, i) => (jsx(TableColumn, { context: context, visibleRowLength: visibleRowLength, showRow: columnsViewState[i], header: columnData.header, columnData: columnData.column, isFillGradient: i === 0 && isColoredFirstColumn, onToggleColumn: () => handleToggleColumn(i) }, String(i)));
1228
- const onSlideChange = (columnsViewState, setColumnsViewState) => () => {
1229
- setColumnsViewState(new Array(columnsViewState.length).fill(false));
1230
- };
1231
-
1232
- const consistentDataMap = new Map();
1233
- function useAsyncData$1(key, fetcher, { fallback } = {}) {
1234
- const args = useMemo(() => keyToArgs(key), [key]);
1235
- const [data, setData] = useState();
1236
- const [error, setError] = useState();
1237
- const updateData = (_) => {
1238
- setData(_);
1239
- setError(undefined);
1240
- };
1241
- const updateError = (_) => {
1242
- setData(undefined);
1243
- setError(_);
1244
- };
1245
- const chainToConsistentResult = (_) => {
1246
- _.then(rawData => consistentDataMap.get(args) || rawData)
1247
- .then(updateData)
1248
- .catch(updateError);
1249
- };
1250
- useEffect(() => {
1251
- const isEmptyKey = args.every(_ => _ === null);
1252
- if (isEmptyKey) {
1253
- return;
1254
- }
1255
- try {
1256
- const _ = fetcher(...args);
1257
- if ('then' in _) {
1258
- chainToConsistentResult(_);
1259
- }
1260
- else {
1261
- updateData(_);
1262
- }
1263
- }
1264
- catch (err) {
1265
- updateError(err);
1266
- }
1267
- }, [fetcher, ...args]);
1268
- const simpleKey = args[0];
1269
- const fallbackData = fallback && typeof simpleKey === 'string' && fallback[simpleKey];
1270
- return {
1271
- data: !data && !error && fallbackData ? fallbackData : data,
1272
- error,
1273
- mutate: () => Promise.resolve(undefined),
1274
- isValidating: false
1275
- };
1276
- }
1277
- function keyToArgs(key) {
1278
- if (!key) {
1279
- return [key];
1280
- }
1281
- if (Array.isArray(key)) {
1282
- return key;
1283
- }
1284
- else if (key instanceof Function) {
1285
- return keyToArgs(key());
1286
- }
1287
- else {
1288
- return [key];
1289
- }
1290
- }
1291
-
1292
- let impl = useAsyncData$1;
1293
- const useAsyncData = (...args) => impl(...args);
1294
-
1295
- async function fetchJSON(url, options) {
1296
- try {
1297
- return await fetchJSONUnsafe(url, options);
1298
- }
1299
- catch (err) {
1300
- console.error(err);
1301
- }
1302
- return null;
1303
- }
1304
- async function fetchJSONUnsafe(url, options) {
1305
- const response = await fetch(url, {
1306
- ...options,
1307
- headers: {
1308
- ...options?.headers,
1309
- 'Content-Type': 'application/json',
1310
- },
1311
- });
1312
- return await response.json();
1313
- }
1314
-
1315
- const roundTo = (value, precision = 2) => {
1316
- const factor = 10 ** precision;
1317
- return Math.round(parseFloat(String(value)) * factor) / factor;
1318
- };
1319
-
1320
- function useExchangeRates() {
1321
- const { data } = useAsyncData(EXCHANGE_RATES_URL, fetchExchangeRates);
1322
- const result = data?.hits?.hits?.map((_) => _._source) || [];
1323
- return result.length ? getCurrencyListByRate(result) : result;
1324
- }
1325
- function fetchExchangeRates() {
1326
- return fetchJSON(EXCHANGE_RATES_URL, {
1327
- method: 'POST',
1328
- body: JSON.stringify(EXCHANGE_RATES_BODY),
1329
- });
1330
- }
1331
- const EXCHANGE_RATES_URL = 'https://coins.rshb.ru/api/catalog/vue_storefront_magento_1_currency_rates_average/currency_rates_average/_search?size=10000';
1332
- const EXCHANGE_RATES_BODY = {
1333
- query: {
1334
- bool: {
1335
- must: [
1336
- {
1337
- term: {
1338
- // eslint-disable-next-line camelcase
1339
- russian_region_code: '77',
1340
- },
1341
- },
1342
- {
1343
- term: {
1344
- // eslint-disable-next-line camelcase
1345
- from_volume: '0',
1346
- },
1347
- },
1348
- {
1349
- terms: {
1350
- // eslint-disable-next-line camelcase
1351
- currency_pair: ['USD/RUB', 'EUR/RUB'],
1352
- },
1353
- },
1354
- ],
1355
- },
1356
- },
1357
- };
1358
- const getCurrencyListByRate = (currencyRates) => currencyRates.reduce((result, _) => {
1359
- const currencyInfo = _['currency_first'];
1360
- const currencyCode = currencyInfo?.code;
1361
- if (!result.some((i) => i.code === currencyCode)) {
1362
- result.push({
1363
- code: currencyCode,
1364
- buy: roundTo(Number(_.rate_buy), 3),
1365
- sell: roundTo(Number(_.rate_sell), 3),
1366
- });
1367
- }
1368
- return result;
1369
- }, []);
1370
-
1371
- var Currency;
1372
- (function (Currency) {
1373
- Currency["RUB"] = "RUB";
1374
- Currency["EUR"] = "EUR";
1375
- Currency["USD"] = "USD";
1376
- })(Currency || (Currency = {}));
1377
-
1378
- const currencyNumberFormat = new Intl.NumberFormat('ru', {
1379
- style: 'currency',
1380
- currency: Currency.RUB,
1381
- });
1382
- const formatCurrency = (value) => (value ? currencyNumberFormat.format(value) : '');
1383
-
1384
- const TABLE_HEAD_STYLE = 'text-left text-m-light text-secondary-text';
1385
- const CURRENCY_ICONS_MAP = {
1386
- USD: 'DollarIcon',
1387
- EUR: 'EuroIcon',
1388
- };
1389
- const CurrencyTable = JSX(({ className, exchangeCurrencyItems }) => {
1390
- return (jsxs("table", { className: `h-fit w-fit ${className}`, children: [jsx("thead", { children: jsxs("tr", { children: [jsx("th", { className: TABLE_HEAD_STYLE, children: "\u0412\u0430\u043B\u044E\u0442\u0430" }), jsx("th", { className: `${TABLE_HEAD_STYLE} pl-11`, children: "\u041A\u0443\u043F\u0438\u0442\u044C" }), jsx("th", { className: `${TABLE_HEAD_STYLE} pl-11`, children: "\u041F\u0440\u043E\u0434\u0430\u0442\u044C" })] }) }), jsx("tbody", { children: exchangeCurrencyItems.map((item) => renderCurrencyRow(item)) })] }));
1391
- });
1392
- const renderCurrencyRow = (exchangeCurrencyItem) => {
1393
- const code = exchangeCurrencyItem?.code;
1394
- return (jsxs("tr", { className: "pb-1 text-h6", children: [jsx("td", { className: "pt-4", children: jsxs("div", { className: "flex items-center", children: [code ? jsx(Img, { image: { icon: CURRENCY_ICONS_MAP[code] }, width: "24", height: "24" }) : null, jsx("span", { className: "ml-2", children: code })] }) }), jsx("td", { className: "pt-4 pl-11", children: formatCurrency(exchangeCurrencyItem?.sell) }), jsx("td", { className: "pt-4 pl-11", children: formatCurrency(exchangeCurrencyItem?.buy) })] }, code));
1395
- };
1396
-
1397
- const CurrentLocation = JSX(({ className = '', address, distance }) => (jsxs("div", { className: `flex ${className}`, children: [jsx(Img, { image: { icon: 'GpsIcon' }, width: "24", height: "24", asSVG: true }), jsxs("div", { className: "ml-3", children: [address ? jsx("p", { className: "text-primary-main m-0 mb-1 text-l", children: address }) : null, distance ? (jsxs("p", { className: "text-secondary-text m-0 text-m-light", children: ["\u041A\u0443\u0440\u0441 \u0443\u043A\u0430\u0437\u0430\u043D \u0434\u043B\u044F \u0431\u043B\u0438\u0436\u0430\u0439\u0448\u0435\u0433\u043E \u043E\u0444\u0438\u0441\u0430 - ", distance] })) : null] })] })));
1398
-
1399
- const Input = JSX(({ className = '', inputClassName = '', id, name, type = 'text', label, value = '', children, onChange, ...inputProps }) => {
1400
- const handleChange = useCallback((e) => {
1401
- const validInputValue = e.target.validity.valid ? e.target.value : value;
1402
- onChange(validInputValue);
1403
- }, [onChange]);
1404
- const paddingStyle = children ? 'pr-8' : '';
1405
- return (jsxs("div", { className: `relative ${className}`, children: [label ? jsx("label", { className: "block text-m-light mb-2", children: label }) : null, jsx("input", { className: `w-full border rounded-md border-main-stroke hover:border-primary-hover active:border-primary-text
1406
- focus:border-primary-text text-primary-text outline-none p-4 ${paddingStyle} ${inputClassName}`, id: id, name: name || id, type: type, value: value, onChange: handleChange, ...inputProps }), children] }));
1407
- });
1408
-
1409
- const Select = JSX(({ className = '', isBorder = true, label, options = [], value, onChange, placeholder = '' }) => {
1410
- const [selectedItem, setSelectedItem] = useState(options[0] || { key: '', text: '' });
1411
- const [isOpen, setIsOpen] = useState(false);
1412
- const choiceOption = (option) => {
1413
- setSelectedItem(option);
1414
- setIsOpen(false);
1415
- onChange(option);
1416
- };
1417
- const isSelected = (option) => Boolean(option.key === selectedItem.key);
1418
- useEffect(() => {
1419
- setSelectedItem(value || { key: '', text: '' });
1420
- }, [value]);
1421
- return (jsxs("div", { className: `${className}`, children: [label ? jsx("span", { className: "mb-2 flex", children: label }) : null, jsxs("div", { className: `relative ${isOpen ? 'z-20' : 'z-10'}`, children: [jsxs("div", { className: `text-m-light flex justify-between items-center mb-0.5 text-primary-text cursor-pointer
1422
- ${getBorderStyle(isBorder)}`, onClick: () => setIsOpen(!isOpen), children: [jsx("p", { className: "p-4 pr-8 h-[56px] overflow-hidden text-ellipsis whitespace-nowrap", children: selectedItem?.text || placeholder }), jsx(Icon, { name: "ArrowUpIcon", width: "16", height: "16", className: `absolute right-3 ${isOpen ? '' : 'rotate-180'}` })] }), options?.length ? (jsx("div", { className: `h-0 ${renderOptionsStyle(isOpen)}`, children: jsx("div", { className: `bg-white text-l max-h-[256px] overflow-y-auto overflow-x-hidden rounded-md shadow-[0_4px_25px_rgba(0,0,0,0.07)]`, children: options.map(renderOption(choiceOption, isOpen, isSelected)) }) })) : null] })] }));
1423
- });
1424
- const renderOptionsStyle = (isOpen) => (isOpen ? '' : 'overflow-hidden');
1425
- const renderOption = (choiceOption, isOpen, isSelected) => (option, i) => {
1426
- return (jsxs("div", { onClick: () => {
1427
- choiceOption(option);
1428
- }, className: "flex px-4 py-3 cursor-pointer hover:bg-main-divider pr-11 relative", children: [jsx("span", { className: "min-h-6", children: option.text }), jsx(Icon, { name: "DoneSimpleIcon", width: "16", height: "16", className: ['absolute right-4 pt-0.5', isSelected(option) && isOpen ? '' : 'hidden'].join(' ') })] }, String(i)));
1429
- };
1430
- const getBorderStyle = (isBorder) => isBorder ? 'border border-main-stroke rounded-md hover:border-primary-hover' : '';
1431
-
1432
- function renderInput(props) {
1433
- const { placeholder, rates, selected, value, setValue, setSelected } = props;
1434
- const ratesOptions = rates.map((_) => ({ key: _.code ?? '', text: _.code ?? '' }));
1435
- const selectedValue = { key: selected, text: selected };
1436
- return (jsxs("div", { className: "relative flex", children: [jsx(Input, { className: "shrink-0 h-14 pl-4 pt-4 pb-4 text-l w-full appearance-none mr-[-90px]", placeholder: placeholder, type: "text", value: value, onChange: setValue }), ratesOptions.length ? (jsx(Select, { isBorder: false, onChange: (_) => setSelected(_.key), options: ratesOptions, value: selectedValue })) : null] }));
1437
- }
1438
-
1439
- const calculateResult = (value, rate, precision) => {
1440
- const result = Number(formatValue(value)) * Math.pow(rate, precision ? -1 : 1);
1441
- return Number.isInteger(result) ? result : roundTo(result);
1442
- };
1443
- const formatValue = (value) => value.replace(/[^\d.,]/g, '').replace(',', '.');
1444
-
1445
- const tableFunc = (table) => (input) => {
1446
- const [, output] = table.find(([predicate]) => predicate(input)) || [];
1447
- return output;
1448
- };
1449
-
1450
- const callbackCurrencySelect = (props) => tableFunc([
1451
- [
1452
- (_) => _.value !== Currency.RUB && _.oppositeValue !== Currency.RUB,
1453
- () => props.handleConvert(props.value, Currency.RUB),
1454
- ],
1455
- [
1456
- (_) => _.value === Currency.RUB && _.oppositeValue === Currency.RUB,
1457
- () => props.handleConvert(props.value, Currency.USD),
1458
- ],
1459
- [() => true, () => props.handleConvert(props.value)],
1460
- ])(props)?.();
1461
-
1462
- const ExchangeCurrencyCalculator = JSX(({ context, className = '', currencyRatesBuy, currencyRatesSell, button }) => {
1463
- const { useRouter, handlerDecorator } = context;
1464
- const router = useRouter();
1465
- const [calcState, setCalcState] = useState({
1466
- inputSell: '',
1467
- inputBuy: '',
1468
- selectSell: currencyRatesBuy?.[0]?.code || Currency.RUB,
1469
- selectBuy: currencyRatesSell?.[0]?.code || Currency.USD,
1470
- });
1471
- const handleSetCalcState = (newState) => {
1472
- setCalcState((oldState) => ({ ...oldState, ...newState }));
1473
- };
1474
- return (jsxs("div", { className: `grid gap-[18px] pt-2 ${className}`, children: [renderInput({
1475
- placeholder: 'Хочу продать',
1476
- rates: currencyRatesSell,
1477
- selected: calcState.selectSell,
1478
- setSelected: handleSelectSell(calcState, handleSetCalcState, currencyRatesSell),
1479
- value: calcState.inputSell,
1480
- setValue: (value) => handleInputSell(handleSetCalcState, currencyRatesSell)(value, calcState.selectSell, calcState.selectBuy),
1481
- }), renderInput({
1482
- placeholder: 'Получу',
1483
- rates: currencyRatesBuy,
1484
- selected: calcState.selectBuy,
1485
- setSelected: handleSelectBuy(calcState, handleSetCalcState, currencyRatesBuy),
1486
- value: calcState.inputBuy,
1487
- setValue: (value) => handleInputBuy(handleSetCalcState, currencyRatesBuy)(value, calcState.selectBuy, calcState.selectSell),
1488
- }), button?.text ? (jsx(Button, { className: "py-4 mr-1", version: button?.version, ...useLink({ router, handlerDecorator }, button), children: button.text })) : null] }));
1489
- });
1490
- const handleSelectSell = (calcState, setCalcState, currencyRatesSell) => (value) => {
1491
- setCalcState({ selectSell: value });
1492
- callbackCurrencySelect({
1493
- value,
1494
- oppositeValue: calcState.selectBuy,
1495
- handleConvert: (codeFrom = calcState.selectSell, codeTo = calcState.selectBuy) => {
1496
- handleInputSell(setCalcState, currencyRatesSell)(calcState.inputSell, codeFrom, codeTo);
1497
- },
1498
- });
1499
- };
1500
- const handleSelectBuy = (calcState, setCalcState, currencyRatesBuy) => (value) => {
1501
- setCalcState({ selectBuy: value });
1502
- callbackCurrencySelect({
1503
- value,
1504
- oppositeValue: calcState.selectSell,
1505
- handleConvert: (codeTo = calcState.selectBuy, codeFrom = calcState.selectSell) => handleInputBuy(setCalcState, currencyRatesBuy)(calcState.inputBuy, codeTo, codeFrom),
1506
- });
1507
- };
1508
- const handleInputSell = (setCalcState, currencyRatesSell) => (value, codeFrom, codeTo) => {
1509
- setCalcState({ inputSell: formatValue(value), selectBuy: codeTo });
1510
- const rate = currencyRatesSell.find((_) => _.code === codeTo)?.buy ||
1511
- currencyRatesSell.find((_) => _.code === codeFrom)?.sell;
1512
- if (rate) {
1513
- setCalcState({
1514
- inputBuy: String(calculateResult(value, rate, codeFrom === Currency.RUB) || ''),
1515
- });
1516
- }
1517
- };
1518
- const handleInputBuy = (setCalcState, currencyRatesBuy) => (value, codeTo, codeFrom) => {
1519
- setCalcState({ inputBuy: formatValue(value), selectSell: codeFrom });
1520
- const rate = currencyRatesBuy.find((_) => _.code === codeFrom)?.sell ||
1521
- currencyRatesBuy.find((_) => _.code === codeTo)?.buy;
1522
- if (rate) {
1523
- setCalcState({
1524
- inputSell: String(calculateResult(value, rate, codeTo === Currency.RUB) || ''),
1525
- });
1526
- }
1527
- };
1528
-
1529
- const DEFAULT_LOCATION = {
1530
- address: 'Москва, ул.Ленина д.28',
1531
- distance: '6км',
1532
- };
1533
- const ExchangeRateTile = JSX(({ className = '', context, title = 'Курсы обмена валют', button, ...rest }) => {
1534
- const currencyRates = useExchangeRates();
1535
- const currencyRatesBuy = currencyRates.filter((_) => _.buy);
1536
- currencyRatesBuy.unshift({ code: Currency.RUB });
1537
- const currencyRatesSell = currencyRates.filter((_) => _.sell);
1538
- currencyRatesSell.push({ code: Currency.RUB });
1539
- return (jsx(BlockWrapper, { context: context, className: `bg-white text-primary-text font-sans p-9 box-border min-h-[320px]
1540
- ${className}`, ...rest, children: jsx(BaseTile, { context: context, title: jsx(Heading, { headingType: "h4", title: title, className: "whitespace-pre-wrap text-h4 mb-5" }), children: jsxs("div", { className: "flex", children: [jsxs("div", { className: "mr-14 pt-4", children: [currencyRates ? (jsx(CurrencyTable, { className: "mb-[30px]", exchangeCurrencyItems: currencyRates })) : null, jsx(CurrentLocation, { ...DEFAULT_LOCATION })] }), currencyRates.length && currencyRatesBuy.length && currencyRatesSell.length ? (jsx(ExchangeCurrencyCalculator, { className: "grow", context: context, currencyRatesBuy: currencyRatesBuy, currencyRatesSell: currencyRatesSell, button: button })) : null] }) }) }));
1015
+ const TableInner = JSX(({ columns, rowHeaders, isColoredFirstColumn, visibleRowLength, orientation, context }) => {
1016
+ const [columnsViewState, setColumnsViewState] = useState(new Array(columns?.length || 0).fill(!visibleRowLength));
1017
+ const handleToggleColumn = useCallback((colIndex) => {
1018
+ const toggleColState = (colState, i) => i === colIndex ? !colState : colState;
1019
+ setColumnsViewState((_) => _.map(toggleColState));
1020
+ }, []);
1021
+ const handleSlideChange = useCallback(() => setColumnsViewState((_) => new Array(_.length).fill(false)), []);
1022
+ const getColumnData = (cellData) => cellData?.map((cell, i) => ({ cell, rowHeader: rowHeaders?.[i]?.title }));
1023
+ const tableColumns = columns?.map(({ data, header }, colIndex) => (jsx(TableColumn, { context: context, visibleRowLength: visibleRowLength, showRow: columnsViewState[colIndex], header: header, columnData: getColumnData(data), isFillGradient: colIndex === 0 && isColoredFirstColumn, onToggleColumn: () => handleToggleColumn(colIndex) }, String(colIndex))));
1024
+ return orientation === 'horizontal' ? (jsx(SwipeListControl, { context: context, onSlideChange: handleSlideChange, children: tableColumns })) : (tableColumns);
1541
1025
  });
1542
1026
 
1543
1027
  const SVG_COLOR = {
@@ -1563,7 +1047,7 @@
1563
1047
  text: 'Обратная связь',
1564
1048
  href: '/',
1565
1049
  target: '_blank',
1566
- }) })) : null] }));
1050
+ }), ariaLabel: "\u041E\u0431\u0440\u0430\u0442\u043D\u0430\u044F \u0441\u0432\u044F\u0437\u044C" })) : null] }));
1567
1051
  });
1568
1052
  const renderContact = (item, index) => {
1569
1053
  const { type, text, description } = item;
@@ -1642,6 +1126,77 @@
1642
1126
  return (jsxs("div", { className: `${className || ''}`, children: [jsx("div", { className: "py-6", children: jsx("span", { className: "text-xs-light text-secondary-text", children: `\u00a9\u00A02000-${new Date().getFullYear()}\u00A0АО \u00ABРоссельхозбанк\u00BB Генеральная лицензия Банка России \u2116\u00A03349 от\u00A012.08.2015\u00A0г.` }) }), links?.length ? (jsx("div", { className: `flex flex-col justify-start items-start gap-2`, children: links.map((_, i) => (jsx(TextInformationLink, { index: i, className: "", ...useLink({ router, handlerDecorator }, _) }, String(i)))) })) : null] }));
1643
1127
  });
1644
1128
 
1129
+ const consistentDataMap = new Map();
1130
+ function useAsyncData(key, fetcher, { fallback } = {}) {
1131
+ const args = useMemo(() => keyToArgs(key), [key]);
1132
+ const [data, setData] = useState();
1133
+ const [error, setError] = useState();
1134
+ const updateData = (_) => {
1135
+ setData(_);
1136
+ setError(undefined);
1137
+ };
1138
+ const updateError = (_) => {
1139
+ setData(undefined);
1140
+ setError(_);
1141
+ };
1142
+ const chainToConsistentResult = (_) => {
1143
+ _.then(rawData => consistentDataMap.get(args) || rawData)
1144
+ .then(updateData)
1145
+ .catch(updateError);
1146
+ };
1147
+ useEffect(() => {
1148
+ const isEmptyKey = args.every(_ => _ === null);
1149
+ if (isEmptyKey) {
1150
+ return;
1151
+ }
1152
+ try {
1153
+ const _ = fetcher(...args);
1154
+ if ('then' in _) {
1155
+ chainToConsistentResult(_);
1156
+ }
1157
+ else {
1158
+ updateData(_);
1159
+ }
1160
+ }
1161
+ catch (err) {
1162
+ updateError(err);
1163
+ }
1164
+ }, [fetcher, ...args]);
1165
+ const simpleKey = args[0];
1166
+ const fallbackData = fallback && typeof simpleKey === 'string' && fallback[simpleKey];
1167
+ return {
1168
+ data: !data && !error && fallbackData ? fallbackData : data,
1169
+ error,
1170
+ mutate: () => Promise.resolve(undefined),
1171
+ isValidating: false
1172
+ };
1173
+ }
1174
+ function keyToArgs(key) {
1175
+ if (!key) {
1176
+ return [key];
1177
+ }
1178
+ if (Array.isArray(key)) {
1179
+ return key;
1180
+ }
1181
+ else if (key instanceof Function) {
1182
+ return keyToArgs(key());
1183
+ }
1184
+ else {
1185
+ return [key];
1186
+ }
1187
+ }
1188
+
1189
+ async function fetchJSONUnsafe(url, options) {
1190
+ const response = await fetch(url, {
1191
+ ...options,
1192
+ headers: {
1193
+ ...options?.headers,
1194
+ 'Content-Type': 'application/json',
1195
+ },
1196
+ });
1197
+ return await response.json();
1198
+ }
1199
+
1645
1200
  function useSitemap(fallback = {}) {
1646
1201
  const { data } = useAsyncData(`/wcms-resources/${projectSettings.SITEMAP || 'sitemap'}.json`, fetchJSONUnsafe, { fallback });
1647
1202
  return data || {};
@@ -1863,6 +1418,7 @@
1863
1418
  iconText: 'text-secondary-text',
1864
1419
  iconBackground: 'bg-main-divider',
1865
1420
  iconConnector: 'bg-secondary-light',
1421
+ dot: 'bg-secondary-text',
1866
1422
  },
1867
1423
  secondary: {
1868
1424
  background: 'bg-primary-main',
@@ -1871,6 +1427,7 @@
1871
1427
  iconText: 'text-white',
1872
1428
  iconBackground: 'bg-white/30',
1873
1429
  iconConnector: 'bg-white',
1430
+ dot: 'bg-white/80',
1874
1431
  },
1875
1432
  };
1876
1433
 
@@ -1905,9 +1462,7 @@
1905
1462
  return (jsx("div", { className: `${iconAreaSize} ${styleMap.iconBackground} rounded-full z-10 mr-3 flex justify-center content-center`, children: jsx("span", { className: `font-medium flex self-center ${styleMap.title} ${iconTextSize}`, children: checkIsIconRenderable(step?.icon) ? (jsx(Img, { image: { ...step.icon, iconVersion: STEPS_SVG_VERSION_MAP[version] }, width: iconSize, height: iconSize, asSVG: true })) : (jsx("span", { children: i + 1 })) }) }));
1906
1463
  };
1907
1464
 
1908
- const getButtonAriaLabel = (icon) => icon?.alt || icon?.title || IconTitleMap[icon?.icon ? icon.icon : ''];
1909
-
1910
- const renderButtonsCellData = ({ buttons }) => buttons && buttons?.length ? (jsx("div", { children: buttons.map(({ icon, rounded, ...buttonProps }, idx) => (jsx(Button, { className: `mt-3 ${idx > 0 && rounded ? 'ml-2.5' : ''} ${icon ? 'w-12 h-12' : ''}`, ariaLabel: getButtonAriaLabel(icon), rounded: rounded, appendLeft: icon?.src || icon?.icon ? jsx(Img, { image: icon, width: "24px", height: "24px", asSVG: true }) : null, ...buttonProps, "aria-label": icon }, String(idx)))) })) : null;
1465
+ const renderButtonsCellData = ({ buttons }) => buttons && buttons?.length ? (jsx("div", { children: buttons.map(({ rounded, appendLeft, ariaLabel, ...buttonProps }, idx) => (jsx(Button, { className: `mt-3 ${idx > 0 && rounded ? 'ml-2.5' : ''} ${appendLeft ? 'w-12 h-12' : ''}`, appendLeft: appendLeft, rounded: rounded, ariaLabel: ariaLabel, ...buttonProps }, String(idx)))) })) : null;
1911
1466
  const renderLabelDescriptionCellData = ({ label, description }) => {
1912
1467
  const labelClassName = `text-xl font-medium m-0 ${description ? 'mb-1' : ''}`;
1913
1468
  return (jsxs("div", { children: [label ? jsx("div", { className: labelClassName, children: label }) : null, description ? jsx("div", { className: "text-s text-secondary-text", children: description }) : null] }));
@@ -1963,7 +1518,6 @@
1963
1518
  const Blocks = {
1964
1519
  Accordion,
1965
1520
  ComparisonTable,
1966
- ExchangeRateTile,
1967
1521
  Footer,
1968
1522
  Gallery,
1969
1523
  Header,