@redneckz/wildless-cms-uni-blocks 0.14.683 → 0.14.685
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/api/RetailAPI/getCardTypes.d.ts +1 -1
- package/bundle/api/RetailAPI/getPaymentSystems.d.ts +1 -1
- package/bundle/api/RetailAPI/updateUserProfile.d.ts +1 -2
- package/bundle/api/RetailAPI/updateUserTask.d.ts +5 -4
- package/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +740 -681
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/ApplicationLeadForm/getInitialFormState.d.ts +13 -7
- package/bundle/components/CalculatorCredit/CalculatorCredit.d.ts +2 -3
- package/bundle/components/CalculatorCredit/defaultValueAdapter.d.ts +11 -0
- package/bundle/components/CreditCardForm/CreditCardFormStatus.d.ts +1 -0
- package/bundle/components/CreditCardForm/PendingStatusContent.d.ts +3 -1
- package/bundle/components/CreditCardForm/renderInputs.d.ts +2 -1
- package/bundle/components/CreditCardForm/renderStep.d.ts +2 -2
- package/bundle/components/CreditForm/CreditForm.d.ts +5 -2
- package/bundle/components/CreditForm/CreditFormContent.d.ts +4 -5
- package/bundle/components/CreditForm/CreditFormStep.d.ts +2 -3
- package/bundle/components/CreditForm/ProgramsSourceProps.d.ts +16 -0
- package/bundle/components/CreditForm/getCalcData.d.ts +3 -0
- package/bundle/components/CreditForm/getZeroStepData.d.ts +1 -1
- package/bundle/components/CreditForm/renderInputs.d.ts +2 -1
- package/bundle/components/CreditForm/renderStep.d.ts +2 -2
- package/bundle/components/OfficesAtmsMap/OfficesAtmsMapLayout.d.ts +0 -1
- package/bundle/components/OfficesAtmsMap/filterItems.d.ts +2 -0
- package/bundle/ui-kit/FormField/CustomFieldProps.d.ts +1 -0
- package/bundle/ui-kit/FormField/Fields/CreditCalcField.d.ts +2 -0
- package/bundle/ui-kit/FormField/NameFieldDef.d.ts +1 -1
- package/bundle/ui-kit/FormField/getField.d.ts +1 -1
- package/dist/api/RetailAPI/getCardTypes.d.ts +1 -1
- package/dist/api/RetailAPI/getCardTypes.js +4 -5
- package/dist/api/RetailAPI/getCardTypes.js.map +1 -1
- package/dist/api/RetailAPI/getPaymentSystems.d.ts +1 -1
- package/dist/api/RetailAPI/getPaymentSystems.js +3 -4
- package/dist/api/RetailAPI/getPaymentSystems.js.map +1 -1
- package/dist/api/RetailAPI/updateUserProfile.d.ts +1 -2
- package/dist/api/RetailAPI/updateUserProfile.js +1 -1
- package/dist/api/RetailAPI/updateUserProfile.js.map +1 -1
- package/dist/api/RetailAPI/updateUserTask.d.ts +5 -4
- package/dist/api/RetailAPI/updateUserTask.js +1 -1
- package/dist/api/RetailAPI/updateUserTask.js.map +1 -1
- package/dist/api/RetailAPI/utils/getUpdateUserProfile.js +2 -2
- package/dist/api/RetailAPI/utils/getUpdateUserProfile.js.map +1 -1
- package/dist/components/ApplicationForm/ApplicationForm.js +1 -1
- package/dist/components/ApplicationForm/ApplicationForm.js.map +1 -1
- package/dist/components/ApplicationForm/renderInputs.js +1 -1
- package/dist/components/ApplicationForm/renderInputs.js.map +1 -1
- package/dist/components/ApplicationLeadForm/GroupedConsents.js +1 -1
- package/dist/components/ApplicationLeadForm/GroupedConsents.js.map +1 -1
- package/dist/components/ApplicationLeadForm/getInitialFormState.d.ts +13 -7
- package/dist/components/ApplicationLeadForm/getInitialFormState.js +0 -1
- package/dist/components/ApplicationLeadForm/getInitialFormState.js.map +1 -1
- package/dist/components/ApplicationLeadForm/useApplicationLeadApi.js +15 -8
- package/dist/components/ApplicationLeadForm/useApplicationLeadApi.js.map +1 -1
- package/dist/components/CalculatorCredit/CalculatorCredit.d.ts +2 -3
- package/dist/components/CalculatorCredit/CalculatorCredit.js +5 -3
- package/dist/components/CalculatorCredit/CalculatorCredit.js.map +1 -1
- package/dist/components/CalculatorCredit/defaultValueAdapter.d.ts +11 -0
- package/dist/components/CalculatorCredit/defaultValueAdapter.js +18 -0
- package/dist/components/CalculatorCredit/defaultValueAdapter.js.map +1 -0
- package/dist/components/CreditCardForm/CreditCardForm.js +4 -4
- package/dist/components/CreditCardForm/CreditCardForm.js.map +1 -1
- package/dist/components/CreditCardForm/CreditCardFormStatus.d.ts +1 -0
- package/dist/components/CreditCardForm/CreditCardFormStatus.js +3 -1
- package/dist/components/CreditCardForm/CreditCardFormStatus.js.map +1 -1
- package/dist/components/CreditCardForm/CreditCardFormStatusTracker.js +14 -12
- package/dist/components/CreditCardForm/CreditCardFormStatusTracker.js.map +1 -1
- package/dist/components/CreditCardForm/CreditCardFormStep.js +2 -14
- package/dist/components/CreditCardForm/CreditCardFormStep.js.map +1 -1
- package/dist/components/CreditCardForm/PendingStatusContent.d.ts +3 -1
- package/dist/components/CreditCardForm/PendingStatusContent.js +2 -2
- package/dist/components/CreditCardForm/PendingStatusContent.js.map +1 -1
- package/dist/components/CreditCardForm/renderInputs.d.ts +2 -1
- package/dist/components/CreditCardForm/renderInputs.js +1 -1
- package/dist/components/CreditCardForm/renderInputs.js.map +1 -1
- package/dist/components/CreditCardForm/renderStep.d.ts +2 -2
- package/dist/components/CreditCardForm/renderStep.js +2 -2
- package/dist/components/CreditCardForm/renderStep.js.map +1 -1
- package/dist/components/CreditForm/CreditForm.d.ts +5 -2
- package/dist/components/CreditForm/CreditForm.js +6 -20
- package/dist/components/CreditForm/CreditForm.js.map +1 -1
- package/dist/components/CreditForm/CreditFormContent.d.ts +4 -5
- package/dist/components/CreditForm/CreditFormStatusTracker.js +10 -10
- package/dist/components/CreditForm/CreditFormStatusTracker.js.map +1 -1
- package/dist/components/CreditForm/CreditFormStep.d.ts +2 -3
- package/dist/components/CreditForm/CreditFormStep.js +5 -10
- package/dist/components/CreditForm/CreditFormStep.js.map +1 -1
- package/dist/components/CreditForm/ProgramsSourceProps.d.ts +16 -0
- package/dist/components/CreditForm/ProgramsSourceProps.js +2 -0
- package/dist/components/CreditForm/ProgramsSourceProps.js.map +1 -0
- package/dist/components/CreditForm/creditFormStepsData.js +9 -1
- package/dist/components/CreditForm/creditFormStepsData.js.map +1 -1
- package/dist/components/CreditForm/formStateMap.js +9 -7
- package/dist/components/CreditForm/formStateMap.js.map +1 -1
- package/dist/components/CreditForm/getCalcData.d.ts +3 -0
- package/dist/components/CreditForm/getCalcData.js +16 -0
- package/dist/components/CreditForm/getCalcData.js.map +1 -0
- package/dist/components/CreditForm/getCreditFormTaskData.js +3 -2
- package/dist/components/CreditForm/getCreditFormTaskData.js.map +1 -1
- package/dist/components/CreditForm/getSecondStepData.js +0 -1
- package/dist/components/CreditForm/getSecondStepData.js.map +1 -1
- package/dist/components/CreditForm/getZeroStepData.d.ts +1 -1
- package/dist/components/CreditForm/getZeroStepData.js +3 -8
- package/dist/components/CreditForm/getZeroStepData.js.map +1 -1
- package/dist/components/CreditForm/renderInputs.d.ts +2 -1
- package/dist/components/CreditForm/renderInputs.js +1 -1
- package/dist/components/CreditForm/renderInputs.js.map +1 -1
- package/dist/components/CreditForm/renderStep.d.ts +2 -2
- package/dist/components/CreditForm/renderStep.js +2 -2
- package/dist/components/CreditForm/renderStep.js.map +1 -1
- package/dist/components/OfficesAtmsMap/OfficesAtmsMapLayout.d.ts +0 -1
- package/dist/components/OfficesAtmsMap/OfficesAtmsMapLayout.js +1 -6
- package/dist/components/OfficesAtmsMap/OfficesAtmsMapLayout.js.map +1 -1
- package/dist/components/OfficesAtmsMap/filterItems.d.ts +2 -0
- package/dist/components/OfficesAtmsMap/filterItems.js +9 -0
- package/dist/components/OfficesAtmsMap/filterItems.js.map +1 -0
- package/dist/components/OfficesAtmsMap/useOfficesAtmsMapData.js +3 -3
- package/dist/components/OfficesAtmsMap/useOfficesAtmsMapData.js.map +1 -1
- package/dist/hooks/useJSONRef/useJSONRef.js +13 -3
- package/dist/hooks/useJSONRef/useJSONRef.js.map +1 -1
- package/dist/ui-kit/ConsentBkiDialog/useConsentBkiDialog.js +14 -9
- package/dist/ui-kit/ConsentBkiDialog/useConsentBkiDialog.js.map +1 -1
- package/dist/ui-kit/FormField/CustomFieldProps.d.ts +1 -0
- package/dist/ui-kit/FormField/Fields/CardCategoryField.js +13 -4
- package/dist/ui-kit/FormField/Fields/CardCategoryField.js.map +1 -1
- package/dist/ui-kit/FormField/Fields/CreditCalcField.d.ts +2 -0
- package/dist/ui-kit/FormField/Fields/CreditCalcField.js +15 -0
- package/dist/ui-kit/FormField/Fields/CreditCalcField.js.map +1 -0
- package/dist/ui-kit/FormField/Fields/PaymentSystemField.js +8 -4
- package/dist/ui-kit/FormField/Fields/PaymentSystemField.js.map +1 -1
- package/dist/ui-kit/FormField/Fields/RegionField.js +3 -1
- package/dist/ui-kit/FormField/Fields/RegionField.js.map +1 -1
- package/dist/ui-kit/FormField/NameFieldDef.d.ts +1 -1
- package/dist/ui-kit/FormField/SelectField.js +4 -6
- package/dist/ui-kit/FormField/SelectField.js.map +1 -1
- package/dist/ui-kit/FormField/getField.d.ts +1 -1
- package/dist/ui-kit/FormField/getField.js +5 -4
- package/dist/ui-kit/FormField/getField.js.map +1 -1
- package/dist/ui-kit/FormField/getObjectValidator.js +2 -0
- package/dist/ui-kit/FormField/getObjectValidator.js.map +1 -1
- package/lib/api/RetailAPI/getCardTypes.d.ts +1 -1
- package/lib/api/RetailAPI/getCardTypes.js +5 -6
- package/lib/api/RetailAPI/getCardTypes.js.map +1 -1
- package/lib/api/RetailAPI/getPaymentSystems.d.ts +1 -1
- package/lib/api/RetailAPI/getPaymentSystems.js +4 -5
- package/lib/api/RetailAPI/getPaymentSystems.js.map +1 -1
- package/lib/api/RetailAPI/updateUserProfile.d.ts +1 -2
- package/lib/api/RetailAPI/updateUserProfile.js +2 -2
- package/lib/api/RetailAPI/updateUserProfile.js.map +1 -1
- package/lib/api/RetailAPI/updateUserTask.d.ts +5 -4
- package/lib/api/RetailAPI/updateUserTask.js +2 -2
- package/lib/api/RetailAPI/updateUserTask.js.map +1 -1
- package/lib/api/RetailAPI/utils/getUpdateUserProfile.js +2 -2
- package/lib/api/RetailAPI/utils/getUpdateUserProfile.js.map +1 -1
- package/lib/components/ApplicationForm/ApplicationForm.js +1 -1
- package/lib/components/ApplicationForm/ApplicationForm.js.map +1 -1
- package/lib/components/ApplicationForm/renderInputs.js +1 -1
- package/lib/components/ApplicationForm/renderInputs.js.map +1 -1
- package/lib/components/ApplicationLeadForm/GroupedConsents.js +1 -1
- package/lib/components/ApplicationLeadForm/GroupedConsents.js.map +1 -1
- package/lib/components/ApplicationLeadForm/getInitialFormState.d.ts +13 -7
- package/lib/components/ApplicationLeadForm/getInitialFormState.js +0 -1
- package/lib/components/ApplicationLeadForm/getInitialFormState.js.map +1 -1
- package/lib/components/ApplicationLeadForm/useApplicationLeadApi.js +15 -8
- package/lib/components/ApplicationLeadForm/useApplicationLeadApi.js.map +1 -1
- package/lib/components/CalculatorCredit/CalculatorCredit.d.ts +2 -3
- package/lib/components/CalculatorCredit/CalculatorCredit.js +5 -3
- package/lib/components/CalculatorCredit/CalculatorCredit.js.map +1 -1
- package/lib/components/CalculatorCredit/defaultValueAdapter.d.ts +11 -0
- package/lib/components/CalculatorCredit/defaultValueAdapter.js +15 -0
- package/lib/components/CalculatorCredit/defaultValueAdapter.js.map +1 -0
- package/lib/components/CreditCardForm/CreditCardForm.js +4 -4
- package/lib/components/CreditCardForm/CreditCardForm.js.map +1 -1
- package/lib/components/CreditCardForm/CreditCardFormStatus.d.ts +1 -0
- package/lib/components/CreditCardForm/CreditCardFormStatus.js +3 -1
- package/lib/components/CreditCardForm/CreditCardFormStatus.js.map +1 -1
- package/lib/components/CreditCardForm/CreditCardFormStatusTracker.js +14 -12
- package/lib/components/CreditCardForm/CreditCardFormStatusTracker.js.map +1 -1
- package/lib/components/CreditCardForm/CreditCardFormStep.js +2 -14
- package/lib/components/CreditCardForm/CreditCardFormStep.js.map +1 -1
- package/lib/components/CreditCardForm/PendingStatusContent.d.ts +3 -1
- package/lib/components/CreditCardForm/PendingStatusContent.js +2 -2
- package/lib/components/CreditCardForm/PendingStatusContent.js.map +1 -1
- package/lib/components/CreditCardForm/renderInputs.d.ts +2 -1
- package/lib/components/CreditCardForm/renderInputs.js +1 -1
- package/lib/components/CreditCardForm/renderInputs.js.map +1 -1
- package/lib/components/CreditCardForm/renderStep.d.ts +2 -2
- package/lib/components/CreditCardForm/renderStep.js +2 -2
- package/lib/components/CreditCardForm/renderStep.js.map +1 -1
- package/lib/components/CreditForm/CreditForm.d.ts +5 -2
- package/lib/components/CreditForm/CreditForm.js +6 -20
- package/lib/components/CreditForm/CreditForm.js.map +1 -1
- package/lib/components/CreditForm/CreditFormContent.d.ts +4 -5
- package/lib/components/CreditForm/CreditFormStatusTracker.js +11 -11
- package/lib/components/CreditForm/CreditFormStatusTracker.js.map +1 -1
- package/lib/components/CreditForm/CreditFormStep.d.ts +2 -3
- package/lib/components/CreditForm/CreditFormStep.js +6 -11
- package/lib/components/CreditForm/CreditFormStep.js.map +1 -1
- package/lib/components/CreditForm/ProgramsSourceProps.d.ts +16 -0
- package/lib/components/CreditForm/ProgramsSourceProps.js +2 -0
- package/lib/components/CreditForm/ProgramsSourceProps.js.map +1 -0
- package/lib/components/CreditForm/creditFormStepsData.js +9 -1
- package/lib/components/CreditForm/creditFormStepsData.js.map +1 -1
- package/lib/components/CreditForm/formStateMap.js +9 -7
- package/lib/components/CreditForm/formStateMap.js.map +1 -1
- package/lib/components/CreditForm/getCalcData.d.ts +3 -0
- package/lib/components/CreditForm/getCalcData.js +13 -0
- package/lib/components/CreditForm/getCalcData.js.map +1 -0
- package/lib/components/CreditForm/getCreditFormTaskData.js +3 -2
- package/lib/components/CreditForm/getCreditFormTaskData.js.map +1 -1
- package/lib/components/CreditForm/getSecondStepData.js +0 -1
- package/lib/components/CreditForm/getSecondStepData.js.map +1 -1
- package/lib/components/CreditForm/getZeroStepData.d.ts +1 -1
- package/lib/components/CreditForm/getZeroStepData.js +3 -8
- package/lib/components/CreditForm/getZeroStepData.js.map +1 -1
- package/lib/components/CreditForm/renderInputs.d.ts +2 -1
- package/lib/components/CreditForm/renderInputs.js +1 -1
- package/lib/components/CreditForm/renderInputs.js.map +1 -1
- package/lib/components/CreditForm/renderStep.d.ts +2 -2
- package/lib/components/CreditForm/renderStep.js +2 -2
- package/lib/components/CreditForm/renderStep.js.map +1 -1
- package/lib/components/OfficesAtmsMap/OfficesAtmsMapLayout.d.ts +0 -1
- package/lib/components/OfficesAtmsMap/OfficesAtmsMapLayout.js +0 -4
- package/lib/components/OfficesAtmsMap/OfficesAtmsMapLayout.js.map +1 -1
- package/lib/components/OfficesAtmsMap/filterItems.d.ts +2 -0
- package/lib/components/OfficesAtmsMap/filterItems.js +6 -0
- package/lib/components/OfficesAtmsMap/filterItems.js.map +1 -0
- package/lib/components/OfficesAtmsMap/useOfficesAtmsMapData.js +1 -1
- package/lib/components/OfficesAtmsMap/useOfficesAtmsMapData.js.map +1 -1
- package/lib/hooks/useJSONRef/useJSONRef.js +13 -3
- package/lib/hooks/useJSONRef/useJSONRef.js.map +1 -1
- package/lib/ui-kit/ConsentBkiDialog/useConsentBkiDialog.js +14 -9
- package/lib/ui-kit/ConsentBkiDialog/useConsentBkiDialog.js.map +1 -1
- package/lib/ui-kit/FormField/CustomFieldProps.d.ts +1 -0
- package/lib/ui-kit/FormField/Fields/CardCategoryField.js +13 -4
- package/lib/ui-kit/FormField/Fields/CardCategoryField.js.map +1 -1
- package/lib/ui-kit/FormField/Fields/CreditCalcField.d.ts +2 -0
- package/lib/ui-kit/FormField/Fields/CreditCalcField.js +13 -0
- package/lib/ui-kit/FormField/Fields/CreditCalcField.js.map +1 -0
- package/lib/ui-kit/FormField/Fields/PaymentSystemField.js +8 -4
- package/lib/ui-kit/FormField/Fields/PaymentSystemField.js.map +1 -1
- package/lib/ui-kit/FormField/Fields/RegionField.js +3 -1
- package/lib/ui-kit/FormField/Fields/RegionField.js.map +1 -1
- package/lib/ui-kit/FormField/NameFieldDef.d.ts +1 -1
- package/lib/ui-kit/FormField/SelectField.js +4 -6
- package/lib/ui-kit/FormField/SelectField.js.map +1 -1
- package/lib/ui-kit/FormField/getField.d.ts +1 -1
- package/lib/ui-kit/FormField/getField.js +5 -4
- package/lib/ui-kit/FormField/getField.js.map +1 -1
- package/lib/ui-kit/FormField/getObjectValidator.js +2 -0
- package/lib/ui-kit/FormField/getObjectValidator.js.map +1 -1
- package/mobile/bundle/api/RetailAPI/getCardTypes.d.ts +1 -1
- package/mobile/bundle/api/RetailAPI/getPaymentSystems.d.ts +1 -1
- package/mobile/bundle/api/RetailAPI/updateUserProfile.d.ts +1 -2
- package/mobile/bundle/api/RetailAPI/updateUserTask.d.ts +5 -4
- package/mobile/bundle/bundle.umd.js +742 -683
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/ApplicationLeadForm/getInitialFormState.d.ts +13 -7
- package/mobile/bundle/components/CalculatorCredit/CalculatorCredit.d.ts +2 -3
- package/mobile/bundle/components/CalculatorCredit/defaultValueAdapter.d.ts +11 -0
- package/mobile/bundle/components/CreditCardForm/CreditCardFormStatus.d.ts +1 -0
- package/mobile/bundle/components/CreditCardForm/PendingStatusContent.d.ts +3 -1
- package/mobile/bundle/components/CreditCardForm/renderInputs.d.ts +2 -1
- package/mobile/bundle/components/CreditCardForm/renderStep.d.ts +2 -2
- package/mobile/bundle/components/CreditForm/CreditForm.d.ts +5 -2
- package/mobile/bundle/components/CreditForm/CreditFormContent.d.ts +4 -5
- package/mobile/bundle/components/CreditForm/CreditFormStep.d.ts +2 -3
- package/mobile/bundle/components/CreditForm/ProgramsSourceProps.d.ts +16 -0
- package/mobile/bundle/components/CreditForm/getCalcData.d.ts +3 -0
- package/mobile/bundle/components/CreditForm/getZeroStepData.d.ts +1 -1
- package/mobile/bundle/components/CreditForm/renderInputs.d.ts +2 -1
- package/mobile/bundle/components/CreditForm/renderStep.d.ts +2 -2
- package/mobile/bundle/components/OfficesAtmsMap/OfficesAtmsMapLayout.d.ts +0 -1
- package/mobile/bundle/components/OfficesAtmsMap/filterItems.d.ts +2 -0
- package/mobile/bundle/ui-kit/FormField/CustomFieldProps.d.ts +1 -0
- package/mobile/bundle/ui-kit/FormField/Fields/CreditCalcField.d.ts +2 -0
- package/mobile/bundle/ui-kit/FormField/NameFieldDef.d.ts +1 -1
- package/mobile/bundle/ui-kit/FormField/getField.d.ts +1 -1
- package/mobile/dist/api/RetailAPI/getCardTypes.d.ts +1 -1
- package/mobile/dist/api/RetailAPI/getCardTypes.js +4 -5
- package/mobile/dist/api/RetailAPI/getCardTypes.js.map +1 -1
- package/mobile/dist/api/RetailAPI/getPaymentSystems.d.ts +1 -1
- package/mobile/dist/api/RetailAPI/getPaymentSystems.js +3 -4
- package/mobile/dist/api/RetailAPI/getPaymentSystems.js.map +1 -1
- package/mobile/dist/api/RetailAPI/updateUserProfile.d.ts +1 -2
- package/mobile/dist/api/RetailAPI/updateUserProfile.js +1 -1
- package/mobile/dist/api/RetailAPI/updateUserProfile.js.map +1 -1
- package/mobile/dist/api/RetailAPI/updateUserTask.d.ts +5 -4
- package/mobile/dist/api/RetailAPI/updateUserTask.js +1 -1
- package/mobile/dist/api/RetailAPI/updateUserTask.js.map +1 -1
- package/mobile/dist/api/RetailAPI/utils/getUpdateUserProfile.js +2 -2
- package/mobile/dist/api/RetailAPI/utils/getUpdateUserProfile.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationForm.js +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationForm.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/renderInputs.js +1 -1
- package/mobile/dist/components/ApplicationForm/renderInputs.js.map +1 -1
- package/mobile/dist/components/ApplicationLeadForm/GroupedConsents.js +1 -1
- package/mobile/dist/components/ApplicationLeadForm/GroupedConsents.js.map +1 -1
- package/mobile/dist/components/ApplicationLeadForm/getInitialFormState.d.ts +13 -7
- package/mobile/dist/components/ApplicationLeadForm/getInitialFormState.js +0 -1
- package/mobile/dist/components/ApplicationLeadForm/getInitialFormState.js.map +1 -1
- package/mobile/dist/components/ApplicationLeadForm/useApplicationLeadApi.js +15 -8
- package/mobile/dist/components/ApplicationLeadForm/useApplicationLeadApi.js.map +1 -1
- package/mobile/dist/components/CalculatorCredit/CalculatorCredit.d.ts +2 -3
- package/mobile/dist/components/CalculatorCredit/CalculatorCredit.js +5 -3
- package/mobile/dist/components/CalculatorCredit/CalculatorCredit.js.map +1 -1
- package/mobile/dist/components/CalculatorCredit/defaultValueAdapter.d.ts +11 -0
- package/mobile/dist/components/CalculatorCredit/defaultValueAdapter.js +18 -0
- package/mobile/dist/components/CalculatorCredit/defaultValueAdapter.js.map +1 -0
- package/mobile/dist/components/CreditCardForm/CreditCardForm.js +4 -4
- package/mobile/dist/components/CreditCardForm/CreditCardForm.js.map +1 -1
- package/mobile/dist/components/CreditCardForm/CreditCardFormStatus.d.ts +1 -0
- package/mobile/dist/components/CreditCardForm/CreditCardFormStatus.js +3 -1
- package/mobile/dist/components/CreditCardForm/CreditCardFormStatus.js.map +1 -1
- package/mobile/dist/components/CreditCardForm/CreditCardFormStatusTracker.js +14 -12
- package/mobile/dist/components/CreditCardForm/CreditCardFormStatusTracker.js.map +1 -1
- package/mobile/dist/components/CreditCardForm/CreditCardFormStep.js +2 -14
- package/mobile/dist/components/CreditCardForm/CreditCardFormStep.js.map +1 -1
- package/mobile/dist/components/CreditCardForm/PendingStatusContent.d.ts +3 -1
- package/mobile/dist/components/CreditCardForm/PendingStatusContent.js +2 -2
- package/mobile/dist/components/CreditCardForm/PendingStatusContent.js.map +1 -1
- package/mobile/dist/components/CreditCardForm/renderInputs.d.ts +2 -1
- package/mobile/dist/components/CreditCardForm/renderInputs.js +1 -1
- package/mobile/dist/components/CreditCardForm/renderInputs.js.map +1 -1
- package/mobile/dist/components/CreditCardForm/renderStep.d.ts +2 -2
- package/mobile/dist/components/CreditCardForm/renderStep.js +2 -2
- package/mobile/dist/components/CreditCardForm/renderStep.js.map +1 -1
- package/mobile/dist/components/CreditForm/CreditForm.d.ts +5 -2
- package/mobile/dist/components/CreditForm/CreditForm.js +6 -20
- package/mobile/dist/components/CreditForm/CreditForm.js.map +1 -1
- package/mobile/dist/components/CreditForm/CreditFormContent.d.ts +4 -5
- package/mobile/dist/components/CreditForm/CreditFormStatusTracker.js +10 -10
- package/mobile/dist/components/CreditForm/CreditFormStatusTracker.js.map +1 -1
- package/mobile/dist/components/CreditForm/CreditFormStep.d.ts +2 -3
- package/mobile/dist/components/CreditForm/CreditFormStep.js +5 -10
- package/mobile/dist/components/CreditForm/CreditFormStep.js.map +1 -1
- package/mobile/dist/components/CreditForm/ProgramsSourceProps.d.ts +16 -0
- package/mobile/dist/components/CreditForm/ProgramsSourceProps.js +2 -0
- package/mobile/dist/components/CreditForm/ProgramsSourceProps.js.map +1 -0
- package/mobile/dist/components/CreditForm/creditFormStepsData.js +9 -1
- package/mobile/dist/components/CreditForm/creditFormStepsData.js.map +1 -1
- package/mobile/dist/components/CreditForm/formStateMap.js +9 -7
- package/mobile/dist/components/CreditForm/formStateMap.js.map +1 -1
- package/mobile/dist/components/CreditForm/getCalcData.d.ts +3 -0
- package/mobile/dist/components/CreditForm/getCalcData.js +16 -0
- package/mobile/dist/components/CreditForm/getCalcData.js.map +1 -0
- package/mobile/dist/components/CreditForm/getCreditFormTaskData.js +3 -2
- package/mobile/dist/components/CreditForm/getCreditFormTaskData.js.map +1 -1
- package/mobile/dist/components/CreditForm/getSecondStepData.js +0 -1
- package/mobile/dist/components/CreditForm/getSecondStepData.js.map +1 -1
- package/mobile/dist/components/CreditForm/getZeroStepData.d.ts +1 -1
- package/mobile/dist/components/CreditForm/getZeroStepData.js +3 -8
- package/mobile/dist/components/CreditForm/getZeroStepData.js.map +1 -1
- package/mobile/dist/components/CreditForm/renderInputs.d.ts +2 -1
- package/mobile/dist/components/CreditForm/renderInputs.js +1 -1
- package/mobile/dist/components/CreditForm/renderInputs.js.map +1 -1
- package/mobile/dist/components/CreditForm/renderStep.d.ts +2 -2
- package/mobile/dist/components/CreditForm/renderStep.js +2 -2
- package/mobile/dist/components/CreditForm/renderStep.js.map +1 -1
- package/mobile/dist/components/OfficesAtmsMap/OfficesAtmsMapLayout.d.ts +0 -1
- package/mobile/dist/components/OfficesAtmsMap/OfficesAtmsMapLayout.js +1 -6
- package/mobile/dist/components/OfficesAtmsMap/OfficesAtmsMapLayout.js.map +1 -1
- package/mobile/dist/components/OfficesAtmsMap/filterItems.d.ts +2 -0
- package/mobile/dist/components/OfficesAtmsMap/filterItems.js +9 -0
- package/mobile/dist/components/OfficesAtmsMap/filterItems.js.map +1 -0
- package/mobile/dist/components/OfficesAtmsMap/useOfficesAtmsMapData.js +3 -3
- package/mobile/dist/components/OfficesAtmsMap/useOfficesAtmsMapData.js.map +1 -1
- package/mobile/dist/hooks/useJSONRef/useJSONRef.js +13 -3
- package/mobile/dist/hooks/useJSONRef/useJSONRef.js.map +1 -1
- package/mobile/dist/ui-kit/ConsentBkiDialog/useConsentBkiDialog.js +14 -9
- package/mobile/dist/ui-kit/ConsentBkiDialog/useConsentBkiDialog.js.map +1 -1
- package/mobile/dist/ui-kit/FormField/CustomFieldProps.d.ts +1 -0
- package/mobile/dist/ui-kit/FormField/Fields/CardCategoryField.js +13 -4
- package/mobile/dist/ui-kit/FormField/Fields/CardCategoryField.js.map +1 -1
- package/mobile/dist/ui-kit/FormField/Fields/CreditCalcField.d.ts +2 -0
- package/mobile/dist/ui-kit/FormField/Fields/CreditCalcField.js +15 -0
- package/mobile/dist/ui-kit/FormField/Fields/CreditCalcField.js.map +1 -0
- package/mobile/dist/ui-kit/FormField/Fields/PaymentSystemField.js +8 -4
- package/mobile/dist/ui-kit/FormField/Fields/PaymentSystemField.js.map +1 -1
- package/mobile/dist/ui-kit/FormField/Fields/RegionField.js +3 -1
- package/mobile/dist/ui-kit/FormField/Fields/RegionField.js.map +1 -1
- package/mobile/dist/ui-kit/FormField/NameFieldDef.d.ts +1 -1
- package/mobile/dist/ui-kit/FormField/SelectField.js +4 -6
- package/mobile/dist/ui-kit/FormField/SelectField.js.map +1 -1
- package/mobile/dist/ui-kit/FormField/getField.d.ts +1 -1
- package/mobile/dist/ui-kit/FormField/getField.js +5 -4
- package/mobile/dist/ui-kit/FormField/getField.js.map +1 -1
- package/mobile/dist/ui-kit/FormField/getObjectValidator.js +2 -0
- package/mobile/dist/ui-kit/FormField/getObjectValidator.js.map +1 -1
- package/mobile/lib/api/RetailAPI/getCardTypes.d.ts +1 -1
- package/mobile/lib/api/RetailAPI/getCardTypes.js +5 -6
- package/mobile/lib/api/RetailAPI/getCardTypes.js.map +1 -1
- package/mobile/lib/api/RetailAPI/getPaymentSystems.d.ts +1 -1
- package/mobile/lib/api/RetailAPI/getPaymentSystems.js +4 -5
- package/mobile/lib/api/RetailAPI/getPaymentSystems.js.map +1 -1
- package/mobile/lib/api/RetailAPI/updateUserProfile.d.ts +1 -2
- package/mobile/lib/api/RetailAPI/updateUserProfile.js +2 -2
- package/mobile/lib/api/RetailAPI/updateUserProfile.js.map +1 -1
- package/mobile/lib/api/RetailAPI/updateUserTask.d.ts +5 -4
- package/mobile/lib/api/RetailAPI/updateUserTask.js +2 -2
- package/mobile/lib/api/RetailAPI/updateUserTask.js.map +1 -1
- package/mobile/lib/api/RetailAPI/utils/getUpdateUserProfile.js +2 -2
- package/mobile/lib/api/RetailAPI/utils/getUpdateUserProfile.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationForm.js +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationForm.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/renderInputs.js +1 -1
- package/mobile/lib/components/ApplicationForm/renderInputs.js.map +1 -1
- package/mobile/lib/components/ApplicationLeadForm/GroupedConsents.js +1 -1
- package/mobile/lib/components/ApplicationLeadForm/GroupedConsents.js.map +1 -1
- package/mobile/lib/components/ApplicationLeadForm/getInitialFormState.d.ts +13 -7
- package/mobile/lib/components/ApplicationLeadForm/getInitialFormState.js +0 -1
- package/mobile/lib/components/ApplicationLeadForm/getInitialFormState.js.map +1 -1
- package/mobile/lib/components/ApplicationLeadForm/useApplicationLeadApi.js +15 -8
- package/mobile/lib/components/ApplicationLeadForm/useApplicationLeadApi.js.map +1 -1
- package/mobile/lib/components/CalculatorCredit/CalculatorCredit.d.ts +2 -3
- package/mobile/lib/components/CalculatorCredit/CalculatorCredit.js +5 -3
- package/mobile/lib/components/CalculatorCredit/CalculatorCredit.js.map +1 -1
- package/mobile/lib/components/CalculatorCredit/defaultValueAdapter.d.ts +11 -0
- package/mobile/lib/components/CalculatorCredit/defaultValueAdapter.js +15 -0
- package/mobile/lib/components/CalculatorCredit/defaultValueAdapter.js.map +1 -0
- package/mobile/lib/components/CreditCardForm/CreditCardForm.js +4 -4
- package/mobile/lib/components/CreditCardForm/CreditCardForm.js.map +1 -1
- package/mobile/lib/components/CreditCardForm/CreditCardFormStatus.d.ts +1 -0
- package/mobile/lib/components/CreditCardForm/CreditCardFormStatus.js +3 -1
- package/mobile/lib/components/CreditCardForm/CreditCardFormStatus.js.map +1 -1
- package/mobile/lib/components/CreditCardForm/CreditCardFormStatusTracker.js +14 -12
- package/mobile/lib/components/CreditCardForm/CreditCardFormStatusTracker.js.map +1 -1
- package/mobile/lib/components/CreditCardForm/CreditCardFormStep.js +2 -14
- package/mobile/lib/components/CreditCardForm/CreditCardFormStep.js.map +1 -1
- package/mobile/lib/components/CreditCardForm/PendingStatusContent.d.ts +3 -1
- package/mobile/lib/components/CreditCardForm/PendingStatusContent.js +2 -2
- package/mobile/lib/components/CreditCardForm/PendingStatusContent.js.map +1 -1
- package/mobile/lib/components/CreditCardForm/renderInputs.d.ts +2 -1
- package/mobile/lib/components/CreditCardForm/renderInputs.js +1 -1
- package/mobile/lib/components/CreditCardForm/renderInputs.js.map +1 -1
- package/mobile/lib/components/CreditCardForm/renderStep.d.ts +2 -2
- package/mobile/lib/components/CreditCardForm/renderStep.js +2 -2
- package/mobile/lib/components/CreditCardForm/renderStep.js.map +1 -1
- package/mobile/lib/components/CreditForm/CreditForm.d.ts +5 -2
- package/mobile/lib/components/CreditForm/CreditForm.js +6 -20
- package/mobile/lib/components/CreditForm/CreditForm.js.map +1 -1
- package/mobile/lib/components/CreditForm/CreditFormContent.d.ts +4 -5
- package/mobile/lib/components/CreditForm/CreditFormStatusTracker.js +11 -11
- package/mobile/lib/components/CreditForm/CreditFormStatusTracker.js.map +1 -1
- package/mobile/lib/components/CreditForm/CreditFormStep.d.ts +2 -3
- package/mobile/lib/components/CreditForm/CreditFormStep.js +6 -11
- package/mobile/lib/components/CreditForm/CreditFormStep.js.map +1 -1
- package/mobile/lib/components/CreditForm/ProgramsSourceProps.d.ts +16 -0
- package/mobile/lib/components/CreditForm/ProgramsSourceProps.js +2 -0
- package/mobile/lib/components/CreditForm/ProgramsSourceProps.js.map +1 -0
- package/mobile/lib/components/CreditForm/creditFormStepsData.js +9 -1
- package/mobile/lib/components/CreditForm/creditFormStepsData.js.map +1 -1
- package/mobile/lib/components/CreditForm/formStateMap.js +9 -7
- package/mobile/lib/components/CreditForm/formStateMap.js.map +1 -1
- package/mobile/lib/components/CreditForm/getCalcData.d.ts +3 -0
- package/mobile/lib/components/CreditForm/getCalcData.js +13 -0
- package/mobile/lib/components/CreditForm/getCalcData.js.map +1 -0
- package/mobile/lib/components/CreditForm/getCreditFormTaskData.js +3 -2
- package/mobile/lib/components/CreditForm/getCreditFormTaskData.js.map +1 -1
- package/mobile/lib/components/CreditForm/getSecondStepData.js +0 -1
- package/mobile/lib/components/CreditForm/getSecondStepData.js.map +1 -1
- package/mobile/lib/components/CreditForm/getZeroStepData.d.ts +1 -1
- package/mobile/lib/components/CreditForm/getZeroStepData.js +3 -8
- package/mobile/lib/components/CreditForm/getZeroStepData.js.map +1 -1
- package/mobile/lib/components/CreditForm/renderInputs.d.ts +2 -1
- package/mobile/lib/components/CreditForm/renderInputs.js +1 -1
- package/mobile/lib/components/CreditForm/renderInputs.js.map +1 -1
- package/mobile/lib/components/CreditForm/renderStep.d.ts +2 -2
- package/mobile/lib/components/CreditForm/renderStep.js +2 -2
- package/mobile/lib/components/CreditForm/renderStep.js.map +1 -1
- package/mobile/lib/components/OfficesAtmsMap/OfficesAtmsMapLayout.d.ts +0 -1
- package/mobile/lib/components/OfficesAtmsMap/OfficesAtmsMapLayout.js +0 -4
- package/mobile/lib/components/OfficesAtmsMap/OfficesAtmsMapLayout.js.map +1 -1
- package/mobile/lib/components/OfficesAtmsMap/filterItems.d.ts +2 -0
- package/mobile/lib/components/OfficesAtmsMap/filterItems.js +6 -0
- package/mobile/lib/components/OfficesAtmsMap/filterItems.js.map +1 -0
- package/mobile/lib/components/OfficesAtmsMap/useOfficesAtmsMapData.js +1 -1
- package/mobile/lib/components/OfficesAtmsMap/useOfficesAtmsMapData.js.map +1 -1
- package/mobile/lib/hooks/useJSONRef/useJSONRef.js +13 -3
- package/mobile/lib/hooks/useJSONRef/useJSONRef.js.map +1 -1
- package/mobile/lib/ui-kit/ConsentBkiDialog/useConsentBkiDialog.js +14 -9
- package/mobile/lib/ui-kit/ConsentBkiDialog/useConsentBkiDialog.js.map +1 -1
- package/mobile/lib/ui-kit/FormField/CustomFieldProps.d.ts +1 -0
- package/mobile/lib/ui-kit/FormField/Fields/CardCategoryField.js +13 -4
- package/mobile/lib/ui-kit/FormField/Fields/CardCategoryField.js.map +1 -1
- package/mobile/lib/ui-kit/FormField/Fields/CreditCalcField.d.ts +2 -0
- package/mobile/lib/ui-kit/FormField/Fields/CreditCalcField.js +13 -0
- package/mobile/lib/ui-kit/FormField/Fields/CreditCalcField.js.map +1 -0
- package/mobile/lib/ui-kit/FormField/Fields/PaymentSystemField.js +8 -4
- package/mobile/lib/ui-kit/FormField/Fields/PaymentSystemField.js.map +1 -1
- package/mobile/lib/ui-kit/FormField/Fields/RegionField.js +3 -1
- package/mobile/lib/ui-kit/FormField/Fields/RegionField.js.map +1 -1
- package/mobile/lib/ui-kit/FormField/NameFieldDef.d.ts +1 -1
- package/mobile/lib/ui-kit/FormField/SelectField.js +4 -6
- package/mobile/lib/ui-kit/FormField/SelectField.js.map +1 -1
- package/mobile/lib/ui-kit/FormField/getField.d.ts +1 -1
- package/mobile/lib/ui-kit/FormField/getField.js +5 -4
- package/mobile/lib/ui-kit/FormField/getField.js.map +1 -1
- package/mobile/lib/ui-kit/FormField/getObjectValidator.js +2 -0
- package/mobile/lib/ui-kit/FormField/getObjectValidator.js.map +1 -1
- package/mobile/src/api/RetailAPI/getCardTypes.ts +5 -7
- package/mobile/src/api/RetailAPI/getPaymentSystems.ts +9 -7
- package/mobile/src/api/RetailAPI/updateUserProfile.ts +2 -3
- package/mobile/src/api/RetailAPI/updateUserTask.ts +6 -5
- package/mobile/src/api/RetailAPI/utils/getUpdateUserProfile.ts +2 -2
- package/mobile/src/components/ApplicationForm/ApplicationForm.tsx +1 -1
- package/mobile/src/components/ApplicationForm/renderInputs.tsx +2 -2
- package/mobile/src/components/ApplicationLeadForm/GroupedConsents.tsx +1 -1
- package/mobile/src/components/ApplicationLeadForm/getInitialFormState.tsx +13 -7
- package/mobile/src/components/ApplicationLeadForm/useApplicationLeadApi.ts +32 -16
- package/mobile/src/components/CalculatorCredit/CalculatorCredit.tsx +7 -5
- package/mobile/src/components/CalculatorCredit/defaultValueAdapter.ts +26 -0
- package/mobile/src/components/CreditCardForm/CreditCardForm.tsx +4 -8
- package/mobile/src/components/CreditCardForm/CreditCardFormStatus.tsx +7 -1
- package/mobile/src/components/CreditCardForm/CreditCardFormStatusTracker.tsx +14 -8
- package/mobile/src/components/CreditCardForm/CreditCardFormStep.tsx +3 -18
- package/mobile/src/components/CreditCardForm/PendingStatusContent.tsx +24 -21
- package/mobile/src/components/CreditCardForm/renderInputs.tsx +3 -2
- package/mobile/src/components/CreditCardForm/renderStep.tsx +3 -4
- package/mobile/src/components/CreditForm/CreditForm.tsx +12 -30
- package/mobile/src/components/CreditForm/CreditFormContent.ts +5 -8
- package/mobile/src/components/CreditForm/CreditFormStatusTracker.tsx +14 -13
- package/mobile/src/components/CreditForm/CreditFormStep.tsx +10 -24
- package/mobile/src/components/CreditForm/ProgramsSourceProps.tsx +20 -0
- package/mobile/src/components/CreditForm/creditFormStepsData.tsx +9 -1
- package/mobile/src/components/CreditForm/formStateMap.tsx +9 -7
- package/mobile/src/components/CreditForm/getCalcData.ts +19 -0
- package/mobile/src/components/CreditForm/getCreditFormTaskData.ts +3 -2
- package/mobile/src/components/CreditForm/getSecondStepData.tsx +0 -1
- package/mobile/src/components/CreditForm/getZeroStepData.ts +7 -11
- package/mobile/src/components/CreditForm/renderInputs.tsx +3 -2
- package/mobile/src/components/CreditForm/renderStep.tsx +3 -3
- package/mobile/src/components/OfficesAtmsMap/OfficesAtmsMapLayout.tsx +0 -9
- package/mobile/src/components/OfficesAtmsMap/filterItems.tsx +11 -0
- package/mobile/src/components/OfficesAtmsMap/useOfficesAtmsMapData.tsx +1 -1
- package/mobile/src/hooks/useJSONRef/useJSONRef.ts +21 -4
- package/mobile/src/ui-kit/ConsentBkiDialog/useConsentBkiDialog.tsx +14 -10
- package/mobile/src/ui-kit/FormField/CustomFieldProps.ts +1 -0
- package/mobile/src/ui-kit/FormField/Fields/CardCategoryField.tsx +17 -4
- package/mobile/src/ui-kit/FormField/Fields/CreditCalcField.tsx +24 -0
- package/mobile/src/ui-kit/FormField/Fields/PaymentSystemField.tsx +8 -4
- package/mobile/src/ui-kit/FormField/Fields/RegionField.tsx +4 -1
- package/mobile/src/ui-kit/FormField/NameFieldDef.ts +1 -0
- package/mobile/src/ui-kit/FormField/SelectField.tsx +4 -6
- package/mobile/src/ui-kit/FormField/getField.tsx +5 -4
- package/mobile/src/ui-kit/FormField/getObjectValidator.tsx +2 -0
- package/package.json +3 -2
- package/src/api/RetailAPI/getCardTypes.ts +5 -7
- package/src/api/RetailAPI/getPaymentSystems.ts +9 -7
- package/src/api/RetailAPI/updateUserProfile.ts +2 -3
- package/src/api/RetailAPI/updateUserTask.ts +6 -5
- package/src/api/RetailAPI/utils/getUpdateUserProfile.ts +2 -2
- package/src/components/ApplicationForm/ApplicationForm.tsx +1 -1
- package/src/components/ApplicationForm/renderInputs.tsx +2 -2
- package/src/components/ApplicationLeadForm/GroupedConsents.tsx +1 -1
- package/src/components/ApplicationLeadForm/getInitialFormState.tsx +13 -7
- package/src/components/ApplicationLeadForm/useApplicationLeadApi.ts +32 -16
- package/src/components/CalculatorCredit/CalculatorCredit.tsx +7 -5
- package/src/components/CalculatorCredit/defaultValueAdapter.ts +26 -0
- package/src/components/CreditCardForm/CreditCardForm.tsx +4 -8
- package/src/components/CreditCardForm/CreditCardFormStatus.tsx +7 -1
- package/src/components/CreditCardForm/CreditCardFormStatusTracker.tsx +14 -8
- package/src/components/CreditCardForm/CreditCardFormStep.tsx +3 -18
- package/src/components/CreditCardForm/PendingStatusContent.tsx +24 -21
- package/src/components/CreditCardForm/renderInputs.tsx +3 -2
- package/src/components/CreditCardForm/renderStep.tsx +3 -4
- package/src/components/CreditForm/CreditForm.fixture.tsx +6 -1
- package/src/components/CreditForm/CreditForm.tsx +12 -30
- package/src/components/CreditForm/CreditFormContent.ts +5 -8
- package/src/components/CreditForm/CreditFormStatusTracker.tsx +14 -13
- package/src/components/CreditForm/CreditFormStep.tsx +10 -24
- package/src/components/CreditForm/ProgramsSourceProps.tsx +20 -0
- package/src/components/CreditForm/creditFormStepsData.tsx +9 -1
- package/src/components/CreditForm/formStateMap.tsx +9 -7
- package/src/components/CreditForm/getCalcData.ts +19 -0
- package/src/components/CreditForm/getCreditFormTaskData.ts +3 -2
- package/src/components/CreditForm/getSecondStepData.tsx +0 -1
- package/src/components/CreditForm/getZeroStepData.ts +7 -11
- package/src/components/CreditForm/renderInputs.tsx +3 -2
- package/src/components/CreditForm/renderStep.tsx +3 -3
- package/src/components/OfficesAtmsMap/OfficesAtmsMapLayout.tsx +0 -9
- package/src/components/OfficesAtmsMap/filterItems.tsx +11 -0
- package/src/components/OfficesAtmsMap/useOfficesAtmsMapData.tsx +1 -1
- package/src/hooks/useJSONRef/useJSONRef.ts +21 -4
- package/src/ui-kit/ConsentBkiDialog/useConsentBkiDialog.tsx +14 -10
- package/src/ui-kit/FormField/CustomFieldProps.ts +1 -0
- package/src/ui-kit/FormField/Fields/CardCategoryField.tsx +17 -4
- package/src/ui-kit/FormField/Fields/CreditCalcField.tsx +24 -0
- package/src/ui-kit/FormField/Fields/PaymentSystemField.tsx +8 -4
- package/src/ui-kit/FormField/Fields/RegionField.tsx +4 -1
- package/src/ui-kit/FormField/NameFieldDef.ts +1 -0
- package/src/ui-kit/FormField/SelectField.tsx +4 -6
- package/src/ui-kit/FormField/getField.tsx +5 -4
- package/src/ui-kit/FormField/getObjectValidator.tsx +2 -0
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type PaymentType } from '../../api/RetailAPI/updateUserTask';
|
|
1
2
|
import { type Option } from '../../ui-kit/Select/Option';
|
|
2
3
|
import { type FieldDef } from './ApplicationLeadFormContent';
|
|
3
4
|
export interface FormConsents {
|
|
@@ -131,13 +132,18 @@ export interface FormState extends FormConsents, FormStateDeliveryType {
|
|
|
131
132
|
cardCategory?: Option;
|
|
132
133
|
codeWord?: string;
|
|
133
134
|
esiaAccountTypeCd?: Option;
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
135
|
+
calculator?: {
|
|
136
|
+
moneyValue?: number;
|
|
137
|
+
monthsValue?: number;
|
|
138
|
+
isAnnuity?: boolean;
|
|
139
|
+
isInsurance?: boolean;
|
|
140
|
+
isSalaryClient?: boolean;
|
|
141
|
+
isPensionClient?: boolean;
|
|
142
|
+
isStateEmployee?: boolean;
|
|
143
|
+
};
|
|
141
144
|
addressRetail?: Option;
|
|
145
|
+
loanAmount?: number;
|
|
146
|
+
creditPeriod?: number;
|
|
147
|
+
paymentTypeCd?: PaymentType;
|
|
142
148
|
}
|
|
143
149
|
export declare const getInitialFormState: (inputs: FieldDef[], savedForm: FormState | null, typeForm?: string) => FormState;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { type JSONRefObject } from '../../data/JSONRefObject';
|
|
2
|
-
import { type PreventableEvent } from '../../ui-kit/PreventableEvent';
|
|
3
2
|
import { type UniBlockProps } from '../../UniBlock/UniBlockProps';
|
|
4
|
-
import { type CalculatorCreditContent, type CreditCalculatorData } from './CalculatorCreditContent';
|
|
3
|
+
import { type CalculatorCreditContent, type CreditCalculatorData, type CreditCalculatorUserInputParams } from './CalculatorCreditContent';
|
|
5
4
|
export interface CalculatorDepositProps extends CalculatorCreditContent, UniBlockProps {
|
|
6
5
|
className?: string;
|
|
7
6
|
calcSource?: CreditCalculatorData & JSONRefObject;
|
|
8
|
-
|
|
7
|
+
onChange?: (params: CreditCalculatorUserInputParams) => void;
|
|
9
8
|
}
|
|
10
9
|
export declare const CalculatorCredit: import("../../UniBlock/UniBlock").UniBlockComponent<CalculatorDepositProps>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type CreditCalculatorUserInputParams, type CreditDefaultParams } from './CalculatorCreditContent';
|
|
2
|
+
export declare const PARAMS_MAP: {
|
|
3
|
+
moneyValue: string;
|
|
4
|
+
monthsValue: string;
|
|
5
|
+
isInsurance: string;
|
|
6
|
+
isPensionClient: string;
|
|
7
|
+
isStateEmployee: string;
|
|
8
|
+
isSalaryClient: string;
|
|
9
|
+
isAnnuity: string;
|
|
10
|
+
};
|
|
11
|
+
export declare const defaultValueAdapter: (value?: CreditCalculatorUserInputParams, isInverse?: boolean) => CreditDefaultParams;
|
|
@@ -5,6 +5,7 @@ declare type CreditCardFormStatusProps = UniBlockProps & {
|
|
|
5
5
|
title?: string;
|
|
6
6
|
description?: string;
|
|
7
7
|
interval?: number;
|
|
8
|
+
intervalExpireAction?: () => void;
|
|
8
9
|
sectionInfoTitle?: string;
|
|
9
10
|
sectionInfo?: (LabelProps & DescriptionProps)[];
|
|
10
11
|
sectionAdditionalTitle?: string;
|
|
@@ -4,5 +4,6 @@ import { type FormState } from '../ApplicationLeadForm/getInitialFormState';
|
|
|
4
4
|
export interface RenderInputsProps {
|
|
5
5
|
inputs: FieldDef[];
|
|
6
6
|
field: FormFieldRegisterer<FormState>;
|
|
7
|
+
params?: Record<string, any>;
|
|
7
8
|
}
|
|
8
|
-
export declare const renderInputs: ({ field, inputs }: RenderInputsProps) => any[];
|
|
9
|
+
export declare const renderInputs: ({ field, inputs, params }: RenderInputsProps) => any[];
|
|
@@ -5,7 +5,7 @@ export declare type CustomSubmit = FormOperatorProps<FormState>['onSubmit'];
|
|
|
5
5
|
export interface StepProps {
|
|
6
6
|
sections?: CreditCardSectionsProps[];
|
|
7
7
|
field: FormFieldRegisterer<FormState>;
|
|
8
|
-
registerSubmit?: (submit: CustomSubmit) => void;
|
|
9
8
|
step: number;
|
|
9
|
+
params?: Record<string, any>;
|
|
10
10
|
}
|
|
11
|
-
export declare const renderStep: ({ sections, field, step }: StepProps) => any[] | undefined;
|
|
11
|
+
export declare const renderStep: ({ sections, field, step, params }: StepProps) => any[] | undefined;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
+
import { type JSONRefObject } from '../../data/JSONRefObject';
|
|
1
2
|
import { type UniBlockProps } from '../../UniBlock/UniBlockProps';
|
|
2
3
|
import { type CreditFormContent } from './CreditFormContent';
|
|
3
|
-
|
|
4
|
+
import { type ProgramsSourceProps } from './ProgramsSourceProps';
|
|
5
|
+
interface CreditFormProps extends CreditFormContent, UniBlockProps {
|
|
6
|
+
programsSource?: ProgramsSourceProps | JSONRefObject;
|
|
4
7
|
}
|
|
5
|
-
export declare const CreditForm: import("
|
|
8
|
+
export declare const CreditForm: import("../../UniBlock/UniBlock").UniBlockComponent<CreditFormProps>;
|
|
6
9
|
export {};
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { type
|
|
2
|
-
import { type InputSectionsType } from '../../model/InputSectionsType';
|
|
1
|
+
import { type JSONRefObject } from '../../data/JSONRefObject';
|
|
3
2
|
import { type UniBlockContent } from '../../UniBlock/UniBlockProps';
|
|
4
3
|
/**
|
|
5
4
|
* @title Форма заявки на потребительский кредит настраиваемая
|
|
6
5
|
*/
|
|
7
|
-
export declare type CreditFormContent = UniBlockContent &
|
|
8
|
-
/** @title
|
|
9
|
-
|
|
6
|
+
export declare type CreditFormContent = UniBlockContent & {
|
|
7
|
+
/** @title Данные по кредитным программам */
|
|
8
|
+
programsSource?: JSONRefObject;
|
|
10
9
|
};
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { type SectionsProps } from '../../model/InputSectionsType';
|
|
2
|
-
import { type
|
|
3
|
-
import { type StepProps } from './renderStep';
|
|
2
|
+
import { type ProgramsSourceProps } from './ProgramsSourceProps';
|
|
4
3
|
export interface CreditFormStepProps {
|
|
5
4
|
step: number;
|
|
6
5
|
sections: SectionsProps[];
|
|
7
6
|
onNextStep: () => void;
|
|
8
7
|
onPrevStep: () => void;
|
|
9
|
-
renderStep?: (props: StepProps) => VNode | VNode[] | undefined;
|
|
10
8
|
isFormFinished: boolean;
|
|
11
9
|
finishForm?: (bool: boolean) => void;
|
|
10
|
+
programsSource?: ProgramsSourceProps;
|
|
12
11
|
}
|
|
13
12
|
export declare const CreditFormStep: import("@redneckz/uni-jsx").UNIComponent<CreditFormStepProps, any, any>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { type JSONRefObject } from '../../data/JSONRefObject';
|
|
2
|
+
import { type CreditCalculatorData, type CreditCalculatorUserInputParams } from '../CalculatorCredit/CalculatorCreditContent';
|
|
3
|
+
export declare type ProgramsSourceProps = {
|
|
4
|
+
[programId: string]: {
|
|
5
|
+
title?: string;
|
|
6
|
+
footnote?: string;
|
|
7
|
+
paramsViewSettings: {
|
|
8
|
+
isShowSalaryClient?: boolean;
|
|
9
|
+
isShowInsurance?: boolean;
|
|
10
|
+
isShowStateEmployee?: boolean;
|
|
11
|
+
isShowPensionClient?: boolean;
|
|
12
|
+
};
|
|
13
|
+
defaultParams?: CreditCalculatorUserInputParams;
|
|
14
|
+
calcSource?: CreditCalculatorData & JSONRefObject;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { type UpdateUserTaskBody } from '../../api/RetailAPI/updateUserTask';
|
|
2
|
+
import { type FormState } from '../ApplicationLeadForm/getInitialFormState';
|
|
3
|
+
export declare const getCalcData: (formData: FormState) => Pick<UpdateUserTaskBody['task'], 'loanAmount' | 'creditPeriod' | 'paymentTypeCd'>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { type Participant } from '../../api/RetailAPI/updateUserTask';
|
|
2
2
|
import { type FormState } from '../ApplicationLeadForm/getInitialFormState';
|
|
3
|
-
export declare const getZeroStepData: (formData: FormState) =>
|
|
3
|
+
export declare const getZeroStepData: (formData: FormState) => Pick<Participant, 'payrollCardRshbFlg' | 'consentInsuranceFlg'>;
|
|
@@ -4,5 +4,6 @@ import { type FormState } from '../ApplicationLeadForm/getInitialFormState';
|
|
|
4
4
|
export interface RenderInputsProps {
|
|
5
5
|
inputs: FieldDef[];
|
|
6
6
|
field: FormFieldRegisterer<FormState>;
|
|
7
|
+
params?: Record<string, any>;
|
|
7
8
|
}
|
|
8
|
-
export declare const renderInputs: ({ field, inputs }: RenderInputsProps) => any[];
|
|
9
|
+
export declare const renderInputs: ({ field, inputs, params }: RenderInputsProps) => any[];
|
|
@@ -5,7 +5,7 @@ export declare type CustomSubmit = FormOperatorProps<FormState>['onSubmit'];
|
|
|
5
5
|
export interface StepProps {
|
|
6
6
|
sections?: SectionsProps[];
|
|
7
7
|
field: FormFieldRegisterer<FormState>;
|
|
8
|
-
registerSubmit?: (submit: CustomSubmit) => void;
|
|
9
8
|
step: number;
|
|
9
|
+
params?: Record<string, any>;
|
|
10
10
|
}
|
|
11
|
-
export declare const renderStep: ({ sections, field, step }: StepProps) => any[] | undefined;
|
|
11
|
+
export declare const renderStep: ({ sections, field, step, params }: StepProps) => any[] | undefined;
|
|
@@ -18,5 +18,4 @@ export interface OfficesAtmsMapLayoutProps<T> {
|
|
|
18
18
|
title?: string;
|
|
19
19
|
}
|
|
20
20
|
export declare const OfficesAtmsMapLayout: import("@redneckz/uni-jsx").UNIComponent<OfficesAtmsMapLayoutProps<Branch | RemoteWorkplace | Atm>, any, any>;
|
|
21
|
-
export declare const filterItems: (data: (Branch | RemoteWorkplace)[], filtrationState: Record<string, boolean>) => (Branch | RemoteWorkplace)[];
|
|
22
21
|
export declare const getFiltersWithNonEmptyData: (data: (Branch | Atm | RemoteWorkplace)[]) => string[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare type NameFieldDef = 'surname' | 'name' | 'middleName' | 'education' | 'housing' | 'employment' | 'organization' | 'organizationPhone' | 'organizationAddress' | 'amountWorkers' | 'employerActivities' | 'employerOrganization' | 'positionOrganization' | 'dulSerie' | 'dulNumber' | 'dulIssueDateField' | 'dulSubdivisionCode' | 'dulIssuedBy' | 'email' | 'phone' | 'fullName' | 'inn' | 'comment' | 'region' | 'addressBranch' | 'typeForm' | 'registrationDate' | 'birthday' | 'limitedBirthday' | 'birthPlace' | 'sex' | 'isClient' | 'consentToReceiveMaterials' | 'acquiringType' | 'onlineCheckout' | 'posTerminal' | 'serviceDirection' | 'serviceType' | 'feedbackMethod' | 'bankEmpolee' | 'applicationDate' | 'secondaryPhone' | 'vedTypes' | 'term' | 'amount' | 'annualRevenue' | 'collectionCount' | 'desiredMeetingDate' | 'product' | 'localities' | 'partnerComments' | 'consentDataProcessing' | 'consentInformFlg' | 'consentOthersFlg' | 'consentPfrFlg' | 'consentProviderFlg' | 'processPersonalDataFlg' | 'legalForm' | 'organizationName' | 'generalSeniority' | 'lastJobExperience' | 'experience5Years' | 'jobsNumber' | 'beginDate' | 'addressFact' | 'familyStatus' | 'children' | 'familyMembers' | 'dependents' | 'totalIncome' | 'expenses' | 'snils' | 'conscription' | 'armyIdFlg' | 'addressRegistration' | 'participantDateRegistration' | 'retirementIncome' | 'otherIncome' | 'incomeAverage' | 'mandatoryPayments' | 'additionalIncome' | 'otherPayments' | 'rentalIncome' | 'wages' | 'creditInRshbCd' | 'disablePeopleFlg' | 'bankruptcyFlg' | 'shareholderFlg' | 'legalEntityName' | 'bankEmployeeCode' | 'partInBusiness' | 'regionRetail' | 'addressRetail' | 'addressMatch' | 'addressCourier' | 'deliveryDate' | 'methodObtain' | 'paymentSystem' | 'currency' | 'cardCategory' | 'codeWord' | 'confirmationIncome';
|
|
1
|
+
export declare type NameFieldDef = 'surname' | 'name' | 'middleName' | 'education' | 'housing' | 'employment' | 'organization' | 'organizationPhone' | 'organizationAddress' | 'amountWorkers' | 'employerActivities' | 'employerOrganization' | 'positionOrganization' | 'dulSerie' | 'dulNumber' | 'dulIssueDateField' | 'dulSubdivisionCode' | 'dulIssuedBy' | 'email' | 'phone' | 'fullName' | 'inn' | 'comment' | 'region' | 'addressBranch' | 'typeForm' | 'registrationDate' | 'birthday' | 'limitedBirthday' | 'birthPlace' | 'sex' | 'isClient' | 'consentToReceiveMaterials' | 'acquiringType' | 'onlineCheckout' | 'posTerminal' | 'serviceDirection' | 'serviceType' | 'feedbackMethod' | 'bankEmpolee' | 'applicationDate' | 'secondaryPhone' | 'vedTypes' | 'term' | 'amount' | 'annualRevenue' | 'collectionCount' | 'desiredMeetingDate' | 'product' | 'localities' | 'partnerComments' | 'consentDataProcessing' | 'consentInformFlg' | 'consentOthersFlg' | 'consentPfrFlg' | 'consentProviderFlg' | 'processPersonalDataFlg' | 'legalForm' | 'organizationName' | 'generalSeniority' | 'lastJobExperience' | 'experience5Years' | 'jobsNumber' | 'beginDate' | 'addressFact' | 'familyStatus' | 'children' | 'familyMembers' | 'dependents' | 'totalIncome' | 'expenses' | 'snils' | 'conscription' | 'armyIdFlg' | 'addressRegistration' | 'participantDateRegistration' | 'retirementIncome' | 'otherIncome' | 'incomeAverage' | 'mandatoryPayments' | 'additionalIncome' | 'otherPayments' | 'rentalIncome' | 'wages' | 'creditInRshbCd' | 'disablePeopleFlg' | 'bankruptcyFlg' | 'shareholderFlg' | 'legalEntityName' | 'bankEmployeeCode' | 'partInBusiness' | 'regionRetail' | 'addressRetail' | 'addressMatch' | 'addressCourier' | 'deliveryDate' | 'methodObtain' | 'paymentSystem' | 'currency' | 'cardCategory' | 'codeWord' | 'calculator' | 'confirmationIncome';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { type FieldDef } from '../../components/ApplicationForm/ApplicationFormContent';
|
|
2
2
|
import { type FormFieldRegisterer } from '../../hooks/useForm';
|
|
3
|
-
export declare const getField: (field: FormFieldRegisterer<any>,
|
|
3
|
+
export declare const getField: (field: FormFieldRegisterer<any>, params?: Record<string, any>) => (input: FieldDef, i: number) => any;
|
|
@@ -5,4 +5,4 @@ export declare type CardTypeData = {
|
|
|
5
5
|
displayOrder: number;
|
|
6
6
|
description: string;
|
|
7
7
|
};
|
|
8
|
-
export declare const getCardTypes: (
|
|
8
|
+
export declare const getCardTypes: (paymentSystemTypeCd: string, creditProgramId: string) => Promise<CardTypeData[]>;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
2
|
exports.getCardTypes = void 0;
|
|
3
3
|
const doRequest_1 = require("./doRequest");
|
|
4
|
-
const getCardTypes = async (
|
|
5
|
-
const
|
|
4
|
+
const getCardTypes = async (paymentSystemTypeCd, creditProgramId) => {
|
|
5
|
+
const data = await (0, doRequest_1.fetchRetailJSON)('/dictionaryFiltered', 'POST', {
|
|
6
6
|
type: 'CARD_TYPE',
|
|
7
|
-
presets: {
|
|
7
|
+
presets: { paymentSystemTypeCd, creditProgramId },
|
|
8
8
|
});
|
|
9
|
-
|
|
10
|
-
return data;
|
|
9
|
+
return Array.isArray(data) ? data : [];
|
|
11
10
|
};
|
|
12
11
|
exports.getCardTypes = getCardTypes;
|
|
13
12
|
//# sourceMappingURL=getCardTypes.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getCardTypes.js","sourceRoot":"","sources":["../../../src/api/RetailAPI/getCardTypes.ts"],"names":[],"mappings":";;AAAA,
|
|
1
|
+
{"version":3,"file":"getCardTypes.js","sourceRoot":"","sources":["../../../src/api/RetailAPI/getCardTypes.ts"],"names":[],"mappings":";;AAAA,2CAA8C;AAUvC,MAAM,YAAY,GAAG,KAAK,EAAE,mBAA2B,EAAE,eAAuB,EAAE,EAAE;IACzF,MAAM,IAAI,GAAG,MAAM,IAAA,2BAAe,EAAiB,qBAAqB,EAAE,MAAM,EAAE;QAChF,IAAI,EAAE,WAAW;QACjB,OAAO,EAAE,EAAE,mBAAmB,EAAE,eAAe,EAAE;KAClD,CAAC,CAAC;IAEH,OAAO,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC;AACzC,CAAC,CAAC;AAPW,QAAA,YAAY,gBAOvB"}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
2
|
exports.getPaymentSystems = void 0;
|
|
3
3
|
const doRequest_1 = require("./doRequest");
|
|
4
|
-
const getPaymentSystems = async () => {
|
|
5
|
-
const
|
|
6
|
-
creditProgramId
|
|
4
|
+
const getPaymentSystems = async (creditProgramId) => {
|
|
5
|
+
const data = await (0, doRequest_1.fetchRetailJSON)('/public-data/creditProgramConditions', 'POST', {
|
|
6
|
+
creditProgramId,
|
|
7
7
|
});
|
|
8
|
-
const data = await response?.json();
|
|
9
8
|
return (data?.paymentSystems?.map((paymentSystem) => ({
|
|
10
9
|
id: paymentSystem.type,
|
|
11
10
|
text: paymentSystem.name,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getPaymentSystems.js","sourceRoot":"","sources":["../../../src/api/RetailAPI/getPaymentSystems.ts"],"names":[],"mappings":";;AAAA,
|
|
1
|
+
{"version":3,"file":"getPaymentSystems.js","sourceRoot":"","sources":["../../../src/api/RetailAPI/getPaymentSystems.ts"],"names":[],"mappings":";;AAAA,2CAA8C;AASvC,MAAM,iBAAiB,GAAG,KAAK,EAAE,eAAuB,EAAE,EAAE;IACjE,MAAM,IAAI,GAAG,MAAM,IAAA,2BAAe,EAChC,sCAAsC,EACtC,MAAM,EACN;QACE,eAAe;KAChB,CACF,CAAC;IAEF,OAAO,CACL,IAAI,EAAE,cAAc,EAAE,GAAG,CAAC,CAAC,aAAa,EAAE,EAAE,CAAC,CAAC;QAC5C,EAAE,EAAE,aAAa,CAAC,IAAI;QACtB,IAAI,EAAE,aAAa,CAAC,IAAI;KACzB,CAAC,CAAC,IAAI,EAAE,CACV,CAAC;AACJ,CAAC,CAAC;AAfW,QAAA,iBAAiB,qBAe5B"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { type CreateUserProfileResponse } from './updateUserTask';
|
|
2
1
|
export declare type UpdateUserProfileBody = {
|
|
3
2
|
profile: {
|
|
4
3
|
id: number;
|
|
@@ -19,4 +18,4 @@ export declare type UpdateUserProfileBody = {
|
|
|
19
18
|
smsConsentBki?: string;
|
|
20
19
|
};
|
|
21
20
|
};
|
|
22
|
-
export declare const updateUserProfile: (body: UpdateUserProfileBody) => Promise<
|
|
21
|
+
export declare const updateUserProfile: (body: UpdateUserProfileBody) => Promise<Response>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
2
|
exports.updateUserProfile = void 0;
|
|
3
3
|
const doRequest_1 = require("./doRequest");
|
|
4
|
-
const updateUserProfile = (body) => (0, doRequest_1.
|
|
4
|
+
const updateUserProfile = (body) => (0, doRequest_1.doRequest)('/user-data/updateUserProfile', 'PUT', body);
|
|
5
5
|
exports.updateUserProfile = updateUserProfile;
|
|
6
6
|
//# sourceMappingURL=updateUserProfile.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updateUserProfile.js","sourceRoot":"","sources":["../../../src/api/RetailAPI/updateUserProfile.ts"],"names":[],"mappings":";;AAAA,
|
|
1
|
+
{"version":3,"file":"updateUserProfile.js","sourceRoot":"","sources":["../../../src/api/RetailAPI/updateUserProfile.ts"],"names":[],"mappings":";;AAAA,2CAAwC;AAuBjC,MAAM,iBAAiB,GAAG,CAAC,IAA2B,EAAE,EAAE,CAC/D,IAAA,qBAAS,EAAC,8BAA8B,EAAE,KAAK,EAAE,IAAI,CAAC,CAAC;AAD5C,QAAA,iBAAiB,qBAC2B"}
|
|
@@ -70,6 +70,7 @@ export declare type Participant = {
|
|
|
70
70
|
participantAddresses?: ParticipantAddress[];
|
|
71
71
|
participantIncomes?: ParticipantIncome[];
|
|
72
72
|
payrollCardRshbFlg?: boolean;
|
|
73
|
+
consentInsuranceFlg?: boolean;
|
|
73
74
|
positionCd?: Option;
|
|
74
75
|
registrationDate?: string;
|
|
75
76
|
seniority?: string;
|
|
@@ -94,9 +95,6 @@ export declare type Participant = {
|
|
|
94
95
|
paymentSystemTypeCd?: string;
|
|
95
96
|
classCard?: Option;
|
|
96
97
|
codeWord?: string;
|
|
97
|
-
loanAmount?: number;
|
|
98
|
-
creditPeriod?: number;
|
|
99
|
-
paymentTypeCd?: PaymentType;
|
|
100
98
|
};
|
|
101
99
|
export declare type UpdateUserTaskBody = {
|
|
102
100
|
sendToBank: boolean;
|
|
@@ -117,6 +115,9 @@ export declare type UpdateUserTaskBody = {
|
|
|
117
115
|
esiaAccountTypeCd?: {
|
|
118
116
|
key: 'VERIFIED' | 'STANDARD' | 'SIMPLIFIED';
|
|
119
117
|
};
|
|
118
|
+
loanAmount?: number;
|
|
119
|
+
creditPeriod?: number;
|
|
120
|
+
paymentTypeCd?: PaymentType;
|
|
120
121
|
};
|
|
121
122
|
};
|
|
122
123
|
export declare type CreateUserProfileResponse = {
|
|
@@ -124,5 +125,5 @@ export declare type CreateUserProfileResponse = {
|
|
|
124
125
|
id: number;
|
|
125
126
|
};
|
|
126
127
|
};
|
|
127
|
-
export declare const updateUserTask: (body: UpdateUserTaskBody) => Promise<
|
|
128
|
+
export declare const updateUserTask: (body: UpdateUserTaskBody) => Promise<Response>;
|
|
128
129
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
2
|
exports.updateUserTask = void 0;
|
|
3
3
|
const doRequest_1 = require("./doRequest");
|
|
4
|
-
const updateUserTask = (body) => (0, doRequest_1.
|
|
4
|
+
const updateUserTask = (body) => (0, doRequest_1.doRequest)('/user-data/updateUserTask', 'PUT', body);
|
|
5
5
|
exports.updateUserTask = updateUserTask;
|
|
6
6
|
//# sourceMappingURL=updateUserTask.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updateUserTask.js","sourceRoot":"","sources":["../../../src/api/RetailAPI/updateUserTask.ts"],"names":[],"mappings":";;AACA,
|
|
1
|
+
{"version":3,"file":"updateUserTask.js","sourceRoot":"","sources":["../../../src/api/RetailAPI/updateUserTask.ts"],"names":[],"mappings":";;AACA,2CAAwC;AA8IjC,MAAM,cAAc,GAAG,CAAC,IAAwB,EAAE,EAAE,CACzD,IAAA,qBAAS,EAAC,2BAA2B,EAAE,KAAK,EAAE,IAAI,CAAC,CAAC;AADzC,QAAA,cAAc,kBAC2B"}
|
|
@@ -3,14 +3,14 @@ exports.getUpdateUserProfileData = void 0;
|
|
|
3
3
|
const formatDate_1 = require("../../../utils/formatDate");
|
|
4
4
|
const formatPhone_1 = require("../../../utils/formatPhone");
|
|
5
5
|
const getUpdateUserProfileData = (profileId, formData) => {
|
|
6
|
-
const { name = '', surname = '', middleName = '',
|
|
6
|
+
const { name = '', surname = '', middleName = '', limitedBirthday = '', phone = '', email = '', processPersonalDataFlg, consentProviderFlg, consentPfrFlg, consentPhotoFlg, consentAssignmentClaimsFlg, consentCollectionFlg, consentInformFlg, } = formData;
|
|
7
7
|
return {
|
|
8
8
|
profile: {
|
|
9
9
|
id: profileId,
|
|
10
10
|
name,
|
|
11
11
|
surname,
|
|
12
12
|
midname: middleName,
|
|
13
|
-
birthDate:
|
|
13
|
+
birthDate: limitedBirthday && (0, formatDate_1.formatDate)(limitedBirthday, true),
|
|
14
14
|
email,
|
|
15
15
|
phone: (0, formatPhone_1.formatPhone)(phone),
|
|
16
16
|
processPersonalDataFlg: Boolean(processPersonalDataFlg),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getUpdateUserProfile.js","sourceRoot":"","sources":["../../../../src/api/RetailAPI/utils/getUpdateUserProfile.ts"],"names":[],"mappings":";;AACA,0DAAuD;AACvD,4DAAyD;AAGlD,MAAM,wBAAwB,GAAG,CACtC,SAAiB,EACjB,QAAmB,EACI,EAAE;IACzB,MAAM,EACJ,IAAI,GAAG,EAAE,EACT,OAAO,GAAG,EAAE,EACZ,UAAU,GAAG,EAAE,EACf,
|
|
1
|
+
{"version":3,"file":"getUpdateUserProfile.js","sourceRoot":"","sources":["../../../../src/api/RetailAPI/utils/getUpdateUserProfile.ts"],"names":[],"mappings":";;AACA,0DAAuD;AACvD,4DAAyD;AAGlD,MAAM,wBAAwB,GAAG,CACtC,SAAiB,EACjB,QAAmB,EACI,EAAE;IACzB,MAAM,EACJ,IAAI,GAAG,EAAE,EACT,OAAO,GAAG,EAAE,EACZ,UAAU,GAAG,EAAE,EACf,eAAe,GAAG,EAAE,EACpB,KAAK,GAAG,EAAE,EACV,KAAK,GAAG,EAAE,EACV,sBAAsB,EACtB,kBAAkB,EAClB,aAAa,EACb,eAAe,EACf,0BAA0B,EAC1B,oBAAoB,EACpB,gBAAgB,GACjB,GAAG,QAAQ,CAAC;IAEb,OAAO;QACL,OAAO,EAAE;YACP,EAAE,EAAE,SAAS;YACb,IAAI;YACJ,OAAO;YACP,OAAO,EAAE,UAAU;YACnB,SAAS,EAAE,eAAe,IAAI,IAAA,uBAAU,EAAC,eAAe,EAAE,IAAI,CAAC;YAC/D,KAAK;YACL,KAAK,EAAE,IAAA,yBAAW,EAAC,KAAK,CAAC;YACzB,sBAAsB,EAAE,OAAO,CAAC,sBAAsB,CAAC;YACvD,kBAAkB,EAAE,OAAO,CAAC,kBAAkB,CAAC;YAC/C,aAAa,EAAE,OAAO,CAAC,aAAa,CAAC;YACrC,eAAe,EAAE,OAAO,CAAC,eAAe,CAAC;YACzC,0BAA0B,EAAE,OAAO,CAAC,0BAA0B,CAAC;YAC/D,oBAAoB,EAAE,OAAO,CAAC,oBAAoB,CAAC;YACnD,gBAAgB,EAAE,OAAO,CAAC,gBAAgB,CAAC;SAC5C;KACF,CAAC;AACJ,CAAC,CAAC;AAtCW,QAAA,wBAAwB,4BAsCnC"}
|
|
@@ -55,7 +55,7 @@ exports.ApplicationForm = (0, uni_jsx_1.JSX)(
|
|
|
55
55
|
reset();
|
|
56
56
|
}
|
|
57
57
|
}, [responseType]);
|
|
58
|
-
return ((0, jsx_runtime_1.jsxs)(ApplicationFormLayout_1.ApplicationFormLayout, { className: (0, style_1.style)('container space-y-m', className), title: title, ...rest, children: [(0, jsx_runtime_1.jsxs)("form", { onSubmit: onSubmit, children: [sections.map((_, i) => ((0, jsx_runtime_1.jsxs)("div", { className: (0, style_1.style)((0, inputColumnStyle_1.inputColumnStyles)(_.columns), 'grid gap-x-m'), children: [(0, renderTitle_1.renderTitle)(_.title), (_?.inputs || [])?.map((0, getField_1.getField)(field, typeForm))] }, `section-${i}`))), (0, renderAgreementSubmit_1.renderAgreementSubmit)(fieldName ? field('consentDataProcessing') : undefined, link, button)] }), isContacts ? (0, renderContacts_1.renderContacts)() : null] }));
|
|
58
|
+
return ((0, jsx_runtime_1.jsxs)(ApplicationFormLayout_1.ApplicationFormLayout, { className: (0, style_1.style)('container space-y-m', className), title: title, ...rest, children: [(0, jsx_runtime_1.jsxs)("form", { onSubmit: onSubmit, children: [sections.map((_, i) => ((0, jsx_runtime_1.jsxs)("div", { className: (0, style_1.style)((0, inputColumnStyle_1.inputColumnStyles)(_.columns), 'grid gap-x-m'), children: [(0, renderTitle_1.renderTitle)(_.title), (_?.inputs || [])?.map((0, getField_1.getField)(field, { typeForm }))] }, `section-${i}`))), (0, renderAgreementSubmit_1.renderAgreementSubmit)(fieldName ? field('consentDataProcessing') : undefined, link, button)] }), isContacts ? (0, renderContacts_1.renderContacts)() : null] }));
|
|
59
59
|
});
|
|
60
60
|
const getFilteredInputs = (inputs, data) => inputs
|
|
61
61
|
.filter((_) => (_?.name === 'secondaryPhone' ? Boolean(data.secondaryPhone) : _))
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApplicationForm.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/ApplicationForm.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAA+E;AAC/E,6DAA0D;AAC1D,wEAAqE;AACrE,kEAA+D;AAC/D,iDAA8C;AAC9C,oGAAiG;AACjG,8FAA2F;AAC3F,8DAA2D;AAC3D,kFAA+E;AAC/E,8EAA4E;AAC5E,oEAAiE;AAEjE,iGAA8F;AAE9F,6CAA0C;AAC1C,sEAAmE;AACnE,0DAAiE;AAEjE,mDAAgD;AAChD,+DAA4E;AAC5E,mEAAgE;AAChE,qDAAkD;AAIlD,MAAM,GAAG,GAAG,IAAA,+BAAc,GAAE,CAAC;AAEhB,QAAA,eAAe,GAAG,IAAA,aAAG;AAChC,kDAAkD;AAClD,CAAC,EACC,SAAS,EACT,KAAK,EACL,QAAQ,GAAG,EAAE,EACb,QAAQ,GAAG,EAAE,EACb,MAAM,EACN,IAAI,EACJ,QAAQ,EACR,gBAAgB,EAChB,UAAU,EACV,IAAI,EACJ,GAAG,IAAI,EACR,EAAE,EAAE;IACH,MAAM,MAAM,GAAG,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,MAAM,CAAC,IAAI,EAAE,CAAe,CAAC;IACzE,MAAM,gBAAgB,GAAG,IAAA,yCAAmB,EAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;IAC/D,MAAM,CAAC,YAAY,EAAE,eAAe,CAAC,GAAG,IAAA,gBAAQ,EAAqB,EAAE,CAAC,CAAC;IACzE,MAAM,kBAAkB,GAAG,IAAA,6CAAqB,EAAC,EAAE,QAAQ,EAAE,CAAC,CAAC;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AE,MAAM,IAAI,EAAE,CAAC,EAAE,GAAG,CAAC,IAAA,mBAAQ,EAAC,KAAK,EAAE,EAAE,QAAQ,EAAE,CAAC,CAAC,KAJjD,WAAW,CAAC,EAAE,CAKf,CACP,CAAC,EACD,IAAA,6CAAqB,EACpB,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC,uBAAuB,CAAC,CAAC,CAAC,CAAC,SAAS,EACtD,IAAI,EACJ,MAAM,CACP,IACI,EACN,UAAU,CAAC,CAAC,CAAC,IAAA,+BAAc,GAAE,CAAC,CAAC,CAAC,IAAI,IACf,CACzB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,iBAAiB,GAAG,CAAC,MAAkB,EAAE,IAAe,EAAE,EAAE,CAChE,MAAM;KACH,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,IAAI,KAAK,gBAAgB,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;KAChF,MAAM,CACL,CAAC,KAAK,EAAE,EAAE,CACR,CAAC,KAAK,EAAE,SAAS;IACjB,KAAK,EAAE,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE;QACjC,MAAM,SAAS,GAAG,IAAI,EAAE,CAAC,KAAK,EAAE,SAAS,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;QAEvD,OAAO,CAAC,KAAK,CAAC,SAAS,EAAE,GAAG,IAAI,SAAS,CAAC,CAAC;IAC7C,CAAC,CAAC,CACL,CAAC"}
|
|
@@ -6,7 +6,7 @@ const consents_1 = require("../ApplicationLeadForm/consents");
|
|
|
6
6
|
const GroupedConsents_1 = require("../ApplicationLeadForm/GroupedConsents");
|
|
7
7
|
const renderInputs = ({ field, typeForm = '', inputs }) => {
|
|
8
8
|
const { consentInputs, restInputs } = splitInputs(inputs || []);
|
|
9
|
-
return consentInputs.length > 2 ? ((0, jsx_runtime_1.jsxs)("div", { children: [restInputs.map((0, getField_1.getField)(field, typeForm)), (0, jsx_runtime_1.jsx)(GroupedConsents_1.GroupedConsents, { inputs: consentInputs, field: field })] })) : ((inputs || [])?.map((0, getField_1.getField)(field, typeForm)));
|
|
9
|
+
return consentInputs.length > 2 ? ((0, jsx_runtime_1.jsxs)("div", { children: [restInputs.map((0, getField_1.getField)(field, { typeForm })), (0, jsx_runtime_1.jsx)(GroupedConsents_1.GroupedConsents, { inputs: consentInputs, field: field })] })) : ((inputs || [])?.map((0, getField_1.getField)(field, { typeForm })));
|
|
10
10
|
};
|
|
11
11
|
exports.renderInputs = renderInputs;
|
|
12
12
|
const splitInputs = (inputs) => ({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderInputs.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/renderInputs.tsx"],"names":[],"mappings":";;;AAAA,8DAA2D;AAK3D,8DAA2D;AAC3D,4EAAyE;AAElE,MAAM,YAAY,GAAG,CAAC,EAAE,KAAK,EAAE,QAAQ,GAAG,EAAE,EAAE,MAAM,EAAwB,EAAE,EAAE;IACrF,MAAM,EAAE,aAAa,EAAE,UAAU,EAAE,GAAG,WAAW,CAAC,MAAM,IAAI,EAAE,CAAC,CAAC;IAEhE,OAAO,aAAa,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CAChC,4CACG,UAAU,CAAC,GAAG,CAAC,IAAA,mBAAQ,EAAC,KAAK,EAAE,QAAQ,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"renderInputs.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/renderInputs.tsx"],"names":[],"mappings":";;;AAAA,8DAA2D;AAK3D,8DAA2D;AAC3D,4EAAyE;AAElE,MAAM,YAAY,GAAG,CAAC,EAAE,KAAK,EAAE,QAAQ,GAAG,EAAE,EAAE,MAAM,EAAwB,EAAE,EAAE;IACrF,MAAM,EAAE,aAAa,EAAE,UAAU,EAAE,GAAG,WAAW,CAAC,MAAM,IAAI,EAAE,CAAC,CAAC;IAEhE,OAAO,aAAa,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CAChC,4CACG,UAAU,CAAC,GAAG,CAAC,IAAA,mBAAQ,EAAC,KAAK,EAAE,EAAE,QAAQ,EAAE,CAAC,CAAC,EAC9C,uBAAC,iCAAe,IAAC,MAAM,EAAE,aAAa,EAAE,KAAK,EAAE,KAAK,GAAI,IACpD,CACP,CAAC,CAAC,CAAC,CACF,CAAC,MAAM,IAAI,EAAE,CAAC,EAAE,GAAG,CAAC,IAAA,mBAAQ,EAAC,KAAK,EAAE,EAAE,QAAQ,EAAE,CAAC,CAAC,CACnD,CAAC;AACJ,CAAC,CAAC;AAXW,QAAA,YAAY,gBAWvB;AAEF,MAAM,WAAW,GAAG,CAAC,MAAmB,EAAE,EAAE,CAAC,CAAC;IAC5C,aAAa,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,mBAAQ,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE;IACxF,UAAU,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,mBAAQ,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE;CACvF,CAAC,CAAC"}
|
|
@@ -24,7 +24,7 @@ exports.GroupedConsents = (0, uni_jsx_1.JSX)(({ inputs = [], typeForm = '', fiel
|
|
|
24
24
|
const hasValidationErrors = (0, hooks_1.useMemo)(() => inputs
|
|
25
25
|
?.filter((_) => _.required)
|
|
26
26
|
?.some((_) => Boolean((0, withValidator_1.withValidator)(field(_?.name), getObjectValidator_1.validatorObj[_?.name]).error)), [inputs]);
|
|
27
|
-
return ((0, jsx_runtime_1.jsx)("div", { className: "w-fit", children: (0, jsx_runtime_1.jsx)(Foldable_1.Foldable, { isFoldButtonOnTop: true, unfoldedByDefault: true, renderFoldableSection: ({ isUnfolded }) => ((0, jsx_runtime_1.jsx)(FoldableSection_1.FoldableSection, { isUnfolded: isUnfolded, className: "flex flex-col pl-2xl", children: inputs.map((0, getField_1.getField)(field, typeForm)) })), renderFoldButton: renderGeneralCheckbox((0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)(Checkbox_1.Checkbox, { value: isChecked, onChange: handleGeneralToggle, text: CONSENT_ALL_DOCS_TEXT }, key), (0, renderErrorText_1.renderErrorText)(hasValidationErrors ? CONSENT_REQUIRED : '')] })) }) }));
|
|
27
|
+
return ((0, jsx_runtime_1.jsx)("div", { className: "w-fit", children: (0, jsx_runtime_1.jsx)(Foldable_1.Foldable, { isFoldButtonOnTop: true, unfoldedByDefault: true, renderFoldableSection: ({ isUnfolded }) => ((0, jsx_runtime_1.jsx)(FoldableSection_1.FoldableSection, { isUnfolded: isUnfolded, className: "flex flex-col pl-2xl", children: inputs.map((0, getField_1.getField)(field, { typeForm })) })), renderFoldButton: renderGeneralCheckbox((0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)(Checkbox_1.Checkbox, { value: isChecked, onChange: handleGeneralToggle, text: CONSENT_ALL_DOCS_TEXT }, key), (0, renderErrorText_1.renderErrorText)(hasValidationErrors ? CONSENT_REQUIRED : '')] })) }) }));
|
|
28
28
|
});
|
|
29
29
|
const renderGeneralCheckbox = (generalCheckBox) => (foldableData) => ((0, jsx_runtime_1.jsxs)("div", { className: "flex items-start", children: [generalCheckBox, (0, jsx_runtime_1.jsx)("button", { onClick: foldableData.onToggle, className: "px-m py-2xs", type: "button", children: (0, jsx_runtime_1.jsx)(Icon_1.Icon, { className: "text-primary-text", name: foldableData.isUnfolded ? 'ArrowUpIcon' : 'ArrowDownIcon', width: "16", height: "16" }) })] }));
|
|
30
30
|
//# sourceMappingURL=GroupedConsents.js.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AAC,aAAa,EAAC,IAAI,EAAC,QAAQ,YAC3E,uBAAC,WAAI,IACH,SAAS,EAAC,mBAAmB,EAC7B,IAAI,EAAE,YAAY,CAAC,UAAU,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,eAAe,EAC/D,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,GACX,GACK,IACL,CACP,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type PaymentType } from '../../api/RetailAPI/updateUserTask';
|
|
1
2
|
import { type Option } from '../../ui-kit/Select/Option';
|
|
2
3
|
import { type FieldDef } from './ApplicationLeadFormContent';
|
|
3
4
|
export interface FormConsents {
|
|
@@ -131,13 +132,18 @@ export interface FormState extends FormConsents, FormStateDeliveryType {
|
|
|
131
132
|
cardCategory?: Option;
|
|
132
133
|
codeWord?: string;
|
|
133
134
|
esiaAccountTypeCd?: Option;
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
135
|
+
calculator?: {
|
|
136
|
+
moneyValue?: number;
|
|
137
|
+
monthsValue?: number;
|
|
138
|
+
isAnnuity?: boolean;
|
|
139
|
+
isInsurance?: boolean;
|
|
140
|
+
isSalaryClient?: boolean;
|
|
141
|
+
isPensionClient?: boolean;
|
|
142
|
+
isStateEmployee?: boolean;
|
|
143
|
+
};
|
|
141
144
|
addressRetail?: Option;
|
|
145
|
+
loanAmount?: number;
|
|
146
|
+
creditPeriod?: number;
|
|
147
|
+
paymentTypeCd?: PaymentType;
|
|
142
148
|
}
|
|
143
149
|
export declare const getInitialFormState: (inputs: FieldDef[], savedForm: FormState | null, typeForm?: string) => FormState;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
2
|
exports.getInitialFormState = void 0;
|
|
3
|
-
/* eslint-disable max-lines */
|
|
4
3
|
const constants_1 = require("../../ui-kit/FormField/constants");
|
|
5
4
|
const AcquiringField_1 = require("../../ui-kit/FormField/Fields/AcquiringField");
|
|
6
5
|
const VedField_1 = require("../../ui-kit/FormField/Fields/VedField");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getInitialFormState.js","sourceRoot":"","sources":["../../../src/components/ApplicationLeadForm/getInitialFormState.tsx"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"getInitialFormState.js","sourceRoot":"","sources":["../../../src/components/ApplicationLeadForm/getInitialFormState.tsx"],"names":[],"mappings":";;AAEA,gEAI0C;AAC1C,iFAA+E;AAC/E,qEAAmE;AAyJnE,MAAM,gBAAgB,GAAG;IACvB,QAAQ,EAAE,EAAE;IACZ,MAAM,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE;IAC7B,aAAa,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE;IACpC,OAAO,EAAE,EAAE;IACX,IAAI,EAAE,EAAE;IACR,KAAK,EAAE,EAAE;IACT,cAAc,EAAE,EAAE;IAClB,iBAAiB,EAAE,EAAE;IACrB,OAAO,EAAE,EAAE;IACX,OAAO,EAAE,EAAE;IACX,eAAe,EAAE,EAAE;IACnB,aAAa,EAAE,EAAE;IACjB,IAAI,EAAE,EAAE;IACR,MAAM,EAAE,MAAM;IACd,aAAa,EAAE,gCAAe,CAAC,CAAC,CAAC;IACjC,WAAW,EAAE,yBAAa,CAAC,CAAC,CAAC;IAC7B,cAAc,EAAE,2BAAe,CAAC,CAAC,CAAC;IAClC,gBAAgB,EAAE,8BAAkB,CAAC,CAAC,CAAC;IACvC,QAAQ,EAAE,oBAAS,CAAC,CAAC,CAAC;IACtB,QAAQ,EAAE,SAAS;IACnB,eAAe,EAAE,SAAS;IAC1B,QAAQ,EAAE,KAAK;IACf,cAAc,EAAE,KAAK;IACrB,WAAW,EAAE,KAAK;IAClB,yBAAyB,EAAE,KAAK;IAChC,qBAAqB,EAAE,K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skId] = (0, useLocalStorage_1.useLocalStorage)('taskId');
|
|
22
22
|
const [, setProfileId] = (0, useLocalStorage_1.useLocalStorage)('profileId');
|
|
23
23
|
const [, setParticipantId] = (0, useLocalStorage_1.useLocalStorage)('participantId');
|
|
24
|
+
const [, setProgramId] = (0, useLocalStorage_1.useLocalStorage)('programId');
|
|
24
25
|
const esiaLoginDialog = (0, useEsiaLoginDialog_1.useEsiaLoginDialog)(nextStepLink);
|
|
25
26
|
const consentBkiDialog = (0, useConsentBkiDialog_1.useConsentBkiDialog)(esiaLoginDialog.open);
|
|
26
27
|
const verifyPhoneDialog = (0, useVerifyPhoneDialog_1.useVerifyPhoneDialog)();
|
|
27
|
-
const saveUserData = (0, hooks_1.useCallback)((participantId, taskId, profileId) => {
|
|
28
|
+
const saveUserData = (0, hooks_1.useCallback)(({ participantId, taskId, profileId, programId: programNumber }) => {
|
|
28
29
|
setParticipantId(participantId);
|
|
29
30
|
setTaskId(taskId);
|
|
30
31
|
setProfileId(profileId);
|
|
32
|
+
setProgramId(programNumber);
|
|
31
33
|
}, []);
|
|
32
34
|
// eslint-disable-next-line consistent-return
|
|
33
35
|
const handleSubmit = (0, hooks_1.useCallback)(async (formData) => {
|
|
@@ -79,13 +81,18 @@ const updateUserData = async ({ programId, profileId, formData, saveUserData, sa
|
|
|
79
81
|
profileId,
|
|
80
82
|
programId,
|
|
81
83
|
});
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
84
|
+
try {
|
|
85
|
+
await (0, updateUserTask_1.updateUserTask)((0, getLeadFormTaskData_1.getLeadFormTaskData)({
|
|
86
|
+
participantId,
|
|
87
|
+
taskId,
|
|
88
|
+
profileId,
|
|
89
|
+
formData: transformedForm,
|
|
90
|
+
}));
|
|
91
|
+
}
|
|
92
|
+
catch (ex) {
|
|
93
|
+
console.log(ex);
|
|
94
|
+
}
|
|
95
|
+
saveUserData({ participantId, taskId, profileId, programId });
|
|
89
96
|
saveForm(formData);
|
|
90
97
|
};
|
|
91
98
|
const verifyPhoneContent = (phone, consents) => ({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useApplicationLeadApi.js","sourceRoot":"","sources":["../../../src/components/ApplicationLeadForm/useApplicationLeadApi.ts"],"names":[],"mappings":";;AAAA,uDAAoE;AACpE,yEAAsE;AACtE,6EAA0E;AAC1E,6EAA0E;AAC1E,uEAAoE;AACpE,yFAA0F;AAC1F,iEAA8D;AAC9D,2FAAwF;AACxF,wFAAqF;AACrF,kFAA+E;AAC/E,8FAA2F;AAC3F,yDAAsD;AACtD,sEAAmE;AACnE,0DAAiE;AAEjE,yCAAsC;AAEtC,+DAA4D;
|
|
1
|
+
{"version":3,"file":"useApplicationLeadApi.js","sourceRoot":"","sources":["../../../src/components/ApplicationLeadForm/useApplicationLeadApi.ts"],"names":[],"mappings":";;AAAA,uDAAoE;AACpE,yEAAsE;AACtE,6EAA0E;AAC1E,6EAA0E;AAC1E,uEAAoE;AACpE,yFAA0F;AAC1F,iEAA8D;AAC9D,2FAAwF;AACxF,wFAAqF;AACrF,kFAA+E;AAC/E,8FAA2F;AAC3F,yDAAsD;AACtD,sEAAmE;AACnE,0DAAiE;AAEjE,yCAAsC;AAEtC,+DAA4D;AAgBrD,MAAM,qBAAqB,GAAG,CAAC,EACpC,MAAM,EACN,SAAS,EACT,YAAY,EACZ,QAAQ,GACgB,EAAE,EAAE;IAC5B,MAAM,CAAC,cAAc,EAAE,iBAAiB,CAAC,GAAG,IAAA,gBAAQ,EAAqB,EAAE,CAAC,CAAC;IAC7E,MAAM,CAAC,EAAE,SAAS,CAAC,GAAG,IAAA,iCAAe,EAAS,QAAQ,CAAC,CAAC;IACxD,MAAM,CAAC,EAAE,YAAY,CAAC,GAAG,IAAA,iCAAe,EAAS,WAAW,CAAC,CAAC;IAC9D,MAAM,CAAC,EAAE,gBAAgB,CAAC,GAAG,IAAA,iCAAe,EAAS,eAAe,CAAC,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