@redneckz/wildless-cms-uni-blocks 0.5.8 → 0.5.10
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/bin/migration-scripts/0.4.5.js +1 -1
- package/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +77 -43
- package/bundle/bundle.umd.min.js +1 -1
- package/cosmos-static/icons/CardTickIcon.svg +1 -1
- package/cosmos-static/icons/DocDownloadIcon.svg +1 -1
- package/cosmos-static/icons/DoneSimpleIcon.svg +1 -1
- package/dist/api/DaDataAPI.d.ts +12 -0
- package/dist/api/DaDataAPI.js.map +1 -1
- package/dist/components/Accordion/Accordion.d.ts +1 -1
- package/dist/components/Accordion/Accordion.mobile.d.ts +1 -1
- package/dist/components/Accordion/AccordionItem.d.ts +1 -1
- package/dist/components/Accordion/AccordionItem.mobile.d.ts +1 -1
- package/dist/components/BaseTile/BaseTile.d.ts +1 -1
- package/dist/components/BenefitsBlock/BenefitsBlock.d.ts +1 -1
- package/dist/components/Bonus/Bonus.d.ts +1 -1
- package/dist/components/Bonus/Bonus.js.map +1 -1
- package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.d.ts +1 -1
- package/dist/components/Calculator/BonusCalculatorForm.d.ts +1 -1
- package/dist/components/Calculator/BonusCalculatorForm.js +1 -1
- package/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
- package/dist/components/Calculator/Calculator.d.ts +1 -1
- package/dist/components/Calculator/CreditCalculatorForm.d.ts +1 -1
- package/dist/components/Calculator/CreditCalculatorForm.js +1 -1
- package/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/dist/components/Calculator/DepositCalculatorForm.d.ts +1 -1
- package/dist/components/Calculator/DepositCalculatorForm.js +2 -2
- package/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
- package/dist/components/Calculator/renderCalculatorBlock.js +1 -1
- package/dist/components/Calculator/renderCalculatorBlock.js.map +1 -1
- package/dist/components/CardTransfer/CardTransfer.d.ts +1 -1
- package/dist/components/CardTransfer/CardTransfer.js +2 -2
- package/dist/components/CardTransfer/CardTransfer.js.map +1 -1
- package/dist/components/Catalog/Catalog.d.ts +1 -1
- package/dist/components/Catalog/CatalogCard.d.ts +1 -1
- package/dist/components/Catalog/CatalogCard.js +1 -1
- package/dist/components/Catalog/CatalogCard.js.map +1 -1
- package/dist/components/ComparisonTable/ComparisonTable.d.ts +1 -1
- package/dist/components/ComparisonTable/ComparisonTable.mobile.d.ts +1 -1
- package/dist/components/ComparisonTable/TableColumn.d.ts +2 -2
- package/dist/components/ContentPage/ContentPage.d.ts +5 -24
- package/dist/components/ContentPage/ContentPage.js +17 -19
- package/dist/components/ContentPage/ContentPage.js.map +1 -1
- package/dist/components/ContentPage/ContentPageHead.d.ts +1 -1
- package/dist/components/ContentPage/computeAPIFallback.d.ts +2 -2
- package/dist/components/ContentPage/filterBlocks.d.ts +5 -4
- package/dist/components/ContentPage/filterBlocks.mobile.d.ts +5 -4
- package/dist/components/ContentPage/isBlockInRegistry.d.ts +1 -1
- package/dist/components/ContentPage/normalizeBlock.d.ts +4 -3
- package/dist/components/ContentPage/normalizeBlock.mobile.d.ts +1 -1
- package/dist/components/ContentPage/normalizePage.d.ts +2 -2
- package/dist/components/ContentPage/renderBlock.d.ts +13 -0
- package/dist/components/ContentPage/renderBlock.js +28 -0
- package/dist/components/ContentPage/renderBlock.js.map +1 -0
- package/dist/components/ErrorBlock/ErrorBlock.d.ts +1 -1
- package/dist/components/ErrorBlock/ErrorBlock.js +1 -1
- package/dist/components/ErrorBlock/ErrorBlock.js.map +1 -1
- package/dist/components/ExchangeRateTile/CurrentLocation.js +1 -1
- package/dist/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
- package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +1 -1
- package/dist/components/ExchangeRateTile/ExchangeRateTile.d.ts +1 -1
- package/dist/components/ExchangeRateTile/ExchangeRateTile.js +2 -1
- package/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
- package/dist/components/Footer/Contacts.d.ts +1 -1
- package/dist/components/Footer/Footer.d.ts +1 -1
- package/dist/components/Footer/Footer.mobile.d.ts +1 -1
- package/dist/components/Footer/FooterLink.d.ts +1 -1
- package/dist/components/Footer/HorizontalNavigation.d.ts +2 -2
- package/dist/components/Footer/HorizontalNavigation.js.map +1 -1
- package/dist/components/Footer/HorizontalNavigation.mobile.d.ts +2 -2
- package/dist/components/Footer/HorizontalNavigation.mobile.js.map +1 -1
- package/dist/components/Footer/MediaButton.js +1 -1
- package/dist/components/Footer/MediaButton.js.map +1 -1
- package/dist/components/Footer/Sitemap.d.ts +2 -2
- package/dist/components/Footer/Sitemap.js.map +1 -1
- package/dist/components/Footer/SocialMedia.d.ts +1 -1
- package/dist/components/Footer/SocialMedia.mobile.d.ts +1 -1
- package/dist/components/Gallery/GalleryInner.d.ts +1 -1
- package/dist/components/Gallery/GalleryProps.d.ts +1 -1
- package/dist/components/GracePeriod/GracePeriod.d.ts +1 -1
- package/dist/components/Header/DropdownMenu.d.ts +1 -1
- package/dist/components/Header/Header.d.ts +1 -1
- package/dist/components/Header/Header.fallback.d.ts +1 -1
- package/dist/components/Header/Header.js.map +1 -1
- package/dist/components/Header/Header.mobile.d.ts +1 -1
- package/dist/components/Header/Header.mobile.js.map +1 -1
- package/dist/components/Headline/Headline.d.ts +1 -1
- package/dist/components/Headline/Headline.js +1 -1
- package/dist/components/Headline/Headline.js.map +1 -1
- package/dist/components/Headline/Headline.mobile.d.ts +1 -1
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +1 -1
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +1 -1
- package/dist/components/LikeControl/LikeControl.d.ts +1 -1
- package/dist/components/LinkDocs/LinkDocs.d.ts +1 -1
- package/dist/components/LinkDocs/LinkDocs.mobile.d.ts +1 -1
- package/dist/components/LinkDocs/LinkDocs.mobile.js +1 -1
- package/dist/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
- package/dist/components/LinkList/LinkList.d.ts +1 -1
- package/dist/components/LinkList/LinkList.js.map +1 -1
- package/dist/components/MiniGallery/MiniGallery.d.ts +1 -1
- package/dist/components/MobileAppTile/MobileAppTile.d.ts +1 -1
- package/dist/components/MobileAppTile/MobileAppTile.js +1 -1
- package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/dist/components/MobileAppTile/MobileAppTile.mobile.d.ts +1 -1
- package/dist/components/MobileAppTile/MobileAppTile.mobile.js +1 -1
- package/dist/components/OfficeServicesBlock/OfficeServicesBlock.d.ts +1 -1
- package/dist/components/OtherProducts/OtherProducts.d.ts +1 -1
- package/dist/components/OtherProducts/OtherProductsContent.d.ts +2 -2
- package/dist/components/OtherProducts/OtherProductsItem.d.ts +1 -1
- package/dist/components/PictureText/PictureText.d.ts +1 -1
- package/dist/components/Placeholder/Placeholder.d.ts +1 -1
- package/dist/components/Placeholder/Placeholder.js +1 -1
- package/dist/components/Placeholder/Placeholder.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlock.d.ts +1 -1
- package/dist/components/ProductBlock/ProductBlock.js +1 -1
- package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlock.mobile.d.ts +1 -1
- package/dist/components/ProductBlock/ProductBlock.mobile.js +1 -1
- package/dist/components/ProductBlock/ProductBlock.mobile.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlockInner.d.ts +1 -1
- package/dist/components/ProductBlock/ProductBlockInner.js +1 -1
- package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlockInner.mobile.d.ts +1 -1
- package/dist/components/ProductBlock/ProductBlockInner.mobile.js +1 -1
- package/dist/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
- package/dist/components/ProductGallery/ProductGallery.d.ts +1 -1
- package/dist/components/ProductGallery/ProductGallery.js +10 -10
- package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
- package/dist/components/ProductGallery/ProductGallery.mobile.d.ts +1 -1
- package/dist/components/ProductGallery/ProductGallery.mobile.js.map +1 -1
- package/dist/components/ProductGallery/ProductGalleryBlock.d.ts +1 -1
- package/dist/components/ProductGallery/ProductGalleryBlock.js +1 -1
- package/dist/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
- package/dist/components/ProductGallery/ProductGalleryContent.d.ts +0 -1
- package/dist/components/ProductTile/ProductTile.d.ts +1 -1
- package/dist/components/ProductTile/ProductTile.js +1 -1
- package/dist/components/PromoTile/PromoTile.d.ts +1 -1
- package/dist/components/PromoTile/PromoTile.js +1 -1
- package/dist/components/PromoTile/PromoTile.js.map +1 -1
- package/dist/components/Recommendation/Recommendation.d.ts +1 -1
- package/dist/components/Recommendation/RecommendationCard.d.ts +1 -1
- package/dist/components/SafeDepositRental/SafeDepositRental.d.ts +1 -1
- package/dist/components/StepsBlock/StepsBlock.d.ts +1 -1
- package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
- package/dist/components/StepsBlock/StepsBlock.mobile.d.ts +1 -1
- package/dist/components/StepsBlock/StepsBlock.mobile.js +5 -1
- package/dist/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
- package/dist/components/Tabs/Tabs.d.ts +1 -1
- package/dist/components/Tabs/renderTab.d.ts +1 -1
- package/dist/components/TariffsTable/TariffsTable.d.ts +1 -1
- package/dist/components/TariffsTable/TariffsTable.mobile.d.ts +1 -1
- package/dist/components/TariffsTable/TariffsTableCell.d.ts +1 -1
- package/dist/components/TariffsTable/TariffsTableHorizontal.d.ts +1 -1
- package/dist/components/TariffsTable/TariffsTableRow.d.ts +1 -1
- package/dist/components/TariffsTable/TariffsTableRowContainer.d.ts +1 -1
- package/dist/components/TariffsTable/TariffsTableVertical.d.ts +1 -1
- package/dist/components/TextBlock/TextBlock.d.ts +1 -1
- package/dist/components/TextBlock/TextBlock.mobile.d.ts +1 -1
- package/dist/components/Tile/Tile.d.ts +1 -1
- package/dist/content-page-repository/ContentPageRepository.d.ts +1 -1
- package/dist/content-page-repository/transformContentPage.d.ts +1 -1
- package/dist/icons/IconName.d.ts +94 -2
- package/dist/icons/IconName.js +6 -3
- package/dist/icons/IconName.js.map +1 -1
- package/dist/model/BlockDecorator.d.ts +14 -0
- package/dist/model/BlockDecorator.js +4 -0
- package/dist/model/BlockDecorator.js.map +1 -0
- package/dist/model/BlocksRegistry.d.ts +5 -0
- package/dist/{types.js → model/BlocksRegistry.js} +1 -1
- package/dist/model/BlocksRegistry.js.map +1 -0
- package/{mobile/dist/types.d.ts → dist/model/ContentPageDef.d.ts} +5 -20
- package/dist/{components/BlockContent.js → model/ContentPageDef.js} +1 -1
- package/dist/model/ContentPageDef.js.map +1 -0
- package/dist/{types → model}/Fallback.d.ts +0 -0
- package/dist/{types → model}/Fallback.js +0 -0
- package/dist/{types → model}/Fallback.js.map +1 -1
- package/dist/services/sitemap/useSitemap.d.ts +1 -1
- package/dist/ui-kit/BenefitItem/BenefitItemProps.d.ts +1 -0
- package/dist/ui-kit/BlockWrapper.d.ts +1 -1
- package/dist/ui-kit/Button/Button.mobile.js +4 -1
- package/dist/ui-kit/Button/Button.mobile.js.map +1 -1
- package/dist/ui-kit/Button/ButtonSection.d.ts +1 -1
- package/dist/ui-kit/Button/buttonClassNameConstants.js +1 -1
- package/dist/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
- package/dist/ui-kit/Foldable/Foldable.d.ts +1 -1
- package/dist/ui-kit/Icon/Icon.js +11 -3
- package/dist/ui-kit/Icon/Icon.js.map +1 -1
- package/dist/ui-kit/InnerTable/InnerTable.d.ts +1 -1
- package/dist/ui-kit/InnerTable/InnerTableBody.d.ts +1 -1
- package/dist/ui-kit/InnerTable/InnerTableBodyItem.d.ts +1 -1
- package/dist/ui-kit/InnerTable/InnerTableButton.d.ts +1 -1
- package/dist/ui-kit/Logo/Logo.d.ts +1 -1
- package/dist/ui-kit/Logo/Logo.js +2 -2
- package/dist/ui-kit/Logo/Logo.js.map +1 -1
- package/dist/ui-kit/Logo/Logo.mobile.d.ts +1 -1
- package/dist/ui-kit/Logo/Logo.mobile.js +2 -2
- package/dist/ui-kit/Logo/Logo.mobile.js.map +1 -1
- package/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +1 -1
- package/dist/ui-kit/SearchBar/SearchBar.d.ts +1 -1
- package/dist/ui-kit/SearchBar/SearchBar.mobile.d.ts +1 -1
- package/dist/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +1 -1
- package/lib/api/DaDataAPI.d.ts +12 -0
- package/lib/api/DaDataAPI.js.map +1 -1
- package/lib/common.css +1 -1
- package/lib/components/Accordion/Accordion.d.ts +1 -1
- package/lib/components/Accordion/Accordion.mobile.d.ts +1 -1
- package/lib/components/Accordion/AccordionItem.d.ts +1 -1
- package/lib/components/Accordion/AccordionItem.mobile.d.ts +1 -1
- package/lib/components/BaseTile/BaseTile.d.ts +1 -1
- package/lib/components/BenefitsBlock/BenefitsBlock.d.ts +1 -1
- package/lib/components/Bonus/Bonus.d.ts +1 -1
- package/lib/components/Bonus/Bonus.js.map +1 -1
- package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.d.ts +1 -1
- package/lib/components/Calculator/BonusCalculatorForm.d.ts +1 -1
- package/lib/components/Calculator/BonusCalculatorForm.js +1 -1
- package/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
- package/lib/components/Calculator/Calculator.d.ts +1 -1
- package/lib/components/Calculator/CreditCalculatorForm.d.ts +1 -1
- package/lib/components/Calculator/CreditCalculatorForm.js +1 -1
- package/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/lib/components/Calculator/DepositCalculatorForm.d.ts +1 -1
- package/lib/components/Calculator/DepositCalculatorForm.js +2 -2
- package/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
- package/lib/components/Calculator/renderCalculatorBlock.js +1 -1
- package/lib/components/Calculator/renderCalculatorBlock.js.map +1 -1
- package/lib/components/CardTransfer/CardTransfer.d.ts +1 -1
- package/lib/components/CardTransfer/CardTransfer.js +2 -2
- package/lib/components/CardTransfer/CardTransfer.js.map +1 -1
- package/lib/components/Catalog/Catalog.d.ts +1 -1
- package/lib/components/Catalog/CatalogCard.d.ts +1 -1
- package/lib/components/Catalog/CatalogCard.js +1 -1
- package/lib/components/Catalog/CatalogCard.js.map +1 -1
- package/lib/components/ComparisonTable/ComparisonTable.d.ts +1 -1
- package/lib/components/ComparisonTable/ComparisonTable.mobile.d.ts +1 -1
- package/lib/components/ComparisonTable/TableColumn.d.ts +2 -2
- package/lib/components/ContentPage/ContentPage.d.ts +5 -24
- package/lib/components/ContentPage/ContentPage.js +17 -19
- package/lib/components/ContentPage/ContentPage.js.map +1 -1
- package/lib/components/ContentPage/ContentPageHead.d.ts +1 -1
- package/lib/components/ContentPage/computeAPIFallback.d.ts +2 -2
- package/lib/components/ContentPage/filterBlocks.d.ts +5 -4
- package/lib/components/ContentPage/filterBlocks.mobile.d.ts +5 -4
- package/lib/components/ContentPage/isBlockInRegistry.d.ts +1 -1
- package/lib/components/ContentPage/normalizeBlock.d.ts +4 -3
- package/lib/components/ContentPage/normalizeBlock.mobile.d.ts +1 -1
- package/lib/components/ContentPage/normalizePage.d.ts +2 -2
- package/lib/components/ContentPage/renderBlock.d.ts +13 -0
- package/lib/components/ContentPage/renderBlock.js +25 -0
- package/lib/components/ContentPage/renderBlock.js.map +1 -0
- package/lib/components/ErrorBlock/ErrorBlock.d.ts +1 -1
- package/lib/components/ErrorBlock/ErrorBlock.js +1 -1
- package/lib/components/ErrorBlock/ErrorBlock.js.map +1 -1
- package/lib/components/ExchangeRateTile/CurrentLocation.js +1 -1
- package/lib/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
- package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +1 -1
- package/lib/components/ExchangeRateTile/ExchangeRateTile.d.ts +1 -1
- package/lib/components/ExchangeRateTile/ExchangeRateTile.js +2 -1
- package/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
- package/lib/components/Footer/Contacts.d.ts +1 -1
- package/lib/components/Footer/Footer.d.ts +1 -1
- package/lib/components/Footer/Footer.mobile.d.ts +1 -1
- package/lib/components/Footer/FooterLink.d.ts +1 -1
- package/lib/components/Footer/HorizontalNavigation.d.ts +2 -2
- package/lib/components/Footer/HorizontalNavigation.js.map +1 -1
- package/lib/components/Footer/HorizontalNavigation.mobile.d.ts +2 -2
- package/lib/components/Footer/HorizontalNavigation.mobile.js.map +1 -1
- package/lib/components/Footer/MediaButton.js +1 -1
- package/lib/components/Footer/MediaButton.js.map +1 -1
- package/lib/components/Footer/Sitemap.d.ts +2 -2
- package/lib/components/Footer/Sitemap.js.map +1 -1
- package/lib/components/Footer/SocialMedia.d.ts +1 -1
- package/lib/components/Footer/SocialMedia.mobile.d.ts +1 -1
- package/lib/components/Gallery/GalleryInner.d.ts +1 -1
- package/lib/components/Gallery/GalleryProps.d.ts +1 -1
- package/lib/components/GracePeriod/GracePeriod.d.ts +1 -1
- package/lib/components/Header/DropdownMenu.d.ts +1 -1
- package/lib/components/Header/Header.d.ts +1 -1
- package/lib/components/Header/Header.fallback.d.ts +1 -1
- package/lib/components/Header/Header.js.map +1 -1
- package/lib/components/Header/Header.mobile.d.ts +1 -1
- package/lib/components/Header/Header.mobile.js.map +1 -1
- package/lib/components/Headline/Headline.d.ts +1 -1
- package/lib/components/Headline/Headline.js +1 -1
- package/lib/components/Headline/Headline.js.map +1 -1
- package/lib/components/Headline/Headline.mobile.d.ts +1 -1
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +1 -1
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +1 -1
- package/lib/components/LikeControl/LikeControl.d.ts +1 -1
- package/lib/components/LinkDocs/LinkDocs.d.ts +1 -1
- package/lib/components/LinkDocs/LinkDocs.mobile.d.ts +1 -1
- package/lib/components/LinkDocs/LinkDocs.mobile.js +1 -1
- package/lib/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
- package/lib/components/LinkList/LinkList.d.ts +1 -1
- package/lib/components/LinkList/LinkList.js.map +1 -1
- package/lib/components/MiniGallery/MiniGallery.d.ts +1 -1
- package/lib/components/MobileAppTile/MobileAppTile.d.ts +1 -1
- package/lib/components/MobileAppTile/MobileAppTile.js +1 -1
- package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/lib/components/MobileAppTile/MobileAppTile.mobile.d.ts +1 -1
- package/lib/components/MobileAppTile/MobileAppTile.mobile.js +1 -1
- package/lib/components/OfficeServicesBlock/OfficeServicesBlock.d.ts +1 -1
- package/lib/components/OtherProducts/OtherProducts.d.ts +1 -1
- package/lib/components/OtherProducts/OtherProductsContent.d.ts +2 -2
- package/lib/components/OtherProducts/OtherProductsItem.d.ts +1 -1
- package/lib/components/PictureText/PictureText.d.ts +1 -1
- package/lib/components/Placeholder/Placeholder.d.ts +1 -1
- package/lib/components/Placeholder/Placeholder.js +1 -1
- package/lib/components/Placeholder/Placeholder.js.map +1 -1
- package/lib/components/ProductBlock/ProductBlock.d.ts +1 -1
- package/lib/components/ProductBlock/ProductBlock.js +1 -1
- package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
- package/lib/components/ProductBlock/ProductBlock.mobile.d.ts +1 -1
- package/lib/components/ProductBlock/ProductBlock.mobile.js +1 -1
- package/lib/components/ProductBlock/ProductBlock.mobile.js.map +1 -1
- package/lib/components/ProductBlock/ProductBlockInner.d.ts +1 -1
- package/lib/components/ProductBlock/ProductBlockInner.js +1 -1
- package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/lib/components/ProductBlock/ProductBlockInner.mobile.d.ts +1 -1
- package/lib/components/ProductBlock/ProductBlockInner.mobile.js +1 -1
- package/lib/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
- package/lib/components/ProductGallery/ProductGallery.d.ts +1 -1
- package/lib/components/ProductGallery/ProductGallery.js +10 -10
- package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
- package/lib/components/ProductGallery/ProductGallery.mobile.d.ts +1 -1
- package/lib/components/ProductGallery/ProductGallery.mobile.js.map +1 -1
- package/lib/components/ProductGallery/ProductGalleryBlock.d.ts +1 -1
- package/lib/components/ProductGallery/ProductGalleryBlock.js +1 -1
- package/lib/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
- package/lib/components/ProductGallery/ProductGalleryContent.d.ts +0 -1
- package/lib/components/ProductTile/ProductTile.d.ts +1 -1
- package/lib/components/ProductTile/ProductTile.js +1 -1
- package/lib/components/PromoTile/PromoTile.d.ts +1 -1
- package/lib/components/PromoTile/PromoTile.js +1 -1
- package/lib/components/PromoTile/PromoTile.js.map +1 -1
- package/lib/components/Recommendation/Recommendation.d.ts +1 -1
- package/lib/components/Recommendation/RecommendationCard.d.ts +1 -1
- package/lib/components/SafeDepositRental/SafeDepositRental.d.ts +1 -1
- package/lib/components/StepsBlock/StepsBlock.d.ts +1 -1
- package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
- package/lib/components/StepsBlock/StepsBlock.mobile.d.ts +1 -1
- package/lib/components/StepsBlock/StepsBlock.mobile.js +5 -1
- package/lib/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
- package/lib/components/Tabs/Tabs.d.ts +1 -1
- package/lib/components/Tabs/renderTab.d.ts +1 -1
- package/lib/components/TariffsTable/TariffsTable.d.ts +1 -1
- package/lib/components/TariffsTable/TariffsTable.mobile.d.ts +1 -1
- package/lib/components/TariffsTable/TariffsTableCell.d.ts +1 -1
- package/lib/components/TariffsTable/TariffsTableHorizontal.d.ts +1 -1
- package/lib/components/TariffsTable/TariffsTableRow.d.ts +1 -1
- package/lib/components/TariffsTable/TariffsTableRowContainer.d.ts +1 -1
- package/lib/components/TariffsTable/TariffsTableVertical.d.ts +1 -1
- package/lib/components/TextBlock/TextBlock.d.ts +1 -1
- package/lib/components/TextBlock/TextBlock.mobile.d.ts +1 -1
- package/lib/components/Tile/Tile.d.ts +1 -1
- package/lib/content-page-repository/ContentPageRepository.d.ts +1 -1
- package/lib/content-page-repository/transformContentPage.d.ts +1 -1
- package/lib/icons/IconName.d.ts +94 -2
- package/lib/icons/IconName.js +4 -1
- package/lib/icons/IconName.js.map +1 -1
- package/lib/model/BlockDecorator.d.ts +14 -0
- package/lib/model/BlockDecorator.js +2 -0
- package/lib/model/BlockDecorator.js.map +1 -0
- package/lib/model/BlocksRegistry.d.ts +5 -0
- package/lib/model/BlocksRegistry.js +2 -0
- package/lib/model/BlocksRegistry.js.map +1 -0
- package/{mobile/lib/types.d.ts → lib/model/ContentPageDef.d.ts} +5 -20
- package/lib/model/ContentPageDef.js +2 -0
- package/lib/model/ContentPageDef.js.map +1 -0
- package/lib/{types → model}/Fallback.d.ts +0 -0
- package/lib/{types → model}/Fallback.js +0 -0
- package/lib/{types → model}/Fallback.js.map +1 -1
- package/lib/services/sitemap/useSitemap.d.ts +1 -1
- package/lib/ui-kit/BenefitItem/BenefitItemProps.d.ts +1 -0
- package/lib/ui-kit/BlockWrapper.d.ts +1 -1
- package/lib/ui-kit/Button/Button.mobile.js +4 -1
- package/lib/ui-kit/Button/Button.mobile.js.map +1 -1
- package/lib/ui-kit/Button/ButtonSection.d.ts +1 -1
- package/lib/ui-kit/Button/buttonClassNameConstants.js +1 -1
- package/lib/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
- package/lib/ui-kit/Foldable/Foldable.d.ts +1 -1
- package/lib/ui-kit/Icon/Icon.js +12 -4
- package/lib/ui-kit/Icon/Icon.js.map +1 -1
- package/lib/ui-kit/InnerTable/InnerTable.d.ts +1 -1
- package/lib/ui-kit/InnerTable/InnerTableBody.d.ts +1 -1
- package/lib/ui-kit/InnerTable/InnerTableBodyItem.d.ts +1 -1
- package/lib/ui-kit/InnerTable/InnerTableButton.d.ts +1 -1
- package/lib/ui-kit/Logo/Logo.d.ts +1 -1
- package/lib/ui-kit/Logo/Logo.js +2 -2
- package/lib/ui-kit/Logo/Logo.js.map +1 -1
- package/lib/ui-kit/Logo/Logo.mobile.d.ts +1 -1
- package/lib/ui-kit/Logo/Logo.mobile.js +2 -2
- package/lib/ui-kit/Logo/Logo.mobile.js.map +1 -1
- package/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +1 -1
- package/lib/ui-kit/SearchBar/SearchBar.d.ts +1 -1
- package/lib/ui-kit/SearchBar/SearchBar.mobile.d.ts +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +1 -1
- package/mobile/bundle/bundle.umd.js +72 -31
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/dist/api/DaDataAPI.d.ts +12 -0
- package/mobile/dist/api/DaDataAPI.js.map +1 -1
- package/mobile/dist/components/Accordion/Accordion.d.ts +1 -1
- package/mobile/dist/components/Accordion/AccordionItem.d.ts +1 -1
- package/mobile/dist/components/BaseTile/BaseTile.d.ts +1 -1
- package/mobile/dist/components/BenefitsBlock/BenefitsBlock.d.ts +1 -1
- package/mobile/dist/components/Bonus/Bonus.d.ts +1 -1
- package/mobile/dist/components/Bonus/Bonus.js.map +1 -1
- package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.d.ts +1 -1
- package/mobile/dist/components/Calculator/BonusCalculatorForm.d.ts +1 -1
- package/mobile/dist/components/Calculator/BonusCalculatorForm.js +1 -1
- package/mobile/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
- package/mobile/dist/components/Calculator/Calculator.d.ts +1 -1
- package/mobile/dist/components/Calculator/CreditCalculatorForm.d.ts +1 -1
- package/mobile/dist/components/Calculator/CreditCalculatorForm.js +1 -1
- package/mobile/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/mobile/dist/components/Calculator/DepositCalculatorForm.d.ts +1 -1
- package/mobile/dist/components/Calculator/DepositCalculatorForm.js +2 -2
- package/mobile/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
- package/mobile/dist/components/Calculator/renderCalculatorBlock.js +1 -1
- package/mobile/dist/components/Calculator/renderCalculatorBlock.js.map +1 -1
- package/mobile/dist/components/CardTransfer/CardTransfer.d.ts +1 -1
- package/mobile/dist/components/CardTransfer/CardTransfer.js +2 -2
- package/mobile/dist/components/CardTransfer/CardTransfer.js.map +1 -1
- package/mobile/dist/components/Catalog/Catalog.d.ts +1 -1
- package/mobile/dist/components/Catalog/CatalogCard.d.ts +1 -1
- package/mobile/dist/components/Catalog/CatalogCard.js +1 -1
- package/mobile/dist/components/Catalog/CatalogCard.js.map +1 -1
- package/mobile/dist/components/ComparisonTable/ComparisonTable.d.ts +1 -1
- package/mobile/dist/components/ComparisonTable/TableColumn.d.ts +2 -2
- package/mobile/dist/components/ContentPage/ContentPage.d.ts +5 -24
- package/mobile/dist/components/ContentPage/ContentPage.js +17 -19
- package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
- package/mobile/dist/components/ContentPage/ContentPageHead.d.ts +1 -1
- package/mobile/dist/components/ContentPage/computeAPIFallback.d.ts +2 -2
- package/mobile/dist/components/ContentPage/filterBlocks.d.ts +2 -2
- package/mobile/dist/components/ContentPage/isBlockInRegistry.d.ts +1 -1
- package/mobile/dist/components/ContentPage/normalizeBlock.d.ts +1 -1
- package/mobile/dist/components/ContentPage/normalizePage.d.ts +2 -2
- package/mobile/dist/components/ContentPage/renderBlock.d.ts +13 -0
- package/mobile/dist/components/ContentPage/renderBlock.js +28 -0
- package/mobile/dist/components/ContentPage/renderBlock.js.map +1 -0
- package/mobile/dist/components/ErrorBlock/ErrorBlock.d.ts +1 -1
- package/mobile/dist/components/ErrorBlock/ErrorBlock.js +1 -1
- package/mobile/dist/components/ErrorBlock/ErrorBlock.js.map +1 -1
- package/mobile/dist/components/ExchangeRateTile/CurrentLocation.js +1 -1
- package/mobile/dist/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
- package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +1 -1
- package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.d.ts +1 -1
- package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js +2 -1
- package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
- package/mobile/dist/components/Footer/Contacts.d.ts +1 -1
- package/mobile/dist/components/Footer/Footer.d.ts +1 -1
- package/mobile/dist/components/Footer/FooterLink.d.ts +1 -1
- package/mobile/dist/components/Footer/HorizontalNavigation.d.ts +2 -2
- package/mobile/dist/components/Footer/HorizontalNavigation.js.map +1 -1
- package/mobile/dist/components/Footer/MediaButton.js +1 -1
- 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.map +1 -1
- package/mobile/dist/components/Footer/SocialMedia.d.ts +1 -1
- package/mobile/dist/components/Gallery/GalleryInner.d.ts +1 -1
- package/mobile/dist/components/Gallery/GalleryProps.d.ts +1 -1
- package/mobile/dist/components/GracePeriod/GracePeriod.d.ts +1 -1
- package/mobile/dist/components/Header/DropdownMenu.d.ts +1 -1
- package/mobile/dist/components/Header/Header.d.ts +1 -1
- package/mobile/dist/components/Header/Header.fallback.d.ts +1 -1
- package/mobile/dist/components/Header/Header.js.map +1 -1
- package/mobile/dist/components/Headline/Headline.d.ts +1 -1
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +1 -1
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +1 -1
- package/mobile/dist/components/LikeControl/LikeControl.d.ts +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocs.d.ts +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocs.js +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocs.js.map +1 -1
- package/mobile/dist/components/LinkList/LinkList.d.ts +1 -1
- package/mobile/dist/components/LinkList/LinkList.js.map +1 -1
- package/mobile/dist/components/MiniGallery/MiniGallery.d.ts +1 -1
- package/mobile/dist/components/MobileAppTile/MobileAppTile.d.ts +1 -1
- package/mobile/dist/components/MobileAppTile/MobileAppTile.js +1 -1
- package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.d.ts +1 -1
- package/mobile/dist/components/OtherProducts/OtherProducts.d.ts +1 -1
- package/mobile/dist/components/OtherProducts/OtherProductsContent.d.ts +2 -2
- package/mobile/dist/components/OtherProducts/OtherProductsItem.d.ts +1 -1
- package/mobile/dist/components/PictureText/PictureText.d.ts +1 -1
- package/mobile/dist/components/Placeholder/Placeholder.d.ts +1 -1
- package/mobile/dist/components/Placeholder/Placeholder.js +1 -1
- package/mobile/dist/components/Placeholder/Placeholder.js.map +1 -1
- package/mobile/dist/components/ProductBlock/ProductBlock.d.ts +1 -1
- package/mobile/dist/components/ProductBlock/ProductBlock.js +1 -1
- package/mobile/dist/components/ProductBlock/ProductBlock.js.map +1 -1
- package/mobile/dist/components/ProductBlock/ProductBlockInner.d.ts +1 -1
- package/mobile/dist/components/ProductBlock/ProductBlockInner.js +1 -1
- package/mobile/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/mobile/dist/components/ProductGallery/ProductGallery.d.ts +1 -1
- package/mobile/dist/components/ProductGallery/ProductGallery.js.map +1 -1
- package/mobile/dist/components/ProductGallery/ProductGalleryBlock.d.ts +1 -1
- package/mobile/dist/components/ProductGallery/ProductGalleryBlock.js +1 -1
- package/mobile/dist/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
- package/mobile/dist/components/ProductGallery/ProductGalleryContent.d.ts +0 -1
- package/mobile/dist/components/ProductTile/ProductTile.d.ts +1 -1
- package/mobile/dist/components/ProductTile/ProductTile.js +1 -1
- package/mobile/dist/components/PromoTile/PromoTile.d.ts +1 -1
- package/mobile/dist/components/PromoTile/PromoTile.js +1 -1
- package/mobile/dist/components/PromoTile/PromoTile.js.map +1 -1
- package/mobile/dist/components/Recommendation/Recommendation.d.ts +1 -1
- package/mobile/dist/components/Recommendation/RecommendationCard.d.ts +1 -1
- package/mobile/dist/components/SafeDepositRental/SafeDepositRental.d.ts +1 -1
- package/mobile/dist/components/StepsBlock/StepsBlock.d.ts +1 -1
- package/mobile/dist/components/StepsBlock/StepsBlock.js +5 -1
- package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -1
- package/mobile/dist/components/Tabs/Tabs.d.ts +1 -1
- package/mobile/dist/components/Tabs/renderTab.d.ts +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTable.d.ts +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableCell.d.ts +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableHorizontal.d.ts +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableRow.d.ts +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableRowContainer.d.ts +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableVertical.d.ts +1 -1
- package/mobile/dist/components/TextBlock/TextBlock.d.ts +1 -1
- package/mobile/dist/components/Tile/Tile.d.ts +1 -1
- package/mobile/dist/content-page-repository/ContentPageRepository.d.ts +1 -1
- package/mobile/dist/content-page-repository/transformContentPage.d.ts +1 -1
- package/mobile/dist/icons/IconName.d.ts +94 -2
- package/mobile/dist/icons/IconName.js +6 -3
- package/mobile/dist/icons/IconName.js.map +1 -1
- package/mobile/dist/model/BlockDecorator.d.ts +14 -0
- package/mobile/dist/model/BlockDecorator.js +4 -0
- package/mobile/dist/model/BlockDecorator.js.map +1 -0
- package/mobile/dist/model/BlocksRegistry.d.ts +5 -0
- package/mobile/dist/{components/BlockContent.js → model/BlocksRegistry.js} +1 -1
- package/mobile/dist/model/BlocksRegistry.js.map +1 -0
- package/{lib/types.d.ts → mobile/dist/model/ContentPageDef.d.ts} +5 -20
- package/mobile/dist/model/ContentPageDef.js +2 -0
- package/mobile/dist/model/ContentPageDef.js.map +1 -0
- package/mobile/dist/{types → model}/Fallback.d.ts +0 -0
- package/mobile/dist/{types → model}/Fallback.js +0 -0
- package/mobile/dist/{types → model}/Fallback.js.map +1 -1
- package/mobile/dist/services/sitemap/useSitemap.d.ts +1 -1
- package/mobile/dist/ui-kit/BenefitItem/BenefitItemProps.d.ts +1 -0
- package/mobile/dist/ui-kit/BlockWrapper.d.ts +1 -1
- package/mobile/dist/ui-kit/Button/Button.js +4 -1
- package/mobile/dist/ui-kit/Button/Button.js.map +1 -1
- package/mobile/dist/ui-kit/Button/ButtonSection.d.ts +1 -1
- package/mobile/dist/ui-kit/Button/buttonClassNameConstants.js +1 -1
- package/mobile/dist/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
- package/mobile/dist/ui-kit/Foldable/Foldable.d.ts +1 -1
- package/mobile/dist/ui-kit/Icon/Icon.js +11 -3
- package/mobile/dist/ui-kit/Icon/Icon.js.map +1 -1
- package/mobile/dist/ui-kit/InnerTable/InnerTable.d.ts +1 -1
- package/mobile/dist/ui-kit/InnerTable/InnerTableBody.d.ts +1 -1
- package/mobile/dist/ui-kit/InnerTable/InnerTableBodyItem.d.ts +1 -1
- package/mobile/dist/ui-kit/InnerTable/InnerTableButton.d.ts +1 -1
- package/mobile/dist/ui-kit/Logo/Logo.d.ts +1 -1
- package/mobile/dist/ui-kit/Logo/Logo.js +2 -2
- package/mobile/dist/ui-kit/Logo/Logo.js.map +1 -1
- package/mobile/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +1 -1
- package/mobile/dist/ui-kit/SearchBar/SearchBar.d.ts +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +1 -1
- package/mobile/lib/api/DaDataAPI.d.ts +12 -0
- package/mobile/lib/api/DaDataAPI.js.map +1 -1
- package/mobile/lib/components/Accordion/Accordion.d.ts +1 -1
- package/mobile/lib/components/Accordion/AccordionItem.d.ts +1 -1
- package/mobile/lib/components/BaseTile/BaseTile.d.ts +1 -1
- package/mobile/lib/components/BenefitsBlock/BenefitsBlock.d.ts +1 -1
- package/mobile/lib/components/Bonus/Bonus.d.ts +1 -1
- package/mobile/lib/components/Bonus/Bonus.js.map +1 -1
- package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.d.ts +1 -1
- package/mobile/lib/components/Calculator/BonusCalculatorForm.d.ts +1 -1
- package/mobile/lib/components/Calculator/BonusCalculatorForm.js +1 -1
- package/mobile/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
- package/mobile/lib/components/Calculator/Calculator.d.ts +1 -1
- package/mobile/lib/components/Calculator/CreditCalculatorForm.d.ts +1 -1
- package/mobile/lib/components/Calculator/CreditCalculatorForm.js +1 -1
- package/mobile/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/mobile/lib/components/Calculator/DepositCalculatorForm.d.ts +1 -1
- package/mobile/lib/components/Calculator/DepositCalculatorForm.js +2 -2
- package/mobile/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
- package/mobile/lib/components/Calculator/renderCalculatorBlock.js +1 -1
- package/mobile/lib/components/Calculator/renderCalculatorBlock.js.map +1 -1
- package/mobile/lib/components/CardTransfer/CardTransfer.d.ts +1 -1
- package/mobile/lib/components/CardTransfer/CardTransfer.js +2 -2
- package/mobile/lib/components/CardTransfer/CardTransfer.js.map +1 -1
- package/mobile/lib/components/Catalog/Catalog.d.ts +1 -1
- package/mobile/lib/components/Catalog/CatalogCard.d.ts +1 -1
- package/mobile/lib/components/Catalog/CatalogCard.js +1 -1
- package/mobile/lib/components/Catalog/CatalogCard.js.map +1 -1
- package/mobile/lib/components/ComparisonTable/ComparisonTable.d.ts +1 -1
- package/mobile/lib/components/ComparisonTable/TableColumn.d.ts +2 -2
- package/mobile/lib/components/ContentPage/ContentPage.d.ts +5 -24
- package/mobile/lib/components/ContentPage/ContentPage.js +17 -19
- package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
- package/mobile/lib/components/ContentPage/ContentPageHead.d.ts +1 -1
- package/mobile/lib/components/ContentPage/computeAPIFallback.d.ts +2 -2
- package/mobile/lib/components/ContentPage/filterBlocks.d.ts +2 -2
- package/mobile/lib/components/ContentPage/isBlockInRegistry.d.ts +1 -1
- package/mobile/lib/components/ContentPage/normalizeBlock.d.ts +1 -1
- package/mobile/lib/components/ContentPage/normalizePage.d.ts +2 -2
- package/mobile/lib/components/ContentPage/renderBlock.d.ts +13 -0
- package/mobile/lib/components/ContentPage/renderBlock.js +25 -0
- package/mobile/lib/components/ContentPage/renderBlock.js.map +1 -0
- package/mobile/lib/components/ErrorBlock/ErrorBlock.d.ts +1 -1
- package/mobile/lib/components/ErrorBlock/ErrorBlock.js +1 -1
- package/mobile/lib/components/ErrorBlock/ErrorBlock.js.map +1 -1
- package/mobile/lib/components/ExchangeRateTile/CurrentLocation.js +1 -1
- package/mobile/lib/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
- package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +1 -1
- package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.d.ts +1 -1
- package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js +2 -1
- package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
- package/mobile/lib/components/Footer/Contacts.d.ts +1 -1
- package/mobile/lib/components/Footer/Footer.d.ts +1 -1
- package/mobile/lib/components/Footer/FooterLink.d.ts +1 -1
- package/mobile/lib/components/Footer/HorizontalNavigation.d.ts +2 -2
- package/mobile/lib/components/Footer/HorizontalNavigation.js.map +1 -1
- package/mobile/lib/components/Footer/MediaButton.js +1 -1
- 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.map +1 -1
- package/mobile/lib/components/Footer/SocialMedia.d.ts +1 -1
- package/mobile/lib/components/Gallery/GalleryInner.d.ts +1 -1
- package/mobile/lib/components/Gallery/GalleryProps.d.ts +1 -1
- package/mobile/lib/components/GracePeriod/GracePeriod.d.ts +1 -1
- package/mobile/lib/components/Header/DropdownMenu.d.ts +1 -1
- package/mobile/lib/components/Header/Header.d.ts +1 -1
- package/mobile/lib/components/Header/Header.fallback.d.ts +1 -1
- package/mobile/lib/components/Header/Header.js.map +1 -1
- package/mobile/lib/components/Headline/Headline.d.ts +1 -1
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +1 -1
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +1 -1
- package/mobile/lib/components/LikeControl/LikeControl.d.ts +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocs.d.ts +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocs.js +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocs.js.map +1 -1
- package/mobile/lib/components/LinkList/LinkList.d.ts +1 -1
- package/mobile/lib/components/LinkList/LinkList.js.map +1 -1
- package/mobile/lib/components/MiniGallery/MiniGallery.d.ts +1 -1
- package/mobile/lib/components/MobileAppTile/MobileAppTile.d.ts +1 -1
- package/mobile/lib/components/MobileAppTile/MobileAppTile.js +1 -1
- package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.d.ts +1 -1
- package/mobile/lib/components/OtherProducts/OtherProducts.d.ts +1 -1
- package/mobile/lib/components/OtherProducts/OtherProductsContent.d.ts +2 -2
- package/mobile/lib/components/OtherProducts/OtherProductsItem.d.ts +1 -1
- package/mobile/lib/components/PictureText/PictureText.d.ts +1 -1
- package/mobile/lib/components/Placeholder/Placeholder.d.ts +1 -1
- package/mobile/lib/components/Placeholder/Placeholder.js +1 -1
- package/mobile/lib/components/Placeholder/Placeholder.js.map +1 -1
- package/mobile/lib/components/ProductBlock/ProductBlock.d.ts +1 -1
- package/mobile/lib/components/ProductBlock/ProductBlock.js +1 -1
- package/mobile/lib/components/ProductBlock/ProductBlock.js.map +1 -1
- package/mobile/lib/components/ProductBlock/ProductBlockInner.d.ts +1 -1
- package/mobile/lib/components/ProductBlock/ProductBlockInner.js +1 -1
- package/mobile/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/mobile/lib/components/ProductGallery/ProductGallery.d.ts +1 -1
- package/mobile/lib/components/ProductGallery/ProductGallery.js.map +1 -1
- package/mobile/lib/components/ProductGallery/ProductGalleryBlock.d.ts +1 -1
- package/mobile/lib/components/ProductGallery/ProductGalleryBlock.js +1 -1
- package/mobile/lib/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
- package/mobile/lib/components/ProductGallery/ProductGalleryContent.d.ts +0 -1
- package/mobile/lib/components/ProductTile/ProductTile.d.ts +1 -1
- package/mobile/lib/components/ProductTile/ProductTile.js +1 -1
- package/mobile/lib/components/PromoTile/PromoTile.d.ts +1 -1
- package/mobile/lib/components/PromoTile/PromoTile.js +1 -1
- package/mobile/lib/components/PromoTile/PromoTile.js.map +1 -1
- package/mobile/lib/components/Recommendation/Recommendation.d.ts +1 -1
- package/mobile/lib/components/Recommendation/RecommendationCard.d.ts +1 -1
- package/mobile/lib/components/SafeDepositRental/SafeDepositRental.d.ts +1 -1
- package/mobile/lib/components/StepsBlock/StepsBlock.d.ts +1 -1
- package/mobile/lib/components/StepsBlock/StepsBlock.js +5 -1
- package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -1
- package/mobile/lib/components/Tabs/Tabs.d.ts +1 -1
- package/mobile/lib/components/Tabs/renderTab.d.ts +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTable.d.ts +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableCell.d.ts +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableHorizontal.d.ts +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableRow.d.ts +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableRowContainer.d.ts +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableVertical.d.ts +1 -1
- package/mobile/lib/components/TextBlock/TextBlock.d.ts +1 -1
- package/mobile/lib/components/Tile/Tile.d.ts +1 -1
- package/mobile/lib/content-page-repository/ContentPageRepository.d.ts +1 -1
- package/mobile/lib/content-page-repository/transformContentPage.d.ts +1 -1
- package/mobile/lib/icons/IconName.d.ts +94 -2
- package/mobile/lib/icons/IconName.js +4 -1
- package/mobile/lib/icons/IconName.js.map +1 -1
- package/mobile/lib/model/BlockDecorator.d.ts +14 -0
- package/mobile/lib/model/BlockDecorator.js +2 -0
- package/mobile/lib/model/BlockDecorator.js.map +1 -0
- package/mobile/lib/model/BlocksRegistry.d.ts +5 -0
- package/mobile/lib/model/BlocksRegistry.js +2 -0
- package/mobile/lib/model/BlocksRegistry.js.map +1 -0
- package/{dist/types.d.ts → mobile/lib/model/ContentPageDef.d.ts} +5 -20
- package/mobile/lib/model/ContentPageDef.js +2 -0
- package/mobile/lib/model/ContentPageDef.js.map +1 -0
- package/mobile/lib/{types → model}/Fallback.d.ts +0 -0
- package/mobile/lib/{types → model}/Fallback.js +0 -0
- package/mobile/lib/{types → model}/Fallback.js.map +1 -1
- package/mobile/lib/services/sitemap/useSitemap.d.ts +1 -1
- package/mobile/lib/ui-kit/BenefitItem/BenefitItemProps.d.ts +1 -0
- package/mobile/lib/ui-kit/BlockWrapper.d.ts +1 -1
- package/mobile/lib/ui-kit/Button/Button.js +4 -1
- package/mobile/lib/ui-kit/Button/Button.js.map +1 -1
- package/mobile/lib/ui-kit/Button/ButtonSection.d.ts +1 -1
- package/mobile/lib/ui-kit/Button/buttonClassNameConstants.js +1 -1
- package/mobile/lib/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
- package/mobile/lib/ui-kit/Foldable/Foldable.d.ts +1 -1
- package/mobile/lib/ui-kit/Icon/Icon.js +12 -4
- package/mobile/lib/ui-kit/Icon/Icon.js.map +1 -1
- package/mobile/lib/ui-kit/InnerTable/InnerTable.d.ts +1 -1
- package/mobile/lib/ui-kit/InnerTable/InnerTableBody.d.ts +1 -1
- package/mobile/lib/ui-kit/InnerTable/InnerTableBodyItem.d.ts +1 -1
- package/mobile/lib/ui-kit/InnerTable/InnerTableButton.d.ts +1 -1
- package/mobile/lib/ui-kit/Logo/Logo.d.ts +1 -1
- package/mobile/lib/ui-kit/Logo/Logo.js +2 -2
- package/mobile/lib/ui-kit/Logo/Logo.js.map +1 -1
- package/mobile/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +1 -1
- package/mobile/lib/ui-kit/SearchBar/SearchBar.d.ts +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +1 -1
- package/mobile/src/api/DaDataAPI.ts +13 -1
- package/mobile/src/components/Accordion/Accordion.tsx +1 -1
- package/mobile/src/components/Accordion/AccordionItem.tsx +1 -1
- package/mobile/src/components/BaseTile/BaseTile.tsx +1 -1
- package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
- package/mobile/src/components/Bonus/Bonus.tsx +2 -2
- package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +1 -1
- package/mobile/src/components/Calculator/BonusCalculatorForm.tsx +2 -2
- package/mobile/src/components/Calculator/Calculator.tsx +1 -1
- package/mobile/src/components/Calculator/CreditCalculatorForm.tsx +2 -2
- package/mobile/src/components/Calculator/DepositCalculatorForm.tsx +3 -3
- package/mobile/src/components/Calculator/renderCalculatorBlock.tsx +2 -2
- package/mobile/src/components/CardTransfer/CardTransfer.tsx +4 -4
- package/mobile/src/components/Catalog/Catalog.tsx +1 -1
- package/mobile/src/components/Catalog/CatalogCard.tsx +2 -2
- package/mobile/src/components/ComparisonTable/ComparisonTable.tsx +1 -1
- package/mobile/src/components/ComparisonTable/TableColumn.tsx +2 -2
- package/mobile/src/components/ContentPage/ContentPage.tsx +53 -101
- package/mobile/src/components/ContentPage/ContentPageHead.tsx +1 -1
- package/mobile/src/components/ContentPage/computeAPIFallback.spec.ts +1 -1
- package/mobile/src/components/ContentPage/computeAPIFallback.ts +2 -2
- package/mobile/src/components/ContentPage/filterBlocks.ts +2 -2
- package/mobile/src/components/ContentPage/isBlockInRegistry.ts +1 -1
- package/mobile/src/components/ContentPage/normalizeBlock.spec.ts +1 -1
- package/mobile/src/components/ContentPage/normalizeBlock.ts +1 -1
- package/mobile/src/components/ContentPage/normalizePage.ts +2 -2
- package/mobile/src/components/ContentPage/renderBlock.tsx +62 -0
- package/mobile/src/components/ErrorBlock/ErrorBlock.tsx +3 -3
- package/mobile/src/components/ExchangeRateTile/CurrentLocation.tsx +1 -1
- package/mobile/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +1 -1
- package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.tsx +6 -3
- package/mobile/src/components/Footer/Contacts.tsx +1 -1
- package/mobile/src/components/Footer/Footer.tsx +2 -2
- package/mobile/src/components/Footer/FooterLink.ts +1 -1
- package/mobile/src/components/Footer/HorizontalNavigation.tsx +3 -3
- package/mobile/src/components/Footer/MediaButton.tsx +1 -1
- package/mobile/src/components/Footer/Sitemap.tsx +2 -2
- package/mobile/src/components/Footer/SocialMedia.tsx +1 -1
- package/mobile/src/components/Gallery/GalleryInner.tsx +1 -1
- package/mobile/src/components/Gallery/GalleryProps.ts +1 -1
- package/mobile/src/components/GracePeriod/GracePeriod.tsx +1 -1
- package/mobile/src/components/Header/DropdownMenu.tsx +1 -1
- package/mobile/src/components/Header/Header.fallback.ts +1 -1
- package/mobile/src/components/Header/Header.tsx +2 -2
- package/mobile/src/components/Headline/Headline.tsx +1 -1
- package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +1 -1
- package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +1 -1
- package/mobile/src/components/LikeControl/LikeControl.tsx +1 -1
- package/mobile/src/components/LinkDocs/LinkDocs.tsx +2 -2
- package/mobile/src/components/LinkList/LinkList.tsx +1 -1
- package/mobile/src/components/MiniGallery/MiniGallery.tsx +1 -1
- package/mobile/src/components/MobileAppTile/MobileAppTile.tsx +2 -2
- package/mobile/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +1 -1
- package/mobile/src/components/OtherProducts/OtherProducts.tsx +1 -1
- package/mobile/src/components/OtherProducts/OtherProductsContent.ts +2 -2
- package/mobile/src/components/OtherProducts/OtherProductsItem.tsx +1 -1
- package/mobile/src/components/PictureText/PictureText.example.json +2 -0
- package/mobile/src/components/PictureText/PictureText.tsx +1 -1
- package/mobile/src/components/Placeholder/Placeholder.tsx +3 -3
- package/mobile/src/components/ProductBlock/ProductBlock.tsx +3 -3
- package/mobile/src/components/ProductBlock/ProductBlockInner.tsx +3 -3
- package/mobile/src/components/ProductGallery/ProductGallery.tsx +2 -2
- package/mobile/src/components/ProductGallery/ProductGalleryBlock.tsx +3 -3
- package/mobile/src/components/ProductGallery/ProductGalleryContent.ts +0 -1
- package/mobile/src/components/ProductTile/ProductTile.tsx +2 -2
- package/mobile/src/components/PromoTile/PromoTile.tsx +3 -3
- package/mobile/src/components/Recommendation/Recommendation.tsx +1 -1
- package/mobile/src/components/Recommendation/RecommendationCard.tsx +1 -1
- package/mobile/src/components/SafeDepositRental/SafeDepositRental.tsx +1 -1
- package/mobile/src/components/StepsBlock/StepsBlock.tsx +14 -3
- package/mobile/src/components/Tabs/Tabs.tsx +1 -1
- package/mobile/src/components/Tabs/renderTab.tsx +1 -1
- package/mobile/src/components/TariffsTable/TariffsTable.tsx +1 -1
- package/mobile/src/components/TariffsTable/TariffsTableCell.tsx +1 -1
- package/mobile/src/components/TariffsTable/TariffsTableHorizontal.tsx +1 -1
- package/mobile/src/components/TariffsTable/TariffsTableRow.tsx +1 -1
- package/mobile/src/components/TariffsTable/TariffsTableRowContainer.tsx +1 -1
- package/mobile/src/components/TariffsTable/TariffsTableVertical.tsx +1 -1
- package/mobile/src/components/TextBlock/TextBlock.tsx +1 -1
- package/mobile/src/components/Tile/Tile.tsx +1 -1
- package/mobile/src/components/__snapshots__/Blocks.spec.tsx.snap +84 -81
- package/mobile/src/content-page-repository/ContentPageRepository.ts +1 -1
- package/mobile/src/content-page-repository/transformContentPage.ts +1 -1
- package/mobile/src/icons/AirPlaneIcon.svg +16 -1
- package/mobile/src/icons/AppleIcon.svg +1 -1
- package/mobile/src/icons/ArrowDownIcon.svg +1 -1
- package/mobile/src/icons/ArrowLeftIcon.svg +1 -1
- package/mobile/src/icons/ArrowUpIcon.svg +1 -1
- package/mobile/src/icons/AtmIcon.svg +1 -1
- package/mobile/src/icons/BankIcon.svg +1 -1
- package/mobile/src/icons/BuildingIcon.svg +1 -1
- package/mobile/src/icons/BurgerIcon.svg +1 -1
- package/mobile/src/icons/Calendar2Icon.svg +1 -1
- package/mobile/src/icons/CalendarCircleIcon.svg +1 -1
- package/mobile/src/icons/CalendarIcon.svg +1 -1
- package/mobile/src/icons/CalendarTickIcon.svg +1 -1
- package/mobile/src/icons/Car2Icon.svg +1 -1
- package/mobile/src/icons/CardIcon.svg +1 -1
- package/mobile/src/icons/CardPosIcon.svg +1 -1
- package/mobile/src/icons/CardTickIcon.svg +6 -6
- package/mobile/src/icons/ChartSquareIcon.svg +1 -1
- package/mobile/src/icons/CloseIcon.svg +1 -1
- package/mobile/src/icons/DiscountShapeIcon.svg +1 -1
- package/mobile/src/icons/DocDownloadIcon.svg +7 -7
- package/mobile/src/icons/DocIcon.svg +1 -1
- package/mobile/src/icons/DocIconMonoColor.svg +1 -1
- package/mobile/src/icons/DocumentTextIcon.svg +1 -1
- package/mobile/src/icons/DoneSimpleIcon.svg +2 -2
- package/mobile/src/icons/EmptyWalletChangeIcon.svg +1 -1
- package/mobile/src/icons/EmptyWalletIcon.svg +1 -1
- package/mobile/src/icons/GeolocationIcon.svg +1 -1
- package/mobile/src/icons/GlobalIcon.svg +1 -1
- package/mobile/src/icons/GpsIcon.svg +1 -1
- package/mobile/src/icons/GridIcon.svg +1 -1
- package/mobile/src/icons/IconName.ts +7 -2
- package/mobile/src/icons/InterestIcon.svg +1 -1
- package/mobile/src/icons/LogoIcon.svg +1 -1
- package/mobile/src/icons/LoupeIcon.svg +1 -1
- package/mobile/src/icons/MinusIcon.svg +1 -1
- package/mobile/src/icons/MoneyIcon.svg +1 -1
- package/mobile/src/icons/MoneysIcon.svg +1 -1
- package/mobile/src/icons/MonitorMobileIcon.svg +1 -1
- package/mobile/src/icons/OkIcon.svg +1 -1
- package/mobile/src/icons/PercentageRoundIcon.svg +1 -1
- package/mobile/src/icons/PercentageSquareIcon.svg +1 -1
- package/mobile/src/icons/PersonalCardIcon.svg +1 -1
- package/mobile/src/icons/PlayMarketIcon.svg +1 -1
- package/mobile/src/icons/PlusIcon.svg +1 -1
- package/mobile/src/icons/Profile2UserIcon.svg +1 -1
- package/mobile/src/icons/ProfileIcon.svg +1 -1
- package/mobile/src/icons/RoundRubleIcon.svg +1 -1
- package/mobile/src/icons/SafeIcon.svg +1 -1
- package/mobile/src/icons/ShieldTickIcon.svg +1 -1
- package/mobile/src/icons/SmallClockIcon.svg +1 -1
- package/mobile/src/icons/StrongBoxIcon.svg +1 -1
- package/mobile/src/icons/TelegramIcon.svg +1 -1
- package/mobile/src/icons/UserSquareIcon.svg +1 -1
- package/mobile/src/icons/UserTickIcon.svg +1 -1
- package/mobile/src/icons/VKIcon.svg +1 -1
- package/mobile/src/icons/WalletAdd2Icon.svg +1 -1
- package/mobile/src/icons/WalletAddIcon.svg +1 -1
- package/mobile/src/icons/WalletIcon.svg +1 -1
- package/mobile/src/icons/WalletWithMoneyIcon.svg +1 -1
- package/mobile/src/model/BlockDecorator.ts +17 -0
- package/mobile/src/model/BlocksRegistry.ts +11 -0
- package/mobile/src/{types.ts → model/ContentPageDef.ts} +5 -23
- package/mobile/src/{types → model}/Fallback.ts +1 -0
- package/mobile/src/services/sitemap/useSitemap.ts +1 -1
- package/mobile/src/ui-kit/BenefitItem/BenefitItemProps.ts +1 -0
- package/mobile/src/ui-kit/BlockWrapper.tsx +1 -1
- package/mobile/src/ui-kit/BlocksList/renderBlocksList.tsx +2 -2
- package/mobile/src/ui-kit/Button/Button.tsx +4 -1
- package/mobile/src/ui-kit/Button/ButtonSection.tsx +1 -1
- package/mobile/src/ui-kit/Button/buttonClassNameConstants.ts +2 -1
- package/mobile/src/ui-kit/Foldable/Foldable.tsx +1 -1
- package/mobile/src/ui-kit/Icon/Icon.tsx +29 -12
- package/mobile/src/ui-kit/InnerTable/InnerTable.tsx +1 -1
- package/mobile/src/ui-kit/InnerTable/InnerTableBody.tsx +1 -1
- package/mobile/src/ui-kit/InnerTable/InnerTableBodyItem.tsx +1 -1
- package/mobile/src/ui-kit/InnerTable/InnerTableButton.tsx +1 -1
- package/mobile/src/ui-kit/Logo/Logo.tsx +9 -5
- package/mobile/src/ui-kit/RadioButtonGroup/RadioButtonGroup.tsx +1 -1
- package/mobile/src/ui-kit/SearchBar/SearchBar.tsx +1 -1
- package/mobile/src/ui-kit/SwipeListControl/SwipeListControlProps.ts +1 -1
- package/package.json +1 -1
- package/src/api/DaDataAPI.ts +13 -1
- package/src/components/Accordion/Accordion.mobile.tsx +1 -1
- package/src/components/Accordion/Accordion.tsx +1 -1
- package/src/components/Accordion/AccordionItem.mobile.tsx +1 -1
- package/src/components/Accordion/AccordionItem.tsx +1 -1
- package/src/components/BaseTile/BaseTile.tsx +1 -1
- package/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
- package/src/components/Bonus/Bonus.tsx +2 -2
- package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +1 -1
- package/src/components/Calculator/BonusCalculatorForm.tsx +2 -2
- package/src/components/Calculator/Calculator.tsx +1 -1
- package/src/components/Calculator/CreditCalculatorForm.tsx +2 -2
- package/src/components/Calculator/DepositCalculatorForm.tsx +3 -3
- package/src/components/Calculator/renderCalculatorBlock.tsx +2 -2
- package/src/components/CardTransfer/CardTransfer.tsx +4 -4
- package/src/components/Catalog/Catalog.tsx +1 -1
- package/src/components/Catalog/CatalogCard.tsx +2 -2
- package/src/components/ComparisonTable/ComparisonTable.mobile.tsx +1 -1
- package/src/components/ComparisonTable/ComparisonTable.tsx +1 -1
- package/src/components/ComparisonTable/TableColumn.tsx +2 -2
- package/src/components/ContentPage/ContentPage.fixture.mobile.tsx +1 -1
- package/src/components/ContentPage/ContentPage.fixture.tsx +3 -2
- package/src/components/ContentPage/ContentPage.tsx +53 -101
- package/src/components/ContentPage/ContentPageHead.tsx +1 -1
- package/src/components/ContentPage/computeAPIFallback.spec.ts +1 -1
- package/src/components/ContentPage/computeAPIFallback.ts +2 -2
- package/src/components/ContentPage/filterBlocks.mobile.ts +2 -2
- package/src/components/ContentPage/filterBlocks.ts +2 -2
- package/src/components/ContentPage/isBlockInRegistry.ts +1 -1
- package/src/components/ContentPage/normalizeBlock.mobile.spec.ts +1 -1
- package/src/components/ContentPage/normalizeBlock.mobile.ts +1 -1
- package/src/components/ContentPage/normalizeBlock.spec.ts +1 -1
- package/src/components/ContentPage/normalizeBlock.ts +1 -1
- package/src/components/ContentPage/normalizePage.ts +2 -2
- package/src/components/ContentPage/renderBlock.tsx +62 -0
- package/src/components/ErrorBlock/ErrorBlock.tsx +3 -3
- package/src/components/ExchangeRateTile/CurrentLocation.tsx +1 -1
- package/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +1 -1
- package/src/components/ExchangeRateTile/ExchangeRateTile.tsx +6 -3
- package/src/components/Footer/Contacts.tsx +1 -1
- package/src/components/Footer/Footer.mobile.tsx +2 -2
- package/src/components/Footer/Footer.tsx +2 -2
- package/src/components/Footer/FooterLink.ts +1 -1
- package/src/components/Footer/HorizontalNavigation.mobile.tsx +3 -3
- package/src/components/Footer/HorizontalNavigation.tsx +3 -3
- package/src/components/Footer/MediaButton.tsx +1 -1
- package/src/components/Footer/Sitemap.tsx +2 -2
- package/src/components/Footer/SocialMedia.mobile.tsx +1 -1
- package/src/components/Footer/SocialMedia.tsx +1 -1
- package/src/components/Gallery/GalleryInner.tsx +1 -1
- package/src/components/Gallery/GalleryProps.ts +1 -1
- package/src/components/GracePeriod/GracePeriod.tsx +1 -1
- package/src/components/Header/DropdownMenu.tsx +1 -1
- package/src/components/Header/Header.fallback.ts +1 -1
- package/src/components/Header/Header.mobile.tsx +2 -2
- package/src/components/Header/Header.tsx +2 -2
- package/src/components/Headline/Headline.mobile.tsx +1 -1
- package/src/components/Headline/Headline.tsx +2 -2
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +1 -1
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +1 -1
- package/src/components/LikeControl/LikeControl.tsx +1 -1
- package/src/components/LinkDocs/LinkDocs.mobile.tsx +2 -2
- package/src/components/LinkDocs/LinkDocs.tsx +1 -1
- package/src/components/LinkList/LinkList.tsx +1 -1
- package/src/components/MiniGallery/MiniGallery.tsx +1 -1
- package/src/components/MobileAppTile/MobileAppTile.mobile.tsx +2 -2
- package/src/components/MobileAppTile/MobileAppTile.tsx +3 -3
- package/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +1 -1
- package/src/components/OtherProducts/OtherProducts.tsx +1 -1
- package/src/components/OtherProducts/OtherProductsContent.ts +2 -2
- package/src/components/OtherProducts/OtherProductsItem.tsx +1 -1
- package/src/components/PictureText/PictureText.example.json +2 -0
- package/src/components/PictureText/PictureText.tsx +1 -1
- package/src/components/Placeholder/Placeholder.tsx +3 -3
- package/src/components/ProductBlock/ProductBlock.mobile.tsx +3 -3
- package/src/components/ProductBlock/ProductBlock.tsx +3 -3
- package/src/components/ProductBlock/ProductBlockInner.mobile.tsx +3 -3
- package/src/components/ProductBlock/ProductBlockInner.tsx +2 -2
- package/src/components/ProductGallery/ProductGallery.mobile.tsx +2 -2
- package/src/components/ProductGallery/ProductGallery.tsx +14 -14
- package/src/components/ProductGallery/ProductGalleryBlock.tsx +3 -3
- package/src/components/ProductGallery/ProductGalleryContent.ts +0 -1
- package/src/components/ProductTile/ProductTile.tsx +2 -2
- package/src/components/PromoTile/PromoTile.tsx +3 -3
- package/src/components/Recommendation/Recommendation.tsx +1 -1
- package/src/components/Recommendation/RecommendationCard.tsx +1 -1
- package/src/components/SafeDepositRental/SafeDepositRental.tsx +1 -1
- package/src/components/StepsBlock/StepsBlock.mobile.tsx +14 -3
- package/src/components/StepsBlock/StepsBlock.tsx +2 -2
- package/src/components/Tabs/Tabs.tsx +1 -1
- package/src/components/Tabs/renderTab.tsx +1 -1
- package/src/components/TariffsTable/TariffsTable.mobile.tsx +1 -1
- package/src/components/TariffsTable/TariffsTable.tsx +1 -1
- package/src/components/TariffsTable/TariffsTableCell.tsx +1 -1
- package/src/components/TariffsTable/TariffsTableHorizontal.tsx +1 -1
- package/src/components/TariffsTable/TariffsTableRow.tsx +1 -1
- package/src/components/TariffsTable/TariffsTableRowContainer.tsx +1 -1
- package/src/components/TariffsTable/TariffsTableVertical.tsx +1 -1
- package/src/components/TextBlock/TextBlock.mobile.tsx +1 -1
- package/src/components/TextBlock/TextBlock.tsx +1 -1
- package/src/components/Tile/Tile.tsx +1 -1
- package/src/components/__snapshots__/Blocks.spec.tsx.snap +84 -81
- package/src/content-page-repository/ContentPageRepository.ts +1 -1
- package/src/content-page-repository/transformContentPage.ts +1 -1
- package/src/icons/AirPlaneIcon.svg +16 -1
- package/src/icons/AppleIcon.svg +1 -1
- package/src/icons/ArrowDownIcon.svg +1 -1
- package/src/icons/ArrowLeftIcon.svg +1 -1
- package/src/icons/ArrowUpIcon.svg +1 -1
- package/src/icons/AtmIcon.svg +1 -1
- package/src/icons/BankIcon.svg +1 -1
- package/src/icons/BuildingIcon.svg +1 -1
- package/src/icons/BurgerIcon.svg +1 -1
- package/src/icons/Calendar2Icon.svg +1 -1
- package/src/icons/CalendarCircleIcon.svg +1 -1
- package/src/icons/CalendarIcon.svg +1 -1
- package/src/icons/CalendarTickIcon.svg +1 -1
- package/src/icons/Car2Icon.svg +1 -1
- package/src/icons/CardIcon.svg +1 -1
- package/src/icons/CardPosIcon.svg +1 -1
- package/src/icons/CardTickIcon.svg +6 -6
- package/src/icons/ChartSquareIcon.svg +1 -1
- package/src/icons/CloseIcon.svg +1 -1
- package/src/icons/DiscountShapeIcon.svg +1 -1
- package/src/icons/DocDownloadIcon.svg +7 -7
- package/src/icons/DocIcon.svg +1 -1
- package/src/icons/DocIconMonoColor.svg +1 -1
- package/src/icons/DocumentTextIcon.svg +1 -1
- package/src/icons/DoneSimpleIcon.svg +2 -2
- package/src/icons/EmptyWalletChangeIcon.svg +1 -1
- package/src/icons/EmptyWalletIcon.svg +1 -1
- package/src/icons/GeolocationIcon.svg +1 -1
- package/src/icons/GlobalIcon.svg +1 -1
- package/src/icons/GpsIcon.svg +1 -1
- package/src/icons/GridIcon.svg +1 -1
- package/src/icons/IconName.ts +96 -2
- package/src/icons/InterestIcon.svg +1 -1
- package/src/icons/LogoIcon.svg +1 -1
- package/src/icons/LoupeIcon.svg +1 -1
- package/src/icons/MinusIcon.svg +1 -1
- package/src/icons/MoneyIcon.svg +1 -1
- package/src/icons/MoneysIcon.svg +1 -1
- package/src/icons/MonitorMobileIcon.svg +1 -1
- package/src/icons/OkIcon.svg +1 -1
- package/src/icons/PercentageRoundIcon.svg +1 -1
- package/src/icons/PercentageSquareIcon.svg +1 -1
- package/src/icons/PersonalCardIcon.svg +1 -1
- package/src/icons/PlayMarketIcon.svg +1 -1
- package/src/icons/PlusIcon.svg +1 -1
- package/src/icons/Profile2UserIcon.svg +1 -1
- package/src/icons/ProfileIcon.svg +1 -1
- package/src/icons/RoundRubleIcon.svg +1 -1
- package/src/icons/SafeIcon.svg +1 -1
- package/src/icons/ShieldTickIcon.svg +1 -1
- package/src/icons/SmallClockIcon.svg +1 -1
- package/src/icons/StrongBoxIcon.svg +1 -1
- package/src/icons/TelegramIcon.svg +1 -1
- package/src/icons/UserSquareIcon.svg +1 -1
- package/src/icons/UserTickIcon.svg +1 -1
- package/src/icons/VKIcon.svg +1 -1
- package/src/icons/WalletAdd2Icon.svg +1 -1
- package/src/icons/WalletAddIcon.svg +1 -1
- package/src/icons/WalletIcon.svg +1 -1
- package/src/icons/WalletWithMoneyIcon.svg +1 -1
- package/src/model/BlockDecorator.ts +17 -0
- package/src/model/BlocksRegistry.ts +11 -0
- package/src/{types.ts → model/ContentPageDef.ts} +5 -23
- package/src/{types → model}/Fallback.ts +1 -0
- package/src/services/sitemap/useSitemap.ts +1 -1
- package/src/ui-kit/BenefitItem/BenefitItemProps.ts +1 -0
- package/src/ui-kit/BlockWrapper.tsx +1 -1
- package/src/ui-kit/BlocksList/renderBlocksList.tsx +2 -2
- package/src/ui-kit/Button/Button.mobile.tsx +4 -1
- package/src/ui-kit/Button/ButtonSection.tsx +1 -1
- package/src/ui-kit/Button/buttonClassNameConstants.ts +2 -1
- package/src/ui-kit/Foldable/Foldable.tsx +1 -1
- package/src/ui-kit/Icon/Icon.fixture.tsx +5 -5
- package/src/ui-kit/Icon/Icon.tsx +29 -12
- package/src/ui-kit/InnerTable/InnerTable.tsx +1 -1
- package/src/ui-kit/InnerTable/InnerTableBody.tsx +1 -1
- package/src/ui-kit/InnerTable/InnerTableBodyItem.tsx +1 -1
- package/src/ui-kit/InnerTable/InnerTableButton.tsx +1 -1
- package/src/ui-kit/Logo/Logo.mobile.tsx +9 -5
- package/src/ui-kit/Logo/Logo.tsx +3 -3
- package/src/ui-kit/RadioButtonGroup/RadioButtonGroup.tsx +1 -1
- package/src/ui-kit/SearchBar/SearchBar.mobile.tsx +1 -1
- package/src/ui-kit/SearchBar/SearchBar.tsx +1 -1
- package/src/ui-kit/SwipeListControl/SwipeListControlProps.ts +1 -1
- package/tailwind.config.cjs +0 -1
- package/dist/components/BlockContent.d.ts +0 -32
- package/dist/components/BlockContent.js.map +0 -1
- package/dist/types.js.map +0 -1
- package/dist/utils/isSSR.d.ts +0 -1
- package/dist/utils/isSSR.js +0 -5
- package/dist/utils/isSSR.js.map +0 -1
- package/lib/components/BlockContent.d.ts +0 -32
- package/lib/components/BlockContent.js +0 -2
- package/lib/components/BlockContent.js.map +0 -1
- package/lib/types.js +0 -2
- package/lib/types.js.map +0 -1
- package/lib/utils/isSSR.d.ts +0 -1
- package/lib/utils/isSSR.js +0 -2
- package/lib/utils/isSSR.js.map +0 -1
- package/mobile/dist/components/BlockContent.d.ts +0 -32
- package/mobile/dist/components/BlockContent.js.map +0 -1
- package/mobile/dist/types.js +0 -2
- package/mobile/dist/types.js.map +0 -1
- package/mobile/dist/utils/isSSR.d.ts +0 -1
- package/mobile/dist/utils/isSSR.js +0 -5
- package/mobile/dist/utils/isSSR.js.map +0 -1
- package/mobile/lib/components/BlockContent.d.ts +0 -32
- package/mobile/lib/components/BlockContent.js +0 -2
- package/mobile/lib/components/BlockContent.js.map +0 -1
- package/mobile/lib/types.js +0 -2
- package/mobile/lib/types.js.map +0 -1
- package/mobile/lib/utils/isSSR.d.ts +0 -1
- package/mobile/lib/utils/isSSR.js +0 -2
- package/mobile/lib/utils/isSSR.js.map +0 -1
- package/mobile/src/components/BlockContent.ts +0 -61
- package/mobile/src/utils/isSSR.ts +0 -2
- package/src/components/BlockContent.ts +0 -61
- package/src/utils/isSSR.ts +0 -2
package/bundle/bundle.umd.js
CHANGED
|
@@ -301,6 +301,9 @@
|
|
|
301
301
|
|
|
302
302
|
// Generated. Do not touch
|
|
303
303
|
/* eslint-disable max-len, max-lines */
|
|
304
|
+
const IconInverseMap = {
|
|
305
|
+
ActualBalanceIcon: false, AirPlaneIcon: false, AppleIcon: true, ArrowDownIcon: true, ArrowLeftIcon: true, ArrowUpIcon: true, AtmIcon: true, BankIcon: true, BuildingIcon: true, BurgerIcon: true, Calendar2Icon: true, CalendarCircleIcon: true, CalendarIcon: true, CalendarTickIcon: true, Car2Icon: true, CardIcon: true, CardPosIcon: true, CardTickIcon: true, CardWithGemIcon: false, CarIcon: false, ChartSquareIcon: true, CinemaIcon: false, ClockIcon: false, CloseIcon: true, ComfortableCompIcon: false, CreditCardsIcon: false, DiscountShapeIcon: true, DocDownloadIcon: true, DocIcon: true, DocIconMonoColor: true, DocsIcon: false, DocumentTextIcon: true, DollarIcon: false, DoneIcon: false, DoneSimpleIcon: true, EarthIcon: false, EmptyWalletChangeIcon: true, EmptyWalletIcon: true, EuroIcon: false, GeolocationIcon: true, GlassIcon: false, GlobalIcon: true, GpsIcon: true, GridIcon: true, InterestGrowthIcon: false, InterestIcon: true, JCBIcon: false, LogoIcon: true, LoupeIcon: true, MapMarkerClusterIcon: false, MapMarkerSingleIcon: false, MasterCardIcon: false, MinusIcon: true, MirIcon: false, MoneyIcon: true, MoneyInsuranceIcon: false, MoneysIcon: true, MonitorMobileIcon: true, NewDocIcon: false, OfficeIcon: false, OkIcon: true, PackA4Icon: false, PassSendIcon: false, PercentageRoundIcon: true, PercentageSquareIcon: true, PersonalCardIcon: true, PlayMarketIcon: true, PlusIcon: true, PowerIcon: false, Profile2UserIcon: true, ProfileIcon: true, PumpkinIcon: false, RoundRubleIcon: true, SafeIcon: true, ShieldTickIcon: true, SignDocsIcon: false, SmallClockIcon: true, SoundIcon: false, StrongBoxIcon: true, TelegramIcon: true, UnionPayIcon: false, UserSquareIcon: true, UserTickIcon: true, VisaIcon: false, VKIcon: true, WalletAdd2Icon: true, WalletAddIcon: true, WalletIcon: true, WalletWithMoneyIcon: true, WateringCanIcon: false
|
|
306
|
+
};
|
|
304
307
|
var IconMap;
|
|
305
308
|
(function (IconMap) {
|
|
306
309
|
IconMap["ActualBalanceIcon"] = "ActualBalanceIcon";
|
|
@@ -452,7 +455,7 @@
|
|
|
452
455
|
IconTitleMap["MirIcon"] = "\u041C\u0418\u0420";
|
|
453
456
|
IconTitleMap["MoneyIcon"] = "\u0414\u0435\u043D\u044C\u0433\u0438";
|
|
454
457
|
IconTitleMap["MoneyInsuranceIcon"] = "\u0414\u0435\u043D\u0435\u0436\u043D\u043E\u0435 \u0441\u0442\u0440\u0430\u0445\u043E\u0432\u0430\u043D\u0438\u0435";
|
|
455
|
-
IconTitleMap["MoneysIcon"] = "
|
|
458
|
+
IconTitleMap["MoneysIcon"] = "\u041A\u0443\u043F\u044E\u0440\u044B";
|
|
456
459
|
IconTitleMap["MonitorMobileIcon"] = "\u041C\u043E\u043D\u0438\u0442\u043E\u0440 \u0438 \u043C\u043E\u0431\u0438\u043B\u044C\u043D\u044B\u0439";
|
|
457
460
|
IconTitleMap["NewDocIcon"] = "\u041D\u043E\u0432\u044B\u0439 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442";
|
|
458
461
|
IconTitleMap["OfficeIcon"] = "\u041E\u0444\u0438\u0441";
|
|
@@ -491,15 +494,23 @@
|
|
|
491
494
|
const svgUseStyleMap = {
|
|
492
495
|
normal: 'text-primary-main',
|
|
493
496
|
black: 'text-black',
|
|
494
|
-
white: 'text-black
|
|
497
|
+
white: 'text-black',
|
|
495
498
|
};
|
|
496
499
|
const Icon = JSX(({ className = '', imageClassName = '', name = '', alt = `Иконка ${IconTitleMap[name] || name}`, title = alt, iconVersion = 'normal', asSVG, ...imgProps }) => {
|
|
497
500
|
const href = `${projectSettings.CDN || ''}icons/${name}.svg`;
|
|
498
|
-
if (asSVG) {
|
|
499
|
-
return (
|
|
501
|
+
if (asSVG && IconInverseMap[name]) {
|
|
502
|
+
return (jsx(Background, { className: className, children: jsxs("svg", { className: [
|
|
503
|
+
getSvgSize(className, imgProps.width),
|
|
504
|
+
svgUseStyleMap[iconVersion],
|
|
505
|
+
imageClassName,
|
|
506
|
+
getInvertStyle(name, iconVersion),
|
|
507
|
+
].join(' '), ...imgProps, "aria-hidden": "true", children: [title ? jsx("title", { children: title }) : null, alt ? jsx("desc", { children: alt }) : null, jsx("use", { href: `${href}#icon`, xlinkHref: `${href}#icon` })] }) }));
|
|
500
508
|
}
|
|
501
509
|
return (jsx("img", { className: className, src: href, alt: alt, title: title, ...imgProps, "aria-hidden": "true" }));
|
|
502
510
|
});
|
|
511
|
+
const getInvertStyle = (name, iconVersion) => iconVersion === 'white' && IconInverseMap[name] ? 'invert' : '';
|
|
512
|
+
const getSvgSize = (className, width) => width ? `width: ${width}px ` : 'w-full h-full';
|
|
513
|
+
const Background = JSX(({ className, children }) => className ? jsx("div", { className: className, children: children }) : children);
|
|
503
514
|
|
|
504
515
|
function getIconVersion(image) {
|
|
505
516
|
return typeof image === 'string' ? 'normal' : image.iconVersion || 'normal';
|
|
@@ -556,6 +567,11 @@
|
|
|
556
567
|
return style ? style.filter(Boolean).join(' ') : '';
|
|
557
568
|
}
|
|
558
569
|
|
|
570
|
+
const Description = JSX((props) => {
|
|
571
|
+
const { className = '', description } = props;
|
|
572
|
+
return jsx("div", { className: `${className}`, children: description });
|
|
573
|
+
});
|
|
574
|
+
|
|
559
575
|
const ALIGN_TEXT = {
|
|
560
576
|
left: 'text-left',
|
|
561
577
|
center: 'text-center',
|
|
@@ -611,11 +627,6 @@
|
|
|
611
627
|
},
|
|
612
628
|
};
|
|
613
629
|
|
|
614
|
-
const Description = JSX((props) => {
|
|
615
|
-
const { className = '', description } = props;
|
|
616
|
-
return jsx("div", { className: `${className}`, children: description });
|
|
617
|
-
});
|
|
618
|
-
|
|
619
630
|
const Headline = JSX(({ bgColorHeadline = 'transparent', align = 'center', className = '', title, description, headlineVersion = 'XL', as, ...rest }) => {
|
|
620
631
|
const STYLE_MAPS = HEADLINE_BLOCK_STYLE_MAPS[bgColorHeadline];
|
|
621
632
|
const SIZE_MAPS = HEADLINE_VERSION[headlineVersion];
|
|
@@ -802,7 +813,7 @@
|
|
|
802
813
|
const buttonStyleMap = {
|
|
803
814
|
primary: 'text-white bg-primary-main hover:bg-primary-hover active:bg-primary-active',
|
|
804
815
|
secondary: 'text-primary-main bg-main-divider hover:text-white hover:bg-primary-hover active:bg-primary-active',
|
|
805
|
-
white: 'text-primary-main bg-white hover:text-white hover:bg-primary-hover active:bg-white',
|
|
816
|
+
white: 'text-primary-main bg-white hover:text-white hover:bg-primary-hover active:bg-white active:text-primary-main',
|
|
806
817
|
link: '',
|
|
807
818
|
};
|
|
808
819
|
const DisabledStyle = 'bg-main-divider text-main-disabled';
|
|
@@ -1022,7 +1033,7 @@
|
|
|
1022
1033
|
function renderBenefits$1(benefits, version, image) {
|
|
1023
1034
|
// picture width = 242px. Text can overlay picture 20px deep. Outer paddings_x = 36px. 242-36-20 = 186px
|
|
1024
1035
|
const BENEFITS_WIDTH = image?.src ? 'max-w-[calc(100%-186px)]' : '100%';
|
|
1025
|
-
return (jsx("div", { className: `z-10 grid grid-cols-[max-content_1fr] auto-rows-auto gap-x-6 gap-y-2.5 items-baseline
|
|
1036
|
+
return (jsx("div", { className: `z-10 grid grid-cols-[max-content_1fr] auto-rows-auto gap-x-6 gap-y-2.5 items-baseline
|
|
1026
1037
|
${BENEFITS_WIDTH}`, children: benefits.length ? benefits.map(renderBenefit(version)) : null }));
|
|
1027
1038
|
}
|
|
1028
1039
|
function renderBenefit(version = 'primary') {
|
|
@@ -1139,7 +1150,7 @@
|
|
|
1139
1150
|
LinkList,
|
|
1140
1151
|
};
|
|
1141
1152
|
|
|
1142
|
-
const renderBlocksList = ({ blocks, context, className = '' }) => blocks?.length ? blocks.map(renderBlock$1({ context, className })) : null;
|
|
1153
|
+
const renderBlocksList$1 = ({ blocks, context, className = '' }) => blocks?.length ? blocks.map(renderBlock$1({ context, className })) : null;
|
|
1143
1154
|
const renderBlock$1 = ({ context, className }) => (block, i) => {
|
|
1144
1155
|
if (!block) {
|
|
1145
1156
|
return null;
|
|
@@ -1154,7 +1165,7 @@
|
|
|
1154
1165
|
};
|
|
1155
1166
|
|
|
1156
1167
|
const AccordionItemInner = JSX(({ blocks, context }) => {
|
|
1157
|
-
return (jsx("div", { className: "grid grid-cols-12 transition-all duration-300 max-h-0 overflow-hidden", children: renderBlocksList({ context, blocks, className: '!p-0 mb-3.5' }) }));
|
|
1168
|
+
return (jsx("div", { className: "grid grid-cols-12 transition-all duration-300 max-h-0 overflow-hidden", children: renderBlocksList$1({ context, blocks, className: '!p-0 mb-3.5' }) }));
|
|
1158
1169
|
});
|
|
1159
1170
|
|
|
1160
1171
|
const useActiveHandler$1 = ({ blocks, initialState = false }) => {
|
|
@@ -1316,6 +1327,8 @@
|
|
|
1316
1327
|
return buttons?.length ? (jsx(ButtonSection, { context: context, buttons: buttons, className: "flex flex-col mt-7 gap-2" })) : null;
|
|
1317
1328
|
}
|
|
1318
1329
|
|
|
1330
|
+
const renderFootnote = (text) => text ? jsx("p", { className: "text-s-light text-secondary-text mt-7", children: text }) : null;
|
|
1331
|
+
|
|
1319
1332
|
const clamp = (value, min, max) => Math.max(min, Math.min(value, max));
|
|
1320
1333
|
|
|
1321
1334
|
const DISABLED_INPUT_CLASSES = 'disabled:border-main-stroke disabled:bg-main-divider';
|
|
@@ -1460,8 +1473,6 @@
|
|
|
1460
1473
|
};
|
|
1461
1474
|
};
|
|
1462
1475
|
|
|
1463
|
-
const renderFootnote = (text) => text ? jsx("p", { className: "text-s-light text-secondary-text mt-7", children: text }) : null;
|
|
1464
|
-
|
|
1465
1476
|
const BonusCalculatorForm = JSX(({ context, className = '', sourceBookDir = '', buttons, footnote }) => {
|
|
1466
1477
|
const [travelExpenseValue, setTravelExpenseValue] = useState(DEFAULT_TRAVEL_MIN_SUM);
|
|
1467
1478
|
const [restExpenseValue, setRestExpenseValue] = useState(DEFAULT_REST_MIN_SUM);
|
|
@@ -1724,7 +1735,7 @@
|
|
|
1724
1735
|
white: 'bg-white',
|
|
1725
1736
|
};
|
|
1726
1737
|
const CatalogCard = JSX(({ className = '', title, description, image, price, button, colors }) => {
|
|
1727
|
-
return (jsxs("section", { className: `border border-solid box-border p-[30px] min-w-[402px] flex flex-col justify-left ${className}`, role: "listitem", children: [image?.src ? jsx(Img, { className: "mb-5 flex justify-center", image: image }) : null, title ? (jsx(Heading, { headingType: "h6", as: "h4", className: "text-left mb-1.5", title: title })) : null, description ? jsx("div", { className: "text-m-light text-left mb-4", children: description }) : null, colors?.length ? (jsxs("div", { className: "flex mb-4 text-m-light text-secondary-text", children: [jsx("div", { className: "mr-1.5", children: "\u0414\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0435 \u0446\u0432\u0435\u0442\u0430: " }), colors.map(renderColorOption)] })) : null, price ? jsxs("div", { className: "text-h3 text-left", children: [price, "\u00A0\u20BD"] }) : null, button ? renderButton(button) : null] }));
|
|
1738
|
+
return (jsxs("section", { className: `border border-solid box-border border-main-stroke p-[30px] min-w-[402px] flex flex-col justify-left ${className}`, role: "listitem", children: [image?.src ? jsx(Img, { className: "mb-5 flex justify-center", image: image }) : null, title ? (jsx(Heading, { headingType: "h6", as: "h4", className: "text-left mb-1.5", title: title })) : null, description ? jsx("div", { className: "text-m-light text-left mb-4", children: description }) : null, colors?.length ? (jsxs("div", { className: "flex mb-4 text-m-light text-secondary-text", children: [jsx("div", { className: "mr-1.5", children: "\u0414\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0435 \u0446\u0432\u0435\u0442\u0430: " }), colors.map(renderColorOption)] })) : null, price ? jsxs("div", { className: "text-h3 text-left", children: [price, "\u00A0\u20BD"] }) : null, button ? renderButton(button) : null] }));
|
|
1728
1739
|
});
|
|
1729
1740
|
const renderColorOption = (color, i) => (jsx("span", { className: `w-6 h-6 ml-3 border border-solid border-main-divider rounded-full ${cardStyleMap[color]}` }, String(i)));
|
|
1730
1741
|
const renderButton = (button) => {
|
|
@@ -1959,7 +1970,7 @@
|
|
|
1959
1970
|
return (jsxs("tr", { className: "pb-1 text-h6", children: [jsx("td", { className: "pt-4", children: jsxs("div", { className: "flex items-center", children: [code ? jsx(Img, { image: { icon: CURRENCY_ICONS_MAP[code] }, width: "24", height: "24" }) : null, jsx("span", { className: "ml-2", children: code })] }) }), jsx("td", { className: "pt-4 pl-11", children: formatCurrency(exchangeCurrencyItem?.sell) }), jsx("td", { className: "pt-4 pl-11", children: formatCurrency(exchangeCurrencyItem?.buy) })] }, code));
|
|
1960
1971
|
};
|
|
1961
1972
|
|
|
1962
|
-
const CurrentLocation = JSX(({ className = '', address, distance }) => (jsxs("div", { className: `flex ${className}`, children: [jsx(Img, { image: { icon: 'GpsIcon' }, width: "24", height: "24", asSVG: true }), jsxs("div", { className: "ml-3", children: [address ? jsx("p", { className: "text-primary-main m-0 mb-1 text-l", children: address }) : null, distance ? (jsxs("p", { className: "text-secondary-text m-0 text-m", children: ["\u041A\u0443\u0440\u0441 \u0443\u043A\u0430\u0437\u0430\u043D \u0434\u043B\u044F \u0431\u043B\u0438\u0436\u0430\u0439\u0448\u0435\u0433\u043E \u043E\u0444\u0438\u0441\u0430 - ", distance] })) : null] })] })));
|
|
1973
|
+
const CurrentLocation = JSX(({ className = '', address, distance }) => (jsxs("div", { className: `flex ${className}`, children: [jsx(Img, { image: { icon: 'GpsIcon' }, width: "24", height: "24", asSVG: true }), jsxs("div", { className: "ml-3", children: [address ? jsx("p", { className: "text-primary-main m-0 mb-1 text-l", children: address }) : null, distance ? (jsxs("p", { className: "text-secondary-text m-0 text-m-light", children: ["\u041A\u0443\u0440\u0441 \u0443\u043A\u0430\u0437\u0430\u043D \u0434\u043B\u044F \u0431\u043B\u0438\u0436\u0430\u0439\u0448\u0435\u0433\u043E \u043E\u0444\u0438\u0441\u0430 - ", distance] })) : null] })] })));
|
|
1963
1974
|
|
|
1964
1975
|
const calculateResult = (value, rate, precision) => {
|
|
1965
1976
|
const result = Number(formatValue(value)) * Math.pow(rate, precision ? -1 : 1);
|
|
@@ -2100,7 +2111,8 @@
|
|
|
2100
2111
|
currencyRatesBuy.unshift({ code: Currency.RUB });
|
|
2101
2112
|
const currencyRatesSell = currencyRates.filter((_) => _.sell);
|
|
2102
2113
|
currencyRatesSell.push({ code: Currency.RUB });
|
|
2103
|
-
return (jsx(BlockWrapper, { context: context, className: `bg-white text-primary-text font-sans p-9 box-border
|
|
2114
|
+
return (jsx(BlockWrapper, { context: context, className: `bg-white text-primary-text font-sans p-9 box-border min-h-[320px]
|
|
2115
|
+
${className}`, ...rest, children: jsx(BaseTile, { context: context, title: jsx(Heading, { headingType: "h4", title: title, className: "whitespace-pre-wrap text-h4 mb-5" }), children: jsxs("div", { className: "flex", children: [jsxs("div", { className: "mr-14 pt-4", children: [currencyRates ? (jsx(CurrencyTable, { className: "mb-[30px]", exchangeCurrencyItems: currencyRates })) : null, jsx(CurrentLocation, { ...DEFAULT_LOCATION })] }), currencyRates.length && currencyRatesBuy.length && currencyRatesSell.length ? (jsx(ExchangeCurrencyCalculator, { className: "grow", context: context, currencyRatesBuy: currencyRatesBuy, currencyRatesSell: currencyRatesSell, button: button })) : null] }) }) }));
|
|
2104
2116
|
});
|
|
2105
2117
|
|
|
2106
2118
|
const ICON_VERSION_MAP = {
|
|
@@ -2115,8 +2127,8 @@
|
|
|
2115
2127
|
'bg-white': 'text-primary-text',
|
|
2116
2128
|
transparent: 'text-white',
|
|
2117
2129
|
};
|
|
2118
|
-
const Logo = JSX(({ className = '', href, logo, children = logo?.title, targetBlank, bgColor = 'bg-white',
|
|
2119
|
-
return (jsxs("a", { className: `inline-flex items-center font-sans no-underline ${className}`, href: href || '/', target: targetBlank ? '_blank' : '_self', "aria-label": logo?.title || 'Россельхозбанк', children: [logo?.image?.src ? (jsx(Img, { image: logo.image, className: SVG_COLOR[bgColor], width: "40", height: "45", asSVG: true })) : (jsx(Img, { image: { icon: 'LogoIcon', iconVersion: ICON_VERSION_MAP[bgColor] }, className: `${SVG_COLOR[bgColor]} w-10`, width: "40", height: "45", asSVG: true })),
|
|
2130
|
+
const Logo = JSX(({ className = '', href, logo, children = logo?.title, targetBlank, bgColor = 'bg-white', showTitle = true, }) => {
|
|
2131
|
+
return (jsxs("a", { className: `inline-flex items-center font-sans no-underline ${className}`, href: href || '/', target: targetBlank ? '_blank' : '_self', "aria-label": logo?.title || 'Россельхозбанк', children: [logo?.image?.src ? (jsx(Img, { image: logo.image, className: SVG_COLOR[bgColor], width: "40", height: "45", asSVG: true })) : (jsx(Img, { image: { icon: 'LogoIcon', iconVersion: ICON_VERSION_MAP[bgColor] }, className: `${SVG_COLOR[bgColor]} w-10`, width: "40", height: "45", asSVG: true })), showTitle ? renderTitle$1(children, bgColor, logo?.title) : null] }));
|
|
2120
2132
|
});
|
|
2121
2133
|
const renderTitle$1 = (children, bgColor, title) => {
|
|
2122
2134
|
const text = children || title || 'Россельхозбанк';
|
|
@@ -2242,7 +2254,7 @@
|
|
|
2242
2254
|
return null;
|
|
2243
2255
|
}
|
|
2244
2256
|
const classes = version === 'secondary'
|
|
2245
|
-
? 'bg-
|
|
2257
|
+
? 'bg-white hover:bg-secondary-hover'
|
|
2246
2258
|
: 'border-solid border-[1px] border-main-divider hover:border-transparent hover:bg-primary-main';
|
|
2247
2259
|
const isPrimary = version === 'primary';
|
|
2248
2260
|
return (jsx("a", { className: `flex items-center justify-center rounded-md w-14 h-14 group box-border ${classes} ${isPrimary ? 'hover:text-black' : ''}`, href: href, "aria-label": label, target: "_blank", rel: "noopener noreferrer", children: icon ? (jsx(Img, { image: icon, imageClassName: "group-hover:text-white", width: "24", height: "24", asSVG: true })) : null }));
|
|
@@ -2566,7 +2578,7 @@
|
|
|
2566
2578
|
};
|
|
2567
2579
|
|
|
2568
2580
|
const OtherProductsItem = JSX(({ label, blocks, context, dataTheme, isUnfolded }) => {
|
|
2569
|
-
const foldableBlocks = renderBlocksList({
|
|
2581
|
+
const foldableBlocks = renderBlocksList$1({
|
|
2570
2582
|
context,
|
|
2571
2583
|
blocks,
|
|
2572
2584
|
});
|
|
@@ -2611,7 +2623,7 @@
|
|
|
2611
2623
|
const galleryNav = slides.map((s) => s.nav);
|
|
2612
2624
|
const galleryBlocks = slides.map((s) => s.productBlock);
|
|
2613
2625
|
const [activeSlideIndex, setActiveSlideIndex] = useState(0);
|
|
2614
|
-
return (jsxs(BlockWrapper, { context: context, className: `box-border pt-[50px] overflow-hidden relative font-sans w-100 ${className}
|
|
2626
|
+
return (jsxs(BlockWrapper, { context: context, className: `box-border pt-[50px] overflow-hidden relative font-sans w-100 mb-6 ${className}
|
|
2615
2627
|
${VersionStyleMap[version]}`, ...rest, children: [jsx("div", { className: "flex duration-1000 pb-14", style: { transform: `translateX(-${activeSlideIndex}00%)` }, role: "list", children: galleryBlocks.map((_, i) => renderProductBlock({ ..._, version }, i, context)) }), jsx("div", { className: "flex items-center absolute bottom-6 left-0 right-0 px-[26px] box-border h-28", children: galleryNav.map((slide, i) => renderNavButton({
|
|
2616
2628
|
slide,
|
|
2617
2629
|
i,
|
|
@@ -2628,19 +2640,19 @@
|
|
|
2628
2640
|
function renderNavButton({ slide, i, activeSlideIndex, onClick, version }) {
|
|
2629
2641
|
const isActiveBtn = i === activeSlideIndex;
|
|
2630
2642
|
const btnClassName = isActiveBtn
|
|
2631
|
-
? 'bg-white shadow-dark-blue/42
|
|
2632
|
-
: `min-w-[
|
|
2643
|
+
? 'bg-white shadow-dark-blue/42 min-w-[354px] border-none p-6'
|
|
2644
|
+
: `min-w-[290px] hover:py-[26px] hover:py-[26px] ease-in duration-300 bg-white/10 px-6 py-5 backdrop-blur
|
|
2633
2645
|
${VersionStyleMap[version]}`;
|
|
2634
2646
|
const btnTitleClassName = isActiveBtn
|
|
2635
|
-
? 'text-primary-text text-h6'
|
|
2636
|
-
: `text-l ${productBlockStyleMap[version].title}`;
|
|
2647
|
+
? 'text-primary-text !text-h6 p-2'
|
|
2648
|
+
: `text-l pb-1 ${productBlockStyleMap[version].title}`;
|
|
2637
2649
|
const btnDescClassName = isActiveBtn
|
|
2638
|
-
? 'text-secondary-text text-
|
|
2639
|
-
: `text-m
|
|
2650
|
+
? 'text-secondary-text text-l-light mt-2.5'
|
|
2651
|
+
: `text-m-light ${productBlockStyleMap[version].text}`;
|
|
2640
2652
|
const additionalBorder = version === 'secondary' ? 'border-white/50' : 'border-black/50';
|
|
2641
|
-
return (jsx("button", { type: "button", onClick: onClick, "aria-label": slide?.title, className: `box-border
|
|
2653
|
+
return (jsx("button", { type: "button", onClick: onClick, "aria-label": slide?.title, className: `box-border relative overflow-hidden border border-white/50 cursor-pointer text-left mx-1 grow basis-0
|
|
2642
2654
|
${btnClassName} ${additionalBorder}
|
|
2643
|
-
`, children: jsxs("div", { className: "border-0 px-6", children: [jsx("div", { className: `
|
|
2655
|
+
`, children: jsxs("div", { className: "border-0 px-6", children: [jsx("div", { className: `last:pb-0 ${btnTitleClassName}`, children: slide?.title }), jsx("div", { className: `text-secondary-text ${btnDescClassName}`, children: slide.description })] }) }, String(i)));
|
|
2644
2656
|
}
|
|
2645
2657
|
|
|
2646
2658
|
const PromoTile = JSX(({ className = '', context, title = 'Акции и спецпредложения', date, description, buttons = [], version = 'primary', ...rest }) => {
|
|
@@ -3295,26 +3307,48 @@
|
|
|
3295
3307
|
return (jsxs(BlockWrapper, { tag: "div", context: context, className: `border-main border-2 border-solid bg-white flex w-[125px] items-center justify-center gap-3 p-2 font-sans ${className || ''}`, ...rest, children: [jsx(LikeButton, { onClick: handlerDecorator(likeService.like), ariaLabel: "\u041F\u043E\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u043E\u0442\u043C\u0435\u0442\u043A\u0443 \u00AB\u043B\u0430\u0439\u043A\u00BB" }), jsx(LikeButton, { onClick: handlerDecorator(likeService.dislike), className: "rotate-180", ariaLabel: "\u041F\u043E\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u043E\u0442\u043C\u0435\u0442\u043A\u0443 \u00AB\u0434\u0438\u0437\u043B\u0430\u0439\u043A\u00BB" }), jsx("span", { className: "select-none", children: likeService.likeCount })] }));
|
|
3296
3308
|
});
|
|
3297
3309
|
|
|
3298
|
-
const
|
|
3299
|
-
|
|
3300
|
-
|
|
3301
|
-
const {
|
|
3302
|
-
return (jsxs("section", { className: `relative ${style2className(pageStyle)} ${className}`, "data-theme": colorPalette, children: [header?.blocks?.length ? (jsx("div", { className: `${style2className(header?.style)}`, children: header.blocks.map((block, i) => renderBlock({ block, page: data, blockDecorator, blocksRegistry, context }, i)) })) : null, blocks?.length ? (jsx("div", { className: "container grid grid-cols-12 gap-1", children: blocks.map((block, i) => renderBlock({ block, blockDecorator, blocksRegistry, context, page: data }, i)) })) : null, likeControl ? (jsx("div", { className: "flex items-end absolute bottom-0 right-0 h-full pointer-events-none", children: jsx(LikeControl, { className: "rounded-tl-lg sticky bottom-0 pointer-events-auto", context: context }, "LikeControl") })) : null] }));
|
|
3303
|
-
});
|
|
3304
|
-
function renderBlock({ block, blockDecorator, blocksRegistry, context, page }, i) {
|
|
3310
|
+
const DEFAULT_SLOT_NAME = null;
|
|
3311
|
+
|
|
3312
|
+
function renderBlock(block, options, ancestors = [DEFAULT_SLOT_NAME]) {
|
|
3313
|
+
const { key, page, blockDecorator, blocksRegistry, context } = options;
|
|
3305
3314
|
const { type } = block;
|
|
3306
3315
|
if (!(type && type in blocksRegistry)) {
|
|
3307
3316
|
console.warn(`No block with "${type}" is registered`);
|
|
3308
3317
|
}
|
|
3309
|
-
const BlockComponent = blocksRegistry[type
|
|
3318
|
+
const BlockComponent = type && blocksRegistry[type];
|
|
3310
3319
|
return blockDecorator({
|
|
3311
3320
|
blockClassName: `scroll-mt-12 ${style2className(block.style)}`,
|
|
3312
3321
|
block,
|
|
3313
|
-
|
|
3314
|
-
|
|
3315
|
-
|
|
3322
|
+
ancestors,
|
|
3323
|
+
// Adjusted by decorator block and blockClassName
|
|
3324
|
+
render: ({ block: adjustedBlock, blockClassName: adjustedBlockClassName }) => {
|
|
3325
|
+
const { version, content, anchor, labels, blocks: childBlocks } = adjustedBlock;
|
|
3326
|
+
const children = childBlocks
|
|
3327
|
+
? childBlocks.map((_, j) => renderBlock(_, { ...options, key: `${options.key}-${j}` }, [...ancestors, block]))
|
|
3328
|
+
: null;
|
|
3329
|
+
return BlockComponent ? (jsx(BlockComponent, { className: adjustedBlockClassName, version: version, context: context, page: page, anchor: anchor, labels: labels, ...content, children: children }, key)) : null;
|
|
3316
3330
|
},
|
|
3317
|
-
},
|
|
3331
|
+
}, key);
|
|
3332
|
+
}
|
|
3333
|
+
|
|
3334
|
+
const defaultBlockDecorator = ({ blockClassName, block, render }) => render({ blockClassName, block });
|
|
3335
|
+
const ContentPage = JSX((props) => {
|
|
3336
|
+
const { className = '', context, data = {} } = props;
|
|
3337
|
+
const { style: pageStyle, blocks, slots, likeControl, colorPalette = 'pc' } = data;
|
|
3338
|
+
const blocksListRenderer = renderBlocksList(props);
|
|
3339
|
+
return (jsxs("section", { className: `relative ${style2className(pageStyle)} ${className}`, "data-theme": colorPalette, children: [slots?.header?.blocks?.length ? (jsx("div", { className: `${style2className(slots.header.style)}`, children: blocksListRenderer(slots.header.blocks, ['header']) })) : null, blocks?.length ? (jsx("div", { className: "container grid grid-cols-12 gap-1", children: blocksListRenderer(blocks) })) : null, likeControl ? renderLikeControl(context) : null] }));
|
|
3340
|
+
});
|
|
3341
|
+
function renderBlocksList({ blocksRegistry, data, blockDecorator, context }) {
|
|
3342
|
+
return (blocks, ancestors) => blocks.map((block, i) => renderBlock(block, {
|
|
3343
|
+
key: `${block.type || '#'}-${i}`,
|
|
3344
|
+
blocksRegistry,
|
|
3345
|
+
page: data || {},
|
|
3346
|
+
blockDecorator: blockDecorator || defaultBlockDecorator,
|
|
3347
|
+
context,
|
|
3348
|
+
}, ancestors));
|
|
3349
|
+
}
|
|
3350
|
+
function renderLikeControl(context) {
|
|
3351
|
+
return (jsx("div", { className: "flex items-end absolute bottom-0 right-0 h-full pointer-events-none", children: jsx(LikeControl, { className: "rounded-tl-lg sticky bottom-0 pointer-events-auto", context: context }, "LikeControl") }));
|
|
3318
3352
|
}
|
|
3319
3353
|
|
|
3320
3354
|
exports.Blocks = Blocks;
|