@redneckz/wildless-cms-uni-blocks 0.3.96 → 0.4.0

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 (1214) hide show
  1. package/bundle/bundle.umd.js +3032 -2922
  2. package/bundle/bundle.umd.min.js +1 -1
  3. package/dist/components/Accordion/Accordion.d.ts +1 -1
  4. package/dist/components/Accordion/Accordion.mobile.d.ts +1 -1
  5. package/dist/components/Accordion/AccordionItem.d.ts +1 -1
  6. package/dist/components/Accordion/AccordionItem.js +0 -1
  7. package/dist/components/Accordion/AccordionItem.js.map +1 -1
  8. package/dist/components/Accordion/AccordionItem.mobile.d.ts +1 -1
  9. package/dist/components/Accordion/AccordionItem.mobile.js +1 -4
  10. package/dist/components/Accordion/AccordionItem.mobile.js.map +1 -1
  11. package/dist/components/Accordion/AccordionItemInner.d.ts +1 -1
  12. package/dist/components/Accordion/AccordionItemInner.mobile.d.ts +1 -1
  13. package/dist/components/Accordion/useActiveHandler.d.ts +1 -1
  14. package/dist/components/Accordion/useActiveHandler.js +3 -2
  15. package/dist/components/Accordion/useActiveHandler.js.map +1 -1
  16. package/dist/components/BaseTile/BaseTile.d.ts +1 -1
  17. package/dist/components/BenefitsBlock/BenefitsBlock.d.ts +1 -1
  18. package/dist/components/Blocks.d.ts +35 -35
  19. package/dist/components/Blocks.mobile.d.ts +16 -16
  20. package/dist/components/Bonus/Bonus.d.ts +1 -1
  21. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.d.ts +1 -1
  22. package/dist/components/Calculator/BonusCalculatorForm.d.ts +1 -1
  23. package/dist/components/Calculator/BonusCalculatorForm.js +4 -3
  24. package/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
  25. package/dist/components/Calculator/Calculator.d.ts +1 -1
  26. package/dist/components/Calculator/Calculator.js +4 -3
  27. package/dist/components/Calculator/Calculator.js.map +1 -1
  28. package/dist/components/Calculator/CalculatorValueBlock.d.ts +1 -1
  29. package/dist/components/Calculator/CreditCalculatorForm.d.ts +1 -1
  30. package/dist/components/Calculator/CreditCalculatorForm.js +8 -7
  31. package/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
  32. package/dist/components/Calculator/DepositCalculatorForm.d.ts +1 -1
  33. package/dist/components/Calculator/DepositCalculatorForm.js +3 -2
  34. package/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
  35. package/dist/components/Calculator/EmbeddableCalcBlocks.d.ts +4 -4
  36. package/dist/components/Calculator/MortgageCalculatorForm.d.ts +1 -1
  37. package/dist/components/Calculator/MortgageCalculatorForm.js +5 -4
  38. package/dist/components/Calculator/MortgageCalculatorForm.js.map +1 -1
  39. package/dist/components/Calculator/Rate.d.ts +1 -1
  40. package/dist/components/Calculator/renderCalculatorBlock.js +1 -1
  41. package/dist/components/Calculator/renderCalculatorBlock.js.map +1 -1
  42. package/dist/components/Calculator/useBonusCalculatorParams.d.ts +1 -2
  43. package/dist/components/Calculator/useBonusCalculatorParams.js +3 -2
  44. package/dist/components/Calculator/useBonusCalculatorParams.js.map +1 -1
  45. package/dist/components/Calculator/useCalculatorParams.d.ts +1 -2
  46. package/dist/components/Calculator/useCalculatorParams.js +3 -2
  47. package/dist/components/Calculator/useCalculatorParams.js.map +1 -1
  48. package/dist/components/Calculator/useCreditCalculatorParams.d.ts +1 -2
  49. package/dist/components/Calculator/useCreditCalculatorParams.js +2 -2
  50. package/dist/components/Calculator/useCreditCalculatorParams.js.map +1 -1
  51. package/dist/components/Catalog/Catalog.d.ts +1 -1
  52. package/dist/components/Catalog/Catalog.js +3 -2
  53. package/dist/components/Catalog/Catalog.js.map +1 -1
  54. package/dist/components/Catalog/CatalogCard.d.ts +1 -1
  55. package/dist/components/ComparisonTable/ComparisonTable.d.ts +1 -1
  56. package/dist/components/ComparisonTable/ComparisonTable.js +2 -1
  57. package/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
  58. package/dist/components/ComparisonTable/ComparisonTable.mobile.d.ts +1 -1
  59. package/dist/components/ComparisonTable/ComparisonTable.mobile.js +2 -1
  60. package/dist/components/ComparisonTable/ComparisonTable.mobile.js.map +1 -1
  61. package/dist/components/ComparisonTable/ComparisonTableBody.d.ts +1 -1
  62. package/dist/components/ComparisonTable/ComparisonTableBody.js +3 -2
  63. package/dist/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
  64. package/dist/components/ComparisonTable/ComparisonTableColumnHeaders.d.ts +1 -1
  65. package/dist/components/ComparisonTable/ComparisonTableRows.d.ts +1 -1
  66. package/dist/components/ComparisonTable/HeaderCell.d.ts +1 -1
  67. package/dist/components/ComparisonTable/HeaderCell.mobile.d.ts +1 -1
  68. package/dist/components/ComparisonTable/TableCarouselContainer.d.ts +1 -1
  69. package/dist/components/ComparisonTable/TableCell.d.ts +1 -1
  70. package/dist/components/ComparisonTable/TableCell.mobile.d.ts +1 -1
  71. package/dist/components/ComparisonTable/TableColumn.d.ts +1 -1
  72. package/dist/components/ComparisonTable/TableRow.d.ts +1 -1
  73. package/dist/components/ComparisonTable/TableRowContainer.d.ts +1 -4
  74. package/dist/components/ContentPage/ContentPage.d.ts +3 -3
  75. package/dist/components/ContentPage/ContentPage.js.map +1 -1
  76. package/dist/components/ContentPage/ContentPageContext.d.ts +1 -19
  77. package/dist/components/ContentPage/ContentPageHead.d.ts +1 -1
  78. package/dist/components/ExchangeRateTile/CurrencyTable.d.ts +1 -1
  79. package/dist/components/ExchangeRateTile/CurrentLocation.d.ts +1 -1
  80. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +1 -1
  81. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +2 -1
  82. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  83. package/dist/components/ExchangeRateTile/ExchangeRateTile.d.ts +1 -1
  84. package/dist/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
  85. package/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  86. package/dist/components/Footer/Contacts.d.ts +1 -1
  87. package/dist/components/Footer/Footer.d.ts +1 -1
  88. package/dist/components/Footer/Footer.mobile.d.ts +1 -1
  89. package/dist/components/Footer/Footer.mobile.js +1 -1
  90. package/dist/components/Footer/Footer.mobile.js.map +1 -1
  91. package/dist/components/Footer/HorizontalNavigation.d.ts +1 -1
  92. package/dist/components/Footer/HorizontalNavigation.mobile.d.ts +1 -1
  93. package/dist/components/Footer/HorizontalNavigationLink.d.ts +1 -1
  94. package/dist/components/Footer/MediaButton.d.ts +1 -1
  95. package/dist/components/Footer/Sitemap.d.ts +1 -1
  96. package/dist/components/Footer/Sitemap.js +2 -2
  97. package/dist/components/Footer/Sitemap.js.map +1 -1
  98. package/dist/components/Footer/SocialMedia.d.ts +1 -1
  99. package/dist/components/Footer/SocialMedia.mobile.d.ts +1 -1
  100. package/dist/components/Footer/TextInformation.d.ts +1 -1
  101. package/dist/components/Footer/TextInformation.mobile.d.ts +1 -1
  102. package/dist/components/Footer/TextInformationLink.d.ts +1 -1
  103. package/dist/components/Gallery/Gallery.d.ts +1 -1
  104. package/dist/components/Gallery/Gallery.mobile.d.ts +1 -1
  105. package/dist/components/Gallery/GalleryCardInner.d.ts +1 -1
  106. package/dist/components/Gallery/GalleryContainer.d.ts +1 -1
  107. package/dist/components/Gallery/GalleryInner.d.ts +1 -1
  108. package/dist/components/Gallery/GalleryInner.js +2 -1
  109. package/dist/components/Gallery/GalleryInner.js.map +1 -1
  110. package/dist/components/GracePeriod/GracePeriod.d.ts +1 -1
  111. package/dist/components/GroupBlock/EmbeddableGroupBlocks.d.ts +2 -2
  112. package/dist/components/GroupBlock/GroupBlock.d.ts +1 -1
  113. package/dist/components/GroupBlock/GroupBlock.js +2 -1
  114. package/dist/components/GroupBlock/GroupBlock.js.map +1 -1
  115. package/dist/components/GroupBlock/GroupBlockTabs.d.ts +1 -1
  116. package/dist/components/GroupBlock/GroupBlocksItem.d.ts +1 -1
  117. package/dist/components/Header/DropdownMenu.d.ts +1 -1
  118. package/dist/components/Header/Header.d.ts +1 -1
  119. package/dist/components/Header/Header.js +2 -2
  120. package/dist/components/Header/Header.js.map +1 -1
  121. package/dist/components/Header/Header.mobile.d.ts +1 -1
  122. package/dist/components/Header/Header.mobile.js +3 -2
  123. package/dist/components/Header/Header.mobile.js.map +1 -1
  124. package/dist/components/Header/HeaderBurger.d.ts +1 -1
  125. package/dist/components/Header/HeaderBurger.js +2 -1
  126. package/dist/components/Header/HeaderBurger.js.map +1 -1
  127. package/dist/components/Header/HeaderSecondaryMenu.d.ts +3 -3
  128. package/dist/components/Header/HeaderSecondaryMenu.js +3 -2
  129. package/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  130. package/dist/components/Header/HeaderSecondaryMenuButton.d.ts +1 -1
  131. package/dist/components/Header/HeaderSubMenu.d.ts +1 -1
  132. package/dist/components/Header/HeaderSubMenu.js +3 -2
  133. package/dist/components/Header/HeaderSubMenu.js.map +1 -1
  134. package/dist/components/Header/HeaderTop.d.ts +1 -1
  135. package/dist/components/Headline/Headline.d.ts +1 -1
  136. package/dist/components/Headline/Headline.mobile.d.ts +1 -1
  137. package/dist/components/Insurance/Insurance.d.ts +1 -1
  138. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +1 -1
  139. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +2 -1
  140. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  141. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +1 -1
  142. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +4 -3
  143. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  144. package/dist/components/LikeControl/LikeControl.d.ts +1 -1
  145. package/dist/components/LikeControl/LikeControl.js +6 -2
  146. package/dist/components/LikeControl/LikeControl.js.map +1 -1
  147. package/dist/components/LinkDocs/LinkDocs.d.ts +1 -1
  148. package/dist/components/LinkDocs/LinkDocs.mobile.d.ts +1 -1
  149. package/dist/components/LinkDocs/LinkDocsHorizontalList.d.ts +1 -1
  150. package/dist/components/LinkDocs/LinkDocsList.d.ts +1 -1
  151. package/dist/components/LinkDocs/LinkDocsListItem.d.ts +1 -1
  152. package/dist/components/LinkDocs/LinkDocsListItem.mobile.d.ts +1 -1
  153. package/dist/components/LinkDocs/LinkDocsListItemBase.d.ts +1 -1
  154. package/dist/components/LinkDocs/LinkDocsVerticalList.d.ts +1 -1
  155. package/dist/components/LinkList/LinkList.d.ts +1 -1
  156. package/dist/components/MiniGallery/MiniGallery.d.ts +1 -1
  157. package/dist/components/MobileAppTile/MobileAppTile.d.ts +1 -1
  158. package/dist/components/MobileAppTile/MobileAppTile.mobile.d.ts +1 -1
  159. package/dist/components/Navigation/Navigation.d.ts +1 -1
  160. package/dist/components/Navigation/NavigationItem.d.ts +2 -2
  161. package/dist/components/NavigatorTabs/NavigatorTabItem.d.ts +1 -1
  162. package/dist/components/NavigatorTabs/NavigatorTabs.d.ts +1 -1
  163. package/dist/components/OtherProducts/OtherProducts.d.ts +1 -1
  164. package/dist/components/OtherProducts/OtherProductsItem.d.ts +1 -1
  165. package/dist/components/PictureText/PictureText.d.ts +1 -1
  166. package/dist/components/Placeholder/Placeholder.d.ts +1 -1
  167. package/dist/components/ProductBlock/ProductBlock.d.ts +1 -1
  168. package/dist/components/ProductBlock/ProductBlock.mobile.d.ts +1 -1
  169. package/dist/components/ProductBlock/ProductBlockInner.d.ts +1 -1
  170. package/dist/components/ProductBlock/ProductBlockInner.mobile.d.ts +1 -1
  171. package/dist/components/ProductGallery/ProductGallery.d.ts +1 -1
  172. package/dist/components/ProductGallery/ProductGallery.js +2 -1
  173. package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  174. package/dist/components/ProductGallery/ProductGallery.mobile.d.ts +1 -1
  175. package/dist/components/ProductGallery/ProductGalleryBlock.d.ts +1 -1
  176. package/dist/components/ProductTile/ProductTile.d.ts +1 -1
  177. package/dist/components/PromoTile/PromoTile.d.ts +1 -1
  178. package/dist/components/Recommendation/Recommendation.d.ts +1 -1
  179. package/dist/components/Recommendation/Recommendation.js +2 -1
  180. package/dist/components/Recommendation/Recommendation.js.map +1 -1
  181. package/dist/components/Recommendation/RecommendationCard.d.ts +1 -1
  182. package/dist/components/SafeDepositRental/SafeDepositRental.d.ts +1 -1
  183. package/dist/components/SafeDepositRental/SafeDepositRental.js +3 -2
  184. package/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  185. package/dist/components/SafeDepositRental/SafeDepositRentalForm.d.ts +1 -8
  186. package/dist/components/SafeDepositRental/SafeDepositRentalForm.js +17 -16
  187. package/dist/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
  188. package/dist/components/StepsBlock/StepsBlock.d.ts +1 -1
  189. package/dist/components/StepsBlock/StepsBlock.mobile.d.ts +1 -1
  190. package/dist/components/Tabs/Tabs.d.ts +1 -1
  191. package/dist/components/Tabs/Tabs.js +3 -2
  192. package/dist/components/Tabs/Tabs.js.map +1 -1
  193. package/dist/components/TariffsTable/TableTileHeader.d.ts +1 -1
  194. package/dist/components/TariffsTable/TariffsTable.d.ts +1 -1
  195. package/dist/components/TariffsTable/TariffsTable.js +2 -1
  196. package/dist/components/TariffsTable/TariffsTable.js.map +1 -1
  197. package/dist/components/TariffsTable/TariffsTable.mobile.d.ts +1 -1
  198. package/dist/components/TariffsTable/TariffsTableCell.d.ts +1 -1
  199. package/dist/components/TariffsTable/TariffsTableHorizontal.d.ts +2 -2
  200. package/dist/components/TariffsTable/TariffsTableRow.d.ts +1 -1
  201. package/dist/components/TariffsTable/TariffsTableTileCell.d.ts +1 -1
  202. package/dist/components/TariffsTable/TariffsTableVertical.d.ts +2 -2
  203. package/dist/components/TextBlock/TextBlock.d.ts +1 -1
  204. package/dist/components/TextBlock/TextBlock.mobile.d.ts +1 -1
  205. package/dist/components/Tile/Tile.d.ts +1 -1
  206. package/dist/hooks/useExchangeRates.d.ts +1 -2
  207. package/dist/hooks/useExchangeRates.js +3 -2
  208. package/dist/hooks/useExchangeRates.js.map +1 -1
  209. package/dist/hooks/useGeolocation.d.ts +1 -0
  210. package/dist/hooks/useGeolocation.js +21 -0
  211. package/dist/hooks/useGeolocation.js.map +1 -0
  212. package/dist/hooks/useLikeService.d.ts +5 -0
  213. package/dist/hooks/useLikeService.js +29 -0
  214. package/dist/hooks/useLikeService.js.map +1 -0
  215. package/dist/hooks/useLink.d.ts +1 -0
  216. package/dist/hooks/useLink.js +3 -2
  217. package/dist/hooks/useLink.js.map +1 -1
  218. package/dist/hooks/useSafeDepositRental.d.ts +1 -2
  219. package/dist/hooks/useSafeDepositRental.js +3 -2
  220. package/dist/hooks/useSafeDepositRental.js.map +1 -1
  221. package/dist/hooks/useSearch.d.ts +4 -0
  222. package/dist/hooks/useSearch.js +12 -0
  223. package/dist/hooks/useSearch.js.map +1 -0
  224. package/dist/index.d.ts +2 -1
  225. package/dist/index.js +5 -3
  226. package/dist/index.js.map +1 -1
  227. package/dist/react/setup-fixture.d.ts +1 -0
  228. package/dist/react/setup-fixture.js +1 -48
  229. package/dist/react/setup-fixture.js.map +1 -1
  230. package/dist/services/sitemap/useSitemap.d.ts +1 -2
  231. package/dist/services/sitemap/useSitemap.js +3 -2
  232. package/dist/services/sitemap/useSitemap.js.map +1 -1
  233. package/dist/ui-kit/BlockWrapper.d.ts +1 -1
  234. package/dist/ui-kit/BlockWrapper.js +3 -2
  235. package/dist/ui-kit/BlockWrapper.js.map +1 -1
  236. package/dist/ui-kit/BlocksList/BlocksListProps.d.ts +0 -2
  237. package/dist/ui-kit/BlocksList/EmbeddableBlocks.d.ts +10 -10
  238. package/dist/ui-kit/BlocksList/EmbeddableBlocks.mobile.d.ts +6 -6
  239. package/dist/ui-kit/Breadcrumb.d.ts +1 -1
  240. package/dist/ui-kit/Button/ArrowButton.d.ts +1 -1
  241. package/dist/ui-kit/Button/Button.d.ts +1 -1
  242. package/dist/ui-kit/Button/Button.mobile.d.ts +1 -1
  243. package/dist/ui-kit/Button/ButtonInner.d.ts +1 -1
  244. package/dist/ui-kit/Button/ButtonSection.d.ts +1 -1
  245. package/dist/ui-kit/Button/LikeButton.d.ts +1 -1
  246. package/dist/ui-kit/Checkbox/Checkbox.d.ts +1 -1
  247. package/dist/ui-kit/Checkbox/Checkbox.js +5 -3
  248. package/dist/ui-kit/Checkbox/Checkbox.js.map +1 -1
  249. package/dist/ui-kit/Description/Description.d.ts +1 -1
  250. package/dist/ui-kit/Foldable/Foldable.d.ts +1 -1
  251. package/dist/ui-kit/Foldable/Foldable.js +1 -2
  252. package/dist/ui-kit/Foldable/Foldable.js.map +1 -1
  253. package/dist/ui-kit/Foldable/useActiveHandler.d.ts +1 -3
  254. package/dist/ui-kit/Foldable/useActiveHandler.js +3 -2
  255. package/dist/ui-kit/Foldable/useActiveHandler.js.map +1 -1
  256. package/dist/ui-kit/HeaderItem/HeaderItem.d.ts +1 -1
  257. package/dist/ui-kit/HeaderItem/HeaderItem.mobile.d.ts +1 -1
  258. package/dist/ui-kit/Heading/Heading.d.ts +1 -1
  259. package/dist/ui-kit/Heading/Heading.mobile.d.ts +1 -1
  260. package/dist/ui-kit/Icon/Icon.d.ts +1 -1
  261. package/dist/ui-kit/Img/Img.d.ts +1 -1
  262. package/dist/ui-kit/Img/Img.mobile.d.ts +1 -1
  263. package/dist/ui-kit/Img/ImgAsPicture.d.ts +1 -1
  264. package/dist/ui-kit/Img/ImgInner.d.ts +1 -1
  265. package/dist/ui-kit/Input/Input.d.ts +1 -1
  266. package/dist/ui-kit/InputRange/InputRange.d.ts +1 -1
  267. package/dist/ui-kit/InputRange/InputRange.js +4 -3
  268. package/dist/ui-kit/InputRange/InputRange.js.map +1 -1
  269. package/dist/ui-kit/InputRange/InputRangeProps.d.ts +1 -0
  270. package/dist/ui-kit/List/List.d.ts +1 -1
  271. package/dist/ui-kit/List/ListItem.d.ts +1 -1
  272. package/dist/ui-kit/Logo/Logo.d.ts +1 -1
  273. package/dist/ui-kit/Logo/Logo.mobile.d.ts +1 -1
  274. package/dist/ui-kit/Radio/Radio.d.ts +1 -1
  275. package/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +1 -1
  276. package/dist/ui-kit/SVG.d.ts +1 -1
  277. package/dist/ui-kit/SearchBar/SearchBar.d.ts +1 -1
  278. package/dist/ui-kit/SearchBar/SearchBar.js +2 -2
  279. package/dist/ui-kit/SearchBar/SearchBar.js.map +1 -1
  280. package/dist/ui-kit/SearchBar/SearchBar.mobile.d.ts +1 -1
  281. package/dist/ui-kit/SearchBar/SearchBar.mobile.js +2 -2
  282. package/dist/ui-kit/SearchBar/SearchBar.mobile.js.map +1 -1
  283. package/dist/ui-kit/SearchBar/SearchBarInner.d.ts +3 -3
  284. package/dist/ui-kit/SearchBar/SearchBarInner.js +3 -2
  285. package/dist/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
  286. package/dist/ui-kit/Select/Select.d.ts +1 -1
  287. package/dist/ui-kit/Select/SelectOption.d.ts +1 -1
  288. package/dist/ui-kit/SwipeListControl/SwipeListControl.d.ts +1 -1
  289. package/dist/ui-kit/SwipeListControl/SwipeListControl.js +4 -3
  290. package/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  291. package/dist/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +1 -1
  292. package/dist/ui-kit/SwipeListControl/SwipeListControlItem.d.ts +1 -1
  293. package/dist/ui-kit/SwipeListControl/SwipeListControlList.d.ts +1 -1
  294. package/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControl.d.ts +1 -1
  295. package/dist/ui-kit/Tabs/Tabs.d.ts +1 -1
  296. package/dist/ui-kit/TopItem/TopItem.d.ts +1 -1
  297. package/lib/common.css +1 -1
  298. package/lib/components/Accordion/Accordion.d.ts +1 -1
  299. package/lib/components/Accordion/Accordion.mobile.d.ts +1 -1
  300. package/lib/components/Accordion/AccordionItem.d.ts +1 -1
  301. package/lib/components/Accordion/AccordionItem.js +0 -1
  302. package/lib/components/Accordion/AccordionItem.js.map +1 -1
  303. package/lib/components/Accordion/AccordionItem.mobile.d.ts +1 -1
  304. package/lib/components/Accordion/AccordionItem.mobile.js +1 -4
  305. package/lib/components/Accordion/AccordionItem.mobile.js.map +1 -1
  306. package/lib/components/Accordion/AccordionItemInner.d.ts +1 -1
  307. package/lib/components/Accordion/AccordionItemInner.mobile.d.ts +1 -1
  308. package/lib/components/Accordion/useActiveHandler.d.ts +1 -1
  309. package/lib/components/Accordion/useActiveHandler.js +3 -2
  310. package/lib/components/Accordion/useActiveHandler.js.map +1 -1
  311. package/lib/components/BaseTile/BaseTile.d.ts +1 -1
  312. package/lib/components/BenefitsBlock/BenefitsBlock.d.ts +1 -1
  313. package/lib/components/Blocks.d.ts +35 -35
  314. package/lib/components/Blocks.mobile.d.ts +16 -16
  315. package/lib/components/Bonus/Bonus.d.ts +1 -1
  316. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.d.ts +1 -1
  317. package/lib/components/Calculator/BonusCalculatorForm.d.ts +1 -1
  318. package/lib/components/Calculator/BonusCalculatorForm.js +4 -3
  319. package/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
  320. package/lib/components/Calculator/Calculator.d.ts +1 -1
  321. package/lib/components/Calculator/Calculator.js +4 -3
  322. package/lib/components/Calculator/Calculator.js.map +1 -1
  323. package/lib/components/Calculator/CalculatorValueBlock.d.ts +1 -1
  324. package/lib/components/Calculator/CreditCalculatorForm.d.ts +1 -1
  325. package/lib/components/Calculator/CreditCalculatorForm.js +8 -7
  326. package/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
  327. package/lib/components/Calculator/DepositCalculatorForm.d.ts +1 -1
  328. package/lib/components/Calculator/DepositCalculatorForm.js +3 -2
  329. package/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
  330. package/lib/components/Calculator/EmbeddableCalcBlocks.d.ts +4 -4
  331. package/lib/components/Calculator/MortgageCalculatorForm.d.ts +1 -1
  332. package/lib/components/Calculator/MortgageCalculatorForm.js +5 -4
  333. package/lib/components/Calculator/MortgageCalculatorForm.js.map +1 -1
  334. package/lib/components/Calculator/Rate.d.ts +1 -1
  335. package/lib/components/Calculator/renderCalculatorBlock.js +1 -1
  336. package/lib/components/Calculator/renderCalculatorBlock.js.map +1 -1
  337. package/lib/components/Calculator/useBonusCalculatorParams.d.ts +1 -2
  338. package/lib/components/Calculator/useBonusCalculatorParams.js +3 -2
  339. package/lib/components/Calculator/useBonusCalculatorParams.js.map +1 -1
  340. package/lib/components/Calculator/useCalculatorParams.d.ts +1 -2
  341. package/lib/components/Calculator/useCalculatorParams.js +2 -1
  342. package/lib/components/Calculator/useCalculatorParams.js.map +1 -1
  343. package/lib/components/Calculator/useCreditCalculatorParams.d.ts +1 -2
  344. package/lib/components/Calculator/useCreditCalculatorParams.js +2 -2
  345. package/lib/components/Calculator/useCreditCalculatorParams.js.map +1 -1
  346. package/lib/components/Catalog/Catalog.d.ts +1 -1
  347. package/lib/components/Catalog/Catalog.js +3 -2
  348. package/lib/components/Catalog/Catalog.js.map +1 -1
  349. package/lib/components/Catalog/CatalogCard.d.ts +1 -1
  350. package/lib/components/ComparisonTable/ComparisonTable.d.ts +1 -1
  351. package/lib/components/ComparisonTable/ComparisonTable.js +2 -1
  352. package/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
  353. package/lib/components/ComparisonTable/ComparisonTable.mobile.d.ts +1 -1
  354. package/lib/components/ComparisonTable/ComparisonTable.mobile.js +2 -1
  355. package/lib/components/ComparisonTable/ComparisonTable.mobile.js.map +1 -1
  356. package/lib/components/ComparisonTable/ComparisonTableBody.d.ts +1 -1
  357. package/lib/components/ComparisonTable/ComparisonTableBody.js +3 -2
  358. package/lib/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
  359. package/lib/components/ComparisonTable/ComparisonTableColumnHeaders.d.ts +1 -1
  360. package/lib/components/ComparisonTable/ComparisonTableRows.d.ts +1 -1
  361. package/lib/components/ComparisonTable/HeaderCell.d.ts +1 -1
  362. package/lib/components/ComparisonTable/HeaderCell.mobile.d.ts +1 -1
  363. package/lib/components/ComparisonTable/TableCarouselContainer.d.ts +1 -1
  364. package/lib/components/ComparisonTable/TableCell.d.ts +1 -1
  365. package/lib/components/ComparisonTable/TableCell.mobile.d.ts +1 -1
  366. package/lib/components/ComparisonTable/TableColumn.d.ts +1 -1
  367. package/lib/components/ComparisonTable/TableRow.d.ts +1 -1
  368. package/lib/components/ComparisonTable/TableRowContainer.d.ts +1 -4
  369. package/lib/components/ContentPage/ContentPage.d.ts +3 -3
  370. package/lib/components/ContentPage/ContentPage.js.map +1 -1
  371. package/lib/components/ContentPage/ContentPageContext.d.ts +1 -19
  372. package/lib/components/ContentPage/ContentPageHead.d.ts +1 -1
  373. package/lib/components/ExchangeRateTile/CurrencyTable.d.ts +1 -1
  374. package/lib/components/ExchangeRateTile/CurrentLocation.d.ts +1 -1
  375. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +1 -1
  376. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +2 -1
  377. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  378. package/lib/components/ExchangeRateTile/ExchangeRateTile.d.ts +1 -1
  379. package/lib/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
  380. package/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  381. package/lib/components/Footer/Contacts.d.ts +1 -1
  382. package/lib/components/Footer/Footer.d.ts +1 -1
  383. package/lib/components/Footer/Footer.mobile.d.ts +1 -1
  384. package/lib/components/Footer/Footer.mobile.js +1 -1
  385. package/lib/components/Footer/Footer.mobile.js.map +1 -1
  386. package/lib/components/Footer/HorizontalNavigation.d.ts +1 -1
  387. package/lib/components/Footer/HorizontalNavigation.mobile.d.ts +1 -1
  388. package/lib/components/Footer/HorizontalNavigationLink.d.ts +1 -1
  389. package/lib/components/Footer/MediaButton.d.ts +1 -1
  390. package/lib/components/Footer/Sitemap.d.ts +1 -1
  391. package/lib/components/Footer/Sitemap.js +2 -2
  392. package/lib/components/Footer/Sitemap.js.map +1 -1
  393. package/lib/components/Footer/SocialMedia.d.ts +1 -1
  394. package/lib/components/Footer/SocialMedia.mobile.d.ts +1 -1
  395. package/lib/components/Footer/TextInformation.d.ts +1 -1
  396. package/lib/components/Footer/TextInformation.mobile.d.ts +1 -1
  397. package/lib/components/Footer/TextInformationLink.d.ts +1 -1
  398. package/lib/components/Gallery/Gallery.d.ts +1 -1
  399. package/lib/components/Gallery/Gallery.mobile.d.ts +1 -1
  400. package/lib/components/Gallery/GalleryCardInner.d.ts +1 -1
  401. package/lib/components/Gallery/GalleryContainer.d.ts +1 -1
  402. package/lib/components/Gallery/GalleryInner.d.ts +1 -1
  403. package/lib/components/Gallery/GalleryInner.js +2 -1
  404. package/lib/components/Gallery/GalleryInner.js.map +1 -1
  405. package/lib/components/GracePeriod/GracePeriod.d.ts +1 -1
  406. package/lib/components/GroupBlock/EmbeddableGroupBlocks.d.ts +2 -2
  407. package/lib/components/GroupBlock/GroupBlock.d.ts +1 -1
  408. package/lib/components/GroupBlock/GroupBlock.js +2 -1
  409. package/lib/components/GroupBlock/GroupBlock.js.map +1 -1
  410. package/lib/components/GroupBlock/GroupBlockTabs.d.ts +1 -1
  411. package/lib/components/GroupBlock/GroupBlocksItem.d.ts +1 -1
  412. package/lib/components/Header/DropdownMenu.d.ts +1 -1
  413. package/lib/components/Header/Header.d.ts +1 -1
  414. package/lib/components/Header/Header.js +2 -2
  415. package/lib/components/Header/Header.js.map +1 -1
  416. package/lib/components/Header/Header.mobile.d.ts +1 -1
  417. package/lib/components/Header/Header.mobile.js +3 -2
  418. package/lib/components/Header/Header.mobile.js.map +1 -1
  419. package/lib/components/Header/HeaderBurger.d.ts +1 -1
  420. package/lib/components/Header/HeaderBurger.js +2 -1
  421. package/lib/components/Header/HeaderBurger.js.map +1 -1
  422. package/lib/components/Header/HeaderSecondaryMenu.d.ts +3 -3
  423. package/lib/components/Header/HeaderSecondaryMenu.js +3 -2
  424. package/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  425. package/lib/components/Header/HeaderSecondaryMenuButton.d.ts +1 -1
  426. package/lib/components/Header/HeaderSubMenu.d.ts +1 -1
  427. package/lib/components/Header/HeaderSubMenu.js +3 -2
  428. package/lib/components/Header/HeaderSubMenu.js.map +1 -1
  429. package/lib/components/Header/HeaderTop.d.ts +1 -1
  430. package/lib/components/Headline/Headline.d.ts +1 -1
  431. package/lib/components/Headline/Headline.mobile.d.ts +1 -1
  432. package/lib/components/Insurance/Insurance.d.ts +1 -1
  433. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +1 -1
  434. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +2 -1
  435. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  436. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +1 -1
  437. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +4 -3
  438. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  439. package/lib/components/LikeControl/LikeControl.d.ts +1 -1
  440. package/lib/components/LikeControl/LikeControl.js +6 -2
  441. package/lib/components/LikeControl/LikeControl.js.map +1 -1
  442. package/lib/components/LinkDocs/LinkDocs.d.ts +1 -1
  443. package/lib/components/LinkDocs/LinkDocs.mobile.d.ts +1 -1
  444. package/lib/components/LinkDocs/LinkDocsHorizontalList.d.ts +1 -1
  445. package/lib/components/LinkDocs/LinkDocsList.d.ts +1 -1
  446. package/lib/components/LinkDocs/LinkDocsListItem.d.ts +1 -1
  447. package/lib/components/LinkDocs/LinkDocsListItem.mobile.d.ts +1 -1
  448. package/lib/components/LinkDocs/LinkDocsListItemBase.d.ts +1 -1
  449. package/lib/components/LinkDocs/LinkDocsVerticalList.d.ts +1 -1
  450. package/lib/components/LinkList/LinkList.d.ts +1 -1
  451. package/lib/components/MiniGallery/MiniGallery.d.ts +1 -1
  452. package/lib/components/MobileAppTile/MobileAppTile.d.ts +1 -1
  453. package/lib/components/MobileAppTile/MobileAppTile.mobile.d.ts +1 -1
  454. package/lib/components/Navigation/Navigation.d.ts +1 -1
  455. package/lib/components/Navigation/NavigationItem.d.ts +2 -2
  456. package/lib/components/NavigatorTabs/NavigatorTabItem.d.ts +1 -1
  457. package/lib/components/NavigatorTabs/NavigatorTabs.d.ts +1 -1
  458. package/lib/components/OtherProducts/OtherProducts.d.ts +1 -1
  459. package/lib/components/OtherProducts/OtherProductsItem.d.ts +1 -1
  460. package/lib/components/PictureText/PictureText.d.ts +1 -1
  461. package/lib/components/Placeholder/Placeholder.d.ts +1 -1
  462. package/lib/components/ProductBlock/ProductBlock.d.ts +1 -1
  463. package/lib/components/ProductBlock/ProductBlock.mobile.d.ts +1 -1
  464. package/lib/components/ProductBlock/ProductBlockInner.d.ts +1 -1
  465. package/lib/components/ProductBlock/ProductBlockInner.mobile.d.ts +1 -1
  466. package/lib/components/ProductGallery/ProductGallery.d.ts +1 -1
  467. package/lib/components/ProductGallery/ProductGallery.js +2 -1
  468. package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  469. package/lib/components/ProductGallery/ProductGallery.mobile.d.ts +1 -1
  470. package/lib/components/ProductGallery/ProductGalleryBlock.d.ts +1 -1
  471. package/lib/components/ProductTile/ProductTile.d.ts +1 -1
  472. package/lib/components/PromoTile/PromoTile.d.ts +1 -1
  473. package/lib/components/Recommendation/Recommendation.d.ts +1 -1
  474. package/lib/components/Recommendation/Recommendation.js +2 -1
  475. package/lib/components/Recommendation/Recommendation.js.map +1 -1
  476. package/lib/components/Recommendation/RecommendationCard.d.ts +1 -1
  477. package/lib/components/SafeDepositRental/SafeDepositRental.d.ts +1 -1
  478. package/lib/components/SafeDepositRental/SafeDepositRental.js +3 -2
  479. package/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  480. package/lib/components/SafeDepositRental/SafeDepositRentalForm.d.ts +1 -8
  481. package/lib/components/SafeDepositRental/SafeDepositRentalForm.js +17 -15
  482. package/lib/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
  483. package/lib/components/StepsBlock/StepsBlock.d.ts +1 -1
  484. package/lib/components/StepsBlock/StepsBlock.mobile.d.ts +1 -1
  485. package/lib/components/Tabs/Tabs.d.ts +1 -1
  486. package/lib/components/Tabs/Tabs.js +3 -2
  487. package/lib/components/Tabs/Tabs.js.map +1 -1
  488. package/lib/components/TariffsTable/TableTileHeader.d.ts +1 -1
  489. package/lib/components/TariffsTable/TariffsTable.d.ts +1 -1
  490. package/lib/components/TariffsTable/TariffsTable.js +2 -1
  491. package/lib/components/TariffsTable/TariffsTable.js.map +1 -1
  492. package/lib/components/TariffsTable/TariffsTable.mobile.d.ts +1 -1
  493. package/lib/components/TariffsTable/TariffsTableCell.d.ts +1 -1
  494. package/lib/components/TariffsTable/TariffsTableHorizontal.d.ts +2 -2
  495. package/lib/components/TariffsTable/TariffsTableRow.d.ts +1 -1
  496. package/lib/components/TariffsTable/TariffsTableTileCell.d.ts +1 -1
  497. package/lib/components/TariffsTable/TariffsTableVertical.d.ts +2 -2
  498. package/lib/components/TextBlock/TextBlock.d.ts +1 -1
  499. package/lib/components/TextBlock/TextBlock.mobile.d.ts +1 -1
  500. package/lib/components/Tile/Tile.d.ts +1 -1
  501. package/lib/hooks/useExchangeRates.d.ts +1 -2
  502. package/lib/hooks/useExchangeRates.js +2 -1
  503. package/lib/hooks/useExchangeRates.js.map +1 -1
  504. package/lib/hooks/useGeolocation.d.ts +1 -0
  505. package/lib/hooks/useGeolocation.js +18 -0
  506. package/lib/hooks/useGeolocation.js.map +1 -0
  507. package/lib/hooks/useLikeService.d.ts +5 -0
  508. package/lib/hooks/useLikeService.js +26 -0
  509. package/lib/hooks/useLikeService.js.map +1 -0
  510. package/lib/hooks/useLink.d.ts +1 -0
  511. package/lib/hooks/useLink.js +1 -1
  512. package/lib/hooks/useLink.js.map +1 -1
  513. package/lib/hooks/useSafeDepositRental.d.ts +1 -2
  514. package/lib/hooks/useSafeDepositRental.js +2 -1
  515. package/lib/hooks/useSafeDepositRental.js.map +1 -1
  516. package/lib/hooks/useSearch.d.ts +4 -0
  517. package/lib/hooks/useSearch.js +9 -0
  518. package/lib/hooks/useSearch.js.map +1 -0
  519. package/lib/index.d.ts +2 -1
  520. package/lib/index.js +2 -1
  521. package/lib/index.js.map +1 -1
  522. package/lib/react/setup-fixture.d.ts +1 -0
  523. package/lib/react/setup-fixture.js +2 -46
  524. package/lib/react/setup-fixture.js.map +1 -1
  525. package/lib/services/sitemap/useSitemap.d.ts +1 -2
  526. package/lib/services/sitemap/useSitemap.js +2 -1
  527. package/lib/services/sitemap/useSitemap.js.map +1 -1
  528. package/lib/ui-kit/BlockWrapper.d.ts +1 -1
  529. package/lib/ui-kit/BlockWrapper.js +3 -2
  530. package/lib/ui-kit/BlockWrapper.js.map +1 -1
  531. package/lib/ui-kit/BlocksList/BlocksListProps.d.ts +0 -2
  532. package/lib/ui-kit/BlocksList/EmbeddableBlocks.d.ts +10 -10
  533. package/lib/ui-kit/BlocksList/EmbeddableBlocks.mobile.d.ts +6 -6
  534. package/lib/ui-kit/Breadcrumb.d.ts +1 -1
  535. package/lib/ui-kit/Button/ArrowButton.d.ts +1 -1
  536. package/lib/ui-kit/Button/Button.d.ts +1 -1
  537. package/lib/ui-kit/Button/Button.mobile.d.ts +1 -1
  538. package/lib/ui-kit/Button/ButtonInner.d.ts +1 -1
  539. package/lib/ui-kit/Button/ButtonSection.d.ts +1 -1
  540. package/lib/ui-kit/Button/LikeButton.d.ts +1 -1
  541. package/lib/ui-kit/Checkbox/Checkbox.d.ts +1 -1
  542. package/lib/ui-kit/Checkbox/Checkbox.js +5 -3
  543. package/lib/ui-kit/Checkbox/Checkbox.js.map +1 -1
  544. package/lib/ui-kit/Description/Description.d.ts +1 -1
  545. package/lib/ui-kit/Foldable/Foldable.d.ts +1 -1
  546. package/lib/ui-kit/Foldable/Foldable.js +1 -2
  547. package/lib/ui-kit/Foldable/Foldable.js.map +1 -1
  548. package/lib/ui-kit/Foldable/useActiveHandler.d.ts +1 -3
  549. package/lib/ui-kit/Foldable/useActiveHandler.js +3 -2
  550. package/lib/ui-kit/Foldable/useActiveHandler.js.map +1 -1
  551. package/lib/ui-kit/HeaderItem/HeaderItem.d.ts +1 -1
  552. package/lib/ui-kit/HeaderItem/HeaderItem.mobile.d.ts +1 -1
  553. package/lib/ui-kit/Heading/Heading.d.ts +1 -1
  554. package/lib/ui-kit/Heading/Heading.mobile.d.ts +1 -1
  555. package/lib/ui-kit/Icon/Icon.d.ts +1 -1
  556. package/lib/ui-kit/Img/Img.d.ts +1 -1
  557. package/lib/ui-kit/Img/Img.mobile.d.ts +1 -1
  558. package/lib/ui-kit/Img/ImgAsPicture.d.ts +1 -1
  559. package/lib/ui-kit/Img/ImgInner.d.ts +1 -1
  560. package/lib/ui-kit/Input/Input.d.ts +1 -1
  561. package/lib/ui-kit/InputRange/InputRange.d.ts +1 -1
  562. package/lib/ui-kit/InputRange/InputRange.js +4 -3
  563. package/lib/ui-kit/InputRange/InputRange.js.map +1 -1
  564. package/lib/ui-kit/InputRange/InputRangeProps.d.ts +1 -0
  565. package/lib/ui-kit/List/List.d.ts +1 -1
  566. package/lib/ui-kit/List/ListItem.d.ts +1 -1
  567. package/lib/ui-kit/Logo/Logo.d.ts +1 -1
  568. package/lib/ui-kit/Logo/Logo.mobile.d.ts +1 -1
  569. package/lib/ui-kit/Radio/Radio.d.ts +1 -1
  570. package/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +1 -1
  571. package/lib/ui-kit/SVG.d.ts +1 -1
  572. package/lib/ui-kit/SearchBar/SearchBar.d.ts +1 -1
  573. package/lib/ui-kit/SearchBar/SearchBar.js +2 -2
  574. package/lib/ui-kit/SearchBar/SearchBar.js.map +1 -1
  575. package/lib/ui-kit/SearchBar/SearchBar.mobile.d.ts +1 -1
  576. package/lib/ui-kit/SearchBar/SearchBar.mobile.js +2 -2
  577. package/lib/ui-kit/SearchBar/SearchBar.mobile.js.map +1 -1
  578. package/lib/ui-kit/SearchBar/SearchBarInner.d.ts +3 -3
  579. package/lib/ui-kit/SearchBar/SearchBarInner.js +3 -2
  580. package/lib/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
  581. package/lib/ui-kit/Select/Select.d.ts +1 -1
  582. package/lib/ui-kit/Select/SelectOption.d.ts +1 -1
  583. package/lib/ui-kit/SwipeListControl/SwipeListControl.d.ts +1 -1
  584. package/lib/ui-kit/SwipeListControl/SwipeListControl.js +4 -3
  585. package/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  586. package/lib/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +1 -1
  587. package/lib/ui-kit/SwipeListControl/SwipeListControlItem.d.ts +1 -1
  588. package/lib/ui-kit/SwipeListControl/SwipeListControlList.d.ts +1 -1
  589. package/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControl.d.ts +1 -1
  590. package/lib/ui-kit/Tabs/Tabs.d.ts +1 -1
  591. package/lib/ui-kit/TopItem/TopItem.d.ts +1 -1
  592. package/mobile/bundle/bundle.umd.js +1899 -1794
  593. package/mobile/bundle/bundle.umd.min.js +1 -1
  594. package/mobile/dist/components/Accordion/Accordion.d.ts +1 -1
  595. package/mobile/dist/components/Accordion/AccordionItem.d.ts +1 -1
  596. package/mobile/dist/components/Accordion/AccordionItem.js +1 -4
  597. package/mobile/dist/components/Accordion/AccordionItem.js.map +1 -1
  598. package/mobile/dist/components/Accordion/AccordionItemInner.d.ts +1 -1
  599. package/mobile/dist/components/Accordion/useActiveHandler.d.ts +1 -1
  600. package/mobile/dist/components/Accordion/useActiveHandler.js +3 -2
  601. package/mobile/dist/components/Accordion/useActiveHandler.js.map +1 -1
  602. package/mobile/dist/components/BaseTile/BaseTile.d.ts +1 -1
  603. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.d.ts +1 -1
  604. package/mobile/dist/components/Blocks.d.ts +16 -16
  605. package/mobile/dist/components/Bonus/Bonus.d.ts +1 -1
  606. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.d.ts +1 -1
  607. package/mobile/dist/components/Calculator/BonusCalculatorForm.d.ts +1 -1
  608. package/mobile/dist/components/Calculator/BonusCalculatorForm.js +4 -3
  609. package/mobile/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
  610. package/mobile/dist/components/Calculator/Calculator.d.ts +1 -1
  611. package/mobile/dist/components/Calculator/Calculator.js +4 -3
  612. package/mobile/dist/components/Calculator/Calculator.js.map +1 -1
  613. package/mobile/dist/components/Calculator/CalculatorValueBlock.d.ts +1 -1
  614. package/mobile/dist/components/Calculator/CreditCalculatorForm.d.ts +1 -1
  615. package/mobile/dist/components/Calculator/CreditCalculatorForm.js +8 -7
  616. package/mobile/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
  617. package/mobile/dist/components/Calculator/DepositCalculatorForm.d.ts +1 -1
  618. package/mobile/dist/components/Calculator/DepositCalculatorForm.js +3 -2
  619. package/mobile/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
  620. package/mobile/dist/components/Calculator/EmbeddableCalcBlocks.d.ts +4 -4
  621. package/mobile/dist/components/Calculator/MortgageCalculatorForm.d.ts +1 -1
  622. package/mobile/dist/components/Calculator/MortgageCalculatorForm.js +5 -4
  623. package/mobile/dist/components/Calculator/MortgageCalculatorForm.js.map +1 -1
  624. package/mobile/dist/components/Calculator/Rate.d.ts +1 -1
  625. package/mobile/dist/components/Calculator/renderCalculatorBlock.js +1 -1
  626. package/mobile/dist/components/Calculator/renderCalculatorBlock.js.map +1 -1
  627. package/mobile/dist/components/Calculator/useBonusCalculatorParams.d.ts +1 -2
  628. package/mobile/dist/components/Calculator/useBonusCalculatorParams.js +3 -2
  629. package/mobile/dist/components/Calculator/useBonusCalculatorParams.js.map +1 -1
  630. package/mobile/dist/components/Calculator/useCalculatorParams.d.ts +1 -2
  631. package/mobile/dist/components/Calculator/useCalculatorParams.js +3 -2
  632. package/mobile/dist/components/Calculator/useCalculatorParams.js.map +1 -1
  633. package/mobile/dist/components/Calculator/useCreditCalculatorParams.d.ts +1 -2
  634. package/mobile/dist/components/Calculator/useCreditCalculatorParams.js +2 -2
  635. package/mobile/dist/components/Calculator/useCreditCalculatorParams.js.map +1 -1
  636. package/mobile/dist/components/Catalog/Catalog.d.ts +1 -1
  637. package/mobile/dist/components/Catalog/Catalog.js +3 -2
  638. package/mobile/dist/components/Catalog/Catalog.js.map +1 -1
  639. package/mobile/dist/components/Catalog/CatalogCard.d.ts +1 -1
  640. package/mobile/dist/components/ComparisonTable/ComparisonTable.d.ts +1 -1
  641. package/mobile/dist/components/ComparisonTable/ComparisonTable.js +2 -1
  642. package/mobile/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
  643. package/mobile/dist/components/ComparisonTable/ComparisonTableBody.d.ts +1 -1
  644. package/mobile/dist/components/ComparisonTable/ComparisonTableBody.js +3 -2
  645. package/mobile/dist/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
  646. package/mobile/dist/components/ComparisonTable/ComparisonTableColumnHeaders.d.ts +1 -1
  647. package/mobile/dist/components/ComparisonTable/ComparisonTableRows.d.ts +1 -1
  648. package/mobile/dist/components/ComparisonTable/HeaderCell.d.ts +1 -1
  649. package/mobile/dist/components/ComparisonTable/TableCarouselContainer.d.ts +1 -1
  650. package/mobile/dist/components/ComparisonTable/TableCell.d.ts +1 -1
  651. package/mobile/dist/components/ComparisonTable/TableColumn.d.ts +1 -1
  652. package/mobile/dist/components/ComparisonTable/TableRow.d.ts +1 -1
  653. package/mobile/dist/components/ComparisonTable/TableRowContainer.d.ts +1 -4
  654. package/mobile/dist/components/ContentPage/ContentPage.d.ts +3 -3
  655. package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
  656. package/mobile/dist/components/ContentPage/ContentPageContext.d.ts +1 -19
  657. package/mobile/dist/components/ContentPage/ContentPageHead.d.ts +1 -1
  658. package/mobile/dist/components/ExchangeRateTile/CurrencyTable.d.ts +1 -1
  659. package/mobile/dist/components/ExchangeRateTile/CurrentLocation.d.ts +1 -1
  660. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +1 -1
  661. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +2 -1
  662. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  663. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.d.ts +1 -1
  664. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
  665. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  666. package/mobile/dist/components/Footer/Contacts.d.ts +1 -1
  667. package/mobile/dist/components/Footer/Footer.d.ts +1 -1
  668. package/mobile/dist/components/Footer/Footer.js +1 -1
  669. package/mobile/dist/components/Footer/Footer.js.map +1 -1
  670. package/mobile/dist/components/Footer/HorizontalNavigation.d.ts +1 -1
  671. package/mobile/dist/components/Footer/HorizontalNavigationLink.d.ts +1 -1
  672. package/mobile/dist/components/Footer/MediaButton.d.ts +1 -1
  673. package/mobile/dist/components/Footer/Sitemap.d.ts +1 -1
  674. package/mobile/dist/components/Footer/Sitemap.js +2 -2
  675. package/mobile/dist/components/Footer/Sitemap.js.map +1 -1
  676. package/mobile/dist/components/Footer/SocialMedia.d.ts +1 -1
  677. package/mobile/dist/components/Footer/TextInformation.d.ts +1 -1
  678. package/mobile/dist/components/Footer/TextInformationLink.d.ts +1 -1
  679. package/mobile/dist/components/Gallery/Gallery.d.ts +1 -1
  680. package/mobile/dist/components/Gallery/GalleryCardInner.d.ts +1 -1
  681. package/mobile/dist/components/Gallery/GalleryContainer.d.ts +1 -1
  682. package/mobile/dist/components/Gallery/GalleryInner.d.ts +1 -1
  683. package/mobile/dist/components/Gallery/GalleryInner.js +2 -1
  684. package/mobile/dist/components/Gallery/GalleryInner.js.map +1 -1
  685. package/mobile/dist/components/GracePeriod/GracePeriod.d.ts +1 -1
  686. package/mobile/dist/components/GroupBlock/EmbeddableGroupBlocks.d.ts +2 -2
  687. package/mobile/dist/components/GroupBlock/GroupBlock.d.ts +1 -1
  688. package/mobile/dist/components/GroupBlock/GroupBlock.js +2 -1
  689. package/mobile/dist/components/GroupBlock/GroupBlock.js.map +1 -1
  690. package/mobile/dist/components/GroupBlock/GroupBlockTabs.d.ts +1 -1
  691. package/mobile/dist/components/GroupBlock/GroupBlocksItem.d.ts +1 -1
  692. package/mobile/dist/components/Header/DropdownMenu.d.ts +1 -1
  693. package/mobile/dist/components/Header/Header.d.ts +1 -1
  694. package/mobile/dist/components/Header/Header.js +3 -2
  695. package/mobile/dist/components/Header/Header.js.map +1 -1
  696. package/mobile/dist/components/Header/HeaderBurger.d.ts +1 -1
  697. package/mobile/dist/components/Header/HeaderBurger.js +2 -1
  698. package/mobile/dist/components/Header/HeaderBurger.js.map +1 -1
  699. package/mobile/dist/components/Header/HeaderSecondaryMenu.d.ts +3 -3
  700. package/mobile/dist/components/Header/HeaderSecondaryMenu.js +3 -2
  701. package/mobile/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  702. package/mobile/dist/components/Header/HeaderSecondaryMenuButton.d.ts +1 -1
  703. package/mobile/dist/components/Header/HeaderSubMenu.d.ts +1 -1
  704. package/mobile/dist/components/Header/HeaderSubMenu.js +3 -2
  705. package/mobile/dist/components/Header/HeaderSubMenu.js.map +1 -1
  706. package/mobile/dist/components/Header/HeaderTop.d.ts +1 -1
  707. package/mobile/dist/components/Headline/Headline.d.ts +1 -1
  708. package/mobile/dist/components/Insurance/Insurance.d.ts +1 -1
  709. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +1 -1
  710. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +2 -1
  711. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  712. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +1 -1
  713. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +4 -3
  714. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  715. package/mobile/dist/components/LikeControl/LikeControl.d.ts +1 -1
  716. package/mobile/dist/components/LikeControl/LikeControl.js +6 -2
  717. package/mobile/dist/components/LikeControl/LikeControl.js.map +1 -1
  718. package/mobile/dist/components/LinkDocs/LinkDocs.d.ts +1 -1
  719. package/mobile/dist/components/LinkDocs/LinkDocsHorizontalList.d.ts +1 -1
  720. package/mobile/dist/components/LinkDocs/LinkDocsList.d.ts +1 -1
  721. package/mobile/dist/components/LinkDocs/LinkDocsListItem.d.ts +1 -1
  722. package/mobile/dist/components/LinkDocs/LinkDocsListItemBase.d.ts +1 -1
  723. package/mobile/dist/components/LinkDocs/LinkDocsVerticalList.d.ts +1 -1
  724. package/mobile/dist/components/LinkList/LinkList.d.ts +1 -1
  725. package/mobile/dist/components/MiniGallery/MiniGallery.d.ts +1 -1
  726. package/mobile/dist/components/MobileAppTile/MobileAppTile.d.ts +1 -1
  727. package/mobile/dist/components/Navigation/Navigation.d.ts +1 -1
  728. package/mobile/dist/components/Navigation/NavigationItem.d.ts +2 -2
  729. package/mobile/dist/components/NavigatorTabs/NavigatorTabItem.d.ts +1 -1
  730. package/mobile/dist/components/NavigatorTabs/NavigatorTabs.d.ts +1 -1
  731. package/mobile/dist/components/OtherProducts/OtherProducts.d.ts +1 -1
  732. package/mobile/dist/components/OtherProducts/OtherProductsItem.d.ts +1 -1
  733. package/mobile/dist/components/PictureText/PictureText.d.ts +1 -1
  734. package/mobile/dist/components/Placeholder/Placeholder.d.ts +1 -1
  735. package/mobile/dist/components/ProductBlock/ProductBlock.d.ts +1 -1
  736. package/mobile/dist/components/ProductBlock/ProductBlockInner.d.ts +1 -1
  737. package/mobile/dist/components/ProductGallery/ProductGallery.d.ts +1 -1
  738. package/mobile/dist/components/ProductGallery/ProductGalleryBlock.d.ts +1 -1
  739. package/mobile/dist/components/ProductTile/ProductTile.d.ts +1 -1
  740. package/mobile/dist/components/PromoTile/PromoTile.d.ts +1 -1
  741. package/mobile/dist/components/Recommendation/Recommendation.d.ts +1 -1
  742. package/mobile/dist/components/Recommendation/Recommendation.js +2 -1
  743. package/mobile/dist/components/Recommendation/Recommendation.js.map +1 -1
  744. package/mobile/dist/components/Recommendation/RecommendationCard.d.ts +1 -1
  745. package/mobile/dist/components/SafeDepositRental/SafeDepositRental.d.ts +1 -1
  746. package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js +3 -2
  747. package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  748. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalForm.d.ts +1 -8
  749. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalForm.js +17 -16
  750. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
  751. package/mobile/dist/components/StepsBlock/StepsBlock.d.ts +1 -1
  752. package/mobile/dist/components/Tabs/Tabs.d.ts +1 -1
  753. package/mobile/dist/components/Tabs/Tabs.js +3 -2
  754. package/mobile/dist/components/Tabs/Tabs.js.map +1 -1
  755. package/mobile/dist/components/TariffsTable/TableTileHeader.d.ts +1 -1
  756. package/mobile/dist/components/TariffsTable/TariffsTable.d.ts +1 -1
  757. package/mobile/dist/components/TariffsTable/TariffsTableCell.d.ts +1 -1
  758. package/mobile/dist/components/TariffsTable/TariffsTableHorizontal.d.ts +2 -2
  759. package/mobile/dist/components/TariffsTable/TariffsTableRow.d.ts +1 -1
  760. package/mobile/dist/components/TariffsTable/TariffsTableTileCell.d.ts +1 -1
  761. package/mobile/dist/components/TariffsTable/TariffsTableVertical.d.ts +2 -2
  762. package/mobile/dist/components/TextBlock/TextBlock.d.ts +1 -1
  763. package/mobile/dist/components/Tile/Tile.d.ts +1 -1
  764. package/mobile/dist/hooks/useExchangeRates.d.ts +1 -2
  765. package/mobile/dist/hooks/useExchangeRates.js +3 -2
  766. package/mobile/dist/hooks/useExchangeRates.js.map +1 -1
  767. package/mobile/dist/hooks/useGeolocation.d.ts +1 -0
  768. package/mobile/dist/hooks/useGeolocation.js +21 -0
  769. package/mobile/dist/hooks/useGeolocation.js.map +1 -0
  770. package/mobile/dist/hooks/useLikeService.d.ts +5 -0
  771. package/mobile/dist/hooks/useLikeService.js +29 -0
  772. package/mobile/dist/hooks/useLikeService.js.map +1 -0
  773. package/mobile/dist/hooks/useLink.d.ts +1 -0
  774. package/mobile/dist/hooks/useLink.js +3 -2
  775. package/mobile/dist/hooks/useLink.js.map +1 -1
  776. package/mobile/dist/hooks/useSafeDepositRental.d.ts +1 -2
  777. package/mobile/dist/hooks/useSafeDepositRental.js +3 -2
  778. package/mobile/dist/hooks/useSafeDepositRental.js.map +1 -1
  779. package/mobile/dist/hooks/useSearch.d.ts +4 -0
  780. package/mobile/dist/hooks/useSearch.js +12 -0
  781. package/mobile/dist/hooks/useSearch.js.map +1 -0
  782. package/mobile/dist/index.d.ts +2 -1
  783. package/mobile/dist/index.js +5 -3
  784. package/mobile/dist/index.js.map +1 -1
  785. package/mobile/dist/react/setup-fixture.d.ts +1 -0
  786. package/mobile/dist/react/setup-fixture.js +1 -48
  787. package/mobile/dist/react/setup-fixture.js.map +1 -1
  788. package/mobile/dist/services/sitemap/useSitemap.d.ts +1 -2
  789. package/mobile/dist/services/sitemap/useSitemap.js +3 -2
  790. package/mobile/dist/services/sitemap/useSitemap.js.map +1 -1
  791. package/mobile/dist/ui-kit/BlockWrapper.d.ts +1 -1
  792. package/mobile/dist/ui-kit/BlockWrapper.js +3 -2
  793. package/mobile/dist/ui-kit/BlockWrapper.js.map +1 -1
  794. package/mobile/dist/ui-kit/BlocksList/BlocksListProps.d.ts +0 -2
  795. package/mobile/dist/ui-kit/BlocksList/EmbeddableBlocks.d.ts +6 -6
  796. package/mobile/dist/ui-kit/Breadcrumb.d.ts +1 -1
  797. package/mobile/dist/ui-kit/Button/ArrowButton.d.ts +1 -1
  798. package/mobile/dist/ui-kit/Button/Button.d.ts +1 -1
  799. package/mobile/dist/ui-kit/Button/ButtonInner.d.ts +1 -1
  800. package/mobile/dist/ui-kit/Button/ButtonSection.d.ts +1 -1
  801. package/mobile/dist/ui-kit/Button/LikeButton.d.ts +1 -1
  802. package/mobile/dist/ui-kit/Checkbox/Checkbox.d.ts +1 -1
  803. package/mobile/dist/ui-kit/Checkbox/Checkbox.js +5 -3
  804. package/mobile/dist/ui-kit/Checkbox/Checkbox.js.map +1 -1
  805. package/mobile/dist/ui-kit/Description/Description.d.ts +1 -1
  806. package/mobile/dist/ui-kit/Foldable/Foldable.d.ts +1 -1
  807. package/mobile/dist/ui-kit/Foldable/Foldable.js +1 -2
  808. package/mobile/dist/ui-kit/Foldable/Foldable.js.map +1 -1
  809. package/mobile/dist/ui-kit/Foldable/useActiveHandler.d.ts +1 -3
  810. package/mobile/dist/ui-kit/Foldable/useActiveHandler.js +3 -2
  811. package/mobile/dist/ui-kit/Foldable/useActiveHandler.js.map +1 -1
  812. package/mobile/dist/ui-kit/HeaderItem/HeaderItem.d.ts +1 -1
  813. package/mobile/dist/ui-kit/Heading/Heading.d.ts +1 -1
  814. package/mobile/dist/ui-kit/Icon/Icon.d.ts +1 -1
  815. package/mobile/dist/ui-kit/Img/Img.d.ts +1 -1
  816. package/mobile/dist/ui-kit/Img/ImgAsPicture.d.ts +1 -1
  817. package/mobile/dist/ui-kit/Img/ImgInner.d.ts +1 -1
  818. package/mobile/dist/ui-kit/Input/Input.d.ts +1 -1
  819. package/mobile/dist/ui-kit/InputRange/InputRange.d.ts +1 -1
  820. package/mobile/dist/ui-kit/InputRange/InputRange.js +4 -3
  821. package/mobile/dist/ui-kit/InputRange/InputRange.js.map +1 -1
  822. package/mobile/dist/ui-kit/InputRange/InputRangeProps.d.ts +1 -0
  823. package/mobile/dist/ui-kit/List/List.d.ts +1 -1
  824. package/mobile/dist/ui-kit/List/ListItem.d.ts +1 -1
  825. package/mobile/dist/ui-kit/Logo/Logo.d.ts +1 -1
  826. package/mobile/dist/ui-kit/Radio/Radio.d.ts +1 -1
  827. package/mobile/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +1 -1
  828. package/mobile/dist/ui-kit/SVG.d.ts +1 -1
  829. package/mobile/dist/ui-kit/SearchBar/SearchBar.d.ts +1 -1
  830. package/mobile/dist/ui-kit/SearchBar/SearchBar.js +2 -2
  831. package/mobile/dist/ui-kit/SearchBar/SearchBar.js.map +1 -1
  832. package/mobile/dist/ui-kit/SearchBar/SearchBarInner.d.ts +3 -3
  833. package/mobile/dist/ui-kit/SearchBar/SearchBarInner.js +3 -2
  834. package/mobile/dist/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
  835. package/mobile/dist/ui-kit/Select/Select.d.ts +1 -1
  836. package/mobile/dist/ui-kit/Select/SelectOption.d.ts +1 -1
  837. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.d.ts +1 -1
  838. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js +4 -3
  839. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  840. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +1 -1
  841. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlItem.d.ts +1 -1
  842. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlList.d.ts +1 -1
  843. package/mobile/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControl.d.ts +1 -1
  844. package/mobile/dist/ui-kit/Tabs/Tabs.d.ts +1 -1
  845. package/mobile/dist/ui-kit/TopItem/TopItem.d.ts +1 -1
  846. package/mobile/lib/components/Accordion/Accordion.d.ts +1 -1
  847. package/mobile/lib/components/Accordion/AccordionItem.d.ts +1 -1
  848. package/mobile/lib/components/Accordion/AccordionItem.js +1 -4
  849. package/mobile/lib/components/Accordion/AccordionItem.js.map +1 -1
  850. package/mobile/lib/components/Accordion/AccordionItemInner.d.ts +1 -1
  851. package/mobile/lib/components/Accordion/useActiveHandler.d.ts +1 -1
  852. package/mobile/lib/components/Accordion/useActiveHandler.js +3 -2
  853. package/mobile/lib/components/Accordion/useActiveHandler.js.map +1 -1
  854. package/mobile/lib/components/BaseTile/BaseTile.d.ts +1 -1
  855. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.d.ts +1 -1
  856. package/mobile/lib/components/Blocks.d.ts +16 -16
  857. package/mobile/lib/components/Bonus/Bonus.d.ts +1 -1
  858. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.d.ts +1 -1
  859. package/mobile/lib/components/Calculator/BonusCalculatorForm.d.ts +1 -1
  860. package/mobile/lib/components/Calculator/BonusCalculatorForm.js +4 -3
  861. package/mobile/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
  862. package/mobile/lib/components/Calculator/Calculator.d.ts +1 -1
  863. package/mobile/lib/components/Calculator/Calculator.js +4 -3
  864. package/mobile/lib/components/Calculator/Calculator.js.map +1 -1
  865. package/mobile/lib/components/Calculator/CalculatorValueBlock.d.ts +1 -1
  866. package/mobile/lib/components/Calculator/CreditCalculatorForm.d.ts +1 -1
  867. package/mobile/lib/components/Calculator/CreditCalculatorForm.js +8 -7
  868. package/mobile/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
  869. package/mobile/lib/components/Calculator/DepositCalculatorForm.d.ts +1 -1
  870. package/mobile/lib/components/Calculator/DepositCalculatorForm.js +3 -2
  871. package/mobile/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
  872. package/mobile/lib/components/Calculator/EmbeddableCalcBlocks.d.ts +4 -4
  873. package/mobile/lib/components/Calculator/MortgageCalculatorForm.d.ts +1 -1
  874. package/mobile/lib/components/Calculator/MortgageCalculatorForm.js +5 -4
  875. package/mobile/lib/components/Calculator/MortgageCalculatorForm.js.map +1 -1
  876. package/mobile/lib/components/Calculator/Rate.d.ts +1 -1
  877. package/mobile/lib/components/Calculator/renderCalculatorBlock.js +1 -1
  878. package/mobile/lib/components/Calculator/renderCalculatorBlock.js.map +1 -1
  879. package/mobile/lib/components/Calculator/useBonusCalculatorParams.d.ts +1 -2
  880. package/mobile/lib/components/Calculator/useBonusCalculatorParams.js +3 -2
  881. package/mobile/lib/components/Calculator/useBonusCalculatorParams.js.map +1 -1
  882. package/mobile/lib/components/Calculator/useCalculatorParams.d.ts +1 -2
  883. package/mobile/lib/components/Calculator/useCalculatorParams.js +2 -1
  884. package/mobile/lib/components/Calculator/useCalculatorParams.js.map +1 -1
  885. package/mobile/lib/components/Calculator/useCreditCalculatorParams.d.ts +1 -2
  886. package/mobile/lib/components/Calculator/useCreditCalculatorParams.js +2 -2
  887. package/mobile/lib/components/Calculator/useCreditCalculatorParams.js.map +1 -1
  888. package/mobile/lib/components/Catalog/Catalog.d.ts +1 -1
  889. package/mobile/lib/components/Catalog/Catalog.js +3 -2
  890. package/mobile/lib/components/Catalog/Catalog.js.map +1 -1
  891. package/mobile/lib/components/Catalog/CatalogCard.d.ts +1 -1
  892. package/mobile/lib/components/ComparisonTable/ComparisonTable.d.ts +1 -1
  893. package/mobile/lib/components/ComparisonTable/ComparisonTable.js +2 -1
  894. package/mobile/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
  895. package/mobile/lib/components/ComparisonTable/ComparisonTableBody.d.ts +1 -1
  896. package/mobile/lib/components/ComparisonTable/ComparisonTableBody.js +3 -2
  897. package/mobile/lib/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
  898. package/mobile/lib/components/ComparisonTable/ComparisonTableColumnHeaders.d.ts +1 -1
  899. package/mobile/lib/components/ComparisonTable/ComparisonTableRows.d.ts +1 -1
  900. package/mobile/lib/components/ComparisonTable/HeaderCell.d.ts +1 -1
  901. package/mobile/lib/components/ComparisonTable/TableCarouselContainer.d.ts +1 -1
  902. package/mobile/lib/components/ComparisonTable/TableCell.d.ts +1 -1
  903. package/mobile/lib/components/ComparisonTable/TableColumn.d.ts +1 -1
  904. package/mobile/lib/components/ComparisonTable/TableRow.d.ts +1 -1
  905. package/mobile/lib/components/ComparisonTable/TableRowContainer.d.ts +1 -4
  906. package/mobile/lib/components/ContentPage/ContentPage.d.ts +3 -3
  907. package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
  908. package/mobile/lib/components/ContentPage/ContentPageContext.d.ts +1 -19
  909. package/mobile/lib/components/ContentPage/ContentPageHead.d.ts +1 -1
  910. package/mobile/lib/components/ExchangeRateTile/CurrencyTable.d.ts +1 -1
  911. package/mobile/lib/components/ExchangeRateTile/CurrentLocation.d.ts +1 -1
  912. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +1 -1
  913. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +2 -1
  914. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  915. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.d.ts +1 -1
  916. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
  917. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  918. package/mobile/lib/components/Footer/Contacts.d.ts +1 -1
  919. package/mobile/lib/components/Footer/Footer.d.ts +1 -1
  920. package/mobile/lib/components/Footer/Footer.js +1 -1
  921. package/mobile/lib/components/Footer/Footer.js.map +1 -1
  922. package/mobile/lib/components/Footer/HorizontalNavigation.d.ts +1 -1
  923. package/mobile/lib/components/Footer/HorizontalNavigationLink.d.ts +1 -1
  924. package/mobile/lib/components/Footer/MediaButton.d.ts +1 -1
  925. package/mobile/lib/components/Footer/Sitemap.d.ts +1 -1
  926. package/mobile/lib/components/Footer/Sitemap.js +2 -2
  927. package/mobile/lib/components/Footer/Sitemap.js.map +1 -1
  928. package/mobile/lib/components/Footer/SocialMedia.d.ts +1 -1
  929. package/mobile/lib/components/Footer/TextInformation.d.ts +1 -1
  930. package/mobile/lib/components/Footer/TextInformationLink.d.ts +1 -1
  931. package/mobile/lib/components/Gallery/Gallery.d.ts +1 -1
  932. package/mobile/lib/components/Gallery/GalleryCardInner.d.ts +1 -1
  933. package/mobile/lib/components/Gallery/GalleryContainer.d.ts +1 -1
  934. package/mobile/lib/components/Gallery/GalleryInner.d.ts +1 -1
  935. package/mobile/lib/components/Gallery/GalleryInner.js +2 -1
  936. package/mobile/lib/components/Gallery/GalleryInner.js.map +1 -1
  937. package/mobile/lib/components/GracePeriod/GracePeriod.d.ts +1 -1
  938. package/mobile/lib/components/GroupBlock/EmbeddableGroupBlocks.d.ts +2 -2
  939. package/mobile/lib/components/GroupBlock/GroupBlock.d.ts +1 -1
  940. package/mobile/lib/components/GroupBlock/GroupBlock.js +2 -1
  941. package/mobile/lib/components/GroupBlock/GroupBlock.js.map +1 -1
  942. package/mobile/lib/components/GroupBlock/GroupBlockTabs.d.ts +1 -1
  943. package/mobile/lib/components/GroupBlock/GroupBlocksItem.d.ts +1 -1
  944. package/mobile/lib/components/Header/DropdownMenu.d.ts +1 -1
  945. package/mobile/lib/components/Header/Header.d.ts +1 -1
  946. package/mobile/lib/components/Header/Header.js +3 -2
  947. package/mobile/lib/components/Header/Header.js.map +1 -1
  948. package/mobile/lib/components/Header/HeaderBurger.d.ts +1 -1
  949. package/mobile/lib/components/Header/HeaderBurger.js +2 -1
  950. package/mobile/lib/components/Header/HeaderBurger.js.map +1 -1
  951. package/mobile/lib/components/Header/HeaderSecondaryMenu.d.ts +3 -3
  952. package/mobile/lib/components/Header/HeaderSecondaryMenu.js +3 -2
  953. package/mobile/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  954. package/mobile/lib/components/Header/HeaderSecondaryMenuButton.d.ts +1 -1
  955. package/mobile/lib/components/Header/HeaderSubMenu.d.ts +1 -1
  956. package/mobile/lib/components/Header/HeaderSubMenu.js +3 -2
  957. package/mobile/lib/components/Header/HeaderSubMenu.js.map +1 -1
  958. package/mobile/lib/components/Header/HeaderTop.d.ts +1 -1
  959. package/mobile/lib/components/Headline/Headline.d.ts +1 -1
  960. package/mobile/lib/components/Insurance/Insurance.d.ts +1 -1
  961. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +1 -1
  962. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +2 -1
  963. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  964. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +1 -1
  965. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +4 -3
  966. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  967. package/mobile/lib/components/LikeControl/LikeControl.d.ts +1 -1
  968. package/mobile/lib/components/LikeControl/LikeControl.js +6 -2
  969. package/mobile/lib/components/LikeControl/LikeControl.js.map +1 -1
  970. package/mobile/lib/components/LinkDocs/LinkDocs.d.ts +1 -1
  971. package/mobile/lib/components/LinkDocs/LinkDocsHorizontalList.d.ts +1 -1
  972. package/mobile/lib/components/LinkDocs/LinkDocsList.d.ts +1 -1
  973. package/mobile/lib/components/LinkDocs/LinkDocsListItem.d.ts +1 -1
  974. package/mobile/lib/components/LinkDocs/LinkDocsListItemBase.d.ts +1 -1
  975. package/mobile/lib/components/LinkDocs/LinkDocsVerticalList.d.ts +1 -1
  976. package/mobile/lib/components/LinkList/LinkList.d.ts +1 -1
  977. package/mobile/lib/components/MiniGallery/MiniGallery.d.ts +1 -1
  978. package/mobile/lib/components/MobileAppTile/MobileAppTile.d.ts +1 -1
  979. package/mobile/lib/components/Navigation/Navigation.d.ts +1 -1
  980. package/mobile/lib/components/Navigation/NavigationItem.d.ts +2 -2
  981. package/mobile/lib/components/NavigatorTabs/NavigatorTabItem.d.ts +1 -1
  982. package/mobile/lib/components/NavigatorTabs/NavigatorTabs.d.ts +1 -1
  983. package/mobile/lib/components/OtherProducts/OtherProducts.d.ts +1 -1
  984. package/mobile/lib/components/OtherProducts/OtherProductsItem.d.ts +1 -1
  985. package/mobile/lib/components/PictureText/PictureText.d.ts +1 -1
  986. package/mobile/lib/components/Placeholder/Placeholder.d.ts +1 -1
  987. package/mobile/lib/components/ProductBlock/ProductBlock.d.ts +1 -1
  988. package/mobile/lib/components/ProductBlock/ProductBlockInner.d.ts +1 -1
  989. package/mobile/lib/components/ProductGallery/ProductGallery.d.ts +1 -1
  990. package/mobile/lib/components/ProductGallery/ProductGalleryBlock.d.ts +1 -1
  991. package/mobile/lib/components/ProductTile/ProductTile.d.ts +1 -1
  992. package/mobile/lib/components/PromoTile/PromoTile.d.ts +1 -1
  993. package/mobile/lib/components/Recommendation/Recommendation.d.ts +1 -1
  994. package/mobile/lib/components/Recommendation/Recommendation.js +2 -1
  995. package/mobile/lib/components/Recommendation/Recommendation.js.map +1 -1
  996. package/mobile/lib/components/Recommendation/RecommendationCard.d.ts +1 -1
  997. package/mobile/lib/components/SafeDepositRental/SafeDepositRental.d.ts +1 -1
  998. package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js +3 -2
  999. package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  1000. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalForm.d.ts +1 -8
  1001. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalForm.js +17 -15
  1002. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
  1003. package/mobile/lib/components/StepsBlock/StepsBlock.d.ts +1 -1
  1004. package/mobile/lib/components/Tabs/Tabs.d.ts +1 -1
  1005. package/mobile/lib/components/Tabs/Tabs.js +3 -2
  1006. package/mobile/lib/components/Tabs/Tabs.js.map +1 -1
  1007. package/mobile/lib/components/TariffsTable/TableTileHeader.d.ts +1 -1
  1008. package/mobile/lib/components/TariffsTable/TariffsTable.d.ts +1 -1
  1009. package/mobile/lib/components/TariffsTable/TariffsTableCell.d.ts +1 -1
  1010. package/mobile/lib/components/TariffsTable/TariffsTableHorizontal.d.ts +2 -2
  1011. package/mobile/lib/components/TariffsTable/TariffsTableRow.d.ts +1 -1
  1012. package/mobile/lib/components/TariffsTable/TariffsTableTileCell.d.ts +1 -1
  1013. package/mobile/lib/components/TariffsTable/TariffsTableVertical.d.ts +2 -2
  1014. package/mobile/lib/components/TextBlock/TextBlock.d.ts +1 -1
  1015. package/mobile/lib/components/Tile/Tile.d.ts +1 -1
  1016. package/mobile/lib/hooks/useExchangeRates.d.ts +1 -2
  1017. package/mobile/lib/hooks/useExchangeRates.js +2 -1
  1018. package/mobile/lib/hooks/useExchangeRates.js.map +1 -1
  1019. package/mobile/lib/hooks/useGeolocation.d.ts +1 -0
  1020. package/mobile/lib/hooks/useGeolocation.js +18 -0
  1021. package/mobile/lib/hooks/useGeolocation.js.map +1 -0
  1022. package/mobile/lib/hooks/useLikeService.d.ts +5 -0
  1023. package/mobile/lib/hooks/useLikeService.js +26 -0
  1024. package/mobile/lib/hooks/useLikeService.js.map +1 -0
  1025. package/mobile/lib/hooks/useLink.d.ts +1 -0
  1026. package/mobile/lib/hooks/useLink.js +1 -1
  1027. package/mobile/lib/hooks/useLink.js.map +1 -1
  1028. package/mobile/lib/hooks/useSafeDepositRental.d.ts +1 -2
  1029. package/mobile/lib/hooks/useSafeDepositRental.js +2 -1
  1030. package/mobile/lib/hooks/useSafeDepositRental.js.map +1 -1
  1031. package/mobile/lib/hooks/useSearch.d.ts +4 -0
  1032. package/mobile/lib/hooks/useSearch.js +9 -0
  1033. package/mobile/lib/hooks/useSearch.js.map +1 -0
  1034. package/mobile/lib/index.d.ts +2 -1
  1035. package/mobile/lib/index.js +2 -1
  1036. package/mobile/lib/index.js.map +1 -1
  1037. package/mobile/lib/react/setup-fixture.d.ts +1 -0
  1038. package/mobile/lib/react/setup-fixture.js +2 -46
  1039. package/mobile/lib/react/setup-fixture.js.map +1 -1
  1040. package/mobile/lib/services/sitemap/useSitemap.d.ts +1 -2
  1041. package/mobile/lib/services/sitemap/useSitemap.js +2 -1
  1042. package/mobile/lib/services/sitemap/useSitemap.js.map +1 -1
  1043. package/mobile/lib/ui-kit/BlockWrapper.d.ts +1 -1
  1044. package/mobile/lib/ui-kit/BlockWrapper.js +3 -2
  1045. package/mobile/lib/ui-kit/BlockWrapper.js.map +1 -1
  1046. package/mobile/lib/ui-kit/BlocksList/BlocksListProps.d.ts +0 -2
  1047. package/mobile/lib/ui-kit/BlocksList/EmbeddableBlocks.d.ts +6 -6
  1048. package/mobile/lib/ui-kit/Breadcrumb.d.ts +1 -1
  1049. package/mobile/lib/ui-kit/Button/ArrowButton.d.ts +1 -1
  1050. package/mobile/lib/ui-kit/Button/Button.d.ts +1 -1
  1051. package/mobile/lib/ui-kit/Button/ButtonInner.d.ts +1 -1
  1052. package/mobile/lib/ui-kit/Button/ButtonSection.d.ts +1 -1
  1053. package/mobile/lib/ui-kit/Button/LikeButton.d.ts +1 -1
  1054. package/mobile/lib/ui-kit/Checkbox/Checkbox.d.ts +1 -1
  1055. package/mobile/lib/ui-kit/Checkbox/Checkbox.js +5 -3
  1056. package/mobile/lib/ui-kit/Checkbox/Checkbox.js.map +1 -1
  1057. package/mobile/lib/ui-kit/Description/Description.d.ts +1 -1
  1058. package/mobile/lib/ui-kit/Foldable/Foldable.d.ts +1 -1
  1059. package/mobile/lib/ui-kit/Foldable/Foldable.js +1 -2
  1060. package/mobile/lib/ui-kit/Foldable/Foldable.js.map +1 -1
  1061. package/mobile/lib/ui-kit/Foldable/useActiveHandler.d.ts +1 -3
  1062. package/mobile/lib/ui-kit/Foldable/useActiveHandler.js +3 -2
  1063. package/mobile/lib/ui-kit/Foldable/useActiveHandler.js.map +1 -1
  1064. package/mobile/lib/ui-kit/HeaderItem/HeaderItem.d.ts +1 -1
  1065. package/mobile/lib/ui-kit/Heading/Heading.d.ts +1 -1
  1066. package/mobile/lib/ui-kit/Icon/Icon.d.ts +1 -1
  1067. package/mobile/lib/ui-kit/Img/Img.d.ts +1 -1
  1068. package/mobile/lib/ui-kit/Img/ImgAsPicture.d.ts +1 -1
  1069. package/mobile/lib/ui-kit/Img/ImgInner.d.ts +1 -1
  1070. package/mobile/lib/ui-kit/Input/Input.d.ts +1 -1
  1071. package/mobile/lib/ui-kit/InputRange/InputRange.d.ts +1 -1
  1072. package/mobile/lib/ui-kit/InputRange/InputRange.js +4 -3
  1073. package/mobile/lib/ui-kit/InputRange/InputRange.js.map +1 -1
  1074. package/mobile/lib/ui-kit/InputRange/InputRangeProps.d.ts +1 -0
  1075. package/mobile/lib/ui-kit/List/List.d.ts +1 -1
  1076. package/mobile/lib/ui-kit/List/ListItem.d.ts +1 -1
  1077. package/mobile/lib/ui-kit/Logo/Logo.d.ts +1 -1
  1078. package/mobile/lib/ui-kit/Radio/Radio.d.ts +1 -1
  1079. package/mobile/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +1 -1
  1080. package/mobile/lib/ui-kit/SVG.d.ts +1 -1
  1081. package/mobile/lib/ui-kit/SearchBar/SearchBar.d.ts +1 -1
  1082. package/mobile/lib/ui-kit/SearchBar/SearchBar.js +2 -2
  1083. package/mobile/lib/ui-kit/SearchBar/SearchBar.js.map +1 -1
  1084. package/mobile/lib/ui-kit/SearchBar/SearchBarInner.d.ts +3 -3
  1085. package/mobile/lib/ui-kit/SearchBar/SearchBarInner.js +3 -2
  1086. package/mobile/lib/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
  1087. package/mobile/lib/ui-kit/Select/Select.d.ts +1 -1
  1088. package/mobile/lib/ui-kit/Select/SelectOption.d.ts +1 -1
  1089. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.d.ts +1 -1
  1090. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js +4 -3
  1091. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  1092. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +1 -1
  1093. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlItem.d.ts +1 -1
  1094. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlList.d.ts +1 -1
  1095. package/mobile/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControl.d.ts +1 -1
  1096. package/mobile/lib/ui-kit/Tabs/Tabs.d.ts +1 -1
  1097. package/mobile/lib/ui-kit/TopItem/TopItem.d.ts +1 -1
  1098. package/mobile/src/common.css +25 -7
  1099. package/mobile/src/components/Accordion/AccordionItem.tsx +1 -4
  1100. package/mobile/src/components/Accordion/useActiveHandler.ts +3 -2
  1101. package/mobile/src/components/Blocks.spec.tsx +9 -15
  1102. package/mobile/src/components/Calculator/BonusCalculatorForm.tsx +4 -3
  1103. package/mobile/src/components/Calculator/Calculator.tsx +5 -4
  1104. package/mobile/src/components/Calculator/CreditCalculatorForm.tsx +8 -7
  1105. package/mobile/src/components/Calculator/DepositCalculatorForm.tsx +3 -2
  1106. package/mobile/src/components/Calculator/MortgageCalculatorForm.tsx +5 -4
  1107. package/mobile/src/components/Calculator/renderCalculatorBlock.tsx +1 -1
  1108. package/mobile/src/components/Calculator/useBonusCalculatorParams.ts +2 -6
  1109. package/mobile/src/components/Calculator/useCalculatorParams.ts +2 -2
  1110. package/mobile/src/components/Calculator/useCreditCalculatorParams.ts +1 -6
  1111. package/mobile/src/components/Catalog/Catalog.tsx +3 -2
  1112. package/mobile/src/components/ComparisonTable/ComparisonTable.tsx +3 -2
  1113. package/mobile/src/components/ComparisonTable/ComparisonTableBody.tsx +5 -4
  1114. package/mobile/src/components/ContentPage/ContentPage.tsx +3 -5
  1115. package/mobile/src/components/ContentPage/ContentPageContext.tsx +1 -26
  1116. package/mobile/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +2 -1
  1117. package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.tsx +1 -1
  1118. package/mobile/src/components/Footer/Footer.tsx +1 -1
  1119. package/mobile/src/components/Footer/Sitemap.tsx +2 -2
  1120. package/mobile/src/components/Gallery/GalleryInner.tsx +3 -2
  1121. package/mobile/src/components/GroupBlock/GroupBlock.tsx +2 -1
  1122. package/mobile/src/components/Header/Header.tsx +6 -5
  1123. package/mobile/src/components/Header/HeaderBurger.tsx +2 -1
  1124. package/mobile/src/components/Header/HeaderSecondaryMenu.tsx +6 -4
  1125. package/mobile/src/components/Header/HeaderSubMenu.tsx +3 -2
  1126. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +2 -1
  1127. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +4 -3
  1128. package/mobile/src/components/LikeControl/LikeControl.tsx +11 -3
  1129. package/mobile/src/components/Recommendation/Recommendation.tsx +2 -1
  1130. package/mobile/src/components/SafeDepositRental/SafeDepositRental.tsx +3 -2
  1131. package/mobile/src/components/SafeDepositRental/SafeDepositRentalForm.tsx +32 -32
  1132. package/mobile/src/components/Tabs/Tabs.tsx +3 -2
  1133. package/mobile/src/components/__snapshots__/Blocks.spec.tsx.snap +11 -9
  1134. package/mobile/src/hooks/useExchangeRates.ts +2 -2
  1135. package/mobile/src/hooks/useGeolocation.ts +22 -0
  1136. package/mobile/src/hooks/useLikeService.ts +32 -0
  1137. package/mobile/src/hooks/useLink.ts +1 -1
  1138. package/mobile/src/hooks/useSafeDepositRental.ts +2 -2
  1139. package/mobile/src/hooks/useSearch.ts +10 -0
  1140. package/mobile/src/index.ts +2 -1
  1141. package/mobile/src/react/setup-fixture.ts +2 -55
  1142. package/mobile/src/services/sitemap/useSitemap.ts +2 -2
  1143. package/mobile/src/ui-kit/BlockWrapper.tsx +3 -2
  1144. package/mobile/src/ui-kit/BlocksList/BlocksListProps.ts +0 -2
  1145. package/mobile/src/ui-kit/Checkbox/Checkbox.tsx +28 -26
  1146. package/mobile/src/ui-kit/Foldable/Foldable.tsx +0 -2
  1147. package/mobile/src/ui-kit/Foldable/useActiveHandler.ts +3 -4
  1148. package/mobile/src/ui-kit/InputRange/InputRange.tsx +21 -7
  1149. package/mobile/src/ui-kit/InputRange/InputRangeProps.ts +1 -0
  1150. package/mobile/src/ui-kit/SearchBar/SearchBar.tsx +2 -2
  1151. package/mobile/src/ui-kit/SearchBar/SearchBarInner.tsx +57 -58
  1152. package/mobile/src/ui-kit/SwipeListControl/SwipeListControl.tsx +3 -3
  1153. package/package.json +2 -2
  1154. package/src/common.css +25 -7
  1155. package/src/components/Accordion/AccordionItem.mobile.tsx +1 -4
  1156. package/src/components/Accordion/AccordionItem.tsx +0 -1
  1157. package/src/components/Accordion/useActiveHandler.ts +3 -2
  1158. package/src/components/Blocks.spec.tsx +9 -15
  1159. package/src/components/Calculator/BonusCalculatorForm.tsx +4 -3
  1160. package/src/components/Calculator/Calculator.tsx +5 -4
  1161. package/src/components/Calculator/CreditCalculatorForm.tsx +8 -7
  1162. package/src/components/Calculator/DepositCalculatorForm.tsx +3 -2
  1163. package/src/components/Calculator/MortgageCalculatorForm.tsx +5 -4
  1164. package/src/components/Calculator/renderCalculatorBlock.tsx +1 -1
  1165. package/src/components/Calculator/useBonusCalculatorParams.ts +2 -6
  1166. package/src/components/Calculator/useCalculatorParams.ts +2 -2
  1167. package/src/components/Calculator/useCreditCalculatorParams.ts +1 -6
  1168. package/src/components/Catalog/Catalog.tsx +3 -2
  1169. package/src/components/ComparisonTable/ComparisonTable.mobile.tsx +3 -2
  1170. package/src/components/ComparisonTable/ComparisonTable.tsx +2 -1
  1171. package/src/components/ComparisonTable/ComparisonTableBody.tsx +5 -4
  1172. package/src/components/ContentPage/ContentPage.tsx +3 -5
  1173. package/src/components/ContentPage/ContentPageContext.tsx +1 -26
  1174. package/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +2 -1
  1175. package/src/components/ExchangeRateTile/ExchangeRateTile.tsx +1 -1
  1176. package/src/components/Footer/Footer.mobile.tsx +1 -1
  1177. package/src/components/Footer/Sitemap.tsx +2 -2
  1178. package/src/components/Gallery/GalleryInner.tsx +3 -2
  1179. package/src/components/GroupBlock/GroupBlock.tsx +2 -1
  1180. package/src/components/Header/Header.mobile.tsx +6 -5
  1181. package/src/components/Header/Header.tsx +1 -2
  1182. package/src/components/Header/HeaderBurger.tsx +2 -1
  1183. package/src/components/Header/HeaderSecondaryMenu.tsx +6 -4
  1184. package/src/components/Header/HeaderSubMenu.tsx +3 -2
  1185. package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +2 -1
  1186. package/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +4 -3
  1187. package/src/components/LikeControl/LikeControl.tsx +11 -3
  1188. package/src/components/ProductGallery/ProductGallery.tsx +3 -2
  1189. package/src/components/Recommendation/Recommendation.tsx +2 -1
  1190. package/src/components/SafeDepositRental/SafeDepositRental.tsx +3 -2
  1191. package/src/components/SafeDepositRental/SafeDepositRentalForm.tsx +32 -32
  1192. package/src/components/Tabs/Tabs.tsx +3 -2
  1193. package/src/components/TariffsTable/TariffsTable.tsx +3 -2
  1194. package/src/components/__snapshots__/Blocks.spec.tsx.snap +11 -9
  1195. package/src/hooks/useExchangeRates.ts +2 -2
  1196. package/src/hooks/useGeolocation.ts +22 -0
  1197. package/src/hooks/useLikeService.ts +32 -0
  1198. package/src/hooks/useLink.ts +1 -1
  1199. package/src/hooks/useSafeDepositRental.ts +2 -2
  1200. package/src/hooks/useSearch.ts +10 -0
  1201. package/src/index.ts +2 -1
  1202. package/src/react/setup-fixture.ts +2 -55
  1203. package/src/services/sitemap/useSitemap.ts +2 -2
  1204. package/src/ui-kit/BlockWrapper.tsx +3 -2
  1205. package/src/ui-kit/BlocksList/BlocksListProps.ts +0 -2
  1206. package/src/ui-kit/Checkbox/Checkbox.tsx +28 -26
  1207. package/src/ui-kit/Foldable/Foldable.tsx +0 -2
  1208. package/src/ui-kit/Foldable/useActiveHandler.ts +3 -4
  1209. package/src/ui-kit/InputRange/InputRange.tsx +21 -7
  1210. package/src/ui-kit/InputRange/InputRangeProps.ts +1 -0
  1211. package/src/ui-kit/SearchBar/SearchBar.mobile.tsx +2 -2
  1212. package/src/ui-kit/SearchBar/SearchBar.tsx +2 -2
  1213. package/src/ui-kit/SearchBar/SearchBarInner.tsx +57 -58
  1214. package/src/ui-kit/SwipeListControl/SwipeListControl.tsx +3 -3
