@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
|
@@ -4,7 +4,7 @@ const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
|
4
4
|
const useForm_1 = require("../../hooks/useForm");
|
|
5
5
|
const CalculatorLayout_1 = require("../../ui-kit/Calculator/CalculatorLayout");
|
|
6
6
|
const CalculatorStyle_1 = require("../../ui-kit/Calculator/CalculatorStyle");
|
|
7
|
-
const
|
|
7
|
+
const CalculatorValue_1 = require("../../ui-kit/Calculator/CalculatorValue");
|
|
8
8
|
const renderFootnote_1 = require("../../ui-kit/Calculator/renderFootnote");
|
|
9
9
|
const renderMonthsInput_1 = require("../../ui-kit/Calculator/renderMonthsInput");
|
|
10
10
|
const renderPaymentType_1 = require("../../ui-kit/Calculator/renderPaymentType");
|
|
@@ -30,43 +30,43 @@ exports.CalculatorRefinancing = (0, UniBlock_1.UniBlock)(
|
|
|
30
30
|
monthsValue: DEFAULT_REFINANCING_MONTHS,
|
|
31
31
|
moneyExtra: REFINANCING_OLD_DEFAULT_SUM,
|
|
32
32
|
});
|
|
33
|
-
const
|
|
33
|
+
const calcParams = (0, getRefinancingCalculatorParams_1.getRefinancingCalculatorParams)(userInputParams, calcSource, paramsViewSettings);
|
|
34
34
|
const paymentTypeElement = (0, renderPaymentType_1.renderPaymentType)({
|
|
35
35
|
title: '',
|
|
36
36
|
mobileTitle: 'Тип платежа',
|
|
37
37
|
orientation: 'vertical',
|
|
38
38
|
...field('isAnnuity'),
|
|
39
39
|
});
|
|
40
|
-
return ((0, jsx_runtime_1.jsx)(CalculatorLayout_1.CalculatorLayout, { className: className, title: title, ...rest, children: (0, jsx_runtime_1.jsxs)("section", { className: (0, style_1.style)(CalculatorStyle_1.CalculatorStyle.wrapper,
|
|
40
|
+
return ((0, jsx_runtime_1.jsx)(CalculatorLayout_1.CalculatorLayout, { className: className, title: title, ...rest, children: (0, jsx_runtime_1.jsxs)("section", { className: (0, style_1.style)(CalculatorStyle_1.CalculatorStyle.wrapper, className), children: [(0, jsx_runtime_1.jsxs)("div", { className: CalculatorStyle_1.CalculatorStyle.input, children: [(0, renderWantedSumInput_1.renderWantedSumInput)({
|
|
41
41
|
title: 'Остаток долга в других банках, ₽ ',
|
|
42
42
|
step: 500,
|
|
43
|
-
min:
|
|
44
|
-
max:
|
|
43
|
+
min: calcParams.minSum,
|
|
44
|
+
max: calcParams.maxSum - calcParams.maxSumExtra,
|
|
45
45
|
...field('moneyValue'),
|
|
46
|
-
value:
|
|
46
|
+
value: calcParams.moneyValue,
|
|
47
47
|
}), (0, renderWantedSumInput_1.renderWantedSumInput)({
|
|
48
48
|
title: 'Ежемесячный платёж в других банках, ₽',
|
|
49
49
|
step: 500,
|
|
50
|
-
min:
|
|
51
|
-
max:
|
|
50
|
+
min: calcParams.minSumOld,
|
|
51
|
+
max: calcParams.maxSumOld,
|
|
52
52
|
...field('oldMonthlyPayment'),
|
|
53
|
-
value:
|
|
53
|
+
value: calcParams.oldMonthlyPayment,
|
|
54
54
|
}), (0, renderMonthsInput_1.renderMonthsInput)({
|
|
55
55
|
title: 'Новый срок кредита, месяцев',
|
|
56
|
-
min:
|
|
57
|
-
max:
|
|
56
|
+
min: calcParams.minMonths,
|
|
57
|
+
max: calcParams.maxMonths,
|
|
58
58
|
...field('monthsValue'),
|
|
59
|
-
value:
|
|
60
|
-
}), renderCreditParamsForm({ ...
|
|
59
|
+
value: calcParams.monthsValue,
|
|
60
|
+
}), renderCreditParamsForm({ ...calcParams, ...paramsViewSettings }, field), calcParams.isExtraMoney
|
|
61
61
|
? (0, renderWantedSumInput_1.renderWantedSumInput)({
|
|
62
62
|
title: 'Дополнительная сумма, ₽ ',
|
|
63
63
|
step: 500,
|
|
64
|
-
min:
|
|
65
|
-
max:
|
|
64
|
+
min: calcParams.minSumExtra,
|
|
65
|
+
max: calcParams.maxSumExtra,
|
|
66
66
|
...field('moneyExtra'),
|
|
67
|
-
value:
|
|
67
|
+
value: calcParams.moneyExtra,
|
|
68
68
|
})
|
|
69
|
-
: null, (0, jsx_runtime_1.jsx)("div", { className: "sm:hidden pt-1 pb-4 border-b border-main-divider", children: paymentTypeElement })] }), (0, jsx_runtime_1.jsxs)("div", { className: (0, style_1.style)(CalculatorStyle_1.CalculatorStyle.result, '@4xl:w-1/2'), children: [(0, jsx_runtime_1.jsx)(
|
|
69
|
+
: null, (0, jsx_runtime_1.jsx)("div", { className: "sm:hidden pt-1 pb-4 border-b border-main-divider", children: paymentTypeElement })] }), (0, jsx_runtime_1.jsxs)("div", { className: (0, style_1.style)(CalculatorStyle_1.CalculatorStyle.result, '@4xl:w-1/2'), children: [(0, jsx_runtime_1.jsx)(CalculatorValue_1.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 }), (0, jsx_runtime_1.jsx)(CalculatorValue_1.CalculatorValue, { title: "\u0421\u0442\u0430\u0432\u043A\u0430", value: calcParams?.rate, fractionDigits: 2, postfix: "%" }), (0, jsx_runtime_1.jsx)(CalculatorValue_1.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 ? ((0, jsx_runtime_1.jsx)(CalculatorValue_1.CalculatorValue, { title: 'Выгода в месяц', value: calcParams.benefit, postfix: "\u20BD" })) : null, (0, jsx_runtime_1.jsx)("div", { className: "hidden sm:block mb-lg", children: paymentTypeElement }), (0, renderButtonsSection_1.renderButtonsSection)(buttons, { isVertical: true }), (0, renderFootnote_1.renderFootnote)(footnote)] })] }) }));
|
|
70
70
|
});
|
|
71
71
|
const renderCreditParamsForm = (params, field) => ((0, jsx_runtime_1.jsxs)("div", { className: "space-y-lg sm:space-y-s", children: [params.isShowSalaryClient ? ((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", ...field('isSalaryClient'), value: params.isSalaryClient })) : null, params.isShowInsurance ? ((0, jsx_runtime_1.jsx)(Checkbox_1.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, (0, jsx_runtime_1.jsx)(Checkbox_1.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 })] }));
|
|
72
72
|
//# sourceMappingURL=CalculatorRefinancing.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CalculatorRefinancing.js","sourceRoot":"","sources":["../../../src/components/CalculatorRefinancing/CalculatorRefinancing.tsx"],"names":[],"mappings":";;;AACA,iDAAwE;AACxE,+EAA4E;AAC5E,6EAA0E;AAC1E,
|
|
1
|
+
{"version":3,"file":"CalculatorRefinancing.js","sourceRoot":"","sources":["../../../src/components/CalculatorRefinancing/CalculatorRefinancing.tsx"],"names":[],"mappings":";;;AACA,iDAAwE;AACxE,+EAA4E;AAC5E,6EAA0E;AAC1E,6EAA0E;AAC1E,2EAAwE;AACxE,iFAA8E;AAC9E,iFAA8E;AAC9E,uFAAoF;AACpF,6DAA0D;AAC1D,uFAAoF;AACpF,sDAAmD;AAEnD,6CAA0C;AAG1C,qFAI0C;AAE1C,MAAM,2BAA2B,GAAG,CAAC,CAAC;AACtC,MA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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,iFAA8E;AAC9E,uEAA2E;AAE3E,+FAA4F;AAC5F,6FAG8C;
|
|
1
|
+
{"version":3,"file":"getRefinancingCalculatorParams.js","sourceRoot":"","sources":["../../../src/components/CalculatorRefinancing/getRefinancingCalculatorParams.ts"],"names":[],"mappings":";;AAKA,iFAA8E;AAC9E,uEAA2E;AAE3E,+FAA4F;AAC5F,6FAG8C;AA8CvC,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,0EAAqC,CAAC,CAAC;IACjF,MAAM,SAAS,GAAG,UAAU,EAAE,SAAS,IAAI,EAAE,CAAC;IAC9C,MAAM,qBAAqB,GAAG,IAAA,yEAAmC,EAAC;QAChE,SAAS;QACT,eAAe;QACf,kBAAkB;KACnB,CAAC,CAAC;IAEH,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,IAAA,kCAAmB,EAC5C,CAAC,QAAQ,EAAE,QAAQ,CAAC,EACpB,qBAAqB,EACrB,QAAQ,CACT,CAAC;IAEF,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,GAAG,IAAA,kCAAmB,EAClD,CAAC,WAAW,EAAE,WAAW,CAAC,EAC1B,qBAAqB,EACrB,QAAQ,CACT,CAAC;IAEF,MAAM,yCAAyC,GAAG,IAAA,uEAAkC,EAAC;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,IAAA,qCAAiB,EAAC,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;AAtDW,QAAA,8BAA8B,kCAsDzC"}
|
|
@@ -10,7 +10,7 @@ function renderInput(props) {
|
|
|
10
10
|
text: _?.currency?.currency ?? '',
|
|
11
11
|
}));
|
|
12
12
|
const selectedValue = { key: selected, text: selected };
|
|
13
|
-
return ((0, jsx_runtime_1.jsxs)("div", { className: "relative flex", children: [(0, jsx_runtime_1.jsx)(Input_1.Input, { className: "shrink-0 text-l w-full appearance-none -mr-20", placeholder: placeholder, type: "text", value: value, onChange: setValue }), ratesOptions.length ? ((0, jsx_runtime_1.jsx)(Select_1.Select, { isBorder: false, onChange: (_) => setSelected(_.key), options: ratesOptions, value: selectedValue })) : null] }));
|
|
13
|
+
return ((0, jsx_runtime_1.jsxs)("div", { className: "relative flex", children: [(0, jsx_runtime_1.jsx)(Input_1.Input, { className: "shrink-0 text-l w-full appearance-none -mr-20", placeholder: placeholder, type: "text", value: value, onChange: setValue }), ratesOptions.length ? ((0, jsx_runtime_1.jsx)(Select_1.Select, { className: "absolute right-0", isBorder: false, onChange: (_) => setSelected(_.key), options: ratesOptions, value: selectedValue })) : null] }));
|
|
14
14
|
}
|
|
15
15
|
exports.renderInput = renderInput;
|
|
16
16
|
//# sourceMappingURL=renderInput.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderInput.js","sourceRoot":"","sources":["../../../src/components/ExchangeRateTile/renderInput.tsx"],"names":[],"mappings":";;;AAAA,oDAAiD;AAEjD,uDAAoD;AAapD,SAAgB,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,iCAAK,SAAS,EAAC,eAAe,aAC5B,uBAAC,aAAK,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,uBAAC,eAAM,IACL,QAAQ,EAAE,KAAK,EACf,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,WAAW,CAAC,CAAC,CAAC,GAA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C"}
|
|
@@ -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[];
|
|
@@ -18,13 +18,14 @@ exports.SocialMedia = (0, uni_jsx_1.JSX)(({ className = '', media, showButtonTex
|
|
|
18
18
|
const { iconMapped } = (0, findIconByHref_1.findIconByHref)(href);
|
|
19
19
|
const iconCustom = (0, isIcon_1.isIcon)(icon) ? icon : iconMapped;
|
|
20
20
|
const buttonText = showButtonText ? { text } : { text: '' };
|
|
21
|
+
const iconVersion = _?.icon?.iconVersion || 'color';
|
|
21
22
|
if (!hasText && text) {
|
|
22
23
|
setHasText(true);
|
|
23
24
|
}
|
|
24
25
|
return {
|
|
25
26
|
..._,
|
|
26
27
|
...buttonText,
|
|
27
|
-
icon: { ...iconCustom, iconVersion:
|
|
28
|
+
icon: { ...iconCustom, iconVersion: iconVersion },
|
|
28
29
|
version: _?.version ?? version,
|
|
29
30
|
};
|
|
30
31
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SocialMedia.js","sourceRoot":"","sources":["../../../src/components/Footer/SocialMedia.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAuD;AAGvD,uFAAoF;AACpF,iDAA8C;AAC9C,+CAA4C;AAC5C,6CAA0C;AAC1C,qDAAkD;AAUrC,QAAA,WAAW,GAAG,IAAA,aAAG,EAC5B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,OAAO,GAAG,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE;IACpF,IAAI,CAAC,KAAK,EAAE,MAAM,EAAE;QAClB,OAAO,IAAI,CAAC;KACb;IAED,MAAM,CAA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,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,IAAA,aAAK,EACH,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,10 +1,8 @@
|
|
|
1
1
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
2
|
exports.CalculatorStyle = void 0;
|
|
3
3
|
exports.CalculatorStyle = {
|
|
4
|
-
wrapper: 'flex flex-col justify-between @4xl:flex-row',
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
input: 'flex flex-col lg:max-w-80 gap-2xl border-b border-b-main-divider @xl:border-none pb-3xl @xl:pb-0',
|
|
8
|
-
result: 'flex flex-col gap-y-xl',
|
|
4
|
+
wrapper: 'flex flex-col justify-between @4xl:flex-row gap-x-4xl gap-y-7 @xl:gap-y-4xl',
|
|
5
|
+
input: 'flex flex-col lg:max-w-80 lg:w-1/2 gap-2xl',
|
|
6
|
+
result: 'flex flex-col gap-y-xl min-w-60',
|
|
9
7
|
};
|
|
10
8
|
//# sourceMappingURL=CalculatorStyle.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CalculatorStyle.js","sourceRoot":"","sources":["../../../src/ui-kit/Calculator/CalculatorStyle.tsx"],"names":[],"mappings":";;AAAa,QAAA,eAAe,GAAG;IAC7B,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"CalculatorStyle.js","sourceRoot":"","sources":["../../../src/ui-kit/Calculator/CalculatorStyle.tsx"],"names":[],"mappings":";;AAAa,QAAA,eAAe,GAAG;IAC7B,OAAO,EAAE,6EAA6E;IACtF,KAAK,EAAE,4CAA4C;IACnD,MAAM,EAAE,iCAAiC;CAC1C,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
+
exports.CalculatorValue = void 0;
|
|
3
|
+
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
+
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
+
const style_1 = require("../../utils/style");
|
|
6
|
+
const Text_1 = require("../Text/Text");
|
|
7
|
+
const FormatedValue_1 = require("./FormatedValue");
|
|
8
|
+
const CalculatorValueStyle = 'flex justify-between @xl:flex-col';
|
|
9
|
+
exports.CalculatorValue = (0, uni_jsx_1.JSX)(({ className, title, value, color = 'text-secondary-text', ...rest }) => ((0, jsx_runtime_1.jsxs)("div", { className: (0, style_1.style)(CalculatorValueStyle, className), children: [title ? ((0, jsx_runtime_1.jsx)(Text_1.Text, { size: "text-l", font: "font-light", color: color, children: title })) : null, value ? (0, jsx_runtime_1.jsx)(FormatedValue_1.FormatValue, { value: value, ...rest }) : (0, jsx_runtime_1.jsx)(Text_1.Text, { size: "text-h3", children: "-" })] })));
|
|
10
|
+
//# sourceMappingURL=CalculatorValue.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CalculatorValue.js","sourceRoot":"","sources":["../../../src/ui-kit/Calculator/CalculatorValue.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,6CAA0C;AAC1C,uCAAoC;AAEpC,mDAA8C;AAE9C,MAAM,oBAAoB,GAAG,mCAAmC,CAAC;AAEpD,QAAA,eAAe,GAAG,IAAA,aAAG,EAChC,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,GAAG,qBAAqB,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CACvE,iCAAK,SAAS,EAAE,IAAA,aAAK,EAAC,oBAAoB,EAAE,SAAS,CAAC,aACnD,KAAK,CAAC,CAAC,CAAC,CACP,uBAAC,WAAI,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,uBAAC,2BAAW,IAAC,KAAK,EAAE,KAAK,KAAM,IAAI,GAAI,CAAC,CAAC,CAAC,uBAAC,WAAI,IAAC,IAAI,EAAC,SAAS,kBAAS,IAC5E,CACP,CACF,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
+
exports.FormatValue = void 0;
|
|
3
|
+
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
+
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
+
const toLocalNumberFormat_1 = require("../../utils/toLocalNumberFormat");
|
|
6
|
+
const Text_1 = require("../Text/Text");
|
|
7
|
+
exports.FormatValue = (0, uni_jsx_1.JSX)(({ value, fractionDigits, fixed, prefix, postfix }) => ((0, jsx_runtime_1.jsx)(Text_1.Text, { size: "text-h3", children: typeof value === 'number'
|
|
8
|
+
? [prefix, (0, toLocalNumberFormat_1.toLocalNumberFormat)(fractionDigits, { fixed })(value), postfix]
|
|
9
|
+
.filter(Boolean)
|
|
10
|
+
.join(' ')
|
|
11
|
+
: value })));
|
|
12
|
+
//# sourceMappingURL=FormatedValue.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormatedValue.js","sourceRoot":"","sources":["../../../src/ui-kit/Calculator/FormatedValue.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,yEAAsE;AACtE,uCAAoC;AAGvB,QAAA,WAAW,GAAG,IAAA,aAAG,EAC5B,CAAC,EAAE,KAAK,EAAE,cAAc,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,CACrD,uBAAC,WAAI,IAAC,IAAI,EAAC,SAAS,YACjB,OAAO,KAAK,KAAK,QAAQ;QACxB,CAAC,CAAC,CAAC,MAAM,EAAE,IAAA,yCAAmB,EAAC,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,9 +1,9 @@
|
|
|
1
1
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
2
|
exports.renderRate = void 0;
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
-
const
|
|
4
|
+
const CalculatorValue_1 = require("./CalculatorValue");
|
|
5
5
|
const Rate_1 = require("./Rate");
|
|
6
6
|
const UnknownRate_1 = require("./UnknownRate");
|
|
7
|
-
const renderRate = ({ title = 'Ставка', rate = 0, unit = '%', fractionDigits = 2, isUnknownRateShown = true, color = 'text-secondary-text', children, ...rest }) => isUnknownRateShown && rate === 0 ? ((0, jsx_runtime_1.jsx)(UnknownRate_1.UnknownRate, { title: title, ...rest })) : ((0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col", children: [(0, jsx_runtime_1.jsx)("div", { className: "hidden @xl:block min-w-96", children: (0, jsx_runtime_1.jsx)(Rate_1.Rate, { title: title, rate: rate, unit: unit, fractionDigits: fractionDigits, color: color, ...rest }) }), (0, jsx_runtime_1.jsx)(
|
|
7
|
+
const renderRate = ({ title = 'Ставка', rate = 0, unit = '%', fractionDigits = 2, isUnknownRateShown = true, color = 'text-secondary-text', children, ...rest }) => isUnknownRateShown && rate === 0 ? ((0, jsx_runtime_1.jsx)(UnknownRate_1.UnknownRate, { title: title, ...rest })) : ((0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col", children: [(0, jsx_runtime_1.jsx)("div", { className: "hidden @xl:block min-w-96", children: (0, jsx_runtime_1.jsx)(Rate_1.Rate, { title: title, rate: rate, unit: unit, fractionDigits: fractionDigits, color: color, ...rest }) }), (0, jsx_runtime_1.jsx)(CalculatorValue_1.CalculatorValue, { className: "@xl:hidden", title: title, value: rate, postfix: unit, fractionDigits: fractionDigits, fixed: true, color: color, ...rest }), children] }));
|
|
8
8
|
exports.renderRate = renderRate;
|
|
9
9
|
//# sourceMappingURL=renderRate.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderRate.js","sourceRoot":"","sources":["../../../src/ui-kit/Calculator/renderRate.tsx"],"names":[],"mappings":";;;AACA,
|
|
1
|
+
{"version":3,"file":"renderRate.js","sourceRoot":"","sources":["../../../src/ui-kit/Calculator/renderRate.tsx"],"names":[],"mappings":";;;AACA,uDAAoD;AACpD,iCAA8C;AAC9C,+CAAmE;AAO5D,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,uBAAC,yBAAW,IAAC,KAAK,EAAE,KAAK,KAAM,IAAI,GAAI,CACxC,CAAC,CAAC,CAAC,CACF,iCAAK,SAAS,EAAC,eAAe,aAC5B,gCAAK,SAAS,EAAC,2BAA2B,YACxC,uBAAC,WAAI,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,uBAAC,iCAAe,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;AApCS,QAAA,UAAU,cAoCnB"}
|
|
@@ -30,8 +30,8 @@ exports.Select = (0, uni_jsx_1.JSX)(
|
|
|
30
30
|
onClose: handleClose,
|
|
31
31
|
iconVersion,
|
|
32
32
|
});
|
|
33
|
-
return ((0, jsx_runtime_1.jsxs)("div", { className: (0, style_1.style)('space-y-xs', className), children: [(0, renderLabel_1.renderLabel)(label), (0, jsx_runtime_1.jsxs)("div", { className: (0, style_1.style)('relative', hasOpen ? 'z-20' : 'z-10'), ref: inputRef, children: [(0, jsx_runtime_1.jsxs)("div", { className: (0, style_1.style)('h-14 [&>*]:p-m pr-
|
|
33
|
+
return ((0, jsx_runtime_1.jsxs)("div", { className: (0, style_1.style)('space-y-xs', className), children: [(0, renderLabel_1.renderLabel)(label), (0, jsx_runtime_1.jsxs)("div", { className: (0, style_1.style)('relative', hasOpen ? 'z-20' : 'z-10'), ref: inputRef, children: [(0, jsx_runtime_1.jsxs)("div", { className: (0, style_1.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: [(0, jsx_runtime_1.jsx)("p", { className: "line-clamp-2 text-ellipsis", children: (0, formatOption_1.formatOption)(value) || placeholder }), renderIcon(hasOpen, iconVersion)] }), isSearch && hasOpen ? ((0, jsx_runtime_1.jsx)("div", { className: (0, style_1.style)('absolute top-0 w-full z-20'), children: (0, jsx_runtime_1.jsx)(Input_1.Input, { type: "text", autoFocus: true, value: query, onChange: setQuery }) })) : null] })] }));
|
|
34
34
|
});
|
|
35
|
-
const renderIcon = (isOpen, iconVersion) => ((0, jsx_runtime_1.jsx)(Icon_1.Icon, { className: (0, style_1.style)('absolute right-
|
|
35
|
+
const renderIcon = (isOpen, iconVersion) => ((0, jsx_runtime_1.jsx)(Icon_1.Icon, { className: (0, style_1.style)('absolute right-0 flex self-center', { 'rotate-180': !isOpen }), iconVersion: iconVersion, name: "ArrowUpIcon", width: "16", height: "16" }));
|
|
36
36
|
const getStyle = (isBorder, valid, disabled) => (0, style_1.style)(isBorder ? 'border rounded-md ' : '', isBorder && !disabled ? 'hover:border-primary-hover' : '', disabled ? 'bg-main-divider' : 'cursor-pointer ', valid ? 'border-gray' : 'border-error');
|
|
37
37
|
//# 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;
|