@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
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@redneckz/wildless-cms-uni-blocks",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.652",
|
|
4
4
|
"private": false,
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "ЦК",
|
|
@@ -210,7 +210,7 @@
|
|
|
210
210
|
"path": "lib/common.css"
|
|
211
211
|
},
|
|
212
212
|
{
|
|
213
|
-
"limit": "
|
|
213
|
+
"limit": "89 kB",
|
|
214
214
|
"path": "bundle/bundle.umd.min.js"
|
|
215
215
|
}
|
|
216
216
|
],
|
|
@@ -12,5 +12,5 @@ interface GetTaskStatusResponse {
|
|
|
12
12
|
taskId: number;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
export const getTaskStatus = (body: { taskId: number }) =>
|
|
15
|
+
export const getTaskStatus = (body: { taskId: number | null }) =>
|
|
16
16
|
doRequest<GetTaskStatusResponse>('/user-data/getTaskStatus', 'POST', body);
|
|
@@ -96,6 +96,10 @@ export type Participant = {
|
|
|
96
96
|
key: string;
|
|
97
97
|
value: string;
|
|
98
98
|
};
|
|
99
|
+
currencyCode?: string;
|
|
100
|
+
paymentSystemTypeCd?: string;
|
|
101
|
+
classCard?: Option;
|
|
102
|
+
codeWord?: string;
|
|
99
103
|
};
|
|
100
104
|
|
|
101
105
|
export type UpdateUserTaskBody = {
|
|
@@ -109,6 +113,9 @@ export type UpdateUserTaskBody = {
|
|
|
109
113
|
};
|
|
110
114
|
authorizedAgentId?: number;
|
|
111
115
|
participants: Participant[];
|
|
116
|
+
esiaAccountTypeCd?: {
|
|
117
|
+
key: 'VERIFIED' | 'STANDARD' | 'SIMPLIFIED';
|
|
118
|
+
};
|
|
112
119
|
};
|
|
113
120
|
};
|
|
114
121
|
|
|
@@ -64,6 +64,7 @@ export const hintsListsOptions: HintsListOptions = {
|
|
|
64
64
|
addressRegistration: ADDRESS_HINTS_LIST_OPTIONS,
|
|
65
65
|
addressFact: ADDRESS_HINTS_LIST_OPTIONS,
|
|
66
66
|
organizationAddress: ADDRESS_HINTS_LIST_OPTIONS,
|
|
67
|
+
addressCourier: ADDRESS_HINTS_LIST_OPTIONS,
|
|
67
68
|
};
|
|
68
69
|
|
|
69
70
|
export type HintOption = {
|
|
@@ -104,17 +104,6 @@ export type TypeFormFieldDef =
|
|
|
104
104
|
*/
|
|
105
105
|
export type FormColumnsCount = 1 | 2;
|
|
106
106
|
|
|
107
|
-
/** @hidden */
|
|
108
|
-
export type EndpointType = 'lead' | 'sendcorporatelead';
|
|
109
|
-
|
|
110
|
-
/**
|
|
111
|
-
* @title Секция полей ввода
|
|
112
|
-
*/
|
|
113
|
-
export type SectionsProps = TitleProps & {
|
|
114
|
-
columns?: FormColumnsCount;
|
|
115
|
-
inputs?: FieldDef[];
|
|
116
|
-
};
|
|
117
|
-
|
|
118
107
|
/**
|
|
119
108
|
* @title Форма заявки настраиваемая
|
|
120
109
|
*/
|
|
@@ -125,6 +125,11 @@ export interface FormState extends FormConsents {
|
|
|
125
125
|
partInBusiness?: number;
|
|
126
126
|
addressMatch?: boolean;
|
|
127
127
|
confirmationIncome?: Option;
|
|
128
|
+
currency?: string;
|
|
129
|
+
paymentSystem?: string;
|
|
130
|
+
cardCategory?: { key: ''; text: '' };
|
|
131
|
+
codeWord?: string;
|
|
132
|
+
esiaAccountTypeCd?: Option;
|
|
128
133
|
}
|
|
129
134
|
|
|
130
135
|
const initialFormState = {
|
|
@@ -159,6 +164,10 @@ const initialFormState = {
|
|
|
159
164
|
consentInformFlg: false,
|
|
160
165
|
addressRegistration: '',
|
|
161
166
|
participantDateRegistration: undefined,
|
|
167
|
+
currency: '',
|
|
168
|
+
paymentSystem: '',
|
|
169
|
+
cardCategory: { key: '', text: '' },
|
|
170
|
+
codeWord: '',
|
|
162
171
|
};
|
|
163
172
|
|
|
164
173
|
export const getInitialFormState = (
|
|
@@ -21,6 +21,7 @@ export const parseEsiaProfile = (esiaProfile: UpdateProfileEsiaResponse): FormSt
|
|
|
21
21
|
birthPlace: addInfo?.birthPlace,
|
|
22
22
|
addressRegistration: buildAddress(addressRegistration),
|
|
23
23
|
addressFact: buildAddress(addressFact),
|
|
24
|
+
esiaAccountTypeCd: profile?.esiaAccountType,
|
|
24
25
|
};
|
|
25
26
|
};
|
|
26
27
|
|
|
@@ -19,6 +19,7 @@ import { CarouselCatalogCard } from './CarouselCatalogCard/CarouselCatalogCard';
|
|
|
19
19
|
import { CarouselLinks } from './CarouselLinks/CarouselLinks';
|
|
20
20
|
import { CarouselRecommendationCard } from './CarouselRecommendationCard/CarouselRecommendationCard';
|
|
21
21
|
import { CarouselTariffsCard } from './CarouselTariffsCard/CarouselTariffsCard';
|
|
22
|
+
import { CreditCardForm } from './CreditCardForm/CreditCardForm';
|
|
22
23
|
import { CreditForm } from './CreditForm/CreditForm';
|
|
23
24
|
import { DepositFiltration } from './DepositFiltration/DepositFiltration';
|
|
24
25
|
import { Depository } from './Depository/Depository';
|
|
@@ -69,6 +70,7 @@ export const Blocks: BlocksRegistry = {
|
|
|
69
70
|
CarouselLinks,
|
|
70
71
|
CarouselRecommendationCard,
|
|
71
72
|
CarouselTariffsCard,
|
|
73
|
+
CreditCardForm,
|
|
72
74
|
CreditForm,
|
|
73
75
|
DepositFiltration,
|
|
74
76
|
Depository,
|
package/src/components/Blocks.ts
CHANGED
|
@@ -21,6 +21,7 @@ import { CarouselLinks } from './CarouselLinks/CarouselLinks';
|
|
|
21
21
|
import { CarouselRecommendationCard } from './CarouselRecommendationCard/CarouselRecommendationCard';
|
|
22
22
|
import { CarouselTariffsCard } from './CarouselTariffsCard/CarouselTariffsCard';
|
|
23
23
|
import { ContactsBlock } from './ContactsBlock/ContactsBlock';
|
|
24
|
+
import { CreditCardForm } from './CreditCardForm/CreditCardForm';
|
|
24
25
|
import { CreditForm } from './CreditForm/CreditForm';
|
|
25
26
|
import { DepositFiltration } from './DepositFiltration/DepositFiltration';
|
|
26
27
|
import { Depository } from './Depository/Depository';
|
|
@@ -77,6 +78,7 @@ export const Blocks: BlocksRegistry = {
|
|
|
77
78
|
CarouselRecommendationCard,
|
|
78
79
|
CarouselTariffsCard,
|
|
79
80
|
ContactsBlock,
|
|
81
|
+
CreditCardForm,
|
|
80
82
|
CreditForm,
|
|
81
83
|
DepositFiltration,
|
|
82
84
|
Depository,
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import '../../setup-fixture';
|
|
2
|
+
import { DialogManager } from '../../ui-kit/DialogManager/DialogManager';
|
|
3
|
+
import { PopupManager } from '../../ui-kit/PopupManager/PopupManager';
|
|
4
|
+
import { CreditCardForm } from './CreditCardForm';
|
|
5
|
+
|
|
6
|
+
export default {
|
|
7
|
+
default: (
|
|
8
|
+
<div>
|
|
9
|
+
<CreditCardForm className="col-span-12" />
|
|
10
|
+
<PopupManager />
|
|
11
|
+
<DialogManager />
|
|
12
|
+
</div>
|
|
13
|
+
),
|
|
14
|
+
};
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
+
import { useCallback, useMemo, useState } from '@redneckz/uni-jsx/lib/hooks';
|
|
3
|
+
import { type SectionsProps } from '../../model/InputSectionsType';
|
|
4
|
+
import { BlockWrapper } from '../../ui-kit/BlockWrapper';
|
|
5
|
+
import { type UniBlockProps } from '../../UniBlock/UniBlockProps';
|
|
6
|
+
import { style } from '../../utils/style';
|
|
7
|
+
import { type FieldDef } from '../ApplicationLeadForm/ApplicationLeadFormContent';
|
|
8
|
+
import { type CreditCardFormContent } from './CreditCardFormContent';
|
|
9
|
+
import { CreditCardFormProgress } from './CreditCardFormProgress';
|
|
10
|
+
import { CreditCardFormStep } from './CreditCardFormStep';
|
|
11
|
+
import { stepsSectionsMap } from './creditCardFormStepsData';
|
|
12
|
+
|
|
13
|
+
interface CreditCardFormWizardProps extends CreditCardFormContent, UniBlockProps {}
|
|
14
|
+
|
|
15
|
+
const WIZARD_STEPS = 6;
|
|
16
|
+
|
|
17
|
+
const WIZARD_TITLES = [
|
|
18
|
+
'Параметры карты',
|
|
19
|
+
'Персональные данные',
|
|
20
|
+
'Данные о трудоустройстве',
|
|
21
|
+
'Данные о доходах и расходах',
|
|
22
|
+
'Дополнительные сведения',
|
|
23
|
+
'Выбор способа получения',
|
|
24
|
+
];
|
|
25
|
+
|
|
26
|
+
export const CreditCardForm = JSX<CreditCardFormWizardProps>(({ className, ...rest }) => {
|
|
27
|
+
const [step, setStep] = useState(0);
|
|
28
|
+
|
|
29
|
+
const handleNextStep = useCallback(() => {
|
|
30
|
+
setStep((_) => Math.min(_ + 1, WIZARD_STEPS));
|
|
31
|
+
}, []);
|
|
32
|
+
|
|
33
|
+
const handlePrevStep = useCallback(() => {
|
|
34
|
+
//TODO search hook - 1,
|
|
35
|
+
setStep((_) => Math.max(_ - 1, 0));
|
|
36
|
+
}, []);
|
|
37
|
+
|
|
38
|
+
const sections = useMemo(() => stepsSectionsMap[step], [step]);
|
|
39
|
+
|
|
40
|
+
const inputs = (sections?.flatMap((_: SectionsProps) => _?.inputs) || []) as FieldDef[];
|
|
41
|
+
|
|
42
|
+
const [isFormFinished, setIsFormFinished] = useState(false);
|
|
43
|
+
|
|
44
|
+
return (
|
|
45
|
+
<BlockWrapper className={style('bg-transparent', className)} defaultPadding="p-0" {...rest}>
|
|
46
|
+
<div className="container grid grid-cols-12">
|
|
47
|
+
{isFormFinished ? null : (
|
|
48
|
+
<CreditCardFormProgress
|
|
49
|
+
stepsTitles={WIZARD_TITLES}
|
|
50
|
+
step={step}
|
|
51
|
+
totalSteps={WIZARD_STEPS}
|
|
52
|
+
/>
|
|
53
|
+
)}
|
|
54
|
+
<div className="py-lg px-5xl mt-2xs bg-white col-span-12">
|
|
55
|
+
<CreditCardFormStep
|
|
56
|
+
key={String(step)}
|
|
57
|
+
step={step}
|
|
58
|
+
inputs={inputs}
|
|
59
|
+
sections={sections}
|
|
60
|
+
onNextStep={handleNextStep}
|
|
61
|
+
onPrevStep={handlePrevStep}
|
|
62
|
+
isFormFinished={isFormFinished}
|
|
63
|
+
finishForm={setIsFormFinished}
|
|
64
|
+
/>
|
|
65
|
+
</div>
|
|
66
|
+
</div>
|
|
67
|
+
</BlockWrapper>
|
|
68
|
+
);
|
|
69
|
+
});
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { type FormFieldRegisterer } from '../../hooks/useForm';
|
|
2
|
+
import { type TitleProps } from '../../model/HeadlineType';
|
|
3
|
+
import { type InputSectionsType } from '../../model/InputSectionsType';
|
|
4
|
+
import { type UniBlockContent } from '../../UniBlock/UniBlockProps';
|
|
5
|
+
import { type SectionsProps } from '../ApplicationForm/ApplicationFormContent';
|
|
6
|
+
import { type FieldDef } from '../ApplicationLeadForm/ApplicationLeadFormContent';
|
|
7
|
+
import { type FormStateMap } from './formStateMap';
|
|
8
|
+
|
|
9
|
+
/** @hidden */
|
|
10
|
+
export interface RenderInputsProps {
|
|
11
|
+
inputs?: FieldDef[];
|
|
12
|
+
field: FormFieldRegisterer<FormStateMap[keyof FormStateMap]>;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export type CreditCardSectionsProps = SectionsProps & {
|
|
16
|
+
type?: 'courier' | 'office';
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* @title Форма заявки на потребительский кредит настраиваемая
|
|
21
|
+
*/
|
|
22
|
+
export type CreditCardFormContent = UniBlockContent &
|
|
23
|
+
TitleProps &
|
|
24
|
+
InputSectionsType & {
|
|
25
|
+
/** @title Номер кредитной программы */
|
|
26
|
+
programId?: string;
|
|
27
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
+
import { useMemo } from '@redneckz/uni-jsx/lib/hooks';
|
|
3
|
+
import { ProgressBar } from '../../ui-kit/ProgressBar/ProgressBar';
|
|
4
|
+
|
|
5
|
+
export interface CreditCardFormProgressProps {
|
|
6
|
+
step: number;
|
|
7
|
+
totalSteps?: number;
|
|
8
|
+
stepsTitles?: string[];
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export const CreditCardFormProgress = JSX<CreditCardFormProgressProps>(
|
|
12
|
+
({ step = 1, totalSteps = 6, stepsTitles = [] }) => {
|
|
13
|
+
const progress = useMemo(() => ((step + 1) / totalSteps) * 100, [step, totalSteps]);
|
|
14
|
+
|
|
15
|
+
return (
|
|
16
|
+
<div className="py-lg px-5xl bg-white col-span-12">
|
|
17
|
+
<div>
|
|
18
|
+
<span className="font-bold mr-s">
|
|
19
|
+
Шаг {step + 1} из {totalSteps}.
|
|
20
|
+
</span>
|
|
21
|
+
{stepsTitles[step] || null}
|
|
22
|
+
<ProgressBar step={progress} showPercentage={false} />
|
|
23
|
+
</div>
|
|
24
|
+
</div>
|
|
25
|
+
);
|
|
26
|
+
},
|
|
27
|
+
);
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
+
import { useMobileMode } from '../../hooks/useMobileMode';
|
|
3
|
+
import { type DescriptionProps, type LabelProps } from '../../model/HeadlineType';
|
|
4
|
+
import { BlockWrapper } from '../../ui-kit/BlockWrapper';
|
|
5
|
+
import { inputColumnStyles } from '../../ui-kit/FormField/inputColumnStyle';
|
|
6
|
+
import { InfoCard, type InfoCardProps } from '../../ui-kit/InfoCard/InfoCard';
|
|
7
|
+
import { LinkButton } from '../../ui-kit/LinkButton/LinkButton';
|
|
8
|
+
import { Text } from '../../ui-kit/Text/Text';
|
|
9
|
+
import { TimerCircle } from '../../ui-kit/TimerCircle/TimerCircle';
|
|
10
|
+
import { type UniBlockProps } from '../../UniBlock/UniBlockProps';
|
|
11
|
+
import { style } from '../../utils/style';
|
|
12
|
+
import { Headline } from '../Headline/Headline';
|
|
13
|
+
|
|
14
|
+
type CreditCardFormStatusProps = UniBlockProps & {
|
|
15
|
+
title?: string;
|
|
16
|
+
description?: string;
|
|
17
|
+
interval?: number;
|
|
18
|
+
sectionInfoTitle?: string;
|
|
19
|
+
sectionInfo?: (LabelProps & DescriptionProps)[];
|
|
20
|
+
sectionAdditionalTitle?: string;
|
|
21
|
+
sectionInfoAdditional?: (LabelProps & DescriptionProps)[];
|
|
22
|
+
buttonText?: string;
|
|
23
|
+
infoCard?: InfoCardProps;
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
export const CreditCardFormStatus = JSX<CreditCardFormStatusProps>(
|
|
27
|
+
({
|
|
28
|
+
title,
|
|
29
|
+
description: dsc,
|
|
30
|
+
infoCard,
|
|
31
|
+
sectionInfoTitle,
|
|
32
|
+
sectionInfo,
|
|
33
|
+
sectionAdditionalTitle,
|
|
34
|
+
sectionInfoAdditional,
|
|
35
|
+
buttonText,
|
|
36
|
+
interval,
|
|
37
|
+
...props
|
|
38
|
+
}) => (
|
|
39
|
+
<BlockWrapper {...props}>
|
|
40
|
+
<div className="flex flex-col md:flex-row items-center">
|
|
41
|
+
<Headline
|
|
42
|
+
headlineVersion="M"
|
|
43
|
+
title={title}
|
|
44
|
+
description={dsc}
|
|
45
|
+
align="text-left"
|
|
46
|
+
padding="p-xl"
|
|
47
|
+
className="w-full"
|
|
48
|
+
/>
|
|
49
|
+
{interval ? <TimerCircle interval={interval} /> : null}
|
|
50
|
+
</div>
|
|
51
|
+
<SectionInfo title={sectionInfoTitle} items={sectionInfo} />
|
|
52
|
+
<SectionInfo title={sectionAdditionalTitle} items={sectionInfoAdditional} countColumns />
|
|
53
|
+
{infoCard?.__html ? (
|
|
54
|
+
<InfoCard
|
|
55
|
+
__html={infoCard?.__html}
|
|
56
|
+
icon={infoCard?.icon}
|
|
57
|
+
link={{
|
|
58
|
+
text: infoCard?.link?.text,
|
|
59
|
+
}}
|
|
60
|
+
/>
|
|
61
|
+
) : null}
|
|
62
|
+
{buttonText ? (
|
|
63
|
+
<LinkButton href="/natural" text={buttonText} version="primary" className="w-full mt-lg" />
|
|
64
|
+
) : null}
|
|
65
|
+
</BlockWrapper>
|
|
66
|
+
),
|
|
67
|
+
);
|
|
68
|
+
|
|
69
|
+
const SectionInfo = ({
|
|
70
|
+
title,
|
|
71
|
+
items,
|
|
72
|
+
countColumns = false,
|
|
73
|
+
}: {
|
|
74
|
+
title?: string;
|
|
75
|
+
items?: (LabelProps & DescriptionProps)[];
|
|
76
|
+
countColumns?: boolean;
|
|
77
|
+
}) => {
|
|
78
|
+
const isMobile = useMobileMode();
|
|
79
|
+
|
|
80
|
+
if (!items) {
|
|
81
|
+
return null;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
return (
|
|
85
|
+
<div>
|
|
86
|
+
<hr className="w-full h-px bg-main-gray border-0" />
|
|
87
|
+
<div className="p-xl">
|
|
88
|
+
{title ? (
|
|
89
|
+
<Text color="text-primary-text" size="text-h5">
|
|
90
|
+
<div className={style({ 'mb-m': Boolean(title) })}>{title}</div>
|
|
91
|
+
</Text>
|
|
92
|
+
) : null}
|
|
93
|
+
{items ? (
|
|
94
|
+
<div
|
|
95
|
+
className={style(
|
|
96
|
+
'grid grid-cols-1 gap-m',
|
|
97
|
+
inputColumnStyles(countColumns || isMobile ? 1 : 2),
|
|
98
|
+
)}
|
|
99
|
+
>
|
|
100
|
+
{items.map((item, index) => (
|
|
101
|
+
<div key={index}>{renderItem(item)}</div>
|
|
102
|
+
))}
|
|
103
|
+
</div>
|
|
104
|
+
) : null}
|
|
105
|
+
</div>
|
|
106
|
+
</div>
|
|
107
|
+
);
|
|
108
|
+
};
|
|
109
|
+
|
|
110
|
+
const renderItem = ({ label, description }: LabelProps & DescriptionProps) => (
|
|
111
|
+
<div className="flex flex-col">
|
|
112
|
+
<Text color="text-secondary-text" size="text-l">
|
|
113
|
+
{label}
|
|
114
|
+
</Text>
|
|
115
|
+
<Text color="text-primary-text" size="text-xl">
|
|
116
|
+
{description}
|
|
117
|
+
</Text>
|
|
118
|
+
</div>
|
|
119
|
+
);
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
+
import { useEffect, useState } from '@redneckz/uni-jsx/lib/hooks';
|
|
3
|
+
import { getTaskStatus, STATUS_TYPE } from '../../api/RetailAPI/getTaskStatus';
|
|
4
|
+
import { sendSignalToProcess, type SignalType } from '../../api/RetailAPI/sendSignalToProcess';
|
|
5
|
+
import { useLocalStorage } from '../../hooks/useLocalStorage';
|
|
6
|
+
import { FailedStatusContent } from './FailedStatusContent';
|
|
7
|
+
import { PendingStatusContent } from './PendingStatusContent';
|
|
8
|
+
import { ReworkStatusContent } from './ReworkStatusContent';
|
|
9
|
+
import { SuccessStatusContent } from './SuccessStatusContent';
|
|
10
|
+
|
|
11
|
+
const SIGNAL_TYPES: SignalType[] = [
|
|
12
|
+
'CREATE_APPLICATION_SHORT_SIGNAL',
|
|
13
|
+
'CREATE_APPLICATION_LOAN_V3_SIGNAL',
|
|
14
|
+
];
|
|
15
|
+
|
|
16
|
+
export const CreditCardFormStatusTracker = JSX(() => {
|
|
17
|
+
const [status, setStatus] = useState(STATUS_TYPE.process);
|
|
18
|
+
const [taskId] = useLocalStorage<number>('taskId');
|
|
19
|
+
|
|
20
|
+
useEffect(() => {
|
|
21
|
+
for (const signalType of SIGNAL_TYPES) {
|
|
22
|
+
sendSignalToProcess({ signalType, taskId });
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
const trackStatus = () =>
|
|
26
|
+
getTaskStatus({ taskId }).then((res) => {
|
|
27
|
+
if (res.statusCd && res.statusCd !== STATUS_TYPE.process) {
|
|
28
|
+
clearInterval(pullingInterval);
|
|
29
|
+
setStatus(res.statusCd);
|
|
30
|
+
}
|
|
31
|
+
});
|
|
32
|
+
|
|
33
|
+
const pullingInterval = setInterval(trackStatus, 30000);
|
|
34
|
+
}, []);
|
|
35
|
+
|
|
36
|
+
return renderStatus(status);
|
|
37
|
+
});
|
|
38
|
+
|
|
39
|
+
const renderStatus = (status: STATUS_TYPE) => {
|
|
40
|
+
const statusesMap: Record<STATUS_TYPE, JSX.Element> = {
|
|
41
|
+
IN_PROCESS: <PendingStatusContent />,
|
|
42
|
+
FAILED: <FailedStatusContent />,
|
|
43
|
+
OK: <SuccessStatusContent />,
|
|
44
|
+
REWORK: <ReworkStatusContent />,
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
return statusesMap[status] || null;
|
|
48
|
+
};
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
+
import { useCallback, useRef } from '@redneckz/uni-jsx/lib/hooks';
|
|
3
|
+
import { useForm } from '../../hooks/useForm';
|
|
4
|
+
import { useLocalStorage } from '../../hooks/useLocalStorage';
|
|
5
|
+
import { type SectionsProps } from '../ApplicationForm/ApplicationFormContent';
|
|
6
|
+
import { type FieldDef } from '../ApplicationLeadForm/ApplicationLeadFormContent';
|
|
7
|
+
import { CreditCardFormStatusTracker } from './CreditCardFormStatusTracker';
|
|
8
|
+
import { type FormStateMap } from './formStateMap';
|
|
9
|
+
import { getInitialFormState } from './getInitialFormState';
|
|
10
|
+
import { renderStep, type CustomSubmit } from './renderStep';
|
|
11
|
+
import { StepsNavigationButtons } from './StepsNavigationButtons';
|
|
12
|
+
import { useCreditCardFormAPI } from './useCreditCardFormAPI';
|
|
13
|
+
|
|
14
|
+
export interface CreditCardFormStepProps {
|
|
15
|
+
step: number;
|
|
16
|
+
sections: SectionsProps[];
|
|
17
|
+
inputs: FieldDef[];
|
|
18
|
+
onNextStep: () => void;
|
|
19
|
+
onPrevStep: () => void;
|
|
20
|
+
isFormFinished: boolean;
|
|
21
|
+
finishForm?: (bool: boolean) => void;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export const CreditCardFormStep = JSX<CreditCardFormStepProps>(
|
|
25
|
+
({ step, sections, onPrevStep, onNextStep, inputs, isFormFinished, finishForm }) => {
|
|
26
|
+
const [localStorageData, saveStep] = useLocalStorage<Record<string, any>>('leadForm');
|
|
27
|
+
const initialState = getInitialFormState(step as keyof FormStateMap, localStorageData);
|
|
28
|
+
|
|
29
|
+
const customSubmit = useRef<CustomSubmit | undefined>(undefined);
|
|
30
|
+
|
|
31
|
+
const registerSubmit = useCallback((submit?: CustomSubmit) => {
|
|
32
|
+
customSubmit.current = submit;
|
|
33
|
+
}, []);
|
|
34
|
+
|
|
35
|
+
const { handleSubmit } = useCreditCardFormAPI({
|
|
36
|
+
step,
|
|
37
|
+
inputs,
|
|
38
|
+
onNextStep,
|
|
39
|
+
saveStep,
|
|
40
|
+
finishForm,
|
|
41
|
+
});
|
|
42
|
+
|
|
43
|
+
const [state, { field, onSubmit }] = useForm(initialState, {
|
|
44
|
+
onSubmit: (formData, ev) => {
|
|
45
|
+
handleSubmit({ ...formData, ...customSubmit.current?.(ev) });
|
|
46
|
+
},
|
|
47
|
+
});
|
|
48
|
+
|
|
49
|
+
const methodObtain = 'methodObtain' in state ? state.methodObtain : undefined;
|
|
50
|
+
|
|
51
|
+
return isFormFinished ? (
|
|
52
|
+
<CreditCardFormStatusTracker />
|
|
53
|
+
) : (
|
|
54
|
+
<form onSubmit={onSubmit} className="space-y-m">
|
|
55
|
+
{renderStep({
|
|
56
|
+
sections,
|
|
57
|
+
field,
|
|
58
|
+
registerSubmit,
|
|
59
|
+
methodObtain,
|
|
60
|
+
isLastStep: step === 5,
|
|
61
|
+
})}
|
|
62
|
+
<StepsNavigationButtons step={step} onPrevStep={onPrevStep} />
|
|
63
|
+
</form>
|
|
64
|
+
);
|
|
65
|
+
},
|
|
66
|
+
);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
+
import { CreditCardFormStatus } from './CreditCardFormStatus';
|
|
3
|
+
|
|
4
|
+
export const FailedStatusContent = JSX(() => (
|
|
5
|
+
<CreditCardFormStatus
|
|
6
|
+
title="Благодарим Вас за ожидание"
|
|
7
|
+
description="В настоящий момент Банк не может одобрить Вашу заявку на кредит. Попробуйте подать заявку позже. Спасибо за обращение в АО «Россельхозбанк»."
|
|
8
|
+
buttonText="Вернуться на главную"
|
|
9
|
+
/>
|
|
10
|
+
));
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
+
import { useLocalStorage } from '../../hooks/useLocalStorage';
|
|
3
|
+
import { CreditCardFormStatus } from './CreditCardFormStatus';
|
|
4
|
+
|
|
5
|
+
export const PendingStatusContent = JSX(() => {
|
|
6
|
+
const [leadForm] = useLocalStorage<Record<string, any>>('leadForm');
|
|
7
|
+
|
|
8
|
+
return (
|
|
9
|
+
<CreditCardFormStatus
|
|
10
|
+
interval={300}
|
|
11
|
+
title="Заявка успешно отправлена"
|
|
12
|
+
description="Не закрывайте окно, скоро сообщим результат"
|
|
13
|
+
sectionInfoTitle="Заявленные условия по кредиту"
|
|
14
|
+
sectionInfo={[
|
|
15
|
+
{
|
|
16
|
+
label: 'Название продукта',
|
|
17
|
+
description: 'Кредит на любые цели',
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
label: 'Цель кредита',
|
|
21
|
+
description: 'На любые цели',
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
label: 'Сумма',
|
|
25
|
+
description: leadForm?.moneyValue?.toLocaleString() + ' ₽',
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
label: 'Срок кредита',
|
|
29
|
+
description: leadForm?.monthsValue + ' мес',
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
label: 'Тип платежа',
|
|
33
|
+
description: leadForm?.isAnnuity ? 'Аннуитетный' : 'Дифференцированный',
|
|
34
|
+
},
|
|
35
|
+
]}
|
|
36
|
+
/>
|
|
37
|
+
);
|
|
38
|
+
});
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
+
import { useLocalStorage } from '../../hooks/useLocalStorage';
|
|
3
|
+
import { CreditCardFormStatus } from './CreditCardFormStatus';
|
|
4
|
+
|
|
5
|
+
export const ReworkStatusContent = JSX(() => {
|
|
6
|
+
const [leadForm] = useLocalStorage<Record<string, any>>('leadForm');
|
|
7
|
+
|
|
8
|
+
return (
|
|
9
|
+
<CreditCardFormStatus
|
|
10
|
+
title="Благодарим вас за ожидание, но нам требуется больше времени для принятия решения"
|
|
11
|
+
description="Посетите выбранное отделение банка с необходимыми документами и так завершите оформление кредита."
|
|
12
|
+
sectionAdditionalTitle="В отделении Банка"
|
|
13
|
+
sectionInfoAdditional={[
|
|
14
|
+
{
|
|
15
|
+
label: 'Регион',
|
|
16
|
+
description: leadForm?.regionRetail?.text,
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
label: 'Адрес',
|
|
20
|
+
description: leadForm?.addressRetail?.text,
|
|
21
|
+
},
|
|
22
|
+
]}
|
|
23
|
+
sectionInfo={[
|
|
24
|
+
{
|
|
25
|
+
label: 'Основные документы:',
|
|
26
|
+
description: '- Паспорт РФ',
|
|
27
|
+
},
|
|
28
|
+
]}
|
|
29
|
+
buttonText="Вернуться на главную"
|
|
30
|
+
/>
|
|
31
|
+
);
|
|
32
|
+
});
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
+
import { Button } from '../../ui-kit/Button/Button';
|
|
3
|
+
import { style } from '../../utils/style';
|
|
4
|
+
|
|
5
|
+
export interface StepsNavigationButtonsProps {
|
|
6
|
+
step: number;
|
|
7
|
+
onPrevStep?: () => void;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export const StepsNavigationButtons = JSX<StepsNavigationButtonsProps>(({ step, onPrevStep }) => {
|
|
11
|
+
const isFirstStep = step === 0;
|
|
12
|
+
|
|
13
|
+
return (
|
|
14
|
+
<div className="flex justify-between gap-m">
|
|
15
|
+
<Button
|
|
16
|
+
onClick={onPrevStep}
|
|
17
|
+
className={style('w-full @xl:w-auto')}
|
|
18
|
+
type="button"
|
|
19
|
+
version="secondary"
|
|
20
|
+
disabled={isFirstStep}
|
|
21
|
+
>
|
|
22
|
+
Назад
|
|
23
|
+
</Button>
|
|
24
|
+
<Button className="w-full @xl:w-auto" type="submit">
|
|
25
|
+
Далее
|
|
26
|
+
</Button>
|
|
27
|
+
</div>
|
|
28
|
+
);
|
|
29
|
+
});
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
+
import { useLocalStorage } from '../../hooks/useLocalStorage';
|
|
3
|
+
import { CreditCardFormStatus } from './CreditCardFormStatus';
|
|
4
|
+
|
|
5
|
+
export const SuccessStatusContent = JSX(() => {
|
|
6
|
+
const [leadForm] = useLocalStorage<Record<string, any>>('leadForm');
|
|
7
|
+
|
|
8
|
+
return (
|
|
9
|
+
<CreditCardFormStatus
|
|
10
|
+
title="Банк одобрил вам кредит"
|
|
11
|
+
description="Обратитесь в отделение банка, чтобы завершить оформление и получит ваш кредит"
|
|
12
|
+
sectionInfo={[
|
|
13
|
+
{
|
|
14
|
+
label: 'Название продукта',
|
|
15
|
+
description: 'Кредит на любые цели',
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
label: 'Ставка',
|
|
19
|
+
description: '14,5%',
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
label: 'Ежемесячный платеж',
|
|
23
|
+
description: '86 052 ₽',
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
label: 'Срок кредита',
|
|
27
|
+
description: leadForm?.monthsValue + ' мес',
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
label: 'Тип платежа',
|
|
31
|
+
description: leadForm?.isAnnuity ? 'Аннуитетный' : 'Дифференцированный',
|
|
32
|
+
},
|
|
33
|
+
]}
|
|
34
|
+
buttonText="Вернуться на главную"
|
|
35
|
+
/>
|
|
36
|
+
);
|
|
37
|
+
});
|