@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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BusinessBlockContent.js","sourceRoot":"","sources":["../../../src/components/BusinessBlock/BusinessBlockContent.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
+
import { renderButton } from '../../ui-kit/Button/ButtonSection.js';
|
|
4
|
+
import { Heading } from '../../ui-kit/Heading/Heading.js';
|
|
5
|
+
import { Img } from '../../ui-kit/Img/Img.js';
|
|
6
|
+
export const BusinessCard = JSX((props) => {
|
|
7
|
+
const { title, image, cardItems, button } = props;
|
|
8
|
+
return (_jsxs("div", { className: "border-color-stroke border p-9 w-1/2", children: [image ? (_jsxs("div", { className: "flex justify-center", children: [image?.src ? _jsx(Img, { className: "mb-5", image: image }) : null, image?.icon ? _jsx(Img, { image: image, asSVG: true }) : null] })) : null, title ? _jsx(Heading, { headingType: "h4", title: title, className: "mb-6" }) : null, cardItems?.length ? _jsx("ul", { children: cardItems.map((_, i) => renderItem(_, String(i))) }) : null, button?.text ? renderButton({ button, buttonClassName: 'mt-6' }) : null] }));
|
|
9
|
+
});
|
|
10
|
+
const renderItem = (item, key) => {
|
|
11
|
+
const { icon, text } = item;
|
|
12
|
+
return (_jsxs("li", { className: "flex items-center gap-3.5 mb-3 last:mb-0", children: [icon?.icon ? (_jsx(Img, { className: `w-12 h-12 min-w-12 p-3 rounded-full bg-main-divider`, image: icon.icon, asSVG: true })) : null, icon?.src ? _jsx(Img, { image: icon.icon }) : null, _jsx("span", { className: "text-xl-light", children: text })] }, key));
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=BusinessCard.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BusinessCard.js","sourceRoot":"","sources":["../../../src/components/BusinessBlock/BusinessCard.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAC;AACjE,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAG3C,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAAoB,CAAC,KAAK,EAAE,EAAE;IAC3D,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,KAAK,CAAC;IAElD,OAAO,CACL,eAAK,SAAS,EAAC,sCAAsC,aAClD,KAAK,CAAC,CAAC,CAAC,CACP,eAAK,SAAS,EAAC,qBAAqB,aACjC,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,KAAC,GAAG,IAAC,SAAS,EAAC,MAAM,EAAC,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,EAC1D,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC,KAAC,GAAG,IAAC,KAAK,EAAE,KAAK,EAAE,KAAK,SAAG,CAAC,CAAC,CAAC,IAAI,IAC7C,CACP,CAAC,CAAC,CAAC,IAAI,EACP,KAAK,CAAC,CAAC,CAAC,KAAC,OAAO,IAAC,WAAW,EAAC,IAAI,EAAC,KAAK,EAAE,KAAK,EAAE,SAAS,EAAC,MAAM,GAAG,CAAC,CAAC,CAAC,IAAI,EAC1E,SAAS,EAAE,MAAM,CAAC,CAAC,CAAC,uBAAK,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,GAAM,CAAC,CAAC,CAAC,IAAI,EACvF,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC,YAAY,CAAC,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,IACpE,CACP,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,UAAU,GAAG,CAAC,IAA2B,EAAE,GAAW,EAAE,EAAE;IAC9D,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC;IAE5B,OAAO,CACL,cAAc,SAAS,EAAC,0CAA0C,aAC/D,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CACZ,KAAC,GAAG,IACF,SAAS,EAAE,qDAAqD,EAChE,KAAK,EAAE,IAAI,CAAC,IAAI,EAChB,KAAK,SACL,CACH,CAAC,CAAC,CAAC,IAAI,EACP,IAAI,EAAE,GAAG,CAAC,CAAC,CAAC,KAAC,GAAG,IAAC,KAAK,EAAE,IAAI,CAAC,IAAI,GAAI,CAAC,CAAC,CAAC,IAAI,EAC7C,eAAM,SAAS,EAAC,eAAe,YAAE,IAAI,GAAQ,KATtC,GAAG,CAUP,CACN,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
2
1
|
import { CommonCalculatorProps } from './CalculatorContent';
|
|
3
|
-
export interface BonusCalculatorProps extends CommonCalculatorProps
|
|
2
|
+
export interface BonusCalculatorProps extends CommonCalculatorProps {
|
|
3
|
+
className?: string;
|
|
4
4
|
}
|
|
5
5
|
export declare const BonusCalculatorForm: import("@redneckz/uni-jsx").UNIComponent<BonusCalculatorProps, any, any>;
|
|
@@ -8,7 +8,7 @@ import { renderButtonSection } from './renderButtonSection.js';
|
|
|
8
8
|
import { renderFootnote } from './renderFootnote.js';
|
|
9
9
|
import { renderWantedSumInput } from './renderWantedSumInput.js';
|
|
10
10
|
import { useBonusCalculatorParams } from './useBonusCalculatorParams.js';
|
|
11
|
-
export const BonusCalculatorForm = JSX(({
|
|
11
|
+
export const BonusCalculatorForm = JSX(({ className = '', sourceBookDir = '', buttons, footnote }) => {
|
|
12
12
|
const [travelExpenseValue, setTravelExpenseValue] = useState(DEFAULT_TRAVEL_MIN_SUM);
|
|
13
13
|
const [restExpenseValue, setRestExpenseValue] = useState(DEFAULT_REST_MIN_SUM);
|
|
14
14
|
const userInputParams = {
|
|
@@ -29,6 +29,6 @@ export const BonusCalculatorForm = JSX(({ context, className = '', sourceBookDir
|
|
|
29
29
|
moneyValue: restExpenseValue,
|
|
30
30
|
step: 500,
|
|
31
31
|
isShowItems: false,
|
|
32
|
-
}, setRestExpenseValue)] }), _jsx("div", { children: monthBonus >= 0 ? (_jsx(Rate, { title: "\u0411\u0430\u043B\u043B\u043E\u0432 \u0437\u0430 \u043C\u0435\u0441\u044F\u0446", rate: monthBonus, rateBlockClassName: "tracking-[-14px]" })) : null }), _jsxs("div", { className: "w-full max-w-[350px]", children: [yearBonus >= 0 ? _jsx(CalculatorValueBlock, { title: "\u0411\u0430\u043B\u043B\u043E\u0432 \u0437\u0430 \u0433\u043E\u0434", value: yearBonus }) : null, renderButtonSection(
|
|
32
|
+
}, setRestExpenseValue)] }), _jsx("div", { children: monthBonus >= 0 ? (_jsx(Rate, { title: "\u0411\u0430\u043B\u043B\u043E\u0432 \u0437\u0430 \u043C\u0435\u0441\u044F\u0446", rate: monthBonus, rateBlockClassName: "tracking-[-14px]" })) : null }), _jsxs("div", { className: "w-full max-w-[350px]", children: [yearBonus >= 0 ? _jsx(CalculatorValueBlock, { title: "\u0411\u0430\u043B\u043B\u043E\u0432 \u0437\u0430 \u0433\u043E\u0434", value: yearBonus }) : null, renderButtonSection(buttons), renderFootnote(footnote)] })] }));
|
|
33
33
|
});
|
|
34
34
|
//# sourceMappingURL=BonusCalculatorForm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BonusCalculatorForm.js","sourceRoot":"","sources":["../../../src/components/Calculator/BonusCalculatorForm.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"BonusCalculatorForm.js","sourceRoot":"","sources":["../../../src/components/Calculator/BonusCalculatorForm.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAEvD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,oBAAoB,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAC3E,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAMtE,MAAM,CAAC,MAAM,mBAAmB,GAAG,GAAG,CACpC,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,aAAa,GAAG,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC5D,MAAM,CAAC,kBAAkB,EAAE,qBAAqB,CAAC,GAAG,QAAQ,CAAC,sBAAsB,CAAC,CAAC;IACrF,MAAM,CAAC,gBAAgB,EAAE,mBAAmB,CAAC,GAAG,QAAQ,CAAC,oBAAoB,CAAC,CAAC;IAC/E,MAAM,eAAe,GAAG;QACtB,kBAAkB;QAClB,gBAAgB;KACjB,CAAC;IACF,MAAM,EAAE,YAAY,EAAE,YAAY,EAAE,WAAW,EAAE,WAAW,EAAE,UAAU,EAAE,SAAS,EAAE,GACnF,wBAAwB,CAAC,eAAe,EAAE,aAAa,CAAC,CAAC;IAE3D,OAAO,CACL,mBAAS,SAAS,EAAE,SAAS,aAC3B,eAAK,SAAS,EAAC,WAAW,aACvB,oBAAoB,CACnB,0CAA0C,EAC1C;wBACE,MAAM,EAAE,YAAY;wBACpB,MAAM,EAAE,YAAY;wBACpB,UAAU,EAAE,kBAAkB;wBAC9B,IAAI,EAAE,GAAG;wBACT,WAAW,EAAE,KAAK;qBACnB,EACD,qBAAqB,CACtB,EACA,oBAAoB,CACnB,yCAAyC,EACzC;wBACE,SAAS,EAAE,MAAM;wBACjB,MAAM,EAAE,WAAW;wBACnB,MAAM,EAAE,WAAW;wBACnB,UAAU,EAAE,gBAAgB;wBAC5B,IAAI,EAAE,GAAG;wBACT,WAAW,EAAE,KAAK;qBACnB,EACD,mBAAmB,CACpB,IACG,EACN,wBACG,UAAU,IAAI,CAAC,CAAC,CAAC,CAAC,CACjB,KAAC,IAAI,IAAC,KAAK,EAAC,kFAAiB,EAAC,IAAI,EAAE,UAAU,EAAE,kBAAkB,EAAC,kBAAkB,GAAG,CACzF,CAAC,CAAC,CAAC,IAAI,GACJ,EACN,eAAK,SAAS,EAAC,sBAAsB,aAClC,SAAS,IAAI,CAAC,CAAC,CAAC,CAAC,KAAC,oBAAoB,IAAC,KAAK,EAAC,sEAAe,EAAC,KAAK,EAAE,SAAS,GAAI,CAAC,CAAC,CAAC,IAAI,EACxF,mBAAmB,CAAC,OAAO,CAAC,EAC5B,cAAc,CAAC,QAAQ,CAAC,IACrB,IACE,CACX,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -5,7 +5,7 @@ import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
|
|
|
5
5
|
import { renderArrows } from '../../ui-kit/Button/renderArrows.js';
|
|
6
6
|
import { Img } from '../../ui-kit/Img/Img.js';
|
|
7
7
|
import { renderCalculatorBlock } from './renderCalculatorBlock.js';
|
|
8
|
-
export const Calculator = JSX(({ className = '',
|
|
8
|
+
export const Calculator = JSX(({ className = '', calculatorTabs = [], ...rest }) => {
|
|
9
9
|
const tabsNav = calculatorTabs.map((_) => _.nav || {});
|
|
10
10
|
const calculatorBlocks = calculatorTabs.map(({ calculatorBlock }) => calculatorBlock || {});
|
|
11
11
|
const [activeSlideIndex, setActiveSlideIndex] = useState(0);
|
|
@@ -15,16 +15,14 @@ export const Calculator = JSX(({ className = '', context, calculatorTabs = [], .
|
|
|
15
15
|
const isGalleryScrollAvailable = calculatorTabs?.length > 3;
|
|
16
16
|
const showNextButton = isGalleryScrollAvailable && calculatorTabs?.length > tabsShift + 3;
|
|
17
17
|
const showPrevButton = tabsShift > 0;
|
|
18
|
-
return (_jsxs(BlockWrapper, {
|
|
18
|
+
return (_jsxs(BlockWrapper, { className: `box-border overflow-hidden relative font-sans w-100 text-primary-text bg-white ${className}`, ...rest, children: [_jsxs("div", { className: "bg-white", children: [tabsNav.length > 1
|
|
19
19
|
? renderTabs({ tabsShift, tabsNav, activeSlideIndex, setActiveSlideIndex })
|
|
20
20
|
: null, renderArrows({
|
|
21
21
|
handler: [handlePrevClick, handleNextClick],
|
|
22
22
|
isShown: [showPrevButton, showNextButton],
|
|
23
23
|
btnClass: ['left-3', 'right-3'],
|
|
24
24
|
className: 'top-8',
|
|
25
|
-
})] }), _jsx("div", { className: "flex", style: { transform: `translateX(-${activeSlideIndex}00%)` }, role: "list", children: calculatorBlocks?.length
|
|
26
|
-
? calculatorBlocks.map(renderCalculatorBlock({ context, className }))
|
|
27
|
-
: null })] }));
|
|
25
|
+
})] }), _jsx("div", { className: "flex", style: { transform: `translateX(-${activeSlideIndex}00%)` }, role: "list", children: calculatorBlocks?.length ? calculatorBlocks.map(renderCalculatorBlock) : null })] }));
|
|
28
26
|
});
|
|
29
27
|
function renderNavButton({ tab, i, activeSlideIndex, onClick }) {
|
|
30
28
|
const isActiveBtn = i === activeSlideIndex;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Calculator.js","sourceRoot":"","sources":["../../../src/components/Calculator/Calculator.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAEvD,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAChE,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAE3C,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAkBhE,MAAM,CAAC,MAAM,UAAU,GAAG,GAAG,CAC3B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,
|
|
1
|
+
{"version":3,"file":"Calculator.js","sourceRoot":"","sources":["../../../src/components/Calculator/Calculator.tsx"],"names":[],"mappings":"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"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
2
1
|
import { CommonCalculatorProps } from './CalculatorContent';
|
|
3
2
|
export declare const ANNUITY = "annuity";
|
|
4
3
|
export declare const DIFFERENTIAL = "differential";
|
|
5
|
-
export interface CreditCalculatorProp extends CommonCalculatorProps
|
|
4
|
+
export interface CreditCalculatorProp extends CommonCalculatorProps {
|
|
5
|
+
className?: string;
|
|
6
6
|
}
|
|
7
7
|
export declare const CreditCalculatorForm: import("@redneckz/uni-jsx").UNIComponent<CreditCalculatorProp, any, any>;
|
|
@@ -2,13 +2,13 @@ import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
3
|
import { useState } from '@redneckz/uni-jsx/lib/hooks';
|
|
4
4
|
import { Checkbox } from '../../ui-kit/Checkbox/Checkbox.js';
|
|
5
|
+
import { RadioButtonGroup } from '../../ui-kit/RadioButtonGroup/RadioButtonGroup.js';
|
|
5
6
|
import { CalculatorValueBlock } from './CalculatorValueBlock.js';
|
|
6
7
|
import { DEFAULT_MONTHS, DEFAULT_SUM } from './constants.js';
|
|
7
8
|
import { Rate } from './Rate.js';
|
|
8
9
|
import { renderButtonSection } from './renderButtonSection.js';
|
|
9
10
|
import { renderFootnote } from './renderFootnote.js';
|
|
10
11
|
import { renderMonthsInput } from './renderMonthsInput.js';
|
|
11
|
-
import { renderPaymentTypeSelector } from './renderPaymentTypeSelector.js';
|
|
12
12
|
import { renderWantedSumInput } from './renderWantedSumInput.js';
|
|
13
13
|
import { useCreditCalculatorParams } from './useCreditCalculatorParams.js';
|
|
14
14
|
export const ANNUITY = 'annuity';
|
|
@@ -23,7 +23,7 @@ const paymentTypeItems = [
|
|
|
23
23
|
text: 'Дифференцированный',
|
|
24
24
|
},
|
|
25
25
|
];
|
|
26
|
-
export const CreditCalculatorForm = JSX(({
|
|
26
|
+
export const CreditCalculatorForm = JSX(({ className = '', sourceBookDir, buttons, footnote }) => {
|
|
27
27
|
const [isAnnuity, toggleIsAnnuity] = useState(false);
|
|
28
28
|
const [isInsurance, toggleIsInsurance] = useState(true);
|
|
29
29
|
const [isSalaryClient, toggleIsSalaryClient] = useState(false);
|
|
@@ -39,11 +39,6 @@ export const CreditCalculatorForm = JSX(({ context, className = '', sourceBookDi
|
|
|
39
39
|
monthsValue,
|
|
40
40
|
};
|
|
41
41
|
const calculatorParams = useCreditCalculatorParams(userInputParams, sourceBookDir);
|
|
42
|
-
return (_jsxs("section", { className: className, children: [_jsxs("div", { className: "w-[468px]", children: [renderWantedSumInput('Сумма кредита, ₽', { ...calculatorParams, step: 500 }, setMoneyValue), renderMonthsInput('Срок кредита, месяцев', calculatorParams, setMonthsValue), _jsxs("div", { className: "mt-7", children: [_jsx(Checkbox, { text: "\u041F\u043E\u043B\u0443\u0447\u0430\u044E \u0437\u0430\u0440\u043F\u043B\u0430\u0442\u0443 \u043D\u0430 \u0441\u0447\u0451\u0442 \u0432 \u0420\u043E\u0441\u0441\u0435\u043B\u044C\u0445\u043E\u0437\u0431\u0430\u043D\u043A\u0435", checked: isSalaryClient, onChange: toggleIsSalaryClient }), _jsx(Checkbox, { className: "mt-3", text: "\u0420\u0430\u0431\u043E\u0442\u0430\u044E \u0432 \u0431\u044E\u0434\u0436\u0435\u0442\u043D\u043E\u0439 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", checked: isStateEmployee, onChange: toggleIsStateEmployee }), _jsx(Checkbox, { className: "mt-3", text: "\u041A\u043E\u043C\u043F\u043B\u0435\u043A\u0441\u043D\u0430\u044F \u0441\u0442\u0440\u0430\u0445\u043E\u0432\u0430\u044F \u0437\u0430\u0449\u0438\u0442\u0430", checked: isInsurance, onChange: toggleIsInsurance })] })] }), _jsx(Rate, { title: "\u0421\u0442\u0430\u0432\u043A\u0430", rate: calculatorParams.finalRate, rateBlockClassName: "tracking-[-25px]", unit: "%" }), _jsxs("div", { className: "w-full max-w-[350px]", children: [_jsx(CalculatorValueBlock, { title: isAnnuity ? 'Ежемесячный платеж' : 'Платёж в первый месяц', value: calculatorParams.monthlyPayment, postfix: "\u20BD" }),
|
|
43
|
-
context,
|
|
44
|
-
items: paymentTypeItems,
|
|
45
|
-
checkedItem: isAnnuity ? ANNUITY : DIFFERENTIAL,
|
|
46
|
-
onChange: (text) => toggleIsAnnuity(text === ANNUITY),
|
|
47
|
-
}), renderButtonSection(context, buttons), renderFootnote(footnote)] })] }));
|
|
42
|
+
return (_jsxs("section", { className: className, children: [_jsxs("div", { className: "w-[468px]", children: [renderWantedSumInput('Сумма кредита, ₽', { ...calculatorParams, step: 500 }, setMoneyValue), renderMonthsInput('Срок кредита, месяцев', calculatorParams, setMonthsValue), _jsxs("div", { className: "mt-7", children: [_jsx(Checkbox, { text: "\u041F\u043E\u043B\u0443\u0447\u0430\u044E \u0437\u0430\u0440\u043F\u043B\u0430\u0442\u0443 \u043D\u0430 \u0441\u0447\u0451\u0442 \u0432 \u0420\u043E\u0441\u0441\u0435\u043B\u044C\u0445\u043E\u0437\u0431\u0430\u043D\u043A\u0435", checked: isSalaryClient, onChange: toggleIsSalaryClient }), _jsx(Checkbox, { className: "mt-3", text: "\u0420\u0430\u0431\u043E\u0442\u0430\u044E \u0432 \u0431\u044E\u0434\u0436\u0435\u0442\u043D\u043E\u0439 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", checked: isStateEmployee, onChange: toggleIsStateEmployee }), _jsx(Checkbox, { className: "mt-3", text: "\u041A\u043E\u043C\u043F\u043B\u0435\u043A\u0441\u043D\u0430\u044F \u0441\u0442\u0440\u0430\u0445\u043E\u0432\u0430\u044F \u0437\u0430\u0449\u0438\u0442\u0430", checked: isInsurance, onChange: toggleIsInsurance })] })] }), _jsx(Rate, { title: "\u0421\u0442\u0430\u0432\u043A\u0430", rate: calculatorParams.finalRate, rateBlockClassName: "tracking-[-25px]", unit: "%" }), _jsxs("div", { className: "w-full max-w-[350px]", children: [_jsx(CalculatorValueBlock, { title: isAnnuity ? 'Ежемесячный платеж' : 'Платёж в первый месяц', value: calculatorParams.monthlyPayment, postfix: "\u20BD" }), _jsx(RadioButtonGroup, { items: paymentTypeItems, checkedItem: isAnnuity ? ANNUITY : DIFFERENTIAL, onChange: (text) => toggleIsAnnuity(text === ANNUITY) }), renderButtonSection(buttons), renderFootnote(footnote)] })] }));
|
|
48
43
|
});
|
|
49
44
|
//# sourceMappingURL=CreditCalculatorForm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreditCalculatorForm.js","sourceRoot":"","sources":["../../../src/components/Calculator/CreditCalculatorForm.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"CreditCalculatorForm.js","sourceRoot":"","sources":["../../../src/components/Calculator/CreditCalculatorForm.tsx"],"names":[],"mappings":"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"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
2
1
|
import { CommonCalculatorProps, DepositCalculatorParams } from './CalculatorContent';
|
|
3
|
-
export interface DepositCalculatorProp extends DepositCalculatorParams, CommonCalculatorProps
|
|
2
|
+
export interface DepositCalculatorProp extends DepositCalculatorParams, CommonCalculatorProps {
|
|
3
|
+
className?: string;
|
|
4
4
|
}
|
|
5
5
|
export declare const DepositCalculatorForm: import("@redneckz/uni-jsx").UNIComponent<DepositCalculatorProp, any, any>;
|
|
@@ -2,13 +2,13 @@ import { jsxs as _jsxs, jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
|
2
2
|
// TEMP
|
|
3
3
|
import { JSX } from '@redneckz/uni-jsx';
|
|
4
4
|
import { useState } from '@redneckz/uni-jsx/lib/hooks';
|
|
5
|
+
import { RadioButtonGroup } from '../../ui-kit/RadioButtonGroup/RadioButtonGroup.js';
|
|
5
6
|
import { CalculatorValueBlock } from './CalculatorValueBlock.js';
|
|
6
7
|
import { DEFAULT_MAX_MONTHS, DEFAULT_MAX_SUM, DEFAULT_MIN_MONTHS, DEFAULT_MIN_SUM, DEFAULT_MONTHS, DEFAULT_SUM, } from './constants.js';
|
|
7
8
|
import { Rate } from './Rate.js';
|
|
8
9
|
import { renderButtonSection } from './renderButtonSection.js';
|
|
9
10
|
import { renderFootnote } from './renderFootnote.js';
|
|
10
11
|
import { renderMonthsInput } from './renderMonthsInput.js';
|
|
11
|
-
import { renderPaymentTypeSelector } from './renderPaymentTypeSelector.js';
|
|
12
12
|
import { renderWantedSumInput } from './renderWantedSumInput.js';
|
|
13
13
|
const EVERY_MONTH = 'everyMonth';
|
|
14
14
|
const AT_END_TERM = 'atEndTerm';
|
|
@@ -22,7 +22,7 @@ const depositTypeItems = [
|
|
|
22
22
|
text: 'В конце срока',
|
|
23
23
|
},
|
|
24
24
|
];
|
|
25
|
-
export const DepositCalculatorForm = JSX(({
|
|
25
|
+
export const DepositCalculatorForm = JSX(({ className = '', rate, buttons, footnote }) => {
|
|
26
26
|
const [moneyValue, setMoneyValue] = useState(DEFAULT_SUM);
|
|
27
27
|
const [monthsValue, setMonthsValue] = useState(DEFAULT_MONTHS);
|
|
28
28
|
const [isEveryMonth, toggleIsEveryMonth] = useState(false);
|
|
@@ -36,11 +36,6 @@ export const DepositCalculatorForm = JSX(({ context, className = '', rate, butto
|
|
|
36
36
|
minMonths: DEFAULT_MIN_MONTHS,
|
|
37
37
|
maxMonths: DEFAULT_MAX_MONTHS,
|
|
38
38
|
monthsValue,
|
|
39
|
-
}, setMonthsValue)] }), _jsx(Rate, { rate: rate || 1, rateBlockClassName: "tracking-[-25px]", unit: "%" }), _jsxs("div", { className: "w-full max-w-[350px]", children: [income ? (_jsx(CalculatorValueBlock, { title: "\u0414\u043E\u0445\u043E\u0434 \u043F\u043E \u0432\u043A\u043B\u0430\u0434\u0443", value: income, postfix: "\u20BD", prefix: "+" })) : null, finallySum ? (_jsx(CalculatorValueBlock, { title: "\u0421\u0443\u043C\u043C\u0430 \u0432 \u043A\u043E\u043D\u0446\u0435 \u0441\u0440\u043E\u043A\u0430", value: finallySum, postfix: "\u20BD" })) : null,
|
|
40
|
-
context,
|
|
41
|
-
items: depositTypeItems,
|
|
42
|
-
checkedItem: isEveryMonth ? EVERY_MONTH : AT_END_TERM,
|
|
43
|
-
onChange: (text) => toggleIsEveryMonth(text === EVERY_MONTH),
|
|
44
|
-
}), renderButtonSection(context, buttons), renderFootnote(footnote)] })] }));
|
|
39
|
+
}, setMonthsValue)] }), _jsx(Rate, { rate: rate || 1, rateBlockClassName: "tracking-[-25px]", unit: "%" }), _jsxs("div", { className: "w-full max-w-[350px]", children: [income ? (_jsx(CalculatorValueBlock, { title: "\u0414\u043E\u0445\u043E\u0434 \u043F\u043E \u0432\u043A\u043B\u0430\u0434\u0443", value: income, postfix: "\u20BD", prefix: "+" })) : null, finallySum ? (_jsx(CalculatorValueBlock, { title: "\u0421\u0443\u043C\u043C\u0430 \u0432 \u043A\u043E\u043D\u0446\u0435 \u0441\u0440\u043E\u043A\u0430", value: finallySum, postfix: "\u20BD" })) : null, _jsx(RadioButtonGroup, { items: depositTypeItems, checkedItem: isEveryMonth ? EVERY_MONTH : AT_END_TERM, onChange: (text) => toggleIsEveryMonth(text === EVERY_MONTH) }), renderButtonSection(buttons), renderFootnote(footnote)] })] }));
|
|
45
40
|
});
|
|
46
41
|
//# sourceMappingURL=DepositCalculatorForm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DepositCalculatorForm.js","sourceRoot":"","sources":["../../../src/components/Calculator/DepositCalculatorForm.tsx"],"names":[],"mappings":";AAAA,OAAO;AAEP,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"DepositCalculatorForm.js","sourceRoot":"","sources":["../../../src/components/Calculator/DepositCalculatorForm.tsx"],"names":[],"mappings":"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"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
|
|
3
|
-
|
|
4
|
-
export declare function renderButtonSection(context: ContentPageContext, buttons?: ButtonWithIconProps[]): JSX.Element | null;
|
|
3
|
+
export declare function renderButtonSection(buttons?: ButtonWithIconProps[]): JSX.Element | null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { ButtonSection } from '../../ui-kit/Button/ButtonSection.js';
|
|
3
|
-
export function renderButtonSection(
|
|
4
|
-
return buttons?.length ? (_jsx(ButtonSection, {
|
|
3
|
+
export function renderButtonSection(buttons) {
|
|
4
|
+
return buttons?.length ? (_jsx(ButtonSection, { buttons: buttons, className: "flex flex-col mt-7 gap-2" })) : null;
|
|
5
5
|
}
|
|
6
6
|
//# sourceMappingURL=renderButtonSection.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderButtonSection.js","sourceRoot":"","sources":["../../../src/components/Calculator/renderButtonSection.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;
|
|
1
|
+
{"version":3,"file":"renderButtonSection.js","sourceRoot":"","sources":["../../../src/components/Calculator/renderButtonSection.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAElE,MAAM,UAAU,mBAAmB,CAAC,OAA+B;IACjE,OAAO,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC,CACvB,KAAC,aAAa,IAAC,OAAO,EAAE,OAAO,EAAE,SAAS,EAAC,0BAA0B,GAAG,CACzE,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { CalculatorBlockDef } from './CalculatorContent';
|
|
3
|
-
export declare const renderCalculatorBlock: (
|
|
3
|
+
export declare const renderCalculatorBlock: (block: CalculatorBlockDef, i: number) => JSX.Element | null;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { Heading } from '../../ui-kit/Heading/Heading.js';
|
|
3
3
|
import { EmbeddableCalcBlocks } from './EmbeddableCalcBlocks.js';
|
|
4
|
-
export const renderCalculatorBlock = (
|
|
4
|
+
export const renderCalculatorBlock = (block, i) => {
|
|
5
5
|
const type = block?.calcType;
|
|
6
6
|
if (!type || !(type in EmbeddableCalcBlocks)) {
|
|
7
7
|
return null;
|
|
8
8
|
}
|
|
9
9
|
const EmbeddedBlock = EmbeddableCalcBlocks[type];
|
|
10
|
-
return (_jsx("section", { className:
|
|
10
|
+
return (_jsx("section", { className: "box-border relative bg-white flex shrink-0 self-start basis-full", role: "listitem", children: _jsxs("div", { className: "box-border p-9 w-full", children: [block?.title ? _jsx(Heading, { className: "text-center mb-6", title: block.title }) : null, _jsx(EmbeddedBlock, { ...block, className: "flex justify-between" })] }) }, String(i)));
|
|
11
11
|
};
|
|
12
12
|
//# sourceMappingURL=renderCalculatorBlock.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderCalculatorBlock.js","sourceRoot":"","sources":["../../../src/components/Calculator/renderCalculatorBlock.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"renderCalculatorBlock.js","sourceRoot":"","sources":["../../../src/components/Calculator/renderCalculatorBlock.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AAEvD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,KAAyB,EAAE,CAAS,EAAE,EAAE;IAC5E,MAAM,IAAI,GAAG,KAAK,EAAE,QAAQ,CAAC;IAC7B,IAAI,CAAC,IAAI,IAAI,CAAC,CAAC,IAAI,IAAI,oBAAoB,CAAC,EAAE;QAC5C,OAAO,IAAI,CAAC;KACb;IACD,MAAM,aAAa,GAAG,oBAAoB,CAAC,IAAI,CAAC,CAAC;IAEjD,OAAO,CACL,kBAEE,SAAS,EAAC,kEAAkE,EAC5E,IAAI,EAAC,UAAU,YAEf,eAAK,SAAS,EAAC,uBAAuB,aACnC,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,KAAC,OAAO,IAAC,SAAS,EAAC,kBAAkB,EAAC,KAAK,EAAE,KAAK,CAAC,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,EACnF,KAAC,aAAa,OAAK,KAAK,EAAE,SAAS,EAAC,sBAAsB,GAAG,IACzD,IAPD,MAAM,CAAC,CAAC,CAAC,CAQN,CACX,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -13,14 +13,13 @@ const FORM_URL = 'https://www.rshb.ru/p2p/';
|
|
|
13
13
|
const DEFAULT_TITLE = 'Укажите сумму перевода';
|
|
14
14
|
const DEFAULT_LABEL = 'Сумма перевода';
|
|
15
15
|
const DEFAULT_PLACEHOLDER = '1500';
|
|
16
|
-
export const CardTransfer = JSX(({ className = '', title = DEFAULT_TITLE, label = DEFAULT_LABEL, placeholder = DEFAULT_PLACEHOLDER, button,
|
|
17
|
-
const router = context.useRouter();
|
|
18
|
-
const { handlerDecorator } = context;
|
|
16
|
+
export const CardTransfer = JSX(({ className = '', title = DEFAULT_TITLE, label = DEFAULT_LABEL, placeholder = DEFAULT_PLACEHOLDER, button, ...rest }) => {
|
|
19
17
|
const [value, setValue] = useState('');
|
|
20
18
|
const isDisabled = !Number(getSanitizedValue(value));
|
|
21
19
|
const buttonStyle = isDisabled
|
|
22
20
|
? getDisabledButtonClasses({ version: button?.version })
|
|
23
21
|
: getRegularButtonClasses({ className: 'text-white', version: button?.version });
|
|
24
|
-
|
|
22
|
+
const link = useLink();
|
|
23
|
+
return (_jsxs(BlockWrapper, { className: `p-[50px] flex flex-col items-center font-sans bg-white ${className}`, ...rest, children: [title ? _jsx(Heading, { className: "max-w-[684px] pb-9", headingType: "h2", title: title }) : null, _jsxs("form", { className: "w-[468px]", method: "POST", action: FORM_URL, children: [_jsx(CurrencyInput, { name: AMOUNT_KEY, value: value, onChange: setValue, valid: value === '' || !isDisabled, placeholder: placeholder, label: label }), button?.text ? (_jsx("button", { type: "submit", className: `w-full p-4 mt-6 ${buttonStyle} `, disabled: isDisabled, ...link(button), children: button.text })) : null] })] }));
|
|
25
24
|
});
|
|
26
25
|
//# sourceMappingURL=CardTransfer.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CardTransfer.js","sourceRoot":"","sources":["../../../src/components/CardTransfer/CardTransfer.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE9C,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,wBAAwB,EAAE,MAAM,8CAA8C,CAAC;AACxF,OAAO,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AACtF,OAAO,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AACzE,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAGlE,MAAM,UAAU,GAAG,QAAQ,CAAC;AAC5B,MAAM,QAAQ,GAAG,0BAA0B,CAAC;AAC5C,MAAM,aAAa,GAAG,wBAAwB,CAAC;AAC/C,MAAM,aAAa,GAAG,gBAAgB,CAAC;AACvC,MAAM,mBAAmB,GAAG,MAAM,CAAC;AAInC,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAC7B,CAAC,EACC,SAAS,GAAG,EAAE,EACd,KAAK,GAAG,aAAa,EACrB,KAAK,GAAG,aAAa,EACrB,WAAW,GAAG,mBAAmB,EACjC,MAAM,EACN,
|
|
1
|
+
{"version":3,"file":"CardTransfer.js","sourceRoot":"","sources":["../../../src/components/CardTransfer/CardTransfer.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE9C,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,wBAAwB,EAAE,MAAM,8CAA8C,CAAC;AACxF,OAAO,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AACtF,OAAO,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AACzE,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAGlE,MAAM,UAAU,GAAG,QAAQ,CAAC;AAC5B,MAAM,QAAQ,GAAG,0BAA0B,CAAC;AAC5C,MAAM,aAAa,GAAG,wBAAwB,CAAC;AAC/C,MAAM,aAAa,GAAG,gBAAgB,CAAC;AACvC,MAAM,mBAAmB,GAAG,MAAM,CAAC;AAInC,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAC7B,CAAC,EACC,SAAS,GAAG,EAAE,EACd,KAAK,GAAG,aAAa,EACrB,KAAK,GAAG,aAAa,EACrB,WAAW,GAAG,mBAAmB,EACjC,MAAM,EACN,GAAG,IAAI,EACR,EAAE,EAAE;IACH,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,QAAQ,CAAS,EAAE,CAAC,CAAC;IAC/C,MAAM,UAAU,GAAG,CAAC,MAAM,CAAC,iBAAiB,CAAC,KAAK,CAAC,CAAC,CAAC;IACrD,MAAM,WAAW,GAAG,UAAU;QAC5B,CAAC,CAAC,wBAAwB,CAAC,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC;QACxD,CAAC,CAAC,uBAAuB,CAAC,EAAE,SAAS,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,CAAC;IAEnF,MAAM,IAAI,GAAG,OAAO,EAAE,CAAC;IAEvB,OAAO,CACL,MAAC,YAAY,IACX,SAAS,EAAE,0DAA0D,SAAS,EAAE,KAC5E,IAAI,aAEP,KAAK,CAAC,CAAC,CAAC,KAAC,OAAO,IAAC,SAAS,EAAC,oBAAoB,EAAC,WAAW,EAAC,IAAI,EAAC,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,EACzF,gBAAM,SAAS,EAAC,WAAW,EAAC,MAAM,EAAC,MAAM,EAAC,MAAM,EAAE,QAAQ,aACxD,KAAC,aAAa,IACZ,IAAI,EAAE,UAAU,EAChB,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,QAAQ,EAClB,KAAK,EAAE,KAAK,KAAK,EAAE,IAAI,CAAC,UAAU,EAClC,WAAW,EAAE,WAAW,EACxB,KAAK,EAAE,KAAK,GACZ,EACD,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC,CACd,iBACE,IAAI,EAAC,QAAQ,EACb,SAAS,EAAE,mBAAmB,WAAW,GAAG,EAC5C,QAAQ,EAAE,UAAU,KAChB,IAAI,CAAC,MAAM,CAAC,YAEf,MAAM,CAAC,IAAI,GACL,CACV,CAAC,CAAC,CAAC,IAAI,IACH,IACM,CAChB,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
-
import { useState } from '@redneckz/uni-jsx/lib/hooks';
|
|
3
|
+
import { useCallback, useState } from '@redneckz/uni-jsx/lib/hooks';
|
|
4
4
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
|
|
5
5
|
import { renderArrows } from '../../ui-kit/Button/renderArrows.js';
|
|
6
6
|
import { Headline } from '../Headline/Headline.js';
|
|
@@ -8,28 +8,18 @@ import { CatalogCard } from './CatalogCard.js';
|
|
|
8
8
|
const BLUR_BLOCK_CLASSES = 'absolute top-0 bottom-0 w-[84px]';
|
|
9
9
|
const CARD_FULL_VIEW_COUNT = 3;
|
|
10
10
|
const CARD_SHIFT = 430;
|
|
11
|
-
export const Catalog = JSX(({
|
|
11
|
+
export const Catalog = JSX(({ cards = [], className = '', title, description, ...rest }) => {
|
|
12
12
|
const [activeCardIndex, setActiveCardIndex] = useState(0);
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
13
|
+
const handleNextClick = useCallback(() => setActiveCardIndex((_) => _ + 1), []);
|
|
14
|
+
const handlePrevClick = useCallback(() => setActiveCardIndex((_) => _ - 1), []);
|
|
15
|
+
const isUseSlider = cards.length > CARD_FULL_VIEW_COUNT;
|
|
16
|
+
const showNextButton = isUseSlider && cards.length - activeCardIndex > CARD_FULL_VIEW_COUNT;
|
|
17
|
+
const showPrevButton = isUseSlider && activeCardIndex > 0;
|
|
18
|
+
return (_jsxs(BlockWrapper, { className: `bg-white relative font-sans p-[50px] overflow-hidden text-center ${className}`, ...rest, children: [_jsx(Headline, { className: "!p-0", title: title, description: description, headlineVersion: "M", align: "center", ...rest }), _jsx("div", { className: "flex duration-1000 gap-3.5 mt-8", style: { transform: `translateX(-${activeCardIndex * CARD_SHIFT}px)` }, role: "list", children: cards?.length ? cards.map((card, i) => _jsx(CatalogCard, { ...card }, String(i))) : null }), renderArrows({
|
|
19
|
+
handler: [handlePrevClick, handleNextClick],
|
|
20
|
+
isShown: [showPrevButton, showNextButton],
|
|
21
|
+
btnClass: ['left-8', 'right-8'],
|
|
22
|
+
className: 'top-1/2 z-10 mt-6',
|
|
17
23
|
}), _jsx("div", { className: `${BLUR_BLOCK_CLASSES} left-0 bg-opacity-from-white` }), _jsx("div", { className: `${BLUR_BLOCK_CLASSES} right-0 bg-opacity-to-white` })] }));
|
|
18
24
|
});
|
|
19
|
-
const renderCatalogCard = (context) => (card, i) => {
|
|
20
|
-
return _jsx(CatalogCard, { context: context, ...card }, String(i));
|
|
21
|
-
};
|
|
22
|
-
const renderNavButtons = ({ cardsCount, activeCardIndex, setActiveCardIndex, }) => {
|
|
23
|
-
const handleNextClick = () => setActiveCardIndex(activeCardIndex + 1);
|
|
24
|
-
const handlePrevClick = () => setActiveCardIndex(activeCardIndex - 1);
|
|
25
|
-
const isUseSlider = cardsCount > CARD_FULL_VIEW_COUNT;
|
|
26
|
-
const showNextButton = isUseSlider && cardsCount - activeCardIndex > CARD_FULL_VIEW_COUNT;
|
|
27
|
-
const showPrevButton = isUseSlider && activeCardIndex > 0;
|
|
28
|
-
return renderArrows({
|
|
29
|
-
handler: [handlePrevClick, handleNextClick],
|
|
30
|
-
isShown: [showPrevButton, showNextButton],
|
|
31
|
-
btnClass: ['left-8', 'right-8'],
|
|
32
|
-
className: 'top-1/2 z-10 mt-6',
|
|
33
|
-
});
|
|
34
|
-
};
|
|
35
25
|
//# sourceMappingURL=Catalog.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Catalog.js","sourceRoot":"","sources":["../../../src/components/Catalog/Catalog.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"Catalog.js","sourceRoot":"","sources":["../../../src/components/Catalog/Catalog.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAEpE,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAChE,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAK5C,MAAM,kBAAkB,GAAG,kCAAkC,CAAC;AAC9D,MAAM,oBAAoB,GAAG,CAAC,CAAC;AAC/B,MAAM,UAAU,GAAG,GAAG,CAAC;AAEvB,MAAM,CAAC,MAAM,OAAO,GAAG,GAAG,CACxB,CAAC,EAAE,KAAK,GAAG,EAAE,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IAC9D,MAAM,CAAC,eAAe,EAAE,kBAAkB,CAAC,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC;IAE1D,MAAM,eAAe,GAAG,WAAW,CAAC,GAAG,EAAE,CAAC,kBAAkB,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;IAChF,MAAM,eAAe,GAAG,WAAW,CAAC,GAAG,EAAE,CAAC,kBAAkB,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;IAEhF,MAAM,WAAW,GAAG,KAAK,CAAC,MAAM,GAAG,oBAAoB,CAAC;IACxD,MAAM,cAAc,GAAG,WAAW,IAAI,KAAK,CAAC,MAAM,GAAG,eAAe,GAAG,oBAAoB,CAAC;IAC5F,MAAM,cAAc,GAAG,WAAW,IAAI,eAAe,GAAG,CAAC,CAAC;IAE1D,OAAO,CACL,MAAC,YAAY,IACX,SAAS,EAAE,oEAAoE,SAAS,EAAE,KACtF,IAAI,aAER,KAAC,QAAQ,IACP,SAAS,EAAC,MAAM,EAChB,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,eAAe,EAAC,GAAG,EACnB,KAAK,EAAC,QAAQ,KACV,IAAI,GACR,EACF,cACE,SAAS,EAAC,iCAAiC,EAC3C,KAAK,EAAE,EAAE,SAAS,EAAE,eAAe,eAAe,GAAG,UAAU,KAAK,EAAE,EACtE,IAAI,EAAC,MAAM,YAEV,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,KAAC,WAAW,OAAqB,IAAI,IAAnB,MAAM,CAAC,CAAC,CAAC,CAAc,CAAC,CAAC,CAAC,CAAC,IAAI,GACrF,EACL,YAAY,CAAC;gBACZ,OAAO,EAAE,CAAC,eAAe,EAAE,eAAe,CAAC;gBAC3C,OAAO,EAAE,CAAC,cAAc,EAAE,cAAc,CAAC;gBACzC,QAAQ,EAAE,CAAC,QAAQ,EAAE,SAAS,CAAC;gBAC/B,SAAS,EAAE,mBAAmB;aAC/B,CAAC,EACF,cAAK,SAAS,EAAE,GAAG,kBAAkB,+BAA+B,GAAI,EACxE,cAAK,SAAS,EAAE,GAAG,kBAAkB,8BAA8B,GAAI,IAC1D,CAChB,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { BlockVersion } from '../../model/BlockVersion';
|
|
2
|
-
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
3
2
|
import type { CatalogCardType } from './CatalogContent';
|
|
4
|
-
export interface CatalogCardProps extends CatalogCardType
|
|
3
|
+
export interface CatalogCardProps extends CatalogCardType {
|
|
4
|
+
className?: string;
|
|
5
5
|
version?: BlockVersion;
|
|
6
6
|
}
|
|
7
7
|
export declare const CatalogCard: import("@redneckz/uni-jsx").UNIComponent<CatalogCardProps, any, any>;
|
|
@@ -7,8 +7,6 @@ const cardStyleMap = {
|
|
|
7
7
|
black: 'bg-black',
|
|
8
8
|
white: 'bg-white',
|
|
9
9
|
};
|
|
10
|
-
export const CatalogCard = JSX(({ className = '', title, description, image, price, button, colors }) => {
|
|
11
|
-
return (_jsxs("section", { className: `border border-solid box-border border-main-stroke p-[30px] min-w-[402px] flex flex-col justify-left ${className}`, role: "listitem", children: [image?.src ? _jsx(Img, { className: "mb-5 flex justify-center", image: image }) : null, title ? (_jsx(Heading, { headingType: "h6", as: "h4", className: "text-left mb-1.5", title: title })) : null, description ? _jsx("div", { className: "text-m-light text-left mb-4", children: description }) : null, colors?.length ? (_jsxs("div", { className: "flex mb-4 text-s-light text-secondary-text", children: [_jsx("div", { className: "mr-1.5", children: "\u0414\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0435 \u0446\u0432\u0435\u0442\u0430: " }), colors.map(renderColorOption)] })) : null, price ? _jsxs("div", { className: "text-h3 text-left", children: [price, "\u00A0\u20BD"] }) : null, button ? renderButton({ button, buttonClassName: 'mt-5 w-full' }) : null] }));
|
|
12
|
-
});
|
|
10
|
+
export const CatalogCard = JSX(({ className = '', title, description, image, price, button, colors }) => (_jsxs("section", { className: `border border-solid box-border border-main-stroke p-[30px] min-w-[402px] flex flex-col justify-left ${className}`, role: "listitem", children: [image?.src ? _jsx(Img, { className: "mb-5 flex justify-center", image: image }) : null, title ? (_jsx(Heading, { headingType: "h6", as: "h4", className: "text-left mb-1.5", title: title })) : null, description ? _jsx("div", { className: "text-m-light text-left mb-4", children: description }) : null, colors?.length ? (_jsxs("div", { className: "flex mb-4 text-s-light text-secondary-text", children: [_jsx("div", { className: "mr-1.5", children: "\u0414\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0435 \u0446\u0432\u0435\u0442\u0430: " }), colors.map(renderColorOption)] })) : null, price ? _jsxs("div", { className: "text-h3 text-left", children: [price, "\u00A0\u20BD"] }) : null, button ? renderButton({ button, buttonClassName: 'mt-5 w-full' }) : null] })));
|
|
13
11
|
const renderColorOption = (color, i) => (_jsx("span", { className: `w-6 h-6 ml-3 border border-solid border-main-divider rounded-full ${cardStyleMap[color]}` }, String(i)));
|
|
14
12
|
//# sourceMappingURL=CatalogCard.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CatalogCard.js","sourceRoot":"","sources":["../../../src/components/Catalog/CatalogCard.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"CatalogCard.js","sourceRoot":"","sources":["../../../src/components/Catalog/CatalogCard.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAC;AACjE,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAQ3C,MAAM,YAAY,GAAwC;IACxD,KAAK,EAAE,UAAU;IACjB,KAAK,EAAE,UAAU;CAClB,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAC5B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,CACxE,mBACE,SAAS,EAAE,uGAAuG,SAAS,EAAE,EAC7H,IAAI,EAAC,UAAU,aAEd,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,KAAC,GAAG,IAAC,SAAS,EAAC,0BAA0B,EAAC,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,EAC9E,KAAK,CAAC,CAAC,CAAC,CACP,KAAC,OAAO,IAAC,WAAW,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,SAAS,EAAC,kBAAkB,EAAC,KAAK,EAAE,KAAK,GAAI,CAChF,CAAC,CAAC,CAAC,IAAI,EACP,WAAW,CAAC,CAAC,CAAC,cAAK,SAAS,EAAC,6BAA6B,YAAE,WAAW,GAAO,CAAC,CAAC,CAAC,IAAI,EACrF,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC,CAChB,eAAK,SAAS,EAAC,4CAA4C,aACzD,cAAK,SAAS,EAAC,QAAQ,wGAAwB,EAC9C,MAAM,CAAC,GAAG,CAAC,iBAAiB,CAAC,IAC1B,CACP,CAAC,CAAC,CAAC,IAAI,EACP,KAAK,CAAC,CAAC,CAAC,eAAK,SAAS,EAAC,mBAAmB,aAAE,KAAK,oBAAc,CAAC,CAAC,CAAC,IAAI,EACtE,MAAM,CAAC,CAAC,CAAC,YAAY,CAAC,EAAE,MAAM,EAAE,eAAe,EAAE,aAAa,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,IACjE,CACX,CACF,CAAC;AAEF,MAAM,iBAAiB,GAAG,CAAC,KAA0B,EAAE,CAAS,EAAE,EAAE,CAAC,CACnE,eAEE,SAAS,EAAE,qEAAqE,YAAY,CAAC,KAAK,CAAC,EAAE,IADhG,MAAM,CAAC,CAAC,CAAC,CAEd,CACH,CAAC"}
|
|
@@ -8,7 +8,7 @@ export const ComparisonTable = JSX((props) => {
|
|
|
8
8
|
const { className, title } = props;
|
|
9
9
|
return (_jsxs("section", { className: `bg-white font-sans px-4 py-6 overflow-hidden text-primary-text relative ${className || ''}`, children: [title ? (_jsx(Heading, { headingType: "h3", className: "font-medium text-center m-0 mb-5", title: title })) : null, _jsx("div", { role: "table", children: _jsx(TableInner, { ...props }) })] }));
|
|
10
10
|
});
|
|
11
|
-
const TableInner = JSX(({ columns, rowHeaders, isColoredFirstColumn, visibleRowLength, orientation,
|
|
11
|
+
const TableInner = JSX(({ columns, rowHeaders, isColoredFirstColumn, visibleRowLength, orientation, ...rest }) => {
|
|
12
12
|
const [columnsViewState, setColumnsViewState] = useState(new Array(columns?.length || 0).fill(!visibleRowLength));
|
|
13
13
|
const handleToggleColumn = useCallback((colIndex) => {
|
|
14
14
|
const toggleColState = (colState, i) => i === colIndex ? !colState : colState;
|
|
@@ -16,7 +16,7 @@ const TableInner = JSX(({ columns, rowHeaders, isColoredFirstColumn, visibleRowL
|
|
|
16
16
|
}, []);
|
|
17
17
|
const handleSlideChange = useCallback(() => setColumnsViewState((_) => new Array(_.length).fill(false)), []);
|
|
18
18
|
const getColumnData = (cellData) => cellData?.map((cell, i) => ({ cell, rowHeader: rowHeaders?.[i]?.title }));
|
|
19
|
-
const tableColumns = columns?.map(({ data, header }, colIndex) => (_jsx(TableColumn, {
|
|
20
|
-
return orientation === 'horizontal' ? (_jsx(SwipeListControl, {
|
|
19
|
+
const tableColumns = columns?.map(({ data, header }, colIndex) => (_jsx(TableColumn, { visibleRowLength: visibleRowLength, showRow: columnsViewState[colIndex], header: header, columnData: getColumnData(data), isFillGradient: colIndex === 0 && isColoredFirstColumn, onToggleColumn: () => handleToggleColumn(colIndex), ...rest }, String(colIndex))));
|
|
20
|
+
return orientation === 'horizontal' ? (_jsx(SwipeListControl, { onSlideChange: handleSlideChange, children: tableColumns })) : (tableColumns);
|
|
21
21
|
});
|
|
22
22
|
//# sourceMappingURL=ComparisonTable.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ComparisonTable.js","sourceRoot":"","sources":["../../../src/components/ComparisonTable/ComparisonTable.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAEpE,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC;AAElF,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAI5C,MAAM,CAAC,MAAM,eAAe,GAAG,GAAG,CAAuB,CAAC,KAAK,EAAE,EAAE;IACjE,MAAM,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,KAAK,CAAC;IAEnC,OAAO,CACL,mBACE,SAAS,EAAE,2EACT,SAAS,IAAI,EACf,EAAE,aAED,KAAK,CAAC,CAAC,CAAC,CACP,KAAC,OAAO,IAAC,WAAW,EAAC,IAAI,EAAC,SAAS,EAAC,kCAAkC,EAAC,KAAK,EAAE,KAAK,GAAI,CACxF,CAAC,CAAC,CAAC,IAAI,EACR,cAAK,IAAI,EAAC,OAAO,YACf,KAAC,UAAU,OAAK,KAAK,GAAI,GACrB,IACE,CACX,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,UAAU,GAAG,GAAG,CACpB,CAAC,EAAE,OAAO,EAAE,UAAU,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"ComparisonTable.js","sourceRoot":"","sources":["../../../src/components/ComparisonTable/ComparisonTable.tsx"],"names":[],"mappings":"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"}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Column, RowHeader } from './ComparisonTableContent';
|
|
1
|
+
import type { Column, RowHeader } from './ComparisonTableContent';
|
|
3
2
|
interface ComparisonTableBodyProps {
|
|
4
|
-
context: ContentPageContext;
|
|
5
3
|
columns?: Column[];
|
|
6
4
|
rowHeaders?: RowHeader[];
|
|
7
5
|
isShowAllRow: boolean;
|
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
-
import { useState } from '@redneckz/uni-jsx/lib/hooks';
|
|
4
3
|
import { useTableArrowScrollControl } from '../../hooks/useTableArrowScrollControl.js';
|
|
5
4
|
import { ComparisonTableColumnHeaders } from './ComparisonTableColumnHeaders.js';
|
|
6
5
|
import { ComparisonTableRows } from './ComparisonTableRows.js';
|
|
7
6
|
import { COLS_LENGTH_FOR_SCROLL } from './constants.js';
|
|
8
|
-
export const ComparisonTableBody = JSX(({
|
|
9
|
-
const router = context.useRouter();
|
|
10
|
-
const { handlerDecorator } = context;
|
|
7
|
+
export const ComparisonTableBody = JSX(({ columns, rowHeaders, isShowAllRow, visibleRowLength, isColoredFirstColumn }) => {
|
|
11
8
|
const colHeaders = columns?.map(({ header }) => header || {});
|
|
12
9
|
const colData = columns?.map(({ data }) => data) || [];
|
|
13
10
|
const rowData = rowHeaders
|
|
@@ -16,14 +13,11 @@ export const ComparisonTableBody = JSX(({ context, columns, rowHeaders, isShowAl
|
|
|
16
13
|
data: colData.map((col) => col?.[i] || [{}]),
|
|
17
14
|
}))
|
|
18
15
|
.slice(0, isShowAllRow ? rowHeaders.length : visibleRowLength);
|
|
19
|
-
const [activeCardIndex, setActiveCardIndex] = useState(0);
|
|
20
16
|
const tableArrowScrollProps = useTableArrowScrollControl({
|
|
21
17
|
columnsLength: colData.length,
|
|
22
18
|
colsLengthForScroll: COLS_LENGTH_FOR_SCROLL,
|
|
23
|
-
activeCardIndex,
|
|
24
|
-
setActiveCardIndex,
|
|
25
19
|
});
|
|
26
|
-
const { isScrollAvailable } = tableArrowScrollProps;
|
|
27
|
-
return (_jsxs("div", { children: [_jsxs("div", { role: "table", children: [colHeaders?.length ? (_jsx(ComparisonTableColumnHeaders, { colHeaders: colHeaders, activeCardIndex: activeCardIndex
|
|
20
|
+
const { activeCardIndex, isScrollAvailable } = tableArrowScrollProps;
|
|
21
|
+
return (_jsxs("div", { children: [_jsxs("div", { role: "table", children: [colHeaders?.length ? (_jsx(ComparisonTableColumnHeaders, { colHeaders: colHeaders, activeCardIndex: activeCardIndex })) : null, rowData?.length ? (_jsx(ComparisonTableRows, { rowData: rowData, isColoredFirstColumn: isColoredFirstColumn, ...tableArrowScrollProps })) : null] }), isScrollAvailable ? (_jsx("div", { className: "absolute top-0 right-0 bottom-0 w-[84px] bg-opacity-to-white" })) : null] }));
|
|
28
22
|
});
|
|
29
23
|
//# sourceMappingURL=ComparisonTableBody.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ComparisonTableBody.js","sourceRoot":"","sources":["../../../src/components/ComparisonTable/ComparisonTableBody.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"ComparisonTableBody.js","sourceRoot":"","sources":["../../../src/components/ComparisonTable/ComparisonTableBody.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,0BAA0B,EAAE,MAAM,wCAAwC,CAAC;AACpF,OAAO,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAE9E,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAUrD,MAAM,CAAC,MAAM,mBAAmB,GAAG,GAAG,CACpC,CAAC,EAAE,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,EAAE,EAAE;IAChF,MAAM,UAAU,GAAG,OAAO,EAAE,GAAG,CAAC,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,MAAM,IAAI,EAAE,CAAC,CAAC;IAC9D,MAAM,OAAO,GAAG,OAAO,EAAE,GAAG,CAAC,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;IACvD,MAAM,OAAO,GAAG,UAAU;QACxB,EAAE,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;QACpB,MAAM;QACN,IAAI,EAAE,OAAO,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;KAC7C,CAAC,CAAC;SACF,KAAK,CAAC,CAAC,EAAE,YAAY,CAAC,CAAC,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC;IAEjE,MAAM,qBAAqB,GAAG,0BAA0B,CAAC;QACvD,aAAa,EAAE,OAAO,CAAC,MAAM;QAC7B,mBAAmB,EAAE,sBAAsB;KAC5C,CAAC,CAAC;IACH,MAAM,EAAE,eAAe,EAAE,iBAAiB,EAAE,GAAG,qBAAqB,CAAC;IAErE,OAAO,CACL,0BACE,eAAK,IAAI,EAAC,OAAO,aACd,UAAU,EAAE,MAAM,CAAC,CAAC,CAAC,CACpB,KAAC,4BAA4B,IAC3B,UAAU,EAAE,UAAU,EACtB,eAAe,EAAE,eAAe,GAChC,CACH,CAAC,CAAC,CAAC,IAAI,EACP,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC,CACjB,KAAC,mBAAmB,IAClB,OAAO,EAAE,OAAO,EAChB,oBAAoB,EAAE,oBAAoB,KACtC,qBAAqB,GACzB,CACH,CAAC,CAAC,CAAC,IAAI,IACJ,EACL,iBAAiB,CAAC,CAAC,CAAC,CACnB,cAAK,SAAS,EAAC,8DAA8D,GAAG,CACjF,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
import type { HandlerDecorator, Router } from '../ContentPage/ContentPageContext';
|
|
2
1
|
import type { ColumnHeader } from './ComparisonTableContent';
|
|
3
2
|
interface ComparisonTableColumnHeadersProps {
|
|
4
3
|
colHeaders: ColumnHeader[];
|
|
5
4
|
activeCardIndex: number;
|
|
6
|
-
router: Router;
|
|
7
|
-
handlerDecorator: HandlerDecorator | undefined;
|
|
8
5
|
}
|
|
9
6
|
export declare const ComparisonTableColumnHeaders: import("@redneckz/uni-jsx").UNIComponent<ComparisonTableColumnHeadersProps, any, any>;
|
|
10
7
|
export {};
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
-
import { useLink } from '../../hooks/useLink.js';
|
|
4
3
|
import { COLUMN_WIDTH, FIRST_CELL_CLASSES } from './constants.js';
|
|
5
4
|
import { HeaderCell } from './HeaderCell.js';
|
|
6
5
|
import { TableCarouselContainer } from './TableCarouselContainer.js';
|
|
7
6
|
import { TableRowContainer } from './TableRowContainer.js';
|
|
8
|
-
export const ComparisonTableColumnHeaders = JSX(({ colHeaders, activeCardIndex,
|
|
9
|
-
return (_jsxs(TableRowContainer, { children: [_jsx("div", { className: FIRST_CELL_CLASSES, role: "columnheader" }), _jsx(TableCarouselContainer, { activeCardIndex: activeCardIndex, columnWidth: COLUMN_WIDTH, children: colHeaders.map((header, i) => (_jsx(HeaderCell, { ...header, link: header.link && useLink({ router, handlerDecorator }, header.link) }, String(i)))) })] }));
|
|
10
|
-
});
|
|
7
|
+
export const ComparisonTableColumnHeaders = JSX(({ colHeaders, activeCardIndex }) => (_jsxs(TableRowContainer, { children: [_jsx("div", { className: FIRST_CELL_CLASSES, role: "columnheader" }), _jsx(TableCarouselContainer, { activeCardIndex: activeCardIndex, columnWidth: COLUMN_WIDTH, children: colHeaders.map((header, i) => (_jsx(HeaderCell, { ...header }, String(i)))) })] })));
|
|
11
8
|
//# sourceMappingURL=ComparisonTableColumnHeaders.js.map
|