@redneckz/wildless-cms-uni-blocks 0.12.6 → 0.12.8
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.12.7.js +20 -0
- package/bin/migration-scripts/0.12.8.js +45 -0
- package/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +145 -111
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/Carousel/CarouselContent.d.ts +4 -0
- package/bundle/components/Carousel/CarouselScrollButtons.d.ts +1 -2
- package/bundle/components/Carousel/itemsGap.d.ts +1 -1
- package/bundle/components/Carousel/renderControlButtons.d.ts +11 -0
- package/bundle/components/CarouselBankHistoryCard/CarouselBankHistoryCard.mobile.d.ts +6 -0
- package/bundle/components/Header/HeaderContent.d.ts +1 -13
- package/bundle/components/Header/HeaderTop.d.ts +1 -3
- package/bundle/components/Headline/HeadlineContent.d.ts +1 -2
- package/bundle/components/Headline/headlineVersionStyles.d.ts +2 -1
- package/bundle/components/LinkDocs/LinkDocItem.d.ts +6 -0
- package/bundle/components/LinkDocs/LinkDocsContent.d.ts +30 -6
- package/bundle/components/LinkDocs/linkIconStyle.d.ts +1 -0
- package/bundle/components/LinkDocs/linkIconStyle.mobile.d.ts +1 -0
- package/bundle/content-page-repository/transformDocument.d.ts +3 -0
- package/bundle/hooks/useRouter.d.ts +1 -0
- package/bundle/icons/IconName.d.ts +2 -2
- package/bundle/model/Attachment.d.ts +4 -0
- package/bundle/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +1 -2
- package/bundle/ui-kit/Text/TextProps.d.ts +2 -2
- package/dist/components/ApplicationForm/Footnote.js +1 -1
- package/dist/components/ApplicationForm/Footnote.js.map +1 -1
- package/dist/components/ApplicationForm/InputControl.js +1 -1
- package/dist/components/ApplicationForm/InputControl.js.map +1 -1
- package/dist/components/ApplicationForm/PhoneInputControl.js +1 -1
- package/dist/components/ApplicationForm/PhoneInputControl.js.map +1 -1
- package/dist/components/ApplicationForm/ResponseNotification.js +1 -1
- package/dist/components/ApplicationForm/ResponseNotification.js.map +1 -1
- package/dist/components/ApplicationForm/SelectControl.js +1 -1
- package/dist/components/ApplicationForm/SelectControl.js.map +1 -1
- package/dist/components/ApplicationForm/renderCreditParameters.js +1 -1
- package/dist/components/ApplicationForm/renderCreditParameters.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.mobile.js +8 -0
- package/dist/components/Blocks.mobile.js.map +1 -1
- package/dist/components/BusinessBlock/BusinessCard.js +2 -1
- package/dist/components/BusinessBlock/BusinessCard.js.map +1 -1
- package/dist/components/Calculator/Calculator.js +2 -2
- package/dist/components/Calculator/Calculator.js.map +1 -1
- package/dist/components/Calculator/CalculatorValueBlock.js +1 -1
- package/dist/components/Calculator/CalculatorValueBlock.js.map +1 -1
- package/dist/components/Calculator/Rate.js +1 -1
- package/dist/components/Calculator/Rate.js.map +1 -1
- package/dist/components/Calculator/UnknownRate.js +1 -1
- package/dist/components/Calculator/UnknownRate.js.map +1 -1
- package/dist/components/Calculator/renderFootnote.js +1 -1
- package/dist/components/Calculator/renderFootnote.js.map +1 -1
- package/dist/components/Calculator/renderProposal.js +2 -1
- package/dist/components/Calculator/renderProposal.js.map +1 -1
- package/dist/components/Carousel/Carousel.js +19 -7
- package/dist/components/Carousel/Carousel.js.map +1 -1
- package/dist/components/Carousel/CarouselContent.d.ts +4 -0
- package/dist/components/Carousel/CarouselScrollButtons.d.ts +1 -2
- package/dist/components/Carousel/itemsGap.d.ts +1 -1
- package/dist/components/Carousel/itemsGap.js +1 -1
- package/dist/components/Carousel/itemsGap.js.map +1 -1
- package/dist/components/Carousel/renderControlButtons.d.ts +11 -0
- package/dist/components/Carousel/renderControlButtons.js +13 -0
- package/dist/components/Carousel/renderControlButtons.js.map +1 -0
- package/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.mobile.d.ts +6 -0
- package/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.mobile.js +9 -0
- package/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.mobile.js.map +1 -0
- package/dist/components/CarouselLinks/CarouselLinks.js +1 -1
- package/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
- package/dist/components/ComparisonTable/ComparisonTable.js +2 -1
- package/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
- package/dist/components/ComparisonTable/HeaderCell.js +1 -1
- package/dist/components/ComparisonTable/HeaderCell.js.map +1 -1
- package/dist/components/ErrorBlock/ErrorBlock.js +2 -1
- package/dist/components/ErrorBlock/ErrorBlock.js.map +1 -1
- package/dist/components/ExchangeRateOffice/ExchangeRateOffice.js +1 -1
- package/dist/components/ExchangeRateOffice/ExchangeRateOffice.js.map +1 -1
- package/dist/components/ExchangeRateOffice/renderTableHeader.js +1 -1
- package/dist/components/ExchangeRateOffice/renderTableHeader.js.map +1 -1
- package/dist/components/ExchangeRateTile/CurrencyTable.js +1 -1
- package/dist/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
- package/dist/components/Footer/Contacts.js +2 -2
- package/dist/components/Footer/Contacts.js.map +1 -1
- package/dist/components/Footer/HorizontalNavigation.js +1 -1
- package/dist/components/Footer/HorizontalNavigation.js.map +1 -1
- package/dist/components/Footer/SocialMedia.js +1 -1
- package/dist/components/Footer/SocialMedia.js.map +1 -1
- package/dist/components/Footer/TextInformation.js +1 -2
- package/dist/components/Footer/TextInformation.js.map +1 -1
- package/dist/components/Footer/TextInformationLink.js +1 -1
- package/dist/components/Footer/TextInformationLink.js.map +1 -1
- package/dist/components/GracePeriod/GracePeriod.js +1 -1
- package/dist/components/GracePeriod/GracePeriod.js.map +1 -1
- package/dist/components/Header/DropdownMenu.js +1 -1
- package/dist/components/Header/DropdownMenu.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/HeaderContent.d.ts +1 -13
- package/dist/components/Header/HeaderTop.d.ts +1 -3
- package/dist/components/Header/HeaderTop.js +10 -5
- 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/Headline/HeadlineContent.d.ts +1 -2
- package/dist/components/Headline/headlineVersionStyles.d.ts +2 -1
- package/dist/components/Headline/headlineVersionStyles.js +11 -5
- package/dist/components/Headline/headlineVersionStyles.js.map +1 -1
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +1 -1
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
- package/dist/components/InvestmentInfo/InvestmentInfo.js +1 -1
- package/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
- package/dist/components/LinkDocs/LinkDocItem.d.ts +6 -0
- package/dist/components/LinkDocs/LinkDocItem.js +20 -0
- package/dist/components/LinkDocs/LinkDocItem.js.map +1 -0
- package/dist/components/LinkDocs/LinkDocs.js +16 -4
- package/dist/components/LinkDocs/LinkDocs.js.map +1 -1
- package/dist/components/LinkDocs/LinkDocsContent.d.ts +30 -6
- package/dist/components/LinkDocs/linkDocsContentExample.js +20 -8
- package/dist/components/LinkDocs/linkDocsContentExample.js.map +1 -1
- package/dist/components/LinkDocs/linkIconStyle.d.ts +1 -0
- package/dist/components/LinkDocs/linkIconStyle.js +4 -0
- package/dist/components/LinkDocs/linkIconStyle.js.map +1 -0
- package/dist/components/LinkDocs/linkIconStyle.mobile.d.ts +1 -0
- package/dist/components/LinkDocs/linkIconStyle.mobile.js +4 -0
- package/dist/components/LinkDocs/linkIconStyle.mobile.js.map +1 -0
- package/dist/components/MobileAppTile/renderList.js +1 -1
- package/dist/components/MobileAppTile/renderList.js.map +1 -1
- package/dist/components/OfficeMap/OfficeMap.js +1 -1
- package/dist/components/OfficeMap/OfficeMap.js.map +1 -1
- package/dist/components/OfficeMap/renderFunctions.js +4 -3
- package/dist/components/OfficeMap/renderFunctions.js.map +1 -1
- package/dist/components/OfficeServicesBlock/OfficeServicesBlock.js +2 -1
- package/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
- package/dist/components/ProductGallery/ProductGallery.js +2 -2
- package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
- package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +1 -1
- package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
- package/dist/components/SafeDepositRental/RentalPeriod.js +1 -1
- package/dist/components/SafeDepositRental/RentalPeriod.js.map +1 -1
- package/dist/components/SafeDepositRental/SafeDepositRental.js +2 -1
- package/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/dist/components/SafeDepositRental/SafeDepositRentalFields.js +2 -1
- package/dist/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
- package/dist/components/SafeDepositRental/SafeDepositRentalTotal.js +2 -2
- package/dist/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
- package/dist/components/StepsBlock/StepsBlockStyleMaps.js +1 -1
- package/dist/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
- package/dist/components/TariffsTable/EmbeddableCellData.js +1 -1
- package/dist/components/TariffsTable/EmbeddableCellData.js.map +1 -1
- package/dist/components/TariffsTable/TableTileHeader.js +1 -1
- package/dist/components/TariffsTable/TableTileHeader.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableRow.js +1 -1
- package/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/dist/components/TextBlock/TextBlock.js +1 -1
- package/dist/components/TextBlock/TextBlock.js.map +1 -1
- package/dist/content-page-repository/transformContentPage.js +15 -5
- package/dist/content-page-repository/transformContentPage.js.map +1 -1
- package/dist/content-page-repository/transformDocument.d.ts +3 -0
- package/{mobile/dist/content-page-repository/transformDocumentLink.js → dist/content-page-repository/transformDocument.js} +11 -11
- package/dist/content-page-repository/transformDocument.js.map +1 -0
- package/dist/hooks/useRouter.d.ts +1 -0
- package/dist/hooks/useRouter.js +3 -0
- package/dist/hooks/useRouter.js.map +1 -1
- package/dist/icons/IconName.d.ts +2 -2
- package/dist/icons/IconName.js +1 -1
- package/dist/icons/IconName.js.map +1 -1
- package/dist/model/Attachment.d.ts +4 -0
- package/dist/model/Attachment.js +2 -0
- package/dist/model/Attachment.js.map +1 -0
- package/dist/setup-fixture.js +4 -1
- package/dist/setup-fixture.js.map +1 -1
- package/dist/ui-kit/Button/ButtonInner.js +1 -1
- package/dist/ui-kit/Button/ButtonInner.js.map +1 -1
- package/dist/ui-kit/Checkbox/Checkbox.js +2 -1
- package/dist/ui-kit/Checkbox/Checkbox.js.map +1 -1
- package/dist/ui-kit/CookiePopup/CookiePopup.js +1 -1
- package/dist/ui-kit/CookiePopup/CookiePopup.js.map +1 -1
- package/dist/ui-kit/Dialog/Dialog.js +1 -1
- package/dist/ui-kit/Dialog/Dialog.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/InnerTable/InnerTableBody.js +2 -1
- package/dist/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
- package/dist/ui-kit/InnerTable/InnerTableBodyItem.js +2 -2
- package/dist/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
- package/dist/ui-kit/InnerTable/InnerTableHeader.js +1 -1
- package/dist/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
- package/dist/ui-kit/InputRange/InputRange.js +1 -1
- package/dist/ui-kit/InputRange/InputRange.js.map +1 -1
- package/dist/ui-kit/LinkButton/LinkButton.js +1 -1
- package/dist/ui-kit/List/List.js +1 -1
- package/dist/ui-kit/List/List.js.map +1 -1
- package/dist/ui-kit/Logo/Logo.js +2 -3
- package/dist/ui-kit/Logo/Logo.js.map +1 -1
- package/dist/ui-kit/Sitemap/Sitemap.js +1 -1
- package/dist/ui-kit/Sitemap/Sitemap.js.map +1 -1
- package/dist/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +1 -2
- package/dist/ui-kit/Tags/Tags.js +1 -1
- package/dist/ui-kit/Tags/Tags.js.map +1 -1
- package/dist/ui-kit/Text/TextProps.d.ts +2 -2
- package/dist/ui-kit/TopItem/TopItem.js +2 -1
- package/dist/ui-kit/TopItem/TopItem.js.map +1 -1
- package/lib/common.css +1 -1
- package/lib/components/ApplicationForm/Footnote.js +1 -1
- package/lib/components/ApplicationForm/Footnote.js.map +1 -1
- package/lib/components/ApplicationForm/InputControl.js +1 -1
- package/lib/components/ApplicationForm/InputControl.js.map +1 -1
- package/lib/components/ApplicationForm/PhoneInputControl.js +1 -1
- package/lib/components/ApplicationForm/PhoneInputControl.js.map +1 -1
- package/lib/components/ApplicationForm/ResponseNotification.js +1 -1
- package/lib/components/ApplicationForm/ResponseNotification.js.map +1 -1
- package/lib/components/ApplicationForm/SelectControl.js +1 -1
- package/lib/components/ApplicationForm/SelectControl.js.map +1 -1
- package/lib/components/ApplicationForm/renderCreditParameters.js +1 -1
- package/lib/components/ApplicationForm/renderCreditParameters.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.mobile.js +8 -0
- package/lib/components/Blocks.mobile.js.map +1 -1
- package/lib/components/BusinessBlock/BusinessCard.js +2 -1
- package/lib/components/BusinessBlock/BusinessCard.js.map +1 -1
- package/lib/components/Calculator/Calculator.js +2 -2
- package/lib/components/Calculator/Calculator.js.map +1 -1
- package/lib/components/Calculator/CalculatorValueBlock.js +1 -1
- package/lib/components/Calculator/CalculatorValueBlock.js.map +1 -1
- package/lib/components/Calculator/Rate.js +1 -1
- package/lib/components/Calculator/Rate.js.map +1 -1
- package/lib/components/Calculator/UnknownRate.js +1 -1
- package/lib/components/Calculator/UnknownRate.js.map +1 -1
- package/lib/components/Calculator/renderFootnote.js +1 -1
- package/lib/components/Calculator/renderFootnote.js.map +1 -1
- package/lib/components/Calculator/renderProposal.js +2 -1
- package/lib/components/Calculator/renderProposal.js.map +1 -1
- package/lib/components/Carousel/Carousel.fixture.mobile.d.ts +7 -4
- package/lib/components/Carousel/Carousel.js +19 -7
- package/lib/components/Carousel/Carousel.js.map +1 -1
- package/lib/components/Carousel/CarouselContent.d.ts +4 -0
- package/lib/components/Carousel/CarouselScrollButtons.d.ts +1 -2
- package/lib/components/Carousel/itemsGap.d.ts +1 -1
- package/lib/components/Carousel/itemsGap.js +1 -1
- package/lib/components/Carousel/itemsGap.js.map +1 -1
- package/lib/components/Carousel/renderControlButtons.d.ts +10 -0
- package/lib/components/Carousel/renderControlButtons.js +10 -0
- package/lib/components/Carousel/renderControlButtons.js.map +1 -0
- package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.fixture.d.ts +1 -0
- package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.fixture.mobile.d.ts +8 -0
- package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.mobile.d.ts +6 -0
- package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.mobile.js +7 -0
- package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.mobile.js.map +1 -0
- package/lib/components/CarouselLinks/CarouselLinks.js +1 -1
- package/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
- package/lib/components/ComparisonTable/ComparisonTable.js +2 -1
- package/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
- package/lib/components/ComparisonTable/HeaderCell.js +1 -1
- package/lib/components/ComparisonTable/HeaderCell.js.map +1 -1
- package/lib/components/ErrorBlock/ErrorBlock.js +2 -1
- package/lib/components/ErrorBlock/ErrorBlock.js.map +1 -1
- package/lib/components/ExchangeRateOffice/ExchangeRateOffice.js +1 -1
- package/lib/components/ExchangeRateOffice/ExchangeRateOffice.js.map +1 -1
- package/lib/components/ExchangeRateOffice/renderTableHeader.js +1 -1
- package/lib/components/ExchangeRateOffice/renderTableHeader.js.map +1 -1
- package/lib/components/ExchangeRateTile/CurrencyTable.js +1 -1
- package/lib/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
- package/lib/components/Footer/Contacts.js +2 -2
- package/lib/components/Footer/Contacts.js.map +1 -1
- package/lib/components/Footer/HorizontalNavigation.js +1 -1
- package/lib/components/Footer/HorizontalNavigation.js.map +1 -1
- package/lib/components/Footer/SocialMedia.js +1 -1
- package/lib/components/Footer/SocialMedia.js.map +1 -1
- package/lib/components/Footer/TextInformation.js +1 -2
- package/lib/components/Footer/TextInformation.js.map +1 -1
- package/lib/components/Footer/TextInformationLink.js +1 -1
- package/lib/components/Footer/TextInformationLink.js.map +1 -1
- package/lib/components/GracePeriod/GracePeriod.js +1 -1
- package/lib/components/GracePeriod/GracePeriod.js.map +1 -1
- package/lib/components/Header/DropdownMenu.js +1 -1
- package/lib/components/Header/DropdownMenu.js.map +1 -1
- package/lib/components/Header/Header.fixture.mobile.d.ts +0 -2
- package/lib/components/Header/Header.mobile.js +2 -2
- package/lib/components/Header/Header.mobile.js.map +1 -1
- package/lib/components/Header/HeaderContent.d.ts +1 -13
- package/lib/components/Header/HeaderTop.d.ts +1 -3
- package/lib/components/Header/HeaderTop.js +10 -5
- 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/Headline/HeadlineContent.d.ts +1 -2
- package/lib/components/Headline/headlineVersionStyles.d.ts +2 -1
- package/lib/components/Headline/headlineVersionStyles.js +11 -5
- package/lib/components/Headline/headlineVersionStyles.js.map +1 -1
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +1 -1
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
- package/lib/components/InvestmentInfo/InvestmentInfo.js +1 -1
- package/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
- package/lib/components/LinkDocs/LinkDocItem.d.ts +6 -0
- package/{mobile/lib/components/LinkDocs/LinkDocsListItem.js → lib/components/LinkDocs/LinkDocItem.js} +2 -5
- package/lib/components/LinkDocs/LinkDocItem.js.map +1 -0
- package/lib/components/LinkDocs/LinkDocs.js +16 -4
- package/lib/components/LinkDocs/LinkDocs.js.map +1 -1
- package/lib/components/LinkDocs/LinkDocsContent.d.ts +30 -6
- package/lib/components/LinkDocs/linkDocsContentExample.js +20 -8
- package/lib/components/LinkDocs/linkDocsContentExample.js.map +1 -1
- package/lib/components/LinkDocs/linkIconStyle.d.ts +1 -0
- package/lib/components/LinkDocs/linkIconStyle.js +2 -0
- package/lib/components/LinkDocs/linkIconStyle.js.map +1 -0
- package/lib/components/LinkDocs/linkIconStyle.mobile.d.ts +1 -0
- package/lib/components/LinkDocs/linkIconStyle.mobile.js +2 -0
- package/lib/components/LinkDocs/linkIconStyle.mobile.js.map +1 -0
- package/lib/components/MobileAppTile/renderList.js +1 -1
- package/lib/components/MobileAppTile/renderList.js.map +1 -1
- package/lib/components/OfficeMap/OfficeMap.js +1 -1
- package/lib/components/OfficeMap/OfficeMap.js.map +1 -1
- package/lib/components/OfficeMap/renderFunctions.js +4 -3
- package/lib/components/OfficeMap/renderFunctions.js.map +1 -1
- package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js +2 -1
- package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
- package/lib/components/ProductGallery/ProductGallery.js +2 -2
- package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
- package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +1 -1
- package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
- package/lib/components/SafeDepositRental/RentalPeriod.js +1 -1
- package/lib/components/SafeDepositRental/RentalPeriod.js.map +1 -1
- package/lib/components/SafeDepositRental/SafeDepositRental.js +2 -1
- package/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/lib/components/SafeDepositRental/SafeDepositRentalFields.js +2 -1
- package/lib/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
- package/lib/components/SafeDepositRental/SafeDepositRentalTotal.js +2 -2
- package/lib/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
- package/lib/components/StepsBlock/StepsBlockStyleMaps.js +1 -1
- package/lib/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
- package/lib/components/TariffsTable/EmbeddableCellData.js +1 -1
- package/lib/components/TariffsTable/EmbeddableCellData.js.map +1 -1
- package/lib/components/TariffsTable/TableTileHeader.js +1 -1
- package/lib/components/TariffsTable/TableTileHeader.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTableRow.js +1 -1
- package/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/lib/components/TextBlock/TextBlock.js +1 -1
- package/lib/components/TextBlock/TextBlock.js.map +1 -1
- package/lib/content-page-repository/transformContentPage.js +15 -5
- package/lib/content-page-repository/transformContentPage.js.map +1 -1
- package/lib/content-page-repository/transformDocument.d.ts +3 -0
- package/{mobile/lib/content-page-repository/transformDocumentLink.js → lib/content-page-repository/transformDocument.js} +9 -9
- package/lib/content-page-repository/transformDocument.js.map +1 -0
- package/lib/hooks/useRouter.d.ts +1 -0
- package/lib/hooks/useRouter.js +3 -0
- package/lib/hooks/useRouter.js.map +1 -1
- package/lib/icons/IconName.d.ts +2 -2
- package/lib/icons/IconName.js +1 -1
- package/lib/icons/IconName.js.map +1 -1
- package/lib/model/Attachment.d.ts +4 -0
- package/lib/model/Attachment.js +2 -0
- package/lib/model/Attachment.js.map +1 -0
- package/lib/setup-fixture.js +4 -1
- package/lib/setup-fixture.js.map +1 -1
- package/lib/ui-kit/Button/ButtonInner.js +1 -1
- package/lib/ui-kit/Button/ButtonInner.js.map +1 -1
- package/lib/ui-kit/Checkbox/Checkbox.js +2 -1
- package/lib/ui-kit/Checkbox/Checkbox.js.map +1 -1
- package/lib/ui-kit/CookiePopup/CookiePopup.js +1 -1
- package/lib/ui-kit/CookiePopup/CookiePopup.js.map +1 -1
- package/lib/ui-kit/Dialog/Dialog.js +1 -1
- package/lib/ui-kit/Dialog/Dialog.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/InnerTable/InnerTableBody.js +2 -1
- package/lib/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
- package/lib/ui-kit/InnerTable/InnerTableBodyItem.js +2 -2
- package/lib/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
- package/lib/ui-kit/InnerTable/InnerTableHeader.js +1 -1
- package/lib/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
- package/lib/ui-kit/InputRange/InputRange.js +1 -1
- package/lib/ui-kit/InputRange/InputRange.js.map +1 -1
- package/lib/ui-kit/LinkButton/LinkButton.js +1 -1
- package/lib/ui-kit/List/List.js +1 -1
- package/lib/ui-kit/List/List.js.map +1 -1
- package/lib/ui-kit/Logo/Logo.js +2 -3
- package/lib/ui-kit/Logo/Logo.js.map +1 -1
- package/lib/ui-kit/Sitemap/Sitemap.js +1 -1
- package/lib/ui-kit/Sitemap/Sitemap.js.map +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +1 -2
- package/lib/ui-kit/Tags/Tags.js +1 -1
- package/lib/ui-kit/Tags/Tags.js.map +1 -1
- package/lib/ui-kit/Text/TextProps.d.ts +2 -2
- package/lib/ui-kit/TopItem/TopItem.js +2 -1
- package/lib/ui-kit/TopItem/TopItem.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +146 -40
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/Carousel/CarouselContent.d.ts +4 -0
- package/mobile/bundle/components/Carousel/CarouselScrollButtons.d.ts +1 -2
- package/mobile/bundle/components/Carousel/renderControlButtons.d.ts +11 -0
- package/mobile/bundle/components/CarouselBankHistoryCard/CarouselBankHistoryCard.d.ts +1 -3
- package/mobile/bundle/components/Header/HeaderContent.d.ts +1 -13
- package/mobile/bundle/components/Header/HeaderTop.d.ts +1 -3
- package/mobile/bundle/components/Headline/HeadlineContent.d.ts +1 -2
- package/mobile/bundle/components/Headline/headlineVersionStyles.d.ts +2 -1
- package/mobile/bundle/components/LinkDocs/LinkDocItem.d.ts +6 -0
- package/mobile/bundle/components/LinkDocs/LinkDocsContent.d.ts +30 -6
- package/mobile/bundle/components/LinkDocs/linkIconStyle.d.ts +1 -0
- package/mobile/bundle/content-page-repository/transformDocument.d.ts +3 -0
- package/mobile/bundle/hooks/useRouter.d.ts +1 -0
- package/mobile/bundle/icons/IconName.d.ts +2 -2
- package/mobile/bundle/model/Attachment.d.ts +4 -0
- package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +1 -2
- package/mobile/bundle/ui-kit/Text/TextProps.d.ts +2 -2
- package/mobile/dist/components/ApplicationForm/Footnote.js +1 -1
- package/mobile/dist/components/ApplicationForm/Footnote.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/InputControl.js +1 -1
- package/mobile/dist/components/ApplicationForm/InputControl.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/PhoneInputControl.js +1 -1
- package/mobile/dist/components/ApplicationForm/PhoneInputControl.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ResponseNotification.js +1 -1
- package/mobile/dist/components/ApplicationForm/ResponseNotification.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/SelectControl.js +1 -1
- package/mobile/dist/components/ApplicationForm/SelectControl.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/renderCreditParameters.js +1 -1
- package/mobile/dist/components/ApplicationForm/renderCreditParameters.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/Blocks.js +8 -0
- package/mobile/dist/components/Blocks.js.map +1 -1
- package/mobile/dist/components/BusinessBlock/BusinessCard.js +2 -1
- package/mobile/dist/components/BusinessBlock/BusinessCard.js.map +1 -1
- package/mobile/dist/components/Calculator/Calculator.js +2 -2
- package/mobile/dist/components/Calculator/Calculator.js.map +1 -1
- package/mobile/dist/components/Calculator/CalculatorValueBlock.js +1 -1
- package/mobile/dist/components/Calculator/CalculatorValueBlock.js.map +1 -1
- package/mobile/dist/components/Calculator/Rate.js +1 -1
- package/mobile/dist/components/Calculator/Rate.js.map +1 -1
- package/mobile/dist/components/Calculator/UnknownRate.js +1 -1
- package/mobile/dist/components/Calculator/UnknownRate.js.map +1 -1
- package/mobile/dist/components/Calculator/renderFootnote.js +1 -1
- package/mobile/dist/components/Calculator/renderFootnote.js.map +1 -1
- package/mobile/dist/components/Calculator/renderProposal.js +2 -1
- package/mobile/dist/components/Calculator/renderProposal.js.map +1 -1
- package/mobile/dist/components/Carousel/Carousel.js +19 -7
- package/mobile/dist/components/Carousel/Carousel.js.map +1 -1
- package/mobile/dist/components/Carousel/CarouselContent.d.ts +4 -0
- package/mobile/dist/components/Carousel/CarouselScrollButtons.d.ts +1 -2
- package/mobile/dist/components/Carousel/renderControlButtons.d.ts +11 -0
- package/mobile/dist/components/Carousel/renderControlButtons.js +13 -0
- package/mobile/dist/components/Carousel/renderControlButtons.js.map +1 -0
- package/mobile/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.d.ts +1 -3
- package/mobile/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +1 -40
- package/mobile/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
- package/mobile/dist/components/CarouselLinks/CarouselLinks.js +1 -1
- package/mobile/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
- package/mobile/dist/components/ErrorBlock/ErrorBlock.js +2 -1
- package/mobile/dist/components/ErrorBlock/ErrorBlock.js.map +1 -1
- package/mobile/dist/components/ExchangeRateOffice/ExchangeRateOffice.js +1 -1
- package/mobile/dist/components/ExchangeRateOffice/ExchangeRateOffice.js.map +1 -1
- package/mobile/dist/components/ExchangeRateOffice/renderTableHeader.js +1 -1
- package/mobile/dist/components/ExchangeRateOffice/renderTableHeader.js.map +1 -1
- package/mobile/dist/components/ExchangeRateTile/CurrencyTable.js +1 -1
- package/mobile/dist/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
- package/mobile/dist/components/Footer/Contacts.js +2 -2
- package/mobile/dist/components/Footer/Contacts.js.map +1 -1
- package/mobile/dist/components/Footer/TextInformation.js +1 -2
- package/mobile/dist/components/Footer/TextInformation.js.map +1 -1
- package/mobile/dist/components/Footer/TextInformationLink.js +1 -1
- package/mobile/dist/components/Footer/TextInformationLink.js.map +1 -1
- package/mobile/dist/components/GracePeriod/GracePeriod.js +1 -1
- package/mobile/dist/components/GracePeriod/GracePeriod.js.map +1 -1
- package/mobile/dist/components/Header/DropdownMenu.js +1 -1
- package/mobile/dist/components/Header/DropdownMenu.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/HeaderContent.d.ts +1 -13
- package/mobile/dist/components/Header/HeaderTop.d.ts +1 -3
- package/mobile/dist/components/Header/HeaderTop.js +10 -5
- package/mobile/dist/components/Header/HeaderTop.js.map +1 -1
- package/mobile/dist/components/Headline/Headline.js +1 -1
- package/mobile/dist/components/Headline/Headline.js.map +1 -1
- package/mobile/dist/components/Headline/HeadlineContent.d.ts +1 -2
- package/mobile/dist/components/Headline/headlineVersionStyles.d.ts +2 -1
- package/mobile/dist/components/Headline/headlineVersionStyles.js +11 -5
- package/mobile/dist/components/Headline/headlineVersionStyles.js.map +1 -1
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +1 -1
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
- package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js +1 -1
- package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocItem.d.ts +6 -0
- package/mobile/dist/components/LinkDocs/LinkDocItem.js +20 -0
- package/mobile/dist/components/LinkDocs/LinkDocItem.js.map +1 -0
- package/mobile/dist/components/LinkDocs/LinkDocs.js +19 -2
- package/mobile/dist/components/LinkDocs/LinkDocs.js.map +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocsContent.d.ts +30 -6
- package/mobile/dist/components/LinkDocs/linkDocsContentExample.js +20 -8
- package/mobile/dist/components/LinkDocs/linkDocsContentExample.js.map +1 -1
- package/mobile/dist/components/LinkDocs/linkIconStyle.d.ts +1 -0
- package/mobile/dist/components/LinkDocs/linkIconStyle.js +4 -0
- package/mobile/dist/components/LinkDocs/linkIconStyle.js.map +1 -0
- package/mobile/dist/components/MobileAppTile/renderList.js +1 -1
- package/mobile/dist/components/MobileAppTile/renderList.js.map +1 -1
- package/mobile/dist/components/OfficeMap/OfficeMap.js +1 -1
- package/mobile/dist/components/OfficeMap/OfficeMap.js.map +1 -1
- package/mobile/dist/components/OfficeMap/renderFunctions.js +4 -3
- package/mobile/dist/components/OfficeMap/renderFunctions.js.map +1 -1
- package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js +2 -1
- package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
- package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +1 -1
- package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
- package/mobile/dist/components/SafeDepositRental/RentalPeriod.js +1 -1
- package/mobile/dist/components/SafeDepositRental/RentalPeriod.js.map +1 -1
- package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js +2 -1
- package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalFields.js +2 -1
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTotal.js +2 -2
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
- package/mobile/dist/components/StepsBlock/StepsBlockStyleMaps.js +1 -1
- package/mobile/dist/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TableTileHeader.js +1 -1
- package/mobile/dist/components/TariffsTable/TableTileHeader.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableRow.js +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/mobile/dist/components/TextBlock/TextBlock.js +1 -1
- package/mobile/dist/components/TextBlock/TextBlock.js.map +1 -1
- package/mobile/dist/content-page-repository/transformContentPage.js +15 -5
- package/mobile/dist/content-page-repository/transformContentPage.js.map +1 -1
- package/mobile/dist/content-page-repository/transformDocument.d.ts +3 -0
- package/{dist/content-page-repository/transformDocumentLink.js → mobile/dist/content-page-repository/transformDocument.js} +11 -11
- package/mobile/dist/content-page-repository/transformDocument.js.map +1 -0
- package/mobile/dist/hooks/useRouter.d.ts +1 -0
- package/mobile/dist/hooks/useRouter.js +3 -0
- package/mobile/dist/hooks/useRouter.js.map +1 -1
- package/mobile/dist/icons/IconName.d.ts +2 -2
- package/mobile/dist/icons/IconName.js +1 -1
- package/mobile/dist/icons/IconName.js.map +1 -1
- package/mobile/dist/model/Attachment.d.ts +4 -0
- package/mobile/dist/model/Attachment.js +2 -0
- package/mobile/dist/model/Attachment.js.map +1 -0
- package/mobile/dist/setup-fixture.js +4 -1
- package/mobile/dist/setup-fixture.js.map +1 -1
- package/mobile/dist/ui-kit/Button/ButtonInner.js +1 -1
- package/mobile/dist/ui-kit/Button/ButtonInner.js.map +1 -1
- package/mobile/dist/ui-kit/Checkbox/Checkbox.js +2 -1
- package/mobile/dist/ui-kit/Checkbox/Checkbox.js.map +1 -1
- package/mobile/dist/ui-kit/CookiePopup/CookiePopup.js +1 -1
- package/mobile/dist/ui-kit/CookiePopup/CookiePopup.js.map +1 -1
- package/mobile/dist/ui-kit/Dialog/Dialog.js +1 -1
- package/mobile/dist/ui-kit/Dialog/Dialog.js.map +1 -1
- package/mobile/dist/ui-kit/InnerTable/InnerTableBody.js +2 -1
- package/mobile/dist/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
- package/mobile/dist/ui-kit/InnerTable/InnerTableBodyItem.js +2 -2
- package/mobile/dist/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
- package/mobile/dist/ui-kit/InnerTable/InnerTableHeader.js +1 -1
- package/mobile/dist/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
- package/mobile/dist/ui-kit/InputRange/InputRange.js +1 -1
- package/mobile/dist/ui-kit/InputRange/InputRange.js.map +1 -1
- package/mobile/dist/ui-kit/LinkButton/LinkButton.js +1 -1
- package/mobile/dist/ui-kit/List/List.js +1 -1
- package/mobile/dist/ui-kit/List/List.js.map +1 -1
- package/mobile/dist/ui-kit/Sitemap/Sitemap.js +1 -1
- package/mobile/dist/ui-kit/Sitemap/Sitemap.js.map +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +1 -2
- package/mobile/dist/ui-kit/Tags/Tags.js +1 -1
- package/mobile/dist/ui-kit/Tags/Tags.js.map +1 -1
- package/mobile/dist/ui-kit/Text/TextProps.d.ts +2 -2
- package/mobile/dist/ui-kit/TopItem/TopItem.js +2 -1
- package/mobile/dist/ui-kit/TopItem/TopItem.js.map +1 -1
- package/mobile/lib/common.css +1 -1
- package/mobile/lib/components/ApplicationForm/Footnote.js +1 -1
- package/mobile/lib/components/ApplicationForm/Footnote.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/InputControl.js +1 -1
- package/mobile/lib/components/ApplicationForm/InputControl.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/PhoneInputControl.js +1 -1
- package/mobile/lib/components/ApplicationForm/PhoneInputControl.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/ResponseNotification.js +1 -1
- package/mobile/lib/components/ApplicationForm/ResponseNotification.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/SelectControl.js +1 -1
- package/mobile/lib/components/ApplicationForm/SelectControl.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/renderCreditParameters.js +1 -1
- package/mobile/lib/components/ApplicationForm/renderCreditParameters.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/Blocks.js +8 -0
- package/mobile/lib/components/Blocks.js.map +1 -1
- package/mobile/lib/components/BusinessBlock/BusinessCard.js +2 -1
- package/mobile/lib/components/BusinessBlock/BusinessCard.js.map +1 -1
- package/mobile/lib/components/Calculator/Calculator.js +2 -2
- package/mobile/lib/components/Calculator/Calculator.js.map +1 -1
- package/mobile/lib/components/Calculator/CalculatorValueBlock.js +1 -1
- package/mobile/lib/components/Calculator/CalculatorValueBlock.js.map +1 -1
- package/mobile/lib/components/Calculator/Rate.js +1 -1
- package/mobile/lib/components/Calculator/Rate.js.map +1 -1
- package/mobile/lib/components/Calculator/UnknownRate.js +1 -1
- package/mobile/lib/components/Calculator/UnknownRate.js.map +1 -1
- package/mobile/lib/components/Calculator/renderFootnote.js +1 -1
- package/mobile/lib/components/Calculator/renderFootnote.js.map +1 -1
- package/mobile/lib/components/Calculator/renderProposal.js +2 -1
- package/mobile/lib/components/Calculator/renderProposal.js.map +1 -1
- package/mobile/lib/components/Carousel/Carousel.js +19 -7
- package/mobile/lib/components/Carousel/Carousel.js.map +1 -1
- package/mobile/lib/components/Carousel/CarouselContent.d.ts +4 -0
- package/mobile/lib/components/Carousel/CarouselScrollButtons.d.ts +1 -2
- package/mobile/lib/components/Carousel/renderControlButtons.d.ts +11 -0
- package/mobile/lib/components/Carousel/renderControlButtons.js +10 -0
- package/mobile/lib/components/Carousel/renderControlButtons.js.map +1 -0
- package/mobile/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.d.ts +1 -3
- package/mobile/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +1 -40
- package/mobile/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
- package/mobile/lib/components/CarouselLinks/CarouselLinks.js +1 -1
- package/mobile/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
- package/mobile/lib/components/ErrorBlock/ErrorBlock.js +2 -1
- package/mobile/lib/components/ErrorBlock/ErrorBlock.js.map +1 -1
- package/mobile/lib/components/ExchangeRateOffice/ExchangeRateOffice.js +1 -1
- package/mobile/lib/components/ExchangeRateOffice/ExchangeRateOffice.js.map +1 -1
- package/mobile/lib/components/ExchangeRateOffice/renderTableHeader.js +1 -1
- package/mobile/lib/components/ExchangeRateOffice/renderTableHeader.js.map +1 -1
- package/mobile/lib/components/ExchangeRateTile/CurrencyTable.js +1 -1
- package/mobile/lib/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
- package/mobile/lib/components/Footer/Contacts.js +2 -2
- package/mobile/lib/components/Footer/Contacts.js.map +1 -1
- package/mobile/lib/components/Footer/TextInformation.js +1 -2
- package/mobile/lib/components/Footer/TextInformation.js.map +1 -1
- package/mobile/lib/components/Footer/TextInformationLink.js +1 -1
- package/mobile/lib/components/Footer/TextInformationLink.js.map +1 -1
- package/mobile/lib/components/GracePeriod/GracePeriod.js +1 -1
- package/mobile/lib/components/GracePeriod/GracePeriod.js.map +1 -1
- package/mobile/lib/components/Header/DropdownMenu.js +1 -1
- package/mobile/lib/components/Header/DropdownMenu.js.map +1 -1
- package/mobile/lib/components/Header/Header.js +2 -2
- package/mobile/lib/components/Header/Header.js.map +1 -1
- package/mobile/lib/components/Header/HeaderContent.d.ts +1 -13
- package/mobile/lib/components/Header/HeaderTop.d.ts +1 -3
- package/mobile/lib/components/Header/HeaderTop.js +10 -5
- package/mobile/lib/components/Header/HeaderTop.js.map +1 -1
- package/mobile/lib/components/Headline/Headline.js +1 -1
- package/mobile/lib/components/Headline/Headline.js.map +1 -1
- package/mobile/lib/components/Headline/HeadlineContent.d.ts +1 -2
- package/mobile/lib/components/Headline/headlineVersionStyles.d.ts +2 -1
- package/mobile/lib/components/Headline/headlineVersionStyles.js +11 -5
- package/mobile/lib/components/Headline/headlineVersionStyles.js.map +1 -1
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +1 -1
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
- package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js +1 -1
- package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocItem.d.ts +6 -0
- package/{lib/components/LinkDocs/LinkDocsListItem.js → mobile/lib/components/LinkDocs/LinkDocItem.js} +2 -5
- package/mobile/lib/components/LinkDocs/LinkDocItem.js.map +1 -0
- package/mobile/lib/components/LinkDocs/LinkDocs.js +19 -2
- package/mobile/lib/components/LinkDocs/LinkDocs.js.map +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocsContent.d.ts +30 -6
- package/mobile/lib/components/LinkDocs/linkDocsContentExample.js +20 -8
- package/mobile/lib/components/LinkDocs/linkDocsContentExample.js.map +1 -1
- package/mobile/lib/components/LinkDocs/linkIconStyle.d.ts +1 -0
- package/mobile/lib/components/LinkDocs/linkIconStyle.js +2 -0
- package/mobile/lib/components/LinkDocs/linkIconStyle.js.map +1 -0
- package/mobile/lib/components/MobileAppTile/renderList.js +1 -1
- package/mobile/lib/components/MobileAppTile/renderList.js.map +1 -1
- package/mobile/lib/components/OfficeMap/OfficeMap.js +1 -1
- package/mobile/lib/components/OfficeMap/OfficeMap.js.map +1 -1
- package/mobile/lib/components/OfficeMap/renderFunctions.js +4 -3
- package/mobile/lib/components/OfficeMap/renderFunctions.js.map +1 -1
- package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js +2 -1
- package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
- package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +1 -1
- package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
- package/mobile/lib/components/SafeDepositRental/RentalPeriod.js +1 -1
- package/mobile/lib/components/SafeDepositRental/RentalPeriod.js.map +1 -1
- package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js +2 -1
- package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalFields.js +2 -1
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTotal.js +2 -2
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
- package/mobile/lib/components/StepsBlock/StepsBlockStyleMaps.js +1 -1
- package/mobile/lib/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TableTileHeader.js +1 -1
- package/mobile/lib/components/TariffsTable/TableTileHeader.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableRow.js +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/mobile/lib/components/TextBlock/TextBlock.js +1 -1
- package/mobile/lib/components/TextBlock/TextBlock.js.map +1 -1
- package/mobile/lib/content-page-repository/transformContentPage.js +15 -5
- package/mobile/lib/content-page-repository/transformContentPage.js.map +1 -1
- package/mobile/lib/content-page-repository/transformDocument.d.ts +3 -0
- package/{lib/content-page-repository/transformDocumentLink.js → mobile/lib/content-page-repository/transformDocument.js} +9 -9
- package/mobile/lib/content-page-repository/transformDocument.js.map +1 -0
- package/mobile/lib/hooks/useRouter.d.ts +1 -0
- package/mobile/lib/hooks/useRouter.js +3 -0
- package/mobile/lib/hooks/useRouter.js.map +1 -1
- package/mobile/lib/icons/IconName.d.ts +2 -2
- package/mobile/lib/icons/IconName.js +1 -1
- package/mobile/lib/icons/IconName.js.map +1 -1
- package/mobile/lib/model/Attachment.d.ts +4 -0
- package/mobile/lib/model/Attachment.js +2 -0
- package/mobile/lib/model/Attachment.js.map +1 -0
- package/mobile/lib/setup-fixture.js +4 -1
- package/mobile/lib/setup-fixture.js.map +1 -1
- package/mobile/lib/ui-kit/Button/ButtonInner.js +1 -1
- package/mobile/lib/ui-kit/Button/ButtonInner.js.map +1 -1
- package/mobile/lib/ui-kit/Checkbox/Checkbox.js +2 -1
- package/mobile/lib/ui-kit/Checkbox/Checkbox.js.map +1 -1
- package/mobile/lib/ui-kit/CookiePopup/CookiePopup.js +1 -1
- package/mobile/lib/ui-kit/CookiePopup/CookiePopup.js.map +1 -1
- package/mobile/lib/ui-kit/Dialog/Dialog.js +1 -1
- package/mobile/lib/ui-kit/Dialog/Dialog.js.map +1 -1
- package/mobile/lib/ui-kit/InnerTable/InnerTableBody.js +2 -1
- package/mobile/lib/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
- package/mobile/lib/ui-kit/InnerTable/InnerTableBodyItem.js +2 -2
- package/mobile/lib/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
- package/mobile/lib/ui-kit/InnerTable/InnerTableHeader.js +1 -1
- package/mobile/lib/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
- package/mobile/lib/ui-kit/InputRange/InputRange.js +1 -1
- package/mobile/lib/ui-kit/InputRange/InputRange.js.map +1 -1
- package/mobile/lib/ui-kit/LinkButton/LinkButton.js +1 -1
- package/mobile/lib/ui-kit/List/List.js +1 -1
- package/mobile/lib/ui-kit/List/List.js.map +1 -1
- package/mobile/lib/ui-kit/Sitemap/Sitemap.js +1 -1
- package/mobile/lib/ui-kit/Sitemap/Sitemap.js.map +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +1 -2
- package/mobile/lib/ui-kit/Tags/Tags.js +1 -1
- package/mobile/lib/ui-kit/Tags/Tags.js.map +1 -1
- package/mobile/lib/ui-kit/Text/TextProps.d.ts +2 -2
- package/mobile/lib/ui-kit/TopItem/TopItem.js +2 -1
- package/mobile/lib/ui-kit/TopItem/TopItem.js.map +1 -1
- package/mobile/src/components/ApplicationForm/Footnote.tsx +1 -1
- package/mobile/src/components/ApplicationForm/InputControl.tsx +1 -1
- package/mobile/src/components/ApplicationForm/PhoneInputControl.tsx +1 -1
- package/mobile/src/components/ApplicationForm/ResponseNotification.tsx +1 -1
- package/mobile/src/components/ApplicationForm/SelectControl.tsx +1 -1
- package/mobile/src/components/ApplicationForm/renderCreditParameters.tsx +6 -2
- package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
- package/mobile/src/components/Blocks.ts +8 -0
- package/mobile/src/components/BusinessBlock/BusinessCard.tsx +4 -1
- package/mobile/src/components/Calculator/Calculator.tsx +2 -2
- package/mobile/src/components/Calculator/CalculatorValueBlock.tsx +1 -1
- package/mobile/src/components/Calculator/Rate.tsx +1 -1
- package/mobile/src/components/Calculator/UnknownRate.tsx +2 -2
- package/mobile/src/components/Calculator/renderFootnote.tsx +1 -1
- package/mobile/src/components/Calculator/renderProposal.tsx +6 -1
- package/mobile/src/components/Carousel/Carousel.tsx +21 -29
- package/mobile/src/components/Carousel/CarouselContent.ts +4 -0
- package/mobile/src/components/Carousel/CarouselScrollButtons.tsx +1 -1
- package/mobile/src/components/Carousel/renderControlButtons.tsx +24 -0
- package/mobile/src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.tsx +14 -76
- package/mobile/src/components/CarouselLinks/CarouselLinks.tsx +1 -1
- package/mobile/src/components/ErrorBlock/ErrorBlock.tsx +6 -1
- package/mobile/src/components/ExchangeRateOffice/ExchangeRateOffice.tsx +7 -2
- package/mobile/src/components/ExchangeRateOffice/renderTableHeader.tsx +1 -1
- package/mobile/src/components/ExchangeRateTile/CurrencyTable.tsx +1 -1
- package/mobile/src/components/Footer/Contacts.tsx +2 -2
- package/mobile/src/components/Footer/TextInformation.tsx +1 -2
- package/mobile/src/components/Footer/TextInformationLink.tsx +1 -1
- package/mobile/src/components/GracePeriod/GracePeriod.tsx +1 -1
- package/mobile/src/components/Header/DropdownMenu.tsx +1 -1
- package/mobile/src/components/Header/Header.tsx +1 -7
- package/mobile/src/components/Header/HeaderContent.ts +1 -15
- package/mobile/src/components/Header/HeaderTop.tsx +41 -50
- package/mobile/src/components/Headline/Headline.example.json +1 -11
- package/mobile/src/components/Headline/Headline.tsx +1 -0
- package/mobile/src/components/Headline/HeadlineContent.ts +1 -3
- package/mobile/src/components/Headline/headlineVersionStyles.ts +13 -6
- package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +1 -1
- package/mobile/src/components/InvestmentInfo/InvestmentInfo.tsx +1 -1
- package/mobile/src/components/LinkDocs/LinkDocItem.tsx +44 -0
- package/mobile/src/components/LinkDocs/LinkDocs.example.json +4 -0
- package/mobile/src/components/LinkDocs/LinkDocs.tsx +65 -36
- package/mobile/src/components/LinkDocs/LinkDocs.ui.json +8 -1
- package/mobile/src/components/LinkDocs/LinkDocsContent.ts +34 -6
- package/mobile/src/components/LinkDocs/linkDocsContentExample.ts +20 -8
- package/mobile/src/components/LinkDocs/linkIconStyle.ts +1 -0
- package/mobile/src/components/MobileAppTile/renderList.tsx +2 -2
- package/mobile/src/components/OfficeMap/OfficeMap.tsx +1 -1
- package/mobile/src/components/OfficeMap/renderFunctions.tsx +8 -7
- package/mobile/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +6 -1
- package/mobile/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.tsx +3 -1
- package/mobile/src/components/SafeDepositRental/RentalPeriod.tsx +1 -1
- package/mobile/src/components/SafeDepositRental/SafeDepositRental.tsx +6 -1
- package/mobile/src/components/SafeDepositRental/SafeDepositRentalFields.tsx +4 -1
- package/mobile/src/components/SafeDepositRental/SafeDepositRentalTotal.tsx +2 -2
- package/mobile/src/components/StepsBlock/StepsBlockStyleMaps.ts +1 -1
- package/mobile/src/components/TariffsTable/TableTileHeader.tsx +5 -1
- package/mobile/src/components/TariffsTable/TariffsTableRow.tsx +1 -1
- package/mobile/src/components/TextBlock/TextBlock.tsx +1 -1
- package/mobile/src/content-page-repository/transformContentPage.ts +17 -7
- package/{src/content-page-repository/transformDocumentLink.ts → mobile/src/content-page-repository/transformDocument.ts} +11 -11
- package/mobile/src/hooks/useRouter.ts +4 -0
- package/mobile/src/icons/ChevronLeft.svg +1 -1
- package/mobile/src/icons/IconName.ts +2 -2
- package/mobile/src/model/Attachment.ts +4 -0
- package/mobile/src/setup-fixture.ts +4 -1
- package/mobile/src/ui-kit/Button/ButtonInner.tsx +1 -1
- package/mobile/src/ui-kit/Checkbox/Checkbox.tsx +8 -1
- package/mobile/src/ui-kit/CookiePopup/CookiePopup.tsx +1 -1
- package/mobile/src/ui-kit/Dialog/Dialog.tsx +1 -1
- package/mobile/src/ui-kit/InnerTable/InnerTableBody.tsx +5 -2
- package/mobile/src/ui-kit/InnerTable/InnerTableBodyItem.tsx +2 -2
- package/mobile/src/ui-kit/InnerTable/InnerTableHeader.tsx +1 -1
- package/mobile/src/ui-kit/InputRange/InputRange.tsx +1 -1
- package/mobile/src/ui-kit/LinkButton/LinkButton.tsx +1 -1
- package/mobile/src/ui-kit/List/List.tsx +1 -1
- package/mobile/src/ui-kit/Sitemap/Sitemap.tsx +1 -1
- package/mobile/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +1 -1
- package/mobile/src/ui-kit/Tags/Tags.tsx +3 -1
- package/mobile/src/ui-kit/Text/TextProps.ts +1 -13
- package/mobile/src/ui-kit/TopItem/TopItem.tsx +2 -1
- package/package.json +1 -1
- package/src/components/ApplicationForm/Footnote.tsx +1 -1
- package/src/components/ApplicationForm/InputControl.tsx +1 -1
- package/src/components/ApplicationForm/PhoneInputControl.tsx +1 -1
- package/src/components/ApplicationForm/ResponseNotification.tsx +1 -1
- package/src/components/ApplicationForm/SelectControl.tsx +1 -1
- package/src/components/ApplicationForm/renderCreditParameters.tsx +6 -2
- package/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
- package/src/components/Blocks.mobile.ts +8 -0
- package/src/components/BusinessBlock/BusinessCard.tsx +4 -1
- package/src/components/Calculator/Calculator.tsx +2 -2
- package/src/components/Calculator/CalculatorValueBlock.tsx +1 -1
- package/src/components/Calculator/Rate.tsx +1 -1
- package/src/components/Calculator/UnknownRate.tsx +2 -2
- package/src/components/Calculator/renderFootnote.tsx +1 -1
- package/src/components/Calculator/renderProposal.tsx +6 -1
- package/src/components/Carousel/Carousel.fixture.mobile.tsx +173 -35
- package/src/components/Carousel/Carousel.fixture.tsx +6 -1
- package/src/components/Carousel/Carousel.tsx +21 -29
- package/src/components/Carousel/CarouselContent.ts +4 -0
- package/src/components/Carousel/CarouselScrollButtons.tsx +1 -1
- package/src/components/Carousel/itemsGap.ts +1 -1
- package/src/components/Carousel/renderControlButtons.tsx +24 -0
- package/src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.fixture.mobile.tsx +18 -0
- package/src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.fixture.tsx +8 -0
- package/src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.mobile.tsx +23 -0
- package/src/components/CarouselLinks/CarouselLinks.tsx +1 -1
- package/src/components/ComparisonTable/ComparisonTable.tsx +4 -3
- package/src/components/ComparisonTable/HeaderCell.tsx +1 -1
- package/src/components/ErrorBlock/ErrorBlock.tsx +6 -1
- package/src/components/ExchangeRateOffice/ExchangeRateOffice.tsx +7 -2
- package/src/components/ExchangeRateOffice/renderTableHeader.tsx +1 -1
- package/src/components/ExchangeRateTile/CurrencyTable.tsx +1 -1
- package/src/components/Footer/Contacts.tsx +2 -2
- package/src/components/Footer/HorizontalNavigation.tsx +1 -1
- package/src/components/Footer/SocialMedia.tsx +1 -1
- package/src/components/Footer/TextInformation.tsx +1 -2
- package/src/components/Footer/TextInformationLink.tsx +1 -1
- package/src/components/GracePeriod/GracePeriod.tsx +1 -1
- package/src/components/Header/DropdownMenu.tsx +1 -1
- package/src/components/Header/Header.fixture.mobile.tsx +0 -5
- package/src/components/Header/Header.mobile.tsx +1 -7
- package/src/components/Header/HeaderContent.ts +1 -15
- package/src/components/Header/HeaderTop.tsx +41 -50
- package/src/components/Headline/Headline.example.json +1 -11
- package/src/components/Headline/Headline.tsx +1 -0
- package/src/components/Headline/HeadlineContent.ts +1 -3
- package/src/components/Headline/headlineVersionStyles.ts +13 -6
- package/src/components/HorizontalLayout/HorizontalLayout.fixture.tsx +3 -3
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +1 -1
- package/src/components/InvestmentInfo/InvestmentInfo.tsx +1 -1
- package/src/components/LinkDocs/LinkDocItem.tsx +44 -0
- package/src/components/LinkDocs/LinkDocs.example.json +4 -0
- package/src/components/LinkDocs/LinkDocs.tsx +58 -36
- package/src/components/LinkDocs/LinkDocs.ui.json +8 -1
- package/src/components/LinkDocs/LinkDocsContent.ts +34 -6
- package/src/components/LinkDocs/linkDocsContentExample.ts +20 -8
- package/src/components/LinkDocs/linkIconStyle.mobile.ts +1 -0
- package/src/components/LinkDocs/linkIconStyle.ts +1 -0
- package/src/components/MobileAppTile/renderList.tsx +2 -2
- package/src/components/OfficeMap/OfficeMap.tsx +1 -1
- package/src/components/OfficeMap/renderFunctions.tsx +8 -7
- package/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +6 -1
- package/src/components/ProductGallery/ProductGallery.tsx +2 -2
- package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.tsx +3 -1
- package/src/components/SafeDepositRental/RentalPeriod.tsx +1 -1
- package/src/components/SafeDepositRental/SafeDepositRental.tsx +6 -1
- package/src/components/SafeDepositRental/SafeDepositRentalFields.tsx +4 -1
- package/src/components/SafeDepositRental/SafeDepositRentalTotal.tsx +2 -2
- package/src/components/StepsBlock/StepsBlockStyleMaps.ts +1 -1
- package/src/components/TariffsTable/EmbeddableCellData.tsx +3 -1
- package/src/components/TariffsTable/TableTileHeader.tsx +5 -1
- package/src/components/TariffsTable/TariffsTableRow.tsx +1 -1
- package/src/components/TextBlock/TextBlock.tsx +1 -1
- package/src/components/VerticalLayout/VerticalLayout.fixture.mobile.tsx +4 -4
- package/src/components/VerticalLayout/VerticalLayout.fixture.tsx +3 -3
- package/src/content-page-repository/transformContentPage.ts +17 -7
- package/{mobile/src/content-page-repository/transformDocumentLink.ts → src/content-page-repository/transformDocument.ts} +11 -11
- package/src/hooks/useRouter.ts +4 -0
- package/src/icons/ChevronLeft.svg +1 -1
- package/src/icons/IconName.ts +386 -6
- package/src/model/Attachment.ts +4 -0
- package/src/setup-fixture.ts +4 -1
- package/src/ui-kit/Button/ButtonInner.tsx +1 -1
- package/src/ui-kit/Checkbox/Checkbox.tsx +8 -1
- package/src/ui-kit/CookiePopup/CookiePopup.tsx +1 -1
- package/src/ui-kit/Dialog/Dialog.tsx +1 -1
- package/src/ui-kit/HeaderItem/HeaderItem.tsx +1 -1
- package/src/ui-kit/InnerTable/InnerTableBody.tsx +5 -2
- package/src/ui-kit/InnerTable/InnerTableBodyItem.tsx +2 -2
- package/src/ui-kit/InnerTable/InnerTableHeader.tsx +1 -1
- package/src/ui-kit/InputRange/InputRange.tsx +1 -1
- package/src/ui-kit/LinkButton/LinkButton.tsx +1 -1
- package/src/ui-kit/List/List.tsx +1 -1
- package/src/ui-kit/Logo/Logo.tsx +13 -14
- package/src/ui-kit/Sitemap/Sitemap.tsx +1 -1
- package/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +1 -1
- package/src/ui-kit/Tags/Tags.tsx +3 -1
- package/src/ui-kit/Text/TextProps.ts +1 -13
- package/src/ui-kit/TopItem/TopItem.tsx +2 -1
- package/tailwind.config.cjs +1 -1
- package/bundle/components/Carousel/itemsGap.mobile.d.ts +0 -1
- package/bundle/components/Footer/textInformationTextSize.d.ts +0 -1
- package/bundle/components/Footer/textInformationTextSize.mobile.d.ts +0 -1
- package/bundle/components/LinkDocs/LinkDocs.mobile.d.ts +0 -5
- package/bundle/components/LinkDocs/LinkDocsListItem.d.ts +0 -7
- package/bundle/content-page-repository/transformDocumentLink.d.ts +0 -3
- package/dist/components/Carousel/itemsGap.mobile.d.ts +0 -1
- package/dist/components/Carousel/itemsGap.mobile.js +0 -4
- package/dist/components/Carousel/itemsGap.mobile.js.map +0 -1
- package/dist/components/Footer/textInformationTextSize.d.ts +0 -1
- package/dist/components/Footer/textInformationTextSize.js +0 -4
- package/dist/components/Footer/textInformationTextSize.js.map +0 -1
- package/dist/components/Footer/textInformationTextSize.mobile.d.ts +0 -1
- package/dist/components/Footer/textInformationTextSize.mobile.js +0 -4
- package/dist/components/Footer/textInformationTextSize.mobile.js.map +0 -1
- package/dist/components/LinkDocs/LinkDocs.mobile.d.ts +0 -5
- package/dist/components/LinkDocs/LinkDocs.mobile.js +0 -10
- package/dist/components/LinkDocs/LinkDocs.mobile.js.map +0 -1
- package/dist/components/LinkDocs/LinkDocsListItem.d.ts +0 -7
- package/dist/components/LinkDocs/LinkDocsListItem.js +0 -23
- package/dist/components/LinkDocs/LinkDocsListItem.js.map +0 -1
- package/dist/content-page-repository/transformDocumentLink.d.ts +0 -3
- package/dist/content-page-repository/transformDocumentLink.js.map +0 -1
- package/lib/components/Carousel/itemsGap.mobile.d.ts +0 -1
- package/lib/components/Carousel/itemsGap.mobile.js +0 -2
- package/lib/components/Carousel/itemsGap.mobile.js.map +0 -1
- package/lib/components/Footer/textInformationTextSize.d.ts +0 -1
- package/lib/components/Footer/textInformationTextSize.js +0 -2
- package/lib/components/Footer/textInformationTextSize.js.map +0 -1
- package/lib/components/Footer/textInformationTextSize.mobile.d.ts +0 -1
- package/lib/components/Footer/textInformationTextSize.mobile.js +0 -2
- package/lib/components/Footer/textInformationTextSize.mobile.js.map +0 -1
- package/lib/components/LinkDocs/LinkDocs.mobile.d.ts +0 -5
- package/lib/components/LinkDocs/LinkDocs.mobile.js +0 -8
- package/lib/components/LinkDocs/LinkDocs.mobile.js.map +0 -1
- package/lib/components/LinkDocs/LinkDocsListItem.d.ts +0 -7
- package/lib/components/LinkDocs/LinkDocsListItem.js.map +0 -1
- package/lib/content-page-repository/transformDocumentLink.d.ts +0 -3
- package/lib/content-page-repository/transformDocumentLink.js.map +0 -1
- package/mobile/bundle/components/Footer/textInformationTextSize.d.ts +0 -1
- package/mobile/bundle/components/LinkDocs/LinkDocsListItem.d.ts +0 -7
- package/mobile/bundle/content-page-repository/transformDocumentLink.d.ts +0 -3
- package/mobile/dist/components/Footer/textInformationTextSize.d.ts +0 -1
- package/mobile/dist/components/Footer/textInformationTextSize.js +0 -4
- package/mobile/dist/components/Footer/textInformationTextSize.js.map +0 -1
- package/mobile/dist/components/LinkDocs/LinkDocsListItem.d.ts +0 -7
- package/mobile/dist/components/LinkDocs/LinkDocsListItem.js +0 -23
- package/mobile/dist/components/LinkDocs/LinkDocsListItem.js.map +0 -1
- package/mobile/dist/content-page-repository/transformDocumentLink.d.ts +0 -3
- package/mobile/dist/content-page-repository/transformDocumentLink.js.map +0 -1
- package/mobile/lib/components/Footer/textInformationTextSize.d.ts +0 -1
- package/mobile/lib/components/Footer/textInformationTextSize.js +0 -2
- package/mobile/lib/components/Footer/textInformationTextSize.js.map +0 -1
- package/mobile/lib/components/LinkDocs/LinkDocsListItem.d.ts +0 -7
- package/mobile/lib/components/LinkDocs/LinkDocsListItem.js.map +0 -1
- package/mobile/lib/content-page-repository/transformDocumentLink.d.ts +0 -3
- package/mobile/lib/content-page-repository/transformDocumentLink.js.map +0 -1
- package/mobile/src/components/Footer/textInformationTextSize.ts +0 -1
- package/mobile/src/components/LinkDocs/LinkDocsListItem.tsx +0 -49
- package/src/components/Carousel/itemsGap.mobile.ts +0 -1
- package/src/components/Footer/textInformationTextSize.mobile.ts +0 -1
- package/src/components/Footer/textInformationTextSize.ts +0 -1
- package/src/components/LinkDocs/LinkDocs.mobile.tsx +0 -52
- package/src/components/LinkDocs/LinkDocsListItem.tsx +0 -49
package/bundle/bundle.umd.js
CHANGED
|
@@ -557,6 +557,9 @@
|
|
|
557
557
|
replace: () => {
|
|
558
558
|
// Do nothing
|
|
559
559
|
},
|
|
560
|
+
back: () => {
|
|
561
|
+
// Do nothing
|
|
562
|
+
},
|
|
560
563
|
});
|
|
561
564
|
useRouter.setup = (impl) => {
|
|
562
565
|
useRouter._impl = impl;
|
|
@@ -619,7 +622,7 @@
|
|
|
619
622
|
|
|
620
623
|
const ButtonInner = JSX((props) => {
|
|
621
624
|
const { text, aboveText, appendLeft, appendRight, version = 'primary' } = props;
|
|
622
|
-
return (jsxs("div", { className: style(getButtonStyle(props), 'flex gap-2'), children: [appendLeft ? jsx("div", { className: iconStyleMap[version], children: appendLeft }) : null, isWithText(props) ? (jsxs("div", { children: [aboveText ? jsx("div", { className: "text-xs-light text-left", children: aboveText }) : null, jsx("div", { className: `text-left ${aboveText ? 'text-s -mt-0.5' : 'text-l'}`, children: text })] })) : null, appendRight ? jsx("div", { className: iconStyleMap[version], children: appendRight }) : null] }));
|
|
625
|
+
return (jsxs("div", { className: style(getButtonStyle(props), 'flex gap-2'), children: [appendLeft ? jsx("div", { className: iconStyleMap[version], children: appendLeft }) : null, isWithText(props) ? (jsxs("div", { children: [aboveText ? jsx("div", { className: "text-xs font-light text-left", children: aboveText }) : null, jsx("div", { className: `text-left ${aboveText ? 'text-s -mt-0.5' : 'text-l'}`, children: text })] })) : null, appendRight ? jsx("div", { className: iconStyleMap[version], children: appendRight }) : null] }));
|
|
623
626
|
});
|
|
624
627
|
const getButtonStyle = (props) => {
|
|
625
628
|
const { version, aboveText, rounded } = props;
|
|
@@ -664,7 +667,7 @@
|
|
|
664
667
|
|
|
665
668
|
const Text = JSX(({ children, ...styleProps }) => (jsx("span", { className: style('font-sans', Object.values(styleProps)), children: children })));
|
|
666
669
|
|
|
667
|
-
const Footnote = JSX(({ link }) => (jsxs(Paragraph, { size: "text-s-light", color: "text-secondary-text", children: [jsx(Text, { children: "\u041D\u0430\u0436\u0438\u043C\u0430\u044F \u043A\u043D\u043E\u043F\u043A\u0443, \u0432\u044B \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0430\u0435\u0442\u0435 \u0441\u043E\u0433\u043B\u0430\u0441\u0438\u0435 \u0441 " }), link ? (jsx(Button, { href: link.href, ariaLabel: "\u0443\u0441\u043B\u043E\u0432\u0438\u044F \u043F\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u0434\u0430\u043D\u043D\u044B\u0445", target: link.target, className: "text-primary-main", children: jsx(Text, { children: link.text }) })) : null] })));
|
|
670
|
+
const Footnote = JSX(({ link }) => (jsxs(Paragraph, { size: "text-s", font: "font-light", color: "text-secondary-text", children: [jsx(Text, { children: "\u041D\u0430\u0436\u0438\u043C\u0430\u044F \u043A\u043D\u043E\u043F\u043A\u0443, \u0432\u044B \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0430\u0435\u0442\u0435 \u0441\u043E\u0433\u043B\u0430\u0441\u0438\u0435 \u0441 " }), link ? (jsx(Button, { href: link.href, ariaLabel: "\u0443\u0441\u043B\u043E\u0432\u0438\u044F \u043F\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u0434\u0430\u043D\u043D\u044B\u0445", target: link.target, className: "text-primary-main", children: jsx(Text, { children: link.text }) })) : null] })));
|
|
668
671
|
|
|
669
672
|
const withValidator = (props, validator) => {
|
|
670
673
|
const { value, isDirty } = props;
|
|
@@ -687,7 +690,7 @@
|
|
|
687
690
|
return (jsxs("div", { className: style('relative', className), children: [jsxs("label", { children: [label ? (jsx("div", { className: "mb-2", children: jsx(Text, { size: "text-m", font: "font-light", children: label }) })) : null, jsx("input", { className: style('w-full border rounded-md text-primary-text outline-none p-4', paddingStyle, validStyle, inputClassName), id: id, name: name || id, placeholder: placeholder, type: type, value: value, onInput: handleChange, onFocus: onFocus, onBlur: onBlur, pattern: pattern }, key)] }), children] }));
|
|
688
691
|
});
|
|
689
692
|
|
|
690
|
-
const InputControl = JSX(({ className, label, value = '', error, onChange, onBlur }) => (jsxs("div", { className: className, children: [jsx(Input, { type: "text", "aria-label": label, label: label, valid: Boolean(!error), value: value, onChange: onChange, onBlur: onBlur }), jsx("div", { className: "h-2", children: error ? (jsx(Text, { size: "text-xs-light", color: "text-error", children: error })) : null })] })));
|
|
693
|
+
const InputControl = JSX(({ className, label, value = '', error, onChange, onBlur }) => (jsxs("div", { className: className, children: [jsx(Input, { type: "text", "aria-label": label, label: label, valid: Boolean(!error), value: value, onChange: onChange, onBlur: onBlur }), jsx("div", { className: "h-2", children: error ? (jsx(Text, { size: "text-xs", font: "font-light", color: "text-error", children: error })) : null })] })));
|
|
691
694
|
|
|
692
695
|
const isPlaceholder = (_) => _ === '_';
|
|
693
696
|
const isDigit = (_) => /\d/.test(_);
|
|
@@ -708,7 +711,7 @@
|
|
|
708
711
|
return (jsx(Input, { onChange: handleChange, onFocus: (event) => handleChange(event?.target?.value || ''), ...inputProps, children: children }));
|
|
709
712
|
});
|
|
710
713
|
|
|
711
|
-
const PhoneInputControl = JSX(({ className, label, value, error, onChange, onBlur }) => (jsxs("div", { className: className, children: [jsx(PhoneInput, { "aria-label": label, label: label, valid: Boolean(!error), value: value, onChange: onChange, onBlur: onBlur }), jsx("div", { className: "h-2", children: error ? (jsx(Text, { size: "text-xs-light", color: "text-error", children: error })) : null })] })));
|
|
714
|
+
const PhoneInputControl = JSX(({ className, label, value, error, onChange, onBlur }) => (jsxs("div", { className: className, children: [jsx(PhoneInput, { "aria-label": label, label: label, valid: Boolean(!error), value: value, onChange: onChange, onBlur: onBlur }), jsx("div", { className: "h-2", children: error ? (jsx(Text, { size: "text-xs", font: "font-light", color: "text-error", children: error })) : null })] })));
|
|
712
715
|
|
|
713
716
|
const pattern = (regexp) => validator((_) => typeof _ === 'string' && regexp.test(_));
|
|
714
717
|
|
|
@@ -803,7 +806,7 @@
|
|
|
803
806
|
const formatOption = (_) => _?.text || _?.key || '';
|
|
804
807
|
const getBorderStyle = (isBorder, valid) => style(isBorder ? 'border rounded-md hover:border-primary-hover' : '', valid ? ' border-gray' : 'border-error');
|
|
805
808
|
|
|
806
|
-
const SelectControl = JSX((props) => (jsxs("div", { children: [jsx(Select, { ...props, valid: !props.error }), jsx("div", { className: "h-2", children: props.error ? (jsx(Text, { size: "text-xs-light", color: "text-error", children: props.error })) : null })] })));
|
|
809
|
+
const SelectControl = JSX((props) => (jsxs("div", { children: [jsx(Select, { ...props, valid: !props.error }), jsx("div", { className: "h-2", children: props.error ? (jsx(Text, { size: "text-xs", font: "font-light", color: "text-error", children: props.error })) : null })] })));
|
|
807
810
|
|
|
808
811
|
const renderAcquiringRegion = ({ regions, field }) => (jsxs("div", { className: "flex justify-between gap-5 mb-7", children: [jsx("div", { className: "w-1/2", children: jsx(SelectControl, { label: "\u0412\u0438\u0434 \u044D\u043A\u0432\u0430\u0439\u0440\u0438\u043D\u0433\u0430", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u044D\u043A\u0432\u0430\u0439\u0440\u0438\u043D\u0433", options: ACQUIRING_TYPES.map(({ name: key = '' }) => ({ key, text: key })), ...withValidator(field('acquiringType'), defaultValidator) }) }), jsx("div", { className: "w-1/2", children: jsx(SelectControl, { label: "\u0410\u0434\u0440\u0435\u0441", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0430\u0434\u0440\u0435\u0441", options: regions.map(({ code = '', name = '' }) => ({ key: code, text: name })), ...withValidator(field('region'), defaultValidator) }) })] }));
|
|
809
812
|
|
|
@@ -971,9 +974,9 @@
|
|
|
971
974
|
return (jsxs("div", { className: className, children: [jsxs("label", { className: "block relative", children: [title ? (jsx(Text, { size: "text-m", font: "font-light", color: "text-primary-text", children: title })) : null, jsx("input", { className: style('m-0 mt-2 font-sans text-h3 w-full h-14', 'border border-solid border-gray rounded-md outline-none', 'p-0 pl-4 box-border', 'text-primary-text hover:border-primary-hover focus:border-primary-text', DISABLED_INPUT_CLASSES), disabled: disabled, onInput: handleChange, ...normalizedProps }), renderRangeWithTicks({ list, min, max, step, disabled, value, onChange })] }), renderRangeCaption(items)] }));
|
|
972
975
|
});
|
|
973
976
|
const closestValue = (list) => (_) => list.reduce((prev, curr) => (Math.abs(curr - _) < Math.abs(prev - _) ? curr : prev));
|
|
974
|
-
const renderRangeCaption = (items) => (jsx("div", { className: "flex justify-between my-2", children: items.map((item, i) => (jsx(Text, { size: "text-s-light", color: "text-secondary-text", children: item }, String(i)))) }));
|
|
977
|
+
const renderRangeCaption = (items) => (jsx("div", { className: "flex justify-between my-2", children: items.map((item, i) => (jsx(Text, { size: "text-s", font: "font-light", color: "text-secondary-text", children: item }, String(i)))) }));
|
|
975
978
|
|
|
976
|
-
const renderCreditParameters = (field) => (jsxs("div", { className: "flex justify-between gap-5 mb-7", children: [jsxs("div", { className: "w-1/2", children: [jsx("label", { children: jsx(Text, { size: "text-m-light", children: "\u0421\u0443\u043C\u043C\u0430 \u043A\u0440\u0435\u0434\u0438\u0442\u0430, \u20BD" }) }), jsx(InputRange, { items: ITEMS_CREDIT_AMOUNT, min: MIN_CREDIT_AMOUNT, max: MAX_CREDIT_AMOUNT, ...field('amount') })] }), jsxs("div", { className: "w-1/2", children: [jsx("label", { children: jsx(Text, { size: "text-m-light", children: "\u0421\u0440\u043E\u043A \u043A\u0440\u0435\u0434\u0438\u0442\u0430, \u043C\u0435\u0441\u044F\u0446\u0435\u0432" }) }), jsx(InputRange, { items: ITEMS_CREDIT_TERM, min: MIN_CREDIT_TERM, max: MAX_CREDIT_TERM, ...field('term') })] })] }));
|
|
979
|
+
const renderCreditParameters = (field) => (jsxs("div", { className: "flex justify-between gap-5 mb-7", children: [jsxs("div", { className: "w-1/2", children: [jsx("label", { children: jsx(Text, { size: "text-m", font: "font-light", children: "\u0421\u0443\u043C\u043C\u0430 \u043A\u0440\u0435\u0434\u0438\u0442\u0430, \u20BD" }) }), jsx(InputRange, { items: ITEMS_CREDIT_AMOUNT, min: MIN_CREDIT_AMOUNT, max: MAX_CREDIT_AMOUNT, ...field('amount') })] }), jsxs("div", { className: "w-1/2", children: [jsx("label", { children: jsx(Text, { size: "text-m", font: "font-light", children: "\u0421\u0440\u043E\u043A \u043A\u0440\u0435\u0434\u0438\u0442\u0430, \u043C\u0435\u0441\u044F\u0446\u0435\u0432" }) }), jsx(InputRange, { items: ITEMS_CREDIT_TERM, min: MIN_CREDIT_TERM, max: MAX_CREDIT_TERM, ...field('term') })] })] }));
|
|
977
980
|
|
|
978
981
|
const renderRegionDepartment = ({ regions, branches, field }) => (jsxs("div", { className: "flex justify-between gap-5 mb-7", children: [jsx("div", { className: "w-1/2", children: jsx(SelectControl, { label: "\u0420\u0435\u0433\u0438\u043E\u043D", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0440\u0435\u0433\u0438\u043E\u043D", options: regions.map(({ code = '', name = '' }) => ({ key: code, text: name })), ...withValidator(field('region'), defaultValidator) }) }), jsx("div", { className: "w-1/2", children: jsx(SelectControl, { label: "\u0410\u0434\u0440\u0435\u0441", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0430\u0434\u0440\u0435\u0441", options: branches.map(({ branchCode = '', address = '' }) => ({
|
|
979
982
|
key: branchCode,
|
|
@@ -1092,7 +1095,7 @@
|
|
|
1092
1095
|
onChange && onChange(!value);
|
|
1093
1096
|
}, [onChange, disabled, value]);
|
|
1094
1097
|
const icon = isRadio ? (jsx("div", { className: "absolute left-1 w-3 h-3 rounded-full bg-primary-main" })) : (jsx(SVG, { paths: CHECK_PATHS, className: "absolute left-1 ml-px block", width: "11", height: "9", fill: "white", viewBox: "0 0 11 9" }));
|
|
1095
|
-
return (jsx("div", { className: className, children: jsxs("label", { className: "flex items-center relative cursor-pointer group/box", onClick: handleChange, children: [jsx("div", { className: style('appearance-none w-5 h-5 border-solid cursor-pointer m-0', isRadio ? 'rounded-full border-2' : checkboxStyle(value), value ? 'border-primary-main' : 'border-gray', disabled ? 'bg-main-disabled' : 'group-hover/box:border-primary-hover'), role: "checkbox", "aria-checked": Boolean(value), "aria-disabled": Boolean(disabled) }), value ? icon : null, text ? jsx("
|
|
1098
|
+
return (jsx("div", { className: className, children: jsxs("label", { className: "flex items-center relative cursor-pointer group/box", onClick: handleChange, children: [jsx("div", { className: style('appearance-none w-5 h-5 border-solid cursor-pointer m-0', isRadio ? 'rounded-full border-2' : checkboxStyle(value), value ? 'border-primary-main' : 'border-gray', disabled ? 'bg-main-disabled' : 'group-hover/box:border-primary-hover'), role: "checkbox", "aria-checked": Boolean(value), "aria-disabled": Boolean(disabled) }), value ? icon : null, text ? (jsx("div", { className: "ml-3", children: jsx(Text, { size: "text-l", font: "font-light", children: text }) })) : null] }) }));
|
|
1096
1099
|
});
|
|
1097
1100
|
const checkboxStyle = (value) => style('rounded border', value ? 'bg-primary-main' : '');
|
|
1098
1101
|
|
|
@@ -1140,7 +1143,7 @@
|
|
|
1140
1143
|
const ResponseNotification = JSX(({ responseType }) => {
|
|
1141
1144
|
const responseOK = responseType === 'OK';
|
|
1142
1145
|
const backgroundColor = responseOK ? 'bg-ok' : 'bg-fail';
|
|
1143
|
-
return (jsxs("div", { className: `flex items-center mt-5 p-5 rounded-md ${backgroundColor}`, children: [responseOK ? (jsx(Img, { image: { icon: 'ResponceOKIcon' }, width: "42", height: "42", className: "mr-4" })) : (jsx(Img, { image: { icon: 'ResponceFailIcon' }, width: "37", height: "34", className: "mr-4" })), jsxs("div", { children: [jsx(Heading, { headingType: "h6", title: responseOK ? 'Ваша заявка отправлена' : 'Не удалось отправить заявку', className: "mb-1" }), jsx(Text, { size: "text-l-light", color: "text-secondary-text", children: responseOK ? 'Совсем скоро мы с вами свяжемся' : 'Пожалуйста, повторите позднее' })] })] }));
|
|
1146
|
+
return (jsxs("div", { className: `flex items-center mt-5 p-5 rounded-md ${backgroundColor}`, children: [responseOK ? (jsx(Img, { image: { icon: 'ResponceOKIcon' }, width: "42", height: "42", className: "mr-4" })) : (jsx(Img, { image: { icon: 'ResponceFailIcon' }, width: "37", height: "34", className: "mr-4" })), jsxs("div", { children: [jsx(Heading, { headingType: "h6", title: responseOK ? 'Ваша заявка отправлена' : 'Не удалось отправить заявку', className: "mb-1" }), jsx(Text, { size: "text-l", font: "font-light", color: "text-secondary-text", children: responseOK ? 'Совсем скоро мы с вами свяжемся' : 'Пожалуйста, повторите позднее' })] })] }));
|
|
1144
1147
|
});
|
|
1145
1148
|
|
|
1146
1149
|
const COMPONENTS_MAP = {
|
|
@@ -1168,7 +1171,7 @@
|
|
|
1168
1171
|
const renderBenefit = (benefit, i) => (jsxs("div", { className: "flex items-center sm:basis-1/2 sm:max-w-[400px] mb-14", role: "listitem", children: [benefit?.icon?.icon ? (jsx(Img, { className: style('p-3 mr-5 shrink-0 bg-main-divider text-primary-main group-data-secondary:bg-white/30 group-data-secondary:text-black', benefitImageStyles), image: benefit.icon })) : null, benefit?.icon?.src ? jsx(Img, { className: "mr-5 shrink-0", image: benefit.icon }) : null, benefit?.label ? (jsxs("div", { className: "sm:h-full", children: [jsx(Heading, { headingType: "h6", children: benefit.label }), renderDescription$4(benefit.description)] })) : null] }, String(i)));
|
|
1169
1172
|
const renderDescription$4 = (description) => {
|
|
1170
1173
|
const benefitType = description?.benefitType || null;
|
|
1171
|
-
return description && benefitType ? (jsx("div", { className: "mt-2 text-l-light text-secondary-text group-data-secondary:text-white/80", children: benefitType === 'list'
|
|
1174
|
+
return description && benefitType ? (jsx("div", { className: "mt-2 text-l font-light text-secondary-text group-data-secondary:text-white/80", children: benefitType === 'list'
|
|
1172
1175
|
? renderListBenefit(description)
|
|
1173
1176
|
: renderTextBenefit(description) })) : null;
|
|
1174
1177
|
};
|
|
@@ -1192,31 +1195,37 @@
|
|
|
1192
1195
|
XXL: {
|
|
1193
1196
|
title: { headingType: 'h0', as: 'h1' },
|
|
1194
1197
|
descriptionSize: 'text-h5',
|
|
1198
|
+
descriptionWeight: 'font-normal',
|
|
1195
1199
|
descriptionStyle: 'mt-m',
|
|
1196
1200
|
},
|
|
1197
1201
|
XL: {
|
|
1198
1202
|
title: { headingType: 'h1', as: 'h1' },
|
|
1199
|
-
descriptionSize: 'text-xl
|
|
1203
|
+
descriptionSize: 'text-xl',
|
|
1204
|
+
descriptionWeight: 'font-light',
|
|
1200
1205
|
descriptionStyle: 'mt-s',
|
|
1201
1206
|
},
|
|
1202
1207
|
L: {
|
|
1203
1208
|
title: { headingType: 'h2', as: 'h2' },
|
|
1204
|
-
descriptionSize: 'text-xl
|
|
1209
|
+
descriptionSize: 'text-xl',
|
|
1210
|
+
descriptionWeight: 'font-light',
|
|
1205
1211
|
descriptionStyle: 'mt-s',
|
|
1206
1212
|
},
|
|
1207
1213
|
M: {
|
|
1208
1214
|
title: { headingType: 'h3', as: 'h2' },
|
|
1209
|
-
descriptionSize: 'text-xl
|
|
1215
|
+
descriptionSize: 'text-xl',
|
|
1216
|
+
descriptionWeight: 'font-light',
|
|
1210
1217
|
descriptionStyle: 'mt-text',
|
|
1211
1218
|
},
|
|
1212
1219
|
S: {
|
|
1213
1220
|
title: { headingType: 'h4', as: 'h2' },
|
|
1214
|
-
descriptionSize: 'text-xl
|
|
1221
|
+
descriptionSize: 'text-xl',
|
|
1222
|
+
descriptionWeight: 'font-light',
|
|
1215
1223
|
descriptionStyle: 'mt-xs',
|
|
1216
1224
|
},
|
|
1217
1225
|
XS: {
|
|
1218
1226
|
title: { headingType: 'h5', as: 'h2' },
|
|
1219
|
-
descriptionSize: 'text-l
|
|
1227
|
+
descriptionSize: 'text-l',
|
|
1228
|
+
descriptionWeight: 'font-light',
|
|
1220
1229
|
descriptionStyle: 'mt-xs',
|
|
1221
1230
|
},
|
|
1222
1231
|
};
|
|
@@ -1235,7 +1244,7 @@
|
|
|
1235
1244
|
const Headline = JSX(({ className, version = '', headlineVersion = 'XL', title, description, align = 'text-center', as, isPadding = true, isTheme = false, ...rest }) => {
|
|
1236
1245
|
const versionStyle = headlineVersionStyles[headlineVersion];
|
|
1237
1246
|
const descriptionStyle = { marginTop: versionStyle.descriptionStyle };
|
|
1238
|
-
return (jsxs(BlockWrapper, { className: className, defaultPadding: isPadding ? 'p-default' : '', version: version, isTheme: isTheme, ...rest, children: [title ? (jsx(Heading, { className: style('whitespace-pre-wrap', align), ...versionStyle?.title, as: as || versionStyle?.title.as, title: title })) : null, description ? (jsx(Paragraph, { size: versionStyle.descriptionSize, align: align, ...descriptionStyle, children: description })) : null] }));
|
|
1247
|
+
return (jsxs(BlockWrapper, { className: className, defaultPadding: isPadding ? 'p-default' : '', version: version, isTheme: isTheme, ...rest, children: [title ? (jsx(Heading, { className: style('whitespace-pre-wrap', align), ...versionStyle?.title, as: as || versionStyle?.title.as, title: title })) : null, description ? (jsx(Paragraph, { size: versionStyle.descriptionSize, font: versionStyle.descriptionWeight, align: align, ...descriptionStyle, children: description })) : null] }));
|
|
1239
1248
|
});
|
|
1240
1249
|
|
|
1241
1250
|
const Bonus = JSX((props) => {
|
|
@@ -1291,7 +1300,7 @@
|
|
|
1291
1300
|
});
|
|
1292
1301
|
const renderItem = (item, key) => {
|
|
1293
1302
|
const { icon, text } = item;
|
|
1294
|
-
return (jsxs("li", { className: "flex items-center gap-3.5 mb-3 last:mb-0", children: [icon?.icon ? (jsx(Img, { image: icon, className: "w-12 h-12 min-w-12 p-3 rounded-icon bg-main-divider" })) : null, icon?.src ? jsx(Img, { image: icon }) : null, jsx(
|
|
1303
|
+
return (jsxs("li", { className: "flex items-center gap-3.5 mb-3 last:mb-0", children: [icon?.icon ? (jsx(Img, { image: icon, className: "w-12 h-12 min-w-12 p-3 rounded-icon bg-main-divider" })) : null, icon?.src ? jsx(Img, { image: icon }) : null, jsx(Text, { size: "text-xl", font: "font-light", children: text })] }, key));
|
|
1295
1304
|
};
|
|
1296
1305
|
|
|
1297
1306
|
const BusinessBlock = JSX(({ className, title, cards, ...rest }) => (jsxs(BlockWrapper, { className: className, defaultPadding: "p-default", ...rest, children: [jsx(Heading, { headingType: "h3", title: title, className: "text-center mb-8" }), jsx("div", { className: "flex gap-5", children: cards?.length ? cards.map((_, i) => jsx(BusinessCard, { ..._ }, String(i))) : null })] })));
|
|
@@ -1332,7 +1341,7 @@
|
|
|
1332
1341
|
return isVisible ? (jsxs("div", { children: [canDec ? (jsx(ArrowButton, { className: `absolute z-40 ${btnClass[0]} ${className}`, onClick: dec, ariaLabel: "\u041F\u0440\u043E\u043B\u0438\u0441\u0442\u0430\u0442\u044C \u0432\u043B\u0435\u0432\u043E", "data-block-control": "scroll-left", disabled: !canDec })) : null, canInc ? (jsx(ArrowButton, { className: `absolute z-40 rotate-180 ${btnClass[1]} ${className}`, onClick: inc, ariaLabel: "\u041F\u0440\u043E\u043B\u0438\u0441\u0442\u0430\u0442\u044C \u0432\u043F\u0440\u0430\u0432\u043E", "data-block-control": "scroll-right", disabled: !canInc })) : null] })) : null;
|
|
1333
1342
|
}
|
|
1334
1343
|
|
|
1335
|
-
const CalculatorValueBlock = JSX(({ title, value, postfix = '', prefix, className = '' }) => (jsxs("div", { className: style('mb-7', className), children: [title ? (jsx(Text, { size: "text-l-light", color: "text-secondary-text", children: title })) : null, value ? (jsx("div", { children: jsxs(Text, { size: "text-h3", children: [prefix, " ", toLocalNumberFormat(2)(Math.round(value)), " ", postfix] }) })) : (jsx("div", { children: jsx(Text, { size: "text-h3", children: "-" }) }))] })));
|
|
1344
|
+
const CalculatorValueBlock = JSX(({ title, value, postfix = '', prefix, className = '' }) => (jsxs("div", { className: style('mb-7', className), children: [title ? (jsx(Text, { size: "text-l", font: "font-light", color: "text-secondary-text", children: title })) : null, value ? (jsx("div", { children: jsxs(Text, { size: "text-h3", children: [prefix, " ", toLocalNumberFormat(2)(Math.round(value)), " ", postfix] }) })) : (jsx("div", { children: jsx(Text, { size: "text-h3", children: "-" }) }))] })));
|
|
1336
1345
|
|
|
1337
1346
|
const DEFAULT_MIN_SUM$1 = 10000;
|
|
1338
1347
|
const DEFAULT_MAX_SUM$1 = 5000000;
|
|
@@ -1401,9 +1410,9 @@
|
|
|
1401
1410
|
const DEPOSIT_CALC_DEFAULT_DIR = 'deposit-calculator-data';
|
|
1402
1411
|
const BUSINESS_DEPOSIT_CALC_DEFAULT_DIR = 'business-calculator-data';
|
|
1403
1412
|
|
|
1404
|
-
const Rate = JSX(({ rate, title = 'Ставка', unit, depositeName, isShowDepositeName, rateBlockClassName, fractionDigits = 2, }) => (jsxs("div", { children: [jsx(Text, { size: "text-l-light", color: "text-secondary-text", children: title }), jsxs("div", { className: "relative", children: [jsxs("div", { className: "flex justify-start gradient-color-text", children: [jsx("span", { className: style('font-mohave text-title-huge pr-6 -mt-4', rateBlockClassName), children: String(rate.toFixed(fractionDigits)).replace('.', ',') }), unit ? jsx("span", { className: "text-7xl", children: unit }) : null] }), depositeName && isShowDepositeName ? (jsx("div", { className: "absolute bottom-7 w-full text-center whitespace-nowrap", children: depositeName })) : null] })] })));
|
|
1413
|
+
const Rate = JSX(({ rate, title = 'Ставка', unit, depositeName, isShowDepositeName, rateBlockClassName, fractionDigits = 2, }) => (jsxs("div", { children: [jsx(Text, { size: "text-l", font: "font-light", color: "text-secondary-text", children: title }), jsxs("div", { className: "relative", children: [jsxs("div", { className: "flex justify-start gradient-color-text", children: [jsx("span", { className: style('font-mohave text-title-huge pr-6 -mt-4', rateBlockClassName), children: String(rate.toFixed(fractionDigits)).replace('.', ',') }), unit ? jsx("span", { className: "text-7xl", children: unit }) : null] }), depositeName && isShowDepositeName ? (jsx("div", { className: "absolute bottom-7 w-full text-center whitespace-nowrap", children: depositeName })) : null] })] })));
|
|
1405
1414
|
|
|
1406
|
-
const renderFootnote = (text) => text ? (jsx(Paragraph, { size: "text-s-light", color: "text-secondary-text", children: text })) : null;
|
|
1415
|
+
const renderFootnote = (text) => text ? (jsx(Paragraph, { size: "text-s", font: "font-light", color: "text-secondary-text", children: text })) : null;
|
|
1407
1416
|
|
|
1408
1417
|
const DEFAULT_MONEY_STEP = 1000;
|
|
1409
1418
|
function renderWantedSumInput({ isShowItems = true, step = DEFAULT_MONEY_STEP, ...rest }) {
|
|
@@ -1488,7 +1497,7 @@
|
|
|
1488
1497
|
],
|
|
1489
1498
|
});
|
|
1490
1499
|
|
|
1491
|
-
const UnknownRate = JSX(({ title = 'Ставка' }) => (jsxs("div", { children: [jsx(Text, { size: "text-l-light", color: "text-secondary-text", children: title }), jsx("div", { className: "mt-1 pt-1 pl-5 pb-1.5", children: jsx(Icon, { name: "PercentIcon", width: "90", height: "85" }) }), jsx("div", { className: "w-[250px] mt-3.5", children: jsxs(Paragraph, { size: "text-xl-light", color: "text-primary-text", children: ["\u041F\u0440\u043E\u0446\u0435\u043D\u0442\u043D\u0430\u044F \u0441\u0442\u0430\u0432\u043A\u0430 \u0434\u043B\u044F \u0441\u0440\u043E\u043A\u0430 ", jsx("strong", { children: "1-30 \u0434\u043D\u0435\u0439" }), " \u0443\u0441\u0442\u0430\u043D\u0430\u0432\u043B\u0438\u0432\u0430\u0435\u0442\u0441\u044F \u043F\u0440\u0438 \u043E\u0431\u0440\u0430\u0449\u0435\u043D\u0438\u0438 \u0432 \u0411\u0430\u043D\u043A"] }) })] })));
|
|
1500
|
+
const UnknownRate = JSX(({ title = 'Ставка' }) => (jsxs("div", { children: [jsx(Text, { size: "text-l", font: "font-light", color: "text-secondary-text", children: title }), jsx("div", { className: "mt-1 pt-1 pl-5 pb-1.5", children: jsx(Icon, { name: "PercentIcon", width: "90", height: "85" }) }), jsx("div", { className: "w-[250px] mt-3.5", children: jsxs(Paragraph, { size: "text-xl", font: "font-light", color: "text-primary-text", children: ["\u041F\u0440\u043E\u0446\u0435\u043D\u0442\u043D\u0430\u044F \u0441\u0442\u0430\u0432\u043A\u0430 \u0434\u043B\u044F \u0441\u0440\u043E\u043A\u0430 ", jsx("strong", { children: "1-30 \u0434\u043D\u0435\u0439" }), " \u0443\u0441\u0442\u0430\u043D\u0430\u0432\u043B\u0438\u0432\u0430\u0435\u0442\u0441\u044F \u043F\u0440\u0438 \u043E\u0431\u0440\u0430\u0449\u0435\u043D\u0438\u0438 \u0432 \u0411\u0430\u043D\u043A"] }) })] })));
|
|
1492
1501
|
|
|
1493
1502
|
const defaultDiscriminator = (_) => _;
|
|
1494
1503
|
const maxBy = (discriminator = defaultDiscriminator) => (list) => list.reduceRight((a, b) => (discriminator(a) > discriminator(b) ? a : b));
|
|
@@ -1884,8 +1893,8 @@
|
|
|
1884
1893
|
: `h-[77px] w-[328px] min-w-[328px] px-5 py-4 ease-in duration-300 bg-white text-primary-text`;
|
|
1885
1894
|
const btnTitleClassName = isActive ? 'text-xl mb-1.5' : `text-l mb-[3px]`;
|
|
1886
1895
|
const btnDescClassName = isActive
|
|
1887
|
-
? 'text-l-light text-white'
|
|
1888
|
-
: `text-m-light text-secondary-text`;
|
|
1896
|
+
? 'text-l font-light text-white'
|
|
1897
|
+
: `text-m font-light text-secondary-text`;
|
|
1889
1898
|
const iconClassName = isActive ? '' : `text-primary-main`;
|
|
1890
1899
|
const iconVersion = tab?.icon?.iconVersion;
|
|
1891
1900
|
const activeIconStyle = isActive ? 'white' : 'normal';
|
|
@@ -2044,28 +2053,6 @@
|
|
|
2044
2053
|
.filter(([_]) => _ && _.intersectionRatio >= 0.9)
|
|
2045
2054
|
.map(([, i]) => i);
|
|
2046
2055
|
|
|
2047
|
-
const containerStyles = {
|
|
2048
|
-
'horizontal-list': 'mx-auto mt-5 w-fit',
|
|
2049
|
-
'vertical-list': 'absolute flex-col justify-center h-full top-0 left-4',
|
|
2050
|
-
};
|
|
2051
|
-
const activeDotStyles = {
|
|
2052
|
-
'horizontal-list': 'w-6',
|
|
2053
|
-
'vertical-list': 'h-6',
|
|
2054
|
-
};
|
|
2055
|
-
const dotStyle = 'cursor-pointer rounded-full transition-width duration-300 bg-primary-main group-data-secondary:bg-white group-data-transparent:bg-white';
|
|
2056
|
-
const inactiveDotStyle = 'w-2 h-2 opacity-30';
|
|
2057
|
-
const SwipeListControlDots = JSX(({ containerRef, activeIndex, dotCount = 0, listType = 'horizontal-list', version }) => {
|
|
2058
|
-
const handleClick = (idx) => {
|
|
2059
|
-
if (idx !== activeIndex && containerRef?.current) {
|
|
2060
|
-
containerRef.current.children[idx]?.scrollIntoView({
|
|
2061
|
-
behavior: 'smooth',
|
|
2062
|
-
block: 'nearest',
|
|
2063
|
-
});
|
|
2064
|
-
}
|
|
2065
|
-
};
|
|
2066
|
-
return dotCount ? (jsx("div", { className: style('flex gap-2', containerStyles[listType], version ? 'group' : ''), ...(version ? { 'data-ver': version } : {}), children: new Array(dotCount).fill(null).map((_, idx) => (jsx("div", { className: `${dotStyle} ${idx === activeIndex ? activeDotStyles[listType] : inactiveDotStyle}`, role: "button", "aria-hidden": true, onClick: () => handleClick(idx) }, String(idx)))) })) : null;
|
|
2067
|
-
});
|
|
2068
|
-
|
|
2069
2056
|
const areArraysEqual = (as, bs) => as === bs || Boolean(as && bs && as?.length === bs?.length && as.every((_, i) => _ === bs[i]));
|
|
2070
2057
|
|
|
2071
2058
|
const getItemWidth = (container) => (itemCount) => container.scrollWidth / itemCount;
|
|
@@ -2128,6 +2115,8 @@
|
|
|
2128
2115
|
];
|
|
2129
2116
|
};
|
|
2130
2117
|
|
|
2118
|
+
const ITEMS_GAP = 16;
|
|
2119
|
+
|
|
2131
2120
|
const scrollButtonStyle$1 = 'absolute top-[calc(50%-24px)] z-40';
|
|
2132
2121
|
const blurBaseStyle = 'absolute top-0 bottom-0 z-40 w-[84px] pointer-events-none';
|
|
2133
2122
|
const CarouselScrollButtons = JSX(({ scroll, arrowsPadded, isBlur, onScrollLeft, onScrollRight, hasEdgeBlocks, activeIndex, itemCount, }) => {
|
|
@@ -2156,12 +2145,39 @@
|
|
|
2156
2145
|
});
|
|
2157
2146
|
const renderBlur = (isBlur, scroll) => isBlur ? (jsxs("div", { children: [scroll.canScrollLeft ? (jsx("div", { className: style(blurBaseStyle, 'left-0 bg-opacity-from-white') })) : null, scroll.canScrollRight ? (jsx("div", { className: style(blurBaseStyle, 'right-0 bg-opacity-to-white') })) : null] })) : null;
|
|
2158
2147
|
|
|
2159
|
-
const
|
|
2148
|
+
const containerStyles = {
|
|
2149
|
+
'horizontal-list': 'mx-auto mt-5 w-fit',
|
|
2150
|
+
'vertical-list': 'absolute flex-col justify-center h-full top-0 left-4',
|
|
2151
|
+
};
|
|
2152
|
+
const activeDotStyles = {
|
|
2153
|
+
'horizontal-list': 'w-6',
|
|
2154
|
+
'vertical-list': 'h-6',
|
|
2155
|
+
};
|
|
2156
|
+
const dotStyle = 'cursor-pointer rounded-full transition-width duration-300 bg-primary-main group-data-secondary:bg-white group-data-transparent:bg-white';
|
|
2157
|
+
const inactiveDotStyle = 'w-2 h-2 opacity-30';
|
|
2158
|
+
const SwipeListControlDots = JSX(({ containerRef, activeIndex, dotCount = 0, listType = 'horizontal-list', version }) => {
|
|
2159
|
+
const handleClick = (idx) => {
|
|
2160
|
+
if (idx !== activeIndex && containerRef?.current) {
|
|
2161
|
+
containerRef.current.children[idx]?.scrollIntoView({
|
|
2162
|
+
behavior: 'smooth',
|
|
2163
|
+
block: 'nearest',
|
|
2164
|
+
});
|
|
2165
|
+
}
|
|
2166
|
+
};
|
|
2167
|
+
return dotCount ? (jsx("div", { className: style('flex gap-2', containerStyles[listType], version ? 'group' : ''), ...(version ? { 'data-ver': version } : {}), children: new Array(dotCount).fill(null).map((_, idx) => (jsx("div", { className: `${dotStyle} ${idx === activeIndex ? activeDotStyles[listType] : inactiveDotStyle}`, role: "button", "aria-hidden": true, onClick: () => handleClick(idx) }, String(idx)))) })) : null;
|
|
2168
|
+
});
|
|
2169
|
+
|
|
2170
|
+
const renderControlButtons = ({ showArrows, showDots, scrollButtonsProps, dotsProps, }) => {
|
|
2171
|
+
return [
|
|
2172
|
+
showArrows ? jsx(CarouselScrollButtons, { ...scrollButtonsProps }, "0") : null,
|
|
2173
|
+
showDots ? jsx(SwipeListControlDots, { ...dotsProps, listType: "horizontal-list" }, "1") : null,
|
|
2174
|
+
];
|
|
2175
|
+
};
|
|
2160
2176
|
|
|
2161
|
-
const Carousel = JSX(({ className = '', itemCount, visibleItemCount, isBlur = true, isCyclic = false, arrowsPadded = true, isPadding = true, showDots = false, isAlignCenter = false, ...rest }) => {
|
|
2177
|
+
const Carousel = JSX(({ className = '', itemCount, visibleItemCount = 0, isBlur = true, isCyclic = false, arrowsPadded = true, isPadding = true, showDots = false, isAlignCenter = false, showArrows = true, isGap = true, ...rest }) => {
|
|
2162
2178
|
const { blocks: childBlocks = [] } = rest.block || {};
|
|
2163
2179
|
const count = itemCount || childBlocks?.length;
|
|
2164
|
-
const [activeIndex, setActiveIndex] = useState(Math.floor(
|
|
2180
|
+
const [activeIndex, setActiveIndex] = useState(Math.floor(visibleItemCount / 2));
|
|
2165
2181
|
const increaseActiveIndex = useCallback(() => setActiveIndex((_) => _ + 1), []);
|
|
2166
2182
|
const decreaseActiveIndex = useCallback(() => setActiveIndex((_) => _ - 1), []);
|
|
2167
2183
|
const [containerRef, scroll] = useSwipeListScroll({
|
|
@@ -2170,7 +2186,7 @@
|
|
|
2170
2186
|
});
|
|
2171
2187
|
const [dotsActiveIndex] = scroll.visibleIndicesRange;
|
|
2172
2188
|
const isBankHistoryCarousel = childBlocks && childBlocks[0]?.type === 'CarouselBankHistoryCard';
|
|
2173
|
-
return (jsx(BlockWrapper, { className: className, defaultPadding: getPaddingStyle$1(isPadding), ...rest, children: jsxs("div", { className: style(getAlignStyle(isAlignCenter), 'relative max-w-full'), children: [jsx(SwipeListContainer, { containerRef: containerRef, visibleItemCount: visibleItemCount, snapAlign: "snap-start", gap: ITEMS_GAP, onVisibleIndicesChange: scroll.handleVisibleIndicesChange, children: renderChildren({
|
|
2189
|
+
return (jsx(BlockWrapper, { className: className, defaultPadding: getPaddingStyle$1(isPadding), ...rest, children: jsxs("div", { className: style(getAlignStyle(isAlignCenter), 'relative max-w-full'), children: [jsx(SwipeListContainer, { containerRef: containerRef, visibleItemCount: visibleItemCount, snapAlign: "snap-start", gap: isGap ? ITEMS_GAP : undefined, onVisibleIndicesChange: scroll.handleVisibleIndicesChange, children: renderChildren({
|
|
2174
2190
|
...rest,
|
|
2175
2191
|
renderProps: isBankHistoryCarousel
|
|
2176
2192
|
? (block, options) => renderBlock$1(block, options, {
|
|
@@ -2178,7 +2194,21 @@
|
|
|
2178
2194
|
activeIndex: activeIndex,
|
|
2179
2195
|
})
|
|
2180
2196
|
: renderBlock$1,
|
|
2181
|
-
}) }),
|
|
2197
|
+
}) }), renderControlButtons({
|
|
2198
|
+
showArrows,
|
|
2199
|
+
showDots,
|
|
2200
|
+
scrollButtonsProps: {
|
|
2201
|
+
scroll,
|
|
2202
|
+
arrowsPadded,
|
|
2203
|
+
isBlur,
|
|
2204
|
+
onScrollLeft: decreaseActiveIndex,
|
|
2205
|
+
onScrollRight: increaseActiveIndex,
|
|
2206
|
+
hasEdgeBlocks: isBankHistoryCarousel,
|
|
2207
|
+
activeIndex,
|
|
2208
|
+
itemCount: count,
|
|
2209
|
+
},
|
|
2210
|
+
dotsProps: { containerRef, activeIndex: dotsActiveIndex, dotCount: count },
|
|
2211
|
+
})] }) }));
|
|
2182
2212
|
});
|
|
2183
2213
|
Carousel.childrenTypes = [
|
|
2184
2214
|
'CarouselCard',
|
|
@@ -2195,7 +2225,6 @@
|
|
|
2195
2225
|
];
|
|
2196
2226
|
const getPaddingStyle$1 = (isPadding) => (isPadding ? 'p-default' : '');
|
|
2197
2227
|
const getAlignStyle = (isAlignCenter) => isAlignCenter ? 'flex justify-center' : '';
|
|
2198
|
-
const renderDots = (containerRef, dotsActiveIndex, itemCount) => (jsx(SwipeListControlDots, { containerRef: containerRef, activeIndex: dotsActiveIndex, dotCount: itemCount, listType: 'horizontal-list' }));
|
|
2199
2228
|
|
|
2200
2229
|
const CarouselBankHistoryCard = JSX(({ title, description, blocksLength = 0, activeIndex, options }) => {
|
|
2201
2230
|
const orderNumber = Number(options?.key?.split('-').slice(-1)[0]) || 0;
|
|
@@ -2305,7 +2334,7 @@
|
|
|
2305
2334
|
};
|
|
2306
2335
|
|
|
2307
2336
|
const LINK_CLASS_NAME = `absolute border border-primary-main ml-3 px-6 py-5
|
|
2308
|
-
text-l-light bg-white text-primary-text flex w-[316px]
|
|
2337
|
+
text-l font-light bg-white text-primary-text flex w-[316px]
|
|
2309
2338
|
justify-between items-center group-hover/link:text-primary-main z-10`;
|
|
2310
2339
|
const LINK_BORDER_CLASS_NAME = 'bg-transparent border-white border h-[70px] absolute w-[316px] top-0';
|
|
2311
2340
|
const LinkButton = JSX(({ text, href = '', target = '', className = '' }) => {
|
|
@@ -2315,7 +2344,7 @@
|
|
|
2315
2344
|
});
|
|
2316
2345
|
|
|
2317
2346
|
const MAX_LINKS_COUNT = 10;
|
|
2318
|
-
const CarouselLinks = JSX(({ className, additionalDescription, description, links, title, ...rest }) => (jsxs(BlockWrapper, { className: style('flex w-full overflow-hidden justify-between', className), ...rest, children: [jsxs("div", { className: "flex flex-col max-w-96 pr-m text-white text-xl-light", children: [jsx(Headline, { isPadding: false, title: title, description: description, as: "h1", align: "text-left" }), additionalDescription ? (jsx(Headline, { className: "pt-s", description: additionalDescription, align: "text-left", isPadding: false })) : null] }), links?.length ? renderLinks(links) : null] })));
|
|
2347
|
+
const CarouselLinks = JSX(({ className, additionalDescription, description, links, title, ...rest }) => (jsxs(BlockWrapper, { className: style('flex w-full overflow-hidden justify-between', className), ...rest, children: [jsxs("div", { className: "flex flex-col max-w-96 pr-m text-white text-xl font-light", children: [jsx(Headline, { isPadding: false, title: title, description: description, as: "h1", align: "text-left" }), additionalDescription ? (jsx(Headline, { className: "pt-s", description: additionalDescription, align: "text-left", isPadding: false })) : null] }), links?.length ? renderLinks(links) : null] })));
|
|
2319
2348
|
const renderLinks = (links) => {
|
|
2320
2349
|
const itemCount = Math.ceil(links.length / MAX_LINKS_COUNT);
|
|
2321
2350
|
return (jsx(Carousel, { className: "min-w-[832px] w-[832px]", version: "", isBlur: false, isCyclic: true, itemCount: itemCount, arrowsPadded: false, showDots: true, children: new Array(itemCount).fill(null).map((_, groupIndex) => (jsx("div", { className: "w-[672px] min-w-[672px] ml-10 mr-10 flex flex-wrap self-start", children: links
|
|
@@ -2331,7 +2360,7 @@
|
|
|
2331
2360
|
const ListItem = JSX(({ className, isDotted = true, children, size = 'M' }) => (jsxs("div", { className: style('font-sans flex', className), role: "listitem", children: [isDotted ? (jsx("div", { className: "shrink-0", children: jsx("div", { className: style('align-middle inline-block rounded-full bg-primary-text group-data-secondary:bg-white', DOT_SIZE_MAP[size]) }) })) : null, jsx("span", { children: children })] })));
|
|
2332
2361
|
|
|
2333
2362
|
const TEXT_SIZE_MAP = {
|
|
2334
|
-
S: 'text-l-light',
|
|
2363
|
+
S: 'text-l font-light',
|
|
2335
2364
|
M: 'text-h6',
|
|
2336
2365
|
L: 'text-h5',
|
|
2337
2366
|
};
|
|
@@ -2410,7 +2439,7 @@
|
|
|
2410
2439
|
});
|
|
2411
2440
|
const getFilteredIcon = (icon) => (icon?.src || icon?.icon ? icon : undefined);
|
|
2412
2441
|
|
|
2413
|
-
const SocialMedia = JSX(({ className = '', media, children, buttonSize }) => (jsxs("div", { className: "font-sans", children: [jsx("div", { className: `flex gap-1 ${className}`, children: media?.map((_, index) => (jsx(MediaButton, { buttonSize: buttonSize, ..._ }, String(index)))) }), jsx(Text, { size: "text-s-light", color: "text-secondary-text", children: children })] })));
|
|
2442
|
+
const SocialMedia = JSX(({ className = '', media, children, buttonSize }) => (jsxs("div", { className: "font-sans", children: [jsx("div", { className: `flex gap-1 ${className}`, children: media?.map((_, index) => (jsx(MediaButton, { buttonSize: buttonSize, ..._ }, String(index)))) }), jsx(Text, { size: "text-s", font: "font-light", color: "text-secondary-text", children: children })] })));
|
|
2414
2443
|
|
|
2415
2444
|
const BORDER_STYLE = 'border border-solid border-gray group-data-secondary:border-white/50 group-data-gray:border-main-divider';
|
|
2416
2445
|
|
|
@@ -2475,7 +2504,7 @@
|
|
|
2475
2504
|
const COLS_LENGTH_FOR_SCROLL$1 = 3;
|
|
2476
2505
|
const COLUMN_WIDTH$2 = 4 * 80 + 4 * 4; // w-80 + gap-4 = 336px
|
|
2477
2506
|
|
|
2478
|
-
const HeaderCell = JSX(({ icon, image, title, link }) => (jsxs("div", { className: `w-80 box-border flex flex-col items-center rounded-t-md border-b-0 px-7 pt-7 pb-[46px] ${BORDER_CLASSES} ${GRADIENT}`, role: "columnheader", children: [icon && !image?.src && (jsx(Img, { className: "h-[63px] w-[63px] min-w-[63px] min-h-[63px] mb-4", image: icon, width: "63", height: "63" })), image?.src && jsx(Img, { className: "mb-[18px]", image: image }), title ? (jsx(Heading, { headingType: "h4", as: "h3", className: "text-center text-white", title: title })) : null, link?.text && (jsx("div", { className: "mt-auto w-full", children: jsx(Button, { href: link.href, target: link.target, className: "mt-4 w-full text-primary-main bg-white hover:bg-secondary-hover active:bg-secondary-active", children: jsx("div", { className: "text-xs-light font-medium py-[11px]", children: link.text }) }) }))] })));
|
|
2507
|
+
const HeaderCell = JSX(({ icon, image, title, link }) => (jsxs("div", { className: `w-80 box-border flex flex-col items-center rounded-t-md border-b-0 px-7 pt-7 pb-[46px] ${BORDER_CLASSES} ${GRADIENT}`, role: "columnheader", children: [icon && !image?.src && (jsx(Img, { className: "h-[63px] w-[63px] min-w-[63px] min-h-[63px] mb-4", image: icon, width: "63", height: "63" })), image?.src && jsx(Img, { className: "mb-[18px]", image: image }), title ? (jsx(Heading, { headingType: "h4", as: "h3", className: "text-center text-white", title: title })) : null, link?.text && (jsx("div", { className: "mt-auto w-full", children: jsx(Button, { href: link.href, target: link.target, className: "mt-4 w-full text-primary-main bg-white hover:bg-secondary-hover active:bg-secondary-active", children: jsx("div", { className: "text-xs font-light font-medium py-[11px]", children: link.text }) }) }))] })));
|
|
2479
2508
|
|
|
2480
2509
|
const carouselContainerClassesMap = {
|
|
2481
2510
|
comparison: 'flex gap-4 duration-1000',
|
|
@@ -2535,7 +2564,7 @@
|
|
|
2535
2564
|
? renderShowMoreToggleButton({ isShowAllRow, onClick: handleToggle })
|
|
2536
2565
|
: null] }));
|
|
2537
2566
|
});
|
|
2538
|
-
const renderShowMoreToggleButton = ({ isShowAllRow, onClick, }) => (jsx("div", { className: "pr-12", children: jsxs("div", { className: "flex w-full", children: [jsx("div", { className: FIRST_CELL_CLASSES$1 }), jsx("button", { onClick: onClick, className: "mt-
|
|
2567
|
+
const renderShowMoreToggleButton = ({ isShowAllRow, onClick, }) => (jsx("div", { className: "pr-12", children: jsxs("div", { className: "flex w-full", children: [jsx("div", { className: FIRST_CELL_CLASSES$1 }), jsx("button", { onClick: onClick, className: "mt-m py-xs flex-1 border-gray border-solid border text-primary-text bg-white hover:border-primary-main hover:text-primary-main", children: jsx(Text, { size: "text-xs", font: "font-medium", children: !isShowAllRow ? 'Показать все параметры' : 'Скрыть' }) })] }) }));
|
|
2539
2568
|
|
|
2540
2569
|
const ContactsBlock = JSX(({ className, contacts, info, version = 'secondary', ...rest }) => (jsxs(BlockWrapper, { className: style('flex', className), defaultPadding: "p-default", version: version, ...rest, children: [info?.length ? renderBlocks(info) : null, contacts?.length ? renderBlocks(contacts) : null] })));
|
|
2541
2570
|
const renderBlocks = (info) => (jsx("div", { className: "flex grow basis-0", children: info.map((column, index) => renderBlocksColumn({ column, index })) }));
|
|
@@ -2669,7 +2698,7 @@
|
|
|
2669
2698
|
return null;
|
|
2670
2699
|
};
|
|
2671
2700
|
const getErrorBlockStyle = (text) => (text ? 'py-20 pt-3 pb-1' : 'mb-16 pb-2 mt-24 pt-3');
|
|
2672
|
-
const ErrorBlock = JSX(({ className = '', title, subtitle, error, button, ...rest }) => (jsxs(BlockWrapper, { className: style('flex flex-col justify-center items-center', className), defaultPadding: getErrorBlockStyle(button?.text), version: "transparent", ...rest, children: [jsx("div", { className: "flex justify-center py-20", children: renderErrorContent(error) }), title ? jsx(Heading, { headingType: "h1", className: "text-left mb-4", title: title }) : null, subtitle ? (jsx("div", { className: "
|
|
2701
|
+
const ErrorBlock = JSX(({ className = '', title, subtitle, error, button, ...rest }) => (jsxs(BlockWrapper, { className: style('flex flex-col justify-center items-center', className), defaultPadding: getErrorBlockStyle(button?.text), version: "transparent", ...rest, children: [jsx("div", { className: "flex justify-center py-20", children: renderErrorContent(error) }), title ? jsx(Heading, { headingType: "h1", className: "text-left mb-4", title: title }) : null, subtitle ? (jsx("div", { className: "mb-7 max-w-[613px] text-center", children: jsx(Text, { size: "text-xl", font: "font-light", children: subtitle }) })) : null, button?.text ? (jsx(Button, { className: "py-4 px-9", version: button?.version, ...button, children: button.text })) : null] })));
|
|
2673
2702
|
|
|
2674
2703
|
var Currencies;
|
|
2675
2704
|
(function (Currencies) {
|
|
@@ -2705,12 +2734,12 @@
|
|
|
2705
2734
|
});
|
|
2706
2735
|
|
|
2707
2736
|
const renderTableHeader = (title) => {
|
|
2708
|
-
return (jsx("th", { className: "pl-11", children: jsx(Text, { size: "text-m-light", align: "text-left", color: "text-secondary-text", children: title }) }));
|
|
2737
|
+
return (jsx("th", { className: "pl-11", children: jsx(Text, { size: "text-m", font: "font-light", align: "text-left", color: "text-secondary-text", children: title }) }));
|
|
2709
2738
|
};
|
|
2710
2739
|
|
|
2711
2740
|
const ExchangeRateOffice = JSX(({ className, currencies = [], actuality = '', officeName = '', ...rest }) => {
|
|
2712
2741
|
const fourRates = topNRates(currencies, 4);
|
|
2713
|
-
return (jsxs(BlockWrapper, { className: className, ...rest, children: [jsxs("div", { className: "flex flex-row flex-grow-0 justify-between mb-8", children: [jsx(Heading, { headingType: "h4", title: 'Курс обмена валют в ' + officeName, className: "whitespace-pre-wrap text-h4 mb-5" }), jsx("div", { className: "pl-11", children: jsx(Text, { size: "text-m-light", align: "text-left", color: "text-secondary-text", children: actuality }) })] }), jsx("div", { className: "flex flex-row pt-4 text-left", children: fourRates.length > 0 ? (jsxs("table", { className: style('h-fit w-fit', className), children: [jsx("thead", { children: jsxs("tr", { children: [jsx("th", { children: jsx(Text, { size: "text-m-light", align: "text-left", color: "text-secondary-text", children: "\u0412\u0430\u043B\u044E\u0442\u0430" }) }), renderTableHeader('Купить'), renderTableHeader('Продать'), renderTableHeader('Лучшая покупка'), renderTableHeader('Лучшая продажа')] }) }), jsx("tbody", { children: fourRates.map((item) => renderCurrencyRow$1(item)) })] })) : null })] }));
|
|
2742
|
+
return (jsxs(BlockWrapper, { className: className, ...rest, children: [jsxs("div", { className: "flex flex-row flex-grow-0 justify-between mb-8", children: [jsx(Heading, { headingType: "h4", title: 'Курс обмена валют в ' + officeName, className: "whitespace-pre-wrap text-h4 mb-5" }), jsx("div", { className: "pl-11", children: jsx(Text, { size: "text-m", font: "font-light", align: "text-left", color: "text-secondary-text", children: actuality }) })] }), jsx("div", { className: "flex flex-row pt-4 text-left", children: fourRates.length > 0 ? (jsxs("table", { className: style('h-fit w-fit', className), children: [jsx("thead", { children: jsxs("tr", { children: [jsx("th", { children: jsx(Text, { size: "text-m", font: "font-light", align: "text-left", color: "text-secondary-text", children: "\u0412\u0430\u043B\u044E\u0442\u0430" }) }), renderTableHeader('Купить'), renderTableHeader('Продать'), renderTableHeader('Лучшая покупка'), renderTableHeader('Лучшая продажа')] }) }), jsx("tbody", { children: fourRates.map((item) => renderCurrencyRow$1(item)) })] })) : null })] }));
|
|
2714
2743
|
});
|
|
2715
2744
|
const topNRates = (rates, n) => rates.sort((a, b) => Number(a.id) - Number(b.id)).slice(0, n);
|
|
2716
2745
|
|
|
@@ -2727,7 +2756,7 @@
|
|
|
2727
2756
|
});
|
|
2728
2757
|
const formatCurrency = (value) => (value ? currencyNumberFormat.format(value) : '');
|
|
2729
2758
|
|
|
2730
|
-
const TABLE_HEAD_STYLE = 'text-left text-m-light text-secondary-text';
|
|
2759
|
+
const TABLE_HEAD_STYLE = 'text-left text-m font-light text-secondary-text';
|
|
2731
2760
|
const TABLE_HEAD_STYLE_WITH_PL = `${TABLE_HEAD_STYLE} pl-11`;
|
|
2732
2761
|
const CURRENCY_ICONS_MAP = {
|
|
2733
2762
|
USD: 'DollarIcon',
|
|
@@ -2919,9 +2948,7 @@
|
|
|
2919
2948
|
return (jsx("span", { className: `${TEXT_COLOR[bgColor]} ml-2.5 font-medium ${className || ''}`, children: title || 'Россельхозбанк' }));
|
|
2920
2949
|
};
|
|
2921
2950
|
|
|
2922
|
-
const Logo = JSX(({ className = '', href, logo, children = logo?.title, targetBlank, bgColor = 'bg-white', showTitle = true, }) => {
|
|
2923
|
-
return (jsxs("a", { className: `inline-flex items-center font-sans no-underline ${className}`, href: href || '/', target: targetBlank ? '_blank' : '_self', "aria-label": logo?.title || 'Россельхозбанк', children: [renderImage$1(bgColor, logo?.image, { width: '40', height: '45' }), showTitle ? renderTitle$1(children || logo?.title, bgColor) : null] }));
|
|
2924
|
-
});
|
|
2951
|
+
const Logo = JSX(({ className = '', href = '/', logo, children = logo?.title, targetBlank, bgColor = 'bg-white', showTitle = true, }) => (jsxs("a", { className: style('inline-flex items-center font-sans no-underline', className), href: href, target: targetBlank ? '_blank' : '_self', "aria-label": logo?.title || 'Россельхозбанк', children: [renderImage$1(bgColor, logo?.image, { width: '40', height: '45' }), showTitle ? renderTitle$1(children || logo?.title, bgColor) : null] })));
|
|
2925
2952
|
|
|
2926
2953
|
const CloseButton = JSX(({ className, onClick }) => (jsx("button", { className: style('flex justify-center items-center w-12 h-12 p-1 bg-transparent border-none', className), onClick: onClick, title: "\u0417\u0430\u043A\u0440\u044B\u0442\u044C", children: jsx(Img, { image: { icon: 'CloseIcon' }, width: "24", height: "24" }) })));
|
|
2927
2954
|
|
|
@@ -3108,7 +3135,7 @@
|
|
|
3108
3135
|
globalThis.document?.removeEventListener('keydown', handleEscape);
|
|
3109
3136
|
};
|
|
3110
3137
|
}, [onClose]);
|
|
3111
|
-
return isOpened ? (jsx("div", { className: style('fixed inset-0 bg-white text-l-light z-50 overflow-x-hidden overflow-y-scroll no-scrollbar', className), role: "dialog", children: jsxs("div", { className: "relative container pb-12 min-h-full", children: [jsxs("div", { className: "sticky bg-white pt-6 top-0", children: [jsx(CloseButton, { className: "absolute top-0 -right-12", onClick: onClose }), head] }), children] }) })) : null;
|
|
3138
|
+
return isOpened ? (jsx("div", { className: style('fixed inset-0 bg-white text-l font-light z-50 overflow-x-hidden overflow-y-scroll no-scrollbar', className), role: "dialog", children: jsxs("div", { className: "relative container pb-12 min-h-full", children: [jsxs("div", { className: "sticky bg-white pt-6 top-0", children: [jsx(CloseButton, { className: "absolute top-0 -right-12", onClick: onClose }), head] }), children] }) })) : null;
|
|
3112
3139
|
});
|
|
3113
3140
|
|
|
3114
3141
|
function useDialogProps(id, isOpenedOnInit = false) {
|
|
@@ -3155,7 +3182,7 @@
|
|
|
3155
3182
|
const isAnotherPortal = projectSettings.BASE_PATH && basePath ? !projectSettings.BASE_PATH.startsWith(basePath) : false;
|
|
3156
3183
|
const link = useLink({ isRemote: isAnotherPortal, basePath });
|
|
3157
3184
|
const { href, target, onClick } = link(rest);
|
|
3158
|
-
return (jsx("a", { className: style('text-l-light text-secondary-text hover:text-primary-main no-underline', 'overflow-x-hidden overflow-ellipsis whitespace-nowrap'), href: href, target: target || '_self', onClick: onClick, children: text || `Раздел ${index}` }));
|
|
3185
|
+
return (jsx("a", { className: style('text-l font-light text-secondary-text hover:text-primary-main no-underline', 'overflow-x-hidden overflow-ellipsis whitespace-nowrap'), href: href, target: target || '_self', onClick: onClick, children: text || `Раздел ${index}` }));
|
|
3159
3186
|
});
|
|
3160
3187
|
|
|
3161
3188
|
const SearchInput = JSX(({ className, value, autoFocus, onChange, onFocus }) => {
|
|
@@ -3211,13 +3238,13 @@
|
|
|
3211
3238
|
|
|
3212
3239
|
const Contacts = JSX(({ className = '', items, hasButton }) => (jsxs("div", { className: className, children: [items?.length ? items.map(renderContactsGroup) : null, hasButton ? (jsx(Button, { version: "primary", className: "mb-6 w-full", href: "https://www.rshb.ru/feedback/question/", target: "_blank", ariaLabel: "\u041E\u0431\u0440\u0430\u0442\u043D\u0430\u044F \u0441\u0432\u044F\u0437\u044C", text: "\u041E\u0431\u0440\u0430\u0442\u043D\u0430\u044F \u0441\u0432\u044F\u0437\u044C" })) : null] })));
|
|
3213
3240
|
const renderContactsGroup = (item, i) => (jsxs("div", { className: "mb-6", children: [jsx("div", { className: "mb-4", children: jsx(Text, { size: "text-l", font: "font-medium", children: item?.title }) }), jsx("div", { children: item.items?.map(renderContact) })] }, String(i)));
|
|
3214
|
-
const renderContact = (item, index) => (jsxs("div", { className: "mb-4", children: [jsx("div", { children: renderText(item.type, item.text) }), jsx("div", { className: "mt-1 text-s-light text-secondary-text", children: item.description })] }, String(index)));
|
|
3241
|
+
const renderContact = (item, index) => (jsxs("div", { className: "mb-4", children: [jsx("div", { children: renderText(item.type, item.text) }), jsx("div", { className: "mt-1 text-s font-light text-secondary-text", children: item.description })] }, String(index)));
|
|
3215
3242
|
const renderText = (type, text = '') => {
|
|
3216
3243
|
switch (type) {
|
|
3217
3244
|
case 'tel':
|
|
3218
3245
|
return (jsx("a", { className: "text-h6 text-primary-text hover:text-primary-main no-underline", href: `tel:${formatTel(text)}`, children: text }));
|
|
3219
3246
|
case 'email':
|
|
3220
|
-
return (jsx("a", { className: "text-xl-light text-primary-text no-underline", href: `mailto:${text}`, children: text }));
|
|
3247
|
+
return (jsx("a", { className: "text-xl font-light text-primary-text no-underline", href: `mailto:${text}`, children: text }));
|
|
3221
3248
|
default:
|
|
3222
3249
|
return jsx("span", { children: text });
|
|
3223
3250
|
}
|
|
@@ -3233,18 +3260,16 @@
|
|
|
3233
3260
|
});
|
|
3234
3261
|
|
|
3235
3262
|
const HorizontalNavigation = JSX(({ className = '', links }) => {
|
|
3236
|
-
return (jsx("div", { className: className, children: links?.length ? (jsx("div", { className: "flex justify-between items-center gap-5 py-5 border-solid border-x-0 border-y border-y-main-divider", children: links.map((_, i) => (jsx(HorizontalNavigationLink, { index: i, className: "text-l-light max-w-[292px]", ..._ }, String(i)))) })) : null }));
|
|
3263
|
+
return (jsx("div", { className: className, children: links?.length ? (jsx("div", { className: "flex justify-between items-center gap-5 py-5 border-solid border-x-0 border-y border-y-main-divider", children: links.map((_, i) => (jsx(HorizontalNavigationLink, { index: i, className: "text-l font-light max-w-[292px]", ..._ }, String(i)))) })) : null }));
|
|
3237
3264
|
});
|
|
3238
3265
|
|
|
3239
3266
|
const TextInformationLink = JSX(({ className = '', index, ...rest }) => {
|
|
3240
3267
|
const link = useLink({ isRemote: true });
|
|
3241
3268
|
const { href, target, text, onClick } = link(rest);
|
|
3242
|
-
return (jsx("a", { className: `text-xs-light text-secondary-text visited:text-secondary-text hover:text-primary-main inline-block no-underline max-w-[292px] ${className}`, href: href, target: target, onClick: onClick, children: text || `Документ ${index}` }));
|
|
3269
|
+
return (jsx("a", { className: `text-xs font-light text-secondary-text visited:text-secondary-text hover:text-primary-main inline-block no-underline max-w-[292px] ${className}`, href: href, target: target, onClick: onClick, children: text || `Документ ${index}` }));
|
|
3243
3270
|
});
|
|
3244
3271
|
|
|
3245
|
-
const
|
|
3246
|
-
|
|
3247
|
-
const TextInformation = JSX(({ className = '', links }) => (jsxs("div", { className: className, children: [jsx("div", { className: "pt-4 xl:pt-5", children: jsx(Text, { size: textInformationTextSize, color: "text-secondary-text", children: `\u00a9\u00A02000-${new Date().getFullYear()}\u00A0АО \u00ABРоссельхозбанк\u00BB Генеральная лицензия Банка России \u2116\u00A03349 от\u00A012.08.2015\u00A0г.` }) }), links?.length ? (jsx("div", { className: "flex justify-start items-start gap-5 pt-4", children: links.map((_, i) => (jsx(TextInformationLink, { index: i, ..._ }, String(i)))) })) : null] })));
|
|
3272
|
+
const TextInformation = JSX(({ className = '', links }) => (jsxs("div", { className: className, children: [jsx("div", { className: "pt-4 xl:pt-5", children: jsx(Text, { size: "text-xs", font: "font-light", color: "text-secondary-text", children: `\u00a9\u00A02000-${new Date().getFullYear()}\u00A0АО \u00ABРоссельхозбанк\u00BB Генеральная лицензия Банка России \u2116\u00A03349 от\u00A012.08.2015\u00A0г.` }) }), links?.length ? (jsx("div", { className: "flex justify-start items-start gap-5 pt-4", children: links.map((_, i) => (jsx(TextInformationLink, { index: i, ..._ }, String(i)))) })) : null] })));
|
|
3248
3273
|
|
|
3249
3274
|
const LEFT_COL_WIDTH_FULL_HD = 'w-[204px]';
|
|
3250
3275
|
const Footer = JSX(({ className = '', ...rest }) => {
|
|
@@ -3265,7 +3290,7 @@
|
|
|
3265
3290
|
// Condition lower is always true, TS does not understand this, notice filter above
|
|
3266
3291
|
flexBasis: `${_?.month?.length ? _.month.length * colSize : ''}%`,
|
|
3267
3292
|
}));
|
|
3268
|
-
return (jsxs("div", { className: "w-full flex flex-col justify-center mt-13", children: [jsx("div", { className: "flex w-full mb-3 text-h6 text-center", children: mappedCalendar.map((_) => renderMonthNames(_, colSize)) }), jsx("div", { className: "flex w-full", children: mappedCalendar.map((_, ind) => (jsxs("div", { className: "pr-[11px] mr-3 border-r border-main-divider last:border-r-0 last:pr-0 last:mr-0", style: { flexBasis: _.flexBasis }, children: [jsx("div", { className: "flex", children: renderMonthImages(_) }), jsxs("div", { className: "text-s-light text-primary-text mt-3", children: [jsx("span", { children: _.text }), "\u2009", jsx("span", { className: "text-primary-main", children: _.greenText })] })] }, `monthItem-${ind}`))) })] }));
|
|
3293
|
+
return (jsxs("div", { className: "w-full flex flex-col justify-center mt-13", children: [jsx("div", { className: "flex w-full mb-3 text-h6 text-center", children: mappedCalendar.map((_) => renderMonthNames(_, colSize)) }), jsx("div", { className: "flex w-full", children: mappedCalendar.map((_, ind) => (jsxs("div", { className: "pr-[11px] mr-3 border-r border-main-divider last:border-r-0 last:pr-0 last:mr-0", style: { flexBasis: _.flexBasis }, children: [jsx("div", { className: "flex", children: renderMonthImages(_) }), jsxs("div", { className: "text-s font-light text-primary-text mt-3", children: [jsx("span", { children: _.text }), "\u2009", jsx("span", { className: "text-primary-main", children: _.greenText })] })] }, `monthItem-${ind}`))) })] }));
|
|
3269
3294
|
};
|
|
3270
3295
|
const renderMonthNames = (item, colSize) => item.month?.map((_, i) => (jsx("div", { style: { flexBasis: `${colSize}%` }, children: _.text }, `monthName-${i}`)));
|
|
3271
3296
|
const renderMonthImages = (item) => item.month?.map((_) => _.image?.src ? (jsx("div", { className: "h-[207px] border-r pr-3 mr-3 border-main-divider last:border-r-0 last:pr-0 last:mr-0", children: jsx(Img, { image: _.image, className: "flex" }) }, `monthImage-${_.image.src}`)) : null);
|
|
@@ -3377,13 +3402,14 @@
|
|
|
3377
3402
|
|
|
3378
3403
|
const TopItem = JSX(({ className = '', active, flat, children, ...rest }) => {
|
|
3379
3404
|
const link = useLink({ isRemote: true });
|
|
3405
|
+
console.log('link', link);
|
|
3380
3406
|
const { href, target, text, onClick } = link(rest);
|
|
3381
3407
|
return (jsx("a", { className: style(getLinkStyle(active, flat), className), href: href, target: target, onClick: onClick, rel: "noopener noreferrer", "aria-label": text, children: jsx("span", { className: getTextStyle$1(active, flat), children: text || children }) }));
|
|
3382
3408
|
});
|
|
3383
3409
|
const getLinkStyle = (active = false, flat = false) => style('inline-block border border-solid bg-transparent text-center no-underline', active
|
|
3384
3410
|
? 'rounded-md border-primary-main group-data-transparent:border-white'
|
|
3385
3411
|
: 'border-transparent', flat ? '' : 'px-4 py-2');
|
|
3386
|
-
const getTextStyle$1 = (active = false, flat = false) => style('font-sans text-s-light', active
|
|
3412
|
+
const getTextStyle$1 = (active = false, flat = false) => style('font-sans text-s font-light', active
|
|
3387
3413
|
? 'text-primary-main'
|
|
3388
3414
|
: style(flat ? 'text-primary-text' : 'text-secondary-text', 'hover:text-primary-main'), 'group-data-transparent:text-white group-data-transparent:hover:text-primary-hover');
|
|
3389
3415
|
|
|
@@ -3421,7 +3447,7 @@
|
|
|
3421
3447
|
.fill(null)
|
|
3422
3448
|
.map((_, i) => (jsx("div", { className: "w-[3px] h-[3px] rounded mr-1 bg-primary-text group-hover/btn:bg-primary-hover group-data-transparent:bg-white" }, String(i)))) }), jsx("div", { className: style('absolute flex flex-col rounded-md bg-white p-6 pb-2', visible ? '' : 'hidden'), "aria-hidden": !visible, children: items?.map((item, i) => {
|
|
3423
3449
|
const { text, ...linkProps } = item;
|
|
3424
|
-
return (jsx("a", { className: style('text-l-light pb-4 hover:text-primary-main', item === activeItem ? 'text-primary-main' : ''), ...link(linkProps), children: text }, item.href || String(i)));
|
|
3450
|
+
return (jsx("a", { className: style('text-l font-light pb-4 hover:text-primary-main', item === activeItem ? 'text-primary-main' : ''), ...link(linkProps), children: text }, item.href || String(i)));
|
|
3425
3451
|
}) })] }));
|
|
3426
3452
|
});
|
|
3427
3453
|
|
|
@@ -3430,7 +3456,7 @@
|
|
|
3430
3456
|
const { href, target, text, onClick } = link(rest);
|
|
3431
3457
|
return (jsxs("a", { className: style('relative inline-block bg-transparent text-center no-underline', className), href: href, target: target, "data-item-name": dataItemName, onClick: onClick, children: [jsx("span", { className: getTextStyle(active), children: text || children }), active ? (jsx("div", { className: "absolute left-0 right-0 -bottom-3 h-0.5 bg-primary-main group-data-transparent:bg-transparent" })) : null] }));
|
|
3432
3458
|
});
|
|
3433
|
-
const getTextStyle = (active = false) => style('font-sans text-l-light', active ? 'text-primary-main' : 'text-primary-text hover:text-primary-main', 'group-data-transparent:text-white group-data-transparent:hover:text-primary-hover');
|
|
3459
|
+
const getTextStyle = (active = false) => style('font-sans text-l font-light', active ? 'text-primary-main' : 'text-primary-text hover:text-primary-main', 'group-data-transparent:text-white group-data-transparent:hover:text-primary-hover');
|
|
3434
3460
|
|
|
3435
3461
|
const HeaderSubMenuItem = JSX(({ observerOptions, onVisibilityChange, children, className, ...rest }) => {
|
|
3436
3462
|
const observerCallback = useCallback((entries) => {
|
|
@@ -3624,7 +3650,7 @@
|
|
|
3624
3650
|
};
|
|
3625
3651
|
function renderNavButton$1({ title, i, isActive, onClick }) {
|
|
3626
3652
|
const btnClassName = isActive ? 'bg-primary-main text-white rounded-md' : `text-secondary-text`;
|
|
3627
|
-
return (jsx("button", { type: "button", onClick: onClick, "aria-label": title, className: `box-border px-4 py-3 text-m-light ${btnClassName}`, children: title }, String(i)));
|
|
3653
|
+
return (jsx("button", { type: "button", onClick: onClick, "aria-label": title, className: `box-border px-4 py-3 text-m font-light ${btnClassName}`, children: title }, String(i)));
|
|
3628
3654
|
}
|
|
3629
3655
|
|
|
3630
3656
|
const joinList = (sep) => (list) => list.reduce((acc, el, i) => (acc.length ? acc.concat({ ...sep, key: `sep-${i}` }, el) : [el]), []);
|
|
@@ -3648,7 +3674,7 @@
|
|
|
3648
3674
|
if (investmentZeroColumn) {
|
|
3649
3675
|
columns.unshift(investmentZeroColumn);
|
|
3650
3676
|
}
|
|
3651
|
-
return (jsx(BlockWrapper, { className: className, ...rest, children: jsxs("div", { className: "container text-m-light", children: [columns?.length ? (jsxs("div", { children: [jsxs("div", { className: "flex items-end relative pl-9 pr-5 text-white", children: [joinList(jsx("div", { className: "w-px h-4 bg-gray" }))(columns.map(renderInvestmentColumn)), jsx("div", { className: "absolute right-[30px] w-px h-4 bg-gray" })] }), jsx("div", { className: "border-t border-gray -mt-2 ml-9 mr-8" }), jsx("div", { className: "flex justify-between text-primary-text mt-3 -mx-10", children: columns.map(renderInvestmentColumnTitle) })] })) : null, items?.length ? (jsx(List, { className: "mt-9 max-w-[657px]", items: items, isDotted: isDotted, listItemSize: "M" })) : null] }) }));
|
|
3677
|
+
return (jsx(BlockWrapper, { className: className, ...rest, children: jsxs("div", { className: "container text-m font-light", children: [columns?.length ? (jsxs("div", { children: [jsxs("div", { className: "flex items-end relative pl-9 pr-5 text-white", children: [joinList(jsx("div", { className: "w-px h-4 bg-gray" }))(columns.map(renderInvestmentColumn)), jsx("div", { className: "absolute right-[30px] w-px h-4 bg-gray" })] }), jsx("div", { className: "border-t border-gray -mt-2 ml-9 mr-8" }), jsx("div", { className: "flex justify-between text-primary-text mt-3 -mx-10", children: columns.map(renderInvestmentColumnTitle) })] })) : null, items?.length ? (jsx(List, { className: "mt-9 max-w-[657px]", items: items, isDotted: isDotted, listItemSize: "M" })) : null] }) }));
|
|
3652
3678
|
});
|
|
3653
3679
|
const renderInvestmentColumn = (column, i, arr) => {
|
|
3654
3680
|
const isSecondColumn = i === 1;
|
|
@@ -3671,10 +3697,7 @@
|
|
|
3671
3697
|
return (jsx("div", { className: `flex-1 max-w-[180px] text-center px-2 ${isFirstColumn ? 'pl-9' : ''} ${isLastColumn ? 'mr-3.5' : ' '}`, children: column.title }, `title_${i}`));
|
|
3672
3698
|
};
|
|
3673
3699
|
|
|
3674
|
-
const
|
|
3675
|
-
const { text, fileSize, ...linkProps } = doc;
|
|
3676
|
-
return (jsxs("a", { className: "flex box-border gap-3 group/item h-fit w-fit text-primary-text no-underline hover:text-primary-main", role: "link", ...linkProps, children: [icon, text ? (jsxs(Text, { size: "text-l", font: "font-light", children: [text, jsx(Text, { color: "text-secondary-text", children: linkProps?.href && formatSuffix(getExtFromHref(linkProps.href), fileSize) })] })) : null] }));
|
|
3677
|
-
});
|
|
3700
|
+
const LinkDocItem = JSX(({ icon, text, fileSize, ...linkProps }) => (jsxs("a", { className: "flex box-border gap-3 group/item h-fit w-fit text-primary-text no-underline hover:text-primary-main", role: "link", ...linkProps, children: [icon, text ? (jsxs(Text, { size: "text-l", font: "font-light", children: [text, jsx(Text, { color: "text-secondary-text", children: linkProps?.href && formatSuffix(getExtFromHref(linkProps.href), fileSize) })] })) : null] })));
|
|
3678
3701
|
const formatSuffix = (ext, fileSize) => {
|
|
3679
3702
|
const prefix = ext || fileSize ? ',' : '';
|
|
3680
3703
|
const extension = ext ? ` ${ext}` : '';
|
|
@@ -3689,16 +3712,27 @@
|
|
|
3689
3712
|
return index !== -1 ? href.substring(index + 1) : '';
|
|
3690
3713
|
};
|
|
3691
3714
|
|
|
3715
|
+
const linkIconStyle = 'min-w-6 min-h-6';
|
|
3716
|
+
|
|
3692
3717
|
const linkColumnsModeStyleMap = {
|
|
3693
|
-
double: 'flex-wrap',
|
|
3694
|
-
single: 'flex-col',
|
|
3718
|
+
double: 'sm:flex-wrap sm:flex-row',
|
|
3719
|
+
single: 'sm:flex-col',
|
|
3720
|
+
};
|
|
3721
|
+
const LinkDocs = JSX(({ className = '', title, description, align = 'text-center', documents, icon = { icon: 'DocIcon' }, columnsMode = 'double', ...rest }) => {
|
|
3722
|
+
const router = useRouter();
|
|
3723
|
+
return (jsxs(BlockWrapper, { className: className, defaultPadding: "p-default", ...rest, children: [jsx(Headline, { className: "!p-0", title: title, description: description, align: align, headlineVersion: "M", as: "h2" }), documents?.length ? (jsx("div", { className: style('mt-5 sm:mt-8 flex flex-col gap-6', linkColumnsModeStyleMap[columnsMode]), role: "list", children: documents.map(renderLinkDocItem(router, columnsMode, icon)) })) : null] }));
|
|
3724
|
+
});
|
|
3725
|
+
const renderLinkDocItem = (router, columnsMode, icon) => (docBlockDef, i) => {
|
|
3726
|
+
const href = docBlockDef?.docType === 'Attachment'
|
|
3727
|
+
? adjustHref(router)(docBlockDef?.attachment?.src)
|
|
3728
|
+
: docBlockDef?.href;
|
|
3729
|
+
return (jsx("div", { className: columnsMode === 'double' ? 'basis-[calc(50%-20px)]' : '', role: "listitem", children: jsx(LinkDocItem, { ...docBlockDef, href: href, icon: icon ? jsx(Img, { className: linkIconStyle, image: icon, width: "24", height: "24" }) : null }) }, String(i)));
|
|
3695
3730
|
};
|
|
3696
|
-
const LinkDocs = JSX(({ className = '', title, description, align = 'text-center', documents, icon = { icon: 'DocIcon' }, columnsMode = 'double', ...rest }) => (jsxs(BlockWrapper, { className: className, defaultPadding: "p-default", ...rest, children: [jsx(Headline, { className: "!p-0", title: title, description: description, align: align, headlineVersion: "M", as: "h2" }), documents?.length ? (jsx("div", { className: style('mt-8 flex gap-6', linkColumnsModeStyleMap[columnsMode]), role: "list", children: documents.map((doc, i) => (jsx("div", { className: columnsMode === 'double' ? 'basis-[calc(50%-20px)]' : '', role: "listitem", children: jsx(LinkDocsListItem, { doc: doc, icon: icon ? (jsx(Img, { className: "min-w-6 min-h-6", image: icon, width: "24", height: "24" })) : null }) }, String(i)))) })) : null] })));
|
|
3697
3731
|
|
|
3698
3732
|
const renderDescription$2 = (description) => description ? (jsx("div", { className: "mb-5 pt-0.5 sm:mb-0 sm:pt-0", children: jsx(Text, { size: "text-xl", "font-weight": "light", children: description }) })) : null;
|
|
3699
3733
|
|
|
3700
3734
|
const renderList$1 = (items) => {
|
|
3701
|
-
return items?.length ? (jsx(List, { items: items, className: "text-l-light mb-2 last:mb-0" })) : (jsx("span", { className: "text-m-light text-secondary-text", children: "\u041D\u0430\u0432\u0435\u0434\u0438\u0442\u0435 \u043A\u0430\u043C\u0435\u0440\u0443 \u0442\u0435\u043B\u0435\u0444\u043E\u043D\u0430 \u043D\u0430 QR-\u043A\u043E\u0434 \u0438 \u0441\u043A\u0430\u0447\u0430\u0439\u0442\u0435 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435" }));
|
|
3735
|
+
return items?.length ? (jsx(List, { items: items, className: "text-l font-light mb-2 last:mb-0" })) : (jsx("span", { className: "text-m font-light text-secondary-text", children: "\u041D\u0430\u0432\u0435\u0434\u0438\u0442\u0435 \u043A\u0430\u043C\u0435\u0440\u0443 \u0442\u0435\u043B\u0435\u0444\u043E\u043D\u0430 \u043D\u0430 QR-\u043A\u043E\u0434 \u0438 \u0441\u043A\u0430\u0447\u0430\u0439\u0442\u0435 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435" }));
|
|
3702
3736
|
};
|
|
3703
3737
|
|
|
3704
3738
|
const MobileAppTile = JSX(({ className, padding, alignTitle = 'left', buttons = [], description, headingType = 'h4', image, items, qr, title = 'Мобильное приложение', version = 'primary', ...rest }) => {
|
|
@@ -4026,11 +4060,11 @@
|
|
|
4026
4060
|
const lunchHourText = hasTime ? `Перерыв ${lunchHour}` : lunchHour;
|
|
4027
4061
|
return status ? (jsxs("div", { className: "flex", children: [jsx("div", { className: "p-3 border rounded-md text-m flex items-center cursor-pointer text-primary-main border-green-light mr-4", children: workTime ? workTime : null }), jsx("div", { className: "p-3 border rounded-md text-m flex items-center cursor-pointer text-yellow border-golden", children: lunchHour ? lunchHourText : null })] })) : (jsx("div", { className: "flex", children: jsx("div", { className: "p-3 border rounded-md text-m flex items-center cursor-pointer text-error border-error", children: "\u0412\u044B\u0445\u043E\u0434\u043D\u043E\u0439" }) }));
|
|
4028
4062
|
};
|
|
4029
|
-
const renderNearbyOffice = ({ icon, title, distance, time }, index) => (jsxs("div", { className: "flex mr-4", children: [jsx(Icon, { name: icon, width: "16", height: "16", className: "mr-1" }), title ? jsxs(
|
|
4030
|
-
const renderDay = ({ title, status, workTime, lunchHour, description }, inx) => (jsxs("div", { className: "flex flex-col pb-3 border-b border-solid border-main-divider mb-3 last:border-0", children: [jsxs("div", { className: "flex justify-between items-center w-full pb-1 text-l text-primary-text", children: [jsx("div", { children: title }), status ? null : jsx("div", { className: "text-m-light text-error", children: "\u0412\u044B\u0445\u043E\u0434\u043D\u043E\u0439" }), status && workTime ? jsx("div", { children: workTime }) : null] }), status && lunchHour ? renderLunchHour(lunchHour) : null, description ? (jsx("div", { className: "pb-1 text-s-light text-secondary-text", children: description })) : null] }, `day${inx}`));
|
|
4063
|
+
const renderNearbyOffice = ({ icon, title, distance, time }, index) => (jsxs("div", { className: "flex mr-4", children: [jsx(Icon, { name: icon, width: "16", height: "16", className: "mr-1" }), title ? jsxs(Text, { size: "text-m", children: [title, "\u00A0"] }) : null, jsxs(Text, { size: "text-m", font: "font-light", children: [distance ? ` (${distance})` : null, time ? `, ${time}` : null] })] }, `nearbyOffice${index}`));
|
|
4064
|
+
const renderDay = ({ title, status, workTime, lunchHour, description }, inx) => (jsxs("div", { className: "flex flex-col pb-3 border-b border-solid border-main-divider mb-3 last:border-0", children: [jsxs("div", { className: "flex justify-between items-center w-full pb-1 text-l text-primary-text", children: [jsx("div", { children: title }), status ? null : jsx("div", { className: "text-m font-light text-error", children: "\u0412\u044B\u0445\u043E\u0434\u043D\u043E\u0439" }), status && workTime ? jsx("div", { children: workTime }) : null] }), status && lunchHour ? renderLunchHour(lunchHour) : null, description ? (jsx("div", { className: "pb-1 text-s font-light text-secondary-text", children: description })) : null] }, `day${inx}`));
|
|
4031
4065
|
const renderLunchHour = (lunchHour) => {
|
|
4032
4066
|
const hasTime = /\d+/gi.test(lunchHour);
|
|
4033
|
-
return hasTime ? (jsxs("div", { className: "flex justify-between items-center w-full pb-1 text-m-light text-error", children: [jsx("div", { children: "\u041F\u0435\u0440\u0435\u0440\u044B\u0432" }), jsx("div", { children: lunchHour })] })) : (jsx("div", { className: "flex justify-between items-center w-full pb-1 text-m-light text-primary-main", children: jsx("div", { children: lunchHour }) }));
|
|
4067
|
+
return hasTime ? (jsxs("div", { className: "flex justify-between items-center w-full pb-1 text-m font-light text-error", children: [jsx("div", { children: "\u041F\u0435\u0440\u0435\u0440\u044B\u0432" }), jsx("div", { children: lunchHour })] })) : (jsx("div", { className: "flex justify-between items-center w-full pb-1 text-m font-light text-primary-main", children: jsx("div", { children: lunchHour }) }));
|
|
4034
4068
|
};
|
|
4035
4069
|
|
|
4036
4070
|
const OfficeMap = JSX(({ className = '' }) => {
|
|
@@ -4064,11 +4098,11 @@
|
|
|
4064
4098
|
];
|
|
4065
4099
|
const currentWeekDayInd = new Date().getDay();
|
|
4066
4100
|
const currentWeekDay = currentWeekDayInd > 0 ? workScheduleWeek[currentWeekDayInd - 1] : workScheduleWeek[6];
|
|
4067
|
-
return (jsxs("div", { className: `flex flex-col font-sans bg-white w-full ${className}`, children: [jsxs("div", { className: "flex flex-col px-12 pt-12", children: [jsxs("div", { className: "flex justify-between", children: [jsx("div", { className: "text-h2", children: name }), renderCurrentDaySchedule(currentWeekDay)] }), jsxs("div", { className: "flex text-l-light pt-4", children: [jsx(Icon, { name: "GeolocationIcon", width: "24", height: "24", className: "pr-1" }), address] }), jsx("div", { className: "flex pt-4", children: nearbyOffices.map(renderNearbyOffice) })] }), jsxs("div", { className: "flex justify-between pt-8", children: [jsx("div", { className: "flex-grow h-full w-full overflow-hidden", children: point ? jsx(YandexMap, { points: [point], className: "h-full" }) : null }), jsx("div", { className: "w-[434px] min-w-[434px] pl-9 pr-12 pb-14 flex flex-col", children: workScheduleWeek.map(renderDay) })] })] }));
|
|
4101
|
+
return (jsxs("div", { className: `flex flex-col font-sans bg-white w-full ${className}`, children: [jsxs("div", { className: "flex flex-col px-12 pt-12", children: [jsxs("div", { className: "flex justify-between", children: [jsx("div", { className: "text-h2", children: name }), renderCurrentDaySchedule(currentWeekDay)] }), jsxs("div", { className: "flex text-l font-light pt-4", children: [jsx(Icon, { name: "GeolocationIcon", width: "24", height: "24", className: "pr-1" }), address] }), jsx("div", { className: "flex pt-4", children: nearbyOffices.map(renderNearbyOffice) })] }), jsxs("div", { className: "flex justify-between pt-8", children: [jsx("div", { className: "flex-grow h-full w-full overflow-hidden", children: point ? jsx(YandexMap, { points: [point], className: "h-full" }) : null }), jsx("div", { className: "w-[434px] min-w-[434px] pl-9 pr-12 pb-14 flex flex-col", children: workScheduleWeek.map(renderDay) })] })] }));
|
|
4068
4102
|
});
|
|
4069
4103
|
|
|
4070
4104
|
const OfficeServicesBlock = JSX(({ className = '', title, servicesList, ...rest }) => (jsxs(BlockWrapper, { className: style('flex flex-col', className), ...rest, children: [title ? jsx(Heading, { headingType: "h5", className: "mb-5", title: title }) : null, servicesList?.length ? (jsx("ul", { className: "list-none m-0 p-0", children: servicesList.map(renderListItems) })) : null] })));
|
|
4071
|
-
const renderListItems = (itemList, i) => (jsxs("li", { className: "flex mb-5 last:mb-0 list-none", children: [itemList.icon ? (jsx(Img, { className: "mr-3 min-w-6 min-h-6 w-6 h-6", width: "24", height: "24", image: itemList.icon })) : null, itemList.label ? jsx(
|
|
4105
|
+
const renderListItems = (itemList, i) => (jsxs("li", { className: "flex mb-5 last:mb-0 list-none", children: [itemList.icon ? (jsx(Img, { className: "mr-3 min-w-6 min-h-6 w-6 h-6", width: "24", height: "24", image: itemList.icon })) : null, itemList.label ? (jsx(Text, { size: "text-l", font: "font-light", children: itemList.label })) : null] }, `list_item_${String(i)}`));
|
|
4072
4106
|
|
|
4073
4107
|
const ParagraphBlock = JSX(({ text, size, align, font, children, ...rest }) => (jsx(BlockWrapper, { defaultPadding: "p-0", ...rest, children: jsx(Paragraph, { size: size, align: align, font: font, children: text || children }) })));
|
|
4074
4108
|
|
|
@@ -4103,7 +4137,7 @@
|
|
|
4103
4137
|
const BenefitsList = JSX(({ isTabularBenefits, ...rest }) => isTabularBenefits ? jsx(TabularBenefitsList, { ...rest }) : jsx(DefaultBenefitsList, { ...rest }));
|
|
4104
4138
|
|
|
4105
4139
|
const Tags = JSX(({ className, tags }) => tags?.length ? (jsx("div", { className: style('flex flex-wrap gap-xs', className), role: "list", children: tags.map(renderTag) })) : null);
|
|
4106
|
-
const renderTag = (tag, key) => (jsx("div", { className: "py-2 px-2.5 border-solid border rounded-md border-gray", role: "listitem", children: jsx(Text, { size: "text-m-light", children: tag }) }, String(key)));
|
|
4140
|
+
const renderTag = (tag, key) => (jsx("div", { className: "py-2 px-2.5 border-solid border rounded-md border-gray", role: "listitem", children: jsx(Text, { size: "text-m", font: "font-light", children: tag }) }, String(key)));
|
|
4107
4141
|
|
|
4108
4142
|
const BaseProductTile = JSX(({ className, padding, defaultPadding, title, description, headlineVersion = 'L', align = 'text-left', isInsetTitle = true, benefitsVersion, isTabularBenefits, benefits, __html, items, isDotted = true, listItemSize, tags, buttons, image, imageOptions: { imageAlign = 'end', directionRight = true, isBackground } = {}, children, }) => {
|
|
4109
4143
|
const img = image?.src ? jsx(Img, { image: image }) : null;
|
|
@@ -4152,8 +4186,8 @@
|
|
|
4152
4186
|
? 'text-primary-text text-h6 py-2'
|
|
4153
4187
|
: 'text-l pb-1 text-secondary-text group-data-secondary:text-white';
|
|
4154
4188
|
const btnDescClassName = isActive
|
|
4155
|
-
? 'text-secondary-text text-l-light'
|
|
4156
|
-
: 'text-
|
|
4189
|
+
? 'text-secondary-text text-l font-light'
|
|
4190
|
+
: 'text-secondary-text text-m font-light group-data-secondary:text-white/80';
|
|
4157
4191
|
return (jsxs("button", { type: "button", onClick: () => onClick(i), "aria-label": nav?.title, className: style('relative px-6 box-border overflow-hidden text-left grow basis-0 border border-gray group-data-secondary:border-white/50', btnClassName), children: [jsx("div", { className: btnTitleClassName, children: nav?.title }), jsx("div", { className: btnDescClassName, children: nav?.description })] }, String(i)));
|
|
4158
4192
|
};
|
|
4159
4193
|
|
|
@@ -4177,7 +4211,7 @@
|
|
|
4177
4211
|
: null] })] })));
|
|
4178
4212
|
const renderIconBlock = (icon) => (jsxs("div", { className: 'w-10 h-7 sm:w-24 sm:h-16 mb-3 sm:mb-0 sm:mt-3', children: [icon?.src ? jsx(Img, { image: icon }) : null, icon?.icon ? jsx(Img, { image: icon }) : null] }));
|
|
4179
4213
|
const renderDescriptionBlock = (__html) => (jsx("div", { className: "border-b border-main-divider pb-5 my-5", children: jsx(RichText, { __html: __html }) }));
|
|
4180
|
-
const renderBlock = (blockName, data, iconName) => (jsxs("div", { className: "flex mb-4", children: [jsx(Icon, { className: "pr-4", iconVersion: "black", name: iconName, width: "24", height: "24" }), jsxs("div", { className: "flex flex-col first:pb-1", children: [jsx(Text, { size: "text-m-light", children: blockName }), data ? (jsx(Text, { size: "text-h6", color: "text-green", children: data })) : null] })] }));
|
|
4214
|
+
const renderBlock = (blockName, data, iconName) => (jsxs("div", { className: "flex mb-4", children: [jsx(Icon, { className: "pr-4", iconVersion: "black", name: iconName, width: "24", height: "24" }), jsxs("div", { className: "flex flex-col first:pb-1", children: [jsx(Text, { size: "text-m", font: "font-light", children: blockName }), data ? (jsx(Text, { size: "text-h6", color: "text-green", children: data })) : null] })] }));
|
|
4181
4215
|
|
|
4182
4216
|
const RichTextBlock = JSX((props) => {
|
|
4183
4217
|
const { __html, richVersion, ...rest } = props;
|
|
@@ -4245,14 +4279,14 @@
|
|
|
4245
4279
|
const ITEMS = ['От 1 дня', 'До 365 дней'];
|
|
4246
4280
|
const MIN = 1;
|
|
4247
4281
|
const MAX = 365;
|
|
4248
|
-
const RentalPeriod = JSX(({ days, setDays }) => (jsxs("div", { className: "mb-6", children: [jsx("span", { className: "block text-m-light mb-
|
|
4282
|
+
const RentalPeriod = JSX(({ days, setDays }) => (jsxs("div", { className: "mb-6", children: [jsx("span", { className: "block text-m font-light mb-1", children: "\u0421\u0440\u043E\u043A \u0430\u0440\u0435\u043D\u0434\u044B" }), jsx(InputRange, { min: MIN, max: MAX, value: days, items: ITEMS, onChange: setDays })] })));
|
|
4249
4283
|
|
|
4250
4284
|
const SafeBoxCases = JSX(({ caseVolumes = [], selectedCaseVolume, onSelectedCaseVolume, safeBoxCases = [], selectedBoxSize, onSelectedBoxSize, }) => {
|
|
4251
4285
|
return (jsxs("div", { className: "flex justify-between mb-6", children: [jsx("div", { className: "mr-4 w-full", children: jsx(WrapperSelect, { data: caseVolumes, fieldLabel: "volume", selected: selectedCaseVolume, setSelected: onSelectedCaseVolume, label: "\u0420\u0430\u0437\u043C\u0435\u0440", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0440\u0430\u0437\u043C\u0435\u0440" }) }), jsx("div", { className: "w-full", children: jsx(WrapperSelect, { data: safeBoxCases, fieldLabel: "safeBoxCasesSize", selected: selectedBoxSize, setSelected: onSelectedBoxSize, label: "\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B \u044F\u0447\u0435\u0439\u043A\u0438, \u043C\u043C (\u0412\u0445\u0428\u0445\u0414)", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 \u044F\u0447\u0435\u0439\u043A\u0438" }) })] }));
|
|
4252
4286
|
});
|
|
4253
4287
|
|
|
4254
4288
|
const SafeDepositRentalFields = JSX(({ regions, selectedRegion, branches, selectedBranch, days, selectedCaseVolume, selectedBoxSize, safeBoxCases, caseVolumes, onChange, onClick, }) => {
|
|
4255
|
-
return (jsxs("div", { className: "flex-1 mr-9", children: [jsx(RegionsAndBranches, { regions: regions, selectedRegion: selectedRegion, onSelectedRegion: (value) => onChange({ selectedRegion: value }), branches: branches, selectedBranch: selectedBranch, onSelectedBranch: onSelectedBranch(onChange) }), jsx(RentalPeriod, { days: days, setDays: (value) => onChange({ days: value }) }), jsx(SafeBoxCases, { caseVolumes: caseVolumes, selectedCaseVolume: selectedCaseVolume, onSelectedCaseVolume: onSelectedCaseVolume(onChange), safeBoxCases: safeBoxCases, selectedBoxSize: selectedBoxSize, onSelectedBoxSize: (value) => onChange({ selectedBoxSize: value }) }), jsx(
|
|
4289
|
+
return (jsxs("div", { className: "flex-1 mr-9", children: [jsx(RegionsAndBranches, { regions: regions, selectedRegion: selectedRegion, onSelectedRegion: (value) => onChange({ selectedRegion: value }), branches: branches, selectedBranch: selectedBranch, onSelectedBranch: onSelectedBranch(onChange) }), jsx(RentalPeriod, { days: days, setDays: (value) => onChange({ days: value }) }), jsx(SafeBoxCases, { caseVolumes: caseVolumes, selectedCaseVolume: selectedCaseVolume, onSelectedCaseVolume: onSelectedCaseVolume(onChange), safeBoxCases: safeBoxCases, selectedBoxSize: selectedBoxSize, onSelectedBoxSize: (value) => onChange({ selectedBoxSize: value }) }), jsx(Text, { size: "text-l", font: "font-light", color: "text-secondary-text", children: "\u0422\u0438\u043F \u0434\u043E\u0433\u043E\u0432\u043E\u0440\u0430" }), jsxs("div", { className: "flex justify-between items-center mt-5", children: [jsx(RenderRadioButtons, {}), jsx(Button, { text: "\u041E\u0444\u0438\u0441\u044B \u043D\u0430 \u043A\u0430\u0440\u0442\u0435", version: "primary", onClick: onClick })] })] }));
|
|
4256
4290
|
});
|
|
4257
4291
|
const onSelectedBranch = (onChange) => (value) => {
|
|
4258
4292
|
onChange({ selectedBranch: value, selectedCaseVolume: '', selectedBoxSize: '' });
|
|
@@ -4263,10 +4297,10 @@
|
|
|
4263
4297
|
|
|
4264
4298
|
const SafeDepositRentalTotal = JSX(({ days, tariffs = [] }) => {
|
|
4265
4299
|
const price = calculatePrice(days, tariffs);
|
|
4266
|
-
return (jsxs("div", { className: "flex flex-col justify-between", children: [jsxs("div", { className: "flex", children: [renderTotal('Аренда за', days, 'mr-11'), renderTotal('Цена', price + ' ₽')] }), jsxs("div", { className: "bg-primary-main px-10 pt-10 pb-4 text-center", children: [jsx(Img, { image: { icon: 'PackA4Icon' }, width: "290", height: "257" }), jsxs("span", { className: "text-s-light text-white opacity-80 mt-2 inline-block", children: ["\u041D\u0430 \u0440\u0438\u0441\u0443\u043D\u043A\u0438 \u0438\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0430 \u043F\u0430\u0447\u043A\u0430", jsx("br", {}), " \u043B\u0438\u0441\u0442\u043E\u0432 \u0444\u043E\u0440\u043C\u0430\u0442\u0430 \u04104"] })] })] }));
|
|
4300
|
+
return (jsxs("div", { className: "flex flex-col justify-between", children: [jsxs("div", { className: "flex", children: [renderTotal('Аренда за', days, 'mr-11'), renderTotal('Цена', price + ' ₽')] }), jsxs("div", { className: "bg-primary-main px-10 pt-10 pb-4 text-center", children: [jsx(Img, { image: { icon: 'PackA4Icon' }, width: "290", height: "257" }), jsxs("span", { className: "text-s font-light text-white opacity-80 mt-2 inline-block", children: ["\u041D\u0430 \u0440\u0438\u0441\u0443\u043D\u043A\u0438 \u0438\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0430 \u043F\u0430\u0447\u043A\u0430", jsx("br", {}), " \u043B\u0438\u0441\u0442\u043E\u0432 \u0444\u043E\u0440\u043C\u0430\u0442\u0430 \u04104"] })] })] }));
|
|
4267
4301
|
});
|
|
4268
4302
|
const renderTotal = (label, total, className = '') => {
|
|
4269
|
-
return (jsxs("div", { className: className, children: [jsx("div", { className: "text-m-light text-secondary-text mb-1", children: label }), jsx("span", { className: "text-h3 text-primary-text", children: total })] }));
|
|
4303
|
+
return (jsxs("div", { className: className, children: [jsx("div", { className: "text-m font-light text-secondary-text mb-1", children: label }), jsx("span", { className: "text-h3 text-primary-text", children: total })] }));
|
|
4270
4304
|
};
|
|
4271
4305
|
const calculatePrice = (days, tariffs) => {
|
|
4272
4306
|
const tariffType = getTariffType(days);
|
|
@@ -4346,7 +4380,7 @@
|
|
|
4346
4380
|
const branches = useSafeBoxes(selectedRegion);
|
|
4347
4381
|
const handleChangeSafeDepositState = useCallback((state) => setStateDepositState((oldState) => ({ ...oldState, ...state })), [setStateDepositState]);
|
|
4348
4382
|
const points = getCoordinates(getBranch(branches, safeDepositState.selectedBranch) || branches);
|
|
4349
|
-
return (jsxs(BlockWrapper, { className: className, defaultPadding: "", ...rest, children: [jsxs("div", { className: "px-8 py-12", children: [title ? (jsx(Heading, { title: title, headingType: "h3", as: "h2", className: "text-primary-text mb-2.5 text-center" })) : null, jsx(SafeDepositRentalForm, { regions: regions, branches: branches, data: { ...safeDepositState, selectedRegion }, onClick: handleShowMap, onChange: handleChangeSafeDepositState }), footnote ? jsx(
|
|
4383
|
+
return (jsxs(BlockWrapper, { className: className, defaultPadding: "", ...rest, children: [jsxs("div", { className: "px-8 py-12", children: [title ? (jsx(Heading, { title: title, headingType: "h3", as: "h2", className: "text-primary-text mb-2.5 text-center" })) : null, jsx(SafeDepositRentalForm, { regions: regions, branches: branches, data: { ...safeDepositState, selectedRegion }, onClick: handleShowMap, onChange: handleChangeSafeDepositState }), footnote ? (jsx(Paragraph, { size: "text-s", font: "font-light", children: footnote })) : null] }), points.length && showMap ? jsx(YandexMap, { points: points, className: "h-[640px]" }) : null] }));
|
|
4350
4384
|
});
|
|
4351
4385
|
const normalizeSelectedRegion = (selectedRegion, regions) => !selectedRegion && regions?.length && regions[0]?.code ? regions[0].code : selectedRegion;
|
|
4352
4386
|
|
|
@@ -4374,7 +4408,7 @@
|
|
|
4374
4408
|
const getContainerWidth = (length) => (length < 5 ? 'w-[276px]' : 'w-[210px]');
|
|
4375
4409
|
|
|
4376
4410
|
const STEPS_BLOCK_STYLE = {
|
|
4377
|
-
description: 'text-white/80 text-l-light group-data-primary:text-secondary-text group-data-gray:text-secondary-text',
|
|
4411
|
+
description: 'text-white/80 text-l font-light group-data-primary:text-secondary-text group-data-gray:text-secondary-text',
|
|
4378
4412
|
iconText: 'text-white group-data-primary:text-secondary-text group-data-gray:text-secondary-text',
|
|
4379
4413
|
iconBackground: 'bg-white/30 group-data-primary:bg-main-divider',
|
|
4380
4414
|
iconConnector: 'bg-white group-data-primary:bg-secondary-light',
|
|
@@ -4570,7 +4604,7 @@
|
|
|
4570
4604
|
const renderButtonsCellData = ({ buttons }) => renderButtonsSection(buttons);
|
|
4571
4605
|
const renderLabelDescriptionCellData = ({ label, description }) => {
|
|
4572
4606
|
const labelClassName = `text-h6 m-0 ${description ? 'mb-1' : ''}`;
|
|
4573
|
-
return (jsxs("div", { children: [label ? jsx("div", { className: labelClassName, children: label }) : null, description ? jsx("div", { className: "text-secondary-text text-l-light", children: description }) : null] }));
|
|
4607
|
+
return (jsxs("div", { children: [label ? jsx("div", { className: labelClassName, children: label }) : null, description ? (jsx("div", { className: "text-secondary-text text-l font-light", children: description })) : null] }));
|
|
4574
4608
|
};
|
|
4575
4609
|
const renderImgCellData = ({ image }) => (image?.src ? jsx(Img, { image: image }) : null);
|
|
4576
4610
|
const renderListCellData = ({ isDotted, ...rest }) => (jsx(List, { className: "flex flex-col justify-between items-start text-h6", isDotted: isDotted ?? true, ...rest }));
|
|
@@ -4657,9 +4691,9 @@
|
|
|
4657
4691
|
'flex duration-1000 text-center',
|
|
4658
4692
|
rowIdx !== 0 ? 'font-normal' : 'font-light',
|
|
4659
4693
|
].join(' ');
|
|
4660
|
-
return (jsxs("div", { className: "flex border-main-divider border border-t-0 border-x-0 border-solid", children: [headerColumn?.data ? (jsx("div", { className: `text-xl-light w-[214px] pb-5 ${rowIdx === 0 ? 'pt-8' : 'pt-6'}`, children: headerColumn.data })) : null, jsx("div", { className: "flex flex-grow overflow-hidden", children: jsx("div", { className: columnsClassName, style: {
|
|
4694
|
+
return (jsxs("div", { className: "flex border-main-divider border border-t-0 border-x-0 border-solid", children: [headerColumn?.data ? (jsx("div", { className: `text-xl fontd-light w-[214px] pb-5 ${rowIdx === 0 ? 'pt-8' : 'pt-6'}`, children: headerColumn.data })) : null, jsx("div", { className: "flex flex-grow overflow-hidden", children: jsx("div", { className: columnsClassName, style: {
|
|
4661
4695
|
transform: `translateX(-${transform}px)`,
|
|
4662
|
-
}, children: columns?.map((_, i) => (jsxs("div", { className: "flex flex-col flex-grow justify-center pt-6 pb-5 odd:bg-main-divider", children: [_?.data ? jsx("div", { className: "text-xl-light mb-3", children: _.data }) : null, _?.cols ? renderCols(_.cols, activeColumnIndex) : null] }, `row${i}`))) }) })] }, String(rowIdx)));
|
|
4696
|
+
}, children: columns?.map((_, i) => (jsxs("div", { className: "flex flex-col flex-grow justify-center pt-6 pb-5 odd:bg-main-divider", children: [_?.data ? jsx("div", { className: "text-xl font-light mb-3", children: _.data }) : null, _?.cols ? renderCols(_.cols, activeColumnIndex) : null] }, `row${i}`))) }) })] }, String(rowIdx)));
|
|
4663
4697
|
};
|
|
4664
4698
|
const renderCols = (cols, rowIndex) => cols?.length > 0 ? (jsx("div", { className: `flex ${rowIndex} ${rowIndex === 0 ? 'text-secondary-text' : ''} last:mr-3`, children: cols.map((data, i) => (jsx("div", { className: `w-[76px] text-h6 mr-5 first:ml-8`, children: data }, String(i)))) })) : null;
|
|
4665
4699
|
|
|
@@ -4668,11 +4702,11 @@
|
|
|
4668
4702
|
const toggleTables = useCallback((key) => setHiddenTables((oldState) => ({ ...oldState, [key]: !oldState[key] })), []);
|
|
4669
4703
|
return (jsx("div", { children: items.map((_, tableIdx) => {
|
|
4670
4704
|
const key = `activeTabIdx:${activeTabIndex}-tableIdx:${tableIdx}`;
|
|
4671
|
-
return (jsxs("div", { className: "w-full", children: [jsxs("div", { className: "flex p-4 bg-gray text-
|
|
4705
|
+
return (jsxs("div", { className: "w-full", children: [jsxs("div", { className: "flex p-4 bg-gray text-center justify-center cursor-pointer relative", onClick: () => toggleTables(key), children: [jsx(Text, { size: "text-xl", font: "font-light", children: _.title }), jsx(Img, { image: { icon: hiddenTables[key] ? 'PlusIcon' : 'MinusIcon' }, className: "absolute right-[22px]", width: "24", height: "24" })] }), jsx("div", { className: `w-full pl-2 overflow-hidden transition-height duration-500 ease-in-out ${hiddenTables[key] ? 'h-0' : ''}`, children: jsx("div", { className: "relative", children: jsx(InnerTableBodyItem, { rows: _.rowsData }) }) })] }, key));
|
|
4672
4706
|
}) }));
|
|
4673
4707
|
});
|
|
4674
4708
|
|
|
4675
|
-
const InnerTableHeader = JSX(({ currencies, linkToPDF, activeTabIndex, setActiveTabIndex }) => (jsxs("div", { className: "flex justify-between w-full pt-2.5 pb-3", children: [currencies && currencies.length > 1 ? (jsx("div", { className: "flex bg-secondary-light p-1.5 rounded-md", children: currencies.map((currency, idx) => (jsx("div", { className: `rounded-md text-xl-light px-4 py-3 cursor-pointer ${idx === activeTabIndex ? 'bg-primary-main text-white' : 'text-secondary-text'}`, onClick: () => setActiveTabIndex(idx), children: currency || idx + 1 }, currency))) })) : null, linkToPDF ? (jsx(Button, { href: linkToPDF, version: "secondary", target: "_blank", appendLeft: jsx(Icon, { name: "DocDownloadIcon", iconVersion: "color", className: "mr-0.5", width: "20", height: "20" }), text: "\u0421\u043A\u0430\u0447\u0430\u0442\u044C \u0432 PDF" })) : null] })));
|
|
4709
|
+
const InnerTableHeader = JSX(({ currencies, linkToPDF, activeTabIndex, setActiveTabIndex }) => (jsxs("div", { className: "flex justify-between w-full pt-2.5 pb-3", children: [currencies && currencies.length > 1 ? (jsx("div", { className: "flex bg-secondary-light p-1.5 rounded-md", children: currencies.map((currency, idx) => (jsx("div", { className: `rounded-md text-xl font-light px-4 py-3 cursor-pointer ${idx === activeTabIndex ? 'bg-primary-main text-white' : 'text-secondary-text'}`, onClick: () => setActiveTabIndex(idx), children: currency || idx + 1 }, currency))) })) : null, linkToPDF ? (jsx(Button, { href: linkToPDF, version: "secondary", target: "_blank", appendLeft: jsx(Icon, { name: "DocDownloadIcon", iconVersion: "color", className: "mr-0.5", width: "20", height: "20" }), text: "\u0421\u043A\u0430\u0447\u0430\u0442\u044C \u0432 PDF" })) : null] })));
|
|
4676
4710
|
|
|
4677
4711
|
function useTariffsInnerTableData(directoryName) {
|
|
4678
4712
|
const { data } = useAsyncData(tariffsInnerTableDataUrl(directoryName), fetchTariffsInnerTableData);
|
|
@@ -4704,7 +4738,7 @@
|
|
|
4704
4738
|
const [openTableInnerIdx, setOpenTableInnerIdx] = useState(undefined);
|
|
4705
4739
|
const handleOpenTableInnerIdx = useCallback((_) => setOpenTableInnerIdx(_), []);
|
|
4706
4740
|
const onHideContentClick = () => setTableInner(undefined);
|
|
4707
|
-
return (jsxs(TariffsTableRowContainer, { onHideContentClick: onHideContentClick, tableInner: tableInner, ...rest, children: [jsx("div", { className: `text-s py-5 ${FIRST_CELL_CLASSES} ${DIVIDER_CLASSES}`, children: jsxs("div", { className: "flex items-center text-primary-text", role: "cell", children: [header?.icon ? (jsx(Img, { className: "mr-3.5 max-w-6", image: header.icon, width: "24", height: "24" })) : null, header?.title ? jsx("div", { className: "text-m-light", children: header?.title }) : null] }) }), data?.length ? (jsx(TableCarouselContainer, { activeIndex: activeIndex, columnWidth: COLUMN_WIDTH$1, version: "tariff", children: data.map((cells, i) => (jsx(TariffsTableCell, { cells: cells, rowIdx: rowIdx, cellIdx: i, setTableInner: handleSetTableInner, tableInner: tableInner, openTableInnerIdx: openTableInnerIdx, setOpenTableInnerIdx: handleOpenTableInnerIdx, ...rest }, String(i)))) })) : null] }));
|
|
4741
|
+
return (jsxs(TariffsTableRowContainer, { onHideContentClick: onHideContentClick, tableInner: tableInner, ...rest, children: [jsx("div", { className: `text-s py-5 ${FIRST_CELL_CLASSES} ${DIVIDER_CLASSES}`, children: jsxs("div", { className: "flex items-center text-primary-text", role: "cell", children: [header?.icon ? (jsx(Img, { className: "mr-3.5 max-w-6", image: header.icon, width: "24", height: "24" })) : null, header?.title ? jsx("div", { className: "text-m font-light", children: header?.title }) : null] }) }), data?.length ? (jsx(TableCarouselContainer, { activeIndex: activeIndex, columnWidth: COLUMN_WIDTH$1, version: "tariff", children: data.map((cells, i) => (jsx(TariffsTableCell, { cells: cells, rowIdx: rowIdx, cellIdx: i, setTableInner: handleSetTableInner, tableInner: tableInner, openTableInnerIdx: openTableInnerIdx, setOpenTableInnerIdx: handleOpenTableInnerIdx, ...rest }, String(i)))) })) : null] }));
|
|
4708
4742
|
});
|
|
4709
4743
|
|
|
4710
4744
|
const TariffsTable = JSX(({ className = '', title, description, rowHeaders, tariffsColumns: columns, hiddenRowsNum = 0, ...rest }) => {
|
|
@@ -4738,7 +4772,7 @@
|
|
|
4738
4772
|
});
|
|
4739
4773
|
|
|
4740
4774
|
const TextBlock = JSX(({ className = '', title, description, iconVersion, image, __html, items = [], ...rest }) => (jsxs(BlockWrapper, { className: style('flex gap-3 bg-white group-data-secondary:bg-primary-main/10', className), ...rest, children: [iconVersion === 'small' ? jsx("div", { className: "mt-1", children: renderIcon() }) : null, iconVersion === 'big' ? renderImage(image) : null, jsxs("div", { className: "flex flex-col w-fit gap-3", children: [title ? (jsx(Text, { size: "text-l", font: "font-medium", color: "text-primary-text group-data-secondary:text-white", children: title })) : null, description ? renderDescription(description) : null, items?.length ? renderList(items, true) : null, __html ? jsx(RichText, { __html: __html }) : null] })] })));
|
|
4741
|
-
const renderIcon = () => (jsx("div", { className: `rounded-full h-4 w-4 text-center text-xs-light bg-primary-main text-white group-data-secondary:bg-white group-data-secondary:text-primary-main`, children: "i" }));
|
|
4775
|
+
const renderIcon = () => (jsx("div", { className: `rounded-full h-4 w-4 text-center text-xs font-light bg-primary-main text-white group-data-secondary:bg-white group-data-secondary:text-primary-main`, children: "i" }));
|
|
4742
4776
|
const renderImage = (image) => image?.src ? jsx(Img, { className: "h-fit", image: image }) : null;
|
|
4743
4777
|
const renderDescription = (description) => (jsx(Paragraph, { size: "text-s", color: "text-secondary-text group-data-secondary:text-white", children: description }));
|
|
4744
4778
|
const renderList = (items, bullets) => {
|
|
@@ -4900,7 +4934,7 @@
|
|
|
4900
4934
|
globalThis.localStorage?.setItem(COOKIE_DIALOG_ID, 'true');
|
|
4901
4935
|
close();
|
|
4902
4936
|
}, [close]);
|
|
4903
|
-
return isOpened ? (jsx("div", { className: "container z-40 fixed bottom-0 left-0 right-0 pointer-events-none", children: jsxs("div", { className: "bg-white m-6 p-6 rounded-md flex items-center pointer-events-auto shadow-[0_4px_25px_rgba(0,0,0,0.07)]", children: [jsx("div", { className: "flex-1", children: jsxs(Paragraph, { size: "text-s-light", color: "text-primary-text", children: ["\u0410\u041E \u00AB\u0420\u043E\u0441\u0441\u0435\u043B\u044C\u0445\u043E\u0437\u0431\u0430\u043D\u043A\u00BB \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442", jsx(LinkWrapper, { isRemote: true, className: style(getStyleLinkWrapper(termLink?.href)), ...termLink, children: "cookie" }), "(\u0444\u0430\u0439\u043B\u044B \u0441 \u0434\u0430\u043D\u043D\u044B\u043C\u0438 \u043E \u043F\u0440\u043E\u0448\u043B\u044B\u0445 \u043F\u043E\u0441\u0435\u0449\u0435\u043D\u0438\u044F\u0445 \u0441\u0430\u0439\u0442\u0430) \u0434\u043B\u044F \u043F\u0435\u0440\u0441\u043E\u043D\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u0438 \u0441\u0435\u0440\u0432\u0438\u0441\u043E\u0432 \u0438 \u0443\u0434\u043E\u0431\u0441\u0442\u0432\u0430 \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u0435\u0439. \u0412\u044B \u043C\u043E\u0436\u0435\u0442\u0435 \u0437\u0430\u043F\u0440\u0435\u0442\u0438\u0442\u044C \u0441\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u0438\u0435 cookie \u0432 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430\u0445 \u0441\u0432\u043E\u0435\u0433\u043E \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430.", jsx(LinkWrapper, { isRemote: true, className: style(getStyleLinkWrapper(personalDataPolicyLink?.href)), ...personalDataPolicyLink, children: "\u041E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0430 \u0412\u0430\u0448\u0438\u0445 \u043F\u0435\u0440\u0441\u043E\u043D\u0430\u043B\u044C\u043D\u044B\u0445 \u0434\u0430\u043D\u043D\u044B\u0445" }), "\u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0441\u044F \u0432 \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0438 \u0441 \u0442\u0440\u0435\u0431\u043E\u0432\u0430\u043D\u0438\u044F\u043C\u0438 \u0424\u0435\u0434\u0435\u0440\u0430\u043B\u044C\u043D\u043E\u0433\u043E \u0437\u0430\u043A\u043E\u043D\u0430 \u043E\u0442 27.07.2006 \u2116 152-\u04243 \u00AB\u041E \u043F\u0435\u0440\u0441\u043E\u043D\u0430\u043B\u044C\u043D\u044B\u0445 \u0434\u0430\u043D\u043D\u044B\u0445\u00BB."] }) }), jsx("div", { className: "w-24 flex justify-end", children: jsx(CloseButton, { className: "bg-main-gray rounded-md", onClick: handleClose }) })] }) })) : null;
|
|
4937
|
+
return isOpened ? (jsx("div", { className: "container z-40 fixed bottom-0 left-0 right-0 pointer-events-none", children: jsxs("div", { className: "bg-white m-6 p-6 rounded-md flex items-center pointer-events-auto shadow-[0_4px_25px_rgba(0,0,0,0.07)]", children: [jsx("div", { className: "flex-1", children: jsxs(Paragraph, { size: "text-s", font: "font-light", color: "text-primary-text", children: ["\u0410\u041E \u00AB\u0420\u043E\u0441\u0441\u0435\u043B\u044C\u0445\u043E\u0437\u0431\u0430\u043D\u043A\u00BB \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442", jsx(LinkWrapper, { isRemote: true, className: style(getStyleLinkWrapper(termLink?.href)), ...termLink, children: "cookie" }), "(\u0444\u0430\u0439\u043B\u044B \u0441 \u0434\u0430\u043D\u043D\u044B\u043C\u0438 \u043E \u043F\u0440\u043E\u0448\u043B\u044B\u0445 \u043F\u043E\u0441\u0435\u0449\u0435\u043D\u0438\u044F\u0445 \u0441\u0430\u0439\u0442\u0430) \u0434\u043B\u044F \u043F\u0435\u0440\u0441\u043E\u043D\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u0438 \u0441\u0435\u0440\u0432\u0438\u0441\u043E\u0432 \u0438 \u0443\u0434\u043E\u0431\u0441\u0442\u0432\u0430 \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u0435\u0439. \u0412\u044B \u043C\u043E\u0436\u0435\u0442\u0435 \u0437\u0430\u043F\u0440\u0435\u0442\u0438\u0442\u044C \u0441\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u0438\u0435 cookie \u0432 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430\u0445 \u0441\u0432\u043E\u0435\u0433\u043E \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430.", jsx(LinkWrapper, { isRemote: true, className: style(getStyleLinkWrapper(personalDataPolicyLink?.href)), ...personalDataPolicyLink, children: "\u041E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0430 \u0412\u0430\u0448\u0438\u0445 \u043F\u0435\u0440\u0441\u043E\u043D\u0430\u043B\u044C\u043D\u044B\u0445 \u0434\u0430\u043D\u043D\u044B\u0445" }), "\u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0441\u044F \u0432 \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0438 \u0441 \u0442\u0440\u0435\u0431\u043E\u0432\u0430\u043D\u0438\u044F\u043C\u0438 \u0424\u0435\u0434\u0435\u0440\u0430\u043B\u044C\u043D\u043E\u0433\u043E \u0437\u0430\u043A\u043E\u043D\u0430 \u043E\u0442 27.07.2006 \u2116 152-\u04243 \u00AB\u041E \u043F\u0435\u0440\u0441\u043E\u043D\u0430\u043B\u044C\u043D\u044B\u0445 \u0434\u0430\u043D\u043D\u044B\u0445\u00BB."] }) }), jsx("div", { className: "w-24 flex justify-end", children: jsx(CloseButton, { className: "bg-main-gray rounded-md", onClick: handleClose }) })] }) })) : null;
|
|
4904
4938
|
});
|
|
4905
4939
|
const getStyleLinkWrapper = (href) => ['inline mx-1', href ? 'text-green-dark' : ''];
|
|
4906
4940
|
|
|
@@ -4977,7 +5011,7 @@
|
|
|
4977
5011
|
return (jsx("div", { className: "flex items-end absolute bottom-0 right-0 h-full pointer-events-none", children: jsx(LikeControl, { className: "rounded-tl-lg sticky bottom-0 pointer-events-auto" }) }));
|
|
4978
5012
|
}
|
|
4979
5013
|
|
|
4980
|
-
const packageVersion = "0.12.
|
|
5014
|
+
const packageVersion = "0.12.8";
|
|
4981
5015
|
|
|
4982
5016
|
exports.Blocks = Blocks;
|
|
4983
5017
|
exports.ContentPage = ContentPage;
|