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

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 (1282) hide show
  1. package/bundle/bundle.umd.js +3030 -2922
  2. package/bundle/bundle.umd.min.js +1 -1
  3. package/dist/ProjectSettings.d.ts +2 -3
  4. package/dist/ProjectSettings.js +2 -2
  5. package/dist/ProjectSettings.js.map +1 -1
  6. package/dist/api/LikeAPI.d.ts +1 -1
  7. package/dist/api/LikeAPI.js +6 -5
  8. package/dist/api/LikeAPI.js.map +1 -1
  9. package/dist/components/Accordion/Accordion.d.ts +1 -1
  10. package/dist/components/Accordion/Accordion.js +1 -1
  11. package/dist/components/Accordion/Accordion.js.map +1 -1
  12. package/dist/components/Accordion/Accordion.mobile.d.ts +1 -1
  13. package/dist/components/Accordion/AccordionItem.d.ts +1 -1
  14. package/dist/components/Accordion/AccordionItem.js +0 -1
  15. package/dist/components/Accordion/AccordionItem.js.map +1 -1
  16. package/dist/components/Accordion/AccordionItem.mobile.d.ts +1 -1
  17. package/dist/components/Accordion/AccordionItem.mobile.js +1 -4
  18. package/dist/components/Accordion/AccordionItem.mobile.js.map +1 -1
  19. package/dist/components/Accordion/AccordionItemInner.d.ts +1 -1
  20. package/dist/components/Accordion/AccordionItemInner.mobile.d.ts +1 -1
  21. package/dist/components/Accordion/useActiveHandler.d.ts +1 -1
  22. package/dist/components/Accordion/useActiveHandler.js +3 -2
  23. package/dist/components/Accordion/useActiveHandler.js.map +1 -1
  24. package/dist/components/BaseTile/BaseTile.d.ts +1 -1
  25. package/dist/components/BenefitsBlock/BenefitsBlock.d.ts +1 -1
  26. package/dist/components/Blocks.d.ts +35 -35
  27. package/dist/components/Blocks.mobile.d.ts +16 -16
  28. package/dist/components/Bonus/Bonus.d.ts +1 -1
  29. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.d.ts +1 -1
  30. package/dist/components/Calculator/BonusCalculatorForm.d.ts +1 -1
  31. package/dist/components/Calculator/BonusCalculatorForm.js +4 -3
  32. package/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
  33. package/dist/components/Calculator/Calculator.d.ts +1 -1
  34. package/dist/components/Calculator/Calculator.js +4 -3
  35. package/dist/components/Calculator/Calculator.js.map +1 -1
  36. package/dist/components/Calculator/CalculatorValueBlock.d.ts +1 -1
  37. package/dist/components/Calculator/CreditCalculatorForm.d.ts +1 -1
  38. package/dist/components/Calculator/CreditCalculatorForm.js +8 -7
  39. package/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
  40. package/dist/components/Calculator/DepositCalculatorForm.d.ts +1 -1
  41. package/dist/components/Calculator/DepositCalculatorForm.js +3 -2
  42. package/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
  43. package/dist/components/Calculator/EmbeddableCalcBlocks.d.ts +4 -4
  44. package/dist/components/Calculator/MortgageCalculatorForm.d.ts +1 -1
  45. package/dist/components/Calculator/MortgageCalculatorForm.js +5 -4
  46. package/dist/components/Calculator/MortgageCalculatorForm.js.map +1 -1
  47. package/dist/components/Calculator/Rate.d.ts +1 -1
  48. package/dist/components/Calculator/renderCalculatorBlock.js +1 -1
  49. package/dist/components/Calculator/renderCalculatorBlock.js.map +1 -1
  50. package/dist/components/Calculator/useBonusCalculatorParams.d.ts +1 -2
  51. package/dist/components/Calculator/useBonusCalculatorParams.js +3 -2
  52. package/dist/components/Calculator/useBonusCalculatorParams.js.map +1 -1
  53. package/dist/components/Calculator/useCalculatorParams.d.ts +1 -2
  54. package/dist/components/Calculator/useCalculatorParams.js +3 -2
  55. package/dist/components/Calculator/useCalculatorParams.js.map +1 -1
  56. package/dist/components/Calculator/useCreditCalculatorParams.d.ts +1 -2
  57. package/dist/components/Calculator/useCreditCalculatorParams.js +2 -2
  58. package/dist/components/Calculator/useCreditCalculatorParams.js.map +1 -1
  59. package/dist/components/Catalog/Catalog.d.ts +1 -1
  60. package/dist/components/Catalog/Catalog.js +3 -2
  61. package/dist/components/Catalog/Catalog.js.map +1 -1
  62. package/dist/components/Catalog/CatalogCard.d.ts +1 -1
  63. package/dist/components/ComparisonTable/ComparisonTable.d.ts +1 -1
  64. package/dist/components/ComparisonTable/ComparisonTable.js +2 -1
  65. package/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
  66. package/dist/components/ComparisonTable/ComparisonTable.mobile.d.ts +1 -1
  67. package/dist/components/ComparisonTable/ComparisonTable.mobile.js +2 -1
  68. package/dist/components/ComparisonTable/ComparisonTable.mobile.js.map +1 -1
  69. package/dist/components/ComparisonTable/ComparisonTableBody.d.ts +1 -1
  70. package/dist/components/ComparisonTable/ComparisonTableBody.js +3 -2
  71. package/dist/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
  72. package/dist/components/ComparisonTable/ComparisonTableColumnHeaders.d.ts +1 -1
  73. package/dist/components/ComparisonTable/ComparisonTableRows.d.ts +1 -1
  74. package/dist/components/ComparisonTable/HeaderCell.d.ts +1 -1
  75. package/dist/components/ComparisonTable/HeaderCell.mobile.d.ts +1 -1
  76. package/dist/components/ComparisonTable/TableCarouselContainer.d.ts +1 -1
  77. package/dist/components/ComparisonTable/TableCell.d.ts +1 -1
  78. package/dist/components/ComparisonTable/TableCell.mobile.d.ts +1 -1
  79. package/dist/components/ComparisonTable/TableColumn.d.ts +1 -1
  80. package/dist/components/ComparisonTable/TableRow.d.ts +1 -1
  81. package/dist/components/ComparisonTable/TableRowContainer.d.ts +1 -4
  82. package/dist/components/ContentPage/ContentPage.d.ts +3 -3
  83. package/dist/components/ContentPage/ContentPage.js.map +1 -1
  84. package/dist/components/ContentPage/ContentPageContext.d.ts +1 -19
  85. package/dist/components/ContentPage/ContentPageHead.d.ts +1 -1
  86. package/dist/components/ExchangeRateTile/CurrencyTable.d.ts +1 -1
  87. package/dist/components/ExchangeRateTile/CurrentLocation.d.ts +1 -1
  88. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +1 -1
  89. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +2 -1
  90. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  91. package/dist/components/ExchangeRateTile/ExchangeRateTile.d.ts +1 -1
  92. package/dist/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
  93. package/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  94. package/dist/components/Footer/Contacts.d.ts +1 -1
  95. package/dist/components/Footer/Footer.d.ts +1 -1
  96. package/dist/components/Footer/Footer.mobile.d.ts +1 -1
  97. package/dist/components/Footer/Footer.mobile.js +1 -1
  98. package/dist/components/Footer/Footer.mobile.js.map +1 -1
  99. package/dist/components/Footer/HorizontalNavigation.d.ts +1 -1
  100. package/dist/components/Footer/HorizontalNavigation.mobile.d.ts +1 -1
  101. package/dist/components/Footer/HorizontalNavigationLink.d.ts +1 -1
  102. package/dist/components/Footer/MediaButton.d.ts +1 -1
  103. package/dist/components/Footer/Sitemap.d.ts +1 -1
  104. package/dist/components/Footer/Sitemap.js +2 -2
  105. package/dist/components/Footer/Sitemap.js.map +1 -1
  106. package/dist/components/Footer/SocialMedia.d.ts +1 -1
  107. package/dist/components/Footer/SocialMedia.mobile.d.ts +1 -1
  108. package/dist/components/Footer/TextInformation.d.ts +1 -1
  109. package/dist/components/Footer/TextInformation.mobile.d.ts +1 -1
  110. package/dist/components/Footer/TextInformationLink.d.ts +1 -1
  111. package/dist/components/Gallery/Gallery.d.ts +1 -1
  112. package/dist/components/Gallery/Gallery.mobile.d.ts +1 -1
  113. package/dist/components/Gallery/GalleryCardInner.d.ts +1 -1
  114. package/dist/components/Gallery/GalleryContainer.d.ts +1 -1
  115. package/dist/components/Gallery/GalleryInner.d.ts +1 -1
  116. package/dist/components/Gallery/GalleryInner.js +2 -1
  117. package/dist/components/Gallery/GalleryInner.js.map +1 -1
  118. package/dist/components/GracePeriod/GracePeriod.d.ts +1 -1
  119. package/dist/components/GroupBlock/EmbeddableGroupBlocks.d.ts +2 -2
  120. package/dist/components/GroupBlock/GroupBlock.d.ts +1 -1
  121. package/dist/components/GroupBlock/GroupBlock.js +2 -1
  122. package/dist/components/GroupBlock/GroupBlock.js.map +1 -1
  123. package/dist/components/GroupBlock/GroupBlockTabs.d.ts +1 -1
  124. package/dist/components/GroupBlock/GroupBlocksItem.d.ts +1 -1
  125. package/dist/components/Header/DropdownMenu.d.ts +1 -1
  126. package/dist/components/Header/Header.d.ts +1 -1
  127. package/dist/components/Header/Header.js +2 -2
  128. package/dist/components/Header/Header.js.map +1 -1
  129. package/dist/components/Header/Header.mobile.d.ts +1 -1
  130. package/dist/components/Header/Header.mobile.js +3 -2
  131. package/dist/components/Header/Header.mobile.js.map +1 -1
  132. package/dist/components/Header/HeaderBurger.d.ts +1 -1
  133. package/dist/components/Header/HeaderBurger.js +2 -1
  134. package/dist/components/Header/HeaderBurger.js.map +1 -1
  135. package/dist/components/Header/HeaderSecondaryMenu.d.ts +3 -3
  136. package/dist/components/Header/HeaderSecondaryMenu.js +3 -2
  137. package/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  138. package/dist/components/Header/HeaderSecondaryMenuButton.d.ts +1 -1
  139. package/dist/components/Header/HeaderSubMenu.d.ts +1 -1
  140. package/dist/components/Header/HeaderSubMenu.js +3 -2
  141. package/dist/components/Header/HeaderSubMenu.js.map +1 -1
  142. package/dist/components/Header/HeaderTop.d.ts +1 -1
  143. package/dist/components/Headline/Headline.d.ts +1 -1
  144. package/dist/components/Headline/Headline.mobile.d.ts +1 -1
  145. package/dist/components/Insurance/Insurance.d.ts +1 -1
  146. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +1 -1
  147. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +2 -1
  148. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  149. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +1 -1
  150. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +4 -3
  151. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  152. package/dist/components/LikeControl/LikeControl.d.ts +1 -1
  153. package/dist/components/LikeControl/LikeControl.js +6 -2
  154. package/dist/components/LikeControl/LikeControl.js.map +1 -1
  155. package/dist/components/LinkDocs/LinkDocs.d.ts +1 -1
  156. package/dist/components/LinkDocs/LinkDocs.js +1 -1
  157. package/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  158. package/dist/components/LinkDocs/LinkDocs.mobile.d.ts +1 -1
  159. package/dist/components/LinkDocs/LinkDocsHorizontalList.d.ts +1 -1
  160. package/dist/components/LinkDocs/LinkDocsList.d.ts +1 -1
  161. package/dist/components/LinkDocs/LinkDocsListItem.d.ts +1 -1
  162. package/dist/components/LinkDocs/LinkDocsListItem.mobile.d.ts +1 -1
  163. package/dist/components/LinkDocs/LinkDocsListItemBase.d.ts +1 -1
  164. package/dist/components/LinkDocs/LinkDocsVerticalList.d.ts +1 -1
  165. package/dist/components/LinkList/LinkList.d.ts +1 -1
  166. package/dist/components/MiniGallery/MiniGallery.d.ts +1 -1
  167. package/dist/components/MobileAppTile/MobileAppTile.d.ts +1 -1
  168. package/dist/components/MobileAppTile/MobileAppTile.mobile.d.ts +1 -1
  169. package/dist/components/Navigation/Navigation.d.ts +1 -1
  170. package/dist/components/Navigation/NavigationItem.d.ts +2 -2
  171. package/dist/components/NavigatorTabs/NavigatorTabItem.d.ts +1 -1
  172. package/dist/components/NavigatorTabs/NavigatorTabs.d.ts +1 -1
  173. package/dist/components/OtherProducts/OtherProducts.d.ts +1 -1
  174. package/dist/components/OtherProducts/OtherProductsItem.d.ts +1 -1
  175. package/dist/components/PictureText/PictureText.d.ts +1 -1
  176. package/dist/components/Placeholder/Placeholder.d.ts +1 -1
  177. package/dist/components/ProductBlock/ProductBlock.d.ts +1 -1
  178. package/dist/components/ProductBlock/ProductBlock.mobile.d.ts +1 -1
  179. package/dist/components/ProductBlock/ProductBlockInner.d.ts +1 -1
  180. package/dist/components/ProductBlock/ProductBlockInner.mobile.d.ts +1 -1
  181. package/dist/components/ProductGallery/ProductGallery.d.ts +1 -1
  182. package/dist/components/ProductGallery/ProductGallery.js +2 -1
  183. package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  184. package/dist/components/ProductGallery/ProductGallery.mobile.d.ts +1 -1
  185. package/dist/components/ProductGallery/ProductGalleryBlock.d.ts +1 -1
  186. package/dist/components/ProductTile/ProductTile.d.ts +1 -1
  187. package/dist/components/ProductTile/ProductTile.js +1 -1
  188. package/dist/components/ProductTile/ProductTile.js.map +1 -1
  189. package/dist/components/PromoTile/PromoTile.d.ts +1 -1
  190. package/dist/components/PromoTile/PromoTile.js +1 -1
  191. package/dist/components/PromoTile/PromoTile.js.map +1 -1
  192. package/dist/components/Recommendation/Recommendation.d.ts +1 -1
  193. package/dist/components/Recommendation/Recommendation.js +2 -1
  194. package/dist/components/Recommendation/Recommendation.js.map +1 -1
  195. package/dist/components/Recommendation/RecommendationCard.d.ts +1 -1
  196. package/dist/components/SafeDepositRental/SafeDepositRental.d.ts +1 -1
  197. package/dist/components/SafeDepositRental/SafeDepositRental.js +3 -2
  198. package/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  199. package/dist/components/SafeDepositRental/SafeDepositRentalForm.d.ts +1 -8
  200. package/dist/components/SafeDepositRental/SafeDepositRentalForm.js +17 -16
  201. package/dist/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
  202. package/dist/components/StepsBlock/StepsBlock.d.ts +1 -1
  203. package/dist/components/StepsBlock/StepsBlock.mobile.d.ts +1 -1
  204. package/dist/components/Tabs/Tabs.d.ts +1 -1
  205. package/dist/components/Tabs/Tabs.js +3 -2
  206. package/dist/components/Tabs/Tabs.js.map +1 -1
  207. package/dist/components/TariffsTable/TableTileHeader.d.ts +1 -1
  208. package/dist/components/TariffsTable/TariffsTable.d.ts +1 -1
  209. package/dist/components/TariffsTable/TariffsTable.js +2 -1
  210. package/dist/components/TariffsTable/TariffsTable.js.map +1 -1
  211. package/dist/components/TariffsTable/TariffsTable.mobile.d.ts +1 -1
  212. package/dist/components/TariffsTable/TariffsTableCell.d.ts +1 -1
  213. package/dist/components/TariffsTable/TariffsTableHorizontal.d.ts +2 -2
  214. package/dist/components/TariffsTable/TariffsTableRow.d.ts +1 -1
  215. package/dist/components/TariffsTable/TariffsTableTileCell.d.ts +1 -1
  216. package/dist/components/TariffsTable/TariffsTableVertical.d.ts +2 -2
  217. package/dist/components/TextBlock/TextBlock.d.ts +1 -1
  218. package/dist/components/TextBlock/TextBlock.mobile.d.ts +1 -1
  219. package/dist/components/Tile/Tile.d.ts +1 -1
  220. package/dist/components/Tile/Tile.js +1 -1
  221. package/dist/components/Tile/Tile.js.map +1 -1
  222. package/dist/hooks/useExchangeRates.d.ts +1 -2
  223. package/dist/hooks/useExchangeRates.js +3 -2
  224. package/dist/hooks/useExchangeRates.js.map +1 -1
  225. package/dist/hooks/useGeolocation.d.ts +1 -0
  226. package/dist/hooks/useGeolocation.js +21 -0
  227. package/dist/hooks/useGeolocation.js.map +1 -0
  228. package/dist/hooks/useLikeService.d.ts +5 -0
  229. package/dist/hooks/useLikeService.js +27 -0
  230. package/dist/hooks/useLikeService.js.map +1 -0
  231. package/dist/hooks/useLink.d.ts +1 -0
  232. package/dist/hooks/useLink.js +3 -2
  233. package/dist/hooks/useLink.js.map +1 -1
  234. package/dist/hooks/useSafeDepositRental.d.ts +1 -2
  235. package/dist/hooks/useSafeDepositRental.js +3 -2
  236. package/dist/hooks/useSafeDepositRental.js.map +1 -1
  237. package/dist/hooks/useSearch.d.ts +4 -0
  238. package/dist/hooks/useSearch.js +12 -0
  239. package/dist/hooks/useSearch.js.map +1 -0
  240. package/dist/index.d.ts +2 -1
  241. package/dist/index.js +5 -3
  242. package/dist/index.js.map +1 -1
  243. package/dist/react/setup-fixture.d.ts +1 -0
  244. package/dist/react/setup-fixture.js +1 -48
  245. package/dist/react/setup-fixture.js.map +1 -1
  246. package/dist/services/sitemap/useSitemap.d.ts +1 -2
  247. package/dist/services/sitemap/useSitemap.js +3 -2
  248. package/dist/services/sitemap/useSitemap.js.map +1 -1
  249. package/dist/ui-kit/BlockWrapper.d.ts +1 -1
  250. package/dist/ui-kit/BlockWrapper.js +3 -2
  251. package/dist/ui-kit/BlockWrapper.js.map +1 -1
  252. package/dist/ui-kit/BlocksList/BlocksListProps.d.ts +0 -2
  253. package/dist/ui-kit/BlocksList/EmbeddableBlocks.d.ts +10 -10
  254. package/dist/ui-kit/BlocksList/EmbeddableBlocks.mobile.d.ts +6 -6
  255. package/dist/ui-kit/Breadcrumb.d.ts +1 -1
  256. package/dist/ui-kit/Button/ArrowButton.d.ts +1 -1
  257. package/dist/ui-kit/Button/Button.d.ts +1 -1
  258. package/dist/ui-kit/Button/Button.mobile.d.ts +1 -1
  259. package/dist/ui-kit/Button/ButtonInner.d.ts +1 -1
  260. package/dist/ui-kit/Button/ButtonSection.d.ts +1 -1
  261. package/dist/ui-kit/Button/LikeButton.d.ts +1 -1
  262. package/dist/ui-kit/Checkbox/Checkbox.d.ts +1 -1
  263. package/dist/ui-kit/Checkbox/Checkbox.js +5 -3
  264. package/dist/ui-kit/Checkbox/Checkbox.js.map +1 -1
  265. package/dist/ui-kit/Description/Description.d.ts +1 -1
  266. package/dist/ui-kit/Foldable/Foldable.d.ts +1 -1
  267. package/dist/ui-kit/Foldable/Foldable.js +1 -2
  268. package/dist/ui-kit/Foldable/Foldable.js.map +1 -1
  269. package/dist/ui-kit/Foldable/useActiveHandler.d.ts +1 -3
  270. package/dist/ui-kit/Foldable/useActiveHandler.js +3 -2
  271. package/dist/ui-kit/Foldable/useActiveHandler.js.map +1 -1
  272. package/dist/ui-kit/HeaderItem/HeaderItem.d.ts +1 -1
  273. package/dist/ui-kit/HeaderItem/HeaderItem.mobile.d.ts +1 -1
  274. package/dist/ui-kit/Heading/Heading.d.ts +1 -1
  275. package/dist/ui-kit/Heading/Heading.mobile.d.ts +1 -1
  276. package/dist/ui-kit/Icon/Icon.d.ts +1 -1
  277. package/dist/ui-kit/Img/Img.d.ts +1 -1
  278. package/dist/ui-kit/Img/Img.mobile.d.ts +1 -1
  279. package/dist/ui-kit/Img/ImgAsPicture.d.ts +1 -1
  280. package/dist/ui-kit/Img/ImgInner.d.ts +1 -1
  281. package/dist/ui-kit/Input/Input.d.ts +1 -1
  282. package/dist/ui-kit/InputRange/InputRange.d.ts +1 -1
  283. package/dist/ui-kit/InputRange/InputRange.js +4 -3
  284. package/dist/ui-kit/InputRange/InputRange.js.map +1 -1
  285. package/dist/ui-kit/InputRange/InputRangeProps.d.ts +1 -0
  286. package/dist/ui-kit/List/List.d.ts +1 -1
  287. package/dist/ui-kit/List/ListItem.d.ts +1 -1
  288. package/dist/ui-kit/Logo/Logo.d.ts +1 -1
  289. package/dist/ui-kit/Logo/Logo.mobile.d.ts +1 -1
  290. package/dist/ui-kit/Radio/Radio.d.ts +1 -1
  291. package/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +1 -1
  292. package/dist/ui-kit/SVG.d.ts +1 -1
  293. package/dist/ui-kit/SearchBar/SearchBar.d.ts +1 -1
  294. package/dist/ui-kit/SearchBar/SearchBar.js +2 -2
  295. package/dist/ui-kit/SearchBar/SearchBar.js.map +1 -1
  296. package/dist/ui-kit/SearchBar/SearchBar.mobile.d.ts +1 -1
  297. package/dist/ui-kit/SearchBar/SearchBar.mobile.js +2 -2
  298. package/dist/ui-kit/SearchBar/SearchBar.mobile.js.map +1 -1
  299. package/dist/ui-kit/SearchBar/SearchBarInner.d.ts +3 -3
  300. package/dist/ui-kit/SearchBar/SearchBarInner.js +3 -2
  301. package/dist/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
  302. package/dist/ui-kit/Select/Select.d.ts +1 -1
  303. package/dist/ui-kit/Select/SelectOption.d.ts +1 -1
  304. package/dist/ui-kit/SwipeListControl/SwipeListControl.d.ts +1 -1
  305. package/dist/ui-kit/SwipeListControl/SwipeListControl.js +4 -3
  306. package/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  307. package/dist/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +1 -1
  308. package/dist/ui-kit/SwipeListControl/SwipeListControlItem.d.ts +1 -1
  309. package/dist/ui-kit/SwipeListControl/SwipeListControlList.d.ts +1 -1
  310. package/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControl.d.ts +1 -1
  311. package/dist/ui-kit/Tabs/Tabs.d.ts +1 -1
  312. package/dist/ui-kit/TopItem/TopItem.d.ts +1 -1
  313. package/lib/ProjectSettings.d.ts +2 -3
  314. package/lib/ProjectSettings.js +2 -2
  315. package/lib/ProjectSettings.js.map +1 -1
  316. package/lib/api/LikeAPI.d.ts +1 -1
  317. package/lib/api/LikeAPI.js +6 -5
  318. package/lib/api/LikeAPI.js.map +1 -1
  319. package/lib/common.css +1 -1
  320. package/lib/components/Accordion/Accordion.d.ts +1 -1
  321. package/lib/components/Accordion/Accordion.js +1 -1
  322. package/lib/components/Accordion/Accordion.js.map +1 -1
  323. package/lib/components/Accordion/Accordion.mobile.d.ts +1 -1
  324. package/lib/components/Accordion/AccordionItem.d.ts +1 -1
  325. package/lib/components/Accordion/AccordionItem.js +0 -1
  326. package/lib/components/Accordion/AccordionItem.js.map +1 -1
  327. package/lib/components/Accordion/AccordionItem.mobile.d.ts +1 -1
  328. package/lib/components/Accordion/AccordionItem.mobile.js +1 -4
  329. package/lib/components/Accordion/AccordionItem.mobile.js.map +1 -1
  330. package/lib/components/Accordion/AccordionItemInner.d.ts +1 -1
  331. package/lib/components/Accordion/AccordionItemInner.mobile.d.ts +1 -1
  332. package/lib/components/Accordion/useActiveHandler.d.ts +1 -1
  333. package/lib/components/Accordion/useActiveHandler.js +3 -2
  334. package/lib/components/Accordion/useActiveHandler.js.map +1 -1
  335. package/lib/components/BaseTile/BaseTile.d.ts +1 -1
  336. package/lib/components/BenefitsBlock/BenefitsBlock.d.ts +1 -1
  337. package/lib/components/Blocks.d.ts +35 -35
  338. package/lib/components/Blocks.mobile.d.ts +16 -16
  339. package/lib/components/Bonus/Bonus.d.ts +1 -1
  340. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.d.ts +1 -1
  341. package/lib/components/Calculator/BonusCalculatorForm.d.ts +1 -1
  342. package/lib/components/Calculator/BonusCalculatorForm.js +4 -3
  343. package/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
  344. package/lib/components/Calculator/Calculator.d.ts +1 -1
  345. package/lib/components/Calculator/Calculator.js +4 -3
  346. package/lib/components/Calculator/Calculator.js.map +1 -1
  347. package/lib/components/Calculator/CalculatorValueBlock.d.ts +1 -1
  348. package/lib/components/Calculator/CreditCalculatorForm.d.ts +1 -1
  349. package/lib/components/Calculator/CreditCalculatorForm.js +8 -7
  350. package/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
  351. package/lib/components/Calculator/DepositCalculatorForm.d.ts +1 -1
  352. package/lib/components/Calculator/DepositCalculatorForm.js +3 -2
  353. package/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
  354. package/lib/components/Calculator/EmbeddableCalcBlocks.d.ts +4 -4
  355. package/lib/components/Calculator/MortgageCalculatorForm.d.ts +1 -1
  356. package/lib/components/Calculator/MortgageCalculatorForm.js +5 -4
  357. package/lib/components/Calculator/MortgageCalculatorForm.js.map +1 -1
  358. package/lib/components/Calculator/Rate.d.ts +1 -1
  359. package/lib/components/Calculator/renderCalculatorBlock.js +1 -1
  360. package/lib/components/Calculator/renderCalculatorBlock.js.map +1 -1
  361. package/lib/components/Calculator/useBonusCalculatorParams.d.ts +1 -2
  362. package/lib/components/Calculator/useBonusCalculatorParams.js +3 -2
  363. package/lib/components/Calculator/useBonusCalculatorParams.js.map +1 -1
  364. package/lib/components/Calculator/useCalculatorParams.d.ts +1 -2
  365. package/lib/components/Calculator/useCalculatorParams.js +2 -1
  366. package/lib/components/Calculator/useCalculatorParams.js.map +1 -1
  367. package/lib/components/Calculator/useCreditCalculatorParams.d.ts +1 -2
  368. package/lib/components/Calculator/useCreditCalculatorParams.js +2 -2
  369. package/lib/components/Calculator/useCreditCalculatorParams.js.map +1 -1
  370. package/lib/components/Catalog/Catalog.d.ts +1 -1
  371. package/lib/components/Catalog/Catalog.js +3 -2
  372. package/lib/components/Catalog/Catalog.js.map +1 -1
  373. package/lib/components/Catalog/CatalogCard.d.ts +1 -1
  374. package/lib/components/ComparisonTable/ComparisonTable.d.ts +1 -1
  375. package/lib/components/ComparisonTable/ComparisonTable.js +2 -1
  376. package/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
  377. package/lib/components/ComparisonTable/ComparisonTable.mobile.d.ts +1 -1
  378. package/lib/components/ComparisonTable/ComparisonTable.mobile.js +2 -1
  379. package/lib/components/ComparisonTable/ComparisonTable.mobile.js.map +1 -1
  380. package/lib/components/ComparisonTable/ComparisonTableBody.d.ts +1 -1
  381. package/lib/components/ComparisonTable/ComparisonTableBody.js +3 -2
  382. package/lib/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
  383. package/lib/components/ComparisonTable/ComparisonTableColumnHeaders.d.ts +1 -1
  384. package/lib/components/ComparisonTable/ComparisonTableRows.d.ts +1 -1
  385. package/lib/components/ComparisonTable/HeaderCell.d.ts +1 -1
  386. package/lib/components/ComparisonTable/HeaderCell.mobile.d.ts +1 -1
  387. package/lib/components/ComparisonTable/TableCarouselContainer.d.ts +1 -1
  388. package/lib/components/ComparisonTable/TableCell.d.ts +1 -1
  389. package/lib/components/ComparisonTable/TableCell.mobile.d.ts +1 -1
  390. package/lib/components/ComparisonTable/TableColumn.d.ts +1 -1
  391. package/lib/components/ComparisonTable/TableRow.d.ts +1 -1
  392. package/lib/components/ComparisonTable/TableRowContainer.d.ts +1 -4
  393. package/lib/components/ContentPage/ContentPage.d.ts +3 -3
  394. package/lib/components/ContentPage/ContentPage.js.map +1 -1
  395. package/lib/components/ContentPage/ContentPageContext.d.ts +1 -19
  396. package/lib/components/ContentPage/ContentPageHead.d.ts +1 -1
  397. package/lib/components/ExchangeRateTile/CurrencyTable.d.ts +1 -1
  398. package/lib/components/ExchangeRateTile/CurrentLocation.d.ts +1 -1
  399. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +1 -1
  400. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +2 -1
  401. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  402. package/lib/components/ExchangeRateTile/ExchangeRateTile.d.ts +1 -1
  403. package/lib/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
  404. package/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  405. package/lib/components/Footer/Contacts.d.ts +1 -1
  406. package/lib/components/Footer/Footer.d.ts +1 -1
  407. package/lib/components/Footer/Footer.mobile.d.ts +1 -1
  408. package/lib/components/Footer/Footer.mobile.js +1 -1
  409. package/lib/components/Footer/Footer.mobile.js.map +1 -1
  410. package/lib/components/Footer/HorizontalNavigation.d.ts +1 -1
  411. package/lib/components/Footer/HorizontalNavigation.mobile.d.ts +1 -1
  412. package/lib/components/Footer/HorizontalNavigationLink.d.ts +1 -1
  413. package/lib/components/Footer/MediaButton.d.ts +1 -1
  414. package/lib/components/Footer/Sitemap.d.ts +1 -1
  415. package/lib/components/Footer/Sitemap.js +2 -2
  416. package/lib/components/Footer/Sitemap.js.map +1 -1
  417. package/lib/components/Footer/SocialMedia.d.ts +1 -1
  418. package/lib/components/Footer/SocialMedia.mobile.d.ts +1 -1
  419. package/lib/components/Footer/TextInformation.d.ts +1 -1
  420. package/lib/components/Footer/TextInformation.mobile.d.ts +1 -1
  421. package/lib/components/Footer/TextInformationLink.d.ts +1 -1
  422. package/lib/components/Gallery/Gallery.d.ts +1 -1
  423. package/lib/components/Gallery/Gallery.mobile.d.ts +1 -1
  424. package/lib/components/Gallery/GalleryCardInner.d.ts +1 -1
  425. package/lib/components/Gallery/GalleryContainer.d.ts +1 -1
  426. package/lib/components/Gallery/GalleryInner.d.ts +1 -1
  427. package/lib/components/Gallery/GalleryInner.js +2 -1
  428. package/lib/components/Gallery/GalleryInner.js.map +1 -1
  429. package/lib/components/GracePeriod/GracePeriod.d.ts +1 -1
  430. package/lib/components/GroupBlock/EmbeddableGroupBlocks.d.ts +2 -2
  431. package/lib/components/GroupBlock/GroupBlock.d.ts +1 -1
  432. package/lib/components/GroupBlock/GroupBlock.js +2 -1
  433. package/lib/components/GroupBlock/GroupBlock.js.map +1 -1
  434. package/lib/components/GroupBlock/GroupBlockTabs.d.ts +1 -1
  435. package/lib/components/GroupBlock/GroupBlocksItem.d.ts +1 -1
  436. package/lib/components/Header/DropdownMenu.d.ts +1 -1
  437. package/lib/components/Header/Header.d.ts +1 -1
  438. package/lib/components/Header/Header.js +2 -2
  439. package/lib/components/Header/Header.js.map +1 -1
  440. package/lib/components/Header/Header.mobile.d.ts +1 -1
  441. package/lib/components/Header/Header.mobile.js +3 -2
  442. package/lib/components/Header/Header.mobile.js.map +1 -1
  443. package/lib/components/Header/HeaderBurger.d.ts +1 -1
  444. package/lib/components/Header/HeaderBurger.js +2 -1
  445. package/lib/components/Header/HeaderBurger.js.map +1 -1
  446. package/lib/components/Header/HeaderSecondaryMenu.d.ts +3 -3
  447. package/lib/components/Header/HeaderSecondaryMenu.js +3 -2
  448. package/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  449. package/lib/components/Header/HeaderSecondaryMenuButton.d.ts +1 -1
  450. package/lib/components/Header/HeaderSubMenu.d.ts +1 -1
  451. package/lib/components/Header/HeaderSubMenu.js +3 -2
  452. package/lib/components/Header/HeaderSubMenu.js.map +1 -1
  453. package/lib/components/Header/HeaderTop.d.ts +1 -1
  454. package/lib/components/Headline/Headline.d.ts +1 -1
  455. package/lib/components/Headline/Headline.mobile.d.ts +1 -1
  456. package/lib/components/Insurance/Insurance.d.ts +1 -1
  457. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +1 -1
  458. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +2 -1
  459. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  460. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +1 -1
  461. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +4 -3
  462. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  463. package/lib/components/LikeControl/LikeControl.d.ts +1 -1
  464. package/lib/components/LikeControl/LikeControl.js +6 -2
  465. package/lib/components/LikeControl/LikeControl.js.map +1 -1
  466. package/lib/components/LinkDocs/LinkDocs.d.ts +1 -1
  467. package/lib/components/LinkDocs/LinkDocs.js +1 -1
  468. package/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  469. package/lib/components/LinkDocs/LinkDocs.mobile.d.ts +1 -1
  470. package/lib/components/LinkDocs/LinkDocsHorizontalList.d.ts +1 -1
  471. package/lib/components/LinkDocs/LinkDocsList.d.ts +1 -1
  472. package/lib/components/LinkDocs/LinkDocsListItem.d.ts +1 -1
  473. package/lib/components/LinkDocs/LinkDocsListItem.mobile.d.ts +1 -1
  474. package/lib/components/LinkDocs/LinkDocsListItemBase.d.ts +1 -1
  475. package/lib/components/LinkDocs/LinkDocsVerticalList.d.ts +1 -1
  476. package/lib/components/LinkList/LinkList.d.ts +1 -1
  477. package/lib/components/MiniGallery/MiniGallery.d.ts +1 -1
  478. package/lib/components/MobileAppTile/MobileAppTile.d.ts +1 -1
  479. package/lib/components/MobileAppTile/MobileAppTile.mobile.d.ts +1 -1
  480. package/lib/components/Navigation/Navigation.d.ts +1 -1
  481. package/lib/components/Navigation/NavigationItem.d.ts +2 -2
  482. package/lib/components/NavigatorTabs/NavigatorTabItem.d.ts +1 -1
  483. package/lib/components/NavigatorTabs/NavigatorTabs.d.ts +1 -1
  484. package/lib/components/OtherProducts/OtherProducts.d.ts +1 -1
  485. package/lib/components/OtherProducts/OtherProductsItem.d.ts +1 -1
  486. package/lib/components/PictureText/PictureText.d.ts +1 -1
  487. package/lib/components/Placeholder/Placeholder.d.ts +1 -1
  488. package/lib/components/ProductBlock/ProductBlock.d.ts +1 -1
  489. package/lib/components/ProductBlock/ProductBlock.mobile.d.ts +1 -1
  490. package/lib/components/ProductBlock/ProductBlockInner.d.ts +1 -1
  491. package/lib/components/ProductBlock/ProductBlockInner.mobile.d.ts +1 -1
  492. package/lib/components/ProductGallery/ProductGallery.d.ts +1 -1
  493. package/lib/components/ProductGallery/ProductGallery.js +2 -1
  494. package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  495. package/lib/components/ProductGallery/ProductGallery.mobile.d.ts +1 -1
  496. package/lib/components/ProductGallery/ProductGalleryBlock.d.ts +1 -1
  497. package/lib/components/ProductTile/ProductTile.d.ts +1 -1
  498. package/lib/components/ProductTile/ProductTile.js +1 -1
  499. package/lib/components/ProductTile/ProductTile.js.map +1 -1
  500. package/lib/components/PromoTile/PromoTile.d.ts +1 -1
  501. package/lib/components/PromoTile/PromoTile.js +1 -1
  502. package/lib/components/PromoTile/PromoTile.js.map +1 -1
  503. package/lib/components/Recommendation/Recommendation.d.ts +1 -1
  504. package/lib/components/Recommendation/Recommendation.js +2 -1
  505. package/lib/components/Recommendation/Recommendation.js.map +1 -1
  506. package/lib/components/Recommendation/RecommendationCard.d.ts +1 -1
  507. package/lib/components/SafeDepositRental/SafeDepositRental.d.ts +1 -1
  508. package/lib/components/SafeDepositRental/SafeDepositRental.js +3 -2
  509. package/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  510. package/lib/components/SafeDepositRental/SafeDepositRentalForm.d.ts +1 -8
  511. package/lib/components/SafeDepositRental/SafeDepositRentalForm.js +17 -15
  512. package/lib/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
  513. package/lib/components/StepsBlock/StepsBlock.d.ts +1 -1
  514. package/lib/components/StepsBlock/StepsBlock.mobile.d.ts +1 -1
  515. package/lib/components/Tabs/Tabs.d.ts +1 -1
  516. package/lib/components/Tabs/Tabs.js +3 -2
  517. package/lib/components/Tabs/Tabs.js.map +1 -1
  518. package/lib/components/TariffsTable/TableTileHeader.d.ts +1 -1
  519. package/lib/components/TariffsTable/TariffsTable.d.ts +1 -1
  520. package/lib/components/TariffsTable/TariffsTable.js +2 -1
  521. package/lib/components/TariffsTable/TariffsTable.js.map +1 -1
  522. package/lib/components/TariffsTable/TariffsTable.mobile.d.ts +1 -1
  523. package/lib/components/TariffsTable/TariffsTableCell.d.ts +1 -1
  524. package/lib/components/TariffsTable/TariffsTableHorizontal.d.ts +2 -2
  525. package/lib/components/TariffsTable/TariffsTableRow.d.ts +1 -1
  526. package/lib/components/TariffsTable/TariffsTableTileCell.d.ts +1 -1
  527. package/lib/components/TariffsTable/TariffsTableVertical.d.ts +2 -2
  528. package/lib/components/TextBlock/TextBlock.d.ts +1 -1
  529. package/lib/components/TextBlock/TextBlock.mobile.d.ts +1 -1
  530. package/lib/components/Tile/Tile.d.ts +1 -1
  531. package/lib/components/Tile/Tile.js +1 -1
  532. package/lib/components/Tile/Tile.js.map +1 -1
  533. package/lib/hooks/useExchangeRates.d.ts +1 -2
  534. package/lib/hooks/useExchangeRates.js +2 -1
  535. package/lib/hooks/useExchangeRates.js.map +1 -1
  536. package/lib/hooks/useGeolocation.d.ts +1 -0
  537. package/lib/hooks/useGeolocation.js +18 -0
  538. package/lib/hooks/useGeolocation.js.map +1 -0
  539. package/lib/hooks/useLikeService.d.ts +5 -0
  540. package/lib/hooks/useLikeService.js +24 -0
  541. package/lib/hooks/useLikeService.js.map +1 -0
  542. package/lib/hooks/useLink.d.ts +1 -0
  543. package/lib/hooks/useLink.js +1 -1
  544. package/lib/hooks/useLink.js.map +1 -1
  545. package/lib/hooks/useSafeDepositRental.d.ts +1 -2
  546. package/lib/hooks/useSafeDepositRental.js +2 -1
  547. package/lib/hooks/useSafeDepositRental.js.map +1 -1
  548. package/lib/hooks/useSearch.d.ts +4 -0
  549. package/lib/hooks/useSearch.js +9 -0
  550. package/lib/hooks/useSearch.js.map +1 -0
  551. package/lib/index.d.ts +2 -1
  552. package/lib/index.js +2 -1
  553. package/lib/index.js.map +1 -1
  554. package/lib/react/setup-fixture.d.ts +1 -0
  555. package/lib/react/setup-fixture.js +2 -46
  556. package/lib/react/setup-fixture.js.map +1 -1
  557. package/lib/services/sitemap/useSitemap.d.ts +1 -2
  558. package/lib/services/sitemap/useSitemap.js +2 -1
  559. package/lib/services/sitemap/useSitemap.js.map +1 -1
  560. package/lib/ui-kit/BlockWrapper.d.ts +1 -1
  561. package/lib/ui-kit/BlockWrapper.js +3 -2
  562. package/lib/ui-kit/BlockWrapper.js.map +1 -1
  563. package/lib/ui-kit/BlocksList/BlocksListProps.d.ts +0 -2
  564. package/lib/ui-kit/BlocksList/EmbeddableBlocks.d.ts +10 -10
  565. package/lib/ui-kit/BlocksList/EmbeddableBlocks.mobile.d.ts +6 -6
  566. package/lib/ui-kit/Breadcrumb.d.ts +1 -1
  567. package/lib/ui-kit/Button/ArrowButton.d.ts +1 -1
  568. package/lib/ui-kit/Button/Button.d.ts +1 -1
  569. package/lib/ui-kit/Button/Button.mobile.d.ts +1 -1
  570. package/lib/ui-kit/Button/ButtonInner.d.ts +1 -1
  571. package/lib/ui-kit/Button/ButtonSection.d.ts +1 -1
  572. package/lib/ui-kit/Button/LikeButton.d.ts +1 -1
  573. package/lib/ui-kit/Checkbox/Checkbox.d.ts +1 -1
  574. package/lib/ui-kit/Checkbox/Checkbox.js +5 -3
  575. package/lib/ui-kit/Checkbox/Checkbox.js.map +1 -1
  576. package/lib/ui-kit/Description/Description.d.ts +1 -1
  577. package/lib/ui-kit/Foldable/Foldable.d.ts +1 -1
  578. package/lib/ui-kit/Foldable/Foldable.js +1 -2
  579. package/lib/ui-kit/Foldable/Foldable.js.map +1 -1
  580. package/lib/ui-kit/Foldable/useActiveHandler.d.ts +1 -3
  581. package/lib/ui-kit/Foldable/useActiveHandler.js +3 -2
  582. package/lib/ui-kit/Foldable/useActiveHandler.js.map +1 -1
  583. package/lib/ui-kit/HeaderItem/HeaderItem.d.ts +1 -1
  584. package/lib/ui-kit/HeaderItem/HeaderItem.mobile.d.ts +1 -1
  585. package/lib/ui-kit/Heading/Heading.d.ts +1 -1
  586. package/lib/ui-kit/Heading/Heading.mobile.d.ts +1 -1
  587. package/lib/ui-kit/Icon/Icon.d.ts +1 -1
  588. package/lib/ui-kit/Img/Img.d.ts +1 -1
  589. package/lib/ui-kit/Img/Img.mobile.d.ts +1 -1
  590. package/lib/ui-kit/Img/ImgAsPicture.d.ts +1 -1
  591. package/lib/ui-kit/Img/ImgInner.d.ts +1 -1
  592. package/lib/ui-kit/Input/Input.d.ts +1 -1
  593. package/lib/ui-kit/InputRange/InputRange.d.ts +1 -1
  594. package/lib/ui-kit/InputRange/InputRange.js +4 -3
  595. package/lib/ui-kit/InputRange/InputRange.js.map +1 -1
  596. package/lib/ui-kit/InputRange/InputRangeProps.d.ts +1 -0
  597. package/lib/ui-kit/List/List.d.ts +1 -1
  598. package/lib/ui-kit/List/ListItem.d.ts +1 -1
  599. package/lib/ui-kit/Logo/Logo.d.ts +1 -1
  600. package/lib/ui-kit/Logo/Logo.mobile.d.ts +1 -1
  601. package/lib/ui-kit/Radio/Radio.d.ts +1 -1
  602. package/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +1 -1
  603. package/lib/ui-kit/SVG.d.ts +1 -1
  604. package/lib/ui-kit/SearchBar/SearchBar.d.ts +1 -1
  605. package/lib/ui-kit/SearchBar/SearchBar.js +2 -2
  606. package/lib/ui-kit/SearchBar/SearchBar.js.map +1 -1
  607. package/lib/ui-kit/SearchBar/SearchBar.mobile.d.ts +1 -1
  608. package/lib/ui-kit/SearchBar/SearchBar.mobile.js +2 -2
  609. package/lib/ui-kit/SearchBar/SearchBar.mobile.js.map +1 -1
  610. package/lib/ui-kit/SearchBar/SearchBarInner.d.ts +3 -3
  611. package/lib/ui-kit/SearchBar/SearchBarInner.js +3 -2
  612. package/lib/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
  613. package/lib/ui-kit/Select/Select.d.ts +1 -1
  614. package/lib/ui-kit/Select/SelectOption.d.ts +1 -1
  615. package/lib/ui-kit/SwipeListControl/SwipeListControl.d.ts +1 -1
  616. package/lib/ui-kit/SwipeListControl/SwipeListControl.js +4 -3
  617. package/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  618. package/lib/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +1 -1
  619. package/lib/ui-kit/SwipeListControl/SwipeListControlItem.d.ts +1 -1
  620. package/lib/ui-kit/SwipeListControl/SwipeListControlList.d.ts +1 -1
  621. package/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControl.d.ts +1 -1
  622. package/lib/ui-kit/Tabs/Tabs.d.ts +1 -1
  623. package/lib/ui-kit/TopItem/TopItem.d.ts +1 -1
  624. package/mobile/bundle/bundle.umd.js +1897 -1794
  625. package/mobile/bundle/bundle.umd.min.js +1 -1
  626. package/mobile/dist/ProjectSettings.d.ts +2 -3
  627. package/mobile/dist/ProjectSettings.js +2 -2
  628. package/mobile/dist/ProjectSettings.js.map +1 -1
  629. package/mobile/dist/api/LikeAPI.d.ts +1 -1
  630. package/mobile/dist/api/LikeAPI.js +6 -5
  631. package/mobile/dist/api/LikeAPI.js.map +1 -1
  632. package/mobile/dist/components/Accordion/Accordion.d.ts +1 -1
  633. package/mobile/dist/components/Accordion/AccordionItem.d.ts +1 -1
  634. package/mobile/dist/components/Accordion/AccordionItem.js +1 -4
  635. package/mobile/dist/components/Accordion/AccordionItem.js.map +1 -1
  636. package/mobile/dist/components/Accordion/AccordionItemInner.d.ts +1 -1
  637. package/mobile/dist/components/Accordion/useActiveHandler.d.ts +1 -1
  638. package/mobile/dist/components/Accordion/useActiveHandler.js +3 -2
  639. package/mobile/dist/components/Accordion/useActiveHandler.js.map +1 -1
  640. package/mobile/dist/components/BaseTile/BaseTile.d.ts +1 -1
  641. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.d.ts +1 -1
  642. package/mobile/dist/components/Blocks.d.ts +16 -16
  643. package/mobile/dist/components/Bonus/Bonus.d.ts +1 -1
  644. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.d.ts +1 -1
  645. package/mobile/dist/components/Calculator/BonusCalculatorForm.d.ts +1 -1
  646. package/mobile/dist/components/Calculator/BonusCalculatorForm.js +4 -3
  647. package/mobile/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
  648. package/mobile/dist/components/Calculator/Calculator.d.ts +1 -1
  649. package/mobile/dist/components/Calculator/Calculator.js +4 -3
  650. package/mobile/dist/components/Calculator/Calculator.js.map +1 -1
  651. package/mobile/dist/components/Calculator/CalculatorValueBlock.d.ts +1 -1
  652. package/mobile/dist/components/Calculator/CreditCalculatorForm.d.ts +1 -1
  653. package/mobile/dist/components/Calculator/CreditCalculatorForm.js +8 -7
  654. package/mobile/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
  655. package/mobile/dist/components/Calculator/DepositCalculatorForm.d.ts +1 -1
  656. package/mobile/dist/components/Calculator/DepositCalculatorForm.js +3 -2
  657. package/mobile/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
  658. package/mobile/dist/components/Calculator/EmbeddableCalcBlocks.d.ts +4 -4
  659. package/mobile/dist/components/Calculator/MortgageCalculatorForm.d.ts +1 -1
  660. package/mobile/dist/components/Calculator/MortgageCalculatorForm.js +5 -4
  661. package/mobile/dist/components/Calculator/MortgageCalculatorForm.js.map +1 -1
  662. package/mobile/dist/components/Calculator/Rate.d.ts +1 -1
  663. package/mobile/dist/components/Calculator/renderCalculatorBlock.js +1 -1
  664. package/mobile/dist/components/Calculator/renderCalculatorBlock.js.map +1 -1
  665. package/mobile/dist/components/Calculator/useBonusCalculatorParams.d.ts +1 -2
  666. package/mobile/dist/components/Calculator/useBonusCalculatorParams.js +3 -2
  667. package/mobile/dist/components/Calculator/useBonusCalculatorParams.js.map +1 -1
  668. package/mobile/dist/components/Calculator/useCalculatorParams.d.ts +1 -2
  669. package/mobile/dist/components/Calculator/useCalculatorParams.js +3 -2
  670. package/mobile/dist/components/Calculator/useCalculatorParams.js.map +1 -1
  671. package/mobile/dist/components/Calculator/useCreditCalculatorParams.d.ts +1 -2
  672. package/mobile/dist/components/Calculator/useCreditCalculatorParams.js +2 -2
  673. package/mobile/dist/components/Calculator/useCreditCalculatorParams.js.map +1 -1
  674. package/mobile/dist/components/Catalog/Catalog.d.ts +1 -1
  675. package/mobile/dist/components/Catalog/Catalog.js +3 -2
  676. package/mobile/dist/components/Catalog/Catalog.js.map +1 -1
  677. package/mobile/dist/components/Catalog/CatalogCard.d.ts +1 -1
  678. package/mobile/dist/components/ComparisonTable/ComparisonTable.d.ts +1 -1
  679. package/mobile/dist/components/ComparisonTable/ComparisonTable.js +2 -1
  680. package/mobile/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
  681. package/mobile/dist/components/ComparisonTable/ComparisonTableBody.d.ts +1 -1
  682. package/mobile/dist/components/ComparisonTable/ComparisonTableBody.js +3 -2
  683. package/mobile/dist/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
  684. package/mobile/dist/components/ComparisonTable/ComparisonTableColumnHeaders.d.ts +1 -1
  685. package/mobile/dist/components/ComparisonTable/ComparisonTableRows.d.ts +1 -1
  686. package/mobile/dist/components/ComparisonTable/HeaderCell.d.ts +1 -1
  687. package/mobile/dist/components/ComparisonTable/TableCarouselContainer.d.ts +1 -1
  688. package/mobile/dist/components/ComparisonTable/TableCell.d.ts +1 -1
  689. package/mobile/dist/components/ComparisonTable/TableColumn.d.ts +1 -1
  690. package/mobile/dist/components/ComparisonTable/TableRow.d.ts +1 -1
  691. package/mobile/dist/components/ComparisonTable/TableRowContainer.d.ts +1 -4
  692. package/mobile/dist/components/ContentPage/ContentPage.d.ts +3 -3
  693. package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
  694. package/mobile/dist/components/ContentPage/ContentPageContext.d.ts +1 -19
  695. package/mobile/dist/components/ContentPage/ContentPageHead.d.ts +1 -1
  696. package/mobile/dist/components/ExchangeRateTile/CurrencyTable.d.ts +1 -1
  697. package/mobile/dist/components/ExchangeRateTile/CurrentLocation.d.ts +1 -1
  698. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +1 -1
  699. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +2 -1
  700. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  701. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.d.ts +1 -1
  702. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
  703. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  704. package/mobile/dist/components/Footer/Contacts.d.ts +1 -1
  705. package/mobile/dist/components/Footer/Footer.d.ts +1 -1
  706. package/mobile/dist/components/Footer/Footer.js +1 -1
  707. package/mobile/dist/components/Footer/Footer.js.map +1 -1
  708. package/mobile/dist/components/Footer/HorizontalNavigation.d.ts +1 -1
  709. package/mobile/dist/components/Footer/HorizontalNavigationLink.d.ts +1 -1
  710. package/mobile/dist/components/Footer/MediaButton.d.ts +1 -1
  711. package/mobile/dist/components/Footer/Sitemap.d.ts +1 -1
  712. package/mobile/dist/components/Footer/Sitemap.js +2 -2
  713. package/mobile/dist/components/Footer/Sitemap.js.map +1 -1
  714. package/mobile/dist/components/Footer/SocialMedia.d.ts +1 -1
  715. package/mobile/dist/components/Footer/TextInformation.d.ts +1 -1
  716. package/mobile/dist/components/Footer/TextInformationLink.d.ts +1 -1
  717. package/mobile/dist/components/Gallery/Gallery.d.ts +1 -1
  718. package/mobile/dist/components/Gallery/GalleryCardInner.d.ts +1 -1
  719. package/mobile/dist/components/Gallery/GalleryContainer.d.ts +1 -1
  720. package/mobile/dist/components/Gallery/GalleryInner.d.ts +1 -1
  721. package/mobile/dist/components/Gallery/GalleryInner.js +2 -1
  722. package/mobile/dist/components/Gallery/GalleryInner.js.map +1 -1
  723. package/mobile/dist/components/GracePeriod/GracePeriod.d.ts +1 -1
  724. package/mobile/dist/components/GroupBlock/EmbeddableGroupBlocks.d.ts +2 -2
  725. package/mobile/dist/components/GroupBlock/GroupBlock.d.ts +1 -1
  726. package/mobile/dist/components/GroupBlock/GroupBlock.js +2 -1
  727. package/mobile/dist/components/GroupBlock/GroupBlock.js.map +1 -1
  728. package/mobile/dist/components/GroupBlock/GroupBlockTabs.d.ts +1 -1
  729. package/mobile/dist/components/GroupBlock/GroupBlocksItem.d.ts +1 -1
  730. package/mobile/dist/components/Header/DropdownMenu.d.ts +1 -1
  731. package/mobile/dist/components/Header/Header.d.ts +1 -1
  732. package/mobile/dist/components/Header/Header.js +3 -2
  733. package/mobile/dist/components/Header/Header.js.map +1 -1
  734. package/mobile/dist/components/Header/HeaderBurger.d.ts +1 -1
  735. package/mobile/dist/components/Header/HeaderBurger.js +2 -1
  736. package/mobile/dist/components/Header/HeaderBurger.js.map +1 -1
  737. package/mobile/dist/components/Header/HeaderSecondaryMenu.d.ts +3 -3
  738. package/mobile/dist/components/Header/HeaderSecondaryMenu.js +3 -2
  739. package/mobile/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  740. package/mobile/dist/components/Header/HeaderSecondaryMenuButton.d.ts +1 -1
  741. package/mobile/dist/components/Header/HeaderSubMenu.d.ts +1 -1
  742. package/mobile/dist/components/Header/HeaderSubMenu.js +3 -2
  743. package/mobile/dist/components/Header/HeaderSubMenu.js.map +1 -1
  744. package/mobile/dist/components/Header/HeaderTop.d.ts +1 -1
  745. package/mobile/dist/components/Headline/Headline.d.ts +1 -1
  746. package/mobile/dist/components/Insurance/Insurance.d.ts +1 -1
  747. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +1 -1
  748. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +2 -1
  749. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  750. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +1 -1
  751. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +4 -3
  752. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  753. package/mobile/dist/components/LikeControl/LikeControl.d.ts +1 -1
  754. package/mobile/dist/components/LikeControl/LikeControl.js +6 -2
  755. package/mobile/dist/components/LikeControl/LikeControl.js.map +1 -1
  756. package/mobile/dist/components/LinkDocs/LinkDocs.d.ts +1 -1
  757. package/mobile/dist/components/LinkDocs/LinkDocsHorizontalList.d.ts +1 -1
  758. package/mobile/dist/components/LinkDocs/LinkDocsList.d.ts +1 -1
  759. package/mobile/dist/components/LinkDocs/LinkDocsListItem.d.ts +1 -1
  760. package/mobile/dist/components/LinkDocs/LinkDocsListItemBase.d.ts +1 -1
  761. package/mobile/dist/components/LinkDocs/LinkDocsVerticalList.d.ts +1 -1
  762. package/mobile/dist/components/LinkList/LinkList.d.ts +1 -1
  763. package/mobile/dist/components/MiniGallery/MiniGallery.d.ts +1 -1
  764. package/mobile/dist/components/MobileAppTile/MobileAppTile.d.ts +1 -1
  765. package/mobile/dist/components/Navigation/Navigation.d.ts +1 -1
  766. package/mobile/dist/components/Navigation/NavigationItem.d.ts +2 -2
  767. package/mobile/dist/components/NavigatorTabs/NavigatorTabItem.d.ts +1 -1
  768. package/mobile/dist/components/NavigatorTabs/NavigatorTabs.d.ts +1 -1
  769. package/mobile/dist/components/OtherProducts/OtherProducts.d.ts +1 -1
  770. package/mobile/dist/components/OtherProducts/OtherProductsItem.d.ts +1 -1
  771. package/mobile/dist/components/PictureText/PictureText.d.ts +1 -1
  772. package/mobile/dist/components/Placeholder/Placeholder.d.ts +1 -1
  773. package/mobile/dist/components/ProductBlock/ProductBlock.d.ts +1 -1
  774. package/mobile/dist/components/ProductBlock/ProductBlockInner.d.ts +1 -1
  775. package/mobile/dist/components/ProductGallery/ProductGallery.d.ts +1 -1
  776. package/mobile/dist/components/ProductGallery/ProductGalleryBlock.d.ts +1 -1
  777. package/mobile/dist/components/ProductTile/ProductTile.d.ts +1 -1
  778. package/mobile/dist/components/ProductTile/ProductTile.js +1 -1
  779. package/mobile/dist/components/ProductTile/ProductTile.js.map +1 -1
  780. package/mobile/dist/components/PromoTile/PromoTile.d.ts +1 -1
  781. package/mobile/dist/components/PromoTile/PromoTile.js +1 -1
  782. package/mobile/dist/components/PromoTile/PromoTile.js.map +1 -1
  783. package/mobile/dist/components/Recommendation/Recommendation.d.ts +1 -1
  784. package/mobile/dist/components/Recommendation/Recommendation.js +2 -1
  785. package/mobile/dist/components/Recommendation/Recommendation.js.map +1 -1
  786. package/mobile/dist/components/Recommendation/RecommendationCard.d.ts +1 -1
  787. package/mobile/dist/components/SafeDepositRental/SafeDepositRental.d.ts +1 -1
  788. package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js +3 -2
  789. package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  790. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalForm.d.ts +1 -8
  791. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalForm.js +17 -16
  792. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
  793. package/mobile/dist/components/StepsBlock/StepsBlock.d.ts +1 -1
  794. package/mobile/dist/components/Tabs/Tabs.d.ts +1 -1
  795. package/mobile/dist/components/Tabs/Tabs.js +3 -2
  796. package/mobile/dist/components/Tabs/Tabs.js.map +1 -1
  797. package/mobile/dist/components/TariffsTable/TableTileHeader.d.ts +1 -1
  798. package/mobile/dist/components/TariffsTable/TariffsTable.d.ts +1 -1
  799. package/mobile/dist/components/TariffsTable/TariffsTableCell.d.ts +1 -1
  800. package/mobile/dist/components/TariffsTable/TariffsTableHorizontal.d.ts +2 -2
  801. package/mobile/dist/components/TariffsTable/TariffsTableRow.d.ts +1 -1
  802. package/mobile/dist/components/TariffsTable/TariffsTableTileCell.d.ts +1 -1
  803. package/mobile/dist/components/TariffsTable/TariffsTableVertical.d.ts +2 -2
  804. package/mobile/dist/components/TextBlock/TextBlock.d.ts +1 -1
  805. package/mobile/dist/components/Tile/Tile.d.ts +1 -1
  806. package/mobile/dist/components/Tile/Tile.js +1 -1
  807. package/mobile/dist/components/Tile/Tile.js.map +1 -1
  808. package/mobile/dist/hooks/useExchangeRates.d.ts +1 -2
  809. package/mobile/dist/hooks/useExchangeRates.js +3 -2
  810. package/mobile/dist/hooks/useExchangeRates.js.map +1 -1
  811. package/mobile/dist/hooks/useGeolocation.d.ts +1 -0
  812. package/mobile/dist/hooks/useGeolocation.js +21 -0
  813. package/mobile/dist/hooks/useGeolocation.js.map +1 -0
  814. package/mobile/dist/hooks/useLikeService.d.ts +5 -0
  815. package/mobile/dist/hooks/useLikeService.js +27 -0
  816. package/mobile/dist/hooks/useLikeService.js.map +1 -0
  817. package/mobile/dist/hooks/useLink.d.ts +1 -0
  818. package/mobile/dist/hooks/useLink.js +3 -2
  819. package/mobile/dist/hooks/useLink.js.map +1 -1
  820. package/mobile/dist/hooks/useSafeDepositRental.d.ts +1 -2
  821. package/mobile/dist/hooks/useSafeDepositRental.js +3 -2
  822. package/mobile/dist/hooks/useSafeDepositRental.js.map +1 -1
  823. package/mobile/dist/hooks/useSearch.d.ts +4 -0
  824. package/mobile/dist/hooks/useSearch.js +12 -0
  825. package/mobile/dist/hooks/useSearch.js.map +1 -0
  826. package/mobile/dist/index.d.ts +2 -1
  827. package/mobile/dist/index.js +5 -3
  828. package/mobile/dist/index.js.map +1 -1
  829. package/mobile/dist/react/setup-fixture.d.ts +1 -0
  830. package/mobile/dist/react/setup-fixture.js +1 -48
  831. package/mobile/dist/react/setup-fixture.js.map +1 -1
  832. package/mobile/dist/services/sitemap/useSitemap.d.ts +1 -2
  833. package/mobile/dist/services/sitemap/useSitemap.js +3 -2
  834. package/mobile/dist/services/sitemap/useSitemap.js.map +1 -1
  835. package/mobile/dist/ui-kit/BlockWrapper.d.ts +1 -1
  836. package/mobile/dist/ui-kit/BlockWrapper.js +3 -2
  837. package/mobile/dist/ui-kit/BlockWrapper.js.map +1 -1
  838. package/mobile/dist/ui-kit/BlocksList/BlocksListProps.d.ts +0 -2
  839. package/mobile/dist/ui-kit/BlocksList/EmbeddableBlocks.d.ts +6 -6
  840. package/mobile/dist/ui-kit/Breadcrumb.d.ts +1 -1
  841. package/mobile/dist/ui-kit/Button/ArrowButton.d.ts +1 -1
  842. package/mobile/dist/ui-kit/Button/Button.d.ts +1 -1
  843. package/mobile/dist/ui-kit/Button/ButtonInner.d.ts +1 -1
  844. package/mobile/dist/ui-kit/Button/ButtonSection.d.ts +1 -1
  845. package/mobile/dist/ui-kit/Button/LikeButton.d.ts +1 -1
  846. package/mobile/dist/ui-kit/Checkbox/Checkbox.d.ts +1 -1
  847. package/mobile/dist/ui-kit/Checkbox/Checkbox.js +5 -3
  848. package/mobile/dist/ui-kit/Checkbox/Checkbox.js.map +1 -1
  849. package/mobile/dist/ui-kit/Description/Description.d.ts +1 -1
  850. package/mobile/dist/ui-kit/Foldable/Foldable.d.ts +1 -1
  851. package/mobile/dist/ui-kit/Foldable/Foldable.js +1 -2
  852. package/mobile/dist/ui-kit/Foldable/Foldable.js.map +1 -1
  853. package/mobile/dist/ui-kit/Foldable/useActiveHandler.d.ts +1 -3
  854. package/mobile/dist/ui-kit/Foldable/useActiveHandler.js +3 -2
  855. package/mobile/dist/ui-kit/Foldable/useActiveHandler.js.map +1 -1
  856. package/mobile/dist/ui-kit/HeaderItem/HeaderItem.d.ts +1 -1
  857. package/mobile/dist/ui-kit/Heading/Heading.d.ts +1 -1
  858. package/mobile/dist/ui-kit/Icon/Icon.d.ts +1 -1
  859. package/mobile/dist/ui-kit/Img/Img.d.ts +1 -1
  860. package/mobile/dist/ui-kit/Img/ImgAsPicture.d.ts +1 -1
  861. package/mobile/dist/ui-kit/Img/ImgInner.d.ts +1 -1
  862. package/mobile/dist/ui-kit/Input/Input.d.ts +1 -1
  863. package/mobile/dist/ui-kit/InputRange/InputRange.d.ts +1 -1
  864. package/mobile/dist/ui-kit/InputRange/InputRange.js +4 -3
  865. package/mobile/dist/ui-kit/InputRange/InputRange.js.map +1 -1
  866. package/mobile/dist/ui-kit/InputRange/InputRangeProps.d.ts +1 -0
  867. package/mobile/dist/ui-kit/List/List.d.ts +1 -1
  868. package/mobile/dist/ui-kit/List/ListItem.d.ts +1 -1
  869. package/mobile/dist/ui-kit/Logo/Logo.d.ts +1 -1
  870. package/mobile/dist/ui-kit/Radio/Radio.d.ts +1 -1
  871. package/mobile/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +1 -1
  872. package/mobile/dist/ui-kit/SVG.d.ts +1 -1
  873. package/mobile/dist/ui-kit/SearchBar/SearchBar.d.ts +1 -1
  874. package/mobile/dist/ui-kit/SearchBar/SearchBar.js +2 -2
  875. package/mobile/dist/ui-kit/SearchBar/SearchBar.js.map +1 -1
  876. package/mobile/dist/ui-kit/SearchBar/SearchBarInner.d.ts +3 -3
  877. package/mobile/dist/ui-kit/SearchBar/SearchBarInner.js +3 -2
  878. package/mobile/dist/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
  879. package/mobile/dist/ui-kit/Select/Select.d.ts +1 -1
  880. package/mobile/dist/ui-kit/Select/SelectOption.d.ts +1 -1
  881. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.d.ts +1 -1
  882. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js +4 -3
  883. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  884. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +1 -1
  885. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlItem.d.ts +1 -1
  886. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlList.d.ts +1 -1
  887. package/mobile/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControl.d.ts +1 -1
  888. package/mobile/dist/ui-kit/Tabs/Tabs.d.ts +1 -1
  889. package/mobile/dist/ui-kit/TopItem/TopItem.d.ts +1 -1
  890. package/mobile/lib/ProjectSettings.d.ts +2 -3
  891. package/mobile/lib/ProjectSettings.js +2 -2
  892. package/mobile/lib/ProjectSettings.js.map +1 -1
  893. package/mobile/lib/api/LikeAPI.d.ts +1 -1
  894. package/mobile/lib/api/LikeAPI.js +6 -5
  895. package/mobile/lib/api/LikeAPI.js.map +1 -1
  896. package/mobile/lib/components/Accordion/Accordion.d.ts +1 -1
  897. package/mobile/lib/components/Accordion/AccordionItem.d.ts +1 -1
  898. package/mobile/lib/components/Accordion/AccordionItem.js +1 -4
  899. package/mobile/lib/components/Accordion/AccordionItem.js.map +1 -1
  900. package/mobile/lib/components/Accordion/AccordionItemInner.d.ts +1 -1
  901. package/mobile/lib/components/Accordion/useActiveHandler.d.ts +1 -1
  902. package/mobile/lib/components/Accordion/useActiveHandler.js +3 -2
  903. package/mobile/lib/components/Accordion/useActiveHandler.js.map +1 -1
  904. package/mobile/lib/components/BaseTile/BaseTile.d.ts +1 -1
  905. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.d.ts +1 -1
  906. package/mobile/lib/components/Blocks.d.ts +16 -16
  907. package/mobile/lib/components/Bonus/Bonus.d.ts +1 -1
  908. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.d.ts +1 -1
  909. package/mobile/lib/components/Calculator/BonusCalculatorForm.d.ts +1 -1
  910. package/mobile/lib/components/Calculator/BonusCalculatorForm.js +4 -3
  911. package/mobile/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
  912. package/mobile/lib/components/Calculator/Calculator.d.ts +1 -1
  913. package/mobile/lib/components/Calculator/Calculator.js +4 -3
  914. package/mobile/lib/components/Calculator/Calculator.js.map +1 -1
  915. package/mobile/lib/components/Calculator/CalculatorValueBlock.d.ts +1 -1
  916. package/mobile/lib/components/Calculator/CreditCalculatorForm.d.ts +1 -1
  917. package/mobile/lib/components/Calculator/CreditCalculatorForm.js +8 -7
  918. package/mobile/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
  919. package/mobile/lib/components/Calculator/DepositCalculatorForm.d.ts +1 -1
  920. package/mobile/lib/components/Calculator/DepositCalculatorForm.js +3 -2
  921. package/mobile/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
  922. package/mobile/lib/components/Calculator/EmbeddableCalcBlocks.d.ts +4 -4
  923. package/mobile/lib/components/Calculator/MortgageCalculatorForm.d.ts +1 -1
  924. package/mobile/lib/components/Calculator/MortgageCalculatorForm.js +5 -4
  925. package/mobile/lib/components/Calculator/MortgageCalculatorForm.js.map +1 -1
  926. package/mobile/lib/components/Calculator/Rate.d.ts +1 -1
  927. package/mobile/lib/components/Calculator/renderCalculatorBlock.js +1 -1
  928. package/mobile/lib/components/Calculator/renderCalculatorBlock.js.map +1 -1
  929. package/mobile/lib/components/Calculator/useBonusCalculatorParams.d.ts +1 -2
  930. package/mobile/lib/components/Calculator/useBonusCalculatorParams.js +3 -2
  931. package/mobile/lib/components/Calculator/useBonusCalculatorParams.js.map +1 -1
  932. package/mobile/lib/components/Calculator/useCalculatorParams.d.ts +1 -2
  933. package/mobile/lib/components/Calculator/useCalculatorParams.js +2 -1
  934. package/mobile/lib/components/Calculator/useCalculatorParams.js.map +1 -1
  935. package/mobile/lib/components/Calculator/useCreditCalculatorParams.d.ts +1 -2
  936. package/mobile/lib/components/Calculator/useCreditCalculatorParams.js +2 -2
  937. package/mobile/lib/components/Calculator/useCreditCalculatorParams.js.map +1 -1
  938. package/mobile/lib/components/Catalog/Catalog.d.ts +1 -1
  939. package/mobile/lib/components/Catalog/Catalog.js +3 -2
  940. package/mobile/lib/components/Catalog/Catalog.js.map +1 -1
  941. package/mobile/lib/components/Catalog/CatalogCard.d.ts +1 -1
  942. package/mobile/lib/components/ComparisonTable/ComparisonTable.d.ts +1 -1
  943. package/mobile/lib/components/ComparisonTable/ComparisonTable.js +2 -1
  944. package/mobile/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
  945. package/mobile/lib/components/ComparisonTable/ComparisonTableBody.d.ts +1 -1
  946. package/mobile/lib/components/ComparisonTable/ComparisonTableBody.js +3 -2
  947. package/mobile/lib/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
  948. package/mobile/lib/components/ComparisonTable/ComparisonTableColumnHeaders.d.ts +1 -1
  949. package/mobile/lib/components/ComparisonTable/ComparisonTableRows.d.ts +1 -1
  950. package/mobile/lib/components/ComparisonTable/HeaderCell.d.ts +1 -1
  951. package/mobile/lib/components/ComparisonTable/TableCarouselContainer.d.ts +1 -1
  952. package/mobile/lib/components/ComparisonTable/TableCell.d.ts +1 -1
  953. package/mobile/lib/components/ComparisonTable/TableColumn.d.ts +1 -1
  954. package/mobile/lib/components/ComparisonTable/TableRow.d.ts +1 -1
  955. package/mobile/lib/components/ComparisonTable/TableRowContainer.d.ts +1 -4
  956. package/mobile/lib/components/ContentPage/ContentPage.d.ts +3 -3
  957. package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
  958. package/mobile/lib/components/ContentPage/ContentPageContext.d.ts +1 -19
  959. package/mobile/lib/components/ContentPage/ContentPageHead.d.ts +1 -1
  960. package/mobile/lib/components/ExchangeRateTile/CurrencyTable.d.ts +1 -1
  961. package/mobile/lib/components/ExchangeRateTile/CurrentLocation.d.ts +1 -1
  962. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +1 -1
  963. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +2 -1
  964. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  965. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.d.ts +1 -1
  966. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
  967. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  968. package/mobile/lib/components/Footer/Contacts.d.ts +1 -1
  969. package/mobile/lib/components/Footer/Footer.d.ts +1 -1
  970. package/mobile/lib/components/Footer/Footer.js +1 -1
  971. package/mobile/lib/components/Footer/Footer.js.map +1 -1
  972. package/mobile/lib/components/Footer/HorizontalNavigation.d.ts +1 -1
  973. package/mobile/lib/components/Footer/HorizontalNavigationLink.d.ts +1 -1
  974. package/mobile/lib/components/Footer/MediaButton.d.ts +1 -1
  975. package/mobile/lib/components/Footer/Sitemap.d.ts +1 -1
  976. package/mobile/lib/components/Footer/Sitemap.js +2 -2
  977. package/mobile/lib/components/Footer/Sitemap.js.map +1 -1
  978. package/mobile/lib/components/Footer/SocialMedia.d.ts +1 -1
  979. package/mobile/lib/components/Footer/TextInformation.d.ts +1 -1
  980. package/mobile/lib/components/Footer/TextInformationLink.d.ts +1 -1
  981. package/mobile/lib/components/Gallery/Gallery.d.ts +1 -1
  982. package/mobile/lib/components/Gallery/GalleryCardInner.d.ts +1 -1
  983. package/mobile/lib/components/Gallery/GalleryContainer.d.ts +1 -1
  984. package/mobile/lib/components/Gallery/GalleryInner.d.ts +1 -1
  985. package/mobile/lib/components/Gallery/GalleryInner.js +2 -1
  986. package/mobile/lib/components/Gallery/GalleryInner.js.map +1 -1
  987. package/mobile/lib/components/GracePeriod/GracePeriod.d.ts +1 -1
  988. package/mobile/lib/components/GroupBlock/EmbeddableGroupBlocks.d.ts +2 -2
  989. package/mobile/lib/components/GroupBlock/GroupBlock.d.ts +1 -1
  990. package/mobile/lib/components/GroupBlock/GroupBlock.js +2 -1
  991. package/mobile/lib/components/GroupBlock/GroupBlock.js.map +1 -1
  992. package/mobile/lib/components/GroupBlock/GroupBlockTabs.d.ts +1 -1
  993. package/mobile/lib/components/GroupBlock/GroupBlocksItem.d.ts +1 -1
  994. package/mobile/lib/components/Header/DropdownMenu.d.ts +1 -1
  995. package/mobile/lib/components/Header/Header.d.ts +1 -1
  996. package/mobile/lib/components/Header/Header.js +3 -2
  997. package/mobile/lib/components/Header/Header.js.map +1 -1
  998. package/mobile/lib/components/Header/HeaderBurger.d.ts +1 -1
  999. package/mobile/lib/components/Header/HeaderBurger.js +2 -1
  1000. package/mobile/lib/components/Header/HeaderBurger.js.map +1 -1
  1001. package/mobile/lib/components/Header/HeaderSecondaryMenu.d.ts +3 -3
  1002. package/mobile/lib/components/Header/HeaderSecondaryMenu.js +3 -2
  1003. package/mobile/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  1004. package/mobile/lib/components/Header/HeaderSecondaryMenuButton.d.ts +1 -1
  1005. package/mobile/lib/components/Header/HeaderSubMenu.d.ts +1 -1
  1006. package/mobile/lib/components/Header/HeaderSubMenu.js +3 -2
  1007. package/mobile/lib/components/Header/HeaderSubMenu.js.map +1 -1
  1008. package/mobile/lib/components/Header/HeaderTop.d.ts +1 -1
  1009. package/mobile/lib/components/Headline/Headline.d.ts +1 -1
  1010. package/mobile/lib/components/Insurance/Insurance.d.ts +1 -1
  1011. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +1 -1
  1012. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +2 -1
  1013. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  1014. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +1 -1
  1015. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +4 -3
  1016. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  1017. package/mobile/lib/components/LikeControl/LikeControl.d.ts +1 -1
  1018. package/mobile/lib/components/LikeControl/LikeControl.js +6 -2
  1019. package/mobile/lib/components/LikeControl/LikeControl.js.map +1 -1
  1020. package/mobile/lib/components/LinkDocs/LinkDocs.d.ts +1 -1
  1021. package/mobile/lib/components/LinkDocs/LinkDocsHorizontalList.d.ts +1 -1
  1022. package/mobile/lib/components/LinkDocs/LinkDocsList.d.ts +1 -1
  1023. package/mobile/lib/components/LinkDocs/LinkDocsListItem.d.ts +1 -1
  1024. package/mobile/lib/components/LinkDocs/LinkDocsListItemBase.d.ts +1 -1
  1025. package/mobile/lib/components/LinkDocs/LinkDocsVerticalList.d.ts +1 -1
  1026. package/mobile/lib/components/LinkList/LinkList.d.ts +1 -1
  1027. package/mobile/lib/components/MiniGallery/MiniGallery.d.ts +1 -1
  1028. package/mobile/lib/components/MobileAppTile/MobileAppTile.d.ts +1 -1
  1029. package/mobile/lib/components/Navigation/Navigation.d.ts +1 -1
  1030. package/mobile/lib/components/Navigation/NavigationItem.d.ts +2 -2
  1031. package/mobile/lib/components/NavigatorTabs/NavigatorTabItem.d.ts +1 -1
  1032. package/mobile/lib/components/NavigatorTabs/NavigatorTabs.d.ts +1 -1
  1033. package/mobile/lib/components/OtherProducts/OtherProducts.d.ts +1 -1
  1034. package/mobile/lib/components/OtherProducts/OtherProductsItem.d.ts +1 -1
  1035. package/mobile/lib/components/PictureText/PictureText.d.ts +1 -1
  1036. package/mobile/lib/components/Placeholder/Placeholder.d.ts +1 -1
  1037. package/mobile/lib/components/ProductBlock/ProductBlock.d.ts +1 -1
  1038. package/mobile/lib/components/ProductBlock/ProductBlockInner.d.ts +1 -1
  1039. package/mobile/lib/components/ProductGallery/ProductGallery.d.ts +1 -1
  1040. package/mobile/lib/components/ProductGallery/ProductGalleryBlock.d.ts +1 -1
  1041. package/mobile/lib/components/ProductTile/ProductTile.d.ts +1 -1
  1042. package/mobile/lib/components/ProductTile/ProductTile.js +1 -1
  1043. package/mobile/lib/components/ProductTile/ProductTile.js.map +1 -1
  1044. package/mobile/lib/components/PromoTile/PromoTile.d.ts +1 -1
  1045. package/mobile/lib/components/PromoTile/PromoTile.js +1 -1
  1046. package/mobile/lib/components/PromoTile/PromoTile.js.map +1 -1
  1047. package/mobile/lib/components/Recommendation/Recommendation.d.ts +1 -1
  1048. package/mobile/lib/components/Recommendation/Recommendation.js +2 -1
  1049. package/mobile/lib/components/Recommendation/Recommendation.js.map +1 -1
  1050. package/mobile/lib/components/Recommendation/RecommendationCard.d.ts +1 -1
  1051. package/mobile/lib/components/SafeDepositRental/SafeDepositRental.d.ts +1 -1
  1052. package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js +3 -2
  1053. package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  1054. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalForm.d.ts +1 -8
  1055. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalForm.js +17 -15
  1056. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
  1057. package/mobile/lib/components/StepsBlock/StepsBlock.d.ts +1 -1
  1058. package/mobile/lib/components/Tabs/Tabs.d.ts +1 -1
  1059. package/mobile/lib/components/Tabs/Tabs.js +3 -2
  1060. package/mobile/lib/components/Tabs/Tabs.js.map +1 -1
  1061. package/mobile/lib/components/TariffsTable/TableTileHeader.d.ts +1 -1
  1062. package/mobile/lib/components/TariffsTable/TariffsTable.d.ts +1 -1
  1063. package/mobile/lib/components/TariffsTable/TariffsTableCell.d.ts +1 -1
  1064. package/mobile/lib/components/TariffsTable/TariffsTableHorizontal.d.ts +2 -2
  1065. package/mobile/lib/components/TariffsTable/TariffsTableRow.d.ts +1 -1
  1066. package/mobile/lib/components/TariffsTable/TariffsTableTileCell.d.ts +1 -1
  1067. package/mobile/lib/components/TariffsTable/TariffsTableVertical.d.ts +2 -2
  1068. package/mobile/lib/components/TextBlock/TextBlock.d.ts +1 -1
  1069. package/mobile/lib/components/Tile/Tile.d.ts +1 -1
  1070. package/mobile/lib/components/Tile/Tile.js +1 -1
  1071. package/mobile/lib/components/Tile/Tile.js.map +1 -1
  1072. package/mobile/lib/hooks/useExchangeRates.d.ts +1 -2
  1073. package/mobile/lib/hooks/useExchangeRates.js +2 -1
  1074. package/mobile/lib/hooks/useExchangeRates.js.map +1 -1
  1075. package/mobile/lib/hooks/useGeolocation.d.ts +1 -0
  1076. package/mobile/lib/hooks/useGeolocation.js +18 -0
  1077. package/mobile/lib/hooks/useGeolocation.js.map +1 -0
  1078. package/mobile/lib/hooks/useLikeService.d.ts +5 -0
  1079. package/mobile/lib/hooks/useLikeService.js +24 -0
  1080. package/mobile/lib/hooks/useLikeService.js.map +1 -0
  1081. package/mobile/lib/hooks/useLink.d.ts +1 -0
  1082. package/mobile/lib/hooks/useLink.js +1 -1
  1083. package/mobile/lib/hooks/useLink.js.map +1 -1
  1084. package/mobile/lib/hooks/useSafeDepositRental.d.ts +1 -2
  1085. package/mobile/lib/hooks/useSafeDepositRental.js +2 -1
  1086. package/mobile/lib/hooks/useSafeDepositRental.js.map +1 -1
  1087. package/mobile/lib/hooks/useSearch.d.ts +4 -0
  1088. package/mobile/lib/hooks/useSearch.js +9 -0
  1089. package/mobile/lib/hooks/useSearch.js.map +1 -0
  1090. package/mobile/lib/index.d.ts +2 -1
  1091. package/mobile/lib/index.js +2 -1
  1092. package/mobile/lib/index.js.map +1 -1
  1093. package/mobile/lib/react/setup-fixture.d.ts +1 -0
  1094. package/mobile/lib/react/setup-fixture.js +2 -46
  1095. package/mobile/lib/react/setup-fixture.js.map +1 -1
  1096. package/mobile/lib/services/sitemap/useSitemap.d.ts +1 -2
  1097. package/mobile/lib/services/sitemap/useSitemap.js +2 -1
  1098. package/mobile/lib/services/sitemap/useSitemap.js.map +1 -1
  1099. package/mobile/lib/ui-kit/BlockWrapper.d.ts +1 -1
  1100. package/mobile/lib/ui-kit/BlockWrapper.js +3 -2
  1101. package/mobile/lib/ui-kit/BlockWrapper.js.map +1 -1
  1102. package/mobile/lib/ui-kit/BlocksList/BlocksListProps.d.ts +0 -2
  1103. package/mobile/lib/ui-kit/BlocksList/EmbeddableBlocks.d.ts +6 -6
  1104. package/mobile/lib/ui-kit/Breadcrumb.d.ts +1 -1
  1105. package/mobile/lib/ui-kit/Button/ArrowButton.d.ts +1 -1
  1106. package/mobile/lib/ui-kit/Button/Button.d.ts +1 -1
  1107. package/mobile/lib/ui-kit/Button/ButtonInner.d.ts +1 -1
  1108. package/mobile/lib/ui-kit/Button/ButtonSection.d.ts +1 -1
  1109. package/mobile/lib/ui-kit/Button/LikeButton.d.ts +1 -1
  1110. package/mobile/lib/ui-kit/Checkbox/Checkbox.d.ts +1 -1
  1111. package/mobile/lib/ui-kit/Checkbox/Checkbox.js +5 -3
  1112. package/mobile/lib/ui-kit/Checkbox/Checkbox.js.map +1 -1
  1113. package/mobile/lib/ui-kit/Description/Description.d.ts +1 -1
  1114. package/mobile/lib/ui-kit/Foldable/Foldable.d.ts +1 -1
  1115. package/mobile/lib/ui-kit/Foldable/Foldable.js +1 -2
  1116. package/mobile/lib/ui-kit/Foldable/Foldable.js.map +1 -1
  1117. package/mobile/lib/ui-kit/Foldable/useActiveHandler.d.ts +1 -3
  1118. package/mobile/lib/ui-kit/Foldable/useActiveHandler.js +3 -2
  1119. package/mobile/lib/ui-kit/Foldable/useActiveHandler.js.map +1 -1
  1120. package/mobile/lib/ui-kit/HeaderItem/HeaderItem.d.ts +1 -1
  1121. package/mobile/lib/ui-kit/Heading/Heading.d.ts +1 -1
  1122. package/mobile/lib/ui-kit/Icon/Icon.d.ts +1 -1
  1123. package/mobile/lib/ui-kit/Img/Img.d.ts +1 -1
  1124. package/mobile/lib/ui-kit/Img/ImgAsPicture.d.ts +1 -1
  1125. package/mobile/lib/ui-kit/Img/ImgInner.d.ts +1 -1
  1126. package/mobile/lib/ui-kit/Input/Input.d.ts +1 -1
  1127. package/mobile/lib/ui-kit/InputRange/InputRange.d.ts +1 -1
  1128. package/mobile/lib/ui-kit/InputRange/InputRange.js +4 -3
  1129. package/mobile/lib/ui-kit/InputRange/InputRange.js.map +1 -1
  1130. package/mobile/lib/ui-kit/InputRange/InputRangeProps.d.ts +1 -0
  1131. package/mobile/lib/ui-kit/List/List.d.ts +1 -1
  1132. package/mobile/lib/ui-kit/List/ListItem.d.ts +1 -1
  1133. package/mobile/lib/ui-kit/Logo/Logo.d.ts +1 -1
  1134. package/mobile/lib/ui-kit/Radio/Radio.d.ts +1 -1
  1135. package/mobile/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +1 -1
  1136. package/mobile/lib/ui-kit/SVG.d.ts +1 -1
  1137. package/mobile/lib/ui-kit/SearchBar/SearchBar.d.ts +1 -1
  1138. package/mobile/lib/ui-kit/SearchBar/SearchBar.js +2 -2
  1139. package/mobile/lib/ui-kit/SearchBar/SearchBar.js.map +1 -1
  1140. package/mobile/lib/ui-kit/SearchBar/SearchBarInner.d.ts +3 -3
  1141. package/mobile/lib/ui-kit/SearchBar/SearchBarInner.js +3 -2
  1142. package/mobile/lib/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
  1143. package/mobile/lib/ui-kit/Select/Select.d.ts +1 -1
  1144. package/mobile/lib/ui-kit/Select/SelectOption.d.ts +1 -1
  1145. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.d.ts +1 -1
  1146. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js +4 -3
  1147. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  1148. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +1 -1
  1149. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlItem.d.ts +1 -1
  1150. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlList.d.ts +1 -1
  1151. package/mobile/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControl.d.ts +1 -1
  1152. package/mobile/lib/ui-kit/Tabs/Tabs.d.ts +1 -1
  1153. package/mobile/lib/ui-kit/TopItem/TopItem.d.ts +1 -1
  1154. package/mobile/src/ProjectSettings.ts +3 -4
  1155. package/mobile/src/api/LikeAPI.ts +21 -16
  1156. package/mobile/src/common.css +25 -7
  1157. package/mobile/src/components/Accordion/AccordionItem.tsx +1 -4
  1158. package/mobile/src/components/Accordion/useActiveHandler.ts +3 -2
  1159. package/mobile/src/components/Blocks.spec.tsx +9 -15
  1160. package/mobile/src/components/Calculator/BonusCalculatorForm.tsx +4 -3
  1161. package/mobile/src/components/Calculator/Calculator.tsx +5 -4
  1162. package/mobile/src/components/Calculator/CreditCalculatorForm.tsx +8 -7
  1163. package/mobile/src/components/Calculator/DepositCalculatorForm.tsx +3 -2
  1164. package/mobile/src/components/Calculator/MortgageCalculatorForm.tsx +5 -4
  1165. package/mobile/src/components/Calculator/renderCalculatorBlock.tsx +1 -1
  1166. package/mobile/src/components/Calculator/useBonusCalculatorParams.ts +2 -6
  1167. package/mobile/src/components/Calculator/useCalculatorParams.ts +2 -2
  1168. package/mobile/src/components/Calculator/useCreditCalculatorParams.ts +1 -6
  1169. package/mobile/src/components/Catalog/Catalog.tsx +3 -2
  1170. package/mobile/src/components/ComparisonTable/ComparisonTable.tsx +3 -2
  1171. package/mobile/src/components/ComparisonTable/ComparisonTableBody.tsx +5 -4
  1172. package/mobile/src/components/ContentPage/ContentPage.tsx +3 -5
  1173. package/mobile/src/components/ContentPage/ContentPageContext.tsx +1 -26
  1174. package/mobile/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +2 -1
  1175. package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.tsx +1 -1
  1176. package/mobile/src/components/Footer/Footer.tsx +1 -1
  1177. package/mobile/src/components/Footer/Sitemap.tsx +2 -2
  1178. package/mobile/src/components/Gallery/GalleryInner.tsx +3 -2
  1179. package/mobile/src/components/GroupBlock/GroupBlock.tsx +2 -1
  1180. package/mobile/src/components/Header/Header.tsx +6 -5
  1181. package/mobile/src/components/Header/HeaderBurger.tsx +2 -1
  1182. package/mobile/src/components/Header/HeaderSecondaryMenu.tsx +6 -4
  1183. package/mobile/src/components/Header/HeaderSubMenu.tsx +3 -2
  1184. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +2 -1
  1185. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +4 -3
  1186. package/mobile/src/components/LikeControl/LikeControl.tsx +11 -3
  1187. package/mobile/src/components/ProductTile/ProductTile.tsx +2 -1
  1188. package/mobile/src/components/PromoTile/PromoTile.tsx +3 -2
  1189. package/mobile/src/components/Recommendation/Recommendation.tsx +2 -1
  1190. package/mobile/src/components/SafeDepositRental/SafeDepositRental.tsx +3 -2
  1191. package/mobile/src/components/SafeDepositRental/SafeDepositRentalForm.tsx +32 -32
  1192. package/mobile/src/components/Tabs/Tabs.tsx +3 -2
  1193. package/mobile/src/components/Tile/Tile.tsx +2 -2
  1194. package/mobile/src/components/__snapshots__/Blocks.spec.tsx.snap +11 -9
  1195. package/mobile/src/hooks/useExchangeRates.ts +2 -2
  1196. package/mobile/src/hooks/useGeolocation.ts +22 -0
  1197. package/mobile/src/hooks/useLikeService.ts +29 -0
  1198. package/mobile/src/hooks/useLink.ts +1 -1
  1199. package/mobile/src/hooks/useSafeDepositRental.ts +2 -2
  1200. package/mobile/src/hooks/useSearch.ts +10 -0
  1201. package/mobile/src/index.ts +2 -1
  1202. package/mobile/src/react/setup-fixture.ts +2 -55
  1203. package/mobile/src/services/sitemap/useSitemap.ts +2 -2
  1204. package/mobile/src/ui-kit/BlockWrapper.tsx +3 -2
  1205. package/mobile/src/ui-kit/BlocksList/BlocksListProps.ts +0 -2
  1206. package/mobile/src/ui-kit/Checkbox/Checkbox.tsx +28 -26
  1207. package/mobile/src/ui-kit/Foldable/Foldable.tsx +0 -2
  1208. package/mobile/src/ui-kit/Foldable/useActiveHandler.ts +3 -4
  1209. package/mobile/src/ui-kit/InputRange/InputRange.tsx +21 -7
  1210. package/mobile/src/ui-kit/InputRange/InputRangeProps.ts +1 -0
  1211. package/mobile/src/ui-kit/SearchBar/SearchBar.tsx +2 -2
  1212. package/mobile/src/ui-kit/SearchBar/SearchBarInner.tsx +57 -58
  1213. package/mobile/src/ui-kit/SwipeListControl/SwipeListControl.tsx +3 -3
  1214. package/package.json +2 -2
  1215. package/src/ProjectSettings.ts +3 -4
  1216. package/src/api/LikeAPI.ts +21 -16
  1217. package/src/common.css +25 -7
  1218. package/src/components/Accordion/Accordion.tsx +1 -0
  1219. package/src/components/Accordion/AccordionItem.mobile.tsx +1 -4
  1220. package/src/components/Accordion/AccordionItem.tsx +0 -1
  1221. package/src/components/Accordion/useActiveHandler.ts +3 -2
  1222. package/src/components/Blocks.spec.tsx +9 -15
  1223. package/src/components/Calculator/BonusCalculatorForm.tsx +4 -3
  1224. package/src/components/Calculator/Calculator.tsx +5 -4
  1225. package/src/components/Calculator/CreditCalculatorForm.tsx +8 -7
  1226. package/src/components/Calculator/DepositCalculatorForm.tsx +3 -2
  1227. package/src/components/Calculator/MortgageCalculatorForm.tsx +5 -4
  1228. package/src/components/Calculator/renderCalculatorBlock.tsx +1 -1
  1229. package/src/components/Calculator/useBonusCalculatorParams.ts +2 -6
  1230. package/src/components/Calculator/useCalculatorParams.ts +2 -2
  1231. package/src/components/Calculator/useCreditCalculatorParams.ts +1 -6
  1232. package/src/components/Catalog/Catalog.tsx +3 -2
  1233. package/src/components/ComparisonTable/ComparisonTable.mobile.tsx +3 -2
  1234. package/src/components/ComparisonTable/ComparisonTable.tsx +2 -1
  1235. package/src/components/ComparisonTable/ComparisonTableBody.tsx +5 -4
  1236. package/src/components/ContentPage/ContentPage.tsx +3 -5
  1237. package/src/components/ContentPage/ContentPageContext.tsx +1 -26
  1238. package/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +2 -1
  1239. package/src/components/ExchangeRateTile/ExchangeRateTile.tsx +1 -1
  1240. package/src/components/Footer/Footer.mobile.tsx +1 -1
  1241. package/src/components/Footer/Sitemap.tsx +2 -2
  1242. package/src/components/Gallery/GalleryInner.tsx +3 -2
  1243. package/src/components/GroupBlock/GroupBlock.tsx +2 -1
  1244. package/src/components/Header/Header.mobile.tsx +6 -5
  1245. package/src/components/Header/Header.tsx +1 -2
  1246. package/src/components/Header/HeaderBurger.tsx +2 -1
  1247. package/src/components/Header/HeaderSecondaryMenu.tsx +6 -4
  1248. package/src/components/Header/HeaderSubMenu.tsx +3 -2
  1249. package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +2 -1
  1250. package/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +4 -3
  1251. package/src/components/LikeControl/LikeControl.tsx +11 -3
  1252. package/src/components/LinkDocs/LinkDocs.tsx +1 -0
  1253. package/src/components/ProductGallery/ProductGallery.tsx +3 -2
  1254. package/src/components/ProductTile/ProductTile.tsx +2 -1
  1255. package/src/components/PromoTile/PromoTile.tsx +3 -2
  1256. package/src/components/Recommendation/Recommendation.tsx +2 -1
  1257. package/src/components/SafeDepositRental/SafeDepositRental.tsx +3 -2
  1258. package/src/components/SafeDepositRental/SafeDepositRentalForm.tsx +32 -32
  1259. package/src/components/Tabs/Tabs.tsx +3 -2
  1260. package/src/components/TariffsTable/TariffsTable.tsx +3 -2
  1261. package/src/components/Tile/Tile.tsx +2 -2
  1262. package/src/components/__snapshots__/Blocks.spec.tsx.snap +11 -9
  1263. package/src/hooks/useExchangeRates.ts +2 -2
  1264. package/src/hooks/useGeolocation.ts +22 -0
  1265. package/src/hooks/useLikeService.ts +29 -0
  1266. package/src/hooks/useLink.ts +1 -1
  1267. package/src/hooks/useSafeDepositRental.ts +2 -2
  1268. package/src/hooks/useSearch.ts +10 -0
  1269. package/src/index.ts +2 -1
  1270. package/src/react/setup-fixture.ts +2 -55
  1271. package/src/services/sitemap/useSitemap.ts +2 -2
  1272. package/src/ui-kit/BlockWrapper.tsx +3 -2
  1273. package/src/ui-kit/BlocksList/BlocksListProps.ts +0 -2
  1274. package/src/ui-kit/Checkbox/Checkbox.tsx +28 -26
  1275. package/src/ui-kit/Foldable/Foldable.tsx +0 -2
  1276. package/src/ui-kit/Foldable/useActiveHandler.ts +3 -4
  1277. package/src/ui-kit/InputRange/InputRange.tsx +21 -7
  1278. package/src/ui-kit/InputRange/InputRangeProps.ts +1 -0
  1279. package/src/ui-kit/SearchBar/SearchBar.mobile.tsx +2 -2
  1280. package/src/ui-kit/SearchBar/SearchBar.tsx +2 -2
  1281. package/src/ui-kit/SearchBar/SearchBarInner.tsx +57 -58
  1282. package/src/ui-kit/SwipeListControl/SwipeListControl.tsx +3 -3
