@redneckz/wildless-cms-uni-blocks 0.5.10 → 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 (1971) hide show
  1. package/bin/migration-scripts/0.4.5.js +1 -1
  2. package/bin/migration-scripts/0.5.10.js +36 -0
  3. package/bin/utils.js +0 -2
  4. package/bundle/EventBus/EventBus.d.ts +10 -0
  5. package/bundle/EventBus/EventMap.d.ts +7 -0
  6. package/bundle/ProjectSettings.d.ts +24 -0
  7. package/bundle/api/DaDataAPI.d.ts +15 -0
  8. package/bundle/api/LikeAPI.d.ts +9 -0
  9. package/bundle/blocks.schema.json +1 -1
  10. package/bundle/bundle.umd.js +529 -658
  11. package/bundle/bundle.umd.min.js +1 -1
  12. package/bundle/components/Accordion/Accordion.d.ts +5 -0
  13. package/bundle/components/Accordion/Accordion.mobile.d.ts +5 -0
  14. package/bundle/components/Accordion/AccordionContent.d.ts +43 -0
  15. package/bundle/components/Accordion/AccordionItem.d.ts +5 -0
  16. package/bundle/components/Accordion/AccordionItem.mobile.d.ts +5 -0
  17. package/bundle/components/BaseTile/BaseTile.d.ts +5 -0
  18. package/bundle/components/BaseTile/BaseTileProps.d.ts +15 -0
  19. package/bundle/components/BaseTile/getTileHeadingType.d.ts +1 -0
  20. package/bundle/components/BaseTile/getTileMinHeight.d.ts +1 -0
  21. package/bundle/components/BaseTile/getTileRightPadding.d.ts +1 -0
  22. package/bundle/components/BenefitsBlock/BenefitsBlock.d.ts +5 -0
  23. package/bundle/components/BenefitsBlock/BenefitsBlockContent.d.ts +52 -0
  24. package/bundle/components/Blocks.d.ts +36 -0
  25. package/bundle/components/Blocks.mobile.d.ts +17 -0
  26. package/bundle/components/Bonus/Bonus.d.ts +5 -0
  27. package/bundle/components/Bonus/BonusContent.d.ts +45 -0
  28. package/bundle/components/BonusBenefitsBlock/BonusBenefitsBlock.d.ts +5 -0
  29. package/bundle/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +15 -0
  30. package/bundle/components/BonusBenefitsBlock/getElementsColsValue.d.ts +1 -0
  31. package/bundle/components/Calculator/BonusCalculatorForm.d.ts +5 -0
  32. package/bundle/components/Calculator/Calculator.d.ts +5 -0
  33. package/bundle/components/Calculator/CalculatorContent.d.ts +129 -0
  34. package/bundle/components/Calculator/CalculatorValueBlock.d.ts +8 -0
  35. package/bundle/components/Calculator/CreditCalculatorForm.d.ts +7 -0
  36. package/bundle/components/Calculator/DepositCalculatorForm.d.ts +5 -0
  37. package/bundle/components/Calculator/EmbeddableCalcBlocks.d.ts +9 -0
  38. package/bundle/components/Calculator/Rate.d.ts +7 -0
  39. package/bundle/components/Calculator/constants.d.ts +16 -0
  40. package/bundle/components/Calculator/getBonus.d.ts +2 -0
  41. package/bundle/components/Calculator/getCreditRate.d.ts +7 -0
  42. package/bundle/components/Calculator/getDefaultMonths.d.ts +1 -0
  43. package/bundle/components/Calculator/getDefaultSum.d.ts +1 -0
  44. package/bundle/components/Calculator/getMonthlyPayment.d.ts +6 -0
  45. package/bundle/components/Calculator/renderButtonSection.d.ts +2 -0
  46. package/bundle/components/Calculator/renderCalculatorBlock.d.ts +3 -0
  47. package/bundle/components/Calculator/renderFootnote.d.ts +2 -0
  48. package/bundle/components/Calculator/renderInitialFeeInput.d.ts +6 -0
  49. package/bundle/components/Calculator/renderMonthsInput.d.ts +8 -0
  50. package/bundle/components/Calculator/renderPaymentTypeSelector.d.ts +6 -0
  51. package/bundle/components/Calculator/renderProposal.d.ts +2 -0
  52. package/bundle/components/Calculator/renderProposalMortgage.d.ts +8 -0
  53. package/bundle/components/Calculator/renderRealEstateValue.d.ts +6 -0
  54. package/bundle/components/Calculator/renderWantedSumInput.d.ts +11 -0
  55. package/bundle/components/Calculator/useBonusCalculatorParams.d.ts +36 -0
  56. package/bundle/components/Calculator/useCalculatorParams.d.ts +1 -0
  57. package/bundle/components/Calculator/useCreditCalculatorParams.d.ts +27 -0
  58. package/bundle/components/CardTransfer/CardTransfer.d.ts +5 -0
  59. package/bundle/components/CardTransfer/CardTransferContent.d.ts +10 -0
  60. package/bundle/components/Catalog/Catalog.d.ts +5 -0
  61. package/bundle/components/Catalog/CatalogCard.d.ts +7 -0
  62. package/bundle/components/Catalog/CatalogContent.d.ts +25 -0
  63. package/bundle/components/ComparisonTable/ComparisonTable.d.ts +5 -0
  64. package/bundle/components/ComparisonTable/ComparisonTable.mobile.d.ts +5 -0
  65. package/bundle/components/ComparisonTable/ComparisonTableBody.d.ts +12 -0
  66. package/bundle/components/ComparisonTable/ComparisonTableColumnHeaders.d.ts +10 -0
  67. package/bundle/components/ComparisonTable/ComparisonTableContent.d.ts +50 -0
  68. package/bundle/components/ComparisonTable/ComparisonTableRows.d.ts +13 -0
  69. package/bundle/components/ComparisonTable/HeaderCell.d.ts +10 -0
  70. package/bundle/components/ComparisonTable/HeaderCell.mobile.d.ts +11 -0
  71. package/bundle/components/ComparisonTable/TableCarouselContainer.d.ts +7 -0
  72. package/bundle/components/ComparisonTable/TableCell.d.ts +9 -0
  73. package/bundle/components/ComparisonTable/TableCell.mobile.d.ts +9 -0
  74. package/bundle/components/ComparisonTable/TableColumn.d.ts +15 -0
  75. package/bundle/components/ComparisonTable/TableRow.d.ts +14 -0
  76. package/bundle/components/ComparisonTable/TableRowContainer.d.ts +1 -0
  77. package/bundle/components/ComparisonTable/constants.d.ts +6 -0
  78. package/bundle/components/ContentPage/ContentPage.d.ts +10 -0
  79. package/bundle/components/ContentPage/ContentPageContext.d.ts +17 -0
  80. package/bundle/components/ContentPage/ContentPageHead.d.ts +7 -0
  81. package/bundle/components/ContentPage/computeAPIFallback.d.ts +5 -0
  82. package/bundle/components/ContentPage/filterBlocks.d.ts +12 -0
  83. package/bundle/components/ContentPage/filterBlocks.mobile.d.ts +12 -0
  84. package/bundle/components/ContentPage/isBlockInRegistry.d.ts +2 -0
  85. package/bundle/components/ContentPage/normalizeBlock.d.ts +11 -0
  86. package/bundle/components/ContentPage/normalizeBlock.mobile.d.ts +2 -0
  87. package/bundle/components/ContentPage/normalizePage.d.ts +3 -0
  88. package/bundle/components/ContentPage/renderBlock.d.ts +13 -0
  89. package/bundle/components/ErrorBlock/ErrorBlock.d.ts +5 -0
  90. package/bundle/components/ErrorBlock/ErrorBlockContent.d.ts +48 -0
  91. package/bundle/components/ExchangeRateTile/CurrencyProps.d.ts +5 -0
  92. package/bundle/components/ExchangeRateTile/CurrencyTable.d.ts +7 -0
  93. package/bundle/components/ExchangeRateTile/CurrentLocation.d.ts +7 -0
  94. package/bundle/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +21 -0
  95. package/bundle/components/ExchangeRateTile/ExchangeRateTile.d.ts +5 -0
  96. package/bundle/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +8 -0
  97. package/bundle/components/ExchangeRateTile/calculateResult.d.ts +2 -0
  98. package/bundle/components/ExchangeRateTile/callbackCurrencySelect.d.ts +8 -0
  99. package/bundle/components/ExchangeRateTile/formatCurrency.d.ts +1 -0
  100. package/bundle/components/ExchangeRateTile/renderInput.d.ts +13 -0
  101. package/bundle/components/Footer/Contacts.d.ts +7 -0
  102. package/bundle/components/Footer/Footer.d.ts +5 -0
  103. package/bundle/components/Footer/Footer.mobile.d.ts +5 -0
  104. package/bundle/components/Footer/FooterContent.d.ts +44 -0
  105. package/bundle/components/Footer/FooterLink.d.ts +5 -0
  106. package/bundle/components/Footer/HorizontalNavigation.d.ts +6 -0
  107. package/bundle/components/Footer/HorizontalNavigation.mobile.d.ts +6 -0
  108. package/bundle/components/Footer/HorizontalNavigationLink.d.ts +8 -0
  109. package/bundle/components/Footer/MediaButton.d.ts +7 -0
  110. package/bundle/components/Footer/Sitemap.d.ts +8 -0
  111. package/bundle/components/Footer/SocialMedia.d.ts +8 -0
  112. package/bundle/components/Footer/SocialMedia.mobile.d.ts +8 -0
  113. package/bundle/components/Footer/TextInformation.d.ts +2 -0
  114. package/bundle/components/Footer/TextInformation.mobile.d.ts +2 -0
  115. package/bundle/components/Footer/TextInformationLink.d.ts +8 -0
  116. package/bundle/components/Gallery/Gallery.d.ts +2 -0
  117. package/bundle/components/Gallery/Gallery.mobile.d.ts +2 -0
  118. package/bundle/components/Gallery/GalleryCardInner.d.ts +2 -0
  119. package/bundle/components/Gallery/GalleryContainer.d.ts +13 -0
  120. package/bundle/components/Gallery/GalleryContent.d.ts +64 -0
  121. package/bundle/components/Gallery/GalleryInner.d.ts +7 -0
  122. package/bundle/components/Gallery/GalleryProps.d.ts +4 -0
  123. package/bundle/components/Gallery/constants.d.ts +4 -0
  124. package/bundle/components/GracePeriod/GracePeriod.d.ts +5 -0
  125. package/bundle/components/GracePeriod/GracePeriodContent.d.ts +32 -0
  126. package/bundle/components/Header/DropdownMenu.d.ts +14 -0
  127. package/bundle/components/Header/Header.d.ts +5 -0
  128. package/bundle/components/Header/Header.fallback.d.ts +2 -0
  129. package/bundle/components/Header/Header.mobile.d.ts +5 -0
  130. package/bundle/components/Header/HeaderBurger.d.ts +11 -0
  131. package/bundle/components/Header/HeaderContent.d.ts +41 -0
  132. package/bundle/components/Header/HeaderSecondaryMenu.d.ts +10 -0
  133. package/bundle/components/Header/HeaderSecondaryMenuButton.d.ts +6 -0
  134. package/bundle/components/Header/HeaderSubMenu.d.ts +9 -0
  135. package/bundle/components/Header/HeaderTop.d.ts +6 -0
  136. package/bundle/components/Headline/Headline.d.ts +5 -0
  137. package/bundle/components/Headline/Headline.mobile.d.ts +5 -0
  138. package/bundle/components/Headline/HeadlineContent.d.ts +15 -0
  139. package/bundle/components/Headline/constants.d.ts +20 -0
  140. package/bundle/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +5 -0
  141. package/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +30 -0
  142. package/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +7 -0
  143. package/bundle/components/LikeControl/LikeControl.d.ts +2 -0
  144. package/bundle/components/LinkDocs/LinkDocs.d.ts +5 -0
  145. package/bundle/components/LinkDocs/LinkDocs.mobile.d.ts +5 -0
  146. package/bundle/components/LinkDocs/LinkDocsContent.d.ts +43 -0
  147. package/bundle/components/LinkDocs/LinkDocsHorizontalList.d.ts +6 -0
  148. package/bundle/components/LinkDocs/LinkDocsList.d.ts +9 -0
  149. package/bundle/components/LinkDocs/LinkDocsListItem.d.ts +2 -0
  150. package/bundle/components/LinkDocs/LinkDocsListItem.mobile.d.ts +2 -0
  151. package/bundle/components/LinkDocs/LinkDocsListItemBase.d.ts +13 -0
  152. package/bundle/components/LinkDocs/LinkDocsVerticalList.d.ts +8 -0
  153. package/bundle/components/LinkDocs/linkDocsContentExample.d.ts +2 -0
  154. package/bundle/components/LinkList/LinkList.d.ts +5 -0
  155. package/bundle/components/LinkList/LinkListContent.d.ts +8 -0
  156. package/bundle/components/LinkList/linkListContentExample.d.ts +2 -0
  157. package/bundle/components/MiniGallery/MiniGallery.d.ts +5 -0
  158. package/bundle/components/MiniGallery/MiniGalleryContent.d.ts +12 -0
  159. package/bundle/components/MobileAppTile/MobileAppTile.d.ts +5 -0
  160. package/bundle/components/MobileAppTile/MobileAppTile.mobile.d.ts +5 -0
  161. package/bundle/components/MobileAppTile/MobileAppTileContent.d.ts +31 -0
  162. package/bundle/components/OfficeServicesBlock/OfficeServicesBlock.d.ts +5 -0
  163. package/bundle/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +10 -0
  164. package/bundle/components/OtherProducts/OtherProducts.d.ts +5 -0
  165. package/bundle/components/OtherProducts/OtherProductsContent.d.ts +25 -0
  166. package/bundle/components/OtherProducts/OtherProductsItem.d.ts +6 -0
  167. package/bundle/components/PictureText/PictureText.d.ts +5 -0
  168. package/bundle/components/PictureText/PictureTextContent.d.ts +34 -0
  169. package/bundle/components/Placeholder/Placeholder.d.ts +6 -0
  170. package/bundle/components/Placeholder/PlaceholderContent.d.ts +5 -0
  171. package/bundle/components/ProductBlock/ProductBlock.d.ts +5 -0
  172. package/bundle/components/ProductBlock/ProductBlock.mobile.d.ts +5 -0
  173. package/bundle/components/ProductBlock/ProductBlockContent.d.ts +54 -0
  174. package/bundle/components/ProductBlock/ProductBlockInner.d.ts +4 -0
  175. package/bundle/components/ProductBlock/ProductBlockInner.mobile.d.ts +4 -0
  176. package/bundle/components/ProductBlock/renderBackwardButton.d.ts +4 -0
  177. package/bundle/components/ProductBlock/renderBenefit.d.ts +5 -0
  178. package/bundle/components/ProductGallery/ProductGallery.d.ts +5 -0
  179. package/bundle/components/ProductGallery/ProductGallery.mobile.d.ts +5 -0
  180. package/bundle/components/ProductGallery/ProductGalleryBlock.d.ts +8 -0
  181. package/bundle/components/ProductGallery/ProductGalleryContent.d.ts +29 -0
  182. package/bundle/components/ProductTile/ProductTile.d.ts +5 -0
  183. package/bundle/components/ProductTile/ProductTileContent.d.ts +33 -0
  184. package/bundle/components/PromoTile/PromoTile.d.ts +5 -0
  185. package/bundle/components/PromoTile/PromoTileContent.d.ts +12 -0
  186. package/bundle/components/Recommendation/Recommendation.d.ts +5 -0
  187. package/bundle/components/Recommendation/RecommendationCard.d.ts +7 -0
  188. package/bundle/components/Recommendation/RecommendationContent.d.ts +43 -0
  189. package/bundle/components/SafeDepositRental/RegionsAndBranches.d.ts +12 -0
  190. package/bundle/components/SafeDepositRental/RenderRadioButtons.d.ts +2 -0
  191. package/bundle/components/SafeDepositRental/RentalPeriod.d.ts +6 -0
  192. package/bundle/components/SafeDepositRental/SafeBoxCases.d.ts +11 -0
  193. package/bundle/components/SafeDepositRental/SafeDepositRental.d.ts +5 -0
  194. package/bundle/components/SafeDepositRental/SafeDepositRentalContent.d.ts +9 -0
  195. package/bundle/components/SafeDepositRental/SafeDepositRentalFields.d.ts +12 -0
  196. package/bundle/components/SafeDepositRental/SafeDepositRentalForm.d.ts +11 -0
  197. package/bundle/components/SafeDepositRental/SafeDepositRentalTotal.d.ts +6 -0
  198. package/bundle/components/SafeDepositRental/SafeDepositRentalTypes.d.ts +8 -0
  199. package/bundle/components/SafeDepositRental/WrapperSelect.d.ts +11 -0
  200. package/bundle/components/SafeDepositRental/YandexMap.d.ts +5 -0
  201. package/bundle/components/SafeDepositRental/renderClusterer.d.ts +2 -0
  202. package/bundle/components/SafeDepositRental/useGetRegions.d.ts +6 -0
  203. package/bundle/components/SafeDepositRental/useYandexMaps.d.ts +2 -0
  204. package/bundle/components/SafeDepositRental/utils.d.ts +3 -0
  205. package/bundle/components/StepsBlock/StepsBlock.d.ts +5 -0
  206. package/bundle/components/StepsBlock/StepsBlock.mobile.d.ts +5 -0
  207. package/bundle/components/StepsBlock/StepsBlockContent.d.ts +43 -0
  208. package/bundle/components/StepsBlock/StepsBlockStyleMaps.d.ts +11 -0
  209. package/bundle/components/StepsBlock/renderItems.d.ts +3 -0
  210. package/bundle/components/Tabs/Tabs.d.ts +13 -0
  211. package/bundle/components/Tabs/TabsContent.d.ts +36 -0
  212. package/bundle/components/Tabs/renderGroupTab.d.ts +4 -0
  213. package/bundle/components/Tabs/renderLinkTab.d.ts +9 -0
  214. package/bundle/components/Tabs/renderTab.d.ts +12 -0
  215. package/bundle/components/Tabs/tabItemClasses.d.ts +6 -0
  216. package/bundle/components/TariffsTable/EmbeddableCellData.d.ts +14 -0
  217. package/bundle/components/TariffsTable/EmbeddableCellData.mobile.d.ts +12 -0
  218. package/bundle/components/TariffsTable/TableTileHeader.d.ts +2 -0
  219. package/bundle/components/TariffsTable/TariffsTable.d.ts +5 -0
  220. package/bundle/components/TariffsTable/TariffsTable.mobile.d.ts +5 -0
  221. package/bundle/components/TariffsTable/TariffsTableCell.d.ts +9 -0
  222. package/bundle/components/TariffsTable/TariffsTableContent.d.ts +95 -0
  223. package/bundle/components/TariffsTable/TariffsTableHorizontal.d.ts +6 -0
  224. package/bundle/components/TariffsTable/TariffsTableRow.d.ts +9 -0
  225. package/bundle/components/TariffsTable/TariffsTableRowContainer.d.ts +7 -0
  226. package/bundle/components/TariffsTable/TariffsTableTileCell.d.ts +8 -0
  227. package/bundle/components/TariffsTable/TariffsTableVertical.d.ts +6 -0
  228. package/bundle/components/TariffsTable/constants.d.ts +4 -0
  229. package/bundle/components/TariffsTable/dataFixture.d.ts +5 -0
  230. package/bundle/components/TariffsTable/utils/getButtonAriaLabel.d.ts +2 -0
  231. package/bundle/components/TextBlock/TextBlock.d.ts +5 -0
  232. package/bundle/components/TextBlock/TextBlock.mobile.d.ts +5 -0
  233. package/bundle/components/TextBlock/TextBlockContent.d.ts +22 -0
  234. package/bundle/components/Tile/Tile.d.ts +6 -0
  235. package/bundle/components/Tile/TileContent.d.ts +34 -0
  236. package/bundle/content-page-repository/ContentPageRepository.d.ts +11 -0
  237. package/bundle/content-page-repository/TransformationOptions.d.ts +4 -0
  238. package/bundle/content-page-repository/index.d.ts +2 -0
  239. package/bundle/content-page-repository/mapJSON.d.ts +1 -0
  240. package/bundle/content-page-repository/transformContentPage.d.ts +3 -0
  241. package/bundle/content-page-repository/transformImg.d.ts +11 -0
  242. package/bundle/content-page-repository/transformMarkdown.d.ts +1 -0
  243. package/bundle/content-page-repository/transformPicture.d.ts +3 -0
  244. package/bundle/content-page-repository/transformSrc.d.ts +3 -0
  245. package/bundle/hooks/useExchangeRates.d.ts +2 -0
  246. package/bundle/hooks/useExternalNS.d.ts +2 -0
  247. package/bundle/hooks/useGeolocation.d.ts +1 -0
  248. package/bundle/hooks/useLikeService.d.ts +5 -0
  249. package/bundle/hooks/useLink.d.ts +18 -0
  250. package/bundle/hooks/useOutsideClick.d.ts +5 -0
  251. package/{lib/hooks/useFetchSafeBoxes.d.ts → bundle/hooks/useSafeBoxes.d.ts} +1 -3
  252. package/bundle/hooks/useSearch.d.ts +4 -0
  253. package/bundle/hooks/useTableArrowScrollControl.d.ts +7 -0
  254. package/bundle/hooks/useTariffsInnerTableData.d.ts +1 -0
  255. package/bundle/icons/IconName.d.ts +194 -0
  256. package/bundle/index.d.ts +9 -0
  257. package/bundle/model/AlignType.d.ts +9 -0
  258. package/bundle/model/BgColorVersion.d.ts +8 -0
  259. package/bundle/model/BlockDecorator.d.ts +14 -0
  260. package/bundle/model/BlockVersion.d.ts +11 -0
  261. package/bundle/model/BlocksRegistry.d.ts +5 -0
  262. package/bundle/model/ButtonVersion.d.ts +6 -0
  263. package/bundle/model/ContentPageDef.d.ts +52 -0
  264. package/bundle/model/EmptyOptionType.d.ts +4 -0
  265. package/bundle/model/Fallback.d.ts +5 -0
  266. package/bundle/model/Footnote.d.ts +4 -0
  267. package/bundle/model/GalleryVersion.d.ts +1 -0
  268. package/bundle/model/HeadlineType.d.ts +29 -0
  269. package/bundle/model/IconVersion.d.ts +9 -0
  270. package/bundle/model/ImageSize.d.ts +6 -0
  271. package/bundle/model/InputTypes.d.ts +1 -0
  272. package/bundle/model/LinkProps.d.ts +24 -0
  273. package/bundle/model/ListOrientation.d.ts +8 -0
  274. package/bundle/model/Picture.d.ts +59 -0
  275. package/bundle/model/ProductColorVersion.d.ts +4 -0
  276. package/bundle/model/SitemapProps.d.ts +24 -0
  277. package/bundle/model/SizeVersion.d.ts +8 -0
  278. package/bundle/model/TableVersion.d.ts +1 -0
  279. package/bundle/model/VNode.d.ts +1 -0
  280. package/bundle/react/setup-fixture.d.ts +4 -0
  281. package/bundle/services/sitemap/SitemapProps.d.ts +24 -0
  282. package/bundle/services/sitemap/checkIsHrefSameOrigin.d.ts +4 -0
  283. package/bundle/services/sitemap/findActiveSubItem.d.ts +3 -0
  284. package/bundle/services/sitemap/isHrefActive.d.ts +4 -0
  285. package/bundle/services/sitemap/isSubItemActive.d.ts +3 -0
  286. package/bundle/services/sitemap/isTopItemActive.d.ts +3 -0
  287. package/bundle/services/sitemap/mergeTopItems.d.ts +2 -0
  288. package/bundle/services/sitemap/useSitemap.d.ts +3 -0
  289. package/bundle/ui-kit/BenefitItem/BenefitItem.d.ts +4 -0
  290. package/bundle/ui-kit/BenefitItem/BenefitItemProps.d.ts +20 -0
  291. package/bundle/ui-kit/BlockWrapper.d.ts +7 -0
  292. package/bundle/ui-kit/BlocksList/BlocksListProps.d.ts +96 -0
  293. package/bundle/ui-kit/BlocksList/EmbeddableBlocks.d.ts +12 -0
  294. package/bundle/ui-kit/BlocksList/EmbeddableBlocks.mobile.d.ts +8 -0
  295. package/bundle/ui-kit/BlocksList/renderBlocksList.d.ts +9 -0
  296. package/bundle/ui-kit/Breadcrumb.d.ts +6 -0
  297. package/bundle/ui-kit/Button/ArrowButton.d.ts +2 -0
  298. package/bundle/ui-kit/Button/Button.d.ts +2 -0
  299. package/bundle/ui-kit/Button/Button.mobile.d.ts +2 -0
  300. package/bundle/ui-kit/Button/ButtonInner.d.ts +7 -0
  301. package/bundle/ui-kit/Button/ButtonProps.d.ts +54 -0
  302. package/bundle/ui-kit/Button/ButtonSection.d.ts +5 -0
  303. package/bundle/ui-kit/Button/GetButtonClassParams.d.ts +6 -0
  304. package/bundle/ui-kit/Button/LikeButton.d.ts +6 -0
  305. package/bundle/ui-kit/Button/buttonClassNameConstants.d.ts +5 -0
  306. package/bundle/ui-kit/Button/getDisabledButtonClasses.d.ts +2 -0
  307. package/bundle/ui-kit/Button/getRegularButtonClasses.d.ts +2 -0
  308. package/bundle/ui-kit/Button/renderArrows.d.ts +9 -0
  309. package/bundle/ui-kit/Checkbox/Checkbox.d.ts +2 -0
  310. package/bundle/ui-kit/Checkbox/CheckboxProps.d.ts +7 -0
  311. package/bundle/ui-kit/CurrencyInput/CurrencyInput.d.ts +2 -0
  312. package/bundle/ui-kit/CurrencyInput/CurrencyInputProps.d.ts +5 -0
  313. package/bundle/ui-kit/CurrencyInput/adjustValue .d.ts +3 -0
  314. package/bundle/ui-kit/Description/Description.d.ts +5 -0
  315. package/bundle/ui-kit/Foldable/DefaultButton.d.ts +2 -0
  316. package/bundle/ui-kit/Foldable/FoldButtonProps.d.ts +12 -0
  317. package/bundle/ui-kit/Foldable/Foldable.d.ts +16 -0
  318. package/bundle/ui-kit/HeaderItem/HeaderItem.d.ts +2 -0
  319. package/bundle/ui-kit/HeaderItem/HeaderItem.mobile.d.ts +3 -0
  320. package/bundle/ui-kit/Heading/Heading.d.ts +2 -0
  321. package/bundle/ui-kit/Heading/Heading.mobile.d.ts +2 -0
  322. package/bundle/ui-kit/Heading/HeadingProps.d.ts +23 -0
  323. package/bundle/ui-kit/Icon/Icon.d.ts +2 -0
  324. package/bundle/ui-kit/Icon/IconProps.d.ts +21 -0
  325. package/bundle/ui-kit/Img/Img.d.ts +1 -0
  326. package/bundle/ui-kit/Img/Img.mobile.d.ts +2 -0
  327. package/bundle/ui-kit/Img/ImgAsPicture.d.ts +4 -0
  328. package/bundle/ui-kit/Img/ImgInner.d.ts +2 -0
  329. package/bundle/ui-kit/Img/ImgProps.d.ts +11 -0
  330. package/bundle/ui-kit/Img/getIconVersion.d.ts +1 -0
  331. package/bundle/ui-kit/InnerTable/InnerTable.d.ts +5 -0
  332. package/bundle/ui-kit/InnerTable/InnerTableBody.d.ts +7 -0
  333. package/bundle/ui-kit/InnerTable/InnerTableBodyItem.d.ts +6 -0
  334. package/bundle/ui-kit/InnerTable/InnerTableButton.d.ts +6 -0
  335. package/bundle/ui-kit/InnerTable/InnerTableHeader.d.ts +7 -0
  336. package/bundle/ui-kit/InnerTable/InnerTableProps.d.ts +24 -0
  337. package/bundle/ui-kit/Input/Input.d.ts +2 -0
  338. package/bundle/ui-kit/Input/InputProps.d.ts +16 -0
  339. package/bundle/ui-kit/InputRange/InputRange.d.ts +2 -0
  340. package/bundle/ui-kit/InputRange/InputRangeProps.d.ts +11 -0
  341. package/bundle/ui-kit/IntersectionObserverTag.d.ts +11 -0
  342. package/bundle/ui-kit/List/List.d.ts +2 -0
  343. package/bundle/ui-kit/List/ListContent.d.ts +4 -0
  344. package/bundle/ui-kit/List/ListItem.d.ts +12 -0
  345. package/bundle/ui-kit/List/ListProps.d.ts +26 -0
  346. package/bundle/ui-kit/Logo/Logo.d.ts +13 -0
  347. package/bundle/ui-kit/Logo/Logo.mobile.d.ts +8 -0
  348. package/bundle/ui-kit/Radio/Radio.d.ts +2 -0
  349. package/bundle/ui-kit/Radio/RadioProps.d.ts +9 -0
  350. package/bundle/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +12 -0
  351. package/bundle/ui-kit/SVG.d.ts +19 -0
  352. package/bundle/ui-kit/SearchBar/SearchBar.d.ts +2 -0
  353. package/bundle/ui-kit/SearchBar/SearchBar.mobile.d.ts +2 -0
  354. package/bundle/ui-kit/SearchBar/SearchBarInner.d.ts +5 -0
  355. package/{dist/ui-kit/SelectCustom/SelectCustom.d.ts → bundle/ui-kit/Select/Select.d.ts} +3 -2
  356. package/bundle/ui-kit/SwipeListControl/SwipeListControl.d.ts +2 -0
  357. package/bundle/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +6 -0
  358. package/bundle/ui-kit/SwipeListControl/SwipeListControlItem.d.ts +9 -0
  359. package/bundle/ui-kit/SwipeListControl/SwipeListControlList.d.ts +10 -0
  360. package/bundle/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +18 -0
  361. package/bundle/ui-kit/SwipeListControl/constants.d.ts +2 -0
  362. package/bundle/ui-kit/SwipeListControl/utils/getContainerStyle.d.ts +1 -0
  363. package/bundle/ui-kit/SwipeListControl/utils/getIndexParts.d.ts +4 -0
  364. package/bundle/ui-kit/SwipeListControl/utils/getScrollPoints.d.ts +8 -0
  365. package/bundle/ui-kit/TableArrowScrollControl/TableArrowScrollControl.d.ts +2 -0
  366. package/bundle/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.d.ts +7 -0
  367. package/bundle/ui-kit/TopItem/TopItem.d.ts +14 -0
  368. package/bundle/utils/addSpacesBetweenNumbers.d.ts +1 -0
  369. package/bundle/utils/adjustHref.d.ts +4 -0
  370. package/bundle/utils/assertUnreachable.d.ts +1 -0
  371. package/bundle/utils/changeHashOnObserve.d.ts +9 -0
  372. package/bundle/utils/checkIsIconRenderable.d.ts +2 -0
  373. package/bundle/utils/clamp.d.ts +1 -0
  374. package/bundle/utils/fetchJSON.d.ts +2 -0
  375. package/bundle/utils/getAccordionItems.d.ts +1 -0
  376. package/bundle/utils/getColSpan.d.ts +1 -0
  377. package/bundle/utils/getCurrentDate.d.ts +1 -0
  378. package/bundle/utils/getGeolocation.d.ts +1 -0
  379. package/bundle/utils/getSanitizedValue.d.ts +1 -0
  380. package/bundle/utils/isPictureSizeEmpty.d.ts +2 -0
  381. package/bundle/utils/joinList.d.ts +1 -0
  382. package/bundle/utils/maxBy.d.ts +2 -0
  383. package/bundle/utils/roundTo.d.ts +1 -0
  384. package/bundle/utils/style2className.d.ts +1 -0
  385. package/bundle/utils/tableFunc.d.ts +2 -0
  386. package/bundle/utils/url.d.ts +5 -0
  387. package/bundle/utils/withoutMobilePath.d.ts +2 -0
  388. package/dist/EventBus/EventMap.d.ts +2 -1
  389. package/dist/components/Accordion/AccordionItem.d.ts +1 -1
  390. package/dist/components/Accordion/AccordionItem.js +9 -10
  391. package/dist/components/Accordion/AccordionItem.js.map +1 -1
  392. package/dist/components/Accordion/AccordionItem.mobile.d.ts +1 -1
  393. package/dist/components/Accordion/AccordionItem.mobile.js +9 -7
  394. package/dist/components/Accordion/AccordionItem.mobile.js.map +1 -1
  395. package/dist/components/BenefitsBlock/BenefitsBlock.js +1 -1
  396. package/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  397. package/dist/components/Blocks.mobile.d.ts +0 -1
  398. package/dist/components/Blocks.mobile.js +0 -2
  399. package/dist/components/Blocks.mobile.js.map +1 -1
  400. package/dist/components/Bonus/Bonus.js +11 -2
  401. package/dist/components/Bonus/Bonus.js.map +1 -1
  402. package/dist/components/Bonus/BonusContent.d.ts +30 -2
  403. package/dist/components/Calculator/CalculatorContent.d.ts +1 -1
  404. package/dist/components/CardTransfer/CardTransfer.js +12 -12
  405. package/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  406. package/dist/components/CardTransfer/CardTransferContent.d.ts +2 -2
  407. package/dist/components/Catalog/Catalog.js +1 -1
  408. package/dist/components/Catalog/Catalog.js.map +1 -1
  409. package/dist/components/Catalog/CatalogCard.js +1 -23
  410. package/dist/components/Catalog/CatalogCard.js.map +1 -1
  411. package/dist/components/ComparisonTable/ComparisonTable.js +1 -1
  412. package/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
  413. package/dist/components/ComparisonTable/ComparisonTable.mobile.js +13 -48
  414. package/dist/components/ComparisonTable/ComparisonTable.mobile.js.map +1 -1
  415. package/dist/components/ComparisonTable/TableCell.d.ts +1 -1
  416. package/dist/components/ComparisonTable/TableCell.js.map +1 -1
  417. package/dist/components/ComparisonTable/TableColumn.d.ts +5 -8
  418. package/dist/components/ComparisonTable/TableColumn.js +2 -3
  419. package/dist/components/ComparisonTable/TableColumn.js.map +1 -1
  420. package/dist/components/ContentPage/ContentPageContext.d.ts +0 -11
  421. package/dist/components/ErrorBlock/ErrorBlock.js +1 -1
  422. package/dist/components/ErrorBlock/ErrorBlock.js.map +1 -1
  423. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +2 -2
  424. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +1 -1
  425. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  426. package/dist/components/ExchangeRateTile/renderInput.js +2 -2
  427. package/dist/components/ExchangeRateTile/renderInput.js.map +1 -1
  428. package/dist/components/Footer/Contacts.js +1 -1
  429. package/dist/components/Footer/Contacts.js.map +1 -1
  430. package/dist/components/Footer/FooterContent.d.ts +5 -9
  431. package/dist/components/Gallery/Gallery.mobile.js +7 -3
  432. package/dist/components/Gallery/Gallery.mobile.js.map +1 -1
  433. package/dist/components/Gallery/GalleryCardInner.js +14 -17
  434. package/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  435. package/dist/components/Gallery/GalleryContainer.js +2 -2
  436. package/dist/components/Gallery/GalleryContainer.js.map +1 -1
  437. package/dist/components/Gallery/GalleryContent.d.ts +11 -3
  438. package/dist/components/GracePeriod/GracePeriod.js +3 -3
  439. package/dist/components/GracePeriod/GracePeriod.js.map +1 -1
  440. package/dist/components/GracePeriod/GracePeriodContent.d.ts +1 -1
  441. package/dist/components/Header/HeaderSubMenu.js +3 -2
  442. package/dist/components/Header/HeaderSubMenu.js.map +1 -1
  443. package/dist/components/Headline/constants.d.ts +2 -1
  444. package/dist/components/Headline/constants.js +10 -1
  445. package/dist/components/Headline/constants.js.map +1 -1
  446. package/dist/components/MiniGallery/MiniGalleryContent.d.ts +1 -0
  447. package/dist/components/MobileAppTile/MobileAppTile.js +3 -3
  448. package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  449. package/dist/components/OtherProducts/OtherProductsItem.js +4 -2
  450. package/dist/components/OtherProducts/OtherProductsItem.js.map +1 -1
  451. package/dist/components/ProductGallery/ProductGallery.js +2 -2
  452. package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  453. package/dist/components/ProductTile/ProductTile.js +1 -1
  454. package/dist/components/ProductTile/ProductTile.js.map +1 -1
  455. package/dist/components/Recommendation/RecommendationContent.d.ts +5 -0
  456. package/dist/components/SafeDepositRental/RegionsAndBranches.d.ts +1 -1
  457. package/dist/components/SafeDepositRental/RegionsAndBranches.js +1 -1
  458. package/dist/components/SafeDepositRental/RegionsAndBranches.js.map +1 -1
  459. package/dist/components/SafeDepositRental/SafeBoxCases.d.ts +1 -1
  460. package/dist/components/SafeDepositRental/SafeDepositRental.d.ts +1 -1
  461. package/dist/components/SafeDepositRental/SafeDepositRental.js +17 -3
  462. package/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  463. package/dist/components/SafeDepositRental/SafeDepositRentalFields.d.ts +7 -4
  464. package/dist/components/SafeDepositRental/SafeDepositRentalFields.js +3 -5
  465. package/dist/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
  466. package/dist/components/SafeDepositRental/SafeDepositRentalForm.d.ts +7 -3
  467. package/dist/components/SafeDepositRental/SafeDepositRentalForm.js +7 -28
  468. package/dist/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
  469. package/dist/components/SafeDepositRental/SafeDepositRentalTotal.d.ts +1 -1
  470. package/dist/components/SafeDepositRental/SafeDepositRentalTotal.js +1 -1
  471. package/dist/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
  472. package/dist/components/SafeDepositRental/SafeDepositRentalTypes.d.ts +0 -2
  473. package/dist/components/SafeDepositRental/WrapperSelect.js +6 -3
  474. package/dist/components/SafeDepositRental/WrapperSelect.js.map +1 -1
  475. package/dist/components/SafeDepositRental/utils.d.ts +1 -1
  476. package/dist/components/StepsBlock/StepsBlock.js +9 -4
  477. package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  478. package/dist/components/StepsBlock/StepsBlockContent.d.ts +9 -2
  479. package/dist/components/StepsBlock/StepsBlockStyleMaps.d.ts +1 -0
  480. package/dist/components/StepsBlock/StepsBlockStyleMaps.js +2 -0
  481. package/dist/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
  482. package/dist/components/StepsBlock/renderItems.d.ts +3 -0
  483. package/dist/components/StepsBlock/renderItems.js +6 -0
  484. package/dist/components/StepsBlock/renderItems.js.map +1 -0
  485. package/dist/components/Tabs/Tabs.d.ts +4 -0
  486. package/dist/components/Tabs/Tabs.js +13 -3
  487. package/dist/components/Tabs/Tabs.js.map +1 -1
  488. package/dist/components/Tabs/TabsContent.d.ts +2 -0
  489. package/dist/components/Tabs/renderLinkTab.d.ts +3 -2
  490. package/dist/components/Tabs/renderLinkTab.js +4 -1
  491. package/dist/components/Tabs/renderLinkTab.js.map +1 -1
  492. package/dist/components/Tabs/renderTab.js +12 -2
  493. package/dist/components/Tabs/renderTab.js.map +1 -1
  494. package/dist/components/TariffsTable/EmbeddableCellData.js +4 -5
  495. package/dist/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  496. package/dist/components/TariffsTable/EmbeddableCellData.mobile.js +1 -2
  497. package/dist/components/TariffsTable/EmbeddableCellData.mobile.js.map +1 -1
  498. package/dist/components/TariffsTable/TariffsTable.js +1 -1
  499. package/dist/components/TariffsTable/TariffsTable.js.map +1 -1
  500. package/dist/components/TariffsTable/TariffsTableCell.js +1 -1
  501. package/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
  502. package/dist/components/TariffsTable/TariffsTableRow.js +1 -2
  503. package/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
  504. package/dist/components/TariffsTable/dataFixture.js +4 -2
  505. package/dist/components/TariffsTable/dataFixture.js.map +1 -1
  506. package/dist/components/TariffsTable/utils/getButtonAriaLabel.d.ts +1 -1
  507. package/dist/components/TariffsTable/utils/getButtonAriaLabel.js +1 -2
  508. package/dist/components/TariffsTable/utils/getButtonAriaLabel.js.map +1 -1
  509. package/dist/components/Tile/Tile.js +2 -3
  510. package/dist/components/Tile/Tile.js.map +1 -1
  511. package/dist/hooks/useOutsideClick.d.ts +5 -0
  512. package/dist/hooks/useOutsideClick.js +21 -0
  513. package/dist/hooks/useOutsideClick.js.map +1 -0
  514. package/dist/hooks/{useFetchSafeBoxes.d.ts → useSafeBoxes.d.ts} +1 -3
  515. package/dist/hooks/{useFetchSafeBoxes.js → useSafeBoxes.js} +9 -10
  516. package/dist/hooks/useSafeBoxes.js.map +1 -0
  517. package/dist/icons/IconName.d.ts +1 -92
  518. package/dist/icons/IconName.js +4 -4
  519. package/dist/icons/IconName.js.map +1 -1
  520. package/dist/model/HeadlineType.d.ts +8 -0
  521. package/dist/model/Picture.d.ts +1 -0
  522. package/dist/react/setup-fixture.js +0 -2
  523. package/dist/react/setup-fixture.js.map +1 -1
  524. package/dist/ui-kit/BenefitItem/BenefitItem.js +3 -1
  525. package/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  526. package/dist/ui-kit/BlockWrapper.d.ts +0 -3
  527. package/dist/ui-kit/BlockWrapper.js +36 -14
  528. package/dist/ui-kit/BlockWrapper.js.map +1 -1
  529. package/dist/ui-kit/BlocksList/renderBlocksList.d.ts +1 -1
  530. package/dist/ui-kit/BlocksList/renderBlocksList.js +1 -1
  531. package/dist/ui-kit/BlocksList/renderBlocksList.js.map +1 -1
  532. package/dist/ui-kit/Button/Button.js +6 -10
  533. package/dist/ui-kit/Button/Button.js.map +1 -1
  534. package/dist/ui-kit/Button/Button.mobile.js +1 -1
  535. package/dist/ui-kit/Button/Button.mobile.js.map +1 -1
  536. package/dist/ui-kit/Button/ButtonInner.js +3 -2
  537. package/dist/ui-kit/Button/ButtonInner.js.map +1 -1
  538. package/dist/ui-kit/Button/ButtonProps.d.ts +1 -7
  539. package/dist/ui-kit/Button/ButtonSection.js +5 -10
  540. package/dist/ui-kit/Button/ButtonSection.js.map +1 -1
  541. package/dist/ui-kit/Button/buttonClassNameConstants.d.ts +1 -0
  542. package/dist/ui-kit/Button/buttonClassNameConstants.js +7 -1
  543. package/dist/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
  544. package/dist/ui-kit/CurrencyInput/CurrencyInput.js +17 -6
  545. package/dist/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -1
  546. package/dist/ui-kit/CurrencyInput/CurrencyInputProps.d.ts +2 -7
  547. package/dist/ui-kit/CurrencyInput/adjustValue .d.ts +3 -0
  548. package/dist/ui-kit/CurrencyInput/adjustValue .js +24 -0
  549. package/dist/ui-kit/CurrencyInput/adjustValue .js.map +1 -0
  550. package/dist/ui-kit/Foldable/DefaultButton.d.ts +2 -0
  551. package/dist/ui-kit/Foldable/DefaultButton.js +12 -0
  552. package/dist/ui-kit/Foldable/DefaultButton.js.map +1 -0
  553. package/dist/ui-kit/Foldable/FoldButtonProps.d.ts +12 -0
  554. package/dist/ui-kit/Foldable/FoldButtonProps.js +2 -0
  555. package/dist/ui-kit/Foldable/FoldButtonProps.js.map +1 -0
  556. package/dist/ui-kit/Foldable/Foldable.d.ts +11 -17
  557. package/dist/ui-kit/Foldable/Foldable.js +22 -14
  558. package/dist/ui-kit/Foldable/Foldable.js.map +1 -1
  559. package/dist/ui-kit/Icon/Icon.js +4 -5
  560. package/dist/ui-kit/Icon/Icon.js.map +1 -1
  561. package/dist/ui-kit/Icon/IconProps.d.ts +0 -1
  562. package/dist/ui-kit/Img/Img.d.ts +1 -2
  563. package/dist/ui-kit/Img/Img.js +2 -6
  564. package/dist/ui-kit/Img/Img.js.map +1 -1
  565. package/dist/ui-kit/Img/Img.mobile.js +1 -3
  566. package/dist/ui-kit/Img/Img.mobile.js.map +1 -1
  567. package/dist/ui-kit/InnerTable/InnerTableBody.js +1 -1
  568. package/dist/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
  569. package/dist/ui-kit/InnerTable/InnerTableBodyItem.js +6 -2
  570. package/dist/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
  571. package/dist/ui-kit/InnerTable/InnerTableButton.js +1 -1
  572. package/dist/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
  573. package/dist/ui-kit/InnerTable/InnerTableHeader.js +1 -1
  574. package/dist/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
  575. package/dist/ui-kit/Input/Input.d.ts +1 -1
  576. package/dist/ui-kit/Input/Input.js +16 -4
  577. package/dist/ui-kit/Input/Input.js.map +1 -1
  578. package/dist/ui-kit/Input/InputProps.d.ts +8 -3
  579. package/dist/ui-kit/InputRange/InputRange.js +2 -2
  580. package/dist/ui-kit/InputRange/InputRange.js.map +1 -1
  581. package/dist/ui-kit/IntersectionObserverTag.d.ts +11 -0
  582. package/dist/ui-kit/IntersectionObserverTag.js +22 -0
  583. package/dist/ui-kit/IntersectionObserverTag.js.map +1 -0
  584. package/dist/ui-kit/List/List.js +13 -8
  585. package/dist/ui-kit/List/List.js.map +1 -1
  586. package/dist/ui-kit/List/ListItem.d.ts +2 -2
  587. package/dist/ui-kit/List/ListItem.js +8 -23
  588. package/dist/ui-kit/List/ListItem.js.map +1 -1
  589. package/dist/ui-kit/List/ListProps.d.ts +5 -3
  590. package/dist/ui-kit/Radio/Radio.js +1 -1
  591. package/dist/ui-kit/Radio/Radio.js.map +1 -1
  592. package/dist/ui-kit/Select/Select.d.ts +10 -4
  593. package/dist/ui-kit/Select/Select.js +26 -5
  594. package/dist/ui-kit/Select/Select.js.map +1 -1
  595. package/dist/utils/changeHashOnObserve.d.ts +9 -1
  596. package/dist/utils/changeHashOnObserve.js +12 -4
  597. package/dist/utils/changeHashOnObserve.js.map +1 -1
  598. package/dist/utils/getSanitizedValue.d.ts +1 -0
  599. package/dist/utils/getSanitizedValue.js +5 -0
  600. package/dist/utils/getSanitizedValue.js.map +1 -0
  601. package/lib/EventBus/EventMap.d.ts +2 -1
  602. package/lib/common.css +1 -1
  603. package/lib/components/Accordion/AccordionItem.d.ts +1 -1
  604. package/lib/components/Accordion/AccordionItem.js +9 -10
  605. package/lib/components/Accordion/AccordionItem.js.map +1 -1
  606. package/lib/components/Accordion/AccordionItem.mobile.d.ts +1 -1
  607. package/lib/components/Accordion/AccordionItem.mobile.js +9 -7
  608. package/lib/components/Accordion/AccordionItem.mobile.js.map +1 -1
  609. package/lib/components/BenefitsBlock/BenefitsBlock.js +1 -1
  610. package/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  611. package/lib/components/Blocks.mobile.d.ts +0 -1
  612. package/lib/components/Blocks.mobile.js +0 -2
  613. package/lib/components/Blocks.mobile.js.map +1 -1
  614. package/lib/components/Bonus/Bonus.js +11 -2
  615. package/lib/components/Bonus/Bonus.js.map +1 -1
  616. package/lib/components/Bonus/BonusContent.d.ts +30 -2
  617. package/lib/components/Calculator/CalculatorContent.d.ts +1 -1
  618. package/lib/components/CardTransfer/CardTransfer.js +12 -12
  619. package/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  620. package/lib/components/CardTransfer/CardTransferContent.d.ts +2 -2
  621. package/lib/components/Catalog/Catalog.js +1 -1
  622. package/lib/components/Catalog/Catalog.js.map +1 -1
  623. package/lib/components/Catalog/CatalogCard.js +1 -23
  624. package/lib/components/Catalog/CatalogCard.js.map +1 -1
  625. package/lib/components/ComparisonTable/ComparisonTable.js +1 -1
  626. package/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
  627. package/lib/components/ComparisonTable/ComparisonTable.mobile.js +14 -49
  628. package/lib/components/ComparisonTable/ComparisonTable.mobile.js.map +1 -1
  629. package/lib/components/ComparisonTable/TableCell.d.ts +1 -1
  630. package/lib/components/ComparisonTable/TableCell.js.map +1 -1
  631. package/lib/components/ComparisonTable/TableColumn.d.ts +5 -8
  632. package/lib/components/ComparisonTable/TableColumn.js +2 -3
  633. package/lib/components/ComparisonTable/TableColumn.js.map +1 -1
  634. package/lib/components/ContentPage/ContentPageContext.d.ts +0 -11
  635. package/lib/components/ErrorBlock/ErrorBlock.js +1 -1
  636. package/lib/components/ErrorBlock/ErrorBlock.js.map +1 -1
  637. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +2 -2
  638. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +1 -1
  639. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  640. package/lib/components/ExchangeRateTile/renderInput.js +2 -2
  641. package/lib/components/ExchangeRateTile/renderInput.js.map +1 -1
  642. package/lib/components/Footer/Contacts.js +1 -1
  643. package/lib/components/Footer/Contacts.js.map +1 -1
  644. package/lib/components/Footer/FooterContent.d.ts +5 -9
  645. package/lib/components/Gallery/Gallery.mobile.js +7 -3
  646. package/lib/components/Gallery/Gallery.mobile.js.map +1 -1
  647. package/lib/components/Gallery/GalleryCardInner.js +15 -18
  648. package/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  649. package/lib/components/Gallery/GalleryContainer.js +2 -2
  650. package/lib/components/Gallery/GalleryContainer.js.map +1 -1
  651. package/lib/components/Gallery/GalleryContent.d.ts +11 -3
  652. package/lib/components/GracePeriod/GracePeriod.js +3 -3
  653. package/lib/components/GracePeriod/GracePeriod.js.map +1 -1
  654. package/lib/components/GracePeriod/GracePeriodContent.d.ts +1 -1
  655. package/lib/components/Header/HeaderSubMenu.js +2 -1
  656. package/lib/components/Header/HeaderSubMenu.js.map +1 -1
  657. package/lib/components/Headline/constants.d.ts +2 -1
  658. package/lib/components/Headline/constants.js +9 -0
  659. package/lib/components/Headline/constants.js.map +1 -1
  660. package/lib/components/MiniGallery/MiniGallery.fixture.d.ts +1 -0
  661. package/lib/components/MiniGallery/MiniGalleryContent.d.ts +1 -0
  662. package/lib/components/MobileAppTile/MobileAppTile.js +3 -3
  663. package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  664. package/lib/components/OtherProducts/OtherProductsItem.js +4 -2
  665. package/lib/components/OtherProducts/OtherProductsItem.js.map +1 -1
  666. package/lib/components/ProductGallery/ProductGallery.js +2 -2
  667. package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  668. package/lib/components/ProductTile/ProductTile.js +1 -1
  669. package/lib/components/ProductTile/ProductTile.js.map +1 -1
  670. package/lib/components/Recommendation/RecommendationContent.d.ts +5 -0
  671. package/lib/components/SafeDepositRental/RegionsAndBranches.d.ts +1 -1
  672. package/lib/components/SafeDepositRental/RegionsAndBranches.js +1 -1
  673. package/lib/components/SafeDepositRental/RegionsAndBranches.js.map +1 -1
  674. package/lib/components/SafeDepositRental/SafeBoxCases.d.ts +1 -1
  675. package/lib/components/SafeDepositRental/SafeDepositRental.d.ts +1 -1
  676. package/lib/components/SafeDepositRental/SafeDepositRental.js +18 -4
  677. package/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  678. package/lib/components/SafeDepositRental/SafeDepositRentalFields.d.ts +7 -4
  679. package/lib/components/SafeDepositRental/SafeDepositRentalFields.js +3 -5
  680. package/lib/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
  681. package/lib/components/SafeDepositRental/SafeDepositRentalForm.d.ts +7 -3
  682. package/lib/components/SafeDepositRental/SafeDepositRentalForm.js +9 -30
  683. package/lib/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
  684. package/lib/components/SafeDepositRental/SafeDepositRentalTotal.d.ts +1 -1
  685. package/lib/components/SafeDepositRental/SafeDepositRentalTotal.js +1 -1
  686. package/lib/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
  687. package/lib/components/SafeDepositRental/SafeDepositRentalTypes.d.ts +0 -2
  688. package/lib/components/SafeDepositRental/WrapperSelect.js +7 -4
  689. package/lib/components/SafeDepositRental/WrapperSelect.js.map +1 -1
  690. package/lib/components/SafeDepositRental/utils.d.ts +1 -1
  691. package/lib/components/StepsBlock/StepsBlock.fixture.d.ts +1 -0
  692. package/lib/components/StepsBlock/StepsBlock.js +9 -4
  693. package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  694. package/lib/components/StepsBlock/StepsBlockContent.d.ts +9 -2
  695. package/lib/components/StepsBlock/StepsBlockStyleMaps.d.ts +1 -0
  696. package/lib/components/StepsBlock/StepsBlockStyleMaps.js +2 -0
  697. package/lib/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
  698. package/lib/components/StepsBlock/renderItems.d.ts +3 -0
  699. package/lib/components/StepsBlock/renderItems.js +3 -0
  700. package/lib/components/StepsBlock/renderItems.js.map +1 -0
  701. package/lib/components/Tabs/Tabs.d.ts +4 -0
  702. package/lib/components/Tabs/Tabs.js +13 -3
  703. package/lib/components/Tabs/Tabs.js.map +1 -1
  704. package/lib/components/Tabs/TabsContent.d.ts +2 -0
  705. package/lib/components/Tabs/renderLinkTab.d.ts +3 -2
  706. package/lib/components/Tabs/renderLinkTab.js +5 -2
  707. package/lib/components/Tabs/renderLinkTab.js.map +1 -1
  708. package/lib/components/Tabs/renderTab.js +12 -2
  709. package/lib/components/Tabs/renderTab.js.map +1 -1
  710. package/lib/components/TariffsTable/EmbeddableCellData.js +4 -5
  711. package/lib/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  712. package/lib/components/TariffsTable/EmbeddableCellData.mobile.js +1 -2
  713. package/lib/components/TariffsTable/EmbeddableCellData.mobile.js.map +1 -1
  714. package/lib/components/TariffsTable/TariffsTable.js +1 -1
  715. package/lib/components/TariffsTable/TariffsTable.js.map +1 -1
  716. package/lib/components/TariffsTable/TariffsTableCell.js +1 -1
  717. package/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
  718. package/lib/components/TariffsTable/TariffsTableRow.js +1 -2
  719. package/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
  720. package/lib/components/TariffsTable/dataFixture.js +4 -2
  721. package/lib/components/TariffsTable/dataFixture.js.map +1 -1
  722. package/lib/components/TariffsTable/utils/getButtonAriaLabel.d.ts +1 -1
  723. package/lib/components/TariffsTable/utils/getButtonAriaLabel.js +1 -2
  724. package/lib/components/TariffsTable/utils/getButtonAriaLabel.js.map +1 -1
  725. package/lib/components/Tile/Tile.js +2 -3
  726. package/lib/components/Tile/Tile.js.map +1 -1
  727. package/lib/hooks/useOutsideClick.d.ts +5 -0
  728. package/lib/hooks/useOutsideClick.js +18 -0
  729. package/lib/hooks/useOutsideClick.js.map +1 -0
  730. package/{mobile/dist/hooks/useFetchSafeBoxes.d.ts → lib/hooks/useSafeBoxes.d.ts} +1 -3
  731. package/lib/hooks/{useFetchSafeBoxes.js → useSafeBoxes.js} +7 -8
  732. package/lib/hooks/useSafeBoxes.js.map +1 -0
  733. package/lib/icons/IconName.d.ts +1 -92
  734. package/lib/icons/IconName.js +3 -3
  735. package/lib/icons/IconName.js.map +1 -1
  736. package/lib/model/HeadlineType.d.ts +8 -0
  737. package/lib/model/Picture.d.ts +1 -0
  738. package/lib/react/setup-fixture.js +0 -2
  739. package/lib/react/setup-fixture.js.map +1 -1
  740. package/lib/ui-kit/BenefitItem/BenefitItem.js +3 -1
  741. package/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  742. package/lib/ui-kit/BlockWrapper.d.ts +0 -3
  743. package/lib/ui-kit/BlockWrapper.js +37 -15
  744. package/lib/ui-kit/BlockWrapper.js.map +1 -1
  745. package/lib/ui-kit/BlocksList/renderBlocksList.d.ts +1 -1
  746. package/lib/ui-kit/BlocksList/renderBlocksList.js +1 -1
  747. package/lib/ui-kit/BlocksList/renderBlocksList.js.map +1 -1
  748. package/lib/ui-kit/Button/Button.js +6 -10
  749. package/lib/ui-kit/Button/Button.js.map +1 -1
  750. package/lib/ui-kit/Button/Button.mobile.js +1 -1
  751. package/lib/ui-kit/Button/Button.mobile.js.map +1 -1
  752. package/lib/ui-kit/Button/ButtonInner.js +3 -2
  753. package/lib/ui-kit/Button/ButtonInner.js.map +1 -1
  754. package/lib/ui-kit/Button/ButtonProps.d.ts +1 -7
  755. package/lib/ui-kit/Button/ButtonSection.js +5 -10
  756. package/lib/ui-kit/Button/ButtonSection.js.map +1 -1
  757. package/lib/ui-kit/Button/buttonClassNameConstants.d.ts +1 -0
  758. package/lib/ui-kit/Button/buttonClassNameConstants.js +6 -0
  759. package/lib/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
  760. package/lib/ui-kit/CurrencyInput/CurrencyInput.js +18 -7
  761. package/lib/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -1
  762. package/lib/ui-kit/CurrencyInput/CurrencyInputProps.d.ts +2 -7
  763. package/lib/ui-kit/CurrencyInput/adjustValue .d.ts +3 -0
  764. package/lib/ui-kit/CurrencyInput/adjustValue .js +19 -0
  765. package/lib/ui-kit/CurrencyInput/adjustValue .js.map +1 -0
  766. package/lib/ui-kit/Foldable/DefaultButton.d.ts +2 -0
  767. package/lib/ui-kit/Foldable/DefaultButton.js +10 -0
  768. package/lib/ui-kit/Foldable/DefaultButton.js.map +1 -0
  769. package/lib/ui-kit/Foldable/FoldButtonProps.d.ts +12 -0
  770. package/lib/ui-kit/Foldable/FoldButtonProps.js +2 -0
  771. package/lib/ui-kit/Foldable/FoldButtonProps.js.map +1 -0
  772. package/lib/ui-kit/Foldable/Foldable.d.ts +11 -17
  773. package/lib/ui-kit/Foldable/Foldable.js +22 -14
  774. package/lib/ui-kit/Foldable/Foldable.js.map +1 -1
  775. package/lib/ui-kit/Icon/Icon.js +4 -5
  776. package/lib/ui-kit/Icon/Icon.js.map +1 -1
  777. package/lib/ui-kit/Icon/IconProps.d.ts +0 -1
  778. package/lib/ui-kit/Img/Img.d.ts +1 -2
  779. package/lib/ui-kit/Img/Img.js +1 -6
  780. package/lib/ui-kit/Img/Img.js.map +1 -1
  781. package/lib/ui-kit/Img/Img.mobile.js +1 -3
  782. package/lib/ui-kit/Img/Img.mobile.js.map +1 -1
  783. package/lib/ui-kit/InnerTable/InnerTableBody.js +1 -1
  784. package/lib/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
  785. package/lib/ui-kit/InnerTable/InnerTableBodyItem.js +6 -2
  786. package/lib/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
  787. package/lib/ui-kit/InnerTable/InnerTableButton.js +1 -1
  788. package/lib/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
  789. package/lib/ui-kit/InnerTable/InnerTableHeader.js +1 -1
  790. package/lib/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
  791. package/lib/ui-kit/Input/Input.d.ts +1 -1
  792. package/lib/ui-kit/Input/Input.js +17 -5
  793. package/lib/ui-kit/Input/Input.js.map +1 -1
  794. package/lib/ui-kit/Input/InputProps.d.ts +8 -3
  795. package/lib/ui-kit/InputRange/InputRange.js +2 -2
  796. package/lib/ui-kit/InputRange/InputRange.js.map +1 -1
  797. package/lib/ui-kit/IntersectionObserverTag.d.ts +11 -0
  798. package/lib/ui-kit/IntersectionObserverTag.js +20 -0
  799. package/lib/ui-kit/IntersectionObserverTag.js.map +1 -0
  800. package/lib/ui-kit/List/List.fixture.d.ts +0 -4
  801. package/lib/ui-kit/List/List.js +13 -8
  802. package/lib/ui-kit/List/List.js.map +1 -1
  803. package/lib/ui-kit/List/ListItem.d.ts +2 -2
  804. package/lib/ui-kit/List/ListItem.js +7 -21
  805. package/lib/ui-kit/List/ListItem.js.map +1 -1
  806. package/lib/ui-kit/List/ListProps.d.ts +5 -3
  807. package/lib/ui-kit/Radio/Radio.js +1 -1
  808. package/lib/ui-kit/Radio/Radio.js.map +1 -1
  809. package/lib/ui-kit/Select/Select.d.ts +10 -4
  810. package/lib/ui-kit/{SelectCustom/SelectCustom.fixture.d.ts → Select/Select.fixture.d.ts} +0 -0
  811. package/lib/ui-kit/Select/Select.js +27 -6
  812. package/lib/ui-kit/Select/Select.js.map +1 -1
  813. package/lib/utils/changeHashOnObserve.d.ts +9 -1
  814. package/lib/utils/changeHashOnObserve.js +12 -4
  815. package/lib/utils/changeHashOnObserve.js.map +1 -1
  816. package/lib/utils/getSanitizedValue.d.ts +1 -0
  817. package/lib/utils/getSanitizedValue.js +2 -0
  818. package/lib/utils/getSanitizedValue.js.map +1 -0
  819. package/mobile/bundle/EventBus/EventBus.d.ts +10 -0
  820. package/mobile/bundle/EventBus/EventMap.d.ts +7 -0
  821. package/mobile/bundle/ProjectSettings.d.ts +24 -0
  822. package/mobile/bundle/api/DaDataAPI.d.ts +15 -0
  823. package/mobile/bundle/api/LikeAPI.d.ts +9 -0
  824. package/mobile/bundle/bundle.umd.js +247 -655
  825. package/mobile/bundle/bundle.umd.min.js +1 -1
  826. package/mobile/bundle/components/Accordion/Accordion.d.ts +5 -0
  827. package/mobile/bundle/components/Accordion/AccordionContent.d.ts +43 -0
  828. package/mobile/bundle/components/Accordion/AccordionItem.d.ts +5 -0
  829. package/mobile/bundle/components/BaseTile/BaseTile.d.ts +5 -0
  830. package/mobile/bundle/components/BaseTile/BaseTileProps.d.ts +15 -0
  831. package/mobile/bundle/components/BaseTile/getTileHeadingType.d.ts +1 -0
  832. package/mobile/bundle/components/BaseTile/getTileMinHeight.d.ts +1 -0
  833. package/mobile/bundle/components/BaseTile/getTileRightPadding.d.ts +1 -0
  834. package/mobile/bundle/components/BenefitsBlock/BenefitsBlock.d.ts +5 -0
  835. package/mobile/bundle/components/BenefitsBlock/BenefitsBlockContent.d.ts +52 -0
  836. package/mobile/bundle/components/Blocks.d.ts +17 -0
  837. package/mobile/bundle/components/Bonus/Bonus.d.ts +5 -0
  838. package/mobile/bundle/components/Bonus/BonusContent.d.ts +45 -0
  839. package/mobile/bundle/components/BonusBenefitsBlock/BonusBenefitsBlock.d.ts +5 -0
  840. package/mobile/bundle/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +15 -0
  841. package/mobile/bundle/components/BonusBenefitsBlock/getElementsColsValue.d.ts +1 -0
  842. package/mobile/bundle/components/Calculator/BonusCalculatorForm.d.ts +5 -0
  843. package/mobile/bundle/components/Calculator/Calculator.d.ts +5 -0
  844. package/mobile/bundle/components/Calculator/CalculatorContent.d.ts +129 -0
  845. package/mobile/bundle/components/Calculator/CalculatorValueBlock.d.ts +8 -0
  846. package/mobile/bundle/components/Calculator/CreditCalculatorForm.d.ts +7 -0
  847. package/mobile/bundle/components/Calculator/DepositCalculatorForm.d.ts +5 -0
  848. package/mobile/bundle/components/Calculator/EmbeddableCalcBlocks.d.ts +9 -0
  849. package/mobile/bundle/components/Calculator/Rate.d.ts +7 -0
  850. package/mobile/bundle/components/Calculator/constants.d.ts +16 -0
  851. package/mobile/bundle/components/Calculator/getBonus.d.ts +2 -0
  852. package/mobile/bundle/components/Calculator/getCreditRate.d.ts +7 -0
  853. package/mobile/bundle/components/Calculator/getDefaultMonths.d.ts +1 -0
  854. package/mobile/bundle/components/Calculator/getDefaultSum.d.ts +1 -0
  855. package/mobile/bundle/components/Calculator/getMonthlyPayment.d.ts +6 -0
  856. package/mobile/bundle/components/Calculator/renderButtonSection.d.ts +2 -0
  857. package/mobile/bundle/components/Calculator/renderCalculatorBlock.d.ts +3 -0
  858. package/mobile/bundle/components/Calculator/renderFootnote.d.ts +2 -0
  859. package/mobile/bundle/components/Calculator/renderInitialFeeInput.d.ts +6 -0
  860. package/mobile/bundle/components/Calculator/renderMonthsInput.d.ts +8 -0
  861. package/mobile/bundle/components/Calculator/renderPaymentTypeSelector.d.ts +6 -0
  862. package/mobile/bundle/components/Calculator/renderProposal.d.ts +2 -0
  863. package/mobile/bundle/components/Calculator/renderProposalMortgage.d.ts +8 -0
  864. package/mobile/bundle/components/Calculator/renderRealEstateValue.d.ts +6 -0
  865. package/mobile/bundle/components/Calculator/renderWantedSumInput.d.ts +11 -0
  866. package/mobile/bundle/components/Calculator/useBonusCalculatorParams.d.ts +36 -0
  867. package/mobile/bundle/components/Calculator/useCalculatorParams.d.ts +1 -0
  868. package/mobile/bundle/components/Calculator/useCreditCalculatorParams.d.ts +27 -0
  869. package/mobile/bundle/components/CardTransfer/CardTransfer.d.ts +5 -0
  870. package/mobile/bundle/components/CardTransfer/CardTransferContent.d.ts +10 -0
  871. package/mobile/bundle/components/Catalog/Catalog.d.ts +5 -0
  872. package/mobile/bundle/components/Catalog/CatalogCard.d.ts +7 -0
  873. package/mobile/bundle/components/Catalog/CatalogContent.d.ts +25 -0
  874. package/mobile/bundle/components/ComparisonTable/ComparisonTable.d.ts +5 -0
  875. package/mobile/bundle/components/ComparisonTable/ComparisonTableBody.d.ts +12 -0
  876. package/mobile/bundle/components/ComparisonTable/ComparisonTableColumnHeaders.d.ts +10 -0
  877. package/mobile/bundle/components/ComparisonTable/ComparisonTableContent.d.ts +50 -0
  878. package/mobile/bundle/components/ComparisonTable/ComparisonTableRows.d.ts +13 -0
  879. package/mobile/bundle/components/ComparisonTable/HeaderCell.d.ts +11 -0
  880. package/mobile/bundle/components/ComparisonTable/TableCarouselContainer.d.ts +7 -0
  881. package/mobile/bundle/components/ComparisonTable/TableCell.d.ts +9 -0
  882. package/mobile/bundle/components/ComparisonTable/TableColumn.d.ts +15 -0
  883. package/mobile/bundle/components/ComparisonTable/TableRow.d.ts +14 -0
  884. package/mobile/bundle/components/ComparisonTable/TableRowContainer.d.ts +1 -0
  885. package/mobile/bundle/components/ComparisonTable/constants.d.ts +6 -0
  886. package/mobile/bundle/components/ContentPage/ContentPage.d.ts +10 -0
  887. package/mobile/bundle/components/ContentPage/ContentPageContext.d.ts +17 -0
  888. package/mobile/bundle/components/ContentPage/ContentPageHead.d.ts +7 -0
  889. package/mobile/bundle/components/ContentPage/computeAPIFallback.d.ts +5 -0
  890. package/mobile/bundle/components/ContentPage/filterBlocks.d.ts +3 -0
  891. package/mobile/bundle/components/ContentPage/isBlockInRegistry.d.ts +2 -0
  892. package/mobile/bundle/components/ContentPage/normalizeBlock.d.ts +2 -0
  893. package/mobile/bundle/components/ContentPage/normalizePage.d.ts +3 -0
  894. package/mobile/bundle/components/ContentPage/renderBlock.d.ts +13 -0
  895. package/mobile/bundle/components/ErrorBlock/ErrorBlock.d.ts +5 -0
  896. package/mobile/bundle/components/ErrorBlock/ErrorBlockContent.d.ts +48 -0
  897. package/mobile/bundle/components/ExchangeRateTile/CurrencyProps.d.ts +5 -0
  898. package/mobile/bundle/components/ExchangeRateTile/CurrencyTable.d.ts +7 -0
  899. package/mobile/bundle/components/ExchangeRateTile/CurrentLocation.d.ts +7 -0
  900. package/mobile/bundle/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +21 -0
  901. package/mobile/bundle/components/ExchangeRateTile/ExchangeRateTile.d.ts +5 -0
  902. package/mobile/bundle/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +8 -0
  903. package/mobile/bundle/components/ExchangeRateTile/calculateResult.d.ts +2 -0
  904. package/mobile/bundle/components/ExchangeRateTile/callbackCurrencySelect.d.ts +8 -0
  905. package/mobile/bundle/components/ExchangeRateTile/formatCurrency.d.ts +1 -0
  906. package/mobile/bundle/components/ExchangeRateTile/renderInput.d.ts +13 -0
  907. package/mobile/bundle/components/Footer/Contacts.d.ts +7 -0
  908. package/mobile/bundle/components/Footer/Footer.d.ts +5 -0
  909. package/mobile/bundle/components/Footer/FooterContent.d.ts +44 -0
  910. package/mobile/bundle/components/Footer/FooterLink.d.ts +5 -0
  911. package/mobile/bundle/components/Footer/HorizontalNavigation.d.ts +6 -0
  912. package/mobile/bundle/components/Footer/HorizontalNavigationLink.d.ts +8 -0
  913. package/mobile/bundle/components/Footer/MediaButton.d.ts +7 -0
  914. package/mobile/bundle/components/Footer/Sitemap.d.ts +8 -0
  915. package/mobile/bundle/components/Footer/SocialMedia.d.ts +8 -0
  916. package/mobile/bundle/components/Footer/TextInformation.d.ts +2 -0
  917. package/mobile/bundle/components/Footer/TextInformationLink.d.ts +8 -0
  918. package/mobile/bundle/components/Gallery/Gallery.d.ts +2 -0
  919. package/mobile/bundle/components/Gallery/GalleryCardInner.d.ts +2 -0
  920. package/mobile/bundle/components/Gallery/GalleryContainer.d.ts +13 -0
  921. package/mobile/bundle/components/Gallery/GalleryContent.d.ts +64 -0
  922. package/mobile/bundle/components/Gallery/GalleryInner.d.ts +7 -0
  923. package/mobile/bundle/components/Gallery/GalleryProps.d.ts +4 -0
  924. package/mobile/bundle/components/Gallery/constants.d.ts +4 -0
  925. package/mobile/bundle/components/GracePeriod/GracePeriod.d.ts +5 -0
  926. package/mobile/bundle/components/GracePeriod/GracePeriodContent.d.ts +32 -0
  927. package/mobile/bundle/components/Header/DropdownMenu.d.ts +14 -0
  928. package/mobile/bundle/components/Header/Header.d.ts +5 -0
  929. package/mobile/bundle/components/Header/Header.fallback.d.ts +2 -0
  930. package/mobile/bundle/components/Header/HeaderBurger.d.ts +11 -0
  931. package/mobile/bundle/components/Header/HeaderContent.d.ts +41 -0
  932. package/mobile/bundle/components/Header/HeaderSecondaryMenu.d.ts +10 -0
  933. package/mobile/bundle/components/Header/HeaderSecondaryMenuButton.d.ts +6 -0
  934. package/mobile/bundle/components/Header/HeaderSubMenu.d.ts +9 -0
  935. package/mobile/bundle/components/Header/HeaderTop.d.ts +6 -0
  936. package/mobile/bundle/components/Headline/Headline.d.ts +5 -0
  937. package/mobile/bundle/components/Headline/HeadlineContent.d.ts +15 -0
  938. package/mobile/bundle/components/Headline/constants.d.ts +20 -0
  939. package/mobile/bundle/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +5 -0
  940. package/mobile/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +30 -0
  941. package/mobile/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +7 -0
  942. package/mobile/bundle/components/LikeControl/LikeControl.d.ts +2 -0
  943. package/mobile/bundle/components/LinkDocs/LinkDocs.d.ts +5 -0
  944. package/mobile/bundle/components/LinkDocs/LinkDocsContent.d.ts +43 -0
  945. package/mobile/bundle/components/LinkDocs/LinkDocsHorizontalList.d.ts +6 -0
  946. package/mobile/bundle/components/LinkDocs/LinkDocsList.d.ts +9 -0
  947. package/mobile/bundle/components/LinkDocs/LinkDocsListItem.d.ts +2 -0
  948. package/mobile/bundle/components/LinkDocs/LinkDocsListItemBase.d.ts +13 -0
  949. package/mobile/bundle/components/LinkDocs/LinkDocsVerticalList.d.ts +8 -0
  950. package/mobile/bundle/components/LinkDocs/linkDocsContentExample.d.ts +2 -0
  951. package/mobile/bundle/components/LinkList/LinkList.d.ts +5 -0
  952. package/mobile/bundle/components/LinkList/LinkListContent.d.ts +8 -0
  953. package/mobile/bundle/components/LinkList/linkListContentExample.d.ts +2 -0
  954. package/mobile/bundle/components/MiniGallery/MiniGallery.d.ts +5 -0
  955. package/mobile/bundle/components/MiniGallery/MiniGalleryContent.d.ts +12 -0
  956. package/mobile/bundle/components/MobileAppTile/MobileAppTile.d.ts +5 -0
  957. package/mobile/bundle/components/MobileAppTile/MobileAppTileContent.d.ts +31 -0
  958. package/mobile/bundle/components/OfficeServicesBlock/OfficeServicesBlock.d.ts +5 -0
  959. package/mobile/bundle/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +10 -0
  960. package/mobile/bundle/components/OtherProducts/OtherProducts.d.ts +5 -0
  961. package/mobile/bundle/components/OtherProducts/OtherProductsContent.d.ts +25 -0
  962. package/mobile/bundle/components/OtherProducts/OtherProductsItem.d.ts +6 -0
  963. package/mobile/bundle/components/PictureText/PictureText.d.ts +5 -0
  964. package/mobile/bundle/components/PictureText/PictureTextContent.d.ts +34 -0
  965. package/mobile/bundle/components/Placeholder/Placeholder.d.ts +6 -0
  966. package/mobile/bundle/components/Placeholder/PlaceholderContent.d.ts +5 -0
  967. package/mobile/bundle/components/ProductBlock/ProductBlock.d.ts +5 -0
  968. package/mobile/bundle/components/ProductBlock/ProductBlockContent.d.ts +54 -0
  969. package/mobile/bundle/components/ProductBlock/ProductBlockInner.d.ts +4 -0
  970. package/mobile/bundle/components/ProductBlock/renderBackwardButton.d.ts +4 -0
  971. package/mobile/bundle/components/ProductBlock/renderBenefit.d.ts +5 -0
  972. package/mobile/bundle/components/ProductGallery/ProductGallery.d.ts +5 -0
  973. package/mobile/bundle/components/ProductGallery/ProductGalleryBlock.d.ts +8 -0
  974. package/mobile/bundle/components/ProductGallery/ProductGalleryContent.d.ts +29 -0
  975. package/mobile/bundle/components/ProductTile/ProductTile.d.ts +5 -0
  976. package/mobile/bundle/components/ProductTile/ProductTileContent.d.ts +33 -0
  977. package/mobile/bundle/components/PromoTile/PromoTile.d.ts +5 -0
  978. package/mobile/bundle/components/PromoTile/PromoTileContent.d.ts +12 -0
  979. package/mobile/bundle/components/Recommendation/Recommendation.d.ts +5 -0
  980. package/mobile/bundle/components/Recommendation/RecommendationCard.d.ts +7 -0
  981. package/mobile/bundle/components/Recommendation/RecommendationContent.d.ts +43 -0
  982. package/mobile/bundle/components/SafeDepositRental/RegionsAndBranches.d.ts +12 -0
  983. package/mobile/bundle/components/SafeDepositRental/RenderRadioButtons.d.ts +2 -0
  984. package/mobile/bundle/components/SafeDepositRental/RentalPeriod.d.ts +6 -0
  985. package/mobile/bundle/components/SafeDepositRental/SafeBoxCases.d.ts +11 -0
  986. package/mobile/bundle/components/SafeDepositRental/SafeDepositRental.d.ts +5 -0
  987. package/mobile/bundle/components/SafeDepositRental/SafeDepositRentalContent.d.ts +9 -0
  988. package/mobile/bundle/components/SafeDepositRental/SafeDepositRentalFields.d.ts +12 -0
  989. package/mobile/bundle/components/SafeDepositRental/SafeDepositRentalForm.d.ts +11 -0
  990. package/mobile/bundle/components/SafeDepositRental/SafeDepositRentalTotal.d.ts +6 -0
  991. package/mobile/bundle/components/SafeDepositRental/SafeDepositRentalTypes.d.ts +8 -0
  992. package/mobile/bundle/components/SafeDepositRental/WrapperSelect.d.ts +11 -0
  993. package/mobile/bundle/components/SafeDepositRental/YandexMap.d.ts +5 -0
  994. package/mobile/bundle/components/SafeDepositRental/renderClusterer.d.ts +2 -0
  995. package/mobile/bundle/components/SafeDepositRental/useGetRegions.d.ts +6 -0
  996. package/mobile/bundle/components/SafeDepositRental/useYandexMaps.d.ts +2 -0
  997. package/mobile/bundle/components/SafeDepositRental/utils.d.ts +3 -0
  998. package/mobile/bundle/components/StepsBlock/StepsBlock.d.ts +5 -0
  999. package/mobile/bundle/components/StepsBlock/StepsBlockContent.d.ts +43 -0
  1000. package/mobile/bundle/components/StepsBlock/StepsBlockStyleMaps.d.ts +11 -0
  1001. package/mobile/bundle/components/StepsBlock/renderItems.d.ts +3 -0
  1002. package/mobile/bundle/components/Tabs/Tabs.d.ts +13 -0
  1003. package/mobile/bundle/components/Tabs/TabsContent.d.ts +36 -0
  1004. package/mobile/bundle/components/Tabs/renderGroupTab.d.ts +4 -0
  1005. package/mobile/bundle/components/Tabs/renderLinkTab.d.ts +9 -0
  1006. package/mobile/bundle/components/Tabs/renderTab.d.ts +12 -0
  1007. package/mobile/bundle/components/Tabs/tabItemClasses.d.ts +6 -0
  1008. package/mobile/bundle/components/TariffsTable/EmbeddableCellData.d.ts +12 -0
  1009. package/mobile/bundle/components/TariffsTable/TableTileHeader.d.ts +2 -0
  1010. package/mobile/bundle/components/TariffsTable/TariffsTable.d.ts +5 -0
  1011. package/mobile/bundle/components/TariffsTable/TariffsTableCell.d.ts +9 -0
  1012. package/mobile/bundle/components/TariffsTable/TariffsTableContent.d.ts +95 -0
  1013. package/mobile/bundle/components/TariffsTable/TariffsTableHorizontal.d.ts +6 -0
  1014. package/mobile/bundle/components/TariffsTable/TariffsTableRow.d.ts +9 -0
  1015. package/mobile/bundle/components/TariffsTable/TariffsTableRowContainer.d.ts +7 -0
  1016. package/mobile/bundle/components/TariffsTable/TariffsTableTileCell.d.ts +8 -0
  1017. package/mobile/bundle/components/TariffsTable/TariffsTableVertical.d.ts +6 -0
  1018. package/mobile/bundle/components/TariffsTable/constants.d.ts +4 -0
  1019. package/mobile/bundle/components/TariffsTable/dataFixture.d.ts +5 -0
  1020. package/mobile/bundle/components/TariffsTable/utils/getButtonAriaLabel.d.ts +2 -0
  1021. package/mobile/bundle/components/TextBlock/TextBlock.d.ts +5 -0
  1022. package/mobile/bundle/components/TextBlock/TextBlockContent.d.ts +22 -0
  1023. package/mobile/bundle/components/Tile/Tile.d.ts +6 -0
  1024. package/mobile/bundle/components/Tile/TileContent.d.ts +34 -0
  1025. package/mobile/bundle/content-page-repository/ContentPageRepository.d.ts +11 -0
  1026. package/mobile/bundle/content-page-repository/TransformationOptions.d.ts +4 -0
  1027. package/mobile/bundle/content-page-repository/index.d.ts +2 -0
  1028. package/mobile/bundle/content-page-repository/mapJSON.d.ts +1 -0
  1029. package/mobile/bundle/content-page-repository/transformContentPage.d.ts +3 -0
  1030. package/mobile/bundle/content-page-repository/transformImg.d.ts +11 -0
  1031. package/mobile/bundle/content-page-repository/transformMarkdown.d.ts +1 -0
  1032. package/mobile/bundle/content-page-repository/transformPicture.d.ts +3 -0
  1033. package/mobile/bundle/content-page-repository/transformSrc.d.ts +3 -0
  1034. package/mobile/bundle/hooks/useExchangeRates.d.ts +2 -0
  1035. package/mobile/bundle/hooks/useExternalNS.d.ts +2 -0
  1036. package/mobile/bundle/hooks/useGeolocation.d.ts +1 -0
  1037. package/mobile/bundle/hooks/useLikeService.d.ts +5 -0
  1038. package/mobile/bundle/hooks/useLink.d.ts +18 -0
  1039. package/mobile/bundle/hooks/useOutsideClick.d.ts +5 -0
  1040. package/mobile/{lib/hooks/useFetchSafeBoxes.d.ts → bundle/hooks/useSafeBoxes.d.ts} +1 -3
  1041. package/mobile/bundle/hooks/useSearch.d.ts +4 -0
  1042. package/mobile/bundle/hooks/useTableArrowScrollControl.d.ts +7 -0
  1043. package/mobile/bundle/hooks/useTariffsInnerTableData.d.ts +1 -0
  1044. package/mobile/bundle/icons/IconName.d.ts +194 -0
  1045. package/mobile/bundle/index.d.ts +9 -0
  1046. package/mobile/bundle/model/AlignType.d.ts +9 -0
  1047. package/mobile/bundle/model/BgColorVersion.d.ts +8 -0
  1048. package/mobile/bundle/model/BlockDecorator.d.ts +14 -0
  1049. package/mobile/bundle/model/BlockVersion.d.ts +11 -0
  1050. package/mobile/bundle/model/BlocksRegistry.d.ts +5 -0
  1051. package/mobile/bundle/model/ButtonVersion.d.ts +6 -0
  1052. package/mobile/bundle/model/ContentPageDef.d.ts +52 -0
  1053. package/mobile/bundle/model/EmptyOptionType.d.ts +4 -0
  1054. package/mobile/bundle/model/Fallback.d.ts +5 -0
  1055. package/mobile/bundle/model/Footnote.d.ts +4 -0
  1056. package/mobile/bundle/model/GalleryVersion.d.ts +1 -0
  1057. package/mobile/bundle/model/HeadlineType.d.ts +29 -0
  1058. package/mobile/bundle/model/IconVersion.d.ts +9 -0
  1059. package/mobile/bundle/model/ImageSize.d.ts +6 -0
  1060. package/mobile/bundle/model/InputTypes.d.ts +1 -0
  1061. package/mobile/bundle/model/LinkProps.d.ts +24 -0
  1062. package/mobile/bundle/model/ListOrientation.d.ts +8 -0
  1063. package/mobile/bundle/model/Picture.d.ts +59 -0
  1064. package/mobile/bundle/model/ProductColorVersion.d.ts +4 -0
  1065. package/mobile/bundle/model/SitemapProps.d.ts +24 -0
  1066. package/mobile/bundle/model/SizeVersion.d.ts +8 -0
  1067. package/mobile/bundle/model/TableVersion.d.ts +1 -0
  1068. package/mobile/bundle/model/VNode.d.ts +1 -0
  1069. package/mobile/bundle/react/setup-fixture.d.ts +4 -0
  1070. package/mobile/bundle/services/sitemap/SitemapProps.d.ts +24 -0
  1071. package/mobile/bundle/services/sitemap/checkIsHrefSameOrigin.d.ts +4 -0
  1072. package/mobile/bundle/services/sitemap/findActiveSubItem.d.ts +3 -0
  1073. package/mobile/bundle/services/sitemap/isHrefActive.d.ts +4 -0
  1074. package/mobile/bundle/services/sitemap/isSubItemActive.d.ts +3 -0
  1075. package/mobile/bundle/services/sitemap/isTopItemActive.d.ts +3 -0
  1076. package/mobile/bundle/services/sitemap/mergeTopItems.d.ts +2 -0
  1077. package/mobile/bundle/services/sitemap/useSitemap.d.ts +3 -0
  1078. package/mobile/bundle/ui-kit/BenefitItem/BenefitItem.d.ts +4 -0
  1079. package/mobile/bundle/ui-kit/BenefitItem/BenefitItemProps.d.ts +20 -0
  1080. package/mobile/bundle/ui-kit/BlockWrapper.d.ts +7 -0
  1081. package/mobile/bundle/ui-kit/BlocksList/BlocksListProps.d.ts +96 -0
  1082. package/mobile/bundle/ui-kit/BlocksList/EmbeddableBlocks.d.ts +8 -0
  1083. package/mobile/bundle/ui-kit/BlocksList/renderBlocksList.d.ts +9 -0
  1084. package/mobile/bundle/ui-kit/Breadcrumb.d.ts +6 -0
  1085. package/mobile/bundle/ui-kit/Button/ArrowButton.d.ts +2 -0
  1086. package/mobile/bundle/ui-kit/Button/Button.d.ts +2 -0
  1087. package/mobile/bundle/ui-kit/Button/ButtonInner.d.ts +7 -0
  1088. package/mobile/bundle/ui-kit/Button/ButtonProps.d.ts +54 -0
  1089. package/mobile/bundle/ui-kit/Button/ButtonSection.d.ts +5 -0
  1090. package/mobile/bundle/ui-kit/Button/GetButtonClassParams.d.ts +6 -0
  1091. package/mobile/bundle/ui-kit/Button/LikeButton.d.ts +6 -0
  1092. package/mobile/bundle/ui-kit/Button/buttonClassNameConstants.d.ts +5 -0
  1093. package/mobile/bundle/ui-kit/Button/getDisabledButtonClasses.d.ts +2 -0
  1094. package/mobile/bundle/ui-kit/Button/getRegularButtonClasses.d.ts +2 -0
  1095. package/mobile/bundle/ui-kit/Button/renderArrows.d.ts +9 -0
  1096. package/mobile/bundle/ui-kit/Checkbox/Checkbox.d.ts +2 -0
  1097. package/mobile/bundle/ui-kit/Checkbox/CheckboxProps.d.ts +7 -0
  1098. package/mobile/bundle/ui-kit/CurrencyInput/CurrencyInput.d.ts +2 -0
  1099. package/mobile/bundle/ui-kit/CurrencyInput/CurrencyInputProps.d.ts +5 -0
  1100. package/mobile/bundle/ui-kit/CurrencyInput/adjustValue .d.ts +3 -0
  1101. package/mobile/bundle/ui-kit/Description/Description.d.ts +5 -0
  1102. package/mobile/bundle/ui-kit/Foldable/DefaultButton.d.ts +2 -0
  1103. package/mobile/bundle/ui-kit/Foldable/FoldButtonProps.d.ts +12 -0
  1104. package/mobile/bundle/ui-kit/Foldable/Foldable.d.ts +16 -0
  1105. package/mobile/bundle/ui-kit/HeaderItem/HeaderItem.d.ts +3 -0
  1106. package/mobile/bundle/ui-kit/Heading/Heading.d.ts +2 -0
  1107. package/mobile/bundle/ui-kit/Heading/HeadingProps.d.ts +23 -0
  1108. package/mobile/bundle/ui-kit/Icon/Icon.d.ts +2 -0
  1109. package/mobile/bundle/ui-kit/Icon/IconProps.d.ts +21 -0
  1110. package/mobile/bundle/ui-kit/Img/Img.d.ts +2 -0
  1111. package/mobile/bundle/ui-kit/Img/ImgAsPicture.d.ts +4 -0
  1112. package/mobile/bundle/ui-kit/Img/ImgInner.d.ts +2 -0
  1113. package/mobile/bundle/ui-kit/Img/ImgProps.d.ts +11 -0
  1114. package/mobile/bundle/ui-kit/Img/getIconVersion.d.ts +1 -0
  1115. package/mobile/bundle/ui-kit/InnerTable/InnerTable.d.ts +5 -0
  1116. package/mobile/bundle/ui-kit/InnerTable/InnerTableBody.d.ts +7 -0
  1117. package/mobile/bundle/ui-kit/InnerTable/InnerTableBodyItem.d.ts +6 -0
  1118. package/mobile/bundle/ui-kit/InnerTable/InnerTableButton.d.ts +6 -0
  1119. package/mobile/bundle/ui-kit/InnerTable/InnerTableHeader.d.ts +7 -0
  1120. package/mobile/bundle/ui-kit/InnerTable/InnerTableProps.d.ts +24 -0
  1121. package/mobile/bundle/ui-kit/Input/Input.d.ts +2 -0
  1122. package/mobile/bundle/ui-kit/Input/InputProps.d.ts +16 -0
  1123. package/mobile/bundle/ui-kit/InputRange/InputRange.d.ts +2 -0
  1124. package/mobile/bundle/ui-kit/InputRange/InputRangeProps.d.ts +11 -0
  1125. package/mobile/bundle/ui-kit/IntersectionObserverTag.d.ts +11 -0
  1126. package/mobile/bundle/ui-kit/List/List.d.ts +2 -0
  1127. package/mobile/bundle/ui-kit/List/ListContent.d.ts +4 -0
  1128. package/mobile/bundle/ui-kit/List/ListItem.d.ts +12 -0
  1129. package/mobile/bundle/ui-kit/List/ListProps.d.ts +26 -0
  1130. package/mobile/bundle/ui-kit/Logo/Logo.d.ts +8 -0
  1131. package/mobile/bundle/ui-kit/Radio/Radio.d.ts +2 -0
  1132. package/mobile/bundle/ui-kit/Radio/RadioProps.d.ts +9 -0
  1133. package/mobile/bundle/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +12 -0
  1134. package/mobile/bundle/ui-kit/SVG.d.ts +19 -0
  1135. package/mobile/bundle/ui-kit/SearchBar/SearchBar.d.ts +2 -0
  1136. package/mobile/bundle/ui-kit/SearchBar/SearchBarInner.d.ts +5 -0
  1137. package/mobile/{dist/ui-kit/SelectCustom/SelectCustom.d.ts → bundle/ui-kit/Select/Select.d.ts} +3 -2
  1138. package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControl.d.ts +2 -0
  1139. package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +6 -0
  1140. package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControlItem.d.ts +9 -0
  1141. package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControlList.d.ts +10 -0
  1142. package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +18 -0
  1143. package/mobile/bundle/ui-kit/SwipeListControl/constants.d.ts +2 -0
  1144. package/mobile/bundle/ui-kit/SwipeListControl/utils/getContainerStyle.d.ts +1 -0
  1145. package/mobile/bundle/ui-kit/SwipeListControl/utils/getIndexParts.d.ts +4 -0
  1146. package/mobile/bundle/ui-kit/SwipeListControl/utils/getScrollPoints.d.ts +8 -0
  1147. package/mobile/bundle/ui-kit/TableArrowScrollControl/TableArrowScrollControl.d.ts +2 -0
  1148. package/mobile/bundle/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.d.ts +7 -0
  1149. package/mobile/bundle/ui-kit/TopItem/TopItem.d.ts +14 -0
  1150. package/mobile/bundle/utils/addSpacesBetweenNumbers.d.ts +1 -0
  1151. package/mobile/bundle/utils/adjustHref.d.ts +4 -0
  1152. package/mobile/bundle/utils/assertUnreachable.d.ts +1 -0
  1153. package/mobile/bundle/utils/changeHashOnObserve.d.ts +9 -0
  1154. package/mobile/bundle/utils/checkIsIconRenderable.d.ts +2 -0
  1155. package/mobile/bundle/utils/clamp.d.ts +1 -0
  1156. package/mobile/bundle/utils/fetchJSON.d.ts +2 -0
  1157. package/mobile/bundle/utils/getAccordionItems.d.ts +1 -0
  1158. package/mobile/bundle/utils/getColSpan.d.ts +1 -0
  1159. package/mobile/bundle/utils/getCurrentDate.d.ts +1 -0
  1160. package/mobile/bundle/utils/getGeolocation.d.ts +1 -0
  1161. package/mobile/bundle/utils/getSanitizedValue.d.ts +1 -0
  1162. package/mobile/bundle/utils/isPictureSizeEmpty.d.ts +2 -0
  1163. package/mobile/bundle/utils/joinList.d.ts +1 -0
  1164. package/mobile/bundle/utils/maxBy.d.ts +2 -0
  1165. package/mobile/bundle/utils/roundTo.d.ts +1 -0
  1166. package/mobile/bundle/utils/style2className.d.ts +1 -0
  1167. package/mobile/bundle/utils/tableFunc.d.ts +2 -0
  1168. package/mobile/bundle/utils/url.d.ts +5 -0
  1169. package/mobile/bundle/utils/withoutMobilePath.d.ts +2 -0
  1170. package/mobile/dist/EventBus/EventMap.d.ts +2 -1
  1171. package/mobile/dist/components/Accordion/AccordionItem.d.ts +1 -1
  1172. package/mobile/dist/components/Accordion/AccordionItem.js +9 -7
  1173. package/mobile/dist/components/Accordion/AccordionItem.js.map +1 -1
  1174. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js +1 -1
  1175. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  1176. package/mobile/dist/components/Blocks.d.ts +0 -1
  1177. package/mobile/dist/components/Blocks.js +0 -2
  1178. package/mobile/dist/components/Blocks.js.map +1 -1
  1179. package/mobile/dist/components/Bonus/Bonus.js +11 -2
  1180. package/mobile/dist/components/Bonus/Bonus.js.map +1 -1
  1181. package/mobile/dist/components/Bonus/BonusContent.d.ts +30 -2
  1182. package/mobile/dist/components/Calculator/CalculatorContent.d.ts +1 -1
  1183. package/mobile/dist/components/CardTransfer/CardTransfer.js +12 -12
  1184. package/mobile/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  1185. package/mobile/dist/components/CardTransfer/CardTransferContent.d.ts +2 -2
  1186. package/mobile/dist/components/Catalog/Catalog.js +1 -1
  1187. package/mobile/dist/components/Catalog/Catalog.js.map +1 -1
  1188. package/mobile/dist/components/Catalog/CatalogCard.js +1 -23
  1189. package/mobile/dist/components/Catalog/CatalogCard.js.map +1 -1
  1190. package/mobile/dist/components/ComparisonTable/ComparisonTable.js +13 -48
  1191. package/mobile/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
  1192. package/mobile/dist/components/ComparisonTable/TableColumn.d.ts +5 -8
  1193. package/mobile/dist/components/ComparisonTable/TableColumn.js +2 -3
  1194. package/mobile/dist/components/ComparisonTable/TableColumn.js.map +1 -1
  1195. package/mobile/dist/components/ContentPage/ContentPageContext.d.ts +0 -11
  1196. package/mobile/dist/components/ErrorBlock/ErrorBlock.js +1 -1
  1197. package/mobile/dist/components/ErrorBlock/ErrorBlock.js.map +1 -1
  1198. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +2 -2
  1199. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +1 -1
  1200. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  1201. package/mobile/dist/components/ExchangeRateTile/renderInput.js +2 -2
  1202. package/mobile/dist/components/ExchangeRateTile/renderInput.js.map +1 -1
  1203. package/mobile/dist/components/Footer/Contacts.js +1 -1
  1204. package/mobile/dist/components/Footer/Contacts.js.map +1 -1
  1205. package/mobile/dist/components/Footer/FooterContent.d.ts +5 -9
  1206. package/mobile/dist/components/Gallery/Gallery.js +7 -3
  1207. package/mobile/dist/components/Gallery/Gallery.js.map +1 -1
  1208. package/mobile/dist/components/Gallery/GalleryCardInner.js +14 -17
  1209. package/mobile/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  1210. package/mobile/dist/components/Gallery/GalleryContainer.js +2 -2
  1211. package/mobile/dist/components/Gallery/GalleryContainer.js.map +1 -1
  1212. package/mobile/dist/components/Gallery/GalleryContent.d.ts +11 -3
  1213. package/mobile/dist/components/GracePeriod/GracePeriod.js +3 -3
  1214. package/mobile/dist/components/GracePeriod/GracePeriod.js.map +1 -1
  1215. package/mobile/dist/components/GracePeriod/GracePeriodContent.d.ts +1 -1
  1216. package/mobile/dist/components/Header/HeaderSubMenu.js +3 -2
  1217. package/mobile/dist/components/Header/HeaderSubMenu.js.map +1 -1
  1218. package/mobile/dist/components/Headline/constants.d.ts +2 -1
  1219. package/mobile/dist/components/Headline/constants.js +10 -1
  1220. package/mobile/dist/components/Headline/constants.js.map +1 -1
  1221. package/mobile/dist/components/MiniGallery/MiniGalleryContent.d.ts +1 -0
  1222. package/mobile/dist/components/OtherProducts/OtherProductsItem.js +4 -2
  1223. package/mobile/dist/components/OtherProducts/OtherProductsItem.js.map +1 -1
  1224. package/mobile/dist/components/ProductTile/ProductTile.js +1 -1
  1225. package/mobile/dist/components/ProductTile/ProductTile.js.map +1 -1
  1226. package/mobile/dist/components/Recommendation/RecommendationContent.d.ts +5 -0
  1227. package/mobile/dist/components/SafeDepositRental/RegionsAndBranches.d.ts +1 -1
  1228. package/mobile/dist/components/SafeDepositRental/RegionsAndBranches.js +1 -1
  1229. package/mobile/dist/components/SafeDepositRental/RegionsAndBranches.js.map +1 -1
  1230. package/mobile/dist/components/SafeDepositRental/SafeBoxCases.d.ts +1 -1
  1231. package/mobile/dist/components/SafeDepositRental/SafeDepositRental.d.ts +1 -1
  1232. package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js +17 -3
  1233. package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  1234. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalFields.d.ts +7 -4
  1235. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalFields.js +3 -5
  1236. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
  1237. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalForm.d.ts +7 -3
  1238. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalForm.js +7 -28
  1239. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
  1240. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTotal.d.ts +1 -1
  1241. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTotal.js +1 -1
  1242. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
  1243. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTypes.d.ts +0 -2
  1244. package/mobile/dist/components/SafeDepositRental/WrapperSelect.js +6 -3
  1245. package/mobile/dist/components/SafeDepositRental/WrapperSelect.js.map +1 -1
  1246. package/mobile/dist/components/SafeDepositRental/utils.d.ts +1 -1
  1247. package/mobile/dist/components/StepsBlock/StepsBlockContent.d.ts +9 -2
  1248. package/mobile/dist/components/StepsBlock/StepsBlockStyleMaps.d.ts +1 -0
  1249. package/mobile/dist/components/StepsBlock/StepsBlockStyleMaps.js +2 -0
  1250. package/mobile/dist/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
  1251. package/mobile/dist/components/StepsBlock/renderItems.d.ts +3 -0
  1252. package/mobile/dist/components/StepsBlock/renderItems.js +6 -0
  1253. package/mobile/dist/components/StepsBlock/renderItems.js.map +1 -0
  1254. package/mobile/dist/components/Tabs/Tabs.d.ts +4 -0
  1255. package/mobile/dist/components/Tabs/Tabs.js +13 -3
  1256. package/mobile/dist/components/Tabs/Tabs.js.map +1 -1
  1257. package/mobile/dist/components/Tabs/TabsContent.d.ts +2 -0
  1258. package/mobile/dist/components/Tabs/renderLinkTab.d.ts +3 -2
  1259. package/mobile/dist/components/Tabs/renderLinkTab.js +4 -1
  1260. package/mobile/dist/components/Tabs/renderLinkTab.js.map +1 -1
  1261. package/mobile/dist/components/Tabs/renderTab.js +12 -2
  1262. package/mobile/dist/components/Tabs/renderTab.js.map +1 -1
  1263. package/mobile/dist/components/TariffsTable/EmbeddableCellData.js +1 -2
  1264. package/mobile/dist/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  1265. package/mobile/dist/components/TariffsTable/TariffsTableCell.js +1 -1
  1266. package/mobile/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
  1267. package/mobile/dist/components/TariffsTable/TariffsTableRow.js +1 -2
  1268. package/mobile/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
  1269. package/mobile/dist/components/TariffsTable/dataFixture.js +4 -2
  1270. package/mobile/dist/components/TariffsTable/dataFixture.js.map +1 -1
  1271. package/mobile/dist/components/TariffsTable/utils/getButtonAriaLabel.d.ts +1 -1
  1272. package/mobile/dist/components/TariffsTable/utils/getButtonAriaLabel.js +1 -2
  1273. package/mobile/dist/components/TariffsTable/utils/getButtonAriaLabel.js.map +1 -1
  1274. package/mobile/dist/components/Tile/Tile.js +2 -3
  1275. package/mobile/dist/components/Tile/Tile.js.map +1 -1
  1276. package/mobile/dist/hooks/useOutsideClick.d.ts +5 -0
  1277. package/mobile/dist/hooks/useOutsideClick.js +21 -0
  1278. package/mobile/dist/hooks/useOutsideClick.js.map +1 -0
  1279. package/mobile/dist/hooks/useSafeBoxes.d.ts +20 -0
  1280. package/mobile/dist/hooks/{useFetchSafeBoxes.js → useSafeBoxes.js} +9 -10
  1281. package/mobile/dist/hooks/useSafeBoxes.js.map +1 -0
  1282. package/mobile/dist/icons/IconName.d.ts +1 -92
  1283. package/mobile/dist/icons/IconName.js +4 -4
  1284. package/mobile/dist/icons/IconName.js.map +1 -1
  1285. package/mobile/dist/model/HeadlineType.d.ts +8 -0
  1286. package/mobile/dist/model/Picture.d.ts +1 -0
  1287. package/mobile/dist/react/setup-fixture.js +0 -2
  1288. package/mobile/dist/react/setup-fixture.js.map +1 -1
  1289. package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js +3 -1
  1290. package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  1291. package/mobile/dist/ui-kit/BlockWrapper.d.ts +0 -3
  1292. package/mobile/dist/ui-kit/BlockWrapper.js +36 -14
  1293. package/mobile/dist/ui-kit/BlockWrapper.js.map +1 -1
  1294. package/mobile/dist/ui-kit/BlocksList/renderBlocksList.d.ts +1 -1
  1295. package/mobile/dist/ui-kit/BlocksList/renderBlocksList.js +1 -1
  1296. package/mobile/dist/ui-kit/BlocksList/renderBlocksList.js.map +1 -1
  1297. package/mobile/dist/ui-kit/Button/Button.js +1 -1
  1298. package/mobile/dist/ui-kit/Button/Button.js.map +1 -1
  1299. package/mobile/dist/ui-kit/Button/ButtonInner.js +3 -2
  1300. package/mobile/dist/ui-kit/Button/ButtonInner.js.map +1 -1
  1301. package/mobile/dist/ui-kit/Button/ButtonProps.d.ts +1 -7
  1302. package/mobile/dist/ui-kit/Button/ButtonSection.js +5 -10
  1303. package/mobile/dist/ui-kit/Button/ButtonSection.js.map +1 -1
  1304. package/mobile/dist/ui-kit/Button/buttonClassNameConstants.d.ts +1 -0
  1305. package/mobile/dist/ui-kit/Button/buttonClassNameConstants.js +7 -1
  1306. package/mobile/dist/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
  1307. package/mobile/dist/ui-kit/CurrencyInput/CurrencyInput.js +17 -6
  1308. package/mobile/dist/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -1
  1309. package/mobile/dist/ui-kit/CurrencyInput/CurrencyInputProps.d.ts +2 -7
  1310. package/mobile/dist/ui-kit/CurrencyInput/adjustValue .d.ts +3 -0
  1311. package/mobile/dist/ui-kit/CurrencyInput/adjustValue .js +24 -0
  1312. package/mobile/dist/ui-kit/CurrencyInput/adjustValue .js.map +1 -0
  1313. package/mobile/dist/ui-kit/Foldable/DefaultButton.d.ts +2 -0
  1314. package/mobile/dist/ui-kit/Foldable/DefaultButton.js +12 -0
  1315. package/mobile/dist/ui-kit/Foldable/DefaultButton.js.map +1 -0
  1316. package/mobile/dist/ui-kit/Foldable/FoldButtonProps.d.ts +12 -0
  1317. package/mobile/dist/ui-kit/Foldable/FoldButtonProps.js +2 -0
  1318. package/mobile/dist/ui-kit/Foldable/FoldButtonProps.js.map +1 -0
  1319. package/mobile/dist/ui-kit/Foldable/Foldable.d.ts +11 -17
  1320. package/mobile/dist/ui-kit/Foldable/Foldable.js +22 -14
  1321. package/mobile/dist/ui-kit/Foldable/Foldable.js.map +1 -1
  1322. package/mobile/dist/ui-kit/Icon/Icon.js +4 -5
  1323. package/mobile/dist/ui-kit/Icon/Icon.js.map +1 -1
  1324. package/mobile/dist/ui-kit/Icon/IconProps.d.ts +0 -1
  1325. package/mobile/dist/ui-kit/Img/Img.js +1 -3
  1326. package/mobile/dist/ui-kit/Img/Img.js.map +1 -1
  1327. package/mobile/dist/ui-kit/InnerTable/InnerTableBody.js +1 -1
  1328. package/mobile/dist/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
  1329. package/mobile/dist/ui-kit/InnerTable/InnerTableBodyItem.js +6 -2
  1330. package/mobile/dist/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
  1331. package/mobile/dist/ui-kit/InnerTable/InnerTableButton.js +1 -1
  1332. package/mobile/dist/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
  1333. package/mobile/dist/ui-kit/InnerTable/InnerTableHeader.js +1 -1
  1334. package/mobile/dist/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
  1335. package/mobile/dist/ui-kit/Input/Input.d.ts +1 -1
  1336. package/mobile/dist/ui-kit/Input/Input.js +16 -4
  1337. package/mobile/dist/ui-kit/Input/Input.js.map +1 -1
  1338. package/mobile/dist/ui-kit/Input/InputProps.d.ts +8 -3
  1339. package/mobile/dist/ui-kit/InputRange/InputRange.js +2 -2
  1340. package/mobile/dist/ui-kit/InputRange/InputRange.js.map +1 -1
  1341. package/mobile/dist/ui-kit/IntersectionObserverTag.d.ts +11 -0
  1342. package/mobile/dist/ui-kit/IntersectionObserverTag.js +22 -0
  1343. package/mobile/dist/ui-kit/IntersectionObserverTag.js.map +1 -0
  1344. package/mobile/dist/ui-kit/List/List.js +13 -8
  1345. package/mobile/dist/ui-kit/List/List.js.map +1 -1
  1346. package/mobile/dist/ui-kit/List/ListItem.d.ts +2 -2
  1347. package/mobile/dist/ui-kit/List/ListItem.js +8 -23
  1348. package/mobile/dist/ui-kit/List/ListItem.js.map +1 -1
  1349. package/mobile/dist/ui-kit/List/ListProps.d.ts +5 -3
  1350. package/mobile/dist/ui-kit/Radio/Radio.js +1 -1
  1351. package/mobile/dist/ui-kit/Radio/Radio.js.map +1 -1
  1352. package/mobile/dist/ui-kit/Select/Select.d.ts +10 -4
  1353. package/mobile/dist/ui-kit/Select/Select.js +26 -5
  1354. package/mobile/dist/ui-kit/Select/Select.js.map +1 -1
  1355. package/mobile/dist/utils/changeHashOnObserve.d.ts +9 -1
  1356. package/mobile/dist/utils/changeHashOnObserve.js +12 -4
  1357. package/mobile/dist/utils/changeHashOnObserve.js.map +1 -1
  1358. package/mobile/dist/utils/getSanitizedValue.d.ts +1 -0
  1359. package/mobile/dist/utils/getSanitizedValue.js +5 -0
  1360. package/mobile/dist/utils/getSanitizedValue.js.map +1 -0
  1361. package/mobile/lib/EventBus/EventMap.d.ts +2 -1
  1362. package/mobile/lib/components/Accordion/AccordionItem.d.ts +1 -1
  1363. package/mobile/lib/components/Accordion/AccordionItem.js +9 -7
  1364. package/mobile/lib/components/Accordion/AccordionItem.js.map +1 -1
  1365. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js +1 -1
  1366. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  1367. package/mobile/lib/components/Blocks.d.ts +0 -1
  1368. package/mobile/lib/components/Blocks.js +0 -2
  1369. package/mobile/lib/components/Blocks.js.map +1 -1
  1370. package/mobile/lib/components/Bonus/Bonus.js +11 -2
  1371. package/mobile/lib/components/Bonus/Bonus.js.map +1 -1
  1372. package/mobile/lib/components/Bonus/BonusContent.d.ts +30 -2
  1373. package/mobile/lib/components/Calculator/CalculatorContent.d.ts +1 -1
  1374. package/mobile/lib/components/CardTransfer/CardTransfer.js +12 -12
  1375. package/mobile/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  1376. package/mobile/lib/components/CardTransfer/CardTransferContent.d.ts +2 -2
  1377. package/mobile/lib/components/Catalog/Catalog.js +1 -1
  1378. package/mobile/lib/components/Catalog/Catalog.js.map +1 -1
  1379. package/mobile/lib/components/Catalog/CatalogCard.js +1 -23
  1380. package/mobile/lib/components/Catalog/CatalogCard.js.map +1 -1
  1381. package/mobile/lib/components/ComparisonTable/ComparisonTable.js +14 -49
  1382. package/mobile/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
  1383. package/mobile/lib/components/ComparisonTable/TableColumn.d.ts +5 -8
  1384. package/mobile/lib/components/ComparisonTable/TableColumn.js +2 -3
  1385. package/mobile/lib/components/ComparisonTable/TableColumn.js.map +1 -1
  1386. package/mobile/lib/components/ContentPage/ContentPageContext.d.ts +0 -11
  1387. package/mobile/lib/components/ErrorBlock/ErrorBlock.js +1 -1
  1388. package/mobile/lib/components/ErrorBlock/ErrorBlock.js.map +1 -1
  1389. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +2 -2
  1390. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +1 -1
  1391. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  1392. package/mobile/lib/components/ExchangeRateTile/renderInput.js +2 -2
  1393. package/mobile/lib/components/ExchangeRateTile/renderInput.js.map +1 -1
  1394. package/mobile/lib/components/Footer/Contacts.js +1 -1
  1395. package/mobile/lib/components/Footer/Contacts.js.map +1 -1
  1396. package/mobile/lib/components/Footer/FooterContent.d.ts +5 -9
  1397. package/mobile/lib/components/Gallery/Gallery.js +7 -3
  1398. package/mobile/lib/components/Gallery/Gallery.js.map +1 -1
  1399. package/mobile/lib/components/Gallery/GalleryCardInner.js +15 -18
  1400. package/mobile/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  1401. package/mobile/lib/components/Gallery/GalleryContainer.js +2 -2
  1402. package/mobile/lib/components/Gallery/GalleryContainer.js.map +1 -1
  1403. package/mobile/lib/components/Gallery/GalleryContent.d.ts +11 -3
  1404. package/mobile/lib/components/GracePeriod/GracePeriod.js +3 -3
  1405. package/mobile/lib/components/GracePeriod/GracePeriod.js.map +1 -1
  1406. package/mobile/lib/components/GracePeriod/GracePeriodContent.d.ts +1 -1
  1407. package/mobile/lib/components/Header/HeaderSubMenu.js +2 -1
  1408. package/mobile/lib/components/Header/HeaderSubMenu.js.map +1 -1
  1409. package/mobile/lib/components/Headline/constants.d.ts +2 -1
  1410. package/mobile/lib/components/Headline/constants.js +9 -0
  1411. package/mobile/lib/components/Headline/constants.js.map +1 -1
  1412. package/mobile/lib/components/MiniGallery/MiniGalleryContent.d.ts +1 -0
  1413. package/mobile/lib/components/OtherProducts/OtherProductsItem.js +4 -2
  1414. package/mobile/lib/components/OtherProducts/OtherProductsItem.js.map +1 -1
  1415. package/mobile/lib/components/ProductTile/ProductTile.js +1 -1
  1416. package/mobile/lib/components/ProductTile/ProductTile.js.map +1 -1
  1417. package/mobile/lib/components/Recommendation/RecommendationContent.d.ts +5 -0
  1418. package/mobile/lib/components/SafeDepositRental/RegionsAndBranches.d.ts +1 -1
  1419. package/mobile/lib/components/SafeDepositRental/RegionsAndBranches.js +1 -1
  1420. package/mobile/lib/components/SafeDepositRental/RegionsAndBranches.js.map +1 -1
  1421. package/mobile/lib/components/SafeDepositRental/SafeBoxCases.d.ts +1 -1
  1422. package/mobile/lib/components/SafeDepositRental/SafeDepositRental.d.ts +1 -1
  1423. package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js +18 -4
  1424. package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  1425. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalFields.d.ts +7 -4
  1426. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalFields.js +3 -5
  1427. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
  1428. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalForm.d.ts +7 -3
  1429. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalForm.js +9 -30
  1430. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
  1431. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTotal.d.ts +1 -1
  1432. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTotal.js +1 -1
  1433. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
  1434. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTypes.d.ts +0 -2
  1435. package/mobile/lib/components/SafeDepositRental/WrapperSelect.js +7 -4
  1436. package/mobile/lib/components/SafeDepositRental/WrapperSelect.js.map +1 -1
  1437. package/mobile/lib/components/SafeDepositRental/utils.d.ts +1 -1
  1438. package/mobile/lib/components/StepsBlock/StepsBlockContent.d.ts +9 -2
  1439. package/mobile/lib/components/StepsBlock/StepsBlockStyleMaps.d.ts +1 -0
  1440. package/mobile/lib/components/StepsBlock/StepsBlockStyleMaps.js +2 -0
  1441. package/mobile/lib/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
  1442. package/mobile/lib/components/StepsBlock/renderItems.d.ts +3 -0
  1443. package/mobile/lib/components/StepsBlock/renderItems.js +3 -0
  1444. package/mobile/lib/components/StepsBlock/renderItems.js.map +1 -0
  1445. package/mobile/lib/components/Tabs/Tabs.d.ts +4 -0
  1446. package/mobile/lib/components/Tabs/Tabs.js +13 -3
  1447. package/mobile/lib/components/Tabs/Tabs.js.map +1 -1
  1448. package/mobile/lib/components/Tabs/TabsContent.d.ts +2 -0
  1449. package/mobile/lib/components/Tabs/renderLinkTab.d.ts +3 -2
  1450. package/mobile/lib/components/Tabs/renderLinkTab.js +5 -2
  1451. package/mobile/lib/components/Tabs/renderLinkTab.js.map +1 -1
  1452. package/mobile/lib/components/Tabs/renderTab.js +12 -2
  1453. package/mobile/lib/components/Tabs/renderTab.js.map +1 -1
  1454. package/mobile/lib/components/TariffsTable/EmbeddableCellData.js +1 -2
  1455. package/mobile/lib/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  1456. package/mobile/lib/components/TariffsTable/TariffsTableCell.js +1 -1
  1457. package/mobile/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
  1458. package/mobile/lib/components/TariffsTable/TariffsTableRow.js +1 -2
  1459. package/mobile/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
  1460. package/mobile/lib/components/TariffsTable/dataFixture.js +4 -2
  1461. package/mobile/lib/components/TariffsTable/dataFixture.js.map +1 -1
  1462. package/mobile/lib/components/TariffsTable/utils/getButtonAriaLabel.d.ts +1 -1
  1463. package/mobile/lib/components/TariffsTable/utils/getButtonAriaLabel.js +1 -2
  1464. package/mobile/lib/components/TariffsTable/utils/getButtonAriaLabel.js.map +1 -1
  1465. package/mobile/lib/components/Tile/Tile.js +2 -3
  1466. package/mobile/lib/components/Tile/Tile.js.map +1 -1
  1467. package/mobile/lib/hooks/useOutsideClick.d.ts +5 -0
  1468. package/mobile/lib/hooks/useOutsideClick.js +18 -0
  1469. package/mobile/lib/hooks/useOutsideClick.js.map +1 -0
  1470. package/mobile/lib/hooks/useSafeBoxes.d.ts +20 -0
  1471. package/mobile/lib/hooks/{useFetchSafeBoxes.js → useSafeBoxes.js} +7 -8
  1472. package/mobile/lib/hooks/useSafeBoxes.js.map +1 -0
  1473. package/mobile/lib/icons/IconName.d.ts +1 -92
  1474. package/mobile/lib/icons/IconName.js +3 -3
  1475. package/mobile/lib/icons/IconName.js.map +1 -1
  1476. package/mobile/lib/model/HeadlineType.d.ts +8 -0
  1477. package/mobile/lib/model/Picture.d.ts +1 -0
  1478. package/mobile/lib/react/setup-fixture.js +0 -2
  1479. package/mobile/lib/react/setup-fixture.js.map +1 -1
  1480. package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js +3 -1
  1481. package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  1482. package/mobile/lib/ui-kit/BlockWrapper.d.ts +0 -3
  1483. package/mobile/lib/ui-kit/BlockWrapper.js +37 -15
  1484. package/mobile/lib/ui-kit/BlockWrapper.js.map +1 -1
  1485. package/mobile/lib/ui-kit/BlocksList/renderBlocksList.d.ts +1 -1
  1486. package/mobile/lib/ui-kit/BlocksList/renderBlocksList.js +1 -1
  1487. package/mobile/lib/ui-kit/BlocksList/renderBlocksList.js.map +1 -1
  1488. package/mobile/lib/ui-kit/Button/Button.js +1 -1
  1489. package/mobile/lib/ui-kit/Button/Button.js.map +1 -1
  1490. package/mobile/lib/ui-kit/Button/ButtonInner.js +3 -2
  1491. package/mobile/lib/ui-kit/Button/ButtonInner.js.map +1 -1
  1492. package/mobile/lib/ui-kit/Button/ButtonProps.d.ts +1 -7
  1493. package/mobile/lib/ui-kit/Button/ButtonSection.js +5 -10
  1494. package/mobile/lib/ui-kit/Button/ButtonSection.js.map +1 -1
  1495. package/mobile/lib/ui-kit/Button/buttonClassNameConstants.d.ts +1 -0
  1496. package/mobile/lib/ui-kit/Button/buttonClassNameConstants.js +6 -0
  1497. package/mobile/lib/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
  1498. package/mobile/lib/ui-kit/CurrencyInput/CurrencyInput.js +18 -7
  1499. package/mobile/lib/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -1
  1500. package/mobile/lib/ui-kit/CurrencyInput/CurrencyInputProps.d.ts +2 -7
  1501. package/mobile/lib/ui-kit/CurrencyInput/adjustValue .d.ts +3 -0
  1502. package/mobile/lib/ui-kit/CurrencyInput/adjustValue .js +19 -0
  1503. package/mobile/lib/ui-kit/CurrencyInput/adjustValue .js.map +1 -0
  1504. package/mobile/lib/ui-kit/Foldable/DefaultButton.d.ts +2 -0
  1505. package/mobile/lib/ui-kit/Foldable/DefaultButton.js +10 -0
  1506. package/mobile/lib/ui-kit/Foldable/DefaultButton.js.map +1 -0
  1507. package/mobile/lib/ui-kit/Foldable/FoldButtonProps.d.ts +12 -0
  1508. package/mobile/lib/ui-kit/Foldable/FoldButtonProps.js +2 -0
  1509. package/mobile/lib/ui-kit/Foldable/FoldButtonProps.js.map +1 -0
  1510. package/mobile/lib/ui-kit/Foldable/Foldable.d.ts +11 -17
  1511. package/mobile/lib/ui-kit/Foldable/Foldable.js +22 -14
  1512. package/mobile/lib/ui-kit/Foldable/Foldable.js.map +1 -1
  1513. package/mobile/lib/ui-kit/Icon/Icon.js +4 -5
  1514. package/mobile/lib/ui-kit/Icon/Icon.js.map +1 -1
  1515. package/mobile/lib/ui-kit/Icon/IconProps.d.ts +0 -1
  1516. package/mobile/lib/ui-kit/Img/Img.js +1 -3
  1517. package/mobile/lib/ui-kit/Img/Img.js.map +1 -1
  1518. package/mobile/lib/ui-kit/InnerTable/InnerTableBody.js +1 -1
  1519. package/mobile/lib/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
  1520. package/mobile/lib/ui-kit/InnerTable/InnerTableBodyItem.js +6 -2
  1521. package/mobile/lib/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
  1522. package/mobile/lib/ui-kit/InnerTable/InnerTableButton.js +1 -1
  1523. package/mobile/lib/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
  1524. package/mobile/lib/ui-kit/InnerTable/InnerTableHeader.js +1 -1
  1525. package/mobile/lib/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
  1526. package/mobile/lib/ui-kit/Input/Input.d.ts +1 -1
  1527. package/mobile/lib/ui-kit/Input/Input.js +17 -5
  1528. package/mobile/lib/ui-kit/Input/Input.js.map +1 -1
  1529. package/mobile/lib/ui-kit/Input/InputProps.d.ts +8 -3
  1530. package/mobile/lib/ui-kit/InputRange/InputRange.js +2 -2
  1531. package/mobile/lib/ui-kit/InputRange/InputRange.js.map +1 -1
  1532. package/mobile/lib/ui-kit/IntersectionObserverTag.d.ts +11 -0
  1533. package/mobile/lib/ui-kit/IntersectionObserverTag.js +20 -0
  1534. package/mobile/lib/ui-kit/IntersectionObserverTag.js.map +1 -0
  1535. package/mobile/lib/ui-kit/List/List.js +13 -8
  1536. package/mobile/lib/ui-kit/List/List.js.map +1 -1
  1537. package/mobile/lib/ui-kit/List/ListItem.d.ts +2 -2
  1538. package/mobile/lib/ui-kit/List/ListItem.js +7 -21
  1539. package/mobile/lib/ui-kit/List/ListItem.js.map +1 -1
  1540. package/mobile/lib/ui-kit/List/ListProps.d.ts +5 -3
  1541. package/mobile/lib/ui-kit/Radio/Radio.js +1 -1
  1542. package/mobile/lib/ui-kit/Radio/Radio.js.map +1 -1
  1543. package/mobile/lib/ui-kit/Select/Select.d.ts +10 -4
  1544. package/mobile/lib/ui-kit/Select/Select.js +27 -6
  1545. package/mobile/lib/ui-kit/Select/Select.js.map +1 -1
  1546. package/mobile/lib/utils/changeHashOnObserve.d.ts +9 -1
  1547. package/mobile/lib/utils/changeHashOnObserve.js +12 -4
  1548. package/mobile/lib/utils/changeHashOnObserve.js.map +1 -1
  1549. package/mobile/lib/utils/getSanitizedValue.d.ts +1 -0
  1550. package/mobile/lib/utils/getSanitizedValue.js +2 -0
  1551. package/mobile/lib/utils/getSanitizedValue.js.map +1 -0
  1552. package/mobile/src/EventBus/EventMap.ts +3 -1
  1553. package/mobile/src/components/Accordion/Accordion.ui.json +79 -0
  1554. package/mobile/src/components/Accordion/AccordionItem.tsx +50 -26
  1555. package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
  1556. package/mobile/src/components/BenefitsBlock/BenefitsBlock.ui.json +16 -0
  1557. package/mobile/src/components/Blocks.ts +0 -2
  1558. package/mobile/src/components/Bonus/Bonus.example.json +5 -2
  1559. package/mobile/src/components/Bonus/Bonus.tsx +44 -16
  1560. package/mobile/src/components/Bonus/Bonus.ui.json +16 -0
  1561. package/mobile/src/components/Bonus/BonusContent.ts +33 -2
  1562. package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.example.json +1 -1
  1563. package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.ui.json +11 -0
  1564. package/mobile/src/components/Calculator/Calculator.example.json +2 -1
  1565. package/mobile/src/components/Calculator/Calculator.ui.json +31 -0
  1566. package/mobile/src/components/Calculator/CalculatorContent.ts +1 -1
  1567. package/mobile/src/components/CardTransfer/CardTransfer.example.json +7 -2
  1568. package/mobile/src/components/CardTransfer/CardTransfer.tsx +25 -24
  1569. package/mobile/src/components/CardTransfer/CardTransfer.ui.json +1 -0
  1570. package/mobile/src/components/CardTransfer/CardTransferContent.ts +2 -2
  1571. package/mobile/src/components/Catalog/Catalog.tsx +2 -2
  1572. package/mobile/src/components/Catalog/Catalog.ui.json +1 -0
  1573. package/mobile/src/components/Catalog/CatalogCard.tsx +1 -35
  1574. package/mobile/src/components/ComparisonTable/ComparisonTable.tsx +49 -120
  1575. package/mobile/src/components/ComparisonTable/ComparisonTable.ui.json +1 -0
  1576. package/mobile/src/components/ComparisonTable/TableColumn.tsx +25 -21
  1577. package/mobile/src/components/ContentPage/ContentPage.page.json +15 -1
  1578. package/mobile/src/components/ContentPage/ContentPageContext.tsx +0 -14
  1579. package/mobile/src/components/ErrorBlock/ErrorBlock.tsx +1 -3
  1580. package/mobile/src/components/ErrorBlock/ErrorBlock.ui.json +12 -0
  1581. package/mobile/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +4 -3
  1582. package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.ui.json +1 -0
  1583. package/mobile/src/components/ExchangeRateTile/renderInput.tsx +4 -4
  1584. package/mobile/src/components/Footer/Contacts.tsx +1 -0
  1585. package/mobile/src/components/Footer/Footer.ui.json +11 -0
  1586. package/mobile/src/components/Footer/FooterContent.ts +5 -10
  1587. package/mobile/src/components/Gallery/Gallery.tsx +15 -5
  1588. package/mobile/src/components/Gallery/Gallery.ui.json +1 -0
  1589. package/mobile/src/components/Gallery/GalleryCardInner.tsx +60 -44
  1590. package/mobile/src/components/Gallery/GalleryContainer.tsx +10 -2
  1591. package/mobile/src/components/Gallery/GalleryContent.ts +11 -3
  1592. package/mobile/src/components/GracePeriod/GracePeriod.tsx +5 -4
  1593. package/mobile/src/components/GracePeriod/GracePeriod.ui.json +15 -0
  1594. package/mobile/src/components/GracePeriod/GracePeriodContent.ts +1 -1
  1595. package/mobile/src/components/Header/Header.ui.json +11 -0
  1596. package/mobile/src/components/Header/HeaderSubMenu.tsx +2 -1
  1597. package/mobile/src/components/Headline/Headline.ui.json +1 -0
  1598. package/mobile/src/components/Headline/constants.ts +11 -1
  1599. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.ui.json +15 -0
  1600. package/mobile/src/components/LinkDocs/LinkDocs.ui.json +1 -0
  1601. package/mobile/src/components/LinkList/LinkList.ui.json +1 -0
  1602. package/mobile/src/components/MiniGallery/MiniGallery.ui.json +1 -0
  1603. package/mobile/src/components/MiniGallery/MiniGalleryContent.ts +1 -0
  1604. package/mobile/src/components/MobileAppTile/MobileAppTile.ui.json +7 -0
  1605. package/mobile/src/components/OfficeServicesBlock/OfficeServicesBlock.ui.json +11 -0
  1606. package/mobile/src/components/OtherProducts/OtherProducts.ui.json +76 -0
  1607. package/mobile/src/components/OtherProducts/OtherProductsItem.tsx +18 -9
  1608. package/mobile/src/components/PictureText/PictureText.ui.json +1 -0
  1609. package/mobile/src/components/Placeholder/Placeholder.ui.json +1 -0
  1610. package/mobile/src/components/ProductBlock/ProductBlock.ui.json +12 -0
  1611. package/mobile/src/components/ProductGallery/ProductGallery.ui.json +30 -0
  1612. package/mobile/src/components/ProductTile/ProductTile.tsx +3 -3
  1613. package/mobile/src/components/ProductTile/ProductTile.ui.json +1 -0
  1614. package/mobile/src/components/PromoTile/PromoTile.ui.json +1 -0
  1615. package/mobile/src/components/Recommendation/Recommendation.ui.json +11 -0
  1616. package/mobile/src/components/Recommendation/RecommendationContent.ts +5 -0
  1617. package/mobile/src/components/SafeDepositRental/RegionsAndBranches.tsx +5 -5
  1618. package/mobile/src/components/SafeDepositRental/SafeBoxCases.tsx +1 -1
  1619. package/mobile/src/components/SafeDepositRental/SafeDepositRental.tsx +35 -8
  1620. package/mobile/src/components/SafeDepositRental/SafeDepositRental.ui.json +1 -0
  1621. package/mobile/src/components/SafeDepositRental/SafeDepositRentalFields.tsx +13 -21
  1622. package/mobile/src/components/SafeDepositRental/SafeDepositRentalForm.tsx +21 -49
  1623. package/mobile/src/components/SafeDepositRental/SafeDepositRentalTotal.tsx +3 -3
  1624. package/mobile/src/components/SafeDepositRental/SafeDepositRentalTypes.ts +0 -3
  1625. package/mobile/src/components/SafeDepositRental/WrapperSelect.tsx +15 -20
  1626. package/mobile/src/components/SafeDepositRental/utils.ts +1 -1
  1627. package/mobile/src/components/StepsBlock/StepsBlock.ui.json +19 -0
  1628. package/mobile/src/components/StepsBlock/StepsBlockContent.ts +9 -2
  1629. package/mobile/src/components/StepsBlock/StepsBlockStyleMaps.ts +3 -0
  1630. package/mobile/src/components/StepsBlock/renderItems.tsx +17 -0
  1631. package/mobile/src/components/Tabs/Tabs.tsx +25 -3
  1632. package/mobile/src/components/Tabs/Tabs.ui.json +1 -0
  1633. package/mobile/src/components/Tabs/TabsContent.ts +2 -0
  1634. package/mobile/src/components/Tabs/renderLinkTab.tsx +28 -12
  1635. package/mobile/src/components/Tabs/renderTab.tsx +13 -2
  1636. package/mobile/src/components/TariffsTable/EmbeddableCellData.tsx +4 -8
  1637. package/mobile/src/components/TariffsTable/TariffsTable.ui.json +33 -0
  1638. package/mobile/src/components/TariffsTable/TariffsTableCell.tsx +1 -1
  1639. package/mobile/src/components/TariffsTable/TariffsTableRow.tsx +1 -4
  1640. package/mobile/src/components/TariffsTable/{dataFixture.ts → dataFixture.tsx} +3 -2
  1641. package/mobile/src/components/TariffsTable/utils/getButtonAriaLabel.ts +1 -3
  1642. package/mobile/src/components/TextBlock/TextBlock.ui.json +1 -0
  1643. package/mobile/src/components/Tile/Tile.tsx +3 -5
  1644. package/mobile/src/components/Tile/Tile.ui.json +1 -0
  1645. package/mobile/src/hooks/useOutsideClick.ts +25 -0
  1646. package/mobile/src/hooks/{useFetchSafeBoxes.ts → useSafeBoxes.ts} +7 -8
  1647. package/mobile/src/icons/IconName.ts +3 -3
  1648. package/mobile/src/model/HeadlineType.ts +10 -0
  1649. package/mobile/src/model/Picture.ts +1 -0
  1650. package/mobile/src/react/setup-fixture.ts +0 -2
  1651. package/mobile/src/ui-kit/BenefitItem/BenefitItem.tsx +5 -5
  1652. package/mobile/src/ui-kit/BlockWrapper.tsx +46 -23
  1653. package/mobile/src/ui-kit/BlocksList/renderBlocksList.tsx +1 -1
  1654. package/mobile/src/ui-kit/Button/Button.tsx +1 -1
  1655. package/mobile/src/ui-kit/Button/ButtonInner.tsx +4 -3
  1656. package/mobile/src/ui-kit/Button/ButtonProps.ts +1 -7
  1657. package/mobile/src/ui-kit/Button/ButtonSection.tsx +19 -41
  1658. package/mobile/src/ui-kit/Button/buttonClassNameConstants.ts +7 -0
  1659. package/mobile/src/ui-kit/CurrencyInput/CurrencyInput.tsx +36 -35
  1660. package/mobile/src/ui-kit/CurrencyInput/CurrencyInputProps.ts +3 -7
  1661. package/mobile/src/ui-kit/CurrencyInput/adjustValue .ts +28 -0
  1662. package/mobile/src/ui-kit/Foldable/DefaultButton.tsx +27 -0
  1663. package/mobile/src/ui-kit/Foldable/FoldButtonProps.ts +13 -0
  1664. package/mobile/src/ui-kit/Foldable/Foldable.tsx +66 -70
  1665. package/mobile/src/ui-kit/Icon/Icon.tsx +5 -6
  1666. package/mobile/src/ui-kit/Icon/IconProps.ts +0 -1
  1667. package/mobile/src/ui-kit/Img/Img.tsx +1 -13
  1668. package/mobile/src/ui-kit/InnerTable/InnerTableBody.tsx +1 -1
  1669. package/mobile/src/ui-kit/InnerTable/InnerTableBodyItem.tsx +14 -5
  1670. package/mobile/src/ui-kit/InnerTable/InnerTableButton.tsx +1 -1
  1671. package/mobile/src/ui-kit/InnerTable/InnerTableHeader.tsx +4 -3
  1672. package/mobile/src/ui-kit/Input/Input.tsx +53 -16
  1673. package/mobile/src/ui-kit/Input/InputProps.ts +8 -3
  1674. package/mobile/src/ui-kit/InputRange/InputRange.tsx +2 -3
  1675. package/mobile/src/ui-kit/IntersectionObserverTag.tsx +49 -0
  1676. package/mobile/src/ui-kit/List/List.tsx +29 -18
  1677. package/mobile/src/ui-kit/List/ListItem.tsx +14 -26
  1678. package/mobile/src/ui-kit/List/ListProps.ts +5 -3
  1679. package/mobile/src/ui-kit/Radio/Radio.tsx +3 -2
  1680. package/mobile/src/ui-kit/Select/Select.tsx +91 -20
  1681. package/mobile/src/utils/changeHashOnObserve.ts +30 -10
  1682. package/mobile/src/utils/getSanitizedValue.ts +1 -0
  1683. package/package.json +7 -4
  1684. package/src/EventBus/EventMap.ts +3 -1
  1685. package/src/components/Accordion/Accordion.ui.json +79 -0
  1686. package/src/components/Accordion/AccordionItem.mobile.tsx +50 -26
  1687. package/src/components/Accordion/AccordionItem.tsx +38 -27
  1688. package/src/components/BenefitsBlock/BenefitsBlock.fixture.tsx +4 -4
  1689. package/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
  1690. package/src/components/BenefitsBlock/BenefitsBlock.ui.json +16 -0
  1691. package/src/components/Blocks.mobile.ts +0 -2
  1692. package/src/components/Bonus/Bonus.example.json +5 -2
  1693. package/src/components/Bonus/Bonus.fixture.tsx +37 -6
  1694. package/src/components/Bonus/Bonus.tsx +44 -16
  1695. package/src/components/Bonus/Bonus.ui.json +16 -0
  1696. package/src/components/Bonus/BonusContent.ts +33 -2
  1697. package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.example.json +1 -1
  1698. package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.ui.json +11 -0
  1699. package/src/components/Calculator/Calculator.example.json +2 -1
  1700. package/src/components/Calculator/Calculator.ui.json +31 -0
  1701. package/src/components/Calculator/CalculatorContent.ts +1 -1
  1702. package/src/components/CardTransfer/CardTransfer.example.json +7 -2
  1703. package/src/components/CardTransfer/CardTransfer.fixture.tsx +9 -1
  1704. package/src/components/CardTransfer/CardTransfer.tsx +25 -24
  1705. package/src/components/CardTransfer/CardTransfer.ui.json +1 -0
  1706. package/src/components/CardTransfer/CardTransferContent.ts +2 -2
  1707. package/src/components/Catalog/Catalog.fixture.tsx +10 -3
  1708. package/src/components/Catalog/Catalog.tsx +2 -2
  1709. package/src/components/Catalog/Catalog.ui.json +1 -0
  1710. package/src/components/Catalog/CatalogCard.tsx +1 -35
  1711. package/src/components/ComparisonTable/ComparisonTable.mobile.tsx +49 -120
  1712. package/src/components/ComparisonTable/ComparisonTable.tsx +1 -1
  1713. package/src/components/ComparisonTable/ComparisonTable.ui.json +1 -0
  1714. package/src/components/ComparisonTable/TableCell.tsx +2 -2
  1715. package/src/components/ComparisonTable/TableColumn.tsx +25 -21
  1716. package/src/components/ContentPage/ContentPage.page.json +15 -1
  1717. package/src/components/ContentPage/ContentPageContext.tsx +0 -14
  1718. package/src/components/ErrorBlock/ErrorBlock.tsx +1 -3
  1719. package/src/components/ErrorBlock/ErrorBlock.ui.json +12 -0
  1720. package/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +4 -3
  1721. package/src/components/ExchangeRateTile/ExchangeRateTile.ui.json +1 -0
  1722. package/src/components/ExchangeRateTile/renderInput.tsx +4 -4
  1723. package/src/components/Footer/Contacts.tsx +1 -0
  1724. package/src/components/Footer/Footer.ui.json +11 -0
  1725. package/src/components/Footer/FooterContent.ts +5 -10
  1726. package/src/components/Gallery/Gallery.fixture.tsx +2 -2
  1727. package/src/components/Gallery/Gallery.mobile.tsx +15 -5
  1728. package/src/components/Gallery/Gallery.ui.json +1 -0
  1729. package/src/components/Gallery/GalleryCardInner.tsx +60 -44
  1730. package/src/components/Gallery/GalleryContainer.tsx +10 -2
  1731. package/src/components/Gallery/GalleryContent.ts +11 -3
  1732. package/src/components/GracePeriod/GracePeriod.fixture.tsx +5 -5
  1733. package/src/components/GracePeriod/GracePeriod.tsx +5 -4
  1734. package/src/components/GracePeriod/GracePeriod.ui.json +15 -0
  1735. package/src/components/GracePeriod/GracePeriodContent.ts +1 -1
  1736. package/src/components/Header/Header.ui.json +11 -0
  1737. package/src/components/Header/HeaderSubMenu.tsx +2 -1
  1738. package/src/components/Headline/Headline.ui.json +1 -0
  1739. package/src/components/Headline/constants.ts +11 -1
  1740. package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.ui.json +15 -0
  1741. package/src/components/LinkDocs/LinkDocs.ui.json +1 -0
  1742. package/src/components/LinkList/LinkList.ui.json +1 -0
  1743. package/src/components/MiniGallery/MiniGallery.fixture.tsx +45 -0
  1744. package/src/components/MiniGallery/MiniGallery.ui.json +1 -0
  1745. package/src/components/MiniGallery/MiniGalleryContent.ts +1 -0
  1746. package/src/components/MobileAppTile/MobileAppTile.fixture.tsx +14 -4
  1747. package/src/components/MobileAppTile/MobileAppTile.tsx +5 -8
  1748. package/src/components/MobileAppTile/MobileAppTile.ui.json +7 -0
  1749. package/src/components/OfficeServicesBlock/OfficeServicesBlock.ui.json +11 -0
  1750. package/src/components/OtherProducts/OtherProducts.ui.json +76 -0
  1751. package/src/components/OtherProducts/OtherProductsItem.tsx +18 -9
  1752. package/src/components/PictureText/PictureText.ui.json +1 -0
  1753. package/src/components/Placeholder/Placeholder.ui.json +1 -0
  1754. package/src/components/ProductBlock/ProductBlock.ui.json +12 -0
  1755. package/src/components/ProductGallery/ProductGallery.tsx +2 -2
  1756. package/src/components/ProductGallery/ProductGallery.ui.json +30 -0
  1757. package/src/components/ProductTile/ProductTile.tsx +3 -3
  1758. package/src/components/ProductTile/ProductTile.ui.json +1 -0
  1759. package/src/components/PromoTile/PromoTile.ui.json +1 -0
  1760. package/src/components/Recommendation/Recommendation.ui.json +11 -0
  1761. package/src/components/Recommendation/RecommendationContent.ts +5 -0
  1762. package/src/components/SafeDepositRental/RegionsAndBranches.tsx +5 -5
  1763. package/src/components/SafeDepositRental/SafeBoxCases.tsx +1 -1
  1764. package/src/components/SafeDepositRental/SafeDepositRental.tsx +35 -8
  1765. package/src/components/SafeDepositRental/SafeDepositRental.ui.json +1 -0
  1766. package/src/components/SafeDepositRental/SafeDepositRentalFields.tsx +13 -21
  1767. package/src/components/SafeDepositRental/SafeDepositRentalForm.tsx +21 -49
  1768. package/src/components/SafeDepositRental/SafeDepositRentalTotal.tsx +3 -3
  1769. package/src/components/SafeDepositRental/SafeDepositRentalTypes.ts +0 -3
  1770. package/src/components/SafeDepositRental/WrapperSelect.tsx +15 -20
  1771. package/src/components/SafeDepositRental/utils.ts +1 -1
  1772. package/src/components/StepsBlock/StepsBlock.fixture.tsx +31 -3
  1773. package/src/components/StepsBlock/StepsBlock.tsx +11 -6
  1774. package/src/components/StepsBlock/StepsBlock.ui.json +19 -0
  1775. package/src/components/StepsBlock/StepsBlockContent.ts +9 -2
  1776. package/src/components/StepsBlock/StepsBlockStyleMaps.ts +3 -0
  1777. package/src/components/StepsBlock/renderItems.tsx +17 -0
  1778. package/src/components/Tabs/Tabs.tsx +25 -3
  1779. package/src/components/Tabs/Tabs.ui.json +1 -0
  1780. package/src/components/Tabs/TabsContent.ts +2 -0
  1781. package/src/components/Tabs/renderLinkTab.tsx +28 -12
  1782. package/src/components/Tabs/renderTab.tsx +13 -2
  1783. package/src/components/TariffsTable/EmbeddableCellData.mobile.tsx +4 -8
  1784. package/src/components/TariffsTable/EmbeddableCellData.tsx +5 -10
  1785. package/src/components/TariffsTable/TariffsTable.tsx +3 -5
  1786. package/src/components/TariffsTable/TariffsTable.ui.json +33 -0
  1787. package/src/components/TariffsTable/TariffsTableCell.tsx +1 -1
  1788. package/src/components/TariffsTable/TariffsTableRow.tsx +1 -4
  1789. package/src/components/TariffsTable/{dataFixture.ts → dataFixture.tsx} +3 -2
  1790. package/src/components/TariffsTable/utils/getButtonAriaLabel.ts +1 -3
  1791. package/src/components/TextBlock/TextBlock.ui.json +1 -0
  1792. package/src/components/Tile/Tile.tsx +3 -5
  1793. package/src/components/Tile/Tile.ui.json +1 -0
  1794. package/src/hooks/useOutsideClick.ts +25 -0
  1795. package/src/hooks/{useFetchSafeBoxes.ts → useSafeBoxes.ts} +7 -8
  1796. package/src/icons/IconName.ts +34 -92
  1797. package/src/model/HeadlineType.ts +10 -0
  1798. package/src/model/Picture.ts +1 -0
  1799. package/src/react/setup-fixture.ts +0 -2
  1800. package/src/ui-kit/BenefitItem/BenefitItem.tsx +5 -5
  1801. package/src/ui-kit/BlockWrapper.tsx +46 -23
  1802. package/src/ui-kit/BlocksList/renderBlocksList.tsx +1 -1
  1803. package/src/ui-kit/Button/Button.mobile.tsx +1 -1
  1804. package/src/ui-kit/Button/Button.tsx +55 -27
  1805. package/src/ui-kit/Button/ButtonInner.tsx +4 -3
  1806. package/src/ui-kit/Button/ButtonProps.ts +1 -7
  1807. package/src/ui-kit/Button/ButtonSection.tsx +19 -41
  1808. package/src/ui-kit/Button/buttonClassNameConstants.ts +7 -0
  1809. package/src/ui-kit/CurrencyInput/CurrencyInput.tsx +36 -35
  1810. package/src/ui-kit/CurrencyInput/CurrencyInputProps.ts +3 -7
  1811. package/src/ui-kit/CurrencyInput/adjustValue .ts +28 -0
  1812. package/src/ui-kit/Foldable/DefaultButton.tsx +27 -0
  1813. package/src/ui-kit/Foldable/FoldButtonProps.ts +13 -0
  1814. package/src/ui-kit/Foldable/Foldable.tsx +66 -70
  1815. package/src/ui-kit/Icon/Icon.tsx +5 -6
  1816. package/src/ui-kit/Icon/IconProps.ts +0 -1
  1817. package/src/ui-kit/Img/Img.mobile.tsx +1 -13
  1818. package/src/ui-kit/Img/Img.tsx +1 -17
  1819. package/src/ui-kit/InnerTable/InnerTableBody.tsx +1 -1
  1820. package/src/ui-kit/InnerTable/InnerTableBodyItem.tsx +14 -5
  1821. package/src/ui-kit/InnerTable/InnerTableButton.tsx +1 -1
  1822. package/src/ui-kit/InnerTable/InnerTableHeader.tsx +4 -3
  1823. package/src/ui-kit/Input/Input.tsx +53 -16
  1824. package/src/ui-kit/Input/InputProps.ts +8 -3
  1825. package/src/ui-kit/InputRange/InputRange.tsx +2 -3
  1826. package/src/ui-kit/IntersectionObserverTag.tsx +49 -0
  1827. package/src/ui-kit/List/List.fixture.tsx +1 -21
  1828. package/src/ui-kit/List/List.tsx +29 -18
  1829. package/src/ui-kit/List/ListItem.tsx +14 -26
  1830. package/src/ui-kit/List/ListProps.ts +5 -3
  1831. package/src/ui-kit/Radio/Radio.tsx +3 -2
  1832. package/src/ui-kit/{SelectCustom/SelectCustom.fixture.tsx → Select/Select.fixture.tsx} +2 -2
  1833. package/src/ui-kit/Select/Select.tsx +91 -20
  1834. package/src/utils/changeHashOnObserve.ts +30 -10
  1835. package/src/utils/getSanitizedValue.ts +1 -0
  1836. package/tailwind.config.cjs +1 -1
  1837. package/bin/migration-scripts/0.4.5.spec.ts +0 -352
  1838. package/dist/components/Accordion/AccordionItemInner.d.ts +0 -2
  1839. package/dist/components/Accordion/AccordionItemInner.js +0 -9
  1840. package/dist/components/Accordion/AccordionItemInner.js.map +0 -1
  1841. package/dist/components/Accordion/AccordionItemInner.mobile.d.ts +0 -2
  1842. package/dist/components/Accordion/AccordionItemInner.mobile.js +0 -9
  1843. package/dist/components/Accordion/AccordionItemInner.mobile.js.map +0 -1
  1844. package/dist/components/Accordion/useActiveHandler.d.ts +0 -7
  1845. package/dist/components/Accordion/useActiveHandler.js +0 -22
  1846. package/dist/components/Accordion/useActiveHandler.js.map +0 -1
  1847. package/dist/components/ExchangeRateTile/renderButton.d.ts +0 -3
  1848. package/dist/components/ExchangeRateTile/renderButton.js +0 -9
  1849. package/dist/components/ExchangeRateTile/renderButton.js.map +0 -1
  1850. package/dist/hooks/useFetchSafeBoxes.js.map +0 -1
  1851. package/dist/react/IntersectionObserverTag.d.ts +0 -2
  1852. package/dist/react/IntersectionObserverTag.js +0 -39
  1853. package/dist/react/IntersectionObserverTag.js.map +0 -1
  1854. package/dist/ui-kit/Foldable/useActiveHandler.d.ts +0 -9
  1855. package/dist/ui-kit/Foldable/useActiveHandler.js +0 -23
  1856. package/dist/ui-kit/Foldable/useActiveHandler.js.map +0 -1
  1857. package/dist/ui-kit/Select/SelectOption.d.ts +0 -7
  1858. package/dist/ui-kit/Select/SelectOption.js +0 -8
  1859. package/dist/ui-kit/Select/SelectOption.js.map +0 -1
  1860. package/dist/ui-kit/SelectCustom/SelectCustom.js +0 -30
  1861. package/dist/ui-kit/SelectCustom/SelectCustom.js.map +0 -1
  1862. package/lib/components/Accordion/AccordionItemInner.d.ts +0 -2
  1863. package/lib/components/Accordion/AccordionItemInner.js +0 -7
  1864. package/lib/components/Accordion/AccordionItemInner.js.map +0 -1
  1865. package/lib/components/Accordion/AccordionItemInner.mobile.d.ts +0 -2
  1866. package/lib/components/Accordion/AccordionItemInner.mobile.js +0 -7
  1867. package/lib/components/Accordion/AccordionItemInner.mobile.js.map +0 -1
  1868. package/lib/components/Accordion/useActiveHandler.d.ts +0 -7
  1869. package/lib/components/Accordion/useActiveHandler.js +0 -19
  1870. package/lib/components/Accordion/useActiveHandler.js.map +0 -1
  1871. package/lib/components/ExchangeRateTile/renderButton.d.ts +0 -3
  1872. package/lib/components/ExchangeRateTile/renderButton.js +0 -6
  1873. package/lib/components/ExchangeRateTile/renderButton.js.map +0 -1
  1874. package/lib/hooks/useFetchSafeBoxes.js.map +0 -1
  1875. package/lib/react/IntersectionObserverTag.d.ts +0 -2
  1876. package/lib/react/IntersectionObserverTag.js +0 -13
  1877. package/lib/react/IntersectionObserverTag.js.map +0 -1
  1878. package/lib/ui-kit/Foldable/useActiveHandler.d.ts +0 -9
  1879. package/lib/ui-kit/Foldable/useActiveHandler.js +0 -20
  1880. package/lib/ui-kit/Foldable/useActiveHandler.js.map +0 -1
  1881. package/lib/ui-kit/Select/SelectOption.d.ts +0 -7
  1882. package/lib/ui-kit/Select/SelectOption.js +0 -6
  1883. package/lib/ui-kit/Select/SelectOption.js.map +0 -1
  1884. package/lib/ui-kit/SelectCustom/SelectCustom.d.ts +0 -13
  1885. package/lib/ui-kit/SelectCustom/SelectCustom.js +0 -28
  1886. package/lib/ui-kit/SelectCustom/SelectCustom.js.map +0 -1
  1887. package/mobile/dist/components/Accordion/AccordionItemInner.d.ts +0 -2
  1888. package/mobile/dist/components/Accordion/AccordionItemInner.js +0 -9
  1889. package/mobile/dist/components/Accordion/AccordionItemInner.js.map +0 -1
  1890. package/mobile/dist/components/Accordion/useActiveHandler.d.ts +0 -7
  1891. package/mobile/dist/components/Accordion/useActiveHandler.js +0 -22
  1892. package/mobile/dist/components/Accordion/useActiveHandler.js.map +0 -1
  1893. package/mobile/dist/components/ExchangeRateTile/renderButton.d.ts +0 -3
  1894. package/mobile/dist/components/ExchangeRateTile/renderButton.js +0 -9
  1895. package/mobile/dist/components/ExchangeRateTile/renderButton.js.map +0 -1
  1896. package/mobile/dist/hooks/useFetchSafeBoxes.js.map +0 -1
  1897. package/mobile/dist/react/IntersectionObserverTag.d.ts +0 -2
  1898. package/mobile/dist/react/IntersectionObserverTag.js +0 -39
  1899. package/mobile/dist/react/IntersectionObserverTag.js.map +0 -1
  1900. package/mobile/dist/ui-kit/Foldable/useActiveHandler.d.ts +0 -9
  1901. package/mobile/dist/ui-kit/Foldable/useActiveHandler.js +0 -23
  1902. package/mobile/dist/ui-kit/Foldable/useActiveHandler.js.map +0 -1
  1903. package/mobile/dist/ui-kit/Select/SelectOption.d.ts +0 -7
  1904. package/mobile/dist/ui-kit/Select/SelectOption.js +0 -8
  1905. package/mobile/dist/ui-kit/Select/SelectOption.js.map +0 -1
  1906. package/mobile/dist/ui-kit/SelectCustom/SelectCustom.js +0 -30
  1907. package/mobile/dist/ui-kit/SelectCustom/SelectCustom.js.map +0 -1
  1908. package/mobile/lib/components/Accordion/AccordionItemInner.d.ts +0 -2
  1909. package/mobile/lib/components/Accordion/AccordionItemInner.js +0 -7
  1910. package/mobile/lib/components/Accordion/AccordionItemInner.js.map +0 -1
  1911. package/mobile/lib/components/Accordion/useActiveHandler.d.ts +0 -7
  1912. package/mobile/lib/components/Accordion/useActiveHandler.js +0 -19
  1913. package/mobile/lib/components/Accordion/useActiveHandler.js.map +0 -1
  1914. package/mobile/lib/components/ExchangeRateTile/renderButton.d.ts +0 -3
  1915. package/mobile/lib/components/ExchangeRateTile/renderButton.js +0 -6
  1916. package/mobile/lib/components/ExchangeRateTile/renderButton.js.map +0 -1
  1917. package/mobile/lib/hooks/useFetchSafeBoxes.js.map +0 -1
  1918. package/mobile/lib/react/IntersectionObserverTag.d.ts +0 -2
  1919. package/mobile/lib/react/IntersectionObserverTag.js +0 -13
  1920. package/mobile/lib/react/IntersectionObserverTag.js.map +0 -1
  1921. package/mobile/lib/ui-kit/Foldable/useActiveHandler.d.ts +0 -9
  1922. package/mobile/lib/ui-kit/Foldable/useActiveHandler.js +0 -20
  1923. package/mobile/lib/ui-kit/Foldable/useActiveHandler.js.map +0 -1
  1924. package/mobile/lib/ui-kit/Select/SelectOption.d.ts +0 -7
  1925. package/mobile/lib/ui-kit/Select/SelectOption.js +0 -6
  1926. package/mobile/lib/ui-kit/Select/SelectOption.js.map +0 -1
  1927. package/mobile/lib/ui-kit/SelectCustom/SelectCustom.d.ts +0 -13
  1928. package/mobile/lib/ui-kit/SelectCustom/SelectCustom.js +0 -28
  1929. package/mobile/lib/ui-kit/SelectCustom/SelectCustom.js.map +0 -1
  1930. package/mobile/src/components/Accordion/AccordionItemInner.tsx +0 -11
  1931. package/mobile/src/components/Accordion/useActiveHandler.ts +0 -25
  1932. package/mobile/src/components/Blocks.spec.tsx +0 -66
  1933. package/mobile/src/components/ContentPage/computeAPIFallback.spec.ts +0 -63
  1934. package/mobile/src/components/ContentPage/normalizeBlock.spec.ts +0 -50
  1935. package/mobile/src/components/ExchangeRateTile/renderButton.tsx +0 -10
  1936. package/mobile/src/components/__snapshots__/Blocks.spec.tsx.snap +0 -1206
  1937. package/mobile/src/content-page-repository/mapJSON.spec.ts +0 -28
  1938. package/mobile/src/react/IntersectionObserverTag.tsx +0 -26
  1939. package/mobile/src/services/sitemap/checkIsHrefSameOrigin.spec.ts +0 -20
  1940. package/mobile/src/services/sitemap/isTopItemActive.spec.ts +0 -60
  1941. package/mobile/src/services/sitemap/mergeTopItems.spec.ts +0 -20
  1942. package/mobile/src/ui-kit/Foldable/useActiveHandler.ts +0 -33
  1943. package/mobile/src/ui-kit/Select/SelectOption.tsx +0 -18
  1944. package/mobile/src/ui-kit/SelectCustom/SelectCustom.tsx +0 -91
  1945. package/mobile/src/ui-kit/SwipeListControl/utils/getIndexParts.spec.ts +0 -19
  1946. package/mobile/src/ui-kit/SwipeListControl/utils/getScrollPoints.spec.ts +0 -42
  1947. package/mobile/src/utils/adjustHref.spec.ts +0 -25
  1948. package/mobile/src/utils/maxBy.spec.ts +0 -11
  1949. package/mobile/src/utils/url.spec.ts +0 -17
  1950. package/src/components/Accordion/AccordionItemInner.mobile.tsx +0 -11
  1951. package/src/components/Accordion/AccordionItemInner.tsx +0 -11
  1952. package/src/components/Accordion/useActiveHandler.ts +0 -25
  1953. package/src/components/Blocks.spec.tsx +0 -66
  1954. package/src/components/ContentPage/computeAPIFallback.spec.ts +0 -63
  1955. package/src/components/ContentPage/normalizeBlock.mobile.spec.ts +0 -71
  1956. package/src/components/ContentPage/normalizeBlock.spec.ts +0 -50
  1957. package/src/components/ExchangeRateTile/renderButton.tsx +0 -10
  1958. package/src/components/__snapshots__/Blocks.spec.tsx.snap +0 -1206
  1959. package/src/content-page-repository/mapJSON.spec.ts +0 -28
  1960. package/src/react/IntersectionObserverTag.tsx +0 -26
  1961. package/src/services/sitemap/checkIsHrefSameOrigin.spec.ts +0 -20
  1962. package/src/services/sitemap/isTopItemActive.spec.ts +0 -60
  1963. package/src/services/sitemap/mergeTopItems.spec.ts +0 -20
  1964. package/src/ui-kit/Foldable/useActiveHandler.ts +0 -33
  1965. package/src/ui-kit/Select/SelectOption.tsx +0 -18
  1966. package/src/ui-kit/SelectCustom/SelectCustom.tsx +0 -91
  1967. package/src/ui-kit/SwipeListControl/utils/getIndexParts.spec.ts +0 -19
  1968. package/src/ui-kit/SwipeListControl/utils/getScrollPoints.spec.ts +0 -42
  1969. package/src/utils/adjustHref.spec.ts +0 -25
  1970. package/src/utils/maxBy.spec.ts +0 -11
  1971. package/src/utils/url.spec.ts +0 -17
