@redneckz/wildless-cms-uni-blocks 0.7.3 → 0.7.5
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/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +144 -31
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/Calculator/BusinessDepositCalculatorForm.d.ts +5 -0
- package/bundle/components/Calculator/CalculatorContent.d.ts +14 -1
- package/bundle/components/Calculator/EmbeddableCalcBlocks.d.ts +3 -1
- package/bundle/components/Calculator/Rate.d.ts +2 -0
- package/bundle/components/Calculator/UnknownRate.d.ts +4 -0
- package/bundle/components/Calculator/constants.d.ts +10 -0
- package/bundle/components/Calculator/renderDaysInput.d.ts +8 -0
- package/bundle/components/Calculator/renderInterestPayment.d.ts +2 -0
- package/bundle/components/Calculator/useBusinessDepositCalculatorParams.d.ts +27 -0
- package/bundle/components/SwipeListControlBlock/SwipeListControlBlockContent.d.ts +2 -5
- package/bundle/icons/IconName.d.ts +4 -2
- package/bundle/ui-kit/Checkbox/CheckboxProps.d.ts +1 -0
- package/bundle/ui-kit/SwipeListControl/SwipeListContainer.d.ts +2 -1
- package/bundle/ui-kit/SwipeListControl/SwipeListControlContent.d.ts +15 -0
- package/bundle/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +1 -1
- package/bundle/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +2 -9
- package/cosmos-static/icons/PercentIcon.svg +1 -0
- package/dist/components/Calculator/BonusCalculatorForm.js +2 -1
- package/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
- package/dist/components/Calculator/BusinessDepositCalculatorForm.d.ts +5 -0
- package/dist/components/Calculator/BusinessDepositCalculatorForm.js +48 -0
- package/dist/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -0
- package/dist/components/Calculator/CalculatorContent.d.ts +14 -1
- package/dist/components/Calculator/CalculatorValueBlock.js +3 -1
- package/dist/components/Calculator/CalculatorValueBlock.js.map +1 -1
- package/dist/components/Calculator/CreditCalculatorForm.js +2 -1
- package/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/dist/components/Calculator/DepositCalculatorForm.js +5 -15
- 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/Rate.d.ts +2 -0
- package/dist/components/Calculator/Rate.js +3 -1
- package/dist/components/Calculator/Rate.js.map +1 -1
- package/dist/components/Calculator/UnknownRate.d.ts +4 -0
- package/dist/components/Calculator/UnknownRate.js +9 -0
- package/dist/components/Calculator/UnknownRate.js.map +1 -0
- package/dist/components/Calculator/constants.d.ts +10 -0
- package/dist/components/Calculator/constants.js +21 -1
- package/dist/components/Calculator/constants.js.map +1 -1
- package/dist/components/Calculator/renderCalculatorBlock.js +1 -1
- package/dist/components/Calculator/renderCalculatorBlock.js.map +1 -1
- package/dist/components/Calculator/renderDaysInput.d.ts +8 -0
- package/dist/components/Calculator/renderDaysInput.js +16 -0
- package/dist/components/Calculator/renderDaysInput.js.map +1 -0
- package/dist/components/Calculator/renderFootnote.js +2 -1
- package/dist/components/Calculator/renderFootnote.js.map +1 -1
- package/dist/components/Calculator/renderInterestPayment.d.ts +2 -0
- package/dist/components/Calculator/renderInterestPayment.js +22 -0
- package/dist/components/Calculator/renderInterestPayment.js.map +1 -0
- package/dist/components/Calculator/useBusinessDepositCalculatorParams.d.ts +27 -0
- package/dist/components/Calculator/useBusinessDepositCalculatorParams.js +49 -0
- package/dist/components/Calculator/useBusinessDepositCalculatorParams.js.map +1 -0
- package/dist/components/Calculator/useDepositCalculatorParams.js +1 -1
- package/dist/components/Calculator/useDepositCalculatorParams.js.map +1 -1
- package/dist/components/SwipeListControlBlock/SwipeListControlBlock.js +2 -2
- package/dist/components/SwipeListControlBlock/SwipeListControlBlock.js.map +1 -1
- package/dist/components/SwipeListControlBlock/SwipeListControlBlockContent.d.ts +2 -5
- package/dist/content-page-repository/transformPicture.js +1 -1
- package/dist/content-page-repository/transformPicture.js.map +1 -1
- package/dist/icons/IconName.d.ts +4 -2
- package/dist/icons/IconName.js +3 -1
- package/dist/icons/IconName.js.map +1 -1
- package/dist/ui-kit/Checkbox/Checkbox.js +5 -5
- package/dist/ui-kit/Checkbox/Checkbox.js.map +1 -1
- package/dist/ui-kit/Checkbox/CheckboxProps.d.ts +1 -0
- package/dist/ui-kit/SwipeListControl/SwipeListContainer.d.ts +2 -1
- package/dist/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
- package/dist/ui-kit/SwipeListControl/SwipeListControlContent.d.ts +15 -0
- package/dist/ui-kit/SwipeListControl/SwipeListControlContent.js +2 -0
- package/dist/ui-kit/SwipeListControl/SwipeListControlContent.js.map +1 -0
- package/dist/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +1 -1
- package/dist/ui-kit/SwipeListControl/SwipeListControlDots.js +1 -1
- package/dist/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
- package/dist/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +2 -9
- package/dist/utils/addSpacesBetweenNumbers.js +1 -1
- package/dist/utils/addSpacesBetweenNumbers.js.map +1 -1
- package/lib/common.css +1 -1
- package/lib/components/Calculator/BonusCalculatorForm.js +2 -1
- package/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
- package/lib/components/Calculator/BusinessDepositCalculatorForm.d.ts +5 -0
- package/lib/components/Calculator/BusinessDepositCalculatorForm.js +46 -0
- package/lib/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -0
- package/lib/components/Calculator/Calculator.fixture.d.ts +1 -0
- package/lib/components/Calculator/CalculatorContent.d.ts +14 -1
- package/lib/components/Calculator/CalculatorValueBlock.js +3 -1
- package/lib/components/Calculator/CalculatorValueBlock.js.map +1 -1
- package/lib/components/Calculator/CreditCalculatorForm.js +2 -1
- package/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/lib/components/Calculator/DepositCalculatorForm.js +5 -15
- 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/Rate.d.ts +2 -0
- package/lib/components/Calculator/Rate.js +3 -1
- package/lib/components/Calculator/Rate.js.map +1 -1
- package/lib/components/Calculator/UnknownRate.d.ts +4 -0
- package/lib/components/Calculator/UnknownRate.js +7 -0
- package/lib/components/Calculator/UnknownRate.js.map +1 -0
- package/lib/components/Calculator/constants.d.ts +10 -0
- package/lib/components/Calculator/constants.js +20 -0
- package/lib/components/Calculator/constants.js.map +1 -1
- package/lib/components/Calculator/renderCalculatorBlock.js +1 -1
- package/lib/components/Calculator/renderCalculatorBlock.js.map +1 -1
- package/lib/components/Calculator/renderDaysInput.d.ts +8 -0
- package/lib/components/Calculator/renderDaysInput.js +13 -0
- package/lib/components/Calculator/renderDaysInput.js.map +1 -0
- package/lib/components/Calculator/renderFootnote.js +2 -1
- package/lib/components/Calculator/renderFootnote.js.map +1 -1
- package/lib/components/Calculator/renderInterestPayment.d.ts +2 -0
- package/lib/components/Calculator/renderInterestPayment.js +19 -0
- package/lib/components/Calculator/renderInterestPayment.js.map +1 -0
- package/lib/components/Calculator/useBusinessDepositCalculatorParams.d.ts +27 -0
- package/lib/components/Calculator/useBusinessDepositCalculatorParams.js +46 -0
- package/lib/components/Calculator/useBusinessDepositCalculatorParams.js.map +1 -0
- package/lib/components/Calculator/useDepositCalculatorParams.js +1 -1
- package/lib/components/Calculator/useDepositCalculatorParams.js.map +1 -1
- package/lib/components/SwipeListControlBlock/SwipeListControlBlock.fixture.d.ts +1 -0
- package/lib/components/SwipeListControlBlock/SwipeListControlBlock.js +2 -2
- package/lib/components/SwipeListControlBlock/SwipeListControlBlock.js.map +1 -1
- package/lib/components/SwipeListControlBlock/SwipeListControlBlockContent.d.ts +2 -5
- package/lib/content-page-repository/transformPicture.js +1 -1
- package/lib/content-page-repository/transformPicture.js.map +1 -1
- package/lib/icons/IconName.d.ts +4 -2
- package/lib/icons/IconName.js +3 -1
- package/lib/icons/IconName.js.map +1 -1
- package/lib/ui-kit/Checkbox/Checkbox.js +5 -5
- package/lib/ui-kit/Checkbox/Checkbox.js.map +1 -1
- package/lib/ui-kit/Checkbox/CheckboxProps.d.ts +1 -0
- package/lib/ui-kit/SwipeListControl/SwipeListContainer.d.ts +2 -1
- package/lib/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListControlContent.d.ts +15 -0
- package/lib/ui-kit/SwipeListControl/SwipeListControlContent.js +2 -0
- package/lib/ui-kit/SwipeListControl/SwipeListControlContent.js.map +1 -0
- package/lib/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListControlDots.js +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +2 -9
- package/lib/utils/addSpacesBetweenNumbers.js +1 -1
- package/lib/utils/addSpacesBetweenNumbers.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +2 -2
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/Calculator/BusinessDepositCalculatorForm.d.ts +5 -0
- package/mobile/bundle/components/Calculator/CalculatorContent.d.ts +14 -1
- package/mobile/bundle/components/Calculator/EmbeddableCalcBlocks.d.ts +3 -1
- package/mobile/bundle/components/Calculator/Rate.d.ts +2 -0
- package/mobile/bundle/components/Calculator/UnknownRate.d.ts +4 -0
- package/mobile/bundle/components/Calculator/constants.d.ts +10 -0
- package/mobile/bundle/components/Calculator/renderDaysInput.d.ts +8 -0
- package/mobile/bundle/components/Calculator/renderInterestPayment.d.ts +2 -0
- package/mobile/bundle/components/Calculator/useBusinessDepositCalculatorParams.d.ts +27 -0
- package/mobile/bundle/components/SwipeListControlBlock/SwipeListControlBlockContent.d.ts +2 -5
- package/mobile/bundle/icons/IconName.d.ts +4 -2
- package/mobile/bundle/ui-kit/Checkbox/CheckboxProps.d.ts +1 -0
- package/mobile/bundle/ui-kit/SwipeListControl/SwipeListContainer.d.ts +2 -1
- package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControlContent.d.ts +15 -0
- package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +1 -1
- package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +2 -9
- package/mobile/dist/components/Calculator/BonusCalculatorForm.js +2 -1
- package/mobile/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
- package/mobile/dist/components/Calculator/BusinessDepositCalculatorForm.d.ts +5 -0
- package/mobile/dist/components/Calculator/BusinessDepositCalculatorForm.js +48 -0
- package/mobile/dist/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -0
- package/mobile/dist/components/Calculator/CalculatorContent.d.ts +14 -1
- package/mobile/dist/components/Calculator/CalculatorValueBlock.js +3 -1
- package/mobile/dist/components/Calculator/CalculatorValueBlock.js.map +1 -1
- package/mobile/dist/components/Calculator/CreditCalculatorForm.js +2 -1
- package/mobile/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/mobile/dist/components/Calculator/DepositCalculatorForm.js +5 -15
- 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/Rate.d.ts +2 -0
- package/mobile/dist/components/Calculator/Rate.js +3 -1
- package/mobile/dist/components/Calculator/Rate.js.map +1 -1
- package/mobile/dist/components/Calculator/UnknownRate.d.ts +4 -0
- package/mobile/dist/components/Calculator/UnknownRate.js +9 -0
- package/mobile/dist/components/Calculator/UnknownRate.js.map +1 -0
- package/mobile/dist/components/Calculator/constants.d.ts +10 -0
- package/mobile/dist/components/Calculator/constants.js +21 -1
- package/mobile/dist/components/Calculator/constants.js.map +1 -1
- package/mobile/dist/components/Calculator/renderCalculatorBlock.js +1 -1
- package/mobile/dist/components/Calculator/renderCalculatorBlock.js.map +1 -1
- package/mobile/dist/components/Calculator/renderDaysInput.d.ts +8 -0
- package/mobile/dist/components/Calculator/renderDaysInput.js +16 -0
- package/mobile/dist/components/Calculator/renderDaysInput.js.map +1 -0
- package/mobile/dist/components/Calculator/renderFootnote.js +2 -1
- package/mobile/dist/components/Calculator/renderFootnote.js.map +1 -1
- package/mobile/dist/components/Calculator/renderInterestPayment.d.ts +2 -0
- package/mobile/dist/components/Calculator/renderInterestPayment.js +22 -0
- package/mobile/dist/components/Calculator/renderInterestPayment.js.map +1 -0
- package/mobile/dist/components/Calculator/useBusinessDepositCalculatorParams.d.ts +27 -0
- package/mobile/dist/components/Calculator/useBusinessDepositCalculatorParams.js +49 -0
- package/mobile/dist/components/Calculator/useBusinessDepositCalculatorParams.js.map +1 -0
- package/mobile/dist/components/Calculator/useDepositCalculatorParams.js +1 -1
- package/mobile/dist/components/Calculator/useDepositCalculatorParams.js.map +1 -1
- package/mobile/dist/components/SwipeListControlBlock/SwipeListControlBlock.js +2 -2
- package/mobile/dist/components/SwipeListControlBlock/SwipeListControlBlock.js.map +1 -1
- package/mobile/dist/components/SwipeListControlBlock/SwipeListControlBlockContent.d.ts +2 -5
- package/mobile/dist/content-page-repository/transformPicture.js +1 -1
- package/mobile/dist/content-page-repository/transformPicture.js.map +1 -1
- package/mobile/dist/icons/IconName.d.ts +4 -2
- package/mobile/dist/icons/IconName.js +3 -1
- package/mobile/dist/icons/IconName.js.map +1 -1
- package/mobile/dist/ui-kit/Checkbox/Checkbox.js +5 -5
- package/mobile/dist/ui-kit/Checkbox/Checkbox.js.map +1 -1
- package/mobile/dist/ui-kit/Checkbox/CheckboxProps.d.ts +1 -0
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListContainer.d.ts +2 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlContent.d.ts +15 -0
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlContent.js +2 -0
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlContent.js.map +1 -0
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.js +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +2 -9
- package/mobile/dist/utils/addSpacesBetweenNumbers.js +1 -1
- package/mobile/dist/utils/addSpacesBetweenNumbers.js.map +1 -1
- package/mobile/lib/components/Calculator/BonusCalculatorForm.js +2 -1
- package/mobile/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
- package/mobile/lib/components/Calculator/BusinessDepositCalculatorForm.d.ts +5 -0
- package/mobile/lib/components/Calculator/BusinessDepositCalculatorForm.js +46 -0
- package/mobile/lib/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -0
- package/mobile/lib/components/Calculator/CalculatorContent.d.ts +14 -1
- package/mobile/lib/components/Calculator/CalculatorValueBlock.js +3 -1
- package/mobile/lib/components/Calculator/CalculatorValueBlock.js.map +1 -1
- package/mobile/lib/components/Calculator/CreditCalculatorForm.js +2 -1
- package/mobile/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/mobile/lib/components/Calculator/DepositCalculatorForm.js +5 -15
- 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/Rate.d.ts +2 -0
- package/mobile/lib/components/Calculator/Rate.js +3 -1
- package/mobile/lib/components/Calculator/Rate.js.map +1 -1
- package/mobile/lib/components/Calculator/UnknownRate.d.ts +4 -0
- package/mobile/lib/components/Calculator/UnknownRate.js +7 -0
- package/mobile/lib/components/Calculator/UnknownRate.js.map +1 -0
- package/mobile/lib/components/Calculator/constants.d.ts +10 -0
- package/mobile/lib/components/Calculator/constants.js +20 -0
- package/mobile/lib/components/Calculator/constants.js.map +1 -1
- package/mobile/lib/components/Calculator/renderCalculatorBlock.js +1 -1
- package/mobile/lib/components/Calculator/renderCalculatorBlock.js.map +1 -1
- package/mobile/lib/components/Calculator/renderDaysInput.d.ts +8 -0
- package/mobile/lib/components/Calculator/renderDaysInput.js +13 -0
- package/mobile/lib/components/Calculator/renderDaysInput.js.map +1 -0
- package/mobile/lib/components/Calculator/renderFootnote.js +2 -1
- package/mobile/lib/components/Calculator/renderFootnote.js.map +1 -1
- package/mobile/lib/components/Calculator/renderInterestPayment.d.ts +2 -0
- package/mobile/lib/components/Calculator/renderInterestPayment.js +19 -0
- package/mobile/lib/components/Calculator/renderInterestPayment.js.map +1 -0
- package/mobile/lib/components/Calculator/useBusinessDepositCalculatorParams.d.ts +27 -0
- package/mobile/lib/components/Calculator/useBusinessDepositCalculatorParams.js +46 -0
- package/mobile/lib/components/Calculator/useBusinessDepositCalculatorParams.js.map +1 -0
- package/mobile/lib/components/Calculator/useDepositCalculatorParams.js +1 -1
- package/mobile/lib/components/Calculator/useDepositCalculatorParams.js.map +1 -1
- package/mobile/lib/components/SwipeListControlBlock/SwipeListControlBlock.js +2 -2
- package/mobile/lib/components/SwipeListControlBlock/SwipeListControlBlock.js.map +1 -1
- package/mobile/lib/components/SwipeListControlBlock/SwipeListControlBlockContent.d.ts +2 -5
- package/mobile/lib/content-page-repository/transformPicture.js +1 -1
- package/mobile/lib/content-page-repository/transformPicture.js.map +1 -1
- package/mobile/lib/icons/IconName.d.ts +4 -2
- package/mobile/lib/icons/IconName.js +3 -1
- package/mobile/lib/icons/IconName.js.map +1 -1
- package/mobile/lib/ui-kit/Checkbox/Checkbox.js +5 -5
- package/mobile/lib/ui-kit/Checkbox/Checkbox.js.map +1 -1
- package/mobile/lib/ui-kit/Checkbox/CheckboxProps.d.ts +1 -0
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListContainer.d.ts +2 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlContent.d.ts +15 -0
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlContent.js +2 -0
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlContent.js.map +1 -0
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.js +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +2 -9
- package/mobile/lib/utils/addSpacesBetweenNumbers.js +1 -1
- package/mobile/lib/utils/addSpacesBetweenNumbers.js.map +1 -1
- package/mobile/src/components/Calculator/BonusCalculatorForm.tsx +2 -1
- package/mobile/src/components/Calculator/BusinessDepositCalculatorForm.tsx +133 -0
- package/mobile/src/components/Calculator/CalculatorContent.ts +18 -0
- package/mobile/src/components/Calculator/CalculatorValueBlock.tsx +17 -5
- package/mobile/src/components/Calculator/CreditCalculatorForm.tsx +2 -1
- package/mobile/src/components/Calculator/DepositCalculatorForm.tsx +8 -21
- package/mobile/src/components/Calculator/EmbeddableCalcBlocks.tsx +6 -0
- package/mobile/src/components/Calculator/Rate.tsx +34 -12
- package/mobile/src/components/Calculator/UnknownRate.tsx +24 -0
- package/mobile/src/components/Calculator/constants.ts +23 -1
- package/mobile/src/components/Calculator/renderCalculatorBlock.tsx +1 -1
- package/mobile/src/components/Calculator/renderDaysInput.tsx +36 -0
- package/mobile/src/components/Calculator/renderFootnote.tsx +7 -1
- package/mobile/src/components/Calculator/renderInterestPayment.tsx +40 -0
- package/mobile/src/components/Calculator/useBusinessDepositCalculatorParams.ts +109 -0
- package/mobile/src/components/Calculator/useDepositCalculatorParams.ts +1 -1
- package/mobile/src/components/SwipeListControlBlock/SwipeListControlBlock.tsx +2 -2
- package/mobile/src/components/SwipeListControlBlock/SwipeListControlBlockContent.ts +2 -5
- package/mobile/src/content-page-repository/transformPicture.ts +5 -1
- package/mobile/src/icons/IconName.ts +5 -5
- package/mobile/src/icons/PercentIcon.svg +373 -0
- package/mobile/src/ui-kit/Checkbox/Checkbox.tsx +37 -29
- package/mobile/src/ui-kit/Checkbox/CheckboxProps.ts +1 -0
- package/mobile/src/ui-kit/SwipeListControl/SwipeListContainer.tsx +2 -1
- package/mobile/src/ui-kit/SwipeListControl/SwipeListControlContent.ts +17 -0
- package/mobile/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +3 -2
- package/mobile/src/ui-kit/SwipeListControl/SwipeListControlProps.ts +2 -9
- package/mobile/src/utils/addSpacesBetweenNumbers.ts +1 -1
- package/package.json +1 -1
- package/src/components/Calculator/BonusCalculatorForm.tsx +2 -1
- package/src/components/Calculator/BusinessDepositCalculatorForm.tsx +133 -0
- package/src/components/Calculator/Calculator.fixture.tsx +29 -0
- package/src/components/Calculator/CalculatorContent.ts +18 -0
- package/src/components/Calculator/CalculatorValueBlock.tsx +17 -5
- package/src/components/Calculator/CreditCalculatorForm.tsx +2 -1
- package/src/components/Calculator/DepositCalculatorForm.tsx +8 -21
- package/src/components/Calculator/EmbeddableCalcBlocks.tsx +6 -0
- package/src/components/Calculator/Rate.tsx +34 -12
- package/src/components/Calculator/UnknownRate.tsx +24 -0
- package/src/components/Calculator/constants.ts +23 -1
- package/src/components/Calculator/renderCalculatorBlock.tsx +1 -1
- package/src/components/Calculator/renderDaysInput.tsx +36 -0
- package/src/components/Calculator/renderFootnote.tsx +7 -1
- package/src/components/Calculator/renderInterestPayment.tsx +40 -0
- package/src/components/Calculator/useBusinessDepositCalculatorParams.ts +109 -0
- package/src/components/Calculator/useDepositCalculatorParams.ts +1 -1
- package/src/components/SwipeListControlBlock/SwipeListControlBlock.fixture.tsx +18 -1
- package/src/components/SwipeListControlBlock/SwipeListControlBlock.tsx +2 -2
- package/src/components/SwipeListControlBlock/SwipeListControlBlockContent.ts +2 -5
- package/src/content-page-repository/transformPicture.ts +5 -1
- package/src/icons/IconName.ts +5 -1
- package/src/icons/PercentIcon.svg +373 -0
- package/src/ui-kit/Checkbox/Checkbox.tsx +37 -29
- package/src/ui-kit/Checkbox/CheckboxProps.ts +1 -0
- package/src/ui-kit/SwipeListControl/SwipeListContainer.tsx +2 -1
- package/src/ui-kit/SwipeListControl/SwipeListControlContent.ts +17 -0
- package/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +3 -2
- package/src/ui-kit/SwipeListControl/SwipeListControlProps.ts +2 -9
- package/src/utils/addSpacesBetweenNumbers.ts +1 -1
- package/tailwind.config.cjs +1 -0
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { CommonDepositParams } from './useDepositCalculatorParams';
|
|
2
|
+
export interface BusinessCommonDepositParams extends CommonDepositParams {
|
|
3
|
+
isReplenished: boolean;
|
|
4
|
+
isPartialWithdrawal: boolean;
|
|
5
|
+
isSmallBusiness: boolean;
|
|
6
|
+
}
|
|
7
|
+
export interface BusinessDepositCalculatorSourceBookParams extends BusinessCommonDepositParams {
|
|
8
|
+
minSum: number;
|
|
9
|
+
maxSum: number;
|
|
10
|
+
minDays: number;
|
|
11
|
+
maxDays: number;
|
|
12
|
+
depositeName: string;
|
|
13
|
+
rate: number;
|
|
14
|
+
}
|
|
15
|
+
export interface BusinessDepositCalculatorUserInputParams extends BusinessCommonDepositParams {
|
|
16
|
+
moneyValue: number;
|
|
17
|
+
daysValue: number;
|
|
18
|
+
}
|
|
19
|
+
export interface BusinessDepositCalculatorParams extends BusinessDepositCalculatorSourceBookParams, BusinessDepositCalculatorUserInputParams {
|
|
20
|
+
income?: number;
|
|
21
|
+
finalSum?: number;
|
|
22
|
+
isDisabledOperatingDeposit?: boolean;
|
|
23
|
+
}
|
|
24
|
+
export declare type BusinessDepositCalculatorData = {
|
|
25
|
+
rows: BusinessDepositCalculatorSourceBookParams[];
|
|
26
|
+
};
|
|
27
|
+
export declare const useBusinessDepositCalculatorParams: (userInputParams: BusinessDepositCalculatorUserInputParams, sourceBookDir?: string) => BusinessDepositCalculatorParams;
|
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
3
|
-
* @title Swipe-контроллер
|
|
4
|
-
*/
|
|
5
|
-
export declare type SwipeListControlBlockContent = SwipeListControlProps;
|
|
1
|
+
import type { SwipeListControlContent } from '../../ui-kit/SwipeListControl/SwipeListControlContent';
|
|
2
|
+
export declare type SwipeListControlBlockContent = SwipeListControlContent;
|
|
@@ -72,6 +72,7 @@ export declare enum IconMap {
|
|
|
72
72
|
PassSendIcon = "PassSendIcon",
|
|
73
73
|
PercentageRoundIcon = "PercentageRoundIcon",
|
|
74
74
|
PercentageSquareIcon = "PercentageSquareIcon",
|
|
75
|
+
PercentIcon = "PercentIcon",
|
|
75
76
|
PersonalCardIcon = "PersonalCardIcon",
|
|
76
77
|
PlayMarketIcon = "PlayMarketIcon",
|
|
77
78
|
PlusIcon = "PlusIcon",
|
|
@@ -173,6 +174,7 @@ export declare enum IconTitleMap {
|
|
|
173
174
|
PassSendIcon = "\u0411\u0438\u0437\u043D\u0435\u0441",
|
|
174
175
|
PercentageRoundIcon = "\u041F\u0440\u043E\u0446\u0435\u043D\u0442\u044B (\u043A\u0440\u0443\u0433.)",
|
|
175
176
|
PercentageSquareIcon = "\u041F\u0440\u043E\u0446\u0435\u043D\u0442\u044B",
|
|
177
|
+
PercentIcon = "PercentIcon",
|
|
176
178
|
PersonalCardIcon = "\u041F\u0435\u0440\u0441\u043E\u043D\u0430\u043B\u044C\u043D\u0430\u044F \u043A\u0430\u0440\u0442\u0430",
|
|
177
179
|
PlayMarketIcon = "\u041B\u043E\u0433\u043E \u00ABPlayMarket\u00BB",
|
|
178
180
|
PlusIcon = "\u041F\u043B\u044E\u0441",
|
|
@@ -206,7 +208,7 @@ export declare enum IconTitleMap {
|
|
|
206
208
|
* @title Иконка
|
|
207
209
|
* @enumNames [
|
|
208
210
|
* "",
|
|
209
|
-
* 'Деньги', 'Самолёт', 'Лого «Apple»', 'Стрелка \'Вниз\'', 'Стрелка \'Влево\'', 'Стрелка \'Вправо\'', 'Стрелка \'Вверх-право\'', 'Стрелка \'Вверх\'', 'Банкомат', 'Банк', 'Здание с деревом', 'Бургер', 'Календарь 2', 'Скруглённый календарь', 'Календарь', 'Календарь с галочкой', 'Машина2', 'Кред. карта', 'Кред. карта под наклоном', 'Кред. карта с галочкой', 'Карта с драгоценностями', 'Машина', 'Деньги внутри кошелька', 'Кинотеатр', 'Часы', 'Крестик', 'Кресло', 'Кредитные карты', 'Скидка', 'Скачать документ', 'Документ', 'Документ (одноцветный)', 'Документы', 'Документы-2', 'Документ с текстом', 'Доллар', 'Зелёная \'галочка\' в круге', 'Зелёная \'галочка\'', 'Земля', 'Пустой кошелёк с возвратом', 'Пустой кошелёк', 'Евро', 'FullScreenIcon', 'Геолокация', 'Зеркало', 'Глобус', 'Gps', 'Сетка (белая)', 'Сердце', 'Лого «Huawei»', 'Диаграмма роста', 'Скидка', 'JCB', 'Logo', 'Лупа', 'Маркер карты', 'Маркер карты РСХБ', 'MasterCard', 'Лого Метро', 'Минус', 'МИР', 'Деньги', 'Денежное страхование', 'Купюры', 'Монитор и мобильный', 'Новый документ', 'Офис', 'Лого «Одноклассники»', 'Пачка бумаги А4', 'Бизнес', 'Проценты (круг.)', 'Проценты', 'Персональная карта', 'Лого «PlayMarket»', 'Плюс', 'Щит', 'Профиль, 2 персоны', 'Профиль', 'Тыква', 'Рубль (круг.)', 'Сейф', 'Безопасность', 'Подписанные документы', 'Маленькие часы', 'Звук', 'Ящик с замочной скважиной', 'Лого «Telegram»', 'UnionPay', 'UserGeoLocationIcon', 'Пользователь в рамке', 'Пользователь', 'Visa', 'Лого «VK»', 'Пополнение карты', 'Кошелёк с плюсом', 'Кошелёк', 'Кошелёк с деньгами', 'Добавить продукт', 'Лого «Youtube»'
|
|
211
|
+
* 'Деньги', 'Самолёт', 'Лого «Apple»', 'Стрелка \'Вниз\'', 'Стрелка \'Влево\'', 'Стрелка \'Вправо\'', 'Стрелка \'Вверх-право\'', 'Стрелка \'Вверх\'', 'Банкомат', 'Банк', 'Здание с деревом', 'Бургер', 'Календарь 2', 'Скруглённый календарь', 'Календарь', 'Календарь с галочкой', 'Машина2', 'Кред. карта', 'Кред. карта под наклоном', 'Кред. карта с галочкой', 'Карта с драгоценностями', 'Машина', 'Деньги внутри кошелька', 'Кинотеатр', 'Часы', 'Крестик', 'Кресло', 'Кредитные карты', 'Скидка', 'Скачать документ', 'Документ', 'Документ (одноцветный)', 'Документы', 'Документы-2', 'Документ с текстом', 'Доллар', 'Зелёная \'галочка\' в круге', 'Зелёная \'галочка\'', 'Земля', 'Пустой кошелёк с возвратом', 'Пустой кошелёк', 'Евро', 'FullScreenIcon', 'Геолокация', 'Зеркало', 'Глобус', 'Gps', 'Сетка (белая)', 'Сердце', 'Лого «Huawei»', 'Диаграмма роста', 'Скидка', 'JCB', 'Logo', 'Лупа', 'Маркер карты', 'Маркер карты РСХБ', 'MasterCard', 'Лого Метро', 'Минус', 'МИР', 'Деньги', 'Денежное страхование', 'Купюры', 'Монитор и мобильный', 'Новый документ', 'Офис', 'Лого «Одноклассники»', 'Пачка бумаги А4', 'Бизнес', 'Проценты (круг.)', 'Проценты', 'PercentIcon', 'Персональная карта', 'Лого «PlayMarket»', 'Плюс', 'Щит', 'Профиль, 2 персоны', 'Профиль', 'Тыква', 'Рубль (круг.)', 'Сейф', 'Безопасность', 'Подписанные документы', 'Маленькие часы', 'Звук', 'Ящик с замочной скважиной', 'Лого «Telegram»', 'UnionPay', 'UserGeoLocationIcon', 'Пользователь в рамке', 'Пользователь', 'Visa', 'Лого «VK»', 'Пополнение карты', 'Кошелёк с плюсом', 'Кошелёк', 'Кошелёк с деньгами', 'Добавить продукт', 'Лого «Youtube»'
|
|
210
212
|
* ]
|
|
211
213
|
*/
|
|
212
|
-
export declare type IconName = '' | 'ActualBalanceIcon' | 'AirPlaneIcon' | 'AppleIcon' | 'ArrowDownIcon' | 'ArrowLeftIcon' | 'ArrowRightIcon' | 'ArrowTopRightIcon' | 'ArrowUpIcon' | 'AtmIcon' | 'BankIcon' | 'BuildingIcon' | 'BurgerIcon' | 'Calendar2Icon' | 'CalendarCircleIcon' | 'CalendarIcon' | 'CalendarTickIcon' | 'Car2Icon' | 'CardIcon' | 'CardPosIcon' | 'CardTickIcon' | 'CardWithGemIcon' | 'CarIcon' | 'ChartSquareIcon' | 'CinemaIcon' | 'ClockIcon' | 'CloseIcon' | 'ComfortableCompIcon' | 'CreditCardsIcon' | 'DiscountShapeIcon' | 'DocDownloadIcon' | 'DocIcon' | 'DocIconMonoColor' | 'DocsIcon' | 'DocumentText2Icon' | 'DocumentTextIcon' | 'DollarIcon' | 'DoneIcon' | 'DoneSimpleIcon' | 'EarthIcon' | 'EmptyWalletChangeIcon' | 'EmptyWalletIcon' | 'EuroIcon' | 'FullScreenIcon' | 'GeolocationIcon' | 'GlassIcon' | 'GlobalIcon' | 'GpsIcon' | 'GridIcon' | 'HeartIcon' | 'HuaweiIcon' | 'InterestGrowthIcon' | 'InterestIcon' | 'JCBIcon' | 'LogoIcon' | 'LoupeIcon' | 'MapMarkerClusterIcon' | 'MapMarkerSingleIcon' | 'MasterCardIcon' | 'MetroIcon' | 'MinusIcon' | 'MirIcon' | 'MoneyIcon' | 'MoneyInsuranceIcon' | 'MoneysIcon' | 'MonitorMobileIcon' | 'NewDocIcon' | 'OfficeIcon' | 'OkIcon' | 'PackA4Icon' | 'PassSendIcon' | 'PercentageRoundIcon' | 'PercentageSquareIcon' | 'PersonalCardIcon' | 'PlayMarketIcon' | 'PlusIcon' | 'PowerIcon' | 'Profile2UserIcon' | 'ProfileIcon' | 'PumpkinIcon' | 'RoundRubleIcon' | 'SafeIcon' | 'ShieldTickIcon' | 'SignDocsIcon' | 'SmallClockIcon' | 'SoundIcon' | 'StrongBoxIcon' | 'TelegramIcon' | 'UnionPayIcon' | 'UserGeoLocationIcon' | 'UserSquareIcon' | 'UserTickIcon' | 'VisaIcon' | 'VKIcon' | 'WalletAdd2Icon' | 'WalletAddIcon' | 'WalletIcon' | 'WalletWithMoneyIcon' | 'WateringCanIcon' | 'YoutubeIcon';
|
|
214
|
+
export declare type IconName = '' | 'ActualBalanceIcon' | 'AirPlaneIcon' | 'AppleIcon' | 'ArrowDownIcon' | 'ArrowLeftIcon' | 'ArrowRightIcon' | 'ArrowTopRightIcon' | 'ArrowUpIcon' | 'AtmIcon' | 'BankIcon' | 'BuildingIcon' | 'BurgerIcon' | 'Calendar2Icon' | 'CalendarCircleIcon' | 'CalendarIcon' | 'CalendarTickIcon' | 'Car2Icon' | 'CardIcon' | 'CardPosIcon' | 'CardTickIcon' | 'CardWithGemIcon' | 'CarIcon' | 'ChartSquareIcon' | 'CinemaIcon' | 'ClockIcon' | 'CloseIcon' | 'ComfortableCompIcon' | 'CreditCardsIcon' | 'DiscountShapeIcon' | 'DocDownloadIcon' | 'DocIcon' | 'DocIconMonoColor' | 'DocsIcon' | 'DocumentText2Icon' | 'DocumentTextIcon' | 'DollarIcon' | 'DoneIcon' | 'DoneSimpleIcon' | 'EarthIcon' | 'EmptyWalletChangeIcon' | 'EmptyWalletIcon' | 'EuroIcon' | 'FullScreenIcon' | 'GeolocationIcon' | 'GlassIcon' | 'GlobalIcon' | 'GpsIcon' | 'GridIcon' | 'HeartIcon' | 'HuaweiIcon' | 'InterestGrowthIcon' | 'InterestIcon' | 'JCBIcon' | 'LogoIcon' | 'LoupeIcon' | 'MapMarkerClusterIcon' | 'MapMarkerSingleIcon' | 'MasterCardIcon' | 'MetroIcon' | 'MinusIcon' | 'MirIcon' | 'MoneyIcon' | 'MoneyInsuranceIcon' | 'MoneysIcon' | 'MonitorMobileIcon' | 'NewDocIcon' | 'OfficeIcon' | 'OkIcon' | 'PackA4Icon' | 'PassSendIcon' | 'PercentageRoundIcon' | 'PercentageSquareIcon' | 'PercentIcon' | 'PersonalCardIcon' | 'PlayMarketIcon' | 'PlusIcon' | 'PowerIcon' | 'Profile2UserIcon' | 'ProfileIcon' | 'PumpkinIcon' | 'RoundRubleIcon' | 'SafeIcon' | 'ShieldTickIcon' | 'SignDocsIcon' | 'SmallClockIcon' | 'SoundIcon' | 'StrongBoxIcon' | 'TelegramIcon' | 'UnionPayIcon' | 'UserGeoLocationIcon' | 'UserSquareIcon' | 'UserTickIcon' | 'VisaIcon' | 'VKIcon' | 'WalletAdd2Icon' | 'WalletAddIcon' | 'WalletIcon' | 'WalletWithMoneyIcon' | 'WateringCanIcon' | 'YoutubeIcon';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { SwipeListControlType } from './SwipeListControlContent';
|
|
2
|
+
import type { SwipeContainerProps } from './SwipeListControlProps';
|
|
2
3
|
declare type ItemsVisibilityList = Array<IntersectionObserverEntry | undefined>;
|
|
3
4
|
declare type SwipeListItemWidthAuto = 0;
|
|
4
5
|
/**
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { BlockVersion } from '../../model/BlockVersion';
|
|
2
|
+
/**
|
|
3
|
+
* @title Вид
|
|
4
|
+
* @enumNames ["Горизонтальный", "Вертикальный"]
|
|
5
|
+
*/
|
|
6
|
+
export declare type SwipeListControlType = 'horizontal-list' | 'vertical-list';
|
|
7
|
+
/**
|
|
8
|
+
* @title Swipe-контроллер
|
|
9
|
+
*/
|
|
10
|
+
export interface SwipeListControlContent {
|
|
11
|
+
/** @title Точки-индикаторы */
|
|
12
|
+
showDots?: boolean;
|
|
13
|
+
listType?: SwipeListControlType;
|
|
14
|
+
version?: BlockVersion;
|
|
15
|
+
}
|
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* @title Вид
|
|
3
|
-
* @enumNames ["Горизонтальный", "Вертикальный"]
|
|
4
|
-
*/
|
|
5
|
-
export declare type SwipeListControlType = 'horizontal-list' | 'vertical-list';
|
|
1
|
+
import type { SwipeListControlContent } from './SwipeListControlContent';
|
|
6
2
|
/**
|
|
7
3
|
* @title Контейнер
|
|
8
4
|
*/
|
|
@@ -15,11 +11,8 @@ export interface SwipeContainerProps {
|
|
|
15
11
|
/**
|
|
16
12
|
* @title Swipe-контроллер
|
|
17
13
|
*/
|
|
18
|
-
export interface SwipeListControlProps extends SwipeContainerProps {
|
|
14
|
+
export interface SwipeListControlProps extends SwipeListControlContent, SwipeContainerProps {
|
|
19
15
|
className?: string;
|
|
20
|
-
/** @title Точки-индикаторы */
|
|
21
|
-
showDots?: boolean;
|
|
22
16
|
/** @hidden */
|
|
23
17
|
onVisibleIndicesChange?: (indices: number[]) => void;
|
|
24
|
-
listType?: SwipeListControlType;
|
|
25
18
|
}
|
|
@@ -4,6 +4,7 @@ const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
5
|
const hooks_1 = require("@redneckz/uni-jsx/lib/hooks");
|
|
6
6
|
const renderButtonsSection_1 = require("../../ui-kit/Button/renderButtonsSection");
|
|
7
|
+
const style_1 = require("../../utils/style");
|
|
7
8
|
const CalculatorValueBlock_1 = require("./CalculatorValueBlock");
|
|
8
9
|
const constants_1 = require("./constants");
|
|
9
10
|
const Rate_1 = require("./Rate");
|
|
@@ -20,7 +21,7 @@ exports.BonusCalculatorForm = (0, uni_jsx_1.JSX)(({ className = '', sourceBookDi
|
|
|
20
21
|
restExpenseValue,
|
|
21
22
|
};
|
|
22
23
|
const { minSumTravel, maxSumTravel, minSumOther, maxSumOther, monthBonus, yearBonus } = (0, useBonusCalculatorParams_1.useBonusCalculatorParams)(userInputParams, sourceBookDir);
|
|
23
|
-
return ((0, jsx_runtime_1.jsxs)("section", { className: className, children: [(0, jsx_runtime_1.jsxs)("div", { className: "w-[468px]", children: [(0, renderWantedSumInput_1.renderWantedSumInput)('Сумма покупок в категории путешествия, ₽', {
|
|
24
|
+
return ((0, jsx_runtime_1.jsxs)("section", { className: (0, style_1.style)('flex justify-between', className), children: [(0, jsx_runtime_1.jsxs)("div", { className: "w-[468px]", children: [(0, renderWantedSumInput_1.renderWantedSumInput)('Сумма покупок в категории путешествия, ₽', {
|
|
24
25
|
minSum: minSumTravel,
|
|
25
26
|
maxSum: maxSumTravel,
|
|
26
27
|
moneyValue: travelExpenseValue,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BonusCalculatorForm.js","sourceRoot":"","sources":["../../../src/components/Calculator/BonusCalculatorForm.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAoE;AACpE,mFAAgF;
|
|
1
|
+
{"version":3,"file":"BonusCalculatorForm.js","sourceRoot":"","sources":["../../../src/components/Calculator/BonusCalculatorForm.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAoE;AACpE,mFAAgF;AAChF,6CAA0C;AAE1C,iEAA8D;AAC9D,2CAA2E;AAC3E,iCAA8B;AAC9B,qDAAkD;AAClD,iEAA8D;AAC9D,yEAAsE;AAMzD,QAAA,mBAAmB,GAAG,IAAA,aAAG,EACpC,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,aAAa,GAAG,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC5D,MAAM,CAAC,kBAAkB,EAAE,qBAAqB,CAAC,GAAG,IAAA,gBAAQ,EAAC,kCAAsB,CAAC,CAAC;IACrF,MAAM,wBAAwB,GAAG,IAAA,mBAAW,EAAC,CAAC,CAAS,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AK,SAAS,EAAC,sBAAsB,aAClC,SAAS,IAAI,CAAC,CAAC,CAAC,CAAC,uBAAC,2CAAoB,IAAC,KAAK,EAAC,sEAAe,EAAC,KAAK,EAAE,SAAS,GAAI,CAAC,CAAC,CAAC,IAAI,EACxF,IAAA,2CAAoB,EAAC,OAAO,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC,EACtE,IAAA,+BAAc,EAAC,QAAQ,CAAC,IACrB,IACE,CACX,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { BusinessDepositCalculatorProps } from './CalculatorContent';
|
|
2
|
+
export interface BusinessDepositCalculatorProp extends BusinessDepositCalculatorProps {
|
|
3
|
+
className?: string;
|
|
4
|
+
}
|
|
5
|
+
export declare const BusinessDepositCalculatorForm: import("@redneckz/uni-jsx").UNIComponent<BusinessDepositCalculatorProp, any, any>;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
+
exports.BusinessDepositCalculatorForm = void 0;
|
|
3
|
+
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
+
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
+
const hooks_1 = require("@redneckz/uni-jsx/lib/hooks");
|
|
6
|
+
const renderButtonsSection_1 = require("../../ui-kit/Button/renderButtonsSection");
|
|
7
|
+
const Checkbox_1 = require("../../ui-kit/Checkbox/Checkbox");
|
|
8
|
+
const CalculatorValueBlock_1 = require("./CalculatorValueBlock");
|
|
9
|
+
const constants_1 = require("./constants");
|
|
10
|
+
const Rate_1 = require("./Rate");
|
|
11
|
+
const renderDaysInput_1 = require("./renderDaysInput");
|
|
12
|
+
const renderFootnote_1 = require("./renderFootnote");
|
|
13
|
+
const renderInterestPayment_1 = require("./renderInterestPayment");
|
|
14
|
+
const renderWantedSumInput_1 = require("./renderWantedSumInput");
|
|
15
|
+
const UnknownRate_1 = require("./UnknownRate");
|
|
16
|
+
const useBusinessDepositCalculatorParams_1 = require("./useBusinessDepositCalculatorParams");
|
|
17
|
+
exports.BusinessDepositCalculatorForm = (0, uni_jsx_1.JSX)(({ className = '', sourceBookDir, buttons, footnote, bottomFootnote, isShowDepositeName }) => {
|
|
18
|
+
const [moneyValue, setMoneyValue] = (0, hooks_1.useState)(constants_1.BUSINESS_DEFAULT_SUM);
|
|
19
|
+
const handleMoneyValue = (0, hooks_1.useCallback)((_) => setMoneyValue(_), []);
|
|
20
|
+
const [daysValue, setDaysValue] = (0, hooks_1.useState)(constants_1.BUSINESS_DEFAULT_DAYS);
|
|
21
|
+
const handleDaysValue = (0, hooks_1.useCallback)((_) => setDaysValue(_), []);
|
|
22
|
+
const [isReplenished, toggleIsReplenished] = (0, hooks_1.useState)(false);
|
|
23
|
+
const handleIsReplenished = (0, hooks_1.useCallback)((_) => toggleIsReplenished(_), []);
|
|
24
|
+
const [isPartialWithdrawal, toggleIsPartialWithdrawal] = (0, hooks_1.useState)(false);
|
|
25
|
+
const handleIsPartialWithdrawal = (0, hooks_1.useCallback)((_) => toggleIsPartialWithdrawal(_), []);
|
|
26
|
+
const [isSmallBusiness, toggleIsSmallBusiness] = (0, hooks_1.useState)(false);
|
|
27
|
+
const handleIsSmallBusiness = (0, hooks_1.useCallback)((_) => toggleIsSmallBusiness(_), []);
|
|
28
|
+
const [isMonthlyInterestPayment, toggleIsMonthlyInterestPayment] = (0, hooks_1.useState)(false);
|
|
29
|
+
const handleIsMonthlyInterestPayment = (0, hooks_1.useCallback)((_) => toggleIsMonthlyInterestPayment(_), []);
|
|
30
|
+
const userInputParams = {
|
|
31
|
+
moneyValue,
|
|
32
|
+
daysValue,
|
|
33
|
+
isReplenished,
|
|
34
|
+
isPartialWithdrawal,
|
|
35
|
+
isSmallBusiness,
|
|
36
|
+
isMonthlyInterestPayment,
|
|
37
|
+
};
|
|
38
|
+
const calculatorParams = (0, useBusinessDepositCalculatorParams_1.useBusinessDepositCalculatorParams)(userInputParams, sourceBookDir);
|
|
39
|
+
const { income, finalSum, rate, depositeName } = calculatorParams;
|
|
40
|
+
return ((0, jsx_runtime_1.jsxs)("section", { className: className, children: [(0, jsx_runtime_1.jsxs)("div", { className: "flex justify-between", children: [(0, jsx_runtime_1.jsxs)("div", { className: "w-[486px]", children: [(0, renderWantedSumInput_1.renderWantedSumInput)('Сумма вклада, ₽', calculatorParams, handleMoneyValue), (0, renderDaysInput_1.renderDaysInput)('Срок вклада, дни', calculatorParams, handleDaysValue), (0, jsx_runtime_1.jsxs)("div", { className: "mt-7 flex justify-between", children: [renderBusinessDepositParamsForm({
|
|
41
|
+
...calculatorParams,
|
|
42
|
+
handleIsReplenished,
|
|
43
|
+
handleIsPartialWithdrawal,
|
|
44
|
+
handleIsSmallBusiness,
|
|
45
|
+
}), (0, renderInterestPayment_1.renderInterestPayment)(isMonthlyInterestPayment, handleIsMonthlyInterestPayment, 'Выплата процентов')] })] }), rate ? ((0, jsx_runtime_1.jsx)(Rate_1.Rate, { rate: rate, depositeName: depositeName, isShowDepositeName: isShowDepositeName, rateBlockClassName: "tracking-[-25px]", unit: "%" })) : ((0, jsx_runtime_1.jsx)(UnknownRate_1.UnknownRate, {})), (0, jsx_runtime_1.jsxs)("div", { className: "w-full max-w-[350px]", children: [(0, jsx_runtime_1.jsx)(CalculatorValueBlock_1.CalculatorValueBlock, { title: "\u0414\u043E\u0445\u043E\u0434 \u043F\u043E \u0432\u043A\u043B\u0430\u0434\u0443", value: income, postfix: "\u20BD", prefix: "+" }), (0, jsx_runtime_1.jsx)(CalculatorValueBlock_1.CalculatorValueBlock, { title: "\u0421\u0443\u043C\u043C\u0430 \u0432 \u043A\u043E\u043D\u0446\u0435 \u0441\u0440\u043E\u043A\u0430", value: finalSum, postfix: "\u20BD" }), (0, renderButtonsSection_1.renderButtonsSection)(buttons, { className: 'mt-7', isVertical: true }), (0, jsx_runtime_1.jsx)("div", { className: "mt-7", children: (0, renderFootnote_1.renderFootnote)(footnote) })] })] }), (0, jsx_runtime_1.jsx)("div", { className: "mt-5", children: (0, renderFootnote_1.renderFootnote)(bottomFootnote) })] }));
|
|
46
|
+
});
|
|
47
|
+
const renderBusinessDepositParamsForm = ({ isDisabledOperatingDeposit, isReplenished, isPartialWithdrawal, isSmallBusiness, handleIsReplenished, handleIsPartialWithdrawal, handleIsSmallBusiness, }) => ((0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)(Checkbox_1.Checkbox, { text: "\u041F\u043E\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u0435", disabled: isDisabledOperatingDeposit, checked: isReplenished, onChange: handleIsReplenished }), (0, jsx_runtime_1.jsx)(Checkbox_1.Checkbox, { className: "mt-3", disabled: isDisabledOperatingDeposit, text: "\u0427\u0430\u0441\u0442\u0438\u0447\u043D\u043E\u0435 \u0441\u043D\u044F\u0442\u0438\u0435", checked: isPartialWithdrawal, onChange: handleIsPartialWithdrawal }), (0, jsx_runtime_1.jsx)(Checkbox_1.Checkbox, { className: "mt-3", text: "\u042F\u0432\u043B\u044F\u044E\u0441\u044C \u043C\u0430\u043B\u044B\u043C \u043F\u0440\u0435\u0434\u043F\u0440\u0438\u044F\u0442\u0438\u0435\u043C", checked: isSmallBusiness, onChange: handleIsSmallBusiness })] }));
|
|
48
|
+
//# sourceMappingURL=BusinessDepositCalculatorForm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BusinessDepositCalculatorForm.js","sourceRoot":"","sources":["../../../src/components/Calculator/BusinessDepositCalculatorForm.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAoE;AACpE,mFAAgF;AAChF,6DAA0D;AAE1D,iEAA8D;AAC9D,2CAA0E;AAC1E,iCAA8B;AAC9B,uDAAoD;AACpD,qDAAkD;AAClD,mEAAgE;AAChE,iEAA8D;AAC9D,+CAA4C;AAC5C,6FAG8C;AAMjC,QAAA,6BAA6B,G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EAAC,kFAAiB,EAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAC,QAAG,EAAC,MAAM,EAAC,GAAG,GAAG,EACtF,uBAAC,2CAAoB,IAAC,KAAK,EAAC,qGAAqB,EAAC,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAC,QAAG,GAAG,EAChF,IAAA,2CAAoB,EAAC,OAAO,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC,EACvE,gCAAK,SAAS,EAAC,MAAM,YAAE,IAAA,+BAAc,EAAC,QAAQ,CAAC,GAAO,IAClD,IACF,EACN,gCAAK,SAAS,EAAC,MAAM,YAAE,IAAA,+BAAc,EAAC,cAAc,CAAC,GAAO,IACpD,CACX,CAAC;AACJ,CAAC,CACF,CAAC;AAQF,MAAM,+BAA+B,GAAG,CAAC,EACvC,0BAA0B,EAC1B,aAAa,EACb,mBAAmB,EACnB,eAAe,EACf,mBAAmB,EACnB,yBAAyB,EACzB,qBAAqB,GACU,EAAE,EAAE,CAAC,CACpC,4CACE,uBAAC,mBAAQ,IACP,IAAI,EAAC,8DAAY,EACjB,QAAQ,EAAE,0BAA0B,EACpC,OAAO,EAAE,aAAa,EACtB,QAAQ,EAAE,mBAAmB,GAC7B,EACF,uBAAC,mBAAQ,IACP,SAAS,EAAC,MAAM,EAChB,QAAQ,EAAE,0BAA0B,EACpC,IAAI,EAAC,6FAAkB,EACvB,OAAO,EAAE,mBAAmB,EAC5B,QAAQ,EAAE,yBAAyB,GACnC,EACF,uBAAC,mBAAQ,IACP,SAAS,EAAC,MAAM,EAChB,IAAI,EAAC,oJAA4B,EACjC,OAAO,EAAE,eAAe,EACxB,QAAQ,EAAE,qBAAqB,GAC/B,IACE,CACP,CAAC"}
|
|
@@ -9,6 +9,12 @@ export declare type CommonCalculatorProps = Footnote & {
|
|
|
9
9
|
/** @title Адрес справочника */
|
|
10
10
|
sourceBookDir?: string;
|
|
11
11
|
};
|
|
12
|
+
export interface BusinessDepositCalculatorProps extends CommonCalculatorProps {
|
|
13
|
+
/** @title Сноска снизу блока */
|
|
14
|
+
bottomFootnote?: string;
|
|
15
|
+
/** @title Показывать название депозита */
|
|
16
|
+
isShowDepositeName?: boolean;
|
|
17
|
+
}
|
|
12
18
|
/**
|
|
13
19
|
* TODO: данные из справочника
|
|
14
20
|
**/
|
|
@@ -52,6 +58,13 @@ export declare type CreditCalculatorParamsDef = TitleProps & CommonCalculatorPro
|
|
|
52
58
|
export declare type DepositCalculatorParamsDef = TitleProps & DepositCalculatorParams & CommonCalculatorProps & {
|
|
53
59
|
calcType: 'DepositCalculatorForm';
|
|
54
60
|
};
|
|
61
|
+
/**
|
|
62
|
+
* @title Калькулятор вкладов - бизнес
|
|
63
|
+
* @default {"calcType": "BusinessDepositCalculatorForm"}
|
|
64
|
+
*/
|
|
65
|
+
export declare type BusinessDepositCalculatorParamsDef = TitleProps & DepositCalculatorParams & BusinessDepositCalculatorProps & {
|
|
66
|
+
calcType: 'BusinessDepositCalculatorForm';
|
|
67
|
+
};
|
|
55
68
|
/**
|
|
56
69
|
* @title Калькулятор бонусов
|
|
57
70
|
* @default {"calcType": "BonusCalculatorForm"}
|
|
@@ -62,7 +75,7 @@ export declare type BonusCalculatorParamsDef = TitleProps & CommonCalculatorProp
|
|
|
62
75
|
/**
|
|
63
76
|
* @title Настройки калькулятора
|
|
64
77
|
*/
|
|
65
|
-
export declare type CalculatorBlockDef = EmptyOption | CreditCalculatorParamsDef | DepositCalculatorParamsDef | BonusCalculatorParamsDef;
|
|
78
|
+
export declare type CalculatorBlockDef = EmptyOption | CreditCalculatorParamsDef | DepositCalculatorParamsDef | BusinessDepositCalculatorParamsDef | BonusCalculatorParamsDef;
|
|
66
79
|
/**
|
|
67
80
|
* @title Кнопка навигации
|
|
68
81
|
*/
|
|
@@ -2,6 +2,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
2
2
|
exports.CalculatorValueBlock = void 0;
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
+
const Text_1 = require("../../ui-kit/Text/Text");
|
|
5
6
|
const addSpacesBetweenNumbers_1 = require("../../utils/addSpacesBetweenNumbers");
|
|
6
|
-
|
|
7
|
+
const style_1 = require("../../utils/style");
|
|
8
|
+
exports.CalculatorValueBlock = (0, uni_jsx_1.JSX)(({ title, value, postfix = '', prefix, className = '' }) => ((0, jsx_runtime_1.jsxs)("div", { className: (0, style_1.style)('mb-7', className), children: [title ? ((0, jsx_runtime_1.jsx)(Text_1.Text, { size: "text-l-light", color: "text-secondary-text", children: title })) : null, value ? ((0, jsx_runtime_1.jsx)("div", { children: (0, jsx_runtime_1.jsxs)(Text_1.Text, { size: "text-h3", children: [prefix, " ", (0, addSpacesBetweenNumbers_1.addSpacesBetweenNumbers)(Math.round(value)), " ", postfix] }) })) : ((0, jsx_runtime_1.jsx)("div", { children: (0, jsx_runtime_1.jsx)(Text_1.Text, { size: "text-h3", children: "-" }) }))] })));
|
|
7
9
|
//# sourceMappingURL=CalculatorValueBlock.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CalculatorValueBlock.js","sourceRoot":"","sources":["../../../src/components/Calculator/CalculatorValueBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,iFAA8E;
|
|
1
|
+
{"version":3,"file":"CalculatorValueBlock.js","sourceRoot":"","sources":["../../../src/components/Calculator/CalculatorValueBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,iDAA8C;AAC9C,iFAA8E;AAC9E,6CAA0C;AAU7B,QAAA,oBAAoB,GAAG,IAAA,aAAG,EACrC,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,GAAG,EAAE,EAAE,MAAM,EAAE,SAAS,GAAG,EAAE,EAAE,EAAE,EAAE,CAAC,CAC1D,iCAAK,SAAS,EAAE,IAAA,aAAK,EAAC,MAAM,EAAE,SAAS,CAAC,aACrC,KAAK,CAAC,CAAC,CAAC,CACP,uBAAC,WAAI,IAAC,IAAI,EAAC,cAAc,EAAC,KAAK,EAAC,qBAAqB,YAClD,KAAK,GACD,CACR,CAAC,CAAC,CAAC,IAAI,EACP,KAAK,CAAC,CAAC,CAAC,CACP,0CACE,wBAAC,WAAI,IAAC,IAAI,EAAC,SAAS,aACjB,MAAM,OAAG,IAAA,iDAAuB,EAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,OAAG,OAAO,IACzD,GACH,CACP,CAAC,CAAC,CAAC,CACF,0CACE,uBAAC,WAAI,IAAC,IAAI,EAAC,SAAS,kBAAS,GACzB,CACP,IACG,CACP,CACF,CAAC"}
|
|
@@ -6,6 +6,7 @@ const hooks_1 = require("@redneckz/uni-jsx/lib/hooks");
|
|
|
6
6
|
const renderButtonsSection_1 = require("../../ui-kit/Button/renderButtonsSection");
|
|
7
7
|
const Checkbox_1 = require("../../ui-kit/Checkbox/Checkbox");
|
|
8
8
|
const RadioButtonGroup_1 = require("../../ui-kit/RadioButtonGroup/RadioButtonGroup");
|
|
9
|
+
const style_1 = require("../../utils/style");
|
|
9
10
|
const CalculatorValueBlock_1 = require("./CalculatorValueBlock");
|
|
10
11
|
const constants_1 = require("./constants");
|
|
11
12
|
const Rate_1 = require("./Rate");
|
|
@@ -43,6 +44,6 @@ exports.CreditCalculatorForm = (0, uni_jsx_1.JSX)(({ className = '', sourceBookD
|
|
|
43
44
|
monthsValue,
|
|
44
45
|
};
|
|
45
46
|
const calculatorParams = (0, useCreditCalculatorParams_1.useCreditCalculatorParams)(userInputParams, sourceBookDir);
|
|
46
|
-
return ((0, jsx_runtime_1.jsxs)("section", { className: className, children: [(0, jsx_runtime_1.jsxs)("div", { className: "w-[468px]", children: [(0, renderWantedSumInput_1.renderWantedSumInput)('Сумма кредита, ₽', { ...calculatorParams, step: 500 }, handleMoneyValue), (0, renderMonthsInput_1.renderMonthsInput)('Срок кредита, месяцев', calculatorParams, handleMonthsValue), (0, jsx_runtime_1.jsxs)("div", { className: "mt-7", children: [(0, jsx_runtime_1.jsx)(Checkbox_1.Checkbox, { text: "\u041F\u043E\u043B\u0443\u0447\u0430\u044E \u0437\u0430\u0440\u043F\u043B\u0430\u0442\u0443 \u043D\u0430 \u0441\u0447\u0451\u0442 \u0432 \u0420\u043E\u0441\u0441\u0435\u043B\u044C\u0445\u043E\u0437\u0431\u0430\u043D\u043A\u0435", checked: isSalaryClient, onChange: toggleIsSalaryClient }), (0, jsx_runtime_1.jsx)(Checkbox_1.Checkbox, { className: "mt-3", text: "\u0420\u0430\u0431\u043E\u0442\u0430\u044E \u0432 \u0431\u044E\u0434\u0436\u0435\u0442\u043D\u043E\u0439 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", checked: isStateEmployee, onChange: toggleIsStateEmployee }), (0, jsx_runtime_1.jsx)(Checkbox_1.Checkbox, { className: "mt-3", text: "\u041A\u043E\u043C\u043F\u043B\u0435\u043A\u0441\u043D\u0430\u044F \u0441\u0442\u0440\u0430\u0445\u043E\u0432\u0430\u044F \u0437\u0430\u0449\u0438\u0442\u0430", checked: isInsurance, onChange: toggleIsInsurance })] })] }), (0, jsx_runtime_1.jsx)(Rate_1.Rate, { title: "\u0421\u0442\u0430\u0432\u043A\u0430", rate: calculatorParams.finalRate, rateBlockClassName: "tracking-[-25px]", unit: "%" }), (0, jsx_runtime_1.jsxs)("div", { className: "w-full max-w-[350px]", children: [(0, jsx_runtime_1.jsx)(CalculatorValueBlock_1.CalculatorValueBlock, { title: isAnnuity ? 'Ежемесячный платеж' : 'Платёж в первый месяц', value: calculatorParams.monthlyPayment, postfix: "\u20BD" }), (0, jsx_runtime_1.jsx)(RadioButtonGroup_1.RadioButtonGroup, { items: paymentTypeItems, checkedItem: isAnnuity ? exports.ANNUITY : exports.DIFFERENTIAL, onChange: (text) => toggleIsAnnuity(text === exports.ANNUITY) }), (0, renderButtonsSection_1.renderButtonsSection)(buttons, { className: 'mt-7', isVertical: true }), (0, renderFootnote_1.renderFootnote)(footnote)] })] }));
|
|
47
|
+
return ((0, jsx_runtime_1.jsxs)("section", { className: (0, style_1.style)('flex justify-between', className), children: [(0, jsx_runtime_1.jsxs)("div", { className: "w-[468px]", children: [(0, renderWantedSumInput_1.renderWantedSumInput)('Сумма кредита, ₽', { ...calculatorParams, step: 500 }, handleMoneyValue), (0, renderMonthsInput_1.renderMonthsInput)('Срок кредита, месяцев', calculatorParams, handleMonthsValue), (0, jsx_runtime_1.jsxs)("div", { className: "mt-7", children: [(0, jsx_runtime_1.jsx)(Checkbox_1.Checkbox, { text: "\u041F\u043E\u043B\u0443\u0447\u0430\u044E \u0437\u0430\u0440\u043F\u043B\u0430\u0442\u0443 \u043D\u0430 \u0441\u0447\u0451\u0442 \u0432 \u0420\u043E\u0441\u0441\u0435\u043B\u044C\u0445\u043E\u0437\u0431\u0430\u043D\u043A\u0435", checked: isSalaryClient, onChange: toggleIsSalaryClient }), (0, jsx_runtime_1.jsx)(Checkbox_1.Checkbox, { className: "mt-3", text: "\u0420\u0430\u0431\u043E\u0442\u0430\u044E \u0432 \u0431\u044E\u0434\u0436\u0435\u0442\u043D\u043E\u0439 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", checked: isStateEmployee, onChange: toggleIsStateEmployee }), (0, jsx_runtime_1.jsx)(Checkbox_1.Checkbox, { className: "mt-3", text: "\u041A\u043E\u043C\u043F\u043B\u0435\u043A\u0441\u043D\u0430\u044F \u0441\u0442\u0440\u0430\u0445\u043E\u0432\u0430\u044F \u0437\u0430\u0449\u0438\u0442\u0430", checked: isInsurance, onChange: toggleIsInsurance })] })] }), (0, jsx_runtime_1.jsx)(Rate_1.Rate, { title: "\u0421\u0442\u0430\u0432\u043A\u0430", rate: calculatorParams.finalRate, rateBlockClassName: "tracking-[-25px]", unit: "%" }), (0, jsx_runtime_1.jsxs)("div", { className: "w-full max-w-[350px]", children: [(0, jsx_runtime_1.jsx)(CalculatorValueBlock_1.CalculatorValueBlock, { title: isAnnuity ? 'Ежемесячный платеж' : 'Платёж в первый месяц', value: calculatorParams.monthlyPayment, postfix: "\u20BD" }), (0, jsx_runtime_1.jsx)(RadioButtonGroup_1.RadioButtonGroup, { items: paymentTypeItems, checkedItem: isAnnuity ? exports.ANNUITY : exports.DIFFERENTIAL, onChange: (text) => toggleIsAnnuity(text === exports.ANNUITY) }), (0, renderButtonsSection_1.renderButtonsSection)(buttons, { className: 'mt-7', isVertical: true }), (0, renderFootnote_1.renderFootnote)(footnote)] })] }));
|
|
47
48
|
});
|
|
48
49
|
//# sourceMappingURL=CreditCalculatorForm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreditCalculatorForm.js","sourceRoot":"","sources":["../../../src/components/Calculator/CreditCalculatorForm.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAoE;AACpE,mFAAgF;AAChF,6DAA0D;AAC1D,qFAAkF;
|
|
1
|
+
{"version":3,"file":"CreditCalculatorForm.js","sourceRoot":"","sources":["../../../src/components/Calculator/CreditCalculatorForm.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAoE;AACpE,mFAAgF;AAChF,6DAA0D;AAC1D,qFAAkF;AAClF,6CAA0C;AAE1C,iEAA8D;AAC9D,2CAA0D;AAC1D,iCAA8B;AAC9B,qDAAkD;AAClD,2DAAwD;AACxD,iEAA8D;AAC9D,2EAAwE;AAE3D,QAAA,OAAO,GAAG,SAAS,CAAC;AACpB,QAAA,YAAY,GAAG,cAAc,CAAC;AAE3C,MAAM,gBAAgB,GAAG;IACvB;QACE,EAAE,EAAE,eAAO;QACX,IAAI,EAAE,aAAa;KACpB;IACD;QACE,EAAE,EAAE,oBAAY;QAChB,IAAI,EAAE,oBAAoB;KAC3B;CACF,CAAC;AAMW,QAAA,oBAAoB,GAAG,IAAA,aAAG,EACrC,CAAC,EAAE,SAAS,GAAG,EAA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 +5,21 @@ const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
|
5
5
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
6
6
|
const hooks_1 = require("@redneckz/uni-jsx/lib/hooks");
|
|
7
7
|
const renderButtonsSection_1 = require("../../ui-kit/Button/renderButtonsSection");
|
|
8
|
-
const
|
|
8
|
+
const style_1 = require("../../utils/style");
|
|
9
9
|
const CalculatorValueBlock_1 = require("./CalculatorValueBlock");
|
|
10
10
|
const constants_1 = require("./constants");
|
|
11
11
|
const Rate_1 = require("./Rate");
|
|
12
12
|
const renderFootnote_1 = require("./renderFootnote");
|
|
13
|
+
const renderInterestPayment_1 = require("./renderInterestPayment");
|
|
13
14
|
const renderMonthsInput_1 = require("./renderMonthsInput");
|
|
14
15
|
const renderWantedSumInput_1 = require("./renderWantedSumInput");
|
|
15
16
|
const useDepositCalculatorParams_1 = require("./useDepositCalculatorParams");
|
|
16
|
-
const EVERY_MONTH = 'everyMonth';
|
|
17
|
-
const AT_END_TERM = 'atEndTerm';
|
|
18
|
-
const depositTypeItems = [
|
|
19
|
-
{
|
|
20
|
-
id: EVERY_MONTH,
|
|
21
|
-
text: 'Ежемесячно',
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
id: AT_END_TERM,
|
|
25
|
-
text: 'В конце срока',
|
|
26
|
-
},
|
|
27
|
-
];
|
|
28
17
|
exports.DepositCalculatorForm = (0, uni_jsx_1.JSX)(({ className = '', sourceBookDir, buttons, footnote }) => {
|
|
29
18
|
const [moneyValue, setMoneyValue] = (0, hooks_1.useState)(constants_1.DEFAULT_SUM);
|
|
30
19
|
const handleMoneyValue = (0, hooks_1.useCallback)((_) => setMoneyValue(_), []);
|
|
31
20
|
const [monthsValue, setMonthsValue] = (0, hooks_1.useState)(constants_1.DEFAULT_MONTHS);
|
|
32
21
|
const [isMonthlyInterestPayment, toggleIsMonthlyInterestPayment] = (0, hooks_1.useState)(false);
|
|
22
|
+
const handleIsMonthlyInterestPayment = (0, hooks_1.useCallback)((_) => toggleIsMonthlyInterestPayment(_), []);
|
|
33
23
|
const userInputParams = {
|
|
34
24
|
moneyValue,
|
|
35
25
|
monthsValue,
|
|
@@ -38,10 +28,10 @@ exports.DepositCalculatorForm = (0, uni_jsx_1.JSX)(({ className = '', sourceBook
|
|
|
38
28
|
const handleMonthsValue = (0, hooks_1.useCallback)((_) => setMonthsValue(_), []);
|
|
39
29
|
const calculatorParams = (0, useDepositCalculatorParams_1.useDepositCalculatorParams)(userInputParams, sourceBookDir);
|
|
40
30
|
const { income, finalSum, rate } = calculatorParams;
|
|
41
|
-
return ((0, jsx_runtime_1.jsxs)("section", { className: className, children: [(0, jsx_runtime_1.jsxs)("div", { className: "w-[468px]", children: [(0, renderWantedSumInput_1.renderWantedSumInput)('Сумма вклада, ₽', {
|
|
31
|
+
return ((0, jsx_runtime_1.jsxs)("section", { className: (0, style_1.style)('flex justify-between', className), children: [(0, jsx_runtime_1.jsxs)("div", { className: "w-[468px]", children: [(0, renderWantedSumInput_1.renderWantedSumInput)('Сумма вклада, ₽', {
|
|
42
32
|
...calculatorParams,
|
|
43
33
|
}, handleMoneyValue), (0, renderMonthsInput_1.renderMonthsInput)('Срок вклада, месяцев', {
|
|
44
34
|
...calculatorParams,
|
|
45
|
-
}, handleMonthsValue)] }), (0, jsx_runtime_1.jsx)(Rate_1.Rate, { rate: rate || 1, rateBlockClassName: "tracking-[-25px]", unit: "%" }), (0, jsx_runtime_1.jsxs)("div", { className: "w-full max-w-[350px]", children: [income ? ((0, jsx_runtime_1.jsx)(CalculatorValueBlock_1.CalculatorValueBlock, { title: "\u0414\u043E\u0445\u043E\u0434 \u043F\u043E \u0432\u043A\u043B\u0430\u0434\u0443", value: income, postfix: "\u20BD", prefix: "+" })) : null, finalSum ? ((0, jsx_runtime_1.jsx)(CalculatorValueBlock_1.CalculatorValueBlock, { title: "\u0421\u0443\u043C\u043C\u0430 \u0432 \u043A\u043E\u043D\u0446\u0435 \u0441\u0440\u043E\u043A\u0430", value: finalSum, postfix: "\u20BD" })) : null, (0,
|
|
35
|
+
}, handleMonthsValue)] }), (0, jsx_runtime_1.jsx)(Rate_1.Rate, { rate: rate || 1, rateBlockClassName: "tracking-[-25px]", unit: "%" }), (0, jsx_runtime_1.jsxs)("div", { className: "w-full max-w-[350px]", children: [income ? ((0, jsx_runtime_1.jsx)(CalculatorValueBlock_1.CalculatorValueBlock, { title: "\u0414\u043E\u0445\u043E\u0434 \u043F\u043E \u0432\u043A\u043B\u0430\u0434\u0443", value: income, postfix: "\u20BD", prefix: "+" })) : null, finalSum ? ((0, jsx_runtime_1.jsx)(CalculatorValueBlock_1.CalculatorValueBlock, { title: "\u0421\u0443\u043C\u043C\u0430 \u0432 \u043A\u043E\u043D\u0446\u0435 \u0441\u0440\u043E\u043A\u0430", value: finalSum, postfix: "\u20BD" })) : null, (0, renderInterestPayment_1.renderInterestPayment)(isMonthlyInterestPayment, handleIsMonthlyInterestPayment), (0, renderButtonsSection_1.renderButtonsSection)(buttons, { className: 'mt-7', isVertical: true }), (0, renderFootnote_1.renderFootnote)(footnote)] })] }));
|
|
46
36
|
});
|
|
47
37
|
//# sourceMappingURL=DepositCalculatorForm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DepositCalculatorForm.js","sourceRoot":"","sources":["../../../src/components/Calculator/DepositCalculatorForm.tsx"],"names":[],"mappings":";;;AAAA,OAAO;AAEP,+CAAwC;AACxC,uDAAoE;AACpE,mFAAgF;AAChF,
|
|
1
|
+
{"version":3,"file":"DepositCalculatorForm.js","sourceRoot":"","sources":["../../../src/components/Calculator/DepositCalculatorForm.tsx"],"names":[],"mappings":";;;AAAA,OAAO;AAEP,+CAAwC;AACxC,uDAAoE;AACpE,mFAAgF;AAChF,6CAA0C;AAE1C,iEAA8D;AAC9D,2CAA0D;AAC1D,iCAA8B;AAC9B,qDAAkD;AAClD,mEAAgE;AAChE,2DAAwD;AACxD,iEAA8D;AAC9D,6EA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BAAsB,EACtB;wBACE,GAAG,gBAAgB;qBACpB,EACD,iBAAiB,CAClB,IACG,EACN,uBAAC,WAAI,IAAC,IAAI,EAAE,IAAI,IAAI,CAAC,EAAE,kBAAkB,EAAC,kBAAkB,EAAC,IAAI,EAAC,GAAG,GAAG,EACxE,iCAAK,SAAS,EAAC,sBAAsB,aAClC,MAAM,CAAC,CAAC,CAAC,CACR,uBAAC,2CAAoB,IAAC,KAAK,EAAC,kFAAiB,EAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAC,QAAG,EAAC,MAAM,EAAC,GAAG,GAAG,CACvF,CAAC,CAAC,CAAC,IAAI,EACP,QAAQ,CAAC,CAAC,CAAC,CACV,uBAAC,2CAAoB,IAAC,KAAK,EAAC,qGAAqB,EAAC,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAC,QAAG,GAAG,CAClF,CAAC,CAAC,CAAC,IAAI,EACP,IAAA,6CAAqB,EAAC,wBAAwB,EAAE,8BAA8B,CAAC,EAC/E,IAAA,2CAAoB,EAAC,OAAO,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC,EACtE,IAAA,+BAAc,EAAC,QAAQ,CAAC,IACrB,IACE,CACX,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { BonusCalculatorProps } from './BonusCalculatorForm';
|
|
2
|
+
import { BusinessDepositCalculatorProp } from './BusinessDepositCalculatorForm';
|
|
2
3
|
import { CreditCalculatorProp } from './CreditCalculatorForm';
|
|
3
4
|
import { DepositCalculatorProp } from './DepositCalculatorForm';
|
|
4
|
-
export declare type EmbeddableCalcProps = CreditCalculatorProp | DepositCalculatorProp | BonusCalculatorProps;
|
|
5
|
+
export declare type EmbeddableCalcProps = CreditCalculatorProp | DepositCalculatorProp | BusinessDepositCalculatorProp | BonusCalculatorProps;
|
|
5
6
|
export declare const EmbeddableCalcBlocks: {
|
|
6
7
|
CreditCalculatorForm: import("@redneckz/uni-jsx").UNIComponent<CreditCalculatorProp, any, any>;
|
|
7
8
|
DepositCalculatorForm: import("@redneckz/uni-jsx").UNIComponent<DepositCalculatorProp, any, any>;
|
|
9
|
+
BusinessDepositCalculatorForm: import("@redneckz/uni-jsx").UNIComponent<BusinessDepositCalculatorProp, any, any>;
|
|
8
10
|
BonusCalculatorForm: import("@redneckz/uni-jsx").UNIComponent<BonusCalculatorProps, any, any>;
|
|
9
11
|
};
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
2
|
exports.EmbeddableCalcBlocks = void 0;
|
|
3
3
|
const BonusCalculatorForm_1 = require("./BonusCalculatorForm");
|
|
4
|
+
const BusinessDepositCalculatorForm_1 = require("./BusinessDepositCalculatorForm");
|
|
4
5
|
const CreditCalculatorForm_1 = require("./CreditCalculatorForm");
|
|
5
6
|
const DepositCalculatorForm_1 = require("./DepositCalculatorForm");
|
|
6
7
|
exports.EmbeddableCalcBlocks = {
|
|
7
8
|
CreditCalculatorForm: CreditCalculatorForm_1.CreditCalculatorForm,
|
|
8
9
|
DepositCalculatorForm: DepositCalculatorForm_1.DepositCalculatorForm,
|
|
10
|
+
BusinessDepositCalculatorForm: BusinessDepositCalculatorForm_1.BusinessDepositCalculatorForm,
|
|
9
11
|
BonusCalculatorForm: BonusCalculatorForm_1.BonusCalculatorForm,
|
|
10
12
|
};
|
|
11
13
|
//# sourceMappingURL=EmbeddableCalcBlocks.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmbeddableCalcBlocks.js","sourceRoot":"","sources":["../../../src/components/Calculator/EmbeddableCalcBlocks.tsx"],"names":[],"mappings":";;AAAA,+DAAkF;AAClF,iEAAoF;AACpF,mEAAuF;
|
|
1
|
+
{"version":3,"file":"EmbeddableCalcBlocks.js","sourceRoot":"","sources":["../../../src/components/Calculator/EmbeddableCalcBlocks.tsx"],"names":[],"mappings":";;AAAA,+DAAkF;AAClF,mFAGyC;AACzC,iEAAoF;AACpF,mEAAuF;AAQ1E,QAAA,oBAAoB,GAAG;IAClC,oBAAoB,EAApB,2CAAoB;IACpB,qBAAqB,EAArB,6CAAqB;IACrB,6BAA6B,EAA7B,6DAA6B;IAC7B,mBAAmB,EAAnB,yCAAmB;CACpB,CAAC"}
|
|
@@ -2,5 +2,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
2
2
|
exports.Rate = void 0;
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
-
|
|
5
|
+
const Text_1 = require("../../ui-kit/Text/Text");
|
|
6
|
+
const style_1 = require("../../utils/style");
|
|
7
|
+
exports.Rate = (0, uni_jsx_1.JSX)(({ rate, title = 'Ставка', unit, depositeName, isShowDepositeName, rateBlockClassName }) => ((0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)(Text_1.Text, { size: "text-l-light", color: "text-secondary-text", children: title }), (0, jsx_runtime_1.jsxs)("div", { className: "relative", children: [(0, jsx_runtime_1.jsxs)("div", { className: "flex justify-start", children: [(0, jsx_runtime_1.jsx)("span", { className: (0, style_1.style)('block gradient-color-text font-mohave text-title-huge pr-6 -mt-4', rateBlockClassName), children: String(rate).replace('.', ',') }), unit ? ((0, jsx_runtime_1.jsx)("span", { className: "gradient-color-text text-[65px] leading-[75px]", children: unit })) : ('')] }), depositeName && isShowDepositeName ? ((0, jsx_runtime_1.jsx)("div", { className: "absolute bottom-7 w-full text-center whitespace-nowrap", children: depositeName })) : null] })] })));
|
|
6
8
|
//# sourceMappingURL=Rate.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Rate.js","sourceRoot":"","sources":["../../../src/components/Calculator/Rate.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;
|
|
1
|
+
{"version":3,"file":"Rate.js","sourceRoot":"","sources":["../../../src/components/Calculator/Rate.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,iDAA8C;AAC9C,6CAA0C;AAW7B,QAAA,IAAI,GAAG,IAAA,aAAG,EACrB,CAAC,EAAE,IAAI,EAAE,KAAK,GAAG,QAAQ,EAAE,IAAI,EAAE,YAAY,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,EAAE,EAAE,CAAC,CAC1F,4CACE,uBAAC,WAAI,IAAC,IAAI,EAAC,cAAc,EAAC,KAAK,EAAC,qBAAqB,YAClD,KAAK,GACD,EACP,iCAAK,SAAS,EAAC,UAAU,aACvB,iCAAK,SAAS,EAAC,oBAAoB,aACjC,iCACE,SAAS,EAAE,IAAA,aAAK,EACd,kEAAkE,EAClE,kBAAkB,CACnB,YAEA,MAAM,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,GAAG,CAAC,GAC1B,EACN,IAAI,CAAC,CAAC,CAAC,CACN,iCAAM,SAAS,EAAC,gDAAgD,YAAE,IAAI,GAAQ,CAC/E,CAAC,CAAC,CAAC,CACF,EAAE,CACH,IACG,EACL,YAAY,IAAI,kBAAkB,CAAC,CAAC,CAAC,CACpC,gCAAK,SAAS,EAAC,wDAAwD,YACpE,YAAY,GACT,CACP,CAAC,CAAC,CAAC,IAAI,IACJ,IACF,CACP,CACF,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
+
exports.UnknownRate = void 0;
|
|
3
|
+
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
+
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
+
const Img_1 = require("../../ui-kit/Img/Img");
|
|
6
|
+
const Paragraph_1 = require("../../ui-kit/Paragraph/Paragraph");
|
|
7
|
+
const Text_1 = require("../../ui-kit/Text/Text");
|
|
8
|
+
exports.UnknownRate = (0, uni_jsx_1.JSX)(({ title = 'Ставка' }) => ((0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)(Text_1.Text, { size: "text-l-light", color: "text-secondary-text", children: title }), (0, jsx_runtime_1.jsx)("div", { className: "mt-1 pt-1 pl-5 pb-1.5", children: (0, jsx_runtime_1.jsx)(Img_1.Img, { image: { icon: 'PercentIcon' }, width: "90", height: "85", asSVG: true }) }), (0, jsx_runtime_1.jsx)("div", { className: "w-[250px] mt-3.5", children: (0, jsx_runtime_1.jsxs)(Paragraph_1.Paragraph, { size: "text-xl-light", color: "text-primary-text", children: ["\u041F\u0440\u043E\u0446\u0435\u043D\u0442\u043D\u0430\u044F \u0441\u0442\u0430\u0432\u043A\u0430 \u0434\u043B\u044F \u0441\u0440\u043E\u043A\u0430 ", (0, jsx_runtime_1.jsx)("strong", { children: "1-30 \u0434\u043D\u0435\u0439" }), " \u0443\u0441\u0442\u0430\u043D\u0430\u0432\u043B\u0438\u0432\u0430\u0435\u0442\u0441\u044F \u043F\u0440\u0438 \u043E\u0431\u0440\u0430\u0449\u0435\u043D\u0438\u0438 \u0432 \u0411\u0430\u043D\u043A"] }) })] })));
|
|
9
|
+
//# sourceMappingURL=UnknownRate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UnknownRate.js","sourceRoot":"","sources":["../../../src/components/Calculator/UnknownRate.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,8CAA2C;AAC3C,gEAA6D;AAC7D,iDAA8C;AAMjC,QAAA,WAAW,GAAG,IAAA,aAAG,EAAmB,CAAC,EAAE,KAAK,GAAG,QAAQ,EAAE,EAAE,EAAE,CAAC,CACzE,4CACE,uBAAC,WAAI,IAAC,IAAI,EAAC,cAAc,EAAC,KAAK,EAAC,qBAAqB,YAClD,KAAK,GACD,EACP,gCAAK,SAAS,EAAC,uBAAuB,YACpC,uBAAC,SAAG,IAAC,KAAK,EAAE,EAAE,IAAI,EAAE,aAAa,EAAE,EAAE,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,KAAK,SAAG,GAChE,EACN,gCAAK,SAAS,EAAC,kBAAkB,YAC/B,wBAAC,qBAAS,IAAC,IAAI,EAAC,eAAe,EAAC,KAAK,EAAC,mBAAmB,qKAC3B,+EAA0B,6MAC5C,GACR,IACF,CACP,CAAC,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { BonusCalculatorSourceBookParams } from './useBonusCalculatorParams';
|
|
2
|
+
import { BusinessDepositCalculatorSourceBookParams } from './useBusinessDepositCalculatorParams';
|
|
2
3
|
import { CreditCalculatorSourceBookParams } from './useCreditCalculatorParams';
|
|
3
4
|
import { DepositCalculatorSourceBookParams } from './useDepositCalculatorParams';
|
|
4
5
|
export declare const DEFAULT_MIN_SUM = 60000;
|
|
@@ -7,6 +8,13 @@ export declare const DEFAULT_SUM: number;
|
|
|
7
8
|
export declare const DEFAULT_MIN_MONTHS = 13;
|
|
8
9
|
export declare const DEFAULT_MAX_MONTHS = 60;
|
|
9
10
|
export declare const DEFAULT_MONTHS: number;
|
|
11
|
+
export declare const BUSINESS_DEFAULT_SUM = 100000;
|
|
12
|
+
export declare const BUSINESS_MIN_DAYS = 1;
|
|
13
|
+
export declare const BUSINESS_MAX_DAYS = 1095;
|
|
14
|
+
export declare const BUSINESS_RATE_MIN_DAYS = 30;
|
|
15
|
+
export declare const BUSINESS_OPERATING_MIN_DAYS = 90;
|
|
16
|
+
export declare const BUSINESS_OPERATING_MAX_DAYS = 730;
|
|
17
|
+
export declare const BUSINESS_DEFAULT_DAYS = 90;
|
|
10
18
|
export declare const MONTHS_IN_YEAR = 12;
|
|
11
19
|
export declare const MONTHLY_INTEREST_RATE: number;
|
|
12
20
|
export declare const DEFAULT_CREDIT_CALCULATOR_PARAMS: CreditCalculatorSourceBookParams;
|
|
@@ -14,6 +22,8 @@ export declare const DEFAULT_TRAVEL_MIN_SUM = 6000;
|
|
|
14
22
|
export declare const DEFAULT_REST_MIN_SUM = 6000;
|
|
15
23
|
export declare const DEFAULT_BONUS_CALCULATOR_PARAMS: BonusCalculatorSourceBookParams;
|
|
16
24
|
export declare const DEFAULT_DEPOSIT_CALCULATOR_PARAMS: DepositCalculatorSourceBookParams;
|
|
25
|
+
export declare const DEFAULT_BUSINESS_DEPOSIT_CALCULATOR_PARAMS: BusinessDepositCalculatorSourceBookParams;
|
|
17
26
|
export declare const CREDIT_CALC_DEFAULT_DIR = "credit-calculator-data";
|
|
18
27
|
export declare const BONUS_CALC_DEFAULT_DIR = "bonus-calculator-data";
|
|
19
28
|
export declare const DEPOSIT_CALC_DEFAULT_DIR = "deposit-calculator-data";
|
|
29
|
+
export declare const BUSINESS_DEPOSIT_CALC_DEFAULT_DIR = "business-calculator-data";
|
|
@@ -1,11 +1,18 @@
|
|
|
1
1
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.DEPOSIT_CALC_DEFAULT_DIR = exports.BONUS_CALC_DEFAULT_DIR = exports.CREDIT_CALC_DEFAULT_DIR = exports.DEFAULT_DEPOSIT_CALCULATOR_PARAMS = exports.DEFAULT_BONUS_CALCULATOR_PARAMS = exports.DEFAULT_REST_MIN_SUM = exports.DEFAULT_TRAVEL_MIN_SUM = exports.DEFAULT_CREDIT_CALCULATOR_PARAMS = exports.MONTHLY_INTEREST_RATE = exports.MONTHS_IN_YEAR = exports.DEFAULT_MONTHS = exports.DEFAULT_MAX_MONTHS = exports.DEFAULT_MIN_MONTHS = exports.DEFAULT_SUM = exports.DEFAULT_MAX_SUM = exports.DEFAULT_MIN_SUM = void 0;
|
|
2
|
+
exports.BUSINESS_DEPOSIT_CALC_DEFAULT_DIR = exports.DEPOSIT_CALC_DEFAULT_DIR = exports.BONUS_CALC_DEFAULT_DIR = exports.CREDIT_CALC_DEFAULT_DIR = exports.DEFAULT_BUSINESS_DEPOSIT_CALCULATOR_PARAMS = exports.DEFAULT_DEPOSIT_CALCULATOR_PARAMS = exports.DEFAULT_BONUS_CALCULATOR_PARAMS = exports.DEFAULT_REST_MIN_SUM = exports.DEFAULT_TRAVEL_MIN_SUM = exports.DEFAULT_CREDIT_CALCULATOR_PARAMS = exports.MONTHLY_INTEREST_RATE = exports.MONTHS_IN_YEAR = exports.BUSINESS_DEFAULT_DAYS = exports.BUSINESS_OPERATING_MAX_DAYS = exports.BUSINESS_OPERATING_MIN_DAYS = exports.BUSINESS_RATE_MIN_DAYS = exports.BUSINESS_MAX_DAYS = exports.BUSINESS_MIN_DAYS = exports.BUSINESS_DEFAULT_SUM = exports.DEFAULT_MONTHS = exports.DEFAULT_MAX_MONTHS = exports.DEFAULT_MIN_MONTHS = exports.DEFAULT_SUM = exports.DEFAULT_MAX_SUM = exports.DEFAULT_MIN_SUM = void 0;
|
|
3
3
|
exports.DEFAULT_MIN_SUM = 60000;
|
|
4
4
|
exports.DEFAULT_MAX_SUM = 2000000;
|
|
5
5
|
exports.DEFAULT_SUM = (exports.DEFAULT_MAX_SUM - exports.DEFAULT_MIN_SUM) / 2;
|
|
6
6
|
exports.DEFAULT_MIN_MONTHS = 13;
|
|
7
7
|
exports.DEFAULT_MAX_MONTHS = 60;
|
|
8
8
|
exports.DEFAULT_MONTHS = Math.round((exports.DEFAULT_MAX_MONTHS - exports.DEFAULT_MIN_MONTHS) / 2);
|
|
9
|
+
exports.BUSINESS_DEFAULT_SUM = 100000;
|
|
10
|
+
exports.BUSINESS_MIN_DAYS = 1;
|
|
11
|
+
exports.BUSINESS_MAX_DAYS = 1095;
|
|
12
|
+
exports.BUSINESS_RATE_MIN_DAYS = 30; // порог количества дней, при которых ставка не доступна
|
|
13
|
+
exports.BUSINESS_OPERATING_MIN_DAYS = 90;
|
|
14
|
+
exports.BUSINESS_OPERATING_MAX_DAYS = 730;
|
|
15
|
+
exports.BUSINESS_DEFAULT_DAYS = 90;
|
|
9
16
|
exports.MONTHS_IN_YEAR = 12;
|
|
10
17
|
exports.MONTHLY_INTEREST_RATE = exports.MONTHS_IN_YEAR * 100;
|
|
11
18
|
exports.DEFAULT_CREDIT_CALCULATOR_PARAMS = {
|
|
@@ -42,7 +49,20 @@ exports.DEFAULT_DEPOSIT_CALCULATOR_PARAMS = {
|
|
|
42
49
|
rate: 5.9,
|
|
43
50
|
isMonthlyInterestPayment: true,
|
|
44
51
|
};
|
|
52
|
+
exports.DEFAULT_BUSINESS_DEPOSIT_CALCULATOR_PARAMS = {
|
|
53
|
+
minSum: 1000,
|
|
54
|
+
maxSum: 500000,
|
|
55
|
+
minDays: exports.BUSINESS_MIN_DAYS,
|
|
56
|
+
maxDays: exports.BUSINESS_MAX_DAYS,
|
|
57
|
+
rate: 5.9,
|
|
58
|
+
isMonthlyInterestPayment: true,
|
|
59
|
+
isReplenished: false,
|
|
60
|
+
isPartialWithdrawal: false,
|
|
61
|
+
isSmallBusiness: false,
|
|
62
|
+
depositeName: "Депозит 'Стабильный'",
|
|
63
|
+
};
|
|
45
64
|
exports.CREDIT_CALC_DEFAULT_DIR = 'credit-calculator-data';
|
|
46
65
|
exports.BONUS_CALC_DEFAULT_DIR = 'bonus-calculator-data';
|
|
47
66
|
exports.DEPOSIT_CALC_DEFAULT_DIR = 'deposit-calculator-data';
|
|
67
|
+
exports.BUSINESS_DEPOSIT_CALC_DEFAULT_DIR = 'business-calculator-data';
|
|
48
68
|
//# sourceMappingURL=constants.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/components/Calculator/constants.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/components/Calculator/constants.ts"],"names":[],"mappings":";;AAKa,QAAA,eAAe,GAAG,KAAK,CAAC;AACxB,QAAA,eAAe,GAAG,OAAO,CAAC;AAC1B,QAAA,WAAW,GAAG,CAAC,uBAAe,GAAG,uBAAe,CAAC,GAAG,CAAC,CAAC;AACtD,QAAA,kBAAkB,GAAG,EAAE,CAAC;AACxB,QAAA,kBAAkB,GAAG,EAAE,CAAC;AACxB,QAAA,cAAc,GAAG,IA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