@redneckz/wildless-cms-uni-blocks 0.12.9 → 0.12.11
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.9.js +30 -0
- package/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +349 -180
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/BenefitsBlock/benefitImageStyles.d.ts +1 -0
- package/bundle/components/BenefitsBlock/benefitImageStyles.mobile.d.ts +1 -0
- package/bundle/components/Calculator/CalculatorContent.d.ts +20 -1
- package/bundle/components/Calculator/EmbeddableCalcBlocks.d.ts +3 -1
- package/bundle/components/Calculator/RefinancingCalculatorForm.d.ts +5 -0
- package/bundle/components/Calculator/checkRefinancingSourceBookRowCommonParams.d.ts +9 -0
- package/bundle/components/Calculator/constants.d.ts +12 -0
- package/bundle/components/Calculator/getMonthlyPayment.d.ts +8 -2
- package/bundle/components/Calculator/getRefinancingCalculatorLimitParams.d.ts +9 -0
- package/bundle/components/Calculator/getRefinancingCalculatorRateParams.d.ts +13 -0
- package/bundle/components/Calculator/useRefinancingCalculatorParams.d.ts +43 -0
- package/bundle/components/CarouselProductCard/CarouselProductCardContent.d.ts +6 -4
- package/bundle/components/CarouselProductCard/alignTextStyle.d.ts +1 -0
- package/bundle/components/CarouselProductCard/alignTextStyle.mobile.d.ts +1 -0
- package/bundle/components/LinkDocs/LinkDocsContent.d.ts +0 -2
- package/bundle/model/Attachment.d.ts +2 -0
- package/bundle/model/ContentPageDef.d.ts +0 -2
- package/bundle/model/JSXBlock.d.ts +2 -2
- package/bundle/ui-kit/RichText/RichTextProps.d.ts +7 -6
- package/bundle/utils/formatBytes.d.ts +1 -0
- package/dist/components/ApplicationForm/ApplicationForm.js +1 -1
- package/dist/components/ApplicationForm/ApplicationForm.js.map +1 -1
- package/dist/components/ApplicationForm/ApplicationFormWed.js +1 -1
- package/dist/components/ApplicationForm/ApplicationFormWed.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/renderWedDataOrganization.js +1 -1
- package/dist/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
- package/dist/components/BenefitsBlock/BenefitsBlock.js +4 -4
- package/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/dist/components/BenefitsBlock/benefitImageStyles.d.ts +1 -0
- package/dist/components/BenefitsBlock/benefitImageStyles.js +4 -0
- package/dist/components/BenefitsBlock/benefitImageStyles.js.map +1 -0
- package/dist/components/BenefitsBlock/benefitImageStyles.mobile.d.ts +1 -0
- package/dist/components/BenefitsBlock/benefitImageStyles.mobile.js +4 -0
- package/dist/components/BenefitsBlock/benefitImageStyles.mobile.js.map +1 -0
- package/dist/components/Bonus/Bonus.js +2 -2
- package/dist/components/Bonus/Bonus.js.map +1 -1
- package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -2
- package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/dist/components/BusinessBlock/BusinessBlock.js +1 -1
- package/dist/components/BusinessBlock/BusinessBlock.js.map +1 -1
- package/dist/components/BusinessBlock/BusinessCard.js +2 -2
- package/dist/components/BusinessBlock/BusinessCard.js.map +1 -1
- package/dist/components/Calculator/BonusCalculatorForm.js +2 -2
- package/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
- package/dist/components/Calculator/BusinessDepositCalculatorForm.js +2 -2
- package/dist/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
- package/dist/components/Calculator/Calculator.js +5 -5
- package/dist/components/Calculator/Calculator.js.map +1 -1
- package/dist/components/Calculator/CalculatorContent.d.ts +20 -1
- package/dist/components/Calculator/CreditCalculatorForm.js +2 -2
- package/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/dist/components/Calculator/DepositCalculatorForm.js +3 -3
- package/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
- package/dist/components/Calculator/EmbeddableCalcBlocks.d.ts +3 -1
- package/dist/components/Calculator/EmbeddableCalcBlocks.js +2 -0
- package/dist/components/Calculator/EmbeddableCalcBlocks.js.map +1 -1
- package/dist/components/Calculator/RefinancingCalculatorForm.d.ts +5 -0
- package/dist/components/Calculator/RefinancingCalculatorForm.js +63 -0
- package/dist/components/Calculator/RefinancingCalculatorForm.js.map +1 -0
- package/dist/components/Calculator/UnknownRate.js +1 -1
- package/dist/components/Calculator/UnknownRate.js.map +1 -1
- package/dist/components/Calculator/checkRefinancingSourceBookRowCommonParams.d.ts +9 -0
- package/dist/components/Calculator/checkRefinancingSourceBookRowCommonParams.js +23 -0
- package/dist/components/Calculator/checkRefinancingSourceBookRowCommonParams.js.map +1 -0
- package/dist/components/Calculator/constants.d.ts +12 -0
- package/dist/components/Calculator/constants.js +25 -1
- package/dist/components/Calculator/constants.js.map +1 -1
- package/dist/components/Calculator/getMonthlyPayment.d.ts +8 -2
- package/dist/components/Calculator/getMonthlyPayment.js +7 -2
- package/dist/components/Calculator/getMonthlyPayment.js.map +1 -1
- package/dist/components/Calculator/getRefinancingCalculatorLimitParams.d.ts +9 -0
- package/dist/components/Calculator/getRefinancingCalculatorLimitParams.js +10 -0
- package/dist/components/Calculator/getRefinancingCalculatorLimitParams.js.map +1 -0
- package/dist/components/Calculator/getRefinancingCalculatorRateParams.d.ts +13 -0
- package/dist/components/Calculator/getRefinancingCalculatorRateParams.js +16 -0
- package/dist/components/Calculator/getRefinancingCalculatorRateParams.js.map +1 -0
- package/dist/components/Calculator/rangeHelpers.js +7 -3
- package/dist/components/Calculator/rangeHelpers.js.map +1 -1
- package/dist/components/Calculator/useRefinancingCalculatorParams.d.ts +43 -0
- package/dist/components/Calculator/useRefinancingCalculatorParams.js +57 -0
- package/dist/components/Calculator/useRefinancingCalculatorParams.js.map +1 -0
- package/dist/components/CardTransfer/CardTransfer.js +1 -1
- package/dist/components/CardTransfer/CardTransfer.js.map +1 -1
- package/dist/components/Carousel/Carousel.js +1 -1
- package/dist/components/Carousel/Carousel.js.map +1 -1
- package/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +1 -1
- package/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
- package/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.mobile.js +1 -1
- package/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.mobile.js.map +1 -1
- package/dist/components/CarouselCard/CarouselCard.js +2 -2
- package/dist/components/CarouselCard/CarouselCard.js.map +1 -1
- package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +2 -3
- package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
- package/dist/components/CarouselEventCard/CarouselEventCard.js +1 -1
- package/dist/components/CarouselEventCard/CarouselEventCard.js.map +1 -1
- package/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js +1 -1
- package/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
- package/dist/components/CarouselLinks/CarouselLinks.js +1 -1
- package/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
- package/dist/components/CarouselProductCard/CarouselProductCard.js +10 -9
- package/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
- package/dist/components/CarouselProductCard/CarouselProductCardContent.d.ts +6 -4
- package/dist/components/CarouselProductCard/alignTextStyle.d.ts +1 -0
- package/dist/components/CarouselProductCard/alignTextStyle.js +4 -0
- package/dist/components/CarouselProductCard/alignTextStyle.js.map +1 -0
- package/dist/components/CarouselProductCard/alignTextStyle.mobile.d.ts +1 -0
- package/dist/components/CarouselProductCard/alignTextStyle.mobile.js +4 -0
- package/dist/components/CarouselProductCard/alignTextStyle.mobile.js.map +1 -0
- package/dist/components/CarouselProgramsCard/CarouselProgramsCard.js +2 -2
- package/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -1
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.js +1 -1
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.js.map +1 -1
- package/dist/components/CarouselTariffsCard/getPaddingStyle.mobile.js +1 -1
- package/dist/components/CarouselTariffsCard/getPaddingStyle.mobile.js.map +1 -1
- package/dist/components/ComparisonTable/ComparisonTable.js +1 -1
- package/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
- package/dist/components/ComparisonTable/HeaderCell.mobile.js +2 -2
- package/dist/components/ComparisonTable/HeaderCell.mobile.js.map +1 -1
- package/dist/components/ComparisonTable/TableCell.js +1 -1
- package/dist/components/ComparisonTable/TableCell.js.map +1 -1
- package/dist/components/ComparisonTable/TableColumn.js +2 -2
- package/dist/components/ComparisonTable/TableColumn.js.map +1 -1
- package/dist/components/ContactsBlock/ContactsBlock.js +2 -2
- package/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
- package/dist/components/ContentPage/ContentPage.js +1 -1
- package/dist/components/ContentPage/ContentPage.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/renderCurrencies.js +3 -3
- package/dist/components/ExchangeRateOffice/renderCurrencies.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 +2 -2
- package/dist/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
- package/dist/components/ExchangeRateTile/CurrentLocation.js +1 -1
- package/dist/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
- package/dist/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
- package/dist/components/Footer/Contacts.js +4 -3
- package/dist/components/Footer/Contacts.js.map +1 -1
- package/dist/components/Footer/Footer.js +1 -1
- package/dist/components/Footer/Footer.js.map +1 -1
- package/dist/components/Footer/Footer.mobile.js +1 -1
- package/dist/components/Footer/Footer.mobile.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/Header.js +1 -1
- package/dist/components/Header/Header.js.map +1 -1
- package/dist/components/Header/Header.mobile.js +1 -1
- package/dist/components/Header/Header.mobile.js.map +1 -1
- package/dist/components/Header/HeaderBurger.js +1 -1
- package/dist/components/Header/HeaderSubMenu.js +1 -1
- package/dist/components/Header/HeaderSubMenu.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/headlineVersionStyles.js +4 -4
- package/dist/components/Headline/headlineVersionStyles.js.map +1 -1
- package/dist/components/HorizontalLayout/HorizontalLayout.js +1 -1
- package/dist/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
- package/dist/components/HorizontalLayout/gapStyles.js +6 -6
- package/dist/components/HorizontalLayout/gapStyles.js.map +1 -1
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +1 -1
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +1 -1
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/dist/components/InvestmentInfo/InvestmentInfo.js +7 -9
- package/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
- package/dist/components/LinkDocs/LinkDocs.js +6 -2
- package/dist/components/LinkDocs/LinkDocs.js.map +1 -1
- package/dist/components/LinkDocs/LinkDocsContent.d.ts +0 -2
- package/dist/components/MobileAppTile/MobileAppTile.js +2 -2
- package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/dist/components/MobileAppTile/renderDescription.js +1 -1
- 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/PictureText/PictureText.js +1 -1
- package/dist/components/PictureText/PictureText.js.map +1 -1
- package/dist/components/PictureText/renderInsuranceSumMonth.js +1 -1
- package/dist/components/PictureText/renderInsuranceSumMonth.js.map +1 -1
- package/dist/components/Placeholder/Placeholder.js +2 -2
- package/dist/components/Placeholder/Placeholder.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlock.js +1 -1
- package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
- package/dist/components/ProductGallery/ProductGallery.js +1 -1
- package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
- package/dist/components/ProductTile/ProductTile.js +1 -1
- package/dist/components/ProductTile/ProductTile.js.map +1 -1
- package/dist/components/PromoTile/PromoTile.js +1 -1
- package/dist/components/PromoTile/PromoTile.js.map +1 -1
- package/dist/components/RollupItem/RollupItem.js +1 -1
- package/dist/components/RollupItem/RollupItem.js.map +1 -1
- package/dist/components/SafeDepositRental/RenderRadioButtons.js +1 -1
- package/dist/components/SafeDepositRental/RenderRadioButtons.js.map +1 -1
- package/dist/components/SafeDepositRental/SafeDepositRental.js +1 -1
- package/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/dist/components/SafeDepositRental/SafeDepositRentalTotal.js +1 -1
- package/dist/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
- package/dist/components/StepsBlock/StepsBlock.js +5 -5
- package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
- package/dist/components/StepsBlock/StepsBlock.mobile.js +3 -3
- package/dist/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
- package/dist/components/StepsBlock/renderStep.js +2 -2
- package/dist/components/StepsBlock/renderStep.js.map +1 -1
- package/dist/components/Tabs/renderGroupTab.js +1 -1
- package/dist/components/Tabs/renderGroupTab.js.map +1 -1
- package/dist/components/TariffsTable/EmbeddableCellData.mobile.js +1 -1
- package/dist/components/TariffsTable/EmbeddableCellData.mobile.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/TariffsTable.js +2 -8
- package/dist/components/TariffsTable/TariffsTable.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTable.mobile.js +1 -1
- package/dist/components/TariffsTable/TariffsTable.mobile.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableRenderCell.js +1 -1
- package/dist/components/TariffsTable/TariffsTableRenderCell.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableRow.js +1 -1
- package/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableTileCell.js +1 -1
- package/dist/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
- package/dist/components/Tile/Tile.js +1 -1
- package/dist/components/Tile/Tile.js.map +1 -1
- package/dist/components/VerticalLayout/VerticalLayout.js +1 -1
- package/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
- package/dist/content-page-repository/transformDocument.js +3 -0
- package/dist/content-page-repository/transformDocument.js.map +1 -1
- package/dist/content-page-repository/transformImg.js +1 -1
- package/dist/content-page-repository/transformImg.js.map +1 -1
- package/dist/model/Attachment.d.ts +2 -0
- package/dist/model/ContentPageDef.d.ts +0 -2
- package/dist/model/JSXBlock.d.ts +2 -2
- package/dist/ui-kit/BaseFiltration/BaseFiltrationInner.js +1 -1
- package/dist/ui-kit/BaseFiltration/BaseFiltrationInner.js.map +1 -1
- package/dist/ui-kit/BaseProductTile/BaseProductTile.js +1 -1
- package/dist/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
- package/dist/ui-kit/BaseTile/BaseTile.js +1 -1
- package/dist/ui-kit/BaseTile/BaseTile.js.map +1 -1
- package/dist/ui-kit/BenefitItem/BenefitItem.js +1 -1
- package/dist/ui-kit/BlockWrapper.js +1 -1
- package/dist/ui-kit/BlockWrapper.js.map +1 -1
- package/dist/ui-kit/Button/ButtonInner.js +1 -1
- package/dist/ui-kit/Button/renderButtonsSection.js +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/InnerTable/InnerTableBodyItem.js +3 -3
- package/dist/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
- package/dist/ui-kit/InnerTable/InnerTableButton.js +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/Input/Input.js +1 -1
- package/dist/ui-kit/Input/Input.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 +2 -2
- package/dist/ui-kit/List/List.js +4 -4
- package/dist/ui-kit/List/List.js.map +1 -1
- package/dist/ui-kit/List/ListItem.js +3 -3
- package/dist/ui-kit/List/ListItem.js.map +1 -1
- package/dist/ui-kit/LocationDialog/LocationDialog.js +3 -3
- package/dist/ui-kit/LocationDialog/LocationDialog.js.map +1 -1
- package/dist/ui-kit/Logo/renderTitle.js +1 -1
- package/dist/ui-kit/Logo/renderTitle.js.map +1 -1
- package/dist/ui-kit/RichText/RichTextProps.d.ts +7 -6
- package/dist/ui-kit/SearchDialog/SearchInput.js +1 -1
- package/dist/ui-kit/Select/Select.js +1 -1
- package/dist/ui-kit/Select/Select.js.map +1 -1
- package/dist/ui-kit/YandexMap/renderSearchField.js +1 -1
- package/dist/ui-kit/YandexMap/renderSearchField.js.map +1 -1
- package/dist/utils/formatBytes.d.ts +1 -0
- package/dist/utils/formatBytes.js +13 -0
- package/dist/utils/formatBytes.js.map +1 -0
- package/lib/common.css +1 -1
- package/lib/components/ApplicationForm/ApplicationForm.js +1 -1
- package/lib/components/ApplicationForm/ApplicationForm.js.map +1 -1
- package/lib/components/ApplicationForm/ApplicationFormWed.js +1 -1
- package/lib/components/ApplicationForm/ApplicationFormWed.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/renderWedDataOrganization.js +1 -1
- package/lib/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
- package/lib/components/BenefitsBlock/BenefitsBlock.js +4 -4
- package/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/lib/components/BenefitsBlock/benefitImageStyles.d.ts +1 -0
- package/lib/components/BenefitsBlock/benefitImageStyles.js +2 -0
- package/lib/components/BenefitsBlock/benefitImageStyles.js.map +1 -0
- package/lib/components/BenefitsBlock/benefitImageStyles.mobile.d.ts +1 -0
- package/lib/components/BenefitsBlock/benefitImageStyles.mobile.js +2 -0
- package/lib/components/BenefitsBlock/benefitImageStyles.mobile.js.map +1 -0
- package/lib/components/Bonus/Bonus.js +2 -2
- package/lib/components/Bonus/Bonus.js.map +1 -1
- package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -2
- package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/lib/components/BusinessBlock/BusinessBlock.js +1 -1
- package/lib/components/BusinessBlock/BusinessBlock.js.map +1 -1
- package/lib/components/BusinessBlock/BusinessCard.js +2 -2
- package/lib/components/BusinessBlock/BusinessCard.js.map +1 -1
- package/lib/components/Calculator/BonusCalculatorForm.js +2 -2
- package/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
- package/lib/components/Calculator/BusinessDepositCalculatorForm.js +2 -2
- package/lib/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
- package/lib/components/Calculator/Calculator.fixture.d.ts +1 -0
- package/lib/components/Calculator/Calculator.js +5 -5
- package/lib/components/Calculator/Calculator.js.map +1 -1
- package/lib/components/Calculator/CalculatorContent.d.ts +20 -1
- package/lib/components/Calculator/CreditCalculatorForm.js +2 -2
- package/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/lib/components/Calculator/DepositCalculatorForm.js +3 -3
- package/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
- package/lib/components/Calculator/EmbeddableCalcBlocks.d.ts +3 -1
- package/lib/components/Calculator/EmbeddableCalcBlocks.js +2 -0
- package/lib/components/Calculator/EmbeddableCalcBlocks.js.map +1 -1
- package/lib/components/Calculator/RefinancingCalculatorForm.d.ts +5 -0
- package/lib/components/Calculator/RefinancingCalculatorForm.js +61 -0
- package/lib/components/Calculator/RefinancingCalculatorForm.js.map +1 -0
- package/lib/components/Calculator/UnknownRate.js +1 -1
- package/lib/components/Calculator/UnknownRate.js.map +1 -1
- package/lib/components/Calculator/checkRefinancingSourceBookRowCommonParams.d.ts +9 -0
- package/lib/components/Calculator/checkRefinancingSourceBookRowCommonParams.js +20 -0
- package/lib/components/Calculator/checkRefinancingSourceBookRowCommonParams.js.map +1 -0
- package/lib/components/Calculator/constants.d.ts +12 -0
- package/lib/components/Calculator/constants.js +24 -0
- package/lib/components/Calculator/constants.js.map +1 -1
- package/lib/components/Calculator/getMonthlyPayment.d.ts +8 -2
- package/lib/components/Calculator/getMonthlyPayment.js +7 -2
- package/lib/components/Calculator/getMonthlyPayment.js.map +1 -1
- package/lib/components/Calculator/getRefinancingCalculatorLimitParams.d.ts +9 -0
- package/lib/components/Calculator/getRefinancingCalculatorLimitParams.js +7 -0
- package/lib/components/Calculator/getRefinancingCalculatorLimitParams.js.map +1 -0
- package/lib/components/Calculator/getRefinancingCalculatorRateParams.d.ts +13 -0
- package/lib/components/Calculator/getRefinancingCalculatorRateParams.js +13 -0
- package/lib/components/Calculator/getRefinancingCalculatorRateParams.js.map +1 -0
- package/lib/components/Calculator/rangeHelpers.js +7 -3
- package/lib/components/Calculator/rangeHelpers.js.map +1 -1
- package/lib/components/Calculator/useRefinancingCalculatorParams.d.ts +43 -0
- package/lib/components/Calculator/useRefinancingCalculatorParams.js +54 -0
- package/lib/components/Calculator/useRefinancingCalculatorParams.js.map +1 -0
- package/lib/components/CardTransfer/CardTransfer.js +1 -1
- package/lib/components/CardTransfer/CardTransfer.js.map +1 -1
- package/lib/components/Carousel/Carousel.js +1 -1
- package/lib/components/Carousel/Carousel.js.map +1 -1
- package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +1 -1
- package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
- package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.mobile.js +1 -1
- package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.mobile.js.map +1 -1
- package/lib/components/CarouselCard/CarouselCard.js +2 -2
- package/lib/components/CarouselCard/CarouselCard.js.map +1 -1
- package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +2 -3
- package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
- package/lib/components/CarouselEventCard/CarouselEventCard.js +1 -1
- package/lib/components/CarouselEventCard/CarouselEventCard.js.map +1 -1
- package/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js +1 -1
- package/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
- package/lib/components/CarouselLinks/CarouselLinks.js +1 -1
- package/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
- package/lib/components/CarouselProductCard/CarouselProductCard.js +10 -9
- package/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
- package/lib/components/CarouselProductCard/CarouselProductCardContent.d.ts +6 -4
- package/lib/components/CarouselProductCard/alignTextStyle.d.ts +1 -0
- package/lib/components/CarouselProductCard/alignTextStyle.js +2 -0
- package/lib/components/CarouselProductCard/alignTextStyle.js.map +1 -0
- package/lib/components/CarouselProductCard/alignTextStyle.mobile.d.ts +1 -0
- package/lib/components/CarouselProductCard/alignTextStyle.mobile.js +2 -0
- package/lib/components/CarouselProductCard/alignTextStyle.mobile.js.map +1 -0
- package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js +2 -2
- package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -1
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.js +1 -1
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.js.map +1 -1
- package/lib/components/CarouselTariffsCard/getPaddingStyle.mobile.js +1 -1
- package/lib/components/CarouselTariffsCard/getPaddingStyle.mobile.js.map +1 -1
- package/lib/components/ComparisonTable/ComparisonTable.js +1 -1
- package/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
- package/lib/components/ComparisonTable/HeaderCell.mobile.js +2 -2
- package/lib/components/ComparisonTable/HeaderCell.mobile.js.map +1 -1
- package/lib/components/ComparisonTable/TableCell.js +1 -1
- package/lib/components/ComparisonTable/TableCell.js.map +1 -1
- package/lib/components/ComparisonTable/TableColumn.js +2 -2
- package/lib/components/ComparisonTable/TableColumn.js.map +1 -1
- package/lib/components/ContactsBlock/ContactsBlock.js +2 -2
- package/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
- package/lib/components/ContentPage/ContentPage.js +1 -1
- package/lib/components/ContentPage/ContentPage.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/renderCurrencies.js +3 -3
- package/lib/components/ExchangeRateOffice/renderCurrencies.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 +2 -2
- package/lib/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
- package/lib/components/ExchangeRateTile/CurrentLocation.js +1 -1
- package/lib/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
- package/lib/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
- package/lib/components/Footer/Contacts.js +4 -3
- package/lib/components/Footer/Contacts.js.map +1 -1
- package/lib/components/Footer/Footer.js +1 -1
- package/lib/components/Footer/Footer.js.map +1 -1
- package/lib/components/Footer/Footer.mobile.js +1 -1
- package/lib/components/Footer/Footer.mobile.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/Header.js +1 -1
- package/lib/components/Header/Header.js.map +1 -1
- package/lib/components/Header/Header.mobile.js +1 -1
- package/lib/components/Header/Header.mobile.js.map +1 -1
- package/lib/components/Header/HeaderBurger.js +1 -1
- package/lib/components/Header/HeaderSubMenu.js +1 -1
- package/lib/components/Header/HeaderSubMenu.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/headlineVersionStyles.js +4 -4
- package/lib/components/Headline/headlineVersionStyles.js.map +1 -1
- package/lib/components/HorizontalLayout/HorizontalLayout.js +1 -1
- package/lib/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
- package/lib/components/HorizontalLayout/gapStyles.js +6 -6
- package/lib/components/HorizontalLayout/gapStyles.js.map +1 -1
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +1 -1
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +1 -1
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/lib/components/InvestmentInfo/InvestmentInfo.js +7 -9
- package/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
- package/lib/components/LinkDocs/LinkDocs.js +6 -2
- package/lib/components/LinkDocs/LinkDocs.js.map +1 -1
- package/lib/components/LinkDocs/LinkDocsContent.d.ts +0 -2
- package/lib/components/MobileAppTile/MobileAppTile.js +2 -2
- package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/lib/components/MobileAppTile/renderDescription.js +1 -1
- 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/PictureText/PictureText.js +1 -1
- package/lib/components/PictureText/PictureText.js.map +1 -1
- package/lib/components/PictureText/renderInsuranceSumMonth.js +1 -1
- package/lib/components/PictureText/renderInsuranceSumMonth.js.map +1 -1
- package/lib/components/Placeholder/Placeholder.js +2 -2
- package/lib/components/Placeholder/Placeholder.js.map +1 -1
- package/lib/components/ProductBlock/ProductBlock.js +1 -1
- package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
- package/lib/components/ProductGallery/ProductGallery.js +1 -1
- package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
- package/lib/components/ProductTile/ProductTile.js +1 -1
- package/lib/components/ProductTile/ProductTile.js.map +1 -1
- package/lib/components/PromoTile/PromoTile.js +1 -1
- package/lib/components/PromoTile/PromoTile.js.map +1 -1
- package/lib/components/RollupItem/RollupItem.js +1 -1
- package/lib/components/RollupItem/RollupItem.js.map +1 -1
- package/lib/components/SafeDepositRental/RenderRadioButtons.js +1 -1
- package/lib/components/SafeDepositRental/RenderRadioButtons.js.map +1 -1
- package/lib/components/SafeDepositRental/SafeDepositRental.js +1 -1
- package/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/lib/components/SafeDepositRental/SafeDepositRentalTotal.js +1 -1
- package/lib/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
- package/lib/components/StepsBlock/StepsBlock.js +5 -5
- package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
- package/lib/components/StepsBlock/StepsBlock.mobile.js +3 -3
- package/lib/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
- package/lib/components/StepsBlock/renderStep.js +2 -2
- package/lib/components/StepsBlock/renderStep.js.map +1 -1
- package/lib/components/Tabs/renderGroupTab.js +1 -1
- package/lib/components/Tabs/renderGroupTab.js.map +1 -1
- package/lib/components/TariffsTable/EmbeddableCellData.mobile.js +1 -1
- package/lib/components/TariffsTable/EmbeddableCellData.mobile.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/TariffsTable.js +2 -8
- package/lib/components/TariffsTable/TariffsTable.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTable.mobile.js +1 -1
- package/lib/components/TariffsTable/TariffsTable.mobile.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTableRenderCell.js +1 -1
- package/lib/components/TariffsTable/TariffsTableRenderCell.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTableRow.js +1 -1
- package/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTableTileCell.js +1 -1
- package/lib/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
- package/lib/components/Tile/Tile.js +1 -1
- package/lib/components/Tile/Tile.js.map +1 -1
- package/lib/components/VerticalLayout/VerticalLayout.fixture.d.ts +1 -1
- package/lib/components/VerticalLayout/VerticalLayout.js +1 -1
- package/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
- package/lib/content-page-repository/transformDocument.js +3 -0
- package/lib/content-page-repository/transformDocument.js.map +1 -1
- package/lib/content-page-repository/transformImg.js +1 -1
- package/lib/content-page-repository/transformImg.js.map +1 -1
- package/lib/model/Attachment.d.ts +2 -0
- package/lib/model/ContentPageDef.d.ts +0 -2
- package/lib/model/JSXBlock.d.ts +2 -2
- package/lib/ui-kit/BaseFiltration/BaseFiltrationInner.js +1 -1
- package/lib/ui-kit/BaseFiltration/BaseFiltrationInner.js.map +1 -1
- package/lib/ui-kit/BaseProductTile/BaseProductTile.js +1 -1
- package/lib/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
- package/lib/ui-kit/BaseTile/BaseTile.js +1 -1
- package/lib/ui-kit/BaseTile/BaseTile.js.map +1 -1
- package/lib/ui-kit/BenefitItem/BenefitItem.js +1 -1
- package/lib/ui-kit/BlockWrapper.js +1 -1
- package/lib/ui-kit/BlockWrapper.js.map +1 -1
- package/lib/ui-kit/Button/ButtonInner.js +1 -1
- package/lib/ui-kit/Button/renderButtonsSection.js +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/InnerTable/InnerTableBodyItem.js +3 -3
- package/lib/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
- package/lib/ui-kit/InnerTable/InnerTableButton.js +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/Input/Input.js +1 -1
- package/lib/ui-kit/Input/Input.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 +2 -2
- package/lib/ui-kit/List/List.js +4 -4
- package/lib/ui-kit/List/List.js.map +1 -1
- package/lib/ui-kit/List/ListItem.js +3 -3
- package/lib/ui-kit/List/ListItem.js.map +1 -1
- package/lib/ui-kit/LocationDialog/LocationDialog.js +3 -3
- package/lib/ui-kit/LocationDialog/LocationDialog.js.map +1 -1
- package/lib/ui-kit/Logo/renderTitle.js +1 -1
- package/lib/ui-kit/Logo/renderTitle.js.map +1 -1
- package/lib/ui-kit/RichText/RichTextProps.d.ts +7 -6
- package/lib/ui-kit/SearchDialog/SearchInput.js +1 -1
- package/lib/ui-kit/Select/Select.js +1 -1
- package/lib/ui-kit/Select/Select.js.map +1 -1
- package/lib/ui-kit/YandexMap/renderSearchField.js +1 -1
- package/lib/ui-kit/YandexMap/renderSearchField.js.map +1 -1
- package/lib/utils/formatBytes.d.ts +1 -0
- package/lib/utils/formatBytes.js +10 -0
- package/lib/utils/formatBytes.js.map +1 -0
- package/mobile/bundle/bundle.umd.js +103 -88
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/BenefitsBlock/benefitImageStyles.d.ts +1 -0
- package/mobile/bundle/components/Calculator/CalculatorContent.d.ts +20 -1
- package/mobile/bundle/components/Calculator/EmbeddableCalcBlocks.d.ts +3 -1
- package/mobile/bundle/components/Calculator/RefinancingCalculatorForm.d.ts +5 -0
- package/mobile/bundle/components/Calculator/checkRefinancingSourceBookRowCommonParams.d.ts +9 -0
- package/mobile/bundle/components/Calculator/constants.d.ts +12 -0
- package/mobile/bundle/components/Calculator/getMonthlyPayment.d.ts +8 -2
- package/mobile/bundle/components/Calculator/getRefinancingCalculatorLimitParams.d.ts +9 -0
- package/mobile/bundle/components/Calculator/getRefinancingCalculatorRateParams.d.ts +13 -0
- package/mobile/bundle/components/Calculator/useRefinancingCalculatorParams.d.ts +43 -0
- package/mobile/bundle/components/CarouselProductCard/CarouselProductCardContent.d.ts +6 -4
- package/mobile/bundle/components/CarouselProductCard/alignTextStyle.d.ts +1 -0
- package/mobile/bundle/components/LinkDocs/LinkDocsContent.d.ts +0 -2
- package/mobile/bundle/model/Attachment.d.ts +2 -0
- package/mobile/bundle/model/ContentPageDef.d.ts +0 -2
- package/mobile/bundle/model/JSXBlock.d.ts +2 -2
- package/mobile/bundle/ui-kit/RichText/RichTextProps.d.ts +7 -6
- package/mobile/bundle/utils/formatBytes.d.ts +1 -0
- package/mobile/dist/components/ApplicationForm/ApplicationForm.js +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationForm.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormWed.js +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormWed.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/renderWedDataOrganization.js +1 -1
- package/mobile/dist/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
- package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js +4 -4
- package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/mobile/dist/components/BenefitsBlock/benefitImageStyles.d.ts +1 -0
- package/mobile/dist/components/BenefitsBlock/benefitImageStyles.js +4 -0
- package/mobile/dist/components/BenefitsBlock/benefitImageStyles.js.map +1 -0
- package/mobile/dist/components/Bonus/Bonus.js +2 -2
- package/mobile/dist/components/Bonus/Bonus.js.map +1 -1
- package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -2
- package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/mobile/dist/components/BusinessBlock/BusinessBlock.js +1 -1
- package/mobile/dist/components/BusinessBlock/BusinessBlock.js.map +1 -1
- package/mobile/dist/components/BusinessBlock/BusinessCard.js +2 -2
- package/mobile/dist/components/BusinessBlock/BusinessCard.js.map +1 -1
- package/mobile/dist/components/Calculator/BonusCalculatorForm.js +2 -2
- package/mobile/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
- package/mobile/dist/components/Calculator/BusinessDepositCalculatorForm.js +2 -2
- package/mobile/dist/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
- package/mobile/dist/components/Calculator/Calculator.js +5 -5
- package/mobile/dist/components/Calculator/Calculator.js.map +1 -1
- package/mobile/dist/components/Calculator/CalculatorContent.d.ts +20 -1
- package/mobile/dist/components/Calculator/CreditCalculatorForm.js +2 -2
- package/mobile/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/mobile/dist/components/Calculator/DepositCalculatorForm.js +3 -3
- package/mobile/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
- package/mobile/dist/components/Calculator/EmbeddableCalcBlocks.d.ts +3 -1
- package/mobile/dist/components/Calculator/EmbeddableCalcBlocks.js +2 -0
- package/mobile/dist/components/Calculator/EmbeddableCalcBlocks.js.map +1 -1
- package/mobile/dist/components/Calculator/RefinancingCalculatorForm.d.ts +5 -0
- package/mobile/dist/components/Calculator/RefinancingCalculatorForm.js +63 -0
- package/mobile/dist/components/Calculator/RefinancingCalculatorForm.js.map +1 -0
- package/mobile/dist/components/Calculator/UnknownRate.js +1 -1
- package/mobile/dist/components/Calculator/UnknownRate.js.map +1 -1
- package/mobile/dist/components/Calculator/checkRefinancingSourceBookRowCommonParams.d.ts +9 -0
- package/mobile/dist/components/Calculator/checkRefinancingSourceBookRowCommonParams.js +23 -0
- package/mobile/dist/components/Calculator/checkRefinancingSourceBookRowCommonParams.js.map +1 -0
- package/mobile/dist/components/Calculator/constants.d.ts +12 -0
- package/mobile/dist/components/Calculator/constants.js +25 -1
- package/mobile/dist/components/Calculator/constants.js.map +1 -1
- package/mobile/dist/components/Calculator/getMonthlyPayment.d.ts +8 -2
- package/mobile/dist/components/Calculator/getMonthlyPayment.js +7 -2
- package/mobile/dist/components/Calculator/getMonthlyPayment.js.map +1 -1
- package/mobile/dist/components/Calculator/getRefinancingCalculatorLimitParams.d.ts +9 -0
- package/mobile/dist/components/Calculator/getRefinancingCalculatorLimitParams.js +10 -0
- package/mobile/dist/components/Calculator/getRefinancingCalculatorLimitParams.js.map +1 -0
- package/mobile/dist/components/Calculator/getRefinancingCalculatorRateParams.d.ts +13 -0
- package/mobile/dist/components/Calculator/getRefinancingCalculatorRateParams.js +16 -0
- package/mobile/dist/components/Calculator/getRefinancingCalculatorRateParams.js.map +1 -0
- package/mobile/dist/components/Calculator/rangeHelpers.js +7 -3
- package/mobile/dist/components/Calculator/rangeHelpers.js.map +1 -1
- package/mobile/dist/components/Calculator/useRefinancingCalculatorParams.d.ts +43 -0
- package/mobile/dist/components/Calculator/useRefinancingCalculatorParams.js +57 -0
- package/mobile/dist/components/Calculator/useRefinancingCalculatorParams.js.map +1 -0
- package/mobile/dist/components/CardTransfer/CardTransfer.js +1 -1
- package/mobile/dist/components/CardTransfer/CardTransfer.js.map +1 -1
- package/mobile/dist/components/Carousel/Carousel.js +1 -1
- package/mobile/dist/components/Carousel/Carousel.js.map +1 -1
- package/mobile/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +1 -1
- package/mobile/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
- package/mobile/dist/components/CarouselCard/CarouselCard.js +2 -2
- package/mobile/dist/components/CarouselCard/CarouselCard.js.map +1 -1
- package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +2 -3
- package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
- package/mobile/dist/components/CarouselEventCard/CarouselEventCard.js +1 -1
- package/mobile/dist/components/CarouselEventCard/CarouselEventCard.js.map +1 -1
- package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js +1 -1
- package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.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/CarouselProductCard/CarouselProductCard.js +10 -9
- package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
- package/mobile/dist/components/CarouselProductCard/CarouselProductCardContent.d.ts +6 -4
- package/mobile/dist/components/CarouselProductCard/alignTextStyle.d.ts +1 -0
- package/mobile/dist/components/CarouselProductCard/alignTextStyle.js +4 -0
- package/mobile/dist/components/CarouselProductCard/alignTextStyle.js.map +1 -0
- package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js +2 -2
- package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
- package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -1
- package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/mobile/dist/components/CarouselTariffsCard/getPaddingStyle.js +1 -1
- package/mobile/dist/components/CarouselTariffsCard/getPaddingStyle.js.map +1 -1
- package/mobile/dist/components/ComparisonTable/HeaderCell.js +2 -2
- package/mobile/dist/components/ComparisonTable/HeaderCell.js.map +1 -1
- package/mobile/dist/components/ComparisonTable/TableColumn.js +2 -2
- package/mobile/dist/components/ComparisonTable/TableColumn.js.map +1 -1
- package/mobile/dist/components/ContactsBlock/ContactsBlock.js +2 -2
- package/mobile/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
- package/mobile/dist/components/ContentPage/ContentPage.js +1 -1
- package/mobile/dist/components/ContentPage/ContentPage.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/renderCurrencies.js +3 -3
- package/mobile/dist/components/ExchangeRateOffice/renderCurrencies.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 +2 -2
- package/mobile/dist/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
- package/mobile/dist/components/ExchangeRateTile/CurrentLocation.js +1 -1
- package/mobile/dist/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
- package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
- package/mobile/dist/components/Footer/Contacts.js +4 -3
- package/mobile/dist/components/Footer/Contacts.js.map +1 -1
- package/mobile/dist/components/Footer/Footer.js +1 -1
- package/mobile/dist/components/Footer/Footer.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/Header.js +1 -1
- package/mobile/dist/components/Header/Header.js.map +1 -1
- package/mobile/dist/components/Header/HeaderBurger.js +1 -1
- package/mobile/dist/components/Header/HeaderSubMenu.js +1 -1
- package/mobile/dist/components/Header/HeaderSubMenu.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/headlineVersionStyles.js +4 -4
- package/mobile/dist/components/Headline/headlineVersionStyles.js.map +1 -1
- package/mobile/dist/components/HorizontalLayout/HorizontalLayout.js +1 -1
- package/mobile/dist/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
- package/mobile/dist/components/HorizontalLayout/gapStyles.js +6 -6
- package/mobile/dist/components/HorizontalLayout/gapStyles.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/InsuranceAmountBlock/InsuranceAmountBlockInner.js +1 -1
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js +7 -9
- package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocs.js +6 -2
- package/mobile/dist/components/LinkDocs/LinkDocs.js.map +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocsContent.d.ts +0 -2
- package/mobile/dist/components/MobileAppTile/MobileAppTile.js +2 -2
- package/mobile/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/mobile/dist/components/MobileAppTile/renderDescription.js +1 -1
- 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/PictureText/PictureText.js +1 -1
- package/mobile/dist/components/PictureText/PictureText.js.map +1 -1
- package/mobile/dist/components/PictureText/renderInsuranceSumMonth.js +1 -1
- package/mobile/dist/components/PictureText/renderInsuranceSumMonth.js.map +1 -1
- package/mobile/dist/components/Placeholder/Placeholder.js +2 -2
- package/mobile/dist/components/Placeholder/Placeholder.js.map +1 -1
- package/mobile/dist/components/ProductBlock/ProductBlock.js +1 -1
- package/mobile/dist/components/ProductBlock/ProductBlock.js.map +1 -1
- package/mobile/dist/components/ProductTile/ProductTile.js +1 -1
- package/mobile/dist/components/ProductTile/ProductTile.js.map +1 -1
- package/mobile/dist/components/PromoTile/PromoTile.js +1 -1
- package/mobile/dist/components/PromoTile/PromoTile.js.map +1 -1
- package/mobile/dist/components/RollupItem/RollupItem.js +1 -1
- package/mobile/dist/components/RollupItem/RollupItem.js.map +1 -1
- package/mobile/dist/components/SafeDepositRental/RenderRadioButtons.js +1 -1
- package/mobile/dist/components/SafeDepositRental/RenderRadioButtons.js.map +1 -1
- package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js +1 -1
- package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTotal.js +1 -1
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
- package/mobile/dist/components/StepsBlock/StepsBlock.js +3 -3
- package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -1
- package/mobile/dist/components/StepsBlock/renderStep.js +2 -2
- package/mobile/dist/components/StepsBlock/renderStep.js.map +1 -1
- package/mobile/dist/components/Tabs/renderGroupTab.js +1 -1
- package/mobile/dist/components/Tabs/renderGroupTab.js.map +1 -1
- package/mobile/dist/components/TariffsTable/EmbeddableCellData.js +1 -1
- package/mobile/dist/components/TariffsTable/EmbeddableCellData.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/TariffsTable.js +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTable.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableRenderCell.js +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableRenderCell.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/TariffsTable/TariffsTableTileCell.js +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
- package/mobile/dist/components/Tile/Tile.js +1 -1
- package/mobile/dist/components/Tile/Tile.js.map +1 -1
- package/mobile/dist/components/VerticalLayout/VerticalLayout.js +1 -1
- package/mobile/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
- package/mobile/dist/content-page-repository/transformDocument.js +3 -0
- package/mobile/dist/content-page-repository/transformDocument.js.map +1 -1
- package/mobile/dist/content-page-repository/transformImg.js +1 -1
- package/mobile/dist/content-page-repository/transformImg.js.map +1 -1
- package/mobile/dist/model/Attachment.d.ts +2 -0
- package/mobile/dist/model/ContentPageDef.d.ts +0 -2
- package/mobile/dist/model/JSXBlock.d.ts +2 -2
- package/mobile/dist/ui-kit/BaseFiltration/BaseFiltrationInner.js +1 -1
- package/mobile/dist/ui-kit/BaseFiltration/BaseFiltrationInner.js.map +1 -1
- package/mobile/dist/ui-kit/BaseProductTile/BaseProductTile.js +1 -1
- package/mobile/dist/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
- package/mobile/dist/ui-kit/BaseTile/BaseTile.js +1 -1
- package/mobile/dist/ui-kit/BaseTile/BaseTile.js.map +1 -1
- package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js +1 -1
- package/mobile/dist/ui-kit/BlockWrapper.js +1 -1
- package/mobile/dist/ui-kit/BlockWrapper.js.map +1 -1
- package/mobile/dist/ui-kit/Button/ButtonInner.js +1 -1
- package/mobile/dist/ui-kit/Button/renderButtonsSection.js +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/InnerTableBodyItem.js +3 -3
- package/mobile/dist/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
- package/mobile/dist/ui-kit/InnerTable/InnerTableButton.js +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/Input/Input.js +1 -1
- package/mobile/dist/ui-kit/Input/Input.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 +2 -2
- package/mobile/dist/ui-kit/List/List.js +4 -4
- package/mobile/dist/ui-kit/List/List.js.map +1 -1
- package/mobile/dist/ui-kit/List/ListItem.js +3 -3
- package/mobile/dist/ui-kit/List/ListItem.js.map +1 -1
- package/mobile/dist/ui-kit/LocationDialog/LocationDialog.js +3 -3
- package/mobile/dist/ui-kit/LocationDialog/LocationDialog.js.map +1 -1
- package/mobile/dist/ui-kit/Logo/renderTitle.js +1 -1
- package/mobile/dist/ui-kit/Logo/renderTitle.js.map +1 -1
- package/mobile/dist/ui-kit/RichText/RichTextProps.d.ts +7 -6
- package/mobile/dist/ui-kit/SearchDialog/SearchInput.js +1 -1
- package/mobile/dist/ui-kit/Select/Select.js +1 -1
- package/mobile/dist/ui-kit/Select/Select.js.map +1 -1
- package/mobile/dist/ui-kit/YandexMap/renderSearchField.js +1 -1
- package/mobile/dist/ui-kit/YandexMap/renderSearchField.js.map +1 -1
- package/mobile/dist/utils/formatBytes.d.ts +1 -0
- package/mobile/dist/utils/formatBytes.js +13 -0
- package/mobile/dist/utils/formatBytes.js.map +1 -0
- package/mobile/fonts/mohave/Mohave-Regular.otf +0 -0
- package/mobile/fonts/mohave/Mohave-Regular.ttf +0 -0
- package/mobile/fonts/mohave/mohave.css +7 -0
- package/mobile/fonts/ubuntu/ubuntu.css +67 -0
- package/mobile/fonts/ubuntu/ubuntu.eot +0 -0
- package/mobile/fonts/ubuntu/ubuntu.ttf +0 -0
- package/mobile/fonts/ubuntu/ubuntu.woff +0 -0
- package/mobile/fonts/ubuntu/ubuntu.woff2 +0 -0
- package/mobile/fonts/ubuntu/ubuntubold.ttf +0 -0
- package/mobile/fonts/ubuntu/ubuntubold.woff +0 -0
- package/mobile/fonts/ubuntu/ubuntubold.woff2 +0 -0
- package/mobile/fonts/ubuntu/ubuntubolditalic.ttf +0 -0
- package/mobile/fonts/ubuntu/ubuntubolditalic.woff +0 -0
- package/mobile/fonts/ubuntu/ubuntubolditalic.woff2 +0 -0
- package/mobile/fonts/ubuntu/ubuntuitalic.ttf +0 -0
- package/mobile/fonts/ubuntu/ubuntuitalic.woff +0 -0
- package/mobile/fonts/ubuntu/ubuntuitalic.woff2 +0 -0
- package/mobile/fonts/ubuntu/ubuntulight.ttf +0 -0
- package/mobile/fonts/ubuntu/ubuntulight.woff +0 -0
- package/mobile/fonts/ubuntu/ubuntulight.woff2 +0 -0
- package/mobile/fonts/ubuntu/ubuntulightitalic.ttf +0 -0
- package/mobile/fonts/ubuntu/ubuntulightitalic.woff +0 -0
- package/mobile/fonts/ubuntu/ubuntulightitalic.woff2 +0 -0
- package/mobile/fonts/ubuntu/ubuntumedium.ttf +0 -0
- package/mobile/fonts/ubuntu/ubuntumedium.woff +0 -0
- package/mobile/fonts/ubuntu/ubuntumedium.woff2 +0 -0
- package/mobile/fonts/ubuntu/ubuntumediumitalic.ttf +0 -0
- package/mobile/fonts/ubuntu/ubuntumediumitalic.woff +0 -0
- package/mobile/fonts/ubuntu/ubuntumediumitalic.woff2 +0 -0
- package/mobile/lib/common.css +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationForm.js +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationForm.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormWed.js +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormWed.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/renderWedDataOrganization.js +1 -1
- package/mobile/lib/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
- package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js +4 -4
- package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/mobile/lib/components/BenefitsBlock/benefitImageStyles.d.ts +1 -0
- package/mobile/lib/components/BenefitsBlock/benefitImageStyles.js +2 -0
- package/mobile/lib/components/BenefitsBlock/benefitImageStyles.js.map +1 -0
- package/mobile/lib/components/Bonus/Bonus.js +2 -2
- package/mobile/lib/components/Bonus/Bonus.js.map +1 -1
- package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -2
- package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/mobile/lib/components/BusinessBlock/BusinessBlock.js +1 -1
- package/mobile/lib/components/BusinessBlock/BusinessBlock.js.map +1 -1
- package/mobile/lib/components/BusinessBlock/BusinessCard.js +2 -2
- package/mobile/lib/components/BusinessBlock/BusinessCard.js.map +1 -1
- package/mobile/lib/components/Calculator/BonusCalculatorForm.js +2 -2
- package/mobile/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
- package/mobile/lib/components/Calculator/BusinessDepositCalculatorForm.js +2 -2
- package/mobile/lib/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
- package/mobile/lib/components/Calculator/Calculator.js +5 -5
- package/mobile/lib/components/Calculator/Calculator.js.map +1 -1
- package/mobile/lib/components/Calculator/CalculatorContent.d.ts +20 -1
- package/mobile/lib/components/Calculator/CreditCalculatorForm.js +2 -2
- package/mobile/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/mobile/lib/components/Calculator/DepositCalculatorForm.js +3 -3
- package/mobile/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
- package/mobile/lib/components/Calculator/EmbeddableCalcBlocks.d.ts +3 -1
- package/mobile/lib/components/Calculator/EmbeddableCalcBlocks.js +2 -0
- package/mobile/lib/components/Calculator/EmbeddableCalcBlocks.js.map +1 -1
- package/mobile/lib/components/Calculator/RefinancingCalculatorForm.d.ts +5 -0
- package/mobile/lib/components/Calculator/RefinancingCalculatorForm.js +61 -0
- package/mobile/lib/components/Calculator/RefinancingCalculatorForm.js.map +1 -0
- package/mobile/lib/components/Calculator/UnknownRate.js +1 -1
- package/mobile/lib/components/Calculator/UnknownRate.js.map +1 -1
- package/mobile/lib/components/Calculator/checkRefinancingSourceBookRowCommonParams.d.ts +9 -0
- package/mobile/lib/components/Calculator/checkRefinancingSourceBookRowCommonParams.js +20 -0
- package/mobile/lib/components/Calculator/checkRefinancingSourceBookRowCommonParams.js.map +1 -0
- package/mobile/lib/components/Calculator/constants.d.ts +12 -0
- package/mobile/lib/components/Calculator/constants.js +24 -0
- package/mobile/lib/components/Calculator/constants.js.map +1 -1
- package/mobile/lib/components/Calculator/getMonthlyPayment.d.ts +8 -2
- package/mobile/lib/components/Calculator/getMonthlyPayment.js +7 -2
- package/mobile/lib/components/Calculator/getMonthlyPayment.js.map +1 -1
- package/mobile/lib/components/Calculator/getRefinancingCalculatorLimitParams.d.ts +9 -0
- package/mobile/lib/components/Calculator/getRefinancingCalculatorLimitParams.js +7 -0
- package/mobile/lib/components/Calculator/getRefinancingCalculatorLimitParams.js.map +1 -0
- package/mobile/lib/components/Calculator/getRefinancingCalculatorRateParams.d.ts +13 -0
- package/mobile/lib/components/Calculator/getRefinancingCalculatorRateParams.js +13 -0
- package/mobile/lib/components/Calculator/getRefinancingCalculatorRateParams.js.map +1 -0
- package/mobile/lib/components/Calculator/rangeHelpers.js +7 -3
- package/mobile/lib/components/Calculator/rangeHelpers.js.map +1 -1
- package/mobile/lib/components/Calculator/useRefinancingCalculatorParams.d.ts +43 -0
- package/mobile/lib/components/Calculator/useRefinancingCalculatorParams.js +54 -0
- package/mobile/lib/components/Calculator/useRefinancingCalculatorParams.js.map +1 -0
- package/mobile/lib/components/CardTransfer/CardTransfer.js +1 -1
- package/mobile/lib/components/CardTransfer/CardTransfer.js.map +1 -1
- package/mobile/lib/components/Carousel/Carousel.js +1 -1
- package/mobile/lib/components/Carousel/Carousel.js.map +1 -1
- package/mobile/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +1 -1
- package/mobile/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
- package/mobile/lib/components/CarouselCard/CarouselCard.js +2 -2
- package/mobile/lib/components/CarouselCard/CarouselCard.js.map +1 -1
- package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +2 -3
- package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
- package/mobile/lib/components/CarouselEventCard/CarouselEventCard.js +1 -1
- package/mobile/lib/components/CarouselEventCard/CarouselEventCard.js.map +1 -1
- package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js +1 -1
- package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.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/CarouselProductCard/CarouselProductCard.js +10 -9
- package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
- package/mobile/lib/components/CarouselProductCard/CarouselProductCardContent.d.ts +6 -4
- package/mobile/lib/components/CarouselProductCard/alignTextStyle.d.ts +1 -0
- package/mobile/lib/components/CarouselProductCard/alignTextStyle.js +2 -0
- package/mobile/lib/components/CarouselProductCard/alignTextStyle.js.map +1 -0
- package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js +2 -2
- package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
- package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -1
- package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/mobile/lib/components/CarouselTariffsCard/getPaddingStyle.js +1 -1
- package/mobile/lib/components/CarouselTariffsCard/getPaddingStyle.js.map +1 -1
- package/mobile/lib/components/ComparisonTable/HeaderCell.js +2 -2
- package/mobile/lib/components/ComparisonTable/HeaderCell.js.map +1 -1
- package/mobile/lib/components/ComparisonTable/TableColumn.js +2 -2
- package/mobile/lib/components/ComparisonTable/TableColumn.js.map +1 -1
- package/mobile/lib/components/ContactsBlock/ContactsBlock.js +2 -2
- package/mobile/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
- package/mobile/lib/components/ContentPage/ContentPage.js +1 -1
- package/mobile/lib/components/ContentPage/ContentPage.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/renderCurrencies.js +3 -3
- package/mobile/lib/components/ExchangeRateOffice/renderCurrencies.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 +2 -2
- package/mobile/lib/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
- package/mobile/lib/components/ExchangeRateTile/CurrentLocation.js +1 -1
- package/mobile/lib/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
- package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
- package/mobile/lib/components/Footer/Contacts.js +4 -3
- package/mobile/lib/components/Footer/Contacts.js.map +1 -1
- package/mobile/lib/components/Footer/Footer.js +1 -1
- package/mobile/lib/components/Footer/Footer.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/Header.js +1 -1
- package/mobile/lib/components/Header/Header.js.map +1 -1
- package/mobile/lib/components/Header/HeaderBurger.js +1 -1
- package/mobile/lib/components/Header/HeaderSubMenu.js +1 -1
- package/mobile/lib/components/Header/HeaderSubMenu.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/headlineVersionStyles.js +4 -4
- package/mobile/lib/components/Headline/headlineVersionStyles.js.map +1 -1
- package/mobile/lib/components/HorizontalLayout/HorizontalLayout.js +1 -1
- package/mobile/lib/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
- package/mobile/lib/components/HorizontalLayout/gapStyles.js +6 -6
- package/mobile/lib/components/HorizontalLayout/gapStyles.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/InsuranceAmountBlock/InsuranceAmountBlockInner.js +1 -1
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js +7 -9
- package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocs.js +6 -2
- package/mobile/lib/components/LinkDocs/LinkDocs.js.map +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocsContent.d.ts +0 -2
- package/mobile/lib/components/MobileAppTile/MobileAppTile.js +2 -2
- package/mobile/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/mobile/lib/components/MobileAppTile/renderDescription.js +1 -1
- 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/PictureText/PictureText.js +1 -1
- package/mobile/lib/components/PictureText/PictureText.js.map +1 -1
- package/mobile/lib/components/PictureText/renderInsuranceSumMonth.js +1 -1
- package/mobile/lib/components/PictureText/renderInsuranceSumMonth.js.map +1 -1
- package/mobile/lib/components/Placeholder/Placeholder.js +2 -2
- package/mobile/lib/components/Placeholder/Placeholder.js.map +1 -1
- package/mobile/lib/components/ProductBlock/ProductBlock.js +1 -1
- package/mobile/lib/components/ProductBlock/ProductBlock.js.map +1 -1
- package/mobile/lib/components/ProductTile/ProductTile.js +1 -1
- package/mobile/lib/components/ProductTile/ProductTile.js.map +1 -1
- package/mobile/lib/components/PromoTile/PromoTile.js +1 -1
- package/mobile/lib/components/PromoTile/PromoTile.js.map +1 -1
- package/mobile/lib/components/RollupItem/RollupItem.js +1 -1
- package/mobile/lib/components/RollupItem/RollupItem.js.map +1 -1
- package/mobile/lib/components/SafeDepositRental/RenderRadioButtons.js +1 -1
- package/mobile/lib/components/SafeDepositRental/RenderRadioButtons.js.map +1 -1
- package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js +1 -1
- package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTotal.js +1 -1
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
- package/mobile/lib/components/StepsBlock/StepsBlock.js +3 -3
- package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -1
- package/mobile/lib/components/StepsBlock/renderStep.js +2 -2
- package/mobile/lib/components/StepsBlock/renderStep.js.map +1 -1
- package/mobile/lib/components/Tabs/renderGroupTab.js +1 -1
- package/mobile/lib/components/Tabs/renderGroupTab.js.map +1 -1
- package/mobile/lib/components/TariffsTable/EmbeddableCellData.js +1 -1
- package/mobile/lib/components/TariffsTable/EmbeddableCellData.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/TariffsTable.js +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTable.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableRenderCell.js +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableRenderCell.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/TariffsTable/TariffsTableTileCell.js +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
- package/mobile/lib/components/Tile/Tile.js +1 -1
- package/mobile/lib/components/Tile/Tile.js.map +1 -1
- package/mobile/lib/components/VerticalLayout/VerticalLayout.js +1 -1
- package/mobile/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
- package/mobile/lib/content-page-repository/transformDocument.js +3 -0
- package/mobile/lib/content-page-repository/transformDocument.js.map +1 -1
- package/mobile/lib/content-page-repository/transformImg.js +1 -1
- package/mobile/lib/content-page-repository/transformImg.js.map +1 -1
- package/mobile/lib/model/Attachment.d.ts +2 -0
- package/mobile/lib/model/ContentPageDef.d.ts +0 -2
- package/mobile/lib/model/JSXBlock.d.ts +2 -2
- package/mobile/lib/ui-kit/BaseFiltration/BaseFiltrationInner.js +1 -1
- package/mobile/lib/ui-kit/BaseFiltration/BaseFiltrationInner.js.map +1 -1
- package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.js +1 -1
- package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
- package/mobile/lib/ui-kit/BaseTile/BaseTile.js +1 -1
- package/mobile/lib/ui-kit/BaseTile/BaseTile.js.map +1 -1
- package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js +1 -1
- package/mobile/lib/ui-kit/BlockWrapper.js +1 -1
- package/mobile/lib/ui-kit/BlockWrapper.js.map +1 -1
- package/mobile/lib/ui-kit/Button/ButtonInner.js +1 -1
- package/mobile/lib/ui-kit/Button/renderButtonsSection.js +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/InnerTableBodyItem.js +3 -3
- package/mobile/lib/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
- package/mobile/lib/ui-kit/InnerTable/InnerTableButton.js +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/Input/Input.js +1 -1
- package/mobile/lib/ui-kit/Input/Input.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 +2 -2
- package/mobile/lib/ui-kit/List/List.js +4 -4
- package/mobile/lib/ui-kit/List/List.js.map +1 -1
- package/mobile/lib/ui-kit/List/ListItem.js +3 -3
- package/mobile/lib/ui-kit/List/ListItem.js.map +1 -1
- package/mobile/lib/ui-kit/LocationDialog/LocationDialog.js +3 -3
- package/mobile/lib/ui-kit/LocationDialog/LocationDialog.js.map +1 -1
- package/mobile/lib/ui-kit/Logo/renderTitle.js +1 -1
- package/mobile/lib/ui-kit/Logo/renderTitle.js.map +1 -1
- package/mobile/lib/ui-kit/RichText/RichTextProps.d.ts +7 -6
- package/mobile/lib/ui-kit/SearchDialog/SearchInput.js +1 -1
- package/mobile/lib/ui-kit/Select/Select.js +1 -1
- package/mobile/lib/ui-kit/Select/Select.js.map +1 -1
- package/mobile/lib/ui-kit/YandexMap/renderSearchField.js +1 -1
- package/mobile/lib/ui-kit/YandexMap/renderSearchField.js.map +1 -1
- package/mobile/lib/utils/formatBytes.d.ts +1 -0
- package/mobile/lib/utils/formatBytes.js +10 -0
- package/mobile/lib/utils/formatBytes.js.map +1 -0
- package/mobile/src/components/ApplicationForm/ApplicationForm.tsx +1 -1
- package/mobile/src/components/ApplicationForm/ApplicationFormWed.tsx +4 -4
- package/mobile/src/components/ApplicationForm/ResponseNotification.tsx +3 -3
- package/mobile/src/components/ApplicationForm/renderWedDataOrganization.tsx +6 -6
- package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +5 -5
- package/mobile/src/components/BenefitsBlock/benefitImageStyles.tsx +1 -0
- package/mobile/src/components/Bonus/Bonus.tsx +2 -2
- package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +2 -3
- package/mobile/src/components/BusinessBlock/BusinessBlock.tsx +2 -2
- package/mobile/src/components/BusinessBlock/BusinessCard.tsx +9 -7
- package/mobile/src/components/Calculator/BonusCalculatorForm.tsx +2 -2
- package/mobile/src/components/Calculator/BusinessDepositCalculatorForm.tsx +2 -2
- package/mobile/src/components/Calculator/Calculator.tsx +7 -7
- package/mobile/src/components/Calculator/CalculatorContent.ts +25 -1
- package/mobile/src/components/Calculator/CreditCalculatorForm.tsx +4 -4
- package/mobile/src/components/Calculator/DepositCalculatorForm.tsx +5 -5
- package/mobile/src/components/Calculator/EmbeddableCalcBlocks.tsx +4 -1
- package/mobile/src/components/Calculator/RefinancingCalculatorForm.tsx +147 -0
- package/mobile/src/components/Calculator/UnknownRate.tsx +2 -2
- package/mobile/src/components/Calculator/checkRefinancingSourceBookRowCommonParams.ts +45 -0
- package/mobile/src/components/Calculator/constants.ts +26 -0
- package/mobile/src/components/Calculator/getMonthlyPayment.ts +14 -4
- package/mobile/src/components/Calculator/getRefinancingCalculatorLimitParams.ts +25 -0
- package/mobile/src/components/Calculator/getRefinancingCalculatorRateParams.ts +40 -0
- package/mobile/src/components/Calculator/rangeHelpers.ts +7 -3
- package/mobile/src/components/Calculator/useRefinancingCalculatorParams.ts +136 -0
- package/mobile/src/components/CardTransfer/CardTransfer.tsx +1 -1
- package/mobile/src/components/Carousel/Carousel.tsx +1 -1
- package/mobile/src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.tsx +1 -1
- package/mobile/src/components/CarouselCard/CarouselCard.tsx +2 -2
- package/mobile/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +13 -17
- package/mobile/src/components/CarouselEventCard/CarouselEventCard.tsx +1 -1
- package/mobile/src/components/CarouselInvestmentCard/CarouselInvestmentCard.tsx +2 -2
- package/mobile/src/components/CarouselLinks/CarouselLinks.tsx +2 -2
- package/mobile/src/components/CarouselProductCard/CarouselProductCard.tsx +36 -32
- package/mobile/src/components/CarouselProductCard/CarouselProductCardContent.ts +6 -4
- package/mobile/src/components/CarouselProductCard/alignTextStyle.tsx +1 -0
- package/mobile/src/components/CarouselProgramsCard/CarouselProgramsCard.tsx +5 -5
- package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +2 -2
- package/mobile/src/components/CarouselTariffsCard/getPaddingStyle.tsx +1 -1
- package/mobile/src/components/ComparisonTable/HeaderCell.tsx +4 -9
- package/mobile/src/components/ComparisonTable/TableColumn.tsx +2 -2
- package/mobile/src/components/ContactsBlock/ContactsBlock.tsx +4 -4
- package/mobile/src/components/ContentPage/ContentPage.tsx +1 -1
- package/mobile/src/components/ExchangeRateOffice/ExchangeRateOffice.tsx +5 -5
- package/mobile/src/components/ExchangeRateOffice/renderCurrencies.tsx +3 -3
- package/mobile/src/components/ExchangeRateOffice/renderTableHeader.tsx +1 -1
- package/mobile/src/components/ExchangeRateTile/CurrencyTable.tsx +6 -6
- package/mobile/src/components/ExchangeRateTile/CurrentLocation.tsx +4 -4
- package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.tsx +1 -1
- package/mobile/src/components/Footer/Contacts.tsx +7 -6
- package/mobile/src/components/Footer/Footer.tsx +1 -1
- package/mobile/src/components/GracePeriod/GracePeriod.tsx +1 -1
- package/mobile/src/components/Header/Header.tsx +1 -1
- package/mobile/src/components/Header/HeaderBurger.tsx +1 -1
- package/mobile/src/components/Header/HeaderSubMenu.tsx +3 -3
- package/mobile/src/components/Headline/Headline.tsx +1 -1
- package/mobile/src/components/Headline/headlineVersionStyles.ts +4 -4
- package/mobile/src/components/HorizontalLayout/HorizontalLayout.tsx +1 -1
- package/mobile/src/components/HorizontalLayout/gapStyles.ts +6 -6
- package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +4 -4
- package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +2 -2
- package/mobile/src/components/InvestmentInfo/InvestmentInfo.tsx +10 -19
- package/mobile/src/components/LinkDocs/LinkDocs.tsx +8 -1
- package/mobile/src/components/LinkDocs/LinkDocs.ui.json +3 -0
- package/mobile/src/components/LinkDocs/LinkDocsContent.ts +0 -2
- package/mobile/src/components/MobileAppTile/MobileAppTile.tsx +5 -5
- package/mobile/src/components/MobileAppTile/renderDescription.tsx +1 -1
- package/mobile/src/components/MobileAppTile/renderList.tsx +1 -1
- package/mobile/src/components/OfficeMap/OfficeMap.tsx +1 -1
- package/mobile/src/components/PictureText/PictureText.tsx +1 -1
- package/mobile/src/components/PictureText/PictureText.ui.json +3 -0
- package/mobile/src/components/PictureText/renderInsuranceSumMonth.tsx +1 -1
- package/mobile/src/components/Placeholder/Placeholder.tsx +2 -2
- package/mobile/src/components/ProductBlock/ProductBlock.tsx +2 -2
- package/mobile/src/components/ProductBlock/ProductBlock.ui.json +10 -0
- package/mobile/src/components/ProductTile/ProductTile.tsx +1 -1
- package/mobile/src/components/ProductTile/ProductTile.ui.json +3 -0
- package/mobile/src/components/PromoTile/PromoTile.tsx +1 -1
- package/mobile/src/components/RollupItem/RollupItem.tsx +2 -2
- package/mobile/src/components/SafeDepositRental/RenderRadioButtons.tsx +1 -1
- package/mobile/src/components/SafeDepositRental/SafeDepositRental.tsx +2 -2
- package/mobile/src/components/SafeDepositRental/SafeDepositRentalTotal.tsx +1 -1
- package/mobile/src/components/StepsBlock/StepsBlock.tsx +5 -5
- package/mobile/src/components/StepsBlock/renderStep.tsx +7 -7
- package/mobile/src/components/Tabs/renderGroupTab.tsx +1 -1
- package/mobile/src/components/TariffsTable/EmbeddableCellData.tsx +1 -1
- package/mobile/src/components/TariffsTable/TableTileHeader.tsx +1 -1
- package/mobile/src/components/TariffsTable/TariffsTable.tsx +1 -2
- package/mobile/src/components/TariffsTable/TariffsTableRenderCell.tsx +1 -1
- package/mobile/src/components/TariffsTable/TariffsTableRow.tsx +2 -2
- package/mobile/src/components/TariffsTable/TariffsTableTileCell.tsx +1 -1
- package/mobile/src/components/Tile/Tile.tsx +1 -1
- package/mobile/src/components/Tile/Tile.ui.json +10 -0
- package/mobile/src/components/VerticalLayout/VerticalLayout.tsx +1 -1
- package/mobile/src/content-page-repository/transformDocument.ts +3 -0
- package/mobile/src/content-page-repository/transformImg.ts +1 -1
- package/mobile/src/model/Attachment.ts +2 -0
- package/mobile/src/model/ContentPageDef.ts +1 -4
- package/mobile/src/model/JSXBlock.ts +2 -2
- package/mobile/src/ui-kit/BaseFiltration/BaseFiltrationInner.tsx +1 -1
- package/mobile/src/ui-kit/BaseProductTile/BaseProductTile.tsx +1 -1
- package/mobile/src/ui-kit/BaseTile/BaseTile.tsx +3 -3
- package/mobile/src/ui-kit/BenefitItem/BenefitItem.tsx +1 -1
- package/mobile/src/ui-kit/BlockWrapper.tsx +1 -1
- package/mobile/src/ui-kit/Button/ButtonInner.tsx +1 -1
- package/mobile/src/ui-kit/Button/renderButtonsSection.tsx +1 -1
- package/mobile/src/ui-kit/Dialog/Dialog.tsx +3 -3
- package/mobile/src/ui-kit/InnerTable/InnerTableBodyItem.tsx +4 -6
- package/mobile/src/ui-kit/InnerTable/InnerTableButton.tsx +1 -1
- package/mobile/src/ui-kit/InnerTable/InnerTableHeader.tsx +4 -4
- package/mobile/src/ui-kit/Input/Input.tsx +1 -1
- package/mobile/src/ui-kit/InputRange/InputRange.tsx +1 -1
- package/mobile/src/ui-kit/LinkButton/LinkButton.tsx +2 -2
- package/mobile/src/ui-kit/List/List.tsx +4 -4
- package/mobile/src/ui-kit/List/ListItem.tsx +3 -3
- package/mobile/src/ui-kit/LocationDialog/LocationDialog.tsx +5 -5
- package/mobile/src/ui-kit/Logo/renderTitle.tsx +1 -1
- package/mobile/src/ui-kit/RichText/RichTextProps.ts +8 -6
- package/mobile/src/ui-kit/SearchDialog/SearchInput.tsx +1 -1
- package/mobile/src/ui-kit/Select/Select.tsx +1 -1
- package/mobile/src/ui-kit/YandexMap/renderSearchField.tsx +2 -1
- package/mobile/src/utils/formatBytes.ts +12 -0
- package/package.json +5 -3
- package/src/components/ApplicationForm/ApplicationForm.tsx +1 -1
- package/src/components/ApplicationForm/ApplicationFormWed.tsx +4 -4
- package/src/components/ApplicationForm/ResponseNotification.tsx +3 -3
- package/src/components/ApplicationForm/renderWedDataOrganization.tsx +6 -6
- package/src/components/BenefitsBlock/BenefitsBlock.fixture.tsx +0 -1
- package/src/components/BenefitsBlock/BenefitsBlock.tsx +5 -5
- package/src/components/BenefitsBlock/benefitImageStyles.mobile.tsx +1 -0
- package/src/components/BenefitsBlock/benefitImageStyles.tsx +1 -0
- package/src/components/Bonus/Bonus.tsx +2 -2
- package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +2 -3
- package/src/components/BusinessBlock/BusinessBlock.tsx +2 -2
- package/src/components/BusinessBlock/BusinessCard.tsx +9 -7
- package/src/components/Calculator/BonusCalculatorForm.tsx +2 -2
- package/src/components/Calculator/BusinessDepositCalculatorForm.tsx +2 -2
- package/src/components/Calculator/Calculator.fixture.tsx +40 -0
- package/src/components/Calculator/Calculator.tsx +7 -7
- package/src/components/Calculator/CalculatorContent.ts +25 -1
- package/src/components/Calculator/CreditCalculatorForm.tsx +4 -4
- package/src/components/Calculator/DepositCalculatorForm.tsx +5 -5
- package/src/components/Calculator/EmbeddableCalcBlocks.tsx +4 -1
- package/src/components/Calculator/RefinancingCalculatorForm.tsx +147 -0
- package/src/components/Calculator/UnknownRate.tsx +2 -2
- package/src/components/Calculator/checkRefinancingSourceBookRowCommonParams.ts +45 -0
- package/src/components/Calculator/constants.ts +26 -0
- package/src/components/Calculator/getMonthlyPayment.ts +14 -4
- package/src/components/Calculator/getRefinancingCalculatorLimitParams.ts +25 -0
- package/src/components/Calculator/getRefinancingCalculatorRateParams.ts +40 -0
- package/src/components/Calculator/rangeHelpers.ts +7 -3
- package/src/components/Calculator/useRefinancingCalculatorParams.ts +136 -0
- package/src/components/CardTransfer/CardTransfer.tsx +1 -1
- package/src/components/Carousel/Carousel.tsx +1 -1
- package/src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.mobile.tsx +1 -1
- package/src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.tsx +1 -1
- package/src/components/CarouselCard/CarouselCard.tsx +2 -2
- package/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +13 -17
- package/src/components/CarouselEventCard/CarouselEventCard.tsx +1 -1
- package/src/components/CarouselInvestmentCard/CarouselInvestmentCard.tsx +2 -2
- package/src/components/CarouselLinks/CarouselLinks.tsx +2 -2
- package/src/components/CarouselProductCard/CarouselProductCard.fixture.tsx +2 -2
- package/src/components/CarouselProductCard/CarouselProductCard.tsx +36 -32
- package/src/components/CarouselProductCard/CarouselProductCardContent.ts +6 -4
- package/src/components/CarouselProductCard/alignTextStyle.mobile.tsx +1 -0
- package/src/components/CarouselProductCard/alignTextStyle.tsx +1 -0
- package/src/components/CarouselProgramsCard/CarouselProgramsCard.tsx +5 -5
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.tsx +2 -2
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +1 -1
- package/src/components/CarouselTariffsCard/getPaddingStyle.mobile.tsx +1 -1
- package/src/components/ComparisonTable/ComparisonTable.tsx +1 -1
- package/src/components/ComparisonTable/HeaderCell.mobile.tsx +4 -9
- package/src/components/ComparisonTable/TableCell.tsx +1 -1
- package/src/components/ComparisonTable/TableColumn.tsx +2 -2
- package/src/components/ContactsBlock/ContactsBlock.tsx +4 -4
- package/src/components/ContentPage/ContentPage.tsx +1 -1
- package/src/components/ExchangeRateOffice/ExchangeRateOffice.tsx +5 -5
- package/src/components/ExchangeRateOffice/renderCurrencies.tsx +3 -3
- package/src/components/ExchangeRateOffice/renderTableHeader.tsx +1 -1
- package/src/components/ExchangeRateTile/CurrencyTable.tsx +6 -6
- package/src/components/ExchangeRateTile/CurrentLocation.tsx +4 -4
- package/src/components/ExchangeRateTile/ExchangeRateTile.tsx +1 -1
- package/src/components/Footer/Contacts.tsx +7 -6
- package/src/components/Footer/Footer.mobile.tsx +1 -1
- package/src/components/Footer/Footer.tsx +7 -7
- package/src/components/GracePeriod/GracePeriod.tsx +1 -1
- package/src/components/Header/Header.mobile.tsx +1 -1
- package/src/components/Header/Header.tsx +4 -4
- package/src/components/Header/HeaderBurger.tsx +1 -1
- package/src/components/Header/HeaderSubMenu.tsx +3 -3
- package/src/components/Headline/Headline.tsx +1 -1
- package/src/components/Headline/headlineVersionStyles.ts +4 -4
- package/src/components/HorizontalLayout/HorizontalLayout.tsx +1 -1
- package/src/components/HorizontalLayout/gapStyles.ts +6 -6
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +4 -4
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +2 -2
- package/src/components/InvestmentInfo/InvestmentInfo.tsx +10 -19
- package/src/components/LinkDocs/LinkDocs.tsx +8 -1
- package/src/components/LinkDocs/LinkDocs.ui.json +3 -0
- package/src/components/LinkDocs/LinkDocsContent.ts +0 -2
- package/src/components/MobileAppTile/MobileAppTile.fixture.tsx +3 -0
- package/src/components/MobileAppTile/MobileAppTile.tsx +5 -5
- package/src/components/MobileAppTile/renderDescription.tsx +1 -1
- package/src/components/MobileAppTile/renderList.tsx +1 -1
- package/src/components/OfficeMap/OfficeMap.tsx +1 -1
- package/src/components/PictureText/PictureText.tsx +1 -1
- package/src/components/PictureText/PictureText.ui.json +3 -0
- package/src/components/PictureText/renderInsuranceSumMonth.tsx +1 -1
- package/src/components/Placeholder/Placeholder.tsx +2 -2
- package/src/components/ProductBlock/ProductBlock.tsx +2 -2
- package/src/components/ProductBlock/ProductBlock.ui.json +10 -0
- package/src/components/ProductGallery/ProductGallery.tsx +2 -2
- package/src/components/ProductTile/ProductTile.tsx +1 -1
- package/src/components/ProductTile/ProductTile.ui.json +3 -0
- package/src/components/PromoTile/PromoTile.tsx +1 -1
- package/src/components/RollupItem/RollupItem.tsx +2 -2
- package/src/components/SafeDepositRental/RenderRadioButtons.tsx +1 -1
- package/src/components/SafeDepositRental/SafeDepositRental.tsx +2 -2
- package/src/components/SafeDepositRental/SafeDepositRentalTotal.tsx +1 -1
- package/src/components/StepsBlock/StepsBlock.mobile.tsx +5 -5
- package/src/components/StepsBlock/StepsBlock.tsx +20 -20
- package/src/components/StepsBlock/renderStep.tsx +7 -7
- package/src/components/Tabs/renderGroupTab.tsx +1 -1
- package/src/components/TariffsTable/EmbeddableCellData.mobile.tsx +1 -1
- package/src/components/TariffsTable/TableTileHeader.tsx +1 -1
- package/src/components/TariffsTable/TariffsTable.mobile.tsx +1 -2
- package/src/components/TariffsTable/TariffsTable.tsx +4 -19
- package/src/components/TariffsTable/TariffsTableRenderCell.tsx +1 -1
- package/src/components/TariffsTable/TariffsTableRow.tsx +2 -2
- package/src/components/TariffsTable/TariffsTableTileCell.tsx +1 -1
- package/src/components/Tile/Tile.tsx +1 -1
- package/src/components/Tile/Tile.ui.json +10 -0
- package/src/components/VerticalLayout/VerticalLayout.fixture.tsx +1 -1
- package/src/components/VerticalLayout/VerticalLayout.tsx +1 -1
- package/src/content-page-repository/transformDocument.ts +3 -0
- package/src/content-page-repository/transformImg.ts +1 -1
- package/src/model/Attachment.ts +2 -0
- package/src/model/ContentPageDef.ts +1 -4
- package/src/model/JSXBlock.ts +2 -2
- package/src/ui-kit/BaseFiltration/BaseFiltrationInner.tsx +1 -1
- package/src/ui-kit/BaseProductTile/BaseProductTile.tsx +1 -1
- package/src/ui-kit/BaseTile/BaseTile.tsx +3 -3
- package/src/ui-kit/BenefitItem/BenefitItem.tsx +1 -1
- package/src/ui-kit/BlockWrapper.tsx +1 -1
- package/src/ui-kit/Button/ButtonInner.tsx +1 -1
- package/src/ui-kit/Button/renderButtonsSection.tsx +1 -1
- package/src/ui-kit/Dialog/Dialog.tsx +3 -3
- package/src/ui-kit/InnerTable/InnerTableBodyItem.tsx +4 -6
- package/src/ui-kit/InnerTable/InnerTableButton.tsx +1 -1
- package/src/ui-kit/InnerTable/InnerTableHeader.tsx +4 -4
- package/src/ui-kit/Input/Input.tsx +1 -1
- package/src/ui-kit/InputRange/InputRange.tsx +1 -1
- package/src/ui-kit/LinkButton/LinkButton.tsx +2 -2
- package/src/ui-kit/List/List.fixture.tsx +4 -4
- package/src/ui-kit/List/List.tsx +4 -4
- package/src/ui-kit/List/ListItem.tsx +3 -3
- package/src/ui-kit/LocationDialog/LocationDialog.tsx +5 -5
- package/src/ui-kit/Logo/renderTitle.tsx +1 -1
- package/src/ui-kit/NumberInput/NumberInput.fixture.tsx +1 -1
- package/src/ui-kit/RichText/RichText.fixture.tsx +1 -1
- package/src/ui-kit/RichText/RichTextProps.ts +8 -6
- package/src/ui-kit/SearchDialog/SearchInput.tsx +1 -1
- package/src/ui-kit/Select/Select.tsx +1 -1
- package/src/ui-kit/Tags/Tags.fixture.tsx +1 -1
- package/src/ui-kit/YandexMap/renderSearchField.tsx +2 -1
- package/src/utils/formatBytes.ts +12 -0
- package/tailwind.config.cjs +15 -12
|
@@ -33,11 +33,11 @@ const cleanUpRegions = (regions) => regions.map((region) => ({
|
|
|
33
33
|
const CurrentLocation = JSX(({ currentLocation, onChangeLocation }) => currentLocation ? (_jsxs("div", { className: "mb-4", children: [_jsx(Text, { size: "text-l", font: "font-light", children: "\u0421\u0435\u0439\u0447\u0430\u0441 \u0432\u044B\u0431\u0440\u0430\u043D:\u00A0" }), _jsx("button", { className: "cursor-pointer", onClick: () => {
|
|
34
34
|
onChangeLocation && onChangeLocation(currentLocation);
|
|
35
35
|
}, children: _jsx(Text, { color: "text-primary-main", children: currentLocation.name }) })] })) : null);
|
|
36
|
-
const renderRegionGroup = (onChangeLocation) => ([letter, regions]) => (_jsxs("div", { className: "break-inside-avoid mb-
|
|
37
|
-
const renderRegion = (onChangeLocation) => (region) => (_jsx("div", { className: "mb-
|
|
36
|
+
const renderRegionGroup = (onChangeLocation) => ([letter, regions]) => (_jsxs("div", { className: "break-inside-avoid mb-2xl w-[224px]", children: [_jsx("div", { className: "mb-s", children: _jsx(Text, { size: "text-h6", children: letter }) }), regions.map(renderRegion(onChangeLocation))] }, letter));
|
|
37
|
+
const renderRegion = (onChangeLocation) => (region) => (_jsx("div", { className: "mb-2xs", children: _jsx("button", { className: "cursor-pointer hover:text-primary-hover", onClick: () => {
|
|
38
38
|
onChangeLocation && onChangeLocation(region);
|
|
39
39
|
}, children: region.name || '' }) }, region.id));
|
|
40
|
-
const ForeignOffices = JSX(({ foreignOffices }) => foreignOffices?.length ? (_jsxs("div", { className: "border-t border-main-divider mt-
|
|
40
|
+
const ForeignOffices = JSX(({ foreignOffices }) => foreignOffices?.length ? (_jsxs("div", { className: "border-t border-main-divider mt-2xs pt-2xs", children: [_jsx("div", { className: "mb-m", children: _jsx(Text, { size: "text-m", font: "font-light", color: "text-secondary-text", children: "\u041F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u0442\u0435\u043B\u044C\u0441\u0442\u0432\u0430 \u0437\u0430 \u0440\u0443\u0431\u0435\u0436\u043E\u043C:" }) }), _jsx("div", { className: "flex gap-10", children: foreignOffices.map((office, i) => (_jsx(ForeignOffice, { ...office }, String(i)))) })] })) : null);
|
|
41
41
|
const ForeignOffice = JSX(({ icon, ...rest }) => {
|
|
42
42
|
const link = useLink();
|
|
43
43
|
const { text, target, href, onClick } = link(rest);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LocationDialog.js","sourceRoot":"","sources":["../../../src/ui-kit/LocationDialog/LocationDialog.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE9C,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,mBAAmB,EA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AC;AAEF,MAAM,aAAa,GAAG,GAAG,CAAgB,CAAC,EAAE,IAAI,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IAC7D,MAAM,IAAI,GAAG,OAAO,EAAE,CAAC;IACvB,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC;IAEnD,OAAO,CACL,eAAK,SAAS,EAAC,cAAc,aAC1B,IAAI,CAAC,CAAC,CAAC,KAAC,GAAG,IAAC,UAAU,EAAC,kBAAkB,EAAC,KAAK,EAAE,IAAI,GAAI,CAAC,CAAC,CAAC,IAAI,EAChE,IAAI,CAAC,CAAC,CAAC,CACN,YAAG,SAAS,EAAC,0BAA0B,EAAC,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,YACjF,IAAI,GACH,CACL,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -4,6 +4,6 @@ const TEXT_COLOR = {
|
|
|
4
4
|
transparent: 'text-white',
|
|
5
5
|
};
|
|
6
6
|
export const renderTitle = (title, bgColor, className) => {
|
|
7
|
-
return (_jsx("span", { className: `${TEXT_COLOR[bgColor]} ml-
|
|
7
|
+
return (_jsx("span", { className: `${TEXT_COLOR[bgColor]} ml-s font-medium ${className || ''}`, children: title || 'Россельхозбанк' }));
|
|
8
8
|
};
|
|
9
9
|
//# sourceMappingURL=renderTitle.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderTitle.js","sourceRoot":"","sources":["../../../src/ui-kit/Logo/renderTitle.tsx"],"names":[],"mappings":";AAGA,MAAM,UAAU,GAAmC;IACjD,UAAU,EAAE,mBAAmB;IAC/B,WAAW,EAAE,YAAY;CAC1B,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,KAAY,EAAE,OAAe,EAAE,SAAkB,EAAE,EAAE;IAC/E,OAAO,CACL,eAAM,SAAS,EAAE,GAAG,UAAU,CAAC,OAAO,CAAC,
|
|
1
|
+
{"version":3,"file":"renderTitle.js","sourceRoot":"","sources":["../../../src/ui-kit/Logo/renderTitle.tsx"],"names":[],"mappings":";AAGA,MAAM,UAAU,GAAmC;IACjD,UAAU,EAAE,mBAAmB;IAC/B,WAAW,EAAE,YAAY;CAC1B,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,KAAY,EAAE,OAAe,EAAE,SAAkB,EAAE,EAAE;IAC/E,OAAO,CACL,eAAM,SAAS,EAAE,GAAG,UAAU,CAAC,OAAO,CAAC,qBAAqB,SAAS,IAAI,EAAE,EAAE,YAC1E,KAAK,IAAI,gBAAgB,GACrB,CACR,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
declare type HTML = string;
|
|
2
|
+
/**
|
|
3
|
+
* @title Стиль форматированного текста
|
|
4
|
+
* @enumNames ["по умолчанию", "Строки разного цвета", "Горизонтальные разделители"]
|
|
5
|
+
*/
|
|
6
|
+
export declare type RichVersion = '' | 'striped' | 'horizontal-separator';
|
|
2
7
|
export interface RichTextProps {
|
|
3
|
-
/** @title
|
|
8
|
+
/** @title Форматированный текст */
|
|
4
9
|
__html?: HTML;
|
|
5
|
-
|
|
6
|
-
* @title Стиль форматированного текста
|
|
7
|
-
* @enumNames ["по умолчанию", "Строки разного цвета", "Горизонтальные разделители"]
|
|
8
|
-
*/
|
|
9
|
-
richVersion?: '' | 'striped' | 'horizontal-separator';
|
|
10
|
+
richVersion?: RichVersion;
|
|
10
11
|
}
|
|
11
12
|
export {};
|
|
@@ -7,6 +7,6 @@ export const SearchInput = JSX(({ className, value, autoFocus, onChange, onFocus
|
|
|
7
7
|
const handleChange = useCallback((ev) => {
|
|
8
8
|
onChange && onChange(ev.target?.value || '');
|
|
9
9
|
}, [onChange]);
|
|
10
|
-
return (_jsxs("div", { className: style('font-sans relative', className), role: "form", children: [_jsx("div", { className: "absolute h-full flex items-center pl-
|
|
10
|
+
return (_jsxs("div", { className: style('font-sans relative', className), role: "form", children: [_jsx("div", { className: "absolute h-full flex items-center pl-m pointer-events-none", children: _jsx(Img, { image: { icon: 'LoupeIcon' }, width: "24", height: "24" }) }), _jsx("input", { className: style('h-12 pl-12 w-full text-l text-black outline-none box-border', 'border border-solid rounded-md border-gray hover:border-primary-hover active:border-primary-text focus:border-primary-text'), value: value, type: "text", name: "search-bar-input", placeholder: "\u041F\u043E\u0438\u0441\u043A \u043F\u043E \u0441\u0430\u0439\u0442\u0443", autoFocus: autoFocus, onChange: handleChange, onFocus: onFocus })] }));
|
|
11
11
|
});
|
|
12
12
|
//# sourceMappingURL=SearchInput.js.map
|
|
@@ -14,7 +14,7 @@ export const Select = JSX(({ className = '', label, options = [], value, valid =
|
|
|
14
14
|
onChange && onChange(option);
|
|
15
15
|
}, [onChange]);
|
|
16
16
|
const isSelected = (option) => option.key === value?.key;
|
|
17
|
-
return (_jsxs("div", { className: className, ref: wrapperRef, children: [label ? (_jsx("div", { className: "mb-
|
|
17
|
+
return (_jsxs("div", { className: className, ref: wrapperRef, children: [label ? (_jsx("div", { className: "mb-xs", children: _jsx(Text, { size: "text-m", color: "text-primary-text", font: "font-light", children: label }) })) : null, _jsxs("div", { className: style('relative', isOpen ? 'z-20' : 'z-10'), children: [_jsxs("div", { className: style('text-l flex justify-between items-center text-primary-text cursor-pointer', getBorderStyle(isBorder, valid)), onClick: toggle, children: [_jsx("p", { className: "p-4 pr-8 h-14 overflow-hidden text-ellipsis whitespace-nowrap", children: formatOption(value) || placeholder }), _jsx(Icon, { className: style('absolute right-3', isOpen ? '' : 'rotate-180'), name: "ArrowUpIcon", width: "16", height: "16" })] }), options?.length ? (_jsx("div", { className: style('h-0', isOpen ? '' : 'overflow-hidden'), children: _jsx("div", { className: "bg-white text-l max-h-64 overflow-y-auto overflow-x-hidden rounded-md shadow-[0_4px_25px_rgba(0,0,0,0.07)]", children: options.map(renderOption(handleChange, isOpen, isSelected)) }) })) : null] })] }));
|
|
18
18
|
});
|
|
19
19
|
const renderOption = (handleChange, isOpen, isSelected) => (option, i) => (_jsxs("div", { onClick: () => {
|
|
20
20
|
handleChange(option);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Select.js","sourceRoot":"","sources":["../../../src/ui-kit/Select/Select.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAE9D,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAiBpC,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CACvB,CAAC,EACC,SAAS,GAAG,EAAE,EACd,KAAK,EACL,OAAO,GAAG,EAAE,EACZ,KAAK,EACL,KAAK,GAAG,IAAI,EACZ,QAAQ,GAAG,IAAI,EACf,WAAW,GAAG,EAAE,EAChB,QAAQ,GACT,EAAE,EAAE;IACH,MAAM,CAAC,MAAM,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC,GAAG,OAAO,EAAE,CAAC;IACxD,MAAM,UAAU,GAAG,eAAe,CAAiB,KAAK,CAAC,CAAC;IAE1D,MAAM,YAAY,GAAG,WAAW,CAC9B,CAAC,MAAc,EAAE,EAAE;QACjB,KAAK,EAAE,CAAC;QACR,QAAQ,IAAI,QAAQ,CAAC,MAAM,CAAC,CAAC;IAC/B,CAAC,EACD,CAAC,QAAQ,CAAC,CACX,CAAC;IAEF,MAAM,UAAU,GAAG,CAAC,MAAc,EAAE,EAAE,CA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ACf,UAAuC,EACvC,EAAE,CACJ,CAAC,MAAc,EAAE,CAAS,EAAE,EAAE,CAC5B,CACE,eAEE,OAAO,EAAE,GAAG,EAAE;QACZ,YAAY,CAAC,MAAM,CAAC,CAAC;IACvB,CAAC,EACD,SAAS,EAAC,oEAAoE,aAE9E,eAAM,SAAS,EAAC,SAAS,YAAE,YAAY,CAAC,MAAM,CAAC,GAAQ,EACvD,KAAC,IAAI,IACH,IAAI,EAAC,gBAAgB,EACrB,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,SAAS,EAAE,KAAK,CAAC,yBAAyB,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,GACzF,KAZG,MAAM,CAAC,CAAC,CAAC,CAaV,CACP,CAAC;AAEN,MAAM,YAAY,GAAG,CAAC,CAAU,EAAU,EAAE,CAAC,CAAC,EAAE,IAAI,IAAI,CAAC,EAAE,GAAG,IAAI,EAAE,CAAC;AAErE,MAAM,cAAc,GAAG,CAAC,QAAiB,EAAE,KAAc,EAAE,EAAE,CAC3D,KAAK,CACH,QAAQ,CAAC,CAAC,CAAC,8CAA8C,CAAC,CAAC,CAAC,EAAE,EAC9D,KAAK,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,cAAc,CACxC,CAAC"}
|
|
@@ -23,6 +23,6 @@ export const renderSearchField = (points, yandexMaps, updatePointsToRender) => {
|
|
|
23
23
|
updatePointsToRender(null);
|
|
24
24
|
}
|
|
25
25
|
};
|
|
26
|
-
return (_jsxs("div", { className: `${Object.values(styles).join(' ')} bg-white py-
|
|
26
|
+
return (_jsxs("div", { className: `${Object.values(styles).join(' ')} bg-white py-s pl-5xl pr-m w-full`, children: [_jsx(Icon, { name: "LoupeIcon", iconVersion: "black", width: "20", height: "20", className: "absolute left-4" }), _jsx("input", { type: "text", placeholder: "\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0430\u0434\u0440\u0435\u0441 \u0438\u043B\u0438 \u043C\u0435\u0442\u0440\u043E", onChange: onChange, className: "border-0 focus:border-0 outline-0 w-full" })] }));
|
|
27
27
|
};
|
|
28
28
|
//# sourceMappingURL=renderSearchField.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderSearchField.js","sourceRoot":"","sources":["../../../src/ui-kit/YandexMap/renderSearchField.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"renderSearchField.js","sourceRoot":"","sources":["../../../src/ui-kit/YandexMap/renderSearchField.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAGpC,MAAM,MAAM,GAAG;IACb,MAAM,EAAE,sCAAsC;IAC9C,QAAQ,EAAE,4BAA4B;IACtC,IAAI,EAAE,uBAAuB;IAC7B,MAAM,EAAE,sCAAsC;CAC/C,CAAC;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAC/B,MAAoB,EACpB,UAAqB,EACrB,oBAAwD,EACxD,EAAE;IACF,MAAM,QAAQ,GAAG,CAAC,CAAsC,EAAE,EAAE;QAC1D,MAAM,KAAK,GAAW,CAAC,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,KAAK,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QAC3E,IAAI,KAAK,EAAE;YACT,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,CAAa,EAAE,EAAE;gBACnD,MAAM,aAAa,GAAG,CAAC,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC;gBAC3C,IAAI,aAAa,CAAC,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,EAAE;oBACrC,OAAO,CAAC,CAAC;iBACV;gBAED,OAAO,IAAI,CAAC;YACd,CAAC,CAAC,CAAC;YACH,oBAAoB,CAAC,YAAY,CAAC,CAAC;SACpC;aAAM;YACL,oBAAoB,CAAC,IAAI,CAAC,CAAC;SAC5B;IACH,CAAC,CAAC;IAEF,OAAO,CACL,eAAK,SAAS,EAAE,GAAG,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,mCAAmC,aACnF,KAAC,IAAI,IACH,IAAI,EAAC,WAAW,EAChB,WAAW,EAAC,OAAO,EACnB,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,SAAS,EAAC,iBAAiB,GAC3B,EACF,gBACE,IAAI,EAAC,MAAM,EACX,WAAW,EAAC,6HAAyB,EACrC,QAAQ,EAAE,QAAQ,EAClB,SAAS,EAAC,0CAA0C,GACpD,IACE,CACP,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const formatBytes: (bytes: number, decimals?: number) => string;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
const KILO = 1024;
|
|
2
|
+
const KILO_SIZES = ['байт', 'Кб', 'Мб', 'Гб', 'Тб', 'Пб'];
|
|
3
|
+
export const formatBytes = (bytes, decimals = 2) => {
|
|
4
|
+
if (bytes === 0) {
|
|
5
|
+
return '';
|
|
6
|
+
}
|
|
7
|
+
const i = Math.floor(Math.log(bytes) / Math.log(KILO));
|
|
8
|
+
return `${parseFloat((bytes / Math.pow(KILO, i)).toFixed(decimals))} ${KILO_SIZES[i]}`;
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=formatBytes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"formatBytes.js","sourceRoot":"","sources":["../../src/utils/formatBytes.ts"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,IAAI,CAAC;AAClB,MAAM,UAAU,GAAG,CAAC,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;AAE1D,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,KAAa,EAAE,QAAQ,GAAG,CAAC,EAAE,EAAE;IACzD,IAAI,KAAK,KAAK,CAAC,EAAE;QACf,OAAO,EAAE,CAAC;KACX;IAED,MAAM,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC;IAEvD,OAAO,GAAG,UAAU,CAAC,CAAC,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,IAAI,UAAU,CAAC,CAAC,CAAC,EAAE,CAAC;AACzF,CAAC,CAAC"}
|
|
@@ -38,7 +38,7 @@ export const ApplicationForm = JSX<ApplicationFormProps>((props) => {
|
|
|
38
38
|
}, []);
|
|
39
39
|
|
|
40
40
|
return (
|
|
41
|
-
<BlockWrapper className={className} defaultPadding="p-
|
|
41
|
+
<BlockWrapper className={className} defaultPadding="p-6xl" {...rest}>
|
|
42
42
|
<div className="container max-w-[978px]">
|
|
43
43
|
{title ? (
|
|
44
44
|
<Heading headingType="h3" title={title} className="mb-4 sm:mb-8 sm:text-center" />
|
|
@@ -64,18 +64,18 @@ export const ApplicationFormWed = JSX<ApplicationFormsProps>((props) => {
|
|
|
64
64
|
|
|
65
65
|
return (
|
|
66
66
|
<form className="container" onSubmit={formProps.onSubmit}>
|
|
67
|
-
<Heading headingType="h6" title="Данные организации" className="sm:text-center mb-
|
|
67
|
+
<Heading headingType="h6" title="Данные организации" className="sm:text-center mb-m" />
|
|
68
68
|
{renderWedDataOrganization(field)}
|
|
69
|
-
<Heading headingType="h6" title="Интересующий вопрос" className="sm:text-center mb-
|
|
69
|
+
<Heading headingType="h6" title="Интересующий вопрос" className="sm:text-center mb-m" />
|
|
70
70
|
{renderQuestionsInterested(field)}
|
|
71
71
|
<div className="flex flex-col border-b border-main-divider mb-5 pb-5 sm:items-center sm:flex-row sm:mb-9 sm:pb-9">
|
|
72
|
-
{renderSubmitButton(button, 'mb-
|
|
72
|
+
{renderSubmitButton(button, 'mb-m sm:mr-lg sm:mb-0')}
|
|
73
73
|
<Footnote link={link} />
|
|
74
74
|
</div>
|
|
75
75
|
<Heading
|
|
76
76
|
headingType="h6"
|
|
77
77
|
title="Или свяжитесь с нами удобным способом"
|
|
78
|
-
className="sm:text-center mb-
|
|
78
|
+
className="sm:text-center mb-m"
|
|
79
79
|
/>
|
|
80
80
|
{renderContacts()}
|
|
81
81
|
</form>
|
|
@@ -12,11 +12,11 @@ export const ResponseNotification = JSX<ResponseNotificationProps>(({ responseTy
|
|
|
12
12
|
const backgroundColor = responseOK ? 'bg-ok' : 'bg-fail';
|
|
13
13
|
|
|
14
14
|
return (
|
|
15
|
-
<div className={`flex items-center mt-
|
|
15
|
+
<div className={`flex items-center mt-lg p-lg rounded-md space-x-m ${backgroundColor}`}>
|
|
16
16
|
{responseOK ? (
|
|
17
|
-
<Img image={{ icon: 'ResponceOKIcon' }} width="42" height="42"
|
|
17
|
+
<Img image={{ icon: 'ResponceOKIcon' }} width="42" height="42" />
|
|
18
18
|
) : (
|
|
19
|
-
<Img image={{ icon: 'ResponceFailIcon' }} width="37" height="34"
|
|
19
|
+
<Img image={{ icon: 'ResponceFailIcon' }} width="37" height="34" />
|
|
20
20
|
)}
|
|
21
21
|
<div>
|
|
22
22
|
<Heading
|
|
@@ -7,33 +7,33 @@ import type { WedFormState } from './WedFormState';
|
|
|
7
7
|
|
|
8
8
|
export const renderWedDataOrganization = (field: FormFieldRegisterer<WedFormState>) => (
|
|
9
9
|
<div>
|
|
10
|
-
<div className="sm:flex sm:justify-between sm:gap-
|
|
10
|
+
<div className="sm:flex sm:justify-between sm:gap-lg">
|
|
11
11
|
<div className="sm:w-1/2">
|
|
12
12
|
<InputControl
|
|
13
|
-
className="shrink-0 w-full mb-
|
|
13
|
+
className="shrink-0 w-full mb-s"
|
|
14
14
|
label="Наименование организации"
|
|
15
15
|
{...withValidator(field('fullName'), defaultValidator)}
|
|
16
16
|
/>
|
|
17
17
|
</div>
|
|
18
18
|
<div className="sm:w-1/2">
|
|
19
19
|
<InputControl
|
|
20
|
-
className="shrink-0 w-full mb-
|
|
20
|
+
className="shrink-0 w-full mb-s"
|
|
21
21
|
label="ФИО"
|
|
22
22
|
{...withValidator(field('name'), nameValidator)}
|
|
23
23
|
/>
|
|
24
24
|
</div>
|
|
25
25
|
</div>
|
|
26
|
-
<div className="sm:flex sm:justify-between sm:gap-
|
|
26
|
+
<div className="sm:flex sm:justify-between sm:gap-lg sm:mb-2xl">
|
|
27
27
|
<div className="sm:w-1/2">
|
|
28
28
|
<PhoneInputControl
|
|
29
|
-
className="shrink-0 w-full mb-
|
|
29
|
+
className="shrink-0 w-full mb-s"
|
|
30
30
|
label="Телефон"
|
|
31
31
|
{...withValidator(field('phone'), phoneValidator)}
|
|
32
32
|
/>
|
|
33
33
|
</div>
|
|
34
34
|
<div className="sm:w-1/2">
|
|
35
35
|
<InputControl
|
|
36
|
-
className="shrink-0 w-full mb-
|
|
36
|
+
className="shrink-0 w-full mb-s"
|
|
37
37
|
label="Электронная почта"
|
|
38
38
|
{...withValidator(field('mail'), defaultValidator)}
|
|
39
39
|
/>
|
|
@@ -17,10 +17,10 @@ interface BenefitsBlockProps extends BenefitsBlockContent, UniBlockProps {}
|
|
|
17
17
|
|
|
18
18
|
export const BenefitsBlock = JSX<BenefitsBlockProps>(
|
|
19
19
|
({ className = '', title, benefitList, ...rest }) => (
|
|
20
|
-
<BlockWrapper className={className} defaultPadding="p-
|
|
20
|
+
<BlockWrapper className={className} defaultPadding="p-6xl" {...rest}>
|
|
21
21
|
{title ? <Heading headingType="h3" as="h2" className="text-center" title={title} /> : null}
|
|
22
22
|
{benefitList?.length ? (
|
|
23
|
-
<div className="flex flex-wrap w-full sm:justify-center mt-
|
|
23
|
+
<div className="flex flex-wrap w-full sm:justify-center mt-xl gap-5xl" role="list">
|
|
24
24
|
{benefitList.map(renderBenefit)}
|
|
25
25
|
</div>
|
|
26
26
|
) : null}
|
|
@@ -31,7 +31,7 @@ export const BenefitsBlock = JSX<BenefitsBlockProps>(
|
|
|
31
31
|
const renderBenefit = (benefit: BenefitBlockItemProps, i: number) => (
|
|
32
32
|
<div
|
|
33
33
|
key={String(i)}
|
|
34
|
-
className="flex gap-
|
|
34
|
+
className="flex gap-m items-center md:basis-1/2 md:max-w-[400px]"
|
|
35
35
|
role="listitem"
|
|
36
36
|
>
|
|
37
37
|
{benefit?.icon?.icon ? (
|
|
@@ -56,7 +56,7 @@ const renderDescription = (description: DescriptionDef | undefined) => {
|
|
|
56
56
|
const benefitType = description?.benefitType || null;
|
|
57
57
|
|
|
58
58
|
return description && benefitType ? (
|
|
59
|
-
<div className="mt-
|
|
59
|
+
<div className="mt-xs text-l font-light text-secondary-text group-data-secondary:text-white/80">
|
|
60
60
|
{benefitType === 'list'
|
|
61
61
|
? renderListBenefit(description as ListBenefitDef)
|
|
62
62
|
: renderTextBenefit(description as TextBenefitDef)}
|
|
@@ -67,7 +67,7 @@ const renderDescription = (description: DescriptionDef | undefined) => {
|
|
|
67
67
|
const renderTextBenefit = (description?: TextBenefitDef) => description?.name || null;
|
|
68
68
|
|
|
69
69
|
const renderListBenefit = (description?: ListBenefitDef) => {
|
|
70
|
-
const listStyleType = description?.bullets ? 'list-disc pl-
|
|
70
|
+
const listStyleType = description?.bullets ? 'list-disc pl-3xl' : '';
|
|
71
71
|
|
|
72
72
|
return description?.items && description.items.length > 0 ? (
|
|
73
73
|
<ul className={listStyleType}>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const benefitImageStyles = 'w-56 h-56 min-w-56';
|
|
@@ -14,7 +14,7 @@ export const Bonus = JSX<BonusProps>((props) => {
|
|
|
14
14
|
const { className = '', title, description, bonusItems, ...rest } = props;
|
|
15
15
|
|
|
16
16
|
return (
|
|
17
|
-
<BlockWrapper className={className} defaultPadding="p-
|
|
17
|
+
<BlockWrapper className={className} defaultPadding="p-6xl" {...rest}>
|
|
18
18
|
<div className="container">
|
|
19
19
|
<Headline className="!p-0" title={title} description={description} headlineVersion="M" />
|
|
20
20
|
<div className="flex flex-wrap w-full mt-9">
|
|
@@ -26,7 +26,7 @@ export const Bonus = JSX<BonusProps>((props) => {
|
|
|
26
26
|
>
|
|
27
27
|
{_?.title ? <Text size="text-h4">{_.title}</Text> : null}
|
|
28
28
|
{_?.description ? (
|
|
29
|
-
<div className="mt-
|
|
29
|
+
<div className="mt-xs">
|
|
30
30
|
<Paragraph size="text-xl" font="font-light">
|
|
31
31
|
{_.description}
|
|
32
32
|
</Paragraph>
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
3
3
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper';
|
|
4
|
-
import { style } from '../../utils/style';
|
|
5
4
|
import { Headline } from '../Headline/Headline';
|
|
6
5
|
import type { BonusBenefitsBlockContent } from './BonusBenefitsBlockContent';
|
|
7
6
|
import { renderBonusBenefits } from './renderBonusBenefits';
|
|
@@ -18,9 +17,9 @@ export const BonusBenefitsBlock = JSX<BenefitsBlockProps>(
|
|
|
18
17
|
title,
|
|
19
18
|
...rest
|
|
20
19
|
}) => (
|
|
21
|
-
<BlockWrapper className={
|
|
20
|
+
<BlockWrapper className={className} defaultPadding="p-6xl" {...rest}>
|
|
22
21
|
<Headline
|
|
23
|
-
className="mb-4 sm:mb-
|
|
22
|
+
className="mb-4 sm:mb-3xl"
|
|
24
23
|
isPadding={false}
|
|
25
24
|
title={title}
|
|
26
25
|
description={subtitle}
|
|
@@ -8,8 +8,8 @@ import { BusinessCard } from './BusinessCard';
|
|
|
8
8
|
export interface BusinessBlockProps extends BusinessBlockContent, UniBlockProps {}
|
|
9
9
|
|
|
10
10
|
export const BusinessBlock = JSX<BusinessBlockProps>(({ className, title, cards, ...rest }) => (
|
|
11
|
-
<BlockWrapper className={className} defaultPadding="p-
|
|
12
|
-
<Heading headingType="h3" title={title} className="text-center
|
|
11
|
+
<BlockWrapper className={className} defaultPadding="p-6xl space-y-3xl" {...rest}>
|
|
12
|
+
<Heading headingType="h3" title={title} className="text-center" />
|
|
13
13
|
<div className="flex gap-5">
|
|
14
14
|
{cards?.length ? cards.map((_, i) => <BusinessCard key={String(i)} {..._} />) : null}
|
|
15
15
|
</div>
|
|
@@ -9,16 +9,18 @@ export const BusinessCard = JSX<BusinessCardProps>((props) => {
|
|
|
9
9
|
const { title, image, cardItems, button } = props;
|
|
10
10
|
|
|
11
11
|
return (
|
|
12
|
-
<div className="border-gray border p-
|
|
12
|
+
<div className="border-gray border p-4xl w-1/2 space-y-lg">
|
|
13
13
|
{image ? (
|
|
14
14
|
<div className="flex justify-center">
|
|
15
|
-
{image?.src ? <Img
|
|
15
|
+
{image?.src ? <Img image={image} /> : null}
|
|
16
16
|
{image?.icon ? <Img image={image} /> : null}
|
|
17
17
|
</div>
|
|
18
18
|
) : null}
|
|
19
|
-
{title ? <Heading headingType="h4" title={title}
|
|
20
|
-
{cardItems?.length ?
|
|
21
|
-
|
|
19
|
+
{title ? <Heading headingType="h4" title={title} /> : null}
|
|
20
|
+
{cardItems?.length ? (
|
|
21
|
+
<ul className="space-y-s">{cardItems.map((_, i) => renderItem(_, String(i)))}</ul>
|
|
22
|
+
) : null}
|
|
23
|
+
{renderButtonsSection([button])}
|
|
22
24
|
</div>
|
|
23
25
|
);
|
|
24
26
|
});
|
|
@@ -27,9 +29,9 @@ const renderItem = (item: BusinessCardItemProps, key: string) => {
|
|
|
27
29
|
const { icon, text } = item;
|
|
28
30
|
|
|
29
31
|
return (
|
|
30
|
-
<li key={key} className="flex items-center gap-
|
|
32
|
+
<li key={key} className="flex items-center gap-s last:mb-0">
|
|
31
33
|
{icon?.icon ? (
|
|
32
|
-
<Img image={icon} className="w-12 h-12 min-w-12 p-
|
|
34
|
+
<Img image={icon} className="w-12 h-12 min-w-12 p-s rounded-icon bg-main-divider" />
|
|
33
35
|
) : null}
|
|
34
36
|
{icon?.src ? <Img image={icon} /> : null}
|
|
35
37
|
<Text size="text-xl" font="font-light">
|
|
@@ -26,7 +26,7 @@ export const BonusCalculatorForm = JSX<BonusCalculatorProps>(
|
|
|
26
26
|
|
|
27
27
|
return (
|
|
28
28
|
<section className={style('flex justify-between', className)}>
|
|
29
|
-
<div className="w-
|
|
29
|
+
<div className="w-2/5">
|
|
30
30
|
{renderWantedSumInput({
|
|
31
31
|
title: 'Сумма покупок в категории путешествия, ₽',
|
|
32
32
|
min: minSumTravel,
|
|
@@ -55,7 +55,7 @@ export const BonusCalculatorForm = JSX<BonusCalculatorProps>(
|
|
|
55
55
|
/>
|
|
56
56
|
) : null}
|
|
57
57
|
</div>
|
|
58
|
-
<div className="w-
|
|
58
|
+
<div className="w-96">
|
|
59
59
|
{yearBonus >= 0 ? <CalculatorValueBlock title="Баллов за год" value={yearBonus} /> : null}
|
|
60
60
|
{renderButtonsSection(buttons, { className: 'mt-7', isVertical: true })}
|
|
61
61
|
{renderFootnote(footnote)}
|
|
@@ -37,7 +37,7 @@ export const BusinessDepositCalculatorForm = JSX<BusinessDepositCalculatorProp>(
|
|
|
37
37
|
return (
|
|
38
38
|
<section className={className}>
|
|
39
39
|
<div className="flex justify-between">
|
|
40
|
-
<div className="w-
|
|
40
|
+
<div className="w-2/5">
|
|
41
41
|
{renderWantedSumInput({
|
|
42
42
|
title: 'Сумма вклада, ₽',
|
|
43
43
|
min: calculatorParams.minSum,
|
|
@@ -73,7 +73,7 @@ export const BusinessDepositCalculatorForm = JSX<BusinessDepositCalculatorProp>(
|
|
|
73
73
|
/>
|
|
74
74
|
)}
|
|
75
75
|
|
|
76
|
-
<div className="w-
|
|
76
|
+
<div className="w-96">
|
|
77
77
|
<CalculatorValueBlock title="Доход по вкладу" value={income} postfix="₽" prefix="+" />
|
|
78
78
|
<CalculatorValueBlock title="Сумма в конце срока" value={finalSum} postfix="₽" />
|
|
79
79
|
{renderButtonsSection(buttons, { className: 'mt-7', isVertical: true })}
|
|
@@ -70,9 +70,9 @@ export const Calculator = JSX<CalculatorProps>(
|
|
|
70
70
|
|
|
71
71
|
function renderNavButton({ tab, i, isActive, onClick }: NavButtonProps) {
|
|
72
72
|
const btnClassName = isActive
|
|
73
|
-
? 'h-
|
|
74
|
-
: `h-
|
|
75
|
-
const btnTitleClassName = isActive ? 'text-xl mb-
|
|
73
|
+
? 'h-20 w-96 p-xl border-none bg-primary-main text-white'
|
|
74
|
+
: `h-20 w-96 px-lg ease-in duration-300 bg-white text-primary-text`;
|
|
75
|
+
const btnTitleClassName = isActive ? 'text-xl mb-xs' : `text-l mb-2xs`;
|
|
76
76
|
const btnDescClassName = isActive
|
|
77
77
|
? 'text-l font-light text-white'
|
|
78
78
|
: `text-m font-light text-secondary-text`;
|
|
@@ -87,12 +87,12 @@ function renderNavButton({ tab, i, isActive, onClick }: NavButtonProps) {
|
|
|
87
87
|
onClick={onClick}
|
|
88
88
|
aria-label={tab?.title}
|
|
89
89
|
className={style(
|
|
90
|
-
'box-border relative border border-gray cursor-pointer text-left border-b-0 flex hover:h-
|
|
90
|
+
'box-border relative border border-gray cursor-pointer text-left border-b-0 flex hover:h-20 space-x-m',
|
|
91
91
|
btnClassName,
|
|
92
92
|
)}
|
|
93
93
|
>
|
|
94
94
|
<Img
|
|
95
|
-
className={
|
|
95
|
+
className={style('h-6 w-6 min-w-6 min-h-6', iconClassName)}
|
|
96
96
|
image={{
|
|
97
97
|
...tab?.icon,
|
|
98
98
|
iconVersion: iconVersion ?? activeIconStyle,
|
|
@@ -115,9 +115,9 @@ function renderTabs({ activeIndex, tabsNav, slideIndexShift, onClick }: TabsProp
|
|
|
115
115
|
<div>
|
|
116
116
|
<div
|
|
117
117
|
style={{ transform: `translateX(-${activeIndex * CARD_SHIFT}px)` }}
|
|
118
|
-
className="flex flex-col justify-end items-center h-
|
|
118
|
+
className="flex flex-col justify-end items-center h-32 pt-4xl box-border duration-1000"
|
|
119
119
|
>
|
|
120
|
-
<div className="w-full flex flex-nowrap items-end gap-
|
|
120
|
+
<div className="w-full flex flex-nowrap items-end gap-xs">
|
|
121
121
|
{tabsNav.map((tab, i) =>
|
|
122
122
|
renderNavButton({
|
|
123
123
|
tab,
|
|
@@ -21,6 +21,15 @@ export interface CreditCalculatorParamsViewSettings {
|
|
|
21
21
|
isShowInsurance?: boolean;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
+
export interface RefinancingCalculatorParamsViewSettings {
|
|
25
|
+
/** @title Получаю зарплату на счёт в Россельхозбанке */
|
|
26
|
+
isShowSalaryClient?: boolean;
|
|
27
|
+
/** @title Комплексная страховая защита */
|
|
28
|
+
isShowInsurance?: boolean;
|
|
29
|
+
/** @title Получить дополнительную сумму */
|
|
30
|
+
isShowExtraMoney?: boolean;
|
|
31
|
+
}
|
|
32
|
+
|
|
24
33
|
export interface DepositCalculatorParamsViewSettings {
|
|
25
34
|
/**
|
|
26
35
|
* @title Выплата процентов
|
|
@@ -51,6 +60,11 @@ export interface BusinessDepositCalculatorProps extends CommonCalculatorProps {
|
|
|
51
60
|
isShowDepositeName?: boolean;
|
|
52
61
|
}
|
|
53
62
|
|
|
63
|
+
export interface RefinancingCalculatorProps extends CommonCalculatorProps {
|
|
64
|
+
/** @title Настройка отображения чекбоксов */
|
|
65
|
+
paramsViewSettings?: RefinancingCalculatorParamsViewSettings;
|
|
66
|
+
}
|
|
67
|
+
|
|
54
68
|
/**
|
|
55
69
|
* ? Общий интерфейс для всех типов калькуляторов?
|
|
56
70
|
* ? Используется во вложенных функциях. Может быть как то разбить это и вынести отсюда?
|
|
@@ -102,6 +116,15 @@ export type BonusCalculatorParamsDef = TitleProps &
|
|
|
102
116
|
calcType: 'BonusCalculatorForm';
|
|
103
117
|
};
|
|
104
118
|
|
|
119
|
+
/**
|
|
120
|
+
* @title Калькулятор рефинансирования
|
|
121
|
+
* @default {"calcType": "BonusCalculatorForm"}
|
|
122
|
+
*/
|
|
123
|
+
export type RefinancingCalculatorParamsDef = TitleProps &
|
|
124
|
+
RefinancingCalculatorProps & {
|
|
125
|
+
calcType: 'RefinancingCalculatorForm';
|
|
126
|
+
};
|
|
127
|
+
|
|
105
128
|
/**
|
|
106
129
|
* @title Настройки калькулятора
|
|
107
130
|
*/
|
|
@@ -110,7 +133,8 @@ export type CalculatorBlockDef =
|
|
|
110
133
|
| CreditCalculatorParamsDef
|
|
111
134
|
| DepositCalculatorParamsDef
|
|
112
135
|
| BusinessDepositCalculatorParamsDef
|
|
113
|
-
| BonusCalculatorParamsDef
|
|
136
|
+
| BonusCalculatorParamsDef
|
|
137
|
+
| RefinancingCalculatorParamsDef;
|
|
114
138
|
|
|
115
139
|
/**
|
|
116
140
|
* @title Кнопка навигации
|
|
@@ -41,7 +41,7 @@ export const CreditCalculatorForm = JSX<CreditCalculatorProp>(
|
|
|
41
41
|
|
|
42
42
|
return (
|
|
43
43
|
<section className={style('flex justify-between', className)}>
|
|
44
|
-
<div className="w-
|
|
44
|
+
<div className="w-2/5">
|
|
45
45
|
{renderWantedSumInput({
|
|
46
46
|
title: 'Сумма кредита, ₽',
|
|
47
47
|
step: 500,
|
|
@@ -57,7 +57,7 @@ export const CreditCalculatorForm = JSX<CreditCalculatorProp>(
|
|
|
57
57
|
...field('monthsValue'),
|
|
58
58
|
value: calculatorParams.monthsValue,
|
|
59
59
|
})}
|
|
60
|
-
<div className="mt-
|
|
60
|
+
<div className="mt-2xl">
|
|
61
61
|
{renderCreditParamsForm({ ...calculatorParams, ...paramsViewSettings }, field)}
|
|
62
62
|
</div>
|
|
63
63
|
</div>
|
|
@@ -67,14 +67,14 @@ export const CreditCalculatorForm = JSX<CreditCalculatorProp>(
|
|
|
67
67
|
rateBlockClassName="tracking-[-25px]"
|
|
68
68
|
unit="%"
|
|
69
69
|
/>
|
|
70
|
-
<div className="w-
|
|
70
|
+
<div className="w-96">
|
|
71
71
|
<CalculatorValueBlock
|
|
72
72
|
title={'Ежемесячный платеж'}
|
|
73
73
|
value={calculatorParams.monthlyPayment}
|
|
74
74
|
postfix="₽"
|
|
75
75
|
/>
|
|
76
76
|
{renderPaymentType({ orientation: 'vertical', ...field('isAnnuity') })}
|
|
77
|
-
{renderButtonsSection(buttons, { className: 'mt-
|
|
77
|
+
{renderButtonsSection(buttons, { className: 'mt-2xl', isVertical: true })}
|
|
78
78
|
{renderFootnote(footnote)}
|
|
79
79
|
</div>
|
|
80
80
|
</section>
|
|
@@ -41,7 +41,7 @@ export const DepositCalculatorForm = JSX<DepositCalculatorProp>(
|
|
|
41
41
|
|
|
42
42
|
return (
|
|
43
43
|
<section className={style('flex justify-between', className)}>
|
|
44
|
-
<div className="w-
|
|
44
|
+
<div className="w-2/5">
|
|
45
45
|
{renderWantedSumInput({
|
|
46
46
|
title: 'Сумма вклада, ₽',
|
|
47
47
|
min: calculatorParams.minSum,
|
|
@@ -57,15 +57,15 @@ export const DepositCalculatorForm = JSX<DepositCalculatorProp>(
|
|
|
57
57
|
...field('monthsValue'),
|
|
58
58
|
value: calculatorParams.monthsValue,
|
|
59
59
|
})}
|
|
60
|
-
<div className="mt-
|
|
60
|
+
<div className="mt-2xl">
|
|
61
61
|
{renderDepositParamsForm({ ...calculatorParams, ...paramsViewSettings }, field)}
|
|
62
62
|
</div>
|
|
63
63
|
</div>
|
|
64
64
|
<Rate rate={rate} rateBlockClassName="tracking-[-25px]" unit="%" />
|
|
65
|
-
<div className="w-
|
|
65
|
+
<div className="w-96">
|
|
66
66
|
<CalculatorValueBlock title="Доход по вкладу" value={income} postfix="₽" prefix="+" />
|
|
67
67
|
<CalculatorValueBlock title="Сумма в конце срока" value={finalSum} postfix="₽" />
|
|
68
|
-
{renderButtonsSection(buttons, { className: 'mt-
|
|
68
|
+
{renderButtonsSection(buttons, { className: 'mt-2xl', isVertical: true })}
|
|
69
69
|
{renderFootnote(footnote)}
|
|
70
70
|
</div>
|
|
71
71
|
</section>
|
|
@@ -77,7 +77,7 @@ const renderDepositParamsForm = (
|
|
|
77
77
|
params: DepositCalculatorParams & DepositCalculatorParamsViewSettings,
|
|
78
78
|
field: FormFieldRegisterer<any>,
|
|
79
79
|
) => (
|
|
80
|
-
<div className="flex flex-col gap-y-
|
|
80
|
+
<div className="flex flex-col gap-y-2xl">
|
|
81
81
|
{params.isShowMonthlyInterestPayment
|
|
82
82
|
? renderInterestPayment({
|
|
83
83
|
title: 'Выплата процентов',
|
|
@@ -5,16 +5,19 @@ import {
|
|
|
5
5
|
} from './BusinessDepositCalculatorForm';
|
|
6
6
|
import { CreditCalculatorForm, CreditCalculatorProp } from './CreditCalculatorForm';
|
|
7
7
|
import { DepositCalculatorForm, DepositCalculatorProp } from './DepositCalculatorForm';
|
|
8
|
+
import { RefinancingCalculatorForm, RefinancingCalculatorProp } from './RefinancingCalculatorForm';
|
|
8
9
|
|
|
9
10
|
export type EmbeddableCalcProps =
|
|
10
11
|
| CreditCalculatorProp
|
|
11
12
|
| DepositCalculatorProp
|
|
12
13
|
| BusinessDepositCalculatorProp
|
|
13
|
-
| BonusCalculatorProps
|
|
14
|
+
| BonusCalculatorProps
|
|
15
|
+
| RefinancingCalculatorProp;
|
|
14
16
|
|
|
15
17
|
export const EmbeddableCalcBlocks = {
|
|
16
18
|
CreditCalculatorForm,
|
|
17
19
|
DepositCalculatorForm,
|
|
18
20
|
BusinessDepositCalculatorForm,
|
|
19
21
|
BonusCalculatorForm,
|
|
22
|
+
RefinancingCalculatorForm,
|
|
20
23
|
};
|