@redneckz/wildless-cms-uni-blocks 0.14.725 → 0.14.727
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 +1802 -1817
- 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/AddressFactField.js +1 -1
- package/dist/ui-kit/FormField/Fields/AddressFactField.js.map +1 -1
- package/dist/ui-kit/FormField/Fields/AddressField.js +1 -1
- package/dist/ui-kit/FormField/Fields/AddressField.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/AddressFactField.js +1 -1
- package/lib/ui-kit/FormField/Fields/AddressFactField.js.map +1 -1
- package/lib/ui-kit/FormField/Fields/AddressField.js +1 -1
- package/lib/ui-kit/FormField/Fields/AddressField.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 +1802 -1817
- 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/AddressFactField.js +1 -1
- package/mobile/dist/ui-kit/FormField/Fields/AddressFactField.js.map +1 -1
- package/mobile/dist/ui-kit/FormField/Fields/AddressField.js +1 -1
- package/mobile/dist/ui-kit/FormField/Fields/AddressField.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/AddressFactField.js +1 -1
- package/mobile/lib/ui-kit/FormField/Fields/AddressFactField.js.map +1 -1
- package/mobile/lib/ui-kit/FormField/Fields/AddressField.js +1 -1
- package/mobile/lib/ui-kit/FormField/Fields/AddressField.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/AddressFactField.tsx +1 -1
- package/mobile/src/ui-kit/FormField/Fields/AddressField.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/AddressFactField.tsx +1 -1
- package/src/ui-kit/FormField/Fields/AddressField.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,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,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
2
|
exports.renderInputs = void 0;
|
|
3
|
+
const inputs_1 = require("../../services/retail/inputs");
|
|
3
4
|
const getField_1 = require("../../ui-kit/FormField/getField");
|
|
4
|
-
const renderInputs = ({ field, inputs, params }) => inputs.map((0, getField_1.getField)(field, params));
|
|
5
|
+
const renderInputs = ({ field, inputs, params }) => inputs.map((0, getField_1.getField)(field, params, { ...inputs_1.InputsRetailMap }));
|
|
5
6
|
exports.renderInputs = renderInputs;
|
|
6
7
|
//# sourceMappingURL=renderInputs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderInputs.js","sourceRoot":"","sources":["../../../src/components/CreditForm/renderInputs.tsx"],"names":[],"mappings":";;AACA,8DAA2D;
|
|
1
|
+
{"version":3,"file":"renderInputs.js","sourceRoot":"","sources":["../../../src/components/CreditForm/renderInputs.tsx"],"names":[],"mappings":";;AACA,yDAA+D;AAG/D,8DAA2D;AAQpD,MAAM,YAAY,GAAG,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAqB,EAAE,EAAE,CAC3E,MAAM,CAAC,GAAG,CAAC,IAAA,mBAAQ,EAAC,KAAK,EAAE,MAAM,EAAE,EAAE,GAAG,wBAAe,EAAE,CAAC,CAAC,CAAC;AADjD,QAAA,YAAY,gBACqC"}
|
|
@@ -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,10 +1,10 @@
|
|
|
1
1
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
2
|
exports.renderStep = void 0;
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
+
const calculateInputs_1 = require("../../services/retail/utils/calculateInputs");
|
|
4
5
|
const inputColumnStyle_1 = require("../../ui-kit/FormField/inputColumnStyle");
|
|
5
6
|
const renderTitle_1 = require("../../ui-kit/FormField/renderTitle");
|
|
6
7
|
const style_1 = require("../../utils/style");
|
|
7
|
-
const calculateInputs_1 = require("./calculateInputs");
|
|
8
8
|
const renderInfo_1 = require("./renderInfo");
|
|
9
9
|
const renderInputs_1 = require("./renderInputs");
|
|
10
10
|
const renderStep = ({ sections, field, step, params }) => sections?.map(({ inputs: origInputs = [], columns, title }, i) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderStep.js","sourceRoot":"","sources":["../../../src/components/CreditForm/renderStep.tsx"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"renderStep.js","sourceRoot":"","sources":["../../../src/components/CreditForm/renderStep.tsx"],"names":[],"mappings":";;;AAEA,iFAA6F;AAC7F,8EAA4E;AAC5E,oEAAiE;AACjE,6CAA0C;AAE1C,6CAA0C;AAC1C,iDAA8C;AAWvC,MAAM,UAAU,GAAG,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAa,EAAE,EAAE,CACzE,QAAQ,EAAE,GAAG,CAAC,CAAC,EAAE,MAAM,EAAE,UAAU,GAAG,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,CAAC,EAAE,EAAE;IAC/D,MAAM,MAAM,GAAG,IAAA,iCAAe,EAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,UAAU,EAAE,IAAI,CAAC,CAAC;IAElE,OAAO,CACL,iCAA0B,SAAS,EAAE,IAAA,aAAK,EAAC,IAAA,oCAAiB,EAAC,OAAO,CAAC,EAAE,cAAc,CAAC,aACnF,IAAA,uBAAU,EAAC,MAAM,CAAC,EAClB,IAAA,yBAAW,EAAC,KAAK,CAAC,EAClB,IAAA,2BAAY,EAAC,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC,KAHhC,WAAW,CAAC,EAAE,CAIlB,CACP,CAAC;AACJ,CAAC,CAAC,CAAC;AAXQ,QAAA,UAAU,cAWlB;AAEL,MAAM,QAAQ,GACZ,CAAC,KAAyC,EAAY,EAAE,CACxD,CAAC,IAAI,EAAE,EAAE,CACP,KAAK,CAAC,IAAI,CAAC,EAAE,KAAK,CAAC"}
|
|
@@ -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[];
|
|
@@ -5,10 +5,10 @@ const useBool_1 = require("@redneckz/uni-jsx/lib/hooks/useBool");
|
|
|
5
5
|
const updateUserTask_1 = require("../../api/RetailAPI/updateUserTask");
|
|
6
6
|
const useRetailFormStore_1 = require("../../hooks/useRetailFormStore");
|
|
7
7
|
const getCreditFormTaskData_1 = require("../../services/retail/adaptors/getCreditFormTaskData");
|
|
8
|
+
const calculateInputs_1 = require("../../services/retail/utils/calculateInputs");
|
|
8
9
|
const getObjectValidator_1 = require("../../ui-kit/FormField/getObjectValidator");
|
|
9
10
|
const objectValidator_1 = require("../../validation/objectValidator");
|
|
10
11
|
const validator_1 = require("../../validation/validator");
|
|
11
|
-
const calculateInputs_1 = require("./calculateInputs");
|
|
12
12
|
const getInitialFormState_1 = require("./getInitialFormState");
|
|
13
13
|
const useCreditFormAPI = ({ step, inputs, onNextStep, onFinish, }) => {
|
|
14
14
|
const [isSending, { setTrue: startSending, setFalse: endSending }] = (0, useBool_1.useBool)(false);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCreditFormAPI.js","sourceRoot":"","sources":["../../../src/components/CreditForm/useCreditFormAPI.tsx"],"names":[],"mappings":";;AAAA,uDAAmE;AACnE,iEAA8D;AAC9D,uEAAoE;AACpE,uEAAoE;AACpE,gGAA6F;AAC7F,kFAA+E;AAC/E,sEAAmE;AACnE,0DAAiE;
|
|
1
|
+
{"version":3,"file":"useCreditFormAPI.js","sourceRoot":"","sources":["../../../src/components/CreditForm/useCreditFormAPI.tsx"],"names":[],"mappings":"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"}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=useCreditFormStore.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useCreditFormStore.js","sourceRoot":"","sources":["../../src/hooks/useCreditFormStore.tsx"],"names":[],"mappings":""}
|
|
@@ -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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useLeadFormData.js","sourceRoot":"","sources":["../../src/hooks/useLeadFormData.ts"],"names":[],"mappings":";;AAAA,2EAAwE;AAExE,kDAA+C;AAMxC,MAAM,eAAe,GAAG,CAAC,SAAiB,EAAE,EAAE;IACnD,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,IAAA,2BAAY,EAClC,qCAAqC,kBAAkB,CAAC,SAAS,CAAC,EAAE,EACpE,SAAS,CACV,CAAC;IACF,IAAI,IAAI,IAAI,cAAc,IAAI,IAAI,EAAE;QAClC,OAAO,EAAE,KAAK,EAAE,CAAC;KAClB;IAED,OAAO,EAAE,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"useLeadFormData.js","sourceRoot":"","sources":["../../src/hooks/useLeadFormData.ts"],"names":[],"mappings":";;AAAA,2EAAwE;AAExE,kDAA+C;AAMxC,MAAM,eAAe,GAAG,CAAC,SAAiB,EAAE,EAAE;IACnD,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,IAAA,2BAAY,EAClC,qCAAqC,kBAAkB,CAAC,SAAS,CAAC,EAAE,EACpE,SAAS,CACV,CAAC;IACF,IAAI,IAAI,IAAI,cAAc,IAAI,IAAI,EAAE;QAClC,OAAO,EAAE,KAAK,EAAE,CAAC;KAClB;IAED,OAAO,EAAE,IAAI,EAAE,IAAwB,EAAE,KAAK,EAAE,CAAC;AACnD,CAAC,CAAC;AAVW,QAAA,eAAe,mBAU1B;AAEF,MAAM,SAAS,GAAG,KAAK,EAAE,GAAW,EAA0C,EAAE;IAC9E,MAAM,MAAM,GAAG,MAAM,IAAA,qBAAS,EAAgC,GAAG,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;IAEvF,OAAO,MAAM,IAAI,EAAE,CAAC;AACtB,CAAC,CAAC"}
|
|
@@ -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;
|
|
@@ -2,7 +2,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
2
2
|
exports.countIncomeAverage = exports.getFamilyStatusAndIncomeData = void 0;
|
|
3
3
|
const utils_1 = require("../../../components/CreditForm/utils");
|
|
4
4
|
const getFamilyStatusAndIncomeData = (formData) => {
|
|
5
|
-
const { familyStatus,
|
|
5
|
+
const { familyStatus, familyMembers, dependents, children, confirmationIncome, wages, mandatoryPayments, additionalIncome, otherIncome, otherPayments, rentalIncome, retirementIncome, snils, armyIdFlg, conscription, } = formData;
|
|
6
6
|
return {
|
|
7
7
|
maritalStatusCd: familyStatus,
|
|
8
8
|
totalDependents: familyMembers,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getFamilyStatusAndIncomeData.js","sourceRoot":"","sources":["../../../../src/services/retail/adaptors/getFamilyStatusAndIncomeData.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"getFamilyStatusAndIncomeData.js","sourceRoot":"","sources":["../../../../src/services/retail/adaptors/getFamilyStatusAndIncomeData.ts"],"names":[],"mappings":";;AACA,gEAA6E;AAGtE,MAAM,4BAA4B,GAAG,CAAC,QAAuB,EAAwB,EAAE;IAC5F,MAAM,EACJ,YAAY,EACZ,aAAa,EACb,UAAU,EACV,QAAQ,EACR,kBAAkB,EAClB,KAAK,EACL,iBAAiB,EACjB,gBAAgB,EAChB,WAAW,EACX,aAAa,EACb,YAAY,EACZ,gBAAgB,EAChB,KAAK,EACL,SAAS,EACT,YAAY,GACb,GAAG,QAAQ,CAAC;IAEb,OAAO;QACL,eAAe,EAAE,YAAY;QAC7B,eAAe,EAAE,aAAa;QAC9B,mBAAmB,EAAE,kBAAkB;QACvC,eAAe,EAAE,UAAU;QAC3B,kBAAkB,EAAE,QAAQ;QAC5B,gBAAgB,EAAE,YAAY;QAC9B,kBAAkB,EAAE,IAAA,6BAAqB,EAAC;YACxC,KAAK;YACL,iBAAiB;YACjB,aAAa,EAAE,IAAA,0BAAkB,EAAC,KAAK,EAAE,gBAAgB,CAAC;YAC1D,gBAAgB;YAChB,WAAW;YACX,aAAa;YACb,YAAY;YACZ,gBAAgB;SACjB,CAAC;QACF,KAAK,EAAE,KAAK,EAAE,UAAU,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,UAAU,CAAC,GAAG,EAAE,EAAE,CAAC;QACrD,SAAS;KACV,CAAC;AACJ,CAAC,CAAC;AAvCW,QAAA,4BAA4B,gCAuCvC;AAEK,MAAM,kBAAkB,GAAG,CAAC,KAAc,EAAE,gBAAyB,EAAE,EAAE,CAC9E,MAAM,CAAC,KAAK,CAAC,GAAG,MAAM,CAAC,gBAAgB,CAAC,CAAC;AAD9B,QAAA,kBAAkB,sBACY"}
|
|
@@ -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 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/services/retail/external/types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
+
exports.formatPhone = exports.formatDate = void 0;
|
|
3
|
+
var formatDate_1 = require("../../../utils/formatDate");
|
|
4
|
+
Object.defineProperty(exports, "formatDate", { enumerable: true, get: function () { return formatDate_1.formatDate; } });
|
|
5
|
+
var formatPhone_1 = require("../../../utils/formatPhone");
|
|
6
|
+
Object.defineProperty(exports, "formatPhone", { enumerable: true, get: function () { return formatPhone_1.formatPhone; } });
|
|
7
|
+
//# sourceMappingURL=utils.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../src/services/retail/external/utils.ts"],"names":[],"mappings":";;AAAA,wDAAuD;AAA9C,wGAAA,UAAU,OAAA;AACnB,0DAAyD;AAAhD,0GAAA,WAAW,OAAA"}
|
|
@@ -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
|
+
};
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
+
exports.InputRetailCardMap = exports.InputsRetailMap = exports.InputsConsentsMap = exports.InputsApplicationLeadMap = void 0;
|
|
3
|
+
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
+
const AddressFactField_1 = require("../../ui-kit/FormField/Fields/AddressFactField");
|
|
5
|
+
const AddressField_1 = require("../../ui-kit/FormField/Fields/AddressField");
|
|
6
|
+
const AddressMatchField_1 = require("../../ui-kit/FormField/Fields/AddressMatchField");
|
|
7
|
+
const AddressRetailField_1 = require("../../ui-kit/FormField/Fields/AddressRetailField");
|
|
8
|
+
const AmountWorkersField_1 = require("../../ui-kit/FormField/Fields/AmountWorkersField");
|
|
9
|
+
const ArmyIdFlgField_1 = require("../../ui-kit/FormField/Fields/ArmyIdFlgField");
|
|
10
|
+
const BankEmployeeCodeField_1 = require("../../ui-kit/FormField/Fields/BankEmployeeCodeField");
|
|
11
|
+
const BankruptcyFlgField_1 = require("../../ui-kit/FormField/Fields/BankruptcyFlgField");
|
|
12
|
+
const BeginDateField_1 = require("../../ui-kit/FormField/Fields/BeginDateField");
|
|
13
|
+
const BirthPlaceField_1 = require("../../ui-kit/FormField/Fields/BirthPlaceField");
|
|
14
|
+
const CardCategoryField_1 = require("../../ui-kit/FormField/Fields/CardCategoryField");
|
|
15
|
+
const ChildrenField_1 = require("../../ui-kit/FormField/Fields/ChildrenField");
|
|
16
|
+
const CodeWordField_1 = require("../../ui-kit/FormField/Fields/CodeWordField");
|
|
17
|
+
const ConfirmationIncomeField_1 = require("../../ui-kit/FormField/Fields/ConfirmationIncomeField");
|
|
18
|
+
const ConscriptionField_1 = require("../../ui-kit/FormField/Fields/ConscriptionField");
|
|
19
|
+
const ConsentField_1 = require("../../ui-kit/FormField/Fields/ConsentField");
|
|
20
|
+
const CreditCalcField_1 = require("../../ui-kit/FormField/Fields/CreditCalcField");
|
|
21
|
+
const CreditInRshbCdField_1 = require("../../ui-kit/FormField/Fields/CreditInRshbCdField");
|
|
22
|
+
const CurrencyField_1 = require("../../ui-kit/FormField/Fields/CurrencyField");
|
|
23
|
+
const DeliveryDateFiels_1 = require("../../ui-kit/FormField/Fields/DeliveryDateFiels");
|
|
24
|
+
const DependentsField_1 = require("../../ui-kit/FormField/Fields/DependentsField");
|
|
25
|
+
const DisablePeopleFlgField_1 = require("../../ui-kit/FormField/Fields/DisablePeopleFlgField");
|
|
26
|
+
const DulIssueDateField_1 = require("../../ui-kit/FormField/Fields/DulIssueDateField");
|
|
27
|
+
const DulIssuedByField_1 = require("../../ui-kit/FormField/Fields/DulIssuedByField");
|
|
28
|
+
const DulNumberField_1 = require("../../ui-kit/FormField/Fields/DulNumberField");
|
|
29
|
+
const DulSerieField_1 = require("../../ui-kit/FormField/Fields/DulSerieField");
|
|
30
|
+
const DulSubdivisionCodeField_1 = require("../../ui-kit/FormField/Fields/DulSubdivisionCodeField");
|
|
31
|
+
const EducationField_1 = require("../../ui-kit/FormField/Fields/EducationField");
|
|
32
|
+
const EmployerActivitiesField_1 = require("../../ui-kit/FormField/Fields/EmployerActivitiesField");
|
|
33
|
+
const EmployerOrganizationField_1 = require("../../ui-kit/FormField/Fields/EmployerOrganizationField");
|
|
34
|
+
const EmploymentField_1 = require("../../ui-kit/FormField/Fields/EmploymentField");
|
|
35
|
+
const ExpensesField_1 = require("../../ui-kit/FormField/Fields/ExpensesField");
|
|
36
|
+
const Experience5YearsField_1 = require("../../ui-kit/FormField/Fields/Experience5YearsField");
|
|
37
|
+
const FamilyMembersField_1 = require("../../ui-kit/FormField/Fields/FamilyMembersField");
|
|
38
|
+
const FamilyStatusField_1 = require("../../ui-kit/FormField/Fields/FamilyStatusField");
|
|
39
|
+
const GeneralSeniorityField_1 = require("../../ui-kit/FormField/Fields/GeneralSeniorityField");
|
|
40
|
+
const HousingField_1 = require("../../ui-kit/FormField/Fields/HousingField");
|
|
41
|
+
const JobsNumberField_1 = require("../../ui-kit/FormField/Fields/JobsNumberField");
|
|
42
|
+
const LastJobExperienceField_1 = require("../../ui-kit/FormField/Fields/LastJobExperienceField");
|
|
43
|
+
const LegalEntityNameField_1 = require("../../ui-kit/FormField/Fields/LegalEntityNameField");
|
|
44
|
+
const LegalFormField_1 = require("../../ui-kit/FormField/Fields/LegalFormField");
|
|
45
|
+
const LimitedBirthdayField_1 = require("../../ui-kit/FormField/Fields/LimitedBirthdayField");
|
|
46
|
+
const MandatoryPaymentsField_1 = require("../../ui-kit/FormField/Fields/MandatoryPaymentsField");
|
|
47
|
+
const MethodObtainField_1 = require("../../ui-kit/FormField/Fields/MethodObtainField");
|
|
48
|
+
const OrganizationField_1 = require("../../ui-kit/FormField/Fields/OrganizationField");
|
|
49
|
+
const OrganizationNameField_1 = require("../../ui-kit/FormField/Fields/OrganizationNameField");
|
|
50
|
+
const OtherIncomeField_1 = require("../../ui-kit/FormField/Fields/OtherIncomeField");
|
|
51
|
+
const ParticipantDateRegistrationField_1 = require("../../ui-kit/FormField/Fields/ParticipantDateRegistrationField");
|
|
52
|
+
const PartInBusinessField_1 = require("../../ui-kit/FormField/Fields/PartInBusinessField");
|
|
53
|
+
const PaymentSystemField_1 = require("../../ui-kit/FormField/Fields/PaymentSystemField");
|
|
54
|
+
const PhoneField_1 = require("../../ui-kit/FormField/Fields/PhoneField");
|
|
55
|
+
const PositionOrganizationField_1 = require("../../ui-kit/FormField/Fields/PositionOrganizationField");
|
|
56
|
+
const RegionRetailField_1 = require("../../ui-kit/FormField/Fields/RegionRetailField");
|
|
57
|
+
const RetirementIncomeField_1 = require("../../ui-kit/FormField/Fields/RetirementIncomeField");
|
|
58
|
+
const SexField_1 = require("../../ui-kit/FormField/Fields/SexField");
|
|
59
|
+
const ShareholderFlgField_1 = require("../../ui-kit/FormField/Fields/ShareholderFlgField");
|
|
60
|
+
const SnilsField_1 = require("../../ui-kit/FormField/Fields/SnilsField");
|
|
61
|
+
const TotalIncomeField_1 = require("../../ui-kit/FormField/Fields/TotalIncomeField");
|
|
62
|
+
const WagesField_1 = require("../../ui-kit/FormField/Fields/WagesField");
|
|
63
|
+
exports.InputsApplicationLeadMap = {
|
|
64
|
+
limitedBirthday: (props) => (0, jsx_runtime_1.jsx)(LimitedBirthdayField_1.LimitedBirthdayField, { ...props }),
|
|
65
|
+
};
|
|
66
|
+
exports.InputsConsentsMap = {
|
|
67
|
+
processPersonalDataFlg: (props) => (0, jsx_runtime_1.jsx)(ConsentField_1.ConsentField, { ...props }),
|
|
68
|
+
consentProviderFlg: (props) => (0, jsx_runtime_1.jsx)(ConsentField_1.ConsentField, { ...props }),
|
|
69
|
+
consentOthersFlg: (props) => (0, jsx_runtime_1.jsx)(ConsentField_1.ConsentField, { ...props }),
|
|
70
|
+
consentInformFlg: (props) => (0, jsx_runtime_1.jsx)(ConsentField_1.ConsentField, { ...props }),
|
|
71
|
+
consentPfrFlg: (props) => (0, jsx_runtime_1.jsx)(ConsentField_1.ConsentField, { ...props }),
|
|
72
|
+
};
|
|
73
|
+
exports.InputsRetailMap = {
|
|
74
|
+
organization: (props) => (0, jsx_runtime_1.jsx)(OrganizationField_1.OrganizationField, { ...props }),
|
|
75
|
+
organizationAddress: (props) => (0, jsx_runtime_1.jsx)(AddressField_1.AddressField, { ...props }),
|
|
76
|
+
organizationPhone: (props) => (0, jsx_runtime_1.jsx)(PhoneField_1.PhoneField, { ...props }),
|
|
77
|
+
organizationName: (props) => (0, jsx_runtime_1.jsx)(OrganizationNameField_1.OrganizationNameField, { ...props }),
|
|
78
|
+
legalForm: (props) => (0, jsx_runtime_1.jsx)(LegalFormField_1.LegalFormField, { ...props }),
|
|
79
|
+
generalSeniority: (props) => (0, jsx_runtime_1.jsx)(GeneralSeniorityField_1.GeneralSeniorityField, { ...props }),
|
|
80
|
+
lastJobExperience: (props) => (0, jsx_runtime_1.jsx)(LastJobExperienceField_1.LastJobExperienceField, { ...props }),
|
|
81
|
+
experience5Years: (props) => (0, jsx_runtime_1.jsx)(Experience5YearsField_1.Experience5YearsField, { ...props }),
|
|
82
|
+
jobsNumber: (props) => (0, jsx_runtime_1.jsx)(JobsNumberField_1.JobsNumberField, { ...props }),
|
|
83
|
+
beginDate: (props) => (0, jsx_runtime_1.jsx)(BeginDateField_1.BeginDateField, { ...props }),
|
|
84
|
+
addressFact: (props) => (0, jsx_runtime_1.jsx)(AddressFactField_1.AddressFactField, { ...props }),
|
|
85
|
+
addressRegistration: (props) => (0, jsx_runtime_1.jsx)(AddressField_1.AddressField, { ...props }),
|
|
86
|
+
addressRetail: (props) => (0, jsx_runtime_1.jsx)(AddressRetailField_1.AddressRetailField, { ...props }),
|
|
87
|
+
addressMatch: (props) => (0, jsx_runtime_1.jsx)(AddressMatchField_1.AddressMatchField, { ...props }),
|
|
88
|
+
sex: (props) => (0, jsx_runtime_1.jsx)(SexField_1.SexField, { ...props }),
|
|
89
|
+
limitedBirthday: (props) => (0, jsx_runtime_1.jsx)(LimitedBirthdayField_1.LimitedBirthdayField, { ...props }),
|
|
90
|
+
birthPlace: (props) => (0, jsx_runtime_1.jsx)(BirthPlaceField_1.BirthPlaceField, { ...props }),
|
|
91
|
+
education: (props) => (0, jsx_runtime_1.jsx)(EducationField_1.EducationField, { ...props }),
|
|
92
|
+
housing: (props) => (0, jsx_runtime_1.jsx)(HousingField_1.HousingField, { ...props }),
|
|
93
|
+
amountWorkers: (props) => (0, jsx_runtime_1.jsx)(AmountWorkersField_1.AmountWorkersField, { ...props }),
|
|
94
|
+
employment: (props) => (0, jsx_runtime_1.jsx)(EmploymentField_1.EmploymentField, { ...props }),
|
|
95
|
+
employerActivities: (props) => (0, jsx_runtime_1.jsx)(EmployerActivitiesField_1.EmployerActivitiesField, { ...props }),
|
|
96
|
+
employerOrganization: (props) => (0, jsx_runtime_1.jsx)(EmployerOrganizationField_1.EmployerOrganizationField, { ...props }),
|
|
97
|
+
positionOrganization: (props) => (0, jsx_runtime_1.jsx)(PositionOrganizationField_1.PositionOrganizationField, { ...props }),
|
|
98
|
+
familyStatus: (props) => (0, jsx_runtime_1.jsx)(FamilyStatusField_1.FamilyStatusField, { ...props }),
|
|
99
|
+
familyMembers: (props) => (0, jsx_runtime_1.jsx)(FamilyMembersField_1.FamilyMembersField, { ...props }),
|
|
100
|
+
children: (props) => (0, jsx_runtime_1.jsx)(ChildrenField_1.ChildrenField, { ...props }),
|
|
101
|
+
dependents: (props) => (0, jsx_runtime_1.jsx)(DependentsField_1.DependentsField, { ...props }),
|
|
102
|
+
totalIncome: (props) => (0, jsx_runtime_1.jsx)(TotalIncomeField_1.TotalIncomeField, { ...props }),
|
|
103
|
+
expenses: (props) => (0, jsx_runtime_1.jsx)(ExpensesField_1.ExpensesField, { ...props }),
|
|
104
|
+
snils: (props) => (0, jsx_runtime_1.jsx)(SnilsField_1.SnilsField, { ...props }),
|
|
105
|
+
conscription: (props) => (0, jsx_runtime_1.jsx)(ConscriptionField_1.ConscriptionField, { ...props }),
|
|
106
|
+
armyIdFlg: (props) => (0, jsx_runtime_1.jsx)(ArmyIdFlgField_1.ArmyIdFlgField, { ...props }),
|
|
107
|
+
dulSerie: (props) => (0, jsx_runtime_1.jsx)(DulSerieField_1.DulSerieField, { ...props }),
|
|
108
|
+
dulNumber: (props) => (0, jsx_runtime_1.jsx)(DulNumberField_1.DulNumberField, { ...props }),
|
|
109
|
+
dulIssueDateField: (props) => (0, jsx_runtime_1.jsx)(DulIssueDateField_1.DulIssueDateField, { ...props }),
|
|
110
|
+
dulSubdivisionCode: (props) => (0, jsx_runtime_1.jsx)(DulSubdivisionCodeField_1.DulSubdivisionCodeField, { ...props }),
|
|
111
|
+
dulIssuedBy: (props) => (0, jsx_runtime_1.jsx)(DulIssuedByField_1.DulIssuedByField, { ...props }),
|
|
112
|
+
participantDateRegistration: (props) => ((0, jsx_runtime_1.jsx)(ParticipantDateRegistrationField_1.ParticipantDateRegistrationField, { ...props })),
|
|
113
|
+
retirementIncome: (props) => (0, jsx_runtime_1.jsx)(RetirementIncomeField_1.RetirementIncomeField, { ...props }),
|
|
114
|
+
otherIncome: (props) => (0, jsx_runtime_1.jsx)(OtherIncomeField_1.OtherIncomeField, { ...props }),
|
|
115
|
+
wages: (props) => (0, jsx_runtime_1.jsx)(WagesField_1.WagesField, { ...props }),
|
|
116
|
+
mandatoryPayments: (props) => (0, jsx_runtime_1.jsx)(MandatoryPaymentsField_1.MandatoryPaymentsField, { ...props }),
|
|
117
|
+
disablePeopleFlg: (props) => (0, jsx_runtime_1.jsx)(DisablePeopleFlgField_1.DisablePeopleFlgField, { ...props }),
|
|
118
|
+
bankruptcyFlg: (props) => (0, jsx_runtime_1.jsx)(BankruptcyFlgField_1.BankruptcyFlgField, { ...props }),
|
|
119
|
+
shareholderFlg: (props) => (0, jsx_runtime_1.jsx)(ShareholderFlgField_1.ShareholderFlgField, { ...props }),
|
|
120
|
+
legalEntityName: (props) => (0, jsx_runtime_1.jsx)(LegalEntityNameField_1.LegalEntityNameField, { ...props }),
|
|
121
|
+
creditInRshbCd: (props) => (0, jsx_runtime_1.jsx)(CreditInRshbCdField_1.CreditInRshbCdField, { ...props }),
|
|
122
|
+
bankEmployeeCode: (props) => (0, jsx_runtime_1.jsx)(BankEmployeeCodeField_1.BankEmpoleeCodeField, { ...props }),
|
|
123
|
+
partInBusiness: (props) => (0, jsx_runtime_1.jsx)(PartInBusinessField_1.PartInBusinessField, { ...props }),
|
|
124
|
+
regionRetail: (props) => (0, jsx_runtime_1.jsx)(RegionRetailField_1.RegionRetailField, { ...props }),
|
|
125
|
+
calculator: (props) => (0, jsx_runtime_1.jsx)(CreditCalcField_1.CreditCalcField, { ...props }),
|
|
126
|
+
};
|
|
127
|
+
exports.InputRetailCardMap = {
|
|
128
|
+
addressCourier: (props) => (0, jsx_runtime_1.jsx)(AddressField_1.AddressField, { ...props }),
|
|
129
|
+
paymentSystem: (props) => (0, jsx_runtime_1.jsx)(PaymentSystemField_1.PaymentSystemField, { ...props }),
|
|
130
|
+
currency: (props) => (0, jsx_runtime_1.jsx)(CurrencyField_1.CurrencyField, { ...props }),
|
|
131
|
+
cardCategory: (props) => (0, jsx_runtime_1.jsx)(CardCategoryField_1.CardCategoryField, { ...props }),
|
|
132
|
+
codeWord: (props) => (0, jsx_runtime_1.jsx)(CodeWordField_1.CodeWordField, { ...props }),
|
|
133
|
+
confirmationIncome: (props) => (0, jsx_runtime_1.jsx)(ConfirmationIncomeField_1.ConfirmationIncomeField, { ...props }),
|
|
134
|
+
methodObtain: (props) => (0, jsx_runtime_1.jsx)(MethodObtainField_1.MethodObtainField, { ...props }),
|
|
135
|
+
deliveryDate: (props) => (0, jsx_runtime_1.jsx)(DeliveryDateFiels_1.DeliveryDateFiels, { ...props }),
|
|
136
|
+
};
|
|
137
|
+
//# sourceMappingURL=inputs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inputs.js","sourceRoot":"","sources":["../../../src/services/retail/inputs.tsx"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EOrganizationActivityTypes.js","sourceRoot":"","sources":["../../../../src/services/retail/model/EOrganizationActivityTypes.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LeadFormData.js","sourceRoot":"","sources":["../../../../src/services/retail/model/LeadFormData.ts"],"names":[],"mappings":""}
|
package/{lib/components/ApplicationLeadForm → dist/services/retail/model}/LeadFormState.d.ts
RENAMED
|
@@ -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 @@
|
|
|
1
|
+
{"version":3,"file":"LeadFormState.js","sourceRoot":"","sources":["../../../../src/services/retail/model/LeadFormState.ts"],"names":[],"mappings":""}
|