@redneckz/wildless-cms-uni-blocks 0.8.21 → 0.8.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/migration-scripts/0.8.23.js +31 -0
- package/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +38 -73
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +2 -1
- package/bundle/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -4
- package/bundle/components/Bonus/BonusContent.d.ts +4 -4
- package/bundle/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +2 -1
- package/bundle/components/BusinessBlock/BusinessBlockContent.d.ts +8 -10
- package/bundle/components/CardTransfer/CardTransferContent.d.ts +2 -1
- package/bundle/components/Carousel/CarouselContent.d.ts +3 -2
- package/bundle/components/CarouselBankHistoryCard/CarouselBankHistoryCardContent.d.ts +3 -6
- package/bundle/components/CarouselCard/CarouselCardContent.d.ts +4 -3
- package/bundle/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +2 -3
- package/bundle/components/CarouselEventCard/CarouselEventCardContent.d.ts +3 -4
- package/bundle/components/CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts +4 -7
- package/bundle/components/CarouselLinks/CarouselLinksContent.d.ts +4 -5
- package/bundle/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -6
- package/bundle/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +3 -5
- package/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +5 -7
- package/bundle/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +3 -3
- package/bundle/components/ComparisonTable/ComparisonTableBody.d.ts +3 -2
- package/bundle/components/ComparisonTable/ComparisonTableContent.d.ts +3 -9
- package/bundle/components/ComparisonTable/HeaderCell.mobile.d.ts +5 -6
- package/bundle/components/ComparisonTable/TableRow.d.ts +3 -2
- package/bundle/components/ContactsBlock/ContactsBlock.d.ts +1 -1
- package/bundle/components/ContactsBlock/ContactsBlockContent.d.ts +6 -9
- package/bundle/components/ErrorBlock/ErrorBlockContent.d.ts +3 -2
- package/bundle/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +3 -2
- package/bundle/components/GracePeriod/GracePeriodContent.d.ts +2 -1
- package/bundle/components/Header/HeaderContent.d.ts +3 -4
- package/bundle/components/Headline/HeadlineContent.d.ts +3 -4
- package/bundle/components/HorizontalLayout/HorizontalLayoutContent.d.ts +3 -2
- package/bundle/components/ImgBlock/ImgBlockContent.d.ts +3 -2
- package/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +3 -2
- package/bundle/components/InvestmentInfo/InvestmentInfoContent.d.ts +4 -4
- package/bundle/components/LikeControl/LikeControl.d.ts +2 -1
- package/bundle/components/LinkDocs/LinkDocsContent.d.ts +2 -1
- package/bundle/components/LinkList/LinkListContent.d.ts +3 -2
- package/bundle/components/MobileAppTile/MobileAppTileContent.d.ts +2 -3
- package/bundle/components/OfficeMap/OfficeMapContent.d.ts +11 -10
- package/bundle/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +3 -2
- package/bundle/components/ParagraphBlock/ParagraphBlockContent.d.ts +3 -2
- package/bundle/components/PictureText/PictureTextContent.d.ts +3 -4
- package/bundle/components/PictureText/renderBenefit.d.ts +1 -1
- package/bundle/components/Placeholder/PlaceholderContent.d.ts +2 -1
- package/bundle/components/ProductBlock/ProductBlockContent.d.ts +3 -4
- package/bundle/components/ProductGallery/ProductGalleryContent.d.ts +3 -4
- package/bundle/components/ProductTile/ProductTileContent.d.ts +3 -6
- package/bundle/components/PromoTile/PromoTileContent.d.ts +2 -3
- package/bundle/components/Recommendation/RecommendationContent.d.ts +3 -4
- package/bundle/components/RollupItem/RollupItem.d.ts +4 -2
- package/bundle/components/RollupItem/RollupItemContent.d.ts +2 -3
- package/bundle/components/SafeDepositRental/SafeDepositRentalContent.d.ts +2 -1
- package/bundle/components/StepsBlock/StepsBlock.d.ts +1 -1
- package/bundle/components/StepsBlock/StepsBlockContent.d.ts +4 -3
- package/bundle/components/StepsBlock/StepsBlockStyleMaps.d.ts +1 -2
- package/bundle/components/Tabs/TabsContent.d.ts +3 -2
- package/bundle/components/TextBlock/TextBlockContent.d.ts +4 -4
- package/bundle/components/Tile/TileContent.d.ts +2 -3
- package/bundle/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -4
- package/bundle/components/Video/VideoContent.d.ts +3 -2
- package/bundle/model/HeadlineType.d.ts +4 -0
- package/bundle/model/JSXBlock.d.ts +9 -2
- package/bundle/model/LogoType.d.ts +3 -5
- package/bundle/services/sitemap/SitemapProps.d.ts +2 -4
- package/bundle/ui-kit/SwipeListControl/SwipeListControlContent.d.ts +3 -4
- package/bundle/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +2 -0
- package/bundle/ui-kit/Text/TextProps.d.ts +1 -1
- package/dist/components/ApplicationForm/ApplicationFormContent.d.ts +2 -1
- package/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -4
- package/dist/components/Bonus/BonusContent.d.ts +4 -4
- package/dist/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +2 -1
- package/dist/components/BusinessBlock/BusinessBlockContent.d.ts +8 -10
- package/dist/components/CardTransfer/CardTransferContent.d.ts +2 -1
- package/dist/components/Carousel/Carousel.js +1 -1
- package/dist/components/Carousel/Carousel.js.map +1 -1
- package/dist/components/Carousel/CarouselContent.d.ts +3 -2
- package/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +1 -1
- package/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
- package/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCardContent.d.ts +3 -6
- package/dist/components/CarouselCard/CarouselCardContent.d.ts +4 -3
- package/dist/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +2 -3
- package/dist/components/CarouselEventCard/CarouselEventCardContent.d.ts +3 -4
- package/dist/components/CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts +4 -7
- package/dist/components/CarouselLinks/CarouselLinks.js +3 -3
- package/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
- package/dist/components/CarouselLinks/CarouselLinksContent.d.ts +4 -5
- package/dist/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -6
- package/dist/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +3 -5
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +5 -7
- package/dist/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +3 -3
- package/dist/components/ComparisonTable/ComparisonTableBody.d.ts +3 -2
- package/dist/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
- package/dist/components/ComparisonTable/ComparisonTableContent.d.ts +3 -9
- package/dist/components/ComparisonTable/HeaderCell.mobile.d.ts +5 -6
- package/dist/components/ComparisonTable/HeaderCell.mobile.js.map +1 -1
- package/dist/components/ComparisonTable/TableRow.d.ts +3 -2
- package/dist/components/ComparisonTable/TableRow.js.map +1 -1
- package/dist/components/ContactsBlock/ContactsBlock.d.ts +1 -1
- package/dist/components/ContactsBlock/ContactsBlockContent.d.ts +6 -9
- package/dist/components/ErrorBlock/ErrorBlockContent.d.ts +3 -2
- package/dist/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +3 -2
- package/dist/components/GracePeriod/GracePeriodContent.d.ts +2 -1
- package/dist/components/Header/HeaderContent.d.ts +3 -4
- package/dist/components/Headline/Headline.js +2 -2
- package/dist/components/Headline/Headline.js.map +1 -1
- package/dist/components/Headline/HeadlineContent.d.ts +3 -4
- package/dist/components/HorizontalLayout/HorizontalLayoutContent.d.ts +3 -2
- package/dist/components/ImgBlock/ImgBlockContent.d.ts +3 -2
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +3 -2
- package/dist/components/InvestmentInfo/InvestmentInfoContent.d.ts +4 -4
- package/dist/components/LikeControl/LikeControl.d.ts +2 -1
- package/dist/components/LikeControl/LikeControl.js.map +1 -1
- package/dist/components/LinkDocs/LinkDocsContent.d.ts +2 -1
- package/dist/components/LinkList/LinkListContent.d.ts +3 -2
- package/dist/components/MobileAppTile/MobileAppTileContent.d.ts +2 -3
- package/dist/components/OfficeMap/OfficeMapContent.d.ts +11 -10
- package/dist/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +3 -2
- package/dist/components/ParagraphBlock/ParagraphBlockContent.d.ts +3 -2
- package/dist/components/PictureText/PictureTextContent.d.ts +3 -4
- package/dist/components/PictureText/renderBenefit.d.ts +1 -1
- package/dist/components/Placeholder/PlaceholderContent.d.ts +2 -1
- package/dist/components/ProductBlock/ProductBlockContent.d.ts +3 -4
- package/dist/components/ProductBlock/ProductBlockInner.js +1 -1
- package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlockInner.mobile.js +1 -1
- package/dist/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
- package/dist/components/ProductGallery/ProductGallery.js +2 -2
- package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
- package/dist/components/ProductGallery/ProductGalleryContent.d.ts +3 -4
- package/dist/components/ProductTile/ProductTileContent.d.ts +3 -6
- package/dist/components/PromoTile/PromoTileContent.d.ts +2 -3
- package/dist/components/Recommendation/RecommendationContent.d.ts +3 -4
- package/dist/components/RollupItem/RollupItem.d.ts +4 -2
- package/dist/components/RollupItem/RollupItem.js.map +1 -1
- package/dist/components/RollupItem/RollupItemContent.d.ts +2 -3
- package/dist/components/SafeDepositRental/SafeDepositRentalContent.d.ts +2 -1
- package/dist/components/StepsBlock/StepsBlock.d.ts +1 -1
- package/dist/components/StepsBlock/StepsBlock.js +11 -8
- package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
- package/dist/components/StepsBlock/StepsBlock.mobile.js +2 -6
- package/dist/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
- package/dist/components/StepsBlock/StepsBlockContent.d.ts +4 -3
- package/dist/components/StepsBlock/StepsBlockStyleMaps.d.ts +1 -2
- package/dist/components/StepsBlock/StepsBlockStyleMaps.js +7 -39
- package/dist/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
- package/dist/components/SwipeListControlBlock/SwipeListControlBlock.js +2 -2
- package/dist/components/SwipeListControlBlock/SwipeListControlBlock.js.map +1 -1
- package/dist/components/Tabs/TabsContent.d.ts +3 -2
- package/dist/components/TextBlock/TextBlock.js +5 -11
- package/dist/components/TextBlock/TextBlock.js.map +1 -1
- package/dist/components/TextBlock/TextBlock.mobile.js +4 -25
- package/dist/components/TextBlock/TextBlock.mobile.js.map +1 -1
- package/dist/components/TextBlock/TextBlockContent.d.ts +4 -4
- package/dist/components/Tile/TileContent.d.ts +2 -3
- package/dist/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -4
- package/dist/components/Video/VideoContent.d.ts +3 -2
- package/dist/model/HeadlineType.d.ts +4 -0
- package/dist/model/JSXBlock.d.ts +9 -2
- package/dist/model/LogoType.d.ts +3 -5
- package/dist/services/sitemap/SitemapProps.d.ts +2 -4
- package/dist/ui-kit/BlockWrapper.js +2 -2
- package/dist/ui-kit/BlockWrapper.js.map +1 -1
- package/dist/ui-kit/SwipeListControl/SwipeListControl.js +2 -2
- package/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
- package/dist/ui-kit/SwipeListControl/SwipeListControlContent.d.ts +3 -4
- package/dist/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +2 -0
- package/dist/ui-kit/SwipeListControl/SwipeListControlDots.js +4 -3
- package/dist/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
- package/dist/ui-kit/Text/TextProps.d.ts +1 -1
- package/lib/common.css +1 -1
- package/lib/components/ApplicationForm/ApplicationFormContent.d.ts +2 -1
- package/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -4
- package/lib/components/Bonus/BonusContent.d.ts +4 -4
- package/lib/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +2 -1
- package/lib/components/BusinessBlock/BusinessBlockContent.d.ts +8 -10
- package/lib/components/CardTransfer/CardTransferContent.d.ts +2 -1
- package/lib/components/Carousel/Carousel.js +1 -1
- package/lib/components/Carousel/Carousel.js.map +1 -1
- package/lib/components/Carousel/CarouselContent.d.ts +3 -2
- package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +1 -1
- package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
- package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCardContent.d.ts +3 -6
- package/lib/components/CarouselCard/CarouselCardContent.d.ts +4 -3
- package/lib/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +2 -3
- package/lib/components/CarouselEventCard/CarouselEventCardContent.d.ts +3 -4
- package/lib/components/CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts +4 -7
- package/lib/components/CarouselLinks/CarouselLinks.js +3 -3
- package/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
- package/lib/components/CarouselLinks/CarouselLinksContent.d.ts +4 -5
- package/lib/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -6
- package/lib/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +3 -5
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +5 -7
- package/lib/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +3 -3
- package/lib/components/ComparisonTable/ComparisonTableBody.d.ts +3 -2
- package/lib/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
- package/lib/components/ComparisonTable/ComparisonTableContent.d.ts +3 -9
- package/lib/components/ComparisonTable/HeaderCell.mobile.d.ts +5 -6
- package/lib/components/ComparisonTable/HeaderCell.mobile.js.map +1 -1
- package/lib/components/ComparisonTable/TableRow.d.ts +3 -2
- package/lib/components/ComparisonTable/TableRow.js.map +1 -1
- package/lib/components/ContactsBlock/ContactsBlock.d.ts +1 -1
- package/lib/components/ContactsBlock/ContactsBlockContent.d.ts +6 -9
- package/lib/components/ErrorBlock/ErrorBlockContent.d.ts +3 -2
- package/lib/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +3 -2
- package/lib/components/GracePeriod/GracePeriodContent.d.ts +2 -1
- package/lib/components/Header/HeaderContent.d.ts +3 -4
- package/lib/components/Headline/Headline.js +2 -2
- package/lib/components/Headline/Headline.js.map +1 -1
- package/lib/components/Headline/HeadlineContent.d.ts +3 -4
- package/lib/components/HorizontalLayout/HorizontalLayoutContent.d.ts +3 -2
- package/lib/components/ImgBlock/ImgBlockContent.d.ts +3 -2
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +3 -2
- package/lib/components/InvestmentInfo/InvestmentInfoContent.d.ts +4 -4
- package/lib/components/LikeControl/LikeControl.d.ts +2 -1
- package/lib/components/LikeControl/LikeControl.js.map +1 -1
- package/lib/components/LinkDocs/LinkDocsContent.d.ts +2 -1
- package/lib/components/LinkList/LinkListContent.d.ts +3 -2
- package/lib/components/MobileAppTile/MobileAppTileContent.d.ts +2 -3
- package/lib/components/OfficeMap/OfficeMapContent.d.ts +11 -10
- package/lib/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +3 -2
- package/lib/components/ParagraphBlock/ParagraphBlockContent.d.ts +3 -2
- package/lib/components/PictureText/PictureTextContent.d.ts +3 -4
- package/lib/components/PictureText/renderBenefit.d.ts +1 -1
- package/lib/components/Placeholder/PlaceholderContent.d.ts +2 -1
- package/lib/components/ProductBlock/ProductBlockContent.d.ts +3 -4
- package/lib/components/ProductBlock/ProductBlockInner.js +1 -1
- package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/lib/components/ProductBlock/ProductBlockInner.mobile.js +1 -1
- package/lib/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
- package/lib/components/ProductGallery/ProductGallery.js +2 -2
- package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
- package/lib/components/ProductGallery/ProductGalleryContent.d.ts +3 -4
- package/lib/components/ProductTile/ProductTileContent.d.ts +3 -6
- package/lib/components/PromoTile/PromoTileContent.d.ts +2 -3
- package/lib/components/Recommendation/RecommendationContent.d.ts +3 -4
- package/lib/components/RollupItem/RollupItem.d.ts +4 -2
- package/lib/components/RollupItem/RollupItem.js.map +1 -1
- package/lib/components/RollupItem/RollupItemContent.d.ts +2 -3
- package/lib/components/SafeDepositRental/SafeDepositRentalContent.d.ts +2 -1
- package/lib/components/StepsBlock/StepsBlock.d.ts +1 -1
- package/lib/components/StepsBlock/StepsBlock.js +12 -9
- package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
- package/lib/components/StepsBlock/StepsBlock.mobile.js +3 -7
- package/lib/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
- package/lib/components/StepsBlock/StepsBlockContent.d.ts +4 -3
- package/lib/components/StepsBlock/StepsBlockStyleMaps.d.ts +1 -2
- package/lib/components/StepsBlock/StepsBlockStyleMaps.js +6 -38
- package/lib/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
- package/lib/components/SwipeListControlBlock/SwipeListControlBlock.js +2 -2
- package/lib/components/SwipeListControlBlock/SwipeListControlBlock.js.map +1 -1
- package/lib/components/Tabs/TabsContent.d.ts +3 -2
- package/lib/components/TextBlock/TextBlock.js +5 -11
- package/lib/components/TextBlock/TextBlock.js.map +1 -1
- package/lib/components/TextBlock/TextBlock.mobile.js +4 -25
- package/lib/components/TextBlock/TextBlock.mobile.js.map +1 -1
- package/lib/components/TextBlock/TextBlockContent.d.ts +4 -4
- package/lib/components/Tile/TileContent.d.ts +2 -3
- package/lib/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -4
- package/lib/components/Video/VideoContent.d.ts +3 -2
- package/lib/model/HeadlineType.d.ts +4 -0
- package/lib/model/JSXBlock.d.ts +9 -2
- package/lib/model/LogoType.d.ts +3 -5
- package/lib/services/sitemap/SitemapProps.d.ts +2 -4
- package/lib/ui-kit/BlockWrapper.js +2 -2
- package/lib/ui-kit/BlockWrapper.js.map +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListControl.js +2 -2
- package/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListControlContent.d.ts +3 -4
- package/lib/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +2 -0
- package/lib/ui-kit/SwipeListControl/SwipeListControlDots.js +4 -3
- package/lib/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
- package/lib/ui-kit/Text/TextProps.d.ts +1 -1
- package/mobile/bundle/bundle.umd.js +23 -80
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +2 -1
- package/mobile/bundle/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -4
- package/mobile/bundle/components/Bonus/BonusContent.d.ts +4 -4
- package/mobile/bundle/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +2 -1
- package/mobile/bundle/components/BusinessBlock/BusinessBlockContent.d.ts +8 -10
- package/mobile/bundle/components/CardTransfer/CardTransferContent.d.ts +2 -1
- package/mobile/bundle/components/Carousel/CarouselContent.d.ts +3 -2
- package/mobile/bundle/components/CarouselBankHistoryCard/CarouselBankHistoryCardContent.d.ts +3 -6
- package/mobile/bundle/components/CarouselCard/CarouselCardContent.d.ts +4 -3
- package/mobile/bundle/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +2 -3
- package/mobile/bundle/components/CarouselEventCard/CarouselEventCardContent.d.ts +3 -4
- package/mobile/bundle/components/CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts +4 -7
- package/mobile/bundle/components/CarouselLinks/CarouselLinksContent.d.ts +4 -5
- package/mobile/bundle/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -6
- package/mobile/bundle/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +3 -5
- package/mobile/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +5 -7
- package/mobile/bundle/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +3 -3
- package/mobile/bundle/components/ComparisonTable/ComparisonTableBody.d.ts +3 -2
- package/mobile/bundle/components/ComparisonTable/ComparisonTableContent.d.ts +3 -9
- package/mobile/bundle/components/ComparisonTable/HeaderCell.d.ts +5 -6
- package/mobile/bundle/components/ComparisonTable/TableRow.d.ts +3 -2
- package/mobile/bundle/components/ContactsBlock/ContactsBlock.d.ts +1 -1
- package/mobile/bundle/components/ContactsBlock/ContactsBlockContent.d.ts +6 -9
- package/mobile/bundle/components/ErrorBlock/ErrorBlockContent.d.ts +3 -2
- package/mobile/bundle/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +3 -2
- package/mobile/bundle/components/GracePeriod/GracePeriodContent.d.ts +2 -1
- package/mobile/bundle/components/Header/HeaderContent.d.ts +3 -4
- package/mobile/bundle/components/Headline/HeadlineContent.d.ts +3 -4
- package/mobile/bundle/components/HorizontalLayout/HorizontalLayoutContent.d.ts +3 -2
- package/mobile/bundle/components/ImgBlock/ImgBlockContent.d.ts +3 -2
- package/mobile/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +3 -2
- package/mobile/bundle/components/InvestmentInfo/InvestmentInfoContent.d.ts +4 -4
- package/mobile/bundle/components/LikeControl/LikeControl.d.ts +2 -1
- package/mobile/bundle/components/LinkDocs/LinkDocsContent.d.ts +2 -1
- package/mobile/bundle/components/LinkList/LinkListContent.d.ts +3 -2
- package/mobile/bundle/components/MobileAppTile/MobileAppTileContent.d.ts +2 -3
- package/mobile/bundle/components/OfficeMap/OfficeMapContent.d.ts +11 -10
- package/mobile/bundle/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +3 -2
- package/mobile/bundle/components/ParagraphBlock/ParagraphBlockContent.d.ts +3 -2
- package/mobile/bundle/components/PictureText/PictureTextContent.d.ts +3 -4
- package/mobile/bundle/components/PictureText/renderBenefit.d.ts +1 -1
- package/mobile/bundle/components/Placeholder/PlaceholderContent.d.ts +2 -1
- package/mobile/bundle/components/ProductBlock/ProductBlockContent.d.ts +3 -4
- package/mobile/bundle/components/ProductGallery/ProductGalleryContent.d.ts +3 -4
- package/mobile/bundle/components/ProductTile/ProductTileContent.d.ts +3 -6
- package/mobile/bundle/components/PromoTile/PromoTileContent.d.ts +2 -3
- package/mobile/bundle/components/Recommendation/RecommendationContent.d.ts +3 -4
- package/mobile/bundle/components/RollupItem/RollupItem.d.ts +4 -2
- package/mobile/bundle/components/RollupItem/RollupItemContent.d.ts +2 -3
- package/mobile/bundle/components/SafeDepositRental/SafeDepositRentalContent.d.ts +2 -1
- package/mobile/bundle/components/StepsBlock/StepsBlockContent.d.ts +4 -3
- package/mobile/bundle/components/StepsBlock/StepsBlockStyleMaps.d.ts +1 -2
- package/mobile/bundle/components/Tabs/TabsContent.d.ts +3 -2
- package/mobile/bundle/components/TextBlock/TextBlockContent.d.ts +4 -4
- package/mobile/bundle/components/Tile/TileContent.d.ts +2 -3
- package/mobile/bundle/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -4
- package/mobile/bundle/components/Video/VideoContent.d.ts +3 -2
- package/mobile/bundle/model/HeadlineType.d.ts +4 -0
- package/mobile/bundle/model/JSXBlock.d.ts +9 -2
- package/mobile/bundle/model/LogoType.d.ts +3 -5
- package/mobile/bundle/services/sitemap/SitemapProps.d.ts +2 -4
- package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControlContent.d.ts +3 -4
- package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +2 -0
- package/mobile/bundle/ui-kit/Text/TextProps.d.ts +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormContent.d.ts +2 -1
- package/mobile/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -4
- package/mobile/dist/components/Bonus/BonusContent.d.ts +4 -4
- package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +2 -1
- package/mobile/dist/components/BusinessBlock/BusinessBlockContent.d.ts +8 -10
- package/mobile/dist/components/CardTransfer/CardTransferContent.d.ts +2 -1
- package/mobile/dist/components/Carousel/Carousel.js +1 -1
- package/mobile/dist/components/Carousel/Carousel.js.map +1 -1
- package/mobile/dist/components/Carousel/CarouselContent.d.ts +3 -2
- package/mobile/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +1 -1
- package/mobile/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
- package/mobile/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCardContent.d.ts +3 -6
- package/mobile/dist/components/CarouselCard/CarouselCardContent.d.ts +4 -3
- package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +2 -3
- package/mobile/dist/components/CarouselEventCard/CarouselEventCardContent.d.ts +3 -4
- package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts +4 -7
- package/mobile/dist/components/CarouselLinks/CarouselLinks.js +3 -3
- package/mobile/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
- package/mobile/dist/components/CarouselLinks/CarouselLinksContent.d.ts +4 -5
- package/mobile/dist/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -6
- package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +3 -5
- package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +5 -7
- package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +3 -3
- package/mobile/dist/components/ComparisonTable/ComparisonTableBody.d.ts +3 -2
- package/mobile/dist/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
- package/mobile/dist/components/ComparisonTable/ComparisonTableContent.d.ts +3 -9
- package/mobile/dist/components/ComparisonTable/HeaderCell.d.ts +5 -6
- package/mobile/dist/components/ComparisonTable/HeaderCell.js.map +1 -1
- package/mobile/dist/components/ComparisonTable/TableRow.d.ts +3 -2
- package/mobile/dist/components/ComparisonTable/TableRow.js.map +1 -1
- package/mobile/dist/components/ContactsBlock/ContactsBlock.d.ts +1 -1
- package/mobile/dist/components/ContactsBlock/ContactsBlockContent.d.ts +6 -9
- package/mobile/dist/components/ErrorBlock/ErrorBlockContent.d.ts +3 -2
- package/mobile/dist/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +3 -2
- package/mobile/dist/components/GracePeriod/GracePeriodContent.d.ts +2 -1
- package/mobile/dist/components/Header/HeaderContent.d.ts +3 -4
- package/mobile/dist/components/Headline/Headline.js +2 -2
- package/mobile/dist/components/Headline/Headline.js.map +1 -1
- package/mobile/dist/components/Headline/HeadlineContent.d.ts +3 -4
- package/mobile/dist/components/HorizontalLayout/HorizontalLayoutContent.d.ts +3 -2
- package/mobile/dist/components/ImgBlock/ImgBlockContent.d.ts +3 -2
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +3 -2
- package/mobile/dist/components/InvestmentInfo/InvestmentInfoContent.d.ts +4 -4
- package/mobile/dist/components/LikeControl/LikeControl.d.ts +2 -1
- package/mobile/dist/components/LikeControl/LikeControl.js.map +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocsContent.d.ts +2 -1
- package/mobile/dist/components/LinkList/LinkListContent.d.ts +3 -2
- package/mobile/dist/components/MobileAppTile/MobileAppTileContent.d.ts +2 -3
- package/mobile/dist/components/OfficeMap/OfficeMapContent.d.ts +11 -10
- package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +3 -2
- package/mobile/dist/components/ParagraphBlock/ParagraphBlockContent.d.ts +3 -2
- package/mobile/dist/components/PictureText/PictureTextContent.d.ts +3 -4
- package/mobile/dist/components/PictureText/renderBenefit.d.ts +1 -1
- package/mobile/dist/components/Placeholder/PlaceholderContent.d.ts +2 -1
- package/mobile/dist/components/ProductBlock/ProductBlockContent.d.ts +3 -4
- package/mobile/dist/components/ProductBlock/ProductBlockInner.js +1 -1
- package/mobile/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/mobile/dist/components/ProductGallery/ProductGallery.js +2 -2
- package/mobile/dist/components/ProductGallery/ProductGallery.js.map +1 -1
- package/mobile/dist/components/ProductGallery/ProductGalleryContent.d.ts +3 -4
- package/mobile/dist/components/ProductTile/ProductTileContent.d.ts +3 -6
- package/mobile/dist/components/PromoTile/PromoTileContent.d.ts +2 -3
- package/mobile/dist/components/Recommendation/RecommendationContent.d.ts +3 -4
- package/mobile/dist/components/RollupItem/RollupItem.d.ts +4 -2
- package/mobile/dist/components/RollupItem/RollupItem.js.map +1 -1
- package/mobile/dist/components/RollupItem/RollupItemContent.d.ts +2 -3
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalContent.d.ts +2 -1
- package/mobile/dist/components/StepsBlock/StepsBlock.js +2 -6
- package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -1
- package/mobile/dist/components/StepsBlock/StepsBlockContent.d.ts +4 -3
- package/mobile/dist/components/StepsBlock/StepsBlockStyleMaps.d.ts +1 -2
- package/mobile/dist/components/StepsBlock/StepsBlockStyleMaps.js +7 -39
- package/mobile/dist/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
- package/mobile/dist/components/SwipeListControlBlock/SwipeListControlBlock.js +2 -2
- package/mobile/dist/components/SwipeListControlBlock/SwipeListControlBlock.js.map +1 -1
- package/mobile/dist/components/Tabs/TabsContent.d.ts +3 -2
- package/mobile/dist/components/TextBlock/TextBlock.js +4 -25
- package/mobile/dist/components/TextBlock/TextBlock.js.map +1 -1
- package/mobile/dist/components/TextBlock/TextBlockContent.d.ts +4 -4
- package/mobile/dist/components/Tile/TileContent.d.ts +2 -3
- package/mobile/dist/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -4
- package/mobile/dist/components/Video/VideoContent.d.ts +3 -2
- package/mobile/dist/model/HeadlineType.d.ts +4 -0
- package/mobile/dist/model/JSXBlock.d.ts +9 -2
- package/mobile/dist/model/LogoType.d.ts +3 -5
- package/mobile/dist/services/sitemap/SitemapProps.d.ts +2 -4
- package/mobile/dist/ui-kit/BlockWrapper.js +2 -2
- package/mobile/dist/ui-kit/BlockWrapper.js.map +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js +2 -2
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlContent.d.ts +3 -4
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +2 -0
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.js +4 -3
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
- package/mobile/dist/ui-kit/Text/TextProps.d.ts +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormContent.d.ts +2 -1
- package/mobile/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -4
- package/mobile/lib/components/Bonus/BonusContent.d.ts +4 -4
- package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +2 -1
- package/mobile/lib/components/BusinessBlock/BusinessBlockContent.d.ts +8 -10
- package/mobile/lib/components/CardTransfer/CardTransferContent.d.ts +2 -1
- package/mobile/lib/components/Carousel/Carousel.js +1 -1
- package/mobile/lib/components/Carousel/Carousel.js.map +1 -1
- package/mobile/lib/components/Carousel/CarouselContent.d.ts +3 -2
- package/mobile/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +1 -1
- package/mobile/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
- package/mobile/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCardContent.d.ts +3 -6
- package/mobile/lib/components/CarouselCard/CarouselCardContent.d.ts +4 -3
- package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +2 -3
- package/mobile/lib/components/CarouselEventCard/CarouselEventCardContent.d.ts +3 -4
- package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts +4 -7
- package/mobile/lib/components/CarouselLinks/CarouselLinks.js +3 -3
- package/mobile/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
- package/mobile/lib/components/CarouselLinks/CarouselLinksContent.d.ts +4 -5
- package/mobile/lib/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -6
- package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +3 -5
- package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +5 -7
- package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCardContent.d.ts +3 -3
- package/mobile/lib/components/ComparisonTable/ComparisonTableBody.d.ts +3 -2
- package/mobile/lib/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
- package/mobile/lib/components/ComparisonTable/ComparisonTableContent.d.ts +3 -9
- package/mobile/lib/components/ComparisonTable/HeaderCell.d.ts +5 -6
- package/mobile/lib/components/ComparisonTable/HeaderCell.js.map +1 -1
- package/mobile/lib/components/ComparisonTable/TableRow.d.ts +3 -2
- package/mobile/lib/components/ComparisonTable/TableRow.js.map +1 -1
- package/mobile/lib/components/ContactsBlock/ContactsBlock.d.ts +1 -1
- package/mobile/lib/components/ContactsBlock/ContactsBlockContent.d.ts +6 -9
- package/mobile/lib/components/ErrorBlock/ErrorBlockContent.d.ts +3 -2
- package/mobile/lib/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +3 -2
- package/mobile/lib/components/GracePeriod/GracePeriodContent.d.ts +2 -1
- package/mobile/lib/components/Header/HeaderContent.d.ts +3 -4
- package/mobile/lib/components/Headline/Headline.js +2 -2
- package/mobile/lib/components/Headline/Headline.js.map +1 -1
- package/mobile/lib/components/Headline/HeadlineContent.d.ts +3 -4
- package/mobile/lib/components/HorizontalLayout/HorizontalLayoutContent.d.ts +3 -2
- package/mobile/lib/components/ImgBlock/ImgBlockContent.d.ts +3 -2
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +3 -2
- package/mobile/lib/components/InvestmentInfo/InvestmentInfoContent.d.ts +4 -4
- package/mobile/lib/components/LikeControl/LikeControl.d.ts +2 -1
- package/mobile/lib/components/LikeControl/LikeControl.js.map +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocsContent.d.ts +2 -1
- package/mobile/lib/components/LinkList/LinkListContent.d.ts +3 -2
- package/mobile/lib/components/MobileAppTile/MobileAppTileContent.d.ts +2 -3
- package/mobile/lib/components/OfficeMap/OfficeMapContent.d.ts +11 -10
- package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +3 -2
- package/mobile/lib/components/ParagraphBlock/ParagraphBlockContent.d.ts +3 -2
- package/mobile/lib/components/PictureText/PictureTextContent.d.ts +3 -4
- package/mobile/lib/components/PictureText/renderBenefit.d.ts +1 -1
- package/mobile/lib/components/Placeholder/PlaceholderContent.d.ts +2 -1
- package/mobile/lib/components/ProductBlock/ProductBlockContent.d.ts +3 -4
- package/mobile/lib/components/ProductBlock/ProductBlockInner.js +1 -1
- package/mobile/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/mobile/lib/components/ProductGallery/ProductGallery.js +2 -2
- package/mobile/lib/components/ProductGallery/ProductGallery.js.map +1 -1
- package/mobile/lib/components/ProductGallery/ProductGalleryContent.d.ts +3 -4
- package/mobile/lib/components/ProductTile/ProductTileContent.d.ts +3 -6
- package/mobile/lib/components/PromoTile/PromoTileContent.d.ts +2 -3
- package/mobile/lib/components/Recommendation/RecommendationContent.d.ts +3 -4
- package/mobile/lib/components/RollupItem/RollupItem.d.ts +4 -2
- package/mobile/lib/components/RollupItem/RollupItem.js.map +1 -1
- package/mobile/lib/components/RollupItem/RollupItemContent.d.ts +2 -3
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalContent.d.ts +2 -1
- package/mobile/lib/components/StepsBlock/StepsBlock.js +3 -7
- package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -1
- package/mobile/lib/components/StepsBlock/StepsBlockContent.d.ts +4 -3
- package/mobile/lib/components/StepsBlock/StepsBlockStyleMaps.d.ts +1 -2
- package/mobile/lib/components/StepsBlock/StepsBlockStyleMaps.js +6 -38
- package/mobile/lib/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
- package/mobile/lib/components/SwipeListControlBlock/SwipeListControlBlock.js +2 -2
- package/mobile/lib/components/SwipeListControlBlock/SwipeListControlBlock.js.map +1 -1
- package/mobile/lib/components/Tabs/TabsContent.d.ts +3 -2
- package/mobile/lib/components/TextBlock/TextBlock.js +4 -25
- package/mobile/lib/components/TextBlock/TextBlock.js.map +1 -1
- package/mobile/lib/components/TextBlock/TextBlockContent.d.ts +4 -4
- package/mobile/lib/components/Tile/TileContent.d.ts +2 -3
- package/mobile/lib/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -4
- package/mobile/lib/components/Video/VideoContent.d.ts +3 -2
- package/mobile/lib/model/HeadlineType.d.ts +4 -0
- package/mobile/lib/model/JSXBlock.d.ts +9 -2
- package/mobile/lib/model/LogoType.d.ts +3 -5
- package/mobile/lib/services/sitemap/SitemapProps.d.ts +2 -4
- package/mobile/lib/ui-kit/BlockWrapper.js +2 -2
- package/mobile/lib/ui-kit/BlockWrapper.js.map +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js +2 -2
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlContent.d.ts +3 -4
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +2 -0
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.js +4 -3
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
- package/mobile/lib/ui-kit/Text/TextProps.d.ts +1 -1
- package/mobile/src/components/ApplicationForm/ApplicationFormContent.ts +13 -11
- package/mobile/src/components/BenefitsBlock/BenefitsBlockContent.ts +9 -10
- package/mobile/src/components/Bonus/BonusContent.ts +8 -7
- package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlockContent.ts +11 -8
- package/mobile/src/components/BusinessBlock/BusinessBlockContent.ts +24 -24
- package/mobile/src/components/CardTransfer/CardTransferContent.ts +3 -1
- package/mobile/src/components/Carousel/Carousel.tsx +8 -1
- package/mobile/src/components/Carousel/CarouselContent.ts +4 -2
- package/mobile/src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.tsx +1 -1
- package/mobile/src/components/CarouselBankHistoryCard/CarouselBankHistoryCardContent.ts +4 -6
- package/mobile/src/components/CarouselCard/CarouselCardContent.ts +14 -12
- package/mobile/src/components/CarouselCatalogCard/CarouselCatalogCardContent.ts +3 -3
- package/mobile/src/components/CarouselEventCard/CarouselEventCardContent.ts +6 -5
- package/mobile/src/components/CarouselInvestmentCard/CarouselInvestmentCardContent.ts +27 -28
- package/mobile/src/components/CarouselLinks/CarouselLinks.example.json +2 -1
- package/mobile/src/components/CarouselLinks/CarouselLinks.tsx +1 -11
- package/mobile/src/components/CarouselLinks/CarouselLinksContent.ts +8 -7
- package/mobile/src/components/CarouselProductCard/CarouselProductCardContent.ts +35 -36
- package/mobile/src/components/CarouselProgramsCard/CarouselProgramsCardContent.ts +8 -8
- package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +30 -29
- package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCardContent.ts +12 -10
- package/mobile/src/components/Catalog/Catalog.ui.json +1 -0
- package/mobile/src/components/ComparisonTable/ComparisonTableBody.tsx +3 -2
- package/mobile/src/components/ComparisonTable/ComparisonTableContent.ts +15 -21
- package/mobile/src/components/ComparisonTable/HeaderCell.tsx +10 -9
- package/mobile/src/components/ComparisonTable/TableRow.tsx +3 -2
- package/mobile/src/components/ContactsBlock/ContactsBlock.tsx +1 -1
- package/mobile/src/components/ContactsBlock/ContactsBlockContent.ts +9 -11
- package/mobile/src/components/ErrorBlock/ErrorBlockContent.ts +10 -8
- package/mobile/src/components/ExchangeRateTile/ExchangeRateTileContent.ts +6 -4
- package/mobile/src/components/Gallery/Gallery.ui.json +1 -0
- package/mobile/src/components/GracePeriod/GracePeriodContent.ts +6 -4
- package/mobile/src/components/Header/HeaderContent.ts +3 -4
- package/mobile/src/components/Headline/Headline.tsx +5 -3
- package/mobile/src/components/Headline/HeadlineContent.ts +9 -8
- package/mobile/src/components/HorizontalLayout/HorizontalLayoutContent.ts +4 -2
- package/mobile/src/components/ImgBlock/ImgBlockContent.ts +3 -2
- package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockContent.ts +9 -7
- package/mobile/src/components/InvestmentInfo/InvestmentInfoContent.ts +12 -11
- package/mobile/src/components/LikeControl/LikeControl.tsx +2 -1
- package/mobile/src/components/LinkDocs/LinkDocsContent.ts +27 -25
- package/mobile/src/components/LinkList/LinkListContent.ts +3 -2
- package/mobile/src/components/MiniGallery/MiniGallery.ui.json +1 -0
- package/mobile/src/components/MobileAppTile/MobileAppTileContent.ts +3 -3
- package/mobile/src/components/OfficeMap/OfficeMapContent.ts +12 -11
- package/mobile/src/components/OfficeServicesBlock/OfficeServicesBlockContent.ts +7 -5
- package/mobile/src/components/ParagraphBlock/ParagraphBlockContent.ts +3 -2
- package/mobile/src/components/PictureText/PictureTextContent.ts +29 -28
- package/mobile/src/components/PictureText/renderBenefit.tsx +1 -1
- package/mobile/src/components/Placeholder/PlaceholderContent.ts +2 -1
- package/mobile/src/components/ProductBlock/ProductBlockContent.ts +8 -8
- package/mobile/src/components/ProductBlock/ProductBlockInner.tsx +2 -3
- package/mobile/src/components/ProductGallery/ProductGallery.tsx +3 -4
- package/mobile/src/components/ProductGallery/ProductGalleryContent.ts +3 -4
- package/mobile/src/components/ProductTile/ProductTileContent.ts +10 -6
- package/mobile/src/components/PromoTile/PromoTileContent.ts +3 -3
- package/mobile/src/components/Recommendation/RecommendationContent.ts +6 -6
- package/mobile/src/components/RollupItem/RollupItem.tsx +5 -3
- package/mobile/src/components/RollupItem/RollupItemContent.ts +8 -8
- package/mobile/src/components/SafeDepositRental/SafeDepositRentalContent.ts +2 -1
- package/mobile/src/components/StepsBlock/StepsBlock.example.json +3 -1
- package/mobile/src/components/StepsBlock/StepsBlock.tsx +23 -27
- package/mobile/src/components/StepsBlock/StepsBlockContent.ts +4 -3
- package/mobile/src/components/StepsBlock/StepsBlockStyleMaps.ts +6 -40
- package/mobile/src/components/SwipeListControlBlock/SwipeListControlBlock.tsx +3 -3
- package/mobile/src/components/Tabs/TabsContent.ts +3 -2
- package/mobile/src/components/TextBlock/TextBlock.tsx +11 -45
- package/mobile/src/components/TextBlock/TextBlockContent.ts +4 -4
- package/mobile/src/components/Tile/TileContent.ts +3 -3
- package/mobile/src/components/VerticalLayout/VerticalLayoutContent.ts +3 -4
- package/mobile/src/components/Video/VideoContent.ts +18 -16
- package/mobile/src/model/HeadlineType.ts +5 -0
- package/mobile/src/model/JSXBlock.ts +10 -2
- package/mobile/src/model/LogoType.ts +3 -5
- package/mobile/src/services/sitemap/SitemapProps.ts +2 -4
- package/mobile/src/ui-kit/BlockWrapper.tsx +16 -3
- package/mobile/src/ui-kit/SwipeListControl/SwipeListControl.tsx +2 -0
- package/mobile/src/ui-kit/SwipeListControl/SwipeListControlContent.ts +6 -6
- package/mobile/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +9 -3
- package/mobile/src/ui-kit/Text/TextProps.ts +1 -1
- package/package.json +1 -1
- package/src/components/ApplicationForm/ApplicationFormContent.ts +13 -11
- package/src/components/BenefitsBlock/BenefitsBlockContent.ts +9 -10
- package/src/components/Bonus/BonusContent.ts +8 -7
- package/src/components/BonusBenefitsBlock/BonusBenefitsBlockContent.ts +11 -8
- package/src/components/BusinessBlock/BusinessBlockContent.ts +24 -24
- package/src/components/CardTransfer/CardTransferContent.ts +3 -1
- package/src/components/Carousel/Carousel.tsx +8 -1
- package/src/components/Carousel/CarouselContent.ts +4 -2
- package/src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.tsx +1 -1
- package/src/components/CarouselBankHistoryCard/CarouselBankHistoryCardContent.ts +4 -6
- package/src/components/CarouselCard/CarouselCardContent.ts +14 -12
- package/src/components/CarouselCatalogCard/CarouselCatalogCardContent.ts +3 -3
- package/src/components/CarouselEventCard/CarouselEventCardContent.ts +6 -5
- package/src/components/CarouselInvestmentCard/CarouselInvestmentCardContent.ts +27 -28
- package/src/components/CarouselLinks/CarouselLinks.example.json +2 -1
- package/src/components/CarouselLinks/CarouselLinks.fixture.tsx +1 -0
- package/src/components/CarouselLinks/CarouselLinks.tsx +1 -11
- package/src/components/CarouselLinks/CarouselLinksContent.ts +8 -7
- package/src/components/CarouselProductCard/CarouselProductCardContent.ts +35 -36
- package/src/components/CarouselProgramsCard/CarouselProgramsCardContent.ts +8 -8
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +30 -29
- package/src/components/CarouselTariffsCard/CarouselTariffsCardContent.ts +12 -10
- package/src/components/Catalog/Catalog.ui.json +1 -0
- package/src/components/ComparisonTable/ComparisonTableBody.tsx +3 -2
- package/src/components/ComparisonTable/ComparisonTableContent.ts +15 -21
- package/src/components/ComparisonTable/HeaderCell.mobile.tsx +10 -9
- package/src/components/ComparisonTable/TableRow.tsx +3 -2
- package/src/components/ContactsBlock/ContactsBlock.tsx +1 -1
- package/src/components/ContactsBlock/ContactsBlockContent.ts +9 -11
- package/src/components/ErrorBlock/ErrorBlockContent.ts +10 -8
- package/src/components/ExchangeRateTile/ExchangeRateTileContent.ts +6 -4
- package/src/components/Gallery/Gallery.ui.json +1 -0
- package/src/components/GracePeriod/GracePeriodContent.ts +6 -4
- package/src/components/Header/HeaderContent.ts +3 -4
- package/src/components/Headline/Headline.tsx +5 -3
- package/src/components/Headline/HeadlineContent.ts +9 -8
- package/src/components/HorizontalLayout/HorizontalLayoutContent.ts +4 -2
- package/src/components/ImgBlock/ImgBlockContent.ts +3 -2
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlockContent.ts +9 -7
- package/src/components/InvestmentInfo/InvestmentInfoContent.ts +12 -11
- package/src/components/LikeControl/LikeControl.tsx +2 -1
- package/src/components/LinkDocs/LinkDocsContent.ts +27 -25
- package/src/components/LinkList/LinkListContent.ts +3 -2
- package/src/components/MiniGallery/MiniGallery.ui.json +1 -0
- package/src/components/MobileAppTile/MobileAppTileContent.ts +3 -3
- package/src/components/OfficeMap/OfficeMapContent.ts +12 -11
- package/src/components/OfficeServicesBlock/OfficeServicesBlockContent.ts +7 -5
- package/src/components/ParagraphBlock/ParagraphBlockContent.ts +3 -2
- package/src/components/PictureText/PictureTextContent.ts +29 -28
- package/src/components/PictureText/renderBenefit.tsx +1 -1
- package/src/components/Placeholder/PlaceholderContent.ts +2 -1
- package/src/components/ProductBlock/ProductBlockContent.ts +8 -8
- package/src/components/ProductBlock/ProductBlockInner.mobile.tsx +2 -3
- package/src/components/ProductBlock/ProductBlockInner.tsx +1 -0
- package/src/components/ProductGallery/ProductGallery.tsx +3 -4
- package/src/components/ProductGallery/ProductGalleryContent.ts +3 -4
- package/src/components/ProductTile/ProductTileContent.ts +10 -6
- package/src/components/PromoTile/PromoTileContent.ts +3 -3
- package/src/components/Recommendation/RecommendationContent.ts +6 -6
- package/src/components/RollupItem/RollupItem.tsx +5 -3
- package/src/components/RollupItem/RollupItemContent.ts +8 -8
- package/src/components/SafeDepositRental/SafeDepositRentalContent.ts +2 -1
- package/src/components/StepsBlock/StepsBlock.example.json +3 -1
- package/src/components/StepsBlock/StepsBlock.fixture.tsx +4 -0
- package/src/components/StepsBlock/StepsBlock.mobile.tsx +23 -27
- package/src/components/StepsBlock/StepsBlock.tsx +34 -27
- package/src/components/StepsBlock/StepsBlockContent.ts +4 -3
- package/src/components/StepsBlock/StepsBlockStyleMaps.ts +6 -40
- package/src/components/SwipeListControlBlock/SwipeListControlBlock.tsx +3 -3
- package/src/components/Tabs/TabsContent.ts +3 -2
- package/src/components/TextBlock/TextBlock.fixture.tsx +9 -12
- package/src/components/TextBlock/TextBlock.mobile.tsx +11 -45
- package/src/components/TextBlock/TextBlock.tsx +12 -39
- package/src/components/TextBlock/TextBlockContent.ts +4 -4
- package/src/components/Tile/TileContent.ts +3 -3
- package/src/components/VerticalLayout/VerticalLayout.fixture.tsx +2 -0
- package/src/components/VerticalLayout/VerticalLayoutContent.ts +3 -4
- package/src/components/Video/VideoContent.ts +18 -16
- package/src/model/HeadlineType.ts +5 -0
- package/src/model/JSXBlock.ts +10 -2
- package/src/model/LogoType.ts +3 -5
- package/src/services/sitemap/SitemapProps.ts +2 -4
- package/src/ui-kit/BlockWrapper.tsx +16 -3
- package/src/ui-kit/SwipeListControl/SwipeListControl.tsx +2 -0
- package/src/ui-kit/SwipeListControl/SwipeListControlContent.ts +6 -6
- package/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +9 -3
- package/src/ui-kit/Text/TextProps.ts +1 -1
- package/bundle/components/RollupItem/RollupItemProps.d.ts +0 -4
- package/dist/components/RollupItem/RollupItemProps.d.ts +0 -4
- package/dist/components/RollupItem/RollupItemProps.js +0 -2
- package/dist/components/RollupItem/RollupItemProps.js.map +0 -1
- package/lib/components/RollupItem/RollupItemProps.d.ts +0 -4
- package/lib/components/RollupItem/RollupItemProps.js +0 -2
- package/lib/components/RollupItem/RollupItemProps.js.map +0 -1
- package/mobile/bundle/components/RollupItem/RollupItemProps.d.ts +0 -4
- package/mobile/dist/components/RollupItem/RollupItemProps.d.ts +0 -4
- package/mobile/dist/components/RollupItem/RollupItemProps.js +0 -2
- package/mobile/dist/components/RollupItem/RollupItemProps.js.map +0 -1
- package/mobile/lib/components/RollupItem/RollupItemProps.d.ts +0 -4
- package/mobile/lib/components/RollupItem/RollupItemProps.js +0 -2
- package/mobile/lib/components/RollupItem/RollupItemProps.js.map +0 -1
- package/mobile/src/components/RollupItem/RollupItemProps.ts +0 -4
- package/src/components/RollupItem/RollupItemProps.ts +0 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BlockWrapper.js","sourceRoot":"","sources":["../../src/ui-kit/BlockWrapper.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAkE;AAClE,iEAA8D;AAG9D,uGAAoG;AACpG,0CAAuC;AAO1B,QAAA,WAAW,GAAiC;IACvD,OAAO,EAAE,4BA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AK,CAAC,CACR,CAAC;IAEF,OAAO,CACL,uBAAC,GAAG,IACF,SAAS,EAAE,IAAA,aAAK,EACd,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,EACtB,mBAAW,CAAC,OAAO,CAAC,EACpB,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,EACxB,SAAS,CACV,KACG,CAAC,OAAO,IAAI,OAAO,CAAC,CAAC,CAAC,EAAE,UAAU,EAAE,OAAO,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,KACnD,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,EAAE,KAAK,CAAC,MAAM,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,EACpD,IAAI,EAAE,IAAI,YAET,QAAQ,GACL,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -13,13 +13,13 @@ const DEFAULT_GAP = 14;
|
|
|
13
13
|
and get rid of a clipping effect caused by overflow: hidden.
|
|
14
14
|
*/
|
|
15
15
|
const DEFAULT_PADDING = 16;
|
|
16
|
-
exports.SwipeListControl = (0, uni_jsx_1.JSX)(({ className = '', gap = DEFAULT_GAP, padding = DEFAULT_PADDING, showDots = true, minHeight, children, onVisibleIndicesChange, listType = 'horizontal-list', }) => {
|
|
16
|
+
exports.SwipeListControl = (0, uni_jsx_1.JSX)(({ className = '', gap = DEFAULT_GAP, padding = DEFAULT_PADDING, showDots = true, minHeight, children, onVisibleIndicesChange, listType = 'horizontal-list', version, }) => {
|
|
17
17
|
const itemCount = Array.isArray(children) ? children.length : 0;
|
|
18
18
|
const [containerRef, scroll] = (0, useSwipeListScroll_1.useSwipeListScroll)({
|
|
19
19
|
itemCount,
|
|
20
20
|
onVisibleIndicesChange,
|
|
21
21
|
});
|
|
22
22
|
const [activeIndex] = scroll.visibleIndicesRange;
|
|
23
|
-
return ((0, jsx_runtime_1.jsxs)("div", { className: (0, style_1.style)(className, listType === 'vertical-list' ? 'relative h-full' : ''), children: [(0, jsx_runtime_1.jsx)(SwipeListContainer_1.SwipeListContainer, { containerRef: containerRef, activeIndex: activeIndex, visibleItemCount: 1, gap: gap, padding: padding, onVisibleIndicesChange: scroll.handleVisibleIndicesChange, listType: listType, minHeight: minHeight, children: children }), showDots ? ((0, jsx_runtime_1.jsx)(SwipeListControlDots_1.SwipeListControlDots, { containerRef: containerRef, activeIndex: activeIndex, dotCount: itemCount, listType: listType })) : null] }));
|
|
23
|
+
return ((0, jsx_runtime_1.jsxs)("div", { className: (0, style_1.style)(className, listType === 'vertical-list' ? 'relative h-full' : ''), children: [(0, jsx_runtime_1.jsx)(SwipeListContainer_1.SwipeListContainer, { containerRef: containerRef, activeIndex: activeIndex, visibleItemCount: 1, gap: gap, padding: padding, onVisibleIndicesChange: scroll.handleVisibleIndicesChange, listType: listType, minHeight: minHeight, children: children }), showDots ? ((0, jsx_runtime_1.jsx)(SwipeListControlDots_1.SwipeListControlDots, { containerRef: containerRef, activeIndex: activeIndex, dotCount: itemCount, listType: listType, version: version })) : null] }));
|
|
24
24
|
});
|
|
25
25
|
//# sourceMappingURL=SwipeListControl.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SwipeListControl.js","sourceRoot":"","sources":["../../../src/ui-kit/SwipeListControl/SwipeListControl.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,6CAA0C;AAC1C,6DAA0D;AAC1D,iEAA8D;AAE9D,6DAA0D;AAE1D,MAAM,WAAW,GAAG,EAAE,CAAC;AAEvB;;;;GAIG;AACH,MAAM,eAAe,GAAG,EAAE,CAAC;AAEd,QAAA,gBAAgB,GAAG,IAAA,aAAG,EACjC,CAAC,EACC,SAAS,GAAG,EAAE,EACd,GAAG,GAAG,WAAW,EACjB,OAAO,GAAG,eAAe,EACzB,QAAQ,GAAG,IAAI,EACf,SAAS,EACT,QAAQ,EACR,sBAAsB,EACtB,QAAQ,GAAG,iBA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AAC,CAAC,CAAC,CACV,uBAAC,2CAAoB,IACnB,YAAY,EAAE,YAAY,EAC1B,WAAW,EAAE,WAAW,EACxB,QAAQ,EAAE,SAAS,EACnB,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,OAAO,GAChB,CACH,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { UniBlockContent } from '../../model/JSXBlock';
|
|
2
2
|
import type { SwipeContainerProps } from './SwipeListControlProps';
|
|
3
3
|
/**
|
|
4
4
|
* @title Swipe-контроллер
|
|
5
5
|
*/
|
|
6
|
-
export
|
|
6
|
+
export declare type SwipeListControlContent = UniBlockContent & SwipeContainerProps & {
|
|
7
7
|
/** @title Точки-индикаторы */
|
|
8
8
|
showDots?: boolean;
|
|
9
|
-
|
|
10
|
-
}
|
|
9
|
+
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { BlockVersion } from '../../model/BlockVersion';
|
|
1
2
|
import type { SwipeListControlType } from './SwipeListControlProps';
|
|
2
3
|
interface SwipeListControlDotsProps {
|
|
3
4
|
containerRef?: {
|
|
@@ -6,6 +7,7 @@ interface SwipeListControlDotsProps {
|
|
|
6
7
|
activeIndex?: number;
|
|
7
8
|
dotCount?: number;
|
|
8
9
|
listType?: SwipeListControlType;
|
|
10
|
+
version?: BlockVersion;
|
|
9
11
|
}
|
|
10
12
|
export declare const SwipeListControlDots: import("@redneckz/uni-jsx").UNIComponent<SwipeListControlDotsProps, any, any>;
|
|
11
13
|
export {};
|
|
@@ -2,6 +2,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
2
2
|
exports.SwipeListControlDots = void 0;
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
+
const style_1 = require("../../utils/style");
|
|
5
6
|
const containerStyles = {
|
|
6
7
|
'horizontal-list': 'mx-auto mt-5 w-fit',
|
|
7
8
|
'vertical-list': 'absolute flex-col justify-center h-full top-0 left-4',
|
|
@@ -10,9 +11,9 @@ const activeDotStyles = {
|
|
|
10
11
|
'horizontal-list': 'w-6',
|
|
11
12
|
'vertical-list': 'h-6',
|
|
12
13
|
};
|
|
13
|
-
const dotStyle = 'cursor-pointer
|
|
14
|
+
const dotStyle = 'cursor-pointer rounded-full transition-width duration-300 bg-primary-main group-data-secondary:bg-white group-data-transparent:bg-white';
|
|
14
15
|
const inactiveDotStyle = 'w-2 h-2 opacity-30';
|
|
15
|
-
exports.SwipeListControlDots = (0, uni_jsx_1.JSX)(({ containerRef, activeIndex, dotCount = 0, listType = 'horizontal-list' }) => {
|
|
16
|
+
exports.SwipeListControlDots = (0, uni_jsx_1.JSX)(({ containerRef, activeIndex, dotCount = 0, listType = 'horizontal-list', version }) => {
|
|
16
17
|
const handleClick = (idx) => {
|
|
17
18
|
if (idx !== activeIndex && containerRef?.current) {
|
|
18
19
|
containerRef.current.children[idx]?.scrollIntoView({
|
|
@@ -21,6 +22,6 @@ exports.SwipeListControlDots = (0, uni_jsx_1.JSX)(({ containerRef, activeIndex,
|
|
|
21
22
|
});
|
|
22
23
|
}
|
|
23
24
|
};
|
|
24
|
-
return dotCount ? ((0, jsx_runtime_1.jsx)("div", { className:
|
|
25
|
+
return dotCount ? ((0, jsx_runtime_1.jsx)("div", { className: (0, style_1.style)('flex gap-2', containerStyles[listType], version ? 'group' : ''), ...(version ? { 'data-ver': version } : {}), children: new Array(dotCount).fill(null).map((_, idx) => ((0, jsx_runtime_1.jsx)("div", { className: `${dotStyle} ${idx === activeIndex ? activeDotStyles[listType] : inactiveDotStyle}`, role: "button", "aria-hidden": true, onClick: () => handleClick(idx) }, String(idx)))) })) : null;
|
|
25
26
|
});
|
|
26
27
|
//# sourceMappingURL=SwipeListControlDots.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SwipeListControlDots.js","sourceRoot":"","sources":["../../../src/ui-kit/SwipeListControl/SwipeListControlDots.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;
|
|
1
|
+
{"version":3,"file":"SwipeListControlDots.js","sourceRoot":"","sources":["../../../src/ui-kit/SwipeListControl/SwipeListControlDots.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,6CAA0C;AAG1C,MAAM,eAAe,GAAyC;IAC5D,iBAAiB,EAAE,oBAAoB;IACvC,eAAe,EAAE,sDAAsD;CACxE,CAAC;AAEF,MAAM,eAAe,GAAyC;IAC5D,iBAAiB,EAAE,KAAK;IACxB,eAAe,EAAE,KAAK;CACvB,CAAC;AAEF,MAAM,QAAQ,GACZ,yIAAyI,CAAC;AAE5I,MAAM,gBAAgB,GAAG,oBAAoB,CAAC;AAUjC,QAAA,oBAAoB,GAAG,IAAA,aAAG,EACrC,CAAC,EAAE,YAAY,EAAE,WAAW,EAAE,QAAQ,GAAG,CAAC,EAAE,QAAQ,GAAG,iBAAiB,EAAE,OAAO,EAAE,EAAE,EAAE;IACrF,MAAM,WAAW,GAAG,CAAC,GAAW,EAAE,EAAE;QAClC,IAAI,GAAG,KAAK,WAAW,IAAI,YAAY,EAAE,OAAO,EAAE;YAChD,YAAY,CAAC,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,cAAc,CAAC;gBACjD,QAAQ,EAAE,QAAQ;gBAClB,KAAK,EAAE,SAAS;aACjB,CAAC,CAAC;SACJ;IACH,CAAC,CAAC;IAEF,OAAO,QAAQ,CAAC,CAAC,CAAC,CAChB,gCACE,SAAS,EAAE,IAAA,aAAK,EAAC,YAAY,EAAE,eAAe,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,KAC7E,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,UAAU,EAAE,OAAO,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,YAE3C,IAAI,KAAK,CAAC,QAAQ,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,GAAW,EAAE,EAAE,CAAC,CACtD,gCAEE,SAAS,EAAE,GAAG,QAAQ,IACpB,GAAG,KAAK,WAAW,CAAC,CAAC,CAAC,eAAe,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,gBACpD,EAAE,EACF,IAAI,EAAC,QAAQ,uBAEb,OAAO,EAAE,GAAG,EAAE,CAAC,WAAW,CAAC,GAAG,CAAC,IAN1B,MAAM,CAAC,GAAG,CAAC,CAOhB,CACH,CAAC,GACE,CACP,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CACF,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { ButtonVersion } from '../../model/ButtonVersion';
|
|
2
2
|
import type { TitleProps } from '../../model/HeadlineType';
|
|
3
|
+
import type { UniBlockContent } from '../../model/JSXBlock';
|
|
3
4
|
import type { LinkProps } from '../../model/LinkProps';
|
|
4
5
|
import type { ButtonAdditionalProps } from '../../ui-kit/Button/ButtonProps';
|
|
5
6
|
/**
|
|
@@ -16,7 +17,7 @@ export interface SubmitButtonProps extends ButtonAdditionalProps {
|
|
|
16
17
|
/**
|
|
17
18
|
* @title Форма заявки
|
|
18
19
|
*/
|
|
19
|
-
export declare type ApplicationFormContent = TitleProps & {
|
|
20
|
+
export declare type ApplicationFormContent = UniBlockContent & TitleProps & {
|
|
20
21
|
/**
|
|
21
22
|
* @title Вид заявки
|
|
22
23
|
* @default credit
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { BlockVersion } from '../../model/BlockVersion';
|
|
2
1
|
import type { EmptyOption } from '../../model/EmptyOptionType';
|
|
3
2
|
import type { LabelProps, TitleProps } from '../../model/HeadlineType';
|
|
3
|
+
import type { UniBlockContent } from '../../model/JSXBlock';
|
|
4
4
|
import type { IconProps } from '../../model/Picture';
|
|
5
5
|
/**
|
|
6
6
|
* @title Пункты описания
|
|
@@ -41,12 +41,10 @@ export declare type BenefitBlockItemProps = LabelProps & IconProps & {
|
|
|
41
41
|
/**
|
|
42
42
|
* @title Блок преимущества
|
|
43
43
|
*/
|
|
44
|
-
export declare type BenefitsBlockContent = TitleProps & {
|
|
44
|
+
export declare type BenefitsBlockContent = UniBlockContent & TitleProps & {
|
|
45
45
|
/**
|
|
46
46
|
* @title Список преимуществ
|
|
47
47
|
* @maxItems 6
|
|
48
48
|
*/
|
|
49
49
|
benefitList?: BenefitBlockItemProps[];
|
|
50
|
-
/** @default primary */
|
|
51
|
-
version?: BlockVersion;
|
|
52
50
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import type { EmptyOption } from '../../model/EmptyOptionType';
|
|
2
2
|
import type { HeadlineCommonProps } from '../../model/HeadlineType';
|
|
3
|
-
import type {
|
|
3
|
+
import type { UniBlockContent } from '../../model/JSXBlock';
|
|
4
4
|
import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
|
|
5
|
+
import type { ImageContent } from '../../ui-kit/Img/ImgProps';
|
|
5
6
|
/**
|
|
6
7
|
* @title Изображение
|
|
7
8
|
*/
|
|
8
|
-
export declare type BonusImageDef = {
|
|
9
|
+
export declare type BonusImageDef = ImageContent & {
|
|
9
10
|
/** @default image */
|
|
10
11
|
bonusType?: 'image';
|
|
11
|
-
image?: Picture;
|
|
12
12
|
};
|
|
13
13
|
/**
|
|
14
14
|
* @title Баллы
|
|
@@ -40,7 +40,7 @@ export declare type BonusItem = HeadlineCommonProps & {
|
|
|
40
40
|
/**
|
|
41
41
|
* @title Блок Бонусы
|
|
42
42
|
*/
|
|
43
|
-
export declare type BonusContent = HeadlineCommonProps & {
|
|
43
|
+
export declare type BonusContent = UniBlockContent & HeadlineCommonProps & {
|
|
44
44
|
/** @title Список плиток */
|
|
45
45
|
bonusItems?: BonusItem[];
|
|
46
46
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { AlignType } from '../../model/AlignType';
|
|
2
2
|
import type { DescriptionProps, LabelProps, TitleProps } from '../../model/HeadlineType';
|
|
3
|
+
import type { UniBlockContent } from '../../model/JSXBlock';
|
|
3
4
|
import type { IconProps } from '../../model/Picture';
|
|
4
5
|
/**
|
|
5
6
|
* @title Количество элементов в строке
|
|
@@ -17,7 +18,7 @@ export declare type BonusBenefit = LabelProps & IconProps & DescriptionProps;
|
|
|
17
18
|
/**
|
|
18
19
|
* @title Блок бонусов и преимуществ
|
|
19
20
|
*/
|
|
20
|
-
export declare type BonusBenefitsBlockContent = TitleProps & {
|
|
21
|
+
export declare type BonusBenefitsBlockContent = UniBlockContent & TitleProps & {
|
|
21
22
|
/** @title Подзаголовок */
|
|
22
23
|
subtitle?: string;
|
|
23
24
|
/** @title Список бонусов */
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { TitleProps } from '../../model/HeadlineType';
|
|
2
|
+
import type { UniBlockContent } from '../../model/JSXBlock';
|
|
3
|
+
import type { IconProps } from '../../model/Picture';
|
|
2
4
|
import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
|
|
5
|
+
import type { ImageContent } from '../../ui-kit/Img/ImgProps';
|
|
3
6
|
/** @default {"icon": {"format": "webp", "size": { "width": 24, "height": 24 }}} */
|
|
4
7
|
export declare type BusinessCardItemProps = IconProps & {
|
|
5
8
|
/** @title Текст */
|
|
6
9
|
text?: string;
|
|
7
10
|
};
|
|
8
|
-
export
|
|
9
|
-
/** @title Заголовок карточки */
|
|
10
|
-
title?: string;
|
|
11
|
-
image?: Picture;
|
|
11
|
+
export declare type BusinessCardProps = TitleProps & ImageContent & {
|
|
12
12
|
/** @title Список */
|
|
13
13
|
cardItems?: BusinessCardItemProps[];
|
|
14
14
|
/**
|
|
@@ -17,17 +17,15 @@ export interface BusinessCardProps {
|
|
|
17
17
|
* "iconRight": {"format": "webp", "size": { "width": 24, "height": 24 }}, "text": "Кнопка"}
|
|
18
18
|
*/
|
|
19
19
|
button?: ButtonWithIconProps;
|
|
20
|
-
}
|
|
20
|
+
};
|
|
21
21
|
/**
|
|
22
22
|
* @title Бизнес блок
|
|
23
23
|
*/
|
|
24
|
-
export
|
|
25
|
-
/** @title Заголовок блока */
|
|
26
|
-
title?: string;
|
|
24
|
+
export declare type BusinessBlockContent = UniBlockContent & TitleProps & {
|
|
27
25
|
/**
|
|
28
26
|
* @title Карточки
|
|
29
27
|
* @minItems 2
|
|
30
28
|
* @maxItems 2
|
|
31
29
|
*/
|
|
32
30
|
cards?: BusinessCardProps[];
|
|
33
|
-
}
|
|
31
|
+
};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import type { LabelProps, TitleProps } from '../../model/HeadlineType';
|
|
2
|
+
import type { UniBlockContent } from '../../model/JSXBlock';
|
|
2
3
|
import type { ButtonProps } from '../../ui-kit/Button/ButtonProps';
|
|
3
4
|
/**
|
|
4
5
|
* @title Перевод с карты на карту
|
|
5
6
|
*/
|
|
6
|
-
export declare type CardTransferContent = LabelProps & TitleProps & {
|
|
7
|
+
export declare type CardTransferContent = UniBlockContent & LabelProps & TitleProps & {
|
|
7
8
|
/** @title Плейсхолдер */
|
|
8
9
|
placeholder?: string;
|
|
9
10
|
button?: ButtonProps;
|
|
@@ -19,7 +19,7 @@ export const Carousel = JSX(({ className = '', itemCount, visibleItemCount, isBl
|
|
|
19
19
|
isCyclic,
|
|
20
20
|
});
|
|
21
21
|
const isBankHistoryCarousel = childBlocks && childBlocks[0]?.type === 'CarouselBankHistoryCard';
|
|
22
|
-
return (_jsx(BlockWrapper, { className: style(getPaddingStyle(isPadding), className), ...rest, children: _jsxs("div", { className: "relative max-w-full", children: [_jsx(SwipeListContainer, { containerRef: containerRef, visibleItemCount: visibleItemCount, snapAlign: "snap-start", gap: ITEMS_GAP, onVisibleIndicesChange: scroll.handleVisibleIndicesChange, children: isBankHistoryCarousel
|
|
22
|
+
return (_jsx(BlockWrapper, { className: style(getPaddingStyle(isPadding), 'group-data-secondary:bg-primary-main group-data-secondary:text-white', className), ...rest, children: _jsxs("div", { className: "relative max-w-full", children: [_jsx(SwipeListContainer, { containerRef: containerRef, visibleItemCount: visibleItemCount, snapAlign: "snap-start", gap: ITEMS_GAP, onVisibleIndicesChange: scroll.handleVisibleIndicesChange, children: isBankHistoryCarousel
|
|
23
23
|
? renderChildren({
|
|
24
24
|
...rest,
|
|
25
25
|
options: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Carousel.js","sourceRoot":"","sources":["../../../src/components/Carousel/Carousel.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAEpE,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,kBAAkB,EAAE,MAAM,kDAAkD,CAAC;AACtF,OAAO,EAAE,kBAAkB,EAAE,MAAM,kDAAkD,CAAC;AACtF,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE1C,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAMhE,MAAM,SAAS,GAAG,CAAC,CAAC;AAEpB,MAAM,CAAC,MAAM,QAAQ,GAA4B,GAAG,CAClD,CAAC,EACC,SAAS,GAAG,EAAE,EACd,SAAS,EACT,gBAAgB,EAChB,MAAM,GAAG,IAAI,EACb,QAAQ,GAAG,KAAK,EAChB,YAAY,GAAG,IAAI,EACnB,SAAS,GAAG,IAAI,EAChB,OAAO,EACP,GAAG,IAAI,EACR,EAAE,EAAE;IACH,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,GAAG,IAAI,CAAC,KAAK,IAAI,EAAE,CAAC;IACjD,MAAM,KAAK,GAAG,SAAS,IAAI,WAAW,EAAE,MAAM,IAAI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BAAqB,aAClC,KAAC,kBAAkB,IACjB,YAAY,EAAE,YAAY,EAC1B,gBAAgB,EAAE,gBAAgB,EAClC,SAAS,EAAC,YAAY,EACtB,GAAG,EAAE,SAAS,EACd,sBAAsB,EAAE,MAAM,CAAC,0BAA0B,YAExD,qBAAqB;wBACpB,CAAC,CAAC,cAAc,CAAC;4BACb,GAAG,IAAI;4BACP,OAAO,EAAE;gCACP,GAAG,OAAO;gCACV,UAAU,EAAE;oCACV,YAAY,EAAE,WAAW,EAAE,MAAM;oCACjC,WAAW,EAAE,WAAW;iCACzB;6BACF;yBACF,CAAC;wBACJ,CAAC,CAAC,cAAc,CAAC,EAAE,GAAG,IAAI,EAAE,OAAO,EAAE,CAAC,GACrB,EACrB,KAAC,qBAAqB,IACpB,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,YAAY,EAC1B,YAAY,EAAE,mBAAmB,EACjC,aAAa,EAAE,mBAAmB,EAClC,aAAa,EAAE,qBAAqB,EACpC,WAAW,EAAE,WAAW,EACxB,SAAS,EAAE,KAAK,GAChB,IACE,GACO,CAChB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,QAAQ,CAAC,aAAa,GAAG;IACvB,cAAc;IACd,yBAAyB;IACzB,qBAAqB;IACrB,wBAAwB;IACxB,qBAAqB;IACrB,sBAAsB;IACtB,4BAA4B;IAC5B,qBAAqB;IACrB,wBAAwB;IACxB,mBAAmB;CACpB,CAAC;AAEF,MAAM,eAAe,GAAG,CAAC,SAAkB,EAAU,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import type { UniBlockContent } from '../../model/JSXBlock';
|
|
1
2
|
/**
|
|
2
3
|
* @title Карусель
|
|
3
4
|
*/
|
|
4
|
-
export
|
|
5
|
+
export declare type CarouselContent = UniBlockContent & {
|
|
5
6
|
/**
|
|
6
7
|
* @title Количество видимых карточек
|
|
7
8
|
* @enumNames ["auto", "1", "2", "3"]
|
|
@@ -18,4 +19,4 @@ export interface CarouselContent {
|
|
|
18
19
|
isCyclic?: boolean;
|
|
19
20
|
/** @title Внутренний отступ */
|
|
20
21
|
isPadding?: boolean;
|
|
21
|
-
}
|
|
22
|
+
};
|
|
@@ -3,7 +3,7 @@ import { JSX } from '@redneckz/uni-jsx';
|
|
|
3
3
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
|
|
4
4
|
import { style } from '../../utils/style.js';
|
|
5
5
|
import { Headline } from '../Headline/Headline.js';
|
|
6
|
-
export const CarouselBankHistoryCard = JSX(({ title, description, blocksLength = 0, activeIndex, options
|
|
6
|
+
export const CarouselBankHistoryCard = JSX(({ title, description, blocksLength = 0, activeIndex, options }) => {
|
|
7
7
|
const orderNumber = Number(options?.key?.split('-').slice(-1)[0]) || 0;
|
|
8
8
|
const isActive = orderNumber === activeIndex;
|
|
9
9
|
return (_jsx(BlockWrapper, { className: "flex h-[485px]", children: isActive ? (_jsx("div", { className: "relative flex items-center w-full", children: _jsx(Headline, { headlineVersion: "S", title: title, description: description, align: "text-left", className: style('absolute z-10 h-[385px] w-[440px] text-white shadow-dark-blue', getActiveBlockPosition(orderNumber, blocksLength), getBackgroundColor(orderNumber)) }) })) : (_jsx("div", { className: "flex w-full items-center justify-center", children: _jsx("div", { className: style('flex justify-center items-center h-[300px] w-[340px] font-mohave text-title-large tracking-[-0.03em]', getBackgroundColor(orderNumber)), children: _jsx("span", { className: getTextColor(orderNumber), children: title }) }) })) }));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CarouselBankHistoryCard.js","sourceRoot":"","sources":["../../../src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAQhD,MAAM,CAAC,MAAM,uBAAuB,GAAG,GAAG,CACxC,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,YAAY,GAAG,CAAC,EAAE,WAAW,EAAE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"CarouselBankHistoryCard.js","sourceRoot":"","sources":["../../../src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAQhD,MAAM,CAAC,MAAM,uBAAuB,GAAG,GAAG,CACxC,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,YAAY,GAAG,CAAC,EAAE,WAAW,EAAE,OAAO,EAAE,EAAE,EAAE;IACjE,MAAM,WAAW,GAAG,MAAM,CAAC,OAAO,EAAE,GAAG,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;IACvE,MAAM,QAAQ,GAAG,WAAW,KAAK,WAAW,CAAC;IAE7C,OAAO,CACL,KAAC,YAAY,IAAC,SAAS,EAAC,gBAAgB,YACrC,QAAQ,CAAC,CAAC,CAAC,CACV,cAAK,SAAS,EAAC,mCAAmC,YAChD,KAAC,QAAQ,IACP,eAAe,EAAC,GAAG,EACnB,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,KAAK,EAAC,WAAW,EACjB,SAAS,EAAE,KAAK,CACd,+DAA+D,EAC/D,sBAAsB,CAAC,WAAW,EAAE,YAAY,CAAC,EACjD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|
2
|
+
import type { UniBlockContent } from '../../model/JSXBlock';
|
|
1
3
|
/**
|
|
2
4
|
* @title Карточка карусели истории банка
|
|
3
5
|
*/
|
|
4
|
-
export
|
|
5
|
-
/** @title Заголовок */
|
|
6
|
-
title?: string;
|
|
7
|
-
/** @title Описание */
|
|
8
|
-
description?: string;
|
|
9
|
-
}
|
|
6
|
+
export declare type CarouselBankHistoryCardContent = UniBlockContent & HeadlineCommonProps;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import type { SizeVersion } from '../../model/SizeVersion';
|
|
2
1
|
import type { HeadlineCommonProps } from '../../model/HeadlineType';
|
|
2
|
+
import type { UniBlockContent } from '../../model/JSXBlock';
|
|
3
|
+
import type { SizeVersion } from '../../model/SizeVersion';
|
|
3
4
|
import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
|
|
4
5
|
/**
|
|
5
6
|
* @title Карточка карусели
|
|
6
7
|
*/
|
|
7
|
-
export
|
|
8
|
+
export declare type CarouselCardContent = UniBlockContent & HeadlineCommonProps & {
|
|
8
9
|
/**
|
|
9
10
|
* @title Кнопка
|
|
10
11
|
* @default {
|
|
@@ -14,4 +15,4 @@ export interface CarouselCardContent extends HeadlineCommonProps {
|
|
|
14
15
|
*/
|
|
15
16
|
button?: ButtonWithIconProps;
|
|
16
17
|
carouselVersion?: SizeVersion;
|
|
17
|
-
}
|
|
18
|
+
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import type { BlockVersion } from '../../model/BlockVersion';
|
|
2
1
|
import type { HeadlineCommonProps } from '../../model/HeadlineType';
|
|
2
|
+
import type { UniBlockContent } from '../../model/JSXBlock';
|
|
3
3
|
import type { ProductColorVersion } from '../../model/ProductColorVersion';
|
|
4
4
|
import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
|
|
5
5
|
import type { ImageContent } from '../../ui-kit/Img/ImgProps';
|
|
6
6
|
/**
|
|
7
7
|
* @title Карточка каталога
|
|
8
8
|
*/
|
|
9
|
-
export declare type CarouselCatalogCardContent = HeadlineCommonProps & ImageContent & {
|
|
9
|
+
export declare type CarouselCatalogCardContent = UniBlockContent & HeadlineCommonProps & ImageContent & {
|
|
10
10
|
/** @title Цена в рублях */
|
|
11
11
|
price?: number;
|
|
12
12
|
/** @title Доступные цвета */
|
|
@@ -19,5 +19,4 @@ export declare type CarouselCatalogCardContent = HeadlineCommonProps & ImageCont
|
|
|
19
19
|
* }
|
|
20
20
|
*/
|
|
21
21
|
button?: ButtonWithIconProps;
|
|
22
|
-
version?: BlockVersion;
|
|
23
22
|
};
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import type { DescriptionProps, TitleProps } from '../../model/HeadlineType';
|
|
2
|
+
import type { UniBlockContent } from '../../model/JSXBlock';
|
|
2
3
|
import type { LinkCommonProps } from '../../model/LinkProps';
|
|
3
|
-
import type {
|
|
4
|
+
import type { IconProps } from '../../model/Picture';
|
|
4
5
|
/**
|
|
5
6
|
* @title Карточка мероприятия в карусели
|
|
6
7
|
*/
|
|
7
|
-
export declare type CarouselEventCardContent = TitleProps & DescriptionProps & LinkCommonProps &
|
|
8
|
-
icon?: Picture;
|
|
9
|
-
};
|
|
8
|
+
export declare type CarouselEventCardContent = UniBlockContent & TitleProps & DescriptionProps & LinkCommonProps & IconProps;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
1
|
+
import type { AdditionalDescriptionProps, HeadlineCommonProps } from '../../model/HeadlineType';
|
|
2
|
+
import type { UniBlockContent } from '../../model/JSXBlock';
|
|
3
3
|
import type { Picture } from '../../model/Picture';
|
|
4
4
|
/**
|
|
5
5
|
* @title Количество колонок
|
|
@@ -18,9 +18,7 @@ export interface CardsListItem {
|
|
|
18
18
|
/**
|
|
19
19
|
* @title Карточка галереи инвестиций
|
|
20
20
|
*/
|
|
21
|
-
export
|
|
22
|
-
/** @title Доп. описание карточки */
|
|
23
|
-
additionalDescription?: string;
|
|
21
|
+
export declare type CarouselInvestmentCardContent = UniBlockContent & HeadlineCommonProps & AdditionalDescriptionProps & {
|
|
24
22
|
/** @default 1 */
|
|
25
23
|
columnsMode?: CardColumnsMode;
|
|
26
24
|
/**
|
|
@@ -42,5 +40,4 @@ export interface CarouselInvestmentCardContent extends HeadlineCommonProps {
|
|
|
42
40
|
* }
|
|
43
41
|
*/
|
|
44
42
|
image?: Picture;
|
|
45
|
-
|
|
46
|
-
}
|
|
43
|
+
};
|
|
@@ -6,12 +6,12 @@ import { Paragraph } from '../../ui-kit/Paragraph/Paragraph.js';
|
|
|
6
6
|
import { Carousel } from '../Carousel/Carousel.js';
|
|
7
7
|
import { Headline } from '../Headline/Headline.js';
|
|
8
8
|
const MAX_LINKS_COUNT = 10;
|
|
9
|
-
export const CarouselLinks = JSX(({ className = '', additionalDescription, description, links, title,
|
|
10
|
-
return (_jsxs(BlockWrapper, { className: `flex w-full p-10 overflow-hidden justify-between ${className}`,
|
|
9
|
+
export const CarouselLinks = JSX(({ className = '', additionalDescription, description, links, title, ...rest }) => {
|
|
10
|
+
return (_jsxs(BlockWrapper, { className: `flex w-full p-10 overflow-hidden justify-between ${className}`, ...rest, children: [_jsxs("div", { className: "flex flex-col max-w-96 pr-9 text-white text-xl-light", children: [_jsx(Headline, { className: "p-0", title: title, description: description, as: "h1", align: "text-left" }), additionalDescription ? (_jsx("div", { className: "pt-6", children: _jsx(Paragraph, { children: additionalDescription }) })) : null] }), links?.length ? renderLinks(links) : null] }));
|
|
11
11
|
});
|
|
12
12
|
const renderLinks = (links) => {
|
|
13
13
|
const itemCount = Math.ceil(links.length / MAX_LINKS_COUNT);
|
|
14
|
-
return (_jsx(Carousel, {
|
|
14
|
+
return (_jsx(Carousel, { className: "min-w-[832px] w-[832px]", isBlur: false, isCyclic: true, itemCount: itemCount, children: new Array(itemCount).fill(null).map((_, groupIndex) => (_jsx("div", { className: "w-[672px] min-w-[672px] ml-20 mr-20 flex flex-wrap self-start", children: links
|
|
15
15
|
.slice(groupIndex * MAX_LINKS_COUNT, (groupIndex + 1) * MAX_LINKS_COUNT)
|
|
16
16
|
.map((link, index) => (_jsx(LinkButton, { className: "m-1", ...link }, String(index)))) }, String(groupIndex)))) }));
|
|
17
17
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CarouselLinks.js","sourceRoot":"","sources":["../../../src/components/CarouselLinks/CarouselLinks.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAC7D,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAKhD,MAAM,eAAe,GAAG,EAAE,CAAC;AAE3B,MAAM,CAAC,MAAM,aAAa,GAAG,GAAG,CAC9B,CAAC,
|
|
1
|
+
{"version":3,"file":"CarouselLinks.js","sourceRoot":"","sources":["../../../src/components/CarouselLinks/CarouselLinks.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAC7D,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAKhD,MAAM,eAAe,GAAG,EAAE,CAAC;AAE3B,MAAM,CAAC,MAAM,aAAa,GAAG,GAAG,CAC9B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,qBAAqB,EAAE,WAAW,EAAE,KAAK,EAAE,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KAAK,CAAC,CAA8B,CAC7D,CAAC,IAPC,MAAM,CAAC,UAAU,CAAC,CAQnB,CACP,CAAC,GACO,CACZ,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import type { HeadlineCommonProps } from '../../model/HeadlineType';
|
|
1
|
+
import type { AdditionalDescriptionProps, HeadlineCommonProps } from '../../model/HeadlineType';
|
|
2
|
+
import type { UniBlockContent } from '../../model/JSXBlock';
|
|
2
3
|
import type { LinkProps } from '../../model/LinkProps';
|
|
3
4
|
/** @title Карусель с ссылками */
|
|
4
|
-
export
|
|
5
|
-
/** @title Дополнительное описание */
|
|
6
|
-
additionalDescription?: string;
|
|
5
|
+
export declare type CarouselLinksContent = UniBlockContent & HeadlineCommonProps & AdditionalDescriptionProps & {
|
|
7
6
|
/** @title Ссылки */
|
|
8
7
|
links?: LinkProps[];
|
|
9
|
-
}
|
|
8
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
1
|
+
import type { AdditionalDescriptionProps, HeadlineSmallProps } from '../../model/HeadlineType';
|
|
2
|
+
import type { UniBlockContent } from '../../model/JSXBlock';
|
|
3
3
|
import type { Picture } from '../../model/Picture';
|
|
4
4
|
import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
|
|
5
5
|
import type { TextAlign } from '../../ui-kit/Text/TextProps';
|
|
@@ -13,9 +13,7 @@ export interface ListProps {
|
|
|
13
13
|
/**
|
|
14
14
|
* @title Карточка продуктовой карусели
|
|
15
15
|
*/
|
|
16
|
-
export declare type CarouselProductCardContent = HeadlineSmallProps & {
|
|
17
|
-
/** @title Дополнительное описание */
|
|
18
|
-
additionalDescription?: string;
|
|
16
|
+
export declare type CarouselProductCardContent = UniBlockContent & HeadlineSmallProps & AdditionalDescriptionProps & {
|
|
19
17
|
/**
|
|
20
18
|
* @default {
|
|
21
19
|
* "format": "webp",
|
|
@@ -40,7 +38,6 @@ export declare type CarouselProductCardContent = HeadlineSmallProps & {
|
|
|
40
38
|
isDotted?: boolean;
|
|
41
39
|
/** @title Список */
|
|
42
40
|
items?: ListProps[];
|
|
43
|
-
version?: BlockVersion;
|
|
44
41
|
/**
|
|
45
42
|
* @title Выравнивание
|
|
46
43
|
* @default text-center
|
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
import type { BlockVersion } from '../../model/BlockVersion';
|
|
2
1
|
import type { HeadlineCommonProps, TitleProps } from '../../model/HeadlineType';
|
|
3
|
-
import type {
|
|
2
|
+
import type { UniBlockContent } from '../../model/JSXBlock';
|
|
3
|
+
import type { IconProps } from '../../model/Picture';
|
|
4
4
|
/**
|
|
5
5
|
* @title Карточка программ карусели
|
|
6
6
|
*/
|
|
7
|
-
export declare type CarouselProgramsCardContent = TitleProps & {
|
|
8
|
-
icon?: Picture;
|
|
7
|
+
export declare type CarouselProgramsCardContent = UniBlockContent & TitleProps & IconProps & {
|
|
9
8
|
/** @title Список */
|
|
10
9
|
list?: HeadlineCommonProps[];
|
|
11
|
-
version?: BlockVersion;
|
|
12
10
|
};
|
package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts
CHANGED
|
@@ -1,18 +1,17 @@
|
|
|
1
|
-
import type { BlockVersion } from '../../model/BlockVersion';
|
|
2
1
|
import type { ButtonVersion } from '../../model/ButtonVersion';
|
|
3
2
|
import type { HeadlineCommonProps } from '../../model/HeadlineType';
|
|
3
|
+
import type { UniBlockContent } from '../../model/JSXBlock';
|
|
4
4
|
import type { LinkCommonProps } from '../../model/LinkProps';
|
|
5
|
-
import type { Picture } from '../../model/Picture';
|
|
5
|
+
import type { IconProps, Picture } from '../../model/Picture';
|
|
6
6
|
import type { ListContent } from '../../ui-kit/List/ListContent';
|
|
7
|
-
export declare type RecommendationSocialMedia = LinkCommonProps & {
|
|
7
|
+
export declare type RecommendationSocialMedia = LinkCommonProps & IconProps & {
|
|
8
8
|
version: ButtonVersion;
|
|
9
|
-
icon?: Picture;
|
|
10
9
|
rounded?: boolean;
|
|
11
10
|
};
|
|
12
11
|
/**
|
|
13
12
|
* @title Карточка рекомендаций
|
|
14
13
|
*/
|
|
15
|
-
export
|
|
14
|
+
export declare type CarouselRecommendationCardContent = UniBlockContent & HeadlineCommonProps & ListContent & {
|
|
16
15
|
/**
|
|
17
16
|
* @title Соц сети
|
|
18
17
|
*/
|
|
@@ -32,5 +31,4 @@ export interface CarouselRecommendationCardContent extends HeadlineCommonProps,
|
|
|
32
31
|
* }
|
|
33
32
|
*/
|
|
34
33
|
image?: Picture;
|
|
35
|
-
|
|
36
|
-
}
|
|
34
|
+
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { HeadlineCommonProps, TitleProps } from '../../model/HeadlineType';
|
|
2
|
-
import type {
|
|
2
|
+
import type { UniBlockContent } from '../../model/JSXBlock';
|
|
3
|
+
import type { IconProps } from '../../model/Picture';
|
|
3
4
|
import type { ButtonProps } from '../../ui-kit/Button/ButtonProps';
|
|
4
5
|
/**
|
|
5
6
|
* @title Карточка тарифной карусели
|
|
6
7
|
*/
|
|
7
|
-
export declare type CarouselTariffsCardContent = TitleProps & {
|
|
8
|
-
icon?: Picture;
|
|
8
|
+
export declare type CarouselTariffsCardContent = UniBlockContent & TitleProps & IconProps & {
|
|
9
9
|
/** @title Выделить карточку */
|
|
10
10
|
isHighlighting?: boolean;
|
|
11
11
|
/** @title Кнопка */
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { TitleProps } from '../../model/HeadlineType';
|
|
2
|
+
import type { Column } from './ComparisonTableContent';
|
|
2
3
|
interface ComparisonTableBodyProps {
|
|
3
4
|
columns?: Column[];
|
|
4
|
-
rowHeaders?:
|
|
5
|
+
rowHeaders?: TitleProps[];
|
|
5
6
|
isShowAllRow: boolean;
|
|
6
7
|
isColoredFirstColumn: boolean;
|
|
7
8
|
visibleRowLength: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ComparisonTableBody.js","sourceRoot":"","sources":["../../../src/components/ComparisonTable/ComparisonTableBody.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;
|
|
1
|
+
{"version":3,"file":"ComparisonTableBody.js","sourceRoot":"","sources":["../../../src/components/ComparisonTable/ComparisonTableBody.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AAEtE,OAAO,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAE9E,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAUrD,MAAM,CAAC,MAAM,mBAAmB,GAAG,GAAG,CACpC,CAAC,EAAE,OAAO,GAAG,EAAE,EAAE,UAAU,EAAE,YAAY,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,EAAE,EAAE;IACrF,MAAM,UAAU,GAAG,OAAO,EAAE,GAAG,CAAC,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,MAAM,IAAI,EAAE,CAAC,CAAC;IAC9D,MAAM,OAAO,GAAG,OAAO,EAAE,GAAG,CAAC,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;IACvD,MAAM,OAAO,GAAG,UAAU;QACxB,EAAE,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;QACpB,MAAM;QACN,IAAI,EAAE,OAAO,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;KAC7C,CAAC,CAAC;SACF,KAAK,CAAC,CAAC,EAAE,YAAY,CAAC,CAAC,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC;IAEjE,MAAM,CAAC,WAAW,EAAE,QAAQ,CAAC,GAAG,mBAAmB,CAAC;QAClD,SAAS,EAAE,OAAO,CAAC,MAAM;QACzB,gBAAgB,EAAE,sBAAsB;KACzC,CAAC,CAAC;IAEH,MAAM,EAAE,iBAAiB,EAAE,GAAG,QAAQ,CAAC;IAEvC,OAAO,CACL,0BACE,eAAK,IAAI,EAAC,OAAO,aACd,UAAU,EAAE,MAAM,CAAC,CAAC,CAAC,CACpB,KAAC,4BAA4B,IAAC,UAAU,EAAE,UAAU,EAAE,WAAW,EAAE,WAAW,GAAI,CACnF,CAAC,CAAC,CAAC,IAAI,EACP,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC,CACjB,KAAC,mBAAmB,IAClB,OAAO,EAAE,OAAO,EAChB,oBAAoB,EAAE,oBAAoB,EAC1C,WAAW,EAAE,WAAW,EACxB,QAAQ,EAAE,QAAQ,GAClB,CACH,CAAC,CAAC,CAAC,IAAI,IACJ,EACL,iBAAiB,CAAC,CAAC,CAAC,CACnB,cAAK,SAAS,EAAC,8DAA8D,GAAG,CACjF,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import type { DescriptionProps, LabelProps, TitleProps } from '../../model/HeadlineType';
|
|
2
|
+
import type { UniBlockContent } from '../../model/JSXBlock';
|
|
1
3
|
import type { LinkProps } from '../../model/LinkProps';
|
|
2
4
|
import type { ListOrientation } from '../../model/ListOrientation';
|
|
3
5
|
import type { Picture } from '../../model/Picture';
|
|
4
|
-
import type { DescriptionProps, LabelProps, TitleProps } from '../../model/HeadlineType';
|
|
5
6
|
/**
|
|
6
7
|
* @title Ячейка
|
|
7
8
|
*/
|
|
@@ -26,17 +27,10 @@ export interface Column {
|
|
|
26
27
|
/** @title Данные */
|
|
27
28
|
data?: CellData[][];
|
|
28
29
|
}
|
|
29
|
-
/**
|
|
30
|
-
* @title Параметр
|
|
31
|
-
*/
|
|
32
|
-
export interface RowHeader {
|
|
33
|
-
/** @title Заголовок */
|
|
34
|
-
title?: string;
|
|
35
|
-
}
|
|
36
30
|
/**
|
|
37
31
|
* @title Сравнительная таблица
|
|
38
32
|
*/
|
|
39
|
-
export declare type ComparisonTableContent = TitleProps & {
|
|
33
|
+
export declare type ComparisonTableContent = UniBlockContent & TitleProps & {
|
|
40
34
|
/** @title Параметры */
|
|
41
35
|
rowHeaders?: TitleProps[];
|
|
42
36
|
/** @title Продукты */
|