@@ -1 +1 @@
1
- {"version":3,"file":"Tile.js","sourceRoot":"","sources":["../../../src/components/Tile/Tile.tsx"],"names":[],"mappings":";AAAA,OAA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,EAAE,WAAW,GAAI,CAC9F,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC"}
@@ -1,3 +1,2 @@
1
- import type { AsyncDataHook } from '../components/ContentPage/ContentPageContext';
2
1
  import type { ExchangeCurrencyItem } from '../components/ExchangeRateTile/ExchangeCurrencyCalculator';
3
- export declare function useExchangeRates(useAsyncData: AsyncDataHook): ExchangeCurrencyItem[];
2
+ export declare function useExchangeRates(): ExchangeCurrencyItem[];
@@ -1,4 +1,5 @@
1
- export function useExchangeRates(useAsyncData) {
1
+ import { useAsyncData } from '@redneckz/uni-jsx/lib/hooks/useAsyncData';
2
+ export function useExchangeRates() {
2
3
  const { data } = useAsyncData(EXCHANGE_RATES_URL, fetchExchangeRates);
3
4
  const result = data?.hits?.hits?.map((_) => _._source) || [];
4
5
  return result.length ? getCurrencyListByRate(result) : result;
@@ -1 +1 @@
1
- {"version":3,"file":"useExchangeRates.js","sourceRoot":"","sources":["../../src/hooks/useExchangeRates.ts"],"names":[],"mappings":"AASA,MAAM,UAAU,gBAAgB,CAAC,YAA2B;IAC1D,MAAM,EAAE,IAAI,EAAE,GAAG,YAAY,CAAC,kBAAkB,EAAE,kBAAkB,CAAC,CAAC;IAEtE,MAAM,MAAM,GAAG,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC;IAE7D,OAAO,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,qBAAqB,CAAC,MAAqB,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC;AAC/E,CAAC;AAED,KAAK,UAAU,kBAAkB;IAC/B,IAAI;QACF,MAAM,QAAQ,GAAG,MAAM,KAAK,CAAC,kBAAkB,EAAE;YAC/C,MAAM,EAAE,MAAM;YACd,OAAO,EAAE;gBACP,cAAc,EAAE,kBAAkB;aACnC;YACD,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,mBAAmB,C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CAAqC;wBACrC,mBAAmB,EAAE,IAAI;qBAC1B;iBACF;gBACD;oBACE,IAAI,EAAE;wBACJ,qCAAqC;wBACrC,WAAW,EAAE,GAAG;qBACjB;iBACF;gBACD;oBACE,KAAK,EAAE;wBACL,qCAAqC;wBACrC,aAAa,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC;qBACtC;iBACF;aACF;SACF;KACF;CACF,CAAC;AAQF,MAAM,qBAAqB,GAAG,CAAC,aAA0B,EAAE,EAAE,CAC3D,aAAa,CAAC,MAAM,CAAC,CAAC,MAAyB,EAAE,CAAC,EAAE,EAAE;IACpD,MAAM,YAAY,GAAG,CAAC,CAAC,gBAAgB,CAAC,CAAC;IACzC,MAAM,YAAY,GAAG,YAAY,EAAE,IAAI,CAAC;IACxC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,YAAY,CAAC,EAAE;QAChD,MAAM,CAAC,IAAI,CAAC;YACV,IAAI,EAAE,YAAY;YAClB,GAAG,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC;YAClC,IAAI,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;SACrC,CAAC,CAAC;KACJ;IAED,OAAO,MAAM,CAAC;AAChB,CAAC,EAAE,EAAE,CAAC,CAAC;AAET,MAAM,SAAS,GAAG,CAAC,KAAK,EAAE,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,GAAG,IAAI,CAAC,GAAG,IAAI,CAAC"}
@@ -0,0 +1 @@
1
+ export declare function useGeolocation(defaultLocation: string): [string, () => void];
@@ -0,0 +1,18 @@
1
+ import { useCallback, useEffect, useState } from '@redneckz/uni-jsx/lib/hooks';
2
+ import { DaDataAPI } from '../api/DaDataAPI.js';
3
+ const DaData = DaDataAPI('https://10.80.4.9');
4
+ export function useGeolocation(defaultLocation) {
5
+ const [city, setCity] = useState(defaultLocation);
6
+ useEffect(() => {
7
+ setCity(globalThis?.localStorage.getItem('location') || defaultLocation);
8
+ }, [defaultLocation]);
9
+ const getCity = useCallback(() => {
10
+ DaData.getFetcherAddress().then((_) => {
11
+ const location = _ || defaultLocation;
12
+ globalThis?.localStorage.setItem('location', location);
13
+ setCity(location);
14
+ });
15
+ }, [defaultLocation]);
16
+ return [city, getCity];
17
+ }
18
+ //# sourceMappingURL=useGeolocation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useGeolocation.js","sourceRoot":"","sources":["../../src/hooks/useGeolocation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAC/E,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAE7C,MAAM,MAAM,GAAG,SAAS,CAAC,mBAAmB,CAAC,CAAC;AAE9C,MAAM,UAAU,cAAc,CAAC,eAAuB;IACpD,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,QAAQ,CAAC,eAAe,CAAC,CAAC;IAElD,SAAS,CAAC,GAAG,EAAE;QACb,OAAO,CAAC,UAAU,EAAE,YAAY,CAAC,OAAO,CAAC,UAAU,CAAC,IAAI,eAAe,CAAC,CAAC;IAC3E,CAAC,EAAE,CAAC,eAAe,CAAC,CAAC,CAAC;IAEtB,MAAM,OAAO,GAAG,WAAW,CAAC,GAAG,EAAE;QAC/B,MAAM,CAAC,iBAAiB,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE;YACpC,MAAM,QAAQ,GAAG,CAAC,IAAI,eAAe,CAAC;YACtC,UAAU,EAAE,YAAY,CAAC,OAAO,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC;YACvD,OAAO,CAAC,QAAQ,CAAC,CAAC;QACpB,CAAC,CAAC,CAAC;IACL,CAAC,EAAE,CAAC,eAAe,CAAC,CAAC,CAAC;IAEtB,OAAO,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;AACzB,CAAC"}
@@ -0,0 +1,5 @@
1
+ export declare function useLikeService(pagePath: string): {
2
+ likeCount: number;
3
+ like: () => Promise<void>;
4
+ dislike: () => Promise<void>;
5
+ };
@@ -0,0 +1,24 @@
1
+ import { useCallback, useEffect, useState } from '@redneckz/uni-jsx/lib/hooks';
2
+ import { LikeAPI } from '../api/LikeAPI.js';
3
+ const api = LikeAPI();
4
+ export function useLikeService(pagePath) {
5
+ const [likeCount, setLikeCount] = useState(0);
6
+ useEffect(() => {
7
+ (async () => {
8
+ const [likeData] = await api.getLikeCount(pagePath);
9
+ setLikeCount(likeData?.value || 0);
10
+ })();
11
+ }, [pagePath]);
12
+ const like = useCallback(async () => {
13
+ setLikeCount(await api.like(pagePath));
14
+ }, [pagePath]);
15
+ const dislike = useCallback(async () => {
16
+ setLikeCount(await api.dislike(pagePath));
17
+ }, [pagePath]);
18
+ return {
19
+ likeCount,
20
+ like,
21
+ dislike,
22
+ };
23
+ }
24
+ //# sourceMappingURL=useLikeService.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useLikeService.js","sourceRoot":"","sources":["../../src/hooks/useLikeService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAC/E,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAEzC,MAAM,GAAG,GAAG,OAAO,EAAE,CAAC;AAEtB,MAAM,UAAU,cAAc,CAAC,QAAgB;IAC7C,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC;IAE9C,SAAS,CAAC,GAAG,EAAE;QACb,CAAC,KAAK,IAAI,EAAE;YACV,MAAM,CAAC,QAAQ,CAAC,GAAG,MAAM,GAAG,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC;YACpD,YAAY,CAAC,QAAQ,EAAE,KAAK,IAAI,CAAC,CAAC,CAAC;QACrC,CAAC,CAAC,EAAE,CAAC;IACP,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC;IAEf,MAAM,IAAI,GAAG,WAAW,CAAC,KAAK,IAAI,EAAE;QAClC,YAAY,CAAC,MAAM,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;IACzC,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC;IAEf,MAAM,OAAO,GAAG,WAAW,CAAC,KAAK,IAAI,EAAE;QACrC,YAAY,CAAC,MAAM,GAAG,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC;IAC5C,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC;IAEf,OAAO;QACL,SAAS;QACT,IAAI;QACJ,OAAO;KACR,CAAC;AACJ,CAAC"}
@@ -1,5 +1,6 @@
1
1
  import { HandlerDecorator, Router } from '../components/ContentPage/ContentPageContext';
2
2
  import type { LinkProps } from '../model/LinkProps';
3
+ export declare const defaultHandlerDecorator: HandlerDecorator;
3
4
  export declare function useLink({ router, handlerDecorator, }: {
4
5
  router: Router;
5
6
  handlerDecorator?: HandlerDecorator;
@@ -1,6 +1,6 @@
1
1
  import { adjustHref } from '../utils/adjustHref.js';
2
2
  import { isURL } from '../utils/url.js';
3
- const defaultHandlerDecorator = (handler) => handler;
3
+ export const defaultHandlerDecorator = (handler) => handler;
4
4
  export function useLink({ router, handlerDecorator = defaultHandlerDecorator, }, link) {
5
5
  const href = adjustHref(link.href, router);
6
6
  return {
@@ -1 +1 @@
1
- {"version":3,"file":"useLink.js","sourceRoot":"","sources":["../../src/hooks/useLink.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AAErC,MAAM,uBAAuB,GAAqB,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC;AAEvE,MAAM,UAAU,OAAO,CAC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IAAI,CAAC,CAAC;YACzC,MAAM,aAAa,GAAG,CAAC,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,MAAM,KAAK,OAAO,CAAC;YAC9D,IAAI,WAAW,IAAI,aAAa,EAAE;gBAChC,EAAE,EAAE,cAAc,EAAE,CAAC;gBACrB,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACnB;QACH,CAAC,EAAE,IAAI,CAAC;KACT,CAAC;AACJ,CAAC"}
@@ -1,2 +1 @@
1
- import type { AsyncDataHook } from '../components/ContentPage/ContentPageContext';
2
- export declare function useSafeDepositRental(useAsyncData: AsyncDataHook): any;
1
+ export declare function useSafeDepositRental(): any;
@@ -1,5 +1,6 @@
1
+ import { useAsyncData } from '@redneckz/uni-jsx/lib/hooks/useAsyncData';
1
2
  const SAFE_DEPOSIT_RENTAL_URL = '/api/v1/safe-deposit-rental.json';
2
- export function useSafeDepositRental(useAsyncData) {
3
+ export function useSafeDepositRental() {
3
4
  const { data } = useAsyncData(SAFE_DEPOSIT_RENTAL_URL, fetchSafeDepositRental);
4
5
  const result = data || [];
5
6
  return result;
@@ -1 +1 @@
1
- {"version":3,"file":"useSafeDepositRental.js","sourceRoot":"","sources":["../../src/hooks/useSafeDepositRental.ts"],"names":[],"mappings":"AAEA,MAAM,uBAAuB,GAAG,kCAAkC,CAAC;AAEnE,MAAM,UAAU,oBAAoB,CAAC,YAA2B;IAC9D,MAAM,EAAE,IAAI,EAAE,GAAG,YAAY,CAAC,uBAAuB,EAAE,sBAAsB,CAAC,CAAC;IAE/E,MAAM,MAAM,GAAG,IAAI,IAAI,EAAE,CAAC;IAE1B,OAAO,MAAM,CAAC;AAChB,CAAC;AAED,KAAK,UAAU,sBAAsB;IACnC,IAAI;QACF,MAAM,QAAQ,GAAG,MAAM,KAAK,CAAC,uBAAuB,EAAE;YACpD,OAAO,EAAE;gBACP,cAAc,EAAE,kBAAkB;aACnC;SACF,CAAC,CAAC;QAEH,OAAO,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC;KAC9B;IAAC,OAAO,GAAG,EAAE;QACZ,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;KACpB;AACH,CAAC"}
1
+ {"version":3,"file":"useSafeDepositRental.js","sourceRoot":"","sources":["../../src/hooks/useSafeDepositRental.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,0CAA0C,CAAC;AAExE,MAAM,uBAAuB,GAAG,kCAAkC,CAAC;AAEnE,MAAM,UAAU,oBAAoB;IAClC,MAAM,EAAE,IAAI,EAAE,GAAG,YAAY,CAAC,uBAAuB,EAAE,sBAAsB,CAAC,CAAC;IAE/E,MAAM,MAAM,GAAG,IAAI,IAAI,EAAE,CAAC;IAE1B,OAAO,MAAM,CAAC;AAChB,CAAC;AAED,KAAK,UAAU,sBAAsB;IACnC,IAAI;QACF,MAAM,QAAQ,GAAG,MAAM,KAAK,CAAC,uBAAuB,EAAE;YACpD,OAAO,EAAE;gBACP,cAAc,EAAE,kBAAkB;aACnC;SACF,CAAC,CAAC;QAEH,OAAO,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC;KAC9B;IAAC,OAAO,GAAG,EAAE;QACZ,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;KACpB;AACH,CAAC"}
@@ -0,0 +1,4 @@
1
+ export declare const useSearch: () => {
2
+ term: string;
3
+ setTerm: (text: string) => void;
4
+ };
@@ -0,0 +1,9 @@
1
+ import { useState } from '@redneckz/uni-jsx/lib/hooks';
2
+ export const useSearch = () => {
3
+ const [term, setTerm] = useState('');
4
+ return {
5
+ term,
6
+ setTerm: (text) => setTerm(text),
7
+ };
8
+ };
9
+ //# sourceMappingURL=useSearch.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useSearch.js","sourceRoot":"","sources":["../../src/hooks/useSearch.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAEvD,MAAM,CAAC,MAAM,SAAS,GAAG,GAAG,EAAE;IAC5B,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,QAAQ,CAAC,EAAE,CAAC,CAAC;IAErC,OAAO;QACL,IAAI;QACJ,OAAO,EAAE,CAAC,IAAY,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC;KACzC,CAAC;AACJ,CAAC,CAAC"}
package/lib/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
- export { setup } from '@redneckz/uni-jsx';
1
+ export { setupHooks } from '@redneckz/uni-jsx/lib/hooks';
2
+ export { setup } from '@redneckz/uni-jsx/lib/setup';
2
3
  export { DaDataAPI } from './api/DaDataAPI';
3
4
  export { LikeAPI } from './api/LikeAPI';
4
5
  export { Blocks } from './components/Blocks';
package/lib/index.js CHANGED
@@ -1,4 +1,5 @@
1
- export { setup } from '@redneckz/uni-jsx';
1
+ export { setupHooks } from '@redneckz/uni-jsx/lib/hooks';
2
+ export { setup } from '@redneckz/uni-jsx/lib/setup';
2
3
  export { DaDataAPI } from './api/DaDataAPI.js';
3
4
  export { LikeAPI } from './api/LikeAPI.js';
4
5
  export { Blocks } from './components/Blocks.js';
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AACnE,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,KAAK,GAAG,MAAM,aAAa,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AACzD,OAAO,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AACnE,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,KAAK,GAAG,MAAM,aAAa,CAAC"}
@@ -1,3 +1,4 @@
1
+ import '@redneckz/uni-jsx/lib/setup.react';
1
2
  import type { ContentPageContext } from '../components/ContentPage/ContentPageContext';
2
3
  export declare const context: ContentPageContext;
3
4
  export declare const mobileContext: ContentPageContext;
@@ -1,13 +1,7 @@
1
- import { setup } from '@redneckz/uni-jsx';
2
- import { useEffect, useState } from 'react';
3
- import runtime from 'react/jsx-runtime';
4
- import { DaDataAPI } from '../api/DaDataAPI.js';
1
+ import '@redneckz/uni-jsx/lib/setup.react';
2
+ import { useState } from 'react';
5
3
  import { IntersectionObserverTag } from './IntersectionObserverTag.js';
6
- const { jsx, jsxs } = runtime;
7
- // eslint-disable-next-line @typescript-eslint/no-unsafe-argument
8
- setup(jsx, jsxs);
9
4
  const TEST_ORIGIN = 'http://localhost:5001';
10
- const DaData = DaDataAPI('https://10.80.4.9');
11
5
  const Router = () => {
12
6
  const [href, setHref] = useState(globalThis.location.href);
13
7
  return {
@@ -25,49 +19,11 @@ const Router = () => {
25
19
  };
26
20
  };
27
21
  export const context = {
28
- useState,
29
22
  useRouter: Router,
30
- useAsyncData: (key, fetcher) => {
31
- const [data, setData] = useState();
32
- useEffect(() => {
33
- fetcher(key).then((_) => {
34
- setData(_);
35
- });
36
- }, [key, fetcher]);
37
- return { data };
38
- },
39
- useGeolocation: (defaultLocation) => {
40
- const [city, setCity] = useState(globalThis.localStorage.getItem('location') || defaultLocation);
41
- const getCity = () => {
42
- DaData.getFetcherAddress().then((_) => {
43
- const location = _ || defaultLocation;
44
- globalThis.localStorage.setItem('location', location);
45
- setCity(location);
46
- });
47
- };
48
- return [city, getCity];
49
- },
50
- useLikeService: () => ({
51
- likeCount: 0,
52
- like: () => {
53
- console.log('like');
54
- },
55
- dislike: () => {
56
- console.log('dislike');
57
- },
58
- }),
59
23
  handlerDecorator: (handler, targetContent) => (ev) => {
60
24
  ev.preventDefault();
61
25
  console.log(ev.target, ev, targetContent);
62
26
  },
63
- useSearch: () => {
64
- const [term, setTerm] = useState('');
65
- return {
66
- term,
67
- setTerm: (text) => setTerm(text),
68
- };
69
- },
70
- useEffect,
71
27
  IntersectionObserverTag,
72
28
  };
73
29
  export const mobileContext = {
@@ -1 +1 @@
1
- {"version":3,"file":"setup-fixture.js","sourceRoot":"","sources":["../../src/react/setup-fixture.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,OAAO,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAE7C,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAEpE,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,OAAc,CAAC;AAErC,iEAAiE;AACjE,KAAK,CAAC,GAAG,EAAE,IAAI,CAAC,CAAC;AAEjB,MAAM,WAAW,GAAG,uBAAuB,CAAC;AAE5C,MAAM,MAAM,GAAG,SAAS,CAAC,mBAAmB,CAAC,CAAC;AAE9C,MAAM,MAAM,GAAG,GAAG,EAAE;IAClB,MAAM,CAAC,IAAI,EA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IACzC,SAAS,EAAE,MAAM;IACjB,gBAAgB,EACd,CAAC,OAAO,EAAE,aAAa,EAAO,EAAE,CAChC,CAAC,EAAE,EAAE,EAAE;QACL,EAAE,CAAC,cAAc,EAAE,CAAC;QACpB,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,MAAM,EAAE,EAAE,EAAE,aAAa,CAAC,CAAC;IAC5C,CAAC;IACH,uBAAuB;CACxB,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAAuB;IAC/C,GAAG,OAAO;IACV,SAAS,EAAE,GAAG,EAAE,CAAC,CAAC;QAChB,IAAI,EAAE,GAAG,WAAW,iBAAiB;QACrC,QAAQ,EAAE,iBAAiB;QAC3B,KAAK,EAAE,EAAE;QACT,IAAI,EAAE,CAAC,GAAW,EAAE,EAAE;YACpB,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;QACnB,CAAC;QACD,OAAO,EAAE,CAAC,GAAW,EAAE,EAAE;YACvB,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;QACnB,CAAC;KACF,CAAC;CACH,CAAC"}
@@ -1,3 +1,2 @@
1
- import type { AsyncDataHook } from '../../components/ContentPage/ContentPageContext';
2
1
  import type { HeaderContent } from '../../components/Header/HeaderContent';
3
- export declare function useSitemap(useAsyncData: AsyncDataHook): HeaderContent;
2
+ export declare function useSitemap(): HeaderContent;
@@ -1,5 +1,6 @@
1
+ import { useAsyncData } from '@redneckz/uni-jsx/lib/hooks/useAsyncData';
1
2
  import { projectSettings } from '../../ProjectSettings.js';
2
- export function useSitemap(useAsyncData) {
3
+ export function useSitemap() {
3
4
  const { data } = useAsyncData(sitemapURL(), fetchSitemap);
4
5
  return data || {};
5
6
  }
@@ -1 +1 @@
1
- {"version":3,"file":"useSitemap.js","sourceRoot":"","sources":["../../../src/services/sitemap/useSitemap.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAExD,MAAM,UAAU,UAAU,CAAC,YAA2B;IACpD,MAAM,EAAE,IAAI,EAAE,GAAG,YAAY,CAAC,UAAU,EAAE,EAAE,YAAY,CAAC,CAAC;IAE1D,OAAO,IAAI,IAAI,EAAE,CAAC;AACpB,CAAC;AAED,KAAK,UAAU,YAAY;IACzB,MAAM,QAAQ,GAAG,MAAM,KAAK,CAAC,UAAU,EAAE,CAAC,CAAC;IAE3C,OAAO,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC;AAC/B,CAAC;AAED,SAAS,UAAU;IACjB,OAAO,mBAAmB,eAAe,CAAC,OAAO,IAAI,SAAS,OAAO,CAAC;AACxE,CAAC"}
1
+ {"version":3,"file":"useSitemap.js","sourceRoot":"","sources":["../../../src/services/sitemap/useSitemap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,0CAA0C,CAAC;AAExE,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAExD,MAAM,UAAU,UAAU;IACxB,MAAM,EAAE,IAAI,EAAE,GAAG,YAAY,CAAC,UAAU,EAAE,EAAE,YAAY,CAAC,CAAC;IAE1D,OAAO,IAAI,IAAI,EAAE,CAAC;AACpB,CAAC;AAED,KAAK,UAAU,YAAY;IACzB,MAAM,QAAQ,GAAG,MAAM,KAAK,CAAC,UAAU,EAAE,CAAC,CAAC;IAE3C,OAAO,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC;AAC/B,CAAC;AAED,SAAS,UAAU;IACjB,OAAO,mBAAmB,eAAe,CAAC,OAAO,IAAI,SAAS,OAAO,CAAC;AACxE,CAAC"}
@@ -6,5 +6,5 @@ interface BlockWrapperProps extends UniBlockProps, Record<string, any> {
6
6
  anchor?: string;
7
7
  tag?: keyof HTMLElementTagNameMap;
8
8
  }
9
- export declare const BlockWrapper: (props: import("@redneckz/uni-jsx").PropsWithChildren<BlockWrapperProps, any>, context?: any) => any;
9
+ export declare const BlockWrapper: import("@redneckz/uni-jsx").UNIComponent<BlockWrapperProps, any, any>;
10
10
  export {};
@@ -1,12 +1,13 @@
1
1
  import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
2
  import { JSX } from '@redneckz/uni-jsx';
3
+ import { useEffect, useState } from '@redneckz/uni-jsx/lib/hooks';
3
4
  import { EventBus } from '../EventBus/EventBus.js';
4
5
  import { changeHashOnObserve } from '../utils/changeHashOnObserve.js';
5
6
  export const BlockWrapper = JSX(({ anchor, className, context, children, tag = 'section', labels }) => {
6
7
  const Tag = tag;
7
8
  const { IntersectionObserverTag } = context;
8
- const [shouldRenderBlock, setShouldRenderBlock] = context.useState(true);
9
- context.useEffect(() => EventBus.inst.subscribe('tab', (event) => {
9
+ const [shouldRenderBlock, setShouldRenderBlock] = useState(true);
10
+ useEffect(() => EventBus.inst.subscribe('tab', (event) => {
10
11
  setShouldRenderBlock(!labels?.length || !event.label || labels.includes(event.label));
11
12
  }), [labels]);
12
13
  if (!shouldRenderBlock) {
@@ -1 +1 @@
1
- {"version":3,"file":"BlockWrapper.js","sourceRoot":"","sources":["../../src/ui-kit/BlockWrapper.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhD,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AASnE,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAC7B,CAAC,EAAE,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,GAAG,GAAG,SAAS,EAAE,MAAM,EAAE,EAAE,EAAE;IACpE,MAAM,GAAG,GAAQ,GAAG,CAAC;IAErB,MAAM,EAAE,uBAAuB,EAAE,GAAG,OAAO,CAAC;IAC5C,MAAM,CAAC,iBAAiB,EAAE,oBAAoB,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;IAEzE,OAAO,CAAC,SAAS,CACf,GAAG,EAAE,CACH,Q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MAAM,CAAC,iBAAiB,EAAE,oBAAoB,CAAC,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC;IAEjE,SAAS,CACP,GAAG,EAAE,CACH,QAAQ,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE,CAAC,KAAK,EAAE,EAAE;QACvC,oBAAoB,CAAC,CAAC,MAAM,EAAE,MAAM,IAAI,CAAC,KAAK,CAAC,KAAK,IAAI,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC;IACxF,CAAC,CAAC,EACJ,CAAC,MAAM,CAAC,CACT,CAAC;IAEF,IAAI,CAAC,iBAAiB,EAAE;QACtB,OAAO,IAAI,CAAC;KACb;IAED,OAAO,MAAM,CAAC,CAAC,CAAC,CACd,KAAC,uBAAuB,IACtB,GAAG,EAAE,GAAG,EACR,SAAS,EAAE,SAAS,EACpB,gBAAgB,EAAE,mBAAmB,EACrC,eAAe,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE,EACjC,MAAM,EAAE,MAAM,YAEb,QAAQ,GACe,CAC3B,CAAC,CAAC,CAAC,CACF,KAAC,GAAG,IAAC,SAAS,EAAE,SAAS,YAAG,QAAQ,GAAO,CAC5C,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1,4 +1,3 @@
1
- import { ContentPageContext } from '../../components/ContentPage/ContentPageContext';
2
1
  import type { GalleryContent } from '../../components/Gallery/GalleryContent';
3
2
  import type { HeadlineContent } from '../../components/Headline/HeadlineContent';
4
3
  import type { LinkDocsContent } from '../../components/LinkDocs/LinkDocsContent';
@@ -11,7 +10,6 @@ import type { TextBlockContent } from '../../components/TextBlock/TextBlockConte
11
10
  import type { TileContent } from '../../components/Tile/TileContent';
12
11
  import type { EmptyOption } from '../../model/EmptyOptionType';
13
12
  export interface ActiveHandler {
14
- context: ContentPageContext;
15
13
  blocks?: BlockDef[];
16
14
  initialState?: boolean;
17
15
  }
@@ -1,12 +1,12 @@
1
1
  export declare const EmbeddableBlocks: {
2
- Headline: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("../../components/Headline/Headline").HeadlineProps, any>, context?: any) => any;
3
- LinkDocs: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("../../components/LinkDocs/LinkDocs").LinkDocsProps, any>, context?: any) => any;
4
- TextBlock: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("../../components/TextBlock/TextBlock").TextBlockProps, any>, context?: any) => any;
5
- PictureText: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("../../components/PictureText/PictureText").PictureTextProps, any>, context?: any) => any;
6
- ProductBlock: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("../../components/ProductBlock/ProductBlock").ProductBlockProps, any>, context?: any) => any;
7
- Tile: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("../../components/Tile/Tile").TileProps, any>, context?: any) => any;
8
- ProductTile: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("../../components/ProductTile/ProductTile").ProductTileProps, any>, context?: any) => any;
9
- Gallery: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("../../components/Gallery/GalleryProps").GalleryProps, any>, context?: any) => any;
10
- MiniGallery: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("../../components/MiniGallery/MiniGallery").MiniGalleryProps, any>, context?: any) => any;
11
- LinkList: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("../../components/LinkList/LinkList").LinkListProps, any>, context?: any) => any;
2
+ Headline: import("@redneckz/uni-jsx").UNIComponent<import("../../components/Headline/Headline").HeadlineProps, any, any>;
3
+ LinkDocs: import("@redneckz/uni-jsx").UNIComponent<import("../../components/LinkDocs/LinkDocs").LinkDocsProps, any, any>;
4
+ TextBlock: import("@redneckz/uni-jsx").UNIComponent<import("../../components/TextBlock/TextBlock").TextBlockProps, any, any>;
5
+ PictureText: import("@redneckz/uni-jsx").UNIComponent<import("../../components/PictureText/PictureText").PictureTextProps, any, any>;
6
+ ProductBlock: import("@redneckz/uni-jsx").UNIComponent<import("../../components/ProductBlock/ProductBlock").ProductBlockProps, any, any>;
7
+ Tile: import("@redneckz/uni-jsx").UNIComponent<import("../../components/Tile/Tile").TileProps, any, any>;
8
+ ProductTile: import("@redneckz/uni-jsx").UNIComponent<import("../../components/ProductTile/ProductTile").ProductTileProps, any, any>;
9
+ Gallery: import("@redneckz/uni-jsx").UNIComponent<import("../../components/Gallery/GalleryProps").GalleryProps, any, any>;
10
+ MiniGallery: import("@redneckz/uni-jsx").UNIComponent<import("../../components/MiniGallery/MiniGallery").MiniGalleryProps, any, any>;
11
+ LinkList: import("@redneckz/uni-jsx").UNIComponent<import("../../components/LinkList/LinkList").LinkListProps, any, any>;
12
12
  };
@@ -1,8 +1,8 @@
1
1
  export declare const EmbeddableBlocks: {
2
- Headline: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("../../components/Headline/Headline").HeadlineProps, any>, context?: any) => any;
3
- LinkDocs: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("../../components/LinkDocs/LinkDocs").LinkDocsProps, any>, context?: any) => any;
4
- TextBlock: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("../../components/TextBlock/TextBlock").TextBlockProps, any>, context?: any) => any;
5
- ProductBlock: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("../../components/ProductBlock/ProductBlock").ProductBlockProps, any>, context?: any) => any;
6
- Gallery: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("../../components/Gallery/GalleryProps").GalleryProps, any>, context?: any) => any;
7
- LinkList: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("../../components/LinkList/LinkList").LinkListProps, any>, context?: any) => any;
2
+ Headline: import("@redneckz/uni-jsx").UNIComponent<import("../../components/Headline/Headline").HeadlineProps, any, any>;
3
+ LinkDocs: import("@redneckz/uni-jsx").UNIComponent<import("../../components/LinkDocs/LinkDocs").LinkDocsProps, any, any>;
4
+ TextBlock: import("@redneckz/uni-jsx").UNIComponent<import("../../components/TextBlock/TextBlock").TextBlockProps, any, any>;
5
+ ProductBlock: import("@redneckz/uni-jsx").UNIComponent<import("../../components/ProductBlock/ProductBlock").ProductBlockProps, any, any>;
6
+ Gallery: import("@redneckz/uni-jsx").UNIComponent<import("../../components/Gallery/GalleryProps").GalleryProps, any, any>;
7
+ LinkList: import("@redneckz/uni-jsx").UNIComponent<import("../../components/LinkList/LinkList").LinkListProps, any, any>;
8
8
  };
@@ -3,4 +3,4 @@ export interface BreadcrumbProps extends LinkProps {
3
3
  className?: string;
4
4
  onClick?: () => void;
5
5
  }
6
- export declare const Breadcrumb: (props: import("@redneckz/uni-jsx").PropsWithChildren<BreadcrumbProps, any>, context?: any) => any;
6
+ export declare const Breadcrumb: import("@redneckz/uni-jsx").UNIComponent<BreadcrumbProps, any, any>;
@@ -1,2 +1,2 @@
1
1
  import type { ButtonProps } from './ButtonProps';
2
- export declare const ArrowButton: (props: import("@redneckz/uni-jsx").PropsWithChildren<ButtonProps, any>, context?: any) => any;
2
+ export declare const ArrowButton: import("@redneckz/uni-jsx").UNIComponent<ButtonProps, any, any>;
@@ -1,4 +1,4 @@
1
1
  import type { ButtonProps, ButtonWithIconProps } from './ButtonProps';
2
2
  export interface ButtonCommonProps extends ButtonProps, ButtonWithIconProps {
3
3
  }
4
- export declare const Button: (props: import("@redneckz/uni-jsx").PropsWithChildren<ButtonCommonProps, any>, context?: any) => any;
4
+ export declare const Button: import("@redneckz/uni-jsx").UNIComponent<ButtonCommonProps, any, any>;
@@ -1,4 +1,4 @@
1
1
  import type { ButtonProps, ButtonWithIconProps } from './ButtonProps';
2
2
  export interface ButtonCommonProps extends ButtonProps, ButtonWithIconProps {
3
3
  }
4
- export declare const Button: (props: import("@redneckz/uni-jsx").PropsWithChildren<ButtonCommonProps, any>, context?: any) => any;
4
+ export declare const Button: import("@redneckz/uni-jsx").UNIComponent<ButtonCommonProps, any, any>;
@@ -3,5 +3,5 @@ import type { ButtonWithIconProps } from './ButtonProps';
3
3
  interface ButtonInnerProps extends ButtonWithIconProps {
4
4
  version?: ButtonVersion;
5
5
  }
6
- export declare const ButtonInner: (props: import("@redneckz/uni-jsx").PropsWithChildren<ButtonInnerProps, any>, context?: any) => any;
6
+ export declare const ButtonInner: import("@redneckz/uni-jsx").UNIComponent<ButtonInnerProps, any, any>;
7
7
  export {};
@@ -2,4 +2,4 @@ import { UniBlockProps } from '../../types';
2
2
  import type { ButtonContent } from './ButtonProps';
3
3
  export interface ButtonSectionProps extends ButtonContent, UniBlockProps {
4
4
  }
5
- export declare const ButtonSection: (props: import("@redneckz/uni-jsx").PropsWithChildren<ButtonSectionProps, any>, context?: any) => any;
5
+ export declare const ButtonSection: import("@redneckz/uni-jsx").UNIComponent<ButtonSectionProps, any, any>;
@@ -3,4 +3,4 @@ export interface LikeButtonProps {
3
3
  onClick?: () => void;
4
4
  ariaLabel?: string;
5
5
  }
6
- export declare const LikeButton: (props: import("@redneckz/uni-jsx").PropsWithChildren<LikeButtonProps, any>, context?: any) => any;
6
+ export declare const LikeButton: import("@redneckz/uni-jsx").UNIComponent<LikeButtonProps, any, any>;
@@ -1,2 +1,2 @@
1
1
  import type { CheckboxProps } from './CheckboxProps';
2
- export declare const Checkbox: (props: import("@redneckz/uni-jsx").PropsWithChildren<CheckboxProps, any>, context?: any) => any;
2
+ export declare const Checkbox: import("@redneckz/uni-jsx").UNIComponent<CheckboxProps, any, any>;
@@ -9,10 +9,12 @@ const CHECK_PATHS = [
9
9
  fill: 'white',
10
10
  },
11
11
  ];
12
- export const Checkbox = JSX(({ className, text, checked, isRadio, onChange }) => (_jsx("div", { className: className, children: _jsxs("label", { className: "flex items-center cursor-pointer relative", children: [_jsx("input", { className: `peer appearance-none w-5 h-5 border-solid
12
+ export const Checkbox = JSX(({ className, text, checked, isRadio, onChange }) => {
13
+ return (_jsx("div", { className: className, children: _jsxs("label", { className: "flex items-center relative cursor-pointer group", children: [_jsx("input", { className: `peer appearance-none w-5 h-5 border-solid cursor-pointer group-hover:border-checkbox-hover
13
14
  ${isRadio ? 'rounded-full border-2' : 'rounded checked:bg-primary-main border'}
14
15
  ${checked ? 'border-black' : 'border-main-stroke'}
15
16
  checked:border-primary-main m-0`, type: "checkbox", onChange: (e) => {
16
- onChange(e.target.checked);
17
- }, checked: checked }), isRadio ? (_jsx("div", { className: "left-1 w-3 h-3 rounded-full bg-primary-main hidden absolute peer-checked:block" })) : (_jsx(SVG, { paths: CHECK_PATHS, className: "hidden absolute left-1 ml-px peer-checked:block", width: "11", height: "9", fill: "white", viewBox: "0 0 11 9" })), text ? _jsx("span", { className: "font-sans ml-3 text-l cursor-pointer", children: text }) : null] }) })));
17
+ onChange(e.target.checked);
18
+ }, checked: checked }), isRadio ? (_jsx("div", { className: "left-1 w-3 h-3 rounded-full bg-primary-main hidden absolute peer-checked:block" })) : (_jsx(SVG, { paths: CHECK_PATHS, className: "hidden absolute left-1 ml-px peer-checked:block", width: "11", height: "9", fill: "white", viewBox: "0 0 11 9" })), text ? _jsx("span", { className: "font-sans ml-3 text-l-light", children: text }) : null] }) }));
19
+ });
18
20
  //# sourceMappingURL=Checkbox.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Checkbox.js","sourceRoot":"","sources":["../../../src/ui-kit/Checkbox/Checkbox.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,QAAQ,CAAC;AAG7B,MAAM,WAAW,GAAG;IAClB;QACE,CAAC,EAAE,4HAA4H;QAC/H,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;QACnB,IAAI,EAAE,OAAO;KACd;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAG,CAAgB,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,CAC9F,cAAK,SAAS,EAAE,SAAS,YACvB,iBAAO,SAAS,EAAC,2CAA2C,aAC1D,gBACE,SAAS,EAAE;UACT,OAAO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AAiD,aAChE,gBACE,SAAS,EAAE;UACX,OAAO,CAAC,CAAC,CAAC,uBAAuB,CAAC,CAAC,CAAC,wCAAwC;UAC5E,OAAO,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,oBAAoB;wCACjB,EAC9B,IAAI,EAAC,UAAU,EACf,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE;wBACd,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,OAAkB,CAAC,CAAC;oBACxC,CAAC,EACD,OAAO,EAAE,OAAO,GAChB,EACD,OAAO,CAAC,CAAC,CAAC,CACT,cAAK,SAAS,EAAC,gFAAgF,GAAO,CACvG,CAAC,CAAC,CAAC,CACF,KAAC,GAAG,IACF,KAAK,EAAE,WAAW,EAClB,SAAS,EAAC,iDAAiD,EAC3D,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,GAAG,EACV,IAAI,EAAC,OAAO,EACZ,OAAO,EAAC,UAAU,GAClB,CACH,EACA,IAAI,CAAC,CAAC,CAAC,eAAM,SAAS,EAAC,6BAA6B,YAAE,IAAI,GAAQ,CAAC,CAAC,CAAC,IAAI,IACpE,GACJ,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -2,4 +2,4 @@ import type { DescriptionProp } from '../../model/HeadlineType';
2
2
  export interface DescriptionProps extends DescriptionProp {
3
3
  className?: string;
4
4
  }
5
- export declare const Description: (props: import("@redneckz/uni-jsx").PropsWithChildren<DescriptionProps, any>, context?: any) => any;
5
+ export declare const Description: import("@redneckz/uni-jsx").UNIComponent<DescriptionProps, any, any>;
@@ -19,4 +19,4 @@ export interface RenderBlocksParams {
19
19
  isActive: boolean;
20
20
  containerClasses?: string;
21
21
  }
22
- export declare const Foldable: (props: import("@redneckz/uni-jsx").PropsWithChildren<FoldableProps, any>, context?: any) => any;
22
+ export declare const Foldable: import("@redneckz/uni-jsx").UNIComponent<FoldableProps, any, any>;
@@ -3,10 +3,9 @@ import { JSX } from '@redneckz/uni-jsx';
3
3
  import { clamp } from '../../utils/clamp.js';
4
4
  import { Icon } from '../Icon/Icon.js';
5
5
  import { foldableBlockClassNames, useActiveHandler } from './useActiveHandler.js';
6
- export const Foldable = JSX(({ blocks = [], context, hiddenBlocksNum = 0, foldButtonClasses, foldButtonLabel, foldButtonDataTheme, isUnfolded, containerClasses, render = (_) => _, }) => {
6
+ export const Foldable = JSX(({ blocks = [], hiddenBlocksNum = 0, foldButtonClasses, foldButtonLabel, foldButtonDataTheme, isUnfolded, containerClasses, render = (_) => _, }) => {
7
7
  const blocksToHide = clamp(hiddenBlocksNum, 0, blocks.length);
8
8
  const { icon, handleToggle, isActive } = useActiveHandler({
9
- context,
10
9
  initialState: isUnfolded,
11
10
  });
12
11
  const buttonClassName = foldButtonClasses ||
@@ -1 +1 @@
1
- {"version":3,"file":"Foldable.js","sourceRoot":"","sources":["../../../src/ui-kit/Foldable/Foldable.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAIxC,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACpC,OAAO,EAAE,uBAAuB,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAuB/E,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAG,CACzB,CAAC,EACC,MAAM,GAAG,EAAE,EACX,OAAO,EACP,eAAe,GAAG,CAAC,EACnB,iBAAiB,EACjB,eAAe,EACf,mBAAmB,EACnB,UAAU,EACV,gBAAgB,EAChB,MAAM,GAAG,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,GAClB,EAAE,EAAE;IACH,MAAM,YAAY,GAAG,KAAK,CAAC,eAAe,EAAE,CAAC,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC;IAE9D,MAAM,EAAE,IAAI,EAAE,YAAY,EAAE,QAAQ,EAAE,GAAG,gBAAgB,CAAC;QACxD,OAAO;QACP,YAAY,EA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AC,IAAI,IAAC,IAAI,EAAE,IAAI,EAAE,WAAW,EAAC,OAAO,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,KAAK,SAAG,CAAC,CAAC,CAAC,IAAI,IAC7E,CACV,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CACF,CAAC;AAEF,MAAM,YAAY,GAAG,CACnB,MAAsB,EACtB,MAAc,EACd,EAAE,YAAY,EAAE,QAAQ,EAAE,gBAAgB,EAAsB,EAChE,EAAE;IACF,MAAM,aAAa,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC,EAAE,MAAM,CAAC,MAAM,GAAG,YAAY,CAAC,CAAC;IACpE,MAAM,YAAY,GAAG,YAAY,GAAG,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IAEzE,OAAO,MAAM,CACX,0BACG,aAAa,EACd,cAAK,SAAS,EAAE,GAAG,uBAAuB,IAAI,gBAAgB,EAAE,YAAG,YAAY,GAAO,IAClF,EACN,QAAQ,CACT,CAAC;AACJ,CAAC,CAAC"}
@@ -1,10 +1,8 @@
1
- import { ContentPageContext } from '../../components/ContentPage/ContentPageContext';
2
1
  export declare const foldableBlockClassNames = "transition-all duration-300 max-h-0 overflow-hidden";
3
2
  export interface ActiveHandler {
4
- context: ContentPageContext;
5
3
  initialState?: boolean;
6
4
  }
7
- export declare const useActiveHandler: ({ context, initialState }: ActiveHandler) => {
5
+ export declare const useActiveHandler: ({ initialState }: ActiveHandler) => {
8
6
  icon: "ArrowDownIcon" | "ArrowUpIcon";
9
7
  handleToggle: (e: any) => void;
10
8
  isActive: boolean;
@@ -1,6 +1,7 @@
1
+ import { useState } from '@redneckz/uni-jsx/lib/hooks';
1
2
  export const foldableBlockClassNames = 'transition-all duration-300 max-h-0 overflow-hidden';
2
- export const useActiveHandler = ({ context, initialState = false }) => {
3
- const [isActive, setIsActive] = context.useState(initialState);
3
+ export const useActiveHandler = ({ initialState = false }) => {
4
+ const [isActive, setIsActive] = useState(initialState);
4
5
  const icon = isActive ? 'ArrowUpIcon' : 'ArrowDownIcon';
5
6
  const handleToggle = (e) => {
6
7
  const currentTarget = e.currentTarget;
@@ -1 +1 @@
1
- {"version":3,"file":"useActiveHandler.js","sourceRoot":"","sources":["../../../src/ui-kit/Foldable/useActiveHandler.ts"],"names":[],"mappings":"AAGA,MAAM,CAAC,MAAM,uBAAuB,GAAG,qDAAqD,CAAC;AAO7F,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,EAAE,OAAO,EAAE,YAAY,GAAG,KAAK,EAAiB,EAAE,EAAE;IACnF,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAC;IAC/D,MAAM,IAAI,GAAa,QAAQ,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,eAAe,CAAC;IAElE,MAAM,YAAY,GAAG,CAAC,CAAC,EAAE,EAAE;QACzB,MAAM,aAAa,GAAG,CAAC,CAAC,aAA4B,CAAC;QAErD,IAAI,CAAC,aAAa,EAAE;YAClB,OAAO;SACR;QAED,WAAW,CAAC,CAAC,QAAQ,CAAC,CAAC;QACvB,MAAM,YAAY,GAAG,aAAa,CAAC,eAA8B,CAAC;QAClE,MAAM,YAAY,GAAG,YAAY,CAAC,sBAAsB,CACtD,uBAAuB,CACxB,CAAC,CAAC,CAAgB,CAAC;QAEpB,YAAY,CAAC,KAAK,CAAC,SAAS,GAAG,YAAY,CAAC,KAAK,CAAC,SAAS;YACzD,CAAC,CAAC,EAAE;YACJ,CAAC,CAAC,GAAG,YAAY,CAAC,YAAY,IAAI,CAAC;IACvC,CAAC,CAAC;IAEF,OAAO,EAAE,IAAI,EAAE,YAAY,EAAE,QAAQ,EAAE,CAAC;AAC1C,CAAC,CAAC"}
1
+ {"version":3,"file":"useActiveHandler.js","sourceRoot":"","sources":["../../../src/ui-kit/Foldable/useActiveHandler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAGvD,MAAM,CAAC,MAAM,uBAAuB,GAAG,qDAAqD,CAAC;AAM7F,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,EAAE,YAAY,GAAG,KAAK,EAAiB,EAAE,EAAE;IAC1E,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,QAAQ,CAAC,YAAY,CAAC,CAAC;IACvD,MAAM,IAAI,GAAa,QAAQ,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,eAAe,CAAC;IAElE,MAAM,YAAY,GAAG,CAAC,CAAC,EAAE,EAAE;QACzB,MAAM,aAAa,GAAG,CAAC,CAAC,aAA4B,CAAC;QAErD,IAAI,CAAC,aAAa,EAAE;YAClB,OAAO;SACR;QAED,WAAW,CAAC,CAAC,QAAQ,CAAC,CAAC;QACvB,MAAM,YAAY,GAAG,aAAa,CAAC,eAA8B,CAAC;QAClE,MAAM,YAAY,GAAG,YAAY,CAAC,sBAAsB,CACtD,uBAAuB,CACxB,CAAC,CAAC,CAAgB,CAAC;QAEpB,YAAY,CAAC,KAAK,CAAC,SAAS,GAAG,YAAY,CAAC,KAAK,CAAC,SAAS;YACzD,CAAC,CAAC,EAAE;YACJ,CAAC,CAAC,GAAG,YAAY,CAAC,YAAY,IAAI,CAAC;IACvC,CAAC,CAAC;IAEF,OAAO,EAAE,IAAI,EAAE,YAAY,EAAE,QAAQ,EAAE,CAAC;AAC1C,CAAC,CAAC"}
@@ -1,2 +1,2 @@
1
1
  import type { TopItemProps } from '../TopItem/TopItem';
2
- export declare const HeaderItem: (props: import("@redneckz/uni-jsx").PropsWithChildren<TopItemProps, any>, context?: any) => any;
2
+ export declare const HeaderItem: import("@redneckz/uni-jsx").UNIComponent<TopItemProps, any, any>;
@@ -1,3 +1,3 @@
1
1
  import type { TopItemProps } from '../TopItem/TopItem';
2
2
  export declare type HeaderItemProps = TopItemProps;
3
- export declare const HeaderItem: (props: import("@redneckz/uni-jsx").PropsWithChildren<TopItemProps, any>, context?: any) => any;
3
+ export declare const HeaderItem: import("@redneckz/uni-jsx").UNIComponent<TopItemProps, any, any>;
@@ -1,2 +1,2 @@
1
1
  import type { HeadingProps } from './HeadingProps';
2
- export declare const Heading: (props: import("@redneckz/uni-jsx").PropsWithChildren<HeadingProps, any>, context?: any) => any;
2
+ export declare const Heading: import("@redneckz/uni-jsx").UNIComponent<HeadingProps, any, any>;
@@ -1,2 +1,2 @@
1
1
  import type { HeadingProps } from './HeadingProps';
2
- export declare const Heading: (props: import("@redneckz/uni-jsx").PropsWithChildren<HeadingProps, any>, context?: any) => any;
2
+ export declare const Heading: import("@redneckz/uni-jsx").UNIComponent<HeadingProps, any, any>;
@@ -1,2 +1,2 @@
1
1
  import type { IconProps } from './IconProps';
2
- export declare const Icon: (props: import("@redneckz/uni-jsx").PropsWithChildren<IconProps, any>, context?: any) => any;
2
+ export declare const Icon: import("@redneckz/uni-jsx").UNIComponent<IconProps, any, any>;