@@ -1,14 +1,13 @@
1
1
  import { useAsyncData } from '@redneckz/uni-jsx/lib/hooks/useAsyncData';
2
2
  import { fetchJSON } from '../utils/fetchJSON.js';
3
3
  const SAFEBOXES_URL = '/api/v1/safeboxes';
4
- export function useFetchSafeBoxes(regionCode) {
4
+ const EMPTY_VALUE = [];
5
+ export function useSafeBoxes(regionCode) {
5
6
  const { data } = useAsyncData(regionCode ? `${SAFEBOXES_URL}?regionCode=${regionCode}` : null, fetchSafeBoxes);
6
- return data || [];
7
+ return data || EMPTY_VALUE;
7
8
  }
8
- const fetchSafeBoxes = (url) => {
9
- if (!url) {
10
- return {};
11
- }
12
- return fetchJSON(url, { method: 'GET' });
9
+ const fetchSafeBoxes = async (url) => {
10
+ const result = await fetchJSON(url, { method: 'GET' });
11
+ return result || EMPTY_VALUE;
13
12
  };
14
- //# sourceMappingURL=useFetchSafeBoxes.js.map
13
+ //# sourceMappingURL=useSafeBoxes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useSafeBoxes.js","sourceRoot":"","sources":["../../src/hooks/useSafeBoxes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,0CAA0C,CAAC;AACxE,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAyB/C,MAAM,aAAa,GAAG,mBAAmB,CAAC;AAC1C,MAAM,WAAW,GAAG,EAAE,CAAC;AAEvB,MAAM,UAAU,YAAY,CAAC,UAAmB;IAC9C,MAAM,EAAE,IAAI,EAAE,GAAG,YAAY,CAC3B,UAAU,CAAC,CAAC,CAAC,GAAG,aAAa,eAAe,UAAU,EAAE,CAAC,CAAC,CAAC,IAAI,EAC/D,cAAc,CACf,CAAC;IAEF,OAAO,IAAI,IAAI,WAAW,CAAC;AAC7B,CAAC;AAED,MAAM,cAAc,GAAG,KAAK,EAAE,GAAW,EAAqB,EAAE;IAC9D,MAAM,MAAM,GAAG,MAAM,SAAS,CAAW,GAAG,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,CAAC;IAEjE,OAAO,MAAM,IAAI,WAAW,CAAC;AAC/B,CAAC,CAAC"}
@@ -1,95 +1,4 @@
1
- export declare const IconInverseMap: {
2
- ActualBalanceIcon: boolean;
3
- AirPlaneIcon: boolean;
4
- AppleIcon: boolean;
5
- ArrowDownIcon: boolean;
6
- ArrowLeftIcon: boolean;
7
- ArrowUpIcon: boolean;
8
- AtmIcon: boolean;
9
- BankIcon: boolean;
10
- BuildingIcon: boolean;
11
- BurgerIcon: boolean;
12
- Calendar2Icon: boolean;
13
- CalendarCircleIcon: boolean;
14
- CalendarIcon: boolean;
15
- CalendarTickIcon: boolean;
16
- Car2Icon: boolean;
17
- CardIcon: boolean;
18
- CardPosIcon: boolean;
19
- CardTickIcon: boolean;
20
- CardWithGemIcon: boolean;
21
- CarIcon: boolean;
22
- ChartSquareIcon: boolean;
23
- CinemaIcon: boolean;
24
- ClockIcon: boolean;
25
- CloseIcon: boolean;
26
- ComfortableCompIcon: boolean;
27
- CreditCardsIcon: boolean;
28
- DiscountShapeIcon: boolean;
29
- DocDownloadIcon: boolean;
30
- DocIcon: boolean;
31
- DocIconMonoColor: boolean;
32
- DocsIcon: boolean;
33
- DocumentTextIcon: boolean;
34
- DollarIcon: boolean;
35
- DoneIcon: boolean;
36
- DoneSimpleIcon: boolean;
37
- EarthIcon: boolean;
38
- EmptyWalletChangeIcon: boolean;
39
- EmptyWalletIcon: boolean;
40
- EuroIcon: boolean;
41
- GeolocationIcon: boolean;
42
- GlassIcon: boolean;
43
- GlobalIcon: boolean;
44
- GpsIcon: boolean;
45
- GridIcon: boolean;
46
- InterestGrowthIcon: boolean;
47
- InterestIcon: boolean;
48
- JCBIcon: boolean;
49
- LogoIcon: boolean;
50
- LoupeIcon: boolean;
51
- MapMarkerClusterIcon: boolean;
52
- MapMarkerSingleIcon: boolean;
53
- MasterCardIcon: boolean;
54
- MinusIcon: boolean;
55
- MirIcon: boolean;
56
- MoneyIcon: boolean;
57
- MoneyInsuranceIcon: boolean;
58
- MoneysIcon: boolean;
59
- MonitorMobileIcon: boolean;
60
- NewDocIcon: boolean;
61
- OfficeIcon: boolean;
62
- OkIcon: boolean;
63
- PackA4Icon: boolean;
64
- PassSendIcon: boolean;
65
- PercentageRoundIcon: boolean;
66
- PercentageSquareIcon: boolean;
67
- PersonalCardIcon: boolean;
68
- PlayMarketIcon: boolean;
69
- PlusIcon: boolean;
70
- PowerIcon: boolean;
71
- Profile2UserIcon: boolean;
72
- ProfileIcon: boolean;
73
- PumpkinIcon: boolean;
74
- RoundRubleIcon: boolean;
75
- SafeIcon: boolean;
76
- ShieldTickIcon: boolean;
77
- SignDocsIcon: boolean;
78
- SmallClockIcon: boolean;
79
- SoundIcon: boolean;
80
- StrongBoxIcon: boolean;
81
- TelegramIcon: boolean;
82
- UnionPayIcon: boolean;
83
- UserSquareIcon: boolean;
84
- UserTickIcon: boolean;
85
- VisaIcon: boolean;
86
- VKIcon: boolean;
87
- WalletAdd2Icon: boolean;
88
- WalletAddIcon: boolean;
89
- WalletIcon: boolean;
90
- WalletWithMoneyIcon: boolean;
91
- WateringCanIcon: boolean;
92
- };
1
+ export declare const IconsWithoutInversion: Set<string>;
93
2
  export declare enum IconMap {
94
3
  ActualBalanceIcon = "ActualBalanceIcon",
95
4
  AirPlaneIcon = "AirPlaneIcon",
@@ -1,8 +1,8 @@
1
1
  // Generated. Do not touch
2
2
  /* eslint-disable max-len, max-lines */
3
- export const IconInverseMap = {
4
- 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
5
- };
3
+ export const IconsWithoutInversion = new Set([
4
+ 'ActualBalanceIcon', 'AirPlaneIcon', 'CardWithGemIcon', 'CarIcon', 'CinemaIcon', 'ClockIcon', 'ComfortableCompIcon', 'CreditCardsIcon', 'DocsIcon', 'DollarIcon', 'DoneIcon', 'EarthIcon', 'EuroIcon', 'GlassIcon', 'InterestGrowthIcon', 'JCBIcon', 'MapMarkerClusterIcon', 'MapMarkerSingleIcon', 'MasterCardIcon', 'MirIcon', 'MoneyInsuranceIcon', 'NewDocIcon', 'OfficeIcon', 'PackA4Icon', 'PassSendIcon', 'PowerIcon', 'PumpkinIcon', 'SignDocsIcon', 'SoundIcon', 'UnionPayIcon', 'VisaIcon', 'WateringCanIcon'
5
+ ]);
6
6
  export var IconMap;
7
7
  (function (IconMap) {
8
8
  IconMap["ActualBalanceIcon"] = "ActualBalanceIcon";
@@ -1 +1 @@
1
- {"version":3,"file":"IconName.js","sourceRoot":"","sources":["../../src/icons/IconName.ts"],"names":[],"mappings":"AACA,0BAA0B;AAC1B,uCAAuC;AAEvC,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,iBAAiB,EAAE,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,SAAS,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,kBAAkB,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,gBAAgB,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,eAAe,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,eAAe,EAAE,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE,IAAI,EAAE,mBAAmB,EAAE,KAAK,EAAE,eAAe,EAAE,KAAK,EAAE,iB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ACltF,CAAC,EAFW,YAAY,KAAZ,YAAY,QAEvB"}
@@ -3,6 +3,11 @@
3
3
  * @enumNames ["Самый большой", "Очень большой", "Большой", "Средний", "Маленький"]
4
4
  */
5
5
  export declare type HeadlineVersion = 'XXL' | 'XL' | 'L' | 'M' | 'S';
6
+ /**
7
+ * @title Размер заголовка
8
+ * @enumNames ["Самый большой тонкий", "Самый большой", "Очень большой тонкий", "Очень большой", "Большой", "Средний", "Маленький"]
9
+ */
10
+ export declare type HeadlineSmallVersion = 'XL_L' | 'XL_R' | 'L_L' | 'L_R' | 'M' | 'S' | 'XS';
6
11
  export declare type TitleProps = {
7
12
  /** @title Заголовок */
8
13
  title?: string;
@@ -19,3 +24,6 @@ export declare type HeadlineCommonProps = TitleProps & DescriptionProps;
19
24
  export declare type HeadlineProps = HeadlineCommonProps & {
20
25
  headlineVersion?: HeadlineVersion;
21
26
  };
27
+ export declare type HeadlineSmallProps = HeadlineCommonProps & {
28
+ headlineSmallVersion?: HeadlineSmallVersion;
29
+ };
@@ -35,6 +35,7 @@ export interface ImgSource {
35
35
  alignment?: ImgAlignment;
36
36
  /** @title Иконка */
37
37
  icon?: IconName;
38
+ /** @title Версия иконки */
38
39
  iconVersion?: IconVersion;
39
40
  /** @title Картинка */
40
41
  src?: string;
@@ -2,7 +2,6 @@ import '@redneckz/uni-jsx/lib/setup.react';
2
2
  import { useState } from 'react';
3
3
  import { projectSettings } from '../ProjectSettings.js';
4
4
  import wlc from '../wlc.json.js';
5
- import { IntersectionObserverTag } from './IntersectionObserverTag.js';
6
5
  const TEST_ORIGIN = 'http://localhost:5001';
7
6
  projectSettings.setup(wlc);
8
7
  const Router = () => {
@@ -27,7 +26,6 @@ export const context = {
27
26
  ev.preventDefault();
28
27
  console.log(ev.target, ev, targetContent);
29
28
  },
30
- IntersectionObserverTag,
31
29
  };
32
30
  export const mobileContext = {
33
31
  ...context,
@@ -1 +1 @@
1
- {"version":3,"file":"setup-fixture.js","sourceRoot":"","sources":["../../src/react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C;QACD,OAAO,EAAE,CAAC,GAAW,EAAE,EAAE;YACvB,UAAU,CAAC,OAAO,CAAC,YAAY,CAAC,IAAI,EAAE,EAAE,EAAE,GAAG,CAAC,CAAC;YAC/C,OAAO,CAAC,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;QACpC,CAAC;KACF,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAuB;IACzC,SAAS,EAAE,MAAM;IACjB,gBAAgB,EACd,CAAC,OAAO,EAAE,aAAa,EAAO,EAAE,CAChC,CAAC,EAAE,EAAE,EAAE;QACL,EAAE,CAAC,cAAc,EAAE,CAAC;QACpB,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,MAAM,EAAE,EAAE,EAAE,aAAa,CAAC,CAAC;IAC5C,CAAC;CACJ,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAAuB;IAC/C,GAAG,OAAO;IACV,SAAS,EAAE,GAAG,EAAE,CAAC,CAAC;QAChB,IAAI,EAAE,GAAG,WAAW,iBAAiB;QACrC,QAAQ,EAAE,iBAAiB;QAC3B,KAAK,EAAE,EAAE;QACT,IAAI,EAAE,CAAC,GAAW,EAAE,EAAE;YACpB,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;QACnB,CAAC;QACD,OAAO,EAAE,CAAC,GAAW,EAAE,EAAE;YACvB,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;QACnB,CAAC;KACF,CAAC;CACH,CAAC"}
@@ -13,7 +13,8 @@ export const BenefitItem = JSX((props) => {
13
13
  const { className = '', icon, label, description, version = 'primary', benefitsVersion = 'normal', } = props;
14
14
  const isIconWhite = benefitsVersion === 'white' || version === 'secondary';
15
15
  const listItemAlign = description ? 'items-start' : 'items-center';
16
- 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] })] }));
16
+ const iconVersion = getIconVersion(icon, isIconWhite);
17
+ 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] })] }));
17
18
  });
