@redneckz/wildless-cms-uni-blocks 0.14.730 → 0.14.731
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 +11 -37
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +2 -3
- package/bundle/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +3 -60
- package/bundle/components/ApplicationLeadForm/GroupedConsents.d.ts +2 -3
- package/bundle/components/ApplicationLeadForm/applicationFormData.d.ts +2 -2
- package/bundle/components/ApplicationLeadForm/getInitialFormState.d.ts +2 -2
- package/bundle/components/ApplicationLeadForm/renderInputs.d.ts +1 -1
- package/bundle/components/ApplicationLeadForm/useApplicationLeadApi.d.ts +2 -2
- package/bundle/components/ApplicationLeadForm/useInitApplicationLead.d.ts +2 -2
- package/bundle/components/CreditCardForm/CreditCardFormContent.d.ts +4 -5
- package/bundle/components/CreditCardForm/CreditCardFormStep.d.ts +2 -2
- package/bundle/components/CreditCardForm/renderInfo.d.ts +2 -2
- package/bundle/components/CreditCardForm/renderInputs.d.ts +2 -2
- package/bundle/components/CreditCardForm/useCreditCardFormAPI.d.ts +2 -2
- package/bundle/components/CreditForm/CreditFormStep.d.ts +2 -2
- package/bundle/components/CreditForm/creditFormStepsData.d.ts +2 -2
- package/bundle/components/CreditForm/renderInfo.d.ts +2 -2
- package/bundle/components/CreditForm/renderInputs.d.ts +2 -2
- package/bundle/components/CreditForm/renderStep.d.ts +2 -2
- package/bundle/components/CreditForm/useCreditFormAPI.d.ts +2 -2
- package/bundle/model/FormTypeFieldDef.d.ts +2 -0
- package/bundle/model/InputSectionsType.d.ts +10 -1
- package/bundle/services/retail/model/RetailFormContent.d.ts +1 -17
- package/bundle/services/retail/utils/calculateInputs.d.ts +3 -2
- package/bundle/ui-kit/FormField/CustomFieldProps.d.ts +5 -2
- package/bundle/ui-kit/FormField/getConsentDataProcessing.d.ts +1 -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 +2 -2
- package/dist/components/ApplicationForm/ApplicationFormContent.d.ts +2 -3
- package/dist/components/ApplicationLeadForm/ApplicationLeadForm.js.map +1 -1
- package/dist/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +3 -60
- package/dist/components/ApplicationLeadForm/GroupedConsents.d.ts +2 -3
- package/dist/components/ApplicationLeadForm/GroupedConsents.js +2 -2
- package/dist/components/ApplicationLeadForm/GroupedConsents.js.map +1 -1
- package/dist/components/ApplicationLeadForm/applicationFormData.d.ts +2 -2
- package/dist/components/ApplicationLeadForm/applicationFormData.js.map +1 -1
- package/dist/components/ApplicationLeadForm/getInitialFormState.d.ts +2 -2
- package/dist/components/ApplicationLeadForm/getInitialFormState.js +6 -35
- package/dist/components/ApplicationLeadForm/getInitialFormState.js.map +1 -1
- package/dist/components/ApplicationLeadForm/renderInputs.d.ts +1 -1
- package/dist/components/ApplicationLeadForm/renderInputs.js +2 -2
- package/dist/components/ApplicationLeadForm/renderInputs.js.map +1 -1
- package/dist/components/ApplicationLeadForm/useApplicationLeadApi.d.ts +2 -2
- package/dist/components/ApplicationLeadForm/useApplicationLeadApi.js.map +1 -1
- package/dist/components/ApplicationLeadForm/useInitApplicationLead.d.ts +2 -2
- package/dist/components/ApplicationLeadForm/useInitApplicationLead.js.map +1 -1
- package/dist/components/CreditCardForm/CreditCardFormContent.d.ts +4 -5
- package/dist/components/CreditCardForm/CreditCardFormStep.d.ts +2 -2
- package/dist/components/CreditCardForm/CreditCardFormStep.js.map +1 -1
- package/dist/components/CreditCardForm/renderInfo.d.ts +2 -2
- package/dist/components/CreditCardForm/renderInfo.js.map +1 -1
- package/dist/components/CreditCardForm/renderInputs.d.ts +2 -2
- package/dist/components/CreditCardForm/useCreditCardFormAPI.d.ts +2 -2
- package/dist/components/CreditCardForm/useCreditCardFormAPI.js.map +1 -1
- package/dist/components/CreditForm/CreditFormStep.d.ts +2 -2
- package/dist/components/CreditForm/CreditFormStep.js.map +1 -1
- package/dist/components/CreditForm/creditFormStepsData.d.ts +2 -2
- package/dist/components/CreditForm/creditFormStepsData.js.map +1 -1
- package/dist/components/CreditForm/renderInfo.d.ts +2 -2
- package/dist/components/CreditForm/renderInfo.js.map +1 -1
- package/dist/components/CreditForm/renderInputs.d.ts +2 -2
- package/dist/components/CreditForm/renderStep.d.ts +2 -2
- package/dist/components/CreditForm/renderStep.js.map +1 -1
- package/dist/components/CreditForm/useCreditFormAPI.d.ts +2 -2
- package/dist/model/FormTypeFieldDef.d.ts +2 -0
- package/dist/model/FormTypeFieldDef.js +2 -0
- package/dist/model/FormTypeFieldDef.js.map +1 -0
- package/dist/model/InputSectionsType.d.ts +10 -1
- package/dist/services/retail/model/RetailFormContent.d.ts +1 -17
- package/dist/services/retail/model/RetailFormContent.js +0 -2
- package/dist/services/retail/model/RetailFormContent.js.map +1 -1
- package/dist/services/retail/utils/calculateInputs.d.ts +3 -2
- package/dist/services/retail/utils/calculateInputs.js.map +1 -1
- package/dist/ui-kit/FormField/CustomFieldProps.d.ts +5 -2
- package/dist/ui-kit/FormField/getConsentDataProcessing.d.ts +1 -1
- 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/getPremium.d.ts +2 -2
- package/lib/components/ApplicationForm/ApplicationFormContent.d.ts +2 -3
- package/lib/components/ApplicationLeadForm/ApplicationLeadForm.js.map +1 -1
- package/lib/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +3 -60
- package/lib/components/ApplicationLeadForm/GroupedConsents.d.ts +2 -3
- package/lib/components/ApplicationLeadForm/GroupedConsents.js +2 -2
- package/lib/components/ApplicationLeadForm/GroupedConsents.js.map +1 -1
- package/lib/components/ApplicationLeadForm/applicationFormData.d.ts +2 -2
- package/lib/components/ApplicationLeadForm/applicationFormData.js.map +1 -1
- package/lib/components/ApplicationLeadForm/getInitialFormState.d.ts +2 -2
- package/lib/components/ApplicationLeadForm/getInitialFormState.js +6 -35
- package/lib/components/ApplicationLeadForm/getInitialFormState.js.map +1 -1
- package/lib/components/ApplicationLeadForm/renderInputs.d.ts +1 -1
- package/lib/components/ApplicationLeadForm/renderInputs.js +2 -2
- package/lib/components/ApplicationLeadForm/renderInputs.js.map +1 -1
- package/lib/components/ApplicationLeadForm/useApplicationLeadApi.d.ts +2 -2
- package/lib/components/ApplicationLeadForm/useApplicationLeadApi.js.map +1 -1
- package/lib/components/ApplicationLeadForm/useInitApplicationLead.d.ts +2 -2
- package/lib/components/ApplicationLeadForm/useInitApplicationLead.js.map +1 -1
- package/lib/components/CreditCardForm/CreditCardFormContent.d.ts +4 -5
- package/lib/components/CreditCardForm/CreditCardFormStep.d.ts +2 -2
- package/lib/components/CreditCardForm/CreditCardFormStep.js.map +1 -1
- package/lib/components/CreditCardForm/renderInfo.d.ts +2 -2
- package/lib/components/CreditCardForm/renderInfo.js.map +1 -1
- package/lib/components/CreditCardForm/renderInputs.d.ts +2 -2
- package/lib/components/CreditCardForm/useCreditCardFormAPI.d.ts +2 -2
- package/lib/components/CreditCardForm/useCreditCardFormAPI.js.map +1 -1
- package/lib/components/CreditForm/CreditFormStep.d.ts +2 -2
- package/lib/components/CreditForm/CreditFormStep.js.map +1 -1
- package/lib/components/CreditForm/creditFormStepsData.d.ts +2 -2
- package/lib/components/CreditForm/creditFormStepsData.js.map +1 -1
- package/lib/components/CreditForm/renderInfo.d.ts +2 -2
- package/lib/components/CreditForm/renderInfo.js.map +1 -1
- package/lib/components/CreditForm/renderInputs.d.ts +2 -2
- package/lib/components/CreditForm/renderStep.d.ts +2 -2
- package/lib/components/CreditForm/renderStep.js.map +1 -1
- package/lib/components/CreditForm/useCreditFormAPI.d.ts +2 -2
- package/lib/components/OfficesAtmsMap/OfficesAtmsMapLayout.d.ts +1 -1
- package/lib/model/FormTypeFieldDef.d.ts +2 -0
- package/lib/model/FormTypeFieldDef.js +2 -0
- package/lib/model/FormTypeFieldDef.js.map +1 -0
- package/lib/model/InputSectionsType.d.ts +10 -1
- package/lib/services/retail/model/RetailFormContent.d.ts +1 -17
- package/lib/services/retail/model/RetailFormContent.js +0 -2
- package/lib/services/retail/model/RetailFormContent.js.map +1 -1
- package/lib/services/retail/utils/calculateInputs.d.ts +3 -2
- package/lib/services/retail/utils/calculateInputs.js.map +1 -1
- package/lib/ui-kit/FormField/CustomFieldProps.d.ts +5 -2
- package/lib/ui-kit/FormField/getConsentDataProcessing.d.ts +1 -1
- 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/getPremium.d.ts +2 -2
- package/mobile/bundle/bundle.umd.js +11 -37
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +2 -3
- package/mobile/bundle/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +3 -60
- package/mobile/bundle/components/ApplicationLeadForm/GroupedConsents.d.ts +2 -3
- package/mobile/bundle/components/ApplicationLeadForm/applicationFormData.d.ts +2 -2
- package/mobile/bundle/components/ApplicationLeadForm/getInitialFormState.d.ts +2 -2
- package/mobile/bundle/components/ApplicationLeadForm/renderInputs.d.ts +1 -1
- package/mobile/bundle/components/ApplicationLeadForm/useApplicationLeadApi.d.ts +2 -2
- package/mobile/bundle/components/ApplicationLeadForm/useInitApplicationLead.d.ts +2 -2
- package/mobile/bundle/components/CreditCardForm/CreditCardFormContent.d.ts +4 -5
- package/mobile/bundle/components/CreditCardForm/CreditCardFormStep.d.ts +2 -2
- package/mobile/bundle/components/CreditCardForm/renderInfo.d.ts +2 -2
- package/mobile/bundle/components/CreditCardForm/renderInputs.d.ts +2 -2
- package/mobile/bundle/components/CreditCardForm/useCreditCardFormAPI.d.ts +2 -2
- package/mobile/bundle/components/CreditForm/CreditFormStep.d.ts +2 -2
- package/mobile/bundle/components/CreditForm/creditFormStepsData.d.ts +2 -2
- package/mobile/bundle/components/CreditForm/renderInfo.d.ts +2 -2
- package/mobile/bundle/components/CreditForm/renderInputs.d.ts +2 -2
- package/mobile/bundle/components/CreditForm/renderStep.d.ts +2 -2
- package/mobile/bundle/components/CreditForm/useCreditFormAPI.d.ts +2 -2
- package/mobile/bundle/model/FormTypeFieldDef.d.ts +2 -0
- package/mobile/bundle/model/InputSectionsType.d.ts +10 -1
- package/mobile/bundle/services/retail/model/RetailFormContent.d.ts +1 -17
- package/mobile/bundle/services/retail/utils/calculateInputs.d.ts +3 -2
- package/mobile/bundle/ui-kit/FormField/CustomFieldProps.d.ts +5 -2
- package/mobile/bundle/ui-kit/FormField/getConsentDataProcessing.d.ts +1 -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 +2 -2
- package/mobile/dist/components/ApplicationForm/ApplicationFormContent.d.ts +2 -3
- package/mobile/dist/components/ApplicationLeadForm/ApplicationLeadForm.js.map +1 -1
- package/mobile/dist/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +3 -60
- package/mobile/dist/components/ApplicationLeadForm/GroupedConsents.d.ts +2 -3
- package/mobile/dist/components/ApplicationLeadForm/GroupedConsents.js +2 -2
- package/mobile/dist/components/ApplicationLeadForm/GroupedConsents.js.map +1 -1
- package/mobile/dist/components/ApplicationLeadForm/applicationFormData.d.ts +2 -2
- package/mobile/dist/components/ApplicationLeadForm/applicationFormData.js.map +1 -1
- package/mobile/dist/components/ApplicationLeadForm/getInitialFormState.d.ts +2 -2
- package/mobile/dist/components/ApplicationLeadForm/getInitialFormState.js +6 -35
- package/mobile/dist/components/ApplicationLeadForm/getInitialFormState.js.map +1 -1
- package/mobile/dist/components/ApplicationLeadForm/renderInputs.d.ts +1 -1
- package/mobile/dist/components/ApplicationLeadForm/renderInputs.js +2 -2
- package/mobile/dist/components/ApplicationLeadForm/renderInputs.js.map +1 -1
- package/mobile/dist/components/ApplicationLeadForm/useApplicationLeadApi.d.ts +2 -2
- package/mobile/dist/components/ApplicationLeadForm/useApplicationLeadApi.js.map +1 -1
- package/mobile/dist/components/ApplicationLeadForm/useInitApplicationLead.d.ts +2 -2
- package/mobile/dist/components/ApplicationLeadForm/useInitApplicationLead.js.map +1 -1
- package/mobile/dist/components/CreditCardForm/CreditCardFormContent.d.ts +4 -5
- package/mobile/dist/components/CreditCardForm/CreditCardFormStep.d.ts +2 -2
- package/mobile/dist/components/CreditCardForm/CreditCardFormStep.js.map +1 -1
- package/mobile/dist/components/CreditCardForm/renderInfo.d.ts +2 -2
- package/mobile/dist/components/CreditCardForm/renderInfo.js.map +1 -1
- package/mobile/dist/components/CreditCardForm/renderInputs.d.ts +2 -2
- package/mobile/dist/components/CreditCardForm/useCreditCardFormAPI.d.ts +2 -2
- package/mobile/dist/components/CreditCardForm/useCreditCardFormAPI.js.map +1 -1
- package/mobile/dist/components/CreditForm/CreditFormStep.d.ts +2 -2
- package/mobile/dist/components/CreditForm/CreditFormStep.js.map +1 -1
- package/mobile/dist/components/CreditForm/creditFormStepsData.d.ts +2 -2
- package/mobile/dist/components/CreditForm/creditFormStepsData.js.map +1 -1
- package/mobile/dist/components/CreditForm/renderInfo.d.ts +2 -2
- 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/renderStep.d.ts +2 -2
- package/mobile/dist/components/CreditForm/renderStep.js.map +1 -1
- package/mobile/dist/components/CreditForm/useCreditFormAPI.d.ts +2 -2
- package/mobile/dist/model/FormTypeFieldDef.d.ts +2 -0
- package/mobile/dist/model/FormTypeFieldDef.js +2 -0
- package/mobile/dist/model/FormTypeFieldDef.js.map +1 -0
- package/mobile/dist/model/InputSectionsType.d.ts +10 -1
- package/mobile/dist/services/retail/model/RetailFormContent.d.ts +1 -17
- package/mobile/dist/services/retail/model/RetailFormContent.js +0 -2
- package/mobile/dist/services/retail/model/RetailFormContent.js.map +1 -1
- package/mobile/dist/services/retail/utils/calculateInputs.d.ts +3 -2
- package/mobile/dist/services/retail/utils/calculateInputs.js.map +1 -1
- package/mobile/dist/ui-kit/FormField/CustomFieldProps.d.ts +5 -2
- package/mobile/dist/ui-kit/FormField/getConsentDataProcessing.d.ts +1 -1
- 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/getPremium.d.ts +2 -2
- package/mobile/lib/components/ApplicationForm/ApplicationFormContent.d.ts +2 -3
- package/mobile/lib/components/ApplicationLeadForm/ApplicationLeadForm.js.map +1 -1
- package/mobile/lib/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +3 -60
- package/mobile/lib/components/ApplicationLeadForm/GroupedConsents.d.ts +2 -3
- package/mobile/lib/components/ApplicationLeadForm/GroupedConsents.js +2 -2
- package/mobile/lib/components/ApplicationLeadForm/GroupedConsents.js.map +1 -1
- package/mobile/lib/components/ApplicationLeadForm/applicationFormData.d.ts +2 -2
- package/mobile/lib/components/ApplicationLeadForm/applicationFormData.js.map +1 -1
- package/mobile/lib/components/ApplicationLeadForm/getInitialFormState.d.ts +2 -2
- package/mobile/lib/components/ApplicationLeadForm/getInitialFormState.js +6 -35
- package/mobile/lib/components/ApplicationLeadForm/getInitialFormState.js.map +1 -1
- package/mobile/lib/components/ApplicationLeadForm/renderInputs.d.ts +1 -1
- package/mobile/lib/components/ApplicationLeadForm/renderInputs.js +2 -2
- package/mobile/lib/components/ApplicationLeadForm/renderInputs.js.map +1 -1
- package/mobile/lib/components/ApplicationLeadForm/useApplicationLeadApi.d.ts +2 -2
- package/mobile/lib/components/ApplicationLeadForm/useApplicationLeadApi.js.map +1 -1
- package/mobile/lib/components/ApplicationLeadForm/useInitApplicationLead.d.ts +2 -2
- package/mobile/lib/components/ApplicationLeadForm/useInitApplicationLead.js.map +1 -1
- package/mobile/lib/components/CreditCardForm/CreditCardFormContent.d.ts +4 -5
- package/mobile/lib/components/CreditCardForm/CreditCardFormStep.d.ts +2 -2
- package/mobile/lib/components/CreditCardForm/CreditCardFormStep.js.map +1 -1
- package/mobile/lib/components/CreditCardForm/renderInfo.d.ts +2 -2
- package/mobile/lib/components/CreditCardForm/renderInfo.js.map +1 -1
- package/mobile/lib/components/CreditCardForm/renderInputs.d.ts +2 -2
- package/mobile/lib/components/CreditCardForm/useCreditCardFormAPI.d.ts +2 -2
- package/mobile/lib/components/CreditCardForm/useCreditCardFormAPI.js.map +1 -1
- package/mobile/lib/components/CreditForm/CreditFormStep.d.ts +2 -2
- package/mobile/lib/components/CreditForm/CreditFormStep.js.map +1 -1
- package/mobile/lib/components/CreditForm/creditFormStepsData.d.ts +2 -2
- package/mobile/lib/components/CreditForm/creditFormStepsData.js.map +1 -1
- package/mobile/lib/components/CreditForm/renderInfo.d.ts +2 -2
- 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/renderStep.d.ts +2 -2
- package/mobile/lib/components/CreditForm/renderStep.js.map +1 -1
- package/mobile/lib/components/CreditForm/useCreditFormAPI.d.ts +2 -2
- package/mobile/lib/model/FormTypeFieldDef.d.ts +2 -0
- package/mobile/lib/model/FormTypeFieldDef.js +2 -0
- package/mobile/lib/model/FormTypeFieldDef.js.map +1 -0
- package/mobile/lib/model/InputSectionsType.d.ts +10 -1
- package/mobile/lib/services/retail/model/RetailFormContent.d.ts +1 -17
- package/mobile/lib/services/retail/model/RetailFormContent.js +0 -2
- package/mobile/lib/services/retail/model/RetailFormContent.js.map +1 -1
- package/mobile/lib/services/retail/utils/calculateInputs.d.ts +3 -2
- package/mobile/lib/services/retail/utils/calculateInputs.js.map +1 -1
- package/mobile/lib/ui-kit/FormField/CustomFieldProps.d.ts +5 -2
- package/mobile/lib/ui-kit/FormField/getConsentDataProcessing.d.ts +1 -1
- 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/getPremium.d.ts +2 -2
- package/mobile/src/components/ApplicationForm/ApplicationFormContent.ts +2 -22
- package/mobile/src/components/ApplicationLeadForm/ApplicationLeadForm.tsx +3 -2
- package/mobile/src/components/ApplicationLeadForm/ApplicationLeadFormContent.ts +4 -72
- package/mobile/src/components/ApplicationLeadForm/GroupedConsents.tsx +48 -54
- package/mobile/src/components/ApplicationLeadForm/applicationFormData.tsx +2 -2
- package/mobile/src/components/ApplicationLeadForm/getInitialFormState.tsx +8 -43
- package/mobile/src/components/ApplicationLeadForm/renderInputs.tsx +5 -5
- package/mobile/src/components/ApplicationLeadForm/useApplicationLeadApi.tsx +2 -2
- package/mobile/src/components/ApplicationLeadForm/useInitApplicationLead.ts +2 -2
- package/mobile/src/components/CreditCardForm/CreditCardFormContent.ts +4 -5
- package/mobile/src/components/CreditCardForm/CreditCardFormStep.tsx +4 -3
- package/mobile/src/components/CreditCardForm/renderInfo.tsx +2 -2
- package/mobile/src/components/CreditCardForm/renderInputs.tsx +2 -2
- package/mobile/src/components/CreditCardForm/useCreditCardFormAPI.tsx +2 -2
- package/mobile/src/components/CreditForm/CreditFormStep.tsx +4 -4
- package/mobile/src/components/CreditForm/creditFormStepsData.tsx +2 -2
- package/mobile/src/components/CreditForm/renderInfo.tsx +2 -2
- package/mobile/src/components/CreditForm/renderInputs.tsx +2 -2
- package/mobile/src/components/CreditForm/renderStep.tsx +2 -2
- package/mobile/src/components/CreditForm/useCreditFormAPI.tsx +2 -2
- package/mobile/src/model/FormTypeFieldDef.ts +20 -0
- package/mobile/src/model/InputSectionsType.ts +12 -1
- package/mobile/src/services/retail/model/RetailFormContent.ts +1 -42
- package/mobile/src/services/retail/utils/calculateInputs.ts +3 -2
- package/mobile/src/ui-kit/FormField/CustomFieldProps.ts +6 -5
- package/mobile/src/ui-kit/FormField/Fields/AddressBranchField.tsx +2 -2
- 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/getConsentDataProcessing.tsx +1 -1
- package/mobile/src/ui-kit/FormField/getField.tsx +3 -5
- package/mobile/src/ui-kit/FormField/getNamesFromInput.tsx +1 -1
- package/mobile/src/ui-kit/FormField/getObjectValidator.tsx +1 -1
- package/mobile/src/ui-kit/FormField/getPremium.tsx +2 -2
- package/package.json +1 -1
- package/src/components/ApplicationForm/ApplicationFormContent.ts +2 -22
- package/src/components/ApplicationLeadForm/ApplicationLeadForm.tsx +3 -2
- package/src/components/ApplicationLeadForm/ApplicationLeadFormContent.ts +4 -72
- package/src/components/ApplicationLeadForm/GroupedConsents.tsx +48 -54
- package/src/components/ApplicationLeadForm/applicationFormData.tsx +2 -2
- package/src/components/ApplicationLeadForm/getInitialFormState.tsx +8 -43
- package/src/components/ApplicationLeadForm/renderInputs.tsx +5 -5
- package/src/components/ApplicationLeadForm/useApplicationLeadApi.tsx +2 -2
- package/src/components/ApplicationLeadForm/useInitApplicationLead.ts +2 -2
- package/src/components/CreditCardForm/CreditCardFormContent.ts +4 -5
- package/src/components/CreditCardForm/CreditCardFormStep.tsx +4 -3
- package/src/components/CreditCardForm/renderInfo.tsx +2 -2
- package/src/components/CreditCardForm/renderInputs.tsx +2 -2
- package/src/components/CreditCardForm/useCreditCardFormAPI.tsx +2 -2
- package/src/components/CreditForm/CreditFormStep.tsx +4 -4
- package/src/components/CreditForm/creditFormStepsData.tsx +2 -2
- package/src/components/CreditForm/renderInfo.tsx +2 -2
- package/src/components/CreditForm/renderInputs.tsx +2 -2
- package/src/components/CreditForm/renderStep.tsx +2 -2
- package/src/components/CreditForm/useCreditFormAPI.tsx +2 -2
- package/src/model/FormTypeFieldDef.ts +20 -0
- package/src/model/InputSectionsType.ts +12 -1
- package/src/services/retail/model/RetailFormContent.ts +1 -42
- package/src/services/retail/utils/calculateInputs.ts +3 -2
- package/src/ui-kit/FormField/CustomFieldProps.ts +6 -5
- package/src/ui-kit/FormField/Fields/AddressBranchField.tsx +2 -2
- 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/getConsentDataProcessing.tsx +1 -1
- package/src/ui-kit/FormField/getField.tsx +3 -5
- package/src/ui-kit/FormField/getNamesFromInput.tsx +1 -1
- package/src/ui-kit/FormField/getObjectValidator.tsx +1 -1
- package/src/ui-kit/FormField/getPremium.tsx +2 -2
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { type AspectsProps } from '../../model/AspectsProps';
|
|
2
2
|
import { type ColumnsCount } from '../../model/ColumnCount';
|
|
3
|
+
import { type FormTypeFieldDef } from '../../model/FormTypeFieldDef';
|
|
3
4
|
import { type LabelProps, type TextProps, type TitleProps } from '../../model/HeadlineType';
|
|
4
5
|
import { type InputSectionsType } from '../../model/InputSectionsType';
|
|
5
6
|
import { type LinkButtonVersion } from '../../model/LinkButtonVersion';
|
|
@@ -65,8 +66,6 @@ export declare type FieldInfoDef = FieldDefaultDef & TextProps & {
|
|
|
65
66
|
*/
|
|
66
67
|
export declare type FieldDef = FieldCommonDef | FieldVedDef | FieldInfoDef;
|
|
67
68
|
/** @hidden */
|
|
68
|
-
export declare type TypeFormFieldDef = '' | 'ACQR' | 'ANALITIC' | 'ANTIFRAUD' | 'BCRD' | 'BROK' | 'BROKACCOUNT' | 'COLLECTION' | 'CORRUPTION' | 'CRED' | 'DPST' | 'PRODUCT' | 'SELFCOLLECTION' | 'KVED' | 'ULTRASERVICE' | 'FEEDBACK' | 'FEEDBACK_QS' | 'OUTSERVICE';
|
|
69
|
-
/** @hidden */
|
|
70
69
|
export declare type EndpointType = 'lead' | 'sendcorporatelead';
|
|
71
70
|
/**
|
|
72
71
|
* @title Секция полей ввода
|
|
@@ -110,7 +109,7 @@ export declare type ApplicationFormContent = UniBlockContent & TitleProps & Aspe
|
|
|
110
109
|
/** @default "" */
|
|
111
110
|
target?: Target;
|
|
112
111
|
};
|
|
113
|
-
typeForm?:
|
|
112
|
+
typeForm?: FormTypeFieldDef;
|
|
114
113
|
endpoint?: EndpointType;
|
|
115
114
|
/** @title Дополнительные параметры формы */
|
|
116
115
|
additionalParams?: additionalParamsType;
|
|
@@ -1,70 +1,14 @@
|
|
|
1
|
-
import { type
|
|
2
|
-
import { type
|
|
1
|
+
import { type TextProps, type TitleProps } from '../../model/HeadlineType';
|
|
2
|
+
import { type InputRetailSectionsType } from '../../model/InputSectionsType';
|
|
3
3
|
import { type LinkButtonVersion } from '../../model/LinkButtonVersion';
|
|
4
|
-
import { type NameFieldDef } from '../../ui-kit/FormField/NameFieldDef';
|
|
5
4
|
import { type UniBlockContent } from '../../UniBlock/UniBlockProps';
|
|
6
|
-
interface Required {
|
|
7
|
-
/** @title Обязательно для заполнения */
|
|
8
|
-
required?: boolean;
|
|
9
|
-
}
|
|
10
5
|
export declare type SubmitButtonProps = TextProps & {
|
|
11
6
|
version?: LinkButtonVersion;
|
|
12
7
|
};
|
|
13
|
-
export declare type ConditionFieldProps = {
|
|
14
|
-
/** @title Условия отображения полей формы */
|
|
15
|
-
condition?: {
|
|
16
|
-
name: NameFieldDef;
|
|
17
|
-
/** @title Значения при которых отображаются поля */
|
|
18
|
-
values: string[];
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
export declare type FilledByEsiaProps = {
|
|
22
|
-
/** @title Заполняется через госуслуги */
|
|
23
|
-
filledByEsia?: boolean;
|
|
24
|
-
};
|
|
25
|
-
export declare type FieldDefaultDef = Required & TextProps & LabelProps & ConditionFieldProps & FilledByEsiaProps & {
|
|
26
|
-
name?: NameFieldDef;
|
|
27
|
-
};
|
|
28
|
-
/**
|
|
29
|
-
* @title Поля ввода по умолчанию
|
|
30
|
-
* @default {"fieldType": "common"}
|
|
31
|
-
*/
|
|
32
|
-
export declare type FieldCommonDef = FieldDefaultDef & {
|
|
33
|
-
/** @default "common" */
|
|
34
|
-
fieldType: 'common';
|
|
35
|
-
dadata?: boolean;
|
|
36
|
-
};
|
|
37
|
-
/**
|
|
38
|
-
* @title Значение по умолчанию
|
|
39
|
-
* @enumNames ["Валютный контроль","Документарные операции","Конверсионные операции","Иные вопросы ВЭД"]
|
|
40
|
-
*/
|
|
41
|
-
declare type VedTypes = 'currencyControl' | 'documentOperations' | 'conversionTransactions' | 'otherIssues';
|
|
42
|
-
/**
|
|
43
|
-
* @title Поле ввода ВЭД
|
|
44
|
-
* @default {"fieldType": "ved", "name": "vedTypes", "defaultValue": "currencyControl"}
|
|
45
|
-
*/
|
|
46
|
-
export declare type FieldVedDef = FieldDefaultDef & {
|
|
47
|
-
/** @default "ved" */
|
|
48
|
-
fieldType: 'ved';
|
|
49
|
-
defaultValue?: VedTypes;
|
|
50
|
-
};
|
|
51
|
-
/**
|
|
52
|
-
* @title Текст для отображения в карточке информации
|
|
53
|
-
* @default {"fieldType": "info"}
|
|
54
|
-
*/
|
|
55
|
-
export declare type FieldInfoDef = FieldDefaultDef & {
|
|
56
|
-
/** @default "info" */
|
|
57
|
-
fieldType: 'info';
|
|
58
|
-
};
|
|
59
|
-
/**
|
|
60
|
-
* @title Поле
|
|
61
|
-
* @default { "fieldType": "common" }
|
|
62
|
-
*/
|
|
63
|
-
export declare type FieldDef = FieldCommonDef | FieldVedDef | FieldInfoDef;
|
|
64
8
|
/**
|
|
65
9
|
* @title Форма заявки настраиваемая
|
|
66
10
|
*/
|
|
67
|
-
export declare type ApplicationLeadFormContent = UniBlockContent & TitleProps &
|
|
11
|
+
export declare type ApplicationLeadFormContent = UniBlockContent & TitleProps & InputRetailSectionsType & {
|
|
68
12
|
/** @title Кнопка */
|
|
69
13
|
button?: SubmitButtonProps;
|
|
70
14
|
/** @title Номер кредитной программы */
|
|
@@ -72,4 +16,3 @@ export declare type ApplicationLeadFormContent = UniBlockContent & TitleProps &
|
|
|
72
16
|
/** @title адресс следующей страницы заявки */
|
|
73
17
|
nextStepLink?: string;
|
|
74
18
|
};
|
|
75
|
-
export {};
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { type FormFieldRegisterer } from '../../services/retail/external/types';
|
|
2
2
|
import { type LeadFormState } from '../../services/retail/model/LeadFormState';
|
|
3
|
-
import { type
|
|
3
|
+
import { type FieldRetailDef } from '../../services/retail/model/RetailFormContent';
|
|
4
4
|
export interface GroupedConsentsProps {
|
|
5
|
-
inputs?:
|
|
6
|
-
typeForm?: TypeFormFieldDef;
|
|
5
|
+
inputs?: FieldRetailDef[];
|
|
7
6
|
field: FormFieldRegisterer<LeadFormState>;
|
|
8
7
|
}
|
|
9
8
|
export declare const GroupedConsents: import("@redneckz/uni-jsx").UNIComponent<GroupedConsentsProps, any, any>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { type
|
|
2
|
-
export declare const applicationFormData:
|
|
1
|
+
import { type SectionsRetailProps } from '../../model/InputSectionsType';
|
|
2
|
+
export declare const applicationFormData: SectionsRetailProps[];
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { LeadFormState } from '../../services/retail/model/LeadFormState';
|
|
2
|
-
import { type
|
|
3
|
-
export declare const getInitialFormState: (inputs:
|
|
2
|
+
import { type FieldRetailDef } from '../../services/retail/model/RetailFormContent';
|
|
3
|
+
export declare const getInitialFormState: (inputs: FieldRetailDef[], savedForm: LeadFormState | null) => LeadFormState;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { type GroupedConsentsProps } from './GroupedConsents';
|
|
2
|
-
export declare const renderInputs: ({ field,
|
|
2
|
+
export declare const renderInputs: ({ field, inputs }: GroupedConsentsProps) => any;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type LeadFormState } from '../../services/retail/model/LeadFormState';
|
|
2
|
-
import { type
|
|
2
|
+
import { type FieldRetailDef } from '../../services/retail/model/RetailFormContent';
|
|
3
3
|
interface ApplicationLeadApiProps {
|
|
4
|
-
inputs:
|
|
4
|
+
inputs: FieldRetailDef[];
|
|
5
5
|
programId: string;
|
|
6
6
|
nextStepLink: string;
|
|
7
7
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type LeadFormState } from '../../services/retail/model/LeadFormState';
|
|
2
|
-
import { type
|
|
3
|
-
export declare const useInitApplicationLead: (inputs:
|
|
2
|
+
import { type FieldRetailDef } from '../../services/retail/model/RetailFormContent';
|
|
3
|
+
export declare const useInitApplicationLead: (inputs: FieldRetailDef[], nextStepLink: string) => [LeadFormState, {
|
|
4
4
|
isLoading: boolean;
|
|
5
5
|
}];
|
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
import { type FormFieldRegisterer } from '../../hooks/useForm';
|
|
2
2
|
import { type TitleProps } from '../../model/HeadlineType';
|
|
3
|
-
import { type InputSectionsType } from '../../model/InputSectionsType';
|
|
3
|
+
import { type InputSectionsType, type SectionsRetailProps } from '../../model/InputSectionsType';
|
|
4
4
|
import { type LeadFormState } from '../../services/retail/model/LeadFormState';
|
|
5
|
+
import { type FieldRetailDef } from '../../services/retail/model/RetailFormContent';
|
|
5
6
|
import { type UniBlockContent } from '../../UniBlock/UniBlockProps';
|
|
6
|
-
import { type SectionsProps } from '../ApplicationForm/ApplicationFormContent';
|
|
7
|
-
import { type FieldDef } from '../ApplicationLeadForm/ApplicationLeadFormContent';
|
|
8
7
|
/** @hidden */
|
|
9
8
|
export interface RenderInputsProps {
|
|
10
|
-
inputs?:
|
|
9
|
+
inputs?: FieldRetailDef[];
|
|
11
10
|
field: FormFieldRegisterer<LeadFormState>;
|
|
12
11
|
}
|
|
13
|
-
export declare type CreditCardSectionsProps =
|
|
12
|
+
export declare type CreditCardSectionsProps = SectionsRetailProps & {
|
|
14
13
|
type?: 'courier' | 'office';
|
|
15
14
|
};
|
|
16
15
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type SectionsRetailProps } from '../../model/InputSectionsType';
|
|
2
2
|
export interface CreditCardFormStepProps {
|
|
3
3
|
step: number;
|
|
4
|
-
sections:
|
|
4
|
+
sections: SectionsRetailProps[];
|
|
5
5
|
isFormFinished: boolean;
|
|
6
6
|
onNextStep: () => void;
|
|
7
7
|
onPrevStep: () => void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { type
|
|
2
|
-
export declare const renderInfo: (inputs?:
|
|
1
|
+
import { type FieldRetailDef } from '../../services/retail/model/RetailFormContent';
|
|
2
|
+
export declare const renderInfo: (inputs?: FieldRetailDef[]) => any[] | null;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { type FormFieldRegisterer } from '../../hooks/useForm';
|
|
2
2
|
import { type LeadFormState } from '../../services/retail/model/LeadFormState';
|
|
3
|
-
import { type
|
|
3
|
+
import { type FieldRetailDef } from '../../services/retail/model/RetailFormContent';
|
|
4
4
|
export interface RenderInputsProps {
|
|
5
|
-
inputs:
|
|
5
|
+
inputs: FieldRetailDef[];
|
|
6
6
|
field: FormFieldRegisterer<LeadFormState>;
|
|
7
7
|
params?: Record<string, any>;
|
|
8
8
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { type LeadFormState } from '../../services/retail/model/LeadFormState';
|
|
2
|
-
import { type
|
|
2
|
+
import { type FieldRetailDef } from '../../services/retail/model/RetailFormContent';
|
|
3
3
|
interface CreditFormApiProps {
|
|
4
4
|
step: number;
|
|
5
|
-
inputs:
|
|
5
|
+
inputs: FieldRetailDef[];
|
|
6
6
|
onNextStep: () => void;
|
|
7
7
|
onFinish?: () => void;
|
|
8
8
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type SectionsRetailProps } from '../../model/InputSectionsType';
|
|
2
2
|
import { type ProgramsSourceProps } from './ProgramsSourceProps';
|
|
3
3
|
export interface CreditFormStepProps {
|
|
4
4
|
step: number;
|
|
5
|
-
sections:
|
|
5
|
+
sections: SectionsRetailProps[];
|
|
6
6
|
isFormFinished?: boolean;
|
|
7
7
|
programsSource?: ProgramsSourceProps;
|
|
8
8
|
onNextStep: () => void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { type
|
|
2
|
-
export declare const stepsSectionsMap:
|
|
1
|
+
import { type SectionsRetailProps } from '../../model/InputSectionsType';
|
|
2
|
+
export declare const stepsSectionsMap: SectionsRetailProps[][];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { type
|
|
2
|
-
export declare const renderInfo: (inputs?:
|
|
1
|
+
import { type FieldRetailDef } from '../../services/retail/model/RetailFormContent';
|
|
2
|
+
export declare const renderInfo: (inputs?: FieldRetailDef[]) => any[] | null;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { type FormFieldRegisterer } from '../../hooks/useForm';
|
|
2
2
|
import { type LeadFormState } from '../../services/retail/model/LeadFormState';
|
|
3
|
-
import { type
|
|
3
|
+
import { type FieldRetailDef } from '../../services/retail/model/RetailFormContent';
|
|
4
4
|
export interface RenderInputsProps {
|
|
5
|
-
inputs:
|
|
5
|
+
inputs: FieldRetailDef[];
|
|
6
6
|
field: FormFieldRegisterer<LeadFormState>;
|
|
7
7
|
params?: Record<string, any>;
|
|
8
8
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { type FormFieldRegisterer, type FormOperatorProps } from '../../hooks/useForm';
|
|
2
|
+
import { type SectionsRetailProps } from '../../model/InputSectionsType';
|
|
2
3
|
import { type LeadFormState } from '../../services/retail/model/LeadFormState';
|
|
3
|
-
import { type SectionsProps } from '../ApplicationForm/ApplicationFormContent';
|
|
4
4
|
export declare type CustomSubmit = FormOperatorProps<LeadFormState>['onSubmit'];
|
|
5
5
|
export interface StepProps {
|
|
6
|
-
sections?:
|
|
6
|
+
sections?: SectionsRetailProps[];
|
|
7
7
|
field: FormFieldRegisterer<LeadFormState>;
|
|
8
8
|
step: number;
|
|
9
9
|
params?: Record<string, any>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { type LeadFormState } from '../../services/retail/model/LeadFormState';
|
|
2
|
-
import { type
|
|
2
|
+
import { type FieldRetailDef } from '../../services/retail/model/RetailFormContent';
|
|
3
3
|
interface CreditFormApiProps {
|
|
4
4
|
step: number;
|
|
5
|
-
inputs:
|
|
5
|
+
inputs: FieldRetailDef[];
|
|
6
6
|
onNextStep: () => void;
|
|
7
7
|
onFinish?: () => void;
|
|
8
8
|
}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/** @hidden */
|
|
2
|
+
export declare type FormTypeFieldDef = '' | 'ACQR' | 'ANALITIC' | 'ANTIFRAUD' | 'BCRD' | 'BROK' | 'BROKACCOUNT' | 'COLLECTION' | 'CORRUPTION' | 'CRED' | 'DPST' | 'PRODUCT' | 'SELFCOLLECTION' | 'KVED' | 'ULTRASERVICE' | 'FEEDBACK' | 'FEEDBACK_QS' | 'OUTSERVICE';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { type FieldDef } from '../components/
|
|
1
|
+
import { type FieldDef } from '../components/ApplicationForm/ApplicationFormContent';
|
|
2
|
+
import { type FieldRetailDef } from '../services/retail/model/RetailFormContent';
|
|
2
3
|
import { type ColumnsCount } from './ColumnCount';
|
|
3
4
|
import { type TitleProps } from './HeadlineType';
|
|
4
5
|
/**
|
|
@@ -12,3 +13,11 @@ export interface InputSectionsType {
|
|
|
12
13
|
/** @hidden */
|
|
13
14
|
sections?: SectionsProps[];
|
|
14
15
|
}
|
|
16
|
+
export declare type SectionsRetailProps = TitleProps & {
|
|
17
|
+
columns?: ColumnsCount;
|
|
18
|
+
inputs?: FieldRetailDef[];
|
|
19
|
+
};
|
|
20
|
+
export interface InputRetailSectionsType {
|
|
21
|
+
/** @hidden */
|
|
22
|
+
sections?: SectionsRetailProps[];
|
|
23
|
+
}
|
|
@@ -31,20 +31,6 @@ export declare type FieldCommonDef = FieldDefaultDef & {
|
|
|
31
31
|
/** @default "common" */
|
|
32
32
|
fieldType: 'common';
|
|
33
33
|
};
|
|
34
|
-
/**
|
|
35
|
-
* @title Значение по умолчанию
|
|
36
|
-
* @enumNames ["Валютный контроль","Документарные операции","Конверсионные операции","Иные вопросы ВЭД"]
|
|
37
|
-
*/
|
|
38
|
-
declare type VedTypes = 'currencyControl' | 'documentOperations' | 'conversionTransactions' | 'otherIssues';
|
|
39
|
-
/**
|
|
40
|
-
* @title Поле ввода ВЭД
|
|
41
|
-
* @default {"fieldType": "ved", "name": "vedTypes", "defaultValue": "currencyControl"}
|
|
42
|
-
*/
|
|
43
|
-
export declare type FieldVedDef = FieldDefaultDef & {
|
|
44
|
-
/** @default "ved" */
|
|
45
|
-
fieldType: 'ved';
|
|
46
|
-
defaultValue?: VedTypes;
|
|
47
|
-
};
|
|
48
34
|
/**
|
|
49
35
|
* @title Текст для отображения в карточке информации
|
|
50
36
|
* @default {"fieldType": "info"}
|
|
@@ -57,7 +43,5 @@ export declare type FieldInfoDef = FieldDefaultDef & TextProps & {
|
|
|
57
43
|
* @title Поле
|
|
58
44
|
* @default { "fieldType": "common" }
|
|
59
45
|
*/
|
|
60
|
-
export declare type
|
|
61
|
-
/** @hidden */
|
|
62
|
-
export declare type TypeFormFieldDef = '' | 'ACQR' | 'ANALITIC' | 'ANTIFRAUD' | 'BCRD' | 'BROK' | 'BROKACCOUNT' | 'COLLECTION' | 'CORRUPTION' | 'CRED' | 'DPST' | 'PRODUCT' | 'SELFCOLLECTION' | 'KVED' | 'ULTRASERVICE' | 'PREMIUMSERVICE' | 'FEEDBACK' | 'FEEDBACK_QS' | 'OUTSERVICE';
|
|
46
|
+
export declare type FieldRetailDef = FieldCommonDef | FieldInfoDef;
|
|
63
47
|
export {};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { type FieldDef } from '../../../components/ApplicationForm/ApplicationFormContent';
|
|
1
2
|
import { type LeadFormState } from '../model/LeadFormState';
|
|
2
|
-
import { type
|
|
3
|
+
import { type FieldRetailDef } from '../model/RetailFormContent';
|
|
3
4
|
export declare type GetValue = <K extends keyof LeadFormState>(name: K) => LeadFormState[K];
|
|
4
|
-
export declare const calculateInputs: (getValue: GetValue) => (inputs:
|
|
5
|
+
export declare const calculateInputs: (getValue: GetValue) => (inputs: FieldRetailDef[], step: number) => FieldRetailDef[];
|
|
5
6
|
export declare const checkCondition: ({ condition }: FieldDef, getValue: GetValue) => boolean | undefined;
|
|
@@ -1,9 +1,12 @@
|
|
|
1
|
+
import { type FieldDef } from '../../components/ApplicationForm/ApplicationFormContent';
|
|
1
2
|
import { type FormFieldRegisterer } from '../../hooks/useForm';
|
|
2
|
-
import { type
|
|
3
|
+
import { type FormTypeFieldDef } from '../../model/FormTypeFieldDef';
|
|
3
4
|
export interface CustomFieldProps {
|
|
4
5
|
field: FormFieldRegisterer<any>;
|
|
5
6
|
input?: FieldDef;
|
|
6
7
|
url?: string;
|
|
7
8
|
params?: Record<string, any>;
|
|
8
|
-
|
|
9
|
+
}
|
|
10
|
+
export interface CustomFieldPropsWithTypeForm extends CustomFieldProps {
|
|
11
|
+
typeForm?: FormTypeFieldDef;
|
|
9
12
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type FieldDef } from '../../components/ApplicationForm/ApplicationFormContent';
|
|
2
2
|
export declare const getConsentDataProcessing: (inputs: FieldDef[]) => FieldDef | undefined;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { type FieldDef } from '../../
|
|
1
|
+
import { type FieldDef } from '../../components/ApplicationForm/ApplicationFormContent';
|
|
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 '../../components/ApplicationForm/ApplicationFormContent';
|
|
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>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { type
|
|
2
|
-
export declare const getPremium: (typeForm?:
|
|
1
|
+
import { type FormTypeFieldDef } from '../../model/FormTypeFieldDef';
|
|
2
|
+
export declare const getPremium: (typeForm?: FormTypeFieldDef) => boolean;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { type AspectsProps } from '../../model/AspectsProps';
|
|
2
2
|
import { type ColumnsCount } from '../../model/ColumnCount';
|
|
3
|
+
import { type FormTypeFieldDef } from '../../model/FormTypeFieldDef';
|
|
3
4
|
import { type LabelProps, type TextProps, type TitleProps } from '../../model/HeadlineType';
|
|
4
5
|
import { type InputSectionsType } from '../../model/InputSectionsType';
|
|
5
6
|
import { type LinkButtonVersion } from '../../model/LinkButtonVersion';
|
|
@@ -65,8 +66,6 @@ export declare type FieldInfoDef = FieldDefaultDef & TextProps & {
|
|
|
65
66
|
*/
|
|
66
67
|
export declare type FieldDef = FieldCommonDef | FieldVedDef | FieldInfoDef;
|
|
67
68
|
/** @hidden */
|
|
68
|
-
export declare type TypeFormFieldDef = '' | 'ACQR' | 'ANALITIC' | 'ANTIFRAUD' | 'BCRD' | 'BROK' | 'BROKACCOUNT' | 'COLLECTION' | 'CORRUPTION' | 'CRED' | 'DPST' | 'PRODUCT' | 'SELFCOLLECTION' | 'KVED' | 'ULTRASERVICE' | 'FEEDBACK' | 'FEEDBACK_QS' | 'OUTSERVICE';
|
|
69
|
-
/** @hidden */
|
|
70
69
|
export declare type EndpointType = 'lead' | 'sendcorporatelead';
|
|
71
70
|
/**
|
|
72
71
|
* @title Секция полей ввода
|
|
@@ -110,7 +109,7 @@ export declare type ApplicationFormContent = UniBlockContent & TitleProps & Aspe
|
|
|
110
109
|
/** @default "" */
|
|
111
110
|
target?: Target;
|
|
112
111
|
};
|
|
113
|
-
typeForm?:
|
|
112
|
+
typeForm?: FormTypeFieldDef;
|
|
114
113
|
endpoint?: EndpointType;
|
|
115
114
|
/** @title Дополнительные параметры формы */
|
|
116
115
|
additionalParams?: additionalParamsType;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApplicationLeadForm.js","sourceRoot":"","sources":["../../../src/components/ApplicationLeadForm/ApplicationLeadForm.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAiE;AACjE,iDAA8C;
|
|
1
|
+
{"version":3,"file":"ApplicationLeadForm.js","sourceRoot":"","sources":["../../../src/components/ApplicationLeadForm/ApplicationLeadForm.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAiE;AACjE,iDAA8C;AAE9C,oGAAiG;AACjG,oEAAiE;AACjE,8EAA4E;AAC5E,oEAAiE;AACjE,uDAAoD;AACpD,2FAAwF;AAExF,6CAA0C;AAC1C,+DAA4D;AAE5D,iDAA8C;AAC9C,6DAA0D;AAC1D,mEAAgE;AAChE,qEAAkE;AAIrD,QAAA,mBAAmB,GAAG,IAAA,aAAG,EACpC,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,GAAG,EAAE,EAAE,YAAY,GAAG,cAAc,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IACvF,MAAM,MAAM,GAAG,IAAA,eAAO,EACpB,GAAG,EAAE,CAAC,CAAC,yCAAmB,EAAE,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,MAAM,CAAC,IAAI,EAAE,CAAqB,EAChF,CAAC,yCAAmB,CAAC,CACtB,CAAC;IAEF,MAAM,CAAC,gBAAgB,EAAE,EAAE,SAAS,EAAE,CAAC,GAAG,IAAA,+CAAsB,EAAC,MAAM,EAAE,YAAY,CAAC,CAAC;IACvF,MAAM,EAAE,YAAY,EAAE,cAAc,EAAE,SAAS,EAAE,GAAG,IAAA,6CAAqB,EAAC;QACxE,MAAM;QACN,SAAS;QACT,YAAY;KACb,CAAC,CAAC;IAEH,MAAM,CAAC,EAAE,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC,GAAG,IAAA,iBAAO,EAAC,gBAAgB,EAAE,EAAE,QAAQ,EAAE,YAAY,EAAE,CAAC,CAAC;IAEtF,MAAM,kBAAkB,GAAG,IAAA,qBAAS,EAAC,uCAAkB,CAAC,CAAC;IACzD,IAAA,iBAAS,EAAC,GAAG,EAAE;QACb,IAAI,cAAc,EAAE;YAClB,kBAAkB,CAAC,IAAI,CAAC,EAAE,YAAY,EAAE,cAAc,EAAE,CAAC,CAAC;SAC3D;IACH,CAAC,EAAE,CAAC,cAAc,CAAC,CAAC,CAAC;IAErB,OAAO,CACL,uBAAC,6CAAqB,IACpB,SAAS,EAAE,IAAA,aAAK,EAAC,qBAAqB,EAAE,SAAS,CAAC,EAClD,KAAK,EAAE,KAAK,KACR,IAAI,YAER,kCAAM,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAC,oBAAoB,aACrD,SAAS,CAAC,CAAC,CAAC,uBAAC,eAAM,IAAC,IAAI,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,EAC1C,yCAAmB,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CACjC,iCAEE,SAAS,EAAE,IAAA,aAAK,EAAC,IAAA,oCAAiB,EAAC,CAAC,CAAC,OAAO,CAAC,EAAE,cAAc,CAAC,aAE7D,IAAA,yBAAW,EAAC,CAAC,CAAC,KAAK,CAAC,EACpB,IAAA,2BAAY,EAAC,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,KAJtC,WAAW,CAAC,EAAE,CAKf,CACP,CAAC,EACD,IAAA,uCAAkB,EAAC,MAAM,EAAE,SAAS,CAAC,IACjC,GACe,CACzB,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -1,70 +1,14 @@
|
|
|
1
|
-
import { type
|
|
2
|
-
import { type
|
|
1
|
+
import { type TextProps, type TitleProps } from '../../model/HeadlineType';
|
|
2
|
+
import { type InputRetailSectionsType } from '../../model/InputSectionsType';
|
|
3
3
|
import { type LinkButtonVersion } from '../../model/LinkButtonVersion';
|
|
4
|
-
import { type NameFieldDef } from '../../ui-kit/FormField/NameFieldDef';
|
|
5
4
|
import { type UniBlockContent } from '../../UniBlock/UniBlockProps';
|
|
6
|
-
interface Required {
|
|
7
|
-
/** @title Обязательно для заполнения */
|
|
8
|
-
required?: boolean;
|
|
9
|
-
}
|
|
10
5
|
export declare type SubmitButtonProps = TextProps & {
|
|
11
6
|
version?: LinkButtonVersion;
|
|
12
7
|
};
|
|
13
|
-
export declare type ConditionFieldProps = {
|
|
14
|
-
/** @title Условия отображения полей формы */
|
|
15
|
-
condition?: {
|
|
16
|
-
name: NameFieldDef;
|
|
17
|
-
/** @title Значения при которых отображаются поля */
|
|
18
|
-
values: string[];
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
export declare type FilledByEsiaProps = {
|
|
22
|
-
/** @title Заполняется через госуслуги */
|
|
23
|
-
filledByEsia?: boolean;
|
|
24
|
-
};
|
|
25
|
-
export declare type FieldDefaultDef = Required & TextProps & LabelProps & ConditionFieldProps & FilledByEsiaProps & {
|
|
26
|
-
name?: NameFieldDef;
|
|
27
|
-
};
|
|
28
|
-
/**
|
|
29
|
-
* @title Поля ввода по умолчанию
|
|
30
|
-
* @default {"fieldType": "common"}
|
|
31
|
-
*/
|
|
32
|
-
export declare type FieldCommonDef = FieldDefaultDef & {
|
|
33
|
-
/** @default "common" */
|
|
34
|
-
fieldType: 'common';
|
|
35
|
-
dadata?: boolean;
|
|
36
|
-
};
|
|
37
|
-
/**
|
|
38
|
-
* @title Значение по умолчанию
|
|
39
|
-
* @enumNames ["Валютный контроль","Документарные операции","Конверсионные операции","Иные вопросы ВЭД"]
|
|
40
|
-
*/
|
|
41
|
-
declare type VedTypes = 'currencyControl' | 'documentOperations' | 'conversionTransactions' | 'otherIssues';
|
|
42
|
-
/**
|
|
43
|
-
* @title Поле ввода ВЭД
|
|
44
|
-
* @default {"fieldType": "ved", "name": "vedTypes", "defaultValue": "currencyControl"}
|
|
45
|
-
*/
|
|
46
|
-
export declare type FieldVedDef = FieldDefaultDef & {
|
|
47
|
-
/** @default "ved" */
|
|
48
|
-
fieldType: 'ved';
|
|
49
|
-
defaultValue?: VedTypes;
|
|
50
|
-
};
|
|
51
|
-
/**
|
|
52
|
-
* @title Текст для отображения в карточке информации
|
|
53
|
-
* @default {"fieldType": "info"}
|
|
54
|
-
*/
|
|
55
|
-
export declare type FieldInfoDef = FieldDefaultDef & {
|
|
56
|
-
/** @default "info" */
|
|
57
|
-
fieldType: 'info';
|
|
58
|
-
};
|
|
59
|
-
/**
|
|
60
|
-
* @title Поле
|
|
61
|
-
* @default { "fieldType": "common" }
|
|
62
|
-
*/
|
|
63
|
-
export declare type FieldDef = FieldCommonDef | FieldVedDef | FieldInfoDef;
|
|
64
8
|
/**
|
|
65
9
|
* @title Форма заявки настраиваемая
|
|
66
10
|
*/
|
|
67
|
-
export declare type ApplicationLeadFormContent = UniBlockContent & TitleProps &
|
|
11
|
+
export declare type ApplicationLeadFormContent = UniBlockContent & TitleProps & InputRetailSectionsType & {
|
|
68
12
|
/** @title Кнопка */
|
|
69
13
|
button?: SubmitButtonProps;
|
|
70
14
|
/** @title Номер кредитной программы */
|
|
@@ -72,4 +16,3 @@ export declare type ApplicationLeadFormContent = UniBlockContent & TitleProps &
|
|
|
72
16
|
/** @title адресс следующей страницы заявки */
|
|
73
17
|
nextStepLink?: string;
|
|
74
18
|
};
|
|
75
|
-
export {};
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { type FormFieldRegisterer } from '../../services/retail/external/types';
|
|
2
2
|
import { type LeadFormState } from '../../services/retail/model/LeadFormState';
|
|
3
|
-
import { type
|
|
3
|
+
import { type FieldRetailDef } from '../../services/retail/model/RetailFormContent';
|
|
4
4
|
export interface GroupedConsentsProps {
|
|
5
|
-
inputs?:
|
|
6
|
-
typeForm?: TypeFormFieldDef;
|
|
5
|
+
inputs?: FieldRetailDef[];
|
|
7
6
|
field: FormFieldRegisterer<LeadFormState>;
|
|
8
7
|
}
|
|
9
8
|
export declare const GroupedConsents: import("@redneckz/uni-jsx").UNIComponent<GroupedConsentsProps, any, any>;
|
|
@@ -14,7 +14,7 @@ const renderErrorText_1 = require("../../ui-kit/Input/renderErrorText");
|
|
|
14
14
|
const withValidator_1 = require("../../validation/withValidator");
|
|
15
15
|
const CONSENT_ALL_DOCS_TEXT = 'Согласие на все документы';
|
|
16
16
|
const CONSENT_REQUIRED = 'Отметьте все обязательные соглашения';
|
|
17
|
-
exports.GroupedConsents = (0, uni_jsx_1.JSX)(({ inputs = [],
|
|
17
|
+
exports.GroupedConsents = (0, uni_jsx_1.JSX)(({ inputs = [], field, key }) => {
|
|
18
18
|
const isChecked = inputs.every((_) => Boolean(field(_.name).value));
|
|
19
19
|
const handleGeneralToggle = (value) => {
|
|
20
20
|
for (const item of inputs) {
|
|
@@ -25,7 +25,7 @@ exports.GroupedConsents = (0, uni_jsx_1.JSX)(({ inputs = [], typeForm = '', fiel
|
|
|
25
25
|
const hasValidationErrors = (0, hooks_1.useMemo)(() => inputs
|
|
26
26
|
?.filter((_) => _.required)
|
|
27
27
|
?.some((_) => Boolean((0, withValidator_1.withValidator)(field(_?.name), getObjectValidator_1.validatorObj[_?.name]).error)), [inputs]);
|
|
28
|
-
return ((0, jsx_runtime_1.jsx)("div", { className: "w-fit", children: (0, jsx_runtime_1.jsx)(Foldable_1.Foldable, { isFoldButtonOnTop: true, unfoldedByDefault: true, renderFoldableSection: ({ isUnfolded }) => ((0, jsx_runtime_1.jsx)(FoldableSection_1.FoldableSection, { isUnfolded: isUnfolded, className: "flex flex-col pl-2xl", children: inputs.map((0, getField_1.getField)(field, {
|
|
28
|
+
return ((0, jsx_runtime_1.jsx)("div", { className: "w-fit", children: (0, jsx_runtime_1.jsx)(Foldable_1.Foldable, { isFoldButtonOnTop: true, unfoldedByDefault: true, renderFoldableSection: ({ isUnfolded }) => ((0, jsx_runtime_1.jsx)(FoldableSection_1.FoldableSection, { isUnfolded: isUnfolded, className: "flex flex-col pl-2xl", children: inputs.map((0, getField_1.getField)(field, {}, inputs_1.InputsConsentsMap)) })), renderFoldButton: renderGeneralCheckbox((0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)(Checkbox_1.Checkbox, { value: isChecked, onChange: handleGeneralToggle, text: CONSENT_ALL_DOCS_TEXT }, key), (0, renderErrorText_1.renderErrorText)(hasValidationErrors ? CONSENT_REQUIRED : '')] })) }) }));
|
|
29
29
|
});
|
|
30
30
|
const renderGeneralCheckbox = (generalCheckBox) => (foldableData) => ((0, jsx_runtime_1.jsxs)("div", { className: "flex items-start", children: [generalCheckBox, (0, jsx_runtime_1.jsx)("button", { onClick: foldableData.onToggle, className: "px-m py-2xs", type: "button", children: (0, jsx_runtime_1.jsx)(Icon_1.Icon, { className: "text-primary-text", name: foldableData.isUnfolded ? 'ArrowUpIcon' : 'ArrowDownIcon', width: "16", height: "16" }) })] }));
|
|
31
31
|
//# sourceMappingURL=GroupedConsents.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GroupedConsents.js","sourceRoot":"","sources":["../../../src/components/ApplicationLeadForm/GroupedConsents.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAsD;AAEtD,yDAAiE;
|
|
1
|
+
{"version":3,"file":"GroupedConsents.js","sourceRoot":"","sources":["../../../src/components/ApplicationLeadForm/GroupedConsents.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAsD;AAEtD,yDAAiE;AAGjE,6DAA0D;AAC1D,6DAA0D;AAE1D,2EAAwE;AACxE,8DAA2D;AAC3D,kFAAyE;AACzE,iDAA8C;AAC9C,wEAAqE;AACrE,kEAA+D;AAO/D,MAAM,qBAAqB,GAAG,2BAA2B,CAAC;AAC1D,MAAM,gBAAgB,GAAG,sCAAsC,CAAC;AAEnD,QAAA,eAAe,GAAG,IAAA,aAAG,EAAuB,CAAC,EAAE,MAAM,GAAG,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,EAAE,EAAE;IACvF,MAAM,SAAS,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,IAA2B,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC;IAE3F,MAAM,mBAAmB,GAAG,CAAC,KAAc,EAAE,EAAE;QAC7C,KAAK,MAAM,IAAI,IAAI,MAAM,EAAE;YACzB,MAAM,SAAS,GAAG,KAAK,CAAC,IAAI,CAAC,IAA2B,CAAC,CAAC;YAC1D,SAAS,EAAE,QAAQ,IAAI,SAAS,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;SAClD;IACH,CAAC,CAAC;IAEF,MAAM,mBAAmB,GAAG,IAAA,eAAO,EACjC,GAAG,EAAE,CACH,MAAM;QACJ,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC;QAC3B,EAAE,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CACX,OAAO,CACL,IAAA,6BAAa,EACX,KAAK,CAAC,CAAC,EAAE,IAA2B,CAAC,EACrC,iCAAY,CAAC,CAAC,EAAE,IAA2B,CAAC,CAC7C,CAAC,KAAK,CACR,CACF,EACL,CAAC,MAAM,CAAC,CACT,CAAC;IAEF,OAAO,CACL,gCAAK,SAAS,EAAC,OAAO,YACpB,uBAAC,mBAAQ,IACP,iBAAiB,QACjB,iBAAiB,QACjB,qBAAqB,EAAE,CAAC,EAAE,UAAU,EAAE,EAAE,EAAE,CAAC,CACzC,uBAAC,iCAAe,IAAC,UAAU,EAAE,UAAU,EAAE,SAAS,EAAC,sBAAsB,YACtE,MAAM,CAAC,GAAG,CAAC,IAAA,mBAAQ,EAAC,KAAK,EAAE,EAAE,EAAE,0BAAiB,CAAC,CAAC,GACnC,CACnB,EACD,gBAAgB,EAAE,qBAAqB,CACrC,4CACE,uBAAC,mBAAQ,IACP,KAAK,EAAE,SAAS,EAChB,QAAQ,EAAE,mBAAmB,EAC7B,IAAI,EAAE,qBAAqB,IACtB,GAAG,CACR,EACD,IAAA,iCAAe,EAAC,mBAAmB,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,EAAE,CAAC,IACzD,CACP,GACD,GACE,CACP,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,qBAAqB,GACzB,CAAC,eAAsB,EAAE,EAAE,CAC3B,CAAC,YAA+B,EAAS,EAAE,CACzC,CACE,iCAAK,SAAS,EAAC,kBAAkB,aAC9B,eAAe,EAChB,mCAAQ,OAAO,EAAE,YAAY,CAAC,QAAQ,EAAE,SAAS,EAAC,aAAa,EAAC,IAAI,EAAC,QAAQ,YAC3E,uBAAC,WAAI,IACH,SAAS,EAAC,mBAAmB,EAC7B,IAAI,EAAE,YAAY,CAAC,UAAU,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,eAAe,EAC/D,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,GACX,GACK,IACL,CACP,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { type
|
|
2
|
-
export declare const applicationFormData:
|
|
1
|
+
import { type SectionsRetailProps } from '../../model/InputSectionsType';
|
|
2
|
+
export declare const applicationFormData: SectionsRetailProps[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"applicationFormData.js","sourceRoot":"","sources":["../../../src/components/ApplicationLeadForm/applicationFormData.tsx"],"names":[],"mappings":";;AAEa,QAAA,mBAAmB,
|
|
1
|
+
{"version":3,"file":"applicationFormData.js","sourceRoot":"","sources":["../../../src/components/ApplicationLeadForm/applicationFormData.tsx"],"names":[],"mappings":";;AAEa,QAAA,mBAAmB,GAA0B;IACxD;QACE,OAAO,EAAE,CAAC;QACV,MAAM,EAAE;YACN,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE;YACtE,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE;YACnE,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,YAAY,EAAE,MAAM,EAAE,IAAI,EAAE;YACzD,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,iBAAiB,EAAE,QAAQ,EAAE,IAAI,EAAE;YAChE,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE;YACtD,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE;SACrE;KACF;IACD;QACE,MAAM,EAAE;YACN,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,wBAAwB,EAAE,QAAQ,EAAE,IAAI,EAAE;YACvE,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,oBAAoB,EAAE,QAAQ,EAAE,IAAI,EAAE;YACnE,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,kBAAkB,EAAE,QAAQ,EAAE,IAAI,EAAE;YACjE,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,kBAAkB,EAAE;YACjD,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,eAAe,EAAE;SAC/C;KACF;CACF,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { LeadFormState } from '../../services/retail/model/LeadFormState';
|
|
2
|
-
import { type
|
|
3
|
-
export declare const getInitialFormState: (inputs:
|
|
2
|
+
import { type FieldRetailDef } from '../../services/retail/model/RetailFormContent';
|
|
3
|
+
export declare const getInitialFormState: (inputs: FieldRetailDef[], savedForm: LeadFormState | null) => LeadFormState;
|