@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
|
@@ -1,15 +1,19 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
+
import { Router, useRouter } from '../../hooks/useRouter';
|
|
2
3
|
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
4
|
+
import type { Picture } from '../../model/Picture';
|
|
3
5
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper';
|
|
4
6
|
import { Img } from '../../ui-kit/Img/Img';
|
|
7
|
+
import { adjustHref } from '../../utils/adjustHref';
|
|
5
8
|
import { style } from '../../utils/style';
|
|
6
9
|
import { Headline } from '../Headline/Headline';
|
|
7
|
-
import
|
|
8
|
-
import {
|
|
10
|
+
import { LinkDocItem } from './LinkDocItem';
|
|
11
|
+
import type { DocBlockDef, LinkColumnsMode, LinkDocsContent } from './LinkDocsContent';
|
|
12
|
+
import { linkIconStyle } from './linkIconStyle';
|
|
9
13
|
|
|
10
14
|
const linkColumnsModeStyleMap: Record<LinkColumnsMode, string> = {
|
|
11
|
-
double: 'flex-wrap',
|
|
12
|
-
single: 'flex-col',
|
|
15
|
+
double: 'sm:flex-wrap sm:flex-row',
|
|
16
|
+
single: 'sm:flex-col',
|
|
13
17
|
};
|
|
14
18
|
|
|
15
19
|
export interface LinkDocsProps extends LinkDocsContent, UniBlockProps {}
|
|
@@ -24,36 +28,54 @@ export const LinkDocs = JSX<LinkDocsProps>(
|
|
|
24
28
|
icon = { icon: 'DocIcon' },
|
|
25
29
|
columnsMode = 'double',
|
|
26
30
|
...rest
|
|
27
|
-
}) =>
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
))}
|
|
55
|
-
</div>
|
|
56
|
-
) : null}
|
|
57
|
-
</BlockWrapper>
|
|
58
|
-
),
|
|
31
|
+
}) => {
|
|
32
|
+
const router = useRouter();
|
|
33
|
+
|
|
34
|
+
return (
|
|
35
|
+
<BlockWrapper className={className} defaultPadding="p-default" {...rest}>
|
|
36
|
+
<Headline
|
|
37
|
+
className="!p-0"
|
|
38
|
+
title={title}
|
|
39
|
+
description={description}
|
|
40
|
+
align={align}
|
|
41
|
+
headlineVersion="M"
|
|
42
|
+
as="h2"
|
|
43
|
+
/>
|
|
44
|
+
{documents?.length ? (
|
|
45
|
+
<div
|
|
46
|
+
className={style(
|
|
47
|
+
'mt-5 sm:mt-8 flex flex-col gap-6',
|
|
48
|
+
linkColumnsModeStyleMap[columnsMode],
|
|
49
|
+
)}
|
|
50
|
+
role="list"
|
|
51
|
+
>
|
|
52
|
+
{documents.map(renderLinkDocItem(router, columnsMode, icon))}
|
|
53
|
+
</div>
|
|
54
|
+
) : null}
|
|
55
|
+
</BlockWrapper>
|
|
56
|
+
);
|
|
57
|
+
},
|
|
59
58
|
);
|
|
59
|
+
|
|
60
|
+
const renderLinkDocItem =
|
|
61
|
+
(router: Router, columnsMode: LinkColumnsMode, icon: Picture) =>
|
|
62
|
+
(docBlockDef: DocBlockDef, i: number) => {
|
|
63
|
+
const href =
|
|
64
|
+
docBlockDef?.docType === 'Attachment'
|
|
65
|
+
? adjustHref(router)(docBlockDef?.attachment?.src)
|
|
66
|
+
: docBlockDef?.href;
|
|
67
|
+
|
|
68
|
+
return (
|
|
69
|
+
<div
|
|
70
|
+
key={String(i)}
|
|
71
|
+
className={columnsMode === 'double' ? 'basis-[calc(50%-20px)]' : ''}
|
|
72
|
+
role="listitem"
|
|
73
|
+
>
|
|
74
|
+
<LinkDocItem
|
|
75
|
+
{...docBlockDef}
|
|
76
|
+
href={href}
|
|
77
|
+
icon={icon ? <Img className={linkIconStyle} image={icon} width="24" height="24" /> : null}
|
|
78
|
+
/>
|
|
79
|
+
</div>
|
|
80
|
+
);
|
|
81
|
+
};
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
import { Attachment } from '../../model/Attachment';
|
|
2
|
+
import { EmptyOption } from '../../model/EmptyOptionType';
|
|
1
3
|
import type { HeadlineCommonProps } from '../../model/HeadlineType';
|
|
2
4
|
import type { UniBlockContent } from '../../model/JSXBlock';
|
|
3
|
-
import type { LinkProps } from '../../model/LinkProps';
|
|
5
|
+
import type { LinkProps, Target } from '../../model/LinkProps';
|
|
4
6
|
import type { IconProps } from '../../model/Picture';
|
|
5
7
|
import type { TextAlign } from '../../ui-kit/Text/TextProps';
|
|
6
8
|
|
|
@@ -13,14 +15,40 @@ import type { TextAlign } from '../../ui-kit/Text/TextProps';
|
|
|
13
15
|
*/
|
|
14
16
|
export type LinkColumnsMode = 'single' | 'double';
|
|
15
17
|
|
|
16
|
-
|
|
17
|
-
* @title Элемент списка
|
|
18
|
-
*/
|
|
19
|
-
export interface LinkDocsItem extends LinkProps {
|
|
18
|
+
export interface LinkDoc extends LinkProps {
|
|
20
19
|
/** @title размер файла */
|
|
21
20
|
fileSize?: string;
|
|
22
21
|
}
|
|
23
22
|
|
|
23
|
+
export interface AttachmentDoc {
|
|
24
|
+
/** @title Текст */
|
|
25
|
+
text?: string;
|
|
26
|
+
/** @title */
|
|
27
|
+
attachment?: Attachment;
|
|
28
|
+
/** @title размер файла */
|
|
29
|
+
fileSize?: string;
|
|
30
|
+
/** @default "" */
|
|
31
|
+
target?: Target;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* @title Ссылка на документ
|
|
36
|
+
* @default {"docType": "Link"}
|
|
37
|
+
*/
|
|
38
|
+
export type LinkDocDef = LinkDoc & {
|
|
39
|
+
docType: 'Link';
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* @title Файл
|
|
44
|
+
* @default {"docType": "Attachment"}
|
|
45
|
+
*/
|
|
46
|
+
export type AttachmentDocDef = AttachmentDoc & {
|
|
47
|
+
docType: 'Attachment';
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
export type DocBlockDef = EmptyOption | LinkDocDef | AttachmentDocDef;
|
|
51
|
+
|
|
24
52
|
/**
|
|
25
53
|
* @title Список документов
|
|
26
54
|
*/
|
|
@@ -28,7 +56,7 @@ export type LinkDocsContent = UniBlockContent &
|
|
|
28
56
|
HeadlineCommonProps &
|
|
29
57
|
IconProps & {
|
|
30
58
|
/** @title Список */
|
|
31
|
-
documents?:
|
|
59
|
+
documents?: DocBlockDef[];
|
|
32
60
|
columnsMode?: LinkColumnsMode;
|
|
33
61
|
/** @title Выравнивание */
|
|
34
62
|
align?: TextAlign;
|
|
@@ -4,20 +4,32 @@ export const linkDocsContentExample: LinkDocsContent = {
|
|
|
4
4
|
title: 'Дополнительные документы',
|
|
5
5
|
description: 'Ответы на часто задаваемые вопросы',
|
|
6
6
|
documents: [
|
|
7
|
-
{ text: 'target self', href: '/abc1/cooldoc.doc', target: '_self' },
|
|
8
|
-
{ text: 'target blank', href: '/abc2/wtf.rtf', target: '_blank' },
|
|
9
|
-
{ text: 'GlassIcon', href: '/abc3/map.jpeg' },
|
|
10
|
-
{ text: 'no icon', href: '/abc4' },
|
|
11
|
-
{ text: 'документ 5', href: '/abc5' },
|
|
12
|
-
{ text: 'документ 6', href: '/abc6/abc.pdf' },
|
|
13
|
-
{ text: 'Text text text', href: '/abc7/yolo.png' },
|
|
14
7
|
{
|
|
8
|
+
docType: 'Attachment',
|
|
9
|
+
text: 'target self',
|
|
10
|
+
attachment: { src: '/abc1/cooldoc.doc' },
|
|
11
|
+
target: '_self',
|
|
12
|
+
},
|
|
13
|
+
{ docType: 'Link', text: 'target blank', href: '/abc2/wtf.rtf', target: '_blank' },
|
|
14
|
+
{ docType: 'Link', text: 'GlassIcon', href: '/abc3/map.jpeg' },
|
|
15
|
+
{ docType: 'Link', text: 'no icon', href: '/abc4' },
|
|
16
|
+
{ docType: 'Link', text: 'документ 5', href: '/abc5' },
|
|
17
|
+
{ docType: 'Link', text: 'документ 6', href: '/abc6/abc.pdf' },
|
|
18
|
+
{ docType: 'Link', text: 'Text text text', href: '/abc7/yolo.png' },
|
|
19
|
+
{
|
|
20
|
+
docType: 'Link',
|
|
15
21
|
text: 'Some more generic text to stretch item, and even more, more text, and more generic text, and even more, more text, and even more',
|
|
16
22
|
href: '/abc8/archive.zip',
|
|
17
23
|
fileSize: '2.3МБ',
|
|
18
24
|
},
|
|
19
|
-
{ text: 'И ещё немного текста', href: '/abc9/rarniw.rar', fileSize: '666МБ' },
|
|
20
25
|
{
|
|
26
|
+
docType: 'Link',
|
|
27
|
+
text: 'И ещё немного текста',
|
|
28
|
+
href: '/abc9/rarniw.rar',
|
|
29
|
+
fileSize: '666МБ',
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
docType: 'Link',
|
|
21
33
|
text: 'Форматируем, сортируем, смотрим как отображается...',
|
|
22
34
|
href: '/abc10/',
|
|
23
35
|
fileSize: '65ГБ',
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const linkIconStyle = 'min-w-11 min-h-11 h-fit p-2.5 bg-main-divider rounded-md';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const linkIconStyle = 'min-w-6 min-h-6';
|
|
@@ -2,9 +2,9 @@ import { List } from '../../ui-kit/List/List';
|
|
|
2
2
|
|
|
3
3
|
export const renderList = (items?: string[]) => {
|
|
4
4
|
return items?.length ? (
|
|
5
|
-
<List items={items} className="text-l-light mb-2 last:mb-0" />
|
|
5
|
+
<List items={items} className="text-l font-light mb-2 last:mb-0" />
|
|
6
6
|
) : (
|
|
7
|
-
<span className="text-m-light text-secondary-text">
|
|
7
|
+
<span className="text-m font-light text-secondary-text">
|
|
8
8
|
Наведите камеру телефона на QR-код и скачайте приложение
|
|
9
9
|
</span>
|
|
10
10
|
);
|
|
@@ -57,7 +57,7 @@ export const OfficeMap = JSX<UniBlockProps>(({ className = '' }) => {
|
|
|
57
57
|
<div className="text-h2">{name}</div>
|
|
58
58
|
{renderCurrentDaySchedule(currentWeekDay)}
|
|
59
59
|
</div>
|
|
60
|
-
<div className="flex text-l-light pt-4">
|
|
60
|
+
<div className="flex text-l font-light pt-4">
|
|
61
61
|
<Icon name="GeolocationIcon" width="24" height="24" className="pr-1" />
|
|
62
62
|
{address}
|
|
63
63
|
</div>
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Icon } from '../../ui-kit/Icon/Icon';
|
|
2
|
+
import { Text } from '../../ui-kit/Text/Text';
|
|
2
3
|
import { NearbyOffices, WorkScheduleWeek } from './OfficeMapContent';
|
|
3
4
|
|
|
4
5
|
export const renderCurrentDaySchedule = ({ lunchHour, status, workTime }: WorkScheduleWeek) => {
|
|
@@ -29,11 +30,11 @@ export const renderNearbyOffice = (
|
|
|
29
30
|
) => (
|
|
30
31
|
<div className="flex mr-4" key={`nearbyOffice${index}`}>
|
|
31
32
|
<Icon name={icon} width="16" height="16" className="mr-1" />
|
|
32
|
-
{title ? <
|
|
33
|
-
<
|
|
33
|
+
{title ? <Text size="text-m">{title} </Text> : null}
|
|
34
|
+
<Text size="text-m" font="font-light">
|
|
34
35
|
{distance ? ` (${distance})` : null}
|
|
35
36
|
{time ? `, ${time}` : null}
|
|
36
|
-
</
|
|
37
|
+
</Text>
|
|
37
38
|
</div>
|
|
38
39
|
);
|
|
39
40
|
export const renderDay = (
|
|
@@ -46,12 +47,12 @@ export const renderDay = (
|
|
|
46
47
|
>
|
|
47
48
|
<div className="flex justify-between items-center w-full pb-1 text-l text-primary-text">
|
|
48
49
|
<div>{title}</div>
|
|
49
|
-
{status ? null : <div className="text-m-light text-error">Выходной</div>}
|
|
50
|
+
{status ? null : <div className="text-m font-light text-error">Выходной</div>}
|
|
50
51
|
{status && workTime ? <div>{workTime}</div> : null}
|
|
51
52
|
</div>
|
|
52
53
|
{status && lunchHour ? renderLunchHour(lunchHour) : null}
|
|
53
54
|
{description ? (
|
|
54
|
-
<div className="pb-1 text-s-light text-secondary-text">{description}</div>
|
|
55
|
+
<div className="pb-1 text-s font-light text-secondary-text">{description}</div>
|
|
55
56
|
) : null}
|
|
56
57
|
</div>
|
|
57
58
|
);
|
|
@@ -60,12 +61,12 @@ const renderLunchHour = (lunchHour: string) => {
|
|
|
60
61
|
const hasTime = /\d+/gi.test(lunchHour);
|
|
61
62
|
|
|
62
63
|
return hasTime ? (
|
|
63
|
-
<div className="flex justify-between items-center w-full pb-1 text-m-light text-error">
|
|
64
|
+
<div className="flex justify-between items-center w-full pb-1 text-m font-light text-error">
|
|
64
65
|
<div>Перерыв</div>
|
|
65
66
|
<div>{lunchHour}</div>
|
|
66
67
|
</div>
|
|
67
68
|
) : (
|
|
68
|
-
<div className="flex justify-between items-center w-full pb-1 text-m-light text-primary-main">
|
|
69
|
+
<div className="flex justify-between items-center w-full pb-1 text-m font-light text-primary-main">
|
|
69
70
|
<div>{lunchHour}</div>
|
|
70
71
|
</div>
|
|
71
72
|
);
|
|
@@ -3,6 +3,7 @@ import type { UniBlockProps } from '../../model/JSXBlock';
|
|
|
3
3
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper';
|
|
4
4
|
import { Heading } from '../../ui-kit/Heading/Heading';
|
|
5
5
|
import { Img } from '../../ui-kit/Img/Img';
|
|
6
|
+
import { Text } from '../../ui-kit/Text/Text';
|
|
6
7
|
import { style } from '../../utils/style';
|
|
7
8
|
import type {
|
|
8
9
|
OfficeServicesBlockContent,
|
|
@@ -27,6 +28,10 @@ const renderListItems = (itemList: OfficeServicesBlockList, i: number) => (
|
|
|
27
28
|
{itemList.icon ? (
|
|
28
29
|
<Img className="mr-3 min-w-6 min-h-6 w-6 h-6" width="24" height="24" image={itemList.icon} />
|
|
29
30
|
) : null}
|
|
30
|
-
{itemList.label ?
|
|
31
|
+
{itemList.label ? (
|
|
32
|
+
<Text size="text-l" font="font-light">
|
|
33
|
+
{itemList.label}
|
|
34
|
+
</Text>
|
|
35
|
+
) : null}
|
|
31
36
|
</li>
|
|
32
37
|
);
|
|
@@ -59,8 +59,8 @@ const renderNavButton =
|
|
|
59
59
|
? 'text-primary-text text-h6 py-2'
|
|
60
60
|
: 'text-l pb-1 text-secondary-text group-data-secondary:text-white';
|
|
61
61
|
const btnDescClassName = isActive
|
|
62
|
-
? 'text-secondary-text text-l-light'
|
|
63
|
-
: 'text-
|
|
62
|
+
? 'text-secondary-text text-l font-light'
|
|
63
|
+
: 'text-secondary-text text-m font-light group-data-secondary:text-white/80';
|
|
64
64
|
|
|
65
65
|
return (
|
|
66
66
|
<button
|
|
@@ -66,7 +66,9 @@ const renderBlock = (blockName: string, data?: string, iconName?: IconName | und
|
|
|
66
66
|
<div className="flex mb-4">
|
|
67
67
|
<Icon className="pr-4" iconVersion="black" name={iconName} width="24" height="24" />
|
|
68
68
|
<div className="flex flex-col first:pb-1">
|
|
69
|
-
<Text size="text-m-light">
|
|
69
|
+
<Text size="text-m" font="font-light">
|
|
70
|
+
{blockName}
|
|
71
|
+
</Text>
|
|
70
72
|
{data ? (
|
|
71
73
|
<Text size="text-h6" color="text-green">
|
|
72
74
|
{data}
|
|
@@ -12,7 +12,7 @@ interface RentalPeriodProps {
|
|
|
12
12
|
|
|
13
13
|
export const RentalPeriod = JSX<RentalPeriodProps>(({ days, setDays }) => (
|
|
14
14
|
<div className="mb-6">
|
|
15
|
-
<span className="block text-m-light mb-
|
|
15
|
+
<span className="block text-m font-light mb-1">Срок аренды</span>
|
|
16
16
|
<InputRange min={MIN} max={MAX} value={days} items={ITEMS} onChange={setDays} />
|
|
17
17
|
</div>
|
|
18
18
|
));
|
|
@@ -10,6 +10,7 @@ import { HandleFormStateChange, SafeDepositRentalState } from './SafeDepositRent
|
|
|
10
10
|
import { Region, useGetRegions } from './useGetRegions';
|
|
11
11
|
import { useSafeBoxes } from './useSafeBoxes';
|
|
12
12
|
import { getBranch, getCoordinates } from './utils';
|
|
13
|
+
import { Paragraph } from '../../ui-kit/Paragraph/Paragraph';
|
|
13
14
|
|
|
14
15
|
export interface SafeDepositRentalProps extends SafeDepositRentalContent, UniBlockProps {}
|
|
15
16
|
|
|
@@ -58,7 +59,11 @@ export const SafeDepositRental = JSX<SafeDepositRentalProps>(
|
|
|
58
59
|
onClick={handleShowMap}
|
|
59
60
|
onChange={handleChangeSafeDepositState}
|
|
60
61
|
/>
|
|
61
|
-
{footnote ?
|
|
62
|
+
{footnote ? (
|
|
63
|
+
<Paragraph size="text-s" font="font-light">
|
|
64
|
+
{footnote}
|
|
65
|
+
</Paragraph>
|
|
66
|
+
) : null}
|
|
62
67
|
</div>
|
|
63
68
|
{points.length && showMap ? <YandexMap points={points} className="h-[640px]" /> : null}
|
|
64
69
|
</BlockWrapper>
|
|
@@ -4,6 +4,7 @@ import { RegionsAndBranches } from './RegionsAndBranches';
|
|
|
4
4
|
import { RenderRadioButtons } from './RenderRadioButtons';
|
|
5
5
|
import { RentalPeriod } from './RentalPeriod';
|
|
6
6
|
import { SafeBoxCases } from './SafeBoxCases';
|
|
7
|
+
import { Text } from '../../ui-kit/Text/Text';
|
|
7
8
|
import type { HandleFormStateChange, SafeDepositRentalState } from './SafeDepositRentalTypes';
|
|
8
9
|
import type { Region } from './useGetRegions';
|
|
9
10
|
import type { Branch, SafeBoxCase, SafeBoxCaseVolume } from './useSafeBoxes';
|
|
@@ -50,7 +51,9 @@ export const SafeDepositRentalFields = JSX<SafeDepositRentalFieldsProps>(
|
|
|
50
51
|
selectedBoxSize={selectedBoxSize}
|
|
51
52
|
onSelectedBoxSize={(value) => onChange({ selectedBoxSize: value })}
|
|
52
53
|
/>
|
|
53
|
-
<
|
|
54
|
+
<Text size="text-l" font="font-light" color="text-secondary-text">
|
|
55
|
+
Тип договора
|
|
56
|
+
</Text>
|
|
54
57
|
<div className="flex justify-between items-center mt-5">
|
|
55
58
|
<RenderRadioButtons />
|
|
56
59
|
<Button text="Офисы на карте" version="primary" onClick={onClick} />
|
|
@@ -19,7 +19,7 @@ export const SafeDepositRentalTotal = JSX<SafeDepositRentalTotalProps>(({ days,
|
|
|
19
19
|
<div className="bg-primary-main px-10 pt-10 pb-4 text-center">
|
|
20
20
|
<Img image={{ icon: 'PackA4Icon' }} width="290" height="257" />
|
|
21
21
|
|
|
22
|
-
<span className="text-s-light text-white opacity-80 mt-2 inline-block">
|
|
22
|
+
<span className="text-s font-light text-white opacity-80 mt-2 inline-block">
|
|
23
23
|
На рисунки изображена пачка<br></br> листов формата А4
|
|
24
24
|
</span>
|
|
25
25
|
</div>
|
|
@@ -30,7 +30,7 @@ export const SafeDepositRentalTotal = JSX<SafeDepositRentalTotalProps>(({ days,
|
|
|
30
30
|
const renderTotal = (label: string, total: string | number, className = '') => {
|
|
31
31
|
return (
|
|
32
32
|
<div className={className}>
|
|
33
|
-
<div className="text-m-light text-secondary-text mb-1">{label}</div>
|
|
33
|
+
<div className="text-m font-light text-secondary-text mb-1">{label}</div>
|
|
34
34
|
<span className="text-h3 text-primary-text">{total}</span>
|
|
35
35
|
</div>
|
|
36
36
|
);
|
|
@@ -8,7 +8,7 @@ export type StyleType = {
|
|
|
8
8
|
|
|
9
9
|
export const STEPS_BLOCK_STYLE: StyleType = {
|
|
10
10
|
description:
|
|
11
|
-
'text-white/80 text-l-light group-data-primary:text-secondary-text group-data-gray:text-secondary-text',
|
|
11
|
+
'text-white/80 text-l font-light group-data-primary:text-secondary-text group-data-gray:text-secondary-text',
|
|
12
12
|
iconText: 'text-white group-data-primary:text-secondary-text group-data-gray:text-secondary-text',
|
|
13
13
|
iconBackground: 'bg-white/30 group-data-primary:bg-main-divider',
|
|
14
14
|
iconConnector: 'bg-white group-data-primary:bg-secondary-light',
|
|
@@ -32,7 +32,9 @@ const renderLabelDescriptionCellData = ({ label, description }: LabelDescription
|
|
|
32
32
|
return (
|
|
33
33
|
<div>
|
|
34
34
|
{label ? <div className={labelClassName}>{label}</div> : null}
|
|
35
|
-
{description ?
|
|
35
|
+
{description ? (
|
|
36
|
+
<div className="text-secondary-text text-l font-light">{description}</div>
|
|
37
|
+
) : null}
|
|
36
38
|
</div>
|
|
37
39
|
);
|
|
38
40
|
};
|
|
@@ -5,7 +5,11 @@ import type { TariffsTableRowHeader } from './TariffsTableContent';
|
|
|
5
5
|
|
|
6
6
|
export const TableTileHeader = JSX<TariffsTableRowHeader>(({ title, icon }) => (
|
|
7
7
|
<div className="mb-2">
|
|
8
|
-
{title ?
|
|
8
|
+
{title ? (
|
|
9
|
+
<Text size="text-l" font="font-light">
|
|
10
|
+
{title}
|
|
11
|
+
</Text>
|
|
12
|
+
) : null}
|
|
9
13
|
{icon ? <Img className="ml-auto min-w-6" image={icon} width="24" height="24" /> : null}
|
|
10
14
|
</div>
|
|
11
15
|
));
|
|
@@ -40,7 +40,7 @@ export const TariffsTableRow = JSX<TariffsTableRowProps>(
|
|
|
40
40
|
{header?.icon ? (
|
|
41
41
|
<Img className="mr-3.5 max-w-6" image={header.icon} width="24" height="24" />
|
|
42
42
|
) : null}
|
|
43
|
-
{header?.title ? <div className="text-m-light">{header?.title}</div> : null}
|
|
43
|
+
{header?.title ? <div className="text-m font-light">{header?.title}</div> : null}
|
|
44
44
|
</div>
|
|
45
45
|
</div>
|
|
46
46
|
{data?.length ? (
|
|
@@ -39,7 +39,7 @@ export const TextBlock = JSX<TextBlockProps>(
|
|
|
39
39
|
|
|
40
40
|
const renderIcon = () => (
|
|
41
41
|
<div
|
|
42
|
-
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`}
|
|
42
|
+
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`}
|
|
43
43
|
>
|
|
44
44
|
i
|
|
45
45
|
</div>
|
|
@@ -3,11 +3,11 @@ import '../../setup-fixture';
|
|
|
3
3
|
import { BlockRendererOptions } from '../../BlockRenderer/BlockRendererOptions';
|
|
4
4
|
import type { Picture } from '../../model/Picture';
|
|
5
5
|
import { Blocks } from '../Blocks';
|
|
6
|
+
import type { LinkDocsContent } from '../LinkDocs/LinkDocsContent';
|
|
6
7
|
import { PRODUCT_TILE } from '../ProductTile/ProductTile.fixture';
|
|
7
8
|
import { RICH_TEXT_SEPARATOR } from '../RichTextBlock/RichTextBlock.fixture';
|
|
8
9
|
import type { TextBlockContent } from '../TextBlock/TextBlockContent';
|
|
9
10
|
import { VerticalLayout } from './VerticalLayout';
|
|
10
|
-
import type { LinkDocsContent } from '../LinkDocs/LinkDocsContent';
|
|
11
11
|
|
|
12
12
|
const options = {
|
|
13
13
|
blocksRegistry: Blocks,
|
|
@@ -16,9 +16,9 @@ const options = {
|
|
|
16
16
|
const linkDocsExample: LinkDocsContent = {
|
|
17
17
|
description: 'Ответы на часто задаваемые вопросы',
|
|
18
18
|
documents: [
|
|
19
|
-
{ text: 'target self', href: '/abc1/cooldoc.doc', target: '_self' },
|
|
20
|
-
{ text: 'target blank', href: '/abc2/wtf.rtf', target: '_blank' },
|
|
21
|
-
{ text: 'GlassIcon', href: '/abc3/map.jpeg' },
|
|
19
|
+
{ docType: 'Link', text: 'target self', href: '/abc1/cooldoc.doc', target: '_self' },
|
|
20
|
+
{ docType: 'Link', text: 'target blank', href: '/abc2/wtf.rtf', target: '_blank' },
|
|
21
|
+
{ docType: 'Link', text: 'GlassIcon', href: '/abc3/map.jpeg' },
|
|
22
22
|
],
|
|
23
23
|
};
|
|
24
24
|
|
|
@@ -11,9 +11,9 @@ import { VerticalLayout } from './VerticalLayout';
|
|
|
11
11
|
const linkDocsExample: LinkDocsContent = {
|
|
12
12
|
description: 'Ответы на часто задаваемые вопросы',
|
|
13
13
|
documents: [
|
|
14
|
-
{ text: 'target self', href: '/abc1/cooldoc.doc', target: '_self' },
|
|
15
|
-
{ text: 'target blank', href: '/abc2/wtf.rtf', target: '_blank' },
|
|
16
|
-
{ text: 'GlassIcon', href: '/abc3/map.jpeg' },
|
|
14
|
+
{ docType: 'Link', text: 'target self', href: '/abc1/cooldoc.doc', target: '_self' },
|
|
15
|
+
{ docType: 'Link', text: 'target blank', href: '/abc2/wtf.rtf', target: '_blank' },
|
|
16
|
+
{ docType: 'Link', text: 'GlassIcon', href: '/abc3/map.jpeg' },
|
|
17
17
|
],
|
|
18
18
|
};
|
|
19
19
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import fs from 'fs';
|
|
2
2
|
import path from 'path';
|
|
3
3
|
import util from 'util';
|
|
4
|
+
import { Attachment } from '../model/Attachment';
|
|
4
5
|
import type { ContentPageDef } from '../model/ContentPageDef';
|
|
5
|
-
import { LinkProps } from '../model/LinkProps';
|
|
6
6
|
import type { Picture } from '../model/Picture';
|
|
7
7
|
import { mapJSON } from './mapJSON';
|
|
8
8
|
import type { TransformationOptions } from './TransformationOptions';
|
|
9
|
-
import {
|
|
9
|
+
import { transformDocument } from './transformDocument';
|
|
10
10
|
import { transformHTML } from './transformHTML';
|
|
11
11
|
import { transformMarkdown } from './transformMarkdown';
|
|
12
12
|
import { transformPicture } from './transformPicture';
|
|
@@ -16,7 +16,17 @@ const writeFile = util.promisify(fs.writeFile);
|
|
|
16
16
|
|
|
17
17
|
const OUTPUT_SUFFIX = '.static';
|
|
18
18
|
|
|
19
|
-
const DOCUMENT_EXT_LIST = [
|
|
19
|
+
const DOCUMENT_EXT_LIST = [
|
|
20
|
+
'.txt',
|
|
21
|
+
'.doc',
|
|
22
|
+
'.docx',
|
|
23
|
+
'.xls',
|
|
24
|
+
'.xlsx',
|
|
25
|
+
'.xlsb',
|
|
26
|
+
'.ppt',
|
|
27
|
+
'.pptx',
|
|
28
|
+
'.pdf',
|
|
29
|
+
];
|
|
20
30
|
|
|
21
31
|
export async function transformContentPage(
|
|
22
32
|
pagePath: string,
|
|
@@ -31,8 +41,8 @@ export async function transformContentPage(
|
|
|
31
41
|
return await transformMarkdown(value as string);
|
|
32
42
|
} else if (isHTML(key, value)) {
|
|
33
43
|
return await transformHTML(value as string);
|
|
34
|
-
} else if (
|
|
35
|
-
return await
|
|
44
|
+
} else if (isDocument(value)) {
|
|
45
|
+
return await transformDocument(value, pagePath, options);
|
|
36
46
|
} else if (isPicture(value)) {
|
|
37
47
|
return await transformPicture(value, pagePath, options);
|
|
38
48
|
}
|
|
@@ -55,8 +65,8 @@ const isMarkdown = (key: string, value: any): value is string =>
|
|
|
55
65
|
isString(value) && key?.endsWith('__md');
|
|
56
66
|
const isHTML = (key: string, value: any): value is string =>
|
|
57
67
|
isString(value) && key?.endsWith('__html');
|
|
58
|
-
const
|
|
59
|
-
Boolean(_ && isLocalPath(_?.
|
|
68
|
+
const isDocument = (_: any): _ is Attachment =>
|
|
69
|
+
Boolean(_ && isLocalPath(_?.src) && isDocumentExt(path.extname(_?.src as string)));
|
|
60
70
|
const isDocumentExt = (input: string) =>
|
|
61
71
|
DOCUMENT_EXT_LIST.some((ext) => input.toLowerCase().endsWith(ext));
|
|
62
72
|
const isPicture = (_: any): _ is Picture => Boolean(_ && isLocalPath(_?.src));
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import fs from 'fs';
|
|
2
2
|
import path from 'path';
|
|
3
3
|
import util from 'util';
|
|
4
|
-
import
|
|
4
|
+
import { Attachment } from '../model/Attachment';
|
|
5
5
|
import type { TransformationOptions } from './TransformationOptions';
|
|
6
6
|
|
|
7
7
|
const copyFile = util.promisify(fs.copyFile);
|
|
8
8
|
|
|
9
|
-
export async function
|
|
10
|
-
|
|
9
|
+
export async function transformDocument(
|
|
10
|
+
attachment: Attachment,
|
|
11
11
|
pagePath: string,
|
|
12
12
|
options: TransformationOptions,
|
|
13
|
-
): Promise<
|
|
14
|
-
if (!
|
|
15
|
-
return
|
|
13
|
+
): Promise<Attachment> {
|
|
14
|
+
if (!attachment?.src) {
|
|
15
|
+
return attachment;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
const { contentDir, publicDir } = options;
|
|
19
|
-
const input = path.join(path.dirname(pagePath),
|
|
19
|
+
const input = path.join(path.dirname(pagePath), attachment.src);
|
|
20
20
|
const docRelativePath = path.relative(contentDir, input);
|
|
21
21
|
const output = path.join(publicDir, docRelativePath);
|
|
22
22
|
|
|
@@ -25,13 +25,13 @@ export async function transformDocumentLink(
|
|
|
25
25
|
} catch (e) {
|
|
26
26
|
console.info(`No "${input}" attachment found on page: "${pagePath}"`);
|
|
27
27
|
|
|
28
|
-
return
|
|
28
|
+
return attachment;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
const
|
|
31
|
+
const src = path.join('/', docRelativePath);
|
|
32
32
|
|
|
33
33
|
return {
|
|
34
|
-
...
|
|
35
|
-
|
|
34
|
+
...attachment,
|
|
35
|
+
src,
|
|
36
36
|
};
|
|
37
37
|
}
|