@redneckz/wildless-cms-uni-blocks 0.14.778 → 0.14.787
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 +179 -122
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +2 -1
- package/bundle/components/ApplicationLeadForm/useApplicationLeadApi.d.ts +3 -2
- package/bundle/components/CalculatorDeposit/CalculatorDeposit.d.ts +1 -2
- package/bundle/components/CalculatorDeposit/CalculatorDepositContent.d.ts +31 -1
- package/bundle/components/CalculatorDeposit/getDepositCalculatorParams.d.ts +1 -27
- package/bundle/components/CalculatorDeposit/normalize.d.ts +2 -3
- package/bundle/components/CalculatorDeposit/renderDepositParamsForm.d.ts +3 -3
- package/bundle/components/CalculatorDeposit/renderRegistrationType.d.ts +1 -1
- package/bundle/retail/components/Fields/AddressCourierField.d.ts +9 -0
- package/bundle/retail/inputs.d.ts +77 -76
- package/bundle/retail/model/LeadFormState.d.ts +2 -2
- package/bundle/ui-kit/Calculator/getDefaultParams.d.ts +11 -2
- package/bundle/ui-kit/Calculator/renderBinaryRadioButtonGroup.d.ts +1 -2
- package/bundle/ui-kit/Calculator/setDefaultParamsCalc.d.ts +1 -1
- package/dist/components/ApplicationLeadForm/ApplicationLeadForm.js +2 -1
- package/dist/components/ApplicationLeadForm/ApplicationLeadForm.js.map +1 -1
- package/dist/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +2 -1
- package/dist/components/ApplicationLeadForm/useApplicationLeadApi.d.ts +3 -2
- package/dist/components/ApplicationLeadForm/useApplicationLeadApi.js +10 -1
- package/dist/components/ApplicationLeadForm/useApplicationLeadApi.js.map +1 -1
- package/dist/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.js +0 -3
- package/dist/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.js.map +1 -1
- package/dist/components/CalculatorCredit/CalculatorCredit.js +0 -2
- package/dist/components/CalculatorCredit/CalculatorCredit.js.map +1 -1
- package/dist/components/CalculatorDeposit/CalculatorDeposit.d.ts +1 -2
- package/dist/components/CalculatorDeposit/CalculatorDeposit.js +16 -7
- package/dist/components/CalculatorDeposit/CalculatorDeposit.js.map +1 -1
- package/dist/components/CalculatorDeposit/CalculatorDepositContent.d.ts +31 -1
- package/dist/components/CalculatorDeposit/getDepositCalculatorParams.d.ts +1 -27
- package/dist/components/CalculatorDeposit/getDepositCalculatorParams.js.map +1 -1
- package/dist/components/CalculatorDeposit/normalize.d.ts +2 -3
- package/dist/components/CalculatorDeposit/normalize.js.map +1 -1
- package/dist/components/CalculatorDeposit/renderDepositParamsForm.d.ts +3 -3
- package/dist/components/CalculatorDeposit/renderDepositParamsForm.js +30 -41
- package/dist/components/CalculatorDeposit/renderDepositParamsForm.js.map +1 -1
- package/dist/components/CalculatorDeposit/renderRegistrationType.d.ts +1 -1
- package/dist/components/CalculatorDeposit/renderRegistrationType.js +11 -7
- package/dist/components/CalculatorDeposit/renderRegistrationType.js.map +1 -1
- package/dist/components/CalculatorRefinancing/CalculatorRefinancing.js +1 -4
- package/dist/components/CalculatorRefinancing/CalculatorRefinancing.js.map +1 -1
- package/dist/components/Header/useChatBot.js +2 -1
- package/dist/components/Header/useChatBot.js.map +1 -1
- package/dist/retail/adaptors/getFamilyStatusAndIncomeData.js +1 -1
- package/dist/retail/adaptors/getFamilyStatusAndIncomeData.js.map +1 -1
- package/dist/retail/components/DocumentDialog/DocumentDialog.js +1 -1
- package/dist/retail/components/DocumentDialog/DocumentDialog.js.map +1 -1
- package/dist/retail/components/EsiaLoginDialog/EsiaLoginDialog.js +1 -1
- package/dist/retail/components/EsiaLoginDialog/EsiaLoginDialog.js.map +1 -1
- package/dist/retail/components/Fields/AddressCourierField.d.ts +9 -0
- package/dist/retail/components/Fields/AddressCourierField.js +50 -0
- package/dist/retail/components/Fields/AddressCourierField.js.map +1 -0
- package/dist/retail/inputs.d.ts +77 -76
- package/dist/retail/inputs.js +6 -1
- package/dist/retail/inputs.js.map +1 -1
- package/dist/retail/model/LeadFormState.d.ts +2 -2
- package/dist/ui-kit/Calculator/getDefaultParams.d.ts +11 -2
- package/dist/ui-kit/Calculator/getDefaultParams.js +7 -1
- package/dist/ui-kit/Calculator/getDefaultParams.js.map +1 -1
- package/dist/ui-kit/Calculator/renderBinaryRadioButtonGroup.d.ts +1 -2
- package/dist/ui-kit/Calculator/renderBinaryRadioButtonGroup.js +1 -1
- package/dist/ui-kit/Calculator/renderBinaryRadioButtonGroup.js.map +1 -1
- package/dist/ui-kit/Calculator/renderPaymentType.js +2 -0
- package/dist/ui-kit/Calculator/renderPaymentType.js.map +1 -1
- package/dist/ui-kit/Calculator/renderPayout.js +2 -0
- package/dist/ui-kit/Calculator/renderPayout.js.map +1 -1
- package/dist/ui-kit/Calculator/setDefaultParamsCalc.d.ts +1 -1
- package/lib/common.css +1 -1
- package/lib/components/ApplicationLeadForm/ApplicationLeadForm.js +2 -1
- package/lib/components/ApplicationLeadForm/ApplicationLeadForm.js.map +1 -1
- package/lib/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +2 -1
- package/lib/components/ApplicationLeadForm/useApplicationLeadApi.d.ts +3 -2
- package/lib/components/ApplicationLeadForm/useApplicationLeadApi.js +10 -1
- package/lib/components/ApplicationLeadForm/useApplicationLeadApi.js.map +1 -1
- package/lib/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.js +0 -3
- package/lib/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.js.map +1 -1
- package/lib/components/CalculatorCredit/CalculatorCredit.js +0 -2
- package/lib/components/CalculatorCredit/CalculatorCredit.js.map +1 -1
- package/lib/components/CalculatorDeposit/CalculatorDeposit.d.ts +1 -2
- package/lib/components/CalculatorDeposit/CalculatorDeposit.fixture.d.ts +1 -0
- package/lib/components/CalculatorDeposit/CalculatorDeposit.js +17 -8
- package/lib/components/CalculatorDeposit/CalculatorDeposit.js.map +1 -1
- package/lib/components/CalculatorDeposit/CalculatorDepositContent.d.ts +31 -1
- package/lib/components/CalculatorDeposit/getDepositCalculatorParams.d.ts +1 -27
- package/lib/components/CalculatorDeposit/getDepositCalculatorParams.js.map +1 -1
- package/lib/components/CalculatorDeposit/normalize.d.ts +2 -3
- package/lib/components/CalculatorDeposit/normalize.js.map +1 -1
- package/lib/components/CalculatorDeposit/renderDepositParamsForm.d.ts +3 -3
- package/lib/components/CalculatorDeposit/renderDepositParamsForm.js +32 -43
- package/lib/components/CalculatorDeposit/renderDepositParamsForm.js.map +1 -1
- package/lib/components/CalculatorDeposit/renderRegistrationType.d.ts +1 -1
- package/lib/components/CalculatorDeposit/renderRegistrationType.js +11 -7
- package/lib/components/CalculatorDeposit/renderRegistrationType.js.map +1 -1
- package/lib/components/CalculatorRefinancing/CalculatorRefinancing.js +1 -4
- package/lib/components/CalculatorRefinancing/CalculatorRefinancing.js.map +1 -1
- package/lib/components/Header/useChatBot.js +2 -1
- package/lib/components/Header/useChatBot.js.map +1 -1
- package/lib/retail/adaptors/getFamilyStatusAndIncomeData.js +1 -1
- package/lib/retail/adaptors/getFamilyStatusAndIncomeData.js.map +1 -1
- package/lib/retail/components/DocumentDialog/DocumentDialog.js +1 -1
- package/lib/retail/components/DocumentDialog/DocumentDialog.js.map +1 -1
- package/lib/retail/components/EsiaLoginDialog/EsiaLoginDialog.js +1 -1
- package/lib/retail/components/EsiaLoginDialog/EsiaLoginDialog.js.map +1 -1
- package/lib/retail/components/Fields/AddressCourierField.d.ts +9 -0
- package/lib/retail/components/Fields/AddressCourierField.js +48 -0
- package/lib/retail/components/Fields/AddressCourierField.js.map +1 -0
- package/lib/retail/inputs.d.ts +77 -76
- package/lib/retail/inputs.js +6 -1
- package/lib/retail/inputs.js.map +1 -1
- package/lib/retail/model/LeadFormState.d.ts +2 -2
- package/lib/ui-kit/Calculator/getDefaultParams.d.ts +11 -2
- package/lib/ui-kit/Calculator/getDefaultParams.js +7 -1
- package/lib/ui-kit/Calculator/getDefaultParams.js.map +1 -1
- package/lib/ui-kit/Calculator/renderBinaryRadioButtonGroup.d.ts +1 -2
- package/lib/ui-kit/Calculator/renderBinaryRadioButtonGroup.js +1 -1
- package/lib/ui-kit/Calculator/renderBinaryRadioButtonGroup.js.map +1 -1
- package/lib/ui-kit/Calculator/renderPaymentType.js +2 -0
- package/lib/ui-kit/Calculator/renderPaymentType.js.map +1 -1
- package/lib/ui-kit/Calculator/renderPayout.js +2 -0
- package/lib/ui-kit/Calculator/renderPayout.js.map +1 -1
- package/lib/ui-kit/Calculator/setDefaultParamsCalc.d.ts +1 -1
- package/mobile/bundle/bundle.umd.js +177 -121
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +2 -1
- package/mobile/bundle/components/ApplicationLeadForm/useApplicationLeadApi.d.ts +3 -2
- package/mobile/bundle/components/CalculatorDeposit/CalculatorDeposit.d.ts +1 -2
- package/mobile/bundle/components/CalculatorDeposit/CalculatorDepositContent.d.ts +31 -1
- package/mobile/bundle/components/CalculatorDeposit/getDepositCalculatorParams.d.ts +1 -27
- package/mobile/bundle/components/CalculatorDeposit/normalize.d.ts +2 -3
- package/mobile/bundle/components/CalculatorDeposit/renderDepositParamsForm.d.ts +3 -3
- package/mobile/bundle/components/CalculatorDeposit/renderRegistrationType.d.ts +1 -1
- package/mobile/bundle/retail/components/Fields/AddressCourierField.d.ts +9 -0
- package/mobile/bundle/retail/inputs.d.ts +77 -76
- package/mobile/bundle/retail/model/LeadFormState.d.ts +2 -2
- package/mobile/bundle/ui-kit/Calculator/getDefaultParams.d.ts +11 -2
- package/mobile/bundle/ui-kit/Calculator/renderBinaryRadioButtonGroup.d.ts +1 -2
- package/mobile/bundle/ui-kit/Calculator/setDefaultParamsCalc.d.ts +1 -1
- package/mobile/dist/components/ApplicationLeadForm/ApplicationLeadForm.js +2 -1
- package/mobile/dist/components/ApplicationLeadForm/ApplicationLeadForm.js.map +1 -1
- package/mobile/dist/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +2 -1
- package/mobile/dist/components/ApplicationLeadForm/useApplicationLeadApi.d.ts +3 -2
- package/mobile/dist/components/ApplicationLeadForm/useApplicationLeadApi.js +10 -1
- package/mobile/dist/components/ApplicationLeadForm/useApplicationLeadApi.js.map +1 -1
- package/mobile/dist/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.js +0 -3
- package/mobile/dist/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.js.map +1 -1
- package/mobile/dist/components/CalculatorCredit/CalculatorCredit.js +0 -2
- package/mobile/dist/components/CalculatorCredit/CalculatorCredit.js.map +1 -1
- package/mobile/dist/components/CalculatorDeposit/CalculatorDeposit.d.ts +1 -2
- package/mobile/dist/components/CalculatorDeposit/CalculatorDeposit.js +16 -7
- package/mobile/dist/components/CalculatorDeposit/CalculatorDeposit.js.map +1 -1
- package/mobile/dist/components/CalculatorDeposit/CalculatorDepositContent.d.ts +31 -1
- package/mobile/dist/components/CalculatorDeposit/getDepositCalculatorParams.d.ts +1 -27
- package/mobile/dist/components/CalculatorDeposit/getDepositCalculatorParams.js.map +1 -1
- package/mobile/dist/components/CalculatorDeposit/normalize.d.ts +2 -3
- package/mobile/dist/components/CalculatorDeposit/normalize.js.map +1 -1
- package/mobile/dist/components/CalculatorDeposit/renderDepositParamsForm.d.ts +3 -3
- package/mobile/dist/components/CalculatorDeposit/renderDepositParamsForm.js +30 -41
- package/mobile/dist/components/CalculatorDeposit/renderDepositParamsForm.js.map +1 -1
- package/mobile/dist/components/CalculatorDeposit/renderRegistrationType.d.ts +1 -1
- package/mobile/dist/components/CalculatorDeposit/renderRegistrationType.js +11 -7
- package/mobile/dist/components/CalculatorDeposit/renderRegistrationType.js.map +1 -1
- package/mobile/dist/components/CalculatorRefinancing/CalculatorRefinancing.js +1 -4
- package/mobile/dist/components/CalculatorRefinancing/CalculatorRefinancing.js.map +1 -1
- package/mobile/dist/components/Header/useChatBot.js +2 -1
- package/mobile/dist/components/Header/useChatBot.js.map +1 -1
- package/mobile/dist/retail/adaptors/getFamilyStatusAndIncomeData.js +1 -1
- package/mobile/dist/retail/adaptors/getFamilyStatusAndIncomeData.js.map +1 -1
- package/mobile/dist/retail/components/DocumentDialog/DocumentDialog.js +1 -1
- package/mobile/dist/retail/components/DocumentDialog/DocumentDialog.js.map +1 -1
- package/mobile/dist/retail/components/EsiaLoginDialog/EsiaLoginDialog.js +1 -1
- package/mobile/dist/retail/components/EsiaLoginDialog/EsiaLoginDialog.js.map +1 -1
- package/mobile/dist/retail/components/Fields/AddressCourierField.d.ts +9 -0
- package/mobile/dist/retail/components/Fields/AddressCourierField.js +50 -0
- package/mobile/dist/retail/components/Fields/AddressCourierField.js.map +1 -0
- package/mobile/dist/retail/inputs.d.ts +77 -76
- package/mobile/dist/retail/inputs.js +6 -1
- package/mobile/dist/retail/inputs.js.map +1 -1
- package/mobile/dist/retail/model/LeadFormState.d.ts +2 -2
- package/mobile/dist/ui-kit/Calculator/getDefaultParams.d.ts +11 -2
- package/mobile/dist/ui-kit/Calculator/getDefaultParams.js +7 -1
- package/mobile/dist/ui-kit/Calculator/getDefaultParams.js.map +1 -1
- package/mobile/dist/ui-kit/Calculator/renderBinaryRadioButtonGroup.d.ts +1 -2
- package/mobile/dist/ui-kit/Calculator/renderBinaryRadioButtonGroup.js +1 -1
- package/mobile/dist/ui-kit/Calculator/renderBinaryRadioButtonGroup.js.map +1 -1
- package/mobile/dist/ui-kit/Calculator/renderPaymentType.js +2 -0
- package/mobile/dist/ui-kit/Calculator/renderPaymentType.js.map +1 -1
- package/mobile/dist/ui-kit/Calculator/renderPayout.js +2 -0
- package/mobile/dist/ui-kit/Calculator/renderPayout.js.map +1 -1
- package/mobile/dist/ui-kit/Calculator/setDefaultParamsCalc.d.ts +1 -1
- package/mobile/lib/common.css +1 -1
- package/mobile/lib/components/ApplicationLeadForm/ApplicationLeadForm.js +2 -1
- package/mobile/lib/components/ApplicationLeadForm/ApplicationLeadForm.js.map +1 -1
- package/mobile/lib/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +2 -1
- package/mobile/lib/components/ApplicationLeadForm/useApplicationLeadApi.d.ts +3 -2
- package/mobile/lib/components/ApplicationLeadForm/useApplicationLeadApi.js +10 -1
- package/mobile/lib/components/ApplicationLeadForm/useApplicationLeadApi.js.map +1 -1
- package/mobile/lib/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.js +0 -3
- package/mobile/lib/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.js.map +1 -1
- package/mobile/lib/components/CalculatorCredit/CalculatorCredit.js +0 -2
- package/mobile/lib/components/CalculatorCredit/CalculatorCredit.js.map +1 -1
- package/mobile/lib/components/CalculatorDeposit/CalculatorDeposit.d.ts +1 -2
- package/mobile/lib/components/CalculatorDeposit/CalculatorDeposit.js +17 -8
- package/mobile/lib/components/CalculatorDeposit/CalculatorDeposit.js.map +1 -1
- package/mobile/lib/components/CalculatorDeposit/CalculatorDepositContent.d.ts +31 -1
- package/mobile/lib/components/CalculatorDeposit/getDepositCalculatorParams.d.ts +1 -27
- package/mobile/lib/components/CalculatorDeposit/getDepositCalculatorParams.js.map +1 -1
- package/mobile/lib/components/CalculatorDeposit/normalize.d.ts +2 -3
- package/mobile/lib/components/CalculatorDeposit/normalize.js.map +1 -1
- package/mobile/lib/components/CalculatorDeposit/renderDepositParamsForm.d.ts +3 -3
- package/mobile/lib/components/CalculatorDeposit/renderDepositParamsForm.js +32 -43
- package/mobile/lib/components/CalculatorDeposit/renderDepositParamsForm.js.map +1 -1
- package/mobile/lib/components/CalculatorDeposit/renderRegistrationType.d.ts +1 -1
- package/mobile/lib/components/CalculatorDeposit/renderRegistrationType.js +11 -7
- package/mobile/lib/components/CalculatorDeposit/renderRegistrationType.js.map +1 -1
- package/mobile/lib/components/CalculatorRefinancing/CalculatorRefinancing.js +1 -4
- package/mobile/lib/components/CalculatorRefinancing/CalculatorRefinancing.js.map +1 -1
- package/mobile/lib/components/Header/useChatBot.js +2 -1
- package/mobile/lib/components/Header/useChatBot.js.map +1 -1
- package/mobile/lib/retail/adaptors/getFamilyStatusAndIncomeData.js +1 -1
- package/mobile/lib/retail/adaptors/getFamilyStatusAndIncomeData.js.map +1 -1
- package/mobile/lib/retail/components/DocumentDialog/DocumentDialog.js +1 -1
- package/mobile/lib/retail/components/DocumentDialog/DocumentDialog.js.map +1 -1
- package/mobile/lib/retail/components/EsiaLoginDialog/EsiaLoginDialog.js +1 -1
- package/mobile/lib/retail/components/EsiaLoginDialog/EsiaLoginDialog.js.map +1 -1
- package/mobile/lib/retail/components/Fields/AddressCourierField.d.ts +9 -0
- package/mobile/lib/retail/components/Fields/AddressCourierField.js +48 -0
- package/mobile/lib/retail/components/Fields/AddressCourierField.js.map +1 -0
- package/mobile/lib/retail/inputs.d.ts +77 -76
- package/mobile/lib/retail/inputs.js +6 -1
- package/mobile/lib/retail/inputs.js.map +1 -1
- package/mobile/lib/retail/model/LeadFormState.d.ts +2 -2
- package/mobile/lib/ui-kit/Calculator/getDefaultParams.d.ts +11 -2
- package/mobile/lib/ui-kit/Calculator/getDefaultParams.js +7 -1
- package/mobile/lib/ui-kit/Calculator/getDefaultParams.js.map +1 -1
- package/mobile/lib/ui-kit/Calculator/renderBinaryRadioButtonGroup.d.ts +1 -2
- package/mobile/lib/ui-kit/Calculator/renderBinaryRadioButtonGroup.js +1 -1
- package/mobile/lib/ui-kit/Calculator/renderBinaryRadioButtonGroup.js.map +1 -1
- package/mobile/lib/ui-kit/Calculator/renderPaymentType.js +2 -0
- package/mobile/lib/ui-kit/Calculator/renderPaymentType.js.map +1 -1
- package/mobile/lib/ui-kit/Calculator/renderPayout.js +2 -0
- package/mobile/lib/ui-kit/Calculator/renderPayout.js.map +1 -1
- package/mobile/lib/ui-kit/Calculator/setDefaultParamsCalc.d.ts +1 -1
- package/mobile/src/components/ApplicationLeadForm/ApplicationLeadForm.tsx +2 -0
- package/mobile/src/components/ApplicationLeadForm/ApplicationLeadFormContent.ts +2 -0
- package/mobile/src/components/ApplicationLeadForm/useApplicationLeadApi.tsx +13 -1
- package/mobile/src/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.tsx +0 -3
- package/mobile/src/components/CalculatorCredit/CalculatorCredit.tsx +0 -2
- package/mobile/src/components/CalculatorDeposit/CalculatorDeposit.tsx +38 -15
- package/mobile/src/components/CalculatorDeposit/CalculatorDepositContent.ts +41 -0
- package/mobile/src/components/CalculatorDeposit/getDepositCalculatorParams.ts +3 -39
- package/mobile/src/components/CalculatorDeposit/normalize.tsx +1 -2
- package/mobile/src/components/CalculatorDeposit/renderDepositParamsForm.tsx +65 -52
- package/mobile/src/components/CalculatorDeposit/renderRegistrationType.tsx +15 -8
- package/mobile/src/components/CalculatorRefinancing/CalculatorRefinancing.tsx +1 -4
- package/mobile/src/components/Header/useChatBot.ts +3 -2
- package/mobile/src/retail/adaptors/getFamilyStatusAndIncomeData.ts +1 -1
- package/mobile/src/retail/components/DocumentDialog/DocumentDialog.tsx +1 -1
- package/mobile/src/retail/components/EsiaLoginDialog/EsiaLoginDialog.tsx +8 -3
- package/mobile/src/retail/components/Fields/AddressCourierField.tsx +74 -0
- package/mobile/src/retail/inputs.tsx +10 -1
- package/mobile/src/retail/model/LeadFormState.ts +2 -2
- package/mobile/src/ui-kit/Calculator/getDefaultParams.tsx +13 -6
- package/mobile/src/ui-kit/Calculator/renderBinaryRadioButtonGroup.tsx +2 -11
- package/mobile/src/ui-kit/Calculator/renderPaymentType.tsx +2 -0
- package/mobile/src/ui-kit/Calculator/renderPayout.tsx +2 -0
- package/mobile/src/ui-kit/Calculator/setDefaultParamsCalc.tsx +1 -1
- package/package.json +1 -1
- package/src/components/ApplicationLeadForm/ApplicationLeadForm.tsx +2 -0
- package/src/components/ApplicationLeadForm/ApplicationLeadFormContent.ts +2 -0
- package/src/components/ApplicationLeadForm/useApplicationLeadApi.tsx +13 -1
- package/src/components/CalculatorBusinessDeposit/CalculatorBusinessDeposit.tsx +0 -3
- package/src/components/CalculatorCredit/CalculatorCredit.tsx +0 -2
- package/src/components/CalculatorDeposit/CalculatorDeposit.fixture.tsx +12 -0
- package/src/components/CalculatorDeposit/CalculatorDeposit.tsx +38 -15
- package/src/components/CalculatorDeposit/CalculatorDepositContent.ts +41 -0
- package/src/components/CalculatorDeposit/getDepositCalculatorParams.ts +3 -39
- package/src/components/CalculatorDeposit/normalize.tsx +1 -2
- package/src/components/CalculatorDeposit/renderDepositParamsForm.tsx +65 -52
- package/src/components/CalculatorDeposit/renderRegistrationType.tsx +15 -8
- package/src/components/CalculatorRefinancing/CalculatorRefinancing.tsx +1 -4
- package/src/components/Header/useChatBot.ts +3 -2
- package/src/retail/adaptors/getFamilyStatusAndIncomeData.ts +1 -1
- package/src/retail/components/DocumentDialog/DocumentDialog.tsx +1 -1
- package/src/retail/components/EsiaLoginDialog/EsiaLoginDialog.tsx +8 -3
- package/src/retail/components/Fields/AddressCourierField.tsx +74 -0
- package/src/retail/inputs.tsx +10 -1
- package/src/retail/model/LeadFormState.ts +2 -2
- package/src/ui-kit/Calculator/getDefaultParams.tsx +13 -6
- package/src/ui-kit/Calculator/renderBinaryRadioButtonGroup.tsx +2 -11
- package/src/ui-kit/Calculator/renderPaymentType.tsx +2 -0
- package/src/ui-kit/Calculator/renderPayout.tsx +2 -0
- package/src/ui-kit/Calculator/setDefaultParamsCalc.tsx +1 -1
package/dist/retail/inputs.d.ts
CHANGED
|
@@ -1,84 +1,85 @@
|
|
|
1
|
+
import { type CustomFieldProps } from '../ui-kit/FormField/CustomFieldProps';
|
|
1
2
|
export declare const InputsApplicationLeadMap: {
|
|
2
|
-
limitedBirthday: import("@redneckz/uni-jsx").UNIComponent<
|
|
3
|
-
name: import("@redneckz/uni-jsx").UNIComponent<
|
|
4
|
-
surname: import("@redneckz/uni-jsx").UNIComponent<
|
|
5
|
-
middleName: import("@redneckz/uni-jsx").UNIComponent<
|
|
6
|
-
email: import("@redneckz/uni-jsx").UNIComponent<
|
|
3
|
+
limitedBirthday: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
|
|
4
|
+
name: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
|
|
5
|
+
surname: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
|
|
6
|
+
middleName: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
|
|
7
|
+
email: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
|
|
7
8
|
};
|
|
8
9
|
export declare const InputsConsentsMap: {
|
|
9
|
-
processPersonalDataFlg: import("@redneckz/uni-jsx").UNIComponent<
|
|
10
|
-
consentProviderFlg: import("@redneckz/uni-jsx").UNIComponent<
|
|
11
|
-
consentOthersFlg: import("@redneckz/uni-jsx").UNIComponent<
|
|
12
|
-
consentInformFlg: import("@redneckz/uni-jsx").UNIComponent<
|
|
13
|
-
consentPfrFlg: import("@redneckz/uni-jsx").UNIComponent<
|
|
14
|
-
consentInformMaterialsFlg: import("@redneckz/uni-jsx").UNIComponent<
|
|
15
|
-
consentPhotoFlg: import("@redneckz/uni-jsx").UNIComponent<
|
|
16
|
-
consentFATCA: import("@redneckz/uni-jsx").UNIComponent<
|
|
10
|
+
processPersonalDataFlg: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
|
|
11
|
+
consentProviderFlg: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
|
|
12
|
+
consentOthersFlg: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
|
|
13
|
+
consentInformFlg: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
|
|
14
|
+
consentPfrFlg: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
|
|
15
|
+
consentInformMaterialsFlg: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
|
|
16
|
+
consentPhotoFlg: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
|
|
17
|
+
consentFATCA: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
|
|
17
18
|
};
|
|
18
19
|
export declare const InputsRetailMap: {
|
|
19
|
-
organization: import("@redneckz/uni-jsx").UNIComponent<
|
|
20
|
-
organizationAddress: import("@redneckz/uni-jsx").UNIComponent<
|
|
21
|
-
organizationPhone: import("@redneckz/uni-jsx").UNIComponent<
|
|
22
|
-
organizationName: import("@redneckz/uni-jsx").UNIComponent<
|
|
23
|
-
legalForm: import("@redneckz/uni-jsx").UNIComponent<
|
|
24
|
-
generalSeniority: import("@redneckz/uni-jsx").UNIComponent<
|
|
25
|
-
lastJobExperience: import("@redneckz/uni-jsx").UNIComponent<
|
|
26
|
-
experience5Years: import("@redneckz/uni-jsx").UNIComponent<
|
|
27
|
-
jobsNumber: import("@redneckz/uni-jsx").UNIComponent<
|
|
28
|
-
beginDate: import("@redneckz/uni-jsx").UNIComponent<
|
|
29
|
-
addressFact: import("@redneckz/uni-jsx").UNIComponent<
|
|
30
|
-
addressRegistration: import("@redneckz/uni-jsx").UNIComponent<
|
|
31
|
-
addressRetail: import("@redneckz/uni-jsx").UNIComponent<
|
|
32
|
-
addressMatch: import("@redneckz/uni-jsx").UNIComponent<
|
|
33
|
-
sex: import("@redneckz/uni-jsx").UNIComponent<
|
|
34
|
-
limitedBirthday: import("@redneckz/uni-jsx").UNIComponent<
|
|
35
|
-
birthPlace: import("@redneckz/uni-jsx").UNIComponent<
|
|
36
|
-
education: import("@redneckz/uni-jsx").UNIComponent<
|
|
37
|
-
housing: import("@redneckz/uni-jsx").UNIComponent<
|
|
38
|
-
amountWorkers: import("@redneckz/uni-jsx").UNIComponent<
|
|
39
|
-
employment: import("@redneckz/uni-jsx").UNIComponent<
|
|
40
|
-
employerActivities: import("@redneckz/uni-jsx").UNIComponent<
|
|
41
|
-
employerOrganization: import("@redneckz/uni-jsx").UNIComponent<
|
|
42
|
-
positionOrganization: import("@redneckz/uni-jsx").UNIComponent<
|
|
43
|
-
familyStatus: import("@redneckz/uni-jsx").UNIComponent<
|
|
44
|
-
familyMembers: import("@redneckz/uni-jsx").UNIComponent<
|
|
45
|
-
children: import("@redneckz/uni-jsx").UNIComponent<
|
|
46
|
-
dependents: import("@redneckz/uni-jsx").UNIComponent<
|
|
47
|
-
totalIncome: import("@redneckz/uni-jsx").UNIComponent<
|
|
48
|
-
expenses: import("@redneckz/uni-jsx").UNIComponent<
|
|
49
|
-
snils: import("@redneckz/uni-jsx").UNIComponent<
|
|
50
|
-
conscription: import("@redneckz/uni-jsx").UNIComponent<
|
|
51
|
-
armyIdFlg: import("@redneckz/uni-jsx").UNIComponent<
|
|
52
|
-
dulSerie: import("@redneckz/uni-jsx").UNIComponent<
|
|
53
|
-
dulNumber: import("@redneckz/uni-jsx").UNIComponent<
|
|
54
|
-
dulIssueDate: import("@redneckz/uni-jsx").UNIComponent<
|
|
55
|
-
dulSubdivisionCode: import("@redneckz/uni-jsx").UNIComponent<
|
|
56
|
-
dulIssuedBy: import("@redneckz/uni-jsx").UNIComponent<
|
|
57
|
-
participantDateRegistration: import("@redneckz/uni-jsx").UNIComponent<
|
|
58
|
-
retirementIncome: import("@redneckz/uni-jsx").UNIComponent<
|
|
59
|
-
otherIncome: import("@redneckz/uni-jsx").UNIComponent<
|
|
60
|
-
wages: import("@redneckz/uni-jsx").UNIComponent<
|
|
61
|
-
mandatoryPayments: import("@redneckz/uni-jsx").UNIComponent<
|
|
62
|
-
bankruptcyFlg: import("@redneckz/uni-jsx").UNIComponent<
|
|
63
|
-
shareholderFlg: import("@redneckz/uni-jsx").UNIComponent<
|
|
64
|
-
legalEntityName: import("@redneckz/uni-jsx").UNIComponent<
|
|
65
|
-
creditInRshbCd: import("@redneckz/uni-jsx").UNIComponent<
|
|
66
|
-
bankEmployeeCode: import("@redneckz/uni-jsx").UNIComponent<
|
|
67
|
-
partInBusiness: import("@redneckz/uni-jsx").UNIComponent<
|
|
68
|
-
regionRetail: import("@redneckz/uni-jsx").UNIComponent<
|
|
69
|
-
infoCard: import("@redneckz/uni-jsx").UNIComponent<
|
|
70
|
-
calculator: import("@redneckz/uni-jsx").UNIComponent<
|
|
71
|
-
confirmationIncome: import("@redneckz/uni-jsx").UNIComponent<
|
|
72
|
-
inn: import("@redneckz/uni-jsx").UNIComponent<
|
|
20
|
+
organization: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
|
|
21
|
+
organizationAddress: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
|
|
22
|
+
organizationPhone: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
|
|
23
|
+
organizationName: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
|
|
24
|
+
legalForm: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
|
|
25
|
+
generalSeniority: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
|
|
26
|
+
lastJobExperience: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
|
|
27
|
+
experience5Years: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
|
|
28
|
+
jobsNumber: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
|
|
29
|
+
beginDate: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
|
|
30
|
+
addressFact: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
|
|
31
|
+
addressRegistration: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
|
|
32
|
+
addressRetail: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
|
|
33
|
+
addressMatch: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
|
|
34
|
+
sex: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
|
|
35
|
+
limitedBirthday: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
|
|
36
|
+
birthPlace: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
|
|
37
|
+
education: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
|
|
38
|
+
housing: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
|
|
39
|
+
amountWorkers: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
|
|
40
|
+
employment: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
|
|
41
|
+
employerActivities: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
|
|
42
|
+
employerOrganization: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
|
|
43
|
+
positionOrganization: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
|
|
44
|
+
familyStatus: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
|
|
45
|
+
familyMembers: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
|
|
46
|
+
children: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
|
|
47
|
+
dependents: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
|
|
48
|
+
totalIncome: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
|
|
49
|
+
expenses: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
|
|
50
|
+
snils: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
|
|
51
|
+
conscription: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
|
|
52
|
+
armyIdFlg: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
|
|
53
|
+
dulSerie: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
|
|
54
|
+
dulNumber: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
|
|
55
|
+
dulIssueDate: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
|
|
56
|
+
dulSubdivisionCode: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
|
|
57
|
+
dulIssuedBy: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
|
|
58
|
+
participantDateRegistration: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
|
|
59
|
+
retirementIncome: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
|
|
60
|
+
otherIncome: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
|
|
61
|
+
wages: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
|
|
62
|
+
mandatoryPayments: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
|
|
63
|
+
bankruptcyFlg: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
|
|
64
|
+
shareholderFlg: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
|
|
65
|
+
legalEntityName: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
|
|
66
|
+
creditInRshbCd: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
|
|
67
|
+
bankEmployeeCode: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
|
|
68
|
+
partInBusiness: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
|
|
69
|
+
regionRetail: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
|
|
70
|
+
infoCard: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
|
|
71
|
+
calculator: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
|
|
72
|
+
confirmationIncome: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
|
|
73
|
+
inn: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
|
|
73
74
|
};
|
|
74
75
|
export declare const InputRetailCardMap: {
|
|
75
|
-
addressCourier:
|
|
76
|
-
paymentSystem: import("@redneckz/uni-jsx").UNIComponent<
|
|
77
|
-
currency: import("@redneckz/uni-jsx").UNIComponent<
|
|
78
|
-
cardCategory: import("@redneckz/uni-jsx").UNIComponent<
|
|
79
|
-
codeWord: import("@redneckz/uni-jsx").UNIComponent<
|
|
80
|
-
methodObtain: import("@redneckz/uni-jsx").UNIComponent<
|
|
81
|
-
deliveryDate: import("@redneckz/uni-jsx").UNIComponent<
|
|
82
|
-
latinName: import("@redneckz/uni-jsx").UNIComponent<
|
|
83
|
-
latinSurname: import("@redneckz/uni-jsx").UNIComponent<
|
|
76
|
+
addressCourier: (props: CustomFieldProps) => any;
|
|
77
|
+
paymentSystem: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
|
|
78
|
+
currency: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
|
|
79
|
+
cardCategory: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
|
|
80
|
+
codeWord: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
|
|
81
|
+
methodObtain: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
|
|
82
|
+
deliveryDate: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
|
|
83
|
+
latinName: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
|
|
84
|
+
latinSurname: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
|
|
84
85
|
};
|
package/dist/retail/inputs.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
2
|
exports.InputRetailCardMap = exports.InputsRetailMap = exports.InputsConsentsMap = exports.InputsApplicationLeadMap = void 0;
|
|
3
|
+
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
3
4
|
const PhoneField_1 = require("../ui-kit/FormField/Fields/PhoneField");
|
|
5
|
+
const AddressCourierField_1 = require("./components/Fields/AddressCourierField");
|
|
4
6
|
const AddressFactField_1 = require("./components/Fields/AddressFactField");
|
|
5
7
|
const AddressField_1 = require("./components/Fields/AddressField");
|
|
6
8
|
const AddressMatchField_1 = require("./components/Fields/AddressMatchField");
|
|
@@ -66,6 +68,9 @@ const SnilsField_1 = require("./components/Fields/SnilsField");
|
|
|
66
68
|
const SurnameField_1 = require("./components/Fields/SurnameField");
|
|
67
69
|
const TotalIncomeField_1 = require("./components/Fields/TotalIncomeField");
|
|
68
70
|
const WagesField_1 = require("./components/Fields/WagesField");
|
|
71
|
+
const DELIVERY_CITIES_REF = {
|
|
72
|
+
$ref: '/wcms-resources/delivery-cities-data.json',
|
|
73
|
+
};
|
|
69
74
|
exports.InputsApplicationLeadMap = {
|
|
70
75
|
limitedBirthday: LimitedBirthdayField_1.LimitedBirthdayField,
|
|
71
76
|
name: NameField_1.NameField,
|
|
@@ -140,7 +145,7 @@ exports.InputsRetailMap = {
|
|
|
140
145
|
inn: DaDataInnField_1.DaDataInnField,
|
|
141
146
|
};
|
|
142
147
|
exports.InputRetailCardMap = {
|
|
143
|
-
addressCourier:
|
|
148
|
+
addressCourier: (props) => ((0, jsx_runtime_1.jsx)(AddressCourierField_1.AddressCourierField, { ...props, source: DELIVERY_CITIES_REF })),
|
|
144
149
|
paymentSystem: PaymentSystemField_1.PaymentSystemField,
|
|
145
150
|
currency: CurrencyField_1.CurrencyField,
|
|
146
151
|
cardCategory: CardCategoryField_1.CardCategoryField,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inputs.js","sourceRoot":"","sources":["../../src/retail/inputs.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"inputs.js","sourceRoot":"","sources":["../../src/retail/inputs.tsx"],"names":[],"mappings":"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"}
|
|
@@ -50,7 +50,7 @@ export interface Address {
|
|
|
50
50
|
qcComplete?: string;
|
|
51
51
|
qcHouse?: string;
|
|
52
52
|
}
|
|
53
|
-
export interface
|
|
53
|
+
export interface CalculatorProps {
|
|
54
54
|
moneyValue?: number;
|
|
55
55
|
monthsValue?: number;
|
|
56
56
|
isAnnuity?: boolean;
|
|
@@ -152,7 +152,7 @@ export interface LeadFormState extends FormRetailConsents, FormStateDeliveryType
|
|
|
152
152
|
cardCategory?: Option;
|
|
153
153
|
codeWord?: string;
|
|
154
154
|
esiaAccountTypeCd?: Option;
|
|
155
|
-
calculator?:
|
|
155
|
+
calculator?: CalculatorProps;
|
|
156
156
|
addressRetail?: Option;
|
|
157
157
|
loanAmount?: number;
|
|
158
158
|
creditPeriod?: number;
|
|
@@ -1,4 +1,13 @@
|
|
|
1
|
-
import { type DepositCalculatorSourceBookParams } from '../../components/CalculatorDeposit/
|
|
1
|
+
import { type DepositCalculatorSourceBookParams } from '../../components/CalculatorDeposit/CalculatorDepositContent';
|
|
2
|
+
import { type Option } from '../Select/Option';
|
|
2
3
|
import { type CalcDefaultParamsProps } from './CalculatorProps';
|
|
3
4
|
export declare const getDefaultParamsMin: (rateRows?: CalcDefaultParamsProps[]) => CalcDefaultParamsProps | undefined;
|
|
4
|
-
export declare const getDefaultParamsMax: (rateRows?: DepositCalculatorSourceBookParams[], isNewClient?: boolean) =>
|
|
5
|
+
export declare const getDefaultParamsMax: (rateRows?: DepositCalculatorSourceBookParams[], isNewClient?: boolean, extraPercents?: Option[]) => {
|
|
6
|
+
extraPercent: Option | undefined;
|
|
7
|
+
extraPercents: Option[];
|
|
8
|
+
minSum?: number | undefined;
|
|
9
|
+
maxSum?: number | undefined;
|
|
10
|
+
minMonths?: number | undefined;
|
|
11
|
+
maxMonths?: number | undefined;
|
|
12
|
+
rate?: number | undefined;
|
|
13
|
+
};
|
|
@@ -2,7 +2,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
2
2
|
exports.getDefaultParamsMax = exports.getDefaultParamsMin = void 0;
|
|
3
3
|
const getDefaultParamsMin = (rateRows) => getDefaultParams([(i, acc) => i < acc, (i, prev) => i?.maxSum > prev?.maxSum], rateRows);
|
|
4
4
|
exports.getDefaultParamsMin = getDefaultParamsMin;
|
|
5
|
-
const getDefaultParamsMax = (rateRows = [], isNewClient = false
|
|
5
|
+
const getDefaultParamsMax = (rateRows = [], isNewClient = false, extraPercents = []) => {
|
|
6
|
+
return {
|
|
7
|
+
...getDefaultParams([(i, acc) => i > acc, (i, prev) => i?.minSum < prev?.minSum], rateRows?.filter((_) => isNewClient === Boolean(_?.isNewClient))),
|
|
8
|
+
extraPercent: extraPercents.at(-1),
|
|
9
|
+
extraPercents,
|
|
10
|
+
};
|
|
11
|
+
};
|
|
6
12
|
exports.getDefaultParamsMax = getDefaultParamsMax;
|
|
7
13
|
const getDefaultParams = (comparators, rateRows) => {
|
|
8
14
|
if (!rateRows?.length) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDefaultParams.js","sourceRoot":"","sources":["../../../src/ui-kit/Calculator/getDefaultParams.tsx"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"getDefaultParams.js","sourceRoot":"","sources":["../../../src/ui-kit/Calculator/getDefaultParams.tsx"],"names":[],"mappings":";;AAIO,MAAM,mBAAmB,GAAG,CAAC,QAAmC,EAAE,EAAE,CACzE,gBAAgB,CACd,CAAC,CAAC,CAAS,EAAE,GAAW,EAAW,EAAE,CAAC,CAAC,GAAG,GAAG,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,EAAE,CAAC,CAAC,EAAE,MAAM,GAAG,IAAI,EAAE,MAAM,CAAC,EACrF,QAAQ,CACT,CAAC;AAJS,QAAA,mBAAmB,uBAI5B;AACG,MAAM,mBAAmB,GAAG,CACjC,WAAgD,EAAE,EAClD,WAAW,GAAG,KAAK,EACnB,gBAA0B,EAAE,EAC5B,EAAE;IACF,OAAO;QACL,GAAG,gBAAgB,CACjB,CAAC,CAAC,CAAS,EAAE,GAAW,EAAE,EAAE,CAAC,CAAC,GAAG,GAAG,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,EAAE,CAAC,CAAC,EAAE,MAAM,GAAG,IAAI,EAAE,MAAM,CAAC,EAC5E,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,WAAW,KAAK,OAAO,CAAC,CAAC,EAAE,WAAW,CAAC,CAAC,CACjE;QACD,YAAY,EAAE,aAAa,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;QAClC,aAAa;KACd,CAAC;AACJ,CAAC,CAAC;AAbW,QAAA,mBAAmB,uBAa9B;AAEF,MAAM,gBAAgB,GAAG,CACvB,WAGC,EACD,QAAmC,EACC,EAAE;IACtC,IAAI,CAAC,QAAQ,EAAE,MAAM,EAAE;QACrB,OAAO,SAAS,CAAC;KAClB;IACD,MAAM,KAAK,GAAG,QAAQ,EAAE,MAAM,CAC5B,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE;QACT,IAAI,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE;YACvC,OAAO,CAAC,CAAC,CAAC,CAAC;SACZ;aAAM,IAAI,CAAC,CAAC,IAAI,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE;YACjC,OAAO,CAAC,GAAG,GAAG,EAAE,CAAC,CAAC,CAAC;SACpB;QAED,OAAO,GAAG,CAAC;IACb,CAAC,EACD,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CACd,CAAC;IACF,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE;QACpB,OAAO,KAAK,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;KAClF;IAED,OAAO,KAAK,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC,CAAC"}
|
|
@@ -3,11 +3,10 @@ import { type RadioButtonItem } from '../../ui-kit/RadioButtonGroup/RadioButtonG
|
|
|
3
3
|
export interface BinaryRadioButtonGroupProps {
|
|
4
4
|
items: [truthy: RadioButtonItem, falsy: RadioButtonItem];
|
|
5
5
|
title?: string;
|
|
6
|
-
mobileTitle?: string;
|
|
7
6
|
orientation?: ListOrientation;
|
|
8
7
|
value?: boolean;
|
|
9
8
|
className?: string;
|
|
10
9
|
onChange?: (value: boolean) => void;
|
|
11
10
|
disabled?: boolean;
|
|
12
11
|
}
|
|
13
|
-
export declare const renderBinaryRadioButtonGroup: ({ items, title,
|
|
12
|
+
export declare const renderBinaryRadioButtonGroup: ({ items, title, orientation, value, onChange, ...rest }: BinaryRadioButtonGroupProps) => any;
|
|
@@ -3,6 +3,6 @@ exports.renderBinaryRadioButtonGroup = void 0;
|
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const RadioButtonGroup_1 = require("../../ui-kit/RadioButtonGroup/RadioButtonGroup");
|
|
5
5
|
const Text_1 = require("../../ui-kit/Text/Text");
|
|
6
|
-
const renderBinaryRadioButtonGroup = ({ items, title,
|
|
6
|
+
const renderBinaryRadioButtonGroup = ({ items, title, orientation = 'horizontal', value, onChange, ...rest }) => ((0, jsx_runtime_1.jsxs)("div", { className: "grid gap-s whitespace-nowrap lg:sm:col-span-1 col-span-2", children: [title ? ((0, jsx_runtime_1.jsx)("div", { role: "radiogroup", "aria-label": title, children: (0, jsx_runtime_1.jsx)(Text_1.Text, { color: "text-secondary-text", font: "font-light", children: title }) })) : null, (0, jsx_runtime_1.jsx)(RadioButtonGroup_1.RadioButtonGroup, { orientation: orientation, items: items, value: items[value ? 0 : 1].id, onChange: (_) => onChange && onChange(_ === items[0].id), ...rest })] }));
|
|
7
7
|
exports.renderBinaryRadioButtonGroup = renderBinaryRadioButtonGroup;
|
|
8
8
|
//# sourceMappingURL=renderBinaryRadioButtonGroup.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderBinaryRadioButtonGroup.js","sourceRoot":"","sources":["../../../src/ui-kit/Calculator/renderBinaryRadioButtonGroup.tsx"],"names":[],"mappings":";;;AACA,qFAGwD;AACxD,iDAA8C;
|
|
1
|
+
{"version":3,"file":"renderBinaryRadioButtonGroup.js","sourceRoot":"","sources":["../../../src/ui-kit/Calculator/renderBinaryRadioButtonGroup.tsx"],"names":[],"mappings":";;;AACA,qFAGwD;AACxD,iDAA8C;AAYvC,MAAM,4BAA4B,GAAG,CAAC,EAC3C,KAAK,EACL,KAAK,EACL,WAAW,GAAG,YAAY,EAC1B,KAAK,EACL,QAAQ,EACR,GAAG,IAAI,EACqB,EAAE,EAAE,CAAC,CACjC,iCAAK,SAAS,EAAC,0DAA0D,aACtE,KAAK,CAAC,CAAC,CAAC,CACP,gCAAK,IAAI,EAAC,YAAY,gBAAa,KAAK,YACtC,uBAAC,WAAI,IAAC,KAAK,EAAC,qBAAqB,EAAC,IAAI,EAAC,YAAY,YAChD,KAAK,GACD,GACH,CACP,CAAC,CAAC,CAAC,IAAI,EAER,uBAAC,mCAAgB,IACf,WAAW,EAAE,WAAW,EACxB,KAAK,EAAE,KAAK,EACZ,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,EAC9B,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,QAAQ,IAAI,QAAQ,CAAC,CAAC,KAAK,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,KACpD,IAAI,GACR,IACE,CACP,CAAC;AAzBW,QAAA,4BAA4B,gCAyBvC"}
|
|
@@ -3,6 +3,8 @@ exports.renderPaymentType = void 0;
|
|
|
3
3
|
const renderBinaryRadioButtonGroup_1 = require("./renderBinaryRadioButtonGroup");
|
|
4
4
|
const renderPaymentType = (props) => (0, renderBinaryRadioButtonGroup_1.renderBinaryRadioButtonGroup)({
|
|
5
5
|
...props,
|
|
6
|
+
title: 'Тип платежа',
|
|
7
|
+
orientation: 'vertical',
|
|
6
8
|
className: 'sm:flex-col',
|
|
7
9
|
items: [
|
|
8
10
|
{ id: 'annuity', text: 'Аннуитетный' },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderPaymentType.js","sourceRoot":"","sources":["../../../src/ui-kit/Calculator/renderPaymentType.tsx"],"names":[],"mappings":";;AAAA,iFAGwC;AAEjC,MAAM,iBAAiB,GAAG,CAAC,KAA2C,EAAE,EAAE,CAC/E,IAAA,2DAA4B,EAAC;IAC3B,GAAG,KAAK;IACR,SAAS,EAAE,aAAa;IACxB,KAAK,EAAE;QACL,EAAE,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,aAAa,EAAE;QACtC,EAAE,EAAE,EAAE,cAAc,EAAE,IAAI,EAAE,oBAAoB,EAAE;KACnD;CACF,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"renderPaymentType.js","sourceRoot":"","sources":["../../../src/ui-kit/Calculator/renderPaymentType.tsx"],"names":[],"mappings":";;AAAA,iFAGwC;AAEjC,MAAM,iBAAiB,GAAG,CAAC,KAA2C,EAAE,EAAE,CAC/E,IAAA,2DAA4B,EAAC;IAC3B,GAAG,KAAK;IACR,KAAK,EAAE,aAAa;IACpB,WAAW,EAAE,UAAU;IACvB,SAAS,EAAE,aAAa;IACxB,KAAK,EAAE;QACL,EAAE,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,aAAa,EAAE;QACtC,EAAE,EAAE,EAAE,cAAc,EAAE,IAAI,EAAE,oBAAoB,EAAE;KACnD;CACF,CAAC,CAAC;AAVQ,QAAA,iBAAiB,qBAUzB"}
|
|
@@ -3,6 +3,8 @@ exports.renderPayout = void 0;
|
|
|
3
3
|
const renderBinaryRadioButtonGroup_1 = require("./renderBinaryRadioButtonGroup");
|
|
4
4
|
const renderPayout = (props) => (0, renderBinaryRadioButtonGroup_1.renderBinaryRadioButtonGroup)({
|
|
5
5
|
...props,
|
|
6
|
+
title: 'Выплата процентов',
|
|
7
|
+
orientation: 'vertical',
|
|
6
8
|
items: [
|
|
7
9
|
{ id: 'everyMonth', text: 'Ежемесячно' },
|
|
8
10
|
{ id: 'atEndTerm', text: 'В конце срока' },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderPayout.js","sourceRoot":"","sources":["../../../src/ui-kit/Calculator/renderPayout.tsx"],"names":[],"mappings":";;AAAA,iFAGwC;AAEjC,MAAM,YAAY,GAAG,CAAC,KAA2C,EAAE,EAAE,CAC1E,IAAA,2DAA4B,EAAC;IAC3B,GAAG,KAAK;IACR,KAAK,EAAE;QACL,EAAE,EAAE,EAAE,YAAY,EAAE,IAAI,EAAE,YAAY,EAAE;QACxC,EAAE,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE,eAAe,EAAE;KAC3C;CACF,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"renderPayout.js","sourceRoot":"","sources":["../../../src/ui-kit/Calculator/renderPayout.tsx"],"names":[],"mappings":";;AAAA,iFAGwC;AAEjC,MAAM,YAAY,GAAG,CAAC,KAA2C,EAAE,EAAE,CAC1E,IAAA,2DAA4B,EAAC;IAC3B,GAAG,KAAK;IACR,KAAK,EAAE,mBAAmB;IAC1B,WAAW,EAAE,UAAU;IACvB,KAAK,EAAE;QACL,EAAE,EAAE,EAAE,YAAY,EAAE,IAAI,EAAE,YAAY,EAAE;QACxC,EAAE,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE,eAAe,EAAE;KAC3C;CACF,CAAC,CAAC;AATQ,QAAA,YAAY,gBASpB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type CreditCalculatorParams, type CreditCalculatorSourceBookParams } from '../../components/CalculatorCredit/CalculatorCreditContent';
|
|
2
|
-
import { type DepositCalculatorParams, type DepositCalculatorSourceBookParams } from '../../components/CalculatorDeposit/
|
|
2
|
+
import { type DepositCalculatorParams, type DepositCalculatorSourceBookParams } from '../../components/CalculatorDeposit/CalculatorDepositContent';
|
|
3
3
|
import { type FormFieldRegisterer } from '../../hooks/useForm/useForm';
|
|
4
4
|
interface ParamsCalcProps {
|
|
5
5
|
field: FormFieldRegisterer<any>;
|