@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,74 @@
|
|
|
1
|
+
import type { Option } from '../../ui-kit/Select/Option';
|
|
2
|
+
import { type Address } from '../ApplicationLeadForm/getInitialFormState';
|
|
3
|
+
export interface FormStateMap {
|
|
4
|
+
0: {
|
|
5
|
+
currency?: string;
|
|
6
|
+
paymentSystem?: string;
|
|
7
|
+
cardCategory?: Option;
|
|
8
|
+
codeWord?: string;
|
|
9
|
+
};
|
|
10
|
+
1: {
|
|
11
|
+
surname?: string;
|
|
12
|
+
name?: string;
|
|
13
|
+
middleName?: string;
|
|
14
|
+
sex?: string;
|
|
15
|
+
birthday?: Date;
|
|
16
|
+
birthPlace?: string;
|
|
17
|
+
phone?: string;
|
|
18
|
+
email?: string;
|
|
19
|
+
dulSerie?: number;
|
|
20
|
+
dulNumber?: number;
|
|
21
|
+
dulIssueDateField?: Date;
|
|
22
|
+
dulSubdivisionCode?: string;
|
|
23
|
+
dulIssuedBy?: string;
|
|
24
|
+
addressRegistration?: Address;
|
|
25
|
+
participantDateRegistration?: Date;
|
|
26
|
+
addressFact?: Address;
|
|
27
|
+
housing?: string;
|
|
28
|
+
methodObtain?: string;
|
|
29
|
+
addressCourier?: Address;
|
|
30
|
+
};
|
|
31
|
+
2: {
|
|
32
|
+
amountWorkers?: Option;
|
|
33
|
+
beginDate?: Date;
|
|
34
|
+
employerActivities?: Option;
|
|
35
|
+
employerOrganization?: Option;
|
|
36
|
+
employment?: Option;
|
|
37
|
+
experience5Years?: string;
|
|
38
|
+
inn?: number;
|
|
39
|
+
jobsNumber?: string;
|
|
40
|
+
lastJobExperience?: string;
|
|
41
|
+
legalForm?: string;
|
|
42
|
+
organization?: Option;
|
|
43
|
+
organizationAddress?: Address;
|
|
44
|
+
organizationName?: string;
|
|
45
|
+
organizationPhone?: string;
|
|
46
|
+
partInBusiness?: number;
|
|
47
|
+
positionOrganization?: Option;
|
|
48
|
+
};
|
|
49
|
+
3: {
|
|
50
|
+
familyStatus?: Option;
|
|
51
|
+
dependents?: number;
|
|
52
|
+
familyMembers?: number;
|
|
53
|
+
mandatoryIncome?: number;
|
|
54
|
+
otherPayments?: number;
|
|
55
|
+
snils?: string;
|
|
56
|
+
armyIdFlg?: boolean;
|
|
57
|
+
};
|
|
58
|
+
4: {
|
|
59
|
+
disablePeopleFlg?: boolean;
|
|
60
|
+
bankruptcyFlg?: boolean;
|
|
61
|
+
shareholderFlg?: boolean;
|
|
62
|
+
legalEntityName?: string;
|
|
63
|
+
creditInRshbCd?: Option;
|
|
64
|
+
};
|
|
65
|
+
5: {
|
|
66
|
+
regionRetail?: string;
|
|
67
|
+
addressRetail?: Address;
|
|
68
|
+
bankEmployeeCode?: string;
|
|
69
|
+
addressCoutier?: Address;
|
|
70
|
+
methodObtain?: 'office' | 'courier';
|
|
71
|
+
deliveryDate?: Date;
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
export declare const formStateMap: FormStateMap;
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
/* eslint-disable max-lines */
|
|
2
|
+
import { PAYMENT_SYSTEM_TYPES } from '../../ui-kit/FormField/Fields/PaymentSystemField.js';
|
|
3
|
+
export const formStateMap = {
|
|
4
|
+
0: {
|
|
5
|
+
paymentSystem: PAYMENT_SYSTEM_TYPES[0].id,
|
|
6
|
+
currency: 'rub',
|
|
7
|
+
codeWord: '',
|
|
8
|
+
},
|
|
9
|
+
1: {
|
|
10
|
+
surname: '',
|
|
11
|
+
name: '',
|
|
12
|
+
middleName: '',
|
|
13
|
+
sex: '',
|
|
14
|
+
birthday: undefined,
|
|
15
|
+
birthPlace: '',
|
|
16
|
+
phone: '',
|
|
17
|
+
email: '',
|
|
18
|
+
dulSerie: undefined,
|
|
19
|
+
dulNumber: undefined,
|
|
20
|
+
dulIssueDateField: undefined,
|
|
21
|
+
dulSubdivisionCode: '',
|
|
22
|
+
dulIssuedBy: '',
|
|
23
|
+
addressRegistration: {
|
|
24
|
+
fullAddress: '',
|
|
25
|
+
fiasCode: '',
|
|
26
|
+
},
|
|
27
|
+
participantDateRegistration: undefined,
|
|
28
|
+
addressFact: {
|
|
29
|
+
fullAddress: '',
|
|
30
|
+
fiasCode: '',
|
|
31
|
+
},
|
|
32
|
+
housing: '',
|
|
33
|
+
methodObtain: 'office',
|
|
34
|
+
addressCourier: {
|
|
35
|
+
fullAddress: '',
|
|
36
|
+
fiasCode: '',
|
|
37
|
+
},
|
|
38
|
+
},
|
|
39
|
+
2: {
|
|
40
|
+
amountWorkers: { key: '', text: '' },
|
|
41
|
+
beginDate: undefined,
|
|
42
|
+
employerActivities: { key: '', text: '' },
|
|
43
|
+
employerOrganization: { key: '', text: '' },
|
|
44
|
+
employment: { key: '', text: '' },
|
|
45
|
+
experience5Years: '',
|
|
46
|
+
inn: undefined,
|
|
47
|
+
jobsNumber: '',
|
|
48
|
+
lastJobExperience: '',
|
|
49
|
+
legalForm: '',
|
|
50
|
+
organization: { key: '', text: '' },
|
|
51
|
+
organizationAddress: {
|
|
52
|
+
fullAddress: '',
|
|
53
|
+
fiasCode: '',
|
|
54
|
+
},
|
|
55
|
+
organizationName: '',
|
|
56
|
+
organizationPhone: '',
|
|
57
|
+
partInBusiness: undefined,
|
|
58
|
+
positionOrganization: { key: '', text: '' },
|
|
59
|
+
},
|
|
60
|
+
3: {
|
|
61
|
+
familyStatus: { key: '', text: '' },
|
|
62
|
+
dependents: undefined,
|
|
63
|
+
familyMembers: undefined,
|
|
64
|
+
mandatoryIncome: undefined,
|
|
65
|
+
otherPayments: undefined,
|
|
66
|
+
snils: '',
|
|
67
|
+
armyIdFlg: false,
|
|
68
|
+
},
|
|
69
|
+
4: {
|
|
70
|
+
disablePeopleFlg: false,
|
|
71
|
+
bankruptcyFlg: false,
|
|
72
|
+
shareholderFlg: false,
|
|
73
|
+
legalEntityName: '',
|
|
74
|
+
creditInRshbCd: undefined,
|
|
75
|
+
},
|
|
76
|
+
5: {
|
|
77
|
+
regionRetail: '',
|
|
78
|
+
addressRetail: {
|
|
79
|
+
fullAddress: '',
|
|
80
|
+
fiasCode: '',
|
|
81
|
+
},
|
|
82
|
+
bankEmployeeCode: '',
|
|
83
|
+
addressCoutier: {
|
|
84
|
+
fullAddress: '',
|
|
85
|
+
fiasCode: '',
|
|
86
|
+
},
|
|
87
|
+
methodObtain: 'office',
|
|
88
|
+
deliveryDate: undefined,
|
|
89
|
+
},
|
|
90
|
+
};
|
|
91
|
+
//# sourceMappingURL=formStateMap.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"formStateMap.js","sourceRoot":"","sources":["../../../src/components/CreditCardForm/formStateMap.tsx"],"names":[],"mappings":"AAAA,8BAA8B;AAC9B,OAAO,EAAE,oBAAoB,EAAE,MAAM,kDAAkD,CAAC;AA4ExF,MAAM,CAAC,MAAM,YAAY,GAAiB;IACxC,CAAC,EAAE;QACD,aAAa,EAAE,oBAAoB,CAAC,CAAC,CAAC,CAAC,EAAE;QACzC,QAAQ,EAAE,KAAK;QACf,QAAQ,EAAE,EAAE;KACb;IACD,CAAC,EAAE;QACD,OAAO,EAAE,EAAE;QACX,IAAI,EAAE,EAAE;QACR,UAAU,EAAE,EAAE;QACd,GAAG,EAAE,EAAE;QACP,QAAQ,EAAE,SAAS;QACnB,UAAU,EAAE,EAAE;QACd,KAAK,EAAE,EAAE;QACT,KAAK,EAAE,EAAE;QACT,QAAQ,EAAE,SAAS;QACnB,SAAS,EAAE,SAAS;QACpB,iBAAiB,EAAE,SAAS;QAC5B,kBAAkB,EAAE,EAAE;QACtB,WAAW,EAAE,EAAE;QACf,mBAAmB,EAAE;YACnB,WAAW,EAAE,EAAE;YACf,QAAQ,EAAE,EAAE;SACb;QACD,2BAA2B,EAAE,SAAS;QACtC,WAAW,EAAE;YACX,WAAW,EAAE,EAAE;YACf,QAAQ,EAAE,EAAE;SACb;QACD,OAAO,EAAE,EAAE;QACX,YAAY,EAAE,QAAQ;QACtB,cAAc,EAAE;YACd,WAAW,EAAE,EAAE;YACf,QAAQ,EAAE,EAAE;SACb;KACF;IACD,CAAC,EAAE;QACD,aAAa,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE;QACpC,SAAS,EAAE,SAAS;QACpB,kBAAkB,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE;QACzC,oBAAoB,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE;QAC3C,UAAU,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE;QACjC,gBAAgB,EAAE,EAAE;QACpB,GAAG,EAAE,SAAS;QACd,UAAU,EAAE,EAAE;QACd,iBAAiB,EAAE,EAAE;QACrB,SAAS,EAAE,EAAE;QACb,YAAY,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE;QACnC,mBAAmB,EAAE;YACnB,WAAW,EAAE,EAAE;YACf,QAAQ,EAAE,EAAE;SACb;QACD,gBAAgB,EAAE,EAAE;QACpB,iBAAiB,EAAE,EAAE;QACrB,cAAc,EAAE,SAAS;QACzB,oBAAoB,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE;KAC5C;IACD,CAAC,EAAE;QACD,YAAY,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE;QACnC,UAAU,EAAE,SAAS;QACrB,aAAa,EAAE,SAAS;QACxB,eAAe,EAAE,SAAS;QAC1B,aAAa,EAAE,SAAS;QACxB,KAAK,EAAE,EAAE;QACT,SAAS,EAAE,KAAK;KACjB;IACD,CAAC,EAAE;QACD,gBAAgB,EAAE,KAAK;QACvB,aAAa,EAAE,KAAK;QACpB,cAAc,EAAE,KAAK;QACrB,eAAe,EAAE,EAAE;QACnB,cAAc,EAAE,SAAS;KAC1B;IACD,CAAC,EAAE;QACD,YAAY,EAAE,EAAE;QAChB,aAAa,EAAE;YACb,WAAW,EAAE,EAAE;YACf,QAAQ,EAAE,EAAE;SACb;QACD,gBAAgB,EAAE,EAAE;QACpB,cAAc,EAAE;YACd,WAAW,EAAE,EAAE;YACf,QAAQ,EAAE,EAAE;SACb;QACD,YAAY,EAAE,QAAQ;QACtB,YAAY,EAAE,SAAS;KACxB;CACF,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type UpdateUserTaskBody } from '../../api/RetailAPI/updateUserTask';
|
|
2
|
+
import { type FormState } from '../ApplicationLeadForm/getInitialFormState';
|
|
3
|
+
declare type getCreditCardFormTaskDataProps = {
|
|
4
|
+
participantId: number;
|
|
5
|
+
taskId: number;
|
|
6
|
+
profileId: number;
|
|
7
|
+
formData: FormState;
|
|
8
|
+
step?: number;
|
|
9
|
+
};
|
|
10
|
+
export declare const getCreditCardFormTaskData: ({ participantId, taskId, profileId, formData, step, }: getCreditCardFormTaskDataProps) => UpdateUserTaskBody;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { getFifthStepData } from './getFifthStepData.js';
|
|
2
|
+
import { getFirstStepData } from './getFirstStepData.js';
|
|
3
|
+
import { getFourthStepData } from './getFourthStepData.js';
|
|
4
|
+
import { getSecondStepData } from './getSecondStepData.js';
|
|
5
|
+
import { getThirdStepData } from './getThirdStepData.js';
|
|
6
|
+
export const getCreditCardFormTaskData = ({ participantId, taskId, profileId, formData, step = 0, }) => {
|
|
7
|
+
return {
|
|
8
|
+
sendToBank: true,
|
|
9
|
+
taskKind: 'UNITED',
|
|
10
|
+
task: {
|
|
11
|
+
taskSource: globalThis.location.origin,
|
|
12
|
+
id: taskId,
|
|
13
|
+
//TODO: Добавить id офиса
|
|
14
|
+
authorizedAgentId: formData?.bankEmployeeCode,
|
|
15
|
+
participants: [
|
|
16
|
+
{
|
|
17
|
+
id: participantId,
|
|
18
|
+
profile: {
|
|
19
|
+
id: profileId,
|
|
20
|
+
},
|
|
21
|
+
roleCd: {
|
|
22
|
+
key: 'BORROWER',
|
|
23
|
+
value: 'Заемщик',
|
|
24
|
+
},
|
|
25
|
+
...getCurrentStepData(step, formData),
|
|
26
|
+
},
|
|
27
|
+
],
|
|
28
|
+
},
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
const getCurrentStepData = (step, formData) => {
|
|
32
|
+
switch (step) {
|
|
33
|
+
case 0:
|
|
34
|
+
return getFirstStepData(formData);
|
|
35
|
+
case 1:
|
|
36
|
+
return getSecondStepData(formData);
|
|
37
|
+
case 2:
|
|
38
|
+
return getThirdStepData(formData);
|
|
39
|
+
case 3:
|
|
40
|
+
return getFourthStepData(formData);
|
|
41
|
+
case 4:
|
|
42
|
+
return getFifthStepData(formData);
|
|
43
|
+
case 5:
|
|
44
|
+
return {
|
|
45
|
+
//TODO: Сделать адаптер данных способа получения карты
|
|
46
|
+
};
|
|
47
|
+
default:
|
|
48
|
+
return {};
|
|
49
|
+
}
|
|
50
|
+
};
|
|
51
|
+
//# sourceMappingURL=getCreditCardFormTaskData.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getCreditCardFormTaskData.js","sourceRoot":"","sources":["../../../src/components/CreditCardForm/getCreditCardFormTaskData.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAUtD,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,EACxC,aAAa,EACb,MAAM,EACN,SAAS,EACT,QAAQ,EACR,IAAI,GAAG,CAAC,GACuB,EAAsB,EAAE;IACvD,OAAO;QACL,UAAU,EAAE,IAAI;QAChB,QAAQ,EAAE,QAAQ;QAClB,IAAI,EAAE;YACJ,UAAU,EAAE,UAAU,CAAC,QAAQ,CAAC,MAAM;YACtC,EAAE,EAAE,MAAM;YACV,yBAAyB;YACzB,iBAAiB,EAAE,QAAQ,EAAE,gBAAgB;YAC7C,YAAY,EAAE;gBACZ;oBACE,EAAE,EAAE,aAAa;oBACjB,OAAO,EAAE;wBACP,EAAE,EAAE,SAAS;qBACd;oBACD,MAAM,EAAE;wBACN,GAAG,EAAE,UAAU;wBACf,KAAK,EAAE,SAAS;qBACjB;oBACD,GAAG,kBAAkB,CAAC,IAAI,EAAE,QAAQ,CAAC;iBACtC;aACF;SACF;KACF,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,kBAAkB,GAAG,CAAC,IAAY,EAAE,QAAmB,EAAwB,EAAE;IACrF,QAAQ,IAAI,EAAE;QACZ,KAAK,CAAC;YACJ,OAAO,gBAAgB,CAAC,QAAQ,CAAC,CAAC;QACpC,KAAK,CAAC;YACJ,OAAO,iBAAiB,CAAC,QAAQ,CAAC,CAAC;QACrC,KAAK,CAAC;YACJ,OAAO,gBAAgB,CAAC,QAAQ,CAAC,CAAC;QACpC,KAAK,CAAC;YACJ,OAAO,iBAAiB,CAAC,QAAQ,CAAC,CAAC;QACrC,KAAK,CAAC;YACJ,OAAO,gBAAgB,CAAC,QAAQ,CAAC,CAAC;QACpC,KAAK,CAAC;YACJ,OAAO;YACL,sDAAsD;aACvD,CAAC;QACJ;YACE,OAAO,EAAE,CAAC;KACb;AACH,CAAC,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export const getFifthStepData = (formData) => {
|
|
2
|
+
const { bankruptcyFlg, shareholderFlg, legalEntityName, creditInRshbCd } = formData;
|
|
3
|
+
return {
|
|
4
|
+
bankruptcyFlg,
|
|
5
|
+
shareholderFlg,
|
|
6
|
+
nameLegalEntity: legalEntityName,
|
|
7
|
+
creditInRshbCd,
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=getFifthStepData.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getFifthStepData.js","sourceRoot":"","sources":["../../../src/components/CreditCardForm/getFifthStepData.ts"],"names":[],"mappings":"AAGA,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,QAAmB,EAAwB,EAAE;IAC5E,MAAM,EAAE,aAAa,EAAE,cAAc,EAAE,eAAe,EAAE,cAAc,EAAE,GAAG,QAAQ,CAAC;IAEpF,OAAO;QACL,aAAa;QACb,cAAc;QACd,eAAe,EAAE,eAAe;QAChC,cAAc;KACf,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export const getFirstStepData = (formData) => {
|
|
2
|
+
const { currency, paymentSystem, cardCategory, codeWord } = formData;
|
|
3
|
+
return {
|
|
4
|
+
currencyCode: currency,
|
|
5
|
+
paymentSystemTypeCd: paymentSystem,
|
|
6
|
+
classCard: cardCategory,
|
|
7
|
+
codeWord: codeWord,
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=getFirstStepData.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getFirstStepData.js","sourceRoot":"","sources":["../../../src/components/CreditCardForm/getFirstStepData.tsx"],"names":[],"mappings":"AAGA,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,QAAmB,EAAwB,EAAE;IAC5E,MAAM,EAAE,QAAQ,EAAE,aAAa,EAAE,YAAY,EAAE,QAAQ,EAAE,GAAG,QAAQ,CAAC;IAErE,OAAO;QACL,YAAY,EAAE,QAAQ;QACtB,mBAAmB,EAAE,aAAa;QAClC,SAAS,EAAE,YAAY;QACvB,QAAQ,EAAE,QAAQ;KACnB,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getParticipantIncomes } from '../CreditForm/utils.js';
|
|
2
|
+
export const getFourthStepData = (formData) => {
|
|
3
|
+
const { familyStatus, dependents, familyMembers, mandatoryIncome, otherPayments, snils, armyIdFlg, } = formData;
|
|
4
|
+
return {
|
|
5
|
+
maritalStatusCd: familyStatus,
|
|
6
|
+
totalDependents: familyMembers,
|
|
7
|
+
otherDependents: dependents,
|
|
8
|
+
participantIncomes: getParticipantIncomes({
|
|
9
|
+
mandatoryIncome,
|
|
10
|
+
otherPayments,
|
|
11
|
+
}),
|
|
12
|
+
snils: snils?.replaceAll(' ', ''),
|
|
13
|
+
armyIdFlg,
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=getFourthStepData.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getFourthStepData.js","sourceRoot":"","sources":["../../../src/components/CreditCardForm/getFourthStepData.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAE5D,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,QAAmB,EAAwB,EAAE;IAC7E,MAAM,EACJ,YAAY,EACZ,UAAU,EACV,aAAa,EACb,eAAe,EACf,aAAa,EACb,KAAK,EACL,SAAS,GACV,GAAG,QAAQ,CAAC;IAEb,OAAO;QACL,eAAe,EAAE,YAAY;QAC7B,eAAe,EAAE,aAAa;QAC9B,eAAe,EAAE,UAAU;QAC3B,kBAAkB,EAAE,qBAAqB,CAAC;YACxC,eAAe;YACf,aAAa;SACd,CAAC;QACF,KAAK,EAAE,KAAK,EAAE,UAAU,CAAC,GAAG,EAAE,EAAE,CAAC;QACjC,SAAS;KACV,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { formStateMap } from './formStateMap.js';
|
|
2
|
+
export const getInitialFormState = (step, localStorageData) => {
|
|
3
|
+
if (localStorageData) {
|
|
4
|
+
// TODO: Fill in for other fields with type Date
|
|
5
|
+
// TODO: Take it out to the helper
|
|
6
|
+
localStorageData.birthday = localStorageData.birthday
|
|
7
|
+
? new Date(localStorageData.birthday)
|
|
8
|
+
: undefined;
|
|
9
|
+
localStorageData.dulIssueDateField = localStorageData.dulIssueDateField
|
|
10
|
+
? new Date(localStorageData.dulIssueDateField)
|
|
11
|
+
: undefined;
|
|
12
|
+
localStorageData.participantDateRegistration = localStorageData.participantDateRegistration
|
|
13
|
+
? new Date(localStorageData.participantDateRegistration)
|
|
14
|
+
: undefined;
|
|
15
|
+
localStorageData.beginDate = localStorageData?.beginDate
|
|
16
|
+
? new Date(localStorageData.beginDate)
|
|
17
|
+
: undefined;
|
|
18
|
+
}
|
|
19
|
+
return {
|
|
20
|
+
...formStateMap[step],
|
|
21
|
+
...localStorageData,
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=getInitialFormState.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getInitialFormState.js","sourceRoot":"","sources":["../../../src/components/CreditCardForm/getInitialFormState.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAqB,MAAM,gBAAgB,CAAC;AAEjE,MAAM,CAAC,MAAM,mBAAmB,GAAG,CACjC,IAAU,EACV,gBAA4C,EACxB,EAAE;IACtB,IAAI,gBAAgB,EAAE;QACpB,gDAAgD;QAChD,kCAAkC;QAClC,gBAAgB,CAAC,QAAQ,GAAG,gBAAgB,CAAC,QAAQ;YACnD,CAAC,CAAC,IAAI,IAAI,CAAC,gBAAgB,CAAC,QAAkB,CAAC;YAC/C,CAAC,CAAC,SAAS,CAAC;QACd,gBAAgB,CAAC,iBAAiB,GAAG,gBAAgB,CAAC,iBAAiB;YACrE,CAAC,CAAC,IAAI,IAAI,CAAC,gBAAgB,CAAC,iBAA2B,CAAC;YACxD,CAAC,CAAC,SAAS,CAAC;QACd,gBAAgB,CAAC,2BAA2B,GAAG,gBAAgB,CAAC,2BAA2B;YACzF,CAAC,CAAC,IAAI,IAAI,CAAC,gBAAgB,CAAC,2BAAqC,CAAC;YAClE,CAAC,CAAC,SAAS,CAAC;QACd,gBAAgB,CAAC,SAAS,GAAG,gBAAgB,EAAE,SAAS;YACtD,CAAC,CAAC,IAAI,IAAI,CAAC,gBAAgB,CAAC,SAAmB,CAAC;YAChD,CAAC,CAAC,SAAS,CAAC;KACf;IAED,OAAO;QACL,GAAG,YAAY,CAAC,IAAI,CAAC;QACrB,GAAG,gBAAgB;KACpB,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { formatDate } from '../../utils/formatDate.js';
|
|
2
|
+
import { formatPhone } from '../../utils/formatPhone.js';
|
|
3
|
+
import { getParticipantAddresses, getParticipantContacts } from '../CreditForm/utils.js';
|
|
4
|
+
export const getSecondStepData = (formData) => {
|
|
5
|
+
const { name, surname, middleName, birthday = '', phone = '', email, sex, birthPlace, dulIssueDateField = '', dulIssuedBy, dulNumber, dulSerie, dulSubdivisionCode, education, participantDateRegistration = '', housing, addressRegistration, addressFact, } = formData;
|
|
6
|
+
return {
|
|
7
|
+
birthDate: formatDate(birthday, true),
|
|
8
|
+
midname: middleName,
|
|
9
|
+
name,
|
|
10
|
+
surname,
|
|
11
|
+
birthPlace,
|
|
12
|
+
dulIssueDate: formatDate(dulIssueDateField, true),
|
|
13
|
+
dulIssuedBy,
|
|
14
|
+
dulNumber,
|
|
15
|
+
dulSerie,
|
|
16
|
+
dulSubdivisionCode,
|
|
17
|
+
educationLevelCd: education,
|
|
18
|
+
registrationDate: formatDate(participantDateRegistration, true),
|
|
19
|
+
houseTypeCd: housing,
|
|
20
|
+
participantContacts: getParticipantContacts({
|
|
21
|
+
phone: formatPhone(phone),
|
|
22
|
+
email,
|
|
23
|
+
}),
|
|
24
|
+
participantAddresses: getParticipantAddresses({ addressRegistration, addressFact }),
|
|
25
|
+
genderCd: sex
|
|
26
|
+
? {
|
|
27
|
+
key: sex === 'male' ? 'MAN' : 'WOMAN',
|
|
28
|
+
}
|
|
29
|
+
: undefined,
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
//# sourceMappingURL=getSecondStepData.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getSecondStepData.js","sourceRoot":"","sources":["../../../src/components/CreditCardForm/getSecondStepData.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAEtD,OAAO,EAAE,uBAAuB,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAEtF,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,QAAmB,EAAwB,EAAE;IAC7E,MAAM,EACJ,IAAI,EACJ,OAAO,EACP,UAAU,EACV,QAAQ,GAAG,EAAE,EACb,KAAK,GAAG,EAAE,EACV,KAAK,EACL,GAAG,EACH,UAAU,EACV,iBAAiB,GAAG,EAAE,EACtB,WAAW,EACX,SAAS,EACT,QAAQ,EACR,kBAAkB,EAClB,SAAS,EACT,2BAA2B,GAAG,EAAE,EAChC,OAAO,EACP,mBAAmB,EACnB,WAAW,GACZ,GAAG,QAAQ,CAAC;IAEb,OAAO;QACL,SAAS,EAAE,UAAU,CAAC,QAAQ,EAAE,IAAI,CAAC;QACrC,OAAO,EAAE,UAAU;QACnB,IAAI;QACJ,OAAO;QACP,UAAU;QACV,YAAY,EAAE,UAAU,CAAC,iBAAiB,EAAE,IAAI,CAAC;QACjD,WAAW;QACX,SAAS;QACT,QAAQ;QACR,kBAAkB;QAClB,gBAAgB,EAAE,SAAS;QAC3B,gBAAgB,EAAE,UAAU,CAAC,2BAA2B,EAAE,IAAI,CAAC;QAC/D,WAAW,EAAE,OAAO;QACpB,mBAAmB,EAAE,sBAAsB,CAAC;YAC1C,KAAK,EAAE,WAAW,CAAC,KAAK,CAAC;YACzB,KAAK;SACN,CAAC;QACF,oBAAoB,EAAE,uBAAuB,CAAC,EAAE,mBAAmB,EAAE,WAAW,EAAE,CAAC;QACnF,QAAQ,EAAE,GAAG;YACX,CAAC,CAAC;gBACE,GAAG,EAAE,GAAG,KAAK,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,OAAO;aACtC;YACH,CAAC,CAAC,SAAS;KACd,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { formatPhone } from '../../utils/formatPhone.js';
|
|
2
|
+
import { getParticipantAddresses, getParticipantContacts } from '../CreditForm/utils.js';
|
|
3
|
+
export const getThirdStepData = (formData) => {
|
|
4
|
+
const { employment, organizationName, inn, legalForm, organization, amountWorkers, employerActivities, employerOrganization, generalSeniority, lastJobExperience, experience5Years, jobsNumber, organizationPhone, organizationAddress, positionOrganization, } = formData;
|
|
5
|
+
return {
|
|
6
|
+
employmentTypeCd: employment,
|
|
7
|
+
organizationName,
|
|
8
|
+
organizationInn: inn,
|
|
9
|
+
organizationActivityTypeCd: employerActivities,
|
|
10
|
+
organizationTypeCd: organization,
|
|
11
|
+
organizationKindCd: employerOrganization,
|
|
12
|
+
employeesNumberCd: amountWorkers,
|
|
13
|
+
opf: legalForm,
|
|
14
|
+
seniority: generalSeniority,
|
|
15
|
+
generalSeniority: experience5Years,
|
|
16
|
+
jobsNumber,
|
|
17
|
+
lastWorkDuration: lastJobExperience,
|
|
18
|
+
positionCd: positionOrganization,
|
|
19
|
+
participantContacts: getParticipantContacts({
|
|
20
|
+
organizationPhone: organizationPhone && formatPhone(organizationPhone),
|
|
21
|
+
}),
|
|
22
|
+
participantAddresses: getParticipantAddresses({ organizationAddress }),
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=getThirdStepData.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getThirdStepData.js","sourceRoot":"","sources":["../../../src/components/CreditCardForm/getThirdStepData.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAEtD,OAAO,EAAE,uBAAuB,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAEtF,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,QAAmB,EAAwB,EAAE;IAC5E,MAAM,EACJ,UAAU,EACV,gBAAgB,EAChB,GAAG,EACH,SAAS,EACT,YAAY,EACZ,aAAa,EACb,kBAAkB,EAClB,oBAAoB,EACpB,gBAAgB,EAChB,iBAAiB,EACjB,gBAAgB,EAChB,UAAU,EACV,iBAAiB,EACjB,mBAAmB,EACnB,oBAAoB,GACrB,GAAG,QAAQ,CAAC;IAEb,OAAO;QACL,gBAAgB,EAAE,UAAU;QAC5B,gBAAgB;QAChB,eAAe,EAAE,GAAG;QACpB,0BAA0B,EAAE,kBAAkB;QAC9C,kBAAkB,EAAE,YAAY;QAChC,kBAAkB,EAAE,oBAAoB;QACxC,iBAAiB,EAAE,aAAa;QAChC,GAAG,EAAE,SAAS;QACd,SAAS,EAAE,gBAAgB;QAC3B,gBAAgB,EAAE,gBAAgB;QAClC,UAAU;QACV,gBAAgB,EAAE,iBAAiB;QACnC,UAAU,EAAE,oBAAoB;QAChC,mBAAmB,EAAE,sBAAsB,CAAC;YAC1C,iBAAiB,EAAE,iBAAiB,IAAI,WAAW,CAAC,iBAAiB,CAAC;SACvE,CAAC;QACF,oBAAoB,EAAE,uBAAuB,CAAC,EAAE,mBAAmB,EAAE,CAAC;KACvE,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
+
import { InfoCard } from '../../ui-kit/InfoCard/InfoCard.js';
|
|
3
|
+
export const renderInfo = (inputs = []) => {
|
|
4
|
+
const infoInputs = inputs.filter((_) => _.fieldType === 'info');
|
|
5
|
+
return infoInputs.length
|
|
6
|
+
? infoInputs.map(({ text, name }, i) => _jsx(InfoCard, { __html: text }, `${name}_${i}`))
|
|
7
|
+
: null;
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=renderInfo.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"renderInfo.js","sourceRoot":"","sources":["../../../src/components/CreditCardForm/renderInfo.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAG1D,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,SAAqB,EAAE,EAAE,EAAE;IACpD,MAAM,UAAU,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,SAAS,KAAK,MAAM,CAAC,CAAC;IAEhE,OAAO,UAAU,CAAC,MAAM;QACtB,CAAC,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE,CAAC,EAAE,EAAE,CAAC,KAAC,QAAQ,IAAsB,MAAM,EAAE,IAAI,IAA5B,GAAG,IAAI,IAAI,CAAC,EAAE,CAAkB,CAAC;QACxF,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"renderInputs.js","sourceRoot":"","sources":["../../../src/components/CreditCardForm/renderInputs.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAC;AAG3D,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,EAAE,KAAK,EAAE,MAAM,EAAqB,EAAE,EAAE,CACnE,CAAC,MAAM,IAAI,EAAE,CAAC,EAAE,GAAG,CAAC,QAAQ,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { type FormFieldRegisterer, type FormOperatorProps } from '../../hooks/useForm';
|
|
3
|
+
import { type CreditCardSectionsProps } from './CreditCardFormContent';
|
|
4
|
+
import { type FormStateMap } from './formStateMap';
|
|
5
|
+
export declare type CustomSubmit = FormOperatorProps<FormStateMap[keyof FormStateMap]>['onSubmit'];
|
|
6
|
+
export interface StepProps {
|
|
7
|
+
sections?: CreditCardSectionsProps[];
|
|
8
|
+
field: FormFieldRegisterer<FormStateMap[keyof FormStateMap]>;
|
|
9
|
+
registerSubmit?: (submit: CustomSubmit) => void;
|
|
10
|
+
isLastStep?: boolean;
|
|
11
|
+
methodObtain?: string;
|
|
12
|
+
}
|
|
13
|
+
export declare const renderStep: ({ sections, field, isLastStep, methodObtain }: StepProps) => JSX.Element[] | undefined;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
+
import { inputColumnStyles } from '../../ui-kit/FormField/inputColumnStyle.js';
|
|
3
|
+
import { renderTitle } from '../../ui-kit/FormField/renderTitle.js';
|
|
4
|
+
import { style } from '../../utils/style.js';
|
|
5
|
+
import { renderInfo } from './renderInfo.js';
|
|
6
|
+
import { renderInputs } from './renderInputs.js';
|
|
7
|
+
const renderLastStep = ({ sections, field, methodObtain }) => sections
|
|
8
|
+
?.filter(({ type }) => type === methodObtain || !type)
|
|
9
|
+
.map(({ inputs, columns, title }, i) => (_jsxs("div", { className: style(inputColumnStyles(columns), 'grid gap-x-m'), children: [renderInfo(inputs), renderTitle(title), renderInputs({ field, inputs })] }, `section-${i}`)));
|
|
10
|
+
export const renderStep = ({ sections, field, isLastStep, methodObtain }) => {
|
|
11
|
+
if (isLastStep) {
|
|
12
|
+
return renderLastStep({ sections, field, methodObtain });
|
|
13
|
+
}
|
|
14
|
+
return sections?.map(({ inputs, columns, title }, i) => (_jsxs("div", { className: style(inputColumnStyles(columns), 'grid gap-x-m'), children: [renderInfo(inputs), renderTitle(title), renderInputs({ field, inputs })] }, `section-${i}`)));
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=renderStep.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"renderStep.js","sourceRoot":"","sources":["../../../src/components/CreditCardForm/renderStep.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,yCAAyC,CAAC;AAC5E,OAAO,EAAE,WAAW,EAAE,MAAM,oCAAoC,CAAC;AACjE,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAG1C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAY9C,MAAM,cAAc,GAAG,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,YAAY,EAAa,EAAE,EAAE,CACtE,QAAQ;IACN,EAAE,MAAM,CAAC,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,IAAI,KAAK,YAAY,IAAI,CAAC,IAAI,CAAC;KACrD,GAAG,CAAC,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,CAAC,EAAE,EAAE,CAAC,CACtC,eAA0B,SAAS,EAAE,KAAK,CAAC,iBAAiB,CAAC,OAAO,CAAC,EAAE,cAAc,CAAC,aACnF,UAAU,CAAC,MAAM,CAAC,EAClB,WAAW,CAAC,KAAK,CAAC,EAClB,YAAY,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC,KAHxB,WAAW,CAAC,EAAE,CAIlB,CACP,CAAC,CAAC;AAEP,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,UAAU,EAAE,YAAY,EAAa,EAAE,EAAE;IACrF,IAAI,UAAU,EAAE;QACd,OAAO,cAAc,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,YAAY,EAAE,CAAC,CAAC;KAC1D;IAED,OAAO,QAAQ,EAAE,GAAG,CAAC,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,CAAC,EAAE,EAAE,CAAC,CACtD,eAA0B,SAAS,EAAE,KAAK,CAAC,iBAAiB,CAAC,OAAO,CAAC,EAAE,cAAc,CAAC,aACnF,UAAU,CAAC,MAAM,CAAC,EAClB,WAAW,CAAC,KAAK,CAAC,EAClB,YAAY,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC,KAHxB,WAAW,CAAC,EAAE,CAIlB,CACP,CAAC,CAAC;AACL,CAAC,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type FieldDef } from '../ApplicationLeadForm/ApplicationLeadFormContent';
|
|
2
|
+
import { type FormStateMap } from './formStateMap';
|
|
3
|
+
declare type CreditCardFormApiProps = {
|
|
4
|
+
step: number;
|
|
5
|
+
inputs: FieldDef[];
|
|
6
|
+
onNextStep: () => void;
|
|
7
|
+
saveStep: (value: Record<string, any>) => void;
|
|
8
|
+
finishForm?: (bool: boolean) => void;
|
|
9
|
+
};
|
|
10
|
+
export declare const useCreditCardFormAPI: ({ step, inputs, onNextStep, saveStep, finishForm, }: CreditCardFormApiProps) => {
|
|
11
|
+
handleSubmit: (formData: FormStateMap[keyof FormStateMap]) => Promise<void | "OK" | "Fail">;
|
|
12
|
+
};
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { useCallback } from '@redneckz/uni-jsx/lib/hooks';
|
|
2
|
+
import { updateUserTask } from '../../api/RetailAPI/updateUserTask.js';
|
|
3
|
+
import { useLocalStorage } from '../../hooks/useLocalStorage.js';
|
|
4
|
+
import { getObjectValidator } from '../../ui-kit/FormField/getObjectValidator.js';
|
|
5
|
+
import { objectValidator } from '../../validation/objectValidator.js';
|
|
6
|
+
import { isValidationSuccess } from '../../validation/validator.js';
|
|
7
|
+
import { getCreditCardFormTaskData } from './getCreditCardFormTaskData.js';
|
|
8
|
+
export const useCreditCardFormAPI = ({ step, inputs, onNextStep, saveStep, finishForm, }) => {
|
|
9
|
+
const [taskId] = useLocalStorage('taskId');
|
|
10
|
+
const [profileId] = useLocalStorage('profileId');
|
|
11
|
+
const [participantId] = useLocalStorage('participantId');
|
|
12
|
+
const handleSubmit = useCallback(async (formData) => {
|
|
13
|
+
const feedbackValidator = objectValidator(getObjectValidator(calculateInputs(formData, inputs, step)));
|
|
14
|
+
if (!isValidationSuccess(feedbackValidator(formData))) {
|
|
15
|
+
return console.warn('validation fail');
|
|
16
|
+
}
|
|
17
|
+
saveStep(formData);
|
|
18
|
+
try {
|
|
19
|
+
if (taskId && profileId && participantId) {
|
|
20
|
+
await updateUserTask(getCreditCardFormTaskData({
|
|
21
|
+
participantId,
|
|
22
|
+
taskId,
|
|
23
|
+
profileId,
|
|
24
|
+
step,
|
|
25
|
+
formData: formData,
|
|
26
|
+
}));
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
catch (ex) {
|
|
30
|
+
return 'Fail';
|
|
31
|
+
}
|
|
32
|
+
onNextStep();
|
|
33
|
+
if (step === 5) {
|
|
34
|
+
finishForm?.(true);
|
|
35
|
+
}
|
|
36
|
+
return 'OK';
|
|
37
|
+
}, []);
|
|
38
|
+
return {
|
|
39
|
+
handleSubmit,
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
const calculateInputs = (formData, inputs, step) => step === 2 && 'employment' in formData && formData?.employment?.key === 'RETIREE' ? [] : inputs;
|
|
43
|
+
//# sourceMappingURL=useCreditCardFormAPI.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useCreditCardFormAPI.js","sourceRoot":"","sources":["../../../src/components/CreditCardForm/useCreditCardFormAPI.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AACpE,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,2CAA2C,CAAC;AAC/E,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACnE,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAGjE,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAUxE,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,EACnC,IAAI,EACJ,MAAM,EACN,UAAU,EACV,QAAQ,EACR,UAAU,GACa,EAAE,EAAE;IAC3B,MAAM,CAAC,MAAM,CAAC,GAAG,eAAe,CAAS,QAAQ,CAAC,CAAC;IACnD,MAAM,CAAC,SAAS,CAAC,GAAG,eAAe,CAAS,WAAW,CAAC,CAAC;IACzD,MAAM,CAAC,aAAa,CAAC,GAAG,eAAe,CAAS,eAAe,CAAC,CAAC;IAEjE,MAAM,YAAY,GAAG,WAAW,CAAC,KAAK,EAAE,QAA0C,EAAE,EAAE;QACpF,MAAM,iBAAiB,GAAG,eAAe,CACvC,kBAAkB,CAAC,eAAe,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC,CAC5D,CAAC;QACF,IAAI,CAAC,mBAAmB,CAAC,iBAAiB,CAAC,QAAQ,CAAC,CAAC,EAAE;YACrD,OAAO,OAAO,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;SACxC;QAED,QAAQ,CAAC,QAAQ,CAAC,CAAC;QAEnB,IAAI;YACF,IAAI,MAAM,IAAI,SAAS,IAAI,aAAa,EAAE;gBACxC,MAAM,cAAc,CAClB,yBAAyB,CAAC;oBACxB,aAAa;oBACb,MAAM;oBACN,SAAS;oBACT,IAAI;oBACJ,QAAQ,EAAE,QAAe;iBAC1B,CAAC,CACH,CAAC;aACH;SACF;QAAC,OAAO,EAAE,EAAE;YACX,OAAO,MAAM,CAAC;SACf;QAED,UAAU,EAAE,CAAC;QAEb,IAAI,IAAI,KAAK,CAAC,EAAE;YACd,UAAU,EAAE,CAAC,IAAI,CAAC,CAAC;SACpB;QAED,OAAO,IAAI,CAAC;IACd,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,OAAO;QACL,YAAY;KACb,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,eAAe,GAAG,CACtB,QAA0C,EAC1C,MAAkB,EAClB,IAAY,EACZ,EAAE,CACF,IAAI,KAAK,CAAC,IAAI,YAAY,IAAI,QAAQ,IAAI,QAAQ,EAAE,UAAU,EAAE,GAAG,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreditForm.js","sourceRoot":"","sources":["../../../src/components/CreditForm/CreditForm.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"CreditForm.js","sourceRoot":"","sources":["../../../src/components/CreditForm/CreditForm.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAE7E,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAEzD,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAExE,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAIzD,MAAM,YAAY,GAAG,CAAC,CAAC;AAEvB,MAAM,aAAa,GAAG;IACpB,EAAE;IACF,qBAAqB;IACrB,0BAA0B;IAC1B,6BAA6B;IAC7B,yBAAyB;IACzB,iBAAiB;CAClB,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAAG,GAAG,CAAwB,CAAC,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IAC9E,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC;IAEpC,MAAM,cAAc,GAAG,WAAW,CAAC,GAAG,EAAE;QACtC,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,EAAE,YAAY,CAAC,CAAC,CAAC;IAChD,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,MAAM,cAAc,GAAG,WAAW,CAAC,GAAG,EAAE;QACtC,uBAAuB;QACvB,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;IACrC,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,MAAM,QAAQ,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC,gBAAgB,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC;IAE/D,MAAM,MAAM,GAAG,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC,CAAgB,EAAE,EAAE,CAAC,CAAC,EAAE,MAAM,CAAC,IAAI,EAAE,CAAe,CAAC;IAExF,MAAM,WAAW,GAAG,IAAI,KAAK,CAAC,CAAC;IAC/B,MAAM,CAAC,cAAc,EAAE,iBAAiB,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAE5D,OAAO,CACL,KAAC,YAAY,IAAC,SAAS,EAAE,KAAK,CAAC,gBAAgB,EAAE,SAAS,CAAC,EAAE,cAAc,EAAC,KAAK,KAAK,IAAI,YACxF,eAAK,SAAS,EAAC,6BAA6B,aACzC,WAAW,IAAI,cAAc,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CACtC,KAAC,kBAAkB,IAAC,WAAW,EAAE,aAAa,EAAE,IAAI,EAAE,IAAI,EAAE,UAAU,EAAE,YAAY,GAAI,CACzF,EACD,cAAK,SAAS,EAAC,0CAA0C,YACvD,KAAC,cAAc,IAEb,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,QAAQ,EAClB,UAAU,EAAE,cAAc,EAC1B,UAAU,EAAE,cAAc,EAC1B,cAAc,EAAE,cAAc,EAC9B,UAAU,EAAE,iBAAiB,EAC7B,UAAU,EACR,WAAW;4BACT,CAAC,CAAC,CAAC,EAAE,cAAc,EAAE,EAAE,EAAE,CAAC,CACtB,KAAC,gBAAgB,OACX;oCACF,KAAK,EAAE,qBAAqB;oCAC5B,QAAQ,EACN,wFAAwF;oCAC1F,UAAU,EAAE;wCACV,IAAI,EAAE,6CAA6C;qCACpD;iCACF,EACD,cAAc,EAAE,cAAc,GAC9B,CACH;4BACH,CAAC,CAAC,SAAS,IAvBV,MAAM,CAAC,IAAI,CAAC,CAyBjB,GACE,IACF,GACO,CAChB,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -8,7 +8,6 @@ import { FailedStatusContent } from './FailedStatusContent.js';
|
|
|
8
8
|
import { PendingStatusContent } from './PendingStatusContent.js';
|
|
9
9
|
import { ReworkStatusContent } from './ReworkStatusContent.js';
|
|
10
10
|
import { SuccessStatusContent } from './SuccessStatusContent.js';
|
|
11
|
-
const TASK_ID = 2816419;
|
|
12
11
|
const SIGNAL_TYPES = [
|
|
13
12
|
'CREATE_APPLICATION_SHORT_SIGNAL',
|
|
14
13
|
'CREATE_APPLICATION_LOAN_V3_SIGNAL',
|
|
@@ -20,7 +19,7 @@ export const CreditFormStatusTracker = JSX(() => {
|
|
|
20
19
|
for (const signalType of SIGNAL_TYPES) {
|
|
21
20
|
sendSignalToProcess({ signalType, taskId });
|
|
22
21
|
}
|
|
23
|
-
const trackStatus = () => getTaskStatus({ taskId
|
|
22
|
+
const trackStatus = () => getTaskStatus({ taskId }).then((res) => {
|
|
24
23
|
if (res.statusCd && res.statusCd !== STATUS_TYPE.process) {
|
|
25
24
|
clearInterval(pullingInterval);
|
|
26
25
|
setStatus(res.statusCd);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreditFormStatusTracker.js","sourceRoot":"","sources":["../../../src/components/CreditForm/CreditFormStatusTracker.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAClE,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAC;AAC/E,OAAO,EAAE,mBAAmB,EAAmB,MAAM,yCAAyC,CAAC;AAC/F,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,MAAM,
|
|
1
|
+
{"version":3,"file":"CreditFormStatusTracker.js","sourceRoot":"","sources":["../../../src/components/CreditForm/CreditFormStatusTracker.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAClE,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAC;AAC/E,OAAO,EAAE,mBAAmB,EAAmB,MAAM,yCAAyC,CAAC;AAC/F,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,MAAM,YAAY,GAAiB;IACjC,iCAAiC;IACjC,mCAAmC;CACpC,CAAC;AAEF,MAAM,CAAC,MAAM,uBAAuB,GAAG,GAAG,CAAC,GAAG,EAAE;IAC9C,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,QAAQ,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;IAC1D,MAAM,CAAC,MAAM,CAAC,GAAG,eAAe,CAAS,QAAQ,CAAC,CAAC;IAEnD,SAAS,CAAC,GAAG,EAAE;QACb,KAAK,MAAM,UAAU,IAAI,YAAY,EAAE;YACrC,mBAAmB,CAAC,EAAE,UAAU,EAAE,MAAM,EAAE,CAAC,CAAC;SAC7C;QAED,MAAM,WAAW,GAAG,GAAG,EAAE,CACvB,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE;YACrC,IAAI,GAAG,CAAC,QAAQ,IAAI,GAAG,CAAC,QAAQ,KAAK,WAAW,CAAC,OAAO,EAAE;gBACxD,aAAa,CAAC,eAAe,CAAC,CAAC;gBAC/B,SAAS,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;aACzB;QACH,CAAC,CAAC,CAAC;QAEL,MAAM,eAAe,GAAG,WAAW,CAAC,WAAW,EAAE,KAAK,CAAC,CAAC;IAC1D,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,OAAO,YAAY,CAAC,MAAM,CAAC,CAAC;AAC9B,CAAC,CAAC,CAAC;AAEH,MAAM,YAAY,GAAG,CAAC,MAAmB,EAAE,EAAE;IAC3C,MAAM,WAAW,GAAqC;QACpD,UAAU,EAAE,KAAC,oBAAoB,KAAG;QACpC,MAAM,EAAE,KAAC,mBAAmB,KAAG;QAC/B,EAAE,EAAE,KAAC,oBAAoB,KAAG;QAC5B,MAAM,EAAE,KAAC,mBAAmB,KAAG;KAChC,CAAC;IAEF,OAAO,WAAW,CAAC,MAAM,CAAC,IAAI,IAAI,CAAC;AACrC,CAAC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { type SectionsProps } from '
|
|
2
|
+
import { type SectionsProps } from '../../model/InputSectionsType';
|
|
3
3
|
import { type FieldDef } from '../ApplicationLeadForm/ApplicationLeadFormContent';
|
|
4
4
|
import { type StepProps } from './renderStep';
|
|
5
5
|
export interface CreditFormStepProps {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
3
|
import { CreditFormStatus } from './CreditFormStatus.js';
|
|
4
|
-
export const FailedStatusContent = JSX(() => (_jsx(CreditFormStatus, { title: "\u0411\u043B\u0430\u0433\u043E\u0434\u0430\u0440\u0438\u043C \u0412\u0430\u0441 \u0437\u0430 \u043E\u0436\u0438\u0434\u0430\u043D\u0438\u0435", description: "\u0412 \u043D\u0430\u0441\u0442\u043E\u044F\u0449\u0438\u0439 \u043C\u043E\u043C\u0435\u043D\u0442 \u0411\u0430\u043D\u043A \u043D\u0435 \u043C\u043E\u0436\u0435\u0442 \u043E\u0434\u043E\u0431\u0440\u0438\u0442\u044C \u0412\u0430\u0448\u0443 \u0437\u0430\u044F\u0432\u043A\u0443 \u043D\u0430 \u043A\u0440\u0435\u0434\u0438\u0442
|
|
4
|
+
export const FailedStatusContent = JSX(() => (_jsx(CreditFormStatus, { title: "\u0411\u043B\u0430\u0433\u043E\u0434\u0430\u0440\u0438\u043C \u0412\u0430\u0441 \u0437\u0430 \u043E\u0436\u0438\u0434\u0430\u043D\u0438\u0435", description: "\u0412 \u043D\u0430\u0441\u0442\u043E\u044F\u0449\u0438\u0439 \u043C\u043E\u043C\u0435\u043D\u0442 \u0411\u0430\u043D\u043A \u043D\u0435 \u043C\u043E\u0436\u0435\u0442 \u043E\u0434\u043E\u0431\u0440\u0438\u0442\u044C \u0412\u0430\u0448\u0443 \u0437\u0430\u044F\u0432\u043A\u0443 \u043D\u0430 \u043A\u0440\u0435\u0434\u0438\u0442. \u041F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u043F\u043E\u0434\u0430\u0442\u044C \u0437\u0430\u044F\u0432\u043A\u0443 \u043F\u043E\u0437\u0436\u0435. \u0421\u043F\u0430\u0441\u0438\u0431\u043E \u0437\u0430 \u043E\u0431\u0440\u0430\u0449\u0435\u043D\u0438\u0435 \u0432 \u0410\u041E \u00AB\u0420\u043E\u0441\u0441\u0435\u043B\u044C\u0445\u043E\u0437\u0431\u0430\u043D\u043A\u00BB.", buttonText: "\u0412\u0435\u0440\u043D\u0443\u0442\u044C\u0441\u044F \u043D\u0430 \u0433\u043B\u0430\u0432\u043D\u0443\u044E" })));
|
|
5
5
|
//# sourceMappingURL=FailedStatusContent.js.map
|