@redneckz/wildless-cms-uni-blocks 0.5.5 → 0.5.7
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 +218 -255
- package/bundle/bundle.umd.min.js +1 -1
- package/cosmos-static/icons/AirPlaneIcon.svg +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/CarIcon.svg +1 -1
- package/cosmos-static/icons/CinemaIcon.svg +1 -1
- package/cosmos-static/icons/DocDownloadIcon.svg +1 -1
- package/cosmos-static/icons/DocsIcon.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/PackA4Icon.svg +1 -1
- package/cosmos-static/icons/PowerIcon.svg +1 -1
- package/cosmos-static/icons/PumpkinIcon.svg +1 -1
- package/cosmos-static/icons/SoundIcon.svg +1 -1
- package/cosmos-static/icons/StrongBoxIcon.svg +1 -0
- package/cosmos-static/icons/UserSquareIcon.svg +1 -0
- package/cosmos-static/icons/WateringCanIcon.svg +1 -1
- 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/SafeDepositRental.js +1 -6
- package/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/dist/components/SafeDepositRental/SafeDepositRentalContent.d.ts +4 -4
- package/dist/components/SafeDepositRental/YandexMap.js +14 -7
- package/dist/components/SafeDepositRental/YandexMap.js.map +1 -1
- package/dist/components/SafeDepositRental/renderClusterer.d.ts +2 -1
- package/dist/components/SafeDepositRental/renderClusterer.js +16 -18
- package/dist/components/SafeDepositRental/renderClusterer.js.map +1 -1
- package/dist/components/SafeDepositRental/useYandexMaps.d.ts +2 -0
- package/dist/components/SafeDepositRental/useYandexMaps.js +12 -0
- package/dist/components/SafeDepositRental/useYandexMaps.js.map +1 -0
- 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/hooks/useExternalNS.d.ts +2 -0
- package/dist/hooks/useExternalNS.js +39 -0
- package/dist/hooks/useExternalNS.js.map +1 -0
- package/dist/icons/IconName.d.ts +18 -8
- package/dist/icons/IconName.js +16 -6
- 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/SafeDepositRental.js +1 -6
- package/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/lib/components/SafeDepositRental/SafeDepositRentalContent.d.ts +4 -4
- package/lib/components/SafeDepositRental/YandexMap.js +15 -8
- package/lib/components/SafeDepositRental/YandexMap.js.map +1 -1
- package/lib/components/SafeDepositRental/renderClusterer.d.ts +2 -1
- package/lib/components/SafeDepositRental/renderClusterer.js +16 -18
- package/lib/components/SafeDepositRental/renderClusterer.js.map +1 -1
- package/lib/components/SafeDepositRental/useYandexMaps.d.ts +2 -0
- package/lib/components/SafeDepositRental/useYandexMaps.js +9 -0
- package/lib/components/SafeDepositRental/useYandexMaps.js.map +1 -0
- 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/hooks/useExternalNS.d.ts +2 -0
- package/lib/hooks/useExternalNS.js +35 -0
- package/lib/hooks/useExternalNS.js.map +1 -0
- package/lib/icons/IconName.d.ts +18 -8
- package/lib/icons/IconName.js +16 -6
- 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 +56 -25
- 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/SafeDepositRental.js +1 -6
- package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalContent.d.ts +4 -4
- package/mobile/dist/components/SafeDepositRental/YandexMap.js +14 -7
- package/mobile/dist/components/SafeDepositRental/YandexMap.js.map +1 -1
- package/mobile/dist/components/SafeDepositRental/renderClusterer.d.ts +2 -1
- package/mobile/dist/components/SafeDepositRental/renderClusterer.js +16 -18
- package/mobile/dist/components/SafeDepositRental/renderClusterer.js.map +1 -1
- package/mobile/dist/components/SafeDepositRental/useYandexMaps.d.ts +2 -0
- package/mobile/dist/components/SafeDepositRental/useYandexMaps.js +12 -0
- package/mobile/dist/components/SafeDepositRental/useYandexMaps.js.map +1 -0
- 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/hooks/useExternalNS.d.ts +2 -0
- package/mobile/dist/hooks/useExternalNS.js +39 -0
- package/mobile/dist/hooks/useExternalNS.js.map +1 -0
- package/mobile/dist/icons/IconName.d.ts +18 -8
- package/mobile/dist/icons/IconName.js +16 -6
- 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/SafeDepositRental.js +1 -6
- package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalContent.d.ts +4 -4
- package/mobile/lib/components/SafeDepositRental/YandexMap.js +15 -8
- package/mobile/lib/components/SafeDepositRental/YandexMap.js.map +1 -1
- package/mobile/lib/components/SafeDepositRental/renderClusterer.d.ts +2 -1
- package/mobile/lib/components/SafeDepositRental/renderClusterer.js +16 -18
- package/mobile/lib/components/SafeDepositRental/renderClusterer.js.map +1 -1
- package/mobile/lib/components/SafeDepositRental/useYandexMaps.d.ts +2 -0
- package/mobile/lib/components/SafeDepositRental/useYandexMaps.js +9 -0
- package/mobile/lib/components/SafeDepositRental/useYandexMaps.js.map +1 -0
- 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/hooks/useExternalNS.d.ts +2 -0
- package/mobile/lib/hooks/useExternalNS.js +35 -0
- package/mobile/lib/hooks/useExternalNS.js.map +1 -0
- package/mobile/lib/icons/IconName.d.ts +18 -8
- package/mobile/lib/icons/IconName.js +16 -6
- 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/SafeDepositRental.tsx +1 -12
- package/mobile/src/components/SafeDepositRental/SafeDepositRentalContent.ts +8 -6
- package/mobile/src/components/SafeDepositRental/YandexMap.tsx +19 -11
- package/mobile/src/components/SafeDepositRental/renderClusterer.ts +29 -23
- package/mobile/src/components/SafeDepositRental/useYandexMaps.ts +13 -0
- 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 +16 -22
- package/mobile/src/hooks/useExternalNS.ts +44 -0
- package/mobile/src/icons/AirPlaneIcon.svg +1 -98
- 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/CarIcon.svg +1 -466
- package/mobile/src/icons/CinemaIcon.svg +1 -274
- package/mobile/src/icons/DocDownloadIcon.svg +1 -1
- package/mobile/src/icons/DocsIcon.svg +1 -238
- 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/PackA4Icon.svg +1 -1
- package/mobile/src/icons/PowerIcon.svg +1 -135
- package/mobile/src/icons/Profile2UserIcon.svg +6 -1
- package/mobile/src/icons/PumpkinIcon.svg +1 -236
- package/mobile/src/icons/SoundIcon.svg +1 -113
- 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/icons/WateringCanIcon.svg +1 -497
- 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 +91 -0
- package/package.json +3 -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/SafeDepositRental.tsx +1 -12
- package/src/components/SafeDepositRental/SafeDepositRentalContent.ts +8 -6
- package/src/components/SafeDepositRental/YandexMap.tsx +19 -11
- package/src/components/SafeDepositRental/renderClusterer.ts +29 -23
- package/src/components/SafeDepositRental/useYandexMaps.ts +13 -0
- 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 +16 -22
- package/src/hooks/useExternalNS.ts +44 -0
- package/src/icons/AirPlaneIcon.svg +1 -98
- 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/CarIcon.svg +1 -466
- package/src/icons/CinemaIcon.svg +1 -274
- package/src/icons/DocDownloadIcon.svg +1 -1
- package/src/icons/DocsIcon.svg +1 -238
- 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 +25 -10
- package/src/icons/MoneyIcon.svg +5 -1
- package/src/icons/MoneysIcon.svg +7 -0
- package/src/icons/PackA4Icon.svg +1 -1
- package/src/icons/PowerIcon.svg +1 -135
- package/src/icons/Profile2UserIcon.svg +6 -1
- package/src/icons/PumpkinIcon.svg +1 -236
- package/src/icons/SoundIcon.svg +1 -113
- package/src/icons/StrongBoxIcon.svg +5 -0
- package/src/icons/UserSquareIcon.svg +5 -0
- package/src/icons/UserTickIcon.svg +5 -1
- package/src/icons/WateringCanIcon.svg +1 -497
- 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 +91 -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/dist/hooks/useScript.d.ts +0 -6
- package/dist/hooks/useScript.js +0 -75
- package/dist/hooks/useScript.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/lib/hooks/useScript.d.ts +0 -6
- package/lib/hooks/useScript.js +0 -72
- package/lib/hooks/useScript.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/dist/hooks/useScript.d.ts +0 -6
- package/mobile/dist/hooks/useScript.js +0 -75
- package/mobile/dist/hooks/useScript.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/lib/hooks/useScript.d.ts +0 -6
- package/mobile/lib/hooks/useScript.js +0 -72
- package/mobile/lib/hooks/useScript.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/hooks/useScript.ts +0 -97
- 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/hooks/useScript.ts +0 -97
- package/src/icons/StateMortgageIcon.svg +0 -1
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import type { ButtonProps } from '../../ui-kit/Button/ButtonProps';
|
|
2
|
+
import type { TitleProps } from '../../model/HeadlineType';
|
|
2
3
|
/**
|
|
3
4
|
* @title Курсы обмена валют
|
|
4
5
|
*/
|
|
5
|
-
export
|
|
6
|
-
/** @title Заголовок */
|
|
7
|
-
title?: string;
|
|
6
|
+
export declare type ExchangeRateTileContent = TitleProps & {
|
|
8
7
|
button?: ButtonProps;
|
|
9
|
-
}
|
|
8
|
+
};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { Input } from '../../ui-kit/Input/Input.js';
|
|
3
|
-
import {
|
|
4
|
-
import { SelectOption } from '../../ui-kit/Select/SelectOption.js';
|
|
3
|
+
import { SelectCustom } from '../../ui-kit/SelectCustom/SelectCustom.js';
|
|
5
4
|
export function renderInput(props) {
|
|
6
5
|
const { placeholder, rates, selected, value, setValue, setSelected } = props;
|
|
7
|
-
|
|
6
|
+
const ratesOptions = rates.map((_) => ({ key: _.code ?? '', text: _.code ?? '' }));
|
|
7
|
+
const selectedValue = { key: selected, text: selected };
|
|
8
|
+
return (_jsxs("div", { className: "relative flex", children: [_jsx(Input, { className: "shrink-0 h-14 pl-4 pt-4 pb-4 text-l w-full appearance-none mr-[-90px]", placeholder: placeholder, type: "text", value: value, onChange: setValue }), ratesOptions.length ? (_jsx(SelectCustom, { isBorder: false, onChange: (_) => setSelected(_.key), options: ratesOptions, value: selectedValue })) : null] }));
|
|
8
9
|
}
|
|
9
10
|
//# sourceMappingURL=renderInput.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderInput.js","sourceRoot":"","sources":["../../../src/components/ExchangeRateTile/renderInput.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;AACjD,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"renderInput.js","sourceRoot":"","sources":["../../../src/components/ExchangeRateTile/renderInput.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,wCAAwC,CAAC;AActE,MAAM,UAAU,WAAW,CAAC,KAAiB;IAC3C,MAAM,EAAE,WAAW,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,WAAW,EAAE,GAAG,KAAK,CAAC;IAC7E,MAAM,YAAY,GAAkB,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,CAAC,IAAI,IAAI,EAAE,EAAE,IAAI,EAAE,CAAC,CAAC,IAAI,IAAI,EAAE,EAAE,CAAC,CAAC,CAAC;IAClG,MAAM,aAAa,GAAgB,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC;IAErE,OAAO,CACL,eAAK,SAAS,EAAC,eAAe,aAC5B,KAAC,KAAK,IACJ,SAAS,EAAC,uEAAuE,EACjF,WAAW,EAAE,WAAW,EACxB,IAAI,EAAC,MAAM,EACX,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,QAAQ,GAClB,EACD,YAAY,CAAC,MAAM,CAAC,CAAC,CAAC,CACrB,KAAC,YAAY,IACX,QAAQ,EAAE,KAAK,EACf,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,WAAW,CAAC,CAAC,CAAC,GAAe,CAAC,EAC/C,OAAO,EAAE,YAAY,EACrB,KAAK,EAAE,aAAa,GACpB,CACH,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -11,8 +11,9 @@ import { Button } from '../../ui-kit/Button/Button.js';
|
|
|
11
11
|
import { Img } from '../../ui-kit/Img/Img.js';
|
|
12
12
|
import { SearchBar } from '../../ui-kit/SearchBar/SearchBar.js';
|
|
13
13
|
import { getAccordionItems } from '../../utils/getAccordionItems.js';
|
|
14
|
-
export const Footer = JSX(({ className = '', documents, relatedEnterprises, contacts, socialMedia, context, horizontalNavigationTitle, }) => {
|
|
15
|
-
const
|
|
14
|
+
export const Footer = JSX(({ className = '', documents, relatedEnterprises, contacts, socialMedia, context, horizontalNavigationTitle, page, }) => {
|
|
15
|
+
const fallback = page?.fallback;
|
|
16
|
+
const sitemap = useSitemap(fallback);
|
|
16
17
|
const dispositions = sitemap?.dispositions;
|
|
17
18
|
return (_jsxs("footer", { className: `font-sans px-4 py-[26px] bg-white ${className}`, children: [_jsx(Contacts, { className: "overflow-hidden", items: contacts, context: context, hasButton: true }), _jsx(Accordion, { context: context, className: "!p-0 mb-4", accordionItems: getAccordionItems(sitemap.topItems) }), _jsx("div", { children: dispositions?.map(renderSubMenuItem) }), _jsx(MobileAppTile, { context: context, title: "\u041C\u043E\u0431\u0438\u043B\u044C\u043D\u043E\u0435 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435", description: "\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0434\u043B\u044F IOS \u0438 Android" }), _jsx(SearchBar, { context: context, className: "grow" }), _jsx(SocialMedia, { className: "pb-4", media: socialMedia, context: context }), _jsx(HorizontalNavigation, { title: horizontalNavigationTitle, links: relatedEnterprises, context: context }), _jsx(TextInformation, { links: documents, context: context })] }));
|
|
18
19
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Footer.js","sourceRoot":"","sources":["../../../src/components/Footer/Footer.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,OAAO,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAC;
|
|
1
|
+
{"version":3,"file":"Footer.js","sourceRoot":"","sources":["../../../src/components/Footer/Footer.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,OAAO,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAC;AAE/D,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACpD,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAC7D,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAIlE,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CACvB,CAAC,EACC,SAAS,GAAG,EAAE,EACd,SAAS,EACT,kBAAkB,EAClB,QAAQ,EACR,WAAW,EACX,OAAO,EACP,yBAAyB,EACzB,IAAI,GACL,EAAE,EAAE;IACH,MAAM,QAAQ,GAAyB,IAAI,EAAE,QAAQ,CAAC;IACtD,MAAM,OAAO,GAAG,UAAU,CAAC,QAAQ,CAAC,CAAC;IACrC,MAAM,YAAY,GAAG,OAAO,EAAE,YAAY,CAAC;IAE3C,OAAO,CACL,kBAAQ,SAAS,EAAE,qCAAqC,SAAS,EAAE,aACjE,KAAC,QAAQ,IAAC,SAAS,EAAC,iBAAiB,EAAC,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE,SAAS,SAAG,EACrF,KAAC,SAAS,IACR,OAAO,EAAE,OAAO,EAChB,SAAS,EAAC,WAAW,EACrB,cAAc,EAAE,iBAAiB,CAAC,OAAO,CAAC,QAAQ,CAAC,GACnD,EACF,wBAAM,YAAY,EAAE,GAAG,CAAC,iBAAiB,CAAC,GAAO,EACjD,KAAC,aAAa,IACZ,OAAO,EAAE,OAAO,EAChB,KAAK,EAAC,qHAAsB,EAC5B,WAAW,EAAC,8FAA6B,GACzC,EACF,KAAC,SAAS,IAAC,OAAO,EAAE,OAAO,EAAE,SAAS,EAAC,MAAM,GAAG,EAChD,KAAC,WAAW,IAAC,SAAS,EAAC,MAAM,EAAC,KAAK,EAAE,WAAW,EAAE,OAAO,EAAE,OAAO,GAAI,EACtE,KAAC,oBAAoB,IACnB,KAAK,EAAE,yBAAyB,EAChC,KAAK,EAAE,kBAAkB,EACzB,OAAO,EAAE,OAAO,GAChB,EACF,KAAC,eAAe,IAAC,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO,GAAI,IAChD,CACV,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,iBAAiB,GAAG,CAAC,IAAiB,EAAE,CAAS,EAAE,EAAE;IACzD,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC;IAElC,OAAO,CACL,MAAC,MAAM,IAAC,OAAO,EAAC,MAAM,EAAqB,IAAI,EAAE,IAAI,EAAE,SAAS,EAAC,sBAAsB,aACpF,IAAI,CAAC,CAAC,CAAC,KAAC,GAAG,IAAC,SAAS,EAAC,MAAM,EAAC,KAAK,EAAE,IAAI,EAAE,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,KAAK,SAAG,CAAC,CAAC,CAAC,IAAI,EACjF,eAAM,SAAS,EAAC,sCAAsC,YAAE,IAAI,GAAQ,KAF1C,UAAU,CAAC,EAAE,CAGhC,CACV,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { LinkProps } from '../../model/LinkProps';
|
|
2
2
|
import type { SitemapProps } from '../../services/sitemap/SitemapProps';
|
|
3
|
-
import type {
|
|
3
|
+
import type { IconProps } from '../../model/Picture';
|
|
4
|
+
import type { DescriptionProps } from '../../model/HeadlineType';
|
|
4
5
|
/**
|
|
5
6
|
* @title Тип контакта
|
|
6
7
|
* @enumNames [
|
|
@@ -12,13 +13,11 @@ export declare type ContactType = 'tel' | 'email';
|
|
|
12
13
|
/**
|
|
13
14
|
* @title Контакт
|
|
14
15
|
*/
|
|
15
|
-
export
|
|
16
|
+
export declare type ContactInfo = DescriptionProps & {
|
|
16
17
|
/** @title Текст */
|
|
17
18
|
text?: string;
|
|
18
19
|
type?: ContactType;
|
|
19
|
-
|
|
20
|
-
description?: string;
|
|
21
|
-
}
|
|
20
|
+
};
|
|
22
21
|
/**
|
|
23
22
|
* @required ["href"]
|
|
24
23
|
*/
|
|
@@ -26,10 +25,7 @@ export declare type SocialMedia = Omit<LinkProps, 'text'>;
|
|
|
26
25
|
/**
|
|
27
26
|
* @title Пункт подменю
|
|
28
27
|
*/
|
|
29
|
-
export
|
|
30
|
-
/** @title Иконка подменю */
|
|
31
|
-
icon?: Picture;
|
|
32
|
-
}
|
|
28
|
+
export declare type SubMenuItem = LinkProps & IconProps;
|
|
33
29
|
/**
|
|
34
30
|
* @title Подвал
|
|
35
31
|
* @required ["topItems"]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { UniBlockProps } from '../../types';
|
|
2
2
|
import type { FooterLink } from './FooterLink';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
import type { TitleProps } from '../../model/HeadlineType';
|
|
4
|
+
export interface HorizontalNavigationProps extends FooterLink, UniBlockProps, TitleProps {
|
|
5
5
|
}
|
|
6
6
|
export declare const HorizontalNavigation: import("@redneckz/uni-jsx").UNIComponent<HorizontalNavigationProps, any, any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HorizontalNavigation.js","sourceRoot":"","sources":["../../../src/components/Footer/HorizontalNavigation.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"HorizontalNavigation.js","sourceRoot":"","sources":["../../../src/components/Footer/HorizontalNavigation.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAOtE,MAAM,CAAC,MAAM,oBAAoB,GAAG,GAAG,CACrC,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,SAAS,GAAG,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE;IAC5C,MAAM,MAAM,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC;IACnC,MAAM,EAAE,gBAAgB,EAAE,GAAG,OAAO,CAAC;IAErC,OAAO,CACL,eAAK,SAAS,EAAE,SAAS,aACvB,eAAM,SAAS,EAAC,sCAAsC,YAAE,KAAK,GAAQ,EACpE,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CACf,cAAK,SAAS,EAAC,0BAA0B,YACtC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CACnB,KAAC,wBAAwB,IAEvB,KAAK,EAAE,CAAC,EACR,SAAS,EAAC,QAAQ,KACd,OAAO,CAAC,EAAE,MAAM,EAAE,gBAAgB,EAAE,EAAE,CAAC,CAAC,IAHvC,MAAM,CAAC,CAAC,CAAC,CAId,CACH,CAAC,GACE,CACP,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import type { TopMenuItem } from '../../services/sitemap/SitemapProps';
|
|
2
2
|
import type { UniBlockProps } from '../../types';
|
|
3
|
+
import type { Fallback } from '../../types/Fallback';
|
|
3
4
|
export interface SitemapProps extends UniBlockProps {
|
|
4
5
|
items?: TopMenuItem[];
|
|
6
|
+
fallback?: Fallback;
|
|
5
7
|
}
|
|
6
8
|
export declare const Sitemap: import("@redneckz/uni-jsx").UNIComponent<SitemapProps, any, any>;
|
|
@@ -3,8 +3,8 @@ import { JSX } from '@redneckz/uni-jsx';
|
|
|
3
3
|
import { useLink } from '../../hooks/useLink.js';
|
|
4
4
|
import { mergeTopItems } from '../../services/sitemap/mergeTopItems.js';
|
|
5
5
|
import { useSitemap } from '../../services/sitemap/useSitemap.js';
|
|
6
|
-
export const Sitemap = JSX(({ className = '', items, context }) => {
|
|
7
|
-
const sitemap = useSitemap();
|
|
6
|
+
export const Sitemap = JSX(({ className = '', items, fallback, context }) => {
|
|
7
|
+
const sitemap = useSitemap(fallback);
|
|
8
8
|
const mergedItems = mergeTopItems(sitemap.topItems, items);
|
|
9
9
|
const linkParams = {
|
|
10
10
|
router: context.useRouter(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Sitemap.js","sourceRoot":"","sources":["../../../src/components/Footer/Sitemap.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE9C,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AAErE,OAAO,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAC;
|
|
1
|
+
{"version":3,"file":"Sitemap.js","sourceRoot":"","sources":["../../../src/components/Footer/Sitemap.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE9C,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AAErE,OAAO,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAC;AAS/D,MAAM,CAAC,MAAM,OAAO,GAAG,GAAG,CAAe,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,EAAE;IACxF,MAAM,OAAO,GAAG,UAAU,CAAC,QAAQ,CAAC,CAAC;IACrC,MAAM,WAAW,GAAG,aAAa,CAAC,OAAO,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAC;IAC3D,MAAM,UAAU,GAAG;QACjB,MAAM,EAAE,OAAO,CAAC,SAAS,EAAE;QAC3B,gBAAgB,EAAE,OAAO,CAAC,gBAAgB;KAC3C,CAAC;IAEF,OAAO,CACL,cAAK,SAAS,EAAE,kEAAkE,SAAS,EAAE,YAC1F,WAAW,EAAE,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,UAAU,CAAC,CAAC,GACvD,CACP,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,YAAY,GAAG,CAAC,CAAc,EAAE,KAAa,EAAE,EAAE,MAAM,EAAE,gBAAgB,EAAE,EAAE,EAAE;IACnF,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,CAAC,CAAC;IAExC,OAAO,CACL,eAAyB,SAAS,EAAC,wCAAwC,aACzE,YACE,SAAS,EAAC,+EAA+E,EACzF,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,MAAM,IAAI,OAAO,YAExB,IAAI,IAAI,UAAU,KAAK,EAAE,GACxB,EACH,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CACpB,KAAC,UAAU,OAAqB,OAAO,CAAC,EAAE,MAAM,EAAE,gBAAgB,EAAE,EAAE,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,IAAjE,MAAM,CAAC,CAAC,CAAC,CAA4D,CACvF,CAAC,KAVM,MAAM,CAAC,KAAK,CAAC,CAWjB,CACP,CAAC;AACJ,CAAC,CAAC;AAMF,MAAM,UAAU,GAAG,GAAG,CAAkB,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CACzE,YACE,SAAS,EAAC,6EAA6E,EACvF,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,MAAM,IAAI,OAAO,YAExB,IAAI,IAAI,UAAU,KAAK,EAAE,GACxB,CACL,CAAC,CAAC"}
|
|
@@ -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
|
* @title Элемент списка
|
|
7
8
|
*/
|
|
@@ -14,19 +15,19 @@ export interface GalleryItemProps {
|
|
|
14
15
|
/**
|
|
15
16
|
* @title Карточка
|
|
16
17
|
*/
|
|
17
|
-
export
|
|
18
|
-
/** @title Заголовок */
|
|
19
|
-
title?: string;
|
|
20
|
-
/** @title Описание */
|
|
21
|
-
description?: string;
|
|
18
|
+
export declare type GalleryCardProps = HeadlineCommonProps & {
|
|
22
19
|
/**
|
|
23
|
-
* @default
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
20
|
+
* @default {
|
|
21
|
+
* "format": "webp",
|
|
22
|
+
* "size": {
|
|
23
|
+
* "width": 140
|
|
24
|
+
* },
|
|
25
|
+
* "sources": [{
|
|
26
|
+
* "media": 1279,
|
|
27
|
+
* "width": 84,
|
|
28
|
+
* "format": "webp",
|
|
29
|
+
* "alignment": "center"
|
|
30
|
+
* }]
|
|
30
31
|
* }
|
|
31
32
|
*/
|
|
32
33
|
image?: Picture;
|
|
@@ -40,15 +41,11 @@ export interface GalleryCardProps {
|
|
|
40
41
|
/** @title Список */
|
|
41
42
|
items?: GalleryItemProps[];
|
|
42
43
|
version?: BlockVersion;
|
|
43
|
-
}
|
|
44
|
+
};
|
|
44
45
|
/**
|
|
45
46
|
* @title Галерея
|
|
46
47
|
*/
|
|
47
|
-
export
|
|
48
|
-
/** @title Заголовок */
|
|
49
|
-
title?: string;
|
|
50
|
-
/** @title Описание */
|
|
51
|
-
description?: string;
|
|
48
|
+
export declare type GalleryContent = HeadlineCommonProps & {
|
|
52
49
|
/**
|
|
53
50
|
* @title Карточки
|
|
54
51
|
* @minItems 3
|
|
@@ -56,4 +53,4 @@ export interface GalleryContent {
|
|
|
56
53
|
cards?: GalleryCardProps[];
|
|
57
54
|
/** @title Отображать элементы в моб. версии (прокрутка shift+mouseScroll) */
|
|
58
55
|
orientation?: ListOrientation;
|
|
59
|
-
}
|
|
56
|
+
};
|
|
@@ -1,22 +1,21 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { HeadlineCommonProps } from '../../model/HeadlineType';
|
|
2
2
|
import type { Picture } from '../../model/Picture';
|
|
3
|
-
interface Month {
|
|
3
|
+
export interface Month {
|
|
4
4
|
/** @title Название месяца */
|
|
5
5
|
text?: string;
|
|
6
6
|
/**
|
|
7
7
|
* @title Изображение календарного месяца
|
|
8
|
-
* @default
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
* height: 190
|
|
8
|
+
* @default {
|
|
9
|
+
* "format": "webp",
|
|
10
|
+
* "size": {
|
|
11
|
+
* "width": 210
|
|
12
|
+
* "height": 190
|
|
14
13
|
* }
|
|
15
14
|
* }
|
|
16
15
|
*/
|
|
17
16
|
image?: Picture;
|
|
18
17
|
}
|
|
19
|
-
interface CalendarItem {
|
|
18
|
+
export interface CalendarItem {
|
|
20
19
|
/** @title Месяц */
|
|
21
20
|
month?: Month[];
|
|
22
21
|
/** @title Основной текст */
|
|
@@ -27,10 +26,7 @@ interface CalendarItem {
|
|
|
27
26
|
/**
|
|
28
27
|
* @title Льготный период
|
|
29
28
|
*/
|
|
30
|
-
export
|
|
31
|
-
/** @title Описание */
|
|
32
|
-
description?: string;
|
|
29
|
+
export declare type GracePeriodContent = HeadlineCommonProps & {
|
|
33
30
|
/** @title Календарь */
|
|
34
31
|
calendar?: CalendarItem[];
|
|
35
|
-
}
|
|
36
|
-
export {};
|
|
32
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { readFile } from 'fs/promises';
|
|
2
|
+
import { projectSettings } from '../../ProjectSettings.js';
|
|
3
|
+
export const fallback = () => ({
|
|
4
|
+
[`/wcms-resources/${projectSettings.SITEMAP || 'sitemap'}.json`]: async () => {
|
|
5
|
+
const data = await readFile(`./content/wcms-resources/${projectSettings.SITEMAP || 'sitemap'}.json`, 'utf-8');
|
|
6
|
+
return JSON.parse(data);
|
|
7
|
+
},
|
|
8
|
+
});
|
|
9
|
+
//# sourceMappingURL=Header.fallback.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Header.fallback.js","sourceRoot":"","sources":["../../../src/components/Header/Header.fallback.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAGxD,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAgB,EAAE,CAAC,CAAC;IAC1C,CAAC,mBAAmB,eAAe,CAAC,OAAO,IAAI,SAAS,OAAO,CAAC,EAAE,KAAK,IAAI,EAAE;QAC3E,MAAM,IAAI,GAAG,MAAM,QAAQ,CACzB,4BAA4B,eAAe,CAAC,OAAO,IAAI,SAAS,OAAO,EACvE,OAAO,CACR,CAAC;QAEF,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IAC1B,CAAC;CACF,CAAC,CAAC"}
|
|
@@ -11,9 +11,10 @@ import { getAccordionItems } from '../../utils/getAccordionItems.js';
|
|
|
11
11
|
import { Accordion } from '../Accordion/Accordion.js';
|
|
12
12
|
import { HeaderBurger } from './HeaderBurger.js';
|
|
13
13
|
import { HeaderTop } from './HeaderTop.js';
|
|
14
|
-
export const Header = JSX(({ className = '', defaultLocation, bgColor = 'bg-white', context, topItems }) => {
|
|
14
|
+
export const Header = JSX(({ className = '', defaultLocation, bgColor = 'bg-white', context, topItems, page }) => {
|
|
15
15
|
const router = context.useRouter();
|
|
16
|
-
const
|
|
16
|
+
const fallback = page?.fallback;
|
|
17
|
+
const sitemap = useSitemap(fallback);
|
|
17
18
|
const dispositions = sitemap?.dispositions;
|
|
18
19
|
const { handlerDecorator } = context;
|
|
19
20
|
const mergedItems = mergeTopItems(sitemap.topItems, topItems);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Header.js","sourceRoot":"","sources":["../../../src/components/Header/Header.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,0CAA0C,CAAC;AAC7E,OAAO,EAAE,eAAe,EAAE,MAAM,wCAAwC,CAAC;AACzE,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAC;
|
|
1
|
+
{"version":3,"file":"Header.js","sourceRoot":"","sources":["../../../src/components/Header/Header.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,0CAA0C,CAAC;AAC7E,OAAO,EAAE,eAAe,EAAE,MAAM,wCAAwC,CAAC;AACzE,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAC;AAG/D,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAEhE,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAIxC,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CACvB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,eAAe,EAAE,OAAO,GAAG,UAAU,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,EAAE,EAAE;IACrF,MAAM,MAAM,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC;IACnC,MAAM,QAAQ,GAAyB,IAAI,EAAE,QAAQ,CAAC;IACtD,MAAM,OAAO,GAAG,UAAU,CAAC,QAAQ,CAAC,CAAC;IACrC,MAAM,YAAY,GAAG,OAAO,EAAE,YAAY,CAAC;IAC3C,MAAM,EAAE,gBAAgB,EAAE,GAAG,OAAO,CAAC;IAErC,MAAM,WAAW,GAAG,aAAa,CAAC,OAAO,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;IAC9D,MAAM,aAAa,GAAG,WAAW,CAAC,IAAI,CAAC,eAAe,CAAC,MAAM,CAAC,CAAC,CAAC;IAChE,MAAM,QAAQ,GAAG,aAAa,EAAE,KAAK,CAAC;IACtC,MAAM,aAAa,GAAG,iBAAiB,CAAC,MAAM,CAAC,CAAC,QAAQ,CAAC,CAAC;IAC1D,MAAM,CAAC,cAAc,EAAE,iBAAiB,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC5D,MAAM,gBAAgB,GAAG,GAAG,EAAE,CAAC,iBAAiB,CAAC,CAAC,cAAc,CAAC,CAAC;IAElE,OAAO,CACL,kBAAQ,SAAS,EAAE,GAAG,OAAO,IAAI,SAAS,EAAE,aAC1C,eAAK,SAAS,EAAC,gCAAgC,aAC7C,KAAC,SAAS,IAAC,OAAO,EAAE,gBAAgB,EAAE,OAAO,EAAE,OAAO,GAAI,EAC1D,cAAK,SAAS,EAAC,6DAA6D,YAC1E,cAAK,SAAS,EAAC,uDAAuD,YACnE,QAAQ,EAAE,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CACtB,aAAa,CACX;gCACE,GAAG,OAAO,CAAC,EAAE,MAAM,EAAE,gBAAgB,EAAE,EAAE,CAAC,CAAC;gCAC3C,MAAM,EAAE,CAAC,KAAK,aAAa;gCAC3B,OAAO;6BACR,EACD,CAAC,CACF,CACF,GACG,GACF,IACF,EACL,cAAc,CAAC,CAAC,CAAC,CAChB,KAAC,YAAY,IACX,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,gBAAgB,EACzB,aAAa,EAAE,YAAY,EAC3B,eAAe,EAAE,eAAe,YAEhC,KAAC,SAAS,IACR,OAAO,EAAE,OAAO,EAChB,cAAc,EAAE,iBAAiB,CAAC,OAAO,CAAC,QAAQ,CAAC,EACnD,SAAS,EAAC,WAAW,GACrB,GACW,CAChB,CAAC,CAAC,CAAC,IAAI,IACD,CACV,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,aAAa,GAAG,CAAC,IAAkB,EAAE,CAAS,EAAE,EAAE,CAAC,CACvD,KAAC,UAAU,IAAiB,SAAS,EAAC,+BAA+B,KAAK,IAAI,IAA7D,MAAM,CAAC,CAAC,CAAC,CAAwD,CACnF,CAAC"}
|
|
@@ -1,13 +1,11 @@
|
|
|
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
|
* @title Пункт подменю
|
|
7
7
|
*/
|
|
8
|
-
export
|
|
9
|
-
icon?: Picture;
|
|
10
|
-
}
|
|
8
|
+
export declare type SubMenuItem = LinkProps & IconProps;
|
|
11
9
|
/**
|
|
12
10
|
* @title Ссылка дополнительного меню
|
|
13
11
|
* @required ["text", "href"]
|
|
@@ -16,35 +14,28 @@ export interface DispositionItem extends LinkProps {
|
|
|
16
14
|
/** @hidden */
|
|
17
15
|
icon?: Picture;
|
|
18
16
|
}
|
|
17
|
+
/**
|
|
18
|
+
* @title Логотип
|
|
19
|
+
*/
|
|
20
|
+
export interface Logo {
|
|
21
|
+
/** @title Иконка логотипа */
|
|
22
|
+
image?: Picture;
|
|
23
|
+
/** @title Текст логотипа */
|
|
24
|
+
title?: string;
|
|
25
|
+
}
|
|
19
26
|
/**
|
|
20
27
|
* @title Шапка (для мобильных горизонтальная прокрутка shift+mouseScroll)
|
|
21
28
|
* @required ["defaultLocation", "topItems"]
|
|
22
29
|
*/
|
|
23
30
|
export interface HeaderContent extends SitemapProps {
|
|
24
|
-
|
|
25
|
-
logo?: {
|
|
26
|
-
/** @title Иконка логотипа */
|
|
27
|
-
image?: Picture;
|
|
28
|
-
/**
|
|
29
|
-
* @title Текст логотипа
|
|
30
|
-
*/
|
|
31
|
-
title?: string;
|
|
32
|
-
};
|
|
31
|
+
logo?: Logo;
|
|
33
32
|
/**
|
|
34
33
|
* @title Город по-умолчанию
|
|
35
34
|
* @default Москва
|
|
36
35
|
*/
|
|
37
36
|
defaultLocation?: string;
|
|
38
|
-
/**
|
|
39
|
-
* @title Показывать подменю
|
|
40
|
-
* @hidden
|
|
41
|
-
* @default true
|
|
42
|
-
*/
|
|
37
|
+
/** @hidden */
|
|
43
38
|
showSubMenu?: boolean;
|
|
44
|
-
/**
|
|
45
|
-
* @title Фон элемента
|
|
46
|
-
* @hidden
|
|
47
|
-
* @default white
|
|
48
|
-
*/
|
|
39
|
+
/** @hidden */
|
|
49
40
|
bgColor?: BgColorVersion;
|
|
50
41
|
}
|
|
@@ -1,12 +1,13 @@
|
|
|
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
|
* @title Заголовок
|
|
8
8
|
*/
|
|
9
|
-
export declare type HeadlineContent = HeadlineProps &
|
|
9
|
+
export declare type HeadlineContent = HeadlineProps & {
|
|
10
|
+
image?: Picture;
|
|
10
11
|
align?: AlignType;
|
|
11
12
|
bgColorHeadline?: BlockVersionWithTransparent;
|
|
12
13
|
/** @hidden */
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { IconProps } from '../../model/Picture';
|
|
2
2
|
import type { ButtonProps } from '../../ui-kit/Button/ButtonProps';
|
|
3
|
+
import type { TitleProps } from '../../model/HeadlineType';
|
|
3
4
|
/**
|
|
4
5
|
* @title Кнопка выбора программы
|
|
5
6
|
*/
|
|
6
|
-
export declare type CardItem = {
|
|
7
|
-
/** @title Иконка */
|
|
8
|
-
icon?: Picture;
|
|
7
|
+
export declare type CardItem = IconProps & {
|
|
9
8
|
/** @title Страховой взнос */
|
|
10
9
|
fee?: number;
|
|
11
10
|
/** @title Страховая сумма */
|
|
@@ -16,20 +15,16 @@ export declare type CardItem = {
|
|
|
16
15
|
/**
|
|
17
16
|
* @title Вкладка
|
|
18
17
|
*/
|
|
19
|
-
export
|
|
20
|
-
/** @title Заголовок вкладки */
|
|
21
|
-
title?: string;
|
|
18
|
+
export declare type InsuranceAmountBlockTab = TitleProps & {
|
|
22
19
|
/** @title Содержимое вкладки */
|
|
23
20
|
cards?: CardItem[];
|
|
24
|
-
}
|
|
21
|
+
};
|
|
25
22
|
/**
|
|
26
23
|
* @title Страховые суммы
|
|
27
24
|
*/
|
|
28
|
-
export
|
|
29
|
-
/** @title Заголовок */
|
|
30
|
-
title?: string;
|
|
25
|
+
export declare type InsuranceAmountBlockContent = TitleProps & {
|
|
31
26
|
/** @title Список вкладок */
|
|
32
|
-
insuranceTabs?:
|
|
27
|
+
insuranceTabs?: InsuranceAmountBlockTab[];
|
|
33
28
|
/** @title Кнопка */
|
|
34
29
|
button?: ButtonProps;
|
|
35
|
-
}
|
|
30
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { UniBlockProps } from '../../types';
|
|
2
2
|
import type { ButtonProps } from '../../ui-kit/Button/ButtonProps';
|
|
3
|
-
import type {
|
|
4
|
-
export interface InsuranceAmountBlockInnerProps extends
|
|
3
|
+
import type { InsuranceAmountBlockTab } from './InsuranceAmountBlockContent';
|
|
4
|
+
export interface InsuranceAmountBlockInnerProps extends InsuranceAmountBlockTab, UniBlockProps {
|
|
5
5
|
button?: ButtonProps;
|
|
6
6
|
}
|
|
7
7
|
export declare const InsuranceAmountBlockInner: import("@redneckz/uni-jsx").UNIComponent<InsuranceAmountBlockInnerProps, any, any>;
|
|
@@ -1,6 +1,11 @@
|
|
|
1
|
-
import type { GalleryContent } from '../Gallery/GalleryContent';
|
|
1
|
+
import type { GalleryCardProps, GalleryContent } from '../Gallery/GalleryContent';
|
|
2
2
|
/**
|
|
3
3
|
* @title Мини-галерея
|
|
4
|
-
* @minItems 4
|
|
5
4
|
*/
|
|
6
|
-
export
|
|
5
|
+
export interface MiniGalleryContent extends GalleryContent {
|
|
6
|
+
/**
|
|
7
|
+
* @title Карточки
|
|
8
|
+
* @minItems 4
|
|
9
|
+
*/
|
|
10
|
+
cards?: GalleryCardProps[];
|
|
11
|
+
}
|
|
@@ -1,17 +1,31 @@
|
|
|
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
|
* @title Мобильное приложение
|
|
10
9
|
*/
|
|
11
|
-
export declare type MobileAppTileContent = HeadlineCommonProps & HeadingCommonProps & ButtonContent & ListContent &
|
|
10
|
+
export declare type MobileAppTileContent = HeadlineCommonProps & HeadingCommonProps & ButtonContent & ListContent & {
|
|
12
11
|
/** @title QR-код */
|
|
13
12
|
qr?: Picture;
|
|
14
13
|
/** @title Ссылка */
|
|
15
14
|
href?: string;
|
|
16
15
|
version?: BlockVersion;
|
|
16
|
+
/**
|
|
17
|
+
* @default {
|
|
18
|
+
* "format": "webp",
|
|
19
|
+
* "size": {
|
|
20
|
+
* "width": 600
|
|
21
|
+
* },
|
|
22
|
+
* "sources": [{
|
|
23
|
+
* "media": 1279,
|
|
24
|
+
* "width": 360,
|
|
25
|
+
* "format": "webp",
|
|
26
|
+
* "alignment": "center"
|
|
27
|
+
* }]
|
|
28
|
+
* }
|
|
29
|
+
*/
|
|
30
|
+
image?: Picture;
|
|
17
31
|
};
|
|
@@ -6,5 +6,5 @@ import { Img } from '../../ui-kit/Img/Img.js';
|
|
|
6
6
|
export const OfficeServicesBlock = JSX(({ className = '', context, title, servicesList, anchor = '', ...rest }) => {
|
|
7
7
|
return (_jsxs(BlockWrapper, { context: context, id: anchor, className: `font-sans bg-white p-8 flex flex-col ${className}`, ...rest, children: [title ? _jsx(Heading, { headingType: "h5", className: "mb-5", title: title }) : null, servicesList?.length ? servicesList.map(renderListItems) : null] }));
|
|
8
8
|
});
|
|
9
|
-
const renderListItems = (itemList, i) => (_jsxs("li", { className: "flex mb-5 last:mb-0 list-none", children: [itemList.icon ? (_jsx(Img, { className: "mr-3
|
|
9
|
+
const renderListItems = (itemList, i) => (_jsxs("li", { className: "flex mb-5 last:mb-0 list-none", children: [itemList.icon ? (_jsx(Img, { className: "mr-3 min-w-6 min-h-6 w-6 h-6", width: "24", height: "24", asSVG: true, image: itemList.icon })) : null, itemList.label ? _jsx("span", { className: "text-l-light", children: itemList.label }) : null] }, `list_item_${String(i)}`));
|
|
10
10
|
//# sourceMappingURL=OfficeServicesBlock.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OfficeServicesBlock.js","sourceRoot":"","sources":["../../../src/components/OfficeServicesBlock/OfficeServicesBlock.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAQ3C,MAAM,CAAC,MAAM,mBAAmB,GAAG,GAAG,CACpC,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,YAAY,EAAE,MAAM,GAAG,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IACzE,OAAO,CACL,MAAC,YAAY,IACX,OAAO,EAAE,OAAO,EAChB,EAAE,EAAE,MAAM,EACV,SAAS,EAAE,wCAAwC,SAAS,EAAE,KAC1D,IAAI,aAEP,KAAK,CAAC,CAAC,CAAC,KAAC,OAAO,IAAC,WAAW,EAAC,IAAI,EAAC,SAAS,EAAC,MAAM,EAAC,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,EAC1E,YAAY,EAAE,MAAM,CAAC,CAAC,CAAC,YAAY,CAAC,GAAG,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,IAAI,IACnD,CAChB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,eAAe,GAAG,CAAC,QAAiC,EAAE,CAAC,EAAE,EAAE,CAAC,CAChE,cAAmC,SAAS,EAAC,+BAA+B,aACzE,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,CACf,KAAC,GAAG,IACF,SAAS,EAAC,
|
|
1
|
+
{"version":3,"file":"OfficeServicesBlock.js","sourceRoot":"","sources":["../../../src/components/OfficeServicesBlock/OfficeServicesBlock.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAQ3C,MAAM,CAAC,MAAM,mBAAmB,GAAG,GAAG,CACpC,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,YAAY,EAAE,MAAM,GAAG,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IACzE,OAAO,CACL,MAAC,YAAY,IACX,OAAO,EAAE,OAAO,EAChB,EAAE,EAAE,MAAM,EACV,SAAS,EAAE,wCAAwC,SAAS,EAAE,KAC1D,IAAI,aAEP,KAAK,CAAC,CAAC,CAAC,KAAC,OAAO,IAAC,WAAW,EAAC,IAAI,EAAC,SAAS,EAAC,MAAM,EAAC,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,EAC1E,YAAY,EAAE,MAAM,CAAC,CAAC,CAAC,YAAY,CAAC,GAAG,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,IAAI,IACnD,CAChB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,eAAe,GAAG,CAAC,QAAiC,EAAE,CAAC,EAAE,EAAE,CAAC,CAChE,cAAmC,SAAS,EAAC,+BAA+B,aACzE,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,CACf,KAAC,GAAG,IACF,SAAS,EAAC,8BAA8B,EACxC,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,KAAK,QACL,KAAK,EAAE,QAAQ,CAAC,IAAI,GACpB,CACH,CAAC,CAAC,CAAC,IAAI,EACP,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,eAAM,SAAS,EAAC,cAAc,YAAE,QAAQ,CAAC,KAAK,GAAQ,CAAC,CAAC,CAAC,IAAI,KAVxE,aAAa,MAAM,CAAC,CAAC,CAAC,EAAE,CAW5B,CACN,CAAC"}
|
|
@@ -1,25 +1,10 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
* @title Иконка
|
|
5
|
-
* @default {
|
|
6
|
-
* "size": {
|
|
7
|
-
* "width": 24,
|
|
8
|
-
* "height": 24
|
|
9
|
-
* },
|
|
10
|
-
* "format": "webp"
|
|
11
|
-
* }
|
|
12
|
-
*/
|
|
13
|
-
icon?: Picture;
|
|
14
|
-
/** @title Текст */
|
|
15
|
-
label?: string;
|
|
16
|
-
}
|
|
1
|
+
import type { IconProps } from '../../model/Picture';
|
|
2
|
+
import type { LabelProps, TitleProps } from '../../model/HeadlineType';
|
|
3
|
+
export declare type OfficeServicesBlockList = LabelProps & IconProps;
|
|
17
4
|
/**
|
|
18
5
|
* @title Офисные услуги
|
|
19
6
|
*/
|
|
20
|
-
export
|
|
21
|
-
/** @title Заголовок */
|
|
22
|
-
title?: string;
|
|
7
|
+
export declare type OfficeServicesBlockContent = TitleProps & {
|
|
23
8
|
/** @title Список услуг */
|
|
24
9
|
servicesList?: OfficeServicesBlockList[];
|
|
25
|
-
}
|
|
10
|
+
};
|
|
@@ -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
|
* @title Элемент списка
|
|
5
6
|
*/
|
|
@@ -17,10 +18,8 @@ export interface BlockItemCommonProps {
|
|
|
17
18
|
/**
|
|
18
19
|
* @title Другие продукты
|
|
19
20
|
*/
|
|
20
|
-
export
|
|
21
|
-
/** @title Заголовок */
|
|
22
|
-
title?: string;
|
|
21
|
+
export declare type OtherProductsContent = TitleProps & {
|
|
23
22
|
/** @title Список */
|
|
24
23
|
blockItems?: BlockItemCommonProps[];
|
|
25
24
|
colorPalette?: ColorPalette;
|
|
26
|
-
}
|
|
25
|
+
};
|
|
@@ -7,7 +7,7 @@ import { Img } from '../../ui-kit/Img/Img.js';
|
|
|
7
7
|
import { addSpacesBetweenNumbers } from '../../utils/addSpacesBetweenNumbers.js';
|
|
8
8
|
import { Headline } from '../Headline/Headline.js';
|
|
9
9
|
export const PictureText = JSX(({ className = '', context, title, description, image, benefits, version = 'primary', sum, monthLimit, directionRight = false, ...rest }) => {
|
|
10
|
-
return (_jsxs(BlockWrapper, { className: `relative font-sans py-12 px-
|
|
10
|
+
return (_jsxs(BlockWrapper, { className: `relative font-sans py-12 px-24 ${VersionStyleMap[version]} ${className}`, context: context, ...rest, children: [_jsx(Headline, { context: context, className: "!p-0", title: title, description: description, headlineVersion: "M", bgColorHeadline: version, align: "center" }), _jsxs("div", { className: 'flex justify-center gap-[122px] mt-[30px]', children: [image?.src ? _jsx(Img, { className: directionRight ? 'order-2' : '', image: image }) : null, _jsxs("div", { className: "w-[558px] m-auto", children: [benefits?.length ? (_jsx("div", { className: "flex flex-col gap-4", children: benefits.map(renderBenefit(version)) })) : null, renderInsuranceSumMonth(sum, monthLimit)] })] })] }));
|
|
11
11
|
});
|
|
12
12
|
const renderBenefit = (version) => (benefit, i) => (_jsx(BenefitItem, { icon: benefit.icon, label: benefit.label, description: benefit.description, version: version }, String(i)));
|
|
13
13
|
function renderInsuranceSumMonth(sum, monthLimit) {
|
|
@@ -1,11 +1,26 @@
|
|
|
1
|
-
import type { ImageContent } from '../../ui-kit/Img/ImgProps';
|
|
2
|
-
import type { BenefitsProps } from '../../ui-kit/BenefitItem/BenefitItemProps';
|
|
3
1
|
import type { HeadlineCommonProps } from '../../model/HeadlineType';
|
|
4
|
-
|
|
2
|
+
import type { Picture } from '../../model/Picture';
|
|
3
|
+
import type { BenefitsProps } from '../../ui-kit/BenefitItem/BenefitItemProps';
|
|
4
|
+
import type { BlockVersion } from '../../model/BlockVersion';
|
|
5
5
|
/**
|
|
6
6
|
* @title Картинка с текстом
|
|
7
7
|
*/
|
|
8
|
-
export interface PictureTextContent extends BenefitsProps,
|
|
8
|
+
export interface PictureTextContent extends BenefitsProps, HeadlineCommonProps {
|
|
9
|
+
/**
|
|
10
|
+
* @default {
|
|
11
|
+
* "format": "webp",
|
|
12
|
+
* "size": {
|
|
13
|
+
* "width": 400
|
|
14
|
+
* },
|
|
15
|
+
* "sources": [{
|
|
16
|
+
* "media": 1279,
|
|
17
|
+
* "width": 240,
|
|
18
|
+
* "format": "webp",
|
|
19
|
+
* "alignment": "center"
|
|
20
|
+
* }]
|
|
21
|
+
* }
|
|
22
|
+
*/
|
|
23
|
+
image?: Picture;
|
|
9
24
|
/**
|
|
10
25
|
* @title Картинка справа/текст слева
|
|
11
26
|
* @default false
|
|
@@ -15,4 +30,5 @@ export interface PictureTextContent extends BenefitsProps, TitleWithImageContent
|
|
|
15
30
|
monthLimit?: number;
|
|
16
31
|
/** @title Страховая сумма */
|
|
17
32
|
sum?: number;
|
|
33
|
+
version?: BlockVersion;
|
|
18
34
|
}
|