@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
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { type LabelProps, type LinkButtonVersion, type TextProps } from '../external/types';
|
|
2
|
+
import { type NameFieldDef } from './LeadFormState';
|
|
3
|
+
interface Required {
|
|
4
|
+
/** @title Обязательно для заполнения */
|
|
5
|
+
required?: boolean;
|
|
6
|
+
}
|
|
7
|
+
export declare type SubmitButtonProps = TextProps & {
|
|
8
|
+
version?: LinkButtonVersion;
|
|
9
|
+
};
|
|
10
|
+
export declare type ConditionFieldProps = {
|
|
11
|
+
/** @title Условия отображения полей формы */
|
|
12
|
+
condition?: {
|
|
13
|
+
name: NameFieldDef;
|
|
14
|
+
/** @title Значения при которых отображаются поля */
|
|
15
|
+
values: string[];
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
export declare type FilledByEsiaProps = {
|
|
19
|
+
/** @title Заполняется через госуслуги */
|
|
20
|
+
filledByEsia?: boolean;
|
|
21
|
+
};
|
|
22
|
+
export declare type FieldDefaultDef = Required & TextProps & LabelProps & ConditionFieldProps & FilledByEsiaProps & {
|
|
23
|
+
name?: NameFieldDef;
|
|
24
|
+
dadata?: boolean;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* @title Поля ввода по умолчанию
|
|
28
|
+
* @default {"fieldType": "common"}
|
|
29
|
+
*/
|
|
30
|
+
export declare type FieldCommonDef = FieldDefaultDef & {
|
|
31
|
+
/** @default "common" */
|
|
32
|
+
fieldType: 'common';
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* @title Значение по умолчанию
|
|
36
|
+
* @enumNames ["Валютный контроль","Документарные операции","Конверсионные операции","Иные вопросы ВЭД"]
|
|
37
|
+
*/
|
|
38
|
+
declare type VedTypes = 'currencyControl' | 'documentOperations' | 'conversionTransactions' | 'otherIssues';
|
|
39
|
+
/**
|
|
40
|
+
* @title Поле ввода ВЭД
|
|
41
|
+
* @default {"fieldType": "ved", "name": "vedTypes", "defaultValue": "currencyControl"}
|
|
42
|
+
*/
|
|
43
|
+
export declare type FieldVedDef = FieldDefaultDef & {
|
|
44
|
+
/** @default "ved" */
|
|
45
|
+
fieldType: 'ved';
|
|
46
|
+
defaultValue?: VedTypes;
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* @title Текст для отображения в карточке информации
|
|
50
|
+
* @default {"fieldType": "info"}
|
|
51
|
+
*/
|
|
52
|
+
export declare type FieldInfoDef = FieldDefaultDef & TextProps & {
|
|
53
|
+
/** @default "info" */
|
|
54
|
+
fieldType: 'info';
|
|
55
|
+
};
|
|
56
|
+
/**
|
|
57
|
+
* @title Поле
|
|
58
|
+
* @default { "fieldType": "common" }
|
|
59
|
+
*/
|
|
60
|
+
export declare type FieldDef = FieldCommonDef | FieldVedDef | FieldInfoDef;
|
|
61
|
+
/** @hidden */
|
|
62
|
+
export declare type TypeFormFieldDef = '' | 'ACQR' | 'ANALITIC' | 'ANTIFRAUD' | 'BCRD' | 'BROK' | 'BROKACCOUNT' | 'COLLECTION' | 'CORRUPTION' | 'CRED' | 'DPST' | 'PRODUCT' | 'SELFCOLLECTION' | 'KVED' | 'ULTRASERVICE' | 'PREMIUMSERVICE' | 'FEEDBACK' | 'FEEDBACK_QS' | 'OUTSERVICE';
|
|
63
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RetailFormContent.js","sourceRoot":"","sources":["../../../../src/services/retail/model/RetailFormContent.ts"],"names":[],"mappings":"AAAA,8BAA8B;AAC9B,4BAA4B"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type
|
|
2
|
-
import { type
|
|
1
|
+
import { type LeadFormState } from '../model/LeadFormState';
|
|
2
|
+
import { type FieldDef } from '../model/RetailFormContent';
|
|
3
3
|
export declare type GetValue = <K extends keyof LeadFormState>(name: K) => LeadFormState[K];
|
|
4
4
|
export declare const calculateInputs: (getValue: GetValue) => (inputs: FieldDef[], step: number) => FieldDef[];
|
|
5
5
|
export declare const checkCondition: ({ condition }: FieldDef, getValue: GetValue) => boolean | undefined;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"calculateInputs.js","sourceRoot":"","sources":["../../../../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CAAC;AAEpF,MAAM,gBAAgB,GAAG,CAAC,EAAE,IAAI,EAAY,EAAE,QAAkB,EAAE,EAAE,CAClE,IAAI,KAAK,aAAa,IAAI,QAAQ,CAAC,cAAc,CAAC,CAAC;AAE9C,MAAM,cAAc,GAAG,CAAC,EAAE,SAAS,EAAY,EAAE,QAAkB,EAAE,EAAE,CAC5E,SAAS,EAAE,IAAI;IACf,SAAS,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE;QAC5B,MAAM,SAAS,GAAG,QAAQ,CAAC,SAAS,EAAE,IAA2B,CAAC,CAAC;QAEnE,OAAO,CAAC,KAAK,CAAE,SAAoB,EAAE,GAAG,IAAI,SAAS,CAAC,CAAC;IACzD,CAAC,CAAC,CAAC;AANQ,QAAA,cAAc,kBAMtB;AAEL,MAAM,kBAAkB,GAAG,CAAC,EAAE,IAAI,EAAY,EAAE,QAAkB,EAAE,EAAE,CACpE,IAAI,KAAK,OAAO,IAAI,eAAe,CAAC,QAAQ,CAAC,CAAC;AAEhD,MAAM,eAAe,GAAG,CAAC,QAAkB,EAAE,EAAE,CAC7C,QAAQ,CAAC,oBAAoB,CAAC,EAAE,GAAG,KAAK,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type DictionaryItem } from '../model/LeadFormData';
|
|
2
|
+
export declare const getOrganizationActivityType: (options: DictionaryItem[], okved: string) => {
|
|
3
|
+
key: string;
|
|
4
|
+
text: string;
|
|
5
|
+
} | null;
|
|
6
|
+
export declare const getEmployeesNumberOption: (options: DictionaryItem[] | null, count?: number) => {
|
|
7
|
+
key: string;
|
|
8
|
+
text: string;
|
|
9
|
+
} | null;
|
|
10
|
+
export declare const getOrganizationKind: (options: DictionaryItem[], okopf: number) => {
|
|
11
|
+
key: string;
|
|
12
|
+
text: string;
|
|
13
|
+
} | null;
|
|
14
|
+
export declare const getOrganizationType: (options: DictionaryItem[], okopf: number, inn: string) => {
|
|
15
|
+
key: string;
|
|
16
|
+
text: string;
|
|
17
|
+
} | null;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getOrganizationParams.js","sourceRoot":"","sources":["../../../../src/services/retail/utils/getOrganizationParams.ts"],"names":[],"mappings":";;AAIO,MAAM,2BAA2B,GAAG,CACzC,OAAyB,EACzB,KAAa,EACyB,EAAE;IACxC,IAAI,CAAC,KAAK,EAAE;QACV,OAAO,IAAI,CAAC;KACb;IACD,MAAM,cAAc,GAAG,WAAW,CAAC,OAAO,CAAC,CAAC;IAC5C,MAAM,SAAS,GAAG,CAAC,KAAK,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;IACxC,MAAM,eAAe,GAAG,CAAC,KAAK,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;IAE9C,QAAQ,SAAS,EAAE;QACjB,KAAK,CAAC;YACJ,OAAO,cAAc,4DAAwC,CAAC;QAChE,KAAK,EAAE;YACL,OAAO,cAAc,oEAA4C,CAAC;QACpE,KAAK,EAAE,CAAC;QACR,KAAK,EAAE,CAAC;QACR,KAAK,EAAE;YACL,OAAO,cAAc,8DAAyC,CAAC;QACjE,KAAK,EAAE,CAAC;QACR,KAAK,EAAE;YACL,OAAO,cAAc,gDAAkC,CAAC;QAC1D,KAAK,EAAE,CAAC;QACR,KAAK,EAAE;YACL,OAAO,cAAc,oDAAoC,CAAC;QAC5D,KAAK,EAAE;YACL,OAAO,cAAc,0DAAuC,CAAC;QAC/D,KAAK,EAAE;YACL,OAAO,cAAc,0EAA+C,CAAC;QACvE,KAAK,EAAE;YACL,OAAO,cAAc,8CAAiC,CAAC;QACzD,KAAK,EAAE;YACL,OAAO,cAAc,oDAAoC,CAAC;QAC5D,KAAK,EAAE;YACL,OAAO,cAAc,kFAAmD,CAAC;QAC3E,KAAK,EAAE,CAAC;QACR,KAAK,EAAE;YACL,OAAO,cAAc,oDAAoC,CAAC;QAC5D,KAAK,EAAE;YACL,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,EAAE,EAAE,CAAC,CAAC,CAAC,GAAG,KAAK,GAAG,CAAC,IAAI,IAAI,CAAC"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
2
|
exports.getUpdateUserProfileData = void 0;
|
|
3
|
-
const
|
|
4
|
-
const formatPhone_1 = require("../../../utils/formatPhone");
|
|
3
|
+
const utils_1 = require("../external/utils");
|
|
5
4
|
// TODO Не должно быть импортов из бизнес-слоя в API слой. Только наоборот.
|
|
6
5
|
const getUpdateUserProfileData = (profileId, formData) => {
|
|
7
6
|
const { name = '', surname = '', middleName = '', limitedBirthday = '', phone = '', email = '', processPersonalDataFlg, consentProviderFlg, consentPfrFlg, consentPhotoFlg, consentAssignmentClaimsFlg, consentCollectionFlg, consentInformFlg, } = formData;
|
|
@@ -11,9 +10,9 @@ const getUpdateUserProfileData = (profileId, formData) => {
|
|
|
11
10
|
name,
|
|
12
11
|
surname,
|
|
13
12
|
midname: middleName,
|
|
14
|
-
birthDate: limitedBirthday && (0,
|
|
13
|
+
birthDate: limitedBirthday && (0, utils_1.formatDate)(limitedBirthday, true),
|
|
15
14
|
email,
|
|
16
|
-
phone: (0,
|
|
15
|
+
phone: (0, utils_1.formatPhone)(phone),
|
|
17
16
|
processPersonalDataFlg: Boolean(processPersonalDataFlg),
|
|
18
17
|
consentProviderFlg: Boolean(consentProviderFlg),
|
|
19
18
|
consentPfrFlg: Boolean(consentPfrFlg),
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getUpdateUserProfile.js","sourceRoot":"","sources":["../../../../src/services/retail/utils/getUpdateUserProfile.ts"],"names":[],"mappings":";;AACA,6CAA4D;AAG5D,2EAA2E;AAEpE,MAAM,wBAAwB,GAAG,CACtC,SAAiB,EACjB,QAAuB,EACA,EAAE;IACzB,MAAM,EACJ,IAAI,GAAG,EAAE,EACT,OAAO,GAAG,EAAE,EACZ,UAAU,GAAG,EAAE,EACf,eAAe,GAAG,EAAE,EACpB,KAAK,GAAG,EAAE,EACV,KAAK,GAAG,EAAE,EACV,sBAAsB,EACtB,kBAAkB,EAClB,aAAa,EACb,eAAe,EACf,0BAA0B,EAC1B,oBAAoB,EACpB,gBAAgB,GACjB,GAAG,QAAQ,CAAC;IAEb,OAAO;QACL,OAAO,EAAE;YACP,EAAE,EAAE,SAAS;YACb,IAAI;YACJ,OAAO;YACP,OAAO,EAAE,UAAU;YACnB,SAAS,EAAE,eAAe,IAAI,IAAA,kBAAU,EAAC,eAAe,EAAE,IAAI,CAAC;YAC/D,KAAK;YACL,KAAK,EAAE,IAAA,mBAAW,EAAC,KAAK,CAAC;YACzB,sBAAsB,EAAE,OAAO,CAAC,sBAAsB,CAAC;YACvD,kBAAkB,EAAE,OAAO,CAAC,kBAAkB,CAAC;YAC/C,aAAa,EAAE,OAAO,CAAC,aAAa,CAAC;YACrC,eAAe,EAAE,OAAO,CAAC,eAAe,CAAC;YACzC,0BAA0B,EAAE,OAAO,CAAC,0BAA0B,CAAC;YAC/D,oBAAoB,EAAE,OAAO,CAAC,oBAAoB,CAAC;YACnD,gBAAgB,EAAE,OAAO,CAAC,gBAAgB,CAAC;SAC5C;KACF,CAAC;AACJ,CAAC,CAAC;AAtCW,QAAA,wBAAwB,4BAsCnC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { type Task } from '../../api/RetailAPI/draftTasksKZO';
|
|
2
|
-
import { type LeadFormState } from '../../
|
|
2
|
+
import { type LeadFormState } from '../../services/retail/model/LeadFormState';
|
|
3
3
|
export declare const parseDraftTask: (task: Task) => LeadFormState;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type LeadProps } from '../../api/RetailAPI/model/LeadFormData';
|
|
2
1
|
import { type Participant } from '../../api/RetailAPI/updateUserTask';
|
|
2
|
+
import { type DictionaryItem } from '../../services/retail/model/LeadFormData';
|
|
3
3
|
import { type Option } from '../Select/Option';
|
|
4
4
|
export declare const enum EContactType {
|
|
5
5
|
MainPhone = "MAIN_PHONE",
|
|
@@ -135,4 +135,4 @@ export declare const getParticipantContacts: (participantContacts: Participant['
|
|
|
135
135
|
export declare const getParticipantGender: (gender: Participant['genderCd']) => {
|
|
136
136
|
sex: string;
|
|
137
137
|
} | null;
|
|
138
|
-
export declare const getSelectValue: (option?:
|
|
138
|
+
export declare const getSelectValue: (option?: DictionaryItem) => Option | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../src/ui-kit/DraftDialog/utils.ts"],"names":[],"mappings":";;AAGA,8GAAiG;AA6BpF,QAAA,0BAA0B,GAAG;IACxC,WAAW,EAAE,IAAI;IACjB,sBAAsB,EAAE,IAAI;IAC5B,UAAU,EAAE,IAAI;IAChB,mBAAmB,EAAE,IAAI;IACzB,eAAe,EAAE,IAAI;IACrB,cAAc,EAAE,IAAI;IACpB,UAAU,EAAE,IAAI;IAChB,qBAAqB,EAAE,IAAI;IAC3B,aAAa,EAAE,IAAI;IACnB,WAAW,EAAE,IAAI;IACjB,gBAAgB,EAAE,IAAI;CACvB,CAAC;AAEW,QAAA,wBAAwB,GAAG;IACtC,SAAS,EAAE,IAAI;IACf,UAAU,EAAE,IAAI;IAChB,WAAW,EAAE,IAAI;CAClB,CAAC;AAEW,QAAA,+BAA+B,GAAG;IAC7C,GAAG,kCAA0B;IAC7B,GAAG,gCAAwB;CAC5B,CAAC;AAEK,MAAM,qBAAqB,GAAG,CAAC,kBAAqD,EAAE,EAAE;IAC7F,MAAM,KAAK,GAAG,kBAAkB,EAAE,IAAI,CACpC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,YAAY,CAAC,GAAG,qCAAuB,CAC7D,EAAE,KAAK,CAAC;IACT,MAAM,iBAAiB,GAAG,kBAAkB,EAAE,IAAI,CAChD,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,YAAY,CAAC,GAAG,+DAAoC,CAC1E,EAAE,KAAK,CAAC;IACT,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B,GAAG,CAAC,mBAAuD,EAAE,EAAE;IAChG,MAAM,KAAK,GAAG,mBAAmB,EAAE,IAAI,CACrC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,aAAa,CAAC,GAAG,qCAAuB,CAC9D,EAAE,KAAK,CAAC;IACT,MAAM,KAAK,GAAG,mBAAmB,EAAE,IAAI,CACrC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,aAAa,CAAC,GAAG,8CAA2B,CAClE,EAAE,KAAK,CAAC;IACT,MAAM,iBAAiB,GAAG,mBAAmB,EAAE,IAAI,CACjD,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,aAAa,CAAC,GAAG,8DAAmC,CAC1E,EAAE,KAAK,CAAC;IAET,OAAO;QACL,KAAK;QACL,KAAK;QACL,iBAAiB;KAClB,CAAC;AACJ,CAAC,CAAC;AAhBW,QAAA,sBAAsB,0BAgBjC;AAEK,MAAM,oBAAoB,GAAG,CAAC,MAA+B,EAAE,EAAE;IACtE,OAAO,MAAM,EAAE,GAAG;QAChB,CAAC,CAAC;YACE,GAAG,EAAE,MAAM,CAAC,GAAG,KAAK,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,QAAQ;SAC9C;QACH,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CAAC;AANW,QAAA,oBAAoB,wBAM/B;AAEK,MAAM,cAAc,GAAG,CAAC,MAAuB,EAAsB,EAAE;IAC5E,OAAO,MAAM,EAAE,GAAG;QAChB,CAAC,CAAC;YACE,GAAG,EAAE,MAAM,CAAC,GAAG;YACf,IAAI,EAAE,MAAM,CAAC,KAAK;SACnB;QACH,CAAC,CAAC,SAAS,CAAC;AAChB,CAAC,CAAC;AAPW,QAAA,cAAc,kBAOzB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type FieldDef, type TypeFormFieldDef } from '../../components/ApplicationForm/ApplicationFormContent';
|
|
2
1
|
import { type FormFieldRegisterer } from '../../hooks/useForm';
|
|
2
|
+
import { type FieldDef, type TypeFormFieldDef } from '../../services/retail/model/RetailFormContent';
|
|
3
3
|
export interface CustomFieldProps {
|
|
4
4
|
field: FormFieldRegisterer<any>;
|
|
5
5
|
input?: FieldDef;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AddressBranchField.js","sourceRoot":"","sources":["../../../../src/ui-kit/FormField/Fields/AddressBranchField.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAwD;
|
|
1
|
+
{"version":3,"file":"AddressBranchField.js","sourceRoot":"","sources":["../../../../src/ui-kit/FormField/Fields/AddressBranchField.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAwD;AACxD,4DAAyD;AACzD,8EAA2E;AAE3E,8DAA2D;AAE3D,8DAAqD;AACrD,8CAA2C;AAC3C,oDAAiD;AAMpC,QAAA,kBAAkB,GAAG,IAAA,aAAG,EAAmB,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,EAAE;IACnF,MAAM,SAAS,GAAG,IAAA,uBAAU,EAAC,MAAM,EAAE,QAA4B,CAAC,CAAC;IAEnE,MAAM,WAAW,GAAG,KAAK,CAAC,QAAQ,CAAC,CAAC;IACpC,MAAM,SAAS,GAAG,WAAW,EAAE,KAAK,EAAE,GAAa,CAAC;IACpD,MAAM,UAAU,GAAG,WAAW,EAAE,KAAK,EAAE,IAAc,CAAC;IACtD,MAAM,aAAa,GAAG,SAAS;QAC7B,CAAC,CAAC,IAAA,2CAAoB,EAAC,SAAS,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,UAAU,CAAC,EAAE,QAAQ;QAClF,CAAC,CAAC,IAAA,yBAAW,EAAC,SAAS,CAAC,EAAE,MAAM,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAChE,IAAA,iBAAS,EAAC,GAAG,EAAE;QACb,IAAI,WAAW,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE;YAClC,KAAK,EAAE,CAAC,eAAe,CAAC,EAAE,QAAQ,EAAE,CAAC,EAAE,CAAC,CAAC;SAC1C;IACH,CAAC,EAAE,CAAC,WAAW,EAAE,KAAK,CAAC,CAAC,CAAC;IAEzB,OAAO,CACL,uBAAC,6BAAa,IACZ,KAAK,EAAC,wDAAW,EACjB,WAAW,EAAC,yGAAoB,EAChC,OAAO,EAAE,CAAC,aAAa,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,EAAE,OAAO,GAAG,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;YACxD,GAAG,EAAE,OAAO;YACZ,IAAI,EAAE,OAAO;SACd,CAAC,CAAC,KACC,IAAA,6BAAa,EAAC,KAAK,CAAC,eAAe,CAAC,EAAE,iCAAY,CAAC,aAAa,EAAE,KAAK,EAAE,QAAQ,CAAC,EACtF,QAAQ,EAAE,IAAI,GACd,CACH,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -53,6 +53,6 @@ exports.AddressFactField = (0, uni_jsx_1.JSX)(({ field, input }) => {
|
|
|
53
53
|
qcHouse: '',
|
|
54
54
|
});
|
|
55
55
|
}, []);
|
|
56
|
-
return ((0, jsx_runtime_1.jsx)(InputControl_1.InputControl, { label: "\u0410\u0434\u0440\u0435\u0441", disabled: value, ...(0, getValidation_1.getValidation)(field(fieldName), getObjectValidator_1.validatorObj[fieldName], input?.required), value: fieldValue
|
|
56
|
+
return ((0, jsx_runtime_1.jsx)(InputControl_1.InputControl, { label: "\u0410\u0434\u0440\u0435\u0441", disabled: value, ...(0, getValidation_1.getValidation)(field(fieldName), getObjectValidator_1.validatorObj[fieldName], input?.required), value: fieldValue?.fullAddress, onChange: onChange, ...input, onDaDataChange: onDaDataChange }));
|
|
57
57
|
});
|
|
58
58
|
//# sourceMappingURL=AddressFactField.js.map
|
|
@@ -1 +1 @@
|
|
|
1
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,QAAQ,CAAC,EAC7E,KAAK,EAAE,UAAU,EAAE,WAAW,EAC9B,QAAQ,EAAE,QAAQ,KACd,KAAK,EACT,cAAc,EAAE,cAAc,GAC9B,CACH,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -32,7 +32,7 @@ exports.AddressField = (0, uni_jsx_1.JSX)(({ field, input }) => {
|
|
|
32
32
|
qcHouse: '',
|
|
33
33
|
});
|
|
34
34
|
}, []);
|
|
35
|
-
return ((0, jsx_runtime_1.jsx)(InputControl_1.InputControl, { disabled: input?.filledByEsia && (0, isEsiaAuthorize_1.isEsiaAuthorize)(field, fieldName), label: "\u0410\u0434\u0440\u0435\u0441", ...(0, getValidation_1.getValidation)(field(fieldName), getObjectValidator_1.validatorObj[fieldName], input?.required), value: fieldValue
|
|
35
|
+
return ((0, jsx_runtime_1.jsx)(InputControl_1.InputControl, { disabled: input?.filledByEsia && (0, isEsiaAuthorize_1.isEsiaAuthorize)(field, fieldName), label: "\u0410\u0434\u0440\u0435\u0441", ...(0, getValidation_1.getValidation)(field(fieldName), getObjectValidator_1.validatorObj[fieldName], input?.required), value: fieldValue?.fullAddress, onChange: onChange, ...input, onDaDataChange: onDaDataChange }));
|
|
36
36
|
});
|
|
37
37
|
const getAddressFromDaDataItem = (item) => ({
|
|
38
38
|
apartment: item?.data?.flat,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AddressField.js","sourceRoot":"","sources":["../../../../src/ui-kit/FormField/Fields/AddressField.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAA0D;AAE1D,2DAAwD;AAExD,8DAAqD;AACrD,oDAAiD;AACjD,wDAAqD;AAExC,QAAA,YAAY,GAAG,IAAA,aAAG,EAAmB,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,EAAE;IACrE,MAAM,SAAS,GAAG,KAAK,EAAE,IAAI,IAAI,qBAAqB,CAAC;IACvD,MAAM,UAAU,GAAG,KAAK,CAAC,SAAS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ObjectValidator_1 = require("../getObjectValidator");
|
|
7
7
|
const getValidation_1 = require("../getValidation");
|
|
8
|
-
exports.DesiredMeetingDateField = (0, uni_jsx_1.JSX)(({ field, input }) => ((0, jsx_runtime_1.jsx)(DatePickerControl_1.DatePickerControl, { label: "\u0416\u0435\u043B\u0430\u0435\u043C\u0430\u044F \u0434\u0430\u0442\u0430 \u0432\u0441\u0442\u0440\u0435\u0447\u0438", ...(0, getValidation_1.getValidation)(field('desiredMeetingDate'), getObjectValidator_1.validatorObj.
|
|
8
|
+
exports.DesiredMeetingDateField = (0, uni_jsx_1.JSX)(({ field, input }) => ((0, jsx_runtime_1.jsx)(DatePickerControl_1.DatePickerControl, { label: "\u0416\u0435\u043B\u0430\u0435\u043C\u0430\u044F \u0434\u0430\u0442\u0430 \u0432\u0441\u0442\u0440\u0435\u0447\u0438", ...(0, getValidation_1.getValidation)(field('desiredMeetingDate'), getObjectValidator_1.validatorObj.desiredMeetingDate, input?.required) })));
|
|
9
9
|
//# sourceMappingURL=DesiredMeetingDateField.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DesiredMeetingDateField.js","sourceRoot":"","sources":["../../../../src/ui-kit/FormField/Fields/DesiredMeetingDateField.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,0EAAuE;AAEvE,8DAAqD;AACrD,oDAAiD;AAEpC,QAAA,uBAAuB,GAAG,IAAA,aAAG,EAAmB,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CACjF,uBAAC,qCAAiB,IAChB,KAAK,EAAC,sHAAuB,KACzB,IAAA,6BAAa,
|
|
1
|
+
{"version":3,"file":"DesiredMeetingDateField.js","sourceRoot":"","sources":["../../../../src/ui-kit/FormField/Fields/DesiredMeetingDateField.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,0EAAuE;AAEvE,8DAAqD;AACrD,oDAAiD;AAEpC,QAAA,uBAAuB,GAAG,IAAA,aAAG,EAAmB,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CACjF,uBAAC,qCAAiB,IAChB,KAAK,EAAC,sHAAuB,KACzB,IAAA,6BAAa,EACf,KAAK,CAAC,oBAAoB,CAAC,EAC3B,iCAAY,CAAC,kBAAkB,EAC/B,KAAK,EAAE,QAAQ,CAChB,GACD,CACH,CAAC,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
+
exports.ConsentToReceiveMaterialsField = void 0;
|
|
3
|
+
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
+
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
+
const Checkbox_1 = require("../../Checkbox/Checkbox");
|
|
6
|
+
const getObjectValidator_1 = require("../getObjectValidator");
|
|
7
|
+
const getValidation_1 = require("../getValidation");
|
|
8
|
+
const FIELD_NAME = 'consentToReceiveMaterials';
|
|
9
|
+
exports.ConsentToReceiveMaterialsField = (0, uni_jsx_1.JSX)(({ field, input }) => ((0, jsx_runtime_1.jsx)(Checkbox_1.Checkbox, { text: "\u0421\u043E\u0433\u043B\u0430\u0441\u0435\u043D \u043D\u0430 \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u0438\u0435 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u043E\u043D\u043D\u044B\u0445 \u0438 \u0430\u043D\u0430\u043B\u0438\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0445 \u043C\u0430\u0442\u0435\u0440\u0438\u0430\u043B\u043E\u0432 \u043F\u043E \u044D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u043E\u0439 \u043F\u043E\u0447\u0442\u0435", ...(0, getValidation_1.getValidation)(field(FIELD_NAME), getObjectValidator_1.validatorObj[FIELD_NAME], input?.required) })));
|
|
10
|
+
//# sourceMappingURL=consentToReceiveMaterialsField.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"consentToReceiveMaterialsField.js","sourceRoot":"","sources":["../../../../src/ui-kit/FormField/Fields/consentToReceiveMaterialsField.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,sDAAmD;AAEnD,8DAAqD;AACrD,oDAAiD;AAEjD,MAAM,UAAU,GAAG,2BAA2B,CAAC;AAElC,QAAA,8BAA8B,GAAG,IAAA,aAAG,EAAmB,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CACxF,uBAAC,mBAAQ,IACP,IAAI,EAAC,6cAAsF,KACvF,IAAA,6BAAa,EAAC,KAAK,CAAC,UAAU,CAAC,EAAE,iCAAY,CAAC,UAAU,CAAC,EAAE,KAAK,EAAE,QAAQ,CAAC,GAC/E,CACH,CAAC,CAAC"}
|
|
@@ -1 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
declare type NameFieldConsentDef = 'processPersonalDataFlg' | 'consentProviderFlg' | 'consentInformFlg' | 'consentPfrFlg' | 'consentOthersFlg';
|
|
2
|
+
declare type NameFieldCreditCardDef = 'addressCourier' | 'paymentSystem' | 'currency' | 'cardCategory' | 'codeWord' | 'confirmationIncome' | 'methodObtain' | 'deliveryDate';
|
|
3
|
+
declare type NameFieldRetailDef = 'organization' | 'organizationAddress' | 'organizationPhone' | 'organizationName' | 'legalForm' | 'generalSeniority' | 'lastJobExperience' | 'experience5Years' | 'jobsNumber' | 'beginDate' | 'addressFact' | 'addressRegistration' | 'addressRetail' | 'addressMatch' | 'sex' | 'limitedBirthday' | 'birthPlace' | 'education' | 'housing' | 'amountWorkers' | 'employment' | 'employerActivities' | 'employerOrganization' | 'positionOrganization' | 'familyStatus' | 'familyMembers' | 'children' | 'dependents' | 'totalIncome' | 'expenses' | 'snils' | 'conscription' | 'armyIdFlg' | 'dulSerie' | 'dulNumber' | 'dulIssueDateField' | 'dulSubdivisionCode' | 'dulIssuedBy' | 'participantDateRegistration' | 'retirementIncome' | 'rentalIncome' | 'otherIncome' | 'otherPayments' | 'additionalIncome' | 'wages' | 'mandatoryPayments' | 'incomeAverage' | 'disablePeopleFlg' | 'bankruptcyFlg' | 'shareholderFlg' | 'legalEntityName' | 'creditInRshbCd' | 'bankEmployeeCode' | 'partInBusiness' | 'regionRetail' | 'calculator';
|
|
4
|
+
declare type NameFieldApplicationDef = 'surname' | 'name' | 'middleName' | 'email' | 'phone' | 'fullName' | 'inn' | 'comment' | 'region' | 'addressBranch' | 'typeForm' | 'registrationDate' | 'birthday' | 'isClient' | 'acquiringType' | 'onlineCheckout' | 'posTerminal' | 'serviceDirection' | 'serviceType' | 'feedbackMethod' | 'bankEmpolee' | 'applicationDate' | 'secondaryPhone' | 'vedTypes' | 'term' | 'amount' | 'annualRevenue' | 'collectionCount' | 'desiredMeetingDate' | 'product' | 'localities' | 'partnerComments' | 'consentToReceiveMaterials' | 'consentDataProcessing';
|
|
5
|
+
export declare type NameFieldDef = NameFieldApplicationDef | NameFieldRetailDef | NameFieldCreditCardDef | NameFieldConsentDef;
|
|
6
|
+
export {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type DictionaryItem } from '../../services/retail/model/LeadFormData';
|
|
2
2
|
import { type UniBlockProps } from '../../UniBlock/UniBlockProps';
|
|
3
3
|
import { type CustomFieldProps } from './CustomFieldProps';
|
|
4
4
|
export interface SelectFieldProps extends CustomFieldProps, UniBlockProps {
|
|
5
|
-
source?:
|
|
5
|
+
source?: DictionaryItem[];
|
|
6
6
|
label: string;
|
|
7
7
|
fieldName: string;
|
|
8
8
|
placeholder?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectField.js","sourceRoot":"","sources":["../../../src/ui-kit/FormField/SelectField.tsx"],"names":[],"mappings":";;;AACA,sDAAmD;AAGnD,2DAAwD;AAExD,6DAAoD;AACpD,mDAAgD;AAWnC,QAAA,WAAW,GAAG,IAAA,mBAAQ,EACjC,CAAC,EACC,KAAK,EACL,MAAM,EACN,SAAS,EACT,KAAK,EACL,WAAW,GAAG,oBAAoB;AAClC,6DAA6D;AAC7D,OAAO,EACP,GAAG,IAAI,EACR,EAAE,EAAE;IACH,MAAM,WAAW,GACf,MAAM,EAAE,GAAG,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"SelectField.js","sourceRoot":"","sources":["../../../src/ui-kit/FormField/SelectField.tsx"],"names":[],"mappings":";;;AACA,sDAAmD;AAGnD,2DAAwD;AAExD,6DAAoD;AACpD,mDAAgD;AAWnC,QAAA,WAAW,GAAG,IAAA,mBAAQ,EACjC,CAAC,EACC,KAAK,EACL,MAAM,EACN,SAAS,EACT,KAAK,EACL,WAAW,GAAG,oBAAoB;AAClC,6DAA6D;AAC7D,OAAO,EACP,GAAG,IAAI,EACR,EAAE,EAAE;IACH,MAAM,WAAW,GACf,MAAM,EAAE,GAAG,CAAC,CAAC,CAAiB,EAAE,EAAE,CAAC,CAAC;QAClC,GAAG,EAAE,CAAC,CAAC,GAAG,IAAI,EAAE;QAChB,IAAI,EAAE,CAAC,CAAC,KAAK;KACd,CAAC,CAAC,IAAI,EAAE,CAAC;IAEZ,OAAO,CACL,uBAAC,6BAAa,IACZ,WAAW,EAAE,WAAW,EACxB,OAAO,EAAE,WAAW,KAChB,IAAA,6BAAa,EAAC,KAAK,CAAC,SAAS,CAAC,EAAE,iCAAY,CAAC,SAAS,CAAC,EAAE,KAAK,EAAE,QAAQ,CAAC,KACzE,IAAI,GACR,CACH,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { type FieldDef } from '../../components/ApplicationForm/ApplicationFormContent';
|
|
2
2
|
import { type FormFieldRegisterer } from '../../hooks/useForm';
|
|
3
|
-
|
|
3
|
+
import { type VNode } from '../../model/VNode';
|
|
4
|
+
export declare const getField: (field: FormFieldRegisterer<any>, params?: Record<string, any>, externalInputs?: Record<string, VNode>) => (input: FieldDef, i: number) => any;
|
|
@@ -4,92 +4,35 @@ const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
|
4
4
|
const InputControl_1 = require("../Input/InputControl");
|
|
5
5
|
const AcquiringField_1 = require("./Fields/AcquiringField");
|
|
6
6
|
const AddressBranchField_1 = require("./Fields/AddressBranchField");
|
|
7
|
-
const AddressFactField_1 = require("./Fields/AddressFactField");
|
|
8
|
-
const AddressField_1 = require("./Fields/AddressField");
|
|
9
|
-
const AddressMatchField_1 = require("./Fields/AddressMatchField");
|
|
10
|
-
const AddressRetailField_1 = require("./Fields/AddressRetailField");
|
|
11
7
|
const AmountField_1 = require("./Fields/AmountField");
|
|
12
|
-
const AmountWorkersField_1 = require("./Fields/AmountWorkersField");
|
|
13
8
|
const AnnualRevenueField_1 = require("./Fields/AnnualRevenueField");
|
|
14
|
-
const ArmyIdFlgField_1 = require("./Fields/ArmyIdFlgField");
|
|
15
|
-
const BankEmployeeCodeField_1 = require("./Fields/BankEmployeeCodeField");
|
|
16
9
|
const BankEmpoleeField_1 = require("./Fields/BankEmpoleeField");
|
|
17
|
-
const BankruptcyFlgField_1 = require("./Fields/BankruptcyFlgField");
|
|
18
|
-
const BeginDateField_1 = require("./Fields/BeginDateField");
|
|
19
10
|
const BirthdayField_1 = require("./Fields/BirthdayField");
|
|
20
|
-
const BirthPlaceField_1 = require("./Fields/BirthPlaceField");
|
|
21
|
-
const CardCategoryField_1 = require("./Fields/CardCategoryField");
|
|
22
|
-
const ChildrenField_1 = require("./Fields/ChildrenField");
|
|
23
|
-
const CodeWordField_1 = require("./Fields/CodeWordField");
|
|
24
11
|
const CollectionCountField_1 = require("./Fields/CollectionCountField");
|
|
25
12
|
const CommentField_1 = require("./Fields/CommentField");
|
|
26
|
-
const
|
|
27
|
-
const ConscriptionField_1 = require("./Fields/ConscriptionField");
|
|
28
|
-
const ConsentField_1 = require("./Fields/ConsentField");
|
|
29
|
-
const CreditCalcField_1 = require("./Fields/CreditCalcField");
|
|
30
|
-
const CreditInRshbCdField_1 = require("./Fields/CreditInRshbCdField");
|
|
31
|
-
const CurrencyField_1 = require("./Fields/CurrencyField");
|
|
32
|
-
const DeliveryDateFiels_1 = require("./Fields/DeliveryDateFiels");
|
|
33
|
-
const DependentsField_1 = require("./Fields/DependentsField");
|
|
13
|
+
const consentToReceiveMaterialsField_1 = require("./Fields/consentToReceiveMaterialsField");
|
|
34
14
|
const DesiredMeetingDateField_1 = require("./Fields/DesiredMeetingDateField");
|
|
35
|
-
const DisablePeopleFlgField_1 = require("./Fields/DisablePeopleFlgField");
|
|
36
|
-
const DulIssueDateField_1 = require("./Fields/DulIssueDateField");
|
|
37
|
-
const DulIssuedByField_1 = require("./Fields/DulIssuedByField");
|
|
38
|
-
const DulNumberField_1 = require("./Fields/DulNumberField");
|
|
39
|
-
const DulSerieField_1 = require("./Fields/DulSerieField");
|
|
40
|
-
const DulSubdivisionCodeField_1 = require("./Fields/DulSubdivisionCodeField");
|
|
41
|
-
const EducationField_1 = require("./Fields/EducationField");
|
|
42
15
|
const EmailField_1 = require("./Fields/EmailField");
|
|
43
|
-
const EmployerActivitiesField_1 = require("./Fields/EmployerActivitiesField");
|
|
44
|
-
const EmployerOrganizationField_1 = require("./Fields/EmployerOrganizationField");
|
|
45
|
-
const EmploymentField_1 = require("./Fields/EmploymentField");
|
|
46
|
-
const ExpensesField_1 = require("./Fields/ExpensesField");
|
|
47
|
-
const Experience5YearsField_1 = require("./Fields/Experience5YearsField");
|
|
48
|
-
const FamilyMembersField_1 = require("./Fields/FamilyMembersField");
|
|
49
|
-
const FamilyStatusField_1 = require("./Fields/FamilyStatusField");
|
|
50
16
|
const FeedbackMethodField_1 = require("./Fields/FeedbackMethodField");
|
|
51
17
|
const FullNameField_1 = require("./Fields/FullNameField");
|
|
52
|
-
const GeneralSeniorityField_1 = require("./Fields/GeneralSeniorityField");
|
|
53
|
-
const HousingField_1 = require("./Fields/HousingField");
|
|
54
18
|
const InnField_1 = require("./Fields/InnField");
|
|
55
19
|
const IsClientField_1 = require("./Fields/IsClientField");
|
|
56
|
-
const JobsNumberField_1 = require("./Fields/JobsNumberField");
|
|
57
|
-
const LastJobExperienceField_1 = require("./Fields/LastJobExperienceField");
|
|
58
|
-
const LegalEntityNameField_1 = require("./Fields/LegalEntityNameField");
|
|
59
|
-
const LegalFormField_1 = require("./Fields/LegalFormField");
|
|
60
|
-
const LimitedBirthdayField_1 = require("./Fields/LimitedBirthdayField");
|
|
61
20
|
const LocalitiesField_1 = require("./Fields/LocalitiesField");
|
|
62
|
-
const MandatoryPaymentsField_1 = require("./Fields/MandatoryPaymentsField");
|
|
63
|
-
const MethodObtainField_1 = require("./Fields/MethodObtainField");
|
|
64
21
|
const MiddleNameField_1 = require("./Fields/MiddleNameField");
|
|
65
22
|
const NameField_1 = require("./Fields/NameField");
|
|
66
23
|
const OnlineCheckoutField_1 = require("./Fields/OnlineCheckoutField");
|
|
67
|
-
const OrganizationField_1 = require("./Fields/OrganizationField");
|
|
68
|
-
const OrganizationNameField_1 = require("./Fields/OrganizationNameField");
|
|
69
|
-
const OtherIncomeField_1 = require("./Fields/OtherIncomeField");
|
|
70
|
-
const ParticipantDateRegistrationField_1 = require("./Fields/ParticipantDateRegistrationField");
|
|
71
|
-
const PartInBusinessField_1 = require("./Fields/PartInBusinessField");
|
|
72
24
|
const PartnerCommentsField_1 = require("./Fields/PartnerCommentsField");
|
|
73
|
-
const PaymentSystemField_1 = require("./Fields/PaymentSystemField");
|
|
74
25
|
const PhoneField_1 = require("./Fields/PhoneField");
|
|
75
|
-
const PositionOrganizationField_1 = require("./Fields/PositionOrganizationField");
|
|
76
26
|
const PosTerminalField_1 = require("./Fields/PosTerminalField");
|
|
77
27
|
const ProductField_1 = require("./Fields/ProductField");
|
|
78
28
|
const RegionField_1 = require("./Fields/RegionField");
|
|
79
29
|
const RegionPremiumField_1 = require("./Fields/RegionPremiumField");
|
|
80
|
-
const RegionRetailField_1 = require("./Fields/RegionRetailField");
|
|
81
|
-
const RetirementIncomeField_1 = require("./Fields/RetirementIncomeField");
|
|
82
30
|
const SecondaryPhoneField_1 = require("./Fields/SecondaryPhoneField");
|
|
83
31
|
const ServiceDirectionField_1 = require("./Fields/ServiceDirectionField");
|
|
84
|
-
const SexField_1 = require("./Fields/SexField");
|
|
85
|
-
const ShareholderFlgField_1 = require("./Fields/ShareholderFlgField");
|
|
86
|
-
const SnilsField_1 = require("./Fields/SnilsField");
|
|
87
32
|
const SurnameField_1 = require("./Fields/SurnameField");
|
|
88
33
|
const TermField_1 = require("./Fields/TermField");
|
|
89
|
-
const TotalIncomeField_1 = require("./Fields/TotalIncomeField");
|
|
90
34
|
const UltraPremiumField_1 = require("./Fields/UltraPremiumField");
|
|
91
35
|
const VedField_1 = require("./Fields/VedField");
|
|
92
|
-
const WagesField_1 = require("./Fields/WagesField");
|
|
93
36
|
const getPremium_1 = require("./getPremium");
|
|
94
37
|
const isRenderField_1 = require("./isRenderField");
|
|
95
38
|
const PRODUCT_REF = {
|
|
@@ -118,7 +61,7 @@ const InputsMap = {
|
|
|
118
61
|
secondaryPhone: (props) => (0, jsx_runtime_1.jsx)(SecondaryPhoneField_1.SecondaryPhoneField, { ...props }),
|
|
119
62
|
applicationDate: (props) => ((0, jsx_runtime_1.jsx)(InputControl_1.InputControl, { label: "\u0414\u0430\u0442\u0430 \u0438 \u0432\u0440\u0435\u043C\u044F \u043E\u0431\u0440\u0430\u0449\u0435\u043D\u0438\u044F \u0432 \u0411\u0430\u043D\u043A", ...props })),
|
|
120
63
|
region: (props) => (0, getPremium_1.getPremium)(props?.params?.typeForm) ? ((0, jsx_runtime_1.jsx)(RegionPremiumField_1.RegionPremiumField, { ...props })) : ((0, jsx_runtime_1.jsx)(RegionField_1.RegionField, { ...props })),
|
|
121
|
-
consentToReceiveMaterials: (props) => (0, jsx_runtime_1.jsx)(
|
|
64
|
+
consentToReceiveMaterials: (props) => ((0, jsx_runtime_1.jsx)(consentToReceiveMaterialsField_1.ConsentToReceiveMaterialsField, { ...props })),
|
|
122
65
|
surname: (props) => (0, jsx_runtime_1.jsx)(SurnameField_1.SurnameField, { ...props }),
|
|
123
66
|
name: (props) => (0, jsx_runtime_1.jsx)(NameField_1.NameField, { ...props }),
|
|
124
67
|
middleName: (props) => (0, jsx_runtime_1.jsx)(MiddleNameField_1.MiddleNameField, { ...props }),
|
|
@@ -128,80 +71,10 @@ const InputsMap = {
|
|
|
128
71
|
inn: (props) => (0, jsx_runtime_1.jsx)(InnField_1.InnField, { ...props }),
|
|
129
72
|
comment: (props) => (0, jsx_runtime_1.jsx)(CommentField_1.CommentField, { ...props }),
|
|
130
73
|
};
|
|
131
|
-
const
|
|
132
|
-
processPersonalDataFlg: (props) => (0, jsx_runtime_1.jsx)(ConsentField_1.ConsentField, { ...props }),
|
|
133
|
-
consentProviderFlg: (props) => (0, jsx_runtime_1.jsx)(ConsentField_1.ConsentField, { ...props }),
|
|
134
|
-
consentOthersFlg: (props) => (0, jsx_runtime_1.jsx)(ConsentField_1.ConsentField, { ...props }),
|
|
135
|
-
consentInformFlg: (props) => (0, jsx_runtime_1.jsx)(ConsentField_1.ConsentField, { ...props }),
|
|
136
|
-
consentPfrFlg: (props) => (0, jsx_runtime_1.jsx)(ConsentField_1.ConsentField, { ...props }),
|
|
137
|
-
organizationPhone: (props) => (0, jsx_runtime_1.jsx)(PhoneField_1.PhoneField, { ...props }),
|
|
138
|
-
legalForm: (props) => (0, jsx_runtime_1.jsx)(LegalFormField_1.LegalFormField, { ...props }),
|
|
139
|
-
organizationName: (props) => (0, jsx_runtime_1.jsx)(OrganizationNameField_1.OrganizationNameField, { ...props }),
|
|
140
|
-
generalSeniority: (props) => (0, jsx_runtime_1.jsx)(GeneralSeniorityField_1.GeneralSeniorityField, { ...props }),
|
|
141
|
-
lastJobExperience: (props) => (0, jsx_runtime_1.jsx)(LastJobExperienceField_1.LastJobExperienceField, { ...props }),
|
|
142
|
-
experience5Years: (props) => (0, jsx_runtime_1.jsx)(Experience5YearsField_1.Experience5YearsField, { ...props }),
|
|
143
|
-
jobsNumber: (props) => (0, jsx_runtime_1.jsx)(JobsNumberField_1.JobsNumberField, { ...props }),
|
|
144
|
-
beginDate: (props) => (0, jsx_runtime_1.jsx)(BeginDateField_1.BeginDateField, { ...props }),
|
|
145
|
-
addressFact: (props) => (0, jsx_runtime_1.jsx)(AddressFactField_1.AddressFactField, { ...props }),
|
|
146
|
-
organizationAddress: (props) => (0, jsx_runtime_1.jsx)(AddressField_1.AddressField, { ...props }),
|
|
147
|
-
sex: (props) => (0, jsx_runtime_1.jsx)(SexField_1.SexField, { ...props }),
|
|
148
|
-
limitedBirthday: (props) => (0, jsx_runtime_1.jsx)(LimitedBirthdayField_1.LimitedBirthdayField, { ...props }),
|
|
149
|
-
birthPlace: (props) => (0, jsx_runtime_1.jsx)(BirthPlaceField_1.BirthPlaceField, { ...props }),
|
|
150
|
-
education: (props) => (0, jsx_runtime_1.jsx)(EducationField_1.EducationField, { ...props }),
|
|
151
|
-
housing: (props) => (0, jsx_runtime_1.jsx)(HousingField_1.HousingField, { ...props }),
|
|
152
|
-
employment: (props) => (0, jsx_runtime_1.jsx)(EmploymentField_1.EmploymentField, { ...props }),
|
|
153
|
-
organization: (props) => (0, jsx_runtime_1.jsx)(OrganizationField_1.OrganizationField, { ...props }),
|
|
154
|
-
amountWorkers: (props) => (0, jsx_runtime_1.jsx)(AmountWorkersField_1.AmountWorkersField, { ...props }),
|
|
155
|
-
employerActivities: (props) => (0, jsx_runtime_1.jsx)(EmployerActivitiesField_1.EmployerActivitiesField, { ...props }),
|
|
156
|
-
employerOrganization: (props) => (0, jsx_runtime_1.jsx)(EmployerOrganizationField_1.EmployerOrganizationField, { ...props }),
|
|
157
|
-
positionOrganization: (props) => (0, jsx_runtime_1.jsx)(PositionOrganizationField_1.PositionOrganizationField, { ...props }),
|
|
158
|
-
familyStatus: (props) => (0, jsx_runtime_1.jsx)(FamilyStatusField_1.FamilyStatusField, { ...props }),
|
|
159
|
-
children: (props) => (0, jsx_runtime_1.jsx)(ChildrenField_1.ChildrenField, { ...props }),
|
|
160
|
-
familyMembers: (props) => (0, jsx_runtime_1.jsx)(FamilyMembersField_1.FamilyMembersField, { ...props }),
|
|
161
|
-
dependents: (props) => (0, jsx_runtime_1.jsx)(DependentsField_1.DependentsField, { ...props }),
|
|
162
|
-
totalIncome: (props) => (0, jsx_runtime_1.jsx)(TotalIncomeField_1.TotalIncomeField, { ...props }),
|
|
163
|
-
expenses: (props) => (0, jsx_runtime_1.jsx)(ExpensesField_1.ExpensesField, { ...props }),
|
|
164
|
-
snils: (props) => (0, jsx_runtime_1.jsx)(SnilsField_1.SnilsField, { ...props }),
|
|
165
|
-
conscription: (props) => (0, jsx_runtime_1.jsx)(ConscriptionField_1.ConscriptionField, { ...props }),
|
|
166
|
-
armyIdFlg: (props) => (0, jsx_runtime_1.jsx)(ArmyIdFlgField_1.ArmyIdFlgField, { ...props }),
|
|
167
|
-
dulSerie: (props) => (0, jsx_runtime_1.jsx)(DulSerieField_1.DulSerieField, { ...props }),
|
|
168
|
-
dulNumber: (props) => (0, jsx_runtime_1.jsx)(DulNumberField_1.DulNumberField, { ...props }),
|
|
169
|
-
dulIssueDateField: (props) => (0, jsx_runtime_1.jsx)(DulIssueDateField_1.DulIssueDateField, { ...props }),
|
|
170
|
-
dulSubdivisionCode: (props) => (0, jsx_runtime_1.jsx)(DulSubdivisionCodeField_1.DulSubdivisionCodeField, { ...props }),
|
|
171
|
-
dulIssuedBy: (props) => (0, jsx_runtime_1.jsx)(DulIssuedByField_1.DulIssuedByField, { ...props }),
|
|
172
|
-
addressRegistration: (props) => (0, jsx_runtime_1.jsx)(AddressField_1.AddressField, { ...props }),
|
|
173
|
-
addressCourier: (props) => (0, jsx_runtime_1.jsx)(AddressField_1.AddressField, { ...props }),
|
|
174
|
-
participantDateRegistration: (props) => ((0, jsx_runtime_1.jsx)(ParticipantDateRegistrationField_1.ParticipantDateRegistrationField, { ...props })),
|
|
175
|
-
retirementIncome: (props) => (0, jsx_runtime_1.jsx)(RetirementIncomeField_1.RetirementIncomeField, { ...props }),
|
|
176
|
-
otherIncome: (props) => (0, jsx_runtime_1.jsx)(OtherIncomeField_1.OtherIncomeField, { ...props }),
|
|
177
|
-
wages: (props) => (0, jsx_runtime_1.jsx)(WagesField_1.WagesField, { ...props }),
|
|
178
|
-
mandatoryPayments: (props) => (0, jsx_runtime_1.jsx)(MandatoryPaymentsField_1.MandatoryPaymentsField, { ...props }),
|
|
179
|
-
disablePeopleFlg: (props) => (0, jsx_runtime_1.jsx)(DisablePeopleFlgField_1.DisablePeopleFlgField, { ...props }),
|
|
180
|
-
bankruptcyFlg: (props) => (0, jsx_runtime_1.jsx)(BankruptcyFlgField_1.BankruptcyFlgField, { ...props }),
|
|
181
|
-
shareholderFlg: (props) => (0, jsx_runtime_1.jsx)(ShareholderFlgField_1.ShareholderFlgField, { ...props }),
|
|
182
|
-
legalEntityName: (props) => (0, jsx_runtime_1.jsx)(LegalEntityNameField_1.LegalEntityNameField, { ...props }),
|
|
183
|
-
creditInRshbCd: (props) => (0, jsx_runtime_1.jsx)(CreditInRshbCdField_1.CreditInRshbCdField, { ...props }),
|
|
184
|
-
bankEmployeeCode: (props) => (0, jsx_runtime_1.jsx)(BankEmployeeCodeField_1.BankEmpoleeCodeField, { ...props }),
|
|
185
|
-
partInBusiness: (props) => (0, jsx_runtime_1.jsx)(PartInBusinessField_1.PartInBusinessField, { ...props }),
|
|
186
|
-
regionRetail: (props) => (0, jsx_runtime_1.jsx)(RegionRetailField_1.RegionRetailField, { ...props }),
|
|
187
|
-
addressRetail: (props) => (0, jsx_runtime_1.jsx)(AddressRetailField_1.AddressRetailField, { ...props }),
|
|
188
|
-
addressMatch: (props) => (0, jsx_runtime_1.jsx)(AddressMatchField_1.AddressMatchField, { ...props }),
|
|
189
|
-
calculator: (props) => (0, jsx_runtime_1.jsx)(CreditCalcField_1.CreditCalcField, { ...props }),
|
|
190
|
-
};
|
|
191
|
-
const InputRetailCardMap = {
|
|
192
|
-
paymentSystem: (props) => (0, jsx_runtime_1.jsx)(PaymentSystemField_1.PaymentSystemField, { ...props }),
|
|
193
|
-
currency: (props) => (0, jsx_runtime_1.jsx)(CurrencyField_1.CurrencyField, { ...props }),
|
|
194
|
-
cardCategory: (props) => (0, jsx_runtime_1.jsx)(CardCategoryField_1.CardCategoryField, { ...props }),
|
|
195
|
-
codeWord: (props) => (0, jsx_runtime_1.jsx)(CodeWordField_1.CodeWordField, { ...props }),
|
|
196
|
-
confirmationIncome: (props) => (0, jsx_runtime_1.jsx)(ConfirmationIncomeField_1.ConfirmationIncomeField, { ...props }),
|
|
197
|
-
methodObtain: (props) => (0, jsx_runtime_1.jsx)(MethodObtainField_1.MethodObtainField, { ...props }),
|
|
198
|
-
deliveryDate: (props) => (0, jsx_runtime_1.jsx)(DeliveryDateFiels_1.DeliveryDateFiels, { ...props }),
|
|
199
|
-
};
|
|
200
|
-
const getField = (field, params) => (input, i) => {
|
|
74
|
+
const getField = (field, params, externalInputs = {}) => (input, i) => {
|
|
201
75
|
const resultInputsMap = {
|
|
202
76
|
...InputsMap,
|
|
203
|
-
...
|
|
204
|
-
...InputRetailCardMap,
|
|
77
|
+
...externalInputs,
|
|
205
78
|
};
|
|
206
79
|
return (0, isRenderField_1.isRenderField)({ input, field }) ? ((0, jsx_runtime_1.jsx)("div", { children: resultInputsMap[input?.name || '']?.({ field, input, params }) }, String(i))) : null;
|
|
207
80
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getField.js","sourceRoot":"","sources":["../../../src/ui-kit/FormField/getField.tsx"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"getField.js","sourceRoot":"","sources":["../../../src/ui-kit/FormField/getField.tsx"],"names":[],"mappings":";;;AASA,wDAAqD;AAErD,4DAAyD;AACzD,oEAAiE;AACjE,sDAAmD;AACnD,oEAAiE;AACjE,gEAA6D;AAC7D,0DAAuD;AACvD,wEAAqE;AACrE,wDAAqD;AACrD,4FAAyF;AACzF,8EAA2E;AAC3E,o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CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CAAC;AAfS,QAAA,QAAQ,YAejB"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { type FieldDef } from '../../
|
|
1
|
+
import { type FieldDef } from '../../services/retail/model/RetailFormContent';
|
|
2
2
|
export declare const getNamesFromInput: (inputs: FieldDef[]) => (import("./NameFieldDef").NameFieldDef | undefined)[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type FieldDef } from '../../
|
|
1
|
+
import { type FieldDef } from '../../services/retail/model/RetailFormContent';
|
|
2
2
|
import { type Validator } from '../../validation/validator';
|
|
3
3
|
export declare const validatorObj: Record<string, Validator>;
|
|
4
4
|
export declare const getObjectValidator: (inputs: FieldDef[]) => Record<string, Validator>;
|