@redneckz/wildless-cms-uni-blocks 0.6.36 → 0.6.38
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.6.32.js +6 -0
- package/bundle/EventBus/EventBus.d.ts +6 -5
- package/bundle/EventBus/EventMap.d.ts +1 -4
- package/bundle/ProjectSettings.d.ts +2 -0
- package/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +299 -207
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/CarouselInvestmentCard/CarouselInvestmentCard.d.ts +5 -0
- package/{lib/components/InvestmentGallery/InvestmentGalleryContent.d.ts → bundle/components/CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts} +19 -23
- package/bundle/components/CarouselTariffsCard/CarouselTariffsCard.d.ts +1 -1
- package/bundle/components/Footer/FooterDataProps.d.ts +8 -3
- package/bundle/components/Gallery/GalleryContent.d.ts +5 -0
- package/bundle/components/ImgBlock/ImgBlock.d.ts +6 -0
- package/bundle/components/ImgBlock/ImgBlockContent.d.ts +7 -0
- package/bundle/components/ParagraphBlock/ParagraphBlock.d.ts +6 -0
- package/bundle/components/ParagraphBlock/ParagraphBlockContent.d.ts +8 -0
- package/bundle/components/SafeDepositRental/SafeDepositRentalFields.d.ts +1 -1
- package/bundle/components/SafeDepositRental/SafeDepositRentalForm.d.ts +1 -1
- package/bundle/components/Tabs/LinkTab.d.ts +0 -1
- package/bundle/components/Tabs/Tabs.d.ts +0 -4
- package/bundle/components/Video/VideoContent.d.ts +1 -0
- package/bundle/services/BlockRouter/BlockIntersection.d.ts +2 -0
- package/bundle/services/BlockRouter/BlockRouter.d.ts +23 -0
- package/bundle/services/BlockRouter/findActiveBlock.d.ts +3 -0
- package/bundle/services/BlockRouter/useBlockIntersectionObserver.d.ts +5 -0
- package/bundle/services/BlockRouter/useBlockRouter.d.ts +2 -0
- package/bundle/services/BlockRouter/useBlockRouterProvider.d.ts +2 -0
- package/bundle/ui-kit/InnerTable/InnerTableButton.d.ts +3 -2
- package/bundle/ui-kit/InnerTable/InnerTableProps.d.ts +0 -3
- package/bundle/ui-kit/Paragraph/Paragraph.d.ts +1 -8
- package/bundle/ui-kit/Paragraph/ParagraphProps.d.ts +7 -0
- package/bundle/ui-kit/Radio/RadioProps.d.ts +1 -2
- package/bundle/ui-kit/Text/Text.d.ts +1 -26
- package/bundle/ui-kit/Text/TextProps.d.ts +26 -0
- package/bundle/utils/debounce.d.ts +5 -0
- package/dist/EventBus/EventBus.d.ts +6 -5
- package/dist/EventBus/EventBus.js +5 -3
- package/dist/EventBus/EventBus.js.map +1 -1
- package/dist/EventBus/EventMap.d.ts +1 -4
- package/dist/ProjectSettings.d.ts +2 -0
- package/dist/ProjectSettings.js +3 -0
- package/dist/ProjectSettings.js.map +1 -1
- package/dist/components/Accordion/Accordion.js +1 -1
- package/dist/components/Accordion/Accordion.js.map +1 -1
- package/dist/components/AccordionItem/AccordionItem.mobile.js +1 -1
- package/dist/components/AccordionItem/AccordionItem.mobile.js.map +1 -1
- package/dist/components/BenefitsBlock/BenefitsBlock.js +1 -1
- package/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/dist/components/Blocks.js +7 -3
- package/dist/components/Blocks.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/Calculator/BonusCalculatorForm.js +4 -2
- package/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
- package/dist/components/Calculator/CreditCalculatorForm.js +3 -1
- package/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/dist/components/Calculator/DepositCalculatorForm.js +4 -2
- package/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
- package/dist/components/Calculator/renderProposal.js +2 -2
- package/dist/components/Calculator/renderProposal.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 +2 -1
- package/dist/components/Carousel/Carousel.js.map +1 -1
- package/dist/components/CarouselCard/CarouselCard.js +2 -2
- package/dist/components/CarouselCard/CarouselCard.js.map +1 -1
- package/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.d.ts +5 -0
- package/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js +28 -0
- package/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -0
- package/dist/components/{InvestmentGallery/InvestmentGalleryContent.d.ts → CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts} +19 -23
- package/dist/components/CarouselInvestmentCard/CarouselInvestmentCardContent.js +2 -0
- package/dist/components/CarouselInvestmentCard/CarouselInvestmentCardContent.js.map +1 -0
- package/dist/components/CarouselTariffsCard/CarouselTariffsCard.d.ts +1 -1
- package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +4 -2
- package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/dist/components/Catalog/Catalog.js +1 -1
- package/dist/components/Catalog/Catalog.js.map +1 -1
- package/dist/components/ComparisonTable/ComparisonTable.js +4 -4
- package/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
- package/dist/components/ContactsBlock/ContactsBlock.js +1 -1
- package/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
- package/dist/components/ContentPage/ContentPage.js +2 -0
- package/dist/components/ContentPage/ContentPage.js.map +1 -1
- package/dist/components/ContentPage/useContentPageData.js +4 -8
- package/dist/components/ContentPage/useContentPageData.js.map +1 -1
- package/dist/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
- package/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
- package/dist/components/Footer/Footer.js +2 -2
- package/dist/components/Footer/Footer.js.map +1 -1
- package/dist/components/Footer/FooterDataProps.d.ts +8 -3
- package/dist/components/Footer/MediaButton.js +1 -1
- package/dist/components/Footer/MediaButton.js.map +1 -1
- package/dist/components/Gallery/Gallery.mobile.js +1 -1
- package/dist/components/Gallery/Gallery.mobile.js.map +1 -1
- package/dist/components/Gallery/GalleryCardInner.js +7 -2
- package/dist/components/Gallery/GalleryCardInner.js.map +1 -1
- package/dist/components/Gallery/GalleryContent.d.ts +5 -0
- package/dist/components/Gallery/GalleryInner.js.map +1 -1
- package/dist/components/GracePeriod/GracePeriod.js +2 -2
- 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 +2 -2
- package/dist/components/Header/Header.mobile.js.map +1 -1
- package/dist/components/Header/HeaderSecondaryMenu.js +1 -1
- package/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
- package/dist/components/Header/HeaderSecondaryMenuButton.js +1 -1
- package/dist/components/Header/HeaderSecondaryMenuButton.js.map +1 -1
- package/dist/components/Header/HeaderSubMenu.js.map +1 -1
- package/dist/components/Header/HeaderTop.js +1 -1
- package/dist/components/Header/HeaderTop.js.map +1 -1
- package/dist/components/Headline/Headline.js +1 -1
- package/dist/components/Headline/Headline.js.map +1 -1
- package/dist/components/ImgBlock/ImgBlock.d.ts +6 -0
- package/dist/components/ImgBlock/ImgBlock.js +11 -0
- package/dist/components/ImgBlock/ImgBlock.js.map +1 -0
- package/dist/components/ImgBlock/ImgBlockContent.d.ts +7 -0
- package/dist/components/{InvestmentGallery/InvestmentGalleryContent.js → ImgBlock/ImgBlockContent.js} +1 -1
- package/dist/components/ImgBlock/ImgBlockContent.js.map +1 -0
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +6 -8
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +4 -4
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/dist/components/LinkDocs/LinkDocs.js +1 -1
- package/dist/components/LinkDocs/LinkDocs.js.map +1 -1
- package/dist/components/LinkList/LinkList.js +1 -1
- package/dist/components/LinkList/LinkList.js.map +1 -1
- package/dist/components/MobileAppTile/MobileAppTile.js +1 -1
- package/dist/components/MobileAppTile/MobileAppTile.mobile.js +1 -1
- package/dist/components/MobileAppTile/MobileAppTile.mobile.js.map +1 -1
- package/dist/components/OfficeMap/useOfficeMap.js +3 -4
- package/dist/components/OfficeMap/useOfficeMap.js.map +1 -1
- package/dist/components/ParagraphBlock/ParagraphBlock.d.ts +6 -0
- package/dist/components/ParagraphBlock/ParagraphBlock.js +11 -0
- package/dist/components/ParagraphBlock/ParagraphBlock.js.map +1 -0
- package/dist/components/ParagraphBlock/ParagraphBlockContent.d.ts +8 -0
- package/{mobile/dist/components/InvestmentGallery/InvestmentGalleryContent.js → dist/components/ParagraphBlock/ParagraphBlockContent.js} +1 -1
- package/dist/components/ParagraphBlock/ParagraphBlockContent.js.map +1 -0
- package/dist/components/ProductBlock/ProductBlock.js +1 -1
- package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
- package/dist/components/ProductGallery/ProductGallery.js +9 -9
- package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
- package/dist/components/SafeDepositRental/RegionsAndBranches.js +1 -3
- package/dist/components/SafeDepositRental/RegionsAndBranches.js.map +1 -1
- package/dist/components/SafeDepositRental/RenderRadioButtons.js +1 -1
- package/dist/components/SafeDepositRental/RenderRadioButtons.js.map +1 -1
- package/dist/components/SafeDepositRental/SafeDepositRental.js +2 -4
- package/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/dist/components/SafeDepositRental/SafeDepositRentalFields.d.ts +1 -1
- package/dist/components/SafeDepositRental/SafeDepositRentalFields.js +2 -2
- package/dist/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
- package/dist/components/SafeDepositRental/SafeDepositRentalForm.d.ts +1 -1
- package/dist/components/SafeDepositRental/SafeDepositRentalForm.js +2 -2
- package/dist/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
- package/dist/components/StepsBlock/StepsBlock.js +3 -5
- package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
- package/dist/components/StepsBlock/StepsBlock.mobile.js +3 -3
- package/dist/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
- package/dist/components/Tabs/LinkTab.d.ts +0 -1
- package/dist/components/Tabs/LinkTab.js +2 -8
- package/dist/components/Tabs/LinkTab.js.map +1 -1
- package/dist/components/Tabs/Tabs.d.ts +0 -4
- package/dist/components/Tabs/Tabs.js +6 -12
- package/dist/components/Tabs/Tabs.js.map +1 -1
- package/dist/components/TariffsTable/TableTileHeader.js +1 -3
- package/dist/components/TariffsTable/TableTileHeader.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTable.js +6 -6
- package/dist/components/TariffsTable/TariffsTable.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableRow.js +3 -1
- package/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/dist/components/Video/VideoContent.d.ts +1 -0
- package/dist/hooks/useLink.js +11 -2
- package/dist/hooks/useLink.js.map +1 -1
- package/dist/services/BlockRouter/BlockIntersection.d.ts +2 -0
- package/dist/services/BlockRouter/BlockIntersection.js +2 -0
- package/dist/services/BlockRouter/BlockIntersection.js.map +1 -0
- package/dist/services/BlockRouter/BlockRouter.d.ts +23 -0
- package/dist/services/BlockRouter/BlockRouter.js +32 -0
- package/dist/services/BlockRouter/BlockRouter.js.map +1 -0
- package/dist/services/BlockRouter/findActiveBlock.d.ts +3 -0
- package/dist/services/BlockRouter/findActiveBlock.js +15 -0
- package/dist/services/BlockRouter/findActiveBlock.js.map +1 -0
- package/dist/services/BlockRouter/useBlockIntersectionObserver.d.ts +5 -0
- package/dist/services/BlockRouter/useBlockIntersectionObserver.js +28 -0
- package/dist/services/BlockRouter/useBlockIntersectionObserver.js.map +1 -0
- package/dist/services/BlockRouter/useBlockRouter.d.ts +2 -0
- package/dist/services/BlockRouter/useBlockRouter.js +8 -0
- package/dist/services/BlockRouter/useBlockRouter.js.map +1 -0
- package/dist/services/BlockRouter/useBlockRouterProvider.d.ts +2 -0
- package/dist/services/BlockRouter/useBlockRouterProvider.js +37 -0
- package/dist/services/BlockRouter/useBlockRouterProvider.js.map +1 -0
- package/dist/ui-kit/BenefitItem/BenefitItem.js +1 -1
- package/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/dist/ui-kit/BlockWrapper.js +6 -20
- package/dist/ui-kit/BlockWrapper.js.map +1 -1
- package/dist/ui-kit/HeaderItem/HeaderItem.js +1 -1
- package/dist/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
- package/dist/ui-kit/HeaderItem/HeaderItem.mobile.js +1 -1
- package/dist/ui-kit/HeaderItem/HeaderItem.mobile.js.map +1 -1
- package/dist/ui-kit/InnerTable/InnerTable.js +3 -2
- package/dist/ui-kit/InnerTable/InnerTable.js.map +1 -1
- package/dist/ui-kit/InnerTable/InnerTableBody.js +2 -4
- package/dist/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
- package/dist/ui-kit/InnerTable/InnerTableButton.d.ts +3 -2
- package/dist/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
- package/dist/ui-kit/InnerTable/InnerTableProps.d.ts +0 -3
- package/dist/ui-kit/Paragraph/Paragraph.d.ts +1 -8
- package/dist/ui-kit/Paragraph/Paragraph.js.map +1 -1
- package/dist/ui-kit/Paragraph/ParagraphProps.d.ts +7 -0
- package/dist/ui-kit/Paragraph/ParagraphProps.js +2 -0
- package/dist/ui-kit/Paragraph/ParagraphProps.js.map +1 -0
- package/dist/ui-kit/Radio/Radio.js +1 -1
- package/dist/ui-kit/Radio/Radio.js.map +1 -1
- package/dist/ui-kit/Radio/RadioProps.d.ts +1 -2
- package/dist/ui-kit/Select/Select.js +1 -1
- package/dist/ui-kit/Select/Select.js.map +1 -1
- package/dist/ui-kit/Text/Text.d.ts +1 -26
- package/dist/ui-kit/Text/Text.js.map +1 -1
- package/dist/ui-kit/Text/TextProps.d.ts +26 -0
- package/dist/ui-kit/Text/TextProps.js +2 -0
- package/dist/ui-kit/Text/TextProps.js.map +1 -0
- package/dist/ui-kit/YandexMap/useYandexMaps.js +1 -1
- package/dist/ui-kit/YandexMap/useYandexMaps.js.map +1 -1
- package/dist/utils/adjustHref.js +3 -1
- package/dist/utils/adjustHref.js.map +1 -1
- package/dist/utils/debounce.d.ts +5 -0
- package/dist/utils/debounce.js +19 -0
- package/dist/utils/debounce.js.map +1 -0
- package/lib/EventBus/EventBus.d.ts +6 -5
- package/lib/EventBus/EventBus.js +5 -3
- package/lib/EventBus/EventBus.js.map +1 -1
- package/lib/EventBus/EventMap.d.ts +1 -4
- package/lib/ProjectSettings.d.ts +2 -0
- package/lib/ProjectSettings.js +3 -0
- package/lib/ProjectSettings.js.map +1 -1
- package/lib/common.css +1 -1
- package/lib/components/Accordion/Accordion.js +1 -1
- package/lib/components/Accordion/Accordion.js.map +1 -1
- package/lib/components/AccordionItem/AccordionItem.mobile.js +1 -1
- package/lib/components/AccordionItem/AccordionItem.mobile.js.map +1 -1
- package/lib/components/BenefitsBlock/BenefitsBlock.js +1 -1
- package/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/lib/components/Blocks.js +7 -3
- package/lib/components/Blocks.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/Calculator/BonusCalculatorForm.js +5 -3
- package/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
- package/lib/components/Calculator/CreditCalculatorForm.js +4 -2
- package/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/lib/components/Calculator/DepositCalculatorForm.js +5 -3
- package/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
- package/lib/components/Calculator/renderProposal.js +2 -2
- package/lib/components/Calculator/renderProposal.js.map +1 -1
- package/lib/components/CardTransfer/CardTransfer.js +1 -1
- package/lib/components/CardTransfer/CardTransfer.js.map +1 -1
- package/lib/components/Carousel/Carousel.fixture.d.ts +1 -0
- package/lib/components/Carousel/Carousel.js +2 -1
- package/lib/components/Carousel/Carousel.js.map +1 -1
- package/lib/components/CarouselCard/CarouselCard.js +2 -2
- package/lib/components/CarouselCard/CarouselCard.js.map +1 -1
- package/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.d.ts +5 -0
- package/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.fixture.d.ts +10 -0
- package/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js +26 -0
- package/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -0
- package/{bundle/components/InvestmentGallery/InvestmentGalleryContent.d.ts → lib/components/CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts} +19 -23
- package/lib/components/CarouselInvestmentCard/CarouselInvestmentCardContent.js +2 -0
- package/lib/components/CarouselInvestmentCard/CarouselInvestmentCardContent.js.map +1 -0
- package/lib/components/CarouselTariffsCard/CarouselTariffsCard.d.ts +1 -1
- package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +4 -2
- package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/lib/components/Catalog/Catalog.js +1 -1
- package/lib/components/Catalog/Catalog.js.map +1 -1
- package/lib/components/ComparisonTable/ComparisonTable.js +4 -4
- package/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
- package/lib/components/ContactsBlock/ContactsBlock.js +1 -1
- package/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
- package/lib/components/ContentPage/ContentPage.js +2 -0
- package/lib/components/ContentPage/ContentPage.js.map +1 -1
- package/lib/components/ContentPage/useContentPageData.js +4 -8
- package/lib/components/ContentPage/useContentPageData.js.map +1 -1
- package/lib/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
- package/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
- package/lib/components/Footer/Footer.js +2 -2
- package/lib/components/Footer/Footer.js.map +1 -1
- package/lib/components/Footer/FooterDataProps.d.ts +8 -3
- package/lib/components/Footer/MediaButton.js +1 -1
- package/lib/components/Footer/MediaButton.js.map +1 -1
- package/lib/components/Gallery/Gallery.mobile.js +1 -1
- package/lib/components/Gallery/Gallery.mobile.js.map +1 -1
- package/lib/components/Gallery/GalleryCardInner.js +7 -2
- package/lib/components/Gallery/GalleryCardInner.js.map +1 -1
- package/lib/components/Gallery/GalleryContent.d.ts +5 -0
- package/lib/components/Gallery/GalleryInner.js.map +1 -1
- package/lib/components/GracePeriod/GracePeriod.js +2 -2
- 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 +3 -3
- package/lib/components/Header/Header.mobile.js.map +1 -1
- package/lib/components/Header/HeaderSecondaryMenu.js +1 -1
- package/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
- package/lib/components/Header/HeaderSecondaryMenuButton.js +1 -1
- package/lib/components/Header/HeaderSecondaryMenuButton.js.map +1 -1
- package/lib/components/Header/HeaderSubMenu.js.map +1 -1
- package/lib/components/Header/HeaderTop.js +1 -1
- package/lib/components/Header/HeaderTop.js.map +1 -1
- package/lib/components/Headline/Headline.js +1 -1
- package/lib/components/Headline/Headline.js.map +1 -1
- package/lib/components/ImgBlock/ImgBlock.d.ts +6 -0
- package/lib/components/{InvestmentGallery/InvestmentGallery.fixture.d.ts → ImgBlock/ImgBlock.fixture.d.ts} +0 -2
- package/lib/components/ImgBlock/ImgBlock.js +9 -0
- package/lib/components/ImgBlock/ImgBlock.js.map +1 -0
- package/lib/components/ImgBlock/ImgBlockContent.d.ts +7 -0
- package/lib/components/ImgBlock/ImgBlockContent.js +2 -0
- package/lib/components/ImgBlock/ImgBlockContent.js.map +1 -0
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +7 -9
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +4 -4
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/lib/components/LinkDocs/LinkDocs.js +1 -1
- package/lib/components/LinkDocs/LinkDocs.js.map +1 -1
- package/lib/components/LinkList/LinkList.js +1 -1
- package/lib/components/LinkList/LinkList.js.map +1 -1
- package/lib/components/MobileAppTile/MobileAppTile.js +1 -1
- package/lib/components/MobileAppTile/MobileAppTile.mobile.js +1 -1
- package/lib/components/MobileAppTile/MobileAppTile.mobile.js.map +1 -1
- package/lib/components/OfficeMap/useOfficeMap.js +3 -4
- package/lib/components/OfficeMap/useOfficeMap.js.map +1 -1
- package/lib/components/ParagraphBlock/ParagraphBlock.d.ts +6 -0
- package/lib/components/ParagraphBlock/ParagraphBlock.fixture.d.ts +9 -0
- package/lib/components/ParagraphBlock/ParagraphBlock.js +9 -0
- package/lib/components/ParagraphBlock/ParagraphBlock.js.map +1 -0
- package/lib/components/ParagraphBlock/ParagraphBlockContent.d.ts +8 -0
- package/lib/components/ParagraphBlock/ParagraphBlockContent.js +2 -0
- package/lib/components/ParagraphBlock/ParagraphBlockContent.js.map +1 -0
- package/lib/components/ProductBlock/ProductBlock.js +1 -1
- package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
- package/lib/components/ProductGallery/ProductGallery.js +10 -10
- package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
- package/lib/components/Recommendation/Recommendation.fixture.d.ts +3 -1
- package/lib/components/SafeDepositRental/RegionsAndBranches.js +1 -3
- package/lib/components/SafeDepositRental/RegionsAndBranches.js.map +1 -1
- package/lib/components/SafeDepositRental/RenderRadioButtons.js +2 -2
- package/lib/components/SafeDepositRental/RenderRadioButtons.js.map +1 -1
- package/lib/components/SafeDepositRental/SafeDepositRental.js +2 -4
- package/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/lib/components/SafeDepositRental/SafeDepositRentalFields.d.ts +1 -1
- package/lib/components/SafeDepositRental/SafeDepositRentalFields.js +2 -2
- package/lib/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
- package/lib/components/SafeDepositRental/SafeDepositRentalForm.d.ts +1 -1
- package/lib/components/SafeDepositRental/SafeDepositRentalForm.js +2 -2
- package/lib/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
- package/lib/components/StepsBlock/StepsBlock.js +3 -5
- package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
- package/lib/components/StepsBlock/StepsBlock.mobile.js +3 -3
- package/lib/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
- package/lib/components/Tabs/LinkTab.d.ts +0 -1
- package/lib/components/Tabs/LinkTab.js +2 -8
- package/lib/components/Tabs/LinkTab.js.map +1 -1
- package/lib/components/Tabs/Tabs.d.ts +0 -4
- package/lib/components/Tabs/Tabs.js +7 -13
- package/lib/components/Tabs/Tabs.js.map +1 -1
- package/lib/components/TariffsTable/TableTileHeader.js +1 -3
- package/lib/components/TariffsTable/TableTileHeader.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTable.js +6 -6
- package/lib/components/TariffsTable/TariffsTable.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTableRow.js +4 -2
- package/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/lib/components/Video/VideoContent.d.ts +1 -0
- package/lib/hooks/useLink.js +11 -2
- package/lib/hooks/useLink.js.map +1 -1
- package/lib/services/BlockRouter/BlockIntersection.d.ts +2 -0
- package/lib/services/BlockRouter/BlockIntersection.js +2 -0
- package/lib/services/BlockRouter/BlockIntersection.js.map +1 -0
- package/lib/services/BlockRouter/BlockRouter.d.ts +23 -0
- package/lib/services/BlockRouter/BlockRouter.js +29 -0
- package/lib/services/BlockRouter/BlockRouter.js.map +1 -0
- package/lib/services/BlockRouter/findActiveBlock.d.ts +3 -0
- package/lib/services/BlockRouter/findActiveBlock.js +12 -0
- package/lib/services/BlockRouter/findActiveBlock.js.map +1 -0
- package/lib/services/BlockRouter/useBlockIntersectionObserver.d.ts +5 -0
- package/lib/services/BlockRouter/useBlockIntersectionObserver.js +25 -0
- package/lib/services/BlockRouter/useBlockIntersectionObserver.js.map +1 -0
- package/lib/services/BlockRouter/useBlockRouter.d.ts +2 -0
- package/lib/services/BlockRouter/useBlockRouter.js +5 -0
- package/lib/services/BlockRouter/useBlockRouter.js.map +1 -0
- package/lib/services/BlockRouter/useBlockRouterProvider.d.ts +2 -0
- package/lib/services/BlockRouter/useBlockRouterProvider.js +34 -0
- package/lib/services/BlockRouter/useBlockRouterProvider.js.map +1 -0
- package/lib/ui-kit/BenefitItem/BenefitItem.js +1 -1
- package/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/lib/ui-kit/BlockWrapper.js +7 -21
- package/lib/ui-kit/BlockWrapper.js.map +1 -1
- package/lib/ui-kit/HeaderItem/HeaderItem.js +1 -1
- package/lib/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
- package/lib/ui-kit/HeaderItem/HeaderItem.mobile.js +1 -1
- package/lib/ui-kit/HeaderItem/HeaderItem.mobile.js.map +1 -1
- package/lib/ui-kit/InnerTable/InnerTable.js +4 -3
- package/lib/ui-kit/InnerTable/InnerTable.js.map +1 -1
- package/lib/ui-kit/InnerTable/InnerTableBody.js +3 -5
- package/lib/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
- package/lib/ui-kit/InnerTable/InnerTableButton.d.ts +3 -2
- package/lib/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
- package/lib/ui-kit/InnerTable/InnerTableProps.d.ts +0 -3
- package/lib/ui-kit/Paragraph/Paragraph.d.ts +1 -8
- package/lib/ui-kit/Paragraph/Paragraph.js.map +1 -1
- package/lib/ui-kit/Paragraph/ParagraphProps.d.ts +7 -0
- package/lib/ui-kit/Paragraph/ParagraphProps.js +2 -0
- package/lib/ui-kit/Paragraph/ParagraphProps.js.map +1 -0
- package/lib/ui-kit/Radio/Radio.js +1 -1
- package/lib/ui-kit/Radio/Radio.js.map +1 -1
- package/lib/ui-kit/Radio/RadioProps.d.ts +1 -2
- package/lib/ui-kit/Select/Select.js +1 -1
- package/lib/ui-kit/Select/Select.js.map +1 -1
- package/lib/ui-kit/Text/Text.d.ts +1 -26
- package/lib/ui-kit/Text/Text.js.map +1 -1
- package/lib/ui-kit/Text/TextProps.d.ts +26 -0
- package/lib/ui-kit/Text/TextProps.js +2 -0
- package/lib/ui-kit/Text/TextProps.js.map +1 -0
- package/lib/ui-kit/YandexMap/useYandexMaps.js +1 -1
- package/lib/ui-kit/YandexMap/useYandexMaps.js.map +1 -1
- package/lib/utils/adjustHref.js +3 -1
- package/lib/utils/adjustHref.js.map +1 -1
- package/lib/utils/debounce.d.ts +5 -0
- package/lib/utils/debounce.js +16 -0
- package/lib/utils/debounce.js.map +1 -0
- package/mobile/bundle/EventBus/EventBus.d.ts +6 -5
- package/mobile/bundle/EventBus/EventMap.d.ts +1 -4
- package/mobile/bundle/ProjectSettings.d.ts +2 -0
- package/mobile/bundle/bundle.umd.js +147 -53
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/CarouselInvestmentCard/CarouselInvestmentCard.d.ts +5 -0
- package/mobile/bundle/components/{InvestmentGallery/InvestmentGalleryContent.d.ts → CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts} +19 -23
- package/mobile/bundle/components/CarouselTariffsCard/CarouselTariffsCard.d.ts +1 -1
- package/mobile/bundle/components/Footer/FooterDataProps.d.ts +8 -3
- package/mobile/bundle/components/Gallery/GalleryContent.d.ts +5 -0
- package/mobile/bundle/components/ImgBlock/ImgBlock.d.ts +6 -0
- package/mobile/bundle/components/ImgBlock/ImgBlockContent.d.ts +7 -0
- package/mobile/bundle/components/ParagraphBlock/ParagraphBlock.d.ts +6 -0
- package/mobile/bundle/components/ParagraphBlock/ParagraphBlockContent.d.ts +8 -0
- package/mobile/bundle/components/SafeDepositRental/SafeDepositRentalFields.d.ts +1 -1
- package/mobile/bundle/components/SafeDepositRental/SafeDepositRentalForm.d.ts +1 -1
- package/mobile/bundle/components/Tabs/LinkTab.d.ts +0 -1
- package/mobile/bundle/components/Tabs/Tabs.d.ts +0 -4
- package/mobile/bundle/components/Video/VideoContent.d.ts +1 -0
- package/mobile/bundle/services/BlockRouter/BlockIntersection.d.ts +2 -0
- package/mobile/bundle/services/BlockRouter/BlockRouter.d.ts +23 -0
- package/mobile/bundle/services/BlockRouter/findActiveBlock.d.ts +3 -0
- package/mobile/bundle/services/BlockRouter/useBlockIntersectionObserver.d.ts +5 -0
- package/mobile/bundle/services/BlockRouter/useBlockRouter.d.ts +2 -0
- package/mobile/bundle/services/BlockRouter/useBlockRouterProvider.d.ts +2 -0
- package/mobile/bundle/ui-kit/InnerTable/InnerTableButton.d.ts +3 -2
- package/mobile/bundle/ui-kit/InnerTable/InnerTableProps.d.ts +0 -3
- package/mobile/bundle/ui-kit/Paragraph/Paragraph.d.ts +1 -8
- package/mobile/bundle/ui-kit/Paragraph/ParagraphProps.d.ts +7 -0
- package/mobile/bundle/ui-kit/Radio/RadioProps.d.ts +1 -2
- package/mobile/bundle/ui-kit/Text/Text.d.ts +1 -26
- package/mobile/bundle/ui-kit/Text/TextProps.d.ts +26 -0
- package/mobile/bundle/utils/debounce.d.ts +5 -0
- package/mobile/dist/EventBus/EventBus.d.ts +6 -5
- package/mobile/dist/EventBus/EventBus.js +5 -3
- package/mobile/dist/EventBus/EventBus.js.map +1 -1
- package/mobile/dist/EventBus/EventMap.d.ts +1 -4
- package/mobile/dist/ProjectSettings.d.ts +2 -0
- package/mobile/dist/ProjectSettings.js +3 -0
- package/mobile/dist/ProjectSettings.js.map +1 -1
- package/mobile/dist/components/AccordionItem/AccordionItem.js +1 -1
- package/mobile/dist/components/AccordionItem/AccordionItem.js.map +1 -1
- package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js +1 -1
- package/mobile/dist/components/BenefitsBlock/BenefitsBlock.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/Calculator/BonusCalculatorForm.js +4 -2
- package/mobile/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
- package/mobile/dist/components/Calculator/CreditCalculatorForm.js +3 -1
- package/mobile/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/mobile/dist/components/Calculator/DepositCalculatorForm.js +4 -2
- package/mobile/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
- package/mobile/dist/components/Calculator/renderProposal.js +2 -2
- package/mobile/dist/components/Calculator/renderProposal.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 +2 -1
- package/mobile/dist/components/Carousel/Carousel.js.map +1 -1
- package/mobile/dist/components/CarouselCard/CarouselCard.js +2 -2
- package/mobile/dist/components/CarouselCard/CarouselCard.js.map +1 -1
- package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.d.ts +5 -0
- package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js +28 -0
- package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -0
- package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts +46 -0
- package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCardContent.js +2 -0
- package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCardContent.js.map +1 -0
- package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.d.ts +1 -1
- package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +4 -2
- package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/mobile/dist/components/Catalog/Catalog.js +1 -1
- package/mobile/dist/components/Catalog/Catalog.js.map +1 -1
- package/mobile/dist/components/ContactsBlock/ContactsBlock.js +1 -1
- package/mobile/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
- package/mobile/dist/components/ContentPage/ContentPage.js +2 -0
- package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
- package/mobile/dist/components/ContentPage/useContentPageData.js +4 -8
- package/mobile/dist/components/ContentPage/useContentPageData.js.map +1 -1
- package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
- package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
- package/mobile/dist/components/Footer/FooterDataProps.d.ts +8 -3
- package/mobile/dist/components/Footer/MediaButton.js +1 -1
- package/mobile/dist/components/Footer/MediaButton.js.map +1 -1
- package/mobile/dist/components/Gallery/Gallery.js +1 -1
- package/mobile/dist/components/Gallery/Gallery.js.map +1 -1
- package/mobile/dist/components/Gallery/GalleryCardInner.js +7 -2
- package/mobile/dist/components/Gallery/GalleryCardInner.js.map +1 -1
- package/mobile/dist/components/Gallery/GalleryContent.d.ts +5 -0
- package/mobile/dist/components/Gallery/GalleryInner.js.map +1 -1
- package/mobile/dist/components/GracePeriod/GracePeriod.js +2 -2
- package/mobile/dist/components/GracePeriod/GracePeriod.js.map +1 -1
- package/mobile/dist/components/Header/Header.js +2 -2
- package/mobile/dist/components/Header/Header.js.map +1 -1
- package/mobile/dist/components/Header/HeaderSecondaryMenu.js +1 -1
- package/mobile/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
- package/mobile/dist/components/Header/HeaderSecondaryMenuButton.js +1 -1
- package/mobile/dist/components/Header/HeaderSecondaryMenuButton.js.map +1 -1
- package/mobile/dist/components/Header/HeaderSubMenu.js.map +1 -1
- package/mobile/dist/components/Header/HeaderTop.js +1 -1
- package/mobile/dist/components/Header/HeaderTop.js.map +1 -1
- package/mobile/dist/components/ImgBlock/ImgBlock.d.ts +6 -0
- package/mobile/dist/components/ImgBlock/ImgBlock.js +11 -0
- package/mobile/dist/components/ImgBlock/ImgBlock.js.map +1 -0
- package/mobile/dist/components/ImgBlock/ImgBlockContent.d.ts +7 -0
- package/mobile/dist/components/ImgBlock/ImgBlockContent.js +2 -0
- package/mobile/dist/components/ImgBlock/ImgBlockContent.js.map +1 -0
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +6 -8
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +4 -4
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/mobile/dist/components/LinkList/LinkList.js +1 -1
- package/mobile/dist/components/LinkList/LinkList.js.map +1 -1
- package/mobile/dist/components/MobileAppTile/MobileAppTile.js +1 -1
- package/mobile/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/mobile/dist/components/OfficeMap/useOfficeMap.js +3 -4
- package/mobile/dist/components/OfficeMap/useOfficeMap.js.map +1 -1
- package/mobile/dist/components/ParagraphBlock/ParagraphBlock.d.ts +6 -0
- package/mobile/dist/components/ParagraphBlock/ParagraphBlock.js +11 -0
- package/mobile/dist/components/ParagraphBlock/ParagraphBlock.js.map +1 -0
- package/mobile/dist/components/ParagraphBlock/ParagraphBlockContent.d.ts +8 -0
- package/mobile/dist/components/ParagraphBlock/ParagraphBlockContent.js +2 -0
- package/mobile/dist/components/ParagraphBlock/ParagraphBlockContent.js.map +1 -0
- package/mobile/dist/components/ProductGallery/ProductGallery.js +9 -9
- package/mobile/dist/components/ProductGallery/ProductGallery.js.map +1 -1
- package/mobile/dist/components/SafeDepositRental/RegionsAndBranches.js +1 -3
- package/mobile/dist/components/SafeDepositRental/RegionsAndBranches.js.map +1 -1
- package/mobile/dist/components/SafeDepositRental/RenderRadioButtons.js +1 -1
- package/mobile/dist/components/SafeDepositRental/RenderRadioButtons.js.map +1 -1
- package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js +2 -4
- package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalFields.d.ts +1 -1
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalFields.js +2 -2
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalForm.d.ts +1 -1
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalForm.js +2 -2
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
- package/mobile/dist/components/StepsBlock/StepsBlock.js +3 -3
- package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -1
- package/mobile/dist/components/Tabs/LinkTab.d.ts +0 -1
- package/mobile/dist/components/Tabs/LinkTab.js +2 -8
- package/mobile/dist/components/Tabs/LinkTab.js.map +1 -1
- package/mobile/dist/components/Tabs/Tabs.d.ts +0 -4
- package/mobile/dist/components/Tabs/Tabs.js +6 -12
- package/mobile/dist/components/Tabs/Tabs.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TableTileHeader.js +1 -3
- package/mobile/dist/components/TariffsTable/TableTileHeader.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableRow.js +3 -1
- package/mobile/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/mobile/dist/components/Video/VideoContent.d.ts +1 -0
- package/mobile/dist/hooks/useLink.js +11 -2
- package/mobile/dist/hooks/useLink.js.map +1 -1
- package/mobile/dist/services/BlockRouter/BlockIntersection.d.ts +2 -0
- package/mobile/dist/services/BlockRouter/BlockIntersection.js +2 -0
- package/mobile/dist/services/BlockRouter/BlockIntersection.js.map +1 -0
- package/mobile/dist/services/BlockRouter/BlockRouter.d.ts +23 -0
- package/mobile/dist/services/BlockRouter/BlockRouter.js +32 -0
- package/mobile/dist/services/BlockRouter/BlockRouter.js.map +1 -0
- package/mobile/dist/services/BlockRouter/findActiveBlock.d.ts +3 -0
- package/mobile/dist/services/BlockRouter/findActiveBlock.js +15 -0
- package/mobile/dist/services/BlockRouter/findActiveBlock.js.map +1 -0
- package/mobile/dist/services/BlockRouter/useBlockIntersectionObserver.d.ts +5 -0
- package/mobile/dist/services/BlockRouter/useBlockIntersectionObserver.js +28 -0
- package/mobile/dist/services/BlockRouter/useBlockIntersectionObserver.js.map +1 -0
- package/mobile/dist/services/BlockRouter/useBlockRouter.d.ts +2 -0
- package/mobile/dist/services/BlockRouter/useBlockRouter.js +8 -0
- package/mobile/dist/services/BlockRouter/useBlockRouter.js.map +1 -0
- package/mobile/dist/services/BlockRouter/useBlockRouterProvider.d.ts +2 -0
- package/mobile/dist/services/BlockRouter/useBlockRouterProvider.js +37 -0
- package/mobile/dist/services/BlockRouter/useBlockRouterProvider.js.map +1 -0
- package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js +1 -1
- package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/mobile/dist/ui-kit/BlockWrapper.js +6 -20
- package/mobile/dist/ui-kit/BlockWrapper.js.map +1 -1
- package/mobile/dist/ui-kit/HeaderItem/HeaderItem.js +1 -1
- package/mobile/dist/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
- package/mobile/dist/ui-kit/InnerTable/InnerTable.js +3 -2
- package/mobile/dist/ui-kit/InnerTable/InnerTable.js.map +1 -1
- package/mobile/dist/ui-kit/InnerTable/InnerTableBody.js +2 -4
- package/mobile/dist/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
- package/mobile/dist/ui-kit/InnerTable/InnerTableButton.d.ts +3 -2
- package/mobile/dist/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
- package/mobile/dist/ui-kit/InnerTable/InnerTableProps.d.ts +0 -3
- package/mobile/dist/ui-kit/Paragraph/Paragraph.d.ts +1 -8
- package/mobile/dist/ui-kit/Paragraph/Paragraph.js.map +1 -1
- package/mobile/dist/ui-kit/Paragraph/ParagraphProps.d.ts +7 -0
- package/mobile/dist/ui-kit/Paragraph/ParagraphProps.js +2 -0
- package/mobile/dist/ui-kit/Paragraph/ParagraphProps.js.map +1 -0
- package/mobile/dist/ui-kit/Radio/Radio.js +1 -1
- package/mobile/dist/ui-kit/Radio/Radio.js.map +1 -1
- package/mobile/dist/ui-kit/Radio/RadioProps.d.ts +1 -2
- package/mobile/dist/ui-kit/Select/Select.js +1 -1
- package/mobile/dist/ui-kit/Select/Select.js.map +1 -1
- package/mobile/dist/ui-kit/Text/Text.d.ts +1 -26
- package/mobile/dist/ui-kit/Text/Text.js.map +1 -1
- package/mobile/dist/ui-kit/Text/TextProps.d.ts +26 -0
- package/mobile/dist/ui-kit/Text/TextProps.js +2 -0
- package/mobile/dist/ui-kit/Text/TextProps.js.map +1 -0
- package/mobile/dist/ui-kit/YandexMap/useYandexMaps.js +1 -1
- package/mobile/dist/ui-kit/YandexMap/useYandexMaps.js.map +1 -1
- package/mobile/dist/utils/adjustHref.js +3 -1
- package/mobile/dist/utils/adjustHref.js.map +1 -1
- package/mobile/dist/utils/debounce.d.ts +5 -0
- package/mobile/dist/utils/debounce.js +19 -0
- package/mobile/dist/utils/debounce.js.map +1 -0
- package/mobile/lib/EventBus/EventBus.d.ts +6 -5
- package/mobile/lib/EventBus/EventBus.js +5 -3
- package/mobile/lib/EventBus/EventBus.js.map +1 -1
- package/mobile/lib/EventBus/EventMap.d.ts +1 -4
- package/mobile/lib/ProjectSettings.d.ts +2 -0
- package/mobile/lib/ProjectSettings.js +3 -0
- package/mobile/lib/ProjectSettings.js.map +1 -1
- package/mobile/lib/components/AccordionItem/AccordionItem.js +1 -1
- package/mobile/lib/components/AccordionItem/AccordionItem.js.map +1 -1
- package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js +1 -1
- package/mobile/lib/components/BenefitsBlock/BenefitsBlock.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/Calculator/BonusCalculatorForm.js +5 -3
- package/mobile/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
- package/mobile/lib/components/Calculator/CreditCalculatorForm.js +4 -2
- package/mobile/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/mobile/lib/components/Calculator/DepositCalculatorForm.js +5 -3
- package/mobile/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
- package/mobile/lib/components/Calculator/renderProposal.js +2 -2
- package/mobile/lib/components/Calculator/renderProposal.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 +2 -1
- package/mobile/lib/components/Carousel/Carousel.js.map +1 -1
- package/mobile/lib/components/CarouselCard/CarouselCard.js +2 -2
- package/mobile/lib/components/CarouselCard/CarouselCard.js.map +1 -1
- package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.d.ts +5 -0
- package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js +26 -0
- package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -0
- package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts +46 -0
- package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCardContent.js +2 -0
- package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCardContent.js.map +1 -0
- package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.d.ts +1 -1
- package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +4 -2
- package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/mobile/lib/components/Catalog/Catalog.js +1 -1
- package/mobile/lib/components/Catalog/Catalog.js.map +1 -1
- package/mobile/lib/components/ContactsBlock/ContactsBlock.js +1 -1
- package/mobile/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
- package/mobile/lib/components/ContentPage/ContentPage.js +2 -0
- package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
- package/mobile/lib/components/ContentPage/useContentPageData.js +4 -8
- package/mobile/lib/components/ContentPage/useContentPageData.js.map +1 -1
- package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
- package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
- package/mobile/lib/components/Footer/FooterDataProps.d.ts +8 -3
- package/mobile/lib/components/Footer/MediaButton.js +1 -1
- package/mobile/lib/components/Footer/MediaButton.js.map +1 -1
- package/mobile/lib/components/Gallery/Gallery.js +1 -1
- package/mobile/lib/components/Gallery/Gallery.js.map +1 -1
- package/mobile/lib/components/Gallery/GalleryCardInner.js +7 -2
- package/mobile/lib/components/Gallery/GalleryCardInner.js.map +1 -1
- package/mobile/lib/components/Gallery/GalleryContent.d.ts +5 -0
- package/mobile/lib/components/Gallery/GalleryInner.js.map +1 -1
- package/mobile/lib/components/GracePeriod/GracePeriod.js +2 -2
- package/mobile/lib/components/GracePeriod/GracePeriod.js.map +1 -1
- package/mobile/lib/components/Header/Header.js +3 -3
- package/mobile/lib/components/Header/Header.js.map +1 -1
- package/mobile/lib/components/Header/HeaderSecondaryMenu.js +1 -1
- package/mobile/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
- package/mobile/lib/components/Header/HeaderSecondaryMenuButton.js +1 -1
- package/mobile/lib/components/Header/HeaderSecondaryMenuButton.js.map +1 -1
- package/mobile/lib/components/Header/HeaderSubMenu.js.map +1 -1
- package/mobile/lib/components/Header/HeaderTop.js +1 -1
- package/mobile/lib/components/Header/HeaderTop.js.map +1 -1
- package/mobile/lib/components/ImgBlock/ImgBlock.d.ts +6 -0
- package/mobile/lib/components/ImgBlock/ImgBlock.js +9 -0
- package/mobile/lib/components/ImgBlock/ImgBlock.js.map +1 -0
- package/mobile/lib/components/ImgBlock/ImgBlockContent.d.ts +7 -0
- package/mobile/lib/components/ImgBlock/ImgBlockContent.js +2 -0
- package/mobile/lib/components/ImgBlock/ImgBlockContent.js.map +1 -0
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +7 -9
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +4 -4
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/mobile/lib/components/LinkList/LinkList.js +1 -1
- package/mobile/lib/components/LinkList/LinkList.js.map +1 -1
- package/mobile/lib/components/MobileAppTile/MobileAppTile.js +1 -1
- package/mobile/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/mobile/lib/components/OfficeMap/useOfficeMap.js +3 -4
- package/mobile/lib/components/OfficeMap/useOfficeMap.js.map +1 -1
- package/mobile/lib/components/ParagraphBlock/ParagraphBlock.d.ts +6 -0
- package/mobile/lib/components/ParagraphBlock/ParagraphBlock.js +9 -0
- package/mobile/lib/components/ParagraphBlock/ParagraphBlock.js.map +1 -0
- package/mobile/lib/components/ParagraphBlock/ParagraphBlockContent.d.ts +8 -0
- package/mobile/lib/components/ParagraphBlock/ParagraphBlockContent.js +2 -0
- package/mobile/lib/components/ParagraphBlock/ParagraphBlockContent.js.map +1 -0
- package/mobile/lib/components/ProductGallery/ProductGallery.js +10 -10
- package/mobile/lib/components/ProductGallery/ProductGallery.js.map +1 -1
- package/mobile/lib/components/SafeDepositRental/RegionsAndBranches.js +1 -3
- package/mobile/lib/components/SafeDepositRental/RegionsAndBranches.js.map +1 -1
- package/mobile/lib/components/SafeDepositRental/RenderRadioButtons.js +2 -2
- package/mobile/lib/components/SafeDepositRental/RenderRadioButtons.js.map +1 -1
- package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js +2 -4
- package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalFields.d.ts +1 -1
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalFields.js +2 -2
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalForm.d.ts +1 -1
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalForm.js +2 -2
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
- package/mobile/lib/components/StepsBlock/StepsBlock.js +3 -3
- package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -1
- package/mobile/lib/components/Tabs/LinkTab.d.ts +0 -1
- package/mobile/lib/components/Tabs/LinkTab.js +2 -8
- package/mobile/lib/components/Tabs/LinkTab.js.map +1 -1
- package/mobile/lib/components/Tabs/Tabs.d.ts +0 -4
- package/mobile/lib/components/Tabs/Tabs.js +7 -13
- package/mobile/lib/components/Tabs/Tabs.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TableTileHeader.js +1 -3
- package/mobile/lib/components/TariffsTable/TableTileHeader.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableRow.js +4 -2
- package/mobile/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/mobile/lib/components/Video/VideoContent.d.ts +1 -0
- package/mobile/lib/hooks/useLink.js +11 -2
- package/mobile/lib/hooks/useLink.js.map +1 -1
- package/mobile/lib/services/BlockRouter/BlockIntersection.d.ts +2 -0
- package/mobile/lib/services/BlockRouter/BlockIntersection.js +2 -0
- package/mobile/lib/services/BlockRouter/BlockIntersection.js.map +1 -0
- package/mobile/lib/services/BlockRouter/BlockRouter.d.ts +23 -0
- package/mobile/lib/services/BlockRouter/BlockRouter.js +29 -0
- package/mobile/lib/services/BlockRouter/BlockRouter.js.map +1 -0
- package/mobile/lib/services/BlockRouter/findActiveBlock.d.ts +3 -0
- package/mobile/lib/services/BlockRouter/findActiveBlock.js +12 -0
- package/mobile/lib/services/BlockRouter/findActiveBlock.js.map +1 -0
- package/mobile/lib/services/BlockRouter/useBlockIntersectionObserver.d.ts +5 -0
- package/mobile/lib/services/BlockRouter/useBlockIntersectionObserver.js +25 -0
- package/mobile/lib/services/BlockRouter/useBlockIntersectionObserver.js.map +1 -0
- package/mobile/lib/services/BlockRouter/useBlockRouter.d.ts +2 -0
- package/mobile/lib/services/BlockRouter/useBlockRouter.js +5 -0
- package/mobile/lib/services/BlockRouter/useBlockRouter.js.map +1 -0
- package/mobile/lib/services/BlockRouter/useBlockRouterProvider.d.ts +2 -0
- package/mobile/lib/services/BlockRouter/useBlockRouterProvider.js +34 -0
- package/mobile/lib/services/BlockRouter/useBlockRouterProvider.js.map +1 -0
- package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js +1 -1
- package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/mobile/lib/ui-kit/BlockWrapper.js +7 -21
- package/mobile/lib/ui-kit/BlockWrapper.js.map +1 -1
- package/mobile/lib/ui-kit/HeaderItem/HeaderItem.js +1 -1
- package/mobile/lib/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
- package/mobile/lib/ui-kit/InnerTable/InnerTable.js +4 -3
- package/mobile/lib/ui-kit/InnerTable/InnerTable.js.map +1 -1
- package/mobile/lib/ui-kit/InnerTable/InnerTableBody.js +3 -5
- package/mobile/lib/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
- package/mobile/lib/ui-kit/InnerTable/InnerTableButton.d.ts +3 -2
- package/mobile/lib/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
- package/mobile/lib/ui-kit/InnerTable/InnerTableProps.d.ts +0 -3
- package/mobile/lib/ui-kit/Paragraph/Paragraph.d.ts +1 -8
- package/mobile/lib/ui-kit/Paragraph/Paragraph.js.map +1 -1
- package/mobile/lib/ui-kit/Paragraph/ParagraphProps.d.ts +7 -0
- package/mobile/lib/ui-kit/Paragraph/ParagraphProps.js +2 -0
- package/mobile/lib/ui-kit/Paragraph/ParagraphProps.js.map +1 -0
- package/mobile/lib/ui-kit/Radio/Radio.js +1 -1
- package/mobile/lib/ui-kit/Radio/Radio.js.map +1 -1
- package/mobile/lib/ui-kit/Radio/RadioProps.d.ts +1 -2
- package/mobile/lib/ui-kit/Select/Select.js +1 -1
- package/mobile/lib/ui-kit/Select/Select.js.map +1 -1
- package/mobile/lib/ui-kit/Text/Text.d.ts +1 -26
- package/mobile/lib/ui-kit/Text/Text.js.map +1 -1
- package/mobile/lib/ui-kit/Text/TextProps.d.ts +26 -0
- package/mobile/lib/ui-kit/Text/TextProps.js +2 -0
- package/mobile/lib/ui-kit/Text/TextProps.js.map +1 -0
- package/mobile/lib/ui-kit/YandexMap/useYandexMaps.js +1 -1
- package/mobile/lib/ui-kit/YandexMap/useYandexMaps.js.map +1 -1
- package/mobile/lib/utils/adjustHref.js +3 -1
- package/mobile/lib/utils/adjustHref.js.map +1 -1
- package/mobile/lib/utils/debounce.d.ts +5 -0
- package/mobile/lib/utils/debounce.js +16 -0
- package/mobile/lib/utils/debounce.js.map +1 -0
- package/mobile/src/EventBus/EventBus.ts +18 -14
- package/mobile/src/EventBus/EventMap.ts +1 -4
- package/mobile/src/ProjectSettings.ts +4 -0
- package/mobile/src/components/AccordionItem/AccordionItem.tsx +1 -1
- package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
- package/mobile/src/components/Bonus/Bonus.tsx +2 -4
- package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +1 -1
- package/mobile/src/components/BusinessBlock/BusinessBlock.tsx +1 -1
- package/mobile/src/components/Calculator/BonusCalculatorForm.tsx +5 -3
- package/mobile/src/components/Calculator/CreditCalculatorForm.tsx +5 -3
- package/mobile/src/components/Calculator/DepositCalculatorForm.tsx +5 -3
- package/mobile/src/components/Calculator/renderProposal.tsx +2 -2
- package/mobile/src/components/CardTransfer/CardTransfer.tsx +1 -1
- package/mobile/src/components/Carousel/Carousel.tsx +2 -1
- package/mobile/src/components/CarouselCard/CarouselCard.tsx +2 -2
- package/mobile/src/components/CarouselInvestmentCard/CarouselInvestmentCard.example.json +28 -0
- package/mobile/src/components/CarouselInvestmentCard/CarouselInvestmentCard.tsx +83 -0
- package/mobile/src/components/CarouselInvestmentCard/CarouselInvestmentCard.ui.json +9 -0
- package/mobile/src/components/{InvestmentGallery/InvestmentGalleryContent.ts → CarouselInvestmentCard/CarouselInvestmentCardContent.ts} +20 -25
- package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +27 -32
- package/mobile/src/components/Catalog/Catalog.example.json +1 -1
- package/mobile/src/components/Catalog/Catalog.tsx +1 -1
- package/mobile/src/components/ContactsBlock/ContactsBlock.tsx +1 -1
- package/mobile/src/components/ContentPage/ContentPage.tsx +3 -0
- package/mobile/src/components/ContentPage/useContentPageData.ts +4 -8
- package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.tsx +1 -1
- package/mobile/src/components/Footer/FooterDataProps.ts +8 -3
- package/mobile/src/components/Footer/MediaButton.tsx +1 -1
- package/mobile/src/components/Gallery/Gallery.tsx +1 -1
- package/mobile/src/components/Gallery/GalleryCardInner.tsx +8 -2
- package/mobile/src/components/Gallery/GalleryContent.ts +5 -0
- package/mobile/src/components/Gallery/GalleryInner.tsx +0 -1
- package/mobile/src/components/GracePeriod/GracePeriod.tsx +2 -2
- package/mobile/src/components/Header/Header.tsx +5 -7
- package/mobile/src/components/Header/HeaderSecondaryMenu.tsx +1 -1
- package/mobile/src/components/Header/HeaderSecondaryMenuButton.tsx +1 -1
- package/mobile/src/components/Header/HeaderSubMenu.tsx +1 -0
- package/mobile/src/components/Header/HeaderTop.tsx +1 -1
- package/mobile/src/components/ImgBlock/ImgBlock.example.json +11 -0
- package/mobile/src/components/ImgBlock/ImgBlock.tsx +17 -0
- package/mobile/src/components/ImgBlock/ImgBlock.ui.json +7 -0
- package/mobile/src/components/ImgBlock/ImgBlockContent.ts +8 -0
- package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +9 -12
- package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +6 -9
- package/mobile/src/components/LinkList/LinkList.tsx +1 -1
- package/mobile/src/components/MobileAppTile/MobileAppTile.tsx +1 -1
- package/mobile/src/components/OfficeMap/useOfficeMap.ts +4 -4
- package/mobile/src/components/ParagraphBlock/ParagraphBlock.example.json +5 -0
- package/mobile/src/components/ParagraphBlock/ParagraphBlock.tsx +19 -0
- package/mobile/src/components/ParagraphBlock/ParagraphBlock.ui.json +1 -0
- package/mobile/src/components/ParagraphBlock/ParagraphBlockContent.ts +9 -0
- package/mobile/src/components/ProductGallery/ProductGallery.tsx +15 -15
- package/mobile/src/components/SafeDepositRental/RegionsAndBranches.tsx +24 -26
- package/mobile/src/components/SafeDepositRental/RenderRadioButtons.tsx +2 -3
- package/mobile/src/components/SafeDepositRental/SafeDepositRental.tsx +2 -5
- package/mobile/src/components/SafeDepositRental/SafeDepositRentalFields.tsx +3 -3
- package/mobile/src/components/SafeDepositRental/SafeDepositRentalForm.tsx +3 -3
- package/mobile/src/components/StepsBlock/StepsBlock.tsx +3 -3
- package/mobile/src/components/Tabs/LinkTab.tsx +2 -10
- package/mobile/src/components/Tabs/Tabs.tsx +11 -19
- package/mobile/src/components/TariffsTable/TableTileHeader.tsx +8 -10
- package/mobile/src/components/TariffsTable/TariffsTableRow.tsx +12 -5
- package/mobile/src/components/Video/VideoContent.ts +1 -0
- package/mobile/src/hooks/useLink.ts +13 -2
- package/mobile/src/services/BlockRouter/BlockIntersection.ts +3 -0
- package/mobile/src/services/BlockRouter/BlockRouter.ts +51 -0
- package/mobile/src/services/BlockRouter/findActiveBlock.ts +20 -0
- package/mobile/src/services/BlockRouter/useBlockIntersectionObserver.ts +37 -0
- package/mobile/src/services/BlockRouter/useBlockRouter.ts +5 -0
- package/mobile/src/services/BlockRouter/useBlockRouterProvider.ts +49 -0
- package/mobile/src/ui-kit/BenefitItem/BenefitItem.tsx +1 -1
- package/mobile/src/ui-kit/BlockWrapper.tsx +9 -32
- package/mobile/src/ui-kit/HeaderItem/HeaderItem.tsx +1 -1
- package/mobile/src/ui-kit/InnerTable/InnerTable.tsx +4 -5
- package/mobile/src/ui-kit/InnerTable/InnerTableBody.tsx +6 -5
- package/mobile/src/ui-kit/InnerTable/InnerTableButton.tsx +5 -2
- package/mobile/src/ui-kit/InnerTable/InnerTableProps.ts +0 -6
- package/mobile/src/ui-kit/Paragraph/Paragraph.tsx +1 -8
- package/mobile/src/ui-kit/Paragraph/ParagraphProps.ts +8 -0
- package/mobile/src/ui-kit/Radio/Radio.tsx +1 -1
- package/mobile/src/ui-kit/Radio/RadioProps.ts +1 -1
- package/mobile/src/ui-kit/Select/Select.tsx +2 -3
- package/mobile/src/ui-kit/Text/Text.tsx +1 -63
- package/mobile/src/ui-kit/Text/TextProps.ts +63 -0
- package/mobile/src/ui-kit/YandexMap/useYandexMaps.ts +3 -1
- package/mobile/src/utils/adjustHref.ts +3 -1
- package/mobile/src/utils/debounce.ts +24 -0
- package/package.json +1 -1
- package/src/EventBus/EventBus.ts +18 -14
- package/src/EventBus/EventMap.ts +1 -4
- package/src/ProjectSettings.ts +4 -0
- package/src/components/Accordion/Accordion.tsx +1 -1
- package/src/components/AccordionItem/AccordionItem.mobile.tsx +1 -1
- package/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
- package/src/components/Blocks.ts +7 -3
- package/src/components/Bonus/Bonus.tsx +2 -4
- package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +1 -1
- package/src/components/BusinessBlock/BusinessBlock.tsx +1 -1
- package/src/components/Calculator/BonusCalculatorForm.tsx +5 -3
- package/src/components/Calculator/CreditCalculatorForm.tsx +5 -3
- package/src/components/Calculator/DepositCalculatorForm.tsx +5 -3
- package/src/components/Calculator/renderProposal.tsx +2 -2
- package/src/components/CardTransfer/CardTransfer.tsx +1 -1
- package/src/components/Carousel/Carousel.fixture.tsx +20 -1
- package/src/components/Carousel/Carousel.tsx +2 -1
- package/src/components/CarouselCard/CarouselCard.fixture.tsx +1 -1
- package/src/components/CarouselCard/CarouselCard.tsx +2 -2
- package/src/components/CarouselInvestmentCard/CarouselInvestmentCard.example.json +28 -0
- package/src/components/{InvestmentGallery/InvestmentGallery.fixture.tsx → CarouselInvestmentCard/CarouselInvestmentCard.fixture.tsx} +21 -27
- package/src/components/CarouselInvestmentCard/CarouselInvestmentCard.tsx +83 -0
- package/src/components/CarouselInvestmentCard/CarouselInvestmentCard.ui.json +9 -0
- package/src/components/{InvestmentGallery/InvestmentGalleryContent.ts → CarouselInvestmentCard/CarouselInvestmentCardContent.ts} +20 -25
- package/src/components/CarouselProgramsCard/CarouselProgramsCard.fixture.tsx +0 -1
- package/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +27 -32
- package/src/components/Catalog/Catalog.example.json +1 -1
- package/src/components/Catalog/Catalog.tsx +1 -1
- package/src/components/ComparisonTable/ComparisonTable.tsx +4 -4
- package/src/components/ContactsBlock/ContactsBlock.tsx +1 -1
- package/src/components/ContentPage/ContentPage.tsx +3 -0
- package/src/components/ContentPage/useContentPageData.ts +4 -8
- package/src/components/ExchangeRateTile/ExchangeRateTile.tsx +1 -1
- package/src/components/Footer/Footer.tsx +2 -2
- package/src/components/Footer/FooterDataProps.ts +8 -3
- package/src/components/Footer/MediaButton.tsx +1 -1
- package/src/components/Gallery/Gallery.mobile.tsx +1 -1
- package/src/components/Gallery/GalleryCardInner.tsx +8 -2
- package/src/components/Gallery/GalleryContent.ts +5 -0
- package/src/components/Gallery/GalleryInner.tsx +0 -1
- package/src/components/GracePeriod/GracePeriod.tsx +2 -2
- package/src/components/Header/Header.mobile.tsx +5 -7
- package/src/components/Header/Header.tsx +1 -1
- package/src/components/Header/HeaderSecondaryMenu.tsx +1 -1
- package/src/components/Header/HeaderSecondaryMenuButton.tsx +1 -1
- package/src/components/Header/HeaderSubMenu.tsx +1 -0
- package/src/components/Header/HeaderTop.tsx +1 -1
- package/src/components/Headline/Headline.tsx +1 -1
- package/src/components/ImgBlock/ImgBlock.example.json +11 -0
- package/src/components/ImgBlock/ImgBlock.fixture.tsx +21 -0
- package/src/components/ImgBlock/ImgBlock.tsx +17 -0
- package/src/components/ImgBlock/ImgBlock.ui.json +7 -0
- package/src/components/ImgBlock/ImgBlockContent.ts +8 -0
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +9 -12
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +6 -9
- package/src/components/LinkDocs/LinkDocs.tsx +1 -4
- package/src/components/LinkList/LinkList.tsx +1 -1
- package/src/components/MobileAppTile/MobileAppTile.mobile.tsx +1 -1
- package/src/components/MobileAppTile/MobileAppTile.tsx +1 -1
- package/src/components/OfficeMap/useOfficeMap.ts +4 -4
- package/src/components/ParagraphBlock/ParagraphBlock.example.json +5 -0
- package/src/components/ParagraphBlock/ParagraphBlock.fixture.tsx +45 -0
- package/src/components/ParagraphBlock/ParagraphBlock.tsx +19 -0
- package/src/components/ParagraphBlock/ParagraphBlock.ui.json +1 -0
- package/src/components/ParagraphBlock/ParagraphBlockContent.ts +9 -0
- package/src/components/ProductBlock/ProductBlock.tsx +1 -1
- package/src/components/ProductGallery/ProductGallery.tsx +15 -15
- package/src/components/Recommendation/Recommendation.fixture.tsx +38 -1
- package/src/components/SafeDepositRental/RegionsAndBranches.tsx +24 -26
- package/src/components/SafeDepositRental/RenderRadioButtons.tsx +2 -3
- package/src/components/SafeDepositRental/SafeDepositRental.tsx +2 -5
- package/src/components/SafeDepositRental/SafeDepositRentalFields.tsx +3 -3
- package/src/components/SafeDepositRental/SafeDepositRentalForm.tsx +3 -3
- package/src/components/StepsBlock/StepsBlock.mobile.tsx +3 -3
- package/src/components/StepsBlock/StepsBlock.tsx +4 -7
- package/src/components/Tabs/LinkTab.tsx +2 -10
- package/src/components/Tabs/Tabs.tsx +11 -19
- package/src/components/TariffsTable/TableTileHeader.tsx +8 -10
- package/src/components/TariffsTable/TariffsTable.tsx +21 -23
- package/src/components/TariffsTable/TariffsTableRow.tsx +12 -5
- package/src/components/TextBlock/TextBlock.fixture.mobile.tsx +3 -3
- package/src/components/Video/VideoContent.ts +1 -0
- package/src/hooks/useLink.ts +13 -2
- package/src/services/BlockRouter/BlockIntersection.ts +3 -0
- package/src/services/BlockRouter/BlockRouter.ts +51 -0
- package/src/services/BlockRouter/findActiveBlock.ts +20 -0
- package/src/services/BlockRouter/useBlockIntersectionObserver.ts +37 -0
- package/src/services/BlockRouter/useBlockRouter.ts +5 -0
- package/src/services/BlockRouter/useBlockRouterProvider.ts +49 -0
- package/src/ui-kit/BenefitItem/BenefitItem.tsx +1 -1
- package/src/ui-kit/BlockWrapper.tsx +9 -32
- package/src/ui-kit/HeaderItem/HeaderItem.mobile.tsx +1 -1
- package/src/ui-kit/HeaderItem/HeaderItem.tsx +1 -1
- package/src/ui-kit/InnerTable/InnerTable.tsx +4 -5
- package/src/ui-kit/InnerTable/InnerTableBody.tsx +6 -5
- package/src/ui-kit/InnerTable/InnerTableButton.tsx +5 -2
- package/src/ui-kit/InnerTable/InnerTableProps.ts +0 -6
- package/src/ui-kit/Paragraph/Paragraph.tsx +1 -8
- package/src/ui-kit/Paragraph/ParagraphProps.ts +8 -0
- package/src/ui-kit/Radio/Radio.tsx +1 -1
- package/src/ui-kit/Radio/RadioProps.ts +1 -1
- package/src/ui-kit/Select/Select.tsx +2 -3
- package/src/ui-kit/Text/Text.tsx +1 -63
- package/src/ui-kit/Text/TextProps.ts +63 -0
- package/src/ui-kit/YandexMap/useYandexMaps.ts +3 -1
- package/src/utils/adjustHref.ts +3 -1
- package/src/utils/debounce.ts +24 -0
- package/tailwind.config.cjs +8 -0
- package/bundle/components/InvestmentGallery/InvestmentGallery.d.ts +0 -5
- package/bundle/components/InvestmentGallery/InvestmentGalleryCard.d.ts +0 -7
- package/bundle/components/SafeDepositRental/YandexMap.d.ts +0 -5
- package/bundle/components/SafeDepositRental/useYandexMaps.d.ts +0 -2
- package/bundle/utils/changeHashOnObserve.d.ts +0 -9
- package/dist/components/InvestmentGallery/InvestmentGallery.d.ts +0 -5
- package/dist/components/InvestmentGallery/InvestmentGallery.js +0 -26
- package/dist/components/InvestmentGallery/InvestmentGallery.js.map +0 -1
- package/dist/components/InvestmentGallery/InvestmentGalleryCard.d.ts +0 -7
- package/dist/components/InvestmentGallery/InvestmentGalleryCard.js +0 -23
- package/dist/components/InvestmentGallery/InvestmentGalleryCard.js.map +0 -1
- package/dist/components/InvestmentGallery/InvestmentGalleryContent.js.map +0 -1
- package/dist/components/SafeDepositRental/YandexMap.d.ts +0 -5
- package/dist/components/SafeDepositRental/YandexMap.js +0 -31
- package/dist/components/SafeDepositRental/YandexMap.js.map +0 -1
- package/dist/components/SafeDepositRental/useYandexMaps.d.ts +0 -2
- package/dist/components/SafeDepositRental/useYandexMaps.js +0 -12
- package/dist/components/SafeDepositRental/useYandexMaps.js.map +0 -1
- package/dist/utils/changeHashOnObserve.d.ts +0 -9
- package/dist/utils/changeHashOnObserve.js +0 -21
- package/dist/utils/changeHashOnObserve.js.map +0 -1
- package/lib/components/InvestmentGallery/InvestmentGallery.d.ts +0 -5
- package/lib/components/InvestmentGallery/InvestmentGallery.js +0 -24
- package/lib/components/InvestmentGallery/InvestmentGallery.js.map +0 -1
- package/lib/components/InvestmentGallery/InvestmentGalleryCard.d.ts +0 -7
- package/lib/components/InvestmentGallery/InvestmentGalleryCard.js +0 -21
- package/lib/components/InvestmentGallery/InvestmentGalleryCard.js.map +0 -1
- package/lib/components/InvestmentGallery/InvestmentGalleryContent.js +0 -2
- package/lib/components/InvestmentGallery/InvestmentGalleryContent.js.map +0 -1
- package/lib/components/SafeDepositRental/YandexMap.d.ts +0 -5
- package/lib/components/SafeDepositRental/YandexMap.js +0 -29
- package/lib/components/SafeDepositRental/YandexMap.js.map +0 -1
- package/lib/components/SafeDepositRental/useYandexMaps.d.ts +0 -2
- package/lib/components/SafeDepositRental/useYandexMaps.js +0 -9
- package/lib/components/SafeDepositRental/useYandexMaps.js.map +0 -1
- package/lib/utils/changeHashOnObserve.d.ts +0 -9
- package/lib/utils/changeHashOnObserve.js +0 -18
- package/lib/utils/changeHashOnObserve.js.map +0 -1
- package/mobile/bundle/components/InvestmentGallery/InvestmentGallery.d.ts +0 -5
- package/mobile/bundle/components/InvestmentGallery/InvestmentGalleryCard.d.ts +0 -7
- package/mobile/bundle/components/SafeDepositRental/YandexMap.d.ts +0 -5
- package/mobile/bundle/components/SafeDepositRental/useYandexMaps.d.ts +0 -2
- package/mobile/bundle/utils/changeHashOnObserve.d.ts +0 -9
- package/mobile/dist/components/InvestmentGallery/InvestmentGallery.d.ts +0 -5
- package/mobile/dist/components/InvestmentGallery/InvestmentGallery.js +0 -26
- package/mobile/dist/components/InvestmentGallery/InvestmentGallery.js.map +0 -1
- package/mobile/dist/components/InvestmentGallery/InvestmentGalleryCard.d.ts +0 -7
- package/mobile/dist/components/InvestmentGallery/InvestmentGalleryCard.js +0 -23
- package/mobile/dist/components/InvestmentGallery/InvestmentGalleryCard.js.map +0 -1
- package/mobile/dist/components/InvestmentGallery/InvestmentGalleryContent.d.ts +0 -50
- package/mobile/dist/components/InvestmentGallery/InvestmentGalleryContent.js.map +0 -1
- package/mobile/dist/components/SafeDepositRental/YandexMap.d.ts +0 -5
- package/mobile/dist/components/SafeDepositRental/YandexMap.js +0 -31
- package/mobile/dist/components/SafeDepositRental/YandexMap.js.map +0 -1
- package/mobile/dist/components/SafeDepositRental/useYandexMaps.d.ts +0 -2
- package/mobile/dist/components/SafeDepositRental/useYandexMaps.js +0 -12
- package/mobile/dist/components/SafeDepositRental/useYandexMaps.js.map +0 -1
- package/mobile/dist/utils/changeHashOnObserve.d.ts +0 -9
- package/mobile/dist/utils/changeHashOnObserve.js +0 -21
- package/mobile/dist/utils/changeHashOnObserve.js.map +0 -1
- package/mobile/lib/components/InvestmentGallery/InvestmentGallery.d.ts +0 -5
- package/mobile/lib/components/InvestmentGallery/InvestmentGallery.js +0 -24
- package/mobile/lib/components/InvestmentGallery/InvestmentGallery.js.map +0 -1
- package/mobile/lib/components/InvestmentGallery/InvestmentGalleryCard.d.ts +0 -7
- package/mobile/lib/components/InvestmentGallery/InvestmentGalleryCard.js +0 -21
- package/mobile/lib/components/InvestmentGallery/InvestmentGalleryCard.js.map +0 -1
- package/mobile/lib/components/InvestmentGallery/InvestmentGalleryContent.d.ts +0 -50
- package/mobile/lib/components/InvestmentGallery/InvestmentGalleryContent.js +0 -2
- package/mobile/lib/components/InvestmentGallery/InvestmentGalleryContent.js.map +0 -1
- package/mobile/lib/components/SafeDepositRental/YandexMap.d.ts +0 -5
- package/mobile/lib/components/SafeDepositRental/YandexMap.js +0 -29
- package/mobile/lib/components/SafeDepositRental/YandexMap.js.map +0 -1
- package/mobile/lib/components/SafeDepositRental/useYandexMaps.d.ts +0 -2
- package/mobile/lib/components/SafeDepositRental/useYandexMaps.js +0 -9
- package/mobile/lib/components/SafeDepositRental/useYandexMaps.js.map +0 -1
- package/mobile/lib/utils/changeHashOnObserve.d.ts +0 -9
- package/mobile/lib/utils/changeHashOnObserve.js +0 -18
- package/mobile/lib/utils/changeHashOnObserve.js.map +0 -1
- package/mobile/src/components/InvestmentGallery/InvestmentGallery.example.json +0 -64
- package/mobile/src/components/InvestmentGallery/InvestmentGallery.tsx +0 -66
- package/mobile/src/components/InvestmentGallery/InvestmentGallery.ui.json +0 -11
- package/mobile/src/components/InvestmentGallery/InvestmentGalleryCard.tsx +0 -84
- package/mobile/src/components/SafeDepositRental/YandexMap.tsx +0 -43
- package/mobile/src/components/SafeDepositRental/useYandexMaps.ts +0 -13
- package/mobile/src/utils/changeHashOnObserve.ts +0 -30
- package/src/components/InvestmentGallery/InvestmentGallery.example.json +0 -64
- package/src/components/InvestmentGallery/InvestmentGallery.tsx +0 -66
- package/src/components/InvestmentGallery/InvestmentGallery.ui.json +0 -11
- package/src/components/InvestmentGallery/InvestmentGalleryCard.tsx +0 -84
- package/src/components/SafeDepositRental/YandexMap.tsx +0 -43
- package/src/components/SafeDepositRental/useYandexMaps.ts +0 -13
- package/src/utils/changeHashOnObserve.ts +0 -30
|
@@ -8,7 +8,7 @@ const Img_1 = require("../../ui-kit/Img/Img");
|
|
|
8
8
|
const Headline_1 = require("../Headline/Headline");
|
|
9
9
|
exports.Bonus = (0, uni_jsx_1.JSX)((props) => {
|
|
10
10
|
const { className = '', title, description, bonusItems, ...rest } = props;
|
|
11
|
-
return ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: `font-sans bg-white p-
|
|
11
|
+
return ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: `font-sans bg-white p-12 pb-9 ${className}`, ...rest, children: (0, jsx_runtime_1.jsxs)("div", { className: "container", children: [(0, jsx_runtime_1.jsx)(Headline_1.Headline, { className: "!p-0", title: title, description: description, headlineVersion: "M", align: "center", ...rest }), (0, jsx_runtime_1.jsx)("div", { className: "flex flex-wrap w-full mt-9", children: bonusItems?.length
|
|
12
12
|
? bonusItems.map((_, i) => {
|
|
13
13
|
return ((0, jsx_runtime_1.jsx)("div", { className: "flex-grow w-[49%] border border-gray p-9 mb-3 mx-2 even:mr-0 odd:ml-0 last:odd:mx-0", children: (0, jsx_runtime_1.jsxs)("div", { className: "flex justify-between w-full", children: [(0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col justify-between mr-4", children: [(0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)("div", { className: "text-h4", children: _.title }), (0, jsx_runtime_1.jsx)("div", { className: "text-xl-light mt-2 max-w-[488px]", children: _.description })] }), _?.buttons?.length ? (0, jsx_runtime_1.jsx)(ButtonSection_1.ButtonSection, { buttons: _?.buttons }) : null] }), _.bonusItemContent?.bonusType
|
|
14
14
|
? renderBonusItemContent(_.bonusItemContent)
|
|
@@ -20,5 +20,5 @@ const renderBonusItemContent = (bonusItemContent) => ((0, jsx_runtime_1.jsx)("di
|
|
|
20
20
|
? renderBonusCount(bonusItemContent)
|
|
21
21
|
: renderBonusImage(bonusItemContent) }));
|
|
22
22
|
const renderBonusCount = (_) => ((0, jsx_runtime_1.jsxs)("div", { className: "relative -bottom-3 h-auto flex items-end mt-14 shrink-0", children: [_.bonusCount ? ((0, jsx_runtime_1.jsx)("span", { className: "font-mohave -tracking-[5px] text-title-extra bg-clip-text text-transparent bg-green-to-yellow -mb-7", children: _.bonusCount })) : null, _.bonusName ? ((0, jsx_runtime_1.jsx)("span", { className: "text-h2 bg-clip-text text-transparent bg-green-to-yellow", children: _.bonusName })) : null] }));
|
|
23
|
-
const renderBonusImage = (_) => _.image ? (
|
|
23
|
+
const renderBonusImage = (_) => _.image ? (0, jsx_runtime_1.jsx)(Img_1.Img, { className: `w-12 h-12 min-w-12 p-3 rounded-full`, image: _.image }) : null;
|
|
24
24
|
//# sourceMappingURL=Bonus.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Bonus.js","sourceRoot":"","sources":["../../../src/components/Bonus/Bonus.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,4DAAyD;AACzD,qEAAkE;AAClE,8CAA2C;AAC3C,mDAAgD;AAKnC,QAAA,KAAK,GAAG,IAAA,aAAG,EAAa,CAAC,KAAK,EAAE,EAAE;IAC7C,MAAM,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE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AC/D,EACL,CAAC,CAAC,gBAAgB,EAAE,SAAS;4CAC5B,CAAC,CAAC,sBAAsB,CAAC,CAAC,CAAC,gBAAgB,CAAC;4CAC5C,CAAC,CAAC,IAAI,IACJ,IAdD,MAAM,CAAC,CAAC,CAAC,CAeV,CACP,CAAC;wBACJ,CAAC,CAAC;wBACJ,CAAC,CAAC,IAAI,GACJ,IACF,GACO,CAChB,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,sBAAsB,GAAG,CAAC,gBAA+C,EAAE,EAAE,CAAC,CAClF,0CACG,gBAAgB,CAAC,SAAS,KAAK,OAAO;QACrC,CAAC,CAAC,gBAAgB,CAAC,gBAAiC,CAAC;QACrD,CAAC,CAAC,gBAAgB,CAAC,gBAAiC,CAAC,GACnD,CACP,CAAC;AAEF,MAAM,gBAAgB,GAAG,CAAC,CAAgB,EAAE,EAAE,CAAC,CAC7C,iCAAK,SAAS,EAAC,yDAAyD,aACrE,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,CACd,iCAAM,SAAS,EAAC,qGAAqG,YAClH,CAAC,CAAC,UAAU,GACR,CACR,CAAC,CAAC,CAAC,IAAI,EACP,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CACb,iCAAM,SAAS,EAAC,0DAA0D,YACvE,CAAC,CAAC,SAAS,GACP,CACR,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC;AAEF,MAAM,gBAAgB,GAAG,CAAC,CAAgB,EAAE,EAAE,CAC5C,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,uBAAC,SAAG,IAAC,SAAS,EAAE,qCAAqC,EAAE,KAAK,EAAE,CAAC,CAAC,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,CAAC"}
|
|
@@ -6,7 +6,7 @@ const AlignText_1 = require("../../model/AlignText");
|
|
|
6
6
|
const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
|
|
7
7
|
const Img_1 = require("../../ui-kit/Img/Img");
|
|
8
8
|
const Headline_1 = require("../Headline/Headline");
|
|
9
|
-
exports.BonusBenefitsBlock = (0, uni_jsx_1.JSX)(({ bonusBenefits, cardTextAlign = 'center', className = '', columnsCount = '4', subtitle, title, ...rest }) => ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `font-sans text-primary-text bg-white p-
|
|
9
|
+
exports.BonusBenefitsBlock = (0, uni_jsx_1.JSX)(({ bonusBenefits, cardTextAlign = 'center', className = '', columnsCount = '4', subtitle, title, ...rest }) => ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `font-sans text-primary-text bg-white p-12 flex flex-col text-center ${className}`, ...rest, children: [(0, jsx_runtime_1.jsx)(Headline_1.Headline, { className: "!p-0 mb-8", title: title, description: subtitle, headlineVersion: "M", align: "center", ...rest }), bonusBenefits?.length ? ((0, jsx_runtime_1.jsx)("div", { className: `grid gap-1 ${AlignText_1.AlignText[cardTextAlign]} ${getElementsColsValue(columnsCount)}`, children: bonusBenefits.map(renderBonusBenefit) })) : null] })));
|
|
10
10
|
const renderBonusBenefit = ({ icon, label, description }, i) => {
|
|
11
11
|
return ((0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col items-center text-h6", children: [description ? (0, jsx_runtime_1.jsx)("span", { children: description }) : null, icon ? (0, jsx_runtime_1.jsx)(Img_1.Img, { image: icon, height: "180", width: "auto", className: "h-[180px] w-auto" }) : null, (0, jsx_runtime_1.jsx)("div", { children: label ? (0, jsx_runtime_1.jsx)("span", { children: label }) : null })] }, String(i)));
|
|
12
12
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BonusBenefitsBlock.js","sourceRoot":"","sources":["../../../src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,qDAAkD;AAElD,4DAAyD;AACzD,8CAA2C;AAC3C,mDAAgD;AASnC,QAAA,kBAAkB,GAAG,IAAA,aAAG,EACnC,CAAC,EACC,aAAa,EACb,aAAa,GAAG,QAAQ,EACxB,SAAS,GAAG,EAAE,EACd,YAAY,GAAG,GAAG,EAClB,QAAQ,EACR,KAAK,EACL,GAAG,IAAI,EACR,EAAE,EAAE,CAAC,CACJ,wBAAC,2BAAY,IACX,SAAS,EAAE,
|
|
1
|
+
{"version":3,"file":"BonusBenefitsBlock.js","sourceRoot":"","sources":["../../../src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,qDAAkD;AAElD,4DAAyD;AACzD,8CAA2C;AAC3C,mDAAgD;AASnC,QAAA,kBAAkB,GAAG,IAAA,aAAG,EACnC,CAAC,EACC,aAAa,EACb,aAAa,GAAG,QAAQ,EACxB,SAAS,GAAG,EAAE,EACd,YAAY,GAAG,GAAG,EAClB,QAAQ,EACR,KAAK,EACL,GAAG,IAAI,EACR,EAAE,EAAE,CAAC,CACJ,wBAAC,2BAAY,IACX,SAAS,EAAE,uEAAuE,SAAS,EAAE,KACzF,IAAI,aAER,uBAAC,mBAAQ,IACP,SAAS,EAAC,WAAW,EACrB,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,QAAQ,EACrB,eAAe,EAAC,GAAG,EACnB,KAAK,EAAC,QAAQ,KACV,IAAI,GACR,EACD,aAAa,EAAE,MAAM,CAAC,CAAC,CAAC,CACvB,gCACE,SAAS,EAAE,cAAc,qBAAS,CAAC,aAAa,CAAC,IAAI,oBAAoB,CAAC,YAAY,CAAC,EAAE,YAExF,aAAa,CAAC,GAAG,CAAC,kBAAkB,CAAC,GAClC,CACP,CAAC,CAAC,CAAC,IAAI,IACK,CAChB,CACF,CAAC;AAEF,MAAM,kBAAkB,GAAG,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,WAAW,EAAgB,EAAE,CAAS,EAAE,EAAE;IACnF,OAAO,CACL,iCAAqB,SAAS,EAAC,oCAAoC,aAChE,WAAW,CAAC,CAAC,CAAC,2CAAO,WAAW,GAAQ,CAAC,CAAC,CAAC,IAAI,EAC/C,IAAI,CAAC,CAAC,CAAC,uBAAC,SAAG,IAAC,KAAK,EAAE,IAAI,EAAE,MAAM,EAAC,KAAK,EAAC,KAAK,EAAC,MAAM,EAAC,SAAS,EAAC,kBAAkB,GAAG,CAAC,CAAC,CAAC,IAAI,EAC1F,0CAAM,KAAK,CAAC,CAAC,CAAC,2CAAO,KAAK,GAAQ,CAAC,CAAC,CAAC,IAAI,GAAO,KAHxC,MAAM,CAAC,CAAC,CAAC,CAIb,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,oBAAoB,GAAG,CAAC,QAAsB,EAAE,EAAE;IACtD,QAAQ,QAAQ,EAAE;QAChB,KAAK,GAAG;YACN,OAAO,aAAa,CAAC;QACvB,KAAK,GAAG;YACN,OAAO,aAAa,CAAC;QACvB,KAAK,GAAG;YACN,OAAO,aAAa,CAAC;QACvB;YACE,OAAO,aAAa,CAAC;KACxB;AACH,CAAC,CAAC"}
|
|
@@ -5,5 +5,5 @@ const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
|
5
5
|
const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
|
|
6
6
|
const Heading_1 = require("../../ui-kit/Heading/Heading");
|
|
7
7
|
const BusinessCard_1 = require("./BusinessCard");
|
|
8
|
-
exports.BusinessBlock = (0, uni_jsx_1.JSX)(({ className = '', title, cards, ...rest }) => ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `font-sans bg-white p-
|
|
8
|
+
exports.BusinessBlock = (0, uni_jsx_1.JSX)(({ className = '', title, cards, ...rest }) => ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `font-sans bg-white p-12 pb-9 ${className}`, ...rest, children: [(0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h3", title: title, className: "text-center mb-8" }), (0, jsx_runtime_1.jsx)("div", { className: "flex gap-5", children: cards?.length ? cards.map((_, i) => (0, jsx_runtime_1.jsx)(BusinessCard_1.BusinessCard, { ..._ }, String(i))) : null })] })));
|
|
9
9
|
//# sourceMappingURL=BusinessBlock.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BusinessBlock.js","sourceRoot":"","sources":["../../../src/components/BusinessBlock/BusinessBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,4DAAyD;AACzD,0DAAuD;AAEvD,iDAA8C;AAIjC,QAAA,aAAa,GAAG,IAAA,aAAG,EAC9B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CAC7C,wBAAC,2BAAY,IAAC,SAAS,EAAE,
|
|
1
|
+
{"version":3,"file":"BusinessBlock.js","sourceRoot":"","sources":["../../../src/components/BusinessBlock/BusinessBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,4DAAyD;AACzD,0DAAuD;AAEvD,iDAA8C;AAIjC,QAAA,aAAa,GAAG,IAAA,aAAG,EAC9B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CAC7C,wBAAC,2BAAY,IAAC,SAAS,EAAE,gCAAgC,SAAS,EAAE,KAAM,IAAI,aAC5E,uBAAC,iBAAO,IAAC,WAAW,EAAC,IAAI,EAAC,KAAK,EAAE,KAAK,EAAE,SAAS,EAAC,kBAAkB,GAAG,EACvE,gCAAK,SAAS,EAAC,YAAY,YACxB,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,uBAAC,2BAAY,OAAqB,CAAC,IAAhB,MAAM,CAAC,CAAC,CAAC,CAAW,CAAC,CAAC,CAAC,CAAC,IAAI,GAChF,IACO,CAChB,CACF,CAAC"}
|
|
@@ -12,7 +12,9 @@ const renderWantedSumInput_1 = require("./renderWantedSumInput");
|
|
|
12
12
|
const useBonusCalculatorParams_1 = require("./useBonusCalculatorParams");
|
|
13
13
|
exports.BonusCalculatorForm = (0, uni_jsx_1.JSX)(({ className = '', sourceBookDir = '', buttons, footnote }) => {
|
|
14
14
|
const [travelExpenseValue, setTravelExpenseValue] = (0, hooks_1.useState)(constants_1.DEFAULT_TRAVEL_MIN_SUM);
|
|
15
|
+
const handleTravelExpenseValue = (0, hooks_1.useCallback)((_) => setTravelExpenseValue(_), []);
|
|
15
16
|
const [restExpenseValue, setRestExpenseValue] = (0, hooks_1.useState)(constants_1.DEFAULT_REST_MIN_SUM);
|
|
17
|
+
const handleRestExpenseValue = (0, hooks_1.useCallback)((_) => setRestExpenseValue(_), []);
|
|
16
18
|
const userInputParams = {
|
|
17
19
|
travelExpenseValue,
|
|
18
20
|
restExpenseValue,
|
|
@@ -24,13 +26,13 @@ exports.BonusCalculatorForm = (0, uni_jsx_1.JSX)(({ className = '', sourceBookDi
|
|
|
24
26
|
moneyValue: travelExpenseValue,
|
|
25
27
|
step: 500,
|
|
26
28
|
isShowItems: false,
|
|
27
|
-
},
|
|
29
|
+
}, handleTravelExpenseValue), (0, renderWantedSumInput_1.renderWantedSumInput)('Сумма покупок в остальных категориях, ₽', {
|
|
28
30
|
className: 'mt-7',
|
|
29
31
|
minSum: minSumOther,
|
|
30
32
|
maxSum: maxSumOther,
|
|
31
33
|
moneyValue: restExpenseValue,
|
|
32
34
|
step: 500,
|
|
33
35
|
isShowItems: false,
|
|
34
|
-
},
|
|
36
|
+
}, handleRestExpenseValue)] }), (0, jsx_runtime_1.jsx)("div", { children: monthBonus >= 0 ? ((0, jsx_runtime_1.jsx)(Rate_1.Rate, { title: "\u0411\u0430\u043B\u043B\u043E\u0432 \u0437\u0430 \u043C\u0435\u0441\u044F\u0446", rate: monthBonus, rateBlockClassName: "tracking-[-14px]" })) : null }), (0, jsx_runtime_1.jsxs)("div", { className: "w-full max-w-[350px]", children: [yearBonus >= 0 ? (0, jsx_runtime_1.jsx)(CalculatorValueBlock_1.CalculatorValueBlock, { title: "\u0411\u0430\u043B\u043B\u043E\u0432 \u0437\u0430 \u0433\u043E\u0434", value: yearBonus }) : null, (0, renderButtonSection_1.renderButtonSection)(buttons), (0, renderFootnote_1.renderFootnote)(footnote)] })] }));
|
|
35
37
|
});
|
|
36
38
|
//# sourceMappingURL=BonusCalculatorForm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BonusCalculatorForm.js","sourceRoot":"","sources":["../../../src/components/Calculator/BonusCalculatorForm.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,
|
|
1
|
+
{"version":3,"file":"BonusCalculatorForm.js","sourceRoot":"","sources":["../../../src/components/Calculator/BonusCalculatorForm.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAoE;AAEpE,iEAA8D;AAC9D,2CAA2E;AAC3E,iCAA8B;AAC9B,+DAA4D;AAC5D,qDAAkD;AAClD,iEAA8D;AAC9D,yEAAsE;AAMzD,QAAA,mBAAmB,GAAG,IAAA,aAAG,EACpC,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,aAAa,GAAG,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC5D,MAAM,CAAC,kBAAkB,EAAE,qBAAqB,CAAC,GAAG,IAAA,gBAAQ,EAAC,kCAAsB,CAAC,CAAC;IACrF,MAAM,wBAAwB,GAAG,IAAA,mBAAW,EAAC,CAAC,CAAS,EAAE,EAAE,CAAC,qBAAqB,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;IAC1F,MAAM,CAAC,gBAAgB,EAAE,mBAAmB,CAAC,GAAG,IAAA,gBAAQ,EAAC,gCAAoB,CAAC,CAAC;IAC/E,MAAM,sBAAsB,GAAG,IAAA,mBAAW,EAAC,CAAC,CAAS,EAAE,EAAE,CAAC,mBAAmB,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;IACtF,MAAM,eAAe,GAAG;Q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sourceBookD
|
|
|
31
31
|
const [isSalaryClient, toggleIsSalaryClient] = (0, hooks_1.useState)(false);
|
|
32
32
|
const [isStateEmployee, toggleIsStateEmployee] = (0, hooks_1.useState)(false);
|
|
33
33
|
const [moneyValue, setMoneyValue] = (0, hooks_1.useState)(constants_1.DEFAULT_SUM);
|
|
34
|
+
const handleMoneyValue = (0, hooks_1.useCallback)((_) => setMoneyValue(_), []);
|
|
34
35
|
const [monthsValue, setMonthsValue] = (0, hooks_1.useState)(constants_1.DEFAULT_MONTHS);
|
|
36
|
+
const handleMonthsValue = (0, hooks_1.useCallback)((_) => setMonthsValue(_), []);
|
|
35
37
|
const userInputParams = {
|
|
36
38
|
isAnnuity,
|
|
37
39
|
isInsurance,
|
|
@@ -41,6 +43,6 @@ exports.CreditCalculatorForm = (0, uni_jsx_1.JSX)(({ className = '', sourceBookD
|
|
|
41
43
|
monthsValue,
|
|
42
44
|
};
|
|
43
45
|
const calculatorParams = (0, useCreditCalculatorParams_1.useCreditCalculatorParams)(userInputParams, sourceBookDir);
|
|
44
|
-
return ((0, jsx_runtime_1.jsxs)("section", { className: className, children: [(0, jsx_runtime_1.jsxs)("div", { className: "w-[468px]", children: [(0, renderWantedSumInput_1.renderWantedSumInput)('Сумма кредита, ₽', { ...calculatorParams, step: 500 },
|
|
46
|
+
return ((0, jsx_runtime_1.jsxs)("section", { className: className, children: [(0, jsx_runtime_1.jsxs)("div", { className: "w-[468px]", children: [(0, renderWantedSumInput_1.renderWantedSumInput)('Сумма кредита, ₽', { ...calculatorParams, step: 500 }, handleMoneyValue), (0, renderMonthsInput_1.renderMonthsInput)('Срок кредита, месяцев', calculatorParams, handleMonthsValue), (0, jsx_runtime_1.jsxs)("div", { className: "mt-7", children: [(0, jsx_runtime_1.jsx)(Checkbox_1.Checkbox, { text: "\u041F\u043E\u043B\u0443\u0447\u0430\u044E \u0437\u0430\u0440\u043F\u043B\u0430\u0442\u0443 \u043D\u0430 \u0441\u0447\u0451\u0442 \u0432 \u0420\u043E\u0441\u0441\u0435\u043B\u044C\u0445\u043E\u0437\u0431\u0430\u043D\u043A\u0435", checked: isSalaryClient, onChange: toggleIsSalaryClient }), (0, jsx_runtime_1.jsx)(Checkbox_1.Checkbox, { className: "mt-3", text: "\u0420\u0430\u0431\u043E\u0442\u0430\u044E \u0432 \u0431\u044E\u0434\u0436\u0435\u0442\u043D\u043E\u0439 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", checked: isStateEmployee, onChange: toggleIsStateEmployee }), (0, jsx_runtime_1.jsx)(Checkbox_1.Checkbox, { className: "mt-3", text: "\u041A\u043E\u043C\u043F\u043B\u0435\u043A\u0441\u043D\u0430\u044F \u0441\u0442\u0440\u0430\u0445\u043E\u0432\u0430\u044F \u0437\u0430\u0449\u0438\u0442\u0430", checked: isInsurance, onChange: toggleIsInsurance })] })] }), (0, jsx_runtime_1.jsx)(Rate_1.Rate, { title: "\u0421\u0442\u0430\u0432\u043A\u0430", rate: calculatorParams.finalRate, rateBlockClassName: "tracking-[-25px]", unit: "%" }), (0, jsx_runtime_1.jsxs)("div", { className: "w-full max-w-[350px]", children: [(0, jsx_runtime_1.jsx)(CalculatorValueBlock_1.CalculatorValueBlock, { title: isAnnuity ? 'Ежемесячный платеж' : 'Платёж в первый месяц', value: calculatorParams.monthlyPayment, postfix: "\u20BD" }), (0, jsx_runtime_1.jsx)(RadioButtonGroup_1.RadioButtonGroup, { items: paymentTypeItems, checkedItem: isAnnuity ? exports.ANNUITY : exports.DIFFERENTIAL, onChange: (text) => toggleIsAnnuity(text === exports.ANNUITY) }), (0, renderButtonSection_1.renderButtonSection)(buttons), (0, renderFootnote_1.renderFootnote)(footnote)] })] }));
|
|
45
47
|
});
|
|
46
48
|
//# sourceMappingURL=CreditCalculatorForm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreditCalculatorForm.js","sourceRoot":"","sources":["../../../src/components/Calculator/CreditCalculatorForm.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,
|
|
1
|
+
{"version":3,"file":"CreditCalculatorForm.js","sourceRoot":"","sources":["../../../src/components/Calculator/CreditCalculatorForm.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAoE;AACpE,6DAA0D;AAC1D,qFAAkF;AAElF,iEAA8D;AAC9D,2CAA0D;AAC1D,iCAA8B;AAC9B,+DAA4D;AAC5D,qDAAkD;AAClD,2DAAwD;AACxD,iEAA8D;AAC9D,2EAAwE;AAE3D,QAAA,OAAO,GAAG,SAAS,CAAC;AACpB,QAAA,YAAY,GAAG,cAAc,CAAC;AAE3C,MAAM,gBAAgB,GAAG;IACvB;QACE,EAAE,EAAE,eAAO;QACX,IAAI,EAAE,aAAa;KACpB;IACD;QACE,EAAE,EAAE,oBAAY;QAChB,IAAI,EAAE,oBAAoB;KAC3B;CACF,CAAC;AAMW,QAAA,oBAAoB,GAAG,IAAA,aAAG,EACrC,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,aAAa,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE;IACvD,MAAM,CAAC,SAAS,EAAE,eAAe,CAAC,GAAG,IAAA,gBAAQ,EAAC,KAAK,CAAC,CAAC;IACrD,MAAM,CAAC,WAAW,EAAE,iBAAiB,CAAC,GAAG,IAAA,gBAAQ,EAAC,IAAI,CAAC,CAAC;IACxD,MAAM,CAAC,cAAc,EAAE,oBAAoB,CAAC,GAAG,IAAA,gBAAQ,EAAC,KAAK,CAAC,CAAC;IAC/D,MAAM,CAAC,eAAe,EAAE,qBAAqB,CAAC,GAAG,IAAA,gBAAQ,EAAC,KAAK,CAAC,CAAC;IACjE,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,GAAG,IAAA,gBAAQ,EAAC,uBAAW,CAAC,CAAC;IAC1D,MAAM,gBAAgB,GAAG,IAAA,mBAAW,EAAC,CAAC,CAAS,EAAE,EAAE,CAAC,aAAa,CAAC,CAAC,CAAC,EAAE,EAA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BAAsB,aACnC,uBAAC,2CAAoB,IACnB,KAAK,EAAE,SAAS,CAAC,CAAC,CAAC,oBAAoB,CAAC,CAAC,CAAC,uBAAuB,EACjE,KAAK,EAAE,gBAAgB,CAAC,cAAc,EACtC,OAAO,EAAC,QAAG,GACX,EACF,uBAAC,mCAAgB,IACf,KAAK,EAAE,gBAAgB,EACvB,WAAW,EAAE,SAAS,CAAC,CAAC,CAAC,eAAO,CAAC,CAAC,CAAC,oBAAY,EAC/C,QAAQ,EAAE,CAAC,IAAY,EAAE,EAAE,CAAC,eAAe,CAAC,IAAI,KAAK,eAAO,CAAC,GAC7D,EACD,IAAA,yCAAmB,EAAC,OAAO,CAAC,EAC5B,IAAA,+BAAc,EAAC,QAAQ,CAAC,IACrB,IACE,CACX,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -27,6 +27,7 @@ const depositTypeItems = [
|
|
|
27
27
|
];
|
|
28
28
|
exports.DepositCalculatorForm = (0, uni_jsx_1.JSX)(({ className = '', sourceBookDir, buttons, footnote }) => {
|
|
29
29
|
const [moneyValue, setMoneyValue] = (0, hooks_1.useState)(constants_1.DEFAULT_SUM);
|
|
30
|
+
const handleMoneyValue = (0, hooks_1.useCallback)((_) => setMoneyValue(_), []);
|
|
30
31
|
const [monthsValue, setMonthsValue] = (0, hooks_1.useState)(constants_1.DEFAULT_MONTHS);
|
|
31
32
|
const [isMonthlyInterestPayment, toggleIsMonthlyInterestPayment] = (0, hooks_1.useState)(false);
|
|
32
33
|
const userInputParams = {
|
|
@@ -34,12 +35,13 @@ exports.DepositCalculatorForm = (0, uni_jsx_1.JSX)(({ className = '', sourceBook
|
|
|
34
35
|
monthsValue,
|
|
35
36
|
isMonthlyInterestPayment,
|
|
36
37
|
};
|
|
38
|
+
const handleMonthsValue = (0, hooks_1.useCallback)((_) => setMonthsValue(_), []);
|
|
37
39
|
const calculatorParams = (0, useDepositCalculatorParams_1.useDepositCalculatorParams)(userInputParams, sourceBookDir);
|
|
38
40
|
const { income, finalSum, rate } = calculatorParams;
|
|
39
41
|
return ((0, jsx_runtime_1.jsxs)("section", { className: className, children: [(0, jsx_runtime_1.jsxs)("div", { className: "w-[468px]", children: [(0, renderWantedSumInput_1.renderWantedSumInput)('Сумма вклада, ₽', {
|
|
40
42
|
...calculatorParams,
|
|
41
|
-
},
|
|
43
|
+
}, handleMoneyValue), (0, renderMonthsInput_1.renderMonthsInput)('Срок вклада, месяцев', {
|
|
42
44
|
...calculatorParams,
|
|
43
|
-
},
|
|
45
|
+
}, handleMonthsValue)] }), (0, jsx_runtime_1.jsx)(Rate_1.Rate, { rate: rate || 1, rateBlockClassName: "tracking-[-25px]", unit: "%" }), (0, jsx_runtime_1.jsxs)("div", { className: "w-full max-w-[350px]", children: [income ? ((0, jsx_runtime_1.jsx)(CalculatorValueBlock_1.CalculatorValueBlock, { title: "\u0414\u043E\u0445\u043E\u0434 \u043F\u043E \u0432\u043A\u043B\u0430\u0434\u0443", value: income, postfix: "\u20BD", prefix: "+" })) : null, finalSum ? ((0, jsx_runtime_1.jsx)(CalculatorValueBlock_1.CalculatorValueBlock, { title: "\u0421\u0443\u043C\u043C\u0430 \u0432 \u043A\u043E\u043D\u0446\u0435 \u0441\u0440\u043E\u043A\u0430", value: finalSum, postfix: "\u20BD" })) : null, (0, jsx_runtime_1.jsx)(RadioButtonGroup_1.RadioButtonGroup, { items: depositTypeItems, checkedItem: isMonthlyInterestPayment ? EVERY_MONTH : AT_END_TERM, onChange: (text) => toggleIsMonthlyInterestPayment(text === EVERY_MONTH) }), (0, renderButtonSection_1.renderButtonSection)(buttons), (0, renderFootnote_1.renderFootnote)(footnote)] })] }));
|
|
44
46
|
});
|
|
45
47
|
//# sourceMappingURL=DepositCalculatorForm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DepositCalculatorForm.js","sourceRoot":"","sources":["../../../src/components/Calculator/DepositCalculatorForm.tsx"],"names":[],"mappings":";;;AAAA,OAAO;AAEP,+CAAwC;AACxC,
|
|
1
|
+
{"version":3,"file":"DepositCalculatorForm.js","sourceRoot":"","sources":["../../../src/components/Calculator/DepositCalculatorForm.tsx"],"names":[],"mappings":";;;AAAA,OAAO;AAEP,+CAAwC;AACxC,uDAAoE;AACpE,qFAAkF;AAElF,iEAA8D;AAC9D,2CAA0D;AAC1D,iCAA8B;AAC9B,+DAA4D;AAC5D,qDAAkD;AAClD,2DAAwD;AACxD,iEAA8D;AAC9D,6EAA0E;AAM1E,MAAM,WAAW,GAAG,YAAY,CAAC;AACjC,MAAM,WAAW,GAAG,WAAW,CAAC;AAEhC,MAAM,gBAAgB,GAAG;IACvB;QACE,EAAE,EAAE,WAAW;QACf,IAAI,EAAE,YAAY;KACnB;IACD;QACE,EAAE,EAAE,WAAW;QACf,IAAI,EAAE,eAAe;KACtB;CACF,CAAC;AAEW,QAAA,qBAAqB,GAAG,IAAA,aAAG,EACtC,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,aAAa,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE;IACvD,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,GAAG,IAAA,gBAAQ,EAAC,uBAAW,CAAC,CAAC;IAC1D,MAAM,gBAAgB,GAAG,IAAA,mBAAW,EAAC,CAAC,CAAS,EAAE,EAAE,CAAC,aAAa,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;IAC1E,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,IAAA,gBAAQ,EAAC,0BAAc,CAAC,CAAC;IAC/D,MAAM,CAAC,wBAAwB,EAAE,8BAA8B,CAAC,GAAG,IAAA,gBAAQ,EAAC,KAAK,CAAC,CAAC;IACnF,MAAM,eAAe,GAAG;QACtB,UAAU;QACV,WAAW;QACX,wBAAwB;KACzB,CAAC;IACF,MAAM,iBAAiB,GAAG,IAAA,mBAAW,EAAC,CAAC,CAAS,EAAE,EAAE,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;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,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
2
|
exports.renderProposal = void 0;
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
-
const addSpacesBetweenNumbers_1 = require("../../utils/addSpacesBetweenNumbers");
|
|
5
4
|
const Button_1 = require("../../ui-kit/Button/Button");
|
|
5
|
+
const addSpacesBetweenNumbers_1 = require("../../utils/addSpacesBetweenNumbers");
|
|
6
6
|
function renderProposal(monthlyPayment) {
|
|
7
|
-
return ((0, jsx_runtime_1.jsxs)("div", { className: "box-border ", children: [(0, jsx_runtime_1.jsx)("div", { className: "text-l-light", children: "\u0415\u0436\u0435\u043C\u0435\u0441\u044F\u0447\u043D\u044B\u0439 \u043F\u043B\u0430\u0442\u0451\u0436" }), (0, jsx_runtime_1.jsxs)("div", { className: "text-h3 mb-3", children: [(0, addSpacesBetweenNumbers_1.addSpacesBetweenNumbers)(Math.round(monthlyPayment)), " \u20BD"] }), (0, jsx_runtime_1.jsx)(Button_1.Button, { className: "mt-
|
|
7
|
+
return ((0, jsx_runtime_1.jsxs)("div", { className: "box-border ", children: [(0, jsx_runtime_1.jsx)("div", { className: "text-l-light", children: "\u0415\u0436\u0435\u043C\u0435\u0441\u044F\u0447\u043D\u044B\u0439 \u043F\u043B\u0430\u0442\u0451\u0436" }), (0, jsx_runtime_1.jsxs)("div", { className: "text-h3 mb-3", children: [(0, addSpacesBetweenNumbers_1.addSpacesBetweenNumbers)(Math.round(monthlyPayment)), " \u20BD"] }), (0, jsx_runtime_1.jsx)(Button_1.Button, { className: "mt-12 w-full", text: "\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C \u0437\u0430\u044F\u0432\u043A\u0443", version: "primary", href: "#" })] }));
|
|
8
8
|
}
|
|
9
9
|
exports.renderProposal = renderProposal;
|
|
10
10
|
//# sourceMappingURL=renderProposal.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderProposal.js","sourceRoot":"","sources":["../../../src/components/Calculator/renderProposal.tsx"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"renderProposal.js","sourceRoot":"","sources":["../../../src/components/Calculator/renderProposal.tsx"],"names":[],"mappings":";;;AAAA,uDAAoD;AACpD,iFAA8E;AAE9E,SAAgB,cAAc,CAAC,cAAsB;IACnD,OAAO,CACL,iCAAK,SAAS,EAAC,aAAa,aAC1B,gCAAK,SAAS,EAAC,cAAc,wHAAyB,EACtD,iCAAK,SAAS,EAAC,cAAc,aAAE,IAAA,iDAAuB,EAAC,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,eAAS,EAC3F,uBAAC,eAAM,IAAC,SAAS,EAAC,cAAc,EAAC,IAAI,EAAC,6FAAkB,EAAC,OAAO,EAAC,SAAS,EAAC,IAAI,EAAC,GAAG,GAAG,IAClF,CACP,CAAC;AACJ,CAAC;AARD,wCAQC"}
|
|
@@ -23,6 +23,6 @@ exports.CardTransfer = (0, uni_jsx_1.JSX)(({ className = '', title = DEFAULT_TIT
|
|
|
23
23
|
? (0, getDisabledButtonClasses_1.getDisabledButtonClasses)({ version: button?.version })
|
|
24
24
|
: (0, getRegularButtonClasses_1.getRegularButtonClasses)({ className: 'text-white', version: button?.version });
|
|
25
25
|
const link = (0, useLink_1.useLink)();
|
|
26
|
-
return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `p-
|
|
26
|
+
return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `p-12 flex flex-col items-center font-sans bg-white ${className}`, ...rest, children: [title ? (0, jsx_runtime_1.jsx)(Heading_1.Heading, { className: "max-w-[684px] pb-9", headingType: "h2", title: title }) : null, (0, jsx_runtime_1.jsxs)("form", { className: "w-[468px]", method: "POST", action: FORM_URL, children: [(0, jsx_runtime_1.jsx)(CurrencyInput_1.CurrencyInput, { name: AMOUNT_KEY, value: value, onChange: handleChange, valid: value === '' || !isDisabled, placeholder: placeholder, label: label }), button?.text ? ((0, jsx_runtime_1.jsx)("button", { type: "submit", className: `w-full p-4 mt-6 ${buttonStyle} `, disabled: isDisabled, ...link(button), children: button.text })) : null] })] }));
|
|
27
27
|
});
|
|
28
28
|
//# sourceMappingURL=CardTransfer.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CardTransfer.js","sourceRoot":"","sources":["../../../src/components/CardTransfer/CardTransfer.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAoE;AACpE,iDAA8C;AAE9C,4DAAyD;AACzD,2FAAwF;AACxF,yFAAsF;AACtF,4EAAyE;AACzE,0DAAuD;AACvD,qEAAkE;AAGlE,MAAM,UAAU,GAAG,QAAQ,CAAC;AAC5B,MAAM,QAAQ,GAAG,0BAA0B,CAAC;AAC5C,MAAM,aAAa,GAAG,wBAAwB,CAAC;AAC/C,MAAM,aAAa,GAAG,gBAAgB,CAAC;AACvC,MAAM,mBAAmB,GAAG,MAAM,CAAC;AAItB,QAAA,YAAY,GAAG,IAAA,aAAG,EAC7B,CAAC,EACC,SAAS,GAAG,EAAE,EACd,KAAK,GAAG,aAAa,EACrB,KAAK,GAAG,aAAa,EACrB,WAAW,GAAG,mBAAmB,EACjC,MAAM,EACN,GAAG,IAAI,EACR,EAAE,EAAE;IACH,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,IAAA,gBAAQ,EAAS,EAAE,CAAC,CAAC;IAC/C,MAAM,YAAY,GAAG,IAAA,mBAAW,EAAC,CAAC,CAAS,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;IACjE,MAAM,UAAU,GAAG,CAAC,MAAM,CAAC,IAAA,qCAAiB,EAAC,KAAK,CAAC,CAAC,CAAC;IACrD,MAAM,WAAW,GAAG,UAAU;QAC5B,CAAC,CAAC,IAAA,mDAAwB,EAAC,EAAE,OAAO,EA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AC,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC;QACxD,CAAC,CAAC,IAAA,iDAAuB,EAAC,EAAE,SAAS,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,CAAC;IAEnF,MAAM,IAAI,GAAG,IAAA,iBAAO,GAAE,CAAC;IAEvB,OAAO,CACL,wBAAC,2BAAY,IACX,SAAS,EAAE,sDAAsD,SAAS,EAAE,KACxE,IAAI,aAEP,KAAK,CAAC,CAAC,CAAC,uBAAC,iBAAO,IAAC,SAAS,EAAC,oBAAoB,EAAC,WAAW,EAAC,IAAI,EAAC,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,EACzF,kCAAM,SAAS,EAAC,WAAW,EAAC,MAAM,EAAC,MAAM,EAAC,MAAM,EAAE,QAAQ,aACxD,uBAAC,6BAAa,IACZ,IAAI,EAAE,UAAU,EAChB,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,YAAY,EACtB,KAAK,EAAE,KAAK,KAAK,EAAE,IAAI,CAAC,UAAU,EAClC,WAAW,EAAE,WAAW,EACxB,KAAK,EAAE,KAAK,GACZ,EACD,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC,CACd,mCACE,IAAI,EAAC,QAAQ,EACb,SAAS,EAAE,mBAAmB,WAAW,GAAG,EAC5C,QAAQ,EAAE,UAAU,KAChB,IAAI,CAAC,MAAM,CAAC,YAEf,MAAM,CAAC,IAAI,GACL,CACV,CAAC,CAAC,CAAC,IAAI,IACH,IACM,CAChB,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -9,7 +9,7 @@ const SwipeListContainer_1 = require("../../ui-kit/SwipeListControl/SwipeListCon
|
|
|
9
9
|
const useSwipeListScroll_1 = require("../../ui-kit/SwipeListControl/useSwipeListScroll");
|
|
10
10
|
const ITEMS_GAP = 4;
|
|
11
11
|
const blurBaseStyle = 'absolute top-0 bottom-0 z-50 w-[84px]';
|
|
12
|
-
const scrollButtonStyle = 'absolute top-
|
|
12
|
+
const scrollButtonStyle = 'absolute top-[calc(50%-12px)] z-50';
|
|
13
13
|
exports.Carousel = (0, uni_jsx_1.JSX)(({ className = '', itemCount, visibleItemCount, isBlur = true, isCyclic = false, ...rest }) => {
|
|
14
14
|
const { blocks: childBlocks } = rest.block || {};
|
|
15
15
|
const count = itemCount || childBlocks?.length || 0;
|
|
@@ -24,6 +24,7 @@ exports.Carousel.childrenTypes = [
|
|
|
24
24
|
'CarouselTariffsCard',
|
|
25
25
|
'CarouselLinks',
|
|
26
26
|
'CarouselProgramsCard',
|
|
27
|
+
'CarouselInvestmentCard',
|
|
27
28
|
];
|
|
28
29
|
const renderScrollButtons = ({ scrollLeft, scrollRight, canScrollLeft, canScrollRight, }) => ((0, jsx_runtime_1.jsxs)("div", { children: [canScrollLeft ? ((0, jsx_runtime_1.jsx)(ArrowButton_1.ScrollLeftButton, { className: `${scrollButtonStyle} left-8`, onClick: scrollLeft })) : null, canScrollRight ? ((0, jsx_runtime_1.jsx)(ArrowButton_1.ScrollRightButton, { className: `${scrollButtonStyle} right-8`, onClick: scrollRight })) : null] }));
|
|
29
30
|
//# sourceMappingURL=Carousel.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Carousel.js","sourceRoot":"","sources":["../../../src/components/Carousel/Carousel.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uEAAoE;AAEpE,4DAAyD;AACzD,iEAAsF;AACtF,yFAAsF;AACtF,yFAG0D;AAO1D,MAAM,SAAS,GAAG,CAAC,CAAC;AAEpB,MAAM,aAAa,GAAG,uCAAuC,CAAC;AAC9D,MAAM,iBAAiB,GAAG,
|
|
1
|
+
{"version":3,"file":"Carousel.js","sourceRoot":"","sources":["../../../src/components/Carousel/Carousel.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uEAAoE;AAEpE,4DAAyD;AACzD,iEAAsF;AACtF,yFAAsF;AACtF,yFAG0D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d,qBAAqB;IACrB,eAAe;IACf,sBAAsB;IACtB,wBAAwB;CACzB,CAAC;AAEF,MAAM,mBAAmB,GAAG,CAAC,EAC3B,UAAU,EACV,WAAW,EACX,aAAa,EACb,cAAc,GACE,EAAE,EAAE,CAAC,CACrB,4CACG,aAAa,CAAC,CAAC,CAAC,CACf,uBAAC,8BAAgB,IAAC,SAAS,EAAE,GAAG,iBAAiB,SAAS,EAAE,OAAO,EAAE,UAAU,GAAI,CACpF,CAAC,CAAC,CAAC,IAAI,EACP,cAAc,CAAC,CAAC,CAAC,CAChB,uBAAC,+BAAiB,IAAC,SAAS,EAAE,GAAG,iBAAiB,UAAU,EAAE,OAAO,EAAE,WAAW,GAAI,CACvF,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC"}
|
|
@@ -6,8 +6,8 @@ const ButtonSection_1 = require("../../ui-kit/Button/ButtonSection");
|
|
|
6
6
|
const Headline_1 = require("../Headline/Headline");
|
|
7
7
|
const BLOCK_CLASSES = 'absolute border border-solid border-main-stroke w-full h-full';
|
|
8
8
|
const CARD_WIDTH_MAP = {
|
|
9
|
-
normal:
|
|
10
|
-
mini:
|
|
9
|
+
normal: 'min-w-[1007px]',
|
|
10
|
+
mini: 'min-w-[355px]',
|
|
11
11
|
};
|
|
12
12
|
exports.CarouselCard = (0, uni_jsx_1.JSX)(({ className = '', button, description, title, version = 'normal' }) => ((0, jsx_runtime_1.jsx)("section", { className: `flex pb-9 pl-12 ${CARD_WIDTH_MAP[version]} ${className}`, children: (0, jsx_runtime_1.jsxs)("div", { className: "relative w-full", children: [(0, jsx_runtime_1.jsx)("div", { className: `${BLOCK_CLASSES} z-10 top-9 right-12 bg-green-dark` }), (0, jsx_runtime_1.jsx)("div", { className: `${BLOCK_CLASSES} z-10 top-6 right-8 bg-green` }), (0, jsx_runtime_1.jsx)("div", { className: `${BLOCK_CLASSES} z-10 top-3 right-4 bg-green-light` }), (0, jsx_runtime_1.jsxs)("div", { className: "relative bg-white z-10 py-6 px-10 border border-solid border-green-light", children: [(0, jsx_runtime_1.jsx)(Headline_1.Headline, { className: "!p-0", title: title, description: description, headlineVersion: "M", align: "center" }), button ? (0, jsx_runtime_1.jsx)("div", { className: "mt-6", children: (0, ButtonSection_1.renderButton)({ button }) }) : null] })] }) })));
|
|
13
13
|
//# sourceMappingURL=CarouselCard.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CarouselCard.js","sourceRoot":"","sources":["../../../src/components/CarouselCard/CarouselCard.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,qEAAiE;AACjE,mDAAgD;AAKhD,MAAM,aAAa,GAAG,+DAA+D,CAAC;AAEtF,MAAM,cAAc,GAAwC;IAC1D,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"CarouselCard.js","sourceRoot":"","sources":["../../../src/components/CarouselCard/CarouselCard.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,qEAAiE;AACjE,mDAAgD;AAKhD,MAAM,aAAa,GAAG,+DAA+D,CAAC;AAEtF,MAAM,cAAc,GAAwC;IAC1D,MAAM,EAAE,gBAAgB;IACxB,IAAI,EAAE,eAAe;CACtB,CAAC;AAEW,QAAA,YAAY,GAAG,IAAA,aAAG,EAC7B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,MAAM,EAAE,WAAW,EAAE,KAAK,EAAE,OAAO,GAAG,QAAQ,EAAE,EAAE,EAAE,CAAC,CACtE,oCAAS,SAAS,EAAE,mBAAmB,cAAc,CAAC,OAAO,CAAC,IAAI,SAAS,EAAE,YAC3E,iCAAK,SAAS,EAAC,iBAAiB,aAC9B,gCAAK,SAAS,EAAE,GAAG,aAAa,oCAAoC,GAAI,EACxE,gCAAK,SAAS,EAAE,GAAG,aAAa,8BAA8B,GAAI,EAClE,gCAAK,SAAS,EAAE,GAAG,aAAa,oCAAoC,GAAI,EACxE,iCAAK,SAAS,EAAC,0EAA0E,aACvF,uBAAC,mBAAQ,IACP,SAAS,EAAC,MAAM,EAChB,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,eAAe,EAAC,GAAG,EACnB,KAAK,EAAC,QAAQ,GACd,EACD,MAAM,CAAC,CAAC,CAAC,gCAAK,SAAS,EAAC,MAAM,YAAE,IAAA,4BAAY,EAAC,EAAE,MAAM,EAAE,CAAC,GAAO,CAAC,CAAC,CAAC,IAAI,IACnE,IACF,GACE,CACX,CACF,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { CarouselInvestmentCardContent } from './CarouselInvestmentCardContent';
|
|
2
|
+
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
3
|
+
export interface CarouselInvestmentCardProps extends CarouselInvestmentCardContent, UniBlockProps {
|
|
4
|
+
}
|
|
5
|
+
export declare const CarouselInvestmentCard: import("@redneckz/uni-jsx").UNIComponent<CarouselInvestmentCardProps, any, any>;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
+
exports.CarouselInvestmentCard = void 0;
|
|
3
|
+
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
+
const BaseTile_1 = require("../BaseTile/BaseTile");
|
|
5
|
+
const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
|
|
6
|
+
const BorderVersion_1 = require("../../model/BorderVersion");
|
|
7
|
+
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
8
|
+
const Heading_1 = require("../../ui-kit/Heading/Heading");
|
|
9
|
+
const Img_1 = require("../../ui-kit/Img/Img");
|
|
10
|
+
const getItemListFontSize = (colValue) => (colValue === 1 ? 'text-h6' : 'text-l');
|
|
11
|
+
const cardColumnsModeStyleMap = {
|
|
12
|
+
1: 'flex gap-y-2 flex-col',
|
|
13
|
+
2: 'flex gap-y-2 gap-x-10 flex-wrap',
|
|
14
|
+
};
|
|
15
|
+
exports.CarouselInvestmentCard = (0, uni_jsx_1.JSX)(({ additionalDescription, cardsList = [], className = '', columnsMode = 1, description, image, title, version = 'primary', ...rest }) => {
|
|
16
|
+
const tileTitle = title ? ((0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h4", as: "h3", className: "mb-3.5 z-10", title: title })) : null;
|
|
17
|
+
const tileImage = image?.src ? ((0, jsx_runtime_1.jsx)(Img_1.Img, { className: "absolute bottom-0 right-0 m-0", image: image })) : null;
|
|
18
|
+
return ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: `relative text-left border border-solid box-border
|
|
19
|
+
p-9 w-[697px]
|
|
20
|
+
${BorderVersion_1.BorderVersionStyleMap[version]}
|
|
21
|
+
${className}`, ...rest, children: (0, jsx_runtime_1.jsxs)(BaseTile_1.BaseTile, { title: tileTitle, image: tileImage, children: [(0, jsx_runtime_1.jsxs)("div", { className: "flex justify-between mb-4", children: [description ? (0, jsx_runtime_1.jsx)("span", { className: "text-h6 w-1/3", children: description }) : null, additionalDescription ? ((0, jsx_runtime_1.jsx)("span", { className: "text-m-light text-secondary-text", children: additionalDescription })) : null] }), cardsList.length ? ((0, jsx_runtime_1.jsx)("ul", { className: `list-none m-0 p-0 ${cardColumnsModeStyleMap[columnsMode]}`, children: renderCardList(cardsList, columnsMode) })) : null] }) }));
|
|
22
|
+
});
|
|
23
|
+
const renderCardList = (cardsList, columnsMode) => {
|
|
24
|
+
const CARDS_COUNT_MAP = [4, 9];
|
|
25
|
+
const visibleCardsList = cardsList.slice(0, CARDS_COUNT_MAP[columnsMode - 1]);
|
|
26
|
+
return visibleCardsList.map((item, i) => ((0, jsx_runtime_1.jsxs)("li", { className: columnsMode === 2 ? 'basis-[calc(50%-20px)]' : '', children: [item?.parameter ? ((0, jsx_runtime_1.jsx)("span", { className: `pr-2.5 ${getItemListFontSize(columnsMode)}`, children: item.parameter })) : null, item?.parameterDescription ? ((0, jsx_runtime_1.jsx)("span", { className: "text-m-light text-secondary-text", children: item.parameterDescription })) : null] }, String(i))));
|
|
27
|
+
};
|
|
28
|
+
//# sourceMappingURL=CarouselInvestmentCard.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CarouselInvestmentCard.js","sourceRoot":"","sources":["../../../src/components/CarouselInvestmentCard/CarouselInvestmentCard.tsx"],"names":[],"mappings":";;;AAAA,mDAAgD;AAChD,4DAAyD;AACzD,6DAAkE;AAMlE,+CAAwC;AACxC,0DAAuD;AACvD,8CAA2C;AAK3C,MAAM,mBAAmB,GAAG,CAAC,QAAiB,EAAE,EAAE,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC;AAE3F,MAAM,uBAAuB,GAAoC;IAC/D,CAAC,EAAE,uBAAuB;IAC1B,CAAC,EAAE,iCAAiC;CACrC,CAAC;AAEW,QAAA,sBAAsB,GAAG,IAAA,aAAG,EACvC,CAAC,EACC,qBAAqB,EACrB,SAAS,GAAG,EAAE,EACd,SAAS,GAAG,EAAE,EACd,WAAW,GAAG,CAAC,EACf,WAAW,EACX,KAAK,EACL,KAAK,EACL,OAAO,GAAG,SAAS,EACnB,GAAG,IAAI,EACR,EAAE,EAAE;IACH,MAAM,SAAS,GAAG,KAAK,CAAC,CAAC,CAAC,CACxB,uBAAC,iBAAO,IAAC,WAAW,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,SAAS,EAAC,aAAa,EAAC,KAAK,EAAE,KAAK,GAAI,CAC3E,CAAC,CAAC,CAAC,IAAI,CAAC;IAET,MAAM,SAAS,GAAG,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,CAC7B,uBAAC,SAAG,IAAC,SAAS,EAAC,+BAA+B,EAAC,KAAK,EAAE,KAAK,GAAI,CAChE,CAAC,CAAC,CAAC,IAAI,CAAC;IAET,OAAO,CACL,uBAAC,2BAAY,IACX,SAAS,EAAE;;UAET,qCAAqB,CAAC,OAAO,CAAC;UAC9B,SAAS,EAAE,KACT,IAAI,YAER,wBA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AAQ,CACtF,CAAC,CAAC,CAAC,IAAI,KAND,MAAM,CAAC,CAAC,CAAC,CAOb,CACN,CAAC,CAAC;AACL,CAAC,CAAC"}
|
|
@@ -1,20 +1,32 @@
|
|
|
1
1
|
import type { BlockVersion } from '../../model/BlockVersion';
|
|
2
2
|
import type { Picture } from '../../model/Picture';
|
|
3
|
-
import type { HeadlineCommonProps
|
|
3
|
+
import type { HeadlineCommonProps } from '../../model/HeadlineType';
|
|
4
4
|
/**
|
|
5
|
-
* @title
|
|
5
|
+
* @title Карточка галереи инвестиций
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* @title Количество колонок
|
|
6
9
|
* @enumNames [
|
|
7
10
|
* "1 колонка",
|
|
8
11
|
* "2 колонки",
|
|
9
12
|
* ]
|
|
10
13
|
*/
|
|
11
|
-
export declare type CardColumnsMode =
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
export declare type CardColumnsMode = 1 | 2;
|
|
15
|
+
export interface CardsListItem {
|
|
16
|
+
/** @title Параметр */
|
|
17
|
+
parameter?: string;
|
|
18
|
+
/** @title Описание */
|
|
19
|
+
parameterDescription?: string;
|
|
20
|
+
}
|
|
21
|
+
export interface CarouselInvestmentCardContent extends HeadlineCommonProps {
|
|
16
22
|
/** @title Доп. описание карточки */
|
|
17
23
|
additionalDescription?: string;
|
|
24
|
+
/** @default 1 */
|
|
25
|
+
columnsMode?: CardColumnsMode;
|
|
26
|
+
/**
|
|
27
|
+
* @title Список
|
|
28
|
+
*/
|
|
29
|
+
cardsList?: CardsListItem[];
|
|
18
30
|
/**
|
|
19
31
|
* @default {
|
|
20
32
|
* "format": "webp",
|
|
@@ -30,21 +42,5 @@ export interface InvestmentGalleryCardTypes extends HeadlineCommonProps {
|
|
|
30
42
|
* }
|
|
31
43
|
*/
|
|
32
44
|
image?: Picture;
|
|
33
|
-
columnsMode?: CardColumnsMode;
|
|
34
|
-
/** @title Описание пункта */
|
|
35
|
-
cardList?: CardListItem[];
|
|
36
|
-
}
|
|
37
|
-
export interface CardListItem {
|
|
38
|
-
/** @title Параметр */
|
|
39
|
-
parameter?: string;
|
|
40
|
-
/** @title Описание */
|
|
41
|
-
parameterDesccription?: string;
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* @title Карточка
|
|
45
|
-
*/
|
|
46
|
-
export interface InvestmentGalleryContent extends TitleProps {
|
|
47
|
-
/** @title Карточки */
|
|
48
|
-
cards?: InvestmentGalleryCardTypes[];
|
|
49
45
|
version?: BlockVersion;
|
|
50
46
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CarouselInvestmentCardContent.js","sourceRoot":"","sources":["../../../src/components/CarouselInvestmentCard/CarouselInvestmentCardContent.ts"],"names":[],"mappings":""}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
2
1
|
import type { CarouselTariffsCardContent } from './CarouselTariffsCardContent';
|
|
2
|
+
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
3
3
|
export interface CarouselTariffsCardProps extends CarouselTariffsCardContent, UniBlockProps {
|
|
4
4
|
}
|
|
5
5
|
export declare const CarouselTariffsCard: import("@redneckz/uni-jsx").UNIComponent<CarouselTariffsCardProps, any, any>;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
2
|
exports.CarouselTariffsCard = void 0;
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
-
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
4
|
const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
|
|
6
5
|
const Button_1 = require("../../ui-kit/Button/Button");
|
|
7
6
|
const Foldable_1 = require("../../ui-kit/Foldable/Foldable");
|
|
@@ -9,12 +8,15 @@ const FoldableSection_1 = require("../../ui-kit/Foldable/FoldableSection");
|
|
|
9
8
|
const Heading_1 = require("../../ui-kit/Heading/Heading");
|
|
10
9
|
const Icon_1 = require("../../ui-kit/Icon/Icon");
|
|
11
10
|
const Img_1 = require("../../ui-kit/Img/Img");
|
|
11
|
+
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
12
12
|
const VISIBLE_ROWS_COUNT = 1;
|
|
13
13
|
exports.CarouselTariffsCard = (0, uni_jsx_1.JSX)(({ className = '', title, icon, isHighlighting, button, rows = [], ...rest }) => {
|
|
14
14
|
const rowsNode = rows.map(renderCardInfo);
|
|
15
15
|
const visibleRows = rowsNode.slice(0, VISIBLE_ROWS_COUNT);
|
|
16
16
|
const hiddenRows = rowsNode.slice(VISIBLE_ROWS_COUNT);
|
|
17
|
-
return ((0, jsx_runtime_1.
|
|
17
|
+
return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `font-sans relative bg-white border border-main-stroke min-w-[322px] p-8
|
|
18
|
+
${getHitStyle(isHighlighting)}
|
|
19
|
+
${className}`, ...rest, children: [isHighlighting ? renderHitIcon() : null, icon?.src ? (0, jsx_runtime_1.jsx)(Img_1.Img, { image: icon }) : null, title ? ((0, jsx_runtime_1.jsx)(Heading_1.Heading, { className: "text-primary-text text-center pt-2", headingType: "h5", title: title })) : null, button ? (0, jsx_runtime_1.jsx)(Button_1.Button, { className: "w-full mt-4", ...button }) : null, rows.length ? ((0, jsx_runtime_1.jsx)(Foldable_1.Foldable, { renderFoldableSection: ({ isUnfolded }) => ((0, jsx_runtime_1.jsxs)("div", { children: [visibleRows, (0, jsx_runtime_1.jsx)(FoldableSection_1.FoldableSection, { isUnfolded: isUnfolded, children: hiddenRows })] })), renderFoldButton: rows.length > 1 ? renderFoldButton : null })) : null] }));
|
|
18
20
|
});
|
|
19
21
|
const getHitStyle = (isHighlighting) => isHighlighting ? 'mt-9 pt-[70px]' : 'mt-[70px] pt-9';
|
|
20
22
|
const renderFoldButton = ({ isUnfolded, onToggle }) => ((0, jsx_runtime_1.jsxs)("button", { className: "w-full cursor-pointer text-primary-main pt-5 flex justify-between items-center", onClick: onToggle, children: [(0, jsx_runtime_1.jsx)("div", { children: isUnfolded ? 'Скрыть' : 'Подробнее о тарифе' }), (0, jsx_runtime_1.jsx)(Icon_1.Icon, { className: "text-primary-text", name: isUnfolded ? 'ArrowUpIcon' : 'ArrowDownIcon', width: "16", height: "16", asSVG: true })] }));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CarouselTariffsCard.js","sourceRoot":"","sources":["../../../src/components/CarouselTariffsCard/CarouselTariffsCard.tsx"],"names":[],"mappings":";;;AAAA
|
|
1
|
+
{"version":3,"file":"CarouselTariffsCard.js","sourceRoot":"","sources":["../../../src/components/CarouselTariffsCard/CarouselTariffsCard.tsx"],"names":[],"mappings":";;;AAAA,4DAAyD;AACzD,uDAAoD;AACpD,6DAA0D;AAE1D,2EAAwE;AACxE,0DAAuD;AACvD,iDAA8C;AAC9C,8CAA2C;AAC3C,+CAAwC;AAQxC,MAAM,kBAAkB,GAAG,CAAC,CAAC;AAEhB,QAAA,mBAAmB,GAAG,IAAA,aAAG,EACpC,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,cAAc,EAAE,MAAM,EAAE,IAAI,GAAG,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IAC9E,MAAM,QAAQ,GAAG,IAAI,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;IAC1C,MAAM,WAAW,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC,EAAE,kBAAkB,CAAC,CAAC;IAC1D,MAAM,UAAU,GAAG,QAAQ,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAAC;IAEtD,OAAO,CACL,wBAAC,2BAAY,IACX,SAAS,EAAE;UACT,WAAW,CAAC,cAAc,CAAC;UAC3B,SAAS,EAAE,KACT,IAAI,aAEP,cAAc,CAAC,CAAC,CAAC,aAAa,EAAE,CAAC,CAAC,CAAC,IAAI,E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EAClD,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,KAAK,SACL,IACK,CACV,CAAC;AAEF,MAAM,cAAc,GAAG,CAAC,IAAyB,EAAE,CAAS,EAAS,EAAE,CAAC,CACtE,iCAAqB,SAAS,EAAC,mCAAmC,aAC/D,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC,CACb,gCAAK,SAAS,EAAC,6CAA6C,YAAE,IAAI,CAAC,KAAK,GAAO,CAChF,CAAC,CAAC,CAAC,IAAI,EACP,IAAI,EAAE,WAAW,CAAC,CAAC,CAAC,CACnB,gCAAK,SAAS,EAAC,gCAAgC,YAAE,IAAI,CAAC,WAAW,GAAO,CACzE,CAAC,CAAC,CAAC,IAAI,KANA,MAAM,CAAC,CAAC,CAAC,CAOb,CACP,CAAC;AAEF,MAAM,aAAa,GAAG,GAAU,EAAE,CAAC,CACjC,iCAAK,SAAS,EAAC,oIAAoI,aACjJ,uBAAC,WAAI,IAAC,WAAW,EAAC,OAAO,EAAC,IAAI,EAAC,WAAW,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,KAAK,SAAG,EAC1E,gCAAK,SAAS,EAAC,aAAa,mCAAU,IAClC,CACP,CAAC"}
|
|
@@ -15,7 +15,7 @@ exports.Catalog = (0, uni_jsx_1.JSX)(({ cards = [], className = '', title, descr
|
|
|
15
15
|
itemCount: cards?.length,
|
|
16
16
|
visibleItemCount: CARD_VIEW_COUNT,
|
|
17
17
|
});
|
|
18
|
-
return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `bg-white relative font-sans p-
|
|
18
|
+
return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `bg-white relative font-sans p-12 overflow-hidden text-center ${className}`, ...rest, children: [(0, jsx_runtime_1.jsx)(Headline_1.Headline, { className: "!p-0", title: title, description: description, headlineVersion: "M", align: "center", ...rest }), (0, jsx_runtime_1.jsx)("div", { className: "flex duration-1000 gap-3.5 mt-8", style: { transform: `translateX(-${activeIndex * CARD_SHIFT}px)` }, role: "list", children: cards?.length ? cards.map((card, i) => (0, jsx_runtime_1.jsx)(CatalogCard_1.CatalogCard, { ...card }, String(i))) : null }), (0, renderArrows_1.renderArrows)({
|
|
19
19
|
...controls,
|
|
20
20
|
btnClass: ['left-8', 'right-8'],
|
|
21
21
|
className: 'top-1/2 z-10 mt-6',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Catalog.js","sourceRoot":"","sources":["../../../src/components/Catalog/Catalog.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,yEAAsE;AAEtE,4DAAyD;AACzD,mEAAgE;AAChE,mDAAgD;AAChD,+CAA4C;AAK5C,MAAM,kBAAkB,GAAG,kCAAkC,CAAC;AAC9D,MAAM,eAAe,GAAG,CAAC,CAAC;AAC1B,MAAM,UAAU,GAAG,GAAG,CAAC;AAEV,QAAA,OAAO,GAAG,IAAA,aAAG,EACxB,CAAC,EAAE,KAAK,GAAG,EAAE,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IAC9D,MAAM,CAAC,WAAW,EAAE,QAAQ,CAAC,GAAG,IAAA,yCAAmB,EAAC;QAClD,SAAS,EAAE,KAAK,EAAE,MAAM;QACxB,gBAAgB,EAAE,eAAe;KAClC,CAAC,CAAC;IAEH,OAAO,CACL,wBAAC,2BAAY,IACX,SAAS,EAAE,
|
|
1
|
+
{"version":3,"file":"Catalog.js","sourceRoot":"","sources":["../../../src/components/Catalog/Catalog.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,yEAAsE;AAEtE,4DAAyD;AACzD,mEAAgE;AAChE,mDAAgD;AAChD,+CAA4C;AAK5C,MAAM,kBAAkB,GAAG,kCAAkC,CAAC;AAC9D,MAAM,eAAe,GAAG,CAAC,CAAC;AAC1B,MAAM,UAAU,GAAG,GAAG,CAAC;AAEV,QAAA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
const constants_1 = require("./constants");
|
|
10
10
|
exports.ComparisonTable = (0, uni_jsx_1.JSX)(({ className = '', title, rowHeaders, columns, visibleRowLength = 0, isColoredFirstColumn = false, ...rest }) => {
|
|
11
11
|
const [isShowAllRow, setIsShowAllRow] = (0, hooks_1.useState)(!visibleRowLength);
|
|
12
|
-
const
|
|
13
|
-
return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `bg-white font-sans py-
|
|
14
|
-
? renderShowMoreToggleButton({ isShowAllRow, onClick:
|
|
12
|
+
const handleToggle = (0, hooks_1.useCallback)(() => setIsShowAllRow((_) => !_), []);
|
|
13
|
+
return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `bg-white font-sans py-12 pl-12 overflow-hidden text-primary-text relative ${className}`, ...rest, children: [(0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h2", className: "max-w-[47rem] text-center mb-9 mx-auto", title: title }), (0, jsx_runtime_1.jsx)(ComparisonTableBody_1.ComparisonTableBody, { columns: columns, rowHeaders: rowHeaders, isShowAllRow: isShowAllRow, isColoredFirstColumn: isColoredFirstColumn, visibleRowLength: visibleRowLength }), visibleRowLength
|
|
14
|
+
? renderShowMoreToggleButton({ isShowAllRow, onClick: handleToggle })
|
|
15
15
|
: null] }));
|
|
16
16
|
});
|
|
17
|
-
const renderShowMoreToggleButton = ({ isShowAllRow, onClick, }) => ((0, jsx_runtime_1.jsx)("div", { className: "pr-
|
|
17
|
+
const renderShowMoreToggleButton = ({ isShowAllRow, onClick, }) => ((0, jsx_runtime_1.jsx)("div", { className: "pr-12", children: (0, jsx_runtime_1.jsxs)("div", { className: "flex w-full", children: [(0, jsx_runtime_1.jsx)("div", { className: constants_1.FIRST_CELL_CLASSES }), (0, jsx_runtime_1.jsx)("button", { onClick: onClick, className: "mt-5 flex-1 border-main-stroke border-solid border text-primary-text bg-white hover:border-primary-main hover:text-primary-main", children: (0, jsx_runtime_1.jsx)("div", { className: "font-sans text-xs-light font-medium py-3", children: !isShowAllRow ? 'Показать все параметры' : 'Скрыть' }) })] }) }));
|
|
18
18
|
//# sourceMappingURL=ComparisonTable.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ComparisonTable.js","sourceRoot":"","sources":["../../../src/components/ComparisonTable/ComparisonTable.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAoE;AAEpE,4DAAyD;AACzD,0DAAuD;AACvD,+DAA4D;AAE5D,2CAAiD;AAIpC,QAAA,eAAe,GAAG,IAAA,aAAG,EAChC,CAAC,EACC,SAAS,GAAG,EAAE,EACd,KAAK,EACL,UAAU,EACV,OAAO,EACP,gBAAgB,GAAG,CAAC,EACpB,oBAAoB,GAAG,KAAK,EAC5B,GAAG,IAAI,EACR,EAAE,EAAE;IACH,MAAM,CAAC,YAAY,EAAE,eAAe,CAAC,GAAG,IAAA,gBAAQ,EAAC,CAAC,gBAAgB,CAAC,CAAC;IACpE,MAAM,
|
|
1
|
+
{"version":3,"file":"ComparisonTable.js","sourceRoot":"","sources":["../../../src/components/ComparisonTable/ComparisonTable.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAoE;AAEpE,4DAAyD;AACzD,0DAAuD;AACvD,+DAA4D;AAE5D,2CAAiD;AAIpC,QAAA,eAAe,GAAG,IAAA,aAAG,EAChC,CAAC,EACC,SAAS,GAAG,EAAE,EACd,KAAK,EACL,UAAU,EACV,OAAO,EACP,gBAAgB,GAAG,CAAC,EACpB,oBAAoB,GAAG,KAAK,EAC5B,GAAG,IAAI,EACR,EAAE,EAAE;IACH,MAAM,CAAC,YAAY,EAAE,eAAe,CAAC,GAAG,IAAA,gBAAQ,EAAC,CAAC,gBAAgB,CAAC,CAAC;IACpE,MAAM,YAAY,GAAG,IAAA,mBAAW,EAAC,GAAG,EAAE,CAAC,eAAe,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;IAEvE,OAAO,CACL,wBAAC,2BAAY,IACX,SAAS,EAAE,6EAA6E,SAAS,EAAE,KAC/F,IAAI,aAER,uBAAC,iBAAO,IACN,WAAW,EAAC,IAAI,EAChB,SAAS,EAAC,wCAAwC,EAClD,KAAK,EAAE,KAAK,GACZ,EACF,uBAAC,yCAAmB,IAClB,OAAO,EAAE,OAAO,EAChB,UAAU,EAAE,UAAU,EACtB,YAAY,EAAE,YAAY,EAC1B,oBAAoB,EAAE,oBAAoB,EAC1C,gBAAgB,EAAE,gBAAgB,GAClC,EACD,gBAAgB;gBACf,CAAC,CAAC,0BAA0B,CAAC,EAAE,YAAY,EAAE,OAAO,EAAE,YAAY,EAAE,CAAC;gBACrE,CAAC,CAAC,IAAI,IACK,CAChB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,0BAA0B,GAAG,CAAC,EAClC,YAAY,EACZ,OAAO,GAIR,EAAE,EAAE,CAAC,CACJ,gCAAK,SAAS,EAAC,OAAO,YACpB,iCAAK,SAAS,EAAC,aAAa,aAC1B,gCAAK,SAAS,EAAE,8BAAkB,GAAI,EACtC,mCACE,OAAO,EAAE,OAAO,EAChB,SAAS,EAAC,iIAAiI,YAE3I,gCAAK,SAAS,EAAC,0CAA0C,YACtD,CAAC,YAAY,CAAC,CAAC,CAAC,wBAAwB,CAAC,CAAC,CAAC,QAAQ,GAChD,GACC,IACL,GACF,CACP,CAAC"}
|
|
@@ -7,7 +7,7 @@ const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
|
|
|
7
7
|
const Button_1 = require("../../ui-kit/Button/Button");
|
|
8
8
|
const Paragraph_1 = require("../../ui-kit/Paragraph/Paragraph");
|
|
9
9
|
const Headline_1 = require("../Headline/Headline");
|
|
10
|
-
exports.ContactsBlock = (0, uni_jsx_1.JSX)(({ className = '', contacts, info, version = 'secondary', ...rest }) => ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `${BlockVersion_1.VersionStyleMap[version]} flex p-
|
|
10
|
+
exports.ContactsBlock = (0, uni_jsx_1.JSX)(({ className = '', contacts, info, version = 'secondary', ...rest }) => ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `${BlockVersion_1.VersionStyleMap[version]} flex p-12 ${className}`, ...rest, children: [info?.length ? renderBlocks(info, version) : null, contacts?.length ? renderBlocks(contacts, version) : null] })));
|
|
11
11
|
const renderBlocks = (info, version) => ((0, jsx_runtime_1.jsx)("div", { className: "flex grow basis-0", children: info.map((column, index) => renderBlocksColumn({ column, index, version })) }));
|
|
12
12
|
const renderBlocksColumn = ({ column, index, version }) => column ? ((0, jsx_runtime_1.jsx)("div", { className: "flex flex-col grow basis-0 pr-11 last:pr-0", children: column.map(({ title = '', description, additionalDescription, button }, key) => ((0, jsx_runtime_1.jsxs)("div", { className: "mt-6 first:mt-0", children: [(0, jsx_runtime_1.jsx)(Headline_1.Headline, { className: "!p-0", title: title, description: description, headlineVersion: "XS", align: "left", bgColorHeadline: version }), additionalDescription ? ((0, jsx_runtime_1.jsx)("div", { className: "mt-1.5 opacity-80", children: (0, jsx_runtime_1.jsx)(Paragraph_1.Paragraph, { size: "text-m-light", children: additionalDescription }) })) : null, button ? (0, jsx_runtime_1.jsx)(Button_1.Button, { className: "mt-6", ...button }) : null] }, String(key)))) }, `col-${String(index)}`)) : null;
|
|
13
13
|
//# sourceMappingURL=ContactsBlock.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContactsBlock.js","sourceRoot":"","sources":["../../../src/components/ContactsBlock/ContactsBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,2DAA2D;AAE3D,4DAAyD;AACzD,uDAAoD;AACpD,gEAA6D;AAC7D,mDAAgD;AAWnC,QAAA,aAAa,GAAG,IAAA,aAAG,EAC9B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,GAAG,WAAW,EAAE,GAAG,IAAI,EAA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,KAAK,GAAG,EAAE,EAAE,WAAW,EAAE,qBAAqB,EAAE,MAAM,EAAE,EAAE,GAAG,EAAE,EAAE,CAAC,CAC/E,iCAAK,SAAS,EAAC,iBAAiB,aAC9B,uBAAC,mBAAQ,IACP,SAAS,EAAC,MAAM,EAChB,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,eAAe,EAAC,IAAI,EACpB,KAAK,EAAC,MAAM,EACZ,eAAe,EAAE,OAAO,GACxB,EACD,qBAAqB,CAAC,CAAC,CAAC,CACvB,gCAAK,SAAS,EAAC,mBAAmB,YAChC,uBAAC,qBAAS,IAAC,IAAI,EAAC,cAAc,YAAE,qBAAqB,GAAa,GAC9D,CACP,CAAC,CAAC,CAAC,IAAI,EACP,MAAM,CAAC,CAAC,CAAC,uBAAC,eAAM,IAAC,SAAS,EAAC,MAAM,KAAK,MAAM,GAAI,CAAC,CAAC,CAAC,IAAI,KAdpB,MAAM,CAAC,GAAG,CAAC,CAe3C,CACP,CAAC,IAlB6D,OAAO,MAAM,CAAC,KAAK,CAAC,EAAE,CAmBjF,CACP,CAAC,CAAC,CAAC,IAAI,CAAC"}
|
|
@@ -3,6 +3,7 @@ exports.ContentPage = void 0;
|
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
5
|
const renderBlockList_1 = require("../../BlockRenderer/renderBlockList");
|
|
6
|
+
const useBlockRouterProvider_1 = require("../../services/BlockRouter/useBlockRouterProvider");
|
|
6
7
|
const style2className_1 = require("../../utils/style2className");
|
|
7
8
|
const LikeControl_1 = require("../LikeControl/LikeControl");
|
|
8
9
|
exports.ContentPage = (0, uni_jsx_1.JSX)((props) => {
|
|
@@ -15,6 +16,7 @@ exports.ContentPage = (0, uni_jsx_1.JSX)((props) => {
|
|
|
15
16
|
blockDecorator,
|
|
16
17
|
parent: data,
|
|
17
18
|
};
|
|
19
|
+
(0, useBlockRouterProvider_1.useBlockRouterProvider)();
|
|
18
20
|
return ((0, jsx_runtime_1.jsxs)("section", { className: `relative ${(0, style2className_1.style2className)(pageStyle)} ${className}`, "data-theme": colorPalette, children: [slots?.header ? ((0, jsx_runtime_1.jsx)("div", { className: "mb-5 shadow-[0_8px_32px_0px_#00000014]", children: (0, renderBlockList_1.renderBlocksList)(slots?.header, {
|
|
19
21
|
...options,
|
|
20
22
|
slotName: 'header',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContentPage.js","sourceRoot":"","sources":["../../../src/components/ContentPage/ContentPage.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,yEAAuE;AAKvE,iEAA8D;AAC9D,4DAAyD;AAQ5C,QAAA,WAAW,GAA+B,IAAA,aAAG,EAAmB,CAAC,KAAK,EAAE,EAAE;IACrF,MAAM,EAAE,SAAS,GAAG,EAAE,EAAE,cAAc,EAAE,cAAc,EAAE,IAAI,GAAG,EAAE,EAAE,GAAG,KAAK,CAAC;IAE5E,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,WAAW,EAAE,YAAY,GAAG,IAAI,EAAE,GAAG,IAAI,CAAC;IAEnF,MAAM,OAAO,GAAyB;QACpC,GAAG,EAAE,EAAE;QACP,IAAI,EAAE,IAAI;QACV,cAAc;QACd,cAAc;QACd,MAAM,EAAE,IAAI;KACb,CAAC;IAEF,OAAO,CACL,qCACE,SAAS,EAAE,YAAY,IAAA,iCAAe,EAAC,SAAS,CAAC,IAAI,SAAS,EAAE,gBACpD,YAAY,aAEvB,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CACf,gCAAK,SAAS,EAAC,wCAAwC,YACpD,IAAA,kCAAgB,EAAC,KAAK,EAAE,MAAM,EAAE;oBAC/B,GAAG,OAAO;oBACV,QAAQ,EAAE,QAAQ;iBACnB,CAAC,GACE,CACP,CAAC,CAAC,CAAC,IAAI,EACR,iCAAK,SAAS,EAAC,m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