@redneckz/wildless-cms-uni-blocks 0.14.324 → 0.14.326
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.14.325.js +51 -0
- package/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +340 -337
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/Calculator/CalculatorContent.d.ts +3 -110
- package/bundle/components/Calculator/EmbeddableCalcBlocks.d.ts +1 -5
- package/bundle/components/Calculator/getCreditCalculatorParams.d.ts +1 -0
- package/bundle/components/Calculator/renderPaymentType.d.ts +1 -1
- package/bundle/components/Calculator/renderRegistrationType.d.ts +1 -1
- package/bundle/components/CalculatorBonus/CalculatorBonusContent.d.ts +2 -5
- package/bundle/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.d.ts +5 -0
- package/bundle/components/CalculatorBusinessDeposit/CalculatorBusinessDepositContent.d.ts +52 -0
- package/bundle/components/CalculatorBusinessDeposit/renderDaysInput.d.ts +3 -0
- package/{lib/components/Calculator/useBusinessDepositCalculatorParams.d.ts → bundle/components/CalculatorBusinessDeposit/useBusinessDepositParams.d.ts} +5 -4
- package/bundle/components/CalculatorBusinessDeposit/useBusinessDepositRates.d.ts +4 -0
- package/bundle/components/CalculatorDeposit/CalculatorDeposit.d.ts +9 -0
- package/bundle/components/CalculatorDeposit/CalculatorDepositContent.d.ts +29 -0
- package/bundle/components/{Calculator → CalculatorDeposit}/getDepositCalculatorParams.d.ts +2 -2
- package/bundle/components/CalculatorDeposit/renderPaymentType.d.ts +3 -0
- package/bundle/components/CalculatorDeposit/renderRegistrationType.d.ts +3 -0
- package/bundle/components/CalculatorRefinancing/CalculatorRefinancingContent.d.ts +3 -12
- package/bundle/components/CalculatorRefinancing/checkRefinancingSourceBookRowCommonParams.d.ts +2 -2
- package/bundle/components/CalculatorRefinancing/getRefinancingCalculatorLimitParams.d.ts +2 -2
- package/bundle/components/CalculatorRefinancing/getRefinancingCalculatorParams.d.ts +2 -2
- package/bundle/components/CalculatorRefinancing/getRefinancingCalculatorRateParams.d.ts +2 -13
- package/bundle/components/Carousel/renderDepositResult.d.ts +10 -0
- package/bundle/ui-kit/Calculator/CalculatorProps.d.ts +21 -0
- package/bundle/ui-kit/Calculator/calculatorConstants.d.ts +3 -0
- package/{dist/components → bundle/ui-kit}/Calculator/getDefaultValues.d.ts +1 -1
- package/bundle/{components/Calculator/renderInterestPayment.d.ts → ui-kit/Calculator/renderPayout.d.ts} +1 -1
- package/cosmos-static/icons/RustoreIcon.svg +1 -1
- package/cosmos-static/icons/sprites.svg +1 -1
- package/dist/components/Blocks.js +4 -0
- package/dist/components/Blocks.js.map +1 -1
- package/dist/components/Blocks.mobile.js +4 -0
- package/dist/components/Blocks.mobile.js.map +1 -1
- package/dist/components/Calculator/CalculatorContent.d.ts +3 -110
- package/dist/components/Calculator/CreditCalculatorForm.js +6 -5
- package/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/dist/components/Calculator/EmbeddableCalcBlocks.d.ts +1 -5
- package/dist/components/Calculator/EmbeddableCalcBlocks.js +0 -4
- package/dist/components/Calculator/EmbeddableCalcBlocks.js.map +1 -1
- package/dist/components/Calculator/getCreditCalculatorParams.d.ts +1 -0
- package/dist/components/Calculator/getCreditCalculatorParams.js +16 -3
- package/dist/components/Calculator/getCreditCalculatorParams.js.map +1 -1
- package/dist/components/Calculator/getCreditCalculatorRateParams.js +2 -2
- package/dist/components/Calculator/getCreditCalculatorRateParams.js.map +1 -1
- package/dist/components/Calculator/renderPaymentType.d.ts +1 -1
- package/dist/components/Calculator/renderPaymentType.js +1 -1
- package/dist/components/Calculator/renderPaymentType.js.map +1 -1
- package/dist/components/Calculator/renderRegistrationType.d.ts +1 -1
- package/dist/components/Calculator/renderRegistrationType.js +1 -1
- package/dist/components/Calculator/renderRegistrationType.js.map +1 -1
- package/dist/components/CalculatorBonus/CalculatorBonusContent.d.ts +2 -5
- package/dist/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.d.ts +5 -0
- package/dist/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.js +60 -0
- package/dist/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.js.map +1 -0
- package/dist/components/CalculatorBusinessDeposit/CalculatorBusinessDepositContent.d.ts +52 -0
- package/dist/components/CalculatorBusinessDeposit/CalculatorBusinessDepositContent.js +2 -0
- package/dist/components/CalculatorBusinessDeposit/CalculatorBusinessDepositContent.js.map +1 -0
- package/dist/components/CalculatorBusinessDeposit/renderDaysInput.d.ts +3 -0
- package/dist/components/CalculatorBusinessDeposit/renderDaysInput.js +9 -0
- package/dist/components/CalculatorBusinessDeposit/renderDaysInput.js.map +1 -0
- package/{mobile/bundle/components/Calculator/useBusinessDepositCalculatorParams.d.ts → dist/components/CalculatorBusinessDeposit/useBusinessDepositParams.d.ts} +5 -4
- package/dist/components/{Calculator/useBusinessDepositCalculatorParams.js → CalculatorBusinessDeposit/useBusinessDepositParams.js} +25 -10
- package/dist/components/CalculatorBusinessDeposit/useBusinessDepositParams.js.map +1 -0
- package/dist/components/CalculatorBusinessDeposit/useBusinessDepositRates.d.ts +4 -0
- package/dist/components/CalculatorBusinessDeposit/useBusinessDepositRates.js.map +1 -0
- package/dist/components/CalculatorDeposit/CalculatorDeposit.d.ts +9 -0
- package/dist/components/CalculatorDeposit/CalculatorDeposit.js +68 -0
- package/dist/components/CalculatorDeposit/CalculatorDeposit.js.map +1 -0
- package/dist/components/CalculatorDeposit/CalculatorDepositContent.d.ts +29 -0
- package/dist/components/CalculatorDeposit/CalculatorDepositContent.js +2 -0
- package/dist/components/CalculatorDeposit/CalculatorDepositContent.js.map +1 -0
- package/{lib/components/Calculator → dist/components/CalculatorDeposit}/getDepositCalculatorParams.d.ts +2 -2
- package/{mobile/dist/components/Calculator → dist/components/CalculatorDeposit}/getDepositCalculatorParams.js +11 -3
- package/dist/components/CalculatorDeposit/getDepositCalculatorParams.js.map +1 -0
- package/dist/components/CalculatorDeposit/renderPaymentType.d.ts +3 -0
- package/dist/components/CalculatorDeposit/renderPaymentType.js +13 -0
- package/dist/components/CalculatorDeposit/renderPaymentType.js.map +1 -0
- package/dist/components/CalculatorDeposit/renderRegistrationType.d.ts +3 -0
- package/dist/components/CalculatorDeposit/renderRegistrationType.js +12 -0
- package/dist/components/CalculatorDeposit/renderRegistrationType.js.map +1 -0
- package/dist/components/CalculatorRefinancing/CalculatorRefinancing.js +1 -1
- package/dist/components/CalculatorRefinancing/CalculatorRefinancing.js.map +1 -1
- package/dist/components/CalculatorRefinancing/CalculatorRefinancingContent.d.ts +3 -12
- package/dist/components/CalculatorRefinancing/checkRefinancingSourceBookRowCommonParams.d.ts +2 -2
- package/dist/components/CalculatorRefinancing/getRefinancingCalculatorLimitParams.d.ts +2 -2
- package/dist/components/CalculatorRefinancing/getRefinancingCalculatorParams.d.ts +2 -2
- package/dist/components/CalculatorRefinancing/getRefinancingCalculatorParams.js.map +1 -1
- package/dist/components/CalculatorRefinancing/getRefinancingCalculatorRateParams.d.ts +2 -13
- package/dist/components/CalculatorRefinancing/getRefinancingCalculatorRateParams.js +17 -20
- package/dist/components/CalculatorRefinancing/getRefinancingCalculatorRateParams.js.map +1 -1
- package/dist/components/Carousel/renderDepositResult.d.ts +10 -0
- package/dist/components/Carousel/renderDepositResult.js +10 -0
- package/dist/components/Carousel/renderDepositResult.js.map +1 -0
- package/dist/ui-kit/Calculator/CalculatorProps.d.ts +21 -0
- package/dist/ui-kit/Calculator/{CalcSourceProps.js → CalculatorProps.js} +1 -1
- package/dist/ui-kit/Calculator/CalculatorProps.js.map +1 -0
- package/dist/ui-kit/Calculator/calculatorConstants.d.ts +3 -0
- package/dist/ui-kit/Calculator/calculatorConstants.js +4 -1
- package/dist/ui-kit/Calculator/calculatorConstants.js.map +1 -1
- package/{lib/components → dist/ui-kit}/Calculator/getDefaultValues.d.ts +1 -1
- package/dist/{components → ui-kit}/Calculator/getDefaultValues.js +3 -3
- package/dist/ui-kit/Calculator/getDefaultValues.js.map +1 -0
- package/dist/ui-kit/Calculator/renderBinaryRadioButtonGroup.js.map +1 -0
- package/dist/ui-kit/Calculator/renderMonthsInput.js.map +1 -0
- package/{mobile/dist/components/Calculator/renderInterestPayment.d.ts → dist/ui-kit/Calculator/renderPayout.d.ts} +1 -1
- package/{mobile/dist/components/Calculator/renderInterestPayment.js → dist/ui-kit/Calculator/renderPayout.js} +4 -4
- package/dist/ui-kit/Calculator/renderPayout.js.map +1 -0
- package/lib/common.css +1 -1
- package/lib/components/Blocks.js +4 -0
- package/lib/components/Blocks.js.map +1 -1
- package/lib/components/Blocks.mobile.js +4 -0
- package/lib/components/Blocks.mobile.js.map +1 -1
- package/lib/components/Calculator/Calculator.fixture.d.ts +0 -1
- package/lib/components/Calculator/Calculator.fixture.mobile.d.ts +0 -2
- package/lib/components/Calculator/CalculatorContent.d.ts +3 -110
- package/lib/components/Calculator/CreditCalculatorForm.js +4 -3
- package/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/lib/components/Calculator/EmbeddableCalcBlocks.d.ts +1 -5
- package/lib/components/Calculator/EmbeddableCalcBlocks.js +0 -4
- package/lib/components/Calculator/EmbeddableCalcBlocks.js.map +1 -1
- package/lib/components/Calculator/getCreditCalculatorParams.d.ts +1 -0
- package/lib/components/Calculator/getCreditCalculatorParams.js +14 -1
- package/lib/components/Calculator/getCreditCalculatorParams.js.map +1 -1
- package/lib/components/Calculator/getCreditCalculatorRateParams.js +1 -1
- package/lib/components/Calculator/getCreditCalculatorRateParams.js.map +1 -1
- package/lib/components/Calculator/renderDaysInput.d.ts +1 -0
- package/lib/components/Calculator/renderPaymentType.d.ts +1 -1
- package/lib/components/Calculator/renderPaymentType.js +1 -1
- package/lib/components/Calculator/renderPaymentType.js.map +1 -1
- package/lib/components/Calculator/renderRegistrationType.d.ts +2 -1
- package/lib/components/Calculator/renderRegistrationType.js +1 -1
- package/lib/components/Calculator/renderRegistrationType.js.map +1 -1
- package/lib/components/CalculatorBonus/CalculatorBonusContent.d.ts +2 -5
- package/lib/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.d.ts +5 -0
- package/lib/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.fixture.d.ts +6 -0
- package/lib/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.fixture.mobile.d.ts +6 -0
- package/lib/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.js +58 -0
- package/lib/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.js.map +1 -0
- package/lib/components/CalculatorBusinessDeposit/CalculatorBusinessDepositContent.d.ts +52 -0
- package/lib/components/CalculatorBusinessDeposit/CalculatorBusinessDepositContent.js +2 -0
- package/lib/components/CalculatorBusinessDeposit/CalculatorBusinessDepositContent.js.map +1 -0
- package/lib/components/CalculatorBusinessDeposit/renderDaysInput.d.ts +2 -0
- package/lib/components/CalculatorBusinessDeposit/renderDaysInput.js +6 -0
- package/lib/components/CalculatorBusinessDeposit/renderDaysInput.js.map +1 -0
- package/{dist/components/Calculator/useBusinessDepositCalculatorParams.d.ts → lib/components/CalculatorBusinessDeposit/useBusinessDepositParams.d.ts} +5 -4
- package/lib/components/{Calculator/useBusinessDepositCalculatorParams.js → CalculatorBusinessDeposit/useBusinessDepositParams.js} +18 -3
- package/lib/components/CalculatorBusinessDeposit/useBusinessDepositParams.js.map +1 -0
- package/lib/components/CalculatorBusinessDeposit/useBusinessDepositRates.d.ts +4 -0
- package/lib/components/CalculatorBusinessDeposit/useBusinessDepositRates.js.map +1 -0
- package/lib/components/CalculatorDeposit/CalculatorDeposit.d.ts +9 -0
- package/lib/components/CalculatorDeposit/CalculatorDeposit.fixture.d.ts +6 -0
- package/lib/components/CalculatorDeposit/CalculatorDeposit.fixture.mobile.d.ts +6 -0
- package/lib/components/CalculatorDeposit/CalculatorDeposit.js +66 -0
- package/lib/components/CalculatorDeposit/CalculatorDeposit.js.map +1 -0
- package/lib/components/CalculatorDeposit/CalculatorDepositContent.d.ts +29 -0
- package/lib/components/CalculatorDeposit/CalculatorDepositContent.js +2 -0
- package/lib/components/CalculatorDeposit/CalculatorDepositContent.js.map +1 -0
- package/{mobile/bundle/components/Calculator → lib/components/CalculatorDeposit}/getDepositCalculatorParams.d.ts +2 -2
- package/{mobile/lib/components/Calculator → lib/components/CalculatorDeposit}/getDepositCalculatorParams.js +9 -1
- package/lib/components/CalculatorDeposit/getDepositCalculatorParams.js.map +1 -0
- package/lib/components/CalculatorDeposit/renderPaymentType.d.ts +3 -0
- package/lib/components/CalculatorDeposit/renderPaymentType.js +10 -0
- package/lib/components/CalculatorDeposit/renderPaymentType.js.map +1 -0
- package/lib/components/CalculatorDeposit/renderRegistrationType.d.ts +2 -0
- package/lib/components/CalculatorDeposit/renderRegistrationType.js +9 -0
- package/lib/components/CalculatorDeposit/renderRegistrationType.js.map +1 -0
- package/lib/components/CalculatorRefinancing/CalculatorRefinancing.fixture.mobile.d.ts +6 -0
- package/lib/components/CalculatorRefinancing/CalculatorRefinancing.js +1 -1
- package/lib/components/CalculatorRefinancing/CalculatorRefinancing.js.map +1 -1
- package/lib/components/CalculatorRefinancing/CalculatorRefinancingContent.d.ts +3 -12
- package/lib/components/CalculatorRefinancing/checkRefinancingSourceBookRowCommonParams.d.ts +2 -2
- package/lib/components/CalculatorRefinancing/getRefinancingCalculatorLimitParams.d.ts +2 -2
- package/lib/components/CalculatorRefinancing/getRefinancingCalculatorParams.d.ts +2 -2
- package/lib/components/CalculatorRefinancing/getRefinancingCalculatorParams.js.map +1 -1
- package/lib/components/CalculatorRefinancing/getRefinancingCalculatorRateParams.d.ts +2 -13
- package/lib/components/CalculatorRefinancing/getRefinancingCalculatorRateParams.js +8 -11
- package/lib/components/CalculatorRefinancing/getRefinancingCalculatorRateParams.js.map +1 -1
- package/lib/components/Carousel/renderDepositResult.d.ts +9 -0
- package/lib/components/Carousel/renderDepositResult.js +7 -0
- package/lib/components/Carousel/renderDepositResult.js.map +1 -0
- package/lib/components/TabsLayout/TabsLayout.fixture.d.ts +1 -0
- package/lib/ui-kit/Calculator/CalculatorProps.d.ts +21 -0
- package/lib/ui-kit/Calculator/CalculatorProps.js +2 -0
- package/lib/ui-kit/Calculator/CalculatorProps.js.map +1 -0
- package/lib/ui-kit/Calculator/calculatorConstants.d.ts +3 -0
- package/lib/ui-kit/Calculator/calculatorConstants.js +3 -0
- package/lib/ui-kit/Calculator/calculatorConstants.js.map +1 -1
- package/{mobile/bundle/components → lib/ui-kit}/Calculator/getDefaultValues.d.ts +1 -1
- package/lib/{components → ui-kit}/Calculator/getDefaultValues.js +1 -1
- package/lib/ui-kit/Calculator/getDefaultValues.js.map +1 -0
- package/lib/ui-kit/Calculator/renderBinaryRadioButtonGroup.js.map +1 -0
- package/lib/ui-kit/Calculator/renderMonthsInput.js.map +1 -0
- package/lib/ui-kit/Calculator/renderPayout.d.ts +2 -0
- package/lib/{components/Calculator/renderInterestPayment.js → ui-kit/Calculator/renderPayout.js} +2 -2
- package/lib/ui-kit/Calculator/renderPayout.js.map +1 -0
- package/mobile/bundle/bundle.umd.js +349 -346
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/Calculator/CalculatorContent.d.ts +3 -110
- package/mobile/bundle/components/Calculator/EmbeddableCalcBlocks.d.ts +1 -5
- package/mobile/bundle/components/Calculator/getCreditCalculatorParams.d.ts +1 -0
- package/mobile/bundle/components/Calculator/renderPaymentType.d.ts +1 -1
- package/mobile/bundle/components/Calculator/renderRegistrationType.d.ts +1 -1
- package/mobile/bundle/components/CalculatorBonus/CalculatorBonusContent.d.ts +2 -5
- package/mobile/bundle/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.d.ts +5 -0
- package/mobile/bundle/components/CalculatorBusinessDeposit/CalculatorBusinessDepositContent.d.ts +52 -0
- package/mobile/bundle/components/CalculatorBusinessDeposit/renderDaysInput.d.ts +3 -0
- package/{bundle/components/Calculator/useBusinessDepositCalculatorParams.d.ts → mobile/bundle/components/CalculatorBusinessDeposit/useBusinessDepositParams.d.ts} +5 -4
- package/mobile/bundle/components/CalculatorBusinessDeposit/useBusinessDepositRates.d.ts +4 -0
- package/mobile/bundle/components/CalculatorDeposit/CalculatorDeposit.d.ts +9 -0
- package/mobile/bundle/components/CalculatorDeposit/CalculatorDepositContent.d.ts +29 -0
- package/{dist/components/Calculator → mobile/bundle/components/CalculatorDeposit}/getDepositCalculatorParams.d.ts +2 -2
- package/mobile/bundle/components/CalculatorDeposit/renderPaymentType.d.ts +3 -0
- package/mobile/bundle/components/CalculatorDeposit/renderRegistrationType.d.ts +3 -0
- package/mobile/bundle/components/CalculatorRefinancing/CalculatorRefinancingContent.d.ts +3 -12
- package/mobile/bundle/components/CalculatorRefinancing/checkRefinancingSourceBookRowCommonParams.d.ts +2 -2
- package/mobile/bundle/components/CalculatorRefinancing/getRefinancingCalculatorLimitParams.d.ts +2 -2
- package/mobile/bundle/components/CalculatorRefinancing/getRefinancingCalculatorParams.d.ts +2 -2
- package/mobile/bundle/components/CalculatorRefinancing/getRefinancingCalculatorRateParams.d.ts +2 -13
- package/mobile/bundle/components/Carousel/renderDepositResult.d.ts +10 -0
- package/mobile/bundle/ui-kit/Calculator/CalculatorProps.d.ts +21 -0
- package/mobile/bundle/ui-kit/Calculator/calculatorConstants.d.ts +3 -0
- package/{bundle/components → mobile/bundle/ui-kit}/Calculator/getDefaultValues.d.ts +1 -1
- package/{dist/components/Calculator/renderInterestPayment.d.ts → mobile/bundle/ui-kit/Calculator/renderPayout.d.ts} +1 -1
- package/mobile/dist/components/Blocks.js +4 -0
- package/mobile/dist/components/Blocks.js.map +1 -1
- package/mobile/dist/components/Calculator/CalculatorContent.d.ts +3 -110
- package/mobile/dist/components/Calculator/CreditCalculatorForm.js +6 -5
- package/mobile/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/mobile/dist/components/Calculator/EmbeddableCalcBlocks.d.ts +1 -5
- package/mobile/dist/components/Calculator/EmbeddableCalcBlocks.js +0 -4
- package/mobile/dist/components/Calculator/EmbeddableCalcBlocks.js.map +1 -1
- package/mobile/dist/components/Calculator/getCreditCalculatorParams.d.ts +1 -0
- package/mobile/dist/components/Calculator/getCreditCalculatorParams.js +16 -3
- package/mobile/dist/components/Calculator/getCreditCalculatorParams.js.map +1 -1
- package/mobile/dist/components/Calculator/getCreditCalculatorRateParams.js +2 -2
- package/mobile/dist/components/Calculator/getCreditCalculatorRateParams.js.map +1 -1
- package/mobile/dist/components/Calculator/renderPaymentType.d.ts +1 -1
- package/mobile/dist/components/Calculator/renderPaymentType.js +1 -1
- package/mobile/dist/components/Calculator/renderPaymentType.js.map +1 -1
- package/mobile/dist/components/Calculator/renderRegistrationType.d.ts +1 -1
- package/mobile/dist/components/Calculator/renderRegistrationType.js +1 -1
- package/mobile/dist/components/Calculator/renderRegistrationType.js.map +1 -1
- package/mobile/dist/components/CalculatorBonus/CalculatorBonusContent.d.ts +2 -5
- package/mobile/dist/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.d.ts +5 -0
- package/mobile/dist/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.js +60 -0
- package/mobile/dist/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.js.map +1 -0
- package/mobile/dist/components/CalculatorBusinessDeposit/CalculatorBusinessDepositContent.d.ts +52 -0
- package/mobile/dist/components/CalculatorBusinessDeposit/CalculatorBusinessDepositContent.js +2 -0
- package/mobile/dist/components/CalculatorBusinessDeposit/CalculatorBusinessDepositContent.js.map +1 -0
- package/mobile/dist/components/CalculatorBusinessDeposit/renderDaysInput.d.ts +3 -0
- package/mobile/dist/components/CalculatorBusinessDeposit/renderDaysInput.js +9 -0
- package/mobile/dist/components/CalculatorBusinessDeposit/renderDaysInput.js.map +1 -0
- package/mobile/dist/components/CalculatorBusinessDeposit/useBusinessDepositParams.d.ts +26 -0
- package/mobile/dist/components/{Calculator/useBusinessDepositCalculatorParams.js → CalculatorBusinessDeposit/useBusinessDepositParams.js} +25 -10
- package/mobile/dist/components/CalculatorBusinessDeposit/useBusinessDepositParams.js.map +1 -0
- package/mobile/dist/components/CalculatorBusinessDeposit/useBusinessDepositRates.d.ts +4 -0
- package/mobile/dist/components/CalculatorBusinessDeposit/useBusinessDepositRates.js.map +1 -0
- package/mobile/dist/components/CalculatorDeposit/CalculatorDeposit.d.ts +9 -0
- package/mobile/dist/components/CalculatorDeposit/CalculatorDeposit.js +68 -0
- package/mobile/dist/components/CalculatorDeposit/CalculatorDeposit.js.map +1 -0
- package/mobile/dist/components/CalculatorDeposit/CalculatorDepositContent.d.ts +29 -0
- package/mobile/dist/components/CalculatorDeposit/CalculatorDepositContent.js +2 -0
- package/mobile/dist/components/CalculatorDeposit/CalculatorDepositContent.js.map +1 -0
- package/mobile/dist/components/CalculatorDeposit/getDepositCalculatorParams.d.ts +26 -0
- package/{dist/components/Calculator → mobile/dist/components/CalculatorDeposit}/getDepositCalculatorParams.js +11 -3
- package/mobile/dist/components/CalculatorDeposit/getDepositCalculatorParams.js.map +1 -0
- package/mobile/dist/components/CalculatorDeposit/renderPaymentType.d.ts +3 -0
- package/mobile/dist/components/CalculatorDeposit/renderPaymentType.js +13 -0
- package/mobile/dist/components/CalculatorDeposit/renderPaymentType.js.map +1 -0
- package/mobile/dist/components/CalculatorDeposit/renderRegistrationType.d.ts +3 -0
- package/mobile/dist/components/CalculatorDeposit/renderRegistrationType.js +12 -0
- package/mobile/dist/components/CalculatorDeposit/renderRegistrationType.js.map +1 -0
- package/mobile/dist/components/CalculatorRefinancing/CalculatorRefinancing.js +1 -1
- package/mobile/dist/components/CalculatorRefinancing/CalculatorRefinancing.js.map +1 -1
- package/mobile/dist/components/CalculatorRefinancing/CalculatorRefinancingContent.d.ts +3 -12
- package/mobile/dist/components/CalculatorRefinancing/checkRefinancingSourceBookRowCommonParams.d.ts +2 -2
- package/mobile/dist/components/CalculatorRefinancing/getRefinancingCalculatorLimitParams.d.ts +2 -2
- package/mobile/dist/components/CalculatorRefinancing/getRefinancingCalculatorParams.d.ts +2 -2
- package/mobile/dist/components/CalculatorRefinancing/getRefinancingCalculatorParams.js.map +1 -1
- package/mobile/dist/components/CalculatorRefinancing/getRefinancingCalculatorRateParams.d.ts +2 -13
- package/mobile/dist/components/CalculatorRefinancing/getRefinancingCalculatorRateParams.js +17 -20
- package/mobile/dist/components/CalculatorRefinancing/getRefinancingCalculatorRateParams.js.map +1 -1
- package/mobile/dist/components/Carousel/renderDepositResult.d.ts +10 -0
- package/mobile/dist/components/Carousel/renderDepositResult.js +10 -0
- package/mobile/dist/components/Carousel/renderDepositResult.js.map +1 -0
- package/mobile/dist/ui-kit/Calculator/CalculatorProps.d.ts +21 -0
- package/mobile/dist/ui-kit/Calculator/{CalcSourceProps.js → CalculatorProps.js} +1 -1
- package/mobile/dist/ui-kit/Calculator/CalculatorProps.js.map +1 -0
- package/mobile/dist/ui-kit/Calculator/calculatorConstants.d.ts +3 -0
- package/mobile/dist/ui-kit/Calculator/calculatorConstants.js +4 -1
- package/mobile/dist/ui-kit/Calculator/calculatorConstants.js.map +1 -1
- package/mobile/dist/ui-kit/Calculator/getDefaultValues.d.ts +3 -0
- package/mobile/dist/{components → ui-kit}/Calculator/getDefaultValues.js +3 -3
- package/mobile/dist/ui-kit/Calculator/getDefaultValues.js.map +1 -0
- package/mobile/dist/ui-kit/Calculator/renderBinaryRadioButtonGroup.js.map +1 -0
- package/mobile/dist/ui-kit/Calculator/renderMonthsInput.js.map +1 -0
- package/mobile/{bundle/components/Calculator/renderInterestPayment.d.ts → dist/ui-kit/Calculator/renderPayout.d.ts} +1 -1
- package/{dist/components/Calculator/renderInterestPayment.js → mobile/dist/ui-kit/Calculator/renderPayout.js} +4 -4
- package/mobile/dist/ui-kit/Calculator/renderPayout.js.map +1 -0
- package/mobile/lib/common.css +1 -1
- package/mobile/lib/components/Blocks.js +4 -0
- package/mobile/lib/components/Blocks.js.map +1 -1
- package/mobile/lib/components/Calculator/CalculatorContent.d.ts +3 -110
- package/mobile/lib/components/Calculator/CreditCalculatorForm.js +4 -3
- package/mobile/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/mobile/lib/components/Calculator/EmbeddableCalcBlocks.d.ts +1 -5
- package/mobile/lib/components/Calculator/EmbeddableCalcBlocks.js +0 -4
- package/mobile/lib/components/Calculator/EmbeddableCalcBlocks.js.map +1 -1
- package/mobile/lib/components/Calculator/getCreditCalculatorParams.d.ts +1 -0
- package/mobile/lib/components/Calculator/getCreditCalculatorParams.js +14 -1
- package/mobile/lib/components/Calculator/getCreditCalculatorParams.js.map +1 -1
- package/mobile/lib/components/Calculator/getCreditCalculatorRateParams.js +1 -1
- package/mobile/lib/components/Calculator/getCreditCalculatorRateParams.js.map +1 -1
- package/mobile/lib/components/Calculator/renderPaymentType.d.ts +1 -1
- package/mobile/lib/components/Calculator/renderPaymentType.js +1 -1
- package/mobile/lib/components/Calculator/renderPaymentType.js.map +1 -1
- package/mobile/lib/components/Calculator/renderRegistrationType.d.ts +1 -1
- package/mobile/lib/components/Calculator/renderRegistrationType.js +1 -1
- package/mobile/lib/components/Calculator/renderRegistrationType.js.map +1 -1
- package/mobile/lib/components/CalculatorBonus/CalculatorBonusContent.d.ts +2 -5
- package/mobile/lib/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.d.ts +5 -0
- package/mobile/lib/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.js +58 -0
- package/mobile/lib/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.js.map +1 -0
- package/mobile/lib/components/CalculatorBusinessDeposit/CalculatorBusinessDepositContent.d.ts +52 -0
- package/mobile/lib/components/CalculatorBusinessDeposit/CalculatorBusinessDepositContent.js +2 -0
- package/mobile/lib/components/CalculatorBusinessDeposit/CalculatorBusinessDepositContent.js.map +1 -0
- package/mobile/lib/components/CalculatorBusinessDeposit/renderDaysInput.d.ts +3 -0
- package/mobile/lib/components/CalculatorBusinessDeposit/renderDaysInput.js +6 -0
- package/mobile/lib/components/CalculatorBusinessDeposit/renderDaysInput.js.map +1 -0
- package/mobile/lib/components/CalculatorBusinessDeposit/useBusinessDepositParams.d.ts +26 -0
- package/mobile/lib/components/{Calculator/useBusinessDepositCalculatorParams.js → CalculatorBusinessDeposit/useBusinessDepositParams.js} +18 -3
- package/mobile/lib/components/CalculatorBusinessDeposit/useBusinessDepositParams.js.map +1 -0
- package/mobile/lib/components/CalculatorBusinessDeposit/useBusinessDepositRates.d.ts +4 -0
- package/mobile/lib/components/CalculatorBusinessDeposit/useBusinessDepositRates.js.map +1 -0
- package/mobile/lib/components/CalculatorDeposit/CalculatorDeposit.d.ts +9 -0
- package/mobile/lib/components/CalculatorDeposit/CalculatorDeposit.js +66 -0
- package/mobile/lib/components/CalculatorDeposit/CalculatorDeposit.js.map +1 -0
- package/mobile/lib/components/CalculatorDeposit/CalculatorDepositContent.d.ts +29 -0
- package/mobile/lib/components/CalculatorDeposit/CalculatorDepositContent.js +2 -0
- package/mobile/lib/components/CalculatorDeposit/CalculatorDepositContent.js.map +1 -0
- package/mobile/lib/components/CalculatorDeposit/getDepositCalculatorParams.d.ts +26 -0
- package/{lib/components/Calculator → mobile/lib/components/CalculatorDeposit}/getDepositCalculatorParams.js +9 -1
- package/mobile/lib/components/CalculatorDeposit/getDepositCalculatorParams.js.map +1 -0
- package/mobile/lib/components/CalculatorDeposit/renderPaymentType.d.ts +3 -0
- package/mobile/lib/components/CalculatorDeposit/renderPaymentType.js +10 -0
- package/mobile/lib/components/CalculatorDeposit/renderPaymentType.js.map +1 -0
- package/mobile/lib/components/CalculatorDeposit/renderRegistrationType.d.ts +3 -0
- package/mobile/lib/components/CalculatorDeposit/renderRegistrationType.js +9 -0
- package/mobile/lib/components/CalculatorDeposit/renderRegistrationType.js.map +1 -0
- package/mobile/lib/components/CalculatorRefinancing/CalculatorRefinancing.js +1 -1
- package/mobile/lib/components/CalculatorRefinancing/CalculatorRefinancing.js.map +1 -1
- package/mobile/lib/components/CalculatorRefinancing/CalculatorRefinancingContent.d.ts +3 -12
- package/mobile/lib/components/CalculatorRefinancing/checkRefinancingSourceBookRowCommonParams.d.ts +2 -2
- package/mobile/lib/components/CalculatorRefinancing/getRefinancingCalculatorLimitParams.d.ts +2 -2
- package/mobile/lib/components/CalculatorRefinancing/getRefinancingCalculatorParams.d.ts +2 -2
- package/mobile/lib/components/CalculatorRefinancing/getRefinancingCalculatorParams.js.map +1 -1
- package/mobile/lib/components/CalculatorRefinancing/getRefinancingCalculatorRateParams.d.ts +2 -13
- package/mobile/lib/components/CalculatorRefinancing/getRefinancingCalculatorRateParams.js +8 -11
- package/mobile/lib/components/CalculatorRefinancing/getRefinancingCalculatorRateParams.js.map +1 -1
- package/mobile/lib/components/Carousel/renderDepositResult.d.ts +10 -0
- package/mobile/lib/components/Carousel/renderDepositResult.js +7 -0
- package/mobile/lib/components/Carousel/renderDepositResult.js.map +1 -0
- package/mobile/lib/ui-kit/Calculator/CalculatorProps.d.ts +21 -0
- package/mobile/lib/ui-kit/Calculator/CalculatorProps.js +2 -0
- package/mobile/lib/ui-kit/Calculator/CalculatorProps.js.map +1 -0
- package/mobile/lib/ui-kit/Calculator/calculatorConstants.d.ts +3 -0
- package/mobile/lib/ui-kit/Calculator/calculatorConstants.js +3 -0
- package/mobile/lib/ui-kit/Calculator/calculatorConstants.js.map +1 -1
- package/mobile/lib/ui-kit/Calculator/getDefaultValues.d.ts +3 -0
- package/mobile/lib/{components → ui-kit}/Calculator/getDefaultValues.js +1 -1
- package/mobile/lib/ui-kit/Calculator/getDefaultValues.js.map +1 -0
- package/mobile/lib/ui-kit/Calculator/renderBinaryRadioButtonGroup.js.map +1 -0
- package/mobile/lib/ui-kit/Calculator/renderMonthsInput.js.map +1 -0
- package/mobile/lib/ui-kit/Calculator/renderPayout.d.ts +3 -0
- package/mobile/lib/{components/Calculator/renderInterestPayment.js → ui-kit/Calculator/renderPayout.js} +2 -2
- package/mobile/lib/ui-kit/Calculator/renderPayout.js.map +1 -0
- package/mobile/src/components/Blocks.ts +4 -0
- package/mobile/src/components/Calculator/CalculatorContent.ts +7 -130
- package/mobile/src/components/Calculator/CreditCalculatorForm.tsx +8 -3
- package/mobile/src/components/Calculator/EmbeddableCalcBlocks.tsx +1 -11
- package/mobile/src/components/Calculator/getCreditCalculatorParams.ts +19 -1
- package/mobile/src/components/Calculator/getCreditCalculatorRateParams.ts +1 -1
- package/mobile/src/components/Calculator/renderPaymentType.tsx +1 -1
- package/mobile/src/components/Calculator/renderRegistrationType.tsx +1 -1
- package/mobile/src/components/CalculatorBonus/CalculatorBonusContent.ts +2 -9
- package/{src/components/Calculator/BusinessDepositCalculatorForm.tsx → mobile/src/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.tsx} +51 -49
- package/mobile/src/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.ui.json +22 -0
- package/mobile/src/components/CalculatorBusinessDeposit/CalculatorBusinessDepositContent.ts +63 -0
- package/mobile/src/components/CalculatorBusinessDeposit/renderDaysInput.tsx +14 -0
- package/mobile/src/components/{Calculator/useBusinessDepositCalculatorParams.ts → CalculatorBusinessDeposit/useBusinessDepositParams.ts} +26 -17
- package/mobile/src/components/{Calculator → CalculatorBusinessDeposit}/useBusinessDepositRates.ts +5 -5
- package/mobile/src/components/CalculatorDeposit/CalculatorDeposit.tsx +125 -0
- package/mobile/src/components/CalculatorDeposit/CalculatorDepositContent.ts +36 -0
- package/mobile/src/components/{Calculator → CalculatorDeposit}/getDepositCalculatorParams.ts +12 -3
- package/mobile/src/components/CalculatorDeposit/renderPaymentType.tsx +14 -0
- package/mobile/src/components/CalculatorDeposit/renderRegistrationType.tsx +13 -0
- package/mobile/src/components/CalculatorRefinancing/CalculatorRefinancing.tsx +4 -6
- package/mobile/src/components/CalculatorRefinancing/CalculatorRefinancingContent.ts +6 -16
- package/mobile/src/components/CalculatorRefinancing/checkRefinancingSourceBookRowCommonParams.ts +2 -2
- package/mobile/src/components/CalculatorRefinancing/getRefinancingCalculatorLimitParams.ts +2 -2
- package/mobile/src/components/CalculatorRefinancing/getRefinancingCalculatorParams.ts +2 -2
- package/mobile/src/components/CalculatorRefinancing/getRefinancingCalculatorRateParams.ts +10 -13
- package/mobile/src/components/Carousel/renderDepositResult.tsx +26 -0
- package/mobile/src/icons/RustoreIcon.svg +2 -3
- package/mobile/src/ui-kit/Calculator/CalculatorProps.ts +25 -0
- package/mobile/src/ui-kit/Calculator/calculatorConstants.tsx +3 -1
- package/mobile/src/{components → ui-kit}/Calculator/getDefaultValues.ts +2 -2
- package/mobile/src/{components/Calculator/renderInterestPayment.tsx → ui-kit/Calculator/renderPayout.tsx} +1 -1
- package/package.json +1 -1
- package/src/components/Blocks.mobile.ts +4 -0
- package/src/components/Blocks.ts +4 -0
- package/src/components/Calculator/Calculator.fixture.mobile.tsx +0 -34
- package/src/components/Calculator/Calculator.fixture.tsx +1 -68
- package/src/components/Calculator/CalculatorContent.ts +7 -130
- package/src/components/Calculator/CreditCalculatorForm.tsx +8 -3
- package/src/components/Calculator/EmbeddableCalcBlocks.tsx +1 -11
- package/src/components/Calculator/getCreditCalculatorParams.ts +19 -1
- package/src/components/Calculator/getCreditCalculatorRateParams.ts +1 -1
- package/src/components/Calculator/renderPaymentType.tsx +1 -1
- package/src/components/Calculator/renderRegistrationType.tsx +1 -1
- package/src/components/CalculatorBonus/CalculatorBonusContent.ts +2 -9
- package/src/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.fixture.mobile.tsx +39 -0
- package/src/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.fixture.tsx +39 -0
- package/{mobile/src/components/Calculator/BusinessDepositCalculatorForm.tsx → src/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.tsx} +51 -49
- package/src/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.ui.json +22 -0
- package/src/components/CalculatorBusinessDeposit/CalculatorBusinessDepositContent.ts +63 -0
- package/src/components/CalculatorBusinessDeposit/renderDaysInput.tsx +14 -0
- package/src/components/{Calculator/useBusinessDepositCalculatorParams.ts → CalculatorBusinessDeposit/useBusinessDepositParams.ts} +26 -17
- package/src/components/{Calculator → CalculatorBusinessDeposit}/useBusinessDepositRates.ts +5 -5
- package/src/components/CalculatorDeposit/CalculatorDeposit.fixture.mobile.tsx +41 -0
- package/src/components/CalculatorDeposit/CalculatorDeposit.fixture.tsx +41 -0
- package/src/components/CalculatorDeposit/CalculatorDeposit.tsx +125 -0
- package/src/components/CalculatorDeposit/CalculatorDepositContent.ts +36 -0
- package/src/components/{Calculator → CalculatorDeposit}/getDepositCalculatorParams.ts +12 -3
- package/src/components/CalculatorDeposit/renderPaymentType.tsx +14 -0
- package/src/components/CalculatorDeposit/renderRegistrationType.tsx +13 -0
- package/src/components/CalculatorRefinancing/CalculatorRefinancing.fixture.mobile.tsx +35 -0
- package/src/components/CalculatorRefinancing/CalculatorRefinancing.fixture.tsx +1 -1
- package/src/components/CalculatorRefinancing/CalculatorRefinancing.tsx +4 -6
- package/src/components/CalculatorRefinancing/CalculatorRefinancingContent.ts +6 -16
- package/src/components/CalculatorRefinancing/checkRefinancingSourceBookRowCommonParams.ts +2 -2
- package/src/components/CalculatorRefinancing/getRefinancingCalculatorLimitParams.ts +2 -2
- package/src/components/CalculatorRefinancing/getRefinancingCalculatorParams.ts +2 -2
- package/src/components/CalculatorRefinancing/getRefinancingCalculatorRateParams.ts +10 -13
- package/src/components/Carousel/renderDepositResult.tsx +26 -0
- package/src/components/TabsLayout/TabsLayout.fixture.tsx +32 -0
- package/src/icons/RustoreIcon.svg +2 -3
- package/src/ui-kit/Calculator/CalculatorProps.ts +25 -0
- package/src/ui-kit/Calculator/calculatorConstants.tsx +3 -1
- package/src/{components → ui-kit}/Calculator/getDefaultValues.ts +2 -2
- package/src/{components/Calculator/renderInterestPayment.tsx → ui-kit/Calculator/renderPayout.tsx} +1 -1
- package/bundle/components/Calculator/BusinessDepositCalculatorForm.d.ts +0 -5
- package/bundle/components/Calculator/DepositCalculatorForm.d.ts +0 -8
- package/bundle/components/Calculator/constants.d.ts +0 -24
- package/bundle/components/Calculator/useBusinessDepositRates.d.ts +0 -4
- package/bundle/ui-kit/Calculator/CalcSourceProps.d.ts +0 -5
- package/dist/components/Calculator/BusinessDepositCalculatorForm.d.ts +0 -5
- package/dist/components/Calculator/BusinessDepositCalculatorForm.js +0 -55
- package/dist/components/Calculator/BusinessDepositCalculatorForm.js.map +0 -1
- package/dist/components/Calculator/DepositCalculatorForm.d.ts +0 -8
- package/dist/components/Calculator/DepositCalculatorForm.js +0 -69
- package/dist/components/Calculator/DepositCalculatorForm.js.map +0 -1
- package/dist/components/Calculator/constants.d.ts +0 -24
- package/dist/components/Calculator/constants.js +0 -52
- package/dist/components/Calculator/constants.js.map +0 -1
- package/dist/components/Calculator/getDefaultValues.js.map +0 -1
- package/dist/components/Calculator/getDepositCalculatorParams.js.map +0 -1
- package/dist/components/Calculator/renderBinaryRadioButtonGroup.js.map +0 -1
- package/dist/components/Calculator/renderInterestPayment.js.map +0 -1
- package/dist/components/Calculator/renderMonthsInput.js.map +0 -1
- package/dist/components/Calculator/useBusinessDepositCalculatorParams.js.map +0 -1
- package/dist/components/Calculator/useBusinessDepositRates.d.ts +0 -4
- package/dist/components/Calculator/useBusinessDepositRates.js.map +0 -1
- package/dist/ui-kit/Calculator/CalcSourceProps.d.ts +0 -5
- package/dist/ui-kit/Calculator/CalcSourceProps.js.map +0 -1
- package/lib/components/Calculator/BusinessDepositCalculatorForm.d.ts +0 -5
- package/lib/components/Calculator/BusinessDepositCalculatorForm.js +0 -53
- package/lib/components/Calculator/BusinessDepositCalculatorForm.js.map +0 -1
- package/lib/components/Calculator/DepositCalculatorForm.d.ts +0 -8
- package/lib/components/Calculator/DepositCalculatorForm.js +0 -67
- package/lib/components/Calculator/DepositCalculatorForm.js.map +0 -1
- package/lib/components/Calculator/constants.d.ts +0 -24
- package/lib/components/Calculator/constants.js +0 -50
- package/lib/components/Calculator/constants.js.map +0 -1
- package/lib/components/Calculator/getDefaultValues.js.map +0 -1
- package/lib/components/Calculator/getDepositCalculatorParams.js.map +0 -1
- package/lib/components/Calculator/renderBinaryRadioButtonGroup.js.map +0 -1
- package/lib/components/Calculator/renderInterestPayment.d.ts +0 -2
- package/lib/components/Calculator/renderInterestPayment.js.map +0 -1
- package/lib/components/Calculator/renderMonthsInput.js.map +0 -1
- package/lib/components/Calculator/useBusinessDepositCalculatorParams.js.map +0 -1
- package/lib/components/Calculator/useBusinessDepositRates.d.ts +0 -4
- package/lib/components/Calculator/useBusinessDepositRates.js.map +0 -1
- package/lib/ui-kit/Calculator/CalcSourceProps.d.ts +0 -5
- package/lib/ui-kit/Calculator/CalcSourceProps.js +0 -2
- package/lib/ui-kit/Calculator/CalcSourceProps.js.map +0 -1
- package/mobile/bundle/components/Calculator/BusinessDepositCalculatorForm.d.ts +0 -5
- package/mobile/bundle/components/Calculator/DepositCalculatorForm.d.ts +0 -8
- package/mobile/bundle/components/Calculator/constants.d.ts +0 -24
- package/mobile/bundle/components/Calculator/useBusinessDepositRates.d.ts +0 -4
- package/mobile/bundle/ui-kit/Calculator/CalcSourceProps.d.ts +0 -5
- package/mobile/dist/components/Calculator/BusinessDepositCalculatorForm.d.ts +0 -5
- package/mobile/dist/components/Calculator/BusinessDepositCalculatorForm.js +0 -55
- package/mobile/dist/components/Calculator/BusinessDepositCalculatorForm.js.map +0 -1
- package/mobile/dist/components/Calculator/DepositCalculatorForm.d.ts +0 -8
- package/mobile/dist/components/Calculator/DepositCalculatorForm.js +0 -69
- package/mobile/dist/components/Calculator/DepositCalculatorForm.js.map +0 -1
- package/mobile/dist/components/Calculator/constants.d.ts +0 -24
- package/mobile/dist/components/Calculator/constants.js +0 -52
- package/mobile/dist/components/Calculator/constants.js.map +0 -1
- package/mobile/dist/components/Calculator/getDefaultValues.d.ts +0 -3
- package/mobile/dist/components/Calculator/getDefaultValues.js.map +0 -1
- package/mobile/dist/components/Calculator/getDepositCalculatorParams.d.ts +0 -26
- package/mobile/dist/components/Calculator/getDepositCalculatorParams.js.map +0 -1
- package/mobile/dist/components/Calculator/renderBinaryRadioButtonGroup.js.map +0 -1
- package/mobile/dist/components/Calculator/renderInterestPayment.js.map +0 -1
- package/mobile/dist/components/Calculator/renderMonthsInput.js.map +0 -1
- package/mobile/dist/components/Calculator/useBusinessDepositCalculatorParams.d.ts +0 -25
- package/mobile/dist/components/Calculator/useBusinessDepositCalculatorParams.js.map +0 -1
- package/mobile/dist/components/Calculator/useBusinessDepositRates.d.ts +0 -4
- package/mobile/dist/components/Calculator/useBusinessDepositRates.js.map +0 -1
- package/mobile/dist/ui-kit/Calculator/CalcSourceProps.d.ts +0 -5
- package/mobile/dist/ui-kit/Calculator/CalcSourceProps.js.map +0 -1
- package/mobile/lib/components/Calculator/BusinessDepositCalculatorForm.d.ts +0 -5
- package/mobile/lib/components/Calculator/BusinessDepositCalculatorForm.js +0 -53
- package/mobile/lib/components/Calculator/BusinessDepositCalculatorForm.js.map +0 -1
- package/mobile/lib/components/Calculator/DepositCalculatorForm.d.ts +0 -8
- package/mobile/lib/components/Calculator/DepositCalculatorForm.js +0 -67
- package/mobile/lib/components/Calculator/DepositCalculatorForm.js.map +0 -1
- package/mobile/lib/components/Calculator/constants.d.ts +0 -24
- package/mobile/lib/components/Calculator/constants.js +0 -50
- package/mobile/lib/components/Calculator/constants.js.map +0 -1
- package/mobile/lib/components/Calculator/getDefaultValues.d.ts +0 -3
- package/mobile/lib/components/Calculator/getDefaultValues.js.map +0 -1
- package/mobile/lib/components/Calculator/getDepositCalculatorParams.d.ts +0 -26
- package/mobile/lib/components/Calculator/getDepositCalculatorParams.js.map +0 -1
- package/mobile/lib/components/Calculator/renderBinaryRadioButtonGroup.js.map +0 -1
- package/mobile/lib/components/Calculator/renderInterestPayment.d.ts +0 -3
- package/mobile/lib/components/Calculator/renderInterestPayment.js.map +0 -1
- package/mobile/lib/components/Calculator/renderMonthsInput.js.map +0 -1
- package/mobile/lib/components/Calculator/useBusinessDepositCalculatorParams.d.ts +0 -25
- package/mobile/lib/components/Calculator/useBusinessDepositCalculatorParams.js.map +0 -1
- package/mobile/lib/components/Calculator/useBusinessDepositRates.d.ts +0 -4
- package/mobile/lib/components/Calculator/useBusinessDepositRates.js.map +0 -1
- package/mobile/lib/ui-kit/Calculator/CalcSourceProps.d.ts +0 -5
- package/mobile/lib/ui-kit/Calculator/CalcSourceProps.js +0 -2
- package/mobile/lib/ui-kit/Calculator/CalcSourceProps.js.map +0 -1
- package/mobile/src/components/Calculator/DepositCalculatorForm.tsx +0 -119
- package/mobile/src/components/Calculator/constants.ts +0 -58
- package/mobile/src/ui-kit/Calculator/CalcSourceProps.ts +0 -6
- package/src/components/Calculator/DepositCalculatorForm.tsx +0 -119
- package/src/components/Calculator/constants.ts +0 -58
- package/src/ui-kit/Calculator/CalcSourceProps.ts +0 -6
- /package/bundle/{components → ui-kit}/Calculator/renderBinaryRadioButtonGroup.d.ts +0 -0
- /package/bundle/{components → ui-kit}/Calculator/renderMonthsInput.d.ts +0 -0
- /package/dist/components/{Calculator → CalculatorBusinessDeposit}/useBusinessDepositRates.js +0 -0
- /package/dist/{components → ui-kit}/Calculator/renderBinaryRadioButtonGroup.d.ts +0 -0
- /package/dist/{components → ui-kit}/Calculator/renderBinaryRadioButtonGroup.js +0 -0
- /package/dist/{components → ui-kit}/Calculator/renderMonthsInput.d.ts +0 -0
- /package/dist/{components → ui-kit}/Calculator/renderMonthsInput.js +0 -0
- /package/lib/components/{Calculator → CalculatorBusinessDeposit}/useBusinessDepositRates.js +0 -0
- /package/lib/{components → ui-kit}/Calculator/renderBinaryRadioButtonGroup.d.ts +0 -0
- /package/lib/{components → ui-kit}/Calculator/renderBinaryRadioButtonGroup.js +0 -0
- /package/lib/{components → ui-kit}/Calculator/renderMonthsInput.d.ts +0 -0
- /package/lib/{components → ui-kit}/Calculator/renderMonthsInput.js +0 -0
- /package/mobile/bundle/{components → ui-kit}/Calculator/renderBinaryRadioButtonGroup.d.ts +0 -0
- /package/mobile/bundle/{components → ui-kit}/Calculator/renderMonthsInput.d.ts +0 -0
- /package/mobile/dist/components/{Calculator → CalculatorBusinessDeposit}/useBusinessDepositRates.js +0 -0
- /package/mobile/dist/{components → ui-kit}/Calculator/renderBinaryRadioButtonGroup.d.ts +0 -0
- /package/mobile/dist/{components → ui-kit}/Calculator/renderBinaryRadioButtonGroup.js +0 -0
- /package/mobile/dist/{components → ui-kit}/Calculator/renderMonthsInput.d.ts +0 -0
- /package/mobile/dist/{components → ui-kit}/Calculator/renderMonthsInput.js +0 -0
- /package/mobile/lib/components/{Calculator → CalculatorBusinessDeposit}/useBusinessDepositRates.js +0 -0
- /package/mobile/lib/{components → ui-kit}/Calculator/renderBinaryRadioButtonGroup.d.ts +0 -0
- /package/mobile/lib/{components → ui-kit}/Calculator/renderBinaryRadioButtonGroup.js +0 -0
- /package/mobile/lib/{components → ui-kit}/Calculator/renderMonthsInput.d.ts +0 -0
- /package/mobile/lib/{components → ui-kit}/Calculator/renderMonthsInput.js +0 -0
- /package/mobile/src/{components → ui-kit}/Calculator/renderBinaryRadioButtonGroup.tsx +0 -0
- /package/mobile/src/{components → ui-kit}/Calculator/renderMonthsInput.tsx +0 -0
- /package/src/{components → ui-kit}/Calculator/renderBinaryRadioButtonGroup.tsx +0 -0
- /package/src/{components → ui-kit}/Calculator/renderMonthsInput.tsx +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { renderBinaryRadioButtonGroup, } from '
|
|
1
|
+
import { renderBinaryRadioButtonGroup, } from '../../ui-kit/Calculator/renderBinaryRadioButtonGroup.js';
|
|
2
2
|
export const renderPaymentType = (props) => renderBinaryRadioButtonGroup({
|
|
3
3
|
...props,
|
|
4
4
|
radioGroupClassName: 'sm:flex-col',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderPaymentType.js","sourceRoot":"","sources":["../../../src/components/Calculator/renderPaymentType.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,4BAA4B,GAE7B,MAAM,
|
|
1
|
+
{"version":3,"file":"renderPaymentType.js","sourceRoot":"","sources":["../../../src/components/Calculator/renderPaymentType.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,4BAA4B,GAE7B,MAAM,sDAAsD,CAAC;AAE9D,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,KAA2C,EAAE,EAAE,CAC/E,4BAA4B,CAAC;IAC3B,GAAG,KAAK;IACR,mBAAmB,EAAE,aAAa;IAClC,KAAK,EAAE;QACL,EAAE,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,aAAa,EAAE;QACtC,EAAE,EAAE,EAAE,cAAc,EAAE,IAAI,EAAE,oBAAoB,EAAE;KACnD;CACF,CAAC,CAAC"}
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { type BinaryRadioButtonGroupProps } from '../../ui-kit/Calculator/renderBinaryRadioButtonGroup';
|
|
2
3
|
export declare const renderRegistrationType: (props: Partial<BinaryRadioButtonGroupProps>) => JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { renderBinaryRadioButtonGroup, } from '
|
|
1
|
+
import { renderBinaryRadioButtonGroup, } from '../../ui-kit/Calculator/renderBinaryRadioButtonGroup.js';
|
|
2
2
|
export const renderRegistrationType = (props) => renderBinaryRadioButtonGroup({
|
|
3
3
|
...props,
|
|
4
4
|
items: [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderRegistrationType.js","sourceRoot":"","sources":["../../../src/components/Calculator/renderRegistrationType.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,4BAA4B,GAE7B,MAAM,
|
|
1
|
+
{"version":3,"file":"renderRegistrationType.js","sourceRoot":"","sources":["../../../src/components/Calculator/renderRegistrationType.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,4BAA4B,GAE7B,MAAM,sDAAsD,CAAC;AAE9D,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,KAA2C,EAAE,EAAE,CACpF,4BAA4B,CAAC;IAC3B,GAAG,KAAK;IACR,KAAK,EAAE;QACL,EAAE,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,cAAc,EAAE;QACtC,EAAE,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,YAAY,EAAE;KACrC;CACF,CAAC,CAAC"}
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
import { type
|
|
2
|
-
import { type TitleProps } from '../../model/HeadlineType';
|
|
3
|
-
import { type CalcSourceProps } from '../../ui-kit/Calculator/CalcSourceProps';
|
|
4
|
-
import { type ButtonsSectionContent } from '../../ui-kit/LinkButton/ButtonsSectionContent';
|
|
1
|
+
import { type CommonCalculatorProps } from '../../ui-kit/Calculator/CalculatorProps';
|
|
5
2
|
import { type UniBlockContent } from '../../UniBlock/UniBlockProps';
|
|
6
3
|
/**
|
|
7
4
|
* @title Калькулятор бонусов
|
|
8
5
|
*/
|
|
9
|
-
export declare type CalculatorBonusContent = UniBlockContent &
|
|
6
|
+
export declare type CalculatorBonusContent = UniBlockContent & CommonCalculatorProps;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { type CalculatorBusinessDepositContent, type CalculatorBusinessDepositProps } from './CalculatorBusinessDepositContent';
|
|
2
|
+
export interface CalculatorBusinessDepositProp extends CalculatorBusinessDepositProps, CalculatorBusinessDepositContent {
|
|
3
|
+
className?: string;
|
|
4
|
+
}
|
|
5
|
+
export declare const CalculatorBusinessDeposit: import("../../UniBlock/UniBlock").UniBlockComponent<CalculatorBusinessDepositProp>;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { jsxs as _jsxs, jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
+
import { useForm } from '../../hooks/useForm.js';
|
|
3
|
+
import { CalculatorLayout } from '../../ui-kit/Calculator/CalculatorLayout.js';
|
|
4
|
+
import { CalculatorStyle } from '../../ui-kit/Calculator/CalculatorStyle.js';
|
|
5
|
+
import { getMoneyDefaultValue, getMonthsDefaultValue, } from '../../ui-kit/Calculator/getDefaultValues.js';
|
|
6
|
+
import { renderPayout } from '../../ui-kit/Calculator/renderPayout.js';
|
|
7
|
+
import { renderRate } from '../../ui-kit/Calculator/renderRate.js';
|
|
8
|
+
import { renderWantedSumInput } from '../../ui-kit/Calculator/renderWantedSumInput.js';
|
|
9
|
+
import { Checkbox } from '../../ui-kit/Checkbox/Checkbox.js';
|
|
10
|
+
import { Text } from '../../ui-kit/Text/Text.js';
|
|
11
|
+
import { UniBlock } from '../../UniBlock/UniBlock.js';
|
|
12
|
+
import { style } from '../../utils/style.js';
|
|
13
|
+
import { renderDepositResult } from '../Carousel/renderDepositResult.js';
|
|
14
|
+
import { renderDaysInput } from './renderDaysInput.js';
|
|
15
|
+
import { useBusinessDepositParams, } from './useBusinessDepositParams.js';
|
|
16
|
+
const BUSINESS_DEFAULT_SUM = 100000;
|
|
17
|
+
const BUSINESS_DEFAULT_DAYS = 60;
|
|
18
|
+
export const CalculatorBusinessDeposit = UniBlock(({ className = '', title, buttons, footnote, bottomFootnote, isShowDepositeName, defaultParams, rateParams, ...rest }) => {
|
|
19
|
+
const [userInputParams, { field }] = useForm({
|
|
20
|
+
moneyValue: getMoneyDefaultValue(defaultParams, BUSINESS_DEFAULT_SUM),
|
|
21
|
+
daysValue: getMonthsDefaultValue(defaultParams, BUSINESS_DEFAULT_DAYS),
|
|
22
|
+
isReplenished: Boolean(defaultParams?.isReplenished),
|
|
23
|
+
isPartialWithdrawal: Boolean(defaultParams?.isPartialWithdrawal),
|
|
24
|
+
isMonthlyInterestPayment: Boolean(defaultParams?.isMonthlyInterestPayment),
|
|
25
|
+
});
|
|
26
|
+
const calculatorParams = useBusinessDepositParams(userInputParams, rateParams);
|
|
27
|
+
const { income, finalSum, rate, isUnavailableByTerm, depositeName } = calculatorParams;
|
|
28
|
+
return (_jsx(CalculatorLayout, { className: className, title: title, ...rest, children: _jsxs("section", { className: style(CalculatorStyle.wrapper, className), children: [_jsxs("div", { className: CalculatorStyle.input, children: [renderWantedSumInput({
|
|
29
|
+
title: 'Сумма, ₽',
|
|
30
|
+
min: calculatorParams.minSum,
|
|
31
|
+
max: calculatorParams.maxSum,
|
|
32
|
+
...field('moneyValue'),
|
|
33
|
+
value: calculatorParams.moneyValue,
|
|
34
|
+
}), renderDaysInput({
|
|
35
|
+
title: 'Срок, дней',
|
|
36
|
+
min: calculatorParams.minDays,
|
|
37
|
+
max: calculatorParams.maxDays,
|
|
38
|
+
...field('daysValue'),
|
|
39
|
+
value: calculatorParams.daysValue,
|
|
40
|
+
}), _jsxs("div", { className: "flex flex-col sm:flex-row gap-y-m gap-x-5xl", children: [renderBusinessDepositParamsForm(calculatorParams, field), renderPayout({
|
|
41
|
+
title: 'Выплата процентов',
|
|
42
|
+
orientation: 'vertical',
|
|
43
|
+
...field('isMonthlyInterestPayment'),
|
|
44
|
+
radioGroupClassName: 'sm:flex-col',
|
|
45
|
+
})] })] }), renderRate({
|
|
46
|
+
rate,
|
|
47
|
+
depositeName,
|
|
48
|
+
isShowDepositeName,
|
|
49
|
+
isUnavailableByTerm,
|
|
50
|
+
}), renderDepositResult({
|
|
51
|
+
income,
|
|
52
|
+
finalSum,
|
|
53
|
+
buttons,
|
|
54
|
+
footnotes: [footnote, bottomFootnote],
|
|
55
|
+
})] }) }));
|
|
56
|
+
});
|
|
57
|
+
const renderBusinessDepositParamsForm = (calculatorParams, field) => (_jsxs("div", { className: "space-y-s", children: [_jsx(Text, { color: "text-secondary-text", font: "font-light", children: "\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B" }), _jsxs("div", { className: "flex flex-col gap-y-lg sm:gap-y-s", children: [_jsx(Checkbox, { text: "\u041F\u043E\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u0435", disabled: calculatorParams.isDisabledOperatingDeposit, ...field('isReplenished'), value: calculatorParams.isReplenished }), _jsx(Checkbox, { disabled: calculatorParams.isDisabledOperatingDeposit, text: "\u0427\u0430\u0441\u0442\u0438\u0447\u043D\u043E\u0435 \u0441\u043D\u044F\u0442\u0438\u0435", ...field('isPartialWithdrawal'), value: calculatorParams.isPartialWithdrawal })] })] }));
|
|
58
|
+
//# sourceMappingURL=CalculatorBusinessDeposit.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CalculatorBusinessDeposit.js","sourceRoot":"","sources":["../../../src/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,OAAO,EAA4B,MAAM,qBAAqB,CAAC;AACxE,OAAO,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AAC5E,OAAO,EAAE,eAAe,EAAE,MAAM,yCAAyC,CAAC;AAC1E,OAAO,EACL,oBAAoB,EACpB,qBAAqB,GACtB,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,sCAAsC,CAAC;AACpE,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAChE,OAAO,EAAE,oBAAoB,EAAE,MAAM,8CAA8C,CAAC;AACpF,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAC1D,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACnD,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AAKtE,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,OAAO,EACL,wBAAwB,GAGzB,MAAM,4BAA4B,CAAC;AAEpC,MAAM,oBAAoB,GAAG,MAAM,CAAC;AACpC,MAAM,qBAAqB,GAAG,EAAE,CAAC;AAOjC,MAAM,CAAC,MAAM,yBAAyB,GAAG,QAAQ,CAC/C,CAAC,EACC,SAAS,GAAG,EAAE,EACd,KAAK,EACL,OAAO,EACP,QAAQ,EACR,cAAc,EACd,kBAAkB,EAClB,aAAa,EACb,UAAU,EACV,GAAG,IAAI,EACR,EAAE,EA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ACzD,+BAA+B,CAAC,gBAAgB,EAAE,KAAK,CAAC,EACxD,YAAY,CAAC;oCACZ,KAAK,EAAE,mBAAmB;oCAC1B,WAAW,EAAE,UAAU;oCACvB,GAAG,KAAK,CAAC,0BAA0B,CAAC;oCACpC,mBAAmB,EAAE,aAAa;iCACnC,CAAC,IACE,IACF,EACL,UAAU,CAAC;oBACV,IAAI;oBACJ,YAAY;oBACZ,kBAAkB;oBAClB,mBAAmB;iBACpB,CAAC,EACD,mBAAmB,CAAC;oBACnB,MAAM;oBACN,QAAQ;oBACR,OAAO;oBACP,SAAS,EAAE,CAAC,QAAkB,EAAE,cAAwB,CAAC;iBAC1D,CAAC,IACM,GACO,CACpB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,+BAA+B,GAAG,CACtC,gBAAuC,EACvC,KAA0D,EAC1D,EAAE,CAAC,CACH,eAAK,SAAS,EAAC,WAAW,aACxB,KAAC,IAAI,IAAC,KAAK,EAAC,qBAAqB,EAAC,IAAI,EAAC,YAAY,uEAE5C,EACP,eAAK,SAAS,EAAC,mCAAmC,aAChD,KAAC,QAAQ,IACP,IAAI,EAAC,8DAAY,EACjB,QAAQ,EAAE,gBAAgB,CAAC,0BAA0B,KACjD,KAAK,CAAC,eAAe,CAAC,EAC1B,KAAK,EAAE,gBAAgB,CAAC,aAAa,GACrC,EACF,KAAC,QAAQ,IACP,QAAQ,EAAE,gBAAgB,CAAC,0BAA0B,EACrD,IAAI,EAAC,6FAAkB,KACnB,KAAK,CAAC,qBAAqB,CAAC,EAChC,KAAK,EAAE,gBAAgB,CAAC,mBAAmB,GAC3C,IACE,IACF,CACP,CAAC"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { type Footnote } from '../../model/Footnote';
|
|
2
|
+
import { type TitleProps } from '../../model/HeadlineType';
|
|
3
|
+
import { type CalculatorProps, type CommonDefaultParams } from '../../ui-kit/Calculator/CalculatorProps';
|
|
4
|
+
import { type ButtonsSectionContent } from '../../ui-kit/LinkButton/ButtonsSectionContent';
|
|
5
|
+
import { type UniBlockContent } from '../../UniBlock/UniBlockProps';
|
|
6
|
+
/**
|
|
7
|
+
* @title ЮЛ
|
|
8
|
+
* @default {"rateType": "UL"}
|
|
9
|
+
*/
|
|
10
|
+
export declare type ULRateDef = {
|
|
11
|
+
rateType: 'UL';
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* @title ИП
|
|
15
|
+
* @default {"rateType": "IP"}
|
|
16
|
+
*/
|
|
17
|
+
export declare type IPRateDef = {
|
|
18
|
+
rateType: 'IP';
|
|
19
|
+
};
|
|
20
|
+
/** @title Не выбрано * */
|
|
21
|
+
export declare type EmptyRateParams = {
|
|
22
|
+
/** @default "" */
|
|
23
|
+
rateType: '';
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* @title Назначение ставки
|
|
27
|
+
* @default {"rateType": ""}
|
|
28
|
+
*/
|
|
29
|
+
export declare type RateParamsDef = EmptyRateParams | ULRateDef | IPRateDef;
|
|
30
|
+
export declare type CommonCalculatorProps = Footnote & ButtonsSectionContent & CalculatorProps;
|
|
31
|
+
export interface BusinessDepositDefaultParams extends CommonDefaultParams {
|
|
32
|
+
/** @title Пополнение */
|
|
33
|
+
isReplenished?: boolean;
|
|
34
|
+
/** @title Частичное снятие */
|
|
35
|
+
isPartialWithdrawal?: boolean;
|
|
36
|
+
/** @title Выплата процентов */
|
|
37
|
+
isMonthlyInterestPayment?: boolean;
|
|
38
|
+
}
|
|
39
|
+
export interface CalculatorBusinessDepositProps extends Footnote, ButtonsSectionContent {
|
|
40
|
+
/** @title Ставка для */
|
|
41
|
+
rateParams?: RateParamsDef;
|
|
42
|
+
/** @title Сноска снизу блока */
|
|
43
|
+
bottomFootnote?: string;
|
|
44
|
+
/** @title Показывать название депозита */
|
|
45
|
+
isShowDepositeName?: boolean;
|
|
46
|
+
/** @title Параметры по умолчанию */
|
|
47
|
+
defaultParams?: BusinessDepositDefaultParams;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* @title Калькулятор вкладов - бизнес
|
|
51
|
+
*/
|
|
52
|
+
export declare type CalculatorBusinessDepositContent = UniBlockContent & TitleProps & CommonCalculatorProps;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CalculatorBusinessDepositContent.js","sourceRoot":"","sources":["../../../src/components/CalculatorBusinessDeposit/CalculatorBusinessDepositContent.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
+
import { InputRange } from '../../ui-kit/InputRange/InputRange.js';
|
|
3
|
+
const STEP_DAYS = 1;
|
|
4
|
+
export const renderDaysInput = (props) => (_jsx(InputRange, { items: [`От ${daysText(props.min || 0)}`, `До ${daysText(props.max || 0)}`], step: STEP_DAYS, ...props }));
|
|
5
|
+
const daysText = (days) => `${days} ${Number(days) % 10 === 1 ? 'дня' : 'дней'}`;
|
|
6
|
+
//# sourceMappingURL=renderDaysInput.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"renderDaysInput.js","sourceRoot":"","sources":["../../../src/components/CalculatorBusinessDeposit/renderDaysInput.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAGhE,MAAM,SAAS,GAAG,CAAC,CAAC;AAEpB,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,KAAsB,EAAE,EAAE,CAAC,CACzD,KAAC,UAAU,IACT,KAAK,EAAE,CAAC,MAAM,QAAQ,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC,EAAE,EAAE,MAAM,QAAQ,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC,EAAE,CAAC,EAC3E,IAAI,EAAE,SAAS,KACX,KAAK,GACT,CACH,CAAC;AAEF,MAAM,QAAQ,GAAG,CAAC,IAAY,EAAE,EAAE,CAAC,GAAG,IAAI,IAAI,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { type RateParamsDef } from './
|
|
1
|
+
import { type RateParamsDef } from './CalculatorBusinessDepositContent';
|
|
2
|
+
export declare const DEFAULT_BUSINESS_DEPOSIT_CALCULATOR_PARAMS: BusinessDepositCalculatorSourceBookParams;
|
|
2
3
|
export interface BusinessCommonDepositParams {
|
|
3
4
|
isMonthlyInterestPayment: boolean;
|
|
4
5
|
isReplenished: boolean;
|
|
@@ -12,14 +13,14 @@ export interface BusinessDepositCalculatorSourceBookParams extends BusinessCommo
|
|
|
12
13
|
depositeName: string;
|
|
13
14
|
rate: number;
|
|
14
15
|
}
|
|
15
|
-
export interface
|
|
16
|
+
export interface BusinessDepositUserInputParams extends BusinessCommonDepositParams {
|
|
16
17
|
moneyValue: number;
|
|
17
18
|
daysValue: number;
|
|
18
19
|
}
|
|
19
|
-
export interface
|
|
20
|
+
export interface BusinessDepositParams extends BusinessDepositCalculatorSourceBookParams, BusinessDepositUserInputParams {
|
|
20
21
|
income?: number;
|
|
21
22
|
finalSum?: number;
|
|
22
23
|
isDisabledOperatingDeposit?: boolean;
|
|
23
24
|
isUnavailableByTerm?: boolean;
|
|
24
25
|
}
|
|
25
|
-
export declare const
|
|
26
|
+
export declare const useBusinessDepositParams: (userInputParams: BusinessDepositUserInputParams, rateParams?: RateParamsDef) => BusinessDepositParams;
|
|
@@ -1,7 +1,22 @@
|
|
|
1
1
|
import { checkRangeByKeys, getRangeByKeys } from '../../ui-kit/Calculator/rangeHelpers.js';
|
|
2
|
-
import { BUSINESS_OPERATING_MAX_DAYS, BUSINESS_OPERATING_MIN_DAYS, BUSINESS_RATE_MIN_DAYS, DEFAULT_BUSINESS_DEPOSIT_CALCULATOR_PARAMS, } from './constants.js';
|
|
3
2
|
import { useBusinessDepositRates } from './useBusinessDepositRates.js';
|
|
4
|
-
|
|
3
|
+
const BUSINESS_MIN_DAYS = 1;
|
|
4
|
+
const BUSINESS_MAX_DAYS = 1095;
|
|
5
|
+
const BUSINESS_RATE_MIN_DAYS = 30; // порог количества дней, при которых ставка не доступна
|
|
6
|
+
const BUSINESS_OPERATING_MIN_DAYS = 90;
|
|
7
|
+
const BUSINESS_OPERATING_MAX_DAYS = 730;
|
|
8
|
+
export const DEFAULT_BUSINESS_DEPOSIT_CALCULATOR_PARAMS = {
|
|
9
|
+
minSum: 1000,
|
|
10
|
+
maxSum: 100000001,
|
|
11
|
+
minDays: BUSINESS_MIN_DAYS,
|
|
12
|
+
maxDays: BUSINESS_MAX_DAYS,
|
|
13
|
+
rate: 0,
|
|
14
|
+
isMonthlyInterestPayment: true,
|
|
15
|
+
isReplenished: false,
|
|
16
|
+
isPartialWithdrawal: false,
|
|
17
|
+
depositeName: "Депозит 'Стабильный'",
|
|
18
|
+
};
|
|
19
|
+
export const useBusinessDepositParams = (userInputParams, rateParams) => {
|
|
5
20
|
const { daysValue, moneyValue, isPartialWithdrawal, isReplenished, isMonthlyInterestPayment } = userInputParams;
|
|
6
21
|
const isOperatingDeposit = isReplenished || isPartialWithdrawal;
|
|
7
22
|
const isDisabledOperatingDeposit = daysValue < BUSINESS_OPERATING_MIN_DAYS || daysValue > BUSINESS_OPERATING_MAX_DAYS;
|
|
@@ -49,4 +64,4 @@ const getDepositIncome = (rate, userInputParams) => {
|
|
|
49
64
|
return Math.round((moneyValue * rate * daysValue) / 365 / 100);
|
|
50
65
|
}
|
|
51
66
|
};
|
|
52
|
-
//# sourceMappingURL=
|
|
67
|
+
//# sourceMappingURL=useBusinessDepositParams.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useBusinessDepositParams.js","sourceRoot":"","sources":["../../../src/components/CalculatorBusinessDeposit/useBusinessDepositParams.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,cAAc,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CAAC,IAAI,GAAG,IAAI,CAAC,GAAG,IAAI,EAAE,SAAS,GAAG,EAAE,CAAC,GAAG,UAAU,CAAC,CAAC;KAC7F;SAAM;QACL,OAAO,IAAI,CAAC,KAAK,CAAC,CAAC,UAAU,GAAG,IAAI,GAAG,SAAS,CAAC,GAAG,GAAG,GAAG,GAAG,CAAC,CAAC;KAChE;AACH,CAAC,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { type RateParamsDef } from './CalculatorBusinessDepositContent';
|
|
2
|
+
import { type BusinessDepositCalculatorSourceBookParams } from './useBusinessDepositParams';
|
|
3
|
+
export declare type CalculatorBusinessDepositData = BusinessDepositCalculatorSourceBookParams[];
|
|
4
|
+
export declare function useBusinessDepositRates(rateParams?: RateParamsDef): CalculatorBusinessDepositData;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useBusinessDepositRates.js","sourceRoot":"","sources":["../../../src/components/CalculatorBusinessDeposit/useBusinessDepositRates.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,0CAA0C,CAAC;AACxE,OAAO,EAAE,eAAe,EAA4B,MAAM,uBAAuB,CAAC;AAIlF,MAAM,yBAAyB,GAAG;IAChC,EAAE,EAAE,sBAAsB;IAC1B,EAAE,EAAE,0BAA0B;CAC/B,CAAC;AAIF,MAAM,UAAU,uBAAuB,CAAC,UAA0B;IAChE,MAAM,WAAW,GAAG,UAAU,EAAE,QAAQ,CAAC,CAAC,CAAC,yBAAyB,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IAEhG,MAAM,EAAE,IAAI,EAAE,GAAG,YAAY,CAC3B,WAAW,CAAC,CAAC,CAAC,wBAAwB,WAAW,EAAE,CAAC,CAAC,CAAC,IAAI,EAC1D,eAAqE,CACtE,CAAC;IAEF,OAAO,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC;AACzC,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type JSONRefObject } from '../../data/JSONRefObject';
|
|
2
|
+
import { type UniBlockProps } from '../../UniBlock/UniBlockProps';
|
|
3
|
+
import { type CalculatorDepositContent } from './CalculatorDepositContent';
|
|
4
|
+
import { type DepositCalculatorData } from './getDepositCalculatorParams';
|
|
5
|
+
export interface CalculatorDepositProps extends CalculatorDepositContent, UniBlockProps {
|
|
6
|
+
className?: string;
|
|
7
|
+
calcSource?: DepositCalculatorData & JSONRefObject;
|
|
8
|
+
}
|
|
9
|
+
export declare const CalculatorDeposit: import("../../UniBlock/UniBlock").UniBlockComponent<CalculatorDepositProps>;
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { jsxs as _jsxs, jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
+
import { useEffect } from '@redneckz/uni-jsx/lib/hooks';
|
|
3
|
+
import { useForm } from '../../hooks/useForm.js';
|
|
4
|
+
import { CalculatorLayout } from '../../ui-kit/Calculator/CalculatorLayout.js';
|
|
5
|
+
import { CalculatorStyle } from '../../ui-kit/Calculator/CalculatorStyle.js';
|
|
6
|
+
import { getMoneyDefaultValue, getMonthsDefaultValue, } from '../../ui-kit/Calculator/getDefaultValues.js';
|
|
7
|
+
import { renderMonthsInput } from '../../ui-kit/Calculator/renderMonthsInput.js';
|
|
8
|
+
import { renderPayout } from '../../ui-kit/Calculator/renderPayout.js';
|
|
9
|
+
import { renderRate } from '../../ui-kit/Calculator/renderRate.js';
|
|
10
|
+
import { renderWantedSumInput } from '../../ui-kit/Calculator/renderWantedSumInput.js';
|
|
11
|
+
import { UniBlock } from '../../UniBlock/UniBlock.js';
|
|
12
|
+
import { clamp } from '../../utils/clamp.js';
|
|
13
|
+
import { style } from '../../utils/style.js';
|
|
14
|
+
import { renderDepositResult } from '../Carousel/renderDepositResult.js';
|
|
15
|
+
import { getDepositCalculatorParams, } from './getDepositCalculatorParams.js';
|
|
16
|
+
import { renderRegistrationType } from './renderRegistrationType.js';
|
|
17
|
+
const DEPOSIT_DEFAULT_SUM = 20000;
|
|
18
|
+
export const CalculatorDeposit = UniBlock(({ className, title, calcSource, buttons, footnote, paramsViewSettings, defaultParams, ...rest }) => {
|
|
19
|
+
const [userInputParams, { field }] = useForm({
|
|
20
|
+
moneyValue: getMoneyDefaultValue(defaultParams, DEPOSIT_DEFAULT_SUM),
|
|
21
|
+
monthsValue: getMonthsDefaultValue(defaultParams),
|
|
22
|
+
isMonthlyInterestPayment: Boolean(defaultParams?.isMonthlyInterestPayment),
|
|
23
|
+
isRemoteRegistration: Boolean(defaultParams?.isRemoteRegistration),
|
|
24
|
+
});
|
|
25
|
+
const calculatorParams = getDepositCalculatorParams(userInputParams, calcSource, paramsViewSettings);
|
|
26
|
+
const { defaultMonth, rate, income, finalSum } = calculatorParams;
|
|
27
|
+
const { onChange: setMonthsValue } = field('monthsValue');
|
|
28
|
+
const { onChange: setMoneyValue } = field('moneyValue');
|
|
29
|
+
useEffect(() => {
|
|
30
|
+
!userInputParams.monthsValue && setMonthsValue && setMonthsValue(defaultMonth);
|
|
31
|
+
}, [defaultMonth]);
|
|
32
|
+
useEffect(() => {
|
|
33
|
+
setMoneyValue &&
|
|
34
|
+
setMoneyValue(clamp(userInputParams.moneyValue, calculatorParams.minSum, calculatorParams.maxSum));
|
|
35
|
+
}, [calculatorParams.minSum, calculatorParams.maxSum]);
|
|
36
|
+
return (_jsx(CalculatorLayout, { className: className, title: title, ...rest, children: _jsxs("section", { className: style(CalculatorStyle.wrapper, className), children: [_jsxs("div", { className: CalculatorStyle.input, children: [renderWantedSumInput({
|
|
37
|
+
title: 'Сумма, ₽',
|
|
38
|
+
min: calculatorParams.minSum,
|
|
39
|
+
max: calculatorParams.maxSum,
|
|
40
|
+
...field('moneyValue'),
|
|
41
|
+
value: calculatorParams.moneyValue,
|
|
42
|
+
}), renderMonthsInput({
|
|
43
|
+
title: 'Срок, месяцев',
|
|
44
|
+
min: calculatorParams.minMonths,
|
|
45
|
+
max: calculatorParams.maxMonths,
|
|
46
|
+
availableMonths: calculatorParams.availableMonths,
|
|
47
|
+
...field('monthsValue'),
|
|
48
|
+
value: calculatorParams.monthsValue,
|
|
49
|
+
}), renderDepositParamsForm({ ...calculatorParams, ...paramsViewSettings }, field)] }), renderRate({
|
|
50
|
+
rate,
|
|
51
|
+
}), renderDepositResult({ income, finalSum, buttons, footnotes: [footnote] })] }) }));
|
|
52
|
+
});
|
|
53
|
+
const renderDepositParamsForm = (params, field) => (_jsxs("div", { className: "flex flex-col gap-y-2xl", children: [params.isShowMonthlyInterestPayment
|
|
54
|
+
? renderPayout({
|
|
55
|
+
title: 'Выплата процентов',
|
|
56
|
+
...field('isMonthlyInterestPayment'),
|
|
57
|
+
value: params.isMonthlyInterestPayment,
|
|
58
|
+
})
|
|
59
|
+
: null, params.isShowRemoteRegistration
|
|
60
|
+
? renderRegistrationType({
|
|
61
|
+
title: 'Оформление',
|
|
62
|
+
...field('isRemoteRegistration'),
|
|
63
|
+
value: params.isRemoteRegistration,
|
|
64
|
+
})
|
|
65
|
+
: null] }));
|
|
66
|
+
//# sourceMappingURL=CalculatorDeposit.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CalculatorDeposit.js","sourceRoot":"","sources":["../../../src/components/CalculatorDeposit/CalculatorDeposit.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAExD,OAAO,EAAE,OAAO,EAA4B,MAAM,qBAAqB,CAAC;AACxE,OAAO,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AAC5E,OAAO,EAAE,eAAe,EAAE,MAAM,yCAAyC,CAAC;AAC1E,OAAO,EACL,oBAAoB,EACpB,qBAAqB,GACtB,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAC9E,OAAO,E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EAAE,KAAK,CAAC,IAC3E,EACL,UAAU,CAAC;oBACV,IAAI;iBACL,CAAC,EACD,mBAAmB,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,SAAS,EAAE,CAAC,QAAkB,CAAC,EAAE,CAAC,IAC5E,GACO,CACpB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,uBAAuB,GAAG,CAC9B,MAAqE,EACrE,KAA+B,EAC/B,EAAE,CAAC,CACH,eAAK,SAAS,EAAC,yBAAyB,aACrC,MAAM,CAAC,4BAA4B;YAClC,CAAC,CAAC,YAAY,CAAC;gBACX,KAAK,EAAE,mBAAmB;gBAC1B,GAAG,KAAK,CAAC,0BAA0B,CAAC;gBACpC,KAAK,EAAE,MAAM,CAAC,wBAAwB;aACvC,CAAC;YACJ,CAAC,CAAC,IAAI,EACP,MAAM,CAAC,wBAAwB;YAC9B,CAAC,CAAC,sBAAsB,CAAC;gBACrB,KAAK,EAAE,YAAY;gBACnB,GAAG,KAAK,CAAC,sBAAsB,CAAC;gBAChC,KAAK,EAAE,MAAM,CAAC,oBAAoB;aACnC,CAAC;YACJ,CAAC,CAAC,IAAI,IACJ,CACP,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { type CommonCalculatorProps, type CommonDefaultParams } from '../../ui-kit/Calculator/CalculatorProps';
|
|
2
|
+
import { type UniBlockContent } from '../../UniBlock/UniBlockProps';
|
|
3
|
+
export interface CalculatorDepositParamsViewSettings {
|
|
4
|
+
/**
|
|
5
|
+
* @title Выплата процентов
|
|
6
|
+
* @default true
|
|
7
|
+
*/
|
|
8
|
+
isShowMonthlyInterestPayment?: boolean;
|
|
9
|
+
/**
|
|
10
|
+
* @title Оформление
|
|
11
|
+
* @default true
|
|
12
|
+
*/
|
|
13
|
+
isShowRemoteRegistration?: boolean;
|
|
14
|
+
}
|
|
15
|
+
export interface DepositDefaultParams extends CommonDefaultParams {
|
|
16
|
+
/** @title Ежемесячная выплата процентов */
|
|
17
|
+
isMonthlyInterestPayment?: boolean;
|
|
18
|
+
/** @title Дистанционное оформление */
|
|
19
|
+
isRemoteRegistration?: boolean;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* @title Калькулятор бонусов
|
|
23
|
+
*/
|
|
24
|
+
export declare type CalculatorDepositContent = UniBlockContent & CommonCalculatorProps & {
|
|
25
|
+
/** @title Настройка отображения радио */
|
|
26
|
+
paramsViewSettings?: CalculatorDepositParamsViewSettings;
|
|
27
|
+
/** @title Параметры по умолчанию */
|
|
28
|
+
defaultParams?: DepositDefaultParams;
|
|
29
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CalculatorDepositContent.js","sourceRoot":"","sources":["../../../src/components/CalculatorDeposit/CalculatorDepositContent.ts"],"names":[],"mappings":""}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type CalculatorDepositParamsViewSettings } from './CalculatorDepositContent';
|
|
2
2
|
export interface CommonDepositParams {
|
|
3
3
|
isMonthlyInterestPayment: boolean;
|
|
4
4
|
isRemoteRegistration: boolean;
|
|
@@ -23,4 +23,4 @@ export interface DepositCalculatorParams extends DepositCalculatorSourceBookPara
|
|
|
23
23
|
export declare type DepositCalculatorData = {
|
|
24
24
|
rateRows?: DepositCalculatorSourceBookParams[];
|
|
25
25
|
};
|
|
26
|
-
export declare const getDepositCalculatorParams: (userInputParams: DepositCalculatorUserInputParams, calcSource?: DepositCalculatorData, paramsViewSettings?:
|
|
26
|
+
export declare const getDepositCalculatorParams: (userInputParams: DepositCalculatorUserInputParams, calcSource?: DepositCalculatorData, paramsViewSettings?: CalculatorDepositParamsViewSettings) => DepositCalculatorParams;
|
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
import { checkRangeByKeys, getRangeByKeys } from '../../ui-kit/Calculator/rangeHelpers.js';
|
|
2
2
|
import { arrayByRange } from '../../utils/arrayByRange.js';
|
|
3
3
|
import { mergeIntervals } from '../../utils/mergeIntervals.js';
|
|
4
|
-
|
|
4
|
+
const DEFAULT_DEPOSIT_CALCULATOR_PARAMS = {
|
|
5
|
+
minSum: 50000,
|
|
6
|
+
maxSum: 100000001,
|
|
7
|
+
minMonths: 2,
|
|
8
|
+
maxMonths: 10,
|
|
9
|
+
rate: 0,
|
|
10
|
+
isMonthlyInterestPayment: true,
|
|
11
|
+
isRemoteRegistration: true,
|
|
12
|
+
};
|
|
5
13
|
export const getDepositCalculatorParams = (userInputParams, calcSource, paramsViewSettings) => {
|
|
6
14
|
const { moneyValue, monthsValue } = userInputParams;
|
|
7
15
|
const defaultMonth = calcSource?.rateRows?.[0]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getDepositCalculatorParams.js","sourceRoot":"","sources":["../../../src/components/CalculatorDeposit/getDepositCalculatorParams.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,sCAAsC,CAAC;AACxF,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAG5D,MAAM,iCAAiC,GAAsC;IAC3E,MAAM,EAAE,KAAK;IACb,MAAM,EAAE,SAAS;IACjB,SAAS,EAAE,CAAC;IACZ,SAAS,EAAE,EAAE;IACb,IAAI,EAAE,CAAC;IACP,wBAAwB,EAAE,IAAI;IAC9B,oBAAoB,EAAE,IAAI;CAC3B,CAAC;AAiCF,MAAM,CAAC,MAAM,0BAA0B,GAAG,CACxC,eAAiD,EACjD,UAAkC,EAClC,kBAAwD,EAC/B,EAAE;IAC3B,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,eAAe,CAAC;IACpD,MAAM,YAAY,GAAG,UAAU,EAAE,QAAQ,EAAE,CAAC,CAAC,CAAC;QAC5C,CAAC,CAAC,cAAc,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,EAAE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renderBinaryRadioButtonGroup({
|
|
3
|
+
...props,
|
|
4
|
+
radioGroupClassName: 'sm:flex-col',
|
|
5
|
+
items: [
|
|
6
|
+
{ id: 'annuity', text: 'Аннуитетный' },
|
|
7
|
+
{ id: 'differential', text: 'Дифференцированный' },
|
|
8
|
+
],
|
|
9
|
+
});
|
|
10
|
+
//# sourceMappingURL=renderPaymentType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"renderPaymentType.js","sourceRoot":"","sources":["../../../src/components/CalculatorDeposit/renderPaymentType.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,4BAA4B,GAE7B,MAAM,sDAAsD,CAAC;AAE9D,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,KAA2C,EAAE,EAAE,CAC/E,4BAA4B,CAAC;IAC3B,GAAG,KAAK;IACR,mBAAmB,EAAE,aAAa;IAClC,KAAK,EAAE;QACL,EAAE,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,aAAa,EAAE;QACtC,EAAE,EAAE,EAAE,cAAc,EAAE,IAAI,EAAE,oBAAoB,EAAE;KACnD;CACF,CAAC,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { renderBinaryRadioButtonGroup, } from '../../ui-kit/Calculator/renderBinaryRadioButtonGroup.js';
|
|
2
|
+
export const renderRegistrationType = (props) => renderBinaryRadioButtonGroup({
|
|
3
|
+
...props,
|
|
4
|
+
items: [
|
|
5
|
+
{ id: 'remote', text: 'Дистанционно' },
|
|
6
|
+
{ id: 'office', text: 'Офис Банка' },
|
|
7
|
+
],
|
|
8
|
+
});
|
|
9
|
+
//# sourceMappingURL=renderRegistrationType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"renderRegistrationType.js","sourceRoot":"","sources":["../../../src/components/CalculatorDeposit/renderRegistrationType.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,4BAA4B,GAE7B,MAAM,sDAAsD,CAAC;AAE9D,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,KAA2C,EAAE,EAAE,CACpF,4BAA4B,CAAC;IAC3B,GAAG,KAAK;IACR,KAAK,EAAE;QACL,EAAE,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,cAAc,EAAE;QACtC,EAAE,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,YAAY,EAAE;KACrC;CACF,CAAC,CAAC"}
|
|
@@ -4,13 +4,13 @@ import { CalculatorLayout } from '../../ui-kit/Calculator/CalculatorLayout.js';
|
|
|
4
4
|
import { CalculatorStyle } from '../../ui-kit/Calculator/CalculatorStyle.js';
|
|
5
5
|
import { CalculatorValueBlock } from '../../ui-kit/Calculator/CalculatorValueBlock.js';
|
|
6
6
|
import { renderFootnote } from '../../ui-kit/Calculator/renderFootnote.js';
|
|
7
|
+
import { renderMonthsInput } from '../../ui-kit/Calculator/renderMonthsInput.js';
|
|
7
8
|
import { renderRate } from '../../ui-kit/Calculator/renderRate.js';
|
|
8
9
|
import { renderWantedSumInput } from '../../ui-kit/Calculator/renderWantedSumInput.js';
|
|
9
10
|
import { Checkbox } from '../../ui-kit/Checkbox/Checkbox.js';
|
|
10
11
|
import { renderButtonsSection } from '../../ui-kit/LinkButton/renderButtonsSection.js';
|
|
11
12
|
import { UniBlock } from '../../UniBlock/UniBlock.js';
|
|
12
13
|
import { style } from '../../utils/style.js';
|
|
13
|
-
import { renderMonthsInput } from '../Calculator/renderMonthsInput.js';
|
|
14
14
|
import { renderPaymentType } from '../Calculator/renderPaymentType.js';
|
|
15
15
|
import { getRefinancingCalculatorParams, } from './getRefinancingCalculatorParams.js';
|
|
16
16
|
const REFINANCING_OLD_DEFAULT_SUM = 0;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CalculatorRefinancing.js","sourceRoot":"","sources":["../../../src/components/CalculatorRefinancing/CalculatorRefinancing.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,OAAO,EAA4B,MAAM,qBAAqB,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AO,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC,EACnD,cAAc,CAAC,QAAQ,CAAC,IACrB,IACE,GACO,CACpB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,sBAAsB,GAAG,CAC7B,MAAyE,EACzE,KAA+B,EAC/B,EAAE,CAAC,CACH,eAAK,SAAS,EAAC,yBAAyB,aACrC,MAAM,CAAC,kBAAkB,CAAC,CAAC,CAAC,CAC3B,KAAC,QAAQ,IACP,IAAI,EAAC,qOAA4C,KAC7C,KAAK,CAAC,gBAAgB,CAAC,EAC3B,KAAK,EAAE,MAAM,CAAC,cAAc,GAC5B,CACH,CAAC,CAAC,CAAC,IAAI,EACP,MAAM,CAAC,eAAe,CAAC,CAAC,CAAC,CACxB,KAAC,QAAQ,IACP,IAAI,EAAC,gKAA8B,KAC/B,KAAK,CAAC,aAAa,CAAC,EACxB,KAAK,EAAE,MAAM,CAAC,WAAW,GACzB,CACH,CAAC,CAAC,CAAC,IAAI,EACR,KAAC,QAAQ,IACP,IAAI,EAAC,sKAA+B,KAChC,KAAK,CAAC,cAAc,CAAC,EACzB,KAAK,EAAE,MAAM,CAAC,YAAY,GAC1B,IACE,CACP,CAAC"}
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
import { type
|
|
2
|
-
import { type TitleProps } from '../../model/HeadlineType';
|
|
3
|
-
import { type CalcSourceProps } from '../../ui-kit/Calculator/CalcSourceProps';
|
|
4
|
-
import { type ButtonsSectionContent } from '../../ui-kit/LinkButton/ButtonsSectionContent';
|
|
1
|
+
import { type CalculatorParamsViewSettingsDefault, type CommonCalculatorProps } from '../../ui-kit/Calculator/CalculatorProps';
|
|
5
2
|
import { type UniBlockContent } from '../../UniBlock/UniBlockProps';
|
|
6
3
|
export interface CreditCalculatorParamsViewSettings {
|
|
7
4
|
/** @title Получаю зарплату на счёт в Россельхозбанке */
|
|
@@ -13,16 +10,10 @@ export interface CreditCalculatorParamsViewSettings {
|
|
|
13
10
|
/** @title Комплексная страховая защита */
|
|
14
11
|
isShowInsurance?: boolean;
|
|
15
12
|
}
|
|
16
|
-
export interface RefinancingCalculatorParamsViewSettings {
|
|
17
|
-
/** @title Получаю зарплату на счёт в Россельхозбанке */
|
|
18
|
-
isShowSalaryClient?: boolean;
|
|
19
|
-
/** @title Комплексная страховая защита */
|
|
20
|
-
isShowInsurance?: boolean;
|
|
21
|
-
}
|
|
22
13
|
/**
|
|
23
14
|
* @title Калькулятор рефинансирования
|
|
24
15
|
*/
|
|
25
|
-
export declare type CalculatorRefinancingContent = UniBlockContent &
|
|
16
|
+
export declare type CalculatorRefinancingContent = UniBlockContent & CommonCalculatorProps & {
|
|
26
17
|
/** @title Настройка отображения чекбоксов */
|
|
27
|
-
paramsViewSettings?:
|
|
18
|
+
paramsViewSettings?: CalculatorParamsViewSettingsDefault;
|
|
28
19
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type CalculatorParamsViewSettingsDefault } from '../../ui-kit/Calculator/CalculatorProps';
|
|
2
2
|
import { type CommonRefinancingParams, type RefinancingCalculatorUserInputParams } from './getRefinancingCalculatorParams';
|
|
3
3
|
interface CheckSourceBookRowProps {
|
|
4
4
|
row: CommonRefinancingParams;
|
|
5
5
|
userInputParams: RefinancingCalculatorUserInputParams;
|
|
6
|
-
paramsViewSettings?:
|
|
6
|
+
paramsViewSettings?: CalculatorParamsViewSettingsDefault;
|
|
7
7
|
}
|
|
8
8
|
export declare const checkRefinancingSourceBookRowCommonParams: (props: CheckSourceBookRowProps) => boolean;
|
|
9
9
|
export {};
|