@redneckz/wildless-cms-uni-blocks 0.14.657 → 0.14.659
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/updateUserTask.d.ts +1 -0
- package/bundle/bundle.umd.js +214 -174
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/ApplicationLeadForm/getInitialFormState.d.ts +19 -11
- package/bundle/components/CreditCardForm/CreditCardFormContent.d.ts +2 -2
- package/bundle/components/CreditCardForm/CreditCardFormStep.d.ts +0 -2
- package/bundle/components/CreditCardForm/calculateInputs.d.ts +5 -0
- package/bundle/components/CreditCardForm/formStateMap.d.ts +2 -74
- package/bundle/components/CreditCardForm/getInitialFormState.d.ts +2 -2
- package/bundle/components/CreditCardForm/renderInfo.d.ts +1 -2
- package/bundle/components/CreditCardForm/renderInputs.d.ts +7 -1
- package/bundle/components/CreditCardForm/renderStep.d.ts +5 -5
- package/bundle/components/CreditCardForm/useCreditCardFormAPI.d.ts +2 -2
- package/bundle/components/CreditForm/CreditFormContent.d.ts +0 -8
- package/bundle/components/CreditForm/CreditFormStep.d.ts +0 -2
- package/bundle/components/CreditForm/calculateInputs.d.ts +5 -0
- package/bundle/components/CreditForm/formStateMap.d.ts +2 -73
- package/bundle/components/CreditForm/getInitialFormState.d.ts +2 -2
- package/bundle/components/CreditForm/renderInputs.d.ts +7 -1
- package/bundle/components/CreditForm/renderStep.d.ts +5 -4
- package/bundle/components/CreditForm/useCreditFormAPI.d.ts +2 -2
- package/bundle/ui-kit/FormField/isEsiaAuthorize.d.ts +1 -1
- package/bundle/ui-kit/Input/InputProps.d.ts +1 -1
- package/dist/api/RetailAPI/updateUserTask.d.ts +1 -0
- package/dist/api/RetailAPI/updateUserTask.js.map +1 -1
- package/dist/components/ApplicationLeadForm/getInitialFormState.d.ts +19 -11
- package/dist/components/ApplicationLeadForm/getInitialFormState.js.map +1 -1
- package/dist/components/CreditCardForm/CreditCardForm.js +1 -2
- package/dist/components/CreditCardForm/CreditCardForm.js.map +1 -1
- package/dist/components/CreditCardForm/CreditCardFormContent.d.ts +2 -2
- package/dist/components/CreditCardForm/CreditCardFormStep.d.ts +0 -2
- package/dist/components/CreditCardForm/CreditCardFormStep.js +4 -3
- package/dist/components/CreditCardForm/CreditCardFormStep.js.map +1 -1
- package/dist/components/CreditCardForm/calculateInputs.d.ts +5 -0
- package/dist/components/CreditCardForm/calculateInputs.js +28 -0
- package/dist/components/CreditCardForm/calculateInputs.js.map +1 -0
- package/dist/components/CreditCardForm/formStateMap.d.ts +2 -74
- package/dist/components/CreditCardForm/formStateMap.js +18 -14
- package/dist/components/CreditCardForm/formStateMap.js.map +1 -1
- package/dist/components/CreditCardForm/getCreditCardFormTaskData.js +3 -1
- package/dist/components/CreditCardForm/getCreditCardFormTaskData.js.map +1 -1
- package/dist/components/CreditCardForm/getInitialFormState.d.ts +2 -2
- package/dist/components/CreditCardForm/getInitialFormState.js +19 -24
- package/dist/components/CreditCardForm/getInitialFormState.js.map +1 -1
- package/dist/components/CreditCardForm/getThirdStepData.js +1 -0
- package/dist/components/CreditCardForm/getThirdStepData.js.map +1 -1
- package/dist/components/CreditCardForm/renderInfo.d.ts +1 -2
- package/dist/components/CreditCardForm/renderInfo.js +3 -5
- package/dist/components/CreditCardForm/renderInfo.js.map +1 -1
- package/dist/components/CreditCardForm/renderInputs.d.ts +7 -1
- package/dist/components/CreditCardForm/renderInputs.js +1 -1
- package/dist/components/CreditCardForm/renderInputs.js.map +1 -1
- package/dist/components/CreditCardForm/renderStep.d.ts +5 -5
- package/dist/components/CreditCardForm/renderStep.js +7 -1
- package/dist/components/CreditCardForm/renderStep.js.map +1 -1
- package/dist/components/CreditCardForm/useCreditCardFormAPI.d.ts +2 -2
- package/dist/components/CreditCardForm/useCreditCardFormAPI.js +4 -4
- package/dist/components/CreditCardForm/useCreditCardFormAPI.js.map +1 -1
- package/dist/components/CreditForm/CreditForm.js +1 -3
- package/dist/components/CreditForm/CreditForm.js.map +1 -1
- package/dist/components/CreditForm/CreditFormContent.d.ts +0 -8
- package/dist/components/CreditForm/CreditFormStep.d.ts +0 -2
- package/dist/components/CreditForm/CreditFormStep.js +3 -2
- package/dist/components/CreditForm/CreditFormStep.js.map +1 -1
- package/dist/components/CreditForm/calculateInputs.d.ts +5 -0
- package/dist/components/CreditForm/calculateInputs.js +28 -0
- package/dist/components/CreditForm/calculateInputs.js.map +1 -0
- package/dist/components/CreditForm/creditFormStepsData.js +2 -2
- package/dist/components/CreditForm/creditFormStepsData.js.map +1 -1
- package/dist/components/CreditForm/formStateMap.d.ts +2 -73
- package/dist/components/CreditForm/formStateMap.js +14 -14
- package/dist/components/CreditForm/formStateMap.js.map +1 -1
- package/dist/components/CreditForm/getCreditFormTaskData.js +3 -1
- package/dist/components/CreditForm/getCreditFormTaskData.js.map +1 -1
- package/dist/components/CreditForm/getInitialFormState.d.ts +2 -2
- package/dist/components/CreditForm/getInitialFormState.js +19 -21
- package/dist/components/CreditForm/getInitialFormState.js.map +1 -1
- package/dist/components/CreditForm/getSecondStepData.js +1 -0
- package/dist/components/CreditForm/getSecondStepData.js.map +1 -1
- package/dist/components/CreditForm/renderInputs.d.ts +7 -1
- package/dist/components/CreditForm/renderInputs.js +1 -1
- package/dist/components/CreditForm/renderInputs.js.map +1 -1
- package/dist/components/CreditForm/renderStep.d.ts +5 -4
- package/dist/components/CreditForm/renderStep.js +6 -1
- package/dist/components/CreditForm/renderStep.js.map +1 -1
- package/dist/components/CreditForm/useCreditFormAPI.d.ts +2 -2
- package/dist/components/CreditForm/useCreditFormAPI.js +3 -13
- package/dist/components/CreditForm/useCreditFormAPI.js.map +1 -1
- package/dist/components/CreditForm/utils.js +4 -1
- package/dist/components/CreditForm/utils.js.map +1 -1
- package/dist/ui-kit/FormField/Fields/AddressFactField.js +3 -0
- package/dist/ui-kit/FormField/Fields/AddressFactField.js.map +1 -1
- package/dist/ui-kit/FormField/Fields/AddressField.js +1 -9
- package/dist/ui-kit/FormField/Fields/AddressField.js.map +1 -1
- package/dist/ui-kit/FormField/Fields/AddressMatchField.js +2 -2
- package/dist/ui-kit/FormField/Fields/AddressMatchField.js.map +1 -1
- package/dist/ui-kit/FormField/Fields/ArmyIdFlgField.js +1 -1
- package/dist/ui-kit/FormField/Fields/ArmyIdFlgField.js.map +1 -1
- package/dist/ui-kit/FormField/Fields/BankruptcyFlgField.js +1 -1
- package/dist/ui-kit/FormField/Fields/BankruptcyFlgField.js.map +1 -1
- package/dist/ui-kit/FormField/Fields/BeginDateField.js +1 -2
- package/dist/ui-kit/FormField/Fields/BeginDateField.js.map +1 -1
- package/dist/ui-kit/FormField/Fields/BirthPlaceField.js +3 -1
- package/dist/ui-kit/FormField/Fields/BirthPlaceField.js.map +1 -1
- package/dist/ui-kit/FormField/Fields/BirthdayField.js +4 -2
- package/dist/ui-kit/FormField/Fields/BirthdayField.js.map +1 -1
- package/dist/ui-kit/FormField/Fields/DependentsField.js +1 -1
- package/dist/ui-kit/FormField/Fields/DependentsField.js.map +1 -1
- package/dist/ui-kit/FormField/Fields/DisablePeopleFlgField.js +1 -1
- package/dist/ui-kit/FormField/Fields/DisablePeopleFlgField.js.map +1 -1
- package/dist/ui-kit/FormField/Fields/DulIssueDateField.js +2 -1
- package/dist/ui-kit/FormField/Fields/DulIssueDateField.js.map +1 -1
- package/dist/ui-kit/FormField/Fields/DulIssuedByField.js +2 -1
- package/dist/ui-kit/FormField/Fields/DulIssuedByField.js.map +1 -1
- package/dist/ui-kit/FormField/Fields/DulNumberField.js +2 -1
- package/dist/ui-kit/FormField/Fields/DulNumberField.js.map +1 -1
- package/dist/ui-kit/FormField/Fields/DulSerieField.js +2 -1
- package/dist/ui-kit/FormField/Fields/DulSerieField.js.map +1 -1
- package/dist/ui-kit/FormField/Fields/DulSubdivisionCodeField.js +2 -1
- package/dist/ui-kit/FormField/Fields/DulSubdivisionCodeField.js.map +1 -1
- package/dist/ui-kit/FormField/Fields/Experience5YearsField.js +1 -2
- package/dist/ui-kit/FormField/Fields/Experience5YearsField.js.map +1 -1
- package/dist/ui-kit/FormField/Fields/GeneralSeniorityField.js +1 -2
- package/dist/ui-kit/FormField/Fields/GeneralSeniorityField.js.map +1 -1
- package/dist/ui-kit/FormField/Fields/InnField.js +1 -2
- package/dist/ui-kit/FormField/Fields/InnField.js.map +1 -1
- package/dist/ui-kit/FormField/Fields/JobsNumberField.js +1 -2
- package/dist/ui-kit/FormField/Fields/JobsNumberField.js.map +1 -1
- package/dist/ui-kit/FormField/Fields/LastJobExperienceField.js +1 -2
- package/dist/ui-kit/FormField/Fields/LastJobExperienceField.js.map +1 -1
- package/dist/ui-kit/FormField/Fields/LegalFormField.js +1 -2
- package/dist/ui-kit/FormField/Fields/LegalFormField.js.map +1 -1
- package/dist/ui-kit/FormField/Fields/MiddleNameField.js +2 -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/OrganizationNameField.js +1 -2
- package/dist/ui-kit/FormField/Fields/OrganizationNameField.js.map +1 -1
- package/dist/ui-kit/FormField/Fields/PartInBusinessField.js +2 -3
- package/dist/ui-kit/FormField/Fields/PartInBusinessField.js.map +1 -1
- package/dist/ui-kit/FormField/Fields/PaymentSystemField.js +0 -3
- package/dist/ui-kit/FormField/Fields/PaymentSystemField.js.map +1 -1
- package/dist/ui-kit/FormField/Fields/PhoneField.js +5 -4
- package/dist/ui-kit/FormField/Fields/PhoneField.js.map +1 -1
- package/dist/ui-kit/FormField/Fields/ShareholderFlgField.js +1 -1
- package/dist/ui-kit/FormField/Fields/ShareholderFlgField.js.map +1 -1
- package/dist/ui-kit/FormField/Fields/SurnameField.js +2 -1
- package/dist/ui-kit/FormField/Fields/SurnameField.js.map +1 -1
- package/dist/ui-kit/FormField/getObjectValidator.js +4 -7
- package/dist/ui-kit/FormField/getObjectValidator.js.map +1 -1
- package/dist/ui-kit/FormField/getValidation.js +1 -1
- package/dist/ui-kit/FormField/getValidation.js.map +1 -1
- package/dist/ui-kit/FormField/isEsiaAuthorize.d.ts +1 -1
- package/dist/ui-kit/FormField/isEsiaAuthorize.js +1 -1
- package/dist/ui-kit/FormField/isEsiaAuthorize.js.map +1 -1
- package/dist/ui-kit/Input/InputControl.js +2 -2
- package/dist/ui-kit/Input/InputControl.js.map +1 -1
- package/dist/ui-kit/Input/InputProps.d.ts +1 -1
- package/lib/api/RetailAPI/updateUserTask.d.ts +1 -0
- package/lib/api/RetailAPI/updateUserTask.js.map +1 -1
- package/lib/components/ApplicationLeadForm/getInitialFormState.d.ts +19 -11
- package/lib/components/ApplicationLeadForm/getInitialFormState.js.map +1 -1
- package/lib/components/CreditCardForm/CreditCardForm.js +1 -2
- package/lib/components/CreditCardForm/CreditCardForm.js.map +1 -1
- package/lib/components/CreditCardForm/CreditCardFormContent.d.ts +2 -2
- package/lib/components/CreditCardForm/CreditCardFormStep.d.ts +0 -2
- package/lib/components/CreditCardForm/CreditCardFormStep.js +4 -3
- package/lib/components/CreditCardForm/CreditCardFormStep.js.map +1 -1
- package/lib/components/CreditCardForm/calculateInputs.d.ts +5 -0
- package/lib/components/CreditCardForm/calculateInputs.js +24 -0
- package/lib/components/CreditCardForm/calculateInputs.js.map +1 -0
- package/lib/components/CreditCardForm/formStateMap.d.ts +2 -74
- package/lib/components/CreditCardForm/formStateMap.js +18 -14
- package/lib/components/CreditCardForm/formStateMap.js.map +1 -1
- package/lib/components/CreditCardForm/getCreditCardFormTaskData.js +3 -1
- package/lib/components/CreditCardForm/getCreditCardFormTaskData.js.map +1 -1
- package/lib/components/CreditCardForm/getInitialFormState.d.ts +2 -2
- package/lib/components/CreditCardForm/getInitialFormState.js +18 -23
- package/lib/components/CreditCardForm/getInitialFormState.js.map +1 -1
- package/lib/components/CreditCardForm/getThirdStepData.js +1 -0
- package/lib/components/CreditCardForm/getThirdStepData.js.map +1 -1
- package/lib/components/CreditCardForm/renderInfo.d.ts +1 -2
- package/lib/components/CreditCardForm/renderInfo.js +3 -5
- package/lib/components/CreditCardForm/renderInfo.js.map +1 -1
- package/lib/components/CreditCardForm/renderInputs.d.ts +7 -1
- package/lib/components/CreditCardForm/renderInputs.js +1 -1
- package/lib/components/CreditCardForm/renderInputs.js.map +1 -1
- package/lib/components/CreditCardForm/renderStep.d.ts +5 -5
- package/lib/components/CreditCardForm/renderStep.js +7 -1
- package/lib/components/CreditCardForm/renderStep.js.map +1 -1
- package/lib/components/CreditCardForm/useCreditCardFormAPI.d.ts +2 -2
- package/lib/components/CreditCardForm/useCreditCardFormAPI.js +4 -4
- package/lib/components/CreditCardForm/useCreditCardFormAPI.js.map +1 -1
- package/lib/components/CreditForm/CreditForm.js +1 -3
- package/lib/components/CreditForm/CreditForm.js.map +1 -1
- package/lib/components/CreditForm/CreditFormContent.d.ts +0 -8
- package/lib/components/CreditForm/CreditFormStep.d.ts +0 -2
- package/lib/components/CreditForm/CreditFormStep.js +3 -2
- package/lib/components/CreditForm/CreditFormStep.js.map +1 -1
- package/lib/components/CreditForm/calculateInputs.d.ts +5 -0
- package/lib/components/CreditForm/calculateInputs.js +24 -0
- package/lib/components/CreditForm/calculateInputs.js.map +1 -0
- package/lib/components/CreditForm/creditFormStepsData.js +2 -2
- package/lib/components/CreditForm/creditFormStepsData.js.map +1 -1
- package/lib/components/CreditForm/formStateMap.d.ts +2 -73
- package/lib/components/CreditForm/formStateMap.js +14 -14
- package/lib/components/CreditForm/formStateMap.js.map +1 -1
- package/lib/components/CreditForm/getCreditFormTaskData.js +3 -1
- package/lib/components/CreditForm/getCreditFormTaskData.js.map +1 -1
- package/lib/components/CreditForm/getInitialFormState.d.ts +2 -2
- package/lib/components/CreditForm/getInitialFormState.js +18 -20
- package/lib/components/CreditForm/getInitialFormState.js.map +1 -1
- package/lib/components/CreditForm/getSecondStepData.js +1 -0
- package/lib/components/CreditForm/getSecondStepData.js.map +1 -1
- package/lib/components/CreditForm/renderInputs.d.ts +7 -1
- package/lib/components/CreditForm/renderInputs.js +1 -1
- package/lib/components/CreditForm/renderInputs.js.map +1 -1
- package/lib/components/CreditForm/renderStep.d.ts +5 -4
- package/lib/components/CreditForm/renderStep.js +6 -1
- package/lib/components/CreditForm/renderStep.js.map +1 -1
- package/lib/components/CreditForm/useCreditFormAPI.d.ts +2 -2
- package/lib/components/CreditForm/useCreditFormAPI.js +3 -13
- package/lib/components/CreditForm/useCreditFormAPI.js.map +1 -1
- package/lib/components/CreditForm/utils.js +4 -1
- package/lib/components/CreditForm/utils.js.map +1 -1
- package/lib/ui-kit/FormField/Fields/AddressFactField.js +3 -0
- package/lib/ui-kit/FormField/Fields/AddressFactField.js.map +1 -1
- package/lib/ui-kit/FormField/Fields/AddressField.js +1 -9
- package/lib/ui-kit/FormField/Fields/AddressField.js.map +1 -1
- package/lib/ui-kit/FormField/Fields/AddressMatchField.js +2 -2
- package/lib/ui-kit/FormField/Fields/AddressMatchField.js.map +1 -1
- package/lib/ui-kit/FormField/Fields/ArmyIdFlgField.js +1 -1
- package/lib/ui-kit/FormField/Fields/ArmyIdFlgField.js.map +1 -1
- package/lib/ui-kit/FormField/Fields/BankruptcyFlgField.js +1 -1
- package/lib/ui-kit/FormField/Fields/BankruptcyFlgField.js.map +1 -1
- package/lib/ui-kit/FormField/Fields/BeginDateField.js +1 -2
- package/lib/ui-kit/FormField/Fields/BeginDateField.js.map +1 -1
- package/lib/ui-kit/FormField/Fields/BirthPlaceField.js +3 -1
- package/lib/ui-kit/FormField/Fields/BirthPlaceField.js.map +1 -1
- package/lib/ui-kit/FormField/Fields/BirthdayField.js +4 -2
- package/lib/ui-kit/FormField/Fields/BirthdayField.js.map +1 -1
- package/lib/ui-kit/FormField/Fields/DependentsField.js +1 -1
- package/lib/ui-kit/FormField/Fields/DependentsField.js.map +1 -1
- package/lib/ui-kit/FormField/Fields/DisablePeopleFlgField.js +1 -1
- package/lib/ui-kit/FormField/Fields/DisablePeopleFlgField.js.map +1 -1
- package/lib/ui-kit/FormField/Fields/DulIssueDateField.js +2 -1
- package/lib/ui-kit/FormField/Fields/DulIssueDateField.js.map +1 -1
- package/lib/ui-kit/FormField/Fields/DulIssuedByField.js +2 -1
- package/lib/ui-kit/FormField/Fields/DulIssuedByField.js.map +1 -1
- package/lib/ui-kit/FormField/Fields/DulNumberField.js +2 -1
- package/lib/ui-kit/FormField/Fields/DulNumberField.js.map +1 -1
- package/lib/ui-kit/FormField/Fields/DulSerieField.js +2 -1
- package/lib/ui-kit/FormField/Fields/DulSerieField.js.map +1 -1
- package/lib/ui-kit/FormField/Fields/DulSubdivisionCodeField.js +2 -1
- package/lib/ui-kit/FormField/Fields/DulSubdivisionCodeField.js.map +1 -1
- package/lib/ui-kit/FormField/Fields/Experience5YearsField.js +1 -2
- package/lib/ui-kit/FormField/Fields/Experience5YearsField.js.map +1 -1
- package/lib/ui-kit/FormField/Fields/GeneralSeniorityField.js +1 -2
- package/lib/ui-kit/FormField/Fields/GeneralSeniorityField.js.map +1 -1
- package/lib/ui-kit/FormField/Fields/InnField.js +1 -2
- package/lib/ui-kit/FormField/Fields/InnField.js.map +1 -1
- package/lib/ui-kit/FormField/Fields/JobsNumberField.js +1 -2
- package/lib/ui-kit/FormField/Fields/JobsNumberField.js.map +1 -1
- package/lib/ui-kit/FormField/Fields/LastJobExperienceField.js +1 -2
- package/lib/ui-kit/FormField/Fields/LastJobExperienceField.js.map +1 -1
- package/lib/ui-kit/FormField/Fields/LegalFormField.js +1 -2
- package/lib/ui-kit/FormField/Fields/LegalFormField.js.map +1 -1
- package/lib/ui-kit/FormField/Fields/MiddleNameField.js +2 -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/OrganizationNameField.js +1 -2
- package/lib/ui-kit/FormField/Fields/OrganizationNameField.js.map +1 -1
- package/lib/ui-kit/FormField/Fields/PartInBusinessField.js +2 -3
- package/lib/ui-kit/FormField/Fields/PartInBusinessField.js.map +1 -1
- package/lib/ui-kit/FormField/Fields/PaymentSystemField.js +0 -3
- package/lib/ui-kit/FormField/Fields/PaymentSystemField.js.map +1 -1
- package/lib/ui-kit/FormField/Fields/PhoneField.js +5 -4
- package/lib/ui-kit/FormField/Fields/PhoneField.js.map +1 -1
- package/lib/ui-kit/FormField/Fields/ShareholderFlgField.js +1 -1
- package/lib/ui-kit/FormField/Fields/ShareholderFlgField.js.map +1 -1
- package/lib/ui-kit/FormField/Fields/SurnameField.js +2 -1
- package/lib/ui-kit/FormField/Fields/SurnameField.js.map +1 -1
- package/lib/ui-kit/FormField/getObjectValidator.js +4 -7
- package/lib/ui-kit/FormField/getObjectValidator.js.map +1 -1
- package/lib/ui-kit/FormField/getValidation.js +1 -1
- package/lib/ui-kit/FormField/getValidation.js.map +1 -1
- package/lib/ui-kit/FormField/isEsiaAuthorize.d.ts +1 -1
- package/lib/ui-kit/FormField/isEsiaAuthorize.js +1 -1
- package/lib/ui-kit/FormField/isEsiaAuthorize.js.map +1 -1
- package/lib/ui-kit/Input/InputControl.js +2 -2
- package/lib/ui-kit/Input/InputControl.js.map +1 -1
- package/lib/ui-kit/Input/InputProps.d.ts +1 -1
- package/mobile/bundle/api/RetailAPI/updateUserTask.d.ts +1 -0
- package/mobile/bundle/bundle.umd.js +214 -174
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/ApplicationLeadForm/getInitialFormState.d.ts +19 -11
- package/mobile/bundle/components/CreditCardForm/CreditCardFormContent.d.ts +2 -2
- package/mobile/bundle/components/CreditCardForm/CreditCardFormStep.d.ts +0 -2
- package/mobile/bundle/components/CreditCardForm/calculateInputs.d.ts +5 -0
- package/mobile/bundle/components/CreditCardForm/formStateMap.d.ts +2 -74
- package/mobile/bundle/components/CreditCardForm/getInitialFormState.d.ts +2 -2
- package/mobile/bundle/components/CreditCardForm/renderInfo.d.ts +1 -2
- package/mobile/bundle/components/CreditCardForm/renderInputs.d.ts +7 -1
- package/mobile/bundle/components/CreditCardForm/renderStep.d.ts +5 -5
- package/mobile/bundle/components/CreditCardForm/useCreditCardFormAPI.d.ts +2 -2
- package/mobile/bundle/components/CreditForm/CreditFormContent.d.ts +0 -8
- package/mobile/bundle/components/CreditForm/CreditFormStep.d.ts +0 -2
- package/mobile/bundle/components/CreditForm/calculateInputs.d.ts +5 -0
- package/mobile/bundle/components/CreditForm/formStateMap.d.ts +2 -73
- package/mobile/bundle/components/CreditForm/getInitialFormState.d.ts +2 -2
- package/mobile/bundle/components/CreditForm/renderInputs.d.ts +7 -1
- package/mobile/bundle/components/CreditForm/renderStep.d.ts +5 -4
- package/mobile/bundle/components/CreditForm/useCreditFormAPI.d.ts +2 -2
- package/mobile/bundle/ui-kit/FormField/isEsiaAuthorize.d.ts +1 -1
- package/mobile/bundle/ui-kit/Input/InputProps.d.ts +1 -1
- package/mobile/dist/api/RetailAPI/updateUserTask.d.ts +1 -0
- package/mobile/dist/api/RetailAPI/updateUserTask.js.map +1 -1
- package/mobile/dist/components/ApplicationLeadForm/getInitialFormState.d.ts +19 -11
- package/mobile/dist/components/ApplicationLeadForm/getInitialFormState.js.map +1 -1
- package/mobile/dist/components/CreditCardForm/CreditCardForm.js +1 -2
- package/mobile/dist/components/CreditCardForm/CreditCardForm.js.map +1 -1
- package/mobile/dist/components/CreditCardForm/CreditCardFormContent.d.ts +2 -2
- package/mobile/dist/components/CreditCardForm/CreditCardFormStep.d.ts +0 -2
- package/mobile/dist/components/CreditCardForm/CreditCardFormStep.js +4 -3
- package/mobile/dist/components/CreditCardForm/CreditCardFormStep.js.map +1 -1
- package/mobile/dist/components/CreditCardForm/calculateInputs.d.ts +5 -0
- package/mobile/dist/components/CreditCardForm/calculateInputs.js +28 -0
- package/mobile/dist/components/CreditCardForm/calculateInputs.js.map +1 -0
- package/mobile/dist/components/CreditCardForm/formStateMap.d.ts +2 -74
- package/mobile/dist/components/CreditCardForm/formStateMap.js +18 -14
- package/mobile/dist/components/CreditCardForm/formStateMap.js.map +1 -1
- package/mobile/dist/components/CreditCardForm/getCreditCardFormTaskData.js +3 -1
- package/mobile/dist/components/CreditCardForm/getCreditCardFormTaskData.js.map +1 -1
- package/mobile/dist/components/CreditCardForm/getInitialFormState.d.ts +2 -2
- package/mobile/dist/components/CreditCardForm/getInitialFormState.js +19 -24
- package/mobile/dist/components/CreditCardForm/getInitialFormState.js.map +1 -1
- package/mobile/dist/components/CreditCardForm/getThirdStepData.js +1 -0
- package/mobile/dist/components/CreditCardForm/getThirdStepData.js.map +1 -1
- package/mobile/dist/components/CreditCardForm/renderInfo.d.ts +1 -2
- package/mobile/dist/components/CreditCardForm/renderInfo.js +3 -5
- package/mobile/dist/components/CreditCardForm/renderInfo.js.map +1 -1
- package/mobile/dist/components/CreditCardForm/renderInputs.d.ts +7 -1
- package/mobile/dist/components/CreditCardForm/renderInputs.js +1 -1
- package/mobile/dist/components/CreditCardForm/renderInputs.js.map +1 -1
- package/mobile/dist/components/CreditCardForm/renderStep.d.ts +5 -5
- package/mobile/dist/components/CreditCardForm/renderStep.js +7 -1
- package/mobile/dist/components/CreditCardForm/renderStep.js.map +1 -1
- package/mobile/dist/components/CreditCardForm/useCreditCardFormAPI.d.ts +2 -2
- package/mobile/dist/components/CreditCardForm/useCreditCardFormAPI.js +4 -4
- package/mobile/dist/components/CreditCardForm/useCreditCardFormAPI.js.map +1 -1
- package/mobile/dist/components/CreditForm/CreditForm.js +1 -3
- package/mobile/dist/components/CreditForm/CreditForm.js.map +1 -1
- package/mobile/dist/components/CreditForm/CreditFormContent.d.ts +0 -8
- package/mobile/dist/components/CreditForm/CreditFormStep.d.ts +0 -2
- package/mobile/dist/components/CreditForm/CreditFormStep.js +3 -2
- package/mobile/dist/components/CreditForm/CreditFormStep.js.map +1 -1
- package/mobile/dist/components/CreditForm/calculateInputs.d.ts +5 -0
- package/mobile/dist/components/CreditForm/calculateInputs.js +28 -0
- package/mobile/dist/components/CreditForm/calculateInputs.js.map +1 -0
- package/mobile/dist/components/CreditForm/creditFormStepsData.js +2 -2
- package/mobile/dist/components/CreditForm/creditFormStepsData.js.map +1 -1
- package/mobile/dist/components/CreditForm/formStateMap.d.ts +2 -73
- package/mobile/dist/components/CreditForm/formStateMap.js +14 -14
- package/mobile/dist/components/CreditForm/formStateMap.js.map +1 -1
- package/mobile/dist/components/CreditForm/getCreditFormTaskData.js +3 -1
- package/mobile/dist/components/CreditForm/getCreditFormTaskData.js.map +1 -1
- package/mobile/dist/components/CreditForm/getInitialFormState.d.ts +2 -2
- package/mobile/dist/components/CreditForm/getInitialFormState.js +19 -21
- package/mobile/dist/components/CreditForm/getInitialFormState.js.map +1 -1
- package/mobile/dist/components/CreditForm/getSecondStepData.js +1 -0
- package/mobile/dist/components/CreditForm/getSecondStepData.js.map +1 -1
- package/mobile/dist/components/CreditForm/renderInputs.d.ts +7 -1
- package/mobile/dist/components/CreditForm/renderInputs.js +1 -1
- package/mobile/dist/components/CreditForm/renderInputs.js.map +1 -1
- package/mobile/dist/components/CreditForm/renderStep.d.ts +5 -4
- package/mobile/dist/components/CreditForm/renderStep.js +6 -1
- package/mobile/dist/components/CreditForm/renderStep.js.map +1 -1
- package/mobile/dist/components/CreditForm/useCreditFormAPI.d.ts +2 -2
- package/mobile/dist/components/CreditForm/useCreditFormAPI.js +3 -13
- package/mobile/dist/components/CreditForm/useCreditFormAPI.js.map +1 -1
- package/mobile/dist/components/CreditForm/utils.js +4 -1
- package/mobile/dist/components/CreditForm/utils.js.map +1 -1
- package/mobile/dist/ui-kit/FormField/Fields/AddressFactField.js +3 -0
- package/mobile/dist/ui-kit/FormField/Fields/AddressFactField.js.map +1 -1
- package/mobile/dist/ui-kit/FormField/Fields/AddressField.js +1 -9
- package/mobile/dist/ui-kit/FormField/Fields/AddressField.js.map +1 -1
- package/mobile/dist/ui-kit/FormField/Fields/AddressMatchField.js +2 -2
- package/mobile/dist/ui-kit/FormField/Fields/AddressMatchField.js.map +1 -1
- package/mobile/dist/ui-kit/FormField/Fields/ArmyIdFlgField.js +1 -1
- package/mobile/dist/ui-kit/FormField/Fields/ArmyIdFlgField.js.map +1 -1
- package/mobile/dist/ui-kit/FormField/Fields/BankruptcyFlgField.js +1 -1
- package/mobile/dist/ui-kit/FormField/Fields/BankruptcyFlgField.js.map +1 -1
- package/mobile/dist/ui-kit/FormField/Fields/BeginDateField.js +1 -2
- package/mobile/dist/ui-kit/FormField/Fields/BeginDateField.js.map +1 -1
- package/mobile/dist/ui-kit/FormField/Fields/BirthPlaceField.js +3 -1
- package/mobile/dist/ui-kit/FormField/Fields/BirthPlaceField.js.map +1 -1
- package/mobile/dist/ui-kit/FormField/Fields/BirthdayField.js +4 -2
- package/mobile/dist/ui-kit/FormField/Fields/BirthdayField.js.map +1 -1
- package/mobile/dist/ui-kit/FormField/Fields/DependentsField.js +1 -1
- package/mobile/dist/ui-kit/FormField/Fields/DependentsField.js.map +1 -1
- package/mobile/dist/ui-kit/FormField/Fields/DisablePeopleFlgField.js +1 -1
- package/mobile/dist/ui-kit/FormField/Fields/DisablePeopleFlgField.js.map +1 -1
- package/mobile/dist/ui-kit/FormField/Fields/DulIssueDateField.js +2 -1
- package/mobile/dist/ui-kit/FormField/Fields/DulIssueDateField.js.map +1 -1
- package/mobile/dist/ui-kit/FormField/Fields/DulIssuedByField.js +2 -1
- package/mobile/dist/ui-kit/FormField/Fields/DulIssuedByField.js.map +1 -1
- package/mobile/dist/ui-kit/FormField/Fields/DulNumberField.js +2 -1
- package/mobile/dist/ui-kit/FormField/Fields/DulNumberField.js.map +1 -1
- package/mobile/dist/ui-kit/FormField/Fields/DulSerieField.js +2 -1
- package/mobile/dist/ui-kit/FormField/Fields/DulSerieField.js.map +1 -1
- package/mobile/dist/ui-kit/FormField/Fields/DulSubdivisionCodeField.js +2 -1
- package/mobile/dist/ui-kit/FormField/Fields/DulSubdivisionCodeField.js.map +1 -1
- package/mobile/dist/ui-kit/FormField/Fields/Experience5YearsField.js +1 -2
- package/mobile/dist/ui-kit/FormField/Fields/Experience5YearsField.js.map +1 -1
- package/mobile/dist/ui-kit/FormField/Fields/GeneralSeniorityField.js +1 -2
- package/mobile/dist/ui-kit/FormField/Fields/GeneralSeniorityField.js.map +1 -1
- package/mobile/dist/ui-kit/FormField/Fields/InnField.js +1 -2
- package/mobile/dist/ui-kit/FormField/Fields/InnField.js.map +1 -1
- package/mobile/dist/ui-kit/FormField/Fields/JobsNumberField.js +1 -2
- package/mobile/dist/ui-kit/FormField/Fields/JobsNumberField.js.map +1 -1
- package/mobile/dist/ui-kit/FormField/Fields/LastJobExperienceField.js +1 -2
- package/mobile/dist/ui-kit/FormField/Fields/LastJobExperienceField.js.map +1 -1
- package/mobile/dist/ui-kit/FormField/Fields/LegalFormField.js +1 -2
- package/mobile/dist/ui-kit/FormField/Fields/LegalFormField.js.map +1 -1
- package/mobile/dist/ui-kit/FormField/Fields/MiddleNameField.js +2 -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/OrganizationNameField.js +1 -2
- package/mobile/dist/ui-kit/FormField/Fields/OrganizationNameField.js.map +1 -1
- package/mobile/dist/ui-kit/FormField/Fields/PartInBusinessField.js +2 -3
- package/mobile/dist/ui-kit/FormField/Fields/PartInBusinessField.js.map +1 -1
- package/mobile/dist/ui-kit/FormField/Fields/PaymentSystemField.js +0 -3
- package/mobile/dist/ui-kit/FormField/Fields/PaymentSystemField.js.map +1 -1
- package/mobile/dist/ui-kit/FormField/Fields/PhoneField.js +5 -4
- package/mobile/dist/ui-kit/FormField/Fields/PhoneField.js.map +1 -1
- package/mobile/dist/ui-kit/FormField/Fields/ShareholderFlgField.js +1 -1
- package/mobile/dist/ui-kit/FormField/Fields/ShareholderFlgField.js.map +1 -1
- package/mobile/dist/ui-kit/FormField/Fields/SurnameField.js +2 -1
- package/mobile/dist/ui-kit/FormField/Fields/SurnameField.js.map +1 -1
- package/mobile/dist/ui-kit/FormField/getObjectValidator.js +4 -7
- package/mobile/dist/ui-kit/FormField/getObjectValidator.js.map +1 -1
- package/mobile/dist/ui-kit/FormField/getValidation.js +1 -1
- package/mobile/dist/ui-kit/FormField/getValidation.js.map +1 -1
- package/mobile/dist/ui-kit/FormField/isEsiaAuthorize.d.ts +1 -1
- package/mobile/dist/ui-kit/FormField/isEsiaAuthorize.js +1 -1
- package/mobile/dist/ui-kit/FormField/isEsiaAuthorize.js.map +1 -1
- package/mobile/dist/ui-kit/Input/InputControl.js +2 -2
- package/mobile/dist/ui-kit/Input/InputControl.js.map +1 -1
- package/mobile/dist/ui-kit/Input/InputProps.d.ts +1 -1
- package/mobile/lib/api/RetailAPI/updateUserTask.d.ts +1 -0
- package/mobile/lib/api/RetailAPI/updateUserTask.js.map +1 -1
- package/mobile/lib/components/ApplicationLeadForm/getInitialFormState.d.ts +19 -11
- package/mobile/lib/components/ApplicationLeadForm/getInitialFormState.js.map +1 -1
- package/mobile/lib/components/CreditCardForm/CreditCardForm.js +1 -2
- package/mobile/lib/components/CreditCardForm/CreditCardForm.js.map +1 -1
- package/mobile/lib/components/CreditCardForm/CreditCardFormContent.d.ts +2 -2
- package/mobile/lib/components/CreditCardForm/CreditCardFormStep.d.ts +0 -2
- package/mobile/lib/components/CreditCardForm/CreditCardFormStep.js +4 -3
- package/mobile/lib/components/CreditCardForm/CreditCardFormStep.js.map +1 -1
- package/mobile/lib/components/CreditCardForm/calculateInputs.d.ts +5 -0
- package/mobile/lib/components/CreditCardForm/calculateInputs.js +24 -0
- package/mobile/lib/components/CreditCardForm/calculateInputs.js.map +1 -0
- package/mobile/lib/components/CreditCardForm/formStateMap.d.ts +2 -74
- package/mobile/lib/components/CreditCardForm/formStateMap.js +18 -14
- package/mobile/lib/components/CreditCardForm/formStateMap.js.map +1 -1
- package/mobile/lib/components/CreditCardForm/getCreditCardFormTaskData.js +3 -1
- package/mobile/lib/components/CreditCardForm/getCreditCardFormTaskData.js.map +1 -1
- package/mobile/lib/components/CreditCardForm/getInitialFormState.d.ts +2 -2
- package/mobile/lib/components/CreditCardForm/getInitialFormState.js +18 -23
- package/mobile/lib/components/CreditCardForm/getInitialFormState.js.map +1 -1
- package/mobile/lib/components/CreditCardForm/getThirdStepData.js +1 -0
- package/mobile/lib/components/CreditCardForm/getThirdStepData.js.map +1 -1
- package/mobile/lib/components/CreditCardForm/renderInfo.d.ts +1 -2
- package/mobile/lib/components/CreditCardForm/renderInfo.js +3 -5
- package/mobile/lib/components/CreditCardForm/renderInfo.js.map +1 -1
- package/mobile/lib/components/CreditCardForm/renderInputs.d.ts +7 -1
- package/mobile/lib/components/CreditCardForm/renderInputs.js +1 -1
- package/mobile/lib/components/CreditCardForm/renderInputs.js.map +1 -1
- package/mobile/lib/components/CreditCardForm/renderStep.d.ts +5 -5
- package/mobile/lib/components/CreditCardForm/renderStep.js +7 -1
- package/mobile/lib/components/CreditCardForm/renderStep.js.map +1 -1
- package/mobile/lib/components/CreditCardForm/useCreditCardFormAPI.d.ts +2 -2
- package/mobile/lib/components/CreditCardForm/useCreditCardFormAPI.js +4 -4
- package/mobile/lib/components/CreditCardForm/useCreditCardFormAPI.js.map +1 -1
- package/mobile/lib/components/CreditForm/CreditForm.js +1 -3
- package/mobile/lib/components/CreditForm/CreditForm.js.map +1 -1
- package/mobile/lib/components/CreditForm/CreditFormContent.d.ts +0 -8
- package/mobile/lib/components/CreditForm/CreditFormStep.d.ts +0 -2
- package/mobile/lib/components/CreditForm/CreditFormStep.js +3 -2
- package/mobile/lib/components/CreditForm/CreditFormStep.js.map +1 -1
- package/mobile/lib/components/CreditForm/calculateInputs.d.ts +5 -0
- package/mobile/lib/components/CreditForm/calculateInputs.js +24 -0
- package/mobile/lib/components/CreditForm/calculateInputs.js.map +1 -0
- package/mobile/lib/components/CreditForm/creditFormStepsData.js +2 -2
- package/mobile/lib/components/CreditForm/creditFormStepsData.js.map +1 -1
- package/mobile/lib/components/CreditForm/formStateMap.d.ts +2 -73
- package/mobile/lib/components/CreditForm/formStateMap.js +14 -14
- package/mobile/lib/components/CreditForm/formStateMap.js.map +1 -1
- package/mobile/lib/components/CreditForm/getCreditFormTaskData.js +3 -1
- package/mobile/lib/components/CreditForm/getCreditFormTaskData.js.map +1 -1
- package/mobile/lib/components/CreditForm/getInitialFormState.d.ts +2 -2
- package/mobile/lib/components/CreditForm/getInitialFormState.js +18 -20
- package/mobile/lib/components/CreditForm/getInitialFormState.js.map +1 -1
- package/mobile/lib/components/CreditForm/getSecondStepData.js +1 -0
- package/mobile/lib/components/CreditForm/getSecondStepData.js.map +1 -1
- package/mobile/lib/components/CreditForm/renderInputs.d.ts +7 -1
- package/mobile/lib/components/CreditForm/renderInputs.js +1 -1
- package/mobile/lib/components/CreditForm/renderInputs.js.map +1 -1
- package/mobile/lib/components/CreditForm/renderStep.d.ts +5 -4
- package/mobile/lib/components/CreditForm/renderStep.js +6 -1
- package/mobile/lib/components/CreditForm/renderStep.js.map +1 -1
- package/mobile/lib/components/CreditForm/useCreditFormAPI.d.ts +2 -2
- package/mobile/lib/components/CreditForm/useCreditFormAPI.js +3 -13
- package/mobile/lib/components/CreditForm/useCreditFormAPI.js.map +1 -1
- package/mobile/lib/components/CreditForm/utils.js +4 -1
- package/mobile/lib/components/CreditForm/utils.js.map +1 -1
- package/mobile/lib/ui-kit/FormField/Fields/AddressFactField.js +3 -0
- package/mobile/lib/ui-kit/FormField/Fields/AddressFactField.js.map +1 -1
- package/mobile/lib/ui-kit/FormField/Fields/AddressField.js +1 -9
- package/mobile/lib/ui-kit/FormField/Fields/AddressField.js.map +1 -1
- package/mobile/lib/ui-kit/FormField/Fields/AddressMatchField.js +2 -2
- package/mobile/lib/ui-kit/FormField/Fields/AddressMatchField.js.map +1 -1
- package/mobile/lib/ui-kit/FormField/Fields/ArmyIdFlgField.js +1 -1
- package/mobile/lib/ui-kit/FormField/Fields/ArmyIdFlgField.js.map +1 -1
- package/mobile/lib/ui-kit/FormField/Fields/BankruptcyFlgField.js +1 -1
- package/mobile/lib/ui-kit/FormField/Fields/BankruptcyFlgField.js.map +1 -1
- package/mobile/lib/ui-kit/FormField/Fields/BeginDateField.js +1 -2
- package/mobile/lib/ui-kit/FormField/Fields/BeginDateField.js.map +1 -1
- package/mobile/lib/ui-kit/FormField/Fields/BirthPlaceField.js +3 -1
- package/mobile/lib/ui-kit/FormField/Fields/BirthPlaceField.js.map +1 -1
- package/mobile/lib/ui-kit/FormField/Fields/BirthdayField.js +4 -2
- package/mobile/lib/ui-kit/FormField/Fields/BirthdayField.js.map +1 -1
- package/mobile/lib/ui-kit/FormField/Fields/DependentsField.js +1 -1
- package/mobile/lib/ui-kit/FormField/Fields/DependentsField.js.map +1 -1
- package/mobile/lib/ui-kit/FormField/Fields/DisablePeopleFlgField.js +1 -1
- package/mobile/lib/ui-kit/FormField/Fields/DisablePeopleFlgField.js.map +1 -1
- package/mobile/lib/ui-kit/FormField/Fields/DulIssueDateField.js +2 -1
- package/mobile/lib/ui-kit/FormField/Fields/DulIssueDateField.js.map +1 -1
- package/mobile/lib/ui-kit/FormField/Fields/DulIssuedByField.js +2 -1
- package/mobile/lib/ui-kit/FormField/Fields/DulIssuedByField.js.map +1 -1
- package/mobile/lib/ui-kit/FormField/Fields/DulNumberField.js +2 -1
- package/mobile/lib/ui-kit/FormField/Fields/DulNumberField.js.map +1 -1
- package/mobile/lib/ui-kit/FormField/Fields/DulSerieField.js +2 -1
- package/mobile/lib/ui-kit/FormField/Fields/DulSerieField.js.map +1 -1
- package/mobile/lib/ui-kit/FormField/Fields/DulSubdivisionCodeField.js +2 -1
- package/mobile/lib/ui-kit/FormField/Fields/DulSubdivisionCodeField.js.map +1 -1
- package/mobile/lib/ui-kit/FormField/Fields/Experience5YearsField.js +1 -2
- package/mobile/lib/ui-kit/FormField/Fields/Experience5YearsField.js.map +1 -1
- package/mobile/lib/ui-kit/FormField/Fields/GeneralSeniorityField.js +1 -2
- package/mobile/lib/ui-kit/FormField/Fields/GeneralSeniorityField.js.map +1 -1
- package/mobile/lib/ui-kit/FormField/Fields/InnField.js +1 -2
- package/mobile/lib/ui-kit/FormField/Fields/InnField.js.map +1 -1
- package/mobile/lib/ui-kit/FormField/Fields/JobsNumberField.js +1 -2
- package/mobile/lib/ui-kit/FormField/Fields/JobsNumberField.js.map +1 -1
- package/mobile/lib/ui-kit/FormField/Fields/LastJobExperienceField.js +1 -2
- package/mobile/lib/ui-kit/FormField/Fields/LastJobExperienceField.js.map +1 -1
- package/mobile/lib/ui-kit/FormField/Fields/LegalFormField.js +1 -2
- package/mobile/lib/ui-kit/FormField/Fields/LegalFormField.js.map +1 -1
- package/mobile/lib/ui-kit/FormField/Fields/MiddleNameField.js +2 -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/OrganizationNameField.js +1 -2
- package/mobile/lib/ui-kit/FormField/Fields/OrganizationNameField.js.map +1 -1
- package/mobile/lib/ui-kit/FormField/Fields/PartInBusinessField.js +2 -3
- package/mobile/lib/ui-kit/FormField/Fields/PartInBusinessField.js.map +1 -1
- package/mobile/lib/ui-kit/FormField/Fields/PaymentSystemField.js +0 -3
- package/mobile/lib/ui-kit/FormField/Fields/PaymentSystemField.js.map +1 -1
- package/mobile/lib/ui-kit/FormField/Fields/PhoneField.js +5 -4
- package/mobile/lib/ui-kit/FormField/Fields/PhoneField.js.map +1 -1
- package/mobile/lib/ui-kit/FormField/Fields/ShareholderFlgField.js +1 -1
- package/mobile/lib/ui-kit/FormField/Fields/ShareholderFlgField.js.map +1 -1
- package/mobile/lib/ui-kit/FormField/Fields/SurnameField.js +2 -1
- package/mobile/lib/ui-kit/FormField/Fields/SurnameField.js.map +1 -1
- package/mobile/lib/ui-kit/FormField/getObjectValidator.js +4 -7
- package/mobile/lib/ui-kit/FormField/getObjectValidator.js.map +1 -1
- package/mobile/lib/ui-kit/FormField/getValidation.js +1 -1
- package/mobile/lib/ui-kit/FormField/getValidation.js.map +1 -1
- package/mobile/lib/ui-kit/FormField/isEsiaAuthorize.d.ts +1 -1
- package/mobile/lib/ui-kit/FormField/isEsiaAuthorize.js +1 -1
- package/mobile/lib/ui-kit/FormField/isEsiaAuthorize.js.map +1 -1
- package/mobile/lib/ui-kit/Input/InputControl.js +2 -2
- package/mobile/lib/ui-kit/Input/InputControl.js.map +1 -1
- package/mobile/lib/ui-kit/Input/InputProps.d.ts +1 -1
- package/mobile/src/api/RetailAPI/updateUserTask.ts +1 -0
- package/mobile/src/components/ApplicationLeadForm/getInitialFormState.tsx +20 -8
- package/mobile/src/components/CreditCardForm/CreditCardForm.tsx +0 -5
- package/mobile/src/components/CreditCardForm/CreditCardFormContent.ts +2 -2
- package/mobile/src/components/CreditCardForm/CreditCardFormStep.tsx +8 -7
- package/mobile/src/components/CreditCardForm/calculateInputs.ts +44 -0
- package/mobile/src/components/CreditCardForm/formStateMap.tsx +19 -89
- package/mobile/src/components/CreditCardForm/getCreditCardFormTaskData.ts +3 -1
- package/mobile/src/components/CreditCardForm/getInitialFormState.tsx +24 -26
- package/mobile/src/components/CreditCardForm/getThirdStepData.tsx +1 -0
- package/mobile/src/components/CreditCardForm/renderInfo.tsx +3 -9
- package/mobile/src/components/CreditCardForm/renderInputs.tsx +9 -2
- package/mobile/src/components/CreditCardForm/renderStep.tsx +24 -12
- package/mobile/src/components/CreditCardForm/useCreditCardFormAPI.tsx +9 -11
- package/mobile/src/components/CreditForm/CreditForm.tsx +3 -9
- package/mobile/src/components/CreditForm/CreditFormContent.ts +0 -9
- package/mobile/src/components/CreditForm/CreditFormStep.tsx +6 -6
- package/mobile/src/components/CreditForm/calculateInputs.ts +44 -0
- package/mobile/src/components/CreditForm/creditFormStepsData.tsx +2 -2
- package/mobile/src/components/CreditForm/formStateMap.tsx +15 -88
- package/mobile/src/components/CreditForm/getCreditFormTaskData.ts +3 -1
- package/mobile/src/components/CreditForm/getInitialFormState.tsx +24 -23
- package/mobile/src/components/CreditForm/getSecondStepData.tsx +1 -0
- package/mobile/src/components/CreditForm/renderInputs.tsx +9 -2
- package/mobile/src/components/CreditForm/renderStep.tsx +22 -11
- package/mobile/src/components/CreditForm/useCreditFormAPI.tsx +9 -22
- package/mobile/src/components/CreditForm/utils.ts +7 -1
- package/mobile/src/ui-kit/FormField/Fields/AddressFactField.tsx +3 -0
- package/mobile/src/ui-kit/FormField/Fields/AddressField.tsx +2 -15
- package/mobile/src/ui-kit/FormField/Fields/AddressMatchField.tsx +2 -2
- package/mobile/src/ui-kit/FormField/Fields/ArmyIdFlgField.tsx +2 -2
- package/mobile/src/ui-kit/FormField/Fields/BankruptcyFlgField.tsx +2 -2
- package/mobile/src/ui-kit/FormField/Fields/BeginDateField.tsx +1 -6
- package/mobile/src/ui-kit/FormField/Fields/BirthPlaceField.tsx +4 -0
- package/mobile/src/ui-kit/FormField/Fields/BirthdayField.tsx +6 -2
- package/mobile/src/ui-kit/FormField/Fields/DependentsField.tsx +1 -1
- package/mobile/src/ui-kit/FormField/Fields/DisablePeopleFlgField.tsx +2 -2
- package/mobile/src/ui-kit/FormField/Fields/DulIssueDateField.tsx +4 -2
- package/mobile/src/ui-kit/FormField/Fields/DulIssuedByField.tsx +4 -2
- package/mobile/src/ui-kit/FormField/Fields/DulNumberField.tsx +4 -2
- package/mobile/src/ui-kit/FormField/Fields/DulSerieField.tsx +4 -2
- package/mobile/src/ui-kit/FormField/Fields/DulSubdivisionCodeField.tsx +5 -7
- package/mobile/src/ui-kit/FormField/Fields/Experience5YearsField.tsx +2 -7
- package/mobile/src/ui-kit/FormField/Fields/GeneralSeniorityField.tsx +2 -7
- package/mobile/src/ui-kit/FormField/Fields/InnField.tsx +2 -7
- package/mobile/src/ui-kit/FormField/Fields/JobsNumberField.tsx +2 -7
- package/mobile/src/ui-kit/FormField/Fields/LastJobExperienceField.tsx +2 -7
- package/mobile/src/ui-kit/FormField/Fields/LegalFormField.tsx +1 -6
- package/mobile/src/ui-kit/FormField/Fields/MiddleNameField.tsx +5 -3
- package/mobile/src/ui-kit/FormField/Fields/NameField.tsx +2 -2
- package/mobile/src/ui-kit/FormField/Fields/OrganizationNameField.tsx +1 -6
- package/mobile/src/ui-kit/FormField/Fields/PartInBusinessField.tsx +2 -7
- package/mobile/src/ui-kit/FormField/Fields/PaymentSystemField.tsx +0 -3
- package/mobile/src/ui-kit/FormField/Fields/PhoneField.tsx +13 -14
- package/mobile/src/ui-kit/FormField/Fields/ShareholderFlgField.tsx +2 -2
- package/mobile/src/ui-kit/FormField/Fields/SurnameField.tsx +4 -2
- package/mobile/src/ui-kit/FormField/getObjectValidator.tsx +6 -7
- package/mobile/src/ui-kit/FormField/getValidation.tsx +1 -1
- package/mobile/src/ui-kit/FormField/isEsiaAuthorize.ts +2 -2
- package/mobile/src/ui-kit/Input/InputControl.tsx +2 -2
- package/mobile/src/ui-kit/Input/InputProps.ts +1 -1
- package/package.json +1 -1
- package/src/api/RetailAPI/updateUserTask.ts +1 -0
- package/src/components/ApplicationLeadForm/getInitialFormState.tsx +20 -8
- package/src/components/CreditCardForm/CreditCardForm.tsx +0 -5
- package/src/components/CreditCardForm/CreditCardFormContent.ts +2 -2
- package/src/components/CreditCardForm/CreditCardFormStep.tsx +8 -7
- package/src/components/CreditCardForm/calculateInputs.ts +44 -0
- package/src/components/CreditCardForm/formStateMap.tsx +19 -89
- package/src/components/CreditCardForm/getCreditCardFormTaskData.ts +3 -1
- package/src/components/CreditCardForm/getInitialFormState.tsx +24 -26
- package/src/components/CreditCardForm/getThirdStepData.tsx +1 -0
- package/src/components/CreditCardForm/renderInfo.tsx +3 -9
- package/src/components/CreditCardForm/renderInputs.tsx +9 -2
- package/src/components/CreditCardForm/renderStep.tsx +24 -12
- package/src/components/CreditCardForm/useCreditCardFormAPI.tsx +9 -11
- package/src/components/CreditForm/CreditForm.tsx +3 -9
- package/src/components/CreditForm/CreditFormContent.ts +0 -9
- package/src/components/CreditForm/CreditFormStep.tsx +6 -6
- package/src/components/CreditForm/calculateInputs.ts +44 -0
- package/src/components/CreditForm/creditFormStepsData.tsx +2 -2
- package/src/components/CreditForm/formStateMap.tsx +15 -88
- package/src/components/CreditForm/getCreditFormTaskData.ts +3 -1
- package/src/components/CreditForm/getInitialFormState.tsx +24 -23
- package/src/components/CreditForm/getSecondStepData.tsx +1 -0
- package/src/components/CreditForm/renderInputs.tsx +9 -2
- package/src/components/CreditForm/renderStep.tsx +22 -11
- package/src/components/CreditForm/useCreditFormAPI.tsx +9 -22
- package/src/components/CreditForm/utils.ts +7 -1
- package/src/ui-kit/FormField/Fields/AddressFactField.tsx +3 -0
- package/src/ui-kit/FormField/Fields/AddressField.tsx +2 -15
- package/src/ui-kit/FormField/Fields/AddressMatchField.tsx +2 -2
- package/src/ui-kit/FormField/Fields/ArmyIdFlgField.tsx +2 -2
- package/src/ui-kit/FormField/Fields/BankruptcyFlgField.tsx +2 -2
- package/src/ui-kit/FormField/Fields/BeginDateField.tsx +1 -6
- package/src/ui-kit/FormField/Fields/BirthPlaceField.tsx +4 -0
- package/src/ui-kit/FormField/Fields/BirthdayField.tsx +6 -2
- package/src/ui-kit/FormField/Fields/DependentsField.tsx +1 -1
- package/src/ui-kit/FormField/Fields/DisablePeopleFlgField.tsx +2 -2
- package/src/ui-kit/FormField/Fields/DulIssueDateField.tsx +4 -2
- package/src/ui-kit/FormField/Fields/DulIssuedByField.tsx +4 -2
- package/src/ui-kit/FormField/Fields/DulNumberField.tsx +4 -2
- package/src/ui-kit/FormField/Fields/DulSerieField.tsx +4 -2
- package/src/ui-kit/FormField/Fields/DulSubdivisionCodeField.tsx +5 -7
- package/src/ui-kit/FormField/Fields/Experience5YearsField.tsx +2 -7
- package/src/ui-kit/FormField/Fields/GeneralSeniorityField.tsx +2 -7
- package/src/ui-kit/FormField/Fields/InnField.tsx +2 -7
- package/src/ui-kit/FormField/Fields/JobsNumberField.tsx +2 -7
- package/src/ui-kit/FormField/Fields/LastJobExperienceField.tsx +2 -7
- package/src/ui-kit/FormField/Fields/LegalFormField.tsx +1 -6
- package/src/ui-kit/FormField/Fields/MiddleNameField.tsx +5 -3
- package/src/ui-kit/FormField/Fields/NameField.tsx +2 -2
- package/src/ui-kit/FormField/Fields/OrganizationNameField.tsx +1 -6
- package/src/ui-kit/FormField/Fields/PartInBusinessField.tsx +2 -7
- package/src/ui-kit/FormField/Fields/PaymentSystemField.tsx +0 -3
- package/src/ui-kit/FormField/Fields/PhoneField.tsx +13 -14
- package/src/ui-kit/FormField/Fields/ShareholderFlgField.tsx +2 -2
- package/src/ui-kit/FormField/Fields/SurnameField.tsx +4 -2
- package/src/ui-kit/FormField/getObjectValidator.tsx +6 -7
- package/src/ui-kit/FormField/getValidation.tsx +1 -1
- package/src/ui-kit/FormField/isEsiaAuthorize.ts +2 -2
- package/src/ui-kit/Input/InputControl.tsx +2 -2
- package/src/ui-kit/Input/InputProps.ts +1 -1
- package/bundle/components/CreditCardForm/getFilteredInputs.d.ts +0 -3
- package/bundle/ui-kit/FormField/calculateIsRequired.d.ts +0 -2
- package/dist/components/CreditCardForm/getFilteredInputs.d.ts +0 -3
- package/dist/components/CreditCardForm/getFilteredInputs.js +0 -11
- package/dist/components/CreditCardForm/getFilteredInputs.js.map +0 -1
- package/dist/ui-kit/FormField/calculateIsRequired.d.ts +0 -2
- package/dist/ui-kit/FormField/calculateIsRequired.js +0 -5
- package/dist/ui-kit/FormField/calculateIsRequired.js.map +0 -1
- package/lib/components/CreditCardForm/getFilteredInputs.d.ts +0 -3
- package/lib/components/CreditCardForm/getFilteredInputs.js +0 -8
- package/lib/components/CreditCardForm/getFilteredInputs.js.map +0 -1
- package/lib/ui-kit/FormField/calculateIsRequired.d.ts +0 -2
- package/lib/ui-kit/FormField/calculateIsRequired.js +0 -2
- package/lib/ui-kit/FormField/calculateIsRequired.js.map +0 -1
- package/mobile/bundle/components/CreditCardForm/getFilteredInputs.d.ts +0 -3
- package/mobile/bundle/ui-kit/FormField/calculateIsRequired.d.ts +0 -2
- package/mobile/dist/components/CreditCardForm/getFilteredInputs.d.ts +0 -3
- package/mobile/dist/components/CreditCardForm/getFilteredInputs.js +0 -11
- package/mobile/dist/components/CreditCardForm/getFilteredInputs.js.map +0 -1
- package/mobile/dist/ui-kit/FormField/calculateIsRequired.d.ts +0 -2
- package/mobile/dist/ui-kit/FormField/calculateIsRequired.js +0 -5
- package/mobile/dist/ui-kit/FormField/calculateIsRequired.js.map +0 -1
- package/mobile/lib/components/CreditCardForm/getFilteredInputs.d.ts +0 -3
- package/mobile/lib/components/CreditCardForm/getFilteredInputs.js +0 -8
- package/mobile/lib/components/CreditCardForm/getFilteredInputs.js.map +0 -1
- package/mobile/lib/ui-kit/FormField/calculateIsRequired.d.ts +0 -2
- package/mobile/lib/ui-kit/FormField/calculateIsRequired.js +0 -2
- package/mobile/lib/ui-kit/FormField/calculateIsRequired.js.map +0 -1
- package/mobile/src/components/CreditCardForm/getFilteredInputs.tsx +0 -18
- package/mobile/src/ui-kit/FormField/calculateIsRequired.ts +0 -6
- package/src/components/CreditCardForm/getFilteredInputs.tsx +0 -18
- package/src/ui-kit/FormField/calculateIsRequired.ts +0 -6
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import { InputControl } from '../../Input/InputControl';
|
|
3
|
-
import { calculateIsRequired } from '../calculateIsRequired';
|
|
4
3
|
import { type CustomFieldProps } from '../CustomFieldProps';
|
|
5
4
|
import { validatorObj } from '../getObjectValidator';
|
|
6
5
|
import { getValidation } from '../getValidation';
|
|
@@ -10,12 +9,8 @@ export const Experience5YearsField = JSX<CustomFieldProps>(({ field, input }) =>
|
|
|
10
9
|
label="Стаж"
|
|
11
10
|
placeholder="За последние 5 лет"
|
|
12
11
|
type="number"
|
|
13
|
-
|
|
14
|
-
{...getValidation(
|
|
15
|
-
field('experience5Years'),
|
|
16
|
-
validatorObj.experience5Years,
|
|
17
|
-
calculateIsRequired(field, input?.required),
|
|
18
|
-
)}
|
|
12
|
+
maxLength={2}
|
|
13
|
+
{...getValidation(field('experience5Years'), validatorObj.experience5Years, input?.required)}
|
|
19
14
|
{...input}
|
|
20
15
|
/>
|
|
21
16
|
));
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import { InputControl } from '../../Input/InputControl';
|
|
3
|
-
import { calculateIsRequired } from '../calculateIsRequired';
|
|
4
3
|
import { type CustomFieldProps } from '../CustomFieldProps';
|
|
5
4
|
import { validatorObj } from '../getObjectValidator';
|
|
6
5
|
import { getValidation } from '../getValidation';
|
|
@@ -9,13 +8,9 @@ export const GeneralSeniorityField = JSX<CustomFieldProps>(({ field, input }) =>
|
|
|
9
8
|
<InputControl
|
|
10
9
|
label="Общий стаж"
|
|
11
10
|
type="number"
|
|
12
|
-
|
|
11
|
+
maxLength={2}
|
|
13
12
|
placeholder="Количество лет"
|
|
14
|
-
{...getValidation(
|
|
15
|
-
field('generalSeniority'),
|
|
16
|
-
validatorObj.generalSeniority,
|
|
17
|
-
calculateIsRequired(field, input?.required),
|
|
18
|
-
)}
|
|
13
|
+
{...getValidation(field('generalSeniority'), validatorObj.generalSeniority, input?.required)}
|
|
19
14
|
{...input}
|
|
20
15
|
/>
|
|
21
16
|
));
|
|
@@ -2,7 +2,6 @@ import { JSX } from '@redneckz/uni-jsx';
|
|
|
2
2
|
import { useCallback } from '@redneckz/uni-jsx/lib/hooks';
|
|
3
3
|
import { type DaDataSuggestion } from '../../../api/dadataHints/dadataHintsType';
|
|
4
4
|
import { InputControl } from '../../Input/InputControl';
|
|
5
|
-
import { calculateIsRequired } from '../calculateIsRequired';
|
|
6
5
|
import { type CustomFieldProps } from '../CustomFieldProps';
|
|
7
6
|
import { validatorObj } from '../getObjectValidator';
|
|
8
7
|
import { getValidation } from '../getValidation';
|
|
@@ -17,13 +16,9 @@ export const InnField = JSX<CustomFieldProps>(({ field, input }) => {
|
|
|
17
16
|
<InputControl
|
|
18
17
|
label="ИНН"
|
|
19
18
|
type="number"
|
|
20
|
-
|
|
19
|
+
maxLength={12}
|
|
21
20
|
{...input}
|
|
22
|
-
{...getValidation(
|
|
23
|
-
field('inn'),
|
|
24
|
-
validatorObj.inn,
|
|
25
|
-
calculateIsRequired(field, input?.required),
|
|
26
|
-
)}
|
|
21
|
+
{...getValidation(field('inn'), validatorObj.inn, input?.required)}
|
|
27
22
|
onDaDataChange={onDaDataChange}
|
|
28
23
|
/>
|
|
29
24
|
);
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import { InputControl } from '../../Input/InputControl';
|
|
3
|
-
import { calculateIsRequired } from '../calculateIsRequired';
|
|
4
3
|
import { type CustomFieldProps } from '../CustomFieldProps';
|
|
5
4
|
import { validatorObj } from '../getObjectValidator';
|
|
6
5
|
import { getValidation } from '../getValidation';
|
|
@@ -10,12 +9,8 @@ export const JobsNumberField = JSX<CustomFieldProps>(({ field, input }) => (
|
|
|
10
9
|
label="Количество мест работы за последние 5 лет"
|
|
11
10
|
placeholder="Количество мест"
|
|
12
11
|
type="number"
|
|
13
|
-
|
|
14
|
-
{...getValidation(
|
|
15
|
-
field('jobsNumber'),
|
|
16
|
-
validatorObj.jobsNumber,
|
|
17
|
-
calculateIsRequired(field, input?.required),
|
|
18
|
-
)}
|
|
12
|
+
maxLength={2}
|
|
13
|
+
{...getValidation(field('jobsNumber'), validatorObj.jobsNumber, input?.required)}
|
|
19
14
|
{...input}
|
|
20
15
|
/>
|
|
21
16
|
));
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import { InputControl } from '../../Input/InputControl';
|
|
3
|
-
import { calculateIsRequired } from '../calculateIsRequired';
|
|
4
3
|
import { type CustomFieldProps } from '../CustomFieldProps';
|
|
5
4
|
import { validatorObj } from '../getObjectValidator';
|
|
6
5
|
import { getValidation } from '../getValidation';
|
|
@@ -10,12 +9,8 @@ export const LastJobExperienceField = JSX<CustomFieldProps>(({ field, input }) =
|
|
|
10
9
|
label="Стаж на последнем рабочем месте"
|
|
11
10
|
placeholder="Количество лет"
|
|
12
11
|
type="number"
|
|
13
|
-
|
|
14
|
-
{...getValidation(
|
|
15
|
-
field('lastJobExperience'),
|
|
16
|
-
validatorObj.lastJobExperience,
|
|
17
|
-
calculateIsRequired(field, input?.required),
|
|
18
|
-
)}
|
|
12
|
+
maxLength={2}
|
|
13
|
+
{...getValidation(field('lastJobExperience'), validatorObj.lastJobExperience, input?.required)}
|
|
19
14
|
{...input}
|
|
20
15
|
/>
|
|
21
16
|
));
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import { InputControl } from '../../Input/InputControl';
|
|
3
|
-
import { calculateIsRequired } from '../calculateIsRequired';
|
|
4
3
|
import { type CustomFieldProps } from '../CustomFieldProps';
|
|
5
4
|
import { validatorObj } from '../getObjectValidator';
|
|
6
5
|
import { getValidation } from '../getValidation';
|
|
@@ -9,11 +8,7 @@ export const LegalFormField = JSX<CustomFieldProps>(({ field, input }) => (
|
|
|
9
8
|
<InputControl
|
|
10
9
|
label="ОПФ"
|
|
11
10
|
placeholder="ООО, ПАО и др."
|
|
12
|
-
{...getValidation(
|
|
13
|
-
field('legalForm'),
|
|
14
|
-
validatorObj.legalForm,
|
|
15
|
-
calculateIsRequired(field, input?.required),
|
|
16
|
-
)}
|
|
11
|
+
{...getValidation(field('legalForm'), validatorObj.legalForm, input?.required)}
|
|
17
12
|
{...input}
|
|
18
13
|
/>
|
|
19
14
|
));
|
|
@@ -5,12 +5,14 @@ import { validatorObj } from '../getObjectValidator';
|
|
|
5
5
|
import { getValidation } from '../getValidation';
|
|
6
6
|
import { isEsiaAuthorize } from '../isEsiaAuthorize';
|
|
7
7
|
|
|
8
|
+
const FIELD_NAME = 'middleName';
|
|
9
|
+
|
|
8
10
|
export const MiddleNameField = JSX<CustomFieldProps>(({ field, input }) => (
|
|
9
11
|
<InputControl
|
|
10
12
|
label="Отчество (Обязательно, при наличии)"
|
|
11
|
-
|
|
12
|
-
disabled={input?.filledByEsia && isEsiaAuthorize(field)}
|
|
13
|
-
{...getValidation(field(
|
|
13
|
+
maxLength={60}
|
|
14
|
+
disabled={input?.filledByEsia && isEsiaAuthorize(field, FIELD_NAME)}
|
|
15
|
+
{...getValidation(field(FIELD_NAME), validatorObj.middleName, input?.required)}
|
|
14
16
|
{...input}
|
|
15
17
|
/>
|
|
16
18
|
));
|
|
@@ -8,8 +8,8 @@ import { isEsiaAuthorize } from '../isEsiaAuthorize';
|
|
|
8
8
|
export const NameField = JSX<CustomFieldProps>(({ field, input }) => (
|
|
9
9
|
<InputControl
|
|
10
10
|
label="Имя"
|
|
11
|
-
|
|
12
|
-
disabled={input?.filledByEsia && isEsiaAuthorize(field)}
|
|
11
|
+
maxLength={60}
|
|
12
|
+
disabled={input?.filledByEsia && isEsiaAuthorize(field, input.name ?? '')}
|
|
13
13
|
{...getValidation(field('name'), validatorObj.name, input?.required)}
|
|
14
14
|
{...input}
|
|
15
15
|
/>
|
|
@@ -2,7 +2,6 @@ import { JSX } from '@redneckz/uni-jsx';
|
|
|
2
2
|
import { useCallback } from '@redneckz/uni-jsx/lib/hooks';
|
|
3
3
|
import { type DaDataSuggestion } from '../../../api/dadataHints/dadataHintsType';
|
|
4
4
|
import { InputControl } from '../../Input/InputControl';
|
|
5
|
-
import { calculateIsRequired } from '../calculateIsRequired';
|
|
6
5
|
import { type CustomFieldProps } from '../CustomFieldProps';
|
|
7
6
|
import { validatorObj } from '../getObjectValidator';
|
|
8
7
|
import { getValidation } from '../getValidation';
|
|
@@ -17,11 +16,7 @@ export const OrganizationNameField = JSX<CustomFieldProps>(({ field, input }) =>
|
|
|
17
16
|
<InputControl
|
|
18
17
|
label="Наименование организации"
|
|
19
18
|
{...input}
|
|
20
|
-
{...getValidation(
|
|
21
|
-
field('organizationName'),
|
|
22
|
-
validatorObj.organizationName,
|
|
23
|
-
calculateIsRequired(field, input?.required),
|
|
24
|
-
)}
|
|
19
|
+
{...getValidation(field('organizationName'), validatorObj.organizationName, input?.required)}
|
|
25
20
|
onDaDataChange={onDaDataChange}
|
|
26
21
|
/>
|
|
27
22
|
);
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import { InputControl } from '../../Input/InputControl';
|
|
3
|
-
import { calculateIsRequired } from '../calculateIsRequired';
|
|
4
3
|
import { type CustomFieldProps } from '../CustomFieldProps';
|
|
5
4
|
import { validatorObj } from '../getObjectValidator';
|
|
6
5
|
import { getValidation } from '../getValidation';
|
|
@@ -11,11 +10,7 @@ export const PartInBusinessField = JSX<CustomFieldProps>(({ field, input }) => {
|
|
|
11
10
|
const isBusinessOwner = field('positionOrganization')?.value?.key === 'BUSINESS_OWNER';
|
|
12
11
|
|
|
13
12
|
const partInBusinessField = {
|
|
14
|
-
...getValidation(
|
|
15
|
-
field('partInBusiness'),
|
|
16
|
-
validatorObj.partInBusiness,
|
|
17
|
-
calculateIsRequired(field, isBusinessOwner && input?.required),
|
|
18
|
-
),
|
|
13
|
+
...getValidation(field('partInBusiness'), validatorObj.partInBusiness, input?.required),
|
|
19
14
|
};
|
|
20
15
|
|
|
21
16
|
const handleChange = (value: string) =>
|
|
@@ -29,7 +24,7 @@ export const PartInBusinessField = JSX<CustomFieldProps>(({ field, input }) => {
|
|
|
29
24
|
label="Доля участия в бизнесе"
|
|
30
25
|
placeholder="в %"
|
|
31
26
|
type="number"
|
|
32
|
-
|
|
27
|
+
maxLength={3}
|
|
33
28
|
{...partInBusinessField}
|
|
34
29
|
{...input}
|
|
35
30
|
onChange={handleChange}
|
|
@@ -8,9 +8,6 @@ import { getValidation } from '../getValidation';
|
|
|
8
8
|
export const PAYMENT_SYSTEM_TYPES: RadioButtonItem[] = [
|
|
9
9
|
{ id: 'mir', text: 'Карта МИР' },
|
|
10
10
|
{ id: 'union_pay', text: 'UnionPay' },
|
|
11
|
-
{ id: 'payment_system_j', text: 'Платежная система (Дж)' },
|
|
12
|
-
{ id: 'payment_system_b', text: 'Платежная система (B) ' },
|
|
13
|
-
{ id: 'free_card', text: 'Бесплатная карта' },
|
|
14
11
|
];
|
|
15
12
|
|
|
16
13
|
export const PaymentSystemField = JSX<CustomFieldProps>(({ field, input }) => {
|
|
@@ -1,20 +1,19 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import { InputPhoneControl } from '../../Input/InputPhoneControl';
|
|
3
|
-
import { calculateIsRequired } from '../calculateIsRequired';
|
|
4
3
|
import { type CustomFieldProps } from '../CustomFieldProps';
|
|
5
4
|
import { validatorObj } from '../getObjectValidator';
|
|
6
5
|
import { getValidation } from '../getValidation';
|
|
6
|
+
import { isEsiaAuthorize } from '../isEsiaAuthorize';
|
|
7
7
|
|
|
8
|
-
export const PhoneField = JSX<CustomFieldProps>(({ field, input }) =>
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
input?.
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
));
|
|
8
|
+
export const PhoneField = JSX<CustomFieldProps>(({ field, input }) => {
|
|
9
|
+
const fieldName = input?.name || 'phone';
|
|
10
|
+
|
|
11
|
+
return (
|
|
12
|
+
<InputPhoneControl
|
|
13
|
+
label="Телефон"
|
|
14
|
+
{...getValidation(field(fieldName), validatorObj.phone, input?.required)}
|
|
15
|
+
disabled={input?.filledByEsia && isEsiaAuthorize(field, fieldName)}
|
|
16
|
+
{...input}
|
|
17
|
+
/>
|
|
18
|
+
);
|
|
19
|
+
});
|
|
@@ -4,9 +4,9 @@ import { type CustomFieldProps } from '../CustomFieldProps';
|
|
|
4
4
|
import { validatorObj } from '../getObjectValidator';
|
|
5
5
|
import { getValidation } from '../getValidation';
|
|
6
6
|
|
|
7
|
-
export const ShareholderFlgField = JSX<CustomFieldProps>(({ field }) => (
|
|
7
|
+
export const ShareholderFlgField = JSX<CustomFieldProps>(({ field, input }) => (
|
|
8
8
|
<CheckboxWithError
|
|
9
9
|
text="Я являюсь акционером / участником / членом / пайщиком / вкладчиком с долей участия более 20% уставного капитала юридического лица"
|
|
10
|
-
{...getValidation(field('shareholderFlg'), validatorObj.shareholderFlg)}
|
|
10
|
+
{...getValidation(field('shareholderFlg'), validatorObj.shareholderFlg, input?.required)}
|
|
11
11
|
/>
|
|
12
12
|
));
|
|
@@ -5,11 +5,13 @@ import { validatorObj } from '../getObjectValidator';
|
|
|
5
5
|
import { getValidation } from '../getValidation';
|
|
6
6
|
import { isEsiaAuthorize } from '../isEsiaAuthorize';
|
|
7
7
|
|
|
8
|
+
const FIELD_NAME = 'surname';
|
|
9
|
+
|
|
8
10
|
export const SurnameField = JSX<CustomFieldProps>(({ field, input }) => (
|
|
9
11
|
<InputControl
|
|
10
12
|
label="Фамилия"
|
|
11
|
-
|
|
12
|
-
disabled={input?.filledByEsia && isEsiaAuthorize(field)}
|
|
13
|
+
maxLength={60}
|
|
14
|
+
disabled={input?.filledByEsia && isEsiaAuthorize(field, FIELD_NAME)}
|
|
13
15
|
{...getValidation(field('surname'), validatorObj.surname, input?.required)}
|
|
14
16
|
{...input}
|
|
15
17
|
/>
|
|
@@ -84,8 +84,6 @@ export const validatorObj: Record<string, Validator> = {
|
|
|
84
84
|
sex: defaultValidator('Укажите свой пол'),
|
|
85
85
|
addressRegistration: addressDaDataValidator(),
|
|
86
86
|
organizationAddress: addressDaDataValidator(),
|
|
87
|
-
deliveryDate: defaultValidator('Укажите дату доставки'),
|
|
88
|
-
addressCourier: addressDaDataValidator(),
|
|
89
87
|
participantDateRegistration: defaultValidator('Укажите дату регистрации'),
|
|
90
88
|
retirementIncome: defaultValidator(),
|
|
91
89
|
otherIncome: defaultValidator(),
|
|
@@ -100,15 +98,16 @@ export const validatorObj: Record<string, Validator> = {
|
|
|
100
98
|
regionRetail: defaultSelectValidator('Выберите филиал банка'),
|
|
101
99
|
addressRetail: defaultSelectValidator('Выберите адрес банка'),
|
|
102
100
|
addressMatch: defaultValidator(),
|
|
103
|
-
codeWord: codeWordValidator('Необходимо ввести кодовое слово
|
|
104
|
-
currency: defaultValidator(),
|
|
105
|
-
paymentSystem: defaultValidator(),
|
|
106
|
-
cardCategory: defaultSelectValidator(),
|
|
101
|
+
codeWord: codeWordValidator('Необходимо ввести кодовое слово'),
|
|
107
102
|
confirmationIncome: defaultValidator(),
|
|
103
|
+
deliveryDate: defaultValidator('Укажите дату доставки'),
|
|
104
|
+
addressCourier: addressDaDataValidator(),
|
|
108
105
|
};
|
|
109
106
|
|
|
110
107
|
export const getObjectValidator = (inputs: FieldDef[]): Record<string, Validator> => {
|
|
111
108
|
const requiredInputs = getNamesFromInput(inputs.filter((_: FieldDef) => Boolean(_?.required)));
|
|
112
109
|
|
|
113
|
-
return Object.fromEntries(
|
|
110
|
+
return Object.fromEntries(
|
|
111
|
+
requiredInputs.map((_) => [_, validatorObj?.[_ || '']]).filter(([, validator]) => validator),
|
|
112
|
+
);
|
|
114
113
|
};
|
|
@@ -3,4 +3,4 @@ import { type Validator } from '../../validation/validator';
|
|
|
3
3
|
import { withValidator } from '../../validation/withValidator';
|
|
4
4
|
|
|
5
5
|
export const getValidation = (field: FieldProps<any>, validator: Validator, required = false) =>
|
|
6
|
-
required ? withValidator(field, validator) : field;
|
|
6
|
+
required && validator ? withValidator(field, validator) : field;
|
|
@@ -2,5 +2,5 @@ import { type FormFieldRegisterer } from '../../hooks/useForm';
|
|
|
2
2
|
|
|
3
3
|
const ESIA_FIELD_NAME = 'esiaAccountTypeCd';
|
|
4
4
|
|
|
5
|
-
export const isEsiaAuthorize = (field: FormFieldRegisterer<any
|
|
6
|
-
Boolean(field(ESIA_FIELD_NAME)?.value?.key);
|
|
5
|
+
export const isEsiaAuthorize = (field: FormFieldRegisterer<any>, name: string) =>
|
|
6
|
+
Boolean(field(ESIA_FIELD_NAME)?.value?.key) && field(name).value;
|
|
@@ -25,7 +25,7 @@ export const InputControl = JSX<InputProps>(
|
|
|
25
25
|
type,
|
|
26
26
|
name = '',
|
|
27
27
|
daDataQueryPrefix,
|
|
28
|
-
|
|
28
|
+
maxLength,
|
|
29
29
|
dadata = false,
|
|
30
30
|
disabled = false,
|
|
31
31
|
}) => {
|
|
@@ -33,7 +33,7 @@ export const InputControl = JSX<InputProps>(
|
|
|
33
33
|
const popupRef = useOutsideClick<HTMLDivElement>(close);
|
|
34
34
|
|
|
35
35
|
const handleChange = useCallback(
|
|
36
|
-
(v: string) => (
|
|
36
|
+
(v: string) => (maxLength ? v.length <= maxLength && onChange(v) : onChange(v)),
|
|
37
37
|
[onChange],
|
|
38
38
|
);
|
|
39
39
|
|
package/package.json
CHANGED
|
@@ -18,6 +18,15 @@ export interface FormConsents {
|
|
|
18
18
|
consentOthersFlg?: boolean;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
+
export type FormStateDeliveryType = {
|
|
22
|
+
regionRetail?: string;
|
|
23
|
+
bankEmployeeCode?: number;
|
|
24
|
+
methodObtain?: 'office' | 'courier';
|
|
25
|
+
deliveryDate?: Date | string;
|
|
26
|
+
addressRetail?: Address;
|
|
27
|
+
addressCourier?: Address;
|
|
28
|
+
};
|
|
29
|
+
|
|
21
30
|
export interface Address {
|
|
22
31
|
apartment?: string;
|
|
23
32
|
block?: string;
|
|
@@ -39,14 +48,14 @@ export interface Address {
|
|
|
39
48
|
qcHouse?: string;
|
|
40
49
|
}
|
|
41
50
|
|
|
42
|
-
export interface FormState extends FormConsents {
|
|
51
|
+
export interface FormState extends FormConsents, FormStateDeliveryType {
|
|
43
52
|
typeForm?: Option | string;
|
|
44
53
|
surname?: string;
|
|
45
54
|
name?: string;
|
|
46
55
|
middleName?: string;
|
|
47
56
|
fullName?: string;
|
|
48
|
-
registrationDate?: Date;
|
|
49
|
-
birthday?: Date;
|
|
57
|
+
registrationDate?: Date | string;
|
|
58
|
+
birthday?: Date | string;
|
|
50
59
|
birthPlace?: string;
|
|
51
60
|
sex?: string;
|
|
52
61
|
phone?: string;
|
|
@@ -62,7 +71,7 @@ export interface FormState extends FormConsents {
|
|
|
62
71
|
positionOrganization?: Option;
|
|
63
72
|
dulSerie?: string;
|
|
64
73
|
dulNumber?: string;
|
|
65
|
-
dulIssueDateField?: string;
|
|
74
|
+
dulIssueDateField?: Date | string;
|
|
66
75
|
dulSubdivisionCode?: string;
|
|
67
76
|
dulIssuedBy?: string;
|
|
68
77
|
email?: string;
|
|
@@ -85,7 +94,7 @@ export interface FormState extends FormConsents {
|
|
|
85
94
|
experience5Years?: number;
|
|
86
95
|
jobsNumber?: number;
|
|
87
96
|
organizationAddress?: Address;
|
|
88
|
-
beginDate?: string;
|
|
97
|
+
beginDate?: Date | string;
|
|
89
98
|
addressFact?: Address;
|
|
90
99
|
addressBranch?: Option;
|
|
91
100
|
bankEmpolee?: string;
|
|
@@ -111,7 +120,7 @@ export interface FormState extends FormConsents {
|
|
|
111
120
|
conscription?: string;
|
|
112
121
|
armyIdFlg?: boolean;
|
|
113
122
|
addressRegistration?: Address;
|
|
114
|
-
participantDateRegistration?: Date;
|
|
123
|
+
participantDateRegistration?: Date | string;
|
|
115
124
|
retirementIncome?: number;
|
|
116
125
|
otherIncome?: number;
|
|
117
126
|
mandatoryIncome?: number;
|
|
@@ -121,18 +130,21 @@ export interface FormState extends FormConsents {
|
|
|
121
130
|
bankruptcyFlg?: boolean;
|
|
122
131
|
shareholderFlg?: boolean;
|
|
123
132
|
legalEntityName?: string;
|
|
124
|
-
bankEmployeeCode?: number;
|
|
125
133
|
partInBusiness?: number;
|
|
126
134
|
addressMatch?: boolean;
|
|
127
135
|
confirmationIncome?: Option;
|
|
128
136
|
currency?: string;
|
|
129
137
|
paymentSystem?: string;
|
|
130
|
-
cardCategory?:
|
|
138
|
+
cardCategory?: Option;
|
|
131
139
|
codeWord?: string;
|
|
132
140
|
esiaAccountTypeCd?: Option;
|
|
133
141
|
moneyValue?: number;
|
|
134
142
|
monthsValue?: number;
|
|
135
143
|
isAnnuity?: boolean;
|
|
144
|
+
isInsurance?: boolean;
|
|
145
|
+
isSalaryClient?: boolean;
|
|
146
|
+
isPensionClient?: boolean;
|
|
147
|
+
isStateEmployee?: boolean;
|
|
136
148
|
}
|
|
137
149
|
|
|
138
150
|
const initialFormState = {
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import { useCallback, useMemo, useState } from '@redneckz/uni-jsx/lib/hooks';
|
|
3
|
-
import { type SectionsProps } from '../../model/InputSectionsType';
|
|
4
3
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper';
|
|
5
4
|
import { type UniBlockProps } from '../../UniBlock/UniBlockProps';
|
|
6
5
|
import { style } from '../../utils/style';
|
|
7
|
-
import { type FieldDef } from '../ApplicationLeadForm/ApplicationLeadFormContent';
|
|
8
6
|
import { type CreditCardFormContent } from './CreditCardFormContent';
|
|
9
7
|
import { CreditCardFormProgress } from './CreditCardFormProgress';
|
|
10
8
|
import { CreditCardFormStep } from './CreditCardFormStep';
|
|
@@ -37,8 +35,6 @@ export const CreditCardForm = JSX<CreditCardFormWizardProps>(({ className, ...re
|
|
|
37
35
|
|
|
38
36
|
const sections = useMemo(() => stepsSectionsMap[step], [step]);
|
|
39
37
|
|
|
40
|
-
const inputs = (sections?.flatMap((_: SectionsProps) => _?.inputs) || []) as FieldDef[];
|
|
41
|
-
|
|
42
38
|
const [isFormFinished, setIsFormFinished] = useState(false);
|
|
43
39
|
|
|
44
40
|
return (
|
|
@@ -55,7 +51,6 @@ export const CreditCardForm = JSX<CreditCardFormWizardProps>(({ className, ...re
|
|
|
55
51
|
<CreditCardFormStep
|
|
56
52
|
key={String(step)}
|
|
57
53
|
step={step}
|
|
58
|
-
inputs={inputs}
|
|
59
54
|
sections={sections}
|
|
60
55
|
onNextStep={handleNextStep}
|
|
61
56
|
onPrevStep={handlePrevStep}
|
|
@@ -4,12 +4,12 @@ import { type InputSectionsType } from '../../model/InputSectionsType';
|
|
|
4
4
|
import { type UniBlockContent } from '../../UniBlock/UniBlockProps';
|
|
5
5
|
import { type SectionsProps } from '../ApplicationForm/ApplicationFormContent';
|
|
6
6
|
import { type FieldDef } from '../ApplicationLeadForm/ApplicationLeadFormContent';
|
|
7
|
-
import { type
|
|
7
|
+
import { type FormState } from '../ApplicationLeadForm/getInitialFormState';
|
|
8
8
|
|
|
9
9
|
/** @hidden */
|
|
10
10
|
export interface RenderInputsProps {
|
|
11
11
|
inputs?: FieldDef[];
|
|
12
|
-
field: FormFieldRegisterer<
|
|
12
|
+
field: FormFieldRegisterer<FormState>;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
export type CreditCardSectionsProps = SectionsProps & {
|
|
@@ -4,8 +4,8 @@ import { useForm } from '../../hooks/useForm';
|
|
|
4
4
|
import { useLocalStorage } from '../../hooks/useLocalStorage';
|
|
5
5
|
import { type SectionsProps } from '../ApplicationForm/ApplicationFormContent';
|
|
6
6
|
import { type FieldDef } from '../ApplicationLeadForm/ApplicationLeadFormContent';
|
|
7
|
+
import { type FormState } from '../ApplicationLeadForm/getInitialFormState';
|
|
7
8
|
import { CreditCardFormStatusTracker } from './CreditCardFormStatusTracker';
|
|
8
|
-
import { type FormStateDeliveryType, type FormStateMap } from './formStateMap';
|
|
9
9
|
import { getInitialFormState } from './getInitialFormState';
|
|
10
10
|
import { renderStep, type CustomSubmit } from './renderStep';
|
|
11
11
|
import { StepsNavigationButtons } from './StepsNavigationButtons';
|
|
@@ -14,7 +14,6 @@ import { useCreditCardFormAPI } from './useCreditCardFormAPI';
|
|
|
14
14
|
export interface CreditCardFormStepProps {
|
|
15
15
|
step: number;
|
|
16
16
|
sections: SectionsProps[];
|
|
17
|
-
inputs: FieldDef[];
|
|
18
17
|
onNextStep: () => void;
|
|
19
18
|
onPrevStep: () => void;
|
|
20
19
|
isFormFinished: boolean;
|
|
@@ -22,12 +21,14 @@ export interface CreditCardFormStepProps {
|
|
|
22
21
|
}
|
|
23
22
|
|
|
24
23
|
export const CreditCardFormStep = JSX<CreditCardFormStepProps>(
|
|
25
|
-
({ step, sections, onPrevStep, onNextStep,
|
|
24
|
+
({ step, sections, onPrevStep, onNextStep, isFormFinished, finishForm }) => {
|
|
26
25
|
const [localStorageData, saveStep] = useLocalStorage<Record<string, any>>('leadForm');
|
|
27
|
-
const initialState = getInitialFormState(step
|
|
26
|
+
const initialState = getInitialFormState(step, localStorageData);
|
|
28
27
|
|
|
29
28
|
const customSubmit = useRef<CustomSubmit | undefined>(undefined);
|
|
30
29
|
|
|
30
|
+
const inputs = (sections?.flatMap((_: SectionsProps) => _?.inputs) || []) as FieldDef[];
|
|
31
|
+
|
|
31
32
|
const registerSubmit = useCallback((submit?: CustomSubmit) => {
|
|
32
33
|
customSubmit.current = submit;
|
|
33
34
|
}, []);
|
|
@@ -40,9 +41,9 @@ export const CreditCardFormStep = JSX<CreditCardFormStepProps>(
|
|
|
40
41
|
finishForm,
|
|
41
42
|
});
|
|
42
43
|
|
|
43
|
-
const [
|
|
44
|
+
const [, { field, onSubmit }] = useForm(initialState, {
|
|
44
45
|
onSubmit: (formData, ev) => {
|
|
45
|
-
handleSubmit({ ...formData, ...customSubmit.current?.(ev) });
|
|
46
|
+
handleSubmit({ ...formData, ...customSubmit.current?.(ev) } as FormState);
|
|
46
47
|
},
|
|
47
48
|
});
|
|
48
49
|
|
|
@@ -53,8 +54,8 @@ export const CreditCardFormStep = JSX<CreditCardFormStepProps>(
|
|
|
53
54
|
{renderStep({
|
|
54
55
|
sections,
|
|
55
56
|
field,
|
|
57
|
+
step,
|
|
56
58
|
registerSubmit,
|
|
57
|
-
userInputParams: userInputParams as FormStateDeliveryType,
|
|
58
59
|
})}
|
|
59
60
|
<StepsNavigationButtons step={step} onPrevStep={onPrevStep} />
|
|
60
61
|
</form>
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { type Option } from '../../ui-kit/Select/Option';
|
|
2
|
+
import { type FieldDef } from '../ApplicationForm/ApplicationFormContent';
|
|
3
|
+
import { type FormState } from '../ApplicationLeadForm/getInitialFormState';
|
|
4
|
+
|
|
5
|
+
export type GetValue = <K extends keyof FormState>(name: K) => FormState[K];
|
|
6
|
+
|
|
7
|
+
export const calculateInputs = (getValue: GetValue) => (inputs: FieldDef[], step: number) =>
|
|
8
|
+
inputs
|
|
9
|
+
.filter((_) => _)
|
|
10
|
+
.map((_) => {
|
|
11
|
+
if (
|
|
12
|
+
[
|
|
13
|
+
checkIsRetiree(step, getValue),
|
|
14
|
+
checkBusinessOwner(_, getValue),
|
|
15
|
+
checkConsentPfrFlg(_, getValue),
|
|
16
|
+
checkAddressFillFromESIA(_, getValue),
|
|
17
|
+
checkCondition(_, getValue),
|
|
18
|
+
].some(Boolean)
|
|
19
|
+
) {
|
|
20
|
+
return { ..._, required: false };
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
return _;
|
|
24
|
+
});
|
|
25
|
+
|
|
26
|
+
const checkIsRetiree = (step: number, getValue: GetValue) =>
|
|
27
|
+
step === 2 && getValue('employment')?.key === 'RETIREE';
|
|
28
|
+
|
|
29
|
+
const checkBusinessOwner = ({ name }: FieldDef, getValue: GetValue) =>
|
|
30
|
+
name === 'partInBusiness' && getValue('positionOrganization')?.key !== 'BUSINESS_OWNER';
|
|
31
|
+
|
|
32
|
+
const checkConsentPfrFlg = ({ name }: FieldDef, getValue: GetValue) =>
|
|
33
|
+
name === 'snils' && !getValue('consentPfrFlg');
|
|
34
|
+
|
|
35
|
+
const checkAddressFillFromESIA = ({ name, filledByEsia }: FieldDef, getValue: GetValue) =>
|
|
36
|
+
name?.startsWith('address') && getValue('esiaAccountTypeCd')?.key && filledByEsia;
|
|
37
|
+
|
|
38
|
+
export const checkCondition = ({ condition }: FieldDef, getValue: GetValue) =>
|
|
39
|
+
condition?.name &&
|
|
40
|
+
condition?.values?.some((_) => {
|
|
41
|
+
const dataValue = getValue(condition?.name);
|
|
42
|
+
|
|
43
|
+
return _ !== ((dataValue as Option)?.key ?? dataValue);
|
|
44
|
+
});
|