@@ -4,4 +4,4 @@ export declare const ANNUITY = "annuity";
4
4
  export declare const DIFFERENTIAL = "differential";
5
5
  export interface CreditCalculatorProp extends CommonCalculatorProps, UniBlockProps {
6
6
  }
7
- export declare const CreditCalculatorForm: (props: import("@redneckz/uni-jsx").PropsWithChildren<CreditCalculatorProp, any>, context?: any) => any;
7
+ export declare const CreditCalculatorForm: import("@redneckz/uni-jsx").UNIComponent<CreditCalculatorProp, any, any>;
@@ -2,6 +2,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
2
2
  exports.CreditCalculatorForm = exports.DIFFERENTIAL = exports.ANNUITY = void 0;
3
3
  const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
4
  const uni_jsx_1 = require("@redneckz/uni-jsx");
5
+ const hooks_1 = require("@redneckz/uni-jsx/lib/hooks");
5
6
  const Checkbox_1 = require("../../ui-kit/Checkbox/Checkbox");
6
7
  const CalculatorValueBlock_1 = require("./CalculatorValueBlock");
7
8
  const constants_1 = require("./constants");
@@ -24,12 +25,12 @@ const paymentTypeItems = [
24
25
  },
25
26
  ];
26
27
  exports.CreditCalculatorForm = (0, uni_jsx_1.JSX)(({ context, className = '', sourceBookDir, buttons }) => {
27
- const [isAnnuity, toggleIsAnnuity] = context.useState(false);
28
- const [isInsurance, toggleIsInsurance] = context.useState(true);
29
- const [isSalaryClient, toggleIsSalaryClient] = context.useState(false);
30
- const [isStateEmployee, toggleIsStateEmployee] = context.useState(false);
31
- const [moneyValue, setMoneyValue] = context.useState(constants_1.DEFAULT_SUM);
32
- const [monthsValue, setMonthsValue] = context.useState(constants_1.DEFAULT_MONTHS);
28
+ const [isAnnuity, toggleIsAnnuity] = (0, hooks_1.useState)(false);
29
+ const [isInsurance, toggleIsInsurance] = (0, hooks_1.useState)(true);
30
+ const [isSalaryClient, toggleIsSalaryClient] = (0, hooks_1.useState)(false);
31
+ const [isStateEmployee, toggleIsStateEmployee] = (0, hooks_1.useState)(false);
32
+ const [moneyValue, setMoneyValue] = (0, hooks_1.useState)(constants_1.DEFAULT_SUM);
33
+ const [monthsValue, setMonthsValue] = (0, hooks_1.useState)(constants_1.DEFAULT_MONTHS);
33
34
  const userInputParams = {
34
35
  isAnnuity,
35
36
  isInsurance,
@@ -38,7 +39,7 @@ exports.CreditCalculatorForm = (0, uni_jsx_1.JSX)(({ context, className = '', so
38
39
  moneyValue,
39
40
  monthsValue,
40
41
  };
41
- const calculatorParams = (0, useCreditCalculatorParams_1.useCreditCalculatorParams)(context, userInputParams, sourceBookDir);
42
+ const calculatorParams = (0, useCreditCalculatorParams_1.useCreditCalculatorParams)(userInputParams, sourceBookDir);
42
43
  return ((0, jsx_runtime_1.jsxs)("section", { className: className, children: [(0, jsx_runtime_1.jsxs)("div", { className: "w-[468px]", children: [(0, renderWantedSumInput_1.renderWantedSumInput)('Сумма кредита, ₽', { ...calculatorParams, step: 500 }, setMoneyValue), (0, renderMonthsInput_1.renderMonthsInput)('Срок кредита, месяцев', calculatorParams, setMonthsValue), (0, jsx_runtime_1.jsxs)("div", { className: "pt-7", children: [(0, jsx_runtime_1.jsx)(Checkbox_1.Checkbox, { text: "\u041F\u043E\u043B\u0443\u0447\u0430\u044E \u0437\u0430\u0440\u043F\u043B\u0430\u0442\u0443 \u043D\u0430 \u0441\u0447\u0451\u0442 \u0432 \u0420\u043E\u0441\u0441\u0435\u043B\u044C\u0445\u043E\u0437\u0431\u0430\u043D\u043A\u0435", checked: isSalaryClient, onChange: toggleIsSalaryClient }), (0, jsx_runtime_1.jsx)(Checkbox_1.Checkbox, { className: "mt-3", text: "\u0420\u0430\u0431\u043E\u0442\u0430\u044E \u0432 \u0431\u044E\u0434\u0436\u0435\u0442\u043D\u043E\u0439 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", checked: isStateEmployee, onChange: toggleIsStateEmployee }), (0, jsx_runtime_1.jsx)(Checkbox_1.Checkbox, { className: "mt-3", text: "\u041A\u043E\u043C\u043F\u043B\u0435\u043A\u0441\u043D\u0430\u044F \u0441\u0442\u0440\u0430\u0445\u043E\u0432\u0430\u044F \u0437\u0430\u0449\u0438\u0442\u0430", checked: isInsurance, onChange: toggleIsInsurance })] })] }), (0, jsx_runtime_1.jsx)(Rate_1.Rate, { title: "\u0421\u0442\u0430\u0432\u043A\u0430", rate: calculatorParams.finalRate, rateBlockClassName: "tracking-[-25px]", unit: "%" }), (0, jsx_runtime_1.jsxs)("div", { className: "w-[351px]", children: [(0, jsx_runtime_1.jsx)(CalculatorValueBlock_1.CalculatorValueBlock, { title: isAnnuity ? 'Ежемесячный платеж' : 'Платёж в первый месяц', value: calculatorParams.monthlyPayment, postfix: "\u20BD" }), (0, renderPaymentTypeSelector_1.renderPaymentTypeSelector)(context, {
43
44
  items: paymentTypeItems,
44
45
  checkedItem: isAnnuity ? exports.ANNUITY : exports.DIFFERENTIAL,
@@ -1 +1 @@
1
- {"version":3,"file":"CreditCalculatorForm.js","sourceRoot":"","sources":["../../../src/components/Calculator/CreditCalculatorForm.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,6DAA0D;AAE1D,iEAA8D;AAC9D,2CAA0D;AAC1D,iCAA8B;AAC9B,+DAA4D;AAC5D,2DAAwD;AACxD,2EAAwE;AACxE,iEAA8D;AAC9D,2EAAwE;AAE3D,QAAA,OAAO,GAAG,SAAS,CAAC;AACpB,QAAA,YAAY,GAAG,cAAc,CAAC;AAE3C,MAAM,gBAAgB,GAAG;IACvB;QACE,EAAE,EAAE,eAAO;QACX,IAAI,EAAE,aAAa;KACpB;IACD;QACE,EAAE,EAAE,oBAAY;QAChB,IAAI,EAAE,oBAAoB;KAC3B;CACF,CAAC;AAIW,QAAA,oBAAoB,GAAG,IAAA,aAAG,EACrC,CAAC,EAAE,OAAO,EAAE,SAAS,GAAG,EAAE,EAAE,aAAa,EAAE,OAAO,EAAE,EAAE,EAAE;IACtD,MAAM,CAAC,SAAS,EAAE,eAAe,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC7D,MAAM,CAAC,WAAW,EAAE,iBAAiB,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,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IACF,EACN,uBAAC,WAAI,IACH,KAAK,EAAC,sCAAQ,EACd,IAAI,EAAE,gBAAgB,CAAC,SAAS,EAChC,kBAAkB,EAAC,kBAAkB,EACrC,IAAI,EAAC,GAAG,GACR,EACF,iCAAK,SAAS,EAAC,WAAW,aACxB,uBAAC,2CAAoB,IACnB,KAAK,EAAE,SAAS,CAAC,CAAC,CAAC,oBAAoB,CAAC,CAAC,CAAC,uBAAuB,EACjE,KAAK,EAAE,gBAAgB,CAAC,cAAc,EACtC,OAAO,EAAC,QAAG,GACX,EACD,IAAA,qDAAyB,EAAC,OAAO,EAAE;wBAClC,KAAK,EAAE,gBAAgB;wBACvB,WAAW,EAAE,SAAS,CAAC,CAAC,CAAC,eAAO,CAAC,CAAC,CAAC,oBAAY;wBAC/C,QAAQ,EAAE,CAAC,IAAY,EAAE,EAAE,CAAC,eAAe,CAAC,IAAI,KAAK,eAAO,CAAC;qBAC9D,CAAC,EACD,IAAA,yCAAmB,EAAC,OAAO,EAAE,OAAO,CAAC,IAClC,IACE,CACX,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"CreditCalculatorForm.js","sourceRoot":"","sources":["../../../src/components/Calculator/CreditCalculatorForm.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAuD;AAEvD,6DAA0D;AAE1D,iEAA8D;AAC9D,2CAA0D;AAC1D,iCAA8B;AAC9B,+DAA4D;AAC5D,2DAAwD;AACxD,2EAAwE;AACxE,iEAA8D;AAC9D,2EAAwE;AAE3D,QAAA,OAAO,GAAG,SAAS,CAAC;AACpB,QAAA,YAAY,GAAG,cAAc,CAAC;AAE3C,MAAM,gBAAgB,GAAG;IACvB;QACE,EAAE,EAAE,eAAO;QACX,IAAI,EAAE,aAAa;KACpB;IACD;QACE,EAAE,EAAE,oBAAY;QAChB,IAAI,EAAE,oBAAoB;KAC3B;CACF,CAAC;AAIW,QAAA,oBAAoB,GAAG,IAAA,aAAG,EACrC,CAAC,EAAE,O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6KAAiC,EACtC,OAAO,EAAE,eAAe,EACxB,QAAQ,EAAE,qBAAqB,GAC/B,EACF,uBAAC,mBAAQ,IACP,SAAS,EAAC,MAAM,EAChB,IAAI,EAAC,gKAA8B,EACnC,OAAO,EAAE,WAAW,EACpB,QAAQ,EAAE,iBAAiB,GAC3B,IACE,IACF,EACN,uBAAC,WAAI,IACH,KAAK,EAAC,sCAAQ,EACd,IAAI,EAAE,gBAAgB,CAAC,SAAS,EAChC,kBAAkB,EAAC,kBAAkB,EACrC,IAAI,EAAC,GAAG,GACR,EACF,iCAAK,SAAS,EAAC,WAAW,aACxB,uBAAC,2CAAoB,IACnB,KAAK,EAAE,SAAS,CAAC,CAAC,CAAC,oBAAoB,CAAC,CAAC,CAAC,uBAAuB,EACjE,KAAK,EAAE,gBAAgB,CAAC,cAAc,EACtC,OAAO,EAAC,QAAG,GACX,EACD,IAAA,qDAAyB,EAAC,OAAO,EAAE;wBAClC,KAAK,EAAE,gBAAgB;wBACvB,WAAW,EAAE,SAAS,CAAC,CAAC,CAAC,eAAO,CAAC,CAAC,CAAC,oBAAY;wBAC/C,QAAQ,EAAE,CAAC,IAAY,EAAE,EAAE,CAAC,eAAe,CAAC,IAAI,KAAK,eAAO,CAAC;qBAC9D,CAAC,EACD,IAAA,yCAAmB,EAAC,OAAO,EAAE,OAAO,CAAC,IAClC,IACE,CACX,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -2,4 +2,4 @@ import type { UniBlockProps } from '../../types';
2
2
  import { CommonCalculatorProps, DepositCalculatorParams } from './CalculatorContent';
3
3
  export interface DepositCalculatorProp extends DepositCalculatorParams, CommonCalculatorProps, UniBlockProps {
4
4
  }
5
- export declare const DepositCalculatorForm: (props: import("@redneckz/uni-jsx").PropsWithChildren<DepositCalculatorProp, any>, context?: any) => any;
5
+ export declare const DepositCalculatorForm: import("@redneckz/uni-jsx").UNIComponent<DepositCalculatorProp, any, any>;
@@ -3,6 +3,7 @@ exports.DepositCalculatorForm = void 0;
3
3
  const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
4
  // TEMP
5
5
  const uni_jsx_1 = require("@redneckz/uni-jsx");
6
+ const hooks_1 = require("@redneckz/uni-jsx/lib/hooks");
6
7
  const CalculatorValueBlock_1 = require("./CalculatorValueBlock");
7
8
  const constants_1 = require("./constants");
8
9
  const Rate_1 = require("./Rate");
@@ -10,8 +11,8 @@ const renderButtonSection_1 = require("./renderButtonSection");
10
11
  const renderMonthsInput_1 = require("./renderMonthsInput");
11
12
  const renderWantedSumInput_1 = require("./renderWantedSumInput");
12
13
  exports.DepositCalculatorForm = (0, uni_jsx_1.JSX)(({ context, className = '', buttons, rate }) => {
13
- const [moneyValue, setMoneyValue] = context.useState(constants_1.DEFAULT_SUM);
14
- const [monthsValue, setMonthsValue] = context.useState(constants_1.DEFAULT_MONTHS);
14
+ const [moneyValue, setMoneyValue] = (0, hooks_1.useState)(constants_1.DEFAULT_SUM);
15
+ const [monthsValue, setMonthsValue] = (0, hooks_1.useState)(constants_1.DEFAULT_MONTHS);
15
16
  const income = 948841;
16
17
  const finallySum = 1218841;
17
18
  return ((0, jsx_runtime_1.jsxs)("section", { className: className, children: [(0, jsx_runtime_1.jsxs)("div", { className: "w-[468px]", children: [(0, renderWantedSumInput_1.renderWantedSumInput)('Сумма вклада, ₽', {
@@ -1 +1 @@
1
- {"version":3,"file":"DepositCalculatorForm.js","sourceRoot":"","sources":["../../../src/components/Calculator/DepositCalculatorForm.tsx"],"names":[],"mappings":";;;AAAA,OAAO;AAEP,+CAAwC;AAGxC,iEAA8D;AAC9D,2CAOqB;AACrB,iCAA8B;AAC9B,+DAA4D;AAC5D,2DAAwD;AACxD,iEAA8D;AAOjD,QAAA,qBAAqB,GAAG,IAAA,aAAG,EACtC,CAAC,EAAE,OAAO,EAAE,SAAS,GAAG,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,EAAE;IAC7C,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAS,uBAAW,CAAC,CAAC;IAC1E,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAS,0BAAc,CAAC,CAAC;IAE/E,MAAM,MAAM,GAAG,MAAM,CAAC;IACtB,MAAM,UAAU,GAAG,OAAO,CAAC;IAE3B,OAAO,CACL,qCAAS,SAAS,EAAE,SAAS,aAC3B,iCAAK,SAAS,EAAC,WAAW,aACvB,IAAA,2CAAoB,EACnB,iBAAiB,EACjB;wBACE,UAAU;wBACV,MAAM,EAAE,2BAAe;wBACvB,MAAM,EAAE,2BAAe;qBACxB,EACD,aAAa,CACd,EACA,IAAA,qCAAiB,EAChB,sBAAsB,EACtB;wBACE,SAAS,EAAE,8BAAkB;wBAC7B,SAAS,EAAE,8BAAkB;wBAC7B,WAAW;qBACZ,EACD,cAAc,CACf,IACG,EACN,uBAAC,WAAI,IAAC,IAAI,EAAE,IAAI,IAAI,CAAC,EAAE,kBAAkB,EAAC,kBAAkB,EAAC,IAAI,EAAC,GAAG,GAAG,EACxE,iCAAK,SAAS,EAAC,WAAW,aACvB,MAAM,CAAC,CAAC,CAAC,CACR,uBAAC,2CAAoB,IAAC,KAAK,EAAC,kFAAiB,EAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAC,QAAG,EAAC,MAAM,EAAC,GAAG,GAAG,CACvF,CAAC,CAAC,CAAC,IAAI,EACP,UAAU,CAAC,CAAC,CAAC,CACZ,uBAAC,2CAAoB,IAAC,KAAK,EAAC,qGAAqB,EAAC,KAAK,EAAE,UAAU,EAAE,OAAO,EAAC,QAAG,GAAG,CACpF,CAAC,CAAC,CAAC,IAAI,EACP,IAAA,yCAAmB,EAAC,OAAO,EAAE,OAAO,CAAC,IAClC,IACE,CACX,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"DepositCalculatorForm.js","sourceRoot":"","sources":["../../../src/components/Calculator/DepositCalculatorForm.tsx"],"names":[],"mappings":";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AoB,IAAC,KAAK,EAAC,qGAAqB,EAAC,KAAK,EAAE,UAAU,EAAE,OAAO,EAAC,QAAG,GAAG,CACpF,CAAC,CAAC,CAAC,IAAI,EACP,IAAA,yCAAmB,EAAC,OAAO,EAAE,OAAO,CAAC,IAClC,IACE,CACX,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -4,8 +4,8 @@ import { DepositCalculatorProp } from './DepositCalculatorForm';
4
4
  import { MortgageCalculatorProp } from './MortgageCalculatorForm';
5
5
  export declare type EmbeddableCalcProps = CreditCalculatorProp | MortgageCalculatorProp | DepositCalculatorProp | BonusCalculatorProps;
6
6
  export declare const EmbeddableCalcBlocks: {
7
- CreditCalculatorForm: (props: import("@redneckz/uni-jsx").PropsWithChildren<CreditCalculatorProp, any>, context?: any) => any;
8
- MortgageCalculatorForm: (props: import("@redneckz/uni-jsx").PropsWithChildren<MortgageCalculatorProp, any>, context?: any) => any;
9
- DepositCalculatorForm: (props: import("@redneckz/uni-jsx").PropsWithChildren<DepositCalculatorProp, any>, context?: any) => any;
10
- BonusCalculatorForm: (props: import("@redneckz/uni-jsx").PropsWithChildren<BonusCalculatorProps, any>, context?: any) => any;
7
+ CreditCalculatorForm: import("@redneckz/uni-jsx").UNIComponent<CreditCalculatorProp, any, any>;
8
+ MortgageCalculatorForm: import("@redneckz/uni-jsx").UNIComponent<MortgageCalculatorProp, any, any>;
9
+ DepositCalculatorForm: import("@redneckz/uni-jsx").UNIComponent<DepositCalculatorProp, any, any>;
10
+ BonusCalculatorForm: import("@redneckz/uni-jsx").UNIComponent<BonusCalculatorProps, any, any>;
11
11
  };
@@ -2,4 +2,4 @@ import type { UniBlockProps } from '../../types';
2
2
  import { CommonCalculatorProps, MortgageCalculatorParams } from './CalculatorContent';
3
3
  export interface MortgageCalculatorProp extends MortgageCalculatorParams, CommonCalculatorProps, UniBlockProps {
4
4
  }
5
- export declare const MortgageCalculatorForm: (props: import("@redneckz/uni-jsx").PropsWithChildren<MortgageCalculatorProp, any>, context?: any) => any;
5
+ export declare const MortgageCalculatorForm: import("@redneckz/uni-jsx").UNIComponent<MortgageCalculatorProp, any, any>;
@@ -3,6 +3,7 @@ exports.MortgageCalculatorForm = void 0;
3
3
  const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
4
  // TEMP
5
5
  const uni_jsx_1 = require("@redneckz/uni-jsx");
6
+ const hooks_1 = require("@redneckz/uni-jsx/lib/hooks");
6
7
  const Checkbox_1 = require("../../ui-kit/Checkbox/Checkbox");
7
8
  const CalculatorValueBlock_1 = require("./CalculatorValueBlock");
8
9
  const constants_1 = require("./constants");
@@ -14,10 +15,10 @@ const renderMonthsInput_1 = require("./renderMonthsInput");
14
15
  const renderProposalMortgage_1 = require("./renderProposalMortgage");
15
16
  const renderRealEstateValue_1 = require("./renderRealEstateValue");
16
17
  exports.MortgageCalculatorForm = (0, uni_jsx_1.JSX)(({ context, className = '', buttons }) => {
17
- const [moneyValue, setMoneyValue] = context.useState(1000000);
18
- const [monthsValue, setMonthsValue] = context.useState(12);
19
- const [isInsurance, toggleIsInsurance] = context.useState(false);
20
- const [isFullInsurance, toggleIsFullInsurance] = context.useState(false);
18
+ const [moneyValue, setMoneyValue] = (0, hooks_1.useState)(1000000);
19
+ const [monthsValue, setMonthsValue] = (0, hooks_1.useState)(12);
20
+ const [isInsurance, toggleIsInsurance] = (0, hooks_1.useState)(false);
21
+ const [isFullInsurance, toggleIsFullInsurance] = (0, hooks_1.useState)(false);
21
22
  const calculatorParams = {}; // getCalculatorParams(context, { isAnnuity: isInsurance });
22
23
  const minMonths = /*calculatorParams?.minMonths ||*/ constants_1.DEFAULT_MIN_MONTHS;
23
24
  const maxMonths = /* calculatorParams?.maxMonths || */ constants_1.DEFAULT_MAX_MONTHS;
@@ -1 +1 @@
1
- {"version":3,"file":"MortgageCalculatorForm.js","sourceRoot":"","sources":["../../../src/components/Calculator/MortgageCalculatorForm.tsx"],"names":[],"mappings":";;;AAAA,OAAO;AACP,+CAAwC;AAEx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IAAA,6CAAqB,EACpB,yBAAyB,EACzB;wBACE,UAAU;qBACX,EACD,aAAa,CACd,EACA,IAAA,qCAAiB,EAChB,uBAAuB,EACvB;wBACE,SAAS;wBACT,SAAS;wBACT,WAAW;qBACZ,EACD,cAAc,CACf,EACD,iCAAK,SAAS,EAAC,MAAM,aACnB,uBAAC,mBAAQ,IAAC,IAAI,EAAC,mGAAmB,EAAC,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,iBAAiB,GAAI,EACxF,uBAAC,mBAAQ,IACP,SAAS,EAAC,MAAM,EAChB,IAAI,EAAC,yVAAiE,EACtE,OAAO,EAAE,eAAe,EACxB,QAAQ,EAAE,qBAAqB,GAC/B,IACE,IACF,EACN,4CACE,uBAAC,WAAI,IAAC,IAAI,EAAE,IAAI,EAAE,kBAAkB,EAAC,kBAAkB,EAAC,IAAI,EAAC,GAAG,GAAG,EAEnE,uBAAC,2CAAoB,IAAC,KAAK,EAAC,yGAAoB,EAAC,KAAK,EAAE,cAAc,EAAE,OAAO,EAAC,QAAG,GAAG,IAClF,EACN,4CACE,gCAAK,SAAS,EAAC,WAAW,YAAE,IAAA,+CAAsB,EAAC,qBAAqB,CAAC,GAAO,EAC/E,IAAA,yCAAmB,EAAC,OAAO,EAAE,OAAO,CAAC,IAClC,IACE,CACX,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"MortgageCalculatorForm.js","sourceRoot":"","sources":["../../../src/components/Calculator/MortgageCalculatorForm.tsx"],"names":[],"mappings":";;;AAAA,OAAO;AACP,+CAAwC;AACxC,uDAAuD;AAEvD,6DAA0D;AAE1D,iEAA8D;AAC9D,2CAAqE;AACrE,mDAAgD;AAChD,iCAA8B;AAC9B,+DAA4D;AAC5D,mEAAgE;AAChE,2DAAwD;AACxD,qEAAkE;AAClE,mEAAgE;AAOnD,QAAA,sBAAsB,GAAG,IAAA,aAAG,EACvC,CAAC,EAAE,OAAO,EAAE,SAAS,GAAG,EAAE,EAAE,OAAO,E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AW,EAAE,QAAQ,EAAE,iBAAiB,GAAI,EACxF,uBAAC,mBAAQ,IACP,SAAS,EAAC,MAAM,EAChB,IAAI,EAAC,yVAAiE,EACtE,OAAO,EAAE,eAAe,EACxB,QAAQ,EAAE,qBAAqB,GAC/B,IACE,IACF,EACN,4CACE,uBAAC,WAAI,IAAC,IAAI,EAAE,IAAI,EAAE,kBAAkB,EAAC,kBAAkB,EAAC,IAAI,EAAC,GAAG,GAAG,EAEnE,uBAAC,2CAAoB,IAAC,KAAK,EAAC,yGAAoB,EAAC,KAAK,EAAE,cAAc,EAAE,OAAO,EAAC,QAAG,GAAG,IAClF,EACN,4CACE,gCAAK,SAAS,EAAC,WAAW,YAAE,IAAA,+CAAsB,EAAC,qBAAqB,CAAC,GAAO,EAC/E,IAAA,yCAAmB,EAAC,OAAO,EAAE,OAAO,CAAC,IAClC,IACE,CACX,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -4,4 +4,4 @@ export interface RateProps {
4
4
  unit?: string;
5
5
  rateBlockClassName?: string;
6
6
  }
7
- export declare const Rate: (props: import("@redneckz/uni-jsx").PropsWithChildren<RateProps, any>, context?: any) => any;
7
+ export declare const Rate: import("@redneckz/uni-jsx").UNIComponent<RateProps, any, any>;
@@ -8,7 +8,7 @@ const renderCalculatorBlock = ({ context, className }) => (block, i) => {
8
8
  return null;
9
9
  }
10
10
  const EmbeddedBlock = EmbeddableCalcBlocks_1.EmbeddableCalcBlocks[type];
11
- return ((0, jsx_runtime_1.jsx)("section", { className: `box-border relative flex shrink-0 basis-full ${className}`, role: "listitem", children: (0, jsx_runtime_1.jsx)("div", { className: "box-border p-9 w-full", children: (0, jsx_runtime_1.jsx)(EmbeddedBlock, { context: context, ...block, className: "flex justify-between" }) }) }, String(i)));
11
+ return ((0, jsx_runtime_1.jsx)("section", { className: `box-border relative bg-white flex shrink-0 self-start basis-full ${className}`, role: "listitem", children: (0, jsx_runtime_1.jsx)("div", { className: "box-border p-9 w-full", children: (0, jsx_runtime_1.jsx)(EmbeddedBlock, { context: context, ...block, className: "flex justify-between" }) }) }, String(i)));
12
12
  };
13
13
  exports.renderCalculatorBlock = renderCalculatorBlock;
14
14
  //# sourceMappingURL=renderCalculatorBlock.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"renderCalculatorBlock.js","sourceRoot":"","sources":["../../../src/components/Calculator/renderCalculatorBlock.tsx"],"names":[],"mappings":";;;AAEA,iEAAmF;AAE5E,MAAM,qBAAqB,GAChC,CAAC,EAAE,OAAO,EAAE,SAAS,EAAO,EAAE,EAAE,CAChC,CAAC,KAAyB,EAAE,CAAS,EAAE,EAAE;IACvC,MAAM,IAAI,GAAG,KAAK,EAAE,QAAQ,CAAC;IAC7B,IAAI,CAAC,IAAI,IAAI,CAAC,CAAC,IAAI,IAAI,2CAAoB,CAAC,EAAE;QAC5C,OAAO,IAAI,CAAC;KACb;IACD,MAAM,aAAa,GAAkC,2CAAoB,CAAC,IAAI,CAAC,CAAC;IAEhF,OAAO,CACL,oCAEE,SAAS,EAAE,gDAAgD,SAAS,EAAE,EACtE,IAAI,EAAC,UAAU,YAEf,gCAAK,SAAS,EAAC,uBAAuB,YACpC,uBAAC,aAAa,IAAC,OAAO,EAAE,OAAO,KAAM,KAAK,EAAE,SAAS,EAAC,sBAAsB,GAAG,GAC3E,IAND,MAAM,CAAC,CAAC,CAAC,CAON,CACX,CAAC;AACJ,CAAC,CAAC;AApBS,QAAA,qBAAqB,yBAoB9B"}
1
+ {"version":3,"file":"renderCalculatorBlock.js","sourceRoot":"","sources":["../../../src/components/Calculator/renderCalculatorBlock.tsx"],"names":[],"mappings":";;;AAEA,iEAAmF;AAE5E,MAAM,qBAAqB,GAChC,CAAC,EAAE,OAAO,EAAE,SAAS,EAAO,EAAE,EAAE,CAChC,CAAC,KAAyB,EAAE,CAAS,EAAE,EAAE;IACvC,MAAM,IAAI,GAAG,KAAK,EAAE,QAAQ,CAAC;IAC7B,IAAI,CAAC,IAAI,IAAI,CAAC,CAAC,IAAI,IAAI,2CAAoB,CAAC,EAAE;QAC5C,OAAO,IAAI,CAAC;KACb;IACD,MAAM,aAAa,GAAkC,2CAAoB,CAAC,IAAI,CAAC,CAAC;IAEhF,OAAO,CACL,oCAEE,SAAS,EAAE,oEAAoE,SAAS,EAAE,EAC1F,IAAI,EAAC,UAAU,YAEf,gCAAK,SAAS,EAAC,uBAAuB,YACpC,uBAAC,aAAa,IAAC,OAAO,EAAE,OAAO,KAAM,KAAK,EAAE,SAAS,EAAC,sBAAsB,GAAG,GAC3E,IAND,MAAM,CAAC,CAAC,CAAC,CAON,CACX,CAAC;AACJ,CAAC,CAAC;AApBS,QAAA,qBAAqB,yBAoB9B"}
@@ -1,4 +1,3 @@
1
- import type { ContentPageContext } from '../ContentPage/ContentPageContext';
2
1
  export interface BonusCalculatorUserInputParams {
3
2
  travelExpenseValue: number;
4
3
  restExpenseValue: number;
@@ -19,7 +18,7 @@ export interface BonusCalculatorParams extends BonusCalculatorUserInputParams, B
19
18
  monthBonus: number;
20
19
  yearBonus: number;
21
20
  }
22
- export declare const useBonusCalculatorParams: (context: ContentPageContext, userInputParams: BonusCalculatorUserInputParams, sourceBookDir: string) => {
21
+ export declare const useBonusCalculatorParams: (userInputParams: BonusCalculatorUserInputParams, sourceBookDir: string) => {
23
22
  monthBonus: number;
24
23
  yearBonus: number;
25
24
  travelExpenseValue: number;
@@ -3,9 +3,10 @@ exports.useBonusCalculatorParams = void 0;
3
3
  const constants_1 = require("./constants");
4
4
  const getBonus_1 = require("./getBonus");
5
5
  const useCalculatorParams_1 = require("./useCalculatorParams");
6
- const useBonusCalculatorParams = (context, userInputParams, sourceBookDir) => {
6
+ const useBonusCalculatorParams = (userInputParams, sourceBookDir) => {
7
7
  const { travelExpenseValue, restExpenseValue } = userInputParams;
8
- const bonusCalculatorSourceBookParams = (0, useCalculatorParams_1.useCalculatorParams)(context.useAsyncData, sourceBookDir || constants_1.BONUS_CALC_DEFAULT_DIR) || constants_1.DEFAULT_BONUS_CALCULATOR_PARAMS;
8
+ const bonusCalculatorSourceBookParams = (0, useCalculatorParams_1.useCalculatorParams)(sourceBookDir || constants_1.BONUS_CALC_DEFAULT_DIR) ||
9
+ constants_1.DEFAULT_BONUS_CALCULATOR_PARAMS;
9
10
  const [monthBonus, yearBonus] = (0, getBonus_1.getBonus)(bonusCalculatorSourceBookParams, travelExpenseValue, restExpenseValue);
10
11
  return {
11
12
  ...bonusCalculatorSourceBookParams,
@@ -1 +1 @@
1
- {"version":3,"file":"useBonusCalculatorParams.js","sourceRoot":"","sources":["../../../src/components/Calculator/useBonusCalculatorParams.ts"],"names":[],"mappings":";;AACA,2CAAsF;AACtF,yCAAsC;AACtC,+DAA4D;AA2BrD,MAAM,wBAAwB,GAAG,CACtC,OAA2B,EAC3B,eAA+C,EAC/C,aAAqB,EACrB,EAAE;IACF,MAAM,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,GAAG,eAAe,CAAC;IACjE,MAAM,+BAA+B,GACnC,IAAA,yCAAmB,EACjB,OAAO,CAAC,YAAY,EACpB,aAAa,IAAI,kCAAsB,CACxC,IAAI,2CAA+B,CAAC;IAEvC,MAAM,CAAC,UAAU,EAAE,SAAS,CAAC,GAAG,IAAA,mBAAQ,EACtC,+BAA+B,EAC/B,kBAAkB,EAClB,gBAAgB,CACjB,CAAC;IAEF,OAAO;QACL,GAAG,+BAA+B;QAClC,GAAG,eAAe;QAClB,UAAU;QACV,SAAS;KACV,CAAC;AACJ,CAAC,CAAC;AAxBW,QAAA,wBAAwB,4BAwBnC"}
1
+ {"version":3,"file":"useBonusCalculatorParams.js","sourceRoot":"","sources":["../../../src/components/Calculator/useBonusCalculatorParams.ts"],"names":[],"mappings":";;AAAA,2CAAsF;AACtF,yCAAsC;AACtC,+DAA4D;AA2BrD,MAAM,wBAAwB,GAAG,CACtC,eAA+C,EAC/C,aAAqB,EACrB,EAAE;IACF,MAAM,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,GAAG,eAAe,CAAC;IACjE,MAAM,+BAA+B,GACnC,IAAA,yCAAmB,EAAkC,aAAa,IAAI,kCAAsB,CAAC;QAC7F,2CAA+B,CAAC;IAElC,MAAM,CAAC,UAAU,EAAE,SAAS,CAAC,GAAG,IAAA,mBAAQ,EACtC,+BAA+B,EAC/B,kBAAkB,EAClB,gBAAgB,CACjB,CAAC;IAEF,OAAO;QACL,GAAG,+BAA+B;QAClC,GAAG,eAAe;QAClB,UAAU;QACV,SAAS;KACV,CAAC;AACJ,CAAC,CAAC;AArBW,QAAA,wBAAwB,4BAqBnC"}
@@ -1,2 +1 @@
1
- import type { AsyncDataHook } from '../ContentPage/ContentPageContext';
2
- export declare function useCalculatorParams<Data>(useAsyncData: AsyncDataHook, dir: string): Data | undefined;
1
+ export declare function useCalculatorParams<Data>(dir: string): Data | undefined;
@@ -1,7 +1,8 @@
1
1
  Object.defineProperty(exports, "__esModule", { value: true });
2
2
  exports.useCalculatorParams = void 0;
3
- function useCalculatorParams(useAsyncData, dir) {
4
- const { data } = useAsyncData(`/wcms-resources/${dir}.json`, fetchCalculatorSourceBookParams);
3
+ const useAsyncData_1 = require("@redneckz/uni-jsx/lib/hooks/useAsyncData");
4
+ function useCalculatorParams(dir) {
5
+ const { data } = (0, useAsyncData_1.useAsyncData)(`/wcms-resources/${dir}.json`, fetchCalculatorSourceBookParams);
5
6
  return data;
6
7
  }
7
8
  exports.useCalculatorParams = useCalculatorParams;
@@ -1 +1 @@
1
- {"version":3,"file":"useCalculatorParams.js","sourceRoot":"","sources":["../../../src/components/Calculator/useCalculatorParams.ts"],"names":[],"mappings":";;AAEA,SAAgB,mBAAmB,CAAO,YAA2B,EAAE,GAAW;IAChF,MAAM,EAAE,IAAI,EAAE,GAAG,YAAY,CAC3B,mBAAmB,GAAG,OAAO,EAC7B,+BAA+B,CAChC,CAAC;IAEF,OAAO,IAAI,CAAC;AACd,CAAC;AAPD,kDAOC;AAED,KAAK,UAAU,+BAA+B,CAAO,GAAW;IAC9D,MAAM,QAAQ,GAAG,MAAM,KAAK,CAAC,GAAG,CAAC,CAAC;IAElC,OAAO,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC;AAC/B,CAAC"}
1
+ {"version":3,"file":"useCalculatorParams.js","sourceRoot":"","sources":["../../../src/components/Calculator/useCalculatorParams.ts"],"names":[],"mappings":";;AAAA,2EAAwE;AAExE,SAAgB,mBAAmB,CAAO,GAAW;IACnD,MAAM,EAAE,IAAI,EAAE,GAAG,IAAA,2BAAY,EAC3B,mBAAmB,GAAG,OAAO,EAC7B,+BAA+B,CAChC,CAAC;IAEF,OAAO,IAAI,CAAC;AACd,CAAC;AAPD,kDAOC;AAED,KAAK,UAAU,+BAA+B,CAAO,GAAW;IAC9D,MAAM,QAAQ,GAAG,MAAM,KAAK,CAAC,GAAG,CAAC,CAAC;IAElC,OAAO,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC;AAC/B,CAAC"}
@@ -1,4 +1,3 @@
1
- import type { ContentPageContext } from '../ContentPage/ContentPageContext';
2
1
  export interface CommonCreditParams {
3
2
  isInsurance: boolean;
4
3
  isSalaryClient: boolean;
@@ -25,4 +24,4 @@ export interface CreditCalculatorParams extends CreditCalculatorSourceBookParams
25
24
  export declare type CreditCalculatorData = {
26
25
  rows: CreditCalculatorSourceBookParams[];
27
26
  };
28
- export declare const useCreditCalculatorParams: (context: ContentPageContext, userInputParams: CreditCalculatorUserInputParams, sourceBookDir?: string) => CreditCalculatorParams;
27
+ export declare const useCreditCalculatorParams: (userInputParams: CreditCalculatorUserInputParams, sourceBookDir?: string) => CreditCalculatorParams;
@@ -3,9 +3,9 @@ exports.useCreditCalculatorParams = void 0;
3
3
  const constants_1 = require("./constants");
4
4
  const getMonthlyPayment_1 = require("./getMonthlyPayment");
5
5
  const useCalculatorParams_1 = require("./useCalculatorParams");
6
- const useCreditCalculatorParams = (context, userInputParams, sourceBookDir) => {
6
+ const useCreditCalculatorParams = (userInputParams, sourceBookDir) => {
7
7
  const { isInsurance, isSalaryClient, isStateEmployee, moneyValue } = userInputParams;
8
- const data = (0, useCalculatorParams_1.useCalculatorParams)(context.useAsyncData, sourceBookDir || constants_1.CREDIT_CALC_DEFAULT_DIR);
8
+ const data = (0, useCalculatorParams_1.useCalculatorParams)(sourceBookDir || constants_1.CREDIT_CALC_DEFAULT_DIR);
9
9
  const creditCalculatorSourceBookParams = data?.rows?.find((_) => {
10
10
  return (isInsurance === _.isInsurance &&
11
11
  isSalaryClient === _.isSalaryClient &&
@@ -1 +1 @@
1
- {"version":3,"file":"useCreditCalculatorParams.js","sourceRoot":"","sources":["../../../src/components/Calculator/useCreditCalculatorParams.ts"],"names":[],"mappings":";;AACA,2CAAwF;AACxF,2DAAwD;AACxD,+DAA4D;AAkCrD,MAAM,yBAAyB,GAAG,CACvC,OAA2B,EAC3B,eAAgD,EAChD,aAAsB,EACE,EAAE;IAC1B,MAAM,EAAE,WAAW,EAAE,cAAc,EAAE,eAAe,EAAE,UAAU,EAAE,GAAG,eAAe,CAAC;IAErF,MAAM,IAAI,GAAG,IAAA,yCAAmB,EAC9B,OAAO,CAAC,YAAY,EACpB,aAAa,IAAI,mCAAuB,CACzC,CAAC;IACF,MAAM,gCAAgC,GACpC,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE;QACrB,OAAO,CACL,WAAW,KAAK,CAAC,CAAC,WAAW;YAC7B,cAAc,KAAK,CAAC,CAAC,cAAc;YACnC,eAAe,KAAK,CAAC,CAAC,eAAe,CACtC,CAAC;IACJ,CAAC,CAAC,IAAI,4CAAgC,CAAC;IAEzC,MAAM,EAAE,eAAe,EAAE,YAAY,EAAE,SAAS,EAAE,GAAG,gCAAgC,CAAC;IACtF,MAAM,SAAS,GAAG,UAAU,IAAI,SAAS,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,YAAY,CAAC;IAC3E,MAAM,cAAc,GAAG,IAAA,qCAAiB,EAAC,SAAS,EAAE,eAAe,CAAC,CAAC;IAErE,MAAM,wBAAwB,GAAG;QAC/B,GAAG,gCAAgC;QACnC,GAAG,eAAe;QAClB,SAAS;QACT,cAAc;KACf,CAAC;IAEF,OAAO,wBAAwB,CAAC;AAClC,CAAC,CAAC;AAhCW,QAAA,yBAAyB,6BAgCpC"}
1
+ {"version":3,"file":"useCreditCalculatorParams.js","sourceRoot":"","sources":["../../../src/components/Calculator/useCreditCalculatorParams.ts"],"names":[],"mappings":";;AAAA,2CAAwF;AACxF,2DAAwD;AACxD,+DAA4D;AAkCrD,MAAM,yBAAyB,GAAG,CACvC,eAAgD,EAChD,aAAsB,EACE,EAAE;IAC1B,MAAM,EAAE,WAAW,EAAE,cAAc,EAAE,eAAe,EAAE,UAAU,EAAE,GAAG,eAAe,CAAC;IAErF,MAAM,IAAI,GAAG,IAAA,yCAAmB,EAAuB,aAAa,IAAI,mCAAuB,CAAC,CAAC;IACjG,MAAM,gCAAgC,GACpC,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE;QACrB,OAAO,CACL,WAAW,KAAK,CAAC,CAAC,WAAW;YAC7B,cAAc,KAAK,CAAC,CAAC,cAAc;YACnC,eAAe,KAAK,CAAC,CAAC,eAAe,CACtC,CAAC;IACJ,CAAC,CAAC,IAAI,4CAAgC,CAAC;IAEzC,MAAM,EAAE,eAAe,EAAE,YAAY,EAAE,SAAS,EAAE,GAAG,gCAAgC,CAAC;IACtF,MAAM,SAAS,GAAG,UAAU,IAAI,SAAS,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,YAAY,CAAC;IAC3E,MAAM,cAAc,GAAG,IAAA,qCAAiB,EAAC,SAAS,EAAE,eAAe,CAAC,CAAC;IAErE,MAAM,wBAAwB,GAAG;QAC/B,GAAG,gCAAgC;QACnC,GAAG,eAAe;QAClB,SAAS;QACT,cAAc;KACf,CAAC;IAEF,OAAO,wBAAwB,CAAC;AAClC,CAAC,CAAC;AA5BW,QAAA,yBAAyB,6BA4BpC"}
@@ -2,4 +2,4 @@ import type { UniBlockProps } from '../../types';
2
2
  import type { CatalogContent } from './CatalogContent';
3
3
  export interface CatalogProps extends CatalogContent, UniBlockProps {
4
4
  }
5
- export declare const Catalog: (props: import("@redneckz/uni-jsx").PropsWithChildren<CatalogProps, any>, context?: any) => any;
5
+ export declare const Catalog: import("@redneckz/uni-jsx").UNIComponent<CatalogProps, any, any>;
@@ -2,15 +2,16 @@ Object.defineProperty(exports, "__esModule", { value: true });
2
2
  exports.Catalog = void 0;
3
3
  const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
4
  const uni_jsx_1 = require("@redneckz/uni-jsx");
5
+ const hooks_1 = require("@redneckz/uni-jsx/lib/hooks");
5
6
  const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
6
7
  const renderArrows_1 = require("../../ui-kit/Button/renderArrows");
7
- const CatalogCard_1 = require("./CatalogCard");
8
8
  const Headline_1 = require("../Headline/Headline");
9
+ const CatalogCard_1 = require("./CatalogCard");
9
10
  const BLUR_BLOCK_CLASSES = 'absolute top-0 bottom-0 w-[84px]';
10
11
  const CARD_FULL_VIEW_COUNT = 3;
11
12
  const CARD_SHIFT = 430;
12
13
  exports.Catalog = (0, uni_jsx_1.JSX)(({ context, cards = [], className = '', title, description, ...rest }) => {
13
- const [activeCardIndex, setActiveCardIndex] = context.useState(0);
14
+ const [activeCardIndex, setActiveCardIndex] = (0, hooks_1.useState)(0);
14
15
  return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { context: context, className: `bg-white relative font-sans p-12 overflow-hidden text-center ${className}`, ...rest, children: [(0, jsx_runtime_1.jsx)(Headline_1.Headline, { context: context, className: "!p-0", title: title, description: description, headlineVersion: "M", align: "center" }), (0, jsx_runtime_1.jsx)("div", { className: "flex duration-1000 gap-3.5 mt-8", style: { transform: `translateX(-${activeCardIndex * CARD_SHIFT}px)` }, role: "list", children: cards?.length ? cards.map(renderCatalogCard(context)) : null }), renderNavButtons({
15
16
  cardsCount: cards.length,
16
17
  activeCardI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B,EAAE,CAAS,EAAE,EAAE;IAC9F,OAAO,uBAAC,yBAAW,IAAiB,OAAO,EAAE,OAAO,KAAM,IAAI,IAArC,MAAM,CAAC,CAAC,CAAC,CAAgC,CAAC;AACrE,CAAC,CAAC;AAQF,MAAM,gBAAgB,GAAG,CAAC,EACxB,UAAU,EACV,eAAe,EACf,kBAAkB,GACI,EAAE,EAAE;IAC1B,MAAM,eAAe,GAAG,GAAG,EAAE,CAAC,kBAAkB,CAAC,eAAe,GAAG,CAAC,CAAC,CAAC;IACtE,MAAM,eAAe,GAAG,GAAG,EAAE,CAAC,kBAAkB,CAAC,eAAe,GAAG,CAAC,CAAC,CAAC;IAEtE,MAAM,WAAW,GAAG,UAAU,GAAG,oBAAoB,CAAC;IACtD,MAAM,cAAc,GAAG,WAAW,IAAI,UAAU,GAAG,eAAe,GAAG,oBAAoB,CAAC;IAC1F,MAAM,cAAc,GAAG,WAAW,IAAI,eAAe,GAAG,CAAC,CAAC;IAE1D,OAAO,IAAA,2BAAY,EAAC;QAClB,OAAO,EAAE,CAAC,eAAe,EAAE,eAAe,CAAC;QAC3C,OAAO,EAAE,CAAC,cAAc,EAAE,cAAc,CAAC;QACzC,QAAQ,EAAE,CAAC,QAAQ,EAAE,SAAS,CAAC;QAC/B,SAAS,EAAE,mBAAmB;KAC/B,CAAC,CAAC;AACL,CAAC,CAAC"}
@@ -4,4 +4,4 @@ import type { CatalogCardType } from './CatalogContent';
4
4
  export interface CatalogCardProps extends CatalogCardType, UniBlockProps {
5
5
  version?: BlockVersion;
6
6
  }
7
- export declare const CatalogCard: (props: import("@redneckz/uni-jsx").PropsWithChildren<CatalogCardProps, any>, context?: any) => any;
7
+ export declare const CatalogCard: import("@redneckz/uni-jsx").UNIComponent<CatalogCardProps, any, any>;
@@ -2,4 +2,4 @@ import type { UniBlockProps } from '../../types';
2
2
  import type { ComparisonTableContent } from './ComparisonTableContent';
3
3
  export interface ComparisonTableProps extends ComparisonTableContent, UniBlockProps {
4
4
  }
5
- export declare const ComparisonTable: (props: import("@redneckz/uni-jsx").PropsWithChildren<ComparisonTableProps, any>, context?: any) => any;
5
+ export declare const ComparisonTable: import("@redneckz/uni-jsx").UNIComponent<ComparisonTableProps, any, any>;
@@ -2,6 +2,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
2
2
  exports.ComparisonTable = void 0;
3
3
  const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
4
  const uni_jsx_1 = require("@redneckz/uni-jsx");
5
+ const hooks_1 = require("@redneckz/uni-jsx/lib/hooks");
5
6
  const Heading_1 = require("../../ui-kit/Heading/Heading");
6
7
  const SwipeListControl_1 = require("../../ui-kit/SwipeListControl/SwipeListControl");
7
8
  const TableColumn_1 = require("./TableColumn");
@@ -10,7 +11,7 @@ exports.ComparisonTable = (0, uni_jsx_1.JSX)(({ className, context, title, rowHe
10
11
  header,
11
12
  column: data?.map((cell, i) => ({ cell, rowHeader: rowHeaders?.[i]?.title })),
12
13
  })) || [];
13
- const [columnsViewState, setColumnsViewState] = context.useState(new Array(columns?.length).fill(!visibleRowLength));
14
+ const [columnsViewState, setColumnsViewState] = (0, hooks_1.useState)(new Array(columns?.length || 0).fill(!visibleRowLength));
14
15
  const handleToggleColumn = (i) => {
15
16
  columnsViewState[i] = !columnsViewState[i];
16
17
  setColumnsViewState([...columnsViewState]);
@@ -1 +1 @@
1
- {"version":3,"file":"ComparisonTable.js","sourceRoot":"","sources":["../../../src/components/ComparisonTable/ComparisonTable.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,0DAAuD;AACvD,qFAAkF;AAElF,+CAA4C;AAI/B,QAAA,eAAe,GAAG,IAAA,aAAG,EAChC,CAAC,EACC,SAAS,EACT,OAAO,EACP,KAAK,EACL,UAAU,EACV,OAAO,EACP,gBAAgB,GAAG,CAAC,EACpB,oBAAoB,GAAG,KAAK,EAC5B,WAAW,GAAG,UAAU,GACzB,EAAE,EAAE;IACH,MAAM,SAAS,GACb,OAAO,EAAE,G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CAC7B,uBAAC,mCAAgB,IACf,OAAO,EAAE,OAAO,EAChB,aAAa,EAAE,aAAa,CAAC,gBAAgB,EAAE,mBAAmB,CAAC,YAElE,SAAS,CAAC,GAAG,CACZ,YAAY,CAAC;QACX,OAAO;QACP,gBAAgB;QAChB,oBAAoB;QACpB,gBAAgB;QAChB,kBAAkB;KACnB,CAAC,CACH,GACgB,CACpB,CAAC,CAAC,CAAC,CACF,SAAS,CAAC,GAAG,CACX,YAAY,CAAC;IACX,OAAO;IACP,gBAAgB;IAChB,oBAAoB;IACpB,gBAAgB;IAChB,kBAAkB;CACnB,CAAC,CACH,CACF,CAAC;AAEJ,MAAM,YAAY,GAChB,CAAC,EAAE,OAAO,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,EAAE,EAAE,CAC9F,CAAC,UAAU,EAAE,CAAC,EAAE,EAAE,CAChB,CACE,uBAAC,yBAAW,IAEV,OAAO,EAAE,OAAO,EAChB,gBAAgB,EAAE,gBAAgB,EAClC,OAAO,EAAE,gBAAgB,CAAC,CAAC,CAAC,EAC5B,MAAM,EAAE,UAAU,CAAC,MAAM,EACzB,UAAU,EAAE,UAAU,CAAC,MAAM,EAC7B,cAAc,EAAE,CAAC,KAAK,CAAC,IAAI,oBAAoB,EAC/C,cAAc,EAAE,GAAG,EAAE,CAAC,kBAAkB,CAAC,CAAC,CAAC,IAPtC,MAAM,CAAC,CAAC,CAAC,CAQd,CACH,CAAC;AAEN,MAAM,aAAa,GAAG,CAAC,gBAAgB,EAAE,mBAAmB,EAAE,EAAE,CAAC,GAAG,EAAE;IACpE,mBAAmB,CAAC,IAAI,KAAK,CAAC,gBAAgB,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC;AACtE,CAAC,CAAC"}
@@ -8,5 +8,5 @@ interface ComparisonTableBodyProps {
8
8
  isColoredFirstColumn: boolean;
9
9
  visibleRowLength: number;
10
10
  }
11
- export declare const ComparisonTableBody: (props: import("@redneckz/uni-jsx").PropsWithChildren<ComparisonTableBodyProps, any>, context?: any) => any;
11
+ export declare const ComparisonTableBody: import("@redneckz/uni-jsx").UNIComponent<ComparisonTableBodyProps, any, any>;
12
12
  export {};
@@ -2,9 +2,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
2
2
  exports.ComparisonTableBody = void 0;
3
3
  const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
4
  const uni_jsx_1 = require("@redneckz/uni-jsx");
5
+ const hooks_1 = require("@redneckz/uni-jsx/lib/hooks");
6
+ const useTableArrowScrollControl_1 = require("../../hooks/useTableArrowScrollControl");
5
7
  const ComparisonTableColumnHeaders_1 = require("./ComparisonTableColumnHeaders");
6
8
  const ComparisonTableRows_1 = require("./ComparisonTableRows");
7
- const useTableArrowScrollControl_1 = require("../../hooks/useTableArrowScrollControl");
8
9
  const constants_1 = require("./constants");
9
10
  exports.ComparisonTableBody = (0, uni_jsx_1.JSX)(({ context, columns, rowHeaders, isShowAllRow, visibleRowLength, isColoredFirstColumn }) => {
10
11
  const router = context.useRouter();
@@ -17,7 +18,7 @@ exports.ComparisonTableBody = (0, uni_jsx_1.JSX)(({ context, columns, rowHeaders
17
18
  data: colData.map((col) => col?.[i] || [{}]),
18
19
  }))
19
20
  .slice(0, isShowAllRow ? rowHeaders.length : visibleRowLength);
20
- const [activeCardIndex, setActiveCardIndex] = context.useState(0);
21
+ const [activeCardIndex, setActiveCardIndex] = (0, hooks_1.useState)(0);
21
22
  const tableArrowScrollProps = (0, useTableArrowScrollControl_1.useTableArrowScrollControl)({
22
23
  columnsLength: colData.length,
23
24
  colsLengthForScroll: constants_1.COLS_LENGTH_FOR_SCROLL,
@@ -1 +1 @@
1
- {"version":3,"file":"ComparisonTableBody.js","sourceRoot":"","sources":["../../../src/components/ComparisonTable/ComparisonTableBody.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,iFAA8E;AAC9E,+DAA4D;AAC5D,uFAAo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OAAO,aACd,UAAU,EAAE,MAAM,CAAC,CAAC,CAAC,CACpB,uBAAC,2DAA4B,IAC3B,UAAU,EAAE,UAAU,EACtB,eAAe,EAAE,eAAe,EAChC,MAAM,EAAE,MAAM,EACd,gBAAgB,EAAE,gBAAgB,GAClC,CACH,CAAC,CAAC,CAAC,IAAI,EACP,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC,CACjB,uBAAC,yCAAmB,IAClB,OAAO,EAAE,OAAO,EAChB,eAAe,EAAE,eAAe,EAChC,oBAAoB,EAAE,oBAAoB,KACtC,qBAAqB,GACzB,CACH,CAAC,CAAC,CAAC,IAAI,IACJ,EACL,iBAAiB,CAAC,CAAC,CAAC,CACnB,gCAAK,SAAS,EAAC,8DAA8D,GAAG,CACjF,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"ComparisonTableBody.js","sourceRoot":"","sources":["../../../src/components/ComparisonTable/ComparisonTableBody.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAuD;AACvD,uFAAoF;AAEpF,iFAA8E;AAE9E,+DAA4D;AAC5D,2CAAqD;AAWxC,QAAA,mBAAmB,GAAG,IAAA,aAAG,EACpC,CAAC,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,EAAE,EAAE;IACzF,MAAM,MAAM,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC;IACnC,MAAM,EAAE,gBAAgB,EAAE,GAAG,OAAO,CAAC;IAErC,MAAM,UAAU,GAAG,OAAO,EAAE,GAAG,CAAC,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,MAAM,IAAI,EAAE,CAAC,CAAC;IAC9D,MAAM,OAAO,GAAG,OAAO,EAAE,GAAG,CAAC,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;IACvD,M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,CAAC,CACF,CAAC"}
@@ -6,5 +6,5 @@ interface ComparisonTableColumnHeadersProps {
6
6
  router: Router;
7
7
  handlerDecorator: HandlerDecorator | undefined;
8
8
  }
9
- export declare const ComparisonTableColumnHeaders: (props: import("@redneckz/uni-jsx").PropsWithChildren<ComparisonTableColumnHeadersProps, any>, context?: any) => any;
9
+ export declare const ComparisonTableColumnHeaders: import("@redneckz/uni-jsx").UNIComponent<ComparisonTableColumnHeadersProps, any, any>;
10
10
  export {};
@@ -9,5 +9,5 @@ declare type ComparisonTableRowsProps = TableArrowScrollControlProps & {
9
9
  activeCardIndex: number;
10
10
  isColoredFirstColumn: boolean;
11
11
  };
12
- export declare const ComparisonTableRows: (props: import("@redneckz/uni-jsx").PropsWithChildren<ComparisonTableRowsProps, any>, context?: any) => any;
12
+ export declare const ComparisonTableRows: import("@redneckz/uni-jsx").UNIComponent<ComparisonTableRowsProps, any, any>;
13
13
  export {};
@@ -8,4 +8,4 @@ export interface HeaderCellProps {
8
8
  isFillGradient?: boolean;
9
9
  link?: LinkProps;
10
10
  }
11
- export declare const HeaderCell: (props: import("@redneckz/uni-jsx").PropsWithChildren<HeaderCellProps, any>, context?: any) => any;
11
+ export declare const HeaderCell: import("@redneckz/uni-jsx").UNIComponent<HeaderCellProps, any, any>;
@@ -4,4 +4,4 @@ export interface TableCarouselContainerProps {
4
4
  columnWidth: number;
5
5
  version?: TableVersion;
6
6
  }
7
- export declare const TableCarouselContainer: (props: import("@redneckz/uni-jsx").PropsWithChildren<TableCarouselContainerProps, any>, context?: any) => any;
7
+ export declare const TableCarouselContainer: import("@redneckz/uni-jsx").UNIComponent<TableCarouselContainerProps, any, any>;
@@ -6,4 +6,4 @@ export interface TableCellProps {
6
6
  isFirstRow?: boolean;
7
7
  isFillGradient?: boolean;
8
8
  }
9
- export declare const TableCell: (props: import("@redneckz/uni-jsx").PropsWithChildren<TableCellProps, any>, context?: any) => any;
9
+ export declare const TableCell: import("@redneckz/uni-jsx").UNIComponent<TableCellProps, any, any>;
@@ -8,4 +8,4 @@ export interface TableColumnProps extends UniBlockProps {
8
8
  showRow: boolean;
9
9
  onToggleColumn: () => void;
10
10
  }
11
- export declare const TableColumn: (props: import("@redneckz/uni-jsx").PropsWithChildren<TableColumnProps, any>, context?: any) => any;
11
+ export declare const TableColumn: import("@redneckz/uni-jsx").UNIComponent<TableColumnProps, any, any>;
@@ -7,4 +7,4 @@ export interface TableRowProps {
7
7
  isFirstRow: boolean;
8
8
  isLastRow: boolean;
9
9
  }
10
- export declare const TableRow: (props: import("@redneckz/uni-jsx").PropsWithChildren<TableRowProps, any>, context?: any) => any;
10
+ export declare const TableRow: import("@redneckz/uni-jsx").UNIComponent<TableRowProps, any, any>;
@@ -1,4 +1 @@
1
- export declare const TableRowContainer: (props: {
2
- key?: string | undefined;
3
- children?: any;
4
- }, context?: any) => any;
1
+ export declare const TableRowContainer: import("@redneckz/uni-jsx").UNIComponent<{}, any, any>;
@@ -1,4 +1,4 @@
1
- import { PropsWithChildren } from '@redneckz/uni-jsx';
1
+ import type { UNIComponent } from '@redneckz/uni-jsx';
2
2
  import type { BlockDef, ContentPageDef, UniBlockProps } from '../../types';
3
3
  import type { BlockContent } from '../BlockContent';
4
4
  import { ContentPageContext } from './ContentPageContext';
@@ -11,7 +11,7 @@ interface BlockDecoratorProps<VNode> {
11
11
  }) => VNode;
12
12
  }
13
13
  export declare type BlockDecorator<VNode = any> = (props: BlockDecoratorProps<VNode>, index?: number | string) => any;
14
- export declare type JSXBlock<BlockProps = BlockContent> = (props: PropsWithChildren<UniBlockProps & BlockProps, any>, context?: any) => any;
14
+ export declare type JSXBlock<BlockProps = BlockContent> = UNIComponent<BlockProps & UniBlockProps>;
15
15
  export declare type BlocksRegistry = Record<string, JSXBlock>;
16
16
  export interface ContentPageProps extends UniBlockProps {
17
17
  blocksRegistry: BlocksRegistry;
@@ -25,5 +25,5 @@ export interface RenderBlockFunc {
25
25
  blocksRegistry: BlocksRegistry;
26
26
  context: ContentPageContext;
27
27
  }
28
- export declare const ContentPage: (props: PropsWithChildren<ContentPageProps, any>, context?: any) => any;
28
+ export declare const ContentPage: UNIComponent<ContentPageProps, any, any>;
29
29
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"ContentPage.js","sourceRoot":"","sources":["../../../src/components/ContentPage/ContentPage.tsx"],"names":[],"mappings":";;;AAAA,+CAA2D;AAE3D,iEAA8D;AAE9D,4DAAyD;AACzD,4DAAyD;AAmCzD,MAAM,qBAAqB,GAAmB,CAAC,EAAE,cAAc,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,EAAE,CAClF,MAAM,CAAC,EAAE,cAAc,EAAE,KAAK,EAAE,CAAC,CAAC;AAEvB,QAAA,WAAW,GAAG,IAAA,aAAG,EAC5B,CAAC,EACC,SAAS,GAAG,EAAE,EACd,OAAO,EACP,cAAc,EACd,IAAI,GAAG,EAAE,EACT,cAAc,GAAG,qBAAqB,GACvC,EAAE,EAAE;IACH,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,KAAK,GAAG,EAAE,EAAE,WAAW,EAAE,YAAY,GAAG,IAAI,EAAE,GAAG,IAAI,CAAC;IACxF,MAAM,EAAE,MAAM,EAAE,GAAG,KAAK,CAAC;IAEzB,OAAO,CACL,qCACE,SAAS,EAAE,YAAY,IAAA,iCAAe,EAAC,SAAS,CAAC,IAAI,SAAS,EAAE,gBACpD,YAAY,aAEvB,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC,CACxB,gCAAK,SAAS,EAAE,GAAG,IAAA,iCAAe,EAAC,MAAM,EAAE,KAAK,CAAC,EAAE,YAChD,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,CAAC,EAAE,EAAE,CAC9B,WAAW,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,cAAc,EAAE,cAAc,EAAE,OAAO,EAAE,EAAE,CAAC,CAAC,CAC/E,GACG,CACP,CAAC,CAAC,C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,EAAE,OAAO,EAChB,OAAO,EAAE,OAAO,EAChB,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,MAAM,KACV,OAAO,IAPN,GAAG,IAAI,IAAI,CAAC,EAAE,CAQnB,CACH,CAAC;QACJ,CAAC;KACF,EACD,SAAS,CAAC,EAAE,CACb,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"ContentPage.js","sourceRoot":"","sources":["../../../src/components/ContentPage/ContentPage.tsx"],"names":[],"mappings":";;;AACA,+CAAwC;AAExC,iEAA8D;AAE9D,4DAAyD;AACzD,4DAAyD;AAgCzD,MAAM,qBAAqB,GAAmB,CAAC,EAAE,cAAc,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,EAAE,CAClF,MAAM,CAAC,EAAE,cAAc,EAAE,KAAK,EAAE,CAAC,CAAC;AAEvB,QAAA,WAAW,GAAG,IAAA,aAAG,EAC5B,CAAC,EACC,SAAS,GAAG,EAAE,EACd,OAAO,EACP,cAAc,EACd,IAAI,GAAG,EAAE,EACT,cAAc,GAAG,qBAAqB,GACvC,EAAE,EAAE;IACH,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,KAAK,GAAG,EAAE,EAAE,WAAW,EAAE,YAAY,GAAG,IAAI,EAAE,GAAG,IAAI,CAAC;IACxF,MAAM,EAAE,MAAM,EAAE,GAAG,KAAK,CAAC;IAEzB,OAAO,CACL,qCACE,SAAS,EAAE,YAAY,IAAA,iCAAe,EAAC,SAAS,CAAC,IAAI,SAAS,EAAE,gBACpD,YAAY,aAEvB,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC,CACxB,gCAAK,SAAS,EAAE,GAAG,IAAA,iCAAe,EAAC,MAAM,EAAE,KAAK,CAAC,EAAE,YAChD,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,CAAC,EAAE,EAAE,CAC9B,WAAW,CAAC,EAAE,KAAK,EAAE,IAA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,KAAK,CAAC,KAAK,CAAC;YAEzD,OAAO,CACL,uBAAC,cAAc,IAEb,SAAS,EAAE,KAAK,CAAC,cAAc,EAC/B,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,OAAO,EAChB,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,MAAM,KACV,OAAO,IAPN,GAAG,IAAI,IAAI,CAAC,EAAE,CAQnB,CACH,CAAC;QACJ,CAAC;KACF,EACD,SAAS,CAAC,EAAE,CACb,CAAC;AACJ,CAAC"}
@@ -7,23 +7,11 @@ export interface Router {
7
7
  push: (url: string) => void;
8
8
  replace: (url: string) => void;
9
9
  }
10
- export interface LikeService {
11
- likeCount: number;
12
- like: () => void;
13
- dislike: () => void;
14
- }
15
- export declare type HandlerDecorator = <F extends Function>(handler: F, targetContent: any) => F;
10
+ export declare type HandlerDecorator = <F extends Function>(handler: F, targetContent?: any) => F;
16
11
  export interface Search {
17
12
  term: string;
18
13
  setTerm: (t: string) => void;
19
14
  }
20
- export declare type AsyncDataHook = <Data, Err = any>(key: string, fetcher: (fetcherKey: string) => Promise<Data>) => {
21
- data?: Data;
22
- error?: Err;
23
- };
24
- export declare type GeolocationHook = (defaultLocation: string) => [string, () => void];
25
- export declare type SetStateAction<S> = S | ((prevState: S) => S);
26
- export declare type SetStateHook = <State>(initialState: State | (() => State)) => [State, (action: SetStateAction<State>) => void];
27
15
  export interface IntersectionObserverTagProps {
28
16
  tag: keyof HTMLElementTagNameMap;
29
17
  className?: string;
@@ -35,12 +23,6 @@ export interface IntersectionObserverTagProps {
35
23
  export declare type IntersectionObserverComponent = (props: IntersectionObserverTagProps) => VNode;
36
24
  export interface ContentPageContext {
37
25
  useRouter: () => Router;
38
- useState: SetStateHook;
39
- useAsyncData: AsyncDataHook;
40
- useGeolocation: GeolocationHook;
41
- useLikeService: () => LikeService;
42
- useSearch: () => Search;
43
- useEffect: <Deps extends any[]>(effect: () => (() => void) | void, deps?: Deps) => void;
44
26
  handlerDecorator?: HandlerDecorator;
45
27
  IntersectionObserverTag: IntersectionObserverComponent;
46
28
  }
@@ -4,4 +4,4 @@ export interface ContentPageHeadProps {
4
4
  HeadComponent: <Props, Context, VNode = _VNode>(props: Props, context?: Context) => VNode;
5
5
  data: ContentPageMeta;
6
6
  }
7
- export declare const ContentPageHead: (props: import("@redneckz/uni-jsx").PropsWithChildren<ContentPageHeadProps, any>, context?: any) => any;
7
+ export declare const ContentPageHead: import("@redneckz/uni-jsx").UNIComponent<ContentPageHeadProps, any, any>;
@@ -3,5 +3,5 @@ interface CurrencyTableProps {
3
3
  className?: string;
4
4
  exchangeCurrencyItems: ExchangeCurrencyItem[];
5
5
  }
6
- export declare const CurrencyTable: (props: import("@redneckz/uni-jsx").PropsWithChildren<CurrencyTableProps, any>, context?: any) => any;
6
+ export declare const CurrencyTable: import("@redneckz/uni-jsx").UNIComponent<CurrencyTableProps, any, any>;
7
7
  export {};
@@ -3,5 +3,5 @@ interface CurrentLocationProps {
3
3
  address?: string;
4
4
  distance?: string;
5
5
  }
6
- export declare const CurrentLocation: (props: import("@redneckz/uni-jsx").PropsWithChildren<CurrentLocationProps, any>, context?: any) => any;
6
+ export declare const CurrentLocation: import("@redneckz/uni-jsx").UNIComponent<CurrentLocationProps, any, any>;
7
7
  export {};
@@ -18,4 +18,4 @@ export interface CalcState {
18
18
  selectSell: Currency;
19
19
  selectBuy: Currency;
20
20
  }
21
- export declare const ExchangeCurrencyCalculator: (props: import("@redneckz/uni-jsx").PropsWithChildren<ExchangeCurrencyCalculatorProps, any>, context?: any) => any;
21
+ export declare const ExchangeCurrencyCalculator: import("@redneckz/uni-jsx").UNIComponent<ExchangeCurrencyCalculatorProps, any, any>;