@redneckz/wildless-cms-uni-blocks 0.7.4 → 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/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/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/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/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/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/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,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>;
|
|
@@ -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
|
*/
|
|
@@ -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,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";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
interface RenderDaysInputParams {
|
|
3
|
+
minDays: number;
|
|
4
|
+
maxDays: number;
|
|
5
|
+
daysValue: number;
|
|
6
|
+
}
|
|
7
|
+
export declare function renderDaysInput(title: string, params: RenderDaysInputParams, callback?: (value: number) => void): JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -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
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg id="icon" xmlns="http://www.w3.org/2000/svg" width="95" height="88" fill="none"><g filter="url(#a)"><path fill="url(#b)" d="M92.249 84.398c0-.8-20.147-1.449-44.998-1.449-24.852 0-44.999.649-44.999 1.45 0 .8 20.147 1.449 44.998 1.449 24.852 0 44.999-.65 44.999-1.45Z"/><path fill="url(#c)" d="M92.249 84.398c0-.8-20.147-1.449-44.998-1.449-24.852 0-44.999.649-44.999 1.45 0 .8 20.147 1.449 44.998 1.449 24.852 0 44.999-.65 44.999-1.45Z"/></g><path fill="#050304" d="M53.314 84.397c0-.481-10.846-.871-24.226-.871-13.38 0-24.226.39-24.226.87 0 .482 10.847.872 24.226.872 13.38 0 24.226-.39 24.226-.871Z"/><path fill="url(#d)" d="M53.314 84.397c0-.481-10.846-.871-24.226-.871-13.38 0-24.226.39-24.226.87 0 .482 10.847.872 24.226.872 13.38 0 24.226-.39 24.226-.871Z"/><mask id="e" width="77" height="77" x="7" y="8" maskUnits="userSpaceOnUse" style="mask-type:alpha"><path fill="#fff" d="M12.064 39.77c-3.044-3.342-4.566-7.665-4.566-12.969 0-5.298 1.522-9.616 4.566-12.942 3.043-3.325 6.96-4.988 11.769-4.988 4.836 0 8.759 1.652 11.769 4.966 3.004 3.309 4.51 7.632 4.51 12.97 0 5.298-1.506 9.621-4.51 12.97-3.004 3.342-6.927 5.016-11.77 5.016-4.807-.006-8.73-1.68-11.768-5.022Zm3.173 43.33 26.52-37.838 22.896-35.009h11.791l-27.162 38.53L27.136 83.1H15.237Zm13.364-49.04c1.195-1.815 1.787-4.233 1.787-7.26 0-3.095-.586-5.53-1.758-7.31-1.173-1.782-2.774-2.667-4.803-2.667s-3.641.89-4.83 2.666c-1.195 1.782-1.787 4.216-1.787 7.311 0 3.027.603 5.445 1.815 7.26 1.212 1.815 2.813 2.722 4.802 2.722 1.99 0 3.585-.907 4.774-2.722Zm27.112 45.278c-3.01-3.325-4.51-7.66-4.51-12.992 0-5.264 1.5-9.56 4.51-12.885 3.005-3.326 6.91-4.989 11.713-4.989 4.876 0 8.816 1.652 11.82 4.966 3.004 3.309 4.509 7.615 4.509 12.914 0 5.338-1.505 9.666-4.51 12.992-3.01 3.326-6.943 4.988-11.82 4.988-4.801-.005-8.707-1.668-11.712-4.994Zm16.493-5.681c1.19-1.815 1.787-4.25 1.787-7.311 0-3.094-.581-5.524-1.736-7.282-1.156-1.759-2.768-2.644-4.831-2.644-2.03 0-3.63.89-4.802 2.666-1.173 1.781-1.759 4.2-1.759 7.26 0 3.06.597 5.496 1.787 7.31 1.19 1.816 2.784 2.723 4.774 2.723 1.99 0 3.585-.913 4.78-2.722Z"/></mask><g mask="url(#e)"><g filter="url(#f)"><path fill="#226D23" d="M12.064 39.77c-3.044-3.342-4.566-7.665-4.566-12.969 0-5.298 1.522-9.616 4.566-12.942 3.043-3.325 6.96-4.988 11.769-4.988 4.836 0 8.759 1.652 11.769 4.966 3.004 3.309 4.51 7.632 4.51 12.97 0 5.298-1.506 9.621-4.51 12.97-3.004 3.342-6.927 5.016-11.77 5.016-4.807-.006-8.73-1.68-11.768-5.022Zm3.173 43.33 26.52-37.838 22.896-35.009h11.791l-27.162 38.53L27.136 83.1H15.237Zm13.364-49.04c1.195-1.815 1.787-4.233 1.787-7.26 0-3.095-.586-5.53-1.758-7.31-1.173-1.782-2.774-2.667-4.803-2.667s-3.641.89-4.83 2.666c-1.195 1.782-1.787 4.216-1.787 7.311 0 3.027.603 5.445 1.815 7.26 1.212 1.815 2.813 2.722 4.802 2.722 1.99 0 3.585-.907 4.774-2.722Zm27.112 45.278c-3.01-3.325-4.51-7.66-4.51-12.992 0-5.264 1.5-9.56 4.51-12.885 3.005-3.326 6.91-4.989 11.713-4.989 4.876 0 8.816 1.652 11.82 4.966 3.004 3.309 4.509 7.615 4.509 12.914 0 5.338-1.505 9.666-4.51 12.992-3.01 3.326-6.943 4.988-11.82 4.988-4.801-.005-8.707-1.668-11.712-4.994Zm16.493-5.681c1.19-1.815 1.787-4.25 1.787-7.311 0-3.094-.581-5.524-1.736-7.282-1.156-1.759-2.768-2.644-4.831-2.644-2.03 0-3.63.89-4.802 2.666-1.173 1.781-1.759 4.2-1.759 7.26 0 3.06.597 5.496 1.787 7.31 1.19 1.816 2.784 2.723 4.774 2.723 1.99 0 3.585-.913 4.78-2.722Z"/></g><g filter="url(#g)"><path fill="url(#h)" d="M77.91 79.891c-4.078 4.02-9.747 4.224-12.071 3.824 2.774-.125 8.382-.597 12.072-4.71 3.69-4.111 4.715-8.128 5.282-13.105-.11 4.458-1.203 9.972-5.282 13.991Z"/><path fill="url(#i)" d="M77.91 79.891c-4.078 4.02-9.747 4.224-12.071 3.824 2.774-.125 8.382-.597 12.072-4.71 3.69-4.111 4.715-8.128 5.282-13.105-.11 4.458-1.203 9.972-5.282 13.991Z"/></g><g filter="url(#j)"><path fill="#226D23" d="M12.064 39.77c-3.044-3.342-4.566-7.665-4.566-12.969 0-5.298 1.522-9.616 4.566-12.942 3.043-3.325 6.96-4.988 11.769-4.988 4.836 0 8.759 1.652 11.769 4.966 3.004 3.309 4.51 7.632 4.51 12.97 0 5.298-1.506 9.621-4.51 12.97-3.004 3.342-6.927 5.016-11.77 5.016-4.807-.006-8.73-1.68-11.768-5.022ZM28.6 34.06c1.195-1.814 1.787-4.232 1.787-7.259 0-3.095-.586-5.53-1.758-7.31-1.173-1.782-2.774-2.667-4.803-2.667s-3.641.89-4.83 2.666c-1.195 1.782-1.787 4.216-1.787 7.311 0 3.027.603 5.445 1.815 7.26 1.212 1.815 2.813 2.722 4.802 2.722 1.99 0 3.585-.907 4.774-2.722Z"/><path fill="url(#k)" d="M12.064 39.77c-3.044-3.342-4.566-7.665-4.566-12.969 0-5.298 1.522-9.616 4.566-12.942 3.043-3.325 6.96-4.988 11.769-4.988 4.836 0 8.759 1.652 11.769 4.966 3.004 3.309 4.51 7.632 4.51 12.97 0 5.298-1.506 9.621-4.51 12.97-3.004 3.342-6.927 5.016-11.77 5.016-4.807-.006-8.73-1.68-11.768-5.022ZM28.6 34.06c1.195-1.814 1.787-4.232 1.787-7.259 0-3.095-.586-5.53-1.758-7.31-1.173-1.782-2.774-2.667-4.803-2.667s-3.641.89-4.83 2.666c-1.195 1.782-1.787 4.216-1.787 7.311 0 3.027.603 5.445 1.815 7.26 1.212 1.815 2.813 2.722 4.802 2.722 1.99 0 3.585-.907 4.774-2.722Z"/></g><g filter="url(#l)"><path fill="url(#m)" d="M59.095 51.63c-4.673 3.444-6.354 8.865-6.61 11.145.59-2.126 2.344-7.34 6.918-10.722 4.333-3.205 10.095-2.883 12.567-2.152-2.344-.859-8.201-1.715-12.875 1.729Z"/></g><g filter="url(#n)"><path fill="url(#o)" d="M15.095 11.995c-4.673 3.444-6.354 8.865-6.61 11.146.59-2.127 2.345-7.341 6.918-10.723 4.333-3.204 10.095-2.882 12.567-2.152-2.344-.859-8.201-1.714-12.874 1.73Z"/></g><g filter="url(#p)"><path fill="url(#q)" d="M72.854 74.715c1.254-1.913 1.883-4.479 1.883-7.705 0-3.261-.611-5.822-1.83-7.675-1.217-1.854-2.916-2.786-5.09-2.786h-.063c2.104.018 3.751.934 4.935 2.735 1.196 1.82 1.797 4.334 1.797 7.536 0 3.167-.619 5.687-1.85 7.565-1.236 1.872-2.886 2.817-4.945 2.817-2.06 0-3.71-.94-4.94-2.817-1.219-1.86-1.837-4.348-1.85-7.47v.095c0 3.226.63 5.792 1.884 7.705 1.253 1.913 2.934 2.87 5.032 2.87 2.097 0 3.778-.963 5.037-2.87Z"/></g><g filter="url(#r)"><path fill="url(#s)" d="M29.258 34.86c1.253-1.913 1.883-4.48 1.883-7.705 0-3.262-.612-5.822-1.83-7.675-1.218-1.854-2.917-2.787-5.091-2.787h-.063c2.105.018 3.752.934 4.936 2.736 1.195 1.82 1.796 4.333 1.796 7.536 0 3.166-.618 5.686-1.849 7.564-1.236 1.873-2.887 2.817-4.946 2.817-2.059 0-3.71-.939-4.94-2.817-1.218-1.859-1.837-4.348-1.849-7.47v.096c0 3.226.63 5.792 1.883 7.705 1.254 1.913 2.935 2.87 5.032 2.87s3.778-.963 5.038-2.87Z"/></g><g filter="url(#t)"><path fill="#050304" d="M29.965 78.542c9.142 0 16.553-7.41 16.553-16.552s-7.41-16.553-16.553-16.553c-9.141 0-16.552 7.411-16.552 16.553 0 9.142 7.41 16.552 16.552 16.552Z"/><path fill="url(#u)" d="M29.965 78.542c9.142 0 16.553-7.41 16.553-16.552s-7.41-16.553-16.553-16.553c-9.141 0-16.552 7.411-16.552 16.553 0 9.142 7.41 16.552 16.552 16.552Z"/></g><g filter="url(#v)"><path fill="url(#w)" fill-opacity=".5" d="M28.447 81.074C37.59 81.074 45 73.663 45 64.52c0-9.142-7.411-16.552-16.553-16.552-9.141 0-16.552 7.41-16.552 16.552s7.41 16.553 16.552 16.553Z"/></g><g filter="url(#x)"><path fill="url(#y)" d="M31.645 74.67c.66-1.5 21.944-32.967 32.017-47.913l-.825-1.425c-1.275 2.224-6.044 9.868-14.322 22.644C40.238 60.753 31.67 71.096 28.42 74.67c.8.625 2.565 1.5 3.225 0Z"/></g><g filter="url(#z)"><path fill="url(#A)" fill-opacity=".45" d="M80.948 18.62c0 8.07-6.543 14.613-14.614 14.613-8.071 0-14.614-6.542-14.614-14.613S58.263 4.006 66.334 4.006c8.07 0 14.614 6.543 14.614 14.614Z"/></g><g filter="url(#B)"><path fill="url(#C)" d="M34.246 40.567c-4.079 4.019-9.747 4.224-12.072 3.824 2.775-.125 8.383-.597 12.072-4.71 3.69-4.111 4.716-8.128 5.282-13.105-.11 4.457-1.203 9.972-5.282 13.99Z"/></g></g><mask id="D" width="34" height="34" x="4" y="39" maskUnits="userSpaceOnUse" style="mask-type:alpha"><path fill="#fff" d="M21.415 72.884c9.142 0 16.552-7.41 16.552-16.552s-7.41-16.553-16.552-16.553S4.862 47.19 4.862 56.332c0 9.141 7.411 16.552 16.553 16.552Z"/></mask><g mask="url(#D)"><path fill="#050304" d="M21.415 72.884c9.142 0 16.552-7.41 16.552-16.552s-7.41-16.553-16.552-16.553S4.862 47.19 4.862 56.332c0 9.141 7.411 16.552 16.553 16.552Z"/><path fill="url(#E)" d="M21.415 72.884c9.142 0 16.552-7.41 16.552-16.552s-7.41-16.553-16.552-16.553S4.862 47.19 4.862 56.332c0 9.141 7.411 16.552 16.553 16.552Z"/><path fill="url(#F)" d="M21.415 72.884c9.142 0 16.552-7.41 16.552-16.552s-7.41-16.553-16.552-16.553S4.862 47.19 4.862 56.332c0 9.141 7.411 16.552 16.553 16.552Z"/><path fill="#FA552D" fill-rule="evenodd" d="M32.887 52.24h6.449v-.222h-6.449v.222Zm0 .83h6.449v-.222h-6.449v.223Zm6.449.83h-6.449v-.222h6.449v.223Zm-6.449.83h6.449v-.222h-6.449v.223Zm6.449.831h-6.449v-.223h6.449v.223Zm-6.449.83h6.449v-.222h-6.449v.222Zm6.449.83h-6.449V57h6.449v.223Zm-6.449.83h6.449v-.222h-6.449v.223Zm6.449.831h-6.449v-.223h6.449v.223Zm-6.449.83h6.449v-.223h-6.449v.223Zm6.449.83h-6.449v-.222h6.449v.222Zm-6.449.83h6.449v-.222h-6.449v.223Zm6.449.83h-6.449v-.222h6.449v.223Zm-6.449.831h6.449v-.223h-6.449v.223Zm6.449.83h-6.449v-.222h6.449v.222Zm-6.449.83h6.449v-.222h-6.449v.222Z" clip-rule="evenodd"/></g><mask id="G" width="34" height="34" x="2" y="39" maskUnits="userSpaceOnUse" style="mask-type:alpha"><path fill="#91BD65" d="M19.297 72.884c9.142 0 16.552-7.41 16.552-16.552s-7.41-16.553-16.552-16.553S2.745 47.19 2.745 56.332c0 9.141 7.41 16.552 16.552 16.552Z"/></mask><g mask="url(#G)"><path fill="#FFCA42" d="M19.297 72.884c9.142 0 16.552-7.41 16.552-16.552s-7.41-16.553-16.552-16.553S2.745 47.19 2.745 56.332c0 9.141 7.41 16.552 16.552 16.552Z"/><path fill="url(#H)" d="M19.297 72.884c9.142 0 16.552-7.41 16.552-16.552s-7.41-16.553-16.552-16.553S2.745 47.19 2.745 56.332c0 9.141 7.41 16.552 16.552 16.552Z"/><path fill="#FFCA42" d="m12.91 51.118-7.384-8.17-2.827 1.635 6.255 6.713 3.956-.178Z"/><path fill="#fff" d="m12.91 51.118-7.384-8.17-2.827 1.635 6.255 6.713 3.956-.178Z"/><mask id="I" width="28" height="28" x="5" y="42" maskUnits="userSpaceOnUse" style="mask-type:alpha"><path fill="#91BD65" d="M19.297 69.941c7.517 0 13.61-6.093 13.61-13.61 0-7.517-6.093-13.61-13.61-13.61-7.517 0-13.61 6.093-13.61 13.61 0 7.517 6.093 13.61 13.61 13.61Z"/></mask><g mask="url(#I)"><path fill="#FA552D" d="M19.297 69.941c7.517 0 13.61-6.093 13.61-13.61 0-7.517-6.093-13.61-13.61-13.61-7.517 0-13.61 6.093-13.61 13.61 0 7.517 6.093 13.61 13.61 13.61Z"/><path fill="url(#J)" d="M19.297 69.941c7.517 0 13.61-6.093 13.61-13.61 0-7.517-6.093-13.61-13.61-13.61-7.517 0-13.61 6.093-13.61 13.61 0 7.517 6.093 13.61 13.61 13.61Z"/><path fill="url(#K)" d="M19.297 69.941c7.517 0 13.61-6.093 13.61-13.61 0-7.517-6.093-13.61-13.61-13.61-7.517 0-13.61 6.093-13.61 13.61 0 7.517 6.093 13.61 13.61 13.61Z"/><path fill="#FFCA42" d="M4.385 72.586h29.363L31.45 60.785a3.147 3.147 0 0 0-3.086-2.543H9.77a3.147 3.147 0 0 0-3.087 2.543l-2.3 11.801Z"/><path fill="url(#L)" d="M4.385 72.586h29.363L31.45 60.785a3.147 3.147 0 0 0-3.086-2.543H9.77a3.147 3.147 0 0 0-3.087 2.543l-2.3 11.801Z"/></g><path fill="#FFCA42" d="M15.522 50.905c2.39-1.986.944-5.06-2.476-2.72-3.824 2.621-.532 5.222 2.476 2.72Z"/><path fill="url(#M)" d="M15.522 50.905c2.39-1.986.944-5.06-2.476-2.72-3.824 2.621-.532 5.222 2.476 2.72Z"/><path fill="#FA552D" d="M19.833 44.328c-7.516 0-13.61 6.094-13.61 13.61 0 1.203.156 2.37.449 3.482a13.568 13.568 0 0 1-.985-5.089c0-7.516 6.094-13.61 13.61-13.61 6.313 0 11.62 4.302 13.161 10.132-2.019-4.998-6.91-8.525-12.625-8.525Z"/><path fill="url(#N)" d="M19.833 44.328c-7.516 0-13.61 6.094-13.61 13.61 0 1.203.156 2.37.449 3.482a13.568 13.568 0 0 1-.985-5.089c0-7.516 6.094-13.61 13.61-13.61 6.313 0 11.62 4.302 13.161 10.132-2.019-4.998-6.91-8.525-12.625-8.525Z"/><path fill="#fff" d="M2.745 56.5c.094-9.08 7.485-16.413 16.587-16.413 7.936 0 14.57 5.573 16.203 13.018-1.5-7.597-8.2-13.326-16.238-13.326-9.142 0-16.552 7.411-16.552 16.553v.168Z"/><path fill="#fff" d="M32.908 56.333c0 7.516-6.094 13.61-13.61 13.61a13.598 13.598 0 0 1-11.341-6.082 13.6 13.6 0 0 0 11.47 6.281c7.517 0 13.61-6.093 13.61-13.61 0-2.784-.835-5.372-2.27-7.528a13.547 13.547 0 0 1 2.14 7.329Z"/><path fill="#fff" d="M28.56 66.247c-.428-.442-.199-1.708-.692-1.708v-.004c-.394 0-.286 1.326-.748 1.772-.443.428-1.708.199-1.708.69 0 .489 1.268.263 1.708.691.462.447.354 1.772.748 1.772v-.004c.493 0 .264-1.267.692-1.707.445-.462 1.771-.354 1.771-.749 0-.394-1.326-.29-1.771-.753Z"/></g><path fill="#fff" d="M17.286 40.18a.577.577 0 1 1 1.11-.314.577.577 0 0 1-1.11.314Zm4.558 1.27a.375.375 0 1 1 .721-.203.375.375 0 0 1-.721.204Z"/><path fill="#fff" d="M12.231 38.276c.02-.063 2.592.675 5.746 1.648 3.154.974 5.696 1.813 5.677 1.875-.02.063-2.592-.676-5.747-1.649-3.154-.973-5.695-1.812-5.676-1.874Z"/><path fill="#fff" d="M16.025 41.995c-.032-.03.818-.957 1.9-2.068 1.081-1.111 1.984-1.987 2.016-1.956.032.031-.819.957-1.9 2.069-1.082 1.11-1.984 1.986-2.016 1.955Z"/><path fill="#FA552D" d="M38.511 76.61H4.936a.827.827 0 0 1-.824-.825v-2.213c0-.453.371-.824.824-.824h33.575c.453 0 .824.37.824.824v2.213c0 .453-.37.824-.824.824Z"/><path fill="url(#O)" d="M38.511 76.61H4.936a.827.827 0 0 1-.824-.825v-2.213c0-.453.371-.824.824-.824h33.575c.453 0 .824.37.824.824v2.213c0 .453-.37.824-.824.824Z"/><path fill="#050304" d="M16.05 75.48h-.598v.552h.598v-.552Zm1.195-.42h-.598v.972h.598v-.973Zm1.195-.644h-.598v1.616h.598v-1.616Zm1.195.26h-.598v1.356h.598v-1.356Zm1.19-1.356h-.597v2.436h.598V73.32Zm1.196 0h-.598v2.712h.598V73.32Zm1.195 0h-.598v2.712h.598V73.32Zm1.195 0h-.598v2.712h.598V73.32Zm1.19 0h-.597v2.712h.598V73.32Zm1.196 0h-.598v2.712h.598V73.32Zm1.194 0h-.597v2.712h.598V73.32Zm1.195 0h-.597v1.904h.597V73.32Zm1.191 0h-.597v2.712h.597V73.32Zm1.195 0h-.597v2.712h.597V73.32Zm1.195 0h-.597v2.712h.597V73.32Zm1.195 0h-.597v2.712h.597V73.32Zm1.191 0h-.597v2.712h.597V73.32Zm1.195 0h-.597v2.712h.597V73.32Zm1.195 0h-.597v2.712h.597V73.32Zm1.195 0h-.597v2.712h.597V73.32Z"/><path fill="#050304" d="M38.511 76.61h-8.546v-3.862h8.542c.453 0 .824.37.824.824v2.213a.82.82 0 0 1-.82.824Z"/><path fill="url(#P)" d="M38.511 76.61h-8.546v-3.862h8.542c.453 0 .824.37.824.824v2.213a.82.82 0 0 1-.82.824Z"/><path fill="#FA552D" d="M37.752 76.61H36.37v-3.862h1.383v3.861Z"/><path fill="#FA552D" d="M42.593 80.47H9.023a.827.827 0 0 1-.824-.824v-2.213c0-.453.37-.824.824-.824h33.574c.454 0 .825.371.825.825v2.212a.83.83 0 0 1-.829.824Z"/><path fill="#050304" d="M42.593 80.47H28.91L8.2 78.295v-.862c0-.453.37-.824.824-.824h33.574c.454 0 .825.371.825.825v2.212a.83.83 0 0 1-.829.824Z"/><path fill="url(#Q)" d="M42.593 80.47H28.91L8.2 78.295v-.862c0-.453.37-.824.824-.824h33.574c.454 0 .825.371.825.825v2.212a.83.83 0 0 1-.829.824Z"/><path fill="url(#R)" d="M42.593 80.47H28.91L8.2 78.295v-.862c0-.453.37-.824.824-.824h33.574c.454 0 .825.371.825.825v2.212a.83.83 0 0 1-.829.824Z"/><path fill="#050304" d="M40.92 84.33H7.346a.827.827 0 0 1-.824-.824v-2.213c0-.453.37-.824.824-.824H40.92c.454 0 .825.37.825.824v2.213a.824.824 0 0 1-.825.824Z"/><path fill="url(#S)" d="M40.92 84.33H7.346a.827.827 0 0 1-.824-.824v-2.213c0-.453.37-.824.824-.824H40.92c.454 0 .825.37.825.824v2.213a.824.824 0 0 1-.825.824Z"/><path fill="#050304" d="M40.92 84.33h-8.54v-3.861h8.541c.454 0 .825.37.825.824v2.213a.824.824 0 0 1-.825.824Z"/><path fill="url(#T)" d="M40.92 84.33h-8.54v-3.861h8.541c.454 0 .825.37.825.824v2.213a.824.824 0 0 1-.825.824Z"/><path fill="#FA552D" d="M12.492 81.07h-.597v2.658h.597V81.07Zm1.195.334h-.597v1.99h.597v-1.99Zm1.191.614h-.598v.762h.598v-.762Zm1.195.56h-.598v1.15h.598v-1.15Zm1.195-1.137h-.598v.956h.598v-.956Zm2.386.383h-.598v1.15h.598v-1.15Z"/><path fill="url(#U)" d="M82.18 14.69c0 8.07-6.544 14.614-14.615 14.614-8.07 0-14.613-6.543-14.613-14.614 0-8.071 6.542-14.614 14.613-14.614S82.18 6.62 82.18 14.69Z"/><mask id="V" width="30" height="30" x="52" y="0" maskUnits="userSpaceOnUse" style="mask-type:alpha"><path fill="#fff" d="M81.853 14.69c0 8.07-6.543 14.614-14.614 14.614-8.07 0-14.614-6.543-14.614-14.614C52.625 6.619 59.168.076 67.24.076c8.071 0 14.614 6.543 14.614 14.614Z"/></mask><g mask="url(#V)"><path fill="url(#W)" d="M81.853 14.69c0 8.07-6.543 14.614-14.614 14.614-8.07 0-14.614-6.543-14.614-14.614C52.625 6.619 59.168.076 67.24.076c8.071 0 14.614 6.543 14.614 14.614Z"/><path fill="#F8B690" d="M67.402.077c-7.996.087-14.45 6.596-14.45 14.613s6.454 14.525 14.45 14.613h-.163c-8.07 0-14.614-6.542-14.614-14.613S59.168.076 67.24.076l.163.001Z"/><g filter="url(#X)"><path fill="url(#Y)" d="M1.606 44.428c-3.64-3.997-5.46-9.168-5.46-15.51 0-6.337 1.82-11.5 5.46-15.478C5.246 9.463 9.93 7.475 15.68 7.475c5.783 0 10.475 1.975 14.075 5.938 3.592 3.957 5.392 9.127 5.392 15.511 0 6.336-1.8 11.507-5.393 15.51-3.592 3.998-8.284 6-14.074 6-5.75-.007-10.442-2.009-14.075-6.006ZM5.4 96.245l31.716-45.252 27.38-41.867H78.6l-32.484 46.08L19.63 96.245H5.4Zm15.982-58.646c1.43-2.17 2.137-5.062 2.137-8.682 0-3.7-.7-6.613-2.103-8.743-1.402-2.13-3.316-3.188-5.743-3.188-2.427 0-4.355 1.065-5.777 3.188-1.429 2.13-2.137 5.043-2.137 8.743 0 3.62.721 6.512 2.17 8.682 1.45 2.171 3.364 3.256 5.744 3.256s4.287-1.085 5.71-3.256Zm32.424 54.15c-3.6-3.977-5.393-9.161-5.393-15.538 0-6.296 1.793-11.433 5.393-15.41 3.593-3.977 8.264-5.965 14.007-5.965 5.831 0 10.543 1.975 14.136 5.938 3.593 3.957 5.392 9.107 5.392 15.444 0 6.383-1.8 11.56-5.392 15.537-3.6 3.977-8.305 5.966-14.136 5.966-5.743-.007-10.414-1.995-14.007-5.972Zm19.724-6.795c1.422-2.17 2.136-5.083 2.136-8.743 0-3.7-.694-6.606-2.076-8.71-1.382-2.102-3.31-3.16-5.777-3.16-2.426 0-4.34 1.064-5.743 3.188-1.402 2.13-2.103 5.022-2.103 8.682s.714 6.572 2.137 8.743c1.422 2.17 3.33 3.256 5.71 3.256 2.379 0 4.287-1.092 5.716-3.256Z"/></g><g filter="url(#Z)"><path fill="url(#aa)" d="m71.16 29.38-3.92-14.69 19.366 7.042L71.16 29.38Z"/></g><path fill="url(#ab)" fill-rule="evenodd" d="M67.239 28.36c7.55 0 13.67-6.12 13.67-13.67S74.79 1.02 67.24 1.02 53.57 7.14 53.57 14.69s6.12 13.67 13.67 13.67Zm0 .224c7.673 0 13.893-6.22 13.893-13.894 0-7.673-6.22-13.893-13.893-13.893-7.673 0-13.893 6.22-13.893 13.893 0 7.673 6.22 13.894 13.893 13.894Zm0-1.048c7.094 0 12.846-5.751 12.846-12.846 0-7.094-5.751-12.846-12.846-12.846S54.393 7.596 54.393 14.69c0 7.095 5.751 12.846 12.846 12.846Zm0 .223c7.218 0 13.069-5.851 13.069-13.069 0-7.217-5.852-13.068-13.07-13.068-7.217 0-13.068 5.85-13.068 13.068s5.851 13.07 13.07 13.07Zm12.02-13.069c0 6.64-5.381 12.021-12.02 12.021-6.64 0-12.021-5.382-12.021-12.02 0-6.64 5.382-12.022 12.02-12.022 6.64 0 12.022 5.382 12.022 12.021Zm.224 0c0 6.762-5.482 12.244-12.244 12.244S54.995 21.452 54.995 14.69 60.477 2.446 67.24 2.446 79.483 7.928 79.483 14.69Zm-12.244 7.357a7.357 7.357 0 1 0 0-14.713 7.357 7.357 0 0 0 0 14.713Zm0 .223a7.58 7.58 0 1 0 0-15.16 7.58 7.58 0 0 0 0 15.16Zm6.607-7.58a6.607 6.607 0 1 1-13.214 0 6.607 6.607 0 0 1 13.214 0Zm.223 0a6.83 6.83 0 1 1-13.66 0 6.83 6.83 0 0 1 13.66 0Zm-6.83 2.033a2.033 2.033 0 1 0 0-4.066 2.033 2.033 0 0 0 0 4.066Zm0 .223a2.256 2.256 0 1 0 0-4.512 2.256 2.256 0 0 0 0 4.512Zm1.224-2.256a1.224 1.224 0 1 1-2.448 0 1.224 1.224 0 0 1 2.448 0Zm.222 0a1.446 1.446 0 1 1-2.892 0 1.446 1.446 0 0 1 2.892 0Z" clip-rule="evenodd"/><path fill="url(#ac)" fill-rule="evenodd" d="M67.239 28.36c7.55 0 13.67-6.12 13.67-13.67S74.79 1.02 67.24 1.02 53.57 7.14 53.57 14.69s6.12 13.67 13.67 13.67Zm0 .224c7.673 0 13.893-6.22 13.893-13.894 0-7.673-6.22-13.893-13.893-13.893-7.673 0-13.893 6.22-13.893 13.893 0 7.673 6.22 13.894 13.893 13.894Zm0-1.048c7.094 0 12.846-5.751 12.846-12.846 0-7.094-5.751-12.846-12.846-12.846S54.393 7.596 54.393 14.69c0 7.095 5.751 12.846 12.846 12.846Zm0 .223c7.218 0 13.069-5.851 13.069-13.069 0-7.217-5.852-13.068-13.07-13.068-7.217 0-13.068 5.85-13.068 13.068s5.851 13.07 13.07 13.07Zm12.02-13.069c0 6.64-5.381 12.021-12.02 12.021-6.64 0-12.021-5.382-12.021-12.02 0-6.64 5.382-12.022 12.02-12.022 6.64 0 12.022 5.382 12.022 12.021Zm.224 0c0 6.762-5.482 12.244-12.244 12.244S54.995 21.452 54.995 14.69 60.477 2.446 67.24 2.446 79.483 7.928 79.483 14.69Zm-12.244 7.357a7.357 7.357 0 1 0 0-14.713 7.357 7.357 0 0 0 0 14.713Zm0 .223a7.58 7.58 0 1 0 0-15.16 7.58 7.58 0 0 0 0 15.16Zm6.607-7.58a6.607 6.607 0 1 1-13.214 0 6.607 6.607 0 0 1 13.214 0Zm.223 0a6.83 6.83 0 1 1-13.66 0 6.83 6.83 0 0 1 13.66 0Zm-6.83 2.033a2.033 2.033 0 1 0 0-4.066 2.033 2.033 0 0 0 0 4.066Zm0 .223a2.256 2.256 0 1 0 0-4.512 2.256 2.256 0 0 0 0 4.512Zm1.224-2.256a1.224 1.224 0 1 1-2.448 0 1.224 1.224 0 0 1 2.448 0Zm.222 0a1.446 1.446 0 1 1-2.892 0 1.446 1.446 0 0 1 2.892 0Z" clip-rule="evenodd"/></g><defs><linearGradient id="d" x1="46.641" x2="41.692" y1="85.268" y2="85.268" gradientUnits="userSpaceOnUse"><stop stop-color="#0057D6"/><stop offset="1" stop-color="#0057D6" stop-opacity="0"/></linearGradient><linearGradient id="h" x1="78.284" x2="71.46" y1="79.993" y2="76.394" gradientUnits="userSpaceOnUse"><stop stop-color="#216C22"/><stop offset="1" stop-color="#216C22" stop-opacity="0"/></linearGradient><linearGradient id="i" x1="68.258" x2="68.258" y1="86.752" y2="78.267" gradientUnits="userSpaceOnUse"><stop stop-color="#050304"/><stop offset="1" stop-color="#050304" stop-opacity="0"/></linearGradient><linearGradient id="k" x1="22.47" x2="32.271" y1="12.731" y2="29.7" gradientUnits="userSpaceOnUse"><stop offset=".229" stop-color="#FFCA42"/><stop offset=".851" stop-color="#FFCA42" stop-opacity="0"/></linearGradient><linearGradient id="m" x1="58.338" x2="61.113" y1="52.356" y2="55.955" gradientUnits="userSpaceOnUse"><stop stop-color="#FFCA42"/><stop offset="1" stop-color="#FFCA42" stop-opacity="0"/></linearGradient><linearGradient id="o" x1="14.339" x2="17.113" y1="12.722" y2="16.32" gradientUnits="userSpaceOnUse"><stop stop-color="#fff"/><stop offset="1" stop-color="#fff" stop-opacity="0"/></linearGradient><linearGradient id="q" x1="73.26" x2="69.061" y1="74.326" y2="71.102" gradientUnits="userSpaceOnUse"><stop stop-color="#FFCA42"/><stop offset="1" stop-color="#FFCA42" stop-opacity="0"/></linearGradient><linearGradient id="s" x1="29.663" x2="25.464" y1="34.47" y2="31.246" gradientUnits="userSpaceOnUse"><stop stop-color="#FFCA42"/><stop offset="1" stop-color="#FFCA42" stop-opacity="0"/></linearGradient><linearGradient id="u" x1="40.135" x2="29.038" y1="52.487" y2="52.487" gradientUnits="userSpaceOnUse"><stop stop-color="#0057D6"/><stop offset="1" stop-color="#0057D6" stop-opacity="0"/></linearGradient><linearGradient id="w" x1="47.064" x2="36.567" y1="60.499" y2="64.998" gradientUnits="userSpaceOnUse"><stop stop-color="#FA552D"/><stop offset="1" stop-color="#FA552D" stop-opacity="0"/></linearGradient><linearGradient id="y" x1="46.041" x2="46.041" y1="25.332" y2="75.498" gradientUnits="userSpaceOnUse"><stop stop-color="#216C22"/><stop offset=".577" stop-color="#050304"/><stop offset="1" stop-color="#050304"/></linearGradient><linearGradient id="C" x1="34.619" x2="27.796" y1="40.669" y2="37.07" gradientUnits="userSpaceOnUse"><stop stop-color="#216C22"/><stop offset="1" stop-color="#216C22" stop-opacity="0"/></linearGradient><linearGradient id="E" x1="21.415" x2="21.415" y1="41.587" y2="49.129" gradientUnits="userSpaceOnUse"><stop offset=".418" stop-color="#FA552D"/><stop offset=".835" stop-color="#FA552D" stop-opacity="0"/></linearGradient><linearGradient id="F" x1="32.367" x2="32.367" y1="71.968" y2="66.344" gradientUnits="userSpaceOnUse"><stop stop-color="#0057D6"/><stop offset="1" stop-color="#0057D6" stop-opacity="0"/></linearGradient><linearGradient id="H" x1="31.544" x2="16.709" y1="67.466" y2="43.154" gradientUnits="userSpaceOnUse"><stop stop-color="#FA552D"/><stop offset="1" stop-color="#FA552D" stop-opacity="0"/></linearGradient><linearGradient id="J" x1="16.709" x2="16.709" y1="70.143" y2="44.596" gradientUnits="userSpaceOnUse"><stop stop-color="#FFCA42"/><stop offset="1" stop-color="#FFCA42" stop-opacity="0"/></linearGradient><linearGradient id="L" x1="19.067" x2="19.067" y1="58.242" y2="64.374" gradientUnits="userSpaceOnUse"><stop stop-color="#FEFFCF"/><stop offset="1" stop-color="#FEFFCF" stop-opacity="0"/></linearGradient><linearGradient id="M" x1="12.794" x2="13.413" y1="51.808" y2="48.923" gradientUnits="userSpaceOnUse"><stop stop-color="#FEFFCF"/><stop offset="1" stop-color="#FEFFCF" stop-opacity="0"/></linearGradient><linearGradient id="N" x1="12.795" x2="15.473" y1="43.772" y2="53.455" gradientUnits="userSpaceOnUse"><stop stop-color="#5F1A58"/><stop offset="1" stop-color="#5F1A58" stop-opacity="0"/></linearGradient><linearGradient id="O" x1="30.513" x2="12.176" y1="76.609" y2="76.609" gradientUnits="userSpaceOnUse"><stop stop-color="#5F1A58"/><stop offset="1" stop-color="#5F1A58" stop-opacity="0"/></linearGradient><linearGradient id="P" x1="36.099" x2="29.895" y1="75.159" y2="75.159" gradientUnits="userSpaceOnUse"><stop stop-color="#0057D6"/><stop offset="1" stop-color="#0057D6" stop-opacity="0"/></linearGradient><linearGradient id="Q" x1="43.607" x2="33.923" y1="80.47" y2="80.47" gradientUnits="userSpaceOnUse"><stop stop-color="#0057D6"/><stop offset="1" stop-color="#0057D6" stop-opacity="0"/></linearGradient><linearGradient id="R" x1="8.17" x2="11.672" y1="80.47" y2="80.47" gradientUnits="userSpaceOnUse"><stop stop-color="#FA552D"/><stop offset="1" stop-color="#FA552D" stop-opacity="0"/></linearGradient><linearGradient id="S" x1="6.522" x2="11.672" y1="82.574" y2="82.574" gradientUnits="userSpaceOnUse"><stop stop-color="#FA552D"/><stop offset="1" stop-color="#FA552D" stop-opacity="0"/></linearGradient><linearGradient id="T" x1="32.481" x2="38.662" y1="82.368" y2="82.368" gradientUnits="userSpaceOnUse"><stop stop-color="#0057D6"/><stop offset="1" stop-color="#0057D6" stop-opacity="0"/></linearGradient><linearGradient id="U" x1="69.664" x2="79.127" y1=".076" y2="24.431" gradientUnits="userSpaceOnUse"><stop offset=".045" stop-color="#050304"/><stop offset=".178" stop-color="#FA552D"/><stop offset=".34" stop-color="#5F1A58"/><stop offset="1" stop-color="#050304"/></linearGradient><linearGradient id="Y" x1="57.871" x2="72.353" y1="25.748" y2="9.511" gradientUnits="userSpaceOnUse"><stop offset=".442" stop-color="#BC3737"/><stop offset="1" stop-color="#5A9EA6"/></linearGradient><linearGradient id="aa" x1="70.485" x2="73.946" y1="26.306" y2="19.668" gradientUnits="userSpaceOnUse"><stop stop-color="#0057D6"/><stop offset="1" stop-color="#0057D6" stop-opacity="0"/></linearGradient><linearGradient id="ab" x1="53.346" x2="79.033" y1="16.558" y2="8.76" gradientUnits="userSpaceOnUse"><stop offset=".461" stop-color="#fff" stop-opacity=".21"/><stop offset=".545" stop-color="#fff"/><stop offset="1" stop-color="#fff" stop-opacity="0"/></linearGradient><linearGradient id="ac" x1="75.059" x2="67.239" y1="26.306" y2="14.69" gradientUnits="userSpaceOnUse"><stop offset=".464" stop-color="#FA552D"/><stop offset=".632" stop-color="#FFCA42"/><stop offset="1" stop-color="#FFCA42" stop-opacity="0"/></linearGradient><filter id="a" width="94.226" height="7.128" x=".138" y="80.835" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_18265_118950" stdDeviation="1.057"/></filter><filter id="f" width="77.103" height="76.309" x="7.075" y="8.448" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feColorMatrix in="SourceAlpha" result="hardAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/><feOffset dx="-.423" dy="-.423"/><feGaussianBlur stdDeviation=".423"/><feComposite in2="hardAlpha" k2="-1" k3="1" operator="arithmetic"/><feColorMatrix values="0 0 0 0 0.167969 0 0 0 0 0.5375 0 0 0 0 0.175007 0 0 0 1 0"/><feBlend in2="shape" result="effect1_innerShadow_18265_118950"/><feColorMatrix in="SourceAlpha" result="hardAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/><feOffset dx=".423" dy=".423"/><feGaussianBlur stdDeviation=".423"/><feComposite in2="hardAlpha" k2="-1" k3="1" operator="arithmetic"/><feColorMatrix values="0 0 0 0 0.327795 0 0 0 0 0.995833 0 0 0 0 0.34052 0 0 0 1 0"/><feBlend in2="effect1_innerShadow_18265_118950" result="effect2_innerShadow_18265_118950"/></filter><filter id="g" width="18.2" height="18.803" x="65.416" y="65.478" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_18265_118950" stdDeviation=".211"/></filter><filter id="j" width="33.036" height="36.345" x="7.287" y="8.66" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feColorMatrix in="SourceAlpha" result="hardAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/><feOffset dx="-.211" dy="-.211"/><feGaussianBlur stdDeviation=".211"/><feComposite in2="hardAlpha" k2="-1" k3="1" operator="arithmetic"/><feColorMatrix values="0 0 0 0 0.167969 0 0 0 0 0.5375 0 0 0 0 0.175007 0 0 0 1 0"/><feBlend in2="shape" result="effect1_innerShadow_18265_118950"/><feColorMatrix in="SourceAlpha" result="hardAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/><feOffset dx=".211" dy=".211"/><feGaussianBlur stdDeviation=".211"/><feComposite in2="hardAlpha" k2="-1" k3="1" operator="arithmetic"/><feColorMatrix values="0 0 0 0 0.327795 0 0 0 0 0.995833 0 0 0 0 0.34052 0 0 0 1 0"/><feBlend in2="effect1_innerShadow_18265_118950" result="effect2_innerShadow_18265_118950"/></filter><filter id="l" width="20.331" height="14.486" x="52.062" y="48.712" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_18265_118950" stdDeviation=".211"/></filter><filter id="n" width="20.331" height="14.486" x="8.062" y="9.077" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_18265_118950" stdDeviation=".211"/></filter><filter id="p" width="14.681" height="21.881" x="60.479" y="56.126" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_18265_118950" stdDeviation=".211"/></filter><filter id="r" width="14.681" height="21.881" x="16.882" y="16.27" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_18265_118950" stdDeviation=".211"/></filter><filter id="t" width="37.334" height="37.334" x="11.299" y="43.323" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_18265_118950" stdDeviation="1.057"/></filter><filter id="v" width="33.528" height="33.528" x="11.683" y="47.757" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_18265_118950" stdDeviation=".106"/></filter><filter id="x" width="36.594" height="51.519" x="27.744" y="24.655" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_18265_118950" stdDeviation=".338"/></filter><filter id="z" width="32.611" height="32.612" x="50.028" y="2.314" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_18265_118950" stdDeviation=".846"/></filter><filter id="B" width="18.2" height="18.803" x="21.751" y="26.153" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_18265_118950" stdDeviation=".211"/></filter><filter id="X" width="92.043" height="91.092" x="-4.277" y="7.052" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_18265_118950" stdDeviation=".211"/></filter><filter id="Z" width="20.213" height="15.535" x="66.816" y="14.268" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_18265_118950" stdDeviation=".211"/></filter><radialGradient id="b" cx="0" cy="0" r="1" gradientTransform="matrix(0 -1.22365 41.0367 0 23.368 84.64)" gradientUnits="userSpaceOnUse"><stop stop-color="#000A17"/><stop offset="1" stop-color="#0057D6" stop-opacity="0"/></radialGradient><radialGradient id="c" cx="0" cy="0" r="1" gradientTransform="matrix(0 -1.44927 22.2884 0 69.96 84.398)" gradientUnits="userSpaceOnUse"><stop stop-color="#000C1D"/><stop offset="1" stop-color="#0057D6" stop-opacity="0"/></radialGradient><radialGradient id="A" cx="0" cy="0" r="1" gradientTransform="matrix(14.61376 3.13954 -2.98543 13.89643 66.334 18.62)" gradientUnits="userSpaceOnUse"><stop offset=".166" stop-color="#FA552D"/><stop offset=".242" stop-color="#FA552D"/><stop offset=".467" stop-color="#FFCA42"/><stop offset=".713" stop-color="#fff"/><stop offset=".732" stop-color="#FA552D"/><stop offset=".975" stop-color="#5F1A58"/></radialGradient><radialGradient id="K" cx="0" cy="0" r="1" gradientTransform="matrix(0 -9.36245 12.096 0 19.297 57.92)" gradientUnits="userSpaceOnUse"><stop offset=".266" stop-color="#FFCA42"/><stop offset="1" stop-color="#FFCA42" stop-opacity="0"/></radialGradient><radialGradient id="W" cx="0" cy="0" r="1" gradientTransform="matrix(14.61376 3.13954 -2.98543 13.89643 67.24 14.69)" gradientUnits="userSpaceOnUse"><stop offset=".166" stop-color="#FA552D"/><stop offset=".242" stop-color="#FA552D"/><stop offset=".467" stop-color="#FFCA42"/><stop offset=".713" stop-color="#fff"/><stop offset=".732" stop-color="#FA552D"/><stop offset=".975" stop-color="#5F1A58"/></radialGradient></defs></svg>
|
|
@@ -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;A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U,EAAE,gBAAgB;wBAC5B,IAAI,EAAE,GAAG;wBACT,WAAW,EAAE,KAAK;qBACnB,EACD,sBAAsB,CACvB,IACG,EACN,0CACG,UAAU,IAAI,CAAC,CAAC,CAAC,CAAC,CACjB,uBAAC,WAAI,IAAC,KAAK,EAAC,kFAAiB,EAAC,IAAI,EAAE,UAAU,EAAE,kBAAkB,EAAC,kBAAkB,GAAG,CACzF,CAAC,CAAC,CAAC,IAAI,GACJ,EACN,iCAAK,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":"BusinessDepositCalculat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ACnC,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,QA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