@redneckz/wildless-cms-uni-blocks 0.14.730 → 0.14.732
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 +30 -64
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +3 -12
- 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/renderInputs.d.ts +2 -2
- package/bundle/components/CreditCardForm/renderStep.d.ts +1 -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/renderInputs.d.ts +2 -2
- package/bundle/components/CreditForm/renderStep.d.ts +3 -4
- 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/inputs.d.ts +1 -0
- package/bundle/services/retail/model/RetailFormContent.d.ts +3 -33
- 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/Fields/InfoCardField.d.ts +2 -0
- package/bundle/ui-kit/FormField/NameFieldDef.d.ts +1 -1
- 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 +3 -12
- 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/renderInputs.d.ts +2 -2
- package/dist/components/CreditCardForm/renderStep.d.ts +1 -2
- package/dist/components/CreditCardForm/renderStep.js +1 -3
- package/dist/components/CreditCardForm/renderStep.js.map +1 -1
- 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/renderInputs.d.ts +2 -2
- package/dist/components/CreditForm/renderStep.d.ts +3 -4
- package/dist/components/CreditForm/renderStep.js +1 -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/content.js +12 -8
- package/dist/services/retail/content.js.map +1 -1
- package/dist/services/retail/inputs.d.ts +1 -0
- package/dist/services/retail/inputs.js +2 -0
- package/dist/services/retail/inputs.js.map +1 -1
- package/dist/services/retail/model/RetailFormContent.d.ts +3 -33
- 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/Fields/InfoCardField.d.ts +2 -0
- package/dist/ui-kit/FormField/Fields/InfoCardField.js +7 -0
- package/dist/ui-kit/FormField/Fields/InfoCardField.js.map +1 -0
- package/dist/ui-kit/FormField/NameFieldDef.d.ts +1 -1
- 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 +3 -12
- 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/renderInputs.d.ts +2 -2
- package/lib/components/CreditCardForm/renderStep.d.ts +1 -2
- package/lib/components/CreditCardForm/renderStep.js +2 -4
- package/lib/components/CreditCardForm/renderStep.js.map +1 -1
- 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/renderInputs.d.ts +2 -2
- package/lib/components/CreditForm/renderStep.d.ts +3 -4
- package/lib/components/CreditForm/renderStep.js +1 -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/content.js +12 -8
- package/lib/services/retail/content.js.map +1 -1
- package/lib/services/retail/inputs.d.ts +1 -0
- package/lib/services/retail/inputs.js +2 -0
- package/lib/services/retail/inputs.js.map +1 -1
- package/lib/services/retail/model/RetailFormContent.d.ts +3 -33
- 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/Fields/InfoCardField.d.ts +2 -0
- package/lib/ui-kit/FormField/Fields/InfoCardField.js +5 -0
- package/lib/ui-kit/FormField/Fields/InfoCardField.js.map +1 -0
- package/lib/ui-kit/FormField/NameFieldDef.d.ts +1 -1
- 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 +30 -64
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +3 -12
- 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/renderInputs.d.ts +2 -2
- package/mobile/bundle/components/CreditCardForm/renderStep.d.ts +1 -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/renderInputs.d.ts +2 -2
- package/mobile/bundle/components/CreditForm/renderStep.d.ts +3 -4
- 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/inputs.d.ts +1 -0
- package/mobile/bundle/services/retail/model/RetailFormContent.d.ts +3 -33
- 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/Fields/InfoCardField.d.ts +2 -0
- package/mobile/bundle/ui-kit/FormField/NameFieldDef.d.ts +1 -1
- 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 +3 -12
- 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/renderInputs.d.ts +2 -2
- package/mobile/dist/components/CreditCardForm/renderStep.d.ts +1 -2
- package/mobile/dist/components/CreditCardForm/renderStep.js +1 -3
- package/mobile/dist/components/CreditCardForm/renderStep.js.map +1 -1
- 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/renderInputs.d.ts +2 -2
- package/mobile/dist/components/CreditForm/renderStep.d.ts +3 -4
- package/mobile/dist/components/CreditForm/renderStep.js +1 -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/content.js +12 -8
- package/mobile/dist/services/retail/content.js.map +1 -1
- package/mobile/dist/services/retail/inputs.d.ts +1 -0
- package/mobile/dist/services/retail/inputs.js +2 -0
- package/mobile/dist/services/retail/inputs.js.map +1 -1
- package/mobile/dist/services/retail/model/RetailFormContent.d.ts +3 -33
- 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/Fields/InfoCardField.d.ts +2 -0
- package/mobile/dist/ui-kit/FormField/Fields/InfoCardField.js +7 -0
- package/mobile/dist/ui-kit/FormField/Fields/InfoCardField.js.map +1 -0
- package/mobile/dist/ui-kit/FormField/NameFieldDef.d.ts +1 -1
- 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 +3 -12
- 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/renderInputs.d.ts +2 -2
- package/mobile/lib/components/CreditCardForm/renderStep.d.ts +1 -2
- package/mobile/lib/components/CreditCardForm/renderStep.js +2 -4
- package/mobile/lib/components/CreditCardForm/renderStep.js.map +1 -1
- 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/renderInputs.d.ts +2 -2
- package/mobile/lib/components/CreditForm/renderStep.d.ts +3 -4
- package/mobile/lib/components/CreditForm/renderStep.js +1 -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/content.js +12 -8
- package/mobile/lib/services/retail/content.js.map +1 -1
- package/mobile/lib/services/retail/inputs.d.ts +1 -0
- package/mobile/lib/services/retail/inputs.js +2 -0
- package/mobile/lib/services/retail/inputs.js.map +1 -1
- package/mobile/lib/services/retail/model/RetailFormContent.d.ts +3 -33
- 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/Fields/InfoCardField.d.ts +2 -0
- package/mobile/lib/ui-kit/FormField/Fields/InfoCardField.js +5 -0
- package/mobile/lib/ui-kit/FormField/Fields/InfoCardField.js.map +1 -0
- package/mobile/lib/ui-kit/FormField/NameFieldDef.d.ts +1 -1
- 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 +3 -33
- 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/renderInputs.tsx +2 -2
- package/mobile/src/components/CreditCardForm/renderStep.tsx +2 -11
- 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/renderInputs.tsx +2 -2
- package/mobile/src/components/CreditForm/renderStep.tsx +3 -7
- 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/content.tsx +12 -8
- package/mobile/src/services/retail/inputs.tsx +2 -0
- package/mobile/src/services/retail/model/RetailFormContent.ts +4 -61
- 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/InfoCardField.tsx +7 -0
- package/mobile/src/ui-kit/FormField/Fields/PartnerCommentsField.tsx +1 -1
- package/mobile/src/ui-kit/FormField/NameFieldDef.ts +2 -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 +3 -33
- 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/renderInputs.tsx +2 -2
- package/src/components/CreditCardForm/renderStep.tsx +2 -11
- 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/renderInputs.tsx +2 -2
- package/src/components/CreditForm/renderStep.tsx +3 -7
- 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/content.tsx +12 -8
- package/src/services/retail/inputs.tsx +2 -0
- package/src/services/retail/model/RetailFormContent.ts +4 -61
- 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/InfoCardField.tsx +7 -0
- package/src/ui-kit/FormField/Fields/PartnerCommentsField.tsx +1 -1
- package/src/ui-kit/FormField/NameFieldDef.ts +2 -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/components/CreditCardForm/renderInfo.d.ts +0 -2
- package/bundle/components/CreditForm/renderInfo.d.ts +0 -2
- package/dist/components/CreditCardForm/renderInfo.d.ts +0 -2
- package/dist/components/CreditCardForm/renderInfo.js +0 -12
- package/dist/components/CreditCardForm/renderInfo.js.map +0 -1
- package/dist/components/CreditForm/renderInfo.d.ts +0 -2
- package/dist/components/CreditForm/renderInfo.js +0 -12
- package/dist/components/CreditForm/renderInfo.js.map +0 -1
- package/lib/components/CreditCardForm/renderInfo.d.ts +0 -2
- package/lib/components/CreditCardForm/renderInfo.js +0 -9
- package/lib/components/CreditCardForm/renderInfo.js.map +0 -1
- package/lib/components/CreditForm/renderInfo.d.ts +0 -2
- package/lib/components/CreditForm/renderInfo.js +0 -9
- package/lib/components/CreditForm/renderInfo.js.map +0 -1
- package/mobile/bundle/components/CreditCardForm/renderInfo.d.ts +0 -2
- package/mobile/bundle/components/CreditForm/renderInfo.d.ts +0 -2
- package/mobile/dist/components/CreditCardForm/renderInfo.d.ts +0 -2
- package/mobile/dist/components/CreditCardForm/renderInfo.js +0 -12
- package/mobile/dist/components/CreditCardForm/renderInfo.js.map +0 -1
- package/mobile/dist/components/CreditForm/renderInfo.d.ts +0 -2
- package/mobile/dist/components/CreditForm/renderInfo.js +0 -12
- package/mobile/dist/components/CreditForm/renderInfo.js.map +0 -1
- package/mobile/lib/components/CreditCardForm/renderInfo.d.ts +0 -2
- package/mobile/lib/components/CreditCardForm/renderInfo.js +0 -9
- package/mobile/lib/components/CreditCardForm/renderInfo.js.map +0 -1
- package/mobile/lib/components/CreditForm/renderInfo.d.ts +0 -2
- package/mobile/lib/components/CreditForm/renderInfo.js +0 -9
- package/mobile/lib/components/CreditForm/renderInfo.js.map +0 -1
- package/mobile/src/components/CreditCardForm/renderInfo.tsx +0 -10
- package/mobile/src/components/CreditForm/renderInfo.tsx +0 -10
- package/src/components/CreditCardForm/renderInfo.tsx +0 -10
- package/src/components/CreditForm/renderInfo.tsx +0 -10
|
@@ -4240,6 +4240,10 @@
|
|
|
4240
4240
|
return (jsx(SelectField, { field: field, source: housing, label: "\u0422\u0438\u043F \u0436\u0438\u043B\u044C\u044F", fieldName: "housing", input: input }));
|
|
4241
4241
|
});
|
|
4242
4242
|
|
|
4243
|
+
const InfoCard = JSX(({ __html, icon = 'InfoCircleIcon', iconVersion = 'black', link }) => (jsxs("div", { className: "flex flex-row items-center w-full min-h-14 bg-main-gray rounded-lg gap-m p-m", children: [jsx("div", { className: "rounded-full bg-white p-xs", children: jsx(Icon, { name: icon, width: "24", height: "24", iconVersion: iconVersion }) }), jsxs("div", { className: "", children: [jsx(RichText, { __html: __html }), link?.text ? jsx(LinkButton, { className: "text-primary-main", children: link.text }) : null] })] })));
|
|
4244
|
+
|
|
4245
|
+
const InfoCardField = JSX(({ input }) => (jsx(InfoCard, { __html: input?.label })));
|
|
4246
|
+
|
|
4243
4247
|
const JobsNumberField = JSX(({ field, input }) => (jsx(InputControl, { label: "\u041A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u043C\u0435\u0441\u0442 \u0440\u0430\u0431\u043E\u0442\u044B \u0437\u0430 \u043F\u043E\u0441\u043B\u0435\u0434\u043D\u0438\u0435 5 \u043B\u0435\u0442", placeholder: "\u041A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u043C\u0435\u0441\u0442", isInteger: true, maxLength: 2, ...getValidation(field('jobsNumber'), validatorObj.jobsNumber, input?.required), ...input })));
|
|
4244
4248
|
|
|
4245
4249
|
const LastJobExperienceField = JSX(({ field, input }) => (jsx(InputControl, { label: "\u0421\u0442\u0430\u0436 \u043D\u0430 \u043F\u043E\u0441\u043B\u0435\u0434\u043D\u0435\u043C \u0440\u0430\u0431\u043E\u0447\u0435\u043C \u043C\u0435\u0441\u0442\u0435", placeholder: "\u041A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u043B\u0435\u0442", type: "number", maxLength: 2, ...getValidation(field('lastJobExperience'), validatorObj.lastJobExperience, input?.required), ...input })));
|
|
@@ -4449,6 +4453,7 @@
|
|
|
4449
4453
|
bankEmployeeCode: (props) => jsx(BankEmpoleeCodeField, { ...props }),
|
|
4450
4454
|
partInBusiness: (props) => jsx(PartInBusinessField, { ...props }),
|
|
4451
4455
|
regionRetail: (props) => jsx(RegionRetailField, { ...props }),
|
|
4456
|
+
infoCard: (props) => jsx(InfoCardField, { ...props }),
|
|
4452
4457
|
calculator: (props) => jsx(CreditCalcField, { ...props }),
|
|
4453
4458
|
};
|
|
4454
4459
|
const InputRetailCardMap = {
|
|
@@ -4464,7 +4469,7 @@
|
|
|
4464
4469
|
|
|
4465
4470
|
const CONSENT_ALL_DOCS_TEXT = 'Согласие на все документы';
|
|
4466
4471
|
const CONSENT_REQUIRED = 'Отметьте все обязательные соглашения';
|
|
4467
|
-
const GroupedConsents = JSX(({ inputs = [],
|
|
4472
|
+
const GroupedConsents = JSX(({ inputs = [], field, key }) => {
|
|
4468
4473
|
const isChecked = inputs.every((_) => Boolean(field(_.name).value));
|
|
4469
4474
|
const handleGeneralToggle = (value) => {
|
|
4470
4475
|
for (const item of inputs) {
|
|
@@ -4475,13 +4480,13 @@
|
|
|
4475
4480
|
const hasValidationErrors = useMemo(() => inputs
|
|
4476
4481
|
?.filter((_) => _.required)
|
|
4477
4482
|
?.some((_) => Boolean(withValidator(field(_?.name), validatorObj[_?.name]).error)), [inputs]);
|
|
4478
|
-
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, {
|
|
4483
|
+
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 : '')] })) }) }));
|
|
4479
4484
|
});
|
|
4480
4485
|
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" }) })] }));
|
|
4481
4486
|
|
|
4482
|
-
const renderInputs$2 = ({ field,
|
|
4487
|
+
const renderInputs$2 = ({ field, inputs }) => {
|
|
4483
4488
|
const { consentInputs, restInputs } = splitInputs(inputs || []);
|
|
4484
|
-
return consentInputs.length > 2 ? (jsxs("div", { children: [restInputs.map(getField(field, {
|
|
4489
|
+
return consentInputs.length > 2 ? (jsxs("div", { children: [restInputs.map(getField(field, {}, { ...InputsApplicationLeadMap })), jsx(GroupedConsents, { inputs: consentInputs, field: field })] })) : ((inputs || [])?.map(getField(field, {}, { ...InputsApplicationLeadMap })));
|
|
4485
4490
|
};
|
|
4486
4491
|
const splitInputs = (inputs) => ({
|
|
4487
4492
|
consentInputs: inputs?.filter((_) => Object.keys(CONSENTS).includes(_.name || '')) || [],
|
|
@@ -5293,50 +5298,24 @@
|
|
|
5293
5298
|
}, [target, key]);
|
|
5294
5299
|
|
|
5295
5300
|
const initialFormState = {
|
|
5296
|
-
typeForm: '',
|
|
5297
|
-
region: { key: '', text: '' },
|
|
5298
5301
|
surname: '',
|
|
5299
5302
|
name: '',
|
|
5300
|
-
|
|
5301
|
-
secondaryPhone: '',
|
|
5302
|
-
organizationPhone: '',
|
|
5303
|
-
comment: '',
|
|
5304
|
-
product: '',
|
|
5305
|
-
partnerComments: '',
|
|
5306
|
-
annualRevenue: '',
|
|
5307
|
-
term: 12,
|
|
5308
|
-
amount: 100000,
|
|
5309
|
-
acquiringType: ACQUIRING_TYPES[0],
|
|
5310
|
-
serviceType: SERVICE_TYPES[0],
|
|
5311
|
-
feedbackMethod: FEEDBACK_METHOD[0],
|
|
5312
|
-
serviceDirection: SERVICE_DIRECTIONS[0],
|
|
5313
|
-
vedTypes: VED_TYPES[0],
|
|
5303
|
+
middleName: '',
|
|
5314
5304
|
limitedBirthday: undefined,
|
|
5315
|
-
|
|
5316
|
-
|
|
5317
|
-
posTerminal: false,
|
|
5318
|
-
consentDataProcessing: false,
|
|
5305
|
+
phone: '',
|
|
5306
|
+
email: '',
|
|
5319
5307
|
processPersonalDataFlg: false,
|
|
5320
5308
|
consentProviderFlg: false,
|
|
5321
5309
|
consentOthersFlg: false,
|
|
5322
5310
|
consentInformFlg: false,
|
|
5323
|
-
|
|
5324
|
-
participantDateRegistration: undefined,
|
|
5325
|
-
currency: '',
|
|
5326
|
-
paymentSystem: { name: '', type: '' },
|
|
5327
|
-
cardCategory: { key: '', text: '' },
|
|
5328
|
-
codeWord: '',
|
|
5329
|
-
addressRetail: { key: '', text: '' },
|
|
5311
|
+
consentPfrFlg: false,
|
|
5330
5312
|
};
|
|
5331
5313
|
const getInitialFormState$2 = (inputs, savedForm) => {
|
|
5332
5314
|
if (savedForm) {
|
|
5333
5315
|
return { ...savedForm, limitedBirthday: new Date(savedForm?.limitedBirthday || 0) };
|
|
5334
5316
|
}
|
|
5335
|
-
const formState = Object.fromEntries(inputs.map((_) => [
|
|
5336
|
-
|
|
5337
|
-
(_.fieldType === 'ved' && _?.defaultValue) || initialFormState[_.name || ''],
|
|
5338
|
-
]));
|
|
5339
|
-
return { ...formState, typeForm: { key: '', text: '' } };
|
|
5317
|
+
const formState = Object.fromEntries(inputs.map((_) => [_.name, initialFormState[_.name || '']]));
|
|
5318
|
+
return { ...formState };
|
|
5340
5319
|
};
|
|
5341
5320
|
|
|
5342
5321
|
const parseEsiaProfile = (esiaProfile) => {
|
|
@@ -6845,8 +6824,6 @@
|
|
|
6845
6824
|
return clearTimer;
|
|
6846
6825
|
};
|
|
6847
6826
|
|
|
6848
|
-
const InfoCard = JSX(({ __html, icon = 'InfoCircleIcon', iconVersion = 'black', link }) => (jsxs("div", { className: "flex flex-row items-center w-full min-h-14 bg-main-gray rounded-lg gap-m p-m", children: [jsx("div", { className: "rounded-full bg-white p-xs", children: jsx(Icon, { name: icon, width: "24", height: "24", iconVersion: iconVersion }) }), jsxs("div", { className: "", children: [jsx(RichText, { __html: __html }), link?.text ? jsx(LinkButton, { className: "text-primary-main", children: link.text }) : null] })] })));
|
|
6849
|
-
|
|
6850
6827
|
const TimerCircle = JSX(({ interval = 0, intervalExpireAction = () => null, title, __html }) => {
|
|
6851
6828
|
const [time, setTime] = useState(interval);
|
|
6852
6829
|
const setTimeWithHandleExpire = (value) => {
|
|
@@ -7005,19 +6982,11 @@
|
|
|
7005
6982
|
const checkConsentPfrFlg = ({ name }, getValue) => name === 'snils' && isSnilsRequired(getValue);
|
|
7006
6983
|
const isSnilsRequired = (getValue) => getValue('confirmationIncome')?.key !== 'PFR_CERTIFICATE';
|
|
7007
6984
|
|
|
7008
|
-
const renderInfo$2 = (inputs = []) => {
|
|
7009
|
-
const infoInputs = inputs.filter((_) => _.fieldType === 'info');
|
|
7010
|
-
return infoInputs.length
|
|
7011
|
-
? infoInputs.map(({ text, name }, i) => jsx(InfoCard, { __html: text }, `${name}_${i}`))
|
|
7012
|
-
: null;
|
|
7013
|
-
};
|
|
7014
|
-
|
|
7015
6985
|
const renderInputs$1 = ({ field, inputs, params }) => inputs.map(getField(field, params, { ...InputsRetailMap, ...InputRetailCardMap }));
|
|
7016
6986
|
|
|
7017
6987
|
const renderStep$1 = ({ sections, field, step, params }) => sections?.map(({ inputs: origInputs = [], columns, title }, i) => {
|
|
7018
6988
|
const inputs = calculateInputs(getValue$3(field))(origInputs, step);
|
|
7019
|
-
|
|
7020
|
-
return (jsxs("div", { className: style(inputColumnStyles(columns), 'grid gap-x-m'), children: [renderInfo$2(filteredInputs), renderTitle(title), renderInputs$1({ field, inputs, params })] }, `section-${i}`));
|
|
6989
|
+
return (jsxs("div", { className: style(inputColumnStyles(columns), 'grid gap-x-m'), children: [renderTitle(title), renderInputs$1({ field, inputs, params })] }, `section-${i}`));
|
|
7021
6990
|
});
|
|
7022
6991
|
const getValue$3 = (field) => (name) => field(name)?.value;
|
|
7023
6992
|
|
|
@@ -7451,8 +7420,9 @@
|
|
|
7451
7420
|
{
|
|
7452
7421
|
inputs: [
|
|
7453
7422
|
{
|
|
7454
|
-
fieldType: '
|
|
7455
|
-
|
|
7423
|
+
fieldType: 'common',
|
|
7424
|
+
name: 'infoCard',
|
|
7425
|
+
label: 'Клиент на момент оформления заявки на кредит должен быть: официально трудоустроен более 6 месяцев, ' +
|
|
7456
7426
|
'если Клиент получает з/п на счет РСХБ, то трудоустроен более 3 месяцев, не должен находиться в декретном отпуске',
|
|
7457
7427
|
},
|
|
7458
7428
|
],
|
|
@@ -7543,8 +7513,9 @@
|
|
|
7543
7513
|
{
|
|
7544
7514
|
inputs: [
|
|
7545
7515
|
{
|
|
7546
|
-
fieldType: '
|
|
7547
|
-
|
|
7516
|
+
fieldType: 'common',
|
|
7517
|
+
name: 'infoCard',
|
|
7518
|
+
label: 'Сумма основного и дополнительных доходов после вычета налога',
|
|
7548
7519
|
},
|
|
7549
7520
|
],
|
|
7550
7521
|
},
|
|
@@ -7621,8 +7592,9 @@
|
|
|
7621
7592
|
{
|
|
7622
7593
|
inputs: [
|
|
7623
7594
|
{
|
|
7624
|
-
fieldType: '
|
|
7625
|
-
|
|
7595
|
+
fieldType: 'common',
|
|
7596
|
+
name: 'infoCard',
|
|
7597
|
+
label: 'Если представитель Банка помогал Вам в заведении заявки, введите здесь его код',
|
|
7626
7598
|
},
|
|
7627
7599
|
],
|
|
7628
7600
|
},
|
|
@@ -7700,8 +7672,9 @@
|
|
|
7700
7672
|
{
|
|
7701
7673
|
inputs: [
|
|
7702
7674
|
{
|
|
7703
|
-
fieldType: '
|
|
7704
|
-
|
|
7675
|
+
fieldType: 'common',
|
|
7676
|
+
name: 'infoCard',
|
|
7677
|
+
label: 'Если представитель Банка помогал Вам в заведении заявки, введите здесь его код',
|
|
7705
7678
|
condition: {
|
|
7706
7679
|
name: 'methodObtain',
|
|
7707
7680
|
values: ['office'],
|
|
@@ -7910,18 +7883,11 @@
|
|
|
7910
7883
|
return statusesMap[status] || jsx(ReworkStatusContent, {});
|
|
7911
7884
|
};
|
|
7912
7885
|
|
|
7913
|
-
const renderInfo$1 = (inputs = []) => {
|
|
7914
|
-
const infoInputs = inputs.filter((_) => _.fieldType === 'info');
|
|
7915
|
-
return infoInputs.length
|
|
7916
|
-
? infoInputs.map(({ text, name }, i) => jsx(InfoCard, { __html: text }, `${name}_${i}`))
|
|
7917
|
-
: null;
|
|
7918
|
-
};
|
|
7919
|
-
|
|
7920
7886
|
const renderInputs = ({ field, inputs, params }) => inputs.map(getField(field, params, { ...InputsRetailMap }));
|
|
7921
7887
|
|
|
7922
7888
|
const renderStep = ({ sections, field, step, params }) => sections?.map(({ inputs: origInputs = [], columns, title }, i) => {
|
|
7923
7889
|
const inputs = calculateInputs(getValue$1(field))(origInputs, step);
|
|
7924
|
-
return (jsxs("div", { className: style(inputColumnStyles(columns), 'grid gap-x-m'), children: [
|
|
7890
|
+
return (jsxs("div", { className: style(inputColumnStyles(columns), 'grid gap-x-m'), children: [renderTitle(title), renderInputs({ field, inputs, params })] }, `section-${i}`));
|
|
7925
7891
|
});
|
|
7926
7892
|
const getValue$1 = (field) => (name) => field(name)?.value;
|
|
7927
7893
|
|
|
@@ -10115,7 +10081,7 @@
|
|
|
10115
10081
|
slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
|
|
10116
10082
|
});
|
|
10117
10083
|
|
|
10118
|
-
const packageVersion = "0.14.
|
|
10084
|
+
const packageVersion = "0.14.731";
|
|
10119
10085
|
|
|
10120
10086
|
exports.Blocks = Blocks;
|
|
10121
10087
|
exports.ContentPage = ContentPage;
|