@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,4 +1,4 @@
|
|
|
1
|
-
<svg title="Ящик с замочной скважиной" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
1
|
+
<svg title="Ящик с замочной скважиной" isInverse="true" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
2
|
<path d="M2 15C2 20 4 22 9 22H15C20 22 22 20 22 15V9C22 4 20 2 15 2H9C4 2 2 4 2 9V10.91H9.64999" stroke="#000000" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
|
|
3
3
|
<path d="M14.3511 10.9091C14.2511 11.6191 13.8311 12.2191 13.2511 12.5791V14.5591C13.2511 15.2491 12.6911 15.8091 12.0011 15.8091C11.3111 15.8091 10.7511 15.2491 10.7511 14.5591V12.5791C10.1711 12.2191 9.75109 11.6191 9.65109 10.9091C9.63109 10.7991 9.62109 10.6791 9.62109 10.5591C9.62109 9.03914 11.0611 7.85914 12.6411 8.27914C13.4411 8.48914 14.0911 9.13915 14.3011 9.93915C14.3911 10.2691 14.4011 10.5991 14.3511 10.9091Z" stroke="currentColor" stroke-width="2" stroke-miterlimit="10"/>
|
|
4
4
|
<path d="M18.0016 10.9102H14.3516" stroke="#000000" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<svg title="Лого «Telegram»" viewBox="0 0 20 16" xmlns="http://www.w3.org/2000/svg">
|
|
1
|
+
<svg title="Лого «Telegram»" isInverse="true" viewBox="0 0 20 16" xmlns="http://www.w3.org/2000/svg">
|
|
2
2
|
<path
|
|
3
3
|
fill="currentColor"
|
|
4
4
|
d="M1.226 6.968s8.846-3.512 11.913-4.749c1.177-.495 5.165-2.078 5.165-2.078s1.84-.692 1.687.99c-.051.692-.46 3.116-.87 5.738-.613 3.71-1.278 7.767-1.278 7.767s-.102 1.138-.971 1.336c-.87.197-2.3-.693-2.556-.891-.205-.148-3.835-2.374-5.165-3.463-.358-.297-.767-.89.051-1.583 1.841-1.632 4.04-3.66 5.37-4.947.613-.593 1.226-1.979-1.33-.297-3.63 2.424-7.21 4.7-7.21 4.7s-.818.495-2.352.05C2.146 9.094.357 8.5.357 8.5s-1.227-.741.87-1.533Z"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<svg title="Пользователь в рамке" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
1
|
+
<svg title="Пользователь в рамке" isInverse="true" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
2
|
<path d="M18.1394 21.6207C17.2594 21.8807 16.2194 22.0007 14.9994 22.0007H8.99937C7.77937 22.0007 6.73937 21.8807 5.85938 21.6207C6.07937 19.0207 8.74937 16.9707 11.9994 16.9707C15.2494 16.9707 17.9194 19.0207 18.1394 21.6207Z" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
3
3
|
<path d="M2 12.94V15C2 18.78 3.14 20.85 5.86 21.62C6.08 19.02 8.75 16.97 12 16.97C15.25 16.97 17.92 19.02 18.14 21.62C20.86 20.85 22 18.78 22 15V9C22 4 20 2 15 2H9C4 2 2 4 2 9V12.94ZM12 14.17C10.02 14.17 8.42 12.56 8.42 10.58C8.42 8.60002 10.02 7 12 7C13.98 7 15.58 8.60002 15.58 10.58C15.58 12.56 13.98 14.17 12 14.17Z" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
4
4
|
<path d="M15.5799 10.58C15.5799 12.56 13.9799 14.17 11.9999 14.17C10.0199 14.17 8.41992 12.56 8.41992 10.58C8.41992 8.60002 10.0199 7 11.9999 7C13.9799 7 15.5799 8.60002 15.5799 10.58Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<svg title="Пользователь" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
1
|
+
<svg title="Пользователь" isInverse="true" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
2
|
<path d="M15.02 3.01A4.944 4.944 0 0 0 12 2C9.24 2 7 4.24 7 7s2.24 5 5 5 5-2.24 5-5M3.41 22c0-3.87 3.85-7 8.59-7 .96 0 1.89.13 2.76.37" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
3
3
|
<path d="M22 18c0 .75-.21 1.46-.58 2.06-.21.36-.48.68-.79.94-.7.63-1.62 1-2.63 1a3.97 3.97 0 0 1-3.42-1.94A3.92 3.92 0 0 1 14 18c0-1.26.58-2.39 1.5-3.12A3.999 3.999 0 0 1 22 18Z" stroke="currentColor" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
|
|
4
4
|
<path d="m16.44 18 .99.99 2.13-1.97" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg title="Пополнение карты" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M6.19 7.06C6.45 7.02 6.72 7 7 7h10c.26 0 .51.01.75.05C20.33 7.35 22 9.26 22 12v5c0 3-2 5-5 5H7.63c.31-.26.58-.58.79-.94.37-.6.58-1.31.58-2.06 0-2.21-1.79-4-4-4-1.2 0-2.27.53-3 1.36V12c0-.87.17-1.66.48-2.33" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M17.75 7.05C17.51 7.01 17.26 7 17 7H7c-.28 0-.55.02-.81.06.14-.28.34-.54.58-.78l3.25-3.26a3.525 3.525 0 0 1 4.96 0l1.75 1.77c.64.63.98 1.43 1.02 2.26Z" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M9 19c0 .75-.21 1.46-.58 2.06A3.97 3.97 0 0 1 5 23a3.97 3.97 0 0 1-3.42-1.94A3.92 3.92 0 0 1 1 19c0-2.21 1.79-4 4-4s4 1.79 4 4ZM6.49 18.98H3.51M5 17.52v2.99" stroke="currentColor" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/><path d="M22 12.5h-3c-1.1 0-2 .9-2 2s.9 2 2 2h3" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>
|
|
1
|
+
<svg title="Пополнение карты" isInverse="true" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M6.19 7.06C6.45 7.02 6.72 7 7 7h10c.26 0 .51.01.75.05C20.33 7.35 22 9.26 22 12v5c0 3-2 5-5 5H7.63c.31-.26.58-.58.79-.94.37-.6.58-1.31.58-2.06 0-2.21-1.79-4-4-4-1.2 0-2.27.53-3 1.36V12c0-.87.17-1.66.48-2.33" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M17.75 7.05C17.51 7.01 17.26 7 17 7H7c-.28 0-.55.02-.81.06.14-.28.34-.54.58-.78l3.25-3.26a3.525 3.525 0 0 1 4.96 0l1.75 1.77c.64.63.98 1.43 1.02 2.26Z" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M9 19c0 .75-.21 1.46-.58 2.06A3.97 3.97 0 0 1 5 23a3.97 3.97 0 0 1-3.42-1.94A3.92 3.92 0 0 1 1 19c0-2.21 1.79-4 4-4s4 1.79 4 4ZM6.49 18.98H3.51M5 17.52v2.99" stroke="currentColor" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/><path d="M22 12.5h-3c-1.1 0-2 .9-2 2s.9 2 2 2h3" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg title="Кошелёк с плюсом" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M14.5 15.44h-5M12 13v5" stroke="currentColor" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/><path d="M12 22H8.1c-.24 0-.48-.02-.71-.05-3.18-.21-4.88-1.91-5.09-5.09-.03-.23-.05-.47-.05-.71V14.2c0-2.01 1.22-3.74 2.96-4.49.6-.25 1.24-.39 1.92-.39h9.76c.49 0 .97.07 1.41.2 2 .6 3.46 2.47 3.46 4.67v1.95c0 .2-.01.4-.02.6-.19 3.5-2.14 5.26-5.84 5.26" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="m12.9 2.52-.03.07-2.9 6.73H7.12c-.68 0-1.33.14-1.92.39l1.75-4.18.04-.1.07-.16c.02-.06.04-.12.07-.17 1.31-3.03 2.79-3.72 5.77-2.58Z" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M18.29 9.52c-.45-.14-.93-.2-1.41-.2H9.97l2.9-6.73.03-.07c.15.05.29.12.44.18l2.21.93c1.23.51 2.09 1.04 2.61 1.68.1.12.18.23.25.36.09.14.16.28.2.43.04.09.07.18.09.26.27.84.11 1.87-.41 3.16ZM6.95 5.53 5.2 9.71a4.894 4.894 0 0 0-2.96 4.49v-2.93c0-2.84 2.02-5.21 4.71-5.74Z" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M21.76 11.27v2.93c0-2.2-1.46-4.07-3.46-4.67.52-1.3.67-2.32.42-3.17-.02-.09-.05-.18-.09-.26 1.86.96 3.13 2.93 3.13 5.17Z" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>
|
|
1
|
+
<svg title="Кошелёк с плюсом" isInverse="true" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M14.5 15.44h-5M12 13v5" stroke="currentColor" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/><path d="M12 22H8.1c-.24 0-.48-.02-.71-.05-3.18-.21-4.88-1.91-5.09-5.09-.03-.23-.05-.47-.05-.71V14.2c0-2.01 1.22-3.74 2.96-4.49.6-.25 1.24-.39 1.92-.39h9.76c.49 0 .97.07 1.41.2 2 .6 3.46 2.47 3.46 4.67v1.95c0 .2-.01.4-.02.6-.19 3.5-2.14 5.26-5.84 5.26" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="m12.9 2.52-.03.07-2.9 6.73H7.12c-.68 0-1.33.14-1.92.39l1.75-4.18.04-.1.07-.16c.02-.06.04-.12.07-.17 1.31-3.03 2.79-3.72 5.77-2.58Z" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M18.29 9.52c-.45-.14-.93-.2-1.41-.2H9.97l2.9-6.73.03-.07c.15.05.29.12.44.18l2.21.93c1.23.51 2.09 1.04 2.61 1.68.1.12.18.23.25.36.09.14.16.28.2.43.04.09.07.18.09.26.27.84.11 1.87-.41 3.16ZM6.95 5.53 5.2 9.71a4.894 4.894 0 0 0-2.96 4.49v-2.93c0-2.84 2.02-5.21 4.71-5.74Z" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M21.76 11.27v2.93c0-2.2-1.46-4.07-3.46-4.67.52-1.3.67-2.32.42-3.17-.02-.09-.05-.18-.09-.26 1.86.96 3.13 2.93 3.13 5.17Z" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg title="Кошелёк" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M10.75 16.86v2.03c0 1.72-1.6 3.11-3.57 3.11-1.97 0-3.58-1.39-3.58-3.11v-2.03c0 1.72 1.6 2.94 3.58 2.94 1.97 0 3.57-1.23 3.57-2.94Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M10.75 14.11c0 .5-.14.96-.38 1.36-.59.97-1.8 1.58-3.2 1.58-1.4 0-2.61-.62-3.2-1.58-.24-.4-.38-.86-.38-1.36 0-.86.4-1.63 1.04-2.19.65-.57 1.54-.91 2.53-.91.99 0 1.88.35 2.53.91.66.55 1.06 1.33 1.06 2.19Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M10.75 14.11v2.75c0 1.72-1.6 2.94-3.57 2.94-1.97 0-3.58-1.23-3.58-2.94v-2.75C3.6 12.39 5.2 11 7.18 11c.99 0 1.88.35 2.53.91.64.56 1.04 1.34 1.04 2.2Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M22 10.97v2.06c0 .55-.44 1-1 1.02h-1.96c-1.08 0-2.07-.79-2.16-1.87-.06-.63.18-1.22.6-1.63.37-.38.88-.6 1.44-.6H21c.56.02 1 .47 1 1.02Z" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M16 3.5c.26 0 .51.01.75.05C19.33 3.85 21 5.76 21 8.5v1.45h-2.08c-.56 0-1.07.22-1.44.6-.42.41-.66 1-.6 1.63.09 1.08 1.08 1.87 2.16 1.87H21v1.45c0 3-2 5-5 5h-2.5M2 10.5v-2c0-2.72 1.64-4.62 4.19-4.94.26-.04.53-.06.81-.06h5" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>
|
|
1
|
+
<svg title="Кошелёк" isInverse="true" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M10.75 16.86v2.03c0 1.72-1.6 3.11-3.57 3.11-1.97 0-3.58-1.39-3.58-3.11v-2.03c0 1.72 1.6 2.94 3.58 2.94 1.97 0 3.57-1.23 3.57-2.94Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M10.75 14.11c0 .5-.14.96-.38 1.36-.59.97-1.8 1.58-3.2 1.58-1.4 0-2.61-.62-3.2-1.58-.24-.4-.38-.86-.38-1.36 0-.86.4-1.63 1.04-2.19.65-.57 1.54-.91 2.53-.91.99 0 1.88.35 2.53.91.66.55 1.06 1.33 1.06 2.19Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M10.75 14.11v2.75c0 1.72-1.6 2.94-3.57 2.94-1.97 0-3.58-1.23-3.58-2.94v-2.75C3.6 12.39 5.2 11 7.18 11c.99 0 1.88.35 2.53.91.64.56 1.04 1.34 1.04 2.2Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M22 10.97v2.06c0 .55-.44 1-1 1.02h-1.96c-1.08 0-2.07-.79-2.16-1.87-.06-.63.18-1.22.6-1.63.37-.38.88-.6 1.44-.6H21c.56.02 1 .47 1 1.02Z" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M16 3.5c.26 0 .51.01.75.05C19.33 3.85 21 5.76 21 8.5v1.45h-2.08c-.56 0-1.07.22-1.44.6-.42.41-.66 1-.6 1.63.09 1.08 1.08 1.87 2.16 1.87H21v1.45c0 3-2 5-5 5h-2.5M2 10.5v-2c0-2.72 1.64-4.62 4.19-4.94.26-.04.53-.06.81-.06h5" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg title="Кошелёк с деньгами" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M20 12.063V11a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-1.063" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="m5 7 8.571-5L15 4.308M10 7l8-4 2 2.91" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M16.56 18H21a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1h-7a1 1 0 0 0-1 1v3" stroke="#000000" stroke-width="2" stroke-linecap="round"/></svg>
|
|
1
|
+
<svg title="Кошелёк с деньгами" isInverse="true" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M20 12.063V11a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-1.063" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="m5 7 8.571-5L15 4.308M10 7l8-4 2 2.91" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M16.56 18H21a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1h-7a1 1 0 0 0-1 1v3" stroke="#000000" stroke-width="2" stroke-linecap="round"/></svg>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { BlockDef, Slot, SlotsMap } from './ContentPageDef';
|
|
2
|
+
|
|
3
|
+
export const DEFAULT_SLOT_NAME = null;
|
|
4
|
+
|
|
5
|
+
export type BlockAncestors = [keyof SlotsMap | typeof DEFAULT_SLOT_NAME, ...Slot[]];
|
|
6
|
+
|
|
7
|
+
interface BlockDecoratorProps<VNode> {
|
|
8
|
+
blockClassName: string;
|
|
9
|
+
block: BlockDef;
|
|
10
|
+
ancestors: BlockAncestors; // Is needed to simplify page editor logic
|
|
11
|
+
render: (props: { blockClassName: string; block: BlockDef }) => VNode;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export type BlockDecorator<VNode = any> = (
|
|
15
|
+
props: BlockDecoratorProps<VNode>,
|
|
16
|
+
index?: number | string,
|
|
17
|
+
) => any;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { UNIComponent } from '@redneckz/uni-jsx';
|
|
2
|
+
import type { UniBlockProps } from './ContentPageDef';
|
|
3
|
+
import type { VNode } from './VNode';
|
|
4
|
+
|
|
5
|
+
export type JSXBlock<BlockProps = Record<string, any>> = UNIComponent<
|
|
6
|
+
BlockProps & UniBlockProps,
|
|
7
|
+
any,
|
|
8
|
+
VNode | VNode[]
|
|
9
|
+
>;
|
|
10
|
+
|
|
11
|
+
export type BlocksRegistry<BlockProps = Record<string, any>> = Record<string, JSXBlock<BlockProps>>;
|
|
@@ -1,6 +1,5 @@
|
|
|
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
|
/**
|
|
6
5
|
* @title Цветовая палитра
|
|
@@ -8,10 +7,9 @@ import type { BlockVersion } from './model/BlockVersion';
|
|
|
8
7
|
*/
|
|
9
8
|
export type ColorPalette = '' | 'pc' | 'bc' | 'eo';
|
|
10
9
|
|
|
11
|
-
export interface BaseBlockDef {
|
|
10
|
+
export interface BaseBlockDef extends Slot {
|
|
12
11
|
type?: string;
|
|
13
|
-
|
|
14
|
-
content?: BlockContent;
|
|
12
|
+
content?: Record<string, any>;
|
|
15
13
|
version?: BlockVersion;
|
|
16
14
|
hidden?: boolean;
|
|
17
15
|
anchor?: string;
|
|
@@ -45,10 +43,8 @@ export interface ContentPageMeta {
|
|
|
45
43
|
jsonLd?: string;
|
|
46
44
|
}
|
|
47
45
|
|
|
48
|
-
export interface ContentPageDef extends ContentPageMeta {
|
|
46
|
+
export interface ContentPageDef extends ContentPageMeta, Slot {
|
|
49
47
|
_customPageType?: string;
|
|
50
|
-
style?: string[];
|
|
51
|
-
blocks?: BlockDef[];
|
|
52
48
|
slots?: SlotsMap;
|
|
53
49
|
fallback?: Record<string, unknown>;
|
|
54
50
|
likeControl?: boolean;
|
|
@@ -62,17 +58,3 @@ export interface UniBlockProps {
|
|
|
62
58
|
labels?: string[];
|
|
63
59
|
anchor?: string;
|
|
64
60
|
}
|
|
65
|
-
|
|
66
|
-
export interface DaDataResult {
|
|
67
|
-
suggestions?: DaDataSuggestion<DaDataAddress>[];
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
export interface DaDataSuggestion<T> {
|
|
71
|
-
value?: string;
|
|
72
|
-
unrestricted_value?: string;
|
|
73
|
-
data?: T;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
export interface DaDataAddress {
|
|
77
|
-
city?: string | null;
|
|
78
|
-
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useAsyncData } from '@redneckz/uni-jsx/lib/hooks/useAsyncData';
|
|
2
2
|
import type { HeaderContent } from '../../components/Header/HeaderContent';
|
|
3
3
|
import { projectSettings } from '../../ProjectSettings';
|
|
4
|
-
import type { Fallback } from '../../
|
|
4
|
+
import type { Fallback } from '../../model/Fallback';
|
|
5
5
|
import { fetchJSONUnsafe } from '../../utils/fetchJSON';
|
|
6
6
|
|
|
7
7
|
export function useSitemap(fallback: Fallback = {}): HeaderContent {
|
|
@@ -4,6 +4,7 @@ import type { IconVersion } from '../../model/IconVersion';
|
|
|
4
4
|
import type { DescriptionProps, LabelProps } from '../../model/HeadlineType';
|
|
5
5
|
|
|
6
6
|
export interface BenefitItemCommonProps {
|
|
7
|
+
/** @hidden */
|
|
7
8
|
benefitsVersion?: IconVersion;
|
|
8
9
|
/** @hidden */
|
|
9
10
|
version?: BlockVersion;
|
|
@@ -2,7 +2,7 @@ import { JSX } from '@redneckz/uni-jsx';
|
|
|
2
2
|
import { useEffect, useState } from '@redneckz/uni-jsx/lib/hooks';
|
|
3
3
|
import type { ContentPageContext } from '../components/ContentPage/ContentPageContext';
|
|
4
4
|
import { EventBus } from '../EventBus/EventBus';
|
|
5
|
-
import type { UniBlockProps } from '../
|
|
5
|
+
import type { UniBlockProps } from '../model/ContentPageDef';
|
|
6
6
|
import { changeHashOnObserve } from '../utils/changeHashOnObserve';
|
|
7
7
|
|
|
8
8
|
interface BlockWrapperProps extends UniBlockProps, Record<string, any> {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { JSXBlock } from '../../components/ContentPage/ContentPage';
|
|
2
1
|
import type { ContentPageContext } from '../../components/ContentPage/ContentPageContext';
|
|
3
|
-
import type {
|
|
2
|
+
import type { JSXBlock } from '../../model/BlocksRegistry';
|
|
3
|
+
import type { UniBlockProps } from '../../model/ContentPageDef';
|
|
4
4
|
import { style2className } from '../../utils/style2className';
|
|
5
5
|
import type { BlockDef } from './BlocksListProps';
|
|
6
6
|
import { EmbeddableBlocks } from './EmbeddableBlocks';
|
|
@@ -39,6 +39,9 @@ export const Button = JSX<ButtonWithIconProps>(
|
|
|
39
39
|
ariaLabel,
|
|
40
40
|
...rest
|
|
41
41
|
}) => {
|
|
42
|
+
// It isn't a valid HTML attribute. Must be excluded from "rest"
|
|
43
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
44
|
+
const { asSVG, iconRight, appendRight, icon, ...buttonInnerRest } = rest;
|
|
42
45
|
const buttonInner = children ?? (
|
|
43
46
|
<ButtonInner
|
|
44
47
|
text={text}
|
|
@@ -75,7 +78,7 @@ export const Button = JSX<ButtonWithIconProps>(
|
|
|
75
78
|
onClick={onClick}
|
|
76
79
|
aria-label={ariaLabel}
|
|
77
80
|
role={!href ? 'button' : 'link'}
|
|
78
|
-
{...
|
|
81
|
+
{...buttonInnerRest}
|
|
79
82
|
>
|
|
80
83
|
{buttonInner}
|
|
81
84
|
</a>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import { useLink } from '../../hooks/useLink';
|
|
3
|
-
import { UniBlockProps } from '../../
|
|
3
|
+
import { UniBlockProps } from '../../model/ContentPageDef';
|
|
4
4
|
import { Img } from '../Img/Img';
|
|
5
5
|
import { Button } from './Button';
|
|
6
6
|
import type { ButtonContent, ButtonWithIconProps } from './ButtonProps';
|
|
@@ -4,7 +4,8 @@ export const buttonStyleMap: Record<ButtonVersion, string> = {
|
|
|
4
4
|
primary: 'text-white bg-primary-main hover:bg-primary-hover active:bg-primary-active',
|
|
5
5
|
secondary:
|
|
6
6
|
'text-primary-main bg-main-divider hover:text-white hover:bg-primary-hover active:bg-primary-active',
|
|
7
|
-
white:
|
|
7
|
+
white:
|
|
8
|
+
'text-primary-main bg-white hover:text-white hover:bg-primary-hover active:bg-white active:text-primary-main',
|
|
8
9
|
link: '',
|
|
9
10
|
};
|
|
10
11
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import { ContentPageContext } from '../../components/ContentPage/ContentPageContext';
|
|
3
|
+
import { ColorPalette } from '../../model/ContentPageDef';
|
|
3
4
|
import type { VNode } from '../../model/VNode';
|
|
4
|
-
import { ColorPalette } from '../../types';
|
|
5
5
|
import { clamp } from '../../utils/clamp';
|
|
6
6
|
import { Icon } from '../Icon/Icon';
|
|
7
7
|
import { foldableBlockClassNames, useActiveHandler } from './useActiveHandler';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
-
import { IconTitleMap } from '../../icons/IconName';
|
|
2
|
+
import { IconInverseMap, IconTitleMap } from '../../icons/IconName';
|
|
3
3
|
import type { IconVersion } from '../../model/IconVersion';
|
|
4
4
|
import { projectSettings } from '../../ProjectSettings';
|
|
5
5
|
import type { IconProps } from './IconProps';
|
|
@@ -7,7 +7,7 @@ import type { IconProps } from './IconProps';
|
|
|
7
7
|
const svgUseStyleMap: Record<IconVersion, string> = {
|
|
8
8
|
normal: 'text-primary-main',
|
|
9
9
|
black: 'text-black',
|
|
10
|
-
white: 'text-black
|
|
10
|
+
white: 'text-black',
|
|
11
11
|
};
|
|
12
12
|
|
|
13
13
|
export const Icon = JSX<IconProps>(
|
|
@@ -23,17 +23,24 @@ export const Icon = JSX<IconProps>(
|
|
|
23
23
|
}) => {
|
|
24
24
|
const href = `${projectSettings.CDN || ''}icons/${name}.svg`;
|
|
25
25
|
|
|
26
|
-
if (asSVG) {
|
|
26
|
+
if (asSVG && IconInverseMap[name]) {
|
|
27
27
|
return (
|
|
28
|
-
<
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
28
|
+
<Background className={className}>
|
|
29
|
+
<svg
|
|
30
|
+
className={[
|
|
31
|
+
getSvgSize(className, imgProps.width),
|
|
32
|
+
svgUseStyleMap[iconVersion],
|
|
33
|
+
imageClassName,
|
|
34
|
+
getInvertStyle(name, iconVersion),
|
|
35
|
+
].join(' ')}
|
|
36
|
+
{...imgProps}
|
|
37
|
+
aria-hidden="true"
|
|
38
|
+
>
|
|
39
|
+
{title ? <title>{title}</title> : null}
|
|
40
|
+
{alt ? <desc>{alt}</desc> : null}
|
|
41
|
+
<use href={`${href}#icon`} xlinkHref={`${href}#icon`} />
|
|
42
|
+
</svg>
|
|
43
|
+
</Background>
|
|
37
44
|
);
|
|
38
45
|
}
|
|
39
46
|
|
|
@@ -49,3 +56,13 @@ export const Icon = JSX<IconProps>(
|
|
|
49
56
|
);
|
|
50
57
|
},
|
|
51
58
|
);
|
|
59
|
+
|
|
60
|
+
const getInvertStyle = (name: string, iconVersion: IconVersion) =>
|
|
61
|
+
iconVersion === 'white' && IconInverseMap[name] ? 'invert' : '';
|
|
62
|
+
|
|
63
|
+
const getSvgSize = (className?: string, width?: string) =>
|
|
64
|
+
width ? `width: ${width}px ` : 'w-full h-full';
|
|
65
|
+
|
|
66
|
+
const Background = JSX<{ className?: string }>(({ className, children }) =>
|
|
67
|
+
className ? <div className={className}>{children}</div> : children,
|
|
68
|
+
);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import { useState } from '@redneckz/uni-jsx/lib/hooks';
|
|
3
3
|
import { useTariffsInnerTableData } from '../../hooks/useTariffsInnerTableData';
|
|
4
|
-
import type { UniBlockProps } from '../../
|
|
4
|
+
import type { UniBlockProps } from '../../model/ContentPageDef';
|
|
5
5
|
import { InnerTableBody } from './InnerTableBody';
|
|
6
6
|
import { TableInnerButton } from './InnerTableButton';
|
|
7
7
|
import { InnerTableHeader } from './InnerTableHeader';
|
|
@@ -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 { Img } from '../Img/Img';
|
|
5
5
|
import { InnerTableBodyItem } from './InnerTableBodyItem';
|
|
6
6
|
import type { DataItem } from './InnerTableProps';
|
|
@@ -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 { renderArrows } from '../Button/renderArrows';
|
|
5
5
|
import type { RowsData } from './InnerTableProps';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import { EventBus } from '../../EventBus/EventBus';
|
|
3
|
-
import { UniBlockProps } from '../../
|
|
3
|
+
import { UniBlockProps } from '../../model/ContentPageDef';
|
|
4
4
|
import { Button } from '../Button/Button';
|
|
5
5
|
import { Icon } from '../Icon/Icon';
|
|
6
6
|
import type { TariffsTableInnerEvent } from './InnerTableProps';
|
|
@@ -7,7 +7,7 @@ export interface LogoProps {
|
|
|
7
7
|
href: string;
|
|
8
8
|
targetBlank: boolean;
|
|
9
9
|
bgColor?: string;
|
|
10
|
-
|
|
10
|
+
showTitle?: boolean;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
const SVG_COLOR: Record<BgColorVersion, string> = {
|
|
@@ -20,7 +20,7 @@ const TEXT_COLOR: Record<BgColorVersion, string> = {
|
|
|
20
20
|
};
|
|
21
21
|
|
|
22
22
|
export const Logo = JSX<Partial<LogoProps>>(
|
|
23
|
-
({ className = '', href, children, targetBlank, bgColor = 'bg-white',
|
|
23
|
+
({ className = '', href, children, targetBlank, bgColor = 'bg-white', showTitle = true }) => {
|
|
24
24
|
return (
|
|
25
25
|
<a
|
|
26
26
|
className={`inline-flex items-center font-sans no-underline ${className}`}
|
|
@@ -28,12 +28,16 @@ export const Logo = JSX<Partial<LogoProps>>(
|
|
|
28
28
|
target={targetBlank ? '_blank' : '_self'}
|
|
29
29
|
aria-label="Россельхозбанк"
|
|
30
30
|
>
|
|
31
|
-
<Img
|
|
32
|
-
|
|
31
|
+
<Img
|
|
32
|
+
image={{ icon: 'LogoIcon', iconVersion: SVG_COLOR[bgColor] }}
|
|
33
|
+
className={`${SVG_COLOR[bgColor]} w-10 h-[38px]`}
|
|
34
|
+
asSVG
|
|
35
|
+
/>
|
|
36
|
+
{showTitle ? (
|
|
33
37
|
<span className={`${TEXT_COLOR[bgColor]} text-s font-medium ml-2.5`}>
|
|
34
38
|
{children || 'Россельхозбанк'}
|
|
35
39
|
</span>
|
|
36
|
-
)}
|
|
40
|
+
) : null}
|
|
37
41
|
</a>
|
|
38
42
|
);
|
|
39
43
|
},
|
|
@@ -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 { SearchBarInner } from './SearchBarInner';
|
|
4
4
|
|
|
5
5
|
export const SearchBar = JSX<UniBlockProps>(({ className = '' }) => {
|
package/package.json
CHANGED
package/src/api/DaDataAPI.ts
CHANGED
|
@@ -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,6 +1,6 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import { AlignType } from '../../model/AlignType';
|
|
3
|
-
import type { UniBlockProps } from '../../
|
|
3
|
+
import type { UniBlockProps } from '../../model/ContentPageDef';
|
|
4
4
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper';
|
|
5
5
|
import { Heading } from '../../ui-kit/Heading/Heading';
|
|
6
6
|
import type { AccordionContent } from './AccordionContent';
|
|
@@ -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 { 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) =>
|