@redneckz/wildless-cms-uni-blocks 0.12.10 → 0.12.12
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/BlockRenderer/renderBlock.d.ts +2 -4
- package/bundle/BlockRenderer/renderBlockList.d.ts +5 -2
- package/bundle/BlockRenderer/renderChildren.d.ts +5 -4
- package/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +558 -471
- 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/BonusBenefitsBlock/renderBonusBenefits.mobile.d.ts +1 -1
- 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/Carousel/CarouselContent.d.ts +3 -9
- package/bundle/components/Carousel/CarouselScrollButtons.d.ts +5 -6
- package/bundle/components/Carousel/renderControlButtons.d.ts +2 -3
- package/bundle/components/CarouselBankHistoryCard/CarouselBankHistoryCard.d.ts +2 -2
- package/bundle/components/CarouselCard/CarouselCard.d.ts +1 -1
- 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/Footer/Footer.d.ts +1 -4
- package/bundle/components/Footer/Footer.mobile.d.ts +1 -4
- package/bundle/components/Footer/FooterProps.d.ts +6 -0
- package/bundle/components/Header/Header.d.ts +1 -4
- package/bundle/components/Header/Header.mobile.d.ts +2 -5
- package/bundle/components/Header/HeaderContent.d.ts +0 -2
- package/bundle/components/Header/HeaderProps.d.ts +8 -0
- package/bundle/components/HorizontalLayout/HorizontalLayout.mobile.d.ts +5 -0
- package/bundle/components/LinkDocs/LinkDocsContent.d.ts +0 -2
- package/bundle/components/SafeDepositRental/RadioButtons.d.ts +6 -0
- package/bundle/components/VerticalLayout/VerticalLayoutContent.d.ts +0 -2
- package/bundle/hooks/useCarouselControls.d.ts +1 -1
- package/bundle/model/Attachment.d.ts +2 -0
- package/bundle/model/JSXBlock.d.ts +1 -1
- package/bundle/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +5 -5
- package/bundle/ui-kit/SwipeListControl/useSwipeListScroll.d.ts +1 -2
- package/bundle/utils/formatBytes.d.ts +1 -0
- package/dist/BlockRenderer/renderBlock.d.ts +2 -4
- package/dist/BlockRenderer/renderBlock.js +1 -2
- package/dist/BlockRenderer/renderBlock.js.map +1 -1
- package/dist/BlockRenderer/renderBlockList.d.ts +5 -2
- package/dist/BlockRenderer/renderBlockList.js +12 -7
- package/dist/BlockRenderer/renderBlockList.js.map +1 -1
- package/dist/BlockRenderer/renderChildren.d.ts +5 -4
- package/dist/BlockRenderer/renderChildren.js +2 -2
- package/dist/BlockRenderer/renderChildren.js.map +1 -1
- 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/Blocks.mobile.js +6 -0
- package/dist/components/Blocks.mobile.js.map +1 -1
- package/dist/components/Bonus/Bonus.js +2 -2
- package/dist/components/Bonus/Bonus.js.map +1 -1
- package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -2
- package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/dist/components/BonusBenefitsBlock/renderBonusBenefits.mobile.d.ts +1 -1
- package/dist/components/BonusBenefitsBlock/renderBonusBenefits.mobile.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 +18 -33
- package/dist/components/Carousel/Carousel.js.map +1 -1
- package/dist/components/Carousel/CarouselContent.d.ts +3 -9
- package/dist/components/Carousel/CarouselScrollButtons.d.ts +5 -6
- package/dist/components/Carousel/CarouselScrollButtons.js +4 -4
- package/dist/components/Carousel/CarouselScrollButtons.js.map +1 -1
- package/dist/components/Carousel/renderControlButtons.d.ts +2 -3
- package/dist/components/Carousel/renderControlButtons.js +3 -3
- package/dist/components/Carousel/renderControlButtons.js.map +1 -1
- package/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.d.ts +2 -2
- package/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +7 -40
- package/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
- package/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.mobile.js +1 -2
- package/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.mobile.js.map +1 -1
- package/dist/components/CarouselCard/CarouselCard.d.ts +1 -1
- package/dist/components/CarouselCard/CarouselCard.js +6 -5
- package/dist/components/CarouselCard/CarouselCard.js.map +1 -1
- package/dist/components/CarouselCard/constants.js +2 -2
- package/dist/components/CarouselCard/constants.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 -2
- 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 +2 -2
- package/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
- package/dist/components/CarouselProductCard/CarouselProductCard.js +13 -12
- 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 -5
- package/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +3 -4
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.js +1 -2
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.js.map +1 -1
- package/dist/components/CarouselRichTextCard/CarouselRichTextCard.js +1 -2
- package/dist/components/CarouselRichTextCard/CarouselRichTextCard.js.map +1 -1
- package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
- package/dist/components/CarouselTariffsCard/CarouselTariffsCard.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 +2 -2
- package/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
- package/dist/components/ComparisonTable/ComparisonTable.mobile.js +1 -1
- package/dist/components/ComparisonTable/ComparisonTable.mobile.js.map +1 -1
- package/dist/components/ComparisonTable/ComparisonTableBody.js +1 -1
- package/dist/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
- package/dist/components/ComparisonTable/ComparisonTableRows.js +1 -1
- package/dist/components/ComparisonTable/ComparisonTableRows.js.map +1 -1
- package/dist/components/ComparisonTable/HeaderCell.js +1 -1
- package/dist/components/ComparisonTable/HeaderCell.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 +17 -10
- 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 +4 -3
- package/dist/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
- package/dist/components/ExchangeRateTile/CurrentLocation.js +3 -2
- package/dist/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
- package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +1 -1
- package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
- package/dist/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
- package/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
- package/dist/components/Footer/Contacts.js +4 -3
- package/dist/components/Footer/Contacts.js.map +1 -1
- package/dist/components/Footer/Footer.d.ts +1 -4
- package/dist/components/Footer/Footer.js +3 -5
- package/dist/components/Footer/Footer.js.map +1 -1
- package/dist/components/Footer/Footer.mobile.d.ts +1 -4
- package/dist/components/Footer/Footer.mobile.js +3 -5
- package/dist/components/Footer/Footer.mobile.js.map +1 -1
- package/dist/components/Footer/FooterProps.d.ts +6 -0
- package/dist/components/Footer/FooterProps.js +2 -0
- package/dist/components/Footer/FooterProps.js.map +1 -0
- package/dist/components/GracePeriod/GracePeriod.js +2 -2
- package/dist/components/GracePeriod/GracePeriod.js.map +1 -1
- package/dist/components/Header/Header.d.ts +1 -4
- package/dist/components/Header/Header.js +3 -9
- package/dist/components/Header/Header.js.map +1 -1
- package/dist/components/Header/Header.mobile.d.ts +2 -5
- package/dist/components/Header/Header.mobile.js +3 -6
- package/dist/components/Header/Header.mobile.js.map +1 -1
- package/dist/components/Header/HeaderContent.d.ts +0 -2
- package/dist/components/Header/HeaderProps.d.ts +8 -0
- package/dist/components/Header/HeaderProps.js +2 -0
- package/dist/components/Header/HeaderProps.js.map +1 -0
- package/dist/components/Header/HeaderSubMenu.js +1 -1
- package/dist/components/Header/HeaderSubMenu.js.map +1 -1
- package/dist/components/Header/HeaderTop.js +1 -1
- package/dist/components/Header/HeaderTop.js.map +1 -1
- package/dist/components/Headline/Headline.js +1 -1
- package/dist/components/Headline/Headline.js.map +1 -1
- package/dist/components/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/HorizontalLayout.mobile.d.ts +5 -0
- package/dist/components/HorizontalLayout/HorizontalLayout.mobile.js +8 -0
- package/dist/components/HorizontalLayout/HorizontalLayout.mobile.js.map +1 -0
- 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 +2 -2
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/dist/components/InvestmentInfo/InvestmentInfo.js +12 -14
- 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/OfficeServicesBlock/OfficeServicesBlock.js +2 -2
- package/dist/components/OfficeServicesBlock/OfficeServicesBlock.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/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +4 -8
- package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
- package/dist/components/RollupItem/RollupItem.js +5 -2
- package/dist/components/RollupItem/RollupItem.js.map +1 -1
- package/dist/components/SafeDepositRental/RadioButtons.d.ts +6 -0
- package/dist/components/SafeDepositRental/RadioButtons.js +13 -0
- package/dist/components/SafeDepositRental/RadioButtons.js.map +1 -0
- package/dist/components/SafeDepositRental/RegionsAndBranches.js +1 -1
- package/dist/components/SafeDepositRental/RegionsAndBranches.js.map +1 -1
- package/dist/components/SafeDepositRental/RentalPeriod.js +2 -1
- package/dist/components/SafeDepositRental/RentalPeriod.js.map +1 -1
- package/dist/components/SafeDepositRental/SafeBoxCases.js +1 -1
- package/dist/components/SafeDepositRental/SafeBoxCases.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/SafeDepositRentalFields.js +2 -2
- package/dist/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
- package/dist/components/SafeDepositRental/SafeDepositRentalForm.js +1 -1
- package/dist/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
- package/dist/components/SafeDepositRental/SafeDepositRentalTotal.js +4 -3
- 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/ScrollableTabs.js +0 -1
- package/dist/components/Tabs/ScrollableTabs.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 +4 -10
- 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 +4 -14
- package/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
- package/dist/components/VerticalLayout/VerticalLayoutContent.d.ts +0 -2
- package/dist/content-page-repository/transformDocument.js +3 -0
- package/dist/content-page-repository/transformDocument.js.map +1 -1
- package/dist/hooks/useCarouselControls.d.ts +1 -1
- package/dist/hooks/useCarouselControls.js +5 -6
- package/dist/hooks/useCarouselControls.js.map +1 -1
- package/dist/model/Attachment.d.ts +2 -0
- package/dist/model/JSXBlock.d.ts +1 -1
- 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/BaseProductTile/BaseProductTileContent.d.ts +5 -5
- 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 +2 -2
- 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 +3 -3
- package/dist/ui-kit/LinkList/LinkList.js +2 -2
- package/dist/ui-kit/LinkList/LinkList.js.map +1 -1
- 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 +4 -4
- package/dist/ui-kit/LocationDialog/LocationDialog.js.map +1 -1
- package/dist/ui-kit/LocationDialog/SearchBar.js +1 -1
- package/dist/ui-kit/LocationDialog/SearchBar.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/SearchDialog/SearchDialog.js +1 -1
- package/dist/ui-kit/SearchDialog/SearchDialog.js.map +1 -1
- 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/SlideCheckbox/SlideCheckbox.js +1 -1
- package/dist/ui-kit/SlideCheckbox/SlideCheckbox.js.map +1 -1
- package/dist/ui-kit/SwipeListControl/SwipeListContainer.js +1 -1
- package/dist/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
- package/dist/ui-kit/SwipeListControl/useSwipeListScroll.d.ts +1 -2
- package/dist/ui-kit/SwipeListControl/useSwipeListScroll.js +11 -11
- package/dist/ui-kit/SwipeListControl/useSwipeListScroll.js.map +1 -1
- package/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js +1 -1
- package/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js.map +1 -1
- package/dist/ui-kit/YandexMap/YandexMap.js +1 -1
- package/dist/ui-kit/YandexMap/YandexMap.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/BlockRenderer/renderBlock.d.ts +2 -4
- package/lib/BlockRenderer/renderBlock.js +1 -2
- package/lib/BlockRenderer/renderBlock.js.map +1 -1
- package/lib/BlockRenderer/renderBlockList.d.ts +5 -2
- package/lib/BlockRenderer/renderBlockList.js +12 -7
- package/lib/BlockRenderer/renderBlockList.js.map +1 -1
- package/lib/BlockRenderer/renderChildren.d.ts +5 -4
- package/lib/BlockRenderer/renderChildren.js +2 -2
- package/lib/BlockRenderer/renderChildren.js.map +1 -1
- 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/Blocks.mobile.js +6 -0
- package/lib/components/Blocks.mobile.js.map +1 -1
- package/lib/components/Bonus/Bonus.js +2 -2
- package/lib/components/Bonus/Bonus.js.map +1 -1
- package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -2
- package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/lib/components/BonusBenefitsBlock/renderBonusBenefits.mobile.d.ts +1 -1
- package/lib/components/BonusBenefitsBlock/renderBonusBenefits.mobile.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 +18 -33
- package/lib/components/Carousel/Carousel.js.map +1 -1
- package/lib/components/Carousel/CarouselContent.d.ts +3 -9
- package/lib/components/Carousel/CarouselScrollButtons.d.ts +5 -6
- package/lib/components/Carousel/CarouselScrollButtons.js +4 -4
- package/lib/components/Carousel/CarouselScrollButtons.js.map +1 -1
- package/lib/components/Carousel/renderControlButtons.d.ts +3 -3
- package/lib/components/Carousel/renderControlButtons.js +3 -3
- package/lib/components/Carousel/renderControlButtons.js.map +1 -1
- package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.d.ts +2 -2
- package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +7 -40
- package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
- package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.mobile.js +1 -2
- package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.mobile.js.map +1 -1
- package/lib/components/CarouselCard/CarouselCard.d.ts +1 -1
- package/lib/components/CarouselCard/CarouselCard.js +6 -5
- package/lib/components/CarouselCard/CarouselCard.js.map +1 -1
- package/lib/components/CarouselCard/constants.js +2 -2
- package/lib/components/CarouselCard/constants.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 -2
- 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 +2 -2
- package/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
- package/lib/components/CarouselProductCard/CarouselProductCard.js +13 -12
- 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 -5
- package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +4 -5
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.js +1 -2
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.js.map +1 -1
- package/lib/components/CarouselRichTextCard/CarouselRichTextCard.js +1 -2
- package/lib/components/CarouselRichTextCard/CarouselRichTextCard.js.map +1 -1
- package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
- package/lib/components/CarouselTariffsCard/CarouselTariffsCard.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 +2 -2
- package/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
- package/lib/components/ComparisonTable/ComparisonTable.mobile.js +1 -1
- package/lib/components/ComparisonTable/ComparisonTable.mobile.js.map +1 -1
- package/lib/components/ComparisonTable/ComparisonTableBody.js +1 -1
- package/lib/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
- package/lib/components/ComparisonTable/ComparisonTableRows.js +1 -1
- package/lib/components/ComparisonTable/ComparisonTableRows.js.map +1 -1
- package/lib/components/ComparisonTable/HeaderCell.js +1 -1
- package/lib/components/ComparisonTable/HeaderCell.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 +17 -10
- 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 +4 -3
- package/lib/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
- package/lib/components/ExchangeRateTile/CurrentLocation.js +3 -2
- package/lib/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
- package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +1 -1
- package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
- package/lib/components/ExchangeRateTile/ExchangeRateTile.fixture.mobile.d.ts +6 -0
- package/lib/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
- package/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
- package/lib/components/Footer/Contacts.js +4 -3
- package/lib/components/Footer/Contacts.js.map +1 -1
- package/lib/components/Footer/Footer.d.ts +1 -4
- package/lib/components/Footer/Footer.js +3 -5
- package/lib/components/Footer/Footer.js.map +1 -1
- package/lib/components/Footer/Footer.mobile.d.ts +1 -4
- package/lib/components/Footer/Footer.mobile.js +3 -5
- package/lib/components/Footer/Footer.mobile.js.map +1 -1
- package/lib/components/Footer/FooterProps.d.ts +6 -0
- package/lib/components/Footer/FooterProps.js +2 -0
- package/lib/components/Footer/FooterProps.js.map +1 -0
- package/lib/components/GracePeriod/GracePeriod.js +2 -2
- package/lib/components/GracePeriod/GracePeriod.js.map +1 -1
- package/lib/components/Header/Header.d.ts +1 -4
- package/lib/components/Header/Header.fixture.d.ts +0 -1
- package/lib/components/Header/Header.js +3 -9
- package/lib/components/Header/Header.js.map +1 -1
- package/lib/components/Header/Header.mobile.d.ts +2 -5
- package/lib/components/Header/Header.mobile.js +3 -6
- package/lib/components/Header/Header.mobile.js.map +1 -1
- package/lib/components/Header/HeaderContent.d.ts +0 -2
- package/lib/components/Header/HeaderProps.d.ts +8 -0
- package/lib/components/Header/HeaderProps.js +2 -0
- package/lib/components/Header/HeaderProps.js.map +1 -0
- package/lib/components/Header/HeaderSubMenu.js +1 -1
- package/lib/components/Header/HeaderSubMenu.js.map +1 -1
- package/lib/components/Header/HeaderTop.js +1 -1
- package/lib/components/Header/HeaderTop.js.map +1 -1
- package/lib/components/Headline/Headline.js +1 -1
- package/lib/components/Headline/Headline.js.map +1 -1
- package/lib/components/Headline/headlineVersionStyles.js +4 -4
- package/lib/components/Headline/headlineVersionStyles.js.map +1 -1
- package/lib/components/HorizontalLayout/HorizontalLayout.fixture.mobile.d.ts +8 -0
- package/lib/components/HorizontalLayout/HorizontalLayout.js +1 -1
- package/lib/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
- package/lib/components/HorizontalLayout/HorizontalLayout.mobile.d.ts +5 -0
- package/lib/components/HorizontalLayout/HorizontalLayout.mobile.js +6 -0
- package/lib/components/HorizontalLayout/HorizontalLayout.mobile.js.map +1 -0
- 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 +2 -2
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/lib/components/InvestmentInfo/InvestmentInfo.js +12 -14
- 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/OfficeServicesBlock/OfficeServicesBlock.js +2 -2
- package/lib/components/OfficeServicesBlock/OfficeServicesBlock.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.fixture.mobile.d.ts +16 -0
- 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/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +4 -8
- package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
- package/lib/components/RollupItem/RollupItem.js +5 -2
- package/lib/components/RollupItem/RollupItem.js.map +1 -1
- package/lib/components/SafeDepositRental/RadioButtons.d.ts +6 -0
- package/lib/components/SafeDepositRental/RadioButtons.js +11 -0
- package/lib/components/SafeDepositRental/RadioButtons.js.map +1 -0
- package/lib/components/SafeDepositRental/RegionsAndBranches.js +1 -1
- package/lib/components/SafeDepositRental/RegionsAndBranches.js.map +1 -1
- package/lib/components/SafeDepositRental/RentalPeriod.js +2 -1
- package/lib/components/SafeDepositRental/RentalPeriod.js.map +1 -1
- package/lib/components/SafeDepositRental/SafeBoxCases.js +1 -1
- package/lib/components/SafeDepositRental/SafeBoxCases.js.map +1 -1
- package/lib/components/SafeDepositRental/SafeDepositRental.fixture.mobile.d.ts +6 -0
- package/lib/components/SafeDepositRental/SafeDepositRental.js +1 -1
- package/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/lib/components/SafeDepositRental/SafeDepositRentalFields.js +2 -2
- package/lib/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
- package/lib/components/SafeDepositRental/SafeDepositRentalForm.js +1 -1
- package/lib/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
- package/lib/components/SafeDepositRental/SafeDepositRentalTotal.js +4 -3
- 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/ScrollableTabs.js +0 -1
- package/lib/components/Tabs/ScrollableTabs.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 +4 -10
- 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 +3 -3
- package/lib/components/VerticalLayout/VerticalLayout.js +4 -14
- package/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
- package/lib/components/VerticalLayout/VerticalLayoutContent.d.ts +0 -2
- package/lib/content-page-repository/transformDocument.js +3 -0
- package/lib/content-page-repository/transformDocument.js.map +1 -1
- package/lib/hooks/useCarouselControls.d.ts +1 -1
- package/lib/hooks/useCarouselControls.js +5 -6
- package/lib/hooks/useCarouselControls.js.map +1 -1
- package/lib/model/Attachment.d.ts +2 -0
- package/lib/model/JSXBlock.d.ts +1 -1
- 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/BaseProductTile/BaseProductTileContent.d.ts +5 -5
- 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 +2 -2
- 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 +3 -3
- package/lib/ui-kit/LinkList/LinkList.js +2 -2
- package/lib/ui-kit/LinkList/LinkList.js.map +1 -1
- 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 +4 -4
- package/lib/ui-kit/LocationDialog/LocationDialog.js.map +1 -1
- package/lib/ui-kit/LocationDialog/SearchBar.js +1 -1
- package/lib/ui-kit/LocationDialog/SearchBar.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/SearchDialog/SearchDialog.js +1 -1
- package/lib/ui-kit/SearchDialog/SearchDialog.js.map +1 -1
- 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/SlideCheckbox/SlideCheckbox.js +1 -1
- package/lib/ui-kit/SlideCheckbox/SlideCheckbox.js.map +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListContainer.js +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
- package/lib/ui-kit/SwipeListControl/useSwipeListScroll.d.ts +1 -2
- package/lib/ui-kit/SwipeListControl/useSwipeListScroll.js +11 -11
- package/lib/ui-kit/SwipeListControl/useSwipeListScroll.js.map +1 -1
- package/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js +1 -1
- package/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js.map +1 -1
- package/lib/ui-kit/YandexMap/YandexMap.js +1 -1
- package/lib/ui-kit/YandexMap/YandexMap.js.map +1 -1
- package/lib/ui-kit/YandexMap/renderOpenMap.d.ts +0 -1
- package/lib/ui-kit/YandexMap/renderSearchField.d.ts +0 -1
- package/lib/ui-kit/YandexMap/renderSearchField.js +1 -1
- package/lib/ui-kit/YandexMap/renderSearchField.js.map +1 -1
- package/lib/ui-kit/YandexMap/renderUserGeolocation.d.ts +0 -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/BlockRenderer/renderBlock.d.ts +2 -4
- package/mobile/bundle/BlockRenderer/renderBlockList.d.ts +5 -2
- package/mobile/bundle/BlockRenderer/renderChildren.d.ts +5 -4
- package/mobile/bundle/bundle.umd.js +1101 -243
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/BenefitsBlock/benefitImageStyles.d.ts +1 -0
- package/mobile/bundle/components/BonusBenefitsBlock/renderBonusBenefits.d.ts +1 -1
- 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/Carousel/CarouselContent.d.ts +3 -9
- package/mobile/bundle/components/Carousel/CarouselScrollButtons.d.ts +5 -6
- package/mobile/bundle/components/Carousel/renderControlButtons.d.ts +2 -3
- package/mobile/bundle/components/CarouselCard/CarouselCard.d.ts +1 -1
- package/mobile/bundle/components/CarouselProductCard/CarouselProductCardContent.d.ts +6 -4
- package/mobile/bundle/components/CarouselProductCard/alignTextStyle.d.ts +1 -0
- package/mobile/bundle/components/Footer/Footer.d.ts +1 -4
- package/mobile/bundle/components/Footer/FooterProps.d.ts +6 -0
- package/mobile/bundle/components/Header/Header.d.ts +2 -5
- package/mobile/bundle/components/Header/HeaderContent.d.ts +0 -2
- package/mobile/bundle/components/Header/HeaderProps.d.ts +8 -0
- package/mobile/bundle/components/LinkDocs/LinkDocsContent.d.ts +0 -2
- package/mobile/bundle/components/SafeDepositRental/RadioButtons.d.ts +6 -0
- package/mobile/bundle/components/VerticalLayout/VerticalLayoutContent.d.ts +0 -2
- package/mobile/bundle/hooks/useCarouselControls.d.ts +1 -1
- package/mobile/bundle/model/Attachment.d.ts +2 -0
- package/mobile/bundle/model/JSXBlock.d.ts +1 -1
- package/mobile/bundle/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +5 -5
- package/mobile/bundle/ui-kit/SwipeListControl/useSwipeListScroll.d.ts +1 -2
- package/mobile/bundle/utils/formatBytes.d.ts +1 -0
- package/mobile/dist/BlockRenderer/renderBlock.d.ts +2 -4
- package/mobile/dist/BlockRenderer/renderBlock.js +1 -2
- package/mobile/dist/BlockRenderer/renderBlock.js.map +1 -1
- package/mobile/dist/BlockRenderer/renderBlockList.d.ts +5 -2
- package/mobile/dist/BlockRenderer/renderBlockList.js +12 -7
- package/mobile/dist/BlockRenderer/renderBlockList.js.map +1 -1
- package/mobile/dist/BlockRenderer/renderChildren.d.ts +5 -4
- package/mobile/dist/BlockRenderer/renderChildren.js +2 -2
- package/mobile/dist/BlockRenderer/renderChildren.js.map +1 -1
- 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/Blocks.js +6 -0
- package/mobile/dist/components/Blocks.js.map +1 -1
- package/mobile/dist/components/Bonus/Bonus.js +2 -2
- package/mobile/dist/components/Bonus/Bonus.js.map +1 -1
- package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -2
- package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/mobile/dist/components/BonusBenefitsBlock/renderBonusBenefits.d.ts +1 -1
- package/mobile/dist/components/BonusBenefitsBlock/renderBonusBenefits.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 +18 -33
- package/mobile/dist/components/Carousel/Carousel.js.map +1 -1
- package/mobile/dist/components/Carousel/CarouselContent.d.ts +3 -9
- package/mobile/dist/components/Carousel/CarouselScrollButtons.d.ts +5 -6
- package/mobile/dist/components/Carousel/CarouselScrollButtons.js +4 -4
- package/mobile/dist/components/Carousel/CarouselScrollButtons.js.map +1 -1
- package/mobile/dist/components/Carousel/renderControlButtons.d.ts +2 -3
- package/mobile/dist/components/Carousel/renderControlButtons.js +3 -3
- package/mobile/dist/components/Carousel/renderControlButtons.js.map +1 -1
- package/mobile/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +1 -2
- package/mobile/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
- package/mobile/dist/components/CarouselCard/CarouselCard.d.ts +1 -1
- package/mobile/dist/components/CarouselCard/CarouselCard.js +6 -5
- package/mobile/dist/components/CarouselCard/CarouselCard.js.map +1 -1
- package/mobile/dist/components/CarouselCard/constants.js +2 -2
- package/mobile/dist/components/CarouselCard/constants.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 -2
- 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 +2 -2
- package/mobile/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
- package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js +13 -12
- 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 -5
- package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
- package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -2
- package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/mobile/dist/components/CarouselRichTextCard/CarouselRichTextCard.js +1 -2
- package/mobile/dist/components/CarouselRichTextCard/CarouselRichTextCard.js.map +1 -1
- package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
- package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.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/ComparisonTable.js +1 -1
- package/mobile/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
- package/mobile/dist/components/ComparisonTable/ComparisonTableBody.js +1 -1
- package/mobile/dist/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
- package/mobile/dist/components/ComparisonTable/ComparisonTableRows.js +1 -1
- package/mobile/dist/components/ComparisonTable/ComparisonTableRows.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 +17 -10
- 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 +4 -3
- package/mobile/dist/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
- package/mobile/dist/components/ExchangeRateTile/CurrentLocation.js +3 -2
- package/mobile/dist/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
- package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +1 -1
- package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
- package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
- package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +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.d.ts +1 -4
- package/mobile/dist/components/Footer/Footer.js +3 -5
- package/mobile/dist/components/Footer/Footer.js.map +1 -1
- package/mobile/dist/components/Footer/FooterProps.d.ts +6 -0
- package/mobile/dist/components/Footer/FooterProps.js +2 -0
- package/mobile/dist/components/Footer/FooterProps.js.map +1 -0
- package/mobile/dist/components/GracePeriod/GracePeriod.js +2 -2
- package/mobile/dist/components/GracePeriod/GracePeriod.js.map +1 -1
- package/mobile/dist/components/Header/Header.d.ts +2 -5
- package/mobile/dist/components/Header/Header.js +3 -6
- package/mobile/dist/components/Header/Header.js.map +1 -1
- package/mobile/dist/components/Header/HeaderContent.d.ts +0 -2
- package/mobile/dist/components/Header/HeaderProps.d.ts +8 -0
- package/mobile/dist/components/Header/HeaderProps.js +2 -0
- package/mobile/dist/components/Header/HeaderProps.js.map +1 -0
- package/mobile/dist/components/Header/HeaderSubMenu.js +1 -1
- package/mobile/dist/components/Header/HeaderSubMenu.js.map +1 -1
- package/mobile/dist/components/Header/HeaderTop.js +1 -1
- package/mobile/dist/components/Header/HeaderTop.js.map +1 -1
- package/mobile/dist/components/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 +3 -8
- 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 +2 -2
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js +12 -14
- 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/OfficeServicesBlock/OfficeServicesBlock.js +2 -2
- package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.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/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +4 -8
- package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
- package/mobile/dist/components/RollupItem/RollupItem.js +5 -2
- package/mobile/dist/components/RollupItem/RollupItem.js.map +1 -1
- package/mobile/dist/components/SafeDepositRental/RadioButtons.d.ts +6 -0
- package/mobile/dist/components/SafeDepositRental/RadioButtons.js +13 -0
- package/mobile/dist/components/SafeDepositRental/RadioButtons.js.map +1 -0
- package/mobile/dist/components/SafeDepositRental/RegionsAndBranches.js +1 -1
- package/mobile/dist/components/SafeDepositRental/RegionsAndBranches.js.map +1 -1
- package/mobile/dist/components/SafeDepositRental/RentalPeriod.js +2 -1
- package/mobile/dist/components/SafeDepositRental/RentalPeriod.js.map +1 -1
- package/mobile/dist/components/SafeDepositRental/SafeBoxCases.js +1 -1
- package/mobile/dist/components/SafeDepositRental/SafeBoxCases.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/SafeDepositRentalFields.js +2 -2
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalForm.js +1 -1
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTotal.js +4 -3
- 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/ScrollableTabs.js +0 -1
- package/mobile/dist/components/Tabs/ScrollableTabs.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 +4 -14
- package/mobile/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
- package/mobile/dist/components/VerticalLayout/VerticalLayoutContent.d.ts +0 -2
- package/mobile/dist/content-page-repository/transformDocument.js +3 -0
- package/mobile/dist/content-page-repository/transformDocument.js.map +1 -1
- package/mobile/dist/hooks/useCarouselControls.d.ts +1 -1
- package/mobile/dist/hooks/useCarouselControls.js +5 -6
- package/mobile/dist/hooks/useCarouselControls.js.map +1 -1
- package/mobile/dist/model/Attachment.d.ts +2 -0
- package/mobile/dist/model/JSXBlock.d.ts +1 -1
- 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/BaseProductTile/BaseProductTileContent.d.ts +5 -5
- 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 +2 -2
- 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 +3 -3
- package/mobile/dist/ui-kit/LinkList/LinkList.js +2 -2
- package/mobile/dist/ui-kit/LinkList/LinkList.js.map +1 -1
- 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 +4 -4
- package/mobile/dist/ui-kit/LocationDialog/LocationDialog.js.map +1 -1
- package/mobile/dist/ui-kit/LocationDialog/SearchBar.js +1 -1
- package/mobile/dist/ui-kit/LocationDialog/SearchBar.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/SearchDialog/SearchDialog.js +1 -1
- package/mobile/dist/ui-kit/SearchDialog/SearchDialog.js.map +1 -1
- 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/SlideCheckbox/SlideCheckbox.js +1 -1
- package/mobile/dist/ui-kit/SlideCheckbox/SlideCheckbox.js.map +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListContainer.js +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/useSwipeListScroll.d.ts +1 -2
- package/mobile/dist/ui-kit/SwipeListControl/useSwipeListScroll.js +11 -11
- package/mobile/dist/ui-kit/SwipeListControl/useSwipeListScroll.js.map +1 -1
- package/mobile/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js +1 -1
- package/mobile/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js.map +1 -1
- package/mobile/dist/ui-kit/YandexMap/YandexMap.js +1 -1
- package/mobile/dist/ui-kit/YandexMap/YandexMap.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/BlockRenderer/renderBlock.d.ts +2 -4
- package/mobile/lib/BlockRenderer/renderBlock.js +1 -2
- package/mobile/lib/BlockRenderer/renderBlock.js.map +1 -1
- package/mobile/lib/BlockRenderer/renderBlockList.d.ts +5 -2
- package/mobile/lib/BlockRenderer/renderBlockList.js +12 -7
- package/mobile/lib/BlockRenderer/renderBlockList.js.map +1 -1
- package/mobile/lib/BlockRenderer/renderChildren.d.ts +5 -4
- package/mobile/lib/BlockRenderer/renderChildren.js +2 -2
- package/mobile/lib/BlockRenderer/renderChildren.js.map +1 -1
- 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/Blocks.js +6 -0
- package/mobile/lib/components/Blocks.js.map +1 -1
- package/mobile/lib/components/Bonus/Bonus.js +2 -2
- package/mobile/lib/components/Bonus/Bonus.js.map +1 -1
- package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -2
- package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/mobile/lib/components/BonusBenefitsBlock/renderBonusBenefits.d.ts +1 -1
- package/mobile/lib/components/BonusBenefitsBlock/renderBonusBenefits.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 +18 -33
- package/mobile/lib/components/Carousel/Carousel.js.map +1 -1
- package/mobile/lib/components/Carousel/CarouselContent.d.ts +3 -9
- package/mobile/lib/components/Carousel/CarouselScrollButtons.d.ts +5 -6
- package/mobile/lib/components/Carousel/CarouselScrollButtons.js +4 -4
- package/mobile/lib/components/Carousel/CarouselScrollButtons.js.map +1 -1
- package/mobile/lib/components/Carousel/renderControlButtons.d.ts +2 -3
- package/mobile/lib/components/Carousel/renderControlButtons.js +3 -3
- package/mobile/lib/components/Carousel/renderControlButtons.js.map +1 -1
- package/mobile/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +1 -2
- package/mobile/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
- package/mobile/lib/components/CarouselCard/CarouselCard.d.ts +1 -1
- package/mobile/lib/components/CarouselCard/CarouselCard.js +6 -5
- package/mobile/lib/components/CarouselCard/CarouselCard.js.map +1 -1
- package/mobile/lib/components/CarouselCard/constants.js +2 -2
- package/mobile/lib/components/CarouselCard/constants.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 -2
- 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 +2 -2
- package/mobile/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
- package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js +13 -12
- 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 -5
- package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
- package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -2
- package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/mobile/lib/components/CarouselRichTextCard/CarouselRichTextCard.js +1 -2
- package/mobile/lib/components/CarouselRichTextCard/CarouselRichTextCard.js.map +1 -1
- package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
- package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.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/ComparisonTable.js +1 -1
- package/mobile/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
- package/mobile/lib/components/ComparisonTable/ComparisonTableBody.js +1 -1
- package/mobile/lib/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
- package/mobile/lib/components/ComparisonTable/ComparisonTableRows.js +1 -1
- package/mobile/lib/components/ComparisonTable/ComparisonTableRows.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 +17 -10
- 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 +4 -3
- package/mobile/lib/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
- package/mobile/lib/components/ExchangeRateTile/CurrentLocation.js +3 -2
- package/mobile/lib/components/ExchangeRateTile/CurrentLocation.js.map +1 -1
- package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +1 -1
- package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
- package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
- package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +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.d.ts +1 -4
- package/mobile/lib/components/Footer/Footer.js +3 -5
- package/mobile/lib/components/Footer/Footer.js.map +1 -1
- package/mobile/lib/components/Footer/FooterProps.d.ts +6 -0
- package/mobile/lib/components/Footer/FooterProps.js +2 -0
- package/mobile/lib/components/Footer/FooterProps.js.map +1 -0
- package/mobile/lib/components/GracePeriod/GracePeriod.js +2 -2
- package/mobile/lib/components/GracePeriod/GracePeriod.js.map +1 -1
- package/mobile/lib/components/Header/Header.d.ts +2 -5
- package/mobile/lib/components/Header/Header.js +3 -6
- package/mobile/lib/components/Header/Header.js.map +1 -1
- package/mobile/lib/components/Header/HeaderContent.d.ts +0 -2
- package/mobile/lib/components/Header/HeaderProps.d.ts +8 -0
- package/mobile/lib/components/Header/HeaderProps.js +2 -0
- package/mobile/lib/components/Header/HeaderProps.js.map +1 -0
- package/mobile/lib/components/Header/HeaderSubMenu.js +1 -1
- package/mobile/lib/components/Header/HeaderSubMenu.js.map +1 -1
- package/mobile/lib/components/Header/HeaderTop.js +1 -1
- package/mobile/lib/components/Header/HeaderTop.js.map +1 -1
- package/mobile/lib/components/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 +3 -8
- 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 +2 -2
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js +12 -14
- 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/OfficeServicesBlock/OfficeServicesBlock.js +2 -2
- package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.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/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +4 -8
- package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
- package/mobile/lib/components/RollupItem/RollupItem.js +5 -2
- package/mobile/lib/components/RollupItem/RollupItem.js.map +1 -1
- package/mobile/lib/components/SafeDepositRental/RadioButtons.d.ts +6 -0
- package/mobile/lib/components/SafeDepositRental/RadioButtons.js +11 -0
- package/mobile/lib/components/SafeDepositRental/RadioButtons.js.map +1 -0
- package/mobile/lib/components/SafeDepositRental/RegionsAndBranches.js +1 -1
- package/mobile/lib/components/SafeDepositRental/RegionsAndBranches.js.map +1 -1
- package/mobile/lib/components/SafeDepositRental/RentalPeriod.js +2 -1
- package/mobile/lib/components/SafeDepositRental/RentalPeriod.js.map +1 -1
- package/mobile/lib/components/SafeDepositRental/SafeBoxCases.js +1 -1
- package/mobile/lib/components/SafeDepositRental/SafeBoxCases.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/SafeDepositRentalFields.js +2 -2
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalForm.js +1 -1
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTotal.js +4 -3
- 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/ScrollableTabs.js +0 -1
- package/mobile/lib/components/Tabs/ScrollableTabs.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 +4 -14
- package/mobile/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
- package/mobile/lib/components/VerticalLayout/VerticalLayoutContent.d.ts +0 -2
- package/mobile/lib/content-page-repository/transformDocument.js +3 -0
- package/mobile/lib/content-page-repository/transformDocument.js.map +1 -1
- package/mobile/lib/hooks/useCarouselControls.d.ts +1 -1
- package/mobile/lib/hooks/useCarouselControls.js +5 -6
- package/mobile/lib/hooks/useCarouselControls.js.map +1 -1
- package/mobile/lib/model/Attachment.d.ts +2 -0
- package/mobile/lib/model/JSXBlock.d.ts +1 -1
- 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/BaseProductTile/BaseProductTileContent.d.ts +5 -5
- 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 +2 -2
- 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 +3 -3
- package/mobile/lib/ui-kit/LinkList/LinkList.js +2 -2
- package/mobile/lib/ui-kit/LinkList/LinkList.js.map +1 -1
- 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 +4 -4
- package/mobile/lib/ui-kit/LocationDialog/LocationDialog.js.map +1 -1
- package/mobile/lib/ui-kit/LocationDialog/SearchBar.js +1 -1
- package/mobile/lib/ui-kit/LocationDialog/SearchBar.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/SearchDialog/SearchDialog.js +1 -1
- package/mobile/lib/ui-kit/SearchDialog/SearchDialog.js.map +1 -1
- 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/SlideCheckbox/SlideCheckbox.js +1 -1
- package/mobile/lib/ui-kit/SlideCheckbox/SlideCheckbox.js.map +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListContainer.js +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/useSwipeListScroll.d.ts +1 -2
- package/mobile/lib/ui-kit/SwipeListControl/useSwipeListScroll.js +11 -11
- package/mobile/lib/ui-kit/SwipeListControl/useSwipeListScroll.js.map +1 -1
- package/mobile/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js +1 -1
- package/mobile/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js.map +1 -1
- package/mobile/lib/ui-kit/YandexMap/YandexMap.js +1 -1
- package/mobile/lib/ui-kit/YandexMap/YandexMap.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/BlockRenderer/renderBlock.tsx +3 -6
- package/mobile/src/BlockRenderer/renderBlockList.tsx +29 -12
- package/mobile/src/BlockRenderer/renderChildren.ts +7 -6
- 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/Blocks.ts +6 -0
- package/mobile/src/components/Bonus/Bonus.tsx +3 -3
- package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +2 -3
- package/mobile/src/components/BonusBenefitsBlock/renderBonusBenefits.tsx +2 -1
- 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 +47 -45
- package/mobile/src/components/Carousel/CarouselContent.ts +3 -9
- package/mobile/src/components/Carousel/CarouselScrollButtons.tsx +22 -25
- package/mobile/src/components/Carousel/renderControlButtons.tsx +2 -4
- package/mobile/src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.tsx +1 -2
- package/mobile/src/components/CarouselCard/CarouselCard.tsx +15 -21
- package/mobile/src/components/CarouselCard/constants.ts +2 -2
- package/mobile/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +14 -20
- package/mobile/src/components/CarouselEventCard/CarouselEventCard.tsx +3 -4
- package/mobile/src/components/CarouselInvestmentCard/CarouselInvestmentCard.tsx +3 -11
- package/mobile/src/components/CarouselLinks/CarouselLinks.tsx +3 -8
- package/mobile/src/components/CarouselProductCard/CarouselProductCard.tsx +42 -43
- 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 +16 -23
- package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +3 -8
- package/mobile/src/components/CarouselRichTextCard/CarouselRichTextCard.tsx +1 -2
- package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +3 -3
- package/mobile/src/components/CarouselTariffsCard/getPaddingStyle.tsx +1 -1
- package/mobile/src/components/ComparisonTable/ComparisonTable.tsx +2 -2
- package/mobile/src/components/ComparisonTable/ComparisonTableBody.tsx +1 -1
- package/mobile/src/components/ComparisonTable/ComparisonTableRows.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 +5 -5
- package/mobile/src/components/ContentPage/ContentPage.tsx +69 -51
- 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 +26 -10
- package/mobile/src/components/ExchangeRateTile/CurrentLocation.tsx +9 -6
- package/mobile/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +1 -1
- 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 +8 -12
- package/mobile/src/components/Footer/FooterProps.ts +7 -0
- package/mobile/src/components/GracePeriod/GracePeriod.tsx +11 -5
- package/mobile/src/components/Header/Header.tsx +5 -16
- package/mobile/src/components/Header/HeaderContent.ts +0 -2
- package/mobile/src/components/Header/HeaderProps.ts +9 -0
- package/mobile/src/components/Header/HeaderSubMenu.tsx +3 -3
- package/mobile/src/components/Header/HeaderTop.tsx +1 -1
- package/mobile/src/components/Header/sitemap.wcms-resource.json +144 -0
- 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 +3 -25
- 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 +3 -3
- package/mobile/src/components/InvestmentInfo/InvestmentInfo.tsx +15 -24
- package/mobile/src/components/LinkDocs/LinkDocs.tsx +11 -3
- 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 +3 -3
- 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 +6 -6
- package/mobile/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +5 -5
- package/mobile/src/components/PictureText/PictureText.tsx +1 -1
- 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/ProductTile/ProductTile.tsx +1 -1
- package/mobile/src/components/PromoTile/PromoTile.tsx +1 -1
- package/mobile/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.tsx +15 -16
- package/mobile/src/components/RollupItem/RollupItem.tsx +7 -4
- package/mobile/src/components/SafeDepositRental/{RenderRadioButtons.tsx → RadioButtons.tsx} +8 -3
- package/mobile/src/components/SafeDepositRental/RegionsAndBranches.tsx +3 -3
- package/mobile/src/components/SafeDepositRental/RentalPeriod.tsx +5 -2
- package/mobile/src/components/SafeDepositRental/SafeBoxCases.tsx +3 -3
- package/mobile/src/components/SafeDepositRental/SafeDepositRental.tsx +2 -2
- package/mobile/src/components/SafeDepositRental/SafeDepositRentalFields.tsx +10 -8
- package/mobile/src/components/SafeDepositRental/SafeDepositRentalForm.tsx +1 -1
- package/mobile/src/components/SafeDepositRental/SafeDepositRentalTotal.tsx +15 -12
- package/mobile/src/components/StepsBlock/StepsBlock.tsx +5 -5
- package/mobile/src/components/StepsBlock/renderStep.tsx +7 -7
- package/mobile/src/components/Tabs/ScrollableTabs.tsx +0 -1
- 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/VerticalLayout/VerticalLayout.example.json +0 -1
- package/mobile/src/components/VerticalLayout/VerticalLayout.tsx +14 -35
- package/mobile/src/components/VerticalLayout/VerticalLayoutContent.ts +0 -2
- package/mobile/src/content-page-repository/transformDocument.ts +3 -0
- package/mobile/src/hooks/useCarouselControls.ts +8 -7
- package/mobile/src/model/Attachment.ts +2 -0
- package/mobile/src/model/JSXBlock.ts +1 -1
- 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/BaseProductTile/BaseProductTileContent.ts +5 -5
- package/mobile/src/ui-kit/BaseTile/BaseTile.tsx +7 -5
- package/mobile/src/ui-kit/BenefitItem/BenefitItem.tsx +1 -1
- package/mobile/src/ui-kit/BlockWrapper.tsx +2 -2
- 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 +3 -3
- package/mobile/src/ui-kit/LinkList/LinkList.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 +6 -7
- package/mobile/src/ui-kit/LocationDialog/SearchBar.tsx +1 -1
- package/mobile/src/ui-kit/Logo/renderTitle.tsx +1 -1
- package/mobile/src/ui-kit/SearchDialog/SearchDialog.tsx +1 -4
- 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/SlideCheckbox/SlideCheckbox.tsx +3 -3
- package/mobile/src/ui-kit/SwipeListControl/SwipeListContainer.tsx +1 -1
- package/mobile/src/ui-kit/SwipeListControl/useSwipeListScroll.ts +10 -12
- package/mobile/src/ui-kit/TableArrowScrollControl/TableArrowScrollControl.tsx +1 -1
- package/mobile/src/ui-kit/YandexMap/YandexMap.tsx +1 -1
- package/mobile/src/ui-kit/YandexMap/renderSearchField.tsx +2 -1
- package/mobile/src/utils/formatBytes.ts +12 -0
- package/package.json +4 -2
- package/src/BlockRenderer/renderBlock.tsx +3 -6
- package/src/BlockRenderer/renderBlockList.tsx +29 -12
- package/src/BlockRenderer/renderChildren.ts +7 -6
- 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/Blocks.mobile.ts +6 -0
- package/src/components/Bonus/Bonus.tsx +3 -3
- package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +2 -3
- package/src/components/BonusBenefitsBlock/renderBonusBenefits.mobile.tsx +2 -1
- 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.fixture.mobile.tsx +8 -53
- package/src/components/Carousel/Carousel.fixture.tsx +4 -26
- package/src/components/Carousel/Carousel.tsx +47 -45
- package/src/components/Carousel/CarouselContent.ts +3 -9
- package/src/components/Carousel/CarouselScrollButtons.tsx +22 -25
- package/src/components/Carousel/renderControlButtons.tsx +2 -4
- package/src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.fixture.tsx +2 -7
- package/src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.mobile.tsx +1 -2
- package/src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.tsx +34 -67
- package/src/components/CarouselCard/CarouselCard.fixture.mobile.tsx +1 -1
- package/src/components/CarouselCard/CarouselCard.fixture.tsx +1 -1
- package/src/components/CarouselCard/CarouselCard.tsx +15 -21
- package/src/components/CarouselCard/constants.ts +2 -2
- package/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +14 -20
- package/src/components/CarouselEventCard/CarouselEventCard.fixture.tsx +5 -3
- package/src/components/CarouselEventCard/CarouselEventCard.tsx +3 -4
- package/src/components/CarouselInvestmentCard/CarouselInvestmentCard.tsx +3 -11
- package/src/components/CarouselLinks/CarouselLinks.tsx +3 -8
- package/src/components/CarouselProductCard/CarouselProductCard.fixture.tsx +7 -4
- package/src/components/CarouselProductCard/CarouselProductCard.tsx +42 -43
- 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 +16 -23
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.tsx +3 -8
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +24 -30
- package/src/components/CarouselRichTextCard/CarouselRichTextCard.fixture.tsx +1 -1
- package/src/components/CarouselRichTextCard/CarouselRichTextCard.tsx +1 -2
- package/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +3 -3
- package/src/components/CarouselTariffsCard/getPaddingStyle.mobile.tsx +1 -1
- package/src/components/ComparisonTable/ComparisonTable.mobile.tsx +2 -2
- package/src/components/ComparisonTable/ComparisonTable.tsx +2 -2
- package/src/components/ComparisonTable/ComparisonTableBody.tsx +1 -1
- package/src/components/ComparisonTable/ComparisonTableRows.tsx +1 -1
- package/src/components/ComparisonTable/HeaderCell.mobile.tsx +4 -9
- package/src/components/ComparisonTable/HeaderCell.tsx +5 -10
- package/src/components/ComparisonTable/TableCell.tsx +1 -1
- package/src/components/ComparisonTable/TableColumn.tsx +2 -2
- package/src/components/ContactsBlock/ContactsBlock.tsx +5 -5
- package/src/components/ContentPage/ContentPage.tsx +69 -51
- 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 +26 -10
- package/src/components/ExchangeRateTile/CurrentLocation.tsx +9 -6
- package/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +1 -1
- package/src/components/ExchangeRateTile/ExchangeRateTile.fixture.mobile.tsx +19 -0
- package/src/components/ExchangeRateTile/ExchangeRateTile.tsx +1 -1
- package/src/components/Footer/Contacts.tsx +7 -6
- package/src/components/Footer/Footer.fixture.mobile.tsx +3 -1
- package/src/components/Footer/Footer.fixture.tsx +4 -17
- package/src/components/Footer/Footer.mobile.tsx +8 -12
- package/src/components/Footer/Footer.tsx +13 -17
- package/src/components/Footer/FooterProps.ts +7 -0
- package/src/components/GracePeriod/GracePeriod.tsx +11 -5
- package/src/components/Header/Header.fixture.mobile.tsx +5 -2
- package/src/components/Header/Header.fixture.tsx +4 -3
- package/src/components/Header/Header.mobile.tsx +5 -16
- package/src/components/Header/Header.tsx +11 -32
- package/src/components/Header/HeaderContent.ts +0 -2
- package/src/components/Header/HeaderProps.ts +9 -0
- package/src/components/Header/HeaderSubMenu.tsx +3 -3
- package/src/components/Header/HeaderTop.tsx +1 -1
- package/src/components/Header/sitemap.wcms-resource.json +144 -0
- package/src/components/Headline/Headline.tsx +1 -1
- package/src/components/Headline/headlineVersionStyles.ts +4 -4
- package/src/components/HorizontalLayout/HorizontalLayout.fixture.mobile.tsx +72 -0
- package/src/components/HorizontalLayout/HorizontalLayout.mobile.tsx +12 -0
- 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 +3 -3
- package/src/components/InvestmentInfo/InvestmentInfo.tsx +15 -24
- package/src/components/LinkDocs/LinkDocs.tsx +11 -3
- package/src/components/LinkDocs/LinkDocs.ui.json +3 -0
- package/src/components/LinkDocs/LinkDocsContent.ts +0 -2
- package/src/components/MobileAppTile/MobileAppTile.tsx +3 -3
- package/src/components/MobileAppTile/renderDescription.tsx +1 -1
- package/src/components/MobileAppTile/renderList.tsx +1 -1
- package/src/components/OfficeMap/OfficeMap.tsx +6 -6
- package/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +5 -5
- package/src/components/PictureText/PictureText.tsx +1 -1
- 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/ProductGallery/ProductGallery.tsx +2 -2
- package/src/components/ProductTile/ProductTile.fixture.mobile.tsx +214 -0
- package/src/components/ProductTile/ProductTile.tsx +1 -1
- package/src/components/PromoTile/PromoTile.tsx +1 -1
- package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.fixture.mobile.tsx +1 -1
- package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.fixture.tsx +1 -1
- package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.tsx +15 -16
- package/src/components/RollupItem/RollupItem.fixture.mobile.tsx +15 -19
- package/src/components/RollupItem/RollupItem.tsx +7 -4
- package/src/components/SafeDepositRental/{RenderRadioButtons.tsx → RadioButtons.tsx} +8 -3
- package/src/components/SafeDepositRental/RegionsAndBranches.tsx +3 -3
- package/src/components/SafeDepositRental/RentalPeriod.tsx +5 -2
- package/src/components/SafeDepositRental/SafeBoxCases.tsx +3 -3
- package/src/components/SafeDepositRental/SafeDepositRental.fixture.mobile.tsx +15 -0
- package/src/components/SafeDepositRental/SafeDepositRental.tsx +2 -2
- package/src/components/SafeDepositRental/SafeDepositRentalFields.tsx +10 -8
- package/src/components/SafeDepositRental/SafeDepositRentalForm.tsx +1 -1
- package/src/components/SafeDepositRental/SafeDepositRentalTotal.tsx +15 -12
- 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/ScrollableTabs.tsx +0 -1
- 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 +6 -21
- 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/VerticalLayout/VerticalLayout.example.json +0 -1
- package/src/components/VerticalLayout/VerticalLayout.fixture.mobile.tsx +0 -3
- package/src/components/VerticalLayout/VerticalLayout.fixture.tsx +3 -10
- package/src/components/VerticalLayout/VerticalLayout.tsx +14 -35
- package/src/components/VerticalLayout/VerticalLayoutContent.ts +0 -2
- package/src/content-page-repository/transformDocument.ts +3 -0
- package/src/hooks/useCarouselControls.ts +8 -7
- package/src/model/Attachment.ts +2 -0
- package/src/model/JSXBlock.ts +1 -1
- package/src/ui-kit/BaseFiltration/BaseFiltrationInner.tsx +1 -1
- package/src/ui-kit/BaseProductTile/BaseProductTile.tsx +1 -1
- package/src/ui-kit/BaseProductTile/BaseProductTileContent.ts +5 -5
- package/src/ui-kit/BaseTile/BaseTile.tsx +7 -5
- package/src/ui-kit/BenefitItem/BenefitItem.tsx +1 -1
- package/src/ui-kit/BlockWrapper.tsx +2 -2
- 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 +3 -3
- package/src/ui-kit/LinkList/LinkList.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 +6 -7
- package/src/ui-kit/LocationDialog/SearchBar.tsx +1 -1
- 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/SearchDialog/SearchDialog.tsx +1 -4
- package/src/ui-kit/SearchDialog/SearchInput.tsx +1 -1
- package/src/ui-kit/Select/Select.tsx +1 -1
- package/src/ui-kit/SlideCheckbox/SlideCheckbox.tsx +3 -3
- package/src/ui-kit/SwipeListControl/SwipeListContainer.tsx +1 -1
- package/src/ui-kit/SwipeListControl/useSwipeListScroll.ts +10 -12
- package/src/ui-kit/TableArrowScrollControl/TableArrowScrollControl.tsx +1 -1
- package/src/ui-kit/Tags/Tags.fixture.tsx +1 -1
- package/src/ui-kit/YandexMap/YandexMap.tsx +1 -1
- package/src/ui-kit/YandexMap/renderSearchField.tsx +2 -1
- package/src/utils/formatBytes.ts +12 -0
- package/tailwind.config.cjs +13 -16
- package/bundle/components/Calculator/renderProposalMortgage.d.ts +0 -8
- package/bundle/components/CarouselCard/getCardWidth.d.ts +0 -1
- package/bundle/components/CarouselRecommendationCard/cardStyle.d.ts +0 -1
- package/bundle/components/Header/HeaderBurger.d.ts +0 -9
- package/bundle/components/SafeDepositRental/RenderRadioButtons.d.ts +0 -2
- package/dist/components/Calculator/renderProposalMortgage.d.ts +0 -8
- package/dist/components/Calculator/renderProposalMortgage.js +0 -10
- package/dist/components/Calculator/renderProposalMortgage.js.map +0 -1
- package/dist/components/CarouselCard/getCardWidth.d.ts +0 -1
- package/dist/components/CarouselCard/getCardWidth.js +0 -18
- package/dist/components/CarouselCard/getCardWidth.js.map +0 -1
- package/dist/components/CarouselRecommendationCard/cardStyle.d.ts +0 -1
- package/dist/components/CarouselRecommendationCard/cardStyle.js +0 -4
- package/dist/components/CarouselRecommendationCard/cardStyle.js.map +0 -1
- package/dist/components/Header/HeaderBurger.d.ts +0 -9
- package/dist/components/Header/HeaderBurger.js +0 -17
- package/dist/components/Header/HeaderBurger.js.map +0 -1
- package/dist/components/SafeDepositRental/RenderRadioButtons.d.ts +0 -2
- package/dist/components/SafeDepositRental/RenderRadioButtons.js +0 -12
- package/dist/components/SafeDepositRental/RenderRadioButtons.js.map +0 -1
- package/lib/components/Calculator/renderProposalMortgage.d.ts +0 -8
- package/lib/components/Calculator/renderProposalMortgage.js +0 -7
- package/lib/components/Calculator/renderProposalMortgage.js.map +0 -1
- package/lib/components/CarouselCard/getCardWidth.d.ts +0 -1
- package/lib/components/CarouselCard/getCardWidth.js +0 -15
- package/lib/components/CarouselCard/getCardWidth.js.map +0 -1
- package/lib/components/CarouselRecommendationCard/cardStyle.d.ts +0 -1
- package/lib/components/CarouselRecommendationCard/cardStyle.js +0 -2
- package/lib/components/CarouselRecommendationCard/cardStyle.js.map +0 -1
- package/lib/components/Header/HeaderBurger.d.ts +0 -9
- package/lib/components/Header/HeaderBurger.js +0 -15
- package/lib/components/Header/HeaderBurger.js.map +0 -1
- package/lib/components/SafeDepositRental/RenderRadioButtons.d.ts +0 -2
- package/lib/components/SafeDepositRental/RenderRadioButtons.js +0 -10
- package/lib/components/SafeDepositRental/RenderRadioButtons.js.map +0 -1
- package/mobile/bundle/components/Calculator/renderProposalMortgage.d.ts +0 -8
- package/mobile/bundle/components/CarouselCard/getCardWidth.d.ts +0 -1
- package/mobile/bundle/components/CarouselRecommendationCard/cardStyle.d.ts +0 -1
- package/mobile/bundle/components/Header/HeaderBurger.d.ts +0 -9
- package/mobile/bundle/components/SafeDepositRental/RenderRadioButtons.d.ts +0 -2
- package/mobile/dist/components/Calculator/renderProposalMortgage.d.ts +0 -8
- package/mobile/dist/components/Calculator/renderProposalMortgage.js +0 -10
- package/mobile/dist/components/Calculator/renderProposalMortgage.js.map +0 -1
- package/mobile/dist/components/CarouselCard/getCardWidth.d.ts +0 -1
- package/mobile/dist/components/CarouselCard/getCardWidth.js +0 -18
- package/mobile/dist/components/CarouselCard/getCardWidth.js.map +0 -1
- package/mobile/dist/components/CarouselRecommendationCard/cardStyle.d.ts +0 -1
- package/mobile/dist/components/CarouselRecommendationCard/cardStyle.js +0 -4
- package/mobile/dist/components/CarouselRecommendationCard/cardStyle.js.map +0 -1
- package/mobile/dist/components/Header/HeaderBurger.d.ts +0 -9
- package/mobile/dist/components/Header/HeaderBurger.js +0 -17
- package/mobile/dist/components/Header/HeaderBurger.js.map +0 -1
- package/mobile/dist/components/SafeDepositRental/RenderRadioButtons.d.ts +0 -2
- package/mobile/dist/components/SafeDepositRental/RenderRadioButtons.js +0 -12
- package/mobile/dist/components/SafeDepositRental/RenderRadioButtons.js.map +0 -1
- package/mobile/lib/components/Calculator/renderProposalMortgage.d.ts +0 -8
- package/mobile/lib/components/Calculator/renderProposalMortgage.js +0 -7
- package/mobile/lib/components/Calculator/renderProposalMortgage.js.map +0 -1
- package/mobile/lib/components/CarouselCard/getCardWidth.d.ts +0 -1
- package/mobile/lib/components/CarouselCard/getCardWidth.js +0 -15
- package/mobile/lib/components/CarouselCard/getCardWidth.js.map +0 -1
- package/mobile/lib/components/CarouselRecommendationCard/cardStyle.d.ts +0 -1
- package/mobile/lib/components/CarouselRecommendationCard/cardStyle.js +0 -2
- package/mobile/lib/components/CarouselRecommendationCard/cardStyle.js.map +0 -1
- package/mobile/lib/components/Header/HeaderBurger.d.ts +0 -9
- package/mobile/lib/components/Header/HeaderBurger.js +0 -15
- package/mobile/lib/components/Header/HeaderBurger.js.map +0 -1
- package/mobile/lib/components/SafeDepositRental/RenderRadioButtons.d.ts +0 -2
- package/mobile/lib/components/SafeDepositRental/RenderRadioButtons.js +0 -10
- package/mobile/lib/components/SafeDepositRental/RenderRadioButtons.js.map +0 -1
- package/mobile/src/components/Calculator/renderProposalMortgage.tsx +0 -22
- package/mobile/src/components/CarouselCard/getCardWidth.tsx +0 -16
- package/mobile/src/components/CarouselRecommendationCard/cardStyle.ts +0 -2
- package/mobile/src/components/Header/HeaderBurger.tsx +0 -54
- package/src/components/Calculator/renderProposalMortgage.tsx +0 -22
- package/src/components/CarouselCard/getCardWidth.tsx +0 -16
- package/src/components/CarouselRecommendationCard/cardStyle.ts +0 -2
- package/src/components/Header/HeaderBurger.tsx +0 -54
|
@@ -11,7 +11,7 @@ const cardColumnsModeStyleMap = {
|
|
|
11
11
|
1: 'flex-col',
|
|
12
12
|
2: 'gap-x-10 flex-wrap',
|
|
13
13
|
};
|
|
14
|
-
export const CarouselInvestmentCard = JSX(({ className, padding, additionalDescription, cardsList = [], columnsMode = 1, description, image, title, ...rest }) => (_jsx(BlockWrapper, { className: style('
|
|
14
|
+
export const CarouselInvestmentCard = JSX(({ className, padding, additionalDescription, cardsList = [], columnsMode = 1, description, image, title, ...rest }) => (_jsx(BlockWrapper, { className: style('text-left', className), padding: "p-0", ...rest, children: _jsxs(BaseTile, { className: "h-full", defaultPadding: "p-xl", padding: padding, title: title ? _jsx(Heading, { headingType: "h4", as: "h3", className: "mb-m z-10", title: title }) : null, backImage: image?.src ? _jsx(Img, { image: image }) : null, children: [_jsxs("div", { className: "flex justify-between mb-4", children: [description ? (_jsx("div", { className: "w-1/3", children: _jsx(Text, { size: "text-h6", children: description }) })) : null, additionalDescription ? (_jsx(Text, { size: "text-m", font: "font-light", color: "group-data-primary:text-secondary-text", children: additionalDescription })) : null] }), cardsList.length ? (_jsx("ul", { className: style('list-none m-0 p-0 flex gap-y-2', cardColumnsModeStyleMap[columnsMode]), children: renderCardList(cardsList, columnsMode) })) : null] }) })));
|
|
15
15
|
const renderCardList = (cardsList, columnsMode) => {
|
|
16
16
|
const CARDS_COUNT_MAP = [4, 9];
|
|
17
17
|
const visibleCardsList = cardsList.slice(0, CARDS_COUNT_MAP[columnsMode - 1]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CarouselInvestmentCard.js","sourceRoot":"","sources":["../../../src/components/CarouselInvestmentCard/CarouselInvestmentCard.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAC1D,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAS1C,MAAM,mBAAmB,GAAG,CAAC,QAAiB,EAAE,EAAE,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC;AAE3F,MAAM,uBAAuB,GAAoC;IAC/D,CAAC,EAAE,UAAU;IACb,CAAC,EAAE,oBAAoB;CACxB,CAAC;AAEF,MAAM,CAAC,MAAM,sBAAsB,GAAG,GAAG,CACvC,CAAC,EACC,SAAS,EACT,OAAO,EACP,qBAAqB,EACrB,SAAS,GAAG,EAAE,EACd,WAAW,GAAG,CAAC,EACf,WAAW,EACX,KAAK,EACL,KAAK,EACL,GAAG,IAAI,EACR,EAAE,EAAE,CAAC,CACJ,KAAC,YAAY,
|
|
1
|
+
{"version":3,"file":"CarouselInvestmentCard.js","sourceRoot":"","sources":["../../../src/components/CarouselInvestmentCard/CarouselInvestmentCard.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAC1D,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAS1C,MAAM,mBAAmB,GAAG,CAAC,QAAiB,EAAE,EAAE,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC;AAE3F,MAAM,uBAAuB,GAAoC;IAC/D,CAAC,EAAE,UAAU;IACb,CAAC,EAAE,oBAAoB;CACxB,CAAC;AAEF,MAAM,CAAC,MAAM,sBAAsB,GAAG,GAAG,CACvC,CAAC,EACC,SAAS,EACT,OAAO,EACP,qBAAqB,EACrB,SAAS,GAAG,EAAE,EACd,WAAW,GAAG,CAAC,EACf,WAAW,EACX,KAAK,EACL,KAAK,EACL,GAAG,IAAI,EACR,EAAE,EAAE,CAAC,CACJ,KAAC,YAAY,IAAC,SAAS,EAAE,KAAK,CAAC,WAAW,EAAE,SAAS,CAAC,EAAE,OAAO,EAAC,KAAK,KAAK,IAAI,YAC5E,MAAC,QAAQ,IACP,SAAS,EAAC,QAAQ,EAClB,cAAc,EAAC,MAAM,EACrB,OAAO,EAAE,OAAO,EAChB,KAAK,EACH,KAAK,CAAC,CAAC,CAAC,KAAC,OAAO,IAAC,WAAW,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,SAAS,EAAC,WAAW,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AK,SAAS,EAAC,QAAQ,YACrB,KAAC,IAAI,IAAC,IAAI,EAAE,mBAAmB,CAAC,WAAW,CAAC,YAAG,IAAI,CAAC,SAAS,GAAQ,GACjE,CACP,CAAC,CAAC,CAAC,IAAI,EACP,IAAI,EAAE,oBAAoB,CAAC,CAAC,CAAC,CAC5B,KAAC,IAAI,IAAC,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAC,YAAY,EAAC,KAAK,EAAC,qBAAqB,YAC9D,IAAI,CAAC,oBAAoB,GACrB,CACR,CAAC,CAAC,CAAC,IAAI,KAVD,MAAM,CAAC,CAAC,CAAC,CAWb,CACN,CAAC,CAAC;AACL,CAAC,CAAC"}
|
|
@@ -6,10 +6,10 @@ import { style } from '../../utils/style.js';
|
|
|
6
6
|
import { Carousel } from '../Carousel/Carousel.js';
|
|
7
7
|
import { Headline } from '../Headline/Headline.js';
|
|
8
8
|
const MAX_LINKS_COUNT = 10;
|
|
9
|
-
export const CarouselLinks = JSX(({ className, additionalDescription, description, links, title, ...rest }) => (_jsxs(BlockWrapper, { className: style('flex w-full overflow-hidden
|
|
9
|
+
export const CarouselLinks = JSX(({ className, additionalDescription, description, links, title, ...rest }) => (_jsxs(BlockWrapper, { className: style('flex w-full overflow-hidden', className), ...rest, children: [_jsxs("div", { className: "mr-xl flex-auto", children: [_jsx(Headline, { isPadding: false, title: title, description: description, as: "h1", align: "text-left" }), additionalDescription ? (_jsx(Headline, { className: "pt-m", description: additionalDescription, align: "text-left", isPadding: false })) : null] }), links?.length ? renderLinks(links) : null] })));
|
|
10
10
|
const renderLinks = (links) => {
|
|
11
11
|
const itemCount = Math.ceil(links.length / MAX_LINKS_COUNT);
|
|
12
|
-
return (_jsx(Carousel, { className: "min-w-[832px] w-[832px]", version: "",
|
|
12
|
+
return (_jsx(Carousel, { className: "min-w-[832px] w-[832px]", version: "", itemCount: itemCount, arrowsPadded: false, showDots: true, children: new Array(itemCount).fill(null).map((_, groupIndex) => (_jsx("div", { className: "w-[672px] min-w-[672px] ml-10 mr-10 flex flex-wrap self-start", children: links
|
|
13
13
|
.slice(groupIndex * MAX_LINKS_COUNT, (groupIndex + 1) * MAX_LINKS_COUNT)
|
|
14
14
|
.map((link, index) => (_jsx(LinkButton, { className: "m-1", ...link }, String(index)))) }, String(groupIndex)))) }));
|
|
15
15
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CarouselLinks.js","sourceRoot":"","sources":["../../../src/components/CarouselLinks/CarouselLinks.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAChE,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAKhD,MAAM,eAAe,GAAG,EAAE,CAAC;AAE3B,MAAM,CAAC,MAAM,aAAa,GAAG,GAAG,CAC9B,CAAC,EAAE,SAAS,EAAE,qBAAqB,EAAE,WAAW,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CAC5E,MAAC,YAAY,
|
|
1
|
+
{"version":3,"file":"CarouselLinks.js","sourceRoot":"","sources":["../../../src/components/CarouselLinks/CarouselLinks.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAChE,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,QAAQ,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C,+DAA+D,YAExE,KAAK;iBACH,KAAK,CAAC,UAAU,GAAG,eAAe,EAAE,CAAC,UAAU,GAAG,CAAC,CAAC,GAAG,eAAe,CAAC;iBACvE,GAAG,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,CACpB,KAAC,UAAU,IAAqB,SAAS,EAAC,KAAK,KAAK,IAAI,IAAvC,MAAM,CAAC,KAAK,CAAC,CAA8B,CAC7D,CAAC,IAPC,MAAM,CAAC,UAAU,CAAC,CAQnB,CACP,CAAC,GACO,CACZ,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1,23 +1,24 @@
|
|
|
1
1
|
import { jsxs as _jsxs, jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
2
3
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
|
|
3
|
-
import {
|
|
4
|
+
import { renderButtonsSection } from '../../ui-kit/Button/renderButtonsSection.js';
|
|
4
5
|
import { Img } from '../../ui-kit/Img/Img.js';
|
|
5
|
-
import { JSX } from '@redneckz/uni-jsx';
|
|
6
6
|
import { LinkWrapper } from '../../ui-kit/LinkWrapper/LinkWrapper.js';
|
|
7
7
|
import { List } from '../../ui-kit/List/List.js';
|
|
8
8
|
import { Paragraph } from '../../ui-kit/Paragraph/Paragraph.js';
|
|
9
9
|
import { Text } from '../../ui-kit/Text/Text.js';
|
|
10
|
-
import { renderButtonsSection } from '../../ui-kit/Button/renderButtonsSection.js';
|
|
11
10
|
import { style } from '../../utils/style.js';
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
11
|
+
import { HEADLINE_SMALL_VERSION } from '../Headline/headlineVersionStyles.js';
|
|
12
|
+
import { alignTextStyle } from './alignTextStyle.js';
|
|
13
|
+
export const CarouselProductCard = JSX(({ additionalDescription, align = alignTextStyle, button = {}, className = '', description, headlineSmallVersion = 'H6', href, icon, isDotted = true, isButtonFullWidth = true, isImageFullWidth = false, isTopPosition = false, items = [], target, title, version = 'primary', ...rest }) => {
|
|
14
|
+
return (_jsxs(BlockWrapper, { className: style('flex flex-col justify-between', align, className), defaultPadding: "p-0", version: version, ...rest, children: [_jsxs(LinkWrapper, { className: "p-m flex flex-col gap-xs", href: href, target: target, children: [renderCardTitle(headlineSmallVersion, title), renderDescription(description), renderItems(items, isDotted, version), renderAdditionalDescription(additionalDescription), renderImage(icon, isImageFullWidth, isTopPosition)] }), renderButtonsSection([button], {
|
|
15
|
+
className: style('p-m pt-0', isButtonFullWidth ? '' : 'self-center'),
|
|
16
|
+
isVertical: isButtonFullWidth,
|
|
16
17
|
})] }));
|
|
17
18
|
});
|
|
18
|
-
const renderImage = (image) => (_jsxs("div", { className:
|
|
19
|
-
const renderCardTitle = (headlineSmallVersion, title) => title ?
|
|
20
|
-
const renderDescription = (description
|
|
21
|
-
const renderAdditionalDescription = (additionalDescription) => additionalDescription ? (_jsx(
|
|
22
|
-
const renderItems = (items, isDotted, version = 'primary') => items?.length ? (_jsx(List, { className: style('
|
|
19
|
+
const renderImage = (image, isImageFullWidth, isTopPosition) => (_jsxs("div", { className: style('flex gap-lg', isTopPosition ? 'order-first' : 'order-last', !isImageFullWidth ? 'justify-center' : ''), children: [image?.src ? _jsx(Img, { className: "shrink-0", image: image }) : null, image?.icon ? (_jsx(Img, { className: style('shrink-0', !isImageFullWidth ? 'w-8 h-8 min-w-8' : ''), image: image })) : null] }));
|
|
20
|
+
const renderCardTitle = (headlineSmallVersion, title) => title ? _jsx(Text, { size: HEADLINE_SMALL_VERSION[headlineSmallVersion], children: title }) : null;
|
|
21
|
+
const renderDescription = (description) => description ? _jsx(Paragraph, { size: "text-l", children: description }) : null;
|
|
22
|
+
const renderAdditionalDescription = (additionalDescription) => additionalDescription ? (_jsx(Text, { size: "text-m", font: "font-light", color: "text-secondary-text group-data-secondary:text-white/80", children: additionalDescription })) : null;
|
|
23
|
+
const renderItems = (items, isDotted, version = 'primary') => items?.length ? (_jsx(List, { className: style('text-s', version === 'primary' ? '!text-secondary-text' : ''), items: items.filter((item) => item?.text).map((item) => item.text), isDotted: isDotted, listItemSize: "S" })) : null;
|
|
23
24
|
//# sourceMappingURL=CarouselProductCard.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CarouselProductCard.js","sourceRoot":"","sources":["../../../src/components/CarouselProductCard/CarouselProductCard.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"CarouselProductCard.js","sourceRoot":"","sources":["../../../src/components/CarouselProductCard/CarouselProductCard.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAIxC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,oBAAoB,EAAE,MAAM,0CAA0C,CAAC;AAChF,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AACnE,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAC7D,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,sBAAsB,EAAE,MAAM,mCAAmC,CAAC;AAC3E,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAIlD,MAAM,CAAC,MAAM,mBAAmB,GAAG,GAAG,CACpC,CAAC,EACC,qBAAqB,EACrB,KAAK,GAAG,cAAc,EACtB,MAAM,GAAG,EAAE,EACX,SAAS,GAAG,EAAE,EACd,WAAW,EACX,oBAAoB,GAAG,IAAI,EAC3B,IAAI,EACJ,IAAI,EACJ,QAAQ,GAAG,IAAI,EACf,iBAAiB,GAAG,IAAI,EACxB,gBAAgB,GAAG,KAAK,EACxB,a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AE,EAAE,CAAC,IAAI,CAAC,IAAc,CAAC,EAC5E,QAAQ,EAAE,QAAQ,EAClB,YAAY,EAAC,GAAG,GAChB,CACH,CAAC,CAAC,CAAC,IAAI,CAAC"}
|
|
@@ -19,8 +19,10 @@ export declare type CarouselProductCardContent = UniBlockContent & HeadlineSmall
|
|
|
19
19
|
/** @title Список */
|
|
20
20
|
items?: ListProps[];
|
|
21
21
|
align?: TextAlign;
|
|
22
|
-
/**
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
22
|
+
/** @title Изображение на всю ширину */
|
|
23
|
+
isImageFullWidth?: boolean;
|
|
24
|
+
/** @title Картинка сверху над текстом */
|
|
25
|
+
isTopPosition?: boolean;
|
|
26
|
+
/** @title Кнопка по всей ширине */
|
|
27
|
+
isButtonFullWidth?: boolean;
|
|
26
28
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const alignTextStyle = "text-left";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"alignTextStyle.js","sourceRoot":"","sources":["../../../src/components/CarouselProductCard/alignTextStyle.tsx"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,cAAc,GAAG,WAAW,CAAC"}
|
|
@@ -6,10 +6,7 @@ import { Img } from '../../ui-kit/Img/Img.js';
|
|
|
6
6
|
import { LinkWrapper } from '../../ui-kit/LinkWrapper/LinkWrapper.js';
|
|
7
7
|
import { Paragraph } from '../../ui-kit/Paragraph/Paragraph.js';
|
|
8
8
|
import { Text } from '../../ui-kit/Text/Text.js';
|
|
9
|
-
import { style } from '../../utils/style.js';
|
|
10
9
|
import { cardDescriptionColor, cardTitleFont } from './programCardStyles.js';
|
|
11
|
-
export const CarouselProgramsCard = JSX(({ className
|
|
12
|
-
|
|
13
|
-
});
|
|
14
|
-
const renderList = (_, i) => (_jsxs("div", { className: "flex flex-row-reverse justify-between gap-y-1 sm:flex-col", children: [_.title ? (_jsx(Text, { size: "text-l", font: cardTitleFont, children: _.title })) : null, _.description ? (_jsx(Paragraph, { size: "text-l", font: "font-light", color: cardDescriptionColor, children: _.description })) : null] }, String(i)));
|
|
10
|
+
export const CarouselProgramsCard = JSX(({ className, title, icon, list = [], href, target, ...rest }) => (_jsx(BlockWrapper, { className: className, defaultPadding: "p-3xl sm:p-0", ...rest, children: _jsxs(LinkWrapper, { className: "sm:flex sm:items-center", href: href, target: target, children: [_jsx("div", { className: "flex justify-center px-xl", children: icon?.src || icon?.icon ? _jsx(Img, { image: icon }) : null }), _jsxs("div", { className: "sm:px-s p-5xl", children: [title ? _jsx(Heading, { className: "mb-xs sm:mb-m", headingType: "h6", title: title }) : null, list.length ? (_jsx("div", { className: "flex flex-col gap-xs sm:gap-s", children: list?.map(renderList) })) : null] })] }) })));
|
|
11
|
+
const renderList = (_, i) => (_jsxs("div", { className: "flex flex-row-reverse justify-between gap-y-2xs sm:flex-col", children: [_.title ? (_jsx(Text, { size: "text-l", font: cardTitleFont, children: _.title })) : null, _.description ? (_jsx(Paragraph, { size: "text-l", font: "font-light", color: cardDescriptionColor, children: _.description })) : null] }, String(i)));
|
|
15
12
|
//# sourceMappingURL=CarouselProgramsCard.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CarouselProgramsCard.js","sourceRoot":"","sources":["../../../src/components/CarouselProgramsCard/CarouselProgramsCard.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AACnE,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAC7D,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":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M,CAAC,CAAC,CAAC,CACb,cAAK,SAAS,EAAC,+BAA+B,YAAE,IAAI,EAAE,GAAG,CAAC,UAAU,CAAC,GAAO,CAC7E,CAAC,CAAC,CAAC,IAAI,IACJ,IACM,GACD,CAChB,CACF,CAAC;AAEF,MAAM,UAAU,GAAG,CAAC,CAAsB,EAAE,CAAS,EAAE,EAAE,CAAC,CACxD,eAAqB,SAAS,EAAC,6DAA6D,aACzF,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CACT,KAAC,IAAI,IAAC,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAE,aAAa,YACpC,CAAC,CAAC,KAAK,GACH,CACR,CAAC,CAAC,CAAC,IAAI,EACP,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,CACf,KAAC,SAAS,IAAC,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAC,YAAY,EAAC,KAAK,EAAE,oBAAoB,YACnE,CAAC,CAAC,WAAW,GACJ,CACb,CAAC,CAAC,CAAC,IAAI,KAVA,MAAM,CAAC,CAAC,CAAC,CAWb,CACP,CAAC"}
|
|
@@ -7,9 +7,8 @@ import { List } from '../../ui-kit/List/List.js';
|
|
|
7
7
|
import { style } from '../../utils/style.js';
|
|
8
8
|
import { SocialMedia } from '../Footer/SocialMedia.js';
|
|
9
9
|
import { Headline } from '../Headline/Headline.js';
|
|
10
|
-
import { BORDER_STYLE } from './cardStyle.js';
|
|
11
10
|
export const CarouselRecommendationCard = JSX(({ className = '', description, href, icon, items = [], socialMedia = [], target, title, align = 'text-left', ...rest }) => {
|
|
12
|
-
return (_jsx(BlockWrapper, { className: style('relative
|
|
11
|
+
return (_jsx(BlockWrapper, { className: style('relative group-data-gray:bg-main-divider/50', className), defaultPadding: "p-6xl", ...rest, children: _jsxs(LinkWrapper, { href: href, target: target, children: [_jsx(Headline, { className: "mb-xs", title: title, description: description, headlineVersion: "S", isPadding: false, align: align }), items.length ? (_jsx(List, { className: "flex flex-col gap-2", items: items, listItemSize: "S" })) : null, renderIcon(icon), socialMedia.length ? _jsx(SocialMedia, { className: "mt-5", media: socialMedia }) : null] }) }));
|
|
13
12
|
});
|
|
14
13
|
const renderIcon = (icon) => icon?.src || icon?.icon ? (_jsx("div", { children: _jsx(Img, { image: icon }) })) : null;
|
|
15
14
|
//# sourceMappingURL=CarouselRecommendationCard.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CarouselRecommendationCard.js","sourceRoot":"","sources":["../../../src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AACnE,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"CarouselRecommendationCard.js","sourceRoot":"","sources":["../../../src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AACnE,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAC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
|
|
@@ -2,6 +2,5 @@ import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
3
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
|
|
4
4
|
import { RichText } from '../../ui-kit/RichText/RichText.js';
|
|
5
|
-
|
|
6
|
-
export const CarouselRichTextCard = JSX(({ className = '', __html, richVersion = 'striped', ...rest }) => (_jsx(BlockWrapper, { className: style('border border-gray h-full min-w-96', className), ...rest, children: _jsx(RichText, { __html: __html, richVersion: richVersion }) })));
|
|
5
|
+
export const CarouselRichTextCard = JSX(({ className = '', __html, richVersion = 'striped', ...rest }) => (_jsx(BlockWrapper, { className: className, ...rest, children: _jsx(RichText, { __html: __html, richVersion: richVersion }) })));
|
|
7
6
|
//# sourceMappingURL=CarouselRichTextCard.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CarouselRichTextCard.js","sourceRoot":"","sources":["../../../src/components/CarouselRichTextCard/CarouselRichTextCard.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;
|
|
1
|
+
{"version":3,"file":"CarouselRichTextCard.js","sourceRoot":"","sources":["../../../src/components/CarouselRichTextCard/CarouselRichTextCard.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAK1D,MAAM,CAAC,MAAM,oBAAoB,GAAG,GAAG,CACrC,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,MAAM,EAAE,WAAW,GAAG,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CAChE,KAAC,YAAY,IAAC,SAAS,EAAE,SAAS,KAAM,IAAI,YAC1C,KAAC,QAAQ,IAAC,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,WAAW,GAAI,GACzC,CAChB,CACF,CAAC"}
|
|
@@ -16,9 +16,9 @@ export const CarouselTariffsCard = JSX(({ className = '', title, align = 'text-c
|
|
|
16
16
|
const cellsNode = cardCells.map(renderCardInfo);
|
|
17
17
|
const visibleCells = cellsNode.slice(0, VISIBLE_CELLS_COUNT);
|
|
18
18
|
const hiddenCells = cellsNode.slice(VISIBLE_CELLS_COUNT);
|
|
19
|
-
return (_jsxs(BlockWrapper, { className: style('relative
|
|
19
|
+
return (_jsxs(BlockWrapper, { className: style('relative flex flex-col', className), defaultPadding: getPaddingStyle(isHighlighting), ...rest, children: [isHighlighting ? renderHitIcon() : null, renderIconBlock(icon), title ? (_jsx(Heading, { className: style('pt-xs', align), headingType: "h5", title: title })) : null, button ? _jsx(Button, { className: "w-full mt-m", ...button }) : null, cardCells.length ? (_jsx(Foldable, { renderFoldableSection: ({ isUnfolded }) => (_jsxs("div", { children: [visibleCells, _jsx(FoldableSection, { isUnfolded: isUnfolded, children: hiddenCells })] })), renderFoldButton: cardCells.length > 1 ? renderFoldButton : null })) : null] }));
|
|
20
20
|
});
|
|
21
|
-
const renderIconBlock = (icon) => (_jsx("div", { className: "
|
|
21
|
+
const renderIconBlock = (icon) => (_jsx("div", { className: "basis-full self-center", children: icon?.src || icon?.icon ? _jsx(Img, { image: icon }) : null }));
|
|
22
22
|
const renderFoldButton = ({ isUnfolded, onToggle }) => (_jsxs("button", { className: "w-full cursor-pointer text-primary-main pt-5 flex justify-between items-center", onClick: onToggle, children: [_jsx("div", { children: isUnfolded ? 'Скрыть' : 'Подробнее о тарифе' }), _jsx(Icon, { className: "text-primary-text", name: isUnfolded ? 'ArrowUpIcon' : 'ArrowDownIcon', width: "16", height: "16" })] }));
|
|
23
23
|
const renderHitIcon = () => (_jsxs("div", { className: "absolute -top-7 -right-4 h-[60px] w-[60px] bg-white flex flex-col items-center justify-center rounded-md shadow-[0_4px_25px_rgba(0,0,0,0.07)]", children: [_jsx(Icon, { iconVersion: "black", name: "HeartIcon", width: "23", height: "22" }), _jsx(Paragraph, { size: "text-s", font: "font-normal", align: "text-center", color: "text-primary-text", children: "\u0425\u0418\u0422" })] }));
|
|
24
24
|
//# sourceMappingURL=CarouselTariffsCard.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CarouselTariffsCard.js","sourceRoot":"","sources":["../../../src/components/CarouselTariffsCard/CarouselTariffsCard.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAIxC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAE1D,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AACxE,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAC7D,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE1C,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAIlD,MAAM,mBAAmB,GAAG,CAAC,CAAC;AAE9B,MAAM,CAAC,MAAM,mBAAmB,GAAG,GAAG,CACpC,CAAC,EACC,SAAS,GAAG,EAAE,EACd,KAAK,EACL,KAAK,GAAG,aAAa,EACrB,IAAI,EACJ,cAAc,GAAG,KAAK,EACtB,MAAM,EACN,SAA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CAAC,IAAc,EAAE,EAAE,CAAC,CAC1C,cAAK,SAAS,EAAC,wBAAwB,YACpC,IAAI,EAAE,GAAG,IAAI,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,KAAC,GAAG,IAAC,KAAK,EAAE,IAAI,GAAI,CAAC,CAAC,CAAC,IAAI,GAClD,CACP,CAAC;AAEF,MAAM,gBAAgB,GAAG,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAqB,EAAS,EAAE,CAAC,CAC/E,kBACE,SAAS,EAAC,gFAAgF,EAC1F,OAAO,EAAE,QAAQ,aAEjB,wBAAM,UAAU,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,oBAAoB,GAAO,EACzD,KAAC,IAAI,IACH,SAAS,EAAC,mBAAmB,EAC7B,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,eAAe,EAClD,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,GACX,IACK,CACV,CAAC;AAEF,MAAM,aAAa,GAAG,GAAU,EAAE,CAAC,CACjC,eAAK,SAAS,EAAC,+IAA+I,aAC5J,KAAC,IAAI,IAAC,WAAW,EAAC,OAAO,EAAC,IAAI,EAAC,WAAW,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,GAAG,EACpE,KAAC,SAAS,IAAC,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAC,aAAa,EAAC,KAAK,EAAC,aAAa,EAAC,KAAK,EAAC,mBAAmB,mCAE7E,IACR,CACP,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const getPaddingStyle = (isHighlighting = false) => isHighlighting ? 'p-
|
|
1
|
+
export const getPaddingStyle = (isHighlighting = false) => isHighlighting ? 'p-6xl mt-6' : 'mt-6 p-6xl'; // Хак для мобильной версии т.к. контракт должен быть идентичный
|
|
2
2
|
//# sourceMappingURL=getPaddingStyle.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getPaddingStyle.js","sourceRoot":"","sources":["../../../src/components/CarouselTariffsCard/getPaddingStyle.tsx"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,cAAc,GAAG,KAAK,EAAU,EAAE,CAChE,cAAc,CAAC,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"getPaddingStyle.js","sourceRoot":"","sources":["../../../src/components/CarouselTariffsCard/getPaddingStyle.tsx"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,cAAc,GAAG,KAAK,EAAU,EAAE,CAChE,cAAc,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,gEAAgE"}
|
|
@@ -6,7 +6,7 @@ import { SwipeListControl } from '../../ui-kit/SwipeListControl/SwipeListControl
|
|
|
6
6
|
import { TableColumn } from './TableColumn.js';
|
|
7
7
|
export const ComparisonTable = JSX((props) => {
|
|
8
8
|
const { className, title } = props;
|
|
9
|
-
return (_jsxs("section", { className: `bg-white font-sans
|
|
9
|
+
return (_jsxs("section", { className: `bg-white font-sans p-6xl overflow-hidden text-primary-text relative space-y-lg ${className || ''}`, children: [title ? (_jsx(Heading, { headingType: "h3", className: "font-medium text-center", title: title })) : null, _jsx("div", { role: "table", children: _jsx(TableInner, { ...props }) })] }));
|
|
10
10
|
});
|
|
11
11
|
const TableInner = JSX(({ columns = [], rowHeaders, isColoredFirstColumn, visibleRowLength, orientation, ...rest }) => {
|
|
12
12
|
const [columnsViewState, setColumnsViewState] = useState(new Array(columns.length).fill(!visibleRowLength));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ComparisonTable.js","sourceRoot":"","sources":["../../../src/components/ComparisonTable/ComparisonTable.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAEpE,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC;AAElF,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAI5C,MAAM,CAAC,MAAM,eAAe,GAAG,GAAG,CAAuB,CAAC,KAAK,EAAE,EAAE;IACjE,MAAM,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,KAAK,CAAC;IAEnC,OAAO,CACL,mBACE,SAAS,EAAE,
|
|
1
|
+
{"version":3,"file":"ComparisonTable.js","sourceRoot":"","sources":["../../../src/components/ComparisonTable/ComparisonTable.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAEpE,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC;AAElF,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAI5C,MAAM,CAAC,MAAM,eAAe,GAAG,GAAG,CAAuB,CAAC,KAAK,EAAE,EAAE;IACjE,MAAM,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,KAAK,CAAC;IAEnC,OAAO,CACL,mBACE,SAAS,EAAE,kFACT,SAAS,IAAI,EACf,EAAE,aAED,KAAK,CAAC,CAAC,CAAC,CACP,KAAC,OAAO,IAAC,WAAW,EAAC,IAAI,EAAC,SAAS,EAAC,yBAAyB,EAAC,KAAK,EAAE,KAAK,GAAI,CAC/E,CAAC,CAAC,CAAC,IAAI,EACR,cAAK,IAAI,EAAC,OAAO,YACf,KAAC,UAAU,OAAK,KAAK,GAAI,GACrB,IACE,CACX,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,UAAU,GAAG,GAAG,CACpB,CAAC,EAAE,OAAO,GAAG,EAAE,EAAE,UAAU,EAA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EAAE,MAAM,EACd,UAAU,EAAE,aAAa,CAAC,IAAI,CAAC,EAC/B,cAAc,EAAE,QAAQ,KAAK,CAAC,IAAI,oBAAoB,EACtD,cAAc,EAAE,GAAG,EAAE,CAAC,kBAAkB,CAAC,QAAQ,CAAC,KAC9C,IAAI,IAPH,MAAM,CAAC,QAAQ,CAAC,CAQrB,CACH,CAAC,CAAC;IAEH,OAAO,WAAW,KAAK,YAAY,CAAC,CAAC,CAAC,CACpC,KAAC,gBAAgB,IAAC,sBAAsB,EAAE,iBAAiB,YAAG,YAAY,GAAoB,CAC/F,CAAC,CAAC,CAAC,CACF,YAAY,CACb,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -18,6 +18,6 @@ export const ComparisonTableBody = JSX(({ columns = [], rowHeaders, isShowAllRow
|
|
|
18
18
|
visibleItemCount: COLS_LENGTH_FOR_SCROLL,
|
|
19
19
|
});
|
|
20
20
|
const { isScrollAvailable } = controls;
|
|
21
|
-
return (_jsxs("div", { children: [_jsxs("div", { role: "table", children: [colHeaders?.length ? (_jsx(ComparisonTableColumnHeaders, { colHeaders: colHeaders, activeIndex: activeIndex })) : null, rowData?.length ? (_jsx(ComparisonTableRows, { rowData: rowData, isColoredFirstColumn: isColoredFirstColumn, activeIndex: activeIndex, controls: controls })) : null] }), isScrollAvailable ? (_jsx("div", { className: "absolute top-0 right-0 bottom-0 w-
|
|
21
|
+
return (_jsxs("div", { children: [_jsxs("div", { role: "table", children: [colHeaders?.length ? (_jsx(ComparisonTableColumnHeaders, { colHeaders: colHeaders, activeIndex: activeIndex })) : null, rowData?.length ? (_jsx(ComparisonTableRows, { rowData: rowData, isColoredFirstColumn: isColoredFirstColumn, activeIndex: activeIndex, controls: controls })) : null] }), isScrollAvailable ? (_jsx("div", { className: "absolute top-0 right-0 bottom-0 w-20 bg-opacity-to-white" })) : null] }));
|
|
22
22
|
});
|
|
23
23
|
//# sourceMappingURL=ComparisonTableBody.js.map
|
|
@@ -1 +1 @@
|
|
|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;QACzB,gBAAgB,EAAE,sBAAsB;KACzC,CAAC,CAAC;IAEH,MAAM,EAAE,iBAAiB,EAAE,GAAG,QAAQ,CAAC;IAEvC,OAAO,CACL,0BACE,eAAK,IAAI,EAAC,OAAO,aACd,UAAU,EAAE,MAAM,CAAC,CAAC,CAAC,CACpB,KAAC,4BAA4B,IAAC,UAAU,EAAE,UAAU,EAAE,WAAW,EAAE,WAAW,GAAI,CACnF,CAAC,CAAC,CAAC,IAAI,EACP,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC,CACjB,KAAC,mBAAmB,IAClB,OAAO,EAAE,OAAO,EAChB,oBAAoB,EAAE,oBAAoB,EAC1C,WAAW,EAAE,WAAW,EACxB,QAAQ,EAAE,QAAQ,GAClB,CACH,CAAC,CAAC,CAAC,IAAI,IACJ,EACL,iBAAiB,CAAC,CAAC,CAAC,CACnB,cAAK,SAAS,EAAC,
|
|
1
|
+
{"version":3,"file":"ComparisonTableBody.js","sourceRoot":"","sources":["../../../src/components/ComparisonTable/ComparisonTableBody.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AAEtE,OAAO,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAE9E,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAUrD,MAAM,CAAC,MAAM,mBAAmB,GAAG,GAAG,CACpC,CAAC,EAAE,OAAO,GAAG,EAAE,EAAE,UAAU,EAAE,YAAY,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,EAAE,EAAE;IACrF,MAAM,UAAU,GAAG,OAAO,EAAE,GAAG,CAAC,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,MAAM,IAAI,EAAE,CAAC,CAAC;IAC9D,MAAM,OAAO,GAAG,OAAO,EAA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ComparisonTableRows = JSX(({ rowData, isColoredFirstColumn, activeI
|
|
|
7
7
|
return (_jsxs("div", { className: "relative", children: [rowData.map((row, i, { length }) => (_jsx(TableRow, { row: row, isFirstRow: i === 0, isLastRow: i + 1 === length, activeIndex: activeIndex, isColoredFirstColumn: isColoredFirstColumn }, String(i)))), isScrollAvailable
|
|
8
8
|
? renderArrows({
|
|
9
9
|
...controls,
|
|
10
|
-
btnClass: ['top-
|
|
10
|
+
btnClass: ['top-28', 'top-12'],
|
|
11
11
|
className: 'right-7',
|
|
12
12
|
isDisabled: true,
|
|
13
13
|
})
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ComparisonTableRows.js","sourceRoot":"","sources":["../../../src/components/ComparisonTable/ComparisonTableRows.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAEhE,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAStC,MAAM,CAAC,MAAM,mBAAmB,GAAG,GAAG,CACpC,CAAC,EAAE,OAAO,EAAE,oBAAoB,EAAE,WAAW,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC3D,MAAM,EAAE,iBAAiB,EAAE,GAAG,QAAQ,CAAC;IAEvC,OAAO,CACL,eAAK,SAAS,EAAC,UAAU,aACtB,OAAO,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,CACnC,KAAC,QAAQ,IAEP,GAAG,EAAE,GAAG,EACR,UAAU,EAAE,CAAC,KAAK,CAAC,EACnB,SAAS,EAAE,CAAC,GAAG,CAAC,KAAK,MAAM,EAC3B,WAAW,EAAE,WAAW,EACxB,oBAAoB,EAAE,oBAAoB,IALrC,MAAM,CAAC,CAAC,CAAC,CAMd,CACH,CAAC,EACD,iBAAiB;gBAChB,CAAC,CAAC,YAAY,CAAC;oBACX,GAAG,QAAQ;oBACX,QAAQ,EAAE,CAAC,
|
|
1
|
+
{"version":3,"file":"ComparisonTableRows.js","sourceRoot":"","sources":["../../../src/components/ComparisonTable/ComparisonTableRows.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAEhE,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAStC,MAAM,CAAC,MAAM,mBAAmB,GAAG,GAAG,CACpC,CAAC,EAAE,OAAO,EAAE,oBAAoB,EAAE,WAAW,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC3D,MAAM,EAAE,iBAAiB,EAAE,GAAG,QAAQ,CAAC;IAEvC,OAAO,CACL,eAAK,SAAS,EAAC,UAAU,aACtB,OAAO,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,CACnC,KAAC,QAAQ,IAEP,GAAG,EAAE,GAAG,EACR,UAAU,EAAE,CAAC,KAAK,CAAC,EACnB,SAAS,EAAE,CAAC,GAAG,CAAC,KAAK,MAAM,EAC3B,WAAW,EAAE,WAAW,EACxB,oBAAoB,EAAE,oBAAoB,IALrC,MAAM,CAAC,CAAC,CAAC,CAMd,CACH,CAAC,EACD,iBAAiB;gBAChB,CAAC,CAAC,YAAY,CAAC;oBACX,GAAG,QAAQ;oBACX,QAAQ,EAAE,CAAC,QAAQ,EAAE,QAAQ,CAAC;oBAC9B,SAAS,EAAE,SAAS;oBACpB,UAAU,EAAE,IAAI;iBACjB,CAAC;gBACJ,CAAC,CAAC,IAAI,IACJ,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -3,6 +3,6 @@ import { JSX } from '@redneckz/uni-jsx';
|
|
|
3
3
|
import { Heading } from '../../ui-kit/Heading/Heading.js';
|
|
4
4
|
import { Img } from '../../ui-kit/Img/Img.js';
|
|
5
5
|
const headingStyle = (isFillGradient = false) => (isFillGradient ? 'text-white' : '');
|
|
6
|
-
const subtitleStyle = (isFillGradient = false) => `text-s mb-
|
|
7
|
-
export const HeaderCell = JSX(({ icon, image, title, subtitle, isFillGradient }) => (_jsxs("div", { role: "columnheader", children: [icon ? (_jsx(Img, { className: "h-
|
|
6
|
+
const subtitleStyle = (isFillGradient = false) => `text-s mb-m ${isFillGradient ? 'text-white' : 'text-secondary-text/80'}`;
|
|
7
|
+
export const HeaderCell = JSX(({ icon, image, title, subtitle, isFillGradient }) => (_jsxs("div", { className: "space-y-4", role: "columnheader", children: [icon ? (_jsx(Img, { className: "h-16 w-16 min-w-16 min-h-16", image: icon, width: "64", height: "64" })) : null, image?.src && (_jsx("div", { children: _jsx(Img, { image: image }) })), title ? (_jsx(Heading, { headingType: "h4", className: headingStyle(isFillGradient), title: title })) : null, subtitle ? _jsx("div", { className: subtitleStyle(isFillGradient), children: subtitle }) : null] })));
|
|
8
8
|
//# sourceMappingURL=HeaderCell.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HeaderCell.js","sourceRoot":"","sources":["../../../src/components/ComparisonTable/HeaderCell.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAIxC,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAW3C,MAAM,YAAY,GAAG,CAAC,cAAc,GAAG,KAAK,EAAU,EAAE,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;AAC9F,MAAM,aAAa,GAAG,CAAC,cAAc,GAAG,KAAK,EAAU,EAAE,CACvD,
|
|
1
|
+
{"version":3,"file":"HeaderCell.js","sourceRoot":"","sources":["../../../src/components/ComparisonTable/HeaderCell.tsx"],"names":[],"mappings":";AAAA,OAAO,EAA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Column = JSX(({ header, columnData, visibleRowLength = 0, isFi
|
|
|
8
8
|
const columnDataView = columnData?.slice(0, showRow ? columnData.length : visibleRowLength);
|
|
9
9
|
const gradientClassName = isFillGradient ? GRADIENT : '';
|
|
10
10
|
const buttonVersion = isFillGradient ? 'secondary' : 'primary';
|
|
11
|
-
return (_jsxs("div", { className: `border border-gray rounded-md p-
|
|
11
|
+
return (_jsxs("div", { className: `border border-gray rounded-md p-m mb-m ${gradientClassName}`, role: "row", children: [_jsx(HeaderCell, { ...header, isFillGradient: isFillGradient }), columnDataView?.length
|
|
12
12
|
? columnDataView.map(({ rowHeader, cell }, i) => (_jsx(TableCell, { cell: cell, rowHeader: rowHeader, isFillGradient: isFillGradient }, String(i))))
|
|
13
|
-
: null, showRow && header?.link ? (_jsx(Button, { href: header.link.href, target: header.link.target, version: buttonVersion, className: "text-s font-medium mt-
|
|
13
|
+
: null, showRow && header?.link ? (_jsx(Button, { href: header.link.href, target: header.link.target, version: buttonVersion, className: "text-s font-medium mt-m py-s", children: header.link.text })) : null, renderToggleButton({ onToggleColumn, isFillGradient, showRow })] }));
|
|
14
14
|
});
|
|
15
15
|
const renderToggleButton = ({ onToggleColumn, isFillGradient, showRow, }) => (_jsx("div", { className: "mt-5", role: "cell", children: _jsx("a", { role: "link", onClick: onToggleColumn, className: `text-s font-medium cursor-pointer ${isFillGradient ? 'text-white/80' : 'text-primary-main'}`, children: !showRow ? 'Показать описание' : 'Скрыть' }) }));
|
|
16
16
|
//# sourceMappingURL=TableColumn.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableColumn.js","sourceRoot":"","sources":["../../../src/components/ComparisonTable/TableColumn.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAEpD,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,U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AAE,qCACT,cAAc,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,mBACrC,EAAE,YAED,CAAC,OAAO,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,QAAQ,GACxC,GACA,CACP,CAAC"}
|
|
@@ -5,7 +5,7 @@ import { Button } from '../../ui-kit/Button/Button.js';
|
|
|
5
5
|
import { Paragraph } from '../../ui-kit/Paragraph/Paragraph.js';
|
|
6
6
|
import { style } from '../../utils/style.js';
|
|
7
7
|
import { Headline } from '../Headline/Headline.js';
|
|
8
|
-
export const ContactsBlock = JSX(({ className, contacts, info, version = 'secondary', ...rest }) => (_jsxs(BlockWrapper, { className: style('flex', className), defaultPadding: "p-
|
|
8
|
+
export const ContactsBlock = JSX(({ className, contacts, info, version = 'secondary', ...rest }) => (_jsxs(BlockWrapper, { className: style('flex', className), defaultPadding: "p-6xl", version: version, ...rest, children: [info?.length ? renderBlocks(info) : null, contacts?.length ? renderBlocks(contacts) : null] })));
|
|
9
9
|
const renderBlocks = (info) => (_jsx("div", { className: "flex grow basis-0", children: info.map((column, index) => renderBlocksColumn({ column, index })) }));
|
|
10
|
-
const renderBlocksColumn = ({ column, index }) => column ? (_jsx("div", { className: "flex flex-col grow basis-0 pr-11 last:pr-0", children: column.map(({ title = '', description, additionalDescription, button }, key) => (_jsxs("div", { className: "mt-
|
|
10
|
+
const renderBlocksColumn = ({ column, index }) => column ? (_jsx("div", { className: "flex flex-col grow basis-0 pr-11 last:pr-0", children: column.map(({ title = '', description, additionalDescription, button }, key) => (_jsxs("div", { className: "mt-xl first:mt-0", children: [_jsx(Headline, { title: title, description: description, headlineVersion: "XS", align: "text-left", isPadding: false }), additionalDescription ? (_jsx("div", { className: "mt-xs opacity-80", children: _jsx(Paragraph, { size: "text-m", font: "font-light", children: additionalDescription }) })) : null, button?.href ? _jsx(Button, { className: "mt-xl", ...button }) : null] }, String(key)))) }, `col-${String(index)}`)) : null;
|
|
11
11
|
//# sourceMappingURL=ContactsBlock.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContactsBlock.js","sourceRoot":"","sources":["../../../src/components/ContactsBlock/ContactsBlock.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAC7D,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAWhD,MAAM,CAAC,MAAM,aAAa,GAAG,GAAG,CAC9B,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,GAAG,WAAW,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CACjE,MAAC,YAAY,IACX,SAAS,EAAE,KAAK,CAAC,MAAM,EAAE,SAAS,CAAC,EACnC,cAAc,EAAC,
|
|
1
|
+
{"version":3,"file":"ContactsBlock.js","sourceRoot":"","sources":["../../../src/components/ContactsBlock/ContactsBlock.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAC7D,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAWhD,MAAM,CAAC,MAAM,aAAa,GAAG,GAAG,CAC9B,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,GAAG,WAAW,EAAE,GAAG,IAAI,EA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,EACP,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC,KAAC,MAAM,IAAC,SAAS,EAAC,OAAO,KAAK,MAAM,GAAI,CAAC,CAAC,CAAC,IAAI,KAf1B,MAAM,CAAC,GAAG,CAAC,CAgB5C,CACP,CAAC,IAnB6D,OAAO,MAAM,CAAC,KAAK,CAAC,EAAE,CAoBjF,CACP,CAAC,CAAC,CAAC,IAAI,CAAC"}
|
|
@@ -1,15 +1,20 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
3
|
import { renderBlocksList } from '../../BlockRenderer/renderBlockList.js';
|
|
4
|
+
import { renderChildren } from '../../BlockRenderer/renderChildren.js';
|
|
4
5
|
import { useBool } from '../../hooks/useBool.js';
|
|
6
|
+
import { useLocation } from '../../hooks/useLocation.js';
|
|
7
|
+
import { useSWRResource } from '../../hooks/useSWRResource.js';
|
|
8
|
+
import { projectSettings } from '../../ProjectSettings.js';
|
|
5
9
|
import { useBlockRouterProvider } from '../../services/BlockRouter/useBlockRouterProvider.js';
|
|
6
10
|
import { CookiePopup } from '../../ui-kit/CookiePopup/CookiePopup.js';
|
|
7
11
|
import { useDialogHandlers } from '../../ui-kit/Dialog/useDialogHandlers.js';
|
|
12
|
+
import { LocationDialog } from '../../ui-kit/LocationDialog/LocationDialog.js';
|
|
13
|
+
import { SearchDialog } from '../../ui-kit/SearchDialog/SearchDialog.js';
|
|
8
14
|
import { style } from '../../utils/style.js';
|
|
9
15
|
import { LikeControl } from '../LikeControl/LikeControl.js';
|
|
10
|
-
export const ContentPage = JSX((
|
|
11
|
-
const {
|
|
12
|
-
const { style: pageStyle, blocks, slots, likeControl, colorPalette = 'pc' } = data;
|
|
16
|
+
export const ContentPage = JSX(({ className, blocksRegistry, blockDecorator, data = {} }) => {
|
|
17
|
+
const { style: pageStyle, slots, likeControl, colorPalette = 'pc' } = data;
|
|
13
18
|
const options = {
|
|
14
19
|
key: '',
|
|
15
20
|
page: data,
|
|
@@ -17,6 +22,8 @@ export const ContentPage = JSX((props) => {
|
|
|
17
22
|
blockDecorator,
|
|
18
23
|
parent: data,
|
|
19
24
|
};
|
|
25
|
+
const sitemap = useSWRResource(projectSettings.SITEMAP || 'sitemap', data?.fallback);
|
|
26
|
+
const [location, onChangeLocation] = useLocation(sitemap?.defaultLocation);
|
|
20
27
|
useBlockRouterProvider();
|
|
21
28
|
const [isSomeDialogOpened, { setTrue: setSomeDialogOpened, setFalse: resetSomeDialogOpened }] = useBool();
|
|
22
29
|
useDialogHandlers({
|
|
@@ -26,16 +33,16 @@ export const ContentPage = JSX((props) => {
|
|
|
26
33
|
return (_jsxs("section", { className: style('relative', pageStyle, className, isSomeDialogOpened ? 'overflow-hidden h-screen' : ''), "data-theme": colorPalette, children: [slots?.header ? (_jsx("div", { className: "mb-5 shadow-[0_8px_32px_0px_#00000014]", children: renderBlocksList(slots?.header, {
|
|
27
34
|
...options,
|
|
28
35
|
slotName: 'header',
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
}
|
|
34
|
-
|
|
36
|
+
extraProps: { sitemap, location },
|
|
37
|
+
}) })) : null, _jsxs("div", { className: "container grid grid-cols-12 gap-1", children: [renderChildren({ block: data, options, extraProps: { className: 'scroll-mt-12' } }), renderBlocksList(slots?.footer, {
|
|
38
|
+
...options,
|
|
39
|
+
slotName: 'footer',
|
|
40
|
+
extraProps: { sitemap, location },
|
|
41
|
+
})] }), likeControl ? renderLikeControl() : null, _jsx(CookiePopup, { termLink: { href: '/pd-policy#cookie', target: '_blank' }, personalDataPolicyLink: { href: '/pd-policy', target: '_blank' } }), _jsx(SearchDialog, { topItems: sitemap?.topItems }), _jsx(LocationDialog, { currentLocation: location, foreignOffices: sitemap?.foreignOffices, onChangeLocation: onChangeLocation })] }));
|
|
35
42
|
});
|
|
36
43
|
ContentPage.childrenTypes = [];
|
|
37
44
|
ContentPage.slots = () => ['header', 'footer'];
|
|
38
45
|
function renderLikeControl() {
|
|
39
|
-
return (_jsx("div", { className: "flex items-end absolute bottom-0 right-0 h-full pointer-events-none", children: _jsx(LikeControl, { className: "rounded-tl-
|
|
46
|
+
return (_jsx("div", { className: "flex items-end absolute bottom-0 right-0 h-full pointer-events-none", children: _jsx(LikeControl, { className: "rounded-tl-3xl sticky bottom-0 pointer-events-auto" }) }));
|
|
40
47
|
}
|
|
41
48
|
//# sourceMappingURL=ContentPage.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContentPage.js","sourceRoot":"","sources":["../../../src/components/ContentPage/ContentPage.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AACvE,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"ContentPage.js","sourceRoot":"","sources":["../../../src/components/ContentPage/ContentPage.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AACvE,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AACpE,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAK5D,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,sBAAsB,EAAE,MAAM,mDAAmD,CAAC;AAE3F,OAAO,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AACnE,OAAO,EAAE,iBAAiB,EAAE,MAAM,uCAAuC,CAAC;AAC1E,OAAO,EAAE,cAAc,EAAE,MAAM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7 @@ import { renderCurrencyRow } from './renderCurrencies.js';
|
|
|
8
8
|
import { renderTableHeader } from './renderTableHeader.js';
|
|
9
9
|
export const ExchangeRateOffice = JSX(({ className, currencies = [], actuality = '', officeName = '', ...rest }) => {
|
|
10
10
|
const fourRates = topNRates(currencies, 4);
|
|
11
|
-
return (_jsxs(BlockWrapper, { className: className, ...rest, children: [_jsxs("div", { className: "flex flex-row flex-grow-0 justify-between
|
|
11
|
+
return (_jsxs(BlockWrapper, { className: style('space-y-3xl', className), ...rest, children: [_jsxs("div", { className: "flex flex-row flex-grow-0 justify-between space-y-lg", children: [_jsx(Heading, { headingType: "h4", title: 'Курс обмена валют в ' + officeName, className: "whitespace-pre-wrap text-h4" }), _jsx("div", { className: "pl-6xl", children: _jsx(Text, { size: "text-m", font: "font-light", align: "text-left", color: "text-secondary-text", children: actuality }) })] }), _jsx("div", { className: "flex flex-row pt-m text-left", children: fourRates.length > 0 ? (_jsxs("table", { className: style('h-fit w-fit', className), children: [_jsx("thead", { children: _jsxs("tr", { children: [_jsx("th", { children: _jsx(Text, { size: "text-m", font: "font-light", align: "text-left", color: "text-secondary-text", children: "\u0412\u0430\u043B\u044E\u0442\u0430" }) }), renderTableHeader('Купить'), renderTableHeader('Продать'), renderTableHeader('Лучшая покупка'), renderTableHeader('Лучшая продажа')] }) }), _jsx("tbody", { children: fourRates.map((item) => renderCurrencyRow(item)) })] })) : null })] }));
|
|
12
12
|
});
|
|
13
13
|
const topNRates = (rates, n) => rates.sort((a, b) => Number(a.id) - Number(b.id)).slice(0, n);
|
|
14
14
|
//# sourceMappingURL=ExchangeRateOffice.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExchangeRateOffice.js","sourceRoot":"","sources":["../../../src/components/ExchangeRateOffice/ExchangeRateOffice.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CA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,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,GAAG,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -11,14 +11,14 @@ const CURRENCY_ICONS_MAP = {
|
|
|
11
11
|
RUB: 'RoundRubleIcon',
|
|
12
12
|
};
|
|
13
13
|
export const renderCurrencyRow = ({ title, buyPrice, buyDifference, sellPrice, sellDifference, buyOfficeName, sellOfficeName, }) => {
|
|
14
|
-
return (_jsxs("tr", { className: "pb-1 text-h6", children: [_jsx("td", { className: "pt-4", children: _jsxs("div", { className: "flex items-center", children: [title ? (_jsx(Img, { image: { icon: CURRENCY_ICONS_MAP[title] }, width: "24", height: "24" })) : null, _jsx("span", { className: "ml-
|
|
14
|
+
return (_jsxs("tr", { className: "pb-1 text-h6", children: [_jsx("td", { className: "pt-4", children: _jsxs("div", { className: "flex items-center", children: [title ? (_jsx(Img, { image: { icon: CURRENCY_ICONS_MAP[title] }, width: "24", height: "24" })) : null, _jsx("span", { className: "ml-xs", children: title })] }) }), renderCurrency(buyPrice, buyDifference), renderCurrency(sellPrice, sellDifference), renderOffice(buyPrice, buyOfficeName), renderOffice(sellPrice, sellOfficeName)] }, title));
|
|
15
15
|
};
|
|
16
16
|
const formatCurrency = (value) => (value ? currencyNumberFormat.format(value) : '');
|
|
17
17
|
const renderCurrency = (price, difference) => {
|
|
18
|
-
return (_jsxs("td", { className: "pt-
|
|
18
|
+
return (_jsxs("td", { className: "pt-m pl-5xl", children: [_jsx("div", { children: formatCurrency(price) }), _jsx("div", { className: style('font-normal text-sm text-secondary-text', (difference || 0) >= 0 ? 'text-green' : 'text-red'), children: formatCurrency(difference) })] }));
|
|
19
19
|
};
|
|
20
20
|
const renderOffice = (price, officeName = '') => {
|
|
21
|
-
return (_jsxs("td", { className: "pt-
|
|
21
|
+
return (_jsxs("td", { className: "pt-m pl-5xl", children: [_jsx("div", { children: formatCurrency(price) }), _jsx("div", { className: "font-normal text-sm text-green", children: officeName })] }));
|
|
22
22
|
};
|
|
23
23
|
const currencyNumberFormat = new Intl.NumberFormat('ru', {
|
|
24
24
|
style: 'currency',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderCurrencies.js","sourceRoot":"","sources":["../../../src/components/ExchangeRateOffice/renderCurrencies.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAG1C,MAAM,kBAAkB,GAA8C;IACpE,GAAG,EAAE,YAAY;IACjB,GAAG,EAAE,UAAU;IACf,GAAG,EAAE,YAAY;IACjB,GAAG,EAAE,YAAY;IACjB,GAAG,EAAE,YAAY;IACjB,GAAG,EAAE,gBAAgB;CACtB,CAAC;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,EAChC,KAAK,EACL,QAAQ,EACR,aAAa,EACb,SAAS,EACT,cAAc,EACd,aAAa,EACb,cAAc,GACM,EAAE,EAAE;IACxB,OAAO,CACL,cAAgB,SAAS,EAAC,cAAc,aACtC,aAAI,SAAS,EAAC,MAAM,YAClB,eAAK,SAAS,EAAC,mBAAmB,aAC/B,KAAK,CAAC,CAAC,CAAC,CACP,KAAC,GAAG,IAAC,KAAK,EAAE,EAAE,IAAI,EAAE,kBAAkB,CAAC,KAAK,CAAC,EAAE,EAAE,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,GAAG,CAC3E,CAAC,CAAC,CAAC,IAAI,EACR,eAAM,SAAS,EAAC,
|
|
1
|
+
{"version":3,"file":"renderCurrencies.js","sourceRoot":"","sources":["../../../src/components/ExchangeRateOffice/renderCurrencies.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAA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