@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
|
@@ -1,15 +1,13 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
3
|
-
import type { BlockVersion } from './model/BlockVersion';
|
|
1
|
+
import type { ContentPageContext } from '../components/ContentPage/ContentPageContext';
|
|
2
|
+
import type { BlockVersion } from './BlockVersion';
|
|
4
3
|
/**
|
|
5
4
|
* @title Цветовая палитра
|
|
6
5
|
* @enumNames ["", "Частным клиентам", "Бизнес клиентам", "Экосистема Своё"]
|
|
7
6
|
*/
|
|
8
7
|
export declare type ColorPalette = '' | 'pc' | 'bc' | 'eo';
|
|
9
|
-
export interface BaseBlockDef {
|
|
8
|
+
export interface BaseBlockDef extends Slot {
|
|
10
9
|
type?: string;
|
|
11
|
-
|
|
12
|
-
content?: BlockContent;
|
|
10
|
+
content?: Record<string, any>;
|
|
13
11
|
version?: BlockVersion;
|
|
14
12
|
hidden?: boolean;
|
|
15
13
|
anchor?: string;
|
|
@@ -38,10 +36,8 @@ export interface ContentPageMeta {
|
|
|
38
36
|
twitter?: Record<string, string>;
|
|
39
37
|
jsonLd?: string;
|
|
40
38
|
}
|
|
41
|
-
export interface ContentPageDef extends ContentPageMeta {
|
|
39
|
+
export interface ContentPageDef extends ContentPageMeta, Slot {
|
|
42
40
|
_customPageType?: string;
|
|
43
|
-
style?: string[];
|
|
44
|
-
blocks?: BlockDef[];
|
|
45
41
|
slots?: SlotsMap;
|
|
46
42
|
fallback?: Record<string, unknown>;
|
|
47
43
|
likeControl?: boolean;
|
|
@@ -54,14 +50,3 @@ export interface UniBlockProps {
|
|
|
54
50
|
labels?: string[];
|
|
55
51
|
anchor?: string;
|
|
56
52
|
}
|
|
57
|
-
export interface DaDataResult {
|
|
58
|
-
suggestions?: DaDataSuggestion<DaDataAddress>[];
|
|
59
|
-
}
|
|
60
|
-
export interface DaDataSuggestion<T> {
|
|
61
|
-
value?: string;
|
|
62
|
-
unrestricted_value?: string;
|
|
63
|
-
data?: T;
|
|
64
|
-
}
|
|
65
|
-
export interface DaDataAddress {
|
|
66
|
-
city?: string | null;
|
|
67
|
-
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContentPageDef.js","sourceRoot":"","sources":["../../src/model/ContentPageDef.ts"],"names":[],"mappings":""}
|
|
File without changes
|
|
File without changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Fallback.js","sourceRoot":"","sources":["../../src/
|
|
1
|
+
{"version":3,"file":"Fallback.js","sourceRoot":"","sources":["../../src/model/Fallback.ts"],"names":[],"mappings":""}
|
|
@@ -3,6 +3,7 @@ import type { BlockVersion } from '../../model/BlockVersion';
|
|
|
3
3
|
import type { IconVersion } from '../../model/IconVersion';
|
|
4
4
|
import type { DescriptionProps, LabelProps } from '../../model/HeadlineType';
|
|
5
5
|
export interface BenefitItemCommonProps {
|
|
6
|
+
/** @hidden */
|
|
6
7
|
benefitsVersion?: IconVersion;
|
|
7
8
|
/** @hidden */
|
|
8
9
|
version?: BlockVersion;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ContentPageContext } from '../components/ContentPage/ContentPageContext';
|
|
2
|
-
import type { UniBlockProps } from '../
|
|
2
|
+
import type { UniBlockProps } from '../model/ContentPageDef';
|
|
3
3
|
interface BlockWrapperProps extends UniBlockProps, Record<string, any> {
|
|
4
4
|
context: ContentPageContext;
|
|
5
5
|
className?: string;
|
|
@@ -17,10 +17,13 @@ const buttonDisabledStyleMap = {
|
|
|
17
17
|
};
|
|
18
18
|
const styleButton = 'w-full text-center font-sans select-none';
|
|
19
19
|
export const Button = JSX(({ className, text, aboveText, appendLeft, href, target, onClick, children, disabled, rounded, version = 'primary', ariaLabel, ...rest }) => {
|
|
20
|
+
// It isn't a valid HTML attribute. Must be excluded from "rest"
|
|
21
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
22
|
+
const { asSVG, iconRight, appendRight, icon, ...buttonInnerRest } = rest;
|
|
20
23
|
const buttonInner = children ?? (_jsx(ButtonInner, { text: text, aboveText: aboveText, appendLeft: appendLeft, rounded: rounded, version: version }));
|
|
21
24
|
if (disabled) {
|
|
22
25
|
return (_jsx("div", { role: "button", "aria-disabled": "true", "aria-label": ariaLabel, tabIndex: -1, className: `inline-block ${styleButton} ${buttonDisabledStyleMap[version] || ''} ${rounded ? 'rounded-full' : 'rounded-md'} ${className || ''}`, children: buttonInner }));
|
|
23
26
|
}
|
|
24
|
-
return (_jsx("a", { className: `${styleButton} inline-block cursor-pointer no-underline focus:border focus:border-primary-focus ${buttonStyleMap[version] || ''} ${rounded ? 'rounded-full' : 'rounded-md'} ${className || ''}`, href: href, target: target, onClick: onClick, "aria-label": ariaLabel, role: !href ? 'button' : 'link', ...
|
|
27
|
+
return (_jsx("a", { className: `${styleButton} inline-block cursor-pointer no-underline focus:border focus:border-primary-focus ${buttonStyleMap[version] || ''} ${rounded ? 'rounded-full' : 'rounded-md'} ${className || ''}`, href: href, target: target, onClick: onClick, "aria-label": ariaLabel, role: !href ? 'button' : 'link', ...buttonInnerRest, children: buttonInner }));
|
|
25
28
|
});
|
|
26
29
|
//# sourceMappingURL=Button.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/Button.tsx"],"names":[],"mappings":";AAAA,2CAA2C;AAC3C,+BAA+B;AAE/B,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAG5C,MAAM,cAAc,GAAkC;IACpD,OAAO,EAAE,4EAA4E;IACrF,SAAS,EACP,oGAAoG;IACtG,KAAK,EAAE,oFAAoF;IAC3F,IAAI,EAAE,mBAAmB;CAC1B,CAAC;AAEF,MAAM,sBAAsB,GAAkC;IAC5D,OAAO,EAAE,uCAAuC;IAChD,SAAS,EAAE,wCAAwC;IACnD,KAAK,EAAE,4BAA4B;IACnC,IAAI,EAAE,EAAE;CACT,CAAC;AAEF,MAAM,WAAW,GAAG,0CAA0C,CAAC;AAE/D,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CACvB,CAAC,EACC,SAAS,EACT,IAAI,EACJ,SAAS,EACT,UAAU,EACV,IAAI,EACJ,MAAM,EACN,OAAO,EACP,QAAQ,EACR,QAAQ,EACR,OAAO,EACP,OAAO,GAAG,SAAS,EACnB,SAAS,EACT,GAAG,IAAI,EACR,EAAE,EAAE;IACH,MAAM,WAAW,GAAG,QAAQ,IAAI,CAC9B,KAAC,WAAW,IACV,IAAI,EAAE,IAAI,EACV,SAAS,EAAE,SAAS,EACpB,UAAU,EAAE,UAAU,EACtB,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,OAAO,GAChB,CACH,CAAC;IAEF,IAAI,QAAQ,EAAE;QACZ,OAAO,CACL,cACE,IAAI,EAAC,QAAQ,mBACC,MAAM,gBACR,SAAS,EACrB,QAAQ,EAAE,CAAC,CAAC,EACZ,SAAS,EAAE,gBAAgB,WAAW,IAAI,sBAAsB,CAAC,OAAO,CAAC,IAAI,EAAE,IAC7E,OAAO,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,YAC7B,IAAI,SAAS,IAAI,EAAE,EAAE,YAEpB,WAAW,GACR,CACP,CAAC;KACH;IAED,OAAO,CACL,YACE,SAAS,EAAE,GAAG,WAAW,qFACvB,cAAc,CAAC,OAAO,CAAC,IAAI,EAC7B,IAAI,OAAO,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,YAAY,IAAI,SAAS,IAAI,EAAE,EAAE,EAChE,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,OAAO,gBACJ,SAAS,EACrB,IAAI,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,KAC3B,
|
|
1
|
+
{"version":3,"file":"Button.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/Button.tsx"],"names":[],"mappings":";AAAA,2CAA2C;AAC3C,+BAA+B;AAE/B,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAG5C,MAAM,cAAc,GAAkC;IACpD,OAAO,EAAE,4EAA4E;IACrF,SAAS,EACP,oGAAoG;IACtG,KAAK,EAAE,oFAAoF;IAC3F,IAAI,EAAE,mBAAmB;CAC1B,CAAC;AAEF,MAAM,sBAAsB,GAAkC;IAC5D,OAAO,EAAE,uCAAuC;IAChD,SAAS,EAAE,wCAAwC;IACnD,KAAK,EAAE,4BAA4B;IACnC,IAAI,EAAE,EAAE;CACT,CAAC;AAEF,MAAM,WAAW,GAAG,0CAA0C,CAAC;AAE/D,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CACvB,CAAC,EACC,SAAS,EACT,IAAI,EACJ,SAAS,EACT,UAAU,EACV,IAAI,EACJ,MAAM,EACN,OAAO,EACP,QAAQ,EACR,QAAQ,EACR,OAAO,EACP,OAAO,GAAG,SAAS,EACnB,SAAS,EACT,GAAG,IAAI,EACR,EAAE,EAAE;IACH,gEAAgE;IAChE,6DAA6D;IAC7D,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,IAAI,EAAE,GAAG,eAAe,EAAE,GAAG,IAAI,CAAC;IACzE,MAAM,WAAW,GAAG,QAAQ,IAAI,CAC9B,KAAC,WAAW,IACV,IAAI,EAAE,IAAI,EACV,SAAS,EAAE,SAAS,EACpB,UAAU,EAAE,UAAU,EACtB,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,OAAO,GAChB,CACH,CAAC;IAEF,IAAI,QAAQ,EAAE;QACZ,OAAO,CACL,cACE,IAAI,EAAC,QAAQ,mBACC,MAAM,gBACR,SAAS,EACrB,QAAQ,EAAE,CAAC,CAAC,EACZ,SAAS,EAAE,gBAAgB,WAAW,IAAI,sBAAsB,CAAC,OAAO,CAAC,IAAI,EAAE,IAC7E,OAAO,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,YAC7B,IAAI,SAAS,IAAI,EAAE,EAAE,YAEpB,WAAW,GACR,CACP,CAAC;KACH;IAED,OAAO,CACL,YACE,SAAS,EAAE,GAAG,WAAW,qFACvB,cAAc,CAAC,OAAO,CAAC,IAAI,EAC7B,IAAI,OAAO,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,YAAY,IAAI,SAAS,IAAI,EAAE,EAAE,EAChE,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,OAAO,gBACJ,SAAS,EACrB,IAAI,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,KAC3B,eAAe,YAElB,WAAW,GACV,CACL,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export const buttonStyleMap = {
|
|
2
2
|
primary: 'text-white bg-primary-main hover:bg-primary-hover active:bg-primary-active',
|
|
3
3
|
secondary: 'text-primary-main bg-main-divider hover:text-white hover:bg-primary-hover active:bg-primary-active',
|
|
4
|
-
white: 'text-primary-main bg-white hover:text-white hover:bg-primary-hover active:bg-white',
|
|
4
|
+
white: 'text-primary-main bg-white hover:text-white hover:bg-primary-hover active:bg-white active:text-primary-main',
|
|
5
5
|
link: '',
|
|
6
6
|
};
|
|
7
7
|
const DisabledStyle = 'bg-main-divider text-main-disabled';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buttonClassNameConstants.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/buttonClassNameConstants.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,cAAc,GAAkC;IAC3D,OAAO,EAAE,4EAA4E;IACrF,SAAS,EACP,oGAAoG;IACtG,KAAK,
|
|
1
|
+
{"version":3,"file":"buttonClassNameConstants.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/buttonClassNameConstants.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,cAAc,GAAkC;IAC3D,OAAO,EAAE,4EAA4E;IACrF,SAAS,EACP,oGAAoG;IACtG,KAAK,EACH,6GAA6G;IAC/G,IAAI,EAAE,EAAE;CACT,CAAC;AAEF,MAAM,aAAa,GAAG,oCAAoC,CAAC;AAE3D,MAAM,CAAC,MAAM,sBAAsB,GAAkC;IACnE,OAAO,EAAE,aAAa;IACtB,SAAS,EAAE,aAAa;IACxB,KAAK,EAAE,aAAa;IACpB,IAAI,EAAE,EAAE;CACT,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAG,mCAAmC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ContentPageContext } from '../../components/ContentPage/ContentPageContext';
|
|
2
|
+
import { ColorPalette } from '../../model/ContentPageDef';
|
|
2
3
|
import type { VNode } from '../../model/VNode';
|
|
3
|
-
import { ColorPalette } from '../../types';
|
|
4
4
|
export declare type FoldableBlocks = VNode[];
|
|
5
5
|
export declare type Render = (_: VNode, isActive: boolean) => VNode;
|
|
6
6
|
export interface FoldableProps {
|
|
@@ -1,17 +1,25 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
-
import { IconTitleMap } from '../../icons/IconName.js';
|
|
3
|
+
import { IconInverseMap, IconTitleMap } from '../../icons/IconName.js';
|
|
4
4
|
import { projectSettings } from '../../ProjectSettings.js';
|
|
5
5
|
const svgUseStyleMap = {
|
|
6
6
|
normal: 'text-primary-main',
|
|
7
7
|
black: 'text-black',
|
|
8
|
-
white: 'text-black
|
|
8
|
+
white: 'text-black',
|
|
9
9
|
};
|
|
10
10
|
export const Icon = JSX(({ className = '', imageClassName = '', name = '', alt = `Иконка ${IconTitleMap[name] || name}`, title = alt, iconVersion = 'normal', asSVG, ...imgProps }) => {
|
|
11
11
|
const href = `${projectSettings.CDN || ''}icons/${name}.svg`;
|
|
12
|
-
if (asSVG) {
|
|
13
|
-
return (
|
|
12
|
+
if (asSVG && IconInverseMap[name]) {
|
|
13
|
+
return (_jsx(Background, { className: className, children: _jsxs("svg", { className: [
|
|
14
|
+
getSvgSize(className, imgProps.width),
|
|
15
|
+
svgUseStyleMap[iconVersion],
|
|
16
|
+
imageClassName,
|
|
17
|
+
getInvertStyle(name, iconVersion),
|
|
18
|
+
].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` })] }) }));
|
|
14
19
|
}
|
|
15
20
|
return (_jsx("img", { className: className, src: href, alt: alt, title: title, ...imgProps, "aria-hidden": "true" }));
|
|
16
21
|
});
|
|
22
|
+
const getInvertStyle = (name, iconVersion) => iconVersion === 'white' && IconInverseMap[name] ? 'invert' : '';
|
|
23
|
+
const getSvgSize = (className, width) => width ? `width: ${width}px ` : 'w-full h-full';
|
|
24
|
+
const Background = JSX(({ className, children }) => className ? _jsx("div", { className: className, children: children }) : children);
|
|
17
25
|
//# sourceMappingURL=Icon.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Icon.js","sourceRoot":"","sources":["../../../src/ui-kit/Icon/Icon.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"Icon.js","sourceRoot":"","sources":["../../../src/ui-kit/Icon/Icon.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAEpE,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAGxD,MAAM,cAAc,GAAgC;IAClD,MAAM,EAAE,mBAAmB;IAC3B,KAAK,EAAE,YAAY;IACnB,KAAK,EAAE,YAAY;CACpB,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAG,GAAG,CACrB,CAAC,EACC,SAAS,GAAG,EAAE,EACd,cAAc,GAAG,EAAE,EACnB,IAAI,GAAG,EAAE,EACT,GAAG,GAAG,UAAU,YAAY,CAAC,IAAI,CAAC,IAAI,IAAI,EAAE,EAC5C,KAAK,GAAG,GAAG,EACX,WAAW,GAAG,QAAQ,EACtB,KAAK,EACL,GAAG,QAAQ,EACZ,EAAE,EAAE;IACH,MAAM,IAAI,GAAG,GAAG,eAAe,CAAC,GAAG,IAAI,EAAE,SAAS,IAAI,MAAM,CAAC;IAE7D,IAAI,KAAK,IAAI,cAAc,CAAC,IAAI,CAAC,EAAE;QACjC,OAAO,CACL,KAAC,UAAU,IAAC,SAAS,EAAE,SAAS,YAC9B,eACE,SAAS,EAAE;oBACT,UAAU,CAAC,SAAS,EAAE,QAAQ,CAAC,KAAK,CAAC;oBACrC,cAAc,CAAC,WAAW,CAAC;oBAC3B,cAAc;oBACd,cAAc,CAAC,IAAI,EAAE,WAAW,CAAC;iBAClC,CAAC,IAAI,CAAC,GAAG,CAAC,KACP,QAAQ,iBACA,MAAM,aAEjB,KAAK,CAAC,CAAC,CAAC,0BAAQ,KAAK,GAAS,CAAC,CAAC,CAAC,IAAI,EACrC,GAAG,CAAC,CAAC,CAAC,yBAAO,GAAG,GAAQ,CAAC,CAAC,CAAC,IAAI,EAChC,cAAK,IAAI,EAAE,GAAG,IAAI,OAAO,EAAE,SAAS,EAAE,GAAG,IAAI,OAAO,GAAI,IACpD,GACK,CACd,CAAC;KACH;IAED,OAAO,CACL,cACE,SAAS,EAAE,SAAS,EACpB,GAAG,EAAE,IAAI,EACT,GAAG,EAAE,GAAG,EACR,KAAK,EAAE,KAAK,KACR,QAAQ,iBACA,MAAM,GAClB,CACH,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,cAAc,GAAG,CAAC,IAAY,EAAE,WAAwB,EAAE,EAAE,CAChE,WAAW,KAAK,OAAO,IAAI,cAAc,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC;AAElE,MAAM,UAAU,GAAG,CAAC,SAAkB,EAAE,KAAc,EAAE,EAAE,CACxD,KAAK,CAAC,CAAC,CAAC,UAAU,KAAK,KAAK,CAAC,CAAC,CAAC,eAAe,CAAC;AAEjD,MAAM,UAAU,GAAG,GAAG,CAAyB,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,EAAE,CACzE,SAAS,CAAC,CAAC,CAAC,cAAK,SAAS,EAAE,SAAS,YAAG,QAAQ,GAAO,CAAC,CAAC,CAAC,QAAQ,CACnE,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { UniBlockProps } from '../../
|
|
1
|
+
import type { UniBlockProps } from '../../model/ContentPageDef';
|
|
2
2
|
import type { TariffsTableInnerContent } from './InnerTableProps';
|
|
3
3
|
export interface InnerTableProps extends TariffsTableInnerContent, UniBlockProps {
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { UniBlockProps } from '../../
|
|
1
|
+
import { UniBlockProps } from '../../model/ContentPageDef';
|
|
2
2
|
import type { TariffsTableInnerEvent } from './InnerTableProps';
|
|
3
3
|
export interface TableInnerButtonProps extends TariffsTableInnerEvent, UniBlockProps {
|
|
4
4
|
isOpen?: boolean;
|
|
@@ -9,7 +9,7 @@ const TEXT_COLOR = {
|
|
|
9
9
|
'bg-white': 'text-black',
|
|
10
10
|
transparent: 'text-white',
|
|
11
11
|
};
|
|
12
|
-
export const Logo = JSX(({ className = '', href, children, targetBlank, bgColor = 'bg-white',
|
|
13
|
-
return (_jsxs("a", { className: `inline-flex items-center font-sans no-underline ${className}`, href: href || 'https://rshb.ru/', target: targetBlank ? '_blank' : '_self', "aria-label": "\u0420\u043E\u0441\u0441\u0435\u043B\u044C\u0445\u043E\u0437\u0431\u0430\u043D\u043A", children: [_jsx(Img, { image: { icon: 'LogoIcon' }, className: `${SVG_COLOR[bgColor]} w-10 h-[38px]`, asSVG: true }),
|
|
12
|
+
export const Logo = JSX(({ className = '', href, children, targetBlank, bgColor = 'bg-white', showTitle = true }) => {
|
|
13
|
+
return (_jsxs("a", { className: `inline-flex items-center font-sans no-underline ${className}`, href: href || 'https://rshb.ru/', target: targetBlank ? '_blank' : '_self', "aria-label": "\u0420\u043E\u0441\u0441\u0435\u043B\u044C\u0445\u043E\u0437\u0431\u0430\u043D\u043A", children: [_jsx(Img, { image: { icon: 'LogoIcon', iconVersion: SVG_COLOR[bgColor] }, className: `${SVG_COLOR[bgColor]} w-10 h-[38px]`, asSVG: true }), showTitle ? (_jsx("span", { className: `${TEXT_COLOR[bgColor]} text-s font-medium ml-2.5`, children: children || 'Россельхозбанк' })) : null] }));
|
|
14
14
|
});
|
|
15
15
|
//# sourceMappingURL=Logo.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Logo.js","sourceRoot":"","sources":["../../../src/ui-kit/Logo/Logo.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAUjC,MAAM,SAAS,GAAmC;IAChD,UAAU,EAAE,mBAAmB;IAC/B,WAAW,EAAE,YAAY;CAC1B,CAAC;AACF,MAAM,UAAU,GAAmC;IACjD,UAAU,EAAE,YAAY;IACxB,WAAW,EAAE,YAAY;CAC1B,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAG,GAAG,CACrB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,OAAO,GAAG,UAAU,EAAE,SAAS,EAAE,EAAE,EAAE;
|
|
1
|
+
{"version":3,"file":"Logo.js","sourceRoot":"","sources":["../../../src/ui-kit/Logo/Logo.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAUjC,MAAM,SAAS,GAAmC;IAChD,UAAU,EAAE,mBAAmB;IAC/B,WAAW,EAAE,YAAY;CAC1B,CAAC;AACF,MAAM,UAAU,GAAmC;IACjD,UAAU,EAAE,YAAY;IACxB,WAAW,EAAE,YAAY;CAC1B,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAG,GAAG,CACrB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,OAAO,GAAG,UAAU,EAAE,SAAS,GAAG,IAAI,EAAE,EAAE,EAAE;IAC1F,OAAO,CACL,aACE,SAAS,EAAE,mDAAmD,SAAS,EAAE,EACzE,IAAI,EAAE,IAAI,IAAI,kBAAkB,EAChC,MAAM,EAAE,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,gBAC7B,sFAAgB,aAE3B,KAAC,GAAG,IACF,KAAK,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,WAAW,EAAE,SAAS,CAAC,OAAO,CAAC,EAAE,EAC5D,SAAS,EAAE,GAAG,SAAS,CAAC,OAAO,CAAC,gBAAgB,EAChD,KAAK,SACL,EACD,SAAS,CAAC,CAAC,CAAC,CACX,eAAM,SAAS,EAAE,GAAG,UAAU,CAAC,OAAO,CAAC,4BAA4B,YAChE,QAAQ,IAAI,gBAAgB,GACxB,CACR,CAAC,CAAC,CAAC,IAAI,IACN,CACL,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { UniBlockProps } from '../../
|
|
1
|
+
import type { UniBlockProps } from '../../model/ContentPageDef';
|
|
2
2
|
export declare const SearchBar: import("@redneckz/uni-jsx").UNIComponent<UniBlockProps, any, any>;
|
|
@@ -1,6 +1,18 @@
|
|
|
1
1
|
import { getGeolocation } from '../utils/getGeolocation';
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
interface DaDataSuggestion<T> {
|
|
4
|
+
value?: string;
|
|
5
|
+
unrestricted_value?: string;
|
|
6
|
+
data?: T;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
interface DaDataAddress {
|
|
10
|
+
city?: string | null;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export interface DaDataResult {
|
|
14
|
+
suggestions?: DaDataSuggestion<DaDataAddress>[];
|
|
15
|
+
}
|
|
4
16
|
|
|
5
17
|
export function DaDataAPI(baseURL = '') {
|
|
6
18
|
async function getFetcherAddress() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
-
import type { UniBlockProps } from '../../
|
|
2
|
+
import type { UniBlockProps } from '../../model/ContentPageDef';
|
|
3
3
|
import { Heading } from '../../ui-kit/Heading/Heading';
|
|
4
4
|
import type { AccordionContent } from './AccordionContent';
|
|
5
5
|
import { AccordionItem } from './AccordionItem';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
-
import type { UniBlockProps } from '../../
|
|
2
|
+
import type { UniBlockProps } from '../../model/ContentPageDef';
|
|
3
3
|
import { Img } from '../../ui-kit/Img/Img';
|
|
4
4
|
import type { AccordionItemCommonProps } from './AccordionContent';
|
|
5
5
|
import { AccordionItemInner } from './AccordionItemInner';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
-
import type { UniBlockProps } from '../../
|
|
2
|
+
import type { UniBlockProps } from '../../model/ContentPageDef';
|
|
3
3
|
import type { BaseTileCommonProps } from './BaseTileProps';
|
|
4
4
|
|
|
5
5
|
export interface BaseTileProps extends BaseTileCommonProps, UniBlockProps {}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import type { BlockVersion } from '../../model/BlockVersion';
|
|
3
|
+
import type { UniBlockProps } from '../../model/ContentPageDef';
|
|
3
4
|
import type { Picture } from '../../model/Picture';
|
|
4
|
-
import type { UniBlockProps } from '../../types';
|
|
5
5
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper';
|
|
6
6
|
import { Heading } from '../../ui-kit/Heading/Heading';
|
|
7
7
|
import { Img } from '../../ui-kit/Img/Img';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
+
import type { UniBlockProps } from '../../model/ContentPageDef';
|
|
2
3
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper';
|
|
3
|
-
import type { UniBlockProps } from '../../types';
|
|
4
|
-
import type { BonusContent } from './BonusContent';
|
|
5
4
|
import { Headline } from '../Headline/Headline';
|
|
5
|
+
import type { BonusContent } from './BonusContent';
|
|
6
6
|
|
|
7
7
|
export interface BonusProps extends BonusContent, UniBlockProps {}
|
|
8
8
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
-
import type { UniBlockProps } from '../../
|
|
2
|
+
import type { UniBlockProps } from '../../model/ContentPageDef';
|
|
3
3
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper';
|
|
4
4
|
import { Img } from '../../ui-kit/Img/Img';
|
|
5
5
|
import { Headline } from '../Headline/Headline';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import { useState } from '@redneckz/uni-jsx/lib/hooks';
|
|
3
|
-
import type { UniBlockProps } from '../../
|
|
3
|
+
import type { UniBlockProps } from '../../model/ContentPageDef';
|
|
4
4
|
import { CommonCalculatorProps } from './CalculatorContent';
|
|
5
5
|
import { CalculatorValueBlock } from './CalculatorValueBlock';
|
|
6
6
|
import { DEFAULT_REST_MIN_SUM, DEFAULT_TRAVEL_MIN_SUM } from './constants';
|
|
7
7
|
import { Rate } from './Rate';
|
|
8
8
|
import { renderButtonSection } from './renderButtonSection';
|
|
9
|
+
import { renderFootnote } from './renderFootnote';
|
|
9
10
|
import { renderWantedSumInput } from './renderWantedSumInput';
|
|
10
11
|
import { useBonusCalculatorParams } from './useBonusCalculatorParams';
|
|
11
|
-
import { renderFootnote } from './renderFootnote';
|
|
12
12
|
|
|
13
13
|
export interface BonusCalculatorProps extends CommonCalculatorProps, UniBlockProps {}
|
|
14
14
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import { useState } from '@redneckz/uni-jsx/lib/hooks';
|
|
3
|
-
import type { UniBlockProps } from '../../
|
|
3
|
+
import type { UniBlockProps } from '../../model/ContentPageDef';
|
|
4
4
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper';
|
|
5
5
|
import { renderArrows } from '../../ui-kit/Button/renderArrows';
|
|
6
6
|
import { Img } from '../../ui-kit/Img/Img';
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import { useState } from '@redneckz/uni-jsx/lib/hooks';
|
|
3
|
-
import type { UniBlockProps } from '../../
|
|
3
|
+
import type { UniBlockProps } from '../../model/ContentPageDef';
|
|
4
4
|
import { Checkbox } from '../../ui-kit/Checkbox/Checkbox';
|
|
5
5
|
import { CommonCalculatorProps } from './CalculatorContent';
|
|
6
6
|
import { CalculatorValueBlock } from './CalculatorValueBlock';
|
|
7
7
|
import { DEFAULT_MONTHS, DEFAULT_SUM } from './constants';
|
|
8
8
|
import { Rate } from './Rate';
|
|
9
9
|
import { renderButtonSection } from './renderButtonSection';
|
|
10
|
+
import { renderFootnote } from './renderFootnote';
|
|
10
11
|
import { renderMonthsInput } from './renderMonthsInput';
|
|
11
12
|
import { renderPaymentTypeSelector } from './renderPaymentTypeSelector';
|
|
12
13
|
import { renderWantedSumInput } from './renderWantedSumInput';
|
|
13
14
|
import { useCreditCalculatorParams } from './useCreditCalculatorParams';
|
|
14
|
-
import { renderFootnote } from './renderFootnote';
|
|
15
15
|
|
|
16
16
|
export const ANNUITY = 'annuity';
|
|
17
17
|
export const DIFFERENTIAL = 'differential';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { JSX } from '@redneckz/uni-jsx';
|
|
4
4
|
import { useState } from '@redneckz/uni-jsx/lib/hooks';
|
|
5
|
-
import type { UniBlockProps } from '../../
|
|
5
|
+
import type { UniBlockProps } from '../../model/ContentPageDef';
|
|
6
6
|
import { CommonCalculatorProps, DepositCalculatorParams } from './CalculatorContent';
|
|
7
7
|
import { CalculatorValueBlock } from './CalculatorValueBlock';
|
|
8
8
|
import {
|
|
@@ -15,10 +15,10 @@ import {
|
|
|
15
15
|
} from './constants';
|
|
16
16
|
import { Rate } from './Rate';
|
|
17
17
|
import { renderButtonSection } from './renderButtonSection';
|
|
18
|
+
import { renderFootnote } from './renderFootnote';
|
|
18
19
|
import { renderMonthsInput } from './renderMonthsInput';
|
|
19
|
-
import { renderWantedSumInput } from './renderWantedSumInput';
|
|
20
20
|
import { renderPaymentTypeSelector } from './renderPaymentTypeSelector';
|
|
21
|
-
import {
|
|
21
|
+
import { renderWantedSumInput } from './renderWantedSumInput';
|
|
22
22
|
|
|
23
23
|
export interface DepositCalculatorProp
|
|
24
24
|
extends DepositCalculatorParams,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { JSXBlock } from '
|
|
1
|
+
import type { JSXBlock } from '../../model/BlocksRegistry';
|
|
2
|
+
import { Heading } from '../../ui-kit/Heading/Heading';
|
|
2
3
|
import type { CalculatorBlockDef } from './CalculatorContent';
|
|
3
4
|
import { EmbeddableCalcBlocks, EmbeddableCalcProps } from './EmbeddableCalcBlocks';
|
|
4
|
-
import { Heading } from '../../ui-kit/Heading/Heading';
|
|
5
5
|
|
|
6
6
|
export const renderCalculatorBlock =
|
|
7
7
|
({ context, className }: any) =>
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import { useState } from '@redneckz/uni-jsx/lib/hooks';
|
|
3
|
+
import type { UniBlockProps } from '../../model/ContentPageDef';
|
|
3
4
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper';
|
|
5
|
+
import type { GetButtonClassParams } from '../../ui-kit/Button/GetButtonClassParams';
|
|
6
|
+
import { getDisabledButtonClasses } from '../../ui-kit/Button/getDisabledButtonClasses';
|
|
7
|
+
import { getRegularButtonClasses } from '../../ui-kit/Button/getRegularButtonClasses';
|
|
4
8
|
import { CurrencyInput } from '../../ui-kit/CurrencyInput/CurrencyInput';
|
|
5
9
|
import { Heading } from '../../ui-kit/Heading/Heading';
|
|
6
|
-
import type { UniBlockProps } from '../../types';
|
|
7
|
-
import type { GetButtonClassParams } from '../../ui-kit/Button/GetButtonClassParams';
|
|
8
10
|
import type { CardTransferContent } from './CardTransferContent';
|
|
9
|
-
import { getRegularButtonClasses } from '../../ui-kit/Button/getRegularButtonClasses';
|
|
10
|
-
import { getDisabledButtonClasses } from '../../ui-kit/Button/getDisabledButtonClasses';
|
|
11
11
|
|
|
12
12
|
const AMOUNT_KEY = 'amount';
|
|
13
13
|
const FORM_URL = 'https://www.rshb.ru/p2p/';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import { useState } from '@redneckz/uni-jsx/lib/hooks';
|
|
3
|
-
import type { UniBlockProps } from '../../
|
|
3
|
+
import type { UniBlockProps } from '../../model/ContentPageDef';
|
|
4
4
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper';
|
|
5
5
|
import { renderArrows } from '../../ui-kit/Button/renderArrows';
|
|
6
6
|
import type { ContentPageContext } from '../ContentPage/ContentPageContext';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import type { BlockVersion } from '../../model/BlockVersion';
|
|
3
|
+
import type { UniBlockProps } from '../../model/ContentPageDef';
|
|
3
4
|
import type { Picture } from '../../model/Picture';
|
|
4
5
|
import type { ProductColorVersion } from '../../model/ProductColorVersion';
|
|
5
|
-
import type { UniBlockProps } from '../../types';
|
|
6
6
|
import { Button } from '../../ui-kit/Button/Button';
|
|
7
7
|
import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
|
|
8
8
|
import { Heading } from '../../ui-kit/Heading/Heading';
|
|
@@ -28,7 +28,7 @@ export const CatalogCard = JSX<CatalogCardProps>(
|
|
|
28
28
|
({ className = '', title, description, image, price, button, colors }) => {
|
|
29
29
|
return (
|
|
30
30
|
<section
|
|
31
|
-
className={`border border-solid box-border p-[30px] min-w-[402px] flex flex-col justify-left ${className}`}
|
|
31
|
+
className={`border border-solid box-border border-main-stroke p-[30px] min-w-[402px] flex flex-col justify-left ${className}`}
|
|
32
32
|
role="listitem"
|
|
33
33
|
>
|
|
34
34
|
{image?.src ? <Img className="mb-5 flex justify-center" image={image} /> : null}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import { useState } from '@redneckz/uni-jsx/lib/hooks';
|
|
3
|
-
import type { UniBlockProps } from '../../
|
|
3
|
+
import type { UniBlockProps } from '../../model/ContentPageDef';
|
|
4
4
|
import { Heading } from '../../ui-kit/Heading/Heading';
|
|
5
5
|
import { SwipeListControl } from '../../ui-kit/SwipeListControl/SwipeListControl';
|
|
6
6
|
import type { ComparisonTableContent } from './ComparisonTableContent';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import type { ButtonVersion } from '../../model/ButtonVersion';
|
|
3
|
-
import type {
|
|
4
|
-
import type { UniBlockProps } from '../../types';
|
|
3
|
+
import type { UniBlockProps } from '../../model/ContentPageDef';
|
|
5
4
|
import type { TitleProps } from '../../model/HeadlineType';
|
|
5
|
+
import type { IconProps } from '../../model/Picture';
|
|
6
6
|
import { Button } from '../../ui-kit/Button/Button';
|
|
7
7
|
import { CellData } from './ComparisonTableContent';
|
|
8
8
|
import { GRADIENT } from './constants';
|