18
19
  function renderBenefitIconBgStyle(version, benefitsVersion) {
19
20
  let bgColorStyle = 'bg-primary-main text-black';
@@ -25,4 +26,5 @@ function renderBenefitIconBgStyle(version, benefitsVersion) {
25
26
  }
26
27
  return `w-[50px] h-[50px] min-w-[50px] rounded-full p-2.5 box-border flex items-center justify-center ${bgColorStyle}`;
27
28
  }
29
+ const getIconVersion = (icon, isIconWhite) => icon?.iconVersion || isIconWhite ? 'white' : 'normal';
28
30
  //# sourceMappingURL=BenefitItem.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"BenefitItem.js","sourceRoot":"","sources":["../../../src/ui-kit/BenefitItem/BenefitItem.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAKjC,MAAM,aAAa,GAAiC;IAClD,OAAO,EAAE,mBAAmB;IAC5B,SAAS,EAAE,YAAY;CACxB,CAAC;AACF,MAAM,YAAY,GAAiC;IACjD,OAAO,EAAE,qBAAqB;IAC9B,SAAS,EAAE,YAAY;CACxB,CAAC;AAEF,MAAM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,CAAC,IAAI,EACR,eAAK,SAAS,EAAC,SAAS,aACrB,KAAK,CAAC,CAAC,CAAC,cAAK,SAAS,EAAE,WAAW,aAAa,CAAC,OAAO,CAAC,EAAE,YAAG,KAAK,GAAO,CAAC,CAAC,CAAC,IAAI,EACjF,WAAW,CAAC,CAAC,CAAC,CACb,cAAK,SAAS,EAAE,gBAAgB,YAAY,CAAC,OAAO,CAAC,EAAE,YAAG,WAAW,GAAO,CAC7E,CAAC,CAAC,CAAC,IAAI,IACJ,IACF,CACP,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,SAAS,wBAAwB,CAAC,OAAO,EAAE,eAAe;IACxD,IAAI,YAAY,GAAG,4BAA4B,CAAC;IAEhD,IAAI,OAAO,KAAK,WAAW,EAAE;QAC3B,YAAY,GAAG,wBAAwB,CAAC;KACzC;SAAM,IAAI,eAAe,KAAK,QAAQ,EAAE;QACvC,YAAY,GAAG,sCAAsC,CAAC;KACvD;IAED,OAAO,iGAAiG,YAAY,EAAE,CAAC;AACzH,CAAC;AAED,MAAM,cAAc,GAAG,CAAC,IAAI,EAAE,WAAW,EAAE,EAAE,CAC3C,IAAI,EAAE,WAAW,IAAI,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC"}
