@redneckz/wildless-cms-uni-blocks 0.14.650 → 0.14.652
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/getTaskStatus.d.ts +1 -1
- package/bundle/api/RetailAPI/updateUserTask.d.ts +7 -0
- package/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +925 -108
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +0 -9
- package/bundle/components/ApplicationLeadForm/getInitialFormState.d.ts +8 -0
- package/bundle/components/CreditCardForm/CreditCardForm.d.ts +6 -0
- package/bundle/components/CreditCardForm/CreditCardFormContent.d.ts +22 -0
- package/bundle/components/CreditCardForm/CreditCardFormProgress.d.ts +6 -0
- package/bundle/components/CreditCardForm/CreditCardFormStatus.d.ts +16 -0
- package/bundle/components/CreditCardForm/CreditCardFormStatusTracker.d.ts +2 -0
- package/bundle/components/CreditCardForm/CreditCardFormStep.d.ts +12 -0
- package/bundle/components/CreditCardForm/FailedStatusContent.d.ts +2 -0
- package/bundle/components/CreditCardForm/PendingStatusContent.d.ts +2 -0
- package/bundle/components/CreditCardForm/ReworkStatusContent.d.ts +2 -0
- package/bundle/components/CreditCardForm/StepsNavigationButtons.d.ts +5 -0
- package/bundle/components/CreditCardForm/SuccessStatusContent.d.ts +2 -0
- package/bundle/components/CreditCardForm/creditCardFormStepsData.d.ts +2 -0
- package/bundle/components/CreditCardForm/formStateMap.d.ts +74 -0
- package/bundle/components/CreditCardForm/getCreditCardFormTaskData.d.ts +11 -0
- package/bundle/components/CreditCardForm/getFifthStepData.d.ts +3 -0
- package/bundle/components/CreditCardForm/getFirstStepData.d.ts +3 -0
- package/bundle/components/CreditCardForm/getFourthStepData.d.ts +3 -0
- package/bundle/components/CreditCardForm/getInitialFormState.d.ts +2 -0
- package/bundle/components/CreditCardForm/getSecondStepData.d.ts +3 -0
- package/bundle/components/CreditCardForm/getThirdStepData.d.ts +3 -0
- package/bundle/components/CreditCardForm/renderInfo.d.ts +3 -0
- package/bundle/components/CreditCardForm/renderInputs.d.ts +3 -0
- package/bundle/components/CreditCardForm/renderStep.d.ts +13 -0
- package/bundle/components/CreditCardForm/useCreditCardFormAPI.d.ts +13 -0
- package/bundle/components/CreditForm/CreditFormStep.d.ts +1 -1
- package/bundle/components/CreditForm/creditFormStepsData.d.ts +1 -1
- package/bundle/model/InputSectionsType.d.ts +9 -1
- package/bundle/ui-kit/FormField/Fields/DeliveryDateFiels.d.ts +2 -0
- package/bundle/ui-kit/FormField/Fields/MethodObtainField.d.ts +4 -0
- package/bundle/ui-kit/FormField/NameFieldDef.d.ts +1 -1
- package/bundle/ui-kit/FormField/isEsiaAuthorize.d.ts +2 -1
- package/dist/api/RetailAPI/getTaskStatus.d.ts +1 -1
- package/dist/api/RetailAPI/getTaskStatus.js.map +1 -1
- package/dist/api/RetailAPI/updateUserTask.d.ts +7 -0
- package/dist/api/RetailAPI/updateUserTask.js.map +1 -1
- package/dist/api/dadataHints/hintsListsOptions.js +1 -0
- package/dist/api/dadataHints/hintsListsOptions.js.map +1 -1
- package/dist/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +0 -9
- package/dist/components/ApplicationLeadForm/getInitialFormState.d.ts +8 -0
- package/dist/components/ApplicationLeadForm/getInitialFormState.js +4 -0
- package/dist/components/ApplicationLeadForm/getInitialFormState.js.map +1 -1
- package/dist/components/ApplicationLeadForm/pasreEsiaProfile.js +1 -0
- package/dist/components/ApplicationLeadForm/pasreEsiaProfile.js.map +1 -1
- package/dist/components/Blocks.js +2 -0
- package/dist/components/Blocks.js.map +1 -1
- package/dist/components/Blocks.mobile.js +2 -0
- package/dist/components/Blocks.mobile.js.map +1 -1
- package/dist/components/CreditCardForm/CreditCardForm.d.ts +6 -0
- package/dist/components/CreditCardForm/CreditCardForm.js +34 -0
- package/dist/components/CreditCardForm/CreditCardForm.js.map +1 -0
- package/dist/components/CreditCardForm/CreditCardFormContent.d.ts +22 -0
- package/dist/components/CreditCardForm/CreditCardFormContent.js +2 -0
- package/dist/components/CreditCardForm/CreditCardFormContent.js.map +1 -0
- package/dist/components/CreditCardForm/CreditCardFormProgress.d.ts +6 -0
- package/dist/components/CreditCardForm/CreditCardFormProgress.js +11 -0
- package/dist/components/CreditCardForm/CreditCardFormProgress.js.map +1 -0
- package/dist/components/CreditCardForm/CreditCardFormStatus.d.ts +16 -0
- package/dist/components/CreditCardForm/CreditCardFormStatus.js +25 -0
- package/dist/components/CreditCardForm/CreditCardFormStatus.js.map +1 -0
- package/dist/components/CreditCardForm/CreditCardFormStatusTracker.d.ts +2 -0
- package/dist/components/CreditCardForm/CreditCardFormStatusTracker.js +43 -0
- package/dist/components/CreditCardForm/CreditCardFormStatusTracker.js.map +1 -0
- package/dist/components/CreditCardForm/CreditCardFormStep.d.ts +12 -0
- package/dist/components/CreditCardForm/CreditCardFormStep.js +41 -0
- package/dist/components/CreditCardForm/CreditCardFormStep.js.map +1 -0
- package/dist/components/CreditCardForm/FailedStatusContent.d.ts +2 -0
- package/dist/components/CreditCardForm/FailedStatusContent.js +7 -0
- package/dist/components/CreditCardForm/FailedStatusContent.js.map +1 -0
- package/dist/components/CreditCardForm/PendingStatusContent.d.ts +2 -0
- package/dist/components/CreditCardForm/PendingStatusContent.js +32 -0
- package/dist/components/CreditCardForm/PendingStatusContent.js.map +1 -0
- package/dist/components/CreditCardForm/ReworkStatusContent.d.ts +2 -0
- package/dist/components/CreditCardForm/ReworkStatusContent.js +25 -0
- package/dist/components/CreditCardForm/ReworkStatusContent.js.map +1 -0
- package/dist/components/CreditCardForm/StepsNavigationButtons.d.ts +5 -0
- package/dist/components/CreditCardForm/StepsNavigationButtons.js +11 -0
- package/dist/components/CreditCardForm/StepsNavigationButtons.js.map +1 -0
- package/dist/components/CreditCardForm/SuccessStatusContent.d.ts +2 -0
- package/dist/components/CreditCardForm/SuccessStatusContent.js +32 -0
- package/dist/components/CreditCardForm/SuccessStatusContent.js.map +1 -0
- package/dist/components/CreditCardForm/creditCardFormStepsData.d.ts +2 -0
- package/dist/components/CreditCardForm/creditCardFormStepsData.js +310 -0
- package/dist/components/CreditCardForm/creditCardFormStepsData.js.map +1 -0
- package/dist/components/CreditCardForm/formStateMap.d.ts +74 -0
- package/dist/components/CreditCardForm/formStateMap.js +93 -0
- package/dist/components/CreditCardForm/formStateMap.js.map +1 -0
- package/dist/components/CreditCardForm/getCreditCardFormTaskData.d.ts +11 -0
- package/dist/components/CreditCardForm/getCreditCardFormTaskData.js +54 -0
- package/dist/components/CreditCardForm/getCreditCardFormTaskData.js.map +1 -0
- package/dist/components/CreditCardForm/getFifthStepData.d.ts +3 -0
- package/dist/components/CreditCardForm/getFifthStepData.js +13 -0
- package/dist/components/CreditCardForm/getFifthStepData.js.map +1 -0
- package/dist/components/CreditCardForm/getFirstStepData.d.ts +3 -0
- package/dist/components/CreditCardForm/getFirstStepData.js +13 -0
- package/dist/components/CreditCardForm/getFirstStepData.js.map +1 -0
- package/dist/components/CreditCardForm/getFourthStepData.d.ts +3 -0
- package/dist/components/CreditCardForm/getFourthStepData.js +19 -0
- package/dist/components/CreditCardForm/getFourthStepData.js.map +1 -0
- package/dist/components/CreditCardForm/getInitialFormState.d.ts +2 -0
- package/dist/components/CreditCardForm/getInitialFormState.js +27 -0
- package/dist/components/CreditCardForm/getInitialFormState.js.map +1 -0
- package/dist/components/CreditCardForm/getSecondStepData.d.ts +3 -0
- package/dist/components/CreditCardForm/getSecondStepData.js +35 -0
- package/dist/components/CreditCardForm/getSecondStepData.js.map +1 -0
- package/dist/components/CreditCardForm/getThirdStepData.d.ts +3 -0
- package/dist/components/CreditCardForm/getThirdStepData.js +28 -0
- package/dist/components/CreditCardForm/getThirdStepData.js.map +1 -0
- package/dist/components/CreditCardForm/renderInfo.d.ts +3 -0
- package/dist/components/CreditCardForm/renderInfo.js +12 -0
- package/dist/components/CreditCardForm/renderInfo.js.map +1 -0
- package/dist/components/CreditCardForm/renderInputs.d.ts +3 -0
- package/dist/components/CreditCardForm/renderInputs.js +6 -0
- package/dist/components/CreditCardForm/renderInputs.js.map +1 -0
- package/dist/components/CreditCardForm/renderStep.d.ts +13 -0
- package/dist/components/CreditCardForm/renderStep.js +19 -0
- package/dist/components/CreditCardForm/renderStep.js.map +1 -0
- package/dist/components/CreditCardForm/useCreditCardFormAPI.d.ts +13 -0
- package/dist/components/CreditCardForm/useCreditCardFormAPI.js +46 -0
- package/dist/components/CreditCardForm/useCreditCardFormAPI.js.map +1 -0
- package/dist/components/CreditForm/CreditForm.js.map +1 -1
- package/dist/components/CreditForm/CreditFormStatusTracker.js +1 -2
- package/dist/components/CreditForm/CreditFormStatusTracker.js.map +1 -1
- package/dist/components/CreditForm/CreditFormStep.d.ts +1 -1
- package/dist/components/CreditForm/FailedStatusContent.js +1 -1
- package/dist/components/CreditForm/FailedStatusContent.js.map +1 -1
- package/dist/components/CreditForm/creditFormStepsData.d.ts +1 -1
- package/dist/components/CreditForm/getCreditFormTaskData.js +25 -24
- package/dist/components/CreditForm/getCreditFormTaskData.js.map +1 -1
- package/dist/model/InputSectionsType.d.ts +9 -1
- package/dist/ui-kit/FormField/Fields/AddressField.js +6 -1
- package/dist/ui-kit/FormField/Fields/AddressField.js.map +1 -1
- package/dist/ui-kit/FormField/Fields/CurrencyField.js +6 -5
- package/dist/ui-kit/FormField/Fields/CurrencyField.js.map +1 -1
- package/dist/ui-kit/FormField/Fields/DeliveryDateFiels.d.ts +2 -0
- package/dist/ui-kit/FormField/Fields/DeliveryDateFiels.js +9 -0
- package/dist/ui-kit/FormField/Fields/DeliveryDateFiels.js.map +1 -0
- package/dist/ui-kit/FormField/Fields/DulIssueDateField.js +1 -1
- package/dist/ui-kit/FormField/Fields/DulIssueDateField.js.map +1 -1
- package/dist/ui-kit/FormField/Fields/DulIssuedByField.js +1 -1
- package/dist/ui-kit/FormField/Fields/DulIssuedByField.js.map +1 -1
- package/dist/ui-kit/FormField/Fields/DulNumberField.js +1 -1
- package/dist/ui-kit/FormField/Fields/DulNumberField.js.map +1 -1
- package/dist/ui-kit/FormField/Fields/DulSerieField.js +1 -1
- package/dist/ui-kit/FormField/Fields/DulSerieField.js.map +1 -1
- package/dist/ui-kit/FormField/Fields/DulSubdivisionCodeField.js +1 -1
- package/dist/ui-kit/FormField/Fields/DulSubdivisionCodeField.js.map +1 -1
- package/dist/ui-kit/FormField/Fields/MethodObtainField.d.ts +4 -0
- package/dist/ui-kit/FormField/Fields/MethodObtainField.js +13 -0
- package/dist/ui-kit/FormField/Fields/MethodObtainField.js.map +1 -0
- package/dist/ui-kit/FormField/Fields/MiddleNameField.js +1 -1
- package/dist/ui-kit/FormField/Fields/MiddleNameField.js.map +1 -1
- package/dist/ui-kit/FormField/Fields/NameField.js +1 -1
- package/dist/ui-kit/FormField/Fields/NameField.js.map +1 -1
- package/dist/ui-kit/FormField/Fields/PaymentSystemField.js +6 -5
- package/dist/ui-kit/FormField/Fields/PaymentSystemField.js.map +1 -1
- package/dist/ui-kit/FormField/Fields/SurnameField.js +1 -1
- package/dist/ui-kit/FormField/Fields/SurnameField.js.map +1 -1
- package/dist/ui-kit/FormField/NameFieldDef.d.ts +1 -1
- package/dist/ui-kit/FormField/getField.js +5 -0
- package/dist/ui-kit/FormField/getField.js.map +1 -1
- package/dist/ui-kit/FormField/getObjectValidator.js +6 -1
- package/dist/ui-kit/FormField/getObjectValidator.js.map +1 -1
- package/dist/ui-kit/FormField/isEsiaAuthorize.d.ts +2 -1
- package/dist/ui-kit/FormField/isEsiaAuthorize.js +2 -1
- package/dist/ui-kit/FormField/isEsiaAuthorize.js.map +1 -1
- package/lib/api/RetailAPI/getTaskStatus.d.ts +1 -1
- package/lib/api/RetailAPI/getTaskStatus.js.map +1 -1
- package/lib/api/RetailAPI/updateUserTask.d.ts +7 -0
- package/lib/api/RetailAPI/updateUserTask.js.map +1 -1
- package/lib/api/dadataHints/hintsListsOptions.js +1 -0
- package/lib/api/dadataHints/hintsListsOptions.js.map +1 -1
- package/lib/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +0 -9
- package/lib/components/ApplicationLeadForm/getInitialFormState.d.ts +8 -0
- package/lib/components/ApplicationLeadForm/getInitialFormState.js +4 -0
- package/lib/components/ApplicationLeadForm/getInitialFormState.js.map +1 -1
- package/lib/components/ApplicationLeadForm/pasreEsiaProfile.js +1 -0
- package/lib/components/ApplicationLeadForm/pasreEsiaProfile.js.map +1 -1
- package/lib/components/Blocks.js +2 -0
- package/lib/components/Blocks.js.map +1 -1
- package/lib/components/Blocks.mobile.js +2 -0
- package/lib/components/Blocks.mobile.js.map +1 -1
- package/lib/components/CreditCardForm/CreditCardForm.d.ts +6 -0
- package/lib/components/CreditCardForm/CreditCardForm.fixture.d.ts +6 -0
- package/lib/components/CreditCardForm/CreditCardForm.js +32 -0
- package/lib/components/CreditCardForm/CreditCardForm.js.map +1 -0
- package/lib/components/CreditCardForm/CreditCardFormContent.d.ts +22 -0
- package/lib/components/CreditCardForm/CreditCardFormContent.js +2 -0
- package/lib/components/CreditCardForm/CreditCardFormContent.js.map +1 -0
- package/lib/components/CreditCardForm/CreditCardFormProgress.d.ts +6 -0
- package/lib/components/CreditCardForm/CreditCardFormProgress.js +9 -0
- package/lib/components/CreditCardForm/CreditCardFormProgress.js.map +1 -0
- package/lib/components/CreditCardForm/CreditCardFormStatus.d.ts +16 -0
- package/lib/components/CreditCardForm/CreditCardFormStatus.js +23 -0
- package/lib/components/CreditCardForm/CreditCardFormStatus.js.map +1 -0
- package/lib/components/CreditCardForm/CreditCardFormStatusTracker.d.ts +2 -0
- package/lib/components/CreditCardForm/CreditCardFormStatusTracker.js +41 -0
- package/lib/components/CreditCardForm/CreditCardFormStatusTracker.js.map +1 -0
- package/lib/components/CreditCardForm/CreditCardFormStep.d.ts +12 -0
- package/lib/components/CreditCardForm/CreditCardFormStep.js +39 -0
- package/lib/components/CreditCardForm/CreditCardFormStep.js.map +1 -0
- package/lib/components/CreditCardForm/FailedStatusContent.d.ts +2 -0
- package/lib/components/CreditCardForm/FailedStatusContent.js +5 -0
- package/lib/components/CreditCardForm/FailedStatusContent.js.map +1 -0
- package/lib/components/CreditCardForm/PendingStatusContent.d.ts +2 -0
- package/lib/components/CreditCardForm/PendingStatusContent.js +30 -0
- package/lib/components/CreditCardForm/PendingStatusContent.js.map +1 -0
- package/lib/components/CreditCardForm/ReworkStatusContent.d.ts +2 -0
- package/lib/components/CreditCardForm/ReworkStatusContent.js +23 -0
- package/lib/components/CreditCardForm/ReworkStatusContent.js.map +1 -0
- package/lib/components/CreditCardForm/StepsNavigationButtons.d.ts +5 -0
- package/lib/components/CreditCardForm/StepsNavigationButtons.js +9 -0
- package/lib/components/CreditCardForm/StepsNavigationButtons.js.map +1 -0
- package/lib/components/CreditCardForm/SuccessStatusContent.d.ts +2 -0
- package/lib/components/CreditCardForm/SuccessStatusContent.js +30 -0
- package/lib/components/CreditCardForm/SuccessStatusContent.js.map +1 -0
- package/lib/components/CreditCardForm/creditCardFormStepsData.d.ts +2 -0
- package/lib/components/CreditCardForm/creditCardFormStepsData.js +308 -0
- package/lib/components/CreditCardForm/creditCardFormStepsData.js.map +1 -0
- package/lib/components/CreditCardForm/formStateMap.d.ts +74 -0
- package/lib/components/CreditCardForm/formStateMap.js +91 -0
- package/lib/components/CreditCardForm/formStateMap.js.map +1 -0
- package/lib/components/CreditCardForm/getCreditCardFormTaskData.d.ts +11 -0
- package/lib/components/CreditCardForm/getCreditCardFormTaskData.js +51 -0
- package/lib/components/CreditCardForm/getCreditCardFormTaskData.js.map +1 -0
- package/lib/components/CreditCardForm/getFifthStepData.d.ts +3 -0
- package/lib/components/CreditCardForm/getFifthStepData.js +10 -0
- package/lib/components/CreditCardForm/getFifthStepData.js.map +1 -0
- package/lib/components/CreditCardForm/getFirstStepData.d.ts +3 -0
- package/lib/components/CreditCardForm/getFirstStepData.js +10 -0
- package/lib/components/CreditCardForm/getFirstStepData.js.map +1 -0
- package/lib/components/CreditCardForm/getFourthStepData.d.ts +3 -0
- package/lib/components/CreditCardForm/getFourthStepData.js +16 -0
- package/lib/components/CreditCardForm/getFourthStepData.js.map +1 -0
- package/lib/components/CreditCardForm/getInitialFormState.d.ts +2 -0
- package/lib/components/CreditCardForm/getInitialFormState.js +24 -0
- package/lib/components/CreditCardForm/getInitialFormState.js.map +1 -0
- package/lib/components/CreditCardForm/getSecondStepData.d.ts +3 -0
- package/lib/components/CreditCardForm/getSecondStepData.js +32 -0
- package/lib/components/CreditCardForm/getSecondStepData.js.map +1 -0
- package/lib/components/CreditCardForm/getThirdStepData.d.ts +3 -0
- package/lib/components/CreditCardForm/getThirdStepData.js +25 -0
- package/lib/components/CreditCardForm/getThirdStepData.js.map +1 -0
- package/lib/components/CreditCardForm/renderInfo.d.ts +2 -0
- package/lib/components/CreditCardForm/renderInfo.js +9 -0
- package/lib/components/CreditCardForm/renderInfo.js.map +1 -0
- package/lib/components/CreditCardForm/renderInputs.d.ts +2 -0
- package/lib/components/CreditCardForm/renderInputs.js +3 -0
- package/lib/components/CreditCardForm/renderInputs.js.map +1 -0
- package/lib/components/CreditCardForm/renderStep.d.ts +12 -0
- package/lib/components/CreditCardForm/renderStep.js +16 -0
- package/lib/components/CreditCardForm/renderStep.js.map +1 -0
- package/lib/components/CreditCardForm/useCreditCardFormAPI.d.ts +13 -0
- package/lib/components/CreditCardForm/useCreditCardFormAPI.js +43 -0
- package/lib/components/CreditCardForm/useCreditCardFormAPI.js.map +1 -0
- package/lib/components/CreditForm/CreditForm.js.map +1 -1
- package/lib/components/CreditForm/CreditFormStatusTracker.js +1 -2
- package/lib/components/CreditForm/CreditFormStatusTracker.js.map +1 -1
- package/lib/components/CreditForm/CreditFormStep.d.ts +1 -1
- package/lib/components/CreditForm/FailedStatusContent.js +1 -1
- package/lib/components/CreditForm/FailedStatusContent.js.map +1 -1
- package/lib/components/CreditForm/creditFormStepsData.d.ts +1 -1
- package/lib/components/CreditForm/getCreditFormTaskData.js +25 -24
- package/lib/components/CreditForm/getCreditFormTaskData.js.map +1 -1
- package/lib/model/InputSectionsType.d.ts +9 -1
- package/lib/ui-kit/FormField/Fields/AddressField.js +6 -1
- package/lib/ui-kit/FormField/Fields/AddressField.js.map +1 -1
- package/lib/ui-kit/FormField/Fields/CurrencyField.js +7 -6
- package/lib/ui-kit/FormField/Fields/CurrencyField.js.map +1 -1
- package/lib/ui-kit/FormField/Fields/DeliveryDateFiels.d.ts +2 -0
- package/lib/ui-kit/FormField/Fields/DeliveryDateFiels.js +7 -0
- package/lib/ui-kit/FormField/Fields/DeliveryDateFiels.js.map +1 -0
- package/lib/ui-kit/FormField/Fields/DulIssueDateField.js +1 -1
- package/lib/ui-kit/FormField/Fields/DulIssueDateField.js.map +1 -1
- package/lib/ui-kit/FormField/Fields/DulIssuedByField.js +1 -1
- package/lib/ui-kit/FormField/Fields/DulIssuedByField.js.map +1 -1
- package/lib/ui-kit/FormField/Fields/DulNumberField.js +1 -1
- package/lib/ui-kit/FormField/Fields/DulNumberField.js.map +1 -1
- package/lib/ui-kit/FormField/Fields/DulSerieField.js +1 -1
- package/lib/ui-kit/FormField/Fields/DulSerieField.js.map +1 -1
- package/lib/ui-kit/FormField/Fields/DulSubdivisionCodeField.js +1 -1
- package/lib/ui-kit/FormField/Fields/DulSubdivisionCodeField.js.map +1 -1
- package/lib/ui-kit/FormField/Fields/MethodObtainField.d.ts +4 -0
- package/lib/ui-kit/FormField/Fields/MethodObtainField.js +11 -0
- package/lib/ui-kit/FormField/Fields/MethodObtainField.js.map +1 -0
- package/lib/ui-kit/FormField/Fields/MiddleNameField.js +1 -1
- package/lib/ui-kit/FormField/Fields/MiddleNameField.js.map +1 -1
- package/lib/ui-kit/FormField/Fields/NameField.js +1 -1
- package/lib/ui-kit/FormField/Fields/NameField.js.map +1 -1
- package/lib/ui-kit/FormField/Fields/PaymentSystemField.js +7 -6
- package/lib/ui-kit/FormField/Fields/PaymentSystemField.js.map +1 -1
- package/lib/ui-kit/FormField/Fields/SurnameField.js +1 -1
- package/lib/ui-kit/FormField/Fields/SurnameField.js.map +1 -1
- package/lib/ui-kit/FormField/NameFieldDef.d.ts +1 -1
- package/lib/ui-kit/FormField/getField.js +5 -0
- package/lib/ui-kit/FormField/getField.js.map +1 -1
- package/lib/ui-kit/FormField/getObjectValidator.js +6 -1
- package/lib/ui-kit/FormField/getObjectValidator.js.map +1 -1
- package/lib/ui-kit/FormField/isEsiaAuthorize.d.ts +2 -1
- package/lib/ui-kit/FormField/isEsiaAuthorize.js +2 -1
- package/lib/ui-kit/FormField/isEsiaAuthorize.js.map +1 -1
- package/mobile/bundle/api/RetailAPI/getTaskStatus.d.ts +1 -1
- package/mobile/bundle/api/RetailAPI/updateUserTask.d.ts +7 -0
- package/mobile/bundle/bundle.umd.js +921 -104
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +0 -9
- package/mobile/bundle/components/ApplicationLeadForm/getInitialFormState.d.ts +8 -0
- package/mobile/bundle/components/CreditCardForm/CreditCardForm.d.ts +6 -0
- package/mobile/bundle/components/CreditCardForm/CreditCardFormContent.d.ts +22 -0
- package/mobile/bundle/components/CreditCardForm/CreditCardFormProgress.d.ts +6 -0
- package/mobile/bundle/components/CreditCardForm/CreditCardFormStatus.d.ts +16 -0
- package/mobile/bundle/components/CreditCardForm/CreditCardFormStatusTracker.d.ts +2 -0
- package/mobile/bundle/components/CreditCardForm/CreditCardFormStep.d.ts +12 -0
- package/mobile/bundle/components/CreditCardForm/FailedStatusContent.d.ts +2 -0
- package/mobile/bundle/components/CreditCardForm/PendingStatusContent.d.ts +2 -0
- package/mobile/bundle/components/CreditCardForm/ReworkStatusContent.d.ts +2 -0
- package/mobile/bundle/components/CreditCardForm/StepsNavigationButtons.d.ts +5 -0
- package/mobile/bundle/components/CreditCardForm/SuccessStatusContent.d.ts +2 -0
- package/mobile/bundle/components/CreditCardForm/creditCardFormStepsData.d.ts +2 -0
- package/mobile/bundle/components/CreditCardForm/formStateMap.d.ts +74 -0
- package/mobile/bundle/components/CreditCardForm/getCreditCardFormTaskData.d.ts +11 -0
- package/mobile/bundle/components/CreditCardForm/getFifthStepData.d.ts +3 -0
- package/mobile/bundle/components/CreditCardForm/getFirstStepData.d.ts +3 -0
- package/mobile/bundle/components/CreditCardForm/getFourthStepData.d.ts +3 -0
- package/mobile/bundle/components/CreditCardForm/getInitialFormState.d.ts +2 -0
- package/mobile/bundle/components/CreditCardForm/getSecondStepData.d.ts +3 -0
- package/mobile/bundle/components/CreditCardForm/getThirdStepData.d.ts +3 -0
- package/mobile/bundle/components/CreditCardForm/renderInfo.d.ts +3 -0
- package/mobile/bundle/components/CreditCardForm/renderInputs.d.ts +3 -0
- package/mobile/bundle/components/CreditCardForm/renderStep.d.ts +13 -0
- package/mobile/bundle/components/CreditCardForm/useCreditCardFormAPI.d.ts +13 -0
- package/mobile/bundle/components/CreditForm/CreditFormStep.d.ts +1 -1
- package/mobile/bundle/components/CreditForm/creditFormStepsData.d.ts +1 -1
- package/mobile/bundle/model/InputSectionsType.d.ts +9 -1
- package/mobile/bundle/ui-kit/FormField/Fields/DeliveryDateFiels.d.ts +2 -0
- package/mobile/bundle/ui-kit/FormField/Fields/MethodObtainField.d.ts +4 -0
- package/mobile/bundle/ui-kit/FormField/NameFieldDef.d.ts +1 -1
- package/mobile/bundle/ui-kit/FormField/isEsiaAuthorize.d.ts +2 -1
- package/mobile/dist/api/RetailAPI/getTaskStatus.d.ts +1 -1
- package/mobile/dist/api/RetailAPI/getTaskStatus.js.map +1 -1
- package/mobile/dist/api/RetailAPI/updateUserTask.d.ts +7 -0
- package/mobile/dist/api/RetailAPI/updateUserTask.js.map +1 -1
- package/mobile/dist/api/dadataHints/hintsListsOptions.js +1 -0
- package/mobile/dist/api/dadataHints/hintsListsOptions.js.map +1 -1
- package/mobile/dist/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +0 -9
- package/mobile/dist/components/ApplicationLeadForm/getInitialFormState.d.ts +8 -0
- package/mobile/dist/components/ApplicationLeadForm/getInitialFormState.js +4 -0
- package/mobile/dist/components/ApplicationLeadForm/getInitialFormState.js.map +1 -1
- package/mobile/dist/components/ApplicationLeadForm/pasreEsiaProfile.js +1 -0
- package/mobile/dist/components/ApplicationLeadForm/pasreEsiaProfile.js.map +1 -1
- package/mobile/dist/components/Blocks.js +2 -0
- package/mobile/dist/components/Blocks.js.map +1 -1
- package/mobile/dist/components/CreditCardForm/CreditCardForm.d.ts +6 -0
- package/mobile/dist/components/CreditCardForm/CreditCardForm.js +34 -0
- package/mobile/dist/components/CreditCardForm/CreditCardForm.js.map +1 -0
- package/mobile/dist/components/CreditCardForm/CreditCardFormContent.d.ts +22 -0
- package/mobile/dist/components/CreditCardForm/CreditCardFormContent.js +2 -0
- package/mobile/dist/components/CreditCardForm/CreditCardFormContent.js.map +1 -0
- package/mobile/dist/components/CreditCardForm/CreditCardFormProgress.d.ts +6 -0
- package/mobile/dist/components/CreditCardForm/CreditCardFormProgress.js +11 -0
- package/mobile/dist/components/CreditCardForm/CreditCardFormProgress.js.map +1 -0
- package/mobile/dist/components/CreditCardForm/CreditCardFormStatus.d.ts +16 -0
- package/mobile/dist/components/CreditCardForm/CreditCardFormStatus.js +25 -0
- package/mobile/dist/components/CreditCardForm/CreditCardFormStatus.js.map +1 -0
- package/mobile/dist/components/CreditCardForm/CreditCardFormStatusTracker.d.ts +2 -0
- package/mobile/dist/components/CreditCardForm/CreditCardFormStatusTracker.js +43 -0
- package/mobile/dist/components/CreditCardForm/CreditCardFormStatusTracker.js.map +1 -0
- package/mobile/dist/components/CreditCardForm/CreditCardFormStep.d.ts +12 -0
- package/mobile/dist/components/CreditCardForm/CreditCardFormStep.js +41 -0
- package/mobile/dist/components/CreditCardForm/CreditCardFormStep.js.map +1 -0
- package/mobile/dist/components/CreditCardForm/FailedStatusContent.d.ts +2 -0
- package/mobile/dist/components/CreditCardForm/FailedStatusContent.js +7 -0
- package/mobile/dist/components/CreditCardForm/FailedStatusContent.js.map +1 -0
- package/mobile/dist/components/CreditCardForm/PendingStatusContent.d.ts +2 -0
- package/mobile/dist/components/CreditCardForm/PendingStatusContent.js +32 -0
- package/mobile/dist/components/CreditCardForm/PendingStatusContent.js.map +1 -0
- package/mobile/dist/components/CreditCardForm/ReworkStatusContent.d.ts +2 -0
- package/mobile/dist/components/CreditCardForm/ReworkStatusContent.js +25 -0
- package/mobile/dist/components/CreditCardForm/ReworkStatusContent.js.map +1 -0
- package/mobile/dist/components/CreditCardForm/StepsNavigationButtons.d.ts +5 -0
- package/mobile/dist/components/CreditCardForm/StepsNavigationButtons.js +11 -0
- package/mobile/dist/components/CreditCardForm/StepsNavigationButtons.js.map +1 -0
- package/mobile/dist/components/CreditCardForm/SuccessStatusContent.d.ts +2 -0
- package/mobile/dist/components/CreditCardForm/SuccessStatusContent.js +32 -0
- package/mobile/dist/components/CreditCardForm/SuccessStatusContent.js.map +1 -0
- package/mobile/dist/components/CreditCardForm/creditCardFormStepsData.d.ts +2 -0
- package/mobile/dist/components/CreditCardForm/creditCardFormStepsData.js +310 -0
- package/mobile/dist/components/CreditCardForm/creditCardFormStepsData.js.map +1 -0
- package/mobile/dist/components/CreditCardForm/formStateMap.d.ts +74 -0
- package/mobile/dist/components/CreditCardForm/formStateMap.js +93 -0
- package/mobile/dist/components/CreditCardForm/formStateMap.js.map +1 -0
- package/mobile/dist/components/CreditCardForm/getCreditCardFormTaskData.d.ts +11 -0
- package/mobile/dist/components/CreditCardForm/getCreditCardFormTaskData.js +54 -0
- package/mobile/dist/components/CreditCardForm/getCreditCardFormTaskData.js.map +1 -0
- package/mobile/dist/components/CreditCardForm/getFifthStepData.d.ts +3 -0
- package/mobile/dist/components/CreditCardForm/getFifthStepData.js +13 -0
- package/mobile/dist/components/CreditCardForm/getFifthStepData.js.map +1 -0
- package/mobile/dist/components/CreditCardForm/getFirstStepData.d.ts +3 -0
- package/mobile/dist/components/CreditCardForm/getFirstStepData.js +13 -0
- package/mobile/dist/components/CreditCardForm/getFirstStepData.js.map +1 -0
- package/mobile/dist/components/CreditCardForm/getFourthStepData.d.ts +3 -0
- package/mobile/dist/components/CreditCardForm/getFourthStepData.js +19 -0
- package/mobile/dist/components/CreditCardForm/getFourthStepData.js.map +1 -0
- package/mobile/dist/components/CreditCardForm/getInitialFormState.d.ts +2 -0
- package/mobile/dist/components/CreditCardForm/getInitialFormState.js +27 -0
- package/mobile/dist/components/CreditCardForm/getInitialFormState.js.map +1 -0
- package/mobile/dist/components/CreditCardForm/getSecondStepData.d.ts +3 -0
- package/mobile/dist/components/CreditCardForm/getSecondStepData.js +35 -0
- package/mobile/dist/components/CreditCardForm/getSecondStepData.js.map +1 -0
- package/mobile/dist/components/CreditCardForm/getThirdStepData.d.ts +3 -0
- package/mobile/dist/components/CreditCardForm/getThirdStepData.js +28 -0
- package/mobile/dist/components/CreditCardForm/getThirdStepData.js.map +1 -0
- package/mobile/dist/components/CreditCardForm/renderInfo.d.ts +3 -0
- package/mobile/dist/components/CreditCardForm/renderInfo.js +12 -0
- package/mobile/dist/components/CreditCardForm/renderInfo.js.map +1 -0
- package/mobile/dist/components/CreditCardForm/renderInputs.d.ts +3 -0
- package/mobile/dist/components/CreditCardForm/renderInputs.js +6 -0
- package/mobile/dist/components/CreditCardForm/renderInputs.js.map +1 -0
- package/mobile/dist/components/CreditCardForm/renderStep.d.ts +13 -0
- package/mobile/dist/components/CreditCardForm/renderStep.js +19 -0
- package/mobile/dist/components/CreditCardForm/renderStep.js.map +1 -0
- package/mobile/dist/components/CreditCardForm/useCreditCardFormAPI.d.ts +13 -0
- package/mobile/dist/components/CreditCardForm/useCreditCardFormAPI.js +46 -0
- package/mobile/dist/components/CreditCardForm/useCreditCardFormAPI.js.map +1 -0
- package/mobile/dist/components/CreditForm/CreditForm.js.map +1 -1
- package/mobile/dist/components/CreditForm/CreditFormStatusTracker.js +1 -2
- package/mobile/dist/components/CreditForm/CreditFormStatusTracker.js.map +1 -1
- package/mobile/dist/components/CreditForm/CreditFormStep.d.ts +1 -1
- package/mobile/dist/components/CreditForm/FailedStatusContent.js +1 -1
- package/mobile/dist/components/CreditForm/FailedStatusContent.js.map +1 -1
- package/mobile/dist/components/CreditForm/creditFormStepsData.d.ts +1 -1
- package/mobile/dist/components/CreditForm/getCreditFormTaskData.js +25 -24
- package/mobile/dist/components/CreditForm/getCreditFormTaskData.js.map +1 -1
- package/mobile/dist/model/InputSectionsType.d.ts +9 -1
- package/mobile/dist/ui-kit/FormField/Fields/AddressField.js +6 -1
- package/mobile/dist/ui-kit/FormField/Fields/AddressField.js.map +1 -1
- package/mobile/dist/ui-kit/FormField/Fields/CurrencyField.js +6 -5
- package/mobile/dist/ui-kit/FormField/Fields/CurrencyField.js.map +1 -1
- package/mobile/dist/ui-kit/FormField/Fields/DeliveryDateFiels.d.ts +2 -0
- package/mobile/dist/ui-kit/FormField/Fields/DeliveryDateFiels.js +9 -0
- package/mobile/dist/ui-kit/FormField/Fields/DeliveryDateFiels.js.map +1 -0
- package/mobile/dist/ui-kit/FormField/Fields/DulIssueDateField.js +1 -1
- package/mobile/dist/ui-kit/FormField/Fields/DulIssueDateField.js.map +1 -1
- package/mobile/dist/ui-kit/FormField/Fields/DulIssuedByField.js +1 -1
- package/mobile/dist/ui-kit/FormField/Fields/DulIssuedByField.js.map +1 -1
- package/mobile/dist/ui-kit/FormField/Fields/DulNumberField.js +1 -1
- package/mobile/dist/ui-kit/FormField/Fields/DulNumberField.js.map +1 -1
- package/mobile/dist/ui-kit/FormField/Fields/DulSerieField.js +1 -1
- package/mobile/dist/ui-kit/FormField/Fields/DulSerieField.js.map +1 -1
- package/mobile/dist/ui-kit/FormField/Fields/DulSubdivisionCodeField.js +1 -1
- package/mobile/dist/ui-kit/FormField/Fields/DulSubdivisionCodeField.js.map +1 -1
- package/mobile/dist/ui-kit/FormField/Fields/MethodObtainField.d.ts +4 -0
- package/mobile/dist/ui-kit/FormField/Fields/MethodObtainField.js +13 -0
- package/mobile/dist/ui-kit/FormField/Fields/MethodObtainField.js.map +1 -0
- package/mobile/dist/ui-kit/FormField/Fields/MiddleNameField.js +1 -1
- package/mobile/dist/ui-kit/FormField/Fields/MiddleNameField.js.map +1 -1
- package/mobile/dist/ui-kit/FormField/Fields/NameField.js +1 -1
- package/mobile/dist/ui-kit/FormField/Fields/NameField.js.map +1 -1
- package/mobile/dist/ui-kit/FormField/Fields/PaymentSystemField.js +6 -5
- package/mobile/dist/ui-kit/FormField/Fields/PaymentSystemField.js.map +1 -1
- package/mobile/dist/ui-kit/FormField/Fields/SurnameField.js +1 -1
- package/mobile/dist/ui-kit/FormField/Fields/SurnameField.js.map +1 -1
- package/mobile/dist/ui-kit/FormField/NameFieldDef.d.ts +1 -1
- package/mobile/dist/ui-kit/FormField/getField.js +5 -0
- package/mobile/dist/ui-kit/FormField/getField.js.map +1 -1
- package/mobile/dist/ui-kit/FormField/getObjectValidator.js +6 -1
- package/mobile/dist/ui-kit/FormField/getObjectValidator.js.map +1 -1
- package/mobile/dist/ui-kit/FormField/isEsiaAuthorize.d.ts +2 -1
- package/mobile/dist/ui-kit/FormField/isEsiaAuthorize.js +2 -1
- package/mobile/dist/ui-kit/FormField/isEsiaAuthorize.js.map +1 -1
- package/mobile/lib/api/RetailAPI/getTaskStatus.d.ts +1 -1
- package/mobile/lib/api/RetailAPI/getTaskStatus.js.map +1 -1
- package/mobile/lib/api/RetailAPI/updateUserTask.d.ts +7 -0
- package/mobile/lib/api/RetailAPI/updateUserTask.js.map +1 -1
- package/mobile/lib/api/dadataHints/hintsListsOptions.js +1 -0
- package/mobile/lib/api/dadataHints/hintsListsOptions.js.map +1 -1
- package/mobile/lib/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +0 -9
- package/mobile/lib/components/ApplicationLeadForm/getInitialFormState.d.ts +8 -0
- package/mobile/lib/components/ApplicationLeadForm/getInitialFormState.js +4 -0
- package/mobile/lib/components/ApplicationLeadForm/getInitialFormState.js.map +1 -1
- package/mobile/lib/components/ApplicationLeadForm/pasreEsiaProfile.js +1 -0
- package/mobile/lib/components/ApplicationLeadForm/pasreEsiaProfile.js.map +1 -1
- package/mobile/lib/components/Blocks.js +2 -0
- package/mobile/lib/components/Blocks.js.map +1 -1
- package/mobile/lib/components/CreditCardForm/CreditCardForm.d.ts +6 -0
- package/mobile/lib/components/CreditCardForm/CreditCardForm.js +32 -0
- package/mobile/lib/components/CreditCardForm/CreditCardForm.js.map +1 -0
- package/mobile/lib/components/CreditCardForm/CreditCardFormContent.d.ts +22 -0
- package/mobile/lib/components/CreditCardForm/CreditCardFormContent.js +2 -0
- package/mobile/lib/components/CreditCardForm/CreditCardFormContent.js.map +1 -0
- package/mobile/lib/components/CreditCardForm/CreditCardFormProgress.d.ts +6 -0
- package/mobile/lib/components/CreditCardForm/CreditCardFormProgress.js +9 -0
- package/mobile/lib/components/CreditCardForm/CreditCardFormProgress.js.map +1 -0
- package/mobile/lib/components/CreditCardForm/CreditCardFormStatus.d.ts +16 -0
- package/mobile/lib/components/CreditCardForm/CreditCardFormStatus.js +23 -0
- package/mobile/lib/components/CreditCardForm/CreditCardFormStatus.js.map +1 -0
- package/mobile/lib/components/CreditCardForm/CreditCardFormStatusTracker.d.ts +2 -0
- package/mobile/lib/components/CreditCardForm/CreditCardFormStatusTracker.js +41 -0
- package/mobile/lib/components/CreditCardForm/CreditCardFormStatusTracker.js.map +1 -0
- package/mobile/lib/components/CreditCardForm/CreditCardFormStep.d.ts +12 -0
- package/mobile/lib/components/CreditCardForm/CreditCardFormStep.js +39 -0
- package/mobile/lib/components/CreditCardForm/CreditCardFormStep.js.map +1 -0
- package/mobile/lib/components/CreditCardForm/FailedStatusContent.d.ts +2 -0
- package/mobile/lib/components/CreditCardForm/FailedStatusContent.js +5 -0
- package/mobile/lib/components/CreditCardForm/FailedStatusContent.js.map +1 -0
- package/mobile/lib/components/CreditCardForm/PendingStatusContent.d.ts +2 -0
- package/mobile/lib/components/CreditCardForm/PendingStatusContent.js +30 -0
- package/mobile/lib/components/CreditCardForm/PendingStatusContent.js.map +1 -0
- package/mobile/lib/components/CreditCardForm/ReworkStatusContent.d.ts +2 -0
- package/mobile/lib/components/CreditCardForm/ReworkStatusContent.js +23 -0
- package/mobile/lib/components/CreditCardForm/ReworkStatusContent.js.map +1 -0
- package/mobile/lib/components/CreditCardForm/StepsNavigationButtons.d.ts +5 -0
- package/mobile/lib/components/CreditCardForm/StepsNavigationButtons.js +9 -0
- package/mobile/lib/components/CreditCardForm/StepsNavigationButtons.js.map +1 -0
- package/mobile/lib/components/CreditCardForm/SuccessStatusContent.d.ts +2 -0
- package/mobile/lib/components/CreditCardForm/SuccessStatusContent.js +30 -0
- package/mobile/lib/components/CreditCardForm/SuccessStatusContent.js.map +1 -0
- package/mobile/lib/components/CreditCardForm/creditCardFormStepsData.d.ts +2 -0
- package/mobile/lib/components/CreditCardForm/creditCardFormStepsData.js +308 -0
- package/mobile/lib/components/CreditCardForm/creditCardFormStepsData.js.map +1 -0
- package/mobile/lib/components/CreditCardForm/formStateMap.d.ts +74 -0
- package/mobile/lib/components/CreditCardForm/formStateMap.js +91 -0
- package/mobile/lib/components/CreditCardForm/formStateMap.js.map +1 -0
- package/mobile/lib/components/CreditCardForm/getCreditCardFormTaskData.d.ts +11 -0
- package/mobile/lib/components/CreditCardForm/getCreditCardFormTaskData.js +51 -0
- package/mobile/lib/components/CreditCardForm/getCreditCardFormTaskData.js.map +1 -0
- package/mobile/lib/components/CreditCardForm/getFifthStepData.d.ts +3 -0
- package/mobile/lib/components/CreditCardForm/getFifthStepData.js +10 -0
- package/mobile/lib/components/CreditCardForm/getFifthStepData.js.map +1 -0
- package/mobile/lib/components/CreditCardForm/getFirstStepData.d.ts +3 -0
- package/mobile/lib/components/CreditCardForm/getFirstStepData.js +10 -0
- package/mobile/lib/components/CreditCardForm/getFirstStepData.js.map +1 -0
- package/mobile/lib/components/CreditCardForm/getFourthStepData.d.ts +3 -0
- package/mobile/lib/components/CreditCardForm/getFourthStepData.js +16 -0
- package/mobile/lib/components/CreditCardForm/getFourthStepData.js.map +1 -0
- package/mobile/lib/components/CreditCardForm/getInitialFormState.d.ts +2 -0
- package/mobile/lib/components/CreditCardForm/getInitialFormState.js +24 -0
- package/mobile/lib/components/CreditCardForm/getInitialFormState.js.map +1 -0
- package/mobile/lib/components/CreditCardForm/getSecondStepData.d.ts +3 -0
- package/mobile/lib/components/CreditCardForm/getSecondStepData.js +32 -0
- package/mobile/lib/components/CreditCardForm/getSecondStepData.js.map +1 -0
- package/mobile/lib/components/CreditCardForm/getThirdStepData.d.ts +3 -0
- package/mobile/lib/components/CreditCardForm/getThirdStepData.js +25 -0
- package/mobile/lib/components/CreditCardForm/getThirdStepData.js.map +1 -0
- package/mobile/lib/components/CreditCardForm/renderInfo.d.ts +3 -0
- package/mobile/lib/components/CreditCardForm/renderInfo.js +9 -0
- package/mobile/lib/components/CreditCardForm/renderInfo.js.map +1 -0
- package/mobile/lib/components/CreditCardForm/renderInputs.d.ts +3 -0
- package/mobile/lib/components/CreditCardForm/renderInputs.js +3 -0
- package/mobile/lib/components/CreditCardForm/renderInputs.js.map +1 -0
- package/mobile/lib/components/CreditCardForm/renderStep.d.ts +13 -0
- package/mobile/lib/components/CreditCardForm/renderStep.js +16 -0
- package/mobile/lib/components/CreditCardForm/renderStep.js.map +1 -0
- package/mobile/lib/components/CreditCardForm/useCreditCardFormAPI.d.ts +13 -0
- package/mobile/lib/components/CreditCardForm/useCreditCardFormAPI.js +43 -0
- package/mobile/lib/components/CreditCardForm/useCreditCardFormAPI.js.map +1 -0
- package/mobile/lib/components/CreditForm/CreditForm.js.map +1 -1
- package/mobile/lib/components/CreditForm/CreditFormStatusTracker.js +1 -2
- package/mobile/lib/components/CreditForm/CreditFormStatusTracker.js.map +1 -1
- package/mobile/lib/components/CreditForm/CreditFormStep.d.ts +1 -1
- package/mobile/lib/components/CreditForm/FailedStatusContent.js +1 -1
- package/mobile/lib/components/CreditForm/FailedStatusContent.js.map +1 -1
- package/mobile/lib/components/CreditForm/creditFormStepsData.d.ts +1 -1
- package/mobile/lib/components/CreditForm/getCreditFormTaskData.js +25 -24
- package/mobile/lib/components/CreditForm/getCreditFormTaskData.js.map +1 -1
- package/mobile/lib/model/InputSectionsType.d.ts +9 -1
- package/mobile/lib/ui-kit/FormField/Fields/AddressField.js +6 -1
- package/mobile/lib/ui-kit/FormField/Fields/AddressField.js.map +1 -1
- package/mobile/lib/ui-kit/FormField/Fields/CurrencyField.js +7 -6
- package/mobile/lib/ui-kit/FormField/Fields/CurrencyField.js.map +1 -1
- package/mobile/lib/ui-kit/FormField/Fields/DeliveryDateFiels.d.ts +2 -0
- package/mobile/lib/ui-kit/FormField/Fields/DeliveryDateFiels.js +7 -0
- package/mobile/lib/ui-kit/FormField/Fields/DeliveryDateFiels.js.map +1 -0
- package/mobile/lib/ui-kit/FormField/Fields/DulIssueDateField.js +1 -1
- package/mobile/lib/ui-kit/FormField/Fields/DulIssueDateField.js.map +1 -1
- package/mobile/lib/ui-kit/FormField/Fields/DulIssuedByField.js +1 -1
- package/mobile/lib/ui-kit/FormField/Fields/DulIssuedByField.js.map +1 -1
- package/mobile/lib/ui-kit/FormField/Fields/DulNumberField.js +1 -1
- package/mobile/lib/ui-kit/FormField/Fields/DulNumberField.js.map +1 -1
- package/mobile/lib/ui-kit/FormField/Fields/DulSerieField.js +1 -1
- package/mobile/lib/ui-kit/FormField/Fields/DulSerieField.js.map +1 -1
- package/mobile/lib/ui-kit/FormField/Fields/DulSubdivisionCodeField.js +1 -1
- package/mobile/lib/ui-kit/FormField/Fields/DulSubdivisionCodeField.js.map +1 -1
- package/mobile/lib/ui-kit/FormField/Fields/MethodObtainField.d.ts +4 -0
- package/mobile/lib/ui-kit/FormField/Fields/MethodObtainField.js +11 -0
- package/mobile/lib/ui-kit/FormField/Fields/MethodObtainField.js.map +1 -0
- package/mobile/lib/ui-kit/FormField/Fields/MiddleNameField.js +1 -1
- package/mobile/lib/ui-kit/FormField/Fields/MiddleNameField.js.map +1 -1
- package/mobile/lib/ui-kit/FormField/Fields/NameField.js +1 -1
- package/mobile/lib/ui-kit/FormField/Fields/NameField.js.map +1 -1
- package/mobile/lib/ui-kit/FormField/Fields/PaymentSystemField.js +7 -6
- package/mobile/lib/ui-kit/FormField/Fields/PaymentSystemField.js.map +1 -1
- package/mobile/lib/ui-kit/FormField/Fields/SurnameField.js +1 -1
- package/mobile/lib/ui-kit/FormField/Fields/SurnameField.js.map +1 -1
- package/mobile/lib/ui-kit/FormField/NameFieldDef.d.ts +1 -1
- package/mobile/lib/ui-kit/FormField/getField.js +5 -0
- package/mobile/lib/ui-kit/FormField/getField.js.map +1 -1
- package/mobile/lib/ui-kit/FormField/getObjectValidator.js +6 -1
- package/mobile/lib/ui-kit/FormField/getObjectValidator.js.map +1 -1
- package/mobile/lib/ui-kit/FormField/isEsiaAuthorize.d.ts +2 -1
- package/mobile/lib/ui-kit/FormField/isEsiaAuthorize.js +2 -1
- package/mobile/lib/ui-kit/FormField/isEsiaAuthorize.js.map +1 -1
- package/mobile/src/api/RetailAPI/getTaskStatus.ts +1 -1
- package/mobile/src/api/RetailAPI/updateUserTask.ts +7 -0
- package/mobile/src/api/dadataHints/hintsListsOptions.ts +1 -0
- package/mobile/src/components/ApplicationLeadForm/ApplicationLeadFormContent.ts +0 -11
- package/mobile/src/components/ApplicationLeadForm/getInitialFormState.tsx +9 -0
- package/mobile/src/components/ApplicationLeadForm/pasreEsiaProfile.ts +1 -0
- package/mobile/src/components/Blocks.ts +2 -0
- package/mobile/src/components/CreditCardForm/CreditCardForm.tsx +69 -0
- package/mobile/src/components/CreditCardForm/CreditCardFormContent.ts +27 -0
- package/mobile/src/components/CreditCardForm/CreditCardFormProgress.tsx +27 -0
- package/mobile/src/components/CreditCardForm/CreditCardFormStatus.tsx +119 -0
- package/mobile/src/components/CreditCardForm/CreditCardFormStatusTracker.tsx +48 -0
- package/mobile/src/components/CreditCardForm/CreditCardFormStep.tsx +66 -0
- package/mobile/src/components/CreditCardForm/FailedStatusContent.tsx +10 -0
- package/mobile/src/components/CreditCardForm/PendingStatusContent.tsx +38 -0
- package/mobile/src/components/CreditCardForm/ReworkStatusContent.tsx +32 -0
- package/mobile/src/components/CreditCardForm/StepsNavigationButtons.tsx +29 -0
- package/mobile/src/components/CreditCardForm/SuccessStatusContent.tsx +37 -0
- package/mobile/src/components/CreditCardForm/creditCardFormStepsData.tsx +310 -0
- package/mobile/src/components/CreditCardForm/formStateMap.tsx +165 -0
- package/mobile/src/components/CreditCardForm/getCreditCardFormTaskData.ts +68 -0
- package/mobile/src/components/CreditCardForm/getFifthStepData.ts +13 -0
- package/mobile/src/components/CreditCardForm/getFirstStepData.tsx +13 -0
- package/mobile/src/components/CreditCardForm/getFourthStepData.ts +27 -0
- package/mobile/src/components/CreditCardForm/getInitialFormState.tsx +28 -0
- package/mobile/src/components/CreditCardForm/getSecondStepData.tsx +54 -0
- package/mobile/src/components/CreditCardForm/getThirdStepData.tsx +44 -0
- package/mobile/src/components/CreditCardForm/renderInfo.tsx +10 -0
- package/mobile/src/components/CreditCardForm/renderInputs.tsx +5 -0
- package/mobile/src/components/CreditCardForm/renderStep.tsx +43 -0
- package/mobile/src/components/CreditCardForm/useCreditCardFormAPI.tsx +75 -0
- package/mobile/src/components/CreditForm/CreditForm.tsx +2 -4
- package/mobile/src/components/CreditForm/CreditFormStatusTracker.tsx +1 -2
- package/mobile/src/components/CreditForm/CreditFormStep.tsx +1 -1
- package/mobile/src/components/CreditForm/FailedStatusContent.tsx +1 -2
- package/mobile/src/components/CreditForm/creditFormStepsData.tsx +1 -1
- package/mobile/src/components/CreditForm/getCreditFormTaskData.ts +26 -25
- package/mobile/src/model/InputSectionsType.ts +13 -1
- package/mobile/src/ui-kit/FormField/Fields/AddressField.tsx +7 -1
- package/mobile/src/ui-kit/FormField/Fields/CurrencyField.tsx +14 -15
- package/mobile/src/ui-kit/FormField/Fields/DeliveryDateFiels.tsx +12 -0
- package/mobile/src/ui-kit/FormField/Fields/DulIssueDateField.tsx +1 -1
- package/mobile/src/ui-kit/FormField/Fields/DulIssuedByField.tsx +1 -1
- package/mobile/src/ui-kit/FormField/Fields/DulNumberField.tsx +1 -1
- package/mobile/src/ui-kit/FormField/Fields/DulSerieField.tsx +1 -1
- package/mobile/src/ui-kit/FormField/Fields/DulSubdivisionCodeField.tsx +1 -1
- package/mobile/src/ui-kit/FormField/Fields/MethodObtainField.tsx +19 -0
- package/mobile/src/ui-kit/FormField/Fields/MiddleNameField.tsx +1 -1
- package/mobile/src/ui-kit/FormField/Fields/NameField.tsx +1 -1
- package/mobile/src/ui-kit/FormField/Fields/PaymentSystemField.tsx +14 -16
- package/mobile/src/ui-kit/FormField/Fields/SurnameField.tsx +1 -1
- package/mobile/src/ui-kit/FormField/NameFieldDef.ts +3 -0
- package/mobile/src/ui-kit/FormField/getField.tsx +6 -0
- package/mobile/src/ui-kit/FormField/getObjectValidator.tsx +6 -1
- package/mobile/src/ui-kit/FormField/isEsiaAuthorize.ts +6 -2
- package/package.json +2 -2
- package/src/api/RetailAPI/getTaskStatus.ts +1 -1
- package/src/api/RetailAPI/updateUserTask.ts +7 -0
- package/src/api/dadataHints/hintsListsOptions.ts +1 -0
- package/src/components/ApplicationLeadForm/ApplicationLeadFormContent.ts +0 -11
- package/src/components/ApplicationLeadForm/getInitialFormState.tsx +9 -0
- package/src/components/ApplicationLeadForm/pasreEsiaProfile.ts +1 -0
- package/src/components/Blocks.mobile.ts +2 -0
- package/src/components/Blocks.ts +2 -0
- package/src/components/CreditCardForm/CreditCardForm.fixture.tsx +14 -0
- package/src/components/CreditCardForm/CreditCardForm.tsx +69 -0
- package/src/components/CreditCardForm/CreditCardFormContent.ts +27 -0
- package/src/components/CreditCardForm/CreditCardFormProgress.tsx +27 -0
- package/src/components/CreditCardForm/CreditCardFormStatus.tsx +119 -0
- package/src/components/CreditCardForm/CreditCardFormStatusTracker.tsx +48 -0
- package/src/components/CreditCardForm/CreditCardFormStep.tsx +66 -0
- package/src/components/CreditCardForm/FailedStatusContent.tsx +10 -0
- package/src/components/CreditCardForm/PendingStatusContent.tsx +38 -0
- package/src/components/CreditCardForm/ReworkStatusContent.tsx +32 -0
- package/src/components/CreditCardForm/StepsNavigationButtons.tsx +29 -0
- package/src/components/CreditCardForm/SuccessStatusContent.tsx +37 -0
- package/src/components/CreditCardForm/creditCardFormStepsData.tsx +310 -0
- package/src/components/CreditCardForm/formStateMap.tsx +165 -0
- package/src/components/CreditCardForm/getCreditCardFormTaskData.ts +68 -0
- package/src/components/CreditCardForm/getFifthStepData.ts +13 -0
- package/src/components/CreditCardForm/getFirstStepData.tsx +13 -0
- package/src/components/CreditCardForm/getFourthStepData.ts +27 -0
- package/src/components/CreditCardForm/getInitialFormState.tsx +28 -0
- package/src/components/CreditCardForm/getSecondStepData.tsx +54 -0
- package/src/components/CreditCardForm/getThirdStepData.tsx +44 -0
- package/src/components/CreditCardForm/renderInfo.tsx +10 -0
- package/src/components/CreditCardForm/renderInputs.tsx +5 -0
- package/src/components/CreditCardForm/renderStep.tsx +43 -0
- package/src/components/CreditCardForm/useCreditCardFormAPI.tsx +75 -0
- package/src/components/CreditForm/CreditForm.tsx +2 -4
- package/src/components/CreditForm/CreditFormStatusTracker.tsx +1 -2
- package/src/components/CreditForm/CreditFormStep.tsx +1 -1
- package/src/components/CreditForm/FailedStatusContent.tsx +1 -2
- package/src/components/CreditForm/creditFormStepsData.tsx +1 -1
- package/src/components/CreditForm/getCreditFormTaskData.ts +26 -25
- package/src/model/InputSectionsType.ts +13 -1
- package/src/ui-kit/FormField/Fields/AddressField.tsx +7 -1
- package/src/ui-kit/FormField/Fields/CurrencyField.tsx +14 -15
- package/src/ui-kit/FormField/Fields/DeliveryDateFiels.tsx +12 -0
- package/src/ui-kit/FormField/Fields/DulIssueDateField.tsx +1 -1
- package/src/ui-kit/FormField/Fields/DulIssuedByField.tsx +1 -1
- package/src/ui-kit/FormField/Fields/DulNumberField.tsx +1 -1
- package/src/ui-kit/FormField/Fields/DulSerieField.tsx +1 -1
- package/src/ui-kit/FormField/Fields/DulSubdivisionCodeField.tsx +1 -1
- package/src/ui-kit/FormField/Fields/MethodObtainField.tsx +19 -0
- package/src/ui-kit/FormField/Fields/MiddleNameField.tsx +1 -1
- package/src/ui-kit/FormField/Fields/NameField.tsx +1 -1
- package/src/ui-kit/FormField/Fields/PaymentSystemField.tsx +14 -16
- package/src/ui-kit/FormField/Fields/SurnameField.tsx +1 -1
- package/src/ui-kit/FormField/NameFieldDef.ts +3 -0
- package/src/ui-kit/FormField/getField.tsx +6 -0
- package/src/ui-kit/FormField/getObjectValidator.tsx +6 -1
- package/src/ui-kit/FormField/isEsiaAuthorize.ts +6 -2
|
@@ -0,0 +1,310 @@
|
|
|
1
|
+
/* eslint-disable max-lines */
|
|
2
|
+
/* eslint-disable max-len */
|
|
3
|
+
|
|
4
|
+
import { type CreditCardSectionsProps } from './CreditCardFormContent';
|
|
5
|
+
|
|
6
|
+
export const stepsSectionsMap: CreditCardSectionsProps[][] = [
|
|
7
|
+
[
|
|
8
|
+
{
|
|
9
|
+
title: 'Параметры карты',
|
|
10
|
+
inputs: [],
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
inputs: [
|
|
14
|
+
{ fieldType: 'common', name: 'currency', required: true },
|
|
15
|
+
{ fieldType: 'common', name: 'paymentSystem', required: true },
|
|
16
|
+
{ fieldType: 'common', name: 'cardCategory', required: true },
|
|
17
|
+
{ fieldType: 'common', name: 'codeWord', required: true },
|
|
18
|
+
],
|
|
19
|
+
},
|
|
20
|
+
],
|
|
21
|
+
[
|
|
22
|
+
{
|
|
23
|
+
title: 'Персональные данные',
|
|
24
|
+
columns: 2,
|
|
25
|
+
inputs: [
|
|
26
|
+
{
|
|
27
|
+
fieldType: 'common',
|
|
28
|
+
name: 'surname',
|
|
29
|
+
required: true,
|
|
30
|
+
dadata: true,
|
|
31
|
+
filledByEsia: true,
|
|
32
|
+
},
|
|
33
|
+
{ fieldType: 'common', name: 'name', required: true, dadata: true, filledByEsia: true },
|
|
34
|
+
{ fieldType: 'common', name: 'middleName', dadata: true, filledByEsia: true },
|
|
35
|
+
{ fieldType: 'common', name: 'sex', required: true },
|
|
36
|
+
{ fieldType: 'common', name: 'birthday', required: true, filledByEsia: true },
|
|
37
|
+
{ fieldType: 'common', name: 'birthPlace', required: true },
|
|
38
|
+
{ fieldType: 'common', name: 'phone', required: true },
|
|
39
|
+
{ fieldType: 'common', name: 'email', required: true, dadata: true },
|
|
40
|
+
],
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
title: 'Паспортные данные',
|
|
44
|
+
columns: 2,
|
|
45
|
+
inputs: [
|
|
46
|
+
{ fieldType: 'common', name: 'dulSerie', required: true, filledByEsia: true },
|
|
47
|
+
{ fieldType: 'common', name: 'dulNumber', required: true, filledByEsia: true },
|
|
48
|
+
{ fieldType: 'common', name: 'dulIssueDateField', required: true, filledByEsia: true },
|
|
49
|
+
{
|
|
50
|
+
fieldType: 'common',
|
|
51
|
+
name: 'dulSubdivisionCode',
|
|
52
|
+
required: true,
|
|
53
|
+
dadata: true,
|
|
54
|
+
filledByEsia: true,
|
|
55
|
+
},
|
|
56
|
+
],
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
inputs: [
|
|
60
|
+
{
|
|
61
|
+
fieldType: 'common',
|
|
62
|
+
name: 'dulIssuedBy',
|
|
63
|
+
required: true,
|
|
64
|
+
dadata: true,
|
|
65
|
+
filledByEsia: true,
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
fieldType: 'common',
|
|
69
|
+
name: 'education',
|
|
70
|
+
required: true,
|
|
71
|
+
},
|
|
72
|
+
],
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
title: 'Адрес регистрации по месту жительства',
|
|
76
|
+
columns: 1,
|
|
77
|
+
inputs: [],
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
inputs: [
|
|
81
|
+
{
|
|
82
|
+
fieldType: 'common',
|
|
83
|
+
name: 'addressRegistration',
|
|
84
|
+
required: true,
|
|
85
|
+
dadata: true,
|
|
86
|
+
filledByEsia: true,
|
|
87
|
+
},
|
|
88
|
+
{ fieldType: 'common', name: 'addressMatch' },
|
|
89
|
+
],
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
columns: 2,
|
|
93
|
+
inputs: [{ fieldType: 'common', name: 'participantDateRegistration', required: true }],
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
title: 'Адрес фактического проживания (место пребывания РФ)',
|
|
97
|
+
inputs: [],
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
columns: 2,
|
|
101
|
+
inputs: [{ fieldType: 'common', name: 'housing', required: true }],
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
inputs: [{ fieldType: 'common', name: 'addressFact', required: true, dadata: true }],
|
|
105
|
+
},
|
|
106
|
+
],
|
|
107
|
+
[
|
|
108
|
+
{
|
|
109
|
+
title: 'Данные о трудоустройстве',
|
|
110
|
+
inputs: [],
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
inputs: [
|
|
114
|
+
{
|
|
115
|
+
fieldType: 'info',
|
|
116
|
+
text: 'Клиент на момент оформления заявки на кредит должен быть: официально трудоустроен более 6 месяцев, если Клиент получает з/п на счет РСХБ, то трудоустроен более 3 месяцев, не должен находиться в декретном отпуске',
|
|
117
|
+
},
|
|
118
|
+
],
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
inputs: [
|
|
122
|
+
{ fieldType: 'common', name: 'employment' },
|
|
123
|
+
{ fieldType: 'common', name: 'organizationName', required: true, dadata: true },
|
|
124
|
+
],
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
columns: 2,
|
|
128
|
+
inputs: [
|
|
129
|
+
{ fieldType: 'common', name: 'inn', required: true, dadata: true },
|
|
130
|
+
{ fieldType: 'common', name: 'legalForm', required: true },
|
|
131
|
+
],
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
inputs: [
|
|
135
|
+
{ fieldType: 'common', name: 'organization', required: false },
|
|
136
|
+
{ fieldType: 'common', name: 'amountWorkers', required: false },
|
|
137
|
+
],
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
columns: 2,
|
|
141
|
+
inputs: [
|
|
142
|
+
{ fieldType: 'common', name: 'employerActivities', required: false },
|
|
143
|
+
{ fieldType: 'common', name: 'employerOrganization', required: false },
|
|
144
|
+
{ fieldType: 'common', name: 'generalSeniority', required: true },
|
|
145
|
+
{ fieldType: 'common', name: 'lastJobExperience', required: true },
|
|
146
|
+
{ fieldType: 'common', name: 'experience5Years', required: true },
|
|
147
|
+
{ fieldType: 'common', name: 'jobsNumber', required: true },
|
|
148
|
+
],
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
inputs: [
|
|
152
|
+
{
|
|
153
|
+
fieldType: 'common',
|
|
154
|
+
name: 'organizationPhone',
|
|
155
|
+
label: 'Телефон работодателя',
|
|
156
|
+
required: true,
|
|
157
|
+
},
|
|
158
|
+
{ fieldType: 'common', name: 'beginDate', required: true },
|
|
159
|
+
],
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
columns: 2,
|
|
163
|
+
inputs: [
|
|
164
|
+
{ fieldType: 'common', name: 'positionOrganization', required: false },
|
|
165
|
+
{ fieldType: 'common', name: 'partInBusiness', required: true },
|
|
166
|
+
],
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
title: 'Адрес работодателя',
|
|
170
|
+
inputs: [],
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
inputs: [{ fieldType: 'common', name: 'organizationAddress', required: true, dadata: true }],
|
|
174
|
+
},
|
|
175
|
+
],
|
|
176
|
+
[
|
|
177
|
+
{
|
|
178
|
+
title: 'Семейное положение',
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
columns: 1,
|
|
182
|
+
inputs: [{ fieldType: 'common', name: 'familyStatus', required: true }],
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
columns: 1,
|
|
186
|
+
inputs: [{ fieldType: 'common', name: 'dependents', required: true }],
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
columns: 2,
|
|
190
|
+
inputs: [
|
|
191
|
+
{ fieldType: 'common', name: 'familyMembers' },
|
|
192
|
+
{ fieldType: 'common', name: 'children', required: true },
|
|
193
|
+
],
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
title: 'Совокупный доход',
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
inputs: [
|
|
200
|
+
{
|
|
201
|
+
fieldType: 'info',
|
|
202
|
+
text: 'Сумма основного и дополнительных доходов после вычета налога',
|
|
203
|
+
},
|
|
204
|
+
],
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
columns: 1,
|
|
208
|
+
inputs: [{ fieldType: 'common', name: 'mandatoryIncome', required: true }],
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
columns: 1,
|
|
212
|
+
inputs: [{ fieldType: 'common', name: 'otherPayments', required: true }],
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
columns: 1,
|
|
216
|
+
inputs: [{ fieldType: 'common', name: 'snils', required: true }],
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
columns: 1,
|
|
220
|
+
inputs: [{ fieldType: 'common', name: 'conscription', required: true }],
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
columns: 2,
|
|
224
|
+
inputs: [{ fieldType: 'common', name: 'armyIdFlg' }],
|
|
225
|
+
},
|
|
226
|
+
],
|
|
227
|
+
[
|
|
228
|
+
{
|
|
229
|
+
title: 'Дополнительные сведения',
|
|
230
|
+
columns: 1,
|
|
231
|
+
inputs: [],
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
inputs: [{ fieldType: 'common', name: 'disablePeopleFlg' }],
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
inputs: [{ fieldType: 'common', name: 'bankruptcyFlg' }],
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
inputs: [{ fieldType: 'common', name: 'shareholderFlg' }],
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
inputs: [{ fieldType: 'common', name: 'legalEntityName' }],
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
inputs: [{ fieldType: 'common', name: 'creditInRshbCd' }],
|
|
247
|
+
},
|
|
248
|
+
],
|
|
249
|
+
[
|
|
250
|
+
{
|
|
251
|
+
title: 'Способ получения',
|
|
252
|
+
columns: 1,
|
|
253
|
+
inputs: [],
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
inputs: [{ fieldType: 'common', name: 'methodObtain' }],
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
type: 'courier',
|
|
260
|
+
title: 'Адрес',
|
|
261
|
+
columns: 1,
|
|
262
|
+
inputs: [],
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
type: 'courier',
|
|
266
|
+
inputs: [{ fieldType: 'common', name: 'addressCourier', dadata: true }],
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
type: 'courier',
|
|
270
|
+
inputs: [{ fieldType: 'common', name: 'deliveryDate' }],
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
type: 'courier',
|
|
274
|
+
inputs: [{ fieldType: 'common', name: 'comment' }],
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
type: 'office',
|
|
278
|
+
title: 'Отделение Банка',
|
|
279
|
+
columns: 1,
|
|
280
|
+
inputs: [],
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
type: 'office',
|
|
284
|
+
inputs: [{ fieldType: 'common', name: 'regionRetail', required: true }],
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
type: 'office',
|
|
288
|
+
inputs: [{ fieldType: 'common', name: 'addressRetail', required: true }],
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
type: 'office',
|
|
292
|
+
title: 'Код представителя Банка',
|
|
293
|
+
columns: 1,
|
|
294
|
+
inputs: [],
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
type: 'office',
|
|
298
|
+
inputs: [
|
|
299
|
+
{
|
|
300
|
+
fieldType: 'info',
|
|
301
|
+
text: 'Если представитель Банка помогал Вам в заведении заявки, введите здесь его код',
|
|
302
|
+
},
|
|
303
|
+
],
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
type: 'office',
|
|
307
|
+
inputs: [{ fieldType: 'common', name: 'bankEmployeeCode' }],
|
|
308
|
+
},
|
|
309
|
+
],
|
|
310
|
+
];
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
/* eslint-disable max-lines */
|
|
2
|
+
import { PAYMENT_SYSTEM_TYPES } from '../../ui-kit/FormField/Fields/PaymentSystemField';
|
|
3
|
+
import type { Option } from '../../ui-kit/Select/Option';
|
|
4
|
+
import { type Address } from '../ApplicationLeadForm/getInitialFormState';
|
|
5
|
+
|
|
6
|
+
export interface FormStateMap {
|
|
7
|
+
0: {
|
|
8
|
+
currency?: string;
|
|
9
|
+
paymentSystem?: string;
|
|
10
|
+
cardCategory?: Option;
|
|
11
|
+
codeWord?: string;
|
|
12
|
+
};
|
|
13
|
+
1: {
|
|
14
|
+
surname?: string;
|
|
15
|
+
name?: string;
|
|
16
|
+
middleName?: string;
|
|
17
|
+
sex?: string;
|
|
18
|
+
birthday?: Date;
|
|
19
|
+
birthPlace?: string;
|
|
20
|
+
phone?: string;
|
|
21
|
+
email?: string;
|
|
22
|
+
dulSerie?: number;
|
|
23
|
+
dulNumber?: number;
|
|
24
|
+
dulIssueDateField?: Date;
|
|
25
|
+
dulSubdivisionCode?: string;
|
|
26
|
+
dulIssuedBy?: string;
|
|
27
|
+
addressRegistration?: Address;
|
|
28
|
+
participantDateRegistration?: Date;
|
|
29
|
+
addressFact?: Address;
|
|
30
|
+
housing?: string;
|
|
31
|
+
methodObtain?: string;
|
|
32
|
+
addressCourier?: Address;
|
|
33
|
+
};
|
|
34
|
+
2: {
|
|
35
|
+
amountWorkers?: Option;
|
|
36
|
+
beginDate?: Date;
|
|
37
|
+
employerActivities?: Option;
|
|
38
|
+
employerOrganization?: Option;
|
|
39
|
+
employment?: Option;
|
|
40
|
+
experience5Years?: string;
|
|
41
|
+
inn?: number;
|
|
42
|
+
jobsNumber?: string;
|
|
43
|
+
lastJobExperience?: string;
|
|
44
|
+
legalForm?: string;
|
|
45
|
+
organization?: Option;
|
|
46
|
+
organizationAddress?: Address;
|
|
47
|
+
organizationName?: string;
|
|
48
|
+
organizationPhone?: string;
|
|
49
|
+
partInBusiness?: number;
|
|
50
|
+
positionOrganization?: Option;
|
|
51
|
+
};
|
|
52
|
+
3: {
|
|
53
|
+
familyStatus?: Option;
|
|
54
|
+
dependents?: number;
|
|
55
|
+
familyMembers?: number;
|
|
56
|
+
mandatoryIncome?: number;
|
|
57
|
+
otherPayments?: number;
|
|
58
|
+
snils?: string;
|
|
59
|
+
armyIdFlg?: boolean;
|
|
60
|
+
};
|
|
61
|
+
4: {
|
|
62
|
+
disablePeopleFlg?: boolean;
|
|
63
|
+
bankruptcyFlg?: boolean;
|
|
64
|
+
shareholderFlg?: boolean;
|
|
65
|
+
legalEntityName?: string;
|
|
66
|
+
creditInRshbCd?: Option;
|
|
67
|
+
};
|
|
68
|
+
5: {
|
|
69
|
+
regionRetail?: string;
|
|
70
|
+
addressRetail?: Address;
|
|
71
|
+
bankEmployeeCode?: string;
|
|
72
|
+
addressCoutier?: Address;
|
|
73
|
+
methodObtain?: 'office' | 'courier';
|
|
74
|
+
deliveryDate?: Date;
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export const formStateMap: FormStateMap = {
|
|
79
|
+
0: {
|
|
80
|
+
paymentSystem: PAYMENT_SYSTEM_TYPES[0].id,
|
|
81
|
+
currency: 'rub',
|
|
82
|
+
codeWord: '',
|
|
83
|
+
},
|
|
84
|
+
1: {
|
|
85
|
+
surname: '',
|
|
86
|
+
name: '',
|
|
87
|
+
middleName: '',
|
|
88
|
+
sex: '',
|
|
89
|
+
birthday: undefined,
|
|
90
|
+
birthPlace: '',
|
|
91
|
+
phone: '',
|
|
92
|
+
email: '',
|
|
93
|
+
dulSerie: undefined,
|
|
94
|
+
dulNumber: undefined,
|
|
95
|
+
dulIssueDateField: undefined,
|
|
96
|
+
dulSubdivisionCode: '',
|
|
97
|
+
dulIssuedBy: '',
|
|
98
|
+
addressRegistration: {
|
|
99
|
+
fullAddress: '',
|
|
100
|
+
fiasCode: '',
|
|
101
|
+
},
|
|
102
|
+
participantDateRegistration: undefined,
|
|
103
|
+
addressFact: {
|
|
104
|
+
fullAddress: '',
|
|
105
|
+
fiasCode: '',
|
|
106
|
+
},
|
|
107
|
+
housing: '',
|
|
108
|
+
methodObtain: 'office',
|
|
109
|
+
addressCourier: {
|
|
110
|
+
fullAddress: '',
|
|
111
|
+
fiasCode: '',
|
|
112
|
+
},
|
|
113
|
+
},
|
|
114
|
+
2: {
|
|
115
|
+
amountWorkers: { key: '', text: '' },
|
|
116
|
+
beginDate: undefined,
|
|
117
|
+
employerActivities: { key: '', text: '' },
|
|
118
|
+
employerOrganization: { key: '', text: '' },
|
|
119
|
+
employment: { key: '', text: '' },
|
|
120
|
+
experience5Years: '',
|
|
121
|
+
inn: undefined,
|
|
122
|
+
jobsNumber: '',
|
|
123
|
+
lastJobExperience: '',
|
|
124
|
+
legalForm: '',
|
|
125
|
+
organization: { key: '', text: '' },
|
|
126
|
+
organizationAddress: {
|
|
127
|
+
fullAddress: '',
|
|
128
|
+
fiasCode: '',
|
|
129
|
+
},
|
|
130
|
+
organizationName: '',
|
|
131
|
+
organizationPhone: '',
|
|
132
|
+
partInBusiness: undefined,
|
|
133
|
+
positionOrganization: { key: '', text: '' },
|
|
134
|
+
},
|
|
135
|
+
3: {
|
|
136
|
+
familyStatus: { key: '', text: '' },
|
|
137
|
+
dependents: undefined,
|
|
138
|
+
familyMembers: undefined,
|
|
139
|
+
mandatoryIncome: undefined,
|
|
140
|
+
otherPayments: undefined,
|
|
141
|
+
snils: '',
|
|
142
|
+
armyIdFlg: false,
|
|
143
|
+
},
|
|
144
|
+
4: {
|
|
145
|
+
disablePeopleFlg: false,
|
|
146
|
+
bankruptcyFlg: false,
|
|
147
|
+
shareholderFlg: false,
|
|
148
|
+
legalEntityName: '',
|
|
149
|
+
creditInRshbCd: undefined,
|
|
150
|
+
},
|
|
151
|
+
5: {
|
|
152
|
+
regionRetail: '',
|
|
153
|
+
addressRetail: {
|
|
154
|
+
fullAddress: '',
|
|
155
|
+
fiasCode: '',
|
|
156
|
+
},
|
|
157
|
+
bankEmployeeCode: '',
|
|
158
|
+
addressCoutier: {
|
|
159
|
+
fullAddress: '',
|
|
160
|
+
fiasCode: '',
|
|
161
|
+
},
|
|
162
|
+
methodObtain: 'office',
|
|
163
|
+
deliveryDate: undefined,
|
|
164
|
+
},
|
|
165
|
+
};
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { type Participant, type UpdateUserTaskBody } from '../../api/RetailAPI/updateUserTask';
|
|
2
|
+
import { type FormState } from '../ApplicationLeadForm/getInitialFormState';
|
|
3
|
+
import { getFifthStepData } from './getFifthStepData';
|
|
4
|
+
import { getFirstStepData } from './getFirstStepData';
|
|
5
|
+
import { getFourthStepData } from './getFourthStepData';
|
|
6
|
+
import { getSecondStepData } from './getSecondStepData';
|
|
7
|
+
import { getThirdStepData } from './getThirdStepData';
|
|
8
|
+
|
|
9
|
+
type getCreditCardFormTaskDataProps = {
|
|
10
|
+
participantId: number;
|
|
11
|
+
taskId: number;
|
|
12
|
+
profileId: number;
|
|
13
|
+
formData: FormState;
|
|
14
|
+
step?: number;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
export const getCreditCardFormTaskData = ({
|
|
18
|
+
participantId,
|
|
19
|
+
taskId,
|
|
20
|
+
profileId,
|
|
21
|
+
formData,
|
|
22
|
+
step = 0,
|
|
23
|
+
}: getCreditCardFormTaskDataProps): UpdateUserTaskBody => {
|
|
24
|
+
return {
|
|
25
|
+
sendToBank: true,
|
|
26
|
+
taskKind: 'UNITED',
|
|
27
|
+
task: {
|
|
28
|
+
taskSource: globalThis.location.origin,
|
|
29
|
+
id: taskId,
|
|
30
|
+
//TODO: Добавить id офиса
|
|
31
|
+
authorizedAgentId: formData?.bankEmployeeCode,
|
|
32
|
+
participants: [
|
|
33
|
+
{
|
|
34
|
+
id: participantId,
|
|
35
|
+
profile: {
|
|
36
|
+
id: profileId,
|
|
37
|
+
},
|
|
38
|
+
roleCd: {
|
|
39
|
+
key: 'BORROWER',
|
|
40
|
+
value: 'Заемщик',
|
|
41
|
+
},
|
|
42
|
+
...getCurrentStepData(step, formData),
|
|
43
|
+
},
|
|
44
|
+
],
|
|
45
|
+
},
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
const getCurrentStepData = (step: number, formData: FormState): Partial<Participant> => {
|
|
50
|
+
switch (step) {
|
|
51
|
+
case 0:
|
|
52
|
+
return getFirstStepData(formData);
|
|
53
|
+
case 1:
|
|
54
|
+
return getSecondStepData(formData);
|
|
55
|
+
case 2:
|
|
56
|
+
return getThirdStepData(formData);
|
|
57
|
+
case 3:
|
|
58
|
+
return getFourthStepData(formData);
|
|
59
|
+
case 4:
|
|
60
|
+
return getFifthStepData(formData);
|
|
61
|
+
case 5:
|
|
62
|
+
return {
|
|
63
|
+
//TODO: Сделать адаптер данных способа получения карты
|
|
64
|
+
};
|
|
65
|
+
default:
|
|
66
|
+
return {};
|
|
67
|
+
}
|
|
68
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type Participant } from '../../api/RetailAPI/updateUserTask';
|
|
2
|
+
import { type FormState } from '../ApplicationLeadForm/getInitialFormState';
|
|
3
|
+
|
|
4
|
+
export const getFifthStepData = (formData: FormState): Partial<Participant> => {
|
|
5
|
+
const { bankruptcyFlg, shareholderFlg, legalEntityName, creditInRshbCd } = formData;
|
|
6
|
+
|
|
7
|
+
return {
|
|
8
|
+
bankruptcyFlg,
|
|
9
|
+
shareholderFlg,
|
|
10
|
+
nameLegalEntity: legalEntityName,
|
|
11
|
+
creditInRshbCd,
|
|
12
|
+
};
|
|
13
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type Participant } from '../../api/RetailAPI/updateUserTask';
|
|
2
|
+
import { type FormState } from '../ApplicationLeadForm/getInitialFormState';
|
|
3
|
+
|
|
4
|
+
export const getFirstStepData = (formData: FormState): Partial<Participant> => {
|
|
5
|
+
const { currency, paymentSystem, cardCategory, codeWord } = formData;
|
|
6
|
+
|
|
7
|
+
return {
|
|
8
|
+
currencyCode: currency,
|
|
9
|
+
paymentSystemTypeCd: paymentSystem,
|
|
10
|
+
classCard: cardCategory,
|
|
11
|
+
codeWord: codeWord,
|
|
12
|
+
};
|
|
13
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { type Participant } from '../../api/RetailAPI/updateUserTask';
|
|
2
|
+
import { type FormState } from '../ApplicationLeadForm/getInitialFormState';
|
|
3
|
+
import { getParticipantIncomes } from '../CreditForm/utils';
|
|
4
|
+
|
|
5
|
+
export const getFourthStepData = (formData: FormState): Partial<Participant> => {
|
|
6
|
+
const {
|
|
7
|
+
familyStatus,
|
|
8
|
+
dependents,
|
|
9
|
+
familyMembers,
|
|
10
|
+
mandatoryIncome,
|
|
11
|
+
otherPayments,
|
|
12
|
+
snils,
|
|
13
|
+
armyIdFlg,
|
|
14
|
+
} = formData;
|
|
15
|
+
|
|
16
|
+
return {
|
|
17
|
+
maritalStatusCd: familyStatus,
|
|
18
|
+
totalDependents: familyMembers,
|
|
19
|
+
otherDependents: dependents,
|
|
20
|
+
participantIncomes: getParticipantIncomes({
|
|
21
|
+
mandatoryIncome,
|
|
22
|
+
otherPayments,
|
|
23
|
+
}),
|
|
24
|
+
snils: snils?.replaceAll(' ', ''),
|
|
25
|
+
armyIdFlg,
|
|
26
|
+
};
|
|
27
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { formStateMap, type FormStateMap } from './formStateMap';
|
|
2
|
+
|
|
3
|
+
export const getInitialFormState = <Step extends keyof FormStateMap>(
|
|
4
|
+
step: Step,
|
|
5
|
+
localStorageData: Record<string, any> | null,
|
|
6
|
+
): FormStateMap[Step] => {
|
|
7
|
+
if (localStorageData) {
|
|
8
|
+
// TODO: Fill in for other fields with type Date
|
|
9
|
+
// TODO: Take it out to the helper
|
|
10
|
+
localStorageData.birthday = localStorageData.birthday
|
|
11
|
+
? new Date(localStorageData.birthday as string)
|
|
12
|
+
: undefined;
|
|
13
|
+
localStorageData.dulIssueDateField = localStorageData.dulIssueDateField
|
|
14
|
+
? new Date(localStorageData.dulIssueDateField as string)
|
|
15
|
+
: undefined;
|
|
16
|
+
localStorageData.participantDateRegistration = localStorageData.participantDateRegistration
|
|
17
|
+
? new Date(localStorageData.participantDateRegistration as string)
|
|
18
|
+
: undefined;
|
|
19
|
+
localStorageData.beginDate = localStorageData?.beginDate
|
|
20
|
+
? new Date(localStorageData.beginDate as string)
|
|
21
|
+
: undefined;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
return {
|
|
25
|
+
...formStateMap[step],
|
|
26
|
+
...localStorageData,
|
|
27
|
+
};
|
|
28
|
+
};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { type Participant } from '../../api/RetailAPI/updateUserTask';
|
|
2
|
+
import { formatDate } from '../../utils/formatDate';
|
|
3
|
+
import { formatPhone } from '../../utils/formatPhone';
|
|
4
|
+
import { type FormState } from '../ApplicationLeadForm/getInitialFormState';
|
|
5
|
+
import { getParticipantAddresses, getParticipantContacts } from '../CreditForm/utils';
|
|
6
|
+
|
|
7
|
+
export const getSecondStepData = (formData: FormState): Partial<Participant> => {
|
|
8
|
+
const {
|
|
9
|
+
name,
|
|
10
|
+
surname,
|
|
11
|
+
middleName,
|
|
12
|
+
birthday = '',
|
|
13
|
+
phone = '',
|
|
14
|
+
email,
|
|
15
|
+
sex,
|
|
16
|
+
birthPlace,
|
|
17
|
+
dulIssueDateField = '',
|
|
18
|
+
dulIssuedBy,
|
|
19
|
+
dulNumber,
|
|
20
|
+
dulSerie,
|
|
21
|
+
dulSubdivisionCode,
|
|
22
|
+
education,
|
|
23
|
+
participantDateRegistration = '',
|
|
24
|
+
housing,
|
|
25
|
+
addressRegistration,
|
|
26
|
+
addressFact,
|
|
27
|
+
} = formData;
|
|
28
|
+
|
|
29
|
+
return {
|
|
30
|
+
birthDate: formatDate(birthday, true),
|
|
31
|
+
midname: middleName,
|
|
32
|
+
name,
|
|
33
|
+
surname,
|
|
34
|
+
birthPlace,
|
|
35
|
+
dulIssueDate: formatDate(dulIssueDateField, true),
|
|
36
|
+
dulIssuedBy,
|
|
37
|
+
dulNumber,
|
|
38
|
+
dulSerie,
|
|
39
|
+
dulSubdivisionCode,
|
|
40
|
+
educationLevelCd: education,
|
|
41
|
+
registrationDate: formatDate(participantDateRegistration, true),
|
|
42
|
+
houseTypeCd: housing,
|
|
43
|
+
participantContacts: getParticipantContacts({
|
|
44
|
+
phone: formatPhone(phone),
|
|
45
|
+
email,
|
|
46
|
+
}),
|
|
47
|
+
participantAddresses: getParticipantAddresses({ addressRegistration, addressFact }),
|
|
48
|
+
genderCd: sex
|
|
49
|
+
? {
|
|
50
|
+
key: sex === 'male' ? 'MAN' : 'WOMAN',
|
|
51
|
+
}
|
|
52
|
+
: undefined,
|
|
53
|
+
};
|
|
54
|
+
};
|