@redneckz/wildless-cms-uni-blocks 0.11.2 → 0.12.3
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.11.1.js +34 -0
- package/bin/migration-scripts/0.12.3.js +22 -0
- package/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +231 -282
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/ButtonsBlock/ButtonsBlock.d.ts +6 -0
- package/bundle/components/ButtonsBlock/ButtonsBlockContent.d.ts +8 -0
- package/bundle/components/CarouselCard/CarouselCard.d.ts +1 -1
- package/bundle/components/CarouselCard/getCardWidth.d.ts +1 -0
- package/bundle/components/CarouselCard/titleSize.d.ts +1 -0
- package/bundle/components/CarouselCard/titleSize.mobile.d.ts +1 -0
- package/bundle/components/CarouselProductCard/CarouselProductCard.d.ts +1 -1
- package/bundle/components/Footer/Contacts.d.ts +2 -2
- package/bundle/components/Footer/FooterContent.d.ts +9 -1
- package/bundle/components/Footer/FooterDataProps.d.ts +2 -2
- package/bundle/components/Headline/HeadlineContent.d.ts +0 -2
- package/bundle/components/MobileAppTile/renderDescription.d.ts +2 -0
- package/bundle/components/MobileAppTile/renderList.d.ts +2 -0
- package/bundle/components/PictureText/PictureTextContent.d.ts +2 -6
- package/bundle/components/PictureText/renderInsuranceSumMonth.d.ts +2 -0
- package/bundle/components/ProductBlock/ProductBlockContent.d.ts +3 -22
- package/bundle/components/ProductGallery/ProductGalleryContent.d.ts +2 -2
- package/bundle/components/PromoTile/PromoTileContent.d.ts +2 -3
- package/bundle/components/RollupItem/RollupItemContent.d.ts +4 -2
- package/bundle/components/RollupItem/renderRoundedIcon.d.ts +3 -0
- package/bundle/components/RollupItem/renderRoundedIcon.mobile.d.ts +4 -0
- package/bundle/components/Tile/TileContent.d.ts +2 -13
- package/bundle/model/Align.d.ts +5 -0
- package/bundle/model/AlignText.d.ts +3 -0
- package/bundle/model/AlignType.d.ts +2 -0
- package/bundle/model/HeadlineType.d.ts +8 -1
- package/bundle/model/JSXBlock.d.ts +12 -5
- package/bundle/ui-kit/BaseProductTile/BaseProductTile.d.ts +7 -0
- package/bundle/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +22 -0
- package/bundle/{components → ui-kit}/BaseTile/BaseTile.d.ts +2 -0
- package/bundle/ui-kit/BenefitItem/BenefitItem.d.ts +5 -2
- package/bundle/ui-kit/BenefitItem/BenefitItemContent.d.ts +16 -0
- package/bundle/ui-kit/BenefitItem/borderRadius.mobile.d.ts +1 -0
- package/bundle/ui-kit/BenefitItem/labelSize.d.ts +1 -0
- package/bundle/ui-kit/BenefitItem/labelSize.mobile.d.ts +1 -0
- package/bundle/ui-kit/BenefitsList/BenefitsList.d.ts +6 -0
- package/bundle/ui-kit/BenefitsList/BenefitsListContent.d.ts +14 -0
- package/bundle/ui-kit/BenefitsList/renderBenefit.d.ts +4 -0
- package/bundle/ui-kit/Icon/IconProps.d.ts +8 -3
- package/bundle/ui-kit/Icon/RoundedIcon.d.ts +5 -1
- package/bundle/ui-kit/Img/Img.d.ts +2 -1
- package/bundle/ui-kit/Img/ImgProps.d.ts +0 -1
- package/bundle/ui-kit/List/ListContent.d.ts +6 -0
- package/bundle/ui-kit/List/ListItem.d.ts +1 -1
- package/bundle/ui-kit/List/ListProps.d.ts +0 -6
- package/bundle/ui-kit/SwipeListControl/SwipeListContainer.d.ts +4 -2
- package/bundle/ui-kit/SwipeListControl/SwipeListControl.d.ts +10 -1
- package/bundle/ui-kit/SwipeListControl/SwipeListControlContent.d.ts +16 -4
- package/bundle/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +1 -1
- package/bundle/ui-kit/Tags/Tags.d.ts +2 -2
- package/bundle/utils/avg.d.ts +1 -0
- package/bundle/utils/deviation.d.ts +1 -0
- package/dist/components/ApplicationForm/ApplicationForm.js +1 -2
- package/dist/components/ApplicationForm/ApplicationForm.js.map +1 -1
- package/dist/components/ApplicationForm/ResponseNotification.js +1 -1
- package/dist/components/ApplicationForm/ResponseNotification.js.map +1 -1
- package/dist/components/BenefitsBlock/BenefitsBlock.js +3 -2
- package/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/dist/components/Blocks.js +2 -2
- package/dist/components/Blocks.js.map +1 -1
- package/dist/components/Blocks.mobile.js +6 -0
- package/dist/components/Blocks.mobile.js.map +1 -1
- package/dist/components/Bonus/Bonus.js +2 -2
- package/dist/components/Bonus/Bonus.js.map +1 -1
- package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
- package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/dist/components/BusinessBlock/BusinessBlock.js +1 -1
- package/dist/components/BusinessBlock/BusinessBlock.js.map +1 -1
- package/dist/components/BusinessBlock/BusinessCard.js +1 -1
- package/dist/components/ButtonsBlock/ButtonsBlock.d.ts +6 -0
- package/dist/components/ButtonsBlock/ButtonsBlock.js +9 -0
- package/dist/components/ButtonsBlock/ButtonsBlock.js.map +1 -0
- package/dist/components/ButtonsBlock/ButtonsBlockContent.d.ts +8 -0
- package/dist/components/ButtonsBlock/ButtonsBlockContent.js +2 -0
- package/dist/components/ButtonsBlock/ButtonsBlockContent.js.map +1 -0
- package/dist/components/Calculator/Calculator.js +1 -1
- package/dist/components/Calculator/Calculator.js.map +1 -1
- package/dist/components/CardTransfer/CardTransfer.js +1 -1
- package/dist/components/CardTransfer/CardTransfer.js.map +1 -1
- package/dist/components/Carousel/Carousel.js +1 -1
- package/dist/components/Carousel/Carousel.js.map +1 -1
- package/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +1 -1
- package/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
- package/dist/components/CarouselCard/CarouselCard.d.ts +1 -1
- package/dist/components/CarouselCard/CarouselCard.js +9 -7
- package/dist/components/CarouselCard/CarouselCard.js.map +1 -1
- package/dist/components/CarouselCard/getCardWidth.d.ts +1 -0
- package/dist/components/CarouselCard/getCardWidth.js +18 -0
- package/dist/components/CarouselCard/getCardWidth.js.map +1 -0
- package/dist/components/CarouselCard/titleSize.d.ts +1 -0
- package/dist/components/CarouselCard/titleSize.js +4 -0
- package/dist/components/CarouselCard/titleSize.js.map +1 -0
- package/dist/components/CarouselCard/titleSize.mobile.d.ts +1 -0
- package/dist/components/CarouselCard/titleSize.mobile.js +4 -0
- package/dist/components/CarouselCard/titleSize.mobile.js.map +1 -0
- package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +2 -1
- package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
- package/dist/components/CarouselEventCard/CarouselEventCard.js +1 -1
- package/dist/components/CarouselEventCard/CarouselEventCard.js.map +1 -1
- package/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js +2 -2
- package/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
- package/dist/components/CarouselLinks/CarouselLinks.js +3 -4
- package/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
- package/dist/components/CarouselProductCard/CarouselProductCard.d.ts +1 -1
- package/dist/components/CarouselProductCard/CarouselProductCard.js +6 -6
- package/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
- package/dist/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -1
- package/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -1
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.js +1 -1
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.js.map +1 -1
- package/dist/components/CarouselRichTextCard/CarouselRichTextCard.js +1 -1
- package/dist/components/CarouselRichTextCard/CarouselRichTextCard.js.map +1 -1
- package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +1 -1
- package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/dist/components/ComparisonTable/ComparisonTable.js +2 -1
- package/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
- package/dist/components/ContactsBlock/ContactsBlock.js +3 -2
- package/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
- package/dist/components/DepositFiltration/DepositFiltration.js +1 -1
- package/dist/components/DepositFiltration/DepositFiltration.js.map +1 -1
- package/dist/components/ErrorBlock/ErrorBlock.js +1 -1
- package/dist/components/ErrorBlock/ErrorBlock.js.map +1 -1
- package/dist/components/ExchangeRateOffice/ExchangeRateOffice.js +2 -2
- package/dist/components/ExchangeRateOffice/ExchangeRateOffice.js.map +1 -1
- package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +1 -1
- package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
- package/dist/components/ExchangeRateTile/ExchangeRateTile.js +3 -2
- package/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
- package/dist/components/Footer/Contacts.d.ts +2 -2
- package/dist/components/Footer/Contacts.js +4 -5
- package/dist/components/Footer/Contacts.js.map +1 -1
- package/dist/components/Footer/Footer.js +1 -1
- package/dist/components/Footer/Footer.js.map +1 -1
- package/dist/components/Footer/Footer.mobile.js +2 -3
- package/dist/components/Footer/Footer.mobile.js.map +1 -1
- package/dist/components/Footer/FooterContent.d.ts +9 -1
- package/dist/components/Footer/FooterDataProps.d.ts +2 -2
- package/dist/components/GracePeriod/GracePeriod.js +1 -1
- package/dist/components/GracePeriod/GracePeriod.js.map +1 -1
- package/dist/components/Header/Header.js +1 -1
- package/dist/components/Header/Header.js.map +1 -1
- package/dist/components/Header/Header.mobile.js +1 -1
- package/dist/components/Header/Header.mobile.js.map +1 -1
- package/dist/components/Headline/Headline.js +2 -3
- package/dist/components/Headline/Headline.js.map +1 -1
- package/dist/components/Headline/HeadlineContent.d.ts +0 -2
- package/dist/components/Headline/headlineVersionStyles.js +9 -9
- package/dist/components/Headline/headlineVersionStyles.js.map +1 -1
- package/dist/components/HorizontalLayout/HorizontalLayout.js +1 -1
- package/dist/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
- package/dist/components/ImgBlock/ImgBlock.js +1 -1
- package/dist/components/ImgBlock/ImgBlock.js.map +1 -1
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +2 -1
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
- package/dist/components/InvestmentInfo/InvestmentInfo.js +3 -3
- package/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
- package/dist/components/LinkDocs/LinkDocs.js +1 -1
- package/dist/components/LinkDocs/LinkDocs.js.map +1 -1
- package/dist/components/LinkDocs/LinkDocs.mobile.js +1 -2
- package/dist/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
- package/dist/components/MobileAppTile/MobileAppTile.js +6 -12
- package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/dist/components/MobileAppTile/renderButtonSection.d.ts +0 -0
- package/dist/components/MobileAppTile/renderButtonSection.js +1 -0
- package/dist/components/MobileAppTile/renderButtonSection.js.map +1 -0
- package/dist/components/MobileAppTile/renderDescription.d.ts +2 -0
- package/dist/components/MobileAppTile/renderDescription.js +7 -0
- package/dist/components/MobileAppTile/renderDescription.js.map +1 -0
- package/dist/components/MobileAppTile/renderList.d.ts +2 -0
- package/dist/components/MobileAppTile/renderList.js +9 -0
- package/dist/components/MobileAppTile/renderList.js.map +1 -0
- package/dist/components/MortgageFiltration/MortgageFiltration.js +1 -1
- package/dist/components/MortgageFiltration/MortgageFiltration.js.map +1 -1
- package/dist/components/OfficeServicesBlock/OfficeServicesBlock.js +2 -1
- package/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
- package/dist/components/ParagraphBlock/ParagraphBlock.js +1 -1
- package/dist/components/ParagraphBlock/ParagraphBlock.js.map +1 -1
- package/dist/components/PictureText/PictureText.js +3 -14
- package/dist/components/PictureText/PictureText.js.map +1 -1
- package/dist/components/PictureText/PictureTextContent.d.ts +2 -6
- package/dist/components/PictureText/renderInsuranceSumMonth.d.ts +2 -0
- package/dist/components/PictureText/renderInsuranceSumMonth.js +9 -0
- package/dist/components/PictureText/renderInsuranceSumMonth.js.map +1 -0
- package/dist/components/Placeholder/Placeholder.js +1 -6
- package/dist/components/Placeholder/Placeholder.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlock.js +3 -3
- package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlockContent.d.ts +3 -22
- package/dist/components/ProductGallery/ProductGallery.js +2 -2
- package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
- package/dist/components/ProductGallery/ProductGallery.mobile.js +5 -6
- package/dist/components/ProductGallery/ProductGallery.mobile.js.map +1 -1
- package/dist/components/ProductGallery/ProductGalleryContent.d.ts +2 -2
- package/dist/components/ProductTile/ProductTile.js +1 -2
- package/dist/components/ProductTile/ProductTile.js.map +1 -1
- package/dist/components/PromoTile/PromoTile.js +2 -5
- package/dist/components/PromoTile/PromoTile.js.map +1 -1
- package/dist/components/PromoTile/PromoTileContent.d.ts +2 -3
- package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +1 -1
- package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
- package/dist/components/RichTextBlock/RichTextBlock.js +1 -1
- package/dist/components/RichTextBlock/RichTextBlock.js.map +1 -1
- package/dist/components/RollupItem/RollupItem.js +14 -9
- package/dist/components/RollupItem/RollupItem.js.map +1 -1
- package/dist/components/RollupItem/RollupItemContent.d.ts +4 -2
- package/dist/components/RollupItem/renderRoundedIcon.d.ts +3 -0
- package/dist/components/RollupItem/renderRoundedIcon.js +6 -0
- package/dist/components/RollupItem/renderRoundedIcon.js.map +1 -0
- package/dist/components/RollupItem/renderRoundedIcon.mobile.d.ts +4 -0
- package/dist/components/RollupItem/renderRoundedIcon.mobile.js +7 -0
- package/dist/components/RollupItem/renderRoundedIcon.mobile.js.map +1 -0
- package/dist/components/SafeDepositRental/SafeDepositRental.js +2 -2
- package/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/dist/components/StepsBlock/StepsBlock.js +1 -1
- package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
- package/dist/components/StepsBlock/StepsBlock.mobile.js +1 -1
- package/dist/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
- package/dist/components/SwipeListControlBlock/SwipeListControlBlock.js +1 -3
- package/dist/components/SwipeListControlBlock/SwipeListControlBlock.js.map +1 -1
- package/dist/components/Tabs/Tabs.js +1 -1
- package/dist/components/Tabs/Tabs.js.map +1 -1
- package/dist/components/TariffsTable/EmbeddableCellData.mobile.js +3 -6
- package/dist/components/TariffsTable/EmbeddableCellData.mobile.js.map +1 -1
- package/dist/components/TariffsTable/TableTileHeader.js +2 -2
- package/dist/components/TariffsTable/TableTileHeader.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTable.js +2 -1
- package/dist/components/TariffsTable/TariffsTable.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTable.mobile.js +3 -3
- package/dist/components/TariffsTable/TariffsTable.mobile.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableHorizontal.js +1 -1
- package/dist/components/TariffsTable/TariffsTableHorizontal.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableTileCell.js +2 -2
- package/dist/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
- package/dist/components/TextBlock/TextBlock.js +1 -3
- package/dist/components/TextBlock/TextBlock.js.map +1 -1
- package/dist/components/Tile/Tile.js +2 -14
- package/dist/components/Tile/Tile.js.map +1 -1
- package/dist/components/Tile/TileContent.d.ts +2 -13
- package/dist/components/VerticalLayout/VerticalLayout.js +1 -1
- package/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
- package/dist/components/Video/Video.js +1 -2
- package/dist/components/Video/Video.js.map +1 -1
- package/dist/content-page-repository/transformDocumentLink.js +1 -1
- package/dist/content-page-repository/transformDocumentLink.js.map +1 -1
- package/dist/content-page-repository/transformImg.js +1 -1
- package/dist/content-page-repository/transformImg.js.map +1 -1
- package/dist/model/Align.d.ts +5 -0
- package/dist/{ui-kit/BenefitItem/BenefitItemProps.js → model/Align.js} +1 -1
- package/dist/model/Align.js.map +1 -0
- package/dist/model/AlignText.d.ts +3 -0
- package/dist/model/AlignText.js +3 -0
- package/dist/model/AlignText.js.map +1 -1
- package/dist/model/AlignType.d.ts +2 -0
- package/dist/model/HeadlineType.d.ts +8 -1
- package/dist/model/JSXBlock.d.ts +12 -5
- package/dist/ui-kit/BaseProductTile/BaseProductTile.d.ts +7 -0
- package/dist/ui-kit/BaseProductTile/BaseProductTile.js +18 -0
- package/dist/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -0
- package/dist/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +22 -0
- package/dist/ui-kit/{SwipeListControl/SwipeListControlProps.js → BaseProductTile/BaseProductTileContent.js} +1 -1
- package/dist/ui-kit/BaseProductTile/BaseProductTileContent.js.map +1 -0
- package/{lib/components → dist/ui-kit}/BaseTile/BaseTile.d.ts +2 -0
- package/dist/ui-kit/BaseTile/BaseTile.js +13 -0
- package/dist/ui-kit/BaseTile/BaseTile.js.map +1 -0
- package/dist/ui-kit/BaseTile/getTileRightPadding.js.map +1 -0
- package/dist/ui-kit/BenefitItem/BenefitItem.d.ts +5 -2
- package/dist/ui-kit/BenefitItem/BenefitItem.js +7 -10
- package/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/dist/ui-kit/BenefitItem/BenefitItemContent.d.ts +16 -0
- package/dist/{components/ButtonBlock/ButtonBlockContent.js → ui-kit/BenefitItem/BenefitItemContent.js} +1 -1
- package/dist/ui-kit/BenefitItem/BenefitItemContent.js.map +1 -0
- package/dist/ui-kit/BenefitItem/borderRadius.mobile.d.ts +1 -0
- package/dist/ui-kit/BenefitItem/borderRadius.mobile.js +4 -0
- package/dist/ui-kit/BenefitItem/borderRadius.mobile.js.map +1 -0
- package/dist/ui-kit/BenefitItem/labelSize.d.ts +1 -0
- package/dist/ui-kit/BenefitItem/labelSize.js +4 -0
- package/dist/ui-kit/BenefitItem/labelSize.js.map +1 -0
- package/dist/ui-kit/BenefitItem/labelSize.mobile.d.ts +1 -0
- package/dist/ui-kit/BenefitItem/labelSize.mobile.js +4 -0
- package/dist/ui-kit/BenefitItem/labelSize.mobile.js.map +1 -0
- package/dist/ui-kit/BenefitsList/BenefitsList.d.ts +6 -0
- package/dist/ui-kit/BenefitsList/BenefitsList.js +14 -0
- package/dist/ui-kit/BenefitsList/BenefitsList.js.map +1 -0
- package/dist/ui-kit/BenefitsList/BenefitsListContent.d.ts +14 -0
- package/dist/ui-kit/BenefitsList/BenefitsListContent.js +2 -0
- package/dist/ui-kit/BenefitsList/BenefitsListContent.js.map +1 -0
- package/dist/ui-kit/BenefitsList/renderBenefit.d.ts +4 -0
- package/dist/ui-kit/BenefitsList/renderBenefit.js +13 -0
- package/dist/ui-kit/BenefitsList/renderBenefit.js.map +1 -0
- package/dist/ui-kit/BlockWrapper.js +3 -3
- package/dist/ui-kit/BlockWrapper.js.map +1 -1
- package/dist/ui-kit/Button/ButtonInner.js +1 -1
- package/dist/ui-kit/Button/renderButtonsSection.js +2 -2
- package/dist/ui-kit/Button/renderButtonsSection.js.map +1 -1
- package/dist/ui-kit/Heading/Heading.js +2 -1
- package/dist/ui-kit/Heading/Heading.js.map +1 -1
- package/dist/ui-kit/Icon/IconProps.d.ts +8 -3
- package/dist/ui-kit/Icon/RoundedIcon.d.ts +5 -1
- package/dist/ui-kit/Icon/RoundedIcon.js +6 -2
- package/dist/ui-kit/Icon/RoundedIcon.js.map +1 -1
- package/dist/ui-kit/Img/Img.d.ts +2 -1
- package/dist/ui-kit/Img/Img.js +10 -2
- package/dist/ui-kit/Img/Img.js.map +1 -1
- package/dist/ui-kit/Img/ImgAsPicture.js +6 -12
- package/dist/ui-kit/Img/ImgAsPicture.js.map +1 -1
- package/dist/ui-kit/Img/ImgProps.d.ts +0 -1
- package/dist/ui-kit/List/List.js.map +1 -1
- package/dist/ui-kit/List/ListContent.d.ts +6 -0
- package/dist/ui-kit/List/ListItem.d.ts +1 -1
- package/dist/ui-kit/List/ListProps.d.ts +0 -6
- package/dist/ui-kit/SwipeListControl/SwipeListContainer.d.ts +4 -2
- package/dist/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
- package/dist/ui-kit/SwipeListControl/SwipeListControl.d.ts +10 -1
- package/dist/ui-kit/SwipeListControl/SwipeListControl.js +1 -1
- package/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
- package/dist/ui-kit/SwipeListControl/SwipeListControlContent.d.ts +16 -4
- package/dist/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +1 -1
- package/dist/ui-kit/Tags/Tags.d.ts +2 -2
- package/dist/ui-kit/Tags/Tags.js +4 -5
- package/dist/ui-kit/Tags/Tags.js.map +1 -1
- package/dist/utils/avg.d.ts +1 -0
- package/dist/utils/avg.js +6 -0
- package/dist/utils/avg.js.map +1 -0
- package/dist/utils/deviation.d.ts +1 -0
- package/dist/utils/deviation.js +6 -0
- package/dist/utils/deviation.js.map +1 -0
- package/lib/common.css +1 -1
- package/lib/components/ApplicationForm/ApplicationForm.js +1 -2
- package/lib/components/ApplicationForm/ApplicationForm.js.map +1 -1
- package/lib/components/ApplicationForm/ResponseNotification.js +1 -1
- package/lib/components/ApplicationForm/ResponseNotification.js.map +1 -1
- package/lib/components/BenefitsBlock/BenefitsBlock.js +3 -2
- package/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/lib/components/Blocks.js +2 -2
- package/lib/components/Blocks.js.map +1 -1
- package/lib/components/Blocks.mobile.js +6 -0
- package/lib/components/Blocks.mobile.js.map +1 -1
- package/lib/components/Bonus/Bonus.js +2 -2
- package/lib/components/Bonus/Bonus.js.map +1 -1
- package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
- package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/lib/components/BusinessBlock/BusinessBlock.js +1 -1
- package/lib/components/BusinessBlock/BusinessBlock.js.map +1 -1
- package/lib/components/BusinessBlock/BusinessCard.js +1 -1
- package/lib/components/ButtonsBlock/ButtonsBlock.d.ts +6 -0
- package/lib/components/ButtonsBlock/ButtonsBlock.fixture.mobile.d.ts +6 -0
- package/lib/components/{ButtonBlock/ButtonBlock.js → ButtonsBlock/ButtonsBlock.js} +2 -2
- package/lib/components/ButtonsBlock/ButtonsBlock.js.map +1 -0
- package/lib/components/ButtonsBlock/ButtonsBlockContent.d.ts +8 -0
- package/lib/components/ButtonsBlock/ButtonsBlockContent.js +2 -0
- package/lib/components/ButtonsBlock/ButtonsBlockContent.js.map +1 -0
- package/lib/components/Calculator/Calculator.js +1 -1
- package/lib/components/Calculator/Calculator.js.map +1 -1
- package/lib/components/CardTransfer/CardTransfer.fixture.mobile.d.ts +6 -0
- package/lib/components/CardTransfer/CardTransfer.js +1 -1
- package/lib/components/CardTransfer/CardTransfer.js.map +1 -1
- package/lib/components/Carousel/Carousel.js +1 -1
- package/lib/components/Carousel/Carousel.js.map +1 -1
- package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +1 -1
- package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
- package/lib/components/CarouselCard/CarouselCard.d.ts +1 -1
- package/lib/components/CarouselCard/CarouselCard.fixture.mobile.d.ts +8 -0
- package/lib/components/CarouselCard/CarouselCard.js +9 -7
- package/lib/components/CarouselCard/CarouselCard.js.map +1 -1
- package/lib/components/CarouselCard/getCardWidth.d.ts +1 -0
- package/lib/components/CarouselCard/getCardWidth.js +15 -0
- package/lib/components/CarouselCard/getCardWidth.js.map +1 -0
- package/lib/components/CarouselCard/titleSize.d.ts +1 -0
- package/lib/components/CarouselCard/titleSize.js +2 -0
- package/lib/components/CarouselCard/titleSize.js.map +1 -0
- package/lib/components/CarouselCard/titleSize.mobile.d.ts +1 -0
- package/lib/components/CarouselCard/titleSize.mobile.js +2 -0
- package/lib/components/CarouselCard/titleSize.mobile.js.map +1 -0
- package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +2 -1
- package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
- package/lib/components/CarouselEventCard/CarouselEventCard.js +1 -1
- package/lib/components/CarouselEventCard/CarouselEventCard.js.map +1 -1
- package/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js +2 -2
- package/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
- package/lib/components/CarouselLinks/CarouselLinks.js +3 -4
- package/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
- package/lib/components/CarouselProductCard/CarouselProductCard.d.ts +1 -1
- package/lib/components/CarouselProductCard/CarouselProductCard.js +6 -6
- package/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
- package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -1
- package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -1
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.js +1 -1
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.js.map +1 -1
- package/lib/components/CarouselRichTextCard/CarouselRichTextCard.js +1 -1
- package/lib/components/CarouselRichTextCard/CarouselRichTextCard.js.map +1 -1
- package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +1 -1
- package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/lib/components/ComparisonTable/ComparisonTable.js +2 -1
- package/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
- package/lib/components/ContactsBlock/ContactsBlock.js +3 -2
- package/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
- package/lib/components/DepositFiltration/DepositFiltration.js +1 -1
- package/lib/components/DepositFiltration/DepositFiltration.js.map +1 -1
- package/lib/components/ErrorBlock/ErrorBlock.js +1 -1
- package/lib/components/ErrorBlock/ErrorBlock.js.map +1 -1
- package/lib/components/ExchangeRateOffice/ExchangeRateOffice.js +2 -2
- package/lib/components/ExchangeRateOffice/ExchangeRateOffice.js.map +1 -1
- package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +1 -1
- package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
- package/lib/components/ExchangeRateTile/ExchangeRateTile.js +3 -2
- package/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
- package/lib/components/Footer/Contacts.d.ts +2 -2
- package/lib/components/Footer/Contacts.js +4 -5
- package/lib/components/Footer/Contacts.js.map +1 -1
- package/lib/components/Footer/Footer.js +1 -1
- package/lib/components/Footer/Footer.js.map +1 -1
- package/lib/components/Footer/Footer.mobile.js +2 -3
- package/lib/components/Footer/Footer.mobile.js.map +1 -1
- package/lib/components/Footer/FooterContent.d.ts +9 -1
- package/lib/components/Footer/FooterDataProps.d.ts +2 -2
- package/lib/components/GracePeriod/GracePeriod.js +1 -1
- package/lib/components/GracePeriod/GracePeriod.js.map +1 -1
- package/lib/components/Header/Header.js +1 -1
- package/lib/components/Header/Header.js.map +1 -1
- package/lib/components/Header/Header.mobile.js +1 -1
- package/lib/components/Header/Header.mobile.js.map +1 -1
- package/lib/components/Headline/Headline.js +2 -3
- package/lib/components/Headline/Headline.js.map +1 -1
- package/lib/components/Headline/HeadlineContent.d.ts +0 -2
- package/lib/components/Headline/headlineVersionStyles.js +9 -9
- package/lib/components/Headline/headlineVersionStyles.js.map +1 -1
- package/lib/components/HorizontalLayout/HorizontalLayout.js +1 -1
- package/lib/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
- package/lib/components/ImgBlock/ImgBlock.js +1 -1
- package/lib/components/ImgBlock/ImgBlock.js.map +1 -1
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +2 -1
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
- package/lib/components/InvestmentInfo/InvestmentInfo.js +3 -3
- package/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
- package/lib/components/LinkDocs/LinkDocs.js +1 -1
- package/lib/components/LinkDocs/LinkDocs.js.map +1 -1
- package/lib/components/LinkDocs/LinkDocs.mobile.js +1 -2
- package/lib/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
- package/lib/components/MobileAppTile/MobileAppTile.fixture.mobile.d.ts +1 -0
- package/lib/components/MobileAppTile/MobileAppTile.js +6 -12
- package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/lib/components/MobileAppTile/renderButtonSection.d.ts +0 -0
- package/lib/components/MobileAppTile/renderButtonSection.js +1 -0
- package/lib/components/MobileAppTile/renderButtonSection.js.map +1 -0
- package/lib/components/MobileAppTile/renderDescription.d.ts +1 -0
- package/lib/components/MobileAppTile/renderDescription.js +4 -0
- package/lib/components/MobileAppTile/renderDescription.js.map +1 -0
- package/lib/components/MobileAppTile/renderList.d.ts +1 -0
- package/lib/components/MobileAppTile/renderList.js +6 -0
- package/lib/components/MobileAppTile/renderList.js.map +1 -0
- package/lib/components/MortgageFiltration/MortgageFiltration.js +1 -1
- package/lib/components/MortgageFiltration/MortgageFiltration.js.map +1 -1
- package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js +2 -1
- package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
- package/lib/components/ParagraphBlock/ParagraphBlock.js +1 -1
- package/lib/components/ParagraphBlock/ParagraphBlock.js.map +1 -1
- package/lib/components/PictureText/PictureText.fixture.mobile.d.ts +14 -0
- package/lib/components/PictureText/PictureText.js +4 -15
- package/lib/components/PictureText/PictureText.js.map +1 -1
- package/lib/components/PictureText/PictureTextContent.d.ts +2 -6
- package/lib/components/PictureText/renderInsuranceSumMonth.d.ts +1 -0
- package/lib/components/PictureText/renderInsuranceSumMonth.js +6 -0
- package/lib/components/PictureText/renderInsuranceSumMonth.js.map +1 -0
- package/lib/components/Placeholder/Placeholder.js +1 -6
- package/lib/components/Placeholder/Placeholder.js.map +1 -1
- package/lib/components/ProductBlock/ProductBlock.js +3 -3
- package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
- package/lib/components/ProductBlock/ProductBlockContent.d.ts +3 -22
- package/lib/components/ProductGallery/ProductGallery.js +2 -2
- package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
- package/lib/components/ProductGallery/ProductGallery.mobile.js +5 -6
- package/lib/components/ProductGallery/ProductGallery.mobile.js.map +1 -1
- package/lib/components/ProductGallery/ProductGalleryContent.d.ts +2 -2
- package/lib/components/ProductTile/ProductTile.js +1 -2
- package/lib/components/ProductTile/ProductTile.js.map +1 -1
- package/lib/components/PromoTile/PromoTile.js +2 -5
- package/lib/components/PromoTile/PromoTile.js.map +1 -1
- package/lib/components/PromoTile/PromoTileContent.d.ts +2 -3
- package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +1 -1
- package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
- package/lib/components/RichTextBlock/RichTextBlock.js +1 -1
- package/lib/components/RichTextBlock/RichTextBlock.js.map +1 -1
- package/lib/components/RollupItem/RollupItem.fixture.mobile.d.ts +1 -0
- package/lib/components/RollupItem/RollupItem.js +14 -9
- package/lib/components/RollupItem/RollupItem.js.map +1 -1
- package/lib/components/RollupItem/RollupItemContent.d.ts +4 -2
- package/lib/components/RollupItem/renderRoundedIcon.d.ts +3 -0
- package/lib/components/RollupItem/renderRoundedIcon.js +3 -0
- package/lib/components/RollupItem/renderRoundedIcon.js.map +1 -0
- package/lib/components/RollupItem/renderRoundedIcon.mobile.d.ts +3 -0
- package/lib/components/RollupItem/renderRoundedIcon.mobile.js +4 -0
- package/lib/components/RollupItem/renderRoundedIcon.mobile.js.map +1 -0
- package/lib/components/SafeDepositRental/SafeDepositRental.js +2 -2
- package/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/lib/components/StepsBlock/StepsBlock.js +1 -1
- package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
- package/lib/components/StepsBlock/StepsBlock.mobile.js +1 -1
- package/lib/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
- package/lib/components/SwipeListControlBlock/SwipeListControlBlock.js +1 -3
- package/lib/components/SwipeListControlBlock/SwipeListControlBlock.js.map +1 -1
- package/lib/components/Tabs/Tabs.js +1 -1
- package/lib/components/Tabs/Tabs.js.map +1 -1
- package/lib/components/TariffsTable/EmbeddableCellData.mobile.js +3 -6
- package/lib/components/TariffsTable/EmbeddableCellData.mobile.js.map +1 -1
- package/lib/components/TariffsTable/TableTileHeader.js +2 -2
- package/lib/components/TariffsTable/TableTileHeader.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTable.js +2 -1
- package/lib/components/TariffsTable/TariffsTable.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTable.mobile.js +3 -3
- package/lib/components/TariffsTable/TariffsTable.mobile.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTableHorizontal.js +1 -1
- package/lib/components/TariffsTable/TariffsTableHorizontal.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTableTileCell.js +2 -2
- package/lib/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
- package/lib/components/TextBlock/TextBlock.js +1 -3
- package/lib/components/TextBlock/TextBlock.js.map +1 -1
- package/lib/components/Tile/Tile.js +3 -15
- package/lib/components/Tile/Tile.js.map +1 -1
- package/lib/components/Tile/TileContent.d.ts +2 -13
- package/lib/components/VerticalLayout/VerticalLayout.js +1 -1
- package/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
- package/lib/components/Video/Video.js +1 -2
- package/lib/components/Video/Video.js.map +1 -1
- package/lib/content-page-repository/transformDocumentLink.js +1 -1
- package/lib/content-page-repository/transformDocumentLink.js.map +1 -1
- package/lib/content-page-repository/transformImg.js +1 -1
- package/lib/content-page-repository/transformImg.js.map +1 -1
- package/lib/model/Align.d.ts +5 -0
- package/lib/model/Align.js +2 -0
- package/lib/model/Align.js.map +1 -0
- package/lib/model/AlignText.d.ts +3 -0
- package/lib/model/AlignText.js +3 -0
- package/lib/model/AlignText.js.map +1 -1
- package/lib/model/AlignType.d.ts +2 -0
- package/lib/model/HeadlineType.d.ts +8 -1
- package/lib/model/JSXBlock.d.ts +12 -5
- package/lib/ui-kit/BaseProductTile/BaseProductTile.d.ts +7 -0
- package/lib/ui-kit/BaseProductTile/BaseProductTile.js +16 -0
- package/lib/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -0
- package/lib/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +22 -0
- package/lib/ui-kit/BaseProductTile/BaseProductTileContent.js +2 -0
- package/lib/ui-kit/BaseProductTile/BaseProductTileContent.js.map +1 -0
- package/{mobile/bundle/components → lib/ui-kit}/BaseTile/BaseTile.d.ts +2 -0
- package/lib/ui-kit/BaseTile/BaseTile.js +11 -0
- package/lib/ui-kit/BaseTile/BaseTile.js.map +1 -0
- package/lib/ui-kit/BaseTile/getTileRightPadding.js.map +1 -0
- package/lib/ui-kit/BenefitItem/BenefitItem.d.ts +5 -2
- package/lib/ui-kit/BenefitItem/BenefitItem.js +7 -10
- package/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/lib/ui-kit/BenefitItem/BenefitItemContent.d.ts +16 -0
- package/lib/ui-kit/BenefitItem/BenefitItemContent.js +2 -0
- package/lib/ui-kit/BenefitItem/BenefitItemContent.js.map +1 -0
- package/lib/ui-kit/BenefitItem/borderRadius.mobile.d.ts +1 -0
- package/lib/ui-kit/BenefitItem/borderRadius.mobile.js +2 -0
- package/lib/ui-kit/BenefitItem/borderRadius.mobile.js.map +1 -0
- package/lib/ui-kit/BenefitItem/labelSize.d.ts +1 -0
- package/lib/ui-kit/BenefitItem/labelSize.js +2 -0
- package/lib/ui-kit/BenefitItem/labelSize.js.map +1 -0
- package/lib/ui-kit/BenefitItem/labelSize.mobile.d.ts +1 -0
- package/lib/ui-kit/BenefitItem/labelSize.mobile.js +2 -0
- package/lib/ui-kit/BenefitItem/labelSize.mobile.js.map +1 -0
- package/lib/ui-kit/BenefitsList/BenefitsList.d.ts +6 -0
- package/lib/ui-kit/BenefitsList/BenefitsList.js +12 -0
- package/lib/ui-kit/BenefitsList/BenefitsList.js.map +1 -0
- package/lib/ui-kit/BenefitsList/BenefitsListContent.d.ts +14 -0
- package/lib/ui-kit/BenefitsList/BenefitsListContent.js +2 -0
- package/lib/ui-kit/BenefitsList/BenefitsListContent.js.map +1 -0
- package/lib/ui-kit/BenefitsList/renderBenefit.d.ts +3 -0
- package/lib/ui-kit/BenefitsList/renderBenefit.js +10 -0
- package/lib/ui-kit/BenefitsList/renderBenefit.js.map +1 -0
- package/lib/ui-kit/BlockWrapper.js +3 -3
- package/lib/ui-kit/BlockWrapper.js.map +1 -1
- package/lib/ui-kit/Button/ButtonInner.js +1 -1
- package/lib/ui-kit/Button/renderButtonsSection.js +2 -2
- package/lib/ui-kit/Button/renderButtonsSection.js.map +1 -1
- package/lib/ui-kit/Heading/Heading.js +2 -1
- package/lib/ui-kit/Heading/Heading.js.map +1 -1
- package/lib/ui-kit/Icon/IconProps.d.ts +8 -3
- package/lib/ui-kit/Icon/RoundedIcon.d.ts +5 -1
- package/lib/ui-kit/Icon/RoundedIcon.js +6 -2
- package/lib/ui-kit/Icon/RoundedIcon.js.map +1 -1
- package/lib/ui-kit/Img/Img.d.ts +2 -1
- package/lib/ui-kit/Img/Img.js +10 -1
- package/lib/ui-kit/Img/Img.js.map +1 -1
- package/lib/ui-kit/Img/ImgAsPicture.js +6 -12
- package/lib/ui-kit/Img/ImgAsPicture.js.map +1 -1
- package/lib/ui-kit/Img/ImgProps.d.ts +0 -1
- package/lib/ui-kit/List/List.js.map +1 -1
- package/lib/ui-kit/List/ListContent.d.ts +6 -0
- package/lib/ui-kit/List/ListItem.d.ts +1 -1
- package/lib/ui-kit/List/ListProps.d.ts +0 -6
- package/lib/ui-kit/SwipeListControl/SwipeListContainer.d.ts +4 -2
- package/lib/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListControl.d.ts +10 -1
- package/lib/ui-kit/SwipeListControl/SwipeListControl.js +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListControlContent.d.ts +16 -4
- package/lib/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +1 -1
- package/lib/ui-kit/Tags/Tags.d.ts +2 -2
- package/lib/ui-kit/Tags/Tags.js +4 -5
- package/lib/ui-kit/Tags/Tags.js.map +1 -1
- package/lib/utils/avg.d.ts +1 -0
- package/lib/utils/avg.js +3 -0
- package/lib/utils/avg.js.map +1 -0
- package/lib/utils/deviation.d.ts +1 -0
- package/lib/utils/deviation.js +3 -0
- package/lib/utils/deviation.js.map +1 -0
- package/mobile/bundle/bundle.umd.js +603 -496
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/ButtonsBlock/ButtonsBlock.d.ts +6 -0
- package/mobile/bundle/components/ButtonsBlock/ButtonsBlockContent.d.ts +8 -0
- package/mobile/bundle/components/CarouselCard/CarouselCard.d.ts +1 -1
- package/mobile/bundle/components/CarouselCard/getCardWidth.d.ts +1 -0
- package/mobile/bundle/components/CarouselCard/titleSize.d.ts +1 -0
- package/mobile/bundle/components/CarouselProductCard/CarouselProductCard.d.ts +1 -1
- package/mobile/bundle/components/Footer/Contacts.d.ts +2 -2
- package/mobile/bundle/components/Footer/FooterContent.d.ts +9 -1
- package/mobile/bundle/components/Footer/FooterDataProps.d.ts +2 -2
- package/mobile/bundle/components/Headline/HeadlineContent.d.ts +0 -2
- package/mobile/bundle/components/MobileAppTile/renderDescription.d.ts +2 -0
- package/mobile/bundle/components/MobileAppTile/renderList.d.ts +2 -0
- package/mobile/bundle/components/PictureText/PictureTextContent.d.ts +2 -6
- package/mobile/bundle/components/PictureText/renderInsuranceSumMonth.d.ts +2 -0
- package/mobile/bundle/components/ProductBlock/ProductBlockContent.d.ts +3 -22
- package/mobile/bundle/components/ProductGallery/ProductGalleryContent.d.ts +2 -2
- package/mobile/bundle/components/PromoTile/PromoTileContent.d.ts +2 -3
- package/mobile/bundle/components/RollupItem/RollupItemContent.d.ts +4 -2
- package/mobile/bundle/components/RollupItem/renderRoundedIcon.d.ts +4 -0
- package/mobile/bundle/components/Tile/TileContent.d.ts +2 -13
- package/mobile/bundle/model/Align.d.ts +5 -0
- package/mobile/bundle/model/AlignText.d.ts +3 -0
- package/mobile/bundle/model/AlignType.d.ts +2 -0
- package/mobile/bundle/model/HeadlineType.d.ts +8 -1
- package/mobile/bundle/model/JSXBlock.d.ts +12 -5
- package/mobile/bundle/ui-kit/BaseProductTile/BaseProductTile.d.ts +7 -0
- package/mobile/bundle/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +22 -0
- package/{dist/components → mobile/bundle/ui-kit}/BaseTile/BaseTile.d.ts +2 -0
- package/mobile/bundle/ui-kit/BenefitItem/BenefitItem.d.ts +5 -2
- package/mobile/bundle/ui-kit/BenefitItem/BenefitItemContent.d.ts +16 -0
- package/mobile/bundle/ui-kit/BenefitItem/labelSize.d.ts +1 -0
- package/mobile/bundle/ui-kit/BenefitsList/BenefitsList.d.ts +6 -0
- package/mobile/bundle/ui-kit/BenefitsList/BenefitsListContent.d.ts +14 -0
- package/mobile/bundle/ui-kit/BenefitsList/renderBenefit.d.ts +4 -0
- package/mobile/bundle/ui-kit/Icon/IconProps.d.ts +8 -3
- package/mobile/bundle/ui-kit/Icon/RoundedIcon.d.ts +5 -1
- package/mobile/bundle/ui-kit/Img/ImgProps.d.ts +0 -1
- package/mobile/bundle/ui-kit/List/ListContent.d.ts +6 -0
- package/mobile/bundle/ui-kit/List/ListItem.d.ts +1 -1
- package/mobile/bundle/ui-kit/List/ListProps.d.ts +0 -6
- package/mobile/bundle/ui-kit/SwipeListControl/SwipeListContainer.d.ts +4 -2
- package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControl.d.ts +10 -1
- package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControlContent.d.ts +16 -4
- package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +1 -1
- package/mobile/bundle/ui-kit/Tags/Tags.d.ts +2 -2
- package/mobile/bundle/utils/avg.d.ts +1 -0
- package/mobile/bundle/utils/deviation.d.ts +1 -0
- package/mobile/dist/components/ApplicationForm/ApplicationForm.js +1 -2
- package/mobile/dist/components/ApplicationForm/ApplicationForm.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ResponseNotification.js +1 -1
- package/mobile/dist/components/ApplicationForm/ResponseNotification.js.map +1 -1
- package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js +3 -2
- package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/mobile/dist/components/Blocks.js +6 -0
- package/mobile/dist/components/Blocks.js.map +1 -1
- package/mobile/dist/components/Bonus/Bonus.js +2 -2
- package/mobile/dist/components/Bonus/Bonus.js.map +1 -1
- package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
- package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/mobile/dist/components/BusinessBlock/BusinessBlock.js +1 -1
- package/mobile/dist/components/BusinessBlock/BusinessBlock.js.map +1 -1
- package/mobile/dist/components/BusinessBlock/BusinessCard.js +1 -1
- package/mobile/dist/components/ButtonsBlock/ButtonsBlock.d.ts +6 -0
- package/mobile/dist/components/ButtonsBlock/ButtonsBlock.js +9 -0
- package/mobile/dist/components/ButtonsBlock/ButtonsBlock.js.map +1 -0
- package/mobile/dist/components/ButtonsBlock/ButtonsBlockContent.d.ts +8 -0
- package/mobile/dist/components/ButtonsBlock/ButtonsBlockContent.js +2 -0
- package/mobile/dist/components/ButtonsBlock/ButtonsBlockContent.js.map +1 -0
- package/mobile/dist/components/Calculator/Calculator.js +1 -1
- package/mobile/dist/components/Calculator/Calculator.js.map +1 -1
- package/mobile/dist/components/CardTransfer/CardTransfer.js +1 -1
- package/mobile/dist/components/CardTransfer/CardTransfer.js.map +1 -1
- package/mobile/dist/components/Carousel/Carousel.js +1 -1
- package/mobile/dist/components/Carousel/Carousel.js.map +1 -1
- package/mobile/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +1 -1
- package/mobile/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
- package/mobile/dist/components/CarouselCard/CarouselCard.d.ts +1 -1
- package/mobile/dist/components/CarouselCard/CarouselCard.js +9 -7
- package/mobile/dist/components/CarouselCard/CarouselCard.js.map +1 -1
- package/mobile/dist/components/CarouselCard/getCardWidth.d.ts +1 -0
- package/mobile/dist/components/CarouselCard/getCardWidth.js +18 -0
- package/mobile/dist/components/CarouselCard/getCardWidth.js.map +1 -0
- package/mobile/dist/components/CarouselCard/titleSize.d.ts +1 -0
- package/mobile/dist/components/CarouselCard/titleSize.js +4 -0
- package/mobile/dist/components/CarouselCard/titleSize.js.map +1 -0
- package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +2 -1
- package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
- package/mobile/dist/components/CarouselEventCard/CarouselEventCard.js +1 -1
- package/mobile/dist/components/CarouselEventCard/CarouselEventCard.js.map +1 -1
- package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js +2 -2
- package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
- package/mobile/dist/components/CarouselLinks/CarouselLinks.js +3 -4
- package/mobile/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
- package/mobile/dist/components/CarouselProductCard/CarouselProductCard.d.ts +1 -1
- package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js +6 -6
- package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
- package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -1
- package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
- package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -1
- package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/mobile/dist/components/CarouselRichTextCard/CarouselRichTextCard.js +1 -1
- package/mobile/dist/components/CarouselRichTextCard/CarouselRichTextCard.js.map +1 -1
- package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +1 -1
- package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/mobile/dist/components/ContactsBlock/ContactsBlock.js +3 -2
- package/mobile/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
- package/mobile/dist/components/DepositFiltration/DepositFiltration.js +1 -1
- package/mobile/dist/components/DepositFiltration/DepositFiltration.js.map +1 -1
- package/mobile/dist/components/ErrorBlock/ErrorBlock.js +1 -1
- package/mobile/dist/components/ErrorBlock/ErrorBlock.js.map +1 -1
- package/mobile/dist/components/ExchangeRateOffice/ExchangeRateOffice.js +2 -2
- package/mobile/dist/components/ExchangeRateOffice/ExchangeRateOffice.js.map +1 -1
- package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +1 -1
- package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
- package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js +3 -2
- package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
- package/mobile/dist/components/Footer/Contacts.d.ts +2 -2
- package/mobile/dist/components/Footer/Contacts.js +4 -5
- package/mobile/dist/components/Footer/Contacts.js.map +1 -1
- package/mobile/dist/components/Footer/Footer.js +2 -3
- package/mobile/dist/components/Footer/Footer.js.map +1 -1
- package/mobile/dist/components/Footer/FooterContent.d.ts +9 -1
- package/mobile/dist/components/Footer/FooterDataProps.d.ts +2 -2
- package/mobile/dist/components/GracePeriod/GracePeriod.js +1 -1
- package/mobile/dist/components/GracePeriod/GracePeriod.js.map +1 -1
- package/mobile/dist/components/Header/Header.js +1 -1
- package/mobile/dist/components/Header/Header.js.map +1 -1
- package/mobile/dist/components/Headline/Headline.js +2 -3
- package/mobile/dist/components/Headline/Headline.js.map +1 -1
- package/mobile/dist/components/Headline/HeadlineContent.d.ts +0 -2
- package/mobile/dist/components/Headline/headlineVersionStyles.js +9 -9
- package/mobile/dist/components/Headline/headlineVersionStyles.js.map +1 -1
- package/mobile/dist/components/HorizontalLayout/HorizontalLayout.js +1 -1
- package/mobile/dist/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
- package/mobile/dist/components/ImgBlock/ImgBlock.js +1 -1
- package/mobile/dist/components/ImgBlock/ImgBlock.js.map +1 -1
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +2 -1
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
- package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js +3 -3
- package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocs.js +1 -2
- package/mobile/dist/components/LinkDocs/LinkDocs.js.map +1 -1
- package/mobile/dist/components/MobileAppTile/MobileAppTile.js +11 -3
- package/mobile/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/mobile/dist/components/MobileAppTile/renderButtonSection.d.ts +0 -0
- package/mobile/dist/components/MobileAppTile/renderButtonSection.js +1 -0
- package/mobile/dist/components/MobileAppTile/renderButtonSection.js.map +1 -0
- package/mobile/dist/components/MobileAppTile/renderDescription.d.ts +2 -0
- package/mobile/dist/components/MobileAppTile/renderDescription.js +7 -0
- package/mobile/dist/components/MobileAppTile/renderDescription.js.map +1 -0
- package/mobile/dist/components/MobileAppTile/renderList.d.ts +2 -0
- package/mobile/dist/components/MobileAppTile/renderList.js +9 -0
- package/mobile/dist/components/MobileAppTile/renderList.js.map +1 -0
- package/mobile/dist/components/MortgageFiltration/MortgageFiltration.js +1 -1
- package/mobile/dist/components/MortgageFiltration/MortgageFiltration.js.map +1 -1
- package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js +2 -1
- package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
- package/mobile/dist/components/ParagraphBlock/ParagraphBlock.js +1 -1
- package/mobile/dist/components/ParagraphBlock/ParagraphBlock.js.map +1 -1
- package/mobile/dist/components/PictureText/PictureText.js +3 -14
- package/mobile/dist/components/PictureText/PictureText.js.map +1 -1
- package/mobile/dist/components/PictureText/PictureTextContent.d.ts +2 -6
- package/mobile/dist/components/PictureText/renderInsuranceSumMonth.d.ts +2 -0
- package/mobile/dist/components/PictureText/renderInsuranceSumMonth.js +9 -0
- package/mobile/dist/components/PictureText/renderInsuranceSumMonth.js.map +1 -0
- package/mobile/dist/components/Placeholder/Placeholder.js +1 -6
- package/mobile/dist/components/Placeholder/Placeholder.js.map +1 -1
- package/mobile/dist/components/ProductBlock/ProductBlock.js +3 -3
- package/mobile/dist/components/ProductBlock/ProductBlock.js.map +1 -1
- package/mobile/dist/components/ProductBlock/ProductBlockContent.d.ts +3 -22
- package/mobile/dist/components/ProductGallery/ProductGallery.js +5 -6
- package/mobile/dist/components/ProductGallery/ProductGallery.js.map +1 -1
- package/mobile/dist/components/ProductGallery/ProductGalleryContent.d.ts +2 -2
- package/mobile/dist/components/ProductTile/ProductTile.js +1 -2
- package/mobile/dist/components/ProductTile/ProductTile.js.map +1 -1
- package/mobile/dist/components/PromoTile/PromoTile.js +2 -5
- package/mobile/dist/components/PromoTile/PromoTile.js.map +1 -1
- package/mobile/dist/components/PromoTile/PromoTileContent.d.ts +2 -3
- package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +1 -1
- package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
- package/mobile/dist/components/RichTextBlock/RichTextBlock.js +1 -1
- package/mobile/dist/components/RichTextBlock/RichTextBlock.js.map +1 -1
- package/mobile/dist/components/RollupItem/RollupItem.js +14 -9
- package/mobile/dist/components/RollupItem/RollupItem.js.map +1 -1
- package/mobile/dist/components/RollupItem/RollupItemContent.d.ts +4 -2
- package/mobile/dist/components/RollupItem/renderRoundedIcon.d.ts +4 -0
- package/mobile/dist/components/RollupItem/renderRoundedIcon.js +7 -0
- package/mobile/dist/components/RollupItem/renderRoundedIcon.js.map +1 -0
- package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js +2 -2
- package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/mobile/dist/components/StepsBlock/StepsBlock.js +1 -1
- package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -1
- package/mobile/dist/components/SwipeListControlBlock/SwipeListControlBlock.js +1 -3
- package/mobile/dist/components/SwipeListControlBlock/SwipeListControlBlock.js.map +1 -1
- package/mobile/dist/components/Tabs/Tabs.js +1 -1
- package/mobile/dist/components/Tabs/Tabs.js.map +1 -1
- package/mobile/dist/components/TariffsTable/EmbeddableCellData.js +3 -6
- package/mobile/dist/components/TariffsTable/EmbeddableCellData.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TableTileHeader.js +2 -2
- package/mobile/dist/components/TariffsTable/TableTileHeader.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTable.js +3 -3
- package/mobile/dist/components/TariffsTable/TariffsTable.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableHorizontal.js +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableHorizontal.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js +2 -2
- package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
- package/mobile/dist/components/TextBlock/TextBlock.js +1 -3
- package/mobile/dist/components/TextBlock/TextBlock.js.map +1 -1
- package/mobile/dist/components/Tile/Tile.js +2 -14
- package/mobile/dist/components/Tile/Tile.js.map +1 -1
- package/mobile/dist/components/Tile/TileContent.d.ts +2 -13
- package/mobile/dist/components/VerticalLayout/VerticalLayout.js +1 -1
- package/mobile/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
- package/mobile/dist/components/Video/Video.js +1 -2
- package/mobile/dist/components/Video/Video.js.map +1 -1
- package/mobile/dist/content-page-repository/transformDocumentLink.js +1 -1
- package/mobile/dist/content-page-repository/transformDocumentLink.js.map +1 -1
- package/mobile/dist/content-page-repository/transformImg.js +1 -1
- package/mobile/dist/content-page-repository/transformImg.js.map +1 -1
- package/mobile/dist/model/Align.d.ts +5 -0
- package/mobile/dist/{ui-kit/BenefitItem/BenefitItemProps.js → model/Align.js} +1 -1
- package/mobile/dist/model/Align.js.map +1 -0
- package/mobile/dist/model/AlignText.d.ts +3 -0
- package/mobile/dist/model/AlignText.js +3 -0
- package/mobile/dist/model/AlignText.js.map +1 -1
- package/mobile/dist/model/AlignType.d.ts +2 -0
- package/mobile/dist/model/HeadlineType.d.ts +8 -1
- package/mobile/dist/model/JSXBlock.d.ts +12 -5
- package/mobile/dist/ui-kit/BaseProductTile/BaseProductTile.d.ts +7 -0
- package/mobile/dist/ui-kit/BaseProductTile/BaseProductTile.js +18 -0
- package/mobile/dist/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -0
- package/mobile/dist/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +22 -0
- package/mobile/dist/ui-kit/BaseProductTile/BaseProductTileContent.js +2 -0
- package/mobile/dist/ui-kit/BaseProductTile/BaseProductTileContent.js.map +1 -0
- package/mobile/dist/ui-kit/BaseTile/BaseTile.d.ts +14 -0
- package/mobile/dist/ui-kit/BaseTile/BaseTile.js +13 -0
- package/mobile/dist/ui-kit/BaseTile/BaseTile.js.map +1 -0
- package/mobile/dist/ui-kit/BaseTile/getTileRightPadding.js.map +1 -0
- package/mobile/dist/ui-kit/BenefitItem/BenefitItem.d.ts +5 -2
- package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js +7 -10
- package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/mobile/dist/ui-kit/BenefitItem/BenefitItemContent.d.ts +16 -0
- package/mobile/dist/{components/ButtonBlock/ButtonBlockContent.js → ui-kit/BenefitItem/BenefitItemContent.js} +1 -1
- package/mobile/dist/ui-kit/BenefitItem/BenefitItemContent.js.map +1 -0
- package/mobile/dist/ui-kit/BenefitItem/labelSize.d.ts +1 -0
- package/mobile/dist/ui-kit/BenefitItem/labelSize.js +4 -0
- package/mobile/dist/ui-kit/BenefitItem/labelSize.js.map +1 -0
- package/mobile/dist/ui-kit/BenefitsList/BenefitsList.d.ts +6 -0
- package/mobile/dist/ui-kit/BenefitsList/BenefitsList.js +14 -0
- package/mobile/dist/ui-kit/BenefitsList/BenefitsList.js.map +1 -0
- package/mobile/dist/ui-kit/BenefitsList/BenefitsListContent.d.ts +14 -0
- package/mobile/dist/ui-kit/BenefitsList/BenefitsListContent.js +2 -0
- package/mobile/dist/ui-kit/BenefitsList/BenefitsListContent.js.map +1 -0
- package/mobile/dist/ui-kit/BenefitsList/renderBenefit.d.ts +4 -0
- package/mobile/dist/ui-kit/BenefitsList/renderBenefit.js +13 -0
- package/mobile/dist/ui-kit/BenefitsList/renderBenefit.js.map +1 -0
- package/mobile/dist/ui-kit/BlockWrapper.js +3 -3
- package/mobile/dist/ui-kit/BlockWrapper.js.map +1 -1
- package/mobile/dist/ui-kit/Button/ButtonInner.js +1 -1
- package/mobile/dist/ui-kit/Button/renderButtonsSection.js +2 -2
- package/mobile/dist/ui-kit/Button/renderButtonsSection.js.map +1 -1
- package/mobile/dist/ui-kit/Heading/Heading.js +2 -1
- package/mobile/dist/ui-kit/Heading/Heading.js.map +1 -1
- package/mobile/dist/ui-kit/Icon/IconProps.d.ts +8 -3
- package/mobile/dist/ui-kit/Icon/RoundedIcon.d.ts +5 -1
- package/mobile/dist/ui-kit/Icon/RoundedIcon.js +6 -2
- package/mobile/dist/ui-kit/Icon/RoundedIcon.js.map +1 -1
- package/mobile/dist/ui-kit/Img/Img.js +8 -2
- package/mobile/dist/ui-kit/Img/Img.js.map +1 -1
- package/mobile/dist/ui-kit/Img/ImgAsPicture.js +6 -12
- package/mobile/dist/ui-kit/Img/ImgAsPicture.js.map +1 -1
- package/mobile/dist/ui-kit/Img/ImgProps.d.ts +0 -1
- package/mobile/dist/ui-kit/List/List.js.map +1 -1
- package/mobile/dist/ui-kit/List/ListContent.d.ts +6 -0
- package/mobile/dist/ui-kit/List/ListItem.d.ts +1 -1
- package/mobile/dist/ui-kit/List/ListProps.d.ts +0 -6
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListContainer.d.ts +4 -2
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.d.ts +10 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlContent.d.ts +16 -4
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +1 -1
- package/mobile/dist/ui-kit/Tags/Tags.d.ts +2 -2
- package/mobile/dist/ui-kit/Tags/Tags.js +4 -5
- package/mobile/dist/ui-kit/Tags/Tags.js.map +1 -1
- package/mobile/dist/utils/avg.d.ts +1 -0
- package/mobile/dist/utils/avg.js +6 -0
- package/mobile/dist/utils/avg.js.map +1 -0
- package/mobile/dist/utils/deviation.d.ts +1 -0
- package/mobile/dist/utils/deviation.js +6 -0
- package/mobile/dist/utils/deviation.js.map +1 -0
- package/mobile/lib/common.css +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationForm.js +1 -2
- package/mobile/lib/components/ApplicationForm/ApplicationForm.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/ResponseNotification.js +1 -1
- package/mobile/lib/components/ApplicationForm/ResponseNotification.js.map +1 -1
- package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js +3 -2
- package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/mobile/lib/components/Blocks.js +6 -0
- package/mobile/lib/components/Blocks.js.map +1 -1
- package/mobile/lib/components/Bonus/Bonus.js +2 -2
- package/mobile/lib/components/Bonus/Bonus.js.map +1 -1
- package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
- package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/mobile/lib/components/BusinessBlock/BusinessBlock.js +1 -1
- package/mobile/lib/components/BusinessBlock/BusinessBlock.js.map +1 -1
- package/mobile/lib/components/BusinessBlock/BusinessCard.js +1 -1
- package/mobile/lib/components/ButtonsBlock/ButtonsBlock.d.ts +6 -0
- package/mobile/lib/components/{ButtonBlock/ButtonBlock.js → ButtonsBlock/ButtonsBlock.js} +2 -2
- package/mobile/lib/components/ButtonsBlock/ButtonsBlock.js.map +1 -0
- package/mobile/lib/components/ButtonsBlock/ButtonsBlockContent.d.ts +8 -0
- package/mobile/lib/components/ButtonsBlock/ButtonsBlockContent.js +2 -0
- package/mobile/lib/components/ButtonsBlock/ButtonsBlockContent.js.map +1 -0
- package/mobile/lib/components/Calculator/Calculator.js +1 -1
- package/mobile/lib/components/Calculator/Calculator.js.map +1 -1
- package/mobile/lib/components/CardTransfer/CardTransfer.js +1 -1
- package/mobile/lib/components/CardTransfer/CardTransfer.js.map +1 -1
- package/mobile/lib/components/Carousel/Carousel.js +1 -1
- package/mobile/lib/components/Carousel/Carousel.js.map +1 -1
- package/mobile/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +1 -1
- package/mobile/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
- package/mobile/lib/components/CarouselCard/CarouselCard.d.ts +1 -1
- package/mobile/lib/components/CarouselCard/CarouselCard.js +9 -7
- package/mobile/lib/components/CarouselCard/CarouselCard.js.map +1 -1
- package/mobile/lib/components/CarouselCard/getCardWidth.d.ts +1 -0
- package/mobile/lib/components/CarouselCard/getCardWidth.js +15 -0
- package/mobile/lib/components/CarouselCard/getCardWidth.js.map +1 -0
- package/mobile/lib/components/CarouselCard/titleSize.d.ts +1 -0
- package/mobile/lib/components/CarouselCard/titleSize.js +2 -0
- package/mobile/lib/components/CarouselCard/titleSize.js.map +1 -0
- package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +2 -1
- package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
- package/mobile/lib/components/CarouselEventCard/CarouselEventCard.js +1 -1
- package/mobile/lib/components/CarouselEventCard/CarouselEventCard.js.map +1 -1
- package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js +2 -2
- package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
- package/mobile/lib/components/CarouselLinks/CarouselLinks.js +3 -4
- package/mobile/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
- package/mobile/lib/components/CarouselProductCard/CarouselProductCard.d.ts +1 -1
- package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js +6 -6
- package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
- package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -1
- package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
- package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -1
- package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/mobile/lib/components/CarouselRichTextCard/CarouselRichTextCard.js +1 -1
- package/mobile/lib/components/CarouselRichTextCard/CarouselRichTextCard.js.map +1 -1
- package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +1 -1
- package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/mobile/lib/components/ContactsBlock/ContactsBlock.js +3 -2
- package/mobile/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
- package/mobile/lib/components/DepositFiltration/DepositFiltration.js +1 -1
- package/mobile/lib/components/DepositFiltration/DepositFiltration.js.map +1 -1
- package/mobile/lib/components/ErrorBlock/ErrorBlock.js +1 -1
- package/mobile/lib/components/ErrorBlock/ErrorBlock.js.map +1 -1
- package/mobile/lib/components/ExchangeRateOffice/ExchangeRateOffice.js +2 -2
- package/mobile/lib/components/ExchangeRateOffice/ExchangeRateOffice.js.map +1 -1
- package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +1 -1
- package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
- package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js +3 -2
- package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
- package/mobile/lib/components/Footer/Contacts.d.ts +2 -2
- package/mobile/lib/components/Footer/Contacts.js +4 -5
- package/mobile/lib/components/Footer/Contacts.js.map +1 -1
- package/mobile/lib/components/Footer/Footer.js +2 -3
- package/mobile/lib/components/Footer/Footer.js.map +1 -1
- package/mobile/lib/components/Footer/FooterContent.d.ts +9 -1
- package/mobile/lib/components/Footer/FooterDataProps.d.ts +2 -2
- package/mobile/lib/components/GracePeriod/GracePeriod.js +1 -1
- package/mobile/lib/components/GracePeriod/GracePeriod.js.map +1 -1
- package/mobile/lib/components/Header/Header.js +1 -1
- package/mobile/lib/components/Header/Header.js.map +1 -1
- package/mobile/lib/components/Headline/Headline.js +2 -3
- package/mobile/lib/components/Headline/Headline.js.map +1 -1
- package/mobile/lib/components/Headline/HeadlineContent.d.ts +0 -2
- package/mobile/lib/components/Headline/headlineVersionStyles.js +9 -9
- package/mobile/lib/components/Headline/headlineVersionStyles.js.map +1 -1
- package/mobile/lib/components/HorizontalLayout/HorizontalLayout.js +1 -1
- package/mobile/lib/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
- package/mobile/lib/components/ImgBlock/ImgBlock.js +1 -1
- package/mobile/lib/components/ImgBlock/ImgBlock.js.map +1 -1
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +2 -1
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
- package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js +3 -3
- package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocs.js +1 -2
- package/mobile/lib/components/LinkDocs/LinkDocs.js.map +1 -1
- package/mobile/lib/components/MobileAppTile/MobileAppTile.js +11 -3
- package/mobile/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/mobile/lib/components/MobileAppTile/renderButtonSection.d.ts +0 -0
- package/mobile/lib/components/MobileAppTile/renderButtonSection.js +1 -0
- package/mobile/lib/components/MobileAppTile/renderButtonSection.js.map +1 -0
- package/mobile/lib/components/MobileAppTile/renderDescription.d.ts +2 -0
- package/mobile/lib/components/MobileAppTile/renderDescription.js +4 -0
- package/mobile/lib/components/MobileAppTile/renderDescription.js.map +1 -0
- package/mobile/lib/components/MobileAppTile/renderList.d.ts +2 -0
- package/mobile/lib/components/MobileAppTile/renderList.js +6 -0
- package/mobile/lib/components/MobileAppTile/renderList.js.map +1 -0
- package/mobile/lib/components/MortgageFiltration/MortgageFiltration.js +1 -1
- package/mobile/lib/components/MortgageFiltration/MortgageFiltration.js.map +1 -1
- package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js +2 -1
- package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
- package/mobile/lib/components/ParagraphBlock/ParagraphBlock.js +1 -1
- package/mobile/lib/components/ParagraphBlock/ParagraphBlock.js.map +1 -1
- package/mobile/lib/components/PictureText/PictureText.js +4 -15
- package/mobile/lib/components/PictureText/PictureText.js.map +1 -1
- package/mobile/lib/components/PictureText/PictureTextContent.d.ts +2 -6
- package/mobile/lib/components/PictureText/renderInsuranceSumMonth.d.ts +2 -0
- package/mobile/lib/components/PictureText/renderInsuranceSumMonth.js +6 -0
- package/mobile/lib/components/PictureText/renderInsuranceSumMonth.js.map +1 -0
- package/mobile/lib/components/Placeholder/Placeholder.js +1 -6
- package/mobile/lib/components/Placeholder/Placeholder.js.map +1 -1
- package/mobile/lib/components/ProductBlock/ProductBlock.js +3 -3
- package/mobile/lib/components/ProductBlock/ProductBlock.js.map +1 -1
- package/mobile/lib/components/ProductBlock/ProductBlockContent.d.ts +3 -22
- package/mobile/lib/components/ProductGallery/ProductGallery.js +5 -6
- package/mobile/lib/components/ProductGallery/ProductGallery.js.map +1 -1
- package/mobile/lib/components/ProductGallery/ProductGalleryContent.d.ts +2 -2
- package/mobile/lib/components/ProductTile/ProductTile.js +1 -2
- package/mobile/lib/components/ProductTile/ProductTile.js.map +1 -1
- package/mobile/lib/components/PromoTile/PromoTile.js +2 -5
- package/mobile/lib/components/PromoTile/PromoTile.js.map +1 -1
- package/mobile/lib/components/PromoTile/PromoTileContent.d.ts +2 -3
- package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +1 -1
- package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
- package/mobile/lib/components/RichTextBlock/RichTextBlock.js +1 -1
- package/mobile/lib/components/RichTextBlock/RichTextBlock.js.map +1 -1
- package/mobile/lib/components/RollupItem/RollupItem.js +14 -9
- package/mobile/lib/components/RollupItem/RollupItem.js.map +1 -1
- package/mobile/lib/components/RollupItem/RollupItemContent.d.ts +4 -2
- package/mobile/lib/components/RollupItem/renderRoundedIcon.d.ts +4 -0
- package/mobile/lib/components/RollupItem/renderRoundedIcon.js +4 -0
- package/mobile/lib/components/RollupItem/renderRoundedIcon.js.map +1 -0
- package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js +2 -2
- package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/mobile/lib/components/StepsBlock/StepsBlock.js +1 -1
- package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -1
- package/mobile/lib/components/SwipeListControlBlock/SwipeListControlBlock.js +1 -3
- package/mobile/lib/components/SwipeListControlBlock/SwipeListControlBlock.js.map +1 -1
- package/mobile/lib/components/Tabs/Tabs.js +1 -1
- package/mobile/lib/components/Tabs/Tabs.js.map +1 -1
- package/mobile/lib/components/TariffsTable/EmbeddableCellData.js +3 -6
- package/mobile/lib/components/TariffsTable/EmbeddableCellData.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TableTileHeader.js +2 -2
- package/mobile/lib/components/TariffsTable/TableTileHeader.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTable.js +3 -3
- package/mobile/lib/components/TariffsTable/TariffsTable.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableHorizontal.js +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableHorizontal.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js +2 -2
- package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
- package/mobile/lib/components/TextBlock/TextBlock.js +1 -3
- package/mobile/lib/components/TextBlock/TextBlock.js.map +1 -1
- package/mobile/lib/components/Tile/Tile.js +3 -15
- package/mobile/lib/components/Tile/Tile.js.map +1 -1
- package/mobile/lib/components/Tile/TileContent.d.ts +2 -13
- package/mobile/lib/components/VerticalLayout/VerticalLayout.js +1 -1
- package/mobile/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
- package/mobile/lib/components/Video/Video.js +1 -2
- package/mobile/lib/components/Video/Video.js.map +1 -1
- package/mobile/lib/content-page-repository/transformDocumentLink.js +1 -1
- package/mobile/lib/content-page-repository/transformDocumentLink.js.map +1 -1
- package/mobile/lib/content-page-repository/transformImg.js +1 -1
- package/mobile/lib/content-page-repository/transformImg.js.map +1 -1
- package/mobile/lib/model/Align.d.ts +5 -0
- package/mobile/lib/model/Align.js +2 -0
- package/mobile/lib/model/Align.js.map +1 -0
- package/mobile/lib/model/AlignText.d.ts +3 -0
- package/mobile/lib/model/AlignText.js +3 -0
- package/mobile/lib/model/AlignText.js.map +1 -1
- package/mobile/lib/model/AlignType.d.ts +2 -0
- package/mobile/lib/model/HeadlineType.d.ts +8 -1
- package/mobile/lib/model/JSXBlock.d.ts +12 -5
- package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.d.ts +7 -0
- package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.js +16 -0
- package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -0
- package/mobile/lib/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +22 -0
- package/mobile/lib/ui-kit/BaseProductTile/BaseProductTileContent.js +2 -0
- package/mobile/lib/ui-kit/BaseProductTile/BaseProductTileContent.js.map +1 -0
- package/mobile/lib/ui-kit/BaseTile/BaseTile.d.ts +14 -0
- package/mobile/lib/ui-kit/BaseTile/BaseTile.js +11 -0
- package/mobile/lib/ui-kit/BaseTile/BaseTile.js.map +1 -0
- package/mobile/lib/ui-kit/BaseTile/getTileRightPadding.js.map +1 -0
- package/mobile/lib/ui-kit/BenefitItem/BenefitItem.d.ts +5 -2
- package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js +7 -10
- package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/mobile/lib/ui-kit/BenefitItem/BenefitItemContent.d.ts +16 -0
- package/mobile/lib/ui-kit/BenefitItem/BenefitItemContent.js +2 -0
- package/mobile/lib/ui-kit/BenefitItem/BenefitItemContent.js.map +1 -0
- package/mobile/lib/ui-kit/BenefitItem/labelSize.d.ts +1 -0
- package/mobile/lib/ui-kit/BenefitItem/labelSize.js +2 -0
- package/mobile/lib/ui-kit/BenefitItem/labelSize.js.map +1 -0
- package/mobile/lib/ui-kit/BenefitsList/BenefitsList.d.ts +6 -0
- package/mobile/lib/ui-kit/BenefitsList/BenefitsList.js +12 -0
- package/mobile/lib/ui-kit/BenefitsList/BenefitsList.js.map +1 -0
- package/mobile/lib/ui-kit/BenefitsList/BenefitsListContent.d.ts +14 -0
- package/mobile/lib/ui-kit/BenefitsList/BenefitsListContent.js +2 -0
- package/mobile/lib/ui-kit/BenefitsList/BenefitsListContent.js.map +1 -0
- package/mobile/lib/ui-kit/BenefitsList/renderBenefit.d.ts +4 -0
- package/mobile/lib/ui-kit/BenefitsList/renderBenefit.js +10 -0
- package/mobile/lib/ui-kit/BenefitsList/renderBenefit.js.map +1 -0
- package/mobile/lib/ui-kit/BlockWrapper.js +3 -3
- package/mobile/lib/ui-kit/BlockWrapper.js.map +1 -1
- package/mobile/lib/ui-kit/Button/ButtonInner.js +1 -1
- package/mobile/lib/ui-kit/Button/renderButtonsSection.js +2 -2
- package/mobile/lib/ui-kit/Button/renderButtonsSection.js.map +1 -1
- package/mobile/lib/ui-kit/Heading/Heading.js +2 -1
- package/mobile/lib/ui-kit/Heading/Heading.js.map +1 -1
- package/mobile/lib/ui-kit/Icon/IconProps.d.ts +8 -3
- package/mobile/lib/ui-kit/Icon/RoundedIcon.d.ts +5 -1
- package/mobile/lib/ui-kit/Icon/RoundedIcon.js +6 -2
- package/mobile/lib/ui-kit/Icon/RoundedIcon.js.map +1 -1
- package/mobile/lib/ui-kit/Img/Img.js +8 -2
- package/mobile/lib/ui-kit/Img/Img.js.map +1 -1
- package/mobile/lib/ui-kit/Img/ImgAsPicture.js +6 -12
- package/mobile/lib/ui-kit/Img/ImgAsPicture.js.map +1 -1
- package/mobile/lib/ui-kit/Img/ImgProps.d.ts +0 -1
- package/mobile/lib/ui-kit/List/List.js.map +1 -1
- package/mobile/lib/ui-kit/List/ListContent.d.ts +6 -0
- package/mobile/lib/ui-kit/List/ListItem.d.ts +1 -1
- package/mobile/lib/ui-kit/List/ListProps.d.ts +0 -6
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListContainer.d.ts +4 -2
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.d.ts +10 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlContent.d.ts +16 -4
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +1 -1
- package/mobile/lib/ui-kit/Tags/Tags.d.ts +2 -2
- package/mobile/lib/ui-kit/Tags/Tags.js +4 -5
- package/mobile/lib/ui-kit/Tags/Tags.js.map +1 -1
- package/mobile/lib/utils/avg.d.ts +1 -0
- package/mobile/lib/utils/avg.js +3 -0
- package/mobile/lib/utils/avg.js.map +1 -0
- package/mobile/lib/utils/deviation.d.ts +1 -0
- package/mobile/lib/utils/deviation.js +3 -0
- package/mobile/lib/utils/deviation.js.map +1 -0
- package/mobile/src/components/ApplicationForm/ApplicationForm.tsx +1 -2
- package/mobile/src/components/ApplicationForm/ResponseNotification.tsx +1 -1
- package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +7 -2
- package/mobile/src/components/Blocks.ts +6 -0
- package/mobile/src/components/Bonus/Bonus.tsx +2 -2
- package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +2 -1
- package/mobile/src/components/BusinessBlock/BusinessBlock.tsx +8 -10
- package/mobile/src/components/BusinessBlock/BusinessCard.tsx +1 -1
- package/mobile/src/components/ButtonsBlock/ButtonsBlock.example.json +14 -0
- package/mobile/src/components/{ButtonBlock/ButtonBlock.tsx → ButtonsBlock/ButtonsBlock.tsx} +5 -5
- package/mobile/src/components/ButtonsBlock/ButtonsBlock.ui.json +14 -0
- package/mobile/src/components/ButtonsBlock/ButtonsBlockContent.ts +9 -0
- package/mobile/src/components/Calculator/Calculator.tsx +2 -1
- package/mobile/src/components/CardTransfer/CardTransfer.tsx +14 -4
- package/mobile/src/components/Carousel/Carousel.tsx +1 -8
- package/mobile/src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.tsx +1 -1
- package/mobile/src/components/CarouselCard/CarouselCard.tsx +16 -12
- package/mobile/src/components/CarouselCard/getCardWidth.tsx +16 -0
- package/mobile/src/components/CarouselCard/titleSize.tsx +1 -0
- package/mobile/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +5 -1
- package/mobile/src/components/CarouselEventCard/CarouselEventCard.tsx +1 -1
- package/mobile/src/components/CarouselInvestmentCard/CarouselInvestmentCard.tsx +9 -4
- package/mobile/src/components/CarouselLinks/CarouselLinks.tsx +24 -24
- package/mobile/src/components/CarouselProductCard/CarouselProductCard.tsx +11 -11
- package/mobile/src/components/CarouselProgramsCard/CarouselProgramsCard.tsx +5 -1
- package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +2 -1
- package/mobile/src/components/CarouselRichTextCard/CarouselRichTextCard.tsx +1 -1
- package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +2 -5
- package/mobile/src/components/ContactsBlock/ContactsBlock.tsx +9 -3
- package/mobile/src/components/DepositFiltration/DepositFiltration.example.json +1 -1
- package/mobile/src/components/DepositFiltration/DepositFiltration.tsx +6 -1
- package/mobile/src/components/ErrorBlock/ErrorBlock.tsx +2 -5
- package/mobile/src/components/ExchangeRateOffice/ExchangeRateOffice.tsx +4 -7
- package/mobile/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +1 -1
- package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.tsx +8 -8
- package/mobile/src/components/Footer/Contacts.tsx +20 -12
- package/mobile/src/components/Footer/Footer.tsx +2 -3
- package/mobile/src/components/Footer/FooterContent.ts +10 -1
- package/mobile/src/components/Footer/FooterDataProps.ts +2 -2
- package/mobile/src/components/GracePeriod/GracePeriod.tsx +1 -1
- package/mobile/src/components/Header/Header.tsx +2 -2
- package/mobile/src/components/Headline/Headline.tsx +7 -7
- package/mobile/src/components/Headline/HeadlineContent.ts +2 -4
- package/mobile/src/components/Headline/headlineVersionStyles.ts +9 -9
- package/mobile/src/components/HorizontalLayout/HorizontalLayout.tsx +2 -7
- package/mobile/src/components/ImgBlock/ImgBlock.tsx +1 -1
- package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +3 -1
- package/mobile/src/components/InvestmentInfo/InvestmentInfo.tsx +6 -6
- package/mobile/src/components/LinkDocs/LinkDocs.tsx +1 -3
- package/mobile/src/components/MobileAppTile/MobileAppTile.tsx +56 -20
- package/mobile/src/components/MobileAppTile/renderButtonSection.tsx +0 -0
- package/mobile/src/components/MobileAppTile/renderDescription.tsx +10 -0
- package/mobile/src/components/MobileAppTile/renderList.tsx +11 -0
- package/mobile/src/components/MortgageFiltration/MortgageFiltration.example.json +1 -1
- package/mobile/src/components/MortgageFiltration/MortgageFiltration.tsx +6 -1
- package/mobile/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +2 -1
- package/mobile/src/components/ParagraphBlock/ParagraphBlock.tsx +1 -1
- package/mobile/src/components/PictureText/PictureText.tsx +14 -49
- package/mobile/src/components/PictureText/PictureTextContent.ts +2 -8
- package/mobile/src/components/PictureText/renderInsuranceSumMonth.tsx +21 -0
- package/mobile/src/components/Placeholder/Placeholder.tsx +13 -24
- package/mobile/src/components/ProductBlock/ProductBlock.tsx +4 -3
- package/mobile/src/components/ProductBlock/ProductBlockContent.ts +3 -28
- package/mobile/src/components/ProductGallery/ProductGallery.tsx +19 -26
- package/mobile/src/components/ProductGallery/ProductGalleryContent.ts +2 -2
- package/mobile/src/components/ProductTile/ProductTile.tsx +1 -3
- package/mobile/src/components/PromoTile/PromoTile.tsx +10 -23
- package/mobile/src/components/PromoTile/PromoTileContent.ts +2 -3
- package/mobile/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.tsx +1 -5
- package/mobile/src/components/RichTextBlock/RichTextBlock.tsx +1 -1
- package/mobile/src/components/RollupItem/RollupItem.tsx +27 -19
- package/mobile/src/components/RollupItem/RollupItem.ui.json +7 -1
- package/mobile/src/components/RollupItem/RollupItemContent.ts +4 -2
- package/mobile/src/components/RollupItem/renderRoundedIcon.tsx +7 -0
- package/mobile/src/components/SafeDepositRental/SafeDepositRental.tsx +2 -2
- package/mobile/src/components/StepsBlock/StepsBlock.tsx +2 -1
- package/mobile/src/components/SwipeListControlBlock/SwipeListControlBlock.tsx +7 -9
- package/mobile/src/components/Tabs/Tabs.tsx +1 -0
- package/mobile/src/components/TariffsTable/EmbeddableCellData.tsx +8 -12
- package/mobile/src/components/TariffsTable/TableTileHeader.tsx +3 -3
- package/mobile/src/components/TariffsTable/TariffsTable.tsx +11 -7
- package/mobile/src/components/TariffsTable/TariffsTableHorizontal.tsx +1 -1
- package/mobile/src/components/TariffsTable/TariffsTableTileCell.tsx +3 -4
- package/mobile/src/components/TextBlock/TextBlock.tsx +23 -28
- package/mobile/src/components/Tile/Tile.tsx +10 -64
- package/mobile/src/components/Tile/TileContent.ts +2 -20
- package/mobile/src/components/VerticalLayout/VerticalLayout.tsx +1 -1
- package/mobile/src/components/Video/Video.tsx +2 -3
- package/mobile/src/content-page-repository/transformDocumentLink.ts +1 -1
- package/mobile/src/content-page-repository/transformImg.ts +1 -1
- package/mobile/src/model/Align.ts +5 -0
- package/mobile/src/model/AlignText.ts +3 -0
- package/mobile/src/model/AlignType.ts +2 -0
- package/mobile/src/model/HeadlineType.ts +11 -1
- package/mobile/src/model/JSXBlock.ts +13 -5
- package/mobile/src/ui-kit/BaseProductTile/BaseProductTile.tsx +68 -0
- package/mobile/src/ui-kit/BaseProductTile/BaseProductTileContent.ts +30 -0
- package/mobile/src/ui-kit/BaseTile/BaseTile.tsx +72 -0
- package/mobile/src/ui-kit/BenefitItem/BenefitItem.tsx +22 -18
- package/mobile/src/ui-kit/BenefitItem/BenefitItemContent.ts +19 -0
- package/mobile/src/ui-kit/BenefitItem/labelSize.tsx +1 -0
- package/mobile/src/ui-kit/BenefitsList/BenefitsList.tsx +35 -0
- package/mobile/src/ui-kit/BenefitsList/BenefitsListContent.ts +15 -0
- package/mobile/src/ui-kit/BenefitsList/renderBenefit.tsx +14 -0
- package/mobile/src/ui-kit/BlockWrapper.tsx +17 -5
- package/mobile/src/ui-kit/Button/ButtonInner.tsx +1 -1
- package/mobile/src/ui-kit/Button/renderButtonsSection.tsx +9 -3
- package/mobile/src/ui-kit/Heading/Heading.tsx +4 -1
- package/mobile/src/ui-kit/Icon/IconProps.ts +9 -4
- package/mobile/src/ui-kit/Icon/RoundedIcon.tsx +19 -7
- package/mobile/src/ui-kit/Img/Img.tsx +26 -2
- package/mobile/src/ui-kit/Img/ImgAsPicture.tsx +17 -30
- package/mobile/src/ui-kit/Img/ImgProps.ts +0 -1
- package/mobile/src/ui-kit/List/List.tsx +2 -1
- package/mobile/src/ui-kit/List/ListContent.ts +7 -0
- package/mobile/src/ui-kit/List/ListItem.tsx +1 -1
- package/mobile/src/ui-kit/List/ListProps.ts +0 -7
- package/mobile/src/ui-kit/SwipeListControl/SwipeListContainer.tsx +4 -2
- package/mobile/src/ui-kit/SwipeListControl/SwipeListControl.tsx +12 -3
- package/mobile/src/ui-kit/SwipeListControl/SwipeListControlContent.ts +20 -7
- package/mobile/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +1 -1
- package/mobile/src/ui-kit/Tags/Tags.tsx +15 -13
- package/mobile/src/utils/avg.ts +3 -0
- package/mobile/src/utils/deviation.ts +4 -0
- package/package.json +1 -1
- package/src/components/ApplicationForm/ApplicationForm.tsx +1 -2
- package/src/components/ApplicationForm/ResponseNotification.tsx +1 -1
- package/src/components/BenefitsBlock/BenefitsBlock.tsx +7 -2
- package/src/components/Blocks.mobile.ts +6 -0
- package/src/components/Blocks.ts +2 -2
- package/src/components/Bonus/Bonus.tsx +2 -2
- package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +2 -1
- package/src/components/BusinessBlock/BusinessBlock.tsx +8 -10
- package/src/components/BusinessBlock/BusinessCard.tsx +1 -1
- package/src/components/ButtonsBlock/ButtonsBlock.example.json +14 -0
- package/src/components/ButtonsBlock/ButtonsBlock.fixture.mobile.tsx +26 -0
- package/src/components/ButtonsBlock/ButtonsBlock.fixture.tsx +26 -0
- package/src/components/{ButtonBlock/ButtonBlock.tsx → ButtonsBlock/ButtonsBlock.tsx} +5 -5
- package/src/components/ButtonsBlock/ButtonsBlock.ui.json +14 -0
- package/src/components/ButtonsBlock/ButtonsBlockContent.ts +9 -0
- package/src/components/Calculator/Calculator.tsx +2 -1
- package/src/components/CardTransfer/CardTransfer.fixture.mobile.tsx +18 -0
- package/src/components/CardTransfer/CardTransfer.tsx +14 -4
- package/src/components/Carousel/Carousel.tsx +1 -8
- package/src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.tsx +1 -1
- package/src/components/CarouselCard/CarouselCard.fixture.mobile.tsx +28 -0
- package/src/components/CarouselCard/CarouselCard.tsx +16 -12
- package/src/components/CarouselCard/getCardWidth.tsx +16 -0
- package/src/components/CarouselCard/titleSize.mobile.tsx +1 -0
- package/src/components/CarouselCard/titleSize.tsx +1 -0
- package/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +5 -1
- package/src/components/CarouselEventCard/CarouselEventCard.tsx +1 -1
- package/src/components/CarouselInvestmentCard/CarouselInvestmentCard.tsx +9 -4
- package/src/components/CarouselLinks/CarouselLinks.tsx +24 -24
- package/src/components/CarouselProductCard/CarouselProductCard.tsx +11 -11
- package/src/components/CarouselProgramsCard/CarouselProgramsCard.tsx +5 -1
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.tsx +2 -1
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +2 -1
- package/src/components/CarouselRichTextCard/CarouselRichTextCard.tsx +1 -1
- package/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +2 -5
- package/src/components/ComparisonTable/ComparisonTable.tsx +6 -1
- package/src/components/ContactsBlock/ContactsBlock.tsx +9 -3
- package/src/components/DepositFiltration/DepositFiltration.example.json +1 -1
- package/src/components/DepositFiltration/DepositFiltration.fixture.tsx +1 -1
- package/src/components/DepositFiltration/DepositFiltration.tsx +6 -1
- package/src/components/ErrorBlock/ErrorBlock.tsx +2 -5
- package/src/components/ExchangeRateOffice/ExchangeRateOffice.tsx +4 -7
- package/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +1 -1
- package/src/components/ExchangeRateTile/ExchangeRateTile.tsx +8 -8
- package/src/components/Footer/Contacts.tsx +20 -12
- package/src/components/Footer/Footer.mobile.tsx +2 -3
- package/src/components/Footer/Footer.tsx +2 -2
- package/src/components/Footer/FooterContent.ts +10 -1
- package/src/components/Footer/FooterDataProps.ts +2 -2
- package/src/components/GracePeriod/GracePeriod.tsx +1 -1
- package/src/components/Header/Header.mobile.tsx +2 -2
- package/src/components/Header/Header.tsx +1 -0
- package/src/components/Headline/Headline.tsx +7 -7
- package/src/components/Headline/HeadlineContent.ts +2 -4
- package/src/components/Headline/headlineVersionStyles.ts +9 -9
- package/src/components/HorizontalLayout/HorizontalLayout.tsx +2 -7
- package/src/components/ImgBlock/ImgBlock.tsx +1 -1
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +3 -1
- package/src/components/InvestmentInfo/InvestmentInfo.tsx +6 -6
- package/src/components/LinkDocs/LinkDocs.mobile.tsx +1 -3
- package/src/components/LinkDocs/LinkDocs.tsx +1 -1
- package/src/components/MobileAppTile/MobileAppTile.fixture.mobile.tsx +73 -2
- package/src/components/MobileAppTile/MobileAppTile.fixture.tsx +2 -2
- package/src/components/MobileAppTile/MobileAppTile.tsx +23 -41
- package/src/components/MobileAppTile/renderButtonSection.tsx +0 -0
- package/src/components/MobileAppTile/renderDescription.tsx +10 -0
- package/src/components/MobileAppTile/renderList.tsx +11 -0
- package/src/components/MortgageFiltration/MortgageFiltration.example.json +1 -1
- package/src/components/MortgageFiltration/MortgageFiltration.fixture.tsx +1 -1
- package/src/components/MortgageFiltration/MortgageFiltration.tsx +6 -1
- package/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +2 -1
- package/src/components/ParagraphBlock/ParagraphBlock.tsx +1 -1
- package/src/components/PictureText/PictureText.fixture.mobile.tsx +122 -0
- package/src/components/PictureText/PictureText.tsx +14 -49
- package/src/components/PictureText/PictureTextContent.ts +2 -8
- package/src/components/PictureText/renderInsuranceSumMonth.tsx +21 -0
- package/src/components/Placeholder/Placeholder.tsx +13 -24
- package/src/components/ProductBlock/ProductBlock.fixture.mobile.tsx +5 -2
- package/src/components/ProductBlock/ProductBlock.fixture.tsx +6 -3
- package/src/components/ProductBlock/ProductBlock.tsx +4 -3
- package/src/components/ProductBlock/ProductBlockContent.ts +3 -28
- package/src/components/ProductGallery/ProductGallery.mobile.tsx +19 -26
- package/src/components/ProductGallery/ProductGallery.tsx +8 -4
- package/src/components/ProductGallery/ProductGalleryContent.ts +2 -2
- package/src/components/ProductTile/ProductTile.tsx +1 -3
- package/src/components/PromoTile/PromoTile.tsx +10 -23
- package/src/components/PromoTile/PromoTileContent.ts +2 -3
- package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.tsx +1 -5
- package/src/components/RichTextBlock/RichTextBlock.tsx +1 -1
- package/src/components/RollupItem/RollupItem.fixture.mobile.tsx +15 -0
- package/src/components/RollupItem/RollupItem.tsx +27 -19
- package/src/components/RollupItem/RollupItem.ui.json +7 -1
- package/src/components/RollupItem/RollupItemContent.ts +4 -2
- package/src/components/RollupItem/renderRoundedIcon.mobile.tsx +7 -0
- package/src/components/RollupItem/renderRoundedIcon.tsx +5 -0
- package/src/components/SafeDepositRental/SafeDepositRental.tsx +2 -2
- package/src/components/StepsBlock/StepsBlock.mobile.tsx +2 -1
- package/src/components/StepsBlock/StepsBlock.tsx +2 -6
- package/src/components/SwipeListControlBlock/SwipeListControlBlock.tsx +7 -9
- package/src/components/Tabs/Tabs.tsx +1 -0
- package/src/components/TariffsTable/EmbeddableCellData.mobile.tsx +8 -12
- package/src/components/TariffsTable/TableTileHeader.tsx +3 -3
- package/src/components/TariffsTable/TariffsTable.mobile.tsx +11 -7
- package/src/components/TariffsTable/TariffsTable.tsx +3 -1
- package/src/components/TariffsTable/TariffsTableHorizontal.tsx +1 -1
- package/src/components/TariffsTable/TariffsTableTileCell.tsx +3 -4
- package/src/components/TextBlock/TextBlock.tsx +23 -28
- package/src/components/Tile/Tile.fixture.tsx +1 -6
- package/src/components/Tile/Tile.tsx +10 -64
- package/src/components/Tile/TileContent.ts +2 -20
- package/src/components/VerticalLayout/VerticalLayout.tsx +1 -1
- package/src/components/Video/Video.tsx +2 -3
- package/src/content-page-repository/transformDocumentLink.ts +1 -1
- package/src/content-page-repository/transformImg.ts +1 -1
- package/src/icons/IconName.ts +5 -381
- package/src/model/Align.ts +5 -0
- package/src/model/AlignText.ts +3 -0
- package/src/model/AlignType.ts +2 -0
- package/src/model/HeadlineType.ts +11 -1
- package/src/model/JSXBlock.ts +13 -5
- package/src/ui-kit/BaseProductTile/BaseProductTile.tsx +68 -0
- package/src/ui-kit/BaseProductTile/BaseProductTileContent.ts +30 -0
- package/src/ui-kit/BaseTile/BaseTile.tsx +72 -0
- package/src/ui-kit/BenefitItem/BenefitItem.tsx +22 -18
- package/src/ui-kit/BenefitItem/BenefitItemContent.ts +19 -0
- package/src/ui-kit/BenefitItem/borderRadius.mobile.tsx +1 -0
- package/src/ui-kit/BenefitItem/labelSize.mobile.tsx +1 -0
- package/src/ui-kit/BenefitItem/labelSize.tsx +1 -0
- package/src/ui-kit/BenefitsList/BenefitsList.tsx +35 -0
- package/src/ui-kit/BenefitsList/BenefitsListContent.ts +15 -0
- package/src/ui-kit/BenefitsList/renderBenefit.tsx +14 -0
- package/src/ui-kit/BlockWrapper.tsx +17 -5
- package/src/ui-kit/Button/Button.fixture.tsx +1 -1
- package/src/ui-kit/Button/ButtonInner.tsx +1 -1
- package/src/ui-kit/Button/renderButtonsSection.tsx +9 -3
- package/src/ui-kit/Heading/Heading.tsx +4 -1
- package/src/ui-kit/Icon/IconProps.ts +9 -4
- package/src/ui-kit/Icon/RoundedIcon.tsx +19 -7
- package/src/ui-kit/Img/Img.tsx +29 -1
- package/src/ui-kit/Img/ImgAsPicture.tsx +17 -30
- package/src/ui-kit/Img/ImgProps.ts +0 -1
- package/src/ui-kit/List/List.tsx +2 -1
- package/src/ui-kit/List/ListContent.ts +7 -0
- package/src/ui-kit/List/ListItem.tsx +1 -1
- package/src/ui-kit/List/ListProps.ts +0 -7
- package/src/ui-kit/SwipeListControl/SwipeListContainer.tsx +4 -2
- package/src/ui-kit/SwipeListControl/SwipeListControl.tsx +12 -3
- package/src/ui-kit/SwipeListControl/SwipeListControlContent.ts +20 -7
- package/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +1 -1
- package/src/ui-kit/Tags/Tags.tsx +15 -13
- package/src/utils/avg.ts +3 -0
- package/src/utils/deviation.ts +4 -0
- package/tailwind.config.cjs +19 -12
- package/bundle/components/BaseTile/getTileHeadingType.d.ts +0 -1
- package/bundle/components/BaseTile/getTileMinHeight.d.ts +0 -1
- package/bundle/components/ButtonBlock/ButtonBlock.d.ts +0 -6
- package/bundle/components/ButtonBlock/ButtonBlockContent.d.ts +0 -8
- package/bundle/components/MobileAppTile/MobileAppTile.mobile.d.ts +0 -5
- package/bundle/components/PictureText/renderBenefit.d.ts +0 -4
- package/bundle/components/ProductBlock/ProductBlockInner.d.ts +0 -4
- package/bundle/components/ProductBlock/renderBenefit.d.ts +0 -5
- package/bundle/ui-kit/BenefitItem/BenefitItemProps.d.ts +0 -34
- package/bundle/ui-kit/Img/Img.mobile.d.ts +0 -2
- package/bundle/ui-kit/Img/ImgInner.d.ts +0 -2
- package/bundle/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +0 -27
- package/dist/components/BaseTile/BaseTile.js +0 -8
- package/dist/components/BaseTile/BaseTile.js.map +0 -1
- package/dist/components/BaseTile/getTileHeadingType.d.ts +0 -1
- package/dist/components/BaseTile/getTileHeadingType.js +0 -17
- package/dist/components/BaseTile/getTileHeadingType.js.map +0 -1
- package/dist/components/BaseTile/getTileMinHeight.d.ts +0 -1
- package/dist/components/BaseTile/getTileMinHeight.js +0 -17
- package/dist/components/BaseTile/getTileMinHeight.js.map +0 -1
- package/dist/components/BaseTile/getTileRightPadding.js.map +0 -1
- package/dist/components/ButtonBlock/ButtonBlock.d.ts +0 -6
- package/dist/components/ButtonBlock/ButtonBlock.js +0 -9
- package/dist/components/ButtonBlock/ButtonBlock.js.map +0 -1
- package/dist/components/ButtonBlock/ButtonBlockContent.d.ts +0 -8
- package/dist/components/ButtonBlock/ButtonBlockContent.js.map +0 -1
- package/dist/components/MobileAppTile/MobileAppTile.mobile.d.ts +0 -5
- package/dist/components/MobileAppTile/MobileAppTile.mobile.js +0 -10
- package/dist/components/MobileAppTile/MobileAppTile.mobile.js.map +0 -1
- package/dist/components/PictureText/renderBenefit.d.ts +0 -4
- package/dist/components/PictureText/renderBenefit.js +0 -26
- package/dist/components/PictureText/renderBenefit.js.map +0 -1
- package/dist/components/ProductBlock/ProductBlockInner.d.ts +0 -4
- package/dist/components/ProductBlock/ProductBlockInner.js +0 -17
- package/dist/components/ProductBlock/ProductBlockInner.js.map +0 -1
- package/dist/components/ProductBlock/renderBenefit.d.ts +0 -5
- package/dist/components/ProductBlock/renderBenefit.js +0 -7
- package/dist/components/ProductBlock/renderBenefit.js.map +0 -1
- package/dist/ui-kit/BenefitItem/BenefitItemProps.d.ts +0 -34
- package/dist/ui-kit/BenefitItem/BenefitItemProps.js.map +0 -1
- package/dist/ui-kit/Img/Img.mobile.d.ts +0 -2
- package/dist/ui-kit/Img/Img.mobile.js +0 -7
- package/dist/ui-kit/Img/Img.mobile.js.map +0 -1
- package/dist/ui-kit/Img/ImgInner.d.ts +0 -2
- package/dist/ui-kit/Img/ImgInner.js +0 -13
- package/dist/ui-kit/Img/ImgInner.js.map +0 -1
- package/dist/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +0 -27
- package/dist/ui-kit/SwipeListControl/SwipeListControlProps.js.map +0 -1
- package/lib/components/BaseTile/BaseTile.js +0 -6
- package/lib/components/BaseTile/BaseTile.js.map +0 -1
- package/lib/components/BaseTile/getTileHeadingType.d.ts +0 -1
- package/lib/components/BaseTile/getTileHeadingType.js +0 -14
- package/lib/components/BaseTile/getTileHeadingType.js.map +0 -1
- package/lib/components/BaseTile/getTileMinHeight.d.ts +0 -1
- package/lib/components/BaseTile/getTileMinHeight.js +0 -14
- package/lib/components/BaseTile/getTileMinHeight.js.map +0 -1
- package/lib/components/BaseTile/getTileRightPadding.js.map +0 -1
- package/lib/components/ButtonBlock/ButtonBlock.d.ts +0 -6
- package/lib/components/ButtonBlock/ButtonBlock.js.map +0 -1
- package/lib/components/ButtonBlock/ButtonBlockContent.d.ts +0 -8
- package/lib/components/ButtonBlock/ButtonBlockContent.js +0 -2
- package/lib/components/ButtonBlock/ButtonBlockContent.js.map +0 -1
- package/lib/components/MobileAppTile/MobileAppTile.mobile.d.ts +0 -5
- package/lib/components/MobileAppTile/MobileAppTile.mobile.js +0 -8
- package/lib/components/MobileAppTile/MobileAppTile.mobile.js.map +0 -1
- package/lib/components/PictureText/renderBenefit.d.ts +0 -4
- package/lib/components/PictureText/renderBenefit.js +0 -23
- package/lib/components/PictureText/renderBenefit.js.map +0 -1
- package/lib/components/ProductBlock/ProductBlockInner.d.ts +0 -4
- package/lib/components/ProductBlock/ProductBlockInner.js +0 -15
- package/lib/components/ProductBlock/ProductBlockInner.js.map +0 -1
- package/lib/components/ProductBlock/renderBenefit.d.ts +0 -4
- package/lib/components/ProductBlock/renderBenefit.js +0 -4
- package/lib/components/ProductBlock/renderBenefit.js.map +0 -1
- package/lib/ui-kit/BenefitItem/BenefitItemProps.d.ts +0 -34
- package/lib/ui-kit/BenefitItem/BenefitItemProps.js +0 -2
- package/lib/ui-kit/BenefitItem/BenefitItemProps.js.map +0 -1
- package/lib/ui-kit/Img/Img.mobile.d.ts +0 -2
- package/lib/ui-kit/Img/Img.mobile.js +0 -5
- package/lib/ui-kit/Img/Img.mobile.js.map +0 -1
- package/lib/ui-kit/Img/ImgInner.d.ts +0 -2
- package/lib/ui-kit/Img/ImgInner.js +0 -11
- package/lib/ui-kit/Img/ImgInner.js.map +0 -1
- package/lib/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +0 -27
- package/lib/ui-kit/SwipeListControl/SwipeListControlProps.js +0 -2
- package/lib/ui-kit/SwipeListControl/SwipeListControlProps.js.map +0 -1
- package/mobile/bundle/components/BaseTile/getTileHeadingType.d.ts +0 -1
- package/mobile/bundle/components/BaseTile/getTileMinHeight.d.ts +0 -1
- package/mobile/bundle/components/ButtonBlock/ButtonBlock.d.ts +0 -6
- package/mobile/bundle/components/ButtonBlock/ButtonBlockContent.d.ts +0 -8
- package/mobile/bundle/components/PictureText/renderBenefit.d.ts +0 -4
- package/mobile/bundle/components/ProductBlock/ProductBlockInner.d.ts +0 -4
- package/mobile/bundle/components/ProductBlock/renderBenefit.d.ts +0 -5
- package/mobile/bundle/ui-kit/BenefitItem/BenefitItemProps.d.ts +0 -34
- package/mobile/bundle/ui-kit/Img/ImgInner.d.ts +0 -2
- package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +0 -27
- package/mobile/dist/components/BaseTile/BaseTile.d.ts +0 -12
- package/mobile/dist/components/BaseTile/BaseTile.js +0 -8
- package/mobile/dist/components/BaseTile/BaseTile.js.map +0 -1
- package/mobile/dist/components/BaseTile/getTileHeadingType.d.ts +0 -1
- package/mobile/dist/components/BaseTile/getTileHeadingType.js +0 -17
- package/mobile/dist/components/BaseTile/getTileHeadingType.js.map +0 -1
- package/mobile/dist/components/BaseTile/getTileMinHeight.d.ts +0 -1
- package/mobile/dist/components/BaseTile/getTileMinHeight.js +0 -17
- package/mobile/dist/components/BaseTile/getTileMinHeight.js.map +0 -1
- package/mobile/dist/components/BaseTile/getTileRightPadding.js.map +0 -1
- package/mobile/dist/components/ButtonBlock/ButtonBlock.d.ts +0 -6
- package/mobile/dist/components/ButtonBlock/ButtonBlock.js +0 -9
- package/mobile/dist/components/ButtonBlock/ButtonBlock.js.map +0 -1
- package/mobile/dist/components/ButtonBlock/ButtonBlockContent.d.ts +0 -8
- package/mobile/dist/components/ButtonBlock/ButtonBlockContent.js.map +0 -1
- package/mobile/dist/components/PictureText/renderBenefit.d.ts +0 -4
- package/mobile/dist/components/PictureText/renderBenefit.js +0 -26
- package/mobile/dist/components/PictureText/renderBenefit.js.map +0 -1
- package/mobile/dist/components/ProductBlock/ProductBlockInner.d.ts +0 -4
- package/mobile/dist/components/ProductBlock/ProductBlockInner.js +0 -17
- package/mobile/dist/components/ProductBlock/ProductBlockInner.js.map +0 -1
- package/mobile/dist/components/ProductBlock/renderBenefit.d.ts +0 -5
- package/mobile/dist/components/ProductBlock/renderBenefit.js +0 -7
- package/mobile/dist/components/ProductBlock/renderBenefit.js.map +0 -1
- package/mobile/dist/ui-kit/BenefitItem/BenefitItemProps.d.ts +0 -34
- package/mobile/dist/ui-kit/BenefitItem/BenefitItemProps.js.map +0 -1
- package/mobile/dist/ui-kit/Img/ImgInner.d.ts +0 -2
- package/mobile/dist/ui-kit/Img/ImgInner.js +0 -13
- package/mobile/dist/ui-kit/Img/ImgInner.js.map +0 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +0 -27
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlProps.js +0 -2
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlProps.js.map +0 -1
- package/mobile/lib/components/BaseTile/BaseTile.d.ts +0 -12
- package/mobile/lib/components/BaseTile/BaseTile.js +0 -6
- package/mobile/lib/components/BaseTile/BaseTile.js.map +0 -1
- package/mobile/lib/components/BaseTile/getTileHeadingType.d.ts +0 -1
- package/mobile/lib/components/BaseTile/getTileHeadingType.js +0 -14
- package/mobile/lib/components/BaseTile/getTileHeadingType.js.map +0 -1
- package/mobile/lib/components/BaseTile/getTileMinHeight.d.ts +0 -1
- package/mobile/lib/components/BaseTile/getTileMinHeight.js +0 -14
- package/mobile/lib/components/BaseTile/getTileMinHeight.js.map +0 -1
- package/mobile/lib/components/BaseTile/getTileRightPadding.js.map +0 -1
- package/mobile/lib/components/ButtonBlock/ButtonBlock.d.ts +0 -6
- package/mobile/lib/components/ButtonBlock/ButtonBlock.js.map +0 -1
- package/mobile/lib/components/ButtonBlock/ButtonBlockContent.d.ts +0 -8
- package/mobile/lib/components/ButtonBlock/ButtonBlockContent.js +0 -2
- package/mobile/lib/components/ButtonBlock/ButtonBlockContent.js.map +0 -1
- package/mobile/lib/components/PictureText/renderBenefit.d.ts +0 -4
- package/mobile/lib/components/PictureText/renderBenefit.js +0 -23
- package/mobile/lib/components/PictureText/renderBenefit.js.map +0 -1
- package/mobile/lib/components/ProductBlock/ProductBlockInner.d.ts +0 -4
- package/mobile/lib/components/ProductBlock/ProductBlockInner.js +0 -15
- package/mobile/lib/components/ProductBlock/ProductBlockInner.js.map +0 -1
- package/mobile/lib/components/ProductBlock/renderBenefit.d.ts +0 -5
- package/mobile/lib/components/ProductBlock/renderBenefit.js +0 -4
- package/mobile/lib/components/ProductBlock/renderBenefit.js.map +0 -1
- package/mobile/lib/ui-kit/BenefitItem/BenefitItemProps.d.ts +0 -34
- package/mobile/lib/ui-kit/BenefitItem/BenefitItemProps.js +0 -2
- package/mobile/lib/ui-kit/BenefitItem/BenefitItemProps.js.map +0 -1
- package/mobile/lib/ui-kit/Img/ImgInner.d.ts +0 -2
- package/mobile/lib/ui-kit/Img/ImgInner.js +0 -11
- package/mobile/lib/ui-kit/Img/ImgInner.js.map +0 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +0 -27
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlProps.js +0 -2
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlProps.js.map +0 -1
- package/mobile/src/components/BaseTile/BaseTile.tsx +0 -43
- package/mobile/src/components/BaseTile/getTileHeadingType.ts +0 -12
- package/mobile/src/components/BaseTile/getTileMinHeight.ts +0 -12
- package/mobile/src/components/ButtonBlock/ButtonBlock.example.json +0 -12
- package/mobile/src/components/ButtonBlock/ButtonBlock.ui.json +0 -12
- package/mobile/src/components/ButtonBlock/ButtonBlockContent.ts +0 -9
- package/mobile/src/components/PictureText/renderBenefit.tsx +0 -34
- package/mobile/src/components/ProductBlock/ProductBlockInner.tsx +0 -63
- package/mobile/src/components/ProductBlock/renderBenefit.tsx +0 -9
- package/mobile/src/ui-kit/BenefitItem/BenefitItemProps.ts +0 -38
- package/mobile/src/ui-kit/Img/ImgInner.tsx +0 -30
- package/mobile/src/ui-kit/SwipeListControl/SwipeListControlProps.ts +0 -31
- package/src/components/BaseTile/BaseTile.tsx +0 -43
- package/src/components/BaseTile/getTileHeadingType.ts +0 -12
- package/src/components/BaseTile/getTileMinHeight.ts +0 -12
- package/src/components/ButtonBlock/ButtonBlock.example.json +0 -12
- package/src/components/ButtonBlock/ButtonBlock.fixture.tsx +0 -19
- package/src/components/ButtonBlock/ButtonBlock.ui.json +0 -12
- package/src/components/ButtonBlock/ButtonBlockContent.ts +0 -9
- package/src/components/MobileAppTile/MobileAppTile.mobile.tsx +0 -33
- package/src/components/PictureText/renderBenefit.tsx +0 -34
- package/src/components/ProductBlock/ProductBlockInner.tsx +0 -63
- package/src/components/ProductBlock/renderBenefit.tsx +0 -9
- package/src/ui-kit/BenefitItem/BenefitItemProps.ts +0 -38
- package/src/ui-kit/Img/Img.mobile.tsx +0 -5
- package/src/ui-kit/Img/ImgInner.tsx +0 -30
- package/src/ui-kit/SwipeListControl/SwipeListControlProps.ts +0 -31
- /package/bundle/{components → ui-kit}/BaseTile/getTileRightPadding.d.ts +0 -0
- /package/dist/{components → ui-kit}/BaseTile/getTileRightPadding.d.ts +0 -0
- /package/dist/{components → ui-kit}/BaseTile/getTileRightPadding.js +0 -0
- /package/lib/components/{ButtonBlock/ButtonBlock.fixture.d.ts → ButtonsBlock/ButtonsBlock.fixture.d.ts} +0 -0
- /package/lib/{components → ui-kit}/BaseTile/getTileRightPadding.d.ts +0 -0
- /package/lib/{components → ui-kit}/BaseTile/getTileRightPadding.js +0 -0
- /package/mobile/bundle/{components → ui-kit}/BaseTile/getTileRightPadding.d.ts +0 -0
- /package/mobile/dist/{components → ui-kit}/BaseTile/getTileRightPadding.d.ts +0 -0
- /package/mobile/dist/{components → ui-kit}/BaseTile/getTileRightPadding.js +0 -0
- /package/mobile/lib/{components → ui-kit}/BaseTile/getTileRightPadding.d.ts +0 -0
- /package/mobile/lib/{components → ui-kit}/BaseTile/getTileRightPadding.js +0 -0
- /package/mobile/src/{components → ui-kit}/BaseTile/getTileRightPadding.ts +0 -0
- /package/src/{components → ui-kit}/BaseTile/getTileRightPadding.ts +0 -0
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { jsxs as _jsxs, jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
+
import { Text } from '../../ui-kit/Text/Text.js';
|
|
3
|
+
import { toLocalNumberFormat } from '../../utils/toLocalNumberFormat.js';
|
|
4
|
+
export const renderInsuranceSumMonth = (sum, monthLimit) => sum || monthLimit ? (_jsxs("div", { className: "flex flex-wrap xl:flex-nowrap xl:bg-main-divider xl:rounded-md p-xs gap-m", children: [Number(sum) > 0 ? renderValueBlock('Страховая сумма:', sum) : null, Number(monthLimit) > 0 ? renderValueBlock('Ежемесячный лимит:', monthLimit) : null] })) : null;
|
|
5
|
+
const renderValueBlock = (title, value = 0) => (_jsxs("div", { className: "basis-full flex flex-col-reverse sm:flex-row sm:justify-between items-baseline whitespace-pre", children: [_jsx(Text, { font: "font-light", size: "text-l", children: title }), _jsxs(Text, { size: "text-h6", color: "text-primary-text", children: [toLocalNumberFormat(2)(value), " \u20BD"] })] }));
|
|
6
|
+
//# sourceMappingURL=renderInsuranceSumMonth.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"renderInsuranceSumMonth.js","sourceRoot":"","sources":["../../../src/components/PictureText/renderInsuranceSumMonth.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AAEtE,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,GAAY,EAAE,UAAmB,EAAE,EAAE,CAC3E,GAAG,IAAI,UAAU,CAAC,CAAC,CAAC,CAClB,eAAK,SAAS,EAAC,2EAA2E,aACvF,MAAM,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,kBAAkB,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,EAClE,MAAM,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,oBAAoB,EAAE,UAAU,CAAC,CAAC,CAAC,CAAC,IAAI,IAC/E,CACP,CAAC,CAAC,CAAC,IAAI,CAAC;AAEX,MAAM,gBAAgB,GAAG,CAAC,KAAa,EAAE,KAAK,GAAG,CAAC,EAAE,EAAE,CAAC,CACrD,eAAK,SAAS,EAAC,+FAA+F,aAC5G,KAAC,IAAI,IAAC,IAAI,EAAC,YAAY,EAAC,IAAI,EAAC,QAAQ,YAClC,KAAK,GACD,EACP,MAAC,IAAI,IAAC,IAAI,EAAC,SAAS,EAAC,KAAK,EAAC,mBAAmB,aAC3C,mBAAmB,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,eACzB,IACH,CACP,CAAC"}
|
|
@@ -2,14 +2,9 @@ import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
3
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
|
|
4
4
|
import { style } from '../../utils/style.js';
|
|
5
|
-
import { getTileHeadingType } from '../BaseTile/getTileHeadingType.js';
|
|
6
|
-
import { getTileMinHeight } from '../BaseTile/getTileMinHeight.js';
|
|
7
|
-
import { getTileRightPadding } from '../BaseTile/getTileRightPadding.js';
|
|
8
5
|
import { Headline } from '../Headline/Headline.js';
|
|
9
6
|
const GOLDEN_RATIO = 1.618;
|
|
10
|
-
export const Placeholder = JSX(({ className, title, description = 'Блок в разработке...', ...rest }) => {
|
|
11
|
-
return (_jsxs(BlockWrapper, { className: style('p-9 box-border', className, getTileRightPadding(className), getTileMinHeight(className)), ...rest, children: [_jsx(Headline, { className: "!p-0 max-w-[600px]", title: title, description: description, headlineVersion: getTileHeadingType(className) }), _jsx("figure", { className: "m-0 min-w-[80%]", children: renderShimmer() })] }));
|
|
12
|
-
});
|
|
7
|
+
export const Placeholder = JSX(({ className, title, description = 'Блок в разработке...', ...rest }) => (_jsxs(BlockWrapper, { className: style('box-border', className), ...rest, children: [_jsx(Headline, { className: "max-w-[600px]", title: title, description: description, headlineVersion: "L", align: "text-left", isPadding: false }), _jsx("figure", { className: "m-0 mt-m min-w-[80%]", children: renderShimmer() })] })));
|
|
13
8
|
const renderShimmer = (size = 3) => goldenSequence(100, size)
|
|
14
9
|
.map((_) => Math.floor(_))
|
|
15
10
|
.map(renderShimmerItem);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Placeholder.js","sourceRoot":"","sources":["../../../src/components/Placeholder/Placeholder.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,
|
|
1
|
+
{"version":3,"file":"Placeholder.js","sourceRoot":"","sources":["../../../src/components/Placeholder/Placeholder.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;AAKhD,MAAM,YAAY,GAAG,KAAK,CAAC;AAE3B,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAC5B,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,WAAW,GAAG,sBAAsB,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CACvE,MAAC,YAAY,IAAC,SAAS,EAAE,KAAK,CAAC,YAAY,EAAE,SAAS,CAAC,KAAM,IAAI,aAC/D,KAAC,QAAQ,IACP,SAAS,EAAC,eAAe,EACzB,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,eAAe,EAAC,GAAG,EACnB,KAAK,EAAC,WAAW,EACjB,SAAS,EAAE,KAAK,GAChB,EACF,iBAAQ,SAAS,EAAC,sBAAsB,YAAE,aAAa,EAAE,GAAU,IACtD,CAChB,CACF,CAAC;AAEF,MAAM,aAAa,GAAG,CAAC,IAAI,GAAG,CAAC,EAAE,EAAE,CACjC,cAAc,CAAC,GAAG,EAAE,IAAI,CAAC;KACtB,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;KACzB,GAAG,CAAC,iBAAiB,CAAC,CAAC;AAE5B,MAAM,iBAAiB,GAAG,CAAC,KAAa,EAAE,KAAa,EAAE,EAAE,CAAC,CAC1D,cAEE,KAAK,EAAE,EAAE,KAAK,EAAE,GAAG,KAAK,IAAI,GAAG,GAAG,EAAE,EACpC,SAAS,EAAC,6BAA6B,IAFlC,MAAM,CAAC,KAAK,CAAC,CAGlB,CACH,CAAC;AAEF,MAAM,cAAc,GAAG,CAAC,KAAa,EAAE,IAAY,EAAY,EAAE,CAC/D,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,IAAI,GAAG,CAAC,CAAC,CAAC,CAAC,cAAc,CAAC,KAAK,GAAG,YAAY,EAAE,IAAI,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
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 { BaseProductTile } from '../../ui-kit/BaseProductTile/BaseProductTile.js';
|
|
3
4
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
|
|
4
5
|
import { style } from '../../utils/style.js';
|
|
5
|
-
import { ProductBlockInner } from './ProductBlockInner.js';
|
|
6
6
|
import { renderBackwardButton } from './renderBackwardButton.js';
|
|
7
|
-
export const ProductBlock = JSX(({ className, backwardButton, ...rest }) => (_jsxs(BlockWrapper, { className: style('overflow-hidden
|
|
7
|
+
export const ProductBlock = JSX(({ className, backwardButton, ...rest }) => (_jsxs(BlockWrapper, { className: style('overflow-hidden flex flex-col gap-lg box-border', className), defaultPadding: "p-default", ...rest, children: [backwardButton?.text
|
|
8
8
|
? renderBackwardButton(backwardButton, !rest.version || rest.version === 'primary' ? 'primary' : 'white')
|
|
9
|
-
: null, _jsx(
|
|
9
|
+
: null, _jsx(BaseProductTile, { className: "grow h-full", ...rest })] })));
|
|
10
10
|
//# sourceMappingURL=ProductBlock.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProductBlock.js","sourceRoot":"","sources":["../../../src/components/ProductBlock/ProductBlock.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"ProductBlock.js","sourceRoot":"","sources":["../../../src/components/ProductBlock/ProductBlock.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,eAAe,EAAE,MAAM,8CAA8C,CAAC;AAC/E,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE1C,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAI9D,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAAoB,CAAC,EAAE,SAAS,EAAE,cAAc,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CAC7F,MAAC,YAAY,IACX,SAAS,EAAE,KAAK,CAAC,iDAAiD,EAAE,SAAS,CAAC,EAC9E,cAAc,EAAC,WAAW,KACtB,IAAI,aAEP,cAAc,EAAE,IAAI;YACnB,CAAC,CAAC,oBAAoB,CAClB,cAAc,EACd,CAAC,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,OAAO,CAClE;YACH,CAAC,CAAC,IAAI,EACR,KAAC,eAAe,IAAC,SAAS,EAAC,aAAa,KAAK,IAAI,GAAI,IACxC,CAChB,CAAC,CAAC"}
|
|
@@ -1,29 +1,10 @@
|
|
|
1
|
-
import type { BulletsProps } from '../../model/Bullets';
|
|
2
|
-
import type { HeadlineProps } from '../../model/HeadlineType';
|
|
3
|
-
import type { IconVersion } from '../../model/IconVersion';
|
|
4
1
|
import type { UniBlockContent } from '../../model/JSXBlock';
|
|
5
|
-
import type {
|
|
6
|
-
import type { BackwardButtonProps
|
|
7
|
-
import type { ImageContent } from '../../ui-kit/Img/ImgProps';
|
|
8
|
-
import type { ListContent } from '../../ui-kit/List/ListContent';
|
|
9
|
-
import type { RichTextProps } from '../../ui-kit/RichText/RichTextProps';
|
|
10
|
-
export declare type ProductBlockInnerContent = HeadlineProps & RichTextProps & ListContent & ButtonContent & ImageContent & BulletsProps & {
|
|
11
|
-
/**
|
|
12
|
-
* @title Список преимуществ
|
|
13
|
-
* @minItems 2
|
|
14
|
-
* @maxItems 4
|
|
15
|
-
*/
|
|
16
|
-
benefits?: BenefitItemProps[];
|
|
17
|
-
benefitsVersion?: IconVersion;
|
|
18
|
-
/** @title Лейбл (моб.) */
|
|
19
|
-
label?: string;
|
|
20
|
-
/** @title Картинка справа/текст слева */
|
|
21
|
-
directionRight?: boolean;
|
|
22
|
-
};
|
|
2
|
+
import type { BaseProductTileContent } from '../../ui-kit/BaseProductTile/BaseProductTileContent';
|
|
3
|
+
import type { BackwardButtonProps } from '../../ui-kit/Button/ButtonProps';
|
|
23
4
|
/**
|
|
24
5
|
* @title Продуктовый блок
|
|
25
6
|
*/
|
|
26
|
-
export declare type ProductBlockContent = UniBlockContent &
|
|
7
|
+
export declare type ProductBlockContent = UniBlockContent & BaseProductTileContent & {
|
|
27
8
|
/** @title Кнопка возврата */
|
|
28
9
|
backwardButton?: BackwardButtonProps;
|
|
29
10
|
};
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
+
import { BaseProductTile } from '../../ui-kit/BaseProductTile/BaseProductTile.js';
|
|
3
4
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
|
|
4
5
|
import { SwipeListControl } from '../../ui-kit/SwipeListControl/SwipeListControl.js';
|
|
5
|
-
import {
|
|
6
|
-
export const ProductGallery = JSX(({ className
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
});
|
|
10
|
-
const renderProductBlock = (block, i) => (_jsx(ProductBlockInner, { className: "z-10 px-5 group-data-secondary:text-white", ...block }, String(i)));
|
|
6
|
+
import { style } from '../../utils/style.js';
|
|
7
|
+
export const ProductGallery = JSX(({ className, slides = [], ...rest }) => (_jsx(BlockWrapper, { className: style('overflow-hidden relative', className), defaultPadding: "p-m", ...rest, children: _jsx(SwipeListControl, { gap: 0, padding: 0, children: slides
|
|
8
|
+
.map((s) => s.productBlock)
|
|
9
|
+
.map((_, i) => (_jsx("div", { className: "box-border h-full", role: "listitem", children: _jsx(BaseProductTile, { className: "px-5 h-full", headlineVersion: "L", ..._, ...rest }) }, String(i)))) }) })));
|
|
11
10
|
//# sourceMappingURL=ProductGallery.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProductGallery.js","sourceRoot":"","sources":["../../../src/components/ProductGallery/ProductGallery.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC;
|
|
1
|
+
{"version":3,"file":"ProductGallery.js","sourceRoot":"","sources":["../../../src/components/ProductGallery/ProductGallery.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,eAAe,EAAE,MAAM,8CAA8C,CAAC;AAC/E,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC;AAClF,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAK1C,MAAM,CAAC,MAAM,cAAc,GAAG,GAAG,CAAsB,CAAC,EAAE,SAAS,EAAE,MAAM,GAAG,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CAC9F,KAAC,YAAY,IACX,SAAS,EAAE,KAAK,CAAC,0BAA0B,EAAE,SAAS,CAAC,EACvD,cAAc,EAAC,KAAK,KAChB,IAAI,YAER,KAAC,gBAAgB,IAAC,GAAG,EAAE,CAAC,EAAE,OAAO,EAAE,CAAC,YACjC,MAAM;aACJ,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,YAAY,CAAC;aAC1B,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CACb,cAAqB,SAAS,EAAC,mBAAmB,EAAC,IAAI,EAAC,UAAU,YAChE,KAAC,eAAe,IAAC,SAAS,EAAC,aAAa,EAAC,eAAe,EAAC,GAAG,KAAK,CAAC,KAAM,IAAI,GAAI,IADxE,MAAM,CAAC,CAAC,CAAC,CAEb,CACP,CAAC,GACa,GACN,CAChB,CAAC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { UniBlockContent } from '../../model/JSXBlock';
|
|
2
|
-
import type {
|
|
2
|
+
import type { BaseProductTileContent } from '../../ui-kit/BaseProductTile/BaseProductTileContent';
|
|
3
3
|
/** @title Кнопка под слайдом */
|
|
4
4
|
export interface ProductGalleryNav {
|
|
5
5
|
/** @title Заголовок */
|
|
@@ -14,7 +14,7 @@ export interface ProductSlide {
|
|
|
14
14
|
/** @title Превью содержимого слайда на навигации */
|
|
15
15
|
nav?: ProductGalleryNav;
|
|
16
16
|
/** @title Содержимое слайда */
|
|
17
|
-
productBlock:
|
|
17
|
+
productBlock: BaseProductTileContent;
|
|
18
18
|
}
|
|
19
19
|
/**
|
|
20
20
|
* @title Продуктовая галерея
|
|
@@ -3,12 +3,11 @@ import { JSX } from '@redneckz/uni-jsx';
|
|
|
3
3
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
|
|
4
4
|
import { renderButtonsSection } from '../../ui-kit/Button/renderButtonsSection.js';
|
|
5
5
|
import { style } from '../../utils/style.js';
|
|
6
|
-
import { getTileRightPadding } from '../BaseTile/getTileRightPadding.js';
|
|
7
6
|
import { Headline } from '../Headline/Headline.js';
|
|
8
7
|
import { renderAdditionalDescription } from './renderAdditionalDescription.js';
|
|
9
8
|
import { renderBenefit } from './renderBenefit.js';
|
|
10
9
|
import { renderImage } from './renderImage.js';
|
|
11
|
-
export const ProductTile = JSX(({ className = '', title, headlineVersion = 'S', description, additionalDescription, benefits = [], buttons, image, directionRight = true, ...rest }) => (_jsxs(BlockWrapper, { className: style('overflow-hidden
|
|
10
|
+
export const ProductTile = JSX(({ className = '', title, headlineVersion = 'S', description, additionalDescription, benefits = [], buttons, image, directionRight = true, ...rest }) => (_jsxs(BlockWrapper, { className: style('overflow-hidden box-border relative min-h-[364px] flex flex-col justify-between', className), ...rest, children: [_jsxs("div", { className: style('flex flex-col', directionRight ? '' : 'items-end'), children: [_jsx(Headline, { className: style('!p-0 !bg-transparent z-10', title || description ? 'mb-3.5' : ''), title: title, description: description, headlineVersion: headlineVersion, as: "h2", align: "text-left" }), renderBenefits(benefits, image), renderAdditionalDescription(additionalDescription, image)] }), renderButtonsSection(buttons, {
|
|
12
11
|
className: style('mt-5 text-l', directionRight ? '' : 'justify-end'),
|
|
13
12
|
}), renderImage(image, directionRight)] })));
|
|
14
13
|
function renderBenefits(benefits, image) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProductTile.js","sourceRoot":"","sources":["../../../src/components/ProductTile/ProductTile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,oBAAoB,EAAE,MAAM,0CAA0C,CAAC;AAChF,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"ProductTile.js","sourceRoot":"","sources":["../../../src/components/ProductTile/ProductTile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,oBAAoB,EAAE,MAAM,0CAA0C,CAAC;AAChF,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhD,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAC5E,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAI5C,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAC5B,CAAC,EACC,SAAS,GAAG,EAAE,EACd,KAAK,EACL,eAAe,GAAG,GAAG,EACrB,WAAW,EACX,qBAAqB,EACrB,QAAQ,GAAG,EAAE,EACb,OAAO,EACP,KAAK,EACL,cAAc,GAAG,IAAI,EACrB,GAAG,IAAI,EACR,EAAE,EAA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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 { BaseTile } from '../../ui-kit/BaseTile/BaseTile.js';
|
|
3
4
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
|
|
4
5
|
import { renderButtonsSection } from '../../ui-kit/Button/renderButtonsSection.js';
|
|
5
6
|
import { style } from '../../utils/style.js';
|
|
6
|
-
import { BaseTile } from '../BaseTile/BaseTile.js';
|
|
7
|
-
import { getTileHeadingType } from '../BaseTile/getTileHeadingType.js';
|
|
8
|
-
import { getTileMinHeight } from '../BaseTile/getTileMinHeight.js';
|
|
9
|
-
import { getTileRightPadding } from '../BaseTile/getTileRightPadding.js';
|
|
10
7
|
import { Headline } from '../Headline/Headline.js';
|
|
11
|
-
export const PromoTile = JSX(({ className
|
|
8
|
+
export const PromoTile = JSX(({ className, title = 'Акции и спецпредложения', description, headlineVersion = 'S', date, buttons = [], ...rest }) => (_jsx(BlockWrapper, { className: style('box-border', className), ...rest, children: _jsxs(BaseTile, { className: "h-full", title: title ? (_jsx(Headline, { title: title, headlineVersion: headlineVersion, align: "text-left", isPadding: false })) : null, buttons: renderButtonsSection(buttons), children: [date ? _jsx("div", { className: "text-s mb-2", children: formatDate(date) }) : null, _jsx("div", { className: "text-l", children: description })] }) })));
|
|
12
9
|
function formatDate(date) {
|
|
13
10
|
const dateObj = new Date(date);
|
|
14
11
|
const dateFormat = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PromoTile.js","sourceRoot":"","sources":["../../../src/components/PromoTile/PromoTile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"PromoTile.js","sourceRoot":"","sources":["../../../src/components/PromoTile/PromoTile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EA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AChB,CAAC;IAEF,OAAO,OAAO,CAAC,cAAc,CAAC,OAAO,EAAE,UAAU,CAAC,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;AACvE,CAAC"}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import type { DescriptionProps } from '../../model/HeadlineType';
|
|
1
|
+
import type { DescriptionProps, HeadlineProps } from '../../model/HeadlineType';
|
|
2
2
|
import type { UniBlockContent } from '../../model/JSXBlock';
|
|
3
3
|
import type { ButtonContent } from '../../ui-kit/Button/ButtonProps';
|
|
4
|
-
import type { HeadingCommonProps } from '../../ui-kit/Heading/HeadingProps';
|
|
5
4
|
/**
|
|
6
5
|
* @title Акции
|
|
7
6
|
*/
|
|
8
|
-
export declare type PromoTileContent = UniBlockContent &
|
|
7
|
+
export declare type PromoTileContent = UniBlockContent & HeadlineProps & DescriptionProps & ButtonContent & {
|
|
9
8
|
/** @title Дата публикации */
|
|
10
9
|
date?: string;
|
|
11
10
|
};
|
|
@@ -8,7 +8,7 @@ import { Img } from '../../ui-kit/Img/Img.js';
|
|
|
8
8
|
import { RichText } from '../../ui-kit/RichText/RichText.js';
|
|
9
9
|
import { Text } from '../../ui-kit/Text/Text.js';
|
|
10
10
|
import { style } from '../../utils/style.js';
|
|
11
|
-
export const RepresentativeOfficeInfo = JSX(({ address, email, telephone, button, className = '', __html, icon, title, version = 'primary', ...rest }) => (_jsxs(BlockWrapper, { className: style('box-border text-left
|
|
11
|
+
export const RepresentativeOfficeInfo = JSX(({ address, email, telephone, button, className = '', __html, icon, title, version = 'primary', ...rest }) => (_jsxs(BlockWrapper, { className: style('box-border text-left', className), version: version, ...rest, children: [_jsxs("div", { className: "w-full flex justify-between", children: [title ? _jsx(Heading, { headingType: "h4", as: "h3", className: "mb-6", title: title }) : null, renderIconBlock(icon)] }), _jsxs("div", { className: "w-full", children: [__html ? renderDescriptionBlock(__html) : null, renderBlock('Адрес', address, 'GeolocationIcon'), renderBlock('Телефон', telephone, 'PhoneIcon'), renderBlock('E-mail', email, 'MailIcon'), button?.text
|
|
12
12
|
? renderButtonsSection([button], {
|
|
13
13
|
className: 'mb-6',
|
|
14
14
|
})
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RepresentativeOfficeInfo.js","sourceRoot":"","sources":["../../../src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAIxC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,oBAAoB,EAAE,MAAM,0CAA0C,CAAC;AAChF,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAC1D,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAO1C,MAAM,CAAC,MAAM,wBAAwB,GAAG,GAAG,CACzC,CAAC,EACC,OAAO,EACP,KAAK,EACL,SAAS,EACT,MAAM,EACN,SAAS,GAAG,EAAE,EACd,MAAM,EACN,IAAI,EACJ,KAAK,EACL,OAAO,GAAG,SAAS,EACnB,GAAG,IAAI,EACR,EAAE,EAAE,CAAC,CACJ,MAAC,YAAY,
|
|
1
|
+
{"version":3,"file":"RepresentativeOfficeInfo.js","sourceRoot":"","sources":["../../../src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAIxC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,oBAAoB,EAAE,MAAM,0CAA0C,CAAC;A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EAAE;wBAC7B,SAAS,EAAE,MAAM;qBAClB,CAAC;oBACJ,CAAC,CAAC,IAAI,IACJ,IACO,CAChB,CACF,CAAC;AAEF,MAAM,eAAe,GAAG,CAAC,IAAc,EAAE,EAAE,CAAC,CAC1C,eAAK,SAAS,EAAC,UAAU,aACtB,IAAI,EAAE,GAAG,CAAC,CAAC,CAAC,KAAC,GAAG,IAAC,KAAK,EAAE,IAAI,GAAI,CAAC,CAAC,CAAC,IAAI,EACvC,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,KAAC,GAAG,IAAC,KAAK,EAAE,IAAI,GAAI,CAAC,CAAC,CAAC,IAAI,IACrC,CACP,CAAC;AAEF,MAAM,sBAAsB,GAAG,CAAC,MAAe,EAAE,EAAE,CAAC,CAClD,cAAK,SAAS,EAAC,wCAAwC,YACrD,KAAC,QAAQ,IAAC,MAAM,EAAE,MAAM,GAAI,GACxB,CACP,CAAC;AAEF,MAAM,WAAW,GAAG,CAAC,SAAiB,EAAE,IAAa,EAAE,QAA+B,EAAE,EAAE,CAAC,CACzF,eAAK,SAAS,EAAC,WAAW,aACxB,KAAC,IAAI,IAAC,SAAS,EAAC,MAAM,EAAC,WAAW,EAAC,OAAO,EAAC,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,GAAG,EACpF,eAAK,SAAS,EAAC,0BAA0B,aACvC,KAAC,IAAI,IAAC,IAAI,EAAC,cAAc,YAAE,SAAS,GAAQ,EAC3C,IAAI,CAAC,CAAC,CAAC,CACN,KAAC,IAAI,IAAC,IAAI,EAAC,SAAS,EAAC,KAAK,EAAC,YAAY,YACpC,IAAI,GACA,CACR,CAAC,CAAC,CAAC,IAAI,IACJ,IACF,CACP,CAAC"}
|
|
@@ -4,6 +4,6 @@ import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
|
|
|
4
4
|
import { RichText } from '../../ui-kit/RichText/RichText.js';
|
|
5
5
|
export const RichTextBlock = JSX((props) => {
|
|
6
6
|
const { __html, richVersion, ...rest } = props;
|
|
7
|
-
return (_jsx(BlockWrapper, { ...rest, children: _jsx(RichText, { __html: __html, richVersion: richVersion }) }));
|
|
7
|
+
return (_jsx(BlockWrapper, { defaultPadding: "p-0", ...rest, children: _jsx(RichText, { __html: __html, richVersion: richVersion }) }));
|
|
8
8
|
});
|
|
9
9
|
//# sourceMappingURL=RichTextBlock.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RichTextBlock.js","sourceRoot":"","sources":["../../../src/components/RichTextBlock/RichTextBlock.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAK1D,MAAM,CAAC,MAAM,aAAa,GAAG,GAAG,CAAqB,CAAC,KAAK,EAAE,EAAE;IAC7D,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,GAAG,IAAI,EAAE,GAAG,KAAK,CAAC;IAE/C,OAAO,CACL,KAAC,YAAY,
|
|
1
|
+
{"version":3,"file":"RichTextBlock.js","sourceRoot":"","sources":["../../../src/components/RichTextBlock/RichTextBlock.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAK1D,MAAM,CAAC,MAAM,aAAa,GAAG,GAAG,CAAqB,CAAC,KAAK,EAAE,EAAE;IAC7D,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,GAAG,IAAI,EAAE,GAAG,KAAK,CAAC;IAE/C,OAAO,CACL,KAAC,YAAY,IAAC,cAAc,EAAC,KAAK,KAAK,IAAI,YACzC,KAAC,QAAQ,IAAC,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,WAAW,GAAI,GACzC,CAChB,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -6,33 +6,38 @@ import { DefaultFoldButton } from '../../ui-kit/Foldable/DefaultFoldButton.js';
|
|
|
6
6
|
import { Foldable } from '../../ui-kit/Foldable/Foldable.js';
|
|
7
7
|
import { FoldableSection } from '../../ui-kit/Foldable/FoldableSection.js';
|
|
8
8
|
import { Icon } from '../../ui-kit/Icon/Icon.js';
|
|
9
|
-
import { RoundedIcon } from '../../ui-kit/Icon/RoundedIcon.js';
|
|
10
9
|
import { Text } from '../../ui-kit/Text/Text.js';
|
|
11
10
|
import { style } from '../../utils/style.js';
|
|
12
11
|
import { foldableSectionStyles } from './foldableSectionStyles.js';
|
|
13
12
|
import { getIconName } from './getIconName.js';
|
|
14
13
|
import { labelSize } from './labelSize.js';
|
|
14
|
+
import { renderRoundedIcon } from './renderRoundedIcon.js';
|
|
15
15
|
import { rollupIconVersion } from './rollupIconVersion.js';
|
|
16
16
|
import { rollupItemStyles } from './rollupItemStyles.js';
|
|
17
|
-
export const RollupItem = JSX(({ className = '', label = 'Развернуть', labelIcon, isExpanded, isFoldButtonOnTop = true, version = 'primary', ...rest }) => {
|
|
18
|
-
return (_jsx(BlockWrapper, { className: style('w-full', rollupItemStyles, className), tag: "div", version: "transparent", ...rest, children: _jsx(Foldable, { isFoldButtonOnTop: isFoldButtonOnTop, unfoldedByDefault: isExpanded, renderFoldableSection: ({ isUnfolded }) => (_jsx(FoldableSection, { className: style('gap-5 [&>*]:p-0', foldableSectionStyles), isUnfolded: isUnfolded, children: renderChildren(rest) })), renderFoldButton: ({ isUnfolded, onToggle }) => renderFoldButton({
|
|
17
|
+
export const RollupItem = JSX(({ className = '', label = 'Развернуть', labelIcon, labelIconBgVersion, isExpanded, isFoldButtonOnTop = true, version = 'primary', ...rest }) => {
|
|
18
|
+
return (_jsx(BlockWrapper, { className: style('w-full', rollupItemStyles, className), defaultPadding: "p-0", tag: "div", version: "transparent", ...rest, children: _jsx(Foldable, { isFoldButtonOnTop: isFoldButtonOnTop, unfoldedByDefault: isExpanded, renderFoldableSection: ({ isUnfolded }) => (_jsx(FoldableSection, { className: style('gap-5 [&>*]:p-0', foldableSectionStyles), isUnfolded: isUnfolded, children: renderChildren(rest) })), renderFoldButton: ({ isUnfolded, onToggle }) => renderFoldButton({
|
|
19
|
+
version,
|
|
20
|
+
label,
|
|
21
|
+
labelIcon,
|
|
22
|
+
labelIconBgVersion,
|
|
23
|
+
isUnfolded,
|
|
24
|
+
onToggle,
|
|
25
|
+
}) }) }));
|
|
19
26
|
});
|
|
20
27
|
RollupItem.childrenTypes = {
|
|
21
28
|
exclude: ['RollupItem'],
|
|
22
29
|
};
|
|
23
|
-
const renderFoldButton = ({ version, label: defaultLabel, labelIcon, isUnfolded, onToggle, }) => {
|
|
30
|
+
const renderFoldButton = ({ version, label: defaultLabel, labelIcon, labelIconBgVersion, isUnfolded, onToggle, }) => {
|
|
24
31
|
const label = defaultLabel || (isUnfolded ? 'Скрыть' : 'Развернуть');
|
|
25
32
|
return version === 'primary' ? (renderPrimaryFoldButton({
|
|
26
33
|
label,
|
|
27
34
|
labelIcon,
|
|
35
|
+
labelIconBgVersion,
|
|
28
36
|
icon: getIconName(isUnfolded),
|
|
29
37
|
onToggle,
|
|
30
38
|
})) : (_jsx(DefaultFoldButton, { label: label, icon: isUnfolded ? 'ArrowUpIcon' : 'ArrowDownIcon', onClick: onToggle }));
|
|
31
39
|
};
|
|
32
|
-
const renderPrimaryFoldButton = ({ label, icon, onToggle, labelIcon }) => {
|
|
33
|
-
|
|
34
|
-
const iconHeight = String(labelIcon?.size?.height || 24);
|
|
35
|
-
const iconName = labelIcon?.icon;
|
|
36
|
-
return (_jsxs("button", { className: style('border-none bg-transparent px-0 flex justify-between items-center w-full cursor-pointer group/button', iconName ? 'py-2' : 'py-5'), onClick: onToggle, children: [_jsxs("div", { className: "flex items-center group-hover/button:text-primary-main", children: [iconName ? (_jsx(RoundedIcon, { name: iconName, width: iconWidth, height: iconHeight, iconVersion: labelIcon?.iconVersion })) : null, label ? (_jsx(Text, { size: labelSize, font: "font-normal", children: label })) : null] }), icon ? _jsx(Icon, { name: icon, iconVersion: rollupIconVersion, width: "24", height: "24" }) : null] }));
|
|
40
|
+
const renderPrimaryFoldButton = ({ label, labelIconBgVersion, icon, onToggle, labelIcon, }) => {
|
|
41
|
+
return (_jsxs("button", { className: style('border-none bg-transparent px-0 flex justify-between items-center w-full group/button', labelIcon?.icon ? 'py-2' : 'py-5'), onClick: onToggle, children: [_jsxs("div", { className: "flex items-center group-hover/button:text-primary-main", children: [renderRoundedIcon(labelIcon, labelIconBgVersion), label ? (_jsx(Text, { size: labelSize, font: "font-normal", children: label })) : null] }), icon ? _jsx(Icon, { name: icon, iconVersion: rollupIconVersion, width: "24", height: "24" }) : null] }));
|
|
37
42
|
};
|
|
38
43
|
//# sourceMappingURL=RollupItem.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RollupItem.js","sourceRoot":"","sources":["../../../src/components/RollupItem/RollupItem.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAIpE,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,iBAAiB,EAAE,MAAM,yCAAyC,CAAC;AAC5E,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAE1D,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AACxE,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAE9C,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"RollupItem.js","sourceRoot":"","sources":["../../../src/components/RollupItem/RollupItem.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,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uFAAuF,EACvF,SAAS,EAAE,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAClC,EACD,OAAO,EAAE,QAAQ,aAEjB,eAAK,SAAS,EAAC,wDAAwD,aACpE,iBAAiB,CAAC,SAAS,EAAE,kBAAkB,CAAC,EAChD,KAAK,CAAC,CAAC,CAAC,CACP,KAAC,IAAI,IAAC,IAAI,EAAE,SAAS,EAAE,IAAI,EAAC,aAAa,YACtC,KAAK,GACD,CACR,CAAC,CAAC,CAAC,IAAI,IACJ,EACL,IAAI,CAAC,CAAC,CAAC,KAAC,IAAI,IAAC,IAAI,EAAE,IAAI,EAAE,WAAW,EAAE,iBAAiB,EAAE,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,GAAG,CAAC,CAAC,CAAC,IAAI,IACnF,CACV,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { LabelProps } from '../../model/HeadlineType';
|
|
2
2
|
import type { UniBlockContent } from '../../model/JSXBlock';
|
|
3
|
-
import type {
|
|
3
|
+
import type { Picture } from '../../model/Picture';
|
|
4
|
+
import type { IconBgVersion } from '../../ui-kit/Icon/IconProps';
|
|
4
5
|
/**
|
|
5
6
|
* @title Сворачивающаяся секция
|
|
6
7
|
*/
|
|
@@ -9,5 +10,6 @@ export declare type RollupItemContent = UniBlockContent & LabelProps & {
|
|
|
9
10
|
isExpanded?: boolean;
|
|
10
11
|
/** @title Кнопка сверху */
|
|
11
12
|
isFoldButtonOnTop?: boolean;
|
|
12
|
-
labelIcon?:
|
|
13
|
+
labelIcon?: Picture;
|
|
14
|
+
labelIconBgVersion?: IconBgVersion;
|
|
13
15
|
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
+
import { RoundedIcon } from '../../ui-kit/Icon/RoundedIcon.js';
|
|
3
|
+
export const renderRoundedIcon = (icon, iconBgVersion) => (_jsx(RoundedIcon, { ...icon, iconBgVersion: iconBgVersion }));
|
|
4
|
+
//# sourceMappingURL=renderRoundedIcon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"renderRoundedIcon.js","sourceRoot":"","sources":["../../../src/components/RollupItem/renderRoundedIcon.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAG5D,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,IAAc,EAAE,aAA6B,EAAE,EAAE,CAAC,CAClF,KAAC,WAAW,OAAK,IAAI,EAAE,aAAa,EAAE,aAAa,GAAI,CACxD,CAAC"}
|
|
@@ -1,12 +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
3
|
import { useCallback, useState } from '@redneckz/uni-jsx/lib/hooks';
|
|
4
|
-
import { useSafeBoxes } from './useSafeBoxes.js';
|
|
5
4
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
|
|
6
5
|
import { Heading } from '../../ui-kit/Heading/Heading.js';
|
|
7
6
|
import { YandexMap } from '../../ui-kit/YandexMap/YandexMap.js';
|
|
8
7
|
import { SafeDepositRentalForm } from './SafeDepositRentalForm.js';
|
|
9
8
|
import { useGetRegions } from './useGetRegions.js';
|
|
9
|
+
import { useSafeBoxes } from './useSafeBoxes.js';
|
|
10
10
|
import { getBranch, getCoordinates } from './utils.js';
|
|
11
11
|
const DEFAULT_DAYS = 26;
|
|
12
12
|
export const SafeDepositRental = JSX(({ title, footnote, className = '', ...rest }) => {
|
|
@@ -24,7 +24,7 @@ export const SafeDepositRental = JSX(({ title, footnote, className = '', ...rest
|
|
|
24
24
|
const branches = useSafeBoxes(selectedRegion);
|
|
25
25
|
const handleChangeSafeDepositState = useCallback((state) => setStateDepositState((oldState) => ({ ...oldState, ...state })), [setStateDepositState]);
|
|
26
26
|
const points = getCoordinates(getBranch(branches, safeDepositState.selectedBranch) || branches);
|
|
27
|
-
return (_jsxs(BlockWrapper, { className: className, ...rest, children: [_jsxs("div", { className: "px-8 py-12", children: [title ? (_jsx(Heading, { title: title, headingType: "h3", as: "h2", className: "text-primary-text mb-2.5 text-center" })) : null, _jsx(SafeDepositRentalForm, { regions: regions, branches: branches, data: { ...safeDepositState, selectedRegion }, onClick: handleShowMap, onChange: handleChangeSafeDepositState }), footnote ? _jsx("p", { className: "text-s-light text-secondary-text", children: footnote }) : null] }), points.length && showMap ? _jsx(YandexMap, { points: points, className: "h-[640px]" }) : null] }));
|
|
27
|
+
return (_jsxs(BlockWrapper, { className: className, defaultPadding: "", ...rest, children: [_jsxs("div", { className: "px-8 py-12", children: [title ? (_jsx(Heading, { title: title, headingType: "h3", as: "h2", className: "text-primary-text mb-2.5 text-center" })) : null, _jsx(SafeDepositRentalForm, { regions: regions, branches: branches, data: { ...safeDepositState, selectedRegion }, onClick: handleShowMap, onChange: handleChangeSafeDepositState }), footnote ? _jsx("p", { className: "text-s-light text-secondary-text", children: footnote }) : null] }), points.length && showMap ? _jsx(YandexMap, { points: points, className: "h-[640px]" }) : null] }));
|
|
28
28
|
});
|
|
29
29
|
const normalizeSelectedRegion = (selectedRegion, regions) => !selectedRegion && regions?.length && regions[0]?.code ? regions[0].code : selectedRegion;
|
|
30
30
|
//# 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,WAAW,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"SafeDepositRental.js","sourceRoot":"","sources":["../../../src/components/SafeDepositRental/SafeDepositRental.tsx"],"names":[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AC,cAAc,IAAI,OAAO,EAAE,MAAM,IAAI,OAAO,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,cAAc,CAAC"}
|
|
@@ -16,7 +16,7 @@ const STEPS_TILE_DESCRIPTION_HEIGHT_MAP = {
|
|
|
16
16
|
small: 'min-h-12',
|
|
17
17
|
};
|
|
18
18
|
const styleMap = STEPS_BLOCK_STYLE;
|
|
19
|
-
export const StepsBlock = JSX(({ className = '', title, description, showLines = true, steps, size = 'normal', version = 'primary', ...rest }) => (_jsxs(BlockWrapper, { className: `box-border
|
|
19
|
+
export const StepsBlock = JSX(({ className = '', title, description, showLines = true, steps, size = 'normal', version = 'primary', ...rest }) => (_jsxs(BlockWrapper, { className: `box-border flex flex-col ${className}`, defaultPadding: "px-4 py-6", version: version, ...rest, children: [title ? _jsx(Heading, { headingType: "h3", className: "text-center", title: title }) : null, description ? (_jsx("p", { className: `text-m-light text-center ${styleMap.description} ${title ? 'mt-2' : ''}`, children: description })) : null, steps?.length ? (_jsx("div", { className: `box-border py-0.5 mb-0.5 mt-5`, children: _jsx("div", { className: "flex flex-col justify-between gap-x-[101px]", children: steps.map(renderStep(size, version, showLines)) }) })) : null] })));
|
|
20
20
|
// TODO: Create universal function for this case
|
|
21
21
|
const renderStep = (size, version, showLines) =>
|
|
22
22
|
// Linter doesn't understand that switch processes all cases
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepsBlock.js","sourceRoot":"","sources":["../../../src/components/StepsBlock/StepsBlock.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAIxC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,E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BAAO,CAAC,GAAG,CAAC,GAAQ,CACrB,GACI,GACH,CACP,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -3,9 +3,7 @@ import { JSX } from '@redneckz/uni-jsx';
|
|
|
3
3
|
import { renderChildren } from '../../BlockRenderer/renderChildren.js';
|
|
4
4
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
|
|
5
5
|
import { SwipeListControl } from '../../ui-kit/SwipeListControl/SwipeListControl.js';
|
|
6
|
-
export const SwipeListControlBlock = JSX(({ listType, showDots, options, version, ...rest }) => {
|
|
7
|
-
return (_jsx(BlockWrapper, { version: version, ...rest, children: _jsx(SwipeListControl, { listType: listType, showDots: showDots, version: version, children: renderChildren({ ...rest, options }) }) }));
|
|
8
|
-
});
|
|
6
|
+
export const SwipeListControlBlock = JSX(({ listType, showDots, options, version, ...rest }) => (_jsx(BlockWrapper, { version: version, defaultPadding: "p-0", ...rest, children: _jsx(SwipeListControl, { listType: listType, showDots: showDots, version: version, children: renderChildren({ ...rest, options }) }) })));
|
|
9
7
|
SwipeListControlBlock.childrenTypes = {
|
|
10
8
|
exclude: ['SwipeListControlBlock'],
|
|
11
9
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SwipeListControlBlock.js","sourceRoot":"","sources":["../../../src/components/SwipeListControlBlock/SwipeListControlBlock.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAEpE,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC;AAKlF,MAAM,CAAC,MAAM,qBAAqB,GAChC,GAAG,CAA6B,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE
|
|
1
|
+
{"version":3,"file":"SwipeListControlBlock.js","sourceRoot":"","sources":["../../../src/components/SwipeListControlBlock/SwipeListControlBlock.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAEpE,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC;AAKlF,MAAM,CAAC,MAAM,qBAAqB,GAChC,GAAG,CAA6B,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CACrF,KAAC,YAAY,IAAC,OAAO,EAAE,OAAO,EAAE,cAAc,EAAC,KAAK,KAAK,IAAI,YAC3D,KAAC,gBAAgB,IAAC,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO,YACvE,cAAc,CAAC,EAAE,GAAG,IAAI,EAAE,OAAO,EAAE,CAAC,GACpB,GACN,CAChB,CAAC,CAAC;AAEL,qBAAqB,CAAC,aAAa,GAAG;IACpC,OAAO,EAAE,CAAC,uBAAuB,CAAC;CACnC,CAAC"}
|
|
@@ -24,7 +24,7 @@ export const Tabs = JSX((props) => {
|
|
|
24
24
|
fireTabEvent(selectedTab);
|
|
25
25
|
setCurrentTab(selectedTab);
|
|
26
26
|
}, []);
|
|
27
|
-
return (_jsx(BlockWrapper, { className: `relative box-border flex gap-x-1 w-full ${isSticky ? 'sticky top-1 z-20' : ''} ${className}`, role: "tablist", ...rest, children: renderTabs({ tabs, onClick: handleClick, currentTab, ...rest }) }));
|
|
27
|
+
return (_jsx(BlockWrapper, { className: `relative box-border flex gap-x-1 w-full ${isSticky ? 'sticky top-1 z-20' : ''} ${className}`, defaultPadding: "p-0", role: "tablist", ...rest, children: renderTabs({ tabs, onClick: handleClick, currentTab, ...rest }) }));
|
|
28
28
|
});
|
|
29
29
|
const renderTabs = ({ tabsMode, tabs, ...rest }) => {
|
|
30
30
|
switch (tabsMode) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tabs.js","sourceRoot":"","sources":["../../../src/components/Tabs/Tabs.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAC/E,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAEjE,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAUlD,MAAM,CAAC,MAAM,IAAI,GAAG,GAAG,CAAiB,CAAC,KAAK,EAAE,EAAE;IAChD,MAAM,EAAE,SAAS,GAAG,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,GAAG,KAAK,CAAC;IAE1D,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;IAEzE,SAAS,CAAC,GAAG,EAAE;QACb,IAAI,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE;YACrB,OAAO;SACR;QAED,YAAY,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;IACxB,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,SAAS,CAAC,GAAG,EAAE;QACb,IAAI,UAAU,EAAE,IAAI,KAAK,OAAO,EAAE;YAChC,eAAe,CAAC,OAAO,CAAC,KAAK,EAAE,EAAE,IAAI,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,KAAC,cAAc,IAAC,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,KAAM,IAAI,GAAI,CAAC;KACvE;IAED,OAAO,IAAI,CAAC;AACd,CAAC,CAAC;AAEF,MAAM,YAAY,GAAG,CAAC,GAAY,EAAE,EAAE;IACpC,IAAI,GAAG,CAAC,IAAI,KAAK,OAAO,EAAE;QACxB,eAAe,CAAC,IAAI,CAAC,KAAK,EAAE,EAAE,IAAI,EAAE,GAAG,CAAC,IAAI,EAAE,KAAK,EAAE,GAAG,CAAC,GAAG,EAAE,CAAC,CAAC;KACjE;IACD,IAAI,GAAG,CAAC,IAAI,KAAK,MAAM,EAAE;QACvB,eAAe,CAAC,IAAI,CAAC,KAAK,EAAE,EAAE,IAAI,EAAE,GAAG,CAAC,IAAI,EAAE,KAAK,EAAE,GAAG,CAAC,IAAI,EAAE,CAAC,CAAC;KAClE;AACH,CAAC,CAAC"}
|
|
@@ -6,12 +6,9 @@ const renderButtonsCellData = ({ buttons }) => renderButtonsSection(buttons, {
|
|
|
6
6
|
className: 'mt-3',
|
|
7
7
|
buttonClassName: 'w-12 h-12',
|
|
8
8
|
});
|
|
9
|
-
const renderLabelDescriptionCellData = ({ label, description }) => {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
};
|
|
13
|
-
const renderImgCellData = ({ image }) => image?.src ? _jsx(Img, { image: { ...image, className: 'm-0' } }) : null;
|
|
14
|
-
const renderListCellData = ({ isDotted, ...rest }) => (_jsx(List, { className: "flex flex-col justify-between items-start text-m", isDotted: isDotted ?? true, ...rest }));
|
|
9
|
+
const renderLabelDescriptionCellData = ({ label, description }) => (_jsxs("div", { children: [label ? _jsx("div", { className: "mb-2", children: label }) : null, description ? _jsx("div", { className: "text-s text-secondary-text", children: description }) : null] }));
|
|
10
|
+
const renderImgCellData = ({ image }) => image?.src ? _jsx(Img, { image: image, className: "m-0", imageClassName: "m-0" }) : null;
|
|
11
|
+
const renderListCellData = ({ isDotted, ...rest }) => (_jsx(List, { className: "flex flex-col justify-between items-start text-m pl-2 text-base", isDotted: isDotted ?? true, ...rest }));
|
|
15
12
|
export const EmbeddableCellData = {
|
|
16
13
|
Buttons: renderButtonsCellData,
|
|
17
14
|
Img: renderImgCellData,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmbeddableCellData.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/EmbeddableCellData.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,0CAA0C,CAAC;AAChF,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAE3C,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAU9C,MAAM,qBAAqB,GAAG,CAAC,EAAE,OAAO,EAAiB,EAAE,EAAE,CAC3D,oBAAoB,CAAC,OAAO,EAAE;IAC5B,SAAS,EAAE,MAAM;IACjB,eAAe,EAAE,WAAW;CAC7B,CAAC,CAAC;AAEL,MAAM,8BAA8B,GAAG,CAAC,EAAE,KAAK,EAAE,WAAW,EAAwB,EAAE,EAAE
|
|
1
|
+
{"version":3,"file":"EmbeddableCellData.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/EmbeddableCellData.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,0CAA0C,CAAC;AAChF,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAE3C,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAU9C,MAAM,qBAAqB,GAAG,CAAC,EAAE,OAAO,EAAiB,EAAE,EAAE,CAC3D,oBAAoB,CAAC,OAAO,EAAE;IAC5B,SAAS,EAAE,MAAM;IACjB,eAAe,EAAE,WAAW;CAC7B,CAAC,CAAC;AAEL,MAAM,8BAA8B,GAAG,CAAC,EAAE,KAAK,EAAE,WAAW,EAAwB,EAAE,EAAE,CAAC,CACvF,0BACG,KAAK,CAAC,CAAC,CAAC,cAAK,SAAS,EAAC,MAAM,YAAE,KAAK,GAAO,CAAC,CAAC,CAAC,IAAI,EAClD,WAAW,CAAC,CAAC,CAAC,cAAK,SAAS,EAAC,4BAA4B,YAAE,WAAW,GAAO,CAAC,CAAC,CAAC,IAAI,IACjF,CACP,CAAC;AAEF,MAAM,iBAAiB,GAAG,CAAC,EAAE,KAAK,EAAgB,EAAE,EAAE,CACpD,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,KAAC,GAAG,IAAC,KAAK,EAAE,KAAK,EAAE,SAAS,EAAC,KAAK,EAAC,cAAc,EAAC,KAAK,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC;AAEjF,MAAM,kBAAkB,GAAG,CAAC,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAa,EAAE,EAAE,CAAC,CAC/D,KAAC,IAAI,IACH,SAAS,EAAC,iEAAiE,EAC3E,QAAQ,EAAE,QAAQ,IAAI,IAAI,KACtB,IAAI,GACR,CACH,CAAC;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,OAAO,EAAE,qBAAqB;IAC9B,GAAG,EAAE,iBAAiB;IACtB,IAAI,EAAE,kBAAkB;IACxB,gBAAgB,EAAE,8BAA8B;CACjD,CAAC"}
|
|
@@ -1,6 +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
|
-
import { Heading } from '../../ui-kit/Heading/Heading.js';
|
|
4
3
|
import { Img } from '../../ui-kit/Img/Img.js';
|
|
5
|
-
|
|
4
|
+
import { Text } from '../../ui-kit/Text/Text.js';
|
|
5
|
+
export const TableTileHeader = JSX(({ title, icon }) => (_jsxs("div", { className: "mb-2", children: [title ? _jsx(Text, { size: "text-l-light", children: title }) : null, icon ? _jsx(Img, { className: "ml-auto min-w-6", image: icon, width: "24", height: "24" }) : null] })));
|
|
6
6
|
//# sourceMappingURL=TableTileHeader.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableTileHeader.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/TableTileHeader.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"TableTileHeader.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/TableTileHeader.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAG9C,MAAM,CAAC,MAAM,eAAe,GAAG,GAAG,CAAwB,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CAC7E,eAAK,SAAS,EAAC,MAAM,aAClB,KAAK,CAAC,CAAC,CAAC,KAAC,IAAI,IAAC,IAAI,EAAC,cAAc,YAAE,KAAK,GAAQ,CAAC,CAAC,CAAC,IAAI,EACvD,IAAI,CAAC,CAAC,CAAC,KAAC,GAAG,IAAC,SAAS,EAAC,iBAAiB,EAAC,KAAK,EAAE,IAAI,EAAE,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,GAAG,CAAC,CAAC,CAAC,IAAI,IAClF,CACP,CAAC,CAAC"}
|
|
@@ -1,13 +1,13 @@
|
|
|
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 {
|
|
3
|
+
import { Headline } from '../Headline/Headline.js';
|
|
4
4
|
import { TariffsTableHorizontal } from './TariffsTableHorizontal.js';
|
|
5
5
|
import { TariffsTableVertical } from './TariffsTableVertical.js';
|
|
6
6
|
export const TariffsTable = JSX(({ className, title, description, tariffsColumns: columns, rowHeaders, orientation = 'vertical', ...rest }) => {
|
|
7
7
|
const colData = getColData(columns);
|
|
8
8
|
const tiles = getTiles(rowHeaders, colData);
|
|
9
|
-
const headingMargin = description ? 'mb-2' : 'mb-
|
|
10
|
-
return (_jsxs("section", { className: `
|
|
9
|
+
const headingMargin = description ? 'mb-2' : 'mb-8';
|
|
10
|
+
return (_jsxs("section", { className: `p-default bg-white font-sans text-primary-text overflow-x-hidden ${className}`, children: [_jsx(Headline, { title: title, description: description, headlineVersion: "M", align: "text-left", isPadding: false, className: "mb-8" }), orientation === 'vertical' ? (_jsx(TariffsTableVertical, { tiles: tiles, ...rest })) : (_jsx(TariffsTableHorizontal, { tiles: tiles, ...rest }))] }));
|
|
11
11
|
});
|
|
12
12
|
const getColData = (columns) => columns?.[0]?.data ? columns[0].data : [];
|
|
13
13
|
const getTiles = (rowHeaders, colData) => rowHeaders?.map((header, i) => ({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TariffsTable.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/TariffsTable.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"TariffsTable.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/TariffsTable.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAOhD,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAI9D,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAC7B,CAAC,EACC,SAAS,EACT,KAAK,EACL,WAAW,EACX,cAAc,EAAE,OAAO,EACvB,UAAU,EACV,WAAW,GAAG,UAAU,EACxB,GAAG,IAAI,EACR,EAAE,EAAE;IACH,MAAM,OAAO,GAAG,UAAU,CA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