@@ -1,8 +1,5 @@
1
- import type { ContentPageContext } from '../components/ContentPage/ContentPageContext';
2
1
  import type { UniBlockProps } from '../model/ContentPageDef';
3
2
  interface BlockWrapperProps extends UniBlockProps, Record<string, any> {
4
- context: ContentPageContext;
5
- className?: string;
6
3
  anchor?: string;
7
4
  tag?: keyof HTMLElementTagNameMap;
8
5
  }
@@ -1,27 +1,49 @@
1
1
  import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
- import { useEffect, useState } from '@redneckz/uni-jsx/lib/hooks';
3
+ import { useEffect, useMemo, useRef, useState } from '@redneckz/uni-jsx/lib/hooks';
4
4
  import { EventBus } from '../EventBus/EventBus.js';
5
5
  import { changeHashOnObserve } from '../utils/changeHashOnObserve.js';
6
- export const BlockWrapper = JSX(({ anchor, className, context, children, tag = 'section', labels }) => {
6
+ import { IntersectionObserverTag } from './IntersectionObserverTag.js';
7
+ const THRESHOLD_ACCURACY = 100; // Decimals number (100 is for two decimals number, 0.**)
8
+ const THRESHOLD_ARRAY_LENGTH = 18;
9
+ const THRESHOLD_ARRAY_START_VALUE = (THRESHOLD_ACCURACY - THRESHOLD_ARRAY_LENGTH) / THRESHOLD_ACCURACY;
10
+ export const BlockWrapper = JSX(({ anchor, className, children, tag = 'section', labels }) => {
7
11
  const Tag = tag;
8
- const { IntersectionObserverTag } = context;
9
12
  const [shouldRenderBlock, setShouldRenderBlock] = useState(true);
10
- useEffect(() => EventBus.inst.subscribe('tab', (event) => {
11
- if (event.type === 'group') {
12
- setShouldRenderBlock(!labels?.length || !event.label || labels.includes(event.label));
13
- }
14
- else {
15
- setShouldRenderBlock(true);
16
- scrollToBlock(event.label);
17
- }
18
- }), [labels]);
13
+ const anchorClickRef = useRef({});
14
+ const observerCallback = useMemo(() => changeHashOnObserve({ anchor, anchorClickRef }), [anchor]);
15
+ useEffect(() => {
16
+ const anchorClickCleanup = EventBus.inst.subscribe('anchorClick', (e) => {
17
+ anchorClickRef.current = e;
18
+ });
19
+ const tabCleanup = EventBus.inst.subscribe('tab', (event) => {
20
+ if (event.type === 'group') {
21
+ setShouldRenderBlock(!labels?.length || !event.label || labels.includes(event.label));
22
+ }
23
+ else {
24
+ changeHash(event.label);
25
+ setShouldRenderBlock(true);
26
+ }
27
+ });
28
+ return () => {
29
+ anchorClickCleanup();
30
+ tabCleanup();
31
+ };
32
+ }, []);
19
33
  if (!shouldRenderBlock) {
20
34
  return null;
21
35
  }
22
- return anchor ? (_jsx(IntersectionObserverTag, { tag: tag, className: className, observerCallback: changeHashOnObserve, observerOptions: { threshold: 1 }, anchor: anchor, children: children })) : (_jsx(Tag, { className: className, children: children }));
36
+ return anchor ? (_jsx(IntersectionObserverTag, { tag: tag, className: className, observerCallback: observerCallback, observerOptions: {
37
+ threshold: new Array(THRESHOLD_ARRAY_LENGTH).fill(0).map(getIntersectionThreshold),
38
+ }, anchor: anchor, children: children })) : (_jsx(Tag, { className: className, children: children }));
23
39
  });
24
- function scrollToBlock(label) {
25
- setTimeout(() => globalThis.document.getElementById(`#${label}`)?.scrollIntoView({ behavior: 'smooth' }));
40
+ function getIntersectionThreshold(_, i) {
41
+ const value = (i + 1) / THRESHOLD_ACCURACY + THRESHOLD_ARRAY_START_VALUE;
42
+ return Math.round(value * THRESHOLD_ACCURACY) / THRESHOLD_ACCURACY;
43
+ }
44
+ function changeHash(label) {
45
+ if (label) {
46
+ globalThis.document.location.hash = label;
47
+ }
26
48
  }
27
49
  //# sourceMappingURL=BlockWrapper.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"BlockWrapper.js","sourceRoot":"","sources":["../../src/ui-kit/BlockWrapper.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAElE,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhD,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AASnE,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAC7B,CAAC,EAAE,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,GAAG,GAAG,SAAS,EAAE,MAAM,EAAE,EAAE,EAAE;IACpE,MAAM,GAAG,GAAQ,GAAG,CAAC;IAErB,MAAM,EAAE,uBAAuB,EAAE,GAAG,OAAO,CAAC;IAC5C,MAAM,CAAC,iBAAiB,EAAE,oBAAoB,CAAC,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC;IAEjE,SAAS,CACP,GAAG,EAAE,CACH,QAAQ,CAAC,IAAI,CAAC,SAAS,CAAC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
  className?: string;
8
8
  };
9
- export declare const renderBlocksList: ({ blocks, context, className }: EmbeddableBlocksProps) => (JSX.Element | null)[] | null;
9
+ export declare const renderBlocksList: ({ blocks, context, className }: EmbeddableBlocksProps) => (JSX.Element | null)[];
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { style2className } from '../../utils/style2className.js';
3
3
  import { EmbeddableBlocks } from './EmbeddableBlocks.js';
4
- export const renderBlocksList = ({ blocks, context, className = '' }) => blocks?.length ? blocks.map(renderBlock({ context, className })) : null;
4
+ export const renderBlocksList = ({ blocks, context, className = '' }) => blocks?.length ? blocks.map(renderBlock({ context, className })) : [];
5
5
  const renderBlock = ({ context, className }) => (block, i) => {
6
6
  if (!block) {
7
7
  return null;
@@ -1 +1 @@
1
- {"version":3,"file":"renderBlocksList.js","sourceRoot":"","sources":["../../../src/ui-kit/BlocksList/renderBlocksList.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAE9D,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAQtD,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,SAAS,GAAG,EAAE,EAAyB,EAAE,EAAE,CAC7F,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,WAAW,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;AAE1E,MAAM,WAAW,GACf,CAAC,EAAE,OAAO,EAAE,SAAS,EAAiB,EAAE,EAAE,CAC1C,CAAC,KAAe,EAAE,CAAS,EAAE,EAAE;IAC7B,IAAI,CAAC,KAAK,EAAE;QACV,OAAO,IAAI,CAAC;KACb;IAED,MAAM,EAAE,KAAK,EAAE,aAAa,EAAE,IAAI,EAAE,GAAG,IAAI,EAAE,GAAG,KAAK,CA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ED,MAAM,cAAc,GAAG,eAAe,CAAC,KAAK,CAAC,CAAC;IAC9C,MAAM,aAAa,GAAa,gBAAgB,CAAC,IAAI,CAAC,CAAC;IAEvD,OAAO,CACL,KAAC,aAAa,IAEZ,SAAS,EAAE,GAAG,SAAS,IAAI,cAAc,EAAE,EAC3C,OAAO,EAAE,OAAO,KACZ,IAAI,IAHH,SAAS,CAAC,EAAE,CAIjB,CACH,CAAC;AACJ,CAAC,CAAC"}
@@ -19,7 +19,7 @@ const styleButton = 'w-full text-center font-sans select-none';
19
19
  export const Button = JSX(({ className, text, aboveText, appendLeft, href, target, onClick, children, disabled, rounded, version = 'primary', ariaLabel, ...rest }) => {
20
20
  // It isn't a valid HTML attribute. Must be excluded from "rest"
21
21
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
22
- const { asSVG, iconRight, appendRight, icon, ...buttonInnerRest } = rest;
22
+ const { appendRight, ...buttonInnerRest } = rest;
23
23
  const buttonInner = children ?? (_jsx(ButtonInner, { text: text, aboveText: aboveText, appendLeft: appendLeft, rounded: rounded, version: version }));
24
24
  if (disabled) {
25
25
  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 }));
@@ -1 +1 @@
1
- {"version":3,"file":"Button.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/Button.tsx"],"names":[],"mappings":";AAAA,2CAA2C;AAC3C,+BAA+B;AAE/B,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAG5C,MAAM,cAAc,GAAkC;IACpD,OAAO,EAAE,4EAA4E;IACrF,SAAS,EACP,oGAAoG;IACtG,KAAK,EAAE,oFAAoF;IAC3F,IAAI,EAAE,mBAAmB;CAC1B,CAAC;AAEF,MAAM,sBAAsB,GAAkC;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EAChB,OAAO,EAAE,OAAO,GAChB,CACH,CAAC;IAEF,IAAI,QAAQ,EAAE;QACZ,OAAO,CACL,cACE,IAAI,EAAC,QAAQ,mBACC,MAAM,gBACR,SAAS,EACrB,QAAQ,EAAE,CAAC,CAAC,EACZ,SAAS,EAAE,gBAAgB,WAAW,IAAI,sBAAsB,CAAC,OAAO,CAAC,IAAI,EAAE,IAC7E,OAAO,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,YAC7B,IAAI,SAAS,IAAI,EAAE,EAAE,YAEpB,WAAW,GACR,CACP,CAAC;KACH;IAED,OAAO,CACL,YACE,SAAS,EAAE,GAAG,WAAW,qFACvB,cAAc,CAAC,OAAO,CAAC,IAAI,EAC7B,IAAI,OAAO,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,YAAY,IAAI,SAAS,IAAI,EAAE,EAAE,EAChE,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,OAAO,gBACJ,SAAS,EACrB,IAAI,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,KAC3B,eAAe,YAElB,WAAW,GACV,CACL,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1,8 +1,9 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
+ import { iconStyleMap } from './buttonClassNameConstants.js';
3
4
  export const ButtonInner = JSX((props) => {
4
- const { text, aboveText, appendLeft, appendRight } = props;
5
- 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] }));
5
+ const { text, aboveText, appendLeft, appendRight, version = 'primary' } = props;
6
+ 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] }));
6
7
  });
