@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,8 +1,6 @@
|
|
|
1
1
|
import type { BgColorVersion } from '../../model/BgColorVersion';
|
|
2
2
|
import type { LinkProps } from '../../model/LinkProps';
|
|
3
|
-
import type { ContentPageContext } from '../ContentPage/ContentPageContext';
|
|
4
3
|
export interface HeaderSubMenuItemProps extends LinkProps {
|
|
5
|
-
context: ContentPageContext;
|
|
6
4
|
className?: string;
|
|
7
5
|
active?: boolean;
|
|
8
6
|
bgColor?: BgColorVersion;
|
|
@@ -2,11 +2,8 @@ import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
3
|
import { useCallback } from '@redneckz/uni-jsx/lib/hooks';
|
|
4
4
|
import { useIntersectionObserver } from '../../hooks/useIntersectionObserver.js';
|
|
5
|
-
import { useLink } from '../../hooks/useLink.js';
|
|
6
5
|
import { HeaderItem } from '../../ui-kit/HeaderItem/HeaderItem.js';
|
|
7
|
-
export const HeaderSubMenuItem = JSX(({
|
|
8
|
-
const { handlerDecorator } = context;
|
|
9
|
-
const router = context.useRouter();
|
|
6
|
+
export const HeaderSubMenuItem = JSX(({ className, active, bgColor, observerOptions, onVisibilityChange, children, ...linkProps }) => {
|
|
10
7
|
const observerCallback = useCallback((entries) => {
|
|
11
8
|
if (!entries.length || !onVisibilityChange) {
|
|
12
9
|
return;
|
|
@@ -16,6 +13,6 @@ export const HeaderSubMenuItem = JSX(({ context, className, active, bgColor, obs
|
|
|
16
13
|
onVisibilityChange(entry.isIntersecting);
|
|
17
14
|
}, [onVisibilityChange]);
|
|
18
15
|
const ref = useIntersectionObserver(observerCallback, observerOptions);
|
|
19
|
-
return (_jsx("span", { ref: ref, children: _jsx(HeaderItem, { className: className, active: active, bgColor: bgColor, ...
|
|
16
|
+
return (_jsx("span", { ref: ref, children: _jsx(HeaderItem, { className: className, active: active, bgColor: bgColor, ...linkProps, children: children }) }));
|
|
20
17
|
});
|
|
21
18
|
//# sourceMappingURL=HeaderSubMenuItem.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HeaderSubMenuItem.js","sourceRoot":"","sources":["../../../src/components/Header/HeaderSubMenuItem.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;
|
|
1
|
+
{"version":3,"file":"HeaderSubMenuItem.js","sourceRoot":"","sources":["../../../src/components/Header/HeaderSubMenuItem.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAG9E,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAUhE,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,CAClC,CAAC,EAAE,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,eAAe,EAAE,kBAAkB,EAAE,QAAQ,EAAE,GAAG,SAAS,EAAE,EAAE,EAAE;IAC9F,MAAM,gBAAgB,GAAG,WAAW,CAClC,CAAC,OAAoC,EAAE,EAAE;QACvC,IAAI,CAAC,OAAO,CAAC,MAAM,IAAI,CAAC,kBAAkB,EAAE;YAC1C,OAAO;SACR;QAED,2CAA2C;QAC3C,MAAM,KAAK,GAAG,OAAO,CAAC,OAAO,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;QAE1C,kBAAkB,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC;IAC3C,CAAC,EACD,CAAC,kBAAkB,CAAC,CACrB,CAAC;IACF,MAAM,GAAG,GAAG,uBAAuB,CAAkB,gBAAgB,EAAE,eAAe,CAAC,CAAC;IAExF,OAAO,CACL,eAAM,GAAG,EAAE,GAAG,YACZ,KAAC,UAAU,IAAC,SAAS,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,KAAM,SAAS,YAC9E,QAAQ,GACE,GACR,CACR,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -5,7 +5,7 @@ import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
|
|
|
5
5
|
import { Description } from '../../ui-kit/Description/Description.js';
|
|
6
6
|
import { Heading } from '../../ui-kit/Heading/Heading.js';
|
|
7
7
|
import { HEADLINE_BLOCK_STYLE_MAPS, HEADLINE_VERSION } from './constants.js';
|
|
8
|
-
export const Headline = JSX(({
|
|
8
|
+
export const Headline = JSX(({ className = '', bgColorHeadline = 'transparent', align = 'center', title, description, headlineVersion = 'XL', as, ...rest }) => {
|
|
9
9
|
const STYLE_MAPS = HEADLINE_BLOCK_STYLE_MAPS[bgColorHeadline];
|
|
10
10
|
const SIZE_MAPS = HEADLINE_VERSION[headlineVersion];
|
|
11
11
|
return (_jsxs(BlockWrapper, { className: `font-sans flex flex-col p-[50px] ${SIZE_MAPS.gap} ${STYLE_MAPS.background} ${className}`, ...rest, children: [title ? (_jsx(Heading, { headingType: SIZE_MAPS?.headingType, as: as || SIZE_MAPS?.as, className: `whitespace-pre-wrap ${STYLE_MAPS.text} ${AlignText[align]}`, title: title })) : null, description ? (_jsx(Description, { className: `${SIZE_MAPS.descriptionFont} ${STYLE_MAPS.text} ${AlignText[align]}`, description: description })) : null] }));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Headline.js","sourceRoot":"","sources":["../../../src/components/Headline/Headline.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"Headline.js","sourceRoot":"","sources":["../../../src/components/Headline/Headline.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAElD,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AACnE,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,yBAAyB,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAK1E,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAG,CACzB,CAAC,EACC,SAAS,GAAG,EAAE,EACd,eAAe,GAAG,aAAa,EAC/B,KAAK,GAAG,QAAQ,EAChB,KAAK,EACL,WAAW,EACX,eAAe,GAAG,IAAI,EACtB,EAAE,EACF,GAAG,IAAI,EACR,EAAE,EAAE;IACH,MAAM,UAAU,GAAG,yBAAyB,CAAC,eAAe,CAAC,CAAC;IAC9D,MAAM,SAAS,GAAG,gBAAgB,CAAC,eAAe,CAAC,CAAC;IAEpD,OAAO,CACL,MAAC,YAAY,IACX,SAAS,EAAE,oCAAoC,SAAS,CAAC,GAAG,IAAI,UAAU,CAAC,UAAU,IAAI,SAAS,EAAE,KAChG,IAAI,aAEP,KAAK,CAAC,CAAC,CAAC,CACP,KAAC,OAAO,IACN,WAAW,EAAE,SAAS,EAAE,WAAW,EACnC,EAAE,EAAE,EAAE,IAAI,SAAS,EAAE,EAAE,EACvB,SAAS,EAAE,uBAAuB,UAAU,CAAC,IAAI,IAAI,SAAS,CAAC,KAAK,CAAC,EAAE,EACvE,KAAK,EAAE,KAAK,GACZ,CACH,CAAC,CAAC,CAAC,IAAI,EACP,WAAW,CAAC,CAAC,CAAC,CACb,KAAC,WAAW,IACV,SAAS,EAAE,GAAG,SAAS,CAAC,eAAe,IAAI,UAAU,CAAC,IAAI,IAAI,SAAS,CAAC,KAAK,CAAC,EAAE,EAChF,WAAW,EAAE,WAAW,GACxB,CACH,CAAC,CAAC,CAAC,IAAI,IACK,CAChB,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -4,24 +4,22 @@ import { useState } from '@redneckz/uni-jsx/lib/hooks';
|
|
|
4
4
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
|
|
5
5
|
import { Heading } from '../../ui-kit/Heading/Heading.js';
|
|
6
6
|
import { InsuranceAmountBlockInner } from './InsuranceAmountBlockInner.js';
|
|
7
|
-
export const InsuranceAmountBlock = JSX(({ className = '',
|
|
7
|
+
export const InsuranceAmountBlock = JSX(({ className = '', title, insuranceTabs = [], button, ...rest }) => {
|
|
8
8
|
const [activeSlideIndex, setActiveSlideIndex] = useState(0);
|
|
9
|
-
return (_jsxs(BlockWrapper, {
|
|
9
|
+
return (_jsxs(BlockWrapper, { className: `box-border py-[50px] overflow-hidden relative font-sans w-100 bg-white ${className}`, ...rest, children: [title ? _jsx(Heading, { className: "text-center mb-8", title: title, headingType: "h3" }) : null, insuranceTabs?.length > 1 ? (_jsx("div", { className: "p-1.5 bg-secondary-light w-fit mx-auto mb-7 rounded-md", children: insuranceTabs.map((item, i) => renderNavButton({
|
|
10
10
|
title: item?.title,
|
|
11
11
|
i,
|
|
12
12
|
activeSlideIndex,
|
|
13
13
|
onClick: () => setActiveSlideIndex(i),
|
|
14
14
|
})) })) : null, _jsx("div", { className: "flex", style: { transform: `translateX(-${activeSlideIndex}00%)` }, role: "list", children: renderInsuranceGalleries({
|
|
15
|
-
context,
|
|
16
|
-
className,
|
|
17
15
|
insuranceTabs,
|
|
18
16
|
button,
|
|
19
17
|
}) })] }));
|
|
20
18
|
});
|
|
21
|
-
const renderInsuranceGalleries = ({ insuranceTabs, button
|
|
19
|
+
const renderInsuranceGalleries = ({ insuranceTabs, button }) => {
|
|
22
20
|
const insuranceGalleries = insuranceTabs?.map((_) => _.cards);
|
|
23
21
|
return insuranceGalleries?.length
|
|
24
|
-
? insuranceGalleries.map((cards, i) => (_jsx(InsuranceAmountBlockInner, {
|
|
22
|
+
? insuranceGalleries.map((cards, i) => (_jsx(InsuranceAmountBlockInner, { button: button, cards: cards }, String(i))))
|
|
25
23
|
: null;
|
|
26
24
|
};
|
|
27
25
|
function renderNavButton({ title, i, activeSlideIndex, onClick }) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InsuranceAmountBlock.js","sourceRoot":"","sources":["../../../src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAEvD,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AAEvD,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAWxE,MAAM,CAAC,MAAM,oBAAoB,GAAG,GAAG,CACrC,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,
|
|
1
|
+
{"version":3,"file":"InsuranceAmountBlock.js","sourceRoot":"","sources":["../../../src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MA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E,IACO,CAChB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,wBAAwB,GAAG,CAAC,EAAE,aAAa,EAAE,MAAM,EAA+B,EAAE,EAAE;IAC1F,MAAM,kBAAkB,GAAG,aAAa,EAAE,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;IAE9D,OAAO,kBAAkB,EAAE,MAAM;QAC/B,CAAC,CAAC,kBAAkB,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,CAAC,EAAE,EAAE,CAAC,CACnC,KAAC,yBAAyB,IAAiB,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,IAAvC,MAAM,CAAC,CAAC,CAAC,CAAkC,CAC5E,CAAC;QACJ,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CAAC;AAEF,SAAS,eAAe,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,gBAAgB,EAAE,OAAO,EAAwB;IACpF,MAAM,WAAW,GAAG,CAAC,KAAK,gBAAgB,CAAC;IAE3C,MAAM,YAAY,GAAG,WAAW;QAC9B,CAAC,CAAC,uCAAuC;QACzC,CAAC,CAAC,qBAAqB,CAAC;IAE1B,OAAO,CACL,iBACE,IAAI,EAAC,QAAQ,EAEb,OAAO,EAAE,OAAO,gBACJ,KAAK,EACjB,SAAS,EAAE,qCAAqC,YAAY,EAAE,YAE7D,KAAK,IALD,MAAM,CAAC,CAAC,CAAC,CAMP,CACV,CAAC;AACJ,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
2
1
|
import type { ButtonProps } from '../../ui-kit/Button/ButtonProps';
|
|
3
2
|
import type { InsuranceAmountBlockTab } from './InsuranceAmountBlockContent';
|
|
4
|
-
export interface InsuranceAmountBlockInnerProps extends InsuranceAmountBlockTab
|
|
3
|
+
export interface InsuranceAmountBlockInnerProps extends InsuranceAmountBlockTab {
|
|
4
|
+
className?: string;
|
|
5
5
|
button?: ButtonProps;
|
|
6
6
|
}
|
|
7
7
|
export declare const InsuranceAmountBlockInner: import("@redneckz/uni-jsx").UNIComponent<InsuranceAmountBlockInnerProps, any, any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InsuranceAmountBlockInner.js","sourceRoot":"","sources":["../../../src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"InsuranceAmountBlockInner.js","sourceRoot":"","sources":["../../../src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAEpD,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAChE,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAuB9E,MAAM,CAAC,MAAM,yBAAyB,GAAG,GAAG,CAC1C,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,GAAG,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE;IACzC,MAAM,CAAC,gBAAgB,EAAE,mBAAmB,CAAC,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC;IAC5D,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC;IAE9C,MAAM,eAAe,GAAG,GAAG,EAAE,CAAC,YAAY,CAAC,SAAS,GAAG,CAAC,CAAC,CAAC;IAC1D,MAAM,eAAe,GAAG,GAAG,EAAE,CAAC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AAC,CAAC,IAAI,EAER,eAAK,SAAS,EAAC,cAAc,aAC1B,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,gBAAgB,CAAC,iBAAiB,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,EAClE,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,gBAAgB,CAAC,iBAAiB,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,IAC/D,EACL,cAAc,CAAC,WAAW,CAAC,KAjBvB,MAAM,CAAC,CAAC,CAAC,CAkBP,CACV,CAAC;AACJ,CAAC;AAED,SAAS,gBAAgB,CAAC,KAAa,EAAE,GAAW;IAClD,OAAO,CACL,eAAK,SAAS,EAAC,wCAAwC,aACrD,gBAAM,SAAS,EAAC,SAAS,aAAE,uBAAuB,CAAC,GAAG,CAAC,eAAU,EACjE,eAAM,SAAS,EAAC,iCAAiC,YAAE,KAAK,GAAQ,IAC5D,CACP,CAAC;AACJ,CAAC;AAED,SAAS,cAAc,CAAC,QAAiB;IACvC,OAAO,QAAQ,CAAC,CAAC,CAAC,CAChB,KAAC,GAAG,IACF,SAAS,EAAE,gDAAgD,EAC3D,KAAK,EAAC,UAAU,EAChB,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,GACX,CACH,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC"}
|
|
@@ -8,20 +8,16 @@ import { Heading } from '../../ui-kit/Heading/Heading.js';
|
|
|
8
8
|
import { InvestmentGalleryCard } from './InvestmentGalleryCard.js';
|
|
9
9
|
const BLUR_BLOCK_CLASSES = 'absolute top-0 bottom-0 w-[84px]';
|
|
10
10
|
const CARD_FULL_VIEW_COUNT = 1;
|
|
11
|
-
export const InvestmentGallery = JSX(({
|
|
11
|
+
export const InvestmentGallery = JSX(({ cards = [], className = '', title, version = 'primary', ...rest }) => {
|
|
12
12
|
const [activeCardIndex, setActiveCardIndex] = useState(0);
|
|
13
13
|
const cardWidth = 525;
|
|
14
|
-
return (_jsxs(BlockWrapper, {
|
|
15
|
-
${VersionStyleMap[version]}
|
|
16
|
-
${className}`, ...rest, children: [title ? _jsx(Heading, { headingType: "h3", className: "mb-9", title: title }) : null, _jsxs("div", { children: [_jsx("div", { className: "flex duration-1000 gap-3.5", style: { transform: `translateX(-${activeCardIndex * cardWidth}px)` }, role: "list", children: cards?.length
|
|
17
|
-
? cards.map(renderInvestmentGalleryCard(context, className, version))
|
|
18
|
-
: null }), renderNavButtons({
|
|
14
|
+
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-9", title: title }) : null, _jsxs("div", { children: [_jsx("div", { className: "flex duration-1000 gap-3.5", style: { transform: `translateX(-${activeCardIndex * cardWidth}px)` }, role: "list", children: cards?.length ? cards.map(renderInvestmentGalleryCard(className, version)) : null }), renderNavButtons({
|
|
19
15
|
cardsCount: cards.length,
|
|
20
16
|
activeCardIndex,
|
|
21
17
|
setActiveCardIndex,
|
|
22
18
|
})] }), _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'}` })] }));
|
|
23
19
|
});
|
|
24
|
-
const renderInvestmentGalleryCard = (
|
|
20
|
+
const renderInvestmentGalleryCard = (className, version) => (card, i) => _jsx(InvestmentGalleryCard, { className: className, version: version, ...card }, String(i));
|
|
25
21
|
const renderNavButtons = ({ cardsCount, activeCardIndex, setActiveCardIndex }) => {
|
|
26
22
|
const isUseSlider = cardsCount > CARD_FULL_VIEW_COUNT;
|
|
27
23
|
const showNextButton = isUseSlider && cardsCount - activeCardIndex > CARD_FULL_VIEW_COUNT;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InvestmentGallery.js","sourceRoot":"","sources":["../../../src/components/InvestmentGallery/InvestmentGallery.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"InvestmentGallery.js","sourceRoot":"","sources":["../../../src/components/InvestmentGallery/InvestmentGallery.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;AAE3D,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAChE,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAMhE,MAAM,kBAAkB,GAAG,kCAAkC,CAAC;AAC9D,MAAM,oBAAoB,GAAG,CAAC,CAAC;AAU/B,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,CAClC,CAAC,EAAE,KAAK,GAAG,EAAE,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,OAAO,GAAG,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IACtE,MAAM,CAAC,eAAe,EAAE,kBAAkB,CAAC,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC;IAC1D,MAAM,SAAS,GAAG,GAAG,CAAC;IAEtB,OAAO,CACL,MAAC,YAAY,IACX,SAAS,EAAE,sDAAsD,eAAe,CAAC,OAAO,CAAC,IAAI,SAAS,EAAE,KACpG,IAAI,aAEP,KAAK,CAAC,CAAC,CAAC,KAAC,OAAO,IAAC,WAAW,EAAC,IAAI,EAAC,SAAS,EAAC,MAAM,EAAC,KAA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,MAAM,eAAe,GAAG,GAAG,EAAE,CAAC,kBAAkB,CAAC,eAAe,GAAG,CAAC,CAAC,CAAC;IACtE,MAAM,eAAe,GAAG,GAAG,EAAE,CAAC,kBAAkB,CAAC,eAAe,GAAG,CAAC,CAAC,CAAC;IAEtE,OAAO,CACL,wBACG,YAAY,CAAC;YACZ,OAAO,EAAE,CAAC,eAAe,EAAE,eAAe,CAAC;YAC3C,OAAO,EAAE,CAAC,cAAc,EAAE,cAAc,CAAC;YACzC,QAAQ,EAAE,CAAC,QAAQ,EAAE,SAAS,CAAC;YAC/B,SAAS,EAAE,cAAc;SAC1B,CAAC,GACE,CACP,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { BlockVersion } from '../../model/BlockVersion';
|
|
2
|
-
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
3
2
|
import type { InvestmentGalleryCardTypes } from './InvestmentGalleryContent';
|
|
4
|
-
export interface RecommendationCardProps extends InvestmentGalleryCardTypes
|
|
3
|
+
export interface RecommendationCardProps extends InvestmentGalleryCardTypes {
|
|
4
|
+
className?: string;
|
|
5
5
|
version?: BlockVersion;
|
|
6
6
|
}
|
|
7
7
|
export declare const InvestmentGalleryCard: import("@redneckz/uni-jsx").UNIComponent<RecommendationCardProps, any, any>;
|
|
@@ -10,13 +10,13 @@ const cardColumnsModeStyleMap = {
|
|
|
10
10
|
double: 'flex gap-y-2 gap-x-10 flex-wrap',
|
|
11
11
|
single: 'flex gap-y-2 flex-col',
|
|
12
12
|
};
|
|
13
|
-
export const InvestmentGalleryCard = JSX(({ className = '', columnsMode = 'double',
|
|
13
|
+
export const InvestmentGalleryCard = JSX(({ className = '', columnsMode = 'double', description, additionalDescription, image, cardList, title, version = 'primary', }) => {
|
|
14
14
|
const tileTitle = title ? (_jsx(Heading, { headingType: "h4", as: "h3", className: "mb-3.5 z-10", title: title })) : null;
|
|
15
15
|
const tileImage = image?.src ? (_jsx(Img, { className: "absolute bottom-0 right-0 m-0", image: image })) : null;
|
|
16
16
|
return (_jsx("section", { className: `relative overflow-hidden text-left border border-solid box-border
|
|
17
17
|
p-9 min-w-[697px] min-h-[319px]
|
|
18
18
|
${BorderVersionStyleMap[version]}
|
|
19
|
-
${className}`, role: "listitem", children: _jsx(BaseTile, {
|
|
19
|
+
${className}`, role: "listitem", children: _jsx(BaseTile, { className: "flex justify-between", title: tileTitle, image: tileImage, children: _jsxs("div", { className: "flex flex-col justify-between", children: [_jsxs("div", { className: "flex itens-center justify-between mb-4", children: [description ? _jsx(Description, { className: "text-h6", description: description }) : null, additionalDescription ? (_jsxs("div", { className: "text-m-light text-secondary-text", children: [" ", additionalDescription, " "] })) : null] }), cardList?.length ? (_jsx("div", { className: `${cardColumnsModeStyleMap[columnsMode]}`, role: "list", children: renderCardList(cardList, columnsMode) })) : null] }) }) }));
|
|
20
20
|
});
|
|
21
21
|
const renderCardList = (cardList, columnsMode) => cardList.map((item, i) => (_jsxs("div", { className: columnsMode === 'double' ? 'basis-[calc(50%-20px)]' : '', role: "listitem", children: [item?.parameter ? (_jsx("span", { className: `pr-2.5 ${getItemListFontSize(columnsMode)}`, children: item.parameter })) : null, item?.parameterDesccription ? (_jsx("span", { className: "text-m-light text-secondary-text", children: item.parameterDesccription })) : null] }, String(i))));
|
|
22
22
|
//# sourceMappingURL=InvestmentGalleryCard.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InvestmentGalleryCard.js","sourceRoot":"","sources":["../../../src/components/InvestmentGallery/InvestmentGalleryCard.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"InvestmentGalleryCard.js","sourceRoot":"","sources":["../../../src/components/InvestmentGallery/InvestmentGalleryCard.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,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CAAC,CAAC"}
|
|
@@ -17,12 +17,12 @@ const investmentCellSizeMap = {
|
|
|
17
17
|
XL: 'h-[204px]',
|
|
18
18
|
};
|
|
19
19
|
export const InvestmentInfo = JSX((props) => {
|
|
20
|
-
const {
|
|
20
|
+
const { className = '', items, isDotted, investmentZeroColumn, investmentColumns, ...rest } = props;
|
|
21
21
|
const colums = investmentColumns ? [...investmentColumns] : [];
|
|
22
22
|
if (investmentZeroColumn) {
|
|
23
23
|
colums.unshift(investmentZeroColumn);
|
|
24
24
|
}
|
|
25
|
-
return (_jsx(BlockWrapper, { className: `font-sans bg-white px-9 py-12 ${className}`,
|
|
25
|
+
return (_jsx(BlockWrapper, { className: `font-sans bg-white px-9 py-12 ${className}`, ...rest, children: _jsxs("div", { className: "container text-m-light", children: [colums?.length ? (_jsxs("div", { children: [_jsxs("div", { className: "flex items-end relative pl-9 pr-5 text-white", children: [joinList(_jsx("div", { className: "w-px h-4 bg-main-stroke" }))(colums.map(renderInvestmentColumn)), _jsx("div", { className: "absolute right-[30px] w-px h-4 bg-main-stroke" })] }), _jsx("div", { className: "border-t border-main-stroke -mt-2 ml-9 mr-8" }), _jsx("div", { className: "flex justify-between text-primary-text mt-3 -mx-10", children: colums.map(renderInvestmentColumnTitle) })] })) : null, items?.length ? (_jsx(List, { className: "mt-9 text-l-light max-w-[657px]", items: items, itemClassName: "mb-[7px]", isDotted: isDotted })) : null] }) }));
|
|
26
26
|
});
|
|
27
27
|
const renderInvestmentColumn = (column, i, arr) => {
|
|
28
28
|
const isSecondColumn = i === 1;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InvestmentInfo.js","sourceRoot":"","sources":["../../../src/components/InvestmentInfo/InvestmentInfo.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,C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Q,CAAC,EAAE,CAMZ,CACP,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CAAC;AAEF,MAAM,2BAA2B,GAAG,CAClC,MAA+C,EAC/C,CAAS,EACT,GAA4B,EAC5B,EAAE;IACF,MAAM,aAAa,GAAG,CAAC,KAAK,CAAC,CAAC;IAC9B,MAAM,YAAY,GAAG,CAAC,KAAK,GAAG,CAAC,MAAM,GAAG,CAAC,CAAC;IAE1C,OAAO,CACL,cAEE,SAAS,EAAE,yCAAyC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,IAC7E,YAAY,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,GAC5B,EAAE,YAED,MAAM,CAAC,KAAK,IALR,SAAS,CAAC,EAAE,CAMb,CACP,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1,2 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
interface LikeControlProps {
|
|
2
|
+
className?: string;
|
|
3
|
+
}
|
|
4
|
+
export declare const LikeControl: import("@redneckz/uni-jsx").UNIComponent<LikeControlProps, any, any>;
|
|
5
|
+
export {};
|
|
@@ -1,13 +1,12 @@
|
|
|
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 { handlerDecorator } from '../../hooks/handlerDecorator.js';
|
|
3
4
|
import { useLikeService } from '../../hooks/useLikeService.js';
|
|
4
|
-
import {
|
|
5
|
-
import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
|
|
5
|
+
import { useRouter } from '../../hooks/useRouter.js';
|
|
6
6
|
import { LikeButton } from '../../ui-kit/Button/LikeButton.js';
|
|
7
|
-
export const LikeControl = JSX(({ className
|
|
8
|
-
const { useRouter, handlerDecorator = defaultHandlerDecorator } = context;
|
|
7
|
+
export const LikeControl = JSX(({ className = '' }) => {
|
|
9
8
|
const router = useRouter();
|
|
10
9
|
const likeService = useLikeService(router.pathname);
|
|
11
|
-
return (_jsxs(
|
|
10
|
+
return (_jsxs("div", { className: `border-main border-2 border-solid bg-white flex w-[125px] items-center justify-center gap-3 p-2 font-sans ${className}`, children: [_jsx(LikeButton, { onClick: handlerDecorator(likeService.like), ariaLabel: "\u041F\u043E\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u043E\u0442\u043C\u0435\u0442\u043A\u0443 \u00AB\u043B\u0430\u0439\u043A\u00BB" }), _jsx(LikeButton, { onClick: handlerDecorator(likeService.dislike), className: "rotate-180", ariaLabel: "\u041F\u043E\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u043E\u0442\u043C\u0435\u0442\u043A\u0443 \u00AB\u0434\u0438\u0437\u043B\u0430\u0439\u043A\u00BB" }), _jsx("span", { className: "select-none", children: likeService.likeCount })] }));
|
|
12
11
|
});
|
|
13
12
|
//# sourceMappingURL=LikeControl.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LikeControl.js","sourceRoot":"","sources":["../../../src/components/LikeControl/LikeControl.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"LikeControl.js","sourceRoot":"","sources":["../../../src/components/LikeControl/LikeControl.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAM5D,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAAmB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,EAAE,EAAE;IACtE,MAAM,MAAM,GAAG,SAAS,EAAE,CAAC;IAC3B,MAAM,WAAW,GAAG,cAAc,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;IAEpD,OAAO,CACL,eACE,SAAS,EAAE,6GAA6G,SAAS,EAAE,aAEnI,KAAC,UAAU,IACT,OAAO,EAAE,gBAAgB,CAAC,WAAW,CAAC,IAAI,CAAC,EAC3C,SAAS,EAAC,wIAA0B,GACpC,EACF,KAAC,UAAU,IACT,OAAO,EAAE,gBAAgB,CAAC,WAAW,CAAC,OAAO,CAAC,EAC9C,SAAS,EAAC,YAAY,EACtB,SAAS,EAAC,0JAA6B,GACvC,EACF,eAAM,SAAS,EAAC,aAAa,YAAE,WAAW,CAAC,SAAS,GAAQ,IACxD,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -7,7 +7,5 @@ const linkColumnsModeStyleMap = {
|
|
|
7
7
|
double: 'flex gap-x-5 gap-y-[26px] flex-wrap',
|
|
8
8
|
single: 'flex gap-3.5 flex-col',
|
|
9
9
|
};
|
|
10
|
-
export const LinkDocs = JSX(({
|
|
11
|
-
return (_jsxs(BlockWrapper, { className: `font-sans text-primary-text p-[50px] bg-white ${className}`, context: context, ...rest, children: [_jsx(Headline, { className: "!p-0", title: title, description: description, context: context, align: align, headlineVersion: "M", as: "h2" }), _jsx(LinkDocsList, { className: `mt-8 ${linkColumnsModeStyleMap[columnsMode]}`, columnsMode: columnsMode, documents: documents, icon: icon })] }));
|
|
12
|
-
});
|
|
10
|
+
export const LinkDocs = JSX(({ className = '', title, description, align = 'center', documents, icon = { icon: 'DocIcon' }, columnsMode = 'double', ...rest }) => (_jsxs(BlockWrapper, { className: `font-sans text-primary-text p-[50px] bg-white ${className}`, ...rest, children: [_jsx(Headline, { className: "!p-0", title: title, description: description, align: align, headlineVersion: "M", as: "h2", ...rest }), _jsx(LinkDocsList, { className: `mt-8 ${linkColumnsModeStyleMap[columnsMode]}`, columnsMode: columnsMode, documents: documents, icon: icon })] })));
|
|
13
11
|
//# sourceMappingURL=LinkDocs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LinkDocs.js","sourceRoot":"","sources":["../../../src/components/LinkDocs/LinkDocs.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,MAAM,uBAAuB,GAAoC;IAC/D,MAAM,EAAE,qCAAqC;IAC7C,MAAM,EAAE,uBAAuB;CAChC,CAAC;AAIF,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAG,CACzB,CAAC,EACC,
|
|
1
|
+
{"version":3,"file":"LinkDocs.js","sourceRoot":"","sources":["../../../src/components/LinkDocs/LinkDocs.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,MAAM,uBAAuB,GAAoC;IAC/D,MAAM,EAAE,qCAAqC;IAC7C,MAAM,EAAE,uBAAuB;CAChC,CAAC;AAIF,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAG,CACzB,CAAC,EACC,SAAS,GAAG,EAAE,EACd,KAAK,EACL,WAAW,EACX,KAAK,GAAG,QAAQ,EAChB,SAAS,EACT,IAAI,GAAG,EAAE,IAAI,EAAE,SAAS,EAAE,EAC1B,WAAW,GAAG,QAAQ,EACtB,GAAG,IAAI,EACR,EAAE,EAAE,CAAC,CACJ,MAAC,YAAY,IACX,SAAS,EAAE,iDAAiD,SAAS,EAAE,KACnE,IAAI,aAER,KAAC,QAAQ,IACP,SAAS,EAAC,MAAM,EAChB,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,KAAK,EAAE,KAAK,EACZ,eAAe,EAAC,GAAG,EACnB,EAAE,EAAC,IAAI,KACH,IAAI,GACR,EACF,KAAC,YAAY,IACX,SAAS,EAAE,QAAQ,uBAAuB,CAAC,WAAW,CAAC,EAAE,EACzD,WAAW,EAAE,WAAW,EACxB,SAAS,EAAE,SAAS,EACpB,IAAI,EAAE,IAAI,GACV,IACW,CAChB,CACF,CAAC"}
|
|
@@ -3,7 +3,5 @@ import { JSX } from '@redneckz/uni-jsx';
|
|
|
3
3
|
import { Headline } from '../Headline/Headline.js';
|
|
4
4
|
import { LinkDocsHorizontalList } from './LinkDocsHorizontalList.js';
|
|
5
5
|
import { LinkDocsVerticalList } from './LinkDocsVerticalList.js';
|
|
6
|
-
export const LinkDocs = JSX(({ className = '',
|
|
7
|
-
return (_jsxs("section", { className: `font-sans text-primary-text py-6 px-4 bg-white overflow-x-hidden ${className}`, children: [_jsx(Headline, { className: `!p-0 ${description ? 'gap-2' : 'gap-5'}`, title: title, description: description, context: context, align: "center" }), orientation === 'vertical' ? (_jsx(LinkDocsVerticalList, { hasBorder: hasBorder, documents: documents, icon: icon })) : (_jsx(LinkDocsHorizontalList, { context: context, hasBorder: hasBorder, documents: documents, icon: icon }))] }));
|
|
8
|
-
});
|
|
6
|
+
export const LinkDocs = JSX(({ className = '', title, description, icon = { icon: 'DocIconMonoColor' }, documents, orientation = 'vertical', hasBorder = true, ...rest }) => (_jsxs("section", { className: `font-sans text-primary-text py-6 px-4 bg-white overflow-x-hidden ${className}`, children: [_jsx(Headline, { className: `!p-0 ${description ? 'gap-2' : 'gap-5'}`, title: title, description: description, align: "center", ...rest }), orientation === 'vertical' ? (_jsx(LinkDocsVerticalList, { hasBorder: hasBorder, documents: documents, icon: icon })) : (_jsx(LinkDocsHorizontalList, { hasBorder: hasBorder, documents: documents, icon: icon }))] })));
|
|
9
7
|
//# sourceMappingURL=LinkDocs.mobile.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LinkDocs.mobile.js","sourceRoot":"","sources":["../../../src/components/LinkDocs/LinkDocs.mobile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhD,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAI9D,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAG,CACzB,CAAC,EACC,SAAS,GAAG,EAAE,EACd,
|
|
1
|
+
{"version":3,"file":"LinkDocs.mobile.js","sourceRoot":"","sources":["../../../src/components/LinkDocs/LinkDocs.mobile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhD,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAI9D,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAG,CACzB,CAAC,EACC,SAAS,GAAG,EAAE,EACd,KAAK,EACL,WAAW,EACX,IAAI,GAAG,EAAE,IAAI,EAAE,kBAAkB,EAAE,EACnC,SAAS,EACT,WAAW,GAAG,UAAU,EACxB,SAAS,GAAG,IAAI,EAChB,GAAG,IAAI,EACR,EAAE,EAAE,CAAC,CACJ,mBACE,SAAS,EAAE,oEAAoE,SAAS,EAAE,aAE1F,KAAC,QAAQ,IACP,SAAS,EAAE,QAAQ,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,EAAE,EACpD,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,KAAK,EAAC,QAAQ,KACV,IAAI,GACR,EACD,WAAW,KAAK,UAAU,CAAC,CAAC,CAAC,CAC5B,KAAC,oBAAoB,IAAC,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,GAAI,CACjF,CAAC,CAAC,CAAC,CACF,KAAC,sBAAsB,IAAC,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,GAAI,CACnF,IACO,CACX,CACF,CAAC"}
|
|
@@ -1,6 +1,2 @@
|
|
|
1
1
|
import type { LinkDocsVerticalListProps } from './LinkDocsVerticalList';
|
|
2
|
-
|
|
3
|
-
export interface LinkDocsHorizontalListProps extends LinkDocsVerticalListProps {
|
|
4
|
-
context: ContentPageContext;
|
|
5
|
-
}
|
|
6
|
-
export declare const LinkDocsHorizontalList: import("@redneckz/uni-jsx").UNIComponent<LinkDocsHorizontalListProps, any, any>;
|
|
2
|
+
export declare const LinkDocsHorizontalList: import("@redneckz/uni-jsx").UNIComponent<LinkDocsVerticalListProps, any, any>;
|
|
@@ -2,9 +2,7 @@ import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
3
|
import { SwipeListControl } from '../../ui-kit/SwipeListControl/SwipeListControl.js';
|
|
4
4
|
import { LinkDocsListItem } from './LinkDocsListItem.js';
|
|
5
|
-
export const LinkDocsHorizontalList = JSX(({
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
: null }));
|
|
9
|
-
});
|
|
5
|
+
export const LinkDocsHorizontalList = JSX(({ hasBorder = true, documents, icon }) => (_jsx(SwipeListControl, { className: "text-s text-primary-main mt-5", children: documents?.length
|
|
6
|
+
? documents.map((doc, i) => (_jsx(LinkDocsListItem, { className: hasBorder ? 'rounded-md border-main-stroke border border-solid p-4' : '', doc: doc, icon: icon }, String(i))))
|
|
7
|
+
: null })));
|
|
10
8
|
//# sourceMappingURL=LinkDocsHorizontalList.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LinkDocsHorizontalList.js","sourceRoot":"","sources":["../../../src/components/LinkDocs/LinkDocsHorizontalList.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC;AAClF,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"LinkDocsHorizontalList.js","sourceRoot":"","sources":["../../../src/components/LinkDocs/LinkDocsHorizontalList.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC;AAClF,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAGtD,MAAM,CAAC,MAAM,sBAAsB,GAAG,GAAG,CACvC,CAAC,EAAE,SAAS,GAAG,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CACzC,KAAC,gBAAgB,IAAC,SAAS,EAAC,+BAA+B,YACxD,SAAS,EAAE,MAAM;QAChB,CAAC,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC,CACxB,KAAC,gBAAgB,IAEf,SAAS,EAAE,SAAS,CAAC,CAAC,CAAC,uDAAuD,CAAC,CAAC,CAAC,EAAE,EACnF,GAAG,EAAE,GAAG,EACR,IAAI,EAAE,IAAI,IAHL,MAAM,CAAC,CAAC,CAAC,CAId,CACH,CAAC;QACJ,CAAC,CAAC,IAAI,GACS,CACpB,CACF,CAAC"}
|
|
@@ -1,9 +1,7 @@
|
|
|
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 LinkList = JSX(({ className = '', documents, ...rest }) => {
|
|
5
|
-
return (_jsx(BlockWrapper, { className: `font-sans bg-white mt-[10px] ${className}`, ...rest, children: _jsx("ul", { className: "flex flex-col text-s text-secondary-text p-0", children: documents?.length ? renderLinkListItem(documents) : null }) }));
|
|
6
|
-
});
|
|
4
|
+
export const LinkList = JSX(({ className = '', documents, ...rest }) => (_jsx(BlockWrapper, { className: `font-sans bg-white mt-[10px] ${className}`, ...rest, children: _jsx("ul", { className: "flex flex-col text-s text-secondary-text p-0", children: documents?.length ? renderLinkListItem(documents) : null }) })));
|
|
7
5
|
const renderLinkListItem = (documents) => {
|
|
8
6
|
return documents.map((doc, i) => {
|
|
9
7
|
const { text, ...linkProps } = doc;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LinkList.js","sourceRoot":"","sources":["../../../src/components/LinkList/LinkList.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAKzD,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAG,CAAgB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE
|
|
1
|
+
{"version":3,"file":"LinkList.js","sourceRoot":"","sources":["../../../src/components/LinkList/LinkList.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAKzD,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAG,CAAgB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CACrF,KAAC,YAAY,IAAC,SAAS,EAAE,gCAAgC,SAAS,EAAE,KAAM,IAAI,YAC5E,aAAI,SAAS,EAAC,8CAA8C,YACzD,SAAS,EAAE,MAAM,CAAC,CAAC,CAAC,kBAAkB,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,IAAI,GACtD,GACQ,CAChB,CAAC,CAAC;AAEH,MAAM,kBAAkB,GAAG,CAAC,SAAsB,EAAE,EAAE;IACpD,OAAO,SAAS,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE;QAC9B,MAAM,EAAE,IAAI,EAAE,GAAG,SAAS,EAAE,GAAG,GAAG,CAAC;QAEnC,OAAO,CACL,aAAmC,SAAS,EAAC,gBAAgB,YAC3D,YAAG,SAAS,EAAC,yBAAyB,EAAC,IAAI,EAAC,MAAM,KAAK,SAAS,YAC7D,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,GACjB,IAHG,aAAa,MAAM,CAAC,CAAC,CAAC,EAAE,CAI5B,CACN,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC,CAAC"}
|
|
@@ -9,15 +9,15 @@ import { Img } from '../../ui-kit/Img/Img.js';
|
|
|
9
9
|
import { List } from '../../ui-kit/List/List.js';
|
|
10
10
|
import { BaseTile } from '../BaseTile/BaseTile.js';
|
|
11
11
|
import { getTileMinHeight } from '../BaseTile/getTileMinHeight.js';
|
|
12
|
-
export const MobileAppTile = JSX(({ className = '',
|
|
12
|
+
export const MobileAppTile = JSX(({ className = '', title = 'Мобильное приложение', qr, buttons, version = 'primary', items, image, headingType = 'h4', alignTitle = 'left', description, ...rest }) => {
|
|
13
13
|
const textColorClass = version === 'primary' ? 'text-primary-text' : '';
|
|
14
14
|
const containerStyle = version === 'secondary' ? 'p-3.5 min-w-[120px]' : 'min-w-[92px]';
|
|
15
15
|
const buttonsWithClass = buttons?.map((_) => ({ ..._, className: 'min-w-[168px]' }));
|
|
16
|
-
return (_jsxs(BlockWrapper, {
|
|
16
|
+
return (_jsxs(BlockWrapper, { className: `flex justify-between font-sans p-9 box-border relative min-h-[320px]
|
|
17
17
|
${getTileMinHeight(className)}
|
|
18
18
|
${VersionStyleMap[version]}
|
|
19
|
-
${className}`, ...rest, children: [_jsxs(BaseTile, {
|
|
20
|
-
${textColorClass} ${AlignText[alignTitle]}` })) : null, buttons: buttons?.length ? (_jsx(ButtonSection, {
|
|
19
|
+
${className}`, ...rest, children: [_jsxs(BaseTile, { className: "z-10", title: title ? (_jsx(Heading, { headingType: headingType, as: "h3", title: title, className: `whitespace-pre-wrap max-w-[509px] mb-6
|
|
20
|
+
${textColorClass} ${AlignText[alignTitle]}` })) : null, buttons: buttons?.length ? (_jsx(ButtonSection, { buttons: buttonsWithClass, className: "flex gap-4", ...rest })) : null, children: [renderDescription(description), _jsxs("div", { className: "flex flex-1 items-center", children: [qr?.src ? (_jsx("div", { className: `flex justify-center mr-5 bg-white rounded-md ${containerStyle}`, children: _jsx(Img, { className: "w-fit", image: qr }) })) : null, renderList(version, items)] })] }), image?.src ? (_jsx("div", { className: "absolute right-0 bottom-0", children: _jsx(Img, { image: image }) })) : null] }));
|
|
21
21
|
});
|
|
22
22
|
const renderList = (version, items) => {
|
|
23
23
|
return items?.length ? (_jsx(List, { items: items, itemClassName: "text-l-light mb-2 last:mb-0", version: version })) : (_jsx("span", { className: "text-m-light text-secondary-text", children: "\u041D\u0430\u0432\u0435\u0434\u0438\u0442\u0435 \u043A\u0430\u043C\u0435\u0440\u0443 \u0442\u0435\u043B\u0435\u0444\u043E\u043D\u0430 \u043D\u0430 QR-\u043A\u043E\u0434 \u0438 \u0441\u043A\u0430\u0447\u0430\u0439\u0442\u0435 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435" }));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MobileAppTile.js","sourceRoot":"","sources":["../../../src/components/MobileAppTile/MobileAppTile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EA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EAAE,gDAAgD,cAAc,EAAE,YAC9E,KAAC,GAAG,IAAC,SAAS,EAAC,OAAO,EAAC,KAAK,EAAE,EAAE,GAAI,GAChC,CACP,CAAC,CAAC,CAAC,IAAI,EACP,UAAU,CAAC,OAAO,EAAE,KAAK,CAAC,IACvB,IACG,EACV,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,CACZ,cAAK,SAAS,EAAC,2BAA2B,YACxC,KAAC,GAAG,IAAC,KAAK,EAAE,KAAK,GAAI,GACjB,CACP,CAAC,CAAC,CAAC,IAAI,IACK,CAChB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,UAAU,GAAG,CAAC,OAAwB,EAAE,KAAgB,EAAE,EAAE;IAChE,OAAO,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CACrB,KAAC,IAAI,IAAC,KAAK,EAAE,KAAK,EAAE,aAAa,EAAC,6BAA6B,EAAC,OAAO,EAAE,OAAO,GAAI,CACrF,CAAC,CAAC,CAAC,CACF,eAAM,SAAS,EAAC,kCAAkC,+SAE3C,CACR,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,iBAAiB,GAAG,CAAC,WAAoB,EAAE,EAAE,CACjD,WAAW,CAAC,CAAC,CAAC,YAAG,SAAS,EAAC,oBAAoB,YAAE,WAAW,GAAK,CAAC,CAAC,CAAC,IAAI,CAAC"}
|
|
@@ -2,12 +2,14 @@ import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
3
|
import { Icon } from '../../ui-kit/Icon/Icon.js';
|
|
4
4
|
import { YandexMap } from '../../ui-kit/YandexMap/YandexMap.js';
|
|
5
|
-
import { OFFICE_MAP } from './mockOfficeMap.js';
|
|
6
5
|
import { nearbyOffices } from './nearbyOffices.js';
|
|
7
6
|
import { renderCurrentDaySchedule, renderDay, renderNearbyOffice } from './renderFunctions.js';
|
|
8
7
|
import { useOfficeMap } from './useOfficeMap.js';
|
|
9
8
|
export const OfficeMap = JSX(({ className = '' }) => {
|
|
10
|
-
|
|
9
|
+
// TODO: useOfficeMap endpoint had use /api/v1/branches. This endpoint now is`t correct/
|
|
10
|
+
// TODO: useOfficeMap has return MOCK OBJECT!
|
|
11
|
+
// TODO: Fix this when endpoint /api/v1/branches (or new endpoint) had returning right data
|
|
12
|
+
const resultOfficeMap = useOfficeMap('000');
|
|
11
13
|
const { name, address, gpsLatitude, gpsLongitude, workSchedule } = resultOfficeMap;
|
|
12
14
|
const { workingMonday, workingTuesday, workingWednesday, workingThursday, workingFriday, workingSaturday, workingSunday, } = workSchedule;
|
|
13
15
|
const { workTime, lunchHour, workTimeSaturday, lunchHourSaturday } = workSchedule;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OfficeMap.js","sourceRoot":"","sources":["../../../src/components/OfficeMap/OfficeMap.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAC7D,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"OfficeMap.js","sourceRoot":"","sources":["../../../src/components/OfficeMap/OfficeMap.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAC7D,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,OAAO,EAAE,wBAAwB,EAAE,SAAS,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAC5F,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,MAAM,CAAC,MAAM,SAAS,GAAG,GAAG,CAAgB,C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