@redneckz/wildless-cms-uni-blocks 0.14.651 → 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 +4 -0
- package/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +928 -119
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +0 -9
- package/bundle/components/ApplicationLeadForm/getInitialFormState.d.ts +7 -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/dist/api/RetailAPI/getTaskStatus.d.ts +1 -1
- package/dist/api/RetailAPI/getTaskStatus.js.map +1 -1
- package/dist/api/RetailAPI/updateUserTask.d.ts +4 -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 +7 -0
- package/dist/components/ApplicationLeadForm/getInitialFormState.js +4 -0
- package/dist/components/ApplicationLeadForm/getInitialFormState.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 +1 -1
- package/dist/components/CreditForm/getCreditFormTaskData.js.map +1 -1
- package/dist/model/InputSectionsType.d.ts +9 -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/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/PaymentSystemField.js +6 -5
- package/dist/ui-kit/FormField/Fields/PaymentSystemField.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/lib/api/RetailAPI/getTaskStatus.d.ts +1 -1
- package/lib/api/RetailAPI/getTaskStatus.js.map +1 -1
- package/lib/api/RetailAPI/updateUserTask.d.ts +4 -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 +7 -0
- package/lib/components/ApplicationLeadForm/getInitialFormState.js +4 -0
- package/lib/components/ApplicationLeadForm/getInitialFormState.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 +1 -1
- package/lib/components/CreditForm/getCreditFormTaskData.js.map +1 -1
- package/lib/model/InputSectionsType.d.ts +9 -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/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/PaymentSystemField.js +7 -6
- package/lib/ui-kit/FormField/Fields/PaymentSystemField.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/mobile/bundle/api/RetailAPI/getTaskStatus.d.ts +1 -1
- package/mobile/bundle/api/RetailAPI/updateUserTask.d.ts +4 -0
- package/mobile/bundle/bundle.umd.js +924 -115
- 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 +7 -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/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 +4 -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 +7 -0
- package/mobile/dist/components/ApplicationLeadForm/getInitialFormState.js +4 -0
- package/mobile/dist/components/ApplicationLeadForm/getInitialFormState.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 +1 -1
- 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/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/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/PaymentSystemField.js +6 -5
- package/mobile/dist/ui-kit/FormField/Fields/PaymentSystemField.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/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 +4 -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 +7 -0
- package/mobile/lib/components/ApplicationLeadForm/getInitialFormState.js +4 -0
- package/mobile/lib/components/ApplicationLeadForm/getInitialFormState.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 +1 -1
- 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/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/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/PaymentSystemField.js +7 -6
- package/mobile/lib/ui-kit/FormField/Fields/PaymentSystemField.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/src/api/RetailAPI/getTaskStatus.ts +1 -1
- package/mobile/src/api/RetailAPI/updateUserTask.ts +4 -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 +8 -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 +1 -1
- package/mobile/src/model/InputSectionsType.ts +13 -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/MethodObtainField.tsx +19 -0
- package/mobile/src/ui-kit/FormField/Fields/PaymentSystemField.tsx +14 -16
- 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/package.json +2 -2
- package/src/api/RetailAPI/getTaskStatus.ts +1 -1
- package/src/api/RetailAPI/updateUserTask.ts +4 -0
- package/src/api/dadataHints/hintsListsOptions.ts +1 -0
- package/src/components/ApplicationLeadForm/ApplicationLeadFormContent.ts +0 -11
- package/src/components/ApplicationLeadForm/getInitialFormState.tsx +8 -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 +1 -1
- package/src/model/InputSectionsType.ts +13 -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/MethodObtainField.tsx +19 -0
- package/src/ui-kit/FormField/Fields/PaymentSystemField.tsx +14 -16
- 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
|
@@ -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,12 @@
|
|
|
1
|
+
import { type FormFieldRegisterer, type FormOperatorProps } from '../../hooks/useForm';
|
|
2
|
+
import { type CreditCardSectionsProps } from './CreditCardFormContent';
|
|
3
|
+
import { type FormStateMap } from './formStateMap';
|
|
4
|
+
export declare type CustomSubmit = FormOperatorProps<FormStateMap[keyof FormStateMap]>['onSubmit'];
|
|
5
|
+
export interface StepProps {
|
|
6
|
+
sections?: CreditCardSectionsProps[];
|
|
7
|
+
field: FormFieldRegisterer<FormStateMap[keyof FormStateMap]>;
|
|
8
|
+
registerSubmit?: (submit: CustomSubmit) => void;
|
|
9
|
+
isLastStep?: boolean;
|
|
10
|
+
methodObtain?: string;
|
|
11
|
+
}
|
|
12
|
+
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
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FailedStatusContent.js","sourceRoot":"","sources":["../../../src/components/CreditForm/FailedStatusContent.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEtD,MAAM,CAAC,MAAM,mBAAmB,GAAG,GAAG,CAAC,GAAG,EAAE,CAAC,CAC3C,KAAC,gBAAgB,IACf,KAAK,EAAC,+IAA4B,EAClC,WAAW,EAAC,
|
|
1
|
+
{"version":3,"file":"FailedStatusContent.js","sourceRoot":"","sources":["../../../src/components/CreditForm/FailedStatusContent.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEtD,MAAM,CAAC,MAAM,mBAAmB,GAAG,GAAG,CAAC,GAAG,EAAE,CAAC,CAC3C,KAAC,gBAAgB,IACf,KAAK,EAAC,+IAA4B,EAClC,WAAW,EAAC,utBAA8I,EAC1J,UAAU,EAAC,gHAAsB,GACjC,CACH,CAAC,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { type SectionsProps } from '
|
|
1
|
+
import { type SectionsProps } from '../../model/InputSectionsType';
|
|
2
2
|
export declare const stepsSectionsMap: SectionsProps[][];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getCreditFormTaskData.js","sourceRoot":"","sources":["../../../src/components/CreditForm/getCreditFormTaskData.ts"],"names":[],"mappings":"AAEA,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,qBAAqB,GAAG,CAAC,EACpC,aAAa,EACb,MAAM,EACN,SAAS,EACT,QAAQ,EACR,IAAI,GAAG,CAAC,GACmB,EAAsB,EAAE,CAAC,CAAC;IACrD,UAAU,EAAE,IAAI;IAChB,QAAQ,EAAE,QAAQ;IAClB,IAAI,EAAE;QACJ,UAAU,EAAE,UAAU,CAAC,QAAQ,CAAC,MAAM;QACtC,EAAE,EAAE,MAAM;QACV,yBAAyB;QACzB,iBAAiB,EAAE,QAAQ,EAAE,gBAAgB;QAC7C,YAAY,EAAE;YACZ;gBACE,EAAE,EAAE,aAAa;gBACjB,OAAO,EAAE;oBACP,EAAE,EAAE,SAAS;iBACd;gBACD,MAAM,EAAE;oBACN,GAAG,EAAE,UAAU;oBACf,KAAK,EAAE,SAAS;iBACjB;gBACD,GAAG,kBAAkB,CAAC,IAAI,EAAE,QAAQ,CAAC;aACtC;SACF;QACD,iBAAiB,EAAE;YACjB,GAAG,EAAE,QAAQ,EAAE,iBAAiB,EAAE,GAAG;SACa;KACrD;CACF,CAAC,CAAC;AAEH,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;YACE,OAAO,
|
|
1
|
+
{"version":3,"file":"getCreditFormTaskData.js","sourceRoot":"","sources":["../../../src/components/CreditForm/getCreditFormTaskData.ts"],"names":[],"mappings":"AAEA,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,qBAAqB,GAAG,CAAC,EACpC,aAAa,EACb,MAAM,EACN,SAAS,EACT,QAAQ,EACR,IAAI,GAAG,CAAC,GACmB,EAAsB,EAAE,CAAC,CAAC;IACrD,UAAU,EAAE,IAAI;IAChB,QAAQ,EAAE,QAAQ;IAClB,IAAI,EAAE;QACJ,UAAU,EAAE,UAAU,CAAC,QAAQ,CAAC,MAAM;QACtC,EAAE,EAAE,MAAM;QACV,yBAAyB;QACzB,iBAAiB,EAAE,QAAQ,EAAE,gBAAgB;QAC7C,YAAY,EAAE;YACZ;gBACE,EAAE,EAAE,aAAa;gBACjB,OAAO,EAAE;oBACP,EAAE,EAAE,SAAS;iBACd;gBACD,MAAM,EAAE;oBACN,GAAG,EAAE,UAAU;oBACf,KAAK,EAAE,SAAS;iBACjB;gBACD,GAAG,kBAAkB,CAAC,IAAI,EAAE,QAAQ,CAAC;aACtC;SACF;QACD,iBAAiB,EAAE;YACjB,GAAG,EAAE,QAAQ,EAAE,iBAAiB,EAAE,GAAG;SACa;KACrD;CACF,CAAC,CAAC;AAEH,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;YACE,OAAO,EAAE,CAAC;KACb;AACH,CAAC,CAAC"}
|
|
@@ -1,4 +1,12 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type FieldDef, type FormColumnsCount } from '../components/ApplicationLeadForm/ApplicationLeadFormContent';
|
|
2
|
+
import { type TitleProps } from './HeadlineType';
|
|
3
|
+
/**
|
|
4
|
+
* @title Секция полей ввода
|
|
5
|
+
*/
|
|
6
|
+
export declare type SectionsProps = TitleProps & {
|
|
7
|
+
columns?: FormColumnsCount;
|
|
8
|
+
inputs?: FieldDef[];
|
|
9
|
+
};
|
|
2
10
|
export interface InputSectionsType {
|
|
3
11
|
/** @hidden */
|
|
4
12
|
sections?: SectionsProps[];
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { jsx as _jsx
|
|
1
|
+
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { RadioButtonGroupControl } from '../../RadioButtonGroup/RadioButtonGroupControl.js';
|
|
4
|
+
import { validatorObj } from '../getObjectValidator.js';
|
|
5
|
+
import { getValidation } from '../getValidation.js';
|
|
5
6
|
export const CURRENCY_TYPES = [{ id: 'rub', text: 'Рубль' }];
|
|
6
|
-
export const CurrencyField = JSX(({ field }) => {
|
|
7
|
-
const { value } = field('currency');
|
|
8
|
-
return (
|
|
7
|
+
export const CurrencyField = JSX(({ field, input }) => {
|
|
8
|
+
const { value, onChange } = field('currency');
|
|
9
|
+
return (_jsx(RadioButtonGroupControl, { label: "\u0412\u0430\u043B\u044E\u0442\u0430", orientation: "horizontal", items: CURRENCY_TYPES, value: value, onChange: (_) => onChange?.(_), ...getValidation(field('currency'), validatorObj.currency, input?.required) }));
|
|
9
10
|
});
|
|
10
11
|
//# sourceMappingURL=CurrencyField.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CurrencyField.js","sourceRoot":"","sources":["../../../../src/ui-kit/FormField/Fields/CurrencyField.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"CurrencyField.js","sourceRoot":"","sources":["../../../../src/ui-kit/FormField/Fields/CurrencyField.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,uBAAuB,EAAE,MAAM,gDAAgD,CAAC;AAEzF,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEjD,MAAM,CAAC,MAAM,cAAc,GAAsB,CAAC,EAAE,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,CAAC;AAEhF,MAAM,CAAC,MAAM,aAAa,GAAG,GAAG,CAAmB,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,EAAE;IACtE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC,UAAU,CAAC,CAAC;IAE9C,OAAO,CACL,KAAC,uBAAuB,IACtB,KAAK,EAAC,sCAAQ,EACd,WAAW,EAAC,YAAY,EACxB,KAAK,EAAE,cAAc,EACrB,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC,KAC1B,aAAa,CAAC,KAAK,CAAC,UAAU,CAAC,EAAE,YAAY,CAAC,QAAQ,EAAE,KAAK,EAAE,QAAQ,CAAC,GAC5E,CACH,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
+
import { DatePickerControl } from '../../DatePicker/DatePickerControl.js';
|
|
4
|
+
import { validatorObj } from '../getObjectValidator.js';
|
|
5
|
+
import { getValidation } from '../getValidation.js';
|
|
6
|
+
export const DeliveryDateFiels = JSX(({ field, input }) => (_jsx(DatePickerControl, { label: "\u0414\u0430\u0442\u0430 \u0434\u043E\u0441\u0442\u0430\u0432\u043A\u0438", ...getValidation(field('deliveryDate'), validatorObj.deliveryDate, input?.required) })));
|
|
7
|
+
//# sourceMappingURL=DeliveryDateFiels.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DeliveryDateFiels.js","sourceRoot":"","sources":["../../../../src/ui-kit/FormField/Fields/DeliveryDateFiels.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAEvE,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEjD,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,CAAmB,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAC3E,KAAC,iBAAiB,IAChB,KAAK,EAAC,2EAAe,KACjB,aAAa,CAAC,KAAK,CAAC,cAAc,CAAC,EAAE,YAAY,CAAC,YAAY,EAAE,KAAK,EAAE,QAAQ,CAAC,GACpF,CACH,CAAC,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { type RadioButtonItem } from '../../RadioButtonGroup/RadioButtonGroup';
|
|
2
|
+
import { type CustomFieldProps } from '../CustomFieldProps';
|
|
3
|
+
export declare const METHODS_OF_OBTAIN: RadioButtonItem[];
|
|
4
|
+
export declare const MethodObtainField: import("@redneckz/uni-jsx").UNIComponent<CustomFieldProps, any, any>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
+
import { RadioButtonGroupControl } from '../../RadioButtonGroup/RadioButtonGroupControl.js';
|
|
4
|
+
import { validatorObj } from '../getObjectValidator.js';
|
|
5
|
+
import { getValidation } from '../getValidation.js';
|
|
6
|
+
export const METHODS_OF_OBTAIN = [
|
|
7
|
+
{ id: 'office', text: 'В отделении Банка' },
|
|
8
|
+
{ id: 'courier', text: 'Курьерская доставка' },
|
|
9
|
+
];
|
|
10
|
+
export const MethodObtainField = JSX(({ field, input }) => (_jsx(RadioButtonGroupControl, { orientation: "horizontal", items: METHODS_OF_OBTAIN, ...getValidation(field('methodObtain'), validatorObj.methodObtain, input?.required) })));
|
|
11
|
+
//# sourceMappingURL=MethodObtainField.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MethodObtainField.js","sourceRoot":"","sources":["../../../../src/ui-kit/FormField/Fields/MethodObtainField.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,uBAAuB,EAAE,MAAM,gDAAgD,CAAC;AAEzF,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEjD,MAAM,CAAC,MAAM,iBAAiB,GAAsB;IAClD,EAAE,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,mBAAmB,EAAE;IAC3C,EAAE,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,qBAAqB,EAAE;CAC/C,CAAC;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,CAAmB,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAC3E,KAAC,uBAAuB,IACtB,WAAW,EAAC,YAAY,EACxB,KAAK,EAAE,iBAAiB,KACpB,aAAa,CAAC,KAAK,CAAC,cAAc,CAAC,EAAE,YAAY,CAAC,YAAY,EAAE,KAAK,EAAE,QAAQ,CAAC,GACpF,CACH,CAAC,CAAC"}
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import { jsx as _jsx
|
|
1
|
+
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { RadioButtonGroupControl } from '../../RadioButtonGroup/RadioButtonGroupControl.js';
|
|
4
|
+
import { validatorObj } from '../getObjectValidator.js';
|
|
5
|
+
import { getValidation } from '../getValidation.js';
|
|
5
6
|
export const PAYMENT_SYSTEM_TYPES = [
|
|
6
7
|
{ id: 'mir', text: 'Карта МИР' },
|
|
7
8
|
{ id: 'union_pay', text: 'UnionPay' },
|
|
8
9
|
{ id: 'payment_system_j', text: 'Платежная система (Дж)' },
|
|
9
|
-
{ id: 'payment_system_b', text: 'Платежная система (B)
|
|
10
|
+
{ id: 'payment_system_b', text: 'Платежная система (B) ' },
|
|
10
11
|
{ id: 'free_card', text: 'Бесплатная карта' },
|
|
11
12
|
];
|
|
12
|
-
export const PaymentSystemField = JSX(({ field }) => {
|
|
13
|
+
export const PaymentSystemField = JSX(({ field, input }) => {
|
|
13
14
|
const { value, onChange } = field('paymentSystem');
|
|
14
|
-
return (
|
|
15
|
+
return (_jsx(RadioButtonGroupControl, { label: "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430", orientation: "horizontal", items: PAYMENT_SYSTEM_TYPES, value: value, onChange: (_) => onChange?.(_), ...getValidation(field('paymentSystem'), validatorObj.paymentSystem, input?.required) }));
|
|
15
16
|
});
|
|
16
17
|
//# sourceMappingURL=PaymentSystemField.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaymentSystemField.js","sourceRoot":"","sources":["../../../../src/ui-kit/FormField/Fields/PaymentSystemField.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"PaymentSystemField.js","sourceRoot":"","sources":["../../../../src/ui-kit/FormField/Fields/PaymentSystemField.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,uBAAuB,EAAE,MAAM,gDAAgD,CAAC;AAEzF,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEjD,MAAM,CAAC,MAAM,oBAAoB,GAAsB;IACrD,EAAE,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,WAAW,EAAE;IAChC,EAAE,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE,UAAU,EAAE;IACrC,EAAE,EAAE,EAAE,kBAAkB,EAAE,IAAI,EAAE,wBAAwB,EAAE;IAC1D,EAAE,EAAE,EAAE,kBAAkB,EAAE,IAAI,EAAE,wBAAwB,EAAE;IAC1D,EAAE,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE,kBAAkB,EAAE;CAC9C,CAAC;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAAG,GAAG,CAAmB,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,EAAE;IAC3E,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC,eAAe,CAAC,CAAC;IAEnD,OAAO,CACL,KAAC,uBAAuB,IACtB,KAAK,EAAC,mGAAmB,EACzB,WAAW,EAAC,YAAY,EACxB,KAAK,EAAE,oBAAoB,EAC3B,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC,KAC1B,aAAa,CAAC,KAAK,CAAC,eAAe,CAAC,EAAE,YAAY,CAAC,aAAa,EAAE,KAAK,EAAE,QAAQ,CAAC,GACtF,CACH,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare type NameFieldDef = 'surname' | 'name' | 'middleName' | 'education' | 'housing' | 'employment' | 'organization' | 'organizationPhone' | 'organizationAddress' | 'amountWorkers' | 'employerActivities' | 'employerOrganization' | 'positionOrganization' | 'dulSerie' | 'dulNumber' | 'dulIssueDateField' | 'dulSubdivisionCode' | 'dulIssuedBy' | 'email' | 'phone' | 'fullName' | 'inn' | 'comment' | 'region' | 'addressBranch' | 'typeForm' | 'registrationDate' | 'birthday' | 'birthPlace' | 'sex' | 'isClient' | 'consentToReceiveMaterials' | 'acquiringType' | 'onlineCheckout' | 'posTerminal' | 'serviceDirection' | 'serviceType' | 'feedbackMethod' | 'bankEmpolee' | 'applicationDate' | 'secondaryPhone' | 'vedTypes' | 'term' | 'amount' | 'annualRevenue' | 'collectionCount' | 'desiredMeetingDate' | 'product' | 'localities' | 'partnerComments' | 'consentDataProcessing' | 'consentInformFlg' | 'consentOthersFlg' | 'consentPfrFlg' | 'consentProviderFlg' | 'processPersonalDataFlg' | 'legalForm' | 'organizationName' | 'generalSeniority' | 'lastJobExperience' | 'experience5Years' | 'jobsNumber' | 'beginDate' | 'addressFact' | 'familyStatus' | 'children' | 'familyMembers' | 'dependents' | 'totalIncome' | 'expenses' | 'snils' | 'conscription' | 'armyIdFlg' | 'addressRegistration' | 'participantDateRegistration' | 'retirementIncome' | 'otherIncome' | 'mandatoryIncome' | 'otherPayments' | 'creditInRshbCd' | 'disablePeopleFlg' | 'bankruptcyFlg' | 'shareholderFlg' | 'legalEntityName' | 'bankEmployeeCode' | 'partInBusiness' | 'regionRetail' | 'addressRetail' | 'addressMatch' | 'paymentSystem' | 'currency' | 'cardCategory' | 'codeWord' | 'confirmationIncome';
|
|
1
|
+
export declare type NameFieldDef = 'surname' | 'name' | 'middleName' | 'education' | 'housing' | 'employment' | 'organization' | 'organizationPhone' | 'organizationAddress' | 'amountWorkers' | 'employerActivities' | 'employerOrganization' | 'positionOrganization' | 'dulSerie' | 'dulNumber' | 'dulIssueDateField' | 'dulSubdivisionCode' | 'dulIssuedBy' | 'email' | 'phone' | 'fullName' | 'inn' | 'comment' | 'region' | 'addressBranch' | 'typeForm' | 'registrationDate' | 'birthday' | 'birthPlace' | 'sex' | 'isClient' | 'consentToReceiveMaterials' | 'acquiringType' | 'onlineCheckout' | 'posTerminal' | 'serviceDirection' | 'serviceType' | 'feedbackMethod' | 'bankEmpolee' | 'applicationDate' | 'secondaryPhone' | 'vedTypes' | 'term' | 'amount' | 'annualRevenue' | 'collectionCount' | 'desiredMeetingDate' | 'product' | 'localities' | 'partnerComments' | 'consentDataProcessing' | 'consentInformFlg' | 'consentOthersFlg' | 'consentPfrFlg' | 'consentProviderFlg' | 'processPersonalDataFlg' | 'legalForm' | 'organizationName' | 'generalSeniority' | 'lastJobExperience' | 'experience5Years' | 'jobsNumber' | 'beginDate' | 'addressFact' | 'familyStatus' | 'children' | 'familyMembers' | 'dependents' | 'totalIncome' | 'expenses' | 'snils' | 'conscription' | 'armyIdFlg' | 'addressRegistration' | 'participantDateRegistration' | 'retirementIncome' | 'otherIncome' | 'mandatoryIncome' | 'otherPayments' | 'creditInRshbCd' | 'disablePeopleFlg' | 'bankruptcyFlg' | 'shareholderFlg' | 'legalEntityName' | 'bankEmployeeCode' | 'partInBusiness' | 'regionRetail' | 'addressRetail' | 'addressMatch' | 'addressCourier' | 'deliveryDate' | 'methodObtain' | 'paymentSystem' | 'currency' | 'cardCategory' | 'codeWord' | 'confirmationIncome';
|
|
@@ -26,6 +26,7 @@ import { ConscriptionField } from './Fields/ConscriptionField.js';
|
|
|
26
26
|
import { ConsentField } from './Fields/ConsentField.js';
|
|
27
27
|
import { CreditInRshbCdField } from './Fields/CreditInRshbCdField.js';
|
|
28
28
|
import { CurrencyField } from './Fields/CurrencyField.js';
|
|
29
|
+
import { DeliveryDateFiels } from './Fields/DeliveryDateFiels.js';
|
|
29
30
|
import { DependentsField } from './Fields/DependentsField.js';
|
|
30
31
|
import { DesiredMeetingDateField } from './Fields/DesiredMeetingDateField.js';
|
|
31
32
|
import { DisablePeopleFlgField } from './Fields/DisablePeopleFlgField.js';
|
|
@@ -55,6 +56,7 @@ import { LegalEntityNameField } from './Fields/LegalEntityNameField.js';
|
|
|
55
56
|
import { LegalFormField } from './Fields/LegalFormField.js';
|
|
56
57
|
import { LocalitiesField } from './Fields/LocalitiesField.js';
|
|
57
58
|
import { MandatoryIncomeField } from './Fields/MandatoryIncome.js';
|
|
59
|
+
import { MethodObtainField } from './Fields/MethodObtainField.js';
|
|
58
60
|
import { MiddleNameField } from './Fields/MiddleNameField.js';
|
|
59
61
|
import { NameField } from './Fields/NameField.js';
|
|
60
62
|
import { OnlineCheckoutField } from './Fields/OnlineCheckoutField.js';
|
|
@@ -163,6 +165,7 @@ export const getField = (field, typeForm, isRetailForm = false) => (input, i) =>
|
|
|
163
165
|
dulSubdivisionCode: _jsx(DulSubdivisionCodeField, { field: field, input: input }),
|
|
164
166
|
dulIssuedBy: _jsx(DulIssuedByField, { field: field, input: input }),
|
|
165
167
|
addressRegistration: _jsx(AddressField, { field: field, input: input }),
|
|
168
|
+
addressCourier: _jsx(AddressField, { field: field, input: input }),
|
|
166
169
|
participantDateRegistration: _jsx(ParticipantDateRegistrationField, { field: field, input: input }),
|
|
167
170
|
retirementIncome: _jsx(RetirementIncomeField, { field: field, input: input }),
|
|
168
171
|
otherIncome: _jsx(OtherIncomeField, { field: field, input: input }),
|
|
@@ -183,6 +186,8 @@ export const getField = (field, typeForm, isRetailForm = false) => (input, i) =>
|
|
|
183
186
|
cardCategory: _jsx(CardCategoryField, { field: field, input: input }),
|
|
184
187
|
codeWord: _jsx(CodeWordField, { field: field, input: input }),
|
|
185
188
|
confirmationIncome: _jsx(ConfirmationIncomeField, { field: field, input: input }),
|
|
189
|
+
methodObtain: _jsx(MethodObtainField, { field: field, input: input }),
|
|
190
|
+
deliveryDate: _jsx(DeliveryDateFiels, { field: field, input: input }),
|
|
186
191
|
};
|
|
187
192
|
return isRenderField({ input, field }) ? (_jsx("div", { children: InputsMap[input?.name || ''] }, String(i))) : null;
|
|
188
193
|
};
|