7
8
  const getButtonStyle = (props) => {
8
9
  const { className = '', version, aboveText, rounded } = props;
@@ -1 +1 @@
1
- {"version":3,"file":"ButtonInner.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/ButtonInner.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAQxC,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAAmB,CAAC,KAAK,EAAE,EAAE;IACzD,MAAM,EAAE,IAAI,EAAE,SAAS,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,KAAK,CAAC;IAE3D,OAAO,CACL,eAAK,SAAS,EAAE,cAAc,CAAC,KAAK,CAAC,aAClC,UAAU,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,IAAI,EAC9B,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CACnB,0BACE,cAAK,SAAS,EAAC,yBAAyB,YAAE,SAAS,GAAO,EAC1D,cAAK,SAAS,EAAE,aAAa,SAAS,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,QAAQ,EAAE,YAAG,IAAI,GAAO,IAChF,CACP,CAAC,CAAC,CAAC,IAAI,EACP,WAAW,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,IAAI,IAC7B,CACP,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,cAAc,GAAG,CAAC,KAAuB,EAAE,EAAE;IACjD,MAAM,EAAE,SAAS,GAAG,EAAE,EAAE,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,GA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,SAAS,EAAE,aAAa,SAAS,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,QAAQ,EAAE,YAAG,IAAI,GAAO,IAChF,CACP,CAAC,CAAC,CAAC,IAAI,EACP,WAAW,CAAC,CAAC,CAAC,cAAK,SAAS,EAAE,YAAY,CAAC,OAAO,CAAC,YAAG,WAAW,GAAO,CAAC,CAAC,CAAC,IAAI,IAC5E,CACP,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,cAAc,GAAG,CAAC,KAAuB,EAAE,EAAE;IACjD,MAAM,EAAE,SAAS,GAAG,EAAE,EAAE,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC;IAE9D,IAAI,OAAO,KAAK,MAAM,EAAE;QACtB,OAAO,EAAE,CAAC;KACX;IAED,MAAM,aAAa,GAAG,SAAS,SAAS,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC;IAEzE,OAAO;QACL,wCAAwC;QACxC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,WAAW;QAC/C,OAAO,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE;QAC7B,SAAS;KACV,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AACd,CAAC,CAAC;AAEF,MAAM,UAAU,GAAG,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,UAAU,EAAoB,EAAE,EAAE,CACvE,OAAO,CAAC,IAAI,IAAI,SAAS,IAAI,CAAC,UAAU,CAAC,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import type { ButtonVersion } from '../../model/ButtonVersion';
2
2
  import type { LinkProps } from '../../model/LinkProps';
3
- import type { IconProps, Picture } from '../../model/Picture';
3
+ import type { IconProps } from '../../model/Picture';
4
4
  import type { VNode } from '../../model/VNode';
5
5
  /**
6
6
  * @hidden
@@ -28,18 +28,12 @@ export interface ButtonProps extends ButtonAdditionalProps, LinkProps {
28
28
  version?: ButtonVersion;
29
29
  }
30
30
  export interface ButtonWithIconProps extends ButtonProps {
31
- /** @title Иконка слева */
32
- icon?: Picture;
33
- /** @title Иконка справа */
34
- iconRight?: Picture;
35
31
  /** @title Верхний текст */
36
32
  aboveText?: string;
37
33
  /** @hidden */
38
34
  appendLeft?: VNode;
39
35
  /** @hidden */
40
36
  appendRight?: VNode;
41
- /** @hidden */
42
- asSVG?: boolean;
43
37
  }
44
38
  export interface ButtonContent {
45
39
  /**
@@ -1,19 +1,14 @@
1
1
  import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
3
  import { useLink } from '../../hooks/useLink.js';
4
- import { Img } from '../Img/Img.js';
5
4
  import { Button } from './Button.js';
6
5
  export const ButtonSection = JSX(({ context, className = '', buttons }) => {
7
6
  const { handlerDecorator } = context;
8
7
  const router = context.useRouter();
9
- return buttons && buttons?.length ? (_jsx("div", { className: className, children: buttons.map((button, index) => renderButton(useLink({ router, handlerDecorator }, button), index)) })) : null;
8
+ return buttons && buttons?.length ? (_jsx("div", { className: className, children: buttons.map((button, index) => (_jsx(ButtonSectionItem, { button: button, handlerDecorator: handlerDecorator, router: router }, String(index)))) })) : null;
9
+ });
10
+ const ButtonSectionItem = JSX(({ router, handlerDecorator, button }) => {
11
+ const buttonProps = useLink({ router, handlerDecorator }, button);
12
+ return _jsx(Button, { ...button, ...buttonProps });
10
13
  });
11
- function renderButton({ icon, iconRight, version = 'primary', ...button }, i) {
12
- if (!button?.text) {
13
- return null;
14
- }
15
- const imgStyle = version === 'primary' ? 'group-hover:text-black' : 'group-hover:text-white';
16
- const iconVersion = version === 'secondary' ? 'normal' : 'white';
17
- 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)));
18
- }
19
14
  //# sourceMappingURL=ButtonSection.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ButtonSection.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/ButtonSection.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE9C,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AACjC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAKlC,MAAM,CAAC,MAAM,aAAa,GAAG,GAAG,CAAqB,CAAC,EAAE,OAAO,EAAE,SAAS,GAAG,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE;IAC5F,MAAM,EAAE,gBAAgB,EAAE,GAAG,OAAO,CAAC;IACrC,MAAM,MAAM,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC;IAEnC,OAAO,OAAO,IAAI,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC,CAClC,cAAK,SAAS,EAAE,SAAS,YACtB,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE,CAC7B,YAAY,CAAC,OAAO,CAAC,EAAE,MAAM,EAAE,gBAAgB,EAAE,EAAE,MAAM,CAAC,EAAE,KAAK,CAAC,CACnE,GACG,CACP,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CAAC,CAAC;AAEH,SAAS,YAAY,CACnB,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,GAAG,SAAS,EAAE,GAAG,MAAM,EAAuB,EACxE,CAAS;IAET,IAAI,CAAC,MAAM,EAAE,IAAI,EAAE;QACjB,OAAO,IAAI,CAAC;KACb;IACD,MAAM,QAAQ,GAAG,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,wBAAwB,CAAC,CAAC,CAAC,wBAA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IAAI,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC,CAClC,cAAK,SAAS,EAAE,SAAS,YACtB,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE,CAAC,CAC9B,KAAC,iBAAiB,IAChB,MAAM,EAAE,MAAM,EACd,gBAAgB,EAAE,gBAAgB,EAElC,MAAM,EAAE,MAAM,IADT,MAAM,CAAC,KAAK,CAAC,CAElB,CACH,CAAC,GACE,CACP,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CAAC,CAAC;AAEH,MAAM,iBAAiB,GAAG,GAAG,CAAyB,CAAC,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,EAAE,EAAE,EAAE;IAC7F,MAAM,WAAW,GAAG,OAAO,CAAC,EAAE,MAAM,EAAE,gBAAgB,EAAE,EAAE,MAAM,CAAC,CAAC;IAElE,OAAO,KAAC,MAAM,OAAK,MAAM,KAAM,WAAW,GAAI,CAAC;AACjD,CAAC,CAAC,CAAC"}
@@ -2,3 +2,4 @@ import type { ButtonVersion } from '../../model/ButtonVersion';
2
2
  export declare const buttonStyleMap: Record<ButtonVersion, string>;
3
3
  export declare const buttonDisabledStyleMap: Record<ButtonVersion, string>;
4
4
  export declare const buttonStyle = "text-center font-sans select-none";
5
+ export declare const iconStyleMap: Record<ButtonVersion, string>;
@@ -12,4 +12,10 @@ export const buttonDisabledStyleMap = {
12
12
  link: '',
13
13
  };
14
14
  export const buttonStyle = 'text-center font-sans select-none';
15
+ export const iconStyleMap = {
16
+ primary: 'group-hover:brightness-0 group-hover:invert',
17
+ secondary: 'group-hover:brightness-0 group-hover:invert',
18
+ white: 'group-hover:brightness-0 group-hover:invert',
19
+ link: '',
20
+ };
15
21
  //# sourceMappingURL=buttonClassNameConstants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"buttonClassNameConstants.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/buttonClassNameConstants.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,cAAc,GAAkC;IAC3D,OAAO,EAAE,4EAA4E;IACrF,SAAS,EACP,oGAAoG;IACtG,KAAK,EACH,6GAA6G;IAC/G,IAAI,EAAE,EAAE;CACT,CAAC;AAEF,MAAM,aAAa,GAAG,oCAAoC,CAAC;AAE3D,MAAM,CAAC,MAAM,sBAAsB,GAAkC;IACnE,OAAO,EAAE,aAAa;IACtB,SAAS,EAAE,aAAa;IACxB,KAAK,EAAE,aAAa;IACpB,IAAI,EAAE,EAAE;CACT,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAG,mCAAmC,CAAC"}
1
+ {"version":3,"file":"buttonClassNameConstants.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/buttonClassNameConstants.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,cAAc,GAAkC;IAC3D,OAAO,EAAE,4EAA4E;IACrF,SAAS,EACP,oGAAoG;IACtG,KAAK,EACH,6GAA6G;IAC/G,IAAI,EAAE,EAAE;CACT,CAAC;AAEF,MAAM,aAAa,GAAG,oCAAoC,CAAC;AAE3D,MAAM,CAAC,MAAM,sBAAsB,GAAkC;IACnE,OAAO,EAAE,aAAa;IACtB,SAAS,EAAE,aAAa;IACxB,KAAK,EAAE,aAAa;IACpB,IAAI,EAAE,EAAE;CACT,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAG,mCAAmC,CAAC;AAE/D,MAAM,CAAC,MAAM,YAAY,GAAkC;IACzD,OAAO,EAAE,6CAA6C;IACtD,SAAS,EAAE,6CAA6C;IACxD,KAAK,EAAE,6CAA6C;IACpD,IAAI,EAAE,EAAE;CACT,CAAC"}
@@ -1,14 +1,25 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
1
+ import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
3
  import { clamp } from '../../utils/clamp.js';
4
- export const CurrencyInput = JSX(({ className = '', label, onChange, value = '', minValue = 0, maxValue = 300000, ...inputProps }) => {
5
- const handleChange = (e) => {
4
+ import { adjustValue, localNumberFormat } from './adjustValue .js';
5
+ import { useCallback } from '@redneckz/uni-jsx/lib/hooks';
6
+ import { Input } from '../Input/Input.js';
7
+ export const CurrencyInput = JSX(({ className = '', onChange, minValue = 0, maxValue = 300000, ...inputProps }) => {
8
+ const handleChange = useCallback((inputValue) => {
6
9
  if (!onChange) {
7
10
  return;
8
11
  }
9
- const newValue = e.target.value === '' ? '' : String(clamp(e.target.value, minValue, maxValue));
10
- onChange(newValue);
11
- };
12
- return (_jsxs("div", { className: className, children: [label ? _jsx("label", { className: "block text-m-light mb-2", children: label }) : null, _jsxs("div", { className: "h-[56px] relative flex items-center", children: [_jsx("input", { type: "number", className: 'text-l pl-4 pr-8 w-full h-full rounded-md border border-solid border-main-stroke hover:border-primary-hover active:border-primary-text focus:border-primary-text', onChange: handleChange, value: value, min: minValue, max: maxValue, ...inputProps }), _jsx("span", { className: "text-xl-light absolute right-4", children: "\u20BD" })] })] }));
12
+ const adjustedVal = adjustValue(inputValue);
13
+ const clampVal = getClampValue(adjustedVal, clamp(Number(adjustedVal), minValue, maxValue));
14
+ onChange(String(clampVal));
15
+ }, [onChange]);
16
+ const handleBlur = useCallback((inputValue) => {
17
+ if (!onChange) {
18
+ return;
19
+ }
20
+ onChange(localNumberFormat(inputValue));
21
+ }, [onChange]);
22
+ return (_jsx(Input, { className: className, inputClassName: "w-full", onChange: handleChange, onBlur: handleBlur, ...inputProps, children: _jsx("span", { className: "text-xl-light absolute right-4 bottom-4", children: "\u20BD" }) }));
13
23
  });
24
+ const getClampValue = (val, clampVal) => Number(val) === clampVal ? val : String(clampVal);
14
25
  //# sourceMappingURL=CurrencyInput.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CurrencyInput.js","sourceRoot":"","sources":["../../../src/ui-kit/CurrencyInput/CurrencyInput.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,E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AM,aAAa,GAAG,CAAC,GAAW,EAAE,QAAgB,EAAU,EAAE,CAC9D,MAAM,CAAC,GAAG,CAAC,KAAK,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC"}
@@ -1,10 +1,5 @@
1
- export declare type CurrencyInputProps = {
2
- className?: string;
3
- label?: string;
4
- onChange?: (value: string) => void;
5
- name?: string;
6
- value?: string;
7
- placeholder?: string;
1
+ import type { InputProps } from '../Input/InputProps';
2
+ export declare type CurrencyInputProps = InputProps & {
8
3
  minValue?: number;
9
4
  maxValue?: number;
10
5
  };
@@ -0,0 +1,3 @@
1
+ export declare const adjustValue: (val: string) => string;
2
+ export declare const localNumberFormat: (val: string) => string;
3
+ export declare const onlyOneDot: (val: string) => string;
@@ -0,0 +1,19 @@
1
+ import { getSanitizedValue } from '../../utils/getSanitizedValue.js';
2
+ export const adjustValue = (val) => onlyOneDot(setZeroStart(replaceCommaToDot(getSanitizedValue(val))));
3
+ export const localNumberFormat = (val) => new Intl.NumberFormat('ru-RU', {
4
+ minimumFractionDigits: 0,
5
+ maximumFractionDigits: 2,
6
+ })
7
+ .format(Number(getSanitizedValue(val)))
8
+ .replace(',', '.');
9
+ export const onlyOneDot = (val) => {
10
+ const matches = val.match(/\./g) || [];
11
+ return matches.length > 1 ? val.slice(0, val.lastIndexOf('.')) : val;
12
+ };
13
+ const setZeroStart = (val) => {
14
+ const isZeroStart = val.indexOf('0') === 0 && val.length === 2;
15
+ const newVal = isZeroStart ? val.replace('0', '0.') : val;
16
+ return newVal.startsWith('.') ? newVal.replace('.', '0.') : newVal;
17
+ };
18
+ const replaceCommaToDot = (val) => String(val.replace(',', '.').replace(/[^.\d]/g, ''));
19
+ //# sourceMappingURL=adjustValue%20.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"adjustValue .js","sourceRoot":"","sources":["../../../src/ui-kit/CurrencyInput/adjustValue .ts"],"names":[],"mappings":"AAAA,OAAO,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