@redneckz/wildless-cms-uni-blocks 0.5.5 → 0.5.6
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 +149 -157
- package/bundle/bundle.umd.min.js +1 -1
- package/cosmos-static/icons/ArrowDownIcon.svg +1 -1
- package/cosmos-static/icons/ArrowUpIcon.svg +1 -1
- package/cosmos-static/icons/BuildingIcon.svg +1 -0
- package/cosmos-static/icons/Car2Icon.svg +1 -0
- package/cosmos-static/icons/DocDownloadIcon.svg +1 -1
- package/cosmos-static/icons/DoneIcon.svg +1 -1
- package/cosmos-static/icons/DoneSimpleIcon.svg +1 -0
- package/cosmos-static/icons/GpsIcon.svg +1 -1
- package/cosmos-static/icons/MoneysIcon.svg +1 -0
- package/cosmos-static/icons/StrongBoxIcon.svg +1 -0
- package/cosmos-static/icons/UserSquareIcon.svg +1 -0
- package/dist/ProjectSettings.d.ts +2 -0
- package/dist/ProjectSettings.js +3 -0
- package/dist/ProjectSettings.js.map +1 -1
- package/dist/components/Accordion/AccordionContent.d.ts +4 -9
- package/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +12 -19
- package/dist/components/BlockContent.d.ts +2 -3
- package/dist/components/Blocks.d.ts +0 -1
- package/dist/components/Blocks.js +1 -3
- package/dist/components/Blocks.js.map +1 -1
- package/dist/components/Bonus/BonusContent.d.ts +6 -9
- package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +3 -5
- package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/dist/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +5 -11
- package/dist/components/Calculator/BonusCalculatorForm.js +3 -2
- package/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
- package/dist/components/Calculator/CalculatorContent.d.ts +7 -40
- package/dist/components/Calculator/CalculatorValueBlock.js +1 -1
- package/dist/components/Calculator/CreditCalculatorForm.js +4 -3
- package/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/dist/components/Calculator/DepositCalculatorForm.js +21 -2
- package/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
- package/dist/components/Calculator/EmbeddableCalcBlocks.d.ts +1 -3
- package/dist/components/Calculator/EmbeddableCalcBlocks.js +0 -2
- package/dist/components/Calculator/EmbeddableCalcBlocks.js.map +1 -1
- package/dist/components/Calculator/renderFootnote.d.ts +2 -0
- package/dist/components/Calculator/renderFootnote.js +6 -0
- package/dist/components/Calculator/renderFootnote.js.map +1 -0
- package/dist/components/CardTransfer/CardTransferContent.d.ts +3 -6
- package/dist/components/Catalog/CatalogCard.js.map +1 -1
- package/dist/components/Catalog/CatalogContent.d.ts +2 -5
- package/dist/components/ComparisonTable/ComparisonTableContent.d.ts +9 -43
- package/dist/components/ComparisonTable/TableColumn.d.ts +8 -1
- package/dist/components/ComparisonTable/TableColumn.js.map +1 -1
- package/dist/components/ComparisonTable/TableRow.d.ts +5 -1
- package/dist/components/ComparisonTable/TableRow.js.map +1 -1
- package/dist/components/ContentPage/computeAPIFallback.d.ts +5 -0
- package/dist/components/ContentPage/computeAPIFallback.js +68 -0
- package/dist/components/ContentPage/computeAPIFallback.js.map +1 -0
- package/dist/components/ErrorBlock/ErrorBlockContent.d.ts +17 -4
- package/dist/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +3 -4
- package/dist/components/ExchangeRateTile/renderInput.js +4 -3
- package/dist/components/ExchangeRateTile/renderInput.js.map +1 -1
- package/dist/components/Footer/Footer.js +3 -2
- package/dist/components/Footer/Footer.js.map +1 -1
- package/dist/components/Footer/Footer.mobile.js +3 -2
- package/dist/components/Footer/Footer.mobile.js.map +1 -1
- package/dist/components/Footer/FooterContent.d.ts +5 -9
- 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/Sitemap.d.ts +2 -0
- package/dist/components/Footer/Sitemap.js +2 -2
- package/dist/components/Footer/Sitemap.js.map +1 -1
- package/dist/components/Gallery/GalleryContent.d.ts +16 -19
- package/dist/components/GracePeriod/GracePeriodContent.d.ts +10 -14
- package/dist/components/Header/Header.fallback.d.ts +2 -0
- package/dist/components/Header/Header.fallback.js +12 -0
- package/dist/components/Header/Header.fallback.js.map +1 -0
- package/dist/components/Header/Header.js +4 -3
- package/dist/components/Header/Header.js.map +1 -1
- package/dist/components/Header/Header.mobile.js +3 -2
- package/dist/components/Header/Header.mobile.js.map +1 -1
- package/dist/components/Header/HeaderContent.d.ts +14 -23
- package/dist/components/Headline/HeadlineContent.d.ts +4 -3
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +8 -13
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +2 -2
- package/dist/components/MiniGallery/MiniGalleryContent.d.ts +8 -3
- package/dist/components/MobileAppTile/MobileAppTileContent.d.ts +19 -5
- package/dist/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -1
- package/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
- package/dist/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +5 -20
- package/dist/components/OtherProducts/OtherProductsContent.d.ts +3 -4
- package/dist/components/PictureText/PictureText.js +1 -1
- package/dist/components/PictureText/PictureTextContent.d.ts +20 -4
- package/dist/components/ProductBlock/ProductBlockContent.d.ts +13 -10
- package/dist/components/ProductTile/ProductTile.js +13 -8
- package/dist/components/ProductTile/ProductTile.js.map +1 -1
- package/dist/components/ProductTile/ProductTileContent.d.ts +19 -9
- package/dist/components/Recommendation/RecommendationContent.d.ts +20 -2
- package/dist/components/SafeDepositRental/SafeDepositRentalContent.d.ts +4 -4
- package/dist/components/SafeDepositRental/YandexMap.js +5 -5
- package/dist/components/SafeDepositRental/YandexMap.js.map +1 -1
- package/dist/components/StepsBlock/StepsBlockContent.d.ts +6 -25
- package/dist/components/Tabs/TabsContent.d.ts +8 -5
- package/dist/components/TariffsTable/EmbeddableCellData.mobile.d.ts +0 -3
- package/dist/components/TariffsTable/EmbeddableCellData.mobile.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableContent.d.ts +19 -36
- package/dist/components/TariffsTable/TariffsTableRow.js +2 -1
- package/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/dist/components/TextBlock/TextBlockContent.d.ts +3 -6
- package/dist/components/Tile/TileContent.d.ts +17 -2
- package/dist/icons/IconName.d.ts +15 -5
- package/dist/icons/IconName.js +13 -3
- package/dist/icons/IconName.js.map +1 -1
- package/dist/model/ButtonVersion.d.ts +1 -1
- package/dist/model/Footnote.d.ts +4 -0
- package/dist/{components/Navigation/NavigationContent.js → model/Footnote.js} +1 -1
- package/dist/model/Footnote.js.map +1 -0
- package/dist/model/HeadlineType.d.ts +4 -0
- package/dist/model/Picture.d.ts +4 -0
- package/dist/model/ProductColorVersion.d.ts +4 -0
- package/dist/model/ProductColorVersion.js +2 -0
- package/dist/model/ProductColorVersion.js.map +1 -0
- package/dist/services/sitemap/useSitemap.d.ts +2 -1
- package/dist/services/sitemap/useSitemap.js +2 -2
- package/dist/services/sitemap/useSitemap.js.map +1 -1
- package/dist/types/Fallback.d.ts +5 -0
- package/{mobile/dist/components/Navigation/NavigationContent.js → dist/types/Fallback.js} +1 -1
- package/dist/types/Fallback.js.map +1 -0
- package/dist/types.d.ts +1 -0
- package/dist/ui-kit/BenefitItem/BenefitItemProps.d.ts +3 -8
- package/dist/ui-kit/Button/ButtonProps.d.ts +3 -5
- package/dist/ui-kit/Button/ButtonSection.js +2 -1
- package/dist/ui-kit/Button/ButtonSection.js.map +1 -1
- package/dist/ui-kit/Button/buttonClassNameConstants.js +4 -3
- package/dist/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
- package/dist/ui-kit/Foldable/Foldable.js +1 -1
- package/dist/ui-kit/Foldable/Foldable.js.map +1 -1
- package/dist/ui-kit/Input/Input.js +1 -1
- package/dist/ui-kit/Input/Input.js.map +1 -1
- package/dist/ui-kit/InputRange/InputRange.js +8 -15
- package/dist/ui-kit/InputRange/InputRange.js.map +1 -1
- package/dist/ui-kit/Radio/Radio.js +1 -1
- package/dist/ui-kit/Radio/Radio.js.map +1 -1
- package/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.js +1 -1
- package/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.js.map +1 -1
- package/dist/ui-kit/SearchBar/SearchBarInner.js +1 -1
- package/dist/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
- package/dist/ui-kit/SelectCustom/SelectCustom.d.ts +13 -0
- package/dist/ui-kit/SelectCustom/SelectCustom.js +30 -0
- package/dist/ui-kit/SelectCustom/SelectCustom.js.map +1 -0
- package/lib/ProjectSettings.d.ts +2 -0
- package/lib/ProjectSettings.js +3 -0
- package/lib/ProjectSettings.js.map +1 -1
- package/lib/common.css +1 -1
- package/lib/components/Accordion/AccordionContent.d.ts +4 -9
- package/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +12 -19
- package/lib/components/BlockContent.d.ts +2 -3
- package/lib/components/Blocks.d.ts +0 -1
- package/lib/components/Blocks.js +1 -3
- package/lib/components/Blocks.js.map +1 -1
- package/lib/components/Bonus/BonusContent.d.ts +6 -9
- package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +3 -5
- package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/lib/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +5 -11
- package/lib/components/Calculator/BonusCalculatorForm.js +3 -2
- package/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
- package/lib/components/Calculator/CalculatorContent.d.ts +7 -40
- package/lib/components/Calculator/CalculatorValueBlock.js +1 -1
- package/lib/components/Calculator/CreditCalculatorForm.js +4 -3
- package/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/lib/components/Calculator/DepositCalculatorForm.js +21 -2
- package/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
- package/lib/components/Calculator/EmbeddableCalcBlocks.d.ts +1 -3
- package/lib/components/Calculator/EmbeddableCalcBlocks.js +0 -2
- package/lib/components/Calculator/EmbeddableCalcBlocks.js.map +1 -1
- package/lib/components/Calculator/renderFootnote.d.ts +2 -0
- package/lib/components/Calculator/renderFootnote.js +3 -0
- package/lib/components/Calculator/renderFootnote.js.map +1 -0
- package/lib/components/CardTransfer/CardTransferContent.d.ts +3 -6
- package/lib/components/Catalog/CatalogCard.js.map +1 -1
- package/lib/components/Catalog/CatalogContent.d.ts +2 -5
- package/lib/components/ComparisonTable/ComparisonTableContent.d.ts +9 -43
- package/lib/components/ComparisonTable/TableColumn.d.ts +8 -1
- package/lib/components/ComparisonTable/TableColumn.js.map +1 -1
- package/lib/components/ComparisonTable/TableRow.d.ts +5 -1
- package/lib/components/ComparisonTable/TableRow.js.map +1 -1
- package/lib/components/ContentPage/computeAPIFallback.d.ts +5 -0
- package/lib/components/ContentPage/computeAPIFallback.js +40 -0
- package/lib/components/ContentPage/computeAPIFallback.js.map +1 -0
- package/lib/components/ErrorBlock/ErrorBlockContent.d.ts +17 -4
- package/lib/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +3 -4
- package/lib/components/ExchangeRateTile/renderInput.js +4 -3
- package/lib/components/ExchangeRateTile/renderInput.js.map +1 -1
- package/lib/components/Footer/Footer.js +3 -2
- package/lib/components/Footer/Footer.js.map +1 -1
- package/lib/components/Footer/Footer.mobile.js +3 -2
- package/lib/components/Footer/Footer.mobile.js.map +1 -1
- package/lib/components/Footer/FooterContent.d.ts +5 -9
- 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/Sitemap.d.ts +2 -0
- package/lib/components/Footer/Sitemap.js +2 -2
- package/lib/components/Footer/Sitemap.js.map +1 -1
- package/lib/components/Gallery/GalleryContent.d.ts +16 -19
- package/lib/components/GracePeriod/GracePeriodContent.d.ts +10 -14
- package/lib/components/Header/Header.fallback.d.ts +2 -0
- package/lib/components/Header/Header.fallback.js +9 -0
- package/lib/components/Header/Header.fallback.js.map +1 -0
- package/lib/components/Header/Header.js +4 -3
- package/lib/components/Header/Header.js.map +1 -1
- package/lib/components/Header/Header.mobile.js +3 -2
- package/lib/components/Header/Header.mobile.js.map +1 -1
- package/lib/components/Header/HeaderContent.d.ts +14 -23
- package/lib/components/Headline/HeadlineContent.d.ts +4 -3
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +8 -13
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +2 -2
- package/lib/components/MiniGallery/MiniGalleryContent.d.ts +8 -3
- package/lib/components/MobileAppTile/MobileAppTileContent.d.ts +19 -5
- package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -1
- package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
- package/lib/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +5 -20
- package/lib/components/OtherProducts/OtherProductsContent.d.ts +3 -4
- package/lib/components/PictureText/PictureText.js +1 -1
- package/lib/components/PictureText/PictureTextContent.d.ts +20 -4
- package/lib/components/ProductBlock/ProductBlockContent.d.ts +13 -10
- package/lib/components/ProductTile/ProductTile.fixture.d.ts +1 -0
- package/lib/components/ProductTile/ProductTile.js +13 -8
- package/lib/components/ProductTile/ProductTile.js.map +1 -1
- package/lib/components/ProductTile/ProductTileContent.d.ts +19 -9
- package/lib/components/Recommendation/RecommendationContent.d.ts +20 -2
- package/lib/components/SafeDepositRental/SafeDepositRentalContent.d.ts +4 -4
- package/lib/components/SafeDepositRental/YandexMap.js +6 -6
- package/lib/components/SafeDepositRental/YandexMap.js.map +1 -1
- package/lib/components/StepsBlock/StepsBlockContent.d.ts +6 -25
- package/lib/components/Tabs/TabsContent.d.ts +8 -5
- package/lib/components/TariffsTable/EmbeddableCellData.mobile.d.ts +0 -3
- package/lib/components/TariffsTable/EmbeddableCellData.mobile.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTableContent.d.ts +19 -36
- package/lib/components/TariffsTable/TariffsTableRow.js +2 -1
- package/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/lib/components/TextBlock/TextBlockContent.d.ts +3 -6
- package/lib/components/Tile/TileContent.d.ts +17 -2
- package/lib/icons/IconName.d.ts +15 -5
- package/lib/icons/IconName.js +13 -3
- package/lib/icons/IconName.js.map +1 -1
- package/lib/model/ButtonVersion.d.ts +1 -1
- package/lib/model/Footnote.d.ts +4 -0
- package/lib/model/Footnote.js +2 -0
- package/lib/model/Footnote.js.map +1 -0
- package/lib/model/HeadlineType.d.ts +4 -0
- package/lib/model/Picture.d.ts +4 -0
- package/lib/model/ProductColorVersion.d.ts +4 -0
- package/lib/model/ProductColorVersion.js +2 -0
- package/lib/model/ProductColorVersion.js.map +1 -0
- package/lib/services/sitemap/useSitemap.d.ts +2 -1
- package/lib/services/sitemap/useSitemap.js +2 -2
- package/lib/services/sitemap/useSitemap.js.map +1 -1
- package/lib/types/Fallback.d.ts +5 -0
- package/lib/types/Fallback.js +2 -0
- package/lib/types/Fallback.js.map +1 -0
- package/lib/types.d.ts +1 -0
- package/lib/ui-kit/BenefitItem/BenefitItemProps.d.ts +3 -8
- package/lib/ui-kit/Button/ButtonProps.d.ts +3 -5
- package/lib/ui-kit/Button/ButtonSection.js +2 -1
- package/lib/ui-kit/Button/ButtonSection.js.map +1 -1
- package/lib/ui-kit/Button/buttonClassNameConstants.js +4 -3
- package/lib/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
- package/lib/ui-kit/Foldable/Foldable.js +1 -1
- package/lib/ui-kit/Foldable/Foldable.js.map +1 -1
- package/lib/ui-kit/Input/Input.js +1 -1
- package/lib/ui-kit/Input/Input.js.map +1 -1
- package/lib/ui-kit/InputRange/InputRange.js +8 -15
- package/lib/ui-kit/InputRange/InputRange.js.map +1 -1
- package/lib/ui-kit/Radio/Radio.js +1 -1
- package/lib/ui-kit/Radio/Radio.js.map +1 -1
- package/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.js +1 -1
- package/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.js.map +1 -1
- package/lib/ui-kit/SearchBar/SearchBarInner.js +1 -1
- package/lib/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
- package/lib/ui-kit/SelectCustom/SelectCustom.d.ts +13 -0
- package/lib/{components/Navigation/Navigation.fixture.d.ts → ui-kit/SelectCustom/SelectCustom.fixture.d.ts} +0 -0
- package/lib/ui-kit/SelectCustom/SelectCustom.js +28 -0
- package/lib/ui-kit/SelectCustom/SelectCustom.js.map +1 -0
- package/mobile/bundle/bundle.umd.js +53 -22
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/dist/ProjectSettings.d.ts +2 -0
- package/mobile/dist/ProjectSettings.js +3 -0
- package/mobile/dist/ProjectSettings.js.map +1 -1
- package/mobile/dist/components/Accordion/AccordionContent.d.ts +4 -9
- package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/mobile/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +12 -19
- package/mobile/dist/components/BlockContent.d.ts +2 -3
- package/mobile/dist/components/Bonus/BonusContent.d.ts +6 -9
- package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +3 -5
- package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +5 -11
- package/mobile/dist/components/Calculator/BonusCalculatorForm.js +3 -2
- package/mobile/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
- package/mobile/dist/components/Calculator/CalculatorContent.d.ts +7 -40
- package/mobile/dist/components/Calculator/CalculatorValueBlock.js +1 -1
- package/mobile/dist/components/Calculator/CreditCalculatorForm.js +4 -3
- package/mobile/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/mobile/dist/components/Calculator/DepositCalculatorForm.js +21 -2
- package/mobile/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
- package/mobile/dist/components/Calculator/EmbeddableCalcBlocks.d.ts +1 -3
- package/mobile/dist/components/Calculator/EmbeddableCalcBlocks.js +0 -2
- package/mobile/dist/components/Calculator/EmbeddableCalcBlocks.js.map +1 -1
- package/mobile/dist/components/Calculator/renderFootnote.d.ts +2 -0
- package/mobile/dist/components/Calculator/renderFootnote.js +6 -0
- package/mobile/dist/components/Calculator/renderFootnote.js.map +1 -0
- package/mobile/dist/components/CardTransfer/CardTransferContent.d.ts +3 -6
- package/mobile/dist/components/Catalog/CatalogCard.js.map +1 -1
- package/mobile/dist/components/Catalog/CatalogContent.d.ts +2 -5
- package/mobile/dist/components/ComparisonTable/ComparisonTableContent.d.ts +9 -43
- package/mobile/dist/components/ComparisonTable/TableColumn.d.ts +8 -1
- package/mobile/dist/components/ComparisonTable/TableColumn.js.map +1 -1
- package/mobile/dist/components/ComparisonTable/TableRow.d.ts +5 -1
- package/mobile/dist/components/ComparisonTable/TableRow.js.map +1 -1
- package/mobile/dist/components/ContentPage/computeAPIFallback.d.ts +5 -0
- package/mobile/dist/components/ContentPage/computeAPIFallback.js +68 -0
- package/mobile/dist/components/ContentPage/computeAPIFallback.js.map +1 -0
- package/mobile/dist/components/ErrorBlock/ErrorBlockContent.d.ts +17 -4
- package/mobile/dist/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +3 -4
- package/mobile/dist/components/ExchangeRateTile/renderInput.js +4 -3
- package/mobile/dist/components/ExchangeRateTile/renderInput.js.map +1 -1
- package/mobile/dist/components/Footer/Footer.js +3 -2
- package/mobile/dist/components/Footer/Footer.js.map +1 -1
- package/mobile/dist/components/Footer/FooterContent.d.ts +5 -9
- 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/Sitemap.d.ts +2 -0
- package/mobile/dist/components/Footer/Sitemap.js +2 -2
- package/mobile/dist/components/Footer/Sitemap.js.map +1 -1
- package/mobile/dist/components/Gallery/GalleryContent.d.ts +16 -19
- package/mobile/dist/components/GracePeriod/GracePeriodContent.d.ts +10 -14
- package/mobile/dist/components/Header/Header.fallback.d.ts +2 -0
- package/mobile/dist/components/Header/Header.fallback.js +12 -0
- package/mobile/dist/components/Header/Header.fallback.js.map +1 -0
- package/mobile/dist/components/Header/Header.js +3 -2
- package/mobile/dist/components/Header/Header.js.map +1 -1
- package/mobile/dist/components/Header/HeaderContent.d.ts +14 -23
- package/mobile/dist/components/Headline/HeadlineContent.d.ts +4 -3
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +8 -13
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +2 -2
- package/mobile/dist/components/MiniGallery/MiniGalleryContent.d.ts +8 -3
- package/mobile/dist/components/MobileAppTile/MobileAppTileContent.d.ts +19 -5
- package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -1
- package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
- package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +5 -20
- package/mobile/dist/components/OtherProducts/OtherProductsContent.d.ts +3 -4
- package/mobile/dist/components/PictureText/PictureText.js +1 -1
- package/mobile/dist/components/PictureText/PictureTextContent.d.ts +20 -4
- package/mobile/dist/components/ProductBlock/ProductBlockContent.d.ts +13 -10
- package/mobile/dist/components/ProductTile/ProductTile.js +13 -8
- package/mobile/dist/components/ProductTile/ProductTile.js.map +1 -1
- package/mobile/dist/components/ProductTile/ProductTileContent.d.ts +19 -9
- package/mobile/dist/components/Recommendation/RecommendationContent.d.ts +20 -2
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalContent.d.ts +4 -4
- package/mobile/dist/components/SafeDepositRental/YandexMap.js +5 -5
- package/mobile/dist/components/SafeDepositRental/YandexMap.js.map +1 -1
- package/mobile/dist/components/StepsBlock/StepsBlockContent.d.ts +6 -25
- package/mobile/dist/components/Tabs/TabsContent.d.ts +8 -5
- package/mobile/dist/components/TariffsTable/EmbeddableCellData.d.ts +0 -3
- package/mobile/dist/components/TariffsTable/EmbeddableCellData.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableContent.d.ts +19 -36
- package/mobile/dist/components/TariffsTable/TariffsTableRow.js +2 -1
- package/mobile/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/mobile/dist/components/TextBlock/TextBlockContent.d.ts +3 -6
- package/mobile/dist/components/Tile/TileContent.d.ts +17 -2
- package/mobile/dist/icons/IconName.d.ts +15 -5
- package/mobile/dist/icons/IconName.js +13 -3
- package/mobile/dist/icons/IconName.js.map +1 -1
- package/mobile/dist/model/ButtonVersion.d.ts +1 -1
- package/mobile/dist/model/Footnote.d.ts +4 -0
- package/mobile/dist/model/Footnote.js +2 -0
- package/mobile/dist/model/Footnote.js.map +1 -0
- package/mobile/dist/model/HeadlineType.d.ts +4 -0
- package/mobile/dist/model/Picture.d.ts +4 -0
- package/mobile/dist/model/ProductColorVersion.d.ts +4 -0
- package/mobile/dist/model/ProductColorVersion.js +2 -0
- package/mobile/dist/model/ProductColorVersion.js.map +1 -0
- package/mobile/dist/services/sitemap/useSitemap.d.ts +2 -1
- package/mobile/dist/services/sitemap/useSitemap.js +2 -2
- package/mobile/dist/services/sitemap/useSitemap.js.map +1 -1
- package/mobile/dist/types/Fallback.d.ts +5 -0
- package/mobile/dist/types/Fallback.js +2 -0
- package/mobile/dist/types/Fallback.js.map +1 -0
- package/mobile/dist/types.d.ts +1 -0
- package/mobile/dist/ui-kit/BenefitItem/BenefitItemProps.d.ts +3 -8
- package/mobile/dist/ui-kit/Button/ButtonProps.d.ts +3 -5
- package/mobile/dist/ui-kit/Button/ButtonSection.js +2 -1
- package/mobile/dist/ui-kit/Button/ButtonSection.js.map +1 -1
- package/mobile/dist/ui-kit/Button/buttonClassNameConstants.js +4 -3
- package/mobile/dist/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
- package/mobile/dist/ui-kit/Foldable/Foldable.js +1 -1
- package/mobile/dist/ui-kit/Foldable/Foldable.js.map +1 -1
- package/mobile/dist/ui-kit/Input/Input.js +1 -1
- package/mobile/dist/ui-kit/Input/Input.js.map +1 -1
- package/mobile/dist/ui-kit/InputRange/InputRange.js +8 -15
- package/mobile/dist/ui-kit/InputRange/InputRange.js.map +1 -1
- package/mobile/dist/ui-kit/Radio/Radio.js +1 -1
- package/mobile/dist/ui-kit/Radio/Radio.js.map +1 -1
- package/mobile/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.js +1 -1
- package/mobile/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.js.map +1 -1
- package/mobile/dist/ui-kit/SearchBar/SearchBarInner.js +1 -1
- package/mobile/dist/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
- package/mobile/dist/ui-kit/SelectCustom/SelectCustom.d.ts +13 -0
- package/mobile/dist/ui-kit/SelectCustom/SelectCustom.js +30 -0
- package/mobile/dist/ui-kit/SelectCustom/SelectCustom.js.map +1 -0
- package/mobile/lib/ProjectSettings.d.ts +2 -0
- package/mobile/lib/ProjectSettings.js +3 -0
- package/mobile/lib/ProjectSettings.js.map +1 -1
- package/mobile/lib/components/Accordion/AccordionContent.d.ts +4 -9
- package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/mobile/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +12 -19
- package/mobile/lib/components/BlockContent.d.ts +2 -3
- package/mobile/lib/components/Bonus/BonusContent.d.ts +6 -9
- package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +3 -5
- package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +5 -11
- package/mobile/lib/components/Calculator/BonusCalculatorForm.js +3 -2
- package/mobile/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
- package/mobile/lib/components/Calculator/CalculatorContent.d.ts +7 -40
- package/mobile/lib/components/Calculator/CalculatorValueBlock.js +1 -1
- package/mobile/lib/components/Calculator/CreditCalculatorForm.js +4 -3
- package/mobile/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/mobile/lib/components/Calculator/DepositCalculatorForm.js +21 -2
- package/mobile/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
- package/mobile/lib/components/Calculator/EmbeddableCalcBlocks.d.ts +1 -3
- package/mobile/lib/components/Calculator/EmbeddableCalcBlocks.js +0 -2
- package/mobile/lib/components/Calculator/EmbeddableCalcBlocks.js.map +1 -1
- package/mobile/lib/components/Calculator/renderFootnote.d.ts +2 -0
- package/mobile/lib/components/Calculator/renderFootnote.js +3 -0
- package/mobile/lib/components/Calculator/renderFootnote.js.map +1 -0
- package/mobile/lib/components/CardTransfer/CardTransferContent.d.ts +3 -6
- package/mobile/lib/components/Catalog/CatalogCard.js.map +1 -1
- package/mobile/lib/components/Catalog/CatalogContent.d.ts +2 -5
- package/mobile/lib/components/ComparisonTable/ComparisonTableContent.d.ts +9 -43
- package/mobile/lib/components/ComparisonTable/TableColumn.d.ts +8 -1
- package/mobile/lib/components/ComparisonTable/TableColumn.js.map +1 -1
- package/mobile/lib/components/ComparisonTable/TableRow.d.ts +5 -1
- package/mobile/lib/components/ComparisonTable/TableRow.js.map +1 -1
- package/mobile/lib/components/ContentPage/computeAPIFallback.d.ts +5 -0
- package/mobile/lib/components/ContentPage/computeAPIFallback.js +40 -0
- package/mobile/lib/components/ContentPage/computeAPIFallback.js.map +1 -0
- package/mobile/lib/components/ErrorBlock/ErrorBlockContent.d.ts +17 -4
- package/mobile/lib/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +3 -4
- package/mobile/lib/components/ExchangeRateTile/renderInput.js +4 -3
- package/mobile/lib/components/ExchangeRateTile/renderInput.js.map +1 -1
- package/mobile/lib/components/Footer/Footer.js +3 -2
- package/mobile/lib/components/Footer/Footer.js.map +1 -1
- package/mobile/lib/components/Footer/FooterContent.d.ts +5 -9
- 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/Sitemap.d.ts +2 -0
- package/mobile/lib/components/Footer/Sitemap.js +2 -2
- package/mobile/lib/components/Footer/Sitemap.js.map +1 -1
- package/mobile/lib/components/Gallery/GalleryContent.d.ts +16 -19
- package/mobile/lib/components/GracePeriod/GracePeriodContent.d.ts +10 -14
- package/mobile/lib/components/Header/Header.fallback.d.ts +2 -0
- package/mobile/lib/components/Header/Header.fallback.js +9 -0
- package/mobile/lib/components/Header/Header.fallback.js.map +1 -0
- package/mobile/lib/components/Header/Header.js +3 -2
- package/mobile/lib/components/Header/Header.js.map +1 -1
- package/mobile/lib/components/Header/HeaderContent.d.ts +14 -23
- package/mobile/lib/components/Headline/HeadlineContent.d.ts +4 -3
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +8 -13
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +2 -2
- package/mobile/lib/components/MiniGallery/MiniGalleryContent.d.ts +8 -3
- package/mobile/lib/components/MobileAppTile/MobileAppTileContent.d.ts +19 -5
- package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -1
- package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
- package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +5 -20
- package/mobile/lib/components/OtherProducts/OtherProductsContent.d.ts +3 -4
- package/mobile/lib/components/PictureText/PictureText.js +1 -1
- package/mobile/lib/components/PictureText/PictureTextContent.d.ts +20 -4
- package/mobile/lib/components/ProductBlock/ProductBlockContent.d.ts +13 -10
- package/mobile/lib/components/ProductTile/ProductTile.js +13 -8
- package/mobile/lib/components/ProductTile/ProductTile.js.map +1 -1
- package/mobile/lib/components/ProductTile/ProductTileContent.d.ts +19 -9
- package/mobile/lib/components/Recommendation/RecommendationContent.d.ts +20 -2
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalContent.d.ts +4 -4
- package/mobile/lib/components/SafeDepositRental/YandexMap.js +6 -6
- package/mobile/lib/components/SafeDepositRental/YandexMap.js.map +1 -1
- package/mobile/lib/components/StepsBlock/StepsBlockContent.d.ts +6 -25
- package/mobile/lib/components/Tabs/TabsContent.d.ts +8 -5
- package/mobile/lib/components/TariffsTable/EmbeddableCellData.d.ts +0 -3
- package/mobile/lib/components/TariffsTable/EmbeddableCellData.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableContent.d.ts +19 -36
- package/mobile/lib/components/TariffsTable/TariffsTableRow.js +2 -1
- package/mobile/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/mobile/lib/components/TextBlock/TextBlockContent.d.ts +3 -6
- package/mobile/lib/components/Tile/TileContent.d.ts +17 -2
- package/mobile/lib/icons/IconName.d.ts +15 -5
- package/mobile/lib/icons/IconName.js +13 -3
- package/mobile/lib/icons/IconName.js.map +1 -1
- package/mobile/lib/model/ButtonVersion.d.ts +1 -1
- package/mobile/lib/model/Footnote.d.ts +4 -0
- package/mobile/lib/model/Footnote.js +2 -0
- package/mobile/lib/model/Footnote.js.map +1 -0
- package/mobile/lib/model/HeadlineType.d.ts +4 -0
- package/mobile/lib/model/Picture.d.ts +4 -0
- package/mobile/lib/model/ProductColorVersion.d.ts +4 -0
- package/mobile/lib/model/ProductColorVersion.js +2 -0
- package/mobile/lib/model/ProductColorVersion.js.map +1 -0
- package/mobile/lib/services/sitemap/useSitemap.d.ts +2 -1
- package/mobile/lib/services/sitemap/useSitemap.js +2 -2
- package/mobile/lib/services/sitemap/useSitemap.js.map +1 -1
- package/mobile/lib/types/Fallback.d.ts +5 -0
- package/mobile/lib/types/Fallback.js +2 -0
- package/mobile/lib/types/Fallback.js.map +1 -0
- package/mobile/lib/types.d.ts +1 -0
- package/mobile/lib/ui-kit/BenefitItem/BenefitItemProps.d.ts +3 -8
- package/mobile/lib/ui-kit/Button/ButtonProps.d.ts +3 -5
- package/mobile/lib/ui-kit/Button/ButtonSection.js +2 -1
- package/mobile/lib/ui-kit/Button/ButtonSection.js.map +1 -1
- package/mobile/lib/ui-kit/Button/buttonClassNameConstants.js +4 -3
- package/mobile/lib/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
- package/mobile/lib/ui-kit/Foldable/Foldable.js +1 -1
- package/mobile/lib/ui-kit/Foldable/Foldable.js.map +1 -1
- package/mobile/lib/ui-kit/Input/Input.js +1 -1
- package/mobile/lib/ui-kit/Input/Input.js.map +1 -1
- package/mobile/lib/ui-kit/InputRange/InputRange.js +8 -15
- package/mobile/lib/ui-kit/InputRange/InputRange.js.map +1 -1
- package/mobile/lib/ui-kit/Radio/Radio.js +1 -1
- package/mobile/lib/ui-kit/Radio/Radio.js.map +1 -1
- package/mobile/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.js +1 -1
- package/mobile/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.js.map +1 -1
- package/mobile/lib/ui-kit/SearchBar/SearchBarInner.js +1 -1
- package/mobile/lib/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
- package/mobile/lib/ui-kit/SelectCustom/SelectCustom.d.ts +13 -0
- package/mobile/lib/ui-kit/SelectCustom/SelectCustom.js +28 -0
- package/mobile/lib/ui-kit/SelectCustom/SelectCustom.js.map +1 -0
- package/mobile/src/ProjectSettings.ts +4 -0
- package/mobile/src/components/Accordion/AccordionContent.ts +5 -9
- package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +8 -14
- package/mobile/src/components/BenefitsBlock/BenefitsBlockContent.ts +15 -22
- package/mobile/src/components/BlockContent.ts +1 -3
- package/mobile/src/components/Bonus/BonusContent.ts +6 -8
- package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +25 -27
- package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlockContent.ts +5 -11
- package/mobile/src/components/Calculator/BonusCalculatorForm.tsx +4 -2
- package/mobile/src/components/Calculator/CalculatorContent.ts +6 -44
- package/mobile/src/components/Calculator/CalculatorValueBlock.tsx +1 -1
- package/mobile/src/components/Calculator/CreditCalculatorForm.tsx +4 -2
- package/mobile/src/components/Calculator/DepositCalculatorForm.tsx +25 -2
- package/mobile/src/components/Calculator/EmbeddableCalcBlocks.tsx +0 -3
- package/mobile/src/components/Calculator/renderFootnote.tsx +2 -0
- package/mobile/src/components/CardTransfer/CardTransferContent.ts +9 -10
- package/mobile/src/components/Catalog/CatalogCard.tsx +4 -3
- package/mobile/src/components/Catalog/CatalogContent.ts +2 -6
- package/mobile/src/components/ComparisonTable/ComparisonTableContent.ts +9 -47
- package/mobile/src/components/ComparisonTable/TableColumn.tsx +10 -1
- package/mobile/src/components/ComparisonTable/TableRow.tsx +5 -1
- package/mobile/src/components/ContentPage/computeAPIFallback.spec.ts +63 -0
- package/mobile/src/components/ContentPage/computeAPIFallback.ts +55 -0
- package/mobile/src/components/ErrorBlock/ErrorBlockContent.ts +17 -4
- package/mobile/src/components/ExchangeRateTile/ExchangeRateTileContent.ts +3 -4
- package/mobile/src/components/ExchangeRateTile/renderInput.tsx +13 -16
- package/mobile/src/components/Footer/Footer.tsx +4 -1
- package/mobile/src/components/Footer/FooterContent.ts +5 -9
- package/mobile/src/components/Footer/HorizontalNavigation.tsx +3 -4
- package/mobile/src/components/Footer/Sitemap.tsx +4 -2
- package/mobile/src/components/Gallery/GalleryContent.ts +16 -19
- package/mobile/src/components/GracePeriod/GracePeriodContent.ts +10 -13
- package/mobile/src/components/Header/Header.fallback.ts +14 -0
- package/mobile/src/components/Header/Header.tsx +4 -2
- package/mobile/src/components/Header/HeaderContent.ts +15 -23
- package/mobile/src/components/Headline/HeadlineContent.ts +9 -9
- package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockContent.ts +8 -13
- package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +2 -2
- package/mobile/src/components/MiniGallery/MiniGalleryContent.ts +8 -3
- package/mobile/src/components/MobileAppTile/MobileAppTileContent.ts +19 -6
- package/mobile/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +3 -3
- package/mobile/src/components/OfficeServicesBlock/OfficeServicesBlockContent.ts +5 -20
- package/mobile/src/components/OtherProducts/OtherProductsContent.ts +3 -4
- package/mobile/src/components/PictureText/PictureText.tsx +1 -1
- package/mobile/src/components/PictureText/PictureTextContent.ts +20 -5
- package/mobile/src/components/ProductBlock/ProductBlockContent.ts +13 -10
- package/mobile/src/components/ProductTile/ProductTile.tsx +21 -12
- package/mobile/src/components/ProductTile/ProductTileContent.ts +19 -10
- package/mobile/src/components/Recommendation/RecommendationContent.ts +20 -2
- package/mobile/src/components/SafeDepositRental/SafeDepositRentalContent.ts +8 -6
- package/mobile/src/components/SafeDepositRental/YandexMap.tsx +8 -7
- package/mobile/src/components/StepsBlock/StepsBlockContent.ts +10 -27
- package/mobile/src/components/Tabs/TabsContent.ts +8 -5
- package/mobile/src/components/TariffsTable/EmbeddableCellData.tsx +0 -4
- package/mobile/src/components/TariffsTable/TariffsTableContent.ts +19 -36
- package/mobile/src/components/TariffsTable/TariffsTableRow.tsx +4 -1
- package/mobile/src/components/TextBlock/TextBlockContent.ts +3 -6
- package/mobile/src/components/Tile/TileContent.ts +17 -3
- package/mobile/src/components/__snapshots__/Blocks.spec.tsx.snap +14 -20
- package/mobile/src/icons/ArrowDownIcon.svg +1 -1
- package/mobile/src/icons/ArrowUpIcon.svg +1 -1
- package/mobile/src/icons/BuildingIcon.svg +10 -0
- package/mobile/src/icons/Car2Icon.svg +10 -0
- package/mobile/src/icons/DocDownloadIcon.svg +1 -1
- package/mobile/src/icons/DoneIcon.svg +3 -3
- package/mobile/src/icons/DoneSimpleIcon.svg +3 -0
- package/mobile/src/icons/GpsIcon.svg +1 -1
- package/mobile/src/icons/IconName.ts +4 -4
- package/mobile/src/icons/MoneyIcon.svg +5 -1
- package/mobile/src/icons/MoneysIcon.svg +7 -0
- package/mobile/src/icons/Profile2UserIcon.svg +6 -1
- package/mobile/src/icons/StrongBoxIcon.svg +5 -0
- package/mobile/src/icons/UserSquareIcon.svg +5 -0
- package/mobile/src/icons/UserTickIcon.svg +5 -1
- package/mobile/src/model/ButtonVersion.ts +1 -1
- package/mobile/src/model/Footnote.ts +4 -0
- package/mobile/src/model/HeadlineType.ts +5 -0
- package/mobile/src/model/Picture.ts +5 -0
- package/mobile/src/model/ProductColorVersion.ts +4 -0
- package/mobile/src/services/sitemap/useSitemap.ts +3 -1
- package/mobile/src/types/Fallback.ts +4 -0
- package/mobile/src/types.ts +1 -0
- package/mobile/src/ui-kit/BenefitItem/BenefitItemProps.ts +3 -8
- package/mobile/src/ui-kit/Button/ButtonProps.ts +12 -13
- package/mobile/src/ui-kit/Button/ButtonSection.tsx +19 -2
- package/mobile/src/ui-kit/Button/buttonClassNameConstants.ts +5 -3
- package/mobile/src/ui-kit/Foldable/Foldable.tsx +1 -1
- package/mobile/src/ui-kit/Input/Input.tsx +1 -1
- package/mobile/src/ui-kit/InputRange/InputRange.tsx +24 -25
- package/mobile/src/ui-kit/Radio/Radio.tsx +2 -1
- package/mobile/src/ui-kit/RadioButtonGroup/RadioButtonGroup.tsx +1 -1
- package/mobile/src/ui-kit/SearchBar/SearchBarInner.tsx +1 -1
- package/mobile/src/ui-kit/SelectCustom/SelectCustom.tsx +84 -0
- package/package.json +2 -2
- package/src/ProjectSettings.ts +4 -0
- package/src/components/Accordion/AccordionContent.ts +5 -9
- package/src/components/BenefitsBlock/BenefitsBlock.tsx +8 -14
- package/src/components/BenefitsBlock/BenefitsBlockContent.ts +15 -22
- package/src/components/BlockContent.ts +1 -3
- package/src/components/Blocks.ts +1 -3
- package/src/components/Bonus/BonusContent.ts +6 -8
- package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +25 -27
- package/src/components/BonusBenefitsBlock/BonusBenefitsBlockContent.ts +5 -11
- package/src/components/Calculator/BonusCalculatorForm.tsx +4 -2
- package/src/components/Calculator/Calculator.fixture.tsx +5 -21
- package/src/components/Calculator/CalculatorContent.ts +6 -44
- package/src/components/Calculator/CalculatorValueBlock.tsx +1 -1
- package/src/components/Calculator/CreditCalculatorForm.tsx +4 -2
- package/src/components/Calculator/DepositCalculatorForm.tsx +25 -2
- package/src/components/Calculator/EmbeddableCalcBlocks.tsx +0 -3
- package/src/components/Calculator/renderFootnote.tsx +2 -0
- package/src/components/CardTransfer/CardTransferContent.ts +9 -10
- package/src/components/Catalog/Catalog.fixture.tsx +2 -2
- package/src/components/Catalog/CatalogCard.tsx +4 -3
- package/src/components/Catalog/CatalogContent.ts +2 -6
- package/src/components/ComparisonTable/ComparisonTableContent.ts +9 -47
- package/src/components/ComparisonTable/TableColumn.tsx +10 -1
- package/src/components/ComparisonTable/TableRow.tsx +5 -1
- package/src/components/ContentPage/computeAPIFallback.spec.ts +63 -0
- package/src/components/ContentPage/computeAPIFallback.ts +55 -0
- package/src/components/ErrorBlock/ErrorBlockContent.ts +17 -4
- package/src/components/ExchangeRateTile/ExchangeRateTileContent.ts +3 -4
- package/src/components/ExchangeRateTile/renderInput.tsx +13 -16
- package/src/components/Footer/Footer.mobile.tsx +4 -1
- package/src/components/Footer/Footer.tsx +5 -1
- package/src/components/Footer/FooterContent.ts +5 -9
- package/src/components/Footer/HorizontalNavigation.mobile.tsx +3 -4
- package/src/components/Footer/HorizontalNavigation.tsx +3 -4
- package/src/components/Footer/Sitemap.tsx +4 -2
- package/src/components/Gallery/GalleryContent.ts +16 -19
- package/src/components/GracePeriod/GracePeriodContent.ts +10 -13
- package/src/components/Header/Header.fallback.ts +14 -0
- package/src/components/Header/Header.mobile.tsx +4 -2
- package/src/components/Header/Header.tsx +7 -2
- package/src/components/Header/HeaderContent.ts +15 -23
- package/src/components/Headline/HeadlineContent.ts +9 -9
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlockContent.ts +8 -13
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +2 -2
- package/src/components/MiniGallery/MiniGalleryContent.ts +8 -3
- package/src/components/MobileAppTile/MobileAppTileContent.ts +19 -6
- package/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +3 -3
- package/src/components/OfficeServicesBlock/OfficeServicesBlockContent.ts +5 -20
- package/src/components/OtherProducts/OtherProductsContent.ts +3 -4
- package/src/components/PictureText/PictureText.tsx +1 -1
- package/src/components/PictureText/PictureTextContent.ts +20 -5
- package/src/components/ProductBlock/ProductBlock.fixture.tsx +1 -21
- package/src/components/ProductBlock/ProductBlockContent.ts +13 -10
- package/src/components/ProductTile/ProductTile.fixture.tsx +12 -0
- package/src/components/ProductTile/ProductTile.tsx +21 -12
- package/src/components/ProductTile/ProductTileContent.ts +19 -10
- package/src/components/Recommendation/RecommendationContent.ts +20 -2
- package/src/components/SafeDepositRental/SafeDepositRentalContent.ts +8 -6
- package/src/components/SafeDepositRental/YandexMap.tsx +8 -7
- package/src/components/StepsBlock/StepsBlockContent.ts +10 -27
- package/src/components/Tabs/TabsContent.ts +8 -5
- package/src/components/TariffsTable/EmbeddableCellData.mobile.tsx +0 -4
- package/src/components/TariffsTable/TariffsTableContent.ts +19 -36
- package/src/components/TariffsTable/TariffsTableRow.tsx +4 -1
- package/src/components/TextBlock/TextBlockContent.ts +3 -6
- package/src/components/Tile/TileContent.ts +17 -3
- package/src/components/__snapshots__/Blocks.spec.tsx.snap +14 -20
- package/src/icons/ArrowDownIcon.svg +1 -1
- package/src/icons/ArrowUpIcon.svg +1 -1
- package/src/icons/BuildingIcon.svg +10 -0
- package/src/icons/Car2Icon.svg +10 -0
- package/src/icons/DocDownloadIcon.svg +1 -1
- package/src/icons/DoneIcon.svg +3 -3
- package/src/icons/DoneSimpleIcon.svg +3 -0
- package/src/icons/GpsIcon.svg +1 -1
- package/src/icons/IconName.ts +22 -7
- package/src/icons/MoneyIcon.svg +5 -1
- package/src/icons/MoneysIcon.svg +7 -0
- package/src/icons/Profile2UserIcon.svg +6 -1
- package/src/icons/StrongBoxIcon.svg +5 -0
- package/src/icons/UserSquareIcon.svg +5 -0
- package/src/icons/UserTickIcon.svg +5 -1
- package/src/model/ButtonVersion.ts +1 -1
- package/src/model/Footnote.ts +4 -0
- package/src/model/HeadlineType.ts +5 -0
- package/src/model/Picture.ts +5 -0
- package/src/model/ProductColorVersion.ts +4 -0
- package/src/services/sitemap/useSitemap.ts +3 -1
- package/src/types/Fallback.ts +4 -0
- package/src/types.ts +1 -0
- package/src/ui-kit/BenefitItem/BenefitItemProps.ts +3 -8
- package/src/ui-kit/Button/ButtonProps.ts +12 -13
- package/src/ui-kit/Button/ButtonSection.tsx +19 -2
- package/src/ui-kit/Button/buttonClassNameConstants.ts +5 -3
- package/src/ui-kit/Foldable/Foldable.tsx +1 -1
- package/src/ui-kit/Input/Input.tsx +1 -1
- package/src/ui-kit/InputRange/InputRange.tsx +24 -25
- package/src/ui-kit/Radio/Radio.tsx +2 -1
- package/src/ui-kit/RadioButtonGroup/RadioButtonGroup.tsx +1 -1
- package/src/ui-kit/SearchBar/SearchBarInner.tsx +1 -1
- package/src/ui-kit/SelectCustom/SelectCustom.fixture.tsx +15 -0
- package/src/ui-kit/SelectCustom/SelectCustom.tsx +84 -0
- package/cosmos-static/icons/StateMortgageIcon.svg +0 -1
- package/dist/components/Calculator/MortgageCalculatorForm.d.ts +0 -5
- package/dist/components/Calculator/MortgageCalculatorForm.js +0 -34
- package/dist/components/Calculator/MortgageCalculatorForm.js.map +0 -1
- package/dist/components/Navigation/Navigation.d.ts +0 -5
- package/dist/components/Navigation/Navigation.js +0 -17
- package/dist/components/Navigation/Navigation.js.map +0 -1
- package/dist/components/Navigation/NavigationContent.d.ts +0 -10
- package/dist/components/Navigation/NavigationContent.js.map +0 -1
- package/dist/components/Navigation/NavigationItem.d.ts +0 -4
- package/dist/components/Navigation/NavigationItem.js +0 -6
- package/dist/components/Navigation/NavigationItem.js.map +0 -1
- package/lib/components/Calculator/MortgageCalculatorForm.d.ts +0 -5
- package/lib/components/Calculator/MortgageCalculatorForm.js +0 -32
- package/lib/components/Calculator/MortgageCalculatorForm.js.map +0 -1
- package/lib/components/Navigation/Navigation.d.ts +0 -5
- package/lib/components/Navigation/Navigation.js +0 -15
- package/lib/components/Navigation/Navigation.js.map +0 -1
- package/lib/components/Navigation/NavigationContent.d.ts +0 -10
- package/lib/components/Navigation/NavigationContent.js +0 -2
- package/lib/components/Navigation/NavigationContent.js.map +0 -1
- package/lib/components/Navigation/NavigationItem.d.ts +0 -4
- package/lib/components/Navigation/NavigationItem.js +0 -4
- package/lib/components/Navigation/NavigationItem.js.map +0 -1
- package/mobile/dist/components/Calculator/MortgageCalculatorForm.d.ts +0 -5
- package/mobile/dist/components/Calculator/MortgageCalculatorForm.js +0 -34
- package/mobile/dist/components/Calculator/MortgageCalculatorForm.js.map +0 -1
- package/mobile/dist/components/Navigation/Navigation.d.ts +0 -5
- package/mobile/dist/components/Navigation/Navigation.js +0 -17
- package/mobile/dist/components/Navigation/Navigation.js.map +0 -1
- package/mobile/dist/components/Navigation/NavigationContent.d.ts +0 -10
- package/mobile/dist/components/Navigation/NavigationContent.js.map +0 -1
- package/mobile/dist/components/Navigation/NavigationItem.d.ts +0 -4
- package/mobile/dist/components/Navigation/NavigationItem.js +0 -6
- package/mobile/dist/components/Navigation/NavigationItem.js.map +0 -1
- package/mobile/lib/components/Calculator/MortgageCalculatorForm.d.ts +0 -5
- package/mobile/lib/components/Calculator/MortgageCalculatorForm.js +0 -32
- package/mobile/lib/components/Calculator/MortgageCalculatorForm.js.map +0 -1
- package/mobile/lib/components/Navigation/Navigation.d.ts +0 -5
- package/mobile/lib/components/Navigation/Navigation.js +0 -15
- package/mobile/lib/components/Navigation/Navigation.js.map +0 -1
- package/mobile/lib/components/Navigation/NavigationContent.d.ts +0 -10
- package/mobile/lib/components/Navigation/NavigationContent.js +0 -2
- package/mobile/lib/components/Navigation/NavigationContent.js.map +0 -1
- package/mobile/lib/components/Navigation/NavigationItem.d.ts +0 -4
- package/mobile/lib/components/Navigation/NavigationItem.js +0 -4
- package/mobile/lib/components/Navigation/NavigationItem.js.map +0 -1
- package/mobile/src/components/Calculator/MortgageCalculatorForm.tsx +0 -75
- package/mobile/src/components/Navigation/Navigation.tsx +0 -44
- package/mobile/src/components/Navigation/NavigationContent.ts +0 -11
- package/mobile/src/components/Navigation/NavigationItem.tsx +0 -17
- package/mobile/src/icons/StateMortgageIcon.svg +0 -1
- package/src/components/Calculator/MortgageCalculatorForm.tsx +0 -75
- package/src/components/Navigation/Navigation.fixture.tsx +0 -30
- package/src/components/Navigation/Navigation.tsx +0 -44
- package/src/components/Navigation/NavigationContent.ts +0 -11
- package/src/components/Navigation/NavigationItem.tsx +0 -17
- package/src/icons/StateMortgageIcon.svg +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Input } from '../../ui-kit/Input/Input';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { SelectCustom } from '../../ui-kit/SelectCustom/SelectCustom';
|
|
3
|
+
import type { OptionProps } from '../../ui-kit/SelectCustom/SelectCustom';
|
|
4
4
|
import type { Currency } from './CurrencyProps';
|
|
5
5
|
import type { ExchangeCurrencyItem } from './ExchangeCurrencyCalculator';
|
|
6
6
|
|
|
@@ -15,28 +15,25 @@ interface InputProps {
|
|
|
15
15
|
|
|
16
16
|
export function renderInput(props: InputProps) {
|
|
17
17
|
const { placeholder, rates, selected, value, setValue, setSelected } = props;
|
|
18
|
+
const ratesOptions: OptionProps[] = rates.map((_) => ({ key: _.code ?? '', text: _.code ?? '' }));
|
|
19
|
+
const selectedValue: OptionProps = { key: selected, text: selected };
|
|
18
20
|
|
|
19
21
|
return (
|
|
20
|
-
<div className="relative flex
|
|
22
|
+
<div className="relative flex">
|
|
21
23
|
<Input
|
|
22
|
-
className="shrink-0 h-
|
|
24
|
+
className="shrink-0 h-14 pl-4 pt-4 pb-4 text-l w-full appearance-none mr-[-90px]"
|
|
23
25
|
placeholder={placeholder}
|
|
24
26
|
type="text"
|
|
25
27
|
value={value}
|
|
26
28
|
onChange={setValue}
|
|
27
29
|
/>
|
|
28
|
-
{
|
|
29
|
-
<
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
<SelectOption key={String(i)} value={_.code}>
|
|
36
|
-
{_.code}
|
|
37
|
-
</SelectOption>
|
|
38
|
-
))}
|
|
39
|
-
</Select>
|
|
30
|
+
{ratesOptions.length ? (
|
|
31
|
+
<SelectCustom
|
|
32
|
+
isBorder={false}
|
|
33
|
+
onChange={(_) => setSelected(_.key as Currency)}
|
|
34
|
+
options={ratesOptions}
|
|
35
|
+
value={selectedValue}
|
|
36
|
+
/>
|
|
40
37
|
) : null}
|
|
41
38
|
</div>
|
|
42
39
|
);
|
|
@@ -9,6 +9,7 @@ import { SocialMedia } from './SocialMedia';
|
|
|
9
9
|
import { TextInformation } from './TextInformation';
|
|
10
10
|
|
|
11
11
|
import { useSitemap } from '../../services/sitemap/useSitemap';
|
|
12
|
+
import type { Fallback } from '../../types/Fallback';
|
|
12
13
|
import { Button } from '../../ui-kit/Button/Button';
|
|
13
14
|
import { Img } from '../../ui-kit/Img/Img';
|
|
14
15
|
import { SearchBar } from '../../ui-kit/SearchBar/SearchBar';
|
|
@@ -25,8 +26,10 @@ export const Footer = JSX<FooterProps>(
|
|
|
25
26
|
socialMedia,
|
|
26
27
|
context,
|
|
27
28
|
horizontalNavigationTitle,
|
|
29
|
+
page,
|
|
28
30
|
}) => {
|
|
29
|
-
const
|
|
31
|
+
const fallback: Fallback | undefined = page?.fallback;
|
|
32
|
+
const sitemap = useSitemap(fallback);
|
|
30
33
|
const dispositions = sitemap?.dispositions;
|
|
31
34
|
|
|
32
35
|
return (
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import type { UniBlockProps } from '../../types';
|
|
3
|
+
import type { Fallback } from '../../types/Fallback';
|
|
3
4
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper';
|
|
4
5
|
import { Logo } from '../../ui-kit/Logo/Logo';
|
|
5
6
|
import { SearchBar } from '../../ui-kit/SearchBar/SearchBar';
|
|
@@ -24,8 +25,11 @@ export const Footer = JSX<FooterProps>(
|
|
|
24
25
|
mobileApps,
|
|
25
26
|
topItems,
|
|
26
27
|
context,
|
|
28
|
+
page,
|
|
27
29
|
...rest
|
|
28
30
|
}) => {
|
|
31
|
+
const fallback: Fallback | undefined = page?.fallback;
|
|
32
|
+
|
|
29
33
|
return (
|
|
30
34
|
<BlockWrapper
|
|
31
35
|
tag="footer"
|
|
@@ -47,7 +51,7 @@ export const Footer = JSX<FooterProps>(
|
|
|
47
51
|
Мобильное приложение
|
|
48
52
|
</SocialMedia>
|
|
49
53
|
</div>
|
|
50
|
-
<Sitemap className="pt-[3px]" context={context} items={topItems} />
|
|
54
|
+
<Sitemap className="pt-[3px]" context={context} items={topItems} fallback={fallback} />
|
|
51
55
|
</div>
|
|
52
56
|
<HorizontalNavigation className="mt-[98px]" links={relatedEnterprises} context={context} />
|
|
53
57
|
<TextInformation links={documents} context={context} />
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { LinkProps } from '../../model/LinkProps';
|
|
2
2
|
import type { SitemapProps } from '../../services/sitemap/SitemapProps';
|
|
3
|
-
import type { Picture } from '../../model/Picture';
|
|
3
|
+
import type { IconProps, Picture } from '../../model/Picture';
|
|
4
|
+
import type { DescriptionProps } from '../../model/HeadlineType';
|
|
4
5
|
|
|
5
6
|
/**
|
|
6
7
|
* @title Тип контакта
|
|
@@ -14,13 +15,11 @@ export type ContactType = 'tel' | 'email';
|
|
|
14
15
|
/**
|
|
15
16
|
* @title Контакт
|
|
16
17
|
*/
|
|
17
|
-
export
|
|
18
|
+
export type ContactInfo = DescriptionProps & {
|
|
18
19
|
/** @title Текст */
|
|
19
20
|
text?: string;
|
|
20
21
|
type?: ContactType;
|
|
21
|
-
|
|
22
|
-
description?: string;
|
|
23
|
-
}
|
|
22
|
+
};
|
|
24
23
|
|
|
25
24
|
/**
|
|
26
25
|
* @required ["href"]
|
|
@@ -30,10 +29,7 @@ export type SocialMedia = Omit<LinkProps, 'text'>;
|
|
|
30
29
|
/**
|
|
31
30
|
* @title Пункт подменю
|
|
32
31
|
*/
|
|
33
|
-
export
|
|
34
|
-
/** @title Иконка подменю */
|
|
35
|
-
icon?: Picture;
|
|
36
|
-
}
|
|
32
|
+
export type SubMenuItem = LinkProps & IconProps & {};
|
|
37
33
|
|
|
38
34
|
/**
|
|
39
35
|
* @title Подвал
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import { useLink } from '../../hooks/useLink';
|
|
3
|
+
import { HorizontalNavigationLink } from './HorizontalNavigationLink';
|
|
3
4
|
import type { UniBlockProps } from '../../types';
|
|
4
5
|
import type { FooterLink } from './FooterLink';
|
|
5
|
-
import {
|
|
6
|
+
import type { TitleProps } from '../../model/HeadlineType';
|
|
6
7
|
|
|
7
|
-
export interface HorizontalNavigationProps extends FooterLink, UniBlockProps {
|
|
8
|
-
title?: string;
|
|
9
|
-
}
|
|
8
|
+
export interface HorizontalNavigationProps extends FooterLink, UniBlockProps, TitleProps {}
|
|
10
9
|
|
|
11
10
|
export const HorizontalNavigation = JSX<HorizontalNavigationProps>(
|
|
12
11
|
({ title, links, className = '', context }) => {
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import { useLink } from '../../hooks/useLink';
|
|
3
|
+
import { HorizontalNavigationLink } from './HorizontalNavigationLink';
|
|
3
4
|
import type { UniBlockProps } from '../../types';
|
|
4
5
|
import type { FooterLink } from './FooterLink';
|
|
5
|
-
import {
|
|
6
|
+
import type { TitleProps } from '../../model/HeadlineType';
|
|
6
7
|
|
|
7
|
-
export interface HorizontalNavigationProps extends FooterLink, UniBlockProps {
|
|
8
|
-
title?: string;
|
|
9
|
-
}
|
|
8
|
+
export interface HorizontalNavigationProps extends FooterLink, UniBlockProps, TitleProps {}
|
|
10
9
|
|
|
11
10
|
export const HorizontalNavigation = JSX<HorizontalNavigationProps>(
|
|
12
11
|
({ links, className = '', context }) => {
|
|
@@ -5,13 +5,15 @@ import { mergeTopItems } from '../../services/sitemap/mergeTopItems';
|
|
|
5
5
|
import type { TopMenuItem } from '../../services/sitemap/SitemapProps';
|
|
6
6
|
import { useSitemap } from '../../services/sitemap/useSitemap';
|
|
7
7
|
import type { UniBlockProps } from '../../types';
|
|
8
|
+
import type { Fallback } from '../../types/Fallback';
|
|
8
9
|
|
|
9
10
|
export interface SitemapProps extends UniBlockProps {
|
|
10
11
|
items?: TopMenuItem[];
|
|
12
|
+
fallback?: Fallback;
|
|
11
13
|
}
|
|
12
14
|
|
|
13
|
-
export const Sitemap = JSX<SitemapProps>(({ className = '', items, context }) => {
|
|
14
|
-
const sitemap = useSitemap();
|
|
15
|
+
export const Sitemap = JSX<SitemapProps>(({ className = '', items, fallback, context }) => {
|
|
16
|
+
const sitemap = useSitemap(fallback);
|
|
15
17
|
const mergedItems = mergeTopItems(sitemap.topItems, items);
|
|
16
18
|
const linkParams = {
|
|
17
19
|
router: context.useRouter(),
|
|
@@ -2,6 +2,7 @@ import type { BlockVersion } from '../../model/BlockVersion';
|
|
|
2
2
|
import type { ListOrientation } from '../../model/ListOrientation';
|
|
3
3
|
import type { Picture } from '../../model/Picture';
|
|
4
4
|
import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
|
|
5
|
+
import type { HeadlineCommonProps } from '../../model/HeadlineType';
|
|
5
6
|
|
|
6
7
|
/**
|
|
7
8
|
* @title Элемент списка
|
|
@@ -16,19 +17,19 @@ export interface GalleryItemProps {
|
|
|
16
17
|
/**
|
|
17
18
|
* @title Карточка
|
|
18
19
|
*/
|
|
19
|
-
export
|
|
20
|
-
/** @title Заголовок */
|
|
21
|
-
title?: string;
|
|
22
|
-
/** @title Описание */
|
|
23
|
-
description?: string;
|
|
20
|
+
export type GalleryCardProps = HeadlineCommonProps & {
|
|
24
21
|
/**
|
|
25
|
-
* @default
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
22
|
+
* @default {
|
|
23
|
+
* "format": "webp",
|
|
24
|
+
* "size": {
|
|
25
|
+
* "width": 140
|
|
26
|
+
* },
|
|
27
|
+
* "sources": [{
|
|
28
|
+
* "media": 1279,
|
|
29
|
+
* "width": 84,
|
|
30
|
+
* "format": "webp",
|
|
31
|
+
* "alignment": "center"
|
|
32
|
+
* }]
|
|
32
33
|
* }
|
|
33
34
|
*/
|
|
34
35
|
image?: Picture;
|
|
@@ -42,16 +43,12 @@ export interface GalleryCardProps {
|
|
|
42
43
|
/** @title Список */
|
|
43
44
|
items?: GalleryItemProps[];
|
|
44
45
|
version?: BlockVersion;
|
|
45
|
-
}
|
|
46
|
+
};
|
|
46
47
|
|
|
47
48
|
/**
|
|
48
49
|
* @title Галерея
|
|
49
50
|
*/
|
|
50
|
-
export
|
|
51
|
-
/** @title Заголовок */
|
|
52
|
-
title?: string;
|
|
53
|
-
/** @title Описание */
|
|
54
|
-
description?: string;
|
|
51
|
+
export type GalleryContent = HeadlineCommonProps & {
|
|
55
52
|
/**
|
|
56
53
|
* @title Карточки
|
|
57
54
|
* @minItems 3
|
|
@@ -59,4 +56,4 @@ export interface GalleryContent {
|
|
|
59
56
|
cards?: GalleryCardProps[];
|
|
60
57
|
/** @title Отображать элементы в моб. версии (прокрутка shift+mouseScroll) */
|
|
61
58
|
orientation?: ListOrientation; //TODO: for mobile
|
|
62
|
-
}
|
|
59
|
+
};
|
|
@@ -1,24 +1,23 @@
|
|
|
1
|
-
import type { TitleProps } from '../../model/HeadlineType';
|
|
1
|
+
import type { HeadlineCommonProps, TitleProps } from '../../model/HeadlineType';
|
|
2
2
|
import type { Picture } from '../../model/Picture';
|
|
3
3
|
|
|
4
|
-
interface Month {
|
|
4
|
+
export interface Month {
|
|
5
5
|
/** @title Название месяца */
|
|
6
6
|
text?: string;
|
|
7
7
|
/**
|
|
8
8
|
* @title Изображение календарного месяца
|
|
9
|
-
* @default
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
* height: 190
|
|
9
|
+
* @default {
|
|
10
|
+
* "format": "webp",
|
|
11
|
+
* "size": {
|
|
12
|
+
* "width": 210
|
|
13
|
+
* "height": 190
|
|
15
14
|
* }
|
|
16
15
|
* }
|
|
17
16
|
*/
|
|
18
17
|
image?: Picture;
|
|
19
18
|
}
|
|
20
19
|
|
|
21
|
-
interface CalendarItem {
|
|
20
|
+
export interface CalendarItem {
|
|
22
21
|
/** @title Месяц */
|
|
23
22
|
month?: Month[];
|
|
24
23
|
/** @title Основной текст */
|
|
@@ -30,9 +29,7 @@ interface CalendarItem {
|
|
|
30
29
|
/**
|
|
31
30
|
* @title Льготный период
|
|
32
31
|
*/
|
|
33
|
-
export
|
|
34
|
-
/** @title Описание */
|
|
35
|
-
description?: string;
|
|
32
|
+
export type GracePeriodContent = HeadlineCommonProps & {
|
|
36
33
|
/** @title Календарь */
|
|
37
34
|
calendar?: CalendarItem[];
|
|
38
|
-
}
|
|
35
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { readFile } from 'fs/promises';
|
|
2
|
+
import { projectSettings } from '../../ProjectSettings';
|
|
3
|
+
import type { FallbackMap } from '../../types/Fallback';
|
|
4
|
+
|
|
5
|
+
export const fallback = (): FallbackMap => ({
|
|
6
|
+
[`/wcms-resources/${projectSettings.SITEMAP || 'sitemap'}.json`]: async () => {
|
|
7
|
+
const data = await readFile(
|
|
8
|
+
`./content/wcms-resources/${projectSettings.SITEMAP || 'sitemap'}.json`,
|
|
9
|
+
'utf-8',
|
|
10
|
+
);
|
|
11
|
+
|
|
12
|
+
return JSON.parse(data);
|
|
13
|
+
},
|
|
14
|
+
});
|
|
@@ -6,6 +6,7 @@ import { isTopItemActive } from '../../services/sitemap/isTopItemActive';
|
|
|
6
6
|
import { mergeTopItems } from '../../services/sitemap/mergeTopItems';
|
|
7
7
|
import { useSitemap } from '../../services/sitemap/useSitemap';
|
|
8
8
|
import type { UniBlockProps } from '../../types';
|
|
9
|
+
import type { Fallback } from '../../types/Fallback';
|
|
9
10
|
import { HeaderItem } from '../../ui-kit/HeaderItem/HeaderItem';
|
|
10
11
|
import type { TopItemProps } from '../../ui-kit/TopItem/TopItem';
|
|
11
12
|
import { getAccordionItems } from '../../utils/getAccordionItems';
|
|
@@ -17,9 +18,10 @@ import { HeaderTop } from './HeaderTop';
|
|
|
17
18
|
export interface HeaderProps extends HeaderContent, UniBlockProps {}
|
|
18
19
|
|
|
19
20
|
export const Header = JSX<HeaderProps>(
|
|
20
|
-
({ className = '', defaultLocation, bgColor = 'bg-white', context, topItems }) => {
|
|
21
|
+
({ className = '', defaultLocation, bgColor = 'bg-white', context, topItems, page }) => {
|
|
21
22
|
const router = context.useRouter();
|
|
22
|
-
const
|
|
23
|
+
const fallback: Fallback | undefined = page?.fallback;
|
|
24
|
+
const sitemap = useSitemap(fallback);
|
|
23
25
|
const dispositions = sitemap?.dispositions;
|
|
24
26
|
const { handlerDecorator } = context;
|
|
25
27
|
|
|
@@ -5,6 +5,7 @@ import { isTopItemActive } from '../../services/sitemap/isTopItemActive';
|
|
|
5
5
|
import { mergeTopItems } from '../../services/sitemap/mergeTopItems';
|
|
6
6
|
import { useSitemap } from '../../services/sitemap/useSitemap';
|
|
7
7
|
import type { UniBlockProps } from '../../types';
|
|
8
|
+
import type { Fallback } from '../../types/Fallback';
|
|
8
9
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper';
|
|
9
10
|
import { Logo } from '../../ui-kit/Logo/Logo';
|
|
10
11
|
import { TopItem } from '../../ui-kit/TopItem/TopItem';
|
|
@@ -28,10 +29,12 @@ export const Header = JSX<HeaderProps>(
|
|
|
28
29
|
context,
|
|
29
30
|
topItems,
|
|
30
31
|
logo,
|
|
32
|
+
page,
|
|
31
33
|
...rest
|
|
32
34
|
}) => {
|
|
33
35
|
const router = context.useRouter();
|
|
34
|
-
const
|
|
36
|
+
const fallback: Fallback | undefined = page?.fallback;
|
|
37
|
+
const sitemap = useSitemap(fallback);
|
|
35
38
|
const { handlerDecorator } = context;
|
|
36
39
|
|
|
37
40
|
const mergedItems = mergeTopItems(sitemap.topItems, topItems);
|
|
@@ -53,7 +56,9 @@ export const Header = JSX<HeaderProps>(
|
|
|
53
56
|
<BlockWrapper
|
|
54
57
|
tag="header"
|
|
55
58
|
context={context}
|
|
56
|
-
className={`pt-6
|
|
59
|
+
className={`pt-6 px-20 ${bgColor} ${className} ${
|
|
60
|
+
showSubMenu && activeTopItem?.items?.length ? 'pb-4' : 'pb-5'
|
|
61
|
+
}`}
|
|
57
62
|
{...rest}
|
|
58
63
|
>
|
|
59
64
|
<div className="container">
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
import type { BgColorVersion } from '../../model/BgColorVersion';
|
|
2
2
|
import type { LinkProps } from '../../model/LinkProps';
|
|
3
|
+
import type { IconProps, Picture } from '../../model/Picture';
|
|
3
4
|
import type { SitemapProps } from '../../services/sitemap/SitemapProps';
|
|
4
|
-
import type { Picture } from '../../model/Picture';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* @title Пункт подменю
|
|
8
8
|
*/
|
|
9
|
-
export
|
|
10
|
-
icon?: Picture;
|
|
11
|
-
}
|
|
9
|
+
export type SubMenuItem = LinkProps & IconProps & {};
|
|
12
10
|
|
|
13
11
|
/**
|
|
14
12
|
* @title Ссылка дополнительного меню
|
|
@@ -19,35 +17,29 @@ export interface DispositionItem extends LinkProps {
|
|
|
19
17
|
icon?: Picture;
|
|
20
18
|
}
|
|
21
19
|
|
|
20
|
+
/**
|
|
21
|
+
* @title Логотип
|
|
22
|
+
*/
|
|
23
|
+
export interface Logo {
|
|
24
|
+
/** @title Иконка логотипа */
|
|
25
|
+
image?: Picture;
|
|
26
|
+
/** @title Текст логотипа */
|
|
27
|
+
title?: string;
|
|
28
|
+
}
|
|
29
|
+
|
|
22
30
|
/**
|
|
23
31
|
* @title Шапка (для мобильных горизонтальная прокрутка shift+mouseScroll)
|
|
24
32
|
* @required ["defaultLocation", "topItems"]
|
|
25
33
|
*/
|
|
26
34
|
export interface HeaderContent extends SitemapProps {
|
|
27
|
-
|
|
28
|
-
logo?: {
|
|
29
|
-
/** @title Иконка логотипа */
|
|
30
|
-
image?: Picture;
|
|
31
|
-
/**
|
|
32
|
-
* @title Текст логотипа
|
|
33
|
-
*/
|
|
34
|
-
title?: string;
|
|
35
|
-
};
|
|
35
|
+
logo?: Logo;
|
|
36
36
|
/**
|
|
37
37
|
* @title Город по-умолчанию
|
|
38
38
|
* @default Москва
|
|
39
39
|
*/
|
|
40
40
|
defaultLocation?: string;
|
|
41
|
-
/**
|
|
42
|
-
* @title Показывать подменю
|
|
43
|
-
* @hidden
|
|
44
|
-
* @default true
|
|
45
|
-
*/
|
|
41
|
+
/** @hidden */
|
|
46
42
|
showSubMenu?: boolean;
|
|
47
|
-
/**
|
|
48
|
-
* @title Фон элемента
|
|
49
|
-
* @hidden
|
|
50
|
-
* @default white
|
|
51
|
-
*/
|
|
43
|
+
/** @hidden */
|
|
52
44
|
bgColor?: BgColorVersion;
|
|
53
45
|
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import type { BlockVersionWithTransparent } from '../../model/BlockVersion';
|
|
2
|
-
import type { ImageContent } from '../../ui-kit/Img/ImgProps';
|
|
3
1
|
import type { AlignType } from '../../model/AlignType';
|
|
2
|
+
import type { BlockVersionWithTransparent } from '../../model/BlockVersion';
|
|
4
3
|
import type { HeadlineProps } from '../../model/HeadlineType';
|
|
4
|
+
import type { Picture } from '../../model/Picture';
|
|
5
5
|
import type { HeadingTagType } from '../../ui-kit/Heading/HeadingProps';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* @title Заголовок
|
|
9
9
|
*/
|
|
10
|
-
export type HeadlineContent = HeadlineProps &
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
10
|
+
export type HeadlineContent = HeadlineProps & {
|
|
11
|
+
image?: Picture;
|
|
12
|
+
align?: AlignType;
|
|
13
|
+
bgColorHeadline?: BlockVersionWithTransparent;
|
|
14
|
+
/** @hidden */
|
|
15
|
+
as?: HeadingTagType;
|
|
16
|
+
};
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import type { Picture } from '../../model/Picture';
|
|
1
|
+
import type { IconProps, Picture } from '../../model/Picture';
|
|
2
2
|
import type { ButtonProps } from '../../ui-kit/Button/ButtonProps';
|
|
3
|
+
import type { TitleProps } from '../../model/HeadlineType';
|
|
3
4
|
|
|
4
5
|
/**
|
|
5
6
|
* @title Кнопка выбора программы
|
|
6
7
|
*/
|
|
7
|
-
export type CardItem = {
|
|
8
|
-
/** @title Иконка */
|
|
9
|
-
icon?: Picture;
|
|
8
|
+
export type CardItem = IconProps & {
|
|
10
9
|
/** @title Страховой взнос */
|
|
11
10
|
fee?: number;
|
|
12
11
|
/** @title Страховая сумма */
|
|
@@ -18,21 +17,17 @@ export type CardItem = {
|
|
|
18
17
|
/**
|
|
19
18
|
* @title Вкладка
|
|
20
19
|
*/
|
|
21
|
-
export
|
|
22
|
-
/** @title Заголовок вкладки */
|
|
23
|
-
title?: string;
|
|
20
|
+
export type InsuranceAmountBlockTab = TitleProps & {
|
|
24
21
|
/** @title Содержимое вкладки */
|
|
25
22
|
cards?: CardItem[];
|
|
26
|
-
}
|
|
23
|
+
};
|
|
27
24
|
|
|
28
25
|
/**
|
|
29
26
|
* @title Страховые суммы
|
|
30
27
|
*/
|
|
31
|
-
export
|
|
32
|
-
/** @title Заголовок */
|
|
33
|
-
title?: string;
|
|
28
|
+
export type InsuranceAmountBlockContent = TitleProps & {
|
|
34
29
|
/** @title Список вкладок */
|
|
35
|
-
insuranceTabs?:
|
|
30
|
+
insuranceTabs?: InsuranceAmountBlockTab[];
|
|
36
31
|
/** @title Кнопка */
|
|
37
32
|
button?: ButtonProps;
|
|
38
|
-
}
|
|
33
|
+
};
|
|
@@ -6,9 +6,9 @@ import type { ButtonProps } from '../../ui-kit/Button/ButtonProps';
|
|
|
6
6
|
import { renderArrows } from '../../ui-kit/Button/renderArrows';
|
|
7
7
|
import { Img } from '../../ui-kit/Img/Img';
|
|
8
8
|
import { addSpacesBetweenNumbers } from '../../utils/addSpacesBetweenNumbers';
|
|
9
|
-
import type { CardItem,
|
|
9
|
+
import type { CardItem, InsuranceAmountBlockTab } from './InsuranceAmountBlockContent';
|
|
10
10
|
|
|
11
|
-
export interface InsuranceAmountBlockInnerProps extends
|
|
11
|
+
export interface InsuranceAmountBlockInnerProps extends InsuranceAmountBlockTab, UniBlockProps {
|
|
12
12
|
button?: ButtonProps;
|
|
13
13
|
}
|
|
14
14
|
|
|
@@ -1,7 +1,12 @@
|
|
|
1
|
-
import type { GalleryContent } from '../Gallery/GalleryContent';
|
|
1
|
+
import type { GalleryCardProps, GalleryContent } from '../Gallery/GalleryContent';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @title Мини-галерея
|
|
5
|
-
* @minItems 4
|
|
6
5
|
*/
|
|
7
|
-
export
|
|
6
|
+
export interface MiniGalleryContent extends GalleryContent {
|
|
7
|
+
/**
|
|
8
|
+
* @title Карточки
|
|
9
|
+
* @minItems 4
|
|
10
|
+
*/
|
|
11
|
+
cards?: GalleryCardProps[];
|
|
12
|
+
}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import type { BlockVersion } from '../../model/BlockVersion';
|
|
2
|
-
import type { ButtonContent } from '../../ui-kit/Button/ButtonProps';
|
|
3
|
-
import type { ImageContent } from '../../ui-kit/Img/ImgProps';
|
|
4
|
-
import type { ListContent } from '../../ui-kit/List/ListContent';
|
|
5
2
|
import type { HeadlineCommonProps } from '../../model/HeadlineType';
|
|
6
|
-
import type { HeadingCommonProps } from '../../ui-kit/Heading/HeadingProps';
|
|
7
3
|
import type { Picture } from '../../model/Picture';
|
|
4
|
+
import type { ButtonContent } from '../../ui-kit/Button/ButtonProps';
|
|
5
|
+
import type { HeadingCommonProps } from '../../ui-kit/Heading/HeadingProps';
|
|
6
|
+
import type { ListContent } from '../../ui-kit/List/ListContent';
|
|
8
7
|
|
|
9
8
|
/**
|
|
10
9
|
* @title Мобильное приложение
|
|
@@ -12,12 +11,26 @@ import type { Picture } from '../../model/Picture';
|
|
|
12
11
|
export type MobileAppTileContent = HeadlineCommonProps &
|
|
13
12
|
HeadingCommonProps &
|
|
14
13
|
ButtonContent &
|
|
15
|
-
ListContent &
|
|
16
|
-
ImageContent & {
|
|
14
|
+
ListContent & {
|
|
17
15
|
// TODO: description для мобильной версии
|
|
18
16
|
/** @title QR-код */
|
|
19
17
|
qr?: Picture;
|
|
20
18
|
/** @title Ссылка */
|
|
21
19
|
href?: string; // TODO: для мобильной версии
|
|
22
20
|
version?: BlockVersion;
|
|
21
|
+
/**
|
|
22
|
+
* @default {
|
|
23
|
+
* "format": "webp",
|
|
24
|
+
* "size": {
|
|
25
|
+
* "width": 600
|
|
26
|
+
* },
|
|
27
|
+
* "sources": [{
|
|
28
|
+
* "media": 1279,
|
|
29
|
+
* "width": 360,
|
|
30
|
+
* "format": "webp",
|
|
31
|
+
* "alignment": "center"
|
|
32
|
+
* }]
|
|
33
|
+
* }
|
|
34
|
+
*/
|
|
35
|
+
image?: Picture;
|
|
23
36
|
};
|
|
@@ -30,9 +30,9 @@ const renderListItems = (itemList: OfficeServicesBlockList, i) => (
|
|
|
30
30
|
<li key={`list_item_${String(i)}`} className="flex mb-5 last:mb-0 list-none">
|
|
31
31
|
{itemList.icon ? (
|
|
32
32
|
<Img
|
|
33
|
-
className="mr-3
|
|
34
|
-
width="
|
|
35
|
-
height="
|
|
33
|
+
className="mr-3 min-w-6 min-h-6 w-6 h-6"
|
|
34
|
+
width="24"
|
|
35
|
+
height="24"
|
|
36
36
|
asSVG
|
|
37
37
|
image={itemList.icon}
|
|
38
38
|
/>
|
|
@@ -1,27 +1,12 @@
|
|
|
1
|
-
import type { Picture } from '../../model/Picture';
|
|
1
|
+
import type { IconProps, Picture } from '../../model/Picture';
|
|
2
|
+
import type { LabelProps, TitleProps } from '../../model/HeadlineType';
|
|
2
3
|
|
|
3
|
-
export
|
|
4
|
-
/**
|
|
5
|
-
* @title Иконка
|
|
6
|
-
* @default {
|
|
7
|
-
* "size": {
|
|
8
|
-
* "width": 24,
|
|
9
|
-
* "height": 24
|
|
10
|
-
* },
|
|
11
|
-
* "format": "webp"
|
|
12
|
-
* }
|
|
13
|
-
*/
|
|
14
|
-
icon?: Picture;
|
|
15
|
-
/** @title Текст */
|
|
16
|
-
label?: string;
|
|
17
|
-
}
|
|
4
|
+
export type OfficeServicesBlockList = LabelProps & IconProps & {};
|
|
18
5
|
|
|
19
6
|
/**
|
|
20
7
|
* @title Офисные услуги
|
|
21
8
|
*/
|
|
22
|
-
export
|
|
23
|
-
/** @title Заголовок */
|
|
24
|
-
title?: string;
|
|
9
|
+
export type OfficeServicesBlockContent = TitleProps & {
|
|
25
10
|
/** @title Список услуг */
|
|
26
11
|
servicesList?: OfficeServicesBlockList[];
|
|
27
|
-
}
|
|
12
|
+
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { ColorPalette } from '../../types';
|
|
2
2
|
import type { BlockDef } from '../../ui-kit/BlocksList/BlocksListProps';
|
|
3
|
+
import type { TitleProps } from '../../model/HeadlineType';
|
|
3
4
|
|
|
4
5
|
/**
|
|
5
6
|
* @title Элемент списка
|
|
@@ -19,10 +20,8 @@ export interface BlockItemCommonProps {
|
|
|
19
20
|
/**
|
|
20
21
|
* @title Другие продукты
|
|
21
22
|
*/
|
|
22
|
-
export
|
|
23
|
-
/** @title Заголовок */
|
|
24
|
-
title?: string;
|
|
23
|
+
export type OtherProductsContent = TitleProps & {
|
|
25
24
|
/** @title Список */
|
|
26
25
|
blockItems?: BlockItemCommonProps[];
|
|
27
26
|
colorPalette?: ColorPalette;
|
|
28
|
-
}
|
|
27
|
+
};
|
|
@@ -28,7 +28,7 @@ export const PictureText = JSX<PictureTextProps>(
|
|
|
28
28
|
}) => {
|
|
29
29
|
return (
|
|
30
30
|
<BlockWrapper
|
|
31
|
-
className={`relative font-sans py-12 px-
|
|
31
|
+
className={`relative font-sans py-12 px-24 ${VersionStyleMap[version]} ${className}`}
|
|
32
32
|
context={context}
|
|
33
33
|
{...rest}
|
|
34
34
|
>
|