@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
|
@@ -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,oDAAiD;AACjD,sEAAmE;AACnE,0DAAuD;AACvD,gDAA6C;AAC7C,0DAAuD;AACvD,8DAA2D;AAC3D,8DA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,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>;
|
|
@@ -2,74 +2,62 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
2
2
|
exports.getObjectValidator = exports.validatorObj = void 0;
|
|
3
3
|
const getNamesFromInput_1 = require("./getNamesFromInput");
|
|
4
4
|
const validators_1 = require("./validators");
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
5
|
+
const validatorConsentsObj = {
|
|
6
|
+
processPersonalDataFlg: validators_1.agreementValidator,
|
|
7
|
+
consentProviderFlg: validators_1.agreementValidator,
|
|
8
|
+
consentInformFlg: validators_1.agreementValidator,
|
|
9
|
+
consentPfrFlg: validators_1.agreementValidator,
|
|
10
|
+
consentOthersFlg: validators_1.agreementValidator,
|
|
11
|
+
};
|
|
12
|
+
const validatorCreditCardObj = {
|
|
13
|
+
addressCourier: (0, validators_1.addressDaDataValidator)(),
|
|
14
|
+
paymentSystem: (0, validators_1.defaultValidator)('Укажите тип платежной системы'),
|
|
15
|
+
currency: (0, validators_1.defaultValidator)('Укажите валюту'),
|
|
16
|
+
cardCategory: (0, validators_1.defaultValidator)('Укажите категорию карты'),
|
|
17
|
+
codeWord: (0, validators_1.codeWordValidator)('Необходимо ввести кодовое слово'),
|
|
18
|
+
confirmationIncome: (0, validators_1.defaultSelectValidator)(),
|
|
19
|
+
methodObtain: (0, validators_1.defaultValidator)(),
|
|
20
|
+
deliveryDate: (0, validators_1.defaultValidator)('Укажите дату доставки'),
|
|
21
|
+
};
|
|
22
|
+
const validatorRetailObj = {
|
|
23
|
+
organization: (0, validators_1.defaultSelectValidator)('Выберите тип организации'),
|
|
24
|
+
organizationAddress: (0, validators_1.addressOrganizationValidator)(),
|
|
14
25
|
organizationPhone: (0, validators_1.phoneValidator)('Укажите номер телефона'),
|
|
15
|
-
|
|
26
|
+
organizationName: (0, validators_1.defaultValidator)('Укажите наименование организации'),
|
|
27
|
+
legalForm: (0, validators_1.defaultValidator)('Укажите ОПФ'),
|
|
28
|
+
generalSeniority: (0, validators_1.jobNumberValidator)('Укажите количество лет стажа'),
|
|
29
|
+
lastJobExperience: (0, validators_1.jobNumberValidator)('Укажите стаж на последнем месте работы'),
|
|
30
|
+
experience5Years: (0, validators_1.jobNumberValidator)('Укажите общий стаж за последние 5 лет'),
|
|
31
|
+
jobsNumber: (0, validators_1.jobNumberValidator)('Укажите количество мест работы за последние 5 лет'),
|
|
32
|
+
beginDate: (0, validators_1.defaultValidator)('Укажите дату заключения трудового договора'),
|
|
33
|
+
addressFact: (0, validators_1.addressDaDataValidator)(),
|
|
34
|
+
addressRegistration: (0, validators_1.addressDaDataValidator)(),
|
|
35
|
+
addressRetail: (0, validators_1.defaultSelectValidator)('Выберите адрес банка'),
|
|
36
|
+
addressMatch: (0, validators_1.defaultValidator)(),
|
|
37
|
+
sex: (0, validators_1.defaultValidator)('Укажите свой пол'),
|
|
16
38
|
limitedBirthday: (0, validators_1.limitedBirthdayValidator)(),
|
|
17
39
|
birthPlace: (0, validators_1.defaultValidator)('Укажите место рождения'),
|
|
18
40
|
education: (0, validators_1.defaultSelectValidator)('Выберите ваше образование'),
|
|
19
41
|
housing: (0, validators_1.defaultSelectValidator)('Выберите тип жилья'),
|
|
20
|
-
employment: (0, validators_1.defaultSelectValidator)('Выберите информацию о трудоустройстве'),
|
|
21
|
-
organization: (0, validators_1.defaultSelectValidator)('Выберите тип организации'),
|
|
22
42
|
amountWorkers: (0, validators_1.defaultSelectValidator)('Выберите информацию о количестве сотрудников'),
|
|
43
|
+
employment: (0, validators_1.defaultSelectValidator)('Выберите информацию о трудоустройстве'),
|
|
23
44
|
employerActivities: (0, validators_1.defaultSelectValidator)('Выберите вид деятельности организации'),
|
|
24
45
|
employerOrganization: (0, validators_1.defaultSelectValidator)('Выберите вид организации'),
|
|
25
46
|
positionOrganization: (0, validators_1.defaultSelectValidator)('Выберите вашу должность'),
|
|
26
|
-
dulSerie: (0, validators_1.serieValidator)('Укажите серию паспорта'),
|
|
27
|
-
dulNumber: (0, validators_1.numberValidator)('Укажите номер паспорта'),
|
|
28
|
-
dulIssueDateField: (0, validators_1.defaultValidator)('Укажите дату выдачи паспорта'),
|
|
29
|
-
dulSubdivisionCode: (0, validators_1.numberValidator)('Укажите код подразделения'),
|
|
30
|
-
dulIssuedBy: (0, validators_1.defaultValidator)('Укажите организацию, выдавшую паспорт'),
|
|
31
|
-
email: (0, validators_1.emailValidator)('Укажите электронную почту'),
|
|
32
|
-
fullName: (0, validators_1.defaultValidator)(),
|
|
33
|
-
inn: (0, validators_1.innValidator)('Укажите ИНН'),
|
|
34
|
-
legalForm: (0, validators_1.defaultValidator)('Укажите ОПФ'),
|
|
35
|
-
organizationName: (0, validators_1.defaultValidator)('Укажите наименование организации'),
|
|
36
|
-
generalSeniority: (0, validators_1.jobNumberValidator)('Укажите количество лет стажа'),
|
|
37
|
-
lastJobExperience: (0, validators_1.jobNumberValidator)('Укажите стаж на последнем месте работы'),
|
|
38
|
-
experience5Years: (0, validators_1.jobNumberValidator)('Укажите общий стаж за последние 5 лет'),
|
|
39
|
-
jobsNumber: (0, validators_1.jobNumberValidator)('Укажите количество мест работы за последние 5 лет'),
|
|
40
|
-
beginDate: (0, validators_1.defaultValidator)('Укажите дату заключения трудового договора'),
|
|
41
|
-
addressFact: (0, validators_1.addressDaDataValidator)(),
|
|
42
|
-
partnerComments: (0, validators_1.defaultValidator)(),
|
|
43
|
-
collectionCount: (0, validators_1.defaultValidator)(),
|
|
44
|
-
comment: (0, validators_1.defaultValidator)(),
|
|
45
|
-
acquiringType: (0, validators_1.defaultSelectValidator)(),
|
|
46
|
-
feedbackMethod: (0, validators_1.defaultSelectValidator)(),
|
|
47
|
-
serviceType: (0, validators_1.defaultSelectValidator)(),
|
|
48
|
-
serviceDirection: (0, validators_1.defaultSelectValidator)(),
|
|
49
|
-
regionRetail: (0, validators_1.defaultSelectValidator)('Выберите регион'),
|
|
50
|
-
meetingDay: (0, validators_1.defaultValidator)(),
|
|
51
|
-
product: (0, validators_1.defaultValidator)(),
|
|
52
|
-
localities: (0, validators_1.defaultValidator)(),
|
|
53
|
-
consentDataProcessing: validators_1.agreementValidator,
|
|
54
|
-
annualRevenue: (0, validators_1.defaultValidator)(),
|
|
55
|
-
consentToReceiveMaterials: validators_1.agreementValidator,
|
|
56
|
-
processPersonalDataFlg: validators_1.agreementValidator,
|
|
57
|
-
consentProviderFlg: validators_1.agreementValidator,
|
|
58
|
-
consentPfrFlg: validators_1.agreementValidator,
|
|
59
|
-
consentOthersFlg: validators_1.agreementValidator,
|
|
60
|
-
consentInformFlg: validators_1.agreementValidator,
|
|
61
47
|
familyStatus: (0, validators_1.defaultSelectValidator)('Выберите семейное положение'),
|
|
62
|
-
children: (0, validators_1.lengthStringValidator)(2, 'Укажите количество детей'),
|
|
63
48
|
familyMembers: (0, validators_1.lengthStringValidator)(2, 'Укажите количество членов семьи'),
|
|
49
|
+
children: (0, validators_1.lengthStringValidator)(2, 'Укажите количество детей'),
|
|
64
50
|
dependents: (0, validators_1.lengthStringValidator)(2, 'Укажите количество иждивенцев'),
|
|
65
51
|
totalIncome: (0, validators_1.lengthStringValidator)(19, 'Укажите среднемесячный доход от основной зарплаты'),
|
|
66
52
|
expenses: (0, validators_1.lengthStringValidator)(10, 'Укажите сумму обязательных выплат'),
|
|
67
53
|
snils: (0, validators_1.snilsValidator)('Некорректный номер СНИЛС'),
|
|
68
54
|
conscription: (0, validators_1.defaultValidator)(),
|
|
69
55
|
armyIdFlg: validators_1.agreementValidator,
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
56
|
+
dulSerie: (0, validators_1.serieValidator)('Укажите серию паспорта'),
|
|
57
|
+
dulNumber: (0, validators_1.numberValidator)('Укажите номер паспорта'),
|
|
58
|
+
dulIssueDateField: (0, validators_1.defaultValidator)('Укажите дату выдачи паспорта'),
|
|
59
|
+
dulSubdivisionCode: (0, validators_1.numberValidator)('Укажите код подразделения'),
|
|
60
|
+
dulIssuedBy: (0, validators_1.defaultValidator)('Укажите организацию, выдавшую паспорт'),
|
|
73
61
|
participantDateRegistration: (0, validators_1.defaultValidator)('Укажите дату регистрации'),
|
|
74
62
|
retirementIncome: (0, validators_1.defaultValidator)(),
|
|
75
63
|
otherIncome: (0, validators_1.defaultValidator)(),
|
|
@@ -81,15 +69,37 @@ exports.validatorObj = {
|
|
|
81
69
|
legalEntityName: (0, validators_1.defaultValidator)(),
|
|
82
70
|
bankEmployeeCode: (0, validators_1.defaultValidator)(),
|
|
83
71
|
partInBusiness: (0, validators_1.defaultValidator)(),
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
72
|
+
regionRetail: (0, validators_1.defaultSelectValidator)('Выберите регион'),
|
|
73
|
+
};
|
|
74
|
+
exports.validatorObj = {
|
|
75
|
+
fullName: (0, validators_1.defaultValidator)(),
|
|
76
|
+
addressBranch: (0, validators_1.defaultSelectValidator)(),
|
|
77
|
+
desiredMeetingDate: (0, validators_1.defaultValidator)(),
|
|
78
|
+
product: (0, validators_1.defaultValidator)(),
|
|
79
|
+
localities: (0, validators_1.defaultValidator)(),
|
|
80
|
+
partnerComments: (0, validators_1.defaultValidator)(),
|
|
81
|
+
collectionCount: (0, validators_1.defaultValidator)(),
|
|
82
|
+
acquiringType: (0, validators_1.defaultSelectValidator)(),
|
|
83
|
+
serviceType: (0, validators_1.defaultSelectValidator)(),
|
|
84
|
+
annualRevenue: (0, validators_1.defaultValidator)(),
|
|
85
|
+
feedbackMethod: (0, validators_1.defaultSelectValidator)(),
|
|
86
|
+
serviceDirection: (0, validators_1.defaultSelectValidator)(),
|
|
87
|
+
secondaryPhone: (0, validators_1.phoneValidator)('Укажите номер телефона'),
|
|
88
|
+
region: (0, validators_1.defaultSelectValidator)(),
|
|
89
|
+
surname: (0, validators_1.nameValidator)('Укажите свою фамилию'),
|
|
90
|
+
name: (0, validators_1.nameValidator)('Укажите своё имя'),
|
|
91
|
+
middleName: (0, validators_1.nameValidator)('Укажите своё отчество'),
|
|
92
|
+
birthday: (0, validators_1.defaultValidator)('Укажите дату рождения'),
|
|
93
|
+
phone: (0, validators_1.phoneValidator)('Укажите номер телефона'),
|
|
94
|
+
email: (0, validators_1.emailValidator)('Укажите электронную почту'),
|
|
95
|
+
inn: (0, validators_1.innValidator)('Укажите ИНН'),
|
|
96
|
+
comment: (0, validators_1.defaultValidator)(),
|
|
97
|
+
typeForm: (0, validators_1.defaultValidator)(),
|
|
98
|
+
consentToReceiveMaterials: validators_1.agreementValidator,
|
|
99
|
+
consentDataProcessing: validators_1.agreementValidator,
|
|
100
|
+
...validatorConsentsObj,
|
|
101
|
+
...validatorRetailObj,
|
|
102
|
+
...validatorCreditCardObj,
|
|
93
103
|
};
|
|
94
104
|
const getObjectValidator = (inputs) => {
|
|
95
105
|
const requiredInputs = (0, getNamesFromInput_1.getNamesFromInput)(inputs.filter((_) => Boolean(_?.required)));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getObjectValidator.js","sourceRoot":"","sources":["../../../src/ui-kit/FormField/getObjectValidator.tsx"],"names":[],"mappings":";;AAEA,2DAAwD;AACxD,
|
|
1
|
+
{"version":3,"file":"getObjectValidator.js","sourceRoot":"","sources":["../../../src/ui-kit/FormField/getObj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
import { type TypeFormFieldDef } from '../../
|
|
1
|
+
import { type TypeFormFieldDef } from '../../services/retail/model/RetailFormContent';
|
|
2
2
|
export declare const getPremium: (typeForm?: TypeFormFieldDef) => boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
2
|
exports.updateOrganizationFields = void 0;
|
|
3
|
-
const getOrganizationParams_1 = require("../../
|
|
3
|
+
const getOrganizationParams_1 = require("../../services/retail/utils/getOrganizationParams");
|
|
4
4
|
const AddressField_1 = require("./Fields/AddressField");
|
|
5
5
|
const updateOrganizationFields = (store, field, item) => {
|
|
6
6
|
const { okved, okopf, inn } = getOrganizationRequisites(item);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updateOrganizationFields.js","sourceRoot":"","sources":["../../../src/ui-kit/FormField/updateOrganizationFields.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"updateOrganizationFields.js","sourceRoot":"","sources":["../../../src/ui-kit/FormField/updateOrganizationFields.ts"],"names":[],"mappings":";;AAGA,6FAK2D;AAC3D,wDAAiE;AAE1D,MAAM,wBAAwB,GAAG,CACtC,KAAgC,EAChC,KAA+B,EAC/B,IAAsB,EACtB,EAAE;IACF,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,EAAE,GAAG,yBAAyB,CAAC,IAAI,CAAC,CAAC;IAE9D,KAAK,EAAE,CAAC,WAAW,CAAC,EAAE,QAAQ,EAAE,CAAC,IAAI,CAAC,IAAI,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC;IAExD,KAAK,EAAE,CAAC,qBAAqB,CAAC,EAAE,QAAQ,EAAE,CACxC,IAAA,uCAAwB,EAAC,IAAI,CAAC,IAAI,EAAE,OAA2B,CAAC,CACjE,CAAC;IAEF,MAAM,gBAAgB,GAAG;QACvB,aAAa,EAAE,IAAA,gDAAwB,EAAC,KAAK,EAAE,aAAa,EAAE,IAAI,CAAC,IAAI,EAAE,cAAc,CAAC;QACxF,kBAAkB,EAAE,IAAA,mDAA2B,EAAC,KAAK,EAAE,kBAAkB,IAAI,EAAE,EAAE,KAAK,CAAC;QACvF,YAAY,EAAE,IAAA,2CAAmB,EAAC,KAAK,EAAE,YAAY,IAAI,EAAE,EAAE,KAAK,EAAE,GAAG,CAAC;QACxE,oBAAoB,EAAE,IAAA,2CAAmB,EAAC,KAAK,EAAE,oBAAoB,IAAI,EAAE,EAAE,KAAK,CAAC;KACpF,CAAC;IAEF,KAAK,MAAM,SAAS,IAAI,gBAAgB,EAAE;QACxC,gBAAgB,CAAC,SAAS,CAAC,IAAI,KAAK,EAAE,CAAC,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAC,gBAAgB,CAAC,SAAS,CAAC,CAAC,CAAC;KAC5F;AACH,CAAC,CAAC;AAvBW,QAAA,wBAAwB,4BAuBnC;AAEF,MAAM,yBAAyB,GAAG,CAAC,IAAsB,EAAE,EAAE,CAAC,CAAC;IAC7D,GAAG,EAAE,IAAI,CAAC,IAAI,EAAE,GAAG,IAAI,EAAE;IACzB,KAAK,EAAE,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,GAAG,EAAE,IAAI,CAAC;IACnC,KAAK,EAAE,IAAI,CAAC,IAAI,EAAE,KAAK,IAAI,EAAE;CAC9B,CAAC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type Address } from '../../
|
|
1
|
+
import { type Address } from '../../services/retail/model/LeadFormState';
|
|
2
2
|
export declare const defaultValidator: (errorMsg?: string) => import("../../validation/validator").Validator<any>;
|
|
3
3
|
export declare const defaultSelectValidator: (errorMsg?: string) => import("../../validation/validator").Validator<any>;
|
|
4
4
|
export declare const jobNumberValidator: (errorMsg?: string) => import("../../validation/validator").Validator<any>;
|
|
@@ -9,8 +9,8 @@ import { renderTitle } from '../../ui-kit/FormField/renderTitle.js';
|
|
|
9
9
|
import { Loader } from '../../ui-kit/Loader/Loader.js';
|
|
10
10
|
import { ResponseTypeDialog } from '../../ui-kit/ResponseTypeDialog/ResponseTypeDialog.js';
|
|
11
11
|
import { style } from '../../utils/style.js';
|
|
12
|
-
import { renderInputs } from '../ApplicationForm/renderInputs.js';
|
|
13
12
|
import { applicationFormData } from './applicationFormData.js';
|
|
13
|
+
import { renderInputs } from './renderInputs.js';
|
|
14
14
|
import { renderSubmitButton } from './renderSubmitButton.js';
|
|
15
15
|
import { useApplicationLeadApi } from './useApplicationLeadApi.js';
|
|
16
16
|
import { useInitApplicationLead } from './useInitApplicationLead.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApplicationLeadForm.js","sourceRoot":"","sources":["../../../src/components/ApplicationLeadForm/ApplicationLeadForm.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AACjE,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,qBAAqB,EAAE,MAAM,0DAA0D,CAAC;AACjG,OAAO,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAC;AACjE,OAAO,EAAE,iBAAiB,EAAE,MAAM,yCAAyC,CAAC;AAC5E,OAAO,EAAE,WAAW,EAAE,MAAM,oCAAoC,CAAC;AACjE,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,oDAAoD,CAAC;AAExF,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"ApplicationLeadForm.js","sourceRoot":"","sources":["../../../src/components/ApplicationLeadForm/ApplicationLeadForm.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAA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ps, type TextProps, type TitleProps } from '../../model/HeadlineType';
|
|
3
2
|
import { type InputSectionsType } from '../../model/InputSectionsType';
|
|
4
3
|
import { type LinkButtonVersion } from '../../model/LinkButtonVersion';
|
|
5
4
|
import { type NameFieldDef } from '../../ui-kit/FormField/NameFieldDef';
|
|
6
5
|
import { type UniBlockContent } from '../../UniBlock/UniBlockProps';
|
|
7
|
-
import { type TypeFormFieldDef } from '../ApplicationForm/ApplicationFormContent';
|
|
8
|
-
import { type LeadFormState } from './LeadFormState';
|
|
9
6
|
interface Required {
|
|
10
7
|
/** @title Обязательно для заполнения */
|
|
11
8
|
required?: boolean;
|
|
@@ -75,10 +72,4 @@ export declare type ApplicationLeadFormContent = UniBlockContent & TitleProps &
|
|
|
75
72
|
/** @title адресс следующей страницы заявки */
|
|
76
73
|
nextStepLink?: string;
|
|
77
74
|
};
|
|
78
|
-
/** @hidden */
|
|
79
|
-
export interface GroupedConsentsProps {
|
|
80
|
-
inputs?: FieldDef[];
|
|
81
|
-
typeForm?: TypeFormFieldDef;
|
|
82
|
-
field: FormFieldRegisterer<LeadFormState>;
|
|
83
|
-
}
|
|
84
75
|
export {};
|
|
@@ -1,2 +1,9 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type FormFieldRegisterer } from '../../services/retail/external/types';
|
|
2
|
+
import { type LeadFormState } from '../../services/retail/model/LeadFormState';
|
|
3
|
+
import { type FieldDef, type TypeFormFieldDef } from '../../services/retail/model/RetailFormContent';
|
|
4
|
+
export interface GroupedConsentsProps {
|
|
5
|
+
inputs?: FieldDef[];
|
|
6
|
+
typeForm?: TypeFormFieldDef;
|
|
7
|
+
field: FormFieldRegisterer<LeadFormState>;
|
|
8
|
+
}
|
|
2
9
|
export declare const GroupedConsents: import("@redneckz/uni-jsx").UNIComponent<GroupedConsentsProps, any, any>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
3
|
import { useMemo } from '@redneckz/uni-jsx/lib/hooks';
|
|
4
|
+
import { InputsConsentsMap } from '../../services/retail/inputs.js';
|
|
4
5
|
import { Checkbox } from '../../ui-kit/Checkbox/Checkbox.js';
|
|
5
6
|
import { Foldable } from '../../ui-kit/Foldable/Foldable.js';
|
|
6
7
|
import { FoldableSection } from '../../ui-kit/Foldable/FoldableSection.js';
|
|
@@ -22,7 +23,7 @@ export const GroupedConsents = JSX(({ inputs = [], typeForm = '', field, key })
|
|
|
22
23
|
const hasValidationErrors = useMemo(() => inputs
|
|
23
24
|
?.filter((_) => _.required)
|
|
24
25
|
?.some((_) => Boolean(withValidator(field(_?.name), validatorObj[_?.name]).error)), [inputs]);
|
|
25
|
-
return (_jsx("div", { className: "w-fit", children: _jsx(Foldable, { isFoldButtonOnTop: true, unfoldedByDefault: true, renderFoldableSection: ({ isUnfolded }) => (_jsx(FoldableSection, { isUnfolded: isUnfolded, className: "flex flex-col pl-2xl", children: inputs.map(getField(field, { typeForm })) })), renderFoldButton: renderGeneralCheckbox(_jsxs("div", { children: [_jsx(Checkbox, { value: isChecked, onChange: handleGeneralToggle, text: CONSENT_ALL_DOCS_TEXT }, key), renderErrorText(hasValidationErrors ? CONSENT_REQUIRED : '')] })) }) }));
|
|
26
|
+
return (_jsx("div", { className: "w-fit", children: _jsx(Foldable, { isFoldButtonOnTop: true, unfoldedByDefault: true, renderFoldableSection: ({ isUnfolded }) => (_jsx(FoldableSection, { isUnfolded: isUnfolded, className: "flex flex-col pl-2xl", children: inputs.map(getField(field, { typeForm }, InputsConsentsMap)) })), renderFoldButton: renderGeneralCheckbox(_jsxs("div", { children: [_jsx(Checkbox, { value: isChecked, onChange: handleGeneralToggle, text: CONSENT_ALL_DOCS_TEXT }, key), renderErrorText(hasValidationErrors ? CONSENT_REQUIRED : '')] })) }) }));
|
|
26
27
|
});
|
|
27
28
|
const renderGeneralCheckbox = (generalCheckBox) => (foldableData) => (_jsxs("div", { className: "flex items-start", children: [generalCheckBox, _jsx("button", { onClick: foldableData.onToggle, className: "px-m py-2xs", type: "button", children: _jsx(Icon, { className: "text-primary-text", name: foldableData.isUnfolded ? 'ArrowUpIcon' : 'ArrowDownIcon', width: "16", height: "16" }) })] }));
|
|
28
29
|
//# sourceMappingURL=GroupedConsents.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GroupedConsents.js","sourceRoot":"","sources":["../../../src/components/ApplicationLeadForm/GroupedConsents.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAEtD,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAC1D,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAE1D,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AACxE,OAAO,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAC;AAC3D,OAAO,EAAE,YAAY,EAAE,MAAM,2CAA2C,CAAC;AACzE,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;
|
|
1
|
+
{"version":3,"file":"GroupedConsents.js","sourceRoot":"","sources":["../../../src/components/ApplicationLeadForm/GroupedConsents.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAEtD,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAMjE,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAC1D,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAE1D,OA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
|
interface ConsentData {
|
|
3
3
|
text: string;
|
|
4
4
|
docId?: number;
|
|
5
5
|
}
|
|
6
|
-
export declare const CONSENTS: Record<keyof
|
|
6
|
+
export declare const CONSENTS: Record<keyof FormRetailConsents, ConsentData>;
|
|
7
7
|
export {};
|
|
@@ -19,8 +19,5 @@ export const CONSENTS = {
|
|
|
19
19
|
text: 'Согласие на запрос в ПФР',
|
|
20
20
|
docId: 3,
|
|
21
21
|
},
|
|
22
|
-
consentToReceiveMaterials: {
|
|
23
|
-
text: 'Согласен на получение информационных и аналитических материалов по электронной почте',
|
|
24
|
-
},
|
|
25
22
|
};
|
|
26
23
|
//# sourceMappingURL=consents.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"consents.js","sourceRoot":"","sources":["../../../src/components/ApplicationLeadForm/consents.ts"],"names":[],"mappings":"AAOA,MAAM,CAAC,MAAM,QAAQ,
|
|
1
|
+
{"version":3,"file":"consents.js","sourceRoot":"","sources":["../../../src/components/ApplicationLeadForm/consents.ts"],"names":[],"mappings":"AAOA,MAAM,CAAC,MAAM,QAAQ,GAAkD;IACrE,sBAAsB,EAAE;QACtB,IAAI,EAAE,2CAA2C;QACjD,KAAK,EAAE,CAAC;KACT;IACD,gBAAgB,EAAE;QAChB,IAAI,EAAE,wDAAwD;QAC9D,KAAK,EAAE,EAAE;KACV;IACD,kBAAkB,EAAE;QAClB,IAAI,EAAE,uDAAuD;QAC7D,KAAK,EAAE,CAAC;KACT;IACD,gBAAgB,EAAE;QAChB,IAAI,EAAE,iBAAiB;QACvB,KAAK,EAAE,CAAC;KACT;IACD,aAAa,EAAE;QACb,IAAI,EAAE,0BAA0B;QAChC,KAAK,EAAE,CAAC;KACT;CACF,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
+
import type { LeadFormState } from '../../services/retail/model/LeadFormState';
|
|
1
2
|
import { type FieldDef } from './ApplicationLeadFormContent';
|
|
2
|
-
import type { LeadFormState } from './LeadFormState';
|
|
3
3
|
export declare const getInitialFormState: (inputs: FieldDef[], savedForm: LeadFormState | null) => LeadFormState;
|