@redneckz/wildless-cms-uni-blocks 0.14.539 → 0.14.541
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 +50 -41
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/ApplicationForm/AddressBranchField.d.ts +1 -1
- package/bundle/components/CalculatorBusinessDeposit/CalculatorBusinessDepositContent.d.ts +2 -2
- package/bundle/components/CalculatorCredit/CalculatorCreditContent.d.ts +1 -0
- package/bundle/components/CalculatorDeposit/getDepositCalculatorParams.d.ts +1 -1
- package/bundle/components/CalculatorDeposit/renderDepositParamsForm.d.ts +3 -3
- package/bundle/components/CalculatorRefinancing/getRefinancingCalculatorParams.d.ts +1 -0
- package/bundle/components/Footer/SocialMedia.d.ts +2 -2
- package/bundle/components/OfficesAtmsMap/getScheduleDescription.d.ts +1 -1
- package/bundle/components/OfficesAtmsMap/getWorkScheduleWeek.d.ts +1 -1
- package/bundle/components/OfficesAtmsMap/renderBusinessSchedule.d.ts +1 -1
- package/bundle/components/StepsBlock/StepsBlockContent.d.ts +1 -1
- package/bundle/content-page-repository/transformAttachmentLink.d.ts +2 -2
- package/bundle/content-page-repository/transformContentPage.d.ts +2 -2
- package/bundle/data/CommonData.d.ts +2 -2
- package/bundle/data/NavigationData.d.ts +2 -2
- package/bundle/ui-kit/Button/Button.d.ts +1 -1
- package/bundle/ui-kit/Calculator/CalculatorProps.d.ts +13 -2
- package/bundle/ui-kit/Calculator/CalculatorStyle.d.ts +0 -2
- package/bundle/ui-kit/Calculator/CalculatorValue.d.ts +2 -0
- package/bundle/ui-kit/Calculator/FormatedValue.d.ts +2 -0
- package/bundle/ui-kit/SwipeListControl/NavButtonProp.d.ts +1 -1
- package/bundle/ui-kit/SwipeListControl/renderDotButton.d.ts +1 -1
- package/dist/components/ApplicationForm/AddressBranchField.d.ts +1 -1
- package/dist/components/CalculatorBonus/CalculatorBonus.js +3 -3
- package/dist/components/CalculatorBonus/CalculatorBonus.js.map +1 -1
- package/dist/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.js +1 -1
- package/dist/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.js.map +1 -1
- package/dist/components/CalculatorBusinessDeposit/CalculatorBusinessDepositContent.d.ts +2 -2
- package/dist/components/CalculatorCredit/CalculatorCredit.js +3 -3
- package/dist/components/CalculatorCredit/CalculatorCredit.js.map +1 -1
- package/dist/components/CalculatorCredit/CalculatorCreditContent.d.ts +1 -0
- package/dist/components/CalculatorDeposit/CalculatorDeposit.js +7 -2
- package/dist/components/CalculatorDeposit/CalculatorDeposit.js.map +1 -1
- package/dist/components/CalculatorDeposit/getDepositCalculatorParams.d.ts +1 -1
- package/dist/components/CalculatorDeposit/renderDepositParamsForm.d.ts +3 -3
- package/dist/components/CalculatorDeposit/renderDepositParamsForm.js +3 -2
- package/dist/components/CalculatorDeposit/renderDepositParamsForm.js.map +1 -1
- package/dist/components/CalculatorDeposit/renderDepositResult.js +2 -2
- package/dist/components/CalculatorDeposit/renderDepositResult.js.map +1 -1
- package/dist/components/CalculatorRefinancing/CalculatorRefinancing.js +17 -17
- package/dist/components/CalculatorRefinancing/CalculatorRefinancing.js.map +1 -1
- package/dist/components/CalculatorRefinancing/getRefinancingCalculatorParams.d.ts +1 -0
- package/dist/components/CalculatorRefinancing/getRefinancingCalculatorParams.js.map +1 -1
- package/dist/components/ExchangeRateTile/renderInput.js +1 -1
- package/dist/components/ExchangeRateTile/renderInput.js.map +1 -1
- package/dist/components/Footer/SocialMedia.d.ts +2 -2
- package/dist/components/Footer/SocialMedia.js +2 -1
- package/dist/components/Footer/SocialMedia.js.map +1 -1
- package/dist/components/OfficesAtmsMap/getScheduleDescription.d.ts +1 -1
- package/dist/components/OfficesAtmsMap/getWorkScheduleWeek.d.ts +1 -1
- package/dist/components/OfficesAtmsMap/renderBusinessSchedule.d.ts +1 -1
- package/dist/components/StepsBlock/StepsBlockContent.d.ts +1 -1
- package/dist/content-page-repository/transformAttachmentLink.d.ts +2 -2
- package/dist/content-page-repository/transformContentPage.d.ts +2 -2
- package/dist/data/CommonData.d.ts +2 -2
- package/dist/data/NavigationData.d.ts +2 -2
- package/dist/ui-kit/Button/Button.d.ts +1 -1
- package/dist/ui-kit/Calculator/CalculatorProps.d.ts +13 -2
- package/dist/ui-kit/Calculator/CalculatorStyle.d.ts +0 -2
- package/dist/ui-kit/Calculator/CalculatorStyle.js +3 -5
- package/dist/ui-kit/Calculator/CalculatorStyle.js.map +1 -1
- package/dist/ui-kit/Calculator/CalculatorValue.d.ts +2 -0
- package/dist/ui-kit/Calculator/CalculatorValue.js +10 -0
- package/dist/ui-kit/Calculator/CalculatorValue.js.map +1 -0
- package/dist/ui-kit/Calculator/FormatedValue.d.ts +2 -0
- package/dist/ui-kit/Calculator/FormatedValue.js +12 -0
- package/dist/ui-kit/Calculator/FormatedValue.js.map +1 -0
- package/dist/ui-kit/Calculator/renderRate.js +2 -2
- package/dist/ui-kit/Calculator/renderRate.js.map +1 -1
- package/dist/ui-kit/Select/Select.js +2 -2
- package/dist/ui-kit/SwipeListControl/NavButtonProp.d.ts +1 -1
- package/dist/ui-kit/SwipeListControl/renderDotButton.d.ts +1 -1
- package/lib/common.css +1 -1
- package/lib/components/ApplicationForm/AddressBranchField.d.ts +1 -1
- package/lib/components/CalculatorBonus/CalculatorBonus.js +3 -3
- package/lib/components/CalculatorBonus/CalculatorBonus.js.map +1 -1
- package/lib/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.js +1 -1
- package/lib/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.js.map +1 -1
- package/lib/components/CalculatorBusinessDeposit/CalculatorBusinessDepositContent.d.ts +2 -2
- package/lib/components/CalculatorCredit/CalculatorCredit.fixture.mobile.d.ts +7 -0
- package/lib/components/CalculatorCredit/CalculatorCredit.js +3 -3
- package/lib/components/CalculatorCredit/CalculatorCredit.js.map +1 -1
- package/lib/components/CalculatorCredit/CalculatorCreditContent.d.ts +1 -0
- package/lib/components/CalculatorDeposit/CalculatorDeposit.js +7 -2
- package/lib/components/CalculatorDeposit/CalculatorDeposit.js.map +1 -1
- package/lib/components/CalculatorDeposit/getDepositCalculatorParams.d.ts +1 -1
- package/lib/components/CalculatorDeposit/renderDepositParamsForm.d.ts +3 -3
- package/lib/components/CalculatorDeposit/renderDepositParamsForm.js +4 -3
- package/lib/components/CalculatorDeposit/renderDepositParamsForm.js.map +1 -1
- package/lib/components/CalculatorDeposit/renderDepositResult.js +2 -2
- package/lib/components/CalculatorDeposit/renderDepositResult.js.map +1 -1
- package/lib/components/CalculatorRefinancing/CalculatorRefinancing.js +17 -17
- package/lib/components/CalculatorRefinancing/CalculatorRefinancing.js.map +1 -1
- package/lib/components/CalculatorRefinancing/getRefinancingCalculatorParams.d.ts +1 -0
- package/lib/components/CalculatorRefinancing/getRefinancingCalculatorParams.js.map +1 -1
- package/lib/components/ExchangeRateTile/renderInput.js +1 -1
- package/lib/components/ExchangeRateTile/renderInput.js.map +1 -1
- package/lib/components/Footer/SocialMedia.d.ts +2 -2
- package/lib/components/Footer/SocialMedia.js +2 -1
- package/lib/components/Footer/SocialMedia.js.map +1 -1
- package/lib/components/OfficesAtmsMap/getScheduleDescription.d.ts +1 -1
- package/lib/components/OfficesAtmsMap/getWorkScheduleWeek.d.ts +1 -1
- package/lib/components/OfficesAtmsMap/renderBusinessSchedule.d.ts +1 -1
- package/lib/components/StepsBlock/StepsBlockContent.d.ts +1 -1
- package/lib/content-page-repository/transformAttachmentLink.d.ts +2 -2
- package/lib/content-page-repository/transformContentPage.d.ts +2 -2
- package/lib/data/CommonData.d.ts +2 -2
- package/lib/data/NavigationData.d.ts +2 -2
- package/lib/ui-kit/Button/Button.d.ts +1 -1
- package/lib/ui-kit/Calculator/CalculatorProps.d.ts +13 -2
- package/lib/ui-kit/Calculator/CalculatorStyle.d.ts +0 -2
- package/lib/ui-kit/Calculator/CalculatorStyle.js +3 -5
- package/lib/ui-kit/Calculator/CalculatorStyle.js.map +1 -1
- package/lib/ui-kit/Calculator/CalculatorValue.d.ts +2 -0
- package/lib/ui-kit/Calculator/CalculatorValue.js +8 -0
- package/lib/ui-kit/Calculator/CalculatorValue.js.map +1 -0
- package/lib/ui-kit/Calculator/FormatedValue.d.ts +2 -0
- package/lib/ui-kit/Calculator/FormatedValue.js +10 -0
- package/lib/ui-kit/Calculator/FormatedValue.js.map +1 -0
- package/lib/ui-kit/Calculator/renderRate.js +2 -2
- package/lib/ui-kit/Calculator/renderRate.js.map +1 -1
- package/lib/ui-kit/Select/Select.js +2 -2
- package/lib/ui-kit/SwipeListControl/NavButtonProp.d.ts +1 -1
- package/lib/ui-kit/SwipeListControl/renderDotButton.d.ts +1 -1
- package/mobile/bundle/bundle.umd.js +50 -41
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/ApplicationForm/AddressBranchField.d.ts +1 -1
- package/mobile/bundle/components/CalculatorBusinessDeposit/CalculatorBusinessDepositContent.d.ts +2 -2
- package/mobile/bundle/components/CalculatorCredit/CalculatorCreditContent.d.ts +1 -0
- package/mobile/bundle/components/CalculatorDeposit/getDepositCalculatorParams.d.ts +1 -1
- package/mobile/bundle/components/CalculatorDeposit/renderDepositParamsForm.d.ts +3 -3
- package/mobile/bundle/components/CalculatorRefinancing/getRefinancingCalculatorParams.d.ts +1 -0
- package/mobile/bundle/components/Footer/SocialMedia.d.ts +2 -2
- package/mobile/bundle/components/OfficesAtmsMap/getScheduleDescription.d.ts +1 -1
- package/mobile/bundle/components/OfficesAtmsMap/getWorkScheduleWeek.d.ts +1 -1
- package/mobile/bundle/components/OfficesAtmsMap/renderBusinessSchedule.d.ts +1 -1
- package/mobile/bundle/components/StepsBlock/StepsBlockContent.d.ts +1 -1
- package/mobile/bundle/content-page-repository/transformAttachmentLink.d.ts +2 -2
- package/mobile/bundle/content-page-repository/transformContentPage.d.ts +2 -2
- package/mobile/bundle/data/CommonData.d.ts +2 -2
- package/mobile/bundle/data/NavigationData.d.ts +2 -2
- package/mobile/bundle/ui-kit/Button/Button.d.ts +1 -1
- package/mobile/bundle/ui-kit/Calculator/CalculatorProps.d.ts +13 -2
- package/mobile/bundle/ui-kit/Calculator/CalculatorStyle.d.ts +0 -2
- package/mobile/bundle/ui-kit/Calculator/CalculatorValue.d.ts +2 -0
- package/mobile/bundle/ui-kit/Calculator/FormatedValue.d.ts +2 -0
- package/mobile/bundle/ui-kit/SwipeListControl/NavButtonProp.d.ts +1 -1
- package/mobile/bundle/ui-kit/SwipeListControl/renderDotButton.d.ts +1 -1
- package/mobile/dist/components/ApplicationForm/AddressBranchField.d.ts +1 -1
- package/mobile/dist/components/CalculatorBonus/CalculatorBonus.js +3 -3
- package/mobile/dist/components/CalculatorBonus/CalculatorBonus.js.map +1 -1
- package/mobile/dist/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.js +1 -1
- package/mobile/dist/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.js.map +1 -1
- package/mobile/dist/components/CalculatorBusinessDeposit/CalculatorBusinessDepositContent.d.ts +2 -2
- package/mobile/dist/components/CalculatorCredit/CalculatorCredit.js +3 -3
- package/mobile/dist/components/CalculatorCredit/CalculatorCredit.js.map +1 -1
- package/mobile/dist/components/CalculatorCredit/CalculatorCreditContent.d.ts +1 -0
- package/mobile/dist/components/CalculatorDeposit/CalculatorDeposit.js +7 -2
- package/mobile/dist/components/CalculatorDeposit/CalculatorDeposit.js.map +1 -1
- package/mobile/dist/components/CalculatorDeposit/getDepositCalculatorParams.d.ts +1 -1
- package/mobile/dist/components/CalculatorDeposit/renderDepositParamsForm.d.ts +3 -3
- package/mobile/dist/components/CalculatorDeposit/renderDepositParamsForm.js +3 -2
- package/mobile/dist/components/CalculatorDeposit/renderDepositParamsForm.js.map +1 -1
- package/mobile/dist/components/CalculatorDeposit/renderDepositResult.js +2 -2
- package/mobile/dist/components/CalculatorDeposit/renderDepositResult.js.map +1 -1
- package/mobile/dist/components/CalculatorRefinancing/CalculatorRefinancing.js +17 -17
- package/mobile/dist/components/CalculatorRefinancing/CalculatorRefinancing.js.map +1 -1
- package/mobile/dist/components/CalculatorRefinancing/getRefinancingCalculatorParams.d.ts +1 -0
- package/mobile/dist/components/CalculatorRefinancing/getRefinancingCalculatorParams.js.map +1 -1
- package/mobile/dist/components/ExchangeRateTile/renderInput.js +1 -1
- package/mobile/dist/components/ExchangeRateTile/renderInput.js.map +1 -1
- package/mobile/dist/components/Footer/SocialMedia.d.ts +2 -2
- package/mobile/dist/components/Footer/SocialMedia.js +2 -1
- package/mobile/dist/components/Footer/SocialMedia.js.map +1 -1
- package/mobile/dist/components/OfficesAtmsMap/getScheduleDescription.d.ts +1 -1
- package/mobile/dist/components/OfficesAtmsMap/getWorkScheduleWeek.d.ts +1 -1
- package/mobile/dist/components/OfficesAtmsMap/renderBusinessSchedule.d.ts +1 -1
- package/mobile/dist/components/StepsBlock/StepsBlockContent.d.ts +1 -1
- package/mobile/dist/content-page-repository/transformAttachmentLink.d.ts +2 -2
- package/mobile/dist/content-page-repository/transformContentPage.d.ts +2 -2
- package/mobile/dist/data/CommonData.d.ts +2 -2
- package/mobile/dist/data/NavigationData.d.ts +2 -2
- package/mobile/dist/ui-kit/Button/Button.d.ts +1 -1
- package/mobile/dist/ui-kit/Calculator/CalculatorProps.d.ts +13 -2
- package/mobile/dist/ui-kit/Calculator/CalculatorStyle.d.ts +0 -2
- package/mobile/dist/ui-kit/Calculator/CalculatorStyle.js +3 -5
- package/mobile/dist/ui-kit/Calculator/CalculatorStyle.js.map +1 -1
- package/mobile/dist/ui-kit/Calculator/CalculatorValue.d.ts +2 -0
- package/mobile/dist/ui-kit/Calculator/CalculatorValue.js +10 -0
- package/mobile/dist/ui-kit/Calculator/CalculatorValue.js.map +1 -0
- package/mobile/dist/ui-kit/Calculator/FormatedValue.d.ts +2 -0
- package/mobile/dist/ui-kit/Calculator/FormatedValue.js +12 -0
- package/mobile/dist/ui-kit/Calculator/FormatedValue.js.map +1 -0
- package/mobile/dist/ui-kit/Calculator/renderRate.js +2 -2
- package/mobile/dist/ui-kit/Calculator/renderRate.js.map +1 -1
- package/mobile/dist/ui-kit/Select/Select.js +2 -2
- package/mobile/dist/ui-kit/SwipeListControl/NavButtonProp.d.ts +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/renderDotButton.d.ts +1 -1
- package/mobile/lib/common.css +1 -1
- package/mobile/lib/components/ApplicationForm/AddressBranchField.d.ts +1 -1
- package/mobile/lib/components/CalculatorBonus/CalculatorBonus.js +3 -3
- package/mobile/lib/components/CalculatorBonus/CalculatorBonus.js.map +1 -1
- package/mobile/lib/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.js +1 -1
- package/mobile/lib/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.js.map +1 -1
- package/mobile/lib/components/CalculatorBusinessDeposit/CalculatorBusinessDepositContent.d.ts +2 -2
- package/mobile/lib/components/CalculatorCredit/CalculatorCredit.js +3 -3
- package/mobile/lib/components/CalculatorCredit/CalculatorCredit.js.map +1 -1
- package/mobile/lib/components/CalculatorCredit/CalculatorCreditContent.d.ts +1 -0
- package/mobile/lib/components/CalculatorDeposit/CalculatorDeposit.js +7 -2
- package/mobile/lib/components/CalculatorDeposit/CalculatorDeposit.js.map +1 -1
- package/mobile/lib/components/CalculatorDeposit/getDepositCalculatorParams.d.ts +1 -1
- package/mobile/lib/components/CalculatorDeposit/renderDepositParamsForm.d.ts +3 -3
- package/mobile/lib/components/CalculatorDeposit/renderDepositParamsForm.js +4 -3
- package/mobile/lib/components/CalculatorDeposit/renderDepositParamsForm.js.map +1 -1
- package/mobile/lib/components/CalculatorDeposit/renderDepositResult.js +2 -2
- package/mobile/lib/components/CalculatorDeposit/renderDepositResult.js.map +1 -1
- package/mobile/lib/components/CalculatorRefinancing/CalculatorRefinancing.js +17 -17
- package/mobile/lib/components/CalculatorRefinancing/CalculatorRefinancing.js.map +1 -1
- package/mobile/lib/components/CalculatorRefinancing/getRefinancingCalculatorParams.d.ts +1 -0
- package/mobile/lib/components/CalculatorRefinancing/getRefinancingCalculatorParams.js.map +1 -1
- package/mobile/lib/components/ExchangeRateTile/renderInput.js +1 -1
- package/mobile/lib/components/ExchangeRateTile/renderInput.js.map +1 -1
- package/mobile/lib/components/Footer/SocialMedia.d.ts +2 -2
- package/mobile/lib/components/Footer/SocialMedia.js +2 -1
- package/mobile/lib/components/Footer/SocialMedia.js.map +1 -1
- package/mobile/lib/components/OfficesAtmsMap/getScheduleDescription.d.ts +1 -1
- package/mobile/lib/components/OfficesAtmsMap/getWorkScheduleWeek.d.ts +1 -1
- package/mobile/lib/components/OfficesAtmsMap/renderBusinessSchedule.d.ts +1 -1
- package/mobile/lib/components/StepsBlock/StepsBlockContent.d.ts +1 -1
- package/mobile/lib/content-page-repository/transformAttachmentLink.d.ts +2 -2
- package/mobile/lib/content-page-repository/transformContentPage.d.ts +2 -2
- package/mobile/lib/data/CommonData.d.ts +2 -2
- package/mobile/lib/data/NavigationData.d.ts +2 -2
- package/mobile/lib/ui-kit/Button/Button.d.ts +1 -1
- package/mobile/lib/ui-kit/Calculator/CalculatorProps.d.ts +13 -2
- package/mobile/lib/ui-kit/Calculator/CalculatorStyle.d.ts +0 -2
- package/mobile/lib/ui-kit/Calculator/CalculatorStyle.js +3 -5
- package/mobile/lib/ui-kit/Calculator/CalculatorStyle.js.map +1 -1
- package/mobile/lib/ui-kit/Calculator/CalculatorValue.d.ts +2 -0
- package/mobile/lib/ui-kit/Calculator/CalculatorValue.js +8 -0
- package/mobile/lib/ui-kit/Calculator/CalculatorValue.js.map +1 -0
- package/mobile/lib/ui-kit/Calculator/FormatedValue.d.ts +2 -0
- package/mobile/lib/ui-kit/Calculator/FormatedValue.js +10 -0
- package/mobile/lib/ui-kit/Calculator/FormatedValue.js.map +1 -0
- package/mobile/lib/ui-kit/Calculator/renderRate.js +2 -2
- package/mobile/lib/ui-kit/Calculator/renderRate.js.map +1 -1
- package/mobile/lib/ui-kit/Select/Select.js +2 -2
- package/mobile/lib/ui-kit/SwipeListControl/NavButtonProp.d.ts +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/renderDotButton.d.ts +1 -1
- package/mobile/src/components/ApplicationForm/AddressBranchField.tsx +1 -1
- package/mobile/src/components/CalculatorBonus/CalculatorBonus.tsx +3 -7
- package/mobile/src/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.tsx +1 -1
- package/mobile/src/components/CalculatorBusinessDeposit/CalculatorBusinessDepositContent.ts +2 -2
- package/mobile/src/components/CalculatorCredit/CalculatorCredit.tsx +10 -3
- package/mobile/src/components/CalculatorCredit/CalculatorCreditContent.ts +1 -0
- package/mobile/src/components/CalculatorDeposit/CalculatorDeposit.tsx +8 -7
- package/mobile/src/components/CalculatorDeposit/getDepositCalculatorParams.ts +1 -1
- package/mobile/src/components/CalculatorDeposit/renderDepositParamsForm.tsx +7 -4
- package/mobile/src/components/CalculatorDeposit/renderDepositResult.tsx +3 -3
- package/mobile/src/components/CalculatorRefinancing/CalculatorRefinancing.tsx +28 -25
- package/mobile/src/components/CalculatorRefinancing/getRefinancingCalculatorParams.ts +1 -0
- package/mobile/src/components/ExchangeRateTile/renderInput.tsx +1 -0
- package/mobile/src/components/Footer/SocialMedia.tsx +4 -3
- package/mobile/src/components/OfficesAtmsMap/getScheduleDescription.tsx +1 -1
- package/mobile/src/components/OfficesAtmsMap/getWorkScheduleWeek.tsx +1 -1
- package/mobile/src/components/OfficesAtmsMap/renderBusinessSchedule.tsx +1 -1
- package/mobile/src/components/StepsBlock/StepsBlockContent.ts +1 -1
- package/mobile/src/content-page-repository/transformAttachmentLink.ts +2 -2
- package/mobile/src/content-page-repository/transformContentPage.ts +5 -5
- package/mobile/src/data/CommonData.ts +2 -2
- package/mobile/src/data/NavigationData.ts +2 -2
- package/mobile/src/ui-kit/Button/Button.tsx +1 -1
- package/mobile/src/ui-kit/Calculator/CalculatorProps.ts +14 -2
- package/mobile/src/ui-kit/Calculator/CalculatorStyle.tsx +3 -6
- package/mobile/src/ui-kit/Calculator/CalculatorValue.tsx +20 -0
- package/mobile/src/ui-kit/Calculator/FormatedValue.tsx +16 -0
- package/mobile/src/ui-kit/Calculator/renderRate.tsx +2 -2
- package/mobile/src/ui-kit/InnerTable/InnerTableHeader.tsx +1 -1
- package/mobile/src/ui-kit/Select/Select.tsx +2 -2
- package/mobile/src/ui-kit/SwipeListControl/NavButtonProp.ts +1 -1
- package/mobile/src/ui-kit/SwipeListControl/renderDotButton.tsx +2 -2
- package/package.json +2 -2
- package/src/components/ApplicationForm/AddressBranchField.tsx +1 -1
- package/src/components/CalculatorBonus/CalculatorBonus.tsx +3 -7
- package/src/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.tsx +1 -1
- package/src/components/CalculatorBusinessDeposit/CalculatorBusinessDepositContent.ts +2 -2
- package/src/components/CalculatorCredit/CalculatorCredit.fixture.mobile.tsx +62 -0
- package/src/components/CalculatorCredit/CalculatorCredit.tsx +10 -3
- package/src/components/CalculatorCredit/CalculatorCreditContent.ts +1 -0
- package/src/components/CalculatorDeposit/CalculatorDeposit.tsx +8 -7
- package/src/components/CalculatorDeposit/getDepositCalculatorParams.ts +1 -1
- package/src/components/CalculatorDeposit/renderDepositParamsForm.tsx +7 -4
- package/src/components/CalculatorDeposit/renderDepositResult.tsx +3 -3
- package/src/components/CalculatorRefinancing/CalculatorRefinancing.tsx +28 -25
- package/src/components/CalculatorRefinancing/getRefinancingCalculatorParams.ts +1 -0
- package/src/components/Carousel/Carousel.fixture.mobile.tsx +1 -1
- package/src/components/ExchangeRateTile/renderInput.tsx +1 -0
- package/src/components/Footer/SocialMedia.tsx +4 -3
- package/src/components/OfficesAtmsMap/getScheduleDescription.tsx +1 -1
- package/src/components/OfficesAtmsMap/getWorkScheduleWeek.tsx +1 -1
- package/src/components/OfficesAtmsMap/renderBusinessSchedule.tsx +1 -1
- package/src/components/ProductBlock/ProductBlock.fixture.mobile.tsx +1 -1
- package/src/components/StepsBlock/StepsBlockContent.ts +1 -1
- package/src/content-page-repository/transformAttachmentLink.ts +2 -2
- package/src/content-page-repository/transformContentPage.ts +5 -5
- package/src/data/CommonData.ts +2 -2
- package/src/data/NavigationData.ts +2 -2
- package/src/ui-kit/Button/Button.tsx +1 -1
- package/src/ui-kit/Calculator/CalculatorProps.ts +14 -2
- package/src/ui-kit/Calculator/CalculatorStyle.tsx +3 -6
- package/src/ui-kit/Calculator/CalculatorValue.tsx +20 -0
- package/src/ui-kit/Calculator/FormatedValue.tsx +16 -0
- package/src/ui-kit/Calculator/renderRate.tsx +2 -2
- package/src/ui-kit/InnerTable/InnerTableHeader.tsx +1 -1
- package/src/ui-kit/Select/Select.tsx +2 -2
- package/src/ui-kit/SwipeListControl/NavButtonProp.ts +1 -1
- package/src/ui-kit/SwipeListControl/renderDotButton.tsx +2 -2
- package/bundle/ui-kit/Calculator/CalculatorValueBlock.d.ts +0 -12
- package/dist/ui-kit/Calculator/CalculatorValueBlock.d.ts +0 -12
- package/dist/ui-kit/Calculator/CalculatorValueBlock.js +0 -12
- package/dist/ui-kit/Calculator/CalculatorValueBlock.js.map +0 -1
- package/lib/ui-kit/Calculator/CalculatorValueBlock.d.ts +0 -12
- package/lib/ui-kit/Calculator/CalculatorValueBlock.js +0 -10
- package/lib/ui-kit/Calculator/CalculatorValueBlock.js.map +0 -1
- package/mobile/bundle/ui-kit/Calculator/CalculatorValueBlock.d.ts +0 -12
- package/mobile/dist/ui-kit/Calculator/CalculatorValueBlock.d.ts +0 -12
- package/mobile/dist/ui-kit/Calculator/CalculatorValueBlock.js +0 -12
- package/mobile/dist/ui-kit/Calculator/CalculatorValueBlock.js.map +0 -1
- package/mobile/lib/ui-kit/Calculator/CalculatorValueBlock.d.ts +0 -12
- package/mobile/lib/ui-kit/Calculator/CalculatorValueBlock.js +0 -10
- package/mobile/lib/ui-kit/Calculator/CalculatorValueBlock.js.map +0 -1
- package/mobile/src/ui-kit/Calculator/CalculatorValueBlock.tsx +0 -52
- package/src/ui-kit/Calculator/CalculatorValueBlock.tsx +0 -52
|
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
|
2
2
|
import { useForm } from '../../hooks/useForm.js';
|
|
3
3
|
import { CalculatorLayout } from '../../ui-kit/Calculator/CalculatorLayout.js';
|
|
4
4
|
import { CalculatorStyle } from '../../ui-kit/Calculator/CalculatorStyle.js';
|
|
5
|
-
import {
|
|
5
|
+
import { CalculatorValue } from '../../ui-kit/Calculator/CalculatorValue.js';
|
|
6
6
|
import { renderFootnote } from '../../ui-kit/Calculator/renderFootnote.js';
|
|
7
7
|
import { renderMonthsInput } from '../../ui-kit/Calculator/renderMonthsInput.js';
|
|
8
8
|
import { renderPaymentType } from '../../ui-kit/Calculator/renderPaymentType.js';
|
|
@@ -28,43 +28,43 @@ export const CalculatorRefinancing = UniBlock(
|
|
|
28
28
|
monthsValue: DEFAULT_REFINANCING_MONTHS,
|
|
29
29
|
moneyExtra: REFINANCING_OLD_DEFAULT_SUM,
|
|
30
30
|
});
|
|
31
|
-
const
|
|
31
|
+
const calcParams = getRefinancingCalculatorParams(userInputParams, calcSource, paramsViewSettings);
|
|
32
32
|
const paymentTypeElement = renderPaymentType({
|
|
33
33
|
title: '',
|
|
34
34
|
mobileTitle: 'Тип платежа',
|
|
35
35
|
orientation: 'vertical',
|
|
36
36
|
...field('isAnnuity'),
|
|
37
37
|
});
|
|
38
|
-
return (_jsx(CalculatorLayout, { className: className, title: title, ...rest, children: _jsxs("section", { className: style(CalculatorStyle.wrapper,
|
|
38
|
+
return (_jsx(CalculatorLayout, { className: className, title: title, ...rest, children: _jsxs("section", { className: style(CalculatorStyle.wrapper, className), children: [_jsxs("div", { className: CalculatorStyle.input, children: [renderWantedSumInput({
|
|
39
39
|
title: 'Остаток долга в других банках, ₽ ',
|
|
40
40
|
step: 500,
|
|
41
|
-
min:
|
|
42
|
-
max:
|
|
41
|
+
min: calcParams.minSum,
|
|
42
|
+
max: calcParams.maxSum - calcParams.maxSumExtra,
|
|
43
43
|
...field('moneyValue'),
|
|
44
|
-
value:
|
|
44
|
+
value: calcParams.moneyValue,
|
|
45
45
|
}), renderWantedSumInput({
|
|
46
46
|
title: 'Ежемесячный платёж в других банках, ₽',
|
|
47
47
|
step: 500,
|
|
48
|
-
min:
|
|
49
|
-
max:
|
|
48
|
+
min: calcParams.minSumOld,
|
|
49
|
+
max: calcParams.maxSumOld,
|
|
50
50
|
...field('oldMonthlyPayment'),
|
|
51
|
-
value:
|
|
51
|
+
value: calcParams.oldMonthlyPayment,
|
|
52
52
|
}), renderMonthsInput({
|
|
53
53
|
title: 'Новый срок кредита, месяцев',
|
|
54
|
-
min:
|
|
55
|
-
max:
|
|
54
|
+
min: calcParams.minMonths,
|
|
55
|
+
max: calcParams.maxMonths,
|
|
56
56
|
...field('monthsValue'),
|
|
57
|
-
value:
|
|
58
|
-
}), renderCreditParamsForm({ ...
|
|
57
|
+
value: calcParams.monthsValue,
|
|
58
|
+
}), renderCreditParamsForm({ ...calcParams, ...paramsViewSettings }, field), calcParams.isExtraMoney
|
|
59
59
|
? renderWantedSumInput({
|
|
60
60
|
title: 'Дополнительная сумма, ₽ ',
|
|
61
61
|
step: 500,
|
|
62
|
-
min:
|
|
63
|
-
max:
|
|
62
|
+
min: calcParams.minSumExtra,
|
|
63
|
+
max: calcParams.maxSumExtra,
|
|
64
64
|
...field('moneyExtra'),
|
|
65
|
-
value:
|
|
65
|
+
value: calcParams.moneyExtra,
|
|
66
66
|
})
|
|
67
|
-
: null, _jsx("div", { className: "sm:hidden pt-1 pb-4 border-b border-main-divider", children: paymentTypeElement })] }), _jsxs("div", { className: style(CalculatorStyle.result, '@4xl:w-1/2'), children: [_jsx(
|
|
67
|
+
: null, _jsx("div", { className: "sm:hidden pt-1 pb-4 border-b border-main-divider", children: paymentTypeElement })] }), _jsxs("div", { className: style(CalculatorStyle.result, '@4xl:w-1/2'), children: [_jsx(CalculatorValue, { title: "\u041F\u043E\u043B\u043D\u0430\u044F \u0441\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C \u043A\u0440\u0435\u0434\u0438\u0442\u0430", value: calcSource?.totalLoanCost }), _jsx(CalculatorValue, { title: "\u0421\u0442\u0430\u0432\u043A\u0430", value: calcParams?.rate, fractionDigits: 2, postfix: "%" }), _jsx(CalculatorValue, { title: "\u0415\u0436\u0435\u043C\u0435\u0441\u044F\u0447\u043D\u044B\u0439 \u043F\u043B\u0430\u0442\u0451\u0436", value: calcParams.monthlyPayment, postfix: "\u20BD" }), calcParams.benefit > 0 ? (_jsx(CalculatorValue, { title: 'Выгода в месяц', value: calcParams.benefit, postfix: "\u20BD" })) : null, _jsx("div", { className: "hidden sm:block mb-lg", children: paymentTypeElement }), renderButtonsSection(buttons, { isVertical: true }), renderFootnote(footnote)] })] }) }));
|
|
68
68
|
});
|
|
69
69
|
const renderCreditParamsForm = (params, field) => (_jsxs("div", { className: "space-y-lg sm:space-y-s", children: [params.isShowSalaryClient ? (_jsx(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", ...field('isSalaryClient'), value: params.isSalaryClient })) : null, params.isShowInsurance ? (_jsx(Checkbox, { 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", ...field('isInsurance'), value: params.isInsurance })) : null, _jsx(Checkbox, { text: "\u041F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u0434\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u0443\u044E \u0441\u0443\u043C\u043C\u0443", ...field('isExtraMoney'), value: params.isExtraMoney })] }));
|
|
70
70
|
//# sourceMappingURL=CalculatorRefinancing.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CalculatorRefinancing.js","sourceRoot":"","sources":["../../../src/components/CalculatorRefinancing/CalculatorRefinancing.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,OAAO,EAA4B,MAAM,qBAAqB,CAAC;AACxE,OAAO,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AAC5E,OAAO,EAAE,eAAe,EAAE,MAAM,yCAAyC,CAAC;AAC1E,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"CalculatorRefinancing.js","sourceRoot":"","sources":["../../../src/components/CalculatorRefinancing/CalculatorRefinancing.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,OAAO,EAA4B,MAAM,qBAAqB,CAAC;AACxE,OAAO,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AAC5E,OAAO,EAAE,eAAe,EAAE,MAAM,yCAAyC,CAAC;AAC1E,OAAO,EAAE,eAAe,EAAE,MAAM,yCAAyC,CAAC;AAC1E,OAAO,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AACxE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAC9E,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAC9E,OAAO,EAAE,oBAAoB,EAAE,MAAM,8CAA8C,CAAC;AACpF,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAC1D,OAAO,EAAE,oBAAoB,EAAE,MAAM,8CAA8C,CAAC;AACpF,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAEnD,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAG1C,OAAO,EACL,8BAA8B,GAG/B,MAAM,kCAAkC,CAAC;AAE1C,MAAM,2BAA2B,GAAG,CAAC,CAAC;AACtC,MAAM,uBAAuB,GAAG,MAAM,CAAC;AACvC,MAAM,0BAA0B,G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AK,EAAE,UAAU,CAAC,cAAc,EAChC,OAAO,EAAC,QAAG,GACX,EACD,UAAU,CAAC,OAAO,GAAG,CAAC,CAAC,CAAC,CAAC,CACxB,KAAC,eAAe,IAAC,KAAK,EAAE,gBAAgB,EAAE,KAAK,EAAE,UAAU,CAAC,OAAO,EAAE,OAAO,EAAC,QAAG,GAAG,CACpF,CAAC,CAAC,CAAC,IAAI,EACR,cAAK,SAAS,EAAC,uBAAuB,YAAE,kBAAkB,GAAO,EAChE,oBAAoB,CAAC,OAAO,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC,EACnD,cAAc,CAAC,QAAQ,CAAC,IACrB,IACE,GACO,CACpB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,sBAAsB,GAAG,CAC7B,MAAwE,EACxE,KAA+B,EAC/B,EAAE,CAAC,CACH,eAAK,SAAS,EAAC,yBAAyB,aACrC,MAAM,CAAC,kBAAkB,CAAC,CAAC,CAAC,CAC3B,KAAC,QAAQ,IACP,IAAI,EAAC,qOAA4C,KAC7C,KAAK,CAAC,gBAAgB,CAAC,EAC3B,KAAK,EAAE,MAAM,CAAC,cAAc,GAC5B,CACH,CAAC,CAAC,CAAC,IAAI,EACP,MAAM,CAAC,eAAe,CAAC,CAAC,CAAC,CACxB,KAAC,QAAQ,IACP,IAAI,EAAC,gKAA8B,KAC/B,KAAK,CAAC,aAAa,CAAC,EACxB,KAAK,EAAE,MAAM,CAAC,WAAW,GACzB,CACH,CAAC,CAAC,CAAC,IAAI,EACR,KAAC,QAAQ,IACP,IAAI,EAAC,sKAA+B,KAChC,KAAK,CAAC,cAAc,CAAC,EACzB,KAAK,EAAE,MAAM,CAAC,YAAY,GAC1B,IACE,CACP,CAAC"}
|
|
@@ -27,6 +27,7 @@ export interface RefinancingCalculatorParams extends RefinancingCalculatorSource
|
|
|
27
27
|
export declare type RefinancingCalculatorData = {
|
|
28
28
|
rateRows?: RefinancingCalculatorSourceBookRateParams[];
|
|
29
29
|
limitRows?: RefinancingCalculatorSourceBookLimitParams[];
|
|
30
|
+
totalLoanCost?: string;
|
|
30
31
|
};
|
|
31
32
|
export declare const getRefinancingCalculatorParams: (userInputParams: RefinancingCalculatorUserInputParams, calcSource?: RefinancingCalculatorData, paramsViewSettings?: CreditCalculatorParamsViewSettings) => RefinancingCalculatorParams;
|
|
32
33
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getRefinancingCalculatorParams.js","sourceRoot":"","sources":["../../../src/components/CalculatorRefinancing/getRefinancingCalculatorParams.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAC9E,OAAO,EAAE,mBAAmB,EAAE,MAAM,sCAAsC,CAAC;AAE3E,OAAO,EAAE,mCAAmC,EAAE,MAAM,uCAAuC,CAAC;AAC5F,OAAO,EACL,qCAAqC,EACrC,kCAAkC,GACnC,MAAM,sCAAsC,CAAC;
|
|
1
|
+
{"version":3,"file":"getRefinancingCalculatorParams.js","sourceRoot":"","sources":["../../../src/components/CalculatorRefinancing/getRefinancingCalculatorParams.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAC9E,OAAO,EAAE,mBAAmB,EAAE,MAAM,sCAAsC,CAAC;AAE3E,OAAO,EAAE,mCAAmC,EAAE,MAAM,uCAAuC,CAAC;AAC5F,OAAO,EACL,qCAAqC,EACrC,kCAAkC,GACnC,MAAM,sCAAsC,CAAC;AA8C9C,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAC5C,eAAqD,EACrD,UAAsC,EACtC,kBAAuD,EAC1B,EAAE;IAC/B,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,iBAAiB,EAAE,UAAU,EAAE,GAAG,eAAe,CAAC;IACnF,MAAM,QAAQ,GAAG,UAAU,EAAE,QAAQ,IAAI,CAAC,qCAAqC,CAAC,CAAC;IACjF,MAAM,SAAS,GAAG,UAAU,EAAE,SAAS,IAAI,EAAE,CAAC;IAC9C,MAAM,qBAAqB,GAAG,mCAAmC,CAAC;QAChE,SAAS;QACT,eAAe;QACf,kBAAkB;KACnB,CAAC,CAAC;IAEH,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,mBAAmB,CAC5C,CAAC,QAAQ,EAAE,QAAQ,CAAC,EACpB,qBAAqB,EACrB,QAAQ,CACT,CAAC;IAEF,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,GAAG,mBAAmB,CAClD,CAAC,WAAW,EAAE,WAAW,CAAC,EAC1B,qBAAqB,EACrB,QAAQ,CACT,CAAC;IAEF,MAAM,yCAAyC,GAAG,kCAAkC,CAAC;QACnF,QAAQ;QACR,eAAe;QACf,kBAAkB;QAClB,UAAU;QACV,WAAW;QACX,iBAAiB;QACjB,UAAU;KACX,CAAC,CAAC;IACH,MAAM,EAAE,IAAI,EAAE,GAAG,yCAAyC,CAAC;IAC3D,MAAM,cAAc,GAAG,iBAAiB,CAAC,IAAI,EAAE,eAAe,CAAC,CAAC;IAEhE,MAAM,OAAO,GAAG,eAAe,CAAC,iBAAiB,GAAG,cAAc,CAAC;IAEnE,OAAO;QACL,GAAG,yCAAyC;QAC5C,GAAG,eAAe;QAClB,MAAM;QACN,MAAM;QACN,SAAS;QACT,SAAS;QACT,UAAU;QACV,WAAW;QACX,iBAAiB;QACjB,UAAU;QACV,cAAc;QACd,OAAO;KACR,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -8,6 +8,6 @@ export function renderInput(props) {
|
|
|
8
8
|
text: _?.currency?.currency ?? '',
|
|
9
9
|
}));
|
|
10
10
|
const selectedValue = { key: selected, text: selected };
|
|
11
|
-
return (_jsxs("div", { className: "relative flex", children: [_jsx(Input, { className: "shrink-0 text-l w-full appearance-none -mr-20", placeholder: placeholder, type: "text", value: value, onChange: setValue }), ratesOptions.length ? (_jsx(Select, { isBorder: false, onChange: (_) => setSelected(_.key), options: ratesOptions, value: selectedValue })) : null] }));
|
|
11
|
+
return (_jsxs("div", { className: "relative flex", children: [_jsx(Input, { className: "shrink-0 text-l w-full appearance-none -mr-20", placeholder: placeholder, type: "text", value: value, onChange: setValue }), ratesOptions.length ? (_jsx(Select, { className: "absolute right-0", isBorder: false, onChange: (_) => setSelected(_.key), options: ratesOptions, value: selectedValue })) : null] }));
|
|
12
12
|
}
|
|
13
13
|
//# sourceMappingURL=renderInput.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderInput.js","sourceRoot":"","sources":["../../../src/components/ExchangeRateTile/renderInput.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;AAEjD,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAapD,MAAM,UAAU,WAAW,CAAC,KAAiB;IAC3C,MAAM,EAAE,WAAW,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,WAAW,EAAE,GAAG,KAAK,CAAC;IAC7E,MAAM,YAAY,GAAa,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;QAC/C,GAAG,EAAE,CAAC,EAAE,QAAQ,EAAE,QAAQ,IAAI,EAAE;QAChC,IAAI,EAAE,CAAC,EAAE,QAAQ,EAAE,QAAQ,IAAI,EAAE;KAClC,CAAC,CAAC,CAAC;IACJ,MAAM,aAAa,GAAW,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC;IAEhE,OAAO,CACL,eAAK,SAAS,EAAC,eAAe,aAC5B,KAAC,KAAK,IACJ,SAAS,EAAC,+CAA+C,EACzD,WAAW,EAAE,WAAW,EACxB,IAAI,EAAC,MAAM,EACX,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,QAAQ,GAClB,EACD,YAAY,CAAC,MAAM,CAAC,CAAC,CAAC,CACrB,KAAC,MAAM,IACL,QAAQ,EAAE,KAAK,EACf,QAAQ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AAe,CAAC,EAC/C,OAAO,EAAE,YAAY,EACrB,KAAK,EAAE,aAAa,GACpB,CACH,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type
|
|
2
|
-
import type
|
|
1
|
+
import { type LinkButtonVersion } from '../../model/LinkButtonVersion';
|
|
2
|
+
import { type LinkButtonContent } from '../../ui-kit/LinkButton/LinkButtonContent';
|
|
3
3
|
export interface SocialMediaProps {
|
|
4
4
|
className?: string;
|
|
5
5
|
media?: LinkButtonContent[];
|
|
@@ -16,13 +16,14 @@ export const SocialMedia = JSX(({ className = '', media, showButtonText, stretch
|
|
|
16
16
|
const { iconMapped } = findIconByHref(href);
|
|
17
17
|
const iconCustom = isIcon(icon) ? icon : iconMapped;
|
|
18
18
|
const buttonText = showButtonText ? { text } : { text: '' };
|
|
19
|
+
const iconVersion = _?.icon?.iconVersion || 'color';
|
|
19
20
|
if (!hasText && text) {
|
|
20
21
|
setHasText(true);
|
|
21
22
|
}
|
|
22
23
|
return {
|
|
23
24
|
..._,
|
|
24
25
|
...buttonText,
|
|
25
|
-
icon: { ...iconCustom, iconVersion:
|
|
26
|
+
icon: { ...iconCustom, iconVersion: iconVersion },
|
|
26
27
|
version: _?.version ?? version,
|
|
27
28
|
};
|
|
28
29
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SocialMedia.js","sourceRoot":"","sources":["../../../src/components/Footer/SocialMedia.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAGvD,OAAO,EAAE,oBAAoB,EAAE,MAAM,8CAA8C,CAAC;AACpF,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAAE,KA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,EAAE,CAAC,cAAc,IAAI,CAAC,OAAO;KAC1C,EACD,iBAAiB,CAAC,SAAS,CAAC,CAC7B,CAAC;IAEF,OAAO,CACL,eACE,SAAS,EAAE,KAAK,CAAC,+BAA+B,EAAE,SAAS,CAAC,gBACjD,uFAAiB,aAE5B,cAAK,SAAS,EAAC,aAAa,YACzB,oBAAoB,CAAC,OAAO,EAAE;oBAC7B,SAAS,EAAE,YAAY,CAAC,OAAO,IAAI,KAAK,EAAE,SAAS,IAAI,KAAK,EAAE,cAAc,CAAC;oBAC7E,eAAe;iBAChB,CAAC,GACE,EACL,QAAQ,CAAC,CAAC,CAAC,CACV,KAAC,IAAI,IAAC,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAC,YAAY,EAAC,KAAK,EAAC,qBAAqB,YAC9D,QAAQ,GACJ,CACR,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,iBAAiB,GAAG,CAAC,SAAS,GAAG,KAAK,EAAE,EAAE,CAC9C,SAAS,CAAC,CAAC,CAAC,wCAAwC,CAAC,CAAC,CAAC,EAAE,CAAC;AAE5D,MAAM,YAAY,GAAG,CAAC,OAAgB,EAAE,SAAkB,EAAE,cAAc,GAAG,KAAK,EAAU,EAAE,CAC5F,KAAK,CACH,OAAO,IAAI,SAAS,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,EAAE,EACxC,SAAS,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,EAAE,CACrE,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import type
|
|
2
|
+
import { type WorkScheduleWeek } from './OfficesAtmsMapProps';
|
|
3
3
|
export declare const getScheduleDescription: (workScheduleWeek: WorkScheduleWeek[]) => JSX.Element;
|
|
4
4
|
export declare const buildScheduleText: ({ workTime, lunchHour, daysOff }: Record<string, string | undefined>, isSaturday?: boolean) => string;
|
|
5
5
|
export declare const getDateDescription: (workScheduleWeek: WorkScheduleWeek[]) => string[];
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type WorkSchedule, type WorkScheduleWeek } from './OfficesAtmsMapProps';
|
|
2
2
|
export declare const WEEKDAY_MAP: string[][];
|
|
3
3
|
export declare const getWorkScheduleWeek: (workSchedule?: WorkSchedule) => WorkScheduleWeek[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import type
|
|
2
|
+
import { type WorkScheduleWeek } from './OfficesAtmsMapProps';
|
|
3
3
|
export declare const renderBusinessSchedule: (scheduleDescription?: string) => JSX.Element | null;
|
|
4
4
|
export declare const getBusinessSchedule: (scheduleDescription: string) => {
|
|
5
5
|
short: string;
|
|
@@ -4,7 +4,7 @@ import { type DescriptionProps, type LabelProps, type TitleProps } from '../../m
|
|
|
4
4
|
import { type IconProps } from '../../model/Picture';
|
|
5
5
|
import { type ButtonsSectionContent } from '../../ui-kit/LinkButton/ButtonsSectionContent';
|
|
6
6
|
import { type LinkButtonContent } from '../../ui-kit/LinkButton/LinkButtonContent';
|
|
7
|
-
import type
|
|
7
|
+
import { type RichTextProps } from '../../ui-kit/RichText/RichTextProps';
|
|
8
8
|
import { type UniBlockContent } from '../../UniBlock/UniBlockProps';
|
|
9
9
|
/**
|
|
10
10
|
* @title Шаг
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type
|
|
2
|
-
import type
|
|
1
|
+
import { type LinkProps } from '../model/LinkProps';
|
|
2
|
+
import { type TransformationOptions } from './TransformationOptions';
|
|
3
3
|
export declare function transformAttachmentLink(link: LinkProps, pagePath: string, options: TransformationOptions): Promise<LinkProps>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type
|
|
2
|
-
import type
|
|
1
|
+
import { type ContentPageDef } from '../model/ContentPageDef';
|
|
2
|
+
import { type TransformationOptions } from './TransformationOptions';
|
|
3
3
|
export declare function transformContentPage(pagePath: string, options: TransformationOptions): Promise<ContentPageDef>;
|
|
4
4
|
export declare const generatedPagePath: (pagePath: string) => string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type
|
|
2
|
-
import type
|
|
1
|
+
import { type AspectsProps } from '../model/AspectsProps';
|
|
2
|
+
import { type LogoType } from '../model/LogoType';
|
|
3
3
|
export declare type SearchHeaderProps = AspectsProps & {
|
|
4
4
|
placeholder: string;
|
|
5
5
|
ariaLabel: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type
|
|
2
|
-
import type
|
|
1
|
+
import { type AspectsDef } from '../model/AspectsProps';
|
|
2
|
+
import { type LinkProps } from '../model/LinkProps';
|
|
3
3
|
import { type IconProps } from '../model/Picture';
|
|
4
4
|
export interface NavigationLinkProps extends LinkProps {
|
|
5
5
|
displayArea?: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type ButtonVersion } from '../../model/ButtonVersion';
|
|
2
2
|
import { type ARIAProps } from '../ARIAProps';
|
|
3
3
|
import { type ControlStateProps } from '../ControlStateProps';
|
|
4
|
-
import type
|
|
4
|
+
import { type PreventableEvent } from '../PreventableEvent';
|
|
5
5
|
export interface ButtonProps extends ControlStateProps, ARIAProps {
|
|
6
6
|
className?: string;
|
|
7
7
|
version?: ButtonVersion;
|
|
@@ -2,6 +2,7 @@ import { type JSONRefObject } from '../../data/JSONRefObject';
|
|
|
2
2
|
import { type Footnote } from '../../model/Footnote';
|
|
3
3
|
import { type TitleProps } from '../../model/HeadlineType';
|
|
4
4
|
import { type ButtonsSectionContent } from '../LinkButton/ButtonsSectionContent';
|
|
5
|
+
import { type TextColor } from '../Text/TextProps';
|
|
5
6
|
export declare type CalcValueProps = {
|
|
6
7
|
moneyValue: number;
|
|
7
8
|
monthsValue: number;
|
|
@@ -16,7 +17,17 @@ export declare type LimitParamsProps = {
|
|
|
16
17
|
export declare type RateProps = {
|
|
17
18
|
rate: number;
|
|
18
19
|
};
|
|
19
|
-
export
|
|
20
|
+
export interface CalcCurrencyProps {
|
|
21
|
+
className?: string;
|
|
22
|
+
title?: string;
|
|
23
|
+
value?: number | string;
|
|
24
|
+
fractionDigits?: number;
|
|
25
|
+
fixed?: boolean;
|
|
26
|
+
prefix?: string;
|
|
27
|
+
postfix?: string;
|
|
28
|
+
color?: TextColor;
|
|
29
|
+
}
|
|
30
|
+
export declare type CalcSourceProps = {
|
|
20
31
|
/** @title Данные калькулятора */
|
|
21
32
|
calcSource?: JSONRefObject;
|
|
22
33
|
};
|
|
@@ -26,4 +37,4 @@ export interface CommonDefaultParams {
|
|
|
26
37
|
/** @title Период по умолчанию */
|
|
27
38
|
period?: number;
|
|
28
39
|
}
|
|
29
|
-
export declare type CommonCalculatorProps = TitleProps & Footnote & ButtonsSectionContent &
|
|
40
|
+
export declare type CommonCalculatorProps = TitleProps & Footnote & ButtonsSectionContent & CalcSourceProps;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
export const CalculatorStyle = {
|
|
2
|
-
wrapper: 'flex flex-col justify-between @4xl:flex-row',
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
input: 'flex flex-col lg:max-w-80 gap-2xl border-b border-b-main-divider @xl:border-none pb-3xl @xl:pb-0',
|
|
6
|
-
result: 'flex flex-col gap-y-xl',
|
|
2
|
+
wrapper: 'flex flex-col justify-between @4xl:flex-row gap-x-4xl gap-y-7 @xl:gap-y-4xl',
|
|
3
|
+
input: 'flex flex-col lg:max-w-80 lg:w-1/2 gap-2xl',
|
|
4
|
+
result: 'flex flex-col gap-y-xl min-w-60',
|
|
7
5
|
};
|
|
8
6
|
//# sourceMappingURL=CalculatorStyle.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CalculatorStyle.js","sourceRoot":"","sources":["../../../src/ui-kit/Calculator/CalculatorStyle.tsx"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"CalculatorStyle.js","sourceRoot":"","sources":["../../../src/ui-kit/Calculator/CalculatorStyle.tsx"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,OAAO,EAAE,6EAA6E;IACtF,KAAK,EAAE,4CAA4C;IACnD,MAAM,EAAE,iCAAiC;CAC1C,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
+
import { style } from '../../utils/style.js';
|
|
4
|
+
import { Text } from '../Text/Text.js';
|
|
5
|
+
import { FormatValue } from './FormatedValue.js';
|
|
6
|
+
const CalculatorValueStyle = 'flex justify-between @xl:flex-col';
|
|
7
|
+
export const CalculatorValue = JSX(({ className, title, value, color = 'text-secondary-text', ...rest }) => (_jsxs("div", { className: style(CalculatorValueStyle, className), children: [title ? (_jsx(Text, { size: "text-l", font: "font-light", color: color, children: title })) : null, value ? _jsx(FormatValue, { value: value, ...rest }) : _jsx(Text, { size: "text-h3", children: "-" })] })));
|
|
8
|
+
//# sourceMappingURL=CalculatorValue.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CalculatorValue.js","sourceRoot":"","sources":["../../../src/ui-kit/Calculator/CalculatorValue.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAE9C,MAAM,oBAAoB,GAAG,mCAAmC,CAAC;AAEjE,MAAM,CAAC,MAAM,eAAe,GAAG,GAAG,CAChC,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,GAAG,qBAAqB,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CACvE,eAAK,SAAS,EAAE,KAAK,CAAC,oBAAoB,EAAE,SAAS,CAAC,aACnD,KAAK,CAAC,CAAC,CAAC,CACP,KAAC,IAAI,IAAC,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAC,YAAY,EAAC,KAAK,EAAE,KAAK,YAC/C,KAAK,GACD,CACR,CAAC,CAAC,CAAC,IAAI,EACP,KAAK,CAAC,CAAC,CAAC,KAAC,WAAW,IAAC,KAAK,EAAE,KAAK,KAAM,IAAI,GAAI,CAAC,CAAC,CAAC,KAAC,IAAI,IAAC,IAAI,EAAC,SAAS,kBAAS,IAC5E,CACP,CACF,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
+
import { toLocalNumberFormat } from '../../utils/toLocalNumberFormat.js';
|
|
4
|
+
import { Text } from '../Text/Text.js';
|
|
5
|
+
export const FormatValue = JSX(({ value, fractionDigits, fixed, prefix, postfix }) => (_jsx(Text, { size: "text-h3", children: typeof value === 'number'
|
|
6
|
+
? [prefix, toLocalNumberFormat(fractionDigits, { fixed })(value), postfix]
|
|
7
|
+
.filter(Boolean)
|
|
8
|
+
.join(' ')
|
|
9
|
+
: value })));
|
|
10
|
+
//# sourceMappingURL=FormatedValue.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormatedValue.js","sourceRoot":"","sources":["../../../src/ui-kit/Calculator/FormatedValue.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAGpC,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAC5B,CAAC,EAAE,KAAK,EAAE,cAAc,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,CACrD,KAAC,IAAI,IAAC,IAAI,EAAC,SAAS,YACjB,OAAO,KAAK,KAAK,QAAQ;QACxB,CAAC,CAAC,CAAC,MAAM,EAAE,mBAAmB,CAAC,cAAc,EAAE,EAAE,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC;aACrE,MAAM,CAAC,OAAO,CAAC;aACf,IAAI,CAAC,GAAG,CAAC;QACd,CAAC,CAAC,KAAK,GACJ,CACR,CACF,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { CalculatorValue } from './CalculatorValue.js';
|
|
3
3
|
import { Rate } from './Rate.js';
|
|
4
4
|
import { UnknownRate } from './UnknownRate.js';
|
|
5
|
-
export const renderRate = ({ title = 'Ставка', rate = 0, unit = '%', fractionDigits = 2, isUnknownRateShown = true, color = 'text-secondary-text', children, ...rest }) => isUnknownRateShown && rate === 0 ? (_jsx(UnknownRate, { title: title, ...rest })) : (_jsxs("div", { className: "flex flex-col", children: [_jsx("div", { className: "hidden @xl:block min-w-96", children: _jsx(Rate, { title: title, rate: rate, unit: unit, fractionDigits: fractionDigits, color: color, ...rest }) }), _jsx(
|
|
5
|
+
export const renderRate = ({ title = 'Ставка', rate = 0, unit = '%', fractionDigits = 2, isUnknownRateShown = true, color = 'text-secondary-text', children, ...rest }) => isUnknownRateShown && rate === 0 ? (_jsx(UnknownRate, { title: title, ...rest })) : (_jsxs("div", { className: "flex flex-col", children: [_jsx("div", { className: "hidden @xl:block min-w-96", children: _jsx(Rate, { title: title, rate: rate, unit: unit, fractionDigits: fractionDigits, color: color, ...rest }) }), _jsx(CalculatorValue, { className: "@xl:hidden", title: title, value: rate, postfix: unit, fractionDigits: fractionDigits, fixed: true, color: color, ...rest }), children] }));
|
|
6
6
|
//# sourceMappingURL=renderRate.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderRate.js","sourceRoot":"","sources":["../../../src/ui-kit/Calculator/renderRate.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"renderRate.js","sourceRoot":"","sources":["../../../src/ui-kit/Calculator/renderRate.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,IAAI,EAAkB,MAAM,QAAQ,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAyB,MAAM,eAAe,CAAC;AAOnE,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,EACzB,KAAK,GAAG,QAAQ,EAChB,IAAI,GAAG,CAAC,EACR,IAAI,GAAG,GAAG,EACV,cAAc,GAAG,CAAC,EAClB,kBAAkB,GAAG,IAAI,EACzB,KAAK,GAAG,qBAAqB,EAC7B,QAAQ,EACR,GAAG,IAAI,EACS,EAAE,EAAE,CACpB,kBAAkB,IAAI,IAAI,KAAK,CAAC,CAAC,CAAC,CAAC,CACjC,KAAC,WAAW,IAAC,KAAK,EAAE,KAAK,KAAM,IAAI,GAAI,CACxC,CAAC,CAAC,CAAC,CACF,eAAK,SAAS,EAAC,eAAe,aAC5B,cAAK,SAAS,EAAC,2BAA2B,YACxC,KAAC,IAAI,IACH,KAAK,EAAE,KAAK,EACZ,IAAI,EAAE,IAAI,EACV,IAAI,EAAE,IAAI,EACV,cAAc,EAAE,cAAc,EAC9B,KAAK,EAAE,KAAK,KACR,IAAI,GACR,GACE,EACN,KAAC,eAAe,IACd,SAAS,EAAC,YAAY,EACtB,KAAK,EAAE,KAAK,EACZ,KAAK,EAAE,IAAI,EACX,OAAO,EAAE,IAAI,EACb,cAAc,EAAE,cAAc,EAC9B,KAAK,EAAE,IAAI,EACX,KAAK,EAAE,KAAK,KACR,IAAI,GACR,EACD,QAAQ,IACL,CACP,CAAC"}
|
|
@@ -28,8 +28,8 @@ export const Select = JSX(
|
|
|
28
28
|
onClose: handleClose,
|
|
29
29
|
iconVersion,
|
|
30
30
|
});
|
|
31
|
-
return (_jsxs("div", { className: style('space-y-xs', className), children: [renderLabel(label), _jsxs("div", { className: style('relative', hasOpen ? 'z-20' : 'z-10'), ref: inputRef, children: [_jsxs("div", { className: style('h-14 [&>*]:p-m pr-
|
|
31
|
+
return (_jsxs("div", { className: style('space-y-xs', className), children: [renderLabel(label), _jsxs("div", { className: style('relative', hasOpen ? 'z-20' : 'z-10'), ref: inputRef, children: [_jsxs("div", { className: style('h-14 [&>*]:p-m pr-6 text-l flex items-center justify-between text-primary-text relative z-10 overflow-hidden', getStyle(isBorder, valid, isDisabled)), onClick: hasOpen ? handleClose : open, children: [_jsx("p", { className: "line-clamp-2 text-ellipsis", children: formatOption(value) || placeholder }), renderIcon(hasOpen, iconVersion)] }), isSearch && hasOpen ? (_jsx("div", { className: style('absolute top-0 w-full z-20'), children: _jsx(Input, { type: "text", autoFocus: true, value: query, onChange: setQuery }) })) : null] })] }));
|
|
32
32
|
});
|
|
33
|
-
const renderIcon = (isOpen, iconVersion) => (_jsx(Icon, { className: style('absolute right-
|
|
33
|
+
const renderIcon = (isOpen, iconVersion) => (_jsx(Icon, { className: style('absolute right-0 flex self-center', { 'rotate-180': !isOpen }), iconVersion: iconVersion, name: "ArrowUpIcon", width: "16", height: "16" }));
|
|
34
34
|
const getStyle = (isBorder, valid, disabled) => style(isBorder ? 'border rounded-md ' : '', isBorder && !disabled ? 'hover:border-primary-hover' : '', disabled ? 'bg-main-divider' : 'cursor-pointer ', valid ? 'border-gray' : 'border-error');
|
|
35
35
|
//# sourceMappingURL=Select.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type DescriptionProps, type TitleProps } from '../../model/HeadlineType';
|
|
2
|
-
import type
|
|
2
|
+
import { type SwipeListControlType } from './SwipeListControlContent';
|
|
3
3
|
export interface DotProp {
|
|
4
4
|
activeIndex?: number;
|
|
5
5
|
onClick: (i: number) => void;
|
|
@@ -3,7 +3,7 @@ import { useEffect } from '@redneckz/uni-jsx/lib/hooks';
|
|
|
3
3
|
import { useBranches } from '../../hooks/useBranches';
|
|
4
4
|
import { useBranchesByRegions } from '../../hooks/useBranchesByRegions';
|
|
5
5
|
import { SelectControl } from '../../ui-kit/Select/SelectControl';
|
|
6
|
-
import type
|
|
6
|
+
import { type CustomFieldProps } from './CustomFieldProps';
|
|
7
7
|
import { validatorObj } from './getObjectValidator';
|
|
8
8
|
import { getValidation } from './getValidation';
|
|
9
9
|
|
|
@@ -2,7 +2,7 @@ import { type JSONRefObject } from '../../data/JSONRefObject';
|
|
|
2
2
|
import { useForm } from '../../hooks/useForm';
|
|
3
3
|
import { CalculatorLayout } from '../../ui-kit/Calculator/CalculatorLayout';
|
|
4
4
|
import { CalculatorStyle } from '../../ui-kit/Calculator/CalculatorStyle';
|
|
5
|
-
import {
|
|
5
|
+
import { CalculatorValue } from '../../ui-kit/Calculator/CalculatorValue';
|
|
6
6
|
import { renderFootnote } from '../../ui-kit/Calculator/renderFootnote';
|
|
7
7
|
import { renderRate } from '../../ui-kit/Calculator/renderRate';
|
|
8
8
|
import { renderWantedSumInput } from '../../ui-kit/Calculator/renderWantedSumInput';
|
|
@@ -32,7 +32,7 @@ export const CalculatorBonus = UniBlock<CalculatorBonusProps>(
|
|
|
32
32
|
|
|
33
33
|
return (
|
|
34
34
|
<CalculatorLayout className={className} title={title} {...rest}>
|
|
35
|
-
<section className={style(CalculatorStyle.wrapper,
|
|
35
|
+
<section className={style(CalculatorStyle.wrapper, className)}>
|
|
36
36
|
<div className={CalculatorStyle.input}>
|
|
37
37
|
{renderWantedSumInput({
|
|
38
38
|
title: 'Сумма покупок в категории путешествия, ₽',
|
|
@@ -65,11 +65,7 @@ export const CalculatorBonus = UniBlock<CalculatorBonusProps>(
|
|
|
65
65
|
</div>
|
|
66
66
|
<div className={CalculatorStyle.result}>
|
|
67
67
|
{yearBonus >= 0 ? (
|
|
68
|
-
<
|
|
69
|
-
title="Баллов за год"
|
|
70
|
-
value={yearBonus}
|
|
71
|
-
color="text-primary-text"
|
|
72
|
-
/>
|
|
68
|
+
<CalculatorValue title="Баллов за год" value={yearBonus} color="text-primary-text" />
|
|
73
69
|
) : null}
|
|
74
70
|
{renderButtonsSection(buttons, { isVertical: true })}
|
|
75
71
|
{renderFootnote(footnote)}
|
|
@@ -57,7 +57,7 @@ export const CalculatorBusinessDeposit = UniBlock<CalculatorBusinessDepositProp>
|
|
|
57
57
|
|
|
58
58
|
return (
|
|
59
59
|
<CalculatorLayout className={className} title={title} {...rest}>
|
|
60
|
-
<section className={style(CalculatorStyle.wrapper,
|
|
60
|
+
<section className={style(CalculatorStyle.wrapper, className)}>
|
|
61
61
|
<div className={CalculatorStyle.input}>
|
|
62
62
|
{renderWantedSumInput({
|
|
63
63
|
title: 'Сумма, ₽',
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type Footnote } from '../../model/Footnote';
|
|
2
2
|
import { type TitleProps } from '../../model/HeadlineType';
|
|
3
3
|
import {
|
|
4
|
-
type
|
|
4
|
+
type CalcSourceProps,
|
|
5
5
|
type CommonDefaultParams,
|
|
6
6
|
} from '../../ui-kit/Calculator/CalculatorProps';
|
|
7
7
|
import { type ButtonsSectionContent } from '../../ui-kit/LinkButton/ButtonsSectionContent';
|
|
@@ -35,7 +35,7 @@ export type EmptyRateParams = {
|
|
|
35
35
|
*/
|
|
36
36
|
export type RateParamsDef = EmptyRateParams | ULRateDef | IPRateDef;
|
|
37
37
|
|
|
38
|
-
export type CommonCalculatorProps = Footnote & ButtonsSectionContent &
|
|
38
|
+
export type CommonCalculatorProps = Footnote & ButtonsSectionContent & CalcSourceProps;
|
|
39
39
|
|
|
40
40
|
export interface BusinessDepositDefaultParams extends CommonDefaultParams {
|
|
41
41
|
/** @title Пополнение */
|
|
@@ -5,7 +5,7 @@ import { useForm, type FormFieldRegisterer } from '../../hooks/useForm';
|
|
|
5
5
|
import { DEFAULT_MONTHS } from '../../ui-kit/Calculator/calculatorConstants';
|
|
6
6
|
import { CalculatorLayout } from '../../ui-kit/Calculator/CalculatorLayout';
|
|
7
7
|
import { CalculatorStyle } from '../../ui-kit/Calculator/CalculatorStyle';
|
|
8
|
-
import {
|
|
8
|
+
import { CalculatorValue } from '../../ui-kit/Calculator/CalculatorValue';
|
|
9
9
|
import { getDefaultParamsMin } from '../../ui-kit/Calculator/getDefaultParams';
|
|
10
10
|
import {
|
|
11
11
|
getMoneyDefaultValue,
|
|
@@ -102,7 +102,7 @@ export const CalculatorCredit = UniBlock<CalculatorDepositProps>(
|
|
|
102
102
|
|
|
103
103
|
return (
|
|
104
104
|
<CalculatorLayout className={className} title={title} {...rest}>
|
|
105
|
-
<section className={style(CalculatorStyle.wrapper,
|
|
105
|
+
<section className={style(CalculatorStyle.wrapper, className)}>
|
|
106
106
|
<div className={CalculatorStyle.input}>
|
|
107
107
|
{renderWantedSumInput({
|
|
108
108
|
title: 'Сумма кредита, ₽',
|
|
@@ -123,7 +123,14 @@ export const CalculatorCredit = UniBlock<CalculatorDepositProps>(
|
|
|
123
123
|
<div className="sm:hidden">{paymentTypeElement}</div>
|
|
124
124
|
</div>
|
|
125
125
|
<div className={style(CalculatorStyle.result, '@4xl:w-1/2')}>
|
|
126
|
-
<
|
|
126
|
+
<CalculatorValue title="Полная стоимость кредита" value={calcSource?.totalLoanCost} />
|
|
127
|
+
<CalculatorValue
|
|
128
|
+
title="Ставка"
|
|
129
|
+
value={calcParams?.rate}
|
|
130
|
+
fractionDigits={2}
|
|
131
|
+
postfix="%"
|
|
132
|
+
/>
|
|
133
|
+
<CalculatorValue
|
|
127
134
|
title="Ежемесячный платёж"
|
|
128
135
|
value={calcParams.monthlyPayment}
|
|
129
136
|
postfix="₽"
|
|
@@ -29,6 +29,7 @@ export interface CreditCalculatorParams
|
|
|
29
29
|
export type CreditCalculatorData = {
|
|
30
30
|
rateRows?: CreditCalculatorSourceBookParams[];
|
|
31
31
|
limitRows?: CreditCalculatorSourceBookParams[];
|
|
32
|
+
totalLoanCost?: string;
|
|
32
33
|
};
|
|
33
34
|
|
|
34
35
|
export interface CreditCalculatorParamsViewSettingsDefault {
|
|
@@ -88,6 +88,12 @@ export const CalculatorDeposit = UniBlock<CalculatorDepositProps>(
|
|
|
88
88
|
paramsViewSettings,
|
|
89
89
|
);
|
|
90
90
|
|
|
91
|
+
useEffect(() => {
|
|
92
|
+
if (currencyOptions?.[0]) {
|
|
93
|
+
field?.('currency')?.onChange?.(currencyOptions?.[0]);
|
|
94
|
+
}
|
|
95
|
+
}, [calcSource]);
|
|
96
|
+
|
|
91
97
|
const handleDefaultParamsCals = () => {
|
|
92
98
|
setDefaultParamsCalc({
|
|
93
99
|
field,
|
|
@@ -137,7 +143,7 @@ export const CalculatorDeposit = UniBlock<CalculatorDepositProps>(
|
|
|
137
143
|
|
|
138
144
|
return (
|
|
139
145
|
<CalculatorLayout className={className} title={title} {...rest}>
|
|
140
|
-
<section className={style(CalculatorStyle.wrapper,
|
|
146
|
+
<section className={style(CalculatorStyle.wrapper, className)}>
|
|
141
147
|
<div className={CalculatorStyle.input}>
|
|
142
148
|
<div className="flex gap-m">
|
|
143
149
|
{renderWantedSumInput({
|
|
@@ -151,12 +157,7 @@ export const CalculatorDeposit = UniBlock<CalculatorDepositProps>(
|
|
|
151
157
|
step: getStep(currencyValue?.key),
|
|
152
158
|
})}
|
|
153
159
|
{rows && rows?.length > 1 ? (
|
|
154
|
-
<SelectControl
|
|
155
|
-
className="w-20"
|
|
156
|
-
label="Валюта"
|
|
157
|
-
options={currencyOptions}
|
|
158
|
-
{...field('currency')}
|
|
159
|
-
/>
|
|
160
|
+
<SelectControl label="Валюта" options={currencyOptions} {...field('currency')} />
|
|
160
161
|
) : null}
|
|
161
162
|
</div>
|
|
162
163
|
{renderMonthsInput({
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
type CalcValueProps,
|
|
4
4
|
} from '../../ui-kit/Calculator/CalculatorProps';
|
|
5
5
|
import { checkRangeByKeys, getRangeByKeys } from '../../ui-kit/Calculator/rangeHelpers';
|
|
6
|
-
import type
|
|
6
|
+
import { type LinkButtonContent } from '../../ui-kit/LinkButton/LinkButtonContent';
|
|
7
7
|
import { type Option } from '../../ui-kit/Select/Option';
|
|
8
8
|
import { arrayByRange } from '../../utils/arrayByRange';
|
|
9
9
|
import { mergeIntervals } from '../../utils/mergeIntervals';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type FormFieldRegisterer } from '../../hooks/useForm';
|
|
2
2
|
import { renderBinaryRadioButtonGroup } from '../../ui-kit/Calculator/renderBinaryRadioButtonGroup';
|
|
3
3
|
import { renderPayout } from '../../ui-kit/Calculator/renderPayout';
|
|
4
|
-
import type
|
|
5
|
-
import type
|
|
4
|
+
import { type CalculatorDepositParamsViewSettings } from './CalculatorDepositContent';
|
|
5
|
+
import { type DepositCalculatorParams } from './getDepositCalculatorParams';
|
|
6
6
|
import { renderRegistrationType } from './renderRegistrationType';
|
|
7
7
|
|
|
8
8
|
export const renderDepositParamsForm = (
|
|
@@ -41,7 +41,7 @@ export const renderDepositParamsForm = (
|
|
|
41
41
|
})
|
|
42
42
|
: null}
|
|
43
43
|
</div>
|
|
44
|
-
|
|
44
|
+
{separator}
|
|
45
45
|
<div className="flex gap-lg">
|
|
46
46
|
{params.isShowMonthlyInterestPayment
|
|
47
47
|
? renderPayout({
|
|
@@ -60,6 +60,9 @@ export const renderDepositParamsForm = (
|
|
|
60
60
|
})
|
|
61
61
|
: null}
|
|
62
62
|
</div>
|
|
63
|
+
{separator}
|
|
63
64
|
</div>
|
|
64
65
|
);
|
|
65
66
|
};
|
|
67
|
+
|
|
68
|
+
const separator = `<div className="border-b border-main-divider w-full" />`;
|