@redneckz/wildless-cms-uni-blocks 0.6.26 → 0.6.28
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/ProjectSettings.d.ts +2 -0
- package/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +395 -429
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/BaseTile/BaseTile.d.ts +2 -2
- package/bundle/components/BusinessBlock/BusinessBlock.d.ts +5 -0
- package/bundle/components/BusinessBlock/BusinessBlockContent.d.ts +28 -0
- package/bundle/components/BusinessBlock/BusinessCard.d.ts +2 -0
- package/bundle/components/Calculator/BonusCalculatorForm.d.ts +2 -2
- package/bundle/components/Calculator/CreditCalculatorForm.d.ts +2 -2
- package/bundle/components/Calculator/DepositCalculatorForm.d.ts +2 -2
- package/bundle/components/Calculator/renderButtonSection.d.ts +1 -2
- package/bundle/components/Calculator/renderCalculatorBlock.d.ts +1 -1
- package/bundle/components/Catalog/CatalogCard.d.ts +2 -2
- package/bundle/components/ComparisonTable/ComparisonTableBody.d.ts +1 -3
- package/bundle/components/ComparisonTable/ComparisonTableColumnHeaders.d.ts +0 -3
- package/bundle/components/ContentPage/renderBlock.d.ts +0 -2
- package/bundle/components/ContentPage/renderBlockList.d.ts +1 -1
- package/bundle/components/ContentPage/renderSlots.d.ts +1 -1
- package/bundle/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +1 -2
- package/bundle/components/Footer/Contacts.d.ts +2 -2
- package/bundle/components/Footer/Footer.fallback.d.ts +2 -0
- package/bundle/components/Footer/FooterContent.d.ts +3 -19
- package/bundle/components/Footer/FooterDataProps.d.ts +12 -0
- package/bundle/components/Footer/FooterLink.d.ts +2 -2
- package/bundle/components/Footer/HorizontalNavigation.d.ts +1 -2
- package/bundle/components/Footer/HorizontalNavigation.mobile.d.ts +1 -2
- package/bundle/components/Footer/Sitemap.d.ts +2 -2
- package/bundle/components/Footer/SocialMedia.d.ts +2 -2
- package/bundle/components/Footer/SocialMedia.mobile.d.ts +2 -2
- package/bundle/components/Footer/useFooterData.d.ts +2 -0
- package/bundle/components/Gallery/GalleryContainer.d.ts +1 -3
- package/bundle/components/Gallery/GalleryContent.d.ts +1 -1
- package/bundle/components/Header/DropdownMenu.d.ts +0 -2
- package/bundle/components/Header/HeaderBurger.d.ts +0 -2
- package/bundle/components/Header/HeaderSubMenu.d.ts +0 -2
- package/bundle/components/Header/HeaderSubMenuItem.d.ts +0 -2
- package/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +2 -2
- package/bundle/components/InvestmentGallery/InvestmentGalleryCard.d.ts +2 -2
- package/bundle/components/LikeControl/LikeControl.d.ts +5 -2
- package/bundle/components/LinkDocs/LinkDocsHorizontalList.d.ts +1 -5
- package/bundle/components/OfficeMap/useOfficeMap.d.ts +56 -2
- package/bundle/components/Placeholder/Placeholder.d.ts +0 -1
- package/bundle/components/ProductBlock/renderBackwardButton.d.ts +1 -1
- package/bundle/components/Recommendation/RecommendationCard.d.ts +2 -2
- package/bundle/components/StepsBlock/renderStepContent.d.ts +2 -5
- package/bundle/components/Tabs/LinkTab.d.ts +8 -0
- package/bundle/components/Tabs/Tabs.d.ts +2 -2
- package/bundle/components/Tabs/TabsContent.d.ts +5 -5
- package/bundle/components/Tabs/renderGroupTab.d.ts +2 -2
- package/bundle/components/Tabs/renderTab.d.ts +4 -6
- package/bundle/components/TariffsTable/TariffsTableContent.d.ts +1 -1
- package/bundle/components/TariffsTable/TariffsTableRenderCell.d.ts +1 -3
- package/bundle/components/TariffsTable/TariffsTableRowContainer.d.ts +1 -3
- package/bundle/components/TariffsTable/TariffsTableTileCell.d.ts +3 -4
- package/bundle/components/VerticalLayout/VerticalLayout.d.ts +5 -0
- package/bundle/components/VerticalLayout/VerticalLayoutContent.d.ts +17 -0
- package/bundle/hooks/handlerDecorator.d.ts +5 -0
- package/bundle/hooks/useLink.d.ts +6 -16
- package/bundle/hooks/useRouter.d.ts +13 -0
- package/bundle/hooks/useTableArrowScrollControl.d.ts +1 -3
- package/bundle/index.d.ts +2 -0
- package/bundle/model/BlockVersion.d.ts +1 -0
- package/bundle/model/BlocksRegistry.d.ts +1 -1
- package/bundle/model/JSXBlock.d.ts +7 -8
- package/bundle/react/setup-fixture.d.ts +0 -3
- package/bundle/services/sitemap/SitemapProps.d.ts +1 -1
- package/bundle/services/sitemap/findActiveSubItem.d.ts +1 -1
- package/bundle/services/sitemap/isSubItemActive.d.ts +1 -1
- package/bundle/services/sitemap/isTopItemActive.d.ts +1 -1
- package/bundle/services/sitemap/useSWRResource.d.ts +2 -0
- package/bundle/ui-kit/BlockWrapper.d.ts +2 -2
- package/bundle/ui-kit/Button/ButtonSection.d.ts +2 -2
- package/bundle/ui-kit/Checkbox/CheckboxProps.d.ts +2 -2
- package/bundle/ui-kit/InnerTable/InnerTable.d.ts +2 -3
- package/bundle/ui-kit/InnerTable/InnerTableBody.d.ts +1 -2
- package/bundle/ui-kit/InnerTable/InnerTableBodyItem.d.ts +1 -2
- package/bundle/ui-kit/InnerTable/InnerTableButton.d.ts +1 -2
- package/bundle/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +4 -5
- package/bundle/ui-kit/SearchBar/SearchBar.d.ts +2 -2
- package/bundle/ui-kit/SearchBar/SearchBar.mobile.d.ts +2 -2
- package/bundle/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +2 -2
- package/bundle/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.d.ts +3 -2
- package/dist/ProjectSettings.d.ts +2 -0
- package/dist/ProjectSettings.js +3 -0
- package/dist/ProjectSettings.js.map +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.js +1 -1
- package/dist/components/Accordion/Accordion.mobile.js.map +1 -1
- package/dist/components/BaseTile/BaseTile.d.ts +2 -2
- package/dist/components/BaseTile/BaseTile.js +1 -3
- package/dist/components/BaseTile/BaseTile.js.map +1 -1
- package/dist/components/Blocks.js +10 -6
- package/dist/components/Blocks.js.map +1 -1
- package/dist/components/Blocks.mobile.js +0 -2
- package/dist/components/Blocks.mobile.js.map +1 -1
- package/dist/components/Bonus/Bonus.js +3 -3
- package/dist/components/Bonus/Bonus.js.map +1 -1
- package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
- package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/dist/components/BusinessBlock/BusinessBlock.d.ts +5 -0
- package/dist/components/BusinessBlock/BusinessBlock.js +9 -0
- package/dist/components/BusinessBlock/BusinessBlock.js.map +1 -0
- package/dist/components/BusinessBlock/BusinessBlockContent.d.ts +28 -0
- package/dist/components/BusinessBlock/BusinessBlockContent.js +2 -0
- package/dist/components/BusinessBlock/BusinessBlockContent.js.map +1 -0
- package/dist/components/BusinessBlock/BusinessCard.d.ts +2 -0
- package/dist/components/BusinessBlock/BusinessCard.js +16 -0
- package/dist/components/BusinessBlock/BusinessCard.js.map +1 -0
- package/dist/components/Calculator/BonusCalculatorForm.d.ts +2 -2
- package/dist/components/Calculator/BonusCalculatorForm.js +2 -2
- package/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
- package/dist/components/Calculator/Calculator.js +3 -5
- package/dist/components/Calculator/Calculator.js.map +1 -1
- package/dist/components/Calculator/CreditCalculatorForm.d.ts +2 -2
- package/dist/components/Calculator/CreditCalculatorForm.js +3 -8
- package/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/dist/components/Calculator/DepositCalculatorForm.d.ts +2 -2
- package/dist/components/Calculator/DepositCalculatorForm.js +3 -8
- package/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
- package/dist/components/Calculator/renderButtonSection.d.ts +1 -2
- package/dist/components/Calculator/renderButtonSection.js +2 -2
- package/dist/components/Calculator/renderButtonSection.js.map +1 -1
- package/dist/components/Calculator/renderCalculatorBlock.d.ts +1 -1
- package/dist/components/Calculator/renderCalculatorBlock.js +2 -2
- package/dist/components/Calculator/renderCalculatorBlock.js.map +1 -1
- package/dist/components/CardTransfer/CardTransfer.js +3 -4
- package/dist/components/CardTransfer/CardTransfer.js.map +1 -1
- package/dist/components/Catalog/Catalog.js +11 -21
- package/dist/components/Catalog/Catalog.js.map +1 -1
- package/dist/components/Catalog/CatalogCard.d.ts +2 -2
- package/dist/components/Catalog/CatalogCard.js +1 -3
- package/dist/components/Catalog/CatalogCard.js.map +1 -1
- package/dist/components/ComparisonTable/ComparisonTable.js +4 -6
- package/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
- package/dist/components/ComparisonTable/ComparisonTable.mobile.js +3 -3
- package/dist/components/ComparisonTable/ComparisonTable.mobile.js.map +1 -1
- package/dist/components/ComparisonTable/ComparisonTableBody.d.ts +1 -3
- package/dist/components/ComparisonTable/ComparisonTableBody.js +3 -9
- package/dist/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
- package/dist/components/ComparisonTable/ComparisonTableColumnHeaders.d.ts +0 -3
- package/dist/components/ComparisonTable/ComparisonTableColumnHeaders.js +1 -4
- package/dist/components/ComparisonTable/ComparisonTableColumnHeaders.js.map +1 -1
- package/dist/components/ComparisonTable/ComparisonTableRows.js +2 -2
- package/dist/components/ComparisonTable/ComparisonTableRows.js.map +1 -1
- package/dist/components/ComparisonTable/HeaderCell.js +1 -1
- package/dist/components/ComparisonTable/HeaderCell.js.map +1 -1
- package/dist/components/ContactsBlock/ContactsBlock.js +2 -2
- package/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
- package/dist/components/ContentPage/ContentPage.js +4 -5
- package/dist/components/ContentPage/ContentPage.js.map +1 -1
- package/dist/components/ContentPage/renderBlock.d.ts +0 -2
- package/dist/components/ContentPage/renderBlock.js +3 -3
- package/dist/components/ContentPage/renderBlock.js.map +1 -1
- package/dist/components/ContentPage/renderBlockList.d.ts +1 -1
- package/dist/components/ContentPage/renderBlockList.js +5 -12
- package/dist/components/ContentPage/renderBlockList.js.map +1 -1
- package/dist/components/ContentPage/renderSlots.d.ts +1 -1
- package/dist/components/ContentPage/renderSlots.js +10 -12
- package/dist/components/ContentPage/renderSlots.js.map +1 -1
- package/dist/components/ErrorBlock/ErrorBlock.js +1 -6
- package/dist/components/ErrorBlock/ErrorBlock.js.map +1 -1
- package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +1 -2
- package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +2 -5
- package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
- package/dist/components/ExchangeRateTile/ExchangeRateTile.js +2 -2
- package/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
- package/dist/components/Footer/Contacts.d.ts +2 -2
- package/dist/components/Footer/Contacts.js +1 -10
- package/dist/components/Footer/Contacts.js.map +1 -1
- package/dist/components/Footer/Footer.fallback.d.ts +2 -0
- package/dist/components/Footer/Footer.fallback.js +13 -0
- package/dist/components/Footer/Footer.fallback.js.map +1 -0
- package/dist/components/Footer/Footer.js +6 -3
- package/dist/components/Footer/Footer.js.map +1 -1
- package/dist/components/Footer/Footer.mobile.js +10 -9
- package/dist/components/Footer/Footer.mobile.js.map +1 -1
- package/dist/components/Footer/FooterContent.d.ts +3 -19
- package/dist/components/Footer/FooterDataProps.d.ts +12 -0
- package/dist/components/{ContentPage/ContentPageContext.js → Footer/FooterDataProps.js} +1 -1
- package/dist/components/Footer/FooterDataProps.js.map +1 -0
- package/dist/components/Footer/FooterLink.d.ts +2 -2
- package/dist/components/Footer/HorizontalNavigation.d.ts +1 -2
- package/dist/components/Footer/HorizontalNavigation.js +2 -5
- package/dist/components/Footer/HorizontalNavigation.js.map +1 -1
- package/dist/components/Footer/HorizontalNavigation.mobile.d.ts +1 -2
- package/dist/components/Footer/HorizontalNavigation.mobile.js +1 -6
- package/dist/components/Footer/HorizontalNavigation.mobile.js.map +1 -1
- package/dist/components/Footer/HorizontalNavigationLink.js +6 -1
- package/dist/components/Footer/HorizontalNavigationLink.js.map +1 -1
- package/dist/components/Footer/MediaButton.js +5 -2
- package/dist/components/Footer/MediaButton.js.map +1 -1
- package/dist/components/Footer/Sitemap.d.ts +2 -2
- package/dist/components/Footer/Sitemap.js +14 -12
- package/dist/components/Footer/Sitemap.js.map +1 -1
- package/dist/components/Footer/SocialMedia.d.ts +2 -2
- package/dist/components/Footer/SocialMedia.js +1 -6
- package/dist/components/Footer/SocialMedia.js.map +1 -1
- package/dist/components/Footer/SocialMedia.mobile.d.ts +2 -2
- package/dist/components/Footer/SocialMedia.mobile.js +1 -6
- package/dist/components/Footer/SocialMedia.mobile.js.map +1 -1
- package/dist/components/Footer/TextInformation.js +1 -6
- package/dist/components/Footer/TextInformation.js.map +1 -1
- package/dist/components/Footer/TextInformation.mobile.js +2 -5
- package/dist/components/Footer/TextInformation.mobile.js.map +1 -1
- package/dist/components/Footer/TextInformationLink.js +6 -1
- package/dist/components/Footer/TextInformationLink.js.map +1 -1
- package/dist/components/Footer/useFooterData.d.ts +2 -0
- package/dist/{services/sitemap/useSitemap.js → components/Footer/useFooterData.js} +5 -5
- package/dist/components/Footer/useFooterData.js.map +1 -0
- package/dist/components/Gallery/Gallery.mobile.js +4 -4
- package/dist/components/Gallery/Gallery.mobile.js.map +1 -1
- package/dist/components/Gallery/GalleryContainer.d.ts +1 -3
- package/dist/components/Gallery/GalleryContainer.js +2 -2
- package/dist/components/Gallery/GalleryContainer.js.map +1 -1
- package/dist/components/Gallery/GalleryContent.d.ts +1 -1
- package/dist/components/Gallery/GalleryInner.js +2 -2
- package/dist/components/Gallery/GalleryInner.js.map +1 -1
- package/dist/components/GracePeriod/GracePeriod.js +1 -3
- package/dist/components/GracePeriod/GracePeriod.js.map +1 -1
- package/dist/components/Header/DropdownMenu.d.ts +0 -2
- package/dist/components/Header/DropdownMenu.js +3 -4
- package/dist/components/Header/DropdownMenu.js.map +1 -1
- package/dist/components/Header/Header.js +8 -9
- package/dist/components/Header/Header.js.map +1 -1
- package/dist/components/Header/Header.mobile.js +8 -14
- package/dist/components/Header/Header.mobile.js.map +1 -1
- package/dist/components/Header/HeaderBurger.d.ts +0 -2
- package/dist/components/Header/HeaderBurger.js +2 -2
- package/dist/components/Header/HeaderBurger.js.map +1 -1
- package/dist/components/Header/HeaderSubMenu.d.ts +0 -2
- package/dist/components/Header/HeaderSubMenu.js +4 -3
- package/dist/components/Header/HeaderSubMenu.js.map +1 -1
- package/dist/components/Header/HeaderSubMenuItem.d.ts +0 -2
- package/dist/components/Header/HeaderSubMenuItem.js +2 -5
- package/dist/components/Header/HeaderSubMenuItem.js.map +1 -1
- package/dist/components/Headline/Headline.js +1 -1
- package/dist/components/Headline/Headline.js.map +1 -1
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +4 -6
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +2 -2
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/dist/components/InvestmentGallery/InvestmentGallery.js +3 -7
- package/dist/components/InvestmentGallery/InvestmentGallery.js.map +1 -1
- package/dist/components/InvestmentGallery/InvestmentGalleryCard.d.ts +2 -2
- package/dist/components/InvestmentGallery/InvestmentGalleryCard.js +2 -2
- package/dist/components/InvestmentGallery/InvestmentGalleryCard.js.map +1 -1
- package/dist/components/InvestmentInfo/InvestmentInfo.js +2 -2
- package/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
- package/dist/components/LikeControl/LikeControl.d.ts +5 -2
- package/dist/components/LikeControl/LikeControl.js +5 -6
- package/dist/components/LikeControl/LikeControl.js.map +1 -1
- package/dist/components/LinkDocs/LinkDocs.js +1 -3
- package/dist/components/LinkDocs/LinkDocs.js.map +1 -1
- package/dist/components/LinkDocs/LinkDocs.mobile.js +1 -3
- package/dist/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
- package/dist/components/LinkDocs/LinkDocsHorizontalList.d.ts +1 -5
- package/dist/components/LinkDocs/LinkDocsHorizontalList.js +3 -5
- package/dist/components/LinkDocs/LinkDocsHorizontalList.js.map +1 -1
- package/dist/components/LinkList/LinkList.js +1 -3
- package/dist/components/LinkList/LinkList.js.map +1 -1
- package/dist/components/MobileAppTile/MobileAppTile.js +4 -4
- package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/dist/components/OfficeMap/OfficeMap.js +4 -2
- package/dist/components/OfficeMap/OfficeMap.js.map +1 -1
- package/dist/components/OfficeMap/useOfficeMap.d.ts +56 -2
- package/dist/components/OfficeMap/useOfficeMap.js +4 -1
- package/dist/components/OfficeMap/useOfficeMap.js.map +1 -1
- package/dist/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -3
- package/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
- package/dist/components/OtherProducts/OtherProducts.js +1 -1
- package/dist/components/OtherProducts/OtherProducts.js.map +1 -1
- package/dist/components/PictureText/PictureText.js +1 -3
- package/dist/components/PictureText/PictureText.js.map +1 -1
- package/dist/components/Placeholder/Placeholder.d.ts +0 -1
- package/dist/components/Placeholder/Placeholder.js +2 -2
- package/dist/components/Placeholder/Placeholder.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlock.js +4 -7
- package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlockInner.js +2 -5
- package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlockInner.mobile.js +2 -2
- package/dist/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
- package/dist/components/ProductBlock/renderBackwardButton.d.ts +1 -1
- package/dist/components/ProductBlock/renderBackwardButton.js +1 -0
- package/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/dist/components/ProductGallery/ProductGallery.js +5 -5
- package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
- package/dist/components/ProductTile/ProductTile.js +4 -6
- package/dist/components/ProductTile/ProductTile.js.map +1 -1
- package/dist/components/PromoTile/PromoTile.js +1 -3
- package/dist/components/PromoTile/PromoTile.js.map +1 -1
- package/dist/components/Recommendation/Recommendation.js +4 -9
- package/dist/components/Recommendation/Recommendation.js.map +1 -1
- package/dist/components/Recommendation/RecommendationCard.d.ts +2 -2
- package/dist/components/Recommendation/RecommendationCard.js +2 -2
- package/dist/components/Recommendation/RecommendationCard.js.map +1 -1
- package/dist/components/SafeDepositRental/SafeDepositRental.js +3 -3
- package/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/dist/components/StepsBlock/StepsBlock.js +3 -12
- package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
- package/dist/components/StepsBlock/renderStepContent.d.ts +2 -5
- package/dist/components/StepsBlock/renderStepContent.js +2 -3
- package/dist/components/StepsBlock/renderStepContent.js.map +1 -1
- package/dist/components/Tabs/LinkTab.d.ts +8 -0
- package/dist/components/Tabs/LinkTab.js +20 -0
- package/dist/components/Tabs/LinkTab.js.map +1 -0
- package/dist/components/Tabs/Tabs.d.ts +2 -2
- package/dist/components/Tabs/Tabs.js +2 -2
- package/dist/components/Tabs/Tabs.js.map +1 -1
- package/dist/components/Tabs/TabsContent.d.ts +5 -5
- package/dist/components/Tabs/renderGroupTab.d.ts +2 -2
- package/dist/components/Tabs/renderGroupTab.js +1 -1
- package/dist/components/Tabs/renderGroupTab.js.map +1 -1
- package/dist/components/Tabs/renderTab.d.ts +4 -6
- package/dist/components/Tabs/renderTab.js +5 -19
- package/dist/components/Tabs/renderTab.js.map +1 -1
- package/dist/components/TariffsTable/EmbeddableCellData.js +3 -5
- package/dist/components/TariffsTable/EmbeddableCellData.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTable.js +4 -7
- package/dist/components/TariffsTable/TariffsTable.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTable.mobile.js +2 -5
- package/dist/components/TariffsTable/TariffsTable.mobile.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableCell.js +1 -2
- package/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableContent.d.ts +1 -1
- package/dist/components/TariffsTable/TariffsTableHorizontal.js +1 -1
- package/dist/components/TariffsTable/TariffsTableHorizontal.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableRenderCell.d.ts +1 -3
- package/dist/components/TariffsTable/TariffsTableRenderCell.js +1 -2
- package/dist/components/TariffsTable/TariffsTableRenderCell.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableRow.js +3 -3
- package/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableRowContainer.d.ts +1 -3
- package/dist/components/TariffsTable/TariffsTableRowContainer.js +1 -3
- package/dist/components/TariffsTable/TariffsTableRowContainer.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableTileCell.d.ts +3 -4
- package/dist/components/TariffsTable/TariffsTableTileCell.js +8 -13
- package/dist/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableVertical.js +1 -1
- package/dist/components/TariffsTable/TariffsTableVertical.js.map +1 -1
- package/dist/components/Tile/Tile.js +2 -2
- package/dist/components/Tile/Tile.js.map +1 -1
- package/dist/components/VerticalLayout/VerticalLayout.d.ts +5 -0
- package/dist/components/VerticalLayout/VerticalLayout.js +35 -0
- package/dist/components/VerticalLayout/VerticalLayout.js.map +1 -0
- package/dist/components/VerticalLayout/VerticalLayoutContent.d.ts +17 -0
- package/dist/components/VerticalLayout/VerticalLayoutContent.js +2 -0
- package/dist/components/VerticalLayout/VerticalLayoutContent.js.map +1 -0
- package/dist/hooks/handlerDecorator.d.ts +5 -0
- package/dist/hooks/handlerDecorator.js +12 -0
- package/dist/hooks/handlerDecorator.js.map +1 -0
- package/dist/hooks/useLink.d.ts +6 -16
- package/dist/hooks/useLink.js +21 -17
- package/dist/hooks/useLink.js.map +1 -1
- package/dist/hooks/useRouter.d.ts +13 -0
- package/dist/hooks/useRouter.js +21 -0
- package/dist/hooks/useRouter.js.map +1 -0
- package/dist/hooks/useTableArrowScrollControl.d.ts +1 -3
- package/dist/hooks/useTableArrowScrollControl.js +13 -4
- package/dist/hooks/useTableArrowScrollControl.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/model/BlockVersion.d.ts +1 -0
- package/dist/model/BlockVersion.js +6 -1
- package/dist/model/BlockVersion.js.map +1 -1
- package/dist/model/BlocksRegistry.d.ts +1 -1
- package/dist/model/JSXBlock.d.ts +7 -8
- package/dist/react/setup-fixture.d.ts +0 -3
- package/dist/react/setup-fixture.js +9 -25
- package/dist/react/setup-fixture.js.map +1 -1
- package/dist/services/sitemap/SitemapProps.d.ts +1 -1
- package/dist/services/sitemap/findActiveSubItem.d.ts +1 -1
- package/dist/services/sitemap/isHrefActive.js +1 -2
- package/dist/services/sitemap/isHrefActive.js.map +1 -1
- package/dist/services/sitemap/isSubItemActive.d.ts +1 -1
- package/dist/services/sitemap/isTopItemActive.d.ts +1 -1
- package/dist/services/sitemap/useSWRResource.d.ts +2 -0
- package/dist/services/sitemap/useSWRResource.js +12 -0
- package/dist/services/sitemap/useSWRResource.js.map +1 -0
- package/dist/ui-kit/BlockWrapper.d.ts +2 -2
- package/dist/ui-kit/BlockWrapper.js +3 -2
- package/dist/ui-kit/BlockWrapper.js.map +1 -1
- package/dist/ui-kit/Breadcrumb.js +6 -1
- package/dist/ui-kit/Breadcrumb.js.map +1 -1
- package/dist/ui-kit/Button/Button.js +8 -9
- package/dist/ui-kit/Button/Button.js.map +1 -1
- package/dist/ui-kit/Button/ButtonInner.js +2 -3
- package/dist/ui-kit/Button/ButtonInner.js.map +1 -1
- package/dist/ui-kit/Button/ButtonSection.d.ts +2 -2
- package/dist/ui-kit/Button/ButtonSection.js +1 -6
- package/dist/ui-kit/Button/ButtonSection.js.map +1 -1
- package/dist/ui-kit/Checkbox/Checkbox.js +1 -3
- package/dist/ui-kit/Checkbox/Checkbox.js.map +1 -1
- package/dist/ui-kit/Checkbox/CheckboxProps.d.ts +2 -2
- package/dist/ui-kit/HeaderItem/HeaderItem.js +6 -1
- package/dist/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
- package/dist/ui-kit/InnerTable/InnerTable.d.ts +2 -3
- package/dist/ui-kit/InnerTable/InnerTable.js +2 -2
- package/dist/ui-kit/InnerTable/InnerTable.js.map +1 -1
- package/dist/ui-kit/InnerTable/InnerTableBody.d.ts +1 -2
- package/dist/ui-kit/InnerTable/InnerTableBody.js +2 -2
- package/dist/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
- package/dist/ui-kit/InnerTable/InnerTableBodyItem.d.ts +1 -2
- package/dist/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
- package/dist/ui-kit/InnerTable/InnerTableButton.d.ts +1 -2
- package/dist/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
- package/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +4 -5
- package/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.js +1 -3
- package/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.js.map +1 -1
- package/dist/ui-kit/SearchBar/SearchBar.d.ts +2 -2
- package/dist/ui-kit/SearchBar/SearchBar.js +1 -3
- package/dist/ui-kit/SearchBar/SearchBar.js.map +1 -1
- package/dist/ui-kit/SearchBar/SearchBar.mobile.d.ts +2 -2
- package/dist/ui-kit/SearchBar/SearchBar.mobile.js +1 -3
- package/dist/ui-kit/SearchBar/SearchBar.mobile.js.map +1 -1
- package/dist/ui-kit/SwipeListControl/SwipeListControl.js +1 -1
- package/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
- package/dist/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +2 -2
- package/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js +2 -2
- package/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js.map +1 -1
- package/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.d.ts +3 -2
- package/dist/ui-kit/TopItem/TopItem.js +6 -1
- package/dist/ui-kit/TopItem/TopItem.js.map +1 -1
- package/dist/utils/adjustHref.js +2 -10
- package/dist/utils/adjustHref.js.map +1 -1
- package/lib/ProjectSettings.d.ts +2 -0
- package/lib/ProjectSettings.js +3 -0
- package/lib/ProjectSettings.js.map +1 -1
- package/lib/common.css +1 -1
- package/lib/components/Accordion/Accordion.fixture.d.ts +1 -0
- package/lib/components/Accordion/Accordion.fixture.mobile.d.ts +1 -0
- package/lib/components/Accordion/Accordion.js +1 -1
- package/lib/components/Accordion/Accordion.js.map +1 -1
- package/lib/components/Accordion/Accordion.mobile.js +1 -1
- package/lib/components/Accordion/Accordion.mobile.js.map +1 -1
- package/lib/components/BaseTile/BaseTile.d.ts +2 -2
- package/lib/components/BaseTile/BaseTile.js +1 -3
- package/lib/components/BaseTile/BaseTile.js.map +1 -1
- package/lib/components/BenefitsBlock/BenefitsBlock.fixture.d.ts +1 -0
- package/lib/components/Blocks.js +10 -6
- package/lib/components/Blocks.js.map +1 -1
- package/lib/components/Blocks.mobile.js +0 -2
- package/lib/components/Blocks.mobile.js.map +1 -1
- package/lib/components/Bonus/Bonus.fixture.d.ts +1 -0
- package/lib/components/Bonus/Bonus.js +3 -3
- package/lib/components/Bonus/Bonus.js.map +1 -1
- package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.fixture.d.ts +1 -0
- package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
- package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/lib/components/BusinessBlock/BusinessBlock.d.ts +5 -0
- package/lib/{ui-kit/Button/Button.fixture.mobile.d.ts → components/BusinessBlock/BusinessBlock.fixture.d.ts} +1 -1
- package/lib/components/BusinessBlock/BusinessBlock.js +7 -0
- package/lib/components/BusinessBlock/BusinessBlock.js.map +1 -0
- package/lib/components/BusinessBlock/BusinessBlockContent.d.ts +28 -0
- package/lib/components/BusinessBlock/BusinessBlockContent.js +2 -0
- package/lib/components/BusinessBlock/BusinessBlockContent.js.map +1 -0
- package/lib/components/BusinessBlock/BusinessCard.d.ts +2 -0
- package/lib/components/BusinessBlock/BusinessCard.js +14 -0
- package/lib/components/BusinessBlock/BusinessCard.js.map +1 -0
- package/lib/components/Calculator/BonusCalculatorForm.d.ts +2 -2
- package/lib/components/Calculator/BonusCalculatorForm.js +2 -2
- package/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
- package/lib/components/Calculator/Calculator.fixture.d.ts +1 -0
- package/lib/components/Calculator/Calculator.js +3 -5
- package/lib/components/Calculator/Calculator.js.map +1 -1
- package/lib/components/Calculator/CreditCalculatorForm.d.ts +2 -2
- package/lib/components/Calculator/CreditCalculatorForm.js +3 -8
- package/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/lib/components/Calculator/DepositCalculatorForm.d.ts +2 -2
- package/lib/components/Calculator/DepositCalculatorForm.js +3 -8
- package/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
- package/lib/components/Calculator/renderButtonSection.d.ts +1 -2
- package/lib/components/Calculator/renderButtonSection.js +2 -2
- package/lib/components/Calculator/renderButtonSection.js.map +1 -1
- package/lib/components/Calculator/renderCalculatorBlock.d.ts +1 -1
- package/lib/components/Calculator/renderCalculatorBlock.js +2 -2
- package/lib/components/Calculator/renderCalculatorBlock.js.map +1 -1
- package/lib/components/CardTransfer/CardTransfer.fixture.d.ts +1 -0
- package/lib/components/CardTransfer/CardTransfer.js +3 -4
- package/lib/components/CardTransfer/CardTransfer.js.map +1 -1
- package/lib/components/Catalog/Catalog.fixture.d.ts +1 -0
- package/lib/components/Catalog/Catalog.js +12 -22
- package/lib/components/Catalog/Catalog.js.map +1 -1
- package/lib/components/Catalog/CatalogCard.d.ts +2 -2
- package/lib/components/Catalog/CatalogCard.js +1 -3
- package/lib/components/Catalog/CatalogCard.js.map +1 -1
- package/lib/components/ComparisonTable/ComparisonTable.fixture.d.ts +1 -0
- package/lib/components/ComparisonTable/ComparisonTable.fixture.mobile.d.ts +1 -0
- package/lib/components/ComparisonTable/ComparisonTable.js +5 -7
- package/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
- package/lib/components/ComparisonTable/ComparisonTable.mobile.js +3 -3
- package/lib/components/ComparisonTable/ComparisonTable.mobile.js.map +1 -1
- package/lib/components/ComparisonTable/ComparisonTableBody.d.ts +1 -3
- package/lib/components/ComparisonTable/ComparisonTableBody.js +3 -9
- package/lib/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
- package/lib/components/ComparisonTable/ComparisonTableColumnHeaders.d.ts +0 -3
- package/lib/components/ComparisonTable/ComparisonTableColumnHeaders.js +1 -4
- package/lib/components/ComparisonTable/ComparisonTableColumnHeaders.js.map +1 -1
- package/lib/components/ComparisonTable/ComparisonTableRows.js +2 -2
- package/lib/components/ComparisonTable/ComparisonTableRows.js.map +1 -1
- package/lib/components/ComparisonTable/HeaderCell.js +1 -1
- package/lib/components/ComparisonTable/HeaderCell.js.map +1 -1
- package/lib/components/ContactsBlock/ContactsBlock.fixture.d.ts +1 -0
- package/lib/components/ContactsBlock/ContactsBlock.js +2 -2
- package/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
- package/lib/components/ContentPage/ContentPage.fixture.d.ts +1 -0
- package/lib/components/ContentPage/ContentPage.fixture.mobile.d.ts +1 -0
- package/lib/components/ContentPage/ContentPage.js +4 -5
- package/lib/components/ContentPage/ContentPage.js.map +1 -1
- package/lib/components/ContentPage/renderBlock.d.ts +0 -2
- package/lib/components/ContentPage/renderBlock.js +3 -3
- package/lib/components/ContentPage/renderBlock.js.map +1 -1
- package/lib/components/ContentPage/renderBlockList.d.ts +1 -1
- package/lib/components/ContentPage/renderBlockList.js +5 -12
- package/lib/components/ContentPage/renderBlockList.js.map +1 -1
- package/lib/components/ContentPage/renderSlots.d.ts +1 -1
- package/lib/components/ContentPage/renderSlots.js +10 -12
- package/lib/components/ContentPage/renderSlots.js.map +1 -1
- package/lib/components/ErrorBlock/ErrorBlock.fixture.d.ts +1 -0
- package/lib/components/ErrorBlock/ErrorBlock.js +1 -6
- package/lib/components/ErrorBlock/ErrorBlock.js.map +1 -1
- package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +1 -2
- package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +2 -5
- package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
- package/lib/components/ExchangeRateTile/ExchangeRateTile.fixture.d.ts +1 -0
- package/lib/components/ExchangeRateTile/ExchangeRateTile.js +2 -2
- package/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
- package/lib/components/Footer/Contacts.d.ts +2 -2
- package/lib/components/Footer/Contacts.js +1 -10
- package/lib/components/Footer/Contacts.js.map +1 -1
- package/lib/components/Footer/Footer.fallback.d.ts +2 -0
- package/lib/components/Footer/Footer.fallback.js +10 -0
- package/lib/components/Footer/Footer.fallback.js.map +1 -0
- package/lib/components/Footer/Footer.fixture.d.ts +1 -0
- package/lib/components/Footer/Footer.fixture.mobile.d.ts +1 -0
- package/lib/components/Footer/Footer.js +6 -3
- package/lib/components/Footer/Footer.js.map +1 -1
- package/lib/components/Footer/Footer.mobile.js +10 -9
- package/lib/components/Footer/Footer.mobile.js.map +1 -1
- package/lib/components/Footer/FooterContent.d.ts +3 -19
- package/lib/components/Footer/FooterDataProps.d.ts +12 -0
- package/lib/components/Footer/FooterDataProps.js +2 -0
- package/lib/components/Footer/FooterDataProps.js.map +1 -0
- package/lib/components/Footer/FooterLink.d.ts +2 -2
- package/lib/components/Footer/HorizontalNavigation.d.ts +1 -2
- package/lib/components/Footer/HorizontalNavigation.js +2 -5
- package/lib/components/Footer/HorizontalNavigation.js.map +1 -1
- package/lib/components/Footer/HorizontalNavigation.mobile.d.ts +1 -2
- package/lib/components/Footer/HorizontalNavigation.mobile.js +1 -6
- package/lib/components/Footer/HorizontalNavigation.mobile.js.map +1 -1
- package/lib/components/Footer/HorizontalNavigationLink.js +6 -1
- package/lib/components/Footer/HorizontalNavigationLink.js.map +1 -1
- package/lib/components/Footer/MediaButton.js +5 -2
- package/lib/components/Footer/MediaButton.js.map +1 -1
- package/lib/components/Footer/Sitemap.d.ts +2 -2
- package/lib/components/Footer/Sitemap.js +14 -12
- package/lib/components/Footer/Sitemap.js.map +1 -1
- package/lib/components/Footer/SocialMedia.d.ts +2 -2
- package/lib/components/Footer/SocialMedia.js +1 -6
- package/lib/components/Footer/SocialMedia.js.map +1 -1
- package/lib/components/Footer/SocialMedia.mobile.d.ts +2 -2
- package/lib/components/Footer/SocialMedia.mobile.js +1 -6
- package/lib/components/Footer/SocialMedia.mobile.js.map +1 -1
- package/lib/components/Footer/TextInformation.js +1 -6
- package/lib/components/Footer/TextInformation.js.map +1 -1
- package/lib/components/Footer/TextInformation.mobile.js +2 -5
- package/lib/components/Footer/TextInformation.mobile.js.map +1 -1
- package/lib/components/Footer/TextInformationLink.js +6 -1
- package/lib/components/Footer/TextInformationLink.js.map +1 -1
- package/lib/components/Footer/useFooterData.d.ts +2 -0
- package/lib/{services/sitemap/useSitemap.js → components/Footer/useFooterData.js} +3 -3
- package/lib/components/Footer/useFooterData.js.map +1 -0
- package/lib/components/Gallery/Gallery.fixture.d.ts +1 -0
- package/lib/components/Gallery/Gallery.fixture.mobile.d.ts +1 -0
- package/lib/components/Gallery/Gallery.mobile.js +4 -4
- package/lib/components/Gallery/Gallery.mobile.js.map +1 -1
- package/lib/components/Gallery/GalleryContainer.d.ts +1 -3
- package/lib/components/Gallery/GalleryContainer.js +2 -2
- package/lib/components/Gallery/GalleryContainer.js.map +1 -1
- package/lib/components/Gallery/GalleryContent.d.ts +1 -1
- package/lib/components/Gallery/GalleryInner.js +2 -2
- package/lib/components/Gallery/GalleryInner.js.map +1 -1
- package/lib/components/GracePeriod/GracePeriod.fixture.d.ts +1 -0
- package/lib/components/GracePeriod/GracePeriod.js +1 -3
- package/lib/components/GracePeriod/GracePeriod.js.map +1 -1
- package/lib/components/Header/DropdownMenu.d.ts +0 -2
- package/lib/components/Header/DropdownMenu.js +3 -4
- package/lib/components/Header/DropdownMenu.js.map +1 -1
- package/lib/components/Header/Header.fixture.d.ts +1 -0
- package/lib/components/Header/Header.fixture.mobile.d.ts +1 -0
- package/lib/components/Header/Header.js +8 -9
- package/lib/components/Header/Header.js.map +1 -1
- package/lib/components/Header/Header.mobile.js +8 -14
- package/lib/components/Header/Header.mobile.js.map +1 -1
- package/lib/components/Header/HeaderBurger.d.ts +0 -2
- package/lib/components/Header/HeaderBurger.js +2 -2
- package/lib/components/Header/HeaderBurger.js.map +1 -1
- package/lib/components/Header/HeaderSubMenu.d.ts +0 -2
- package/lib/components/Header/HeaderSubMenu.js +4 -3
- package/lib/components/Header/HeaderSubMenu.js.map +1 -1
- package/lib/components/Header/HeaderSubMenuItem.d.ts +0 -2
- package/lib/components/Header/HeaderSubMenuItem.js +2 -5
- package/lib/components/Header/HeaderSubMenuItem.js.map +1 -1
- package/lib/components/Headline/Headline.fixture.d.ts +1 -0
- package/lib/components/Headline/Headline.fixture.mobile.d.ts +1 -0
- package/lib/components/Headline/Headline.js +1 -1
- package/lib/components/Headline/Headline.js.map +1 -1
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.fixture.d.ts +1 -0
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +4 -6
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +2 -2
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/lib/components/InvestmentGallery/InvestmentGallery.fixture.d.ts +1 -0
- package/lib/components/InvestmentGallery/InvestmentGallery.js +3 -7
- package/lib/components/InvestmentGallery/InvestmentGallery.js.map +1 -1
- package/lib/components/InvestmentGallery/InvestmentGalleryCard.d.ts +2 -2
- package/lib/components/InvestmentGallery/InvestmentGalleryCard.js +2 -2
- package/lib/components/InvestmentGallery/InvestmentGalleryCard.js.map +1 -1
- package/lib/components/InvestmentInfo/InvestmentInfo.fixture.d.ts +1 -0
- package/lib/components/InvestmentInfo/InvestmentInfo.js +2 -2
- package/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
- package/lib/components/LikeControl/LikeControl.d.ts +5 -2
- package/lib/components/LikeControl/LikeControl.fixture.d.ts +1 -0
- package/lib/components/LikeControl/LikeControl.js +4 -5
- package/lib/components/LikeControl/LikeControl.js.map +1 -1
- package/lib/components/LinkDocs/LinkDocs.fixture.d.ts +1 -0
- package/lib/components/LinkDocs/LinkDocs.fixture.mobile.d.ts +1 -0
- package/lib/components/LinkDocs/LinkDocs.js +1 -3
- package/lib/components/LinkDocs/LinkDocs.js.map +1 -1
- package/lib/components/LinkDocs/LinkDocs.mobile.js +1 -3
- package/lib/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
- package/lib/components/LinkDocs/LinkDocsHorizontalList.d.ts +1 -5
- package/lib/components/LinkDocs/LinkDocsHorizontalList.js +3 -5
- package/lib/components/LinkDocs/LinkDocsHorizontalList.js.map +1 -1
- package/lib/components/LinkList/LinkList.fixture.d.ts +1 -0
- package/lib/components/LinkList/LinkList.js +1 -3
- package/lib/components/LinkList/LinkList.js.map +1 -1
- package/lib/components/MiniGallery/MiniGallery.fixture.d.ts +1 -0
- package/lib/components/MobileAppTile/MobileAppTile.fixture.d.ts +1 -0
- package/lib/components/MobileAppTile/MobileAppTile.fixture.mobile.d.ts +1 -0
- package/lib/components/MobileAppTile/MobileAppTile.js +4 -4
- package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/lib/components/OfficeMap/OfficeMap.fixture.d.ts +1 -0
- package/lib/components/OfficeMap/OfficeMap.js +4 -2
- package/lib/components/OfficeMap/OfficeMap.js.map +1 -1
- package/lib/components/OfficeMap/useOfficeMap.d.ts +56 -2
- package/lib/components/OfficeMap/useOfficeMap.js +4 -1
- package/lib/components/OfficeMap/useOfficeMap.js.map +1 -1
- package/lib/components/OfficeServicesBlock/OfficeServicesBlock.fixture.d.ts +1 -0
- package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -3
- package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
- package/lib/components/OtherProducts/OtherProducts.fixture.d.ts +1 -0
- package/lib/components/OtherProducts/OtherProducts.js +1 -1
- package/lib/components/OtherProducts/OtherProducts.js.map +1 -1
- package/lib/components/PictureText/PictureText.fixture.d.ts +1 -0
- package/lib/components/PictureText/PictureText.js +1 -3
- package/lib/components/PictureText/PictureText.js.map +1 -1
- package/lib/components/Placeholder/Placeholder.d.ts +0 -1
- package/lib/components/Placeholder/Placeholder.fixture.d.ts +1 -0
- package/lib/components/Placeholder/Placeholder.fixture.mobile.d.ts +1 -0
- package/lib/components/Placeholder/Placeholder.js +2 -2
- package/lib/components/Placeholder/Placeholder.js.map +1 -1
- package/lib/components/ProductBlock/ProductBlock.fixture.d.ts +1 -0
- package/lib/components/ProductBlock/ProductBlock.fixture.mobile.d.ts +1 -0
- package/lib/components/ProductBlock/ProductBlock.js +4 -7
- package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
- package/lib/components/ProductBlock/ProductBlockInner.js +2 -5
- package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/lib/components/ProductBlock/ProductBlockInner.mobile.js +2 -2
- package/lib/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
- package/lib/components/ProductBlock/renderBackwardButton.d.ts +1 -1
- package/lib/components/ProductBlock/renderBackwardButton.js +1 -0
- package/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/lib/components/ProductGallery/ProductGallery.fixture.d.ts +1 -0
- package/lib/components/ProductGallery/ProductGallery.js +5 -5
- package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
- package/lib/components/ProductTile/ProductTile.fixture.d.ts +1 -0
- package/lib/components/ProductTile/ProductTile.js +4 -6
- package/lib/components/ProductTile/ProductTile.js.map +1 -1
- package/lib/components/PromoTile/PromoTile.fixture.d.ts +1 -0
- package/lib/components/PromoTile/PromoTile.js +1 -3
- package/lib/components/PromoTile/PromoTile.js.map +1 -1
- package/lib/components/Recommendation/Recommendation.fixture.d.ts +1 -0
- package/lib/components/Recommendation/Recommendation.js +4 -9
- package/lib/components/Recommendation/Recommendation.js.map +1 -1
- package/lib/components/Recommendation/RecommendationCard.d.ts +2 -2
- package/lib/components/Recommendation/RecommendationCard.js +2 -2
- package/lib/components/Recommendation/RecommendationCard.js.map +1 -1
- package/lib/components/SafeDepositRental/SafeDepositRental.fixture.d.ts +1 -0
- package/lib/components/SafeDepositRental/SafeDepositRental.js +3 -3
- package/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/lib/components/StepsBlock/StepsBlock.fixture.d.ts +1 -0
- package/lib/components/StepsBlock/StepsBlock.fixture.mobile.d.ts +1 -0
- package/lib/components/StepsBlock/StepsBlock.js +3 -12
- package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
- package/lib/components/StepsBlock/renderStepContent.d.ts +2 -5
- package/lib/components/StepsBlock/renderStepContent.js +2 -3
- package/lib/components/StepsBlock/renderStepContent.js.map +1 -1
- package/lib/components/Tabs/LinkTab.d.ts +8 -0
- package/lib/components/Tabs/LinkTab.js +18 -0
- package/lib/components/Tabs/LinkTab.js.map +1 -0
- package/lib/components/Tabs/Tabs.d.ts +2 -2
- package/lib/components/Tabs/Tabs.fixture.d.ts +1 -0
- package/lib/components/Tabs/Tabs.js +2 -2
- package/lib/components/Tabs/Tabs.js.map +1 -1
- package/lib/components/Tabs/TabsContent.d.ts +5 -5
- package/lib/components/Tabs/renderGroupTab.d.ts +2 -2
- package/lib/components/Tabs/renderGroupTab.js +1 -1
- package/lib/components/Tabs/renderGroupTab.js.map +1 -1
- package/lib/components/Tabs/renderTab.d.ts +4 -6
- package/lib/components/Tabs/renderTab.js +5 -19
- package/lib/components/Tabs/renderTab.js.map +1 -1
- package/lib/components/TariffsTable/EmbeddableCellData.js +3 -5
- package/lib/components/TariffsTable/EmbeddableCellData.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTable.fixture.d.ts +1 -0
- package/lib/components/TariffsTable/TariffsTable.fixture.mobile.d.ts +1 -0
- package/lib/components/TariffsTable/TariffsTable.js +4 -7
- package/lib/components/TariffsTable/TariffsTable.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTable.mobile.js +2 -5
- package/lib/components/TariffsTable/TariffsTable.mobile.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTableCell.js +1 -2
- package/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTableContent.d.ts +1 -1
- package/lib/components/TariffsTable/TariffsTableHorizontal.js +1 -1
- package/lib/components/TariffsTable/TariffsTableHorizontal.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTableRenderCell.d.ts +1 -3
- package/lib/components/TariffsTable/TariffsTableRenderCell.js +1 -2
- package/lib/components/TariffsTable/TariffsTableRenderCell.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTableRow.js +3 -3
- package/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTableRowContainer.d.ts +1 -3
- package/lib/components/TariffsTable/TariffsTableRowContainer.js +1 -3
- package/lib/components/TariffsTable/TariffsTableRowContainer.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTableTileCell.d.ts +3 -4
- package/lib/components/TariffsTable/TariffsTableTileCell.js +8 -13
- package/lib/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTableVertical.js +1 -1
- package/lib/components/TariffsTable/TariffsTableVertical.js.map +1 -1
- package/lib/components/TextBlock/TextBlock.fixture.d.ts +1 -0
- package/lib/components/TextBlock/TextBlock.fixture.mobile.d.ts +1 -0
- package/lib/components/Tile/Tile.fixture.d.ts +1 -0
- package/lib/components/Tile/Tile.js +2 -2
- package/lib/components/Tile/Tile.js.map +1 -1
- package/lib/components/VerticalLayout/VerticalLayout.d.ts +5 -0
- package/lib/components/VerticalLayout/VerticalLayout.fixture.d.ts +9 -0
- package/lib/components/VerticalLayout/VerticalLayout.js +33 -0
- package/lib/components/VerticalLayout/VerticalLayout.js.map +1 -0
- package/lib/components/VerticalLayout/VerticalLayoutContent.d.ts +17 -0
- package/lib/components/VerticalLayout/VerticalLayoutContent.js +2 -0
- package/lib/components/VerticalLayout/VerticalLayoutContent.js.map +1 -0
- package/lib/hooks/handlerDecorator.d.ts +5 -0
- package/lib/hooks/handlerDecorator.js +9 -0
- package/lib/hooks/handlerDecorator.js.map +1 -0
- package/lib/hooks/useLink.d.ts +6 -16
- package/lib/hooks/useLink.js +20 -15
- package/lib/hooks/useLink.js.map +1 -1
- package/lib/hooks/useRouter.d.ts +13 -0
- package/lib/hooks/useRouter.js +18 -0
- package/lib/hooks/useRouter.js.map +1 -0
- package/lib/hooks/useTableArrowScrollControl.d.ts +1 -3
- package/lib/hooks/useTableArrowScrollControl.js +13 -4
- package/lib/hooks/useTableArrowScrollControl.js.map +1 -1
- package/lib/index.d.ts +2 -0
- package/lib/index.js +2 -0
- package/lib/index.js.map +1 -1
- package/lib/model/BlockVersion.d.ts +1 -0
- package/lib/model/BlockVersion.js +5 -0
- package/lib/model/BlockVersion.js.map +1 -1
- package/lib/model/BlocksRegistry.d.ts +1 -1
- package/lib/model/JSXBlock.d.ts +7 -8
- package/lib/react/setup-fixture.d.ts +0 -3
- package/lib/react/setup-fixture.js +9 -24
- package/lib/react/setup-fixture.js.map +1 -1
- package/lib/services/sitemap/SitemapProps.d.ts +1 -1
- package/lib/services/sitemap/findActiveSubItem.d.ts +1 -1
- package/lib/services/sitemap/isHrefActive.js +1 -2
- package/lib/services/sitemap/isHrefActive.js.map +1 -1
- package/lib/services/sitemap/isSubItemActive.d.ts +1 -1
- package/lib/services/sitemap/isTopItemActive.d.ts +1 -1
- package/lib/services/sitemap/useSWRResource.d.ts +2 -0
- package/lib/services/sitemap/useSWRResource.js +9 -0
- package/lib/services/sitemap/useSWRResource.js.map +1 -0
- package/lib/ui-kit/BlockWrapper.d.ts +2 -2
- package/lib/ui-kit/BlockWrapper.js +3 -2
- package/lib/ui-kit/BlockWrapper.js.map +1 -1
- package/lib/ui-kit/Breadcrumb.js +6 -1
- package/lib/ui-kit/Breadcrumb.js.map +1 -1
- package/lib/ui-kit/Button/Button.js +8 -9
- package/lib/ui-kit/Button/Button.js.map +1 -1
- package/lib/ui-kit/Button/ButtonInner.js +2 -3
- package/lib/ui-kit/Button/ButtonInner.js.map +1 -1
- package/lib/ui-kit/Button/ButtonSection.d.ts +2 -2
- package/lib/ui-kit/Button/ButtonSection.js +1 -6
- package/lib/ui-kit/Button/ButtonSection.js.map +1 -1
- package/lib/ui-kit/Checkbox/Checkbox.js +1 -3
- package/lib/ui-kit/Checkbox/Checkbox.js.map +1 -1
- package/lib/ui-kit/Checkbox/CheckboxProps.d.ts +2 -2
- package/lib/ui-kit/HeaderItem/HeaderItem.js +6 -1
- package/lib/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
- package/lib/ui-kit/InnerTable/InnerTable.d.ts +2 -3
- package/lib/ui-kit/InnerTable/InnerTable.js +2 -2
- package/lib/ui-kit/InnerTable/InnerTable.js.map +1 -1
- package/lib/ui-kit/InnerTable/InnerTableBody.d.ts +1 -2
- package/lib/ui-kit/InnerTable/InnerTableBody.js +2 -2
- package/lib/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
- package/lib/ui-kit/InnerTable/InnerTableBodyItem.d.ts +1 -2
- package/lib/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
- package/lib/ui-kit/InnerTable/InnerTableButton.d.ts +1 -2
- package/lib/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
- package/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +4 -5
- package/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.fixture.d.ts +1 -0
- package/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.js +1 -3
- package/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.js.map +1 -1
- package/lib/ui-kit/SearchBar/SearchBar.d.ts +2 -2
- package/lib/ui-kit/SearchBar/SearchBar.js +1 -3
- package/lib/ui-kit/SearchBar/SearchBar.js.map +1 -1
- package/lib/ui-kit/SearchBar/SearchBar.mobile.d.ts +2 -2
- package/lib/ui-kit/SearchBar/SearchBar.mobile.js +1 -3
- package/lib/ui-kit/SearchBar/SearchBar.mobile.js.map +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListControl.fixture.mobile.d.ts +1 -0
- package/lib/ui-kit/SwipeListControl/SwipeListControl.js +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +2 -2
- package/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js +2 -2
- package/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js.map +1 -1
- package/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.d.ts +3 -2
- package/lib/ui-kit/TopItem/TopItem.js +6 -1
- package/lib/ui-kit/TopItem/TopItem.js.map +1 -1
- package/lib/utils/adjustHref.js +2 -10
- package/lib/utils/adjustHref.js.map +1 -1
- package/mobile/bundle/ProjectSettings.d.ts +2 -0
- package/mobile/bundle/bundle.umd.js +231 -248
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/BaseTile/BaseTile.d.ts +2 -2
- package/mobile/bundle/components/BusinessBlock/BusinessBlock.d.ts +5 -0
- package/mobile/bundle/components/BusinessBlock/BusinessBlockContent.d.ts +28 -0
- package/mobile/bundle/components/BusinessBlock/BusinessCard.d.ts +2 -0
- package/mobile/bundle/components/Calculator/BonusCalculatorForm.d.ts +2 -2
- package/mobile/bundle/components/Calculator/CreditCalculatorForm.d.ts +2 -2
- package/mobile/bundle/components/Calculator/DepositCalculatorForm.d.ts +2 -2
- package/mobile/bundle/components/Calculator/renderButtonSection.d.ts +1 -2
- package/mobile/bundle/components/Calculator/renderCalculatorBlock.d.ts +1 -1
- package/mobile/bundle/components/Catalog/CatalogCard.d.ts +2 -2
- package/mobile/bundle/components/ComparisonTable/ComparisonTableBody.d.ts +1 -3
- package/mobile/bundle/components/ComparisonTable/ComparisonTableColumnHeaders.d.ts +0 -3
- package/mobile/bundle/components/ContentPage/renderBlock.d.ts +0 -2
- package/mobile/bundle/components/ContentPage/renderBlockList.d.ts +1 -1
- package/mobile/bundle/components/ContentPage/renderSlots.d.ts +1 -1
- package/mobile/bundle/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +1 -2
- package/mobile/bundle/components/Footer/Contacts.d.ts +2 -2
- package/mobile/bundle/components/Footer/Footer.fallback.d.ts +2 -0
- package/mobile/bundle/components/Footer/FooterContent.d.ts +3 -19
- package/mobile/bundle/components/Footer/FooterDataProps.d.ts +12 -0
- package/mobile/bundle/components/Footer/FooterLink.d.ts +2 -2
- package/mobile/bundle/components/Footer/HorizontalNavigation.d.ts +1 -2
- package/mobile/bundle/components/Footer/Sitemap.d.ts +2 -2
- package/mobile/bundle/components/Footer/SocialMedia.d.ts +2 -2
- package/mobile/bundle/components/Footer/useFooterData.d.ts +2 -0
- package/mobile/bundle/components/Gallery/GalleryContainer.d.ts +1 -3
- package/mobile/bundle/components/Gallery/GalleryContent.d.ts +1 -1
- package/mobile/bundle/components/Header/DropdownMenu.d.ts +0 -2
- package/mobile/bundle/components/Header/HeaderBurger.d.ts +0 -2
- package/mobile/bundle/components/Header/HeaderSubMenu.d.ts +0 -2
- package/mobile/bundle/components/Header/HeaderSubMenuItem.d.ts +0 -2
- package/mobile/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +2 -2
- package/mobile/bundle/components/InvestmentGallery/InvestmentGalleryCard.d.ts +2 -2
- package/mobile/bundle/components/LikeControl/LikeControl.d.ts +5 -2
- package/mobile/bundle/components/LinkDocs/LinkDocsHorizontalList.d.ts +1 -5
- package/mobile/bundle/components/OfficeMap/useOfficeMap.d.ts +56 -2
- package/mobile/bundle/components/Placeholder/Placeholder.d.ts +0 -1
- package/mobile/bundle/components/ProductBlock/renderBackwardButton.d.ts +1 -1
- package/mobile/bundle/components/Recommendation/RecommendationCard.d.ts +2 -2
- package/mobile/bundle/components/StepsBlock/renderStepContent.d.ts +2 -5
- package/mobile/bundle/components/Tabs/LinkTab.d.ts +8 -0
- package/mobile/bundle/components/Tabs/Tabs.d.ts +2 -2
- package/mobile/bundle/components/Tabs/TabsContent.d.ts +5 -5
- package/mobile/bundle/components/Tabs/renderGroupTab.d.ts +2 -2
- package/mobile/bundle/components/Tabs/renderTab.d.ts +4 -6
- package/mobile/bundle/components/TariffsTable/TariffsTableContent.d.ts +1 -1
- package/mobile/bundle/components/TariffsTable/TariffsTableRenderCell.d.ts +1 -3
- package/mobile/bundle/components/TariffsTable/TariffsTableRowContainer.d.ts +1 -3
- package/mobile/bundle/components/TariffsTable/TariffsTableTileCell.d.ts +3 -4
- package/mobile/bundle/components/VerticalLayout/VerticalLayout.d.ts +5 -0
- package/mobile/bundle/components/VerticalLayout/VerticalLayoutContent.d.ts +17 -0
- package/mobile/bundle/hooks/handlerDecorator.d.ts +5 -0
- package/mobile/bundle/hooks/useLink.d.ts +6 -16
- package/mobile/bundle/hooks/useRouter.d.ts +13 -0
- package/mobile/bundle/hooks/useTableArrowScrollControl.d.ts +1 -3
- package/mobile/bundle/index.d.ts +2 -0
- package/mobile/bundle/model/BlockVersion.d.ts +1 -0
- package/mobile/bundle/model/BlocksRegistry.d.ts +1 -1
- package/mobile/bundle/model/JSXBlock.d.ts +7 -8
- package/mobile/bundle/react/setup-fixture.d.ts +0 -3
- package/mobile/bundle/services/sitemap/SitemapProps.d.ts +1 -1
- package/mobile/bundle/services/sitemap/findActiveSubItem.d.ts +1 -1
- package/mobile/bundle/services/sitemap/isSubItemActive.d.ts +1 -1
- package/mobile/bundle/services/sitemap/isTopItemActive.d.ts +1 -1
- package/mobile/bundle/services/sitemap/useSWRResource.d.ts +2 -0
- package/mobile/bundle/ui-kit/BlockWrapper.d.ts +2 -2
- package/mobile/bundle/ui-kit/Button/ButtonSection.d.ts +2 -2
- package/mobile/bundle/ui-kit/Checkbox/CheckboxProps.d.ts +2 -2
- package/mobile/bundle/ui-kit/InnerTable/InnerTable.d.ts +2 -3
- package/mobile/bundle/ui-kit/InnerTable/InnerTableBody.d.ts +1 -2
- package/mobile/bundle/ui-kit/InnerTable/InnerTableBodyItem.d.ts +1 -2
- package/mobile/bundle/ui-kit/InnerTable/InnerTableButton.d.ts +1 -2
- package/mobile/bundle/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +4 -5
- package/mobile/bundle/ui-kit/SearchBar/SearchBar.d.ts +2 -2
- package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +2 -2
- package/mobile/bundle/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.d.ts +3 -2
- package/mobile/dist/ProjectSettings.d.ts +2 -0
- package/mobile/dist/ProjectSettings.js +3 -0
- package/mobile/dist/ProjectSettings.js.map +1 -1
- package/mobile/dist/components/Accordion/Accordion.js +1 -1
- package/mobile/dist/components/Accordion/Accordion.js.map +1 -1
- package/mobile/dist/components/BaseTile/BaseTile.d.ts +2 -2
- package/mobile/dist/components/BaseTile/BaseTile.js +1 -3
- package/mobile/dist/components/BaseTile/BaseTile.js.map +1 -1
- package/mobile/dist/components/Blocks.js +0 -2
- package/mobile/dist/components/Blocks.js.map +1 -1
- package/mobile/dist/components/Bonus/Bonus.js +3 -3
- package/mobile/dist/components/Bonus/Bonus.js.map +1 -1
- package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
- package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/mobile/dist/components/BusinessBlock/BusinessBlock.d.ts +5 -0
- package/mobile/dist/components/BusinessBlock/BusinessBlock.js +9 -0
- package/mobile/dist/components/BusinessBlock/BusinessBlock.js.map +1 -0
- package/mobile/dist/components/BusinessBlock/BusinessBlockContent.d.ts +28 -0
- package/mobile/dist/components/BusinessBlock/BusinessBlockContent.js +2 -0
- package/mobile/dist/components/BusinessBlock/BusinessBlockContent.js.map +1 -0
- package/mobile/dist/components/BusinessBlock/BusinessCard.d.ts +2 -0
- package/mobile/dist/components/BusinessBlock/BusinessCard.js +16 -0
- package/mobile/dist/components/BusinessBlock/BusinessCard.js.map +1 -0
- package/mobile/dist/components/Calculator/BonusCalculatorForm.d.ts +2 -2
- package/mobile/dist/components/Calculator/BonusCalculatorForm.js +2 -2
- package/mobile/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
- package/mobile/dist/components/Calculator/Calculator.js +3 -5
- package/mobile/dist/components/Calculator/Calculator.js.map +1 -1
- package/mobile/dist/components/Calculator/CreditCalculatorForm.d.ts +2 -2
- package/mobile/dist/components/Calculator/CreditCalculatorForm.js +3 -8
- package/mobile/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/mobile/dist/components/Calculator/DepositCalculatorForm.d.ts +2 -2
- package/mobile/dist/components/Calculator/DepositCalculatorForm.js +3 -8
- package/mobile/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
- package/mobile/dist/components/Calculator/renderButtonSection.d.ts +1 -2
- package/mobile/dist/components/Calculator/renderButtonSection.js +2 -2
- package/mobile/dist/components/Calculator/renderButtonSection.js.map +1 -1
- package/mobile/dist/components/Calculator/renderCalculatorBlock.d.ts +1 -1
- package/mobile/dist/components/Calculator/renderCalculatorBlock.js +2 -2
- package/mobile/dist/components/Calculator/renderCalculatorBlock.js.map +1 -1
- package/mobile/dist/components/CardTransfer/CardTransfer.js +3 -4
- package/mobile/dist/components/CardTransfer/CardTransfer.js.map +1 -1
- package/mobile/dist/components/Catalog/Catalog.js +11 -21
- package/mobile/dist/components/Catalog/Catalog.js.map +1 -1
- package/mobile/dist/components/Catalog/CatalogCard.d.ts +2 -2
- package/mobile/dist/components/Catalog/CatalogCard.js +1 -3
- package/mobile/dist/components/Catalog/CatalogCard.js.map +1 -1
- package/mobile/dist/components/ComparisonTable/ComparisonTable.js +3 -3
- package/mobile/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
- package/mobile/dist/components/ComparisonTable/ComparisonTableBody.d.ts +1 -3
- package/mobile/dist/components/ComparisonTable/ComparisonTableBody.js +3 -9
- package/mobile/dist/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
- package/mobile/dist/components/ComparisonTable/ComparisonTableColumnHeaders.d.ts +0 -3
- package/mobile/dist/components/ComparisonTable/ComparisonTableColumnHeaders.js +1 -4
- package/mobile/dist/components/ComparisonTable/ComparisonTableColumnHeaders.js.map +1 -1
- package/mobile/dist/components/ComparisonTable/ComparisonTableRows.js +2 -2
- package/mobile/dist/components/ComparisonTable/ComparisonTableRows.js.map +1 -1
- package/mobile/dist/components/ContactsBlock/ContactsBlock.js +2 -2
- package/mobile/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
- package/mobile/dist/components/ContentPage/ContentPage.js +4 -5
- package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
- package/mobile/dist/components/ContentPage/renderBlock.d.ts +0 -2
- package/mobile/dist/components/ContentPage/renderBlock.js +3 -3
- package/mobile/dist/components/ContentPage/renderBlock.js.map +1 -1
- package/mobile/dist/components/ContentPage/renderBlockList.d.ts +1 -1
- package/mobile/dist/components/ContentPage/renderBlockList.js +5 -12
- package/mobile/dist/components/ContentPage/renderBlockList.js.map +1 -1
- package/mobile/dist/components/ContentPage/renderSlots.d.ts +1 -1
- package/mobile/dist/components/ContentPage/renderSlots.js +10 -12
- package/mobile/dist/components/ContentPage/renderSlots.js.map +1 -1
- package/mobile/dist/components/ErrorBlock/ErrorBlock.js +1 -6
- package/mobile/dist/components/ErrorBlock/ErrorBlock.js.map +1 -1
- package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +1 -2
- package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +2 -5
- package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
- package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js +2 -2
- package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
- package/mobile/dist/components/Footer/Contacts.d.ts +2 -2
- package/mobile/dist/components/Footer/Contacts.js +1 -10
- package/mobile/dist/components/Footer/Contacts.js.map +1 -1
- package/mobile/dist/components/Footer/Footer.fallback.d.ts +2 -0
- package/mobile/dist/components/Footer/Footer.fallback.js +13 -0
- package/mobile/dist/components/Footer/Footer.fallback.js.map +1 -0
- package/mobile/dist/components/Footer/Footer.js +10 -9
- package/mobile/dist/components/Footer/Footer.js.map +1 -1
- package/mobile/dist/components/Footer/FooterContent.d.ts +3 -19
- package/mobile/dist/components/Footer/FooterDataProps.d.ts +12 -0
- package/mobile/dist/components/{ContentPage/ContentPageContext.js → Footer/FooterDataProps.js} +1 -1
- package/mobile/dist/components/Footer/FooterDataProps.js.map +1 -0
- package/mobile/dist/components/Footer/FooterLink.d.ts +2 -2
- package/mobile/dist/components/Footer/HorizontalNavigation.d.ts +1 -2
- package/mobile/dist/components/Footer/HorizontalNavigation.js +1 -6
- package/mobile/dist/components/Footer/HorizontalNavigation.js.map +1 -1
- package/mobile/dist/components/Footer/HorizontalNavigationLink.js +6 -1
- package/mobile/dist/components/Footer/HorizontalNavigationLink.js.map +1 -1
- package/mobile/dist/components/Footer/MediaButton.js +5 -2
- package/mobile/dist/components/Footer/MediaButton.js.map +1 -1
- package/mobile/dist/components/Footer/Sitemap.d.ts +2 -2
- package/mobile/dist/components/Footer/Sitemap.js +14 -12
- package/mobile/dist/components/Footer/Sitemap.js.map +1 -1
- package/mobile/dist/components/Footer/SocialMedia.d.ts +2 -2
- package/mobile/dist/components/Footer/SocialMedia.js +1 -6
- package/mobile/dist/components/Footer/SocialMedia.js.map +1 -1
- package/mobile/dist/components/Footer/TextInformation.js +2 -5
- package/mobile/dist/components/Footer/TextInformation.js.map +1 -1
- package/mobile/dist/components/Footer/TextInformationLink.js +6 -1
- package/mobile/dist/components/Footer/TextInformationLink.js.map +1 -1
- package/mobile/dist/components/Footer/useFooterData.d.ts +2 -0
- package/mobile/dist/{services/sitemap/useSitemap.js → components/Footer/useFooterData.js} +5 -5
- package/mobile/dist/components/Footer/useFooterData.js.map +1 -0
- package/mobile/dist/components/Gallery/Gallery.js +4 -4
- package/mobile/dist/components/Gallery/Gallery.js.map +1 -1
- package/mobile/dist/components/Gallery/GalleryContainer.d.ts +1 -3
- package/mobile/dist/components/Gallery/GalleryContainer.js +2 -2
- package/mobile/dist/components/Gallery/GalleryContainer.js.map +1 -1
- package/mobile/dist/components/Gallery/GalleryContent.d.ts +1 -1
- package/mobile/dist/components/Gallery/GalleryInner.js +2 -2
- package/mobile/dist/components/Gallery/GalleryInner.js.map +1 -1
- package/mobile/dist/components/GracePeriod/GracePeriod.js +1 -3
- package/mobile/dist/components/GracePeriod/GracePeriod.js.map +1 -1
- package/mobile/dist/components/Header/DropdownMenu.d.ts +0 -2
- package/mobile/dist/components/Header/DropdownMenu.js +3 -4
- package/mobile/dist/components/Header/DropdownMenu.js.map +1 -1
- package/mobile/dist/components/Header/Header.js +8 -14
- package/mobile/dist/components/Header/Header.js.map +1 -1
- package/mobile/dist/components/Header/HeaderBurger.d.ts +0 -2
- package/mobile/dist/components/Header/HeaderBurger.js +2 -2
- package/mobile/dist/components/Header/HeaderBurger.js.map +1 -1
- package/mobile/dist/components/Header/HeaderSubMenu.d.ts +0 -2
- package/mobile/dist/components/Header/HeaderSubMenu.js +4 -3
- package/mobile/dist/components/Header/HeaderSubMenu.js.map +1 -1
- package/mobile/dist/components/Header/HeaderSubMenuItem.d.ts +0 -2
- package/mobile/dist/components/Header/HeaderSubMenuItem.js +2 -5
- package/mobile/dist/components/Header/HeaderSubMenuItem.js.map +1 -1
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +4 -6
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +2 -2
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/mobile/dist/components/InvestmentGallery/InvestmentGallery.js +3 -7
- package/mobile/dist/components/InvestmentGallery/InvestmentGallery.js.map +1 -1
- package/mobile/dist/components/InvestmentGallery/InvestmentGalleryCard.d.ts +2 -2
- package/mobile/dist/components/InvestmentGallery/InvestmentGalleryCard.js +2 -2
- package/mobile/dist/components/InvestmentGallery/InvestmentGalleryCard.js.map +1 -1
- package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js +2 -2
- package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
- package/mobile/dist/components/LikeControl/LikeControl.d.ts +5 -2
- package/mobile/dist/components/LikeControl/LikeControl.js +5 -6
- package/mobile/dist/components/LikeControl/LikeControl.js.map +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocs.js +1 -3
- package/mobile/dist/components/LinkDocs/LinkDocs.js.map +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocsHorizontalList.d.ts +1 -5
- package/mobile/dist/components/LinkDocs/LinkDocsHorizontalList.js +3 -5
- package/mobile/dist/components/LinkDocs/LinkDocsHorizontalList.js.map +1 -1
- package/mobile/dist/components/LinkList/LinkList.js +1 -3
- package/mobile/dist/components/LinkList/LinkList.js.map +1 -1
- package/mobile/dist/components/OfficeMap/OfficeMap.js +4 -2
- package/mobile/dist/components/OfficeMap/OfficeMap.js.map +1 -1
- package/mobile/dist/components/OfficeMap/useOfficeMap.d.ts +56 -2
- package/mobile/dist/components/OfficeMap/useOfficeMap.js +4 -1
- package/mobile/dist/components/OfficeMap/useOfficeMap.js.map +1 -1
- package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -3
- package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
- package/mobile/dist/components/OtherProducts/OtherProducts.js +1 -1
- package/mobile/dist/components/OtherProducts/OtherProducts.js.map +1 -1
- package/mobile/dist/components/PictureText/PictureText.js +1 -3
- package/mobile/dist/components/PictureText/PictureText.js.map +1 -1
- package/mobile/dist/components/Placeholder/Placeholder.d.ts +0 -1
- package/mobile/dist/components/Placeholder/Placeholder.js +2 -2
- package/mobile/dist/components/Placeholder/Placeholder.js.map +1 -1
- package/mobile/dist/components/ProductBlock/ProductBlockInner.js +2 -2
- package/mobile/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/mobile/dist/components/ProductBlock/renderBackwardButton.d.ts +1 -1
- package/mobile/dist/components/ProductBlock/renderBackwardButton.js +1 -0
- package/mobile/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/mobile/dist/components/ProductGallery/ProductGallery.js +41 -4
- package/mobile/dist/components/ProductGallery/ProductGallery.js.map +1 -1
- package/mobile/dist/components/ProductTile/ProductTile.js +4 -6
- package/mobile/dist/components/ProductTile/ProductTile.js.map +1 -1
- package/mobile/dist/components/PromoTile/PromoTile.js +1 -3
- package/mobile/dist/components/PromoTile/PromoTile.js.map +1 -1
- package/mobile/dist/components/Recommendation/Recommendation.js +4 -9
- package/mobile/dist/components/Recommendation/Recommendation.js.map +1 -1
- package/mobile/dist/components/Recommendation/RecommendationCard.d.ts +2 -2
- package/mobile/dist/components/Recommendation/RecommendationCard.js +2 -2
- package/mobile/dist/components/Recommendation/RecommendationCard.js.map +1 -1
- package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js +3 -3
- package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/mobile/dist/components/StepsBlock/renderStepContent.d.ts +2 -5
- package/mobile/dist/components/StepsBlock/renderStepContent.js +2 -3
- package/mobile/dist/components/StepsBlock/renderStepContent.js.map +1 -1
- package/mobile/dist/components/Tabs/LinkTab.d.ts +8 -0
- package/mobile/dist/components/Tabs/LinkTab.js +20 -0
- package/mobile/dist/components/Tabs/LinkTab.js.map +1 -0
- package/mobile/dist/components/Tabs/Tabs.d.ts +2 -2
- package/mobile/dist/components/Tabs/Tabs.js +2 -2
- package/mobile/dist/components/Tabs/Tabs.js.map +1 -1
- package/mobile/dist/components/Tabs/TabsContent.d.ts +5 -5
- package/mobile/dist/components/Tabs/renderGroupTab.d.ts +2 -2
- package/mobile/dist/components/Tabs/renderGroupTab.js +1 -1
- package/mobile/dist/components/Tabs/renderGroupTab.js.map +1 -1
- package/mobile/dist/components/Tabs/renderTab.d.ts +4 -6
- package/mobile/dist/components/Tabs/renderTab.js +5 -19
- package/mobile/dist/components/Tabs/renderTab.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTable.js +2 -5
- package/mobile/dist/components/TariffsTable/TariffsTable.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableCell.js +1 -2
- package/mobile/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableContent.d.ts +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableHorizontal.js +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableHorizontal.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableRenderCell.d.ts +1 -3
- package/mobile/dist/components/TariffsTable/TariffsTableRenderCell.js +1 -2
- package/mobile/dist/components/TariffsTable/TariffsTableRenderCell.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableRow.js +3 -3
- package/mobile/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableRowContainer.d.ts +1 -3
- package/mobile/dist/components/TariffsTable/TariffsTableRowContainer.js +1 -3
- package/mobile/dist/components/TariffsTable/TariffsTableRowContainer.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableTileCell.d.ts +3 -4
- package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js +8 -13
- package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableVertical.js +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableVertical.js.map +1 -1
- package/mobile/dist/components/Tile/Tile.js +2 -2
- package/mobile/dist/components/Tile/Tile.js.map +1 -1
- package/mobile/dist/components/VerticalLayout/VerticalLayout.d.ts +5 -0
- package/mobile/dist/components/VerticalLayout/VerticalLayout.js +35 -0
- package/mobile/dist/components/VerticalLayout/VerticalLayout.js.map +1 -0
- package/mobile/dist/components/VerticalLayout/VerticalLayoutContent.d.ts +17 -0
- package/mobile/dist/components/VerticalLayout/VerticalLayoutContent.js +2 -0
- package/mobile/dist/components/VerticalLayout/VerticalLayoutContent.js.map +1 -0
- package/mobile/dist/hooks/handlerDecorator.d.ts +5 -0
- package/mobile/dist/hooks/handlerDecorator.js +12 -0
- package/mobile/dist/hooks/handlerDecorator.js.map +1 -0
- package/mobile/dist/hooks/useLink.d.ts +6 -16
- package/mobile/dist/hooks/useLink.js +21 -17
- package/mobile/dist/hooks/useLink.js.map +1 -1
- package/mobile/dist/hooks/useRouter.d.ts +13 -0
- package/mobile/dist/hooks/useRouter.js +21 -0
- package/mobile/dist/hooks/useRouter.js.map +1 -0
- package/mobile/dist/hooks/useTableArrowScrollControl.d.ts +1 -3
- package/mobile/dist/hooks/useTableArrowScrollControl.js +13 -4
- package/mobile/dist/hooks/useTableArrowScrollControl.js.map +1 -1
- package/mobile/dist/index.d.ts +2 -0
- package/mobile/dist/index.js +5 -1
- package/mobile/dist/index.js.map +1 -1
- package/mobile/dist/model/BlockVersion.d.ts +1 -0
- package/mobile/dist/model/BlockVersion.js +6 -1
- package/mobile/dist/model/BlockVersion.js.map +1 -1
- package/mobile/dist/model/BlocksRegistry.d.ts +1 -1
- package/mobile/dist/model/JSXBlock.d.ts +7 -8
- package/mobile/dist/react/setup-fixture.d.ts +0 -3
- package/mobile/dist/react/setup-fixture.js +9 -25
- package/mobile/dist/react/setup-fixture.js.map +1 -1
- package/mobile/dist/services/sitemap/SitemapProps.d.ts +1 -1
- package/mobile/dist/services/sitemap/findActiveSubItem.d.ts +1 -1
- package/mobile/dist/services/sitemap/isHrefActive.js +1 -2
- package/mobile/dist/services/sitemap/isHrefActive.js.map +1 -1
- package/mobile/dist/services/sitemap/isSubItemActive.d.ts +1 -1
- package/mobile/dist/services/sitemap/isTopItemActive.d.ts +1 -1
- package/mobile/dist/services/sitemap/useSWRResource.d.ts +2 -0
- package/mobile/dist/services/sitemap/useSWRResource.js +12 -0
- package/mobile/dist/services/sitemap/useSWRResource.js.map +1 -0
- package/mobile/dist/ui-kit/BlockWrapper.d.ts +2 -2
- package/mobile/dist/ui-kit/BlockWrapper.js +3 -2
- package/mobile/dist/ui-kit/BlockWrapper.js.map +1 -1
- package/mobile/dist/ui-kit/Breadcrumb.js +6 -1
- package/mobile/dist/ui-kit/Breadcrumb.js.map +1 -1
- package/mobile/dist/ui-kit/Button/Button.js +10 -24
- package/mobile/dist/ui-kit/Button/Button.js.map +1 -1
- package/mobile/dist/ui-kit/Button/ButtonInner.js +2 -3
- package/mobile/dist/ui-kit/Button/ButtonInner.js.map +1 -1
- package/mobile/dist/ui-kit/Button/ButtonSection.d.ts +2 -2
- package/mobile/dist/ui-kit/Button/ButtonSection.js +1 -6
- package/mobile/dist/ui-kit/Button/ButtonSection.js.map +1 -1
- package/mobile/dist/ui-kit/Checkbox/Checkbox.js +1 -3
- package/mobile/dist/ui-kit/Checkbox/Checkbox.js.map +1 -1
- package/mobile/dist/ui-kit/Checkbox/CheckboxProps.d.ts +2 -2
- package/mobile/dist/ui-kit/InnerTable/InnerTable.d.ts +2 -3
- package/mobile/dist/ui-kit/InnerTable/InnerTable.js +2 -2
- package/mobile/dist/ui-kit/InnerTable/InnerTable.js.map +1 -1
- package/mobile/dist/ui-kit/InnerTable/InnerTableBody.d.ts +1 -2
- package/mobile/dist/ui-kit/InnerTable/InnerTableBody.js +2 -2
- package/mobile/dist/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
- package/mobile/dist/ui-kit/InnerTable/InnerTableBodyItem.d.ts +1 -2
- package/mobile/dist/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
- package/mobile/dist/ui-kit/InnerTable/InnerTableButton.d.ts +1 -2
- package/mobile/dist/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
- package/mobile/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +4 -5
- package/mobile/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.js +1 -3
- package/mobile/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.js.map +1 -1
- package/mobile/dist/ui-kit/SearchBar/SearchBar.d.ts +2 -2
- package/mobile/dist/ui-kit/SearchBar/SearchBar.js +1 -3
- package/mobile/dist/ui-kit/SearchBar/SearchBar.js.map +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +2 -2
- package/mobile/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js +2 -2
- package/mobile/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js.map +1 -1
- package/mobile/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.d.ts +3 -2
- package/mobile/dist/ui-kit/TopItem/TopItem.js +6 -1
- package/mobile/dist/ui-kit/TopItem/TopItem.js.map +1 -1
- package/mobile/dist/utils/adjustHref.js +2 -10
- package/mobile/dist/utils/adjustHref.js.map +1 -1
- package/mobile/lib/ProjectSettings.d.ts +2 -0
- package/mobile/lib/ProjectSettings.js +3 -0
- package/mobile/lib/ProjectSettings.js.map +1 -1
- package/mobile/lib/components/Accordion/Accordion.js +1 -1
- package/mobile/lib/components/Accordion/Accordion.js.map +1 -1
- package/mobile/lib/components/BaseTile/BaseTile.d.ts +2 -2
- package/mobile/lib/components/BaseTile/BaseTile.js +1 -3
- package/mobile/lib/components/BaseTile/BaseTile.js.map +1 -1
- package/mobile/lib/components/Blocks.js +0 -2
- package/mobile/lib/components/Blocks.js.map +1 -1
- package/mobile/lib/components/Bonus/Bonus.js +3 -3
- package/mobile/lib/components/Bonus/Bonus.js.map +1 -1
- package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
- package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/mobile/lib/components/BusinessBlock/BusinessBlock.d.ts +5 -0
- package/mobile/lib/components/BusinessBlock/BusinessBlock.js +7 -0
- package/mobile/lib/components/BusinessBlock/BusinessBlock.js.map +1 -0
- package/mobile/lib/components/BusinessBlock/BusinessBlockContent.d.ts +28 -0
- package/mobile/lib/components/BusinessBlock/BusinessBlockContent.js +2 -0
- package/mobile/lib/components/BusinessBlock/BusinessBlockContent.js.map +1 -0
- package/mobile/lib/components/BusinessBlock/BusinessCard.d.ts +2 -0
- package/mobile/lib/components/BusinessBlock/BusinessCard.js +14 -0
- package/mobile/lib/components/BusinessBlock/BusinessCard.js.map +1 -0
- package/mobile/lib/components/Calculator/BonusCalculatorForm.d.ts +2 -2
- package/mobile/lib/components/Calculator/BonusCalculatorForm.js +2 -2
- package/mobile/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
- package/mobile/lib/components/Calculator/Calculator.js +3 -5
- package/mobile/lib/components/Calculator/Calculator.js.map +1 -1
- package/mobile/lib/components/Calculator/CreditCalculatorForm.d.ts +2 -2
- package/mobile/lib/components/Calculator/CreditCalculatorForm.js +3 -8
- package/mobile/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/mobile/lib/components/Calculator/DepositCalculatorForm.d.ts +2 -2
- package/mobile/lib/components/Calculator/DepositCalculatorForm.js +3 -8
- package/mobile/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
- package/mobile/lib/components/Calculator/renderButtonSection.d.ts +1 -2
- package/mobile/lib/components/Calculator/renderButtonSection.js +2 -2
- package/mobile/lib/components/Calculator/renderButtonSection.js.map +1 -1
- package/mobile/lib/components/Calculator/renderCalculatorBlock.d.ts +1 -1
- package/mobile/lib/components/Calculator/renderCalculatorBlock.js +2 -2
- package/mobile/lib/components/Calculator/renderCalculatorBlock.js.map +1 -1
- package/mobile/lib/components/CardTransfer/CardTransfer.js +3 -4
- package/mobile/lib/components/CardTransfer/CardTransfer.js.map +1 -1
- package/mobile/lib/components/Catalog/Catalog.js +12 -22
- package/mobile/lib/components/Catalog/Catalog.js.map +1 -1
- package/mobile/lib/components/Catalog/CatalogCard.d.ts +2 -2
- package/mobile/lib/components/Catalog/CatalogCard.js +1 -3
- package/mobile/lib/components/Catalog/CatalogCard.js.map +1 -1
- package/mobile/lib/components/ComparisonTable/ComparisonTable.js +3 -3
- package/mobile/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
- package/mobile/lib/components/ComparisonTable/ComparisonTableBody.d.ts +1 -3
- package/mobile/lib/components/ComparisonTable/ComparisonTableBody.js +3 -9
- package/mobile/lib/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
- package/mobile/lib/components/ComparisonTable/ComparisonTableColumnHeaders.d.ts +0 -3
- package/mobile/lib/components/ComparisonTable/ComparisonTableColumnHeaders.js +1 -4
- package/mobile/lib/components/ComparisonTable/ComparisonTableColumnHeaders.js.map +1 -1
- package/mobile/lib/components/ComparisonTable/ComparisonTableRows.js +2 -2
- package/mobile/lib/components/ComparisonTable/ComparisonTableRows.js.map +1 -1
- package/mobile/lib/components/ContactsBlock/ContactsBlock.js +2 -2
- package/mobile/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
- package/mobile/lib/components/ContentPage/ContentPage.js +4 -5
- package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
- package/mobile/lib/components/ContentPage/renderBlock.d.ts +0 -2
- package/mobile/lib/components/ContentPage/renderBlock.js +3 -3
- package/mobile/lib/components/ContentPage/renderBlock.js.map +1 -1
- package/mobile/lib/components/ContentPage/renderBlockList.d.ts +1 -1
- package/mobile/lib/components/ContentPage/renderBlockList.js +5 -12
- package/mobile/lib/components/ContentPage/renderBlockList.js.map +1 -1
- package/mobile/lib/components/ContentPage/renderSlots.d.ts +1 -1
- package/mobile/lib/components/ContentPage/renderSlots.js +10 -12
- package/mobile/lib/components/ContentPage/renderSlots.js.map +1 -1
- package/mobile/lib/components/ErrorBlock/ErrorBlock.js +1 -6
- package/mobile/lib/components/ErrorBlock/ErrorBlock.js.map +1 -1
- package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +1 -2
- package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +2 -5
- package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
- package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js +2 -2
- package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
- package/mobile/lib/components/Footer/Contacts.d.ts +2 -2
- package/mobile/lib/components/Footer/Contacts.js +1 -10
- package/mobile/lib/components/Footer/Contacts.js.map +1 -1
- package/mobile/lib/components/Footer/Footer.fallback.d.ts +2 -0
- package/mobile/lib/components/Footer/Footer.fallback.js +10 -0
- package/mobile/lib/components/Footer/Footer.fallback.js.map +1 -0
- package/mobile/lib/components/Footer/Footer.js +10 -9
- package/mobile/lib/components/Footer/Footer.js.map +1 -1
- package/mobile/lib/components/Footer/FooterContent.d.ts +3 -19
- package/mobile/lib/components/Footer/FooterDataProps.d.ts +12 -0
- package/mobile/lib/components/Footer/FooterDataProps.js +2 -0
- package/mobile/lib/components/Footer/FooterDataProps.js.map +1 -0
- package/mobile/lib/components/Footer/FooterLink.d.ts +2 -2
- package/mobile/lib/components/Footer/HorizontalNavigation.d.ts +1 -2
- package/mobile/lib/components/Footer/HorizontalNavigation.js +1 -6
- package/mobile/lib/components/Footer/HorizontalNavigation.js.map +1 -1
- package/mobile/lib/components/Footer/HorizontalNavigationLink.js +6 -1
- package/mobile/lib/components/Footer/HorizontalNavigationLink.js.map +1 -1
- package/mobile/lib/components/Footer/MediaButton.js +5 -2
- package/mobile/lib/components/Footer/MediaButton.js.map +1 -1
- package/mobile/lib/components/Footer/Sitemap.d.ts +2 -2
- package/mobile/lib/components/Footer/Sitemap.js +14 -12
- package/mobile/lib/components/Footer/Sitemap.js.map +1 -1
- package/mobile/lib/components/Footer/SocialMedia.d.ts +2 -2
- package/mobile/lib/components/Footer/SocialMedia.js +1 -6
- package/mobile/lib/components/Footer/SocialMedia.js.map +1 -1
- package/mobile/lib/components/Footer/TextInformation.js +2 -5
- package/mobile/lib/components/Footer/TextInformation.js.map +1 -1
- package/mobile/lib/components/Footer/TextInformationLink.js +6 -1
- package/mobile/lib/components/Footer/TextInformationLink.js.map +1 -1
- package/mobile/lib/components/Footer/useFooterData.d.ts +2 -0
- package/mobile/lib/{services/sitemap/useSitemap.js → components/Footer/useFooterData.js} +3 -3
- package/mobile/lib/components/Footer/useFooterData.js.map +1 -0
- package/mobile/lib/components/Gallery/Gallery.js +4 -4
- package/mobile/lib/components/Gallery/Gallery.js.map +1 -1
- package/mobile/lib/components/Gallery/GalleryContainer.d.ts +1 -3
- package/mobile/lib/components/Gallery/GalleryContainer.js +2 -2
- package/mobile/lib/components/Gallery/GalleryContainer.js.map +1 -1
- package/mobile/lib/components/Gallery/GalleryContent.d.ts +1 -1
- package/mobile/lib/components/Gallery/GalleryInner.js +2 -2
- package/mobile/lib/components/Gallery/GalleryInner.js.map +1 -1
- package/mobile/lib/components/GracePeriod/GracePeriod.js +1 -3
- package/mobile/lib/components/GracePeriod/GracePeriod.js.map +1 -1
- package/mobile/lib/components/Header/DropdownMenu.d.ts +0 -2
- package/mobile/lib/components/Header/DropdownMenu.js +3 -4
- package/mobile/lib/components/Header/DropdownMenu.js.map +1 -1
- package/mobile/lib/components/Header/Header.js +8 -14
- package/mobile/lib/components/Header/Header.js.map +1 -1
- package/mobile/lib/components/Header/HeaderBurger.d.ts +0 -2
- package/mobile/lib/components/Header/HeaderBurger.js +2 -2
- package/mobile/lib/components/Header/HeaderBurger.js.map +1 -1
- package/mobile/lib/components/Header/HeaderSubMenu.d.ts +0 -2
- package/mobile/lib/components/Header/HeaderSubMenu.js +4 -3
- package/mobile/lib/components/Header/HeaderSubMenu.js.map +1 -1
- package/mobile/lib/components/Header/HeaderSubMenuItem.d.ts +0 -2
- package/mobile/lib/components/Header/HeaderSubMenuItem.js +2 -5
- package/mobile/lib/components/Header/HeaderSubMenuItem.js.map +1 -1
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +4 -6
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +2 -2
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/mobile/lib/components/InvestmentGallery/InvestmentGallery.js +3 -7
- package/mobile/lib/components/InvestmentGallery/InvestmentGallery.js.map +1 -1
- package/mobile/lib/components/InvestmentGallery/InvestmentGalleryCard.d.ts +2 -2
- package/mobile/lib/components/InvestmentGallery/InvestmentGalleryCard.js +2 -2
- package/mobile/lib/components/InvestmentGallery/InvestmentGalleryCard.js.map +1 -1
- package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js +2 -2
- package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
- package/mobile/lib/components/LikeControl/LikeControl.d.ts +5 -2
- package/mobile/lib/components/LikeControl/LikeControl.js +4 -5
- package/mobile/lib/components/LikeControl/LikeControl.js.map +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocs.js +1 -3
- package/mobile/lib/components/LinkDocs/LinkDocs.js.map +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocsHorizontalList.d.ts +1 -5
- package/mobile/lib/components/LinkDocs/LinkDocsHorizontalList.js +3 -5
- package/mobile/lib/components/LinkDocs/LinkDocsHorizontalList.js.map +1 -1
- package/mobile/lib/components/LinkList/LinkList.js +1 -3
- package/mobile/lib/components/LinkList/LinkList.js.map +1 -1
- package/mobile/lib/components/OfficeMap/OfficeMap.js +4 -2
- package/mobile/lib/components/OfficeMap/OfficeMap.js.map +1 -1
- package/mobile/lib/components/OfficeMap/useOfficeMap.d.ts +56 -2
- package/mobile/lib/components/OfficeMap/useOfficeMap.js +4 -1
- package/mobile/lib/components/OfficeMap/useOfficeMap.js.map +1 -1
- package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -3
- package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
- package/mobile/lib/components/OtherProducts/OtherProducts.js +1 -1
- package/mobile/lib/components/OtherProducts/OtherProducts.js.map +1 -1
- package/mobile/lib/components/PictureText/PictureText.js +1 -3
- package/mobile/lib/components/PictureText/PictureText.js.map +1 -1
- package/mobile/lib/components/Placeholder/Placeholder.d.ts +0 -1
- package/mobile/lib/components/Placeholder/Placeholder.js +2 -2
- package/mobile/lib/components/Placeholder/Placeholder.js.map +1 -1
- package/mobile/lib/components/ProductBlock/ProductBlockInner.js +2 -2
- package/mobile/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/mobile/lib/components/ProductBlock/renderBackwardButton.d.ts +1 -1
- package/mobile/lib/components/ProductBlock/renderBackwardButton.js +1 -0
- package/mobile/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/mobile/lib/components/ProductGallery/ProductGallery.js +42 -5
- package/mobile/lib/components/ProductGallery/ProductGallery.js.map +1 -1
- package/mobile/lib/components/ProductTile/ProductTile.js +4 -6
- package/mobile/lib/components/ProductTile/ProductTile.js.map +1 -1
- package/mobile/lib/components/PromoTile/PromoTile.js +1 -3
- package/mobile/lib/components/PromoTile/PromoTile.js.map +1 -1
- package/mobile/lib/components/Recommendation/Recommendation.js +4 -9
- package/mobile/lib/components/Recommendation/Recommendation.js.map +1 -1
- package/mobile/lib/components/Recommendation/RecommendationCard.d.ts +2 -2
- package/mobile/lib/components/Recommendation/RecommendationCard.js +2 -2
- package/mobile/lib/components/Recommendation/RecommendationCard.js.map +1 -1
- package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js +3 -3
- package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/mobile/lib/components/StepsBlock/renderStepContent.d.ts +2 -5
- package/mobile/lib/components/StepsBlock/renderStepContent.js +2 -3
- package/mobile/lib/components/StepsBlock/renderStepContent.js.map +1 -1
- package/mobile/lib/components/Tabs/LinkTab.d.ts +8 -0
- package/mobile/lib/components/Tabs/LinkTab.js +18 -0
- package/mobile/lib/components/Tabs/LinkTab.js.map +1 -0
- package/mobile/lib/components/Tabs/Tabs.d.ts +2 -2
- package/mobile/lib/components/Tabs/Tabs.js +2 -2
- package/mobile/lib/components/Tabs/Tabs.js.map +1 -1
- package/mobile/lib/components/Tabs/TabsContent.d.ts +5 -5
- package/mobile/lib/components/Tabs/renderGroupTab.d.ts +2 -2
- package/mobile/lib/components/Tabs/renderGroupTab.js +1 -1
- package/mobile/lib/components/Tabs/renderGroupTab.js.map +1 -1
- package/mobile/lib/components/Tabs/renderTab.d.ts +4 -6
- package/mobile/lib/components/Tabs/renderTab.js +5 -19
- package/mobile/lib/components/Tabs/renderTab.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTable.js +2 -5
- package/mobile/lib/components/TariffsTable/TariffsTable.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableCell.js +1 -2
- package/mobile/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableContent.d.ts +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableHorizontal.js +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableHorizontal.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableRenderCell.d.ts +1 -3
- package/mobile/lib/components/TariffsTable/TariffsTableRenderCell.js +1 -2
- package/mobile/lib/components/TariffsTable/TariffsTableRenderCell.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableRow.js +3 -3
- package/mobile/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableRowContainer.d.ts +1 -3
- package/mobile/lib/components/TariffsTable/TariffsTableRowContainer.js +1 -3
- package/mobile/lib/components/TariffsTable/TariffsTableRowContainer.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableTileCell.d.ts +3 -4
- package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js +8 -13
- package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableVertical.js +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableVertical.js.map +1 -1
- package/mobile/lib/components/Tile/Tile.js +2 -2
- package/mobile/lib/components/Tile/Tile.js.map +1 -1
- package/mobile/lib/components/VerticalLayout/VerticalLayout.d.ts +5 -0
- package/mobile/lib/components/VerticalLayout/VerticalLayout.js +33 -0
- package/mobile/lib/components/VerticalLayout/VerticalLayout.js.map +1 -0
- package/mobile/lib/components/VerticalLayout/VerticalLayoutContent.d.ts +17 -0
- package/mobile/lib/components/VerticalLayout/VerticalLayoutContent.js +2 -0
- package/mobile/lib/components/VerticalLayout/VerticalLayoutContent.js.map +1 -0
- package/mobile/lib/hooks/handlerDecorator.d.ts +5 -0
- package/mobile/lib/hooks/handlerDecorator.js +9 -0
- package/mobile/lib/hooks/handlerDecorator.js.map +1 -0
- package/mobile/lib/hooks/useLink.d.ts +6 -16
- package/mobile/lib/hooks/useLink.js +20 -15
- package/mobile/lib/hooks/useLink.js.map +1 -1
- package/mobile/lib/hooks/useRouter.d.ts +13 -0
- package/mobile/lib/hooks/useRouter.js +18 -0
- package/mobile/lib/hooks/useRouter.js.map +1 -0
- package/mobile/lib/hooks/useTableArrowScrollControl.d.ts +1 -3
- package/mobile/lib/hooks/useTableArrowScrollControl.js +13 -4
- package/mobile/lib/hooks/useTableArrowScrollControl.js.map +1 -1
- package/mobile/lib/index.d.ts +2 -0
- package/mobile/lib/index.js +2 -0
- package/mobile/lib/index.js.map +1 -1
- package/mobile/lib/model/BlockVersion.d.ts +1 -0
- package/mobile/lib/model/BlockVersion.js +5 -0
- package/mobile/lib/model/BlockVersion.js.map +1 -1
- package/mobile/lib/model/BlocksRegistry.d.ts +1 -1
- package/mobile/lib/model/JSXBlock.d.ts +7 -8
- package/mobile/lib/react/setup-fixture.d.ts +0 -3
- package/mobile/lib/react/setup-fixture.js +9 -24
- package/mobile/lib/react/setup-fixture.js.map +1 -1
- package/mobile/lib/services/sitemap/SitemapProps.d.ts +1 -1
- package/mobile/lib/services/sitemap/findActiveSubItem.d.ts +1 -1
- package/mobile/lib/services/sitemap/isHrefActive.js +1 -2
- package/mobile/lib/services/sitemap/isHrefActive.js.map +1 -1
- package/mobile/lib/services/sitemap/isSubItemActive.d.ts +1 -1
- package/mobile/lib/services/sitemap/isTopItemActive.d.ts +1 -1
- package/mobile/lib/services/sitemap/useSWRResource.d.ts +2 -0
- package/mobile/lib/services/sitemap/useSWRResource.js +9 -0
- package/mobile/lib/services/sitemap/useSWRResource.js.map +1 -0
- package/mobile/lib/ui-kit/BlockWrapper.d.ts +2 -2
- package/mobile/lib/ui-kit/BlockWrapper.js +3 -2
- package/mobile/lib/ui-kit/BlockWrapper.js.map +1 -1
- package/mobile/lib/ui-kit/Breadcrumb.js +6 -1
- package/mobile/lib/ui-kit/Breadcrumb.js.map +1 -1
- package/mobile/lib/ui-kit/Button/Button.js +10 -24
- package/mobile/lib/ui-kit/Button/Button.js.map +1 -1
- package/mobile/lib/ui-kit/Button/ButtonInner.js +2 -3
- package/mobile/lib/ui-kit/Button/ButtonInner.js.map +1 -1
- package/mobile/lib/ui-kit/Button/ButtonSection.d.ts +2 -2
- package/mobile/lib/ui-kit/Button/ButtonSection.js +1 -6
- package/mobile/lib/ui-kit/Button/ButtonSection.js.map +1 -1
- package/mobile/lib/ui-kit/Checkbox/Checkbox.js +1 -3
- package/mobile/lib/ui-kit/Checkbox/Checkbox.js.map +1 -1
- package/mobile/lib/ui-kit/Checkbox/CheckboxProps.d.ts +2 -2
- package/mobile/lib/ui-kit/InnerTable/InnerTable.d.ts +2 -3
- package/mobile/lib/ui-kit/InnerTable/InnerTable.js +2 -2
- package/mobile/lib/ui-kit/InnerTable/InnerTable.js.map +1 -1
- package/mobile/lib/ui-kit/InnerTable/InnerTableBody.d.ts +1 -2
- package/mobile/lib/ui-kit/InnerTable/InnerTableBody.js +2 -2
- package/mobile/lib/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
- package/mobile/lib/ui-kit/InnerTable/InnerTableBodyItem.d.ts +1 -2
- package/mobile/lib/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
- package/mobile/lib/ui-kit/InnerTable/InnerTableButton.d.ts +1 -2
- package/mobile/lib/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
- package/mobile/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +4 -5
- package/mobile/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.js +1 -3
- package/mobile/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.js.map +1 -1
- package/mobile/lib/ui-kit/SearchBar/SearchBar.d.ts +2 -2
- package/mobile/lib/ui-kit/SearchBar/SearchBar.js +1 -3
- package/mobile/lib/ui-kit/SearchBar/SearchBar.js.map +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +2 -2
- package/mobile/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js +2 -2
- package/mobile/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js.map +1 -1
- package/mobile/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.d.ts +3 -2
- package/mobile/lib/ui-kit/TopItem/TopItem.js +6 -1
- package/mobile/lib/ui-kit/TopItem/TopItem.js.map +1 -1
- package/mobile/lib/utils/adjustHref.js +2 -10
- package/mobile/lib/utils/adjustHref.js.map +1 -1
- package/mobile/src/ProjectSettings.ts +4 -0
- package/mobile/src/components/Accordion/Accordion.tsx +1 -2
- package/mobile/src/components/BaseTile/BaseTile.tsx +13 -14
- package/mobile/src/components/Blocks.ts +0 -2
- package/mobile/src/components/Bonus/Bonus.tsx +4 -10
- package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +2 -3
- package/mobile/src/components/BusinessBlock/BusinessBlock.example.json +65 -0
- package/mobile/src/components/BusinessBlock/BusinessBlock.tsx +19 -0
- package/mobile/src/components/BusinessBlock/BusinessBlock.ui.json +26 -0
- package/mobile/src/components/BusinessBlock/BusinessBlockContent.ts +31 -0
- package/mobile/src/components/BusinessBlock/BusinessCard.tsx +41 -0
- package/mobile/src/components/Calculator/BonusCalculatorForm.tsx +5 -4
- package/mobile/src/components/Calculator/Calculator.tsx +2 -5
- package/mobile/src/components/Calculator/CreditCalculatorForm.tsx +11 -11
- package/mobile/src/components/Calculator/DepositCalculatorForm.tsx +11 -14
- package/mobile/src/components/Calculator/renderButtonSection.tsx +2 -3
- package/mobile/src/components/Calculator/renderCalculatorBlock.tsx +20 -23
- package/mobile/src/components/CardTransfer/CardTransfer.tsx +3 -5
- package/mobile/src/components/Catalog/Catalog.tsx +17 -41
- package/mobile/src/components/Catalog/CatalogCard.tsx +22 -24
- package/mobile/src/components/ComparisonTable/ComparisonTable.tsx +3 -5
- package/mobile/src/components/ComparisonTable/ComparisonTableBody.tsx +3 -16
- package/mobile/src/components/ComparisonTable/ComparisonTableColumnHeaders.tsx +10 -20
- package/mobile/src/components/ComparisonTable/ComparisonTableRows.tsx +2 -2
- package/mobile/src/components/ContactsBlock/ContactsBlock.tsx +1 -2
- package/mobile/src/components/ContentPage/ContentPage.tsx +4 -10
- package/mobile/src/components/ContentPage/renderBlock.tsx +4 -9
- package/mobile/src/components/ContentPage/renderBlockList.tsx +9 -20
- package/mobile/src/components/ContentPage/renderSlots.tsx +4 -5
- package/mobile/src/components/ErrorBlock/ErrorBlock.tsx +14 -24
- package/mobile/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +3 -12
- package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.tsx +1 -4
- package/mobile/src/components/Footer/Contacts.tsx +17 -28
- package/mobile/src/components/Footer/Footer.fallback.ts +13 -0
- package/mobile/src/components/Footer/Footer.tsx +38 -56
- package/mobile/src/components/Footer/FooterContent.ts +4 -19
- package/mobile/src/components/Footer/FooterDataProps.ts +13 -0
- package/mobile/src/components/Footer/FooterLink.ts +2 -2
- package/mobile/src/components/Footer/HorizontalNavigation.tsx +13 -25
- package/mobile/src/components/Footer/HorizontalNavigationLink.tsx +16 -10
- package/mobile/src/components/Footer/MediaButton.tsx +6 -1
- package/mobile/src/components/Footer/Sitemap.tsx +28 -30
- package/mobile/src/components/Footer/SocialMedia.tsx +9 -19
- package/mobile/src/components/Footer/TextInformation.tsx +3 -12
- package/mobile/src/components/Footer/TextInformationLink.tsx +16 -10
- package/mobile/src/components/Footer/useFooterData.ts +13 -0
- package/mobile/src/components/Gallery/Gallery.tsx +5 -10
- package/mobile/src/components/Gallery/GalleryContainer.tsx +4 -21
- package/mobile/src/components/Gallery/GalleryContent.ts +1 -1
- package/mobile/src/components/Gallery/GalleryInner.tsx +1 -3
- package/mobile/src/components/GracePeriod/GracePeriod.tsx +12 -18
- package/mobile/src/components/Header/DropdownMenu.tsx +34 -39
- package/mobile/src/components/Header/Header.tsx +25 -29
- package/mobile/src/components/Header/HeaderBurger.tsx +2 -4
- package/mobile/src/components/Header/HeaderSubMenu.tsx +3 -6
- package/mobile/src/components/Header/HeaderSubMenuItem.tsx +2 -22
- package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +3 -17
- package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +2 -2
- package/mobile/src/components/InvestmentGallery/InvestmentGallery.tsx +6 -21
- package/mobile/src/components/InvestmentGallery/InvestmentGalleryCard.tsx +3 -9
- package/mobile/src/components/InvestmentInfo/InvestmentInfo.tsx +1 -6
- package/mobile/src/components/LikeControl/LikeControl.tsx +9 -13
- package/mobile/src/components/LinkDocs/LinkDocs.tsx +19 -26
- package/mobile/src/components/LinkDocs/LinkDocsHorizontalList.tsx +15 -22
- package/mobile/src/components/LinkList/LinkList.tsx +7 -9
- package/mobile/src/components/OfficeMap/OfficeMap.tsx +4 -2
- package/mobile/src/components/OfficeMap/useOfficeMap.ts +4 -1
- package/mobile/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +9 -16
- package/mobile/src/components/OtherProducts/OtherProducts.tsx +2 -6
- package/mobile/src/components/PictureText/PictureText.tsx +23 -27
- package/mobile/src/components/Placeholder/Placeholder.tsx +3 -6
- package/mobile/src/components/ProductBlock/ProductBlockInner.tsx +3 -12
- package/mobile/src/components/ProductBlock/renderBackwardButton.tsx +3 -2
- package/mobile/src/components/ProductGallery/ProductGallery.tsx +111 -12
- package/mobile/src/components/ProductTile/ProductTile.tsx +24 -32
- package/mobile/src/components/PromoTile/PromoTile.tsx +31 -38
- package/mobile/src/components/Recommendation/Recommendation.tsx +12 -26
- package/mobile/src/components/Recommendation/RecommendationCard.tsx +5 -15
- package/mobile/src/components/SafeDepositRental/SafeDepositRental.tsx +3 -3
- package/mobile/src/components/StepsBlock/renderStepContent.tsx +4 -10
- package/mobile/src/components/Tabs/LinkTab.tsx +46 -0
- package/mobile/src/components/Tabs/Tabs.tsx +7 -7
- package/mobile/src/components/Tabs/TabsContent.ts +5 -5
- package/mobile/src/components/Tabs/renderGroupTab.tsx +3 -3
- package/mobile/src/components/Tabs/renderTab.tsx +8 -27
- package/mobile/src/components/TariffsTable/TariffsTable.tsx +6 -17
- package/mobile/src/components/TariffsTable/TariffsTableCell.tsx +0 -2
- package/mobile/src/components/TariffsTable/TariffsTableContent.ts +1 -1
- package/mobile/src/components/TariffsTable/TariffsTableHorizontal.tsx +9 -7
- package/mobile/src/components/TariffsTable/TariffsTableRenderCell.tsx +0 -5
- package/mobile/src/components/TariffsTable/TariffsTableRow.tsx +4 -4
- package/mobile/src/components/TariffsTable/TariffsTableRowContainer.tsx +11 -15
- package/mobile/src/components/TariffsTable/TariffsTableTileCell.tsx +23 -34
- package/mobile/src/components/TariffsTable/TariffsTableVertical.tsx +9 -7
- package/mobile/src/components/Tile/Tile.tsx +2 -5
- package/mobile/src/components/VerticalLayout/VerticalLayout.example.json +17 -0
- package/mobile/src/components/VerticalLayout/VerticalLayout.tsx +51 -0
- package/mobile/src/components/VerticalLayout/VerticalLayout.ui.json +1 -0
- package/mobile/src/components/VerticalLayout/VerticalLayoutContent.ts +19 -0
- package/mobile/src/hooks/handlerDecorator.ts +16 -0
- package/mobile/src/hooks/useLink.ts +26 -22
- package/mobile/src/hooks/useRouter.ts +28 -0
- package/mobile/src/hooks/useTableArrowScrollControl.ts +13 -7
- package/mobile/src/index.ts +3 -0
- package/mobile/src/model/BlockVersion.ts +6 -0
- package/mobile/src/model/BlocksRegistry.ts +1 -1
- package/mobile/src/model/JSXBlock.ts +5 -9
- package/mobile/src/react/setup-fixture.ts +9 -29
- package/mobile/src/services/sitemap/SitemapProps.ts +1 -1
- package/mobile/src/services/sitemap/findActiveSubItem.ts +1 -1
- package/mobile/src/services/sitemap/isHrefActive.ts +1 -5
- package/mobile/src/services/sitemap/isSubItemActive.ts +1 -1
- package/mobile/src/services/sitemap/isTopItemActive.ts +1 -1
- package/mobile/src/services/sitemap/useSWRResource.ts +11 -0
- package/mobile/src/ui-kit/BlockWrapper.tsx +6 -4
- package/mobile/src/ui-kit/Breadcrumb.tsx +12 -9
- package/mobile/src/ui-kit/Button/Button.tsx +40 -79
- package/mobile/src/ui-kit/Button/ButtonInner.tsx +2 -3
- package/mobile/src/ui-kit/Button/ButtonSection.tsx +9 -14
- package/mobile/src/ui-kit/Checkbox/Checkbox.tsx +1 -3
- package/mobile/src/ui-kit/Checkbox/CheckboxProps.ts +2 -2
- package/mobile/src/ui-kit/InnerTable/InnerTable.tsx +6 -7
- package/mobile/src/ui-kit/InnerTable/InnerTableBody.tsx +3 -4
- package/mobile/src/ui-kit/InnerTable/InnerTableBodyItem.tsx +1 -2
- package/mobile/src/ui-kit/InnerTable/InnerTableButton.tsx +1 -2
- package/mobile/src/ui-kit/RadioButtonGroup/RadioButtonGroup.tsx +17 -20
- package/mobile/src/ui-kit/SearchBar/SearchBar.tsx +4 -5
- package/mobile/src/ui-kit/SwipeListControl/SwipeListControl.tsx +1 -1
- package/mobile/src/ui-kit/SwipeListControl/SwipeListControlProps.ts +2 -3
- package/mobile/src/ui-kit/TableArrowScrollControl/TableArrowScrollControl.tsx +2 -2
- package/mobile/src/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.ts +3 -2
- package/mobile/src/ui-kit/TopItem/TopItem.tsx +18 -23
- package/mobile/src/utils/adjustHref.ts +2 -13
- package/package.json +1 -1
- package/src/ProjectSettings.ts +4 -0
- package/src/components/Accordion/Accordion.fixture.mobile.tsx +5 -10
- package/src/components/Accordion/Accordion.fixture.tsx +17 -39
- package/src/components/Accordion/Accordion.mobile.tsx +1 -2
- package/src/components/Accordion/Accordion.tsx +1 -10
- package/src/components/BaseTile/BaseTile.tsx +13 -14
- package/src/components/BenefitsBlock/BenefitsBlock.fixture.tsx +2 -7
- package/src/components/Blocks.mobile.ts +0 -2
- package/src/components/Blocks.ts +10 -6
- package/src/components/Bonus/Bonus.fixture.tsx +2 -2
- package/src/components/Bonus/Bonus.tsx +4 -10
- package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.fixture.tsx +1 -3
- package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +2 -3
- package/src/components/BusinessBlock/BusinessBlock.example.json +65 -0
- package/src/components/BusinessBlock/BusinessBlock.fixture.tsx +74 -0
- package/src/components/BusinessBlock/BusinessBlock.tsx +19 -0
- package/src/components/BusinessBlock/BusinessBlock.ui.json +26 -0
- package/src/components/BusinessBlock/BusinessBlockContent.ts +31 -0
- package/src/components/BusinessBlock/BusinessCard.tsx +41 -0
- package/src/components/Calculator/BonusCalculatorForm.tsx +5 -4
- package/src/components/Calculator/Calculator.fixture.tsx +1 -3
- package/src/components/Calculator/Calculator.tsx +2 -5
- package/src/components/Calculator/CreditCalculatorForm.tsx +11 -11
- package/src/components/Calculator/DepositCalculatorForm.tsx +11 -14
- package/src/components/Calculator/renderButtonSection.tsx +2 -3
- package/src/components/Calculator/renderCalculatorBlock.tsx +20 -23
- package/src/components/CardTransfer/CardTransfer.fixture.tsx +3 -3
- package/src/components/CardTransfer/CardTransfer.tsx +3 -5
- package/src/components/Catalog/Catalog.fixture.tsx +1 -2
- package/src/components/Catalog/Catalog.tsx +17 -41
- package/src/components/Catalog/CatalogCard.tsx +22 -24
- package/src/components/ComparisonTable/ComparisonTable.fixture.mobile.tsx +1 -3
- package/src/components/ComparisonTable/ComparisonTable.fixture.tsx +1 -6
- package/src/components/ComparisonTable/ComparisonTable.mobile.tsx +3 -5
- package/src/components/ComparisonTable/ComparisonTable.tsx +16 -21
- package/src/components/ComparisonTable/ComparisonTableBody.tsx +3 -16
- package/src/components/ComparisonTable/ComparisonTableColumnHeaders.tsx +10 -20
- package/src/components/ComparisonTable/ComparisonTableRows.tsx +2 -2
- package/src/components/ComparisonTable/HeaderCell.tsx +1 -1
- package/src/components/ContactsBlock/ContactsBlock.fixture.tsx +3 -11
- package/src/components/ContactsBlock/ContactsBlock.tsx +1 -2
- package/src/components/ContentPage/ContentPage.fixture.mobile.tsx +2 -6
- package/src/components/ContentPage/ContentPage.fixture.tsx +1 -3
- package/src/components/ContentPage/ContentPage.tsx +4 -10
- package/src/components/ContentPage/renderBlock.tsx +4 -9
- package/src/components/ContentPage/renderBlockList.tsx +9 -20
- package/src/components/ContentPage/renderSlots.tsx +4 -5
- package/src/components/ErrorBlock/ErrorBlock.fixture.tsx +1 -3
- package/src/components/ErrorBlock/ErrorBlock.tsx +14 -24
- package/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +3 -12
- package/src/components/ExchangeRateTile/ExchangeRateTile.fixture.tsx +3 -3
- package/src/components/ExchangeRateTile/ExchangeRateTile.tsx +1 -4
- package/src/components/Footer/Contacts.tsx +17 -28
- package/src/components/Footer/Footer.fallback.ts +13 -0
- package/src/components/Footer/Footer.fixture.mobile.tsx +2 -84
- package/src/components/Footer/Footer.fixture.tsx +2 -141
- package/src/components/Footer/Footer.mobile.tsx +38 -56
- package/src/components/Footer/Footer.tsx +28 -43
- package/src/components/Footer/FooterContent.ts +4 -19
- package/src/components/Footer/FooterDataProps.ts +13 -0
- package/src/components/Footer/FooterLink.ts +2 -2
- package/src/components/Footer/HorizontalNavigation.mobile.tsx +13 -25
- package/src/components/Footer/HorizontalNavigation.tsx +19 -26
- package/src/components/Footer/HorizontalNavigationLink.tsx +16 -10
- package/src/components/Footer/MediaButton.tsx +6 -1
- package/src/components/Footer/Sitemap.tsx +28 -30
- package/src/components/Footer/SocialMedia.mobile.tsx +9 -19
- package/src/components/Footer/SocialMedia.tsx +12 -24
- package/src/components/Footer/TextInformation.mobile.tsx +3 -12
- package/src/components/Footer/TextInformation.tsx +15 -25
- package/src/components/Footer/TextInformationLink.tsx +16 -10
- package/src/components/Footer/useFooterData.ts +13 -0
- package/src/components/Gallery/Gallery.fixture.mobile.tsx +2 -4
- package/src/components/Gallery/Gallery.fixture.tsx +2 -6
- package/src/components/Gallery/Gallery.mobile.tsx +5 -10
- package/src/components/Gallery/GalleryContainer.tsx +4 -21
- package/src/components/Gallery/GalleryContent.ts +1 -1
- package/src/components/Gallery/GalleryInner.tsx +1 -3
- package/src/components/GracePeriod/GracePeriod.fixture.tsx +2 -2
- package/src/components/GracePeriod/GracePeriod.tsx +12 -18
- package/src/components/Header/DropdownMenu.tsx +34 -39
- package/src/components/Header/Header.fixture.mobile.tsx +3 -3
- package/src/components/Header/Header.fixture.tsx +4 -4
- package/src/components/Header/Header.mobile.tsx +25 -29
- package/src/components/Header/Header.tsx +11 -13
- package/src/components/Header/HeaderBurger.tsx +2 -4
- package/src/components/Header/HeaderSubMenu.tsx +3 -6
- package/src/components/Header/HeaderSubMenuItem.tsx +2 -22
- package/src/components/Headline/Headline.fixture.mobile.tsx +10 -14
- package/src/components/Headline/Headline.fixture.tsx +15 -15
- package/src/components/Headline/Headline.tsx +1 -2
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.fixture.tsx +1 -2
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +3 -17
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +2 -2
- package/src/components/InvestmentGallery/InvestmentGallery.fixture.tsx +1 -2
- package/src/components/InvestmentGallery/InvestmentGallery.tsx +6 -21
- package/src/components/InvestmentGallery/InvestmentGalleryCard.tsx +3 -9
- package/src/components/InvestmentInfo/InvestmentInfo.fixture.tsx +2 -2
- package/src/components/InvestmentInfo/InvestmentInfo.tsx +1 -6
- package/src/components/LikeControl/LikeControl.fixture.tsx +2 -2
- package/src/components/LikeControl/LikeControl.tsx +9 -13
- package/src/components/LinkDocs/LinkDocs.fixture.mobile.tsx +4 -14
- package/src/components/LinkDocs/LinkDocs.fixture.tsx +5 -20
- package/src/components/LinkDocs/LinkDocs.mobile.tsx +19 -26
- package/src/components/LinkDocs/LinkDocs.tsx +21 -25
- package/src/components/LinkDocs/LinkDocsHorizontalList.tsx +15 -22
- package/src/components/LinkList/LinkList.fixture.tsx +2 -2
- package/src/components/LinkList/LinkList.tsx +7 -9
- package/src/components/MiniGallery/MiniGallery.fixture.tsx +4 -8
- package/src/components/MobileAppTile/MobileAppTile.fixture.mobile.tsx +1 -2
- package/src/components/MobileAppTile/MobileAppTile.fixture.tsx +2 -10
- package/src/components/MobileAppTile/MobileAppTile.tsx +1 -4
- package/src/components/OfficeMap/OfficeMap.fixture.tsx +2 -2
- package/src/components/OfficeMap/OfficeMap.tsx +4 -2
- package/src/components/OfficeMap/useOfficeMap.ts +4 -1
- package/src/components/OfficeServicesBlock/OfficeServicesBlock.fixture.tsx +1 -2
- package/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +9 -16
- package/src/components/OtherProducts/OtherProducts.fixture.tsx +20 -32
- package/src/components/OtherProducts/OtherProducts.tsx +2 -6
- package/src/components/PictureText/PictureText.fixture.tsx +6 -16
- package/src/components/PictureText/PictureText.tsx +23 -27
- package/src/components/Placeholder/Placeholder.fixture.mobile.tsx +2 -2
- package/src/components/Placeholder/Placeholder.fixture.tsx +2 -2
- package/src/components/Placeholder/Placeholder.tsx +3 -6
- package/src/components/ProductBlock/ProductBlock.fixture.mobile.tsx +8 -27
- package/src/components/ProductBlock/ProductBlock.fixture.tsx +7 -24
- package/src/components/ProductBlock/ProductBlock.tsx +6 -23
- package/src/components/ProductBlock/ProductBlockInner.mobile.tsx +3 -12
- package/src/components/ProductBlock/ProductBlockInner.tsx +9 -11
- package/src/components/ProductBlock/renderBackwardButton.tsx +3 -2
- package/src/components/ProductGallery/ProductGallery.fixture.tsx +1 -3
- package/src/components/ProductGallery/ProductGallery.tsx +4 -11
- package/src/components/ProductTile/ProductTile.fixture.tsx +2 -8
- package/src/components/ProductTile/ProductTile.tsx +24 -32
- package/src/components/PromoTile/PromoTile.fixture.tsx +1 -2
- package/src/components/PromoTile/PromoTile.tsx +31 -38
- package/src/components/Recommendation/Recommendation.fixture.tsx +1 -3
- package/src/components/Recommendation/Recommendation.tsx +12 -26
- package/src/components/Recommendation/RecommendationCard.tsx +5 -15
- package/src/components/SafeDepositRental/SafeDepositRental.fixture.tsx +1 -2
- package/src/components/SafeDepositRental/SafeDepositRental.tsx +3 -3
- package/src/components/StepsBlock/StepsBlock.fixture.mobile.tsx +1 -9
- package/src/components/StepsBlock/StepsBlock.fixture.tsx +2 -3
- package/src/components/StepsBlock/StepsBlock.tsx +5 -28
- package/src/components/StepsBlock/renderStepContent.tsx +4 -10
- package/src/components/Tabs/LinkTab.tsx +46 -0
- package/src/components/Tabs/Tabs.fixture.tsx +1 -2
- package/src/components/Tabs/Tabs.tsx +7 -7
- package/src/components/Tabs/TabsContent.ts +5 -5
- package/src/components/Tabs/renderGroupTab.tsx +3 -3
- package/src/components/Tabs/renderTab.tsx +8 -27
- package/src/components/TariffsTable/EmbeddableCellData.tsx +3 -5
- package/src/components/TariffsTable/TariffsTable.fixture.mobile.tsx +2 -7
- package/src/components/TariffsTable/TariffsTable.fixture.tsx +1 -6
- package/src/components/TariffsTable/TariffsTable.mobile.tsx +6 -17
- package/src/components/TariffsTable/TariffsTable.tsx +2 -8
- package/src/components/TariffsTable/TariffsTableCell.tsx +0 -2
- package/src/components/TariffsTable/TariffsTableContent.ts +1 -1
- package/src/components/TariffsTable/TariffsTableHorizontal.tsx +9 -7
- package/src/components/TariffsTable/TariffsTableRenderCell.tsx +0 -5
- package/src/components/TariffsTable/TariffsTableRow.tsx +4 -4
- package/src/components/TariffsTable/TariffsTableRowContainer.tsx +11 -15
- package/src/components/TariffsTable/TariffsTableTileCell.tsx +23 -34
- package/src/components/TariffsTable/TariffsTableVertical.tsx +9 -7
- package/src/components/TextBlock/TextBlock.fixture.mobile.tsx +10 -60
- package/src/components/TextBlock/TextBlock.fixture.tsx +13 -49
- package/src/components/Tile/Tile.fixture.tsx +4 -7
- package/src/components/Tile/Tile.tsx +2 -5
- package/src/components/VerticalLayout/VerticalLayout.example.json +17 -0
- package/src/components/VerticalLayout/VerticalLayout.fixture.tsx +41 -0
- package/src/components/VerticalLayout/VerticalLayout.tsx +51 -0
- package/src/components/VerticalLayout/VerticalLayout.ui.json +1 -0
- package/src/components/VerticalLayout/VerticalLayoutContent.ts +19 -0
- package/src/hooks/handlerDecorator.ts +16 -0
- package/src/hooks/useLink.ts +26 -22
- package/src/hooks/useRouter.ts +28 -0
- package/src/hooks/useTableArrowScrollControl.ts +13 -7
- package/src/icons/IconName.ts +5 -318
- package/src/index.ts +3 -0
- package/src/model/BlockVersion.ts +6 -0
- package/src/model/BlocksRegistry.ts +1 -1
- package/src/model/JSXBlock.ts +5 -9
- package/src/react/setup-fixture.ts +9 -29
- package/src/services/sitemap/SitemapProps.ts +1 -1
- package/src/services/sitemap/findActiveSubItem.ts +1 -1
- package/src/services/sitemap/isHrefActive.ts +1 -5
- package/src/services/sitemap/isSubItemActive.ts +1 -1
- package/src/services/sitemap/isTopItemActive.ts +1 -1
- package/src/services/sitemap/useSWRResource.ts +11 -0
- package/src/ui-kit/BlockWrapper.tsx +6 -4
- package/src/ui-kit/Breadcrumb.tsx +12 -9
- package/src/ui-kit/Button/Button.tsx +35 -80
- package/src/ui-kit/Button/ButtonInner.tsx +2 -3
- package/src/ui-kit/Button/ButtonSection.tsx +9 -14
- package/src/ui-kit/Checkbox/Checkbox.tsx +1 -3
- package/src/ui-kit/Checkbox/CheckboxProps.ts +2 -2
- package/src/ui-kit/HeaderItem/HeaderItem.tsx +18 -22
- package/src/ui-kit/InnerTable/InnerTable.tsx +6 -7
- package/src/ui-kit/InnerTable/InnerTableBody.tsx +3 -4
- package/src/ui-kit/InnerTable/InnerTableBodyItem.tsx +1 -2
- package/src/ui-kit/InnerTable/InnerTableButton.tsx +1 -2
- package/src/ui-kit/RadioButtonGroup/RadioButtonGroup.fixture.tsx +2 -3
- package/src/ui-kit/RadioButtonGroup/RadioButtonGroup.tsx +17 -20
- package/src/ui-kit/SearchBar/SearchBar.mobile.tsx +4 -5
- package/src/ui-kit/SearchBar/SearchBar.tsx +2 -5
- package/src/ui-kit/SwipeListControl/SwipeListControl.fixture.mobile.tsx +5 -7
- package/src/ui-kit/SwipeListControl/SwipeListControl.tsx +1 -1
- package/src/ui-kit/SwipeListControl/SwipeListControlProps.ts +2 -3
- package/src/ui-kit/TableArrowScrollControl/TableArrowScrollControl.tsx +2 -2
- package/src/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.ts +3 -2
- package/src/ui-kit/TopItem/TopItem.tsx +18 -23
- package/src/utils/adjustHref.ts +2 -13
- package/bundle/components/Calculator/renderPaymentTypeSelector.d.ts +0 -11
- package/bundle/components/ContentPage/ContentPageContext.d.ts +0 -17
- package/bundle/components/ProductGallery/ProductGallery.mobile.d.ts +0 -5
- package/bundle/components/ProductGallery/ProductGalleryBlock.d.ts +0 -8
- package/bundle/components/Tabs/renderLinkTab.d.ts +0 -9
- package/bundle/services/sitemap/useSitemap.d.ts +0 -3
- package/bundle/ui-kit/Button/Button.mobile.d.ts +0 -2
- package/bundle/utils/withoutMobilePath.d.ts +0 -2
- package/dist/components/Calculator/renderPaymentTypeSelector.d.ts +0 -11
- package/dist/components/Calculator/renderPaymentTypeSelector.js +0 -9
- package/dist/components/Calculator/renderPaymentTypeSelector.js.map +0 -1
- package/dist/components/ContentPage/ContentPageContext.d.ts +0 -17
- package/dist/components/ContentPage/ContentPageContext.js.map +0 -1
- package/dist/components/ProductGallery/ProductGallery.mobile.d.ts +0 -5
- package/dist/components/ProductGallery/ProductGallery.mobile.js +0 -11
- package/dist/components/ProductGallery/ProductGallery.mobile.js.map +0 -1
- package/dist/components/ProductGallery/ProductGalleryBlock.d.ts +0 -8
- package/dist/components/ProductGallery/ProductGalleryBlock.js +0 -11
- package/dist/components/ProductGallery/ProductGalleryBlock.js.map +0 -1
- package/dist/components/Tabs/renderLinkTab.d.ts +0 -9
- package/dist/components/Tabs/renderLinkTab.js +0 -10
- package/dist/components/Tabs/renderLinkTab.js.map +0 -1
- package/dist/services/sitemap/useSitemap.d.ts +0 -3
- package/dist/services/sitemap/useSitemap.js.map +0 -1
- package/dist/ui-kit/Button/Button.mobile.d.ts +0 -2
- package/dist/ui-kit/Button/Button.mobile.js +0 -31
- package/dist/ui-kit/Button/Button.mobile.js.map +0 -1
- package/dist/utils/withoutMobilePath.d.ts +0 -2
- package/dist/utils/withoutMobilePath.js +0 -6
- package/dist/utils/withoutMobilePath.js.map +0 -1
- package/lib/components/Calculator/renderPaymentTypeSelector.d.ts +0 -11
- package/lib/components/Calculator/renderPaymentTypeSelector.js +0 -6
- package/lib/components/Calculator/renderPaymentTypeSelector.js.map +0 -1
- package/lib/components/ContentPage/ContentPageContext.d.ts +0 -17
- package/lib/components/ContentPage/ContentPageContext.js +0 -2
- package/lib/components/ContentPage/ContentPageContext.js.map +0 -1
- package/lib/components/ProductGallery/ProductGallery.fixture.mobile.d.ts +0 -6
- package/lib/components/ProductGallery/ProductGallery.mobile.d.ts +0 -5
- package/lib/components/ProductGallery/ProductGallery.mobile.js +0 -9
- package/lib/components/ProductGallery/ProductGallery.mobile.js.map +0 -1
- package/lib/components/ProductGallery/ProductGalleryBlock.d.ts +0 -8
- package/lib/components/ProductGallery/ProductGalleryBlock.js +0 -9
- package/lib/components/ProductGallery/ProductGalleryBlock.js.map +0 -1
- package/lib/components/Tabs/renderLinkTab.d.ts +0 -9
- package/lib/components/Tabs/renderLinkTab.js +0 -7
- package/lib/components/Tabs/renderLinkTab.js.map +0 -1
- package/lib/services/sitemap/useSitemap.d.ts +0 -3
- package/lib/services/sitemap/useSitemap.js.map +0 -1
- package/lib/ui-kit/Button/Button.mobile.d.ts +0 -2
- package/lib/ui-kit/Button/Button.mobile.js +0 -29
- package/lib/ui-kit/Button/Button.mobile.js.map +0 -1
- package/lib/utils/withoutMobilePath.d.ts +0 -2
- package/lib/utils/withoutMobilePath.js +0 -3
- package/lib/utils/withoutMobilePath.js.map +0 -1
- package/mobile/bundle/components/Calculator/renderPaymentTypeSelector.d.ts +0 -11
- package/mobile/bundle/components/ContentPage/ContentPageContext.d.ts +0 -17
- package/mobile/bundle/components/ProductGallery/ProductGalleryBlock.d.ts +0 -8
- package/mobile/bundle/components/Tabs/renderLinkTab.d.ts +0 -9
- package/mobile/bundle/services/sitemap/useSitemap.d.ts +0 -3
- package/mobile/bundle/utils/withoutMobilePath.d.ts +0 -2
- package/mobile/dist/components/Calculator/renderPaymentTypeSelector.d.ts +0 -11
- package/mobile/dist/components/Calculator/renderPaymentTypeSelector.js +0 -9
- package/mobile/dist/components/Calculator/renderPaymentTypeSelector.js.map +0 -1
- package/mobile/dist/components/ContentPage/ContentPageContext.d.ts +0 -17
- package/mobile/dist/components/ContentPage/ContentPageContext.js.map +0 -1
- package/mobile/dist/components/ProductGallery/ProductGalleryBlock.d.ts +0 -8
- package/mobile/dist/components/ProductGallery/ProductGalleryBlock.js +0 -11
- package/mobile/dist/components/ProductGallery/ProductGalleryBlock.js.map +0 -1
- package/mobile/dist/components/Tabs/renderLinkTab.d.ts +0 -9
- package/mobile/dist/components/Tabs/renderLinkTab.js +0 -10
- package/mobile/dist/components/Tabs/renderLinkTab.js.map +0 -1
- package/mobile/dist/services/sitemap/useSitemap.d.ts +0 -3
- package/mobile/dist/services/sitemap/useSitemap.js.map +0 -1
- package/mobile/dist/utils/withoutMobilePath.d.ts +0 -2
- package/mobile/dist/utils/withoutMobilePath.js +0 -6
- package/mobile/dist/utils/withoutMobilePath.js.map +0 -1
- package/mobile/lib/components/Calculator/renderPaymentTypeSelector.d.ts +0 -11
- package/mobile/lib/components/Calculator/renderPaymentTypeSelector.js +0 -6
- package/mobile/lib/components/Calculator/renderPaymentTypeSelector.js.map +0 -1
- package/mobile/lib/components/ContentPage/ContentPageContext.d.ts +0 -17
- package/mobile/lib/components/ContentPage/ContentPageContext.js +0 -2
- package/mobile/lib/components/ContentPage/ContentPageContext.js.map +0 -1
- package/mobile/lib/components/ProductGallery/ProductGalleryBlock.d.ts +0 -8
- package/mobile/lib/components/ProductGallery/ProductGalleryBlock.js +0 -9
- package/mobile/lib/components/ProductGallery/ProductGalleryBlock.js.map +0 -1
- package/mobile/lib/components/Tabs/renderLinkTab.d.ts +0 -9
- package/mobile/lib/components/Tabs/renderLinkTab.js +0 -7
- package/mobile/lib/components/Tabs/renderLinkTab.js.map +0 -1
- package/mobile/lib/services/sitemap/useSitemap.d.ts +0 -3
- package/mobile/lib/services/sitemap/useSitemap.js.map +0 -1
- package/mobile/lib/utils/withoutMobilePath.d.ts +0 -2
- package/mobile/lib/utils/withoutMobilePath.js +0 -3
- package/mobile/lib/utils/withoutMobilePath.js.map +0 -1
- package/mobile/src/components/Calculator/renderPaymentTypeSelector.tsx +0 -14
- package/mobile/src/components/ContentPage/ContentPageContext.tsx +0 -20
- package/mobile/src/components/ProductGallery/ProductGalleryBlock.tsx +0 -28
- package/mobile/src/components/Tabs/renderLinkTab.tsx +0 -42
- package/mobile/src/services/sitemap/useSitemap.ts +0 -15
- package/mobile/src/utils/withoutMobilePath.ts +0 -3
- package/src/components/Calculator/renderPaymentTypeSelector.tsx +0 -14
- package/src/components/ContentPage/ContentPageContext.tsx +0 -20
- package/src/components/ProductGallery/ProductGallery.fixture.mobile.tsx +0 -234
- package/src/components/ProductGallery/ProductGallery.mobile.tsx +0 -21
- package/src/components/ProductGallery/ProductGalleryBlock.tsx +0 -28
- package/src/components/Tabs/renderLinkTab.tsx +0 -42
- package/src/services/sitemap/useSitemap.ts +0 -15
- package/src/ui-kit/Button/Button.fixture.mobile.tsx +0 -16
- package/src/ui-kit/Button/Button.mobile.tsx +0 -87
- package/src/utils/withoutMobilePath.ts +0 -3
|
@@ -1,3 +1,57 @@
|
|
|
1
1
|
export declare function useOfficeMap(regionCode?: string): {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
id: number;
|
|
3
|
+
branchType: {
|
|
4
|
+
id: number;
|
|
5
|
+
code: string;
|
|
6
|
+
name: string;
|
|
7
|
+
};
|
|
8
|
+
shortName: string;
|
|
9
|
+
name: string;
|
|
10
|
+
address: string;
|
|
11
|
+
lawAddress: string;
|
|
12
|
+
openDate: string;
|
|
13
|
+
closeDate: null;
|
|
14
|
+
bik: string;
|
|
15
|
+
corAcc: string;
|
|
16
|
+
registrationNumber: string;
|
|
17
|
+
phone: string;
|
|
18
|
+
fax: string;
|
|
19
|
+
okpo: string;
|
|
20
|
+
ogrn: string;
|
|
21
|
+
kpp: string;
|
|
22
|
+
inn: string;
|
|
23
|
+
branchCode: string;
|
|
24
|
+
upperBranchCode: string;
|
|
25
|
+
timeZone: string;
|
|
26
|
+
exchangeRate: {
|
|
27
|
+
currencies: {
|
|
28
|
+
buyExchangeRate: number;
|
|
29
|
+
saleExchangeRate: number;
|
|
30
|
+
currency: {
|
|
31
|
+
id: number;
|
|
32
|
+
code: string;
|
|
33
|
+
currency: string;
|
|
34
|
+
name: string;
|
|
35
|
+
};
|
|
36
|
+
}[];
|
|
37
|
+
lastUpdate: string;
|
|
38
|
+
};
|
|
39
|
+
workSchedule: {
|
|
40
|
+
id: number;
|
|
41
|
+
workTime: string;
|
|
42
|
+
lunchHour: string;
|
|
43
|
+
workTimeSaturday: string;
|
|
44
|
+
lunchHourSaturday: string;
|
|
45
|
+
workingMonday: boolean;
|
|
46
|
+
workingTuesday: boolean;
|
|
47
|
+
workingWednesday: boolean;
|
|
48
|
+
workingThursday: boolean;
|
|
49
|
+
workingFriday: boolean;
|
|
50
|
+
workingSaturday: boolean;
|
|
51
|
+
workingSunday: boolean;
|
|
52
|
+
};
|
|
53
|
+
gpsLatitude: number;
|
|
54
|
+
gpsLongitude: number;
|
|
55
|
+
range: null;
|
|
56
|
+
safeBoxCaseVolumes: null;
|
|
57
|
+
};
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import { useAsyncData } from '@redneckz/uni-jsx/lib/hooks/useAsyncData';
|
|
2
2
|
import { fetchJSON } from '../../utils/fetchJSON.js';
|
|
3
|
+
import { OFFICE_MAP } from './mockOfficeMap.js';
|
|
3
4
|
const OFFICE_MAP_URL = '/api/v1/branches';
|
|
4
5
|
// TODO: regionCode - внутренний идентификатор банка. Не соответствует государственной нумерации регионов РФ
|
|
5
6
|
// TODO: Список регионов можно получить через api/v1/regions
|
|
6
7
|
export function useOfficeMap(regionCode) {
|
|
7
8
|
const { data } = useAsyncData(regionCode ? `${OFFICE_MAP_URL}?regionCode=${regionCode}` : undefined, fetchOfficeMap);
|
|
8
|
-
|
|
9
|
+
console.warn('WARNING!!! Hook useOfficeMap RETURN MOCK object for testing!');
|
|
10
|
+
console.log('Hook useOfficeMap get this data:', data);
|
|
11
|
+
return OFFICE_MAP;
|
|
9
12
|
}
|
|
10
13
|
const fetchOfficeMap = (url) => {
|
|
11
14
|
if (!url) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useOfficeMap.js","sourceRoot":"","sources":["../../../src/components/OfficeMap/useOfficeMap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,0CAA0C,CAAC;AACxE,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"useOfficeMap.js","sourceRoot":"","sources":["../../../src/components/OfficeMap/useOfficeMap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,0CAA0C,CAAC;AACxE,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE7C,MAAM,cAAc,GAAG,kBAAkB,CAAC;AAE1C,4GAA4G;AAC5G,4DAA4D;AAC5D,MAAM,UAAU,YAAY,CAAC,UAAmB;IAC9C,MAAM,EAAE,IAAI,EAAE,GAAG,YAAY,CAC3B,UAAU,CAAC,CAAC,CAAC,GAAG,cAAc,eAAe,UAAU,EAAE,CAAC,CAAC,CAAC,SAAS,EACrE,cAAc,CACf,CAAC;IACF,OAAO,CAAC,IAAI,CAAC,+DAA+D,CAAC,CAAC;IAC9E,OAAO,CAAC,GAAG,CAAC,kCAAkC,EAAE,IAAI,CAAC,CAAC;IAEtD,OAAO,UAAU,CAAC;AACpB,CAAC;AAED,MAAM,cAAc,GAAG,CAAC,GAAY,EAAE,EAAE;IACtC,IAAI,CAAC,GAAG,EAAE;QACR,OAAO,EAAE,CAAC;KACX;IAED,OAAO,SAAS,CAAC,GAAG,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,CAAC;AAC3C,CAAC,CAAC"}
|
|
@@ -4,8 +4,6 @@ import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
|
|
|
4
4
|
import { Heading } from '../../ui-kit/Heading/Heading.js';
|
|
5
5
|
import { Img } from '../../ui-kit/Img/Img.js';
|
|
6
6
|
import { getIconWithVersion } from '../../utils/getIconWithVersion.js';
|
|
7
|
-
export const OfficeServicesBlock = JSX(({ className = '',
|
|
8
|
-
return (_jsxs(BlockWrapper, { context: context, id: anchor, className: `font-sans bg-white p-8 flex flex-col ${className}`, ...rest, children: [title ? _jsx(Heading, { headingType: "h5", className: "mb-5", title: title }) : null, servicesList?.length ? (_jsx("ul", { className: "list-none m-0 p-0", children: servicesList.map(renderListItems) })) : null] }));
|
|
9
|
-
});
|
|
7
|
+
export const OfficeServicesBlock = JSX(({ className = '', title, servicesList, ...rest }) => (_jsxs(BlockWrapper, { className: `font-sans bg-white p-8 flex flex-col ${className}`, ...rest, children: [title ? _jsx(Heading, { headingType: "h5", className: "mb-5", title: title }) : null, servicesList?.length ? (_jsx("ul", { className: "list-none m-0 p-0", children: servicesList.map(renderListItems) })) : null] })));
|
|
10
8
|
const renderListItems = (itemList, i) => (_jsxs("li", { className: "flex mb-5 last:mb-0 list-none", children: [itemList.icon ? (_jsx(Img, { className: "mr-3 min-w-6 min-h-6 w-6 h-6", width: "24", height: "24", asSVG: true, image: getIconWithVersion(itemList.icon) })) : null, itemList.label ? _jsx("span", { className: "text-l-light", children: itemList.label }) : null] }, `list_item_${String(i)}`));
|
|
11
9
|
//# sourceMappingURL=OfficeServicesBlock.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OfficeServicesBlock.js","sourceRoot":"","sources":["../../../src/components/OfficeServicesBlock/OfficeServicesBlock.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"OfficeServicesBlock.js","sourceRoot":"","sources":["../../../src/components/OfficeServicesBlock/OfficeServicesBlock.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,O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EAAE,CAW5B,CACN,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
3
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
|
|
4
|
-
export const OtherProducts = JSX(({
|
|
4
|
+
export const OtherProducts = JSX(({ className = '', children, ...rest }) => (_jsx(BlockWrapper, { className: `font-sans text-primary-text ${className}`, ...rest, children: children })));
|
|
5
5
|
OtherProducts.childrenTypes = ['OtherProductsItem'];
|
|
6
6
|
//# sourceMappingURL=OtherProducts.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OtherProducts.js","sourceRoot":"","sources":["../../../src/components/OtherProducts/OtherProducts.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAKzD,MAAM,CAAC,MAAM,aAAa,GAAiC,GAAG,CAC5D,CAAC,EAAE,
|
|
1
|
+
{"version":3,"file":"OtherProducts.js","sourceRoot":"","sources":["../../../src/components/OtherProducts/OtherProducts.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAKzD,MAAM,CAAC,MAAM,aAAa,GAAiC,GAAG,CAC5D,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CACzC,KAAC,YAAY,IAAC,SAAS,EAAE,+BAA+B,SAAS,EAAE,KAAM,IAAI,YAC1E,QAAQ,GACI,CAChB,CACF,CAAC;AAEF,aAAa,CAAC,aAAa,GAAG,CAAC,mBAAmB,CAAC,CAAC"}
|
|
@@ -6,9 +6,7 @@ import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
|
|
|
6
6
|
import { Img } from '../../ui-kit/Img/Img.js';
|
|
7
7
|
import { addSpacesBetweenNumbers } from '../../utils/addSpacesBetweenNumbers.js';
|
|
8
8
|
import { Headline } from '../Headline/Headline.js';
|
|
9
|
-
export const PictureText = JSX(({ className = '',
|
|
10
|
-
return (_jsxs(BlockWrapper, { className: `relative font-sans py-12 px-24 ${VersionStyleMap[version]} ${className}`, context: context, ...rest, children: [_jsx(Headline, { context: context, className: "!p-0", title: title, description: description, headlineVersion: "M", bgColorHeadline: version, align: "center" }), _jsxs("div", { className: 'flex justify-center gap-[122px] mt-[30px]', children: [image?.src ? _jsx(Img, { className: directionRight ? 'order-2' : '', image: image }) : null, _jsxs("div", { className: "w-[558px] m-auto", children: [benefits?.length ? (_jsx("div", { className: "flex flex-col gap-4", children: benefits.map(renderBenefit(version)) })) : null, renderInsuranceSumMonth(Number(sum), Number(monthLimit))] })] })] }));
|
|
11
|
-
});
|
|
9
|
+
export const PictureText = JSX(({ className = '', title, description, image, benefits, version = 'primary', sum, monthLimit, directionRight = false, ...rest }) => (_jsxs(BlockWrapper, { className: `relative font-sans py-12 px-24 ${VersionStyleMap[version]} ${className}`, ...rest, children: [_jsx(Headline, { className: "!p-0", title: title, description: description, headlineVersion: "M", bgColorHeadline: version, align: "center", ...rest }), _jsxs("div", { className: 'flex justify-center gap-[122px] mt-[30px]', children: [image?.src ? _jsx(Img, { className: directionRight ? 'order-2' : '', image: image }) : null, _jsxs("div", { className: "w-[558px] m-auto", children: [benefits?.length ? (_jsx("div", { className: "flex flex-col gap-4", children: benefits.map(renderBenefit(version)) })) : null, renderInsuranceSumMonth(Number(sum), Number(monthLimit))] })] })] })));
|
|
12
10
|
const renderBenefit = (version) => (benefit, i) => (_jsx(BenefitItem, { icon: benefit.icon, label: benefit.label, description: benefit.description, version: version }, String(i)));
|
|
13
11
|
function renderInsuranceSumMonth(sum, monthLimit) {
|
|
14
12
|
return sum || monthLimit ? (_jsxs("div", { className: "bg-main-divider rounded-md flex mt-7 gap-6 px-5 py-4", children: [Number(sum) > 0 ? renderValueBlock('Страховая сумма:', sum, Boolean(monthLimit)) : null, Number(monthLimit) > 0
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PictureText.js","sourceRoot":"","sources":["../../../src/components/PictureText/PictureText.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAE3D,OAAO,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AAEnE,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAKhD,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAC5B,CAAC,EACC,SAAS,GAAG,EAAE,EACd,
|
|
1
|
+
{"version":3,"file":"PictureText.js","sourceRoot":"","sources":["../../../src/components/PictureText/PictureText.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAE3D,OAAO,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AAEnE,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAKhD,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAC5B,CAAC,EACC,SAAS,GAAG,EAAE,EACd,KAAK,EACL,WAAW,EACX,KA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,SAAS,uBAAuB,CAAC,GAAY,EAAE,UAAmB;IAChE,OAAO,GAAG,IAAI,UAAU,CAAC,CAAC,CAAC,CACzB,eAAK,SAAS,EAAC,sDAAsD,aAClE,MAAM,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,kBAAkB,EAAE,GAAG,EAAE,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,EACvF,MAAM,CAAC,UAAU,CAAC,GAAG,CAAC;gBACrB,CAAC,CAAC,gBAAgB,CAAC,oBAAoB,EAAE,UAAU,EAAE,OAAO,CAAC,GAAG,CAAC,CAAC;gBAClE,CAAC,CAAC,IAAI,IACJ,CACP,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC;AAED,SAAS,gBAAgB,CAAC,KAAa,EAAE,GAAG,GAAG,CAAC,EAAE,cAAc,GAAG,KAAK;IACtE,MAAM,UAAU,GAAG,cAAc,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC;IAEvD,OAAO,CACL,eAAK,SAAS,EAAE,iEAAiE,UAAU,EAAE,aAC3F,eAAM,SAAS,EAAC,kCAAkC,YAAE,KAAK,GAAQ,EACjE,gBAAM,SAAS,EAAC,2BAA2B,aAAE,uBAAuB,CAAC,GAAG,CAAC,eAAU,IAC/E,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
2
2
|
import type { PlaceholderContent } from './PlaceholderContent';
|
|
3
3
|
export interface PlaceholderProps extends PlaceholderContent, UniBlockProps {
|
|
4
|
-
className?: string;
|
|
5
4
|
}
|
|
6
5
|
export declare const Placeholder: import("@redneckz/uni-jsx").UNIComponent<PlaceholderProps, any, any>;
|
|
@@ -6,8 +6,8 @@ import { getTileMinHeight } from '../BaseTile/getTileMinHeight.js';
|
|
|
6
6
|
import { getTileRightPadding } from '../BaseTile/getTileRightPadding.js';
|
|
7
7
|
import { Headline } from '../Headline/Headline.js';
|
|
8
8
|
const GOLDEN_RATIO = 1.618;
|
|
9
|
-
export const Placeholder = JSX(({ className,
|
|
10
|
-
return (_jsxs(BlockWrapper, {
|
|
9
|
+
export const Placeholder = JSX(({ className, title, description = 'Блок в разработке...', ...rest }) => {
|
|
10
|
+
return (_jsxs(BlockWrapper, { className: `bg-white text-primary-text font-sans p-9 box-border ${className} ${getTileRightPadding(className)} ${getTileMinHeight(className)} `, ...rest, children: [_jsx(Headline, { className: "!p-0 max-w-[600px]", title: title, description: description, headlineVersion: getTileHeadingType(className), ...rest }), _jsx("figure", { className: "m-0 min-w-[80%]", children: renderShimmer() })] }));
|
|
11
11
|
});
|
|
12
12
|
const renderShimmer = (size = 3) => goldenSequence(100, size)
|
|
13
13
|
.map((_) => Math.floor(_))
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Placeholder.js","sourceRoot":"","sources":["../../../src/components/Placeholder/Placeholder.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"Placeholder.js","sourceRoot":"","sources":["../../../src/components/Placeholder/Placeholder.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAE,gBAAgB,EAAE,MA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AK,CAAC,CAAC,MAAM,CAAC,IAAI,GAAG,CAAC,CAAC,CAAC,CAAC,cAAc,CAAC,KAAK,GAAG,YAAY,EAAE,IAAI,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
-
import { useLink } from '../../hooks/useLink.js';
|
|
4
3
|
import { VersionStyleMap } from '../../model/BlockVersion.js';
|
|
5
4
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
|
|
6
5
|
import { Breadcrumb } from '../../ui-kit/Breadcrumb.js';
|
|
@@ -12,12 +11,10 @@ const breadcrumbsStyleMap = {
|
|
|
12
11
|
secondary: 'text-white/80',
|
|
13
12
|
};
|
|
14
13
|
export const ProductBlock = JSX((props) => {
|
|
15
|
-
const {
|
|
16
|
-
const router = context.useRouter();
|
|
17
|
-
const { handlerDecorator } = context;
|
|
14
|
+
const { className = '', breadcrumbs, backwardButton, version = 'primary', ...rest } = props;
|
|
18
15
|
const buttonVersion = version === 'primary' ? version : 'white';
|
|
19
|
-
return (_jsxs(BlockWrapper, {
|
|
20
|
-
? renderBackwardButton(
|
|
21
|
-
: null, breadcrumbs?.length ? (_jsx("div", { className: "text-xs-light mb-6", children: joinList(_jsx("span", { className: `mx-2 ${breadcrumbsStyleMap[version]}`, children: "/" }))(breadcrumbs.map((breadcrumb, i) => (_jsx(Breadcrumb, {
|
|
16
|
+
return (_jsxs(BlockWrapper, { className: `font-sans overflow-hidden p-[50px] flex flex-col box-border min-h-[454px] ${VersionStyleMap[version]} ${className}`, ...rest, children: [backwardButton?.text
|
|
17
|
+
? renderBackwardButton(backwardButton, buttonVersion, 'mb-10 -mt-2.5')
|
|
18
|
+
: null, breadcrumbs?.length ? (_jsx("div", { className: "text-xs-light mb-6", children: joinList(_jsx("span", { className: `mx-2 ${breadcrumbsStyleMap[version]}`, children: "/" }))(breadcrumbs.map((breadcrumb, i) => (_jsx(Breadcrumb, { className: breadcrumbsStyleMap[version], ...breadcrumb }, String(i))))) })) : null, _jsx(ProductBlockInner, { version: version, ...rest })] }));
|
|
22
19
|
});
|
|
23
20
|
//# sourceMappingURL=ProductBlock.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProductBlock.js","sourceRoot":"","sources":["../../../src/components/ProductBlock/ProductBlock.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"ProductBlock.js","sourceRoot":"","sources":["../../../src/components/ProductBlock/ProductBlock.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAE3D,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAI9D,MAAM,mBAAmB,GAAiC;IACxD,OAAO,EAAE,qBAAqB;IAC9B,SAAS,EAAE,eAAe;CAC3B,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAAoB,CAAC,KAAK,EAAE,EAAE;IAC3D,MAAM,EAAE,SAAS,GAAG,EAAE,EAAE,WAAW,EAAE,cAAc,EAAE,OAAO,GAAG,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,KAAK,CAAC;IAC5F,MAAM,aAAa,GAAG,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC;IAEhE,OAAO,CACL,MAAC,YAAY,IACX,SAAS,EAAE,6EAA6E,eAAe,CAAC,OAAO,CAAC,IAAI,SAAS,EAAE,KAC3H,IAAI,aAEP,cAAc,EAAE,IAAI;gBACnB,CAAC,CAAC,oBAAoB,CAAC,cAAc,EAAE,aAAa,EAAE,eAAe,CAAC;gBACtE,CAAC,CAAC,IAAI,EACP,WAAW,EAAE,MAAM,CAAC,CAAC,CAAC,CACrB,cAAK,SAAS,EAAC,oBAAoB,YAChC,QAAQ,CAAC,eAAM,SAAS,EAAE,QAAQ,mBAAmB,CAAC,OAAO,CAAC,EAAE,kBAAU,CAAC,CAC1E,WAAW,CAAC,GAAG,CAAC,CAAC,UAAU,EAAE,CAAC,EAAE,EAAE,CAAC,CACjC,KAAC,UAAU,IAET,SAAS,EAAE,mBAAmB,CAAC,OAAO,CAAC,KACnC,UAAU,IAFT,MAAM,CAAC,CAAC,CAAC,CAGd,CACH,CAAC,CACH,GACG,CACP,CAAC,CAAC,CAAC,IAAI,EACR,KAAC,iBAAiB,IAAC,OAAO,EAAE,OAAO,KAAM,IAAI,GAAI,IACpC,CAChB,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -6,13 +6,10 @@ import { List } from '../../ui-kit/List/List.js';
|
|
|
6
6
|
import { BaseTile } from '../BaseTile/BaseTile.js';
|
|
7
7
|
import { Headline } from '../Headline/Headline.js';
|
|
8
8
|
import { renderBenefit } from './renderBenefit.js';
|
|
9
|
-
export const ProductBlockInner = JSX(({ className = '',
|
|
9
|
+
export const ProductBlockInner = JSX(({ className = '', title, headlineVersion = 'L', description, benefits, benefitsVersion, buttons, image, items, version = 'primary', isDotted = true, textBlockClassName = '', ...rest }) => {
|
|
10
10
|
const benefitsCount = benefits?.filter((_) => _.label)?.length;
|
|
11
11
|
const benefitsContainerStyles = getBenefitsContainerStyles(benefitsCount);
|
|
12
|
-
return (_jsxs("div", { className: `flex grow justify-between items-stretch h-full ${className}`, children: [_jsxs("div", { className: `flex flex-col ${textBlockClassName}`, children: [_jsx(Headline, {
|
|
12
|
+
return (_jsxs("div", { className: `flex grow justify-between items-stretch h-full ${className}`, children: [_jsxs("div", { className: `flex flex-col ${textBlockClassName}`, children: [_jsx(Headline, { title: title, description: description, className: `!p-0 max-w-[600px]`, bgColorHeadline: version, headlineVersion: headlineVersion, align: "left", ...rest }), _jsxs(BaseTile, { buttons: buttons?.length ? (_jsx(ButtonSection, { buttons: buttons, className: "flex gap-4", ...rest })) : null, children: [benefitsCount ? (_jsx("div", { className: benefitsContainerStyles, children: benefits.map(renderBenefit(version, benefitsVersion)) })) : null, items?.length ? (_jsx(List, { className: "mt-5 text-h6", items: items, itemClassName: "mb-[7px]", version: version, isDotted: isDotted })) : null] })] }), image?.src && _jsx(Img, { className: "mt-[-50px]", image: image })] }));
|
|
13
13
|
});
|
|
14
|
-
const getButtons = (context, buttons) => {
|
|
15
|
-
return buttons?.length ? (_jsx(ButtonSection, { context: context, buttons: buttons, className: "flex gap-4" })) : null;
|
|
16
|
-
};
|
|
17
14
|
const getBenefitsContainerStyles = (benefitsCount = 0) => `gap-6 mt-6 ${benefitsCount > 3 ? 'inline-grid grid-cols-[auto_auto]' : 'flex'}`;
|
|
18
15
|
//# sourceMappingURL=ProductBlockInner.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProductBlockInner.js","sourceRoot":"","sources":["../../../src/components/ProductBlock/ProductBlockInner.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"ProductBlockInner.js","sourceRoot":"","sources":["../../../src/components/ProductBlock/ProductBlockInner.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAClE,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO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Aa,CAAC,OAAO,EAAE,eAAe,CAAC,CAAC,GAClD,CACP,CAAC,CAAC,CAAC,IAAI,EACP,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CACf,KAAC,IAAI,IACH,SAAS,EAAC,cAAc,EACxB,KAAK,EAAE,KAAK,EACZ,aAAa,EAAC,UAAU,EACxB,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,QAAQ,GAClB,CACH,CAAC,CAAC,CAAC,IAAI,IACC,IACP,EACL,KAAK,EAAE,GAAG,IAAI,KAAC,GAAG,IAAC,SAAS,EAAC,YAAY,EAAC,KAAK,EAAE,KAAK,GAAI,IACvD,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,0BAA0B,GAAG,CAAC,aAAa,GAAG,CAAC,EAAE,EAAE,CACvD,cAAc,aAAa,GAAG,CAAC,CAAC,CAAC,CAAC,mCAAmC,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC"}
|
|
@@ -6,8 +6,8 @@ import { List } from '../../ui-kit/List/List.js';
|
|
|
6
6
|
import { BaseTile } from '../BaseTile/BaseTile.js';
|
|
7
7
|
import { Headline } from '../Headline/Headline.js';
|
|
8
8
|
import { renderBenefit } from './renderBenefit.js';
|
|
9
|
-
export const ProductBlockInner = JSX(({ className = '',
|
|
10
|
-
return (_jsxs("div", { className: `w-full ${className}`, children: [_jsxs("div", { children: [label ? renderLabel(label, version) : null, _jsx(Headline, {
|
|
9
|
+
export const ProductBlockInner = JSX(({ className = '', headlineVersion = 'L', benefits, benefitsVersion = 'normal', buttons, image, items, version = 'primary', isDotted = true, label, ...rest }) => {
|
|
10
|
+
return (_jsxs("div", { className: `w-full ${className}`, children: [_jsxs("div", { children: [label ? renderLabel(label, version) : null, _jsx(Headline, { className: "!p-0 max-w-[600px]", bgColorHeadline: version, headlineVersion: headlineVersion, ...rest }), _jsxs(BaseTile, { buttons: buttons?.length ? (_jsx(ButtonSection, { buttons: buttons, className: "flex flex-col mt-5 gap-2.5" })) : null, children: [benefits?.filter((_) => _.label)?.length ? (_jsx("div", { className: "mt-3", children: benefits.map(renderBenefit(version, benefitsVersion)) })) : null, items?.length ? (_jsx(List, { className: "mt-3 text-m", items: items, version: version, isDotted: isDotted })) : null] })] }), renderImage(image)] }));
|
|
11
11
|
});
|
|
12
12
|
function renderImage(image) {
|
|
13
13
|
return image?.src ? (_jsx(Img, { imageClassName: "mt-5 mx-auto block", image: { className: 'block', ...image } })) : null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProductBlockInner.mobile.js","sourceRoot":"","sources":["../../../src/components/ProductBlock/ProductBlockInner.mobile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAIxC,OAAO,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAClE,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAIhD,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,CAClC,CAAC,EACC,SAAS,GAAG,EAAE,EACd,
|
|
1
|
+
{"version":3,"file":"ProductBlockInner.mobile.js","sourceRoot":"","sources":["../../../src/components/ProductBlock/ProductBlockInner.mobile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAIxC,OAAO,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAClE,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,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,CAAC,CAAC,IAAI,IACC,IACP,EACL,WAAW,CAAC,KAAK,CAAC,IACf,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,SAAS,WAAW,CAAC,KAAe;IAClC,OAAO,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,CAClB,KAAC,GAAG,IAAC,cAAc,EAAC,oBAAoB,EAAC,KAAK,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,GAAG,KAAK,EAAE,GAAI,CACrF,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC;AAED,MAAM,aAAa,GAAiC;IAClD,OAAO,EAAE,0CAA0C;IACnD,SAAS,EAAE,eAAe;CAC3B,CAAC;AAEF,MAAM,WAAW,GAAG,CAAC,KAAa,EAAE,OAAqB,EAAE,EAAE,CAAC,CAC5D,cACE,SAAS,EAAE,6DAA6D,aAAa,CAAC,OAAO,CAAC,EAAE,YAE/F,KAAK,GACF,CACP,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import type { BackwardButtonProps } from '../../ui-kit/Button/ButtonProps';
|
|
3
2
|
import type { ButtonVersion } from '../../model/ButtonVersion';
|
|
3
|
+
import type { BackwardButtonProps } from '../../ui-kit/Button/ButtonProps';
|
|
4
4
|
export declare function renderBackwardButton(button: BackwardButtonProps, version: ButtonVersion, className: string): JSX.Element;
|
|
@@ -5,6 +5,7 @@ export function renderBackwardButton(button, version, className) {
|
|
|
5
5
|
const { text, href, target, onClick } = button;
|
|
6
6
|
const iconVersion = version === 'primary' ? 'white' : 'black';
|
|
7
7
|
const backwardIcon = button?.icon || { icon: 'ArrowLeftIcon' };
|
|
8
|
+
// TODO Move click handler to Button
|
|
8
9
|
return (_jsxs("div", { className: `flex items-center cursor-pointer ${className}`, onClick: onClick, children: [_jsx(Button, { version: version, rounded: true, className: "w-12 h-12 min-h-12 min-w-12 flex items-center justify-center mr-3", ariaLabel: text, href: href, target: target, children: _jsx(Img, { className: "w-4 h-4", image: { ...backwardIcon, iconVersion: backwardIcon.iconVersion || iconVersion }, asSVG: true }) }), text ? _jsx("span", { className: "text-m", children: text }) : null] }));
|
|
9
10
|
}
|
|
10
11
|
//# sourceMappingURL=renderBackwardButton.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderBackwardButton.js","sourceRoot":"","sources":["../../../src/components/ProductBlock/renderBackwardButton.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"renderBackwardButton.js","sourceRoot":"","sources":["../../../src/components/ProductBlock/renderBackwardButton.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAEpD,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAE3C,MAAM,UAAU,oBAAoB,CAClC,MAA2B,EAC3B,OAAsB,EACtB,SAAiB;IAEjB,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,MAAM,CAAC;IAC/C,MAAM,WAAW,GAAG,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC;IAC9D,MAAM,YAAY,GAAG,MAAM,EAAE,IAAI,IAAI,EAAE,IAAI,EAAE,eAAe,EAAE,CAAC;IAE/D,oCAAoC;IACpC,OAAO,CACL,eAAK,SAAS,EAAE,oCAAoC,SAAS,EAAE,EAAE,OAAO,EAAE,OAAO,aAC/E,KAAC,MAAM,IACL,OAAO,EAAE,OAAO,EAChB,OAAO,QACP,SAAS,EAAC,mEAAmE,EAC7E,SAAS,EAAE,IAAI,EACf,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,MAAM,YAEd,KAAC,GAAG,IACF,SAAS,EAAC,SAAS,EACnB,KAAK,EAAE,EAAE,GAAG,YAAY,EAAE,WAAW,EAAE,YAAY,CAAC,WAAW,IAAI,WAAW,EAAE,EAChF,KAAK,SACL,GACK,EACR,IAAI,CAAC,CAAC,CAAC,eAAM,SAAS,EAAC,QAAQ,YAAE,IAAI,GAAQ,CAAC,CAAC,CAAC,IAAI,IACjD,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -9,12 +9,12 @@ const productBlockStyleMap = {
|
|
|
9
9
|
primary: { title: 'text-secondary-text', text: 'text-secondary-text' },
|
|
10
10
|
secondary: { title: 'text-white', text: 'text-white/80' },
|
|
11
11
|
};
|
|
12
|
-
export const ProductGallery = JSX(({ className = '',
|
|
12
|
+
export const ProductGallery = JSX(({ className = '', slides = [], version = 'primary', ...rest }) => {
|
|
13
13
|
const galleryNav = slides.map((s) => s.nav);
|
|
14
14
|
const galleryBlocks = slides.map((s) => s.productBlock);
|
|
15
15
|
const [activeSlideIndex, setActiveSlideIndex] = useState(0);
|
|
16
|
-
return (_jsxs(BlockWrapper, {
|
|
17
|
-
${VersionStyleMap[version]}`, ...rest, children: [_jsx("div", { className: "flex duration-1000 pb-14", style: { transform: `translateX(-${activeSlideIndex}00%)` }, role: "list", children: galleryBlocks.map((_, i) => renderProductBlock({ ..._, version }, i
|
|
16
|
+
return (_jsxs(BlockWrapper, { className: `box-border pt-[50px] overflow-hidden relative font-sans w-100 mb-6 ${className}
|
|
17
|
+
${VersionStyleMap[version]}`, ...rest, children: [_jsx("div", { className: "flex duration-1000 pb-14", style: { transform: `translateX(-${activeSlideIndex}00%)` }, role: "list", children: galleryBlocks.map((_, i) => renderProductBlock({ ..._, ...rest, version }, i)) }), _jsx("div", { className: "flex items-center absolute bottom-6 left-0 right-0 px-[26px] box-border h-28", children: galleryNav.map((slide, i) => renderNavButton({
|
|
18
18
|
slide,
|
|
19
19
|
i,
|
|
20
20
|
activeSlideIndex,
|
|
@@ -22,10 +22,10 @@ export const ProductGallery = JSX(({ className = '', context, slides = [], versi
|
|
|
22
22
|
version,
|
|
23
23
|
})) })] }));
|
|
24
24
|
});
|
|
25
|
-
function renderProductBlock(block, i
|
|
25
|
+
function renderProductBlock(block, i) {
|
|
26
26
|
const { version } = block;
|
|
27
27
|
const additionalClass = version ? productBlockStyleMap[version].title : '';
|
|
28
|
-
return (_jsx("section", { className: "box-border relative flex grow-0 shrink-0 basis-full", role: "listitem", children: _jsx("div", { className: "flex grow", children: _jsx(ProductBlockInner, { className: `pl-[50px] z-10 ${additionalClass}`,
|
|
28
|
+
return (_jsx("section", { className: "box-border relative flex grow-0 shrink-0 basis-full", role: "listitem", children: _jsx("div", { className: "flex grow", children: _jsx(ProductBlockInner, { className: `pl-[50px] z-10 ${additionalClass}`, textBlockClassName: "mb-[154px]", headlineVersion: "XXL", ...block }) }) }, String(i)));
|
|
29
29
|
}
|
|
30
30
|
function renderNavButton({ slide, i, activeSlideIndex, onClick, version }) {
|
|
31
31
|
const isActiveBtn = i === activeSlideIndex;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProductGallery.js","sourceRoot":"","sources":["../../../src/components/ProductGallery/ProductGallery.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAEvD,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAC3D,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAElE,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"ProductGallery.js","sourceRoot":"","sources":["../../../src/components/ProductGallery/ProductGallery.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAEvD,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAC3D,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAElE,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAEzD,OAAO,EAAE,iBAAiB,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AEb,OAAO,EAAE,OAAO,gBACJ,KAAK,EAAE,KAAK,EACxB,SAAS,EAAE;UACP,YAAY,IAAI,qBAAqB,CAAC,OAAO,CAAC;OACjD,YAED,eAAK,SAAS,EAAC,eAAe,aAC5B,cAAK,SAAS,EAAE,aAAa,iBAAiB,EAAE,YAAG,KAAK,EAAE,KAAK,GAAO,EACtE,cAAK,SAAS,EAAE,wBAAwB,gBAAgB,EAAE,YAAG,KAAK,EAAE,WAAW,GAAO,IAClF,IAVD,MAAM,CAAC,CAAC,CAAC,CAWP,CACV,CAAC;AACJ,CAAC"}
|
|
@@ -6,12 +6,10 @@ import { ButtonSection } from '../../ui-kit/Button/ButtonSection.js';
|
|
|
6
6
|
import { Img } from '../../ui-kit/Img/Img.js';
|
|
7
7
|
import { getTileRightPadding } from '../BaseTile/getTileRightPadding.js';
|
|
8
8
|
import { Headline } from '../Headline/Headline.js';
|
|
9
|
-
export const ProductTile = JSX(({
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
: null, buttons?.length ? (_jsx(ButtonSection, { context: context, buttons: buttons, className: "flex self-end mt-5 gap-4 z-10 text-l" })) : null, image?.src ? _jsx(Img, { className: "absolute right-0 bottom-0", image: image }) : null] }));
|
|
14
|
-
});
|
|
9
|
+
export const ProductTile = JSX(({ className = '', title, headlineVersion = 'S', description, additionalDescription, benefits = [], buttons, image, version = 'primary', ...rest }) => (_jsxs(BlockWrapper, { className: `overflow-hidden font-sans p-9 box-border relative justify-between grid min-h-[364px]
|
|
10
|
+
${className} ${VersionStyleMap[version]} ${getTileRightPadding(className)}`, ...rest, children: [_jsx(Headline, { className: `!p-0 !bg-transparent z-10 ${title || description ? 'mb-3.5' : ''}`, as: "h2", title: title, description: description, headlineVersion: headlineVersion, bgColorHeadline: version, align: "left", ...rest }), renderBenefits(benefits, version, image), additionalDescription
|
|
11
|
+
? renderAdditionalDescription(additionalDescription, image, version)
|
|
12
|
+
: null, buttons?.length ? (_jsx(ButtonSection, { buttons: buttons, className: "flex self-end mt-5 gap-4 z-10 text-l" })) : null, image?.src ? _jsx(Img, { className: "absolute right-0 bottom-0", image: image }) : null] })));
|
|
15
13
|
function renderBenefits(benefits, version, image) {
|
|
16
14
|
// picture width = 242px. Text can overlay picture 20px deep. Outer paddings_x = 36px. 242-36-20 = 186px
|
|
17
15
|
const BENEFITS_WIDTH = image?.src ? 'max-w-[calc(100%-186px)]' : '100%';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProductTile.js","sourceRoot":"","sources":["../../../src/components/ProductTile/ProductTile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAG3D,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAClE,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAKhD,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAC5B,CAAC,EACC,
|
|
1
|
+
{"version":3,"file":"ProductTile.js","sourceRoot":"","sources":["../../../src/components/ProductTile/ProductTile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAG3D,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAClE,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,QAAQ,EAAE,MA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adingType.js';
|
|
|
8
8
|
import { getTileMinHeight } from '../BaseTile/getTileMinHeight.js';
|
|
9
9
|
import { getTileRightPadding } from '../BaseTile/getTileRightPadding.js';
|
|
10
10
|
import { Headline } from '../Headline/Headline.js';
|
|
11
|
-
export const PromoTile = JSX(({ className = '',
|
|
12
|
-
return (_jsx(BlockWrapper, { context: context, className: `bg-white text-primary-text font-sans p-9 box-border ${className} ${VersionStyleMap[version]} ${getTileRightPadding(className)} ${getTileMinHeight(className)} `, ...rest, children: _jsx(BaseTile, { context: context, title: title ? (_jsx(Headline, { context: context, title: title, className: `!p-0 max-w-[600px]`, headlineVersion: getTileHeadingType(className), bgColorHeadline: version, align: "left", as: "h2" })) : null, buttons: buttons?.length ? (_jsx(ButtonSection, { context: context, buttons: buttons, className: "flex gap-3" })) : null, children: _jsxs("div", { className: "mt-1.5", children: [date ? _jsx("div", { className: "text-s mb-2", children: formatDate(date) }) : null, _jsx("div", { className: "text-l", children: description })] }) }) }));
|
|
13
|
-
});
|
|
11
|
+
export const PromoTile = JSX(({ className = '', title = 'Акции и спецпредложения', date, description, buttons = [], version = 'primary', ...rest }) => (_jsx(BlockWrapper, { className: `bg-white text-primary-text font-sans p-9 box-border ${className} ${VersionStyleMap[version]} ${getTileRightPadding(className)} ${getTileMinHeight(className)} `, ...rest, children: _jsx(BaseTile, { title: title ? (_jsx(Headline, { title: title, className: `!p-0 max-w-[600px]`, headlineVersion: getTileHeadingType(className), bgColorHeadline: version, align: "left", as: "h2", ...rest })) : null, buttons: buttons?.length ? _jsx(ButtonSection, { buttons: buttons, className: "flex gap-3" }) : null, children: _jsxs("div", { className: "mt-1.5", children: [date ? _jsx("div", { className: "text-s mb-2", children: formatDate(date) }) : null, _jsx("div", { className: "text-l", children: description })] }) }) })));
|
|
14
12
|
function formatDate(date) {
|
|
15
13
|
const dateObj = new Date(date);
|
|
16
14
|
const dateFormat = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PromoTile.js","sourceRoot":"","sources":["../../../src/components/PromoTile/PromoTile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAE3D,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAClE,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAKhD,MAAM,CAAC,MAAM,SAAS,GAAG,GAAG,CAC1B,CAAC,EACC,SAAS,GAAG,EAAE,EACd,
|
|
1
|
+
{"version":3,"file":"PromoTile.js","sourceRoot":"","sources":["../../../src/components/PromoTile/PromoTile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAE3D,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAClE,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAKhD,MAAM,CAAC,MAAM,SAAS,GAAG,GAAG,CAC1B,CAAC,EACC,SAAS,GAAG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C,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;AACvE,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
3
|
import { useState } from '@redneckz/uni-jsx/lib/hooks';
|
|
4
|
-
import { BorderVersionStyleMap } from '../../model/BorderVersion.js';
|
|
5
4
|
import { VersionStyleMap } from '../../model/BlockVersion.js';
|
|
5
|
+
import { BorderVersionStyleMap } from '../../model/BorderVersion.js';
|
|
6
6
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
|
|
7
7
|
import { renderArrows } from '../../ui-kit/Button/renderArrows.js';
|
|
8
8
|
import { Heading } from '../../ui-kit/Heading/Heading.js';
|
|
@@ -10,21 +10,16 @@ import { RecommendationCard } from './RecommendationCard.js';
|
|
|
10
10
|
const BLUR_BLOCK_CLASSES = 'absolute top-0 bottom-0 w-[84px]';
|
|
11
11
|
const CARD_FULL_VIEW_COUNT = 2;
|
|
12
12
|
const CARD_SHIFT = 525;
|
|
13
|
-
export const Recommendation = JSX(({
|
|
13
|
+
export const Recommendation = JSX(({ recommendations = [], className = '', title, version = 'primary', ...rest }) => {
|
|
14
14
|
const [activeCardIndex, setActiveCardIndex] = useState(0);
|
|
15
|
-
return (_jsxs(BlockWrapper, {
|
|
16
|
-
|
|
17
|
-
${className}`, ...rest, children: [title ? _jsx(Heading, { headingType: "h3", className: "mb-6", title: title }) : null, _jsxs("div", { children: [_jsx("div", { className: "flex duration-1000 gap-3.5", style: { transform: `translateX(-${activeCardIndex * CARD_SHIFT}px)` }, role: "list", children: recommendations?.length
|
|
18
|
-
? recommendations.map(renderRecommendationCard(context, BorderVersionStyleMap[version], version))
|
|
15
|
+
return (_jsxs(BlockWrapper, { className: `relative font-sans p-9 overflow-hidden text-center ${VersionStyleMap[version]} ${className}`, ...rest, children: [title ? _jsx(Heading, { headingType: "h3", className: "mb-6", title: title }) : null, _jsxs("div", { children: [_jsx("div", { className: "flex duration-1000 gap-3.5", style: { transform: `translateX(-${activeCardIndex * CARD_SHIFT}px)` }, role: "list", children: recommendations?.length
|
|
16
|
+
? recommendations.map((card, i) => (_jsx(RecommendationCard, { version: version, className: BorderVersionStyleMap[version], ...card }, String(i))))
|
|
19
17
|
: null }), renderNavButtons({
|
|
20
18
|
cardsCount: recommendations.length,
|
|
21
19
|
activeCardIndex,
|
|
22
20
|
setActiveCardIndex,
|
|
23
21
|
})] }), _jsx("div", { className: `${BLUR_BLOCK_CLASSES} left-0 ${version === 'secondary' ? 'bg-opacity-from-main' : 'bg-opacity-from-white'}` }), _jsx("div", { className: `${BLUR_BLOCK_CLASSES} right-0 ${version === 'secondary' ? 'bg-opacity-to-main' : 'bg-opacity-to-white'}` })] }));
|
|
24
22
|
});
|
|
25
|
-
const renderRecommendationCard = (context, className, version) => (card, i) => {
|
|
26
|
-
return (_jsx(RecommendationCard, { context: context, ...card, version: version, className: className }, String(i)));
|
|
27
|
-
};
|
|
28
23
|
const renderNavButtons = ({ cardsCount, activeCardIndex, setActiveCardIndex, }) => {
|
|
29
24
|
const handleNextClick = () => setActiveCardIndex(activeCardIndex + 1);
|
|
30
25
|
const handlePrevClick = () => setActiveCardIndex(activeCardIndex - 1);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Recommendation.js","sourceRoot":"","sources":["../../../src/components/Recommendation/Recommendation.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"Recommendation.js","sourceRoot":"","sources":["../../../src/components/Recommendation/Recommendation.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAA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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { BlockVersion } from '../../model/BlockVersion';
|
|
2
|
-
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
3
2
|
import type { RecommendationCardTypes } from './RecommendationContent';
|
|
4
|
-
export interface RecommendationCardProps extends RecommendationCardTypes
|
|
3
|
+
export interface RecommendationCardProps extends RecommendationCardTypes {
|
|
4
|
+
className?: string;
|
|
5
5
|
version?: BlockVersion;
|
|
6
6
|
}
|
|
7
7
|
export declare const RecommendationCard: import("@redneckz/uni-jsx").UNIComponent<RecommendationCardProps, any, any>;
|