@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.
- package/bundle/bundle.umd.js +3030 -2922
- package/bundle/bundle.umd.min.js +1 -1
- package/dist/ProjectSettings.d.ts +2 -3
- package/dist/ProjectSettings.js +2 -2
- package/dist/ProjectSettings.js.map +1 -1
- package/dist/api/LikeAPI.d.ts +1 -1
- package/dist/api/LikeAPI.js +6 -5
- package/dist/api/LikeAPI.js.map +1 -1
- package/dist/components/Accordion/Accordion.d.ts +1 -1
- package/dist/components/Accordion/Accordion.js +1 -1
- package/dist/components/Accordion/Accordion.js.map +1 -1
- package/dist/components/Accordion/Accordion.mobile.d.ts +1 -1
- package/dist/components/Accordion/AccordionItem.d.ts +1 -1
- package/dist/components/Accordion/AccordionItem.js +0 -1
- package/dist/components/Accordion/AccordionItem.js.map +1 -1
- package/dist/components/Accordion/AccordionItem.mobile.d.ts +1 -1
- package/dist/components/Accordion/AccordionItem.mobile.js +1 -4
- package/dist/components/Accordion/AccordionItem.mobile.js.map +1 -1
- package/dist/components/Accordion/AccordionItemInner.d.ts +1 -1
- package/dist/components/Accordion/AccordionItemInner.mobile.d.ts +1 -1
- package/dist/components/Accordion/useActiveHandler.d.ts +1 -1
- package/dist/components/Accordion/useActiveHandler.js +3 -2
- package/dist/components/Accordion/useActiveHandler.js.map +1 -1
- package/dist/components/BaseTile/BaseTile.d.ts +1 -1
- package/dist/components/BenefitsBlock/BenefitsBlock.d.ts +1 -1
- package/dist/components/Blocks.d.ts +35 -35
- package/dist/components/Blocks.mobile.d.ts +16 -16
- package/dist/components/Bonus/Bonus.d.ts +1 -1
- package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.d.ts +1 -1
- package/dist/components/Calculator/BonusCalculatorForm.d.ts +1 -1
- package/dist/components/Calculator/BonusCalculatorForm.js +4 -3
- package/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
- package/dist/components/Calculator/Calculator.d.ts +1 -1
- package/dist/components/Calculator/Calculator.js +4 -3
- package/dist/components/Calculator/Calculator.js.map +1 -1
- package/dist/components/Calculator/CalculatorValueBlock.d.ts +1 -1
- package/dist/components/Calculator/CreditCalculatorForm.d.ts +1 -1
- package/dist/components/Calculator/CreditCalculatorForm.js +8 -7
- package/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/dist/components/Calculator/DepositCalculatorForm.d.ts +1 -1
- package/dist/components/Calculator/DepositCalculatorForm.js +3 -2
- package/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
- package/dist/components/Calculator/EmbeddableCalcBlocks.d.ts +4 -4
- package/dist/components/Calculator/MortgageCalculatorForm.d.ts +1 -1
- package/dist/components/Calculator/MortgageCalculatorForm.js +5 -4
- package/dist/components/Calculator/MortgageCalculatorForm.js.map +1 -1
- package/dist/components/Calculator/Rate.d.ts +1 -1
- package/dist/components/Calculator/renderCalculatorBlock.js +1 -1
- package/dist/components/Calculator/renderCalculatorBlock.js.map +1 -1
- package/dist/components/Calculator/useBonusCalculatorParams.d.ts +1 -2
- package/dist/components/Calculator/useBonusCalculatorParams.js +3 -2
- package/dist/components/Calculator/useBonusCalculatorParams.js.map +1 -1
- package/dist/components/Calculator/useCalculatorParams.d.ts +1 -2
- package/dist/components/Calculator/useCalculatorParams.js +3 -2
- package/dist/components/Calculator/useCalculatorParams.js.map +1 -1
- package/dist/components/Calculator/useCreditCalculatorParams.d.ts +1 -2
- package/dist/components/Calculator/useCreditCalculatorParams.js +2 -2
- package/dist/components/Calculator/useCreditCalculatorParams.js.map +1 -1
- package/dist/components/Catalog/Catalog.d.ts +1 -1
- package/dist/components/Catalog/Catalog.js +3 -2
- package/dist/components/Catalog/Catalog.js.map +1 -1
- package/dist/components/Catalog/CatalogCard.d.ts +1 -1
- package/dist/components/ComparisonTable/ComparisonTable.d.ts +1 -1
- package/dist/components/ComparisonTable/ComparisonTable.js +2 -1
- package/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
- package/dist/components/ComparisonTable/ComparisonTable.mobile.d.ts +1 -1
- package/dist/components/ComparisonTable/ComparisonTable.mobile.js +2 -1
- package/dist/components/ComparisonTable/ComparisonTable.mobile.js.map +1 -1
- package/dist/components/ComparisonTable/ComparisonTableBody.d.ts +1 -1
- package/dist/components/ComparisonTable/ComparisonTableBody.js +3 -2
- package/dist/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
- package/dist/components/ComparisonTable/ComparisonTableColumnHeaders.d.ts +1 -1
- package/dist/components/ComparisonTable/ComparisonTableRows.d.ts +1 -1
- package/dist/components/ComparisonTable/HeaderCell.d.ts +1 -1
- package/dist/components/ComparisonTable/HeaderCell.mobile.d.ts +1 -1
- package/dist/components/ComparisonTable/TableCarouselContainer.d.ts +1 -1
- package/dist/components/ComparisonTable/TableCell.d.ts +1 -1
- package/dist/components/ComparisonTable/TableCell.mobile.d.ts +1 -1
- package/dist/components/ComparisonTable/TableColumn.d.ts +1 -1
- package/dist/components/ComparisonTable/TableRow.d.ts +1 -1
- package/dist/components/ComparisonTable/TableRowContainer.d.ts +1 -4
- package/dist/components/ContentPage/ContentPage.d.ts +3 -3
- package/dist/components/ContentPage/ContentPage.js.map +1 -1
- package/dist/components/ContentPage/ContentPageContext.d.ts +1 -19
- package/dist/components/ContentPage/ContentPageHead.d.ts +1 -1
- package/dist/components/ExchangeRateTile/CurrencyTable.d.ts +1 -1
- package/dist/components/ExchangeRateTile/CurrentLocation.d.ts +1 -1
- package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +1 -1
- package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +2 -1
- package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
- package/dist/components/ExchangeRateTile/ExchangeRateTile.d.ts +1 -1
- package/dist/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
- package/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
- package/dist/components/Footer/Contacts.d.ts +1 -1
- package/dist/components/Footer/Footer.d.ts +1 -1
- package/dist/components/Footer/Footer.mobile.d.ts +1 -1
- package/dist/components/Footer/Footer.mobile.js +1 -1
- package/dist/components/Footer/Footer.mobile.js.map +1 -1
- package/dist/components/Footer/HorizontalNavigation.d.ts +1 -1
- package/dist/components/Footer/HorizontalNavigation.mobile.d.ts +1 -1
- package/dist/components/Footer/HorizontalNavigationLink.d.ts +1 -1
- package/dist/components/Footer/MediaButton.d.ts +1 -1
- package/dist/components/Footer/Sitemap.d.ts +1 -1
- package/dist/components/Footer/Sitemap.js +2 -2
- package/dist/components/Footer/Sitemap.js.map +1 -1
- package/dist/components/Footer/SocialMedia.d.ts +1 -1
- package/dist/components/Footer/SocialMedia.mobile.d.ts +1 -1
- package/dist/components/Footer/TextInformation.d.ts +1 -1
- package/dist/components/Footer/TextInformation.mobile.d.ts +1 -1
- package/dist/components/Footer/TextInformationLink.d.ts +1 -1
- package/dist/components/Gallery/Gallery.d.ts +1 -1
- package/dist/components/Gallery/Gallery.mobile.d.ts +1 -1
- package/dist/components/Gallery/GalleryCardInner.d.ts +1 -1
- package/dist/components/Gallery/GalleryContainer.d.ts +1 -1
- package/dist/components/Gallery/GalleryInner.d.ts +1 -1
- package/dist/components/Gallery/GalleryInner.js +2 -1
- package/dist/components/Gallery/GalleryInner.js.map +1 -1
- package/dist/components/GracePeriod/GracePeriod.d.ts +1 -1
- package/dist/components/GroupBlock/EmbeddableGroupBlocks.d.ts +2 -2
- package/dist/components/GroupBlock/GroupBlock.d.ts +1 -1
- package/dist/components/GroupBlock/GroupBlock.js +2 -1
- package/dist/components/GroupBlock/GroupBlock.js.map +1 -1
- package/dist/components/GroupBlock/GroupBlockTabs.d.ts +1 -1
- package/dist/components/GroupBlock/GroupBlocksItem.d.ts +1 -1
- package/dist/components/Header/DropdownMenu.d.ts +1 -1
- package/dist/components/Header/Header.d.ts +1 -1
- package/dist/components/Header/Header.js +2 -2
- package/dist/components/Header/Header.js.map +1 -1
- package/dist/components/Header/Header.mobile.d.ts +1 -1
- package/dist/components/Header/Header.mobile.js +3 -2
- package/dist/components/Header/Header.mobile.js.map +1 -1
- package/dist/components/Header/HeaderBurger.d.ts +1 -1
- package/dist/components/Header/HeaderBurger.js +2 -1
- package/dist/components/Header/HeaderBurger.js.map +1 -1
- package/dist/components/Header/HeaderSecondaryMenu.d.ts +3 -3
- package/dist/components/Header/HeaderSecondaryMenu.js +3 -2
- package/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
- package/dist/components/Header/HeaderSecondaryMenuButton.d.ts +1 -1
- package/dist/components/Header/HeaderSubMenu.d.ts +1 -1
- package/dist/components/Header/HeaderSubMenu.js +3 -2
- package/dist/components/Header/HeaderSubMenu.js.map +1 -1
- package/dist/components/Header/HeaderTop.d.ts +1 -1
- package/dist/components/Headline/Headline.d.ts +1 -1
- package/dist/components/Headline/Headline.mobile.d.ts +1 -1
- package/dist/components/Insurance/Insurance.d.ts +1 -1
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +1 -1
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +2 -1
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +1 -1
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +4 -3
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/dist/components/LikeControl/LikeControl.d.ts +1 -1
- package/dist/components/LikeControl/LikeControl.js +6 -2
- package/dist/components/LikeControl/LikeControl.js.map +1 -1
- package/dist/components/LinkDocs/LinkDocs.d.ts +1 -1
- package/dist/components/LinkDocs/LinkDocs.js +1 -1
- package/dist/components/LinkDocs/LinkDocs.js.map +1 -1
- package/dist/components/LinkDocs/LinkDocs.mobile.d.ts +1 -1
- package/dist/components/LinkDocs/LinkDocsHorizontalList.d.ts +1 -1
- package/dist/components/LinkDocs/LinkDocsList.d.ts +1 -1
- package/dist/components/LinkDocs/LinkDocsListItem.d.ts +1 -1
- package/dist/components/LinkDocs/LinkDocsListItem.mobile.d.ts +1 -1
- package/dist/components/LinkDocs/LinkDocsListItemBase.d.ts +1 -1
- package/dist/components/LinkDocs/LinkDocsVerticalList.d.ts +1 -1
- package/dist/components/LinkList/LinkList.d.ts +1 -1
- package/dist/components/MiniGallery/MiniGallery.d.ts +1 -1
- package/dist/components/MobileAppTile/MobileAppTile.d.ts +1 -1
- package/dist/components/MobileAppTile/MobileAppTile.mobile.d.ts +1 -1
- package/dist/components/Navigation/Navigation.d.ts +1 -1
- package/dist/components/Navigation/NavigationItem.d.ts +2 -2
- package/dist/components/NavigatorTabs/NavigatorTabItem.d.ts +1 -1
- package/dist/components/NavigatorTabs/NavigatorTabs.d.ts +1 -1
- package/dist/components/OtherProducts/OtherProducts.d.ts +1 -1
- package/dist/components/OtherProducts/OtherProductsItem.d.ts +1 -1
- package/dist/components/PictureText/PictureText.d.ts +1 -1
- package/dist/components/Placeholder/Placeholder.d.ts +1 -1
- package/dist/components/ProductBlock/ProductBlock.d.ts +1 -1
- package/dist/components/ProductBlock/ProductBlock.mobile.d.ts +1 -1
- package/dist/components/ProductBlock/ProductBlockInner.d.ts +1 -1
- package/dist/components/ProductBlock/ProductBlockInner.mobile.d.ts +1 -1
- package/dist/components/ProductGallery/ProductGallery.d.ts +1 -1
- package/dist/components/ProductGallery/ProductGallery.js +2 -1
- package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
- package/dist/components/ProductGallery/ProductGallery.mobile.d.ts +1 -1
- package/dist/components/ProductGallery/ProductGalleryBlock.d.ts +1 -1
- package/dist/components/ProductTile/ProductTile.d.ts +1 -1
- package/dist/components/ProductTile/ProductTile.js +1 -1
- package/dist/components/ProductTile/ProductTile.js.map +1 -1
- package/dist/components/PromoTile/PromoTile.d.ts +1 -1
- package/dist/components/PromoTile/PromoTile.js +1 -1
- package/dist/components/PromoTile/PromoTile.js.map +1 -1
- package/dist/components/Recommendation/Recommendation.d.ts +1 -1
- package/dist/components/Recommendation/Recommendation.js +2 -1
- package/dist/components/Recommendation/Recommendation.js.map +1 -1
- package/dist/components/Recommendation/RecommendationCard.d.ts +1 -1
- package/dist/components/SafeDepositRental/SafeDepositRental.d.ts +1 -1
- package/dist/components/SafeDepositRental/SafeDepositRental.js +3 -2
- package/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/dist/components/SafeDepositRental/SafeDepositRentalForm.d.ts +1 -8
- package/dist/components/SafeDepositRental/SafeDepositRentalForm.js +17 -16
- package/dist/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
- package/dist/components/StepsBlock/StepsBlock.d.ts +1 -1
- package/dist/components/StepsBlock/StepsBlock.mobile.d.ts +1 -1
- package/dist/components/Tabs/Tabs.d.ts +1 -1
- package/dist/components/Tabs/Tabs.js +3 -2
- package/dist/components/Tabs/Tabs.js.map +1 -1
- package/dist/components/TariffsTable/TableTileHeader.d.ts +1 -1
- package/dist/components/TariffsTable/TariffsTable.d.ts +1 -1
- package/dist/components/TariffsTable/TariffsTable.js +2 -1
- package/dist/components/TariffsTable/TariffsTable.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTable.mobile.d.ts +1 -1
- package/dist/components/TariffsTable/TariffsTableCell.d.ts +1 -1
- package/dist/components/TariffsTable/TariffsTableHorizontal.d.ts +2 -2
- package/dist/components/TariffsTable/TariffsTableRow.d.ts +1 -1
- package/dist/components/TariffsTable/TariffsTableTileCell.d.ts +1 -1
- package/dist/components/TariffsTable/TariffsTableVertical.d.ts +2 -2
- package/dist/components/TextBlock/TextBlock.d.ts +1 -1
- package/dist/components/TextBlock/TextBlock.mobile.d.ts +1 -1
- package/dist/components/Tile/Tile.d.ts +1 -1
- package/dist/components/Tile/Tile.js +1 -1
- package/dist/components/Tile/Tile.js.map +1 -1
- package/dist/hooks/useExchangeRates.d.ts +1 -2
- package/dist/hooks/useExchangeRates.js +3 -2
- package/dist/hooks/useExchangeRates.js.map +1 -1
- package/dist/hooks/useGeolocation.d.ts +1 -0
- package/dist/hooks/useGeolocation.js +21 -0
- package/dist/hooks/useGeolocation.js.map +1 -0
- package/dist/hooks/useLikeService.d.ts +5 -0
- package/dist/hooks/useLikeService.js +27 -0
- package/dist/hooks/useLikeService.js.map +1 -0
- package/dist/hooks/useLink.d.ts +1 -0
- package/dist/hooks/useLink.js +3 -2
- package/dist/hooks/useLink.js.map +1 -1
- package/dist/hooks/useSafeDepositRental.d.ts +1 -2
- package/dist/hooks/useSafeDepositRental.js +3 -2
- package/dist/hooks/useSafeDepositRental.js.map +1 -1
- package/dist/hooks/useSearch.d.ts +4 -0
- package/dist/hooks/useSearch.js +12 -0
- package/dist/hooks/useSearch.js.map +1 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.js +5 -3
- package/dist/index.js.map +1 -1
- package/dist/react/setup-fixture.d.ts +1 -0
- package/dist/react/setup-fixture.js +1 -48
- package/dist/react/setup-fixture.js.map +1 -1
- package/dist/services/sitemap/useSitemap.d.ts +1 -2
- package/dist/services/sitemap/useSitemap.js +3 -2
- package/dist/services/sitemap/useSitemap.js.map +1 -1
- package/dist/ui-kit/BlockWrapper.d.ts +1 -1
- package/dist/ui-kit/BlockWrapper.js +3 -2
- package/dist/ui-kit/BlockWrapper.js.map +1 -1
- package/dist/ui-kit/BlocksList/BlocksListProps.d.ts +0 -2
- package/dist/ui-kit/BlocksList/EmbeddableBlocks.d.ts +10 -10
- package/dist/ui-kit/BlocksList/EmbeddableBlocks.mobile.d.ts +6 -6
- package/dist/ui-kit/Breadcrumb.d.ts +1 -1
- package/dist/ui-kit/Button/ArrowButton.d.ts +1 -1
- package/dist/ui-kit/Button/Button.d.ts +1 -1
- package/dist/ui-kit/Button/Button.mobile.d.ts +1 -1
- package/dist/ui-kit/Button/ButtonInner.d.ts +1 -1
- package/dist/ui-kit/Button/ButtonSection.d.ts +1 -1
- package/dist/ui-kit/Button/LikeButton.d.ts +1 -1
- package/dist/ui-kit/Checkbox/Checkbox.d.ts +1 -1
- package/dist/ui-kit/Checkbox/Checkbox.js +5 -3
- package/dist/ui-kit/Checkbox/Checkbox.js.map +1 -1
- package/dist/ui-kit/Description/Description.d.ts +1 -1
- package/dist/ui-kit/Foldable/Foldable.d.ts +1 -1
- package/dist/ui-kit/Foldable/Foldable.js +1 -2
- package/dist/ui-kit/Foldable/Foldable.js.map +1 -1
- package/dist/ui-kit/Foldable/useActiveHandler.d.ts +1 -3
- package/dist/ui-kit/Foldable/useActiveHandler.js +3 -2
- package/dist/ui-kit/Foldable/useActiveHandler.js.map +1 -1
- package/dist/ui-kit/HeaderItem/HeaderItem.d.ts +1 -1
- package/dist/ui-kit/HeaderItem/HeaderItem.mobile.d.ts +1 -1
- package/dist/ui-kit/Heading/Heading.d.ts +1 -1
- package/dist/ui-kit/Heading/Heading.mobile.d.ts +1 -1
- package/dist/ui-kit/Icon/Icon.d.ts +1 -1
- package/dist/ui-kit/Img/Img.d.ts +1 -1
- package/dist/ui-kit/Img/Img.mobile.d.ts +1 -1
- package/dist/ui-kit/Img/ImgAsPicture.d.ts +1 -1
- package/dist/ui-kit/Img/ImgInner.d.ts +1 -1
- package/dist/ui-kit/Input/Input.d.ts +1 -1
- package/dist/ui-kit/InputRange/InputRange.d.ts +1 -1
- package/dist/ui-kit/InputRange/InputRange.js +4 -3
- package/dist/ui-kit/InputRange/InputRange.js.map +1 -1
- package/dist/ui-kit/InputRange/InputRangeProps.d.ts +1 -0
- package/dist/ui-kit/List/List.d.ts +1 -1
- package/dist/ui-kit/List/ListItem.d.ts +1 -1
- package/dist/ui-kit/Logo/Logo.d.ts +1 -1
- package/dist/ui-kit/Logo/Logo.mobile.d.ts +1 -1
- package/dist/ui-kit/Radio/Radio.d.ts +1 -1
- package/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +1 -1
- package/dist/ui-kit/SVG.d.ts +1 -1
- package/dist/ui-kit/SearchBar/SearchBar.d.ts +1 -1
- package/dist/ui-kit/SearchBar/SearchBar.js +2 -2
- package/dist/ui-kit/SearchBar/SearchBar.js.map +1 -1
- package/dist/ui-kit/SearchBar/SearchBar.mobile.d.ts +1 -1
- package/dist/ui-kit/SearchBar/SearchBar.mobile.js +2 -2
- package/dist/ui-kit/SearchBar/SearchBar.mobile.js.map +1 -1
- package/dist/ui-kit/SearchBar/SearchBarInner.d.ts +3 -3
- package/dist/ui-kit/SearchBar/SearchBarInner.js +3 -2
- package/dist/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
- package/dist/ui-kit/Select/Select.d.ts +1 -1
- package/dist/ui-kit/Select/SelectOption.d.ts +1 -1
- package/dist/ui-kit/SwipeListControl/SwipeListControl.d.ts +1 -1
- package/dist/ui-kit/SwipeListControl/SwipeListControl.js +4 -3
- package/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
- package/dist/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +1 -1
- package/dist/ui-kit/SwipeListControl/SwipeListControlItem.d.ts +1 -1
- package/dist/ui-kit/SwipeListControl/SwipeListControlList.d.ts +1 -1
- package/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControl.d.ts +1 -1
- package/dist/ui-kit/Tabs/Tabs.d.ts +1 -1
- package/dist/ui-kit/TopItem/TopItem.d.ts +1 -1
- package/lib/ProjectSettings.d.ts +2 -3
- package/lib/ProjectSettings.js +2 -2
- package/lib/ProjectSettings.js.map +1 -1
- package/lib/api/LikeAPI.d.ts +1 -1
- package/lib/api/LikeAPI.js +6 -5
- package/lib/api/LikeAPI.js.map +1 -1
- package/lib/common.css +1 -1
- package/lib/components/Accordion/Accordion.d.ts +1 -1
- package/lib/components/Accordion/Accordion.js +1 -1
- package/lib/components/Accordion/Accordion.js.map +1 -1
- package/lib/components/Accordion/Accordion.mobile.d.ts +1 -1
- package/lib/components/Accordion/AccordionItem.d.ts +1 -1
- package/lib/components/Accordion/AccordionItem.js +0 -1
- package/lib/components/Accordion/AccordionItem.js.map +1 -1
- package/lib/components/Accordion/AccordionItem.mobile.d.ts +1 -1
- package/lib/components/Accordion/AccordionItem.mobile.js +1 -4
- package/lib/components/Accordion/AccordionItem.mobile.js.map +1 -1
- package/lib/components/Accordion/AccordionItemInner.d.ts +1 -1
- package/lib/components/Accordion/AccordionItemInner.mobile.d.ts +1 -1
- package/lib/components/Accordion/useActiveHandler.d.ts +1 -1
- package/lib/components/Accordion/useActiveHandler.js +3 -2
- package/lib/components/Accordion/useActiveHandler.js.map +1 -1
- package/lib/components/BaseTile/BaseTile.d.ts +1 -1
- package/lib/components/BenefitsBlock/BenefitsBlock.d.ts +1 -1
- package/lib/components/Blocks.d.ts +35 -35
- package/lib/components/Blocks.mobile.d.ts +16 -16
- package/lib/components/Bonus/Bonus.d.ts +1 -1
- package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.d.ts +1 -1
- package/lib/components/Calculator/BonusCalculatorForm.d.ts +1 -1
- package/lib/components/Calculator/BonusCalculatorForm.js +4 -3
- package/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
- package/lib/components/Calculator/Calculator.d.ts +1 -1
- package/lib/components/Calculator/Calculator.js +4 -3
- package/lib/components/Calculator/Calculator.js.map +1 -1
- package/lib/components/Calculator/CalculatorValueBlock.d.ts +1 -1
- package/lib/components/Calculator/CreditCalculatorForm.d.ts +1 -1
- package/lib/components/Calculator/CreditCalculatorForm.js +8 -7
- package/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/lib/components/Calculator/DepositCalculatorForm.d.ts +1 -1
- package/lib/components/Calculator/DepositCalculatorForm.js +3 -2
- package/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
- package/lib/components/Calculator/EmbeddableCalcBlocks.d.ts +4 -4
- package/lib/components/Calculator/MortgageCalculatorForm.d.ts +1 -1
- package/lib/components/Calculator/MortgageCalculatorForm.js +5 -4
- package/lib/components/Calculator/MortgageCalculatorForm.js.map +1 -1
- package/lib/components/Calculator/Rate.d.ts +1 -1
- package/lib/components/Calculator/renderCalculatorBlock.js +1 -1
- package/lib/components/Calculator/renderCalculatorBlock.js.map +1 -1
- package/lib/components/Calculator/useBonusCalculatorParams.d.ts +1 -2
- package/lib/components/Calculator/useBonusCalculatorParams.js +3 -2
- package/lib/components/Calculator/useBonusCalculatorParams.js.map +1 -1
- package/lib/components/Calculator/useCalculatorParams.d.ts +1 -2
- package/lib/components/Calculator/useCalculatorParams.js +2 -1
- package/lib/components/Calculator/useCalculatorParams.js.map +1 -1
- package/lib/components/Calculator/useCreditCalculatorParams.d.ts +1 -2
- package/lib/components/Calculator/useCreditCalculatorParams.js +2 -2
- package/lib/components/Calculator/useCreditCalculatorParams.js.map +1 -1
- package/lib/components/Catalog/Catalog.d.ts +1 -1
- package/lib/components/Catalog/Catalog.js +3 -2
- package/lib/components/Catalog/Catalog.js.map +1 -1
- package/lib/components/Catalog/CatalogCard.d.ts +1 -1
- package/lib/components/ComparisonTable/ComparisonTable.d.ts +1 -1
- package/lib/components/ComparisonTable/ComparisonTable.js +2 -1
- package/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
- package/lib/components/ComparisonTable/ComparisonTable.mobile.d.ts +1 -1
- package/lib/components/ComparisonTable/ComparisonTable.mobile.js +2 -1
- package/lib/components/ComparisonTable/ComparisonTable.mobile.js.map +1 -1
- package/lib/components/ComparisonTable/ComparisonTableBody.d.ts +1 -1
- package/lib/components/ComparisonTable/ComparisonTableBody.js +3 -2
- package/lib/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
- package/lib/components/ComparisonTable/ComparisonTableColumnHeaders.d.ts +1 -1
- package/lib/components/ComparisonTable/ComparisonTableRows.d.ts +1 -1
- package/lib/components/ComparisonTable/HeaderCell.d.ts +1 -1
- package/lib/components/ComparisonTable/HeaderCell.mobile.d.ts +1 -1
- package/lib/components/ComparisonTable/TableCarouselContainer.d.ts +1 -1
- package/lib/components/ComparisonTable/TableCell.d.ts +1 -1
- package/lib/components/ComparisonTable/TableCell.mobile.d.ts +1 -1
- package/lib/components/ComparisonTable/TableColumn.d.ts +1 -1
- package/lib/components/ComparisonTable/TableRow.d.ts +1 -1
- package/lib/components/ComparisonTable/TableRowContainer.d.ts +1 -4
- package/lib/components/ContentPage/ContentPage.d.ts +3 -3
- package/lib/components/ContentPage/ContentPage.js.map +1 -1
- package/lib/components/ContentPage/ContentPageContext.d.ts +1 -19
- package/lib/components/ContentPage/ContentPageHead.d.ts +1 -1
- package/lib/components/ExchangeRateTile/CurrencyTable.d.ts +1 -1
- package/lib/components/ExchangeRateTile/CurrentLocation.d.ts +1 -1
- package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +1 -1
- package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +2 -1
- package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
- package/lib/components/ExchangeRateTile/ExchangeRateTile.d.ts +1 -1
- package/lib/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
- package/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
- package/lib/components/Footer/Contacts.d.ts +1 -1
- package/lib/components/Footer/Footer.d.ts +1 -1
- package/lib/components/Footer/Footer.mobile.d.ts +1 -1
- package/lib/components/Footer/Footer.mobile.js +1 -1
- package/lib/components/Footer/Footer.mobile.js.map +1 -1
- package/lib/components/Footer/HorizontalNavigation.d.ts +1 -1
- package/lib/components/Footer/HorizontalNavigation.mobile.d.ts +1 -1
- package/lib/components/Footer/HorizontalNavigationLink.d.ts +1 -1
- package/lib/components/Footer/MediaButton.d.ts +1 -1
- package/lib/components/Footer/Sitemap.d.ts +1 -1
- package/lib/components/Footer/Sitemap.js +2 -2
- package/lib/components/Footer/Sitemap.js.map +1 -1
- package/lib/components/Footer/SocialMedia.d.ts +1 -1
- package/lib/components/Footer/SocialMedia.mobile.d.ts +1 -1
- package/lib/components/Footer/TextInformation.d.ts +1 -1
- package/lib/components/Footer/TextInformation.mobile.d.ts +1 -1
- package/lib/components/Footer/TextInformationLink.d.ts +1 -1
- package/lib/components/Gallery/Gallery.d.ts +1 -1
- package/lib/components/Gallery/Gallery.mobile.d.ts +1 -1
- package/lib/components/Gallery/GalleryCardInner.d.ts +1 -1
- package/lib/components/Gallery/GalleryContainer.d.ts +1 -1
- package/lib/components/Gallery/GalleryInner.d.ts +1 -1
- package/lib/components/Gallery/GalleryInner.js +2 -1
- package/lib/components/Gallery/GalleryInner.js.map +1 -1
- package/lib/components/GracePeriod/GracePeriod.d.ts +1 -1
- package/lib/components/GroupBlock/EmbeddableGroupBlocks.d.ts +2 -2
- package/lib/components/GroupBlock/GroupBlock.d.ts +1 -1
- package/lib/components/GroupBlock/GroupBlock.js +2 -1
- package/lib/components/GroupBlock/GroupBlock.js.map +1 -1
- package/lib/components/GroupBlock/GroupBlockTabs.d.ts +1 -1
- package/lib/components/GroupBlock/GroupBlocksItem.d.ts +1 -1
- package/lib/components/Header/DropdownMenu.d.ts +1 -1
- package/lib/components/Header/Header.d.ts +1 -1
- package/lib/components/Header/Header.js +2 -2
- package/lib/components/Header/Header.js.map +1 -1
- package/lib/components/Header/Header.mobile.d.ts +1 -1
- package/lib/components/Header/Header.mobile.js +3 -2
- package/lib/components/Header/Header.mobile.js.map +1 -1
- package/lib/components/Header/HeaderBurger.d.ts +1 -1
- package/lib/components/Header/HeaderBurger.js +2 -1
- package/lib/components/Header/HeaderBurger.js.map +1 -1
- package/lib/components/Header/HeaderSecondaryMenu.d.ts +3 -3
- package/lib/components/Header/HeaderSecondaryMenu.js +3 -2
- package/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
- package/lib/components/Header/HeaderSecondaryMenuButton.d.ts +1 -1
- package/lib/components/Header/HeaderSubMenu.d.ts +1 -1
- package/lib/components/Header/HeaderSubMenu.js +3 -2
- package/lib/components/Header/HeaderSubMenu.js.map +1 -1
- package/lib/components/Header/HeaderTop.d.ts +1 -1
- package/lib/components/Headline/Headline.d.ts +1 -1
- package/lib/components/Headline/Headline.mobile.d.ts +1 -1
- package/lib/components/Insurance/Insurance.d.ts +1 -1
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +1 -1
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +2 -1
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +1 -1
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +4 -3
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/lib/components/LikeControl/LikeControl.d.ts +1 -1
- package/lib/components/LikeControl/LikeControl.js +6 -2
- package/lib/components/LikeControl/LikeControl.js.map +1 -1
- package/lib/components/LinkDocs/LinkDocs.d.ts +1 -1
- package/lib/components/LinkDocs/LinkDocs.js +1 -1
- package/lib/components/LinkDocs/LinkDocs.js.map +1 -1
- package/lib/components/LinkDocs/LinkDocs.mobile.d.ts +1 -1
- package/lib/components/LinkDocs/LinkDocsHorizontalList.d.ts +1 -1
- package/lib/components/LinkDocs/LinkDocsList.d.ts +1 -1
- package/lib/components/LinkDocs/LinkDocsListItem.d.ts +1 -1
- package/lib/components/LinkDocs/LinkDocsListItem.mobile.d.ts +1 -1
- package/lib/components/LinkDocs/LinkDocsListItemBase.d.ts +1 -1
- package/lib/components/LinkDocs/LinkDocsVerticalList.d.ts +1 -1
- package/lib/components/LinkList/LinkList.d.ts +1 -1
- package/lib/components/MiniGallery/MiniGallery.d.ts +1 -1
- package/lib/components/MobileAppTile/MobileAppTile.d.ts +1 -1
- package/lib/components/MobileAppTile/MobileAppTile.mobile.d.ts +1 -1
- package/lib/components/Navigation/Navigation.d.ts +1 -1
- package/lib/components/Navigation/NavigationItem.d.ts +2 -2
- package/lib/components/NavigatorTabs/NavigatorTabItem.d.ts +1 -1
- package/lib/components/NavigatorTabs/NavigatorTabs.d.ts +1 -1
- package/lib/components/OtherProducts/OtherProducts.d.ts +1 -1
- package/lib/components/OtherProducts/OtherProductsItem.d.ts +1 -1
- package/lib/components/PictureText/PictureText.d.ts +1 -1
- package/lib/components/Placeholder/Placeholder.d.ts +1 -1
- package/lib/components/ProductBlock/ProductBlock.d.ts +1 -1
- package/lib/components/ProductBlock/ProductBlock.mobile.d.ts +1 -1
- package/lib/components/ProductBlock/ProductBlockInner.d.ts +1 -1
- package/lib/components/ProductBlock/ProductBlockInner.mobile.d.ts +1 -1
- package/lib/components/ProductGallery/ProductGallery.d.ts +1 -1
- package/lib/components/ProductGallery/ProductGallery.js +2 -1
- package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
- package/lib/components/ProductGallery/ProductGallery.mobile.d.ts +1 -1
- package/lib/components/ProductGallery/ProductGalleryBlock.d.ts +1 -1
- package/lib/components/ProductTile/ProductTile.d.ts +1 -1
- package/lib/components/ProductTile/ProductTile.js +1 -1
- package/lib/components/ProductTile/ProductTile.js.map +1 -1
- package/lib/components/PromoTile/PromoTile.d.ts +1 -1
- package/lib/components/PromoTile/PromoTile.js +1 -1
- package/lib/components/PromoTile/PromoTile.js.map +1 -1
- package/lib/components/Recommendation/Recommendation.d.ts +1 -1
- package/lib/components/Recommendation/Recommendation.js +2 -1
- package/lib/components/Recommendation/Recommendation.js.map +1 -1
- package/lib/components/Recommendation/RecommendationCard.d.ts +1 -1
- package/lib/components/SafeDepositRental/SafeDepositRental.d.ts +1 -1
- package/lib/components/SafeDepositRental/SafeDepositRental.js +3 -2
- package/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/lib/components/SafeDepositRental/SafeDepositRentalForm.d.ts +1 -8
- package/lib/components/SafeDepositRental/SafeDepositRentalForm.js +17 -15
- package/lib/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
- package/lib/components/StepsBlock/StepsBlock.d.ts +1 -1
- package/lib/components/StepsBlock/StepsBlock.mobile.d.ts +1 -1
- package/lib/components/Tabs/Tabs.d.ts +1 -1
- package/lib/components/Tabs/Tabs.js +3 -2
- package/lib/components/Tabs/Tabs.js.map +1 -1
- package/lib/components/TariffsTable/TableTileHeader.d.ts +1 -1
- package/lib/components/TariffsTable/TariffsTable.d.ts +1 -1
- package/lib/components/TariffsTable/TariffsTable.js +2 -1
- package/lib/components/TariffsTable/TariffsTable.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTable.mobile.d.ts +1 -1
- package/lib/components/TariffsTable/TariffsTableCell.d.ts +1 -1
- package/lib/components/TariffsTable/TariffsTableHorizontal.d.ts +2 -2
- package/lib/components/TariffsTable/TariffsTableRow.d.ts +1 -1
- package/lib/components/TariffsTable/TariffsTableTileCell.d.ts +1 -1
- package/lib/components/TariffsTable/TariffsTableVertical.d.ts +2 -2
- package/lib/components/TextBlock/TextBlock.d.ts +1 -1
- package/lib/components/TextBlock/TextBlock.mobile.d.ts +1 -1
- package/lib/components/Tile/Tile.d.ts +1 -1
- package/lib/components/Tile/Tile.js +1 -1
- package/lib/components/Tile/Tile.js.map +1 -1
- package/lib/hooks/useExchangeRates.d.ts +1 -2
- package/lib/hooks/useExchangeRates.js +2 -1
- package/lib/hooks/useExchangeRates.js.map +1 -1
- package/lib/hooks/useGeolocation.d.ts +1 -0
- package/lib/hooks/useGeolocation.js +18 -0
- package/lib/hooks/useGeolocation.js.map +1 -0
- package/lib/hooks/useLikeService.d.ts +5 -0
- package/lib/hooks/useLikeService.js +24 -0
- package/lib/hooks/useLikeService.js.map +1 -0
- package/lib/hooks/useLink.d.ts +1 -0
- package/lib/hooks/useLink.js +1 -1
- package/lib/hooks/useLink.js.map +1 -1
- package/lib/hooks/useSafeDepositRental.d.ts +1 -2
- package/lib/hooks/useSafeDepositRental.js +2 -1
- package/lib/hooks/useSafeDepositRental.js.map +1 -1
- package/lib/hooks/useSearch.d.ts +4 -0
- package/lib/hooks/useSearch.js +9 -0
- package/lib/hooks/useSearch.js.map +1 -0
- package/lib/index.d.ts +2 -1
- package/lib/index.js +2 -1
- package/lib/index.js.map +1 -1
- package/lib/react/setup-fixture.d.ts +1 -0
- package/lib/react/setup-fixture.js +2 -46
- package/lib/react/setup-fixture.js.map +1 -1
- package/lib/services/sitemap/useSitemap.d.ts +1 -2
- package/lib/services/sitemap/useSitemap.js +2 -1
- package/lib/services/sitemap/useSitemap.js.map +1 -1
- package/lib/ui-kit/BlockWrapper.d.ts +1 -1
- package/lib/ui-kit/BlockWrapper.js +3 -2
- package/lib/ui-kit/BlockWrapper.js.map +1 -1
- package/lib/ui-kit/BlocksList/BlocksListProps.d.ts +0 -2
- package/lib/ui-kit/BlocksList/EmbeddableBlocks.d.ts +10 -10
- package/lib/ui-kit/BlocksList/EmbeddableBlocks.mobile.d.ts +6 -6
- package/lib/ui-kit/Breadcrumb.d.ts +1 -1
- package/lib/ui-kit/Button/ArrowButton.d.ts +1 -1
- package/lib/ui-kit/Button/Button.d.ts +1 -1
- package/lib/ui-kit/Button/Button.mobile.d.ts +1 -1
- package/lib/ui-kit/Button/ButtonInner.d.ts +1 -1
- package/lib/ui-kit/Button/ButtonSection.d.ts +1 -1
- package/lib/ui-kit/Button/LikeButton.d.ts +1 -1
- package/lib/ui-kit/Checkbox/Checkbox.d.ts +1 -1
- package/lib/ui-kit/Checkbox/Checkbox.js +5 -3
- package/lib/ui-kit/Checkbox/Checkbox.js.map +1 -1
- package/lib/ui-kit/Description/Description.d.ts +1 -1
- package/lib/ui-kit/Foldable/Foldable.d.ts +1 -1
- package/lib/ui-kit/Foldable/Foldable.js +1 -2
- package/lib/ui-kit/Foldable/Foldable.js.map +1 -1
- package/lib/ui-kit/Foldable/useActiveHandler.d.ts +1 -3
- package/lib/ui-kit/Foldable/useActiveHandler.js +3 -2
- package/lib/ui-kit/Foldable/useActiveHandler.js.map +1 -1
- package/lib/ui-kit/HeaderItem/HeaderItem.d.ts +1 -1
- package/lib/ui-kit/HeaderItem/HeaderItem.mobile.d.ts +1 -1
- package/lib/ui-kit/Heading/Heading.d.ts +1 -1
- package/lib/ui-kit/Heading/Heading.mobile.d.ts +1 -1
- package/lib/ui-kit/Icon/Icon.d.ts +1 -1
- package/lib/ui-kit/Img/Img.d.ts +1 -1
- package/lib/ui-kit/Img/Img.mobile.d.ts +1 -1
- package/lib/ui-kit/Img/ImgAsPicture.d.ts +1 -1
- package/lib/ui-kit/Img/ImgInner.d.ts +1 -1
- package/lib/ui-kit/Input/Input.d.ts +1 -1
- package/lib/ui-kit/InputRange/InputRange.d.ts +1 -1
- package/lib/ui-kit/InputRange/InputRange.js +4 -3
- package/lib/ui-kit/InputRange/InputRange.js.map +1 -1
- package/lib/ui-kit/InputRange/InputRangeProps.d.ts +1 -0
- package/lib/ui-kit/List/List.d.ts +1 -1
- package/lib/ui-kit/List/ListItem.d.ts +1 -1
- package/lib/ui-kit/Logo/Logo.d.ts +1 -1
- package/lib/ui-kit/Logo/Logo.mobile.d.ts +1 -1
- package/lib/ui-kit/Radio/Radio.d.ts +1 -1
- package/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +1 -1
- package/lib/ui-kit/SVG.d.ts +1 -1
- package/lib/ui-kit/SearchBar/SearchBar.d.ts +1 -1
- package/lib/ui-kit/SearchBar/SearchBar.js +2 -2
- package/lib/ui-kit/SearchBar/SearchBar.js.map +1 -1
- package/lib/ui-kit/SearchBar/SearchBar.mobile.d.ts +1 -1
- package/lib/ui-kit/SearchBar/SearchBar.mobile.js +2 -2
- package/lib/ui-kit/SearchBar/SearchBar.mobile.js.map +1 -1
- package/lib/ui-kit/SearchBar/SearchBarInner.d.ts +3 -3
- package/lib/ui-kit/SearchBar/SearchBarInner.js +3 -2
- package/lib/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
- package/lib/ui-kit/Select/Select.d.ts +1 -1
- package/lib/ui-kit/Select/SelectOption.d.ts +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListControl.d.ts +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListControl.js +4 -3
- package/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListControlItem.d.ts +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListControlList.d.ts +1 -1
- package/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControl.d.ts +1 -1
- package/lib/ui-kit/Tabs/Tabs.d.ts +1 -1
- package/lib/ui-kit/TopItem/TopItem.d.ts +1 -1
- package/mobile/bundle/bundle.umd.js +1897 -1794
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/dist/ProjectSettings.d.ts +2 -3
- package/mobile/dist/ProjectSettings.js +2 -2
- package/mobile/dist/ProjectSettings.js.map +1 -1
- package/mobile/dist/api/LikeAPI.d.ts +1 -1
- package/mobile/dist/api/LikeAPI.js +6 -5
- package/mobile/dist/api/LikeAPI.js.map +1 -1
- package/mobile/dist/components/Accordion/Accordion.d.ts +1 -1
- package/mobile/dist/components/Accordion/AccordionItem.d.ts +1 -1
- package/mobile/dist/components/Accordion/AccordionItem.js +1 -4
- package/mobile/dist/components/Accordion/AccordionItem.js.map +1 -1
- package/mobile/dist/components/Accordion/AccordionItemInner.d.ts +1 -1
- package/mobile/dist/components/Accordion/useActiveHandler.d.ts +1 -1
- package/mobile/dist/components/Accordion/useActiveHandler.js +3 -2
- package/mobile/dist/components/Accordion/useActiveHandler.js.map +1 -1
- package/mobile/dist/components/BaseTile/BaseTile.d.ts +1 -1
- package/mobile/dist/components/BenefitsBlock/BenefitsBlock.d.ts +1 -1
- package/mobile/dist/components/Blocks.d.ts +16 -16
- package/mobile/dist/components/Bonus/Bonus.d.ts +1 -1
- package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.d.ts +1 -1
- package/mobile/dist/components/Calculator/BonusCalculatorForm.d.ts +1 -1
- package/mobile/dist/components/Calculator/BonusCalculatorForm.js +4 -3
- package/mobile/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
- package/mobile/dist/components/Calculator/Calculator.d.ts +1 -1
- package/mobile/dist/components/Calculator/Calculator.js +4 -3
- package/mobile/dist/components/Calculator/Calculator.js.map +1 -1
- package/mobile/dist/components/Calculator/CalculatorValueBlock.d.ts +1 -1
- package/mobile/dist/components/Calculator/CreditCalculatorForm.d.ts +1 -1
- package/mobile/dist/components/Calculator/CreditCalculatorForm.js +8 -7
- package/mobile/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/mobile/dist/components/Calculator/DepositCalculatorForm.d.ts +1 -1
- package/mobile/dist/components/Calculator/DepositCalculatorForm.js +3 -2
- package/mobile/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
- package/mobile/dist/components/Calculator/EmbeddableCalcBlocks.d.ts +4 -4
- package/mobile/dist/components/Calculator/MortgageCalculatorForm.d.ts +1 -1
- package/mobile/dist/components/Calculator/MortgageCalculatorForm.js +5 -4
- package/mobile/dist/components/Calculator/MortgageCalculatorForm.js.map +1 -1
- package/mobile/dist/components/Calculator/Rate.d.ts +1 -1
- package/mobile/dist/components/Calculator/renderCalculatorBlock.js +1 -1
- package/mobile/dist/components/Calculator/renderCalculatorBlock.js.map +1 -1
- package/mobile/dist/components/Calculator/useBonusCalculatorParams.d.ts +1 -2
- package/mobile/dist/components/Calculator/useBonusCalculatorParams.js +3 -2
- package/mobile/dist/components/Calculator/useBonusCalculatorParams.js.map +1 -1
- package/mobile/dist/components/Calculator/useCalculatorParams.d.ts +1 -2
- package/mobile/dist/components/Calculator/useCalculatorParams.js +3 -2
- package/mobile/dist/components/Calculator/useCalculatorParams.js.map +1 -1
- package/mobile/dist/components/Calculator/useCreditCalculatorParams.d.ts +1 -2
- package/mobile/dist/components/Calculator/useCreditCalculatorParams.js +2 -2
- package/mobile/dist/components/Calculator/useCreditCalculatorParams.js.map +1 -1
- package/mobile/dist/components/Catalog/Catalog.d.ts +1 -1
- package/mobile/dist/components/Catalog/Catalog.js +3 -2
- package/mobile/dist/components/Catalog/Catalog.js.map +1 -1
- package/mobile/dist/components/Catalog/CatalogCard.d.ts +1 -1
- package/mobile/dist/components/ComparisonTable/ComparisonTable.d.ts +1 -1
- package/mobile/dist/components/ComparisonTable/ComparisonTable.js +2 -1
- package/mobile/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
- package/mobile/dist/components/ComparisonTable/ComparisonTableBody.d.ts +1 -1
- package/mobile/dist/components/ComparisonTable/ComparisonTableBody.js +3 -2
- package/mobile/dist/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
- package/mobile/dist/components/ComparisonTable/ComparisonTableColumnHeaders.d.ts +1 -1
- package/mobile/dist/components/ComparisonTable/ComparisonTableRows.d.ts +1 -1
- package/mobile/dist/components/ComparisonTable/HeaderCell.d.ts +1 -1
- package/mobile/dist/components/ComparisonTable/TableCarouselContainer.d.ts +1 -1
- package/mobile/dist/components/ComparisonTable/TableCell.d.ts +1 -1
- package/mobile/dist/components/ComparisonTable/TableColumn.d.ts +1 -1
- package/mobile/dist/components/ComparisonTable/TableRow.d.ts +1 -1
- package/mobile/dist/components/ComparisonTable/TableRowContainer.d.ts +1 -4
- package/mobile/dist/components/ContentPage/ContentPage.d.ts +3 -3
- package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
- package/mobile/dist/components/ContentPage/ContentPageContext.d.ts +1 -19
- package/mobile/dist/components/ContentPage/ContentPageHead.d.ts +1 -1
- package/mobile/dist/components/ExchangeRateTile/CurrencyTable.d.ts +1 -1
- package/mobile/dist/components/ExchangeRateTile/CurrentLocation.d.ts +1 -1
- package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +1 -1
- package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +2 -1
- package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
- package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.d.ts +1 -1
- package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
- package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
- package/mobile/dist/components/Footer/Contacts.d.ts +1 -1
- package/mobile/dist/components/Footer/Footer.d.ts +1 -1
- package/mobile/dist/components/Footer/Footer.js +1 -1
- package/mobile/dist/components/Footer/Footer.js.map +1 -1
- package/mobile/dist/components/Footer/HorizontalNavigation.d.ts +1 -1
- package/mobile/dist/components/Footer/HorizontalNavigationLink.d.ts +1 -1
- package/mobile/dist/components/Footer/MediaButton.d.ts +1 -1
- package/mobile/dist/components/Footer/Sitemap.d.ts +1 -1
- package/mobile/dist/components/Footer/Sitemap.js +2 -2
- package/mobile/dist/components/Footer/Sitemap.js.map +1 -1
- package/mobile/dist/components/Footer/SocialMedia.d.ts +1 -1
- package/mobile/dist/components/Footer/TextInformation.d.ts +1 -1
- package/mobile/dist/components/Footer/TextInformationLink.d.ts +1 -1
- package/mobile/dist/components/Gallery/Gallery.d.ts +1 -1
- package/mobile/dist/components/Gallery/GalleryCardInner.d.ts +1 -1
- package/mobile/dist/components/Gallery/GalleryContainer.d.ts +1 -1
- package/mobile/dist/components/Gallery/GalleryInner.d.ts +1 -1
- package/mobile/dist/components/Gallery/GalleryInner.js +2 -1
- package/mobile/dist/components/Gallery/GalleryInner.js.map +1 -1
- package/mobile/dist/components/GracePeriod/GracePeriod.d.ts +1 -1
- package/mobile/dist/components/GroupBlock/EmbeddableGroupBlocks.d.ts +2 -2
- package/mobile/dist/components/GroupBlock/GroupBlock.d.ts +1 -1
- package/mobile/dist/components/GroupBlock/GroupBlock.js +2 -1
- package/mobile/dist/components/GroupBlock/GroupBlock.js.map +1 -1
- package/mobile/dist/components/GroupBlock/GroupBlockTabs.d.ts +1 -1
- package/mobile/dist/components/GroupBlock/GroupBlocksItem.d.ts +1 -1
- package/mobile/dist/components/Header/DropdownMenu.d.ts +1 -1
- package/mobile/dist/components/Header/Header.d.ts +1 -1
- package/mobile/dist/components/Header/Header.js +3 -2
- package/mobile/dist/components/Header/Header.js.map +1 -1
- package/mobile/dist/components/Header/HeaderBurger.d.ts +1 -1
- package/mobile/dist/components/Header/HeaderBurger.js +2 -1
- package/mobile/dist/components/Header/HeaderBurger.js.map +1 -1
- package/mobile/dist/components/Header/HeaderSecondaryMenu.d.ts +3 -3
- package/mobile/dist/components/Header/HeaderSecondaryMenu.js +3 -2
- package/mobile/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
- package/mobile/dist/components/Header/HeaderSecondaryMenuButton.d.ts +1 -1
- package/mobile/dist/components/Header/HeaderSubMenu.d.ts +1 -1
- package/mobile/dist/components/Header/HeaderSubMenu.js +3 -2
- package/mobile/dist/components/Header/HeaderSubMenu.js.map +1 -1
- package/mobile/dist/components/Header/HeaderTop.d.ts +1 -1
- package/mobile/dist/components/Headline/Headline.d.ts +1 -1
- package/mobile/dist/components/Insurance/Insurance.d.ts +1 -1
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +1 -1
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +2 -1
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +1 -1
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +4 -3
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/mobile/dist/components/LikeControl/LikeControl.d.ts +1 -1
- package/mobile/dist/components/LikeControl/LikeControl.js +6 -2
- package/mobile/dist/components/LikeControl/LikeControl.js.map +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocs.d.ts +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocsHorizontalList.d.ts +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocsList.d.ts +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocsListItem.d.ts +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocsListItemBase.d.ts +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocsVerticalList.d.ts +1 -1
- package/mobile/dist/components/LinkList/LinkList.d.ts +1 -1
- package/mobile/dist/components/MiniGallery/MiniGallery.d.ts +1 -1
- package/mobile/dist/components/MobileAppTile/MobileAppTile.d.ts +1 -1
- package/mobile/dist/components/Navigation/Navigation.d.ts +1 -1
- package/mobile/dist/components/Navigation/NavigationItem.d.ts +2 -2
- package/mobile/dist/components/NavigatorTabs/NavigatorTabItem.d.ts +1 -1
- package/mobile/dist/components/NavigatorTabs/NavigatorTabs.d.ts +1 -1
- package/mobile/dist/components/OtherProducts/OtherProducts.d.ts +1 -1
- package/mobile/dist/components/OtherProducts/OtherProductsItem.d.ts +1 -1
- package/mobile/dist/components/PictureText/PictureText.d.ts +1 -1
- package/mobile/dist/components/Placeholder/Placeholder.d.ts +1 -1
- package/mobile/dist/components/ProductBlock/ProductBlock.d.ts +1 -1
- package/mobile/dist/components/ProductBlock/ProductBlockInner.d.ts +1 -1
- package/mobile/dist/components/ProductGallery/ProductGallery.d.ts +1 -1
- package/mobile/dist/components/ProductGallery/ProductGalleryBlock.d.ts +1 -1
- package/mobile/dist/components/ProductTile/ProductTile.d.ts +1 -1
- package/mobile/dist/components/ProductTile/ProductTile.js +1 -1
- package/mobile/dist/components/ProductTile/ProductTile.js.map +1 -1
- package/mobile/dist/components/PromoTile/PromoTile.d.ts +1 -1
- package/mobile/dist/components/PromoTile/PromoTile.js +1 -1
- package/mobile/dist/components/PromoTile/PromoTile.js.map +1 -1
- package/mobile/dist/components/Recommendation/Recommendation.d.ts +1 -1
- package/mobile/dist/components/Recommendation/Recommendation.js +2 -1
- package/mobile/dist/components/Recommendation/Recommendation.js.map +1 -1
- package/mobile/dist/components/Recommendation/RecommendationCard.d.ts +1 -1
- package/mobile/dist/components/SafeDepositRental/SafeDepositRental.d.ts +1 -1
- package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js +3 -2
- package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalForm.d.ts +1 -8
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalForm.js +17 -16
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
- package/mobile/dist/components/StepsBlock/StepsBlock.d.ts +1 -1
- package/mobile/dist/components/Tabs/Tabs.d.ts +1 -1
- package/mobile/dist/components/Tabs/Tabs.js +3 -2
- package/mobile/dist/components/Tabs/Tabs.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TableTileHeader.d.ts +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTable.d.ts +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableCell.d.ts +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableHorizontal.d.ts +2 -2
- package/mobile/dist/components/TariffsTable/TariffsTableRow.d.ts +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableTileCell.d.ts +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableVertical.d.ts +2 -2
- package/mobile/dist/components/TextBlock/TextBlock.d.ts +1 -1
- package/mobile/dist/components/Tile/Tile.d.ts +1 -1
- package/mobile/dist/components/Tile/Tile.js +1 -1
- package/mobile/dist/components/Tile/Tile.js.map +1 -1
- package/mobile/dist/hooks/useExchangeRates.d.ts +1 -2
- package/mobile/dist/hooks/useExchangeRates.js +3 -2
- package/mobile/dist/hooks/useExchangeRates.js.map +1 -1
- package/mobile/dist/hooks/useGeolocation.d.ts +1 -0
- package/mobile/dist/hooks/useGeolocation.js +21 -0
- package/mobile/dist/hooks/useGeolocation.js.map +1 -0
- package/mobile/dist/hooks/useLikeService.d.ts +5 -0
- package/mobile/dist/hooks/useLikeService.js +27 -0
- package/mobile/dist/hooks/useLikeService.js.map +1 -0
- package/mobile/dist/hooks/useLink.d.ts +1 -0
- package/mobile/dist/hooks/useLink.js +3 -2
- package/mobile/dist/hooks/useLink.js.map +1 -1
- package/mobile/dist/hooks/useSafeDepositRental.d.ts +1 -2
- package/mobile/dist/hooks/useSafeDepositRental.js +3 -2
- package/mobile/dist/hooks/useSafeDepositRental.js.map +1 -1
- package/mobile/dist/hooks/useSearch.d.ts +4 -0
- package/mobile/dist/hooks/useSearch.js +12 -0
- package/mobile/dist/hooks/useSearch.js.map +1 -0
- package/mobile/dist/index.d.ts +2 -1
- package/mobile/dist/index.js +5 -3
- package/mobile/dist/index.js.map +1 -1
- package/mobile/dist/react/setup-fixture.d.ts +1 -0
- package/mobile/dist/react/setup-fixture.js +1 -48
- package/mobile/dist/react/setup-fixture.js.map +1 -1
- package/mobile/dist/services/sitemap/useSitemap.d.ts +1 -2
- package/mobile/dist/services/sitemap/useSitemap.js +3 -2
- package/mobile/dist/services/sitemap/useSitemap.js.map +1 -1
- package/mobile/dist/ui-kit/BlockWrapper.d.ts +1 -1
- package/mobile/dist/ui-kit/BlockWrapper.js +3 -2
- package/mobile/dist/ui-kit/BlockWrapper.js.map +1 -1
- package/mobile/dist/ui-kit/BlocksList/BlocksListProps.d.ts +0 -2
- package/mobile/dist/ui-kit/BlocksList/EmbeddableBlocks.d.ts +6 -6
- package/mobile/dist/ui-kit/Breadcrumb.d.ts +1 -1
- package/mobile/dist/ui-kit/Button/ArrowButton.d.ts +1 -1
- package/mobile/dist/ui-kit/Button/Button.d.ts +1 -1
- package/mobile/dist/ui-kit/Button/ButtonInner.d.ts +1 -1
- package/mobile/dist/ui-kit/Button/ButtonSection.d.ts +1 -1
- package/mobile/dist/ui-kit/Button/LikeButton.d.ts +1 -1
- package/mobile/dist/ui-kit/Checkbox/Checkbox.d.ts +1 -1
- package/mobile/dist/ui-kit/Checkbox/Checkbox.js +5 -3
- package/mobile/dist/ui-kit/Checkbox/Checkbox.js.map +1 -1
- package/mobile/dist/ui-kit/Description/Description.d.ts +1 -1
- package/mobile/dist/ui-kit/Foldable/Foldable.d.ts +1 -1
- package/mobile/dist/ui-kit/Foldable/Foldable.js +1 -2
- package/mobile/dist/ui-kit/Foldable/Foldable.js.map +1 -1
- package/mobile/dist/ui-kit/Foldable/useActiveHandler.d.ts +1 -3
- package/mobile/dist/ui-kit/Foldable/useActiveHandler.js +3 -2
- package/mobile/dist/ui-kit/Foldable/useActiveHandler.js.map +1 -1
- package/mobile/dist/ui-kit/HeaderItem/HeaderItem.d.ts +1 -1
- package/mobile/dist/ui-kit/Heading/Heading.d.ts +1 -1
- package/mobile/dist/ui-kit/Icon/Icon.d.ts +1 -1
- package/mobile/dist/ui-kit/Img/Img.d.ts +1 -1
- package/mobile/dist/ui-kit/Img/ImgAsPicture.d.ts +1 -1
- package/mobile/dist/ui-kit/Img/ImgInner.d.ts +1 -1
- package/mobile/dist/ui-kit/Input/Input.d.ts +1 -1
- package/mobile/dist/ui-kit/InputRange/InputRange.d.ts +1 -1
- package/mobile/dist/ui-kit/InputRange/InputRange.js +4 -3
- package/mobile/dist/ui-kit/InputRange/InputRange.js.map +1 -1
- package/mobile/dist/ui-kit/InputRange/InputRangeProps.d.ts +1 -0
- package/mobile/dist/ui-kit/List/List.d.ts +1 -1
- package/mobile/dist/ui-kit/List/ListItem.d.ts +1 -1
- package/mobile/dist/ui-kit/Logo/Logo.d.ts +1 -1
- package/mobile/dist/ui-kit/Radio/Radio.d.ts +1 -1
- package/mobile/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +1 -1
- package/mobile/dist/ui-kit/SVG.d.ts +1 -1
- package/mobile/dist/ui-kit/SearchBar/SearchBar.d.ts +1 -1
- package/mobile/dist/ui-kit/SearchBar/SearchBar.js +2 -2
- package/mobile/dist/ui-kit/SearchBar/SearchBar.js.map +1 -1
- package/mobile/dist/ui-kit/SearchBar/SearchBarInner.d.ts +3 -3
- package/mobile/dist/ui-kit/SearchBar/SearchBarInner.js +3 -2
- package/mobile/dist/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
- package/mobile/dist/ui-kit/Select/Select.d.ts +1 -1
- package/mobile/dist/ui-kit/Select/SelectOption.d.ts +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.d.ts +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js +4 -3
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlItem.d.ts +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlList.d.ts +1 -1
- package/mobile/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControl.d.ts +1 -1
- package/mobile/dist/ui-kit/Tabs/Tabs.d.ts +1 -1
- package/mobile/dist/ui-kit/TopItem/TopItem.d.ts +1 -1
- package/mobile/lib/ProjectSettings.d.ts +2 -3
- package/mobile/lib/ProjectSettings.js +2 -2
- package/mobile/lib/ProjectSettings.js.map +1 -1
- package/mobile/lib/api/LikeAPI.d.ts +1 -1
- package/mobile/lib/api/LikeAPI.js +6 -5
- package/mobile/lib/api/LikeAPI.js.map +1 -1
- package/mobile/lib/components/Accordion/Accordion.d.ts +1 -1
- package/mobile/lib/components/Accordion/AccordionItem.d.ts +1 -1
- package/mobile/lib/components/Accordion/AccordionItem.js +1 -4
- package/mobile/lib/components/Accordion/AccordionItem.js.map +1 -1
- package/mobile/lib/components/Accordion/AccordionItemInner.d.ts +1 -1
- package/mobile/lib/components/Accordion/useActiveHandler.d.ts +1 -1
- package/mobile/lib/components/Accordion/useActiveHandler.js +3 -2
- package/mobile/lib/components/Accordion/useActiveHandler.js.map +1 -1
- package/mobile/lib/components/BaseTile/BaseTile.d.ts +1 -1
- package/mobile/lib/components/BenefitsBlock/BenefitsBlock.d.ts +1 -1
- package/mobile/lib/components/Blocks.d.ts +16 -16
- package/mobile/lib/components/Bonus/Bonus.d.ts +1 -1
- package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.d.ts +1 -1
- package/mobile/lib/components/Calculator/BonusCalculatorForm.d.ts +1 -1
- package/mobile/lib/components/Calculator/BonusCalculatorForm.js +4 -3
- package/mobile/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
- package/mobile/lib/components/Calculator/Calculator.d.ts +1 -1
- package/mobile/lib/components/Calculator/Calculator.js +4 -3
- package/mobile/lib/components/Calculator/Calculator.js.map +1 -1
- package/mobile/lib/components/Calculator/CalculatorValueBlock.d.ts +1 -1
- package/mobile/lib/components/Calculator/CreditCalculatorForm.d.ts +1 -1
- package/mobile/lib/components/Calculator/CreditCalculatorForm.js +8 -7
- package/mobile/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/mobile/lib/components/Calculator/DepositCalculatorForm.d.ts +1 -1
- package/mobile/lib/components/Calculator/DepositCalculatorForm.js +3 -2
- package/mobile/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
- package/mobile/lib/components/Calculator/EmbeddableCalcBlocks.d.ts +4 -4
- package/mobile/lib/components/Calculator/MortgageCalculatorForm.d.ts +1 -1
- package/mobile/lib/components/Calculator/MortgageCalculatorForm.js +5 -4
- package/mobile/lib/components/Calculator/MortgageCalculatorForm.js.map +1 -1
- package/mobile/lib/components/Calculator/Rate.d.ts +1 -1
- package/mobile/lib/components/Calculator/renderCalculatorBlock.js +1 -1
- package/mobile/lib/components/Calculator/renderCalculatorBlock.js.map +1 -1
- package/mobile/lib/components/Calculator/useBonusCalculatorParams.d.ts +1 -2
- package/mobile/lib/components/Calculator/useBonusCalculatorParams.js +3 -2
- package/mobile/lib/components/Calculator/useBonusCalculatorParams.js.map +1 -1
- package/mobile/lib/components/Calculator/useCalculatorParams.d.ts +1 -2
- package/mobile/lib/components/Calculator/useCalculatorParams.js +2 -1
- package/mobile/lib/components/Calculator/useCalculatorParams.js.map +1 -1
- package/mobile/lib/components/Calculator/useCreditCalculatorParams.d.ts +1 -2
- package/mobile/lib/components/Calculator/useCreditCalculatorParams.js +2 -2
- package/mobile/lib/components/Calculator/useCreditCalculatorParams.js.map +1 -1
- package/mobile/lib/components/Catalog/Catalog.d.ts +1 -1
- package/mobile/lib/components/Catalog/Catalog.js +3 -2
- package/mobile/lib/components/Catalog/Catalog.js.map +1 -1
- package/mobile/lib/components/Catalog/CatalogCard.d.ts +1 -1
- package/mobile/lib/components/ComparisonTable/ComparisonTable.d.ts +1 -1
- package/mobile/lib/components/ComparisonTable/ComparisonTable.js +2 -1
- package/mobile/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
- package/mobile/lib/components/ComparisonTable/ComparisonTableBody.d.ts +1 -1
- package/mobile/lib/components/ComparisonTable/ComparisonTableBody.js +3 -2
- package/mobile/lib/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
- package/mobile/lib/components/ComparisonTable/ComparisonTableColumnHeaders.d.ts +1 -1
- package/mobile/lib/components/ComparisonTable/ComparisonTableRows.d.ts +1 -1
- package/mobile/lib/components/ComparisonTable/HeaderCell.d.ts +1 -1
- package/mobile/lib/components/ComparisonTable/TableCarouselContainer.d.ts +1 -1
- package/mobile/lib/components/ComparisonTable/TableCell.d.ts +1 -1
- package/mobile/lib/components/ComparisonTable/TableColumn.d.ts +1 -1
- package/mobile/lib/components/ComparisonTable/TableRow.d.ts +1 -1
- package/mobile/lib/components/ComparisonTable/TableRowContainer.d.ts +1 -4
- package/mobile/lib/components/ContentPage/ContentPage.d.ts +3 -3
- package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
- package/mobile/lib/components/ContentPage/ContentPageContext.d.ts +1 -19
- package/mobile/lib/components/ContentPage/ContentPageHead.d.ts +1 -1
- package/mobile/lib/components/ExchangeRateTile/CurrencyTable.d.ts +1 -1
- package/mobile/lib/components/ExchangeRateTile/CurrentLocation.d.ts +1 -1
- package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +1 -1
- package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +2 -1
- package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
- package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.d.ts +1 -1
- package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
- package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
- package/mobile/lib/components/Footer/Contacts.d.ts +1 -1
- package/mobile/lib/components/Footer/Footer.d.ts +1 -1
- package/mobile/lib/components/Footer/Footer.js +1 -1
- package/mobile/lib/components/Footer/Footer.js.map +1 -1
- package/mobile/lib/components/Footer/HorizontalNavigation.d.ts +1 -1
- package/mobile/lib/components/Footer/HorizontalNavigationLink.d.ts +1 -1
- package/mobile/lib/components/Footer/MediaButton.d.ts +1 -1
- package/mobile/lib/components/Footer/Sitemap.d.ts +1 -1
- package/mobile/lib/components/Footer/Sitemap.js +2 -2
- package/mobile/lib/components/Footer/Sitemap.js.map +1 -1
- package/mobile/lib/components/Footer/SocialMedia.d.ts +1 -1
- package/mobile/lib/components/Footer/TextInformation.d.ts +1 -1
- package/mobile/lib/components/Footer/TextInformationLink.d.ts +1 -1
- package/mobile/lib/components/Gallery/Gallery.d.ts +1 -1
- package/mobile/lib/components/Gallery/GalleryCardInner.d.ts +1 -1
- package/mobile/lib/components/Gallery/GalleryContainer.d.ts +1 -1
- package/mobile/lib/components/Gallery/GalleryInner.d.ts +1 -1
- package/mobile/lib/components/Gallery/GalleryInner.js +2 -1
- package/mobile/lib/components/Gallery/GalleryInner.js.map +1 -1
- package/mobile/lib/components/GracePeriod/GracePeriod.d.ts +1 -1
- package/mobile/lib/components/GroupBlock/EmbeddableGroupBlocks.d.ts +2 -2
- package/mobile/lib/components/GroupBlock/GroupBlock.d.ts +1 -1
- package/mobile/lib/components/GroupBlock/GroupBlock.js +2 -1
- package/mobile/lib/components/GroupBlock/GroupBlock.js.map +1 -1
- package/mobile/lib/components/GroupBlock/GroupBlockTabs.d.ts +1 -1
- package/mobile/lib/components/GroupBlock/GroupBlocksItem.d.ts +1 -1
- package/mobile/lib/components/Header/DropdownMenu.d.ts +1 -1
- package/mobile/lib/components/Header/Header.d.ts +1 -1
- package/mobile/lib/components/Header/Header.js +3 -2
- package/mobile/lib/components/Header/Header.js.map +1 -1
- package/mobile/lib/components/Header/HeaderBurger.d.ts +1 -1
- package/mobile/lib/components/Header/HeaderBurger.js +2 -1
- package/mobile/lib/components/Header/HeaderBurger.js.map +1 -1
- package/mobile/lib/components/Header/HeaderSecondaryMenu.d.ts +3 -3
- package/mobile/lib/components/Header/HeaderSecondaryMenu.js +3 -2
- package/mobile/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
- package/mobile/lib/components/Header/HeaderSecondaryMenuButton.d.ts +1 -1
- package/mobile/lib/components/Header/HeaderSubMenu.d.ts +1 -1
- package/mobile/lib/components/Header/HeaderSubMenu.js +3 -2
- package/mobile/lib/components/Header/HeaderSubMenu.js.map +1 -1
- package/mobile/lib/components/Header/HeaderTop.d.ts +1 -1
- package/mobile/lib/components/Headline/Headline.d.ts +1 -1
- package/mobile/lib/components/Insurance/Insurance.d.ts +1 -1
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +1 -1
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +2 -1
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +1 -1
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +4 -3
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/mobile/lib/components/LikeControl/LikeControl.d.ts +1 -1
- package/mobile/lib/components/LikeControl/LikeControl.js +6 -2
- package/mobile/lib/components/LikeControl/LikeControl.js.map +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocs.d.ts +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocsHorizontalList.d.ts +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocsList.d.ts +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocsListItem.d.ts +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocsListItemBase.d.ts +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocsVerticalList.d.ts +1 -1
- package/mobile/lib/components/LinkList/LinkList.d.ts +1 -1
- package/mobile/lib/components/MiniGallery/MiniGallery.d.ts +1 -1
- package/mobile/lib/components/MobileAppTile/MobileAppTile.d.ts +1 -1
- package/mobile/lib/components/Navigation/Navigation.d.ts +1 -1
- package/mobile/lib/components/Navigation/NavigationItem.d.ts +2 -2
- package/mobile/lib/components/NavigatorTabs/NavigatorTabItem.d.ts +1 -1
- package/mobile/lib/components/NavigatorTabs/NavigatorTabs.d.ts +1 -1
- package/mobile/lib/components/OtherProducts/OtherProducts.d.ts +1 -1
- package/mobile/lib/components/OtherProducts/OtherProductsItem.d.ts +1 -1
- package/mobile/lib/components/PictureText/PictureText.d.ts +1 -1
- package/mobile/lib/components/Placeholder/Placeholder.d.ts +1 -1
- package/mobile/lib/components/ProductBlock/ProductBlock.d.ts +1 -1
- package/mobile/lib/components/ProductBlock/ProductBlockInner.d.ts +1 -1
- package/mobile/lib/components/ProductGallery/ProductGallery.d.ts +1 -1
- package/mobile/lib/components/ProductGallery/ProductGalleryBlock.d.ts +1 -1
- package/mobile/lib/components/ProductTile/ProductTile.d.ts +1 -1
- package/mobile/lib/components/ProductTile/ProductTile.js +1 -1
- package/mobile/lib/components/ProductTile/ProductTile.js.map +1 -1
- package/mobile/lib/components/PromoTile/PromoTile.d.ts +1 -1
- package/mobile/lib/components/PromoTile/PromoTile.js +1 -1
- package/mobile/lib/components/PromoTile/PromoTile.js.map +1 -1
- package/mobile/lib/components/Recommendation/Recommendation.d.ts +1 -1
- package/mobile/lib/components/Recommendation/Recommendation.js +2 -1
- package/mobile/lib/components/Recommendation/Recommendation.js.map +1 -1
- package/mobile/lib/components/Recommendation/RecommendationCard.d.ts +1 -1
- package/mobile/lib/components/SafeDepositRental/SafeDepositRental.d.ts +1 -1
- package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js +3 -2
- package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalForm.d.ts +1 -8
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalForm.js +17 -15
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
- package/mobile/lib/components/StepsBlock/StepsBlock.d.ts +1 -1
- package/mobile/lib/components/Tabs/Tabs.d.ts +1 -1
- package/mobile/lib/components/Tabs/Tabs.js +3 -2
- package/mobile/lib/components/Tabs/Tabs.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TableTileHeader.d.ts +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTable.d.ts +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableCell.d.ts +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableHorizontal.d.ts +2 -2
- package/mobile/lib/components/TariffsTable/TariffsTableRow.d.ts +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableTileCell.d.ts +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableVertical.d.ts +2 -2
- package/mobile/lib/components/TextBlock/TextBlock.d.ts +1 -1
- package/mobile/lib/components/Tile/Tile.d.ts +1 -1
- package/mobile/lib/components/Tile/Tile.js +1 -1
- package/mobile/lib/components/Tile/Tile.js.map +1 -1
- package/mobile/lib/hooks/useExchangeRates.d.ts +1 -2
- package/mobile/lib/hooks/useExchangeRates.js +2 -1
- package/mobile/lib/hooks/useExchangeRates.js.map +1 -1
- package/mobile/lib/hooks/useGeolocation.d.ts +1 -0
- package/mobile/lib/hooks/useGeolocation.js +18 -0
- package/mobile/lib/hooks/useGeolocation.js.map +1 -0
- package/mobile/lib/hooks/useLikeService.d.ts +5 -0
- package/mobile/lib/hooks/useLikeService.js +24 -0
- package/mobile/lib/hooks/useLikeService.js.map +1 -0
- package/mobile/lib/hooks/useLink.d.ts +1 -0
- package/mobile/lib/hooks/useLink.js +1 -1
- package/mobile/lib/hooks/useLink.js.map +1 -1
- package/mobile/lib/hooks/useSafeDepositRental.d.ts +1 -2
- package/mobile/lib/hooks/useSafeDepositRental.js +2 -1
- package/mobile/lib/hooks/useSafeDepositRental.js.map +1 -1
- package/mobile/lib/hooks/useSearch.d.ts +4 -0
- package/mobile/lib/hooks/useSearch.js +9 -0
- package/mobile/lib/hooks/useSearch.js.map +1 -0
- package/mobile/lib/index.d.ts +2 -1
- package/mobile/lib/index.js +2 -1
- package/mobile/lib/index.js.map +1 -1
- package/mobile/lib/react/setup-fixture.d.ts +1 -0
- package/mobile/lib/react/setup-fixture.js +2 -46
- package/mobile/lib/react/setup-fixture.js.map +1 -1
- package/mobile/lib/services/sitemap/useSitemap.d.ts +1 -2
- package/mobile/lib/services/sitemap/useSitemap.js +2 -1
- package/mobile/lib/services/sitemap/useSitemap.js.map +1 -1
- package/mobile/lib/ui-kit/BlockWrapper.d.ts +1 -1
- package/mobile/lib/ui-kit/BlockWrapper.js +3 -2
- package/mobile/lib/ui-kit/BlockWrapper.js.map +1 -1
- package/mobile/lib/ui-kit/BlocksList/BlocksListProps.d.ts +0 -2
- package/mobile/lib/ui-kit/BlocksList/EmbeddableBlocks.d.ts +6 -6
- package/mobile/lib/ui-kit/Breadcrumb.d.ts +1 -1
- package/mobile/lib/ui-kit/Button/ArrowButton.d.ts +1 -1
- package/mobile/lib/ui-kit/Button/Button.d.ts +1 -1
- package/mobile/lib/ui-kit/Button/ButtonInner.d.ts +1 -1
- package/mobile/lib/ui-kit/Button/ButtonSection.d.ts +1 -1
- package/mobile/lib/ui-kit/Button/LikeButton.d.ts +1 -1
- package/mobile/lib/ui-kit/Checkbox/Checkbox.d.ts +1 -1
- package/mobile/lib/ui-kit/Checkbox/Checkbox.js +5 -3
- package/mobile/lib/ui-kit/Checkbox/Checkbox.js.map +1 -1
- package/mobile/lib/ui-kit/Description/Description.d.ts +1 -1
- package/mobile/lib/ui-kit/Foldable/Foldable.d.ts +1 -1
- package/mobile/lib/ui-kit/Foldable/Foldable.js +1 -2
- package/mobile/lib/ui-kit/Foldable/Foldable.js.map +1 -1
- package/mobile/lib/ui-kit/Foldable/useActiveHandler.d.ts +1 -3
- package/mobile/lib/ui-kit/Foldable/useActiveHandler.js +3 -2
- package/mobile/lib/ui-kit/Foldable/useActiveHandler.js.map +1 -1
- package/mobile/lib/ui-kit/HeaderItem/HeaderItem.d.ts +1 -1
- package/mobile/lib/ui-kit/Heading/Heading.d.ts +1 -1
- package/mobile/lib/ui-kit/Icon/Icon.d.ts +1 -1
- package/mobile/lib/ui-kit/Img/Img.d.ts +1 -1
- package/mobile/lib/ui-kit/Img/ImgAsPicture.d.ts +1 -1
- package/mobile/lib/ui-kit/Img/ImgInner.d.ts +1 -1
- package/mobile/lib/ui-kit/Input/Input.d.ts +1 -1
- package/mobile/lib/ui-kit/InputRange/InputRange.d.ts +1 -1
- package/mobile/lib/ui-kit/InputRange/InputRange.js +4 -3
- package/mobile/lib/ui-kit/InputRange/InputRange.js.map +1 -1
- package/mobile/lib/ui-kit/InputRange/InputRangeProps.d.ts +1 -0
- package/mobile/lib/ui-kit/List/List.d.ts +1 -1
- package/mobile/lib/ui-kit/List/ListItem.d.ts +1 -1
- package/mobile/lib/ui-kit/Logo/Logo.d.ts +1 -1
- package/mobile/lib/ui-kit/Radio/Radio.d.ts +1 -1
- package/mobile/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +1 -1
- package/mobile/lib/ui-kit/SVG.d.ts +1 -1
- package/mobile/lib/ui-kit/SearchBar/SearchBar.d.ts +1 -1
- package/mobile/lib/ui-kit/SearchBar/SearchBar.js +2 -2
- package/mobile/lib/ui-kit/SearchBar/SearchBar.js.map +1 -1
- package/mobile/lib/ui-kit/SearchBar/SearchBarInner.d.ts +3 -3
- package/mobile/lib/ui-kit/SearchBar/SearchBarInner.js +3 -2
- package/mobile/lib/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
- package/mobile/lib/ui-kit/Select/Select.d.ts +1 -1
- package/mobile/lib/ui-kit/Select/SelectOption.d.ts +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.d.ts +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js +4 -3
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlItem.d.ts +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlList.d.ts +1 -1
- package/mobile/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControl.d.ts +1 -1
- package/mobile/lib/ui-kit/Tabs/Tabs.d.ts +1 -1
- package/mobile/lib/ui-kit/TopItem/TopItem.d.ts +1 -1
- package/mobile/src/ProjectSettings.ts +3 -4
- package/mobile/src/api/LikeAPI.ts +21 -16
- package/mobile/src/common.css +25 -7
- package/mobile/src/components/Accordion/AccordionItem.tsx +1 -4
- package/mobile/src/components/Accordion/useActiveHandler.ts +3 -2
- package/mobile/src/components/Blocks.spec.tsx +9 -15
- package/mobile/src/components/Calculator/BonusCalculatorForm.tsx +4 -3
- package/mobile/src/components/Calculator/Calculator.tsx +5 -4
- package/mobile/src/components/Calculator/CreditCalculatorForm.tsx +8 -7
- package/mobile/src/components/Calculator/DepositCalculatorForm.tsx +3 -2
- package/mobile/src/components/Calculator/MortgageCalculatorForm.tsx +5 -4
- package/mobile/src/components/Calculator/renderCalculatorBlock.tsx +1 -1
- package/mobile/src/components/Calculator/useBonusCalculatorParams.ts +2 -6
- package/mobile/src/components/Calculator/useCalculatorParams.ts +2 -2
- package/mobile/src/components/Calculator/useCreditCalculatorParams.ts +1 -6
- package/mobile/src/components/Catalog/Catalog.tsx +3 -2
- package/mobile/src/components/ComparisonTable/ComparisonTable.tsx +3 -2
- package/mobile/src/components/ComparisonTable/ComparisonTableBody.tsx +5 -4
- package/mobile/src/components/ContentPage/ContentPage.tsx +3 -5
- package/mobile/src/components/ContentPage/ContentPageContext.tsx +1 -26
- package/mobile/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +2 -1
- package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.tsx +1 -1
- package/mobile/src/components/Footer/Footer.tsx +1 -1
- package/mobile/src/components/Footer/Sitemap.tsx +2 -2
- package/mobile/src/components/Gallery/GalleryInner.tsx +3 -2
- package/mobile/src/components/GroupBlock/GroupBlock.tsx +2 -1
- package/mobile/src/components/Header/Header.tsx +6 -5
- package/mobile/src/components/Header/HeaderBurger.tsx +2 -1
- package/mobile/src/components/Header/HeaderSecondaryMenu.tsx +6 -4
- package/mobile/src/components/Header/HeaderSubMenu.tsx +3 -2
- package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +2 -1
- package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +4 -3
- package/mobile/src/components/LikeControl/LikeControl.tsx +11 -3
- package/mobile/src/components/ProductTile/ProductTile.tsx +2 -1
- package/mobile/src/components/PromoTile/PromoTile.tsx +3 -2
- package/mobile/src/components/Recommendation/Recommendation.tsx +2 -1
- package/mobile/src/components/SafeDepositRental/SafeDepositRental.tsx +3 -2
- package/mobile/src/components/SafeDepositRental/SafeDepositRentalForm.tsx +32 -32
- package/mobile/src/components/Tabs/Tabs.tsx +3 -2
- package/mobile/src/components/Tile/Tile.tsx +2 -2
- package/mobile/src/components/__snapshots__/Blocks.spec.tsx.snap +11 -9
- package/mobile/src/hooks/useExchangeRates.ts +2 -2
- package/mobile/src/hooks/useGeolocation.ts +22 -0
- package/mobile/src/hooks/useLikeService.ts +29 -0
- package/mobile/src/hooks/useLink.ts +1 -1
- package/mobile/src/hooks/useSafeDepositRental.ts +2 -2
- package/mobile/src/hooks/useSearch.ts +10 -0
- package/mobile/src/index.ts +2 -1
- package/mobile/src/react/setup-fixture.ts +2 -55
- package/mobile/src/services/sitemap/useSitemap.ts +2 -2
- package/mobile/src/ui-kit/BlockWrapper.tsx +3 -2
- package/mobile/src/ui-kit/BlocksList/BlocksListProps.ts +0 -2
- package/mobile/src/ui-kit/Checkbox/Checkbox.tsx +28 -26
- package/mobile/src/ui-kit/Foldable/Foldable.tsx +0 -2
- package/mobile/src/ui-kit/Foldable/useActiveHandler.ts +3 -4
- package/mobile/src/ui-kit/InputRange/InputRange.tsx +21 -7
- package/mobile/src/ui-kit/InputRange/InputRangeProps.ts +1 -0
- package/mobile/src/ui-kit/SearchBar/SearchBar.tsx +2 -2
- package/mobile/src/ui-kit/SearchBar/SearchBarInner.tsx +57 -58
- package/mobile/src/ui-kit/SwipeListControl/SwipeListControl.tsx +3 -3
- package/package.json +2 -2
- package/src/ProjectSettings.ts +3 -4
- package/src/api/LikeAPI.ts +21 -16
- package/src/common.css +25 -7
- package/src/components/Accordion/Accordion.tsx +1 -0
- package/src/components/Accordion/AccordionItem.mobile.tsx +1 -4
- package/src/components/Accordion/AccordionItem.tsx +0 -1
- package/src/components/Accordion/useActiveHandler.ts +3 -2
- package/src/components/Blocks.spec.tsx +9 -15
- package/src/components/Calculator/BonusCalculatorForm.tsx +4 -3
- package/src/components/Calculator/Calculator.tsx +5 -4
- package/src/components/Calculator/CreditCalculatorForm.tsx +8 -7
- package/src/components/Calculator/DepositCalculatorForm.tsx +3 -2
- package/src/components/Calculator/MortgageCalculatorForm.tsx +5 -4
- package/src/components/Calculator/renderCalculatorBlock.tsx +1 -1
- package/src/components/Calculator/useBonusCalculatorParams.ts +2 -6
- package/src/components/Calculator/useCalculatorParams.ts +2 -2
- package/src/components/Calculator/useCreditCalculatorParams.ts +1 -6
- package/src/components/Catalog/Catalog.tsx +3 -2
- package/src/components/ComparisonTable/ComparisonTable.mobile.tsx +3 -2
- package/src/components/ComparisonTable/ComparisonTable.tsx +2 -1
- package/src/components/ComparisonTable/ComparisonTableBody.tsx +5 -4
- package/src/components/ContentPage/ContentPage.tsx +3 -5
- package/src/components/ContentPage/ContentPageContext.tsx +1 -26
- package/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +2 -1
- package/src/components/ExchangeRateTile/ExchangeRateTile.tsx +1 -1
- package/src/components/Footer/Footer.mobile.tsx +1 -1
- package/src/components/Footer/Sitemap.tsx +2 -2
- package/src/components/Gallery/GalleryInner.tsx +3 -2
- package/src/components/GroupBlock/GroupBlock.tsx +2 -1
- package/src/components/Header/Header.mobile.tsx +6 -5
- package/src/components/Header/Header.tsx +1 -2
- package/src/components/Header/HeaderBurger.tsx +2 -1
- package/src/components/Header/HeaderSecondaryMenu.tsx +6 -4
- package/src/components/Header/HeaderSubMenu.tsx +3 -2
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +2 -1
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +4 -3
- package/src/components/LikeControl/LikeControl.tsx +11 -3
- package/src/components/LinkDocs/LinkDocs.tsx +1 -0
- package/src/components/ProductGallery/ProductGallery.tsx +3 -2
- package/src/components/ProductTile/ProductTile.tsx +2 -1
- package/src/components/PromoTile/PromoTile.tsx +3 -2
- package/src/components/Recommendation/Recommendation.tsx +2 -1
- package/src/components/SafeDepositRental/SafeDepositRental.tsx +3 -2
- package/src/components/SafeDepositRental/SafeDepositRentalForm.tsx +32 -32
- package/src/components/Tabs/Tabs.tsx +3 -2
- package/src/components/TariffsTable/TariffsTable.tsx +3 -2
- package/src/components/Tile/Tile.tsx +2 -2
- package/src/components/__snapshots__/Blocks.spec.tsx.snap +11 -9
- package/src/hooks/useExchangeRates.ts +2 -2
- package/src/hooks/useGeolocation.ts +22 -0
- package/src/hooks/useLikeService.ts +29 -0
- package/src/hooks/useLink.ts +1 -1
- package/src/hooks/useSafeDepositRental.ts +2 -2
- package/src/hooks/useSearch.ts +10 -0
- package/src/index.ts +2 -1
- package/src/react/setup-fixture.ts +2 -55
- package/src/services/sitemap/useSitemap.ts +2 -2
- package/src/ui-kit/BlockWrapper.tsx +3 -2
- package/src/ui-kit/BlocksList/BlocksListProps.ts +0 -2
- package/src/ui-kit/Checkbox/Checkbox.tsx +28 -26
- package/src/ui-kit/Foldable/Foldable.tsx +0 -2
- package/src/ui-kit/Foldable/useActiveHandler.ts +3 -4
- package/src/ui-kit/InputRange/InputRange.tsx +21 -7
- package/src/ui-kit/InputRange/InputRangeProps.ts +1 -0
- package/src/ui-kit/SearchBar/SearchBar.mobile.tsx +2 -2
- package/src/ui-kit/SearchBar/SearchBar.tsx +2 -2
- package/src/ui-kit/SearchBar/SearchBarInner.tsx +57 -58
- package/src/ui-kit/SwipeListControl/SwipeListControl.tsx +3 -3
|
@@ -10,5 +10,5 @@ interface DropdownMenuProps extends UniBlockProps {
|
|
|
10
10
|
context: ContentPageContext;
|
|
11
11
|
activeSubItem?: LinkProps;
|
|
12
12
|
}
|
|
13
|
-
export declare const DropdownMenu:
|
|
13
|
+
export declare const DropdownMenu: import("@redneckz/uni-jsx").UNIComponent<DropdownMenuProps, any, any>;
|
|
14
14
|
export {};
|
|
@@ -2,4 +2,4 @@ import type { UniBlockProps } from '../../types';
|
|
|
2
2
|
import type { HeaderContent } from './HeaderContent';
|
|
3
3
|
export interface HeaderProps extends HeaderContent, UniBlockProps {
|
|
4
4
|
}
|
|
5
|
-
export declare const Header:
|
|
5
|
+
export declare const Header: import("@redneckz/uni-jsx").UNIComponent<HeaderProps, any, any>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
+
import { useState } from '@redneckz/uni-jsx/lib/hooks';
|
|
3
4
|
import { useLink } from '../../hooks/useLink.js';
|
|
4
5
|
import { findActiveSubItem } from '../../services/sitemap/findActiveSubItem.js';
|
|
5
6
|
import { isTopItemActive } from '../../services/sitemap/isTopItemActive.js';
|
|
@@ -12,14 +13,14 @@ import { HeaderBurger } from './HeaderBurger.js';
|
|
|
12
13
|
import { HeaderTop } from './HeaderTop.js';
|
|
13
14
|
export const Header = JSX(({ className = '', defaultLocation, bgColor = 'bg-white', context, topItems }) => {
|
|
14
15
|
const router = context.useRouter();
|
|
15
|
-
const sitemap = useSitemap(
|
|
16
|
+
const sitemap = useSitemap();
|
|
16
17
|
const dispositions = sitemap?.dispositions;
|
|
17
18
|
const { handlerDecorator } = context;
|
|
18
19
|
const mergedItems = mergeTopItems(sitemap.topItems, topItems);
|
|
19
20
|
const activeTopItem = mergedItems.find(isTopItemActive(router));
|
|
20
21
|
const subItems = activeTopItem?.items;
|
|
21
22
|
const activeSubItem = findActiveSubItem(router)(subItems);
|
|
22
|
-
const [burgerMenuShow, setBurgerMenuShow] =
|
|
23
|
+
const [burgerMenuShow, setBurgerMenuShow] = useState(false);
|
|
23
24
|
const toggleBurgerMenu = () => setBurgerMenuShow(!burgerMenuShow);
|
|
24
25
|
return (_jsxs("header", { className: `${bgColor} ${className}`, children: [_jsxs("div", { className: "container px-4 py-0 box-border", children: [_jsx(HeaderTop, { onClick: toggleBurgerMenu, bgColor: bgColor }), _jsx("nav", { className: "flex items-center m-0 p-0 overflow-y-hidden w-full h-[50px]", children: _jsx("div", { className: "flex no-scrollbar horizontal-list h-full items-center", children: subItems?.map((_, i) => renderSubItem({
|
|
25
26
|
...useLink({ router, handlerDecorator }, _),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Header.js","sourceRoot":"","sources":["../../../src/components/Header/Header.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"Header.js","sourceRoot":"","sources":["../../../src/components/Header/Header.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,0CAA0C,CAAC;AAC7E,OAAO,EAAE,eAAe,EAAE,MAAM,wCAAwC,CAAC;AACzE,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAC;AAE/D,OAAO,EAAE,UAAU,EAAE,MAAM,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AAC,6DAA6D,YAC1E,cAAK,SAAS,EAAC,uDAAuD,YACnE,QAAQ,EAAE,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CACtB,aAAa,CACX;gCACE,GAAG,OAAO,CAAC,EAAE,MAAM,EAAE,gBAAgB,EAAE,EAAE,CAAC,CAAC;gCAC3C,MAAM,EAAE,CAAC,KAAK,aAAa;gCAC3B,OAAO;6BACR,EACD,CAAC,CACF,CACF,GACG,GACF,IACF,EACL,cAAc,CAAC,CAAC,CAAC,CAChB,KAAC,YAAY,IACX,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,gBAAgB,EACzB,aAAa,EAAE,YAAY,EAC3B,eAAe,EAAE,eAAe,YAEhC,KAAC,SAAS,IACR,OAAO,EAAE,OAAO,EAChB,cAAc,EAAE,iBAAiB,CAAC,OAAO,CAAC,QAAQ,CAAC,EACnD,SAAS,EAAC,WAAW,GACrB,GACW,CAChB,CAAC,CAAC,CAAC,IAAI,IACD,CACV,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,aAAa,GAAG,CAAC,IAAkB,EAAE,CAAS,EAAE,EAAE,CAAC,CACvD,KAAC,UAAU,IAAiB,SAAS,EAAC,+BAA+B,KAAK,IAAI,IAA7D,MAAM,CAAC,CAAC,CAAC,CAAwD,CACnF,CAAC"}
|
|
@@ -8,4 +8,4 @@ export interface HeaderBurgerProps {
|
|
|
8
8
|
defaultLocation?: string;
|
|
9
9
|
children?: VNode;
|
|
10
10
|
}
|
|
11
|
-
export declare const HeaderBurger:
|
|
11
|
+
export declare const HeaderBurger: import("@redneckz/uni-jsx").UNIComponent<HeaderBurgerProps, any, any>;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
+
import { useGeolocation } from '../../hooks/useGeolocation.js';
|
|
3
4
|
import { Img } from '../../ui-kit/Img/Img.js';
|
|
4
5
|
import { SearchBar } from '../../ui-kit/SearchBar/SearchBar.js';
|
|
5
6
|
export const HeaderBurger = JSX(({ context, burgerSubMenu, onClick, defaultLocation = '', children }) => {
|
|
6
|
-
const [city, getCity] =
|
|
7
|
+
const [city, getCity] = useGeolocation(defaultLocation);
|
|
7
8
|
return (_jsxs("div", { className: "absolute top-0 left-0 w-full h-full bg-white p-4 box-border z-20", children: [_jsx("button", { className: "absolute top-4 right-4 border-none bg-transparent cursor-pointer", onClick: onClick, children: _jsx(Img, { image: "CloseIcon", width: "24", height: "24", asSVG: true }) }), _jsxs("button", { onClick: getCity, className: "flex items-center text-s text-secondary-text p-0 mb-4 bg-transparent cursor-pointer", children: [_jsx(Img, { image: "GeolocationIcon", width: "20", height: "20", className: "text-primary-main box-border mr-2", asSVG: true }), city] }), children, _jsx("div", { className: "mb-7", children: burgerSubMenu?.map(renderBurgerSubMenuItem) }), _jsx(SearchBar, { context: context, className: "grow" })] }));
|
|
8
9
|
});
|
|
9
10
|
const renderBurgerSubMenuItem = (menu, i) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HeaderBurger.js","sourceRoot":"","sources":["../../../src/components/Header/HeaderBurger.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"HeaderBurger.js","sourceRoot":"","sources":["../../../src/components/Header/HeaderBurger.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAE5D,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAY7D,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAC7B,CAAC,EAAE,OAAO,EAAE,aAAa,EAAE,OAAO,EAAE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AAE,CAKxB,CACL,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { BgColorVersion } from '../../model/BgColorVersion';
|
|
2
|
-
import type { UniBlockProps } from '../../types';
|
|
3
2
|
interface HeaderSecondaryMenuContent {
|
|
4
3
|
defaultLocation?: string;
|
|
5
4
|
bgColor?: BgColorVersion;
|
|
6
5
|
}
|
|
7
|
-
export interface HeaderSecondaryMenuProps extends HeaderSecondaryMenuContent
|
|
6
|
+
export interface HeaderSecondaryMenuProps extends HeaderSecondaryMenuContent {
|
|
7
|
+
className?: string;
|
|
8
8
|
}
|
|
9
|
-
export declare const HeaderSecondaryMenu:
|
|
9
|
+
export declare const HeaderSecondaryMenu: import("@redneckz/uni-jsx").UNIComponent<HeaderSecondaryMenuProps, any, any>;
|
|
10
10
|
export {};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
+
import { useGeolocation } from '../../hooks/useGeolocation.js';
|
|
3
4
|
import { Img } from '../../ui-kit/Img/Img.js';
|
|
4
5
|
import { TopItem } from '../../ui-kit/TopItem/TopItem.js';
|
|
5
6
|
import { HeaderSecondaryMenuButton } from './HeaderSecondaryMenuButton.js';
|
|
@@ -15,8 +16,8 @@ const LINKS_ICON_VERSION_MAP = {
|
|
|
15
16
|
'bg-white': 'black',
|
|
16
17
|
transparent: 'white',
|
|
17
18
|
};
|
|
18
|
-
export const HeaderSecondaryMenu = JSX(({
|
|
19
|
-
const [city, getCity] =
|
|
19
|
+
export const HeaderSecondaryMenu = JSX(({ className, defaultLocation = '', bgColor = 'bg-white' }) => {
|
|
20
|
+
const [city, getCity] = useGeolocation(defaultLocation);
|
|
20
21
|
return (_jsxs("div", { className: `flex items-center ${className || ''}`, children: [_jsx(TopItem, { className: "mr-5", flat: true, href: "#", text: city, ariaLabel: "\u041C\u0435\u0441\u0442\u043E\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435", onClick: getCity, bgColor: bgColor }), _jsx(TopItem, { className: "mr-7", flat: true, href: "#", text: "\u041E\u0444\u0438\u0441\u044B \u0438 \u0431\u0430\u043D\u043A\u043E\u043C\u0430\u0442\u044B", ariaLabel: "\u0421\u043F\u0438\u0441\u043E\u043A \u0432\u0441\u0435\u0445 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0445 \u043E\u0444\u0438\u0441\u043E\u0432 \u0438 \u0431\u0430\u043D\u043A\u043E\u043C\u0430\u0442\u043E\u0432", bgColor: bgColor }), _jsx(HeaderSecondaryMenuButton, { className: `mr-5 group ${COLORS_MAP[bgColor]}`, ariaLabel: "\u041F\u043E\u0438\u0441\u043A \u043F\u043E \u0441\u0430\u0439\u0442\u0443", children: _jsx(Img, { image: { icon: 'LoupeIcon', iconVersion: LINKS_ICON_VERSION_MAP[bgColor] }, className: "h-full pointer-events-none", imageClassName: "group-hover:text-primary-main pointer-events-none", asSVG: true }) }), _jsx(HeaderSecondaryMenuButton, { className: `${LINKS_COLORS_MAP[bgColor]} group min-w-[32px] min-h-[32px]`, ariaLabel: "\u0414\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0435 \u0441\u0441\u044B\u043B\u043A\u0438", children: _jsx(Img, { image: { icon: 'GridIcon', iconVersion: LINKS_ICON_VERSION_MAP[bgColor] }, className: "h-full bg-main-divider rounded-full pointer-events-none", imageClassName: "group-hover:text-primary-main", asSVG: true }) })] }));
|
|
21
22
|
});
|
|
22
23
|
//# sourceMappingURL=HeaderSecondaryMenu.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HeaderSecondaryMenu.js","sourceRoot":"","sources":["../../../src/components/Header/HeaderSecondaryMenu.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"HeaderSecondaryMenu.js","sourceRoot":"","sources":["../../../src/components/Header/HeaderSecondaryMenu.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAG5D,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAWxE,MAAM,UAAU,GAAmC;IACjD,UAAU,EAAE,2CAA2C;IACvD,WAAW,EAAE,YAAY;CAC1B,CAAC;AACF,MAAM,gBAAgB,GAAmC;IACvD,UAAU,EAAE,iDAAiD;IAC7D,WAAW,EAAE,YAAY;CAC1B,CAAC;AACF,MAAM,sBAAsB,GAAwC;IAClE,UAAU,EAAE,OAAO;IACnB,WAAW,EAAE,OAAO;CACrB,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAG,GAAG,CACpC,CAAC,EAAE,SAAS,EAAE,eAAe,GAAG,EAAE,EAAE,OAAO,GAAG,UAAU,EAAE,EAAE,EAAE;IAC5D,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,cAAc,CAAC,eAAe,CAAC,CAAC;IAExD,OAAO,CACL,eAAK,SAAS,EAAE,qBAAqB,SAAS,IAAI,EAAE,EAAE,aACpD,KAAC,OAAO,IACN,SAAS,EAAC,MAAM,EAChB,IAAI,EAAE,IAAI,EACV,IAAI,EAAC,GAAG,EACR,IAAI,EAAE,IAAI,EACV,SAAS,EAAC,sFAAgB,EAC1B,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,OAAO,GAChB,EACF,KAAC,OAAO,IACN,SAAS,EAAC,MAAM,EAChB,IAAI,EAAE,IAAI,EACV,IAAI,EAAC,GAAG,EACR,IAAI,EAAC,8FAAmB,EACxB,SAAS,EAAC,+NAA2C,EACrD,OAAO,EAAE,OAAO,GAChB,EACF,KAAC,yBAAyB,IACxB,SAAS,EAAE,cAAc,UAAU,CAAC,OAAO,CAAC,EAAE,EAC9C,SAAS,EAAC,4EAAgB,YAE1B,KAAC,GAAG,IACF,KAAK,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,WAAW,EAAE,sBAAsB,CAAC,OAAO,CAAC,EAAE,EAC1E,SAAS,EAAC,4BAA4B,EACtC,cAAc,EAAC,mDAAmD,EAClE,KAAK,SACL,GACwB,EAC5B,KAAC,yBAAyB,IACxB,SAAS,EAAE,GAAG,gBAAgB,CAAC,OAAO,CAAC,kCAAkC,EACzE,SAAS,EAAC,2HAAuB,YAEjC,KAAC,GAAG,IACF,KAAK,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,WAAW,EAAE,sBAAsB,CAAC,OAAO,CAAC,EAAE,EACzE,SAAS,EAAC,yDAAyD,EACnE,cAAc,EAAC,+BAA+B,EAC9C,KAAK,SACL,GACwB,IACxB,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -2,5 +2,5 @@ interface HeaderSecondaryMenuButtonProps {
|
|
|
2
2
|
className?: string;
|
|
3
3
|
ariaLabel?: string;
|
|
4
4
|
}
|
|
5
|
-
export declare const HeaderSecondaryMenuButton:
|
|
5
|
+
export declare const HeaderSecondaryMenuButton: import("@redneckz/uni-jsx").UNIComponent<HeaderSecondaryMenuButtonProps, any, any>;
|
|
6
6
|
export {};
|
|
@@ -6,4 +6,4 @@ export interface HeaderSubMenuProps {
|
|
|
6
6
|
subItems?: LinkProps[];
|
|
7
7
|
bgColor?: BgColorVersion;
|
|
8
8
|
}
|
|
9
|
-
export declare const HeaderSubMenu:
|
|
9
|
+
export declare const HeaderSubMenu: import("@redneckz/uni-jsx").UNIComponent<HeaderSubMenuProps, any, any>;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
+
import { useState } from '@redneckz/uni-jsx/lib/hooks';
|
|
3
4
|
import { useLink } from '../../hooks/useLink.js';
|
|
4
5
|
import { findActiveSubItem } from '../../services/sitemap/findActiveSubItem.js';
|
|
5
6
|
import { HeaderItem } from '../../ui-kit/HeaderItem/HeaderItem.js';
|
|
6
7
|
import { DropdownMenu } from './DropdownMenu.js';
|
|
7
8
|
export const HeaderSubMenu = JSX(({ context, subItems = [], bgColor }) => {
|
|
8
|
-
const [menuVisible, setMenuVisible] =
|
|
9
|
+
const [menuVisible, setMenuVisible] = useState(false);
|
|
9
10
|
const router = context.useRouter();
|
|
10
11
|
const { handlerDecorator, IntersectionObserverTag } = context;
|
|
11
|
-
const [visibleItemsCount, setVisibleItemsCount] =
|
|
12
|
+
const [visibleItemsCount, setVisibleItemsCount] = useState(subItems.length);
|
|
12
13
|
const dropDownMenuItems = subItems.slice(visibleItemsCount);
|
|
13
14
|
const activeSubItem = findActiveSubItem(router)(subItems);
|
|
14
15
|
const toggleMenu = () => setMenuVisible(!menuVisible);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HeaderSubMenu.js","sourceRoot":"","sources":["../../../src/components/Header/HeaderSubMenu.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAG9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,0CAA0C,CAAC;AAC7E,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAEhE,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAQ9C,MAAM,CAAC,MAAM,aAAa,GAAG,GAAG,CAAqB,CAAC,EAAE,OAAO,EAAE,QAAQ,GAAG,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE;IAC3F,MAAM,CAAC,WAAW,EAAE,cAAc,CA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,CAAC,CAAC,CAAC"}
|
|
@@ -3,4 +3,4 @@ export interface HeaderTopProps {
|
|
|
3
3
|
onClick: () => void;
|
|
4
4
|
bgColor?: BgColorVersion;
|
|
5
5
|
}
|
|
6
|
-
export declare const HeaderTop:
|
|
6
|
+
export declare const HeaderTop: import("@redneckz/uni-jsx").UNIComponent<HeaderTopProps, any, any>;
|
|
@@ -2,4 +2,4 @@ import type { UniBlockProps } from '../../types';
|
|
|
2
2
|
import type { HeadlineContent } from './HeadlineContent';
|
|
3
3
|
export interface HeadlineProps extends UniBlockProps, HeadlineContent {
|
|
4
4
|
}
|
|
5
|
-
export declare const Headline:
|
|
5
|
+
export declare const Headline: import("@redneckz/uni-jsx").UNIComponent<HeadlineProps, any, any>;
|
|
@@ -2,4 +2,4 @@ import type { UniBlockProps } from '../../types';
|
|
|
2
2
|
import type { InsuranceContent } from './InsuranceContent';
|
|
3
3
|
export interface InsuranceProps extends InsuranceContent, UniBlockProps {
|
|
4
4
|
}
|
|
5
|
-
export declare const Insurance:
|
|
5
|
+
export declare const Insurance: import("@redneckz/uni-jsx").UNIComponent<InsuranceProps, any, any>;
|
|
@@ -2,4 +2,4 @@ import type { UniBlockProps } from '../../types';
|
|
|
2
2
|
import type { InsuranceAmountBlockContent } from './InsuranceAmountBlockContent';
|
|
3
3
|
export interface InsuranceAmountBlockProps extends InsuranceAmountBlockContent, UniBlockProps {
|
|
4
4
|
}
|
|
5
|
-
export declare const InsuranceAmountBlock:
|
|
5
|
+
export declare const InsuranceAmountBlock: import("@redneckz/uni-jsx").UNIComponent<InsuranceAmountBlockProps, any, any>;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
+
import { useState } from '@redneckz/uni-jsx/lib/hooks';
|
|
3
4
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
|
|
4
5
|
import { Heading } from '../../ui-kit/Heading/Heading.js';
|
|
5
6
|
import { InsuranceAmountBlockInner } from './InsuranceAmountBlockInner.js';
|
|
6
7
|
export const InsuranceAmountBlock = JSX(({ className = '', context, title, insuranceTabs = [], button, ...rest }) => {
|
|
7
|
-
const [activeSlideIndex, setActiveSlideIndex] =
|
|
8
|
+
const [activeSlideIndex, setActiveSlideIndex] = useState(0);
|
|
8
9
|
return (_jsxs(BlockWrapper, { context: context, className: `box-border py-[50px] overflow-hidden relative font-sans w-100 bg-white ${className}`, ...rest, children: [title ? _jsx(Heading, { className: "text-center", title: title, headingType: "h3" }) : null, insuranceTabs?.length > 1 ? (_jsx("div", { className: "p-1.5 bg-secondary-light w-fit m-auto rounded-md mt-[34px]", children: insuranceTabs.map((item, i) => renderNavButton({
|
|
9
10
|
title: item?.title,
|
|
10
11
|
i,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InsuranceAmountBlock.js","sourceRoot":"","sources":["../../../src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"InsuranceAmountBlock.js","sourceRoot":"","sources":["../../../src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAEvD,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AAEvD,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAIxE,MAAM,CAAC,MAAM,oBAAoB,GAAG,GAAG,CACrC,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,aAAa,GAAG,EAAE,EAAE,MAAM,EAA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kBAAkB,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,CAAC,EAAE,EAAE,CAAC,CACnC,KAAC,yBAAyB,IAExB,OAAO,EAAE,OAAO,EAChB,SAAS,EAAE,SAAS,EACpB,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,KAAK,IAJP,MAAM,CAAC,CAAC,CAAC,CAKd,CACH,CAAC;QACJ,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CAAC;AAEF,SAAS,eAAe,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,gBAAgB,EAAE,OAAO,EAAE;IAC9D,MAAM,WAAW,GAAG,CAAC,KAAK,gBAAgB,CAAC;IAE3C,MAAM,YAAY,GAAG,WAAW;QAC9B,CAAC,CAAC,uCAAuC;QACzC,CAAC,CAAC,qBAAqB,CAAC;IAE1B,OAAO,CACL,iBACE,IAAI,EAAC,QAAQ,EAEb,OAAO,EAAE,OAAO,gBACJ,KAAK,EACjB,SAAS,EAAE,qCAAqC,YAAY,EAAE,YAE7D,KAAK,IALD,MAAM,CAAC,CAAC,CAAC,CAMP,CACV,CAAC;AACJ,CAAC"}
|
|
@@ -4,4 +4,4 @@ import type { InsuranceAmountBlockTabs } from './InsuranceAmountBlockContent';
|
|
|
4
4
|
export interface InsuranceAmountBlockInnerProps extends InsuranceAmountBlockTabs, UniBlockProps {
|
|
5
5
|
button?: ButtonProps;
|
|
6
6
|
}
|
|
7
|
-
export declare const InsuranceAmountBlockInner:
|
|
7
|
+
export declare const InsuranceAmountBlockInner: import("@redneckz/uni-jsx").UNIComponent<InsuranceAmountBlockInnerProps, any, any>;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
+
import { useState } from '@redneckz/uni-jsx/lib/hooks';
|
|
3
4
|
import { Button } from '../../ui-kit/Button/Button.js';
|
|
4
5
|
import { renderArrows } from '../../ui-kit/Button/renderArrows.js';
|
|
5
6
|
import { Img } from '../../ui-kit/Img/Img.js';
|
|
6
7
|
import { addSpacesBetweenNumbers } from '../../utils/addSpacesBetweenNumbers.js';
|
|
7
|
-
export const InsuranceAmountBlockInner = JSX(({ className = '',
|
|
8
|
-
const [activeSlideIndex, setActiveSlideIndex] =
|
|
9
|
-
const [tabsShift, setTabsShift] =
|
|
8
|
+
export const InsuranceAmountBlockInner = JSX(({ className = '', cards = [], button }) => {
|
|
9
|
+
const [activeSlideIndex, setActiveSlideIndex] = useState(0);
|
|
10
|
+
const [tabsShift, setTabsShift] = useState(0);
|
|
10
11
|
const handleNextClick = () => setTabsShift(tabsShift + 1);
|
|
11
12
|
const handlePrevClick = () => setTabsShift(tabsShift - 1);
|
|
12
13
|
const galleryLength = cards?.length ?? 0;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InsuranceAmountBlockInner.js","sourceRoot":"","sources":["../../../src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"InsuranceAmountBlockInner.js","sourceRoot":"","sources":["../../../src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAEvD,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAEpD,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAChE,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAsB9E,MAAM,CAAC,MAAM,yBAAyB,GAAG,GAAG,CAC1C,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,GAA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,kFAAkF,YAAY,EAAE,aAE1G,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC,CACb,KAAC,GAAG,IACF,SAAS,EAAC,+CAA+C,EACzD,KAAK,EAAE,KAAK,CAAC,IAAI,EACjB,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,GACX,CACH,CAAC,CAAC,CAAC,IAAI,EAER,eAAK,SAAS,EAAC,cAAc,aAC1B,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,gBAAgB,CAAC,iBAAiB,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,EAClE,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,gBAAgB,CAAC,iBAAiB,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,IAC/D,EACL,cAAc,CAAC,WAAW,CAAC,KAjBvB,MAAM,CAAC,CAAC,CAAC,CAkBP,CACV,CAAC;AACJ,CAAC;AAED,SAAS,gBAAgB,CAAC,KAAa,EAAE,GAAW;IAClD,OAAO,CACL,eAAK,SAAS,EAAC,wCAAwC,aACrD,gBAAM,SAAS,EAAC,SAAS,aAAE,uBAAuB,CAAC,GAAG,CAAC,eAAU,EACjE,eAAM,SAAS,EAAC,iCAAiC,YAAE,KAAK,GAAQ,IAC5D,CACP,CAAC;AACJ,CAAC;AAED,SAAS,cAAc,CAAC,QAAiB;IACvC,OAAO,QAAQ,CAAC,CAAC,CAAC,CAChB,KAAC,GAAG,IACF,SAAS,EAAE,oEAAoE,EAC/E,KAAK,EAAC,UAAU,EAChB,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,GACX,CACH,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { UniBlockProps } from '../../types';
|
|
2
|
-
export declare const LikeControl:
|
|
2
|
+
export declare const LikeControl: import("@redneckz/uni-jsx").UNIComponent<UniBlockProps, any, any>;
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
+
import { useLikeService } from '../../hooks/useLikeService.js';
|
|
4
|
+
import { defaultHandlerDecorator } from '../../hooks/useLink.js';
|
|
3
5
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
|
|
4
6
|
import { LikeButton } from '../../ui-kit/Button/LikeButton.js';
|
|
5
7
|
export const LikeControl = JSX(({ className, context, ...rest }) => {
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
+
const { useRouter, handlerDecorator = defaultHandlerDecorator } = context;
|
|
9
|
+
const router = useRouter();
|
|
10
|
+
const likeService = useLikeService(router.pathname);
|
|
11
|
+
return (_jsxs(BlockWrapper, { tag: "div", context: context, className: `border-main border-2 border-solid bg-white flex w-[125px] items-center justify-center gap-3 p-2 font-sans ${className || ''}`, ...rest, children: [_jsx(LikeButton, { onClick: handlerDecorator(likeService.like), ariaLabel: "\u041F\u043E\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u043E\u0442\u043C\u0435\u0442\u043A\u0443 \u00AB\u043B\u0430\u0439\u043A\u00BB" }), _jsx(LikeButton, { onClick: handlerDecorator(likeService.dislike), className: "rotate-180", ariaLabel: "\u041F\u043E\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u043E\u0442\u043C\u0435\u0442\u043A\u0443 \u00AB\u0434\u0438\u0437\u043B\u0430\u0439\u043A\u00BB" }), _jsx("span", { className: "select-none", children: likeService.likeCount })] }));
|
|
8
12
|
});
|
|
9
13
|
//# sourceMappingURL=LikeControl.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LikeControl.js","sourceRoot":"","sources":["../../../src/components/LikeControl/LikeControl.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"LikeControl.js","sourceRoot":"","sources":["../../../src/components/LikeControl/LikeControl.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAE9D,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAE5D,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAAgB,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IAChF,MAAM,EAAE,SAAS,EAAE,gBAAgB,GAAG,uBAAuB,EAAE,GAAG,OAAO,CAAC;IAE1E,MAAM,MAAM,GAAG,SAAS,EAAE,CAAC;IAC3B,MAAM,WAAW,GAAG,cAAc,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;IAEpD,OAAO,CACL,MAAC,YAAY,IACX,GAAG,EAAC,KAAK,EACT,OAAO,EAAE,OAAO,EAChB,SAAS,EAAE,6GACT,SAAS,IAAI,EACf,EAAE,KACE,IAAI,aAER,KAAC,UAAU,IACT,OAAO,EAAE,gBAAgB,CAAC,WAAW,CAAC,IAAI,CAAC,EAC3C,SAAS,EAAC,wIAA0B,GACpC,EACF,KAAC,UAAU,IACT,OAAO,EAAE,gBAAgB,CAAC,WAAW,CAAC,OAAO,CAAC,EAC9C,SAAS,EAAC,YAAY,EACtB,SAAS,EAAC,0JAA6B,GACvC,EACF,eAAM,SAAS,EAAC,aAAa,YAAE,WAAW,CAAC,SAAS,GAAQ,IAC/C,CAChB,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -2,4 +2,4 @@ import type { UniBlockProps } from '../../types';
|
|
|
2
2
|
import type { LinkDocsContent } from './LinkDocsContent';
|
|
3
3
|
export interface LinkDocsProps extends LinkDocsContent, UniBlockProps {
|
|
4
4
|
}
|
|
5
|
-
export declare const LinkDocs:
|
|
5
|
+
export declare const LinkDocs: import("@redneckz/uni-jsx").UNIComponent<LinkDocsProps, any, any>;
|
|
@@ -3,4 +3,4 @@ import type { ContentPageContext } from '../ContentPage/ContentPageContext';
|
|
|
3
3
|
export interface LinkDocsHorizontalListProps extends LinkDocsVerticalListProps {
|
|
4
4
|
context: ContentPageContext;
|
|
5
5
|
}
|
|
6
|
-
export declare const LinkDocsHorizontalList:
|
|
6
|
+
export declare const LinkDocsHorizontalList: import("@redneckz/uni-jsx").UNIComponent<LinkDocsHorizontalListProps, any, any>;
|
|
@@ -6,4 +6,4 @@ export interface LinkDocsListProps {
|
|
|
6
6
|
columnsMode?: LinkColumnsMode;
|
|
7
7
|
icon?: Picture;
|
|
8
8
|
}
|
|
9
|
-
export declare const LinkDocsList:
|
|
9
|
+
export declare const LinkDocsList: import("@redneckz/uni-jsx").UNIComponent<LinkDocsListProps, any, any>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { LinkDocsListItemProps } from './LinkDocsListItemBase';
|
|
2
|
-
export declare const LinkDocsListItem:
|
|
2
|
+
export declare const LinkDocsListItem: import("@redneckz/uni-jsx").UNIComponent<LinkDocsListItemProps, any, any>;
|
|
@@ -10,4 +10,4 @@ export interface LinkDocsListItemBaseProps extends LinkDocsListItemProps {
|
|
|
10
10
|
textClassName?: string;
|
|
11
11
|
suffixClassName?: string;
|
|
12
12
|
}
|
|
13
|
-
export declare const LinkDocsListItemBase:
|
|
13
|
+
export declare const LinkDocsListItemBase: import("@redneckz/uni-jsx").UNIComponent<LinkDocsListItemBaseProps, any, any>;
|
|
@@ -5,4 +5,4 @@ export interface LinkDocsVerticalListProps {
|
|
|
5
5
|
documents?: LinkDocsItem[];
|
|
6
6
|
icon?: Picture;
|
|
7
7
|
}
|
|
8
|
-
export declare const LinkDocsVerticalList:
|
|
8
|
+
export declare const LinkDocsVerticalList: import("@redneckz/uni-jsx").UNIComponent<LinkDocsVerticalListProps, any, any>;
|
|
@@ -2,4 +2,4 @@ import type { UniBlockProps } from '../../types';
|
|
|
2
2
|
import type { LinkListContent } from './LinkListContent';
|
|
3
3
|
export interface LinkListProps extends LinkListContent, UniBlockProps {
|
|
4
4
|
}
|
|
5
|
-
export declare const LinkList:
|
|
5
|
+
export declare const LinkList: import("@redneckz/uni-jsx").UNIComponent<LinkListProps, any, any>;
|
|
@@ -2,4 +2,4 @@ import type { UniBlockProps } from '../../types';
|
|
|
2
2
|
import type { MiniGalleryContent } from './MiniGalleryContent';
|
|
3
3
|
export interface MiniGalleryProps extends MiniGalleryContent, UniBlockProps {
|
|
4
4
|
}
|
|
5
|
-
export declare const MiniGallery:
|
|
5
|
+
export declare const MiniGallery: import("@redneckz/uni-jsx").UNIComponent<MiniGalleryProps, any, any>;
|
|
@@ -2,4 +2,4 @@ import type { MobileAppTileContent } from './MobileAppTileContent';
|
|
|
2
2
|
import type { UniBlockProps } from '../../types';
|
|
3
3
|
export interface MobileAppTileProps extends MobileAppTileContent, UniBlockProps {
|
|
4
4
|
}
|
|
5
|
-
export declare const MobileAppTile:
|
|
5
|
+
export declare const MobileAppTile: import("@redneckz/uni-jsx").UNIComponent<MobileAppTileProps, any, any>;
|
|
@@ -2,4 +2,4 @@ import type { UniBlockProps } from '../../types';
|
|
|
2
2
|
import { NavigationContent } from './NavigationContent';
|
|
3
3
|
export interface NavigationProps extends NavigationContent, UniBlockProps {
|
|
4
4
|
}
|
|
5
|
-
export declare const Navigation:
|
|
5
|
+
export declare const Navigation: import("@redneckz/uni-jsx").UNIComponent<NavigationProps, any, any>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { ButtonProps } from '../../ui-kit/Button/ButtonProps';
|
|
2
|
-
export declare const NavigationItem:
|
|
2
|
+
export declare const NavigationItem: import("@redneckz/uni-jsx").UNIComponent<ButtonProps & {
|
|
3
3
|
isActive: boolean;
|
|
4
|
-
}, any
|
|
4
|
+
}, any, any>;
|
|
@@ -4,4 +4,4 @@ export interface NavigatorTabItemProps extends LinkProps {
|
|
|
4
4
|
className?: string;
|
|
5
5
|
onClick?: () => void;
|
|
6
6
|
}
|
|
7
|
-
export declare const NavigatorTabItem:
|
|
7
|
+
export declare const NavigatorTabItem: import("@redneckz/uni-jsx").UNIComponent<NavigatorTabItemProps, any, any>;
|
|
@@ -2,4 +2,4 @@ import type { UniBlockProps } from '../../types';
|
|
|
2
2
|
import type { NavigatorTabsContent } from './NavigatorTabsContent';
|
|
3
3
|
export interface TabsBlockProps extends UniBlockProps, NavigatorTabsContent {
|
|
4
4
|
}
|
|
5
|
-
export declare const NavigatorTabs:
|
|
5
|
+
export declare const NavigatorTabs: import("@redneckz/uni-jsx").UNIComponent<TabsBlockProps, any, any>;
|
|
@@ -2,4 +2,4 @@ import type { UniBlockProps } from '../../types';
|
|
|
2
2
|
import type { OtherProductsContent } from './OtherProductsContent';
|
|
3
3
|
export interface OtherProductsProps extends OtherProductsContent, UniBlockProps {
|
|
4
4
|
}
|
|
5
|
-
export declare const OtherProducts:
|
|
5
|
+
export declare const OtherProducts: import("@redneckz/uni-jsx").UNIComponent<OtherProductsProps, any, any>;
|
|
@@ -3,4 +3,4 @@ import type { BlockItemCommonProps } from './OtherProductsContent';
|
|
|
3
3
|
export interface BlockItemProps extends BlockItemCommonProps, UniBlockProps {
|
|
4
4
|
dataTheme?: ColorPalette;
|
|
5
5
|
}
|
|
6
|
-
export declare const OtherProductsItem:
|
|
6
|
+
export declare const OtherProductsItem: import("@redneckz/uni-jsx").UNIComponent<BlockItemProps, any, any>;
|
|
@@ -2,4 +2,4 @@ import type { UniBlockProps } from '../../types';
|
|
|
2
2
|
import type { PictureTextContent } from './PictureTextContent';
|
|
3
3
|
export interface PictureTextProps extends PictureTextContent, UniBlockProps {
|
|
4
4
|
}
|
|
5
|
-
export declare const PictureText:
|
|
5
|
+
export declare const PictureText: import("@redneckz/uni-jsx").UNIComponent<PictureTextProps, any, any>;
|
|
@@ -3,4 +3,4 @@ import type { UniBlockProps } from '../../types';
|
|
|
3
3
|
export interface PlaceholderProps extends PlaceholderContent, UniBlockProps {
|
|
4
4
|
className?: string;
|
|
5
5
|
}
|
|
6
|
-
export declare const Placeholder:
|
|
6
|
+
export declare const Placeholder: import("@redneckz/uni-jsx").UNIComponent<PlaceholderProps, any, any>;
|
|
@@ -2,4 +2,4 @@ import type { UniBlockProps } from '../../types';
|
|
|
2
2
|
import type { ProductBlockContent } from './ProductBlockContent';
|
|
3
3
|
export interface ProductBlockProps extends ProductBlockContent, UniBlockProps {
|
|
4
4
|
}
|
|
5
|
-
export declare const ProductBlock:
|
|
5
|
+
export declare const ProductBlock: import("@redneckz/uni-jsx").UNIComponent<ProductBlockProps, any, any>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { UniBlockProps } from '../../types';
|
|
2
2
|
import type { ProductBlockInnerContent } from './ProductBlockContent';
|
|
3
3
|
export declare type ProductBlockInnerProps = ProductBlockInnerContent & UniBlockProps;
|
|
4
|
-
export declare const ProductBlockInner:
|
|
4
|
+
export declare const ProductBlockInner: import("@redneckz/uni-jsx").UNIComponent<ProductBlockInnerProps, any, any>;
|
|
@@ -2,4 +2,4 @@ import type { UniBlockProps } from '../../types';
|
|
|
2
2
|
import type { ProductGalleryContent } from './ProductGalleryContent';
|
|
3
3
|
export interface ProductGalleryProps extends ProductGalleryContent, UniBlockProps {
|
|
4
4
|
}
|
|
5
|
-
export declare const ProductGallery:
|
|
5
|
+
export declare const ProductGallery: import("@redneckz/uni-jsx").UNIComponent<ProductGalleryProps, any, any>;
|
|
@@ -5,4 +5,4 @@ export interface ProductGalleryBlockProps extends UniBlockProps {
|
|
|
5
5
|
headlineVersion?: HeadlineProps;
|
|
6
6
|
block?: ProductBlockInnerContent;
|
|
7
7
|
}
|
|
8
|
-
export declare const ProductGalleryBlock:
|
|
8
|
+
export declare const ProductGalleryBlock: import("@redneckz/uni-jsx").UNIComponent<ProductGalleryBlockProps, any, any>;
|
|
@@ -2,4 +2,4 @@ import type { UniBlockProps } from '../../types';
|
|
|
2
2
|
import type { ProductTileContent } from './ProductTileContent';
|
|
3
3
|
export interface ProductTileProps extends ProductTileContent, UniBlockProps {
|
|
4
4
|
}
|
|
5
|
-
export declare const ProductTile:
|
|
5
|
+
export declare const ProductTile: import("@redneckz/uni-jsx").UNIComponent<ProductTileProps, any, any>;
|
|
@@ -11,7 +11,7 @@ const productTileStyleMap = {
|
|
|
11
11
|
secondary: 'bg-primary-main text-white',
|
|
12
12
|
};
|
|
13
13
|
export const ProductTile = JSX(({ context, className = '', title, headlineVersion = 'S', description, additionalDescription, benefits, buttons, image, version = 'primary', ...rest }) => {
|
|
14
|
-
return (_jsxs(BlockWrapper, { context: context, className: `bg-white overflow-hidden text-primary-text font-sans p-9 box-border min-h-[364px] relative justify-between grid ${className} ${productTileStyleMap[version]} ${getTileRightPadding(className)} ${getTileMinHeight(className)} `, ...rest, children: [_jsxs("div", { className: "z-[1]", children: [_jsx(Headline, { context: context, className: "!p-0", title: title, description: description, headlineVersion: headlineVersion, bgColorHeadline: version, align: "left" }), renderBenefits(benefits || [], version), additionalDescription
|
|
14
|
+
return (_jsxs(BlockWrapper, { context: context, className: `bg-white overflow-hidden text-primary-text font-sans p-9 box-border min-h-[364px] relative justify-between grid ${className} ${productTileStyleMap[version]} ${getTileRightPadding(className)} ${getTileMinHeight(className)} `, ...rest, children: [_jsxs("div", { className: "z-[1]", children: [_jsx(Headline, { context: context, className: "!p-0", as: "h2", title: title, description: description, headlineVersion: headlineVersion, bgColorHeadline: version, align: "left" }), renderBenefits(benefits || [], version), additionalDescription
|
|
15
15
|
? renderAdditionalDescription(additionalDescription, version)
|
|
16
16
|
: null] }), buttons?.length ? (_jsx(ButtonSection, { context: context, buttons: buttons, className: "flex self-end mt-5 gap-4 z-[1] text-l" })) : null, image?.src ? _jsx(Img, { className: "absolute right-0 bottom-0", image: image }) : null] }));
|
|
17
17
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProductTile.js","sourceRoot":"","sources":["../../../src/components/ProductTile/ProductTile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAClE,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;
|
|
1
|
+
{"version":3,"file":"ProductTile.js","sourceRoot":"","sources":["../../../src/components/ProductTile/ProductTile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAClE,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAKhD,MAAM,mBAAmB,GAAiC;IACxD,OAAO,EAAE,4BAA4B;IACrC,SAAS,EAAE,4BAA4B;CACxC,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAC5B,CAAC,EACC,OAAO,EACP,SAAS,GAAG,EAAE,EACd,KAAK,EACL,eAAe,GAAG,GAAG,EACrB,WAAW,EACX,qBAAqB,EACrB,QAAQ,EACR,OAAO,EACP,KAAK,EACL,OAAO,GAAG,SAAS,EACnB,GAAG,IAAI,EACR,EAAE,EAAE;IACH,OAAO,CACL,MAAC,YAAY,IACX,OAAO,EAAE,OAAO,EACh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AG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,wBAAwB,CAAC,CAAC,EAAE,CAAC,EAAE,OAAO,CAAC,CAAC,GAC5D,CACP,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC;AACJ,CAAC;AAED,SAAS,kBAAkB,CAAC,OAAoB,EAAE,CAAS;IACzD,OAAO,CACL,cAAqB,SAAS,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,EAAE,YACnD,OAAO,CAAC,KAAK,IADN,MAAM,CAAC,CAAC,CAAC,CAEb,CACP,CAAC;AACJ,CAAC;AAED,SAAS,wBAAwB,CAAC,OAAoB,EAAE,CAAS,EAAE,OAAO,GAAG,SAAS;IACpF,MAAM,aAAa,GAAiC;QAClD,OAAO,EAAE,qBAAqB;QAC9B,SAAS,EAAE,YAAY;KACxB,CAAC;IAEF,OAAO,CACL,cAAqB,SAAS,EAAE,gBAAgB,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,IAAI,aAAa,CAAC,OAAO,CAAC,EAAE,YACxF,OAAO,CAAC,WAAW,IADZ,MAAM,CAAC,CAAC,CAAC,CAEb,CACP,CAAC;AACJ,CAAC;AAED,SAAS,2BAA2B,CAAC,qBAA6B,EAAE,OAAO,GAAG,SAAS;IACrF,MAAM,YAAY,GAAiC;QACjD,OAAO,EAAE,qBAAqB;QAC9B,SAAS,EAAE,YAAY;KACxB,CAAC;IAEF,OAAO,CACL,cAAK,SAAS,EAAE,uBAAuB,YAAY,CAAC,OAAO,CAAC,EAAE,YAAG,qBAAqB,GAAO,CAC9F,CAAC;AACJ,CAAC"}
|
|
@@ -2,4 +2,4 @@ import type { UniBlockProps } from '../../types';
|
|
|
2
2
|
import type { PromoTileContent } from './PromoTileContent';
|
|
3
3
|
export interface PromoTileProps extends PromoTileContent, UniBlockProps {
|
|
4
4
|
}
|
|
5
|
-
export declare const PromoTile:
|
|
5
|
+
export declare const PromoTile: import("@redneckz/uni-jsx").UNIComponent<PromoTileProps, any, any>;
|
|
@@ -12,7 +12,7 @@ const promoTileStyleMap = {
|
|
|
12
12
|
secondary: 'bg-primary-main text-white',
|
|
13
13
|
};
|
|
14
14
|
export const PromoTile = JSX(({ className = '', context, title = 'Акции и спецпредложения', date, description, buttons = [], version = 'primary', ...rest }) => {
|
|
15
|
-
return (_jsx(BlockWrapper, { context: context, className: `bg-white text-primary-text font-sans p-9 box-border ${className} ${promoTileStyleMap[version]} ${getTileRightPadding(className)} ${getTileMinHeight(className)} `, ...rest, children: _jsx(BaseTile, { context: context, title: title ? (_jsx("div", { children: _jsx(Headline, { context: context, title: title, className: `!p-0 max-w-[600px]`, headlineVersion: getTileHeadingType(className), bgColorHeadline: version, align: "left" }) })) : null, buttons: buttons?.length ? (_jsx(ButtonSection, { context: context, buttons: buttons, className: "flex mt-9 gap-3" })) : null, children: _jsxs("div", { className: "mt-1.5", children: [date ? _jsx("div", { className: "text-s mb-2", children: formatDate(date) }) : null, _jsx("div", { className: "text-l", children: description })] }) }) }));
|
|
15
|
+
return (_jsx(BlockWrapper, { context: context, className: `bg-white text-primary-text font-sans p-9 box-border ${className} ${promoTileStyleMap[version]} ${getTileRightPadding(className)} ${getTileMinHeight(className)} `, ...rest, children: _jsx(BaseTile, { context: context, title: title ? (_jsx("div", { children: _jsx(Headline, { context: context, title: title, className: `!p-0 max-w-[600px]`, headlineVersion: getTileHeadingType(className), bgColorHeadline: version, align: "left", as: "h2" }) })) : null, buttons: buttons?.length ? (_jsx(ButtonSection, { context: context, buttons: buttons, className: "flex mt-9 gap-3" })) : null, children: _jsxs("div", { className: "mt-1.5", children: [date ? _jsx("div", { className: "text-s mb-2", children: formatDate(date) }) : null, _jsx("div", { className: "text-l", children: description })] }) }) }));
|
|
16
16
|
});
|
|
17
17
|
function formatDate(date) {
|
|
18
18
|
const dateObj = new Date(date);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PromoTile.js","sourceRoot":"","sources":["../../../src/components/PromoTile/PromoTile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"PromoTile.js","sourceRoot":"","sources":["../../../src/components/PromoTile/PromoTile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAClE,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAKhD,MAAM,iBAAiB,GAAiC;IACtD,OAAO,EAAE,4BAA4B;IACrC,SAAS,EAAE,4BAA4B;CACxC,CAAC;AAEF,MAAM,CAAC,MAAM,SAAS,GAAG,GAAG,CAC1B,CAAC,EACC,SAAS,GAAG,EAAE,EACd,OAAO,EACP,KAAK,GAAG,yBAAyB,EACjC,IAAI,EACJ,WAAW,EACX,OAAO,GAAG,EAAE,EACZ,OAAO,GAAG,SAAS,EACnB,GAAG,IAAI,EACR,EAAE,EAAE;IACH,OAAO,CACL,KAAC,YAAY,IACX,OAAO,EAAE,OAAO,EAChB,SAAS,EAAE,uDAAuD,SAAS,IACzE,iBAAiB,CAAC,OAAO,CAC3B,IAAI,mBAAmB,CAAC,SAAS,CAAC,IAAI,gBAAgB,CAAC,SAAS,CAAC,GAAG,KAChE,IAAI,YAER,KAAC,QAAQ,IACP,OAAO,EAAE,OAAO,EAChB,KAAK,EACH,KAAK,CAAC,CAAC,CAAC,CACN,wBACE,KAAC,QAAQ,IACP,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,KAAK,EACZ,SAAS,EAAE,oBAAoB,EAC/B,eAAe,EAAE,kBAAkB,CAAC,SAAS,CAAC,EAC9C,eAAe,EAAE,OAAO,EACxB,KAAK,EAAC,MAAM,EACZ,EAAE,EAAC,IAAI,GACP,GACE,CACP,CAAC,CAAC,CAAC,IAAI,EAEV,OAAO,EACL,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC,CAChB,KAAC,aAAa,IAAC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,SAAS,EAAC,iBAAiB,GAAG,CAClF,CAAC,CAAC,CAAC,IAAI,YAGV,eAAK,SAAS,EAAC,QAAQ,aACpB,IAAI,CAAC,CAAC,CAAC,cAAK,SAAS,EAAC,aAAa,YAAE,UAAU,CAAC,IAAI,CAAC,GAAO,CAAC,CAAC,CAAC,IAAI,EACpE,cAAK,SAAS,EAAC,QAAQ,YAAE,WAAW,GAAO,IACvC,GACG,GACE,CAChB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,SAAS,UAAU,CAAC,IAAY;IAC9B,MAAM,OAAO,GAAG,IAAI,IAAI,CAAC,IAAI,CAAC,CAAC;IAC/B,MAAM,UAAU,GAA+B;QAC7C,GAAG,EAAE,SAAS;QACd,KAAK,EAAE,MAAM;QACb,IAAI,EAAE,SAAS;KAChB,CAAC;IAEF,OAAO,OAAO,CAAC,cAAc,CAAC,OAAO,EAAE,UAAU,CAAC,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;AACvE,CAAC"}
|
|
@@ -2,4 +2,4 @@ import type { UniBlockProps } from '../../types';
|
|
|
2
2
|
import type { RecommendationContent } from './RecommendationContent';
|
|
3
3
|
export interface RecommendationProps extends RecommendationContent, UniBlockProps {
|
|
4
4
|
}
|
|
5
|
-
export declare const Recommendation:
|
|
5
|
+
export declare const Recommendation: import("@redneckz/uni-jsx").UNIComponent<RecommendationProps, any, any>;
|