@redneckz/wildless-cms-uni-blocks 0.14.725 → 0.14.726
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/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +1800 -1815
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +0 -9
- package/bundle/components/ApplicationLeadForm/GroupedConsents.d.ts +8 -1
- package/bundle/components/ApplicationLeadForm/consents.d.ts +2 -2
- package/bundle/components/ApplicationLeadForm/getInitialFormState.d.ts +1 -1
- package/bundle/components/ApplicationLeadForm/getLeadFormTaskData.d.ts +1 -1
- package/bundle/components/ApplicationLeadForm/pasreEsiaProfile.d.ts +1 -1
- package/bundle/components/{ApplicationForm → ApplicationLeadForm}/renderInputs.d.ts +1 -1
- package/bundle/components/ApplicationLeadForm/useApplicationLeadApi.d.ts +1 -1
- package/bundle/components/ApplicationLeadForm/useInitApplicationLead.d.ts +1 -1
- package/bundle/components/ApplicationLeadForm/useLeadFormStore.d.ts +1 -1
- package/bundle/components/ApplicationLeadForm/useSaveUserData.d.ts +1 -1
- package/bundle/components/CreditCardForm/CreditCardFormContent.d.ts +1 -1
- package/bundle/components/CreditCardForm/formStateMap.d.ts +1 -1
- package/bundle/components/CreditCardForm/getCreditCardFormTaskData.d.ts +1 -1
- package/bundle/components/CreditCardForm/getDeliveryCreditCardData.d.ts +1 -1
- package/bundle/components/CreditCardForm/getInitialFormState.d.ts +1 -1
- package/bundle/components/CreditCardForm/renderInputs.d.ts +2 -2
- package/bundle/components/CreditCardForm/renderStep.d.ts +1 -1
- package/bundle/components/CreditCardForm/useCreditCardFormAPI.d.ts +1 -1
- package/bundle/components/CreditForm/formStateMap.d.ts +1 -1
- package/bundle/components/CreditForm/getCalcData.d.ts +1 -1
- package/bundle/components/CreditForm/getInitialFormState.d.ts +1 -1
- package/bundle/components/CreditForm/renderInfo.d.ts +1 -1
- package/bundle/components/CreditForm/renderInputs.d.ts +2 -2
- package/bundle/components/CreditForm/renderStep.d.ts +1 -1
- package/bundle/components/CreditForm/useCreditFormAPI.d.ts +2 -2
- package/bundle/components/CreditForm/utils.d.ts +1 -1
- package/bundle/hooks/useLeadFormData.d.ts +2 -2
- package/bundle/hooks/useRetailFormStore.d.ts +10 -10
- package/bundle/services/retail/adaptors/getAdditionalInfoData.d.ts +1 -1
- package/bundle/services/retail/adaptors/getCalculatorData.d.ts +1 -1
- package/bundle/services/retail/adaptors/getCardOptionsData.d.ts +1 -1
- package/bundle/services/retail/adaptors/getCreditFormTaskData.d.ts +1 -1
- package/bundle/services/retail/adaptors/getDeliveryCreditData.d.ts +1 -1
- package/bundle/services/retail/adaptors/getEmploymentData.d.ts +1 -1
- package/bundle/services/retail/adaptors/getFamilyStatusAndIncomeData.d.ts +1 -1
- package/bundle/services/retail/adaptors/getPersonalInfoData.d.ts +1 -1
- package/bundle/services/retail/external/types.d.ts +10 -0
- package/bundle/services/retail/external/utils.d.ts +2 -0
- package/bundle/services/retail/inputs.d.ts +75 -0
- package/{dist/api/RetailAPI → bundle/services/retail}/model/LeadFormData.d.ts +1 -1
- package/bundle/{components/ApplicationLeadForm → services/retail/model}/LeadFormState.d.ts +18 -18
- package/bundle/services/retail/model/RetailFormContent.d.ts +63 -0
- package/bundle/{components/CreditCardForm → services/retail/utils}/calculateInputs.d.ts +2 -2
- package/bundle/services/retail/utils/getOrganizationParams.d.ts +17 -0
- package/bundle/services/retail/utils/getUpdateUserProfile.d.ts +3 -0
- package/bundle/ui-kit/DraftDialog/parseDraftTask.d.ts +1 -1
- package/bundle/ui-kit/DraftDialog/utils.d.ts +2 -2
- package/bundle/ui-kit/FormField/CustomFieldProps.d.ts +1 -1
- package/bundle/ui-kit/FormField/Fields/consentToReceiveMaterialsField.d.ts +2 -0
- package/bundle/ui-kit/FormField/NameFieldDef.d.ts +6 -1
- package/bundle/ui-kit/FormField/SelectField.d.ts +2 -2
- package/bundle/ui-kit/FormField/getField.d.ts +2 -1
- package/bundle/ui-kit/FormField/getNamesFromInput.d.ts +1 -1
- package/bundle/ui-kit/FormField/getObjectValidator.d.ts +1 -1
- package/bundle/ui-kit/FormField/getPremium.d.ts +1 -1
- package/bundle/ui-kit/FormField/validators.d.ts +1 -1
- package/dist/components/ApplicationLeadForm/ApplicationLeadForm.js +1 -1
- package/dist/components/ApplicationLeadForm/ApplicationLeadForm.js.map +1 -1
- package/dist/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +0 -9
- package/dist/components/ApplicationLeadForm/GroupedConsents.d.ts +8 -1
- package/dist/components/ApplicationLeadForm/GroupedConsents.js +2 -1
- package/dist/components/ApplicationLeadForm/GroupedConsents.js.map +1 -1
- package/dist/components/ApplicationLeadForm/consents.d.ts +2 -2
- package/dist/components/ApplicationLeadForm/consents.js +0 -3
- package/dist/components/ApplicationLeadForm/consents.js.map +1 -1
- package/dist/components/ApplicationLeadForm/getInitialFormState.d.ts +1 -1
- package/dist/components/ApplicationLeadForm/getInitialFormState.js +0 -2
- package/dist/components/ApplicationLeadForm/getInitialFormState.js.map +1 -1
- package/dist/components/ApplicationLeadForm/getLeadFormTaskData.d.ts +1 -1
- package/dist/components/ApplicationLeadForm/getLeadFormTaskData.js.map +1 -1
- package/dist/components/ApplicationLeadForm/pasreEsiaProfile.d.ts +1 -1
- package/dist/components/ApplicationLeadForm/pasreEsiaProfile.js.map +1 -1
- package/dist/components/{ApplicationForm → ApplicationLeadForm}/renderInputs.d.ts +1 -1
- package/{mobile/dist/components/ApplicationForm → dist/components/ApplicationLeadForm}/renderInputs.js +4 -3
- package/dist/components/ApplicationLeadForm/renderInputs.js.map +1 -0
- package/dist/components/ApplicationLeadForm/useApplicationLeadApi.d.ts +1 -1
- package/dist/components/ApplicationLeadForm/useApplicationLeadApi.js +1 -1
- package/dist/components/ApplicationLeadForm/useApplicationLeadApi.js.map +1 -1
- package/dist/components/ApplicationLeadForm/useInitApplicationLead.d.ts +1 -1
- package/dist/components/ApplicationLeadForm/useInitApplicationLead.js.map +1 -1
- package/dist/components/ApplicationLeadForm/useLeadFormStore.d.ts +1 -1
- package/dist/components/ApplicationLeadForm/useSaveUserData.d.ts +1 -1
- package/dist/components/CreditCardForm/CreditCardFormContent.d.ts +1 -1
- package/dist/components/CreditCardForm/formStateMap.d.ts +1 -1
- package/dist/components/CreditCardForm/formStateMap.js +1 -1
- package/dist/components/CreditCardForm/formStateMap.js.map +1 -1
- package/dist/components/CreditCardForm/getCreditCardFormTaskData.d.ts +1 -1
- package/dist/components/CreditCardForm/getDeliveryCreditCardData.d.ts +1 -1
- package/dist/components/CreditCardForm/getDeliveryCreditCardData.js.map +1 -1
- package/dist/components/CreditCardForm/getInitialFormState.d.ts +1 -1
- package/dist/components/CreditCardForm/renderInputs.d.ts +2 -2
- package/dist/components/CreditCardForm/renderInputs.js +2 -1
- package/dist/components/CreditCardForm/renderInputs.js.map +1 -1
- package/dist/components/CreditCardForm/renderStep.d.ts +1 -1
- package/dist/components/CreditCardForm/renderStep.js +1 -1
- package/dist/components/CreditCardForm/renderStep.js.map +1 -1
- package/dist/components/CreditCardForm/useCreditCardFormAPI.d.ts +1 -1
- package/dist/components/CreditCardForm/useCreditCardFormAPI.js +1 -1
- package/dist/components/CreditCardForm/useCreditCardFormAPI.js.map +1 -1
- package/dist/components/CreditForm/formStateMap.d.ts +1 -1
- package/dist/components/CreditForm/getCalcData.d.ts +1 -1
- package/dist/components/CreditForm/getInitialFormState.d.ts +1 -1
- package/dist/components/CreditForm/renderInfo.d.ts +1 -1
- package/dist/components/CreditForm/renderInfo.js.map +1 -1
- package/dist/components/CreditForm/renderInputs.d.ts +2 -2
- package/dist/components/CreditForm/renderInputs.js +2 -1
- package/dist/components/CreditForm/renderInputs.js.map +1 -1
- package/dist/components/CreditForm/renderStep.d.ts +1 -1
- package/dist/components/CreditForm/renderStep.js +1 -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 +1 -1
- package/dist/components/CreditForm/useCreditFormAPI.js.map +1 -1
- package/dist/components/CreditForm/utils.d.ts +1 -1
- package/dist/hooks/useCreditFormStore.d.ts +0 -0
- package/dist/hooks/useCreditFormStore.js +1 -0
- package/dist/hooks/useCreditFormStore.js.map +1 -0
- package/dist/hooks/useLeadFormData.d.ts +2 -2
- package/dist/hooks/useLeadFormData.js.map +1 -1
- package/dist/hooks/useRetailFormStore.d.ts +10 -10
- package/dist/services/retail/adaptors/getAdditionalInfoData.d.ts +1 -1
- package/dist/services/retail/adaptors/getCalculatorData.d.ts +1 -1
- package/dist/services/retail/adaptors/getCardOptionsData.d.ts +1 -1
- package/dist/services/retail/adaptors/getCreditFormTaskData.d.ts +1 -1
- package/dist/services/retail/adaptors/getDeliveryCreditData.d.ts +1 -1
- package/dist/services/retail/adaptors/getEmploymentData.d.ts +1 -1
- package/dist/services/retail/adaptors/getFamilyStatusAndIncomeData.d.ts +1 -1
- package/dist/services/retail/adaptors/getFamilyStatusAndIncomeData.js +1 -1
- package/dist/services/retail/adaptors/getFamilyStatusAndIncomeData.js.map +1 -1
- package/dist/services/retail/adaptors/getPersonalInfoData.d.ts +1 -1
- package/dist/services/retail/external/types.d.ts +10 -0
- package/dist/services/retail/external/types.js +2 -0
- package/dist/services/retail/external/types.js.map +1 -0
- package/dist/services/retail/external/utils.d.ts +2 -0
- package/dist/services/retail/external/utils.js +7 -0
- package/dist/services/retail/external/utils.js.map +1 -0
- package/dist/services/retail/inputs.d.ts +75 -0
- package/dist/services/retail/inputs.js +137 -0
- package/dist/services/retail/inputs.js.map +1 -0
- package/dist/services/retail/model/EOrganizationActivityTypes.js.map +1 -0
- package/{bundle/api/RetailAPI → dist/services/retail}/model/LeadFormData.d.ts +1 -1
- package/dist/services/retail/model/LeadFormData.js.map +1 -0
- package/{lib/components/ApplicationLeadForm → dist/services/retail/model}/LeadFormState.d.ts +18 -18
- package/dist/services/retail/model/LeadFormState.js.map +1 -0
- package/dist/services/retail/model/RetailFormContent.d.ts +63 -0
- package/dist/services/retail/model/RetailFormContent.js +4 -0
- package/dist/services/retail/model/RetailFormContent.js.map +1 -0
- package/{bundle/components/CreditForm → dist/services/retail/utils}/calculateInputs.d.ts +2 -2
- package/dist/services/retail/utils/calculateInputs.js.map +1 -0
- package/dist/services/retail/utils/getOrganizationParams.d.ts +17 -0
- package/dist/services/retail/utils/getOrganizationParams.js.map +1 -0
- package/dist/services/retail/utils/getUpdateUserProfile.d.ts +3 -0
- package/dist/{api/RetailAPI → services/retail}/utils/getUpdateUserProfile.js +3 -4
- package/dist/services/retail/utils/getUpdateUserProfile.js.map +1 -0
- package/dist/ui-kit/DraftDialog/parseDraftTask.d.ts +1 -1
- package/dist/ui-kit/DraftDialog/utils.d.ts +2 -2
- package/dist/ui-kit/DraftDialog/utils.js.map +1 -1
- package/dist/ui-kit/FormField/CustomFieldProps.d.ts +1 -1
- package/dist/ui-kit/FormField/Fields/AddressBranchField.js.map +1 -1
- package/dist/ui-kit/FormField/Fields/DesiredMeetingDateField.js +1 -1
- package/dist/ui-kit/FormField/Fields/DesiredMeetingDateField.js.map +1 -1
- package/dist/ui-kit/FormField/Fields/consentToReceiveMaterialsField.d.ts +2 -0
- package/dist/ui-kit/FormField/Fields/consentToReceiveMaterialsField.js +10 -0
- package/dist/ui-kit/FormField/Fields/consentToReceiveMaterialsField.js.map +1 -0
- package/dist/ui-kit/FormField/NameFieldDef.d.ts +6 -1
- package/dist/ui-kit/FormField/SelectField.d.ts +2 -2
- package/dist/ui-kit/FormField/SelectField.js.map +1 -1
- package/dist/ui-kit/FormField/getField.d.ts +2 -1
- package/dist/ui-kit/FormField/getField.js +4 -131
- package/dist/ui-kit/FormField/getField.js.map +1 -1
- package/dist/ui-kit/FormField/getNamesFromInput.d.ts +1 -1
- package/dist/ui-kit/FormField/getObjectValidator.d.ts +1 -1
- package/dist/ui-kit/FormField/getObjectValidator.js +70 -60
- package/dist/ui-kit/FormField/getObjectValidator.js.map +1 -1
- package/dist/ui-kit/FormField/getPremium.d.ts +1 -1
- package/dist/ui-kit/FormField/updateOrganizationFields.js +1 -1
- package/dist/ui-kit/FormField/updateOrganizationFields.js.map +1 -1
- package/dist/ui-kit/FormField/validators.d.ts +1 -1
- package/lib/components/ApplicationLeadForm/ApplicationLeadForm.js +1 -1
- package/lib/components/ApplicationLeadForm/ApplicationLeadForm.js.map +1 -1
- package/lib/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +0 -9
- package/lib/components/ApplicationLeadForm/GroupedConsents.d.ts +8 -1
- package/lib/components/ApplicationLeadForm/GroupedConsents.js +2 -1
- package/lib/components/ApplicationLeadForm/GroupedConsents.js.map +1 -1
- package/lib/components/ApplicationLeadForm/consents.d.ts +2 -2
- package/lib/components/ApplicationLeadForm/consents.js +0 -3
- package/lib/components/ApplicationLeadForm/consents.js.map +1 -1
- package/lib/components/ApplicationLeadForm/getInitialFormState.d.ts +1 -1
- package/lib/components/ApplicationLeadForm/getInitialFormState.js +0 -2
- package/lib/components/ApplicationLeadForm/getInitialFormState.js.map +1 -1
- package/lib/components/ApplicationLeadForm/getLeadFormTaskData.d.ts +1 -1
- package/lib/components/ApplicationLeadForm/getLeadFormTaskData.js.map +1 -1
- package/lib/components/ApplicationLeadForm/pasreEsiaProfile.d.ts +1 -1
- package/lib/components/ApplicationLeadForm/pasreEsiaProfile.js.map +1 -1
- package/lib/components/{ApplicationForm → ApplicationLeadForm}/renderInputs.d.ts +1 -1
- package/lib/components/{ApplicationForm → ApplicationLeadForm}/renderInputs.js +4 -3
- package/lib/components/ApplicationLeadForm/renderInputs.js.map +1 -0
- package/lib/components/ApplicationLeadForm/useApplicationLeadApi.d.ts +1 -1
- package/lib/components/ApplicationLeadForm/useApplicationLeadApi.js +1 -1
- package/lib/components/ApplicationLeadForm/useApplicationLeadApi.js.map +1 -1
- package/lib/components/ApplicationLeadForm/useInitApplicationLead.d.ts +1 -1
- package/lib/components/ApplicationLeadForm/useInitApplicationLead.js.map +1 -1
- package/lib/components/ApplicationLeadForm/useLeadFormStore.d.ts +1 -1
- package/lib/components/ApplicationLeadForm/useSaveUserData.d.ts +1 -1
- package/lib/components/CreditCardForm/CreditCardFormContent.d.ts +1 -1
- package/lib/components/CreditCardForm/formStateMap.d.ts +1 -1
- package/lib/components/CreditCardForm/formStateMap.js +1 -1
- package/lib/components/CreditCardForm/formStateMap.js.map +1 -1
- package/lib/components/CreditCardForm/getCreditCardFormTaskData.d.ts +1 -1
- package/lib/components/CreditCardForm/getDeliveryCreditCardData.d.ts +1 -1
- package/lib/components/CreditCardForm/getDeliveryCreditCardData.js.map +1 -1
- package/lib/components/CreditCardForm/getInitialFormState.d.ts +1 -1
- package/lib/components/CreditCardForm/renderInputs.d.ts +2 -2
- package/lib/components/CreditCardForm/renderInputs.js +2 -1
- package/lib/components/CreditCardForm/renderInputs.js.map +1 -1
- package/lib/components/CreditCardForm/renderStep.d.ts +1 -1
- package/lib/components/CreditCardForm/renderStep.js +1 -1
- package/lib/components/CreditCardForm/renderStep.js.map +1 -1
- package/lib/components/CreditCardForm/useCreditCardFormAPI.d.ts +1 -1
- package/lib/components/CreditCardForm/useCreditCardFormAPI.js +1 -1
- package/lib/components/CreditCardForm/useCreditCardFormAPI.js.map +1 -1
- package/lib/components/CreditForm/formStateMap.d.ts +1 -1
- package/lib/components/CreditForm/getCalcData.d.ts +1 -1
- package/lib/components/CreditForm/getInitialFormState.d.ts +1 -1
- package/lib/components/CreditForm/renderInfo.d.ts +1 -1
- package/lib/components/CreditForm/renderInfo.js.map +1 -1
- package/lib/components/CreditForm/renderInputs.d.ts +2 -2
- package/lib/components/CreditForm/renderInputs.js +2 -1
- package/lib/components/CreditForm/renderInputs.js.map +1 -1
- package/lib/components/CreditForm/renderStep.d.ts +1 -1
- package/lib/components/CreditForm/renderStep.js +1 -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 +1 -1
- package/lib/components/CreditForm/useCreditFormAPI.js.map +1 -1
- package/lib/components/CreditForm/utils.d.ts +1 -1
- package/lib/hooks/useCreditFormStore.d.ts +0 -0
- package/lib/hooks/useCreditFormStore.js +1 -0
- package/lib/hooks/useCreditFormStore.js.map +1 -0
- package/lib/hooks/useLeadFormData.d.ts +2 -2
- package/lib/hooks/useLeadFormData.js.map +1 -1
- package/lib/hooks/useRetailFormStore.d.ts +10 -10
- package/lib/services/retail/adaptors/getAdditionalInfoData.d.ts +1 -1
- package/lib/services/retail/adaptors/getCalculatorData.d.ts +1 -1
- package/lib/services/retail/adaptors/getCardOptionsData.d.ts +1 -1
- package/lib/services/retail/adaptors/getCreditFormTaskData.d.ts +1 -1
- package/lib/services/retail/adaptors/getDeliveryCreditData.d.ts +1 -1
- package/lib/services/retail/adaptors/getEmploymentData.d.ts +1 -1
- package/lib/services/retail/adaptors/getFamilyStatusAndIncomeData.d.ts +1 -1
- package/lib/services/retail/adaptors/getFamilyStatusAndIncomeData.js +1 -1
- package/lib/services/retail/adaptors/getFamilyStatusAndIncomeData.js.map +1 -1
- package/lib/services/retail/adaptors/getPersonalInfoData.d.ts +1 -1
- package/lib/services/retail/external/types.d.ts +10 -0
- package/lib/services/retail/external/types.js +2 -0
- package/lib/services/retail/external/types.js.map +1 -0
- package/lib/services/retail/external/utils.d.ts +2 -0
- package/lib/services/retail/external/utils.js +3 -0
- package/lib/services/retail/external/utils.js.map +1 -0
- package/lib/services/retail/inputs.d.ts +75 -0
- package/lib/services/retail/inputs.js +135 -0
- package/lib/services/retail/inputs.js.map +1 -0
- package/lib/services/retail/model/EOrganizationActivityTypes.js.map +1 -0
- package/lib/{api/RetailAPI → services/retail}/model/LeadFormData.d.ts +1 -1
- package/lib/services/retail/model/LeadFormData.js.map +1 -0
- package/{dist/components/ApplicationLeadForm → lib/services/retail/model}/LeadFormState.d.ts +18 -18
- package/lib/services/retail/model/LeadFormState.js.map +1 -0
- package/lib/services/retail/model/RetailFormContent.d.ts +63 -0
- package/lib/services/retail/model/RetailFormContent.js +4 -0
- package/lib/services/retail/model/RetailFormContent.js.map +1 -0
- package/{dist/components/CreditCardForm → lib/services/retail/utils}/calculateInputs.d.ts +2 -2
- package/lib/services/retail/utils/calculateInputs.js.map +1 -0
- package/lib/services/retail/utils/getOrganizationParams.d.ts +17 -0
- package/lib/services/retail/utils/getOrganizationParams.js.map +1 -0
- package/lib/services/retail/utils/getUpdateUserProfile.d.ts +3 -0
- package/{mobile/lib/api/RetailAPI → lib/services/retail}/utils/getUpdateUserProfile.js +1 -2
- package/lib/services/retail/utils/getUpdateUserProfile.js.map +1 -0
- package/lib/ui-kit/DraftDialog/parseDraftTask.d.ts +1 -1
- package/lib/ui-kit/DraftDialog/utils.d.ts +2 -2
- package/lib/ui-kit/DraftDialog/utils.js.map +1 -1
- package/lib/ui-kit/FormField/CustomFieldProps.d.ts +1 -1
- package/lib/ui-kit/FormField/Fields/AddressBranchField.js.map +1 -1
- package/lib/ui-kit/FormField/Fields/DesiredMeetingDateField.js +1 -1
- package/lib/ui-kit/FormField/Fields/DesiredMeetingDateField.js.map +1 -1
- package/lib/ui-kit/FormField/Fields/consentToReceiveMaterialsField.d.ts +2 -0
- package/lib/ui-kit/FormField/Fields/consentToReceiveMaterialsField.js +8 -0
- package/lib/ui-kit/FormField/Fields/consentToReceiveMaterialsField.js.map +1 -0
- package/lib/ui-kit/FormField/NameFieldDef.d.ts +6 -1
- package/lib/ui-kit/FormField/SelectField.d.ts +2 -2
- package/lib/ui-kit/FormField/SelectField.js.map +1 -1
- package/lib/ui-kit/FormField/getField.d.ts +2 -1
- package/lib/ui-kit/FormField/getField.js +4 -131
- package/lib/ui-kit/FormField/getField.js.map +1 -1
- package/lib/ui-kit/FormField/getNamesFromInput.d.ts +1 -1
- package/lib/ui-kit/FormField/getObjectValidator.d.ts +1 -1
- package/lib/ui-kit/FormField/getObjectValidator.js +71 -61
- package/lib/ui-kit/FormField/getObjectValidator.js.map +1 -1
- package/lib/ui-kit/FormField/getPremium.d.ts +1 -1
- package/lib/ui-kit/FormField/updateOrganizationFields.js +1 -1
- package/lib/ui-kit/FormField/updateOrganizationFields.js.map +1 -1
- package/lib/ui-kit/FormField/validators.d.ts +1 -1
- package/mobile/bundle/bundle.umd.js +1800 -1815
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +0 -9
- package/mobile/bundle/components/ApplicationLeadForm/GroupedConsents.d.ts +8 -1
- package/mobile/bundle/components/ApplicationLeadForm/consents.d.ts +2 -2
- package/mobile/bundle/components/ApplicationLeadForm/getInitialFormState.d.ts +1 -1
- package/mobile/bundle/components/ApplicationLeadForm/getLeadFormTaskData.d.ts +1 -1
- package/mobile/bundle/components/ApplicationLeadForm/pasreEsiaProfile.d.ts +1 -1
- package/mobile/bundle/components/{ApplicationForm → ApplicationLeadForm}/renderInputs.d.ts +1 -1
- package/mobile/bundle/components/ApplicationLeadForm/useApplicationLeadApi.d.ts +1 -1
- package/mobile/bundle/components/ApplicationLeadForm/useInitApplicationLead.d.ts +1 -1
- package/mobile/bundle/components/ApplicationLeadForm/useLeadFormStore.d.ts +1 -1
- package/mobile/bundle/components/ApplicationLeadForm/useSaveUserData.d.ts +1 -1
- package/mobile/bundle/components/CreditCardForm/CreditCardFormContent.d.ts +1 -1
- package/mobile/bundle/components/CreditCardForm/formStateMap.d.ts +1 -1
- package/mobile/bundle/components/CreditCardForm/getCreditCardFormTaskData.d.ts +1 -1
- package/mobile/bundle/components/CreditCardForm/getDeliveryCreditCardData.d.ts +1 -1
- package/mobile/bundle/components/CreditCardForm/getInitialFormState.d.ts +1 -1
- package/mobile/bundle/components/CreditCardForm/renderInputs.d.ts +2 -2
- package/mobile/bundle/components/CreditCardForm/renderStep.d.ts +1 -1
- package/mobile/bundle/components/CreditCardForm/useCreditCardFormAPI.d.ts +1 -1
- package/mobile/bundle/components/CreditForm/formStateMap.d.ts +1 -1
- package/mobile/bundle/components/CreditForm/getCalcData.d.ts +1 -1
- package/mobile/bundle/components/CreditForm/getInitialFormState.d.ts +1 -1
- package/mobile/bundle/components/CreditForm/renderInfo.d.ts +1 -1
- package/mobile/bundle/components/CreditForm/renderInputs.d.ts +2 -2
- package/mobile/bundle/components/CreditForm/renderStep.d.ts +1 -1
- package/mobile/bundle/components/CreditForm/useCreditFormAPI.d.ts +2 -2
- package/mobile/bundle/components/CreditForm/utils.d.ts +1 -1
- package/mobile/bundle/hooks/useLeadFormData.d.ts +2 -2
- package/mobile/bundle/hooks/useRetailFormStore.d.ts +10 -10
- package/mobile/bundle/services/retail/adaptors/getAdditionalInfoData.d.ts +1 -1
- package/mobile/bundle/services/retail/adaptors/getCalculatorData.d.ts +1 -1
- package/mobile/bundle/services/retail/adaptors/getCardOptionsData.d.ts +1 -1
- package/mobile/bundle/services/retail/adaptors/getCreditFormTaskData.d.ts +1 -1
- package/mobile/bundle/services/retail/adaptors/getDeliveryCreditData.d.ts +1 -1
- package/mobile/bundle/services/retail/adaptors/getEmploymentData.d.ts +1 -1
- package/mobile/bundle/services/retail/adaptors/getFamilyStatusAndIncomeData.d.ts +1 -1
- package/mobile/bundle/services/retail/adaptors/getPersonalInfoData.d.ts +1 -1
- package/mobile/bundle/services/retail/external/types.d.ts +10 -0
- package/mobile/bundle/services/retail/external/utils.d.ts +2 -0
- package/mobile/bundle/services/retail/inputs.d.ts +75 -0
- package/mobile/bundle/{api/RetailAPI → services/retail}/model/LeadFormData.d.ts +1 -1
- package/mobile/bundle/{components/ApplicationLeadForm → services/retail/model}/LeadFormState.d.ts +18 -18
- package/mobile/bundle/services/retail/model/RetailFormContent.d.ts +63 -0
- package/{dist/components/CreditForm → mobile/bundle/services/retail/utils}/calculateInputs.d.ts +2 -2
- package/mobile/bundle/services/retail/utils/getOrganizationParams.d.ts +17 -0
- package/mobile/bundle/services/retail/utils/getUpdateUserProfile.d.ts +3 -0
- package/mobile/bundle/ui-kit/DraftDialog/parseDraftTask.d.ts +1 -1
- package/mobile/bundle/ui-kit/DraftDialog/utils.d.ts +2 -2
- package/mobile/bundle/ui-kit/FormField/CustomFieldProps.d.ts +1 -1
- package/mobile/bundle/ui-kit/FormField/Fields/consentToReceiveMaterialsField.d.ts +2 -0
- package/mobile/bundle/ui-kit/FormField/NameFieldDef.d.ts +6 -1
- package/mobile/bundle/ui-kit/FormField/SelectField.d.ts +2 -2
- package/mobile/bundle/ui-kit/FormField/getField.d.ts +2 -1
- package/mobile/bundle/ui-kit/FormField/getNamesFromInput.d.ts +1 -1
- package/mobile/bundle/ui-kit/FormField/getObjectValidator.d.ts +1 -1
- package/mobile/bundle/ui-kit/FormField/getPremium.d.ts +1 -1
- package/mobile/bundle/ui-kit/FormField/validators.d.ts +1 -1
- package/mobile/dist/components/ApplicationLeadForm/ApplicationLeadForm.js +1 -1
- package/mobile/dist/components/ApplicationLeadForm/ApplicationLeadForm.js.map +1 -1
- package/mobile/dist/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +0 -9
- package/mobile/dist/components/ApplicationLeadForm/GroupedConsents.d.ts +8 -1
- package/mobile/dist/components/ApplicationLeadForm/GroupedConsents.js +2 -1
- package/mobile/dist/components/ApplicationLeadForm/GroupedConsents.js.map +1 -1
- package/mobile/dist/components/ApplicationLeadForm/consents.d.ts +2 -2
- package/mobile/dist/components/ApplicationLeadForm/consents.js +0 -3
- package/mobile/dist/components/ApplicationLeadForm/consents.js.map +1 -1
- package/mobile/dist/components/ApplicationLeadForm/getInitialFormState.d.ts +1 -1
- package/mobile/dist/components/ApplicationLeadForm/getInitialFormState.js +0 -2
- package/mobile/dist/components/ApplicationLeadForm/getInitialFormState.js.map +1 -1
- package/mobile/dist/components/ApplicationLeadForm/getLeadFormTaskData.d.ts +1 -1
- package/mobile/dist/components/ApplicationLeadForm/getLeadFormTaskData.js.map +1 -1
- package/mobile/dist/components/ApplicationLeadForm/pasreEsiaProfile.d.ts +1 -1
- package/mobile/dist/components/ApplicationLeadForm/pasreEsiaProfile.js.map +1 -1
- package/mobile/dist/components/ApplicationLeadForm/renderInputs.d.ts +2 -0
- package/{dist/components/ApplicationForm → mobile/dist/components/ApplicationLeadForm}/renderInputs.js +4 -3
- package/mobile/dist/components/ApplicationLeadForm/renderInputs.js.map +1 -0
- package/mobile/dist/components/ApplicationLeadForm/useApplicationLeadApi.d.ts +1 -1
- package/mobile/dist/components/ApplicationLeadForm/useApplicationLeadApi.js +1 -1
- package/mobile/dist/components/ApplicationLeadForm/useApplicationLeadApi.js.map +1 -1
- package/mobile/dist/components/ApplicationLeadForm/useInitApplicationLead.d.ts +1 -1
- package/mobile/dist/components/ApplicationLeadForm/useInitApplicationLead.js.map +1 -1
- package/mobile/dist/components/ApplicationLeadForm/useLeadFormStore.d.ts +1 -1
- package/mobile/dist/components/ApplicationLeadForm/useSaveUserData.d.ts +1 -1
- package/mobile/dist/components/CreditCardForm/CreditCardFormContent.d.ts +1 -1
- package/mobile/dist/components/CreditCardForm/formStateMap.d.ts +1 -1
- package/mobile/dist/components/CreditCardForm/formStateMap.js +1 -1
- package/mobile/dist/components/CreditCardForm/formStateMap.js.map +1 -1
- package/mobile/dist/components/CreditCardForm/getCreditCardFormTaskData.d.ts +1 -1
- package/mobile/dist/components/CreditCardForm/getDeliveryCreditCardData.d.ts +1 -1
- package/mobile/dist/components/CreditCardForm/getDeliveryCreditCardData.js.map +1 -1
- package/mobile/dist/components/CreditCardForm/getInitialFormState.d.ts +1 -1
- package/mobile/dist/components/CreditCardForm/renderInputs.d.ts +2 -2
- package/mobile/dist/components/CreditCardForm/renderInputs.js +2 -1
- package/mobile/dist/components/CreditCardForm/renderInputs.js.map +1 -1
- package/mobile/dist/components/CreditCardForm/renderStep.d.ts +1 -1
- package/mobile/dist/components/CreditCardForm/renderStep.js +1 -1
- package/mobile/dist/components/CreditCardForm/renderStep.js.map +1 -1
- package/mobile/dist/components/CreditCardForm/useCreditCardFormAPI.d.ts +1 -1
- package/mobile/dist/components/CreditCardForm/useCreditCardFormAPI.js +1 -1
- package/mobile/dist/components/CreditCardForm/useCreditCardFormAPI.js.map +1 -1
- package/mobile/dist/components/CreditForm/formStateMap.d.ts +1 -1
- package/mobile/dist/components/CreditForm/getCalcData.d.ts +1 -1
- package/mobile/dist/components/CreditForm/getInitialFormState.d.ts +1 -1
- package/mobile/dist/components/CreditForm/renderInfo.d.ts +1 -1
- package/mobile/dist/components/CreditForm/renderInfo.js.map +1 -1
- package/mobile/dist/components/CreditForm/renderInputs.d.ts +2 -2
- package/mobile/dist/components/CreditForm/renderInputs.js +2 -1
- package/mobile/dist/components/CreditForm/renderInputs.js.map +1 -1
- package/mobile/dist/components/CreditForm/renderStep.d.ts +1 -1
- package/mobile/dist/components/CreditForm/renderStep.js +1 -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 +1 -1
- package/mobile/dist/components/CreditForm/useCreditFormAPI.js.map +1 -1
- package/mobile/dist/components/CreditForm/utils.d.ts +1 -1
- package/mobile/dist/hooks/useCreditFormStore.d.ts +0 -0
- package/mobile/dist/hooks/useCreditFormStore.js +1 -0
- package/mobile/dist/hooks/useCreditFormStore.js.map +1 -0
- package/mobile/dist/hooks/useLeadFormData.d.ts +2 -2
- package/mobile/dist/hooks/useLeadFormData.js.map +1 -1
- package/mobile/dist/hooks/useRetailFormStore.d.ts +10 -10
- package/mobile/dist/services/retail/adaptors/getAdditionalInfoData.d.ts +1 -1
- package/mobile/dist/services/retail/adaptors/getCalculatorData.d.ts +1 -1
- package/mobile/dist/services/retail/adaptors/getCardOptionsData.d.ts +1 -1
- package/mobile/dist/services/retail/adaptors/getCreditFormTaskData.d.ts +1 -1
- package/mobile/dist/services/retail/adaptors/getDeliveryCreditData.d.ts +1 -1
- package/mobile/dist/services/retail/adaptors/getEmploymentData.d.ts +1 -1
- package/mobile/dist/services/retail/adaptors/getFamilyStatusAndIncomeData.d.ts +1 -1
- package/mobile/dist/services/retail/adaptors/getFamilyStatusAndIncomeData.js +1 -1
- package/mobile/dist/services/retail/adaptors/getFamilyStatusAndIncomeData.js.map +1 -1
- package/mobile/dist/services/retail/adaptors/getPersonalInfoData.d.ts +1 -1
- package/mobile/dist/services/retail/external/types.d.ts +10 -0
- package/mobile/dist/services/retail/external/types.js +2 -0
- package/mobile/dist/services/retail/external/types.js.map +1 -0
- package/mobile/dist/services/retail/external/utils.d.ts +2 -0
- package/mobile/dist/services/retail/external/utils.js +7 -0
- package/mobile/dist/services/retail/external/utils.js.map +1 -0
- package/mobile/dist/services/retail/inputs.d.ts +75 -0
- package/mobile/dist/services/retail/inputs.js +137 -0
- package/mobile/dist/services/retail/inputs.js.map +1 -0
- package/mobile/dist/services/retail/model/EOrganizationActivityTypes.js.map +1 -0
- package/mobile/dist/services/retail/model/LeadFormData.d.ts +7 -0
- package/mobile/dist/services/retail/model/LeadFormData.js.map +1 -0
- package/mobile/dist/services/retail/model/LeadFormState.d.ts +146 -0
- package/mobile/dist/services/retail/model/LeadFormState.js.map +1 -0
- package/mobile/dist/services/retail/model/RetailFormContent.d.ts +63 -0
- package/mobile/dist/services/retail/model/RetailFormContent.js +4 -0
- package/mobile/dist/services/retail/model/RetailFormContent.js.map +1 -0
- package/mobile/dist/services/retail/utils/calculateInputs.d.ts +5 -0
- package/mobile/dist/services/retail/utils/calculateInputs.js.map +1 -0
- package/mobile/dist/services/retail/utils/getOrganizationParams.d.ts +17 -0
- package/mobile/dist/services/retail/utils/getOrganizationParams.js.map +1 -0
- package/mobile/dist/services/retail/utils/getUpdateUserProfile.d.ts +3 -0
- package/mobile/dist/{api/RetailAPI → services/retail}/utils/getUpdateUserProfile.js +3 -4
- package/mobile/dist/services/retail/utils/getUpdateUserProfile.js.map +1 -0
- package/mobile/dist/ui-kit/DraftDialog/parseDraftTask.d.ts +1 -1
- package/mobile/dist/ui-kit/DraftDialog/utils.d.ts +2 -2
- package/mobile/dist/ui-kit/DraftDialog/utils.js.map +1 -1
- package/mobile/dist/ui-kit/FormField/CustomFieldProps.d.ts +1 -1
- package/mobile/dist/ui-kit/FormField/Fields/AddressBranchField.js.map +1 -1
- package/mobile/dist/ui-kit/FormField/Fields/DesiredMeetingDateField.js +1 -1
- package/mobile/dist/ui-kit/FormField/Fields/DesiredMeetingDateField.js.map +1 -1
- package/mobile/dist/ui-kit/FormField/Fields/consentToReceiveMaterialsField.d.ts +2 -0
- package/mobile/dist/ui-kit/FormField/Fields/consentToReceiveMaterialsField.js +10 -0
- package/mobile/dist/ui-kit/FormField/Fields/consentToReceiveMaterialsField.js.map +1 -0
- package/mobile/dist/ui-kit/FormField/NameFieldDef.d.ts +6 -1
- package/mobile/dist/ui-kit/FormField/SelectField.d.ts +2 -2
- package/mobile/dist/ui-kit/FormField/SelectField.js.map +1 -1
- package/mobile/dist/ui-kit/FormField/getField.d.ts +2 -1
- package/mobile/dist/ui-kit/FormField/getField.js +4 -131
- package/mobile/dist/ui-kit/FormField/getField.js.map +1 -1
- package/mobile/dist/ui-kit/FormField/getNamesFromInput.d.ts +1 -1
- package/mobile/dist/ui-kit/FormField/getObjectValidator.d.ts +1 -1
- package/mobile/dist/ui-kit/FormField/getObjectValidator.js +70 -60
- package/mobile/dist/ui-kit/FormField/getObjectValidator.js.map +1 -1
- package/mobile/dist/ui-kit/FormField/getPremium.d.ts +1 -1
- package/mobile/dist/ui-kit/FormField/updateOrganizationFields.js +1 -1
- package/mobile/dist/ui-kit/FormField/updateOrganizationFields.js.map +1 -1
- package/mobile/dist/ui-kit/FormField/validators.d.ts +1 -1
- package/mobile/lib/components/ApplicationLeadForm/ApplicationLeadForm.js +1 -1
- package/mobile/lib/components/ApplicationLeadForm/ApplicationLeadForm.js.map +1 -1
- package/mobile/lib/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +0 -9
- package/mobile/lib/components/ApplicationLeadForm/GroupedConsents.d.ts +8 -1
- package/mobile/lib/components/ApplicationLeadForm/GroupedConsents.js +2 -1
- package/mobile/lib/components/ApplicationLeadForm/GroupedConsents.js.map +1 -1
- package/mobile/lib/components/ApplicationLeadForm/consents.d.ts +2 -2
- package/mobile/lib/components/ApplicationLeadForm/consents.js +0 -3
- package/mobile/lib/components/ApplicationLeadForm/consents.js.map +1 -1
- package/mobile/lib/components/ApplicationLeadForm/getInitialFormState.d.ts +1 -1
- package/mobile/lib/components/ApplicationLeadForm/getInitialFormState.js +0 -2
- package/mobile/lib/components/ApplicationLeadForm/getInitialFormState.js.map +1 -1
- package/mobile/lib/components/ApplicationLeadForm/getLeadFormTaskData.d.ts +1 -1
- package/mobile/lib/components/ApplicationLeadForm/getLeadFormTaskData.js.map +1 -1
- package/mobile/lib/components/ApplicationLeadForm/pasreEsiaProfile.d.ts +1 -1
- package/mobile/lib/components/ApplicationLeadForm/pasreEsiaProfile.js.map +1 -1
- package/mobile/lib/components/ApplicationLeadForm/renderInputs.d.ts +2 -0
- package/mobile/lib/components/{ApplicationForm → ApplicationLeadForm}/renderInputs.js +4 -3
- package/mobile/lib/components/ApplicationLeadForm/renderInputs.js.map +1 -0
- package/mobile/lib/components/ApplicationLeadForm/useApplicationLeadApi.d.ts +1 -1
- package/mobile/lib/components/ApplicationLeadForm/useApplicationLeadApi.js +1 -1
- package/mobile/lib/components/ApplicationLeadForm/useApplicationLeadApi.js.map +1 -1
- package/mobile/lib/components/ApplicationLeadForm/useInitApplicationLead.d.ts +1 -1
- package/mobile/lib/components/ApplicationLeadForm/useInitApplicationLead.js.map +1 -1
- package/mobile/lib/components/ApplicationLeadForm/useLeadFormStore.d.ts +1 -1
- package/mobile/lib/components/ApplicationLeadForm/useSaveUserData.d.ts +1 -1
- package/mobile/lib/components/CreditCardForm/CreditCardFormContent.d.ts +1 -1
- package/mobile/lib/components/CreditCardForm/formStateMap.d.ts +1 -1
- package/mobile/lib/components/CreditCardForm/formStateMap.js +1 -1
- package/mobile/lib/components/CreditCardForm/formStateMap.js.map +1 -1
- package/mobile/lib/components/CreditCardForm/getCreditCardFormTaskData.d.ts +1 -1
- package/mobile/lib/components/CreditCardForm/getDeliveryCreditCardData.d.ts +1 -1
- package/mobile/lib/components/CreditCardForm/getDeliveryCreditCardData.js.map +1 -1
- package/mobile/lib/components/CreditCardForm/getInitialFormState.d.ts +1 -1
- package/mobile/lib/components/CreditCardForm/renderInputs.d.ts +2 -2
- package/mobile/lib/components/CreditCardForm/renderInputs.js +2 -1
- package/mobile/lib/components/CreditCardForm/renderInputs.js.map +1 -1
- package/mobile/lib/components/CreditCardForm/renderStep.d.ts +1 -1
- package/mobile/lib/components/CreditCardForm/renderStep.js +1 -1
- package/mobile/lib/components/CreditCardForm/renderStep.js.map +1 -1
- package/mobile/lib/components/CreditCardForm/useCreditCardFormAPI.d.ts +1 -1
- package/mobile/lib/components/CreditCardForm/useCreditCardFormAPI.js +1 -1
- package/mobile/lib/components/CreditCardForm/useCreditCardFormAPI.js.map +1 -1
- package/mobile/lib/components/CreditForm/formStateMap.d.ts +1 -1
- package/mobile/lib/components/CreditForm/getCalcData.d.ts +1 -1
- package/mobile/lib/components/CreditForm/getInitialFormState.d.ts +1 -1
- package/mobile/lib/components/CreditForm/renderInfo.d.ts +1 -1
- package/mobile/lib/components/CreditForm/renderInfo.js.map +1 -1
- package/mobile/lib/components/CreditForm/renderInputs.d.ts +2 -2
- package/mobile/lib/components/CreditForm/renderInputs.js +2 -1
- package/mobile/lib/components/CreditForm/renderInputs.js.map +1 -1
- package/mobile/lib/components/CreditForm/renderStep.d.ts +1 -1
- package/mobile/lib/components/CreditForm/renderStep.js +1 -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 +1 -1
- package/mobile/lib/components/CreditForm/useCreditFormAPI.js.map +1 -1
- package/mobile/lib/components/CreditForm/utils.d.ts +1 -1
- package/mobile/lib/hooks/useCreditFormStore.d.ts +0 -0
- package/mobile/lib/hooks/useCreditFormStore.js +1 -0
- package/mobile/lib/hooks/useCreditFormStore.js.map +1 -0
- package/mobile/lib/hooks/useLeadFormData.d.ts +2 -2
- package/mobile/lib/hooks/useLeadFormData.js.map +1 -1
- package/mobile/lib/hooks/useRetailFormStore.d.ts +10 -10
- package/mobile/lib/services/retail/adaptors/getAdditionalInfoData.d.ts +1 -1
- package/mobile/lib/services/retail/adaptors/getCalculatorData.d.ts +1 -1
- package/mobile/lib/services/retail/adaptors/getCardOptionsData.d.ts +1 -1
- package/mobile/lib/services/retail/adaptors/getCreditFormTaskData.d.ts +1 -1
- package/mobile/lib/services/retail/adaptors/getDeliveryCreditData.d.ts +1 -1
- package/mobile/lib/services/retail/adaptors/getEmploymentData.d.ts +1 -1
- package/mobile/lib/services/retail/adaptors/getFamilyStatusAndIncomeData.d.ts +1 -1
- package/mobile/lib/services/retail/adaptors/getFamilyStatusAndIncomeData.js +1 -1
- package/mobile/lib/services/retail/adaptors/getFamilyStatusAndIncomeData.js.map +1 -1
- package/mobile/lib/services/retail/adaptors/getPersonalInfoData.d.ts +1 -1
- package/mobile/lib/services/retail/external/types.d.ts +10 -0
- package/mobile/lib/services/retail/external/types.js +2 -0
- package/mobile/lib/services/retail/external/types.js.map +1 -0
- package/mobile/lib/services/retail/external/utils.d.ts +2 -0
- package/mobile/lib/services/retail/external/utils.js +3 -0
- package/mobile/lib/services/retail/external/utils.js.map +1 -0
- package/mobile/lib/services/retail/inputs.d.ts +75 -0
- package/mobile/lib/services/retail/inputs.js +135 -0
- package/mobile/lib/services/retail/inputs.js.map +1 -0
- package/mobile/lib/services/retail/model/EOrganizationActivityTypes.js.map +1 -0
- package/mobile/lib/services/retail/model/LeadFormData.d.ts +7 -0
- package/mobile/lib/services/retail/model/LeadFormData.js.map +1 -0
- package/mobile/lib/services/retail/model/LeadFormState.d.ts +146 -0
- package/mobile/lib/services/retail/model/LeadFormState.js.map +1 -0
- package/mobile/lib/services/retail/model/RetailFormContent.d.ts +63 -0
- package/mobile/lib/services/retail/model/RetailFormContent.js +4 -0
- package/mobile/lib/services/retail/model/RetailFormContent.js.map +1 -0
- package/mobile/lib/services/retail/utils/calculateInputs.d.ts +5 -0
- package/mobile/lib/services/retail/utils/calculateInputs.js.map +1 -0
- package/mobile/lib/services/retail/utils/getOrganizationParams.d.ts +17 -0
- package/mobile/lib/services/retail/utils/getOrganizationParams.js.map +1 -0
- package/mobile/lib/services/retail/utils/getUpdateUserProfile.d.ts +3 -0
- package/{lib/api/RetailAPI → mobile/lib/services/retail}/utils/getUpdateUserProfile.js +1 -2
- package/mobile/lib/services/retail/utils/getUpdateUserProfile.js.map +1 -0
- package/mobile/lib/ui-kit/DraftDialog/parseDraftTask.d.ts +1 -1
- package/mobile/lib/ui-kit/DraftDialog/utils.d.ts +2 -2
- package/mobile/lib/ui-kit/DraftDialog/utils.js.map +1 -1
- package/mobile/lib/ui-kit/FormField/CustomFieldProps.d.ts +1 -1
- package/mobile/lib/ui-kit/FormField/Fields/AddressBranchField.js.map +1 -1
- package/mobile/lib/ui-kit/FormField/Fields/DesiredMeetingDateField.js +1 -1
- package/mobile/lib/ui-kit/FormField/Fields/DesiredMeetingDateField.js.map +1 -1
- package/mobile/lib/ui-kit/FormField/Fields/consentToReceiveMaterialsField.d.ts +2 -0
- package/mobile/lib/ui-kit/FormField/Fields/consentToReceiveMaterialsField.js +8 -0
- package/mobile/lib/ui-kit/FormField/Fields/consentToReceiveMaterialsField.js.map +1 -0
- package/mobile/lib/ui-kit/FormField/NameFieldDef.d.ts +6 -1
- package/mobile/lib/ui-kit/FormField/SelectField.d.ts +2 -2
- package/mobile/lib/ui-kit/FormField/SelectField.js.map +1 -1
- package/mobile/lib/ui-kit/FormField/getField.d.ts +2 -1
- package/mobile/lib/ui-kit/FormField/getField.js +4 -131
- package/mobile/lib/ui-kit/FormField/getField.js.map +1 -1
- package/mobile/lib/ui-kit/FormField/getNamesFromInput.d.ts +1 -1
- package/mobile/lib/ui-kit/FormField/getObjectValidator.d.ts +1 -1
- package/mobile/lib/ui-kit/FormField/getObjectValidator.js +71 -61
- package/mobile/lib/ui-kit/FormField/getObjectValidator.js.map +1 -1
- package/mobile/lib/ui-kit/FormField/getPremium.d.ts +1 -1
- package/mobile/lib/ui-kit/FormField/updateOrganizationFields.js +1 -1
- package/mobile/lib/ui-kit/FormField/updateOrganizationFields.js.map +1 -1
- package/mobile/lib/ui-kit/FormField/validators.d.ts +1 -1
- package/mobile/src/components/ApplicationLeadForm/ApplicationLeadForm.tsx +1 -1
- package/mobile/src/components/ApplicationLeadForm/ApplicationLeadFormContent.ts +0 -10
- package/mobile/src/components/ApplicationLeadForm/GroupedConsents.tsx +14 -4
- package/mobile/src/components/ApplicationLeadForm/consents.ts +2 -5
- package/mobile/src/components/ApplicationLeadForm/getInitialFormState.tsx +1 -3
- package/mobile/src/components/ApplicationLeadForm/getLeadFormTaskData.ts +1 -1
- package/mobile/src/components/ApplicationLeadForm/pasreEsiaProfile.ts +1 -1
- package/mobile/src/components/{ApplicationForm → ApplicationLeadForm}/renderInputs.tsx +6 -8
- package/mobile/src/components/ApplicationLeadForm/useApplicationLeadApi.tsx +2 -2
- package/mobile/src/components/ApplicationLeadForm/useInitApplicationLead.ts +1 -1
- package/mobile/src/components/ApplicationLeadForm/useLeadFormStore.ts +1 -1
- package/mobile/src/components/ApplicationLeadForm/useSaveUserData.ts +1 -1
- package/mobile/src/components/CreditCardForm/CreditCardFormContent.ts +1 -1
- package/mobile/src/components/CreditCardForm/formStateMap.tsx +2 -2
- package/mobile/src/components/CreditCardForm/getCreditCardFormTaskData.ts +1 -1
- package/mobile/src/components/CreditCardForm/getDeliveryCreditCardData.ts +1 -1
- package/mobile/src/components/CreditCardForm/getInitialFormState.tsx +1 -1
- package/mobile/src/components/CreditCardForm/renderInputs.tsx +4 -3
- package/mobile/src/components/CreditCardForm/renderStep.tsx +6 -2
- package/mobile/src/components/CreditCardForm/useCreditCardFormAPI.tsx +2 -2
- package/mobile/src/components/CreditForm/CreditFormStep.tsx +1 -1
- package/mobile/src/components/CreditForm/formStateMap.tsx +1 -1
- package/mobile/src/components/CreditForm/getCalcData.ts +1 -1
- package/mobile/src/components/CreditForm/getInitialFormState.tsx +1 -1
- package/mobile/src/components/CreditForm/renderInfo.tsx +1 -1
- package/mobile/src/components/CreditForm/renderInputs.tsx +4 -3
- package/mobile/src/components/CreditForm/renderStep.tsx +2 -2
- package/mobile/src/components/CreditForm/useCreditFormAPI.tsx +3 -3
- package/mobile/src/components/CreditForm/utils.ts +1 -1
- package/mobile/src/hooks/useCreditFormStore.tsx +0 -0
- package/mobile/src/hooks/useLeadFormData.ts +4 -4
- package/mobile/src/hooks/useRetailFormStore.tsx +5 -5
- package/mobile/src/services/retail/adaptors/getAdditionalInfoData.ts +1 -1
- package/mobile/src/services/retail/adaptors/getCalculatorData.ts +1 -1
- package/mobile/src/services/retail/adaptors/getCardOptionsData.tsx +1 -1
- package/mobile/src/services/retail/adaptors/getCreditFormTaskData.ts +1 -1
- package/mobile/src/services/retail/adaptors/getDeliveryCreditData.ts +1 -1
- package/mobile/src/services/retail/adaptors/getEmploymentData.tsx +1 -1
- package/mobile/src/services/retail/adaptors/getFamilyStatusAndIncomeData.ts +2 -2
- package/mobile/src/services/retail/adaptors/getPersonalInfoData.tsx +1 -1
- package/mobile/src/services/retail/external/types.ts +10 -0
- package/mobile/src/services/retail/external/utils.ts +2 -0
- package/mobile/src/services/retail/inputs.tsx +140 -0
- package/mobile/src/{api/RetailAPI → services/retail}/model/LeadFormData.ts +1 -1
- package/mobile/src/{components/ApplicationLeadForm → services/retail/model}/LeadFormState.ts +20 -18
- package/mobile/src/services/retail/model/RetailFormContent.ts +101 -0
- package/mobile/src/{components/CreditCardForm → services/retail/utils}/calculateInputs.ts +4 -4
- package/mobile/src/{api/RetailAPI → services/retail}/utils/getOrganizationParams.ts +6 -6
- package/mobile/src/{api/RetailAPI → services/retail}/utils/getUpdateUserProfile.ts +3 -4
- package/mobile/src/ui-kit/DraftDialog/parseDraftTask.ts +1 -1
- package/mobile/src/ui-kit/DraftDialog/utils.ts +2 -2
- package/mobile/src/ui-kit/FormField/CustomFieldProps.ts +2 -2
- package/mobile/src/ui-kit/FormField/Fields/AddressBranchField.tsx +1 -1
- package/mobile/src/ui-kit/FormField/Fields/DesiredMeetingDateField.tsx +5 -1
- package/mobile/src/ui-kit/FormField/Fields/EmailField.tsx +1 -1
- package/mobile/src/ui-kit/FormField/Fields/PartnerCommentsField.tsx +1 -1
- package/mobile/src/ui-kit/FormField/Fields/consentToReceiveMaterialsField.tsx +14 -0
- package/mobile/src/ui-kit/FormField/NameFieldDef.ts +76 -63
- package/mobile/src/ui-kit/FormField/SelectField.tsx +3 -3
- package/mobile/src/ui-kit/FormField/getField.tsx +11 -135
- package/mobile/src/ui-kit/FormField/getNamesFromInput.tsx +1 -1
- package/mobile/src/ui-kit/FormField/getObjectValidator.tsx +75 -62
- package/mobile/src/ui-kit/FormField/getPremium.tsx +1 -1
- package/mobile/src/ui-kit/FormField/updateOrganizationFields.ts +3 -3
- package/mobile/src/ui-kit/FormField/validators.ts +1 -1
- package/package.json +1 -1
- package/src/components/ApplicationLeadForm/ApplicationLeadForm.tsx +1 -1
- package/src/components/ApplicationLeadForm/ApplicationLeadFormContent.ts +0 -10
- package/src/components/ApplicationLeadForm/GroupedConsents.tsx +14 -4
- package/src/components/ApplicationLeadForm/consents.ts +2 -5
- package/src/components/ApplicationLeadForm/getInitialFormState.tsx +1 -3
- package/src/components/ApplicationLeadForm/getLeadFormTaskData.ts +1 -1
- package/src/components/ApplicationLeadForm/pasreEsiaProfile.ts +1 -1
- package/src/components/{ApplicationForm → ApplicationLeadForm}/renderInputs.tsx +6 -8
- package/src/components/ApplicationLeadForm/useApplicationLeadApi.tsx +2 -2
- package/src/components/ApplicationLeadForm/useInitApplicationLead.ts +1 -1
- package/src/components/ApplicationLeadForm/useLeadFormStore.ts +1 -1
- package/src/components/ApplicationLeadForm/useSaveUserData.ts +1 -1
- package/src/components/CreditCardForm/CreditCardFormContent.ts +1 -1
- package/src/components/CreditCardForm/formStateMap.tsx +2 -2
- package/src/components/CreditCardForm/getCreditCardFormTaskData.ts +1 -1
- package/src/components/CreditCardForm/getDeliveryCreditCardData.ts +1 -1
- package/src/components/CreditCardForm/getInitialFormState.tsx +1 -1
- package/src/components/CreditCardForm/renderInputs.tsx +4 -3
- package/src/components/CreditCardForm/renderStep.tsx +6 -2
- package/src/components/CreditCardForm/useCreditCardFormAPI.tsx +2 -2
- package/src/components/CreditForm/CreditFormStep.tsx +1 -1
- package/src/components/CreditForm/formStateMap.tsx +1 -1
- package/src/components/CreditForm/getCalcData.ts +1 -1
- package/src/components/CreditForm/getInitialFormState.tsx +1 -1
- package/src/components/CreditForm/renderInfo.tsx +1 -1
- package/src/components/CreditForm/renderInputs.tsx +4 -3
- package/src/components/CreditForm/renderStep.tsx +2 -2
- package/src/components/CreditForm/useCreditFormAPI.tsx +3 -3
- package/src/components/CreditForm/utils.ts +1 -1
- package/src/hooks/useCreditFormStore.tsx +0 -0
- package/src/hooks/useLeadFormData.ts +4 -4
- package/src/hooks/useRetailFormStore.tsx +5 -5
- package/src/icons/IconName.ts +4 -4
- package/src/services/retail/adaptors/getAdditionalInfoData.ts +1 -1
- package/src/services/retail/adaptors/getCalculatorData.ts +1 -1
- package/src/services/retail/adaptors/getCardOptionsData.tsx +1 -1
- package/src/services/retail/adaptors/getCreditFormTaskData.ts +1 -1
- package/src/services/retail/adaptors/getDeliveryCreditData.ts +1 -1
- package/src/services/retail/adaptors/getEmploymentData.tsx +1 -1
- package/src/services/retail/adaptors/getFamilyStatusAndIncomeData.ts +2 -2
- package/src/services/retail/adaptors/getPersonalInfoData.tsx +1 -1
- package/src/services/retail/external/types.ts +10 -0
- package/src/services/retail/external/utils.ts +2 -0
- package/src/services/retail/inputs.tsx +140 -0
- package/src/{api/RetailAPI → services/retail}/model/LeadFormData.ts +1 -1
- package/src/{components/ApplicationLeadForm → services/retail/model}/LeadFormState.ts +20 -18
- package/src/services/retail/model/RetailFormContent.ts +101 -0
- package/{mobile/src/components/CreditForm → src/services/retail/utils}/calculateInputs.ts +4 -4
- package/src/{api/RetailAPI → services/retail}/utils/getOrganizationParams.ts +6 -6
- package/src/{api/RetailAPI → services/retail}/utils/getUpdateUserProfile.ts +3 -4
- package/src/ui-kit/DraftDialog/parseDraftTask.ts +1 -1
- package/src/ui-kit/DraftDialog/utils.ts +2 -2
- package/src/ui-kit/FormField/CustomFieldProps.ts +2 -2
- package/src/ui-kit/FormField/Fields/AddressBranchField.tsx +1 -1
- package/src/ui-kit/FormField/Fields/DesiredMeetingDateField.tsx +5 -1
- package/src/ui-kit/FormField/Fields/EmailField.tsx +1 -1
- package/src/ui-kit/FormField/Fields/PartnerCommentsField.tsx +1 -1
- package/src/ui-kit/FormField/Fields/consentToReceiveMaterialsField.tsx +14 -0
- package/src/ui-kit/FormField/NameFieldDef.ts +76 -63
- package/src/ui-kit/FormField/SelectField.tsx +3 -3
- package/src/ui-kit/FormField/getField.tsx +11 -135
- package/src/ui-kit/FormField/getNamesFromInput.tsx +1 -1
- package/src/ui-kit/FormField/getObjectValidator.tsx +75 -62
- package/src/ui-kit/FormField/getPremium.tsx +1 -1
- package/src/ui-kit/FormField/updateOrganizationFields.ts +3 -3
- package/src/ui-kit/FormField/validators.ts +1 -1
- package/bundle/api/RetailAPI/utils/getOrganizationParams.d.ts +0 -17
- package/bundle/api/RetailAPI/utils/getUpdateUserProfile.d.ts +0 -3
- package/dist/api/RetailAPI/model/EOrganizationActivityTypes.js.map +0 -1
- package/dist/api/RetailAPI/model/LeadFormData.js.map +0 -1
- package/dist/api/RetailAPI/utils/getOrganizationParams.d.ts +0 -17
- package/dist/api/RetailAPI/utils/getOrganizationParams.js.map +0 -1
- package/dist/api/RetailAPI/utils/getUpdateUserProfile.d.ts +0 -3
- package/dist/api/RetailAPI/utils/getUpdateUserProfile.js.map +0 -1
- package/dist/components/ApplicationForm/renderInputs.js.map +0 -1
- package/dist/components/ApplicationLeadForm/LeadFormState.js.map +0 -1
- package/dist/components/CreditCardForm/calculateInputs.js.map +0 -1
- package/dist/components/CreditForm/calculateInputs.js.map +0 -1
- package/lib/api/RetailAPI/model/EOrganizationActivityTypes.js.map +0 -1
- package/lib/api/RetailAPI/model/LeadFormData.js.map +0 -1
- package/lib/api/RetailAPI/utils/getOrganizationParams.d.ts +0 -17
- package/lib/api/RetailAPI/utils/getOrganizationParams.js.map +0 -1
- package/lib/api/RetailAPI/utils/getUpdateUserProfile.d.ts +0 -3
- package/lib/api/RetailAPI/utils/getUpdateUserProfile.js.map +0 -1
- package/lib/components/ApplicationForm/renderInputs.js.map +0 -1
- package/lib/components/ApplicationLeadForm/LeadFormState.js.map +0 -1
- package/lib/components/CreditCardForm/calculateInputs.d.ts +0 -5
- package/lib/components/CreditCardForm/calculateInputs.js.map +0 -1
- package/lib/components/CreditForm/calculateInputs.d.ts +0 -5
- package/lib/components/CreditForm/calculateInputs.js.map +0 -1
- package/mobile/bundle/api/RetailAPI/utils/getOrganizationParams.d.ts +0 -17
- package/mobile/bundle/api/RetailAPI/utils/getUpdateUserProfile.d.ts +0 -3
- package/mobile/bundle/components/CreditCardForm/calculateInputs.d.ts +0 -5
- package/mobile/bundle/components/CreditForm/calculateInputs.d.ts +0 -5
- package/mobile/dist/api/RetailAPI/model/EOrganizationActivityTypes.js.map +0 -1
- package/mobile/dist/api/RetailAPI/model/LeadFormData.d.ts +0 -7
- package/mobile/dist/api/RetailAPI/model/LeadFormData.js.map +0 -1
- package/mobile/dist/api/RetailAPI/utils/getOrganizationParams.d.ts +0 -17
- package/mobile/dist/api/RetailAPI/utils/getOrganizationParams.js.map +0 -1
- package/mobile/dist/api/RetailAPI/utils/getUpdateUserProfile.d.ts +0 -3
- package/mobile/dist/api/RetailAPI/utils/getUpdateUserProfile.js.map +0 -1
- package/mobile/dist/components/ApplicationForm/renderInputs.d.ts +0 -2
- package/mobile/dist/components/ApplicationForm/renderInputs.js.map +0 -1
- package/mobile/dist/components/ApplicationLeadForm/LeadFormState.d.ts +0 -146
- package/mobile/dist/components/ApplicationLeadForm/LeadFormState.js.map +0 -1
- package/mobile/dist/components/CreditCardForm/calculateInputs.d.ts +0 -5
- package/mobile/dist/components/CreditCardForm/calculateInputs.js +0 -31
- package/mobile/dist/components/CreditCardForm/calculateInputs.js.map +0 -1
- package/mobile/dist/components/CreditForm/calculateInputs.d.ts +0 -5
- package/mobile/dist/components/CreditForm/calculateInputs.js +0 -31
- package/mobile/dist/components/CreditForm/calculateInputs.js.map +0 -1
- package/mobile/lib/api/RetailAPI/model/EOrganizationActivityTypes.js.map +0 -1
- package/mobile/lib/api/RetailAPI/model/LeadFormData.d.ts +0 -7
- package/mobile/lib/api/RetailAPI/model/LeadFormData.js.map +0 -1
- package/mobile/lib/api/RetailAPI/utils/getOrganizationParams.d.ts +0 -17
- package/mobile/lib/api/RetailAPI/utils/getOrganizationParams.js.map +0 -1
- package/mobile/lib/api/RetailAPI/utils/getUpdateUserProfile.d.ts +0 -3
- package/mobile/lib/api/RetailAPI/utils/getUpdateUserProfile.js.map +0 -1
- package/mobile/lib/components/ApplicationForm/renderInputs.d.ts +0 -2
- package/mobile/lib/components/ApplicationForm/renderInputs.js.map +0 -1
- package/mobile/lib/components/ApplicationLeadForm/LeadFormState.d.ts +0 -146
- package/mobile/lib/components/ApplicationLeadForm/LeadFormState.js.map +0 -1
- package/mobile/lib/components/CreditCardForm/calculateInputs.d.ts +0 -5
- package/mobile/lib/components/CreditCardForm/calculateInputs.js +0 -27
- package/mobile/lib/components/CreditCardForm/calculateInputs.js.map +0 -1
- package/mobile/lib/components/CreditForm/calculateInputs.d.ts +0 -5
- package/mobile/lib/components/CreditForm/calculateInputs.js +0 -27
- package/mobile/lib/components/CreditForm/calculateInputs.js.map +0 -1
- package/src/components/CreditCardForm/calculateInputs.ts +0 -51
- package/src/components/CreditForm/calculateInputs.ts +0 -51
- /package/bundle/{api/RetailAPI → services/retail}/model/EOrganizationActivityTypes.d.ts +0 -0
- /package/dist/{api/RetailAPI → services/retail}/model/EOrganizationActivityTypes.d.ts +0 -0
- /package/dist/{api/RetailAPI → services/retail}/model/EOrganizationActivityTypes.js +0 -0
- /package/dist/{api/RetailAPI → services/retail}/model/LeadFormData.js +0 -0
- /package/dist/{components/ApplicationLeadForm → services/retail/model}/LeadFormState.js +0 -0
- /package/dist/{components/CreditCardForm → services/retail/utils}/calculateInputs.js +0 -0
- /package/dist/{api/RetailAPI → services/retail}/utils/getOrganizationParams.js +0 -0
- /package/lib/{api/RetailAPI → services/retail}/model/EOrganizationActivityTypes.d.ts +0 -0
- /package/lib/{api/RetailAPI → services/retail}/model/EOrganizationActivityTypes.js +0 -0
- /package/lib/{api/RetailAPI → services/retail}/model/LeadFormData.js +0 -0
- /package/lib/{components/ApplicationLeadForm → services/retail/model}/LeadFormState.js +0 -0
- /package/lib/{components/CreditCardForm → services/retail/utils}/calculateInputs.js +0 -0
- /package/lib/{api/RetailAPI → services/retail}/utils/getOrganizationParams.js +0 -0
- /package/mobile/bundle/{api/RetailAPI → services/retail}/model/EOrganizationActivityTypes.d.ts +0 -0
- /package/mobile/dist/{api/RetailAPI → services/retail}/model/EOrganizationActivityTypes.d.ts +0 -0
- /package/mobile/dist/{api/RetailAPI → services/retail}/model/EOrganizationActivityTypes.js +0 -0
- /package/mobile/dist/{api/RetailAPI → services/retail}/model/LeadFormData.js +0 -0
- /package/mobile/dist/{components/ApplicationLeadForm → services/retail/model}/LeadFormState.js +0 -0
- /package/{dist/components/CreditForm → mobile/dist/services/retail/utils}/calculateInputs.js +0 -0
- /package/mobile/dist/{api/RetailAPI → services/retail}/utils/getOrganizationParams.js +0 -0
- /package/mobile/lib/{api/RetailAPI → services/retail}/model/EOrganizationActivityTypes.d.ts +0 -0
- /package/mobile/lib/{api/RetailAPI → services/retail}/model/EOrganizationActivityTypes.js +0 -0
- /package/mobile/lib/{api/RetailAPI → services/retail}/model/LeadFormData.js +0 -0
- /package/mobile/lib/{components/ApplicationLeadForm → services/retail/model}/LeadFormState.js +0 -0
- /package/{lib/components/CreditForm → mobile/lib/services/retail/utils}/calculateInputs.js +0 -0
- /package/mobile/lib/{api/RetailAPI → services/retail}/utils/getOrganizationParams.js +0 -0
- /package/mobile/src/{api/RetailAPI → services/retail}/model/EOrganizationActivityTypes.ts +0 -0
- /package/src/{api/RetailAPI → services/retail}/model/EOrganizationActivityTypes.ts +0 -0
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
import { type FormFieldRegisterer } from '../../hooks/useForm';
|
|
2
1
|
import { type LabelProps, type TextProps, type TitleProps } from '../../model/HeadlineType';
|
|
3
2
|
import { type InputSectionsType } from '../../model/InputSectionsType';
|
|
4
3
|
import { type LinkButtonVersion } from '../../model/LinkButtonVersion';
|
|
5
4
|
import { type NameFieldDef } from '../../ui-kit/FormField/NameFieldDef';
|
|
6
5
|
import { type UniBlockContent } from '../../UniBlock/UniBlockProps';
|
|
7
|
-
import { type TypeFormFieldDef } from '../ApplicationForm/ApplicationFormContent';
|
|
8
|
-
import { type LeadFormState } from './LeadFormState';
|
|
9
6
|
interface Required {
|
|
10
7
|
/** @title Обязательно для заполнения */
|
|
11
8
|
required?: boolean;
|
|
@@ -75,10 +72,4 @@ export declare type ApplicationLeadFormContent = UniBlockContent & TitleProps &
|
|
|
75
72
|
/** @title адресс следующей страницы заявки */
|
|
76
73
|
nextStepLink?: string;
|
|
77
74
|
};
|
|
78
|
-
/** @hidden */
|
|
79
|
-
export interface GroupedConsentsProps {
|
|
80
|
-
inputs?: FieldDef[];
|
|
81
|
-
typeForm?: TypeFormFieldDef;
|
|
82
|
-
field: FormFieldRegisterer<LeadFormState>;
|
|
83
|
-
}
|
|
84
75
|
export {};
|
|
@@ -1,2 +1,9 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type FormFieldRegisterer } from '../../services/retail/external/types';
|
|
2
|
+
import { type LeadFormState } from '../../services/retail/model/LeadFormState';
|
|
3
|
+
import { type FieldDef, type TypeFormFieldDef } from '../../services/retail/model/RetailFormContent';
|
|
4
|
+
export interface GroupedConsentsProps {
|
|
5
|
+
inputs?: FieldDef[];
|
|
6
|
+
typeForm?: TypeFormFieldDef;
|
|
7
|
+
field: FormFieldRegisterer<LeadFormState>;
|
|
8
|
+
}
|
|
2
9
|
export declare const GroupedConsents: import("@redneckz/uni-jsx").UNIComponent<GroupedConsentsProps, any, any>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type FormRetailConsents } from '../../services/retail/model/LeadFormState';
|
|
2
2
|
interface ConsentData {
|
|
3
3
|
text: string;
|
|
4
4
|
docId?: number;
|
|
5
5
|
}
|
|
6
|
-
export declare const CONSENTS: Record<keyof
|
|
6
|
+
export declare const CONSENTS: Record<keyof FormRetailConsents, ConsentData>;
|
|
7
7
|
export {};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
+
import type { LeadFormState } from '../../services/retail/model/LeadFormState';
|
|
1
2
|
import { type FieldDef } from './ApplicationLeadFormContent';
|
|
2
|
-
import type { LeadFormState } from './LeadFormState';
|
|
3
3
|
export declare const getInitialFormState: (inputs: FieldDef[], savedForm: LeadFormState | null) => LeadFormState;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type UpdateUserTaskBody } from '../../api/RetailAPI/updateUserTask';
|
|
2
|
-
import { type LeadFormState } from '
|
|
2
|
+
import { type LeadFormState } from '../../services/retail/model/LeadFormState';
|
|
3
3
|
declare type getLeadFormTaskDataProps = {
|
|
4
4
|
participantId: number;
|
|
5
5
|
taskId: number;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { type UpdateProfileEsiaResponse } from '../../api/RetailAPI/updateProfileEsia';
|
|
2
|
-
import { type LeadFormState } from '
|
|
2
|
+
import { type LeadFormState } from '../../services/retail/model/LeadFormState';
|
|
3
3
|
export declare const parseEsiaProfile: (esiaProfile: UpdateProfileEsiaResponse) => LeadFormState;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type GroupedConsentsProps } from './GroupedConsents';
|
|
2
2
|
export declare const renderInputs: ({ field, typeForm, inputs }: GroupedConsentsProps) => any;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { type LeadFormState } from '../../services/retail/model/LeadFormState';
|
|
1
2
|
import { type FieldDef } from './ApplicationLeadFormContent';
|
|
2
|
-
import { type LeadFormState } from './LeadFormState';
|
|
3
3
|
interface ApplicationLeadApiProps {
|
|
4
4
|
inputs: FieldDef[];
|
|
5
5
|
programId: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { type LeadFormState } from '../../services/retail/model/LeadFormState';
|
|
1
2
|
import { type FieldDef } from './ApplicationLeadFormContent';
|
|
2
|
-
import { type LeadFormState } from './LeadFormState';
|
|
3
3
|
export declare const useInitApplicationLead: (inputs: FieldDef[], nextStepLink: string) => [LeadFormState, {
|
|
4
4
|
isLoading: boolean;
|
|
5
5
|
}];
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { type FormFieldRegisterer } from '../../hooks/useForm';
|
|
2
2
|
import { type TitleProps } from '../../model/HeadlineType';
|
|
3
3
|
import { type InputSectionsType } from '../../model/InputSectionsType';
|
|
4
|
+
import { type LeadFormState } from '../../services/retail/model/LeadFormState';
|
|
4
5
|
import { type UniBlockContent } from '../../UniBlock/UniBlockProps';
|
|
5
6
|
import { type SectionsProps } from '../ApplicationForm/ApplicationFormContent';
|
|
6
7
|
import { type FieldDef } from '../ApplicationLeadForm/ApplicationLeadFormContent';
|
|
7
|
-
import { type LeadFormState } from '../ApplicationLeadForm/LeadFormState';
|
|
8
8
|
/** @hidden */
|
|
9
9
|
export interface RenderInputsProps {
|
|
10
10
|
inputs?: FieldDef[];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { type LeadFormState } from '
|
|
1
|
+
import { type LeadFormState } from '../../services/retail/model/LeadFormState';
|
|
2
2
|
export declare const formStateMap: Partial<LeadFormState>[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type UpdateUserTaskBody } from '../../api/RetailAPI/updateUserTask';
|
|
2
|
-
import { type LeadFormState } from '
|
|
2
|
+
import { type LeadFormState } from '../../services/retail/model/LeadFormState';
|
|
3
3
|
declare type getCreditCardFormTaskDataProps = {
|
|
4
4
|
participantId: number;
|
|
5
5
|
taskId: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type LeadFormState } from '
|
|
1
|
+
import { type LeadFormState } from '../../services/retail/model/LeadFormState';
|
|
2
2
|
export declare const getDeliveryData: (formData: LeadFormState) => {
|
|
3
3
|
courierDeliveryFlg: true;
|
|
4
4
|
deliveryDate: string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { type LeadFormState } from '
|
|
1
|
+
import { type LeadFormState } from '../../services/retail/model/LeadFormState';
|
|
2
2
|
export declare const getInitialFormState: (step: number, formState: LeadFormState | null) => LeadFormState;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type FormFieldRegisterer } from '../../hooks/useForm';
|
|
2
|
-
import { type
|
|
3
|
-
import { type
|
|
2
|
+
import { type LeadFormState } from '../../services/retail/model/LeadFormState';
|
|
3
|
+
import { type FieldDef } from '../../services/retail/model/RetailFormContent';
|
|
4
4
|
export interface RenderInputsProps {
|
|
5
5
|
inputs: FieldDef[];
|
|
6
6
|
field: FormFieldRegisterer<LeadFormState>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type FormFieldRegisterer, type FormOperatorProps } from '../../hooks/useForm';
|
|
2
|
-
import { type LeadFormState } from '
|
|
2
|
+
import { type LeadFormState } from '../../services/retail/model/LeadFormState';
|
|
3
3
|
import { type CreditCardSectionsProps } from './CreditCardFormContent';
|
|
4
4
|
export declare type CustomSubmit = FormOperatorProps<LeadFormState>['onSubmit'];
|
|
5
5
|
export interface StepProps {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { type LeadFormState } from '../../services/retail/model/LeadFormState';
|
|
1
2
|
import { type FieldDef } from '../ApplicationLeadForm/ApplicationLeadFormContent';
|
|
2
|
-
import { type LeadFormState } from '../ApplicationLeadForm/LeadFormState';
|
|
3
3
|
interface CreditFormApiProps {
|
|
4
4
|
step: number;
|
|
5
5
|
inputs: FieldDef[];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { type LeadFormState } from '
|
|
1
|
+
import { type LeadFormState } from '../../services/retail/model/LeadFormState';
|
|
2
2
|
export declare const formStateMap: Partial<LeadFormState>[];
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { type UpdateUserTaskBody } from '../../api/RetailAPI/updateUserTask';
|
|
2
|
-
import { type LeadFormState } from '
|
|
2
|
+
import { type LeadFormState } from '../../services/retail/model/LeadFormState';
|
|
3
3
|
export declare const getCalcData: (formData: LeadFormState) => Pick<UpdateUserTaskBody['task'], 'loanAmount' | 'creditPeriod' | 'paymentTypeCd'>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { type LeadFormState } from '
|
|
1
|
+
import { type LeadFormState } from '../../services/retail/model/LeadFormState';
|
|
2
2
|
export declare const getInitialFormState: (step: number, formState: LeadFormState | null) => LeadFormState;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { type FieldDef } from '
|
|
1
|
+
import { type FieldDef } from '../../services/retail/model/RetailFormContent';
|
|
2
2
|
export declare const renderInfo: (inputs?: FieldDef[]) => any[] | null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type FormFieldRegisterer } from '../../hooks/useForm';
|
|
2
|
-
import { type
|
|
3
|
-
import { type
|
|
2
|
+
import { type LeadFormState } from '../../services/retail/model/LeadFormState';
|
|
3
|
+
import { type FieldDef } from '../../services/retail/model/RetailFormContent';
|
|
4
4
|
export interface RenderInputsProps {
|
|
5
5
|
inputs: FieldDef[];
|
|
6
6
|
field: FormFieldRegisterer<LeadFormState>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type FormFieldRegisterer, type FormOperatorProps } from '../../hooks/useForm';
|
|
2
|
+
import { type LeadFormState } from '../../services/retail/model/LeadFormState';
|
|
2
3
|
import { type SectionsProps } from '../ApplicationForm/ApplicationFormContent';
|
|
3
|
-
import { type LeadFormState } from '../ApplicationLeadForm/LeadFormState';
|
|
4
4
|
export declare type CustomSubmit = FormOperatorProps<LeadFormState>['onSubmit'];
|
|
5
5
|
export interface StepProps {
|
|
6
6
|
sections?: SectionsProps[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type
|
|
2
|
-
import { type
|
|
1
|
+
import { type LeadFormState } from '../../services/retail/model/LeadFormState';
|
|
2
|
+
import { type FieldDef } from '../../services/retail/model/RetailFormContent';
|
|
3
3
|
interface CreditFormApiProps {
|
|
4
4
|
step: number;
|
|
5
5
|
inputs: FieldDef[];
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type DictionaryItem } from '../services/retail/model/LeadFormData';
|
|
2
2
|
export declare const useLeadFormData: (typeField: string) => {
|
|
3
3
|
error: any;
|
|
4
4
|
data?: undefined;
|
|
5
5
|
} | {
|
|
6
|
-
data:
|
|
6
|
+
data: DictionaryItem[];
|
|
7
7
|
error: any;
|
|
8
8
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type LeadProps } from '../api/RetailAPI/model/LeadFormData';
|
|
2
1
|
import { type LeadFormStoreSlice } from '../components/ApplicationLeadForm/useLeadFormStore';
|
|
2
|
+
import { type DictionaryItem } from '../services/retail/model/LeadFormData';
|
|
3
3
|
export declare type StatusInfoState = {
|
|
4
4
|
regionRetail?: string;
|
|
5
5
|
addressRetail?: string;
|
|
@@ -13,21 +13,21 @@ export declare type StatusInfoState = {
|
|
|
13
13
|
};
|
|
14
14
|
};
|
|
15
15
|
export interface CreditFormDictionarySlice {
|
|
16
|
-
amountWorkers:
|
|
17
|
-
organization:
|
|
18
|
-
employerActivities:
|
|
19
|
-
employerOrganization:
|
|
16
|
+
amountWorkers: DictionaryItem[] | null;
|
|
17
|
+
organization: DictionaryItem[] | null;
|
|
18
|
+
employerActivities: DictionaryItem[] | null;
|
|
19
|
+
employerOrganization: DictionaryItem[] | null;
|
|
20
20
|
}
|
|
21
21
|
export interface CreditFormStoreSlice extends CreditFormDictionarySlice, LeadFormStoreSlice {
|
|
22
22
|
statusInfo: StatusInfoState;
|
|
23
23
|
}
|
|
24
24
|
export declare const useRetailFormStore: () => {
|
|
25
25
|
statusInfo: StatusInfoState | null;
|
|
26
|
-
amountWorkers:
|
|
27
|
-
organization:
|
|
28
|
-
employerActivities:
|
|
29
|
-
employerOrganization:
|
|
30
|
-
leadForm: import("../
|
|
26
|
+
amountWorkers: DictionaryItem[] | null;
|
|
27
|
+
organization: DictionaryItem[] | null;
|
|
28
|
+
employerActivities: DictionaryItem[] | null;
|
|
29
|
+
employerOrganization: DictionaryItem[] | null;
|
|
30
|
+
leadForm: import("../services/retail/model/LeadFormState").LeadFormState | null;
|
|
31
31
|
taskId: number | null;
|
|
32
32
|
profileId: number | null;
|
|
33
33
|
participantId: number | null;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { type Participant } from '../../../api/RetailAPI/updateUserTask';
|
|
2
|
-
import { type LeadFormState } from '
|
|
2
|
+
import { type LeadFormState } from '../model/LeadFormState';
|
|
3
3
|
export declare const getAdditionalInfoData: (formData: LeadFormState) => Partial<Participant>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
+
import { type LeadFormState } from '../../../services/retail/model/LeadFormState';
|
|
1
2
|
import { type Participant } from '../../../api/RetailAPI/updateUserTask';
|
|
2
|
-
import { type LeadFormState } from '../../../components/ApplicationLeadForm/LeadFormState';
|
|
3
3
|
export declare const getCalculatorData: (formData: LeadFormState) => Pick<Participant, 'payrollCardRshbFlg' | 'consentInsuranceFlg'>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { type Participant } from '../../../api/RetailAPI/updateUserTask';
|
|
2
|
-
import { type LeadFormState } from '
|
|
2
|
+
import { type LeadFormState } from '../model/LeadFormState';
|
|
3
3
|
export declare const getCardOptionsData: (formData: LeadFormState) => Partial<Participant>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type UpdateUserTaskBody } from '../../../api/RetailAPI/updateUserTask';
|
|
2
|
-
import { type LeadFormState } from '../../../
|
|
2
|
+
import { type LeadFormState } from '../../../services/retail/model/LeadFormState';
|
|
3
3
|
declare type getCreditFormTaskDataProps = {
|
|
4
4
|
participantId: number;
|
|
5
5
|
taskId: number;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { type UpdateUserTaskBody } from '../../../api/RetailAPI/updateUserTask';
|
|
2
|
-
import { type LeadFormState } from '
|
|
2
|
+
import { type LeadFormState } from '../model/LeadFormState';
|
|
3
3
|
export declare const getDeliveryCreditData: (formData: LeadFormState) => Partial<UpdateUserTaskBody['task']>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { type Participant } from '../../../api/RetailAPI/updateUserTask';
|
|
2
|
-
import { type LeadFormState } from '../../../
|
|
2
|
+
import { type LeadFormState } from '../../../services/retail/model/LeadFormState';
|
|
3
3
|
export declare const getEmploymentData: (formData: LeadFormState) => Partial<Participant>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { type Participant } from '../../../api/RetailAPI/updateUserTask';
|
|
2
|
-
import { type LeadFormState } from '../../../
|
|
2
|
+
import { type LeadFormState } from '../../../services/retail/model/LeadFormState';
|
|
3
3
|
export declare const getFamilyStatusAndIncomeData: (formData: LeadFormState) => Partial<Participant>;
|
|
4
4
|
export declare const countIncomeAverage: (wages?: number, retirementIncome?: number) => number;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { type Participant } from '../../../api/RetailAPI/updateUserTask';
|
|
2
|
-
import { type LeadFormState } from '../../../
|
|
2
|
+
import { type LeadFormState } from '../../../services/retail/model/LeadFormState';
|
|
3
3
|
export declare const getPersonalInfoData: (formData: LeadFormState) => Partial<Participant>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export { type FormFieldRegisterer } from '../../../hooks/useForm';
|
|
2
|
+
export { type AspectsProps } from '../../../model/AspectsProps';
|
|
3
|
+
export { type ColumnsCount } from '../../../model/ColumnCount';
|
|
4
|
+
export { type LabelProps, type TextProps, type TitleProps } from '../../../model/HeadlineType';
|
|
5
|
+
export { type InputSectionsType } from '../../../model/InputSectionsType';
|
|
6
|
+
export { type LinkButtonVersion } from '../../../model/LinkButtonVersion';
|
|
7
|
+
export { type Target } from '../../../model/LinkProps';
|
|
8
|
+
export { type VNode } from '../../../model/VNode';
|
|
9
|
+
export { type Option } from '../../../ui-kit/Select/Option';
|
|
10
|
+
export { type UniBlockContent } from '../../../UniBlock/UniBlockProps';
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { type CustomFieldProps } from '../../ui-kit/FormField/CustomFieldProps';
|
|
2
|
+
export declare const InputsApplicationLeadMap: {
|
|
3
|
+
limitedBirthday: (props: CustomFieldProps) => any;
|
|
4
|
+
};
|
|
5
|
+
export declare const InputsConsentsMap: {
|
|
6
|
+
processPersonalDataFlg: (props: CustomFieldProps) => any;
|
|
7
|
+
consentProviderFlg: (props: CustomFieldProps) => any;
|
|
8
|
+
consentOthersFlg: (props: CustomFieldProps) => any;
|
|
9
|
+
consentInformFlg: (props: CustomFieldProps) => any;
|
|
10
|
+
consentPfrFlg: (props: CustomFieldProps) => any;
|
|
11
|
+
};
|
|
12
|
+
export declare const InputsRetailMap: {
|
|
13
|
+
organization: (props: CustomFieldProps) => any;
|
|
14
|
+
organizationAddress: (props: CustomFieldProps) => any;
|
|
15
|
+
organizationPhone: (props: CustomFieldProps) => any;
|
|
16
|
+
organizationName: (props: CustomFieldProps) => any;
|
|
17
|
+
legalForm: (props: CustomFieldProps) => any;
|
|
18
|
+
generalSeniority: (props: CustomFieldProps) => any;
|
|
19
|
+
lastJobExperience: (props: CustomFieldProps) => any;
|
|
20
|
+
experience5Years: (props: CustomFieldProps) => any;
|
|
21
|
+
jobsNumber: (props: CustomFieldProps) => any;
|
|
22
|
+
beginDate: (props: CustomFieldProps) => any;
|
|
23
|
+
addressFact: (props: CustomFieldProps) => any;
|
|
24
|
+
addressRegistration: (props: CustomFieldProps) => any;
|
|
25
|
+
addressRetail: (props: CustomFieldProps) => any;
|
|
26
|
+
addressMatch: (props: CustomFieldProps) => any;
|
|
27
|
+
sex: (props: CustomFieldProps) => any;
|
|
28
|
+
limitedBirthday: (props: CustomFieldProps) => any;
|
|
29
|
+
birthPlace: (props: CustomFieldProps) => any;
|
|
30
|
+
education: (props: CustomFieldProps) => any;
|
|
31
|
+
housing: (props: CustomFieldProps) => any;
|
|
32
|
+
amountWorkers: (props: CustomFieldProps) => any;
|
|
33
|
+
employment: (props: CustomFieldProps) => any;
|
|
34
|
+
employerActivities: (props: CustomFieldProps) => any;
|
|
35
|
+
employerOrganization: (props: CustomFieldProps) => any;
|
|
36
|
+
positionOrganization: (props: CustomFieldProps) => any;
|
|
37
|
+
familyStatus: (props: CustomFieldProps) => any;
|
|
38
|
+
familyMembers: (props: CustomFieldProps) => any;
|
|
39
|
+
children: (props: CustomFieldProps) => any;
|
|
40
|
+
dependents: (props: CustomFieldProps) => any;
|
|
41
|
+
totalIncome: (props: CustomFieldProps) => any;
|
|
42
|
+
expenses: (props: CustomFieldProps) => any;
|
|
43
|
+
snils: (props: CustomFieldProps) => any;
|
|
44
|
+
conscription: (props: CustomFieldProps) => any;
|
|
45
|
+
armyIdFlg: (props: CustomFieldProps) => any;
|
|
46
|
+
dulSerie: (props: CustomFieldProps) => any;
|
|
47
|
+
dulNumber: (props: CustomFieldProps) => any;
|
|
48
|
+
dulIssueDateField: (props: CustomFieldProps) => any;
|
|
49
|
+
dulSubdivisionCode: (props: CustomFieldProps) => any;
|
|
50
|
+
dulIssuedBy: (props: CustomFieldProps) => any;
|
|
51
|
+
participantDateRegistration: (props: CustomFieldProps) => any;
|
|
52
|
+
retirementIncome: (props: CustomFieldProps) => any;
|
|
53
|
+
otherIncome: (props: CustomFieldProps) => any;
|
|
54
|
+
wages: (props: CustomFieldProps) => any;
|
|
55
|
+
mandatoryPayments: (props: CustomFieldProps) => any;
|
|
56
|
+
disablePeopleFlg: (props: CustomFieldProps) => any;
|
|
57
|
+
bankruptcyFlg: (props: CustomFieldProps) => any;
|
|
58
|
+
shareholderFlg: (props: CustomFieldProps) => any;
|
|
59
|
+
legalEntityName: (props: CustomFieldProps) => any;
|
|
60
|
+
creditInRshbCd: (props: CustomFieldProps) => any;
|
|
61
|
+
bankEmployeeCode: (props: CustomFieldProps) => any;
|
|
62
|
+
partInBusiness: (props: CustomFieldProps) => any;
|
|
63
|
+
regionRetail: (props: CustomFieldProps) => any;
|
|
64
|
+
calculator: (props: CustomFieldProps) => any;
|
|
65
|
+
};
|
|
66
|
+
export declare const InputRetailCardMap: {
|
|
67
|
+
addressCourier: (props: CustomFieldProps) => any;
|
|
68
|
+
paymentSystem: (props: CustomFieldProps) => any;
|
|
69
|
+
currency: (props: CustomFieldProps) => any;
|
|
70
|
+
cardCategory: (props: CustomFieldProps) => any;
|
|
71
|
+
codeWord: (props: CustomFieldProps) => any;
|
|
72
|
+
confirmationIncome: (props: CustomFieldProps) => any;
|
|
73
|
+
methodObtain: (props: CustomFieldProps) => any;
|
|
74
|
+
deliveryDate: (props: CustomFieldProps) => any;
|
|
75
|
+
};
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import { type PaymentType } from '
|
|
2
|
-
import { type Option } from '
|
|
3
|
-
export interface
|
|
1
|
+
import { type PaymentType } from '../../../api/RetailAPI/updateUserTask';
|
|
2
|
+
import { type Option } from '../external/types';
|
|
3
|
+
export interface FormRetailConsents {
|
|
4
4
|
processPersonalDataFlg?: boolean;
|
|
5
5
|
consentProviderFlg?: boolean;
|
|
6
|
-
consentPfrFlg?: boolean;
|
|
7
|
-
consentInformFlg?: boolean;
|
|
8
|
-
consentToReceiveMaterials?: boolean;
|
|
9
6
|
consentOthersFlg?: boolean;
|
|
7
|
+
consentInformFlg?: boolean;
|
|
8
|
+
consentPfrFlg?: boolean;
|
|
10
9
|
}
|
|
11
10
|
export declare type FormStateDeliveryType = {
|
|
12
11
|
regionRetail?: Option;
|
|
@@ -36,8 +35,16 @@ export interface Address {
|
|
|
36
35
|
qcComplete?: string;
|
|
37
36
|
qcHouse?: string;
|
|
38
37
|
}
|
|
39
|
-
export interface
|
|
40
|
-
|
|
38
|
+
export interface Calculator {
|
|
39
|
+
moneyValue?: number;
|
|
40
|
+
monthsValue?: number;
|
|
41
|
+
isAnnuity?: boolean;
|
|
42
|
+
isInsurance?: boolean;
|
|
43
|
+
isSalaryClient?: boolean;
|
|
44
|
+
isPensionClient?: boolean;
|
|
45
|
+
isStateEmployee?: boolean;
|
|
46
|
+
}
|
|
47
|
+
export interface LeadFormState extends FormRetailConsents, FormStateDeliveryType {
|
|
41
48
|
surname?: string;
|
|
42
49
|
name?: string;
|
|
43
50
|
middleName?: string;
|
|
@@ -100,8 +107,8 @@ export interface LeadFormState extends FormConsents, FormStateDeliveryType {
|
|
|
100
107
|
consentAssignmentClaimsFlg?: boolean;
|
|
101
108
|
consentCollectionFlg?: boolean;
|
|
102
109
|
familyStatus?: Option;
|
|
103
|
-
children?: string;
|
|
104
110
|
familyMembers?: string;
|
|
111
|
+
children?: string;
|
|
105
112
|
dependents?: string;
|
|
106
113
|
totalIncome?: number;
|
|
107
114
|
expenses?: number;
|
|
@@ -130,17 +137,10 @@ export interface LeadFormState extends FormConsents, FormStateDeliveryType {
|
|
|
130
137
|
cardCategory?: Option;
|
|
131
138
|
codeWord?: string;
|
|
132
139
|
esiaAccountTypeCd?: Option;
|
|
133
|
-
calculator?:
|
|
134
|
-
moneyValue?: number;
|
|
135
|
-
monthsValue?: number;
|
|
136
|
-
isAnnuity?: boolean;
|
|
137
|
-
isInsurance?: boolean;
|
|
138
|
-
isSalaryClient?: boolean;
|
|
139
|
-
isPensionClient?: boolean;
|
|
140
|
-
isStateEmployee?: boolean;
|
|
141
|
-
};
|
|
140
|
+
calculator?: Calculator;
|
|
142
141
|
addressRetail?: Option;
|
|
143
142
|
loanAmount?: number;
|
|
144
143
|
creditPeriod?: number;
|
|
145
144
|
paymentTypeCd?: PaymentType;
|
|
146
145
|
}
|
|
146
|
+
export { type NameFieldDef } from '../../../ui-kit/FormField/NameFieldDef';
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { type LabelProps, type LinkButtonVersion, type TextProps } from '../external/types';
|
|
2
|
+
import { type NameFieldDef } from './LeadFormState';
|
|
3
|
+
interface Required {
|
|
4
|
+
/** @title Обязательно для заполнения */
|
|
5
|
+
required?: boolean;
|
|
6
|
+
}
|
|
7
|
+
export declare type SubmitButtonProps = TextProps & {
|
|
8
|
+
version?: LinkButtonVersion;
|
|
9
|
+
};
|
|
10
|
+
export declare type ConditionFieldProps = {
|
|
11
|
+
/** @title Условия отображения полей формы */
|
|
12
|
+
condition?: {
|
|
13
|
+
name: NameFieldDef;
|
|
14
|
+
/** @title Значения при которых отображаются поля */
|
|
15
|
+
values: string[];
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
export declare type FilledByEsiaProps = {
|
|
19
|
+
/** @title Заполняется через госуслуги */
|
|
20
|
+
filledByEsia?: boolean;
|
|
21
|
+
};
|
|
22
|
+
export declare type FieldDefaultDef = Required & TextProps & LabelProps & ConditionFieldProps & FilledByEsiaProps & {
|
|
23
|
+
name?: NameFieldDef;
|
|
24
|
+
dadata?: boolean;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* @title Поля ввода по умолчанию
|
|
28
|
+
* @default {"fieldType": "common"}
|
|
29
|
+
*/
|
|
30
|
+
export declare type FieldCommonDef = FieldDefaultDef & {
|
|
31
|
+
/** @default "common" */
|
|
32
|
+
fieldType: 'common';
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* @title Значение по умолчанию
|
|
36
|
+
* @enumNames ["Валютный контроль","Документарные операции","Конверсионные операции","Иные вопросы ВЭД"]
|
|
37
|
+
*/
|
|
38
|
+
declare type VedTypes = 'currencyControl' | 'documentOperations' | 'conversionTransactions' | 'otherIssues';
|
|
39
|
+
/**
|
|
40
|
+
* @title Поле ввода ВЭД
|
|
41
|
+
* @default {"fieldType": "ved", "name": "vedTypes", "defaultValue": "currencyControl"}
|
|
42
|
+
*/
|
|
43
|
+
export declare type FieldVedDef = FieldDefaultDef & {
|
|
44
|
+
/** @default "ved" */
|
|
45
|
+
fieldType: 'ved';
|
|
46
|
+
defaultValue?: VedTypes;
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* @title Текст для отображения в карточке информации
|
|
50
|
+
* @default {"fieldType": "info"}
|
|
51
|
+
*/
|
|
52
|
+
export declare type FieldInfoDef = FieldDefaultDef & TextProps & {
|
|
53
|
+
/** @default "info" */
|
|
54
|
+
fieldType: 'info';
|
|
55
|
+
};
|
|
56
|
+
/**
|
|
57
|
+
* @title Поле
|
|
58
|
+
* @default { "fieldType": "common" }
|
|
59
|
+
*/
|
|
60
|
+
export declare type FieldDef = FieldCommonDef | FieldVedDef | FieldInfoDef;
|
|
61
|
+
/** @hidden */
|
|
62
|
+
export declare type TypeFormFieldDef = '' | 'ACQR' | 'ANALITIC' | 'ANTIFRAUD' | 'BCRD' | 'BROK' | 'BROKACCOUNT' | 'COLLECTION' | 'CORRUPTION' | 'CRED' | 'DPST' | 'PRODUCT' | 'SELFCOLLECTION' | 'KVED' | 'ULTRASERVICE' | 'PREMIUMSERVICE' | 'FEEDBACK' | 'FEEDBACK_QS' | 'OUTSERVICE';
|
|
63
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type
|
|
2
|
-
import { type
|
|
1
|
+
import { type LeadFormState } from '../model/LeadFormState';
|
|
2
|
+
import { type FieldDef } from '../model/RetailFormContent';
|
|
3
3
|
export declare type GetValue = <K extends keyof LeadFormState>(name: K) => LeadFormState[K];
|
|
4
4
|
export declare const calculateInputs: (getValue: GetValue) => (inputs: FieldDef[], step: number) => FieldDef[];
|
|
5
5
|
export declare const checkCondition: ({ condition }: FieldDef, getValue: GetValue) => boolean | undefined;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type DictionaryItem } from '../model/LeadFormData';
|
|
2
|
+
export declare const getOrganizationActivityType: (options: DictionaryItem[], okved: string) => {
|
|
3
|
+
key: string;
|
|
4
|
+
text: string;
|
|
5
|
+
} | null;
|
|
6
|
+
export declare const getEmployeesNumberOption: (options: DictionaryItem[] | null, count?: number) => {
|
|
7
|
+
key: string;
|
|
8
|
+
text: string;
|
|
9
|
+
} | null;
|
|
10
|
+
export declare const getOrganizationKind: (options: DictionaryItem[], okopf: number) => {
|
|
11
|
+
key: string;
|
|
12
|
+
text: string;
|
|
13
|
+
} | null;
|
|
14
|
+
export declare const getOrganizationType: (options: DictionaryItem[], okopf: number, inn: string) => {
|
|
15
|
+
key: string;
|
|
16
|
+
text: string;
|
|
17
|
+
} | null;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { type Task } from '../../api/RetailAPI/draftTasksKZO';
|
|
2
|
-
import { type LeadFormState } from '../../
|
|
2
|
+
import { type LeadFormState } from '../../services/retail/model/LeadFormState';
|
|
3
3
|
export declare const parseDraftTask: (task: Task) => LeadFormState;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type LeadProps } from '../../api/RetailAPI/model/LeadFormData';
|
|
2
1
|
import { type Participant } from '../../api/RetailAPI/updateUserTask';
|
|
2
|
+
import { type DictionaryItem } from '../../services/retail/model/LeadFormData';
|
|
3
3
|
import { type Option } from '../Select/Option';
|
|
4
4
|
export declare const enum EContactType {
|
|
5
5
|
MainPhone = "MAIN_PHONE",
|
|
@@ -135,4 +135,4 @@ export declare const getParticipantContacts: (participantContacts: Participant['
|
|
|
135
135
|
export declare const getParticipantGender: (gender: Participant['genderCd']) => {
|
|
136
136
|
sex: string;
|
|
137
137
|
} | null;
|
|
138
|
-
export declare const getSelectValue: (option?:
|
|
138
|
+
export declare const getSelectValue: (option?: DictionaryItem) => Option | undefined;
|