@redneckz/wildless-cms-uni-blocks 0.3.96 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundle/bundle.umd.js +3032 -2922
- package/bundle/bundle.umd.min.js +1 -1
- package/dist/components/Accordion/Accordion.d.ts +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.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/PromoTile/PromoTile.d.ts +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/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 +29 -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/common.css +1 -1
- package/lib/components/Accordion/Accordion.d.ts +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.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/PromoTile/PromoTile.d.ts +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/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 +26 -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 +1899 -1794
- package/mobile/bundle/bundle.umd.min.js +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/PromoTile/PromoTile.d.ts +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/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 +29 -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/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/PromoTile/PromoTile.d.ts +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/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 +26 -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/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/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/__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 +32 -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/common.css +25 -7
- 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/ProductGallery/ProductGallery.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/__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 +32 -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
|
@@ -3,5 +3,5 @@ interface MediaButtonProps {
|
|
|
3
3
|
href?: string;
|
|
4
4
|
version?: BlockVersion;
|
|
5
5
|
}
|
|
6
|
-
export declare const MediaButton:
|
|
6
|
+
export declare const MediaButton: import("@redneckz/uni-jsx").UNIComponent<MediaButtonProps, any, any>;
|
|
7
7
|
export {};
|
|
@@ -3,4 +3,4 @@ import type { UniBlockProps } from '../../types';
|
|
|
3
3
|
export interface SitemapProps extends UniBlockProps {
|
|
4
4
|
items?: TopMenuItem[];
|
|
5
5
|
}
|
|
6
|
-
export declare const Sitemap:
|
|
6
|
+
export declare const Sitemap: import("@redneckz/uni-jsx").UNIComponent<SitemapProps, any, any>;
|
|
@@ -6,13 +6,13 @@ const useLink_1 = require("../../hooks/useLink");
|
|
|
6
6
|
const mergeTopItems_1 = require("../../services/sitemap/mergeTopItems");
|
|
7
7
|
const useSitemap_1 = require("../../services/sitemap/useSitemap");
|
|
8
8
|
exports.Sitemap = (0, uni_jsx_1.JSX)(({ className = '', items, context }) => {
|
|
9
|
-
const sitemap = (0, useSitemap_1.useSitemap)(
|
|
9
|
+
const sitemap = (0, useSitemap_1.useSitemap)();
|
|
10
10
|
const mergedItems = (0, mergeTopItems_1.mergeTopItems)(sitemap.topItems, items);
|
|
11
11
|
const linkParams = {
|
|
12
12
|
router: context.useRouter(),
|
|
13
13
|
handlerDecorator: context.handlerDecorator,
|
|
14
14
|
};
|
|
15
|
-
return ((0, jsx_runtime_1.jsx)("div", { className: `flex items-start justify-between gap-[54px] xl:gap-5 ${className}`, children: mergedItems?.map((_, i) => renderColumn(_, i, linkParams)) }));
|
|
15
|
+
return ((0, jsx_runtime_1.jsx)("div", { className: `flex flex-grow items-start justify-between gap-[54px] xl:gap-5 ${className}`, children: mergedItems?.map((_, i) => renderColumn(_, i, linkParams)) }));
|
|
16
16
|
});
|
|
17
17
|
const renderColumn = (c, index, { router, handlerDecorator }) => {
|
|
18
18
|
const { text, href, items, target } = c;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Sitemap.js","sourceRoot":"","sources":["../../../src/components/Footer/Sitemap.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,iDAA8C;AAE9C,wEAAqE;AAErE,kEAA+D;AAOlD,QAAA,OAAO,GAAG,IAAA,aAAG,EAAe,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,EAAE;IAC9E,MAAM,OAAO,GAAG,IAAA,uBAAU,
|
|
1
|
+
{"version":3,"file":"Sitemap.js","sourceRoot":"","sources":["../../../src/components/Footer/Sitemap.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,iDAA8C;AAE9C,wEAAqE;AAErE,kEAA+D;AAOlD,QAAA,OAAO,GAAG,IAAA,aAAG,EAAe,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,EAAE;IAC9E,MAAM,OAAO,GAAG,IAAA,uBAAU,GAAE,CAAC;IAC7B,MAAM,WAAW,GAAG,IAAA,6BAAa,EAAC,OAAO,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAC;IAC3D,MAAM,UAAU,GAAG;QACjB,MAAM,EAAE,OAAO,CAAC,SAAS,EAAE;QAC3B,gBAAgB,EAAE,OAAO,CAAC,gBAAgB;K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|
|
|
5
5
|
media?: Omit<LinkProps, 'text'>[];
|
|
6
6
|
version?: BlockVersion;
|
|
7
7
|
}
|
|
8
|
-
export declare const SocialMedia:
|
|
8
|
+
export declare const SocialMedia: import("@redneckz/uni-jsx").UNIComponent<SocialMediaProps, any, any>;
|
|
@@ -5,4 +5,4 @@ export interface SocialMediaProps extends UniBlockProps {
|
|
|
5
5
|
media?: Omit<LinkProps, 'text'>[];
|
|
6
6
|
version?: BlockVersion;
|
|
7
7
|
}
|
|
8
|
-
export declare const SocialMedia:
|
|
8
|
+
export declare const SocialMedia: import("@redneckz/uni-jsx").UNIComponent<SocialMediaProps, any, any>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { FooterLink } from './FooterLink';
|
|
2
|
-
export declare const TextInformation:
|
|
2
|
+
export declare const TextInformation: import("@redneckz/uni-jsx").UNIComponent<FooterLink, any, any>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { FooterLink } from './FooterLink';
|
|
2
|
-
export declare const TextInformation:
|
|
2
|
+
export declare const TextInformation: import("@redneckz/uni-jsx").UNIComponent<FooterLink, any, any>;
|
|
@@ -4,5 +4,5 @@ interface TextInformationLinkProps extends LinkProps {
|
|
|
4
4
|
index: number;
|
|
5
5
|
onClick: () => void;
|
|
6
6
|
}
|
|
7
|
-
export declare const TextInformationLink:
|
|
7
|
+
export declare const TextInformationLink: import("@redneckz/uni-jsx").UNIComponent<Partial<TextInformationLinkProps>, any, any>;
|
|
8
8
|
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { GalleryProps } from './GalleryProps';
|
|
2
|
-
export declare const Gallery:
|
|
2
|
+
export declare const Gallery: import("@redneckz/uni-jsx").UNIComponent<GalleryProps, any, any>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { GalleryProps } from './GalleryProps';
|
|
2
|
-
export declare const Gallery:
|
|
2
|
+
export declare const Gallery: import("@redneckz/uni-jsx").UNIComponent<GalleryProps, any, any>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { GalleryCard } from './GalleryContent';
|
|
2
|
-
export declare const GalleryCardInner:
|
|
2
|
+
export declare const GalleryCardInner: import("@redneckz/uni-jsx").UNIComponent<GalleryCard, any, any>;
|
|
@@ -10,4 +10,4 @@ export interface GalleryCardData {
|
|
|
10
10
|
version: GalleryVersion;
|
|
11
11
|
context: ContentPageContext;
|
|
12
12
|
}
|
|
13
|
-
export declare const GalleryContainer:
|
|
13
|
+
export declare const GalleryContainer: import("@redneckz/uni-jsx").UNIComponent<GalleryContainerProps, any, any>;
|
|
@@ -4,4 +4,4 @@ import type { GalleryContent } from './GalleryContent';
|
|
|
4
4
|
export interface GalleryInnerProps extends GalleryContent, UniBlockProps {
|
|
5
5
|
version?: GalleryVersion;
|
|
6
6
|
}
|
|
7
|
-
export declare const GalleryInner:
|
|
7
|
+
export declare const GalleryInner: import("@redneckz/uni-jsx").UNIComponent<GalleryInnerProps, any, any>;
|
|
@@ -2,12 +2,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
2
2
|
exports.GalleryInner = void 0;
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
+
const hooks_1 = require("@redneckz/uni-jsx/lib/hooks");
|
|
5
6
|
const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
|
|
6
7
|
const renderArrows_1 = require("../../ui-kit/Button/renderArrows");
|
|
7
8
|
const constants_1 = require("./constants");
|
|
8
9
|
const GalleryContainer_1 = require("./GalleryContainer");
|
|
9
10
|
exports.GalleryInner = (0, uni_jsx_1.JSX)(({ context, cards = [], className = '', version = 'normal', ...rest }) => {
|
|
10
|
-
const [activeCardIndex, setActiveCardIndex] =
|
|
11
|
+
const [activeCardIndex, setActiveCardIndex] = (0, hooks_1.useState)(0);
|
|
11
12
|
const handleNextClick = () => setActiveCardIndex(activeCardIndex + 1);
|
|
12
13
|
const handlePrevClick = () => setActiveCardIndex(activeCardIndex - 1);
|
|
13
14
|
const isGalleryScrollAvailable = cards?.length > constants_1.galleryLengthForScrollMap[version];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GalleryInner.js","sourceRoot":"","sources":["../../../src/components/Gallery/GalleryInner.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;
|
|
1
|
+
{"version":3,"file":"GalleryInner.js","sourceRoot":"","sources":["../../../src/components/Gallery/GalleryInner.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAuD;AAGvD,4DAAyD;AACzD,mEAAgE;AAChE,2CAAwD;AACxD,yDAAsD;AAOzC,QAAA,YAAY,GAAG,IAAA,aAAG,EAC7B,CAAC,EAAE,OAAO,EAAE,KAAK,GAAG,EAAE,EAAE,SAAS,GAAG,EAAE,EAAE,OAAO,GAAG,QAAQ,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IACvE,MAAM,CAAC,eAAe,EAAE,kBAAkB,CAAC,GAAG,IAAA,gBAAQ,EAAC,CAAC,CAAC,CAAC;IAE1D,MAAM,eAAe,GAAG,GAAG,EAAE,CAAC,kBAAkB,CAAC,eAAe,GAAG,CAAC,CAAC,CAAC;IACtE,MAAM,eAAe,GAAG,GAAG,EAAE,CAAC,kBAAkB,CAAC,eAAe,GAAG,CAAC,CAAC,CAAC;IAEtE,MAAM,wBAAwB,GAAG,KAAK,EAAE,MAAM,GAAG,qCAAyB,CAAC,OAAO,CAAC,CAAC;IAEpF,MAAM,cAAc,GAClB,wBAAwB;QACxB,KAAK,EAAE,MAAM,GAAG,eAAe,GAAG,qCAAyB,CAAC,OAAO,CAAC,CAAC;IAEvE,MAAM,cAAc,GAAG,wBAAwB,IAAI,eAAe,GAAG,CAAC,CAAC;IAEvE,OAAO,CACL,wBAAC,2BAAY,IACX,OAAO,EAAE,OAAO,EAChB,SAAS,EAAE,0EAA0E,SAAS,EAAE,KAC5F,IAAI,aAER,uBAAC,mCAAgB,IACf,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,KAAK,EACZ,OAAO,EAAE,OAAO,EAChB,eAAe,EAAE,eAAe,KAC5B,IAAI,GACR,EACD,IAAA,2BAAY,EAAC;gBACZ,OAAO,EAAE,CAAC,eAAe,EAAE,eAAe,CAAC;gBAC3C,OAAO,EAAE,CAAC,cAAc,EAAE,cAAc,CAAC;gBACzC,QAAQ,EAAE,CAAC,QAAQ,EAAE,SAAS,CAAC;gBAC/B,SAAS,EAAE,SAAS;aACrB,CAAC,EACF,gCAAK,SAAS,EAAC,+DAA+D,GAAG,EACjF,gCAAK,SAAS,EAAC,8DAA8D,GAAG,IACnE,CAChB,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -2,4 +2,4 @@ import type { UniBlockProps } from '../../types';
|
|
|
2
2
|
import type { GracePeriodContent } from './GracePeriodContent';
|
|
3
3
|
export interface GracePeriodProps extends GracePeriodContent, UniBlockProps {
|
|
4
4
|
}
|
|
5
|
-
export declare const GracePeriod:
|
|
5
|
+
export declare const GracePeriod: import("@redneckz/uni-jsx").UNIComponent<GracePeriodProps, any, any>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const EmbeddableGroupBlocks: {
|
|
2
|
-
ProductBlock:
|
|
3
|
-
ProductTile:
|
|
2
|
+
ProductBlock: import("@redneckz/uni-jsx").UNIComponent<import("../ProductBlock/ProductBlock").ProductBlockProps, any, any>;
|
|
3
|
+
ProductTile: import("@redneckz/uni-jsx").UNIComponent<import("../ProductTile/ProductTile").ProductTileProps, any, any>;
|
|
4
4
|
};
|
|
@@ -6,4 +6,4 @@ export interface TabsItemProps extends GroupBlockTab {
|
|
|
6
6
|
export interface GroupBlockProps extends GroupBlockContent, UniBlockProps {
|
|
7
7
|
tabs?: TabsItemProps[];
|
|
8
8
|
}
|
|
9
|
-
export declare const GroupBlock:
|
|
9
|
+
export declare const GroupBlock: import("@redneckz/uni-jsx").UNIComponent<GroupBlockProps, any, any>;
|
|
@@ -2,12 +2,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
2
2
|
exports.GroupBlock = void 0;
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
+
const hooks_1 = require("@redneckz/uni-jsx/lib/hooks");
|
|
5
6
|
const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
|
|
6
7
|
const filterBlocksByTag_1 = require("./filterBlocksByTag");
|
|
7
8
|
const GroupBlocksItem_1 = require("./GroupBlocksItem");
|
|
8
9
|
const GroupBlockTabs_1 = require("./GroupBlockTabs");
|
|
9
10
|
exports.GroupBlock = (0, uni_jsx_1.JSX)(({ className = '', tabs, context, groupBlocks = [], isShowCounter, ...rest }) => {
|
|
10
|
-
const [currentTag, setCurrentTag] =
|
|
11
|
+
const [currentTag, setCurrentTag] = (0, hooks_1.useState)(tabs?.[0]?.tag);
|
|
11
12
|
const filteredBlocks = (0, filterBlocksByTag_1.filterBlocksByTag)(groupBlocks, currentTag);
|
|
12
13
|
const tabsNewMap = tabs?.map((tab) => {
|
|
13
14
|
const count = tab.tag
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GroupBlock.js","sourceRoot":"","sources":["../../../src/components/GroupBlock/GroupBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;
|
|
1
|
+
{"version":3,"file":"GroupBlock.js","sourceRoot":"","sources":["../../../src/components/GroupBlock/GroupBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAuD;AAEvD,4DAAyD;AACzD,2DAAwD;AAExD,uDAAoD;AACpD,qDAAkD;AAUrC,QAAA,UAAU,GAAG,IAAA,aAAG,EAC3B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,WAAW,GAAG,EAAE,EAAE,aAAa,EAAE,GAAG,IAAI,EAAE,EA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8
8
|
}
|
|
9
|
-
export declare const GroupBlockTabs:
|
|
9
|
+
export declare const GroupBlockTabs: import("@redneckz/uni-jsx").UNIComponent<GroupBlockTabsProps, any, any>;
|
|
@@ -5,5 +5,5 @@ import type { GroupBlockDef } from './BlocksTypeProps';
|
|
|
5
5
|
import { GroupBlockContent } from './GroupBlockContent';
|
|
6
6
|
export interface GroupBlocksProps extends GroupBlockContent, UniBlockProps {
|
|
7
7
|
}
|
|
8
|
-
export declare const GroupBlocksItem:
|
|
8
|
+
export declare const GroupBlocksItem: import("@redneckz/uni-jsx").UNIComponent<GroupBlocksProps, any, any>;
|
|
9
9
|
export declare const renderBlock: (context: ContentPageContext) => (block: GroupBlockDef, i: number) => JSX.Element | null;
|
|
@@ -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>;
|
|
@@ -17,13 +17,13 @@ const BORDER_COLORS = {
|
|
|
17
17
|
};
|
|
18
18
|
exports.Header = (0, uni_jsx_1.JSX)(({ className = '', defaultLocation = 'Москва', showSubMenu = true, bgColor = 'bg-white', context, topItems, logo, ...rest }) => {
|
|
19
19
|
const router = context.useRouter();
|
|
20
|
-
const sitemap = (0, useSitemap_1.useSitemap)(
|
|
20
|
+
const sitemap = (0, useSitemap_1.useSitemap)();
|
|
21
21
|
const { handlerDecorator } = context;
|
|
22
22
|
const mergedItems = (0, mergeTopItems_1.mergeTopItems)(sitemap.topItems, topItems);
|
|
23
23
|
const [firstPortal] = mergedItems;
|
|
24
24
|
// Если по слагу невозможно понять к какому подпорталу этот слаг относиться, то выбираем первый подпортал.
|
|
25
25
|
const activeTopItem = mergedItems.find((0, isTopItemActive_1.isTopItemActive)(router)) || firstPortal;
|
|
26
26
|
const topMenu = mergedItems.map((_, i) => ((0, jsx_runtime_1.jsx)(TopItem_1.TopItem, { active: _ === activeTopItem, ...(0, useLink_1.useLink)({ router, handlerDecorator }, _), "aria-label": _.text, bgColor: bgColor }, String(i))));
|
|
27
|
-
return ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { tag: "header", context: context, className: `pt-6 pb-5 px-20 ${bgColor} ${className}`, ...rest, children: (0, jsx_runtime_1.jsxs)("div", { className: "container", children: [(0, jsx_runtime_1.jsxs)("div", { className: "flex items-center", children: [(0, jsx_runtime_1.jsx)(Logo_1.Logo, { className: "mr-8", bgColor: bgColor, logo: logo }), topMenu, (0, jsx_runtime_1.jsx)(HeaderSecondaryMenu_1.HeaderSecondaryMenu, {
|
|
27
|
+
return ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { tag: "header", context: context, className: `pt-6 pb-5 px-20 ${bgColor} ${className}`, ...rest, children: (0, jsx_runtime_1.jsxs)("div", { className: "container", children: [(0, jsx_runtime_1.jsxs)("div", { className: "flex items-center", children: [(0, jsx_runtime_1.jsx)(Logo_1.Logo, { className: "mr-8", bgColor: bgColor, logo: logo }), topMenu, (0, jsx_runtime_1.jsx)(HeaderSecondaryMenu_1.HeaderSecondaryMenu, { className: "ml-auto", defaultLocation: defaultLocation, bgColor: bgColor })] }), (0, jsx_runtime_1.jsx)("div", { className: `mt-6 h-[1px] ${BORDER_COLORS[bgColor]}` }), showSubMenu && activeTopItem?.items?.length ? ((0, jsx_runtime_1.jsx)(HeaderSubMenu_1.HeaderSubMenu, { context: context, subItems: activeTopItem.items, bgColor: bgColor })) : null] }) }));
|
|
28
28
|
});
|
|
29
29
|
//# sourceMappingURL=Header.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Header.js","sourceRoot":"","sources":["../../../src/components/Header/Header.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,iDAA8C;AAE9C,4EAAyE;AACzE,wEAAqE;AACrE,kEAA+D;AAE/D,4DAAyD;AACzD,iDAA8C;AAC9C,0DAAuD;AAEvD,+DAA4D;AAC5D,mDAAgD;AAEhD,MAAM,aAAa,GAAmC;IACpD,UAAU,EAAE,iBAAiB;IAC7B,WAAW,EAAE,4BAA4B;CAC1C,CAAC;AAIW,QAAA,MAAM,GAAG,IAAA,aAAG,EACvB,CAAC,EACC,SAAS,GAAG,EAAE,EACd,eAAe,GAAG,QAAQ,EAC1B,WAAW,GAAG,IAAI,EAClB,OAAO,GAAG,UAAU,EACpB,OAAO,EACP,QAAQ,EACR,IAAI,EACJ,GAAG,IAAI,EACR,EAAE,EAAE;IACH,MAAM,MAAM,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC;IACnC,MAAM,OAAO,GAAG,IAAA,uBAAU,
|
|
1
|
+
{"version":3,"file":"Header.js","sourceRoot":"","sources":["../../../src/components/Header/Header.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,iDAA8C;AAE9C,4EAAyE;AACzE,wEAAqE;AACrE,kEAA+D;AAE/D,4DAAyD;AACzD,iDAA8C;AAC9C,0DAAuD;AAEvD,+DAA4D;AAC5D,mDAAgD;AAEhD,MAAM,aAAa,GAAmC;IACpD,UAAU,EAAE,iBAAiB;IAC7B,WAAW,EAAE,4BAA4B;CAC1C,CAAC;AAIW,QAAA,MAAM,GAAG,IAAA,aAAG,EACvB,CAAC,EACC,SAAS,GAAG,EAAE,EACd,eAAe,GAAG,QAAQ,EAC1B,WAAW,GAAG,IAAI,EAClB,OAAO,GAAG,UAAU,EACpB,OAAO,EACP,QAAQ,EACR,IAAI,EACJ,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O,CAAC,EAAE,GAAI,EAC3D,WAAW,IAAI,aAAa,EAAE,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CAC7C,uBAAC,6BAAa,IAAC,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,aAAa,CAAC,KAAK,EAAE,OAAO,EAAE,OAAO,GAAI,CACrF,CAAC,CAAC,CAAC,IAAI,IACJ,GACO,CAChB,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -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>;
|
|
@@ -2,6 +2,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
2
2
|
exports.Header = void 0;
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
+
const hooks_1 = require("@redneckz/uni-jsx/lib/hooks");
|
|
5
6
|
const useLink_1 = require("../../hooks/useLink");
|
|
6
7
|
const findActiveSubItem_1 = require("../../services/sitemap/findActiveSubItem");
|
|
7
8
|
const isTopItemActive_1 = require("../../services/sitemap/isTopItemActive");
|
|
@@ -14,14 +15,14 @@ const HeaderBurger_1 = require("./HeaderBurger");
|
|
|
14
15
|
const HeaderTop_1 = require("./HeaderTop");
|
|
15
16
|
exports.Header = (0, uni_jsx_1.JSX)(({ className = '', defaultLocation, bgColor = 'bg-white', context, topItems }) => {
|
|
16
17
|
const router = context.useRouter();
|
|
17
|
-
const sitemap = (0, useSitemap_1.useSitemap)(
|
|
18
|
+
const sitemap = (0, useSitemap_1.useSitemap)();
|
|
18
19
|
const dispositions = sitemap?.dispositions;
|
|
19
20
|
const { handlerDecorator } = context;
|
|
20
21
|
const mergedItems = (0, mergeTopItems_1.mergeTopItems)(sitemap.topItems, topItems);
|
|
21
22
|
const activeTopItem = mergedItems.find((0, isTopItemActive_1.isTopItemActive)(router));
|
|
22
23
|
const subItems = activeTopItem?.items;
|
|
23
24
|
const activeSubItem = (0, findActiveSubItem_1.findActiveSubItem)(router)(subItems);
|
|
24
|
-
const [burgerMenuShow, setBurgerMenuShow] =
|
|
25
|
+
const [burgerMenuShow, setBurgerMenuShow] = (0, hooks_1.useState)(false);
|
|
25
26
|
const toggleBurgerMenu = () => setBurgerMenuShow(!burgerMenuShow);
|
|
26
27
|
return ((0, jsx_runtime_1.jsxs)("header", { className: `${bgColor} ${className}`, children: [(0, jsx_runtime_1.jsxs)("div", { className: "container px-4 py-0 box-border", children: [(0, jsx_runtime_1.jsx)(HeaderTop_1.HeaderTop, { onClick: toggleBurgerMenu, bgColor: bgColor }), (0, jsx_runtime_1.jsx)("nav", { className: "flex items-center m-0 p-0 overflow-y-hidden w-full h-[50px]", children: (0, jsx_runtime_1.jsx)("div", { className: "flex no-scrollbar horizontal-list h-full items-center", children: subItems?.map((_, i) => renderSubItem({
|
|
27
28
|
...(0, useLink_1.useLink)({ router, handlerDecorator }, _),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Header.mobile.js","sourceRoot":"","sources":["../../../src/components/Header/Header.mobile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;
|
|
1
|
+
{"version":3,"file":"Header.mobile.js","sourceRoot":"","sources":["../../../src/components/Header/Header.mobile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAuD;AACvD,iDAA8C;AAC9C,gFAA6E;AAC7E,4EAAyE;AACzE,wEAAqE;AACrE,kEAA+D;AAE/D,mEAAgE;AAEhE,qEAAkE;AAClE,sDAAmD;AACnD,iDAA8C;AAE9C,2CAAwC;AAI3B,QAAA,MAAM,GAAG,IAAA,aAAG,EACvB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,e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;6BACR,EACD,CAAC,CACF,CACF,GACG,GACF,IACF,EACL,cAAc,CAAC,CAAC,CAAC,CAChB,uBAAC,2BAAY,IACX,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,gBAAgB,EACzB,aAAa,EAAE,YAAY,EAC3B,eAAe,EAAE,eAAe,YAEhC,uBAAC,qBAAS,IACR,OAAO,EAAE,OAAO,EAChB,cAAc,EAAE,IAAA,qCAAiB,EAAC,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,uBAAC,uBAAU,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>;
|
|
@@ -2,10 +2,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
2
2
|
exports.HeaderBurger = void 0;
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
+
const useGeolocation_1 = require("../../hooks/useGeolocation");
|
|
5
6
|
const Img_1 = require("../../ui-kit/Img/Img");
|
|
6
7
|
const SearchBar_1 = require("../../ui-kit/SearchBar/SearchBar");
|
|
7
8
|
exports.HeaderBurger = (0, uni_jsx_1.JSX)(({ context, burgerSubMenu, onClick, defaultLocation = '', children }) => {
|
|
8
|
-
const [city, getCity] =
|
|
9
|
+
const [city, getCity] = (0, useGeolocation_1.useGeolocation)(defaultLocation);
|
|
9
10
|
return ((0, jsx_runtime_1.jsxs)("div", { className: "absolute top-0 left-0 w-full h-full bg-white p-4 box-border z-20", children: [(0, jsx_runtime_1.jsx)("button", { className: "absolute top-4 right-4 border-none bg-transparent cursor-pointer", onClick: onClick, children: (0, jsx_runtime_1.jsx)(Img_1.Img, { image: "CloseIcon", width: "24", height: "24", asSVG: true }) }), (0, jsx_runtime_1.jsxs)("button", { onClick: getCity, className: "flex items-center text-s text-secondary-text p-0 mb-4 bg-transparent cursor-pointer", children: [(0, jsx_runtime_1.jsx)(Img_1.Img, { image: "GeolocationIcon", width: "20", height: "20", className: "text-primary-main box-border mr-2", asSVG: true }), city] }), children, (0, jsx_runtime_1.jsx)("div", { className: "mb-7", children: burgerSubMenu?.map(renderBurgerSubMenuItem) }), (0, jsx_runtime_1.jsx)(SearchBar_1.SearchBar, { context: context, className: "grow" })] }));
|
|
10
11
|
});
|
|
11
12
|
const renderBurgerSubMenuItem = (menu, i) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HeaderBurger.js","sourceRoot":"","sources":["../../../src/components/Header/HeaderBurger.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;
|
|
1
|
+
{"version":3,"file":"HeaderBurger.js","sourceRoot":"","sources":["../../../src/components/Header/HeaderBurger.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,+DAA4D;AAE5D,8CAA2C;AAC3C,gEAA6D;AAYhD,QAAA,YAAY,GAAG,IAAA,aAAG,EAC7B,CAAC,EAAE,OAAO,EAAE,aAAa,EAAE,OAAO,EAAE,eAAe,GAAG,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE;IACtE,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,IAAA,+BAAc,EAAC,eAAe,CAAC,CAAC;IAExD,OAAO,CACL,iCAAK,SAAS,EAAC,kEAAkE,aAC/E,mCACE,SAAS,EAAC,kEAAkE,EAC5E,OAAO,EAAE,OAAO,YAEhB,uBAAC,SAAG,IAAC,KAAK,EAAC,WAAW,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,KAAK,SAAG,GAC/C,EACT,oCACE,OAAO,EAAE,OAAO,EAChB,SAAS,EAAC,qFAAqF,aAE/F,uBAAC,SAAG,IACF,KAAK,EAAC,iBAAiB,EACvB,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,SAAS,EAAC,mCAAmC,EAC7C,KAAK,SACL,EACD,IAAI,IACE,EACR,QAAQ,EACT,gCAAK,SAAS,EAAC,MAAM,YAAE,aAAa,EAAE,GAAG,CAAC,uBAAuB,CAAC,GAAO,EACzE,uBAAC,qBAAS,IAAC,OAAO,EAAE,OAAO,EAAE,SAAS,EAAC,MAAM,GAAG,IAC5C,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,uBAAuB,GAAG,CAAC,IAAqB,EAAE,CAAS,EAAE,EAAE;IACnE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC;IAElC,OAAO,CACL,+BAA8B,IAAI,EAAE,IAAI,EAAE,SAAS,EAAC,0CAA0C,aAC3F,IAAI,CAAC,CAAC,CAAC,CACN,uBAAC,SAAG,IAAC,SAAS,EAAC,wBAAwB,EAAC,KAAK,EAAE,IAAI,EAAE,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,KAAK,SAAG,CACrF,CAAC,CAAC,CAAC,IAAI,EACR,iCAAM,SAAS,EAAC,oBAAoB,YAAE,IAAI,GAAQ,KAJ5C,iBAAiB,CAAC,EAAE,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 {};
|
|
@@ -2,6 +2,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
2
2
|
exports.HeaderSecondaryMenu = void 0;
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
+
const useGeolocation_1 = require("../../hooks/useGeolocation");
|
|
5
6
|
const Img_1 = require("../../ui-kit/Img/Img");
|
|
6
7
|
const TopItem_1 = require("../../ui-kit/TopItem/TopItem");
|
|
7
8
|
const HeaderSecondaryMenuButton_1 = require("./HeaderSecondaryMenuButton");
|
|
@@ -17,8 +18,8 @@ const LINKS_ICON_VERSION_MAP = {
|
|
|
17
18
|
'bg-white': 'black',
|
|
18
19
|
transparent: 'white',
|
|
19
20
|
};
|
|
20
|
-
exports.HeaderSecondaryMenu = (0, uni_jsx_1.JSX)(({
|
|
21
|
-
const [city, getCity] =
|
|
21
|
+
exports.HeaderSecondaryMenu = (0, uni_jsx_1.JSX)(({ className, defaultLocation = '', bgColor = 'bg-white' }) => {
|
|
22
|
+
const [city, getCity] = (0, useGeolocation_1.useGeolocation)(defaultLocation);
|
|
22
23
|
return ((0, jsx_runtime_1.jsxs)("div", { className: `flex items-center ${className || ''}`, children: [(0, jsx_runtime_1.jsx)(TopItem_1.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 }), (0, jsx_runtime_1.jsx)(TopItem_1.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 }), (0, jsx_runtime_1.jsx)(HeaderSecondaryMenuButton_1.HeaderSecondaryMenuButton, { className: `mr-5 group ${COLORS_MAP[bgColor]}`, ariaLabel: "\u041F\u043E\u0438\u0441\u043A \u043F\u043E \u0441\u0430\u0439\u0442\u0443", children: (0, jsx_runtime_1.jsx)(Img_1.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 }) }), (0, jsx_runtime_1.jsx)(HeaderSecondaryMenuButton_1.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: (0, jsx_runtime_1.jsx)(Img_1.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 }) })] }));
|
|
23
24
|
});
|
|
24
25
|
//# sourceMappingURL=HeaderSecondaryMenu.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HeaderSecondaryMenu.js","sourceRoot":"","sources":["../../../src/components/Header/HeaderSecondaryMenu.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;
|
|
1
|
+
{"version":3,"file":"HeaderSecondaryMenu.js","sourceRoot":"","sources":["../../../src/components/Header/HeaderSecondaryMenu.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,+DAA4D;AAG5D,8CAA2C;AAC3C,0DAAuD;AACvD,2EAAwE;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;AAEW,QAAA,mBAAmB,GAAG,IAAA,aAAG,EACpC,CAAC,EAAE,SAAS,EAAE,eAAe,GAAG,EAAE,EAAE,OAAO,GAAG,UAAU,EAAE,EAAE,EAAE;IAC5D,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,IAAA,+BAAc,EAAC,eAAe,CAAC,CAAC;IAExD,OAAO,CACL,iCAAK,SAAS,EAAE,qBAAqB,SAAS,IAAI,EAAE,EAAE,aACpD,uBAAC,iBAAO,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,uBAAC,iBAAO,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,uBAAC,qDAAyB,IACxB,SAAS,EAAE,cAAc,UAAU,CAAC,OAAO,CAAC,EAAE,EAC9C,SAAS,EAAC,4EAAgB,YAE1B,uBAAC,SAAG,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,uBAAC,qDAAyB,IACxB,SAAS,EAAE,GAAG,gBAAgB,CAAC,OAAO,CAAC,kCAAkC,EACzE,SAAS,EAAC,2HAAuB,YAEjC,uBAAC,SAAG,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>;
|
|
@@ -2,15 +2,16 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
2
2
|
exports.HeaderSubMenu = void 0;
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
+
const hooks_1 = require("@redneckz/uni-jsx/lib/hooks");
|
|
5
6
|
const useLink_1 = require("../../hooks/useLink");
|
|
6
7
|
const findActiveSubItem_1 = require("../../services/sitemap/findActiveSubItem");
|
|
7
8
|
const HeaderItem_1 = require("../../ui-kit/HeaderItem/HeaderItem");
|
|
8
9
|
const DropdownMenu_1 = require("./DropdownMenu");
|
|
9
10
|
exports.HeaderSubMenu = (0, uni_jsx_1.JSX)(({ context, subItems = [], bgColor }) => {
|
|
10
|
-
const [menuVisible, setMenuVisible] =
|
|
11
|
+
const [menuVisible, setMenuVisible] = (0, hooks_1.useState)(false);
|
|
11
12
|
const router = context.useRouter();
|
|
12
13
|
const { handlerDecorator, IntersectionObserverTag } = context;
|
|
13
|
-
const [visibleItemsCount, setVisibleItemsCount] =
|
|
14
|
+
const [visibleItemsCount, setVisibleItemsCount] = (0, hooks_1.useState)(subItems.length);
|
|
14
15
|
const dropDownMenuItems = subItems.slice(visibleItemsCount);
|
|
15
16
|
const activeSubItem = (0, findActiveSubItem_1.findActiveSubItem)(router)(subItems);
|
|
16
17
|
const toggleMenu = () => setMenuVisible(!menuVisible);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HeaderSubMenu.js","sourceRoot":"","sources":["../../../src/components/Header/HeaderSubMenu.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,iDAA8C;AAG9C,gFAA6E;AAC7E,mEAAgE;AAEhE,iDAA8C;AAQjC,QAAA,aAAa,GAAG,IAAA,aAAG,EAAqB,CAAC,EAAE,OAAO,EAAE,QAAQ,GAAG,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE;IAC3F,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,
|
|
1
|
+
{"version":3,"file":"HeaderSubMenu.js","sourceRoot":"","sources":["../../../src/components/Header/HeaderSubMenu.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAuD;AACvD,iDAA8C;AAG9C,gFAA6E;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,iCAAK,SAAS,EAAC,eAAe,aAC5B,gCAAK,SAAS,EAAC,8CAA8C,YAC1D,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CACtB,uBAAC,uBAAuB,IACtB,GAAG,EAAC,MAAM,EACV,gBAAgB,EAAE,gBAAgB,CAAC,CAAC,CAAC,EACrC,eAAe,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE,YAGjC,uBAAC,uBAAU,IACT,SAAS,EAAE,QAAQ,iBAAiB,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,EAAE,EACjE,MAAM,EAAE,CAAC,KAAK,aAAa,KACvB,IAAA,iBAAO,EAAC,EAAE,MAAM,EAAE,gBAAgB,EAAE,EAAE,CAAC,CAAC,EAC5C,OAAO,EAAE,OAAO,GAChB,IAPG,MAAM,CAAC,CAAC,CAAC,CAQU,CAC3B,CAAC,GACE,EACL,iBAAiB,CAAC,MAAM,CAAC,CAAC,CAAC,CAC1B,uBAAC,2BAAY,IACX,OAAO,EAAE,OAAO,EAChB,aAAa,EAAE,aAAa,EAC5B,WAAW,EAAE,WAAW,EACxB,UAAU,EAAE,UAAU,EACtB,SAAS,EAAE,iBAAiB,EAC5B,OAAO,EAAE,OAAO,GAChB,CACH,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC;AACJ,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 { 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>;
|
|
@@ -2,11 +2,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
2
2
|
exports.InsuranceAmountBlock = void 0;
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
+
const hooks_1 = require("@redneckz/uni-jsx/lib/hooks");
|
|
5
6
|
const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
|
|
6
7
|
const Heading_1 = require("../../ui-kit/Heading/Heading");
|
|
7
8
|
const InsuranceAmountBlockInner_1 = require("./InsuranceAmountBlockInner");
|
|
8
9
|
exports.InsuranceAmountBlock = (0, uni_jsx_1.JSX)(({ className = '', context, title, insuranceTabs = [], button, ...rest }) => {
|
|
9
|
-
const [activeSlideIndex, setActiveSlideIndex] =
|
|
10
|
+
const [activeSlideIndex, setActiveSlideIndex] = (0, hooks_1.useState)(0);
|
|
10
11
|
return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { context: context, className: `box-border py-[50px] overflow-hidden relative font-sans w-100 bg-white ${className}`, ...rest, children: [title ? (0, jsx_runtime_1.jsx)(Heading_1.Heading, { className: "text-center", title: title, headingType: "h3" }) : null, insuranceTabs?.length > 1 ? ((0, jsx_runtime_1.jsx)("div", { className: "p-1.5 bg-secondary-light w-fit m-auto rounded-md mt-[34px]", children: insuranceTabs.map((item, i) => renderNavButton({
|
|
11
12
|
title: item?.title,
|
|
12
13
|
i,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InsuranceAmountBlock.js","sourceRoot":"","sources":["../../../src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;
|
|
1
|
+
{"version":3,"file":"InsuranceAmountBlock.js","sourceRoot":"","sources":["../../../src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAuD;AAEvD,4DAAyD;AACzD,0DAAuD;AAEvD,2EAAwE;AAI3D,QAAA,oBAAoB,GAAG,IAAA,aAAG,EACrC,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,aAAa,GAAG,EAAE,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IAC1E,MAAM,CAAC,gBAAgB,EAAE,mBAAmB,CAAC,GAAG,IAAA,gBAAQ,EAAC,CAAC,CAAC,CAAC;IAE5D,OAAO,CACL,wBAAC,2BAAY,IACX,OAAO,EAAE,OAAO,EAChB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K,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,mCACE,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>;
|
|
@@ -2,13 +2,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
2
2
|
exports.InsuranceAmountBlockInner = void 0;
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
+
const hooks_1 = require("@redneckz/uni-jsx/lib/hooks");
|
|
5
6
|
const Button_1 = require("../../ui-kit/Button/Button");
|
|
6
7
|
const renderArrows_1 = require("../../ui-kit/Button/renderArrows");
|
|
7
8
|
const Img_1 = require("../../ui-kit/Img/Img");
|
|
8
9
|
const addSpacesBetweenNumbers_1 = require("../../utils/addSpacesBetweenNumbers");
|
|
9
|
-
exports.InsuranceAmountBlockInner = (0, uni_jsx_1.JSX)(({ className = '',
|
|
10
|
-
const [activeSlideIndex, setActiveSlideIndex] =
|
|
11
|
-
const [tabsShift, setTabsShift] =
|
|
10
|
+
exports.InsuranceAmountBlockInner = (0, uni_jsx_1.JSX)(({ className = '', cards = [], button }) => {
|
|
11
|
+
const [activeSlideIndex, setActiveSlideIndex] = (0, hooks_1.useState)(0);
|
|
12
|
+
const [tabsShift, setTabsShift] = (0, hooks_1.useState)(0);
|
|
12
13
|
const handleNextClick = () => setTabsShift(tabsShift + 1);
|
|
13
14
|
const handlePrevClick = () => setTabsShift(tabsShift - 1);
|
|
14
15
|
const galleryLength = cards?.length ?? 0;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InsuranceAmountBlockInner.js","sourceRoot":"","sources":["../../../src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;
|
|
1
|
+
{"version":3,"file":"InsuranceAmountBlockInner.js","sourceRoot":"","sources":["../../../src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAuD;AAEvD,uDAAoD;AAEpD,mEAAgE;AAChE,8CAA2C;AAC3C,iFAA8E;AAsBjE,QAAA,yBAAyB,GAAG,IAAA,aAAG,EAC1C,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,GAAG,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE;IACzC,MAAM,CAAC,gBAAgB,EAAE,mBAAmB,CAAC,GAAG,IAAA,gBAAQ,EAAC,CAAC,CAAC,CAAC;IAC5D,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,IAAA,gBAAQ,EAAC,CAAC,CAAC,CAAC;IAE9C,MAAM,eAAe,GAAG,GAAG,EAAE,CAAC,YAAY,CAAC,SAAS,GAAG,CAAC,CAAC,CAAC;I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AAG,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,iCAAK,SAAS,EAAC,wCAAwC,aACrD,kCAAM,SAAS,EAAC,SAAS,aAAE,IAAA,iDAAuB,EAAC,GAAG,CAAC,eAAU,EACjE,iCAAM,SAAS,EAAC,iCAAiC,YAAE,KAAK,GAAQ,IAC5D,CACP,CAAC;AACJ,CAAC;AAED,SAAS,cAAc,CAAC,QAAiB;IACvC,OAAO,QAAQ,CAAC,CAAC,CAAC,CAChB,uBAAC,SAAG,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>;
|
|
@@ -2,10 +2,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
2
2
|
exports.LikeControl = void 0;
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
+
const useLikeService_1 = require("../../hooks/useLikeService");
|
|
6
|
+
const useLink_1 = require("../../hooks/useLink");
|
|
5
7
|
const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
|
|
6
8
|
const LikeButton_1 = require("../../ui-kit/Button/LikeButton");
|
|
7
9
|
exports.LikeControl = (0, uni_jsx_1.JSX)(({ className, context, ...rest }) => {
|
|
8
|
-
const
|
|
9
|
-
|
|
10
|
+
const { useRouter, handlerDecorator = useLink_1.defaultHandlerDecorator } = context;
|
|
11
|
+
const router = useRouter();
|
|
12
|
+
const likeService = (0, useLikeService_1.useLikeService)(router.pathname);
|
|
13
|
+
return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.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: [(0, jsx_runtime_1.jsx)(LikeButton_1.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" }), (0, jsx_runtime_1.jsx)(LikeButton_1.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" }), (0, jsx_runtime_1.jsx)("span", { className: "select-none", children: likeService.likeCount })] }));
|
|
10
14
|
});
|
|
11
15
|
//# sourceMappingURL=LikeControl.js.map
|