@redneckz/wildless-cms-uni-blocks 0.6.21 → 0.6.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +135 -128
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/Calculator/CalculatorContent.d.ts +4 -50
- package/bundle/components/ContactsBlock/ContactsBlockContent.d.ts +2 -1
- package/bundle/components/ContentPage/useContentPageData.d.ts +3 -0
- package/bundle/components/Headline/HeadlineContent.d.ts +1 -0
- package/bundle/components/InvestmentInfo/InvestmentInfoContent.d.ts +1 -2
- package/bundle/components/ProductBlock/renderBackwardButton.d.ts +2 -2
- package/bundle/components/TariffsTable/TariffsTableContent.d.ts +1 -1
- package/bundle/components/Tile/TileContent.d.ts +2 -1
- package/bundle/icons/IconName.d.ts +4 -2
- package/bundle/ui-kit/IntersectionObserverTag.d.ts +1 -0
- package/bundle/ui-kit/Tags/Tags.d.ts +6 -0
- package/bundle/ui-kit/Tags/TagsContent.d.ts +6 -0
- package/cosmos-static/icons/DocumentText2Icon.svg +1 -0
- package/dist/components/Calculator/CalculatorContent.d.ts +4 -50
- package/dist/components/Catalog/Catalog.js +1 -1
- package/dist/components/Catalog/Catalog.js.map +1 -1
- package/dist/components/Catalog/CatalogCard.js +1 -1
- package/dist/components/ContactsBlock/ContactsBlock.js +2 -2
- package/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
- package/dist/components/ContactsBlock/ContactsBlockContent.d.ts +2 -1
- package/dist/components/ContentPage/ContentPage.page.json +35 -0
- package/dist/components/ContentPage/useContentPageData.d.ts +3 -0
- package/dist/components/ContentPage/useContentPageData.js +67 -0
- package/dist/components/ContentPage/useContentPageData.js.map +1 -0
- 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/Headline/HeadlineContent.d.ts +1 -0
- package/dist/components/InvestmentInfo/InvestmentInfo.js +4 -4
- package/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
- package/dist/components/InvestmentInfo/InvestmentInfoContent.d.ts +1 -2
- package/dist/components/MobileAppTile/MobileAppTile.js +1 -1
- package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/dist/components/OfficeMap/OfficeMap.js +3 -3
- package/dist/components/OfficeMap/OfficeMap.js.map +1 -1
- package/dist/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -1
- package/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlock.js +2 -1
- package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
- package/dist/components/ProductBlock/renderBackwardButton.d.ts +2 -2
- package/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/dist/components/Tabs/renderLinkTab.js +1 -1
- package/dist/components/Tabs/renderLinkTab.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableContent.d.ts +1 -1
- package/dist/components/Tile/Tile.js +3 -2
- package/dist/components/Tile/Tile.js.map +1 -1
- package/dist/components/Tile/TileContent.d.ts +2 -1
- package/dist/icons/IconName.d.ts +4 -2
- package/dist/icons/IconName.js +2 -0
- package/dist/icons/IconName.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/ui-kit/BlockWrapper.js +2 -2
- package/dist/ui-kit/BlockWrapper.js.map +1 -1
- package/dist/ui-kit/InnerTable/InnerTableHeader.js +1 -1
- package/dist/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
- package/dist/ui-kit/IntersectionObserverTag.d.ts +1 -0
- package/dist/ui-kit/IntersectionObserverTag.js +2 -2
- package/dist/ui-kit/IntersectionObserverTag.js.map +1 -1
- package/dist/ui-kit/Tags/Tags.d.ts +6 -0
- package/dist/ui-kit/Tags/Tags.js +10 -0
- package/dist/ui-kit/Tags/Tags.js.map +1 -0
- package/dist/ui-kit/Tags/TagsContent.d.ts +6 -0
- package/dist/ui-kit/Tags/TagsContent.js +2 -0
- package/dist/ui-kit/Tags/TagsContent.js.map +1 -0
- package/lib/common.css +1 -1
- package/lib/components/Calculator/CalculatorContent.d.ts +4 -50
- package/lib/components/Catalog/Catalog.js +1 -1
- package/lib/components/Catalog/Catalog.js.map +1 -1
- package/lib/components/Catalog/CatalogCard.js +1 -1
- package/lib/components/ContactsBlock/ContactsBlock.fixture.d.ts +2 -1
- package/lib/components/ContactsBlock/ContactsBlock.js +2 -2
- package/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
- package/lib/components/ContactsBlock/ContactsBlockContent.d.ts +2 -1
- package/lib/components/ContentPage/ContentPage.fixture.d.ts +2 -2
- package/lib/components/ContentPage/ContentPage.fixture.mobile.d.ts +1 -1
- package/lib/components/ContentPage/ContentPage.page.json +35 -0
- package/lib/components/ContentPage/useContentPageData.d.ts +3 -0
- package/lib/components/ContentPage/useContentPageData.js +38 -0
- package/lib/components/ContentPage/useContentPageData.js.map +1 -0
- 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/Headline/HeadlineContent.d.ts +1 -0
- package/lib/components/InvestmentInfo/InvestmentInfo.js +4 -4
- package/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
- package/lib/components/InvestmentInfo/InvestmentInfoContent.d.ts +1 -2
- package/lib/components/MobileAppTile/MobileAppTile.js +1 -1
- package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/lib/components/OfficeMap/OfficeMap.js +3 -3
- package/lib/components/OfficeMap/OfficeMap.js.map +1 -1
- package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -1
- package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
- package/lib/components/ProductBlock/ProductBlock.js +2 -1
- package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
- package/lib/components/ProductBlock/renderBackwardButton.d.ts +2 -2
- package/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/lib/components/Tabs/renderLinkTab.js +1 -1
- package/lib/components/Tabs/renderLinkTab.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTableContent.d.ts +1 -1
- package/lib/components/Tile/Tile.fixture.d.ts +1 -0
- package/lib/components/Tile/Tile.js +3 -2
- package/lib/components/Tile/Tile.js.map +1 -1
- package/lib/components/Tile/TileContent.d.ts +2 -1
- package/lib/icons/IconName.d.ts +4 -2
- package/lib/icons/IconName.js +2 -0
- package/lib/icons/IconName.js.map +1 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib/ui-kit/BlockWrapper.js +2 -2
- package/lib/ui-kit/BlockWrapper.js.map +1 -1
- package/lib/ui-kit/InnerTable/InnerTableHeader.js +1 -1
- package/lib/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
- package/lib/ui-kit/IntersectionObserverTag.d.ts +1 -0
- package/lib/ui-kit/IntersectionObserverTag.js +2 -2
- package/lib/ui-kit/IntersectionObserverTag.js.map +1 -1
- package/lib/ui-kit/Tags/Tags.d.ts +6 -0
- package/lib/ui-kit/Tags/Tags.fixture.d.ts +3 -0
- package/lib/ui-kit/Tags/Tags.js +8 -0
- package/lib/ui-kit/Tags/Tags.js.map +1 -0
- package/lib/ui-kit/Tags/TagsContent.d.ts +6 -0
- package/lib/ui-kit/Tags/TagsContent.js +2 -0
- package/lib/ui-kit/Tags/TagsContent.js.map +1 -0
- package/mobile/bundle/bundle.umd.js +5 -5
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/Calculator/CalculatorContent.d.ts +4 -50
- package/mobile/bundle/components/ContactsBlock/ContactsBlockContent.d.ts +2 -1
- package/mobile/bundle/components/ContentPage/useContentPageData.d.ts +3 -0
- package/mobile/bundle/components/Headline/HeadlineContent.d.ts +1 -0
- package/mobile/bundle/components/InvestmentInfo/InvestmentInfoContent.d.ts +1 -2
- package/mobile/bundle/components/ProductBlock/renderBackwardButton.d.ts +2 -2
- package/mobile/bundle/components/TariffsTable/TariffsTableContent.d.ts +1 -1
- package/mobile/bundle/components/Tile/TileContent.d.ts +2 -1
- package/mobile/bundle/icons/IconName.d.ts +4 -2
- package/mobile/bundle/ui-kit/IntersectionObserverTag.d.ts +1 -0
- package/mobile/bundle/ui-kit/Tags/Tags.d.ts +6 -0
- package/mobile/bundle/ui-kit/Tags/TagsContent.d.ts +6 -0
- package/mobile/dist/components/Calculator/CalculatorContent.d.ts +4 -50
- package/mobile/dist/components/Catalog/Catalog.js +1 -1
- package/mobile/dist/components/Catalog/Catalog.js.map +1 -1
- package/mobile/dist/components/Catalog/CatalogCard.js +1 -1
- package/mobile/dist/components/ContactsBlock/ContactsBlock.js +2 -2
- package/mobile/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
- package/mobile/dist/components/ContactsBlock/ContactsBlockContent.d.ts +2 -1
- package/mobile/dist/components/ContentPage/ContentPage.page.json +35 -0
- package/mobile/dist/components/ContentPage/useContentPageData.d.ts +3 -0
- package/mobile/dist/components/ContentPage/useContentPageData.js +67 -0
- package/mobile/dist/components/ContentPage/useContentPageData.js.map +1 -0
- 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/Headline/HeadlineContent.d.ts +1 -0
- package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js +4 -4
- package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
- package/mobile/dist/components/InvestmentInfo/InvestmentInfoContent.d.ts +1 -2
- package/mobile/dist/components/OfficeMap/OfficeMap.js +3 -3
- package/mobile/dist/components/OfficeMap/OfficeMap.js.map +1 -1
- package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -1
- package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
- package/mobile/dist/components/ProductBlock/renderBackwardButton.d.ts +2 -2
- package/mobile/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/mobile/dist/components/Tabs/renderLinkTab.js +1 -1
- package/mobile/dist/components/Tabs/renderLinkTab.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableContent.d.ts +1 -1
- package/mobile/dist/components/Tile/Tile.js +3 -2
- package/mobile/dist/components/Tile/Tile.js.map +1 -1
- package/mobile/dist/components/Tile/TileContent.d.ts +2 -1
- package/mobile/dist/icons/IconName.d.ts +4 -2
- package/mobile/dist/icons/IconName.js +2 -0
- package/mobile/dist/icons/IconName.js.map +1 -1
- package/mobile/dist/index.js +1 -1
- package/mobile/dist/index.js.map +1 -1
- package/mobile/dist/ui-kit/BlockWrapper.js +2 -2
- package/mobile/dist/ui-kit/BlockWrapper.js.map +1 -1
- package/mobile/dist/ui-kit/InnerTable/InnerTableHeader.js +1 -1
- package/mobile/dist/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
- package/mobile/dist/ui-kit/IntersectionObserverTag.d.ts +1 -0
- package/mobile/dist/ui-kit/IntersectionObserverTag.js +2 -2
- package/mobile/dist/ui-kit/IntersectionObserverTag.js.map +1 -1
- package/mobile/dist/ui-kit/Tags/Tags.d.ts +6 -0
- package/mobile/dist/ui-kit/Tags/Tags.js +10 -0
- package/mobile/dist/ui-kit/Tags/Tags.js.map +1 -0
- package/mobile/dist/ui-kit/Tags/TagsContent.d.ts +6 -0
- package/mobile/dist/ui-kit/Tags/TagsContent.js +2 -0
- package/mobile/dist/ui-kit/Tags/TagsContent.js.map +1 -0
- package/mobile/lib/components/Calculator/CalculatorContent.d.ts +4 -50
- package/mobile/lib/components/Catalog/Catalog.js +1 -1
- package/mobile/lib/components/Catalog/Catalog.js.map +1 -1
- package/mobile/lib/components/Catalog/CatalogCard.js +1 -1
- package/mobile/lib/components/ContactsBlock/ContactsBlock.js +2 -2
- package/mobile/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
- package/mobile/lib/components/ContactsBlock/ContactsBlockContent.d.ts +2 -1
- package/mobile/lib/components/ContentPage/ContentPage.page.json +35 -0
- package/mobile/lib/components/ContentPage/useContentPageData.d.ts +3 -0
- package/mobile/lib/components/ContentPage/useContentPageData.js +38 -0
- package/mobile/lib/components/ContentPage/useContentPageData.js.map +1 -0
- 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/Headline/HeadlineContent.d.ts +1 -0
- package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js +4 -4
- package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
- package/mobile/lib/components/InvestmentInfo/InvestmentInfoContent.d.ts +1 -2
- package/mobile/lib/components/OfficeMap/OfficeMap.js +3 -3
- package/mobile/lib/components/OfficeMap/OfficeMap.js.map +1 -1
- package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -1
- package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
- package/mobile/lib/components/ProductBlock/renderBackwardButton.d.ts +2 -2
- package/mobile/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/mobile/lib/components/Tabs/renderLinkTab.js +1 -1
- package/mobile/lib/components/Tabs/renderLinkTab.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableContent.d.ts +1 -1
- package/mobile/lib/components/Tile/Tile.js +3 -2
- package/mobile/lib/components/Tile/Tile.js.map +1 -1
- package/mobile/lib/components/Tile/TileContent.d.ts +2 -1
- package/mobile/lib/icons/IconName.d.ts +4 -2
- package/mobile/lib/icons/IconName.js +2 -0
- package/mobile/lib/icons/IconName.js.map +1 -1
- package/mobile/lib/index.js +1 -1
- package/mobile/lib/index.js.map +1 -1
- package/mobile/lib/ui-kit/BlockWrapper.js +2 -2
- package/mobile/lib/ui-kit/BlockWrapper.js.map +1 -1
- package/mobile/lib/ui-kit/InnerTable/InnerTableHeader.js +1 -1
- package/mobile/lib/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
- package/mobile/lib/ui-kit/IntersectionObserverTag.d.ts +1 -0
- package/mobile/lib/ui-kit/IntersectionObserverTag.js +2 -2
- package/mobile/lib/ui-kit/IntersectionObserverTag.js.map +1 -1
- package/mobile/lib/ui-kit/Tags/Tags.d.ts +6 -0
- package/mobile/lib/ui-kit/Tags/Tags.js +8 -0
- package/mobile/lib/ui-kit/Tags/Tags.js.map +1 -0
- package/mobile/lib/ui-kit/Tags/TagsContent.d.ts +6 -0
- package/mobile/lib/ui-kit/Tags/TagsContent.js +2 -0
- package/mobile/lib/ui-kit/Tags/TagsContent.js.map +1 -0
- package/mobile/src/components/Accordion/Accordion.example.json +52 -2
- package/mobile/src/components/AccordionItem/AccordionItem.example.json +23 -5
- package/mobile/src/components/BenefitsBlock/BenefitsBlock.example.json +32 -30
- package/mobile/src/components/Bonus/Bonus.example.json +10 -8
- package/mobile/src/components/Bonus/Bonus.ui.json +10 -0
- package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.example.json +94 -91
- package/mobile/src/components/Calculator/Calculator.example.json +21 -19
- package/mobile/src/components/Calculator/CalculatorContent.ts +2 -53
- package/mobile/src/components/CardTransfer/CardTransfer.example.json +10 -8
- package/mobile/src/components/Catalog/Catalog.example.json +51 -49
- package/mobile/src/components/Catalog/Catalog.tsx +1 -1
- package/mobile/src/components/Catalog/CatalogCard.tsx +1 -1
- package/mobile/src/components/ComparisonTable/ComparisonTable.example.json +79 -77
- package/mobile/src/components/ContactsBlock/ContactsBlock.example.json +45 -43
- package/mobile/src/components/ContactsBlock/ContactsBlock.tsx +2 -2
- package/mobile/src/components/ContactsBlock/ContactsBlockContent.ts +2 -1
- package/mobile/src/components/ContentPage/ContentPage.page.json +3 -2318
- package/mobile/src/components/ContentPage/useContentPageData.ts +49 -0
- package/mobile/src/components/ErrorBlock/ErrorBlock.example.json +12 -10
- package/mobile/src/components/ErrorBlock/ErrorBlock.tsx +1 -4
- package/mobile/src/components/ExchangeRateTile/CurrentLocation.tsx +1 -1
- package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.example.json +7 -5
- package/mobile/src/components/Gallery/Gallery.example.json +62 -60
- package/mobile/src/components/Gallery/Gallery.ui.json +11 -0
- package/mobile/src/components/GracePeriod/GracePeriod.example.json +61 -74
- package/mobile/src/components/Header/Header.example.json +6 -4
- package/mobile/src/components/Headline/Headline.example.json +15 -13
- package/mobile/src/components/Headline/HeadlineContent.ts +1 -0
- package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.example.json +76 -74
- package/mobile/src/components/InvestmentInfo/InvestmentInfo.example.json +48 -45
- package/mobile/src/components/InvestmentInfo/InvestmentInfo.tsx +14 -10
- package/mobile/src/components/InvestmentInfo/InvestmentInfo.ui.json +5 -12
- package/mobile/src/components/InvestmentInfo/InvestmentInfoContent.ts +1 -2
- package/mobile/src/components/LinkDocs/LinkDocs.example.json +31 -29
- package/mobile/src/components/LinkList/LinkList.example.json +21 -19
- package/mobile/src/components/MiniGallery/MiniGallery.example.json +51 -49
- package/mobile/src/components/MiniGallery/MiniGallery.ui.json +19 -1
- package/mobile/src/components/MobileAppTile/MobileAppTile.example.json +33 -30
- package/mobile/src/components/OfficeMap/OfficeMap.tsx +3 -3
- package/mobile/src/components/OfficeMap/OfficeMap.ui.json +1 -0
- package/mobile/src/components/OfficeServicesBlock/OfficeServicesBlock.example.json +47 -45
- package/mobile/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +3 -1
- package/mobile/src/components/OtherProducts/OtherProducts.example.json +28 -1
- package/mobile/src/components/OtherProductsItem/OtherProductsItem.example.json +20 -2
- package/mobile/src/components/PictureText/PictureText.example.json +28 -26
- package/mobile/src/components/ProductBlock/ProductBlock.example.json +37 -35
- package/mobile/src/components/ProductBlock/renderBackwardButton.tsx +3 -3
- package/mobile/src/components/ProductGallery/ProductGallery.example.json +66 -64
- package/mobile/src/components/ProductTile/ProductTile.example.json +31 -29
- package/mobile/src/components/PromoTile/PromoTile.example.json +14 -12
- package/mobile/src/components/Recommendation/Recommendation.example.json +52 -50
- package/mobile/src/components/StepsBlock/StepsBlock.example.json +54 -52
- package/mobile/src/components/Tabs/Tabs.example.json +20 -18
- package/mobile/src/components/Tabs/renderLinkTab.tsx +1 -0
- package/mobile/src/components/TariffsTable/TariffsTable.example.json +91 -89
- package/mobile/src/components/TariffsTable/TariffsTableContent.ts +1 -1
- package/mobile/src/components/TextBlock/TextBlock.example.json +14 -12
- package/mobile/src/components/Tile/Tile.example.json +21 -19
- package/mobile/src/components/Tile/Tile.tsx +3 -0
- package/mobile/src/components/Tile/TileContent.ts +3 -1
- package/mobile/src/icons/DocumentText2Icon.svg +8 -0
- package/mobile/src/icons/IconName.ts +4 -4
- package/mobile/src/index.ts +1 -1
- package/mobile/src/ui-kit/BlockWrapper.tsx +5 -2
- package/mobile/src/ui-kit/InnerTable/InnerTableHeader.tsx +5 -5
- package/mobile/src/ui-kit/IntersectionObserverTag.tsx +3 -1
- package/mobile/src/ui-kit/Tags/Tags.tsx +26 -0
- package/mobile/src/ui-kit/Tags/TagsContent.ts +6 -0
- package/package.json +22 -2
- package/src/components/Accordion/Accordion.example.json +52 -2
- package/src/components/AccordionItem/AccordionItem.example.json +23 -5
- package/src/components/BenefitsBlock/BenefitsBlock.example.json +32 -30
- package/src/components/Bonus/Bonus.example.json +10 -8
- package/src/components/Bonus/Bonus.ui.json +10 -0
- package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.example.json +94 -91
- package/src/components/Calculator/Calculator.example.json +21 -19
- package/src/components/Calculator/CalculatorContent.ts +2 -53
- package/src/components/CardTransfer/CardTransfer.example.json +10 -8
- package/src/components/Catalog/Catalog.example.json +51 -49
- package/src/components/Catalog/Catalog.tsx +1 -1
- package/src/components/Catalog/CatalogCard.tsx +1 -1
- package/src/components/ComparisonTable/ComparisonTable.example.json +79 -77
- package/src/components/ContactsBlock/ContactsBlock.example.json +45 -43
- package/src/components/ContactsBlock/ContactsBlock.fixture.tsx +46 -39
- package/src/components/ContactsBlock/ContactsBlock.tsx +2 -2
- package/src/components/ContactsBlock/ContactsBlockContent.ts +2 -1
- package/src/components/ContentPage/ContentPage.fixture.mobile.tsx +13 -10
- package/src/components/ContentPage/ContentPage.fixture.tsx +24 -16
- package/src/components/ContentPage/ContentPage.page.json +3 -2318
- package/src/components/ContentPage/useContentPageData.ts +49 -0
- package/src/components/ErrorBlock/ErrorBlock.example.json +12 -10
- package/src/components/ErrorBlock/ErrorBlock.tsx +1 -4
- package/src/components/ExchangeRateTile/CurrentLocation.tsx +1 -1
- package/src/components/ExchangeRateTile/ExchangeRateTile.example.json +7 -5
- package/src/components/Gallery/Gallery.example.json +62 -60
- package/src/components/Gallery/Gallery.ui.json +11 -0
- package/src/components/GracePeriod/GracePeriod.example.json +61 -74
- package/src/components/Header/Header.example.json +6 -4
- package/src/components/Headline/Headline.example.json +15 -13
- package/src/components/Headline/HeadlineContent.ts +1 -0
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.example.json +76 -74
- package/src/components/InvestmentInfo/InvestmentInfo.example.json +48 -45
- package/src/components/InvestmentInfo/InvestmentInfo.fixture.tsx +3 -4
- package/src/components/InvestmentInfo/InvestmentInfo.tsx +14 -10
- package/src/components/InvestmentInfo/InvestmentInfo.ui.json +5 -12
- package/src/components/InvestmentInfo/InvestmentInfoContent.ts +1 -2
- package/src/components/LinkDocs/LinkDocs.example.json +31 -29
- package/src/components/LinkList/LinkList.example.json +21 -19
- package/src/components/MiniGallery/MiniGallery.example.json +51 -49
- package/src/components/MiniGallery/MiniGallery.ui.json +19 -1
- package/src/components/MobileAppTile/MobileAppTile.example.json +33 -30
- package/src/components/MobileAppTile/MobileAppTile.tsx +1 -1
- package/src/components/OfficeMap/OfficeMap.tsx +3 -3
- package/src/components/OfficeMap/OfficeMap.ui.json +1 -0
- package/src/components/OfficeServicesBlock/OfficeServicesBlock.example.json +47 -45
- package/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +3 -1
- package/src/components/OtherProducts/OtherProducts.example.json +28 -1
- package/src/components/OtherProductsItem/OtherProductsItem.example.json +20 -2
- package/src/components/PictureText/PictureText.example.json +28 -26
- package/src/components/ProductBlock/ProductBlock.example.json +37 -35
- package/src/components/ProductBlock/ProductBlock.tsx +2 -1
- package/src/components/ProductBlock/renderBackwardButton.tsx +3 -3
- package/src/components/ProductGallery/ProductGallery.example.json +66 -64
- package/src/components/ProductTile/ProductTile.example.json +31 -29
- package/src/components/PromoTile/PromoTile.example.json +14 -12
- package/src/components/Recommendation/Recommendation.example.json +52 -50
- package/src/components/StepsBlock/StepsBlock.example.json +54 -52
- package/src/components/Tabs/Tabs.example.json +20 -18
- package/src/components/Tabs/renderLinkTab.tsx +1 -0
- package/src/components/TariffsTable/TariffsTable.example.json +91 -89
- package/src/components/TariffsTable/TariffsTableContent.ts +1 -1
- package/src/components/TextBlock/TextBlock.example.json +14 -12
- package/src/components/Tile/Tile.example.json +21 -19
- package/src/components/Tile/Tile.fixture.tsx +7 -0
- package/src/components/Tile/Tile.tsx +3 -0
- package/src/components/Tile/TileContent.ts +3 -1
- package/src/icons/DocumentText2Icon.svg +8 -0
- package/src/icons/IconName.ts +4 -1
- package/src/index.ts +1 -1
- package/src/ui-kit/BlockWrapper.tsx +5 -2
- package/src/ui-kit/InnerTable/InnerTableHeader.tsx +5 -5
- package/src/ui-kit/IntersectionObserverTag.tsx +3 -1
- package/src/ui-kit/Tags/Tags.fixture.tsx +9 -0
- package/src/ui-kit/Tags/Tags.tsx +26 -0
- package/src/ui-kit/Tags/TagsContent.ts +6 -0
- package/tailwind.config.cjs +2 -1
|
@@ -1,22 +1,24 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
"
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
"
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
2
|
+
"content": {
|
|
3
|
+
"calculatorTabs": [
|
|
4
|
+
{
|
|
5
|
+
"nav": {
|
|
6
|
+
"title": "Вкладка 1",
|
|
7
|
+
"description": "Описание вкладки 1",
|
|
8
|
+
"icon": { "icon": "CalendarIcon" }
|
|
9
|
+
},
|
|
10
|
+
"calculatorBlock": {
|
|
11
|
+
"calcType": "CreditCalculatorForm",
|
|
12
|
+
"buttons": [
|
|
13
|
+
{
|
|
14
|
+
"href": "#",
|
|
15
|
+
"text": "Кнопка 1",
|
|
16
|
+
"version": "primary"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"footnote": "Расчёт является предварительным. Точные условия будут предоставлены в отделении Банка. "
|
|
20
|
+
}
|
|
19
21
|
}
|
|
20
|
-
|
|
21
|
-
|
|
22
|
+
]
|
|
23
|
+
}
|
|
22
24
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { EmptyOption } from '../../model/EmptyOptionType';
|
|
2
|
+
import type { Footnote } from '../../model/Footnote';
|
|
3
|
+
import type { HeadlineCommonProps, TitleProps } from '../../model/HeadlineType';
|
|
2
4
|
import type { IconProps } from '../../model/Picture';
|
|
3
5
|
import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
|
|
4
|
-
import type { HeadlineCommonProps, TitleProps } from '../../model/HeadlineType';
|
|
5
|
-
import type { Footnote } from '../../model/Footnote';
|
|
6
6
|
|
|
7
7
|
export type CommonCalculatorProps = Footnote & {
|
|
8
8
|
/** @title Кнопки */
|
|
@@ -11,32 +11,6 @@ export type CommonCalculatorProps = Footnote & {
|
|
|
11
11
|
sourceBookDir?: string;
|
|
12
12
|
};
|
|
13
13
|
|
|
14
|
-
/**
|
|
15
|
-
* TODO: данные из справочника
|
|
16
|
-
**/
|
|
17
|
-
export interface CreditCalculatorParams {
|
|
18
|
-
/** @hidden */
|
|
19
|
-
isSalaryClient?: boolean;
|
|
20
|
-
/** @hidden */
|
|
21
|
-
isStateEmployee?: boolean;
|
|
22
|
-
/** @hidden */
|
|
23
|
-
isInsurance?: boolean;
|
|
24
|
-
/** @hidden */
|
|
25
|
-
isAnnuity?: boolean;
|
|
26
|
-
/** @hidden */
|
|
27
|
-
minSum?: number;
|
|
28
|
-
/** @hidden */
|
|
29
|
-
maxSum?: number;
|
|
30
|
-
/** @hidden */
|
|
31
|
-
minMonths?: number;
|
|
32
|
-
/** @hidden */
|
|
33
|
-
maxMonths?: number;
|
|
34
|
-
/** @hidden */
|
|
35
|
-
rateWithInsurance?: number;
|
|
36
|
-
/** @hidden */
|
|
37
|
-
rateWithoutInsurance?: number;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
14
|
/**
|
|
41
15
|
* TODO: данные из справочника
|
|
42
16
|
**/
|
|
@@ -53,29 +27,6 @@ export interface DepositCalculatorParams {
|
|
|
53
27
|
rate?: number;
|
|
54
28
|
}
|
|
55
29
|
|
|
56
|
-
/**
|
|
57
|
-
* TODO: данные из справочника
|
|
58
|
-
**/
|
|
59
|
-
|
|
60
|
-
export interface BonusCalculatorParams {
|
|
61
|
-
/** @hidden */
|
|
62
|
-
bonus?: number;
|
|
63
|
-
/** @hidden */
|
|
64
|
-
minSumTravel?: number;
|
|
65
|
-
/** @hidden */
|
|
66
|
-
maxSumTravel?: number;
|
|
67
|
-
/** @hidden */
|
|
68
|
-
minSumOther?: number;
|
|
69
|
-
/** @hidden */
|
|
70
|
-
maxSumOther?: number;
|
|
71
|
-
maxBonus?: number;
|
|
72
|
-
prefMonthsNum?: number;
|
|
73
|
-
prefTravelBonusRate?: number;
|
|
74
|
-
prefRestBonusRate?: number;
|
|
75
|
-
travelBonusRate?: number;
|
|
76
|
-
restBonusRate?: number;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
30
|
/**
|
|
80
31
|
* ? Общий интерфейс для всех типов калькуляторов?
|
|
81
32
|
* ? Используется во вложенных функциях. Может быть как то разбить это и вынести отсюда?
|
|
@@ -96,7 +47,6 @@ export interface CalculatorParams {
|
|
|
96
47
|
* @default {"calcType": "CreditCalculatorForm"}
|
|
97
48
|
*/
|
|
98
49
|
export type CreditCalculatorParamsDef = TitleProps &
|
|
99
|
-
CreditCalculatorParams &
|
|
100
50
|
CommonCalculatorProps & {
|
|
101
51
|
calcType: 'CreditCalculatorForm';
|
|
102
52
|
};
|
|
@@ -116,7 +66,6 @@ export type DepositCalculatorParamsDef = TitleProps &
|
|
|
116
66
|
* @default {"calcType": "BonusCalculatorForm"}
|
|
117
67
|
*/
|
|
118
68
|
export type BonusCalculatorParamsDef = TitleProps &
|
|
119
|
-
BonusCalculatorParams &
|
|
120
69
|
CommonCalculatorProps & {
|
|
121
70
|
calcType: 'BonusCalculatorForm';
|
|
122
71
|
};
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
"
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
2
|
+
"content": {
|
|
3
|
+
"title": "Укажите сумму перевода",
|
|
4
|
+
"label": "Сумма перевода",
|
|
5
|
+
"placeholder": "1500",
|
|
6
|
+
"button": {
|
|
7
|
+
"href": "",
|
|
8
|
+
"text": "Далее",
|
|
9
|
+
"target": "_blank",
|
|
10
|
+
"version": "primary"
|
|
11
|
+
}
|
|
10
12
|
}
|
|
11
13
|
}
|
|
@@ -1,57 +1,59 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
"
|
|
10
|
-
|
|
11
|
-
"
|
|
12
|
-
|
|
2
|
+
"content": {
|
|
3
|
+
"title": "Каталог",
|
|
4
|
+
"description": "Описание",
|
|
5
|
+
"cards": [
|
|
6
|
+
{
|
|
7
|
+
"title": "Заголовок карточки 1",
|
|
8
|
+
"description": "Описание карточки",
|
|
9
|
+
"image": {
|
|
10
|
+
"format": "webp",
|
|
11
|
+
"size": {
|
|
12
|
+
"width": 230,
|
|
13
|
+
"height": 230
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"button": {
|
|
17
|
+
"href": "",
|
|
18
|
+
"text": "Подробнее",
|
|
19
|
+
"target": "_self",
|
|
20
|
+
"version": "primary"
|
|
13
21
|
}
|
|
14
22
|
},
|
|
15
|
-
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
"
|
|
29
|
-
"
|
|
23
|
+
{
|
|
24
|
+
"title": "Заголовок карточки 2",
|
|
25
|
+
"description": "Описание карточки",
|
|
26
|
+
"image": {
|
|
27
|
+
"format": "webp",
|
|
28
|
+
"size": {
|
|
29
|
+
"width": 230,
|
|
30
|
+
"height": 230
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"button": {
|
|
34
|
+
"href": "",
|
|
35
|
+
"text": "Подробнее",
|
|
36
|
+
"target": "_self",
|
|
37
|
+
"version": "primary"
|
|
30
38
|
}
|
|
31
39
|
},
|
|
32
|
-
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
"
|
|
46
|
-
"
|
|
40
|
+
{
|
|
41
|
+
"title": "Заголовок карточки 3",
|
|
42
|
+
"description": "Описание карточки",
|
|
43
|
+
"image": {
|
|
44
|
+
"format": "webp",
|
|
45
|
+
"size": {
|
|
46
|
+
"width": 230,
|
|
47
|
+
"height": 230
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"button": {
|
|
51
|
+
"href": "",
|
|
52
|
+
"text": "Подробнее",
|
|
53
|
+
"target": "_self",
|
|
54
|
+
"version": "primary"
|
|
47
55
|
}
|
|
48
|
-
},
|
|
49
|
-
"button": {
|
|
50
|
-
"href": "",
|
|
51
|
-
"text": "Подробнее",
|
|
52
|
-
"target": "_self",
|
|
53
|
-
"version": "primary"
|
|
54
56
|
}
|
|
55
|
-
|
|
56
|
-
|
|
57
|
+
]
|
|
58
|
+
}
|
|
57
59
|
}
|
|
@@ -21,7 +21,7 @@ export const Catalog = JSX<CatalogProps>(
|
|
|
21
21
|
return (
|
|
22
22
|
<BlockWrapper
|
|
23
23
|
context={context}
|
|
24
|
-
className={`bg-white relative font-sans p-
|
|
24
|
+
className={`bg-white relative font-sans p-[50px] overflow-hidden text-center ${className}`}
|
|
25
25
|
{...rest}
|
|
26
26
|
>
|
|
27
27
|
<Headline
|
|
@@ -29,7 +29,7 @@ export const CatalogCard = JSX<CatalogCardProps>(
|
|
|
29
29
|
) : null}
|
|
30
30
|
{description ? <div className="text-m-light text-left mb-4">{description}</div> : null}
|
|
31
31
|
{colors?.length ? (
|
|
32
|
-
<div className="flex mb-4 text-
|
|
32
|
+
<div className="flex mb-4 text-s-light text-secondary-text">
|
|
33
33
|
<div className="mr-1.5">Доступные цвета: </div>
|
|
34
34
|
{colors.map(renderColorOption)}
|
|
35
35
|
</div>
|
|
@@ -1,85 +1,87 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
{
|
|
9
|
-
"title": "Параметр 2"
|
|
10
|
-
},
|
|
11
|
-
{
|
|
12
|
-
"title": "Параметр 3"
|
|
13
|
-
}
|
|
14
|
-
],
|
|
15
|
-
"columns": [
|
|
16
|
-
{
|
|
17
|
-
"header": {
|
|
18
|
-
"title": "Продукт 1",
|
|
19
|
-
"image": {
|
|
20
|
-
"format": "webp",
|
|
21
|
-
"size": {
|
|
22
|
-
"width": 100,
|
|
23
|
-
"height": 63
|
|
24
|
-
}
|
|
25
|
-
}
|
|
2
|
+
"content": {
|
|
3
|
+
"title": "Сравнительная таблица",
|
|
4
|
+
"orientation": "horizontal",
|
|
5
|
+
"rowHeaders": [
|
|
6
|
+
{
|
|
7
|
+
"title": "Параметр 1"
|
|
26
8
|
},
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
{
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
{
|
|
45
|
-
"label": "Ячейка 3"
|
|
9
|
+
{
|
|
10
|
+
"title": "Параметр 2"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"title": "Параметр 3"
|
|
14
|
+
}
|
|
15
|
+
],
|
|
16
|
+
"columns": [
|
|
17
|
+
{
|
|
18
|
+
"header": {
|
|
19
|
+
"title": "Продукт 1",
|
|
20
|
+
"image": {
|
|
21
|
+
"format": "webp",
|
|
22
|
+
"size": {
|
|
23
|
+
"width": 100,
|
|
24
|
+
"height": 63
|
|
25
|
+
}
|
|
46
26
|
}
|
|
27
|
+
},
|
|
28
|
+
"data": [
|
|
29
|
+
[
|
|
30
|
+
{
|
|
31
|
+
"label": "Ячейка 1"
|
|
32
|
+
}
|
|
33
|
+
],
|
|
34
|
+
[
|
|
35
|
+
{
|
|
36
|
+
"label": "Ячейка 2-1",
|
|
37
|
+
"description": "Описание для ячейки 2-1"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"label": "Ячейка 2-2",
|
|
41
|
+
"description": "Описание для ячейки 2-2"
|
|
42
|
+
}
|
|
43
|
+
],
|
|
44
|
+
[
|
|
45
|
+
{
|
|
46
|
+
"label": "Ячейка 3"
|
|
47
|
+
}
|
|
48
|
+
]
|
|
47
49
|
]
|
|
48
|
-
]
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
"header": {
|
|
52
|
-
"title": "Продукт 2",
|
|
53
|
-
"image": {
|
|
54
|
-
"format": "webp",
|
|
55
|
-
"size": {
|
|
56
|
-
"width": 100,
|
|
57
|
-
"height": 63
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
50
|
},
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
"description": "Описание для ячейки 2-1"
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
"label": "Ячейка 2-2",
|
|
74
|
-
"description": "Описание для ячейки 2-2"
|
|
75
|
-
}
|
|
76
|
-
],
|
|
77
|
-
[
|
|
78
|
-
{
|
|
79
|
-
"label": "Ячейка 3"
|
|
51
|
+
{
|
|
52
|
+
"header": {
|
|
53
|
+
"title": "Продукт 2",
|
|
54
|
+
"image": {
|
|
55
|
+
"format": "webp",
|
|
56
|
+
"size": {
|
|
57
|
+
"width": 100,
|
|
58
|
+
"height": 63
|
|
59
|
+
}
|
|
80
60
|
}
|
|
61
|
+
},
|
|
62
|
+
"data": [
|
|
63
|
+
[
|
|
64
|
+
{
|
|
65
|
+
"label": "Ячейка 1"
|
|
66
|
+
}
|
|
67
|
+
],
|
|
68
|
+
[
|
|
69
|
+
{
|
|
70
|
+
"label": "Ячейка 2-1",
|
|
71
|
+
"description": "Описание для ячейки 2-1"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"label": "Ячейка 2-2",
|
|
75
|
+
"description": "Описание для ячейки 2-2"
|
|
76
|
+
}
|
|
77
|
+
],
|
|
78
|
+
[
|
|
79
|
+
{
|
|
80
|
+
"label": "Ячейка 3"
|
|
81
|
+
}
|
|
82
|
+
]
|
|
81
83
|
]
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
84
|
+
}
|
|
85
|
+
]
|
|
86
|
+
}
|
|
85
87
|
}
|
|
@@ -1,51 +1,53 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
"title": "Заголовок 1",
|
|
6
|
-
"description": "Описание 1",
|
|
7
|
-
"button": {
|
|
8
|
-
"href": "#",
|
|
9
|
-
"text": "Кнопка 1",
|
|
10
|
-
"target": "_blank",
|
|
11
|
-
"version": "secondary"
|
|
12
|
-
}
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
"title": "Заголовок 2",
|
|
16
|
-
"description": "Описание 2",
|
|
17
|
-
"button": {
|
|
18
|
-
"href": "#",
|
|
19
|
-
"text": "Кнопка 2",
|
|
20
|
-
"target": "_blank",
|
|
21
|
-
"version": "secondary"
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
],
|
|
25
|
-
"contacts": [
|
|
26
|
-
[
|
|
2
|
+
"content": {
|
|
3
|
+
"version": "secondary",
|
|
4
|
+
"info": [
|
|
27
5
|
{
|
|
28
|
-
"title": "Заголовок
|
|
29
|
-
"description": "Описание
|
|
30
|
-
"
|
|
6
|
+
"title": "Заголовок 1",
|
|
7
|
+
"description": "Описание 1",
|
|
8
|
+
"button": {
|
|
9
|
+
"href": "#",
|
|
10
|
+
"text": "Кнопка 1",
|
|
11
|
+
"target": "_blank",
|
|
12
|
+
"version": "secondary"
|
|
13
|
+
}
|
|
31
14
|
},
|
|
32
15
|
{
|
|
33
|
-
"title": "Заголовок
|
|
34
|
-
"description": "Описание
|
|
35
|
-
"
|
|
16
|
+
"title": "Заголовок 2",
|
|
17
|
+
"description": "Описание 2",
|
|
18
|
+
"button": {
|
|
19
|
+
"href": "#",
|
|
20
|
+
"text": "Кнопка 2",
|
|
21
|
+
"target": "_blank",
|
|
22
|
+
"version": "secondary"
|
|
23
|
+
}
|
|
36
24
|
}
|
|
37
25
|
],
|
|
38
|
-
[
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
26
|
+
"contacts": [
|
|
27
|
+
[
|
|
28
|
+
{
|
|
29
|
+
"title": "Заголовок 3",
|
|
30
|
+
"description": "Описание 3",
|
|
31
|
+
"additionalDescription": "Доп описание 3"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"title": "Заголовок 4",
|
|
35
|
+
"description": "Описание 4",
|
|
36
|
+
"additionalDescription": "Доп описание 4"
|
|
37
|
+
}
|
|
38
|
+
],
|
|
39
|
+
[
|
|
40
|
+
{
|
|
41
|
+
"title": "Заголовок 5",
|
|
42
|
+
"description": "Описание 5",
|
|
43
|
+
"additionalDescription": "Доп описание 5"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"title": "Заголовок 6",
|
|
47
|
+
"description": "Описание 6",
|
|
48
|
+
"additionalDescription": "Доп описание 6"
|
|
49
|
+
}
|
|
50
|
+
]
|
|
49
51
|
]
|
|
50
|
-
|
|
52
|
+
}
|
|
51
53
|
}
|
|
@@ -9,48 +9,55 @@ const button: ButtonProps = {
|
|
|
9
9
|
version: 'secondary',
|
|
10
10
|
};
|
|
11
11
|
|
|
12
|
+
const info = [
|
|
13
|
+
{
|
|
14
|
+
title: 'Телеграм-канал РСХБ Инвестиции',
|
|
15
|
+
description:
|
|
16
|
+
'Всегда вовремя: главные новости, инвестиционные идеи, анонсы размещения облигаций',
|
|
17
|
+
button,
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
title: 'Подписка на аналитику',
|
|
21
|
+
description: 'E-mail рассылка: главное за неделю',
|
|
22
|
+
button,
|
|
23
|
+
},
|
|
24
|
+
];
|
|
25
|
+
const contacts = [
|
|
26
|
+
[
|
|
27
|
+
{
|
|
28
|
+
title: '8 (800) 100-40-40',
|
|
29
|
+
description: 'Для консультаций',
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
title: '8 (800) 100-40-60',
|
|
33
|
+
description: 'Для подачи торговых поручений',
|
|
34
|
+
additionalDescription: 'Потребуется назвать уникальный код клиента и кодовое слово',
|
|
35
|
+
},
|
|
36
|
+
],
|
|
37
|
+
[
|
|
38
|
+
{
|
|
39
|
+
title: 'invest@rshb.ru',
|
|
40
|
+
description: 'По брокерскому обслуживанию',
|
|
41
|
+
additionalDescription: 'Восстановление логина и номера соглашения',
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
title: 'broker@rshb.ru',
|
|
45
|
+
description: 'По брокерскому обслуживанию',
|
|
46
|
+
additionalDescription: 'Получение расчета финансового результата и справки 2-НДФЛ',
|
|
47
|
+
},
|
|
48
|
+
],
|
|
49
|
+
];
|
|
50
|
+
|
|
12
51
|
export default {
|
|
13
|
-
|
|
52
|
+
secondary: (
|
|
53
|
+
<ContactsBlock className="col-span-12" info={info} contacts={contacts} context={context} />
|
|
54
|
+
),
|
|
55
|
+
primary: (
|
|
14
56
|
<ContactsBlock
|
|
15
57
|
className="col-span-12"
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
description:
|
|
20
|
-
'Всегда вовремя: главные новости, инвестиционные идеи, анонсы размещения облигаций',
|
|
21
|
-
button,
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
title: 'Подписка на аналитику',
|
|
25
|
-
description: 'E-mail рассылка: главное за неделю',
|
|
26
|
-
button,
|
|
27
|
-
},
|
|
28
|
-
]}
|
|
29
|
-
contacts={[
|
|
30
|
-
[
|
|
31
|
-
{
|
|
32
|
-
title: '8 (800) 100-40-40',
|
|
33
|
-
description: 'Для консультаций',
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
title: '8 (800) 100-40-60',
|
|
37
|
-
description: 'Для подачи торговых поручений',
|
|
38
|
-
additionalDescription: 'Потребуется назвать уникальный код клиента и кодовое слово',
|
|
39
|
-
},
|
|
40
|
-
],
|
|
41
|
-
[
|
|
42
|
-
{
|
|
43
|
-
title: 'invest@rshb.ru',
|
|
44
|
-
description: 'По брокерскому обслуживанию',
|
|
45
|
-
additionalDescription: 'Восстановление логина и номера соглашения',
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
title: 'broker@rshb.ru',
|
|
49
|
-
description: 'По брокерскому обслуживанию',
|
|
50
|
-
additionalDescription: 'Получение расчета финансового результата и справки 2-НДФЛ',
|
|
51
|
-
},
|
|
52
|
-
],
|
|
53
|
-
]}
|
|
58
|
+
version="primary"
|
|
59
|
+
info={info}
|
|
60
|
+
contacts={contacts}
|
|
54
61
|
context={context}
|
|
55
62
|
/>
|
|
56
63
|
),
|
|
@@ -19,11 +19,11 @@ const contactsBlockStyleMap = {
|
|
|
19
19
|
};
|
|
20
20
|
|
|
21
21
|
export const ContactsBlock = JSX<ContactsBlockProps>(
|
|
22
|
-
({ className = '', contacts, context, info,
|
|
22
|
+
({ className = '', contacts, context, info, version = 'secondary', ...rest }) => {
|
|
23
23
|
return (
|
|
24
24
|
<BlockWrapper
|
|
25
25
|
context={context}
|
|
26
|
-
className={`${contactsBlockStyleMap[
|
|
26
|
+
className={`${contactsBlockStyleMap[version]} flex p-12 ${className}`}
|
|
27
27
|
{...rest}
|
|
28
28
|
>
|
|
29
29
|
{info ? renderInfo(info) : null}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { BlockVersion } from '../../model/BlockVersion';
|
|
1
2
|
import type { HeadlineCommonProps } from '../../model/HeadlineType';
|
|
2
3
|
import type { ButtonProps } from '../../ui-kit/Button/ButtonProps';
|
|
3
4
|
|
|
@@ -15,7 +16,7 @@ export interface ContactsBlockContent {
|
|
|
15
16
|
* @maxItems 2
|
|
16
17
|
* */
|
|
17
18
|
contacts?: ContactItemProps[][];
|
|
18
|
-
|
|
19
|
+
version?: BlockVersion;
|
|
19
20
|
}
|
|
20
21
|
|
|
21
22
|
/**
|