@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
|
@@ -6,4 +6,4 @@ export interface LinkDocsListProps {
|
|
|
6
6
|
columnsMode?: LinkColumnsMode;
|
|
7
7
|
icon?: Picture;
|
|
8
8
|
}
|
|
9
|
-
export declare const LinkDocsList:
|
|
9
|
+
export declare const LinkDocsList: import("@redneckz/uni-jsx").UNIComponent<LinkDocsListProps, any, any>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { LinkDocsListItemProps } from './LinkDocsListItemBase';
|
|
2
|
-
export declare const LinkDocsListItem:
|
|
2
|
+
export declare const LinkDocsListItem: import("@redneckz/uni-jsx").UNIComponent<LinkDocsListItemProps, any, any>;
|
|
@@ -10,4 +10,4 @@ export interface LinkDocsListItemBaseProps extends LinkDocsListItemProps {
|
|
|
10
10
|
textClassName?: string;
|
|
11
11
|
suffixClassName?: string;
|
|
12
12
|
}
|
|
13
|
-
export declare const LinkDocsListItemBase:
|
|
13
|
+
export declare const LinkDocsListItemBase: import("@redneckz/uni-jsx").UNIComponent<LinkDocsListItemBaseProps, any, any>;
|
|
@@ -5,4 +5,4 @@ export interface LinkDocsVerticalListProps {
|
|
|
5
5
|
documents?: LinkDocsItem[];
|
|
6
6
|
icon?: Picture;
|
|
7
7
|
}
|
|
8
|
-
export declare const LinkDocsVerticalList:
|
|
8
|
+
export declare const LinkDocsVerticalList: import("@redneckz/uni-jsx").UNIComponent<LinkDocsVerticalListProps, any, any>;
|
|
@@ -2,4 +2,4 @@ import type { UniBlockProps } from '../../types';
|
|
|
2
2
|
import type { LinkListContent } from './LinkListContent';
|
|
3
3
|
export interface LinkListProps extends LinkListContent, UniBlockProps {
|
|
4
4
|
}
|
|
5
|
-
export declare const LinkList:
|
|
5
|
+
export declare const LinkList: import("@redneckz/uni-jsx").UNIComponent<LinkListProps, any, any>;
|
|
@@ -2,4 +2,4 @@ import type { UniBlockProps } from '../../types';
|
|
|
2
2
|
import type { MiniGalleryContent } from './MiniGalleryContent';
|
|
3
3
|
export interface MiniGalleryProps extends MiniGalleryContent, UniBlockProps {
|
|
4
4
|
}
|
|
5
|
-
export declare const MiniGallery:
|
|
5
|
+
export declare const MiniGallery: import("@redneckz/uni-jsx").UNIComponent<MiniGalleryProps, any, any>;
|
|
@@ -2,4 +2,4 @@ import type { MobileAppTileContent } from './MobileAppTileContent';
|
|
|
2
2
|
import type { UniBlockProps } from '../../types';
|
|
3
3
|
export interface MobileAppTileProps extends MobileAppTileContent, UniBlockProps {
|
|
4
4
|
}
|
|
5
|
-
export declare const MobileAppTile:
|
|
5
|
+
export declare const MobileAppTile: import("@redneckz/uni-jsx").UNIComponent<MobileAppTileProps, any, any>;
|
|
@@ -2,4 +2,4 @@ import type { UniBlockProps } from '../../types';
|
|
|
2
2
|
import { NavigationContent } from './NavigationContent';
|
|
3
3
|
export interface NavigationProps extends NavigationContent, UniBlockProps {
|
|
4
4
|
}
|
|
5
|
-
export declare const Navigation:
|
|
5
|
+
export declare const Navigation: import("@redneckz/uni-jsx").UNIComponent<NavigationProps, any, any>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { ButtonProps } from '../../ui-kit/Button/ButtonProps';
|
|
2
|
-
export declare const NavigationItem:
|
|
2
|
+
export declare const NavigationItem: import("@redneckz/uni-jsx").UNIComponent<ButtonProps & {
|
|
3
3
|
isActive: boolean;
|
|
4
|
-
}, any
|
|
4
|
+
}, any, any>;
|
|
@@ -4,4 +4,4 @@ export interface NavigatorTabItemProps extends LinkProps {
|
|
|
4
4
|
className?: string;
|
|
5
5
|
onClick?: () => void;
|
|
6
6
|
}
|
|
7
|
-
export declare const NavigatorTabItem:
|
|
7
|
+
export declare const NavigatorTabItem: import("@redneckz/uni-jsx").UNIComponent<NavigatorTabItemProps, any, any>;
|
|
@@ -2,4 +2,4 @@ import type { UniBlockProps } from '../../types';
|
|
|
2
2
|
import type { NavigatorTabsContent } from './NavigatorTabsContent';
|
|
3
3
|
export interface TabsBlockProps extends UniBlockProps, NavigatorTabsContent {
|
|
4
4
|
}
|
|
5
|
-
export declare const NavigatorTabs:
|
|
5
|
+
export declare const NavigatorTabs: import("@redneckz/uni-jsx").UNIComponent<TabsBlockProps, any, any>;
|
|
@@ -2,4 +2,4 @@ import type { UniBlockProps } from '../../types';
|
|
|
2
2
|
import type { OtherProductsContent } from './OtherProductsContent';
|
|
3
3
|
export interface OtherProductsProps extends OtherProductsContent, UniBlockProps {
|
|
4
4
|
}
|
|
5
|
-
export declare const OtherProducts:
|
|
5
|
+
export declare const OtherProducts: import("@redneckz/uni-jsx").UNIComponent<OtherProductsProps, any, any>;
|
|
@@ -3,4 +3,4 @@ import type { BlockItemCommonProps } from './OtherProductsContent';
|
|
|
3
3
|
export interface BlockItemProps extends BlockItemCommonProps, UniBlockProps {
|
|
4
4
|
dataTheme?: ColorPalette;
|
|
5
5
|
}
|
|
6
|
-
export declare const OtherProductsItem:
|
|
6
|
+
export declare const OtherProductsItem: import("@redneckz/uni-jsx").UNIComponent<BlockItemProps, any, any>;
|
|
@@ -2,4 +2,4 @@ import type { UniBlockProps } from '../../types';
|
|
|
2
2
|
import type { PictureTextContent } from './PictureTextContent';
|
|
3
3
|
export interface PictureTextProps extends PictureTextContent, UniBlockProps {
|
|
4
4
|
}
|
|
5
|
-
export declare const PictureText:
|
|
5
|
+
export declare const PictureText: import("@redneckz/uni-jsx").UNIComponent<PictureTextProps, any, any>;
|
|
@@ -3,4 +3,4 @@ import type { UniBlockProps } from '../../types';
|
|
|
3
3
|
export interface PlaceholderProps extends PlaceholderContent, UniBlockProps {
|
|
4
4
|
className?: string;
|
|
5
5
|
}
|
|
6
|
-
export declare const Placeholder:
|
|
6
|
+
export declare const Placeholder: import("@redneckz/uni-jsx").UNIComponent<PlaceholderProps, any, any>;
|
|
@@ -2,4 +2,4 @@ import type { UniBlockProps } from '../../types';
|
|
|
2
2
|
import type { ProductBlockContent } from './ProductBlockContent';
|
|
3
3
|
export interface ProductBlockProps extends ProductBlockContent, UniBlockProps {
|
|
4
4
|
}
|
|
5
|
-
export declare const ProductBlock:
|
|
5
|
+
export declare const ProductBlock: import("@redneckz/uni-jsx").UNIComponent<ProductBlockProps, any, any>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { UniBlockProps } from '../../types';
|
|
2
2
|
import type { ProductBlockInnerContent } from './ProductBlockContent';
|
|
3
3
|
export declare type ProductBlockInnerProps = ProductBlockInnerContent & UniBlockProps;
|
|
4
|
-
export declare const ProductBlockInner:
|
|
4
|
+
export declare const ProductBlockInner: import("@redneckz/uni-jsx").UNIComponent<ProductBlockInnerProps, any, any>;
|
|
@@ -2,4 +2,4 @@ import type { UniBlockProps } from '../../types';
|
|
|
2
2
|
import type { ProductGalleryContent } from './ProductGalleryContent';
|
|
3
3
|
export interface ProductGalleryProps extends ProductGalleryContent, UniBlockProps {
|
|
4
4
|
}
|
|
5
|
-
export declare const ProductGallery:
|
|
5
|
+
export declare const ProductGallery: import("@redneckz/uni-jsx").UNIComponent<ProductGalleryProps, any, any>;
|
|
@@ -5,4 +5,4 @@ export interface ProductGalleryBlockProps extends UniBlockProps {
|
|
|
5
5
|
headlineVersion?: HeadlineProps;
|
|
6
6
|
block?: ProductBlockInnerContent;
|
|
7
7
|
}
|
|
8
|
-
export declare const ProductGalleryBlock:
|
|
8
|
+
export declare const ProductGalleryBlock: import("@redneckz/uni-jsx").UNIComponent<ProductGalleryBlockProps, any, any>;
|
|
@@ -2,4 +2,4 @@ import type { UniBlockProps } from '../../types';
|
|
|
2
2
|
import type { ProductTileContent } from './ProductTileContent';
|
|
3
3
|
export interface ProductTileProps extends ProductTileContent, UniBlockProps {
|
|
4
4
|
}
|
|
5
|
-
export declare const ProductTile:
|
|
5
|
+
export declare const ProductTile: import("@redneckz/uni-jsx").UNIComponent<ProductTileProps, any, any>;
|
|
@@ -2,4 +2,4 @@ import type { UniBlockProps } from '../../types';
|
|
|
2
2
|
import type { PromoTileContent } from './PromoTileContent';
|
|
3
3
|
export interface PromoTileProps extends PromoTileContent, UniBlockProps {
|
|
4
4
|
}
|
|
5
|
-
export declare const PromoTile:
|
|
5
|
+
export declare const PromoTile: import("@redneckz/uni-jsx").UNIComponent<PromoTileProps, any, any>;
|
|
@@ -2,4 +2,4 @@ import type { UniBlockProps } from '../../types';
|
|
|
2
2
|
import type { RecommendationContent } from './RecommendationContent';
|
|
3
3
|
export interface RecommendationProps extends RecommendationContent, UniBlockProps {
|
|
4
4
|
}
|
|
5
|
-
export declare const Recommendation:
|
|
5
|
+
export declare const Recommendation: import("@redneckz/uni-jsx").UNIComponent<RecommendationProps, any, any>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
+
import { useState } from '@redneckz/uni-jsx/lib/hooks';
|
|
3
4
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
|
|
4
5
|
import { renderArrows } from '../../ui-kit/Button/renderArrows.js';
|
|
5
6
|
import { Heading } from '../../ui-kit/Heading/Heading.js';
|
|
@@ -8,7 +9,7 @@ const BLUR_BLOCK_CLASSES = 'absolute top-0 bottom-0 w-[84px]';
|
|
|
8
9
|
const CARD_FULL_VIEW_COUNT = 2;
|
|
9
10
|
const CARD_SHIFT = 525;
|
|
10
11
|
export const Recommendation = JSX(({ context, recommendations = [], className = '', title, version, ...rest }) => {
|
|
11
|
-
const [activeCardIndex, setActiveCardIndex] =
|
|
12
|
+
const [activeCardIndex, setActiveCardIndex] = useState(0);
|
|
12
13
|
const blockClassName = version === 'secondary' ? 'bg-primary-main text-white' : 'bg-white text-primary-text';
|
|
13
14
|
const cardClassName = version === 'secondary' ? 'border-white/50' : 'border-main-stroke';
|
|
14
15
|
return (_jsxs(BlockWrapper, { context: context, className: `relative font-sans p-9 overflow-hidden text-center ${blockClassName} ${className}`, ...rest, children: [title ? _jsx(Heading, { headingType: "h3", className: "mb-6", title: title }) : null, _jsxs("div", { children: [_jsx("div", { className: "flex duration-1000 gap-3.5", style: { transform: `translateX(-${activeCardIndex * CARD_SHIFT}px)` }, role: "list", children: recommendations?.length
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Recommendation.js","sourceRoot":"","sources":["../../../src/components/Recommendation/Recommendation.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"Recommendation.js","sourceRoot":"","sources":["../../../src/components/Recommendation/Recommendation.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAEvD,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAChE,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAG1D,MAAM,kBAAkB,GAAG,kCAAkC,CAAC;AAC9D,MAAM,oBAAoB,GAAG,CAAC,CAAC;AAC/B,MAAM,UAAU,GAAG,GAAG,CAAC;AAIvB,MAAM,CAAC,MAAM,cAAc,GAAG,GAAG,CAC/B,CAAC,EAAE,OAAO,EAAE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,OAAO,KAAK,WAAW,CAAC,CAAC,CAAC,oBAAoB,CAAC,CAAC,CAAC,qBACnD,EAAE,GACF,IACW,CAChB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,wBAAwB,GAC5B,CAAC,EAAE,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,EAAE,EAAE,CACpC,CAAC,IAA6B,EAAE,CAAS,EAAE,EAAE;IAC3C,OAAO,CACL,KAAC,kBAAkB,IAEjB,OAAO,EAAE,OAAO,KACZ,IAAI,EACR,OAAO,EAAE,OAAO,EAChB,SAAS,EAAE,SAAS,IAJf,MAAM,CAAC,CAAC,CAAC,CAKd,CACH,CAAC;AACJ,CAAC,CAAC;AAEJ,MAAM,gBAAgB,GAAG,CAAC,EACxB,UAAU,EACV,eAAe,EACf,kBAAkB,GAKnB,EAAE,EAAE;IACH,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;IACtE,MAAM,WAAW,GAAG,UAAU,GAAG,oBAAoB,CAAC;IACtD,MAAM,cAAc,GAAG,WAAW,IAAI,UAAU,GAAG,eAAe,GAAG,oBAAoB,CAAC;IAC1F,MAAM,cAAc,GAAG,WAAW,IAAI,eAAe,GAAG,CAAC,CAAC;IAE1D,OAAO,CACL,wBACG,YAAY,CAAC;YACZ,OAAO,EAAE,CAAC,eAAe,EAAE,eAAe,CAAC;YAC3C,OAAO,EAAE,CAAC,cAAc,EAAE,cAAc,CAAC;YACzC,QAAQ,EAAE,CAAC,QAAQ,EAAE,SAAS,CAAC;YAC/B,SAAS,EAAE,cAAc;SAC1B,CAAC,GACE,CACP,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -4,4 +4,4 @@ import type { RecommendationCardTypes } from './RecommendationContent';
|
|
|
4
4
|
export interface RecommendationCardProps extends RecommendationCardTypes, UniBlockProps {
|
|
5
5
|
version?: BlockVersion;
|
|
6
6
|
}
|
|
7
|
-
export declare const RecommendationCard:
|
|
7
|
+
export declare const RecommendationCard: import("@redneckz/uni-jsx").UNIComponent<RecommendationCardProps, any, any>;
|
|
@@ -2,4 +2,4 @@ import type { UniBlockProps } from '../../types';
|
|
|
2
2
|
import type { SafeDepositRentalContent } from './SafeDepositRentalContent';
|
|
3
3
|
export interface SafeDepositRentalProps extends SafeDepositRentalContent, UniBlockProps {
|
|
4
4
|
}
|
|
5
|
-
export declare const SafeDepositRental:
|
|
5
|
+
export declare const SafeDepositRental: import("@redneckz/uni-jsx").UNIComponent<SafeDepositRentalProps, any, any>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
+
import { useState } from '@redneckz/uni-jsx/lib/hooks';
|
|
3
4
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
|
|
4
5
|
import { SafeDepositRentalForm } from './SafeDepositRentalForm.js';
|
|
5
6
|
import { SafeDepositRentalTotal } from './SafeDepositRentalTotal.js';
|
|
@@ -65,8 +66,8 @@ const DATA = {
|
|
|
65
66
|
],
|
|
66
67
|
};
|
|
67
68
|
export const SafeDepositRental = JSX(({ context, className = '', ...rest }) => {
|
|
68
|
-
const [days, setDays] =
|
|
69
|
+
const [days, setDays] = useState(DEFAULT_DAYS);
|
|
69
70
|
const data = DATA;
|
|
70
|
-
return (_jsxs(BlockWrapper, { context: context, className: `bg-white px-8 py-12 ${className}`, ...rest, children: [_jsxs("div", { className: "flex justify-between align-top mb-6", children: [data?.cities?.length ? (_jsx(SafeDepositRentalForm, { ...data, days: days, setDays: setDays
|
|
71
|
+
return (_jsxs(BlockWrapper, { context: context, className: `bg-white px-8 py-12 ${className}`, ...rest, children: [_jsxs("div", { className: "flex justify-between align-top mb-6", children: [data?.cities?.length ? (_jsx(SafeDepositRentalForm, { ...data, days: days, setDays: setDays })) : null, _jsx(SafeDepositRentalTotal, { days: days })] }), _jsx("p", { className: "text-s-light text-secondary-text", children: "\u0410\u0440\u0435\u043D\u0434\u0430 \u0421\u042F, \u0432 \u0441\u043B\u0443\u0447\u0430\u0435 \u043F\u0440\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u044F \u043F\u0440\u043E\u0446\u0435\u0434\u0443\u0440\u044B \u043A\u0443\u043F\u043B\u0438-\u043F\u0440\u043E\u0434\u0430\u0436\u0438, \u0441 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u043C \u043D\u0430\u043B\u0438\u0447\u043D\u044B\u0445 \u0434\u0435\u043D\u0435\u0433 \u0438\u043B\u0438 \u043F\u0440\u043E\u0446\u0435\u0434\u0443\u0440\u044B \u0438\u043F\u043E\u0442\u0435\u0447\u043D\u043E\u0439 \u0441\u0434\u0435\u043B\u043A\u0438" })] }));
|
|
71
72
|
});
|
|
72
73
|
//# sourceMappingURL=SafeDepositRental.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SafeDepositRental.js","sourceRoot":"","sources":["../../../src/components/SafeDepositRental/SafeDepositRental.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"SafeDepositRental.js","sourceRoot":"","sources":["../../../src/components/SafeDepositRental/SafeDepositRental.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAEvD,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAEzD,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAIlE,MAAM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AAC,CAAC,CAAC,CACtB,KAAC,qBAAqB,OAAK,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,GAAI,CAClE,CAAC,CAAC,CAAC,IAAI,EACR,KAAC,sBAAsB,IAAC,IAAI,EAAE,IAAI,GAAI,IAClC,EACN,YAAG,SAAS,EAAC,kCAAkC,goBAG3C,IACS,CAChB,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -1,12 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { UniBlockProps } from '../../types';
|
|
3
3
|
export declare type SafeDepositRentalFormProps = UniBlockProps;
|
|
4
|
-
export declare const SafeDepositRentalForm: (
|
|
5
|
-
cities: any;
|
|
6
|
-
cellDimensions: any;
|
|
7
|
-
cellOptions: any;
|
|
8
|
-
days: any;
|
|
9
|
-
setDays: any;
|
|
10
|
-
context: any;
|
|
11
|
-
}) => JSX.Element;
|
|
4
|
+
export declare const SafeDepositRentalForm: import("@redneckz/uni-jsx").UNIComponent<any, any, any>;
|
|
12
5
|
export declare const renderRentalPeriod: (days: any, setDays: any) => JSX.Element;
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
+
import { useState } from '@redneckz/uni-jsx/lib/hooks';
|
|
2
4
|
import { Button } from '../../ui-kit/Button/Button.js';
|
|
3
5
|
import { InputRange } from '../../ui-kit/InputRange/InputRange.js';
|
|
4
6
|
import { Radio } from '../../ui-kit/Radio/Radio.js';
|
|
5
7
|
import { Select } from '../../ui-kit/Select/Select.js';
|
|
6
8
|
import { SelectOption } from '../../ui-kit/Select/SelectOption.js';
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
12
|
-
const
|
|
13
|
-
const [selectedCity, setSelectedCity] = context.useState(cities[0].city);
|
|
9
|
+
// TODO: Добавить типизацию
|
|
10
|
+
export const SafeDepositRentalForm = JSX(({ cities, cellDimensions, cellOptions, days, setDays }) => {
|
|
11
|
+
return (_jsxs("div", { className: "flex-1 mr-9", children: [cities.length ? _jsx(CitiesOffices, { cities: cities }) : null, renderRentalPeriod(days, setDays), cellDimensions.length && cellOptions.length ? (_jsx(DimensionsOptions, { cellDimensions: cellDimensions, cellOptions: cellOptions })) : null, _jsx("span", { className: "text-secondary-text text-l-light", children: "\u0422\u0438\u043F \u0434\u043E\u0433\u043E\u0432\u043E\u0440\u0430" }), _jsxs("div", { className: "flex justify-between items-center mt-5", children: [_jsx(RadioButtons, {}), _jsx(Button, { text: "\u041E\u0444\u0438\u0441\u044B \u043D\u0430 \u043A\u0430\u0440\u0442\u0435", version: "primary" })] })] }));
|
|
12
|
+
});
|
|
13
|
+
const CitiesOffices = JSX(({ cities }) => {
|
|
14
|
+
const [selectedCity, setSelectedCity] = useState(cities[0].city);
|
|
14
15
|
const setSelected = (_) => setSelectedCity(_);
|
|
15
16
|
const offices = cities.find((_) => _.city === selectedCity).offices;
|
|
16
17
|
return (_jsxs("div", { className: "flex justify-between mb-6", children: [_jsx("div", { className: "w-full mr-4", children: cities.length
|
|
@@ -30,10 +31,10 @@ const renderCitiesOffices = (cities, context) => {
|
|
|
30
31
|
label: 'Отделение',
|
|
31
32
|
})
|
|
32
33
|
: null })] }));
|
|
33
|
-
};
|
|
34
|
-
const
|
|
35
|
-
const [selectedDimension, setSelectedDimension] =
|
|
36
|
-
const [selectedOption, setSelectedOption] =
|
|
34
|
+
});
|
|
35
|
+
const DimensionsOptions = JSX(({ cellDimensions, cellOptions }) => {
|
|
36
|
+
const [selectedDimension, setSelectedDimension] = useState(cellDimensions[0].dimension);
|
|
37
|
+
const [selectedOption, setSelectedOption] = useState(cellOptions[0].option);
|
|
37
38
|
return (_jsxs("div", { className: "flex justify-between mb-6", children: [_jsx("div", { className: "mr-4 w-full", children: cellDimensions.length
|
|
38
39
|
? renderSelect({
|
|
39
40
|
data: cellDimensions,
|
|
@@ -51,7 +52,7 @@ const renderDimensionsOptions = (cellDimensions, cellOptions, context) => {
|
|
|
51
52
|
label: 'Параметры ячейки, мм (ВхШхД)',
|
|
52
53
|
})
|
|
53
54
|
: null })] }));
|
|
54
|
-
};
|
|
55
|
+
});
|
|
55
56
|
const renderSelect = (props) => {
|
|
56
57
|
const { data, field, selected, setSelected, label } = props;
|
|
57
58
|
return (_jsxs("div", { children: [_jsx("span", { className: "block text-m-light mb-2", children: label }), _jsx(Select, { className: "h-14 border border-gray p-4 rounded-md text-s w-full cursor-pointer", value: selected, onChange: (_) => setSelected(_), children: data.map((_, i) => (_jsx(SelectOption, { value: _?.[field], children: _?.[field] }, String(i)))) })] }));
|
|
@@ -60,9 +61,10 @@ export const renderRentalPeriod = (days, setDays) => {
|
|
|
60
61
|
const items = ['От 1 дня', 'До 365 дней'];
|
|
61
62
|
return (_jsxs("div", { className: "mb-6", children: [_jsx("span", { className: "block text-m-light mb-[3px]", children: "\u0421\u0440\u043E\u043A \u0430\u0440\u0435\u043D\u0434\u044B" }), _jsx(InputRange, { min: 1, max: 365, value: days, items: items, onChange: setDays })] }));
|
|
62
63
|
};
|
|
63
|
-
|
|
64
|
-
|
|
64
|
+
// TODO: В качестве компонента не годится
|
|
65
|
+
const RadioButtons = JSX(() => {
|
|
66
|
+
const [selected, setSelected] = useState('option1');
|
|
65
67
|
const onChange = (_) => setSelected(_.target.value);
|
|
66
68
|
return (_jsxs("div", { children: [_jsx(Radio, { className: "mb-2", name: "contractType", text: "\u041F\u0440\u043E\u0441\u0442\u043E\u0435 \u0445\u0440\u0430\u043D\u0435\u043D\u0438\u0435", value: "option1", checked: selected === 'option1', onChange: onChange }), _jsx(Radio, { name: "contractType", text: "\u0421\u0434\u0435\u043B\u043A\u0430 \u0441 \u043D\u0435\u0434\u0432\u0438\u0436\u0438\u043C\u043E\u0441\u0442\u044C\u044E", value: "option2", checked: selected === 'option2', onChange: onChange })] }));
|
|
67
|
-
};
|
|
69
|
+
});
|
|
68
70
|
//# sourceMappingURL=SafeDepositRentalForm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SafeDepositRentalForm.js","sourceRoot":"","sources":["../../../src/components/SafeDepositRental/SafeDepositRentalForm.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"SafeDepositRentalForm.js","sourceRoot":"","sources":["../../../src/components/SafeDepositRental/SafeDepositRentalForm.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAEvD,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAChE,OAAO,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;AACjD,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAIhE,2BAA2B;AAE3B,MAAM,CAAC,MAAM,qBAAqB,GAAG,GAAG,CACtC,CAAC,EAAE,MAAM,EAAE,cAAc,EAAE,WAAW,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,EAAE;IACzD,OAAO,CACL,eAAK,SAAS,EAAC,aAAa,aACzB,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,KAAC,aAAa,IAAC,MAAM,EAAE,MAAM,GAAI,CAAC,CAAC,CAAC,IAAI,EACxD,kBAAkB,CAAC,IAAI,EAAE,OAAO,CAAC,EACjC,cAAc,CAAC,MAAM,IAAI,WAAW,CAAC,MAAM,CAAC,CAAC,CAAC,CAC7C,KAAC,iBAAiB,IAAC,cAAc,EAAE,cAAc,EAAE,WAAW,EAAE,WAAW,GAAI,CAChF,CAAC,CAAC,CAAC,IAAI,EACR,eAAM,SAAS,EAAC,kCAAkC,oFAAoB,EAC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B,QAAQ,EAAE,QAAQ,GAClB,IACE,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -2,4 +2,4 @@ import type { UniBlockProps } from '../../types';
|
|
|
2
2
|
import type { StepsBlockContent } from './StepsBlockContent';
|
|
3
3
|
export interface StepsBlockProps extends StepsBlockContent, UniBlockProps {
|
|
4
4
|
}
|
|
5
|
-
export declare const StepsBlock:
|
|
5
|
+
export declare const StepsBlock: import("@redneckz/uni-jsx").UNIComponent<StepsBlockProps, any, any>;
|
|
@@ -5,4 +5,4 @@ export interface TabActivationEvent {
|
|
|
5
5
|
}
|
|
6
6
|
export interface TabsProps extends TabsContent, UniBlockProps {
|
|
7
7
|
}
|
|
8
|
-
export declare const Tabs:
|
|
8
|
+
export declare const Tabs: import("@redneckz/uni-jsx").UNIComponent<TabsProps, any, any>;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
+
import { useEffect, useState } from '@redneckz/uni-jsx/lib/hooks';
|
|
3
4
|
import { EventBus } from '../../EventBus/EventBus.js';
|
|
4
5
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
|
|
5
6
|
import { renderTab } from './renderTab.js';
|
|
6
7
|
export const Tabs = JSX((props) => {
|
|
7
8
|
const { context, className, tabs, page, showCounter } = props;
|
|
8
|
-
const [currentTab, setCurrentTab] =
|
|
9
|
-
|
|
9
|
+
const [currentTab, setCurrentTab] = useState(tabs ? tabs[0] : undefined);
|
|
10
|
+
useEffect(() => EventBus.inst.subject('tab', { label: currentTab?.id }), [currentTab]);
|
|
10
11
|
const handleClick = (selectedTab) => {
|
|
11
12
|
EventBus.inst.fire('tab', { label: selectedTab.id });
|
|
12
13
|
setCurrentTab(selectedTab);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tabs.js","sourceRoot":"","sources":["../../../src/components/Tabs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AE,EAAE,EAAE,CAAC,EAAE,CAAC,UAAU,CAAC,CAAC,CAAC;IAEvF,MAAM,WAAW,GAAG,CAAC,WAAgB,EAAE,EAAE;QACvC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,EAAE,KAAK,EAAE,WAAW,CAAC,EAAE,EAAE,CAAC,CAAC;QACrD,aAAa,CAAC,WAAW,CAAC,CAAC;IAC7B,CAAC,CAAC;IAEF,OAAO,CACL,KAAC,YAAY,IACX,OAAO,EAAE,OAAO,EAChB,SAAS,EAAE,gCAAgC,SAAS,EAAE,EACtD,IAAI,EAAC,SAAS,YAEb,IAAI,EAAE,GAAG,CAAC,SAAS,CAAC,EAAE,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC,CAAC,GACjE,CAChB,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { TariffsTableRowHeader } from './TariffsTableContent';
|
|
2
|
-
export declare const TableTileHeader:
|
|
2
|
+
export declare const TableTileHeader: import("@redneckz/uni-jsx").UNIComponent<TariffsTableRowHeader, any, any>;
|
|
@@ -2,4 +2,4 @@ import type { UniBlockProps } from '../../types';
|
|
|
2
2
|
import type { TariffsTableContent } from './TariffsTableContent';
|
|
3
3
|
export interface TariffsTableProps extends TariffsTableContent, UniBlockProps {
|
|
4
4
|
}
|
|
5
|
-
export declare const TariffsTable:
|
|
5
|
+
export declare const TariffsTable: import("@redneckz/uni-jsx").UNIComponent<TariffsTableProps, any, any>;
|
|
@@ -3,4 +3,4 @@ export interface TariffsTableCellProps {
|
|
|
3
3
|
cell: TariffsTableCellData[];
|
|
4
4
|
isLastRow: boolean;
|
|
5
5
|
}
|
|
6
|
-
export declare const TariffsTableCell:
|
|
6
|
+
export declare const TariffsTableCell: import("@redneckz/uni-jsx").UNIComponent<TariffsTableCellProps, any, any>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ContentPageContext } from '../ContentPage/ContentPageContext';
|
|
2
2
|
import type { TariffsTableTileCellProps } from './TariffsTableContent';
|
|
3
|
-
export declare const TariffsTableHorizontal:
|
|
3
|
+
export declare const TariffsTableHorizontal: import("@redneckz/uni-jsx").UNIComponent<{
|
|
4
4
|
context: ContentPageContext;
|
|
5
5
|
tiles: TariffsTableTileCellProps[];
|
|
6
|
-
}, any
|
|
6
|
+
}, any, any>;
|
|
@@ -5,4 +5,4 @@ export interface TariffsTableRowProps {
|
|
|
5
5
|
activeCardIndex: number;
|
|
6
6
|
isLastRow: boolean;
|
|
7
7
|
}
|
|
8
|
-
export declare const TariffsTableRow:
|
|
8
|
+
export declare const TariffsTableRow: import("@redneckz/uni-jsx").UNIComponent<TariffsTableRowProps, any, any>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { TariffsTableTileCellProps } from './TariffsTableContent';
|
|
2
|
-
export declare const TariffsTableTileCell:
|
|
2
|
+
export declare const TariffsTableTileCell: import("@redneckz/uni-jsx").UNIComponent<TariffsTableTileCellProps, any, any>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { TariffsTableTileCellProps } from './TariffsTableContent';
|
|
2
|
-
export declare const TariffsTableVertical:
|
|
2
|
+
export declare const TariffsTableVertical: import("@redneckz/uni-jsx").UNIComponent<{
|
|
3
3
|
tiles: TariffsTableTileCellProps[];
|
|
4
|
-
}, any
|
|
4
|
+
}, any, any>;
|
|
@@ -2,4 +2,4 @@ import type { UniBlockProps } from '../../types';
|
|
|
2
2
|
import type { TextBlockContent } from './TextBlockContent';
|
|
3
3
|
export interface TextBlockProps extends TextBlockContent, UniBlockProps {
|
|
4
4
|
}
|
|
5
|
-
export declare const TextBlock:
|
|
5
|
+
export declare const TextBlock: import("@redneckz/uni-jsx").UNIComponent<TextBlockProps, any, any>;
|
|
@@ -3,4 +3,4 @@ import type { TileContent } from './TileContent';
|
|
|
3
3
|
export interface TileProps extends TileContent, UniBlockProps {
|
|
4
4
|
role?: string;
|
|
5
5
|
}
|
|
6
|
-
export declare const Tile:
|
|
6
|
+
export declare const Tile: import("@redneckz/uni-jsx").UNIComponent<TileProps, any, any>;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import type { AsyncDataHook } from '../components/ContentPage/ContentPageContext';
|
|
2
1
|
import type { ExchangeCurrencyItem } from '../components/ExchangeRateTile/ExchangeCurrencyCalculator';
|
|
3
|
-
export declare function useExchangeRates(
|
|
2
|
+
export declare function useExchangeRates(): ExchangeCurrencyItem[];
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import { useAsyncData } from '@redneckz/uni-jsx/lib/hooks/useAsyncData';
|
|
2
|
+
export function useExchangeRates() {
|
|
2
3
|
const { data } = useAsyncData(EXCHANGE_RATES_URL, fetchExchangeRates);
|
|
3
4
|
const result = data?.hits?.hits?.map((_) => _._source) || [];
|
|
4
5
|
return result.length ? getCurrencyListByRate(result) : result;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useExchangeRates.js","sourceRoot":"","sources":["../../src/hooks/useExchangeRates.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useExchangeRates.js","sourceRoot":"","sources":["../../src/hooks/useExchangeRates.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,0CAA0C,CAAC;AASxE,MAAM,UAAU,gBAAgB;IAC9B,MAAM,EAAE,IAAI,EAAE,GAAG,YAAY,CAAC,kBAAkB,EAAE,kBAAkB,CAAC,CAAC;IAEtE,MAAM,MAAM,GAAG,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC;IAE7D,OAAO,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,qBAAqB,CAAC,MAAqB,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC;AAC/E,CAAC;AAED,KA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B,GAAG,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC;YAClC,IAAI,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;SACrC,CAAC,CAAC;KACJ;IAED,OAAO,MAAM,CAAC;AAChB,CAAC,EAAE,EAAE,CAAC,CAAC;AAET,MAAM,SAAS,GAAG,CAAC,KAAK,EAAE,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,GAAG,IAAI,CAAC,GAAG,IAAI,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function useGeolocation(defaultLocation: string): [string, () => void];
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { useCallback, useEffect, useState } from '@redneckz/uni-jsx/lib/hooks';
|
|
2
|
+
import { DaDataAPI } from '../api/DaDataAPI.js';
|
|
3
|
+
const DaData = DaDataAPI('https://10.80.4.9');
|
|
4
|
+
export function useGeolocation(defaultLocation) {
|
|
5
|
+
const [city, setCity] = useState(defaultLocation);
|
|
6
|
+
useEffect(() => {
|
|
7
|
+
setCity(globalThis?.localStorage.getItem('location') || defaultLocation);
|
|
8
|
+
}, [defaultLocation]);
|
|
9
|
+
const getCity = useCallback(() => {
|
|
10
|
+
DaData.getFetcherAddress().then((_) => {
|
|
11
|
+
const location = _ || defaultLocation;
|
|
12
|
+
globalThis?.localStorage.setItem('location', location);
|
|
13
|
+
setCity(location);
|
|
14
|
+
});
|
|
15
|
+
}, [defaultLocation]);
|
|
16
|
+
return [city, getCity];
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=useGeolocation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useGeolocation.js","sourceRoot":"","sources":["../../src/hooks/useGeolocation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAC/E,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAE7C,MAAM,MAAM,GAAG,SAAS,CAAC,mBAAmB,CAAC,CAAC;AAE9C,MAAM,UAAU,cAAc,CAAC,eAAuB;IACpD,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,QAAQ,CAAC,eAAe,CAAC,CAAC;IAElD,SAAS,CAAC,GAAG,EAAE;QACb,OAAO,CAAC,UAAU,EAAE,YAAY,CAAC,OAAO,CAAC,UAAU,CAAC,IAAI,eAAe,CAAC,CAAC;IAC3E,CAAC,EAAE,CAAC,eAAe,CAAC,CAAC,CAAC;IAEtB,MAAM,OAAO,GAAG,WAAW,CAAC,GAAG,EAAE;QAC/B,MAAM,CAAC,iBAAiB,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE;YACpC,MAAM,QAAQ,GAAG,CAAC,IAAI,eAAe,CAAC;YACtC,UAAU,EAAE,YAAY,CAAC,OAAO,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC;YACvD,OAAO,CAAC,QAAQ,CAAC,CAAC;QACpB,CAAC,CAAC,CAAC;IACL,CAAC,EAAE,CAAC,eAAe,CAAC,CAAC,CAAC;IAEtB,OAAO,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;AACzB,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { useCallback, useEffect, useState } from '@redneckz/uni-jsx/lib/hooks';
|
|
2
|
+
import { LikeAPI } from '../api/LikeAPI.js';
|
|
3
|
+
const ASSIST_BASE_URL = process.env.NEXT_PUBLIC_ASSIST_BASE_URL || '';
|
|
4
|
+
const PROJECT_ID = process.env.NEXT_PUBLIC_PROJECT_ID || '';
|
|
5
|
+
const api = LikeAPI(PROJECT_ID, ASSIST_BASE_URL);
|
|
6
|
+
export function useLikeService(pagePath) {
|
|
7
|
+
const [likeCount, setLikeCount] = useState(0);
|
|
8
|
+
useEffect(() => {
|
|
9
|
+
(async () => {
|
|
10
|
+
const [likeData] = await api.getLikeCount(pagePath);
|
|
11
|
+
setLikeCount(likeData?.value || 0);
|
|
12
|
+
})();
|
|
13
|
+
}, [pagePath]);
|
|
14
|
+
const like = useCallback(async () => {
|
|
15
|
+
setLikeCount(await api.like(pagePath));
|
|
16
|
+
}, [pagePath]);
|
|
17
|
+
const dislike = useCallback(async () => {
|
|
18
|
+
setLikeCount(await api.dislike(pagePath));
|
|
19
|
+
}, [pagePath]);
|
|
20
|
+
return {
|
|
21
|
+
likeCount,
|
|
22
|
+
like,
|
|
23
|
+
dislike,
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=useLikeService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useLikeService.js","sourceRoot":"","sources":["../../src/hooks/useLikeService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAC/E,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAEzC,MAAM,eAAe,GAAG,OAAO,CAAC,GAAG,CAAC,2BAA2B,IAAI,EAAE,CAAC;AACtE,MAAM,UAAU,GAAG,OAAO,CAAC,GAAG,CAAC,sBAAsB,IAAI,EAAE,CAAC;AAE5D,MAAM,GAAG,GAAG,OAAO,CAAC,UAAU,EAAE,eAAe,CAAC,CAAC;AAEjD,MAAM,UAAU,cAAc,CAAC,QAAgB;IAC7C,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC;IAE9C,SAAS,CAAC,GAAG,EAAE;QACb,CAAC,KAAK,IAAI,EAAE;YACV,MAAM,CAAC,QAAQ,CAAC,GAAG,MAAM,GAAG,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC;YACpD,YAAY,CAAC,QAAQ,EAAE,KAAK,IAAI,CAAC,CAAC,CAAC;QACrC,CAAC,CAAC,EAAE,CAAC;IACP,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC;IAEf,MAAM,IAAI,GAAG,WAAW,CAAC,KAAK,IAAI,EAAE;QAClC,YAAY,CAAC,MAAM,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;IACzC,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC;IAEf,MAAM,OAAO,GAAG,WAAW,CAAC,KAAK,IAAI,EAAE;QACrC,YAAY,CAAC,MAAM,GAAG,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC;IAC5C,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC;IAEf,OAAO;QACL,SAAS;QACT,IAAI;QACJ,OAAO;KACR,CAAC;AACJ,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { HandlerDecorator, Router } from '../components/ContentPage/ContentPageContext';
|
|
2
2
|
import type { LinkProps } from '../model/LinkProps';
|
|
3
|
+
export declare const defaultHandlerDecorator: HandlerDecorator;
|
|
3
4
|
export declare function useLink({ router, handlerDecorator, }: {
|
|
4
5
|
router: Router;
|
|
5
6
|
handlerDecorator?: HandlerDecorator;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { adjustHref } from '../utils/adjustHref.js';
|
|
2
2
|
import { isURL } from '../utils/url.js';
|
|
3
|
-
const defaultHandlerDecorator = (handler) => handler;
|
|
3
|
+
export const defaultHandlerDecorator = (handler) => handler;
|
|
4
4
|
export function useLink({ router, handlerDecorator = defaultHandlerDecorator, }, link) {
|
|
5
5
|
const href = adjustHref(link.href, router);
|
|
6
6
|
return {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useLink.js","sourceRoot":"","sources":["../../src/hooks/useLink.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AAErC,MAAM,uBAAuB,GAAqB,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"useLink.js","sourceRoot":"","sources":["../../src/hooks/useLink.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AAErC,MAAM,CAAC,MAAM,uBAAuB,GAAqB,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC;AAE9E,MAAM,UAAU,OAAO,CACrB,EACE,MAAM,EACN,gBAAgB,GAAG,uBAAuB,GACc,EAC1D,IAAgD;IAEhD,MAAM,IAAI,GAAG,UAAU,CAAC,IAAI,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;IAE3C,OAAO;QACL,GAAG,IAAI;QACP,IAAI;QACJ,YAAY,EAAE,IAAI,CAAC,IAAI;QACvB,OAAO,EAAE,gBAAgB,CAAC,CAAC,EAAmC,EAAE,EAAE;YAChE,MAAM,WAAW,GAAG,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;YACzC,MAAM,aAAa,GAAG,CAAC,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,MAAM,KAAK,OAAO,CAAC;YAC9D,IAAI,WAAW,IAAI,aAAa,EAAE;gBAChC,EAAE,EAAE,cAAc,EAAE,CAAC;gBACrB,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACnB;QACH,CAAC,EAAE,IAAI,CAAC;KACT,CAAC;AACJ,CAAC"}
|