@redneckz/wildless-cms-uni-blocks 0.3.96 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundle/bundle.umd.js +3030 -2922
- package/bundle/bundle.umd.min.js +1 -1
- package/dist/ProjectSettings.d.ts +2 -3
- package/dist/ProjectSettings.js +2 -2
- package/dist/ProjectSettings.js.map +1 -1
- package/dist/api/LikeAPI.d.ts +1 -1
- package/dist/api/LikeAPI.js +6 -5
- package/dist/api/LikeAPI.js.map +1 -1
- package/dist/components/Accordion/Accordion.d.ts +1 -1
- package/dist/components/Accordion/Accordion.js +1 -1
- package/dist/components/Accordion/Accordion.js.map +1 -1
- package/dist/components/Accordion/Accordion.mobile.d.ts +1 -1
- package/dist/components/Accordion/AccordionItem.d.ts +1 -1
- package/dist/components/Accordion/AccordionItem.js +0 -1
- package/dist/components/Accordion/AccordionItem.js.map +1 -1
- package/dist/components/Accordion/AccordionItem.mobile.d.ts +1 -1
- package/dist/components/Accordion/AccordionItem.mobile.js +1 -4
- package/dist/components/Accordion/AccordionItem.mobile.js.map +1 -1
- package/dist/components/Accordion/AccordionItemInner.d.ts +1 -1
- package/dist/components/Accordion/AccordionItemInner.mobile.d.ts +1 -1
- package/dist/components/Accordion/useActiveHandler.d.ts +1 -1
- package/dist/components/Accordion/useActiveHandler.js +3 -2
- package/dist/components/Accordion/useActiveHandler.js.map +1 -1
- package/dist/components/BaseTile/BaseTile.d.ts +1 -1
- package/dist/components/BenefitsBlock/BenefitsBlock.d.ts +1 -1
- package/dist/components/Blocks.d.ts +35 -35
- package/dist/components/Blocks.mobile.d.ts +16 -16
- package/dist/components/Bonus/Bonus.d.ts +1 -1
- package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.d.ts +1 -1
- package/dist/components/Calculator/BonusCalculatorForm.d.ts +1 -1
- package/dist/components/Calculator/BonusCalculatorForm.js +4 -3
- package/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
- package/dist/components/Calculator/Calculator.d.ts +1 -1
- package/dist/components/Calculator/Calculator.js +4 -3
- package/dist/components/Calculator/Calculator.js.map +1 -1
- package/dist/components/Calculator/CalculatorValueBlock.d.ts +1 -1
- package/dist/components/Calculator/CreditCalculatorForm.d.ts +1 -1
- package/dist/components/Calculator/CreditCalculatorForm.js +8 -7
- package/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/dist/components/Calculator/DepositCalculatorForm.d.ts +1 -1
- package/dist/components/Calculator/DepositCalculatorForm.js +3 -2
- package/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
- package/dist/components/Calculator/EmbeddableCalcBlocks.d.ts +4 -4
- package/dist/components/Calculator/MortgageCalculatorForm.d.ts +1 -1
- package/dist/components/Calculator/MortgageCalculatorForm.js +5 -4
- package/dist/components/Calculator/MortgageCalculatorForm.js.map +1 -1
- package/dist/components/Calculator/Rate.d.ts +1 -1
- package/dist/components/Calculator/renderCalculatorBlock.js +1 -1
- package/dist/components/Calculator/renderCalculatorBlock.js.map +1 -1
- package/dist/components/Calculator/useBonusCalculatorParams.d.ts +1 -2
- package/dist/components/Calculator/useBonusCalculatorParams.js +3 -2
- package/dist/components/Calculator/useBonusCalculatorParams.js.map +1 -1
- package/dist/components/Calculator/useCalculatorParams.d.ts +1 -2
- package/dist/components/Calculator/useCalculatorParams.js +3 -2
- package/dist/components/Calculator/useCalculatorParams.js.map +1 -1
- package/dist/components/Calculator/useCreditCalculatorParams.d.ts +1 -2
- package/dist/components/Calculator/useCreditCalculatorParams.js +2 -2
- package/dist/components/Calculator/useCreditCalculatorParams.js.map +1 -1
- package/dist/components/Catalog/Catalog.d.ts +1 -1
- package/dist/components/Catalog/Catalog.js +3 -2
- package/dist/components/Catalog/Catalog.js.map +1 -1
- package/dist/components/Catalog/CatalogCard.d.ts +1 -1
- package/dist/components/ComparisonTable/ComparisonTable.d.ts +1 -1
- package/dist/components/ComparisonTable/ComparisonTable.js +2 -1
- package/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
- package/dist/components/ComparisonTable/ComparisonTable.mobile.d.ts +1 -1
- package/dist/components/ComparisonTable/ComparisonTable.mobile.js +2 -1
- package/dist/components/ComparisonTable/ComparisonTable.mobile.js.map +1 -1
- package/dist/components/ComparisonTable/ComparisonTableBody.d.ts +1 -1
- package/dist/components/ComparisonTable/ComparisonTableBody.js +3 -2
- package/dist/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
- package/dist/components/ComparisonTable/ComparisonTableColumnHeaders.d.ts +1 -1
- package/dist/components/ComparisonTable/ComparisonTableRows.d.ts +1 -1
- package/dist/components/ComparisonTable/HeaderCell.d.ts +1 -1
- package/dist/components/ComparisonTable/HeaderCell.mobile.d.ts +1 -1
- package/dist/components/ComparisonTable/TableCarouselContainer.d.ts +1 -1
- package/dist/components/ComparisonTable/TableCell.d.ts +1 -1
- package/dist/components/ComparisonTable/TableCell.mobile.d.ts +1 -1
- package/dist/components/ComparisonTable/TableColumn.d.ts +1 -1
- package/dist/components/ComparisonTable/TableRow.d.ts +1 -1
- package/dist/components/ComparisonTable/TableRowContainer.d.ts +1 -4
- package/dist/components/ContentPage/ContentPage.d.ts +3 -3
- package/dist/components/ContentPage/ContentPage.js.map +1 -1
- package/dist/components/ContentPage/ContentPageContext.d.ts +1 -19
- package/dist/components/ContentPage/ContentPageHead.d.ts +1 -1
- package/dist/components/ExchangeRateTile/CurrencyTable.d.ts +1 -1
- package/dist/components/ExchangeRateTile/CurrentLocation.d.ts +1 -1
- package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +1 -1
- package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +2 -1
- package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
- package/dist/components/ExchangeRateTile/ExchangeRateTile.d.ts +1 -1
- package/dist/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
- package/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
- package/dist/components/Footer/Contacts.d.ts +1 -1
- package/dist/components/Footer/Footer.d.ts +1 -1
- package/dist/components/Footer/Footer.mobile.d.ts +1 -1
- package/dist/components/Footer/Footer.mobile.js +1 -1
- package/dist/components/Footer/Footer.mobile.js.map +1 -1
- package/dist/components/Footer/HorizontalNavigation.d.ts +1 -1
- package/dist/components/Footer/HorizontalNavigation.mobile.d.ts +1 -1
- package/dist/components/Footer/HorizontalNavigationLink.d.ts +1 -1
- package/dist/components/Footer/MediaButton.d.ts +1 -1
- package/dist/components/Footer/Sitemap.d.ts +1 -1
- package/dist/components/Footer/Sitemap.js +2 -2
- package/dist/components/Footer/Sitemap.js.map +1 -1
- package/dist/components/Footer/SocialMedia.d.ts +1 -1
- package/dist/components/Footer/SocialMedia.mobile.d.ts +1 -1
- package/dist/components/Footer/TextInformation.d.ts +1 -1
- package/dist/components/Footer/TextInformation.mobile.d.ts +1 -1
- package/dist/components/Footer/TextInformationLink.d.ts +1 -1
- package/dist/components/Gallery/Gallery.d.ts +1 -1
- package/dist/components/Gallery/Gallery.mobile.d.ts +1 -1
- package/dist/components/Gallery/GalleryCardInner.d.ts +1 -1
- package/dist/components/Gallery/GalleryContainer.d.ts +1 -1
- package/dist/components/Gallery/GalleryInner.d.ts +1 -1
- package/dist/components/Gallery/GalleryInner.js +2 -1
- package/dist/components/Gallery/GalleryInner.js.map +1 -1
- package/dist/components/GracePeriod/GracePeriod.d.ts +1 -1
- package/dist/components/GroupBlock/EmbeddableGroupBlocks.d.ts +2 -2
- package/dist/components/GroupBlock/GroupBlock.d.ts +1 -1
- package/dist/components/GroupBlock/GroupBlock.js +2 -1
- package/dist/components/GroupBlock/GroupBlock.js.map +1 -1
- package/dist/components/GroupBlock/GroupBlockTabs.d.ts +1 -1
- package/dist/components/GroupBlock/GroupBlocksItem.d.ts +1 -1
- package/dist/components/Header/DropdownMenu.d.ts +1 -1
- package/dist/components/Header/Header.d.ts +1 -1
- package/dist/components/Header/Header.js +2 -2
- package/dist/components/Header/Header.js.map +1 -1
- package/dist/components/Header/Header.mobile.d.ts +1 -1
- package/dist/components/Header/Header.mobile.js +3 -2
- package/dist/components/Header/Header.mobile.js.map +1 -1
- package/dist/components/Header/HeaderBurger.d.ts +1 -1
- package/dist/components/Header/HeaderBurger.js +2 -1
- package/dist/components/Header/HeaderBurger.js.map +1 -1
- package/dist/components/Header/HeaderSecondaryMenu.d.ts +3 -3
- package/dist/components/Header/HeaderSecondaryMenu.js +3 -2
- package/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
- package/dist/components/Header/HeaderSecondaryMenuButton.d.ts +1 -1
- package/dist/components/Header/HeaderSubMenu.d.ts +1 -1
- package/dist/components/Header/HeaderSubMenu.js +3 -2
- package/dist/components/Header/HeaderSubMenu.js.map +1 -1
- package/dist/components/Header/HeaderTop.d.ts +1 -1
- package/dist/components/Headline/Headline.d.ts +1 -1
- package/dist/components/Headline/Headline.mobile.d.ts +1 -1
- package/dist/components/Insurance/Insurance.d.ts +1 -1
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +1 -1
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +2 -1
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +1 -1
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +4 -3
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/dist/components/LikeControl/LikeControl.d.ts +1 -1
- package/dist/components/LikeControl/LikeControl.js +6 -2
- package/dist/components/LikeControl/LikeControl.js.map +1 -1
- package/dist/components/LinkDocs/LinkDocs.d.ts +1 -1
- package/dist/components/LinkDocs/LinkDocs.js +1 -1
- package/dist/components/LinkDocs/LinkDocs.js.map +1 -1
- package/dist/components/LinkDocs/LinkDocs.mobile.d.ts +1 -1
- package/dist/components/LinkDocs/LinkDocsHorizontalList.d.ts +1 -1
- package/dist/components/LinkDocs/LinkDocsList.d.ts +1 -1
- package/dist/components/LinkDocs/LinkDocsListItem.d.ts +1 -1
- package/dist/components/LinkDocs/LinkDocsListItem.mobile.d.ts +1 -1
- package/dist/components/LinkDocs/LinkDocsListItemBase.d.ts +1 -1
- package/dist/components/LinkDocs/LinkDocsVerticalList.d.ts +1 -1
- package/dist/components/LinkList/LinkList.d.ts +1 -1
- package/dist/components/MiniGallery/MiniGallery.d.ts +1 -1
- package/dist/components/MobileAppTile/MobileAppTile.d.ts +1 -1
- package/dist/components/MobileAppTile/MobileAppTile.mobile.d.ts +1 -1
- package/dist/components/Navigation/Navigation.d.ts +1 -1
- package/dist/components/Navigation/NavigationItem.d.ts +2 -2
- package/dist/components/NavigatorTabs/NavigatorTabItem.d.ts +1 -1
- package/dist/components/NavigatorTabs/NavigatorTabs.d.ts +1 -1
- package/dist/components/OtherProducts/OtherProducts.d.ts +1 -1
- package/dist/components/OtherProducts/OtherProductsItem.d.ts +1 -1
- package/dist/components/PictureText/PictureText.d.ts +1 -1
- package/dist/components/Placeholder/Placeholder.d.ts +1 -1
- package/dist/components/ProductBlock/ProductBlock.d.ts +1 -1
- package/dist/components/ProductBlock/ProductBlock.mobile.d.ts +1 -1
- package/dist/components/ProductBlock/ProductBlockInner.d.ts +1 -1
- package/dist/components/ProductBlock/ProductBlockInner.mobile.d.ts +1 -1
- package/dist/components/ProductGallery/ProductGallery.d.ts +1 -1
- package/dist/components/ProductGallery/ProductGallery.js +2 -1
- package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
- package/dist/components/ProductGallery/ProductGallery.mobile.d.ts +1 -1
- package/dist/components/ProductGallery/ProductGalleryBlock.d.ts +1 -1
- package/dist/components/ProductTile/ProductTile.d.ts +1 -1
- package/dist/components/ProductTile/ProductTile.js +1 -1
- package/dist/components/ProductTile/ProductTile.js.map +1 -1
- package/dist/components/PromoTile/PromoTile.d.ts +1 -1
- package/dist/components/PromoTile/PromoTile.js +1 -1
- package/dist/components/PromoTile/PromoTile.js.map +1 -1
- package/dist/components/Recommendation/Recommendation.d.ts +1 -1
- package/dist/components/Recommendation/Recommendation.js +2 -1
- package/dist/components/Recommendation/Recommendation.js.map +1 -1
- package/dist/components/Recommendation/RecommendationCard.d.ts +1 -1
- package/dist/components/SafeDepositRental/SafeDepositRental.d.ts +1 -1
- package/dist/components/SafeDepositRental/SafeDepositRental.js +3 -2
- package/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/dist/components/SafeDepositRental/SafeDepositRentalForm.d.ts +1 -8
- package/dist/components/SafeDepositRental/SafeDepositRentalForm.js +17 -16
- package/dist/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
- package/dist/components/StepsBlock/StepsBlock.d.ts +1 -1
- package/dist/components/StepsBlock/StepsBlock.mobile.d.ts +1 -1
- package/dist/components/Tabs/Tabs.d.ts +1 -1
- package/dist/components/Tabs/Tabs.js +3 -2
- package/dist/components/Tabs/Tabs.js.map +1 -1
- package/dist/components/TariffsTable/TableTileHeader.d.ts +1 -1
- package/dist/components/TariffsTable/TariffsTable.d.ts +1 -1
- package/dist/components/TariffsTable/TariffsTable.js +2 -1
- package/dist/components/TariffsTable/TariffsTable.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTable.mobile.d.ts +1 -1
- package/dist/components/TariffsTable/TariffsTableCell.d.ts +1 -1
- package/dist/components/TariffsTable/TariffsTableHorizontal.d.ts +2 -2
- package/dist/components/TariffsTable/TariffsTableRow.d.ts +1 -1
- package/dist/components/TariffsTable/TariffsTableTileCell.d.ts +1 -1
- package/dist/components/TariffsTable/TariffsTableVertical.d.ts +2 -2
- package/dist/components/TextBlock/TextBlock.d.ts +1 -1
- package/dist/components/TextBlock/TextBlock.mobile.d.ts +1 -1
- package/dist/components/Tile/Tile.d.ts +1 -1
- package/dist/components/Tile/Tile.js +1 -1
- package/dist/components/Tile/Tile.js.map +1 -1
- package/dist/hooks/useExchangeRates.d.ts +1 -2
- package/dist/hooks/useExchangeRates.js +3 -2
- package/dist/hooks/useExchangeRates.js.map +1 -1
- package/dist/hooks/useGeolocation.d.ts +1 -0
- package/dist/hooks/useGeolocation.js +21 -0
- package/dist/hooks/useGeolocation.js.map +1 -0
- package/dist/hooks/useLikeService.d.ts +5 -0
- package/dist/hooks/useLikeService.js +27 -0
- package/dist/hooks/useLikeService.js.map +1 -0
- package/dist/hooks/useLink.d.ts +1 -0
- package/dist/hooks/useLink.js +3 -2
- package/dist/hooks/useLink.js.map +1 -1
- package/dist/hooks/useSafeDepositRental.d.ts +1 -2
- package/dist/hooks/useSafeDepositRental.js +3 -2
- package/dist/hooks/useSafeDepositRental.js.map +1 -1
- package/dist/hooks/useSearch.d.ts +4 -0
- package/dist/hooks/useSearch.js +12 -0
- package/dist/hooks/useSearch.js.map +1 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.js +5 -3
- package/dist/index.js.map +1 -1
- package/dist/react/setup-fixture.d.ts +1 -0
- package/dist/react/setup-fixture.js +1 -48
- package/dist/react/setup-fixture.js.map +1 -1
- package/dist/services/sitemap/useSitemap.d.ts +1 -2
- package/dist/services/sitemap/useSitemap.js +3 -2
- package/dist/services/sitemap/useSitemap.js.map +1 -1
- package/dist/ui-kit/BlockWrapper.d.ts +1 -1
- package/dist/ui-kit/BlockWrapper.js +3 -2
- package/dist/ui-kit/BlockWrapper.js.map +1 -1
- package/dist/ui-kit/BlocksList/BlocksListProps.d.ts +0 -2
- package/dist/ui-kit/BlocksList/EmbeddableBlocks.d.ts +10 -10
- package/dist/ui-kit/BlocksList/EmbeddableBlocks.mobile.d.ts +6 -6
- package/dist/ui-kit/Breadcrumb.d.ts +1 -1
- package/dist/ui-kit/Button/ArrowButton.d.ts +1 -1
- package/dist/ui-kit/Button/Button.d.ts +1 -1
- package/dist/ui-kit/Button/Button.mobile.d.ts +1 -1
- package/dist/ui-kit/Button/ButtonInner.d.ts +1 -1
- package/dist/ui-kit/Button/ButtonSection.d.ts +1 -1
- package/dist/ui-kit/Button/LikeButton.d.ts +1 -1
- package/dist/ui-kit/Checkbox/Checkbox.d.ts +1 -1
- package/dist/ui-kit/Checkbox/Checkbox.js +5 -3
- package/dist/ui-kit/Checkbox/Checkbox.js.map +1 -1
- package/dist/ui-kit/Description/Description.d.ts +1 -1
- package/dist/ui-kit/Foldable/Foldable.d.ts +1 -1
- package/dist/ui-kit/Foldable/Foldable.js +1 -2
- package/dist/ui-kit/Foldable/Foldable.js.map +1 -1
- package/dist/ui-kit/Foldable/useActiveHandler.d.ts +1 -3
- package/dist/ui-kit/Foldable/useActiveHandler.js +3 -2
- package/dist/ui-kit/Foldable/useActiveHandler.js.map +1 -1
- package/dist/ui-kit/HeaderItem/HeaderItem.d.ts +1 -1
- package/dist/ui-kit/HeaderItem/HeaderItem.mobile.d.ts +1 -1
- package/dist/ui-kit/Heading/Heading.d.ts +1 -1
- package/dist/ui-kit/Heading/Heading.mobile.d.ts +1 -1
- package/dist/ui-kit/Icon/Icon.d.ts +1 -1
- package/dist/ui-kit/Img/Img.d.ts +1 -1
- package/dist/ui-kit/Img/Img.mobile.d.ts +1 -1
- package/dist/ui-kit/Img/ImgAsPicture.d.ts +1 -1
- package/dist/ui-kit/Img/ImgInner.d.ts +1 -1
- package/dist/ui-kit/Input/Input.d.ts +1 -1
- package/dist/ui-kit/InputRange/InputRange.d.ts +1 -1
- package/dist/ui-kit/InputRange/InputRange.js +4 -3
- package/dist/ui-kit/InputRange/InputRange.js.map +1 -1
- package/dist/ui-kit/InputRange/InputRangeProps.d.ts +1 -0
- package/dist/ui-kit/List/List.d.ts +1 -1
- package/dist/ui-kit/List/ListItem.d.ts +1 -1
- package/dist/ui-kit/Logo/Logo.d.ts +1 -1
- package/dist/ui-kit/Logo/Logo.mobile.d.ts +1 -1
- package/dist/ui-kit/Radio/Radio.d.ts +1 -1
- package/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +1 -1
- package/dist/ui-kit/SVG.d.ts +1 -1
- package/dist/ui-kit/SearchBar/SearchBar.d.ts +1 -1
- package/dist/ui-kit/SearchBar/SearchBar.js +2 -2
- package/dist/ui-kit/SearchBar/SearchBar.js.map +1 -1
- package/dist/ui-kit/SearchBar/SearchBar.mobile.d.ts +1 -1
- package/dist/ui-kit/SearchBar/SearchBar.mobile.js +2 -2
- package/dist/ui-kit/SearchBar/SearchBar.mobile.js.map +1 -1
- package/dist/ui-kit/SearchBar/SearchBarInner.d.ts +3 -3
- package/dist/ui-kit/SearchBar/SearchBarInner.js +3 -2
- package/dist/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
- package/dist/ui-kit/Select/Select.d.ts +1 -1
- package/dist/ui-kit/Select/SelectOption.d.ts +1 -1
- package/dist/ui-kit/SwipeListControl/SwipeListControl.d.ts +1 -1
- package/dist/ui-kit/SwipeListControl/SwipeListControl.js +4 -3
- package/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
- package/dist/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +1 -1
- package/dist/ui-kit/SwipeListControl/SwipeListControlItem.d.ts +1 -1
- package/dist/ui-kit/SwipeListControl/SwipeListControlList.d.ts +1 -1
- package/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControl.d.ts +1 -1
- package/dist/ui-kit/Tabs/Tabs.d.ts +1 -1
- package/dist/ui-kit/TopItem/TopItem.d.ts +1 -1
- package/lib/ProjectSettings.d.ts +2 -3
- package/lib/ProjectSettings.js +2 -2
- package/lib/ProjectSettings.js.map +1 -1
- package/lib/api/LikeAPI.d.ts +1 -1
- package/lib/api/LikeAPI.js +6 -5
- package/lib/api/LikeAPI.js.map +1 -1
- package/lib/common.css +1 -1
- package/lib/components/Accordion/Accordion.d.ts +1 -1
- package/lib/components/Accordion/Accordion.js +1 -1
- package/lib/components/Accordion/Accordion.js.map +1 -1
- package/lib/components/Accordion/Accordion.mobile.d.ts +1 -1
- package/lib/components/Accordion/AccordionItem.d.ts +1 -1
- package/lib/components/Accordion/AccordionItem.js +0 -1
- package/lib/components/Accordion/AccordionItem.js.map +1 -1
- package/lib/components/Accordion/AccordionItem.mobile.d.ts +1 -1
- package/lib/components/Accordion/AccordionItem.mobile.js +1 -4
- package/lib/components/Accordion/AccordionItem.mobile.js.map +1 -1
- package/lib/components/Accordion/AccordionItemInner.d.ts +1 -1
- package/lib/components/Accordion/AccordionItemInner.mobile.d.ts +1 -1
- package/lib/components/Accordion/useActiveHandler.d.ts +1 -1
- package/lib/components/Accordion/useActiveHandler.js +3 -2
- package/lib/components/Accordion/useActiveHandler.js.map +1 -1
- package/lib/components/BaseTile/BaseTile.d.ts +1 -1
- package/lib/components/BenefitsBlock/BenefitsBlock.d.ts +1 -1
- package/lib/components/Blocks.d.ts +35 -35
- package/lib/components/Blocks.mobile.d.ts +16 -16
- package/lib/components/Bonus/Bonus.d.ts +1 -1
- package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.d.ts +1 -1
- package/lib/components/Calculator/BonusCalculatorForm.d.ts +1 -1
- package/lib/components/Calculator/BonusCalculatorForm.js +4 -3
- package/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
- package/lib/components/Calculator/Calculator.d.ts +1 -1
- package/lib/components/Calculator/Calculator.js +4 -3
- package/lib/components/Calculator/Calculator.js.map +1 -1
- package/lib/components/Calculator/CalculatorValueBlock.d.ts +1 -1
- package/lib/components/Calculator/CreditCalculatorForm.d.ts +1 -1
- package/lib/components/Calculator/CreditCalculatorForm.js +8 -7
- package/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/lib/components/Calculator/DepositCalculatorForm.d.ts +1 -1
- package/lib/components/Calculator/DepositCalculatorForm.js +3 -2
- package/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
- package/lib/components/Calculator/EmbeddableCalcBlocks.d.ts +4 -4
- package/lib/components/Calculator/MortgageCalculatorForm.d.ts +1 -1
- package/lib/components/Calculator/MortgageCalculatorForm.js +5 -4
- package/lib/components/Calculator/MortgageCalculatorForm.js.map +1 -1
- package/lib/components/Calculator/Rate.d.ts +1 -1
- package/lib/components/Calculator/renderCalculatorBlock.js +1 -1
- package/lib/components/Calculator/renderCalculatorBlock.js.map +1 -1
- package/lib/components/Calculator/useBonusCalculatorParams.d.ts +1 -2
- package/lib/components/Calculator/useBonusCalculatorParams.js +3 -2
- package/lib/components/Calculator/useBonusCalculatorParams.js.map +1 -1
- package/lib/components/Calculator/useCalculatorParams.d.ts +1 -2
- package/lib/components/Calculator/useCalculatorParams.js +2 -1
- package/lib/components/Calculator/useCalculatorParams.js.map +1 -1
- package/lib/components/Calculator/useCreditCalculatorParams.d.ts +1 -2
- package/lib/components/Calculator/useCreditCalculatorParams.js +2 -2
- package/lib/components/Calculator/useCreditCalculatorParams.js.map +1 -1
- package/lib/components/Catalog/Catalog.d.ts +1 -1
- package/lib/components/Catalog/Catalog.js +3 -2
- package/lib/components/Catalog/Catalog.js.map +1 -1
- package/lib/components/Catalog/CatalogCard.d.ts +1 -1
- package/lib/components/ComparisonTable/ComparisonTable.d.ts +1 -1
- package/lib/components/ComparisonTable/ComparisonTable.js +2 -1
- package/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
- package/lib/components/ComparisonTable/ComparisonTable.mobile.d.ts +1 -1
- package/lib/components/ComparisonTable/ComparisonTable.mobile.js +2 -1
- package/lib/components/ComparisonTable/ComparisonTable.mobile.js.map +1 -1
- package/lib/components/ComparisonTable/ComparisonTableBody.d.ts +1 -1
- package/lib/components/ComparisonTable/ComparisonTableBody.js +3 -2
- package/lib/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
- package/lib/components/ComparisonTable/ComparisonTableColumnHeaders.d.ts +1 -1
- package/lib/components/ComparisonTable/ComparisonTableRows.d.ts +1 -1
- package/lib/components/ComparisonTable/HeaderCell.d.ts +1 -1
- package/lib/components/ComparisonTable/HeaderCell.mobile.d.ts +1 -1
- package/lib/components/ComparisonTable/TableCarouselContainer.d.ts +1 -1
- package/lib/components/ComparisonTable/TableCell.d.ts +1 -1
- package/lib/components/ComparisonTable/TableCell.mobile.d.ts +1 -1
- package/lib/components/ComparisonTable/TableColumn.d.ts +1 -1
- package/lib/components/ComparisonTable/TableRow.d.ts +1 -1
- package/lib/components/ComparisonTable/TableRowContainer.d.ts +1 -4
- package/lib/components/ContentPage/ContentPage.d.ts +3 -3
- package/lib/components/ContentPage/ContentPage.js.map +1 -1
- package/lib/components/ContentPage/ContentPageContext.d.ts +1 -19
- package/lib/components/ContentPage/ContentPageHead.d.ts +1 -1
- package/lib/components/ExchangeRateTile/CurrencyTable.d.ts +1 -1
- package/lib/components/ExchangeRateTile/CurrentLocation.d.ts +1 -1
- package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +1 -1
- package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +2 -1
- package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
- package/lib/components/ExchangeRateTile/ExchangeRateTile.d.ts +1 -1
- package/lib/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
- package/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
- package/lib/components/Footer/Contacts.d.ts +1 -1
- package/lib/components/Footer/Footer.d.ts +1 -1
- package/lib/components/Footer/Footer.mobile.d.ts +1 -1
- package/lib/components/Footer/Footer.mobile.js +1 -1
- package/lib/components/Footer/Footer.mobile.js.map +1 -1
- package/lib/components/Footer/HorizontalNavigation.d.ts +1 -1
- package/lib/components/Footer/HorizontalNavigation.mobile.d.ts +1 -1
- package/lib/components/Footer/HorizontalNavigationLink.d.ts +1 -1
- package/lib/components/Footer/MediaButton.d.ts +1 -1
- package/lib/components/Footer/Sitemap.d.ts +1 -1
- package/lib/components/Footer/Sitemap.js +2 -2
- package/lib/components/Footer/Sitemap.js.map +1 -1
- package/lib/components/Footer/SocialMedia.d.ts +1 -1
- package/lib/components/Footer/SocialMedia.mobile.d.ts +1 -1
- package/lib/components/Footer/TextInformation.d.ts +1 -1
- package/lib/components/Footer/TextInformation.mobile.d.ts +1 -1
- package/lib/components/Footer/TextInformationLink.d.ts +1 -1
- package/lib/components/Gallery/Gallery.d.ts +1 -1
- package/lib/components/Gallery/Gallery.mobile.d.ts +1 -1
- package/lib/components/Gallery/GalleryCardInner.d.ts +1 -1
- package/lib/components/Gallery/GalleryContainer.d.ts +1 -1
- package/lib/components/Gallery/GalleryInner.d.ts +1 -1
- package/lib/components/Gallery/GalleryInner.js +2 -1
- package/lib/components/Gallery/GalleryInner.js.map +1 -1
- package/lib/components/GracePeriod/GracePeriod.d.ts +1 -1
- package/lib/components/GroupBlock/EmbeddableGroupBlocks.d.ts +2 -2
- package/lib/components/GroupBlock/GroupBlock.d.ts +1 -1
- package/lib/components/GroupBlock/GroupBlock.js +2 -1
- package/lib/components/GroupBlock/GroupBlock.js.map +1 -1
- package/lib/components/GroupBlock/GroupBlockTabs.d.ts +1 -1
- package/lib/components/GroupBlock/GroupBlocksItem.d.ts +1 -1
- package/lib/components/Header/DropdownMenu.d.ts +1 -1
- package/lib/components/Header/Header.d.ts +1 -1
- package/lib/components/Header/Header.js +2 -2
- package/lib/components/Header/Header.js.map +1 -1
- package/lib/components/Header/Header.mobile.d.ts +1 -1
- package/lib/components/Header/Header.mobile.js +3 -2
- package/lib/components/Header/Header.mobile.js.map +1 -1
- package/lib/components/Header/HeaderBurger.d.ts +1 -1
- package/lib/components/Header/HeaderBurger.js +2 -1
- package/lib/components/Header/HeaderBurger.js.map +1 -1
- package/lib/components/Header/HeaderSecondaryMenu.d.ts +3 -3
- package/lib/components/Header/HeaderSecondaryMenu.js +3 -2
- package/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
- package/lib/components/Header/HeaderSecondaryMenuButton.d.ts +1 -1
- package/lib/components/Header/HeaderSubMenu.d.ts +1 -1
- package/lib/components/Header/HeaderSubMenu.js +3 -2
- package/lib/components/Header/HeaderSubMenu.js.map +1 -1
- package/lib/components/Header/HeaderTop.d.ts +1 -1
- package/lib/components/Headline/Headline.d.ts +1 -1
- package/lib/components/Headline/Headline.mobile.d.ts +1 -1
- package/lib/components/Insurance/Insurance.d.ts +1 -1
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +1 -1
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +2 -1
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +1 -1
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +4 -3
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/lib/components/LikeControl/LikeControl.d.ts +1 -1
- package/lib/components/LikeControl/LikeControl.js +6 -2
- package/lib/components/LikeControl/LikeControl.js.map +1 -1
- package/lib/components/LinkDocs/LinkDocs.d.ts +1 -1
- package/lib/components/LinkDocs/LinkDocs.js +1 -1
- package/lib/components/LinkDocs/LinkDocs.js.map +1 -1
- package/lib/components/LinkDocs/LinkDocs.mobile.d.ts +1 -1
- package/lib/components/LinkDocs/LinkDocsHorizontalList.d.ts +1 -1
- package/lib/components/LinkDocs/LinkDocsList.d.ts +1 -1
- package/lib/components/LinkDocs/LinkDocsListItem.d.ts +1 -1
- package/lib/components/LinkDocs/LinkDocsListItem.mobile.d.ts +1 -1
- package/lib/components/LinkDocs/LinkDocsListItemBase.d.ts +1 -1
- package/lib/components/LinkDocs/LinkDocsVerticalList.d.ts +1 -1
- package/lib/components/LinkList/LinkList.d.ts +1 -1
- package/lib/components/MiniGallery/MiniGallery.d.ts +1 -1
- package/lib/components/MobileAppTile/MobileAppTile.d.ts +1 -1
- package/lib/components/MobileAppTile/MobileAppTile.mobile.d.ts +1 -1
- package/lib/components/Navigation/Navigation.d.ts +1 -1
- package/lib/components/Navigation/NavigationItem.d.ts +2 -2
- package/lib/components/NavigatorTabs/NavigatorTabItem.d.ts +1 -1
- package/lib/components/NavigatorTabs/NavigatorTabs.d.ts +1 -1
- package/lib/components/OtherProducts/OtherProducts.d.ts +1 -1
- package/lib/components/OtherProducts/OtherProductsItem.d.ts +1 -1
- package/lib/components/PictureText/PictureText.d.ts +1 -1
- package/lib/components/Placeholder/Placeholder.d.ts +1 -1
- package/lib/components/ProductBlock/ProductBlock.d.ts +1 -1
- package/lib/components/ProductBlock/ProductBlock.mobile.d.ts +1 -1
- package/lib/components/ProductBlock/ProductBlockInner.d.ts +1 -1
- package/lib/components/ProductBlock/ProductBlockInner.mobile.d.ts +1 -1
- package/lib/components/ProductGallery/ProductGallery.d.ts +1 -1
- package/lib/components/ProductGallery/ProductGallery.js +2 -1
- package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
- package/lib/components/ProductGallery/ProductGallery.mobile.d.ts +1 -1
- package/lib/components/ProductGallery/ProductGalleryBlock.d.ts +1 -1
- package/lib/components/ProductTile/ProductTile.d.ts +1 -1
- package/lib/components/ProductTile/ProductTile.js +1 -1
- package/lib/components/ProductTile/ProductTile.js.map +1 -1
- package/lib/components/PromoTile/PromoTile.d.ts +1 -1
- package/lib/components/PromoTile/PromoTile.js +1 -1
- package/lib/components/PromoTile/PromoTile.js.map +1 -1
- package/lib/components/Recommendation/Recommendation.d.ts +1 -1
- package/lib/components/Recommendation/Recommendation.js +2 -1
- package/lib/components/Recommendation/Recommendation.js.map +1 -1
- package/lib/components/Recommendation/RecommendationCard.d.ts +1 -1
- package/lib/components/SafeDepositRental/SafeDepositRental.d.ts +1 -1
- package/lib/components/SafeDepositRental/SafeDepositRental.js +3 -2
- package/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/lib/components/SafeDepositRental/SafeDepositRentalForm.d.ts +1 -8
- package/lib/components/SafeDepositRental/SafeDepositRentalForm.js +17 -15
- package/lib/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
- package/lib/components/StepsBlock/StepsBlock.d.ts +1 -1
- package/lib/components/StepsBlock/StepsBlock.mobile.d.ts +1 -1
- package/lib/components/Tabs/Tabs.d.ts +1 -1
- package/lib/components/Tabs/Tabs.js +3 -2
- package/lib/components/Tabs/Tabs.js.map +1 -1
- package/lib/components/TariffsTable/TableTileHeader.d.ts +1 -1
- package/lib/components/TariffsTable/TariffsTable.d.ts +1 -1
- package/lib/components/TariffsTable/TariffsTable.js +2 -1
- package/lib/components/TariffsTable/TariffsTable.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTable.mobile.d.ts +1 -1
- package/lib/components/TariffsTable/TariffsTableCell.d.ts +1 -1
- package/lib/components/TariffsTable/TariffsTableHorizontal.d.ts +2 -2
- package/lib/components/TariffsTable/TariffsTableRow.d.ts +1 -1
- package/lib/components/TariffsTable/TariffsTableTileCell.d.ts +1 -1
- package/lib/components/TariffsTable/TariffsTableVertical.d.ts +2 -2
- package/lib/components/TextBlock/TextBlock.d.ts +1 -1
- package/lib/components/TextBlock/TextBlock.mobile.d.ts +1 -1
- package/lib/components/Tile/Tile.d.ts +1 -1
- package/lib/components/Tile/Tile.js +1 -1
- package/lib/components/Tile/Tile.js.map +1 -1
- package/lib/hooks/useExchangeRates.d.ts +1 -2
- package/lib/hooks/useExchangeRates.js +2 -1
- package/lib/hooks/useExchangeRates.js.map +1 -1
- package/lib/hooks/useGeolocation.d.ts +1 -0
- package/lib/hooks/useGeolocation.js +18 -0
- package/lib/hooks/useGeolocation.js.map +1 -0
- package/lib/hooks/useLikeService.d.ts +5 -0
- package/lib/hooks/useLikeService.js +24 -0
- package/lib/hooks/useLikeService.js.map +1 -0
- package/lib/hooks/useLink.d.ts +1 -0
- package/lib/hooks/useLink.js +1 -1
- package/lib/hooks/useLink.js.map +1 -1
- package/lib/hooks/useSafeDepositRental.d.ts +1 -2
- package/lib/hooks/useSafeDepositRental.js +2 -1
- package/lib/hooks/useSafeDepositRental.js.map +1 -1
- package/lib/hooks/useSearch.d.ts +4 -0
- package/lib/hooks/useSearch.js +9 -0
- package/lib/hooks/useSearch.js.map +1 -0
- package/lib/index.d.ts +2 -1
- package/lib/index.js +2 -1
- package/lib/index.js.map +1 -1
- package/lib/react/setup-fixture.d.ts +1 -0
- package/lib/react/setup-fixture.js +2 -46
- package/lib/react/setup-fixture.js.map +1 -1
- package/lib/services/sitemap/useSitemap.d.ts +1 -2
- package/lib/services/sitemap/useSitemap.js +2 -1
- package/lib/services/sitemap/useSitemap.js.map +1 -1
- package/lib/ui-kit/BlockWrapper.d.ts +1 -1
- package/lib/ui-kit/BlockWrapper.js +3 -2
- package/lib/ui-kit/BlockWrapper.js.map +1 -1
- package/lib/ui-kit/BlocksList/BlocksListProps.d.ts +0 -2
- package/lib/ui-kit/BlocksList/EmbeddableBlocks.d.ts +10 -10
- package/lib/ui-kit/BlocksList/EmbeddableBlocks.mobile.d.ts +6 -6
- package/lib/ui-kit/Breadcrumb.d.ts +1 -1
- package/lib/ui-kit/Button/ArrowButton.d.ts +1 -1
- package/lib/ui-kit/Button/Button.d.ts +1 -1
- package/lib/ui-kit/Button/Button.mobile.d.ts +1 -1
- package/lib/ui-kit/Button/ButtonInner.d.ts +1 -1
- package/lib/ui-kit/Button/ButtonSection.d.ts +1 -1
- package/lib/ui-kit/Button/LikeButton.d.ts +1 -1
- package/lib/ui-kit/Checkbox/Checkbox.d.ts +1 -1
- package/lib/ui-kit/Checkbox/Checkbox.js +5 -3
- package/lib/ui-kit/Checkbox/Checkbox.js.map +1 -1
- package/lib/ui-kit/Description/Description.d.ts +1 -1
- package/lib/ui-kit/Foldable/Foldable.d.ts +1 -1
- package/lib/ui-kit/Foldable/Foldable.js +1 -2
- package/lib/ui-kit/Foldable/Foldable.js.map +1 -1
- package/lib/ui-kit/Foldable/useActiveHandler.d.ts +1 -3
- package/lib/ui-kit/Foldable/useActiveHandler.js +3 -2
- package/lib/ui-kit/Foldable/useActiveHandler.js.map +1 -1
- package/lib/ui-kit/HeaderItem/HeaderItem.d.ts +1 -1
- package/lib/ui-kit/HeaderItem/HeaderItem.mobile.d.ts +1 -1
- package/lib/ui-kit/Heading/Heading.d.ts +1 -1
- package/lib/ui-kit/Heading/Heading.mobile.d.ts +1 -1
- package/lib/ui-kit/Icon/Icon.d.ts +1 -1
- package/lib/ui-kit/Img/Img.d.ts +1 -1
- package/lib/ui-kit/Img/Img.mobile.d.ts +1 -1
- package/lib/ui-kit/Img/ImgAsPicture.d.ts +1 -1
- package/lib/ui-kit/Img/ImgInner.d.ts +1 -1
- package/lib/ui-kit/Input/Input.d.ts +1 -1
- package/lib/ui-kit/InputRange/InputRange.d.ts +1 -1
- package/lib/ui-kit/InputRange/InputRange.js +4 -3
- package/lib/ui-kit/InputRange/InputRange.js.map +1 -1
- package/lib/ui-kit/InputRange/InputRangeProps.d.ts +1 -0
- package/lib/ui-kit/List/List.d.ts +1 -1
- package/lib/ui-kit/List/ListItem.d.ts +1 -1
- package/lib/ui-kit/Logo/Logo.d.ts +1 -1
- package/lib/ui-kit/Logo/Logo.mobile.d.ts +1 -1
- package/lib/ui-kit/Radio/Radio.d.ts +1 -1
- package/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +1 -1
- package/lib/ui-kit/SVG.d.ts +1 -1
- package/lib/ui-kit/SearchBar/SearchBar.d.ts +1 -1
- package/lib/ui-kit/SearchBar/SearchBar.js +2 -2
- package/lib/ui-kit/SearchBar/SearchBar.js.map +1 -1
- package/lib/ui-kit/SearchBar/SearchBar.mobile.d.ts +1 -1
- package/lib/ui-kit/SearchBar/SearchBar.mobile.js +2 -2
- package/lib/ui-kit/SearchBar/SearchBar.mobile.js.map +1 -1
- package/lib/ui-kit/SearchBar/SearchBarInner.d.ts +3 -3
- package/lib/ui-kit/SearchBar/SearchBarInner.js +3 -2
- package/lib/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
- package/lib/ui-kit/Select/Select.d.ts +1 -1
- package/lib/ui-kit/Select/SelectOption.d.ts +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListControl.d.ts +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListControl.js +4 -3
- package/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListControlItem.d.ts +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListControlList.d.ts +1 -1
- package/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControl.d.ts +1 -1
- package/lib/ui-kit/Tabs/Tabs.d.ts +1 -1
- package/lib/ui-kit/TopItem/TopItem.d.ts +1 -1
- package/mobile/bundle/bundle.umd.js +1897 -1794
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/dist/ProjectSettings.d.ts +2 -3
- package/mobile/dist/ProjectSettings.js +2 -2
- package/mobile/dist/ProjectSettings.js.map +1 -1
- package/mobile/dist/api/LikeAPI.d.ts +1 -1
- package/mobile/dist/api/LikeAPI.js +6 -5
- package/mobile/dist/api/LikeAPI.js.map +1 -1
- package/mobile/dist/components/Accordion/Accordion.d.ts +1 -1
- package/mobile/dist/components/Accordion/AccordionItem.d.ts +1 -1
- package/mobile/dist/components/Accordion/AccordionItem.js +1 -4
- package/mobile/dist/components/Accordion/AccordionItem.js.map +1 -1
- package/mobile/dist/components/Accordion/AccordionItemInner.d.ts +1 -1
- package/mobile/dist/components/Accordion/useActiveHandler.d.ts +1 -1
- package/mobile/dist/components/Accordion/useActiveHandler.js +3 -2
- package/mobile/dist/components/Accordion/useActiveHandler.js.map +1 -1
- package/mobile/dist/components/BaseTile/BaseTile.d.ts +1 -1
- package/mobile/dist/components/BenefitsBlock/BenefitsBlock.d.ts +1 -1
- package/mobile/dist/components/Blocks.d.ts +16 -16
- package/mobile/dist/components/Bonus/Bonus.d.ts +1 -1
- package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.d.ts +1 -1
- package/mobile/dist/components/Calculator/BonusCalculatorForm.d.ts +1 -1
- package/mobile/dist/components/Calculator/BonusCalculatorForm.js +4 -3
- package/mobile/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
- package/mobile/dist/components/Calculator/Calculator.d.ts +1 -1
- package/mobile/dist/components/Calculator/Calculator.js +4 -3
- package/mobile/dist/components/Calculator/Calculator.js.map +1 -1
- package/mobile/dist/components/Calculator/CalculatorValueBlock.d.ts +1 -1
- package/mobile/dist/components/Calculator/CreditCalculatorForm.d.ts +1 -1
- package/mobile/dist/components/Calculator/CreditCalculatorForm.js +8 -7
- package/mobile/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/mobile/dist/components/Calculator/DepositCalculatorForm.d.ts +1 -1
- package/mobile/dist/components/Calculator/DepositCalculatorForm.js +3 -2
- package/mobile/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
- package/mobile/dist/components/Calculator/EmbeddableCalcBlocks.d.ts +4 -4
- package/mobile/dist/components/Calculator/MortgageCalculatorForm.d.ts +1 -1
- package/mobile/dist/components/Calculator/MortgageCalculatorForm.js +5 -4
- package/mobile/dist/components/Calculator/MortgageCalculatorForm.js.map +1 -1
- package/mobile/dist/components/Calculator/Rate.d.ts +1 -1
- package/mobile/dist/components/Calculator/renderCalculatorBlock.js +1 -1
- package/mobile/dist/components/Calculator/renderCalculatorBlock.js.map +1 -1
- package/mobile/dist/components/Calculator/useBonusCalculatorParams.d.ts +1 -2
- package/mobile/dist/components/Calculator/useBonusCalculatorParams.js +3 -2
- package/mobile/dist/components/Calculator/useBonusCalculatorParams.js.map +1 -1
- package/mobile/dist/components/Calculator/useCalculatorParams.d.ts +1 -2
- package/mobile/dist/components/Calculator/useCalculatorParams.js +3 -2
- package/mobile/dist/components/Calculator/useCalculatorParams.js.map +1 -1
- package/mobile/dist/components/Calculator/useCreditCalculatorParams.d.ts +1 -2
- package/mobile/dist/components/Calculator/useCreditCalculatorParams.js +2 -2
- package/mobile/dist/components/Calculator/useCreditCalculatorParams.js.map +1 -1
- package/mobile/dist/components/Catalog/Catalog.d.ts +1 -1
- package/mobile/dist/components/Catalog/Catalog.js +3 -2
- package/mobile/dist/components/Catalog/Catalog.js.map +1 -1
- package/mobile/dist/components/Catalog/CatalogCard.d.ts +1 -1
- package/mobile/dist/components/ComparisonTable/ComparisonTable.d.ts +1 -1
- package/mobile/dist/components/ComparisonTable/ComparisonTable.js +2 -1
- package/mobile/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
- package/mobile/dist/components/ComparisonTable/ComparisonTableBody.d.ts +1 -1
- package/mobile/dist/components/ComparisonTable/ComparisonTableBody.js +3 -2
- package/mobile/dist/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
- package/mobile/dist/components/ComparisonTable/ComparisonTableColumnHeaders.d.ts +1 -1
- package/mobile/dist/components/ComparisonTable/ComparisonTableRows.d.ts +1 -1
- package/mobile/dist/components/ComparisonTable/HeaderCell.d.ts +1 -1
- package/mobile/dist/components/ComparisonTable/TableCarouselContainer.d.ts +1 -1
- package/mobile/dist/components/ComparisonTable/TableCell.d.ts +1 -1
- package/mobile/dist/components/ComparisonTable/TableColumn.d.ts +1 -1
- package/mobile/dist/components/ComparisonTable/TableRow.d.ts +1 -1
- package/mobile/dist/components/ComparisonTable/TableRowContainer.d.ts +1 -4
- package/mobile/dist/components/ContentPage/ContentPage.d.ts +3 -3
- package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
- package/mobile/dist/components/ContentPage/ContentPageContext.d.ts +1 -19
- package/mobile/dist/components/ContentPage/ContentPageHead.d.ts +1 -1
- package/mobile/dist/components/ExchangeRateTile/CurrencyTable.d.ts +1 -1
- package/mobile/dist/components/ExchangeRateTile/CurrentLocation.d.ts +1 -1
- package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +1 -1
- package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +2 -1
- package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
- package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.d.ts +1 -1
- package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
- package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
- package/mobile/dist/components/Footer/Contacts.d.ts +1 -1
- package/mobile/dist/components/Footer/Footer.d.ts +1 -1
- package/mobile/dist/components/Footer/Footer.js +1 -1
- package/mobile/dist/components/Footer/Footer.js.map +1 -1
- package/mobile/dist/components/Footer/HorizontalNavigation.d.ts +1 -1
- package/mobile/dist/components/Footer/HorizontalNavigationLink.d.ts +1 -1
- package/mobile/dist/components/Footer/MediaButton.d.ts +1 -1
- package/mobile/dist/components/Footer/Sitemap.d.ts +1 -1
- package/mobile/dist/components/Footer/Sitemap.js +2 -2
- package/mobile/dist/components/Footer/Sitemap.js.map +1 -1
- package/mobile/dist/components/Footer/SocialMedia.d.ts +1 -1
- package/mobile/dist/components/Footer/TextInformation.d.ts +1 -1
- package/mobile/dist/components/Footer/TextInformationLink.d.ts +1 -1
- package/mobile/dist/components/Gallery/Gallery.d.ts +1 -1
- package/mobile/dist/components/Gallery/GalleryCardInner.d.ts +1 -1
- package/mobile/dist/components/Gallery/GalleryContainer.d.ts +1 -1
- package/mobile/dist/components/Gallery/GalleryInner.d.ts +1 -1
- package/mobile/dist/components/Gallery/GalleryInner.js +2 -1
- package/mobile/dist/components/Gallery/GalleryInner.js.map +1 -1
- package/mobile/dist/components/GracePeriod/GracePeriod.d.ts +1 -1
- package/mobile/dist/components/GroupBlock/EmbeddableGroupBlocks.d.ts +2 -2
- package/mobile/dist/components/GroupBlock/GroupBlock.d.ts +1 -1
- package/mobile/dist/components/GroupBlock/GroupBlock.js +2 -1
- package/mobile/dist/components/GroupBlock/GroupBlock.js.map +1 -1
- package/mobile/dist/components/GroupBlock/GroupBlockTabs.d.ts +1 -1
- package/mobile/dist/components/GroupBlock/GroupBlocksItem.d.ts +1 -1
- package/mobile/dist/components/Header/DropdownMenu.d.ts +1 -1
- package/mobile/dist/components/Header/Header.d.ts +1 -1
- package/mobile/dist/components/Header/Header.js +3 -2
- package/mobile/dist/components/Header/Header.js.map +1 -1
- package/mobile/dist/components/Header/HeaderBurger.d.ts +1 -1
- package/mobile/dist/components/Header/HeaderBurger.js +2 -1
- package/mobile/dist/components/Header/HeaderBurger.js.map +1 -1
- package/mobile/dist/components/Header/HeaderSecondaryMenu.d.ts +3 -3
- package/mobile/dist/components/Header/HeaderSecondaryMenu.js +3 -2
- package/mobile/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
- package/mobile/dist/components/Header/HeaderSecondaryMenuButton.d.ts +1 -1
- package/mobile/dist/components/Header/HeaderSubMenu.d.ts +1 -1
- package/mobile/dist/components/Header/HeaderSubMenu.js +3 -2
- package/mobile/dist/components/Header/HeaderSubMenu.js.map +1 -1
- package/mobile/dist/components/Header/HeaderTop.d.ts +1 -1
- package/mobile/dist/components/Headline/Headline.d.ts +1 -1
- package/mobile/dist/components/Insurance/Insurance.d.ts +1 -1
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +1 -1
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +2 -1
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +1 -1
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +4 -3
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/mobile/dist/components/LikeControl/LikeControl.d.ts +1 -1
- package/mobile/dist/components/LikeControl/LikeControl.js +6 -2
- package/mobile/dist/components/LikeControl/LikeControl.js.map +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocs.d.ts +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocsHorizontalList.d.ts +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocsList.d.ts +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocsListItem.d.ts +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocsListItemBase.d.ts +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocsVerticalList.d.ts +1 -1
- package/mobile/dist/components/LinkList/LinkList.d.ts +1 -1
- package/mobile/dist/components/MiniGallery/MiniGallery.d.ts +1 -1
- package/mobile/dist/components/MobileAppTile/MobileAppTile.d.ts +1 -1
- package/mobile/dist/components/Navigation/Navigation.d.ts +1 -1
- package/mobile/dist/components/Navigation/NavigationItem.d.ts +2 -2
- package/mobile/dist/components/NavigatorTabs/NavigatorTabItem.d.ts +1 -1
- package/mobile/dist/components/NavigatorTabs/NavigatorTabs.d.ts +1 -1
- package/mobile/dist/components/OtherProducts/OtherProducts.d.ts +1 -1
- package/mobile/dist/components/OtherProducts/OtherProductsItem.d.ts +1 -1
- package/mobile/dist/components/PictureText/PictureText.d.ts +1 -1
- package/mobile/dist/components/Placeholder/Placeholder.d.ts +1 -1
- package/mobile/dist/components/ProductBlock/ProductBlock.d.ts +1 -1
- package/mobile/dist/components/ProductBlock/ProductBlockInner.d.ts +1 -1
- package/mobile/dist/components/ProductGallery/ProductGallery.d.ts +1 -1
- package/mobile/dist/components/ProductGallery/ProductGalleryBlock.d.ts +1 -1
- package/mobile/dist/components/ProductTile/ProductTile.d.ts +1 -1
- package/mobile/dist/components/ProductTile/ProductTile.js +1 -1
- package/mobile/dist/components/ProductTile/ProductTile.js.map +1 -1
- package/mobile/dist/components/PromoTile/PromoTile.d.ts +1 -1
- package/mobile/dist/components/PromoTile/PromoTile.js +1 -1
- package/mobile/dist/components/PromoTile/PromoTile.js.map +1 -1
- package/mobile/dist/components/Recommendation/Recommendation.d.ts +1 -1
- package/mobile/dist/components/Recommendation/Recommendation.js +2 -1
- package/mobile/dist/components/Recommendation/Recommendation.js.map +1 -1
- package/mobile/dist/components/Recommendation/RecommendationCard.d.ts +1 -1
- package/mobile/dist/components/SafeDepositRental/SafeDepositRental.d.ts +1 -1
- package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js +3 -2
- package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalForm.d.ts +1 -8
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalForm.js +17 -16
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
- package/mobile/dist/components/StepsBlock/StepsBlock.d.ts +1 -1
- package/mobile/dist/components/Tabs/Tabs.d.ts +1 -1
- package/mobile/dist/components/Tabs/Tabs.js +3 -2
- package/mobile/dist/components/Tabs/Tabs.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TableTileHeader.d.ts +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTable.d.ts +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableCell.d.ts +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableHorizontal.d.ts +2 -2
- package/mobile/dist/components/TariffsTable/TariffsTableRow.d.ts +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableTileCell.d.ts +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableVertical.d.ts +2 -2
- package/mobile/dist/components/TextBlock/TextBlock.d.ts +1 -1
- package/mobile/dist/components/Tile/Tile.d.ts +1 -1
- package/mobile/dist/components/Tile/Tile.js +1 -1
- package/mobile/dist/components/Tile/Tile.js.map +1 -1
- package/mobile/dist/hooks/useExchangeRates.d.ts +1 -2
- package/mobile/dist/hooks/useExchangeRates.js +3 -2
- package/mobile/dist/hooks/useExchangeRates.js.map +1 -1
- package/mobile/dist/hooks/useGeolocation.d.ts +1 -0
- package/mobile/dist/hooks/useGeolocation.js +21 -0
- package/mobile/dist/hooks/useGeolocation.js.map +1 -0
- package/mobile/dist/hooks/useLikeService.d.ts +5 -0
- package/mobile/dist/hooks/useLikeService.js +27 -0
- package/mobile/dist/hooks/useLikeService.js.map +1 -0
- package/mobile/dist/hooks/useLink.d.ts +1 -0
- package/mobile/dist/hooks/useLink.js +3 -2
- package/mobile/dist/hooks/useLink.js.map +1 -1
- package/mobile/dist/hooks/useSafeDepositRental.d.ts +1 -2
- package/mobile/dist/hooks/useSafeDepositRental.js +3 -2
- package/mobile/dist/hooks/useSafeDepositRental.js.map +1 -1
- package/mobile/dist/hooks/useSearch.d.ts +4 -0
- package/mobile/dist/hooks/useSearch.js +12 -0
- package/mobile/dist/hooks/useSearch.js.map +1 -0
- package/mobile/dist/index.d.ts +2 -1
- package/mobile/dist/index.js +5 -3
- package/mobile/dist/index.js.map +1 -1
- package/mobile/dist/react/setup-fixture.d.ts +1 -0
- package/mobile/dist/react/setup-fixture.js +1 -48
- package/mobile/dist/react/setup-fixture.js.map +1 -1
- package/mobile/dist/services/sitemap/useSitemap.d.ts +1 -2
- package/mobile/dist/services/sitemap/useSitemap.js +3 -2
- package/mobile/dist/services/sitemap/useSitemap.js.map +1 -1
- package/mobile/dist/ui-kit/BlockWrapper.d.ts +1 -1
- package/mobile/dist/ui-kit/BlockWrapper.js +3 -2
- package/mobile/dist/ui-kit/BlockWrapper.js.map +1 -1
- package/mobile/dist/ui-kit/BlocksList/BlocksListProps.d.ts +0 -2
- package/mobile/dist/ui-kit/BlocksList/EmbeddableBlocks.d.ts +6 -6
- package/mobile/dist/ui-kit/Breadcrumb.d.ts +1 -1
- package/mobile/dist/ui-kit/Button/ArrowButton.d.ts +1 -1
- package/mobile/dist/ui-kit/Button/Button.d.ts +1 -1
- package/mobile/dist/ui-kit/Button/ButtonInner.d.ts +1 -1
- package/mobile/dist/ui-kit/Button/ButtonSection.d.ts +1 -1
- package/mobile/dist/ui-kit/Button/LikeButton.d.ts +1 -1
- package/mobile/dist/ui-kit/Checkbox/Checkbox.d.ts +1 -1
- package/mobile/dist/ui-kit/Checkbox/Checkbox.js +5 -3
- package/mobile/dist/ui-kit/Checkbox/Checkbox.js.map +1 -1
- package/mobile/dist/ui-kit/Description/Description.d.ts +1 -1
- package/mobile/dist/ui-kit/Foldable/Foldable.d.ts +1 -1
- package/mobile/dist/ui-kit/Foldable/Foldable.js +1 -2
- package/mobile/dist/ui-kit/Foldable/Foldable.js.map +1 -1
- package/mobile/dist/ui-kit/Foldable/useActiveHandler.d.ts +1 -3
- package/mobile/dist/ui-kit/Foldable/useActiveHandler.js +3 -2
- package/mobile/dist/ui-kit/Foldable/useActiveHandler.js.map +1 -1
- package/mobile/dist/ui-kit/HeaderItem/HeaderItem.d.ts +1 -1
- package/mobile/dist/ui-kit/Heading/Heading.d.ts +1 -1
- package/mobile/dist/ui-kit/Icon/Icon.d.ts +1 -1
- package/mobile/dist/ui-kit/Img/Img.d.ts +1 -1
- package/mobile/dist/ui-kit/Img/ImgAsPicture.d.ts +1 -1
- package/mobile/dist/ui-kit/Img/ImgInner.d.ts +1 -1
- package/mobile/dist/ui-kit/Input/Input.d.ts +1 -1
- package/mobile/dist/ui-kit/InputRange/InputRange.d.ts +1 -1
- package/mobile/dist/ui-kit/InputRange/InputRange.js +4 -3
- package/mobile/dist/ui-kit/InputRange/InputRange.js.map +1 -1
- package/mobile/dist/ui-kit/InputRange/InputRangeProps.d.ts +1 -0
- package/mobile/dist/ui-kit/List/List.d.ts +1 -1
- package/mobile/dist/ui-kit/List/ListItem.d.ts +1 -1
- package/mobile/dist/ui-kit/Logo/Logo.d.ts +1 -1
- package/mobile/dist/ui-kit/Radio/Radio.d.ts +1 -1
- package/mobile/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +1 -1
- package/mobile/dist/ui-kit/SVG.d.ts +1 -1
- package/mobile/dist/ui-kit/SearchBar/SearchBar.d.ts +1 -1
- package/mobile/dist/ui-kit/SearchBar/SearchBar.js +2 -2
- package/mobile/dist/ui-kit/SearchBar/SearchBar.js.map +1 -1
- package/mobile/dist/ui-kit/SearchBar/SearchBarInner.d.ts +3 -3
- package/mobile/dist/ui-kit/SearchBar/SearchBarInner.js +3 -2
- package/mobile/dist/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
- package/mobile/dist/ui-kit/Select/Select.d.ts +1 -1
- package/mobile/dist/ui-kit/Select/SelectOption.d.ts +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.d.ts +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js +4 -3
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlItem.d.ts +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlList.d.ts +1 -1
- package/mobile/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControl.d.ts +1 -1
- package/mobile/dist/ui-kit/Tabs/Tabs.d.ts +1 -1
- package/mobile/dist/ui-kit/TopItem/TopItem.d.ts +1 -1
- package/mobile/lib/ProjectSettings.d.ts +2 -3
- package/mobile/lib/ProjectSettings.js +2 -2
- package/mobile/lib/ProjectSettings.js.map +1 -1
- package/mobile/lib/api/LikeAPI.d.ts +1 -1
- package/mobile/lib/api/LikeAPI.js +6 -5
- package/mobile/lib/api/LikeAPI.js.map +1 -1
- package/mobile/lib/components/Accordion/Accordion.d.ts +1 -1
- package/mobile/lib/components/Accordion/AccordionItem.d.ts +1 -1
- package/mobile/lib/components/Accordion/AccordionItem.js +1 -4
- package/mobile/lib/components/Accordion/AccordionItem.js.map +1 -1
- package/mobile/lib/components/Accordion/AccordionItemInner.d.ts +1 -1
- package/mobile/lib/components/Accordion/useActiveHandler.d.ts +1 -1
- package/mobile/lib/components/Accordion/useActiveHandler.js +3 -2
- package/mobile/lib/components/Accordion/useActiveHandler.js.map +1 -1
- package/mobile/lib/components/BaseTile/BaseTile.d.ts +1 -1
- package/mobile/lib/components/BenefitsBlock/BenefitsBlock.d.ts +1 -1
- package/mobile/lib/components/Blocks.d.ts +16 -16
- package/mobile/lib/components/Bonus/Bonus.d.ts +1 -1
- package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.d.ts +1 -1
- package/mobile/lib/components/Calculator/BonusCalculatorForm.d.ts +1 -1
- package/mobile/lib/components/Calculator/BonusCalculatorForm.js +4 -3
- package/mobile/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
- package/mobile/lib/components/Calculator/Calculator.d.ts +1 -1
- package/mobile/lib/components/Calculator/Calculator.js +4 -3
- package/mobile/lib/components/Calculator/Calculator.js.map +1 -1
- package/mobile/lib/components/Calculator/CalculatorValueBlock.d.ts +1 -1
- package/mobile/lib/components/Calculator/CreditCalculatorForm.d.ts +1 -1
- package/mobile/lib/components/Calculator/CreditCalculatorForm.js +8 -7
- package/mobile/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/mobile/lib/components/Calculator/DepositCalculatorForm.d.ts +1 -1
- package/mobile/lib/components/Calculator/DepositCalculatorForm.js +3 -2
- package/mobile/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
- package/mobile/lib/components/Calculator/EmbeddableCalcBlocks.d.ts +4 -4
- package/mobile/lib/components/Calculator/MortgageCalculatorForm.d.ts +1 -1
- package/mobile/lib/components/Calculator/MortgageCalculatorForm.js +5 -4
- package/mobile/lib/components/Calculator/MortgageCalculatorForm.js.map +1 -1
- package/mobile/lib/components/Calculator/Rate.d.ts +1 -1
- package/mobile/lib/components/Calculator/renderCalculatorBlock.js +1 -1
- package/mobile/lib/components/Calculator/renderCalculatorBlock.js.map +1 -1
- package/mobile/lib/components/Calculator/useBonusCalculatorParams.d.ts +1 -2
- package/mobile/lib/components/Calculator/useBonusCalculatorParams.js +3 -2
- package/mobile/lib/components/Calculator/useBonusCalculatorParams.js.map +1 -1
- package/mobile/lib/components/Calculator/useCalculatorParams.d.ts +1 -2
- package/mobile/lib/components/Calculator/useCalculatorParams.js +2 -1
- package/mobile/lib/components/Calculator/useCalculatorParams.js.map +1 -1
- package/mobile/lib/components/Calculator/useCreditCalculatorParams.d.ts +1 -2
- package/mobile/lib/components/Calculator/useCreditCalculatorParams.js +2 -2
- package/mobile/lib/components/Calculator/useCreditCalculatorParams.js.map +1 -1
- package/mobile/lib/components/Catalog/Catalog.d.ts +1 -1
- package/mobile/lib/components/Catalog/Catalog.js +3 -2
- package/mobile/lib/components/Catalog/Catalog.js.map +1 -1
- package/mobile/lib/components/Catalog/CatalogCard.d.ts +1 -1
- package/mobile/lib/components/ComparisonTable/ComparisonTable.d.ts +1 -1
- package/mobile/lib/components/ComparisonTable/ComparisonTable.js +2 -1
- package/mobile/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
- package/mobile/lib/components/ComparisonTable/ComparisonTableBody.d.ts +1 -1
- package/mobile/lib/components/ComparisonTable/ComparisonTableBody.js +3 -2
- package/mobile/lib/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
- package/mobile/lib/components/ComparisonTable/ComparisonTableColumnHeaders.d.ts +1 -1
- package/mobile/lib/components/ComparisonTable/ComparisonTableRows.d.ts +1 -1
- package/mobile/lib/components/ComparisonTable/HeaderCell.d.ts +1 -1
- package/mobile/lib/components/ComparisonTable/TableCarouselContainer.d.ts +1 -1
- package/mobile/lib/components/ComparisonTable/TableCell.d.ts +1 -1
- package/mobile/lib/components/ComparisonTable/TableColumn.d.ts +1 -1
- package/mobile/lib/components/ComparisonTable/TableRow.d.ts +1 -1
- package/mobile/lib/components/ComparisonTable/TableRowContainer.d.ts +1 -4
- package/mobile/lib/components/ContentPage/ContentPage.d.ts +3 -3
- package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
- package/mobile/lib/components/ContentPage/ContentPageContext.d.ts +1 -19
- package/mobile/lib/components/ContentPage/ContentPageHead.d.ts +1 -1
- package/mobile/lib/components/ExchangeRateTile/CurrencyTable.d.ts +1 -1
- package/mobile/lib/components/ExchangeRateTile/CurrentLocation.d.ts +1 -1
- package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +1 -1
- package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +2 -1
- package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
- package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.d.ts +1 -1
- package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
- package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
- package/mobile/lib/components/Footer/Contacts.d.ts +1 -1
- package/mobile/lib/components/Footer/Footer.d.ts +1 -1
- package/mobile/lib/components/Footer/Footer.js +1 -1
- package/mobile/lib/components/Footer/Footer.js.map +1 -1
- package/mobile/lib/components/Footer/HorizontalNavigation.d.ts +1 -1
- package/mobile/lib/components/Footer/HorizontalNavigationLink.d.ts +1 -1
- package/mobile/lib/components/Footer/MediaButton.d.ts +1 -1
- package/mobile/lib/components/Footer/Sitemap.d.ts +1 -1
- package/mobile/lib/components/Footer/Sitemap.js +2 -2
- package/mobile/lib/components/Footer/Sitemap.js.map +1 -1
- package/mobile/lib/components/Footer/SocialMedia.d.ts +1 -1
- package/mobile/lib/components/Footer/TextInformation.d.ts +1 -1
- package/mobile/lib/components/Footer/TextInformationLink.d.ts +1 -1
- package/mobile/lib/components/Gallery/Gallery.d.ts +1 -1
- package/mobile/lib/components/Gallery/GalleryCardInner.d.ts +1 -1
- package/mobile/lib/components/Gallery/GalleryContainer.d.ts +1 -1
- package/mobile/lib/components/Gallery/GalleryInner.d.ts +1 -1
- package/mobile/lib/components/Gallery/GalleryInner.js +2 -1
- package/mobile/lib/components/Gallery/GalleryInner.js.map +1 -1
- package/mobile/lib/components/GracePeriod/GracePeriod.d.ts +1 -1
- package/mobile/lib/components/GroupBlock/EmbeddableGroupBlocks.d.ts +2 -2
- package/mobile/lib/components/GroupBlock/GroupBlock.d.ts +1 -1
- package/mobile/lib/components/GroupBlock/GroupBlock.js +2 -1
- package/mobile/lib/components/GroupBlock/GroupBlock.js.map +1 -1
- package/mobile/lib/components/GroupBlock/GroupBlockTabs.d.ts +1 -1
- package/mobile/lib/components/GroupBlock/GroupBlocksItem.d.ts +1 -1
- package/mobile/lib/components/Header/DropdownMenu.d.ts +1 -1
- package/mobile/lib/components/Header/Header.d.ts +1 -1
- package/mobile/lib/components/Header/Header.js +3 -2
- package/mobile/lib/components/Header/Header.js.map +1 -1
- package/mobile/lib/components/Header/HeaderBurger.d.ts +1 -1
- package/mobile/lib/components/Header/HeaderBurger.js +2 -1
- package/mobile/lib/components/Header/HeaderBurger.js.map +1 -1
- package/mobile/lib/components/Header/HeaderSecondaryMenu.d.ts +3 -3
- package/mobile/lib/components/Header/HeaderSecondaryMenu.js +3 -2
- package/mobile/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
- package/mobile/lib/components/Header/HeaderSecondaryMenuButton.d.ts +1 -1
- package/mobile/lib/components/Header/HeaderSubMenu.d.ts +1 -1
- package/mobile/lib/components/Header/HeaderSubMenu.js +3 -2
- package/mobile/lib/components/Header/HeaderSubMenu.js.map +1 -1
- package/mobile/lib/components/Header/HeaderTop.d.ts +1 -1
- package/mobile/lib/components/Headline/Headline.d.ts +1 -1
- package/mobile/lib/components/Insurance/Insurance.d.ts +1 -1
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +1 -1
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +2 -1
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +1 -1
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +4 -3
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/mobile/lib/components/LikeControl/LikeControl.d.ts +1 -1
- package/mobile/lib/components/LikeControl/LikeControl.js +6 -2
- package/mobile/lib/components/LikeControl/LikeControl.js.map +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocs.d.ts +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocsHorizontalList.d.ts +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocsList.d.ts +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocsListItem.d.ts +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocsListItemBase.d.ts +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocsVerticalList.d.ts +1 -1
- package/mobile/lib/components/LinkList/LinkList.d.ts +1 -1
- package/mobile/lib/components/MiniGallery/MiniGallery.d.ts +1 -1
- package/mobile/lib/components/MobileAppTile/MobileAppTile.d.ts +1 -1
- package/mobile/lib/components/Navigation/Navigation.d.ts +1 -1
- package/mobile/lib/components/Navigation/NavigationItem.d.ts +2 -2
- package/mobile/lib/components/NavigatorTabs/NavigatorTabItem.d.ts +1 -1
- package/mobile/lib/components/NavigatorTabs/NavigatorTabs.d.ts +1 -1
- package/mobile/lib/components/OtherProducts/OtherProducts.d.ts +1 -1
- package/mobile/lib/components/OtherProducts/OtherProductsItem.d.ts +1 -1
- package/mobile/lib/components/PictureText/PictureText.d.ts +1 -1
- package/mobile/lib/components/Placeholder/Placeholder.d.ts +1 -1
- package/mobile/lib/components/ProductBlock/ProductBlock.d.ts +1 -1
- package/mobile/lib/components/ProductBlock/ProductBlockInner.d.ts +1 -1
- package/mobile/lib/components/ProductGallery/ProductGallery.d.ts +1 -1
- package/mobile/lib/components/ProductGallery/ProductGalleryBlock.d.ts +1 -1
- package/mobile/lib/components/ProductTile/ProductTile.d.ts +1 -1
- package/mobile/lib/components/ProductTile/ProductTile.js +1 -1
- package/mobile/lib/components/ProductTile/ProductTile.js.map +1 -1
- package/mobile/lib/components/PromoTile/PromoTile.d.ts +1 -1
- package/mobile/lib/components/PromoTile/PromoTile.js +1 -1
- package/mobile/lib/components/PromoTile/PromoTile.js.map +1 -1
- package/mobile/lib/components/Recommendation/Recommendation.d.ts +1 -1
- package/mobile/lib/components/Recommendation/Recommendation.js +2 -1
- package/mobile/lib/components/Recommendation/Recommendation.js.map +1 -1
- package/mobile/lib/components/Recommendation/RecommendationCard.d.ts +1 -1
- package/mobile/lib/components/SafeDepositRental/SafeDepositRental.d.ts +1 -1
- package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js +3 -2
- package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalForm.d.ts +1 -8
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalForm.js +17 -15
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
- package/mobile/lib/components/StepsBlock/StepsBlock.d.ts +1 -1
- package/mobile/lib/components/Tabs/Tabs.d.ts +1 -1
- package/mobile/lib/components/Tabs/Tabs.js +3 -2
- package/mobile/lib/components/Tabs/Tabs.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TableTileHeader.d.ts +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTable.d.ts +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableCell.d.ts +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableHorizontal.d.ts +2 -2
- package/mobile/lib/components/TariffsTable/TariffsTableRow.d.ts +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableTileCell.d.ts +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableVertical.d.ts +2 -2
- package/mobile/lib/components/TextBlock/TextBlock.d.ts +1 -1
- package/mobile/lib/components/Tile/Tile.d.ts +1 -1
- package/mobile/lib/components/Tile/Tile.js +1 -1
- package/mobile/lib/components/Tile/Tile.js.map +1 -1
- package/mobile/lib/hooks/useExchangeRates.d.ts +1 -2
- package/mobile/lib/hooks/useExchangeRates.js +2 -1
- package/mobile/lib/hooks/useExchangeRates.js.map +1 -1
- package/mobile/lib/hooks/useGeolocation.d.ts +1 -0
- package/mobile/lib/hooks/useGeolocation.js +18 -0
- package/mobile/lib/hooks/useGeolocation.js.map +1 -0
- package/mobile/lib/hooks/useLikeService.d.ts +5 -0
- package/mobile/lib/hooks/useLikeService.js +24 -0
- package/mobile/lib/hooks/useLikeService.js.map +1 -0
- package/mobile/lib/hooks/useLink.d.ts +1 -0
- package/mobile/lib/hooks/useLink.js +1 -1
- package/mobile/lib/hooks/useLink.js.map +1 -1
- package/mobile/lib/hooks/useSafeDepositRental.d.ts +1 -2
- package/mobile/lib/hooks/useSafeDepositRental.js +2 -1
- package/mobile/lib/hooks/useSafeDepositRental.js.map +1 -1
- package/mobile/lib/hooks/useSearch.d.ts +4 -0
- package/mobile/lib/hooks/useSearch.js +9 -0
- package/mobile/lib/hooks/useSearch.js.map +1 -0
- package/mobile/lib/index.d.ts +2 -1
- package/mobile/lib/index.js +2 -1
- package/mobile/lib/index.js.map +1 -1
- package/mobile/lib/react/setup-fixture.d.ts +1 -0
- package/mobile/lib/react/setup-fixture.js +2 -46
- package/mobile/lib/react/setup-fixture.js.map +1 -1
- package/mobile/lib/services/sitemap/useSitemap.d.ts +1 -2
- package/mobile/lib/services/sitemap/useSitemap.js +2 -1
- package/mobile/lib/services/sitemap/useSitemap.js.map +1 -1
- package/mobile/lib/ui-kit/BlockWrapper.d.ts +1 -1
- package/mobile/lib/ui-kit/BlockWrapper.js +3 -2
- package/mobile/lib/ui-kit/BlockWrapper.js.map +1 -1
- package/mobile/lib/ui-kit/BlocksList/BlocksListProps.d.ts +0 -2
- package/mobile/lib/ui-kit/BlocksList/EmbeddableBlocks.d.ts +6 -6
- package/mobile/lib/ui-kit/Breadcrumb.d.ts +1 -1
- package/mobile/lib/ui-kit/Button/ArrowButton.d.ts +1 -1
- package/mobile/lib/ui-kit/Button/Button.d.ts +1 -1
- package/mobile/lib/ui-kit/Button/ButtonInner.d.ts +1 -1
- package/mobile/lib/ui-kit/Button/ButtonSection.d.ts +1 -1
- package/mobile/lib/ui-kit/Button/LikeButton.d.ts +1 -1
- package/mobile/lib/ui-kit/Checkbox/Checkbox.d.ts +1 -1
- package/mobile/lib/ui-kit/Checkbox/Checkbox.js +5 -3
- package/mobile/lib/ui-kit/Checkbox/Checkbox.js.map +1 -1
- package/mobile/lib/ui-kit/Description/Description.d.ts +1 -1
- package/mobile/lib/ui-kit/Foldable/Foldable.d.ts +1 -1
- package/mobile/lib/ui-kit/Foldable/Foldable.js +1 -2
- package/mobile/lib/ui-kit/Foldable/Foldable.js.map +1 -1
- package/mobile/lib/ui-kit/Foldable/useActiveHandler.d.ts +1 -3
- package/mobile/lib/ui-kit/Foldable/useActiveHandler.js +3 -2
- package/mobile/lib/ui-kit/Foldable/useActiveHandler.js.map +1 -1
- package/mobile/lib/ui-kit/HeaderItem/HeaderItem.d.ts +1 -1
- package/mobile/lib/ui-kit/Heading/Heading.d.ts +1 -1
- package/mobile/lib/ui-kit/Icon/Icon.d.ts +1 -1
- package/mobile/lib/ui-kit/Img/Img.d.ts +1 -1
- package/mobile/lib/ui-kit/Img/ImgAsPicture.d.ts +1 -1
- package/mobile/lib/ui-kit/Img/ImgInner.d.ts +1 -1
- package/mobile/lib/ui-kit/Input/Input.d.ts +1 -1
- package/mobile/lib/ui-kit/InputRange/InputRange.d.ts +1 -1
- package/mobile/lib/ui-kit/InputRange/InputRange.js +4 -3
- package/mobile/lib/ui-kit/InputRange/InputRange.js.map +1 -1
- package/mobile/lib/ui-kit/InputRange/InputRangeProps.d.ts +1 -0
- package/mobile/lib/ui-kit/List/List.d.ts +1 -1
- package/mobile/lib/ui-kit/List/ListItem.d.ts +1 -1
- package/mobile/lib/ui-kit/Logo/Logo.d.ts +1 -1
- package/mobile/lib/ui-kit/Radio/Radio.d.ts +1 -1
- package/mobile/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +1 -1
- package/mobile/lib/ui-kit/SVG.d.ts +1 -1
- package/mobile/lib/ui-kit/SearchBar/SearchBar.d.ts +1 -1
- package/mobile/lib/ui-kit/SearchBar/SearchBar.js +2 -2
- package/mobile/lib/ui-kit/SearchBar/SearchBar.js.map +1 -1
- package/mobile/lib/ui-kit/SearchBar/SearchBarInner.d.ts +3 -3
- package/mobile/lib/ui-kit/SearchBar/SearchBarInner.js +3 -2
- package/mobile/lib/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
- package/mobile/lib/ui-kit/Select/Select.d.ts +1 -1
- package/mobile/lib/ui-kit/Select/SelectOption.d.ts +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.d.ts +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js +4 -3
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlItem.d.ts +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlList.d.ts +1 -1
- package/mobile/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControl.d.ts +1 -1
- package/mobile/lib/ui-kit/Tabs/Tabs.d.ts +1 -1
- package/mobile/lib/ui-kit/TopItem/TopItem.d.ts +1 -1
- package/mobile/src/ProjectSettings.ts +3 -4
- package/mobile/src/api/LikeAPI.ts +21 -16
- package/mobile/src/common.css +25 -7
- package/mobile/src/components/Accordion/AccordionItem.tsx +1 -4
- package/mobile/src/components/Accordion/useActiveHandler.ts +3 -2
- package/mobile/src/components/Blocks.spec.tsx +9 -15
- package/mobile/src/components/Calculator/BonusCalculatorForm.tsx +4 -3
- package/mobile/src/components/Calculator/Calculator.tsx +5 -4
- package/mobile/src/components/Calculator/CreditCalculatorForm.tsx +8 -7
- package/mobile/src/components/Calculator/DepositCalculatorForm.tsx +3 -2
- package/mobile/src/components/Calculator/MortgageCalculatorForm.tsx +5 -4
- package/mobile/src/components/Calculator/renderCalculatorBlock.tsx +1 -1
- package/mobile/src/components/Calculator/useBonusCalculatorParams.ts +2 -6
- package/mobile/src/components/Calculator/useCalculatorParams.ts +2 -2
- package/mobile/src/components/Calculator/useCreditCalculatorParams.ts +1 -6
- package/mobile/src/components/Catalog/Catalog.tsx +3 -2
- package/mobile/src/components/ComparisonTable/ComparisonTable.tsx +3 -2
- package/mobile/src/components/ComparisonTable/ComparisonTableBody.tsx +5 -4
- package/mobile/src/components/ContentPage/ContentPage.tsx +3 -5
- package/mobile/src/components/ContentPage/ContentPageContext.tsx +1 -26
- package/mobile/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +2 -1
- package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.tsx +1 -1
- package/mobile/src/components/Footer/Footer.tsx +1 -1
- package/mobile/src/components/Footer/Sitemap.tsx +2 -2
- package/mobile/src/components/Gallery/GalleryInner.tsx +3 -2
- package/mobile/src/components/GroupBlock/GroupBlock.tsx +2 -1
- package/mobile/src/components/Header/Header.tsx +6 -5
- package/mobile/src/components/Header/HeaderBurger.tsx +2 -1
- package/mobile/src/components/Header/HeaderSecondaryMenu.tsx +6 -4
- package/mobile/src/components/Header/HeaderSubMenu.tsx +3 -2
- package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +2 -1
- package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +4 -3
- package/mobile/src/components/LikeControl/LikeControl.tsx +11 -3
- package/mobile/src/components/ProductTile/ProductTile.tsx +2 -1
- package/mobile/src/components/PromoTile/PromoTile.tsx +3 -2
- package/mobile/src/components/Recommendation/Recommendation.tsx +2 -1
- package/mobile/src/components/SafeDepositRental/SafeDepositRental.tsx +3 -2
- package/mobile/src/components/SafeDepositRental/SafeDepositRentalForm.tsx +32 -32
- package/mobile/src/components/Tabs/Tabs.tsx +3 -2
- package/mobile/src/components/Tile/Tile.tsx +2 -2
- package/mobile/src/components/__snapshots__/Blocks.spec.tsx.snap +11 -9
- package/mobile/src/hooks/useExchangeRates.ts +2 -2
- package/mobile/src/hooks/useGeolocation.ts +22 -0
- package/mobile/src/hooks/useLikeService.ts +29 -0
- package/mobile/src/hooks/useLink.ts +1 -1
- package/mobile/src/hooks/useSafeDepositRental.ts +2 -2
- package/mobile/src/hooks/useSearch.ts +10 -0
- package/mobile/src/index.ts +2 -1
- package/mobile/src/react/setup-fixture.ts +2 -55
- package/mobile/src/services/sitemap/useSitemap.ts +2 -2
- package/mobile/src/ui-kit/BlockWrapper.tsx +3 -2
- package/mobile/src/ui-kit/BlocksList/BlocksListProps.ts +0 -2
- package/mobile/src/ui-kit/Checkbox/Checkbox.tsx +28 -26
- package/mobile/src/ui-kit/Foldable/Foldable.tsx +0 -2
- package/mobile/src/ui-kit/Foldable/useActiveHandler.ts +3 -4
- package/mobile/src/ui-kit/InputRange/InputRange.tsx +21 -7
- package/mobile/src/ui-kit/InputRange/InputRangeProps.ts +1 -0
- package/mobile/src/ui-kit/SearchBar/SearchBar.tsx +2 -2
- package/mobile/src/ui-kit/SearchBar/SearchBarInner.tsx +57 -58
- package/mobile/src/ui-kit/SwipeListControl/SwipeListControl.tsx +3 -3
- package/package.json +2 -2
- package/src/ProjectSettings.ts +3 -4
- package/src/api/LikeAPI.ts +21 -16
- package/src/common.css +25 -7
- package/src/components/Accordion/Accordion.tsx +1 -0
- package/src/components/Accordion/AccordionItem.mobile.tsx +1 -4
- package/src/components/Accordion/AccordionItem.tsx +0 -1
- package/src/components/Accordion/useActiveHandler.ts +3 -2
- package/src/components/Blocks.spec.tsx +9 -15
- package/src/components/Calculator/BonusCalculatorForm.tsx +4 -3
- package/src/components/Calculator/Calculator.tsx +5 -4
- package/src/components/Calculator/CreditCalculatorForm.tsx +8 -7
- package/src/components/Calculator/DepositCalculatorForm.tsx +3 -2
- package/src/components/Calculator/MortgageCalculatorForm.tsx +5 -4
- package/src/components/Calculator/renderCalculatorBlock.tsx +1 -1
- package/src/components/Calculator/useBonusCalculatorParams.ts +2 -6
- package/src/components/Calculator/useCalculatorParams.ts +2 -2
- package/src/components/Calculator/useCreditCalculatorParams.ts +1 -6
- package/src/components/Catalog/Catalog.tsx +3 -2
- package/src/components/ComparisonTable/ComparisonTable.mobile.tsx +3 -2
- package/src/components/ComparisonTable/ComparisonTable.tsx +2 -1
- package/src/components/ComparisonTable/ComparisonTableBody.tsx +5 -4
- package/src/components/ContentPage/ContentPage.tsx +3 -5
- package/src/components/ContentPage/ContentPageContext.tsx +1 -26
- package/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +2 -1
- package/src/components/ExchangeRateTile/ExchangeRateTile.tsx +1 -1
- package/src/components/Footer/Footer.mobile.tsx +1 -1
- package/src/components/Footer/Sitemap.tsx +2 -2
- package/src/components/Gallery/GalleryInner.tsx +3 -2
- package/src/components/GroupBlock/GroupBlock.tsx +2 -1
- package/src/components/Header/Header.mobile.tsx +6 -5
- package/src/components/Header/Header.tsx +1 -2
- package/src/components/Header/HeaderBurger.tsx +2 -1
- package/src/components/Header/HeaderSecondaryMenu.tsx +6 -4
- package/src/components/Header/HeaderSubMenu.tsx +3 -2
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +2 -1
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +4 -3
- package/src/components/LikeControl/LikeControl.tsx +11 -3
- package/src/components/LinkDocs/LinkDocs.tsx +1 -0
- package/src/components/ProductGallery/ProductGallery.tsx +3 -2
- package/src/components/ProductTile/ProductTile.tsx +2 -1
- package/src/components/PromoTile/PromoTile.tsx +3 -2
- package/src/components/Recommendation/Recommendation.tsx +2 -1
- package/src/components/SafeDepositRental/SafeDepositRental.tsx +3 -2
- package/src/components/SafeDepositRental/SafeDepositRentalForm.tsx +32 -32
- package/src/components/Tabs/Tabs.tsx +3 -2
- package/src/components/TariffsTable/TariffsTable.tsx +3 -2
- package/src/components/Tile/Tile.tsx +2 -2
- package/src/components/__snapshots__/Blocks.spec.tsx.snap +11 -9
- package/src/hooks/useExchangeRates.ts +2 -2
- package/src/hooks/useGeolocation.ts +22 -0
- package/src/hooks/useLikeService.ts +29 -0
- package/src/hooks/useLink.ts +1 -1
- package/src/hooks/useSafeDepositRental.ts +2 -2
- package/src/hooks/useSearch.ts +10 -0
- package/src/index.ts +2 -1
- package/src/react/setup-fixture.ts +2 -55
- package/src/services/sitemap/useSitemap.ts +2 -2
- package/src/ui-kit/BlockWrapper.tsx +3 -2
- package/src/ui-kit/BlocksList/BlocksListProps.ts +0 -2
- package/src/ui-kit/Checkbox/Checkbox.tsx +28 -26
- package/src/ui-kit/Foldable/Foldable.tsx +0 -2
- package/src/ui-kit/Foldable/useActiveHandler.ts +3 -4
- package/src/ui-kit/InputRange/InputRange.tsx +21 -7
- package/src/ui-kit/InputRange/InputRangeProps.ts +1 -0
- package/src/ui-kit/SearchBar/SearchBar.mobile.tsx +2 -2
- package/src/ui-kit/SearchBar/SearchBar.tsx +2 -2
- package/src/ui-kit/SearchBar/SearchBarInner.tsx +57 -58
- package/src/ui-kit/SwipeListControl/SwipeListControl.tsx +3 -3
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { ContentPageContext } from '../../components/ContentPage/ContentPageContext';
|
|
2
1
|
import type { GalleryContent } from '../../components/Gallery/GalleryContent';
|
|
3
2
|
import type { HeadlineContent } from '../../components/Headline/HeadlineContent';
|
|
4
3
|
import type { LinkDocsContent } from '../../components/LinkDocs/LinkDocsContent';
|
|
@@ -11,7 +10,6 @@ import type { TextBlockContent } from '../../components/TextBlock/TextBlockConte
|
|
|
11
10
|
import type { TileContent } from '../../components/Tile/TileContent';
|
|
12
11
|
import type { EmptyOption } from '../../model/EmptyOptionType';
|
|
13
12
|
export interface ActiveHandler {
|
|
14
|
-
context: ContentPageContext;
|
|
15
13
|
blocks?: BlockDef[];
|
|
16
14
|
initialState?: boolean;
|
|
17
15
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export declare const EmbeddableBlocks: {
|
|
2
|
-
Headline:
|
|
3
|
-
LinkDocs:
|
|
4
|
-
TextBlock:
|
|
5
|
-
ProductBlock:
|
|
6
|
-
Gallery:
|
|
7
|
-
LinkList:
|
|
2
|
+
Headline: import("@redneckz/uni-jsx").UNIComponent<import("../../components/Headline/Headline").HeadlineProps, any, any>;
|
|
3
|
+
LinkDocs: import("@redneckz/uni-jsx").UNIComponent<import("../../components/LinkDocs/LinkDocs").LinkDocsProps, any, any>;
|
|
4
|
+
TextBlock: import("@redneckz/uni-jsx").UNIComponent<import("../../components/TextBlock/TextBlock").TextBlockProps, any, any>;
|
|
5
|
+
ProductBlock: import("@redneckz/uni-jsx").UNIComponent<import("../../components/ProductBlock/ProductBlock").ProductBlockProps, any, any>;
|
|
6
|
+
Gallery: import("@redneckz/uni-jsx").UNIComponent<import("../../components/Gallery/GalleryProps").GalleryProps, any, any>;
|
|
7
|
+
LinkList: import("@redneckz/uni-jsx").UNIComponent<import("../../components/LinkList/LinkList").LinkListProps, any, any>;
|
|
8
8
|
};
|
|
@@ -3,4 +3,4 @@ export interface BreadcrumbProps extends LinkProps {
|
|
|
3
3
|
className?: string;
|
|
4
4
|
onClick?: () => void;
|
|
5
5
|
}
|
|
6
|
-
export declare const Breadcrumb:
|
|
6
|
+
export declare const Breadcrumb: import("@redneckz/uni-jsx").UNIComponent<BreadcrumbProps, any, any>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { ButtonProps } from './ButtonProps';
|
|
2
|
-
export declare const ArrowButton:
|
|
2
|
+
export declare const ArrowButton: import("@redneckz/uni-jsx").UNIComponent<ButtonProps, any, any>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { ButtonProps, ButtonWithIconProps } from './ButtonProps';
|
|
2
2
|
export interface ButtonCommonProps extends ButtonProps, ButtonWithIconProps {
|
|
3
3
|
}
|
|
4
|
-
export declare const Button:
|
|
4
|
+
export declare const Button: import("@redneckz/uni-jsx").UNIComponent<ButtonCommonProps, any, any>;
|
|
@@ -3,5 +3,5 @@ import type { ButtonWithIconProps } from './ButtonProps';
|
|
|
3
3
|
interface ButtonInnerProps extends ButtonWithIconProps {
|
|
4
4
|
version?: ButtonVersion;
|
|
5
5
|
}
|
|
6
|
-
export declare const ButtonInner:
|
|
6
|
+
export declare const ButtonInner: import("@redneckz/uni-jsx").UNIComponent<ButtonInnerProps, any, any>;
|
|
7
7
|
export {};
|
|
@@ -2,4 +2,4 @@ import { UniBlockProps } from '../../types';
|
|
|
2
2
|
import type { ButtonContent } from './ButtonProps';
|
|
3
3
|
export interface ButtonSectionProps extends ButtonContent, UniBlockProps {
|
|
4
4
|
}
|
|
5
|
-
export declare const ButtonSection:
|
|
5
|
+
export declare const ButtonSection: import("@redneckz/uni-jsx").UNIComponent<ButtonSectionProps, any, any>;
|
|
@@ -3,4 +3,4 @@ export interface LikeButtonProps {
|
|
|
3
3
|
onClick?: () => void;
|
|
4
4
|
ariaLabel?: string;
|
|
5
5
|
}
|
|
6
|
-
export declare const LikeButton:
|
|
6
|
+
export declare const LikeButton: import("@redneckz/uni-jsx").UNIComponent<LikeButtonProps, any, any>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { CheckboxProps } from './CheckboxProps';
|
|
2
|
-
export declare const Checkbox:
|
|
2
|
+
export declare const Checkbox: import("@redneckz/uni-jsx").UNIComponent<CheckboxProps, any, any>;
|
|
@@ -11,10 +11,12 @@ const CHECK_PATHS = [
|
|
|
11
11
|
fill: 'white',
|
|
12
12
|
},
|
|
13
13
|
];
|
|
14
|
-
exports.Checkbox = (0, uni_jsx_1.JSX)(({ className, text, checked, isRadio, onChange }) =>
|
|
14
|
+
exports.Checkbox = (0, uni_jsx_1.JSX)(({ className, text, checked, isRadio, onChange }) => {
|
|
15
|
+
return ((0, jsx_runtime_1.jsx)("div", { className: className, children: (0, jsx_runtime_1.jsxs)("label", { className: "flex items-center relative cursor-pointer group", children: [(0, jsx_runtime_1.jsx)("input", { className: `peer appearance-none w-5 h-5 border-solid cursor-pointer group-hover:border-checkbox-hover
|
|
15
16
|
${isRadio ? 'rounded-full border-2' : 'rounded checked:bg-primary-main border'}
|
|
16
17
|
${checked ? 'border-black' : 'border-main-stroke'}
|
|
17
18
|
checked:border-primary-main m-0`, type: "checkbox", onChange: (e) => {
|
|
18
|
-
|
|
19
|
-
|
|
19
|
+
onChange(e.target.checked);
|
|
20
|
+
}, checked: checked }), isRadio ? ((0, jsx_runtime_1.jsx)("div", { className: "left-1 w-3 h-3 rounded-full bg-primary-main hidden absolute peer-checked:block" })) : ((0, jsx_runtime_1.jsx)(SVG_1.SVG, { paths: CHECK_PATHS, className: "hidden absolute left-1 ml-px peer-checked:block", width: "11", height: "9", fill: "white", viewBox: "0 0 11 9" })), text ? (0, jsx_runtime_1.jsx)("span", { className: "font-sans ml-3 text-l-light", children: text }) : null] }) }));
|
|
21
|
+
});
|
|
20
22
|
//# sourceMappingURL=Checkbox.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Checkbox.js","sourceRoot":"","sources":["../../../src/ui-kit/Checkbox/Checkbox.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,gCAA6B;AAG7B,MAAM,WAAW,GAAG;IAClB;QACE,CAAC,EAAE,4HAA4H;QAC/H,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;QACnB,IAAI,EAAE,OAAO;KACd;CACF,CAAC;AAEW,QAAA,QAAQ,GAAG,IAAA,aAAG,EAAgB,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,
|
|
1
|
+
{"version":3,"file":"Checkbox.js","sourceRoot":"","sources":["../../../src/ui-kit/Checkbox/Checkbox.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,gCAA6B;AAG7B,MAAM,WAAW,GAAG;IAClB;QACE,CAAC,EAAE,4HAA4H;QAC/H,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;QACnB,IAAI,EAAE,OAAO;KACd;CACF,CAAC;AAEW,QAAA,QAAQ,GAAG,IAAA,aAAG,EAAgB,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC7F,OAAO,CACL,gCAAK,SAAS,EAAE,SAAS,YACvB,mCAAO,SAAS,EAAC,iDAAiD,aAChE,kCACE,SAAS,EAAE;UACX,OAAO,CAAC,CAAC,CAAC,uBAAuB,CAAC,CAAC,CAAC,wCAAwC;UAC5E,OAAO,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,oBAAoB;wCACjB,EAC9B,IAAI,EAAC,UAAU,EACf,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE;wBACd,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,OAAkB,CAAC,CAAC;oBACxC,CAAC,EACD,OAAO,EAAE,OAAO,GAChB,EACD,OAAO,CAAC,CAAC,CAAC,CACT,gCAAK,SAAS,EAAC,gFAAgF,GAAO,CACvG,CAAC,CAAC,CAAC,CACF,uBAAC,SAAG,IACF,KAAK,EAAE,WAAW,EAClB,SAAS,EAAC,iDAAiD,EAC3D,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,GAAG,EACV,IAAI,EAAC,OAAO,EACZ,OAAO,EAAC,UAAU,GAClB,CACH,EACA,IAAI,CAAC,CAAC,CAAC,iCAAM,SAAS,EAAC,6BAA6B,YAAE,IAAI,GAAQ,CAAC,CAAC,CAAC,IAAI,IACpE,GACJ,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -2,4 +2,4 @@ import type { DescriptionProp } from '../../model/HeadlineType';
|
|
|
2
2
|
export interface DescriptionProps extends DescriptionProp {
|
|
3
3
|
className?: string;
|
|
4
4
|
}
|
|
5
|
-
export declare const Description:
|
|
5
|
+
export declare const Description: import("@redneckz/uni-jsx").UNIComponent<DescriptionProps, any, any>;
|
|
@@ -19,4 +19,4 @@ export interface RenderBlocksParams {
|
|
|
19
19
|
isActive: boolean;
|
|
20
20
|
containerClasses?: string;
|
|
21
21
|
}
|
|
22
|
-
export declare const Foldable:
|
|
22
|
+
export declare const Foldable: import("@redneckz/uni-jsx").UNIComponent<FoldableProps, any, any>;
|
|
@@ -5,10 +5,9 @@ const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
|
5
5
|
const clamp_1 = require("../../utils/clamp");
|
|
6
6
|
const Icon_1 = require("../Icon/Icon");
|
|
7
7
|
const useActiveHandler_1 = require("./useActiveHandler");
|
|
8
|
-
exports.Foldable = (0, uni_jsx_1.JSX)(({ blocks = [],
|
|
8
|
+
exports.Foldable = (0, uni_jsx_1.JSX)(({ blocks = [], hiddenBlocksNum = 0, foldButtonClasses, foldButtonLabel, foldButtonDataTheme, isUnfolded, containerClasses, render = (_) => _, }) => {
|
|
9
9
|
const blocksToHide = (0, clamp_1.clamp)(hiddenBlocksNum, 0, blocks.length);
|
|
10
10
|
const { icon, handleToggle, isActive } = (0, useActiveHandler_1.useActiveHandler)({
|
|
11
|
-
context,
|
|
12
11
|
initialState: isUnfolded,
|
|
13
12
|
});
|
|
14
13
|
const buttonClassName = foldButtonClasses ||
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Foldable.js","sourceRoot":"","sources":["../../../src/ui-kit/Foldable/Foldable.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAIxC,6CAA0C;AAC1C,uCAAoC;AACpC,yDAA+E;AAuBlE,QAAA,QAAQ,GAAG,IAAA,aAAG,EACzB,CAAC,EACC,MAAM,GAAG,EAAE,EACX,
|
|
1
|
+
{"version":3,"file":"Foldable.js","sourceRoot":"","sources":["../../../src/ui-kit/Foldable/Foldable.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAIxC,6CAA0C;AAC1C,uCAAoC;AACpC,yDAA+E;AAuBlE,QAAA,QAAQ,GAAG,IAAA,aAAG,EACzB,CAAC,EACC,MAAM,GAAG,EAAE,EACX,eAAe,GAAG,CAAC,EACnB,iBAAiB,EACjB,eAAe,EACf,mBAAmB,EACnB,UAAU,EACV,gBAAgB,EAChB,MAAM,GAAG,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,GAClB,EAAE,EAAE;IACH,MAAM,YAAY,GAAG,IAAA,aAAK,EAAC,eAAe,EAAE,CAAC,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC;IAE9D,MAAM,EAAE,IAAI,EAAE,YAAY,EAAE,QAAQ,EAAE,GAAG,IAAA,mCAAgB,EAAC;QACxD,YAAY,EAAE,UAAU;KACzB,CAAC,CAAC;IAEH,MAAM,eAAe,GACnB,iBAAiB;QACjB,2HAA2H,CAAC;IAC9H,MAAM,kBAAkB,GAAG,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,eAAe,CAAC;IAEjE,OAAO,MAAM,CAAC,CAAC,CAAC,CACd,4CACG,YAAY,CAAC,MAAM,EAAE,MAAM,EAAE,EAAE,YAAY,EAAE,QAAQ,EAAE,gBAAgB,EAAE,CAAC,EAC1E,eAAe,CAAC,CAAC,CAAC,CACjB,oCACE,SAAS,EAAE,eAAe,gBACd,mBAAmB,EAC/B,OAAO,EAAE,YAAY,aAErB,iCAAM,SAAS,EAAC,MAAM,YAAE,kBAAkB,GAAQ,EACjD,IAAI,CAAC,CAAC,CAAC,uBAAC,WAAI,IAAC,IAAI,EAAE,IAAI,EAAE,WAAW,EAAC,OAAO,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,KAAK,SAAG,CAAC,CAAC,CAAC,IAAI,IAC7E,CACV,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CACF,CAAC;AAEF,MAAM,YAAY,GAAG,CACnB,MAAsB,EACtB,MAAc,EACd,EAAE,YAAY,EAAE,QAAQ,EAAE,gBAAgB,EAAsB,EAChE,EAAE;IACF,MAAM,aAAa,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC,EAAE,MAAM,CAAC,MAAM,GAAG,YAAY,CAAC,CAAC;IACpE,MAAM,YAAY,GAAG,YAAY,GAAG,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IAEzE,OAAO,MAAM,CACX,4CACG,aAAa,EACd,gCAAK,SAAS,EAAE,GAAG,0CAAuB,IAAI,gBAAgB,EAAE,YAAG,YAAY,GAAO,IAClF,EACN,QAAQ,CACT,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import { ContentPageContext } from '../../components/ContentPage/ContentPageContext';
|
|
2
1
|
export declare const foldableBlockClassNames = "transition-all duration-300 max-h-0 overflow-hidden";
|
|
3
2
|
export interface ActiveHandler {
|
|
4
|
-
context: ContentPageContext;
|
|
5
3
|
initialState?: boolean;
|
|
6
4
|
}
|
|
7
|
-
export declare const useActiveHandler: ({
|
|
5
|
+
export declare const useActiveHandler: ({ initialState }: ActiveHandler) => {
|
|
8
6
|
icon: "ArrowDownIcon" | "ArrowUpIcon";
|
|
9
7
|
handleToggle: (e: any) => void;
|
|
10
8
|
isActive: boolean;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
2
|
exports.useActiveHandler = exports.foldableBlockClassNames = void 0;
|
|
3
|
+
const hooks_1 = require("@redneckz/uni-jsx/lib/hooks");
|
|
3
4
|
exports.foldableBlockClassNames = 'transition-all duration-300 max-h-0 overflow-hidden';
|
|
4
|
-
const useActiveHandler = ({
|
|
5
|
-
const [isActive, setIsActive] =
|
|
5
|
+
const useActiveHandler = ({ initialState = false }) => {
|
|
6
|
+
const [isActive, setIsActive] = (0, hooks_1.useState)(initialState);
|
|
6
7
|
const icon = isActive ? 'ArrowUpIcon' : 'ArrowDownIcon';
|
|
7
8
|
const handleToggle = (e) => {
|
|
8
9
|
const currentTarget = e.currentTarget;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useActiveHandler.js","sourceRoot":"","sources":["../../../src/ui-kit/Foldable/useActiveHandler.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"useActiveHandler.js","sourceRoot":"","sources":["../../../src/ui-kit/Foldable/useActiveHandler.ts"],"names":[],"mappings":";;AAAA,uDAAuD;AAG1C,QAAA,uBAAuB,GAAG,qDAAqD,CAAC;AAMtF,MAAM,gBAAgB,GAAG,CAAC,EAAE,YAAY,GAAG,KAAK,EAAiB,EAAE,EAAE;IAC1E,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,IAAA,gBAAQ,EAAC,YAAY,CAAC,CAAC;IACvD,MAAM,IAAI,GAAa,QAAQ,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,eAAe,CAAC;IAElE,MAAM,YAAY,GAAG,CAAC,CAAC,EAAE,EAAE;QACzB,MAAM,aAAa,GAAG,CAAC,CAAC,aAA4B,CAAC;QAErD,IAAI,CAAC,aAAa,EAAE;YAClB,OAAO;SACR;QAED,WAAW,CAAC,CAAC,QAAQ,CAAC,CAAC;QACvB,MAAM,YAAY,GAAG,aAAa,CAAC,eAA8B,CAAC;QAClE,MAAM,YAAY,GAAG,YAAY,CAAC,sBAAsB,CACtD,+BAAuB,CACxB,CAAC,CAAC,CAAgB,CAAC;QAEpB,YAAY,CAAC,KAAK,CAAC,SAAS,GAAG,YAAY,CAAC,KAAK,CAAC,SAAS;YACzD,CAAC,CAAC,EAAE;YACJ,CAAC,CAAC,GAAG,YAAY,CAAC,YAAY,IAAI,CAAC;IACvC,CAAC,CAAC;IAEF,OAAO,EAAE,IAAI,EAAE,YAAY,EAAE,QAAQ,EAAE,CAAC;AAC1C,CAAC,CAAC;AAvBW,QAAA,gBAAgB,oBAuB3B"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { TopItemProps } from '../TopItem/TopItem';
|
|
2
2
|
export declare type HeaderItemProps = TopItemProps;
|
|
3
|
-
export declare const HeaderItem:
|
|
3
|
+
export declare const HeaderItem: import("@redneckz/uni-jsx").UNIComponent<TopItemProps, any, any>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { HeadingProps } from './HeadingProps';
|
|
2
|
-
export declare const Heading:
|
|
2
|
+
export declare const Heading: import("@redneckz/uni-jsx").UNIComponent<HeadingProps, any, any>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { IconProps } from './IconProps';
|
|
2
|
-
export declare const Icon:
|
|
2
|
+
export declare const Icon: import("@redneckz/uni-jsx").UNIComponent<IconProps, any, any>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { Image, ImageProps } from './ImgProps';
|
|
2
|
-
export declare const Img:
|
|
2
|
+
export declare const Img: import("@redneckz/uni-jsx").UNIComponent<ImageProps<Image>, any, any>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { ImgSource, Picture } from '../../model/Picture';
|
|
2
2
|
import type { ImageProps } from './ImgProps';
|
|
3
|
-
export declare const ImgAsPicture:
|
|
3
|
+
export declare const ImgAsPicture: import("@redneckz/uni-jsx").UNIComponent<ImageProps<Picture>, any, any>;
|
|
4
4
|
export declare function formatToMimeType(format: ImgSource['format']): string | undefined;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { Image, ImageProps } from './ImgProps';
|
|
2
|
-
export declare const ImgInner:
|
|
2
|
+
export declare const ImgInner: import("@redneckz/uni-jsx").UNIComponent<ImageProps<Image>, any, any>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { InputProps } from './InputProps';
|
|
2
|
-
export declare const Input:
|
|
2
|
+
export declare const Input: import("@redneckz/uni-jsx").UNIComponent<InputProps, any, any>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { InputRangeProps } from './InputRangeProps';
|
|
2
|
-
export declare const InputRange:
|
|
2
|
+
export declare const InputRange: import("@redneckz/uni-jsx").UNIComponent<InputRangeProps, any, any>;
|
|
@@ -3,7 +3,8 @@ exports.InputRange = void 0;
|
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
5
|
const addSpacesBetweenNumbers_1 = require("../../utils/addSpacesBetweenNumbers");
|
|
6
|
-
|
|
6
|
+
const DISABLED_INPUT_CLASSES = 'disabled:border-main-stroke disabled:bg-main-divider';
|
|
7
|
+
exports.InputRange = (0, uni_jsx_1.JSX)(({ className, title, items = [], min = 1, max = 100, step = 1, value = min, disabled = false, onChange, }) => {
|
|
7
8
|
const handleChange = (_) => {
|
|
8
9
|
if (!onChange) {
|
|
9
10
|
return;
|
|
@@ -25,7 +26,7 @@ exports.InputRange = (0, uni_jsx_1.JSX)(({ className, title, items = [], min = 1
|
|
|
25
26
|
onChange(max);
|
|
26
27
|
}
|
|
27
28
|
};
|
|
28
|
-
return ((0, jsx_runtime_1.jsxs)("div", { className: className, children: [(0, jsx_runtime_1.jsxs)("label", { className: "block relative", children: [title ? (0, jsx_runtime_1.jsx)("span", { className: "text-
|
|
29
|
-
outline-none p-0 pl-4 box-border text-primary-text`, value: (0, addSpacesBetweenNumbers_1.addSpacesBetweenNumbers)(value), onChange: (e) => handleChange(e.target.value), onBlur: handleBlur }), (0, jsx_runtime_1.jsx)("div", { className: "absolute inset-x-0 bottom-
|
|
29
|
+
return ((0, jsx_runtime_1.jsxs)("div", { className: className, children: [(0, jsx_runtime_1.jsxs)("label", { className: "block relative", children: [title ? (0, jsx_runtime_1.jsx)("span", { className: "text-m font-light", children: title }) : null, (0, jsx_runtime_1.jsx)("input", { className: `m-0 mt-2 font-sans text-h3 w-full h-14 border border-solid border-main-stroke rounded-md
|
|
30
|
+
outline-none p-0 pl-4 box-border text-primary-text hover:border-primary-hover focus:border-primary-focus ${DISABLED_INPUT_CLASSES}`, value: (0, addSpacesBetweenNumbers_1.addSpacesBetweenNumbers)(value), disabled: disabled, onChange: (e) => handleChange(e.target.value), onBlur: handleBlur }), (0, jsx_runtime_1.jsx)("div", { className: "absolute inset-x-0 -bottom-1 px-4 leading-[18px]", children: (0, jsx_runtime_1.jsx)("input", { className: "box-border w-full m-0 cursor-pointer slider", type: "range", min: min, max: max, step: step, value: value, disabled: disabled, onChange: (e) => handleChange(e.target.value), style: inputStyle }) })] }), (0, jsx_runtime_1.jsx)("div", { className: "flex justify-between my-2", children: items.map((item, i) => ((0, jsx_runtime_1.jsx)("span", { className: "text-s-light text-secondary-text", children: item }, String(i)))) })] }));
|
|
30
31
|
});
|
|
31
32
|
//# sourceMappingURL=InputRange.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InputRange.js","sourceRoot":"","sources":["../../../src/ui-kit/InputRange/InputRange.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,iFAA8E;
|
|
1
|
+
{"version":3,"file":"InputRange.js","sourceRoot":"","sources":["../../../src/ui-kit/InputRange/InputRange.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,iFAA8E;AAG9E,MAAM,sBAAsB,GAAG,sDAAsD,CAAC;AAEzE,QAAA,UAAU,GAAG,IAAA,aAAG,EAC3B,CAAC,EACC,SAAS,EACT,KAAK,EACL,KAAK,GAAG,EAAE,EACV,GAAG,GAAG,CAAC,EACP,GAAG,GAAG,GAAG,EACT,IAAI,GAAG,CAAC,EACR,KAAK,GAAG,GAAG,EACX,QAAQ,GAAG,KAAK,EAChB,QAAQ,GACT,EAAE,EAAE;IACH,MAAM,YAAY,GAAG,CAAC,CAAS,EAAE,EAAE;QACjC,IAAI,CAAC,QAAQ,EAAE;YACb,OAAO;SACR;QACD,MAAM,cAAc,GAAG,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,CAAC;QACpD,QAAQ,CAAC,cAAc,CAAC,CAAC;IAC3B,CAAC,CAAC;IACF,MAAM,UAAU,GAAG;QACjB,cAAc,EAAE,GAAG,CAAC,CAAC,CAAC,KAAK,GAAG,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,GAAG,GAAG,GAAG,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,QAAQ;KAC5E,CAAC;IACF,MAAM,UAAU,GAAG,GAAG,EAAE;QACtB,IAAI,CAAC,QAAQ,EAAE;YACb,OAAO;SACR;QACD,IAAI,KAAK,GAAG,GAAG,EAAE;YACf,QAAQ,CAAC,GAAG,CAAC,CAAC;SACf;QACD,IAAI,KAAK,GAAG,GAAG,EAAE;YACf,QAAQ,CAAC,GAAG,CAAC,CAAC;SACf;IACH,CAAC,CAAC;IAEF,OAAO,CACL,iCAAK,SAAS,EAAE,SAAS,aACvB,mCAAO,SAAS,EAAC,gBAAgB,aAC9B,KAAK,CAAC,CAAC,CAAC,iCAAM,SAAS,EAAC,mBAAmB,YAAE,KAAK,GAAQ,CAAC,CAAC,CAAC,IAAI,EAClE,kCACE,SAAS,EAAE;mIAC4G,sBAAsB,EAAE,EAC/I,KAAK,EAAE,IAAA,iDAAuB,EAAC,KAAK,CAAC,EACrC,QAAQ,EAAE,QAAQ,EAClB,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,YAAY,CAAC,CAAC,CAAC,MAAM,CAAC,KAAe,CAAC,EACvD,MAAM,EAAE,UAAU,GAClB,EACF,gCAAK,SAAS,EAAC,kDAAkD,YAC/D,kCACE,SAAS,EAAC,6CAA6C,EACvD,IAAI,EAAC,OAAO,EACZ,GAAG,EAAE,GAAG,EACR,GAAG,EAAE,GAAG,EACR,IAAI,EAAE,IAAI,EACV,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,QAAQ,EAClB,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,YAAY,CAAC,CAAC,CAAC,MAAM,CAAC,KAAe,CAAC,EACvD,KAAK,EAAE,UAAU,GACjB,GACE,IACA,EACR,gCAAK,SAAS,EAAC,2BAA2B,YACvC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CACtB,iCAAsB,SAAS,EAAC,kCAAkC,YAC/D,IAAI,IADI,MAAM,CAAC,CAAC,CAAC,CAEb,CACR,CAAC,GACE,IACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { ListProps } from './ListProps';
|
|
2
|
-
export declare const List:
|
|
2
|
+
export declare const List: import("@redneckz/uni-jsx").UNIComponent<ListProps, any, any>;
|
|
@@ -8,5 +8,5 @@ export interface ListItemProps {
|
|
|
8
8
|
text?: string;
|
|
9
9
|
isDotted?: boolean;
|
|
10
10
|
}
|
|
11
|
-
export declare const ListItem:
|
|
11
|
+
export declare const ListItem: import("@redneckz/uni-jsx").UNIComponent<ListItemProps, any, any>;
|
|
12
12
|
export declare const getListStyle: (version: ListItemVersion) => string;
|
|
@@ -5,4 +5,4 @@ export interface LogoProps {
|
|
|
5
5
|
bgColor?: string;
|
|
6
6
|
hideTitle?: boolean;
|
|
7
7
|
}
|
|
8
|
-
export declare const Logo:
|
|
8
|
+
export declare const Logo: import("@redneckz/uni-jsx").UNIComponent<Partial<LogoProps>, any, any>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { RadioProps } from './RadioProps';
|
|
2
|
-
export declare const Radio:
|
|
2
|
+
export declare const Radio: import("@redneckz/uni-jsx").UNIComponent<RadioProps, any, any>;
|
|
@@ -8,5 +8,5 @@ interface RadioButtonGroupProps extends UniBlockProps {
|
|
|
8
8
|
checkedItem?: string;
|
|
9
9
|
onChangeCheckedItem: (id: string) => void;
|
|
10
10
|
}
|
|
11
|
-
export declare const RadioButtonGroup:
|
|
11
|
+
export declare const RadioButtonGroup: import("@redneckz/uni-jsx").UNIComponent<RadioButtonGroupProps, any, any>;
|
|
12
12
|
export {};
|
|
@@ -16,4 +16,4 @@ export interface SVGProps extends SVGPathOptions {
|
|
|
16
16
|
width?: string;
|
|
17
17
|
height?: string;
|
|
18
18
|
}
|
|
19
|
-
export declare const SVG:
|
|
19
|
+
export declare const SVG: import("@redneckz/uni-jsx").UNIComponent<SVGProps, any, any>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { UniBlockProps } from '../../types';
|
|
2
|
-
export declare const SearchBar:
|
|
2
|
+
export declare const SearchBar: import("@redneckz/uni-jsx").UNIComponent<UniBlockProps, any, any>;
|
|
@@ -3,7 +3,7 @@ exports.SearchBar = void 0;
|
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
5
|
const SearchBarInner_1 = require("./SearchBarInner");
|
|
6
|
-
exports.SearchBar = (0, uni_jsx_1.JSX)(({ className = ''
|
|
7
|
-
return (0, jsx_runtime_1.jsx)(SearchBarInner_1.SearchBarInner, {
|
|
6
|
+
exports.SearchBar = (0, uni_jsx_1.JSX)(({ className = '' }) => {
|
|
7
|
+
return (0, jsx_runtime_1.jsx)(SearchBarInner_1.SearchBarInner, { className: className, isMobile: true });
|
|
8
8
|
});
|
|
9
9
|
//# sourceMappingURL=SearchBar.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchBar.js","sourceRoot":"","sources":["../../../src/ui-kit/SearchBar/SearchBar.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,qDAAkD;AAErC,QAAA,SAAS,GAAG,IAAA,aAAG,EAAgB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,
|
|
1
|
+
{"version":3,"file":"SearchBar.js","sourceRoot":"","sources":["../../../src/ui-kit/SearchBar/SearchBar.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,qDAAkD;AAErC,QAAA,SAAS,GAAG,IAAA,aAAG,EAAgB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,EAAE,EAAE;IACjE,OAAO,uBAAC,+BAAc,IAAC,SAAS,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,GAAI,CAAC;AAClE,CAAC,CAAC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
export interface SearchBarInnerProps extends UniBlockProps {
|
|
1
|
+
export interface SearchBarInnerProps {
|
|
3
2
|
isMobile?: boolean;
|
|
3
|
+
className?: string;
|
|
4
4
|
}
|
|
5
|
-
export declare const SearchBarInner:
|
|
5
|
+
export declare const SearchBarInner: import("@redneckz/uni-jsx").UNIComponent<SearchBarInnerProps, any, any>;
|
|
@@ -2,10 +2,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
2
2
|
exports.SearchBarInner = void 0;
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
+
const useSearch_1 = require("../../hooks/useSearch");
|
|
5
6
|
const Button_1 = require("../Button/Button");
|
|
6
7
|
const Img_1 = require("../Img/Img");
|
|
7
|
-
exports.SearchBarInner = (0, uni_jsx_1.JSX)(({ className,
|
|
8
|
-
const { term, setTerm } =
|
|
8
|
+
exports.SearchBarInner = (0, uni_jsx_1.JSX)(({ className, isMobile = false }) => {
|
|
9
|
+
const { term, setTerm } = (0, useSearch_1.useSearch)();
|
|
9
10
|
const LoupeIconClassName = isMobile ? 'w-[20px] h-[20px]' : 'w-[24px] h-[24px]';
|
|
10
11
|
const SearchBarLabelClassName = isMobile ? 'text-s' : 'text-l-light';
|
|
11
12
|
const SearchBarInputClassName = isMobile ? ' placeholder-transparent' : 'h-full';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchBarInner.js","sourceRoot":"","sources":["../../../src/ui-kit/SearchBar/SearchBarInner.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;
|
|
1
|
+
{"version":3,"file":"SearchBarInner.js","sourceRoot":"","sources":["../../../src/ui-kit/SearchBar/SearchBarInner.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,qDAAkD;AAClD,6CAA0C;AAC1C,oCAAiC;AAOpB,QAAA,cAAc,GAAG,IAAA,aAAG,EAAsB,CAAC,EAAE,SAAS,EAAE,QAAQ,GAAG,KAAK,EAAE,EAAE,EAAE;IACzF,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,IAAA,qBAAS,GAAE,CAAC;IAEtC,MAAM,kBAAkB,GAAG,QAAQ,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,mBAAmB,CAAC;IAChF,MAAM,uBAAuB,GAAG,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,cAAc,CAAC;IACrE,MAAM,uBAAuB,GAAG,QAAQ,CAAC,CAAC,CAAC,0BAA0B,CAAC,CAAC,CAAC,QAAQ,CAAC;IACjF,MAAM,gBAAgB,GAAG,QAAQ,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;IAE9D,OAAO,CACL,kCAAM,SAAS,EAAE,sBAAsB,SAAS,EAAE,aAChD,iCAAK,SAAS,EAAC,yGAAyG,aACtH,gCAAK,SAAS,EAAE,kBAAkB,YAChC,uBAAC,SAAG,IAAC,KAAK,EAAC,WAAW,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,GAAG,GAC5C,EACL,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CACb,kCACE,OAAO,EAAC,kBAAkB,EAC1B,SAAS,EAAE,uBAAuB,uBAAuB,EAAE,2FAGrD,CACT,IACG,EACN,kCACE,EAAE,EAAC,kBAAkB,EACrB,SAAS,EAAE;mFACgE,uBAAuB,EAAE,EACpG,KAAK,EAAE,IAAI,EACX,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAe,CAAC,EAClD,IAAI,EAAC,MAAM,EACX,IAAI,EAAC,kBAAkB,EACvB,WAAW,EAAE,gBAAgB,GAC7B,EACD,QAAQ,CAAC,CAAC,CAAC,CACV,mCACE,SAAS,EAAC,uHAAuH,EACjI,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE;oBACb,CAAC,CAAC,cAAc,EAAE,CAAC;oBACnB,OAAO,CAAC,EAAE,CAAC,CAAC;gBACd,CAAC,YAED,uBAAC,SAAG,IAAC,KAAK,EAAC,WAAW,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,GAAG,GACzC,CACV,CAAC,CAAC,CAAC,CACF,uBAAC,eAAM,IACL,OAAO,EAAC,SAAS,EACjB,IAAI,EAAC,gCAAO,EACZ,SAAS,EAAC,qDAAqD,EAC/D,OAAO,EAAE,CAAC,EAAE,EAAE,EAAE;oBACd,EAAE,EAAE,cAAc,EAAE,CAAC;oBACrB,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;gBACvB,CAAC,YAED,gCAAK,SAAS,EAAC,oBAAoB,+CAAY,GACxC,CACV,IACI,CACR,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -5,4 +5,4 @@ export interface SelectProps {
|
|
|
5
5
|
value: string;
|
|
6
6
|
onChange: (value: string) => void;
|
|
7
7
|
}
|
|
8
|
-
export declare const Select:
|
|
8
|
+
export declare const Select: import("@redneckz/uni-jsx").UNIComponent<SelectProps, any, any>;
|
|
@@ -3,4 +3,4 @@ export interface SelectOptionProps {
|
|
|
3
3
|
value?: string;
|
|
4
4
|
selected?: boolean;
|
|
5
5
|
}
|
|
6
|
-
export declare const SelectOption:
|
|
6
|
+
export declare const SelectOption: import("@redneckz/uni-jsx").UNIComponent<SelectOptionProps, any, any>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { SwipeListControlProps } from './SwipeListControlProps';
|
|
2
|
-
export declare const SwipeListControl:
|
|
2
|
+
export declare const SwipeListControl: import("@redneckz/uni-jsx").UNIComponent<SwipeListControlProps, any, any>;
|
|
@@ -2,14 +2,15 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
2
2
|
exports.SwipeListControl = void 0;
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
+
const hooks_1 = require("@redneckz/uni-jsx/lib/hooks");
|
|
5
6
|
const constants_1 = require("./constants");
|
|
6
7
|
const SwipeListControlDots_1 = require("./SwipeListControlDots");
|
|
7
8
|
const SwipeListControlList_1 = require("./SwipeListControlList");
|
|
8
9
|
const getIndexParts_1 = require("./utils/getIndexParts");
|
|
9
10
|
const getScrollPoints_1 = require("./utils/getScrollPoints");
|
|
10
|
-
exports.SwipeListControl = (0, uni_jsx_1.JSX)(({ className,
|
|
11
|
-
const [activeIndex, setActiveIndex] =
|
|
12
|
-
const [indexFraction, setIndexFraction] =
|
|
11
|
+
exports.SwipeListControl = (0, uni_jsx_1.JSX)(({ className, children, gap = constants_1.DEFAULT_GAP, padding = constants_1.DEFAULT_PADDING, showDots = true, onSlideChange, }) => {
|
|
12
|
+
const [activeIndex, setActiveIndex] = (0, hooks_1.useState)(0);
|
|
13
|
+
const [indexFraction, setIndexFraction] = (0, hooks_1.useState)(0);
|
|
13
14
|
const dotsProps = {
|
|
14
15
|
activeIndex,
|
|
15
16
|
indexFraction,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SwipeListControl.js","sourceRoot":"","sources":["../../../src/ui-kit/SwipeListControl/SwipeListControl.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,2CAA2D;AAC3D,iEAA8D;AAC9D,iEAA8D;AAE9D,yDAAsD;AACtD,6DAA0D;AAE7C,QAAA,gBAAgB,GAAG,IAAA,aAAG,EACjC,CAAC,EACC,SAAS,EACT,
|
|
1
|
+
{"version":3,"file":"SwipeListControl.js","sourceRoot":"","sources":["../../../src/ui-kit/SwipeListControl/SwipeListControl.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAuD;AACvD,2CAA2D;AAC3D,iEAA8D;AAC9D,iEAA8D;AAE9D,yDAAsD;AACtD,6DAA0D;AAE7C,QAAA,gBAAgB,GAAG,IAAA,aAAG,EACjC,CAAC,EACC,SAAS,EACT,QAAQ,EACR,GAAG,GAAG,uBAAW,EACjB,OAAO,GAAG,2BAAe,EACzB,QAAQ,GAAG,IAAI,EACf,aAAa,GACd,EAAE,EAAE;IACH,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,IAAA,gBAAQ,EAAC,CAAC,CAAC,CAAC;IAClD,MAAM,CAAC,aAAa,EAAE,gBAAgB,CAAC,GAAG,IAAA,gBAAQ,EAAC,CAAC,CAAC,CAAC;IAEtD,MAAM,SAAS,GAAG;QAChB,WAAW;QACX,aAAa;QACb,QAAQ;QACR,QAAQ;KACT,CAAC;IAEF,MAAM,YAAY,GAAG,CAAC,CAAC,EAAE,EAAE;QACzB,MAAM,EACJ,UAAU,EACV,WAAW,EACX,iBAAiB,EACjB,WAAW,EACX,QAAQ,EAAE,kBAAkB,GAC7B,GAAG,CAAC,EAAE,aAA4B,CAAC;QAEpC,+EAA+E;QAC/E,gGAAgG;QAChG,MAAM,SAAS,GAAI,kBAAkB,CAAC,CAAC,CAAiB,CAAC,WAAW,GAAG,OAAO,GAAG,CAAC,CAAC;QACnF,MAAM,YAAY,GAAG,IAAA,iCAAe,EAAC;YACnC,GAAG;YACH,OAAO;YACP,WAAW;YACX,WAAW;YACX,iBAAiB;YACjB,SAAS;SACV,CAAC,CAAC;QAEH,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,IAAA,6BAAa,EAAC,UAAU,EAAE,YAAY,CAAC,CAAC;QACpE,IAAI,KAAK,KAAK,WAAW,IAAI,aAAa,EAAE;YAC1C,aAAa,EAAE,CAAC;SACjB;QACD,cAAc,CAAC,KAAK,CAAC,CAAC;QACtB,gBAAgB,CAAC,QAAQ,CAAC,CAAC;IAC7B,CAAC,CAAC;IAEF,OAAO,CACL,iCAAK,SAAS,EAAE,SAAS,aACvB,uBAAC,2CAAoB,IACnB,GAAG,EAAE,GAAG,EACR,OAAO,EAAE,OAAO,EAChB,WAAW,EAAE,WAAW,EACxB,QAAQ,EAAE,YAAY,YAErB,QAAQ,GACY,EACvB,uBAAC,2CAAoB,OAAK,SAAS,GAAI,IACnC,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -3,4 +3,4 @@ export interface SwipeListControlDotsProps {
|
|
|
3
3
|
indexFraction: number;
|
|
4
4
|
showDots?: boolean;
|
|
5
5
|
}
|
|
6
|
-
export declare const SwipeListControlDots:
|
|
6
|
+
export declare const SwipeListControlDots: import("@redneckz/uni-jsx").UNIComponent<SwipeListControlDotsProps, any, any>;
|
|
@@ -6,4 +6,4 @@ export interface SwipeListControlItemProps {
|
|
|
6
6
|
style?: Record<string, string>;
|
|
7
7
|
'aria-current'?: boolean;
|
|
8
8
|
}
|
|
9
|
-
export declare const SwipeListControlItem:
|
|
9
|
+
export declare const SwipeListControlItem: import("@redneckz/uni-jsx").UNIComponent<SwipeListControlItemProps, any, any>;
|
|
@@ -7,4 +7,4 @@ export interface SwipeListControlListProps extends SwipeContainer {
|
|
|
7
7
|
activeIndex: number;
|
|
8
8
|
onScroll?: (e: any) => void;
|
|
9
9
|
}
|
|
10
|
-
export declare const SwipeListControlList:
|
|
10
|
+
export declare const SwipeListControlList: import("@redneckz/uni-jsx").UNIComponent<SwipeListControlListProps, any, any>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { TableArrowScrollControlProps } from './TableArrowScrollControlProps';
|
|
2
|
-
export declare const TableArrowScrollControl:
|
|
2
|
+
export declare const TableArrowScrollControl: import("@redneckz/uni-jsx").UNIComponent<TableArrowScrollControlProps, any, any>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { TabsProps } from './TabsProps';
|
|
2
|
-
export declare const Tabs:
|
|
2
|
+
export declare const Tabs: import("@redneckz/uni-jsx").UNIComponent<TabsProps, any, any>;
|
|
@@ -11,4 +11,4 @@ export interface TopItemProps extends TopItemContent {
|
|
|
11
11
|
bgColor?: BgColorVersion;
|
|
12
12
|
dataItemName?: string;
|
|
13
13
|
}
|
|
14
|
-
export declare const TopItem:
|
|
14
|
+
export declare const TopItem: import("@redneckz/uni-jsx").UNIComponent<TopItemProps, any, any>;
|
|
@@ -3,10 +3,9 @@ export interface ProjectSettings {
|
|
|
3
3
|
RC_BRANCH?: string;
|
|
4
4
|
PROD_BRANCH: string;
|
|
5
5
|
FORCED_DRAFT_FLOW: boolean;
|
|
6
|
-
|
|
6
|
+
ASSIST_PROJECT_ID?: string;
|
|
7
7
|
SITEMAP?: string;
|
|
8
8
|
CDN?: string;
|
|
9
|
-
CREDIT_CALCULATOR?: string;
|
|
10
9
|
}
|
|
11
10
|
export declare const projectSettings: {
|
|
12
11
|
_: ProjectSettings;
|
|
@@ -15,7 +14,7 @@ export declare const projectSettings: {
|
|
|
15
14
|
readonly RC_BRANCH: string | undefined;
|
|
16
15
|
readonly PROD_BRANCH: string;
|
|
17
16
|
readonly FORCED_DRAFT_FLOW: boolean;
|
|
18
|
-
readonly
|
|
17
|
+
readonly ASSIST_PROJECT_ID: string | undefined;
|
|
19
18
|
readonly SITEMAP: string | undefined;
|
|
20
19
|
readonly CDN: string | undefined;
|
|
21
20
|
};
|
|
@@ -18,8 +18,8 @@ export const projectSettings = new (class {
|
|
|
18
18
|
get FORCED_DRAFT_FLOW() {
|
|
19
19
|
return this._.FORCED_DRAFT_FLOW;
|
|
20
20
|
}
|
|
21
|
-
get
|
|
22
|
-
return this._.
|
|
21
|
+
get ASSIST_PROJECT_ID() {
|
|
22
|
+
return this._.ASSIST_PROJECT_ID;
|
|
23
23
|
}
|
|
24
24
|
get SITEMAP() {
|
|
25
25
|
return this._.SITEMAP;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProjectSettings.js","sourceRoot":"","sources":["../src/ProjectSettings.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ProjectSettings.js","sourceRoot":"","sources":["../src/ProjectSettings.ts"],"names":[],"mappings":"AAUA,MAAM,CAAC,MAAM,eAAe,GAAG,IAAI,CAAC;IAClC,CAAC,GAAoB;QACnB,WAAW,EAAE,QAAQ;QACrB,iBAAiB,EAAE,KAAK;KACzB,CAAC;IAEF,KAAK,CAAC,CAAkB;QACtB,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;IAED,IAAI,WAAW;QACb,OAAO,IAAI,CAAC,CAAC,CAAC,WAAW,CAAC;IAC5B,CAAC;IACD,IAAI,SAAS;QACX,OAAO,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;IAC1B,CAAC;IACD,IAAI,WAAW;QACb,OAAO,IAAI,CAAC,CAAC,CAAC,WAAW,CAAC;IAC5B,CAAC;IACD,IAAI,iBAAiB;QACnB,OAAO,IAAI,CAAC,CAAC,CAAC,iBAAiB,CAAC;IAClC,CAAC;IACD,IAAI,iBAAiB;QACnB,OAAO,IAAI,CAAC,CAAC,CAAC,iBAAiB,CAAC;IAClC,CAAC;IACD,IAAI,OAAO;QACT,OAAO,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC;IACxB,CAAC;IACD,IAAI,GAAG;QACL,OAAO,IAAI,CAAC,CAAC,CAAC,GAAG,CAAC;IACpB,CAAC;CACF,CAAC,EAAE,CAAC"}
|
|
@@ -2,7 +2,7 @@ export interface LikeData {
|
|
|
2
2
|
node_id: string;
|
|
3
3
|
value: number;
|
|
4
4
|
}
|
|
5
|
-
export declare function LikeAPI(
|
|
5
|
+
export declare function LikeAPI(): {
|
|
6
6
|
getLikeCount: (...nodeIds: string[]) => Promise<LikeData[]>;
|
|
7
7
|
like: (nodeId: string) => Promise<number>;
|
|
8
8
|
dislike: (nodeId: string) => Promise<number>;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
+
import { projectSettings } from '../ProjectSettings.js';
|
|
1
2
|
const AUTH_PREFIX = 'guest';
|
|
2
3
|
const STORAGE_KEY = 'likesToken';
|
|
3
4
|
// eslint-disable-next-line max-lines-per-function
|
|
4
|
-
export function LikeAPI(
|
|
5
|
+
export function LikeAPI() {
|
|
5
6
|
async function getLikeCount(...nodeIds) {
|
|
6
7
|
if (!nodeIds.length) {
|
|
7
8
|
return [];
|
|
8
9
|
}
|
|
9
10
|
const { token: Authorization } = await auth();
|
|
10
11
|
try {
|
|
11
|
-
const response = await fetch(
|
|
12
|
+
const response = await fetch(`/assist/v1/public/projects/${projectSettings.ASSIST_PROJECT_ID}/nodes/likes`, {
|
|
12
13
|
method: 'POST',
|
|
13
14
|
mode: 'cors',
|
|
14
15
|
headers: { 'Content-Type': 'application/json', Authorization },
|
|
@@ -30,7 +31,7 @@ export function LikeAPI(projectId, baseURL = '') {
|
|
|
30
31
|
}
|
|
31
32
|
const { token: Authorization, name } = await auth();
|
|
32
33
|
try {
|
|
33
|
-
const response = await fetch(
|
|
34
|
+
const response = await fetch(`/assist/v1/public/projects/${projectSettings.ASSIST_PROJECT_ID}/nodes/like`, {
|
|
34
35
|
method: 'POST',
|
|
35
36
|
mode: 'cors',
|
|
36
37
|
headers: {
|
|
@@ -57,7 +58,7 @@ export function LikeAPI(projectId, baseURL = '') {
|
|
|
57
58
|
}
|
|
58
59
|
const { token: Authorization, name } = await auth();
|
|
59
60
|
try {
|
|
60
|
-
const response = await fetch(
|
|
61
|
+
const response = await fetch(`/assist/v1/public/projects/${projectSettings.ASSIST_PROJECT_ID}/nodes/unlike`, {
|
|
61
62
|
method: 'POST',
|
|
62
63
|
mode: 'cors',
|
|
63
64
|
headers: {
|
|
@@ -89,7 +90,7 @@ export function LikeAPI(projectId, baseURL = '') {
|
|
|
89
90
|
// do nothing
|
|
90
91
|
}
|
|
91
92
|
try {
|
|
92
|
-
const response = await fetch(
|
|
93
|
+
const response = await fetch(`/assist/v1/public/auth`, {
|
|
93
94
|
method: 'POST',
|
|
94
95
|
mode: 'cors',
|
|
95
96
|
headers: {
|