@redneckz/wildless-cms-uni-blocks 0.6.26 → 0.6.27
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 +369 -408
- 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/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/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/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/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/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/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/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/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
|
@@ -16,7 +16,7 @@ export interface DispositionItem extends LinkProps {
|
|
|
16
16
|
/** @hidden */
|
|
17
17
|
icon?: Picture;
|
|
18
18
|
}
|
|
19
|
-
export interface
|
|
19
|
+
export interface SitemapDataProps {
|
|
20
20
|
/** @title Основное меню */
|
|
21
21
|
topItems?: TopMenuItem[];
|
|
22
22
|
/** @title Дополнительное меню */
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { Router } from '../../
|
|
1
|
+
import type { Router } from '../../hooks/useRouter';
|
|
2
2
|
import type { LinkProps } from '../../model/LinkProps';
|
|
3
3
|
export declare const findActiveSubItem: (router: Router) => <T extends LinkProps>(items?: T[]) => T | undefined;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
2
|
exports.isHrefActive = void 0;
|
|
3
3
|
const url_1 = require("../../utils/url");
|
|
4
|
-
const withoutMobilePath_1 = require("../../utils/withoutMobilePath");
|
|
5
4
|
const isHrefActive = (href, router, cmp = (targetHref, baseHref) => baseHref.startsWith(targetHref)) => {
|
|
6
|
-
return cmp((0, url_1.withoutQuery)(href), (0,
|
|
5
|
+
return cmp((0, url_1.withoutQuery)(href), (0, url_1.withoutQuery)((0, url_1.isURL)(href) ? router.href : router.pathname));
|
|
7
6
|
};
|
|
8
7
|
exports.isHrefActive = isHrefActive;
|
|
9
8
|
//# sourceMappingURL=isHrefActive.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"isHrefActive.js","sourceRoot":"","sources":["../../../src/services/sitemap/isHrefActive.ts"],"names":[],"mappings":";;AAAA,yCAAsD;
|
|
1
|
+
{"version":3,"file":"isHrefActive.js","sourceRoot":"","sources":["../../../src/services/sitemap/isHrefActive.ts"],"names":[],"mappings":";;AAAA,yCAAsD;AAE/C,MAAM,YAAY,GAAG,CAC1B,IAAwB,EACxB,MAA4C,EAC5C,MAAyD,CAAC,UAAU,EAAE,QAAQ,EAAE,EAAE,CAChF,QAAQ,CAAC,UAAU,CAAC,UAAU,CAAC,EACjC,EAAE;IACF,OAAO,GAAG,CAAC,IAAA,kBAAY,EAAC,IAAI,CAAC,EAAE,IAAA,kBAAY,EAAC,IAAA,WAAK,EAAC,IAAI,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC;AAC5F,CAAC,CAAC;AAPW,QAAA,YAAY,gBAOvB"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { Router } from '../../
|
|
1
|
+
import type { Router } from '../../hooks/useRouter';
|
|
2
2
|
import type { LinkProps } from '../../model/LinkProps';
|
|
3
3
|
export declare const isSubItemActive: (router: Router) => (subItem: LinkProps) => boolean;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { Router } from '../../
|
|
1
|
+
import type { Router } from '../../hooks/useRouter';
|
|
2
2
|
import { TopMenuItem } from './SitemapProps';
|
|
3
3
|
export declare const isTopItemActive: (router: Router) => (topItem: TopMenuItem) => boolean;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
+
exports.useSWRResource = void 0;
|
|
3
|
+
const useAsyncData_1 = require("@redneckz/uni-jsx/lib/hooks/useAsyncData");
|
|
4
|
+
const fetchJSON_1 = require("../../utils/fetchJSON");
|
|
5
|
+
function useSWRResource(fileName, fallback = {}) {
|
|
6
|
+
const { data } = (0, useAsyncData_1.useAsyncData)(`/wcms-resources/${fileName}.json`, fetchJSON_1.fetchJSONUnsafe, {
|
|
7
|
+
fallback,
|
|
8
|
+
});
|
|
9
|
+
return data || {};
|
|
10
|
+
}
|
|
11
|
+
exports.useSWRResource = useSWRResource;
|
|
12
|
+
//# sourceMappingURL=useSWRResource.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useSWRResource.js","sourceRoot":"","sources":["../../../src/services/sitemap/useSWRResource.ts"],"names":[],"mappings":";;AAAA,2EAAwE;AAExE,qDAAwD;AAExD,SAAgB,cAAc,CAAO,QAAgB,EAAE,WAAqB,EAAE;IAC5E,MAAM,EAAE,IAAI,EAAE,GAAG,IAAA,2BAAY,EAAO,mBAAmB,QAAQ,OAAO,EAAE,2BAAe,EAAE;QACvF,QAAQ;KACT,CAAC,CAAC;IAEH,OAAO,IAAI,IAAK,EAAW,CAAC;AAC9B,CAAC;AAND,wCAMC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { UniBlockProps } from '../model/JSXBlock';
|
|
2
|
-
interface BlockWrapperProps extends UniBlockProps
|
|
3
|
-
anchor?: string;
|
|
2
|
+
interface BlockWrapperProps extends UniBlockProps {
|
|
4
3
|
tag?: keyof HTMLElementTagNameMap;
|
|
4
|
+
role?: string;
|
|
5
5
|
}
|
|
6
6
|
export declare const BlockWrapper: import("@redneckz/uni-jsx").UNIComponent<BlockWrapperProps, any, any>;
|
|
7
7
|
export {};
|
|
@@ -12,8 +12,9 @@ const THRESHOLD_ARRAY_START_VALUE = (THRESHOLD_ACCURACY - THRESHOLD_ARRAY_LENGTH
|
|
|
12
12
|
const OBSERVER_OPTIONS = {
|
|
13
13
|
threshold: new Array(THRESHOLD_ARRAY_LENGTH).fill(0).map(getIntersectionThreshold),
|
|
14
14
|
};
|
|
15
|
-
exports.BlockWrapper = (0, uni_jsx_1.JSX)(({
|
|
15
|
+
exports.BlockWrapper = (0, uni_jsx_1.JSX)(({ className, block, tag = 'section', role, children }) => {
|
|
16
16
|
const Tag = tag;
|
|
17
|
+
const { anchor, labels } = block || {};
|
|
17
18
|
const [isVisible, setVisible] = (0, hooks_1.useState)(true);
|
|
18
19
|
const anchorClickRef = (0, hooks_1.useRef)({});
|
|
19
20
|
const observerCallback = (0, hooks_1.useMemo)(() => (0, changeHashOnObserve_1.changeHashOnObserve)({ anchor, anchorClickRef }), [anchor]);
|
|
@@ -24,7 +25,7 @@ exports.BlockWrapper = (0, uni_jsx_1.JSX)(({ anchor, className, children, tag =
|
|
|
24
25
|
}), []);
|
|
25
26
|
(0, hooks_1.useEffect)(() => EventBus_1.EventBus.inst.subscribe('tab', (event) => {
|
|
26
27
|
if (event.type === 'group') {
|
|
27
|
-
const hasSettings = labels?.length || anchor;
|
|
28
|
+
const hasSettings = labels?.length || block?.anchor;
|
|
28
29
|
setVisible(event.label ? !hasSettings || Boolean(labels?.includes(event.label)) : true);
|
|
29
30
|
}
|
|
30
31
|
else {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BlockWrapper.js","sourceRoot":"","sources":["../../src/ui-kit/BlockWrapper.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAmF;AAEnF,mDAAgD;AAChD,8EAA2E;AAE3E,sEAAmE;AAOnE,MAAM,kBAAkB,GAAG,GAAG,CAAC,CAAC,yDAAyD;AACzF,MAAM,sBAAsB,GAAG,EAAE,CAAC;AAClC,MAAM,2BAA2B,GAC/B,CAAC,kBAAkB,GAAG,sBAAsB,CAAC,GAAG,kBAAkB,CAAC;AAErE,MAAM,gBAAgB,GAAG;IACvB,SAAS,EAAE,IAAI,KAAK,CAAC,sBAAsB,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,wBAAwB,CAAC;CACnF,CAAC;AAEW,QAAA,YAAY,GAAG,IAAA,aAAG,EAC7B,CAAC,EAAE,
|
|
1
|
+
{"version":3,"file":"BlockWrapper.js","sourceRoot":"","sources":["../../src/ui-kit/BlockWrapper.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAmF;AAEnF,mDAAgD;AAChD,8EAA2E;AAE3E,sEAAmE;AAOnE,MAAM,kBAAkB,GAAG,GAAG,CAAC,CAAC,yDAAyD;AACzF,MAAM,sBAAsB,GAAG,EAAE,CAAC;AAClC,MAAM,2BAA2B,GAC/B,CAAC,kBAAkB,GAAG,sBAAsB,CAAC,GAAG,kBAAkB,CAAC;AAErE,MAAM,gBAAgB,GAAG;IACvB,SAAS,EAAE,IAAI,KAAK,CAAC,sBAAsB,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,wBAAwB,CAAC;CACnF,CAAC;AAEW,QAAA,YAAY,GAAG,IAAA,aAAG,EAC7B,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,GAAG,SAAS,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,EAAE;IACxD,MAAM,GAAG,GAAQ,GAAG,CAAC;IAErB,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,KAAK,IAAI,EAAE,CAAC;IAEvC,MAAM,CAAC,SAAS,EAAE,UAAU,CAAC,GAAG,IAAA,gBAAQ,EAAC,IAAI,CAAC,CAAC;IAC/C,MAAM,cAAc,GAAG,IAAA,cAAM,EAA4B,EAAE,CAAC,CAAC;IAE7D,MAAM,gBAAgB,GAAG,IAAA,eAAO,EAC9B,GAAG,EAAE,CAAC,IAAA,yCAAmB,EAAC,EAAE,MAAM,EAAE,cAAc,EAAE,CAAC,EACrD,CAAC,MAAM,CAAC,CACT,CAAC;IACF,MAAM,GAAG,GAAG,IAAA,iDAAuB,EAAC,gBAAgB,EAAE,gBAAgB,CAAC,CAAC;IAExE,IAAA,iBAAS,EACP,GAAG,EAAE,CACH,mBAAQ,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE,CAAC,CAAC,EAAE,EAAE;QAC3C,UAAU,CAAC,IAAI,CAAC,CAAC;QACjB,cAAc,CAAC,OAAO,GAAG,CAAC,CAAC;IAC7B,CAAC,CAAC,EACJ,EAAE,CACH,CAAC;IACF,IAAA,iBAAS,EACP,GAAG,EAAE,CACH,mBAAQ,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE,CAAC,KAAK,EAAE,EAAE;QACvC,IAAI,KAAK,CAAC,IAAI,KAAK,OAAO,EAAE;YAC1B,MAAM,WAAW,GAAG,MAAM,EAAE,MAAM,IAAI,KAAK,EAAE,MAAM,CAAC;YACpD,UAAU,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,WAAW,IAAI,OAAO,CAAC,MAAM,EAAE,QAAQ,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;SACzF;aAAM;YACL,UAAU,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;YACxB,UAAU,CAAC,IAAI,CAAC,CAAC;SAClB;IACH,CAAC,CAAC,EACJ,EAAE,CACH,CAAC;IAEF,OAAO,SAAS,CAAC,CAAC,CAAC,CACjB,uBAAC,GAAG,IAAC,SAAS,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,KAAM,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,YAC3E,QAAQ,GACL,CACP,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CACF,CAAC;AAEF,SAAS,wBAAwB,CAAC,CAAS,EAAE,CAAS;IACpD,MAAM,KAAK,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,kBAAkB,GAAG,2BAA2B,CAAC;IAEzE,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,GAAG,kBAAkB,CAAC,GAAG,kBAAkB,CAAC;AACrE,CAAC;AAED,SAAS,UAAU,CAAC,KAAc;IAChC,IAAI,KAAK,EAAE;QACT,UAAU,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,GAAG,KAAK,CAAC;KAC3C;AACH,CAAC"}
|
|
@@ -2,5 +2,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
2
2
|
exports.Breadcrumb = void 0;
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
-
|
|
5
|
+
const useLink_1 = require("../hooks/useLink");
|
|
6
|
+
exports.Breadcrumb = (0, uni_jsx_1.JSX)(({ className = '', children, ...props }) => {
|
|
7
|
+
const link = (0, useLink_1.useLink)();
|
|
8
|
+
const { text, href, target, onClick } = link(props);
|
|
9
|
+
return href ? ((0, jsx_runtime_1.jsx)("a", { className: `no-underline ${className}`, href: href, target: target, onClick: onClick, children: (0, jsx_runtime_1.jsx)("span", { className: className, children: text || children }) })) : ((0, jsx_runtime_1.jsx)("span", { className: className, children: text || children }));
|
|
10
|
+
});
|
|
6
11
|
//# sourceMappingURL=Breadcrumb.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Breadcrumb.js","sourceRoot":"","sources":["../../src/ui-kit/Breadcrumb.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;
|
|
1
|
+
{"version":3,"file":"Breadcrumb.js","sourceRoot":"","sources":["../../src/ui-kit/Breadcrumb.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,8CAA2C;AAQ9B,QAAA,UAAU,GAAG,IAAA,aAAG,EAAkB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,EAAE;IACxF,MAAM,IAAI,GAAG,IAAA,iBAAO,GAAE,CAAC;IACvB,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC;IAEpD,OAAO,IAAI,CAAC,CAAC,CAAC,CACZ,8BAAG,SAAS,EAAE,gBAAgB,SAAS,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,YACrF,iCAAM,SAAS,EAAE,SAAS,YAAG,IAAI,IAAI,QAAQ,GAAQ,GACnD,CACL,CAAC,CAAC,CAAC,CACF,iCAAM,SAAS,EAAE,SAAS,YAAG,IAAI,IAAI,QAAQ,GAAQ,CACtD,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -2,17 +2,16 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
2
2
|
exports.Button = void 0;
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
+
const useLink_1 = require("../../hooks/useLink");
|
|
5
6
|
const ButtonInner_1 = require("./ButtonInner");
|
|
6
7
|
const getDisabledButtonClasses_1 = require("./getDisabledButtonClasses");
|
|
7
8
|
const getRegularButtonClasses_1 = require("./getRegularButtonClasses");
|
|
8
|
-
exports.Button = (0, uni_jsx_1.JSX)(({
|
|
9
|
-
const
|
|
10
|
-
|
|
11
|
-
});
|
|
12
|
-
|
|
13
|
-
return ((0, jsx_runtime_1.jsx)("a", { className: (0, getRegularButtonClasses_1.getRegularButtonClasses)({ className, version, rounded }), href: href, target: target, onClick: onClick, "aria-label": ariaLabel, role: href ? 'link' : 'button', rel: rel, children: children }));
|
|
14
|
-
});
|
|
15
|
-
const DisabledButton = (0, uni_jsx_1.JSX)(({ className, children, ariaLabel, version, rounded }) => {
|
|
16
|
-
return ((0, jsx_runtime_1.jsx)("div", { role: "button", "aria-disabled": "true", "aria-label": ariaLabel, tabIndex: -1, className: (0, getDisabledButtonClasses_1.getDisabledButtonClasses)({ className, rounded, version }), children: children }));
|
|
9
|
+
exports.Button = (0, uni_jsx_1.JSX)(({ disabled, children, ...rest }) => {
|
|
10
|
+
const link = (0, useLink_1.useLink)();
|
|
11
|
+
const adjustedProps = link(rest);
|
|
12
|
+
const buttonInner = children ?? (0, jsx_runtime_1.jsx)(ButtonInner_1.ButtonInner, { ...adjustedProps });
|
|
13
|
+
return disabled ? ((0, jsx_runtime_1.jsx)(DisabledButton, { ...adjustedProps, children: buttonInner })) : ((0, jsx_runtime_1.jsx)(RegularButton, { ...adjustedProps, children: buttonInner }));
|
|
17
14
|
});
|
|
15
|
+
const RegularButton = (0, uni_jsx_1.JSX)(({ className = '', href, rel, target, ariaLabel, version, rounded, onClick, children }) => ((0, jsx_runtime_1.jsx)("a", { className: (0, getRegularButtonClasses_1.getRegularButtonClasses)({ className, version, rounded }), href: href, rel: rel, target: target, "aria-label": ariaLabel, role: href ? 'link' : 'button', onClick: onClick, children: children })));
|
|
16
|
+
const DisabledButton = (0, uni_jsx_1.JSX)(({ className, ariaLabel, version, rounded, children }) => ((0, jsx_runtime_1.jsx)("div", { role: "button", "aria-disabled": "true", "aria-label": ariaLabel, tabIndex: -1, className: (0, getDisabledButtonClasses_1.getDisabledButtonClasses)({ className, rounded, version }), children: children })));
|
|
18
17
|
//# sourceMappingURL=Button.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/Button.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,+CAA4C;AAE5C,yEAAsE;AACtE,uEAAoE;AAEvD,QAAA,MAAM,GAAG,IAAA,aAAG,
|
|
1
|
+
{"version":3,"file":"Button.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/Button.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,iDAA8C;AAC9C,+CAA4C;AAE5C,yEAAsE;AACtE,uEAAoE;AAEvD,QAAA,MAAM,GAAG,IAAA,aAAG,EAAsB,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IACjF,MAAM,IAAI,GAAG,IAAA,iBAAO,GAAE,CAAC;IACvB,MAAM,aAAa,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC;IACjC,MAAM,WAAW,GAAG,QAAQ,IAAI,uBAAC,yBAAW,OAAK,aAAa,GAAI,CAAC;IAEnE,OAAO,QAAQ,CAAC,CAAC,CAAC,CAChB,uBAAC,cAAc,OAAK,aAAa,YAAG,WAAW,GAAkB,CAClE,CAAC,CAAC,CAAC,CACF,uBAAC,aAAa,OAAK,aAAa,YAAG,WAAW,GAAiB,CAChE,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,aAAa,GAAG,IAAA,aAAG,EACvB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,CACzF,8BACE,SAAS,EAAE,IAAA,iDAAuB,EAAC,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC,EACnE,IAAI,EAAE,IAAI,EACV,GAAG,EAAE,GAAG,EACR,MAAM,EAAE,MAAM,gBACF,SAAS,EACrB,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,QAAQ,EAC9B,OAAO,EAAE,OAAO,YAEf,QAAQ,GACP,CACL,CACF,CAAC;AAEF,MAAM,cAAc,GAAG,IAAA,aAAG,EACxB,CAAC,EAAE,SAAS,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,CACxD,gCACE,IAAI,EAAC,QAAQ,mBACC,MAAM,gBACR,SAAS,EACrB,QAAQ,EAAE,CAAC,CAAC,EACZ,SAAS,EAAE,IAAA,mDAAwB,EAAC,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC,YAEnE,QAAQ,GACL,CACP,CACF,CAAC"}
|
|
@@ -5,10 +5,10 @@ const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
|
5
5
|
const buttonClassNameConstants_1 = require("./buttonClassNameConstants");
|
|
6
6
|
exports.ButtonInner = (0, uni_jsx_1.JSX)((props) => {
|
|
7
7
|
const { text, aboveText, appendLeft, appendRight, version = 'primary' } = props;
|
|
8
|
-
return ((0, jsx_runtime_1.jsxs)("div", { className: getButtonStyle(props), children: [appendLeft ? (0, jsx_runtime_1.jsx)("div", { className: buttonClassNameConstants_1.iconStyleMap[version], children: appendLeft }) : null, isWithText(props) ? ((0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)("div", { className: "text-xs-light text-left", children: aboveText }), (0, jsx_runtime_1.jsx)("div", { className: `text-left ${aboveText ? 'text-s -mt-0.5' : 'text-l'}`, children: text })] })) : null, appendRight ? (0, jsx_runtime_1.jsx)("div", { className: buttonClassNameConstants_1.iconStyleMap[version], children: appendRight }) : null] }));
|
|
8
|
+
return ((0, jsx_runtime_1.jsxs)("div", { className: getButtonStyle(props), children: [appendLeft ? (0, jsx_runtime_1.jsx)("div", { className: buttonClassNameConstants_1.iconStyleMap[version], children: appendLeft }) : null, isWithText(props) ? ((0, jsx_runtime_1.jsxs)("div", { children: [aboveText ? (0, jsx_runtime_1.jsx)("div", { className: "text-xs-light text-left", children: aboveText }) : null, (0, jsx_runtime_1.jsx)("div", { className: `text-left ${aboveText ? 'text-s -mt-0.5' : 'text-l'}`, children: text })] })) : null, appendRight ? (0, jsx_runtime_1.jsx)("div", { className: buttonClassNameConstants_1.iconStyleMap[version], children: appendRight }) : null] }));
|
|
9
9
|
});
|
|
10
10
|
const getButtonStyle = (props) => {
|
|
11
|
-
const {
|
|
11
|
+
const { version, aboveText, rounded } = props;
|
|
12
12
|
if (version === 'link') {
|
|
13
13
|
return '';
|
|
14
14
|
}
|
|
@@ -17,7 +17,6 @@ const getButtonStyle = (props) => {
|
|
|
17
17
|
'group flex items-center justify-center',
|
|
18
18
|
isWithText(props) ? withTextStyle : 'h-12 w-12',
|
|
19
19
|
rounded ? 'rounded-full' : '',
|
|
20
|
-
className,
|
|
21
20
|
].join(' ');
|
|
22
21
|
};
|
|
23
22
|
const isWithText = ({ text, aboveText, appendLeft }) => Boolean(text || aboveText || !appendLeft);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonInner.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/ButtonInner.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,yEAA0D;AAO7C,QAAA,WAAW,GAAG,IAAA,aAAG,EAAmB,CAAC,KAAK,EAAE,EAAE;IACzD,MAAM,EAAE,IAAI,EAAE,SAAS,EAAE,UAAU,EAAE,WAAW,EAAE,OAAO,GAAG,SAAS,EAAE,GAAG,KAAK,CAAC;IAEhF,OAAO,CACL,iCAAK,SAAS,EAAE,cAAc,CAAC,KAAK,CAAC,aAClC,UAAU,CAAC,CAAC,CAAC,gCAAK,SAAS,EAAE,uCAAY,CAAC,OAAO,CAAC,YAAG,UAAU,GAAO,CAAC,CAAC,CAAC,IAAI,EAC7E,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CACnB,
|
|
1
|
+
{"version":3,"file":"ButtonInner.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/ButtonInner.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,yEAA0D;AAO7C,QAAA,WAAW,GAAG,IAAA,aAAG,EAAmB,CAAC,KAAK,EAAE,EAAE;IACzD,MAAM,EAAE,IAAI,EAAE,SAAS,EAAE,UAAU,EAAE,WAAW,EAAE,OAAO,GAAG,SAAS,EAAE,GAAG,KAAK,CAAC;IAEhF,OAAO,CACL,iCAAK,SAAS,EAAE,cAAc,CAAC,KAAK,CAAC,aAClC,UAAU,CAAC,CAAC,CAAC,gCAAK,SAAS,EAAE,uCAAY,CAAC,OAAO,CAAC,YAAG,UAAU,GAAO,CAAC,CAAC,CAAC,IAAI,EAC7E,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CACnB,4CACG,SAAS,CAAC,CAAC,CAAC,gCAAK,SAAS,EAAC,yBAAyB,YAAE,SAAS,GAAO,CAAC,CAAC,CAAC,IAAI,EAC9E,gCAAK,SAAS,EAAE,aAAa,SAAS,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,QAAQ,EAAE,YAAG,IAAI,GAAO,IAChF,CACP,CAAC,CAAC,CAAC,IAAI,EACP,WAAW,CAAC,CAAC,CAAC,gCAAK,SAAS,EAAE,uCAAY,CAAC,OAAO,CAAC,YAAG,WAAW,GAAO,CAAC,CAAC,CAAC,IAAI,IAC5E,CACP,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,cAAc,GAAG,CAAC,KAAuB,EAAE,EAAE;IACjD,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC;IAE9C,IAAI,OAAO,KAAK,MAAM,EAAE;QACtB,OAAO,EAAE,CAAC;KACX;IAED,MAAM,aAAa,GAAG,SAAS,SAAS,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC;IAEzE,OAAO;QACL,wCAAwC;QACxC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,WAAW;QAC/C,OAAO,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE;KAC9B,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AACd,CAAC,CAAC;AAEF,MAAM,UAAU,GAAG,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,UAAU,EAAoB,EAAE,EAAE,CACvE,OAAO,CAAC,IAAI,IAAI,SAAS,IAAI,CAAC,UAAU,CAAC,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
3
2
|
import type { ButtonContent, ButtonWithIconProps } from './ButtonProps';
|
|
4
|
-
export interface ButtonSectionProps extends ButtonContent
|
|
3
|
+
export interface ButtonSectionProps extends ButtonContent {
|
|
4
|
+
className?: string;
|
|
5
5
|
}
|
|
6
6
|
interface RenderButtonProps {
|
|
7
7
|
button: ButtonWithIconProps;
|
|
@@ -2,14 +2,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
2
2
|
exports.renderButton = exports.ButtonSection = void 0;
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
-
const useLink_1 = require("../../hooks/useLink");
|
|
6
5
|
const Img_1 = require("../Img/Img");
|
|
7
6
|
const Button_1 = require("./Button");
|
|
8
|
-
exports.ButtonSection = (0, uni_jsx_1.JSX)(({
|
|
9
|
-
const { handlerDecorator } = context;
|
|
10
|
-
const router = context.useRouter();
|
|
11
|
-
return buttons && buttons?.length ? ((0, jsx_runtime_1.jsx)("div", { className: className, children: buttons.map((button, index) => renderButton({ button: (0, useLink_1.useLink)({ router, handlerDecorator }, button), index })) })) : null;
|
|
12
|
-
});
|
|
7
|
+
exports.ButtonSection = (0, uni_jsx_1.JSX)(({ className = '', buttons }) => buttons && buttons?.length ? ((0, jsx_runtime_1.jsx)("div", { className: className, children: buttons.map((button, index) => renderButton({ button, index })) })) : null);
|
|
13
8
|
function renderButton({ button, buttonClassName, index }) {
|
|
14
9
|
const { icon, iconRight, version, ...rest } = button;
|
|
15
10
|
const iconVersion = version === 'secondary' ? 'color' : 'white';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonSection.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/ButtonSection.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;
|
|
1
|
+
{"version":3,"file":"ButtonSection.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/ButtonSection.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,oCAAiC;AACjC,qCAAkC;AAYrB,QAAA,aAAa,GAAG,IAAA,aAAG,EAAqB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,CACnF,OAAO,IAAI,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC,CAC3B,gCAAK,SAAS,EAAE,SAAS,YACtB,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE,CAAC,YAAY,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,CAAC,GAC5D,CACP,CAAC,CAAC,CAAC,IAAI,CACT,CAAC;AAEF,SAAgB,YAAY,CAAC,EAAE,MAAM,EAAE,eAAe,EAAE,KAAK,EAAqB;IAChF,MAAM,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;IAErD,MAAM,WAAW,GAAG,OAAO,KAAK,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC;IAEhE,MAAM,QAAQ,GAAG,gBAAgB,CAAC,EAAE,GAAG,IAAI,EAAE,WAAW,EAAE,WAAW,EAAa,CAAC,CAAC;IACpF,MAAM,SAAS,GAAG,gBAAgB,CAAC,EAAE,GAAG,SAAS,EAAE,WAAW,EAAE,WAAW,EAAa,CAAC,CAAC;IAE1F,OAAO,CACL,uBAAC,eAAM,IAEL,SAAS,EAAE,eAAe,EAC1B,UAAU,EAAE,QAAQ,EACpB,WAAW,EAAE,SAAS,EACtB,OAAO,EAAE,OAAO,KACZ,IAAI,IALH,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,CAM/B,CACH,CAAC;AACJ,CAAC;AAlBD,oCAkBC;AAED,MAAM,gBAAgB,GAAG,CAAC,IAAa,EAAE,EAAE;IACzC,IAAI,CAAC,IAAI,EAAE,IAAI,IAAI,CAAC,IAAI,EAAE,GAAG,EAAE;QAC7B,OAAO,IAAI,CAAC;KACb;IACD,MAAM,SAAS,GAAG,IAAI,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC;IAElE,OAAO,uBAAC,SAAG,IAAC,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,EAAC,IAAI,EAAC,KAAK,SAAG,CAAC;AACzE,CAAC,CAAC"}
|
|
@@ -15,8 +15,6 @@ exports.Checkbox = (0, uni_jsx_1.JSX)(({ className, text, checked, isRadio, onCh
|
|
|
15
15
|
return ((0, jsx_runtime_1.jsx)("div", { className: className, children: (0, jsx_runtime_1.jsxs)("label", { className: "flex items-center relative cursor-pointer group", children: [(0, jsx_runtime_1.jsx)("input", { className: `peer appearance-none w-5 h-5 border-solid cursor-pointer group-hover:border-checkbox-hover
|
|
16
16
|
${isRadio ? 'rounded-full border-2' : 'rounded checked:bg-primary-main border'}
|
|
17
17
|
${checked ? 'border-black' : 'border-main-stroke'}
|
|
18
|
-
checked:border-primary-main m-0`, type: "checkbox", onChange: (e) => {
|
|
19
|
-
onChange(e.target.checked);
|
|
20
|
-
}, checked: checked }), isRadio ? ((0, jsx_runtime_1.jsx)("div", { className: "left-1 w-3 h-3 rounded-full bg-primary-main hidden absolute peer-checked:block" })) : ((0, jsx_runtime_1.jsx)(SVG_1.SVG, { paths: CHECK_PATHS, className: "hidden absolute left-1 ml-px peer-checked:block", width: "11", height: "9", fill: "white", viewBox: "0 0 11 9" })), text ? (0, jsx_runtime_1.jsx)("span", { className: "font-sans ml-3 text-l-light", children: text }) : null] }) }));
|
|
18
|
+
checked:border-primary-main m-0`, type: "checkbox", onChange: (e) => onChange && onChange(e.target.checked), checked: checked }), isRadio ? ((0, jsx_runtime_1.jsx)("div", { className: "left-1 w-3 h-3 rounded-full bg-primary-main hidden absolute peer-checked:block" })) : ((0, jsx_runtime_1.jsx)(SVG_1.SVG, { paths: CHECK_PATHS, className: "hidden absolute left-1 ml-px peer-checked:block", width: "11", height: "9", fill: "white", viewBox: "0 0 11 9" })), text ? (0, jsx_runtime_1.jsx)("span", { className: "font-sans ml-3 text-l-light", children: text }) : null] }) }));
|
|
21
19
|
});
|
|
22
20
|
//# sourceMappingURL=Checkbox.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Checkbox.js","sourceRoot":"","sources":["../../../src/ui-kit/Checkbox/Checkbox.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,gCAA6B;AAG7B,MAAM,WAAW,GAAG;IAClB;QACE,CAAC,EAAE,4HAA4H;QAC/H,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;QACnB,IAAI,EAAE,OAAO;KACd;CACF,CAAC;AAEW,QAAA,QAAQ,GAAG,IAAA,aAAG,EAAgB,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC7F,OAAO,CACL,gCAAK,SAAS,EAAE,SAAS,YACvB,mCAAO,SAAS,EAAC,iDAAiD,aAChE,kCACE,SAAS,EAAE;UACX,OAAO,CAAC,CAAC,CAAC,uBAAuB,CAAC,CAAC,CAAC,wCAAwC;UAC5E,OAAO,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,oBAAoB;wCACjB,EAC9B,IAAI,EAAC,UAAU,EACf,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE
|
|
1
|
+
{"version":3,"file":"Checkbox.js","sourceRoot":"","sources":["../../../src/ui-kit/Checkbox/Checkbox.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,gCAA6B;AAG7B,MAAM,WAAW,GAAG;IAClB;QACE,CAAC,EAAE,4HAA4H;QAC/H,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;QACnB,IAAI,EAAE,OAAO;KACd;CACF,CAAC;AAEW,QAAA,QAAQ,GAAG,IAAA,aAAG,EAAgB,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC7F,OAAO,CACL,gCAAK,SAAS,EAAE,SAAS,YACvB,mCAAO,SAAS,EAAC,iDAAiD,aAChE,kCACE,SAAS,EAAE;UACX,OAAO,CAAC,CAAC,CAAC,uBAAuB,CAAC,CAAC,CAAC,wCAAwC;UAC5E,OAAO,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,oBAAoB;wCACjB,EAC9B,IAAI,EAAC,UAAU,EACf,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,QAAQ,IAAI,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,OAAkB,CAAC,EAClE,OAAO,EAAE,OAAO,GAChB,EACD,OAAO,CAAC,CAAC,CAAC,CACT,gCAAK,SAAS,EAAC,gFAAgF,GAAO,CACvG,CAAC,CAAC,CAAC,CACF,uBAAC,SAAG,IACF,KAAK,EAAE,WAAW,EAClB,SAAS,EAAC,iDAAiD,EAC3D,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,GAAG,EACV,IAAI,EAAC,OAAO,EACZ,OAAO,EAAC,UAAU,GAClB,CACH,EACA,IAAI,CAAC,CAAC,CAAC,iCAAM,SAAS,EAAC,6BAA6B,YAAE,IAAI,GAAQ,CAAC,CAAC,CAAC,IAAI,IACpE,GACJ,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -2,9 +2,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
2
2
|
exports.HeaderItem = void 0;
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
+
const useLink_1 = require("../../hooks/useLink");
|
|
5
6
|
const TEXT_CLASSES = 'font-sans text-l-light';
|
|
6
7
|
const BORDER_CLASSES = 'absolute left-0 -bottom-3 w-full h-[2px]';
|
|
7
|
-
exports.HeaderItem = (0, uni_jsx_1.JSX)(({ className = '',
|
|
8
|
+
exports.HeaderItem = (0, uni_jsx_1.JSX)(({ className = '', active, bgColor = 'bg-white', dataItemName, children, ...rest }) => {
|
|
9
|
+
const link = (0, useLink_1.useLink)();
|
|
10
|
+
const { href, target, text, onClick } = link(rest);
|
|
11
|
+
return ((0, jsx_runtime_1.jsxs)("a", { className: `relative inline-block bg-transparent text-center no-underline ${className}`, href: href, target: target, "data-item-name": dataItemName, onClick: onClick, children: [(0, jsx_runtime_1.jsx)("span", { className: getTextClasses(bgColor, active), children: text || children }), active ? (0, jsx_runtime_1.jsx)("div", { className: getBorderClasses(bgColor, active) }) : null] }));
|
|
12
|
+
});
|
|
8
13
|
const getTextClasses = (bgColor, active = false) => {
|
|
9
14
|
let classes = 'text-white';
|
|
10
15
|
if (bgColor === 'bg-white') {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HeaderItem.js","sourceRoot":"","sources":["../../../src/ui-kit/HeaderItem/HeaderItem.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;
|
|
1
|
+
{"version":3,"file":"HeaderItem.js","sourceRoot":"","sources":["../../../src/ui-kit/HeaderItem/HeaderItem.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,iDAA8C;AAI9C,MAAM,YAAY,GAAG,wBAAwB,CAAC;AAC9C,MAAM,cAAc,GAAG,0CAA0C,CAAC;AAErD,QAAA,UAAU,GAAG,IAAA,aAAG,EAC3B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,MAAM,EAAE,OAAO,GAAG,UAAU,EAAE,YAAY,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IACpF,MAAM,IAAI,GAAG,IAAA,iBAAO,GAAE,CAAC;IACvB,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC;IAEnD,OAAO,CACL,+BACE,SAAS,EAAE,iEAAiE,SAAS,EAAE,EACvF,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,MAAM,oBACE,YAAY,EAC5B,OAAO,EAAE,OAAO,aAEhB,iCAAM,SAAS,EAAE,cAAc,CAAC,OAAO,EAAE,MAAM,CAAC,YAAG,IAAI,IAAI,QAAQ,GAAQ,EAC1E,MAAM,CAAC,CAAC,CAAC,gCAAK,SAAS,EAAE,gBAAgB,CAAC,OAAO,EAAE,MAAM,CAAC,GAAI,CAAC,CAAC,CAAC,IAAI,IACpE,CACL,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,cAAc,GAAG,CAAC,OAAuB,EAAE,MAAM,GAAG,KAAK,EAAE,EAAE;IACjE,IAAI,OAAO,GAAG,YAAY,CAAC;IAC3B,IAAI,OAAO,KAAK,UAAU,EAAE;QAC1B,OAAO,GAAG,MAAM,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,2CAA2C,CAAC;KACtF;IAED,OAAO,GAAG,OAAO,IAAI,YAAY,EAAE,CAAC;AACtC,CAAC,CAAC;AAEF,MAAM,gBAAgB,GAAG,CAAC,OAAuB,EAAE,MAAM,GAAG,KAAK,EAAE,EAAE;IACnE,IAAI,CAAC,MAAM,EAAE;QACX,OAAO,cAAc,CAAC;KACvB;IAED,OAAO,GAAG,OAAO,KAAK,UAAU,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC,OAAO,IAAI,cAAc,EAAE,CAAC;AACrF,CAAC,CAAC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
2
1
|
import type { TariffsTableInnerContent } from './InnerTableProps';
|
|
3
|
-
export interface InnerTableProps extends TariffsTableInnerContent
|
|
4
|
-
onClick
|
|
2
|
+
export interface InnerTableProps extends TariffsTableInnerContent {
|
|
3
|
+
onClick?: () => void;
|
|
5
4
|
}
|
|
6
5
|
export declare const InnerTable: import("@redneckz/uni-jsx").UNIComponent<InnerTableProps, any, any>;
|
|
@@ -8,11 +8,11 @@ const InnerTableBody_1 = require("./InnerTableBody");
|
|
|
8
8
|
const InnerTableButton_1 = require("./InnerTableButton");
|
|
9
9
|
const InnerTableHeader_1 = require("./InnerTableHeader");
|
|
10
10
|
const EMPTY_DATA = 'Данных нет';
|
|
11
|
-
exports.InnerTable = (0, uni_jsx_1.JSX)(({
|
|
11
|
+
exports.InnerTable = (0, uni_jsx_1.JSX)(({ dataUrl, pdfUrl, onClick }) => {
|
|
12
12
|
const { tableData } = (0, useTariffsInnerTableData_1.useTariffsInnerTableData)(dataUrl);
|
|
13
13
|
const [activeTabIndex, setActiveTabIndex] = (0, hooks_1.useState)(0);
|
|
14
14
|
const items = tableData?.[activeTabIndex]?.items ?? [];
|
|
15
15
|
const currencies = tableData?.map((item) => item.currency ?? '');
|
|
16
|
-
return tableData ? ((0, jsx_runtime_1.jsxs)("div", { className: "bg-white z-10", children: [(0, jsx_runtime_1.jsx)(InnerTableHeader_1.InnerTableHeader, { currencies: currencies, activeTabIndex: activeTabIndex, setActiveTabIndex: setActiveTabIndex, linkToPDF: pdfUrl }), (0, jsx_runtime_1.jsx)(InnerTableBody_1.InnerTableBody, {
|
|
16
|
+
return tableData ? ((0, jsx_runtime_1.jsxs)("div", { className: "bg-white z-10", children: [(0, jsx_runtime_1.jsx)(InnerTableHeader_1.InnerTableHeader, { currencies: currencies, activeTabIndex: activeTabIndex, setActiveTabIndex: setActiveTabIndex, linkToPDF: pdfUrl }), (0, jsx_runtime_1.jsx)(InnerTableBody_1.InnerTableBody, { activeTabIndex: activeTabIndex, items: items }), (0, jsx_runtime_1.jsx)(InnerTableButton_1.TableInnerButton, { onClick: onClick, isOpen: true })] })) : ((0, jsx_runtime_1.jsxs)("div", { className: "my-5 text-h6 text-center", children: [(0, jsx_runtime_1.jsx)("p", { children: EMPTY_DATA }), (0, jsx_runtime_1.jsx)(InnerTableButton_1.TableInnerButton, { onClick: onClick, isOpen: true })] }));
|
|
17
17
|
});
|
|
18
18
|
//# sourceMappingURL=InnerTable.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InnerTable.js","sourceRoot":"","sources":["../../../src/ui-kit/InnerTable/InnerTable.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAuD;AACvD,mFAAgF;
|
|
1
|
+
{"version":3,"file":"InnerTable.js","sourceRoot":"","sources":["../../../src/ui-kit/InnerTable/InnerTable.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAuD;AACvD,mFAAgF;AAChF,qDAAkD;AAClD,yDAAsD;AACtD,yDAAsD;AAOtD,MAAM,UAAU,GAAG,YAAY,CAAC;AAEnB,QAAA,UAAU,GAAG,IAAA,aAAG,EAAkB,CAAC,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,EAAE;IAC9E,MAAM,EAAE,SAAS,EAAE,GAAmB,IAAA,mDAAwB,EAAC,OAAO,CAAC,CAAC;IAExE,MAAM,CAAC,cAAc,EAAE,iBAAiB,CAAC,GAAG,IAAA,gBAAQ,EAAC,CAAC,CAAC,CAAC;IACxD,MAAM,KAAK,GAAG,SAAS,EAAE,CAAC,cAAc,CAAC,EAAE,KAAK,IAAI,EAAE,CAAC;IAEvD,MAAM,UAAU,GAAG,SAAS,EAAE,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,QAAQ,IAAI,EAAE,CAAC,CAAC;IAEjE,OAAO,SAAS,CAAC,CAAC,CAAC,CACjB,iCAAK,SAAS,EAAC,eAAe,aAC5B,uBAAC,mCAAgB,IACf,UAAU,EAAE,UAAU,EACtB,cAAc,EAAE,cAAc,EAC9B,iBAAiB,EAAE,iBAAiB,EACpC,SAAS,EAAE,MAAM,GACjB,EACF,uBAAC,+BAAc,IAAC,cAAc,EAAE,cAAc,EAAE,KAAK,EAAE,KAAK,GAAI,EAChE,uBAAC,mCAAgB,IAAC,OAAO,EAAE,OAAO,EAAE,MAAM,SAAG,IACzC,CACP,CAAC,CAAC,CAAC,CACF,iCAAK,SAAS,EAAC,0BAA0B,aACvC,wCAAI,UAAU,GAAK,EACnB,uBAAC,mCAAgB,IAAC,OAAO,EAAE,OAAO,EAAE,MAAM,SAAG,IACzC,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -5,14 +5,14 @@ const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
|
5
5
|
const hooks_1 = require("@redneckz/uni-jsx/lib/hooks");
|
|
6
6
|
const Img_1 = require("../Img/Img");
|
|
7
7
|
const InnerTableBodyItem_1 = require("./InnerTableBodyItem");
|
|
8
|
-
exports.InnerTableBody = (0, uni_jsx_1.JSX)(({
|
|
8
|
+
exports.InnerTableBody = (0, uni_jsx_1.JSX)(({ activeTabIndex, items }) => {
|
|
9
9
|
const [hiddenTables, setHiddenTables] = (0, hooks_1.useState)({});
|
|
10
10
|
const toggleTable = (key) => {
|
|
11
11
|
setHiddenTables((oldState) => ({ ...oldState, [key]: !oldState[key] }));
|
|
12
12
|
};
|
|
13
13
|
return ((0, jsx_runtime_1.jsx)("div", { children: items.map((_, tableIdx) => {
|
|
14
14
|
const key = `activeTabIdx:${activeTabIndex}-tableIdx:${tableIdx}`;
|
|
15
|
-
return ((0, jsx_runtime_1.jsxs)("div", { className: "w-full", children: [(0, jsx_runtime_1.jsxs)("div", { className: "flex p-4 bg-main-stroke text-xl-light text-center justify-center cursor-pointer relative", onClick: () => toggleTable(key), children: [_.title, (0, jsx_runtime_1.jsx)(Img_1.Img, { image: hiddenTables[key] ? 'PlusIcon' : 'MinusIcon', className: "absolute right-[22px]", width: "24", height: "24" })] }), (0, jsx_runtime_1.jsx)("div", { className: `w-full pl-2 overflow-hidden transition-height duration-500 ease-in-out ${hiddenTables[key] ? 'h-0' : ''}`, children: (0, jsx_runtime_1.jsx)("div", { className: "relative", children: (0, jsx_runtime_1.jsx)(InnerTableBodyItem_1.InnerTableBodyItem, {
|
|
15
|
+
return ((0, jsx_runtime_1.jsxs)("div", { className: "w-full", children: [(0, jsx_runtime_1.jsxs)("div", { className: "flex p-4 bg-main-stroke text-xl-light text-center justify-center cursor-pointer relative", onClick: () => toggleTable(key), children: [_.title, (0, jsx_runtime_1.jsx)(Img_1.Img, { image: hiddenTables[key] ? 'PlusIcon' : 'MinusIcon', className: "absolute right-[22px]", width: "24", height: "24" })] }), (0, jsx_runtime_1.jsx)("div", { className: `w-full pl-2 overflow-hidden transition-height duration-500 ease-in-out ${hiddenTables[key] ? 'h-0' : ''}`, children: (0, jsx_runtime_1.jsx)("div", { className: "relative", children: (0, jsx_runtime_1.jsx)(InnerTableBodyItem_1.InnerTableBodyItem, { rows: _.rowsData }) }) })] }, key));
|
|
16
16
|
}) }));
|
|
17
17
|
});
|
|
18
18
|
//# sourceMappingURL=InnerTableBody.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InnerTableBody.js","sourceRoot":"","sources":["../../../src/ui-kit/InnerTable/InnerTableBody.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAuD;
|
|
1
|
+
{"version":3,"file":"InnerTableBody.js","sourceRoot":"","sources":["../../../src/ui-kit/InnerTable/InnerTableBody.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAuD;AACvD,oCAAiC;AACjC,6DAA0D;AAQ7C,QAAA,cAAc,GAAG,IAAA,aAAG,EAAsB,CAAC,EAAE,cAAc,EAAE,KAAK,EAAE,EAAE,EAAE;IACnF,MAAM,CAAC,YAAY,EAAE,eAAe,CAAC,GAAG,IAAA,gBAAQ,EAA0B,EAAE,CAAC,CAAC;IAE9E,MAAM,WAAW,GAAG,CAAC,GAAW,EAAE,EAAE;QAClC,eAAe,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC,EAAE,GAAG,QAAQ,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC;IAC1E,CAAC,CAAC;IAEF,OAAO,CACL,0CACG,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,EAAE;YACzB,MAAM,GAAG,GAAG,gBAAgB,cAAc,aAAa,QAAQ,EAAE,CAAC;YAElE,OAAO,CACL,iCAAe,SAAS,EAAC,QAAQ,aAC/B,iCACE,SAAS,EAAC,0FAA0F,EACpG,OAAO,EAAE,GAAG,EAAE,CAAC,WAAW,CAAC,GAAG,CAAC,aAE9B,CAAC,CAAC,KAAK,EACR,uBAAC,SAAG,IACF,KAAK,EAAE,YAAY,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,WAAW,EACnD,SAAS,EAAC,uBAAuB,EACjC,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,GACX,IACE,EACN,gCACE,SAAS,EAAE,0EACT,YAAY,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAC9B,EAAE,YAEF,gCAAK,SAAS,EAAC,UAAU,YACvB,uBAAC,uCAAkB,IAAC,IAAI,EAAE,CAAC,CAAC,QAAQ,GAAI,GACpC,GACF,KArBE,GAAG,CAsBP,CACP,CAAC;QACJ,CAAC,CAAC,GACE,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
2
1
|
import type { RowsData } from './InnerTableProps';
|
|
3
|
-
export interface InnerTableBodyItemProps
|
|
2
|
+
export interface InnerTableBodyItemProps {
|
|
4
3
|
rows?: RowsData[][];
|
|
5
4
|
}
|
|
6
5
|
export declare const InnerTableBodyItem: import("@redneckz/uni-jsx").UNIComponent<InnerTableBodyItemProps, any, any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InnerTableBodyItem.js","sourceRoot":"","sources":["../../../src/ui-kit/InnerTable/InnerTableBodyItem.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAuD;
|
|
1
|
+
{"version":3,"file":"InnerTableBodyItem.js","sourceRoot":"","sources":["../../../src/ui-kit/InnerTable/InnerTableBodyItem.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAuD;AACvD,yDAAsD;AAGtD,MAAM,YAAY,GAAG,GAAG,CAAC;AAMZ,QAAA,kBAAkB,GAAG,IAAA,aAAG,EAA0B,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE;IAC1E,MAAM,CAAC,iBAAiB,EAAE,oBAAoB,CAAC,GAAG,IAAA,gBAAQ,EAAC,CAAC,CAAC,CAAC;IAE9D,MAAM,eAAe,GAAG,GAAG,EAAE,CAAC,oBAAoB,CAAC,iBAAiB,GAAG,CAAC,CAAC,CAAC;IAC1E,MAAM,eAAe,GAAG,GAAG,EAAE,CAAC,oBAAoB,CAAC,iBAAiB,GAAG,CAAC,CAAC,CAAC;IAE1E,MAAM,UAAU,GAAG,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,MAAM,IAAI,CAAC,CAAC;IAC1C,MAAM,cAAc,GAAG,UAAU,GAAG,CAAC,IAAI,UAAU,GAAG,iBAAiB,GAAG,CAAC,CAAC;IAE5E,MAAM,cAAc,GAAG,iBAAiB,GAAG,CAAC,CAAC;IAE7C,OAAO,CACL,4CACG,IAAI,EAAE,GAAG,CAAC,SAAS,CAAC,iBAAiB,CAAC,CAAC,EACvC,IAAA,2BAAY,EAAC;gBACZ,OAAO,EAAE,CAAC,eAAe,EAAE,eAAe,CAAC;gBAC3C,OAAO,EAAE,CAAC,cAAc,EAAE,cAAc,CAAC;gBACzC,QAAQ,EAAE,CAAC,gBAAgB,EAAE,eAAe,CAAC;gBAC7C,SAAS,EAAE,EAAE;aACd,CAAC,IACE,CACP,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,SAAS,GAAG,CAAC,iBAAyB,EAAE,EAAE,CAAC,CAAC,OAAmB,EAAE,MAAc,EAAE,EAAE;IACvF,IAAI,CAAC,OAAO,EAAE,MAAM,EAAE;QACpB,OAAO,IAAI,CAAC;KACb;IAED,MAAM,CAAC,YAAY,EAAE,GAAG,OAAO,CAAC,GAAG,OAAO,CAAC;IAE3C,MAAM,SAAS,GAAG,CAAC,GAAG,KAAK,CAAC,iBAAiB,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,MAAM,CAC3D,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,MAAM,IAAI,CAAC,CAAC,GAAG,YAAY,GAAG,GAAG,EAClE,CAAC,CACF,CAAC;IAEF,MAAM,gBAAgB,GAAG;QACvB,gCAAgC;QAChC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,YAAY;KAC5C,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAEZ,OAAO,CACL,iCAEE,SAAS,EAAC,oEAAoE,aAE7E,YAAY,EAAE,IAAI,CAAC,CAAC,CAAC,CACpB,gCAAK,SAAS,EAAE,gCAAgC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,YAC7E,YAAY,CAAC,IAAI,GACd,CACP,CAAC,CAAC,CAAC,IAAI,EACR,gCAAK,SAAS,EAAC,gCAAgC,YAC7C,gCACE,SAAS,EAAE,gBAAgB,EAC3B,KAAK,EAAE;wBACL,SAAS,EAAE,eAAe,SAAS,KAAK;qBACzC,YAEA,OAAO,EAAE,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CACtB,iCAEE,SAAS,EAAC,sEAAsE,aAE/E,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,gCAAK,SAAS,EAAC,oBAAoB,YAAE,CAAC,CAAC,IAAI,GAAO,CAAC,CAAC,CAAC,IAAI,EACnE,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,IAAI,EAAE,iBAAiB,CAAC,CAAC,CAAC,CAAC,IAAI,KAJlD,MAAM,CAAC,EAAE,CAKV,CACP,CAAC,GACE,GACF,KAzBD,MAAM,CAAC,MAAM,CAAC,CA0Bf,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,UAAU,GAAG,CAAC,IAAc,EAAE,QAAgB,EAAE,EAAE,CACtD,IAAI,EAAE,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CACjB,gCAAK,SAAS,EAAE,QAAQ,QAAQ,IAAI,QAAQ,KAAK,CAAC,CAAC,CAAC,CAAC,qBAAqB,CAAC,CAAC,CAAC,EAAE,YAAY,YACxF,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CACrB,gCAAqB,SAAS,EAAE,kCAAkC,YAC/D,IAAI,IADG,MAAM,CAAC,CAAC,CAAC,CAEb,CACP,CAAC,GACE,CACP,CAAC,CAAC,CAAC,IAAI,CAAC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
2
1
|
import type { TariffsTableInnerEvent } from './InnerTableProps';
|
|
3
|
-
export interface TableInnerButtonProps extends TariffsTableInnerEvent
|
|
2
|
+
export interface TableInnerButtonProps extends TariffsTableInnerEvent {
|
|
4
3
|
onClick?: () => void;
|
|
5
4
|
isOpen?: boolean;
|
|
6
5
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InnerTableButton.js","sourceRoot":"","sources":["../../../src/ui-kit/InnerTable/InnerTableButton.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;
|
|
1
|
+
{"version":3,"file":"InnerTableButton.js","sourceRoot":"","sources":["../../../src/ui-kit/InnerTable/InnerTableButton.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,6CAA0C;AAC1C,uCAAoC;AAQvB,QAAA,gBAAgB,GAAG,IAAA,aAAG,EAAwB,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,EAAE;IACjF,OAAO,CACL,wBAAC,eAAM,IACL,OAAO,EAAC,SAAS,EACjB,OAAO,EAAE,OAAO,EAChB,SAAS,EAAC,2DAA2D,aAErE,gCAAK,SAAS,EAAC,SAAS,YAAE,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,2BAA2B,GAAO,EAChF,uBAAC,WAAI,IACH,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,eAAe,EAC9C,SAAS,EAAC,MAAM,EAChB,WAAW,EAAC,OAAO,EACnB,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,KAAK,SACL,IACK,CACV,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
2
1
|
export interface RadioButtonItem {
|
|
3
2
|
id: string;
|
|
4
|
-
text
|
|
3
|
+
text?: string;
|
|
5
4
|
}
|
|
6
|
-
interface RadioButtonGroupProps
|
|
7
|
-
items
|
|
5
|
+
interface RadioButtonGroupProps {
|
|
6
|
+
items?: RadioButtonItem[];
|
|
8
7
|
checkedItem?: string;
|
|
9
|
-
|
|
8
|
+
onChange?: (id: string) => void;
|
|
10
9
|
}
|
|
11
10
|
export declare const RadioButtonGroup: import("@redneckz/uni-jsx").UNIComponent<RadioButtonGroupProps, any, any>;
|
|
12
11
|
export {};
|
|
@@ -3,7 +3,5 @@ exports.RadioButtonGroup = void 0;
|
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
5
|
const Checkbox_1 = require("../Checkbox/Checkbox");
|
|
6
|
-
exports.RadioButtonGroup = (0, uni_jsx_1.JSX)(({ items, checkedItem, onChangeCheckedItem }) => {
|
|
7
|
-
return ((0, jsx_runtime_1.jsx)("div", { className: "flex flex-col gap-3", children: items?.map(({ id, text }) => ((0, jsx_runtime_1.jsx)(Checkbox_1.Checkbox, { isRadio: true, text: text, checked: checkedItem === id, onChange: () => onChangeCheckedItem(id) }, id))) }));
|
|
8
|
-
});
|
|
6
|
+
exports.RadioButtonGroup = (0, uni_jsx_1.JSX)(({ items, checkedItem, onChange: onChangeCheckedItem }) => ((0, jsx_runtime_1.jsx)("div", { className: "flex flex-col gap-3", children: items?.map(({ id, text }) => ((0, jsx_runtime_1.jsx)(Checkbox_1.Checkbox, { isRadio: true, text: text, checked: checkedItem === id, onChange: () => onChangeCheckedItem && onChangeCheckedItem(id) }, String(id)))) })));
|
|
9
7
|
//# sourceMappingURL=RadioButtonGroup.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RadioButtonGroup.js","sourceRoot":"","sources":["../../../src/ui-kit/RadioButtonGroup/RadioButtonGroup.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;
|
|
1
|
+
{"version":3,"file":"RadioButtonGroup.js","sourceRoot":"","sources":["../../../src/ui-kit/RadioButtonGroup/RadioButtonGroup.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,mDAAgD;AAanC,QAAA,gBAAgB,GAAG,IAAA,aAAG,EACjC,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,mBAAmB,EAAE,EAAE,EAAE,CAAC,CACzD,gCAAK,SAAS,EAAC,qBAAqB,YACjC,KAAK,EAAE,GAAG,CAAC,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CAC5B,uBAAC,mBAAQ,IAEP,OAAO,QACP,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,WAAW,KAAK,EAAE,EAC3B,QAAQ,EAAE,GAAG,EAAE,CAAC,mBAAmB,IAAI,mBAAmB,CAAC,EAAE,CAAC,IAJzD,MAAM,CAAC,EAAE,CAAC,CAKf,CACH,CAAC,GACE,CACP,CACF,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
export declare const SearchBar: import("@redneckz/uni-jsx").UNIComponent<
|
|
1
|
+
import { SearchBarInnerProps } from './SearchBarInner';
|
|
2
|
+
export declare const SearchBar: import("@redneckz/uni-jsx").UNIComponent<SearchBarInnerProps, any, any>;
|
|
@@ -3,7 +3,5 @@ exports.SearchBar = void 0;
|
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
5
|
const SearchBarInner_1 = require("./SearchBarInner");
|
|
6
|
-
exports.SearchBar = (0, uni_jsx_1.JSX)((
|
|
7
|
-
return (0, jsx_runtime_1.jsx)(SearchBarInner_1.SearchBarInner, { className: className });
|
|
8
|
-
});
|
|
6
|
+
exports.SearchBar = (0, uni_jsx_1.JSX)((props) => (0, jsx_runtime_1.jsx)(SearchBarInner_1.SearchBarInner, { ...props }));
|
|
9
7
|
//# sourceMappingURL=SearchBar.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchBar.js","sourceRoot":"","sources":["../../../src/ui-kit/SearchBar/SearchBar.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;
|
|
1
|
+
{"version":3,"file":"SearchBar.js","sourceRoot":"","sources":["../../../src/ui-kit/SearchBar/SearchBar.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,qDAAuE;AAE1D,QAAA,SAAS,GAAG,IAAA,aAAG,EAAsB,CAAC,KAAK,EAAE,EAAE,CAAC,uBAAC,+BAAc,OAAK,KAAK,GAAI,CAAC,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
export declare const SearchBar: import("@redneckz/uni-jsx").UNIComponent<
|
|
1
|
+
import { SearchBarInnerProps } from './SearchBarInner';
|
|
2
|
+
export declare const SearchBar: import("@redneckz/uni-jsx").UNIComponent<SearchBarInnerProps, any, any>;
|
|
@@ -3,7 +3,5 @@ exports.SearchBar = void 0;
|
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
5
|
const SearchBarInner_1 = require("./SearchBarInner");
|
|
6
|
-
exports.SearchBar = (0, uni_jsx_1.JSX)(({
|
|
7
|
-
return (0, jsx_runtime_1.jsx)(SearchBarInner_1.SearchBarInner, { className: className, isMobile: true });
|
|
8
|
-
});
|
|
6
|
+
exports.SearchBar = (0, uni_jsx_1.JSX)((props) => ((0, jsx_runtime_1.jsx)(SearchBarInner_1.SearchBarInner, { ...props, isMobile: true })));
|
|
9
7
|
//# sourceMappingURL=SearchBar.mobile.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchBar.mobile.js","sourceRoot":"","sources":["../../../src/ui-kit/SearchBar/SearchBar.mobile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;
|
|
1
|
+
{"version":3,"file":"SearchBar.mobile.js","sourceRoot":"","sources":["../../../src/ui-kit/SearchBar/SearchBar.mobile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,qDAAuE;AAE1D,QAAA,SAAS,GAAG,IAAA,aAAG,EAAsB,CAAC,KAAK,EAAE,EAAE,CAAC,CAC3D,uBAAC,+BAAc,OAAK,KAAK,EAAE,QAAQ,EAAE,IAAI,GAAI,CAC9C,CAAC,CAAC"}
|
|
@@ -8,7 +8,7 @@ const SwipeListControlDots_1 = require("./SwipeListControlDots");
|
|
|
8
8
|
const SwipeListControlList_1 = require("./SwipeListControlList");
|
|
9
9
|
const getIndexParts_1 = require("./utils/getIndexParts");
|
|
10
10
|
const getScrollPoints_1 = require("./utils/getScrollPoints");
|
|
11
|
-
exports.SwipeListControl = (0, uni_jsx_1.JSX)(({ className,
|
|
11
|
+
exports.SwipeListControl = (0, uni_jsx_1.JSX)(({ className, gap = constants_1.DEFAULT_GAP, padding = constants_1.DEFAULT_PADDING, showDots = true, onSlideChange, children, }) => {
|
|
12
12
|
const [activeIndex, setActiveIndex] = (0, hooks_1.useState)(0);
|
|
13
13
|
const [indexFraction, setIndexFraction] = (0, hooks_1.useState)(0);
|
|
14
14
|
const dotsProps = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SwipeListControl.js","sourceRoot":"","sources":["../../../src/ui-kit/SwipeListControl/SwipeListControl.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAuD;AACvD,2CAA2D;AAC3D,iEAA8D;AAC9D,iEAAyF;AAEzF,yDAAsD;AACtD,6DAA0D;AAE7C,QAAA,gBAAgB,GAAG,IAAA,aAAG,EACjC,CAAC,EACC,SAAS,EACT,
|
|
1
|
+
{"version":3,"file":"SwipeListControl.js","sourceRoot":"","sources":["../../../src/ui-kit/SwipeListControl/SwipeListControl.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAuD;AACvD,2CAA2D;AAC3D,iEAA8D;AAC9D,iEAAyF;AAEzF,yDAAsD;AACtD,6DAA0D;AAE7C,QAAA,gBAAgB,GAAG,IAAA,aAAG,EACjC,CAAC,EACC,SAAS,EACT,GAAG,GAAG,uBAAW,EACjB,OAAO,GAAG,2BAAe,EACzB,QAAQ,GAAG,IAAI,EACf,aAAa,EACb,QAAQ,GACT,EAAE,EAAE;IACH,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,IAAA,gBAAQ,EAAC,CAAC,CAAC,CAAC;IAClD,MAAM,CAAC,aAAa,EAAE,gBAAgB,CAAC,GAAG,IAAA,gBAAQ,EAAC,CAAC,CAAC,CAAC;IAEtD,MAAM,SAAS,GAAG;QAChB,WAAW;QACX,aAAa;QACb,QAAQ;QACR,QAAQ;KACT,CAAC;IAEF,MAAM,YAAY,GAA0C,CAAC,CAAC,EAAE,EAAE;QAChE,MAAM,EACJ,UAAU,EACV,WAAW,EACX,iBAAiB,EACjB,WAAW,EACX,QAAQ,EAAE,kBAAkB,GAC7B,GAAG,CAAC,EAAE,aAA4B,CAAC;QAEpC,+EAA+E;QAC/E,gGAAgG;QAChG,MAAM,SAAS,GAAI,kBAAkB,CAAC,CAAC,CAAiB,CAAC,WAAW,GAAG,OAAO,GAAG,CAAC,CAAC;QACnF,MAAM,YAAY,GAAG,IAAA,iCAAe,EAAC;YACnC,GAAG;YACH,OAAO;YACP,WAAW;YACX,WAAW;YACX,iBAAiB;YACjB,SAAS;SACV,CAAC,CAAC;QAEH,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,IAAA,6BAAa,EAAC,UAAU,EAAE,YAAY,CAAC,CAAC;QACpE,IAAI,KAAK,KAAK,WAAW,IAAI,aAAa,EAAE;YAC1C,aAAa,EAAE,CAAC;SACjB;QACD,cAAc,CAAC,KAAK,CAAC,CAAC;QACtB,gBAAgB,CAAC,QAAQ,CAAC,CAAC;IAC7B,CAAC,CAAC;IAEF,OAAO,CACL,iCAAK,SAAS,EAAE,SAAS,aACvB,uBAAC,2CAAoB,IACnB,GAAG,EAAE,GAAG,EACR,OAAO,EAAE,OAAO,EAChB,WAAW,EAAE,WAAW,EACxB,QAAQ,EAAE,YAAY,YAErB,QAAQ,GACY,EACvB,uBAAC,2CAAoB,OAAK,SAAS,GAAI,IACnC,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
2
1
|
/**
|
|
3
2
|
* @title Контейнер
|
|
4
3
|
*/
|
|
@@ -11,7 +10,8 @@ export interface SwipeContainer {
|
|
|
11
10
|
/**
|
|
12
11
|
* @title Swipe-контроллер
|
|
13
12
|
*/
|
|
14
|
-
export interface SwipeListControlProps extends SwipeContainer
|
|
13
|
+
export interface SwipeListControlProps extends SwipeContainer {
|
|
14
|
+
className?: string;
|
|
15
15
|
/** @title Точки-индикаторы */
|
|
16
16
|
showDots?: boolean;
|
|
17
17
|
onSlideChange?: () => void;
|
|
@@ -3,9 +3,9 @@ exports.TableArrowScrollControl = void 0;
|
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
5
|
const renderArrows_1 = require("../Button/renderArrows");
|
|
6
|
-
exports.TableArrowScrollControl = (0, uni_jsx_1.JSX)(({ isScrollAvailable,
|
|
6
|
+
exports.TableArrowScrollControl = (0, uni_jsx_1.JSX)(({ isScrollAvailable, onNextClick, onPrevClick, showNextButton, showPrevButton }) => {
|
|
7
7
|
return isScrollAvailable ? ((0, jsx_runtime_1.jsx)("div", { children: (0, renderArrows_1.renderArrows)({
|
|
8
|
-
handler: [
|
|
8
|
+
handler: [onPrevClick, onNextClick],
|
|
9
9
|
isShown: [showPrevButton, showNextButton],
|
|
10
10
|
btnClass: ['top-[108px]', 'top-11'],
|
|
11
11
|
className: 'right-7',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableArrowScrollControl.js","sourceRoot":"","sources":["../../../src/ui-kit/TableArrowScrollControl/TableArrowScrollControl.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,yDAAsD;AAGzC,QAAA,uBAAuB,GAAG,IAAA,aAAG,EACxC,CAAC,EAAE,iBAAiB,EAAE,
|
|
1
|
+
{"version":3,"file":"TableArrowScrollControl.js","sourceRoot":"","sources":["../../../src/ui-kit/TableArrowScrollControl/TableArrowScrollControl.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,yDAAsD;AAGzC,QAAA,uBAAuB,GAAG,IAAA,aAAG,EACxC,CAAC,EAAE,iBAAiB,EAAE,WAAW,EAAE,WAAW,EAAE,cAAc,EAAE,cAAc,EAAE,EAAE,EAAE;IAClF,OAAO,iBAAiB,CAAC,CAAC,CAAC,CACzB,0CACG,IAAA,2BAAY,EAAC;YACZ,OAAO,EAAE,CAAC,WAAW,EAAE,WAAW,CAAC;YACnC,OAAO,EAAE,CAAC,cAAc,EAAE,cAAc,CAAC;YACzC,QAAQ,EAAE,CAAC,aAAa,EAAE,QAAQ,CAAC;YACnC,SAAS,EAAE,SAAS;YACpB,UAAU,EAAE,IAAI;SACjB,CAAC,GACE,CACP,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CACF,CAAC"}
|