@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
package/bundle/bundle.umd.js
CHANGED
|
@@ -4456,7 +4456,7 @@
|
|
|
4456
4456
|
|
|
4457
4457
|
const CONSENT_ALL_DOCS_TEXT = 'Согласие на все документы';
|
|
4458
4458
|
const CONSENT_REQUIRED = 'Отметьте все обязательные соглашения';
|
|
4459
|
-
const GroupedConsents = JSX(({ inputs = [],
|
|
4459
|
+
const GroupedConsents = JSX(({ inputs = [], field, key }) => {
|
|
4460
4460
|
const isChecked = inputs.every((_) => Boolean(field(_.name).value));
|
|
4461
4461
|
const handleGeneralToggle = (value) => {
|
|
4462
4462
|
for (const item of inputs) {
|
|
@@ -4467,13 +4467,13 @@
|
|
|
4467
4467
|
const hasValidationErrors = useMemo(() => inputs
|
|
4468
4468
|
?.filter((_) => _.required)
|
|
4469
4469
|
?.some((_) => Boolean(withValidator(field(_?.name), validatorObj[_?.name]).error)), [inputs]);
|
|
4470
|
-
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, {
|
|
4470
|
+
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, {}, InputsConsentsMap)) })), renderFoldButton: renderGeneralCheckbox(jsxs("div", { children: [jsx(Checkbox, { value: isChecked, onChange: handleGeneralToggle, text: CONSENT_ALL_DOCS_TEXT }, key), renderErrorText(hasValidationErrors ? CONSENT_REQUIRED : '')] })) }) }));
|
|
4471
4471
|
});
|
|
4472
4472
|
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" }) })] }));
|
|
4473
4473
|
|
|
4474
|
-
const renderInputs$2 = ({ field,
|
|
4474
|
+
const renderInputs$2 = ({ field, inputs }) => {
|
|
4475
4475
|
const { consentInputs, restInputs } = splitInputs(inputs || []);
|
|
4476
|
-
return consentInputs.length > 2 ? (jsxs("div", { children: [restInputs.map(getField(field, {
|
|
4476
|
+
return consentInputs.length > 2 ? (jsxs("div", { children: [restInputs.map(getField(field, {}, { ...InputsApplicationLeadMap })), jsx(GroupedConsents, { inputs: consentInputs, field: field })] })) : ((inputs || [])?.map(getField(field, {}, { ...InputsApplicationLeadMap })));
|
|
4477
4477
|
};
|
|
4478
4478
|
const splitInputs = (inputs) => ({
|
|
4479
4479
|
consentInputs: inputs?.filter((_) => Object.keys(CONSENTS).includes(_.name || '')) || [],
|
|
@@ -5285,50 +5285,24 @@
|
|
|
5285
5285
|
}, [target, key]);
|
|
5286
5286
|
|
|
5287
5287
|
const initialFormState = {
|
|
5288
|
-
typeForm: '',
|
|
5289
|
-
region: { key: '', text: '' },
|
|
5290
5288
|
surname: '',
|
|
5291
5289
|
name: '',
|
|
5292
|
-
|
|
5293
|
-
secondaryPhone: '',
|
|
5294
|
-
organizationPhone: '',
|
|
5295
|
-
comment: '',
|
|
5296
|
-
product: '',
|
|
5297
|
-
partnerComments: '',
|
|
5298
|
-
annualRevenue: '',
|
|
5299
|
-
term: 12,
|
|
5300
|
-
amount: 100000,
|
|
5301
|
-
acquiringType: ACQUIRING_TYPES[0],
|
|
5302
|
-
serviceType: SERVICE_TYPES[0],
|
|
5303
|
-
feedbackMethod: FEEDBACK_METHOD[0],
|
|
5304
|
-
serviceDirection: SERVICE_DIRECTIONS[0],
|
|
5305
|
-
vedTypes: VED_TYPES[0],
|
|
5290
|
+
middleName: '',
|
|
5306
5291
|
limitedBirthday: undefined,
|
|
5307
|
-
|
|
5308
|
-
|
|
5309
|
-
posTerminal: false,
|
|
5310
|
-
consentDataProcessing: false,
|
|
5292
|
+
phone: '',
|
|
5293
|
+
email: '',
|
|
5311
5294
|
processPersonalDataFlg: false,
|
|
5312
5295
|
consentProviderFlg: false,
|
|
5313
5296
|
consentOthersFlg: false,
|
|
5314
5297
|
consentInformFlg: false,
|
|
5315
|
-
|
|
5316
|
-
participantDateRegistration: undefined,
|
|
5317
|
-
currency: '',
|
|
5318
|
-
paymentSystem: { name: '', type: '' },
|
|
5319
|
-
cardCategory: { key: '', text: '' },
|
|
5320
|
-
codeWord: '',
|
|
5321
|
-
addressRetail: { key: '', text: '' },
|
|
5298
|
+
consentPfrFlg: false,
|
|
5322
5299
|
};
|
|
5323
5300
|
const getInitialFormState$2 = (inputs, savedForm) => {
|
|
5324
5301
|
if (savedForm) {
|
|
5325
5302
|
return { ...savedForm, limitedBirthday: new Date(savedForm?.limitedBirthday || 0) };
|
|
5326
5303
|
}
|
|
5327
|
-
const formState = Object.fromEntries(inputs.map((_) => [
|
|
5328
|
-
|
|
5329
|
-
(_.fieldType === 'ved' && _?.defaultValue) || initialFormState[_.name || ''],
|
|
5330
|
-
]));
|
|
5331
|
-
return { ...formState, typeForm: { key: '', text: '' } };
|
|
5304
|
+
const formState = Object.fromEntries(inputs.map((_) => [_.name, initialFormState[_.name || '']]));
|
|
5305
|
+
return { ...formState };
|
|
5332
5306
|
};
|
|
5333
5307
|
|
|
5334
5308
|
const parseEsiaProfile = (esiaProfile) => {
|
|
@@ -10492,7 +10466,7 @@
|
|
|
10492
10466
|
slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
|
|
10493
10467
|
});
|
|
10494
10468
|
|
|
10495
|
-
const packageVersion = "0.14.
|
|
10469
|
+
const packageVersion = "0.14.730";
|
|
10496
10470
|
|
|
10497
10471
|
exports.Blocks = Blocks;
|
|
10498
10472
|
exports.ContentPage = ContentPage;
|