@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,21 +1,24 @@
|
|
|
1
1
|
import type { BlockVersion } from '../../model/BlockVersion';
|
|
2
|
+
import type { HeadlineProps } from '../../model/HeadlineType';
|
|
2
3
|
import type { IconVersion } from '../../model/IconVersion';
|
|
3
4
|
import type { LinkProps } from '../../model/LinkProps';
|
|
4
|
-
import type { ButtonContent, BackwardButtonProps } from '../../ui-kit/Button/ButtonProps';
|
|
5
|
-
import type { ListContent } from '../../ui-kit/List/ListContent';
|
|
6
|
-
import type { HeadlineProps } from '../../model/HeadlineType';
|
|
7
|
-
import type { BenefitItemProps } from '../../ui-kit/BenefitItem/BenefitItemProps';
|
|
8
5
|
import type { Picture } from '../../model/Picture';
|
|
6
|
+
import type { BenefitItemProps } from '../../ui-kit/BenefitItem/BenefitItemProps';
|
|
7
|
+
import type { BackwardButtonProps, ButtonContent } from '../../ui-kit/Button/ButtonProps';
|
|
8
|
+
import type { ListContent } from '../../ui-kit/List/ListContent';
|
|
9
9
|
export declare type ProductBlockInnerContent = HeadlineProps & ListContent & ButtonContent & {
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
* {
|
|
11
|
+
* @default {
|
|
12
|
+
* "format": "webp",
|
|
14
13
|
* "size": {
|
|
15
|
-
*
|
|
16
|
-
* "height": 299
|
|
14
|
+
* "width": 600
|
|
17
15
|
* },
|
|
18
|
-
* "
|
|
16
|
+
* "sources": [{
|
|
17
|
+
* "media": 1279,
|
|
18
|
+
* "width": 360,
|
|
19
|
+
* "format": "webp",
|
|
20
|
+
* "alignment": "northeast"
|
|
21
|
+
* }]
|
|
19
22
|
* }
|
|
20
23
|
*/
|
|
21
24
|
image?: Picture;
|
|
@@ -3,17 +3,20 @@ import { JSX } from '@redneckz/uni-jsx';
|
|
|
3
3
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
|
|
4
4
|
import { ButtonSection } from '../../ui-kit/Button/ButtonSection.js';
|
|
5
5
|
import { Img } from '../../ui-kit/Img/Img.js';
|
|
6
|
-
import { getTileMinHeight } from '../BaseTile/getTileMinHeight.js';
|
|
7
6
|
import { getTileRightPadding } from '../BaseTile/getTileRightPadding.js';
|
|
8
7
|
import { Headline } from '../Headline/Headline.js';
|
|
9
8
|
import { VersionStyleMap } from '../../model/BlockVersion.js';
|
|
10
9
|
export const ProductTile = JSX(({ context, className = '', title, headlineVersion = 'S', description, additionalDescription, benefits = [], buttons, image, version = 'primary', ...rest }) => {
|
|
11
|
-
return (_jsxs(BlockWrapper, { context: context, className: `overflow-hidden font-sans p-9 box-border relative justify-between grid
|
|
10
|
+
return (_jsxs(BlockWrapper, { context: context, className: `overflow-hidden font-sans p-9 box-border relative justify-between grid min-h-[364px]
|
|
11
|
+
${className} ${VersionStyleMap[version]} ${getTileRightPadding(className)}`, ...rest, children: [_jsx(Headline, { context: context, className: `!p-0 !bg-transparent z-10 ${title || description ? 'mb-3.5' : ''}`, as: "h2", title: title, description: description, headlineVersion: headlineVersion, bgColorHeadline: version, align: "left" }), renderBenefits(benefits, version, image), additionalDescription
|
|
12
|
+
? renderAdditionalDescription(additionalDescription, image, version)
|
|
13
|
+
: null, buttons?.length ? (_jsx(ButtonSection, { context: context, buttons: buttons, className: "flex self-end mt-5 gap-4 z-10 text-l" })) : null, image?.src ? _jsx(Img, { className: "absolute right-0 bottom-0", image: image }) : null] }));
|
|
12
14
|
});
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
return (_jsx("div", { className: `z-10 grid grid-cols-[max-content_1fr] auto-rows-auto gap-x-6 gap-y-2.5 items-baseline
|
|
15
|
+
function renderBenefits(benefits, version, image) {
|
|
16
|
+
// picture width = 242px. Text can overlay picture 20px deep. Outer paddings_x = 36px. 242-36-20 = 186px
|
|
17
|
+
const BENEFITS_WIDTH = image?.src ? 'max-w-[calc(100%-186px)]' : '100%';
|
|
18
|
+
return (_jsx("div", { className: `z-10 grid grid-cols-[max-content_1fr] auto-rows-auto gap-x-6 gap-y-2.5 items-baseline
|
|
19
|
+
${BENEFITS_WIDTH}`, children: benefits.length ? benefits.map(renderBenefit(version)) : null }));
|
|
17
20
|
}
|
|
18
21
|
function renderBenefit(version = 'primary') {
|
|
19
22
|
const labelStyleMap = {
|
|
@@ -28,11 +31,13 @@ function renderBenefit(version = 'primary') {
|
|
|
28
31
|
];
|
|
29
32
|
};
|
|
30
33
|
}
|
|
31
|
-
function renderAdditionalDescription(additionalDescription, version = 'primary') {
|
|
34
|
+
function renderAdditionalDescription(additionalDescription, image, version = 'primary') {
|
|
32
35
|
const descStyleMap = {
|
|
33
36
|
primary: 'text-secondary-text',
|
|
34
37
|
secondary: 'text-white',
|
|
35
38
|
};
|
|
36
|
-
|
|
39
|
+
// picture width = 242px. Text can overlay picture 20px deep. Outer paddings_x = 36px. 242-36-20 = 186px
|
|
40
|
+
const DESCRIPTION_WIDTH = image?.src ? 'max-w-[calc(100%-186px)]' : '100%';
|
|
41
|
+
return (_jsx("div", { className: `text-m-light mt-2.5 z-10 ${DESCRIPTION_WIDTH} ${descStyleMap[version]}`, children: additionalDescription }));
|
|
37
42
|
}
|
|
38
43
|
//# sourceMappingURL=ProductTile.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProductTile.js","sourceRoot":"","sources":["../../../src/components/ProductTile/ProductTile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,C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jD,OAAO;YACL,cAAwB,SAAS,EAAC,SAAS,YACxC,KAAK,IADE,SAAS,CAAC,EAAE,CAEhB;YACN,cAAuB,SAAS,EAAE,gBAAgB,aAAa,CAAC,OAAO,CAAC,EAAE,YACvE,WAAW,IADJ,QAAQ,CAAC,EAAE,CAEf;SACP,CAAC;IACJ,CAAC,CAAC;AACJ,CAAC;AAED,SAAS,2BAA2B,CAClC,qBAA6B,EAC7B,KAAe,EACf,UAAwB,SAAS;IAEjC,MAAM,YAAY,GAAiC;QACjD,OAAO,EAAE,qBAAqB;QAC9B,SAAS,EAAE,YAAY;KACxB,CAAC;IAEF,wGAAwG;IACxG,MAAM,iBAAiB,GAAG,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,0BAA0B,CAAC,CAAC,CAAC,MAAM,CAAC;IAE3E,OAAO,CACL,cAAK,SAAS,EAAE,4BAA4B,iBAAiB,IAAI,YAAY,CAAC,OAAO,CAAC,EAAE,YACrF,qBAAqB,GAClB,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -1,17 +1,27 @@
|
|
|
1
1
|
import type { BlockVersion } from '../../model/BlockVersion';
|
|
2
|
+
import type { DescriptionProps, HeadlineProps, LabelProps } from '../../model/HeadlineType';
|
|
3
|
+
import type { Picture } from '../../model/Picture';
|
|
2
4
|
import type { ButtonContent } from '../../ui-kit/Button/ButtonProps';
|
|
3
|
-
|
|
4
|
-
import type { ImageContent } from '../../ui-kit/Img/ImgProps';
|
|
5
|
-
export interface TextBenefit {
|
|
6
|
-
/** @title Название */
|
|
7
|
-
label?: string;
|
|
8
|
-
/** @title Описание */
|
|
9
|
-
description?: string;
|
|
10
|
-
}
|
|
5
|
+
export declare type TextBenefit = DescriptionProps & LabelProps;
|
|
11
6
|
/**
|
|
12
7
|
* @title Продуктовая плитка
|
|
13
8
|
*/
|
|
14
|
-
export declare type ProductTileContent = HeadlineProps & ButtonContent &
|
|
9
|
+
export declare type ProductTileContent = HeadlineProps & ButtonContent & {
|
|
10
|
+
/**
|
|
11
|
+
* @default {
|
|
12
|
+
* "format": "webp",
|
|
13
|
+
* "size": {
|
|
14
|
+
* "width": 320
|
|
15
|
+
* },
|
|
16
|
+
* "sources": [{
|
|
17
|
+
* "media": 1279,
|
|
18
|
+
* "width": 192,
|
|
19
|
+
* "format": "webp",
|
|
20
|
+
* "alignment": "southeast"
|
|
21
|
+
* }]
|
|
22
|
+
* }
|
|
23
|
+
*/
|
|
24
|
+
image?: Picture;
|
|
15
25
|
version?: BlockVersion;
|
|
16
26
|
/**
|
|
17
27
|
* @title Преимущества
|
|
@@ -1,14 +1,32 @@
|
|
|
1
1
|
import type { BlockVersion } from '../../model/BlockVersion';
|
|
2
2
|
import type { HeadlineCommonProps, TitleProps } from '../../model/HeadlineType';
|
|
3
3
|
import type { LinkCommonProps } from '../../model/LinkProps';
|
|
4
|
-
import type {
|
|
4
|
+
import type { Picture } from '../../model/Picture';
|
|
5
5
|
import type { ListContent } from '../../ui-kit/List/ListContent';
|
|
6
|
-
|
|
6
|
+
/**
|
|
7
|
+
* @title Карточка
|
|
8
|
+
*/
|
|
9
|
+
export interface RecommendationCardTypes extends HeadlineCommonProps, ListContent {
|
|
7
10
|
/**
|
|
8
11
|
* @title Соц сети
|
|
9
12
|
* @minItems 3
|
|
10
13
|
*/
|
|
11
14
|
socialMedia?: LinkCommonProps[];
|
|
15
|
+
/**
|
|
16
|
+
* @default {
|
|
17
|
+
* "format": "webp",
|
|
18
|
+
* "size": {
|
|
19
|
+
* "width": 290
|
|
20
|
+
* },
|
|
21
|
+
* "sources": [{
|
|
22
|
+
* "media": 1279,
|
|
23
|
+
* "width": 174,
|
|
24
|
+
* "format": "webp",
|
|
25
|
+
* "alignment": "southeast"
|
|
26
|
+
* }]
|
|
27
|
+
* }
|
|
28
|
+
*/
|
|
29
|
+
image?: Picture;
|
|
12
30
|
}
|
|
13
31
|
/**
|
|
14
32
|
* @title Рекомендации
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
3
|
import { useState } from '@redneckz/uni-jsx/lib/hooks';
|
|
4
|
-
import { useScript } from '../../hooks/useScript.js';
|
|
5
|
-
import { projectSettings } from '../../ProjectSettings.js';
|
|
6
4
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
|
|
7
5
|
import { Heading } from '../../ui-kit/Heading/Heading.js';
|
|
8
6
|
import { SafeDepositRentalForm } from './SafeDepositRentalForm.js';
|
|
@@ -12,12 +10,9 @@ export const SafeDepositRental = JSX(({ title, footnote, context, className = ''
|
|
|
12
10
|
const [points, setPoints] = useState([]);
|
|
13
11
|
const [showMap, setShowMap] = useState(false);
|
|
14
12
|
const regions = useGetRegions();
|
|
15
|
-
const statusScript = useScript(`https://api-maps.yandex.ru/2.1/?apikey=${projectSettings.YANDEX_MAP_API_KEY}&lang=ru_RU`, {
|
|
16
|
-
removeOnUnmount: true,
|
|
17
|
-
});
|
|
18
13
|
const toggleShowMap = () => {
|
|
19
14
|
setShowMap(!showMap);
|
|
20
15
|
};
|
|
21
|
-
return (_jsxs(BlockWrapper, { context: context, className: className, ...rest, children: [_jsxs("div", { className: "bg-white px-8 py-12", children: [title ? (_jsx(Heading, { title: title, headingType: "h3", as: "h2", className: "mb-2.5 text-center" })) : null, _jsx(SafeDepositRentalForm, { regions: regions, setPoints: setPoints, toggleShowMap: toggleShowMap }), footnote ? _jsx("p", { className: "text-s-light text-secondary-text", children: footnote }) : null] }),
|
|
16
|
+
return (_jsxs(BlockWrapper, { context: context, className: className, ...rest, children: [_jsxs("div", { className: "bg-white px-8 py-12", children: [title ? (_jsx(Heading, { title: title, headingType: "h3", as: "h2", className: "mb-2.5 text-center" })) : null, _jsx(SafeDepositRentalForm, { regions: regions, setPoints: setPoints, toggleShowMap: toggleShowMap }), footnote ? _jsx("p", { className: "text-s-light text-secondary-text", children: footnote }) : null] }), points.length && showMap ? _jsx(YandexMap, { points: points }) : null] }));
|
|
22
17
|
});
|
|
23
18
|
//# sourceMappingURL=SafeDepositRental.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SafeDepositRental.js","sourceRoot":"","sources":["../../../src/components/SafeDepositRental/SafeDepositRental.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"SafeDepositRental.js","sourceRoot":"","sources":["../../../src/components/SafeDepositRental/SafeDepositRental.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAEvD,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AAEvD,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAIxC,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,CAClC,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,SAAS,GAAG,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IACxD,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,QAAQ,CAAa,EAAE,CAAC,CAAC;IACrD,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,QAAQ,CAAU,KAAK,CAAC,CAAC;IAEvD,MAAM,OAAO,GAAG,aAAa,EAAE,CAAC;IAEhC,MAAM,aAAa,GAAG,GAAG,EAAE;QACzB,UAAU,CAAC,CAAC,OAAO,CAAC,CAAC;IACvB,CAAC,CAAC;IAEF,OAAO,CACL,MAAC,YAAY,IAAC,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,SAAS,KAAM,IAAI,aAC5D,eAAK,SAAS,EAAC,qBAAqB,aACjC,KAAK,CAAC,CAAC,CAAC,CACP,KAAC,OAAO,IAAC,KAAK,EAAE,KAAK,EAAE,WAAW,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,SAAS,EAAC,oBAAoB,GAAG,CAClF,CAAC,CAAC,CAAC,IAAI,EACR,KAAC,qBAAqB,IACpB,OAAO,EAAE,OAAO,EAChB,SAAS,EAAE,SAAS,EACpB,aAAa,EAAE,aAAa,GAC5B,EACD,QAAQ,CAAC,CAAC,CAAC,YAAG,SAAS,EAAC,kCAAkC,YAAE,QAAQ,GAAK,CAAC,CAAC,CAAC,IAAI,IAC7E,EACL,MAAM,CAAC,MAAM,IAAI,OAAO,CAAC,CAAC,CAAC,KAAC,SAAS,IAAC,MAAM,EAAE,MAAM,GAAI,CAAC,CAAC,CAAC,IAAI,IACnD,CAChB,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import type { Footnote } from '../../model/Footnote';
|
|
2
|
+
import type { TitleProps } from '../../model/HeadlineType';
|
|
1
3
|
/**
|
|
2
4
|
* @title Аренда сейфовых ячеек
|
|
3
5
|
*/
|
|
4
|
-
export
|
|
5
|
-
/** @title Заголовок */
|
|
6
|
-
title?: string;
|
|
6
|
+
export declare type SafeDepositRentalContent = Footnote & TitleProps & {
|
|
7
7
|
/** @title Сноска */
|
|
8
8
|
footnote?: string;
|
|
9
|
-
}
|
|
9
|
+
};
|
|
@@ -1,21 +1,28 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
-
import { useEffect } from '@redneckz/uni-jsx/lib/hooks';
|
|
3
|
+
import { useEffect, useRef } from '@redneckz/uni-jsx/lib/hooks';
|
|
4
4
|
import { Heading } from '../../ui-kit/Heading/Heading.js';
|
|
5
5
|
import { renderClusterer } from './renderClusterer.js';
|
|
6
|
-
|
|
6
|
+
import { useYandexMaps } from './useYandexMaps.js';
|
|
7
7
|
export const YandexMap = JSX(({ points }) => {
|
|
8
|
+
const map = useRef(null);
|
|
9
|
+
const yandexMaps = useYandexMaps();
|
|
8
10
|
useEffect(() => {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
+
yandexMaps?.ready(() => {
|
|
12
|
+
map.current = new yandexMaps.Map('map', {
|
|
11
13
|
center: points[0],
|
|
12
14
|
zoom: 10,
|
|
13
15
|
});
|
|
14
|
-
renderClusterer(
|
|
16
|
+
renderClusterer(yandexMaps, map.current, points);
|
|
15
17
|
});
|
|
16
|
-
}, []);
|
|
17
|
-
|
|
18
|
-
|
|
18
|
+
}, [yandexMaps]);
|
|
19
|
+
useEffect(() => {
|
|
20
|
+
if (map.current && points && yandexMaps) {
|
|
21
|
+
renderClusterer(yandexMaps, map.current, points);
|
|
22
|
+
}
|
|
23
|
+
}, [map, points, yandexMaps]);
|
|
24
|
+
if (!yandexMaps) {
|
|
25
|
+
return null;
|
|
19
26
|
}
|
|
20
27
|
return (_jsxs("div", { className: "pt-12 mt-1 bg-white", children: [_jsx(Heading, { title: "\u041E\u0444\u0438\u0441\u044B \u043D\u0430 \u043A\u0430\u0440\u0442\u0435", headingType: "h3", className: "mb-8 text-center" }), _jsx("div", { id: "map", className: "h-[640px]" })] }));
|
|
21
28
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"YandexMap.js","sourceRoot":"","sources":["../../../src/components/SafeDepositRental/YandexMap.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"YandexMap.js","sourceRoot":"","sources":["../../../src/components/SafeDeposit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EAAgB,EAAC,WAAW,EAAC,IAAI,EAAC,SAAS,EAAC,kBAAkB,GAAG,EAChF,cAAK,EAAE,EAAC,KAAK,EAAC,SAAS,EAAC,WAAW,GAAG,IAClC,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import ymaps from 'yandex-maps';
|
|
2
|
+
export declare function renderClusterer(yandexMaps: typeof ymaps, map: ymaps.Map, points: number[][]): void;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
export function renderClusterer(
|
|
2
|
-
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
const clusterer = new ymaps.Clusterer({
|
|
1
|
+
export function renderClusterer(yandexMaps, map, points) {
|
|
2
|
+
map.geoObjects.removeAll();
|
|
3
|
+
const clusterIconContentLayout = yandexMaps.templateLayoutFactory.createClass('<div style="margin-top: -3px;">{{properties.geoObjects.length}}</div>');
|
|
4
|
+
const clusterer = new yandexMaps.Clusterer({
|
|
6
5
|
clusterIcons: [
|
|
7
6
|
{
|
|
8
7
|
href: 'icons/MapMarkerClusterIcon.svg',
|
|
@@ -14,20 +13,19 @@ export function renderClusterer(Map, points) {
|
|
|
14
13
|
clusterHideIconOnBalloonOpen: false,
|
|
15
14
|
geoObjectHideIconOnBalloonOpen: false,
|
|
16
15
|
});
|
|
17
|
-
const geoObjects =
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
iconImageOffset: [-35, -50],
|
|
24
|
-
});
|
|
25
|
-
}
|
|
16
|
+
const geoObjects = points.map((point) => new yandexMaps.Placemark(point, {}, {
|
|
17
|
+
iconLayout: 'default#image',
|
|
18
|
+
iconImageHref: 'icons/MapMarkerSingleIcon.svg',
|
|
19
|
+
iconImageSize: [78, 84],
|
|
20
|
+
iconImageOffset: [-35, -50],
|
|
21
|
+
}));
|
|
26
22
|
clusterer.add(geoObjects);
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
23
|
+
map.geoObjects.add(clusterer);
|
|
24
|
+
// TODO: Fix
|
|
25
|
+
// @ts-ignore
|
|
26
|
+
map.setBounds(yandexMaps.util.bounds.fromPoints(points)).then(() => {
|
|
27
|
+
if (map.getZoom() > 10) {
|
|
28
|
+
map.setZoom(10);
|
|
31
29
|
}
|
|
32
30
|
});
|
|
33
31
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderClusterer.js","sourceRoot":"","sources":["../../../src/components/SafeDepositRental/renderClusterer.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"renderClusterer.js","sourceRoot":"","sources":["../../../src/components/SafeDepositRental/renderClusterer.ts"],"names":[],"mappings":"AAKA,MAAM,UAAU,eAAe,CAAC,UAAwB,EAAE,GAAc,EAAE,MAAkB;IAC1F,GAAG,CAAC,UAAU,CAAC,SAAS,EAAE,CAAC;IAE3B,MAAM,wBAAwB,GAAG,UAAU,CAAC,qBAAqB,CAAC,WAAW,CAC3E,uEAAuE,CACxE,CAAC;IAEF,MAAM,SAAS,GAAG,IAAI,UAAU,CAAC,SAAS,CAAC;QACzC,YAAY,EAAE;YACZ;gBACE,IAAI,EAAE,gCAAgC;gBACtC,IAAI,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC;gBACd,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,EAAE,CAAC;aACnB;SACF;QACD,wBAAwB;QACxB,4BAA4B,EAAE,KAAK;QACnC,8BAA8B,EAAE,KAAK;KACX,CAAC,CAAC;IAE9B,MAAM,UAAU,GAAG,MAAM,CAAC,GAAG,CAC3B,CAAC,KAAK,EAAE,EAAE,CACR,IAAI,UAAU,CAAC,SAAS,CACtB,KAAK,EACL,EAAE,EACF;QACE,UAAU,EAAE,eAAe;QAC3B,aAAa,EAAE,+BAA+B;QAC9C,aAAa,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC;QACvB,eAAe,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,EAAE,CAAC;KAC5B,CACF,CACJ,CAAC;IAEF,SAAS,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;IAE1B,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,SAAgB,CAAC,CAAC;IAErC,YAAY;IACZ,aAAa;IACb,GAAG,CAAC,SAAS,CAAC,UAAU,CAAC,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE;QACjE,IAAI,GAAG,CAAC,OAAO,EAAE,GAAG,EAAE,EAAE;YACtB,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;SACjB;IACH,CAAC,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { useExternalNS } from '../../hooks/useExternalNS.js';
|
|
2
|
+
import { projectSettings } from '../../ProjectSettings.js';
|
|
3
|
+
const YMAPS_NAMESPACE = 'ymaps';
|
|
4
|
+
export const useYandexMaps = () => {
|
|
5
|
+
const url = `https://api-maps.yandex.ru/2.1/?apikey=${projectSettings.YANDEX_MAP_API_KEY}&lang=ru_RU`;
|
|
6
|
+
const yandexMaps = useExternalNS(YMAPS_NAMESPACE, url);
|
|
7
|
+
return yandexMaps;
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=useYandexMaps.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useYandexMaps.js","sourceRoot":"","sources":["../../../src/components/SafeDepositRental/useYandexMaps.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAExD,MAAM,eAAe,GAAG,OAAO,CAAC;AAEhC,MAAM,CAAC,MAAM,aAAa,GAAG,GAAG,EAAE;IAChC,MAAM,GAAG,GAAG,0CAA0C,eAAe,CAAC,kBAAkB,aAAa,CAAC;IAEtG,MAAM,UAAU,GAAG,aAAa,CAAe,eAAe,EAAE,GAAG,CAAC,CAAC;IAErE,OAAO,UAAU,CAAC;AACpB,CAAC,CAAC"}
|
|
@@ -1,38 +1,19 @@
|
|
|
1
1
|
import type { BlockVersion } from '../../model/BlockVersion';
|
|
2
|
-
import type {
|
|
2
|
+
import type { IconProps } from '../../model/Picture';
|
|
3
3
|
import type { SizeVersion } from '../../model/SizeVersion';
|
|
4
4
|
import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
|
|
5
|
+
import type { DescriptionProps, HeadlineCommonProps, LabelProps } from '../../model/HeadlineType';
|
|
5
6
|
/**
|
|
6
7
|
* @title Шаг
|
|
7
8
|
*/
|
|
8
|
-
export
|
|
9
|
-
/** @title Название */
|
|
10
|
-
label?: string;
|
|
11
|
-
/** @title Описание */
|
|
12
|
-
description?: string;
|
|
13
|
-
/**
|
|
14
|
-
* @title Иконка
|
|
15
|
-
* @default
|
|
16
|
-
* {
|
|
17
|
-
* "size": {
|
|
18
|
-
* "width": 48,
|
|
19
|
-
* "height": 48
|
|
20
|
-
* },
|
|
21
|
-
* "format": "webp"
|
|
22
|
-
* }
|
|
23
|
-
*/
|
|
24
|
-
icon?: Picture;
|
|
9
|
+
export declare type Step = DescriptionProps & LabelProps & IconProps & {
|
|
25
10
|
/** @title Кнопка */
|
|
26
11
|
button?: ButtonWithIconProps;
|
|
27
|
-
}
|
|
12
|
+
};
|
|
28
13
|
/**
|
|
29
14
|
* @title Блок шаги
|
|
30
15
|
*/
|
|
31
|
-
export
|
|
32
|
-
/** @title Заголовок */
|
|
33
|
-
title?: string;
|
|
34
|
-
/** @title Описание */
|
|
35
|
-
description?: string;
|
|
16
|
+
export declare type StepsBlockContent = HeadlineCommonProps & {
|
|
36
17
|
/**
|
|
37
18
|
* @title Линии
|
|
38
19
|
* @default true
|
|
@@ -52,4 +33,4 @@ export interface StepsBlockContent {
|
|
|
52
33
|
*/
|
|
53
34
|
size?: SizeVersion;
|
|
54
35
|
version?: BlockVersion;
|
|
55
|
-
}
|
|
36
|
+
};
|
|
@@ -1,23 +1,26 @@
|
|
|
1
1
|
import type { LinkProps } from '../../model/LinkProps';
|
|
2
|
+
import type { TitleProps } from '../../model/HeadlineType';
|
|
2
3
|
/**
|
|
3
4
|
* @title Группа
|
|
4
5
|
*/
|
|
5
|
-
export
|
|
6
|
+
export declare type GroupTab = TitleProps & {
|
|
7
|
+
/** @default group */
|
|
6
8
|
type: 'group';
|
|
7
9
|
/** @title Тег */
|
|
8
10
|
ref?: string;
|
|
9
|
-
|
|
10
|
-
title?: string;
|
|
11
|
-
}
|
|
11
|
+
};
|
|
12
12
|
/**
|
|
13
13
|
* @title Ссылка
|
|
14
14
|
*/
|
|
15
15
|
export declare type LinkTab = LinkProps & {
|
|
16
|
+
/** @default link */
|
|
16
17
|
type: 'link';
|
|
17
18
|
};
|
|
18
19
|
/**
|
|
19
20
|
* @title Таб
|
|
20
|
-
* @default {
|
|
21
|
+
* @default {
|
|
22
|
+
* "type": "group"
|
|
23
|
+
* }
|
|
21
24
|
*/
|
|
22
25
|
export declare type Tab = GroupTab | LinkTab;
|
|
23
26
|
/**
|
|
@@ -3,9 +3,6 @@ import type { ButtonContent } from '../../ui-kit/Button/ButtonProps';
|
|
|
3
3
|
import type { ImageContent } from '../../ui-kit/Img/ImgProps';
|
|
4
4
|
import type { ListProps } from '../../ui-kit/List/ListProps';
|
|
5
5
|
import type { LabelDescriptionCell } from './TariffsTableContent';
|
|
6
|
-
export interface LabelProps {
|
|
7
|
-
label?: string;
|
|
8
|
-
}
|
|
9
6
|
export declare type EmbeddableCellDataType = ButtonContent | LabelDescriptionCell | ImageContent | ListProps;
|
|
10
7
|
export declare const EmbeddableCellData: {
|
|
11
8
|
Buttons: ({ buttons }: ButtonContent) => JSX.Element | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmbeddableCellData.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/EmbeddableCellData.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import type { DescriptionProps } from '../../model/HeadlineType';
|
|
2
|
+
import type { DescriptionProps, LabelProps } from '../../model/HeadlineType';
|
|
3
3
|
import type { ListOrientation } from '../../model/ListOrientation';
|
|
4
4
|
import type { Picture } from '../../model/Picture';
|
|
5
5
|
import type { ButtonContent } from '../../ui-kit/Button/ButtonProps';
|
|
6
6
|
import type { HeadingProps } from '../../ui-kit/Heading/HeadingProps';
|
|
7
|
-
import type { ImageContent } from '../../ui-kit/Img/ImgProps';
|
|
8
7
|
import type { TariffsTableInnerContent } from '../../ui-kit/InnerTable/InnerTableProps';
|
|
9
8
|
import type { ListProps } from '../../ui-kit/List/ListProps';
|
|
10
9
|
/**
|
|
@@ -16,74 +15,58 @@ export interface TariffsTableCellIndexProps {
|
|
|
16
15
|
fieldIdx: number;
|
|
17
16
|
}
|
|
18
17
|
/**
|
|
19
|
-
* @
|
|
20
|
-
*/
|
|
21
|
-
export declare type TariffsTableRowHeader = HeadingProps & {
|
|
22
|
-
/**
|
|
23
|
-
* @default { "format": "webp", "size": { "width": 24, "height": 24 } }
|
|
24
|
-
*/
|
|
25
|
-
icon?: Picture;
|
|
26
|
-
};
|
|
27
|
-
/**
|
|
28
|
-
* @title Ряд
|
|
18
|
+
* @hidden
|
|
29
19
|
*/
|
|
30
20
|
export declare type Data = {
|
|
31
21
|
header: TariffsTableRowHeader;
|
|
32
22
|
data: CellDef[][];
|
|
33
23
|
};
|
|
24
|
+
/**
|
|
25
|
+
* @title Параметр
|
|
26
|
+
*/
|
|
27
|
+
export declare type TariffsTableRowHeader = HeadingProps & {
|
|
28
|
+
/** @default { "format": "webp", "size": { "width": 24, "height": 24 } } */
|
|
29
|
+
icon?: Picture;
|
|
30
|
+
};
|
|
34
31
|
/**
|
|
35
32
|
* @title Изображение
|
|
36
|
-
* @default { "image": { "format": "webp", "size": { "width": 24, "height": 24 } } }
|
|
37
33
|
*/
|
|
38
|
-
export declare type ImageCellDef =
|
|
39
|
-
/**
|
|
40
|
-
* @default Img
|
|
41
|
-
*/
|
|
34
|
+
export declare type ImageCellDef = {
|
|
35
|
+
/** @default Img */
|
|
42
36
|
tableCellType: 'Img';
|
|
37
|
+
/** @default { "format": "webp", "size": { "width": 24, "height": 24 } } */
|
|
38
|
+
image?: Picture;
|
|
43
39
|
};
|
|
44
40
|
/**
|
|
45
41
|
* @title Кнопки
|
|
46
42
|
*/
|
|
47
43
|
export declare type ButtonsCellDef = ButtonContent & {
|
|
48
|
-
/**
|
|
49
|
-
* @default Buttons
|
|
50
|
-
*/
|
|
44
|
+
/** @default Buttons */
|
|
51
45
|
tableCellType: 'Buttons';
|
|
52
46
|
};
|
|
53
47
|
/**
|
|
54
48
|
* @title Заголовок и описание
|
|
55
49
|
*/
|
|
56
|
-
export
|
|
57
|
-
/** @title Заголовок */
|
|
58
|
-
label?: string;
|
|
59
|
-
/** @title Описание */
|
|
60
|
-
description?: string;
|
|
61
|
-
}
|
|
50
|
+
export declare type LabelDescriptionCell = LabelProps & DescriptionProps;
|
|
62
51
|
/**
|
|
63
52
|
* @title Заголовок и описание
|
|
64
53
|
*/
|
|
65
54
|
export declare type LabelDescriptionCellDef = LabelDescriptionCell & {
|
|
66
|
-
/**
|
|
67
|
-
* @default LabelDescription
|
|
68
|
-
*/
|
|
55
|
+
/** @default LabelDescription */
|
|
69
56
|
tableCellType: 'LabelDescription';
|
|
70
57
|
};
|
|
71
58
|
/**
|
|
72
59
|
* @title Список
|
|
73
60
|
*/
|
|
74
|
-
export declare type ListBlockDef = ListProps & {
|
|
75
|
-
/**
|
|
76
|
-
* @default List
|
|
77
|
-
*/
|
|
61
|
+
export declare type ListBlockDef = Omit<ListProps, 'listItemSize' | 'version'> & {
|
|
62
|
+
/** @default List */
|
|
78
63
|
tableCellType: 'List';
|
|
79
64
|
};
|
|
80
65
|
/**
|
|
81
66
|
* @title Таблица
|
|
82
67
|
*/
|
|
83
68
|
export declare type InnerTableBlockDef = TariffsTableInnerContent & {
|
|
84
|
-
/**
|
|
85
|
-
* @default Table
|
|
86
|
-
*/
|
|
69
|
+
/** @default Table */
|
|
87
70
|
tableCellType: 'Table';
|
|
88
71
|
};
|
|
89
72
|
/**
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
+
import { Heading } from '../../ui-kit/Heading/Heading.js';
|
|
3
4
|
import { Img } from '../../ui-kit/Img/Img.js';
|
|
4
5
|
import { TableCarouselContainer } from '../ComparisonTable/TableCarouselContainer.js';
|
|
5
6
|
import { COLUMN_WIDTH, DIVIDER_CLASSES, FIRST_CELL_CLASSES } from './constants.js';
|
|
6
7
|
import { TariffsTableCell } from './TariffsTableCell.js';
|
|
7
8
|
import { TariffsTableRowContainer } from './TariffsTableRowContainer.js';
|
|
8
9
|
export const TariffsTableRow = JSX(({ row: { header, data }, activeCardIndex, isLastRow, context, rowIdx }) => {
|
|
9
|
-
return (_jsxs(TariffsTableRowContainer, { context: context, rowIdx: rowIdx, children: [_jsx("div", { className: `text-s py-5 ${FIRST_CELL_CLASSES} ${DIVIDER_CLASSES} ${!isLastRow ? 'border-solid' : ''}`, children: _jsxs("div", { className: "flex items-center text-primary-text", role: "cell", children: [header?.icon ? (_jsx(Img, { className: "mr-[14px] max-w-6 max-h-6", image: header.icon, width: "24px", height: "24px", asSVG: true })) : null, header?.title] }) }), data?.length ? (_jsx(TableCarouselContainer, { activeCardIndex: activeCardIndex, columnWidth: COLUMN_WIDTH, version: "tariff", children: data.map((cells, i) => (_jsx(TariffsTableCell, { cells: cells, isLastRow: isLastRow, rowIdx: rowIdx, cellIdx: i, context: context }, String(i)))) })) : null] }));
|
|
10
|
+
return (_jsxs(TariffsTableRowContainer, { context: context, rowIdx: rowIdx, children: [_jsx("div", { className: `text-s py-5 ${FIRST_CELL_CLASSES} ${DIVIDER_CLASSES} ${!isLastRow ? 'border-solid' : ''}`, children: _jsxs("div", { className: "flex items-center text-primary-text", role: "cell", children: [header?.icon ? (_jsx(Img, { className: "mr-[14px] max-w-6 max-h-6", image: header.icon, width: "24px", height: "24px", asSVG: true })) : null, header?.title ? (_jsx(Heading, { headingType: header?.headingType || 'h6', as: "h6", title: header?.title })) : null] }) }), data?.length ? (_jsx(TableCarouselContainer, { activeCardIndex: activeCardIndex, columnWidth: COLUMN_WIDTH, version: "tariff", children: data.map((cells, i) => (_jsx(TariffsTableCell, { cells: cells, isLastRow: isLastRow, rowIdx: rowIdx, cellIdx: i, context: context }, String(i)))) })) : null] }));
|
|
10
11
|
});
|
|
11
12
|
//# sourceMappingURL=TariffsTableRow.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TariffsTableRow.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/TariffsTableRow.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,sBAAsB,EAAE,MAAM,2CAA2C,CAAC;AACnF,OAAO,EAAE,YAAY,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAChF,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEtD,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAStE,MAAM,CAAC,MAAM,eAAe,GAAG,GAAG,CAChC,CAAC,EAAE,GAAG,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,eAAe,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,EAAE;IACzE,OAAO,CACL,MAAC,wBAAwB,IAAC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,aACxD,cACE,SAAS,EAAE,eAAe,kBAAkB,IAAI,eAAe,IAC7D,CAAC,SAAS,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,EAChC,E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,IAAI,CAAC,CAAC,CAAC,CACd,KAAC,GAAG,IACF,SAAS,EAAC,2BAA2B,EACrC,KAAK,EAAE,MAAM,CAAC,IAAI,EAClB,KAAK,EAAC,MAAM,EACZ,MAAM,EAAC,MAAM,EACb,KAAK,SACL,CACH,CAAC,CAAC,CAAC,IAAI,EACP,MAAM,EAAE,KAAK,CAAC,CAAC,CAAC,CACf,KAAC,OAAO,IAAC,WAAW,EAAE,MAAM,EAAE,WAAW,IAAI,IAAI,EAAE,EAAE,EAAC,IAAI,EAAC,KAAK,EAAE,MAAM,EAAE,KAAK,GAAI,CACpF,CAAC,CAAC,CAAC,IAAI,IACJ,GACF,EACL,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,CACd,KAAC,sBAAsB,IACrB,eAAe,EAAE,eAAe,EAChC,WAAW,EAAE,YAAY,EACzB,OAAO,EAAC,QAAQ,YAEf,IAAI,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,CAAC,EAAE,EAAE,CAAC,CACtB,KAAC,gBAAgB,IAEf,KAAK,EAAE,KAAK,EACZ,SAAS,EAAE,SAAS,EACpB,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,CAAC,EACV,OAAO,EAAE,OAAO,IALX,MAAM,CAAC,CAAC,CAAC,CAMd,CACH,CAAC,GACqB,CAC1B,CAAC,CAAC,CAAC,IAAI,IACiB,CAC5B,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { Picture } from '../../model/Picture';
|
|
2
|
+
import type { HeadlineCommonProps } from '../../model/HeadlineType';
|
|
2
3
|
/**
|
|
3
4
|
* @title Цвет блока
|
|
4
5
|
* @enumNames ["Основная", "Второстепенная", "Второстепенная прозрачная"]
|
|
@@ -12,14 +13,10 @@ export declare type TextBlockIconVersion = 'none' | 'small' | 'big';
|
|
|
12
13
|
/**
|
|
13
14
|
* @title Текстовый блок
|
|
14
15
|
*/
|
|
15
|
-
export
|
|
16
|
-
/** @title Заголовок */
|
|
17
|
-
title?: string;
|
|
18
|
-
/** @title Описание */
|
|
19
|
-
description?: string;
|
|
16
|
+
export declare type TextBlockContent = HeadlineCommonProps & {
|
|
20
17
|
iconVersion?: TextBlockIconVersion;
|
|
21
18
|
image?: Picture;
|
|
22
19
|
blockVersion?: TextBlockVersion;
|
|
23
20
|
/** @title Буллиты */ isDotted?: boolean;
|
|
24
21
|
/** @title Список (моб.) */ items?: string[];
|
|
25
|
-
}
|
|
22
|
+
};
|